@wisemen/wise-invoicing-web 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AddOpenBoundaryIcon-9SqBHfoz.js +25 -0
- package/dist/AirlineIcon-Z6sH_StM.js +26 -0
- package/dist/AirplaneIcon-C-nSkD1w.js +19 -0
- package/dist/AirportIcon-m4itDKCV.js +16 -0
- package/dist/AlertTriangleIcon-DtYLCC-Y.js +23 -0
- package/dist/AllocationsIcon-hcg93Sll.js +16 -0
- package/dist/ArrowNarrowRightIcon-2-Sml68f.js +23 -0
- package/dist/AssetIcon-qOYs6Wna.js +16 -0
- package/dist/BarChartIcon-DDyzpV_3.js +22 -0
- package/dist/BellIcon-DF1OBFta.js +21 -0
- package/dist/BillingDocumentDetailViewDataProvider-pePmiXWb.js +5248 -0
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/BillingDocumentPdf-Dg5JlQE1.js +726 -0
- package/dist/BuildingIcon-CC5PMNeP.js +22 -0
- package/dist/ChargerIcon-aM_endLr.js +16 -0
- package/dist/ChevronDownIcon-4QiK-Z6-.js +23 -0
- package/dist/ChevronUpIcon-qBsjZ5Dz.js +23 -0
- package/dist/ClockIcon-BNiPCaiB.js +23 -0
- package/dist/ClockSnoozeIcon-BxGfwJB6.js +23 -0
- package/dist/CopyIcon-DH5ly0dZ.js +19 -0
- package/dist/CreditNoteDetailViewDataProvider-C-A0jyVr.js +751 -0
- package/dist/CreditNotePdfViewDataProvider-DNUvFVDj.js +21 -0
- package/dist/CustomFieldValueText-DDQq-975.js +189 -0
- package/dist/DataProvider-CfHLB3rH.js +48 -0
- package/dist/DownloadCloudIcon-Cf8ftklG.js +22 -0
- package/dist/DunningCaseDetailViewDataProvider-0WV-7-vg.js +400 -0
- package/dist/DunningCaseOverviewView-CHdzfbhb.js +553 -0
- package/dist/DunningCaseReminderPdfViewDataProvider-DcM-7ECg.js +239 -0
- package/dist/DunningCaseSendDialog-DBtwr2ue.js +350 -0
- package/dist/EditIcon-Dr7OHBBR.js +21 -0
- package/dist/EraserIcon-B1VJSvdI.js +23 -0
- package/dist/FileIcon-ssmQI5Yl.js +23 -0
- package/dist/FilterLinesIcon-C7YdyPBk.js +23 -0
- package/dist/GlobeIcon-BfRM6Ike.js +22 -0
- package/dist/HelpIcon-BrJ49P5y.js +22 -0
- package/dist/HourGlassIcon-D9rfU1Is.js +22 -0
- package/dist/InfoCircleIcon-Ee0SyiMc.js +23 -0
- package/dist/InvoiceDetailViewDataProvider-BDL9lAWe.js +1579 -0
- package/dist/InvoiceOverviewViewDataProvider-B_jrcC_8.js +1613 -0
- package/dist/InvoicePdfView-Bygb-9z6.js +17 -0
- package/dist/InvoicePdfViewDataProvider-nBk3XNrE.js +21 -0
- package/dist/InvoicePublicPdfViewDataProvider-DHJP_-7-.js +44 -0
- package/dist/IssuerSettingsViewDataProvider-Dk_Q6w6f.js +188 -0
- package/dist/KeyboardIcon-T3o_g-1c.js +22 -0
- package/dist/LinkExternalIcon-BkHS4fCx.js +22 -0
- package/dist/LinkIcon-DuPwae98.js +22 -0
- package/dist/MarkerIcon-B1Jqenjb.js +28 -0
- package/dist/MobileBatteryIcon-GZ1SMRDV.js +16 -0
- package/dist/MonitorIcon-pbK22reU.js +22 -0
- package/dist/NotificationIcon-Ctv8vyWt.js +19 -0
- package/dist/ParkingIcon-DnUPW3pB.js +24 -0
- package/dist/PlanningIcon-CXvrskgj.js +16 -0
- package/dist/PreferenceIcon-BHS8uDyi.js +22 -0
- package/dist/ReceiptCheckIcon-QTestqCJ.js +23 -0
- package/dist/RefreshIcon-DShY-aoS.js +22 -0
- package/dist/ReminderSettingsViewDataProvider-CDBjfU7R.js +668 -0
- package/dist/RemoveOpenBoundaryIcon-CN8YWs6o.js +28 -0
- package/dist/RewindIcon-GWg2AQax.js +22 -0
- package/dist/SettingsIcon-CBLJ6B5u.js +25 -0
- package/dist/ShieldIcon-CVnrOcxl.js +19 -0
- package/dist/ShieldOffIcon-B9l0dDVb.js +23 -0
- package/dist/SignOutIcon-CmDkjJ5F.js +21 -0
- package/dist/SlashCircleIcon-jY5FBko5.js +22 -0
- package/dist/StandIcon-CoYnBLMn.js +23 -0
- package/dist/StarsIcon-D7ZlqOW7.js +22 -0
- package/dist/StopwatchIcon-BK0vh1lg.js +22 -0
- package/dist/TargetIcon-HMWj77-Q.js +22 -0
- package/dist/ThreeDotsIcon-BtFruOKz.js +32 -0
- package/dist/ToolIcon-DRfDb7fE.js +22 -0
- package/dist/TrashIcon-BwxBjHv5.js +19 -0
- package/dist/TurnaroundIcon-b1X61TwZ.js +27 -0
- package/dist/UploadCloudIcon-BF0equKg.js +22 -0
- package/dist/UserIcon-B0rCC6KE.js +22 -0
- package/dist/UsersIcon-cK5l_zKG.js +22 -0
- package/dist/VerifiedIcon-CELYlqcv.js +22 -0
- package/dist/WifiIcon--JPvMNEF.js +23 -0
- package/dist/WifiOffIcon-BS2KftcP.js +23 -0
- package/dist/ZapIcon-BHwcIQc0.js +23 -0
- package/dist/ZoomInIcon-Cu6r915V.js +23 -0
- package/dist/ZoomOutIcon-DwB4FRj-.js +23 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/address.transformer-B8C0pwT1.js +167 -0
- package/dist/addressForm.model-C853zEtX.js +20 -0
- package/dist/api.util-Dm_TQedZ.js +2948 -0
- package/dist/billingDocumentDetail.transformer-zMTbka5p.js +334 -0
- package/dist/client/client/client.gen.d.ts +2 -0
- package/dist/client/client/index.d.ts +10 -0
- package/dist/client/client/types.gen.d.ts +120 -0
- package/dist/client/client/utils.gen.d.ts +37 -0
- package/dist/client/client.gen.d.ts +12 -0
- package/dist/client/core/auth.gen.d.ts +25 -0
- package/dist/client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/client/core/params.gen.d.ts +43 -0
- package/dist/client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/core/types.gen.d.ts +83 -0
- package/dist/client/core/utils.gen.d.ts +19 -0
- package/dist/client/index.d.ts +2 -0
- package/dist/client/sdk.gen.d.ts +123 -0
- package/dist/client/types.gen.d.ts +4894 -0
- package/dist/client/zod.gen.d.ts +67202 -0
- package/dist/composables/created.composable.d.ts +1 -0
- package/dist/composables/currency-format/useCurrencyFormat.composable.d.ts +12 -0
- package/dist/composables/document-title/documentTitle.composable.d.ts +8 -0
- package/dist/composables/form-auto-save/formAutoSave.composable.d.ts +14 -0
- package/dist/composables/invoicingConfig.composable.d.ts +24 -0
- package/dist/composables/invoicingQueryInvalidation.composable.d.ts +9 -0
- package/dist/composables/invoicingQueryInvalidation.composable.spec.d.ts +1 -0
- package/dist/composables/is-selector-visible/isSelectorVisible.composable.d.ts +1 -0
- package/dist/composables/paginated-cache/paginatedCache.composable.d.ts +8 -0
- package/dist/composables/routeQueryState.composable.d.ts +12 -0
- package/dist/composables/search/search.composable.d.ts +12 -0
- package/dist/composables/sort.composable.d.ts +3 -0
- package/dist/composables/virtual-scrolling/virtualScrolling.composable.d.ts +31 -0
- package/dist/creditNoteDetail.query-BZqgZRSu.js +122 -0
- package/dist/customerUuid.model-GUFYq3O2.js +5 -0
- package/dist/dashboard-BaWGNEek.js +5 -0
- package/dist/dist-DJ8yJcb9.js +2499 -0
- package/dist/dist-DP8KNFVD.js +927 -0
- package/dist/dist-YTXTCfo1.js +333 -0
- package/dist/documentTitle.composable-CeaFddr1.js +68 -0
- package/dist/download.util-PjaUQR6r.js +9 -0
- package/dist/formango.util-D5c2ql--.js +12 -0
- package/dist/i18n.lib-DUbAMBRb.js +1440 -0
- package/dist/index.d.ts +1603 -2873
- package/dist/index.js +749 -42
- package/dist/invoice.service-ChHEtXBA.js +629 -0
- package/dist/invoiceDeliveryStatus.util-BsA-MlA3.js +331 -0
- package/dist/invoiceDetail.query-O_CGvdwg.js +11 -0
- package/dist/invoicingConfig.composable-c6w_aMm1.js +60 -0
- package/dist/issuerSettings.query-RqtrZFaB.js +116 -0
- package/dist/libs/http.lib.d.ts +5 -0
- package/dist/libs/i18n.lib.d.ts +1439 -0
- package/dist/locales/en-US.json.d.ts +718 -0
- package/dist/locales/nl-BE.json.d.ts +718 -0
- package/dist/locales/ui-en-US.json.d.ts +66 -0
- package/dist/locales/ui-nl-BE.json.d.ts +66 -0
- package/dist/models/address/address.model.d.ts +15 -0
- package/dist/models/address/address.transformer.d.ts +11 -0
- package/dist/models/address/address.util.d.ts +11 -0
- package/dist/models/address/addressForm.model.d.ts +15 -0
- package/dist/models/address/addressForm.transformer.d.ts +8 -0
- package/dist/models/address/addressForm.transformer.spec.d.ts +1 -0
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.model.d.ts +21 -0
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.transformer.d.ts +5 -0
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +136 -0
- package/dist/models/billing-document/billingDocumentDetail.transformer.d.ts +5 -0
- package/dist/models/billing-document/billingDocumentDiscount.model.d.ts +9 -0
- package/dist/models/billing-document/billingDocumentDiscount.transformer.d.ts +6 -0
- package/dist/models/billing-document/billingDocumentDisplay.util.d.ts +7 -0
- package/dist/models/billing-document/billingDocumentLineItemGroupUpdateForm.model.d.ts +6 -0
- package/dist/models/billing-document/billingDocumentLineItemUpdateForm.model.d.ts +21 -0
- package/dist/models/billing-document/billingDocumentStatusEnum.model.d.ts +12 -0
- package/dist/models/billing-document/billingDocumentUpdateLines.model.d.ts +27 -0
- package/dist/models/billing-document/billingDocumentVatSummary.util.d.ts +4 -0
- package/dist/models/billing-document/billingDocumentVatSummary.util.spec.d.ts +1 -0
- package/dist/models/customer/customerDetail.model.d.ts +6 -0
- package/dist/models/customer/customerDetail.transformer.d.ts +5 -0
- package/dist/models/customer/customerUuid.model.d.ts +3 -0
- package/dist/models/file-reference/fileReference.dto.d.ts +13 -0
- package/dist/models/file-reference/fileReference.model.d.ts +13 -0
- package/dist/models/file-reference/fileReference.transformer.d.ts +9 -0
- package/dist/models/file-reference/fileReferenceForm.model.d.ts +10 -0
- package/dist/modules/credit-note/api/mutations/creditNoteDelete.mutation.d.ts +4 -0
- package/dist/modules/credit-note/api/mutations/creditNoteFinalize.mutation.d.ts +6 -0
- package/dist/modules/credit-note/api/mutations/creditNoteMarkAsDraft.mutation.d.ts +6 -0
- package/dist/modules/credit-note/api/mutations/creditNoteMarkAsReady.mutation.d.ts +6 -0
- package/dist/modules/credit-note/api/mutations/creditNoteSend.mutation.d.ts +4 -0
- package/dist/modules/credit-note/api/mutations/creditNoteUpdate.mutation.d.ts +9 -0
- package/dist/modules/credit-note/api/mutations/creditNoteUpdateLines.mutation.d.ts +4 -0
- package/dist/modules/credit-note/api/queries/creditNoteActivityLogIndex.query.d.ts +3 -0
- package/dist/modules/credit-note/api/queries/creditNoteDetail.query.d.ts +3 -0
- package/dist/modules/credit-note/api/query-keys/creditNote.queryKeys.d.ts +17 -0
- package/dist/modules/credit-note/api/services/creditNote.service.d.ts +18 -0
- package/dist/modules/credit-note/models/creditNoteUuid.model.d.ts +3 -0
- package/dist/modules/credit-note/models/detail/creditNoteDetail.model.d.ts +4 -0
- package/dist/modules/credit-note/models/detail/creditNoteDetail.transformer.d.ts +5 -0
- package/dist/modules/credit-note/models/update/creditNoteUpdate.transformer.d.ts +7 -0
- package/dist/modules/credit-note/models/update/creditNoteUpdateForm.model.d.ts +11 -0
- package/dist/modules/credit-note/models/update/creditNoteUpdateLines.model.d.ts +2 -0
- package/dist/modules/credit-note/models/update/creditNoteUpdateLines.transformer.d.ts +5 -0
- package/dist/modules/credit-note/routes/creditNote.routes.d.ts +26 -0
- package/dist/modules/credit-note/use-cases/detail/components/CreditNoteDetailHeaderSection.vue.d.ts +12 -0
- package/dist/modules/credit-note/use-cases/detail/components/CreditNoteDetailRemarksSection.vue.d.ts +7 -0
- package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebar.vue.d.ts +9 -0
- package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebarActivityTab.vue.d.ts +7 -0
- package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebarInfoTab.vue.d.ts +9 -0
- package/dist/modules/credit-note/use-cases/detail/components/table/CreditNoteLineItemsTableSection.vue.d.ts +9 -0
- package/dist/modules/credit-note/use-cases/detail/composables/creditNoteDetailHeaderActions.composable.d.ts +8 -0
- package/dist/modules/credit-note/use-cases/detail/dialogs/CreditNoteDeleteDialog.vue.d.ts +13 -0
- package/dist/modules/credit-note/use-cases/detail/views/CreditNoteDetailView.vue.d.ts +9 -0
- package/dist/modules/credit-note/use-cases/detail/views/CreditNoteDetailViewDataProvider.vue.d.ts +7 -0
- package/dist/modules/credit-note/use-cases/pdf/views/CreditNotePdfViewDataProvider.vue.d.ts +7 -0
- package/dist/modules/custom-field/api/queries/customFieldDefinitionIndex.query.d.ts +3 -0
- package/dist/modules/custom-field/api/query-keys/customFieldDefinition.queryKeys.d.ts +10 -0
- package/dist/modules/custom-field/api/services/customFieldDefinition.service.d.ts +6 -0
- package/dist/modules/custom-field/components/CustomFieldFieldset.vue.d.ts +21 -0
- package/dist/modules/custom-field/components/CustomFieldList.vue.d.ts +10 -0
- package/dist/modules/custom-field/components/CustomFieldValueInput.vue.d.ts +23 -0
- package/dist/modules/custom-field/components/CustomFieldValueText.vue.d.ts +10 -0
- package/dist/modules/custom-field/components/customFieldFieldset.spec.d.ts +1 -0
- package/dist/modules/custom-field/components/customFieldValueInput.spec.d.ts +1 -0
- package/dist/modules/custom-field/composables/customFieldValueModel.composable.d.ts +28 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.model.d.ts +24 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.transformer.d.ts +5 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.d.ts +8 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinitionIndexQueryParams.model.d.ts +4 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinitionUuid.model.d.ts +3 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.model.d.ts +12 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.transformer.d.ts +8 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.transformer.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.d.ts +10 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.spec.d.ts +1 -0
- package/dist/modules/custom-field/test/builders/customFieldDefinition.builder.d.ts +13 -0
- package/dist/modules/dunning-case/api/mutations/dunningCaseBulkSend.mutation.d.ts +5 -0
- package/dist/modules/dunning-case/api/mutations/dunningCaseSend.mutation.d.ts +4 -0
- package/dist/modules/dunning-case/api/mutations/reminderConfigUpdate.mutation.d.ts +24 -0
- package/dist/modules/dunning-case/api/queries/dunningCaseCustomerByExternalId.query.d.ts +2 -0
- package/dist/modules/dunning-case/api/queries/dunningCaseCustomerIndex.query.d.ts +6 -0
- package/dist/modules/dunning-case/api/queries/dunningCaseDetail.query.d.ts +3 -0
- package/dist/modules/dunning-case/api/queries/dunningCaseIndex.query.d.ts +8 -0
- package/dist/modules/dunning-case/api/queries/reminderConfig.query.d.ts +1 -0
- package/dist/modules/dunning-case/api/query-keys/dunningCase.queryKeys.d.ts +55 -0
- package/dist/modules/dunning-case/api/services/dunningCase.service.d.ts +19 -0
- package/dist/modules/dunning-case/api/services/dunningCaseCustomer.service.d.ts +11 -0
- package/dist/modules/dunning-case/components/DunningCaseReminderLevelIndicator.vue.d.ts +9 -0
- package/dist/modules/dunning-case/components/DunningCaseReminderStatusIndicator.vue.d.ts +9 -0
- package/dist/modules/dunning-case/components/dunningCaseReminderLevelIndicator.spec.d.ts +1 -0
- package/dist/modules/dunning-case/components/dunningCaseReminderStatusIndicator.spec.d.ts +1 -0
- package/dist/modules/dunning-case/index.d.ts +4 -0
- package/dist/modules/dunning-case/models/dunningCase.model.d.ts +107 -0
- package/dist/modules/dunning-case/models/dunningCase.model.spec.d.ts +1 -0
- package/dist/modules/dunning-case/models/dunningCase.transformer.d.ts +13 -0
- package/dist/modules/dunning-case/models/dunningCase.transformer.spec.d.ts +1 -0
- package/dist/modules/dunning-case/models/dunningCaseCustomer.model.d.ts +9 -0
- package/dist/modules/dunning-case/models/reminderConfigForm.model.d.ts +31 -0
- package/dist/modules/dunning-case/models/reminderConfigForm.model.spec.d.ts +1 -0
- package/dist/modules/dunning-case/models/reminderTimeline.util.d.ts +9 -0
- package/dist/modules/dunning-case/models/reminderTimeline.util.spec.d.ts +1 -0
- package/dist/modules/dunning-case/routes/dunningCase.routes.d.ts +37 -0
- package/dist/modules/dunning-case/use-cases/customer/components/CustomerDunningCasesSection.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/detail/views/DunningCaseDetailView.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/detail/views/DunningCaseDetailViewDataProvider.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/detail/views/dunningCaseDetailView.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewFilters.composable.d.ts +5 -0
- package/dist/modules/dunning-case/use-cases/overview/views/DunningCaseOverviewView.vue.d.ts +3 -0
- package/dist/modules/dunning-case/use-cases/overview/views/dunningCaseOverviewView.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.query.d.ts +2 -0
- package/dist/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.service.d.ts +5 -0
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfFooter.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +20 -0
- package/dist/modules/dunning-case/use-cases/pdf/utils/dunningCaseReminderPdf.util.d.ts +8 -0
- package/dist/modules/dunning-case/use-cases/pdf/utils/dunningCaseReminderPdf.util.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/pdf/views/DunningCaseReminderPdfView.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/pdf/views/DunningCaseReminderPdfViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/dunning-case/use-cases/send/components/DunningCaseBulkSendStat.vue.d.ts +9 -0
- package/dist/modules/dunning-case/use-cases/send/components/DunningCaseBulkSendSummary.vue.d.ts +8 -0
- package/dist/modules/dunning-case/use-cases/send/components/DunningCaseSendFeeRow.vue.d.ts +8 -0
- package/dist/modules/dunning-case/use-cases/send/components/DunningCaseSendInvoiceRow.vue.d.ts +8 -0
- package/dist/modules/dunning-case/use-cases/send/components/DunningCaseSendInvoiceSummary.vue.d.ts +8 -0
- package/dist/modules/dunning-case/use-cases/send/components/DunningCaseSendRecipientAlert.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/send/composables/dunningCaseReminderSubject.composable.d.ts +6 -0
- package/dist/modules/dunning-case/use-cases/send/composables/dunningCaseSendRecipient.composable.d.ts +16 -0
- package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseBulkSendDialog.vue.d.ts +10 -0
- package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseSendDialog.vue.d.ts +12 -0
- package/dist/modules/dunning-case/use-cases/send/utils/dunningCaseSend.util.d.ts +16 -0
- package/dist/modules/dunning-case/use-cases/send/utils/dunningCaseSend.util.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderFeeNotice.vue.d.ts +3 -0
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderPanel.vue.d.ts +12 -0
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderRow.vue.d.ts +26 -0
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderTimeline.vue.d.ts +13 -0
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderTemplateTabs.vue.d.ts +20 -0
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderTemplatesPanel.vue.d.ts +24 -0
- package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.d.ts +41 -0
- package/dist/modules/dunning-case/use-cases/settings/views/ReminderSettingsView.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/settings/views/ReminderSettingsViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/invoice/actions/invoice.actions.d.ts +5 -0
- package/dist/modules/invoice/actions/invoiceNavigateToDetail.action.d.ts +1 -0
- package/dist/modules/invoice/api/invoiceIndexCache.util.d.ts +11 -0
- package/dist/modules/invoice/api/invoiceIndexCache.util.spec.d.ts +1 -0
- package/dist/modules/invoice/api/mutations/invoiceApplyDiscount.mutation.d.ts +9 -0
- package/dist/modules/invoice/api/mutations/invoiceBulkFinalize.mutation.d.ts +5 -0
- package/dist/modules/invoice/api/mutations/invoiceBulkMarkAsReady.mutation.d.ts +5 -0
- package/dist/modules/invoice/api/mutations/invoiceBulkSend.mutation.d.ts +5 -0
- package/dist/modules/invoice/api/mutations/invoiceCreate.mutation.d.ts +7 -0
- package/dist/modules/invoice/api/mutations/invoiceCreateCreditNote.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceDelete.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceDuplicate.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceFinalize.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceMarkAsDraft.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceMarkAsPaid.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceMarkAsProtested.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceMarkAsReady.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoicePaymentCreate.mutation.d.ts +11 -0
- package/dist/modules/invoice/api/mutations/invoicePaymentDelete.mutation.d.ts +6 -0
- package/dist/modules/invoice/api/mutations/invoiceSend.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceUpdate.mutation.d.ts +16 -0
- package/dist/modules/invoice/api/mutations/invoiceUpdateAttachments.mutation.d.ts +13 -0
- package/dist/modules/invoice/api/mutations/invoiceUpdateLines.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceWithdrawProtest.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/queries/invoiceActivityLogIndex.query.d.ts +3 -0
- package/dist/modules/invoice/api/queries/invoiceCustomerDetail.query.d.ts +6 -0
- package/dist/modules/invoice/api/queries/invoiceCustomerSearch.query.d.ts +7 -0
- package/dist/modules/invoice/api/queries/invoiceDetail.query.d.ts +3 -0
- package/dist/modules/invoice/api/queries/invoiceIndex.query.d.ts +3 -0
- package/dist/modules/invoice/api/queries/invoicePaymentIndex.query.d.ts +3 -0
- package/dist/modules/invoice/api/queries/invoicePublicDetail.query.d.ts +2 -0
- package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +55 -0
- package/dist/modules/invoice/api/services/fileUpload.service.d.ts +9 -0
- package/dist/modules/invoice/api/services/fileUpload.service.spec.d.ts +1 -0
- package/dist/modules/invoice/api/services/invoice.service.d.ts +48 -0
- package/dist/modules/invoice/api/services/invoiceCustomer.service.d.ts +9 -0
- package/dist/modules/invoice/components/InvoiceDeliveryStatusBadge.vue.d.ts +10 -0
- package/dist/modules/invoice/components/InvoiceDisputedBadge.vue.d.ts +8 -0
- package/dist/modules/invoice/components/InvoiceOverdueBadge.vue.d.ts +8 -0
- package/dist/modules/invoice/components/InvoiceSettlementStatusBadge.vue.d.ts +18 -0
- package/dist/modules/invoice/components/InvoiceStatusBadge.vue.d.ts +10 -0
- package/dist/modules/invoice/components/form/InvoiceFormCustomerField.vue.d.ts +16 -0
- package/dist/modules/invoice/models/invoice/create/invoiceCreate.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/create/invoiceCreateCustomer.model.d.ts +9 -0
- package/dist/modules/invoice/models/invoice/create/invoiceCreateCustomer.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/create/invoiceCreateForm.model.d.ts +9 -0
- package/dist/modules/invoice/models/invoice/create/invoiceCustomerSearchQueryParams.model.d.ts +3 -0
- package/dist/modules/invoice/models/invoice/create/invoiceCustomerSearchQueryParams.transformer.d.ts +6 -0
- package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +4 -0
- package/dist/modules/invoice/models/invoice/detail/invoiceDetail.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/index/invoiceDateRange.model.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndex.model.d.ts +27 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndex.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +16 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.transformer.d.ts +7 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.model.d.ts +6 -0
- package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.util.d.ts +6 -0
- package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.util.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.model.d.ts +20 -0
- package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.util.d.ts +11 -0
- package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.util.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/invoiceStatus.model.d.ts +11 -0
- package/dist/modules/invoice/models/invoice/invoiceStatus.util.d.ts +7 -0
- package/dist/modules/invoice/models/invoice/payment/invoicePayment.model.d.ts +13 -0
- package/dist/modules/invoice/models/invoice/payment/invoicePayment.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreate.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreateForm.model.d.ts +11 -0
- package/dist/modules/invoice/models/invoice/payment/paymentUuid.model.d.ts +3 -0
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +56 -0
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/update/invoiceApplyDiscount.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/update/invoiceApplyDiscountForm.model.d.ts +9 -0
- package/dist/modules/invoice/models/invoice/update/invoiceAttachmentsUpdate.transformer.d.ts +7 -0
- package/dist/modules/invoice/models/invoice/update/invoiceAttachmentsUpdateForm.model.d.ts +12 -0
- package/dist/modules/invoice/models/invoice/update/invoiceLineItemUpdateForm.model.d.ts +11 -0
- package/dist/modules/invoice/models/invoice/update/invoiceSubjectUpdateForm.model.d.ts +6 -0
- package/dist/modules/invoice/models/invoice/update/invoiceUpdate.transformer.d.ts +7 -0
- package/dist/modules/invoice/models/invoice/update/invoiceUpdateForm.model.d.ts +16 -0
- package/dist/modules/invoice/models/invoice/update/invoiceUpdateLines.model.d.ts +2 -0
- package/dist/modules/invoice/models/invoice/update/invoiceUpdateLines.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoiceUuid.model.d.ts +3 -0
- package/dist/modules/invoice/routes/invoice.routes.d.ts +38 -0
- package/dist/modules/invoice/use-cases/create/dialogs/InvoiceCreateDialog.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailHeaderSection.vue.d.ts +12 -0
- package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailLinkedCreditNotesSection.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailRemarksSection.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebar.vue.d.ts +9 -0
- package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebarActivityTab.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebarInfoTab.vue.d.ts +9 -0
- package/dist/modules/invoice/use-cases/detail/components/sidebar/invoiceDetailSidebarInfoTab.spec.d.ts +1 -0
- package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentActionsCell.vue.d.ts +8 -0
- package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentManualCell.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentsSection.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentsTableTextCell.vue.d.ts +6 -0
- package/dist/modules/invoice/use-cases/detail/components/table/InvoiceLineItemsTableSection.vue.d.ts +9 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailHeaderActions.composable.d.ts +9 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +6 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApplyDiscountDialog.vue.d.ts +11 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceDeleteDialog.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoicePaymentCreateDialog.vue.d.ts +11 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceUpdateDialog.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/views/InvoiceDetailView.vue.d.ts +9 -0
- package/dist/modules/invoice/use-cases/detail/views/InvoiceDetailViewDataProvider.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewBulkActionBar.vue.d.ts +22 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableAmountCell.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableCustomFieldCell.vue.d.ts +9 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableDueDateCell.vue.d.ts +8 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableIssuedDateCell.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableLifecycleCell.vue.d.ts +8 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableNameCell.vue.d.ts +9 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSelectionCell.vue.d.ts +10 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSentCell.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSequenceCell.vue.d.ts +6 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableStatusCell.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkSendEligibility.composable.d.ts +15 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkSendEligibility.composable.spec.d.ts +1 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewCustomFieldFilter.util.d.ts +11 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewCustomFieldFilter.util.spec.d.ts +1 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +16 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewFilters.composable.d.ts +12 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +18 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewTableColumns.composable.d.ts +14 -0
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +25 -0
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkFinalizeDialog.vue.d.ts +12 -0
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkMarkAsReadyDialog.vue.d.ts +12 -0
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendDialog.vue.d.ts +12 -0
- package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +29 -0
- package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewView.vue.d.ts +25 -0
- package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewViewDataProvider.vue.d.ts +16 -0
- package/dist/modules/invoice/use-cases/pdf/components/BillingDocumentPdf.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfFooterSection.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfHeaderSection.vue.d.ts +8 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfLinesTable.vue.d.ts +8 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfSummarySection.vue.d.ts +8 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfTableCell.vue.d.ts +16 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfTableHeaderCell.vue.d.ts +6 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfWatermark.vue.d.ts +3 -0
- package/dist/modules/invoice/use-cases/pdf/components/invoicePdf.types.d.ts +30 -0
- package/dist/modules/invoice/use-cases/pdf/components/invoicePdfLinesTable.spec.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/utils/invoicePdf.util.d.ts +42 -0
- package/dist/modules/invoice/use-cases/pdf/utils/invoicePdf.util.spec.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfViewDataProvider.vue.d.ts +7 -0
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePublicPdfViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/settings/api/mutations/issuerSettingsUpdate.mutation.d.ts +25 -0
- package/dist/modules/settings/api/queries/issuerSettings.query.d.ts +1 -0
- package/dist/modules/settings/api/query-keys/issuerSettings.queryKeys.d.ts +6 -0
- package/dist/modules/settings/api/services/issuerSettings.service.d.ts +7 -0
- package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +15 -0
- package/dist/modules/settings/models/issuer-settings/issuerSettings.transformer.d.ts +8 -0
- package/dist/modules/settings/models/issuer-settings/issuerSettings.transformer.spec.d.ts +1 -0
- package/dist/modules/settings/models/issuer-settings/issuerSettingsForm.model.d.ts +28 -0
- package/dist/modules/settings/routes/settings.routes.d.ts +23 -0
- package/dist/modules/settings/use-cases/overview/components/IssuerSettingsForm.vue.d.ts +7 -0
- package/dist/modules/settings/use-cases/overview/views/IssuerSettingsView.vue.d.ts +7 -0
- package/dist/modules/settings/use-cases/overview/views/IssuerSettingsViewDataProvider.vue.d.ts +3 -0
- package/dist/plainDate.transformer-BxvJpJOv.js +39 -0
- package/dist/reminderConfig.query-DzTN2AvU.js +316 -0
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/routes/invoicingPublicRoutes.composable.d.ts +9 -0
- package/dist/routes/invoicingRoutes.composable.d.ts +73 -0
- package/dist/routes/invoicingRoutes.composable.spec.d.ts +1 -0
- package/dist/routes/invoicingStandaloneRoutes.composable.d.ts +17 -0
- package/dist/src-BFgnUugN.js +123 -0
- package/dist/style.css +2 -1
- package/dist/types/apiError.type.d.ts +7 -0
- package/dist/types/query.type.d.ts +20 -0
- package/dist/types/queryKey.type.d.ts +8 -0
- package/dist/ui/DateRangeFilterButton.vue.d.ts +15 -0
- package/dist/ui/DisplayState.vue.d.ts +16 -0
- package/dist/ui/billing-document/BillingDocumentDetailHeaderSection.vue.d.ts +28 -0
- package/dist/ui/billing-document/BillingDocumentDetailLayout.vue.d.ts +22 -0
- package/dist/ui/billing-document/BillingDocumentDetailPage.vue.d.ts +24 -0
- package/dist/ui/billing-document/BillingDocumentDetailRemarksSection.vue.d.ts +10 -0
- package/dist/ui/billing-document/BillingDocumentDetailViewDataProvider.vue.d.ts +31 -0
- package/dist/ui/billing-document/BillingDocumentFinalizeDialog.vue.d.ts +11 -0
- package/dist/ui/billing-document/BillingDocumentHeaderActions.vue.d.ts +13 -0
- package/dist/ui/billing-document/BillingDocumentPdfViewer.vue.d.ts +7 -0
- package/dist/ui/billing-document/billingDocumentHeaderActions.types.d.ts +24 -0
- package/dist/ui/billing-document/billingDocumentPdfPreviewRoute.util.d.ts +14 -0
- package/dist/ui/billing-document/billingDocumentPdfPreviewRoute.util.spec.d.ts +1 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebar.vue.d.ts +20 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityContent.vue.d.ts +20 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityTab.vue.d.ts +3 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarAttachmentsTab.vue.d.ts +7 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarHeader.vue.d.ts +14 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarInfoItem.vue.d.ts +21 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarLayout.vue.d.ts +16 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarOriginalInvoiceSection.vue.d.ts +7 -0
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarPartySection.vue.d.ts +12 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemDeleteDialog.vue.d.ts +16 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsBulkActionBar.vue.d.ts +3 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsDragHandle.vue.d.ts +3 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsInsertIndicator.vue.d.ts +16 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGrid.vue.d.ts +3 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGroupRow.vue.d.ts +14 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsTableHeader.vue.d.ts +12 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsTableRow.vue.d.ts +10 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsTableSection.vue.d.ts +13 -0
- package/dist/ui/billing-document/table/BillingDocumentLineItemsTotals.vue.d.ts +7 -0
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +2773 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsAutoSave.composable.d.ts +22 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsAutoSave.composable.spec.d.ts +1 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +484 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsKeyboardNav.composable.d.ts +41 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsKeyboardNav.composable.spec.d.ts +1 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsRowMutations.composable.d.ts +41 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsSelection.composable.d.ts +16 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsTableDrag.composable.d.ts +13 -0
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableCustomField.vue.d.ts +21 -0
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableField.vue.d.ts +35 -0
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableNumberField.vue.d.ts +26 -0
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableSelectField.vue.d.ts +35 -0
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableTextField.vue.d.ts +23 -0
- package/dist/ui/billing-document/table/field/billingDocumentLineItemsTableNumberField.spec.d.ts +1 -0
- package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +90 -0
- package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.spec.d.ts +1 -0
- package/dist/ui/billing-document/useBillingDocumentFinalizePreference.composable.d.ts +4 -0
- package/dist/ui/customer-invoice-list/CustomerInvoiceList.vue.d.ts +16 -0
- package/dist/ui/customer-invoice-list/CustomerInvoiceTable.vue.d.ts +6 -0
- package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableBadgeCell.vue.d.ts +8 -0
- package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableInvoiceNumberCell.vue.d.ts +6 -0
- package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableTextCell.vue.d.ts +6 -0
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.d.ts +3 -0
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableFilters.composable.d.ts +9 -0
- package/dist/ui/customer-invoice-list/utils/customerInvoiceTable.util.d.ts +8 -0
- package/dist/ui/customer-invoice-list/utils/customerInvoiceTable.util.spec.d.ts +1 -0
- package/dist/ui/dashboard/index.d.ts +7 -0
- package/dist/ui/data-provider/DataProvider.vue.d.ts +27 -0
- package/dist/ui/file-upload/InvoicingFileUploadProvider.vue.d.ts +13 -0
- package/dist/ui/file-upload/invoicingFileUpload.adapter.d.ts +2 -0
- package/dist/useCurrencyFormat.composable-MtZaqKnO.js +38 -0
- package/dist/utils/api.util.d.ts +5 -0
- package/dist/utils/context.util.d.ts +1 -0
- package/dist/utils/createComponent.d.ts +4 -0
- package/dist/utils/download.util.d.ts +3 -0
- package/dist/utils/formango.util.d.ts +8 -0
- package/dist/utils/image.util.d.ts +3 -0
- package/dist/utils/instant.transformer.d.ts +7 -0
- package/dist/utils/map.util.d.ts +2 -0
- package/dist/utils/monetary/currency.model.d.ts +180 -0
- package/dist/utils/monetary/monetary.model.d.ts +6 -0
- package/dist/utils/monetary/monetary.util.d.ts +8 -0
- package/dist/utils/monetary/monetaryDto.model.d.ts +9 -0
- package/dist/utils/number.util.d.ts +4 -0
- package/dist/utils/percentage.util.d.ts +13 -0
- package/dist/utils/plainDate.transformer.d.ts +7 -0
- package/dist/utils/search.util.d.ts +3 -0
- package/package.json +26 -25
- package/dist/AddOpenBoundaryIcon-LcnpqCb7.js +0 -28
- package/dist/AirlineIcon-29r8leGB.js +0 -31
- package/dist/AirplaneIcon-B9jZP9r0.js +0 -21
- package/dist/AirportIcon-C4PxDtDr.js +0 -18
- package/dist/AlertTriangleIcon-BD58hKRP.js +0 -24
- package/dist/AllocationsIcon-BQan6NWO.js +0 -18
- package/dist/ArrowNarrowRightIcon-BA1c_QRh.js +0 -24
- package/dist/AssetIcon-DnK5wAyN.js +0 -18
- package/dist/BarChartIcon-CKrBCh6x.js +0 -24
- package/dist/BellIcon-BT2cGatU.js +0 -23
- package/dist/BillingDocumentDetailViewDataProvider.vue_vue_type_script_setup_true_lang-C5j9jPsk.js +0 -5374
- package/dist/BuildingIcon-CUOTWDHc.js +0 -24
- package/dist/ChargerIcon-BhrjeyKv.js +0 -18
- package/dist/ChevronDownIcon-DljNUnFk.js +0 -24
- package/dist/ChevronUpIcon-CoxFAIp_.js +0 -24
- package/dist/ClockIcon-CTnAGb9i.js +0 -24
- package/dist/ClockSnoozeIcon-BRoTw_Vn.js +0 -24
- package/dist/CopyIcon-JiNI8Dfg.js +0 -21
- package/dist/CreditNoteDetailViewDataProvider-Cy1j_m3I.js +0 -871
- package/dist/CreditNotePdfViewDataProvider-B7-HFIKD.js +0 -36
- package/dist/DownloadCloudIcon-DKHwnpvk.js +0 -24
- package/dist/EditIcon-DtGrCf8G.js +0 -23
- package/dist/EraserIcon-Cb0Ep_Yq.js +0 -24
- package/dist/FileIcon-C4wGvJpt.js +0 -26
- package/dist/FilterLinesIcon-B7wPXDy1.js +0 -24
- package/dist/GlobeIcon-B-Idmck1.js +0 -24
- package/dist/HelpIcon-CdKWaEaB.js +0 -26
- package/dist/HourGlassIcon-CQLPiXVW.js +0 -24
- package/dist/InfoCircleIcon-5gjQoNog.js +0 -24
- package/dist/InvoiceDetailViewDataProvider-4lGG7Wtq.js +0 -1918
- package/dist/InvoiceOverviewView-Boqvwabl.js +0 -4
- package/dist/InvoicePdfViewDataProvider-CJ3fL71W.js +0 -36
- package/dist/InvoicePublicPdfViewDataProvider-CzgGk_V5.js +0 -4
- package/dist/IssuerSettingsViewDataProvider-TM-bmC55.js +0 -249
- package/dist/KeyboardIcon-DlAp0VUG.js +0 -24
- package/dist/LinkExternalIcon-BPO_c7Ke.js +0 -24
- package/dist/LinkIcon-9M0uzW4a.js +0 -24
- package/dist/MarkerIcon-pId64QTW.js +0 -31
- package/dist/MobileBatteryIcon-Dq6Vh0d5.js +0 -18
- package/dist/MonitorIcon-PsvDF5LA.js +0 -24
- package/dist/NotificationIcon-C-mhyH5v.js +0 -21
- package/dist/ParkingIcon-BD0RoGv5.js +0 -29
- package/dist/PlanningIcon-BBIuwW2I.js +0 -18
- package/dist/PreferenceIcon-zR5mjygu.js +0 -24
- package/dist/ReceiptCheckIcon-CHEEnJEK.js +0 -24
- package/dist/RefreshIcon-CfjOS7Vw.js +0 -24
- package/dist/RemoveOpenBoundaryIcon-CEbBT9CX.js +0 -31
- package/dist/RewindIcon-9PFea9gA.js +0 -24
- package/dist/SettingsIcon-CSIbrANE.js +0 -28
- package/dist/ShieldIcon-CU4mxKxP.js +0 -21
- package/dist/ShieldOffIcon-D6_I1MKn.js +0 -24
- package/dist/SignOutIcon-ClrPsj39.js +0 -23
- package/dist/SlashCircleIcon-DBy7XjBm.js +0 -24
- package/dist/StandIcon-vV8J4-3H.js +0 -24
- package/dist/StarsIcon-RO6wNbsC.js +0 -26
- package/dist/StopwatchIcon-DubYBmeN.js +0 -24
- package/dist/TargetIcon-BwVw7rVC.js +0 -24
- package/dist/ThreeDotsIcon-BvRfi-Lm.js +0 -32
- package/dist/ToolIcon-Dw-vgiL1.js +0 -24
- package/dist/TrashIcon-Dh6ASxXd.js +0 -21
- package/dist/TurnaroundIcon-Hn5nPhvb.js +0 -30
- package/dist/UploadCloudIcon-BV7b8ygQ.js +0 -24
- package/dist/UserIcon-BRrPmqkm.js +0 -24
- package/dist/UsersIcon-fORcf4YV.js +0 -24
- package/dist/VerifiedIcon-BtqxtP6h.js +0 -26
- package/dist/WifiIcon-Bd9TvVVJ.js +0 -24
- package/dist/WifiOffIcon-CpATjY4j.js +0 -24
- package/dist/ZapIcon-BG6cVpfC.js +0 -24
- package/dist/ZoomInIcon-CQ_R4Ydf.js +0 -24
- package/dist/ZoomOutIcon-DlcCdCda.js +0 -24
- package/dist/creditNoteDetail.query-Dj6oKRTO.js +0 -159
- package/dist/index-CYV9qUlg.js +0 -23375
- package/dist/index-DCE3vzbe.js +0 -7
- package/dist/invoiceDetail.query-Wtw3VSKd.js +0 -13
- package/dist/issuerSettings.query-H5-5e_KF.js +0 -130
- package/dist/style.d.ts +0 -1
- /package/dist/{index.css → DunningCaseReminderPdfViewDataProvider.css} +0 -0
|
@@ -1,871 +0,0 @@
|
|
|
1
|
-
import { defineComponent as N, computed as l, openBlock as v, createBlock as f, unref as i, withCtx as r, createVNode as a, createCommentVNode as q, resolveDynamicComponent as ne, normalizeClass as M, renderSlot as ae, ref as Z, createElementVNode as oe, mergeProps as H, createElementBlock as re, Fragment as se } from "vue";
|
|
2
|
-
import { useI18n as y } from "vue-i18n";
|
|
3
|
-
import { C as w, a as j, u as ce } from "./creditNoteDetail.query-Dj6oKRTO.js";
|
|
4
|
-
import { useToast as S, UIFormDialog as le, UIDialogHeader as ue, UIDialogFooter as de, UIDialogFooterCancel as me, UIDialogFooterSubmit as ve, useOverlay as fe, UIForm as P, UIRowLayout as B, UIText as U, UIColumnLayout as E, UIClickableElement as _e, UIBadge as pe, UIAnimateHeight as ge, UITextField as be, UIDateField as Ne, UISeparator as Y } from "@wisemen/vue-core-design-system";
|
|
5
|
-
import { v as ye, w as we, g, S as Q, i as xe, L as De, D as he, F as Ue, T as Ie, f as ke, m as Fe, a2 as Ce, x as Ee, a3 as Se, G as Ae, P as Re, H as Te, t as G, U as Le, R as $e, p as qe } from "./index-CYV9qUlg.js";
|
|
6
|
-
import { useForm as $ } from "formango";
|
|
7
|
-
import Me, { z as k } from "zod";
|
|
8
|
-
import { _ as je, u as Pe, F as Be, B as ze, a as z, b as Ve, c as Oe, d as Ke, e as He, f as Ye, g as Qe, h as Ge, j as Xe, k as Ze, i as Je, l as We, m as et, n as tt, o as it, p as nt, q as at, r as ot } from "./BillingDocumentDetailViewDataProvider.vue_vue_type_script_setup_true_lang-C5j9jPsk.js";
|
|
9
|
-
import { useMutation as I, useKeysetInfiniteQuery as rt } from "@wisemen/vue-core-api-utils";
|
|
10
|
-
import { useRouter as st } from "vue-router";
|
|
11
|
-
function V() {
|
|
12
|
-
return I({
|
|
13
|
-
queryFn: (e) => w.update(
|
|
14
|
-
e.params.creditNoteUuid,
|
|
15
|
-
e.body
|
|
16
|
-
),
|
|
17
|
-
queryKeysToInvalidate: {
|
|
18
|
-
creditNoteDetail: {
|
|
19
|
-
creditNoteUuid: (e) => e.creditNoteUuid
|
|
20
|
-
},
|
|
21
|
-
invoiceIndex: {}
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
const J = k.object({
|
|
26
|
-
issuedOn: ye,
|
|
27
|
-
externalRemarks: k.string().nullable(),
|
|
28
|
-
poNumber: k.string().nullable(),
|
|
29
|
-
subject: k.string().nullable()
|
|
30
|
-
}).superRefine((e, t) => {
|
|
31
|
-
e.externalRemarks?.trim() === "" && t.addIssue({
|
|
32
|
-
code: "custom",
|
|
33
|
-
message: we.global.t("wise_invoicing.credit_note.finalize.validation.external_remarks_required"),
|
|
34
|
-
path: [
|
|
35
|
-
"externalRemarks"
|
|
36
|
-
]
|
|
37
|
-
});
|
|
38
|
-
}), ct = k.object({
|
|
39
|
-
subject: k.string().nullable()
|
|
40
|
-
});
|
|
41
|
-
function lt() {
|
|
42
|
-
return I({
|
|
43
|
-
queryFn: (e) => w.finalize(
|
|
44
|
-
e.params.creditNoteUuid
|
|
45
|
-
),
|
|
46
|
-
queryKeysToInvalidate: {
|
|
47
|
-
creditNoteDetail: {
|
|
48
|
-
creditNoteUuid: (e) => e.creditNoteUuid
|
|
49
|
-
},
|
|
50
|
-
invoiceDetail: {
|
|
51
|
-
invoiceUuid: (e) => e.invoiceUuid
|
|
52
|
-
},
|
|
53
|
-
invoiceIndex: {}
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
function ut() {
|
|
58
|
-
return I({
|
|
59
|
-
queryFn: (e) => w.markAsDraft(e.params.creditNoteUuid),
|
|
60
|
-
queryKeysToInvalidate: {
|
|
61
|
-
creditNoteDetail: {
|
|
62
|
-
creditNoteUuid: (e) => e.creditNoteUuid
|
|
63
|
-
},
|
|
64
|
-
invoiceDetail: {
|
|
65
|
-
invoiceUuid: (e) => e.invoiceUuid
|
|
66
|
-
},
|
|
67
|
-
invoiceIndex: {}
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
function dt() {
|
|
72
|
-
return I({
|
|
73
|
-
queryFn: (e) => w.markAsReady(
|
|
74
|
-
e.params.creditNoteUuid
|
|
75
|
-
),
|
|
76
|
-
queryKeysToInvalidate: {
|
|
77
|
-
creditNoteDetail: {
|
|
78
|
-
creditNoteUuid: (e) => e.creditNoteUuid
|
|
79
|
-
},
|
|
80
|
-
invoiceDetail: {
|
|
81
|
-
invoiceUuid: (e) => e.invoiceUuid
|
|
82
|
-
},
|
|
83
|
-
invoiceIndex: {}
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
function mt() {
|
|
88
|
-
return I({
|
|
89
|
-
queryFn: (e) => w.send(
|
|
90
|
-
e.params.creditNoteUuid
|
|
91
|
-
),
|
|
92
|
-
queryKeysToInvalidate: {
|
|
93
|
-
creditNoteDetail: {
|
|
94
|
-
creditNoteUuid: (e) => e.creditNoteUuid
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
function vt() {
|
|
100
|
-
return I({
|
|
101
|
-
queryFn: (e) => w.delete(e.params.creditNoteUuid),
|
|
102
|
-
queryKeysToInvalidate: {
|
|
103
|
-
invoiceIndex: {}
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
const ft = /* @__PURE__ */ N({
|
|
108
|
-
__name: "CreditNoteDeleteDialog",
|
|
109
|
-
props: {
|
|
110
|
-
creditNote: {}
|
|
111
|
-
},
|
|
112
|
-
emits: ["close", "deleted"],
|
|
113
|
-
setup(e, { emit: t }) {
|
|
114
|
-
const n = e, o = t, s = y(), c = st(), d = S(), _ = vt(), p = l(() => n.creditNote.sequence ?? n.creditNote.subject ?? s.t("wise_invoicing.credit_note.detail.fallback_title")), m = $({
|
|
115
|
-
schema: Me.object({}),
|
|
116
|
-
onSubmit: async () => {
|
|
117
|
-
const b = await _.execute({
|
|
118
|
-
params: {
|
|
119
|
-
creditNoteUuid: n.creditNote.uuid
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
if (b.isErr()) {
|
|
123
|
-
d.apiError(b.error);
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
d.show({
|
|
127
|
-
message: p.value
|
|
128
|
-
}), o("deleted"), o("close"), await c.push({
|
|
129
|
-
name: "invoicing-invoice-overview"
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
return (b, x) => (v(), f(i(le), {
|
|
134
|
-
form: i(m),
|
|
135
|
-
size: "xs",
|
|
136
|
-
onClose: x[0] || (x[0] = (A) => o("close"))
|
|
137
|
-
}, {
|
|
138
|
-
default: r(() => [
|
|
139
|
-
a(i(ue), {
|
|
140
|
-
title: i(s).t("wise_invoicing.credit_note.delete.title"),
|
|
141
|
-
description: i(s).t("wise_invoicing.credit_note.delete.description", {
|
|
142
|
-
creditNoteIdentifier: p.value
|
|
143
|
-
}),
|
|
144
|
-
"is-description-visible": !0
|
|
145
|
-
}, null, 8, ["title", "description"]),
|
|
146
|
-
a(i(de), null, {
|
|
147
|
-
right: r(() => [
|
|
148
|
-
a(i(me), { label: "cancel" }),
|
|
149
|
-
a(i(ve), {
|
|
150
|
-
"is-destructive": !0,
|
|
151
|
-
label: i(s).t("wise_invoicing.credit_note.delete.submit_button")
|
|
152
|
-
}, null, 8, ["label"])
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
})
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
}, 8, ["form"]));
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
function _t(e) {
|
|
162
|
-
const t = y(), n = S(), o = fe(), s = o.create(ft), c = o.create(je), d = lt(), _ = ut(), p = dt(), m = mt(), {
|
|
163
|
-
shouldSkipConfirmation: b
|
|
164
|
-
} = Pe(), x = l(() => e.value.originalInvoice?.uuid ?? e.value.uuid), A = l(() => e.value.status !== g.DRAFT && e.value.status !== g.READY);
|
|
165
|
-
async function F() {
|
|
166
|
-
const u = await p.execute({
|
|
167
|
-
params: {
|
|
168
|
-
creditNoteUuid: e.value.uuid,
|
|
169
|
-
invoiceUuid: x.value
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
if (u.isErr()) {
|
|
173
|
-
n.apiError(u.error);
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
n.show({
|
|
177
|
-
message: t.t("wise_invoicing.credit_note.mark_as_ready.success")
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
async function R() {
|
|
181
|
-
const u = await d.execute({
|
|
182
|
-
params: {
|
|
183
|
-
creditNoteUuid: e.value.uuid,
|
|
184
|
-
invoiceUuid: x.value
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
return u.isErr() ? (n.apiError(u.error), !1) : (n.show({
|
|
188
|
-
message: t.t("wise_invoicing.credit_note.finalize.success")
|
|
189
|
-
}), !0);
|
|
190
|
-
}
|
|
191
|
-
async function T() {
|
|
192
|
-
if (b.value) {
|
|
193
|
-
await R();
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
await c.open({
|
|
197
|
-
billingDocumentType: "credit_note",
|
|
198
|
-
onConfirm: R
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
async function h() {
|
|
202
|
-
const u = await _.execute({
|
|
203
|
-
params: {
|
|
204
|
-
creditNoteUuid: e.value.uuid,
|
|
205
|
-
invoiceUuid: x.value
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
if (u.isErr()) {
|
|
209
|
-
n.apiError(u.error);
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
n.show({
|
|
213
|
-
message: t.t("wise_invoicing.credit_note.mark_as_draft.success")
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
async function O() {
|
|
217
|
-
const u = await m.execute({
|
|
218
|
-
params: {
|
|
219
|
-
creditNoteUuid: e.value.uuid
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
if (u.isErr()) {
|
|
223
|
-
n.apiError(u.error);
|
|
224
|
-
return;
|
|
225
|
-
}
|
|
226
|
-
n.show({
|
|
227
|
-
message: t.t("wise_invoicing.credit_note.send.success")
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
async function W() {
|
|
231
|
-
const u = await m.execute({
|
|
232
|
-
params: {
|
|
233
|
-
creditNoteUuid: e.value.uuid
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
if (u.isErr()) {
|
|
237
|
-
n.apiError(u.error);
|
|
238
|
-
return;
|
|
239
|
-
}
|
|
240
|
-
n.show({
|
|
241
|
-
message: t.t("wise_invoicing.credit_note.reminder.success")
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
async function ee() {
|
|
245
|
-
await s.open({
|
|
246
|
-
creditNote: e.value
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
async function te() {
|
|
250
|
-
const u = await w.getByUuid(e.value.uuid);
|
|
251
|
-
if (u.isErr()) {
|
|
252
|
-
n.apiError(u.error);
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
const C = u.value.file;
|
|
256
|
-
if (C === null) {
|
|
257
|
-
n.show({
|
|
258
|
-
message: t.t("wise_invoicing.invoice.download_pdf.generation_in_progress")
|
|
259
|
-
});
|
|
260
|
-
return;
|
|
261
|
-
}
|
|
262
|
-
const D = await Be.getDownloadUrl(C.uuid);
|
|
263
|
-
D !== null && Fe.downloadUrl(D, C.name);
|
|
264
|
-
}
|
|
265
|
-
const ie = l(() => [
|
|
266
|
-
{
|
|
267
|
-
isLoading: m.isLoading.value,
|
|
268
|
-
iconLeft: Q,
|
|
269
|
-
key: "send",
|
|
270
|
-
label: t.t("wise_invoicing.invoice.detail.actions.send"),
|
|
271
|
-
variant: "primary",
|
|
272
|
-
visible: e.value.status === g.FINALIZED,
|
|
273
|
-
onClick: O
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
isLoading: m.isLoading.value,
|
|
277
|
-
iconLeft: Q,
|
|
278
|
-
key: "sendReminder",
|
|
279
|
-
label: t.t("wise_invoicing.invoice.detail.header.send_reminder"),
|
|
280
|
-
variant: "primary",
|
|
281
|
-
visible: e.value.status === g.SENT,
|
|
282
|
-
onClick: W
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
isLoading: p.isLoading.value,
|
|
286
|
-
iconRight: xe,
|
|
287
|
-
key: "markAsReady",
|
|
288
|
-
label: t.t("wise_invoicing.invoice.detail.actions.mark_as_ready"),
|
|
289
|
-
visible: e.value.status === g.DRAFT,
|
|
290
|
-
onClick: F
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
isLoading: d.isLoading.value,
|
|
294
|
-
iconRight: De,
|
|
295
|
-
key: "finalize",
|
|
296
|
-
label: t.t("wise_invoicing.invoice.detail.actions.finalize"),
|
|
297
|
-
visible: e.value.status === g.READY,
|
|
298
|
-
onClick: T
|
|
299
|
-
}
|
|
300
|
-
].filter((u) => u.visible)), K = l(() => {
|
|
301
|
-
const u = [
|
|
302
|
-
{
|
|
303
|
-
icon: he,
|
|
304
|
-
key: "downloadPdf",
|
|
305
|
-
label: t.t("wise_invoicing.common.download_pdf"),
|
|
306
|
-
visible: A.value,
|
|
307
|
-
onSelect: te
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
icon: Ue,
|
|
311
|
-
key: "backToDraft",
|
|
312
|
-
label: t.t("wise_invoicing.invoice.detail.actions.mark_as_draft"),
|
|
313
|
-
visible: e.value.status === g.READY,
|
|
314
|
-
onSelect: h
|
|
315
|
-
}
|
|
316
|
-
], C = [
|
|
317
|
-
{
|
|
318
|
-
icon: Ie,
|
|
319
|
-
key: "delete",
|
|
320
|
-
label: t.t("wise_invoicing.credit_note.detail.actions.delete"),
|
|
321
|
-
visible: ke.isEditable(e.value.status),
|
|
322
|
-
onSelect: ee
|
|
323
|
-
}
|
|
324
|
-
];
|
|
325
|
-
return [
|
|
326
|
-
{
|
|
327
|
-
items: u.filter((D) => D.visible),
|
|
328
|
-
key: "secondary"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
items: C.filter((D) => D.visible),
|
|
332
|
-
key: "destructive"
|
|
333
|
-
}
|
|
334
|
-
].filter((D) => D.items.length > 0);
|
|
335
|
-
});
|
|
336
|
-
return {
|
|
337
|
-
isActionMenuVisible: l(() => K.value.length > 0),
|
|
338
|
-
menuGroups: K,
|
|
339
|
-
primaryButtons: ie
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
const pt = /* @__PURE__ */ N({
|
|
343
|
-
__name: "CreditNoteDetailHeaderSection",
|
|
344
|
-
props: {
|
|
345
|
-
isPdfViewActive: { type: Boolean },
|
|
346
|
-
creditNote: {}
|
|
347
|
-
},
|
|
348
|
-
emits: ["togglePdfView"],
|
|
349
|
-
setup(e, { emit: t }) {
|
|
350
|
-
const n = e, o = t, s = y(), c = S(), d = V(), {
|
|
351
|
-
menuGroups: _,
|
|
352
|
-
primaryButtons: p
|
|
353
|
-
} = _t(l(() => n.creditNote)), m = l(() => new ze(n.creditNote.status)), b = l(() => m.value.color), x = l(() => s.t(m.value.translationKey)), A = l(() => n.creditNote.status !== g.DRAFT && n.creditNote.status !== g.READY), F = $({
|
|
354
|
-
initialState: {
|
|
355
|
-
subject: n.creditNote.subject
|
|
356
|
-
},
|
|
357
|
-
schema: ct,
|
|
358
|
-
onSubmit: async (T) => {
|
|
359
|
-
const h = await d.execute({
|
|
360
|
-
body: {
|
|
361
|
-
...j.toForm(n.creditNote),
|
|
362
|
-
subject: T.subject
|
|
363
|
-
},
|
|
364
|
-
params: {
|
|
365
|
-
creditNoteUuid: n.creditNote.uuid
|
|
366
|
-
}
|
|
367
|
-
});
|
|
368
|
-
h.isErr() && c.apiError(h.error);
|
|
369
|
-
}
|
|
370
|
-
}), R = F.register("subject");
|
|
371
|
-
return z({
|
|
372
|
-
form: F
|
|
373
|
-
}), (T, h) => (v(), f(i(P), {
|
|
374
|
-
form: i(F),
|
|
375
|
-
"prompt-on-unsaved-changes": !1
|
|
376
|
-
}, {
|
|
377
|
-
default: r(() => [
|
|
378
|
-
a(Ve, {
|
|
379
|
-
"fallback-title": i(s).t("wise_invoicing.credit_note.detail.fallback_title"),
|
|
380
|
-
"is-disabled": A.value,
|
|
381
|
-
sequence: n.creditNote.sequence,
|
|
382
|
-
"status-color": b.value,
|
|
383
|
-
"status-label": x.value,
|
|
384
|
-
icon: i(Ce),
|
|
385
|
-
"subject-field": i(R),
|
|
386
|
-
"subject-placeholder": i(s).t("wise_invoicing.invoice.detail.header.subject_placeholder")
|
|
387
|
-
}, {
|
|
388
|
-
actions: r(() => [
|
|
389
|
-
a(Ke, {
|
|
390
|
-
"is-pdf-view-active": n.isPdfViewActive,
|
|
391
|
-
"menu-groups": i(_),
|
|
392
|
-
"primary-buttons": i(p),
|
|
393
|
-
onTogglePdfView: h[0] || (h[0] = (O) => o("togglePdfView"))
|
|
394
|
-
}, null, 8, ["is-pdf-view-active", "menu-groups", "primary-buttons"])
|
|
395
|
-
]),
|
|
396
|
-
status: r(() => [
|
|
397
|
-
a(i(B), {
|
|
398
|
-
gap: "xs",
|
|
399
|
-
class: "flex-wrap items-start"
|
|
400
|
-
}, {
|
|
401
|
-
default: r(() => [
|
|
402
|
-
n.creditNote.isOverdue ? (v(), f(Oe, { key: 0 })) : q("", !0)
|
|
403
|
-
]),
|
|
404
|
-
_: 1
|
|
405
|
-
})
|
|
406
|
-
]),
|
|
407
|
-
_: 1
|
|
408
|
-
}, 8, ["fallback-title", "is-disabled", "sequence", "status-color", "status-label", "icon", "subject-field", "subject-placeholder"])
|
|
409
|
-
]),
|
|
410
|
-
_: 1
|
|
411
|
-
}, 8, ["form"]));
|
|
412
|
-
}
|
|
413
|
-
}), gt = /* @__PURE__ */ N({
|
|
414
|
-
__name: "CreditNoteDetailRemarksSection",
|
|
415
|
-
props: {
|
|
416
|
-
creditNote: {}
|
|
417
|
-
},
|
|
418
|
-
setup(e) {
|
|
419
|
-
const t = e, n = y(), o = S(), s = V(), c = $({
|
|
420
|
-
initialState: l(() => j.toForm(t.creditNote)),
|
|
421
|
-
schema: J,
|
|
422
|
-
onSubmit: async (p) => {
|
|
423
|
-
const m = await s.execute({
|
|
424
|
-
body: p,
|
|
425
|
-
params: {
|
|
426
|
-
creditNoteUuid: t.creditNote.uuid
|
|
427
|
-
}
|
|
428
|
-
});
|
|
429
|
-
m.isErr() && o.apiError(m.error);
|
|
430
|
-
}
|
|
431
|
-
}), d = c.register("externalRemarks"), _ = l(() => t.creditNote.status !== g.DRAFT && t.creditNote.status !== g.READY);
|
|
432
|
-
return z({
|
|
433
|
-
form: c
|
|
434
|
-
}), (p, m) => (v(), f(i(P), {
|
|
435
|
-
form: i(c),
|
|
436
|
-
"prompt-on-unsaved-changes": !1
|
|
437
|
-
}, {
|
|
438
|
-
default: r(() => [
|
|
439
|
-
a(He, {
|
|
440
|
-
"is-disabled": _.value,
|
|
441
|
-
placeholder: i(n).t("wise_invoicing.invoice.detail.remarks.placeholder"),
|
|
442
|
-
"remarks-field": i(d),
|
|
443
|
-
title: i(n).t("wise_invoicing.invoice.detail.remarks.title")
|
|
444
|
-
}, null, 8, ["is-disabled", "placeholder", "remarks-field", "title"])
|
|
445
|
-
]),
|
|
446
|
-
_: 1
|
|
447
|
-
}, 8, ["form"]));
|
|
448
|
-
}
|
|
449
|
-
});
|
|
450
|
-
function bt(e) {
|
|
451
|
-
return rt("creditNoteActivityLogIndex", {
|
|
452
|
-
params: {
|
|
453
|
-
creditNoteUuid: e
|
|
454
|
-
},
|
|
455
|
-
queryFn: (t) => w.getActivityLogs(e.value, {
|
|
456
|
-
pagination: t
|
|
457
|
-
})
|
|
458
|
-
});
|
|
459
|
-
}
|
|
460
|
-
const Nt = /* @__PURE__ */ N({
|
|
461
|
-
__name: "CreditNoteDetailSidebarActivityTab",
|
|
462
|
-
props: {
|
|
463
|
-
creditNote: {}
|
|
464
|
-
},
|
|
465
|
-
setup(e) {
|
|
466
|
-
const t = e, n = y(), {
|
|
467
|
-
hasNextPage: o,
|
|
468
|
-
isFetchingNextPage: s,
|
|
469
|
-
isLoading: c,
|
|
470
|
-
fetchNextPage: d,
|
|
471
|
-
result: _
|
|
472
|
-
} = bt(l(() => t.creditNote.uuid)), p = l(() => _.value.unwrapOr({
|
|
473
|
-
data: [],
|
|
474
|
-
meta: {
|
|
475
|
-
next: null
|
|
476
|
-
}
|
|
477
|
-
}).data);
|
|
478
|
-
return (m, b) => (v(), f(Ye, {
|
|
479
|
-
"current-billing-document": {
|
|
480
|
-
role: i(Ee).CREDIT_NOTE,
|
|
481
|
-
uuid: t.creditNote.uuid
|
|
482
|
-
},
|
|
483
|
-
"empty-message": i(n).t("wise_invoicing.credit_note.detail.sidebar.activity_empty"),
|
|
484
|
-
entries: p.value,
|
|
485
|
-
"fetch-next-page": i(d),
|
|
486
|
-
"has-next-page": i(o),
|
|
487
|
-
"is-fetching-next-page": i(s),
|
|
488
|
-
"is-loading": i(c)
|
|
489
|
-
}, null, 8, ["current-billing-document", "empty-message", "entries", "fetch-next-page", "has-next-page", "is-fetching-next-page", "is-loading"]));
|
|
490
|
-
}
|
|
491
|
-
}), L = /* @__PURE__ */ N({
|
|
492
|
-
__name: "BillingDocumentDetailSidebarInfoItem",
|
|
493
|
-
props: {
|
|
494
|
-
hasError: { type: Boolean, default: !1 },
|
|
495
|
-
icon: {},
|
|
496
|
-
label: {}
|
|
497
|
-
},
|
|
498
|
-
setup(e) {
|
|
499
|
-
const t = e;
|
|
500
|
-
return (n, o) => (v(), f(i(B), null, {
|
|
501
|
-
default: r(() => [
|
|
502
|
-
(v(), f(ne(t.icon), {
|
|
503
|
-
class: M([{
|
|
504
|
-
"text-error-primary": t.hasError,
|
|
505
|
-
"text-tertiary": !t.hasError
|
|
506
|
-
}, "size-3.5 shrink-0"])
|
|
507
|
-
}, null, 8, ["class"])),
|
|
508
|
-
a(i(U), {
|
|
509
|
-
text: t.label,
|
|
510
|
-
class: M([{
|
|
511
|
-
"text-error-primary": t.hasError,
|
|
512
|
-
"text-tertiary": !t.hasError
|
|
513
|
-
}, "w-24 shrink-0 text-xs"])
|
|
514
|
-
}, null, 8, ["text", "class"]),
|
|
515
|
-
ae(n.$slots, "default")
|
|
516
|
-
]),
|
|
517
|
-
_: 3
|
|
518
|
-
}));
|
|
519
|
-
}
|
|
520
|
-
}), X = /* @__PURE__ */ N({
|
|
521
|
-
__name: "BillingDocumentDetailSidebarPartySection",
|
|
522
|
-
props: {
|
|
523
|
-
title: {},
|
|
524
|
-
isDefaultOpen: { type: Boolean, default: !1 },
|
|
525
|
-
name: {},
|
|
526
|
-
address: {}
|
|
527
|
-
},
|
|
528
|
-
setup(e) {
|
|
529
|
-
const t = e, n = Z(t.isDefaultOpen);
|
|
530
|
-
function o() {
|
|
531
|
-
n.value = !n.value;
|
|
532
|
-
}
|
|
533
|
-
return (s, c) => (v(), f(i(E), { class: "w-full" }, {
|
|
534
|
-
default: r(() => [
|
|
535
|
-
a(i(B), { justify: "between" }, {
|
|
536
|
-
default: r(() => [
|
|
537
|
-
a(i(_e), { class: "rounded-sm" }, {
|
|
538
|
-
default: r(() => [
|
|
539
|
-
oe("button", {
|
|
540
|
-
type: "button",
|
|
541
|
-
class: "flex w-full items-center gap-sm",
|
|
542
|
-
onClick: o
|
|
543
|
-
}, [
|
|
544
|
-
a(i(U), {
|
|
545
|
-
text: t.title,
|
|
546
|
-
class: "text-xs font-semibold text-primary"
|
|
547
|
-
}, null, 8, ["text"]),
|
|
548
|
-
a(i(pe), {
|
|
549
|
-
label: t.name,
|
|
550
|
-
color: "gray",
|
|
551
|
-
variant: "outline"
|
|
552
|
-
}, null, 8, ["label"]),
|
|
553
|
-
a(i(Se), {
|
|
554
|
-
class: M([{
|
|
555
|
-
"rotate-180": n.value
|
|
556
|
-
}, "size-4 text-tertiary transition-all duration-100"])
|
|
557
|
-
}, null, 8, ["class"])
|
|
558
|
-
])
|
|
559
|
-
]),
|
|
560
|
-
_: 1
|
|
561
|
-
})
|
|
562
|
-
]),
|
|
563
|
-
_: 1
|
|
564
|
-
}),
|
|
565
|
-
a(i(ge), null, {
|
|
566
|
-
default: r(() => [
|
|
567
|
-
n.value ? (v(), f(i(E), {
|
|
568
|
-
key: 0,
|
|
569
|
-
gap: "xs"
|
|
570
|
-
}, {
|
|
571
|
-
default: r(() => [
|
|
572
|
-
a(i(U), {
|
|
573
|
-
text: t.name,
|
|
574
|
-
class: "text-xs font-medium text-primary"
|
|
575
|
-
}, null, 8, ["text"]),
|
|
576
|
-
t.address ? (v(), f(i(U), {
|
|
577
|
-
key: 0,
|
|
578
|
-
truncate: !1,
|
|
579
|
-
text: i(Ae).format(t.address),
|
|
580
|
-
class: "text-xs text-primary"
|
|
581
|
-
}, null, 8, ["text"])) : q("", !0)
|
|
582
|
-
]),
|
|
583
|
-
_: 1
|
|
584
|
-
})) : q("", !0)
|
|
585
|
-
]),
|
|
586
|
-
_: 1
|
|
587
|
-
})
|
|
588
|
-
]),
|
|
589
|
-
_: 1
|
|
590
|
-
}));
|
|
591
|
-
}
|
|
592
|
-
}), yt = /* @__PURE__ */ N({
|
|
593
|
-
__name: "CreditNoteDetailSidebarInfoTab",
|
|
594
|
-
props: {
|
|
595
|
-
creditNote: {}
|
|
596
|
-
},
|
|
597
|
-
setup(e) {
|
|
598
|
-
const t = e, n = y(), o = S(), s = V(), c = $({
|
|
599
|
-
initialState: l(() => j.toForm(t.creditNote)),
|
|
600
|
-
schema: J,
|
|
601
|
-
onSubmit: async (m) => {
|
|
602
|
-
const b = await s.execute({
|
|
603
|
-
body: m,
|
|
604
|
-
params: {
|
|
605
|
-
creditNoteUuid: t.creditNote.uuid
|
|
606
|
-
}
|
|
607
|
-
});
|
|
608
|
-
b.isErr() && o.apiError(b.error);
|
|
609
|
-
}
|
|
610
|
-
}), d = c.register("issuedOn"), _ = c.register("poNumber"), p = l(() => t.creditNote.status !== g.DRAFT && t.creditNote.status !== g.READY);
|
|
611
|
-
return z({
|
|
612
|
-
form: c
|
|
613
|
-
}), (m, b) => (v(), f(i(P), {
|
|
614
|
-
form: i(c),
|
|
615
|
-
"prompt-on-unsaved-changes": !1
|
|
616
|
-
}, {
|
|
617
|
-
default: r(() => [
|
|
618
|
-
a(i(E), {
|
|
619
|
-
gap: "lg",
|
|
620
|
-
class: "px-2xl py-xl"
|
|
621
|
-
}, {
|
|
622
|
-
default: r(() => [
|
|
623
|
-
a(i(E), null, {
|
|
624
|
-
default: r(() => [
|
|
625
|
-
a(i(U), {
|
|
626
|
-
text: i(n).t("wise_invoicing.invoice.detail.sidebar.general"),
|
|
627
|
-
class: "text-xs font-semibold text-primary"
|
|
628
|
-
}, null, 8, ["text"]),
|
|
629
|
-
a(i(E), { gap: "lg" }, {
|
|
630
|
-
default: r(() => [
|
|
631
|
-
a(L, {
|
|
632
|
-
icon: i(Re),
|
|
633
|
-
label: i(n).t("wise_invoicing.invoice.detail.header.invoice_id")
|
|
634
|
-
}, {
|
|
635
|
-
default: r(() => [
|
|
636
|
-
a(i(U), {
|
|
637
|
-
text: t.creditNote.sequence ?? "-",
|
|
638
|
-
class: "text-xs text-primary"
|
|
639
|
-
}, null, 8, ["text"])
|
|
640
|
-
]),
|
|
641
|
-
_: 1
|
|
642
|
-
}, 8, ["icon", "label"]),
|
|
643
|
-
a(L, {
|
|
644
|
-
icon: i(Te),
|
|
645
|
-
"has-error": i(_).errors.value.length > 0,
|
|
646
|
-
label: i(n).t("wise_invoicing.invoice.detail.header.po_number")
|
|
647
|
-
}, {
|
|
648
|
-
default: r(() => [
|
|
649
|
-
a(i(be), H(i(G)(i(_)), {
|
|
650
|
-
"is-disabled": p.value,
|
|
651
|
-
label: null,
|
|
652
|
-
class: "w-full"
|
|
653
|
-
}), null, 16, ["is-disabled"])
|
|
654
|
-
]),
|
|
655
|
-
_: 1
|
|
656
|
-
}, 8, ["icon", "has-error", "label"]),
|
|
657
|
-
a(L, {
|
|
658
|
-
icon: i(Le),
|
|
659
|
-
label: i(n).t("wise_invoicing.invoice.detail.header.issuer")
|
|
660
|
-
}, {
|
|
661
|
-
default: r(() => [
|
|
662
|
-
a(i(U), {
|
|
663
|
-
text: t.creditNote.issuer.name ?? "-",
|
|
664
|
-
class: "text-xs text-primary"
|
|
665
|
-
}, null, 8, ["text"])
|
|
666
|
-
]),
|
|
667
|
-
_: 1
|
|
668
|
-
}, 8, ["icon", "label"]),
|
|
669
|
-
a(L, {
|
|
670
|
-
icon: i($e),
|
|
671
|
-
"has-error": i(d).errors.value.length > 0,
|
|
672
|
-
label: i(n).t("wise_invoicing.invoice.detail.header.invoice_date")
|
|
673
|
-
}, {
|
|
674
|
-
default: r(() => [
|
|
675
|
-
a(i(Ne), H({ "is-disabled": p.value }, i(G)(i(d))), null, 16, ["is-disabled"])
|
|
676
|
-
]),
|
|
677
|
-
_: 1
|
|
678
|
-
}, 8, ["icon", "has-error", "label"])
|
|
679
|
-
]),
|
|
680
|
-
_: 1
|
|
681
|
-
})
|
|
682
|
-
]),
|
|
683
|
-
_: 1
|
|
684
|
-
}),
|
|
685
|
-
a(i(Y)),
|
|
686
|
-
a(Qe, {
|
|
687
|
-
"original-invoice": t.creditNote.originalInvoice
|
|
688
|
-
}, null, 8, ["original-invoice"]),
|
|
689
|
-
a(X, {
|
|
690
|
-
"is-default-open": !0,
|
|
691
|
-
name: t.creditNote.customer.name ?? "-",
|
|
692
|
-
title: i(n).t("wise_invoicing.invoice.detail.header.bill_to"),
|
|
693
|
-
address: t.creditNote.customer.address
|
|
694
|
-
}, null, 8, ["name", "title", "address"]),
|
|
695
|
-
a(i(Y)),
|
|
696
|
-
a(X, {
|
|
697
|
-
name: t.creditNote.issuer.email ?? "-",
|
|
698
|
-
title: i(n).t("wise_invoicing.invoice.detail.header.bill_from"),
|
|
699
|
-
address: t.creditNote.issuer.address
|
|
700
|
-
}, null, 8, ["name", "title", "address"])
|
|
701
|
-
]),
|
|
702
|
-
_: 1
|
|
703
|
-
})
|
|
704
|
-
]),
|
|
705
|
-
_: 1
|
|
706
|
-
}, 8, ["form"]));
|
|
707
|
-
}
|
|
708
|
-
}), wt = /* @__PURE__ */ N({
|
|
709
|
-
__name: "CreditNoteDetailSidebar",
|
|
710
|
-
props: {
|
|
711
|
-
creditNote: {}
|
|
712
|
-
},
|
|
713
|
-
setup(e) {
|
|
714
|
-
const t = e, n = y(), o = qe(), s = l(() => n.t("wise_invoicing.invoice.detail.sidebar.updated_on", {
|
|
715
|
-
date: o.toDateTime(t.creditNote.updatedAt)
|
|
716
|
-
}));
|
|
717
|
-
return (c, d) => (v(), f(Ge, {
|
|
718
|
-
"billing-document": t.creditNote,
|
|
719
|
-
"updated-footer": s.value
|
|
720
|
-
}, {
|
|
721
|
-
activity: r(() => [
|
|
722
|
-
a(Nt, {
|
|
723
|
-
"credit-note": t.creditNote
|
|
724
|
-
}, null, 8, ["credit-note"])
|
|
725
|
-
]),
|
|
726
|
-
info: r(() => [
|
|
727
|
-
a(yt, {
|
|
728
|
-
"credit-note": t.creditNote
|
|
729
|
-
}, null, 8, ["credit-note"])
|
|
730
|
-
]),
|
|
731
|
-
_: 1
|
|
732
|
-
}, 8, ["billing-document", "updated-footer"]));
|
|
733
|
-
}
|
|
734
|
-
});
|
|
735
|
-
function xt() {
|
|
736
|
-
return I({
|
|
737
|
-
queryFn: (e) => w.updateLines(
|
|
738
|
-
e.params.creditNoteUuid,
|
|
739
|
-
e.body
|
|
740
|
-
),
|
|
741
|
-
queryKeysToInvalidate: {
|
|
742
|
-
creditNoteDetail: {
|
|
743
|
-
creditNoteUuid: (e) => e.creditNoteUuid
|
|
744
|
-
},
|
|
745
|
-
invoiceIndex: {}
|
|
746
|
-
}
|
|
747
|
-
});
|
|
748
|
-
}
|
|
749
|
-
const Dt = /* @__PURE__ */ N({
|
|
750
|
-
__name: "CreditNoteLineItemsTableSection",
|
|
751
|
-
props: {
|
|
752
|
-
creditNote: {}
|
|
753
|
-
},
|
|
754
|
-
setup(e) {
|
|
755
|
-
const t = e, n = l(() => t.creditNote), o = xt(), s = Xe({
|
|
756
|
-
isSaving: l(() => o.isLoading.value),
|
|
757
|
-
billingDocument: () => n.value,
|
|
758
|
-
updateLines: (c) => o.execute({
|
|
759
|
-
body: c,
|
|
760
|
-
params: {
|
|
761
|
-
creditNoteUuid: t.creditNote.uuid
|
|
762
|
-
}
|
|
763
|
-
})
|
|
764
|
-
});
|
|
765
|
-
return Ze(s), (c, d) => (v(), f(Je, null, {
|
|
766
|
-
default: r(() => [
|
|
767
|
-
a(We, { "show-apply-discount": !1 }),
|
|
768
|
-
a(et),
|
|
769
|
-
a(tt, {
|
|
770
|
-
"billing-document": t.creditNote
|
|
771
|
-
}, null, 8, ["billing-document"]),
|
|
772
|
-
a(it)
|
|
773
|
-
]),
|
|
774
|
-
_: 1
|
|
775
|
-
}));
|
|
776
|
-
}
|
|
777
|
-
}), ht = /* @__PURE__ */ N({
|
|
778
|
-
__name: "CreditNoteDetailView",
|
|
779
|
-
props: {
|
|
780
|
-
creditNote: {}
|
|
781
|
-
},
|
|
782
|
-
setup(e) {
|
|
783
|
-
const t = e, n = y(), o = Z(!1), s = l(() => [
|
|
784
|
-
{
|
|
785
|
-
label: n.t("wise_invoicing.invoice.overview.title"),
|
|
786
|
-
to: {
|
|
787
|
-
name: "invoicing-invoice-overview"
|
|
788
|
-
}
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
label: t.creditNote.originalInvoice?.sequence ?? n.t("wise_invoicing.credit_note.detail.breadcrumb.parent_invoice"),
|
|
792
|
-
to: t.creditNote.originalInvoice === null ? void 0 : {
|
|
793
|
-
name: "invoicing-invoice-detail",
|
|
794
|
-
params: {
|
|
795
|
-
invoiceUuid: t.creditNote.originalInvoice.uuid
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
label: n.t("wise_invoicing.invoice.detail.credit_notes.untitled")
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
label: t.creditNote.sequence ?? n.t("wise_invoicing.credit_note.detail.fallback_title")
|
|
804
|
-
}
|
|
805
|
-
]);
|
|
806
|
-
return (c, d) => (v(), f(nt, {
|
|
807
|
-
"billing-document": t.creditNote,
|
|
808
|
-
breadcrumbs: s.value,
|
|
809
|
-
title: i(n).t("wise_invoicing.credit_note.detail.fallback_title")
|
|
810
|
-
}, {
|
|
811
|
-
header: r(() => [
|
|
812
|
-
a(pt, {
|
|
813
|
-
"credit-note": t.creditNote,
|
|
814
|
-
"is-pdf-view-active": o.value,
|
|
815
|
-
class: "w-full",
|
|
816
|
-
onTogglePdfView: d[0] || (d[0] = (_) => o.value = !o.value)
|
|
817
|
-
}, null, 8, ["credit-note", "is-pdf-view-active"])
|
|
818
|
-
]),
|
|
819
|
-
default: r(() => [
|
|
820
|
-
o.value ? (v(), f(at, {
|
|
821
|
-
key: 0,
|
|
822
|
-
"billing-document": t.creditNote,
|
|
823
|
-
class: "w-full"
|
|
824
|
-
}, null, 8, ["billing-document"])) : (v(), re(se, { key: 1 }, [
|
|
825
|
-
a(Dt, {
|
|
826
|
-
"credit-note": t.creditNote
|
|
827
|
-
}, null, 8, ["credit-note"]),
|
|
828
|
-
a(gt, {
|
|
829
|
-
"credit-note": t.creditNote,
|
|
830
|
-
class: "w-full"
|
|
831
|
-
}, null, 8, ["credit-note"])
|
|
832
|
-
], 64))
|
|
833
|
-
]),
|
|
834
|
-
sidebar: r(() => [
|
|
835
|
-
a(wt, {
|
|
836
|
-
"credit-note": t.creditNote
|
|
837
|
-
}, null, 8, ["credit-note"])
|
|
838
|
-
]),
|
|
839
|
-
_: 1
|
|
840
|
-
}, 8, ["billing-document", "breadcrumbs", "title"]));
|
|
841
|
-
}
|
|
842
|
-
}), $t = /* @__PURE__ */ N({
|
|
843
|
-
__name: "CreditNoteDetailViewDataProvider",
|
|
844
|
-
props: {
|
|
845
|
-
creditNoteUuid: {}
|
|
846
|
-
},
|
|
847
|
-
setup(e) {
|
|
848
|
-
const t = e, n = y(), o = l(() => [
|
|
849
|
-
{
|
|
850
|
-
label: n.t("wise_invoicing.invoice.overview.title"),
|
|
851
|
-
to: {
|
|
852
|
-
name: "invoicing-invoice-overview"
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
]), s = ce(l(
|
|
856
|
-
() => t.creditNoteUuid
|
|
857
|
-
));
|
|
858
|
-
return (c, d) => (v(), f(ot, {
|
|
859
|
-
query: i(s),
|
|
860
|
-
"loading-breadcrumbs": o.value
|
|
861
|
-
}, {
|
|
862
|
-
default: r(({ billingDocument: _ }) => [
|
|
863
|
-
a(ht, { "credit-note": _ }, null, 8, ["credit-note"])
|
|
864
|
-
]),
|
|
865
|
-
_: 1
|
|
866
|
-
}, 8, ["query", "loading-breadcrumbs"]));
|
|
867
|
-
}
|
|
868
|
-
});
|
|
869
|
-
export {
|
|
870
|
-
$t as default
|
|
871
|
-
};
|