mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-03 14:03:18 -05:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			dark-base-
			...
			dark-base-
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 163383c215 | 
@ -50,11 +50,21 @@
 | 
				
			|||||||
          </BaseInputGroup>
 | 
					          </BaseInputGroup>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
      </ValidateEach>
 | 
					      </ValidateEach>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        slot="footer"
 | 
				
			||||||
 | 
					        class="
 | 
				
			||||||
 | 
					          z-0
 | 
				
			||||||
 | 
					          flex
 | 
				
			||||||
 | 
					          justify-end
 | 
				
			||||||
 | 
					          mt-4
 | 
				
			||||||
 | 
					          pt-4
 | 
				
			||||||
 | 
					          border-t border-gray-200 border-solid border-modal-bg
 | 
				
			||||||
 | 
					        "
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton :loading="isSaving" variant="primary" type="submit">
 | 
					        <BaseButton :loading="isSaving" variant="primary" type="submit">
 | 
				
			||||||
          {{ $t('general.save') }}
 | 
					          {{ $t('general.save') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseCard>
 | 
					  </BaseCard>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -57,7 +57,9 @@
 | 
				
			|||||||
          </BaseInputGroup>
 | 
					          </BaseInputGroup>
 | 
				
			||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -82,7 +84,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ $t('general.create') }}
 | 
					          {{ $t('general.create') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -47,7 +47,15 @@
 | 
				
			|||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="
 | 
				
			||||||
 | 
					          z-0
 | 
				
			||||||
 | 
					          flex
 | 
				
			||||||
 | 
					          justify-end
 | 
				
			||||||
 | 
					          p-4
 | 
				
			||||||
 | 
					          border-t border-gray-200 border-solid border-modal-bg
 | 
				
			||||||
 | 
					        "
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          type="button"
 | 
					          type="button"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -72,7 +80,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ categoryStore.isEdit ? $t('general.update') : $t('general.save') }}
 | 
					          {{ categoryStore.isEdit ? $t('general.update') : $t('general.save') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -116,7 +116,7 @@
 | 
				
			|||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       <BaseModalFooter>
 | 
					      <div class="z-0 flex justify-end p-4 bg-gray-50 border-modal-bg">
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3 text-sm"
 | 
					          class="mr-3 text-sm"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -141,7 +141,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ $t('general.save') }}
 | 
					          {{ $t('general.save') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -425,7 +425,9 @@
 | 
				
			|||||||
        </BaseTabGroup>
 | 
					        </BaseTabGroup>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3 text-sm"
 | 
					          class="mr-3 text-sm"
 | 
				
			||||||
          type="button"
 | 
					          type="button"
 | 
				
			||||||
@ -445,7 +447,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ $t('general.save') }}
 | 
					          {{ $t('general.save') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -38,7 +38,7 @@
 | 
				
			|||||||
        </BaseInputGroup>
 | 
					        </BaseInputGroup>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div class="z-0 flex justify-end p-4 bg-gray-50 border-modal-bg">
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3 text-sm"
 | 
					          class="mr-3 text-sm"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -63,7 +63,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ $t('general.delete') }}
 | 
					          {{ $t('general.delete') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -150,7 +150,9 @@
 | 
				
			|||||||
          @Remove="removeUsedSelectedCurrencies"
 | 
					          @Remove="removeUsedSelectedCurrencies"
 | 
				
			||||||
        />
 | 
					        />
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -177,7 +179,7 @@
 | 
				
			|||||||
            exchangeRateStore.isEdit ? $t('general.update') : $t('general.save')
 | 
					            exchangeRateStore.isEdit ? $t('general.update') : $t('general.save')
 | 
				
			||||||
          }}
 | 
					          }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -20,7 +20,15 @@
 | 
				
			|||||||
        @submit="createNewDisk"
 | 
					        @submit="createNewDisk"
 | 
				
			||||||
      >
 | 
					      >
 | 
				
			||||||
        <template #default="slotProps">
 | 
					        <template #default="slotProps">
 | 
				
			||||||
          <BaseModalFooter>
 | 
					          <div
 | 
				
			||||||
 | 
					            class="
 | 
				
			||||||
 | 
					              z-0
 | 
				
			||||||
 | 
					              flex
 | 
				
			||||||
 | 
					              justify-end
 | 
				
			||||||
 | 
					              p-4
 | 
				
			||||||
 | 
					              border-t border-solid border-gray-light
 | 
				
			||||||
 | 
					            "
 | 
				
			||||||
 | 
					          >
 | 
				
			||||||
            <BaseButton
 | 
					            <BaseButton
 | 
				
			||||||
              class="mr-3 text-sm"
 | 
					              class="mr-3 text-sm"
 | 
				
			||||||
              variant="primary-outline"
 | 
					              variant="primary-outline"
 | 
				
			||||||
