@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,239 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { K as t, t as n } from "./api.util-Dm_TQedZ.js";
|
|
3
|
+
import { n as r } from "./src-BFgnUugN.js";
|
|
4
|
+
import { useI18n as i } from "vue-i18n";
|
|
5
|
+
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, onUnmounted as ee, openBlock as p, renderList as m, toDisplayString as h, unref as g } from "vue";
|
|
6
|
+
import { useQuery as _ } from "@wisemen/vue-core-api-utils";
|
|
7
|
+
import { UIEmptyState as v } from "@wisemen/vue-core-design-system";
|
|
8
|
+
import { useRouteQuery as y } from "@vueuse/router";
|
|
9
|
+
//#region src/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.service.ts
|
|
10
|
+
var b = class {
|
|
11
|
+
static async get(e) {
|
|
12
|
+
return (await n.fromPromise(t({
|
|
13
|
+
query: { token: e },
|
|
14
|
+
responseValidator: void 0
|
|
15
|
+
}))).map((e) => e.data);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.query.ts
|
|
20
|
+
function x(e) {
|
|
21
|
+
return _("dunningCaseReminderPdf", {
|
|
22
|
+
isEnabled: o(() => e.value !== null),
|
|
23
|
+
params: { token: e },
|
|
24
|
+
queryFn: () => {
|
|
25
|
+
if (e.value === null) throw Error("Token is required to fetch a dunning reminder PDF");
|
|
26
|
+
return b.get(e.value);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/modules/dunning-case/use-cases/pdf/utils/dunningCaseReminderPdf.util.ts
|
|
32
|
+
var S = class {
|
|
33
|
+
static add(e, t) {
|
|
34
|
+
return {
|
|
35
|
+
amount: e.amount + t.amount,
|
|
36
|
+
currency: e.currency,
|
|
37
|
+
precision: e.precision
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
static formatAddress(e) {
|
|
41
|
+
return e === null ? [] : [
|
|
42
|
+
[
|
|
43
|
+
e.streetName,
|
|
44
|
+
e.streetNumber,
|
|
45
|
+
e.unit
|
|
46
|
+
].filter((e) => e !== null && e !== "").join(" "),
|
|
47
|
+
[e.postalCode, e.city].filter((e) => e !== null && e !== "").join(" "),
|
|
48
|
+
e.country
|
|
49
|
+
].filter((e) => e !== null && e !== "");
|
|
50
|
+
}
|
|
51
|
+
static formatDate(e, t) {
|
|
52
|
+
return new Intl.DateTimeFormat(t, {
|
|
53
|
+
day: "2-digit",
|
|
54
|
+
month: "2-digit",
|
|
55
|
+
year: "numeric"
|
|
56
|
+
}).format(new Date(e));
|
|
57
|
+
}
|
|
58
|
+
static formatMonetary(e, t) {
|
|
59
|
+
return new Intl.NumberFormat(t, {
|
|
60
|
+
currency: e.currency,
|
|
61
|
+
style: "currency"
|
|
62
|
+
}).format(e.amount / 10 ** e.precision);
|
|
63
|
+
}
|
|
64
|
+
static getTotal(e) {
|
|
65
|
+
let [t] = e;
|
|
66
|
+
return t === void 0 ? null : {
|
|
67
|
+
amount: e.reduce((e, t) => e + t.outstandingBalance.amount, 0),
|
|
68
|
+
currency: t.outstandingBalance.currency,
|
|
69
|
+
precision: t.outstandingBalance.precision
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}, C = { class: "mt-auto px-5xl py-2xl text-[8px]/4.5 text-primary" }, te = { class: "flex items-center gap-lg" }, ne = { class: "text-[10px] font-semibold" }, re = { class: "flex flex-wrap justify-center gap-x-md" }, w = { key: 0 }, T = { key: 1 }, E = { class: "flex flex-wrap justify-center gap-x-md" }, D = { key: 0 }, O = { key: 1 }, k = { key: 2 }, A = /* @__PURE__ */ f({
|
|
73
|
+
__name: "DunningCaseReminderPdfFooter",
|
|
74
|
+
props: { issuer: {} },
|
|
75
|
+
setup(e) {
|
|
76
|
+
let t = e, n = S.formatAddress(t.issuer.address).join(", "), r = t.issuer.bankAccountNumber ?? t.issuer.alternativeBankAccountNumber;
|
|
77
|
+
return (e, i) => (p(), l("footer", C, [
|
|
78
|
+
u("div", te, [
|
|
79
|
+
i[0] ||= u("span", { class: "w-53.5 border-t border-secondary" }, null, -1),
|
|
80
|
+
u("span", ne, h(t.issuer.name ?? e.$t("module.dunning_case.pdf.not_available")), 1),
|
|
81
|
+
i[1] ||= u("span", { class: "flex-1 border-t border-secondary" }, null, -1)
|
|
82
|
+
]),
|
|
83
|
+
u("div", re, [t.issuer.email === null ? c("", !0) : (p(), l("span", w, h(e.$t("module.dunning_case.pdf.footer.email")) + ": " + h(t.issuer.email), 1)), t.issuer.phoneNumber === null ? c("", !0) : (p(), l("span", T, h(e.$t("module.dunning_case.pdf.footer.phone")) + ": " + h(t.issuer.phoneNumber), 1))]),
|
|
84
|
+
u("div", E, [
|
|
85
|
+
g(n) === "" ? c("", !0) : (p(), l("span", D, h(e.$t("module.dunning_case.pdf.footer.address")) + ": " + h(g(n)), 1)),
|
|
86
|
+
t.issuer.vatNumber === null ? c("", !0) : (p(), l("span", O, h(e.$t("module.dunning_case.pdf.footer.vat_number")) + ": " + h(t.issuer.vatNumber), 1)),
|
|
87
|
+
g(r) === null ? c("", !0) : (p(), l("span", k, h(e.$t("module.dunning_case.pdf.footer.iban")) + ": " + h(g(r)), 1))
|
|
88
|
+
])
|
|
89
|
+
]));
|
|
90
|
+
}
|
|
91
|
+
}), j = { class: "overflow-hidden rounded-xs border border-secondary" }, M = { class: "w-full table-fixed border-collapse text-left text-[9px] text-primary" }, N = { key: 0 }, P = { key: 1 }, F = { class: "bg-secondary-subtle font-semibold" }, I = { class: "h-(--spacing-3xl) px-lg font-semibold whitespace-nowrap" }, L = { class: "h-(--spacing-3xl) px-lg font-semibold whitespace-nowrap" }, R = { class: "h-(--spacing-3xl) px-lg font-semibold whitespace-nowrap" }, z = {
|
|
92
|
+
key: 0,
|
|
93
|
+
class: "h-(--spacing-3xl) px-lg text-center font-semibold whitespace-nowrap"
|
|
94
|
+
}, B = { class: "h-(--spacing-3xl) px-sm text-center font-semibold whitespace-nowrap" }, V = { class: "h-(--spacing-3xl) px-lg text-right font-semibold whitespace-nowrap" }, H = {
|
|
95
|
+
key: 1,
|
|
96
|
+
class: "h-(--spacing-3xl) px-sm text-right font-semibold whitespace-nowrap"
|
|
97
|
+
}, U = {
|
|
98
|
+
key: 2,
|
|
99
|
+
class: "h-(--spacing-3xl) px-sm text-center font-semibold whitespace-nowrap"
|
|
100
|
+
}, W = { class: "truncate px-lg font-medium" }, G = { class: "truncate px-lg font-medium" }, K = { class: "truncate px-lg font-medium" }, q = {
|
|
101
|
+
key: 0,
|
|
102
|
+
class: "px-sm text-center"
|
|
103
|
+
}, J = { class: "px-lg text-center" }, Y = { class: "truncate px-lg text-right font-semibold" }, X = {
|
|
104
|
+
key: 1,
|
|
105
|
+
class: "truncate px-sm text-right font-semibold"
|
|
106
|
+
}, ie = {
|
|
107
|
+
key: 2,
|
|
108
|
+
class: "px-sm text-center"
|
|
109
|
+
}, Z = /* @__PURE__ */ f({
|
|
110
|
+
__name: "DunningCaseReminderPdfTable",
|
|
111
|
+
props: {
|
|
112
|
+
formatDate: { type: Function },
|
|
113
|
+
formatMonetary: { type: Function },
|
|
114
|
+
rows: {},
|
|
115
|
+
showReminderLevel: { type: Boolean }
|
|
116
|
+
},
|
|
117
|
+
setup(e) {
|
|
118
|
+
let t = e;
|
|
119
|
+
return (e, n) => (p(), l("div", j, [u("table", M, [
|
|
120
|
+
t.showReminderLevel ? (p(), l("colgroup", N, [...n[0] ||= [
|
|
121
|
+
u("col", { class: "w-15.5" }, null, -1),
|
|
122
|
+
u("col", { class: "w-15.5" }, null, -1),
|
|
123
|
+
u("col", { class: "w-15.5" }, null, -1),
|
|
124
|
+
u("col", { class: "w-10" }, null, -1),
|
|
125
|
+
u("col", { class: "w-13" }, null, -1),
|
|
126
|
+
u("col", { class: "w-20" }, null, -1),
|
|
127
|
+
u("col", { class: "w-18" }, null, -1),
|
|
128
|
+
u("col", { class: "w-9" }, null, -1)
|
|
129
|
+
]])) : (p(), l("colgroup", P, [...n[1] ||= [
|
|
130
|
+
u("col", null, null, -1),
|
|
131
|
+
u("col", null, null, -1),
|
|
132
|
+
u("col", null, null, -1),
|
|
133
|
+
u("col", null, null, -1),
|
|
134
|
+
u("col", { class: "w-26" }, null, -1)
|
|
135
|
+
]])),
|
|
136
|
+
u("thead", F, [u("tr", null, [
|
|
137
|
+
u("th", I, h(e.$t("module.dunning_case.pdf.table.invoice")), 1),
|
|
138
|
+
u("th", L, h(e.$t("module.dunning_case.pdf.table.invoice_date")), 1),
|
|
139
|
+
u("th", R, h(e.$t("module.dunning_case.pdf.table.due_date")), 1),
|
|
140
|
+
t.showReminderLevel ? (p(), l("th", z, h(e.$t("module.dunning_case.pdf.table.reminder")), 1)) : c("", !0),
|
|
141
|
+
u("th", B, h(e.$t("module.dunning_case.pdf.table.days_overdue")), 1),
|
|
142
|
+
u("th", V, h(e.$t("module.dunning_case.pdf.table.remaining_balance")), 1),
|
|
143
|
+
t.showReminderLevel ? (p(), l("th", H, h(e.$t("module.dunning_case.pdf.table.reminder_fee")), 1)) : c("", !0),
|
|
144
|
+
t.showReminderLevel ? (p(), l("th", U, h(e.$t("module.dunning_case.pdf.table.new")), 1)) : c("", !0)
|
|
145
|
+
])]),
|
|
146
|
+
u("tbody", null, [(p(!0), l(a, null, m(t.rows, (e, n) => (p(), l("tr", {
|
|
147
|
+
key: `${e.sequence}-${n}`,
|
|
148
|
+
class: "h-(--spacing-3xl) border-t border-secondary even:bg-secondary-subtle"
|
|
149
|
+
}, [
|
|
150
|
+
u("td", W, h(e.sequence), 1),
|
|
151
|
+
u("td", G, h(t.formatDate(e.issuedOn)), 1),
|
|
152
|
+
u("td", K, h(t.formatDate(e.dueOn)), 1),
|
|
153
|
+
t.showReminderLevel ? (p(), l("td", q, h(e.level), 1)) : c("", !0),
|
|
154
|
+
u("td", J, h(e.daysOverdue), 1),
|
|
155
|
+
u("td", Y, h(t.formatMonetary(e.outstandingBalance)), 1),
|
|
156
|
+
t.showReminderLevel ? (p(), l("td", X, h(e.fee === void 0 ? "-" : t.formatMonetary(e.fee)), 1)) : c("", !0),
|
|
157
|
+
t.showReminderLevel ? (p(), l("td", ie, h(e.isNew === !0 ? "✓" : ""), 1)) : c("", !0)
|
|
158
|
+
]))), 128))])
|
|
159
|
+
])]));
|
|
160
|
+
}
|
|
161
|
+
}), ae = { class: "min-h-screen bg-secondary py-4xl print:bg-primary print:p-none" }, oe = { class: "mx-auto flex min-h-210.5 w-148.75 flex-col gap-md bg-primary text-[10px] text-primary shadow-card [-webkit-print-color-adjust:exact] [print-color-adjust:exact] print:min-h-[297mm] print:w-[210mm] print:shadow-none" }, se = { class: "flex flex-col items-center gap-md px-5xl pt-5xl pb-2xl" }, ce = { class: "flex min-h-9 max-w-56 items-center justify-center text-center text-sm font-semibold wrap-break-word" }, le = { class: "flex w-full items-start justify-between" }, ue = { class: "flex flex-col gap-md" }, de = { class: "text-lg/7 font-medium" }, fe = { class: "text-secondary" }, pe = { class: "flex flex-col gap-xs leading-4.5 not-italic" }, me = { class: "leading-3.5 font-semibold" }, he = { class: "grid w-36.25 grid-cols-[70px_1fr] gap-x-xl leading-4.5" }, ge = { class: "font-medium whitespace-nowrap" }, _e = { class: "text-right" }, ve = { class: "px-5xl" }, ye = {
|
|
162
|
+
key: 0,
|
|
163
|
+
class: "px-5xl pt-md"
|
|
164
|
+
}, be = { class: "mb-md font-medium" }, xe = { class: "flex items-end justify-end px-5xl pt-md pb-xl" }, Se = { class: "grid w-58.25 grid-cols-[1fr_auto] items-center gap-x-xl gap-y-md before:order-3 before:col-span-2 before:border-t before:border-secondary" }, Ce = { class: "order-1 text-secondary" }, we = { class: "order-2 text-right leading-5" }, Te = { class: "order-4 text-secondary" }, Ee = { class: "order-5 text-right leading-5" }, De = { class: "order-7 font-semibold" }, Oe = { class: "order-8 text-right leading-5 font-semibold" }, Q = /* @__PURE__ */ f({
|
|
165
|
+
__name: "DunningCaseReminderPdfView",
|
|
166
|
+
props: { reminder: {} },
|
|
167
|
+
setup(e) {
|
|
168
|
+
let t = e, n = i(), o = r(), s = n.locale.value;
|
|
169
|
+
n.locale.value = t.reminder.customer.locale, ee(() => {
|
|
170
|
+
n.locale.value = s;
|
|
171
|
+
}), o.set(() => n.t("module.dunning_case.pdf.document_title", { customer: t.reminder.customer.name }));
|
|
172
|
+
let f = S.formatDate(t.reminder.sentAt ?? t.reminder.createdAt, n.locale.value), _ = t.reminder.sentAt === null ? n.t("module.dunning_case.pdf.created_date") : n.t("module.dunning_case.pdf.reminder_date"), v = S.formatAddress(t.reminder.customer.address), y = S.getTotal(t.reminder.invoices), b = y === null ? null : S.add(y, t.reminder.totalFee);
|
|
173
|
+
function x(e) {
|
|
174
|
+
return S.formatDate(e, n.locale.value);
|
|
175
|
+
}
|
|
176
|
+
function C(e) {
|
|
177
|
+
return S.formatMonetary(e, n.locale.value);
|
|
178
|
+
}
|
|
179
|
+
return (e, n) => (p(), l("main", ae, [u("article", oe, [
|
|
180
|
+
u("header", se, [u("p", ce, h(t.reminder.issuer.name ?? e.$t("module.dunning_case.pdf.not_available")), 1), u("div", le, [u("div", ue, [
|
|
181
|
+
u("h1", de, h(e.$t("module.dunning_case.pdf.payment_request")), 1),
|
|
182
|
+
u("p", fe, h(e.$t("module.dunning_case.level.reminder", { level: t.reminder.level })), 1),
|
|
183
|
+
u("address", pe, [u("p", me, h(e.$t("module.dunning_case.pdf.customer")), 1), u("div", null, [
|
|
184
|
+
u("p", null, h(t.reminder.customer.name), 1),
|
|
185
|
+
(p(!0), l(a, null, m(g(v), (e) => (p(), l("p", { key: e }, h(e), 1))), 128)),
|
|
186
|
+
u("p", null, h(t.reminder.recipient.email), 1)
|
|
187
|
+
])])
|
|
188
|
+
]), u("dl", he, [u("dt", ge, h(g(_)), 1), u("dd", _e, h(g(f)), 1)])])]),
|
|
189
|
+
u("section", ve, [d(Z, {
|
|
190
|
+
"format-date": x,
|
|
191
|
+
"format-monetary": C,
|
|
192
|
+
rows: t.reminder.invoices,
|
|
193
|
+
"show-reminder-level": ""
|
|
194
|
+
}, null, 8, ["rows"])]),
|
|
195
|
+
t.reminder.outstandingInvoices.length > 0 ? (p(), l("section", ye, [u("p", be, h(e.$t("module.dunning_case.pdf.non_overdue_invoices")), 1), d(Z, {
|
|
196
|
+
"format-date": x,
|
|
197
|
+
"format-monetary": C,
|
|
198
|
+
rows: t.reminder.outstandingInvoices
|
|
199
|
+
}, null, 8, ["rows"])])) : c("", !0),
|
|
200
|
+
u("section", xe, [u("dl", Se, [
|
|
201
|
+
u("dt", Ce, h(e.$t("module.dunning_case.pdf.total.amount_due")), 1),
|
|
202
|
+
u("dd", we, h(g(y) === null ? e.$t("module.dunning_case.pdf.not_available") : C(g(y))), 1),
|
|
203
|
+
u("dt", Te, h(e.$t("module.dunning_case.pdf.total.reminder_fees")), 1),
|
|
204
|
+
u("dd", Ee, h(C(t.reminder.totalFee)), 1),
|
|
205
|
+
u("dt", De, h(e.$t("module.dunning_case.pdf.total.debt")), 1),
|
|
206
|
+
u("dd", Oe, h(g(b) === null ? e.$t("module.dunning_case.pdf.not_available") : C(g(b))), 1)
|
|
207
|
+
])]),
|
|
208
|
+
d(A, { issuer: t.reminder.issuer }, null, 8, ["issuer"])
|
|
209
|
+
])]));
|
|
210
|
+
}
|
|
211
|
+
}), ke = {
|
|
212
|
+
key: 1,
|
|
213
|
+
"data-pdf-error": "true",
|
|
214
|
+
class: "flex min-h-screen items-center justify-center bg-secondary p-xl"
|
|
215
|
+
}, Ae = {
|
|
216
|
+
key: 2,
|
|
217
|
+
"data-pdf-error": "true",
|
|
218
|
+
class: "flex min-h-screen items-center justify-center bg-secondary p-xl"
|
|
219
|
+
}, je = {
|
|
220
|
+
key: 3,
|
|
221
|
+
class: "flex min-h-screen items-center justify-center bg-secondary text-primary"
|
|
222
|
+
}, Me = /*@__PURE__*/ f({
|
|
223
|
+
__name: "DunningCaseReminderPdfViewDataProvider",
|
|
224
|
+
setup(e) {
|
|
225
|
+
let t = y("token", null), n = x(o(() => t.value)), r = o(() => n.result.value?.isOk() ? n.result.value.getValue() : null), i = o(() => n.result.value?.isErr() === !0);
|
|
226
|
+
return (e, n) => r.value === null ? g(t) === null ? (p(), l("main", ke, [d(g(v), {
|
|
227
|
+
description: e.$t("module.dunning_case.pdf.missing_token_description"),
|
|
228
|
+
title: e.$t("module.dunning_case.pdf.missing_token_title")
|
|
229
|
+
}, null, 8, ["description", "title"])])) : i.value ? (p(), l("main", Ae, [d(g(v), {
|
|
230
|
+
description: e.$t("module.dunning_case.pdf.load_error_description"),
|
|
231
|
+
title: e.$t("module.dunning_case.pdf.load_error_title")
|
|
232
|
+
}, null, 8, ["description", "title"])])) : (p(), l("main", je, [u("p", null, h(e.$t("module.dunning_case.common.loading")), 1)])) : (p(), s(Q, {
|
|
233
|
+
key: 0,
|
|
234
|
+
reminder: r.value
|
|
235
|
+
}, null, 8, ["reminder"]));
|
|
236
|
+
}
|
|
237
|
+
}), Ne = /* @__PURE__ */ e({ default: () => $ }), $ = Me;
|
|
238
|
+
//#endregion
|
|
239
|
+
export { Ne as n, $ as t };
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import { R as e, t, z as n } from "./api.util-Dm_TQedZ.js";
|
|
2
|
+
import { r } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
3
|
+
import { n as i } from "./invoicingConfig.composable-c6w_aMm1.js";
|
|
4
|
+
import { n as a, r as o, t as s } from "./reminderConfig.query-DzTN2AvU.js";
|
|
5
|
+
import { d as c, k as l, nt as u, q as d } from "./dist-DP8KNFVD.js";
|
|
6
|
+
import { t as f } from "./customerUuid.model-GUFYq3O2.js";
|
|
7
|
+
import { useRouter as p } from "vue-router";
|
|
8
|
+
import { z as m } from "zod";
|
|
9
|
+
import { useI18n as h } from "vue-i18n";
|
|
10
|
+
import { Fragment as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as S, createVNode as C, defineComponent as w, normalizeClass as T, openBlock as E, ref as D, renderList as O, toDisplayString as k, unref as A, watch as ee, withCtx as j } from "vue";
|
|
11
|
+
import { useMutation as M, useQuery as N } from "@wisemen/vue-core-api-utils";
|
|
12
|
+
import { Temporal as P } from "temporal-polyfill";
|
|
13
|
+
import { err as te, ok as ne } from "neverthrow";
|
|
14
|
+
import { UIBadge as F, UIColumnLayout as I, UIDialogBody as L, UIDialogFooter as R, UIDialogFooterCancel as z, UIDialogFooterPrimary as B, UIDialogHeader as V, UIFormDialog as H, useToast as U } from "@wisemen/vue-core-design-system";
|
|
15
|
+
import { useForm as W } from "formango";
|
|
16
|
+
//#region src/modules/dunning-case/api/services/dunningCaseCustomer.service.ts
|
|
17
|
+
var G = class {
|
|
18
|
+
static async getAll(n, r) {
|
|
19
|
+
return (await t.fromPromise(e({ query: {
|
|
20
|
+
pagination: r,
|
|
21
|
+
search: n
|
|
22
|
+
} }))).map((e) => ({
|
|
23
|
+
data: e.data.items.map((e) => ({
|
|
24
|
+
uuid: e.uuid,
|
|
25
|
+
name: e.name
|
|
26
|
+
})),
|
|
27
|
+
meta: e.data.meta
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
static async getRecipients(e) {
|
|
31
|
+
let r = [], i = 0, a = 0;
|
|
32
|
+
do {
|
|
33
|
+
let o = await t.fromPromise(n({
|
|
34
|
+
query: { pagination: {
|
|
35
|
+
limit: 100,
|
|
36
|
+
offset: i
|
|
37
|
+
} },
|
|
38
|
+
path: { uuid: e }
|
|
39
|
+
}));
|
|
40
|
+
if (o.isErr()) return te(o.error);
|
|
41
|
+
if (r.push(...o.value.data.items.map((e) => ({
|
|
42
|
+
isDefault: e.isDefault,
|
|
43
|
+
email: e.email
|
|
44
|
+
}))), a = o.value.data.meta.total, i += o.value.data.items.length, o.value.data.items.length === 0) break;
|
|
45
|
+
} while (i < a);
|
|
46
|
+
return ne(r);
|
|
47
|
+
}
|
|
48
|
+
static async getUuidByExternalId(n) {
|
|
49
|
+
return (await t.fromPromise(e({ query: {
|
|
50
|
+
filter: { externalId: n },
|
|
51
|
+
pagination: {
|
|
52
|
+
limit: 1,
|
|
53
|
+
offset: 0
|
|
54
|
+
}
|
|
55
|
+
} }))).map((e) => e.data.items[0]?.uuid ?? null);
|
|
56
|
+
}
|
|
57
|
+
}, K = 3e4;
|
|
58
|
+
function q(e) {
|
|
59
|
+
return N("dunningCaseDetail", {
|
|
60
|
+
staleTime: K,
|
|
61
|
+
params: { dunningCaseUuid: e },
|
|
62
|
+
queryFn: () => o.getByUuid(e.value)
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/modules/dunning-case/components/DunningCaseReminderStatusIndicator.vue?vue&type=script&setup=true&lang.ts
|
|
67
|
+
var J = {
|
|
68
|
+
key: 2,
|
|
69
|
+
class: "inline-flex items-center gap-xs text-xs text-secondary",
|
|
70
|
+
role: "status"
|
|
71
|
+
}, Y = /* @__PURE__ */ w({
|
|
72
|
+
__name: "DunningCaseReminderStatusIndicator",
|
|
73
|
+
props: {
|
|
74
|
+
blockedReason: {},
|
|
75
|
+
status: {}
|
|
76
|
+
},
|
|
77
|
+
setup(e) {
|
|
78
|
+
let t = e, n = h(), r = {
|
|
79
|
+
icon: d,
|
|
80
|
+
type: "icon"
|
|
81
|
+
};
|
|
82
|
+
return (e, i) => t.blockedReason === null ? t.status === "failed" ? (E(), v(A(F), {
|
|
83
|
+
key: 1,
|
|
84
|
+
label: A(n).t("module.dunning_case.reminder_status.failed"),
|
|
85
|
+
left: r,
|
|
86
|
+
color: "warning",
|
|
87
|
+
size: "sm",
|
|
88
|
+
variant: "translucent"
|
|
89
|
+
}, null, 8, ["label"])) : t.status === "sending" ? (E(), b("span", J, [C(A(l), { class: "size-(--spacing-md) animate-spin motion-reduce:animate-none" }), S(" " + k(A(n).t("module.dunning_case.reminder_status.sending")), 1)])) : y("", !0) : (E(), v(A(F), {
|
|
90
|
+
key: 0,
|
|
91
|
+
label: A(n).t(`module.dunning_case.blocked_reason.${t.blockedReason}`),
|
|
92
|
+
left: r,
|
|
93
|
+
color: "error",
|
|
94
|
+
size: "sm",
|
|
95
|
+
variant: "translucent"
|
|
96
|
+
}, null, 8, ["label"]));
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
m.uuid().brand("DunningCaseUuid");
|
|
100
|
+
function X(e) {
|
|
101
|
+
return e === null ? "none" : e.hasErrors ? "failed" : e.sentAt === null ? "sending" : "sent";
|
|
102
|
+
}
|
|
103
|
+
function Z(e, t) {
|
|
104
|
+
return [
|
|
105
|
+
0,
|
|
106
|
+
1,
|
|
107
|
+
2,
|
|
108
|
+
3
|
|
109
|
+
].map((n) => e.filter((e) => !e.isDisputed && e.level === n).reduce((e, t) => ({
|
|
110
|
+
...e,
|
|
111
|
+
amount: e.amount + t.balanceDueAmount.amount
|
|
112
|
+
}), {
|
|
113
|
+
...t,
|
|
114
|
+
amount: 0
|
|
115
|
+
}));
|
|
116
|
+
}
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/modules/dunning-case/api/mutations/dunningCaseSend.mutation.ts
|
|
119
|
+
function re() {
|
|
120
|
+
return M({
|
|
121
|
+
queryFn: (e) => o.send(e.params.dunningCaseUuid),
|
|
122
|
+
queryKeysToInvalidate: {
|
|
123
|
+
dunningCaseDetail: { dunningCaseUuid: (e) => e.dunningCaseUuid },
|
|
124
|
+
dunningCaseIndex: {}
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region src/modules/dunning-case/use-cases/send/components/DunningCaseSendFeeRow.vue?vue&type=script&setup=true&lang.ts
|
|
130
|
+
var ie = { class: "flex items-center justify-between gap-lg px-lg py-xs" }, ae = { class: "text-xs text-secondary" }, oe = { class: "font-mono text-xs font-medium text-primary tabular-nums" }, se = /* @__PURE__ */ w({
|
|
131
|
+
__name: "DunningCaseSendFeeRow",
|
|
132
|
+
props: {
|
|
133
|
+
fee: {},
|
|
134
|
+
level: {}
|
|
135
|
+
},
|
|
136
|
+
setup(e) {
|
|
137
|
+
let t = e, n = h(), i = r();
|
|
138
|
+
return (e, r) => (E(), b("dl", ie, [x("dt", ae, k(A(n).t("module.dunning_case.detail.reminder_fee")) + " · " + k(A(n).t("module.dunning_case.level.reminder", { level: t.level })), 1), x("dd", oe, k(A(i).formatMonetary(t.fee)), 1)]));
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/modules/dunning-case/use-cases/send/utils/dunningCaseSend.util.ts
|
|
143
|
+
function Q(e) {
|
|
144
|
+
return P.PlainDate.compare(e.dueOn, P.Now.plainDateISO()) >= 0;
|
|
145
|
+
}
|
|
146
|
+
function ce(e) {
|
|
147
|
+
return !e.isDisputed && !Q(e);
|
|
148
|
+
}
|
|
149
|
+
function le(e) {
|
|
150
|
+
return e.filter(ce);
|
|
151
|
+
}
|
|
152
|
+
function ue(e, t) {
|
|
153
|
+
let n = e.map((e) => ({
|
|
154
|
+
invoice: e,
|
|
155
|
+
type: "invoice"
|
|
156
|
+
}));
|
|
157
|
+
if (!t) return n;
|
|
158
|
+
let r = e.findIndex((e) => !e.isDisputed && Q(e));
|
|
159
|
+
return n.splice(r === -1 ? n.length : r, 0, { type: "fee" }), n;
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/modules/dunning-case/use-cases/send/components/DunningCaseSendInvoiceRow.vue?vue&type=script&setup=true&lang.ts
|
|
163
|
+
var de = { class: "min-w-0" }, fe = { class: "flex min-w-0 items-center gap-sm" }, pe = { class: "font-mono text-sm font-medium text-primary" }, me = {
|
|
164
|
+
key: 0,
|
|
165
|
+
class: "truncate text-xs text-error-primary"
|
|
166
|
+
}, he = {
|
|
167
|
+
key: 1,
|
|
168
|
+
class: "truncate text-xs text-secondary"
|
|
169
|
+
}, ge = {
|
|
170
|
+
key: 2,
|
|
171
|
+
class: "flex shrink-0 gap-xxs"
|
|
172
|
+
}, _e = { class: "font-mono text-xs font-medium text-primary tabular-nums" }, ve = /* @__PURE__ */ w({
|
|
173
|
+
__name: "DunningCaseSendInvoiceRow",
|
|
174
|
+
props: {
|
|
175
|
+
hasSeparator: { type: Boolean },
|
|
176
|
+
invoice: {}
|
|
177
|
+
},
|
|
178
|
+
setup(e) {
|
|
179
|
+
let t = e, n = h(), i = r();
|
|
180
|
+
return (e, r) => (E(), b("div", { class: T([{ "border-t border-secondary": t.hasSeparator }, "grid grid-cols-[minmax(0,1fr)_auto] items-center gap-lg px-lg py-xs"]) }, [x("div", de, [x("div", fe, [x("p", pe, k(t.invoice.sequence), 1), t.invoice.isDisputed ? (E(), b("span", me, " · " + k(A(n).t("module.dunning_case.detail.protested")), 1)) : A(Q)(t.invoice) ? (E(), b("span", he, " (" + k(A(n).t("module.dunning_case.send.not_yet_due")) + ") ", 1)) : (E(), b("span", ge, [C(a, {
|
|
181
|
+
level: t.invoice.level,
|
|
182
|
+
size: "sm"
|
|
183
|
+
}, null, 8, ["level"])]))])]), x("p", _e, k(t.invoice.isDisputed ? "—" : A(i).formatMonetary(t.invoice.balanceDueAmount)), 1)], 2));
|
|
184
|
+
}
|
|
185
|
+
}), ye = { class: "w-full overflow-hidden rounded-md border border-secondary bg-primary shadow-xs" }, be = { class: "flex items-start justify-between gap-lg border-b border-secondary px-lg py-md" }, xe = { class: "min-w-0" }, Se = { class: "text-sm font-semibold text-primary" }, Ce = { class: "shrink-0" }, we = { class: "max-h-72 overflow-y-auto border-b border-secondary" }, Te = { class: "flex items-center justify-between gap-xl bg-secondary px-lg py-md" }, Ee = { class: "text-sm font-medium text-primary" }, De = { class: "font-mono text-xl font-semibold text-primary tabular-nums" }, $ = /* @__PURE__ */ w({
|
|
186
|
+
__name: "DunningCaseSendInvoiceSummary",
|
|
187
|
+
props: {
|
|
188
|
+
dunningCase: {},
|
|
189
|
+
subject: {}
|
|
190
|
+
},
|
|
191
|
+
setup(e) {
|
|
192
|
+
let t = e, n = h(), i = r(), a = _(() => ue(t.dunningCase.invoices, t.dunningCase.totalFee.amount > 0)), o = _(() => t.dunningCase.level === 0 ? n.t("module.dunning_case.level.none") : n.t("module.dunning_case.level.reminder", { level: t.dunningCase.level }));
|
|
193
|
+
return (e, r) => (E(), b("section", ye, [
|
|
194
|
+
x("div", be, [x("div", xe, [x("p", Se, k(t.subject ?? A(n).t("module.dunning_case.detail.invoices")), 1)]), x("span", Ce, [C(A(F), {
|
|
195
|
+
label: o.value,
|
|
196
|
+
color: "gray",
|
|
197
|
+
size: "sm",
|
|
198
|
+
variant: "translucent"
|
|
199
|
+
}, null, 8, ["label"])])]),
|
|
200
|
+
x("div", we, [(E(!0), b(g, null, O(a.value, (e, n) => (E(), b(g, { key: e.type === "fee" ? "fee" : e.invoice.uuid }, [e.type === "fee" ? (E(), v(se, {
|
|
201
|
+
key: 0,
|
|
202
|
+
fee: t.dunningCase.totalFee,
|
|
203
|
+
level: t.dunningCase.level
|
|
204
|
+
}, null, 8, ["fee", "level"])) : (E(), v(ve, {
|
|
205
|
+
key: 1,
|
|
206
|
+
"has-separator": a.value[n - 1]?.type === "fee",
|
|
207
|
+
invoice: e.invoice
|
|
208
|
+
}, null, 8, ["has-separator", "invoice"]))], 64))), 128))]),
|
|
209
|
+
x("dl", Te, [x("dt", Ee, k(A(n).t("module.dunning_case.send.outstanding_balance")), 1), x("dd", De, k(A(i).formatMonetary(t.dunningCase.outstandingBalance)), 1)])
|
|
210
|
+
]));
|
|
211
|
+
}
|
|
212
|
+
}), Oe = { class: "rounded-md border border-secondary bg-secondary p-md" }, ke = { class: "text-sm text-error-primary" }, Ae = /* @__PURE__ */ w({
|
|
213
|
+
__name: "DunningCaseSendRecipientAlert",
|
|
214
|
+
props: { customerDetailRoute: {} },
|
|
215
|
+
setup(e) {
|
|
216
|
+
let t = e, n = h(), r = p();
|
|
217
|
+
function i() {
|
|
218
|
+
t.customerDetailRoute !== null && r.push(t.customerDetailRoute);
|
|
219
|
+
}
|
|
220
|
+
return (e, r) => (E(), b("div", Oe, [x("p", ke, [S(k(A(n).t("module.dunning_case.send.no_default_recipient_description")) + " ", 1), t.customerDetailRoute === null ? y("", !0) : (E(), b("button", {
|
|
221
|
+
key: 0,
|
|
222
|
+
class: "font-medium underline hover:no-underline",
|
|
223
|
+
type: "button",
|
|
224
|
+
onClick: i
|
|
225
|
+
}, k(A(n).t("module.dunning_case.send.open_customer")), 1))])]));
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
//#endregion
|
|
229
|
+
//#region src/modules/dunning-case/use-cases/send/composables/dunningCaseReminderSubject.composable.ts
|
|
230
|
+
function je(e) {
|
|
231
|
+
return e === "fr-BE" || e === "nl-BE" ? e : "en-US";
|
|
232
|
+
}
|
|
233
|
+
function Me(e) {
|
|
234
|
+
let t = h(), n = s();
|
|
235
|
+
return _(() => {
|
|
236
|
+
let r = e.value;
|
|
237
|
+
return r === null || !n.result.value.isOk() ? null : n.result.value.getValue().find((e) => e.sequence === r)?.template[je(t.locale.value)].subject || null;
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region src/modules/dunning-case/use-cases/send/composables/dunningCaseSendRecipient.composable.ts
|
|
242
|
+
function Ne(e) {
|
|
243
|
+
let t = D(void 0), n = D(!0);
|
|
244
|
+
return ee(e, async (e) => {
|
|
245
|
+
if (t.value = void 0, n.value = !0, e === null) return;
|
|
246
|
+
let r = await G.getRecipients(f.parse(e));
|
|
247
|
+
if (r.isErr()) {
|
|
248
|
+
n.value = !1;
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
t.value = r.value.find((e) => e.isDefault)?.email ?? null, n.value = !1;
|
|
252
|
+
}, { immediate: !0 }), {
|
|
253
|
+
isMissing: _(() => t.value === null),
|
|
254
|
+
isPending: n,
|
|
255
|
+
defaultEmail: t
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
//#endregion
|
|
259
|
+
//#region src/modules/dunning-case/use-cases/send/dialogs/DunningCaseSendDialog.vue?vue&type=script&setup=true&lang.ts
|
|
260
|
+
var Pe = {
|
|
261
|
+
key: 0,
|
|
262
|
+
class: "text-sm text-secondary"
|
|
263
|
+
}, Fe = { class: "flex w-full items-start gap-md rounded-md bg-secondary px-lg py-md text-secondary" }, Ie = { class: "text-xs/relaxed" }, Le = /* @__PURE__ */ w({
|
|
264
|
+
__name: "DunningCaseSendDialog",
|
|
265
|
+
props: {
|
|
266
|
+
dunningCaseUuid: {},
|
|
267
|
+
onSent: { type: Function }
|
|
268
|
+
},
|
|
269
|
+
emits: ["close"],
|
|
270
|
+
setup(e, { emit: t }) {
|
|
271
|
+
let n = e, r = t, a = h(), o = U(), s = i(), l = re(), d = q(_(() => n.dunningCaseUuid)), f = _(() => d.result.value.isOk() ? d.result.value.getValue() : null), p = Ne(_(() => f.value?.customer.uuid ?? null)), S = Me(_(() => f.value?.level ?? null)), w = _(() => {
|
|
272
|
+
let e = f.value?.customer.uuid;
|
|
273
|
+
return e === void 0 ? null : s.getCustomerDetailRoute(e);
|
|
274
|
+
}), T = _(() => f.value === null ? 0 : le(f.value.invoices).length), D = _(() => typeof p.defaultEmail.value == "string" ? a.t("module.dunning_case.send.grouped_to", { email: p.defaultEmail.value }) : p.isMissing.value ? a.t("module.dunning_case.send.no_default_recipient") : a.t("module.dunning_case.send.description")), O = W({
|
|
275
|
+
schema: m.object({}),
|
|
276
|
+
onSubmit: async () => {
|
|
277
|
+
if (p.isMissing.value) {
|
|
278
|
+
o.show({ message: a.t("module.dunning_case.send.no_default_recipient_blocked") });
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
let e = await l.execute({ params: { dunningCaseUuid: n.dunningCaseUuid } });
|
|
282
|
+
if (e.isErr()) {
|
|
283
|
+
o.apiError(e.error);
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
o.show({ message: a.t("module.dunning_case.send.success", { customer: f.value?.customer.name ?? "" }) }), n.onSent?.(), r("close");
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
return (e, t) => (E(), v(A(H), {
|
|
290
|
+
form: A(O),
|
|
291
|
+
size: "lg",
|
|
292
|
+
onClose: t[0] ||= (e) => r("close")
|
|
293
|
+
}, {
|
|
294
|
+
default: j(() => [
|
|
295
|
+
C(A(V), {
|
|
296
|
+
title: A(a).t("module.dunning_case.send.title", {
|
|
297
|
+
customer: f.value?.customer.name ?? "",
|
|
298
|
+
level: f.value?.level ?? ""
|
|
299
|
+
}),
|
|
300
|
+
description: D.value,
|
|
301
|
+
"has-separator": !1,
|
|
302
|
+
icon: A(u)
|
|
303
|
+
}, null, 8, [
|
|
304
|
+
"title",
|
|
305
|
+
"description",
|
|
306
|
+
"icon"
|
|
307
|
+
]),
|
|
308
|
+
C(A(L), null, {
|
|
309
|
+
default: j(() => [C(A(I), { gap: "lg" }, {
|
|
310
|
+
default: j(() => [A(d).isLoading.value ? (E(), b("p", Pe, k(A(a).t("module.dunning_case.common.loading")), 1)) : f.value === null ? y("", !0) : (E(), b(g, { key: 1 }, [
|
|
311
|
+
A(p).isMissing.value ? (E(), v(Ae, {
|
|
312
|
+
key: 0,
|
|
313
|
+
"customer-detail-route": w.value
|
|
314
|
+
}, null, 8, ["customer-detail-route"])) : y("", !0),
|
|
315
|
+
C($, {
|
|
316
|
+
"dunning-case": f.value,
|
|
317
|
+
subject: A(S)
|
|
318
|
+
}, null, 8, ["dunning-case", "subject"]),
|
|
319
|
+
x("div", Fe, [C(A(c), { class: "mt-xxs size-(--spacing-xl) shrink-0" }), x("p", Ie, k(A(a).t("module.dunning_case.send.impact", {
|
|
320
|
+
count: T.value,
|
|
321
|
+
level: f.value.level
|
|
322
|
+
})), 1)])
|
|
323
|
+
], 64))]),
|
|
324
|
+
_: 1
|
|
325
|
+
})]),
|
|
326
|
+
_: 1
|
|
327
|
+
}),
|
|
328
|
+
C(A(R), { "has-separator": !1 }, {
|
|
329
|
+
right: j(() => [C(A(z)), C(A(B), {
|
|
330
|
+
"icon-right": A(u),
|
|
331
|
+
"is-disabled": f.value === null || A(p).isPending.value || A(p).isMissing.value,
|
|
332
|
+
"is-loading": A(O).isSubmitting.value,
|
|
333
|
+
label: A(a).t("module.dunning_case.send.send_now"),
|
|
334
|
+
onClick: A(O).submit
|
|
335
|
+
}, null, 8, [
|
|
336
|
+
"icon-right",
|
|
337
|
+
"is-disabled",
|
|
338
|
+
"is-loading",
|
|
339
|
+
"label",
|
|
340
|
+
"onClick"
|
|
341
|
+
])]),
|
|
342
|
+
_: 1
|
|
343
|
+
})
|
|
344
|
+
]),
|
|
345
|
+
_: 1
|
|
346
|
+
}, 8, ["form"]));
|
|
347
|
+
}
|
|
348
|
+
});
|
|
349
|
+
//#endregion
|
|
350
|
+
export { q as a, Y as i, Z as n, G as o, X as r, Le as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
|
+
//#region ../icons/src/EditIcon.vue
|
|
4
|
+
var i = {}, a = {
|
|
5
|
+
width: "100%",
|
|
6
|
+
height: "100%",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "none"
|
|
9
|
+
};
|
|
10
|
+
function o(e, i) {
|
|
11
|
+
return r(), t("svg", a, [...i[0] ||= [n("path", {
|
|
12
|
+
d: "M11 3.99998H6.8C5.11984 3.99998 4.27976 3.99998 3.63803 4.32696C3.07354 4.61458 2.6146 5.07353 2.32698 5.63801C2 6.27975 2 7.11983 2 8.79998V17.2C2 18.8801 2 19.7202 2.32698 20.362C2.6146 20.9264 3.07354 21.3854 3.63803 21.673C4.27976 22 5.11984 22 6.8 22H15.2C16.8802 22 17.7202 22 18.362 21.673C18.9265 21.3854 19.3854 20.9264 19.673 20.362C20 19.7202 20 18.8801 20 17.2V13M7.99997 16H9.67452C10.1637 16 10.4083 16 10.6385 15.9447C10.8425 15.8957 11.0376 15.8149 11.2166 15.7053C11.4184 15.5816 11.5914 15.4086 11.9373 15.0627L21.5 5.49998C22.3284 4.67156 22.3284 3.32841 21.5 2.49998C20.6716 1.67156 19.3284 1.67155 18.5 2.49998L8.93723 12.0627C8.59133 12.4086 8.41838 12.5816 8.29469 12.7834C8.18504 12.9624 8.10423 13.1574 8.05523 13.3615C7.99997 13.5917 7.99997 13.8363 7.99997 14.3255V16Z",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
"stroke-width": "2",
|
|
15
|
+
"stroke-linecap": "round",
|
|
16
|
+
"stroke-linejoin": "round"
|
|
17
|
+
}, null, -1)]]);
|
|
18
|
+
}
|
|
19
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
20
|
+
//#endregion
|
|
21
|
+
export { s as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
+
import { createElementBlock as n, createElementVNode as r, openBlock as i } from "vue";
|
|
4
|
+
//#region ../icons/src/EraserIcon.vue
|
|
5
|
+
var a = /* @__PURE__ */ e({ default: () => l }), o = {}, s = {
|
|
6
|
+
width: "100%",
|
|
7
|
+
height: "100%",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
};
|
|
12
|
+
function c(e, t) {
|
|
13
|
+
return i(), n("svg", s, [...t[0] ||= [r("path", {
|
|
14
|
+
d: "M17.9995 13L10.9995 6.00004M20.9995 21H7.99955M10.9368 20.0628L19.6054 11.3941C20.7935 10.2061 21.3875 9.61207 21.6101 8.92709C21.8058 8.32456 21.8058 7.67551 21.6101 7.07298C21.3875 6.388 20.7935 5.79397 19.6054 4.60592L19.3937 4.39415C18.2056 3.2061 17.6116 2.61207 16.9266 2.38951C16.3241 2.19373 15.675 2.19373 15.0725 2.38951C14.3875 2.61207 13.7935 3.2061 12.6054 4.39415L4.39366 12.6059C3.20561 13.794 2.61158 14.388 2.38902 15.073C2.19324 15.6755 2.19324 16.3246 2.38902 16.9271C2.61158 17.6121 3.20561 18.2061 4.39366 19.3941L5.06229 20.0628C5.40819 20.4087 5.58114 20.5816 5.78298 20.7053C5.96192 20.815 6.15701 20.8958 6.36108 20.9448C6.59126 21 6.83585 21 7.32503 21H8.67406C9.16324 21 9.40784 21 9.63801 20.9448C9.84208 20.8958 10.0372 20.815 10.2161 20.7053C10.418 20.5816 10.5909 20.4087 10.9368 20.0628Z",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
"stroke-width": "2",
|
|
17
|
+
"stroke-linecap": "round",
|
|
18
|
+
"stroke-linejoin": "round"
|
|
19
|
+
}, null, -1)]]);
|
|
20
|
+
}
|
|
21
|
+
var l = /*#__PURE__*/ t(o, [["render", c]]);
|
|
22
|
+
//#endregion
|
|
23
|
+
export { a as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
|
+
//#region ../icons/src/FileIcon.vue
|
|
4
|
+
var i = {}, a = {
|
|
5
|
+
width: "100%",
|
|
6
|
+
height: "100%",
|
|
7
|
+
viewBox: "0 0 40 40",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
+
};
|
|
11
|
+
function o(e, i) {
|
|
12
|
+
return r(), t("svg", a, [...i[0] ||= [n("path", {
|
|
13
|
+
d: "M4 4C4 1.79086 5.79086 0 8 0H24L36 12V36C36 38.2091 34.2091 40 32 40H8C5.79086 40 4 38.2091 4 36V4Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}, null, -1), n("path", {
|
|
16
|
+
opacity: "0.3",
|
|
17
|
+
d: "M24 0L36 12H28C25.7909 12 24 10.2091 24 8V0Z",
|
|
18
|
+
fill: "white"
|
|
19
|
+
}, null, -1)]]);
|
|
20
|
+
}
|
|
21
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
22
|
+
//#endregion
|
|
23
|
+
export { s as default };
|