@booki-aui/react 0.0.0-stage → 0.2.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/CHANGELOG.md +122 -0
- package/LICENSE +21 -0
- package/README.md +16 -2
- package/dist/access.d.ts +43 -0
- package/dist/access.js +15 -0
- package/dist/access.js.map +1 -0
- package/dist/account-picker.d.ts +40 -0
- package/dist/account-picker.js +25 -0
- package/dist/account-picker.js.map +1 -0
- package/dist/accounting-period-select.d.ts +34 -0
- package/dist/accounting-period-select.js +23 -0
- package/dist/accounting-period-select.js.map +1 -0
- package/dist/activity-timeline.d.ts +37 -0
- package/dist/activity-timeline.js +19 -0
- package/dist/activity-timeline.js.map +1 -0
- package/dist/aged-balances.d.ts +62 -0
- package/dist/aged-balances.js +31 -0
- package/dist/aged-balances.js.map +1 -0
- package/dist/agent-cursor.d.ts +34 -0
- package/dist/agent-cursor.js +14 -0
- package/dist/agent-cursor.js.map +1 -0
- package/dist/agent-presence.d.ts +110 -0
- package/dist/agent-presence.js +15 -0
- package/dist/agent-presence.js.map +1 -0
- package/dist/aging-chart.d.ts +41 -0
- package/dist/aging-chart.js +19 -0
- package/dist/aging-chart.js.map +1 -0
- package/dist/amount-field.d.ts +46 -0
- package/dist/amount-field.js +19 -0
- package/dist/amount-field.js.map +1 -0
- package/dist/amount-input.d.ts +18 -0
- package/dist/amount-input.js +12 -0
- package/dist/amount-input.js.map +1 -0
- package/dist/approval-chain.d.ts +36 -0
- package/dist/approval-chain.js +22 -0
- package/dist/approval-chain.js.map +1 -0
- package/dist/approval-gate.d.ts +19 -0
- package/dist/approval-gate.js +10 -0
- package/dist/approval-gate.js.map +1 -0
- package/dist/attestation-status.d.ts +31 -0
- package/dist/attestation-status.js +22 -0
- package/dist/attestation-status.js.map +1 -0
- package/dist/audit-findings.d.ts +40 -0
- package/dist/audit-findings.js +28 -0
- package/dist/audit-findings.js.map +1 -0
- package/dist/audit-trail.d.ts +22 -0
- package/dist/audit-trail.js +10 -0
- package/dist/audit-trail.js.map +1 -0
- package/dist/audit-workpaper.d.ts +56 -0
- package/dist/audit-workpaper.js +35 -0
- package/dist/audit-workpaper.js.map +1 -0
- package/dist/bank-account-input.d.ts +36 -0
- package/dist/bank-account-input.js +22 -0
- package/dist/bank-account-input.js.map +1 -0
- package/dist/bank-reconciliation.d.ts +38 -0
- package/dist/bank-reconciliation.js +20 -0
- package/dist/bank-reconciliation.js.map +1 -0
- package/dist/bar-chart.d.ts +38 -0
- package/dist/bar-chart.js +19 -0
- package/dist/bar-chart.js.map +1 -0
- package/dist/booki-agent.d.ts +153 -0
- package/dist/booki-agent.js +27 -0
- package/dist/booki-agent.js.map +1 -0
- package/dist/cashflow-waterfall.d.ts +36 -0
- package/dist/cashflow-waterfall.js +17 -0
- package/dist/cashflow-waterfall.js.map +1 -0
- package/dist/change-details-CWpEgc80.d.ts +14 -0
- package/dist/chunk-2HM7YSBC.js +92 -0
- package/dist/chunk-2HM7YSBC.js.map +1 -0
- package/dist/chunk-35QKOOAI.js +27 -0
- package/dist/chunk-35QKOOAI.js.map +1 -0
- package/dist/chunk-37GDU76M.js +86 -0
- package/dist/chunk-37GDU76M.js.map +1 -0
- package/dist/chunk-4EVVT6ME.js +136 -0
- package/dist/chunk-4EVVT6ME.js.map +1 -0
- package/dist/chunk-4GQUOBOG.js +132 -0
- package/dist/chunk-4GQUOBOG.js.map +1 -0
- package/dist/chunk-4KWEZTO5.js +86 -0
- package/dist/chunk-4KWEZTO5.js.map +1 -0
- package/dist/chunk-4WC76FUE.js +242 -0
- package/dist/chunk-4WC76FUE.js.map +1 -0
- package/dist/chunk-62G3T2AA.js +230 -0
- package/dist/chunk-62G3T2AA.js.map +1 -0
- package/dist/chunk-663UXACN.js +334 -0
- package/dist/chunk-663UXACN.js.map +1 -0
- package/dist/chunk-6CVPNV7N.js +106 -0
- package/dist/chunk-6CVPNV7N.js.map +1 -0
- package/dist/chunk-6HWFMC7V.js +140 -0
- package/dist/chunk-6HWFMC7V.js.map +1 -0
- package/dist/chunk-7MYFKLPB.js +301 -0
- package/dist/chunk-7MYFKLPB.js.map +1 -0
- package/dist/chunk-7YTOVA5F.js +312 -0
- package/dist/chunk-7YTOVA5F.js.map +1 -0
- package/dist/chunk-AIGQPM4Y.js +311 -0
- package/dist/chunk-AIGQPM4Y.js.map +1 -0
- package/dist/chunk-AKC6N4QO.js +414 -0
- package/dist/chunk-AKC6N4QO.js.map +1 -0
- package/dist/chunk-BZIOOU4I.js +421 -0
- package/dist/chunk-BZIOOU4I.js.map +1 -0
- package/dist/chunk-CDTDN4LY.js +212 -0
- package/dist/chunk-CDTDN4LY.js.map +1 -0
- package/dist/chunk-EDWQSKY7.js +161 -0
- package/dist/chunk-EDWQSKY7.js.map +1 -0
- package/dist/chunk-EKIWL37F.js +488 -0
- package/dist/chunk-EKIWL37F.js.map +1 -0
- package/dist/chunk-F3C77WLR.js +116 -0
- package/dist/chunk-F3C77WLR.js.map +1 -0
- package/dist/chunk-FBV7BFEQ.js +84 -0
- package/dist/chunk-FBV7BFEQ.js.map +1 -0
- package/dist/chunk-GVP2N3K6.js +89 -0
- package/dist/chunk-GVP2N3K6.js.map +1 -0
- package/dist/chunk-HKYEHBQT.js +19 -0
- package/dist/chunk-HKYEHBQT.js.map +1 -0
- package/dist/chunk-HQYIFZZT.js +169 -0
- package/dist/chunk-HQYIFZZT.js.map +1 -0
- package/dist/chunk-HT6HGOLM.js +151 -0
- package/dist/chunk-HT6HGOLM.js.map +1 -0
- package/dist/chunk-ISPUO3AQ.js +244 -0
- package/dist/chunk-ISPUO3AQ.js.map +1 -0
- package/dist/chunk-JPUVGWLO.js +207 -0
- package/dist/chunk-JPUVGWLO.js.map +1 -0
- package/dist/chunk-JWFGUI7A.js +73 -0
- package/dist/chunk-JWFGUI7A.js.map +1 -0
- package/dist/chunk-K72VT6RJ.js +57 -0
- package/dist/chunk-K72VT6RJ.js.map +1 -0
- package/dist/chunk-KLDUGI7L.js +150 -0
- package/dist/chunk-KLDUGI7L.js.map +1 -0
- package/dist/chunk-M2WLQIFE.js +40 -0
- package/dist/chunk-M2WLQIFE.js.map +1 -0
- package/dist/chunk-M3MCIKF2.js +143 -0
- package/dist/chunk-M3MCIKF2.js.map +1 -0
- package/dist/chunk-MBLQSZHE.js +77 -0
- package/dist/chunk-MBLQSZHE.js.map +1 -0
- package/dist/chunk-N7GIVDUU.js +191 -0
- package/dist/chunk-N7GIVDUU.js.map +1 -0
- package/dist/chunk-NMHTPP6I.js +62 -0
- package/dist/chunk-NMHTPP6I.js.map +1 -0
- package/dist/chunk-NNP6GNEW.js +65 -0
- package/dist/chunk-NNP6GNEW.js.map +1 -0
- package/dist/chunk-OTD7VUEC.js +35 -0
- package/dist/chunk-OTD7VUEC.js.map +1 -0
- package/dist/chunk-OXHKA3UZ.js +30 -0
- package/dist/chunk-OXHKA3UZ.js.map +1 -0
- package/dist/chunk-OYERLEER.js +21 -0
- package/dist/chunk-OYERLEER.js.map +1 -0
- package/dist/chunk-PFY3VJ2T.js +231 -0
- package/dist/chunk-PFY3VJ2T.js.map +1 -0
- package/dist/chunk-PUMSFFEU.js +228 -0
- package/dist/chunk-PUMSFFEU.js.map +1 -0
- package/dist/chunk-QE7KUQOI.js +84 -0
- package/dist/chunk-QE7KUQOI.js.map +1 -0
- package/dist/chunk-QGT7VI6I.js +35 -0
- package/dist/chunk-QGT7VI6I.js.map +1 -0
- package/dist/chunk-QGYS5HS3.js +214 -0
- package/dist/chunk-QGYS5HS3.js.map +1 -0
- package/dist/chunk-QPSBRSBH.js +167 -0
- package/dist/chunk-QPSBRSBH.js.map +1 -0
- package/dist/chunk-ROXGVKR2.js +59 -0
- package/dist/chunk-ROXGVKR2.js.map +1 -0
- package/dist/chunk-RPONJDFZ.js +310 -0
- package/dist/chunk-RPONJDFZ.js.map +1 -0
- package/dist/chunk-RTCKV4H2.js +65 -0
- package/dist/chunk-RTCKV4H2.js.map +1 -0
- package/dist/chunk-SHZFZRHV.js +259 -0
- package/dist/chunk-SHZFZRHV.js.map +1 -0
- package/dist/chunk-SOXPKIQK.js +91 -0
- package/dist/chunk-SOXPKIQK.js.map +1 -0
- package/dist/chunk-SR2HEE4U.js +76 -0
- package/dist/chunk-SR2HEE4U.js.map +1 -0
- package/dist/chunk-SX3U6DRW.js +462 -0
- package/dist/chunk-SX3U6DRW.js.map +1 -0
- package/dist/chunk-T4U2CT35.js +175 -0
- package/dist/chunk-T4U2CT35.js.map +1 -0
- package/dist/chunk-TSX6BD72.js +251 -0
- package/dist/chunk-TSX6BD72.js.map +1 -0
- package/dist/chunk-U6PR3V2Q.js +123 -0
- package/dist/chunk-U6PR3V2Q.js.map +1 -0
- package/dist/chunk-U7NPK4WO.js +135 -0
- package/dist/chunk-U7NPK4WO.js.map +1 -0
- package/dist/chunk-W6TKXS75.js +55 -0
- package/dist/chunk-W6TKXS75.js.map +1 -0
- package/dist/chunk-WDME4U42.js +14 -0
- package/dist/chunk-WDME4U42.js.map +1 -0
- package/dist/chunk-WS2YJSNS.js +62 -0
- package/dist/chunk-WS2YJSNS.js.map +1 -0
- package/dist/chunk-Y5EYY6WJ.js +174 -0
- package/dist/chunk-Y5EYY6WJ.js.map +1 -0
- package/dist/chunk-YBMO3W5O.js +191 -0
- package/dist/chunk-YBMO3W5O.js.map +1 -0
- package/dist/chunk-YOOWFGCU.js +90 -0
- package/dist/chunk-YOOWFGCU.js.map +1 -0
- package/dist/chunk-ZKNVWQDU.js +230 -0
- package/dist/chunk-ZKNVWQDU.js.map +1 -0
- package/dist/chunk-ZYLWSGWQ.js +29 -0
- package/dist/chunk-ZYLWSGWQ.js.map +1 -0
- package/dist/chunk-ZYPW7GCI.js +82 -0
- package/dist/chunk-ZYPW7GCI.js.map +1 -0
- package/dist/client-requests.d.ts +40 -0
- package/dist/client-requests.js +25 -0
- package/dist/client-requests.js.map +1 -0
- package/dist/close-checklist.d.ts +34 -0
- package/dist/close-checklist.js +22 -0
- package/dist/close-checklist.js.map +1 -0
- package/dist/confirm-dialog.d.ts +43 -0
- package/dist/confirm-dialog.js +10 -0
- package/dist/confirm-dialog.js.map +1 -0
- package/dist/country-toggle.d.ts +16 -0
- package/dist/country-toggle.js +10 -0
- package/dist/country-toggle.js.map +1 -0
- package/dist/currency-select.d.ts +32 -0
- package/dist/currency-select.js +23 -0
- package/dist/currency-select.js.map +1 -0
- package/dist/data-table.d.ts +77 -0
- package/dist/data-table.js +30 -0
- package/dist/data-table.js.map +1 -0
- package/dist/deal-pipeline.d.ts +46 -0
- package/dist/deal-pipeline.js +25 -0
- package/dist/deal-pipeline.js.map +1 -0
- package/dist/document-signoff.d.ts +45 -0
- package/dist/document-signoff.js +21 -0
- package/dist/document-signoff.js.map +1 -0
- package/dist/evidence-list.d.ts +35 -0
- package/dist/evidence-list.js +21 -0
- package/dist/evidence-list.js.map +1 -0
- package/dist/exception-banner.d.ts +15 -0
- package/dist/exception-banner.js +10 -0
- package/dist/exception-banner.js.map +1 -0
- package/dist/expense-claim.d.ts +43 -0
- package/dist/expense-claim.js +31 -0
- package/dist/expense-claim.js.map +1 -0
- package/dist/financial-date-field.d.ts +27 -0
- package/dist/financial-date-field.js +17 -0
- package/dist/financial-date-field.js.map +1 -0
- package/dist/fixed-asset-register.d.ts +59 -0
- package/dist/fixed-asset-register.js +31 -0
- package/dist/fixed-asset-register.js.map +1 -0
- package/dist/forecast-chart.d.ts +38 -0
- package/dist/forecast-chart.js +19 -0
- package/dist/forecast-chart.js.map +1 -0
- package/dist/form-props-Ct7zeZBH.d.ts +25 -0
- package/dist/funnel-chart.d.ts +27 -0
- package/dist/funnel-chart.js +17 -0
- package/dist/funnel-chart.js.map +1 -0
- package/dist/iban-input.d.ts +27 -0
- package/dist/iban-input.js +16 -0
- package/dist/iban-input.js.map +1 -0
- package/dist/index.d.ts +644 -0
- package/dist/index.js +1082 -0
- package/dist/index.js.map +1 -0
- package/dist/invoice-editor.d.ts +38 -0
- package/dist/invoice-editor.js +26 -0
- package/dist/invoice-editor.js.map +1 -0
- package/dist/invoice-number-input.d.ts +25 -0
- package/dist/invoice-number-input.js +17 -0
- package/dist/invoice-number-input.js.map +1 -0
- package/dist/kpi-stat.d.ts +34 -0
- package/dist/kpi-stat.js +15 -0
- package/dist/kpi-stat.js.map +1 -0
- package/dist/ledger-table.d.ts +85 -0
- package/dist/ledger-table.js +41 -0
- package/dist/ledger-table.js.map +1 -0
- package/dist/locale.d.ts +22 -0
- package/dist/locale.js +13 -0
- package/dist/locale.js.map +1 -0
- package/dist/money-amount.d.ts +15 -0
- package/dist/money-amount.js +10 -0
- package/dist/money-amount.js.map +1 -0
- package/dist/organization-number-input.d.ts +25 -0
- package/dist/organization-number-input.js +17 -0
- package/dist/organization-number-input.js.map +1 -0
- package/dist/payment-batch.d.ts +58 -0
- package/dist/payment-batch.js +31 -0
- package/dist/payment-batch.js.map +1 -0
- package/dist/payment-confirm.d.ts +19 -0
- package/dist/payment-confirm.js +11 -0
- package/dist/payment-confirm.js.map +1 -0
- package/dist/payment-reference-input.d.ts +27 -0
- package/dist/payment-reference-input.js +17 -0
- package/dist/payment-reference-input.js.map +1 -0
- package/dist/period-lock.d.ts +28 -0
- package/dist/period-lock.js +18 -0
- package/dist/period-lock.js.map +1 -0
- package/dist/recurring-revenue.d.ts +37 -0
- package/dist/recurring-revenue.js +18 -0
- package/dist/recurring-revenue.js.map +1 -0
- package/dist/sca-prompt.d.ts +16 -0
- package/dist/sca-prompt.js +10 -0
- package/dist/sca-prompt.js.map +1 -0
- package/dist/sheet-stack.d.ts +34 -0
- package/dist/sheet-stack.js +20 -0
- package/dist/sheet-stack.js.map +1 -0
- package/dist/stage-duration.d.ts +33 -0
- package/dist/stage-duration.js +16 -0
- package/dist/stage-duration.js.map +1 -0
- package/dist/supplier-invoice-inbox.d.ts +66 -0
- package/dist/supplier-invoice-inbox.js +38 -0
- package/dist/supplier-invoice-inbox.js.map +1 -0
- package/dist/tax-code-select.d.ts +33 -0
- package/dist/tax-code-select.js +23 -0
- package/dist/tax-code-select.js.map +1 -0
- package/dist/text-link.d.ts +33 -0
- package/dist/text-link.js +13 -0
- package/dist/text-link.js.map +1 -0
- package/dist/toasts.d.ts +53 -0
- package/dist/toasts.js +17 -0
- package/dist/toasts.js.map +1 -0
- package/dist/trend-chart.d.ts +43 -0
- package/dist/trend-chart.js +19 -0
- package/dist/trend-chart.js.map +1 -0
- package/dist/vat-return.d.ts +54 -0
- package/dist/vat-return.js +23 -0
- package/dist/vat-return.js.map +1 -0
- package/dist/voucher-composer.d.ts +69 -0
- package/dist/voucher-composer.js +15 -0
- package/dist/voucher-composer.js.map +1 -0
- package/dist/voucher-lines.d.ts +11 -0
- package/dist/voucher-lines.js +10 -0
- package/dist/voucher-lines.js.map +1 -0
- package/docs/llms.txt +214 -0
- package/package.json +308 -3
package/dist/index.js
ADDED
|
@@ -0,0 +1,1082 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
BookiToasts,
|
|
4
|
+
createToaster,
|
|
5
|
+
toast,
|
|
6
|
+
useAgentToasts
|
|
7
|
+
} from "./chunk-4GQUOBOG.js";
|
|
8
|
+
import {
|
|
9
|
+
TrendChart,
|
|
10
|
+
TrendChartPoint,
|
|
11
|
+
TrendChartRange,
|
|
12
|
+
TrendChartRoot,
|
|
13
|
+
trendChart
|
|
14
|
+
} from "./chunk-663UXACN.js";
|
|
15
|
+
import {
|
|
16
|
+
VatReturn,
|
|
17
|
+
VatReturnBack,
|
|
18
|
+
VatReturnBoxButton,
|
|
19
|
+
VatReturnReady,
|
|
20
|
+
VatReturnRoot,
|
|
21
|
+
VatReturnSubmit,
|
|
22
|
+
vatReturn
|
|
23
|
+
} from "./chunk-CDTDN4LY.js";
|
|
24
|
+
import {
|
|
25
|
+
VoucherComposer,
|
|
26
|
+
VoucherComposerRoot,
|
|
27
|
+
voucherComposer
|
|
28
|
+
} from "./chunk-4WC76FUE.js";
|
|
29
|
+
import {
|
|
30
|
+
VoucherLines
|
|
31
|
+
} from "./chunk-ROXGVKR2.js";
|
|
32
|
+
import {
|
|
33
|
+
PeriodLock,
|
|
34
|
+
PeriodLockRoot,
|
|
35
|
+
PeriodLockSet,
|
|
36
|
+
periodLock
|
|
37
|
+
} from "./chunk-SOXPKIQK.js";
|
|
38
|
+
import {
|
|
39
|
+
RecurringRevenue,
|
|
40
|
+
RecurringRevenueMovement,
|
|
41
|
+
RecurringRevenueRoot,
|
|
42
|
+
RecurringRevenueView,
|
|
43
|
+
recurringRevenue
|
|
44
|
+
} from "./chunk-N7GIVDUU.js";
|
|
45
|
+
import {
|
|
46
|
+
ScaPrompt
|
|
47
|
+
} from "./chunk-W6TKXS75.js";
|
|
48
|
+
import {
|
|
49
|
+
SheetStack,
|
|
50
|
+
SheetStackBack,
|
|
51
|
+
SheetStackClose,
|
|
52
|
+
SheetStackCrumb,
|
|
53
|
+
SheetStackRoot,
|
|
54
|
+
sheetStack
|
|
55
|
+
} from "./chunk-4EVVT6ME.js";
|
|
56
|
+
import {
|
|
57
|
+
StageDurationChart,
|
|
58
|
+
StageDurationRoot,
|
|
59
|
+
StageDurationStage,
|
|
60
|
+
stageDuration
|
|
61
|
+
} from "./chunk-QPSBRSBH.js";
|
|
62
|
+
import {
|
|
63
|
+
SupplierInvoiceInbox,
|
|
64
|
+
SupplierInvoiceInboxAccount,
|
|
65
|
+
SupplierInvoiceInboxApprove,
|
|
66
|
+
SupplierInvoiceInboxCell,
|
|
67
|
+
SupplierInvoiceInboxConfirm,
|
|
68
|
+
SupplierInvoiceInboxNext,
|
|
69
|
+
SupplierInvoiceInboxPrev,
|
|
70
|
+
SupplierInvoiceInboxReject,
|
|
71
|
+
SupplierInvoiceInboxRoot,
|
|
72
|
+
SupplierInvoiceInboxSearch,
|
|
73
|
+
SupplierInvoiceInboxSelect,
|
|
74
|
+
SupplierInvoiceInboxSort,
|
|
75
|
+
SupplierInvoiceInboxStatusFilter,
|
|
76
|
+
supplierInvoiceInbox
|
|
77
|
+
} from "./chunk-SX3U6DRW.js";
|
|
78
|
+
import {
|
|
79
|
+
TaxCodeSelect,
|
|
80
|
+
TaxCodeSelectControl,
|
|
81
|
+
TaxCodeSelectList,
|
|
82
|
+
TaxCodeSelectOption,
|
|
83
|
+
TaxCodeSelectRoot,
|
|
84
|
+
TaxCodeSelectTrigger,
|
|
85
|
+
taxCodeSelect
|
|
86
|
+
} from "./chunk-ZYPW7GCI.js";
|
|
87
|
+
import {
|
|
88
|
+
DocsIcon,
|
|
89
|
+
GitHubIcon,
|
|
90
|
+
TextLink
|
|
91
|
+
} from "./chunk-NMHTPP6I.js";
|
|
92
|
+
import {
|
|
93
|
+
KpiStat,
|
|
94
|
+
KpiStatRoot,
|
|
95
|
+
kpiStat
|
|
96
|
+
} from "./chunk-6HWFMC7V.js";
|
|
97
|
+
import {
|
|
98
|
+
LedgerTable,
|
|
99
|
+
LedgerTableBack,
|
|
100
|
+
LedgerTableCrumb,
|
|
101
|
+
LedgerTableDocument,
|
|
102
|
+
LedgerTableFrom,
|
|
103
|
+
LedgerTableLineAccount,
|
|
104
|
+
LedgerTableList,
|
|
105
|
+
LedgerTableNext,
|
|
106
|
+
LedgerTablePrevious,
|
|
107
|
+
LedgerTableRoot,
|
|
108
|
+
LedgerTableRow,
|
|
109
|
+
LedgerTableSearch,
|
|
110
|
+
LedgerTableSort,
|
|
111
|
+
LedgerTableTo,
|
|
112
|
+
LedgerTableVoucher,
|
|
113
|
+
ledgerTable
|
|
114
|
+
} from "./chunk-EKIWL37F.js";
|
|
115
|
+
import {
|
|
116
|
+
OrganizationNumberInput,
|
|
117
|
+
OrganizationNumberRoot,
|
|
118
|
+
organizationNumber
|
|
119
|
+
} from "./chunk-SR2HEE4U.js";
|
|
120
|
+
import {
|
|
121
|
+
PaymentBatch,
|
|
122
|
+
PaymentBatchApprove,
|
|
123
|
+
PaymentBatchRelease,
|
|
124
|
+
PaymentBatchRemove,
|
|
125
|
+
PaymentBatchRoot,
|
|
126
|
+
paymentBatch
|
|
127
|
+
} from "./chunk-62G3T2AA.js";
|
|
128
|
+
import {
|
|
129
|
+
PaymentConfirm
|
|
130
|
+
} from "./chunk-2HM7YSBC.js";
|
|
131
|
+
import {
|
|
132
|
+
PaymentReferenceInput,
|
|
133
|
+
PaymentReferenceRoot,
|
|
134
|
+
paymentReference
|
|
135
|
+
} from "./chunk-FBV7BFEQ.js";
|
|
136
|
+
import {
|
|
137
|
+
FinancialDateField,
|
|
138
|
+
FinancialDateRoot,
|
|
139
|
+
financialDate
|
|
140
|
+
} from "./chunk-NNP6GNEW.js";
|
|
141
|
+
import {
|
|
142
|
+
FixedAssetRegister,
|
|
143
|
+
FixedAssetRegisterBack,
|
|
144
|
+
FixedAssetRegisterCell,
|
|
145
|
+
FixedAssetRegisterConfirm,
|
|
146
|
+
FixedAssetRegisterDiscard,
|
|
147
|
+
FixedAssetRegisterDispose,
|
|
148
|
+
FixedAssetRegisterOpen,
|
|
149
|
+
FixedAssetRegisterPeriod,
|
|
150
|
+
FixedAssetRegisterPropose,
|
|
151
|
+
FixedAssetRegisterRoot,
|
|
152
|
+
fixedAssetRegister
|
|
153
|
+
} from "./chunk-AKC6N4QO.js";
|
|
154
|
+
import {
|
|
155
|
+
ForecastChart,
|
|
156
|
+
ForecastChartGrouping,
|
|
157
|
+
ForecastChartPeriod,
|
|
158
|
+
ForecastChartRoot,
|
|
159
|
+
forecastChart
|
|
160
|
+
} from "./chunk-QGYS5HS3.js";
|
|
161
|
+
import {
|
|
162
|
+
FunnelChart,
|
|
163
|
+
FunnelChartRoot,
|
|
164
|
+
FunnelChartStep,
|
|
165
|
+
funnelChart
|
|
166
|
+
} from "./chunk-HQYIFZZT.js";
|
|
167
|
+
import {
|
|
168
|
+
InvoiceEditor,
|
|
169
|
+
InvoiceEditorAdd,
|
|
170
|
+
InvoiceEditorCell,
|
|
171
|
+
InvoiceEditorFinalize,
|
|
172
|
+
InvoiceEditorRemove,
|
|
173
|
+
InvoiceEditorRoot,
|
|
174
|
+
InvoiceEditorTax,
|
|
175
|
+
invoiceEditor
|
|
176
|
+
} from "./chunk-YBMO3W5O.js";
|
|
177
|
+
import {
|
|
178
|
+
InvoiceNumberInput,
|
|
179
|
+
InvoiceNumberRoot,
|
|
180
|
+
invoiceNumber
|
|
181
|
+
} from "./chunk-WS2YJSNS.js";
|
|
182
|
+
import {
|
|
183
|
+
CountryToggle
|
|
184
|
+
} from "./chunk-M2WLQIFE.js";
|
|
185
|
+
import {
|
|
186
|
+
CurrencySelect,
|
|
187
|
+
CurrencySelectControl,
|
|
188
|
+
CurrencySelectList,
|
|
189
|
+
CurrencySelectOption,
|
|
190
|
+
CurrencySelectRoot,
|
|
191
|
+
CurrencySelectTrigger,
|
|
192
|
+
currencySelect
|
|
193
|
+
} from "./chunk-JWFGUI7A.js";
|
|
194
|
+
import {
|
|
195
|
+
DataTable,
|
|
196
|
+
DataTableColumnToggle,
|
|
197
|
+
DataTableNext,
|
|
198
|
+
DataTablePageSize,
|
|
199
|
+
DataTablePrev,
|
|
200
|
+
DataTableRoot,
|
|
201
|
+
DataTableSearch,
|
|
202
|
+
DataTableSelect,
|
|
203
|
+
DataTableSelectPage,
|
|
204
|
+
DataTableSort,
|
|
205
|
+
dataTable
|
|
206
|
+
} from "./chunk-TSX6BD72.js";
|
|
207
|
+
import {
|
|
208
|
+
DealPipeline,
|
|
209
|
+
DealPipelineLost,
|
|
210
|
+
DealPipelineMove,
|
|
211
|
+
DealPipelineReason,
|
|
212
|
+
DealPipelineReopen,
|
|
213
|
+
DealPipelineRoot,
|
|
214
|
+
DealPipelineWon,
|
|
215
|
+
dealPipeline
|
|
216
|
+
} from "./chunk-PUMSFFEU.js";
|
|
217
|
+
import {
|
|
218
|
+
DocumentSignoff,
|
|
219
|
+
DocumentSignoffReason,
|
|
220
|
+
DocumentSignoffRoot,
|
|
221
|
+
DocumentSignoffSign,
|
|
222
|
+
DocumentSignoffWithdraw,
|
|
223
|
+
documentSignoff
|
|
224
|
+
} from "./chunk-T4U2CT35.js";
|
|
225
|
+
import {
|
|
226
|
+
EvidenceList,
|
|
227
|
+
EvidenceListKind,
|
|
228
|
+
EvidenceListLink,
|
|
229
|
+
EvidenceListRemove,
|
|
230
|
+
EvidenceListRoot,
|
|
231
|
+
evidenceList
|
|
232
|
+
} from "./chunk-EDWQSKY7.js";
|
|
233
|
+
import {
|
|
234
|
+
ExceptionBanner
|
|
235
|
+
} from "./chunk-OTD7VUEC.js";
|
|
236
|
+
import {
|
|
237
|
+
ExpenseClaim,
|
|
238
|
+
ExpenseClaimAccept,
|
|
239
|
+
ExpenseClaimAdd,
|
|
240
|
+
ExpenseClaimApprove,
|
|
241
|
+
ExpenseClaimCell,
|
|
242
|
+
ExpenseClaimPick,
|
|
243
|
+
ExpenseClaimReject,
|
|
244
|
+
ExpenseClaimRemove,
|
|
245
|
+
ExpenseClaimRoot,
|
|
246
|
+
ExpenseClaimSubmit,
|
|
247
|
+
expenseClaim
|
|
248
|
+
} from "./chunk-AIGQPM4Y.js";
|
|
249
|
+
import {
|
|
250
|
+
BankAccountInput,
|
|
251
|
+
BankAccountRoot,
|
|
252
|
+
bankAccount
|
|
253
|
+
} from "./chunk-KLDUGI7L.js";
|
|
254
|
+
import {
|
|
255
|
+
IbanInput,
|
|
256
|
+
IbanRoot,
|
|
257
|
+
ibanInput
|
|
258
|
+
} from "./chunk-RTCKV4H2.js";
|
|
259
|
+
import {
|
|
260
|
+
BankReconciliation,
|
|
261
|
+
BankReconciliationApprove,
|
|
262
|
+
BankReconciliationMatch,
|
|
263
|
+
BankReconciliationReject,
|
|
264
|
+
BankReconciliationRoot,
|
|
265
|
+
bankReconciliation
|
|
266
|
+
} from "./chunk-HT6HGOLM.js";
|
|
267
|
+
import {
|
|
268
|
+
BarChart,
|
|
269
|
+
BarChartBar,
|
|
270
|
+
BarChartMore,
|
|
271
|
+
BarChartRoot,
|
|
272
|
+
barChart
|
|
273
|
+
} from "./chunk-ZKNVWQDU.js";
|
|
274
|
+
import {
|
|
275
|
+
BOOKI_HISTORY_KEYS,
|
|
276
|
+
attachAudit,
|
|
277
|
+
createBookiAgent,
|
|
278
|
+
createBookiHistory,
|
|
279
|
+
createHistory,
|
|
280
|
+
describeEntry,
|
|
281
|
+
isHistoryRestoring,
|
|
282
|
+
proposeChanges,
|
|
283
|
+
registerTools,
|
|
284
|
+
stageChanges
|
|
285
|
+
} from "./chunk-SHZFZRHV.js";
|
|
286
|
+
import {
|
|
287
|
+
CashflowWaterfall,
|
|
288
|
+
CashflowWaterfallRoot,
|
|
289
|
+
CashflowWaterfallStep,
|
|
290
|
+
cashflowWaterfall
|
|
291
|
+
} from "./chunk-7MYFKLPB.js";
|
|
292
|
+
import {
|
|
293
|
+
ClientRequests,
|
|
294
|
+
ClientRequestsAccept,
|
|
295
|
+
ClientRequestsReason,
|
|
296
|
+
ClientRequestsReject,
|
|
297
|
+
ClientRequestsRemind,
|
|
298
|
+
ClientRequestsRoot,
|
|
299
|
+
ClientRequestsSend,
|
|
300
|
+
clientRequests
|
|
301
|
+
} from "./chunk-ISPUO3AQ.js";
|
|
302
|
+
import {
|
|
303
|
+
CloseChecklist,
|
|
304
|
+
CloseChecklistComplete,
|
|
305
|
+
CloseChecklistReopen,
|
|
306
|
+
CloseChecklistRoot,
|
|
307
|
+
CloseChecklistSignOff,
|
|
308
|
+
closeChecklist
|
|
309
|
+
} from "./chunk-F3C77WLR.js";
|
|
310
|
+
import {
|
|
311
|
+
ConfirmDialog
|
|
312
|
+
} from "./chunk-U6PR3V2Q.js";
|
|
313
|
+
import {
|
|
314
|
+
AmountInput
|
|
315
|
+
} from "./chunk-35QKOOAI.js";
|
|
316
|
+
import {
|
|
317
|
+
AmountField,
|
|
318
|
+
AmountFieldCurrency,
|
|
319
|
+
AmountFieldInput,
|
|
320
|
+
AmountFieldRoot,
|
|
321
|
+
amountField
|
|
322
|
+
} from "./chunk-MBLQSZHE.js";
|
|
323
|
+
import {
|
|
324
|
+
ApprovalChain,
|
|
325
|
+
ApprovalChainApprove,
|
|
326
|
+
ApprovalChainEscalate,
|
|
327
|
+
ApprovalChainReject,
|
|
328
|
+
ApprovalChainRoot,
|
|
329
|
+
approvalChain
|
|
330
|
+
} from "./chunk-6CVPNV7N.js";
|
|
331
|
+
import "./chunk-U7NPK4WO.js";
|
|
332
|
+
import {
|
|
333
|
+
ApprovalGate
|
|
334
|
+
} from "./chunk-QE7KUQOI.js";
|
|
335
|
+
import {
|
|
336
|
+
AttestationStatus,
|
|
337
|
+
AttestationStatusRoot,
|
|
338
|
+
attestationStatus
|
|
339
|
+
} from "./chunk-37GDU76M.js";
|
|
340
|
+
import {
|
|
341
|
+
AuditFindings,
|
|
342
|
+
AuditFindingsConfirm,
|
|
343
|
+
AuditFindingsReason,
|
|
344
|
+
AuditFindingsReopen,
|
|
345
|
+
AuditFindingsRoot,
|
|
346
|
+
AuditFindingsWithdraw,
|
|
347
|
+
FINDING_BASES,
|
|
348
|
+
FINDING_CATEGORIES,
|
|
349
|
+
auditFindings
|
|
350
|
+
} from "./chunk-PFY3VJ2T.js";
|
|
351
|
+
import {
|
|
352
|
+
MoneyAmount
|
|
353
|
+
} from "./chunk-OXHKA3UZ.js";
|
|
354
|
+
import {
|
|
355
|
+
AuditTrail
|
|
356
|
+
} from "./chunk-QGT7VI6I.js";
|
|
357
|
+
import {
|
|
358
|
+
AuditWorkpaper,
|
|
359
|
+
AuditWorkpaperCell,
|
|
360
|
+
AuditWorkpaperConclusion,
|
|
361
|
+
AuditWorkpaperDraw,
|
|
362
|
+
AuditWorkpaperMethod,
|
|
363
|
+
AuditWorkpaperPrepare,
|
|
364
|
+
AuditWorkpaperResult,
|
|
365
|
+
AuditWorkpaperReview,
|
|
366
|
+
AuditWorkpaperRoot,
|
|
367
|
+
AuditWorkpaperSampler,
|
|
368
|
+
AuditWorkpaperTick,
|
|
369
|
+
AuditWorkpaperWithdraw,
|
|
370
|
+
auditWorkpaper
|
|
371
|
+
} from "./chunk-BZIOOU4I.js";
|
|
372
|
+
import {
|
|
373
|
+
AccountPicker,
|
|
374
|
+
AccountPickerControl,
|
|
375
|
+
AccountPickerEmpty,
|
|
376
|
+
AccountPickerInput,
|
|
377
|
+
AccountPickerList,
|
|
378
|
+
AccountPickerOption,
|
|
379
|
+
AccountPickerRoot,
|
|
380
|
+
accountPicker
|
|
381
|
+
} from "./chunk-YOOWFGCU.js";
|
|
382
|
+
import {
|
|
383
|
+
AccountingPeriodControl,
|
|
384
|
+
AccountingPeriodList,
|
|
385
|
+
AccountingPeriodOption,
|
|
386
|
+
AccountingPeriodRoot,
|
|
387
|
+
AccountingPeriodSelect,
|
|
388
|
+
AccountingPeriodTrigger,
|
|
389
|
+
accountingPeriod
|
|
390
|
+
} from "./chunk-4KWEZTO5.js";
|
|
391
|
+
import "./chunk-OYERLEER.js";
|
|
392
|
+
import {
|
|
393
|
+
ActivityTimeline,
|
|
394
|
+
ActivityTimelineComplete,
|
|
395
|
+
ActivityTimelineRemove,
|
|
396
|
+
ActivityTimelineRoot,
|
|
397
|
+
activityTimeline
|
|
398
|
+
} from "./chunk-JPUVGWLO.js";
|
|
399
|
+
import {
|
|
400
|
+
BookiAccessProvider,
|
|
401
|
+
useBookiAccess
|
|
402
|
+
} from "./chunk-K72VT6RJ.js";
|
|
403
|
+
import {
|
|
404
|
+
AgedBalances,
|
|
405
|
+
AgedBalancesBack,
|
|
406
|
+
AgedBalancesBucket,
|
|
407
|
+
AgedBalancesDate,
|
|
408
|
+
AgedBalancesNext,
|
|
409
|
+
AgedBalancesParty,
|
|
410
|
+
AgedBalancesPrev,
|
|
411
|
+
AgedBalancesRoot,
|
|
412
|
+
AgedBalancesSearch,
|
|
413
|
+
AgedBalancesSort,
|
|
414
|
+
agedBalances
|
|
415
|
+
} from "./chunk-7YTOVA5F.js";
|
|
416
|
+
import "./chunk-ZYLWSGWQ.js";
|
|
417
|
+
import {
|
|
418
|
+
AgentCursor,
|
|
419
|
+
createAgentCursor,
|
|
420
|
+
narrateNorwegian
|
|
421
|
+
} from "./chunk-M3MCIKF2.js";
|
|
422
|
+
import {
|
|
423
|
+
AgentPresence,
|
|
424
|
+
AgentProposal,
|
|
425
|
+
attachAgentPresence,
|
|
426
|
+
useAgentProposal
|
|
427
|
+
} from "./chunk-Y5EYY6WJ.js";
|
|
428
|
+
import {
|
|
429
|
+
AgingChart,
|
|
430
|
+
AgingChartBucket,
|
|
431
|
+
AgingChartClear,
|
|
432
|
+
AgingChartRoot,
|
|
433
|
+
agingChart
|
|
434
|
+
} from "./chunk-RPONJDFZ.js";
|
|
435
|
+
import "./chunk-WDME4U42.js";
|
|
436
|
+
import {
|
|
437
|
+
BookiLocaleProvider,
|
|
438
|
+
useBookiLocale,
|
|
439
|
+
useBookiLocaleOptional
|
|
440
|
+
} from "./chunk-GVP2N3K6.js";
|
|
441
|
+
import "./chunk-HKYEHBQT.js";
|
|
442
|
+
|
|
443
|
+
// src/use-booki-field.tsx
|
|
444
|
+
import { BookiError as BookiError4 } from "@booki-aui/core/msg";
|
|
445
|
+
import { usePart, usePrimitive } from "@ui-sdk/react/primitive";
|
|
446
|
+
|
|
447
|
+
// src/use-booki-field-amount.ts
|
|
448
|
+
import { BookiError } from "@booki-aui/core/msg";
|
|
449
|
+
import { rangeError } from "@booki-aui/primitives/amount-field";
|
|
450
|
+
import { lockOptions, lockState } from "@booki-aui/primitives/lock";
|
|
451
|
+
import { createChange, definePrimitive, dispatch } from "@ui-sdk/core";
|
|
452
|
+
var bookiFieldAmount = definePrimitive({
|
|
453
|
+
name: "field-amount",
|
|
454
|
+
options: {
|
|
455
|
+
value: "number",
|
|
456
|
+
currency: "string",
|
|
457
|
+
minMinor: "number",
|
|
458
|
+
maxMinor: "number",
|
|
459
|
+
allowEmpty: "boolean",
|
|
460
|
+
...lockOptions,
|
|
461
|
+
onValueChange: "callback"
|
|
462
|
+
},
|
|
463
|
+
// The product owns the value: the snapshot shows these, the product sets them.
|
|
464
|
+
controlled: ["minor", "currency", "refusal"],
|
|
465
|
+
state: (options) => ({
|
|
466
|
+
minor: options.value ?? (options.allowEmpty ? null : 0),
|
|
467
|
+
allowEmpty: options.allowEmpty ?? false,
|
|
468
|
+
currency: options.currency ?? "NOK",
|
|
469
|
+
minMinor: options.minMinor ?? 0,
|
|
470
|
+
maxMinor: options.maxMinor,
|
|
471
|
+
refusal: null,
|
|
472
|
+
...lockState(options)
|
|
473
|
+
}),
|
|
474
|
+
sync: (options) => {
|
|
475
|
+
const next = { ...lockState(options) };
|
|
476
|
+
if (options.allowEmpty !== void 0) next.allowEmpty = options.allowEmpty;
|
|
477
|
+
if (options.value !== void 0) next.minor = options.value === null && !options.allowEmpty ? 0 : options.value;
|
|
478
|
+
if (options.currency !== void 0) next.currency = options.currency;
|
|
479
|
+
if (options.minMinor !== void 0) next.minMinor = options.minMinor;
|
|
480
|
+
if (options.maxMinor !== void 0) next.maxMinor = options.maxMinor;
|
|
481
|
+
return next;
|
|
482
|
+
},
|
|
483
|
+
api: (context) => {
|
|
484
|
+
const change = createChange(context);
|
|
485
|
+
function commit(next, reason, event) {
|
|
486
|
+
const { minor } = context.store.get();
|
|
487
|
+
if (next === minor) return false;
|
|
488
|
+
if (dispatch(context, "onValueChange", next, { reason, event })) return false;
|
|
489
|
+
const ok = change("minor", next, { reason, event });
|
|
490
|
+
if (ok) {
|
|
491
|
+
if (context.options().value !== void 0) context.store.set({ minor });
|
|
492
|
+
}
|
|
493
|
+
return ok;
|
|
494
|
+
}
|
|
495
|
+
return {
|
|
496
|
+
/** Agent and product path: integer minor units. Throws a sentence that says what is allowed. */
|
|
497
|
+
setMinor: (minor, event) => {
|
|
498
|
+
const { currency, minMinor, maxMinor, allowEmpty } = context.store.get();
|
|
499
|
+
if (allowEmpty && (minor === null || typeof minor === "string" && minor.trim() === "")) {
|
|
500
|
+
return commit(null, "clear", event);
|
|
501
|
+
}
|
|
502
|
+
const n = typeof minor === "string" && /^\s*-?\d+\s*$/.test(minor) ? Number(minor) : minor;
|
|
503
|
+
if (typeof n !== "number" || !Number.isSafeInteger(n)) {
|
|
504
|
+
throw new BookiError("amount.not-minor", {
|
|
505
|
+
currency,
|
|
506
|
+
value: typeof minor === "string" ? JSON.stringify(minor) : String(minor)
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
if (rangeError(n, minMinor, maxMinor)) {
|
|
510
|
+
if (n < minMinor) throw new BookiError("amount.below-min", { minor: n, min: minMinor });
|
|
511
|
+
throw new BookiError("amount.above-max", { minor: n, max: maxMinor ?? "" });
|
|
512
|
+
}
|
|
513
|
+
return commit(n, "set-minor", event);
|
|
514
|
+
},
|
|
515
|
+
showRefusal: (message) => context.store.set({ refusal: message })
|
|
516
|
+
};
|
|
517
|
+
},
|
|
518
|
+
slots: (slot) => ({
|
|
519
|
+
root: slot({
|
|
520
|
+
role: "group",
|
|
521
|
+
attrs: (state) => ({
|
|
522
|
+
"data-slot": "field-amount",
|
|
523
|
+
"data-disabled": state.disabled ? "" : void 0,
|
|
524
|
+
"data-readonly": state.readOnly ? "" : void 0
|
|
525
|
+
}),
|
|
526
|
+
state: (state) => ({ minor: state.minor, refusal: state.refusal })
|
|
527
|
+
})
|
|
528
|
+
}),
|
|
529
|
+
agent: { actions: ["setMinor"] }
|
|
530
|
+
});
|
|
531
|
+
|
|
532
|
+
// src/use-booki-field-code.ts
|
|
533
|
+
import { closest, LISTED_WHOLE } from "@booki-aui/core/closest";
|
|
534
|
+
import { BookiError as BookiError2 } from "@booki-aui/core/msg";
|
|
535
|
+
import { lockOptions as lockOptions2, lockState as lockState2 } from "@booki-aui/primitives/lock";
|
|
536
|
+
import { createChange as createChange2, definePrimitive as definePrimitive2, dispatch as dispatch2 } from "@ui-sdk/core";
|
|
537
|
+
var shownItems = (items) => items.length <= LISTED_WHOLE ? items : [];
|
|
538
|
+
var itemsHint = (items) => items.length <= LISTED_WHOLE ? "" : `${items.length} items, not listed here: query({ within: <this ref>, text: "a code or a whole word" }) finds one; without text it lists 50 at a time, and from: 50 reads the next 50.`;
|
|
539
|
+
var named = (item) => item.label === item.value ? item.value : `${item.value} (${item.label})`;
|
|
540
|
+
function optionFor(items, raw) {
|
|
541
|
+
if (typeof raw !== "string") return void 0;
|
|
542
|
+
const byValue = items.find((item) => item.value === raw);
|
|
543
|
+
if (byValue) return byValue;
|
|
544
|
+
const wanted = raw.trim().toLowerCase();
|
|
545
|
+
const byLabel = items.filter((item) => item.label.trim().toLowerCase() === wanted);
|
|
546
|
+
return byLabel.length === 1 ? byLabel[0] : void 0;
|
|
547
|
+
}
|
|
548
|
+
function refuseUnknown(items, raw) {
|
|
549
|
+
const value = String(raw).slice(0, 80);
|
|
550
|
+
if (items.length <= LISTED_WHOLE) {
|
|
551
|
+
throw new BookiError2("field.unknown-code", {
|
|
552
|
+
value,
|
|
553
|
+
items: items.map(named).join(", ") || "(none)"
|
|
554
|
+
});
|
|
555
|
+
}
|
|
556
|
+
const near = closest(items, raw, (item) => item.label, 8);
|
|
557
|
+
throw new BookiError2("field.unknown-code-more", {
|
|
558
|
+
value,
|
|
559
|
+
items: near.map(named).join(", "),
|
|
560
|
+
count: items.length
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
var bookiFieldCode = definePrimitive2({
|
|
564
|
+
name: "field-code",
|
|
565
|
+
options: {
|
|
566
|
+
value: "string",
|
|
567
|
+
options: "value",
|
|
568
|
+
allowEmpty: "boolean",
|
|
569
|
+
personOnly: "value",
|
|
570
|
+
...lockOptions2,
|
|
571
|
+
onValueChange: "callback"
|
|
572
|
+
},
|
|
573
|
+
controlled: ["code", "items", "itemsHint", "personOnly", "refusal"],
|
|
574
|
+
state: (options) => {
|
|
575
|
+
const all = options.options ?? [];
|
|
576
|
+
return {
|
|
577
|
+
code: options.value ?? "",
|
|
578
|
+
options: all,
|
|
579
|
+
items: shownItems(all),
|
|
580
|
+
itemsHint: itemsHint(all),
|
|
581
|
+
allowEmpty: options.allowEmpty ?? false,
|
|
582
|
+
personOnly: options.personOnly ?? [],
|
|
583
|
+
refusal: null,
|
|
584
|
+
...lockState2(options)
|
|
585
|
+
};
|
|
586
|
+
},
|
|
587
|
+
sync: (options) => {
|
|
588
|
+
const next = { ...lockState2(options) };
|
|
589
|
+
if (options.allowEmpty !== void 0) next.allowEmpty = options.allowEmpty;
|
|
590
|
+
if (options.personOnly !== void 0) next.personOnly = options.personOnly;
|
|
591
|
+
if (options.value !== void 0) next.code = options.value;
|
|
592
|
+
if (options.options !== void 0) {
|
|
593
|
+
next.options = options.options;
|
|
594
|
+
next.items = shownItems(options.options);
|
|
595
|
+
next.itemsHint = itemsHint(options.options);
|
|
596
|
+
}
|
|
597
|
+
return next;
|
|
598
|
+
},
|
|
599
|
+
api: (context) => {
|
|
600
|
+
const change = createChange2(context);
|
|
601
|
+
function commit(next, reason, event) {
|
|
602
|
+
const { code } = context.store.get();
|
|
603
|
+
if (next === code) return false;
|
|
604
|
+
if (dispatch2(context, "onValueChange", next, { reason, event })) return false;
|
|
605
|
+
const ok = change("code", next, { reason, event });
|
|
606
|
+
if (ok && context.options().value !== void 0) context.store.set({ code });
|
|
607
|
+
return ok;
|
|
608
|
+
}
|
|
609
|
+
return {
|
|
610
|
+
/**
|
|
611
|
+
* Agent and product path: one of the options, by its `value` or its label (any case).
|
|
612
|
+
* With `allowEmpty`, "" or null clears it. Throws a sentence that lists each option as `value (label)`.
|
|
613
|
+
* A value in `personOnly` is refused unless the call carries a person's DOM event.
|
|
614
|
+
*/
|
|
615
|
+
setCode: (code, event) => {
|
|
616
|
+
const { options, allowEmpty } = context.store.get();
|
|
617
|
+
if (allowEmpty && (code === null || code === "")) return commit("", "clear", event);
|
|
618
|
+
const option = optionFor(options, code);
|
|
619
|
+
if (!option) refuseUnknown(options, code);
|
|
620
|
+
const fromPerson = typeof Event !== "undefined" && event instanceof Event;
|
|
621
|
+
if (!fromPerson && context.store.get().personOnly.includes(option.value)) {
|
|
622
|
+
throw new BookiError2("field.person-only-code", { item: named(option) });
|
|
623
|
+
}
|
|
624
|
+
return commit(option.value, "set-code", event);
|
|
625
|
+
},
|
|
626
|
+
items: () => context.store.get().options,
|
|
627
|
+
showRefusal: (message) => context.store.set({ refusal: message })
|
|
628
|
+
};
|
|
629
|
+
},
|
|
630
|
+
slots: (slot) => ({
|
|
631
|
+
root: slot({
|
|
632
|
+
role: "group",
|
|
633
|
+
attrs: (state) => ({
|
|
634
|
+
"data-slot": "field-code",
|
|
635
|
+
"data-disabled": state.disabled ? "" : void 0,
|
|
636
|
+
"data-readonly": state.readOnly ? "" : void 0
|
|
637
|
+
}),
|
|
638
|
+
state: (state) => ({ code: state.code, refusal: state.refusal })
|
|
639
|
+
})
|
|
640
|
+
}),
|
|
641
|
+
agent: { actions: ["setCode"], items: (api) => api.items() }
|
|
642
|
+
});
|
|
643
|
+
|
|
644
|
+
// src/use-booki-field-date.ts
|
|
645
|
+
import { BookiError as BookiError3 } from "@booki-aui/core/msg";
|
|
646
|
+
import { lockOptions as lockOptions3, lockState as lockState3 } from "@booki-aui/primitives/lock";
|
|
647
|
+
import { createChange as createChange3, definePrimitive as definePrimitive3, dispatch as dispatch3 } from "@ui-sdk/core";
|
|
648
|
+
function isIsoDate(value) {
|
|
649
|
+
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}$/.test(value)) return false;
|
|
650
|
+
const time = Date.parse(`${value}T00:00:00Z`);
|
|
651
|
+
return !Number.isNaN(time) && new Date(time).toISOString().slice(0, 10) === value;
|
|
652
|
+
}
|
|
653
|
+
var bookiFieldDate = definePrimitive3({
|
|
654
|
+
name: "field-date",
|
|
655
|
+
options: {
|
|
656
|
+
value: "string",
|
|
657
|
+
...lockOptions3,
|
|
658
|
+
onValueChange: "callback"
|
|
659
|
+
},
|
|
660
|
+
controlled: ["date", "refusal"],
|
|
661
|
+
state: (options) => ({
|
|
662
|
+
date: options.value ?? "",
|
|
663
|
+
refusal: null,
|
|
664
|
+
...lockState3(options)
|
|
665
|
+
}),
|
|
666
|
+
sync: (options) => {
|
|
667
|
+
const next = { ...lockState3(options) };
|
|
668
|
+
if (options.value !== void 0) next.date = options.value;
|
|
669
|
+
return next;
|
|
670
|
+
},
|
|
671
|
+
api: (context) => {
|
|
672
|
+
const change = createChange3(context);
|
|
673
|
+
function commit(next, reason, event) {
|
|
674
|
+
const { date } = context.store.get();
|
|
675
|
+
if (next === date) return false;
|
|
676
|
+
if (dispatch3(context, "onValueChange", next, { reason, event })) return false;
|
|
677
|
+
const ok = change("date", next, { reason, event });
|
|
678
|
+
if (ok && context.options().value !== void 0) context.store.set({ date });
|
|
679
|
+
return ok;
|
|
680
|
+
}
|
|
681
|
+
return {
|
|
682
|
+
/** Agent and product path: an ISO date that exists. Throws a sentence that says the format. */
|
|
683
|
+
setDate: (value, event) => {
|
|
684
|
+
if (!isIsoDate(value)) throw new BookiError3("date.invalid", { value: String(value).slice(0, 80) });
|
|
685
|
+
return commit(value, "set-date", event);
|
|
686
|
+
},
|
|
687
|
+
showRefusal: (message) => context.store.set({ refusal: message })
|
|
688
|
+
};
|
|
689
|
+
},
|
|
690
|
+
slots: (slot) => ({
|
|
691
|
+
root: slot({
|
|
692
|
+
role: "group",
|
|
693
|
+
attrs: (state) => ({
|
|
694
|
+
"data-slot": "field-date",
|
|
695
|
+
"data-disabled": state.disabled ? "" : void 0,
|
|
696
|
+
"data-readonly": state.readOnly ? "" : void 0
|
|
697
|
+
}),
|
|
698
|
+
state: (state) => ({ date: state.date, refusal: state.refusal })
|
|
699
|
+
})
|
|
700
|
+
}),
|
|
701
|
+
agent: { actions: ["setDate"] }
|
|
702
|
+
});
|
|
703
|
+
|
|
704
|
+
// src/use-booki-field.tsx
|
|
705
|
+
function useBookiField(options, render) {
|
|
706
|
+
const definition = options.kind === "amount" ? bookiFieldAmount : options.kind === "code" ? bookiFieldCode : bookiFieldDate;
|
|
707
|
+
const handle = usePrimitive(definition, primitiveOptions(options));
|
|
708
|
+
const api = handle.api;
|
|
709
|
+
const change = (next, event) => {
|
|
710
|
+
const write = options.kind === "amount" ? api.setMinor : options.kind === "code" ? api.setCode : api.setDate;
|
|
711
|
+
try {
|
|
712
|
+
write(next, event);
|
|
713
|
+
} catch (error) {
|
|
714
|
+
if (!(error instanceof BookiError4)) throw error;
|
|
715
|
+
api.showRefusal(error.message);
|
|
716
|
+
return false;
|
|
717
|
+
}
|
|
718
|
+
api.showRefusal(null);
|
|
719
|
+
return true;
|
|
720
|
+
};
|
|
721
|
+
const part = {
|
|
722
|
+
"aria-label": options.label,
|
|
723
|
+
children: (state) => {
|
|
724
|
+
const shown = state;
|
|
725
|
+
return render({
|
|
726
|
+
value: options.kind === "amount" ? shown.minor : options.kind === "code" ? shown.code : shown.date,
|
|
727
|
+
change,
|
|
728
|
+
refusal: shown.refusal
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
};
|
|
732
|
+
return usePart(handle, "root", {}, part, "div");
|
|
733
|
+
}
|
|
734
|
+
function primitiveOptions(options) {
|
|
735
|
+
const { kind: _kind, label: _label, ...rest } = options;
|
|
736
|
+
return rest;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
// src/index.ts
|
|
740
|
+
import { createChange as createChange4, definePrimitive as definePrimitive4 } from "@ui-sdk/core";
|
|
741
|
+
import {
|
|
742
|
+
createParts,
|
|
743
|
+
usePart as usePart2,
|
|
744
|
+
usePrimitive as usePrimitive2
|
|
745
|
+
} from "@ui-sdk/react/primitive";
|
|
746
|
+
import {
|
|
747
|
+
actAndRecord,
|
|
748
|
+
withRecordedAct,
|
|
749
|
+
isAllowed
|
|
750
|
+
} from "@booki-aui/primitives/agent-policy";
|
|
751
|
+
import { personOnly } from "@booki-aui/primitives/person-only";
|
|
752
|
+
export {
|
|
753
|
+
AccountPicker,
|
|
754
|
+
AccountPickerControl,
|
|
755
|
+
AccountPickerEmpty,
|
|
756
|
+
AccountPickerInput,
|
|
757
|
+
AccountPickerList,
|
|
758
|
+
AccountPickerOption,
|
|
759
|
+
AccountPickerRoot,
|
|
760
|
+
AccountingPeriodControl,
|
|
761
|
+
AccountingPeriodList,
|
|
762
|
+
AccountingPeriodOption,
|
|
763
|
+
AccountingPeriodRoot,
|
|
764
|
+
AccountingPeriodSelect,
|
|
765
|
+
AccountingPeriodTrigger,
|
|
766
|
+
ActivityTimeline,
|
|
767
|
+
ActivityTimelineComplete,
|
|
768
|
+
ActivityTimelineRemove,
|
|
769
|
+
ActivityTimelineRoot,
|
|
770
|
+
AgedBalances,
|
|
771
|
+
AgedBalancesBack,
|
|
772
|
+
AgedBalancesBucket,
|
|
773
|
+
AgedBalancesDate,
|
|
774
|
+
AgedBalancesNext,
|
|
775
|
+
AgedBalancesParty,
|
|
776
|
+
AgedBalancesPrev,
|
|
777
|
+
AgedBalancesRoot,
|
|
778
|
+
AgedBalancesSearch,
|
|
779
|
+
AgedBalancesSort,
|
|
780
|
+
AgentCursor,
|
|
781
|
+
AgentPresence,
|
|
782
|
+
AgentProposal,
|
|
783
|
+
AgingChart,
|
|
784
|
+
AgingChartBucket,
|
|
785
|
+
AgingChartClear,
|
|
786
|
+
AgingChartRoot,
|
|
787
|
+
AmountField,
|
|
788
|
+
AmountFieldCurrency,
|
|
789
|
+
AmountFieldInput,
|
|
790
|
+
AmountFieldRoot,
|
|
791
|
+
AmountInput,
|
|
792
|
+
ApprovalChain,
|
|
793
|
+
ApprovalChainApprove,
|
|
794
|
+
ApprovalChainEscalate,
|
|
795
|
+
ApprovalChainReject,
|
|
796
|
+
ApprovalChainRoot,
|
|
797
|
+
ApprovalGate,
|
|
798
|
+
AttestationStatus,
|
|
799
|
+
AttestationStatusRoot,
|
|
800
|
+
AuditFindings,
|
|
801
|
+
AuditFindingsConfirm,
|
|
802
|
+
AuditFindingsReason,
|
|
803
|
+
AuditFindingsReopen,
|
|
804
|
+
AuditFindingsRoot,
|
|
805
|
+
AuditFindingsWithdraw,
|
|
806
|
+
AuditTrail,
|
|
807
|
+
AuditWorkpaper,
|
|
808
|
+
AuditWorkpaperCell,
|
|
809
|
+
AuditWorkpaperConclusion,
|
|
810
|
+
AuditWorkpaperDraw,
|
|
811
|
+
AuditWorkpaperMethod,
|
|
812
|
+
AuditWorkpaperPrepare,
|
|
813
|
+
AuditWorkpaperResult,
|
|
814
|
+
AuditWorkpaperReview,
|
|
815
|
+
AuditWorkpaperRoot,
|
|
816
|
+
AuditWorkpaperSampler,
|
|
817
|
+
AuditWorkpaperTick,
|
|
818
|
+
AuditWorkpaperWithdraw,
|
|
819
|
+
BOOKI_HISTORY_KEYS,
|
|
820
|
+
BankAccountInput,
|
|
821
|
+
BankAccountRoot,
|
|
822
|
+
BankReconciliation,
|
|
823
|
+
BankReconciliationApprove,
|
|
824
|
+
BankReconciliationMatch,
|
|
825
|
+
BankReconciliationReject,
|
|
826
|
+
BankReconciliationRoot,
|
|
827
|
+
BarChart,
|
|
828
|
+
BarChartBar,
|
|
829
|
+
BarChartMore,
|
|
830
|
+
BarChartRoot,
|
|
831
|
+
BookiAccessProvider,
|
|
832
|
+
BookiLocaleProvider,
|
|
833
|
+
BookiToasts,
|
|
834
|
+
CashflowWaterfall,
|
|
835
|
+
CashflowWaterfallRoot,
|
|
836
|
+
CashflowWaterfallStep,
|
|
837
|
+
ClientRequests,
|
|
838
|
+
ClientRequestsAccept,
|
|
839
|
+
ClientRequestsReason,
|
|
840
|
+
ClientRequestsReject,
|
|
841
|
+
ClientRequestsRemind,
|
|
842
|
+
ClientRequestsRoot,
|
|
843
|
+
ClientRequestsSend,
|
|
844
|
+
CloseChecklist,
|
|
845
|
+
CloseChecklistComplete,
|
|
846
|
+
CloseChecklistReopen,
|
|
847
|
+
CloseChecklistRoot,
|
|
848
|
+
CloseChecklistSignOff,
|
|
849
|
+
ConfirmDialog,
|
|
850
|
+
CountryToggle,
|
|
851
|
+
CurrencySelect,
|
|
852
|
+
CurrencySelectControl,
|
|
853
|
+
CurrencySelectList,
|
|
854
|
+
CurrencySelectOption,
|
|
855
|
+
CurrencySelectRoot,
|
|
856
|
+
CurrencySelectTrigger,
|
|
857
|
+
DataTable,
|
|
858
|
+
DataTableColumnToggle,
|
|
859
|
+
DataTableNext,
|
|
860
|
+
DataTablePageSize,
|
|
861
|
+
DataTablePrev,
|
|
862
|
+
DataTableRoot,
|
|
863
|
+
DataTableSearch,
|
|
864
|
+
DataTableSelect,
|
|
865
|
+
DataTableSelectPage,
|
|
866
|
+
DataTableSort,
|
|
867
|
+
DealPipeline,
|
|
868
|
+
DealPipelineLost,
|
|
869
|
+
DealPipelineMove,
|
|
870
|
+
DealPipelineReason,
|
|
871
|
+
DealPipelineReopen,
|
|
872
|
+
DealPipelineRoot,
|
|
873
|
+
DealPipelineWon,
|
|
874
|
+
DocsIcon,
|
|
875
|
+
DocumentSignoff,
|
|
876
|
+
DocumentSignoffReason,
|
|
877
|
+
DocumentSignoffRoot,
|
|
878
|
+
DocumentSignoffSign,
|
|
879
|
+
DocumentSignoffWithdraw,
|
|
880
|
+
EvidenceList,
|
|
881
|
+
EvidenceListKind,
|
|
882
|
+
EvidenceListLink,
|
|
883
|
+
EvidenceListRemove,
|
|
884
|
+
EvidenceListRoot,
|
|
885
|
+
ExceptionBanner,
|
|
886
|
+
ExpenseClaim,
|
|
887
|
+
ExpenseClaimAccept,
|
|
888
|
+
ExpenseClaimAdd,
|
|
889
|
+
ExpenseClaimApprove,
|
|
890
|
+
ExpenseClaimCell,
|
|
891
|
+
ExpenseClaimPick,
|
|
892
|
+
ExpenseClaimReject,
|
|
893
|
+
ExpenseClaimRemove,
|
|
894
|
+
ExpenseClaimRoot,
|
|
895
|
+
ExpenseClaimSubmit,
|
|
896
|
+
FINDING_BASES,
|
|
897
|
+
FINDING_CATEGORIES,
|
|
898
|
+
FinancialDateField,
|
|
899
|
+
FinancialDateRoot,
|
|
900
|
+
FixedAssetRegister,
|
|
901
|
+
FixedAssetRegisterBack,
|
|
902
|
+
FixedAssetRegisterCell,
|
|
903
|
+
FixedAssetRegisterConfirm,
|
|
904
|
+
FixedAssetRegisterDiscard,
|
|
905
|
+
FixedAssetRegisterDispose,
|
|
906
|
+
FixedAssetRegisterOpen,
|
|
907
|
+
FixedAssetRegisterPeriod,
|
|
908
|
+
FixedAssetRegisterPropose,
|
|
909
|
+
FixedAssetRegisterRoot,
|
|
910
|
+
ForecastChart,
|
|
911
|
+
ForecastChartGrouping,
|
|
912
|
+
ForecastChartPeriod,
|
|
913
|
+
ForecastChartRoot,
|
|
914
|
+
FunnelChart,
|
|
915
|
+
FunnelChartRoot,
|
|
916
|
+
FunnelChartStep,
|
|
917
|
+
GitHubIcon,
|
|
918
|
+
IbanInput,
|
|
919
|
+
IbanRoot,
|
|
920
|
+
InvoiceEditor,
|
|
921
|
+
InvoiceEditorAdd,
|
|
922
|
+
InvoiceEditorCell,
|
|
923
|
+
InvoiceEditorFinalize,
|
|
924
|
+
InvoiceEditorRemove,
|
|
925
|
+
InvoiceEditorRoot,
|
|
926
|
+
InvoiceEditorTax,
|
|
927
|
+
InvoiceNumberInput,
|
|
928
|
+
InvoiceNumberRoot,
|
|
929
|
+
KpiStat,
|
|
930
|
+
KpiStatRoot,
|
|
931
|
+
LedgerTable,
|
|
932
|
+
LedgerTableBack,
|
|
933
|
+
LedgerTableCrumb,
|
|
934
|
+
LedgerTableDocument,
|
|
935
|
+
LedgerTableFrom,
|
|
936
|
+
LedgerTableLineAccount,
|
|
937
|
+
LedgerTableList,
|
|
938
|
+
LedgerTableNext,
|
|
939
|
+
LedgerTablePrevious,
|
|
940
|
+
LedgerTableRoot,
|
|
941
|
+
LedgerTableRow,
|
|
942
|
+
LedgerTableSearch,
|
|
943
|
+
LedgerTableSort,
|
|
944
|
+
LedgerTableTo,
|
|
945
|
+
LedgerTableVoucher,
|
|
946
|
+
MoneyAmount,
|
|
947
|
+
OrganizationNumberInput,
|
|
948
|
+
OrganizationNumberRoot,
|
|
949
|
+
PaymentBatch,
|
|
950
|
+
PaymentBatchApprove,
|
|
951
|
+
PaymentBatchRelease,
|
|
952
|
+
PaymentBatchRemove,
|
|
953
|
+
PaymentBatchRoot,
|
|
954
|
+
PaymentConfirm,
|
|
955
|
+
PaymentReferenceInput,
|
|
956
|
+
PaymentReferenceRoot,
|
|
957
|
+
PeriodLock,
|
|
958
|
+
PeriodLockRoot,
|
|
959
|
+
PeriodLockSet,
|
|
960
|
+
RecurringRevenue,
|
|
961
|
+
RecurringRevenueMovement,
|
|
962
|
+
RecurringRevenueRoot,
|
|
963
|
+
RecurringRevenueView,
|
|
964
|
+
ScaPrompt,
|
|
965
|
+
SheetStack,
|
|
966
|
+
SheetStackBack,
|
|
967
|
+
SheetStackClose,
|
|
968
|
+
SheetStackCrumb,
|
|
969
|
+
SheetStackRoot,
|
|
970
|
+
StageDurationChart,
|
|
971
|
+
StageDurationRoot,
|
|
972
|
+
StageDurationStage,
|
|
973
|
+
SupplierInvoiceInbox,
|
|
974
|
+
SupplierInvoiceInboxAccount,
|
|
975
|
+
SupplierInvoiceInboxApprove,
|
|
976
|
+
SupplierInvoiceInboxCell,
|
|
977
|
+
SupplierInvoiceInboxConfirm,
|
|
978
|
+
SupplierInvoiceInboxNext,
|
|
979
|
+
SupplierInvoiceInboxPrev,
|
|
980
|
+
SupplierInvoiceInboxReject,
|
|
981
|
+
SupplierInvoiceInboxRoot,
|
|
982
|
+
SupplierInvoiceInboxSearch,
|
|
983
|
+
SupplierInvoiceInboxSelect,
|
|
984
|
+
SupplierInvoiceInboxSort,
|
|
985
|
+
SupplierInvoiceInboxStatusFilter,
|
|
986
|
+
TaxCodeSelect,
|
|
987
|
+
TaxCodeSelectControl,
|
|
988
|
+
TaxCodeSelectList,
|
|
989
|
+
TaxCodeSelectOption,
|
|
990
|
+
TaxCodeSelectRoot,
|
|
991
|
+
TaxCodeSelectTrigger,
|
|
992
|
+
TextLink,
|
|
993
|
+
TrendChart,
|
|
994
|
+
TrendChartPoint,
|
|
995
|
+
TrendChartRange,
|
|
996
|
+
TrendChartRoot,
|
|
997
|
+
VatReturn,
|
|
998
|
+
VatReturnBack,
|
|
999
|
+
VatReturnBoxButton,
|
|
1000
|
+
VatReturnReady,
|
|
1001
|
+
VatReturnRoot,
|
|
1002
|
+
VatReturnSubmit,
|
|
1003
|
+
VoucherComposer,
|
|
1004
|
+
VoucherComposerRoot,
|
|
1005
|
+
VoucherLines,
|
|
1006
|
+
accountPicker,
|
|
1007
|
+
accountingPeriod,
|
|
1008
|
+
actAndRecord,
|
|
1009
|
+
activityTimeline,
|
|
1010
|
+
agedBalances,
|
|
1011
|
+
agingChart,
|
|
1012
|
+
amountField,
|
|
1013
|
+
approvalChain,
|
|
1014
|
+
attachAgentPresence,
|
|
1015
|
+
attachAudit,
|
|
1016
|
+
attestationStatus,
|
|
1017
|
+
auditFindings,
|
|
1018
|
+
auditWorkpaper,
|
|
1019
|
+
bankAccount,
|
|
1020
|
+
bankReconciliation,
|
|
1021
|
+
barChart,
|
|
1022
|
+
bookiFieldAmount,
|
|
1023
|
+
bookiFieldCode,
|
|
1024
|
+
bookiFieldDate,
|
|
1025
|
+
cashflowWaterfall,
|
|
1026
|
+
clientRequests,
|
|
1027
|
+
closeChecklist,
|
|
1028
|
+
createAgentCursor,
|
|
1029
|
+
createBookiAgent,
|
|
1030
|
+
createBookiHistory,
|
|
1031
|
+
createChange4 as createChange,
|
|
1032
|
+
createHistory,
|
|
1033
|
+
createParts,
|
|
1034
|
+
createToaster,
|
|
1035
|
+
currencySelect,
|
|
1036
|
+
dataTable,
|
|
1037
|
+
dealPipeline,
|
|
1038
|
+
definePrimitive4 as definePrimitive,
|
|
1039
|
+
describeEntry,
|
|
1040
|
+
documentSignoff,
|
|
1041
|
+
evidenceList,
|
|
1042
|
+
expenseClaim,
|
|
1043
|
+
financialDate,
|
|
1044
|
+
fixedAssetRegister,
|
|
1045
|
+
forecastChart,
|
|
1046
|
+
funnelChart,
|
|
1047
|
+
ibanInput,
|
|
1048
|
+
invoiceEditor,
|
|
1049
|
+
invoiceNumber,
|
|
1050
|
+
isAllowed,
|
|
1051
|
+
isHistoryRestoring,
|
|
1052
|
+
kpiStat,
|
|
1053
|
+
ledgerTable,
|
|
1054
|
+
narrateNorwegian,
|
|
1055
|
+
organizationNumber,
|
|
1056
|
+
paymentBatch,
|
|
1057
|
+
paymentReference,
|
|
1058
|
+
periodLock,
|
|
1059
|
+
personOnly,
|
|
1060
|
+
proposeChanges,
|
|
1061
|
+
recurringRevenue,
|
|
1062
|
+
registerTools,
|
|
1063
|
+
sheetStack,
|
|
1064
|
+
stageChanges,
|
|
1065
|
+
stageDuration,
|
|
1066
|
+
supplierInvoiceInbox,
|
|
1067
|
+
taxCodeSelect,
|
|
1068
|
+
toast,
|
|
1069
|
+
trendChart,
|
|
1070
|
+
useAgentProposal,
|
|
1071
|
+
useAgentToasts,
|
|
1072
|
+
useBookiAccess,
|
|
1073
|
+
useBookiField,
|
|
1074
|
+
useBookiLocale,
|
|
1075
|
+
useBookiLocaleOptional,
|
|
1076
|
+
usePart2 as usePart,
|
|
1077
|
+
usePrimitive2 as usePrimitive,
|
|
1078
|
+
vatReturn,
|
|
1079
|
+
voucherComposer,
|
|
1080
|
+
withRecordedAct
|
|
1081
|
+
};
|
|
1082
|
+
//# sourceMappingURL=index.js.map
|