@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
|
@@ -0,0 +1,751 @@
|
|
|
1
|
+
import { t as e } from "./i18n.lib-DUbAMBRb.js";
|
|
2
|
+
import "./api.util-Dm_TQedZ.js";
|
|
3
|
+
import { m as t, r as n } from "./documentTitle.composable-CeaFddr1.js";
|
|
4
|
+
import { t as r } from "./download.util-PjaUQR6r.js";
|
|
5
|
+
import { r as i } from "./address.transformer-B8C0pwT1.js";
|
|
6
|
+
import { D as a, K as o, L as s, M as c, O as l, g as u, h as d, i as f, l as p, nt as m, w as h, z as g } from "./dist-DP8KNFVD.js";
|
|
7
|
+
import { n as _, t as v } from "./dist-YTXTCfo1.js";
|
|
8
|
+
import { i as ee, r as y } from "./CustomFieldValueText-DDQq-975.js";
|
|
9
|
+
import { t as b } from "./formango.util-D5c2ql--.js";
|
|
10
|
+
import { n as x, r as S, t as C } from "./creditNoteDetail.query-BZqgZRSu.js";
|
|
11
|
+
import { C as te, S as ne, T as w, _ as T, a as E, b as D, c as re, d as O, f as k, g as ie, h as ae, i as oe, m as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, v as me, w as he, x as ge, y as _e } from "./BillingDocumentDetailViewDataProvider-pePmiXWb.js";
|
|
12
|
+
import { useRouter as ve } from "vue-router";
|
|
13
|
+
import ye, { z as A } from "zod";
|
|
14
|
+
import { useI18n as j } from "vue-i18n";
|
|
15
|
+
import { Fragment as be, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as xe, createElementVNode as Se, createVNode as F, defineComponent as I, mergeProps as L, normalizeClass as R, openBlock as z, ref as B, renderSlot as Ce, resolveDynamicComponent as we, unref as V, withCtx as H } from "vue";
|
|
16
|
+
import { useKeysetInfiniteQuery as Te, useMutation as U } from "@wisemen/vue-core-api-utils";
|
|
17
|
+
import { UIAnimateHeight as Ee, UIBadge as De, UIClickableElement as Oe, UIColumnLayout as W, UIDateField as ke, UIDialogFooter as Ae, UIDialogFooterCancel as je, UIDialogFooterSubmit as Me, UIDialogHeader as Ne, UIForm as G, UIFormDialog as Pe, UIRowLayout as K, UISeparator as q, UIText as J, UITextField as Fe, useOverlay as Ie, useToast as Y } from "@wisemen/vue-core-design-system";
|
|
18
|
+
import { useForm as X } from "formango";
|
|
19
|
+
//#region src/modules/credit-note/api/mutations/creditNoteUpdate.mutation.ts
|
|
20
|
+
function Z() {
|
|
21
|
+
return U({
|
|
22
|
+
queryFn: (e) => x.update(e.params.creditNoteUuid, e.body),
|
|
23
|
+
queryKeysToInvalidate: {
|
|
24
|
+
creditNoteDetail: { creditNoteUuid: (e) => e.creditNoteUuid },
|
|
25
|
+
invoiceIndex: {}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/modules/credit-note/models/update/creditNoteUpdateForm.model.ts
|
|
31
|
+
var Q = A.object({
|
|
32
|
+
issuedOn: v,
|
|
33
|
+
externalRemarks: A.string().nullable(),
|
|
34
|
+
poNumber: A.string().nullable(),
|
|
35
|
+
subject: A.string().nullable()
|
|
36
|
+
}).superRefine((t, n) => {
|
|
37
|
+
t.externalRemarks?.trim() === "" && n.addIssue({
|
|
38
|
+
code: "custom",
|
|
39
|
+
message: e.global.t("wise_invoicing.credit_note.finalize.validation.external_remarks_required"),
|
|
40
|
+
path: ["externalRemarks"]
|
|
41
|
+
});
|
|
42
|
+
}), Le = A.object({ subject: A.string().nullable() });
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/modules/credit-note/api/mutations/creditNoteFinalize.mutation.ts
|
|
45
|
+
function Re() {
|
|
46
|
+
return U({
|
|
47
|
+
queryFn: (e) => x.finalize(e.params.creditNoteUuid),
|
|
48
|
+
queryKeysToInvalidate: {
|
|
49
|
+
creditNoteDetail: { creditNoteUuid: (e) => e.creditNoteUuid },
|
|
50
|
+
invoiceDetail: { invoiceUuid: (e) => e.invoiceUuid },
|
|
51
|
+
invoiceIndex: {}
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/modules/credit-note/api/mutations/creditNoteMarkAsDraft.mutation.ts
|
|
57
|
+
function ze() {
|
|
58
|
+
return U({
|
|
59
|
+
queryFn: (e) => x.markAsDraft(e.params.creditNoteUuid),
|
|
60
|
+
queryKeysToInvalidate: {
|
|
61
|
+
creditNoteDetail: { creditNoteUuid: (e) => e.creditNoteUuid },
|
|
62
|
+
invoiceDetail: { invoiceUuid: (e) => e.invoiceUuid },
|
|
63
|
+
invoiceIndex: {}
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/modules/credit-note/api/mutations/creditNoteMarkAsReady.mutation.ts
|
|
69
|
+
function Be() {
|
|
70
|
+
return U({
|
|
71
|
+
queryFn: (e) => x.markAsReady(e.params.creditNoteUuid),
|
|
72
|
+
queryKeysToInvalidate: {
|
|
73
|
+
creditNoteDetail: { creditNoteUuid: (e) => e.creditNoteUuid },
|
|
74
|
+
invoiceDetail: { invoiceUuid: (e) => e.invoiceUuid },
|
|
75
|
+
invoiceIndex: {}
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/modules/credit-note/api/mutations/creditNoteSend.mutation.ts
|
|
81
|
+
function Ve() {
|
|
82
|
+
return U({
|
|
83
|
+
queryFn: (e) => x.send(e.params.creditNoteUuid),
|
|
84
|
+
queryKeysToInvalidate: { creditNoteDetail: { creditNoteUuid: (e) => e.creditNoteUuid } }
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/modules/credit-note/api/mutations/creditNoteDelete.mutation.ts
|
|
89
|
+
function He() {
|
|
90
|
+
return U({
|
|
91
|
+
queryFn: (e) => x.delete(e.params.creditNoteUuid),
|
|
92
|
+
queryKeysToInvalidate: { invoiceIndex: {} }
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/modules/credit-note/use-cases/detail/dialogs/CreditNoteDeleteDialog.vue
|
|
97
|
+
var Ue = /* @__PURE__ */ I({
|
|
98
|
+
__name: "CreditNoteDeleteDialog",
|
|
99
|
+
props: { creditNote: {} },
|
|
100
|
+
emits: ["close", "deleted"],
|
|
101
|
+
setup(e, { emit: t }) {
|
|
102
|
+
let n = e, r = t, i = j(), a = ve(), o = Y(), s = He(), c = M(() => n.creditNote.sequence ?? n.creditNote.subject ?? i.t("wise_invoicing.credit_note.detail.fallback_title")), l = X({
|
|
103
|
+
schema: ye.object({}),
|
|
104
|
+
onSubmit: async () => {
|
|
105
|
+
let e = await s.execute({ params: { creditNoteUuid: n.creditNote.uuid } });
|
|
106
|
+
if (e.isErr()) {
|
|
107
|
+
o.apiError(e.error);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
o.show({ message: c.value }), r("deleted"), r("close"), await a.push({ name: "invoicing-invoice-overview" });
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
return (e, t) => (z(), N(V(Pe), {
|
|
114
|
+
form: V(l),
|
|
115
|
+
size: "xs",
|
|
116
|
+
onClose: t[0] ||= (e) => r("close")
|
|
117
|
+
}, {
|
|
118
|
+
default: H(() => [F(V(Ne), {
|
|
119
|
+
title: V(i).t("wise_invoicing.credit_note.delete.title"),
|
|
120
|
+
description: V(i).t("wise_invoicing.credit_note.delete.description", { creditNoteIdentifier: c.value }),
|
|
121
|
+
"is-description-visible": !0
|
|
122
|
+
}, null, 8, ["title", "description"]), F(V(Ae), null, {
|
|
123
|
+
right: H(() => [F(V(je), { label: "cancel" }), F(V(Me), {
|
|
124
|
+
"is-destructive": !0,
|
|
125
|
+
label: V(i).t("wise_invoicing.credit_note.delete.submit_button")
|
|
126
|
+
}, null, 8, ["label"])]),
|
|
127
|
+
_: 1
|
|
128
|
+
})]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 8, ["form"]));
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region src/modules/credit-note/use-cases/detail/composables/creditNoteDetailHeaderActions.composable.ts
|
|
135
|
+
function We(e) {
|
|
136
|
+
let n = j(), i = Y(), o = Ie(), s = o.create(Ue), c = o.create(ge), d = Re(), p = ze(), g = Be(), _ = Ve(), { shouldSkipConfirmation: v } = ne(), y = M(() => e.value.originalInvoice?.uuid ?? e.value.uuid), b = M(() => e.value.status !== t.DRAFT && e.value.status !== t.READY);
|
|
137
|
+
async function S() {
|
|
138
|
+
let t = await g.execute({ params: {
|
|
139
|
+
creditNoteUuid: e.value.uuid,
|
|
140
|
+
invoiceUuid: y.value
|
|
141
|
+
} });
|
|
142
|
+
if (t.isErr()) {
|
|
143
|
+
i.apiError(t.error);
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
i.show({ message: n.t("wise_invoicing.credit_note.mark_as_ready.success") });
|
|
147
|
+
}
|
|
148
|
+
async function C() {
|
|
149
|
+
let t = await d.execute({ params: {
|
|
150
|
+
creditNoteUuid: e.value.uuid,
|
|
151
|
+
invoiceUuid: y.value
|
|
152
|
+
} });
|
|
153
|
+
return t.isErr() ? (i.apiError(t.error), !1) : (i.show({ message: n.t("wise_invoicing.credit_note.finalize.success") }), !0);
|
|
154
|
+
}
|
|
155
|
+
async function w() {
|
|
156
|
+
if (v.value) {
|
|
157
|
+
await C();
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
await c.open({
|
|
161
|
+
billingDocumentType: "credit_note",
|
|
162
|
+
onConfirm: C
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
async function T() {
|
|
166
|
+
let t = await p.execute({ params: {
|
|
167
|
+
creditNoteUuid: e.value.uuid,
|
|
168
|
+
invoiceUuid: y.value
|
|
169
|
+
} });
|
|
170
|
+
if (t.isErr()) {
|
|
171
|
+
i.apiError(t.error);
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
i.show({ message: n.t("wise_invoicing.credit_note.mark_as_draft.success") });
|
|
175
|
+
}
|
|
176
|
+
async function E() {
|
|
177
|
+
let t = await _.execute({ params: { creditNoteUuid: e.value.uuid } });
|
|
178
|
+
if (t.isErr()) {
|
|
179
|
+
i.apiError(t.error);
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
i.show({ message: n.t("wise_invoicing.credit_note.send.success") });
|
|
183
|
+
}
|
|
184
|
+
async function D() {
|
|
185
|
+
await s.open({ creditNote: e.value });
|
|
186
|
+
}
|
|
187
|
+
async function re() {
|
|
188
|
+
let t = await x.getByUuid(e.value.uuid);
|
|
189
|
+
if (t.isErr()) {
|
|
190
|
+
i.apiError(t.error);
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
let a = t.value.file;
|
|
194
|
+
if (a === null) {
|
|
195
|
+
i.show({ message: n.t("wise_invoicing.invoice.download_pdf.generation_in_progress") });
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
let o = await te.getDownloadUrl(a.uuid);
|
|
199
|
+
o !== null && r.downloadUrl(o, a.name);
|
|
200
|
+
}
|
|
201
|
+
let O = M(() => [
|
|
202
|
+
{
|
|
203
|
+
isLoading: _.isLoading.value,
|
|
204
|
+
iconLeft: m,
|
|
205
|
+
key: "send",
|
|
206
|
+
label: n.t("wise_invoicing.invoice.detail.actions.send"),
|
|
207
|
+
variant: "primary",
|
|
208
|
+
visible: e.value.status === t.FINALIZED,
|
|
209
|
+
onClick: E
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
isLoading: g.isLoading.value,
|
|
213
|
+
iconRight: f,
|
|
214
|
+
key: "markAsReady",
|
|
215
|
+
label: n.t("wise_invoicing.invoice.detail.actions.mark_as_ready"),
|
|
216
|
+
visible: e.value.status === t.DRAFT,
|
|
217
|
+
onClick: S
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
isLoading: d.isLoading.value,
|
|
221
|
+
iconRight: h,
|
|
222
|
+
key: "finalize",
|
|
223
|
+
label: n.t("wise_invoicing.invoice.detail.actions.finalize"),
|
|
224
|
+
visible: e.value.status === t.READY,
|
|
225
|
+
onClick: w
|
|
226
|
+
}
|
|
227
|
+
].filter((e) => e.visible)), k = M(() => {
|
|
228
|
+
let r = [{
|
|
229
|
+
icon: u,
|
|
230
|
+
key: "downloadPdf",
|
|
231
|
+
label: n.t("wise_invoicing.common.download_pdf"),
|
|
232
|
+
visible: b.value,
|
|
233
|
+
onSelect: re
|
|
234
|
+
}, {
|
|
235
|
+
icon: l,
|
|
236
|
+
key: "backToDraft",
|
|
237
|
+
label: n.t("wise_invoicing.invoice.detail.actions.mark_as_draft"),
|
|
238
|
+
visible: e.value.status === t.READY,
|
|
239
|
+
onSelect: T
|
|
240
|
+
}], i = [{
|
|
241
|
+
icon: a,
|
|
242
|
+
key: "delete",
|
|
243
|
+
label: n.t("wise_invoicing.credit_note.detail.actions.delete"),
|
|
244
|
+
visible: ee.isEditable(e.value.status),
|
|
245
|
+
onSelect: D
|
|
246
|
+
}];
|
|
247
|
+
return [{
|
|
248
|
+
items: r.filter((e) => e.visible),
|
|
249
|
+
key: "secondary"
|
|
250
|
+
}, {
|
|
251
|
+
items: i.filter((e) => e.visible),
|
|
252
|
+
key: "destructive"
|
|
253
|
+
}].filter((e) => e.items.length > 0);
|
|
254
|
+
});
|
|
255
|
+
return {
|
|
256
|
+
isActionMenuVisible: M(() => k.value.length > 0),
|
|
257
|
+
menuGroups: k,
|
|
258
|
+
primaryButtons: O
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
//#endregion
|
|
262
|
+
//#region src/modules/credit-note/use-cases/detail/components/CreditNoteDetailHeaderSection.vue
|
|
263
|
+
var Ge = /* @__PURE__ */ I({
|
|
264
|
+
__name: "CreditNoteDetailHeaderSection",
|
|
265
|
+
props: {
|
|
266
|
+
isPdfViewActive: { type: Boolean },
|
|
267
|
+
creditNote: {}
|
|
268
|
+
},
|
|
269
|
+
emits: ["togglePdfView"],
|
|
270
|
+
setup(e, { emit: n }) {
|
|
271
|
+
let r = e, i = n, a = j(), s = Y(), c = Z(), { menuGroups: l, primaryButtons: u } = We(M(() => r.creditNote)), d = M(() => new he(r.creditNote.status)), f = M(() => d.value.color), p = M(() => a.t(d.value.translationKey)), m = M(() => r.creditNote.status !== t.DRAFT && r.creditNote.status !== t.READY), h = X({
|
|
272
|
+
initialState: { subject: r.creditNote.subject },
|
|
273
|
+
schema: Le,
|
|
274
|
+
onSubmit: async (e) => {
|
|
275
|
+
let t = await c.execute({
|
|
276
|
+
body: {
|
|
277
|
+
...S.toForm(r.creditNote),
|
|
278
|
+
subject: e.subject
|
|
279
|
+
},
|
|
280
|
+
params: { creditNoteUuid: r.creditNote.uuid }
|
|
281
|
+
});
|
|
282
|
+
t.isErr() && s.apiError(t.error);
|
|
283
|
+
}
|
|
284
|
+
}), g = h.register("subject");
|
|
285
|
+
return w({ form: h }), (e, t) => (z(), N(V(G), {
|
|
286
|
+
form: V(h),
|
|
287
|
+
"prompt-on-unsaved-changes": !1
|
|
288
|
+
}, {
|
|
289
|
+
default: H(() => [F(_e, {
|
|
290
|
+
"fallback-title": V(a).t("wise_invoicing.credit_note.detail.fallback_title"),
|
|
291
|
+
"is-disabled": m.value,
|
|
292
|
+
sequence: r.creditNote.sequence,
|
|
293
|
+
"status-color": f.value,
|
|
294
|
+
"status-label": p.value,
|
|
295
|
+
icon: V(o),
|
|
296
|
+
"subject-field": V(g),
|
|
297
|
+
"subject-placeholder": V(a).t("wise_invoicing.invoice.detail.header.subject_placeholder")
|
|
298
|
+
}, {
|
|
299
|
+
actions: H(() => [F(me, {
|
|
300
|
+
"is-pdf-view-active": r.isPdfViewActive,
|
|
301
|
+
"menu-groups": V(l),
|
|
302
|
+
"primary-buttons": V(u),
|
|
303
|
+
onTogglePdfView: t[0] ||= (e) => i("togglePdfView")
|
|
304
|
+
}, null, 8, [
|
|
305
|
+
"is-pdf-view-active",
|
|
306
|
+
"menu-groups",
|
|
307
|
+
"primary-buttons"
|
|
308
|
+
])]),
|
|
309
|
+
status: H(() => [F(V(K), {
|
|
310
|
+
gap: "xs",
|
|
311
|
+
class: "flex-wrap items-start"
|
|
312
|
+
}, {
|
|
313
|
+
default: H(() => [r.creditNote.isOverdue ? (z(), N(D, { key: 0 })) : P("", !0)]),
|
|
314
|
+
_: 1
|
|
315
|
+
})]),
|
|
316
|
+
_: 1
|
|
317
|
+
}, 8, [
|
|
318
|
+
"fallback-title",
|
|
319
|
+
"is-disabled",
|
|
320
|
+
"sequence",
|
|
321
|
+
"status-color",
|
|
322
|
+
"status-label",
|
|
323
|
+
"icon",
|
|
324
|
+
"subject-field",
|
|
325
|
+
"subject-placeholder"
|
|
326
|
+
])]),
|
|
327
|
+
_: 1
|
|
328
|
+
}, 8, ["form"]));
|
|
329
|
+
}
|
|
330
|
+
}), Ke = /* @__PURE__ */ I({
|
|
331
|
+
__name: "CreditNoteDetailRemarksSection",
|
|
332
|
+
props: { creditNote: {} },
|
|
333
|
+
setup(e) {
|
|
334
|
+
let n = e, r = j(), i = Y(), a = Z(), o = X({
|
|
335
|
+
initialState: M(() => S.toForm(n.creditNote)),
|
|
336
|
+
schema: Q,
|
|
337
|
+
onSubmit: async (e) => {
|
|
338
|
+
let t = await a.execute({
|
|
339
|
+
body: e,
|
|
340
|
+
params: { creditNoteUuid: n.creditNote.uuid }
|
|
341
|
+
});
|
|
342
|
+
t.isErr() && i.apiError(t.error);
|
|
343
|
+
}
|
|
344
|
+
}), s = o.register("externalRemarks"), c = M(() => n.creditNote.status !== t.DRAFT && n.creditNote.status !== t.READY);
|
|
345
|
+
return w({ form: o }), (e, t) => (z(), N(V(G), {
|
|
346
|
+
form: V(o),
|
|
347
|
+
"prompt-on-unsaved-changes": !1
|
|
348
|
+
}, {
|
|
349
|
+
default: H(() => [F(T, {
|
|
350
|
+
"is-disabled": c.value,
|
|
351
|
+
placeholder: V(r).t("wise_invoicing.invoice.detail.remarks.placeholder"),
|
|
352
|
+
"remarks-field": V(s),
|
|
353
|
+
title: V(r).t("wise_invoicing.invoice.detail.remarks.title")
|
|
354
|
+
}, null, 8, [
|
|
355
|
+
"is-disabled",
|
|
356
|
+
"placeholder",
|
|
357
|
+
"remarks-field",
|
|
358
|
+
"title"
|
|
359
|
+
])]),
|
|
360
|
+
_: 1
|
|
361
|
+
}, 8, ["form"]));
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
//#endregion
|
|
365
|
+
//#region src/modules/credit-note/api/queries/creditNoteActivityLogIndex.query.ts
|
|
366
|
+
function qe(e) {
|
|
367
|
+
return Te("creditNoteActivityLogIndex", {
|
|
368
|
+
params: { creditNoteUuid: e },
|
|
369
|
+
queryFn: (t) => x.getActivityLogs(e.value, { pagination: t })
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
//#endregion
|
|
373
|
+
//#region src/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebarActivityTab.vue
|
|
374
|
+
var Je = /* @__PURE__ */ I({
|
|
375
|
+
__name: "CreditNoteDetailSidebarActivityTab",
|
|
376
|
+
props: { creditNote: {} },
|
|
377
|
+
setup(e) {
|
|
378
|
+
let t = e, r = j(), { hasNextPage: i, isFetchingNextPage: a, isLoading: o, fetchNextPage: s, result: c } = qe(M(() => t.creditNote.uuid)), l = M(() => c.value.unwrapOr({
|
|
379
|
+
data: [],
|
|
380
|
+
meta: { next: null }
|
|
381
|
+
}).data);
|
|
382
|
+
return (e, c) => (z(), N(ie, {
|
|
383
|
+
"current-billing-document": {
|
|
384
|
+
role: V(n).CREDIT_NOTE,
|
|
385
|
+
uuid: t.creditNote.uuid
|
|
386
|
+
},
|
|
387
|
+
"empty-message": V(r).t("wise_invoicing.credit_note.detail.sidebar.activity_empty"),
|
|
388
|
+
entries: l.value,
|
|
389
|
+
"fetch-next-page": V(s),
|
|
390
|
+
"has-next-page": V(i),
|
|
391
|
+
"is-fetching-next-page": V(a),
|
|
392
|
+
"is-loading": V(o)
|
|
393
|
+
}, null, 8, [
|
|
394
|
+
"current-billing-document",
|
|
395
|
+
"empty-message",
|
|
396
|
+
"entries",
|
|
397
|
+
"fetch-next-page",
|
|
398
|
+
"has-next-page",
|
|
399
|
+
"is-fetching-next-page",
|
|
400
|
+
"is-loading"
|
|
401
|
+
]));
|
|
402
|
+
}
|
|
403
|
+
}), $ = /* @__PURE__ */ I({
|
|
404
|
+
__name: "BillingDocumentDetailSidebarInfoItem",
|
|
405
|
+
props: {
|
|
406
|
+
hasError: {
|
|
407
|
+
type: Boolean,
|
|
408
|
+
default: !1
|
|
409
|
+
},
|
|
410
|
+
icon: {},
|
|
411
|
+
label: {}
|
|
412
|
+
},
|
|
413
|
+
setup(e) {
|
|
414
|
+
let t = e;
|
|
415
|
+
return (e, n) => (z(), N(V(K), null, {
|
|
416
|
+
default: H(() => [
|
|
417
|
+
(z(), N(we(t.icon), { class: R([{
|
|
418
|
+
"text-error-primary": t.hasError,
|
|
419
|
+
"text-tertiary": !t.hasError
|
|
420
|
+
}, "size-3.5 shrink-0"]) }, null, 8, ["class"])),
|
|
421
|
+
F(V(J), {
|
|
422
|
+
text: t.label,
|
|
423
|
+
class: R([{
|
|
424
|
+
"text-error-primary": t.hasError,
|
|
425
|
+
"text-tertiary": !t.hasError
|
|
426
|
+
}, "w-24 shrink-0 text-xs"])
|
|
427
|
+
}, null, 8, ["text", "class"]),
|
|
428
|
+
Ce(e.$slots, "default")
|
|
429
|
+
]),
|
|
430
|
+
_: 3
|
|
431
|
+
}));
|
|
432
|
+
}
|
|
433
|
+
}), Ye = /* @__PURE__ */ I({
|
|
434
|
+
__name: "BillingDocumentDetailSidebarPartySection",
|
|
435
|
+
props: {
|
|
436
|
+
title: {},
|
|
437
|
+
isDefaultOpen: {
|
|
438
|
+
type: Boolean,
|
|
439
|
+
default: !1
|
|
440
|
+
},
|
|
441
|
+
name: {},
|
|
442
|
+
address: {}
|
|
443
|
+
},
|
|
444
|
+
setup(e) {
|
|
445
|
+
let t = e, n = B(t.isDefaultOpen);
|
|
446
|
+
function r() {
|
|
447
|
+
n.value = !n.value;
|
|
448
|
+
}
|
|
449
|
+
return (e, a) => (z(), N(V(W), { class: "w-full" }, {
|
|
450
|
+
default: H(() => [F(V(K), { justify: "between" }, {
|
|
451
|
+
default: H(() => [F(V(Oe), { class: "rounded-sm" }, {
|
|
452
|
+
default: H(() => [Se("button", {
|
|
453
|
+
type: "button",
|
|
454
|
+
class: "flex w-full items-center gap-sm",
|
|
455
|
+
onClick: r
|
|
456
|
+
}, [
|
|
457
|
+
F(V(J), {
|
|
458
|
+
text: t.title,
|
|
459
|
+
class: "text-xs font-semibold text-primary"
|
|
460
|
+
}, null, 8, ["text"]),
|
|
461
|
+
F(V(De), {
|
|
462
|
+
label: t.name,
|
|
463
|
+
color: "gray",
|
|
464
|
+
variant: "outline"
|
|
465
|
+
}, null, 8, ["label"]),
|
|
466
|
+
F(V(g), { class: R([{ "rotate-180": n.value }, "size-4 text-tertiary transition-all duration-100"]) }, null, 8, ["class"])
|
|
467
|
+
])]),
|
|
468
|
+
_: 1
|
|
469
|
+
})]),
|
|
470
|
+
_: 1
|
|
471
|
+
}), F(V(Ee), null, {
|
|
472
|
+
default: H(() => [n.value ? (z(), N(V(W), {
|
|
473
|
+
key: 0,
|
|
474
|
+
gap: "xs"
|
|
475
|
+
}, {
|
|
476
|
+
default: H(() => [F(V(J), {
|
|
477
|
+
text: t.name,
|
|
478
|
+
class: "text-xs font-medium text-primary"
|
|
479
|
+
}, null, 8, ["text"]), t.address ? (z(), N(V(J), {
|
|
480
|
+
key: 0,
|
|
481
|
+
truncate: !1,
|
|
482
|
+
text: V(i).format(t.address),
|
|
483
|
+
class: "text-xs text-primary"
|
|
484
|
+
}, null, 8, ["text"])) : P("", !0)]),
|
|
485
|
+
_: 1
|
|
486
|
+
})) : P("", !0)]),
|
|
487
|
+
_: 1
|
|
488
|
+
})]),
|
|
489
|
+
_: 1
|
|
490
|
+
}));
|
|
491
|
+
}
|
|
492
|
+
}), Xe = /* @__PURE__ */ I({
|
|
493
|
+
__name: "CreditNoteDetailSidebarInfoTab",
|
|
494
|
+
props: {
|
|
495
|
+
creditNote: {},
|
|
496
|
+
customFieldDefinitions: {}
|
|
497
|
+
},
|
|
498
|
+
setup(e) {
|
|
499
|
+
let n = e, r = j(), i = Y(), a = Z(), o = X({
|
|
500
|
+
initialState: M(() => S.toForm(n.creditNote)),
|
|
501
|
+
schema: Q,
|
|
502
|
+
onSubmit: async (e) => {
|
|
503
|
+
let t = await a.execute({
|
|
504
|
+
body: e,
|
|
505
|
+
params: { creditNoteUuid: n.creditNote.uuid }
|
|
506
|
+
});
|
|
507
|
+
t.isErr() && i.apiError(t.error);
|
|
508
|
+
}
|
|
509
|
+
}), l = o.register("issuedOn"), u = o.register("poNumber"), f = M(() => n.creditNote.status !== t.DRAFT && n.creditNote.status !== t.READY);
|
|
510
|
+
return w({ form: o }), (e, t) => (z(), N(V(G), {
|
|
511
|
+
form: V(o),
|
|
512
|
+
"prompt-on-unsaved-changes": !1
|
|
513
|
+
}, {
|
|
514
|
+
default: H(() => [F(V(W), {
|
|
515
|
+
gap: "lg",
|
|
516
|
+
class: "px-2xl py-xl"
|
|
517
|
+
}, {
|
|
518
|
+
default: H(() => [
|
|
519
|
+
F(V(W), null, {
|
|
520
|
+
default: H(() => [F(V(J), {
|
|
521
|
+
text: V(r).t("wise_invoicing.invoice.detail.sidebar.general"),
|
|
522
|
+
class: "text-xs font-semibold text-primary"
|
|
523
|
+
}, null, 8, ["text"]), F(V(W), { gap: "lg" }, {
|
|
524
|
+
default: H(() => [
|
|
525
|
+
F($, {
|
|
526
|
+
icon: V(d),
|
|
527
|
+
label: V(r).t("wise_invoicing.invoice.detail.header.invoice_id")
|
|
528
|
+
}, {
|
|
529
|
+
default: H(() => [F(V(J), {
|
|
530
|
+
text: n.creditNote.sequence ?? "-",
|
|
531
|
+
class: "text-xs text-primary"
|
|
532
|
+
}, null, 8, ["text"])]),
|
|
533
|
+
_: 1
|
|
534
|
+
}, 8, ["icon", "label"]),
|
|
535
|
+
F($, {
|
|
536
|
+
icon: V(c),
|
|
537
|
+
"has-error": V(u).errors.value.length > 0,
|
|
538
|
+
label: V(r).t("wise_invoicing.invoice.detail.header.po_number")
|
|
539
|
+
}, {
|
|
540
|
+
default: H(() => [F(V(Fe), L(V(b)(V(u)), {
|
|
541
|
+
"is-disabled": f.value,
|
|
542
|
+
label: null,
|
|
543
|
+
class: "w-full"
|
|
544
|
+
}), null, 16, ["is-disabled"])]),
|
|
545
|
+
_: 1
|
|
546
|
+
}, 8, [
|
|
547
|
+
"icon",
|
|
548
|
+
"has-error",
|
|
549
|
+
"label"
|
|
550
|
+
]),
|
|
551
|
+
F($, {
|
|
552
|
+
icon: V(p),
|
|
553
|
+
label: V(r).t("wise_invoicing.invoice.detail.header.issuer")
|
|
554
|
+
}, {
|
|
555
|
+
default: H(() => [F(V(J), {
|
|
556
|
+
text: n.creditNote.issuer.name ?? "-",
|
|
557
|
+
class: "text-xs text-primary"
|
|
558
|
+
}, null, 8, ["text"])]),
|
|
559
|
+
_: 1
|
|
560
|
+
}, 8, ["icon", "label"]),
|
|
561
|
+
F($, {
|
|
562
|
+
icon: V(s),
|
|
563
|
+
"has-error": V(l).errors.value.length > 0,
|
|
564
|
+
label: V(r).t("wise_invoicing.invoice.detail.header.invoice_date")
|
|
565
|
+
}, {
|
|
566
|
+
default: H(() => [F(V(ke), L({ "is-disabled": f.value }, V(b)(V(l))), null, 16, ["is-disabled"])]),
|
|
567
|
+
_: 1
|
|
568
|
+
}, 8, [
|
|
569
|
+
"icon",
|
|
570
|
+
"has-error",
|
|
571
|
+
"label"
|
|
572
|
+
]),
|
|
573
|
+
F(ae, {
|
|
574
|
+
definitions: n.customFieldDefinitions,
|
|
575
|
+
values: n.creditNote.customFields
|
|
576
|
+
}, null, 8, ["definitions", "values"])
|
|
577
|
+
]),
|
|
578
|
+
_: 1
|
|
579
|
+
})]),
|
|
580
|
+
_: 1
|
|
581
|
+
}),
|
|
582
|
+
F(V(q)),
|
|
583
|
+
F(se, { "original-invoice": n.creditNote.originalInvoice }, null, 8, ["original-invoice"]),
|
|
584
|
+
F(Ye, {
|
|
585
|
+
"is-default-open": !0,
|
|
586
|
+
name: n.creditNote.customer.name ?? "-",
|
|
587
|
+
title: V(r).t("wise_invoicing.invoice.detail.header.bill_to"),
|
|
588
|
+
address: n.creditNote.customer.address
|
|
589
|
+
}, null, 8, [
|
|
590
|
+
"name",
|
|
591
|
+
"title",
|
|
592
|
+
"address"
|
|
593
|
+
]),
|
|
594
|
+
F(V(q)),
|
|
595
|
+
F(Ye, {
|
|
596
|
+
name: n.creditNote.issuer.email ?? "-",
|
|
597
|
+
title: V(r).t("wise_invoicing.invoice.detail.header.bill_from"),
|
|
598
|
+
address: n.creditNote.issuer.address
|
|
599
|
+
}, null, 8, [
|
|
600
|
+
"name",
|
|
601
|
+
"title",
|
|
602
|
+
"address"
|
|
603
|
+
])
|
|
604
|
+
]),
|
|
605
|
+
_: 1
|
|
606
|
+
})]),
|
|
607
|
+
_: 1
|
|
608
|
+
}, 8, ["form"]));
|
|
609
|
+
}
|
|
610
|
+
}), Ze = /* @__PURE__ */ I({
|
|
611
|
+
__name: "CreditNoteDetailSidebar",
|
|
612
|
+
props: {
|
|
613
|
+
creditNote: {},
|
|
614
|
+
customFieldDefinitions: {}
|
|
615
|
+
},
|
|
616
|
+
setup(e) {
|
|
617
|
+
let t = e, n = j(), r = _(), i = M(() => n.t("wise_invoicing.invoice.detail.sidebar.updated_on", { date: r.toDateTime(t.creditNote.updatedAt) }));
|
|
618
|
+
return (e, n) => (z(), N(ue, {
|
|
619
|
+
"billing-document": t.creditNote,
|
|
620
|
+
"updated-footer": i.value
|
|
621
|
+
}, {
|
|
622
|
+
activity: H(() => [F(Je, { "credit-note": t.creditNote }, null, 8, ["credit-note"])]),
|
|
623
|
+
info: H(() => [F(Xe, {
|
|
624
|
+
"credit-note": t.creditNote,
|
|
625
|
+
"custom-field-definitions": t.customFieldDefinitions
|
|
626
|
+
}, null, 8, ["credit-note", "custom-field-definitions"])]),
|
|
627
|
+
_: 1
|
|
628
|
+
}, 8, ["billing-document", "updated-footer"]));
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
//#endregion
|
|
632
|
+
//#region src/modules/credit-note/api/mutations/creditNoteUpdateLines.mutation.ts
|
|
633
|
+
function Qe() {
|
|
634
|
+
return U({
|
|
635
|
+
queryFn: (e) => x.updateLines(e.params.creditNoteUuid, e.body),
|
|
636
|
+
queryKeysToInvalidate: {
|
|
637
|
+
creditNoteDetail: { creditNoteUuid: (e) => e.creditNoteUuid },
|
|
638
|
+
invoiceIndex: {}
|
|
639
|
+
}
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
//#endregion
|
|
643
|
+
//#region src/modules/credit-note/use-cases/detail/components/table/CreditNoteLineItemsTableSection.vue
|
|
644
|
+
var $e = /* @__PURE__ */ I({
|
|
645
|
+
__name: "CreditNoteLineItemsTableSection",
|
|
646
|
+
props: {
|
|
647
|
+
creditNote: {},
|
|
648
|
+
customFieldDefinitions: {}
|
|
649
|
+
},
|
|
650
|
+
setup(e) {
|
|
651
|
+
let t = e, n = M(() => t.creditNote), r = Qe(), i = oe({
|
|
652
|
+
isSaving: M(() => r.isLoading.value),
|
|
653
|
+
billingDocument: () => n.value,
|
|
654
|
+
customFieldDefinitions: () => t.customFieldDefinitions,
|
|
655
|
+
updateLines: (e) => r.execute({
|
|
656
|
+
body: e,
|
|
657
|
+
params: { creditNoteUuid: t.creditNote.uuid }
|
|
658
|
+
})
|
|
659
|
+
});
|
|
660
|
+
return k(i), (e, n) => (z(), N(le, null, {
|
|
661
|
+
default: H(() => [
|
|
662
|
+
F(fe, { "show-apply-discount": !1 }),
|
|
663
|
+
F(re),
|
|
664
|
+
F(E, { "billing-document": t.creditNote }, null, 8, ["billing-document"]),
|
|
665
|
+
F(O)
|
|
666
|
+
]),
|
|
667
|
+
_: 1
|
|
668
|
+
}));
|
|
669
|
+
}
|
|
670
|
+
}), et = /* @__PURE__ */ I({
|
|
671
|
+
__name: "CreditNoteDetailView",
|
|
672
|
+
props: {
|
|
673
|
+
creditNote: {},
|
|
674
|
+
customFieldDefinitions: {}
|
|
675
|
+
},
|
|
676
|
+
setup(e) {
|
|
677
|
+
let t = e, n = j(), r = B(!1), i = M(() => [
|
|
678
|
+
{
|
|
679
|
+
label: n.t("wise_invoicing.invoice.overview.title"),
|
|
680
|
+
to: { name: "invoicing-invoice-overview" }
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
label: t.creditNote.originalInvoice?.sequence ?? n.t("wise_invoicing.credit_note.detail.breadcrumb.parent_invoice"),
|
|
684
|
+
to: t.creditNote.originalInvoice === null ? void 0 : {
|
|
685
|
+
name: "invoicing-invoice-detail",
|
|
686
|
+
params: { invoiceUuid: t.creditNote.originalInvoice.uuid }
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
{ label: n.t("wise_invoicing.invoice.detail.credit_notes.untitled") },
|
|
690
|
+
{ label: t.creditNote.sequence ?? n.t("wise_invoicing.credit_note.detail.fallback_title") }
|
|
691
|
+
]);
|
|
692
|
+
return (e, a) => (z(), N(de, {
|
|
693
|
+
"billing-document": t.creditNote,
|
|
694
|
+
breadcrumbs: i.value,
|
|
695
|
+
title: V(n).t("wise_invoicing.credit_note.detail.fallback_title")
|
|
696
|
+
}, {
|
|
697
|
+
header: H(() => [F(Ge, {
|
|
698
|
+
"credit-note": t.creditNote,
|
|
699
|
+
"is-pdf-view-active": r.value,
|
|
700
|
+
class: "w-full",
|
|
701
|
+
onTogglePdfView: a[0] ||= (e) => r.value = !r.value
|
|
702
|
+
}, null, 8, ["credit-note", "is-pdf-view-active"])]),
|
|
703
|
+
default: H(() => [r.value ? (z(), N(ce, {
|
|
704
|
+
key: 0,
|
|
705
|
+
"billing-document": t.creditNote,
|
|
706
|
+
class: "w-full"
|
|
707
|
+
}, null, 8, ["billing-document"])) : (z(), xe(be, { key: 1 }, [F($e, {
|
|
708
|
+
"credit-note": t.creditNote,
|
|
709
|
+
"custom-field-definitions": t.customFieldDefinitions
|
|
710
|
+
}, null, 8, ["credit-note", "custom-field-definitions"]), F(Ke, {
|
|
711
|
+
"credit-note": t.creditNote,
|
|
712
|
+
class: "w-full"
|
|
713
|
+
}, null, 8, ["credit-note"])], 64))]),
|
|
714
|
+
sidebar: H(() => [F(Ze, {
|
|
715
|
+
"credit-note": t.creditNote,
|
|
716
|
+
"custom-field-definitions": t.customFieldDefinitions
|
|
717
|
+
}, null, 8, ["credit-note", "custom-field-definitions"])]),
|
|
718
|
+
_: 1
|
|
719
|
+
}, 8, [
|
|
720
|
+
"billing-document",
|
|
721
|
+
"breadcrumbs",
|
|
722
|
+
"title"
|
|
723
|
+
]));
|
|
724
|
+
}
|
|
725
|
+
}), tt = /* @__PURE__ */ I({
|
|
726
|
+
__name: "CreditNoteDetailViewDataProvider",
|
|
727
|
+
props: { creditNoteUuid: {} },
|
|
728
|
+
setup(e) {
|
|
729
|
+
let t = e, n = j(), r = M(() => [{
|
|
730
|
+
label: n.t("wise_invoicing.invoice.overview.title"),
|
|
731
|
+
to: { name: "invoicing-invoice-overview" }
|
|
732
|
+
}]), i = C(M(() => t.creditNoteUuid)), a = y();
|
|
733
|
+
return (e, t) => (z(), N(pe, {
|
|
734
|
+
"custom-field-definitions-query": V(a),
|
|
735
|
+
query: V(i),
|
|
736
|
+
"loading-breadcrumbs": r.value
|
|
737
|
+
}, {
|
|
738
|
+
default: H(({ billingDocument: e, customFieldDefinitions: t }) => [F(et, {
|
|
739
|
+
"credit-note": e,
|
|
740
|
+
"custom-field-definitions": t
|
|
741
|
+
}, null, 8, ["credit-note", "custom-field-definitions"])]),
|
|
742
|
+
_: 1
|
|
743
|
+
}, 8, [
|
|
744
|
+
"custom-field-definitions-query",
|
|
745
|
+
"query",
|
|
746
|
+
"loading-breadcrumbs"
|
|
747
|
+
]));
|
|
748
|
+
}
|
|
749
|
+
});
|
|
750
|
+
//#endregion
|
|
751
|
+
export { tt as default };
|