@mj-biz-apps/orders-ng 0.0.1 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +183 -0
- package/README.md +34 -2
- package/dist/checkout-element/main.js +38080 -0
- package/dist/lib/checkout-widget/checkout-draft-line.d.ts +25 -0
- package/dist/lib/checkout-widget/checkout-draft-line.d.ts.map +1 -0
- package/dist/lib/checkout-widget/checkout-draft-line.js +46 -0
- package/dist/lib/checkout-widget/checkout-draft-line.js.map +1 -0
- package/dist/lib/checkout-widget/checkout-public-host.component.d.ts +80 -0
- package/dist/lib/checkout-widget/checkout-public-host.component.d.ts.map +1 -0
- package/dist/lib/checkout-widget/checkout-public-host.component.js +360 -0
- package/dist/lib/checkout-widget/checkout-public-host.component.js.map +1 -0
- package/dist/lib/checkout-widget/checkout-widget.component.d.ts +143 -0
- package/dist/lib/checkout-widget/checkout-widget.component.d.ts.map +1 -0
- package/dist/lib/checkout-widget/checkout-widget.component.js +873 -0
- package/dist/lib/checkout-widget/checkout-widget.component.js.map +1 -0
- package/dist/lib/custom/OrderHeader/line-extension-cache.d.ts +22 -0
- package/dist/lib/custom/OrderHeader/line-extension-cache.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/line-extension-cache.js +46 -0
- package/dist/lib/custom/OrderHeader/line-extension-cache.js.map +1 -0
- package/dist/lib/custom/OrderHeader/line-extension-fields.d.ts +58 -0
- package/dist/lib/custom/OrderHeader/line-extension-fields.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/line-extension-fields.js +137 -0
- package/dist/lib/custom/OrderHeader/line-extension-fields.js.map +1 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts +127 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.js +1429 -0
- package/dist/lib/custom/OrderHeader/order-header-form.component.js.map +1 -0
- package/dist/lib/custom/OrderHeader/order-header-prefs.d.ts +18 -0
- package/dist/lib/custom/OrderHeader/order-header-prefs.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/order-header-prefs.js +20 -0
- package/dist/lib/custom/OrderHeader/order-header-prefs.js.map +1 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +72 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +621 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts +135 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts.map +1 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.js +2169 -0
- package/dist/lib/custom/PaymentHeader/payment-header-form.component.js.map +1 -0
- package/dist/lib/custom/PriceList/price-list-form.component.d.ts +46 -0
- package/dist/lib/custom/PriceList/price-list-form.component.d.ts.map +1 -0
- package/dist/lib/custom/PriceList/price-list-form.component.js +363 -0
- package/dist/lib/custom/PriceList/price-list-form.component.js.map +1 -0
- package/dist/lib/custom/Product/product-form.component.d.ts +81 -0
- package/dist/lib/custom/Product/product-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/product-form.component.js +665 -0
- package/dist/lib/custom/Product/product-form.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.d.ts +16 -0
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js +55 -0
- package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.d.ts +16 -0
- package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.js +65 -0
- package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts +103 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js +950 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-promotions-widget.component.d.ts +21 -0
- package/dist/lib/custom/Product/widgets/product-promotions-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-promotions-widget.component.js +67 -0
- package/dist/lib/custom/Product/widgets/product-promotions-widget.component.js.map +1 -0
- package/dist/lib/custom/Product/widgets/product-subscription-widget.component.d.ts +18 -0
- package/dist/lib/custom/Product/widgets/product-subscription-widget.component.d.ts.map +1 -0
- package/dist/lib/custom/Product/widgets/product-subscription-widget.component.js +55 -0
- package/dist/lib/custom/Product/widgets/product-subscription-widget.component.js.map +1 -0
- package/dist/lib/custom/Promotion/promotion-form.component.d.ts +33 -0
- package/dist/lib/custom/Promotion/promotion-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Promotion/promotion-form.component.js +350 -0
- package/dist/lib/custom/Promotion/promotion-form.component.js.map +1 -0
- package/dist/lib/custom/Subscription/subscription-form.component.d.ts +96 -0
- package/dist/lib/custom/Subscription/subscription-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Subscription/subscription-form.component.js +885 -0
- package/dist/lib/custom/Subscription/subscription-form.component.js.map +1 -0
- package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.d.ts +60 -0
- package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.d.ts.map +1 -0
- package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.js +567 -0
- package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.js.map +1 -0
- package/dist/lib/custom/custom-forms.module.d.ts +29 -0
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -0
- package/dist/lib/custom/custom-forms.module.js +127 -0
- package/dist/lib/custom/custom-forms.module.js.map +1 -0
- package/dist/lib/custom/form-navigation-helper.d.ts +10 -0
- package/dist/lib/custom/form-navigation-helper.d.ts.map +1 -0
- package/dist/lib/custom/form-navigation-helper.js +51 -0
- package/dist/lib/custom/form-navigation-helper.js.map +1 -0
- package/dist/lib/data/entity-names.d.ts +84 -0
- package/dist/lib/data/entity-names.d.ts.map +1 -0
- package/dist/lib/data/entity-names.js +85 -0
- package/dist/lib/data/entity-names.js.map +1 -0
- package/dist/lib/data/orders-queries.d.ts +394 -0
- package/dist/lib/data/orders-queries.d.ts.map +1 -0
- package/dist/lib/data/orders-queries.js +897 -0
- package/dist/lib/data/orders-queries.js.map +1 -0
- package/dist/lib/form-panels/catalog-overviews.panels.d.ts +36 -0
- package/dist/lib/form-panels/catalog-overviews.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/catalog-overviews.panels.js +443 -0
- package/dist/lib/form-panels/catalog-overviews.panels.js.map +1 -0
- package/dist/lib/form-panels/commercial-overviews.panels.d.ts +30 -0
- package/dist/lib/form-panels/commercial-overviews.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/commercial-overviews.panels.js +315 -0
- package/dist/lib/form-panels/commercial-overviews.panels.js.map +1 -0
- package/dist/lib/form-panels/document-form.helpers.d.ts +38 -0
- package/dist/lib/form-panels/document-form.helpers.d.ts.map +1 -0
- package/dist/lib/form-panels/document-form.helpers.js +183 -0
- package/dist/lib/form-panels/document-form.helpers.js.map +1 -0
- package/dist/lib/form-panels/document-forms.module.d.ts +34 -0
- package/dist/lib/form-panels/document-forms.module.d.ts.map +1 -0
- package/dist/lib/form-panels/document-forms.module.js +183 -0
- package/dist/lib/form-panels/document-forms.module.js.map +1 -0
- package/dist/lib/form-panels/document-hero.component.d.ts +28 -0
- package/dist/lib/form-panels/document-hero.component.d.ts.map +1 -0
- package/dist/lib/form-panels/document-hero.component.js +167 -0
- package/dist/lib/form-panels/document-hero.component.js.map +1 -0
- package/dist/lib/form-panels/document-overviews.panels.d.ts +42 -0
- package/dist/lib/form-panels/document-overviews.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/document-overviews.panels.js +457 -0
- package/dist/lib/form-panels/document-overviews.panels.js.map +1 -0
- package/dist/lib/form-panels/lookup-headers.panels.d.ts +68 -0
- package/dist/lib/form-panels/lookup-headers.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/lookup-headers.panels.js +399 -0
- package/dist/lib/form-panels/lookup-headers.panels.js.map +1 -0
- package/dist/lib/form-panels/organization-header.panel.d.ts +15 -0
- package/dist/lib/form-panels/organization-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/organization-header.panel.js +77 -0
- package/dist/lib/form-panels/organization-header.panel.js.map +1 -0
- package/dist/lib/form-panels/organization-orders-overview.panel.d.ts +13 -0
- package/dist/lib/form-panels/organization-orders-overview.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/organization-orders-overview.panel.js +77 -0
- package/dist/lib/form-panels/organization-orders-overview.panel.js.map +1 -0
- package/dist/lib/form-panels/organization-orders.panel.d.ts +16 -0
- package/dist/lib/form-panels/organization-orders.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/organization-orders.panel.js +88 -0
- package/dist/lib/form-panels/organization-orders.panel.js.map +1 -0
- package/dist/lib/form-panels/overview-cards.component.d.ts +30 -0
- package/dist/lib/form-panels/overview-cards.component.d.ts.map +1 -0
- package/dist/lib/form-panels/overview-cards.component.js +250 -0
- package/dist/lib/form-panels/overview-cards.component.js.map +1 -0
- package/dist/lib/form-panels/overview-load.d.ts +7 -0
- package/dist/lib/form-panels/overview-load.d.ts.map +1 -0
- package/dist/lib/form-panels/overview-load.js +31 -0
- package/dist/lib/form-panels/overview-load.js.map +1 -0
- package/dist/lib/form-panels/party-headers.module.d.ts +18 -0
- package/dist/lib/form-panels/party-headers.module.d.ts.map +1 -0
- package/dist/lib/form-panels/party-headers.module.js +63 -0
- package/dist/lib/form-panels/party-headers.module.js.map +1 -0
- package/dist/lib/form-panels/party-order-stats.d.ts +26 -0
- package/dist/lib/form-panels/party-order-stats.d.ts.map +1 -0
- package/dist/lib/form-panels/party-order-stats.js +149 -0
- package/dist/lib/form-panels/party-order-stats.js.map +1 -0
- package/dist/lib/form-panels/payment-header.panel.d.ts +21 -0
- package/dist/lib/form-panels/payment-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/payment-header.panel.js +111 -0
- package/dist/lib/form-panels/payment-header.panel.js.map +1 -0
- package/dist/lib/form-panels/payment-journals.panel.d.ts +32 -0
- package/dist/lib/form-panels/payment-journals.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/payment-journals.panel.js +332 -0
- package/dist/lib/form-panels/payment-journals.panel.js.map +1 -0
- package/dist/lib/form-panels/person-header.panel.d.ts +15 -0
- package/dist/lib/form-panels/person-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/person-header.panel.js +77 -0
- package/dist/lib/form-panels/person-header.panel.js.map +1 -0
- package/dist/lib/form-panels/person-orders-overview.panel.d.ts +13 -0
- package/dist/lib/form-panels/person-orders-overview.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/person-orders-overview.panel.js +77 -0
- package/dist/lib/form-panels/person-orders-overview.panel.js.map +1 -0
- package/dist/lib/form-panels/person-orders.panel.d.ts +17 -0
- package/dist/lib/form-panels/person-orders.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/person-orders.panel.js +89 -0
- package/dist/lib/form-panels/person-orders.panel.js.map +1 -0
- package/dist/lib/form-panels/price-list-header.panel.d.ts +11 -0
- package/dist/lib/form-panels/price-list-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/price-list-header.panel.js +76 -0
- package/dist/lib/form-panels/price-list-header.panel.js.map +1 -0
- package/dist/lib/form-panels/price-list-simulator.panel.d.ts +19 -0
- package/dist/lib/form-panels/price-list-simulator.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/price-list-simulator.panel.js +125 -0
- package/dist/lib/form-panels/price-list-simulator.panel.js.map +1 -0
- package/dist/lib/form-panels/product-category-hierarchy.panel.d.ts +23 -0
- package/dist/lib/form-panels/product-category-hierarchy.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/product-category-hierarchy.panel.js +118 -0
- package/dist/lib/form-panels/product-category-hierarchy.panel.js.map +1 -0
- package/dist/lib/form-panels/product-header.panel.d.ts +14 -0
- package/dist/lib/form-panels/product-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/product-header.panel.js +105 -0
- package/dist/lib/form-panels/product-header.panel.js.map +1 -0
- package/dist/lib/form-panels/product-widget.panels.d.ts +24 -0
- package/dist/lib/form-panels/product-widget.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/product-widget.panels.js +253 -0
- package/dist/lib/form-panels/product-widget.panels.js.map +1 -0
- package/dist/lib/form-panels/promotion-header.panel.d.ts +14 -0
- package/dist/lib/form-panels/promotion-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/promotion-header.panel.js +112 -0
- package/dist/lib/form-panels/promotion-header.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-header.panel.d.ts +17 -0
- package/dist/lib/form-panels/subscription-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-header.panel.js +127 -0
- package/dist/lib/form-panels/subscription-header.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-revrec.panel.d.ts +32 -0
- package/dist/lib/form-panels/subscription-revrec.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-revrec.panel.js +184 -0
- package/dist/lib/form-panels/subscription-revrec.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-term-header.panel.d.ts +13 -0
- package/dist/lib/form-panels/subscription-term-header.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-term-header.panel.js +113 -0
- package/dist/lib/form-panels/subscription-term-header.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-term-revrec.panel.d.ts +23 -0
- package/dist/lib/form-panels/subscription-term-revrec.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-term-revrec.panel.js +144 -0
- package/dist/lib/form-panels/subscription-term-revrec.panel.js.map +1 -0
- package/dist/lib/form-panels/subscription-terms.panel.d.ts +25 -0
- package/dist/lib/form-panels/subscription-terms.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/subscription-terms.panel.js +173 -0
- package/dist/lib/form-panels/subscription-terms.panel.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.js +102 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js +103 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.js +136 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.js +106 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.js +98 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.js +89 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.js +103 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js +107 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js +139 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js +129 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.js +122 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.js +67 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.js +132 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.js +67 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js +85 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js +342 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js +378 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.js +71 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.js +89 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.js +63 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.js +180 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js +206 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.js +128 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.js +87 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js +158 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.js +110 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.js +63 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.js +108 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.js +144 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.js +134 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.js +89 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.js +71 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js +294 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.js +83 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js +168 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.js +114 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.js +162 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.js +136 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.js +182 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.js +108 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.js +75 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.js +90 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.js +138 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js +98 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.js +87 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.js +134 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.js +87 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js +234 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.js +87 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.js +63 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.js +122 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.js +188 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.js.map +1 -0
- package/dist/lib/generated/class-registrations-manifest.d.ts +7 -0
- package/dist/lib/generated/class-registrations-manifest.d.ts.map +1 -0
- package/dist/lib/generated/class-registrations-manifest.js +7 -0
- package/dist/lib/generated/class-registrations-manifest.js.map +1 -0
- package/dist/lib/generated/generated-forms.module.d.ts +79 -0
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -0
- package/dist/lib/generated/generated-forms.module.js +276 -0
- package/dist/lib/generated/generated-forms.module.js.map +1 -0
- package/dist/lib/pages/catalog/pricing.page.d.ts +81 -0
- package/dist/lib/pages/catalog/pricing.page.d.ts.map +1 -0
- package/dist/lib/pages/catalog/pricing.page.js +555 -0
- package/dist/lib/pages/catalog/pricing.page.js.map +1 -0
- package/dist/lib/pages/catalog/products.page.d.ts +98 -0
- package/dist/lib/pages/catalog/products.page.d.ts.map +1 -0
- package/dist/lib/pages/catalog/products.page.js +877 -0
- package/dist/lib/pages/catalog/products.page.js.map +1 -0
- package/dist/lib/pages/orders/fulfillment.page.d.ts +54 -0
- package/dist/lib/pages/orders/fulfillment.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/fulfillment.page.js +279 -0
- package/dist/lib/pages/orders/fulfillment.page.js.map +1 -0
- package/dist/lib/pages/orders/order-document.page.d.ts +71 -0
- package/dist/lib/pages/orders/order-document.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/order-document.page.js +573 -0
- package/dist/lib/pages/orders/order-document.page.js.map +1 -0
- package/dist/lib/pages/orders/orders-dashboard.page.d.ts +79 -0
- package/dist/lib/pages/orders/orders-dashboard.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/orders-dashboard.page.js +819 -0
- package/dist/lib/pages/orders/orders-dashboard.page.js.map +1 -0
- package/dist/lib/pages/orders/orders-list.page.d.ts +21 -0
- package/dist/lib/pages/orders/orders-list.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/orders-list.page.js +74 -0
- package/dist/lib/pages/orders/orders-list.page.js.map +1 -0
- package/dist/lib/pages/orders/return.page.d.ts +96 -0
- package/dist/lib/pages/orders/return.page.d.ts.map +1 -0
- package/dist/lib/pages/orders/return.page.js +549 -0
- package/dist/lib/pages/orders/return.page.js.map +1 -0
- package/dist/lib/pages/payments/account-credit.page.d.ts +96 -0
- package/dist/lib/pages/payments/account-credit.page.d.ts.map +1 -0
- package/dist/lib/pages/payments/account-credit.page.js +463 -0
- package/dist/lib/pages/payments/account-credit.page.js.map +1 -0
- package/dist/lib/pages/payments/payments-dashboard.page.d.ts +61 -0
- package/dist/lib/pages/payments/payments-dashboard.page.d.ts.map +1 -0
- package/dist/lib/pages/payments/payments-dashboard.page.js +359 -0
- package/dist/lib/pages/payments/payments-dashboard.page.js.map +1 -0
- package/dist/lib/pages/payments/payments-list.page.d.ts +18 -0
- package/dist/lib/pages/payments/payments-list.page.d.ts.map +1 -0
- package/dist/lib/pages/payments/payments-list.page.js +71 -0
- package/dist/lib/pages/payments/payments-list.page.js.map +1 -0
- package/dist/lib/pages/payments/refund.page.d.ts +74 -0
- package/dist/lib/pages/payments/refund.page.d.ts.map +1 -0
- package/dist/lib/pages/payments/refund.page.js +477 -0
- package/dist/lib/pages/payments/refund.page.js.map +1 -0
- package/dist/lib/pages/receivables/customer-ar.page.d.ts +102 -0
- package/dist/lib/pages/receivables/customer-ar.page.d.ts.map +1 -0
- package/dist/lib/pages/receivables/customer-ar.page.js +782 -0
- package/dist/lib/pages/receivables/customer-ar.page.js.map +1 -0
- package/dist/lib/pages/receivables/overdue.page.d.ts +71 -0
- package/dist/lib/pages/receivables/overdue.page.d.ts.map +1 -0
- package/dist/lib/pages/receivables/overdue.page.js +338 -0
- package/dist/lib/pages/receivables/overdue.page.js.map +1 -0
- package/dist/lib/pages/receivables/subscriptions.page.d.ts +115 -0
- package/dist/lib/pages/receivables/subscriptions.page.d.ts.map +1 -0
- package/dist/lib/pages/receivables/subscriptions.page.js +632 -0
- package/dist/lib/pages/receivables/subscriptions.page.js.map +1 -0
- package/dist/lib/panels/aging-bar.component.d.ts +59 -0
- package/dist/lib/panels/aging-bar.component.d.ts.map +1 -0
- package/dist/lib/panels/aging-bar.component.js +180 -0
- package/dist/lib/panels/aging-bar.component.js.map +1 -0
- package/dist/lib/panels/allocation-grid.component.d.ts +90 -0
- package/dist/lib/panels/allocation-grid.component.d.ts.map +1 -0
- package/dist/lib/panels/allocation-grid.component.js +425 -0
- package/dist/lib/panels/allocation-grid.component.js.map +1 -0
- package/dist/lib/panels/allocation-math.d.ts +59 -0
- package/dist/lib/panels/allocation-math.d.ts.map +1 -0
- package/dist/lib/panels/allocation-math.js +99 -0
- package/dist/lib/panels/allocation-math.js.map +1 -0
- package/dist/lib/panels/chips.component.d.ts +104 -0
- package/dist/lib/panels/chips.component.d.ts.map +1 -0
- package/dist/lib/panels/chips.component.js +274 -0
- package/dist/lib/panels/chips.component.js.map +1 -0
- package/dist/lib/panels/day-bars.component.d.ts +64 -0
- package/dist/lib/panels/day-bars.component.d.ts.map +1 -0
- package/dist/lib/panels/day-bars.component.js +143 -0
- package/dist/lib/panels/day-bars.component.js.map +1 -0
- package/dist/lib/panels/decomposition-ladder.component.d.ts +68 -0
- package/dist/lib/panels/decomposition-ladder.component.d.ts.map +1 -0
- package/dist/lib/panels/decomposition-ladder.component.js +217 -0
- package/dist/lib/panels/decomposition-ladder.component.js.map +1 -0
- package/dist/lib/panels/index.d.ts +46 -0
- package/dist/lib/panels/index.d.ts.map +1 -0
- package/dist/lib/panels/index.js +58 -0
- package/dist/lib/panels/index.js.map +1 -0
- package/dist/lib/panels/journal-entry-preview.component.d.ts +71 -0
- package/dist/lib/panels/journal-entry-preview.component.d.ts.map +1 -0
- package/dist/lib/panels/journal-entry-preview.component.js +281 -0
- package/dist/lib/panels/journal-entry-preview.component.js.map +1 -0
- package/dist/lib/panels/money-format.d.ts +182 -0
- package/dist/lib/panels/money-format.d.ts.map +1 -0
- package/dist/lib/panels/money-format.js +297 -0
- package/dist/lib/panels/money-format.js.map +1 -0
- package/dist/lib/panels/money-strip.component.d.ts +69 -0
- package/dist/lib/panels/money-strip.component.d.ts.map +1 -0
- package/dist/lib/panels/money-strip.component.js +233 -0
- package/dist/lib/panels/money-strip.component.js.map +1 -0
- package/dist/lib/panels/order-stages.d.ts +75 -0
- package/dist/lib/panels/order-stages.d.ts.map +1 -0
- package/dist/lib/panels/order-stages.js +100 -0
- package/dist/lib/panels/order-stages.js.map +1 -0
- package/dist/lib/panels/party-orders-overview.component.d.ts +79 -0
- package/dist/lib/panels/party-orders-overview.component.d.ts.map +1 -0
- package/dist/lib/panels/party-orders-overview.component.js +906 -0
- package/dist/lib/panels/party-orders-overview.component.js.map +1 -0
- package/dist/lib/panels/stat-tile.component.d.ts +75 -0
- package/dist/lib/panels/stat-tile.component.d.ts.map +1 -0
- package/dist/lib/panels/stat-tile.component.js +214 -0
- package/dist/lib/panels/stat-tile.component.js.map +1 -0
- package/dist/lib/panels/status-stepper.component.d.ts +60 -0
- package/dist/lib/panels/status-stepper.component.d.ts.map +1 -0
- package/dist/lib/panels/status-stepper.component.js +160 -0
- package/dist/lib/panels/status-stepper.component.js.map +1 -0
- package/dist/lib/panels/summary-strip.component.d.ts +48 -0
- package/dist/lib/panels/summary-strip.component.d.ts.map +1 -0
- package/dist/lib/panels/summary-strip.component.js +100 -0
- package/dist/lib/panels/summary-strip.component.js.map +1 -0
- package/dist/lib/panels/worklist-table.component.d.ts +127 -0
- package/dist/lib/panels/worklist-table.component.d.ts.map +1 -0
- package/dist/lib/panels/worklist-table.component.js +444 -0
- package/dist/lib/panels/worklist-table.component.js.map +1 -0
- package/dist/lib/sections/orders-sections.component.d.ts +282 -0
- package/dist/lib/sections/orders-sections.component.d.ts.map +1 -0
- package/dist/lib/sections/orders-sections.component.js +1117 -0
- package/dist/lib/sections/orders-sections.component.js.map +1 -0
- package/dist/lib/sections/section-nav.model.d.ts +74 -0
- package/dist/lib/sections/section-nav.model.d.ts.map +1 -0
- package/dist/lib/sections/section-nav.model.js +114 -0
- package/dist/lib/sections/section-nav.model.js.map +1 -0
- package/dist/lib/sections/section-shell.component.d.ts +70 -0
- package/dist/lib/sections/section-shell.component.d.ts.map +1 -0
- package/dist/lib/sections/section-shell.component.js +193 -0
- package/dist/lib/sections/section-shell.component.js.map +1 -0
- package/dist/lib/services/pricing-scheduler.service.d.ts +181 -0
- package/dist/lib/services/pricing-scheduler.service.d.ts.map +1 -0
- package/dist/lib/services/pricing-scheduler.service.js +292 -0
- package/dist/lib/services/pricing-scheduler.service.js.map +1 -0
- package/dist/lib/services/save-error.d.ts +24 -0
- package/dist/lib/services/save-error.d.ts.map +1 -0
- package/dist/lib/services/save-error.js +47 -0
- package/dist/lib/services/save-error.js.map +1 -0
- package/dist/lib/styles/orders-kit.css +841 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.d.ts +55 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.js +243 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.js.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.d.ts +47 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.js +112 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.js.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.d.ts +36 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.js +179 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.js.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.d.ts +36 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.js +9 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.js.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.d.ts +35 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.d.ts.map +1 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.js +124 -0
- package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.js.map +1 -0
- package/dist/public-api.d.ts +80 -0
- package/dist/public-api.d.ts.map +1 -0
- package/dist/public-api.js +98 -0
- package/dist/public-api.js.map +1 -0
- package/package.json +78 -5
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Money and quantity formatting — pure functions plus the pipes that wrap them.
|
|
3
|
+
*
|
|
4
|
+
* WHY THIS IS ITS OWN FILE. Every screen in this app is mostly numbers, and the
|
|
5
|
+
* rules for rendering them are not obvious: a zero balance reads better as an
|
|
6
|
+
* em-dash than as `$0.00`; a credit is a negative balance that should read as a
|
|
7
|
+
* positive amount in a credit context; a document uses parentheses for negatives
|
|
8
|
+
* where a worklist uses a minus sign. Scattering those choices across templates
|
|
9
|
+
* guarantees they diverge. Here they are pure functions with tests.
|
|
10
|
+
*
|
|
11
|
+
* The pure half has no Angular import path of its own so it can be unit-tested
|
|
12
|
+
* directly, which is most of the value.
|
|
13
|
+
*
|
|
14
|
+
* @module @mj-biz-apps/orders-ng
|
|
15
|
+
*/
|
|
16
|
+
import { Pipe } from '@angular/core';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
/**
|
|
19
|
+
* Format an amount as money.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```typescript
|
|
23
|
+
* FormatMoney(1621.57) // '$1,621.57'
|
|
24
|
+
* FormatMoney(-85) // '−$85.00'
|
|
25
|
+
* FormatMoney(-85, { Sign: 'parentheses' }) // '($85.00)'
|
|
26
|
+
* FormatMoney(0, { Zero: '—' }) // '—'
|
|
27
|
+
* FormatMoney(41230, { Round: true }) // '$41,230'
|
|
28
|
+
* FormatMoney(null) // '—'
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export function FormatMoney(value, options = {}) {
|
|
32
|
+
if (value === null || value === undefined || Number.isNaN(value))
|
|
33
|
+
return '—';
|
|
34
|
+
const symbol = options.Symbol ?? '$';
|
|
35
|
+
const digits = options.Round ? 0 : 2;
|
|
36
|
+
const zeroText = options.Zero ?? `${symbol}${digits === 0 ? '0' : '0.00'}`;
|
|
37
|
+
if (value === 0)
|
|
38
|
+
return zeroText;
|
|
39
|
+
const body = symbol +
|
|
40
|
+
Math.abs(value).toLocaleString('en-US', {
|
|
41
|
+
minimumFractionDigits: digits,
|
|
42
|
+
maximumFractionDigits: digits,
|
|
43
|
+
});
|
|
44
|
+
if (value > 0)
|
|
45
|
+
return body;
|
|
46
|
+
switch (options.Sign ?? 'minus') {
|
|
47
|
+
case 'parentheses':
|
|
48
|
+
return `(${body})`;
|
|
49
|
+
case 'absolute':
|
|
50
|
+
return body;
|
|
51
|
+
default:
|
|
52
|
+
// U+2212 MINUS SIGN, not a hyphen: it aligns with digits in a tabular
|
|
53
|
+
// column, which a hyphen does not.
|
|
54
|
+
return `−${body}`;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* True when the amount has a non-zero cent part (after rounding to the
|
|
59
|
+
* nearest cent). Null / NaN do not count — they are not displayed as money.
|
|
60
|
+
*/
|
|
61
|
+
export function HasCents(value) {
|
|
62
|
+
if (value == null || !Number.isFinite(value))
|
|
63
|
+
return false;
|
|
64
|
+
return Math.round(Math.abs(value) * 100) % 100 !== 0;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Format several amounts with one shared cents policy: if any has cents,
|
|
68
|
+
* all show two decimals; otherwise none do. Used for the order-header
|
|
69
|
+
* Total / Paid / Balance trio so the three figures stay aligned.
|
|
70
|
+
*/
|
|
71
|
+
export function FormatMoneyGroup(values, options = {}) {
|
|
72
|
+
const hideCents = options.Round === true || !values.some(HasCents);
|
|
73
|
+
return values.map((value) => FormatMoney(value, { ...options, Round: hideCents }));
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Format a quantity. Whole numbers lose their decimals, because `5` is easier to
|
|
77
|
+
* read than `5.00` and fractional quantities are the exception (a prorated
|
|
78
|
+
* subscription line, a partial return).
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```typescript
|
|
82
|
+
* FormatQuantity(5) // '5'
|
|
83
|
+
* FormatQuantity(0.5833) // '0.5833'
|
|
84
|
+
* FormatQuantity(-1) // '-1'
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
export function FormatQuantity(value) {
|
|
88
|
+
if (value === null || value === undefined || Number.isNaN(value))
|
|
89
|
+
return '—';
|
|
90
|
+
if (Number.isInteger(value))
|
|
91
|
+
return String(value);
|
|
92
|
+
// Up to four places, trailing zeros trimmed — the column is DECIMAL(18,4).
|
|
93
|
+
return String(Number(value.toFixed(4)));
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Format money for a space where the full figure will not fit — a chart label,
|
|
97
|
+
* a dense chip, a column head.
|
|
98
|
+
*
|
|
99
|
+
* A bar chart cannot carry `$1,250.00` above a 40px column, so the choice is
|
|
100
|
+
* between an unlabelled bar and an abbreviated number. Unlabelled loses: the bar
|
|
101
|
+
* only shows RELATIVE size, so a lone tall column reads as "the biggest" without
|
|
102
|
+
* ever saying how big. The exact value stays available on hover and in the
|
|
103
|
+
* component's aria-label, so nothing is lost by rounding the visible one.
|
|
104
|
+
*
|
|
105
|
+
* Thresholds are the conventional ones and the rounding is deliberately coarse —
|
|
106
|
+
* one decimal below 10, none above, because the label is for orientation and the
|
|
107
|
+
* precise figure is one hover away.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```typescript
|
|
111
|
+
* FormatCompact(0) // '—'
|
|
112
|
+
* FormatCompact(940) // '$940'
|
|
113
|
+
* FormatCompact(1250) // '$1.3k'
|
|
114
|
+
* FormatCompact(8000) // '$8k'
|
|
115
|
+
* FormatCompact(24500) // '$25k'
|
|
116
|
+
* FormatCompact(1250000) // '$1.3M'
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
export function FormatCompact(value) {
|
|
120
|
+
if (value === null || value === undefined || Number.isNaN(value))
|
|
121
|
+
return '—';
|
|
122
|
+
if (value === 0)
|
|
123
|
+
return '—';
|
|
124
|
+
const sign = value < 0 ? '-' : '';
|
|
125
|
+
const n = Math.abs(value);
|
|
126
|
+
const scale = (divisor, suffix) => {
|
|
127
|
+
const scaled = n / divisor;
|
|
128
|
+
// One decimal only while it still adds information; 9.7k is useful, 97.3k is noise.
|
|
129
|
+
const text = scaled < 10 ? String(Number(scaled.toFixed(1))) : String(Math.round(scaled));
|
|
130
|
+
return `${sign}$${text}${suffix}`;
|
|
131
|
+
};
|
|
132
|
+
if (n >= 1_000_000_000)
|
|
133
|
+
return scale(1_000_000_000, 'B');
|
|
134
|
+
if (n >= 1_000_000)
|
|
135
|
+
return scale(1_000_000, 'M');
|
|
136
|
+
if (n >= 1_000)
|
|
137
|
+
return scale(1_000, 'k');
|
|
138
|
+
return `${sign}$${Math.round(n)}`;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Format a rate as a percentage, trimming pointless zeros.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```typescript
|
|
145
|
+
* FormatRate(0.0625) // '6.25%'
|
|
146
|
+
* FormatRate(0.1) // '10%'
|
|
147
|
+
* FormatRate(0.0225) // '2.25%'
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
export function FormatRate(value) {
|
|
151
|
+
if (value === null || value === undefined || Number.isNaN(value))
|
|
152
|
+
return '—';
|
|
153
|
+
const pct = value * 100;
|
|
154
|
+
return `${Number(pct.toFixed(4))}%`;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Format an ISO date for display.
|
|
158
|
+
*
|
|
159
|
+
* Parsed as LOCAL rather than UTC on purpose. A date-only column carries no time
|
|
160
|
+
* zone, and `new Date('2026-08-01')` is parsed as UTC midnight — which renders as
|
|
161
|
+
* July 31st for anyone west of Greenwich. Splitting the string avoids handing the
|
|
162
|
+
* user a date one day earlier than the one stored.
|
|
163
|
+
*
|
|
164
|
+
* @example
|
|
165
|
+
* ```typescript
|
|
166
|
+
* FormatDate('2026-08-01') // 'Aug 1, 2026'
|
|
167
|
+
* FormatDate('2026-08-01', { Short: true }) // 'Aug 1'
|
|
168
|
+
* FormatDate(order.OrderDate) // a Date off an entity works too
|
|
169
|
+
* ```
|
|
170
|
+
*
|
|
171
|
+
* ACCEPTS A `Date` AS WELL AS AN ISO STRING, and that is not convenience. A date column is a `Date`
|
|
172
|
+
* on an entity and an ISO string on the wire, so a screen holds one or the other depending on how it
|
|
173
|
+
* read the row. Given a `Date`, the old string-splitting path found no '-' to split on and returned
|
|
174
|
+
* '—' — an empty-looking cell that reads as "no date" rather than as the type mismatch it was.
|
|
175
|
+
*/
|
|
176
|
+
export function FormatDate(value, options = {}) {
|
|
177
|
+
const date = toLocalDate(value);
|
|
178
|
+
if (!date)
|
|
179
|
+
return '—';
|
|
180
|
+
return date.toLocaleDateString('en-US', {
|
|
181
|
+
month: 'short',
|
|
182
|
+
day: 'numeric',
|
|
183
|
+
...(options.Short ? {} : { year: 'numeric' }),
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Whole days between an ISO date and a reference point. Positive means the date
|
|
188
|
+
* is in the past — i.e. "days overdue", which is the only way this is used.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* ```typescript
|
|
192
|
+
* DaysSince('2026-06-15', '2026-07-29') // 44
|
|
193
|
+
* ```
|
|
194
|
+
*
|
|
195
|
+
* Takes a `Date` on either side for the same reason {@link FormatDate} does.
|
|
196
|
+
*/
|
|
197
|
+
export function DaysSince(value, asOf) {
|
|
198
|
+
const from = toLocalDate(value);
|
|
199
|
+
const to = toLocalDate(asOf);
|
|
200
|
+
if (!from || !to)
|
|
201
|
+
return 0;
|
|
202
|
+
return Math.round((to.getTime() - from.getTime()) / 86_400_000);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* A calendar date at LOCAL midnight, from either representation.
|
|
206
|
+
*
|
|
207
|
+
* The time-of-day is dropped on purpose: everything these helpers answer — what day is this, how
|
|
208
|
+
* many days ago was it — is a question about calendar days, and keeping the clock in would make
|
|
209
|
+
* "yesterday at 23:00" and "today at 01:00" two days apart in one timezone and one in another.
|
|
210
|
+
*/
|
|
211
|
+
function toLocalDate(value) {
|
|
212
|
+
if (!value)
|
|
213
|
+
return null;
|
|
214
|
+
if (value instanceof Date) {
|
|
215
|
+
if (Number.isNaN(value.getTime()))
|
|
216
|
+
return null;
|
|
217
|
+
return new Date(value.getFullYear(), value.getMonth(), value.getDate());
|
|
218
|
+
}
|
|
219
|
+
const [y, m, d] = String(value).split('T')[0].split('-').map(Number);
|
|
220
|
+
if (!y || !m || !d)
|
|
221
|
+
return null;
|
|
222
|
+
return new Date(y, m - 1, d);
|
|
223
|
+
}
|
|
224
|
+
/** Initials for an avatar, capped at two letters. */
|
|
225
|
+
export function Initials(name) {
|
|
226
|
+
if (!name)
|
|
227
|
+
return '?';
|
|
228
|
+
const parts = name.split(/\s+/).filter(Boolean);
|
|
229
|
+
// A whitespace-only name splits to nothing, which would otherwise render an
|
|
230
|
+
// empty avatar circle — visually indistinguishable from a broken one.
|
|
231
|
+
if (!parts.length)
|
|
232
|
+
return '?';
|
|
233
|
+
return parts
|
|
234
|
+
.slice(0, 2)
|
|
235
|
+
.map((w) => w[0])
|
|
236
|
+
.join('')
|
|
237
|
+
.toUpperCase();
|
|
238
|
+
}
|
|
239
|
+
/* ────────────────────────────────────────────────────────────────────────────
|
|
240
|
+
* Pipes
|
|
241
|
+
*
|
|
242
|
+
* Thin wrappers, so a template can say `{{ amount | mjoMoney }}` without every
|
|
243
|
+
* component injecting a formatter. Pure (the default), so they memoise.
|
|
244
|
+
* ──────────────────────────────────────────────────────────────────────────── */
|
|
245
|
+
/**
|
|
246
|
+
* `{{ value | mjoMoney }}` / `{{ value | mjoMoney: { Zero: '—' } }}`
|
|
247
|
+
*/
|
|
248
|
+
export class MJOMoneyPipe {
|
|
249
|
+
transform(value, options) {
|
|
250
|
+
return FormatMoney(value, options);
|
|
251
|
+
}
|
|
252
|
+
static ɵfac = function MJOMoneyPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOMoneyPipe)(); };
|
|
253
|
+
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "mjoMoney", type: MJOMoneyPipe, pure: true });
|
|
254
|
+
}
|
|
255
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOMoneyPipe, [{
|
|
256
|
+
type: Pipe,
|
|
257
|
+
args: [{ name: 'mjoMoney', standalone: true }]
|
|
258
|
+
}], null, null); })();
|
|
259
|
+
/** `{{ value | mjoQuantity }}` */
|
|
260
|
+
export class MJOQuantityPipe {
|
|
261
|
+
transform(value) {
|
|
262
|
+
return FormatQuantity(value);
|
|
263
|
+
}
|
|
264
|
+
static ɵfac = function MJOQuantityPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOQuantityPipe)(); };
|
|
265
|
+
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "mjoQuantity", type: MJOQuantityPipe, pure: true });
|
|
266
|
+
}
|
|
267
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOQuantityPipe, [{
|
|
268
|
+
type: Pipe,
|
|
269
|
+
args: [{ name: 'mjoQuantity', standalone: true }]
|
|
270
|
+
}], null, null); })();
|
|
271
|
+
/** `{{ value | mjoRate }}` */
|
|
272
|
+
export class MJORatePipe {
|
|
273
|
+
transform(value) {
|
|
274
|
+
return FormatRate(value);
|
|
275
|
+
}
|
|
276
|
+
static ɵfac = function MJORatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJORatePipe)(); };
|
|
277
|
+
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "mjoRate", type: MJORatePipe, pure: true });
|
|
278
|
+
}
|
|
279
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJORatePipe, [{
|
|
280
|
+
type: Pipe,
|
|
281
|
+
args: [{ name: 'mjoRate', standalone: true }]
|
|
282
|
+
}], null, null); })();
|
|
283
|
+
/** `{{ iso | mjoDate }}` / `{{ iso | mjoDate: true }}` for the short form. */
|
|
284
|
+
export class MJODatePipe {
|
|
285
|
+
transform(iso, short = false) {
|
|
286
|
+
return FormatDate(iso, { Short: short });
|
|
287
|
+
}
|
|
288
|
+
static ɵfac = function MJODatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJODatePipe)(); };
|
|
289
|
+
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "mjoDate", type: MJODatePipe, pure: true });
|
|
290
|
+
}
|
|
291
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJODatePipe, [{
|
|
292
|
+
type: Pipe,
|
|
293
|
+
args: [{ name: 'mjoDate', standalone: true }]
|
|
294
|
+
}], null, null); })();
|
|
295
|
+
/** Every formatting pipe, for a component's `imports` array. */
|
|
296
|
+
export const MJO_FORMAT_PIPES = [MJOMoneyPipe, MJOQuantityPipe, MJORatePipe, MJODatePipe];
|
|
297
|
+
//# sourceMappingURL=money-format.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"money-format.js","sourceRoot":"","sources":["../../../src/lib/panels/money-format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AA6BpD;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,WAAW,CAAC,KAAgC,EAAE,UAA2B,EAAE;IACvF,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC;QAAE,OAAO,GAAG,CAAC;IAE7E,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,GAAG,CAAC;IACrC,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACrC,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC3E,IAAI,KAAK,KAAK,CAAC;QAAE,OAAO,QAAQ,CAAC;IACjC,MAAM,IAAI,GACN,MAAM;QACN,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,OAAO,EAAE;YACpC,qBAAqB,EAAE,MAAM;YAC7B,qBAAqB,EAAE,MAAM;SAChC,CAAC,CAAC;IAEP,IAAI,KAAK,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAE3B,QAAQ,OAAO,CAAC,IAAI,IAAI,OAAO,EAAE,CAAC;QAC9B,KAAK,aAAa;YACd,OAAO,IAAI,IAAI,GAAG,CAAC;QACvB,KAAK,UAAU;YACX,OAAO,IAAI,CAAC;QAChB;YACI,sEAAsE;YACtE,mCAAmC;YACnC,OAAO,IAA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,eAAe;IACjB,SAAS,CAAC,KAAgC;QAC7C,OAAO,cAAc,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;yGAHQ,eAAe;8EAAf,eAAe;;iFAAf,eAAe;cAD3B,IAAI;eAAC,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,IAAI,EAAE;;AAO/C,8BAA8B;AAE9B,MAAM,OAAO,WAAW;IACb,SAAS,CAAC,KAAgC;QAC7C,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;qGAHQ,WAAW;0EAAX,WAAW;;iFAAX,WAAW;cADvB,IAAI;eAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE;;AAO3C,8EAA8E;AAE9E,MAAM,OAAO,WAAW;IACb,SAAS,CAAC,GAA8B,EAAE,KAAK,GAAG,KAAK;QAC1D,OAAO,UAAU,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7C,CAAC;qGAHQ,WAAW;0EAAX,WAAW;;iFAAX,WAAW;cADvB,IAAI;eAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE;;AAO3C,gEAAgE;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,CAAU,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** An order's payment state, as the header's trigger-maintained column reports it. */
|
|
4
|
+
export type MJOPaymentStatus = 'Unpaid' | 'PartiallyPaid' | 'Paid' | 'Overdue' | 'WrittenOff';
|
|
5
|
+
/**
|
|
6
|
+
* `mjo-money-strip` — total, paid, balance and payment state, in one row.
|
|
7
|
+
*
|
|
8
|
+
* The most-repeated component in the app: it heads the order editor, the list
|
|
9
|
+
* preview, the document and the customer A/R panel, so the same three numbers
|
|
10
|
+
* always sit in the same order and a user learns to read them once.
|
|
11
|
+
*
|
|
12
|
+
* A NEGATIVE BALANCE IS NOT AN ERROR. It is the customer's credit — over-paying
|
|
13
|
+
* an order is legitimate and there is no separate credit instrument — so the
|
|
14
|
+
* strip labels it "Credit" and colours it as good news rather than rendering a
|
|
15
|
+
* red minus and implying something went wrong.
|
|
16
|
+
*
|
|
17
|
+
* Rollups are trigger-maintained from the lines and payments, never authored, so
|
|
18
|
+
* this component only ever displays. It emits a click instead of navigating,
|
|
19
|
+
* because a shared component that routed would only fit the one screen that
|
|
20
|
+
* taught it where to go.
|
|
21
|
+
*
|
|
22
|
+
* Requires `orders-kit.css` (loaded once by the host app) — the classes here are
|
|
23
|
+
* the same ones the approved mockups use, which is what keeps the two identical.
|
|
24
|
+
*
|
|
25
|
+
* ## Example
|
|
26
|
+
*
|
|
27
|
+
* ```html
|
|
28
|
+
* <mjo-money-strip
|
|
29
|
+
* [Total]="order.TotalGross"
|
|
30
|
+
* [Paid]="order.AmountPaid"
|
|
31
|
+
* [Balance]="order.Balance"
|
|
32
|
+
* [PaymentStatus]="order.PaymentStatus"
|
|
33
|
+
* Note="Rollups are maintained by trigger from the lines — never authored."
|
|
34
|
+
* (BalanceClicked)="openPayments()" />
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class MJOMoneyStripComponent {
|
|
38
|
+
/** The order's gross. */
|
|
39
|
+
Total: number | null;
|
|
40
|
+
/** How much has been applied. */
|
|
41
|
+
Paid: number | null;
|
|
42
|
+
/** Gross less applied. Negative means the customer holds a credit. */
|
|
43
|
+
Balance: number | null;
|
|
44
|
+
/** Drives the chip. Omit to hide it. */
|
|
45
|
+
PaymentStatus: MJOPaymentStatus | null;
|
|
46
|
+
/** Override the first cell's label — the document says "Total", A/R says "Open". */
|
|
47
|
+
TotalLabel: string;
|
|
48
|
+
/** Hide the paid cell where it adds nothing, e.g. on a fresh draft. */
|
|
49
|
+
ShowPaid: boolean;
|
|
50
|
+
/** Hide the status cell. */
|
|
51
|
+
ShowStatus: boolean;
|
|
52
|
+
/** Denser padding, for a slide-in or a table preview. */
|
|
53
|
+
Compact: boolean;
|
|
54
|
+
/** Optional muted note beside the chip. Hidden on narrow viewports. */
|
|
55
|
+
Note: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* The balance cell was clicked. Only rendered as clickable when something is
|
|
58
|
+
* listening, so the affordance never lies about being interactive.
|
|
59
|
+
*/
|
|
60
|
+
BalanceClicked: EventEmitter<void>;
|
|
61
|
+
/** True when the customer holds a credit rather than owing anything. */
|
|
62
|
+
get IsCredit(): boolean;
|
|
63
|
+
protected get statusLabel(): string;
|
|
64
|
+
protected get statusChipClass(): string;
|
|
65
|
+
protected onBalanceClick(): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJOMoneyStripComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MJOMoneyStripComponent, "mjo-money-strip", never, { "Total": { "alias": "Total"; "required": false; }; "Paid": { "alias": "Paid"; "required": false; }; "Balance": { "alias": "Balance"; "required": false; }; "PaymentStatus": { "alias": "PaymentStatus"; "required": false; }; "TotalLabel": { "alias": "TotalLabel"; "required": false; }; "ShowPaid": { "alias": "ShowPaid"; "required": false; }; "ShowStatus": { "alias": "ShowStatus"; "required": false; }; "Compact": { "alias": "Compact"; "required": false; }; "Note": { "alias": "Note"; "required": false; }; }, { "BalanceClicked": "BalanceClicked"; }, never, never, true, never>;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=money-strip.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"money-strip.component.d.ts","sourceRoot":"","sources":["../../../src/lib/panels/money-strip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;;AAIvE,sFAAsF;AACtF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAE9F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAyEa,sBAAsB;IAC/B,yBAAyB;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;IAErC,iCAAiC;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEpC,sEAAsE;IAC7D,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEvC,wCAAwC;IAC/B,aAAa,EAAE,gBAAgB,GAAG,IAAI,CAAQ;IAEvD,oFAAoF;IAC3E,UAAU,SAAW;IAE9B,uEAAuE;IAC9D,QAAQ,UAAQ;IAEzB,4BAA4B;IACnB,UAAU,UAAQ;IAE3B,yDAAyD;IAChD,OAAO,UAAS;IAEzB,uEAAuE;IAC9D,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEpC;;;OAGG;IACO,cAAc,qBAA4B;IAEpD,wEAAwE;IACxE,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAED,SAAS,KAAK,WAAW,IAAI,MAAM,CAIlC;IAED,SAAS,KAAK,eAAe,IAAI,MAAM,CAatC;IAED,SAAS,CAAC,cAAc,IAAI,IAAI;yCA5DvB,sBAAsB;2CAAtB,sBAAsB;CA+DlC"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MJOMoneyPipe } from './money-format.js';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
const _c0 = () => ({ Sign: "absolute" });
|
|
6
|
+
const _c1 = () => ({ Zero: "\u2014" });
|
|
7
|
+
function MJOMoneyStripComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵdomElementStart(0, "div")(1, "span", 1);
|
|
9
|
+
i0.ɵɵtext(2, "Paid");
|
|
10
|
+
i0.ɵɵdomElementEnd();
|
|
11
|
+
i0.ɵɵdomElementStart(3, "span", 2);
|
|
12
|
+
i0.ɵɵtext(4);
|
|
13
|
+
i0.ɵɵpipe(5, "mjoMoney");
|
|
14
|
+
i0.ɵɵdomElementEnd()();
|
|
15
|
+
} if (rf & 2) {
|
|
16
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
17
|
+
i0.ɵɵadvance(3);
|
|
18
|
+
i0.ɵɵclassProp("mj-money--muted", !ctx_r0.Paid);
|
|
19
|
+
i0.ɵɵadvance();
|
|
20
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(5, 3, ctx_r0.Paid, i0.ɵɵpureFunction0(6, _c1)));
|
|
21
|
+
} }
|
|
22
|
+
function MJOMoneyStripComponent_Conditional_15_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵdomElementStart(0, "span", 6);
|
|
24
|
+
i0.ɵɵtext(1);
|
|
25
|
+
i0.ɵɵdomElementEnd();
|
|
26
|
+
} if (rf & 2) {
|
|
27
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
28
|
+
i0.ɵɵadvance();
|
|
29
|
+
i0.ɵɵtextInterpolate(ctx_r0.Note);
|
|
30
|
+
} }
|
|
31
|
+
function MJOMoneyStripComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵdomElementStart(0, "div", 4)(1, "span", 5);
|
|
33
|
+
i0.ɵɵtext(2);
|
|
34
|
+
i0.ɵɵdomElementEnd();
|
|
35
|
+
i0.ɵɵconditionalCreate(3, MJOMoneyStripComponent_Conditional_15_Conditional_3_Template, 2, 1, "span", 6);
|
|
36
|
+
i0.ɵɵdomElementEnd();
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵclassMap(ctx_r0.statusChipClass);
|
|
41
|
+
i0.ɵɵadvance();
|
|
42
|
+
i0.ɵɵtextInterpolate(ctx_r0.statusLabel);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵconditional(ctx_r0.Note ? 3 : -1);
|
|
45
|
+
} }
|
|
46
|
+
/**
|
|
47
|
+
* `mjo-money-strip` — total, paid, balance and payment state, in one row.
|
|
48
|
+
*
|
|
49
|
+
* The most-repeated component in the app: it heads the order editor, the list
|
|
50
|
+
* preview, the document and the customer A/R panel, so the same three numbers
|
|
51
|
+
* always sit in the same order and a user learns to read them once.
|
|
52
|
+
*
|
|
53
|
+
* A NEGATIVE BALANCE IS NOT AN ERROR. It is the customer's credit — over-paying
|
|
54
|
+
* an order is legitimate and there is no separate credit instrument — so the
|
|
55
|
+
* strip labels it "Credit" and colours it as good news rather than rendering a
|
|
56
|
+
* red minus and implying something went wrong.
|
|
57
|
+
*
|
|
58
|
+
* Rollups are trigger-maintained from the lines and payments, never authored, so
|
|
59
|
+
* this component only ever displays. It emits a click instead of navigating,
|
|
60
|
+
* because a shared component that routed would only fit the one screen that
|
|
61
|
+
* taught it where to go.
|
|
62
|
+
*
|
|
63
|
+
* Requires `orders-kit.css` (loaded once by the host app) — the classes here are
|
|
64
|
+
* the same ones the approved mockups use, which is what keeps the two identical.
|
|
65
|
+
*
|
|
66
|
+
* ## Example
|
|
67
|
+
*
|
|
68
|
+
* ```html
|
|
69
|
+
* <mjo-money-strip
|
|
70
|
+
* [Total]="order.TotalGross"
|
|
71
|
+
* [Paid]="order.AmountPaid"
|
|
72
|
+
* [Balance]="order.Balance"
|
|
73
|
+
* [PaymentStatus]="order.PaymentStatus"
|
|
74
|
+
* Note="Rollups are maintained by trigger from the lines — never authored."
|
|
75
|
+
* (BalanceClicked)="openPayments()" />
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export class MJOMoneyStripComponent {
|
|
79
|
+
/** The order's gross. */
|
|
80
|
+
Total = null;
|
|
81
|
+
/** How much has been applied. */
|
|
82
|
+
Paid = null;
|
|
83
|
+
/** Gross less applied. Negative means the customer holds a credit. */
|
|
84
|
+
Balance = null;
|
|
85
|
+
/** Drives the chip. Omit to hide it. */
|
|
86
|
+
PaymentStatus = null;
|
|
87
|
+
/** Override the first cell's label — the document says "Total", A/R says "Open". */
|
|
88
|
+
TotalLabel = 'Total';
|
|
89
|
+
/** Hide the paid cell where it adds nothing, e.g. on a fresh draft. */
|
|
90
|
+
ShowPaid = true;
|
|
91
|
+
/** Hide the status cell. */
|
|
92
|
+
ShowStatus = true;
|
|
93
|
+
/** Denser padding, for a slide-in or a table preview. */
|
|
94
|
+
Compact = false;
|
|
95
|
+
/** Optional muted note beside the chip. Hidden on narrow viewports. */
|
|
96
|
+
Note = null;
|
|
97
|
+
/**
|
|
98
|
+
* The balance cell was clicked. Only rendered as clickable when something is
|
|
99
|
+
* listening, so the affordance never lies about being interactive.
|
|
100
|
+
*/
|
|
101
|
+
BalanceClicked = new EventEmitter();
|
|
102
|
+
/** True when the customer holds a credit rather than owing anything. */
|
|
103
|
+
get IsCredit() {
|
|
104
|
+
return (this.Balance ?? 0) < 0;
|
|
105
|
+
}
|
|
106
|
+
get statusLabel() {
|
|
107
|
+
// The stored value is PascalCase with no space; "Part paid" fits the chip
|
|
108
|
+
// where "PartiallyPaid" would wrap.
|
|
109
|
+
return this.PaymentStatus === 'PartiallyPaid' ? 'Part paid' : (this.PaymentStatus ?? '');
|
|
110
|
+
}
|
|
111
|
+
get statusChipClass() {
|
|
112
|
+
switch (this.PaymentStatus) {
|
|
113
|
+
case 'Paid':
|
|
114
|
+
return 'mj-chip--success';
|
|
115
|
+
case 'PartiallyPaid':
|
|
116
|
+
return 'mj-chip--warning';
|
|
117
|
+
case 'Overdue':
|
|
118
|
+
return 'mj-chip--error';
|
|
119
|
+
case 'WrittenOff':
|
|
120
|
+
return 'mj-chip--outline';
|
|
121
|
+
default:
|
|
122
|
+
return '';
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
onBalanceClick() {
|
|
126
|
+
if (this.BalanceClicked.observed)
|
|
127
|
+
this.BalanceClicked.emit();
|
|
128
|
+
}
|
|
129
|
+
static ɵfac = function MJOMoneyStripComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOMoneyStripComponent)(); };
|
|
130
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOMoneyStripComponent, selectors: [["mjo-money-strip"]], inputs: { Total: "Total", Paid: "Paid", Balance: "Balance", PaymentStatus: "PaymentStatus", TotalLabel: "TotalLabel", ShowPaid: "ShowPaid", ShowStatus: "ShowStatus", Compact: "Compact", Note: "Note" }, outputs: { BalanceClicked: "BalanceClicked" }, decls: 16, vars: 20, consts: [[1, "mj-money-strip"], [1, "l"], [1, "v"], [3, "click"], [1, "mj-money-strip__status"], [1, "mj-chip"], [1, "small", "muted", "mjo-money-strip__note"]], template: function MJOMoneyStripComponent_Template(rf, ctx) { if (rf & 1) {
|
|
131
|
+
i0.ɵɵdomElementStart(0, "div", 0)(1, "div")(2, "span", 1);
|
|
132
|
+
i0.ɵɵtext(3);
|
|
133
|
+
i0.ɵɵdomElementEnd();
|
|
134
|
+
i0.ɵɵdomElementStart(4, "span", 2);
|
|
135
|
+
i0.ɵɵtext(5);
|
|
136
|
+
i0.ɵɵpipe(6, "mjoMoney");
|
|
137
|
+
i0.ɵɵdomElementEnd()();
|
|
138
|
+
i0.ɵɵconditionalCreate(7, MJOMoneyStripComponent_Conditional_7_Template, 6, 7, "div");
|
|
139
|
+
i0.ɵɵdomElementStart(8, "div", 3);
|
|
140
|
+
i0.ɵɵdomListener("click", function MJOMoneyStripComponent_Template_div_click_8_listener() { return ctx.onBalanceClick(); });
|
|
141
|
+
i0.ɵɵdomElementStart(9, "span", 1);
|
|
142
|
+
i0.ɵɵtext(10);
|
|
143
|
+
i0.ɵɵdomElementEnd();
|
|
144
|
+
i0.ɵɵdomElementStart(11, "span", 2);
|
|
145
|
+
i0.ɵɵtext(12);
|
|
146
|
+
i0.ɵɵpipe(13, "mjoMoney");
|
|
147
|
+
i0.ɵɵpipe(14, "mjoMoney");
|
|
148
|
+
i0.ɵɵdomElementEnd()();
|
|
149
|
+
i0.ɵɵconditionalCreate(15, MJOMoneyStripComponent_Conditional_15_Template, 4, 4, "div", 4);
|
|
150
|
+
i0.ɵɵdomElementEnd();
|
|
151
|
+
} if (rf & 2) {
|
|
152
|
+
i0.ɵɵclassProp("mjo-money-strip--compact", ctx.Compact);
|
|
153
|
+
i0.ɵɵadvance(3);
|
|
154
|
+
i0.ɵɵtextInterpolate(ctx.TotalLabel);
|
|
155
|
+
i0.ɵɵadvance(2);
|
|
156
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 12, ctx.Total));
|
|
157
|
+
i0.ɵɵadvance(2);
|
|
158
|
+
i0.ɵɵconditional(ctx.ShowPaid ? 7 : -1);
|
|
159
|
+
i0.ɵɵadvance();
|
|
160
|
+
i0.ɵɵclassProp("mjo-clickable", ctx.BalanceClicked.observed);
|
|
161
|
+
i0.ɵɵadvance(2);
|
|
162
|
+
i0.ɵɵtextInterpolate(ctx.IsCredit ? "Credit" : "Balance");
|
|
163
|
+
i0.ɵɵadvance();
|
|
164
|
+
i0.ɵɵclassProp("mj-money--credit", ctx.IsCredit);
|
|
165
|
+
i0.ɵɵadvance();
|
|
166
|
+
i0.ɵɵtextInterpolate1(" ", ctx.IsCredit ? i0.ɵɵpipeBind2(13, 14, ctx.Balance, i0.ɵɵpureFunction0(19, _c0)) : i0.ɵɵpipeBind1(14, 17, ctx.Balance), " ");
|
|
167
|
+
i0.ɵɵadvance(3);
|
|
168
|
+
i0.ɵɵconditional(ctx.ShowStatus && ctx.statusLabel ? 15 : -1);
|
|
169
|
+
} }, dependencies: [CommonModule, MJOMoneyPipe], styles: ["\n\n\n .mjo-clickable[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n .mjo-clickable[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n }\n .mjo-money-strip__note[_ngcontent-%COMP%] {\n margin-left: var(--mj-space-2);\n }\n \n\n\n\n\n @media (max-width: 720px) {\n [_nghost-%COMP%] .mj-money-strip {\n grid-template-columns: 1fr 1fr;\n }\n [_nghost-%COMP%] .mj-money-strip > div:nth-child(-n + 2) {\n border-bottom: 1px solid var(--mj-border-default);\n }\n .mjo-money-strip__note[_ngcontent-%COMP%] {\n display: none;\n }\n }"] });
|
|
170
|
+
}
|
|
171
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOMoneyStripComponent, [{
|
|
172
|
+
type: Component,
|
|
173
|
+
args: [{ selector: 'mjo-money-strip', standalone: true, imports: [CommonModule, MJOMoneyPipe], template: `
|
|
174
|
+
<div class="mj-money-strip" [class.mjo-money-strip--compact]="Compact">
|
|
175
|
+
<div>
|
|
176
|
+
<span class="l">{{ TotalLabel }}</span>
|
|
177
|
+
<span class="v">{{ Total | mjoMoney }}</span>
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
@if (ShowPaid) {
|
|
181
|
+
<div>
|
|
182
|
+
<span class="l">Paid</span>
|
|
183
|
+
<span class="v" [class.mj-money--muted]="!Paid">{{ Paid | mjoMoney: { Zero: '—' } }}</span>
|
|
184
|
+
</div>
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
<div
|
|
188
|
+
[class.mjo-clickable]="BalanceClicked.observed"
|
|
189
|
+
(click)="onBalanceClick()">
|
|
190
|
+
<span class="l">{{ IsCredit ? 'Credit' : 'Balance' }}</span>
|
|
191
|
+
<span class="v" [class.mj-money--credit]="IsCredit">
|
|
192
|
+
{{ IsCredit ? (Balance | mjoMoney: { Sign: 'absolute' }) : (Balance | mjoMoney) }}
|
|
193
|
+
</span>
|
|
194
|
+
</div>
|
|
195
|
+
|
|
196
|
+
<!-- statusLabel is required as well as ShowStatus: a draft has no PaymentStatus,
|
|
197
|
+
so the cell rendered an EMPTY chip in its own bordered column. Beside TOTAL and
|
|
198
|
+
BALANCE that reads as a third figure that failed to load rather than one that
|
|
199
|
+
does not apply yet. ShowStatus stays the explicit opt-out; this is the
|
|
200
|
+
nothing-to-say case. -->
|
|
201
|
+
@if (ShowStatus && statusLabel) {
|
|
202
|
+
<div class="mj-money-strip__status">
|
|
203
|
+
<span class="mj-chip" [class]="statusChipClass">{{ statusLabel }}</span>
|
|
204
|
+
@if (Note) {
|
|
205
|
+
<span class="small muted mjo-money-strip__note">{{ Note }}</span>
|
|
206
|
+
}
|
|
207
|
+
</div>
|
|
208
|
+
}
|
|
209
|
+
</div>
|
|
210
|
+
`, styles: ["\n /* Layout only \u2014 every colour and metric comes from orders-kit.css so\n this cannot drift from the approved design. */\n .mjo-clickable {\n cursor: pointer;\n }\n .mjo-clickable:hover {\n background: var(--mj-bg-surface-hover);\n }\n .mjo-money-strip__note {\n margin-left: var(--mj-space-2);\n }\n /* Basic responsive: below the two-column breakpoint the four cells\n stack into two, which keeps each number on one line instead of\n letting the amounts wrap mid-figure. Full optimisation is a later\n phase; this is the floor. */\n @media (max-width: 720px) {\n :host ::ng-deep .mj-money-strip {\n grid-template-columns: 1fr 1fr;\n }\n :host ::ng-deep .mj-money-strip > div:nth-child(-n + 2) {\n border-bottom: 1px solid var(--mj-border-default);\n }\n .mjo-money-strip__note {\n display: none;\n }\n }\n "] }]
|
|
211
|
+
}], null, { Total: [{
|
|
212
|
+
type: Input
|
|
213
|
+
}], Paid: [{
|
|
214
|
+
type: Input
|
|
215
|
+
}], Balance: [{
|
|
216
|
+
type: Input
|
|
217
|
+
}], PaymentStatus: [{
|
|
218
|
+
type: Input
|
|
219
|
+
}], TotalLabel: [{
|
|
220
|
+
type: Input
|
|
221
|
+
}], ShowPaid: [{
|
|
222
|
+
type: Input
|
|
223
|
+
}], ShowStatus: [{
|
|
224
|
+
type: Input
|
|
225
|
+
}], Compact: [{
|
|
226
|
+
type: Input
|
|
227
|
+
}], Note: [{
|
|
228
|
+
type: Input
|
|
229
|
+
}], BalanceClicked: [{
|
|
230
|
+
type: Output
|
|
231
|
+
}] }); })();
|
|
232
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOMoneyStripComponent, { className: "MJOMoneyStripComponent", filePath: "lib/panels/money-strip.component.ts", lineNumber: 113 }); })();
|
|
233
|
+
//# sourceMappingURL=money-strip.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"money-strip.component.js","sourceRoot":"","sources":["../../../src/lib/panels/money-strip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;;;;IAkD1B,AADJ,8BAAK,cACe;IAAA,oBAAI;IAAA,oBAAO;IAC3B,kCAAgD;IAAA,YAAoC;;IACxF,AADwF,oBAAO,EACzF;;;IADc,eAA+B;IAA/B,+CAA+B;IAAC,cAAoC;IAApC,mFAAoC;;;IAsBhF,kCAAgD;IAAA,YAAU;IAAA,oBAAO;;;IAAjB,cAAU;IAAV,iCAAU;;;IAF9D,AADJ,iCAAoC,cACgB;IAAA,YAAiB;IAAA,oBAAO;IACxE,wGAAY;IAGhB,oBAAM;;;IAJoB,cAAyB;IAAzB,qCAAyB;IAAC,cAAiB;IAAjB,wCAAiB;IACjE,cAEC;IAFD,sCAEC;;AArErB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AA0EH,MAAM,OAAO,sBAAsB;IAC/B,yBAAyB;IAChB,KAAK,GAAkB,IAAI,CAAC;IAErC,iCAAiC;IACxB,IAAI,GAAkB,IAAI,CAAC;IAEpC,sEAAsE;IAC7D,OAAO,GAAkB,IAAI,CAAC;IAEvC,wCAAwC;IAC/B,aAAa,GAA4B,IAAI,CAAC;IAEvD,oFAAoF;IAC3E,UAAU,GAAG,OAAO,CAAC;IAE9B,uEAAuE;IAC9D,Q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