@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,68 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/** One row of the ladder. */
|
|
3
|
+
export interface MJOLadderRow {
|
|
4
|
+
Label: string;
|
|
5
|
+
Amount: number;
|
|
6
|
+
/** Indented sub-row — a promotion under Discounts, a layer under Tax. */
|
|
7
|
+
IsSub?: boolean;
|
|
8
|
+
/** Renders in the credit colour. Discounts and promotions use this. */
|
|
9
|
+
IsCredit?: boolean;
|
|
10
|
+
/** The final, heavier row. */
|
|
11
|
+
IsTotal?: boolean;
|
|
12
|
+
/** Muted right-hand annotation, e.g. "6.25% on $385.00". */
|
|
13
|
+
Detail?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* The rule that produced this number, revealed on demand.
|
|
16
|
+
*
|
|
17
|
+
* A bare number is never acceptable in this app: every derived figure carries
|
|
18
|
+
* its provenance, because the engine's whole value is the computation and
|
|
19
|
+
* hiding it makes the app feel arbitrary.
|
|
20
|
+
*/
|
|
21
|
+
Why?: string | null;
|
|
22
|
+
/** Rendered greyed with an em-dash amount — an offered-not-applied promotion. */
|
|
23
|
+
IsInactive?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* `mjo-decomposition-ladder` — how an order's total was arrived at.
|
|
27
|
+
*
|
|
28
|
+
* The centrepiece of order entry. It shows the engine's own decomposition in the
|
|
29
|
+
* engine's own order — list → promotions → net → charges → tax layers → gross —
|
|
30
|
+
* with every row expandable to the rule behind it.
|
|
31
|
+
*
|
|
32
|
+
* IT COMPUTES NOTHING. Rows are handed in from `Orders.PreviewOrder`. A ladder
|
|
33
|
+
* that did its own arithmetic would be a second implementation of the pricing
|
|
34
|
+
* rules living next to the engine, and the two would eventually disagree — as a
|
|
35
|
+
* balanced journal entry for the wrong amount, which nothing downstream catches.
|
|
36
|
+
*
|
|
37
|
+
* `Stale` is why this component exists rather than a plain list: a server round
|
|
38
|
+
* trip means there is a moment where the numbers on screen are no longer the
|
|
39
|
+
* numbers for the draft in hand, and showing stale money as though it were
|
|
40
|
+
* current is exactly the failure the design is against.
|
|
41
|
+
*
|
|
42
|
+
* ## Example
|
|
43
|
+
*
|
|
44
|
+
* ```html
|
|
45
|
+
* <mjo-decomposition-ladder
|
|
46
|
+
* [Rows]="ladderRows"
|
|
47
|
+
* [Stale]="draft.IsPreviewStale"
|
|
48
|
+
* [Footnote]="'Subtotal 1,600 − discounts 40 + charges 25 + tax 36.57 = 1,621.57'" />
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class MJODecompositionLadderComponent {
|
|
52
|
+
/** The rows, in engine order. */
|
|
53
|
+
Rows: MJOLadderRow[];
|
|
54
|
+
/**
|
|
55
|
+
* The draft has changed since these numbers were computed. Dims the ladder
|
|
56
|
+
* and marks it busy rather than showing figures that no longer apply.
|
|
57
|
+
*/
|
|
58
|
+
Stale: boolean;
|
|
59
|
+
/** The arithmetic restated in one line, under the total. */
|
|
60
|
+
Footnote: string | null;
|
|
61
|
+
/** Shown when there is nothing to decompose yet. */
|
|
62
|
+
EmptyText: string;
|
|
63
|
+
protected readonly expanded: Set<number>;
|
|
64
|
+
protected toggle(index: number): void;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJODecompositionLadderComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MJODecompositionLadderComponent, "mjo-decomposition-ladder", never, { "Rows": { "alias": "Rows"; "required": false; }; "Stale": { "alias": "Stale"; "required": false; }; "Footnote": { "alias": "Footnote"; "required": false; }; "EmptyText": { "alias": "EmptyText"; "required": false; }; }, {}, never, never, true, never>;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=decomposition-ladder.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decomposition-ladder.component.d.ts","sourceRoot":"","sources":["../../../src/lib/panels/decomposition-ladder.component.ts"],"names":[],"mappings":";AAIA,6BAA6B;AAC7B,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,yEAAyE;IACzE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iFAAiF;IACjF,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBA0Ea,+BAA+B;IACxC,iCAAiC;IACxB,IAAI,EAAE,YAAY,EAAE,CAAM;IAEnC;;;OAGG;IACM,KAAK,UAAS;IAEvB,4DAA4D;IACnD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAExC,oDAAoD;IAC3C,SAAS,SAAiD;IAEnE,SAAS,CAAC,QAAQ,CAAC,QAAQ,cAAqB;IAEhD,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;yCAlB5B,+BAA+B;2CAA/B,+BAA+B;CAsB3C"}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { Component, Input } 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
|
+
function MJODecompositionLadderComponent_For_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
7
|
+
i0.ɵɵdomElementStart(0, "span", 5);
|
|
8
|
+
i0.ɵɵtext(1);
|
|
9
|
+
i0.ɵɵdomElementEnd();
|
|
10
|
+
} if (rf & 2) {
|
|
11
|
+
const row_r1 = i0.ɵɵnextContext().$implicit;
|
|
12
|
+
i0.ɵɵadvance();
|
|
13
|
+
i0.ɵɵtextInterpolate(row_r1.Detail);
|
|
14
|
+
} }
|
|
15
|
+
function MJODecompositionLadderComponent_For_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵdomElementStart(0, "button", 9);
|
|
18
|
+
i0.ɵɵdomListener("click", function MJODecompositionLadderComponent_For_2_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const $index_r3 = i0.ɵɵnextContext().$index; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.toggle($index_r3)); });
|
|
19
|
+
i0.ɵɵdomElement(1, "i", 10);
|
|
20
|
+
i0.ɵɵdomElementEnd();
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
23
|
+
const row_r1 = ctx_r4.$implicit;
|
|
24
|
+
const $index_r3 = ctx_r4.$index;
|
|
25
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
26
|
+
i0.ɵɵattribute("aria-expanded", ctx_r3.expanded.has($index_r3))("aria-label", "Why is " + row_r1.Label + " this amount?");
|
|
27
|
+
} }
|
|
28
|
+
function MJODecompositionLadderComponent_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵtext(0, " \u2014 ");
|
|
30
|
+
} }
|
|
31
|
+
function MJODecompositionLadderComponent_For_2_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵtext(0);
|
|
33
|
+
i0.ɵɵpipe(1, "mjoMoney");
|
|
34
|
+
} if (rf & 2) {
|
|
35
|
+
const row_r1 = i0.ɵɵnextContext().$implicit;
|
|
36
|
+
i0.ɵɵtextInterpolate2(" ", row_r1.IsCredit ? "\u2212" : "", "", i0.ɵɵpipeBind2(1, 2, row_r1.Amount, i0.ɵɵpureFunction0(5, _c0)), " ");
|
|
37
|
+
} }
|
|
38
|
+
function MJODecompositionLadderComponent_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵdomElement(0, "div", 8);
|
|
40
|
+
} if (rf & 2) {
|
|
41
|
+
const row_r1 = i0.ɵɵnextContext().$implicit;
|
|
42
|
+
i0.ɵɵdomProperty("innerHTML", row_r1.Why, i0.ɵɵsanitizeHtml);
|
|
43
|
+
} }
|
|
44
|
+
function MJODecompositionLadderComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
i0.ɵɵdomElementStart(0, "div", 3)(1, "span", 4);
|
|
46
|
+
i0.ɵɵtext(2);
|
|
47
|
+
i0.ɵɵconditionalCreate(3, MJODecompositionLadderComponent_For_2_Conditional_3_Template, 2, 1, "span", 5);
|
|
48
|
+
i0.ɵɵconditionalCreate(4, MJODecompositionLadderComponent_For_2_Conditional_4_Template, 2, 2, "button", 6);
|
|
49
|
+
i0.ɵɵdomElementEnd();
|
|
50
|
+
i0.ɵɵdomElementStart(5, "span", 7);
|
|
51
|
+
i0.ɵɵconditionalCreate(6, MJODecompositionLadderComponent_For_2_Conditional_6_Template, 1, 0)(7, MJODecompositionLadderComponent_For_2_Conditional_7_Template, 2, 6);
|
|
52
|
+
i0.ɵɵdomElementEnd()();
|
|
53
|
+
i0.ɵɵconditionalCreate(8, MJODecompositionLadderComponent_For_2_Conditional_8_Template, 1, 1, "div", 8);
|
|
54
|
+
} if (rf & 2) {
|
|
55
|
+
const row_r1 = ctx.$implicit;
|
|
56
|
+
const $index_r3 = ctx.$index;
|
|
57
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
58
|
+
i0.ɵɵclassProp("is-sub", row_r1.IsSub)("is-discount", row_r1.IsCredit)("is-total", row_r1.IsTotal);
|
|
59
|
+
i0.ɵɵadvance(2);
|
|
60
|
+
i0.ɵɵtextInterpolate1(" ", row_r1.Label, " ");
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵconditional(row_r1.Detail ? 3 : -1);
|
|
63
|
+
i0.ɵɵadvance();
|
|
64
|
+
i0.ɵɵconditional(row_r1.Why ? 4 : -1);
|
|
65
|
+
i0.ɵɵadvance();
|
|
66
|
+
i0.ɵɵclassProp("muted", row_r1.IsInactive);
|
|
67
|
+
i0.ɵɵadvance();
|
|
68
|
+
i0.ɵɵconditional(row_r1.IsInactive ? 6 : 7);
|
|
69
|
+
i0.ɵɵadvance(2);
|
|
70
|
+
i0.ɵɵconditional(row_r1.Why && ctx_r3.expanded.has($index_r3) ? 8 : -1);
|
|
71
|
+
} }
|
|
72
|
+
function MJODecompositionLadderComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
i0.ɵɵdomElementStart(0, "div", 1);
|
|
74
|
+
i0.ɵɵdomElement(1, "i", 11);
|
|
75
|
+
i0.ɵɵdomElementStart(2, "span");
|
|
76
|
+
i0.ɵɵtext(3);
|
|
77
|
+
i0.ɵɵdomElementEnd()();
|
|
78
|
+
} if (rf & 2) {
|
|
79
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
80
|
+
i0.ɵɵadvance(3);
|
|
81
|
+
i0.ɵɵtextInterpolate(ctx_r3.Footnote);
|
|
82
|
+
} }
|
|
83
|
+
function MJODecompositionLadderComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
84
|
+
i0.ɵɵdomElementStart(0, "div", 2);
|
|
85
|
+
i0.ɵɵtext(1);
|
|
86
|
+
i0.ɵɵdomElementEnd();
|
|
87
|
+
} if (rf & 2) {
|
|
88
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
89
|
+
i0.ɵɵadvance();
|
|
90
|
+
i0.ɵɵtextInterpolate(ctx_r3.EmptyText);
|
|
91
|
+
} }
|
|
92
|
+
/**
|
|
93
|
+
* `mjo-decomposition-ladder` — how an order's total was arrived at.
|
|
94
|
+
*
|
|
95
|
+
* The centrepiece of order entry. It shows the engine's own decomposition in the
|
|
96
|
+
* engine's own order — list → promotions → net → charges → tax layers → gross —
|
|
97
|
+
* with every row expandable to the rule behind it.
|
|
98
|
+
*
|
|
99
|
+
* IT COMPUTES NOTHING. Rows are handed in from `Orders.PreviewOrder`. A ladder
|
|
100
|
+
* that did its own arithmetic would be a second implementation of the pricing
|
|
101
|
+
* rules living next to the engine, and the two would eventually disagree — as a
|
|
102
|
+
* balanced journal entry for the wrong amount, which nothing downstream catches.
|
|
103
|
+
*
|
|
104
|
+
* `Stale` is why this component exists rather than a plain list: a server round
|
|
105
|
+
* trip means there is a moment where the numbers on screen are no longer the
|
|
106
|
+
* numbers for the draft in hand, and showing stale money as though it were
|
|
107
|
+
* current is exactly the failure the design is against.
|
|
108
|
+
*
|
|
109
|
+
* ## Example
|
|
110
|
+
*
|
|
111
|
+
* ```html
|
|
112
|
+
* <mjo-decomposition-ladder
|
|
113
|
+
* [Rows]="ladderRows"
|
|
114
|
+
* [Stale]="draft.IsPreviewStale"
|
|
115
|
+
* [Footnote]="'Subtotal 1,600 − discounts 40 + charges 25 + tax 36.57 = 1,621.57'" />
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
export class MJODecompositionLadderComponent {
|
|
119
|
+
/** The rows, in engine order. */
|
|
120
|
+
Rows = [];
|
|
121
|
+
/**
|
|
122
|
+
* The draft has changed since these numbers were computed. Dims the ladder
|
|
123
|
+
* and marks it busy rather than showing figures that no longer apply.
|
|
124
|
+
*/
|
|
125
|
+
Stale = false;
|
|
126
|
+
/** The arithmetic restated in one line, under the total. */
|
|
127
|
+
Footnote = null;
|
|
128
|
+
/** Shown when there is nothing to decompose yet. */
|
|
129
|
+
EmptyText = 'Add a line to see what this order comes to.';
|
|
130
|
+
expanded = new Set();
|
|
131
|
+
toggle(index) {
|
|
132
|
+
if (this.expanded.has(index))
|
|
133
|
+
this.expanded.delete(index);
|
|
134
|
+
else
|
|
135
|
+
this.expanded.add(index);
|
|
136
|
+
}
|
|
137
|
+
static ɵfac = function MJODecompositionLadderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJODecompositionLadderComponent)(); };
|
|
138
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJODecompositionLadderComponent, selectors: [["mjo-decomposition-ladder"]], inputs: { Rows: "Rows", Stale: "Stale", Footnote: "Footnote", EmptyText: "EmptyText" }, decls: 5, vars: 5, consts: [[1, "mj-ladder"], [1, "mj-ladder-note"], [1, "small", "muted", "mjo-ladder__empty"], [1, "mj-ladder-row"], [1, "label"], [1, "muted"], ["type", "button", 1, "mj-why"], [1, "amt"], [1, "mj-why-body", 3, "innerHTML"], ["type", "button", 1, "mj-why", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-question"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-info"]], template: function MJODecompositionLadderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
139
|
+
i0.ɵɵdomElementStart(0, "div", 0);
|
|
140
|
+
i0.ɵɵrepeaterCreate(1, MJODecompositionLadderComponent_For_2_Template, 9, 13, null, null, i0.ɵɵrepeaterTrackByIndex);
|
|
141
|
+
i0.ɵɵconditionalCreate(3, MJODecompositionLadderComponent_Conditional_3_Template, 4, 1, "div", 1);
|
|
142
|
+
i0.ɵɵconditionalCreate(4, MJODecompositionLadderComponent_Conditional_4_Template, 2, 1, "div", 2);
|
|
143
|
+
i0.ɵɵdomElementEnd();
|
|
144
|
+
} if (rf & 2) {
|
|
145
|
+
i0.ɵɵclassProp("mjo-ladder--stale", ctx.Stale);
|
|
146
|
+
i0.ɵɵattribute("aria-busy", ctx.Stale);
|
|
147
|
+
i0.ɵɵadvance();
|
|
148
|
+
i0.ɵɵrepeater(ctx.Rows);
|
|
149
|
+
i0.ɵɵadvance(2);
|
|
150
|
+
i0.ɵɵconditional(ctx.Footnote ? 3 : -1);
|
|
151
|
+
i0.ɵɵadvance();
|
|
152
|
+
i0.ɵɵconditional(!ctx.Rows.length ? 4 : -1);
|
|
153
|
+
} }, dependencies: [CommonModule, MJOMoneyPipe], styles: ["\n\n\n\n .mjo-ladder--stale[_ngcontent-%COMP%] {\n opacity: 0.55;\n transition: opacity 0.12s ease;\n }\n .mjo-ladder__empty[_ngcontent-%COMP%] {\n padding: var(--mj-space-4) 0;\n }\n @media (max-width: 720px) {\n [_nghost-%COMP%] .mj-ladder-row .muted {\n display: block;\n }\n }"] });
|
|
154
|
+
}
|
|
155
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJODecompositionLadderComponent, [{
|
|
156
|
+
type: Component,
|
|
157
|
+
args: [{ selector: 'mjo-decomposition-ladder', standalone: true, imports: [CommonModule, MJOMoneyPipe], template: `
|
|
158
|
+
<div class="mj-ladder" [class.mjo-ladder--stale]="Stale" [attr.aria-busy]="Stale">
|
|
159
|
+
@for (row of Rows; track $index) {
|
|
160
|
+
<div
|
|
161
|
+
class="mj-ladder-row"
|
|
162
|
+
[class.is-sub]="row.IsSub"
|
|
163
|
+
[class.is-discount]="row.IsCredit"
|
|
164
|
+
[class.is-total]="row.IsTotal">
|
|
165
|
+
<span class="label">
|
|
166
|
+
{{ row.Label }}
|
|
167
|
+
@if (row.Detail) {
|
|
168
|
+
<span class="muted">{{ row.Detail }}</span>
|
|
169
|
+
}
|
|
170
|
+
@if (row.Why) {
|
|
171
|
+
<button
|
|
172
|
+
type="button"
|
|
173
|
+
class="mj-why"
|
|
174
|
+
[attr.aria-expanded]="expanded.has($index)"
|
|
175
|
+
[attr.aria-label]="'Why is ' + row.Label + ' this amount?'"
|
|
176
|
+
(click)="toggle($index)">
|
|
177
|
+
<i class="fa-solid fa-circle-question" aria-hidden="true"></i>
|
|
178
|
+
</button>
|
|
179
|
+
}
|
|
180
|
+
</span>
|
|
181
|
+
<span class="amt" [class.muted]="row.IsInactive">
|
|
182
|
+
@if (row.IsInactive) {
|
|
183
|
+
—
|
|
184
|
+
} @else {
|
|
185
|
+
{{ row.IsCredit ? '−' : '' }}{{ row.Amount | mjoMoney: { Sign: 'absolute' } }}
|
|
186
|
+
}
|
|
187
|
+
</span>
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
@if (row.Why && expanded.has($index)) {
|
|
191
|
+
<div class="mj-why-body" [innerHTML]="row.Why"></div>
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@if (Footnote) {
|
|
196
|
+
<div class="mj-ladder-note">
|
|
197
|
+
<i class="fa-solid fa-circle-info" aria-hidden="true"></i>
|
|
198
|
+
<span>{{ Footnote }}</span>
|
|
199
|
+
</div>
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@if (!Rows.length) {
|
|
203
|
+
<div class="small muted mjo-ladder__empty">{{ EmptyText }}</div>
|
|
204
|
+
}
|
|
205
|
+
</div>
|
|
206
|
+
`, styles: ["\n /* Recomputing: dim without collapsing, so the layout does not jump and\n the previous figures stay legible as context. Announcing aria-busy\n is what tells a screen reader the numbers are in flight. */\n .mjo-ladder--stale {\n opacity: 0.55;\n transition: opacity 0.12s ease;\n }\n .mjo-ladder__empty {\n padding: var(--mj-space-4) 0;\n }\n @media (max-width: 720px) {\n :host ::ng-deep .mj-ladder-row .muted {\n display: block;\n }\n }\n "] }]
|
|
207
|
+
}], null, { Rows: [{
|
|
208
|
+
type: Input
|
|
209
|
+
}], Stale: [{
|
|
210
|
+
type: Input
|
|
211
|
+
}], Footnote: [{
|
|
212
|
+
type: Input
|
|
213
|
+
}], EmptyText: [{
|
|
214
|
+
type: Input
|
|
215
|
+
}] }); })();
|
|
216
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJODecompositionLadderComponent, { className: "MJODecompositionLadderComponent", filePath: "lib/panels/decomposition-ladder.component.ts", lineNumber: 129 }); })();
|
|
217
|
+
//# sourceMappingURL=decomposition-ladder.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decomposition-ladder.component.js","sourceRoot":"","sources":["../../../src/lib/panels/decomposition-ladder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;;;IAmElB,kCAAoB;IAAA,YAAgB;IAAA,oBAAO;;;IAAvB,cAAgB;IAAhB,mCAAgB;;;;IAGpC,oCAK6B;IAAzB,yPAAS,wBAAc,KAAC;IACxB,2BAA8D;IAClE,oBAAS;;;;;;;;;IAKT,wBACJ;;;IACI,YACJ;;;;IADI,qIACJ;;;IAKJ,4BAAqD;;;IAA5B,4DAAqB;;;IA1B9C,AALJ,iCAImC,cACX;IAChB,YACA;IAAA,wGAAkB;IAGlB,0GAAe;IAUnB,oBAAO;IACP,kCAAiD;IAG3C,AAFF,6FAAsB,uEAEb;IAIjB,AADI,oBAAO,EACL;IAEN,uGAAuC;;;;;IA1BnC,AADA,AADA,sCAA0B,gCACQ,4BACJ;IAE1B,eACA;IADA,6CACA;IAAA,cAEC;IAFD,wCAEC;IACD,cASC;IATD,qCASC;IAEa,cAA8B;IAA9B,0CAA8B;IAC5C,cAIC;IAJD,2CAIC;IAIT,eAEC;IAFD,uEAEC;;;IAID,iCAA4B;IACxB,2BAA0D;IAC1D,+BAAM;IAAA,YAAc;IACxB,AADwB,oBAAO,EACzB;;;IADI,eAAc;IAAd,qCAAc;;;IAKxB,iCAA2C;IAAA,YAAe;IAAA,oBAAM;;;IAArB,cAAe;IAAf,sCAAe;;AA5E1E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AA2EH,MAAM,OAAO,+BAA+B;IACxC,iCAAiC;IACxB,IAAI,GAAmB,EAAE,CAAC;IAEnC;;;OAGG;IACM,KAAK,GAAG,KAAK,CAAC;IAEvB,4DAA4D;IACnD,QAAQ,GAAkB,IAAI,CAAC;IAExC,oDAAoD;IAC3C,SAAS,GAAG,6CAA6C,CAAC;IAEhD,QAAQ,GAAG,IAAI,GAAG,EAAU,CAAC;IAEtC,MAAM,CAAC,KAAa;QAC1B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC;YAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;YACrD,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;yHArBQ,+BAA+B;6DAA/B,+BAA+B;YArEpC,iCAAkF;YAC9E,oHAkCC;YAED,iGAAgB;YAOhB,iGAAoB;YAGxB,oBAAM;;YA/CiB,8CAAiC;;YACpD,cAkCC;YAlCD,uBAkCC;YAED,eAKC;YALD,uCAKC;YAED,cAEC;YAFD,2CAEC;4BAhDC,YAAY,EAAE,YAAY;;iFAuE3B,+BAA+B;cA1E3C,SAAS;2BACI,0BAA0B,cACxB,IAAI,WACP,CAAC,YAAY,EAAE,YAAY,CAAC,YAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiDT;;kBAuBA,KAAK;;kBAML,KAAK;;kBAGL,KAAK;;kBAGL,KAAK;;kFAdG,+BAA+B"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview The Orders panel library — the shared vocabulary every screen is
|
|
3
|
+
* assembled from.
|
|
4
|
+
*
|
|
5
|
+
* Two rules hold across all of it:
|
|
6
|
+
*
|
|
7
|
+
* 1. **Nothing here computes money.** Every derived figure arrives from an
|
|
8
|
+
* `Orders.*` operation. A component that did its own arithmetic would be a
|
|
9
|
+
* second implementation of the engine's rules, and the two would eventually
|
|
10
|
+
* disagree — as a *balanced* journal entry for the wrong amount, which nothing
|
|
11
|
+
* downstream can catch.
|
|
12
|
+
* 2. **Colours and metrics come from `orders-kit.css`**, the canonical stylesheet
|
|
13
|
+
* the approved mockups also read. That is what makes the shipped UI and the
|
|
14
|
+
* mockups the same design rather than two designs kept in sync by discipline.
|
|
15
|
+
* A host app must load that stylesheet once, globally.
|
|
16
|
+
*
|
|
17
|
+
* Pure logic — formatting, lifecycle rules — lives in plain `.ts` files with no
|
|
18
|
+
* Angular runtime import, so it is unit-testable without a rendering environment.
|
|
19
|
+
*
|
|
20
|
+
* @module @mj-biz-apps/orders-ng
|
|
21
|
+
*/
|
|
22
|
+
export * from './money-format.js';
|
|
23
|
+
export * from './order-stages.js';
|
|
24
|
+
export * from './money-strip.component.js';
|
|
25
|
+
export * from './decomposition-ladder.component.js';
|
|
26
|
+
export * from './status-stepper.component.js';
|
|
27
|
+
export * from './chips.component.js';
|
|
28
|
+
export * from './aging-bar.component.js';
|
|
29
|
+
export * from './journal-entry-preview.component.js';
|
|
30
|
+
import { MJOMoneyStripComponent } from './money-strip.component.js';
|
|
31
|
+
import { MJODecompositionLadderComponent } from './decomposition-ladder.component.js';
|
|
32
|
+
import { MJOStatusStepperComponent } from './status-stepper.component.js';
|
|
33
|
+
import { MJOAgingBarComponent } from './aging-bar.component.js';
|
|
34
|
+
import { MJOJournalEntryPreviewComponent } from './journal-entry-preview.component.js';
|
|
35
|
+
/**
|
|
36
|
+
* Every panel and pipe, for a screen's `imports` array.
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* @Component({ standalone: true, imports: [CommonModule, ...MJO_PANELS] })
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* Convenient rather than compulsory — importing only what a screen uses keeps its
|
|
43
|
+
* dependency list honest, which matters more on the small screens than the large.
|
|
44
|
+
*/
|
|
45
|
+
export declare const MJO_PANELS: readonly [typeof MJOMoneyStripComponent, typeof MJODecompositionLadderComponent, typeof MJOStatusStepperComponent, typeof MJOAgingBarComponent, typeof MJOJournalEntryPreviewComponent, typeof import("./chips.component.js").MJOConsequenceChipComponent, typeof import("./chips.component.js").MJOPriceSourceBadgeComponent, typeof import("./chips.component.js").MJOStatedValueComponent, typeof import("./money-format.js").MJOMoneyPipe, typeof import("./money-format.js").MJOQuantityPipe, typeof import("./money-format.js").MJORatePipe, typeof import("./money-format.js").MJODatePipe];
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/panels/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAElD,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAIpF;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,+iBAQb,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview The Orders panel library — the shared vocabulary every screen is
|
|
3
|
+
* assembled from.
|
|
4
|
+
*
|
|
5
|
+
* Two rules hold across all of it:
|
|
6
|
+
*
|
|
7
|
+
* 1. **Nothing here computes money.** Every derived figure arrives from an
|
|
8
|
+
* `Orders.*` operation. A component that did its own arithmetic would be a
|
|
9
|
+
* second implementation of the engine's rules, and the two would eventually
|
|
10
|
+
* disagree — as a *balanced* journal entry for the wrong amount, which nothing
|
|
11
|
+
* downstream can catch.
|
|
12
|
+
* 2. **Colours and metrics come from `orders-kit.css`**, the canonical stylesheet
|
|
13
|
+
* the approved mockups also read. That is what makes the shipped UI and the
|
|
14
|
+
* mockups the same design rather than two designs kept in sync by discipline.
|
|
15
|
+
* A host app must load that stylesheet once, globally.
|
|
16
|
+
*
|
|
17
|
+
* Pure logic — formatting, lifecycle rules — lives in plain `.ts` files with no
|
|
18
|
+
* Angular runtime import, so it is unit-testable without a rendering environment.
|
|
19
|
+
*
|
|
20
|
+
* @module @mj-biz-apps/orders-ng
|
|
21
|
+
*/
|
|
22
|
+
/* Pure — no Angular runtime. */
|
|
23
|
+
export * from './money-format.js';
|
|
24
|
+
export * from './order-stages.js';
|
|
25
|
+
/* Components. */
|
|
26
|
+
export * from './money-strip.component.js';
|
|
27
|
+
export * from './decomposition-ladder.component.js';
|
|
28
|
+
export * from './status-stepper.component.js';
|
|
29
|
+
export * from './chips.component.js';
|
|
30
|
+
export * from './aging-bar.component.js';
|
|
31
|
+
export * from './journal-entry-preview.component.js';
|
|
32
|
+
import { MJOMoneyStripComponent } from './money-strip.component.js';
|
|
33
|
+
import { MJODecompositionLadderComponent } from './decomposition-ladder.component.js';
|
|
34
|
+
import { MJOStatusStepperComponent } from './status-stepper.component.js';
|
|
35
|
+
import { MJOAgingBarComponent } from './aging-bar.component.js';
|
|
36
|
+
import { MJOJournalEntryPreviewComponent } from './journal-entry-preview.component.js';
|
|
37
|
+
import { MJO_CHIP_COMPONENTS } from './chips.component.js';
|
|
38
|
+
import { MJO_FORMAT_PIPES } from './money-format.js';
|
|
39
|
+
/**
|
|
40
|
+
* Every panel and pipe, for a screen's `imports` array.
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* @Component({ standalone: true, imports: [CommonModule, ...MJO_PANELS] })
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* Convenient rather than compulsory — importing only what a screen uses keeps its
|
|
47
|
+
* dependency list honest, which matters more on the small screens than the large.
|
|
48
|
+
*/
|
|
49
|
+
export const MJO_PANELS = [
|
|
50
|
+
MJOMoneyStripComponent,
|
|
51
|
+
MJODecompositionLadderComponent,
|
|
52
|
+
MJOStatusStepperComponent,
|
|
53
|
+
MJOAgingBarComponent,
|
|
54
|
+
MJOJournalEntryPreviewComponent,
|
|
55
|
+
...MJO_CHIP_COMPONENTS,
|
|
56
|
+
...MJO_FORMAT_PIPES,
|
|
57
|
+
];
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/panels/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,gCAAgC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAE/B,iBAAiB;AACjB,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAElD,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,sBAAsB;IACtB,+BAA+B;IAC/B,yBAAyB;IACzB,oBAAoB;IACpB,+BAA+B;IAC/B,GAAG,mBAAmB;IACtB,GAAG,gBAAgB;CACb,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** One side of one entry line. */
|
|
4
|
+
export interface MJOJournalLine {
|
|
5
|
+
Side: 'Dr' | 'Cr';
|
|
6
|
+
/** The role that resolved — 'AR', 'Sales', 'Deferred Revenue'. */
|
|
7
|
+
AccountRole: string;
|
|
8
|
+
/** The account it resolved to, as accounting names it. */
|
|
9
|
+
AccountName: string;
|
|
10
|
+
Amount: number;
|
|
11
|
+
}
|
|
12
|
+
/** One journal entry — always exactly one order line's worth. */
|
|
13
|
+
export interface MJOJournalEntry {
|
|
14
|
+
CompanyID: string;
|
|
15
|
+
CompanyName: string;
|
|
16
|
+
/** Which order line caused it. One entry per line, always. */
|
|
17
|
+
LineNumber?: number | null;
|
|
18
|
+
/** What the line is, for the header. */
|
|
19
|
+
LineDescription?: string | null;
|
|
20
|
+
/** Set once the entry exists; null while previewing. */
|
|
21
|
+
JournalEntryID?: string | null;
|
|
22
|
+
EntryType?: string;
|
|
23
|
+
Lines: MJOJournalLine[];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* `mjo-journal-entry-preview` — the entries an order will (or did) produce.
|
|
27
|
+
*
|
|
28
|
+
* READ-ONLY, ALWAYS. Orders creates Pending entries and owns nothing in the
|
|
29
|
+
* ledger, so every account and entry here links out to Accounting rather than
|
|
30
|
+
* being editable in place. Duplicating ledger editing into this app would create
|
|
31
|
+
* a second place for the same number to be wrong.
|
|
32
|
+
*
|
|
33
|
+
* The balance check is computed here rather than trusted from the server, because
|
|
34
|
+
* an unbalanced entry displayed as balanced is the single most misleading thing
|
|
35
|
+
* this component could do. Balanced is the normal case; the component's job is to
|
|
36
|
+
* be loud when it is not.
|
|
37
|
+
*
|
|
38
|
+
* ONE ENTRY PER ORDER LINE, always — even for two lines of the same company. The
|
|
39
|
+
* order's "journal entry" is a display grouping over the line entries, not a
|
|
40
|
+
* record. That is why entries are keyed by line rather than merged by company.
|
|
41
|
+
*
|
|
42
|
+
* ## Example
|
|
43
|
+
*
|
|
44
|
+
* ```html
|
|
45
|
+
* <mjo-journal-entry-preview
|
|
46
|
+
* [Entries]="preview.JournalEntries"
|
|
47
|
+
* [Pending]="true"
|
|
48
|
+
* (OpenInAccounting)="openLedger($event)" />
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class MJOJournalEntryPreviewComponent {
|
|
52
|
+
/** The entries, one per order line. */
|
|
53
|
+
Entries: MJOJournalEntry[];
|
|
54
|
+
/** Add the "will land Pending" chip — true while previewing a confirm. */
|
|
55
|
+
Pending: boolean;
|
|
56
|
+
/** Shown when there is nothing to project. */
|
|
57
|
+
EmptyText: string;
|
|
58
|
+
/** A user asked to open an entry in Accounting. The host decides how. */
|
|
59
|
+
OpenInAccounting: EventEmitter<MJOJournalEntry>;
|
|
60
|
+
protected get companyCount(): number;
|
|
61
|
+
protected get allBalanced(): boolean;
|
|
62
|
+
protected debits(entry: MJOJournalEntry): number;
|
|
63
|
+
protected credits(entry: MJOJournalEntry): number;
|
|
64
|
+
protected isBalanced(entry: MJOJournalEntry): boolean;
|
|
65
|
+
protected variance(entry: MJOJournalEntry): string;
|
|
66
|
+
protected open(event: Event, entry: MJOJournalEntry): void;
|
|
67
|
+
private sum;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJOJournalEntryPreviewComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MJOJournalEntryPreviewComponent, "mjo-journal-entry-preview", never, { "Entries": { "alias": "Entries"; "required": false; }; "Pending": { "alias": "Pending"; "required": false; }; "EmptyText": { "alias": "EmptyText"; "required": false; }; }, { "OpenInAccounting": "OpenInAccounting"; }, never, never, true, never>;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=journal-entry-preview.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journal-entry-preview.component.d.ts","sourceRoot":"","sources":["../../../src/lib/panels/journal-entry-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;;AAIvE,kCAAkC;AAClC,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAC;IACpB,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,iEAAiE;AACjE,MAAM,WAAW,eAAe;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,wCAAwC;IACxC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,cAAc,EAAE,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAsGa,+BAA+B;IACxC,uCAAuC;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAM;IAEzC,0EAA0E;IACjE,OAAO,UAAS;IAEzB,8CAA8C;IACrC,SAAS,SAAqD;IAEvE,yEAAyE;IAC/D,gBAAgB,gCAAuC;IAEjE,SAAS,KAAK,YAAY,IAAI,MAAM,CAEnC;IAED,SAAS,KAAK,WAAW,IAAI,OAAO,CAEnC;IAED,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM;IAIhD,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM;IAIjD,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO;IAOrD,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM;IAIlD,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,GAAG,IAAI;IAK1D,OAAO,CAAC,GAAG;yCA7CF,+BAA+B;2CAA/B,+BAA+B;CAgD3C"}
|