@ -44,7 +52,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
              {{ $t('general.save') }}
 | 
					              {{ $t('general.save') }}
 | 
				
			||||||
            </BaseButton>
 | 
					            </BaseButton>
 | 
				
			||||||
          </BaseModalFooter>
 | 
					          </div>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
      </component>
 | 
					      </component>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -89,7 +89,9 @@
 | 
				
			|||||||
            </BaseInputGroup>
 | 
					            </BaseInputGroup>
 | 
				
			||||||
          </BaseInputGrid>
 | 
					          </BaseInputGrid>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <BaseModalFooter>
 | 
					        <div
 | 
				
			||||||
 | 
					          class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					        >
 | 
				
			||||||
          <BaseButton
 | 
					          <BaseButton
 | 
				
			||||||
            class="mr-3"
 | 
					            class="mr-3"
 | 
				
			||||||
            variant="primary-outline"
 | 
					            variant="primary-outline"
 | 
				
			||||||
@ -109,7 +111,7 @@
 | 
				
			|||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
            {{ itemStore.isEdit ? $t('general.update') : $t('general.save') }}
 | 
					            {{ itemStore.isEdit ? $t('general.update') : $t('general.save') }}
 | 
				
			||||||
          </BaseButton>
 | 
					          </BaseButton>
 | 
				
			||||||
        </BaseModalFooter>
 | 
					        </div>
 | 
				
			||||||
      </form>
 | 
					      </form>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
 | 
				
			|||||||
@ -31,7 +31,15 @@
 | 
				
			|||||||
        </BaseInputGroup>
 | 
					        </BaseInputGroup>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="
 | 
				
			||||||
 | 
					          z-0
 | 
				
			||||||
 | 
					          flex
 | 
				
			||||||
 | 
					          justify-end
 | 
				
			||||||
 | 
					          p-4
 | 
				
			||||||
 | 
					          border-t border-gray-200 border-solid border-modal-bg
 | 
				
			||||||
 | 
					        "
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          type="button"
 | 
					          type="button"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -58,7 +66,7 @@
 | 
				
			|||||||
            itemStore.isItemUnitEdit ? $t('general.update') : $t('general.save')
 | 
					            itemStore.isItemUnitEdit ? $t('general.update') : $t('general.save')
 | 
				
			||||||
          }}
 | 
					          }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -62,7 +62,9 @@
 | 
				
			|||||||
          </BaseInputGroup>
 | 
					          </BaseInputGroup>
 | 
				
			||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
     <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
          type="button"
 | 
					          type="button"
 | 
				
			||||||
@ -82,7 +84,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ $t('general.send') }}
 | 
					          {{ $t('general.send') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -63,7 +63,16 @@
 | 
				
			|||||||
          </BaseInputGroup>
 | 
					          </BaseInputGroup>
 | 
				
			||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
     <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="
 | 
				
			||||||
 | 
					          z-0
 | 
				
			||||||
 | 
					          flex
 | 
				
			||||||
 | 
					          justify-end
 | 
				
			||||||
 | 
					          px-4
 | 
				
			||||||
 | 
					          py-4
 | 
				
			||||||
 | 
					          border-t border-solid border-gray-light
 | 
				
			||||||
 | 
					        "
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-2"
 | 
					          class="mr-2"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -84,7 +93,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ noteStore.isEdit ? $t('general.update') : $t('general.save') }}
 | 
					          {{ noteStore.isEdit ? $t('general.update') : $t('general.save') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -29,7 +29,9 @@
 | 
				
			|||||||
        </BaseInputGroup>
 | 
					        </BaseInputGroup>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
@ -54,7 +56,7 @@
 | 
				
			|||||||
              : $t('general.save')
 | 
					              : $t('general.save')
 | 
				
			||||||
          }}
 | 
					          }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -72,7 +72,7 @@
 | 
				
			|||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="border-t border-gray-200 dark:border-gray-600 py-3">
 | 
					      <div class="border-t border-gray-200 py-3">
 | 
				
			||||||
        <div
 | 
					        <div
 | 
				
			||||||
          class="
 | 
					          class="
 | 
				
			||||||
            grid grid-cols-1
 | 
					            grid grid-cols-1
 | 
				
			||||||
