@wisemen/wise-invoicing-web 0.1.1 → 0.3.0
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/ApprovalReminderSettingsViewDataProvider-DwtfyQpx.js +151 -0
- package/dist/{BillingDocumentDetailViewDataProvider-f5goWm_i.js → BillingDocumentDetailViewDataProvider-TJUwMhtn.js} +1499 -1407
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-5vi2pgRM.js → BillingDocumentPdf-PU9Ldfhs.js} +20 -13
- package/dist/{CreditNoteDetailViewDataProvider-Byd1QvfY.js → CreditNoteDetailViewDataProvider-DOPmal5D.js} +166 -166
- package/dist/{CreditNotePdfViewDataProvider-DI4eQkpM.js → CreditNotePdfViewDataProvider-BH7MaReQ.js} +3 -3
- package/dist/{CustomFieldValueText-BGbQwhON.js → CustomFieldValueText-BjRVovZL.js} +72 -72
- package/dist/DataProvider-C3uEds9v.js +75 -0
- package/dist/DunningCaseDetailViewDataProvider-CW8ijY3H.js +439 -0
- package/dist/DunningCaseOverviewView-Cfo-4VIw.js +799 -0
- package/dist/{DunningCaseReminderPdfViewDataProvider-I0I_WQQB.js → DunningCaseReminderPdfViewDataProvider-Dr-CS_VQ.js} +25 -25
- package/dist/DunningCaseSendDialog-BYFXJYMM.js +360 -0
- package/dist/InvoiceApprovalOutOfSyncIndicator-CP2GLaeh.js +45 -0
- package/dist/InvoiceApprovalOverviewView-Cjdu9iZC.js +814 -0
- package/dist/InvoiceApprovalStatusBadge-CcX8agTF.js +127 -0
- package/dist/InvoiceApproveDialogDataProvider-4wNAetBn.js +377 -0
- package/dist/InvoiceDetailViewDataProvider-C9O3hXGo.js +2214 -0
- package/dist/InvoiceOverviewViewDataProvider-DBdw7FvZ.js +1892 -0
- package/dist/{InvoicePdfView-C-7m2g3b.js → InvoicePdfView-CvU9bRVd.js} +10 -4
- package/dist/{InvoicePdfViewDataProvider-BPiK110e.js → InvoicePdfViewDataProvider-CFjHQ58K.js} +4 -4
- package/dist/InvoicePublicPdfViewDataProvider-DDv-LdBU.js +45 -0
- package/dist/InvoicePublicProFormaPdfViewDataProvider-BTjJnELb.js +47 -0
- package/dist/InvoicingFileUploadProvider-Kcq7kSSt.js +94 -0
- package/dist/{IssuerSettingsViewDataProvider-COqHGUE6.js → IssuerSettingsViewDataProvider-BuSIVnIl.js} +4 -4
- package/dist/{ReminderSettingsViewDataProvider-Dys4bUU7.js → ReminderSettingsViewDataProvider-CH7gSXnj.js} +68 -70
- package/dist/{api.util-BCSgCfpS.js → api.util-CkIRZS3h.js} +1537 -872
- package/dist/{billingDocumentDetail.transformer-BBn9R_cx.js → billingDocumentDetail.transformer-Bfd8geNo.js} +60 -63
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +19 -1
- package/dist/client/types.gen.d.ts +1155 -119
- package/dist/client/zod.gen.d.ts +25353 -8465
- package/dist/composables/sending-refetch/sendingRefetch.composable.d.ts +7 -0
- package/dist/composables/sending-refetch/sendingRefetch.composable.spec.d.ts +1 -0
- package/dist/{creditNoteDetail.query-BcPsB96h.js → creditNoteDetail.query-tLnfqsEB.js} +32 -32
- package/dist/customerUuid.model-ClN4Vi9n.js +18 -0
- package/dist/{dist-D9lp7NDv.js → dist-BD7Allff.js} +270 -110
- package/dist/{dist-BBjpqvUl.js → dist-D5agTXFI.js} +605 -605
- package/dist/{documentTitle.composable-4ApFl9TZ.js → documentTitle.composable-CRJjS6p-.js} +25 -15
- package/dist/{customFieldValue.util-BwsX8exl.js → download.util-B5Q7KUC9.js} +6 -6
- package/dist/{i18n.lib-C6eb-F-e.js → i18n.lib--mzprLMR.js} +336 -38
- package/dist/index.d.ts +349 -49
- package/dist/index.js +347 -335
- package/dist/invoice.service-B1w16_Md.js +757 -0
- package/dist/invoiceApproval.service-BHAJmFkU.js +72 -0
- package/dist/invoiceApprovalStatus.util-DohOKR4q.js +83 -0
- package/dist/invoiceCustomer.service-DpVfpQUD.js +39 -0
- package/dist/{invoiceDetail.query-Cek8nyaw.js → invoiceDetail.query-CfyNSXLS.js} +1 -1
- package/dist/invoiceIndexCache.util-jHsrFwcA.js +288 -0
- package/dist/{invoicingConfig.composable-DTmad1fe.js → invoicingConfig.composable-COn1rKRf.js} +2 -2
- package/dist/{issuerSettings.query-Bvz-Oj5D.js → issuerSettings.query-CDFk2GiP.js} +6 -5
- package/dist/libs/i18n.lib.d.ts +322 -24
- package/dist/locales/en-US.json.d.ts +168 -19
- package/dist/locales/nl-BE.json.d.ts +168 -19
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.model.d.ts +8 -1
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.d.ts +12 -0
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.spec.d.ts +1 -0
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +2 -6
- package/dist/modules/dunning-case/api/mutations/dunningCaseReminderRetry.mutation.d.ts +4 -0
- package/dist/modules/dunning-case/api/services/dunningCase.service.d.ts +2 -1
- package/dist/modules/dunning-case/models/dunningCase.model.d.ts +5 -0
- package/dist/modules/dunning-case/models/dunningCase.transformer.d.ts +0 -1
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.model.d.ts +0 -4
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.transformer.d.ts +0 -1
- package/dist/modules/dunning-case/test/builders/dunningCaseReminderPdfDto.builder.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewActionsCell.vue.d.ts +2 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.d.ts +2 -2
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewTableColumns.composable.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +0 -4
- package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseBulkSendDialog.vue.d.ts +2 -1
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderRow.vue.d.ts +4 -4
- package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.d.ts +2 -2
- package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.spec.d.ts +1 -0
- package/dist/modules/invoice/api/mutations/invoiceApproveApproval.mutation.d.ts +16 -0
- package/dist/modules/invoice/api/mutations/invoiceArchiveApproval.mutation.d.ts +6 -0
- package/dist/modules/invoice/api/mutations/invoiceBulkSendApproval.mutation.d.ts +5 -0
- package/dist/modules/invoice/api/mutations/invoiceMarkAsPriorApprovalRequired.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceRejectApproval.mutation.d.ts +17 -0
- package/dist/modules/invoice/api/mutations/invoiceRestoreFromProForma.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/mutations/invoiceSendApproval.mutation.d.ts +5 -0
- package/dist/modules/invoice/api/mutations/invoiceUnmarkAsPriorApprovalRequired.mutation.d.ts +4 -0
- package/dist/modules/invoice/api/queries/invoicePublicProFormaDetail.query.d.ts +2 -0
- package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +6 -0
- package/dist/modules/invoice/api/services/invoice.service.d.ts +15 -1
- package/dist/modules/invoice/components/InvoiceApprovalOutOfSyncIndicator.vue.d.ts +3 -0
- package/dist/{ui/DisplayState.vue.d.ts → modules/invoice/components/InvoiceApprovalStatusBadge.vue.d.ts} +7 -10
- package/dist/modules/invoice/components/InvoiceApprovalStatusChip.vue.d.ts +16 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprovalTransformers.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprovalUuid.model.d.ts +3 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprove.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.d.ts +15 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceReject.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.d.ts +15 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +14 -1
- package/dist/modules/invoice/models/invoice/detail/invoiceDetail.transformer.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndex.model.d.ts +4 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +3 -1
- package/dist/modules/invoice/models/invoice/invoiceApproval.transformer.d.ts +7 -0
- package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.model.d.ts +27 -0
- package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.util.d.ts +12 -0
- package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.util.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreate.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.transformer.d.ts +2 -1
- package/dist/modules/invoice/routes/invoice.routes.d.ts +4 -0
- package/dist/modules/invoice/use-cases/detail/components/InvoiceApprovalBanner.vue.d.ts +19 -0
- package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailHeaderSection.vue.d.ts +4 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailHeaderActions.composable.d.ts +5 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +1 -1
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApprovalArchiveDialog.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApprovalRevertDialog.vue.d.ts +15 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialog.vue.d.ts +14 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialogDataProvider.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceFinalizeOutOfSyncDialog.vue.d.ts +21 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoicePaymentDeleteDialog.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceRejectDialog.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewBulkActionBar.vue.d.ts +3 -0
- package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableApprovalCell.vue.d.ts +9 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +3 -1
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +11 -9
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +3 -2
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendApprovalDialog.vue.d.ts +14 -0
- package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +9 -4
- package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.spec.d.ts +1 -0
- package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewView.vue.d.ts +0 -5
- package/dist/modules/invoice/use-cases/pdf/components/BillingDocumentPdf.vue.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfWatermark.vue.d.ts +4 -1
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePublicProFormaPdfViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/invoice-approval/actions/invoiceApproval.actions.d.ts +5 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalArchive.action.d.ts +1 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalMarkAsApproved.action.d.ts +1 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalReject.action.d.ts +1 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.action.d.ts +3 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/api/mutations/approvalReminderConfigUpdate.mutation.d.ts +8 -0
- package/dist/modules/invoice-approval/api/queries/approvalReminderConfig.query.d.ts +1 -0
- package/dist/modules/invoice-approval/api/queries/invoiceApprovalIndex.query.d.ts +3 -0
- package/dist/modules/invoice-approval/api/query-keys/invoiceApproval.queryKeys.d.ts +15 -0
- package/dist/modules/invoice-approval/api/services/invoiceApproval.service.d.ts +10 -0
- package/dist/modules/invoice-approval/components/InvoiceApprovalReminderLevelIndicator.vue.d.ts +7 -0
- package/dist/modules/invoice-approval/models/approvalReminderConfig.transformer.d.ts +6 -0
- package/dist/modules/invoice-approval/models/approvalReminderConfigForm.model.d.ts +11 -0
- package/dist/modules/invoice-approval/models/approvalReminderConfigForm.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndex.model.d.ts +21 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndex.transformer.d.ts +5 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndex.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.model.d.ts +9 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.transformer.d.ts +6 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/routes/invoiceApproval.routes.d.ts +24 -0
- package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewActionsCell.vue.d.ts +7 -0
- package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewAmountCell.vue.d.ts +7 -0
- package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewInvoiceCell.vue.d.ts +7 -0
- package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewMetrics.vue.d.ts +18 -0
- package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewNextReminderCell.vue.d.ts +7 -0
- package/dist/modules/invoice-approval/use-cases/overview/components/InvoiceApprovalOverviewStatusCell.vue.d.ts +7 -0
- package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverview.composable.d.ts +41 -0
- package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverviewFilters.composable.d.ts +5 -0
- package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverviewTableColumns.composable.d.ts +3 -0
- package/dist/modules/invoice-approval/use-cases/overview/views/InvoiceApprovalOverviewView.vue.d.ts +3 -0
- package/dist/modules/invoice-approval/use-cases/settings/views/ApprovalReminderSettingsView.vue.d.ts +7 -0
- package/dist/modules/invoice-approval/use-cases/settings/views/ApprovalReminderSettingsViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +1 -0
- package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
- package/dist/{plainDate.transformer-BxvJpJOv.js → plainDate.transformer-Bhiz9jW7.js} +17 -4
- package/dist/reminderConfig.query-DSO0ekC_.js +316 -0
- package/dist/routes/invoicingPublicRoutes.composable.d.ts +4 -0
- package/dist/routes/invoicingRoutes.composable.d.ts +14 -6
- package/dist/search.composable-CU9OpyUB.js +52 -0
- package/dist/{src-BFgnUugN.js → src-DUSgQTKr.js} +45 -45
- package/dist/style.css +1 -1
- package/dist/types/queryKey.type.d.ts +3 -2
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityApprovalDetails.vue.d.ts +7 -0
- package/dist/utils/html.util.d.ts +4 -0
- package/package.json +3 -2
- package/dist/AddOpenBoundaryIcon-9SqBHfoz.js +0 -25
- package/dist/AirlineIcon-Z6sH_StM.js +0 -26
- package/dist/AirplaneIcon-C-nSkD1w.js +0 -19
- package/dist/AirportIcon-m4itDKCV.js +0 -16
- package/dist/AlertTriangleIcon-DtYLCC-Y.js +0 -23
- package/dist/AllocationsIcon-hcg93Sll.js +0 -16
- package/dist/ArrowNarrowRightIcon-2-Sml68f.js +0 -23
- package/dist/AssetIcon-qOYs6Wna.js +0 -16
- package/dist/BarChartIcon-DDyzpV_3.js +0 -22
- package/dist/BellIcon-DF1OBFta.js +0 -21
- package/dist/BuildingIcon-CC5PMNeP.js +0 -22
- package/dist/ChargerIcon-aM_endLr.js +0 -16
- package/dist/ChevronDownIcon-4QiK-Z6-.js +0 -23
- package/dist/ChevronUpIcon-qBsjZ5Dz.js +0 -23
- package/dist/ClockIcon-BNiPCaiB.js +0 -23
- package/dist/ClockSnoozeIcon-BxGfwJB6.js +0 -23
- package/dist/CopyIcon-DH5ly0dZ.js +0 -19
- package/dist/DataProvider-Dj34ljUX.js +0 -75
- package/dist/DownloadCloudIcon-Cf8ftklG.js +0 -22
- package/dist/DunningCaseDetailViewDataProvider-DKuuysqS.js +0 -409
- package/dist/DunningCaseOverviewView-aWttPLrC.js +0 -747
- package/dist/DunningCaseSendDialog-DyvA5R1p.js +0 -349
- package/dist/EditIcon-Dr7OHBBR.js +0 -21
- package/dist/EraserIcon-B1VJSvdI.js +0 -23
- package/dist/FileIcon-ssmQI5Yl.js +0 -23
- package/dist/FilterLinesIcon-C7YdyPBk.js +0 -23
- package/dist/GlobeIcon-BfRM6Ike.js +0 -22
- package/dist/HelpIcon-BrJ49P5y.js +0 -22
- package/dist/HourGlassIcon-D9rfU1Is.js +0 -22
- package/dist/InfoCircleIcon-Ee0SyiMc.js +0 -23
- package/dist/InvoiceDetailViewDataProvider-BU6jZfD7.js +0 -1670
- package/dist/InvoiceOverviewViewDataProvider-i8tXATJE.js +0 -1677
- package/dist/InvoicePublicPdfViewDataProvider-BJe-8hC5.js +0 -45
- package/dist/KeyboardIcon-T3o_g-1c.js +0 -22
- package/dist/LinkExternalIcon-BkHS4fCx.js +0 -22
- package/dist/LinkIcon-DuPwae98.js +0 -22
- package/dist/MarkerIcon-B1Jqenjb.js +0 -28
- package/dist/MobileBatteryIcon-GZ1SMRDV.js +0 -16
- package/dist/MonitorIcon-pbK22reU.js +0 -22
- package/dist/NotificationIcon-Ctv8vyWt.js +0 -19
- package/dist/ParkingIcon-DnUPW3pB.js +0 -24
- package/dist/PlanningIcon-CXvrskgj.js +0 -16
- package/dist/PreferenceIcon-BHS8uDyi.js +0 -22
- package/dist/ReceiptCheckIcon-QTestqCJ.js +0 -23
- package/dist/RefreshIcon-DShY-aoS.js +0 -22
- package/dist/RemoveOpenBoundaryIcon-CN8YWs6o.js +0 -28
- package/dist/RewindIcon-GWg2AQax.js +0 -22
- package/dist/SettingsIcon-CBLJ6B5u.js +0 -25
- package/dist/ShieldIcon-CVnrOcxl.js +0 -19
- package/dist/ShieldOffIcon-B9l0dDVb.js +0 -23
- package/dist/SignOutIcon-CmDkjJ5F.js +0 -21
- package/dist/SlashCircleIcon-jY5FBko5.js +0 -22
- package/dist/StandIcon-CoYnBLMn.js +0 -23
- package/dist/StarsIcon-D7ZlqOW7.js +0 -22
- package/dist/StopwatchIcon-BK0vh1lg.js +0 -22
- package/dist/TargetIcon-HMWj77-Q.js +0 -22
- package/dist/ThreeDotsIcon-BtFruOKz.js +0 -32
- package/dist/ToolIcon-DRfDb7fE.js +0 -22
- package/dist/TrashIcon-BwxBjHv5.js +0 -19
- package/dist/TurnaroundIcon-b1X61TwZ.js +0 -27
- package/dist/UploadCloudIcon-BF0equKg.js +0 -22
- package/dist/UserIcon-B0rCC6KE.js +0 -22
- package/dist/UsersIcon-cK5l_zKG.js +0 -22
- package/dist/VerifiedIcon-CELYlqcv.js +0 -22
- package/dist/WifiIcon--JPvMNEF.js +0 -23
- package/dist/WifiOffIcon-BS2KftcP.js +0 -23
- package/dist/ZapIcon-BHwcIQc0.js +0 -23
- package/dist/ZoomInIcon-Cu6r915V.js +0 -23
- package/dist/ZoomOutIcon-DwB4FRj-.js +0 -23
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/customerUuid.model-GUFYq3O2.js +0 -5
- package/dist/instant.transformer-KmBsH3E9.js +0 -18
- package/dist/invoice.service-Bb8VqQvc.js +0 -635
- package/dist/invoiceDeliveryStatus.util-BPkGCQM6.js +0 -331
- package/dist/reminderConfig.query-DsJNqqi7.js +0 -331
- package/dist/search.composable-BCtYqudV.js +0 -52
package/dist/{CreditNotePdfViewDataProvider-DI4eQkpM.js → CreditNotePdfViewDataProvider-BH7MaReQ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./DataProvider-
|
|
2
|
-
import { t } from "./InvoicePdfView-
|
|
3
|
-
import { t as n } from "./creditNoteDetail.query-
|
|
1
|
+
import { t as e } from "./DataProvider-C3uEds9v.js";
|
|
2
|
+
import { t } from "./InvoicePdfView-CvU9bRVd.js";
|
|
3
|
+
import { t as n } from "./creditNoteDetail.query-tLnfqsEB.js";
|
|
4
4
|
import { useI18n as r } from "vue-i18n";
|
|
5
5
|
import { computed as i, createBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, openBlock as l, unref as u, withCtx as d } from "vue";
|
|
6
6
|
import { UIText as f } from "@wisemen/vue-core-design-system";
|
|
@@ -1,13 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Y as e, t } from "./api.util-CkIRZS3h.js";
|
|
2
|
+
import { b as n, u as r, y as i } from "./documentTitle.composable-CRJjS6p-.js";
|
|
3
3
|
import { r as a } from "./useCurrencyFormat.composable-MtZaqKnO.js";
|
|
4
4
|
import { n as o } from "./dist-boJIIxnT.js";
|
|
5
5
|
import { useI18n as s } from "vue-i18n";
|
|
6
6
|
import { computed as c, createBlock as l, defineComponent as u, normalizeClass as d, openBlock as f, unref as p } from "vue";
|
|
7
7
|
import { useQuery as m } from "@wisemen/vue-core-api-utils";
|
|
8
8
|
import { UIText as h } from "@wisemen/vue-core-design-system";
|
|
9
|
-
//#region src/modules/
|
|
10
|
-
var g = {
|
|
9
|
+
//#region src/modules/custom-field/models/custom-field-definition/customFieldDefinition.transformer.ts
|
|
10
|
+
var g = class {
|
|
11
|
+
static fromDto(e) {
|
|
12
|
+
return {
|
|
13
|
+
uuid: e.uuid,
|
|
14
|
+
isRequired: e.isRequired,
|
|
15
|
+
choices: e.choices?.map((e) => ({
|
|
16
|
+
label: e.label,
|
|
17
|
+
order: e.order,
|
|
18
|
+
value: e.value
|
|
19
|
+
})).toSorted((e, t) => e.order - t.order) ?? [],
|
|
20
|
+
description: e.description,
|
|
21
|
+
entityType: e.entityType,
|
|
22
|
+
key: e.key,
|
|
23
|
+
label: e.label,
|
|
24
|
+
rules: e.rules,
|
|
25
|
+
type: e.type
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
}, _ = class {
|
|
29
|
+
static async getAll(n) {
|
|
30
|
+
return (await t.fromPromise(e({ query: n?.entityTypes === void 0 ? void 0 : { filter: { entityTypes: n.entityTypes } } }))).map((e) => e.data.map(g.fromDto));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/modules/custom-field/api/queries/customFieldDefinitionIndex.query.ts
|
|
35
|
+
function v(e) {
|
|
36
|
+
return m("customFieldDefinitionIndex", {
|
|
37
|
+
params: { queryParams: e },
|
|
38
|
+
queryFn: () => _.getAll(e?.value)
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.ts
|
|
43
|
+
var y = class {
|
|
44
|
+
static filterByEntityType(e, t) {
|
|
45
|
+
return e.filter((e) => e.entityType === t);
|
|
46
|
+
}
|
|
47
|
+
static getChoiceLabel(e, t, n) {
|
|
48
|
+
let r = e.choices.find((e) => e.value === t);
|
|
49
|
+
return r === void 0 ? t : this.getLocalizedValue(r.label, n) || t;
|
|
50
|
+
}
|
|
51
|
+
static getLabel(e, t) {
|
|
52
|
+
return this.getLocalizedValue(e.label, t) || e.key;
|
|
53
|
+
}
|
|
54
|
+
static getLocalizedValue(e, t) {
|
|
55
|
+
let n = t.toLowerCase(), r = n.split("-")[0], i = e.items.find((e) => e.locale.toLowerCase() === n), a = e.items.find((e) => e.locale.toLowerCase().split("-")[0] === r);
|
|
56
|
+
return i?.value ?? a?.value ?? e.items[0]?.value ?? "";
|
|
57
|
+
}
|
|
58
|
+
}, b = {
|
|
11
59
|
[n.CREDITED]: {
|
|
12
60
|
isEditable: !1,
|
|
13
61
|
isRefreshable: !1,
|
|
@@ -92,67 +140,19 @@ var g = {
|
|
|
92
140
|
tone: "purple",
|
|
93
141
|
translationKey: "wise_invoicing.invoice.status.sent"
|
|
94
142
|
}
|
|
95
|
-
},
|
|
96
|
-
[
|
|
97
|
-
[
|
|
98
|
-
[
|
|
99
|
-
},
|
|
143
|
+
}, x = {
|
|
144
|
+
[i.DRAFT]: b[n.DRAFT],
|
|
145
|
+
[i.FINALIZED]: b[n.FINALIZED],
|
|
146
|
+
[i.READY]: b[n.READY]
|
|
147
|
+
}, S = class {
|
|
100
148
|
static getLifecycleMetadata(e) {
|
|
101
|
-
return
|
|
149
|
+
return x[e];
|
|
102
150
|
}
|
|
103
151
|
static getMetadata(e) {
|
|
104
|
-
return
|
|
152
|
+
return b[e];
|
|
105
153
|
}
|
|
106
154
|
static isEditable(e) {
|
|
107
|
-
return
|
|
108
|
-
}
|
|
109
|
-
}, y = class {
|
|
110
|
-
static fromDto(e) {
|
|
111
|
-
return {
|
|
112
|
-
uuid: e.uuid,
|
|
113
|
-
isRequired: e.isRequired,
|
|
114
|
-
choices: e.choices?.map((e) => ({
|
|
115
|
-
label: e.label,
|
|
116
|
-
order: e.order,
|
|
117
|
-
value: e.value
|
|
118
|
-
})).toSorted((e, t) => e.order - t.order) ?? [],
|
|
119
|
-
description: e.description,
|
|
120
|
-
entityType: e.entityType,
|
|
121
|
-
key: e.key,
|
|
122
|
-
label: e.label,
|
|
123
|
-
rules: e.rules,
|
|
124
|
-
type: e.type
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
}, b = class {
|
|
128
|
-
static async getAll(n) {
|
|
129
|
-
return (await t.fromPromise(e({ query: n?.entityTypes === void 0 ? void 0 : { filter: { entityTypes: n.entityTypes } } }))).map((e) => e.data.map(y.fromDto));
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
//#endregion
|
|
133
|
-
//#region src/modules/custom-field/api/queries/customFieldDefinitionIndex.query.ts
|
|
134
|
-
function x(e) {
|
|
135
|
-
return m("customFieldDefinitionIndex", {
|
|
136
|
-
params: { queryParams: e },
|
|
137
|
-
queryFn: () => b.getAll(e?.value)
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
//#endregion
|
|
141
|
-
//#region src/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.ts
|
|
142
|
-
var S = class {
|
|
143
|
-
static filterByEntityType(e, t) {
|
|
144
|
-
return e.filter((e) => e.entityType === t);
|
|
145
|
-
}
|
|
146
|
-
static getChoiceLabel(e, t, n) {
|
|
147
|
-
let r = e.choices.find((e) => e.value === t);
|
|
148
|
-
return r === void 0 ? t : this.getLocalizedValue(r.label, n) || t;
|
|
149
|
-
}
|
|
150
|
-
static getLabel(e, t) {
|
|
151
|
-
return this.getLocalizedValue(e.label, t) || e.key;
|
|
152
|
-
}
|
|
153
|
-
static getLocalizedValue(e, t) {
|
|
154
|
-
let n = t.toLowerCase(), r = n.split("-")[0], i = e.items.find((e) => e.locale.toLowerCase() === n), a = e.items.find((e) => e.locale.toLowerCase().split("-")[0] === r);
|
|
155
|
-
return i?.value ?? a?.value ?? e.items[0]?.value ?? "";
|
|
155
|
+
return b[e].isEditable;
|
|
156
156
|
}
|
|
157
157
|
}, C = /* @__PURE__ */ u({
|
|
158
158
|
__name: "CustomFieldValueText",
|
|
@@ -162,22 +162,22 @@ var S = class {
|
|
|
162
162
|
value: {}
|
|
163
163
|
},
|
|
164
164
|
setup(e) {
|
|
165
|
-
let t = e, n = s(),
|
|
165
|
+
let t = e, n = s(), i = a(), u = o(), m = c(() => {
|
|
166
166
|
switch (t.value.type) {
|
|
167
|
-
case
|
|
168
|
-
case
|
|
169
|
-
case
|
|
170
|
-
case
|
|
171
|
-
case
|
|
172
|
-
case
|
|
173
|
-
case
|
|
174
|
-
case
|
|
175
|
-
case
|
|
167
|
+
case r.BOOLEAN: return t.value.value ? n.t("wise_invoicing.common.yes") : n.t("wise_invoicing.common.no");
|
|
168
|
+
case r.DATE: return t.value.value === "infinity" ? n.t("wise_invoicing.custom_field.date.infinity") : t.value.value === "-infinity" ? n.t("wise_invoicing.custom_field.date.negative_infinity") : u.formatPlainDate(t.value.value);
|
|
169
|
+
case r.MONETARY: return i.formatMonetary(t.value.value);
|
|
170
|
+
case r.MULTI_SELECT: return t.value.value.map((e) => _(e)).join(", ");
|
|
171
|
+
case r.NUMBER: return new Intl.NumberFormat(n.locale.value, { maximumFractionDigits: 20 }).format(t.value.value);
|
|
172
|
+
case r.SINGLE_SELECT: return _(t.value.value);
|
|
173
|
+
case r.TEXT: return t.value.value;
|
|
174
|
+
case r.TEXT_ARRAY: return t.value.value.join(", ");
|
|
175
|
+
case r.TIMESTAMP: return u.toDateTime(t.value.value);
|
|
176
176
|
default: throw TypeError("Unsupported custom field value type");
|
|
177
177
|
}
|
|
178
178
|
}), g = c(() => t.size === "md" ? "min-w-0 text-sm/5 text-primary" : "min-w-0 text-xs text-primary");
|
|
179
179
|
function _(e) {
|
|
180
|
-
return t.definition === void 0 ? e :
|
|
180
|
+
return t.definition === void 0 ? e : y.getChoiceLabel(t.definition, e, n.locale.value);
|
|
181
181
|
}
|
|
182
182
|
return (e, t) => (f(), l(p(h), {
|
|
183
183
|
text: m.value || "-",
|
|
@@ -186,4 +186,4 @@ var S = class {
|
|
|
186
186
|
}
|
|
187
187
|
});
|
|
188
188
|
//#endregion
|
|
189
|
-
export { v as i, S as n,
|
|
189
|
+
export { v as i, S as n, y as r, C as t };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { useI18n as e } from "vue-i18n";
|
|
2
|
+
import { computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, renderSlot as c, unref as l } from "vue";
|
|
3
|
+
import { ApiErrorUtil as u } from "@wisemen/vue-core-api-utils";
|
|
4
|
+
import { useRouter as d } from "vue-router";
|
|
5
|
+
import { UIEmptyState as f } from "@wisemen/vue-core-design-system";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/ui/data-provider/DataProviderErrorState.vue
|
|
8
|
+
var p = /* @__PURE__ */ o({
|
|
9
|
+
__name: "DataProviderErrorState",
|
|
10
|
+
props: { error: {} },
|
|
11
|
+
setup(r) {
|
|
12
|
+
let i = r, a = e(), o = d(), c = t(() => u.isExpectedApiError(i.error) ? i.error.errors[0] ?? null : null), p = t(() => c.value?.status === "404"), m = t(() => p.value ? a.t("wise_invoicing.common.not_found.title") : c.value?.status ?? a.t("wise_invoicing.common.error")), h = t(() => p.value ? a.t("wise_invoicing.common.not_found.description") : c.value === null ? u.isExpectedApiError(i.error) ? a.t("wise_invoicing.common.error") : i.error.message : c.value.detail);
|
|
13
|
+
function g() {
|
|
14
|
+
o.back();
|
|
15
|
+
}
|
|
16
|
+
function _() {
|
|
17
|
+
o.push({ name: "invoicing-invoice-overview" });
|
|
18
|
+
}
|
|
19
|
+
return (e, t) => (s(), n(l(f), {
|
|
20
|
+
description: h.value,
|
|
21
|
+
illustration: p.value ? "cloud-search" : null,
|
|
22
|
+
"primary-action": p.value ? {
|
|
23
|
+
label: l(a).t("wise_invoicing.common.not_found.invoice_overview"),
|
|
24
|
+
onClick: _,
|
|
25
|
+
type: "button"
|
|
26
|
+
} : null,
|
|
27
|
+
"secondary-action": p.value ? {
|
|
28
|
+
label: l(a).t("wise_invoicing.common.back"),
|
|
29
|
+
onClick: g,
|
|
30
|
+
type: "button"
|
|
31
|
+
} : null,
|
|
32
|
+
title: m.value
|
|
33
|
+
}, null, 8, [
|
|
34
|
+
"description",
|
|
35
|
+
"illustration",
|
|
36
|
+
"primary-action",
|
|
37
|
+
"secondary-action",
|
|
38
|
+
"title"
|
|
39
|
+
]));
|
|
40
|
+
}
|
|
41
|
+
}), m = {
|
|
42
|
+
key: 1,
|
|
43
|
+
class: "flex h-full items-center justify-center"
|
|
44
|
+
}, h = /* @__PURE__ */ o({
|
|
45
|
+
__name: "DataProvider",
|
|
46
|
+
props: { queries: {} },
|
|
47
|
+
setup(e) {
|
|
48
|
+
let n = e, o = t(() => {
|
|
49
|
+
for (let e in n.queries) if (n.queries[e].isLoading.value) return !0;
|
|
50
|
+
return !1;
|
|
51
|
+
}), l = t(() => {
|
|
52
|
+
for (let e in n.queries) {
|
|
53
|
+
let t = n.queries[e].result.value;
|
|
54
|
+
if (t != null && t.isErr()) return t.getError();
|
|
55
|
+
}
|
|
56
|
+
return null;
|
|
57
|
+
}), u = t(() => {
|
|
58
|
+
for (let e in n.queries) {
|
|
59
|
+
let t = n.queries[e].result.value;
|
|
60
|
+
if (t == null || t.isErr()) return !1;
|
|
61
|
+
}
|
|
62
|
+
return !0;
|
|
63
|
+
}), d = t(() => {
|
|
64
|
+
let e = {};
|
|
65
|
+
for (let t in n.queries) {
|
|
66
|
+
let r = t, i = n.queries[r].result.value;
|
|
67
|
+
i == null || !i.isOk() || (e[r] = i.getValue());
|
|
68
|
+
}
|
|
69
|
+
return e;
|
|
70
|
+
});
|
|
71
|
+
return (e, t) => o.value ? c(e.$slots, "loading", {}, void 0, void 0, 0) : l.value === null ? u.value ? c(e.$slots, "default", { data: d.value }, void 0, void 0, 2) : r("", !0) : (s(), i("div", m, [a(p, { error: l.value }, null, 8, ["error"])]));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
//#endregion
|
|
75
|
+
export { h as t };
|