@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,819 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Component, EventEmitter, Output, inject } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MJODayBarsComponent } from '../../panels/day-bars.component.js';
|
|
4
|
+
import { MJOStatTileComponent, MJOBarListComponent } from '../../panels/stat-tile.component.js';
|
|
5
|
+
import { DaysSince, FormatMoney } from '../../panels/money-format.js';
|
|
6
|
+
import { MJAlertComponent, MJEmptyStateComponent, MJTabNavComponent } from '@memberjunction/ng-ui-components';
|
|
7
|
+
import { EntityViewerModule } from '@memberjunction/ng-entity-viewer';
|
|
8
|
+
import { Metadata } from '@memberjunction/core';
|
|
9
|
+
import { GetOrders } from '../../data/orders-queries.js';
|
|
10
|
+
import { LocalDay, ToISODate } from '@mj-biz-apps/orders-entities';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@memberjunction/ng-entity-viewer";
|
|
13
|
+
const _forTrack0 = ($index, $item) => $item.Label;
|
|
14
|
+
const _forTrack1 = ($index, $item) => $item.Order.ID;
|
|
15
|
+
function MJOOrdersDashboardPageComponent_Conditional_3_For_13_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
i0.ɵɵelementStart(0, "span", 40);
|
|
17
|
+
i0.ɵɵtext(1);
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
} if (rf & 2) {
|
|
20
|
+
const queue_r4 = i0.ɵɵnextContext().$implicit;
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵtextInterpolate(queue_r4.Note);
|
|
23
|
+
} }
|
|
24
|
+
function MJOOrdersDashboardPageComponent_Conditional_3_For_13_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
26
|
+
i0.ɵɵelementStart(0, "a", 35);
|
|
27
|
+
i0.ɵɵlistener("click", function MJOOrdersDashboardPageComponent_Conditional_3_For_13_Template_a_click_0_listener($event) { const queue_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.goQueue($event, queue_r4)); });
|
|
28
|
+
i0.ɵɵelementStart(1, "span", 36);
|
|
29
|
+
i0.ɵɵelement(2, "i", 37);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
i0.ɵɵelementStart(3, "span", 38)(4, "span", 39);
|
|
32
|
+
i0.ɵɵtext(5);
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵconditionalCreate(6, MJOOrdersDashboardPageComponent_Conditional_3_For_13_Conditional_6_Template, 2, 1, "span", 40);
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(7, "b", 41);
|
|
37
|
+
i0.ɵɵtext(8);
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelement(9, "i", 42);
|
|
40
|
+
i0.ɵɵelementEnd();
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
const queue_r4 = ctx.$implicit;
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵclassMap("mjo-tone-" + queue_r4.Tone);
|
|
45
|
+
i0.ɵɵadvance();
|
|
46
|
+
i0.ɵɵclassMap(queue_r4.Icon);
|
|
47
|
+
i0.ɵɵadvance(3);
|
|
48
|
+
i0.ɵɵtextInterpolate(queue_r4.Label);
|
|
49
|
+
i0.ɵɵadvance();
|
|
50
|
+
i0.ɵɵconditional(queue_r4.Note ? 6 : -1);
|
|
51
|
+
i0.ɵɵadvance(2);
|
|
52
|
+
i0.ɵɵtextInterpolate(queue_r4.Count);
|
|
53
|
+
} }
|
|
54
|
+
function MJOOrdersDashboardPageComponent_Conditional_3_ForEmpty_14_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementStart(0, "div", 17);
|
|
56
|
+
i0.ɵɵtext(1, "Nothing is waiting. Unusual, and worth enjoying.");
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
} }
|
|
59
|
+
function MJOOrdersDashboardPageComponent_Conditional_3_Conditional_41_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
61
|
+
i0.ɵɵelementStart(0, "mj-entity-viewer", 43);
|
|
62
|
+
i0.ɵɵlistener("RecordOpened", function MJOOrdersDashboardPageComponent_Conditional_3_Conditional_41_Template_mj_entity_viewer_RecordOpened_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRecordOpened($event)); });
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
} if (rf & 2) {
|
|
65
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
66
|
+
i0.ɵɵproperty("Entity", ctx_r1.OrderEntityInfo);
|
|
67
|
+
} }
|
|
68
|
+
function MJOOrdersDashboardPageComponent_Conditional_3_Conditional_42_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
70
|
+
i0.ɵɵtext(1, "Loading order metadata...");
|
|
71
|
+
i0.ɵɵelementEnd();
|
|
72
|
+
} }
|
|
73
|
+
function MJOOrdersDashboardPageComponent_Conditional_3_For_50_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
75
|
+
i0.ɵɵelementStart(0, "mj-alert", 33)(1, "strong");
|
|
76
|
+
i0.ɵɵtext(2);
|
|
77
|
+
i0.ɵɵelementEnd();
|
|
78
|
+
i0.ɵɵtext(3);
|
|
79
|
+
i0.ɵɵelementStart(4, "a", 28);
|
|
80
|
+
i0.ɵɵlistener("click", function MJOOrdersDashboardPageComponent_Conditional_3_For_50_Template_a_click_4_listener($event) { const item_r7 = i0.ɵɵrestoreView(_r6).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.openFrom($event, item_r7.Order)); });
|
|
81
|
+
i0.ɵɵtext(5, "Work it \u2192");
|
|
82
|
+
i0.ɵɵelementEnd()();
|
|
83
|
+
} if (rf & 2) {
|
|
84
|
+
const item_r7 = ctx.$implicit;
|
|
85
|
+
i0.ɵɵproperty("Variant", item_r7.Tone)("Icon", item_r7.Icon);
|
|
86
|
+
i0.ɵɵadvance(2);
|
|
87
|
+
i0.ɵɵtextInterpolate(item_r7.Headline);
|
|
88
|
+
i0.ɵɵadvance();
|
|
89
|
+
i0.ɵɵtextInterpolate1(" ", item_r7.Detail, " ");
|
|
90
|
+
} }
|
|
91
|
+
function MJOOrdersDashboardPageComponent_Conditional_3_ForEmpty_51_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
i0.ɵɵelement(0, "mj-empty-state", 34);
|
|
93
|
+
} }
|
|
94
|
+
function MJOOrdersDashboardPageComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
95
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
96
|
+
i0.ɵɵelementStart(0, "div", 6)(1, "mjo-stat-tile", 7);
|
|
97
|
+
i0.ɵɵlistener("Clicked", function MJOOrdersDashboardPageComponent_Conditional_3_Template_mjo_stat_tile_Clicked_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OpenExplorerPreset("all")); });
|
|
98
|
+
i0.ɵɵelementEnd();
|
|
99
|
+
i0.ɵɵelementStart(2, "mjo-stat-tile", 8);
|
|
100
|
+
i0.ɵɵlistener("Clicked", function MJOOrdersDashboardPageComponent_Conditional_3_Template_mjo_stat_tile_Clicked_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OpenExplorerPreset("unpaid")); });
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(3, "mjo-stat-tile", 9);
|
|
103
|
+
i0.ɵɵlistener("Clicked", function MJOOrdersDashboardPageComponent_Conditional_3_Template_mjo_stat_tile_Clicked_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OpenExplorerPreset("overdue")); });
|
|
104
|
+
i0.ɵɵelementEnd();
|
|
105
|
+
i0.ɵɵelementStart(4, "mjo-stat-tile", 10);
|
|
106
|
+
i0.ɵɵlistener("Clicked", function MJOOrdersDashboardPageComponent_Conditional_3_Template_mjo_stat_tile_Clicked_4_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OpenExplorerPreset("credits")); });
|
|
107
|
+
i0.ɵɵelementEnd()();
|
|
108
|
+
i0.ɵɵelementStart(5, "div", 11)(6, "div", 12)(7, "div", 13);
|
|
109
|
+
i0.ɵɵelement(8, "i", 14);
|
|
110
|
+
i0.ɵɵelementStart(9, "h3");
|
|
111
|
+
i0.ɵɵtext(10, "Needs someone");
|
|
112
|
+
i0.ɵɵelementEnd()();
|
|
113
|
+
i0.ɵɵelementStart(11, "div", 15);
|
|
114
|
+
i0.ɵɵrepeaterCreate(12, MJOOrdersDashboardPageComponent_Conditional_3_For_13_Template, 10, 7, "a", 16, _forTrack0, false, MJOOrdersDashboardPageComponent_Conditional_3_ForEmpty_14_Template, 2, 0, "div", 17);
|
|
115
|
+
i0.ɵɵelementEnd()();
|
|
116
|
+
i0.ɵɵelementStart(15, "div", 12)(16, "div", 13);
|
|
117
|
+
i0.ɵɵelement(17, "i", 18);
|
|
118
|
+
i0.ɵɵelementStart(18, "h3");
|
|
119
|
+
i0.ɵɵtext(19, "Orders per day");
|
|
120
|
+
i0.ɵɵelementEnd();
|
|
121
|
+
i0.ɵɵelementStart(20, "span", 19);
|
|
122
|
+
i0.ɵɵtext(21, "last 7 days");
|
|
123
|
+
i0.ɵɵelementEnd()();
|
|
124
|
+
i0.ɵɵelementStart(22, "div", 20);
|
|
125
|
+
i0.ɵɵelement(23, "mjo-day-bars", 21);
|
|
126
|
+
i0.ɵɵelementEnd()();
|
|
127
|
+
i0.ɵɵelementStart(24, "div", 12)(25, "div", 13);
|
|
128
|
+
i0.ɵɵelement(26, "i", 22);
|
|
129
|
+
i0.ɵɵelementStart(27, "h3");
|
|
130
|
+
i0.ɵɵtext(28, "Where orders are sitting");
|
|
131
|
+
i0.ɵɵelementEnd()();
|
|
132
|
+
i0.ɵɵelementStart(29, "div", 20);
|
|
133
|
+
i0.ɵɵelement(30, "mjo-bar-list", 23);
|
|
134
|
+
i0.ɵɵelementEnd()()();
|
|
135
|
+
i0.ɵɵelementStart(31, "div", 24)(32, "div", 25)(33, "div", 13);
|
|
136
|
+
i0.ɵɵelement(34, "i", 26);
|
|
137
|
+
i0.ɵɵelementStart(35, "h3");
|
|
138
|
+
i0.ɵɵtext(36, "Active Orders");
|
|
139
|
+
i0.ɵɵelementEnd();
|
|
140
|
+
i0.ɵɵelementStart(37, "span", 27)(38, "a", 28);
|
|
141
|
+
i0.ɵɵlistener("click", function MJOOrdersDashboardPageComponent_Conditional_3_Template_a_click_38_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnTabChange("explorer")); });
|
|
142
|
+
i0.ɵɵtext(39, "Full-screen Explorer \u2192");
|
|
143
|
+
i0.ɵɵelementEnd()()();
|
|
144
|
+
i0.ɵɵelementStart(40, "div", 29);
|
|
145
|
+
i0.ɵɵconditionalCreate(41, MJOOrdersDashboardPageComponent_Conditional_3_Conditional_41_Template, 1, 1, "mj-entity-viewer", 30)(42, MJOOrdersDashboardPageComponent_Conditional_3_Conditional_42_Template, 2, 0, "div", 31);
|
|
146
|
+
i0.ɵɵelementEnd()();
|
|
147
|
+
i0.ɵɵelementStart(43, "div", 12)(44, "div", 13);
|
|
148
|
+
i0.ɵɵelement(45, "i", 32);
|
|
149
|
+
i0.ɵɵelementStart(46, "h3");
|
|
150
|
+
i0.ɵɵtext(47, "Worth a look");
|
|
151
|
+
i0.ɵɵelementEnd()();
|
|
152
|
+
i0.ɵɵelementStart(48, "div", 20);
|
|
153
|
+
i0.ɵɵrepeaterCreate(49, MJOOrdersDashboardPageComponent_Conditional_3_For_50_Template, 6, 4, "mj-alert", 33, _forTrack1, false, MJOOrdersDashboardPageComponent_Conditional_3_ForEmpty_51_Template, 1, 0, "mj-empty-state", 34);
|
|
154
|
+
i0.ɵɵelementEnd()()();
|
|
155
|
+
} if (rf & 2) {
|
|
156
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
157
|
+
i0.ɵɵadvance();
|
|
158
|
+
i0.ɵɵproperty("Value", ctx_r1.OpenCountDisplay)("Detail", ctx_r1.OpenValueDisplay);
|
|
159
|
+
i0.ɵɵadvance();
|
|
160
|
+
i0.ɵɵproperty("Value", ctx_r1.OpenBalanceDisplay);
|
|
161
|
+
i0.ɵɵadvance();
|
|
162
|
+
i0.ɵɵproperty("Value", ctx_r1.OverdueValueDisplay)("Detail", ctx_r1.OverdueDetail);
|
|
163
|
+
i0.ɵɵadvance();
|
|
164
|
+
i0.ɵɵproperty("Value", ctx_r1.CreditsDisplay);
|
|
165
|
+
i0.ɵɵadvance(8);
|
|
166
|
+
i0.ɵɵrepeater(ctx_r1.Queues);
|
|
167
|
+
i0.ɵɵadvance(11);
|
|
168
|
+
i0.ɵɵproperty("Bars", ctx_r1.OrdersPerDay);
|
|
169
|
+
i0.ɵɵadvance(7);
|
|
170
|
+
i0.ɵɵproperty("Rows", ctx_r1.StatusMix);
|
|
171
|
+
i0.ɵɵadvance(11);
|
|
172
|
+
i0.ɵɵconditional(ctx_r1.OrderEntityInfo ? 41 : 42);
|
|
173
|
+
i0.ɵɵadvance(8);
|
|
174
|
+
i0.ɵɵrepeater(ctx_r1.WorthALook);
|
|
175
|
+
} }
|
|
176
|
+
function MJOOrdersDashboardPageComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
177
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
178
|
+
i0.ɵɵelementStart(0, "mj-entity-viewer", 45);
|
|
179
|
+
i0.ɵɵlistener("RecordOpened", function MJOOrdersDashboardPageComponent_Conditional_4_Conditional_1_Template_mj_entity_viewer_RecordOpened_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRecordOpened($event)); });
|
|
180
|
+
i0.ɵɵelementEnd();
|
|
181
|
+
} if (rf & 2) {
|
|
182
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
183
|
+
i0.ɵɵproperty("Entity", ctx_r1.OrderEntityInfo)("ViewEntity", ctx_r1.ExplorerView);
|
|
184
|
+
} }
|
|
185
|
+
function MJOOrdersDashboardPageComponent_Conditional_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
186
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
187
|
+
i0.ɵɵtext(1, "Loading order metadata...");
|
|
188
|
+
i0.ɵɵelementEnd();
|
|
189
|
+
} }
|
|
190
|
+
function MJOOrdersDashboardPageComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
191
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
192
|
+
i0.ɵɵconditionalCreate(1, MJOOrdersDashboardPageComponent_Conditional_4_Conditional_1_Template, 1, 2, "mj-entity-viewer", 44)(2, MJOOrdersDashboardPageComponent_Conditional_4_Conditional_2_Template, 2, 0, "div", 31);
|
|
193
|
+
i0.ɵɵelementEnd();
|
|
194
|
+
} if (rf & 2) {
|
|
195
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
196
|
+
i0.ɵɵadvance();
|
|
197
|
+
i0.ɵɵconditional(ctx_r1.OrderEntityInfo ? 1 : 2);
|
|
198
|
+
} }
|
|
199
|
+
function MJOOrdersDashboardPageComponent_Conditional_5_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
200
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
201
|
+
i0.ɵɵelementStart(0, "mj-entity-viewer", 45);
|
|
202
|
+
i0.ɵɵlistener("RecordOpened", function MJOOrdersDashboardPageComponent_Conditional_5_Conditional_5_Template_mj_entity_viewer_RecordOpened_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRecordOpened($event)); });
|
|
203
|
+
i0.ɵɵelementEnd();
|
|
204
|
+
} if (rf & 2) {
|
|
205
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
206
|
+
i0.ɵɵproperty("Entity", ctx_r1.OrderLineEntityInfo)("ViewEntity", ctx_r1.FulfillmentQueueView);
|
|
207
|
+
} }
|
|
208
|
+
function MJOOrdersDashboardPageComponent_Conditional_5_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
209
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
210
|
+
i0.ɵɵtext(1, "Loading fulfillment queue...");
|
|
211
|
+
i0.ɵɵelementEnd();
|
|
212
|
+
} }
|
|
213
|
+
function MJOOrdersDashboardPageComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
214
|
+
i0.ɵɵelementStart(0, "div", 4)(1, "p", 46);
|
|
215
|
+
i0.ɵɵelement(2, "i", 47);
|
|
216
|
+
i0.ɵɵtext(3, " Everything here is already paid for and booked. What is outstanding is the goods, and what this queue controls is the physical line fulfillment state. ");
|
|
217
|
+
i0.ɵɵelementEnd();
|
|
218
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
219
|
+
i0.ɵɵconditionalCreate(5, MJOOrdersDashboardPageComponent_Conditional_5_Conditional_5_Template, 1, 2, "mj-entity-viewer", 44)(6, MJOOrdersDashboardPageComponent_Conditional_5_Conditional_6_Template, 2, 0, "div", 31);
|
|
220
|
+
i0.ɵɵelementEnd()();
|
|
221
|
+
} if (rf & 2) {
|
|
222
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
223
|
+
i0.ɵɵadvance(5);
|
|
224
|
+
i0.ɵɵconditional(ctx_r1.OrderLineEntityInfo ? 5 : 6);
|
|
225
|
+
} }
|
|
226
|
+
function MJOOrdersDashboardPageComponent_Conditional_6_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
227
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
228
|
+
i0.ɵɵelementStart(0, "mj-entity-viewer", 45);
|
|
229
|
+
i0.ɵɵlistener("RecordOpened", function MJOOrdersDashboardPageComponent_Conditional_6_Conditional_16_Template_mj_entity_viewer_RecordOpened_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnRecordOpened($event)); });
|
|
230
|
+
i0.ɵɵelementEnd();
|
|
231
|
+
} if (rf & 2) {
|
|
232
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
233
|
+
i0.ɵɵproperty("Entity", ctx_r1.OrderEntityInfo)("ViewEntity", ctx_r1.AgingOverdueView);
|
|
234
|
+
} }
|
|
235
|
+
function MJOOrdersDashboardPageComponent_Conditional_6_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
236
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
237
|
+
i0.ɵɵtext(1, "Loading order metadata...");
|
|
238
|
+
i0.ɵɵelementEnd();
|
|
239
|
+
} }
|
|
240
|
+
function MJOOrdersDashboardPageComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
241
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
242
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6);
|
|
243
|
+
i0.ɵɵelement(2, "mjo-stat-tile", 48)(3, "mjo-stat-tile", 49)(4, "mjo-stat-tile", 50)(5, "mjo-stat-tile", 51);
|
|
244
|
+
i0.ɵɵelementEnd();
|
|
245
|
+
i0.ɵɵelementStart(6, "div", 52)(7, "div", 53)(8, "div", 13);
|
|
246
|
+
i0.ɵɵelement(9, "i", 54);
|
|
247
|
+
i0.ɵɵelementStart(10, "h3");
|
|
248
|
+
i0.ɵɵtext(11, "Overdue Collections Worklist");
|
|
249
|
+
i0.ɵɵelementEnd();
|
|
250
|
+
i0.ɵɵelementStart(12, "span", 27)(13, "a", 28);
|
|
251
|
+
i0.ɵɵlistener("click", function MJOOrdersDashboardPageComponent_Conditional_6_Template_a_click_13_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OpenExplorerPreset("overdue")); });
|
|
252
|
+
i0.ɵɵtext(14, "Open in Explorer \u2192");
|
|
253
|
+
i0.ɵɵelementEnd()()();
|
|
254
|
+
i0.ɵɵelementStart(15, "div", 55);
|
|
255
|
+
i0.ɵɵconditionalCreate(16, MJOOrdersDashboardPageComponent_Conditional_6_Conditional_16_Template, 1, 2, "mj-entity-viewer", 44)(17, MJOOrdersDashboardPageComponent_Conditional_6_Conditional_17_Template, 2, 0, "div", 31);
|
|
256
|
+
i0.ɵɵelementEnd()()()();
|
|
257
|
+
} if (rf & 2) {
|
|
258
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
259
|
+
i0.ɵɵadvance(2);
|
|
260
|
+
i0.ɵɵproperty("Value", ctx_r1.AgingCurrentDisplay);
|
|
261
|
+
i0.ɵɵadvance();
|
|
262
|
+
i0.ɵɵproperty("Value", ctx_r1.Aging30Display);
|
|
263
|
+
i0.ɵɵadvance();
|
|
264
|
+
i0.ɵɵproperty("Value", ctx_r1.Aging60Display);
|
|
265
|
+
i0.ɵɵadvance();
|
|
266
|
+
i0.ɵɵproperty("Value", ctx_r1.Aging90Display);
|
|
267
|
+
i0.ɵɵadvance(11);
|
|
268
|
+
i0.ɵɵconditional(ctx_r1.OrderEntityInfo ? 16 : 17);
|
|
269
|
+
} }
|
|
270
|
+
/**
|
|
271
|
+
* `mjo-orders-dashboard-page` — Option B: Tabbed Command Workspace.
|
|
272
|
+
*
|
|
273
|
+
* Provides a unified workspace with 3 tabs:
|
|
274
|
+
* 1. Executive Overview & Action Queues
|
|
275
|
+
* 2. Full-featured Orders Explorer (<mj-entity-viewer>)
|
|
276
|
+
* 3. Receivables & Aging Breakdown
|
|
277
|
+
*/
|
|
278
|
+
export class MJOOrdersDashboardPageComponent {
|
|
279
|
+
cdr = inject(ChangeDetectorRef);
|
|
280
|
+
NavigateRequested = new EventEmitter();
|
|
281
|
+
OrderOpened = new EventEmitter();
|
|
282
|
+
ActiveTab = 'overview';
|
|
283
|
+
Tabs = [
|
|
284
|
+
{ key: 'overview', label: 'Executive Overview', icon: 'fa-solid fa-chart-pie' },
|
|
285
|
+
{ key: 'explorer', label: 'Orders Explorer', icon: 'fa-solid fa-table-list' },
|
|
286
|
+
{ key: 'fulfillment', label: 'Fulfillment Queue', icon: 'fa-solid fa-dolly' },
|
|
287
|
+
{ key: 'aging', label: 'Receivables & Aging', icon: 'fa-solid fa-hourglass-half' }
|
|
288
|
+
];
|
|
289
|
+
OrderEntityInfo = null;
|
|
290
|
+
OrderLineEntityInfo = null;
|
|
291
|
+
ExplorerView = null;
|
|
292
|
+
get AgingOverdueView() {
|
|
293
|
+
if (!this.OrderEntityInfo)
|
|
294
|
+
return null;
|
|
295
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
296
|
+
return {
|
|
297
|
+
EntityID: this.OrderEntityInfo.ID,
|
|
298
|
+
Entity: this.OrderEntityInfo.Name,
|
|
299
|
+
WhereClause: `Balance > 0 AND DueDate IS NOT NULL AND DueDate < '${today}' AND Status NOT IN ('Draft','Quoted','Voided')`,
|
|
300
|
+
ID: 'preset-aging-overdue',
|
|
301
|
+
Name: 'Overdue Collections'
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
get FulfillmentQueueView() {
|
|
305
|
+
if (!this.OrderLineEntityInfo)
|
|
306
|
+
return null;
|
|
307
|
+
return {
|
|
308
|
+
EntityID: this.OrderLineEntityInfo.ID,
|
|
309
|
+
Entity: this.OrderLineEntityInfo.Name,
|
|
310
|
+
WhereClause: `FulfillmentStatus IN ('Pending', 'PartiallyFulfilled', 'Unfulfilled')`,
|
|
311
|
+
ID: 'preset-fulfillment-queue',
|
|
312
|
+
Name: 'Fulfillment Queue'
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
orders = [];
|
|
316
|
+
async ngOnInit() {
|
|
317
|
+
const md = new Metadata();
|
|
318
|
+
this.OrderEntityInfo = md.Entities.find(e => e.Name === 'MJ_BizApps_Orders: Order Headers') || null;
|
|
319
|
+
this.OrderLineEntityInfo = md.Entities.find(e => e.Name === 'MJ_BizApps_Orders: Order Lines') || null;
|
|
320
|
+
this.orders = await GetOrders({ Preset: 'all' });
|
|
321
|
+
this.cdr.detectChanges();
|
|
322
|
+
}
|
|
323
|
+
OnTabChange(tabKey) {
|
|
324
|
+
this.ActiveTab = tabKey;
|
|
325
|
+
if (tabKey !== 'explorer') {
|
|
326
|
+
this.ExplorerView = null;
|
|
327
|
+
}
|
|
328
|
+
this.cdr.detectChanges();
|
|
329
|
+
}
|
|
330
|
+
OpenExplorerPreset(preset) {
|
|
331
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
332
|
+
let whereClause = null;
|
|
333
|
+
let presetName = 'All Orders';
|
|
334
|
+
switch (preset) {
|
|
335
|
+
case 'overdue':
|
|
336
|
+
whereClause = `Balance > 0 AND DueDate IS NOT NULL AND DueDate < '${today}' AND Status NOT IN ('Draft','Quoted','Voided')`;
|
|
337
|
+
presetName = 'Overdue Orders';
|
|
338
|
+
break;
|
|
339
|
+
case 'unpaid':
|
|
340
|
+
whereClause = `Balance > 0 AND Status NOT IN ('Draft','Quoted','Voided')`;
|
|
341
|
+
presetName = 'Unpaid Orders';
|
|
342
|
+
break;
|
|
343
|
+
case 'drafts':
|
|
344
|
+
whereClause = `Status IN ('Draft','Quoted')`;
|
|
345
|
+
presetName = 'Draft & Quoted Orders';
|
|
346
|
+
break;
|
|
347
|
+
case 'credits':
|
|
348
|
+
whereClause = `Balance < 0 AND Status NOT IN ('Draft','Quoted','Voided')`;
|
|
349
|
+
presetName = 'Credit Balance Orders';
|
|
350
|
+
break;
|
|
351
|
+
default:
|
|
352
|
+
whereClause = null;
|
|
353
|
+
break;
|
|
354
|
+
}
|
|
355
|
+
if (whereClause && this.OrderEntityInfo) {
|
|
356
|
+
this.ExplorerView = {
|
|
357
|
+
EntityID: this.OrderEntityInfo.ID,
|
|
358
|
+
Entity: this.OrderEntityInfo.Name,
|
|
359
|
+
WhereClause: whereClause,
|
|
360
|
+
ID: `preset-${preset}`,
|
|
361
|
+
Name: presetName
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
else {
|
|
365
|
+
this.ExplorerView = null;
|
|
366
|
+
}
|
|
367
|
+
this.ActiveTab = 'explorer';
|
|
368
|
+
this.cdr.detectChanges();
|
|
369
|
+
}
|
|
370
|
+
OnRecordOpened(event) {
|
|
371
|
+
const id = (event.compositeKey?.GetValueByFieldName('ID') ?? event.record?.['ID']);
|
|
372
|
+
if (id) {
|
|
373
|
+
const match = this.orders.find(o => o.ID === id);
|
|
374
|
+
if (match) {
|
|
375
|
+
this.OrderOpened.emit(match);
|
|
376
|
+
}
|
|
377
|
+
else {
|
|
378
|
+
const surrogate = { ID: id };
|
|
379
|
+
this.OrderOpened.emit(surrogate);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
get OrdersPerDay() {
|
|
384
|
+
const days = [];
|
|
385
|
+
const today = new Date();
|
|
386
|
+
for (let back = 6; back >= 0; back--) {
|
|
387
|
+
const day = new Date(today);
|
|
388
|
+
day.setDate(day.getDate() - back);
|
|
389
|
+
const iso = LocalDay(day);
|
|
390
|
+
days.push({
|
|
391
|
+
Label: day.toLocaleDateString('en-US', { weekday: 'short' }),
|
|
392
|
+
Value: this.orders.filter((o) => ToISODate(o.OrderDate) === iso).length,
|
|
393
|
+
Current: back === 0,
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
return days;
|
|
397
|
+
}
|
|
398
|
+
get LatestOrders() {
|
|
399
|
+
return [...this.orders]
|
|
400
|
+
.sort((a, b) => String(b.OrderDate ?? '').localeCompare(String(a.OrderDate ?? '')))
|
|
401
|
+
.slice(0, 7);
|
|
402
|
+
}
|
|
403
|
+
get WorthALook() {
|
|
404
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
405
|
+
const items = [];
|
|
406
|
+
const worst = this.overdue
|
|
407
|
+
.slice()
|
|
408
|
+
.sort((a, b) => DaysSince(String(b.DueDate), today) - DaysSince(String(a.DueDate), today))[0];
|
|
409
|
+
if (worst) {
|
|
410
|
+
const days = DaysSince(String(worst.DueDate), today);
|
|
411
|
+
items.push({
|
|
412
|
+
Order: worst,
|
|
413
|
+
Tone: 'error',
|
|
414
|
+
Icon: 'fa-solid fa-hourglass-half',
|
|
415
|
+
Headline: `${worst.OrderNumber} is ${days} days past due.`,
|
|
416
|
+
Detail: `${FormatMoney((worst.Balance ?? 0))} from ${this.customerOf(worst)}.`,
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
const biggestCredit = this.credits
|
|
420
|
+
.slice()
|
|
421
|
+
.sort((a, b) => (a.Balance ?? 0) - (b.Balance ?? 0))[0];
|
|
422
|
+
if (biggestCredit) {
|
|
423
|
+
items.push({
|
|
424
|
+
Order: biggestCredit,
|
|
425
|
+
Tone: 'info',
|
|
426
|
+
Icon: 'fa-solid fa-piggy-bank',
|
|
427
|
+
Headline: `${this.customerOf(biggestCredit)} is holding ${FormatMoney(Math.abs((biggestCredit.Balance ?? 0)))}.`,
|
|
428
|
+
Detail: 'Spend it before invoicing them again.',
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
return items;
|
|
432
|
+
}
|
|
433
|
+
customerOf(order) {
|
|
434
|
+
return (order.BillToOrganization ?? order.BillToPerson ?? '—');
|
|
435
|
+
}
|
|
436
|
+
statusClass(order) {
|
|
437
|
+
switch (order.Status) {
|
|
438
|
+
case 'Confirmed':
|
|
439
|
+
return 'mj-chip--success';
|
|
440
|
+
case 'Quoted':
|
|
441
|
+
return 'mj-chip--info';
|
|
442
|
+
case 'Voided':
|
|
443
|
+
return 'mj-chip--outline';
|
|
444
|
+
default:
|
|
445
|
+
return '';
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
openFrom(event, order) {
|
|
449
|
+
event.preventDefault();
|
|
450
|
+
this.OrderOpened.emit(order);
|
|
451
|
+
}
|
|
452
|
+
get open() {
|
|
453
|
+
return this.orders.filter((o) => !['Draft', 'Quoted', 'Voided'].includes(o.Status));
|
|
454
|
+
}
|
|
455
|
+
get owing() {
|
|
456
|
+
return this.open.filter((o) => (o.Balance ?? 0) > 0);
|
|
457
|
+
}
|
|
458
|
+
get overdue() {
|
|
459
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
460
|
+
return this.owing.filter((o) => o.DueDate && DaysSince(o.DueDate, today) > 0);
|
|
461
|
+
}
|
|
462
|
+
get credits() {
|
|
463
|
+
return this.open.filter((o) => (o.Balance ?? 0) < 0);
|
|
464
|
+
}
|
|
465
|
+
get OpenCountDisplay() {
|
|
466
|
+
return String(this.open.length);
|
|
467
|
+
}
|
|
468
|
+
get OpenValueDisplay() {
|
|
469
|
+
return `${FormatMoney(this.open.reduce((s, o) => s + (o.TotalGross ?? 0), 0), { Round: true })} of orders`;
|
|
470
|
+
}
|
|
471
|
+
get OpenBalanceDisplay() {
|
|
472
|
+
return FormatMoney(this.owing.reduce((s, o) => s + (o.Balance ?? 0), 0), { Round: true });
|
|
473
|
+
}
|
|
474
|
+
get OverdueValueDisplay() {
|
|
475
|
+
return FormatMoney(this.overdue.reduce((s, o) => s + (o.Balance ?? 0), 0), { Round: true });
|
|
476
|
+
}
|
|
477
|
+
get OverdueDetail() {
|
|
478
|
+
const customers = new Set(this.overdue.map((o) => o.BillToOrganization ?? o.BillToPerson)).size;
|
|
479
|
+
return `${this.overdue.length} order${this.overdue.length === 1 ? '' : 's'} across ${customers} customer${customers === 1 ? '' : 's'}`;
|
|
480
|
+
}
|
|
481
|
+
get CreditsDisplay() {
|
|
482
|
+
const total = this.credits.reduce((s, o) => s + Math.abs((o.Balance ?? 0)), 0);
|
|
483
|
+
return FormatMoney(total, { Zero: '—' });
|
|
484
|
+
}
|
|
485
|
+
get AgingCurrentDisplay() {
|
|
486
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
487
|
+
const current = this.owing.filter((o) => !o.DueDate || DaysSince(o.DueDate, today) <= 30);
|
|
488
|
+
return FormatMoney(current.reduce((s, o) => s + (o.Balance ?? 0), 0), { Round: true });
|
|
489
|
+
}
|
|
490
|
+
get Aging30Display() {
|
|
491
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
492
|
+
const b30 = this.owing.filter((o) => {
|
|
493
|
+
if (!o.DueDate)
|
|
494
|
+
return false;
|
|
495
|
+
const days = DaysSince(o.DueDate, today);
|
|
496
|
+
return days > 30 && days <= 60;
|
|
497
|
+
});
|
|
498
|
+
return FormatMoney(b30.reduce((s, o) => s + (o.Balance ?? 0), 0), { Round: true });
|
|
499
|
+
}
|
|
500
|
+
get Aging60Display() {
|
|
501
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
502
|
+
const b60 = this.owing.filter((o) => {
|
|
503
|
+
if (!o.DueDate)
|
|
504
|
+
return false;
|
|
505
|
+
const days = DaysSince(o.DueDate, today);
|
|
506
|
+
return days > 60 && days <= 90;
|
|
507
|
+
});
|
|
508
|
+
return FormatMoney(b60.reduce((s, o) => s + (o.Balance ?? 0), 0), { Round: true });
|
|
509
|
+
}
|
|
510
|
+
get Aging90Display() {
|
|
511
|
+
const today = new Date().toISOString().slice(0, 10);
|
|
512
|
+
const b90 = this.owing.filter((o) => {
|
|
513
|
+
if (!o.DueDate)
|
|
514
|
+
return false;
|
|
515
|
+
const days = DaysSince(o.DueDate, today);
|
|
516
|
+
return days > 90;
|
|
517
|
+
});
|
|
518
|
+
return FormatMoney(b90.reduce((s, o) => s + (o.Balance ?? 0), 0), { Round: true });
|
|
519
|
+
}
|
|
520
|
+
get Queues() {
|
|
521
|
+
const drafts = this.orders.filter((o) => o.Status === 'Draft' || o.Status === 'Quoted').length;
|
|
522
|
+
const awaitingFulfillment = this.orders.filter((o) => o.Status === 'Confirmed' && (o.FulfillmentStatus === 'Pending' || o.FulfillmentStatus === 'PartiallyFulfilled')).length;
|
|
523
|
+
const all = [
|
|
524
|
+
{ Label: 'Drafts waiting to be finished', Count: drafts, Icon: 'fa-solid fa-pen-ruler', Tone: 'neutral', PageId: 'list', Preset: 'drafts' },
|
|
525
|
+
{
|
|
526
|
+
Label: 'Fulfillment queue (items waiting to ship)',
|
|
527
|
+
Note: 'Order lines ready for picking and shipment',
|
|
528
|
+
Count: awaitingFulfillment,
|
|
529
|
+
Icon: 'fa-solid fa-dolly',
|
|
530
|
+
Tone: 'warning',
|
|
531
|
+
PageId: 'fulfillment'
|
|
532
|
+
},
|
|
533
|
+
{ Label: 'Overdue invoices', Count: this.overdue.length, Icon: 'fa-solid fa-hourglass-half', Tone: 'error', PageId: 'list', Preset: 'overdue' },
|
|
534
|
+
{
|
|
535
|
+
Label: 'Credits customers are holding',
|
|
536
|
+
Note: 'Spendable — offer them before invoicing again',
|
|
537
|
+
Count: this.credits.length,
|
|
538
|
+
Icon: 'fa-solid fa-piggy-bank',
|
|
539
|
+
Tone: 'success',
|
|
540
|
+
PageId: 'list',
|
|
541
|
+
Preset: 'credits'
|
|
542
|
+
},
|
|
543
|
+
];
|
|
544
|
+
return all.filter((q) => q.Count > 0);
|
|
545
|
+
}
|
|
546
|
+
get StatusMix() {
|
|
547
|
+
const counts = new Map();
|
|
548
|
+
for (const order of this.orders) {
|
|
549
|
+
counts.set(order.Status, (counts.get(order.Status) ?? 0) + 1);
|
|
550
|
+
}
|
|
551
|
+
const order = ['Draft', 'Quoted', 'Confirmed', 'Voided'];
|
|
552
|
+
return order
|
|
553
|
+
.filter((s) => counts.has(s))
|
|
554
|
+
.map((s) => ({ Label: s, Value: counts.get(s), Display: String(counts.get(s)) }));
|
|
555
|
+
}
|
|
556
|
+
goQueue(event, queue) {
|
|
557
|
+
event.preventDefault();
|
|
558
|
+
if (queue.PageId === 'fulfillment') {
|
|
559
|
+
this.OnTabChange('fulfillment');
|
|
560
|
+
return;
|
|
561
|
+
}
|
|
562
|
+
if (queue.Preset) {
|
|
563
|
+
this.OpenExplorerPreset(queue.Preset);
|
|
564
|
+
}
|
|
565
|
+
else {
|
|
566
|
+
this.NavigateRequested.emit(queue.PageId);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
static ɵfac = function MJOOrdersDashboardPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOOrdersDashboardPageComponent)(); };
|
|
570
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOOrdersDashboardPageComponent, selectors: [["mjo-orders-dashboard-page"]], outputs: { NavigateRequested: "NavigateRequested", OrderOpened: "OrderOpened" }, decls: 7, vars: 3, consts: [[1, "mjo-dashboard-container"], [1, "mjo-tab-container"], [3, "TabChange", "Tabs", "ActiveKey"], [1, "mjo-explorer-wrapper"], [1, "mjo-fulfillment-pane"], [1, "mjo-aging-pane"], [1, "mj-stat-grid"], ["Label", "Open orders", "Icon", "fa-solid fa-file-invoice-dollar", 3, "Clicked", "Value", "Detail"], ["Label", "Open balance", "Icon", "fa-solid fa-scale-balanced", "Detail", "Confirmed orders still carrying a balance", 3, "Clicked", "Value"], ["Label", "Overdue", "Icon", "fa-solid fa-hourglass-half", "Tone", "alert", 3, "Clicked", "Value", "Detail"], ["Label", "Credits held", "Icon", "fa-solid fa-piggy-bank", "Detail", "Offer these before invoicing again", 3, "Clicked", "Value"], [1, "mjo-dash__split"], [1, "mj-card"], [1, "mj-card-head"], ["aria-hidden", "true", 1, "fa-solid", "fa-list-check"], [1, "mj-card-pad", "mjo-dash__queues"], ["href", "#", 1, "mjo-dash__queue"], [1, "small", "muted"], ["aria-hidden", "true", 1, "fa-solid", "fa-chart-simple"], [1, "right", "small", "muted"], [1, "mj-card-pad"], ["Unit", "orders", 3, "Bars"], ["aria-hidden", "true", 1, "fa-solid", "fa-layer-group"], ["EmptyText", "No orders yet.", 3, "Rows"], [1, "mjo-dash__split", "mjo-dash__split--wide"], [1, "mj-card", "mjo-dash__viewer-card"], ["aria-hidden", "true", 1, "fa-solid", "fa-table-list"], [1, "right"], ["href", "#", 1, "small", 3, "click"], [1, "mjo-dash__viewer-host"], [3, "Entity"], [1, "small", "muted", 2, "padding", "24px"], ["aria-hidden", "true", 1, "fa-solid", "fa-triangle-exclamation"], ["Role", "note", 3, "Variant", "Icon"], ["Icon", "fa-solid fa-circle-check", "Title", "Nothing is asking for attention", "Size", "compact"], ["href", "#", 1, "mjo-dash__queue", 3, "click"], [1, "mjo-dash__icon"], ["aria-hidden", "true"], [1, "mjo-dash__queue-body"], [1, "mjo-dash__queue-label"], [1, "small", "muted", "mjo-dash__queue-note"], [1, "mj-num", "mjo-dash__count"], ["aria-hidden", "true", 1, "fa-solid", "fa-chevron-right", "muted", "tiny"], [3, "RecordOpened", "Entity"], [3, "Entity", "ViewEntity"], [3, "RecordOpened", "Entity", "ViewEntity"], [1, "mjo-note", "mjo-fq__note"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-info"], ["Label", "Current (0-30 days)", "Icon", "fa-solid fa-check", "Detail", "Due or recently invoiced", 3, "Value"], ["Label", "31\u201360 days", "Icon", "fa-solid fa-clock", "Tone", "default", "Detail", "First reminder interval", 3, "Value"], ["Label", "61\u201390 days", "Icon", "fa-solid fa-triangle-exclamation", "Tone", "alert", "Detail", "Escalated collection required", 3, "Value"], ["Label", "90+ days overdue", "Icon", "fa-solid fa-circle-xmark", "Tone", "alert", "Detail", "High risk receivables", 3, "Value"], [1, "mjo-dash__split", "mjo-dash__split--wide", 2, "margin-top", "var(--mj-space-6)"], [1, "mj-card", "mjo-dash__viewer-card", 2, "grid-column", "1 / -1", "height", "600px"], ["aria-hidden", "true", 1, "fa-solid", "fa-hourglass-half"], [1, "mjo-dash__viewer-host", 2, "min-height", "520px"]], template: function MJOOrdersDashboardPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
571
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "mj-tab-nav", 2);
|
|
572
|
+
i0.ɵɵlistener("TabChange", function MJOOrdersDashboardPageComponent_Template_mj_tab_nav_TabChange_2_listener($event) { return ctx.OnTabChange($event); });
|
|
573
|
+
i0.ɵɵelementEnd()();
|
|
574
|
+
i0.ɵɵconditionalCreate(3, MJOOrdersDashboardPageComponent_Conditional_3_Template, 52, 11)(4, MJOOrdersDashboardPageComponent_Conditional_4_Template, 3, 1, "div", 3)(5, MJOOrdersDashboardPageComponent_Conditional_5_Template, 7, 1, "div", 4)(6, MJOOrdersDashboardPageComponent_Conditional_6_Template, 18, 5, "div", 5);
|
|
575
|
+
i0.ɵɵelementEnd();
|
|
576
|
+
} if (rf & 2) {
|
|
577
|
+
i0.ɵɵadvance(2);
|
|
578
|
+
i0.ɵɵproperty("Tabs", ctx.Tabs)("ActiveKey", ctx.ActiveTab);
|
|
579
|
+
i0.ɵɵadvance();
|
|
580
|
+
i0.ɵɵconditional(ctx.ActiveTab === "overview" ? 3 : ctx.ActiveTab === "explorer" ? 4 : ctx.ActiveTab === "fulfillment" ? 5 : ctx.ActiveTab === "aging" ? 6 : -1);
|
|
581
|
+
} }, dependencies: [CommonModule,
|
|
582
|
+
MJTabNavComponent,
|
|
583
|
+
EntityViewerModule, i1.EntityViewerComponent, MJAlertComponent,
|
|
584
|
+
MJEmptyStateComponent,
|
|
585
|
+
MJOStatTileComponent,
|
|
586
|
+
MJOBarListComponent,
|
|
587
|
+
MJODayBarsComponent], styles: ["[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n min-height: 0;\n overflow: hidden;\n }\n .mjo-dashboard-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n min-height: 0;\n overflow-y: auto;\n padding: var(--mj-space-6);\n box-sizing: border-box;\n gap: var(--mj-space-4);\n }\n .mjo-tab-container[_ngcontent-%COMP%] {\n flex-shrink: 0;\n margin-bottom: var(--mj-space-2);\n }\n .mjo-explorer-wrapper[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n min-height: 600px;\n height: 100%;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n .mjo-fulfillment-pane[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n height: 100%;\n display: flex;\n flex-direction: column;\n min-height: 600px;\n gap: var(--mj-space-4);\n }\n .mjo-dash__viewer-card[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n height: 560px;\n min-height: 480px;\n }\n .mjo-dash__viewer-host[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n height: 100%;\n min-height: 400px;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n min-height: 350px;\n width: 100%;\n }\n .mjo-aging-pane[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n }\n .mjo-dash__split--wide[_ngcontent-%COMP%] {\n grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);\n margin-top: var(--mj-space-4);\n }\n .mjo-dash__split[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-6);\n }\n .mjo-dash__queue[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n padding: var(--mj-space-3) 0;\n border-bottom: 1px solid var(--mj-border-subtle);\n color: inherit;\n cursor: pointer;\n }\n .mjo-dash__queue[_ngcontent-%COMP%]:last-child {\n border-bottom: none;\n }\n .mjo-dash__queue[_ngcontent-%COMP%]:hover {\n text-decoration: none;\n }\n .mjo-dash__queue[_ngcontent-%COMP%]:hover .mjo-dash__queue-label[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n }\n .mjo-dash__icon[_ngcontent-%COMP%] {\n width: 32px;\n height: 32px;\n border-radius: var(--mj-radius-md);\n flex: none;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 13px;\n }\n .mjo-tone-neutral[_ngcontent-%COMP%] { background: var(--mj-status-neutral-bg); color: var(--mj-status-neutral-text); }\n .mjo-tone-info[_ngcontent-%COMP%] { background: var(--mj-status-info-bg); color: var(--mj-status-info-text); }\n .mjo-tone-warning[_ngcontent-%COMP%] { background: var(--mj-status-warning-bg); color: var(--mj-status-warning-text); }\n .mjo-tone-error[_ngcontent-%COMP%] { background: var(--mj-status-error-bg); color: var(--mj-status-error-text); }\n .mjo-tone-success[_ngcontent-%COMP%] { background: var(--mj-status-success-bg); color: var(--mj-status-success-text); }\n .mjo-tone-violet[_ngcontent-%COMP%] { background: var(--mj-status-violet-bg); color: var(--mj-status-violet-text); }\n .mjo-dash__queue-body[_ngcontent-%COMP%] { flex: 1; min-width: 0; }\n .mjo-dash__queue-label[_ngcontent-%COMP%] { font-weight: var(--mj-font-medium); }\n .mjo-dash__queue-note[_ngcontent-%COMP%] { display: block; }\n .mjo-dash__count[_ngcontent-%COMP%] { font-size: 16px; }\n\n @media (max-width: 1200px) {\n .mjo-dash__split[_ngcontent-%COMP%] { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n }\n @media (max-width: 1000px) {\n .mjo-dash__split[_ngcontent-%COMP%], \n .mjo-dash__split--wide[_ngcontent-%COMP%] { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n .mjo-dashboard-container[_ngcontent-%COMP%] {\n padding: var(--mj-space-4);\n }\n }"] });
|
|
588
|
+
}
|
|
589
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOOrdersDashboardPageComponent, [{
|
|
590
|
+
type: Component,
|
|
591
|
+
args: [{ selector: 'mjo-orders-dashboard-page', standalone: true, imports: [
|
|
592
|
+
CommonModule,
|
|
593
|
+
MJTabNavComponent,
|
|
594
|
+
EntityViewerModule,
|
|
595
|
+
MJAlertComponent,
|
|
596
|
+
MJEmptyStateComponent,
|
|
597
|
+
MJOStatTileComponent,
|
|
598
|
+
MJOBarListComponent,
|
|
599
|
+
MJODayBarsComponent
|
|
600
|
+
], template: `
|
|
601
|
+
<div class="mjo-dashboard-container">
|
|
602
|
+
<div class="mjo-tab-container">
|
|
603
|
+
<mj-tab-nav [Tabs]="Tabs" [ActiveKey]="ActiveTab" (TabChange)="OnTabChange($event)"></mj-tab-nav>
|
|
604
|
+
</div>
|
|
605
|
+
|
|
606
|
+
@if (ActiveTab === 'overview') {
|
|
607
|
+
<div class="mj-stat-grid">
|
|
608
|
+
<mjo-stat-tile
|
|
609
|
+
Label="Open orders"
|
|
610
|
+
Icon="fa-solid fa-file-invoice-dollar"
|
|
611
|
+
[Value]="OpenCountDisplay"
|
|
612
|
+
[Detail]="OpenValueDisplay"
|
|
613
|
+
(Clicked)="OpenExplorerPreset('all')" />
|
|
614
|
+
|
|
615
|
+
<mjo-stat-tile
|
|
616
|
+
Label="Open balance"
|
|
617
|
+
Icon="fa-solid fa-scale-balanced"
|
|
618
|
+
[Value]="OpenBalanceDisplay"
|
|
619
|
+
Detail="Confirmed orders still carrying a balance"
|
|
620
|
+
(Clicked)="OpenExplorerPreset('unpaid')" />
|
|
621
|
+
|
|
622
|
+
<mjo-stat-tile
|
|
623
|
+
Label="Overdue"
|
|
624
|
+
Icon="fa-solid fa-hourglass-half"
|
|
625
|
+
Tone="alert"
|
|
626
|
+
[Value]="OverdueValueDisplay"
|
|
627
|
+
[Detail]="OverdueDetail"
|
|
628
|
+
(Clicked)="OpenExplorerPreset('overdue')" />
|
|
629
|
+
|
|
630
|
+
<mjo-stat-tile
|
|
631
|
+
Label="Credits held"
|
|
632
|
+
Icon="fa-solid fa-piggy-bank"
|
|
633
|
+
[Value]="CreditsDisplay"
|
|
634
|
+
Detail="Offer these before invoicing again"
|
|
635
|
+
(Clicked)="OpenExplorerPreset('credits')" />
|
|
636
|
+
</div>
|
|
637
|
+
|
|
638
|
+
<div class="mjo-dash__split">
|
|
639
|
+
<div class="mj-card">
|
|
640
|
+
<div class="mj-card-head">
|
|
641
|
+
<i class="fa-solid fa-list-check" aria-hidden="true"></i>
|
|
642
|
+
<h3>Needs someone</h3>
|
|
643
|
+
</div>
|
|
644
|
+
<div class="mj-card-pad mjo-dash__queues">
|
|
645
|
+
@for (queue of Queues; track queue.Label) {
|
|
646
|
+
<a href="#" class="mjo-dash__queue" (click)="goQueue($event, queue)">
|
|
647
|
+
<span class="mjo-dash__icon" [class]="'mjo-tone-' + queue.Tone">
|
|
648
|
+
<i [class]="queue.Icon" aria-hidden="true"></i>
|
|
649
|
+
</span>
|
|
650
|
+
<span class="mjo-dash__queue-body">
|
|
651
|
+
<span class="mjo-dash__queue-label">{{ queue.Label }}</span>
|
|
652
|
+
@if (queue.Note) {
|
|
653
|
+
<span class="small muted mjo-dash__queue-note">{{ queue.Note }}</span>
|
|
654
|
+
}
|
|
655
|
+
</span>
|
|
656
|
+
<b class="mj-num mjo-dash__count">{{ queue.Count }}</b>
|
|
657
|
+
<i class="fa-solid fa-chevron-right muted tiny" aria-hidden="true"></i>
|
|
658
|
+
</a>
|
|
659
|
+
} @empty {
|
|
660
|
+
<div class="small muted">Nothing is waiting. Unusual, and worth enjoying.</div>
|
|
661
|
+
}
|
|
662
|
+
</div>
|
|
663
|
+
</div>
|
|
664
|
+
|
|
665
|
+
<div class="mj-card">
|
|
666
|
+
<div class="mj-card-head">
|
|
667
|
+
<i class="fa-solid fa-chart-simple" aria-hidden="true"></i>
|
|
668
|
+
<h3>Orders per day</h3>
|
|
669
|
+
<span class="right small muted">last 7 days</span>
|
|
670
|
+
</div>
|
|
671
|
+
<div class="mj-card-pad">
|
|
672
|
+
<mjo-day-bars [Bars]="OrdersPerDay" Unit="orders" />
|
|
673
|
+
</div>
|
|
674
|
+
</div>
|
|
675
|
+
|
|
676
|
+
<div class="mj-card">
|
|
677
|
+
<div class="mj-card-head">
|
|
678
|
+
<i class="fa-solid fa-layer-group" aria-hidden="true"></i>
|
|
679
|
+
<h3>Where orders are sitting</h3>
|
|
680
|
+
</div>
|
|
681
|
+
<div class="mj-card-pad">
|
|
682
|
+
<mjo-bar-list [Rows]="StatusMix" EmptyText="No orders yet." />
|
|
683
|
+
</div>
|
|
684
|
+
</div>
|
|
685
|
+
</div>
|
|
686
|
+
|
|
687
|
+
<div class="mjo-dash__split mjo-dash__split--wide">
|
|
688
|
+
<div class="mj-card mjo-dash__viewer-card">
|
|
689
|
+
<div class="mj-card-head">
|
|
690
|
+
<i class="fa-solid fa-table-list" aria-hidden="true"></i>
|
|
691
|
+
<h3>Active Orders</h3>
|
|
692
|
+
<span class="right">
|
|
693
|
+
<a href="#" class="small" (click)="OnTabChange('explorer')">Full-screen Explorer →</a>
|
|
694
|
+
</span>
|
|
695
|
+
</div>
|
|
696
|
+
<div class="mjo-dash__viewer-host">
|
|
697
|
+
@if (OrderEntityInfo) {
|
|
698
|
+
<mj-entity-viewer
|
|
699
|
+
[Entity]="OrderEntityInfo"
|
|
700
|
+
(RecordOpened)="OnRecordOpened($event)">
|
|
701
|
+
</mj-entity-viewer>
|
|
702
|
+
} @else {
|
|
703
|
+
<div class="small muted" style="padding: 24px;">Loading order metadata...</div>
|
|
704
|
+
}
|
|
705
|
+
</div>
|
|
706
|
+
</div>
|
|
707
|
+
|
|
708
|
+
<div class="mj-card">
|
|
709
|
+
<div class="mj-card-head">
|
|
710
|
+
<i class="fa-solid fa-triangle-exclamation" aria-hidden="true"></i>
|
|
711
|
+
<h3>Worth a look</h3>
|
|
712
|
+
</div>
|
|
713
|
+
<div class="mj-card-pad">
|
|
714
|
+
@for (item of WorthALook; track item.Order.ID) {
|
|
715
|
+
<mj-alert [Variant]="item.Tone" [Icon]="item.Icon" Role="note">
|
|
716
|
+
<strong>{{ item.Headline }}</strong>
|
|
717
|
+
{{ item.Detail }}
|
|
718
|
+
<a href="#" class="small" (click)="openFrom($event, item.Order)">Work it →</a>
|
|
719
|
+
</mj-alert>
|
|
720
|
+
} @empty {
|
|
721
|
+
<mj-empty-state
|
|
722
|
+
Icon="fa-solid fa-circle-check"
|
|
723
|
+
Title="Nothing is asking for attention"
|
|
724
|
+
Size="compact" />
|
|
725
|
+
}
|
|
726
|
+
</div>
|
|
727
|
+
</div>
|
|
728
|
+
</div>
|
|
729
|
+
} @else if (ActiveTab === 'explorer') {
|
|
730
|
+
<div class="mjo-explorer-wrapper">
|
|
731
|
+
@if (OrderEntityInfo) {
|
|
732
|
+
<mj-entity-viewer
|
|
733
|
+
[Entity]="OrderEntityInfo"
|
|
734
|
+
[ViewEntity]="ExplorerView"
|
|
735
|
+
(RecordOpened)="OnRecordOpened($event)">
|
|
736
|
+
</mj-entity-viewer>
|
|
737
|
+
} @else {
|
|
738
|
+
<div class="small muted" style="padding: 24px;">Loading order metadata...</div>
|
|
739
|
+
}
|
|
740
|
+
</div>
|
|
741
|
+
} @else if (ActiveTab === 'fulfillment') {
|
|
742
|
+
<div class="mjo-fulfillment-pane">
|
|
743
|
+
<p class="mjo-note mjo-fq__note">
|
|
744
|
+
<i class="fa-solid fa-circle-info" aria-hidden="true"></i>
|
|
745
|
+
Everything here is already paid for and booked. What is outstanding is the goods, and what this queue controls is the physical line fulfillment state.
|
|
746
|
+
</p>
|
|
747
|
+
<div class="mjo-explorer-wrapper">
|
|
748
|
+
@if (OrderLineEntityInfo) {
|
|
749
|
+
<mj-entity-viewer
|
|
750
|
+
[Entity]="OrderLineEntityInfo"
|
|
751
|
+
[ViewEntity]="FulfillmentQueueView"
|
|
752
|
+
(RecordOpened)="OnRecordOpened($event)">
|
|
753
|
+
</mj-entity-viewer>
|
|
754
|
+
} @else {
|
|
755
|
+
<div class="small muted" style="padding: 24px;">Loading fulfillment queue...</div>
|
|
756
|
+
}
|
|
757
|
+
</div>
|
|
758
|
+
</div>
|
|
759
|
+
} @else if (ActiveTab === 'aging') {
|
|
760
|
+
<div class="mjo-aging-pane">
|
|
761
|
+
<div class="mj-stat-grid">
|
|
762
|
+
<mjo-stat-tile
|
|
763
|
+
Label="Current (0-30 days)"
|
|
764
|
+
Icon="fa-solid fa-check"
|
|
765
|
+
[Value]="AgingCurrentDisplay"
|
|
766
|
+
Detail="Due or recently invoiced" />
|
|
767
|
+
<mjo-stat-tile
|
|
768
|
+
Label="31–60 days"
|
|
769
|
+
Icon="fa-solid fa-clock"
|
|
770
|
+
Tone="default"
|
|
771
|
+
[Value]="Aging30Display"
|
|
772
|
+
Detail="First reminder interval" />
|
|
773
|
+
<mjo-stat-tile
|
|
774
|
+
Label="61–90 days"
|
|
775
|
+
Icon="fa-solid fa-triangle-exclamation"
|
|
776
|
+
Tone="alert"
|
|
777
|
+
[Value]="Aging60Display"
|
|
778
|
+
Detail="Escalated collection required" />
|
|
779
|
+
<mjo-stat-tile
|
|
780
|
+
Label="90+ days overdue"
|
|
781
|
+
Icon="fa-solid fa-circle-xmark"
|
|
782
|
+
Tone="alert"
|
|
783
|
+
[Value]="Aging90Display"
|
|
784
|
+
Detail="High risk receivables" />
|
|
785
|
+
</div>
|
|
786
|
+
|
|
787
|
+
<div class="mjo-dash__split mjo-dash__split--wide" style="margin-top: var(--mj-space-6);">
|
|
788
|
+
<div class="mj-card mjo-dash__viewer-card" style="grid-column: 1 / -1; height: 600px;">
|
|
789
|
+
<div class="mj-card-head">
|
|
790
|
+
<i class="fa-solid fa-hourglass-half" aria-hidden="true"></i>
|
|
791
|
+
<h3>Overdue Collections Worklist</h3>
|
|
792
|
+
<span class="right">
|
|
793
|
+
<a href="#" class="small" (click)="OpenExplorerPreset('overdue')">Open in Explorer →</a>
|
|
794
|
+
</span>
|
|
795
|
+
</div>
|
|
796
|
+
<div class="mjo-dash__viewer-host" style="min-height: 520px;">
|
|
797
|
+
@if (OrderEntityInfo) {
|
|
798
|
+
<mj-entity-viewer
|
|
799
|
+
[Entity]="OrderEntityInfo"
|
|
800
|
+
[ViewEntity]="AgingOverdueView"
|
|
801
|
+
(RecordOpened)="OnRecordOpened($event)">
|
|
802
|
+
</mj-entity-viewer>
|
|
803
|
+
} @else {
|
|
804
|
+
<div class="small muted" style="padding: 24px;">Loading order metadata...</div>
|
|
805
|
+
}
|
|
806
|
+
</div>
|
|
807
|
+
</div>
|
|
808
|
+
</div>
|
|
809
|
+
</div>
|
|
810
|
+
}
|
|
811
|
+
</div>
|
|
812
|
+
`, styles: ["\n :host {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n min-height: 0;\n overflow: hidden;\n }\n .mjo-dashboard-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n min-height: 0;\n overflow-y: auto;\n padding: var(--mj-space-6);\n box-sizing: border-box;\n gap: var(--mj-space-4);\n }\n .mjo-tab-container {\n flex-shrink: 0;\n margin-bottom: var(--mj-space-2);\n }\n .mjo-explorer-wrapper {\n flex: 1 1 auto;\n min-height: 600px;\n height: 100%;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n .mjo-fulfillment-pane {\n flex: 1 1 auto;\n height: 100%;\n display: flex;\n flex-direction: column;\n min-height: 600px;\n gap: var(--mj-space-4);\n }\n .mjo-dash__viewer-card {\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n height: 560px;\n min-height: 480px;\n }\n .mjo-dash__viewer-host {\n flex: 1 1 auto;\n height: 100%;\n min-height: 400px;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n min-height: 350px;\n width: 100%;\n }\n .mjo-aging-pane {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n }\n .mjo-dash__split--wide {\n grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);\n margin-top: var(--mj-space-4);\n }\n .mjo-dash__split {\n display: grid;\n grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-6);\n }\n .mjo-dash__queue {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n padding: var(--mj-space-3) 0;\n border-bottom: 1px solid var(--mj-border-subtle);\n color: inherit;\n cursor: pointer;\n }\n .mjo-dash__queue:last-child {\n border-bottom: none;\n }\n .mjo-dash__queue:hover {\n text-decoration: none;\n }\n .mjo-dash__queue:hover .mjo-dash__queue-label {\n color: var(--mj-brand-primary);\n }\n .mjo-dash__icon {\n width: 32px;\n height: 32px;\n border-radius: var(--mj-radius-md);\n flex: none;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 13px;\n }\n .mjo-tone-neutral { background: var(--mj-status-neutral-bg); color: var(--mj-status-neutral-text); }\n .mjo-tone-info { background: var(--mj-status-info-bg); color: var(--mj-status-info-text); }\n .mjo-tone-warning { background: var(--mj-status-warning-bg); color: var(--mj-status-warning-text); }\n .mjo-tone-error { background: var(--mj-status-error-bg); color: var(--mj-status-error-text); }\n .mjo-tone-success { background: var(--mj-status-success-bg); color: var(--mj-status-success-text); }\n .mjo-tone-violet { background: var(--mj-status-violet-bg); color: var(--mj-status-violet-text); }\n .mjo-dash__queue-body { flex: 1; min-width: 0; }\n .mjo-dash__queue-label { font-weight: var(--mj-font-medium); }\n .mjo-dash__queue-note { display: block; }\n .mjo-dash__count { font-size: 16px; }\n\n @media (max-width: 1200px) {\n .mjo-dash__split { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n }\n @media (max-width: 1000px) {\n .mjo-dash__split,\n .mjo-dash__split--wide { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n .mjo-dashboard-container {\n padding: var(--mj-space-4);\n }\n }\n "] }]
|
|
813
|
+
}], null, { NavigateRequested: [{
|
|
814
|
+
type: Output
|
|
815
|
+
}], OrderOpened: [{
|
|
816
|
+
type: Output
|
|
817
|
+
}] }); })();
|
|
818
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOOrdersDashboardPageComponent, { className: "MJOOrdersDashboardPageComponent", filePath: "lib/pages/orders/orders-dashboard.page.ts", lineNumber: 406 }); })();
|
|
819
|
+
//# sourceMappingURL=orders-dashboard.page.js.map
|