@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,668 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { t } from "./i18n.lib-DUbAMBRb.js";
|
|
3
|
+
import "./api.util-Dm_TQedZ.js";
|
|
4
|
+
import { a as n, t as r, v as i } from "./documentTitle.composable-CeaFddr1.js";
|
|
5
|
+
import { i as a, n as o, r as s, t as c } from "./reminderConfig.query-DzTN2AvU.js";
|
|
6
|
+
import { t as l } from "./DataProvider-CfHLB3rH.js";
|
|
7
|
+
import { t as u } from "./formango.util-D5c2ql--.js";
|
|
8
|
+
import { z as d } from "zod";
|
|
9
|
+
import { useI18n as f } from "vue-i18n";
|
|
10
|
+
import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, createVNode as b, defineComponent as x, mergeModels as S, mergeProps as C, nextTick as w, normalizeClass as T, normalizeStyle as E, openBlock as D, ref as O, renderList as k, toDisplayString as A, unref as j, useModel as M, watch as ee, withCtx as N, withKeys as P, withModifiers as F } from "vue";
|
|
11
|
+
import { useMutation as I } from "@wisemen/vue-core-api-utils";
|
|
12
|
+
import { UIButton as te, UIDashboardPage as ne, UIDashboardPageContent as re, UIDashboardPageLoadingState as L, UIForm as ie, UINumberField as R, UISelect as ae, UITabs as z, UITabsItem as B, UITabsList as V, UITextField as oe, UITextareaField as se, UITooltip as H, UITooltipContent as U, createSelectOptions as W, useToast as G } from "@wisemen/vue-core-design-system";
|
|
13
|
+
import { useForm as K } from "formango";
|
|
14
|
+
//#region src/modules/dunning-case/api/mutations/reminderConfigUpdate.mutation.ts
|
|
15
|
+
function ce() {
|
|
16
|
+
return I({
|
|
17
|
+
queryFn: (e) => s.updateReminderConfigs(e.body),
|
|
18
|
+
queryKeysToInvalidate: { reminderConfig: {} }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/modules/dunning-case/models/reminderConfigForm.model.ts
|
|
23
|
+
function q(e) {
|
|
24
|
+
return e.trim().length > 0;
|
|
25
|
+
}
|
|
26
|
+
var J = d.object({
|
|
27
|
+
body: d.string().refine(q, t.global.t("module.dunning_case.settings.validation.required")),
|
|
28
|
+
subject: d.string().refine(q, t.global.t("module.dunning_case.settings.validation.required"))
|
|
29
|
+
}), le = d.object({
|
|
30
|
+
feeAmount: d.number().min(0),
|
|
31
|
+
feeCurrency: d.enum(n),
|
|
32
|
+
feePrecision: d.number().int().min(0),
|
|
33
|
+
offsetDays: d.number().int().min(1),
|
|
34
|
+
schedule: d.enum(i),
|
|
35
|
+
sequence: d.number().int().min(1).max(3),
|
|
36
|
+
template: d.object({
|
|
37
|
+
"en-US": J,
|
|
38
|
+
"fr-BE": J,
|
|
39
|
+
"nl-BE": J
|
|
40
|
+
})
|
|
41
|
+
}), ue = d.object({ reminders: d.array(le).length(3) }).superRefine((e, n) => {
|
|
42
|
+
e.reminders[0]?.schedule !== i.AFTER_DUE_DATE && n.addIssue({
|
|
43
|
+
code: "custom",
|
|
44
|
+
message: t.global.t("module.dunning_case.settings.validation.level_one_due_date"),
|
|
45
|
+
path: [
|
|
46
|
+
"reminders",
|
|
47
|
+
0,
|
|
48
|
+
"schedule"
|
|
49
|
+
]
|
|
50
|
+
});
|
|
51
|
+
let r = 0;
|
|
52
|
+
for (let [a, o] of e.reminders.entries()) {
|
|
53
|
+
let e = o.schedule === i.AFTER_DUE_DATE ? o.offsetDays : r + o.offsetDays;
|
|
54
|
+
a > 0 && e <= r && n.addIssue({
|
|
55
|
+
code: "custom",
|
|
56
|
+
message: t.global.t("module.dunning_case.settings.validation.chronological"),
|
|
57
|
+
path: [
|
|
58
|
+
"reminders",
|
|
59
|
+
a,
|
|
60
|
+
"offsetDays"
|
|
61
|
+
]
|
|
62
|
+
}), r = e;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
function de(e) {
|
|
66
|
+
return !q(e.subject ?? "") || !q(e.body ?? "");
|
|
67
|
+
}
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/modules/dunning-case/use-cases/settings/components/ReminderLadderFeeNotice.vue?vue&type=script&setup=true&lang.ts
|
|
70
|
+
var fe = { class: "mt-3xl flex max-w-260 flex-col gap-md" }, pe = { class: "rounded-md border border-warning-500 bg-warning-primary px-lg py-md text-sm text-warning-primary" }, me = { class: "font-semibold" }, he = { class: "rounded-md border border-secondary bg-primary px-lg py-md" }, ge = { class: "cursor-pointer text-sm font-medium text-primary" }, _e = { class: "mt-md text-sm text-secondary" }, ve = /* @__PURE__ */ x({
|
|
71
|
+
__name: "ReminderLadderFeeNotice",
|
|
72
|
+
setup(e) {
|
|
73
|
+
let t = f();
|
|
74
|
+
return (e, n) => (D(), _("div", fe, [v("p", pe, [v("strong", me, A(j(t).t("module.dunning_case.settings.ladder.fee_notice_title")), 1), y(" " + A(j(t).t("module.dunning_case.settings.ladder.fee_notice")), 1)]), v("details", he, [v("summary", ge, A(j(t).t("module.dunning_case.settings.ladder.fee_law_title")), 1), v("p", _e, A(j(t).t("module.dunning_case.settings.ladder.fee_law_description")), 1)])]));
|
|
75
|
+
}
|
|
76
|
+
}), ye = { class: "grid grid-cols-[7.5rem_minmax(0,1fr)] items-start gap-x-lg gap-y-xl border-b border-secondary py-2xl last:border-b-0 sm:grid-cols-[7.5rem_13.5rem_11.25rem_7.5rem] sm:gap-3xl sm:py-3xl" }, be = { class: "flex flex-col items-start gap-xs" }, xe = { class: "text-xs text-primary" }, Se = { class: "col-start-2 flex flex-col gap-xs sm:col-auto" }, Ce = { class: "text-xs font-medium text-secondary sm:hidden" }, we = { class: "col-start-2 flex flex-col items-start gap-xs sm:col-auto" }, Te = { class: "text-xs font-medium text-secondary sm:hidden" }, Ee = { class: "text-xs whitespace-nowrap text-secondary" }, De = { class: "col-start-2 flex flex-col gap-xs sm:col-auto" }, Oe = { class: "text-xs font-medium text-secondary sm:hidden" }, ke = /* @__PURE__ */ x({
|
|
77
|
+
__name: "ReminderLadderRow",
|
|
78
|
+
props: {
|
|
79
|
+
absoluteDay: {},
|
|
80
|
+
canUpdate: { type: Boolean },
|
|
81
|
+
feeCurrency: {},
|
|
82
|
+
feeField: {},
|
|
83
|
+
level: {},
|
|
84
|
+
offsetField: {},
|
|
85
|
+
scheduleField: {},
|
|
86
|
+
scheduleItems: {}
|
|
87
|
+
},
|
|
88
|
+
emits: [
|
|
89
|
+
"commitOffset",
|
|
90
|
+
"updateOffset",
|
|
91
|
+
"updateOffsetFromInput",
|
|
92
|
+
"updateSchedule"
|
|
93
|
+
],
|
|
94
|
+
setup(e, { emit: t }) {
|
|
95
|
+
let n = e, r = t, a = f(), s = m(() => !n.canUpdate || n.level === 1), c = m(() => {
|
|
96
|
+
if (n.feeCurrency !== void 0) return {
|
|
97
|
+
currency: n.feeCurrency,
|
|
98
|
+
minimumFractionDigits: 0,
|
|
99
|
+
style: "currency"
|
|
100
|
+
};
|
|
101
|
+
});
|
|
102
|
+
function l(e) {
|
|
103
|
+
return a.t(e === i.AFTER_DUE_DATE ? "module.dunning_case.settings.ladder.after_due_date" : "module.dunning_case.settings.ladder.after_previous");
|
|
104
|
+
}
|
|
105
|
+
return (e, t) => (D(), _("div", ye, [
|
|
106
|
+
v("div", be, [v("span", xe, A(j(a).t("module.dunning_case.level.reminder", { level: n.level })), 1), b(o, {
|
|
107
|
+
level: n.level,
|
|
108
|
+
size: "md"
|
|
109
|
+
}, null, 8, ["level"])]),
|
|
110
|
+
v("div", Se, [v("span", Ce, A(j(a).t("module.dunning_case.settings.ladder.trigger")), 1), b(j(ae), C(j(u)(n.scheduleField), {
|
|
111
|
+
"aria-label": j(a).t("module.dunning_case.settings.ladder.trigger"),
|
|
112
|
+
"display-fn": l,
|
|
113
|
+
"is-disabled": s.value,
|
|
114
|
+
items: n.scheduleItems,
|
|
115
|
+
label: null,
|
|
116
|
+
size: "sm",
|
|
117
|
+
"onUpdate:modelValue": t[0] ||= (e) => r("updateSchedule", e)
|
|
118
|
+
}), null, 16, [
|
|
119
|
+
"aria-label",
|
|
120
|
+
"is-disabled",
|
|
121
|
+
"items"
|
|
122
|
+
])]),
|
|
123
|
+
v("div", we, [v("span", Te, A(j(a).t("module.dunning_case.settings.ladder.offset")), 1), v("div", {
|
|
124
|
+
class: "flex flex-col items-start gap-xs sm:flex-row sm:items-center",
|
|
125
|
+
onFocusoutCapture: t[2] ||= (e) => r("commitOffset", e),
|
|
126
|
+
onInputCapture: t[3] ||= (e) => r("updateOffsetFromInput", e)
|
|
127
|
+
}, [b(j(R), C(j(u)(n.offsetField), {
|
|
128
|
+
"aria-label": j(a).t("module.dunning_case.settings.ladder.offset"),
|
|
129
|
+
"is-disabled": !n.canUpdate,
|
|
130
|
+
label: null,
|
|
131
|
+
min: 1,
|
|
132
|
+
"show-controls": !0,
|
|
133
|
+
step: 1,
|
|
134
|
+
class: "w-30",
|
|
135
|
+
size: "sm",
|
|
136
|
+
"onUpdate:modelValue": t[1] ||= (e) => r("updateOffset", e)
|
|
137
|
+
}), null, 16, ["aria-label", "is-disabled"]), v("span", Ee, A(j(a).t("module.dunning_case.settings.ladder.day_hint", { day: n.absoluteDay })), 1)], 32)]),
|
|
138
|
+
v("div", De, [v("span", Oe, A(j(a).t("module.dunning_case.settings.ladder.fee")), 1), b(j(R), C(j(u)(n.feeField), {
|
|
139
|
+
"aria-label": j(a).t("module.dunning_case.settings.ladder.fee"),
|
|
140
|
+
"format-options": c.value,
|
|
141
|
+
"is-disabled": !n.canUpdate,
|
|
142
|
+
label: null,
|
|
143
|
+
min: 0,
|
|
144
|
+
step: .01,
|
|
145
|
+
size: "sm"
|
|
146
|
+
}), null, 16, [
|
|
147
|
+
"aria-label",
|
|
148
|
+
"format-options",
|
|
149
|
+
"is-disabled"
|
|
150
|
+
])])
|
|
151
|
+
]));
|
|
152
|
+
}
|
|
153
|
+
}), Ae = { class: "relative mt-2xl pb-lg" }, je = { class: "w-full" }, Me = { class: "flex justify-between text-xs font-medium text-secondary" }, Ne = { class: "mt-md block font-mono text-xs text-secondary tabular-nums" }, Pe = [
|
|
154
|
+
"aria-label",
|
|
155
|
+
"aria-valuemax",
|
|
156
|
+
"aria-valuemin",
|
|
157
|
+
"aria-valuenow",
|
|
158
|
+
"disabled",
|
|
159
|
+
"onKeydown",
|
|
160
|
+
"onPointercancel",
|
|
161
|
+
"onPointerdown",
|
|
162
|
+
"onPointermove",
|
|
163
|
+
"onPointerup"
|
|
164
|
+
], Fe = 4, Ie = /* @__PURE__ */ x({
|
|
165
|
+
__name: "ReminderLadderTimeline",
|
|
166
|
+
props: {
|
|
167
|
+
canUpdate: { type: Boolean },
|
|
168
|
+
markers: {},
|
|
169
|
+
timelineDays: {}
|
|
170
|
+
},
|
|
171
|
+
emits: ["moveTo"],
|
|
172
|
+
setup(e, { emit: t }) {
|
|
173
|
+
let n = e, r = t, i = [
|
|
174
|
+
"bg-brand-500",
|
|
175
|
+
"bg-warning-solid",
|
|
176
|
+
"bg-error-solid"
|
|
177
|
+
], a = f(), o = O(null), s = O(null), c = m(() => Array.from({ length: 5 }, (e, t) => Math.round(t * (n.timelineDays / Fe))));
|
|
178
|
+
function l(e) {
|
|
179
|
+
return Math.min(100, e / n.timelineDays * 100);
|
|
180
|
+
}
|
|
181
|
+
function u(e) {
|
|
182
|
+
return i[e] ?? i[0];
|
|
183
|
+
}
|
|
184
|
+
function d(e, t) {
|
|
185
|
+
r("moveTo", e, (n.markers[e]?.absoluteDay ?? 0) + t);
|
|
186
|
+
}
|
|
187
|
+
function h(e, t) {
|
|
188
|
+
if (o.value === null) return;
|
|
189
|
+
let i = o.value.getBoundingClientRect(), a = Math.min(1, Math.max(0, (t.clientX - i.left) / i.width));
|
|
190
|
+
r("moveTo", e, Math.round(a * n.timelineDays));
|
|
191
|
+
}
|
|
192
|
+
function g(e, t) {
|
|
193
|
+
n.canUpdate && (s.value = e, t.currentTarget.setPointerCapture(t.pointerId), h(e, t));
|
|
194
|
+
}
|
|
195
|
+
function x(e, t) {
|
|
196
|
+
s.value === e && h(e, t);
|
|
197
|
+
}
|
|
198
|
+
function S(e, t) {
|
|
199
|
+
s.value === e && (s.value = null, t.currentTarget.releasePointerCapture(t.pointerId));
|
|
200
|
+
}
|
|
201
|
+
return (e, t) => (D(), _("div", Ae, [v("div", je, [v("div", Me, [v("span", null, A(j(a).t("module.dunning_case.settings.ladder.due_date")), 1), v("span", null, A(j(a).t("module.dunning_case.settings.ladder.timeline_end", { days: n.timelineDays })), 1)]), v("div", {
|
|
202
|
+
ref_key: "timelineTrack",
|
|
203
|
+
ref: o,
|
|
204
|
+
class: "relative mt-lg h-(--spacing-8xl)"
|
|
205
|
+
}, [
|
|
206
|
+
t[1] ||= v("div", { class: "absolute inset-x-0 top-(--spacing-lg) h-(--spacing-md) rounded-full bg-tertiary" }, null, -1),
|
|
207
|
+
v("div", {
|
|
208
|
+
style: E({ width: `${l(n.markers[n.markers.length - 1]?.absoluteDay ?? 0)}%` }),
|
|
209
|
+
class: "absolute top-(--spacing-lg) left-0 h-(--spacing-md) rounded-full bg-brand-100"
|
|
210
|
+
}, null, 4),
|
|
211
|
+
(D(!0), _(p, null, k(c.value, (e) => (D(), _("div", {
|
|
212
|
+
key: e,
|
|
213
|
+
class: T([{
|
|
214
|
+
"-translate-x-1/2": e > 0 && e < n.timelineDays,
|
|
215
|
+
"-translate-x-full": e === n.timelineDays
|
|
216
|
+
}, "absolute top-0"]),
|
|
217
|
+
style: E({ left: `${e / n.timelineDays * 100}%` })
|
|
218
|
+
}, [t[0] ||= v("span", { class: "block h-(--spacing-4xl) w-px bg-secondary" }, null, -1), v("span", Ne, A(j(a).t("module.dunning_case.settings.ladder.day_short", { day: e })), 1)], 6))), 128)),
|
|
219
|
+
(D(!0), _(p, null, k(n.markers, (e, t) => (D(), _("div", {
|
|
220
|
+
key: e.sequence,
|
|
221
|
+
style: E({ left: `${l(e.absoluteDay)}%` }),
|
|
222
|
+
class: "absolute top-0 z-10 -translate-x-1/2"
|
|
223
|
+
}, [b(j(H), {
|
|
224
|
+
"popover-side-offset": 8,
|
|
225
|
+
"popover-align": "center",
|
|
226
|
+
"popover-side": "top"
|
|
227
|
+
}, {
|
|
228
|
+
trigger: N(() => [v("button", {
|
|
229
|
+
class: T([u(t), "flex size-(--spacing-4xl) touch-none items-center justify-center rounded-full border-2 border-primary text-sm font-semibold text-white shadow-sm enabled:cursor-ew-resize"]),
|
|
230
|
+
"aria-label": j(a).t("module.dunning_case.settings.ladder.marker_label", {
|
|
231
|
+
day: e.absoluteDay,
|
|
232
|
+
level: t + 1
|
|
233
|
+
}),
|
|
234
|
+
"aria-valuemax": n.timelineDays,
|
|
235
|
+
"aria-valuemin": e.minimumDay,
|
|
236
|
+
"aria-valuenow": e.absoluteDay,
|
|
237
|
+
disabled: !n.canUpdate,
|
|
238
|
+
role: "slider",
|
|
239
|
+
type: "button",
|
|
240
|
+
onKeydown: [P(F((e) => d(t, -1), ["prevent"]), ["left"]), P(F((e) => d(t, 1), ["prevent"]), ["right"])],
|
|
241
|
+
onPointercancel: (e) => S(t, e),
|
|
242
|
+
onPointerdown: (e) => g(t, e),
|
|
243
|
+
onPointermove: (e) => x(t, e),
|
|
244
|
+
onPointerup: (e) => S(t, e)
|
|
245
|
+
}, A(e.sequence), 43, Pe)]),
|
|
246
|
+
content: N(() => [b(j(U), { class: "rounded-md! bg-primary-solid! px-lg! py-md! text-sm font-semibold! whitespace-nowrap! text-white!" }, {
|
|
247
|
+
default: N(() => [y(A(j(a).t("module.dunning_case.settings.ladder.day", { day: e.absoluteDay })), 1)]),
|
|
248
|
+
_: 2
|
|
249
|
+
}, 1024)]),
|
|
250
|
+
_: 2
|
|
251
|
+
}, 1024)], 4))), 128))
|
|
252
|
+
], 512)])]));
|
|
253
|
+
}
|
|
254
|
+
}), Le = { class: "mt-3xl" }, Re = { class: "text-sm text-secondary" }, ze = { class: "mt-3xl max-w-260" }, Be = { class: "grid grid-cols-[7.5rem_minmax(0,1fr)] gap-lg text-xs font-medium text-secondary sm:grid-cols-[7.5rem_13.5rem_11.25rem_7.5rem] sm:gap-3xl" }, Ve = { class: "hidden sm:inline" }, He = { class: "hidden sm:inline" }, Ue = { class: "hidden sm:inline" }, We = /* @__PURE__ */ x({
|
|
255
|
+
__name: "ReminderLadderPanel",
|
|
256
|
+
props: {
|
|
257
|
+
canUpdate: { type: Boolean },
|
|
258
|
+
fields: {},
|
|
259
|
+
ladder: {},
|
|
260
|
+
scheduleItems: {}
|
|
261
|
+
},
|
|
262
|
+
setup(e) {
|
|
263
|
+
let t = e, n = f();
|
|
264
|
+
return (e, r) => (D(), _("div", Le, [
|
|
265
|
+
v("p", Re, A(j(n).t("module.dunning_case.settings.ladder.description")), 1),
|
|
266
|
+
b(Ie, {
|
|
267
|
+
"can-update": t.canUpdate,
|
|
268
|
+
markers: t.ladder.markers.value,
|
|
269
|
+
"timeline-days": t.ladder.timelineDays.value,
|
|
270
|
+
onMoveTo: t.ladder.setAbsoluteDay
|
|
271
|
+
}, null, 8, [
|
|
272
|
+
"can-update",
|
|
273
|
+
"markers",
|
|
274
|
+
"timeline-days",
|
|
275
|
+
"onMoveTo"
|
|
276
|
+
]),
|
|
277
|
+
v("div", ze, [v("div", Be, [
|
|
278
|
+
v("span", null, A(j(n).t("module.dunning_case.settings.ladder.level")), 1),
|
|
279
|
+
v("span", Ve, A(j(n).t("module.dunning_case.settings.ladder.trigger")), 1),
|
|
280
|
+
v("span", He, A(j(n).t("module.dunning_case.settings.ladder.offset")), 1),
|
|
281
|
+
v("span", Ue, A(j(n).t("module.dunning_case.settings.ladder.fee")), 1)
|
|
282
|
+
]), (D(!0), _(p, null, k(t.fields, (e, n) => (D(), h(ke, {
|
|
283
|
+
key: n,
|
|
284
|
+
"absolute-day": t.ladder.getAbsoluteDay(n),
|
|
285
|
+
"can-update": t.canUpdate,
|
|
286
|
+
"fee-currency": t.ladder.items.value[n]?.feeCurrency,
|
|
287
|
+
"fee-field": e.feeAmount,
|
|
288
|
+
level: n + 1,
|
|
289
|
+
"offset-field": e.offsetDays,
|
|
290
|
+
"schedule-field": e.schedule,
|
|
291
|
+
"schedule-items": t.scheduleItems,
|
|
292
|
+
onCommitOffset: (e) => t.ladder.commitOffset(n, e),
|
|
293
|
+
onUpdateOffset: (e) => t.ladder.updateOffset(n, e),
|
|
294
|
+
onUpdateOffsetFromInput: (e) => t.ladder.updateOffsetFromInput(n, e),
|
|
295
|
+
onUpdateSchedule: (e) => t.ladder.updateSchedule(n, e)
|
|
296
|
+
}, null, 8, [
|
|
297
|
+
"absolute-day",
|
|
298
|
+
"can-update",
|
|
299
|
+
"fee-currency",
|
|
300
|
+
"fee-field",
|
|
301
|
+
"level",
|
|
302
|
+
"offset-field",
|
|
303
|
+
"schedule-field",
|
|
304
|
+
"schedule-items",
|
|
305
|
+
"onCommitOffset",
|
|
306
|
+
"onUpdateOffset",
|
|
307
|
+
"onUpdateOffsetFromInput",
|
|
308
|
+
"onUpdateSchedule"
|
|
309
|
+
]))), 128))]),
|
|
310
|
+
b(ve)
|
|
311
|
+
]));
|
|
312
|
+
}
|
|
313
|
+
}), Ge = { class: "flex flex-wrap items-center gap-xl" }, Ke = { class: "text-xs text-secondary" }, Y = /* @__PURE__ */ x({
|
|
314
|
+
__name: "ReminderTemplateTabs",
|
|
315
|
+
props: /*@__PURE__*/ S({
|
|
316
|
+
caption: {},
|
|
317
|
+
items: {}
|
|
318
|
+
}, {
|
|
319
|
+
modelValue: { required: !0 },
|
|
320
|
+
modelModifiers: {}
|
|
321
|
+
}),
|
|
322
|
+
emits: ["update:modelValue"],
|
|
323
|
+
setup(e) {
|
|
324
|
+
let t = e, n = M(e, "modelValue"), r = f();
|
|
325
|
+
function i(e) {
|
|
326
|
+
return e.hasMissingContent ? `${e.label}, ${r.t("module.dunning_case.settings.templates.missing")}` : e.label;
|
|
327
|
+
}
|
|
328
|
+
return (e, r) => (D(), _("div", Ge, [v("p", Ke, A(t.caption), 1), b(j(z), {
|
|
329
|
+
modelValue: n.value,
|
|
330
|
+
"onUpdate:modelValue": r[0] ||= (e) => n.value = e,
|
|
331
|
+
"aria-label": t.caption,
|
|
332
|
+
variant: "button-brand"
|
|
333
|
+
}, {
|
|
334
|
+
default: N(() => [b(j(V), null, {
|
|
335
|
+
default: N(() => [(D(!0), _(p, null, k(t.items, (e) => (D(), h(j(B), {
|
|
336
|
+
key: e.value,
|
|
337
|
+
"aria-label": i(e),
|
|
338
|
+
config: e.hasMissingContent ? { indicator: {
|
|
339
|
+
type: "dot",
|
|
340
|
+
color: "error"
|
|
341
|
+
} } : null,
|
|
342
|
+
label: e.label,
|
|
343
|
+
value: e.value
|
|
344
|
+
}, null, 8, [
|
|
345
|
+
"aria-label",
|
|
346
|
+
"config",
|
|
347
|
+
"label",
|
|
348
|
+
"value"
|
|
349
|
+
]))), 128))]),
|
|
350
|
+
_: 1
|
|
351
|
+
})]),
|
|
352
|
+
_: 1
|
|
353
|
+
}, 8, ["modelValue", "aria-label"])]));
|
|
354
|
+
}
|
|
355
|
+
}), qe = { class: "mt-5xl" }, Je = { class: "flex flex-col gap-xl sm:flex-row sm:items-center sm:justify-between" }, Ye = { class: "mt-xl overflow-hidden rounded-md border border-secondary bg-primary" }, Xe = { class: "border-b border-secondary px-3xl py-lg" }, Ze = { class: "text-sm font-medium text-primary" }, X = {
|
|
356
|
+
key: 0,
|
|
357
|
+
class: "flex flex-col gap-md p-3xl"
|
|
358
|
+
}, Qe = /* @__PURE__ */ x({
|
|
359
|
+
__name: "ReminderTemplatesPanel",
|
|
360
|
+
props: /*@__PURE__*/ S({
|
|
361
|
+
bodyField: {},
|
|
362
|
+
canUpdate: { type: Boolean },
|
|
363
|
+
cardTitle: {},
|
|
364
|
+
levelItems: {},
|
|
365
|
+
localeItems: {},
|
|
366
|
+
subjectField: {}
|
|
367
|
+
}, {
|
|
368
|
+
activeLevel: { required: !0 },
|
|
369
|
+
activeLevelModifiers: {},
|
|
370
|
+
activeLocale: { required: !0 },
|
|
371
|
+
activeLocaleModifiers: {}
|
|
372
|
+
}),
|
|
373
|
+
emits: ["update:activeLevel", "update:activeLocale"],
|
|
374
|
+
setup(e) {
|
|
375
|
+
let t = e, n = M(e, "activeLevel"), r = M(e, "activeLocale"), i = f();
|
|
376
|
+
return (e, a) => (D(), _("div", qe, [v("div", Je, [b(Y, {
|
|
377
|
+
modelValue: n.value,
|
|
378
|
+
"onUpdate:modelValue": a[0] ||= (e) => n.value = e,
|
|
379
|
+
caption: j(i).t("module.dunning_case.settings.templates.selector"),
|
|
380
|
+
items: t.levelItems
|
|
381
|
+
}, null, 8, [
|
|
382
|
+
"modelValue",
|
|
383
|
+
"caption",
|
|
384
|
+
"items"
|
|
385
|
+
]), b(Y, {
|
|
386
|
+
modelValue: r.value,
|
|
387
|
+
"onUpdate:modelValue": a[1] ||= (e) => r.value = e,
|
|
388
|
+
caption: j(i).t("module.dunning_case.settings.templates.language"),
|
|
389
|
+
items: t.localeItems
|
|
390
|
+
}, null, 8, [
|
|
391
|
+
"modelValue",
|
|
392
|
+
"caption",
|
|
393
|
+
"items"
|
|
394
|
+
])]), v("div", Ye, [v("div", Xe, [v("h2", Ze, A(t.cardTitle), 1)]), t.subjectField !== void 0 && t.bodyField !== void 0 ? (D(), _("div", X, [b(j(oe), C(j(u)(t.subjectField), {
|
|
395
|
+
"is-disabled": !t.canUpdate,
|
|
396
|
+
"is-required": !0,
|
|
397
|
+
label: j(i).t("module.dunning_case.settings.templates.subject"),
|
|
398
|
+
size: "sm"
|
|
399
|
+
}), null, 16, ["is-disabled", "label"]), b(j(se), C(j(u)(t.bodyField), {
|
|
400
|
+
"is-disabled": !t.canUpdate,
|
|
401
|
+
"is-required": !0,
|
|
402
|
+
label: j(i).t("module.dunning_case.settings.templates.content"),
|
|
403
|
+
"min-height": "var(--spacing-11xl)",
|
|
404
|
+
resize: "auto-vertical",
|
|
405
|
+
size: "sm"
|
|
406
|
+
}), null, 16, ["is-disabled", "label"])])) : g("", !0)])]));
|
|
407
|
+
}
|
|
408
|
+
}), Z = class {
|
|
409
|
+
static commitReminder(e, t, n) {
|
|
410
|
+
if (t === void 0) return e.slice();
|
|
411
|
+
let r = e.slice();
|
|
412
|
+
return r[n] = { ...t }, r;
|
|
413
|
+
}
|
|
414
|
+
static getAbsoluteDay(e, t) {
|
|
415
|
+
let n = 0;
|
|
416
|
+
for (let r of t.slice(0, e + 1)) r.schedule === i.AFTER_DUE_DATE ? n = r.offsetDays : n += r.offsetDays;
|
|
417
|
+
return n;
|
|
418
|
+
}
|
|
419
|
+
}, $e = 60, Q = 15;
|
|
420
|
+
function et(e) {
|
|
421
|
+
let t = O([]);
|
|
422
|
+
function n(e) {
|
|
423
|
+
return Z.getAbsoluteDay(e, t.value);
|
|
424
|
+
}
|
|
425
|
+
let r = m(() => {
|
|
426
|
+
let t = e.items.value.length - 1, r = t < 0 ? 0 : n(t), i = Math.ceil(r / Q) * Q;
|
|
427
|
+
return Math.max($e, i);
|
|
428
|
+
}), a = m(() => e.items.value.map((e, t) => ({
|
|
429
|
+
absoluteDay: n(t),
|
|
430
|
+
minimumDay: t === 0 ? 1 : n(t - 1) + 1,
|
|
431
|
+
sequence: e.sequence
|
|
432
|
+
})));
|
|
433
|
+
function o() {
|
|
434
|
+
t.value = e.items.value.map((e) => ({
|
|
435
|
+
offsetDays: e.offsetDays,
|
|
436
|
+
schedule: e.schedule
|
|
437
|
+
}));
|
|
438
|
+
}
|
|
439
|
+
function s(n, r) {
|
|
440
|
+
let i = e.items.value[n];
|
|
441
|
+
i !== void 0 && (t.value = Z.commitReminder(t.value, {
|
|
442
|
+
offsetDays: r ?? i.offsetDays,
|
|
443
|
+
schedule: i.schedule
|
|
444
|
+
}, n));
|
|
445
|
+
}
|
|
446
|
+
function c(t, n) {
|
|
447
|
+
let r = n?.target, i;
|
|
448
|
+
if (r instanceof HTMLInputElement) {
|
|
449
|
+
let n = Number(r.value);
|
|
450
|
+
Number.isFinite(n) && (i = n, e.fields[t]?.offsetDays["onUpdate:modelValue"](n));
|
|
451
|
+
}
|
|
452
|
+
e.fields[t]?.offsetDays.onBlur(), w(() => s(t, i));
|
|
453
|
+
}
|
|
454
|
+
function l(t, n) {
|
|
455
|
+
let r = n.target;
|
|
456
|
+
if (!(r instanceof HTMLInputElement)) return;
|
|
457
|
+
let i = Number(r.value);
|
|
458
|
+
Number.isFinite(i) && e.fields[t]?.offsetDays["onUpdate:modelValue"](i);
|
|
459
|
+
}
|
|
460
|
+
function u(t, n) {
|
|
461
|
+
e.fields[t]?.offsetDays["onUpdate:modelValue"](n), s(t, n ?? void 0);
|
|
462
|
+
}
|
|
463
|
+
function d(t, n) {
|
|
464
|
+
e.fields[t]?.schedule["onUpdate:modelValue"](n), s(t);
|
|
465
|
+
}
|
|
466
|
+
function f(t, a) {
|
|
467
|
+
let o = e.items.value[t], c = e.fields[t]?.offsetDays;
|
|
468
|
+
if (o === void 0 || c === void 0 || !e.canUpdate.value) return;
|
|
469
|
+
let l = t === 0 ? 0 : n(t - 1), u = o.schedule === i.AFTER_DUE_DATE ? 1 : l + 1, d = Math.min(r.value, Math.max(u, a)), f = o.schedule === i.AFTER_DUE_DATE ? d : d - l;
|
|
470
|
+
c.setValue(f), s(t);
|
|
471
|
+
}
|
|
472
|
+
return {
|
|
473
|
+
commitOffset: c,
|
|
474
|
+
getAbsoluteDay: n,
|
|
475
|
+
items: e.items,
|
|
476
|
+
markers: a,
|
|
477
|
+
reset: o,
|
|
478
|
+
setAbsoluteDay: f,
|
|
479
|
+
timelineDays: r,
|
|
480
|
+
updateOffset: u,
|
|
481
|
+
updateOffsetFromInput: l,
|
|
482
|
+
updateSchedule: d
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
//#endregion
|
|
486
|
+
//#region src/modules/dunning-case/use-cases/settings/views/ReminderSettingsView.vue?vue&type=script&setup=true&lang.ts
|
|
487
|
+
var tt = { class: "mx-auto w-full max-w-340" }, nt = { class: "flex flex-col gap-lg sm:flex-row sm:items-start sm:justify-between" }, rt = { class: "text-md font-semibold text-primary" }, it = { class: "mt-xs text-sm text-secondary" }, at = /* @__PURE__ */ x({
|
|
488
|
+
__name: "ReminderSettingsView",
|
|
489
|
+
props: { reminderConfigs: {} },
|
|
490
|
+
setup(e) {
|
|
491
|
+
let t = e, n = [
|
|
492
|
+
0,
|
|
493
|
+
1,
|
|
494
|
+
2
|
|
495
|
+
], o = [
|
|
496
|
+
"en-US",
|
|
497
|
+
"nl-BE",
|
|
498
|
+
"fr-BE"
|
|
499
|
+
], s = [i.AFTER_DUE_DATE, i.AFTER_LAST_REMINDER], c = f(), l = G(), u = r(), d = ce(), p = O("ladder"), _ = O(0), y = O("en-US");
|
|
500
|
+
u.set(() => c.t("module.dunning_case.settings.title"));
|
|
501
|
+
let x = K({
|
|
502
|
+
initialState: m(() => a.reminderConfigsToForm(t.reminderConfigs)),
|
|
503
|
+
schema: ue,
|
|
504
|
+
onSubmit: async (e) => {
|
|
505
|
+
let t = await d.execute({ body: e });
|
|
506
|
+
if (t.isErr()) {
|
|
507
|
+
l.apiError(t.error);
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
l.show({ message: c.t("module.dunning_case.settings.saved") });
|
|
511
|
+
},
|
|
512
|
+
onSubmitError: () => {
|
|
513
|
+
l.unableToSave();
|
|
514
|
+
}
|
|
515
|
+
}), S = x.registerArray("reminders"), C = n.map((e) => {
|
|
516
|
+
let t = S.register(`${e}`), n = t.register("template");
|
|
517
|
+
return {
|
|
518
|
+
feeAmount: t.register("feeAmount"),
|
|
519
|
+
locales: {
|
|
520
|
+
"en-US": {
|
|
521
|
+
body: n.register("en-US").register("body"),
|
|
522
|
+
subject: n.register("en-US").register("subject")
|
|
523
|
+
},
|
|
524
|
+
"fr-BE": {
|
|
525
|
+
body: n.register("fr-BE").register("body"),
|
|
526
|
+
subject: n.register("fr-BE").register("subject")
|
|
527
|
+
},
|
|
528
|
+
"nl-BE": {
|
|
529
|
+
body: n.register("nl-BE").register("body"),
|
|
530
|
+
subject: n.register("nl-BE").register("subject")
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
offsetDays: t.register("offsetDays"),
|
|
534
|
+
schedule: t.register("schedule")
|
|
535
|
+
};
|
|
536
|
+
}), w = O(!0), T = m(() => W(s)), E = et({
|
|
537
|
+
canUpdate: w,
|
|
538
|
+
fields: C,
|
|
539
|
+
items: m(() => (x.state.value.reminders ?? []).map((e, t) => ({
|
|
540
|
+
feeCurrency: e?.feeCurrency,
|
|
541
|
+
offsetDays: e?.offsetDays ?? 0,
|
|
542
|
+
schedule: e?.schedule ?? i.AFTER_DUE_DATE,
|
|
543
|
+
sequence: e?.sequence ?? t + 1
|
|
544
|
+
})))
|
|
545
|
+
}), k = m({
|
|
546
|
+
get: () => String(_.value),
|
|
547
|
+
set: (e) => {
|
|
548
|
+
let t = Number(e);
|
|
549
|
+
Number.isInteger(t) && t >= 0 && t < C.length && (_.value = t);
|
|
550
|
+
}
|
|
551
|
+
}), M = m({
|
|
552
|
+
get: () => y.value,
|
|
553
|
+
set: (e) => {
|
|
554
|
+
let t = o.find((t) => t === e);
|
|
555
|
+
t !== void 0 && (y.value = t);
|
|
556
|
+
}
|
|
557
|
+
});
|
|
558
|
+
function P(e, t) {
|
|
559
|
+
let n = x.state.value.reminders?.[e]?.template?.[t];
|
|
560
|
+
return n === void 0 || de(n);
|
|
561
|
+
}
|
|
562
|
+
let F = m(() => C[_.value]?.locales[y.value]), I = m(() => C.map((e, t) => ({
|
|
563
|
+
hasMissingContent: P(t, y.value),
|
|
564
|
+
label: c.t("module.dunning_case.level.reminder", { level: t + 1 }),
|
|
565
|
+
value: String(t)
|
|
566
|
+
}))), L = m(() => o.map((e) => ({
|
|
567
|
+
hasMissingContent: P(_.value, e),
|
|
568
|
+
label: c.t(`module.dunning_case.settings.locale.${e}`),
|
|
569
|
+
value: e
|
|
570
|
+
}))), R = m(() => c.t("module.dunning_case.settings.templates.card_title", {
|
|
571
|
+
language: c.t(`module.dunning_case.settings.locale_name.${y.value}`),
|
|
572
|
+
level: _.value + 1
|
|
573
|
+
}));
|
|
574
|
+
return ee(() => t.reminderConfigs, E.reset, { immediate: !0 }), (e, t) => (D(), h(j(ne), {
|
|
575
|
+
title: j(c).t("module.dunning_case.settings.title"),
|
|
576
|
+
subtitle: j(c).t("module.dunning_case.settings.subtitle")
|
|
577
|
+
}, {
|
|
578
|
+
default: N(() => [b(j(re), null, {
|
|
579
|
+
default: N(() => [b(j(ie), {
|
|
580
|
+
form: j(x),
|
|
581
|
+
"prompt-on-unsaved-changes": !0
|
|
582
|
+
}, {
|
|
583
|
+
default: N(() => [v("div", tt, [
|
|
584
|
+
v("div", nt, [v("div", null, [v("h2", rt, A(j(c).t("module.dunning_case.settings.title")), 1), v("p", it, A(j(c).t("module.dunning_case.settings.subtitle")), 1)]), w.value ? (D(), h(j(te), {
|
|
585
|
+
key: 0,
|
|
586
|
+
"is-disabled": !j(x).isDirty.value || !j(x).isValid.value,
|
|
587
|
+
"is-loading": j(x).isSubmitting.value,
|
|
588
|
+
label: j(c).t("shared.save_changes"),
|
|
589
|
+
onClick: j(x).submit
|
|
590
|
+
}, null, 8, [
|
|
591
|
+
"is-disabled",
|
|
592
|
+
"is-loading",
|
|
593
|
+
"label",
|
|
594
|
+
"onClick"
|
|
595
|
+
])) : g("", !0)]),
|
|
596
|
+
b(j(z), {
|
|
597
|
+
modelValue: p.value,
|
|
598
|
+
"onUpdate:modelValue": t[0] ||= (e) => p.value = e,
|
|
599
|
+
"aria-label": j(c).t("module.dunning_case.settings.navigation"),
|
|
600
|
+
class: "mt-xl",
|
|
601
|
+
variant: "button-border"
|
|
602
|
+
}, {
|
|
603
|
+
default: N(() => [b(j(V), null, {
|
|
604
|
+
default: N(() => [b(j(B), {
|
|
605
|
+
label: j(c).t("module.dunning_case.settings.ladder.tab"),
|
|
606
|
+
value: "ladder"
|
|
607
|
+
}, null, 8, ["label"]), b(j(B), {
|
|
608
|
+
label: j(c).t("module.dunning_case.settings.templates.tab"),
|
|
609
|
+
value: "templates"
|
|
610
|
+
}, null, 8, ["label"])]),
|
|
611
|
+
_: 1
|
|
612
|
+
})]),
|
|
613
|
+
_: 1
|
|
614
|
+
}, 8, ["modelValue", "aria-label"]),
|
|
615
|
+
p.value === "ladder" ? (D(), h(We, {
|
|
616
|
+
key: 0,
|
|
617
|
+
"can-update": w.value,
|
|
618
|
+
fields: j(C),
|
|
619
|
+
ladder: j(E),
|
|
620
|
+
"schedule-items": T.value
|
|
621
|
+
}, null, 8, [
|
|
622
|
+
"can-update",
|
|
623
|
+
"fields",
|
|
624
|
+
"ladder",
|
|
625
|
+
"schedule-items"
|
|
626
|
+
])) : (D(), h(Qe, {
|
|
627
|
+
key: 1,
|
|
628
|
+
"active-level": k.value,
|
|
629
|
+
"onUpdate:activeLevel": t[1] ||= (e) => k.value = e,
|
|
630
|
+
"active-locale": M.value,
|
|
631
|
+
"onUpdate:activeLocale": t[2] ||= (e) => M.value = e,
|
|
632
|
+
"body-field": F.value?.body,
|
|
633
|
+
"can-update": w.value,
|
|
634
|
+
"card-title": R.value,
|
|
635
|
+
"level-items": I.value,
|
|
636
|
+
"locale-items": L.value,
|
|
637
|
+
"subject-field": F.value?.subject
|
|
638
|
+
}, null, 8, [
|
|
639
|
+
"active-level",
|
|
640
|
+
"active-locale",
|
|
641
|
+
"body-field",
|
|
642
|
+
"can-update",
|
|
643
|
+
"card-title",
|
|
644
|
+
"level-items",
|
|
645
|
+
"locale-items",
|
|
646
|
+
"subject-field"
|
|
647
|
+
]))
|
|
648
|
+
])]),
|
|
649
|
+
_: 1
|
|
650
|
+
}, 8, ["form"])]),
|
|
651
|
+
_: 1
|
|
652
|
+
})]),
|
|
653
|
+
_: 1
|
|
654
|
+
}, 8, ["title", "subtitle"]));
|
|
655
|
+
}
|
|
656
|
+
}), ot = /*@__PURE__*/ x({
|
|
657
|
+
__name: "ReminderSettingsViewDataProvider",
|
|
658
|
+
setup(e) {
|
|
659
|
+
let t = c();
|
|
660
|
+
return (e, n) => (D(), h(l, { queries: { reminderConfigs: j(t) } }, {
|
|
661
|
+
default: N(({ data: e }) => [b(at, { "reminder-configs": e.reminderConfigs }, null, 8, ["reminder-configs"])]),
|
|
662
|
+
loading: N(() => [b(j(L), { breadcrumbs: [] })]),
|
|
663
|
+
_: 1
|
|
664
|
+
}, 8, ["queries"]));
|
|
665
|
+
}
|
|
666
|
+
}), st = /* @__PURE__ */ e({ default: () => $ }), $ = ot;
|
|
667
|
+
//#endregion
|
|
668
|
+
export { st as n, $ as t };
|
|
@@ -0,0 +1,28 @@
|
|
|
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/RemoveOpenBoundaryIcon.vue
|
|
4
|
+
var i = {}, a = {
|
|
5
|
+
width: "100%",
|
|
6
|
+
height: "100%",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
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: "M6.11025 9.79154C8.19596 8.27846 9.59442 5.33301 12.1192 5.33301C15.5165 5.33301 15.5165 10.6663 12.1192 10.6663C8.72248 10.6663 7.36382 5.33301 3.62648 5.33301C1.79832 5.33301 1.06357 7.2408 1.42221 8.77433",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "1.33333",
|
|
16
|
+
"stroke-linecap": "round",
|
|
17
|
+
"stroke-linejoin": "round"
|
|
18
|
+
}, null, -1), n("path", {
|
|
19
|
+
d: "M3 11.7998H1H5",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
"stroke-width": "1.064",
|
|
22
|
+
"stroke-linecap": "round",
|
|
23
|
+
"stroke-linejoin": "round"
|
|
24
|
+
}, null, -1)]]);
|
|
25
|
+
}
|
|
26
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
27
|
+
//#endregion
|
|
28
|
+
export { s as default };
|