@ketvietlab/ketsuite 0.1.1 → 0.1.3
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/LICENSE +1 -1
- package/README.md +15 -1
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +59 -0
- package/dist/cli.js.map +1 -0
- package/dist/deployment.d.ts +5 -0
- package/dist/deployment.d.ts.map +1 -0
- package/dist/deployment.js +152 -0
- package/dist/deployment.js.map +1 -0
- package/dist/development.d.ts +8 -0
- package/dist/development.d.ts.map +1 -0
- package/dist/development.js +40 -0
- package/dist/development.js.map +1 -0
- package/dist/index.d.ts +77 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +66 -6
- package/dist/index.js.map +1 -1
- package/dist/modules/account/analytics.d.ts +32 -0
- package/dist/modules/account/analytics.d.ts.map +1 -0
- package/dist/modules/account/analytics.js +457 -0
- package/dist/modules/account/analytics.js.map +1 -0
- package/dist/modules/account/assets-costing.d.ts +4 -0
- package/dist/modules/account/assets-costing.d.ts.map +1 -0
- package/dist/modules/account/assets-costing.js +1134 -0
- package/dist/modules/account/assets-costing.js.map +1 -0
- package/dist/modules/account/audit.d.ts +3 -0
- package/dist/modules/account/audit.d.ts.map +1 -0
- package/dist/modules/account/audit.js +14 -0
- package/dist/modules/account/audit.js.map +1 -0
- package/dist/modules/account/books.d.ts +4 -0
- package/dist/modules/account/books.d.ts.map +1 -0
- package/dist/modules/account/books.js +150 -0
- package/dist/modules/account/books.js.map +1 -0
- package/dist/modules/account/cash-receivables.d.ts +3 -0
- package/dist/modules/account/cash-receivables.d.ts.map +1 -0
- package/dist/modules/account/cash-receivables.js +1087 -0
- package/dist/modules/account/cash-receivables.js.map +1 -0
- package/dist/modules/account/close.d.ts +4 -0
- package/dist/modules/account/close.d.ts.map +1 -0
- package/dist/modules/account/close.js +343 -0
- package/dist/modules/account/close.js.map +1 -0
- package/dist/modules/account/date.d.ts +21 -0
- package/dist/modules/account/date.d.ts.map +1 -0
- package/dist/modules/account/date.js +70 -0
- package/dist/modules/account/date.js.map +1 -0
- package/dist/modules/account/functions.d.ts +131 -3
- package/dist/modules/account/functions.d.ts.map +1 -1
- package/dist/modules/account/functions.js +2570 -389
- package/dist/modules/account/functions.js.map +1 -1
- package/dist/modules/account/index.d.ts +1 -2
- package/dist/modules/account/index.d.ts.map +1 -1
- package/dist/modules/account/index.js +403 -8
- package/dist/modules/account/index.js.map +1 -1
- package/dist/modules/account/models.d.ts.map +1 -1
- package/dist/modules/account/models.js +748 -0
- package/dist/modules/account/models.js.map +1 -1
- package/dist/modules/account/money.d.ts +60 -0
- package/dist/modules/account/money.d.ts.map +1 -0
- package/dist/modules/account/money.js +237 -0
- package/dist/modules/account/money.js.map +1 -0
- package/dist/modules/account/open-items.d.ts +3 -0
- package/dist/modules/account/open-items.d.ts.map +1 -0
- package/dist/modules/account/open-items.js +390 -0
- package/dist/modules/account/open-items.js.map +1 -0
- package/dist/modules/account/opening.d.ts +3 -0
- package/dist/modules/account/opening.d.ts.map +1 -0
- package/dist/modules/account/opening.js +323 -0
- package/dist/modules/account/opening.js.map +1 -0
- package/dist/modules/account/period.d.ts +21 -0
- package/dist/modules/account/period.d.ts.map +1 -0
- package/dist/modules/account/period.js +155 -0
- package/dist/modules/account/period.js.map +1 -0
- package/dist/modules/account/relations.d.ts.map +1 -1
- package/dist/modules/account/relations.js +46 -0
- package/dist/modules/account/relations.js.map +1 -1
- package/dist/modules/account/reports.d.ts +4 -0
- package/dist/modules/account/reports.d.ts.map +1 -0
- package/dist/modules/account/reports.js +125 -0
- package/dist/modules/account/reports.js.map +1 -0
- package/dist/modules/account/setup.d.ts +3 -1
- package/dist/modules/account/setup.d.ts.map +1 -1
- package/dist/modules/account/setup.js +45 -160
- package/dist/modules/account/setup.js.map +1 -1
- package/dist/modules/account_activity_backend/index.d.ts.map +1 -1
- package/dist/modules/account_activity_backend/index.js +0 -1
- package/dist/modules/account_activity_backend/index.js.map +1 -1
- package/dist/modules/account_backend/index.js +3339 -494
- package/dist/modules/account_backend/index.js.map +1 -1
- package/dist/modules/account_backend/overview.d.ts +92 -0
- package/dist/modules/account_backend/overview.d.ts.map +1 -0
- package/dist/modules/account_backend/overview.js +257 -0
- package/dist/modules/account_backend/overview.js.map +1 -0
- package/dist/modules/account_backend/relation-control.d.ts +48 -0
- package/dist/modules/account_backend/relation-control.d.ts.map +1 -0
- package/dist/modules/account_backend/relation-control.js +67 -0
- package/dist/modules/account_backend/relation-control.js.map +1 -0
- package/dist/modules/account_backend/screens/account-defaults.d.ts +28 -0
- package/dist/modules/account_backend/screens/account-defaults.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/account-defaults.js +60 -0
- package/dist/modules/account_backend/screens/account-defaults.js.map +1 -0
- package/dist/modules/account_backend/screens/account-form.d.ts +16 -0
- package/dist/modules/account_backend/screens/account-form.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/account-form.js +53 -0
- package/dist/modules/account_backend/screens/account-form.js.map +1 -0
- package/dist/modules/account_backend/screens/accounting-books.d.ts +15 -0
- package/dist/modules/account_backend/screens/accounting-books.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/accounting-books.js +86 -0
- package/dist/modules/account_backend/screens/accounting-books.js.map +1 -0
- package/dist/modules/account_backend/screens/accounts-list.d.ts +50 -0
- package/dist/modules/account_backend/screens/accounts-list.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/accounts-list.js +66 -0
- package/dist/modules/account_backend/screens/accounts-list.js.map +1 -0
- package/dist/modules/account_backend/screens/customer-invoice-form.d.ts +13 -0
- package/dist/modules/account_backend/screens/customer-invoice-form.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/customer-invoice-form.js +20 -0
- package/dist/modules/account_backend/screens/customer-invoice-form.js.map +1 -0
- package/dist/modules/account_backend/screens/customer-invoices-list.d.ts +62 -0
- package/dist/modules/account_backend/screens/customer-invoices-list.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/customer-invoices-list.js +82 -0
- package/dist/modules/account_backend/screens/customer-invoices-list.js.map +1 -0
- package/dist/modules/account_backend/screens/general-ledger.d.ts +24 -0
- package/dist/modules/account_backend/screens/general-ledger.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/general-ledger.js +73 -0
- package/dist/modules/account_backend/screens/general-ledger.js.map +1 -0
- package/dist/modules/account_backend/screens/index.d.ts +27 -0
- package/dist/modules/account_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/index.js +27 -0
- package/dist/modules/account_backend/screens/index.js.map +1 -0
- package/dist/modules/account_backend/screens/journal-entries-list.d.ts +48 -0
- package/dist/modules/account_backend/screens/journal-entries-list.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/journal-entries-list.js +58 -0
- package/dist/modules/account_backend/screens/journal-entries-list.js.map +1 -0
- package/dist/modules/account_backend/screens/journal-entry-create.d.ts +14 -0
- package/dist/modules/account_backend/screens/journal-entry-create.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/journal-entry-create.js +41 -0
- package/dist/modules/account_backend/screens/journal-entry-create.js.map +1 -0
- package/dist/modules/account_backend/screens/journal-form.d.ts +15 -0
- package/dist/modules/account_backend/screens/journal-form.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/journal-form.js +53 -0
- package/dist/modules/account_backend/screens/journal-form.js.map +1 -0
- package/dist/modules/account_backend/screens/journals-list.d.ts +51 -0
- package/dist/modules/account_backend/screens/journals-list.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/journals-list.js +70 -0
- package/dist/modules/account_backend/screens/journals-list.js.map +1 -0
- package/dist/modules/account_backend/screens/move-detail.d.ts +26 -0
- package/dist/modules/account_backend/screens/move-detail.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/move-detail.js +130 -0
- package/dist/modules/account_backend/screens/move-detail.js.map +1 -0
- package/dist/modules/account_backend/screens/opening-balances.d.ts +28 -0
- package/dist/modules/account_backend/screens/opening-balances.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/opening-balances.js +96 -0
- package/dist/modules/account_backend/screens/opening-balances.js.map +1 -0
- package/dist/modules/account_backend/screens/overview.d.ts +62 -0
- package/dist/modules/account_backend/screens/overview.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/overview.js +215 -0
- package/dist/modules/account_backend/screens/overview.js.map +1 -0
- package/dist/modules/account_backend/screens/partner-statement.d.ts +26 -0
- package/dist/modules/account_backend/screens/partner-statement.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/partner-statement.js +82 -0
- package/dist/modules/account_backend/screens/partner-statement.js.map +1 -0
- package/dist/modules/account_backend/screens/payment-form.d.ts +14 -0
- package/dist/modules/account_backend/screens/payment-form.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/payment-form.js +21 -0
- package/dist/modules/account_backend/screens/payment-form.js.map +1 -0
- package/dist/modules/account_backend/screens/payment-term-form.d.ts +25 -0
- package/dist/modules/account_backend/screens/payment-term-form.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/payment-term-form.js +96 -0
- package/dist/modules/account_backend/screens/payment-term-form.js.map +1 -0
- package/dist/modules/account_backend/screens/payment-terms-list.d.ts +23 -0
- package/dist/modules/account_backend/screens/payment-terms-list.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/payment-terms-list.js +104 -0
- package/dist/modules/account_backend/screens/payment-terms-list.js.map +1 -0
- package/dist/modules/account_backend/screens/payments-list.d.ts +62 -0
- package/dist/modules/account_backend/screens/payments-list.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/payments-list.js +71 -0
- package/dist/modules/account_backend/screens/payments-list.js.map +1 -0
- package/dist/modules/account_backend/screens/period-closes.d.ts +21 -0
- package/dist/modules/account_backend/screens/period-closes.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/period-closes.js +123 -0
- package/dist/modules/account_backend/screens/period-closes.js.map +1 -0
- package/dist/modules/account_backend/screens/shared.d.ts +16 -0
- package/dist/modules/account_backend/screens/shared.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/shared.js +15 -0
- package/dist/modules/account_backend/screens/shared.js.map +1 -0
- package/dist/modules/account_backend/screens/tax-form.d.ts +14 -0
- package/dist/modules/account_backend/screens/tax-form.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/tax-form.js +25 -0
- package/dist/modules/account_backend/screens/tax-form.js.map +1 -0
- package/dist/modules/account_backend/screens/taxes-list.d.ts +55 -0
- package/dist/modules/account_backend/screens/taxes-list.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/taxes-list.js +83 -0
- package/dist/modules/account_backend/screens/taxes-list.js.map +1 -0
- package/dist/modules/account_backend/screens/trial-balance.d.ts +19 -0
- package/dist/modules/account_backend/screens/trial-balance.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/trial-balance.js +75 -0
- package/dist/modules/account_backend/screens/trial-balance.js.map +1 -0
- package/dist/modules/account_backend/screens/vendor-bill-form.d.ts +13 -0
- package/dist/modules/account_backend/screens/vendor-bill-form.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/vendor-bill-form.js +20 -0
- package/dist/modules/account_backend/screens/vendor-bill-form.js.map +1 -0
- package/dist/modules/account_backend/screens/vendor-bills-list.d.ts +62 -0
- package/dist/modules/account_backend/screens/vendor-bills-list.d.ts.map +1 -0
- package/dist/modules/account_backend/screens/vendor-bills-list.js +84 -0
- package/dist/modules/account_backend/screens/vendor-bills-list.js.map +1 -0
- package/dist/modules/account_mail_backend/index.d.ts.map +1 -1
- package/dist/modules/account_mail_backend/index.js +0 -1
- package/dist/modules/account_mail_backend/index.js.map +1 -1
- package/dist/modules/account_partner/index.js +0 -2
- package/dist/modules/account_partner/index.js.map +1 -1
- package/dist/modules/account_partner_backend/index.d.ts +1 -1
- package/dist/modules/account_partner_backend/index.d.ts.map +1 -1
- package/dist/modules/account_partner_backend/index.js +2 -3
- package/dist/modules/account_partner_backend/index.js.map +1 -1
- package/dist/modules/account_partner_backend/routes.d.ts.map +1 -1
- package/dist/modules/account_partner_backend/routes.js +19 -25
- package/dist/modules/account_partner_backend/routes.js.map +1 -1
- package/dist/modules/account_partner_backend/screens/accounting-terms.d.ts +20 -0
- package/dist/modules/account_partner_backend/screens/accounting-terms.d.ts.map +1 -0
- package/dist/modules/account_partner_backend/screens/accounting-terms.js +63 -0
- package/dist/modules/account_partner_backend/screens/accounting-terms.js.map +1 -0
- package/dist/modules/account_partner_backend/screens/index.d.ts +2 -0
- package/dist/modules/account_partner_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/account_partner_backend/screens/index.js +2 -0
- package/dist/modules/account_partner_backend/screens/index.js.map +1 -0
- package/dist/modules/account_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/account_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/account_staff_channel/channel-routes.js +787 -0
- package/dist/modules/account_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/account_staff_channel/functions.d.ts.map +1 -0
- package/dist/modules/account_staff_channel/functions.js +143 -0
- package/dist/modules/account_staff_channel/functions.js.map +1 -0
- package/dist/modules/account_staff_channel/index.d.ts +5 -0
- package/dist/modules/account_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/account_staff_channel/index.js +42 -0
- package/dist/modules/account_staff_channel/index.js.map +1 -0
- package/dist/modules/account_staff_channel/models.d.ts.map +1 -0
- package/dist/modules/account_staff_channel/models.js +30 -0
- package/dist/modules/account_staff_channel/models.js.map +1 -0
- package/dist/modules/activity/index.d.ts.map +1 -1
- package/dist/modules/activity/index.js +0 -1
- package/dist/modules/activity/index.js.map +1 -1
- package/dist/modules/activity_backend/index.d.ts +1 -1
- package/dist/modules/activity_backend/index.d.ts.map +1 -1
- package/dist/modules/activity_backend/index.js +3 -12
- package/dist/modules/activity_backend/index.js.map +1 -1
- package/dist/modules/activity_backend/routes.d.ts.map +1 -1
- package/dist/modules/activity_backend/routes.js +36 -22
- package/dist/modules/activity_backend/routes.js.map +1 -1
- package/dist/modules/activity_backend/screens/activities-list.d.ts +15 -0
- package/dist/modules/activity_backend/screens/activities-list.d.ts.map +1 -0
- package/dist/modules/activity_backend/screens/activities-list.js +40 -0
- package/dist/modules/activity_backend/screens/activities-list.js.map +1 -0
- package/dist/modules/activity_backend/screens/index.d.ts +2 -0
- package/dist/modules/activity_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/activity_backend/screens/index.js +2 -0
- package/dist/modules/activity_backend/screens/index.js.map +1 -0
- package/dist/modules/address/data/VN/NOTICE.md +1 -1
- package/dist/modules/address/index.d.ts.map +1 -1
- package/dist/modules/address/index.js +0 -1
- package/dist/modules/address/index.js.map +1 -1
- package/dist/modules/address_backend/index.d.ts +1 -1
- package/dist/modules/address_backend/index.d.ts.map +1 -1
- package/dist/modules/address_backend/index.js +1 -3
- package/dist/modules/address_backend/index.js.map +1 -1
- package/dist/modules/address_backend/routes.d.ts.map +1 -1
- package/dist/modules/address_backend/routes.js +20 -27
- package/dist/modules/address_backend/routes.js.map +1 -1
- package/dist/modules/address_backend/screens/catalogs-list.d.ts +14 -0
- package/dist/modules/address_backend/screens/catalogs-list.d.ts.map +1 -0
- package/dist/modules/address_backend/screens/catalogs-list.js +38 -0
- package/dist/modules/address_backend/screens/catalogs-list.js.map +1 -0
- package/dist/modules/address_backend/screens/country-browser.d.ts +12 -0
- package/dist/modules/address_backend/screens/country-browser.d.ts.map +1 -0
- package/dist/modules/address_backend/screens/country-browser.js +74 -0
- package/dist/modules/address_backend/screens/country-browser.js.map +1 -0
- package/dist/modules/address_backend/screens/index.d.ts +4 -0
- package/dist/modules/address_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/address_backend/screens/index.js +3 -0
- package/dist/modules/address_backend/screens/index.js.map +1 -0
- package/dist/modules/address_backend/screens/types.d.ts +20 -0
- package/dist/modules/address_backend/screens/types.d.ts.map +1 -0
- package/dist/modules/address_backend/screens/types.js.map +1 -0
- package/dist/modules/attendance/channel-routes.d.ts +2 -0
- package/dist/modules/attendance/channel-routes.d.ts.map +1 -0
- package/dist/modules/attendance/channel-routes.js +234 -0
- package/dist/modules/attendance/channel-routes.js.map +1 -0
- package/dist/modules/attendance/functions.d.ts.map +1 -1
- package/dist/modules/attendance/functions.js +171 -22
- package/dist/modules/attendance/functions.js.map +1 -1
- package/dist/modules/attendance/index.d.ts.map +1 -1
- package/dist/modules/attendance/index.js +4 -2
- package/dist/modules/attendance/index.js.map +1 -1
- package/dist/modules/attendance/messages.d.ts +6 -0
- package/dist/modules/attendance/messages.d.ts.map +1 -1
- package/dist/modules/attendance/messages.js +6 -0
- package/dist/modules/attendance/messages.js.map +1 -1
- package/dist/modules/attendance/models.d.ts.map +1 -1
- package/dist/modules/attendance/models.js +1 -0
- package/dist/modules/attendance/models.js.map +1 -1
- package/dist/modules/attendance_backend/index.d.ts +3 -1
- package/dist/modules/attendance_backend/index.d.ts.map +1 -1
- package/dist/modules/attendance_backend/index.js +65 -4
- package/dist/modules/attendance_backend/index.js.map +1 -1
- package/dist/modules/attendance_backend/routes.d.ts.map +1 -1
- package/dist/modules/attendance_backend/routes.js +240 -53
- package/dist/modules/attendance_backend/routes.js.map +1 -1
- package/dist/modules/attendance_backend/screens/credentials.d.ts +32 -0
- package/dist/modules/attendance_backend/screens/credentials.d.ts.map +1 -0
- package/dist/modules/attendance_backend/screens/credentials.js +84 -0
- package/dist/modules/attendance_backend/screens/credentials.js.map +1 -0
- package/dist/modules/attendance_backend/screens/index.d.ts +4 -0
- package/dist/modules/attendance_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/attendance_backend/screens/index.js +4 -0
- package/dist/modules/attendance_backend/screens/index.js.map +1 -0
- package/dist/modules/attendance_backend/screens/my-work.d.ts +35 -0
- package/dist/modules/attendance_backend/screens/my-work.d.ts.map +1 -0
- package/dist/modules/attendance_backend/screens/my-work.js +189 -0
- package/dist/modules/attendance_backend/screens/my-work.js.map +1 -0
- package/dist/modules/attendance_backend/screens/period.d.ts +22 -0
- package/dist/modules/attendance_backend/screens/period.d.ts.map +1 -0
- package/dist/modules/attendance_backend/screens/period.js +85 -0
- package/dist/modules/attendance_backend/screens/period.js.map +1 -0
- package/dist/modules/attendance_backend/screens.d.ts +0 -4
- package/dist/modules/attendance_backend/screens.d.ts.map +1 -1
- package/dist/modules/attendance_backend/screens.js +1 -209
- package/dist/modules/attendance_backend/screens.js.map +1 -1
- package/dist/modules/backend/catalogue.d.ts.map +1 -1
- package/dist/modules/backend/catalogue.js +53 -115
- package/dist/modules/backend/catalogue.js.map +1 -1
- package/dist/modules/backend/chart.d.ts +42 -0
- package/dist/modules/backend/chart.d.ts.map +1 -0
- package/dist/modules/backend/chart.js +39 -0
- package/dist/modules/backend/chart.js.map +1 -0
- package/dist/modules/backend/design/HANDOFF.md +118 -38
- package/dist/modules/backend/design/auth.css +463 -0
- package/dist/modules/backend/design/brand/logo-dark.png +0 -0
- package/dist/modules/backend/design/brand/logo-light.png +0 -0
- package/dist/modules/backend/design/charts.css +229 -0
- package/dist/modules/backend/design/client/chart.d.mts +31 -0
- package/dist/modules/backend/design/client/chart.d.mts.map +1 -0
- package/dist/modules/backend/design/client/chart.mjs +23 -0
- package/dist/modules/backend/design/client/chart.mjs.map +7 -0
- package/dist/modules/backend/design/client/relation-select.d.mts +6 -1
- package/dist/modules/backend/design/client/relation-select.d.mts.map +1 -1
- package/dist/modules/backend/design/client/relation-select.mjs +2 -7
- package/dist/modules/backend/design/client/relation-select.mjs.map +7 -1
- package/dist/modules/backend/design/client/table-selection.d.mts +7 -0
- package/dist/modules/backend/design/client/table-selection.d.mts.map +1 -0
- package/dist/modules/backend/design/client/table-selection.mjs +2 -0
- package/dist/modules/backend/design/client/table-selection.mjs.map +7 -0
- package/dist/modules/backend/design/content.css +766 -0
- package/dist/modules/backend/design/controls.css +451 -0
- package/dist/modules/backend/design/design-system.css +2 -0
- package/dist/modules/backend/design/forms.css +1134 -0
- package/dist/modules/backend/design/foundation.css +423 -0
- package/dist/modules/backend/design/lists.css +1462 -0
- package/dist/modules/backend/design/record.css +526 -0
- package/dist/modules/backend/design/responsive.css +331 -0
- package/dist/modules/backend/design/tokens.css +317 -92
- package/dist/modules/backend/index.d.ts +12 -5
- package/dist/modules/backend/index.d.ts.map +1 -1
- package/dist/modules/backend/index.js +32 -15
- package/dist/modules/backend/index.js.map +1 -1
- package/dist/modules/backend/islands.d.ts.map +1 -1
- package/dist/modules/backend/islands.js +22 -4
- package/dist/modules/backend/islands.js.map +1 -1
- package/dist/modules/backend/joints.d.ts +1 -1
- package/dist/modules/backend/joints.d.ts.map +1 -1
- package/dist/modules/backend/joints.js +14 -6
- package/dist/modules/backend/joints.js.map +1 -1
- package/dist/modules/backend/list-search.d.ts +33 -0
- package/dist/modules/backend/list-search.d.ts.map +1 -0
- package/dist/modules/backend/list-search.js +232 -0
- package/dist/modules/backend/list-search.js.map +1 -0
- package/dist/modules/backend/menus.d.ts.map +1 -1
- package/dist/modules/backend/menus.js +3 -12
- package/dist/modules/backend/menus.js.map +1 -1
- package/dist/modules/backend/messages.d.ts +1 -1
- package/dist/modules/backend/messages.d.ts.map +1 -1
- package/dist/modules/backend/messages.js +48 -35
- package/dist/modules/backend/messages.js.map +1 -1
- package/dist/modules/backend/paging.d.ts +1 -1
- package/dist/modules/backend/paging.d.ts.map +1 -1
- package/dist/modules/backend/paging.js +1 -1
- package/dist/modules/backend/paging.js.map +1 -1
- package/dist/modules/backend/relation-select.d.ts +2 -57
- package/dist/modules/backend/relation-select.d.ts.map +1 -1
- package/dist/modules/backend/relation-select.js +2 -0
- package/dist/modules/backend/relation-select.js.map +1 -1
- package/dist/modules/backend/routes.d.ts +1 -8
- package/dist/modules/backend/routes.d.ts.map +1 -1
- package/dist/modules/backend/routes.js +36 -111
- package/dist/modules/backend/routes.js.map +1 -1
- package/dist/modules/backend/screen.d.ts +130 -0
- package/dist/modules/backend/screen.d.ts.map +1 -0
- package/dist/modules/backend/screen.js +205 -0
- package/dist/modules/backend/screen.js.map +1 -0
- package/dist/modules/backend/screens.d.ts +11 -14
- package/dist/modules/backend/screens.d.ts.map +1 -1
- package/dist/modules/backend/screens.js +13 -70
- package/dist/modules/backend/screens.js.map +1 -1
- package/dist/modules/business_report_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/business_report_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/business_report_staff_channel/channel-routes.js +438 -0
- package/dist/modules/business_report_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/business_report_staff_channel/index.d.ts +5 -0
- package/dist/modules/business_report_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/business_report_staff_channel/index.js +18 -0
- package/dist/modules/business_report_staff_channel/index.js.map +1 -0
- package/dist/modules/calendar/index.d.ts.map +1 -1
- package/dist/modules/calendar/index.js +0 -1
- package/dist/modules/calendar/index.js.map +1 -1
- package/dist/modules/calendar/recurrence.d.ts.map +1 -1
- package/dist/modules/calendar/recurrence.js +3 -11
- package/dist/modules/calendar/recurrence.js.map +1 -1
- package/dist/modules/calendar_activity/index.d.ts.map +1 -1
- package/dist/modules/calendar_activity/index.js +0 -2
- package/dist/modules/calendar_activity/index.js.map +1 -1
- package/dist/modules/calendar_backend/index.d.ts +1 -1
- package/dist/modules/calendar_backend/index.d.ts.map +1 -1
- package/dist/modules/calendar_backend/index.js +1 -3
- package/dist/modules/calendar_backend/index.js.map +1 -1
- package/dist/modules/calendar_backend/routes.d.ts.map +1 -1
- package/dist/modules/calendar_backend/routes.js +10 -22
- package/dist/modules/calendar_backend/routes.js.map +1 -1
- package/dist/modules/calendar_backend/screens/calendar.d.ts +5 -0
- package/dist/modules/calendar_backend/screens/calendar.d.ts.map +1 -0
- package/dist/modules/calendar_backend/screens/calendar.js +10 -0
- package/dist/modules/calendar_backend/screens/calendar.js.map +1 -0
- package/dist/modules/calendar_backend/screens/index.d.ts +2 -0
- package/dist/modules/calendar_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/calendar_backend/screens/index.js +2 -0
- package/dist/modules/calendar_backend/screens/index.js.map +1 -0
- package/dist/modules/calendar_mail_transport/index.d.ts.map +1 -1
- package/dist/modules/calendar_mail_transport/index.js +0 -2
- package/dist/modules/calendar_mail_transport/index.js.map +1 -1
- package/dist/modules/channel_api/core.d.ts +253 -0
- package/dist/modules/channel_api/core.d.ts.map +1 -0
- package/dist/modules/channel_api/core.js +587 -0
- package/dist/modules/channel_api/core.js.map +1 -0
- package/dist/modules/channel_api/customer.d.ts +21 -0
- package/dist/modules/channel_api/customer.d.ts.map +1 -0
- package/dist/modules/channel_api/customer.js +368 -0
- package/dist/modules/channel_api/customer.js.map +1 -0
- package/dist/modules/channel_api/index.d.ts +6 -0
- package/dist/modules/channel_api/index.d.ts.map +1 -0
- package/dist/modules/channel_api/index.js +66 -0
- package/dist/modules/channel_api/index.js.map +1 -0
- package/dist/modules/channel_api/openapi.d.ts +17 -0
- package/dist/modules/channel_api/openapi.d.ts.map +1 -0
- package/dist/modules/channel_api/openapi.js +105 -0
- package/dist/modules/channel_api/openapi.js.map +1 -0
- package/dist/modules/channel_api/staff.d.ts +7 -0
- package/dist/modules/channel_api/staff.d.ts.map +1 -0
- package/dist/modules/channel_api/staff.js +209 -0
- package/dist/modules/channel_api/staff.js.map +1 -0
- package/dist/modules/company/functions.d.ts.map +1 -1
- package/dist/modules/company/functions.js +93 -12
- package/dist/modules/company/functions.js.map +1 -1
- package/dist/modules/company/index.js +3 -3
- package/dist/modules/company/index.js.map +1 -1
- package/dist/modules/company/messages.d.ts +8 -0
- package/dist/modules/company/messages.d.ts.map +1 -1
- package/dist/modules/company/messages.js +8 -0
- package/dist/modules/company/messages.js.map +1 -1
- package/dist/modules/company/models.d.ts +2 -2
- package/dist/modules/company/models.d.ts.map +1 -1
- package/dist/modules/company/models.js +12 -2
- package/dist/modules/company/models.js.map +1 -1
- package/dist/modules/company_backend/index.d.ts +2 -1
- package/dist/modules/company_backend/index.d.ts.map +1 -1
- package/dist/modules/company_backend/index.js +25 -4
- package/dist/modules/company_backend/index.js.map +1 -1
- package/dist/modules/company_backend/routes.d.ts.map +1 -1
- package/dist/modules/company_backend/routes.js +314 -96
- package/dist/modules/company_backend/routes.js.map +1 -1
- package/dist/modules/company_backend/screens/branch-form.d.ts +18 -0
- package/dist/modules/company_backend/screens/branch-form.d.ts.map +1 -0
- package/dist/modules/company_backend/screens/branch-form.js +63 -0
- package/dist/modules/company_backend/screens/branch-form.js.map +1 -0
- package/dist/modules/company_backend/screens/companies-list.d.ts +18 -0
- package/dist/modules/company_backend/screens/companies-list.d.ts.map +1 -0
- package/dist/modules/company_backend/screens/companies-list.js +49 -0
- package/dist/modules/company_backend/screens/companies-list.js.map +1 -0
- package/dist/modules/company_backend/screens/company-form.d.ts +25 -0
- package/dist/modules/company_backend/screens/company-form.d.ts.map +1 -0
- package/dist/modules/company_backend/screens/company-form.js +159 -0
- package/dist/modules/company_backend/screens/company-form.js.map +1 -0
- package/dist/modules/company_backend/screens/context.d.ts +30 -0
- package/dist/modules/company_backend/screens/context.d.ts.map +1 -0
- package/dist/modules/company_backend/screens/context.js +48 -0
- package/dist/modules/company_backend/screens/context.js.map +1 -0
- package/dist/modules/company_backend/screens/hierarchy.d.ts +16 -0
- package/dist/modules/company_backend/screens/hierarchy.d.ts.map +1 -0
- package/dist/modules/company_backend/screens/hierarchy.js +41 -0
- package/dist/modules/company_backend/screens/hierarchy.js.map +1 -0
- package/dist/modules/company_backend/screens/index.d.ts +7 -0
- package/dist/modules/company_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/company_backend/screens/index.js +6 -0
- package/dist/modules/company_backend/screens/index.js.map +1 -0
- package/dist/modules/company_backend/screens/types.d.ts +22 -0
- package/dist/modules/company_backend/screens/types.d.ts.map +1 -0
- package/dist/modules/company_backend/screens/types.js +2 -0
- package/dist/modules/company_backend/screens/types.js.map +1 -0
- package/dist/modules/crm/functions.d.ts +1 -1
- package/dist/modules/crm/functions.d.ts.map +1 -1
- package/dist/modules/crm/functions.js +534 -75
- package/dist/modules/crm/functions.js.map +1 -1
- package/dist/modules/crm/index.d.ts +2 -1
- package/dist/modules/crm/index.d.ts.map +1 -1
- package/dist/modules/crm/index.js +3 -4
- package/dist/modules/crm/index.js.map +1 -1
- package/dist/modules/crm/jobs.d.ts +10 -0
- package/dist/modules/crm/jobs.d.ts.map +1 -1
- package/dist/modules/crm/jobs.js +50 -1
- package/dist/modules/crm/jobs.js.map +1 -1
- package/dist/modules/crm/messages.d.ts +14 -1
- package/dist/modules/crm/messages.d.ts.map +1 -1
- package/dist/modules/crm/messages.js +26 -0
- package/dist/modules/crm/messages.js.map +1 -1
- package/dist/modules/crm/models.d.ts.map +1 -1
- package/dist/modules/crm/models.js +25 -0
- package/dist/modules/crm/models.js.map +1 -1
- package/dist/modules/crm/operations.d.ts +110 -1
- package/dist/modules/crm/operations.d.ts.map +1 -1
- package/dist/modules/crm/operations.js +612 -84
- package/dist/modules/crm/operations.js.map +1 -1
- package/dist/modules/crm_backend/client/crm-kanban-view.d.mts.map +1 -1
- package/dist/modules/crm_backend/client/crm-kanban-view.mjs +132 -32
- package/dist/modules/crm_backend/client/crm-kanban-view.mjs.map +1 -1
- package/dist/modules/crm_backend/client/crm.css +398 -63
- package/dist/modules/crm_backend/index.d.ts.map +1 -1
- package/dist/modules/crm_backend/index.js +12 -4
- package/dist/modules/crm_backend/index.js.map +1 -1
- package/dist/modules/crm_backend/messages.d.ts +212 -0
- package/dist/modules/crm_backend/messages.d.ts.map +1 -1
- package/dist/modules/crm_backend/messages.js +212 -0
- package/dist/modules/crm_backend/messages.js.map +1 -1
- package/dist/modules/crm_backend/relation-control.d.ts +51 -0
- package/dist/modules/crm_backend/relation-control.d.ts.map +1 -0
- package/dist/modules/crm_backend/relation-control.js +107 -0
- package/dist/modules/crm_backend/relation-control.js.map +1 -0
- package/dist/modules/crm_backend/routes.d.ts.map +1 -1
- package/dist/modules/crm_backend/routes.js +1068 -260
- package/dist/modules/crm_backend/routes.js.map +1 -1
- package/dist/modules/crm_backend/screens/activity-planner.d.ts +22 -0
- package/dist/modules/crm_backend/screens/activity-planner.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens/activity-planner.js +159 -0
- package/dist/modules/crm_backend/screens/activity-planner.js.map +1 -0
- package/dist/modules/crm_backend/screens/case-create.d.ts +15 -0
- package/dist/modules/crm_backend/screens/case-create.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens/case-create.js +19 -0
- package/dist/modules/crm_backend/screens/case-create.js.map +1 -0
- package/dist/modules/crm_backend/screens/case-detail.d.ts +46 -0
- package/dist/modules/crm_backend/screens/case-detail.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens/case-detail.js +506 -0
- package/dist/modules/crm_backend/screens/case-detail.js.map +1 -0
- package/dist/modules/crm_backend/screens/cases-list.d.ts +16 -0
- package/dist/modules/crm_backend/screens/cases-list.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens/cases-list.js +86 -0
- package/dist/modules/crm_backend/screens/cases-list.js.map +1 -0
- package/dist/modules/crm_backend/screens/configuration.d.ts +28 -0
- package/dist/modules/crm_backend/screens/configuration.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens/configuration.js +115 -0
- package/dist/modules/crm_backend/screens/configuration.js.map +1 -0
- package/dist/modules/crm_backend/screens/index.d.ts +14 -0
- package/dist/modules/crm_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens/index.js +8 -0
- package/dist/modules/crm_backend/screens/index.js.map +1 -0
- package/dist/modules/crm_backend/screens/leaderboard.d.ts +12 -0
- package/dist/modules/crm_backend/screens/leaderboard.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens/leaderboard.js +89 -0
- package/dist/modules/crm_backend/screens/leaderboard.js.map +1 -0
- package/dist/modules/crm_backend/screens/pipeline.d.ts +21 -0
- package/dist/modules/crm_backend/screens/pipeline.d.ts.map +1 -0
- package/dist/modules/crm_backend/screens/pipeline.js +22 -0
- package/dist/modules/crm_backend/screens/pipeline.js.map +1 -0
- package/dist/modules/crm_sale/index.d.ts.map +1 -1
- package/dist/modules/crm_sale/index.js +3 -4
- package/dist/modules/crm_sale/index.js.map +1 -1
- package/dist/modules/crm_sale/messages.d.ts +3 -1
- package/dist/modules/crm_sale/messages.d.ts.map +1 -1
- package/dist/modules/crm_sale/messages.js +4 -0
- package/dist/modules/crm_sale/messages.js.map +1 -1
- package/dist/modules/crm_sale/sale-functions.d.ts +8 -1
- package/dist/modules/crm_sale/sale-functions.d.ts.map +1 -1
- package/dist/modules/crm_sale/sale-functions.js +184 -55
- package/dist/modules/crm_sale/sale-functions.js.map +1 -1
- package/dist/modules/crm_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/crm_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/crm_staff_channel/channel-routes.js +788 -0
- package/dist/modules/crm_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/crm_staff_channel/index.d.ts +5 -0
- package/dist/modules/crm_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/crm_staff_channel/index.js +30 -0
- package/dist/modules/crm_staff_channel/index.js.map +1 -0
- package/dist/modules/crm_website/functions.d.ts.map +1 -1
- package/dist/modules/crm_website/functions.js +89 -10
- package/dist/modules/crm_website/functions.js.map +1 -1
- package/dist/modules/crm_website/index.js +1 -2
- package/dist/modules/crm_website/index.js.map +1 -1
- package/dist/modules/crm_website/messages.d.ts +4 -1
- package/dist/modules/crm_website/messages.d.ts.map +1 -1
- package/dist/modules/crm_website/messages.js +6 -0
- package/dist/modules/crm_website/messages.js.map +1 -1
- package/dist/modules/crm_website/models.d.ts.map +1 -1
- package/dist/modules/crm_website/models.js +18 -0
- package/dist/modules/crm_website/models.js.map +1 -1
- package/dist/modules/crm_website/routes.d.ts.map +1 -1
- package/dist/modules/crm_website/routes.js +44 -12
- package/dist/modules/crm_website/routes.js.map +1 -1
- package/dist/modules/crm_website/screens.d.ts +7 -1
- package/dist/modules/crm_website/screens.d.ts.map +1 -1
- package/dist/modules/crm_website/screens.js +13 -8
- package/dist/modules/crm_website/screens.js.map +1 -1
- package/dist/modules/flow/functions.d.ts +3 -0
- package/dist/modules/flow/functions.d.ts.map +1 -0
- package/dist/modules/flow/functions.js +1876 -0
- package/dist/modules/flow/functions.js.map +1 -0
- package/dist/modules/flow/index.d.ts +12 -0
- package/dist/modules/flow/index.d.ts.map +1 -0
- package/dist/modules/flow/index.js +30 -0
- package/dist/modules/flow/index.js.map +1 -0
- package/dist/modules/flow/jobs.d.ts +3 -0
- package/dist/modules/flow/jobs.d.ts.map +1 -0
- package/dist/modules/flow/jobs.js +136 -0
- package/dist/modules/flow/jobs.js.map +1 -0
- package/dist/modules/flow/membership.d.ts +72 -0
- package/dist/modules/flow/membership.d.ts.map +1 -0
- package/dist/modules/flow/membership.js +176 -0
- package/dist/modules/flow/membership.js.map +1 -0
- package/dist/modules/flow/messages.d.ts +79 -0
- package/dist/modules/flow/messages.d.ts.map +1 -0
- package/dist/modules/flow/messages.js +152 -0
- package/dist/modules/flow/messages.js.map +1 -0
- package/dist/modules/flow/models.d.ts +3 -0
- package/dist/modules/flow/models.d.ts.map +1 -0
- package/dist/modules/flow/models.js +453 -0
- package/dist/modules/flow/models.js.map +1 -0
- package/dist/modules/flow/operations.d.ts +408 -0
- package/dist/modules/flow/operations.d.ts.map +1 -0
- package/dist/modules/flow/operations.js +1665 -0
- package/dist/modules/flow/operations.js.map +1 -0
- package/dist/modules/flow/pages.d.ts +146 -0
- package/dist/modules/flow/pages.d.ts.map +1 -0
- package/dist/modules/flow/pages.js +394 -0
- package/dist/modules/flow/pages.js.map +1 -0
- package/dist/modules/flow/projects.d.ts +41 -0
- package/dist/modules/flow/projects.d.ts.map +1 -0
- package/dist/modules/flow/projects.js +74 -0
- package/dist/modules/flow/projects.js.map +1 -0
- package/dist/modules/flow/search.d.ts +57 -0
- package/dist/modules/flow/search.d.ts.map +1 -0
- package/dist/modules/flow/search.js +110 -0
- package/dist/modules/flow/search.js.map +1 -0
- package/dist/modules/flow/types.d.ts +17 -0
- package/dist/modules/flow/types.d.ts.map +1 -0
- package/dist/modules/flow/types.js +13 -0
- package/dist/modules/flow/types.js.map +1 -0
- package/dist/modules/flow_backend/functions.d.ts +3 -0
- package/dist/modules/flow_backend/functions.d.ts.map +1 -0
- package/dist/modules/flow_backend/functions.js +162 -0
- package/dist/modules/flow_backend/functions.js.map +1 -0
- package/dist/modules/flow_backend/index.d.ts +3 -0
- package/dist/modules/flow_backend/index.d.ts.map +1 -0
- package/dist/modules/flow_backend/index.js +96 -0
- package/dist/modules/flow_backend/index.js.map +1 -0
- package/dist/modules/flow_backend/islands.d.ts +3 -0
- package/dist/modules/flow_backend/islands.d.ts.map +1 -0
- package/dist/modules/flow_backend/islands.js +31 -0
- package/dist/modules/flow_backend/islands.js.map +1 -0
- package/dist/modules/flow_backend/messages.d.ts +248 -0
- package/dist/modules/flow_backend/messages.d.ts.map +1 -0
- package/dist/modules/flow_backend/messages.js +470 -0
- package/dist/modules/flow_backend/messages.js.map +1 -0
- package/dist/modules/flow_backend/relation-control.d.ts +53 -0
- package/dist/modules/flow_backend/relation-control.d.ts.map +1 -0
- package/dist/modules/flow_backend/relation-control.js +106 -0
- package/dist/modules/flow_backend/relation-control.js.map +1 -0
- package/dist/modules/flow_backend/routes.d.ts +3 -0
- package/dist/modules/flow_backend/routes.d.ts.map +1 -0
- package/dist/modules/flow_backend/routes.js +2519 -0
- package/dist/modules/flow_backend/routes.js.map +1 -0
- package/dist/modules/flow_backend/screens/all-epics.d.ts +19 -0
- package/dist/modules/flow_backend/screens/all-epics.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/all-epics.js +59 -0
- package/dist/modules/flow_backend/screens/all-epics.js.map +1 -0
- package/dist/modules/flow_backend/screens/all-pages.d.ts +19 -0
- package/dist/modules/flow_backend/screens/all-pages.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/all-pages.js +65 -0
- package/dist/modules/flow_backend/screens/all-pages.js.map +1 -0
- package/dist/modules/flow_backend/screens/board.d.ts +5 -0
- package/dist/modules/flow_backend/screens/board.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/board.js +7 -0
- package/dist/modules/flow_backend/screens/board.js.map +1 -0
- package/dist/modules/flow_backend/screens/epic-detail.d.ts +22 -0
- package/dist/modules/flow_backend/screens/epic-detail.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/epic-detail.js +41 -0
- package/dist/modules/flow_backend/screens/epic-detail.js.map +1 -0
- package/dist/modules/flow_backend/screens/gantt.d.ts +21 -0
- package/dist/modules/flow_backend/screens/gantt.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/gantt.js +42 -0
- package/dist/modules/flow_backend/screens/gantt.js.map +1 -0
- package/dist/modules/flow_backend/screens/index.d.ts +29 -0
- package/dist/modules/flow_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/index.js +23 -0
- package/dist/modules/flow_backend/screens/index.js.map +1 -0
- package/dist/modules/flow_backend/screens/issue-detail.d.ts +38 -0
- package/dist/modules/flow_backend/screens/issue-detail.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/issue-detail.js +336 -0
- package/dist/modules/flow_backend/screens/issue-detail.js.map +1 -0
- package/dist/modules/flow_backend/screens/issues.d.ts +34 -0
- package/dist/modules/flow_backend/screens/issues.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/issues.js +118 -0
- package/dist/modules/flow_backend/screens/issues.js.map +1 -0
- package/dist/modules/flow_backend/screens/map.d.ts +13 -0
- package/dist/modules/flow_backend/screens/map.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/map.js +16 -0
- package/dist/modules/flow_backend/screens/map.js.map +1 -0
- package/dist/modules/flow_backend/screens/my-work.d.ts +42 -0
- package/dist/modules/flow_backend/screens/my-work.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/my-work.js +157 -0
- package/dist/modules/flow_backend/screens/my-work.js.map +1 -0
- package/dist/modules/flow_backend/screens/nav.d.ts +3 -0
- package/dist/modules/flow_backend/screens/nav.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/nav.js +79 -0
- package/dist/modules/flow_backend/screens/nav.js.map +1 -0
- package/dist/modules/flow_backend/screens/page-detail.d.ts +31 -0
- package/dist/modules/flow_backend/screens/page-detail.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/page-detail.js +113 -0
- package/dist/modules/flow_backend/screens/page-detail.js.map +1 -0
- package/dist/modules/flow_backend/screens/project-create.d.ts +26 -0
- package/dist/modules/flow_backend/screens/project-create.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/project-create.js +56 -0
- package/dist/modules/flow_backend/screens/project-create.js.map +1 -0
- package/dist/modules/flow_backend/screens/project-epics.d.ts +33 -0
- package/dist/modules/flow_backend/screens/project-epics.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/project-epics.js +90 -0
- package/dist/modules/flow_backend/screens/project-epics.js.map +1 -0
- package/dist/modules/flow_backend/screens/project-pages.d.ts +34 -0
- package/dist/modules/flow_backend/screens/project-pages.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/project-pages.js +66 -0
- package/dist/modules/flow_backend/screens/project-pages.js.map +1 -0
- package/dist/modules/flow_backend/screens/project-settings.d.ts +69 -0
- package/dist/modules/flow_backend/screens/project-settings.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/project-settings.js +248 -0
- package/dist/modules/flow_backend/screens/project-settings.js.map +1 -0
- package/dist/modules/flow_backend/screens/projects-list.d.ts +30 -0
- package/dist/modules/flow_backend/screens/projects-list.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/projects-list.js +121 -0
- package/dist/modules/flow_backend/screens/projects-list.js.map +1 -0
- package/dist/modules/flow_backend/screens/shared.d.ts +28 -0
- package/dist/modules/flow_backend/screens/shared.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/shared.js +46 -0
- package/dist/modules/flow_backend/screens/shared.js.map +1 -0
- package/dist/modules/flow_backend/screens/sprints.d.ts +33 -0
- package/dist/modules/flow_backend/screens/sprints.d.ts.map +1 -0
- package/dist/modules/flow_backend/screens/sprints.js +159 -0
- package/dist/modules/flow_backend/screens/sprints.js.map +1 -0
- package/dist/modules/flow_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/flow_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/flow_staff_channel/channel-routes.js +444 -0
- package/dist/modules/flow_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/flow_staff_channel/index.d.ts +5 -0
- package/dist/modules/flow_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/flow_staff_channel/index.js +30 -0
- package/dist/modules/flow_staff_channel/index.js.map +1 -0
- package/dist/modules/hospitality_billing/functions.d.ts +18 -0
- package/dist/modules/hospitality_billing/functions.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/functions.js +426 -0
- package/dist/modules/hospitality_billing/functions.js.map +1 -0
- package/dist/modules/hospitality_billing/index.d.ts +3 -0
- package/dist/modules/hospitality_billing/index.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/index.js +25 -0
- package/dist/modules/hospitality_billing/index.js.map +1 -0
- package/dist/modules/hospitality_billing/jobs.d.ts +17 -0
- package/dist/modules/hospitality_billing/jobs.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/jobs.js +83 -0
- package/dist/modules/hospitality_billing/jobs.js.map +1 -0
- package/dist/modules/hospitality_billing/menus.d.ts +9 -0
- package/dist/modules/hospitality_billing/menus.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/menus.js +25 -0
- package/dist/modules/hospitality_billing/menus.js.map +1 -0
- package/dist/modules/hospitality_billing/messages.d.ts +3 -0
- package/dist/modules/hospitality_billing/messages.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/messages.js +163 -0
- package/dist/modules/hospitality_billing/messages.js.map +1 -0
- package/dist/modules/hospitality_billing/models.d.ts +3 -0
- package/dist/modules/hospitality_billing/models.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/models.js +65 -0
- package/dist/modules/hospitality_billing/models.js.map +1 -0
- package/dist/modules/hospitality_billing/routes.d.ts +3 -0
- package/dist/modules/hospitality_billing/routes.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/routes.js +189 -0
- package/dist/modules/hospitality_billing/routes.js.map +1 -0
- package/dist/modules/hospitality_billing/screens/billing.d.ts +3 -0
- package/dist/modules/hospitality_billing/screens/billing.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/screens/billing.js +20 -0
- package/dist/modules/hospitality_billing/screens/billing.js.map +1 -0
- package/dist/modules/hospitality_billing/screens/charge-rules.d.ts +12 -0
- package/dist/modules/hospitality_billing/screens/charge-rules.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/screens/charge-rules.js +86 -0
- package/dist/modules/hospitality_billing/screens/charge-rules.js.map +1 -0
- package/dist/modules/hospitality_billing/screens/index.d.ts +4 -0
- package/dist/modules/hospitality_billing/screens/index.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/screens/index.js +4 -0
- package/dist/modules/hospitality_billing/screens/index.js.map +1 -0
- package/dist/modules/hospitality_billing/screens/page-frame.d.ts +14 -0
- package/dist/modules/hospitality_billing/screens/page-frame.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/screens/page-frame.js +6 -0
- package/dist/modules/hospitality_billing/screens/page-frame.js.map +1 -0
- package/dist/modules/hospitality_billing/screens/shared.d.ts +64 -0
- package/dist/modules/hospitality_billing/screens/shared.d.ts.map +1 -0
- package/dist/modules/hospitality_billing/screens/shared.js +117 -0
- package/dist/modules/hospitality_billing/screens/shared.js.map +1 -0
- package/dist/modules/hospitality_core/calendar.d.ts.map +1 -1
- package/dist/modules/hospitality_core/calendar.js +2 -1
- package/dist/modules/hospitality_core/calendar.js.map +1 -1
- package/dist/modules/hospitality_core/catalog.d.ts +3 -0
- package/dist/modules/hospitality_core/catalog.d.ts.map +1 -0
- package/dist/modules/hospitality_core/catalog.js +284 -0
- package/dist/modules/hospitality_core/catalog.js.map +1 -0
- package/dist/modules/hospitality_core/functions.d.ts.map +1 -1
- package/dist/modules/hospitality_core/functions.js +131 -14
- package/dist/modules/hospitality_core/functions.js.map +1 -1
- package/dist/modules/hospitality_core/index.d.ts +2 -2
- package/dist/modules/hospitality_core/index.d.ts.map +1 -1
- package/dist/modules/hospitality_core/index.js +6 -3
- package/dist/modules/hospitality_core/index.js.map +1 -1
- package/dist/modules/hospitality_core/inventory.d.ts +53 -4
- package/dist/modules/hospitality_core/inventory.d.ts.map +1 -1
- package/dist/modules/hospitality_core/inventory.js +121 -14
- package/dist/modules/hospitality_core/inventory.js.map +1 -1
- package/dist/modules/hospitality_core/menus.d.ts.map +1 -1
- package/dist/modules/hospitality_core/menus.js +31 -0
- package/dist/modules/hospitality_core/menus.js.map +1 -1
- package/dist/modules/hospitality_core/messages.d.ts.map +1 -1
- package/dist/modules/hospitality_core/messages.js +393 -183
- package/dist/modules/hospitality_core/messages.js.map +1 -1
- package/dist/modules/hospitality_core/models.d.ts +1 -1
- package/dist/modules/hospitality_core/models.d.ts.map +1 -1
- package/dist/modules/hospitality_core/models.js +48 -2
- package/dist/modules/hospitality_core/models.js.map +1 -1
- package/dist/modules/hospitality_core/night-audit.d.ts +1 -0
- package/dist/modules/hospitality_core/night-audit.d.ts.map +1 -1
- package/dist/modules/hospitality_core/night-audit.js +39 -1
- package/dist/modules/hospitality_core/night-audit.js.map +1 -1
- package/dist/modules/hospitality_core/online-booking.d.ts +5 -0
- package/dist/modules/hospitality_core/online-booking.d.ts.map +1 -0
- package/dist/modules/hospitality_core/online-booking.js +775 -0
- package/dist/modules/hospitality_core/online-booking.js.map +1 -0
- package/dist/modules/hospitality_core/operations.d.ts +21 -1
- package/dist/modules/hospitality_core/operations.d.ts.map +1 -1
- package/dist/modules/hospitality_core/operations.js +432 -67
- package/dist/modules/hospitality_core/operations.js.map +1 -1
- package/dist/modules/hospitality_core/relations.d.ts.map +1 -1
- package/dist/modules/hospitality_core/relations.js +1 -0
- package/dist/modules/hospitality_core/relations.js.map +1 -1
- package/dist/modules/hospitality_core/routes.d.ts.map +1 -1
- package/dist/modules/hospitality_core/routes.js +514 -107
- package/dist/modules/hospitality_core/routes.js.map +1 -1
- package/dist/modules/hospitality_core/screens/amenities.d.ts +10 -0
- package/dist/modules/hospitality_core/screens/amenities.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/amenities.js +65 -0
- package/dist/modules/hospitality_core/screens/amenities.js.map +1 -0
- package/dist/modules/hospitality_core/screens/building-detail.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/building-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/building-detail.js +69 -0
- package/dist/modules/hospitality_core/screens/building-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/cleaning-task-detail.d.ts +7 -0
- package/dist/modules/hospitality_core/screens/cleaning-task-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/cleaning-task-detail.js +109 -0
- package/dist/modules/hospitality_core/screens/cleaning-task-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/cleaning-tasks.d.ts +20 -0
- package/dist/modules/hospitality_core/screens/cleaning-tasks.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/cleaning-tasks.js +139 -0
- package/dist/modules/hospitality_core/screens/cleaning-tasks.js.map +1 -0
- package/dist/modules/hospitality_core/screens/content.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/content.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/content.js +114 -0
- package/dist/modules/hospitality_core/screens/content.js.map +1 -0
- package/dist/modules/hospitality_core/screens/floor-detail.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/floor-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/floor-detail.js +74 -0
- package/dist/modules/hospitality_core/screens/floor-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/folio-detail.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/folio-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/folio-detail.js +142 -0
- package/dist/modules/hospitality_core/screens/folio-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/folios.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/folios.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/folios.js +7 -0
- package/dist/modules/hospitality_core/screens/folios.js.map +1 -0
- package/dist/modules/hospitality_core/screens/front-desk.d.ts +35 -0
- package/dist/modules/hospitality_core/screens/front-desk.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/front-desk.js +195 -0
- package/dist/modules/hospitality_core/screens/front-desk.js.map +1 -0
- package/dist/modules/hospitality_core/screens/housekeeping-room-detail.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/housekeeping-room-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/housekeeping-room-detail.js +121 -0
- package/dist/modules/hospitality_core/screens/housekeeping-room-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/housekeeping-rooms.d.ts +9 -0
- package/dist/modules/hospitality_core/screens/housekeeping-rooms.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/housekeeping-rooms.js +54 -0
- package/dist/modules/hospitality_core/screens/housekeeping-rooms.js.map +1 -0
- package/dist/modules/hospitality_core/screens/index.d.ts +33 -0
- package/dist/modules/hospitality_core/screens/index.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/index.js +33 -0
- package/dist/modules/hospitality_core/screens/index.js.map +1 -0
- package/dist/modules/hospitality_core/screens/inventory.d.ts +8 -0
- package/dist/modules/hospitality_core/screens/inventory.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/inventory.js +122 -0
- package/dist/modules/hospitality_core/screens/inventory.js.map +1 -0
- package/dist/modules/hospitality_core/screens/new-property.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/new-property.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/new-property.js +8 -0
- package/dist/modules/hospitality_core/screens/new-property.js.map +1 -0
- package/dist/modules/hospitality_core/screens/new-room-type.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/new-room-type.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/new-room-type.js +8 -0
- package/dist/modules/hospitality_core/screens/new-room-type.js.map +1 -0
- package/dist/modules/hospitality_core/screens/new-room.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/new-room.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/new-room.js +8 -0
- package/dist/modules/hospitality_core/screens/new-room.js.map +1 -0
- package/dist/modules/hospitality_core/screens/night-audit.d.ts +10 -0
- package/dist/modules/hospitality_core/screens/night-audit.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/night-audit.js +67 -0
- package/dist/modules/hospitality_core/screens/night-audit.js.map +1 -0
- package/dist/modules/hospitality_core/screens/page-frame.d.ts +15 -0
- package/dist/modules/hospitality_core/screens/page-frame.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/page-frame.js +10 -0
- package/dist/modules/hospitality_core/screens/page-frame.js.map +1 -0
- package/dist/modules/hospitality_core/screens/policies.d.ts +10 -0
- package/dist/modules/hospitality_core/screens/policies.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/policies.js +72 -0
- package/dist/modules/hospitality_core/screens/policies.js.map +1 -0
- package/dist/modules/hospitality_core/screens/properties.d.ts +7 -0
- package/dist/modules/hospitality_core/screens/properties.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/properties.js +45 -0
- package/dist/modules/hospitality_core/screens/properties.js.map +1 -0
- package/dist/modules/hospitality_core/screens/property-detail.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/property-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/property-detail.js +92 -0
- package/dist/modules/hospitality_core/screens/property-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/rate-plans.d.ts +10 -0
- package/dist/modules/hospitality_core/screens/rate-plans.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/rate-plans.js +123 -0
- package/dist/modules/hospitality_core/screens/rate-plans.js.map +1 -0
- package/dist/modules/hospitality_core/screens/reservation-detail.d.ts +11 -0
- package/dist/modules/hospitality_core/screens/reservation-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/reservation-detail.js +237 -0
- package/dist/modules/hospitality_core/screens/reservation-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/reservations.d.ts +17 -0
- package/dist/modules/hospitality_core/screens/reservations.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/reservations.js +166 -0
- package/dist/modules/hospitality_core/screens/reservations.js.map +1 -0
- package/dist/modules/hospitality_core/screens/room-detail.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/room-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/room-detail.js +75 -0
- package/dist/modules/hospitality_core/screens/room-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/room-type-detail.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/room-type-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/room-type-detail.js +91 -0
- package/dist/modules/hospitality_core/screens/room-type-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/room-types.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/room-types.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/room-types.js +61 -0
- package/dist/modules/hospitality_core/screens/room-types.js.map +1 -0
- package/dist/modules/hospitality_core/screens/rooms.d.ts +10 -0
- package/dist/modules/hospitality_core/screens/rooms.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/rooms.js +150 -0
- package/dist/modules/hospitality_core/screens/rooms.js.map +1 -0
- package/dist/modules/hospitality_core/screens/services.d.ts +18 -0
- package/dist/modules/hospitality_core/screens/services.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/services.js +196 -0
- package/dist/modules/hospitality_core/screens/services.js.map +1 -0
- package/dist/modules/hospitality_core/screens/shared.d.ts +777 -0
- package/dist/modules/hospitality_core/screens/shared.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/shared.js +1586 -0
- package/dist/modules/hospitality_core/screens/shared.js.map +1 -0
- package/dist/modules/hospitality_core/screens/stay-detail.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/stay-detail.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/stay-detail.js +233 -0
- package/dist/modules/hospitality_core/screens/stay-detail.js.map +1 -0
- package/dist/modules/hospitality_core/screens/stay-notices.d.ts +9 -0
- package/dist/modules/hospitality_core/screens/stay-notices.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/stay-notices.js +87 -0
- package/dist/modules/hospitality_core/screens/stay-notices.js.map +1 -0
- package/dist/modules/hospitality_core/screens/stays.d.ts +3 -0
- package/dist/modules/hospitality_core/screens/stays.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/stays.js +7 -0
- package/dist/modules/hospitality_core/screens/stays.js.map +1 -0
- package/dist/modules/hospitality_core/screens/tape-chart.d.ts +7 -0
- package/dist/modules/hospitality_core/screens/tape-chart.d.ts.map +1 -0
- package/dist/modules/hospitality_core/screens/tape-chart.js +99 -0
- package/dist/modules/hospitality_core/screens/tape-chart.js.map +1 -0
- package/dist/modules/hospitality_core/services.d.ts.map +1 -1
- package/dist/modules/hospitality_core/services.js +133 -30
- package/dist/modules/hospitality_core/services.js.map +1 -1
- package/dist/modules/hospitality_core/stay-notices.js +2 -2
- package/dist/modules/hospitality_core/stay-notices.js.map +1 -1
- package/dist/modules/hospitality_core/types.d.ts +26 -5
- package/dist/modules/hospitality_core/types.d.ts.map +1 -1
- package/dist/modules/hospitality_core/types.js +47 -5
- package/dist/modules/hospitality_core/types.js.map +1 -1
- package/dist/modules/hospitality_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/hospitality_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/hospitality_staff_channel/channel-routes.js +1227 -0
- package/dist/modules/hospitality_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/hospitality_staff_channel/index.d.ts +5 -0
- package/dist/modules/hospitality_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/hospitality_staff_channel/index.js +34 -0
- package/dist/modules/hospitality_staff_channel/index.js.map +1 -0
- package/dist/modules/hr/functions.d.ts.map +1 -1
- package/dist/modules/hr/functions.js +108 -44
- package/dist/modules/hr/functions.js.map +1 -1
- package/dist/modules/hr/index.d.ts.map +1 -1
- package/dist/modules/hr/index.js +0 -1
- package/dist/modules/hr/index.js.map +1 -1
- package/dist/modules/hr_backend/index.d.ts +2 -1
- package/dist/modules/hr_backend/index.d.ts.map +1 -1
- package/dist/modules/hr_backend/index.js +39 -7
- package/dist/modules/hr_backend/index.js.map +1 -1
- package/dist/modules/hr_backend/routes.d.ts.map +1 -1
- package/dist/modules/hr_backend/routes.js +279 -42
- package/dist/modules/hr_backend/routes.js.map +1 -1
- package/dist/modules/hr_backend/screens/employee-form.d.ts +28 -0
- package/dist/modules/hr_backend/screens/employee-form.d.ts.map +1 -0
- package/dist/modules/hr_backend/screens/employee-form.js +110 -0
- package/dist/modules/hr_backend/screens/employee-form.js.map +1 -0
- package/dist/modules/hr_backend/screens/employees-list.d.ts +22 -0
- package/dist/modules/hr_backend/screens/employees-list.d.ts.map +1 -0
- package/dist/modules/hr_backend/screens/employees-list.js +53 -0
- package/dist/modules/hr_backend/screens/employees-list.js.map +1 -0
- package/dist/modules/hr_backend/screens/index.d.ts +5 -0
- package/dist/modules/hr_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/hr_backend/screens/index.js +5 -0
- package/dist/modules/hr_backend/screens/index.js.map +1 -0
- package/dist/modules/hr_backend/screens/leaves-list.d.ts +22 -0
- package/dist/modules/hr_backend/screens/leaves-list.d.ts.map +1 -0
- package/dist/modules/hr_backend/screens/leaves-list.js +78 -0
- package/dist/modules/hr_backend/screens/leaves-list.js.map +1 -0
- package/dist/modules/hr_backend/screens/roster.d.ts +19 -0
- package/dist/modules/hr_backend/screens/roster.d.ts.map +1 -0
- package/dist/modules/hr_backend/screens/roster.js +83 -0
- package/dist/modules/hr_backend/screens/roster.js.map +1 -0
- package/dist/modules/inventory_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/inventory_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/inventory_staff_channel/channel-routes.js +724 -0
- package/dist/modules/inventory_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/inventory_staff_channel/index.d.ts +5 -0
- package/dist/modules/inventory_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/inventory_staff_channel/index.js +38 -0
- package/dist/modules/inventory_staff_channel/index.js.map +1 -0
- package/dist/modules/livedoc/documents.d.ts +48 -0
- package/dist/modules/livedoc/documents.d.ts.map +1 -0
- package/dist/modules/livedoc/documents.js +99 -0
- package/dist/modules/livedoc/documents.js.map +1 -0
- package/dist/modules/livedoc/functions.d.ts +3 -0
- package/dist/modules/livedoc/functions.d.ts.map +1 -0
- package/dist/modules/livedoc/functions.js +47 -0
- package/dist/modules/livedoc/functions.js.map +1 -0
- package/dist/modules/livedoc/index.d.ts +22 -0
- package/dist/modules/livedoc/index.d.ts.map +1 -0
- package/dist/modules/livedoc/index.js +37 -0
- package/dist/modules/livedoc/index.js.map +1 -0
- package/dist/modules/livedoc/islands.d.ts +3 -0
- package/dist/modules/livedoc/islands.d.ts.map +1 -0
- package/dist/modules/livedoc/islands.js +22 -0
- package/dist/modules/livedoc/islands.js.map +1 -0
- package/dist/modules/livedoc/routes.d.ts +11 -0
- package/dist/modules/livedoc/routes.d.ts.map +1 -0
- package/dist/modules/livedoc/routes.js +232 -0
- package/dist/modules/livedoc/routes.js.map +1 -0
- package/dist/modules/livedoc/sync.d.ts +124 -0
- package/dist/modules/livedoc/sync.d.ts.map +1 -0
- package/dist/modules/livedoc/sync.js +218 -0
- package/dist/modules/livedoc/sync.js.map +1 -0
- package/dist/modules/loyalty/admin-functions.d.ts.map +1 -1
- package/dist/modules/loyalty/admin-functions.js +42 -6
- package/dist/modules/loyalty/admin-functions.js.map +1 -1
- package/dist/modules/loyalty/engine.d.ts +1 -0
- package/dist/modules/loyalty/engine.d.ts.map +1 -1
- package/dist/modules/loyalty/engine.js +88 -28
- package/dist/modules/loyalty/engine.js.map +1 -1
- package/dist/modules/loyalty/index.d.ts.map +1 -1
- package/dist/modules/loyalty/index.js +10 -2
- package/dist/modules/loyalty/index.js.map +1 -1
- package/dist/modules/loyalty/ledger.d.ts.map +1 -1
- package/dist/modules/loyalty/ledger.js +11 -0
- package/dist/modules/loyalty/ledger.js.map +1 -1
- package/dist/modules/loyalty/membership-functions.d.ts.map +1 -1
- package/dist/modules/loyalty/membership-functions.js +23 -7
- package/dist/modules/loyalty/membership-functions.js.map +1 -1
- package/dist/modules/loyalty/messages.d.ts +8 -0
- package/dist/modules/loyalty/messages.d.ts.map +1 -1
- package/dist/modules/loyalty/messages.js +8 -0
- package/dist/modules/loyalty/messages.js.map +1 -1
- package/dist/modules/loyalty/models.d.ts.map +1 -1
- package/dist/modules/loyalty/models.js +20 -0
- package/dist/modules/loyalty/models.js.map +1 -1
- package/dist/modules/loyalty/order-functions.d.ts +16 -1
- package/dist/modules/loyalty/order-functions.d.ts.map +1 -1
- package/dist/modules/loyalty/order-functions.js +513 -291
- package/dist/modules/loyalty/order-functions.js.map +1 -1
- package/dist/modules/loyalty/stats.d.ts +17 -0
- package/dist/modules/loyalty/stats.d.ts.map +1 -0
- package/dist/modules/loyalty/stats.js +178 -0
- package/dist/modules/loyalty/stats.js.map +1 -0
- package/dist/modules/loyalty/stored-value.d.ts +42 -0
- package/dist/modules/loyalty/stored-value.d.ts.map +1 -0
- package/dist/modules/loyalty/stored-value.js +368 -0
- package/dist/modules/loyalty/stored-value.js.map +1 -0
- package/dist/modules/loyalty/types.d.ts +6 -4
- package/dist/modules/loyalty/types.d.ts.map +1 -1
- package/dist/modules/loyalty/types.js +1 -1
- package/dist/modules/loyalty/types.js.map +1 -1
- package/dist/modules/loyalty_backend/index.js +443 -172
- package/dist/modules/loyalty_backend/index.js.map +1 -1
- package/dist/modules/loyalty_backend/messages.d.ts +58 -1
- package/dist/modules/loyalty_backend/messages.d.ts.map +1 -1
- package/dist/modules/loyalty_backend/messages.js +114 -0
- package/dist/modules/loyalty_backend/messages.js.map +1 -1
- package/dist/modules/loyalty_backend/screens/index.d.ts +90 -0
- package/dist/modules/loyalty_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/loyalty_backend/screens/index.js +912 -0
- package/dist/modules/loyalty_backend/screens/index.js.map +1 -0
- package/dist/modules/loyalty_backend/screens/page-frame.d.ts +14 -0
- package/dist/modules/loyalty_backend/screens/page-frame.d.ts.map +1 -0
- package/dist/modules/loyalty_backend/screens/page-frame.js +13 -0
- package/dist/modules/loyalty_backend/screens/page-frame.js.map +1 -0
- package/dist/modules/loyalty_pos/channel.d.ts +2 -0
- package/dist/modules/loyalty_pos/channel.d.ts.map +1 -0
- package/dist/modules/loyalty_pos/channel.js +270 -0
- package/dist/modules/loyalty_pos/channel.js.map +1 -0
- package/dist/modules/loyalty_pos/functions.d.ts +11 -17
- package/dist/modules/loyalty_pos/functions.d.ts.map +1 -1
- package/dist/modules/loyalty_pos/functions.js +454 -94
- package/dist/modules/loyalty_pos/functions.js.map +1 -1
- package/dist/modules/loyalty_pos/index.js +6 -16
- package/dist/modules/loyalty_pos/index.js.map +1 -1
- package/dist/modules/loyalty_pos/jobs.d.ts +3 -0
- package/dist/modules/loyalty_pos/jobs.d.ts.map +1 -0
- package/dist/modules/loyalty_pos/jobs.js +30 -0
- package/dist/modules/loyalty_pos/jobs.js.map +1 -0
- package/dist/modules/loyalty_sale/functions.d.ts +2 -2
- package/dist/modules/loyalty_sale/functions.d.ts.map +1 -1
- package/dist/modules/loyalty_sale/functions.js +53 -34
- package/dist/modules/loyalty_sale/functions.js.map +1 -1
- package/dist/modules/loyalty_sale/index.js +0 -2
- package/dist/modules/loyalty_sale/index.js.map +1 -1
- package/dist/modules/mail/functions.d.ts.map +1 -1
- package/dist/modules/mail/functions.js +48 -6
- package/dist/modules/mail/functions.js.map +1 -1
- package/dist/modules/mail/index.d.ts.map +1 -1
- package/dist/modules/mail/index.js +0 -1
- package/dist/modules/mail/index.js.map +1 -1
- package/dist/modules/mail/operations.d.ts +19 -0
- package/dist/modules/mail/operations.d.ts.map +1 -1
- package/dist/modules/mail/operations.js +69 -0
- package/dist/modules/mail/operations.js.map +1 -1
- package/dist/modules/mail_backend/index.d.ts +1 -1
- package/dist/modules/mail_backend/index.d.ts.map +1 -1
- package/dist/modules/mail_backend/index.js +5 -14
- package/dist/modules/mail_backend/index.js.map +1 -1
- package/dist/modules/mail_backend/islands.js +2 -2
- package/dist/modules/mail_backend/islands.js.map +1 -1
- package/dist/modules/mail_backend/routes.d.ts.map +1 -1
- package/dist/modules/mail_backend/routes.js +25 -20
- package/dist/modules/mail_backend/routes.js.map +1 -1
- package/dist/modules/mail_backend/screens/inbox-list.d.ts +9 -0
- package/dist/modules/mail_backend/screens/inbox-list.d.ts.map +1 -0
- package/dist/modules/mail_backend/screens/inbox-list.js +13 -0
- package/dist/modules/mail_backend/screens/inbox-list.js.map +1 -0
- package/dist/modules/mail_backend/screens/index.d.ts +3 -0
- package/dist/modules/mail_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/mail_backend/screens/index.js +2 -0
- package/dist/modules/mail_backend/screens/index.js.map +1 -0
- package/dist/modules/mail_inbound/index.d.ts.map +1 -1
- package/dist/modules/mail_inbound/index.js +0 -1
- package/dist/modules/mail_inbound/index.js.map +1 -1
- package/dist/modules/mail_inbound_backend/index.d.ts +1 -1
- package/dist/modules/mail_inbound_backend/index.d.ts.map +1 -1
- package/dist/modules/mail_inbound_backend/index.js +3 -12
- package/dist/modules/mail_inbound_backend/index.js.map +1 -1
- package/dist/modules/mail_inbound_backend/routes.d.ts.map +1 -1
- package/dist/modules/mail_inbound_backend/routes.js +6 -21
- package/dist/modules/mail_inbound_backend/routes.js.map +1 -1
- package/dist/modules/mail_inbound_backend/screens/inbound-list.d.ts +8 -0
- package/dist/modules/mail_inbound_backend/screens/inbound-list.d.ts.map +1 -0
- package/dist/modules/mail_inbound_backend/screens/inbound-list.js +20 -0
- package/dist/modules/mail_inbound_backend/screens/inbound-list.js.map +1 -0
- package/dist/modules/mail_inbound_backend/screens/index.d.ts +3 -0
- package/dist/modules/mail_inbound_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/mail_inbound_backend/screens/index.js +2 -0
- package/dist/modules/mail_inbound_backend/screens/index.js.map +1 -0
- package/dist/modules/mail_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/mail_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/mail_staff_channel/channel-routes.js +183 -0
- package/dist/modules/mail_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/mail_staff_channel/index.d.ts +5 -0
- package/dist/modules/mail_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/mail_staff_channel/index.js +28 -0
- package/dist/modules/mail_staff_channel/index.js.map +1 -0
- package/dist/modules/mail_transport/index.d.ts.map +1 -1
- package/dist/modules/mail_transport/index.js +0 -1
- package/dist/modules/mail_transport/index.js.map +1 -1
- package/dist/modules/mail_transport_backend/index.d.ts +1 -1
- package/dist/modules/mail_transport_backend/index.d.ts.map +1 -1
- package/dist/modules/mail_transport_backend/index.js +3 -12
- package/dist/modules/mail_transport_backend/index.js.map +1 -1
- package/dist/modules/mail_transport_backend/routes.d.ts.map +1 -1
- package/dist/modules/mail_transport_backend/routes.js +23 -22
- package/dist/modules/mail_transport_backend/routes.js.map +1 -1
- package/dist/modules/mail_transport_backend/screens/index.d.ts +3 -0
- package/dist/modules/mail_transport_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/mail_transport_backend/screens/index.js +2 -0
- package/dist/modules/mail_transport_backend/screens/index.js.map +1 -0
- package/dist/modules/mail_transport_backend/screens/outbox-list.d.ts +9 -0
- package/dist/modules/mail_transport_backend/screens/outbox-list.d.ts.map +1 -0
- package/dist/modules/mail_transport_backend/screens/outbox-list.js +29 -0
- package/dist/modules/mail_transport_backend/screens/outbox-list.js.map +1 -0
- package/dist/modules/manufacturing/functions.d.ts +3 -0
- package/dist/modules/manufacturing/functions.d.ts.map +1 -0
- package/dist/modules/manufacturing/functions.js +912 -0
- package/dist/modules/manufacturing/functions.js.map +1 -0
- package/dist/modules/manufacturing/index.d.ts +6 -0
- package/dist/modules/manufacturing/index.d.ts.map +1 -0
- package/dist/modules/manufacturing/index.js +42 -0
- package/dist/modules/manufacturing/index.js.map +1 -0
- package/dist/modules/manufacturing/models.d.ts +8 -0
- package/dist/modules/manufacturing/models.d.ts.map +1 -0
- package/dist/modules/manufacturing/models.js +145 -0
- package/dist/modules/manufacturing/models.js.map +1 -0
- package/dist/modules/manufacturing/relations.d.ts.map +1 -0
- package/dist/modules/manufacturing/relations.js +37 -0
- package/dist/modules/manufacturing/relations.js.map +1 -0
- package/dist/modules/manufacturing/types.d.ts +7 -0
- package/dist/modules/manufacturing/types.d.ts.map +1 -0
- package/dist/modules/manufacturing/types.js +11 -0
- package/dist/modules/manufacturing/types.js.map +1 -0
- package/dist/modules/manufacturing_backend/index.d.ts +5 -0
- package/dist/modules/manufacturing_backend/index.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/index.js +146 -0
- package/dist/modules/manufacturing_backend/index.js.map +1 -0
- package/dist/modules/manufacturing_backend/routes.d.ts +3 -0
- package/dist/modules/manufacturing_backend/routes.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/routes.js +477 -0
- package/dist/modules/manufacturing_backend/routes.js.map +1 -0
- package/dist/modules/manufacturing_backend/screens/bom-create.d.ts +15 -0
- package/dist/modules/manufacturing_backend/screens/bom-create.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/screens/bom-create.js +39 -0
- package/dist/modules/manufacturing_backend/screens/bom-create.js.map +1 -0
- package/dist/modules/manufacturing_backend/screens/boms-list.d.ts +18 -0
- package/dist/modules/manufacturing_backend/screens/boms-list.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/screens/boms-list.js +36 -0
- package/dist/modules/manufacturing_backend/screens/boms-list.js.map +1 -0
- package/dist/modules/manufacturing_backend/screens/index.d.ts +8 -0
- package/dist/modules/manufacturing_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/screens/index.js +8 -0
- package/dist/modules/manufacturing_backend/screens/index.js.map +1 -0
- package/dist/modules/manufacturing_backend/screens/order-create.d.ts +13 -0
- package/dist/modules/manufacturing_backend/screens/order-create.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/screens/order-create.js +20 -0
- package/dist/modules/manufacturing_backend/screens/order-create.js.map +1 -0
- package/dist/modules/manufacturing_backend/screens/order-execution.d.ts +7 -0
- package/dist/modules/manufacturing_backend/screens/order-execution.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/screens/order-execution.js +129 -0
- package/dist/modules/manufacturing_backend/screens/order-execution.js.map +1 -0
- package/dist/modules/manufacturing_backend/screens/orders-list.d.ts +21 -0
- package/dist/modules/manufacturing_backend/screens/orders-list.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/screens/orders-list.js +49 -0
- package/dist/modules/manufacturing_backend/screens/orders-list.js.map +1 -0
- package/dist/modules/manufacturing_backend/screens/work-center-form.d.ts +24 -0
- package/dist/modules/manufacturing_backend/screens/work-center-form.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/screens/work-center-form.js +80 -0
- package/dist/modules/manufacturing_backend/screens/work-center-form.js.map +1 -0
- package/dist/modules/manufacturing_backend/screens/work-centers-list.d.ts +23 -0
- package/dist/modules/manufacturing_backend/screens/work-centers-list.d.ts.map +1 -0
- package/dist/modules/manufacturing_backend/screens/work-centers-list.js +61 -0
- package/dist/modules/manufacturing_backend/screens/work-centers-list.js.map +1 -0
- package/dist/modules/oauth/index.d.ts.map +1 -1
- package/dist/modules/oauth/index.js +0 -1
- package/dist/modules/oauth/index.js.map +1 -1
- package/dist/modules/oauth/models.d.ts.map +1 -1
- package/dist/modules/oauth/models.js +2 -1
- package/dist/modules/oauth/models.js.map +1 -1
- package/dist/modules/oauth_backend/index.d.ts +1 -1
- package/dist/modules/oauth_backend/index.d.ts.map +1 -1
- package/dist/modules/oauth_backend/index.js +3 -5
- package/dist/modules/oauth_backend/index.js.map +1 -1
- package/dist/modules/oauth_backend/messages.d.ts +4 -0
- package/dist/modules/oauth_backend/messages.d.ts.map +1 -1
- package/dist/modules/oauth_backend/messages.js +4 -0
- package/dist/modules/oauth_backend/messages.js.map +1 -1
- package/dist/modules/oauth_backend/routes.d.ts.map +1 -1
- package/dist/modules/oauth_backend/routes.js +28 -30
- package/dist/modules/oauth_backend/routes.js.map +1 -1
- package/dist/modules/oauth_backend/screens/index.d.ts +66 -0
- package/dist/modules/oauth_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/oauth_backend/screens/index.js +306 -0
- package/dist/modules/oauth_backend/screens/index.js.map +1 -0
- package/dist/modules/partner/functions.d.ts.map +1 -1
- package/dist/modules/partner/functions.js +74 -6
- package/dist/modules/partner/functions.js.map +1 -1
- package/dist/modules/partner/index.d.ts.map +1 -1
- package/dist/modules/partner/index.js +0 -1
- package/dist/modules/partner/index.js.map +1 -1
- package/dist/modules/partner/models.d.ts +4 -4
- package/dist/modules/partner/models.d.ts.map +1 -1
- package/dist/modules/partner/models.js +9 -7
- package/dist/modules/partner/models.js.map +1 -1
- package/dist/modules/partner/types.d.ts +2 -2
- package/dist/modules/partner/types.js +2 -2
- package/dist/modules/partner_backend/client/address-view.mjs +5 -5
- package/dist/modules/partner_backend/client/address-view.mjs.map +1 -1
- package/dist/modules/partner_backend/client/address.css +22 -10
- package/dist/modules/partner_backend/client/partner.css +116 -0
- package/dist/modules/partner_backend/index.d.ts +1 -1
- package/dist/modules/partner_backend/index.d.ts.map +1 -1
- package/dist/modules/partner_backend/index.js +34 -4
- package/dist/modules/partner_backend/index.js.map +1 -1
- package/dist/modules/partner_backend/menus.js +2 -2
- package/dist/modules/partner_backend/menus.js.map +1 -1
- package/dist/modules/partner_backend/routes.d.ts +3 -1
- package/dist/modules/partner_backend/routes.d.ts.map +1 -1
- package/dist/modules/partner_backend/routes.js +236 -91
- package/dist/modules/partner_backend/routes.js.map +1 -1
- package/dist/modules/partner_backend/screens/form.d.ts +21 -0
- package/dist/modules/partner_backend/screens/form.d.ts.map +1 -0
- package/dist/modules/partner_backend/screens/form.js +101 -0
- package/dist/modules/partner_backend/screens/form.js.map +1 -0
- package/dist/modules/partner_backend/screens/index.d.ts +5 -0
- package/dist/modules/partner_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/partner_backend/screens/index.js +4 -0
- package/dist/modules/partner_backend/screens/index.js.map +1 -0
- package/dist/modules/partner_backend/screens/list.d.ts +6 -0
- package/dist/modules/partner_backend/screens/list.d.ts.map +1 -0
- package/dist/modules/partner_backend/screens/list.js +94 -0
- package/dist/modules/partner_backend/screens/list.js.map +1 -0
- package/dist/modules/partner_backend/screens/new.d.ts +5 -0
- package/dist/modules/partner_backend/screens/new.d.ts.map +1 -0
- package/dist/modules/partner_backend/screens/new.js +58 -0
- package/dist/modules/partner_backend/screens/new.js.map +1 -0
- package/dist/modules/partner_backend/screens/types.d.ts +44 -0
- package/dist/modules/partner_backend/screens/types.d.ts.map +1 -0
- package/dist/modules/partner_backend/screens/types.js +2 -0
- package/dist/modules/partner_backend/screens/types.js.map +1 -0
- package/dist/modules/partner_mail_backend/index.d.ts +5 -0
- package/dist/modules/partner_mail_backend/index.d.ts.map +1 -0
- package/dist/modules/partner_mail_backend/index.js +29 -0
- package/dist/modules/partner_mail_backend/index.js.map +1 -0
- package/dist/modules/pos/functions.d.ts +18 -2
- package/dist/modules/pos/functions.d.ts.map +1 -1
- package/dist/modules/pos/functions.js +3279 -345
- package/dist/modules/pos/functions.js.map +1 -1
- package/dist/modules/pos/index.d.ts +2 -1
- package/dist/modules/pos/index.d.ts.map +1 -1
- package/dist/modules/pos/index.js +5 -5
- package/dist/modules/pos/index.js.map +1 -1
- package/dist/modules/pos/models.d.ts.map +1 -1
- package/dist/modules/pos/models.js +189 -1
- package/dist/modules/pos/models.js.map +1 -1
- package/dist/modules/pos/relations.d.ts.map +1 -1
- package/dist/modules/pos/relations.js +11 -0
- package/dist/modules/pos/relations.js.map +1 -1
- package/dist/modules/pos_backend/index.js +182 -154
- package/dist/modules/pos_backend/index.js.map +1 -1
- package/dist/modules/pos_backend/screens.d.ts +1 -0
- package/dist/modules/pos_backend/screens.d.ts.map +1 -1
- package/dist/modules/pos_backend/screens.js +28 -38
- package/dist/modules/pos_backend/screens.js.map +1 -1
- package/dist/modules/pos_channel/catalog.d.ts +27 -0
- package/dist/modules/pos_channel/catalog.d.ts.map +1 -0
- package/dist/modules/pos_channel/catalog.js +310 -0
- package/dist/modules/pos_channel/catalog.js.map +1 -0
- package/dist/modules/pos_channel/index.d.ts +7 -0
- package/dist/modules/pos_channel/index.d.ts.map +1 -0
- package/dist/modules/pos_channel/index.js +61 -0
- package/dist/modules/pos_channel/index.js.map +1 -0
- package/dist/modules/pos_channel/offline.d.ts +66 -0
- package/dist/modules/pos_channel/offline.d.ts.map +1 -0
- package/dist/modules/pos_channel/offline.js +16 -0
- package/dist/modules/pos_channel/offline.js.map +1 -0
- package/dist/modules/pos_channel/operations.d.ts +422 -0
- package/dist/modules/pos_channel/operations.d.ts.map +1 -0
- package/dist/modules/pos_channel/operations.js +1781 -0
- package/dist/modules/pos_channel/operations.js.map +1 -0
- package/dist/modules/pos_channel/sync.d.ts +6 -0
- package/dist/modules/pos_channel/sync.d.ts.map +1 -0
- package/dist/modules/pos_channel/sync.js +1161 -0
- package/dist/modules/pos_channel/sync.js.map +1 -0
- package/dist/modules/pricing/index.d.ts.map +1 -1
- package/dist/modules/pricing/index.js +3 -4
- package/dist/modules/pricing/index.js.map +1 -1
- package/dist/modules/pricing_backend/index.js +135 -78
- package/dist/modules/pricing_backend/index.js.map +1 -1
- package/dist/modules/pricing_backend/screens/index.d.ts +5 -0
- package/dist/modules/pricing_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/pricing_backend/screens/index.js +4 -0
- package/dist/modules/pricing_backend/screens/index.js.map +1 -0
- package/dist/modules/pricing_backend/screens/pricelist-create.d.ts +10 -0
- package/dist/modules/pricing_backend/screens/pricelist-create.d.ts.map +1 -0
- package/dist/modules/pricing_backend/screens/pricelist-create.js +30 -0
- package/dist/modules/pricing_backend/screens/pricelist-create.js.map +1 -0
- package/dist/modules/pricing_backend/screens/pricelist-detail.d.ts +15 -0
- package/dist/modules/pricing_backend/screens/pricelist-detail.d.ts.map +1 -0
- package/dist/modules/pricing_backend/screens/pricelist-detail.js +164 -0
- package/dist/modules/pricing_backend/screens/pricelist-detail.js.map +1 -0
- package/dist/modules/pricing_backend/screens/pricelists-list.d.ts +11 -0
- package/dist/modules/pricing_backend/screens/pricelists-list.d.ts.map +1 -0
- package/dist/modules/pricing_backend/screens/pricelists-list.js +27 -0
- package/dist/modules/pricing_backend/screens/pricelists-list.js.map +1 -0
- package/dist/modules/pricing_backend/screens/shared.d.ts +21 -0
- package/dist/modules/pricing_backend/screens/shared.d.ts.map +1 -0
- package/dist/modules/pricing_backend/screens/shared.js +3 -0
- package/dist/modules/pricing_backend/screens/shared.js.map +1 -0
- package/dist/modules/product/functions.d.ts.map +1 -1
- package/dist/modules/product/functions.js +679 -50
- package/dist/modules/product/functions.js.map +1 -1
- package/dist/modules/product/index.d.ts +2 -0
- package/dist/modules/product/index.d.ts.map +1 -1
- package/dist/modules/product/index.js +2 -2
- package/dist/modules/product/index.js.map +1 -1
- package/dist/modules/product/models.d.ts +1 -1
- package/dist/modules/product/models.d.ts.map +1 -1
- package/dist/modules/product/models.js +27 -4
- package/dist/modules/product/models.js.map +1 -1
- package/dist/modules/product/relations.d.ts.map +1 -1
- package/dist/modules/product/relations.js +4 -0
- package/dist/modules/product/relations.js.map +1 -1
- package/dist/modules/product/sellable.d.ts +26 -0
- package/dist/modules/product/sellable.d.ts.map +1 -0
- package/dist/modules/product/sellable.js +56 -0
- package/dist/modules/product/sellable.js.map +1 -0
- package/dist/modules/product/types.d.ts +2 -2
- package/dist/modules/product/views.d.ts.map +1 -1
- package/dist/modules/product/views.js +5 -1
- package/dist/modules/product/views.js.map +1 -1
- package/dist/modules/product_activity_backend/index.d.ts.map +1 -1
- package/dist/modules/product_activity_backend/index.js +2 -3
- package/dist/modules/product_activity_backend/index.js.map +1 -1
- package/dist/modules/product_backend/client/media-upload-view.d.mts +2 -0
- package/dist/modules/product_backend/client/media-upload-view.d.mts.map +1 -0
- package/dist/modules/product_backend/client/media-upload-view.mjs +27 -0
- package/dist/modules/product_backend/client/media-upload-view.mjs.map +1 -0
- package/dist/modules/product_backend/client/product.css +964 -0
- package/dist/modules/product_backend/client/product.d.mts +2 -0
- package/dist/modules/product_backend/client/product.d.mts.map +1 -1
- package/dist/modules/product_backend/client/product.mjs +3 -0
- package/dist/modules/product_backend/client/product.mjs.map +1 -1
- package/dist/modules/product_backend/index.d.ts +5 -6
- package/dist/modules/product_backend/index.d.ts.map +1 -1
- package/dist/modules/product_backend/index.js +205 -14
- package/dist/modules/product_backend/index.js.map +1 -1
- package/dist/modules/product_backend/islands.d.ts.map +1 -1
- package/dist/modules/product_backend/islands.js +8 -0
- package/dist/modules/product_backend/islands.js.map +1 -1
- package/dist/modules/product_backend/menus.js +2 -2
- package/dist/modules/product_backend/menus.js.map +1 -1
- package/dist/modules/product_backend/relation-control.d.ts +85 -0
- package/dist/modules/product_backend/relation-control.d.ts.map +1 -0
- package/dist/modules/product_backend/relation-control.js +129 -0
- package/dist/modules/product_backend/relation-control.js.map +1 -0
- package/dist/modules/product_backend/routes.d.ts.map +1 -1
- package/dist/modules/product_backend/routes.js +514 -194
- package/dist/modules/product_backend/routes.js.map +1 -1
- package/dist/modules/product_backend/screens/attributes.d.ts +7 -0
- package/dist/modules/product_backend/screens/attributes.d.ts.map +1 -0
- package/dist/modules/product_backend/screens/attributes.js +66 -0
- package/dist/modules/product_backend/screens/attributes.js.map +1 -0
- package/dist/modules/product_backend/screens/create.d.ts +16 -0
- package/dist/modules/product_backend/screens/create.d.ts.map +1 -0
- package/dist/modules/product_backend/screens/create.js +86 -0
- package/dist/modules/product_backend/screens/create.js.map +1 -0
- package/dist/modules/product_backend/screens/detail.d.ts +87 -0
- package/dist/modules/product_backend/screens/detail.d.ts.map +1 -0
- package/dist/modules/product_backend/screens/detail.js +381 -0
- package/dist/modules/product_backend/screens/detail.js.map +1 -0
- package/dist/modules/product_backend/screens/favorite.d.ts +6 -0
- package/dist/modules/product_backend/screens/favorite.d.ts.map +1 -0
- package/dist/modules/product_backend/screens/favorite.js +43 -0
- package/dist/modules/product_backend/screens/favorite.js.map +1 -0
- package/dist/modules/product_backend/screens/index.d.ts +10 -0
- package/dist/modules/product_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/product_backend/screens/index.js +7 -0
- package/dist/modules/product_backend/screens/index.js.map +1 -0
- package/dist/modules/product_backend/screens/list.d.ts +54 -0
- package/dist/modules/product_backend/screens/list.d.ts.map +1 -0
- package/dist/modules/product_backend/screens/list.js +124 -0
- package/dist/modules/product_backend/screens/list.js.map +1 -0
- package/dist/modules/product_backend/screens/variant.d.ts +9 -0
- package/dist/modules/product_backend/screens/variant.d.ts.map +1 -0
- package/dist/modules/product_backend/screens/variant.js +113 -0
- package/dist/modules/product_backend/screens/variant.js.map +1 -0
- package/dist/modules/product_mail_backend/index.d.ts.map +1 -1
- package/dist/modules/product_mail_backend/index.js +2 -3
- package/dist/modules/product_mail_backend/index.js.map +1 -1
- package/dist/modules/product_media/functions.d.ts.map +1 -1
- package/dist/modules/product_media/functions.js +59 -6
- package/dist/modules/product_media/functions.js.map +1 -1
- package/dist/modules/product_media/index.js +0 -1
- package/dist/modules/product_media/index.js.map +1 -1
- package/dist/modules/product_variant_activity_backend/index.d.ts.map +1 -1
- package/dist/modules/product_variant_activity_backend/index.js +2 -3
- package/dist/modules/product_variant_activity_backend/index.js.map +1 -1
- package/dist/modules/product_variant_mail_backend/index.d.ts.map +1 -1
- package/dist/modules/product_variant_mail_backend/index.js +2 -3
- package/dist/modules/product_variant_mail_backend/index.js.map +1 -1
- package/dist/modules/purchase/functions.d.ts.map +1 -1
- package/dist/modules/purchase/functions.js +852 -225
- package/dist/modules/purchase/functions.js.map +1 -1
- package/dist/modules/purchase/index.d.ts.map +1 -1
- package/dist/modules/purchase/index.js +30 -5
- package/dist/modules/purchase/index.js.map +1 -1
- package/dist/modules/purchase/models.d.ts.map +1 -1
- package/dist/modules/purchase/models.js +1 -0
- package/dist/modules/purchase/models.js.map +1 -1
- package/dist/modules/purchase/reports.d.ts +4 -0
- package/dist/modules/purchase/reports.d.ts.map +1 -0
- package/dist/modules/purchase/reports.js +86 -0
- package/dist/modules/purchase/reports.js.map +1 -0
- package/dist/modules/purchase_backend/index.js +513 -112
- package/dist/modules/purchase_backend/index.js.map +1 -1
- package/dist/modules/purchase_backend/screens/index.d.ts +10 -0
- package/dist/modules/purchase_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/index.js +10 -0
- package/dist/modules/purchase_backend/screens/index.js.map +1 -0
- package/dist/modules/purchase_backend/screens/order-detail.d.ts +31 -0
- package/dist/modules/purchase_backend/screens/order-detail.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/order-detail.js +204 -0
- package/dist/modules/purchase_backend/screens/order-detail.js.map +1 -0
- package/dist/modules/purchase_backend/screens/order-list-shared.d.ts +7 -0
- package/dist/modules/purchase_backend/screens/order-list-shared.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/order-list-shared.js +58 -0
- package/dist/modules/purchase_backend/screens/order-list-shared.js.map +1 -0
- package/dist/modules/purchase_backend/screens/overview.d.ts +19 -0
- package/dist/modules/purchase_backend/screens/overview.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/overview.js +52 -0
- package/dist/modules/purchase_backend/screens/overview.js.map +1 -0
- package/dist/modules/purchase_backend/screens/purchase-orders-list.d.ts +14 -0
- package/dist/modules/purchase_backend/screens/purchase-orders-list.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/purchase-orders-list.js +26 -0
- package/dist/modules/purchase_backend/screens/purchase-orders-list.js.map +1 -0
- package/dist/modules/purchase_backend/screens/rfq-create.d.ts +16 -0
- package/dist/modules/purchase_backend/screens/rfq-create.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/rfq-create.js +24 -0
- package/dist/modules/purchase_backend/screens/rfq-create.js.map +1 -0
- package/dist/modules/purchase_backend/screens/rfqs-list.d.ts +18 -0
- package/dist/modules/purchase_backend/screens/rfqs-list.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/rfqs-list.js +28 -0
- package/dist/modules/purchase_backend/screens/rfqs-list.js.map +1 -0
- package/dist/modules/purchase_backend/screens/shared.d.ts +18 -0
- package/dist/modules/purchase_backend/screens/shared.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/shared.js +30 -0
- package/dist/modules/purchase_backend/screens/shared.js.map +1 -0
- package/dist/modules/purchase_backend/screens/vendor-pricelist-create.d.ts +20 -0
- package/dist/modules/purchase_backend/screens/vendor-pricelist-create.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/vendor-pricelist-create.js +25 -0
- package/dist/modules/purchase_backend/screens/vendor-pricelist-create.js.map +1 -0
- package/dist/modules/purchase_backend/screens/vendor-pricelists-list.d.ts +33 -0
- package/dist/modules/purchase_backend/screens/vendor-pricelists-list.d.ts.map +1 -0
- package/dist/modules/purchase_backend/screens/vendor-pricelists-list.js +73 -0
- package/dist/modules/purchase_backend/screens/vendor-pricelists-list.js.map +1 -0
- package/dist/modules/purchase_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/purchase_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/purchase_staff_channel/channel-routes.js +119 -0
- package/dist/modules/purchase_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/purchase_staff_channel/index.d.ts +8 -0
- package/dist/modules/purchase_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/purchase_staff_channel/index.js +45 -0
- package/dist/modules/purchase_staff_channel/index.js.map +1 -0
- package/dist/modules/purchase_staff_channel/order-routes.d.ts +2 -0
- package/dist/modules/purchase_staff_channel/order-routes.d.ts.map +1 -0
- package/dist/modules/purchase_staff_channel/order-routes.js +754 -0
- package/dist/modules/purchase_staff_channel/order-routes.js.map +1 -0
- package/dist/modules/purchase_staff_channel/product-routes.d.ts +2 -0
- package/dist/modules/purchase_staff_channel/product-routes.d.ts.map +1 -0
- package/dist/modules/purchase_staff_channel/product-routes.js +183 -0
- package/dist/modules/purchase_staff_channel/product-routes.js.map +1 -0
- package/dist/modules/purchase_staff_channel/vendor-bill-routes.d.ts +2 -0
- package/dist/modules/purchase_staff_channel/vendor-bill-routes.d.ts.map +1 -0
- package/dist/modules/purchase_staff_channel/vendor-bill-routes.js +189 -0
- package/dist/modules/purchase_staff_channel/vendor-bill-routes.js.map +1 -0
- package/dist/modules/quality/functions.d.ts +3 -0
- package/dist/modules/quality/functions.d.ts.map +1 -0
- package/dist/modules/quality/functions.js +381 -0
- package/dist/modules/quality/functions.js.map +1 -0
- package/dist/modules/quality/index.d.ts +5 -0
- package/dist/modules/quality/index.d.ts.map +1 -0
- package/dist/modules/quality/index.js +19 -0
- package/dist/modules/quality/index.js.map +1 -0
- package/dist/modules/quality/models.d.ts +3 -0
- package/dist/modules/quality/models.d.ts.map +1 -0
- package/dist/modules/quality/models.js +91 -0
- package/dist/modules/quality/models.js.map +1 -0
- package/dist/modules/quality_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/quality_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/quality_staff_channel/channel-routes.js +495 -0
- package/dist/modules/quality_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/quality_staff_channel/index.d.ts +5 -0
- package/dist/modules/quality_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/quality_staff_channel/index.js +30 -0
- package/dist/modules/quality_staff_channel/index.js.map +1 -0
- package/dist/modules/report/functions.d.ts +3 -0
- package/dist/modules/report/functions.d.ts.map +1 -0
- package/dist/modules/report/functions.js +197 -0
- package/dist/modules/report/functions.js.map +1 -0
- package/dist/modules/report/index.d.ts +3 -0
- package/dist/modules/report/index.d.ts.map +1 -0
- package/dist/modules/report/index.js +21 -0
- package/dist/modules/report/index.js.map +1 -0
- package/dist/modules/report/jobs.d.ts +3 -0
- package/dist/modules/report/jobs.d.ts.map +1 -0
- package/dist/modules/report/jobs.js +18 -0
- package/dist/modules/report/jobs.js.map +1 -0
- package/dist/modules/report/models.d.ts +3 -0
- package/dist/modules/report/models.d.ts.map +1 -0
- package/dist/modules/report/models.js +45 -0
- package/dist/modules/report/models.js.map +1 -0
- package/dist/modules/report/routes.d.ts +19 -0
- package/dist/modules/report/routes.d.ts.map +1 -0
- package/dist/modules/report/routes.js +138 -0
- package/dist/modules/report/routes.js.map +1 -0
- package/dist/modules/report_backend/index.d.ts +3 -0
- package/dist/modules/report_backend/index.d.ts.map +1 -0
- package/dist/modules/report_backend/index.js +67 -0
- package/dist/modules/report_backend/index.js.map +1 -0
- package/dist/modules/report_backend/routes.d.ts +10 -0
- package/dist/modules/report_backend/routes.d.ts.map +1 -0
- package/dist/modules/report_backend/routes.js +87 -0
- package/dist/modules/report_backend/routes.js.map +1 -0
- package/dist/modules/report_backend/screens/index.d.ts +13 -0
- package/dist/modules/report_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/report_backend/screens/index.js +91 -0
- package/dist/modules/report_backend/screens/index.js.map +1 -0
- package/dist/modules/sale/functions.d.ts.map +1 -1
- package/dist/modules/sale/functions.js +796 -238
- package/dist/modules/sale/functions.js.map +1 -1
- package/dist/modules/sale/index.d.ts.map +1 -1
- package/dist/modules/sale/index.js +44 -5
- package/dist/modules/sale/index.js.map +1 -1
- package/dist/modules/sale/models.d.ts.map +1 -1
- package/dist/modules/sale/models.js +47 -1
- package/dist/modules/sale/models.js.map +1 -1
- package/dist/modules/sale/relations.d.ts.map +1 -1
- package/dist/modules/sale/relations.js +6 -0
- package/dist/modules/sale/relations.js.map +1 -1
- package/dist/modules/sale/reports.d.ts +4 -0
- package/dist/modules/sale/reports.d.ts.map +1 -0
- package/dist/modules/sale/reports.js +132 -0
- package/dist/modules/sale/reports.js.map +1 -0
- package/dist/modules/sale/scope.d.ts +31 -0
- package/dist/modules/sale/scope.d.ts.map +1 -0
- package/dist/modules/sale/scope.js +34 -0
- package/dist/modules/sale/scope.js.map +1 -0
- package/dist/modules/sale_activity_backend/index.d.ts.map +1 -1
- package/dist/modules/sale_activity_backend/index.js +0 -1
- package/dist/modules/sale_activity_backend/index.js.map +1 -1
- package/dist/modules/sale_backend/index.js +338 -121
- package/dist/modules/sale_backend/index.js.map +1 -1
- package/dist/modules/sale_backend/screens/index.d.ts +9 -0
- package/dist/modules/sale_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/index.js +9 -0
- package/dist/modules/sale_backend/screens/index.js.map +1 -0
- package/dist/modules/sale_backend/screens/invoicing-policies-list.d.ts +14 -0
- package/dist/modules/sale_backend/screens/invoicing-policies-list.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/invoicing-policies-list.js +48 -0
- package/dist/modules/sale_backend/screens/invoicing-policies-list.js.map +1 -0
- package/dist/modules/sale_backend/screens/invoicing-policy-create.d.ts +14 -0
- package/dist/modules/sale_backend/screens/invoicing-policy-create.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/invoicing-policy-create.js +38 -0
- package/dist/modules/sale_backend/screens/invoicing-policy-create.js.map +1 -0
- package/dist/modules/sale_backend/screens/order-detail.d.ts +43 -0
- package/dist/modules/sale_backend/screens/order-detail.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/order-detail.js +226 -0
- package/dist/modules/sale_backend/screens/order-detail.js.map +1 -0
- package/dist/modules/sale_backend/screens/overview.d.ts +31 -0
- package/dist/modules/sale_backend/screens/overview.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/overview.js +73 -0
- package/dist/modules/sale_backend/screens/overview.js.map +1 -0
- package/dist/modules/sale_backend/screens/quotation-create.d.ts +13 -0
- package/dist/modules/sale_backend/screens/quotation-create.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/quotation-create.js +19 -0
- package/dist/modules/sale_backend/screens/quotation-create.js.map +1 -0
- package/dist/modules/sale_backend/screens/quotations-list.d.ts +25 -0
- package/dist/modules/sale_backend/screens/quotations-list.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/quotations-list.js +96 -0
- package/dist/modules/sale_backend/screens/quotations-list.js.map +1 -0
- package/dist/modules/sale_backend/screens/sales-orders-list.d.ts +25 -0
- package/dist/modules/sale_backend/screens/sales-orders-list.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/sales-orders-list.js +100 -0
- package/dist/modules/sale_backend/screens/sales-orders-list.js.map +1 -0
- package/dist/modules/sale_backend/screens/shared.d.ts +4 -0
- package/dist/modules/sale_backend/screens/shared.d.ts.map +1 -0
- package/dist/modules/sale_backend/screens/shared.js +4 -0
- package/dist/modules/sale_backend/screens/shared.js.map +1 -0
- package/dist/modules/sale_mail_backend/index.d.ts.map +1 -1
- package/dist/modules/sale_mail_backend/index.js +0 -1
- package/dist/modules/sale_mail_backend/index.js.map +1 -1
- package/dist/modules/sale_staff_channel/channel-routes.d.ts +2 -0
- package/dist/modules/sale_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/sale_staff_channel/channel-routes.js +296 -0
- package/dist/modules/sale_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/sale_staff_channel/index.d.ts +7 -0
- package/dist/modules/sale_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/sale_staff_channel/index.js +44 -0
- package/dist/modules/sale_staff_channel/index.js.map +1 -0
- package/dist/modules/sale_staff_channel/order-routes.d.ts +2 -0
- package/dist/modules/sale_staff_channel/order-routes.d.ts.map +1 -0
- package/dist/modules/sale_staff_channel/order-routes.js +658 -0
- package/dist/modules/sale_staff_channel/order-routes.js.map +1 -0
- package/dist/modules/sale_staff_channel/product-routes.d.ts +2 -0
- package/dist/modules/sale_staff_channel/product-routes.d.ts.map +1 -0
- package/dist/modules/sale_staff_channel/product-routes.js +183 -0
- package/dist/modules/sale_staff_channel/product-routes.js.map +1 -0
- package/dist/modules/stock/functions.d.ts.map +1 -1
- package/dist/modules/stock/functions.js +1239 -332
- package/dist/modules/stock/functions.js.map +1 -1
- package/dist/modules/stock/index.d.ts +2 -0
- package/dist/modules/stock/index.d.ts.map +1 -1
- package/dist/modules/stock/index.js +29 -6
- package/dist/modules/stock/index.js.map +1 -1
- package/dist/modules/stock/models.d.ts.map +1 -1
- package/dist/modules/stock/models.js +1 -0
- package/dist/modules/stock/models.js.map +1 -1
- package/dist/modules/stock/reports.d.ts +4 -0
- package/dist/modules/stock/reports.d.ts.map +1 -0
- package/dist/modules/stock/reports.js +100 -0
- package/dist/modules/stock/reports.js.map +1 -0
- package/dist/modules/stock/routing.d.ts +1 -1
- package/dist/modules/stock/routing.d.ts.map +1 -1
- package/dist/modules/stock/routing.js +35 -30
- package/dist/modules/stock/routing.js.map +1 -1
- package/dist/modules/stock/scope.d.ts +23 -0
- package/dist/modules/stock/scope.d.ts.map +1 -0
- package/dist/modules/stock/scope.js +26 -0
- package/dist/modules/stock/scope.js.map +1 -0
- package/dist/modules/stock/units.d.ts +14 -0
- package/dist/modules/stock/units.d.ts.map +1 -0
- package/dist/modules/stock/units.js +50 -0
- package/dist/modules/stock/units.js.map +1 -0
- package/dist/modules/stock_activity_backend/index.d.ts.map +1 -1
- package/dist/modules/stock_activity_backend/index.js +0 -1
- package/dist/modules/stock_activity_backend/index.js.map +1 -1
- package/dist/modules/stock_backend/client/editor-view.d.mts.map +1 -1
- package/dist/modules/stock_backend/client/editor-view.mjs +12 -10
- package/dist/modules/stock_backend/client/editor-view.mjs.map +1 -1
- package/dist/modules/stock_backend/index.js +27 -20
- package/dist/modules/stock_backend/index.js.map +1 -1
- package/dist/modules/stock_backend/routes.d.ts.map +1 -1
- package/dist/modules/stock_backend/routes.js +485 -232
- package/dist/modules/stock_backend/routes.js.map +1 -1
- package/dist/modules/stock_backend/screens/forecast.d.ts +28 -0
- package/dist/modules/stock_backend/screens/forecast.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/forecast.js +108 -0
- package/dist/modules/stock_backend/screens/forecast.js.map +1 -0
- package/dist/modules/stock_backend/screens/index.d.ts +22 -0
- package/dist/modules/stock_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/index.js +22 -0
- package/dist/modules/stock_backend/screens/index.js.map +1 -0
- package/dist/modules/stock_backend/screens/inventory.d.ts +27 -0
- package/dist/modules/stock_backend/screens/inventory.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/inventory.js +128 -0
- package/dist/modules/stock_backend/screens/inventory.js.map +1 -0
- package/dist/modules/stock_backend/screens/location-create.d.ts +15 -0
- package/dist/modules/stock_backend/screens/location-create.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/location-create.js +75 -0
- package/dist/modules/stock_backend/screens/location-create.js.map +1 -0
- package/dist/modules/stock_backend/screens/locations-list.d.ts +21 -0
- package/dist/modules/stock_backend/screens/locations-list.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/locations-list.js +62 -0
- package/dist/modules/stock_backend/screens/locations-list.js.map +1 -0
- package/dist/modules/stock_backend/screens/lot-create.d.ts +14 -0
- package/dist/modules/stock_backend/screens/lot-create.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/lot-create.js +60 -0
- package/dist/modules/stock_backend/screens/lot-create.js.map +1 -0
- package/dist/modules/stock_backend/screens/lot-detail.d.ts +30 -0
- package/dist/modules/stock_backend/screens/lot-detail.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/lot-detail.js +84 -0
- package/dist/modules/stock_backend/screens/lot-detail.js.map +1 -0
- package/dist/modules/stock_backend/screens/lots-list.d.ts +25 -0
- package/dist/modules/stock_backend/screens/lots-list.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/lots-list.js +54 -0
- package/dist/modules/stock_backend/screens/lots-list.js.map +1 -0
- package/dist/modules/stock_backend/screens/picking-type-create.d.ts +15 -0
- package/dist/modules/stock_backend/screens/picking-type-create.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/picking-type-create.js +89 -0
- package/dist/modules/stock_backend/screens/picking-type-create.js.map +1 -0
- package/dist/modules/stock_backend/screens/picking-types-list.d.ts +22 -0
- package/dist/modules/stock_backend/screens/picking-types-list.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/picking-types-list.js +80 -0
- package/dist/modules/stock_backend/screens/picking-types-list.js.map +1 -0
- package/dist/modules/stock_backend/screens/replenishment-create.d.ts +17 -0
- package/dist/modules/stock_backend/screens/replenishment-create.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/replenishment-create.js +74 -0
- package/dist/modules/stock_backend/screens/replenishment-create.js.map +1 -0
- package/dist/modules/stock_backend/screens/replenishment-list.d.ts +29 -0
- package/dist/modules/stock_backend/screens/replenishment-list.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/replenishment-list.js +84 -0
- package/dist/modules/stock_backend/screens/replenishment-list.js.map +1 -0
- package/dist/modules/stock_backend/screens/shared.d.ts +12 -0
- package/dist/modules/stock_backend/screens/shared.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/shared.js +29 -0
- package/dist/modules/stock_backend/screens/shared.js.map +1 -0
- package/dist/modules/stock_backend/screens/stock-route-create.d.ts +13 -0
- package/dist/modules/stock_backend/screens/stock-route-create.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/stock-route-create.js +52 -0
- package/dist/modules/stock_backend/screens/stock-route-create.js.map +1 -0
- package/dist/modules/stock_backend/screens/stock-route-detail.d.ts +30 -0
- package/dist/modules/stock_backend/screens/stock-route-detail.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/stock-route-detail.js +131 -0
- package/dist/modules/stock_backend/screens/stock-route-detail.js.map +1 -0
- package/dist/modules/stock_backend/screens/stock-routes-list.d.ts +22 -0
- package/dist/modules/stock_backend/screens/stock-routes-list.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/stock-routes-list.js +51 -0
- package/dist/modules/stock_backend/screens/stock-routes-list.js.map +1 -0
- package/dist/modules/stock_backend/screens/stock.d.ts +7 -0
- package/dist/modules/stock_backend/screens/stock.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/stock.js +13 -0
- package/dist/modules/stock_backend/screens/stock.js.map +1 -0
- package/dist/modules/stock_backend/screens/transfer-create.d.ts +13 -0
- package/dist/modules/stock_backend/screens/transfer-create.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/transfer-create.js +38 -0
- package/dist/modules/stock_backend/screens/transfer-create.js.map +1 -0
- package/dist/modules/stock_backend/screens/transfer-detail.d.ts +27 -0
- package/dist/modules/stock_backend/screens/transfer-detail.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/transfer-detail.js +91 -0
- package/dist/modules/stock_backend/screens/transfer-detail.js.map +1 -0
- package/dist/modules/stock_backend/screens/transfers-list.d.ts +25 -0
- package/dist/modules/stock_backend/screens/transfers-list.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/transfers-list.js +81 -0
- package/dist/modules/stock_backend/screens/transfers-list.js.map +1 -0
- package/dist/modules/stock_backend/screens/warehouse-create.d.ts +13 -0
- package/dist/modules/stock_backend/screens/warehouse-create.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/warehouse-create.js +79 -0
- package/dist/modules/stock_backend/screens/warehouse-create.js.map +1 -0
- package/dist/modules/stock_backend/screens/warehouses-list.d.ts +21 -0
- package/dist/modules/stock_backend/screens/warehouses-list.d.ts.map +1 -0
- package/dist/modules/stock_backend/screens/warehouses-list.js +60 -0
- package/dist/modules/stock_backend/screens/warehouses-list.js.map +1 -0
- package/dist/modules/stock_lot_activity_backend/index.d.ts.map +1 -1
- package/dist/modules/stock_lot_activity_backend/index.js +0 -1
- package/dist/modules/stock_lot_activity_backend/index.js.map +1 -1
- package/dist/modules/stock_lot_mail_backend/index.d.ts.map +1 -1
- package/dist/modules/stock_lot_mail_backend/index.js +0 -1
- package/dist/modules/stock_lot_mail_backend/index.js.map +1 -1
- package/dist/modules/stock_mail_backend/index.d.ts.map +1 -1
- package/dist/modules/stock_mail_backend/index.js +0 -1
- package/dist/modules/stock_mail_backend/index.js.map +1 -1
- package/dist/modules/stock_mail_inbound/index.d.ts.map +1 -1
- package/dist/modules/stock_mail_inbound/index.js +0 -2
- package/dist/modules/stock_mail_inbound/index.js.map +1 -1
- package/dist/modules/stock_staff_channel/channel-routes.d.ts +656 -0
- package/dist/modules/stock_staff_channel/channel-routes.d.ts.map +1 -0
- package/dist/modules/stock_staff_channel/channel-routes.js +445 -0
- package/dist/modules/stock_staff_channel/channel-routes.js.map +1 -0
- package/dist/modules/stock_staff_channel/functions.d.ts +3 -0
- package/dist/modules/stock_staff_channel/functions.d.ts.map +1 -0
- package/dist/modules/stock_staff_channel/functions.js +954 -0
- package/dist/modules/stock_staff_channel/functions.js.map +1 -0
- package/dist/modules/stock_staff_channel/index.d.ts +8 -0
- package/dist/modules/stock_staff_channel/index.d.ts.map +1 -0
- package/dist/modules/stock_staff_channel/index.js +37 -0
- package/dist/modules/stock_staff_channel/index.js.map +1 -0
- package/dist/modules/stock_staff_channel/models.d.ts +4 -0
- package/dist/modules/stock_staff_channel/models.d.ts.map +1 -0
- package/dist/modules/stock_staff_channel/models.js +119 -0
- package/dist/modules/stock_staff_channel/models.js.map +1 -0
- package/dist/modules/stock_staff_channel/operation-routes.d.ts +2 -0
- package/dist/modules/stock_staff_channel/operation-routes.d.ts.map +1 -0
- package/dist/modules/stock_staff_channel/operation-routes.js +1269 -0
- package/dist/modules/stock_staff_channel/operation-routes.js.map +1 -0
- package/dist/modules/storage/functions.d.ts.map +1 -1
- package/dist/modules/storage/functions.js +18 -5
- package/dist/modules/storage/functions.js.map +1 -1
- package/dist/modules/storage/index.js +0 -1
- package/dist/modules/storage/index.js.map +1 -1
- package/dist/modules/storage/jobs.d.ts +21 -1
- package/dist/modules/storage/jobs.d.ts.map +1 -1
- package/dist/modules/storage/jobs.js +142 -2
- package/dist/modules/storage/jobs.js.map +1 -1
- package/dist/modules/storage/models.d.ts.map +1 -1
- package/dist/modules/storage/models.js +2 -0
- package/dist/modules/storage/models.js.map +1 -1
- package/dist/modules/storage/policy.d.ts +5 -0
- package/dist/modules/storage/policy.d.ts.map +1 -0
- package/dist/modules/storage/policy.js +13 -0
- package/dist/modules/storage/policy.js.map +1 -0
- package/dist/modules/storage/routes.d.ts +1 -0
- package/dist/modules/storage/routes.d.ts.map +1 -1
- package/dist/modules/storage/routes.js +19 -15
- package/dist/modules/storage/routes.js.map +1 -1
- package/dist/modules/uom/convert.d.ts +1 -1
- package/dist/modules/uom/convert.js +2 -2
- package/dist/modules/uom/convert.js.map +1 -1
- package/dist/modules/uom/functions.d.ts.map +1 -1
- package/dist/modules/uom/functions.js +39 -4
- package/dist/modules/uom/functions.js.map +1 -1
- package/dist/modules/uom/index.d.ts.map +1 -1
- package/dist/modules/uom/index.js +1 -2
- package/dist/modules/uom/index.js.map +1 -1
- package/dist/modules/uom/messages.js +2 -2
- package/dist/modules/uom/messages.js.map +1 -1
- package/dist/modules/uom/models.d.ts +1 -1
- package/dist/modules/uom/models.d.ts.map +1 -1
- package/dist/modules/uom/models.js +1 -1
- package/dist/modules/uom/models.js.map +1 -1
- package/dist/modules/user/authorization.d.ts +80 -0
- package/dist/modules/user/authorization.d.ts.map +1 -0
- package/dist/modules/user/authorization.js +1039 -0
- package/dist/modules/user/authorization.js.map +1 -0
- package/dist/modules/user/functions.d.ts.map +1 -1
- package/dist/modules/user/functions.js +188 -32
- package/dist/modules/user/functions.js.map +1 -1
- package/dist/modules/user/index.d.ts +4 -1
- package/dist/modules/user/index.d.ts.map +1 -1
- package/dist/modules/user/index.js +2 -3
- package/dist/modules/user/index.js.map +1 -1
- package/dist/modules/user/login.d.ts +1 -27
- package/dist/modules/user/login.d.ts.map +1 -1
- package/dist/modules/user/login.js +5 -45
- package/dist/modules/user/login.js.map +1 -1
- package/dist/modules/user/messages.d.ts +6 -0
- package/dist/modules/user/messages.d.ts.map +1 -1
- package/dist/modules/user/messages.js +6 -0
- package/dist/modules/user/messages.js.map +1 -1
- package/dist/modules/user/models.d.ts +1 -1
- package/dist/modules/user/models.d.ts.map +1 -1
- package/dist/modules/user/models.js +73 -9
- package/dist/modules/user/models.js.map +1 -1
- package/dist/modules/user/relations.d.ts.map +1 -1
- package/dist/modules/user/relations.js +6 -0
- package/dist/modules/user/relations.js.map +1 -1
- package/dist/modules/user/roles.d.ts +11 -1
- package/dist/modules/user/roles.d.ts.map +1 -1
- package/dist/modules/user/roles.js +402 -117
- package/dist/modules/user/roles.js.map +1 -1
- package/dist/modules/user/routes.js +1 -1
- package/dist/modules/user/routes.js.map +1 -1
- package/dist/modules/user_backend/index.d.ts +1 -1
- package/dist/modules/user_backend/index.d.ts.map +1 -1
- package/dist/modules/user_backend/index.js +1 -3
- package/dist/modules/user_backend/index.js.map +1 -1
- package/dist/modules/user_backend/messages.d.ts +60 -0
- package/dist/modules/user_backend/messages.d.ts.map +1 -1
- package/dist/modules/user_backend/messages.js +60 -0
- package/dist/modules/user_backend/messages.js.map +1 -1
- package/dist/modules/user_backend/routes.d.ts.map +1 -1
- package/dist/modules/user_backend/routes.js +352 -69
- package/dist/modules/user_backend/routes.js.map +1 -1
- package/dist/modules/user_backend/screens/index.d.ts +11 -0
- package/dist/modules/user_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/index.js +8 -0
- package/dist/modules/user_backend/screens/index.js.map +1 -0
- package/dist/modules/user_backend/screens/presets-form.d.ts +16 -0
- package/dist/modules/user_backend/screens/presets-form.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/presets-form.js +37 -0
- package/dist/modules/user_backend/screens/presets-form.js.map +1 -0
- package/dist/modules/user_backend/screens/profile-form.d.ts +14 -0
- package/dist/modules/user_backend/screens/profile-form.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/profile-form.js +37 -0
- package/dist/modules/user_backend/screens/profile-form.js.map +1 -0
- package/dist/modules/user_backend/screens/role-form.d.ts +21 -0
- package/dist/modules/user_backend/screens/role-form.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/role-form.js +93 -0
- package/dist/modules/user_backend/screens/role-form.js.map +1 -0
- package/dist/modules/user_backend/screens/roles-list.d.ts +15 -0
- package/dist/modules/user_backend/screens/roles-list.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/roles-list.js +48 -0
- package/dist/modules/user_backend/screens/roles-list.js.map +1 -0
- package/dist/modules/user_backend/screens/sessions.d.ts +5 -0
- package/dist/modules/user_backend/screens/sessions.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/sessions.js +35 -0
- package/dist/modules/user_backend/screens/sessions.js.map +1 -0
- package/dist/modules/user_backend/screens/types.d.ts +68 -0
- package/dist/modules/user_backend/screens/types.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/types.js +2 -0
- package/dist/modules/user_backend/screens/types.js.map +1 -0
- package/dist/modules/user_backend/screens/user-form.d.ts +55 -0
- package/dist/modules/user_backend/screens/user-form.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/user-form.js +174 -0
- package/dist/modules/user_backend/screens/user-form.js.map +1 -0
- package/dist/modules/user_backend/screens/users-list.d.ts +17 -0
- package/dist/modules/user_backend/screens/users-list.d.ts.map +1 -0
- package/dist/modules/user_backend/screens/users-list.js +56 -0
- package/dist/modules/user_backend/screens/users-list.js.map +1 -0
- package/dist/modules/website/cms.d.ts +18 -1
- package/dist/modules/website/cms.d.ts.map +1 -1
- package/dist/modules/website/cms.js +373 -38
- package/dist/modules/website/cms.js.map +1 -1
- package/dist/modules/website/customer.d.ts.map +1 -1
- package/dist/modules/website/customer.js +249 -1
- package/dist/modules/website/customer.js.map +1 -1
- package/dist/modules/website/index.d.ts.map +1 -1
- package/dist/modules/website/index.js +26 -4
- package/dist/modules/website/index.js.map +1 -1
- package/dist/modules/website/models.d.ts.map +1 -1
- package/dist/modules/website/models.js +101 -0
- package/dist/modules/website/models.js.map +1 -1
- package/dist/modules/website/paths.d.ts +31 -0
- package/dist/modules/website/paths.d.ts.map +1 -0
- package/dist/modules/website/paths.js +48 -0
- package/dist/modules/website/paths.js.map +1 -0
- package/dist/modules/website/publication.d.ts +3 -0
- package/dist/modules/website/publication.d.ts.map +1 -0
- package/dist/modules/website/publication.js +366 -0
- package/dist/modules/website/publication.js.map +1 -0
- package/dist/modules/website/renderable.d.ts +32 -0
- package/dist/modules/website/renderable.d.ts.map +1 -0
- package/dist/modules/website/renderable.js +59 -0
- package/dist/modules/website/renderable.js.map +1 -0
- package/dist/modules/website/sections.d.ts.map +1 -1
- package/dist/modules/website/sections.js +13 -0
- package/dist/modules/website/sections.js.map +1 -1
- package/dist/modules/website_backend/csv.d.ts +23 -0
- package/dist/modules/website_backend/csv.d.ts.map +1 -0
- package/dist/modules/website_backend/csv.js +31 -0
- package/dist/modules/website_backend/csv.js.map +1 -0
- package/dist/modules/website_backend/index.js +260 -2
- package/dist/modules/website_backend/index.js.map +1 -1
- package/dist/modules/website_backend/menus.d.ts.map +1 -1
- package/dist/modules/website_backend/menus.js +28 -6
- package/dist/modules/website_backend/menus.js.map +1 -1
- package/dist/modules/website_backend/routes.d.ts.map +1 -1
- package/dist/modules/website_backend/routes.js +684 -126
- package/dist/modules/website_backend/routes.js.map +1 -1
- package/dist/modules/website_backend/screens/index.d.ts +333 -0
- package/dist/modules/website_backend/screens/index.d.ts.map +1 -0
- package/dist/modules/website_backend/screens/index.js +1332 -0
- package/dist/modules/website_backend/screens/index.js.map +1 -0
- package/dist/modules/website_backend/screens/page-frame.d.ts +14 -0
- package/dist/modules/website_backend/screens/page-frame.d.ts.map +1 -0
- package/dist/modules/website_backend/screens/page-frame.js +13 -0
- package/dist/modules/website_backend/screens/page-frame.js.map +1 -0
- package/dist/modules/website_form/audit.d.ts +27 -0
- package/dist/modules/website_form/audit.d.ts.map +1 -0
- package/dist/modules/website_form/audit.js +30 -0
- package/dist/modules/website_form/audit.js.map +1 -0
- package/dist/modules/website_form/functions.d.ts.map +1 -1
- package/dist/modules/website_form/functions.js +416 -12
- package/dist/modules/website_form/functions.js.map +1 -1
- package/dist/modules/website_form/index.js +24 -2
- package/dist/modules/website_form/index.js.map +1 -1
- package/dist/modules/website_form/jobs.d.ts +11 -0
- package/dist/modules/website_form/jobs.d.ts.map +1 -0
- package/dist/modules/website_form/jobs.js +80 -0
- package/dist/modules/website_form/jobs.js.map +1 -0
- package/dist/modules/website_form/models.d.ts.map +1 -1
- package/dist/modules/website_form/models.js +89 -0
- package/dist/modules/website_form/models.js.map +1 -1
- package/dist/modules/website_form/purge.d.ts +22 -0
- package/dist/modules/website_form/purge.d.ts.map +1 -0
- package/dist/modules/website_form/purge.js +59 -0
- package/dist/modules/website_form/purge.js.map +1 -0
- package/dist/modules/website_form/retention.d.ts +70 -0
- package/dist/modules/website_form/retention.d.ts.map +1 -0
- package/dist/modules/website_form/retention.js +145 -0
- package/dist/modules/website_form/retention.js.map +1 -0
- package/dist/modules/website_form/routes.d.ts.map +1 -1
- package/dist/modules/website_form/routes.js +37 -3
- package/dist/modules/website_form/routes.js.map +1 -1
- package/dist/modules/website_form_mail/index.d.ts +36 -0
- package/dist/modules/website_form_mail/index.d.ts.map +1 -0
- package/dist/modules/website_form_mail/index.js +137 -0
- package/dist/modules/website_form_mail/index.js.map +1 -0
- package/dist/modules/website_hospitality/channel-routes.d.ts +2 -0
- package/dist/modules/website_hospitality/channel-routes.d.ts.map +1 -0
- package/dist/modules/website_hospitality/channel-routes.js +355 -0
- package/dist/modules/website_hospitality/channel-routes.js.map +1 -0
- package/dist/modules/website_hospitality/functions.d.ts.map +1 -1
- package/dist/modules/website_hospitality/functions.js +27 -2
- package/dist/modules/website_hospitality/functions.js.map +1 -1
- package/dist/modules/website_hospitality/index.js +4 -3
- package/dist/modules/website_hospitality/index.js.map +1 -1
- package/dist/modules/website_hospitality/models.d.ts.map +1 -1
- package/dist/modules/website_hospitality/models.js +2 -0
- package/dist/modules/website_hospitality/models.js.map +1 -1
- package/dist/modules/website_menu/functions.d.ts.map +1 -1
- package/dist/modules/website_menu/functions.js +184 -9
- package/dist/modules/website_menu/functions.js.map +1 -1
- package/dist/modules/website_menu/index.js +6 -1
- package/dist/modules/website_menu/index.js.map +1 -1
- package/dist/modules/website_retail/channel-routes.d.ts +2 -0
- package/dist/modules/website_retail/channel-routes.d.ts.map +1 -0
- package/dist/modules/website_retail/channel-routes.js +305 -0
- package/dist/modules/website_retail/channel-routes.js.map +1 -0
- package/dist/modules/website_retail/functions.d.ts +14 -1
- package/dist/modules/website_retail/functions.d.ts.map +1 -1
- package/dist/modules/website_retail/functions.js +6 -6
- package/dist/modules/website_retail/functions.js.map +1 -1
- package/dist/modules/website_retail/index.js +24 -3
- package/dist/modules/website_retail/index.js.map +1 -1
- package/dist/modules/website_retail/models.d.ts.map +1 -1
- package/dist/modules/website_retail/models.js +30 -0
- package/dist/modules/website_retail/models.js.map +1 -1
- package/dist/modules/website_retail/online.d.ts +3 -0
- package/dist/modules/website_retail/online.d.ts.map +1 -0
- package/dist/modules/website_retail/online.js +710 -0
- package/dist/modules/website_retail/online.js.map +1 -0
- package/dist/modules/website_search/client/search.d.mts +16 -2
- package/dist/modules/website_search/client/search.d.mts.map +1 -1
- package/dist/modules/website_search/client/search.mjs +112 -6
- package/dist/modules/website_search/client/search.mjs.map +1 -1
- package/dist/modules/website_search/functions.d.ts +3 -0
- package/dist/modules/website_search/functions.d.ts.map +1 -0
- package/dist/modules/website_search/functions.js +239 -0
- package/dist/modules/website_search/functions.js.map +1 -0
- package/dist/modules/website_search/index.js +4 -1
- package/dist/modules/website_search/index.js.map +1 -1
- package/dist/modules/website_search/islands.d.ts +6 -0
- package/dist/modules/website_search/islands.d.ts.map +1 -1
- package/dist/modules/website_search/islands.js +8 -2
- package/dist/modules/website_search/islands.js.map +1 -1
- package/dist/modules/website_search/models.d.ts +15 -0
- package/dist/modules/website_search/models.d.ts.map +1 -0
- package/dist/modules/website_search/models.js +58 -0
- package/dist/modules/website_search/models.js.map +1 -0
- package/dist/modules/website_seo/functions.d.ts +3 -0
- package/dist/modules/website_seo/functions.d.ts.map +1 -0
- package/dist/modules/website_seo/functions.js +164 -0
- package/dist/modules/website_seo/functions.js.map +1 -0
- package/dist/modules/website_seo/index.js +15 -5
- package/dist/modules/website_seo/index.js.map +1 -1
- package/dist/modules/website_seo/projection.d.ts +52 -0
- package/dist/modules/website_seo/projection.d.ts.map +1 -0
- package/dist/modules/website_seo/projection.js +129 -0
- package/dist/modules/website_seo/projection.js.map +1 -0
- package/dist/modules/website_seo/routes.d.ts +3 -0
- package/dist/modules/website_seo/routes.d.ts.map +1 -0
- package/dist/modules/website_seo/routes.js +56 -0
- package/dist/modules/website_seo/routes.js.map +1 -0
- package/dist/permission-catalogue.d.ts +5 -0
- package/dist/permission-catalogue.d.ts.map +1 -0
- package/dist/permission-catalogue.js +1505 -0
- package/dist/permission-catalogue.js.map +1 -0
- package/dist/scaffold/index.d.ts +2 -0
- package/dist/scaffold/index.d.ts.map +1 -0
- package/dist/scaffold/index.js +31 -0
- package/dist/scaffold/index.js.map +1 -0
- package/dist/scaffold/templates/README.md.tmpl +17 -0
- package/dist/scaffold/templates/gitignore.tmpl +2 -0
- package/dist/scaffold/templates/ket.workspace.mjs.tmpl +1 -0
- package/dist/scaffold/templates/package.json.tmpl +15 -0
- package/dist/themes/hospitality/templates/website.columns.ktl +4 -0
- package/dist/themes/paper/templates/website.columns.ktl +4 -0
- package/dist/ui/actions.d.ts +4 -0
- package/dist/ui/actions.d.ts.map +1 -1
- package/dist/ui/actions.js +1 -1
- package/dist/ui/actions.js.map +1 -1
- package/dist/ui/activity.d.ts +1 -1
- package/dist/ui/activity.d.ts.map +1 -1
- package/dist/ui/activity.js +3 -5
- package/dist/ui/activity.js.map +1 -1
- package/dist/ui/attachments.js +1 -1
- package/dist/ui/attachments.js.map +1 -1
- package/dist/ui/auth.d.ts +36 -0
- package/dist/ui/auth.d.ts.map +1 -1
- package/dist/ui/auth.js +55 -0
- package/dist/ui/auth.js.map +1 -1
- package/dist/ui/board-page.d.ts +6 -0
- package/dist/ui/board-page.d.ts.map +1 -0
- package/dist/ui/board-page.js +4 -0
- package/dist/ui/board-page.js.map +1 -0
- package/dist/ui/charts.d.ts +83 -0
- package/dist/ui/charts.d.ts.map +1 -0
- package/dist/ui/charts.js +105 -0
- package/dist/ui/charts.js.map +1 -0
- package/dist/ui/chrome.d.ts +37 -2
- package/dist/ui/chrome.d.ts.map +1 -1
- package/dist/ui/chrome.js +39 -5
- package/dist/ui/chrome.js.map +1 -1
- package/dist/ui/client/activity-view.mjs +7 -7
- package/dist/ui/client/activity-view.mjs.map +1 -1
- package/dist/ui/client/activity.css +6 -34
- package/dist/ui/client/calendar-view.d.mts.map +1 -1
- package/dist/ui/client/calendar-view.mjs +7 -6
- package/dist/ui/client/calendar-view.mjs.map +1 -1
- package/dist/ui/client/calendar.css +4 -14
- package/dist/ui/client/chart-view.d.ts +51 -0
- package/dist/ui/client/chart-view.d.ts.map +1 -0
- package/dist/ui/client/chart-view.js +192 -0
- package/dist/ui/client/chart-view.js.map +1 -0
- package/dist/ui/client/flow-app.css +387 -0
- package/dist/ui/client/flow-board-view.d.mts +8 -0
- package/dist/ui/client/flow-board-view.d.mts.map +1 -0
- package/dist/ui/client/flow-board-view.mjs +161 -0
- package/dist/ui/client/flow-board-view.mjs.map +1 -0
- package/dist/ui/client/flow-board.d.mts +3 -0
- package/dist/ui/client/flow-board.d.mts.map +1 -0
- package/dist/ui/client/flow-board.mjs +7 -0
- package/dist/ui/client/flow-board.mjs.map +1 -0
- package/dist/ui/client/flow-map-view.d.mts +2 -0
- package/dist/ui/client/flow-map-view.d.mts.map +1 -0
- package/dist/ui/client/flow-map-view.mjs +235 -0
- package/dist/ui/client/flow-map-view.mjs.map +1 -0
- package/dist/ui/client/flow-map.d.mts +3 -0
- package/dist/ui/client/flow-map.d.mts.map +1 -0
- package/dist/ui/client/flow-map.mjs +7 -0
- package/dist/ui/client/flow-map.mjs.map +1 -0
- package/dist/ui/client/live-doc-blocks.d.ts +19 -0
- package/dist/ui/client/live-doc-blocks.d.ts.map +1 -0
- package/dist/ui/client/live-doc-blocks.js +23 -0
- package/dist/ui/client/live-doc-blocks.js.map +1 -0
- package/dist/ui/client/live-doc-markdown.d.ts +18 -0
- package/dist/ui/client/live-doc-markdown.d.ts.map +1 -0
- package/dist/ui/client/live-doc-markdown.js +175 -0
- package/dist/ui/client/live-doc-markdown.js.map +1 -0
- package/dist/ui/client/live-doc-shell.d.ts +101 -0
- package/dist/ui/client/live-doc-shell.d.ts.map +1 -0
- package/dist/ui/client/live-doc-shell.js +251 -0
- package/dist/ui/client/live-doc-shell.js.map +1 -0
- package/dist/ui/client/live-doc-view.d.ts +33 -0
- package/dist/ui/client/live-doc-view.d.ts.map +1 -0
- package/dist/ui/client/live-doc-view.js +1237 -0
- package/dist/ui/client/live-doc-view.js.map +1 -0
- package/dist/ui/client/live-doc.css +243 -0
- package/dist/ui/client/live-doc.d.mts +12 -0
- package/dist/ui/client/live-doc.d.mts.map +1 -0
- package/dist/ui/client/live-doc.mjs +11 -0
- package/dist/ui/client/live-doc.mjs.map +7 -0
- package/dist/ui/client/mail-bundle.d.mts +9 -0
- package/dist/ui/client/mail-bundle.d.mts.map +1 -0
- package/dist/ui/client/mail-bundle.mjs +50 -0
- package/dist/ui/client/mail-bundle.mjs.map +7 -0
- package/dist/ui/client/mail-entry.d.mts +11 -0
- package/dist/ui/client/mail-entry.d.mts.map +1 -0
- package/dist/ui/client/mail-entry.mjs +9 -0
- package/dist/ui/client/mail-entry.mjs.map +1 -0
- package/dist/ui/client/mail-view.d.mts.map +1 -1
- package/dist/ui/client/mail-view.mjs +5 -3
- package/dist/ui/client/mail-view.mjs.map +1 -1
- package/dist/ui/client/mail.css +3 -3
- package/dist/ui/client/relation-select-view.d.ts +77 -0
- package/dist/ui/client/relation-select-view.d.ts.map +1 -0
- package/dist/ui/client/relation-select-view.js +216 -0
- package/dist/ui/client/relation-select-view.js.map +1 -0
- package/dist/ui/client/table-selection-view.d.ts +4 -0
- package/dist/ui/client/table-selection-view.d.ts.map +1 -0
- package/dist/ui/client/table-selection-view.js +283 -0
- package/dist/ui/client/table-selection-view.js.map +1 -0
- package/dist/ui/dashboard-page.d.ts +6 -0
- package/dist/ui/dashboard-page.d.ts.map +1 -0
- package/dist/ui/dashboard-page.js +4 -0
- package/dist/ui/dashboard-page.js.map +1 -0
- package/dist/ui/data.d.ts +51 -1
- package/dist/ui/data.d.ts.map +1 -1
- package/dist/ui/data.js +87 -1
- package/dist/ui/data.js.map +1 -1
- package/dist/ui/date-picker.d.ts.map +1 -1
- package/dist/ui/date-picker.js +2 -2
- package/dist/ui/date-picker.js.map +1 -1
- package/dist/ui/form-page.d.ts +6 -0
- package/dist/ui/form-page.d.ts.map +1 -0
- package/dist/ui/form-page.js +5 -0
- package/dist/ui/form-page.js.map +1 -0
- package/dist/ui/form.d.ts +4 -1
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +7 -5
- package/dist/ui/form.js.map +1 -1
- package/dist/ui/format.d.ts +13 -2
- package/dist/ui/format.d.ts.map +1 -1
- package/dist/ui/format.js +28 -7
- package/dist/ui/format.js.map +1 -1
- package/dist/ui/gantt.d.ts +52 -0
- package/dist/ui/gantt.d.ts.map +1 -0
- package/dist/ui/gantt.js +92 -0
- package/dist/ui/gantt.js.map +1 -0
- package/dist/ui/hooks.d.ts.map +1 -1
- package/dist/ui/hooks.js +14 -0
- package/dist/ui/hooks.js.map +1 -1
- package/dist/ui/icons.d.ts.map +1 -1
- package/dist/ui/icons.js +6 -1
- package/dist/ui/icons.js.map +1 -1
- package/dist/ui/index.d.ts +95 -14
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +78 -13
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/layout.d.ts +43 -38
- package/dist/ui/layout.d.ts.map +1 -1
- package/dist/ui/layout.js +29 -37
- package/dist/ui/layout.js.map +1 -1
- package/dist/ui/list-page.d.ts +19 -0
- package/dist/ui/list-page.d.ts.map +1 -0
- package/dist/ui/list-page.js +21 -0
- package/dist/ui/list-page.js.map +1 -0
- package/dist/ui/media.d.ts +2 -0
- package/dist/ui/media.d.ts.map +1 -1
- package/dist/ui/media.js +1 -1
- package/dist/ui/media.js.map +1 -1
- package/dist/ui/modal.d.ts +26 -1
- package/dist/ui/modal.d.ts.map +1 -1
- package/dist/ui/modal.js +18 -2
- package/dist/ui/modal.js.map +1 -1
- package/dist/ui/nav.d.ts +21 -1
- package/dist/ui/nav.d.ts.map +1 -1
- package/dist/ui/nav.js +43 -8
- package/dist/ui/nav.js.map +1 -1
- package/dist/ui/navigation.d.ts +36 -2
- package/dist/ui/navigation.d.ts.map +1 -1
- package/dist/ui/navigation.js +60 -5
- package/dist/ui/navigation.js.map +1 -1
- package/dist/ui/partner.d.ts +18 -0
- package/dist/ui/partner.d.ts.map +1 -0
- package/dist/ui/partner.js +11 -0
- package/dist/ui/partner.js.map +1 -0
- package/dist/ui/primitives.d.ts +28 -10
- package/dist/ui/primitives.d.ts.map +1 -1
- package/dist/ui/primitives.js +21 -7
- package/dist/ui/primitives.js.map +1 -1
- package/dist/ui/product-media.d.ts +47 -0
- package/dist/ui/product-media.d.ts.map +1 -0
- package/dist/ui/product-media.js +67 -0
- package/dist/ui/product-media.js.map +1 -0
- package/dist/ui/product-variants.d.ts +68 -0
- package/dist/ui/product-variants.d.ts.map +1 -0
- package/dist/ui/product-variants.js +81 -0
- package/dist/ui/product-variants.js.map +1 -0
- package/dist/ui/record-detail.d.ts +70 -0
- package/dist/ui/record-detail.d.ts.map +1 -0
- package/dist/ui/record-detail.js +35 -0
- package/dist/ui/record-detail.js.map +1 -0
- package/dist/ui/record-page.d.ts +16 -0
- package/dist/ui/record-page.d.ts.map +1 -0
- package/dist/ui/record-page.js +13 -0
- package/dist/ui/record-page.js.map +1 -0
- package/dist/ui/record.d.ts +15 -3
- package/dist/ui/record.d.ts.map +1 -1
- package/dist/ui/record.js +6 -5
- package/dist/ui/record.js.map +1 -1
- package/dist/ui/surfaces.d.ts +30 -2
- package/dist/ui/surfaces.d.ts.map +1 -1
- package/dist/ui/surfaces.js +39 -2
- package/dist/ui/surfaces.js.map +1 -1
- package/dist/ui/table.d.ts +25 -2
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +10 -6
- package/dist/ui/table.js.map +1 -1
- package/dist/ui/timeframe.d.ts +39 -0
- package/dist/ui/timeframe.d.ts.map +1 -0
- package/dist/ui/timeframe.js +36 -0
- package/dist/ui/timeframe.js.map +1 -0
- package/dist/ui/workspace-page.d.ts +16 -0
- package/dist/ui/workspace-page.d.ts.map +1 -0
- package/dist/ui/workspace-page.js +15 -0
- package/dist/ui/workspace-page.js.map +1 -0
- package/package.json +16 -3
- package/dist/modules/account/tt99.d.ts +0 -30
- package/dist/modules/account/tt99.d.ts.map +0 -1
- package/dist/modules/account/tt99.js +0 -1661
- package/dist/modules/account/tt99.js.map +0 -1
- package/dist/modules/account_backend/accounting-overview-screen.d.ts +0 -18
- package/dist/modules/account_backend/accounting-overview-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/accounting-overview-screen.js +0 -104
- package/dist/modules/account_backend/accounting-overview-screen.js.map +0 -1
- package/dist/modules/account_backend/accounts-screen.d.ts +0 -13
- package/dist/modules/account_backend/accounts-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/accounts-screen.js +0 -49
- package/dist/modules/account_backend/accounts-screen.js.map +0 -1
- package/dist/modules/account_backend/customer-invoices-screen.d.ts +0 -14
- package/dist/modules/account_backend/customer-invoices-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/customer-invoices-screen.js +0 -63
- package/dist/modules/account_backend/customer-invoices-screen.js.map +0 -1
- package/dist/modules/account_backend/general-ledger-screen.d.ts +0 -13
- package/dist/modules/account_backend/general-ledger-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/general-ledger-screen.js +0 -56
- package/dist/modules/account_backend/general-ledger-screen.js.map +0 -1
- package/dist/modules/account_backend/journal-entries-screen.d.ts +0 -14
- package/dist/modules/account_backend/journal-entries-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/journal-entries-screen.js +0 -45
- package/dist/modules/account_backend/journal-entries-screen.js.map +0 -1
- package/dist/modules/account_backend/journals-screen.d.ts +0 -14
- package/dist/modules/account_backend/journals-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/journals-screen.js +0 -53
- package/dist/modules/account_backend/journals-screen.js.map +0 -1
- package/dist/modules/account_backend/move-detail-screen.d.ts +0 -10
- package/dist/modules/account_backend/move-detail-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/move-detail-screen.js +0 -100
- package/dist/modules/account_backend/move-detail-screen.js.map +0 -1
- package/dist/modules/account_backend/partner-ledger-screen.d.ts +0 -14
- package/dist/modules/account_backend/partner-ledger-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/partner-ledger-screen.js +0 -69
- package/dist/modules/account_backend/partner-ledger-screen.js.map +0 -1
- package/dist/modules/account_backend/payment-terms-screen.d.ts +0 -14
- package/dist/modules/account_backend/payment-terms-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/payment-terms-screen.js +0 -40
- package/dist/modules/account_backend/payment-terms-screen.js.map +0 -1
- package/dist/modules/account_backend/payments-screen.d.ts +0 -14
- package/dist/modules/account_backend/payments-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/payments-screen.js +0 -54
- package/dist/modules/account_backend/payments-screen.js.map +0 -1
- package/dist/modules/account_backend/screens.d.ts +0 -7
- package/dist/modules/account_backend/screens.d.ts.map +0 -1
- package/dist/modules/account_backend/screens.js +0 -7
- package/dist/modules/account_backend/screens.js.map +0 -1
- package/dist/modules/account_backend/taxes-screen.d.ts +0 -15
- package/dist/modules/account_backend/taxes-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/taxes-screen.js +0 -73
- package/dist/modules/account_backend/taxes-screen.js.map +0 -1
- package/dist/modules/account_backend/trial-balance-screen.d.ts +0 -13
- package/dist/modules/account_backend/trial-balance-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/trial-balance-screen.js +0 -62
- package/dist/modules/account_backend/trial-balance-screen.js.map +0 -1
- package/dist/modules/account_backend/vendor-bills-screen.d.ts +0 -14
- package/dist/modules/account_backend/vendor-bills-screen.d.ts.map +0 -1
- package/dist/modules/account_backend/vendor-bills-screen.js +0 -59
- package/dist/modules/account_backend/vendor-bills-screen.js.map +0 -1
- package/dist/modules/account_partner_backend/screens.d.ts +0 -16
- package/dist/modules/account_partner_backend/screens.d.ts.map +0 -1
- package/dist/modules/account_partner_backend/screens.js +0 -26
- package/dist/modules/account_partner_backend/screens.js.map +0 -1
- package/dist/modules/activity_backend/screens.d.ts +0 -5
- package/dist/modules/activity_backend/screens.d.ts.map +0 -1
- package/dist/modules/activity_backend/screens.js +0 -52
- package/dist/modules/activity_backend/screens.js.map +0 -1
- package/dist/modules/address_backend/screens.d.ts +0 -31
- package/dist/modules/address_backend/screens.d.ts.map +0 -1
- package/dist/modules/address_backend/screens.js +0 -147
- package/dist/modules/address_backend/screens.js.map +0 -1
- package/dist/modules/backend/design/admin.css +0 -4229
- package/dist/modules/backend/design/client/relation-select-view.d.mts +0 -5
- package/dist/modules/backend/design/client/relation-select-view.d.mts.map +0 -1
- package/dist/modules/backend/design/client/relation-select-view.mjs +0 -335
- package/dist/modules/backend/design/client/relation-select-view.mjs.map +0 -1
- package/dist/modules/calendar_backend/screens.d.ts +0 -5
- package/dist/modules/calendar_backend/screens.d.ts.map +0 -1
- package/dist/modules/calendar_backend/screens.js +0 -4
- package/dist/modules/calendar_backend/screens.js.map +0 -1
- package/dist/modules/company_backend/screens.d.ts +0 -62
- package/dist/modules/company_backend/screens.d.ts.map +0 -1
- package/dist/modules/company_backend/screens.js +0 -268
- package/dist/modules/company_backend/screens.js.map +0 -1
- package/dist/modules/crm_backend/list-search.d.ts +0 -21
- package/dist/modules/crm_backend/list-search.d.ts.map +0 -1
- package/dist/modules/crm_backend/list-search.js +0 -220
- package/dist/modules/crm_backend/list-search.js.map +0 -1
- package/dist/modules/crm_backend/screens.d.ts +0 -32
- package/dist/modules/crm_backend/screens.d.ts.map +0 -1
- package/dist/modules/crm_backend/screens.js +0 -405
- package/dist/modules/crm_backend/screens.js.map +0 -1
- package/dist/modules/hospitality_core/screens.d.ts +0 -763
- package/dist/modules/hospitality_core/screens.d.ts.map +0 -1
- package/dist/modules/hospitality_core/screens.js +0 -4138
- package/dist/modules/hospitality_core/screens.js.map +0 -1
- package/dist/modules/hr_backend/screens.d.ts +0 -9
- package/dist/modules/hr_backend/screens.d.ts.map +0 -1
- package/dist/modules/hr_backend/screens.js +0 -144
- package/dist/modules/hr_backend/screens.js.map +0 -1
- package/dist/modules/loyalty_backend/screens.d.ts +0 -33
- package/dist/modules/loyalty_backend/screens.d.ts.map +0 -1
- package/dist/modules/loyalty_backend/screens.js +0 -562
- package/dist/modules/loyalty_backend/screens.js.map +0 -1
- package/dist/modules/mail_backend/screens.d.ts +0 -5
- package/dist/modules/mail_backend/screens.d.ts.map +0 -1
- package/dist/modules/mail_backend/screens.js +0 -11
- package/dist/modules/mail_backend/screens.js.map +0 -1
- package/dist/modules/mail_inbound_backend/screens.d.ts +0 -5
- package/dist/modules/mail_inbound_backend/screens.d.ts.map +0 -1
- package/dist/modules/mail_inbound_backend/screens.js +0 -25
- package/dist/modules/mail_inbound_backend/screens.js.map +0 -1
- package/dist/modules/mail_transport_backend/screens.d.ts +0 -5
- package/dist/modules/mail_transport_backend/screens.d.ts.map +0 -1
- package/dist/modules/mail_transport_backend/screens.js +0 -35
- package/dist/modules/mail_transport_backend/screens.js.map +0 -1
- package/dist/modules/oauth_backend/screens.d.ts +0 -66
- package/dist/modules/oauth_backend/screens.d.ts.map +0 -1
- package/dist/modules/oauth_backend/screens.js +0 -323
- package/dist/modules/oauth_backend/screens.js.map +0 -1
- package/dist/modules/odoo_collaboration_import/functions.d.ts.map +0 -1
- package/dist/modules/odoo_collaboration_import/functions.js +0 -128
- package/dist/modules/odoo_collaboration_import/functions.js.map +0 -1
- package/dist/modules/odoo_collaboration_import/index.d.ts +0 -6
- package/dist/modules/odoo_collaboration_import/index.d.ts.map +0 -1
- package/dist/modules/odoo_collaboration_import/index.js +0 -31
- package/dist/modules/odoo_collaboration_import/index.js.map +0 -1
- package/dist/modules/odoo_collaboration_import/models.d.ts.map +0 -1
- package/dist/modules/odoo_collaboration_import/models.js +0 -76
- package/dist/modules/odoo_collaboration_import/models.js.map +0 -1
- package/dist/modules/odoo_collaboration_import/operations.d.ts +0 -14
- package/dist/modules/odoo_collaboration_import/operations.d.ts.map +0 -1
- package/dist/modules/odoo_collaboration_import/operations.js +0 -1139
- package/dist/modules/odoo_collaboration_import/operations.js.map +0 -1
- package/dist/modules/odoo_collaboration_import/relations.d.ts.map +0 -1
- package/dist/modules/odoo_collaboration_import/relations.js +0 -19
- package/dist/modules/odoo_collaboration_import/relations.js.map +0 -1
- package/dist/modules/odoo_collaboration_import/types.d.ts +0 -58
- package/dist/modules/odoo_collaboration_import/types.d.ts.map +0 -1
- package/dist/modules/odoo_collaboration_import/types.js.map +0 -1
- package/dist/modules/partner_backend/screens.d.ts +0 -53
- package/dist/modules/partner_backend/screens.d.ts.map +0 -1
- package/dist/modules/partner_backend/screens.js +0 -169
- package/dist/modules/partner_backend/screens.js.map +0 -1
- package/dist/modules/pricing_backend/screens.d.ts +0 -13
- package/dist/modules/pricing_backend/screens.d.ts.map +0 -1
- package/dist/modules/pricing_backend/screens.js +0 -182
- package/dist/modules/pricing_backend/screens.js.map +0 -1
- package/dist/modules/product_backend/attributes-screen.d.ts +0 -7
- package/dist/modules/product_backend/attributes-screen.d.ts.map +0 -1
- package/dist/modules/product_backend/attributes-screen.js +0 -76
- package/dist/modules/product_backend/attributes-screen.js.map +0 -1
- package/dist/modules/product_backend/create-screen.d.ts +0 -12
- package/dist/modules/product_backend/create-screen.d.ts.map +0 -1
- package/dist/modules/product_backend/create-screen.js +0 -83
- package/dist/modules/product_backend/create-screen.js.map +0 -1
- package/dist/modules/product_backend/screens.d.ts +0 -68
- package/dist/modules/product_backend/screens.d.ts.map +0 -1
- package/dist/modules/product_backend/screens.js +0 -388
- package/dist/modules/product_backend/screens.js.map +0 -1
- package/dist/modules/purchase_backend/screens.d.ts +0 -29
- package/dist/modules/purchase_backend/screens.d.ts.map +0 -1
- package/dist/modules/purchase_backend/screens.js +0 -324
- package/dist/modules/purchase_backend/screens.js.map +0 -1
- package/dist/modules/sale_backend/invoicing-policies-screen.d.ts +0 -14
- package/dist/modules/sale_backend/invoicing-policies-screen.d.ts.map +0 -1
- package/dist/modules/sale_backend/invoicing-policies-screen.js +0 -36
- package/dist/modules/sale_backend/invoicing-policies-screen.js.map +0 -1
- package/dist/modules/sale_backend/order-detail-screen.d.ts +0 -18
- package/dist/modules/sale_backend/order-detail-screen.d.ts.map +0 -1
- package/dist/modules/sale_backend/order-detail-screen.js +0 -217
- package/dist/modules/sale_backend/order-detail-screen.js.map +0 -1
- package/dist/modules/sale_backend/quotations-screen.d.ts +0 -15
- package/dist/modules/sale_backend/quotations-screen.d.ts.map +0 -1
- package/dist/modules/sale_backend/quotations-screen.js +0 -64
- package/dist/modules/sale_backend/quotations-screen.js.map +0 -1
- package/dist/modules/sale_backend/sales-orders-screen.d.ts +0 -12
- package/dist/modules/sale_backend/sales-orders-screen.d.ts.map +0 -1
- package/dist/modules/sale_backend/sales-orders-screen.js +0 -65
- package/dist/modules/sale_backend/sales-orders-screen.js.map +0 -1
- package/dist/modules/sale_backend/screens.d.ts +0 -23
- package/dist/modules/sale_backend/screens.d.ts.map +0 -1
- package/dist/modules/sale_backend/screens.js +0 -275
- package/dist/modules/sale_backend/screens.js.map +0 -1
- package/dist/modules/stock_backend/forecast-screen.d.ts +0 -28
- package/dist/modules/stock_backend/forecast-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/forecast-screen.js +0 -108
- package/dist/modules/stock_backend/forecast-screen.js.map +0 -1
- package/dist/modules/stock_backend/inventory-screen.d.ts +0 -27
- package/dist/modules/stock_backend/inventory-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/inventory-screen.js +0 -141
- package/dist/modules/stock_backend/inventory-screen.js.map +0 -1
- package/dist/modules/stock_backend/locations-screen.d.ts +0 -18
- package/dist/modules/stock_backend/locations-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/locations-screen.js +0 -92
- package/dist/modules/stock_backend/locations-screen.js.map +0 -1
- package/dist/modules/stock_backend/lot-screen.d.ts +0 -30
- package/dist/modules/stock_backend/lot-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/lot-screen.js +0 -86
- package/dist/modules/stock_backend/lot-screen.js.map +0 -1
- package/dist/modules/stock_backend/lots-screen.d.ts +0 -21
- package/dist/modules/stock_backend/lots-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/lots-screen.js +0 -79
- package/dist/modules/stock_backend/lots-screen.js.map +0 -1
- package/dist/modules/stock_backend/picking-types-screen.d.ts +0 -21
- package/dist/modules/stock_backend/picking-types-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/picking-types-screen.js +0 -110
- package/dist/modules/stock_backend/picking-types-screen.js.map +0 -1
- package/dist/modules/stock_backend/replenishment-screen.d.ts +0 -29
- package/dist/modules/stock_backend/replenishment-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/replenishment-screen.js +0 -131
- package/dist/modules/stock_backend/replenishment-screen.js.map +0 -1
- package/dist/modules/stock_backend/screens.d.ts +0 -14
- package/dist/modules/stock_backend/screens.d.ts.map +0 -1
- package/dist/modules/stock_backend/screens.js +0 -40
- package/dist/modules/stock_backend/screens.js.map +0 -1
- package/dist/modules/stock_backend/stock-route-screen.d.ts +0 -30
- package/dist/modules/stock_backend/stock-route-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/stock-route-screen.js +0 -129
- package/dist/modules/stock_backend/stock-route-screen.js.map +0 -1
- package/dist/modules/stock_backend/stock-routes-screen.d.ts +0 -17
- package/dist/modules/stock_backend/stock-routes-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/stock-routes-screen.js +0 -60
- package/dist/modules/stock_backend/stock-routes-screen.js.map +0 -1
- package/dist/modules/stock_backend/transfer-screen.d.ts +0 -26
- package/dist/modules/stock_backend/transfer-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/transfer-screen.js +0 -95
- package/dist/modules/stock_backend/transfer-screen.js.map +0 -1
- package/dist/modules/stock_backend/transfers-screen.d.ts +0 -21
- package/dist/modules/stock_backend/transfers-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/transfers-screen.js +0 -88
- package/dist/modules/stock_backend/transfers-screen.js.map +0 -1
- package/dist/modules/stock_backend/warehouses-screen.d.ts +0 -17
- package/dist/modules/stock_backend/warehouses-screen.d.ts.map +0 -1
- package/dist/modules/stock_backend/warehouses-screen.js +0 -96
- package/dist/modules/stock_backend/warehouses-screen.js.map +0 -1
- package/dist/modules/user_backend/screens.d.ts +0 -70
- package/dist/modules/user_backend/screens.d.ts.map +0 -1
- package/dist/modules/user_backend/screens.js +0 -308
- package/dist/modules/user_backend/screens.js.map +0 -1
- package/dist/modules/website/customer-routes.d.ts +0 -3
- package/dist/modules/website/customer-routes.d.ts.map +0 -1
- package/dist/modules/website/customer-routes.js +0 -322
- package/dist/modules/website/customer-routes.js.map +0 -1
- package/dist/modules/website_backend/screens.d.ts +0 -114
- package/dist/modules/website_backend/screens.d.ts.map +0 -1
- package/dist/modules/website_backend/screens.js +0 -625
- package/dist/modules/website_backend/screens.js.map +0 -1
- package/dist/ui/client/mail.d.mts +0 -11
- package/dist/ui/client/mail.d.mts.map +0 -1
- package/dist/ui/client/mail.mjs +0 -10
- package/dist/ui/client/mail.mjs.map +0 -1
- /package/dist/modules/{odoo_collaboration_import → account_staff_channel}/functions.d.ts +0 -0
- /package/dist/modules/{odoo_collaboration_import → account_staff_channel}/models.d.ts +0 -0
- /package/dist/modules/{odoo_collaboration_import → address_backend/screens}/types.js +0 -0
- /package/dist/modules/{odoo_collaboration_import → manufacturing}/relations.d.ts +0 -0
|
@@ -0,0 +1,1586 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@ketvietlab/ketjs-view/jsx-runtime";
|
|
2
|
+
import { badge, CardGrid, code, dataTable, DatePicker, DefinitionList, emptyState, formatDateTime, formatMoney, FormCluster, RecordScreen, icon, inline, linkButton, MediaPanel, Metric, modalForm, ModalSheet, modalWorkspace, Notice, person, RecordActions, RecordForm, RecordWorkspace, ScheduleBoard, Section, stack, Surface, WorkspaceScreen, } from '../../../ui/index.js';
|
|
3
|
+
import { addCalendarDays, dateKeyIn, zonedMidnight } from '../calendar.js';
|
|
4
|
+
import { ACCOMMODATION_TYPES, BOOKING_PROVIDERS, CHARGE_TYPES, DOCUMENT_TYPES, GENDERS, ROOM_STATUSES, ROOM_VIEW_TYPES, } from '../types.js';
|
|
5
|
+
export { badge, CardGrid, code, dataTable, DatePicker, DefinitionList, emptyState, formatDateTime, formatMoney, FormCluster, RecordScreen, icon, inline, linkButton, MediaPanel, Metric, modalForm, ModalSheet, modalWorkspace, Notice, person, RecordActions, RecordForm, RecordWorkspace, ScheduleBoard, Section, stack, Surface, WorkspaceScreen, addCalendarDays, dateKeyIn, zonedMidnight, ACCOMMODATION_TYPES, BOOKING_PROVIDERS, CHARGE_TYPES, DOCUMENT_TYPES, GENDERS, ROOM_STATUSES, ROOM_VIEW_TYPES, };
|
|
6
|
+
export const providerName = (_, provider) => BOOKING_PROVIDERS.includes(provider)
|
|
7
|
+
? _(`hospitality_core.provider.${provider}`)
|
|
8
|
+
: provider.replace(/[_-]+/g, ' ').replace(/\b\w/g, (letter) => letter.toUpperCase());
|
|
9
|
+
export const statusTone = (status) => {
|
|
10
|
+
if (status === 'available')
|
|
11
|
+
return 'positive';
|
|
12
|
+
if (status === 'dirty' || status === 'cleaning')
|
|
13
|
+
return 'warning';
|
|
14
|
+
if (status === 'maintenance' || status === 'out_of_order')
|
|
15
|
+
return 'danger';
|
|
16
|
+
if (status === 'occupied')
|
|
17
|
+
return 'info';
|
|
18
|
+
return 'neutral';
|
|
19
|
+
};
|
|
20
|
+
export const workflowTone = (status) => {
|
|
21
|
+
if (status === 'confirmed' || status === 'checked_in' || status === 'open')
|
|
22
|
+
return 'positive';
|
|
23
|
+
if (status === 'draft')
|
|
24
|
+
return 'warning';
|
|
25
|
+
if (status === 'cancelled' || status === 'no_show')
|
|
26
|
+
return 'danger';
|
|
27
|
+
if (status === 'checked_out' || status === 'closed')
|
|
28
|
+
return 'neutral';
|
|
29
|
+
return 'info';
|
|
30
|
+
};
|
|
31
|
+
export const cleaningTone = (state) => {
|
|
32
|
+
if (state === 'todo')
|
|
33
|
+
return 'warning';
|
|
34
|
+
if (state === 'in_progress')
|
|
35
|
+
return 'info';
|
|
36
|
+
if (state === 'done')
|
|
37
|
+
return 'positive';
|
|
38
|
+
return 'neutral';
|
|
39
|
+
};
|
|
40
|
+
export const noticeTone = (state) => {
|
|
41
|
+
if (state === 'attention')
|
|
42
|
+
return 'warning';
|
|
43
|
+
if (state === 'ready' || state === 'submitted')
|
|
44
|
+
return 'info';
|
|
45
|
+
if (state === 'confirmed')
|
|
46
|
+
return 'positive';
|
|
47
|
+
return 'neutral';
|
|
48
|
+
};
|
|
49
|
+
export const calendarDate = (value, locale, timezone) => formatDateTime(locale, new Date(value), {
|
|
50
|
+
timeZone: timezone,
|
|
51
|
+
day: '2-digit',
|
|
52
|
+
month: '2-digit',
|
|
53
|
+
});
|
|
54
|
+
export const dateTime = (value, locale, timezone) => formatDateTime(locale, new Date(value), {
|
|
55
|
+
timeZone: timezone,
|
|
56
|
+
day: '2-digit',
|
|
57
|
+
month: '2-digit',
|
|
58
|
+
hour: '2-digit',
|
|
59
|
+
minute: '2-digit',
|
|
60
|
+
hour12: false,
|
|
61
|
+
});
|
|
62
|
+
export const guestName = (row) => row.partner?.name ?? row.partnerId;
|
|
63
|
+
export const propertyColumns = (_) => [
|
|
64
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
65
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
66
|
+
{
|
|
67
|
+
key: 'type',
|
|
68
|
+
label: _('hospitality_core.col.type'),
|
|
69
|
+
cell: (row) => badge(_(`hospitality_core.accommodation.${row.accommodationType}`)),
|
|
70
|
+
kind: 'status',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
key: 'location',
|
|
74
|
+
label: _('hospitality_core.col.location'),
|
|
75
|
+
cell: (row) => row.addressLine || [row.city, row.country].filter(Boolean).join(', ') || '—',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
key: 'rooms',
|
|
79
|
+
label: _('hospitality_core.col.rooms'),
|
|
80
|
+
cell: (row) => String(row.rooms),
|
|
81
|
+
align: 'end',
|
|
82
|
+
kind: 'number',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
key: 'stars',
|
|
86
|
+
label: _('hospitality_core.col.stars'),
|
|
87
|
+
cell: (row) => String(row.starRating),
|
|
88
|
+
align: 'end',
|
|
89
|
+
kind: 'number',
|
|
90
|
+
},
|
|
91
|
+
];
|
|
92
|
+
export const roomColumns = (_) => [
|
|
93
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
94
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
95
|
+
{
|
|
96
|
+
key: 'roomType',
|
|
97
|
+
label: _('hospitality_core.col.roomType'),
|
|
98
|
+
cell: (row) => row.roomType?.name ?? code(row.roomTypeId),
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
key: 'location',
|
|
102
|
+
label: _('hospitality_core.col.location'),
|
|
103
|
+
cell: (row) => [row.building?.name ?? row.building?.code, row.floor?.name ?? row.floor?.code]
|
|
104
|
+
.filter(Boolean)
|
|
105
|
+
.join(' · ') || '—',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
key: 'capacity',
|
|
109
|
+
label: _('hospitality_core.col.capacity'),
|
|
110
|
+
cell: (row) => String(row.capacity),
|
|
111
|
+
align: 'end',
|
|
112
|
+
kind: 'number',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
key: 'status',
|
|
116
|
+
label: _('hospitality_core.col.status'),
|
|
117
|
+
cell: (row) => badge(_(`hospitality_core.roomStatus.${row.status}`), statusTone(row.status), row.status),
|
|
118
|
+
kind: 'status',
|
|
119
|
+
priority: 'primary',
|
|
120
|
+
},
|
|
121
|
+
];
|
|
122
|
+
export const buildingColumns = (_) => [
|
|
123
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
124
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
125
|
+
{
|
|
126
|
+
key: 'floors',
|
|
127
|
+
label: _('hospitality_core.room.metric.floors'),
|
|
128
|
+
cell: (row) => String(row.floors?.filter((floor) => floor.active !== false).length ?? 0),
|
|
129
|
+
align: 'end',
|
|
130
|
+
kind: 'number',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
key: 'rooms',
|
|
134
|
+
label: _('hospitality_core.col.rooms'),
|
|
135
|
+
cell: (row) => String(row.rooms?.filter((room) => room.active !== false).length ?? 0),
|
|
136
|
+
align: 'end',
|
|
137
|
+
kind: 'number',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
key: 'active',
|
|
141
|
+
label: _('hospitality_core.col.status'),
|
|
142
|
+
cell: (row) => badge(_(row.active ? 'hospitality_core.value.active' : 'hospitality_core.value.inactive'), row.active ? 'positive' : 'neutral'),
|
|
143
|
+
kind: 'status',
|
|
144
|
+
},
|
|
145
|
+
];
|
|
146
|
+
export const floorColumns = (_) => [
|
|
147
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
148
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
149
|
+
{
|
|
150
|
+
key: 'building',
|
|
151
|
+
label: _('hospitality_core.room.field.building'),
|
|
152
|
+
cell: (row) => row.building?.name ?? row.building?.code ?? code(row.buildingId),
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
key: 'sequence',
|
|
156
|
+
label: _('hospitality_core.room.field.sequence'),
|
|
157
|
+
cell: (row) => String(row.sequence),
|
|
158
|
+
align: 'end',
|
|
159
|
+
kind: 'number',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
key: 'rooms',
|
|
163
|
+
label: _('hospitality_core.col.rooms'),
|
|
164
|
+
cell: (row) => String(row.rooms?.filter((room) => room.active !== false).length ?? 0),
|
|
165
|
+
align: 'end',
|
|
166
|
+
kind: 'number',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
key: 'active',
|
|
170
|
+
label: _('hospitality_core.col.status'),
|
|
171
|
+
cell: (row) => badge(_(row.active ? 'hospitality_core.value.active' : 'hospitality_core.value.inactive'), row.active ? 'positive' : 'neutral'),
|
|
172
|
+
kind: 'status',
|
|
173
|
+
},
|
|
174
|
+
];
|
|
175
|
+
export const roomTypeColumns = (_) => [
|
|
176
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
177
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
178
|
+
{
|
|
179
|
+
key: 'capacity',
|
|
180
|
+
label: _('hospitality_core.col.capacity'),
|
|
181
|
+
cell: (row) => String(row.defaultCapacity),
|
|
182
|
+
align: 'end',
|
|
183
|
+
kind: 'number',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
key: 'rooms',
|
|
187
|
+
label: _('hospitality_core.col.rooms'),
|
|
188
|
+
cell: (row) => String(row.rooms?.length ?? 0),
|
|
189
|
+
align: 'end',
|
|
190
|
+
kind: 'number',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
key: 'baseRate',
|
|
194
|
+
label: _('hospitality_core.col.baseRate'),
|
|
195
|
+
cell: (row) => formatMoney(_, row.baseRate),
|
|
196
|
+
align: 'end',
|
|
197
|
+
kind: 'currency',
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
key: 'published',
|
|
201
|
+
label: _('hospitality_core.col.published'),
|
|
202
|
+
cell: (row) => badge(_(row.published ? 'hospitality_core.value.yes' : 'hospitality_core.value.no'), row.published ? 'positive' : 'neutral'),
|
|
203
|
+
kind: 'status',
|
|
204
|
+
},
|
|
205
|
+
];
|
|
206
|
+
export const amenityColumns = (_) => [
|
|
207
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
208
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
209
|
+
{
|
|
210
|
+
key: 'scope',
|
|
211
|
+
label: _('hospitality_core.col.scope'),
|
|
212
|
+
cell: (row) => badge(_(`hospitality_core.amenityScope.${row.scope}`)),
|
|
213
|
+
kind: 'status',
|
|
214
|
+
},
|
|
215
|
+
];
|
|
216
|
+
export const policyColumns = (_) => [
|
|
217
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
218
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
219
|
+
{
|
|
220
|
+
key: 'policy',
|
|
221
|
+
label: _('hospitality_core.col.policy'),
|
|
222
|
+
cell: (row) => badge(_(`hospitality_core.policy.${row.type}`)),
|
|
223
|
+
kind: 'status',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
key: 'freeCancellation',
|
|
227
|
+
label: _('hospitality_core.col.freeCancellation'),
|
|
228
|
+
cell: (row) => _('hospitality_core.value.hours', { count: row.freeCancellationHours }),
|
|
229
|
+
align: 'end',
|
|
230
|
+
kind: 'number',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
key: 'penalty',
|
|
234
|
+
label: _('hospitality_core.col.penalty'),
|
|
235
|
+
cell: (row) => _('hospitality_core.value.percent', { count: Number(row.penaltyPercent) }),
|
|
236
|
+
align: 'end',
|
|
237
|
+
kind: 'number',
|
|
238
|
+
},
|
|
239
|
+
];
|
|
240
|
+
export const ratePlanColumns = (_) => [
|
|
241
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
242
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
243
|
+
{
|
|
244
|
+
key: 'roomType',
|
|
245
|
+
label: _('hospitality_core.col.roomType'),
|
|
246
|
+
cell: (row) => row.roomType?.name ?? row.roomType?.code ?? code(row.roomTypeId),
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
key: 'rateType',
|
|
250
|
+
label: _('hospitality_core.col.rateType'),
|
|
251
|
+
cell: (row) => badge(_(`hospitality_core.bookingType.${row.rateType}`)),
|
|
252
|
+
kind: 'status',
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
key: 'amount',
|
|
256
|
+
label: _('hospitality_core.col.amount'),
|
|
257
|
+
cell: (row) => formatMoney(_, row.amount),
|
|
258
|
+
align: 'end',
|
|
259
|
+
kind: 'currency',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
key: 'mealPlan',
|
|
263
|
+
label: _('hospitality_core.col.mealPlan'),
|
|
264
|
+
cell: (row) => (row.mealPlan ? _(`hospitality_core.mealPlan.${row.mealPlan}`) : '—'),
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
key: 'los',
|
|
268
|
+
label: _('hospitality_core.col.los'),
|
|
269
|
+
cell: (row) => `${row.minStay || '—'} / ${row.maxStay || '∞'}`,
|
|
270
|
+
align: 'end',
|
|
271
|
+
kind: 'number',
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
key: 'default',
|
|
275
|
+
label: _('hospitality_core.col.default'),
|
|
276
|
+
cell: (row) => badge(_(row.isDefault ? 'hospitality_core.value.yes' : 'hospitality_core.value.no'), row.isDefault ? 'positive' : 'neutral'),
|
|
277
|
+
kind: 'status',
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
key: 'active',
|
|
281
|
+
label: _('hospitality_core.col.status'),
|
|
282
|
+
cell: (row) => badge(_(row.active ? 'hospitality_core.value.active' : 'hospitality_core.value.inactive'), row.active ? 'positive' : 'neutral'),
|
|
283
|
+
kind: 'status',
|
|
284
|
+
},
|
|
285
|
+
];
|
|
286
|
+
export const inventoryColumns = (_) => [
|
|
287
|
+
{ key: 'date', label: _('hospitality_core.col.date'), cell: (row) => row.date, kind: 'date' },
|
|
288
|
+
{
|
|
289
|
+
key: 'total',
|
|
290
|
+
label: _('hospitality_core.col.total'),
|
|
291
|
+
cell: (row) => String(row.total),
|
|
292
|
+
align: 'end',
|
|
293
|
+
kind: 'number',
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
key: 'sold',
|
|
297
|
+
label: _('hospitality_core.col.sold'),
|
|
298
|
+
cell: (row) => String(row.sold),
|
|
299
|
+
align: 'end',
|
|
300
|
+
kind: 'number',
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
key: 'blocked',
|
|
304
|
+
label: _('hospitality_core.col.blocked'),
|
|
305
|
+
cell: (row) => String(row.blocked),
|
|
306
|
+
align: 'end',
|
|
307
|
+
kind: 'number',
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
key: 'available',
|
|
311
|
+
label: _('hospitality_core.col.available'),
|
|
312
|
+
cell: (row) => String(row.available),
|
|
313
|
+
align: 'end',
|
|
314
|
+
kind: 'number',
|
|
315
|
+
priority: 'primary',
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
key: 'los',
|
|
319
|
+
label: _('hospitality_core.col.los'),
|
|
320
|
+
cell: (row) => `${row.minLos || '—'} / ${row.maxLos || '∞'}`,
|
|
321
|
+
align: 'end',
|
|
322
|
+
kind: 'number',
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
key: 'restrictions',
|
|
326
|
+
label: _('hospitality_core.col.restrictions'),
|
|
327
|
+
cell: (row) => {
|
|
328
|
+
const values = [
|
|
329
|
+
...(row.stopSell ? [_('hospitality_core.restriction.stopSell')] : []),
|
|
330
|
+
...(row.closedToArrival ? ['CTA'] : []),
|
|
331
|
+
...(row.closedToDeparture ? ['CTD'] : []),
|
|
332
|
+
];
|
|
333
|
+
return values.length
|
|
334
|
+
? badge(values.join(' · '), row.stopSell ? 'danger' : 'warning')
|
|
335
|
+
: badge(_('hospitality_core.restriction.open'), 'positive');
|
|
336
|
+
},
|
|
337
|
+
kind: 'status',
|
|
338
|
+
},
|
|
339
|
+
];
|
|
340
|
+
export const cleaningTaskColumns = (_, locale, timezone) => [
|
|
341
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
342
|
+
{
|
|
343
|
+
key: 'room',
|
|
344
|
+
label: _('hospitality_core.col.room'),
|
|
345
|
+
cell: (row) => row.room?.name ?? row.room?.code ?? '—',
|
|
346
|
+
priority: 'primary',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
key: 'status',
|
|
350
|
+
label: _('hospitality_core.col.status'),
|
|
351
|
+
cell: (row) => badge(_(`hospitality_core.cleaningState.${row.state}`), cleaningTone(row.state), row.state),
|
|
352
|
+
kind: 'status',
|
|
353
|
+
priority: 'primary',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
key: 'priority',
|
|
357
|
+
label: _('hospitality_core.col.priority'),
|
|
358
|
+
cell: (row) => badge(_(`hospitality_core.cleaningPriority.${row.priority}`), row.priority === 'urgent' ? 'danger' : 'neutral'),
|
|
359
|
+
kind: 'status',
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
key: 'type',
|
|
363
|
+
label: _('hospitality_core.col.type'),
|
|
364
|
+
cell: (row) => _(`hospitality_core.cleaningType.${row.taskType}`),
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
key: 'assignee',
|
|
368
|
+
label: _('hospitality_core.col.assignee'),
|
|
369
|
+
cell: (row) => row.assigneeId ?? '—',
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
key: 'requestedAt',
|
|
373
|
+
label: _('hospitality_core.col.requestedAt'),
|
|
374
|
+
cell: (row) => dateTime(row.requestedAt, locale, timezone),
|
|
375
|
+
kind: 'date',
|
|
376
|
+
},
|
|
377
|
+
];
|
|
378
|
+
export const PROPERTY_TIMEZONES = [
|
|
379
|
+
'Asia/Ho_Chi_Minh',
|
|
380
|
+
'Asia/Bangkok',
|
|
381
|
+
'Asia/Singapore',
|
|
382
|
+
'Asia/Kuala_Lumpur',
|
|
383
|
+
'Asia/Jakarta',
|
|
384
|
+
'Asia/Manila',
|
|
385
|
+
'Asia/Tokyo',
|
|
386
|
+
'Asia/Seoul',
|
|
387
|
+
'Australia/Sydney',
|
|
388
|
+
'Europe/London',
|
|
389
|
+
'America/New_York',
|
|
390
|
+
'UTC',
|
|
391
|
+
];
|
|
392
|
+
export const propertyFormFields = (_, values, policies, branches) => {
|
|
393
|
+
const timezones = [...new Set([values.timezone, ...PROPERTY_TIMEZONES])];
|
|
394
|
+
return [
|
|
395
|
+
{ name: 'code', label: _('hospitality_core.property.field.code'), value: values.code, required: true },
|
|
396
|
+
{ name: 'name', label: _('hospitality_core.property.field.name'), value: values.name, required: true },
|
|
397
|
+
{
|
|
398
|
+
name: 'publicName',
|
|
399
|
+
label: _('hospitality_core.property.field.publicName'),
|
|
400
|
+
value: values.publicName,
|
|
401
|
+
help: _('hospitality_core.property.field.publicNameHint'),
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
name: 'branchId',
|
|
405
|
+
label: _('hospitality_core.property.field.branch'),
|
|
406
|
+
type: 'select',
|
|
407
|
+
value: values.branchId,
|
|
408
|
+
help: _('hospitality_core.property.field.branchHint'),
|
|
409
|
+
options: [
|
|
410
|
+
{ value: '', label: _('hospitality_core.property.value.noBranch') },
|
|
411
|
+
...branches.map((branch) => ({
|
|
412
|
+
value: branch.id,
|
|
413
|
+
label: `${branch.code} · ${branch.name}`,
|
|
414
|
+
})),
|
|
415
|
+
],
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: 'accommodationType',
|
|
419
|
+
label: _('hospitality_core.property.field.accommodationType'),
|
|
420
|
+
type: 'select',
|
|
421
|
+
value: values.accommodationType,
|
|
422
|
+
required: true,
|
|
423
|
+
options: ACCOMMODATION_TYPES.map((value) => ({
|
|
424
|
+
value,
|
|
425
|
+
label: _(`hospitality_core.accommodation.${value}`),
|
|
426
|
+
})),
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
name: 'starRating',
|
|
430
|
+
label: _('hospitality_core.property.field.starRating'),
|
|
431
|
+
type: 'number',
|
|
432
|
+
value: values.starRating,
|
|
433
|
+
required: true,
|
|
434
|
+
step: '1',
|
|
435
|
+
help: _('hospitality_core.property.field.starRatingHint'),
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
name: 'timezone',
|
|
439
|
+
label: _('hospitality_core.property.field.timezone'),
|
|
440
|
+
type: 'select',
|
|
441
|
+
value: values.timezone,
|
|
442
|
+
required: true,
|
|
443
|
+
options: timezones.map((value) => ({ value, label: value })),
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
name: 'defaultCheckIn',
|
|
447
|
+
label: _('hospitality_core.property.field.defaultCheckIn'),
|
|
448
|
+
type: 'time',
|
|
449
|
+
value: values.defaultCheckIn,
|
|
450
|
+
required: true,
|
|
451
|
+
step: '60',
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
name: 'defaultCheckOut',
|
|
455
|
+
label: _('hospitality_core.property.field.defaultCheckOut'),
|
|
456
|
+
type: 'time',
|
|
457
|
+
value: values.defaultCheckOut,
|
|
458
|
+
required: true,
|
|
459
|
+
step: '60',
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
name: 'enforceTimes',
|
|
463
|
+
label: _('hospitality_core.property.field.enforceTimes'),
|
|
464
|
+
type: 'checkbox',
|
|
465
|
+
value: values.enforceTimes,
|
|
466
|
+
help: _('hospitality_core.property.field.enforceTimesHint'),
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
name: 'allowHourly',
|
|
470
|
+
label: _('hospitality_core.property.field.allowHourly'),
|
|
471
|
+
type: 'checkbox',
|
|
472
|
+
value: values.allowHourly !== false,
|
|
473
|
+
help: _('hospitality_core.property.field.allowHourlyHint'),
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
name: 'allowWeekly',
|
|
477
|
+
label: _('hospitality_core.property.field.allowWeekly'),
|
|
478
|
+
type: 'checkbox',
|
|
479
|
+
value: values.allowWeekly === true,
|
|
480
|
+
help: _('hospitality_core.property.field.allowWeeklyHint'),
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
name: 'allowMonthly',
|
|
484
|
+
label: _('hospitality_core.property.field.allowMonthly'),
|
|
485
|
+
type: 'checkbox',
|
|
486
|
+
value: values.allowMonthly === true,
|
|
487
|
+
help: _('hospitality_core.property.field.allowMonthlyHint'),
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
name: 'longStayBillOnCheckIn',
|
|
491
|
+
label: _('hospitality_core.property.field.longStayBillOnCheckIn'),
|
|
492
|
+
type: 'checkbox',
|
|
493
|
+
value: values.longStayBillOnCheckIn === true,
|
|
494
|
+
help: _('hospitality_core.property.field.longStayBillOnCheckInHint'),
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
name: 'childrenStayFree',
|
|
498
|
+
label: _('hospitality_core.property.field.childrenStayFree'),
|
|
499
|
+
type: 'checkbox',
|
|
500
|
+
value: values.childrenStayFree,
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: 'minimumGuestAge',
|
|
504
|
+
label: _('hospitality_core.property.field.minimumGuestAge'),
|
|
505
|
+
type: 'number',
|
|
506
|
+
value: values.minimumGuestAge,
|
|
507
|
+
step: '1',
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
name: 'defaultCancellationPolicyId',
|
|
511
|
+
label: _('hospitality_core.property.field.defaultCancellationPolicy'),
|
|
512
|
+
type: 'select',
|
|
513
|
+
value: values.defaultCancellationPolicyId,
|
|
514
|
+
options: [
|
|
515
|
+
{ value: '', label: _('hospitality_core.property.value.noDefaultPolicy') },
|
|
516
|
+
...choices(policies),
|
|
517
|
+
],
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
name: 'description',
|
|
521
|
+
label: _('hospitality_core.property.field.description'),
|
|
522
|
+
type: 'textarea',
|
|
523
|
+
value: values.description,
|
|
524
|
+
span: 'full',
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
name: 'houseRules',
|
|
528
|
+
label: _('hospitality_core.property.field.houseRules'),
|
|
529
|
+
type: 'textarea',
|
|
530
|
+
value: values.houseRules,
|
|
531
|
+
span: 'full',
|
|
532
|
+
},
|
|
533
|
+
];
|
|
534
|
+
};
|
|
535
|
+
export const propertyForm = (_, values, policies, branches, locale, action, submit, cancelHref) => (_jsx(RecordForm, { action: action, fields: propertyFormFields(_, values, policies, branches), hidden: { id: values.id, lang: locale }, submit: submit, submitVariant: "primary", cancelHref: cancelHref, cancelLabel: _('hospitality_core.action.cancel') }));
|
|
536
|
+
export const propertyFeedback = (_, status, errors = []) => {
|
|
537
|
+
if (status === 'created' || status === 'saved')
|
|
538
|
+
return (_jsx(Notice, { title: _(`hospitality_core.property.feedback.${status}`), message: _('hospitality_core.property.feedback.savedHint'), tone: "positive" }));
|
|
539
|
+
if (errors.length)
|
|
540
|
+
return _jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' '), tone: "danger" });
|
|
541
|
+
return null;
|
|
542
|
+
};
|
|
543
|
+
export const roomFeedback = (_, status, errors = []) => {
|
|
544
|
+
if (status === 'building-created' ||
|
|
545
|
+
status === 'floor-created' ||
|
|
546
|
+
status === 'created' ||
|
|
547
|
+
status === 'saved' ||
|
|
548
|
+
status === 'archived' ||
|
|
549
|
+
status === 'restored')
|
|
550
|
+
return (_jsx(Notice, { title: _(`hospitality_core.room.feedback.${status}`), message: _(status === 'archived' || status === 'restored'
|
|
551
|
+
? `hospitality_core.room.feedback.${status}Hint`
|
|
552
|
+
: 'hospitality_core.room.feedback.savedHint'), tone: "positive" }));
|
|
553
|
+
if (status === 'invalid' || errors.length)
|
|
554
|
+
return (_jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' ') || _('hospitality_core.feedback.invalidHint'), tone: "danger" }));
|
|
555
|
+
return null;
|
|
556
|
+
};
|
|
557
|
+
export const roomFormFields = (_, values, properties, roomTypes, buildings, floors) => [
|
|
558
|
+
{
|
|
559
|
+
name: 'propertyId',
|
|
560
|
+
label: _('hospitality_core.room.field.property'),
|
|
561
|
+
type: 'select',
|
|
562
|
+
value: values.propertyId,
|
|
563
|
+
options: choices(properties),
|
|
564
|
+
required: true,
|
|
565
|
+
disabled: true,
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
name: 'roomTypeId',
|
|
569
|
+
label: _('hospitality_core.room.field.roomType'),
|
|
570
|
+
type: 'select',
|
|
571
|
+
value: values.roomTypeId,
|
|
572
|
+
options: choices(roomTypes),
|
|
573
|
+
required: true,
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
name: 'code',
|
|
577
|
+
label: _('hospitality_core.room.field.code'),
|
|
578
|
+
value: values.code,
|
|
579
|
+
required: true,
|
|
580
|
+
help: _('hospitality_core.room.field.codeHint'),
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
name: 'name',
|
|
584
|
+
label: _('hospitality_core.room.field.name'),
|
|
585
|
+
value: values.name,
|
|
586
|
+
required: true,
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
name: 'buildingId',
|
|
590
|
+
label: _('hospitality_core.room.field.building'),
|
|
591
|
+
type: 'select',
|
|
592
|
+
value: values.buildingId,
|
|
593
|
+
options: [{ value: '', label: _('hospitality_core.room.value.noBuilding') }, ...choices(buildings)],
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
name: 'floorId',
|
|
597
|
+
label: _('hospitality_core.room.field.floor'),
|
|
598
|
+
type: 'select',
|
|
599
|
+
value: values.floorId,
|
|
600
|
+
options: [
|
|
601
|
+
{ value: '', label: _('hospitality_core.room.value.noFloor') },
|
|
602
|
+
...floors.map((floor) => ({
|
|
603
|
+
value: floor.id,
|
|
604
|
+
label: `${floor.building?.name ?? floor.building?.code ?? ''}${floor.building ? ' · ' : ''}${floor.name}`,
|
|
605
|
+
})),
|
|
606
|
+
],
|
|
607
|
+
help: _('hospitality_core.room.field.floorHint'),
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
name: 'capacity',
|
|
611
|
+
label: _('hospitality_core.room.field.capacity'),
|
|
612
|
+
type: 'number',
|
|
613
|
+
value: values.capacity,
|
|
614
|
+
required: true,
|
|
615
|
+
step: '1',
|
|
616
|
+
},
|
|
617
|
+
];
|
|
618
|
+
export const roomForm = (_, values, properties, roomTypes, buildings, floors, locale, action, submit, cancelHref) => (_jsx(RecordForm, { action: action, fields: roomFormFields(_, values, properties, roomTypes, buildings, floors), hidden: {
|
|
619
|
+
lang: locale,
|
|
620
|
+
propertyId: values.propertyId,
|
|
621
|
+
}, submit: submit, submitVariant: "primary", cancelHref: cancelHref, cancelLabel: _('hospitality_core.action.cancel') }));
|
|
622
|
+
export const locationFeedback = (_, resource, status, errors = []) => {
|
|
623
|
+
if (status === 'saved' || status === 'archived' || status === 'restored')
|
|
624
|
+
return (_jsx(Notice, { title: _(`hospitality_core.${resource}.feedback.${status}`), message: _(`hospitality_core.${resource}.feedback.${status}Hint`), tone: "positive" }));
|
|
625
|
+
if (errors.length)
|
|
626
|
+
return _jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' '), tone: "danger" });
|
|
627
|
+
return null;
|
|
628
|
+
};
|
|
629
|
+
export const buildingForm = (_, values, locale) => (_jsx(RecordForm, { action: `/admin/hospitality/buildings/${encodeURIComponent(values.id)}?lang=${encodeURIComponent(locale)}`, hidden: { propertyId: values.propertyId }, submit: _('hospitality_core.building.action.save'), submitVariant: "primary", fields: [
|
|
630
|
+
{
|
|
631
|
+
name: 'code',
|
|
632
|
+
label: _('hospitality_core.building.field.code'),
|
|
633
|
+
value: values.code,
|
|
634
|
+
required: true,
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
name: 'name',
|
|
638
|
+
label: _('hospitality_core.building.field.name'),
|
|
639
|
+
value: values.name,
|
|
640
|
+
required: true,
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
name: 'sequence',
|
|
644
|
+
label: _('hospitality_core.building.field.sequence'),
|
|
645
|
+
type: 'number',
|
|
646
|
+
value: values.sequence,
|
|
647
|
+
step: '1',
|
|
648
|
+
},
|
|
649
|
+
] }));
|
|
650
|
+
export const floorForm = (_, values, locale) => (_jsx(RecordForm, { action: `/admin/hospitality/levels/${encodeURIComponent(values.id)}?lang=${encodeURIComponent(locale)}`, hidden: { propertyId: values.propertyId, buildingId: values.buildingId }, submit: _('hospitality_core.floor.action.save'), submitVariant: "primary", fields: [
|
|
651
|
+
{
|
|
652
|
+
name: 'code',
|
|
653
|
+
label: _('hospitality_core.floor.field.code'),
|
|
654
|
+
value: values.code,
|
|
655
|
+
required: true,
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
name: 'name',
|
|
659
|
+
label: _('hospitality_core.floor.field.name'),
|
|
660
|
+
value: values.name,
|
|
661
|
+
required: true,
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
name: 'sequence',
|
|
665
|
+
label: _('hospitality_core.floor.field.sequence'),
|
|
666
|
+
type: 'number',
|
|
667
|
+
value: values.sequence,
|
|
668
|
+
step: '1',
|
|
669
|
+
},
|
|
670
|
+
] }));
|
|
671
|
+
export const cleaningTaskFeedback = (_, status, errors = []) => {
|
|
672
|
+
if (status === 'started' || status === 'completed' || status === 'cancelled')
|
|
673
|
+
return (_jsx(Notice, { title: _(`hospitality_core.housekeeping.feedback.${status}`), message: _(`hospitality_core.housekeeping.feedback.${status}Hint`), tone: status === 'cancelled' ? 'warning' : 'positive' }));
|
|
674
|
+
if (errors.length)
|
|
675
|
+
return _jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' '), tone: "danger" });
|
|
676
|
+
return null;
|
|
677
|
+
};
|
|
678
|
+
export const housekeepingRoomColumns = (_) => [
|
|
679
|
+
{ key: 'code', label: _('hospitality_core.col.code'), cell: (row) => code(row.code), kind: 'identifier' },
|
|
680
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
681
|
+
{
|
|
682
|
+
key: 'status',
|
|
683
|
+
label: _('hospitality_core.col.status'),
|
|
684
|
+
cell: (row) => badge(_(`hospitality_core.roomStatus.${row.status}`), statusTone(row.status), row.status),
|
|
685
|
+
kind: 'status',
|
|
686
|
+
priority: 'primary',
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
key: 'roomType',
|
|
690
|
+
label: _('hospitality_core.col.roomType'),
|
|
691
|
+
cell: (row) => row.roomType?.name ?? row.roomType?.code ?? code(row.roomTypeId),
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
key: 'location',
|
|
695
|
+
label: _('hospitality_core.col.location'),
|
|
696
|
+
cell: (row) => [row.building?.name ?? row.building?.code, row.floor?.name ?? row.floor?.code]
|
|
697
|
+
.filter(Boolean)
|
|
698
|
+
.join(' · ') || '—',
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
key: 'note',
|
|
702
|
+
label: _('hospitality_core.housekeeping.field.notes'),
|
|
703
|
+
cell: (row) => row.note || '—',
|
|
704
|
+
},
|
|
705
|
+
];
|
|
706
|
+
export const housekeepingRoomFeedback = (_, status, errors = []) => {
|
|
707
|
+
if (status === 'updated')
|
|
708
|
+
return (_jsx(Notice, { title: _('hospitality_core.housekeeping.rooms.feedback.updated'), message: _('hospitality_core.housekeeping.rooms.feedback.updatedHint'), tone: "positive" }));
|
|
709
|
+
if (errors.length)
|
|
710
|
+
return _jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' '), tone: "danger" });
|
|
711
|
+
return null;
|
|
712
|
+
};
|
|
713
|
+
export const roomTypeFormFields = (_, values, properties, policies, creating) => [
|
|
714
|
+
{
|
|
715
|
+
name: 'propertyId',
|
|
716
|
+
label: _('hospitality_core.roomType.field.property'),
|
|
717
|
+
type: 'select',
|
|
718
|
+
value: values.propertyId,
|
|
719
|
+
options: choices(properties),
|
|
720
|
+
required: true,
|
|
721
|
+
disabled: !creating,
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
name: 'code',
|
|
725
|
+
label: _('hospitality_core.roomType.field.code'),
|
|
726
|
+
value: values.code,
|
|
727
|
+
required: true,
|
|
728
|
+
help: _('hospitality_core.roomType.field.codeHint'),
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
name: 'name',
|
|
732
|
+
label: _('hospitality_core.roomType.field.name'),
|
|
733
|
+
value: values.name,
|
|
734
|
+
required: true,
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
name: 'publicName',
|
|
738
|
+
label: _('hospitality_core.roomType.field.publicName'),
|
|
739
|
+
value: values.publicName,
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
name: 'defaultCapacity',
|
|
743
|
+
label: _('hospitality_core.roomType.field.defaultCapacity'),
|
|
744
|
+
type: 'number',
|
|
745
|
+
value: values.defaultCapacity,
|
|
746
|
+
required: true,
|
|
747
|
+
step: '1',
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
name: 'maxAdults',
|
|
751
|
+
label: _('hospitality_core.roomType.field.maxAdults'),
|
|
752
|
+
type: 'number',
|
|
753
|
+
value: values.maxAdults,
|
|
754
|
+
required: true,
|
|
755
|
+
step: '1',
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
name: 'maxChildren',
|
|
759
|
+
label: _('hospitality_core.roomType.field.maxChildren'),
|
|
760
|
+
type: 'number',
|
|
761
|
+
value: values.maxChildren,
|
|
762
|
+
required: true,
|
|
763
|
+
step: '1',
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
name: 'maxInfants',
|
|
767
|
+
label: _('hospitality_core.roomType.field.maxInfants'),
|
|
768
|
+
type: 'number',
|
|
769
|
+
value: values.maxInfants,
|
|
770
|
+
required: true,
|
|
771
|
+
step: '1',
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
name: 'maxExtraBeds',
|
|
775
|
+
label: _('hospitality_core.roomType.field.maxExtraBeds'),
|
|
776
|
+
type: 'number',
|
|
777
|
+
value: values.maxExtraBeds,
|
|
778
|
+
required: true,
|
|
779
|
+
step: '1',
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
name: 'sizeSqm',
|
|
783
|
+
label: _('hospitality_core.roomType.field.sizeSqm'),
|
|
784
|
+
type: 'decimal',
|
|
785
|
+
value: values.sizeSqm,
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
name: 'viewType',
|
|
789
|
+
label: _('hospitality_core.roomType.field.viewType'),
|
|
790
|
+
type: 'select',
|
|
791
|
+
value: values.viewType,
|
|
792
|
+
options: [
|
|
793
|
+
{ value: '', label: _('hospitality_core.roomType.value.noViewType') },
|
|
794
|
+
...ROOM_VIEW_TYPES.map((value) => ({
|
|
795
|
+
value,
|
|
796
|
+
label: _(`hospitality_core.roomType.view.${value}`),
|
|
797
|
+
})),
|
|
798
|
+
],
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
name: 'sharedBathroom',
|
|
802
|
+
label: _('hospitality_core.roomType.field.sharedBathroom'),
|
|
803
|
+
type: 'checkbox',
|
|
804
|
+
value: values.sharedBathroom,
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
name: 'allowHourly',
|
|
808
|
+
label: _('hospitality_core.roomType.field.allowHourly'),
|
|
809
|
+
type: 'checkbox',
|
|
810
|
+
value: values.allowHourly !== false,
|
|
811
|
+
help: _('hospitality_core.roomType.field.allowHourlyHint'),
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
name: 'minHourlyHours',
|
|
815
|
+
label: _('hospitality_core.roomType.field.minHourlyHours'),
|
|
816
|
+
type: 'number',
|
|
817
|
+
value: values.minHourlyHours ?? 2,
|
|
818
|
+
step: '1',
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
name: 'allowWeekly',
|
|
822
|
+
label: _('hospitality_core.roomType.field.allowWeekly'),
|
|
823
|
+
type: 'checkbox',
|
|
824
|
+
value: values.allowWeekly === true,
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
name: 'allowMonthly',
|
|
828
|
+
label: _('hospitality_core.roomType.field.allowMonthly'),
|
|
829
|
+
type: 'checkbox',
|
|
830
|
+
value: values.allowMonthly === true,
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
name: 'baseRate',
|
|
834
|
+
label: _('hospitality_core.roomType.field.baseRate'),
|
|
835
|
+
type: 'decimal',
|
|
836
|
+
value: values.baseRate,
|
|
837
|
+
required: true,
|
|
838
|
+
help: _('hospitality_core.roomType.field.baseRateHint'),
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
name: 'color',
|
|
842
|
+
label: _('hospitality_core.roomType.field.color'),
|
|
843
|
+
type: 'color',
|
|
844
|
+
value: values.color || '#2563eb',
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
name: 'cancellationPolicyId',
|
|
848
|
+
label: _('hospitality_core.roomType.field.cancellationPolicy'),
|
|
849
|
+
type: 'select',
|
|
850
|
+
value: values.cancellationPolicyId,
|
|
851
|
+
options: [{ value: '', label: _('hospitality_core.roomType.value.inheritPolicy') }, ...choices(policies)],
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
name: 'published',
|
|
855
|
+
label: _('hospitality_core.roomType.field.published'),
|
|
856
|
+
type: 'checkbox',
|
|
857
|
+
value: values.published,
|
|
858
|
+
help: _('hospitality_core.roomType.field.publishedHint'),
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
name: 'description',
|
|
862
|
+
label: _('hospitality_core.roomType.field.description'),
|
|
863
|
+
type: 'textarea',
|
|
864
|
+
value: values.description,
|
|
865
|
+
span: 'full',
|
|
866
|
+
},
|
|
867
|
+
];
|
|
868
|
+
export const roomTypeForm = (_, values, properties, policies, locale, action, submit, cancelHref, creating) => (_jsx(RecordForm, { action: action, fields: roomTypeFormFields(_, values, properties, policies, creating), hidden: {
|
|
869
|
+
lang: locale,
|
|
870
|
+
...(!creating ? { propertyId: values.propertyId } : {}),
|
|
871
|
+
}, submit: submit, submitVariant: "primary", cancelHref: cancelHref, cancelLabel: _('hospitality_core.action.cancel') }));
|
|
872
|
+
export const roomTypeFeedback = (_, status, errors = []) => {
|
|
873
|
+
if (status === 'created' || status === 'saved')
|
|
874
|
+
return (_jsx(Notice, { title: _(`hospitality_core.roomType.feedback.${status}`), message: _('hospitality_core.roomType.feedback.savedHint'), tone: "positive" }));
|
|
875
|
+
if (errors.length)
|
|
876
|
+
return _jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' '), tone: "danger" });
|
|
877
|
+
return null;
|
|
878
|
+
};
|
|
879
|
+
/**
|
|
880
|
+
* An empty screen that names the missing prerequisite should also open it.
|
|
881
|
+
* Telling an operator "create a property first" and then leaving them to find
|
|
882
|
+
* the menu is how a set-up flow turns into a scavenger hunt.
|
|
883
|
+
*/
|
|
884
|
+
export const setupAction = (label, href) => linkButton({ label, href, variant: 'primary' });
|
|
885
|
+
export const contentFeedback = (_, state) => {
|
|
886
|
+
if (state === 'saved')
|
|
887
|
+
return (_jsx(Notice, { title: _('hospitality_core.content.feedback.saved'), message: _('hospitality_core.content.feedback.savedHint'), tone: "positive" }));
|
|
888
|
+
if (state === 'invalid')
|
|
889
|
+
return (_jsx(Notice, { title: _('hospitality_core.content.feedback.invalid'), message: _('hospitality_core.content.feedback.invalidHint'), tone: "danger" }));
|
|
890
|
+
return null;
|
|
891
|
+
};
|
|
892
|
+
export const choices = (rows) => rows.map((row) => ({
|
|
893
|
+
value: row.id,
|
|
894
|
+
label: `${row.code ? `${row.code} · ` : ''}${row.name}`,
|
|
895
|
+
}));
|
|
896
|
+
export const feedback = (_, state) => {
|
|
897
|
+
if (state === 'saved')
|
|
898
|
+
return (_jsx(Notice, { title: _('hospitality_core.feedback.saved'), message: _('hospitality_core.feedback.savedHint'), tone: "positive" }));
|
|
899
|
+
if (state === 'invalid')
|
|
900
|
+
return (_jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: _('hospitality_core.feedback.invalidHint'), tone: "danger" }));
|
|
901
|
+
return null;
|
|
902
|
+
};
|
|
903
|
+
export const nightAuditFeedback = (_, state) => {
|
|
904
|
+
if (state === 'queued')
|
|
905
|
+
return (_jsx(Notice, { title: _('hospitality_core.nightAudit.feedback.queued'), message: _('hospitality_core.nightAudit.feedback.queuedHint'), tone: "positive" }));
|
|
906
|
+
if (state === 'invalid')
|
|
907
|
+
return (_jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: _('hospitality_core.nightAudit.feedback.invalidHint'), tone: "danger" }));
|
|
908
|
+
return null;
|
|
909
|
+
};
|
|
910
|
+
export const nightAuditColumns = (_, locale) => [
|
|
911
|
+
{
|
|
912
|
+
key: 'date',
|
|
913
|
+
label: _('hospitality_core.nightAudit.col.date'),
|
|
914
|
+
cell: (row) => formatDateTime(locale, new Date(`${row.auditDate}T12:00:00Z`), {
|
|
915
|
+
dateStyle: 'medium',
|
|
916
|
+
timeZone: 'UTC',
|
|
917
|
+
}),
|
|
918
|
+
kind: 'date',
|
|
919
|
+
priority: 'primary',
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
key: 'status',
|
|
923
|
+
label: _('hospitality_core.col.status'),
|
|
924
|
+
cell: (row) => badge(_(`hospitality_core.nightAudit.state.${row.state}`), row.state === 'completed'
|
|
925
|
+
? 'positive'
|
|
926
|
+
: row.state === 'failed'
|
|
927
|
+
? 'danger'
|
|
928
|
+
: row.state === 'running'
|
|
929
|
+
? 'warning'
|
|
930
|
+
: 'info'),
|
|
931
|
+
kind: 'status',
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
key: 'inHouse',
|
|
935
|
+
label: _('hospitality_core.nightAudit.metric.inHouse'),
|
|
936
|
+
cell: (row) => String(row.inHouseCount),
|
|
937
|
+
align: 'end',
|
|
938
|
+
kind: 'number',
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
key: 'services',
|
|
942
|
+
label: _('hospitality_core.nightAudit.metric.services'),
|
|
943
|
+
cell: (row) => String(row.servicePosted),
|
|
944
|
+
align: 'end',
|
|
945
|
+
kind: 'number',
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
key: 'rent',
|
|
949
|
+
label: _('hospitality_core.nightAudit.metric.rent'),
|
|
950
|
+
cell: (row) => String(row.rentPosted),
|
|
951
|
+
align: 'end',
|
|
952
|
+
kind: 'number',
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
key: 'amount',
|
|
956
|
+
label: _('hospitality_core.col.amount'),
|
|
957
|
+
cell: (row) => formatMoney(_, row.totalAmount),
|
|
958
|
+
align: 'end',
|
|
959
|
+
kind: 'currency',
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
key: 'attempt',
|
|
963
|
+
label: _('hospitality_core.nightAudit.col.attempt'),
|
|
964
|
+
cell: (row) => String(row.attempt),
|
|
965
|
+
align: 'end',
|
|
966
|
+
kind: 'number',
|
|
967
|
+
},
|
|
968
|
+
];
|
|
969
|
+
export const stayNoticeFeedback = (_, state) => {
|
|
970
|
+
if (state === 'refreshed' || state === 'submitted' || state === 'confirmed')
|
|
971
|
+
return (_jsx(Notice, { title: _(`hospitality_core.stayNotice.feedback.${state}`), message: _(`hospitality_core.stayNotice.feedback.${state}Hint`), tone: "positive" }));
|
|
972
|
+
if (state === 'invalid')
|
|
973
|
+
return (_jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: _('hospitality_core.stayNotice.feedback.invalidHint'), tone: "danger" }));
|
|
974
|
+
return null;
|
|
975
|
+
};
|
|
976
|
+
export const stayNoticeStateTone = (state) => state === 'attention'
|
|
977
|
+
? 'danger'
|
|
978
|
+
: state === 'ready'
|
|
979
|
+
? 'warning'
|
|
980
|
+
: state === 'submitted'
|
|
981
|
+
? 'info'
|
|
982
|
+
: 'positive';
|
|
983
|
+
export const stayNoticeDocument = (_, row) => {
|
|
984
|
+
if (!row.documentType || !row.documentLast4)
|
|
985
|
+
return _('hospitality_core.stayNotice.value.missing');
|
|
986
|
+
return `${_(`hospitality_core.document.${row.documentType}`)} · •••• ${row.documentLast4}`;
|
|
987
|
+
};
|
|
988
|
+
export const stayNoticeIssues = (_, row) => row.issueCodes.length
|
|
989
|
+
? row.issueCodes.map((item) => _(`hospitality_core.stayNotice.issue.${item}`)).join(', ')
|
|
990
|
+
: _('hospitality_core.stayNotice.value.complete');
|
|
991
|
+
export const stayNoticeColumns = (_, locale, timezone) => [
|
|
992
|
+
{
|
|
993
|
+
key: 'guest',
|
|
994
|
+
label: _('hospitality_core.stayNotice.col.guest'),
|
|
995
|
+
cell: (row) => row.guestName,
|
|
996
|
+
priority: 'primary',
|
|
997
|
+
kind: 'person',
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
key: 'document',
|
|
1001
|
+
label: _('hospitality_core.stayNotice.col.document'),
|
|
1002
|
+
cell: (row) => stayNoticeDocument(_, row),
|
|
1003
|
+
priority: 'secondary',
|
|
1004
|
+
kind: 'identifier',
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
key: 'due',
|
|
1008
|
+
label: _('hospitality_core.stayNotice.col.due'),
|
|
1009
|
+
cell: (row) => formatDateTime(locale, new Date(row.dueAt), {
|
|
1010
|
+
dateStyle: 'medium',
|
|
1011
|
+
timeStyle: 'short',
|
|
1012
|
+
timeZone: timezone,
|
|
1013
|
+
}),
|
|
1014
|
+
priority: 'secondary',
|
|
1015
|
+
kind: 'date',
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
key: 'state',
|
|
1019
|
+
label: _('hospitality_core.col.status'),
|
|
1020
|
+
cell: (row) => badge(_(`hospitality_core.stayNotice.state.${row.state}`), stayNoticeStateTone(row.state)),
|
|
1021
|
+
kind: 'status',
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
key: 'issues',
|
|
1025
|
+
label: _('hospitality_core.stayNotice.col.readiness'),
|
|
1026
|
+
cell: (row) => stayNoticeIssues(_, row),
|
|
1027
|
+
priority: 'tertiary',
|
|
1028
|
+
optional: true,
|
|
1029
|
+
},
|
|
1030
|
+
];
|
|
1031
|
+
export const stayNoticeHref = (locale, propertyId, state, noticeId) => {
|
|
1032
|
+
const query = new URLSearchParams({ lang: locale, property: propertyId, notice: noticeId });
|
|
1033
|
+
if (state !== 'all')
|
|
1034
|
+
query.set('state', state);
|
|
1035
|
+
return `/admin/hospitality/stay-notices?${query.toString()}`;
|
|
1036
|
+
};
|
|
1037
|
+
export const stayNoticeAction = (_, selected, locale, propertyId, state) => {
|
|
1038
|
+
const hidden = {
|
|
1039
|
+
lang: locale,
|
|
1040
|
+
id: selected.id,
|
|
1041
|
+
stayId: selected.stayId,
|
|
1042
|
+
property: propertyId,
|
|
1043
|
+
state,
|
|
1044
|
+
};
|
|
1045
|
+
if (selected.state === 'attention')
|
|
1046
|
+
return (_jsx(RecordForm, { action: "/admin/hospitality/stay-notices", method: "post", submit: _('hospitality_core.stayNotice.action.refresh'), submitVariant: "secondary", hidden: { ...hidden, operation: 'refresh' }, fields: [] }));
|
|
1047
|
+
if (selected.state === 'ready')
|
|
1048
|
+
return (_jsx(RecordForm, { action: "/admin/hospitality/stay-notices", method: "post", submit: _('hospitality_core.stayNotice.action.recordSubmission'), submitVariant: "primary", hidden: { ...hidden, operation: 'record-submission' }, fields: [
|
|
1049
|
+
{
|
|
1050
|
+
name: 'reason',
|
|
1051
|
+
label: _('hospitality_core.stayNotice.field.reason'),
|
|
1052
|
+
type: 'select',
|
|
1053
|
+
value: selected.reason,
|
|
1054
|
+
required: true,
|
|
1055
|
+
options: [
|
|
1056
|
+
{ value: '', label: _('hospitality_core.stayNotice.reason.select') },
|
|
1057
|
+
...['tourism', 'business', 'family', 'other'].map((value) => ({
|
|
1058
|
+
value,
|
|
1059
|
+
label: _(`hospitality_core.stayNotice.reason.${value}`),
|
|
1060
|
+
})),
|
|
1061
|
+
],
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
name: 'channel',
|
|
1065
|
+
label: _('hospitality_core.stayNotice.field.channel'),
|
|
1066
|
+
type: 'select',
|
|
1067
|
+
required: true,
|
|
1068
|
+
options: ['online', 'vneid', 'email', 'phone', 'software'].map((value) => ({
|
|
1069
|
+
value,
|
|
1070
|
+
label: _(`hospitality_core.stayNotice.channel.${value}`),
|
|
1071
|
+
})),
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
name: 'evidenceRef',
|
|
1075
|
+
label: _('hospitality_core.stayNotice.field.evidenceRef'),
|
|
1076
|
+
help: _('hospitality_core.stayNotice.field.evidenceRefHint'),
|
|
1077
|
+
required: true,
|
|
1078
|
+
},
|
|
1079
|
+
] }));
|
|
1080
|
+
if (selected.state === 'submitted')
|
|
1081
|
+
return (_jsx(RecordForm, { action: "/admin/hospitality/stay-notices", method: "post", submit: _('hospitality_core.stayNotice.action.confirm'), submitVariant: "primary", hidden: { ...hidden, operation: 'confirm' }, fields: [
|
|
1082
|
+
{
|
|
1083
|
+
name: 'receiptRef',
|
|
1084
|
+
label: _('hospitality_core.stayNotice.field.receiptRef'),
|
|
1085
|
+
value: selected.receiptRef,
|
|
1086
|
+
required: true,
|
|
1087
|
+
},
|
|
1088
|
+
] }));
|
|
1089
|
+
return null;
|
|
1090
|
+
};
|
|
1091
|
+
export const propertyChargeColumns = (_) => [
|
|
1092
|
+
{
|
|
1093
|
+
key: 'type',
|
|
1094
|
+
label: _('hospitality_core.col.type'),
|
|
1095
|
+
cell: (row) => badge(_(`hospitality_core.propertyCharge.${row.chargeType}`), 'info'),
|
|
1096
|
+
kind: 'status',
|
|
1097
|
+
},
|
|
1098
|
+
{ key: 'name', label: _('hospitality_core.col.name'), cell: (row) => row.name, priority: 'primary' },
|
|
1099
|
+
{
|
|
1100
|
+
key: 'amount',
|
|
1101
|
+
label: _('hospitality_core.col.amount'),
|
|
1102
|
+
cell: (row) => formatMoney(_, row.amount),
|
|
1103
|
+
align: 'end',
|
|
1104
|
+
kind: 'currency',
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
key: 'status',
|
|
1108
|
+
label: _('hospitality_core.col.status'),
|
|
1109
|
+
cell: (row) => badge(_(row.active ? 'hospitality_core.value.active' : 'hospitality_core.value.inactive'), row.active ? 'positive' : 'neutral'),
|
|
1110
|
+
kind: 'status',
|
|
1111
|
+
},
|
|
1112
|
+
];
|
|
1113
|
+
export const extraLineColumns = (_) => [
|
|
1114
|
+
{
|
|
1115
|
+
key: 'target',
|
|
1116
|
+
label: _('hospitality_core.services.col.target'),
|
|
1117
|
+
cell: (row) => code(row.reservation?.code ?? row.stay?.code ?? row.reservationId ?? row.stayId ?? '—'),
|
|
1118
|
+
kind: 'identifier',
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
key: 'service',
|
|
1122
|
+
label: _('hospitality_core.services.col.service'),
|
|
1123
|
+
cell: (row) => `${row.productCode ? `${row.productCode} · ` : ''}${row.description}`,
|
|
1124
|
+
priority: 'primary',
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
key: 'recurrence',
|
|
1128
|
+
label: _('hospitality_core.services.col.recurrence'),
|
|
1129
|
+
cell: (row) => badge(_(`hospitality_core.extraRecurrence.${row.recurrence}`), 'info'),
|
|
1130
|
+
kind: 'status',
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
key: 'price',
|
|
1134
|
+
label: _('hospitality_core.services.col.unitPrice'),
|
|
1135
|
+
cell: (row) => `${row.quantity} × ${formatMoney(_, row.unitPrice)}`,
|
|
1136
|
+
align: 'end',
|
|
1137
|
+
kind: 'currency',
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
key: 'posted',
|
|
1141
|
+
label: _('hospitality_core.services.col.materialized'),
|
|
1142
|
+
cell: (row) => row.materializedCount
|
|
1143
|
+
? badge(_('hospitality_core.services.value.posted', {
|
|
1144
|
+
count: row.materializedCount,
|
|
1145
|
+
amount: formatMoney(_, row.materializedAmount),
|
|
1146
|
+
}), 'positive')
|
|
1147
|
+
: badge(_('hospitality_core.services.value.pending'), 'warning'),
|
|
1148
|
+
kind: 'status',
|
|
1149
|
+
},
|
|
1150
|
+
];
|
|
1151
|
+
export const serviceChargeColumns = (_, locale, timezone) => [
|
|
1152
|
+
{
|
|
1153
|
+
key: 'occurredAt',
|
|
1154
|
+
label: _('hospitality_core.col.date'),
|
|
1155
|
+
cell: (row) => row.serviceDate ?? dateTime(row.occurredAt, locale, timezone),
|
|
1156
|
+
kind: 'date',
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
key: 'folio',
|
|
1160
|
+
label: _('hospitality_core.services.col.folio'),
|
|
1161
|
+
cell: (row) => code(row.folio?.code ?? row.folioId),
|
|
1162
|
+
kind: 'identifier',
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
key: 'service',
|
|
1166
|
+
label: _('hospitality_core.services.col.service'),
|
|
1167
|
+
cell: (row) => row.description,
|
|
1168
|
+
priority: 'primary',
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
key: 'quantity',
|
|
1172
|
+
label: _('hospitality_core.col.quantity'),
|
|
1173
|
+
cell: (row) => String(row.quantity),
|
|
1174
|
+
align: 'end',
|
|
1175
|
+
kind: 'number',
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
key: 'amount',
|
|
1179
|
+
label: _('hospitality_core.col.amount'),
|
|
1180
|
+
cell: (row) => formatMoney(_, row.amount),
|
|
1181
|
+
align: 'end',
|
|
1182
|
+
kind: 'currency',
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
key: 'state',
|
|
1186
|
+
label: _('hospitality_core.col.status'),
|
|
1187
|
+
cell: (row) => badge(_(`hospitality_core.chargeState.${row.state}`), row.state === 'active' ? 'positive' : 'neutral'),
|
|
1188
|
+
kind: 'status',
|
|
1189
|
+
},
|
|
1190
|
+
];
|
|
1191
|
+
/**
|
|
1192
|
+
* How long the guest is booked for, in the unit their booking is priced in.
|
|
1193
|
+
*
|
|
1194
|
+
* Two date columns made a reader subtract to learn the one number that decides
|
|
1195
|
+
* the price and the room-night, and calling every span "nights" would be wrong
|
|
1196
|
+
* for a booking sold by the hour.
|
|
1197
|
+
*/
|
|
1198
|
+
export const stayLength = (_, row, locale, timezone) => {
|
|
1199
|
+
// The clock matters for a room sold by the hour. For a nightly stay both ends
|
|
1200
|
+
// are the property's own check-in and check-out times, the same on every row,
|
|
1201
|
+
// so printing them costs a line of wrapping and says nothing.
|
|
1202
|
+
const at = row.bookingType === 'hourly' ? dateTime : calendarDate;
|
|
1203
|
+
const span = `${at(row.checkIn, locale, timezone)} – ${at(row.checkOut, locale, timezone)}`;
|
|
1204
|
+
const ms = Date.parse(row.checkOut) - Date.parse(row.checkIn);
|
|
1205
|
+
if (!Number.isFinite(ms) || ms <= 0)
|
|
1206
|
+
return span;
|
|
1207
|
+
const unit = { nightly: 86_400_000, hourly: 3_600_000, weekly: 604_800_000, monthly: 2_592_000_000 }[row.bookingType];
|
|
1208
|
+
if (!unit)
|
|
1209
|
+
return span;
|
|
1210
|
+
return `${span} · ${_(`hospitality_core.duration.${row.bookingType}`, { count: Math.max(1, Math.round(ms / unit)) })}`;
|
|
1211
|
+
};
|
|
1212
|
+
export const reservationColumns = (_, locale, timezone) => [
|
|
1213
|
+
{
|
|
1214
|
+
key: 'code',
|
|
1215
|
+
label: _('hospitality_core.col.code'),
|
|
1216
|
+
cell: (row) => linkButton({
|
|
1217
|
+
label: row.code,
|
|
1218
|
+
href: `/admin/hospitality/reservations/${encodeURIComponent(row.id)}?lang=${encodeURIComponent(locale)}`,
|
|
1219
|
+
variant: 'tertiary',
|
|
1220
|
+
size: 'compact',
|
|
1221
|
+
}),
|
|
1222
|
+
kind: 'identifier',
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
key: 'guest',
|
|
1226
|
+
label: _('hospitality_core.col.guest'),
|
|
1227
|
+
cell: (row) => person(guestName(row)),
|
|
1228
|
+
kind: 'person',
|
|
1229
|
+
priority: 'primary',
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
key: 'status',
|
|
1233
|
+
label: _('hospitality_core.col.status'),
|
|
1234
|
+
cell: (row) => badge(_(`hospitality_core.reservationState.${row.state}`), workflowTone(row.state), row.state),
|
|
1235
|
+
kind: 'status',
|
|
1236
|
+
priority: 'primary',
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
key: 'provider',
|
|
1240
|
+
label: _('hospitality_core.col.provider'),
|
|
1241
|
+
cell: (row) => badge(providerName(_, row.provider), 'neutral'),
|
|
1242
|
+
kind: 'status',
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
key: 'roomType',
|
|
1246
|
+
label: _('hospitality_core.col.roomType'),
|
|
1247
|
+
cell: (row) => row.roomType?.name ?? code(row.roomTypeId),
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
key: 'stay',
|
|
1251
|
+
label: _('hospitality_core.col.stayDates'),
|
|
1252
|
+
cell: (row) => stayLength(_, row, locale, timezone),
|
|
1253
|
+
kind: 'date',
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
key: 'amount',
|
|
1257
|
+
label: _('hospitality_core.col.amount'),
|
|
1258
|
+
cell: (row) => formatMoney(_, row.amountTotal),
|
|
1259
|
+
align: 'end',
|
|
1260
|
+
kind: 'currency',
|
|
1261
|
+
},
|
|
1262
|
+
];
|
|
1263
|
+
/**
|
|
1264
|
+
* Still in the room after the hour they were due out.
|
|
1265
|
+
*
|
|
1266
|
+
* The front desk has said this since #358; the stay list is where somebody
|
|
1267
|
+
* looks across every stay rather than today's, and there it was invisible.
|
|
1268
|
+
*/
|
|
1269
|
+
export const overdue = (row) => row.state === 'checked_in' && Date.parse(row.checkOut) < Date.now();
|
|
1270
|
+
export const stayColumns = (_, locale, timezone) => [
|
|
1271
|
+
{
|
|
1272
|
+
key: 'code',
|
|
1273
|
+
label: _('hospitality_core.col.code'),
|
|
1274
|
+
cell: (row) => linkButton({
|
|
1275
|
+
label: row.code,
|
|
1276
|
+
href: `/admin/hospitality/stays/${encodeURIComponent(row.id)}?lang=${encodeURIComponent(locale)}`,
|
|
1277
|
+
variant: 'tertiary',
|
|
1278
|
+
size: 'compact',
|
|
1279
|
+
}),
|
|
1280
|
+
kind: 'identifier',
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
key: 'guest',
|
|
1284
|
+
label: _('hospitality_core.col.guest'),
|
|
1285
|
+
cell: (row) => person(guestName(row)),
|
|
1286
|
+
kind: 'person',
|
|
1287
|
+
priority: 'primary',
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
key: 'status',
|
|
1291
|
+
label: _('hospitality_core.col.status'),
|
|
1292
|
+
cell: (row) => badge(_(`hospitality_core.stayState.${row.state}`), workflowTone(row.state), row.state),
|
|
1293
|
+
kind: 'status',
|
|
1294
|
+
priority: 'primary',
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
key: 'room',
|
|
1298
|
+
label: _('hospitality_core.col.room'),
|
|
1299
|
+
cell: (row) => row.currentRoom?.name ?? row.currentRoom?.code ?? '—',
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
key: 'stay',
|
|
1303
|
+
label: _('hospitality_core.col.stayDates'),
|
|
1304
|
+
// The overdue mark rides with the dates because that is what it is about,
|
|
1305
|
+
// and it is only true of somebody who is still in the room.
|
|
1306
|
+
cell: (row) => overdue(row)
|
|
1307
|
+
? inline([
|
|
1308
|
+
stayLength(_, row, locale, timezone),
|
|
1309
|
+
badge(_('hospitality_core.stayState.overdue'), 'danger', 'overdue'),
|
|
1310
|
+
])
|
|
1311
|
+
: stayLength(_, row, locale, timezone),
|
|
1312
|
+
kind: 'date',
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
key: 'guests',
|
|
1316
|
+
label: _('hospitality_core.col.guests'),
|
|
1317
|
+
cell: (row) => String(row.adults + row.children),
|
|
1318
|
+
align: 'end',
|
|
1319
|
+
kind: 'number',
|
|
1320
|
+
},
|
|
1321
|
+
];
|
|
1322
|
+
export const folioColumns = (_, locale, timezone) => [
|
|
1323
|
+
{
|
|
1324
|
+
key: 'code',
|
|
1325
|
+
label: _('hospitality_core.col.code'),
|
|
1326
|
+
cell: (row) => linkButton({
|
|
1327
|
+
label: row.code,
|
|
1328
|
+
href: `/admin/hospitality/folios/${encodeURIComponent(row.id)}?lang=${encodeURIComponent(locale)}`,
|
|
1329
|
+
variant: 'tertiary',
|
|
1330
|
+
size: 'compact',
|
|
1331
|
+
}),
|
|
1332
|
+
kind: 'identifier',
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
key: 'guest',
|
|
1336
|
+
label: _('hospitality_core.col.guest'),
|
|
1337
|
+
cell: (row) => person(guestName(row)),
|
|
1338
|
+
kind: 'person',
|
|
1339
|
+
priority: 'primary',
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
key: 'opened',
|
|
1343
|
+
label: _('hospitality_core.col.checkIn'),
|
|
1344
|
+
cell: (row) => dateTime(row.openedAt, locale, timezone),
|
|
1345
|
+
kind: 'date',
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
key: 'stays',
|
|
1349
|
+
label: _('hospitality_core.col.stays'),
|
|
1350
|
+
cell: (row) => String(row.stays?.length ?? 0),
|
|
1351
|
+
align: 'end',
|
|
1352
|
+
kind: 'number',
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
key: 'amount',
|
|
1356
|
+
label: _('hospitality_core.col.amount'),
|
|
1357
|
+
cell: (row) => formatMoney(_, row.amountTotal),
|
|
1358
|
+
align: 'end',
|
|
1359
|
+
kind: 'currency',
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
key: 'status',
|
|
1363
|
+
label: _('hospitality_core.col.status'),
|
|
1364
|
+
cell: (row) => badge(_(`hospitality_core.folioState.${row.state}`), workflowTone(row.state), row.state),
|
|
1365
|
+
kind: 'status',
|
|
1366
|
+
priority: 'primary',
|
|
1367
|
+
},
|
|
1368
|
+
];
|
|
1369
|
+
export const folioChargeColumns = (_, locale, timezone, stays) => [
|
|
1370
|
+
{
|
|
1371
|
+
key: 'occurred',
|
|
1372
|
+
label: _('hospitality_core.folio.charge.occurredAt'),
|
|
1373
|
+
cell: (row) => dateTime(row.occurredAt, locale, timezone),
|
|
1374
|
+
kind: 'date',
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
key: 'description',
|
|
1378
|
+
label: _('hospitality_core.folio.charge.description'),
|
|
1379
|
+
cell: (row) => row.type === 'room' && row.description.startsWith('room:')
|
|
1380
|
+
? _('hospitality_core.folio.charge.roomDescription')
|
|
1381
|
+
: row.description,
|
|
1382
|
+
priority: 'primary',
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
key: 'type',
|
|
1386
|
+
label: _('hospitality_core.folio.charge.type'),
|
|
1387
|
+
cell: (row) => badge(_(`hospitality_core.charge.${row.type}`), 'info', row.type),
|
|
1388
|
+
kind: 'status',
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
key: 'stay',
|
|
1392
|
+
label: _('hospitality_core.col.stays'),
|
|
1393
|
+
cell: (row) => (row.stayId ? code(stays.get(row.stayId)?.code ?? row.stayId) : '—'),
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
key: 'quantity',
|
|
1397
|
+
label: _('hospitality_core.folio.charge.quantity'),
|
|
1398
|
+
cell: (row) => String(row.quantity),
|
|
1399
|
+
align: 'end',
|
|
1400
|
+
kind: 'number',
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
key: 'unit-price',
|
|
1404
|
+
label: _('hospitality_core.folio.charge.unitPrice'),
|
|
1405
|
+
cell: (row) => formatMoney(_, row.unitPrice),
|
|
1406
|
+
align: 'end',
|
|
1407
|
+
kind: 'currency',
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
key: 'amount',
|
|
1411
|
+
label: _('hospitality_core.col.amount'),
|
|
1412
|
+
cell: (row) => formatMoney(_, row.amount),
|
|
1413
|
+
align: 'end',
|
|
1414
|
+
kind: 'currency',
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
key: 'correction',
|
|
1418
|
+
label: _('hospitality_core.folio.field.voidReason'),
|
|
1419
|
+
cell: (row) => row.voidReason || '—',
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
key: 'status',
|
|
1423
|
+
label: _('hospitality_core.col.status'),
|
|
1424
|
+
cell: (row) => badge(_(`hospitality_core.chargeState.${row.state}`), row.state === 'active' ? 'positive' : 'neutral', row.state),
|
|
1425
|
+
kind: 'status',
|
|
1426
|
+
},
|
|
1427
|
+
];
|
|
1428
|
+
export const folioStayColumns = (_, locale, timezone) => [
|
|
1429
|
+
{
|
|
1430
|
+
key: 'code',
|
|
1431
|
+
label: _('hospitality_core.col.code'),
|
|
1432
|
+
cell: (row) => linkButton({
|
|
1433
|
+
label: row.code,
|
|
1434
|
+
href: `/admin/hospitality/stays/${encodeURIComponent(row.id)}?lang=${encodeURIComponent(locale)}`,
|
|
1435
|
+
variant: 'tertiary',
|
|
1436
|
+
size: 'compact',
|
|
1437
|
+
}),
|
|
1438
|
+
kind: 'identifier',
|
|
1439
|
+
priority: 'primary',
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
key: 'check-in',
|
|
1443
|
+
label: _('hospitality_core.col.checkIn'),
|
|
1444
|
+
cell: (row) => dateTime(row.checkIn, locale, timezone),
|
|
1445
|
+
kind: 'date',
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
key: 'check-out',
|
|
1449
|
+
label: _('hospitality_core.col.checkOut'),
|
|
1450
|
+
cell: (row) => dateTime(row.checkOut, locale, timezone),
|
|
1451
|
+
kind: 'date',
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
key: 'status',
|
|
1455
|
+
label: _('hospitality_core.col.status'),
|
|
1456
|
+
cell: (row) => badge(_(`hospitality_core.stayState.${row.state}`), workflowTone(row.state), row.state),
|
|
1457
|
+
kind: 'status',
|
|
1458
|
+
},
|
|
1459
|
+
];
|
|
1460
|
+
export const reservationFeedback = (_, status) => {
|
|
1461
|
+
if (status === 'saved')
|
|
1462
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.saved'), message: _('hospitality_core.reservation.feedback.savedHint'), tone: "positive" }));
|
|
1463
|
+
if (status === 'quoted')
|
|
1464
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.quoted'), message: _('hospitality_core.reservation.feedback.quotedHint'), tone: "info" }));
|
|
1465
|
+
if (status === 'invalid')
|
|
1466
|
+
return (_jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: _('hospitality_core.reservation.feedback.invalidHint'), tone: "danger" }));
|
|
1467
|
+
return null;
|
|
1468
|
+
};
|
|
1469
|
+
export const reservationDetailFeedback = (_, status, errors = []) => {
|
|
1470
|
+
if (status === 'checked-in')
|
|
1471
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.checkedIn'), message: _('hospitality_core.reservation.feedback.checkedInHint'), tone: "positive" }));
|
|
1472
|
+
if (status === 'checked-out')
|
|
1473
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.checkedOut'), message: _('hospitality_core.reservation.feedback.checkedOutHint'), tone: "positive" }));
|
|
1474
|
+
if (status === 'checked-out-early')
|
|
1475
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.checkedOutEarly'), message: _('hospitality_core.reservation.feedback.checkedOutEarlyHint'), tone: "warning" }));
|
|
1476
|
+
if (status === 'cancelled')
|
|
1477
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.cancelled'), message: _('hospitality_core.reservation.feedback.cancelledHint'), tone: "warning" }));
|
|
1478
|
+
if (status === 'amended')
|
|
1479
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.amended'), message: _('hospitality_core.reservation.feedback.amendedHint'), tone: "positive" }));
|
|
1480
|
+
if (status === 'departure-adjusted')
|
|
1481
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.departureAdjusted'), message: _('hospitality_core.reservation.feedback.departureAdjustedHint'), tone: "positive" }));
|
|
1482
|
+
if (status === 'no-show')
|
|
1483
|
+
return (_jsx(Notice, { title: _('hospitality_core.reservation.feedback.noShow'), message: _('hospitality_core.reservation.feedback.noShowHint'), tone: "warning" }));
|
|
1484
|
+
if (errors.length)
|
|
1485
|
+
return _jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' '), tone: "danger" });
|
|
1486
|
+
return null;
|
|
1487
|
+
};
|
|
1488
|
+
export const stayAssignmentColumns = (_, locale, timezone) => [
|
|
1489
|
+
{
|
|
1490
|
+
key: 'room',
|
|
1491
|
+
label: _('hospitality_core.stay.field.room'),
|
|
1492
|
+
cell: (row) => row.roomName ?? code(row.roomId),
|
|
1493
|
+
priority: 'primary',
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
key: 'start',
|
|
1497
|
+
label: _('hospitality_core.stay.assignment.start'),
|
|
1498
|
+
cell: (row) => dateTime(row.startAt, locale, timezone),
|
|
1499
|
+
kind: 'date',
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
key: 'end',
|
|
1503
|
+
label: _('hospitality_core.stay.assignment.end'),
|
|
1504
|
+
cell: (row) => (row.endAt ? dateTime(row.endAt, locale, timezone) : '—'),
|
|
1505
|
+
kind: 'date',
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
key: 'reason',
|
|
1509
|
+
label: _('hospitality_core.stay.field.moveReason'),
|
|
1510
|
+
cell: (row) => row.reason || '—',
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
key: 'state',
|
|
1514
|
+
label: _('hospitality_core.col.status'),
|
|
1515
|
+
cell: (row) => badge(_(`hospitality_core.assignmentState.${row.state}`), workflowTone(row.state), row.state),
|
|
1516
|
+
kind: 'status',
|
|
1517
|
+
},
|
|
1518
|
+
];
|
|
1519
|
+
export const stayGuestColumns = (_) => [
|
|
1520
|
+
{
|
|
1521
|
+
key: 'guest',
|
|
1522
|
+
label: _('hospitality_core.col.guest'),
|
|
1523
|
+
cell: (row) => person(row.displayName),
|
|
1524
|
+
kind: 'person',
|
|
1525
|
+
priority: 'primary',
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
key: 'role',
|
|
1529
|
+
label: _('hospitality_core.stay.guest.role'),
|
|
1530
|
+
cell: (row) => badge(row.primary ? _('hospitality_core.stay.guest.primary') : _('hospitality_core.stay.guest.companion'), row.primary ? 'positive' : 'neutral'),
|
|
1531
|
+
kind: 'status',
|
|
1532
|
+
},
|
|
1533
|
+
];
|
|
1534
|
+
export const guestDocumentColumns = (_) => [
|
|
1535
|
+
{
|
|
1536
|
+
key: 'name',
|
|
1537
|
+
label: _('hospitality_core.stay.document.fullName'),
|
|
1538
|
+
cell: (row) => person(row.fullName),
|
|
1539
|
+
kind: 'person',
|
|
1540
|
+
priority: 'primary',
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
key: 'type',
|
|
1544
|
+
label: _('hospitality_core.stay.document.type'),
|
|
1545
|
+
cell: (row) => _(`hospitality_core.document.${row.type}`),
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
key: 'number',
|
|
1549
|
+
label: _('hospitality_core.stay.document.number'),
|
|
1550
|
+
cell: (row) => (row.numberLast4 ? code(`•••• ${row.numberLast4}`) : '—'),
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
key: 'nationality',
|
|
1554
|
+
label: _('hospitality_core.stay.document.nationality'),
|
|
1555
|
+
cell: (row) => row.nationality || '—',
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
key: 'readiness',
|
|
1559
|
+
label: _('hospitality_core.stay.document.readiness'),
|
|
1560
|
+
cell: (row) => badge(row.numberLast4 && row.dateOfBirthPresent
|
|
1561
|
+
? _('hospitality_core.stay.document.ready')
|
|
1562
|
+
: _('hospitality_core.stay.document.attention'), row.numberLast4 && row.dateOfBirthPresent ? 'positive' : 'warning'),
|
|
1563
|
+
kind: 'status',
|
|
1564
|
+
},
|
|
1565
|
+
];
|
|
1566
|
+
export const stayDetailFeedback = (_, status, errors = []) => {
|
|
1567
|
+
if (status === 'guest-added')
|
|
1568
|
+
return (_jsx(Notice, { title: _('hospitality_core.stay.feedback.guestAdded'), message: _('hospitality_core.stay.feedback.guestAddedHint'), tone: "positive" }));
|
|
1569
|
+
if (status === 'room-moved')
|
|
1570
|
+
return (_jsx(Notice, { title: _('hospitality_core.stay.feedback.roomMoved'), message: _('hospitality_core.stay.feedback.roomMovedHint'), tone: "positive" }));
|
|
1571
|
+
if (status === 'document-saved')
|
|
1572
|
+
return (_jsx(Notice, { title: _('hospitality_core.stay.feedback.documentSaved'), message: _('hospitality_core.stay.feedback.documentSavedHint'), tone: "positive" }));
|
|
1573
|
+
if (errors.length)
|
|
1574
|
+
return _jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' '), tone: "danger" });
|
|
1575
|
+
return null;
|
|
1576
|
+
};
|
|
1577
|
+
export const folioDetailFeedback = (_, status, errors = []) => {
|
|
1578
|
+
if (status === 'charge-posted')
|
|
1579
|
+
return (_jsx(Notice, { title: _('hospitality_core.folio.feedback.chargePosted'), message: _('hospitality_core.folio.feedback.chargePostedHint'), tone: "positive" }));
|
|
1580
|
+
if (status === 'charge-voided')
|
|
1581
|
+
return (_jsx(Notice, { title: _('hospitality_core.folio.feedback.chargeVoided'), message: _('hospitality_core.folio.feedback.chargeVoidedHint'), tone: "positive" }));
|
|
1582
|
+
if (errors.length)
|
|
1583
|
+
return _jsx(Notice, { title: _('hospitality_core.feedback.invalid'), message: errors.join(' '), tone: "danger" });
|
|
1584
|
+
return null;
|
|
1585
|
+
};
|
|
1586
|
+
//# sourceMappingURL=shared.js.map
|