@ -89,7 +89,7 @@
 | 
				
			|||||||
            :key="gIndex"
 | 
					            :key="gIndex"
 | 
				
			||||||
            class="flex flex-col space-y-1"
 | 
					            class="flex flex-col space-y-1"
 | 
				
			||||||
          >
 | 
					          >
 | 
				
			||||||
            <p class="text-sm text-gray-500 dark:text-gray-200 border-b dark:border-gray-600 pb-1 mb-2">
 | 
					            <p class="text-sm text-gray-500 border-b border-gray-200 pb-1 mb-2">
 | 
				
			||||||
              {{ gIndex }}
 | 
					              {{ gIndex }}
 | 
				
			||||||
            </p>
 | 
					            </p>
 | 
				
			||||||
            <div
 | 
					            <div
 | 
				
			||||||
@ -116,7 +116,15 @@
 | 
				
			|||||||
          </span>
 | 
					          </span>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="
 | 
				
			||||||
 | 
					          z-0
 | 
				
			||||||
 | 
					          flex
 | 
				
			||||||
 | 
					          justify-end
 | 
				
			||||||
 | 
					          p-4
 | 
				
			||||||
 | 
					          border-t border-solid border--200 border-modal-bg
 | 
				
			||||||
 | 
					        "
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3 text-sm"
 | 
					          class="mr-3 text-sm"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -136,7 +144,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ !roleStore.isEdit ? $t('general.save') : $t('general.update') }}
 | 
					          {{ !roleStore.isEdit ? $t('general.save') : $t('general.update') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -70,7 +70,7 @@
 | 
				
			|||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <BaseModalFooter>
 | 
					    <div class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid">
 | 
				
			||||||
      <BaseButton class="mr-3" variant="primary-outline" @click="closeModal">
 | 
					      <BaseButton class="mr-3" variant="primary-outline" @click="closeModal">
 | 
				
			||||||
        {{ $t('general.cancel') }}
 | 
					        {{ $t('general.cancel') }}
 | 
				
			||||||
      </BaseButton>
 | 
					      </BaseButton>
 | 
				
			||||||
@ -80,7 +80,7 @@
 | 
				
			|||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
        {{ $t('general.choose') }}
 | 
					        {{ $t('general.choose') }}
 | 
				
			||||||
      </BaseButton>
 | 
					      </BaseButton>
 | 
				
			||||||
    </BaseModalFooter>
 | 
					    </div>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -62,7 +62,9 @@
 | 
				
			|||||||
          </BaseInputGroup>
 | 
					          </BaseInputGroup>
 | 
				
			||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -83,7 +85,7 @@
 | 
				
			|||||||
          <BaseIcon v-if="!isLoading" name="PhotographIcon" class="h-5 mr-2" />
 | 
					          <BaseIcon v-if="!isLoading" name="PhotographIcon" class="h-5 mr-2" />
 | 
				
			||||||
          {{ $t('general.preview') }}
 | 
					          {{ $t('general.preview') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
    <div v-else>
 | 
					    <div v-else>
 | 
				
			||||||
      <div class="my-6 mx-4 border border-gray-200 relative">
 | 
					      <div class="my-6 mx-4 border border-gray-200 relative">
 | 
				
			||||||
@ -104,7 +106,9 @@
 | 
				
			|||||||
        ></iframe>
 | 
					        ></iframe>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -123,7 +127,7 @@
 | 
				
			|||||||
          <BaseIcon v-if="!isLoading" name="PaperAirplaneIcon" class="mr-2" />
 | 
					          <BaseIcon v-if="!isLoading" name="PaperAirplaneIcon" class="mr-2" />
 | 
				
			||||||
          {{ $t('general.send') }}
 | 
					          {{ $t('general.send') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -65,7 +65,9 @@
 | 
				
			|||||||
          </BaseInputGroup>
 | 
					          </BaseInputGroup>
 | 
				
			||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -91,7 +93,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ $t('general.preview') }}
 | 
					          {{ $t('general.preview') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
    <div v-else>
 | 
					    <div v-else>
 | 
				
			||||||
      <div class="my-6 mx-4 border border-gray-200 relative">
 | 
					      <div class="my-6 mx-4 border border-gray-200 relative">
 | 
				
			||||||
@ -112,7 +114,9 @@
 | 
				
			|||||||
          style="min-height: 500px"
 | 
					          style="min-height: 500px"
 | 
				
			||||||
        ></iframe>
 | 
					        ></iframe>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -136,7 +140,7 @@
 | 
				
			|||||||
          />
 | 
					          />
 | 
				
			||||||
          {{ $t('general.send') }}
 | 
					          {{ $t('general.send') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -65,7 +65,9 @@
 | 
				
			|||||||
          </BaseInputGroup>
 | 
					          </BaseInputGroup>
 | 
				
			||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -91,7 +93,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ $t('general.preview') }}
 | 
					          {{ $t('general.preview') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
    <div v-else>
 | 
					    <div v-else>
 | 
				
			||||||
      <div class="my-6 mx-4 border border-gray-200 relative">
 | 
					      <div class="my-6 mx-4 border border-gray-200 relative">
 | 
				
			||||||
@ -112,7 +114,9 @@
 | 
				
			|||||||
          style="min-height: 500px"
 | 
					          style="min-height: 500px"
 | 
				
			||||||
        ></iframe>
 | 
					        ></iframe>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -136,7 +140,7 @@
 | 
				
			|||||||
          />
 | 
					          />
 | 
				
			||||||
          {{ $t('general.send') }}
 | 
					          {{ $t('general.send') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -90,7 +90,15 @@
 | 
				
			|||||||
          </BaseInputGroup>
 | 
					          </BaseInputGroup>
 | 
				
			||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="
 | 
				
			||||||
 | 
					          z-0
 | 
				
			||||||
 | 
					          flex
 | 
				
			||||||
 | 
					          justify-end
 | 
				
			||||||
 | 
					          p-4
 | 
				
			||||||
 | 
					          border-t border-solid border--200 border-modal-bg
 | 
				
			||||||
 | 
					        "
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3 text-sm"
 | 
					          class="mr-3 text-sm"
 | 
				
			||||||
          variant="primary-outline"
 | 
					          variant="primary-outline"
 | 
				
			||||||
@ -114,7 +122,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ taxTypeStore.isEdit ? $t('general.update') : $t('general.save') }}
 | 
					          {{ taxTypeStore.isEdit ? $t('general.update') : $t('general.save') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -87,7 +87,9 @@
 | 
				
			|||||||
        </BaseInputGrid>
 | 
					        </BaseInputGrid>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="z-0 flex justify-end p-4 border-t border-gray-200 border-solid"
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3 text-sm"
 | 
					          class="mr-3 text-sm"
 | 
				
			||||||
          type="button"
 | 
					          type="button"
 | 
				
			||||||
@ -107,7 +109,7 @@
 | 
				
			|||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
          {{ $t('general.save') }}
 | 
					          {{ $t('general.save') }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -172,7 +172,15 @@
 | 
				
			|||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <BaseModalFooter>
 | 
					      <div
 | 
				
			||||||
 | 
					        class="
 | 
				
			||||||
 | 
					          z-0
 | 
				
			||||||
 | 
					          flex
 | 
				
			||||||
 | 
					          justify-end
 | 
				
			||||||
 | 
					          p-4
 | 
				
			||||||
 | 
					          border-t border-solid border-gray-light border-modal-bg
 | 
				
			||||||
 | 
					        "
 | 
				
			||||||
 | 
					      >
 | 
				
			||||||
        <BaseButton
 | 
					        <BaseButton
 | 
				
			||||||
          class="mr-3"
 | 
					          class="mr-3"
 | 
				
			||||||
          type="button"
 | 
					          type="button"
 | 
				
			||||||
@ -199,7 +207,7 @@
 | 
				
			|||||||
            !customFieldStore.isEdit ? $t('general.save') : $t('general.update')
 | 
					            !customFieldStore.isEdit ? $t('general.save') : $t('general.update')
 | 
				
			||||||
          }}
 | 
					          }}
 | 
				
			||||||
        </BaseButton>
 | 
					        </BaseButton>
 | 
				
			||||||
      </BaseModalFooter>
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </BaseModal>
 | 
					  </BaseModal>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
				
			|||||||
@ -153,7 +153,7 @@
 | 
				
			|||||||
          <BaseSwitch v-model="set_as_default" class="flex" />
 | 
					          <BaseSwitch v-model="set_as_default" class="flex" />
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <div class="ml-4 right">
 | 
					        <div class="ml-4 right">
 | 
				
			||||||
          <p class="p-0 mb-1 text-base leading-snug text-black dark:text-white box-title">
 | 
					          <p class="p-0 mb-1 text-base leading-snug text-black box-title">
 | 
				
			||||||
            {{ $t('settings.disk.is_default') }}
 | 
					            {{ $t('settings.disk.is_default') }}
 | 
				
			||||||
          </p>
 | 
					          </p>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -132,7 +132,7 @@
 | 
				
			|||||||
          <BaseSwitch v-model="set_as_default" class="flex" />
 | 
					          <BaseSwitch v-model="set_as_default" class="flex" />
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <div class="ml-4 right">
 | 
					        <div class="ml-4 right">
 | 
				
			||||||
          <p class="p-0 mb-1 text-base leading-snug text-black dark:text-white box-title">
 | 
					          <p class="p-0 mb-1 text-base leading-snug text-black box-title">
 | 
				
			||||||
            {{ $t('settings.disk.is_default') }}
 | 
					            {{ $t('settings.disk.is_default') }}
 | 
				
			||||||
          </p>
 | 
					          </p>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -63,7 +63,7 @@
 | 
				
			|||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="ml-4 right">
 | 
					        <div class="ml-4 right">
 | 
				
			||||||
          <p class="p-0 mb-1 text-base leading-snug text-black dark:text-white box-title">
 | 
					          <p class="p-0 mb-1 text-base leading-snug text-black box-title">
 | 
				
			||||||
            {{ $t('settings.disk.is_default') }}
 | 
					            {{ $t('settings.disk.is_default') }}
 | 
				
			||||||
          </p>
 | 
					          </p>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -134,7 +134,7 @@
 | 
				
			|||||||
          <BaseSwitch v-model="set_as_default" class="flex" />
 | 
					          <BaseSwitch v-model="set_as_default" class="flex" />
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <div class="ml-4 right">
 | 
					        <div class="ml-4 right">
 | 
				
			||||||
          <p class="p-0 mb-1 text-base leading-snug text-black dark:text-white box-title">
 | 
					          <p class="p-0 mb-1 text-base leading-snug text-black box-title">
 | 
				
			||||||
            {{ $t('settings.disk.is_default') }}
 | 
					            {{ $t('settings.disk.is_default') }}
 | 
				
			||||||
          </p>
 | 
					          </p>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -29,21 +29,8 @@
 | 
				
			|||||||
            leave-to="opacity-0"
 | 
					            leave-to="opacity-0"
 | 
				
			||||||
          >
 | 
					          >
 | 
				
			||||||
            <DialogOverlay
 | 
					            <DialogOverlay
 | 
				
			||||||
              class="
 | 
					              class="fixed inset-0 transition-opacity bg-gray-700 bg-opacity-25"
 | 
				
			||||||
              fixed
 | 
					            />
 | 
				
			||||||
              inset-0
 | 
					 | 
				
			||||||
              transition-opacity
 | 
					 | 
				
			||||||
              bg-gray-700
 | 
					 | 
				
			||||||
              bg-opacity-25
 | 
					 | 
				
			||||||
              dark:backdrop-blur-sm
 | 
					 | 
				
			||||||
              dark:bg-gray-900/80
 | 
					 | 
				
			||||||
              "
 | 
					 | 
				
			||||||
            >
 | 
					 | 
				
			||||||
              <BaseDarkHighlight
 | 
					 | 
				
			||||||
                class="!bg-highlight/[.17] !top-1/2 -translate-y-1/2 mt-5 h-96"
 | 
					 | 
				
			||||||
                :class="modalSize"
 | 
					 | 
				
			||||||
              />
 | 
					 | 
				
			||||||
            </DialogOverlay>
 | 
					 | 
				
			||||||
          </TransitionChild>
 | 
					          </TransitionChild>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <!-- This element is to trick the browser into centering the modal contents. -->
 | 
					          <!-- This element is to trick the browser into centering the modal contents. -->
 | 
				
			||||||
@ -74,11 +61,7 @@
 | 
				
			|||||||
              my-4
 | 
					              my-4
 | 
				
			||||||
              ${modalSize}
 | 
					              ${modalSize}
 | 
				
			||||||
              sm:w-full
 | 
					              sm:w-full
 | 
				
			||||||
              dark:shadow-glass
 | 
					              border-t-8 border-solid rounded shadow-xl  border-primary-500`"
 | 
				
			||||||
              dark:border
 | 
					 | 
				
			||||||
              dark:border-white/10
 | 
					 | 
				
			||||||
              dark:bg-gray-800/90
 | 
					 | 
				
			||||||
              border-t-8 border-solid rounded shadow-xl border-primary-500`"
 | 
					 | 
				
			||||||
            >
 | 
					            >
 | 
				
			||||||
              <div
 | 
					              <div
 | 
				
			||||||
                v-if="hasHeaderSlot"
 | 
					                v-if="hasHeaderSlot"
 | 
				
			||||||
@ -91,8 +74,6 @@
 | 
				
			|||||||
                  text-lg
 | 
					                  text-lg
 | 
				
			||||||
                  font-medium
 | 
					                  font-medium
 | 
				
			||||||
                  text-black
 | 
					                  text-black
 | 
				
			||||||
                  dark:text-white
 | 
					 | 
				
			||||||
                  dark:border-gray-600
 | 
					 | 
				
			||||||
                  border-b border-gray-200 border-solid
 | 
					                  border-b border-gray-200 border-solid
 | 
				
			||||||
                "
 | 
					                "
 | 
				
			||||||
              >
 | 
					              >
 | 
				
			||||||
 | 
				
			|||||||
@ -1,14 +0,0 @@
 | 
				
			|||||||
<template>
 | 
					 | 
				
			||||||
  <div
 | 
					 | 
				
			||||||
    class="
 | 
					 | 
				
			||||||
      z-0
 | 
					 | 
				
			||||||
      flex
 | 
					 | 
				
			||||||
      justify-end
 | 
					 | 
				
			||||||
      p-4
 | 
					 | 
				
			||||||
      border-t border-gray-200 border-solid
 | 
					 | 
				
			||||||
      dark:border-gray-600
 | 
					 | 
				
			||||||
    "
 | 
					 | 
				
			||||||
  >
 | 
					 | 
				
			||||||
    <slot />
 | 
					 | 
				
			||||||
  </div>
 | 
					 | 
				
			||||||
</template>
 | 
					 | 
				
			||||||
@ -11,6 +11,10 @@
 | 
				
			|||||||
      bg-gray-200
 | 
					      bg-gray-200
 | 
				
			||||||
      cursor-pointer
 | 
					      cursor-pointer
 | 
				
			||||||
      text-primary-400
 | 
					      text-primary-400
 | 
				
			||||||
 | 
					      dark:bg-gray-600/70
 | 
				
			||||||
 | 
					      dark:backdrop-blur-xl
 | 
				
			||||||
 | 
					      dark:shadow-glass
 | 
				
			||||||
 | 
					      dark:hover:bg-gray-600/80
 | 
				
			||||||
    "
 | 
					    "
 | 
				
			||||||
  >
 | 
					  >
 | 
				
			||||||
    <slot />
 | 
					    <slot />
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user