@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,906 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, inject } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CompositeKey, RunQuery, RunView } from '@memberjunction/core';
|
|
4
|
+
import { NavigationService } from '@memberjunction/ng-shared';
|
|
5
|
+
import { MJCardGridComponent, MJCardComponent, MJCardToolsDirective, } from '@memberjunction/ng-ui-components';
|
|
6
|
+
import { MJO_ENTITIES } from '../data/entity-names.js';
|
|
7
|
+
import { FormatMoney } from './money-format.js';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
const _forTrack0 = ($index, $item) => $item.MonthShort;
|
|
10
|
+
const _forTrack1 = ($index, $item) => $item.ID;
|
|
11
|
+
const _forTrack2 = ($index, $item) => $item.Title + $item.TimeAgo;
|
|
12
|
+
function PartyOrdersOverviewComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
14
|
+
i0.ɵɵelement(1, "div", 3);
|
|
15
|
+
i0.ɵɵelementStart(2, "span");
|
|
16
|
+
i0.ɵɵtext(3, "Loading account overview & order intelligence...");
|
|
17
|
+
i0.ɵɵelementEnd()();
|
|
18
|
+
} }
|
|
19
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_3_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
|
|
21
|
+
i0.ɵɵtext(2);
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
i0.ɵɵelement(3, "div", 25);
|
|
24
|
+
i0.ɵɵelementStart(4, "span", 26);
|
|
25
|
+
i0.ɵɵtext(5);
|
|
26
|
+
i0.ɵɵelementEnd()();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
const m_r3 = ctx.$implicit;
|
|
29
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
30
|
+
i0.ɵɵadvance(2);
|
|
31
|
+
i0.ɵɵtextInterpolate2(" ", ctx_r1.FormatCurrency(m_r3.Amount), " (", m_r3.MonthLabel, ") ");
|
|
32
|
+
i0.ɵɵadvance();
|
|
33
|
+
i0.ɵɵstyleProp("height", m_r3.HeightPct, "%");
|
|
34
|
+
i0.ɵɵclassProp("mjo-chart__bar--highlight", m_r3.IsPeak);
|
|
35
|
+
i0.ɵɵadvance(2);
|
|
36
|
+
i0.ɵɵtextInterpolate(m_r3.MonthShort);
|
|
37
|
+
} }
|
|
38
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
40
|
+
i0.ɵɵrepeaterCreate(1, PartyOrdersOverviewComponent_Conditional_2_Conditional_3_For_2_Template, 6, 7, "div", 23, _forTrack0);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
44
|
+
i0.ɵɵadvance();
|
|
45
|
+
i0.ɵɵrepeater(ctx_r1.SpendMonths);
|
|
46
|
+
} }
|
|
47
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
49
|
+
i0.ɵɵelement(1, "i", 27);
|
|
50
|
+
i0.ɵɵelementStart(2, "span");
|
|
51
|
+
i0.ɵɵtext(3, "No completed orders in the last 6 months");
|
|
52
|
+
i0.ɵɵelementEnd()();
|
|
53
|
+
} }
|
|
54
|
+
function PartyOrdersOverviewComponent_Conditional_2_ng_template_22_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementStart(0, "span", 28);
|
|
56
|
+
i0.ɵɵtext(1);
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
} if (rf & 2) {
|
|
59
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
60
|
+
i0.ɵɵadvance();
|
|
61
|
+
i0.ɵɵtextInterpolate1("", ctx_r1.Subscriptions.length, " Active");
|
|
62
|
+
} }
|
|
63
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_24_For_1_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵtext(0);
|
|
65
|
+
} if (rf & 2) {
|
|
66
|
+
const sub_r5 = i0.ɵɵnextContext().$implicit;
|
|
67
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
68
|
+
i0.ɵɵtextInterpolate1(" Renews ", ctx_r1.FormatDate(sub_r5.EndDate), " \u2022 ");
|
|
69
|
+
} }
|
|
70
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_24_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
72
|
+
i0.ɵɵelementStart(0, "div", 30);
|
|
73
|
+
i0.ɵɵlistener("click", function PartyOrdersOverviewComponent_Conditional_2_Conditional_24_For_1_Template_div_click_0_listener() { const sub_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnSubClick(sub_r5.ID)); });
|
|
74
|
+
i0.ɵɵelementStart(1, "div", 31)(2, "h4");
|
|
75
|
+
i0.ɵɵtext(3);
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵelementStart(4, "p");
|
|
78
|
+
i0.ɵɵconditionalCreate(5, PartyOrdersOverviewComponent_Conditional_2_Conditional_24_For_1_Conditional_5_Template, 1, 1);
|
|
79
|
+
i0.ɵɵtext(6);
|
|
80
|
+
i0.ɵɵelementEnd()();
|
|
81
|
+
i0.ɵɵelementStart(7, "div", 32)(8, "span", 33);
|
|
82
|
+
i0.ɵɵelement(9, "i", 34);
|
|
83
|
+
i0.ɵɵtext(10);
|
|
84
|
+
i0.ɵɵelementEnd()()();
|
|
85
|
+
} if (rf & 2) {
|
|
86
|
+
const sub_r5 = ctx.$implicit;
|
|
87
|
+
i0.ɵɵadvance(3);
|
|
88
|
+
i0.ɵɵtextInterpolate(sub_r5.Product || sub_r5.SubscriptionType || "Subscription #" + sub_r5.SubscriptionNumber);
|
|
89
|
+
i0.ɵɵadvance(2);
|
|
90
|
+
i0.ɵɵconditional(sub_r5.EndDate ? 5 : -1);
|
|
91
|
+
i0.ɵɵadvance();
|
|
92
|
+
i0.ɵɵtextInterpolate1(" ", sub_r5.SubscriptionType || "Active Subscription", " ");
|
|
93
|
+
i0.ɵɵadvance(4);
|
|
94
|
+
i0.ɵɵtextInterpolate1(" ", sub_r5.AutoRenew ? "Auto-Renew" : "Active", " ");
|
|
95
|
+
} }
|
|
96
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
97
|
+
i0.ɵɵrepeaterCreate(0, PartyOrdersOverviewComponent_Conditional_2_Conditional_24_For_1_Template, 11, 4, "div", 29, _forTrack1);
|
|
98
|
+
} if (rf & 2) {
|
|
99
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
100
|
+
i0.ɵɵrepeater(ctx_r1.Subscriptions);
|
|
101
|
+
} }
|
|
102
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_25_Template(rf, ctx) { if (rf & 1) {
|
|
103
|
+
i0.ɵɵelementStart(0, "div", 17);
|
|
104
|
+
i0.ɵɵelement(1, "i", 35);
|
|
105
|
+
i0.ɵɵelementStart(2, "p");
|
|
106
|
+
i0.ɵɵtext(3);
|
|
107
|
+
i0.ɵɵelementEnd()();
|
|
108
|
+
} if (rf & 2) {
|
|
109
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
110
|
+
i0.ɵɵadvance(3);
|
|
111
|
+
i0.ɵɵtextInterpolate1("No active subscriptions on file for this ", ctx_r1.Mode, ".");
|
|
112
|
+
} }
|
|
113
|
+
function PartyOrdersOverviewComponent_Conditional_2_ng_template_43_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
114
|
+
i0.ɵɵelementStart(0, "span", 36);
|
|
115
|
+
i0.ɵɵtext(1);
|
|
116
|
+
i0.ɵɵelementEnd();
|
|
117
|
+
} if (rf & 2) {
|
|
118
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
119
|
+
i0.ɵɵadvance();
|
|
120
|
+
i0.ɵɵtextInterpolate1("", ctx_r1.Orders.length, " Total");
|
|
121
|
+
} }
|
|
122
|
+
function PartyOrdersOverviewComponent_Conditional_2_ng_template_43_Template(rf, ctx) { if (rf & 1) {
|
|
123
|
+
i0.ɵɵconditionalCreate(0, PartyOrdersOverviewComponent_Conditional_2_ng_template_43_Conditional_0_Template, 2, 1, "span", 36);
|
|
124
|
+
} if (rf & 2) {
|
|
125
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
126
|
+
i0.ɵɵconditional(ctx_r1.Orders.length > 0 ? 0 : -1);
|
|
127
|
+
} }
|
|
128
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_44_For_17_Template(rf, ctx) { if (rf & 1) {
|
|
129
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
130
|
+
i0.ɵɵelementStart(0, "tr", 38);
|
|
131
|
+
i0.ɵɵlistener("click", function PartyOrdersOverviewComponent_Conditional_2_Conditional_44_For_17_Template_tr_click_0_listener() { const ord_r7 = i0.ɵɵrestoreView(_r6).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnOrderClick(ord_r7.ID)); });
|
|
132
|
+
i0.ɵɵelementStart(1, "td", 39);
|
|
133
|
+
i0.ɵɵtext(2);
|
|
134
|
+
i0.ɵɵelementEnd();
|
|
135
|
+
i0.ɵɵelementStart(3, "td");
|
|
136
|
+
i0.ɵɵtext(4);
|
|
137
|
+
i0.ɵɵelementEnd();
|
|
138
|
+
i0.ɵɵelementStart(5, "td", 40);
|
|
139
|
+
i0.ɵɵtext(6);
|
|
140
|
+
i0.ɵɵelementEnd();
|
|
141
|
+
i0.ɵɵelementStart(7, "td")(8, "span");
|
|
142
|
+
i0.ɵɵtext(9);
|
|
143
|
+
i0.ɵɵelementEnd()();
|
|
144
|
+
i0.ɵɵelementStart(10, "td")(11, "span");
|
|
145
|
+
i0.ɵɵtext(12);
|
|
146
|
+
i0.ɵɵelementEnd()();
|
|
147
|
+
i0.ɵɵelementStart(13, "td", 41);
|
|
148
|
+
i0.ɵɵelement(14, "i", 42);
|
|
149
|
+
i0.ɵɵelementEnd()();
|
|
150
|
+
} if (rf & 2) {
|
|
151
|
+
const ord_r7 = ctx.$implicit;
|
|
152
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
153
|
+
i0.ɵɵadvance(2);
|
|
154
|
+
i0.ɵɵtextInterpolate(ord_r7.OrderNumber);
|
|
155
|
+
i0.ɵɵadvance(2);
|
|
156
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatDate(ord_r7.OrderDate));
|
|
157
|
+
i0.ɵɵadvance(2);
|
|
158
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatCurrency(ord_r7.TotalGross));
|
|
159
|
+
i0.ɵɵadvance(2);
|
|
160
|
+
i0.ɵɵclassMap(ctx_r1.GetPaymentBadgeClass(ctx_r1.GetPaymentStatus(ord_r7)));
|
|
161
|
+
i0.ɵɵadvance();
|
|
162
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.GetPaymentStatus(ord_r7), " ");
|
|
163
|
+
i0.ɵɵadvance(2);
|
|
164
|
+
i0.ɵɵclassMap(ctx_r1.GetStatusBadgeClass(ord_r7.Status));
|
|
165
|
+
i0.ɵɵadvance();
|
|
166
|
+
i0.ɵɵtextInterpolate1(" ", ord_r7.Status || "Completed", " ");
|
|
167
|
+
} }
|
|
168
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_44_Template(rf, ctx) { if (rf & 1) {
|
|
169
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "table", 37)(2, "thead")(3, "tr")(4, "th");
|
|
170
|
+
i0.ɵɵtext(5, "Order #");
|
|
171
|
+
i0.ɵɵelementEnd();
|
|
172
|
+
i0.ɵɵelementStart(6, "th");
|
|
173
|
+
i0.ɵɵtext(7, "Date");
|
|
174
|
+
i0.ɵɵelementEnd();
|
|
175
|
+
i0.ɵɵelementStart(8, "th");
|
|
176
|
+
i0.ɵɵtext(9, "Amount");
|
|
177
|
+
i0.ɵɵelementEnd();
|
|
178
|
+
i0.ɵɵelementStart(10, "th");
|
|
179
|
+
i0.ɵɵtext(11, "Payment");
|
|
180
|
+
i0.ɵɵelementEnd();
|
|
181
|
+
i0.ɵɵelementStart(12, "th");
|
|
182
|
+
i0.ɵɵtext(13, "Status");
|
|
183
|
+
i0.ɵɵelementEnd();
|
|
184
|
+
i0.ɵɵelement(14, "th");
|
|
185
|
+
i0.ɵɵelementEnd()();
|
|
186
|
+
i0.ɵɵelementStart(15, "tbody");
|
|
187
|
+
i0.ɵɵrepeaterCreate(16, PartyOrdersOverviewComponent_Conditional_2_Conditional_44_For_17_Template, 15, 9, "tr", null, _forTrack1);
|
|
188
|
+
i0.ɵɵelementEnd()()();
|
|
189
|
+
} if (rf & 2) {
|
|
190
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
191
|
+
i0.ɵɵadvance(16);
|
|
192
|
+
i0.ɵɵrepeater(ctx_r1.Orders);
|
|
193
|
+
} }
|
|
194
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_45_Template(rf, ctx) { if (rf & 1) {
|
|
195
|
+
i0.ɵɵelementStart(0, "div", 20);
|
|
196
|
+
i0.ɵɵelement(1, "i", 43);
|
|
197
|
+
i0.ɵɵelementStart(2, "p");
|
|
198
|
+
i0.ɵɵtext(3);
|
|
199
|
+
i0.ɵɵelementEnd()();
|
|
200
|
+
} if (rf & 2) {
|
|
201
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
202
|
+
i0.ɵɵadvance(3);
|
|
203
|
+
i0.ɵɵtextInterpolate1("No orders on file yet for this ", ctx_r1.Mode, ".");
|
|
204
|
+
} }
|
|
205
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_48_For_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
206
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
207
|
+
i0.ɵɵelement(1, "i", 42);
|
|
208
|
+
i0.ɵɵelementEnd();
|
|
209
|
+
} }
|
|
210
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_48_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
211
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
212
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
213
|
+
i0.ɵɵlistener("click", function PartyOrdersOverviewComponent_Conditional_2_Conditional_48_For_1_Template_div_click_0_listener() { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnTimelineItemClick(item_r9)); });
|
|
214
|
+
i0.ɵɵelementStart(1, "div");
|
|
215
|
+
i0.ɵɵelement(2, "i");
|
|
216
|
+
i0.ɵɵelementEnd();
|
|
217
|
+
i0.ɵɵelementStart(3, "div", 46)(4, "h5");
|
|
218
|
+
i0.ɵɵtext(5);
|
|
219
|
+
i0.ɵɵelementEnd();
|
|
220
|
+
i0.ɵɵelementStart(6, "p");
|
|
221
|
+
i0.ɵɵtext(7);
|
|
222
|
+
i0.ɵɵelementEnd();
|
|
223
|
+
i0.ɵɵelementStart(8, "span", 47);
|
|
224
|
+
i0.ɵɵtext(9);
|
|
225
|
+
i0.ɵɵelementEnd()();
|
|
226
|
+
i0.ɵɵconditionalCreate(10, PartyOrdersOverviewComponent_Conditional_2_Conditional_48_For_1_Conditional_10_Template, 2, 0, "div", 48);
|
|
227
|
+
i0.ɵɵelementEnd();
|
|
228
|
+
} if (rf & 2) {
|
|
229
|
+
const item_r9 = ctx.$implicit;
|
|
230
|
+
i0.ɵɵclassProp("mjo-timeline__item--clickable", !!item_r9.EntityName && !!item_r9.RecordID);
|
|
231
|
+
i0.ɵɵadvance();
|
|
232
|
+
i0.ɵɵclassMap(i0.ɵɵinterpolate1("mjo-timeline__icon mjo-timeline__icon--", item_r9.Tone));
|
|
233
|
+
i0.ɵɵadvance();
|
|
234
|
+
i0.ɵɵclassMap(item_r9.Icon);
|
|
235
|
+
i0.ɵɵadvance(3);
|
|
236
|
+
i0.ɵɵtextInterpolate(item_r9.Title);
|
|
237
|
+
i0.ɵɵadvance(2);
|
|
238
|
+
i0.ɵɵtextInterpolate(item_r9.Subtitle);
|
|
239
|
+
i0.ɵɵadvance(2);
|
|
240
|
+
i0.ɵɵtextInterpolate(item_r9.TimeAgo);
|
|
241
|
+
i0.ɵɵadvance();
|
|
242
|
+
i0.ɵɵconditional(item_r9.EntityName && item_r9.RecordID ? 10 : -1);
|
|
243
|
+
} }
|
|
244
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_48_Template(rf, ctx) { if (rf & 1) {
|
|
245
|
+
i0.ɵɵrepeaterCreate(0, PartyOrdersOverviewComponent_Conditional_2_Conditional_48_For_1_Template, 11, 11, "div", 44, _forTrack2);
|
|
246
|
+
} if (rf & 2) {
|
|
247
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
248
|
+
i0.ɵɵrepeater(ctx_r1.Timeline);
|
|
249
|
+
} }
|
|
250
|
+
function PartyOrdersOverviewComponent_Conditional_2_Conditional_49_Template(rf, ctx) { if (rf & 1) {
|
|
251
|
+
i0.ɵɵelementStart(0, "div", 20);
|
|
252
|
+
i0.ɵɵelement(1, "i", 49);
|
|
253
|
+
i0.ɵɵelementStart(2, "p");
|
|
254
|
+
i0.ɵɵtext(3, "No recent touchpoints recorded.");
|
|
255
|
+
i0.ɵɵelementEnd()();
|
|
256
|
+
} }
|
|
257
|
+
function PartyOrdersOverviewComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
258
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
259
|
+
i0.ɵɵelementStart(0, "mj-card-grid", 4);
|
|
260
|
+
i0.ɵɵtwoWayListener("MaximizedCardIdChange", function PartyOrdersOverviewComponent_Conditional_2_Template_mj_card_grid_MaximizedCardIdChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.MaximizedCardId, $event) || (ctx_r1.MaximizedCardId = $event); return i0.ɵɵresetView($event); });
|
|
261
|
+
i0.ɵɵelementStart(1, "mj-card", 5)(2, "div", 6);
|
|
262
|
+
i0.ɵɵconditionalCreate(3, PartyOrdersOverviewComponent_Conditional_2_Conditional_3_Template, 3, 0, "div", 7)(4, PartyOrdersOverviewComponent_Conditional_2_Conditional_4_Template, 4, 0, "div", 8);
|
|
263
|
+
i0.ɵɵelementEnd();
|
|
264
|
+
i0.ɵɵelementStart(5, "div", 9)(6, "div", 10)(7, "span", 11);
|
|
265
|
+
i0.ɵɵtext(8, "Avg Order Value");
|
|
266
|
+
i0.ɵɵelementEnd();
|
|
267
|
+
i0.ɵɵelementStart(9, "span", 12);
|
|
268
|
+
i0.ɵɵtext(10);
|
|
269
|
+
i0.ɵɵelementEnd()();
|
|
270
|
+
i0.ɵɵelementStart(11, "div", 10)(12, "span", 11);
|
|
271
|
+
i0.ɵɵtext(13, "Lifetime Value");
|
|
272
|
+
i0.ɵɵelementEnd();
|
|
273
|
+
i0.ɵɵelementStart(14, "span", 13);
|
|
274
|
+
i0.ɵɵtext(15);
|
|
275
|
+
i0.ɵɵelementEnd()();
|
|
276
|
+
i0.ɵɵelementStart(16, "div", 10)(17, "span", 11);
|
|
277
|
+
i0.ɵɵtext(18, "Payment Terms");
|
|
278
|
+
i0.ɵɵelementEnd();
|
|
279
|
+
i0.ɵɵelementStart(19, "span", 12);
|
|
280
|
+
i0.ɵɵtext(20, "Net 30 ACH");
|
|
281
|
+
i0.ɵɵelementEnd()()()();
|
|
282
|
+
i0.ɵɵelementStart(21, "mj-card", 14);
|
|
283
|
+
i0.ɵɵtemplate(22, PartyOrdersOverviewComponent_Conditional_2_ng_template_22_Template, 2, 1, "ng-template", 15);
|
|
284
|
+
i0.ɵɵelementStart(23, "div", 16);
|
|
285
|
+
i0.ɵɵconditionalCreate(24, PartyOrdersOverviewComponent_Conditional_2_Conditional_24_Template, 2, 0)(25, PartyOrdersOverviewComponent_Conditional_2_Conditional_25_Template, 4, 1, "div", 17);
|
|
286
|
+
i0.ɵɵelementEnd();
|
|
287
|
+
i0.ɵɵelementStart(26, "div", 9)(27, "div", 10)(28, "span", 11);
|
|
288
|
+
i0.ɵɵtext(29, "Active Licenses");
|
|
289
|
+
i0.ɵɵelementEnd();
|
|
290
|
+
i0.ɵɵelementStart(30, "span", 13);
|
|
291
|
+
i0.ɵɵtext(31);
|
|
292
|
+
i0.ɵɵelementEnd()();
|
|
293
|
+
i0.ɵɵelementStart(32, "div", 10)(33, "span", 11);
|
|
294
|
+
i0.ɵɵtext(34, "Billing Cycle");
|
|
295
|
+
i0.ɵɵelementEnd();
|
|
296
|
+
i0.ɵɵelementStart(35, "span", 12);
|
|
297
|
+
i0.ɵɵtext(36);
|
|
298
|
+
i0.ɵɵelementEnd()();
|
|
299
|
+
i0.ɵɵelementStart(37, "div", 10)(38, "span", 11);
|
|
300
|
+
i0.ɵɵtext(39, "Renewal");
|
|
301
|
+
i0.ɵɵelementEnd();
|
|
302
|
+
i0.ɵɵelementStart(40, "span", 12);
|
|
303
|
+
i0.ɵɵtext(41);
|
|
304
|
+
i0.ɵɵelementEnd()()()();
|
|
305
|
+
i0.ɵɵelementStart(42, "mj-card", 18);
|
|
306
|
+
i0.ɵɵtemplate(43, PartyOrdersOverviewComponent_Conditional_2_ng_template_43_Template, 1, 1, "ng-template", 15);
|
|
307
|
+
i0.ɵɵconditionalCreate(44, PartyOrdersOverviewComponent_Conditional_2_Conditional_44_Template, 18, 0, "div", 19)(45, PartyOrdersOverviewComponent_Conditional_2_Conditional_45_Template, 4, 1, "div", 20);
|
|
308
|
+
i0.ɵɵelementEnd();
|
|
309
|
+
i0.ɵɵelementStart(46, "mj-card", 21)(47, "div", 22);
|
|
310
|
+
i0.ɵɵconditionalCreate(48, PartyOrdersOverviewComponent_Conditional_2_Conditional_48_Template, 2, 0)(49, PartyOrdersOverviewComponent_Conditional_2_Conditional_49_Template, 4, 0, "div", 20);
|
|
311
|
+
i0.ɵɵelementEnd()()();
|
|
312
|
+
} if (rf & 2) {
|
|
313
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
314
|
+
i0.ɵɵtwoWayProperty("MaximizedCardId", ctx_r1.MaximizedCardId);
|
|
315
|
+
i0.ɵɵproperty("Columns", 2);
|
|
316
|
+
i0.ɵɵadvance();
|
|
317
|
+
i0.ɵɵproperty("AllowMaximize", true);
|
|
318
|
+
i0.ɵɵadvance(2);
|
|
319
|
+
i0.ɵɵconditional(ctx_r1.SpendMonths.length > 0 ? 3 : 4);
|
|
320
|
+
i0.ɵɵadvance(7);
|
|
321
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatCurrency(ctx_r1.AvgOrderValue));
|
|
322
|
+
i0.ɵɵadvance(5);
|
|
323
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatCurrency(ctx_r1.LifetimeValue));
|
|
324
|
+
i0.ɵɵadvance(6);
|
|
325
|
+
i0.ɵɵproperty("AllowMaximize", true);
|
|
326
|
+
i0.ɵɵadvance(3);
|
|
327
|
+
i0.ɵɵconditional(ctx_r1.Subscriptions.length > 0 ? 24 : 25);
|
|
328
|
+
i0.ɵɵadvance(7);
|
|
329
|
+
i0.ɵɵtextInterpolate1("", ctx_r1.Subscriptions.length, " Active");
|
|
330
|
+
i0.ɵɵadvance(5);
|
|
331
|
+
i0.ɵɵtextInterpolate(ctx_r1.Subscriptions.length > 0 ? ctx_r1.Subscriptions[0].SubscriptionType || "Annual" : "\u2014");
|
|
332
|
+
i0.ɵɵadvance(5);
|
|
333
|
+
i0.ɵɵtextInterpolate(ctx_r1.Subscriptions.length > 0 && ctx_r1.Subscriptions[0].AutoRenew ? "Auto-Renew" : "Manual");
|
|
334
|
+
i0.ɵɵadvance();
|
|
335
|
+
i0.ɵɵproperty("AllowMaximize", true);
|
|
336
|
+
i0.ɵɵadvance(2);
|
|
337
|
+
i0.ɵɵconditional(ctx_r1.Orders.length > 0 ? 44 : 45);
|
|
338
|
+
i0.ɵɵadvance(2);
|
|
339
|
+
i0.ɵɵproperty("AllowMaximize", true);
|
|
340
|
+
i0.ɵɵadvance(2);
|
|
341
|
+
i0.ɵɵconditional(ctx_r1.Timeline.length > 0 ? 48 : 49);
|
|
342
|
+
} }
|
|
343
|
+
export class PartyOrdersOverviewComponent {
|
|
344
|
+
Mode = 'person';
|
|
345
|
+
PartyID;
|
|
346
|
+
FormComponent;
|
|
347
|
+
Provider;
|
|
348
|
+
RunQueryProvider;
|
|
349
|
+
navigationService = inject(NavigationService, { optional: true });
|
|
350
|
+
cdr = inject(ChangeDetectorRef);
|
|
351
|
+
Loading = true;
|
|
352
|
+
MaximizedCardId = null;
|
|
353
|
+
Orders = [];
|
|
354
|
+
Subscriptions = [];
|
|
355
|
+
SpendMonths = [];
|
|
356
|
+
AvgOrderValue = 0;
|
|
357
|
+
LifetimeValue = 0;
|
|
358
|
+
Timeline = [];
|
|
359
|
+
async ngOnInit() {
|
|
360
|
+
if (!this.PartyID) {
|
|
361
|
+
this.Loading = false;
|
|
362
|
+
this.cdr.detectChanges();
|
|
363
|
+
return;
|
|
364
|
+
}
|
|
365
|
+
await this.LoadOverviewData();
|
|
366
|
+
this.cdr.detectChanges();
|
|
367
|
+
}
|
|
368
|
+
async LoadOverviewData() {
|
|
369
|
+
this.Loading = true;
|
|
370
|
+
this.cdr.detectChanges();
|
|
371
|
+
try {
|
|
372
|
+
const runQueryProvider = this.RunQueryProvider || this.FormComponent?.RunQueryToUse;
|
|
373
|
+
if (runQueryProvider) {
|
|
374
|
+
const rq = new RunQuery(runQueryProvider);
|
|
375
|
+
const queryResult = await rq.RunQuery({
|
|
376
|
+
QueryName: 'Party Orders Overview',
|
|
377
|
+
CategoryPath: 'Orders',
|
|
378
|
+
Parameters: {
|
|
379
|
+
PartyKind: this.Mode,
|
|
380
|
+
PartyID: this.PartyID,
|
|
381
|
+
},
|
|
382
|
+
});
|
|
383
|
+
if (queryResult.Success && queryResult.Results && queryResult.Results.length > 0) {
|
|
384
|
+
const row = queryResult.Results[0];
|
|
385
|
+
const getField = (name) => row[name] ?? row[name.toLowerCase()] ?? row[name.toUpperCase()];
|
|
386
|
+
this.LifetimeValue = Number(getField('LifetimeValue')) || 0;
|
|
387
|
+
this.AvgOrderValue = Number(getField('AvgOrderValue')) || 0;
|
|
388
|
+
// Parse Recent Orders JSON
|
|
389
|
+
this.Orders = this.ParseJsonArray(getField('RecentOrdersJson'));
|
|
390
|
+
// Parse Active Subscriptions JSON
|
|
391
|
+
this.Subscriptions = this.ParseJsonArray(getField('ActiveSubscriptionsJson'));
|
|
392
|
+
// Parse Monthly Trajectory JSON
|
|
393
|
+
const trajectory = this.ParseJsonArray(getField('MonthlyTrajectoryJson'));
|
|
394
|
+
this.ProcessSpendTrajectory(trajectory);
|
|
395
|
+
// Synthesize Activity Timeline
|
|
396
|
+
this.SynthesizeTimeline();
|
|
397
|
+
return;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
// Fallback via RunView if query is not available
|
|
401
|
+
await this.LoadViaRunView();
|
|
402
|
+
}
|
|
403
|
+
catch (e) {
|
|
404
|
+
console.error('Error loading party orders overview data:', e);
|
|
405
|
+
await this.LoadViaRunView();
|
|
406
|
+
}
|
|
407
|
+
finally {
|
|
408
|
+
this.Loading = false;
|
|
409
|
+
this.cdr.detectChanges();
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
async LoadViaRunView() {
|
|
413
|
+
const provider = (this.Provider || this.FormComponent?.ProviderToUse);
|
|
414
|
+
if (!provider)
|
|
415
|
+
return;
|
|
416
|
+
try {
|
|
417
|
+
const filterField = this.Mode === 'person' ? 'BillToPersonID' : 'BillToOrganizationID';
|
|
418
|
+
const subField = this.Mode === 'person' ? 'BeneficiaryPersonID' : 'HolderOrganizationID';
|
|
419
|
+
const rv = new RunView(provider);
|
|
420
|
+
const [ordersRes, subsRes] = await Promise.all([
|
|
421
|
+
rv.RunView({
|
|
422
|
+
EntityName: MJO_ENTITIES.OrderHeader,
|
|
423
|
+
ExtraFilter: `${filterField} = '${this.PartyID}' AND Status <> 'Voided'`,
|
|
424
|
+
OrderBy: 'OrderDate DESC',
|
|
425
|
+
MaxRows: 6,
|
|
426
|
+
ResultType: 'simple',
|
|
427
|
+
}),
|
|
428
|
+
rv.RunView({
|
|
429
|
+
EntityName: MJO_ENTITIES.Subscription,
|
|
430
|
+
ExtraFilter: `${subField} = '${this.PartyID}' AND Status = 'Active'`,
|
|
431
|
+
OrderBy: 'StartDate DESC',
|
|
432
|
+
MaxRows: 4,
|
|
433
|
+
ResultType: 'simple',
|
|
434
|
+
}),
|
|
435
|
+
]);
|
|
436
|
+
if (ordersRes.Success && ordersRes.Results) {
|
|
437
|
+
this.Orders = ordersRes.Results;
|
|
438
|
+
let total = 0;
|
|
439
|
+
this.Orders.forEach(o => { total += Number(o.TotalGross) || 0; });
|
|
440
|
+
this.LifetimeValue = total;
|
|
441
|
+
this.AvgOrderValue = this.Orders.length > 0 ? total / this.Orders.length : 0;
|
|
442
|
+
}
|
|
443
|
+
if (subsRes.Success && subsRes.Results) {
|
|
444
|
+
this.Subscriptions = subsRes.Results;
|
|
445
|
+
}
|
|
446
|
+
this.ProcessSpendTrajectory([]);
|
|
447
|
+
this.SynthesizeTimeline();
|
|
448
|
+
this.cdr.detectChanges();
|
|
449
|
+
}
|
|
450
|
+
catch (err) {
|
|
451
|
+
console.error('Error in LoadViaRunView fallback:', err);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
ParseJsonArray(val) {
|
|
455
|
+
if (!val)
|
|
456
|
+
return [];
|
|
457
|
+
if (Array.isArray(val))
|
|
458
|
+
return val;
|
|
459
|
+
if (typeof val === 'string') {
|
|
460
|
+
try {
|
|
461
|
+
const parsed = JSON.parse(val);
|
|
462
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
463
|
+
}
|
|
464
|
+
catch {
|
|
465
|
+
return [];
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
return [];
|
|
469
|
+
}
|
|
470
|
+
ProcessSpendTrajectory(months) {
|
|
471
|
+
const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
472
|
+
const fullNames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
|
|
473
|
+
const now = new Date();
|
|
474
|
+
const monthBuckets = [];
|
|
475
|
+
const monthMap = new Map();
|
|
476
|
+
for (let i = 5; i >= 0; i--) {
|
|
477
|
+
const d = new Date(now.getFullYear(), now.getMonth() - i, 1);
|
|
478
|
+
const key = `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}`;
|
|
479
|
+
const item = {
|
|
480
|
+
MonthLabel: `${fullNames[d.getMonth()]} ${d.getFullYear()}`,
|
|
481
|
+
MonthShort: monthNames[d.getMonth()],
|
|
482
|
+
Amount: 0,
|
|
483
|
+
HeightPct: 4,
|
|
484
|
+
IsPeak: false,
|
|
485
|
+
};
|
|
486
|
+
monthBuckets.push(item);
|
|
487
|
+
monthMap.set(key, item);
|
|
488
|
+
}
|
|
489
|
+
// Merge query results if present
|
|
490
|
+
if (months && months.length > 0) {
|
|
491
|
+
months.forEach(m => {
|
|
492
|
+
const found = monthBuckets.find(b => b.MonthShort === m.MonthShort);
|
|
493
|
+
if (found) {
|
|
494
|
+
found.Amount = Number(m.Amount) || 0;
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
// Aggregate orders to ensure live correctness for current and previous months
|
|
499
|
+
if (this.Orders && this.Orders.length > 0) {
|
|
500
|
+
this.Orders.forEach(o => {
|
|
501
|
+
if (!o.OrderDate)
|
|
502
|
+
return;
|
|
503
|
+
const d = o.OrderDate instanceof Date ? o.OrderDate : new Date(o.OrderDate);
|
|
504
|
+
if (isNaN(d.getTime()))
|
|
505
|
+
return;
|
|
506
|
+
const key = `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}`;
|
|
507
|
+
const found = monthMap.get(key);
|
|
508
|
+
if (found) {
|
|
509
|
+
const amt = Number(o.TotalGross) || 0;
|
|
510
|
+
if (found.Amount < amt) {
|
|
511
|
+
found.Amount = amt;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
let maxVal = 0;
|
|
517
|
+
monthBuckets.forEach(m => {
|
|
518
|
+
if (m.Amount > maxVal)
|
|
519
|
+
maxVal = m.Amount;
|
|
520
|
+
});
|
|
521
|
+
monthBuckets.forEach(m => {
|
|
522
|
+
if (maxVal > 0 && m.Amount > 0) {
|
|
523
|
+
m.HeightPct = Math.max(16, Math.round((m.Amount / maxVal) * 100));
|
|
524
|
+
m.IsPeak = m.Amount === maxVal;
|
|
525
|
+
}
|
|
526
|
+
else {
|
|
527
|
+
m.HeightPct = 4;
|
|
528
|
+
m.IsPeak = false;
|
|
529
|
+
}
|
|
530
|
+
});
|
|
531
|
+
this.SpendMonths = monthBuckets;
|
|
532
|
+
}
|
|
533
|
+
SynthesizeTimeline() {
|
|
534
|
+
const list = [];
|
|
535
|
+
if (this.Orders.length > 0) {
|
|
536
|
+
this.Orders.forEach(ord => {
|
|
537
|
+
list.push({
|
|
538
|
+
Title: `Order ${ord.OrderNumber} ${ord.Status || 'Confirmed'}`,
|
|
539
|
+
Subtitle: `${this.FormatCurrency(ord.TotalGross)} • ${this.GetPaymentStatus(ord)}`,
|
|
540
|
+
TimeAgo: this.FormatDate(ord.OrderDate),
|
|
541
|
+
Icon: 'fa-solid fa-cart-shopping',
|
|
542
|
+
Tone: 'success',
|
|
543
|
+
EntityName: MJO_ENTITIES.OrderHeader,
|
|
544
|
+
RecordID: ord.ID,
|
|
545
|
+
});
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
if (this.Subscriptions.length > 0) {
|
|
549
|
+
this.Subscriptions.forEach(sub => {
|
|
550
|
+
const name = sub.Product || sub.SubscriptionType || ('Subscription #' + sub.SubscriptionNumber);
|
|
551
|
+
list.push({
|
|
552
|
+
Title: `Subscription Active: ${name}`,
|
|
553
|
+
Subtitle: sub.EndDate ? `Renews ${this.FormatDate(sub.EndDate)}` : 'Active Term',
|
|
554
|
+
TimeAgo: sub.StartDate ? this.FormatDate(sub.StartDate) : 'Active',
|
|
555
|
+
Icon: 'fa-solid fa-rotate',
|
|
556
|
+
Tone: 'primary',
|
|
557
|
+
EntityName: MJO_ENTITIES.Subscription,
|
|
558
|
+
RecordID: sub.ID,
|
|
559
|
+
});
|
|
560
|
+
});
|
|
561
|
+
}
|
|
562
|
+
if (list.length === 0) {
|
|
563
|
+
list.push({
|
|
564
|
+
Title: 'Account Provisioned',
|
|
565
|
+
Subtitle: 'Customer record active and synchronized.',
|
|
566
|
+
TimeAgo: 'Initial',
|
|
567
|
+
Icon: 'fa-solid fa-circle-check',
|
|
568
|
+
Tone: 'info',
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
this.Timeline = list;
|
|
572
|
+
}
|
|
573
|
+
OnTimelineItemClick(item) {
|
|
574
|
+
if (!item.EntityName || !item.RecordID)
|
|
575
|
+
return;
|
|
576
|
+
const pk = CompositeKey.FromID(item.RecordID);
|
|
577
|
+
if (this.navigationService) {
|
|
578
|
+
this.navigationService.OpenEntityRecord(item.EntityName, pk);
|
|
579
|
+
}
|
|
580
|
+
else if (this.FormComponent) {
|
|
581
|
+
this.FormComponent.OnFormNavigate({
|
|
582
|
+
Kind: 'record',
|
|
583
|
+
EntityName: item.EntityName,
|
|
584
|
+
PrimaryKey: pk,
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
OnOrderClick(orderId) {
|
|
589
|
+
if (!orderId)
|
|
590
|
+
return;
|
|
591
|
+
const pk = CompositeKey.FromID(orderId);
|
|
592
|
+
if (this.navigationService) {
|
|
593
|
+
this.navigationService.OpenEntityRecord(MJO_ENTITIES.OrderHeader, pk);
|
|
594
|
+
}
|
|
595
|
+
else if (this.FormComponent) {
|
|
596
|
+
this.FormComponent.OnFormNavigate({
|
|
597
|
+
Kind: 'record',
|
|
598
|
+
EntityName: MJO_ENTITIES.OrderHeader,
|
|
599
|
+
PrimaryKey: pk,
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
OnSubClick(subId) {
|
|
604
|
+
if (!subId)
|
|
605
|
+
return;
|
|
606
|
+
const pk = CompositeKey.FromID(subId);
|
|
607
|
+
if (this.navigationService) {
|
|
608
|
+
this.navigationService.OpenEntityRecord(MJO_ENTITIES.Subscription, pk);
|
|
609
|
+
}
|
|
610
|
+
else if (this.FormComponent) {
|
|
611
|
+
this.FormComponent.OnFormNavigate({
|
|
612
|
+
Kind: 'record',
|
|
613
|
+
EntityName: MJO_ENTITIES.Subscription,
|
|
614
|
+
PrimaryKey: pk,
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
OnActionClick(action) {
|
|
619
|
+
if (action === 'quote' && this.navigationService) {
|
|
620
|
+
this.navigationService.OpenEntityRecord(MJO_ENTITIES.OrderHeader, new CompositeKey());
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
FormatCurrency(val) {
|
|
624
|
+
return FormatMoney(val || 0, { Round: true, Zero: '$0' });
|
|
625
|
+
}
|
|
626
|
+
FormatDate(d) {
|
|
627
|
+
if (!d)
|
|
628
|
+
return '—';
|
|
629
|
+
const date = d instanceof Date ? d : new Date(d);
|
|
630
|
+
if (isNaN(date.getTime()))
|
|
631
|
+
return '—';
|
|
632
|
+
return date.toLocaleDateString(undefined, { month: 'short', day: 'numeric', year: 'numeric' });
|
|
633
|
+
}
|
|
634
|
+
GetPaymentStatus(ord) {
|
|
635
|
+
if (ord.IsOverdue === true || ord.IsOverdue === 1)
|
|
636
|
+
return 'Overdue';
|
|
637
|
+
const bal = ord.Balance != null ? Number(ord.Balance) : (Number(ord.TotalGross ?? 0) - Number(ord.AmountPaid ?? 0));
|
|
638
|
+
const paid = Number(ord.AmountPaid ?? 0);
|
|
639
|
+
const gross = Number(ord.TotalGross ?? 0);
|
|
640
|
+
if (bal <= 0 && gross > 0)
|
|
641
|
+
return 'Paid';
|
|
642
|
+
if (paid > 0)
|
|
643
|
+
return 'PartiallyPaid';
|
|
644
|
+
return 'Unpaid';
|
|
645
|
+
}
|
|
646
|
+
GetPaymentBadgeClass(status) {
|
|
647
|
+
switch ((status || '').toLowerCase()) {
|
|
648
|
+
case 'paid': return 'mjo-badge mjo-badge--green';
|
|
649
|
+
case 'partiallypaid': return 'mjo-badge mjo-badge--amber';
|
|
650
|
+
case 'overdue': return 'mjo-badge mjo-badge--amber';
|
|
651
|
+
default: return 'mjo-badge mjo-badge--blue';
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
GetStatusBadgeClass(status) {
|
|
655
|
+
switch ((status || '').toLowerCase()) {
|
|
656
|
+
case 'confirmed':
|
|
657
|
+
case 'fulfilled': return 'mjo-badge mjo-badge--green';
|
|
658
|
+
case 'pending': return 'mjo-badge mjo-badge--blue';
|
|
659
|
+
case 'cancelled': return 'mjo-badge mjo-badge--gray';
|
|
660
|
+
default: return 'mjo-badge mjo-badge--blue';
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
static ɵfac = function PartyOrdersOverviewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PartyOrdersOverviewComponent)(); };
|
|
664
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PartyOrdersOverviewComponent, selectors: [["mjo-party-orders-overview"]], inputs: { Mode: "Mode", PartyID: "PartyID", FormComponent: "FormComponent", Provider: "Provider", RunQueryProvider: "RunQueryProvider" }, decls: 3, vars: 1, consts: [[1, "mjo-overview"], [1, "mjo-overview__loading"], ["Gap", "var(--mj-space-4, 16px)", 3, "MaximizedCardId", "Columns"], [1, "mjo-overview__spinner"], ["Gap", "var(--mj-space-4, 16px)", 3, "MaximizedCardIdChange", "MaximizedCardId", "Columns"], ["CardId", "trajectory", "Title", "Revenue & Order Trajectory", "Subtitle", "Last 6 Months", "Icon", "fa-solid fa-chart-area", 3, "AllowMaximize"], [1, "mjo-chart"], [1, "mjo-chart__bars"], [1, "mjo-chart__empty"], [1, "mjo-chart__footer"], [1, "mjo-chart__metric"], [1, "mjo-chart__metric-label"], [1, "mjo-chart__metric-val"], [1, "mjo-chart__metric-val", "mjo-chart__metric-val--success"], ["CardId", "subscriptions", "Title", "Active Subscriptions & Licenses", "Icon", "fa-solid fa-rotate", 3, "AllowMaximize"], ["mjCardTools", ""], [1, "mjo-sub-list"], [1, "mjo-empty-state", 2, "padding", "20px 12px"], ["CardId", "recent-orders", "Title", "Recent Orders & Invoices", "Icon", "fa-solid fa-receipt", 3, "AllowMaximize"], [1, "mjo-table-wrap"], [1, "mjo-empty-state"], ["CardId", "touchpoints", "Title", "Recent Touchpoints", "Icon", "fa-solid fa-bolt-lightning", 3, "AllowMaximize"], [1, "mjo-timeline"], [1, "mjo-chart__bar-group"], [1, "mjo-chart__tooltip"], [1, "mjo-chart__bar"], [1, "mjo-chart__label"], [1, "fa-solid", "fa-chart-line"], [1, "mjo-badge", "mjo-badge--green"], [1, "mjo-sub-item"], [1, "mjo-sub-item", 3, "click"], [1, "mjo-sub-item__info"], [1, "mjo-sub-item__badge"], [1, "mjo-badge", "mjo-badge--pill"], [1, "fa-solid", "fa-circle-check"], [1, "fa-solid", "fa-rotate"], [1, "mjo-card__count"], [1, "mjo-table"], [3, "click"], [1, "mjo-table__order-num"], [1, "mjo-table__amount"], [1, "mjo-table__action"], [1, "fa-solid", "fa-arrow-up-right-from-square"], [1, "fa-solid", "fa-shopping-cart"], [1, "mjo-timeline__item", 3, "mjo-timeline__item--clickable"], [1, "mjo-timeline__item", 3, "click"], [1, "mjo-timeline__content"], [1, "mjo-timeline__time"], [1, "mjo-timeline__arrow"], [1, "fa-solid", "fa-bolt-lightning"]], template: function PartyOrdersOverviewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
665
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
666
|
+
i0.ɵɵconditionalCreate(1, PartyOrdersOverviewComponent_Conditional_1_Template, 4, 0, "div", 1)(2, PartyOrdersOverviewComponent_Conditional_2_Template, 50, 15, "mj-card-grid", 2);
|
|
667
|
+
i0.ɵɵelementEnd();
|
|
668
|
+
} if (rf & 2) {
|
|
669
|
+
i0.ɵɵadvance();
|
|
670
|
+
i0.ɵɵconditional(ctx.Loading ? 1 : 2);
|
|
671
|
+
} }, dependencies: [CommonModule,
|
|
672
|
+
MJCardGridComponent,
|
|
673
|
+
MJCardComponent,
|
|
674
|
+
MJCardToolsDirective], styles: ["[_nghost-%COMP%] {\n display: block;\n width: 100%;\n }\n\n .mjo-overview[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4, 16px);\n padding: var(--mj-space-2, 8px) 0;\n }\n\n .mjo-overview__loading[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n padding: 48px 24px;\n color: var(--mj-text-secondary);\n font-size: 13px;\n }\n\n .mjo-overview__spinner[_ngcontent-%COMP%] {\n width: 20px;\n height: 20px;\n border: 2px solid var(--mj-border-default);\n border-top-color: var(--mj-brand-primary, #38bdf8);\n border-radius: 50%;\n animation: _ngcontent-%COMP%_mjo-spin 0.8s linear infinite;\n }\n\n @keyframes _ngcontent-%COMP%_mjo-spin {\n to { transform: rotate(360deg); }\n }\n\n .mjo-card__count[_ngcontent-%COMP%] {\n font-size: 11.5px;\n font-weight: 700;\n color: var(--mj-text-muted);\n background: var(--mj-bg-surface-sunken);\n padding: 2px 8px;\n border-radius: var(--mj-radius-pill, 9999px);\n }\n\n \n\n .mjo-chart[_ngcontent-%COMP%] {\n height: 160px;\n display: flex;\n align-items: flex-end;\n position: relative;\n padding-top: 24px;\n }\n\n .mjo-chart__bars[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n gap: 12px;\n }\n\n .mjo-chart__bar-group[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 6px;\n height: 100%;\n justify-content: flex-end;\n position: relative;\n cursor: pointer;\n }\n\n .mjo-chart__bar[_ngcontent-%COMP%] {\n width: 100%;\n max-width: 36px;\n min-height: 4px;\n border-radius: 6px 6px 0 0;\n background: linear-gradient(180deg, #38bdf8 0%, rgba(56, 189, 248, 0.35) 100%);\n transition: all 0.2s ease;\n }\n\n .mjo-chart__bar--highlight[_ngcontent-%COMP%] {\n background: linear-gradient(180deg, #10b981 0%, rgba(16, 185, 129, 0.35) 100%);\n }\n\n .mjo-chart__bar-group[_ngcontent-%COMP%]:hover .mjo-chart__bar[_ngcontent-%COMP%] {\n filter: brightness(1.2);\n transform: scaleY(1.04);\n }\n\n .mjo-chart__label[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-text-muted);\n font-weight: 600;\n }\n\n .mjo-chart__tooltip[_ngcontent-%COMP%] {\n position: absolute;\n top: -12px;\n background: var(--mj-bg-surface-elevated, #1e293b);\n border: 1px solid var(--mj-border-default);\n padding: 3px 8px;\n border-radius: 6px;\n font-size: 11px;\n font-weight: 700;\n color: #ffffff;\n white-space: nowrap;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.15s ease;\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);\n z-index: 10;\n }\n\n .mjo-chart__bar-group[_ngcontent-%COMP%]:hover .mjo-chart__tooltip[_ngcontent-%COMP%] {\n opacity: 1;\n }\n\n .mjo-chart__empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 8px;\n color: var(--mj-text-muted);\n font-size: 12px;\n }\n\n .mjo-chart__footer[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-top: 12px;\n border-top: 1px solid var(--mj-border-default);\n gap: 12px;\n flex-wrap: wrap;\n margin-top: auto;\n }\n\n .mjo-chart__metric[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 2px;\n }\n\n .mjo-chart__metric-label[_ngcontent-%COMP%] {\n font-size: 10.5px;\n font-weight: 700;\n color: var(--mj-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n }\n\n .mjo-chart__metric-val[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: 800;\n font-variant-numeric: tabular-nums;\n color: var(--mj-text-primary);\n }\n\n .mjo-chart__metric-val--success[_ngcontent-%COMP%] {\n color: var(--mj-status-success, #10b981);\n }\n\n \n\n .mjo-sub-list[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n\n .mjo-sub-item[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-sunken, #090e17);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 10px);\n padding: 10px 14px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n cursor: pointer;\n transition: all 0.15s ease;\n }\n\n .mjo-sub-item[_ngcontent-%COMP%]:hover {\n border-color: var(--mj-brand-primary, #38bdf8);\n transform: translateY(-1px);\n }\n\n .mjo-sub-item__info[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] {\n font-size: 12.5px;\n font-weight: 700;\n color: var(--mj-text-primary);\n margin: 0 0 2px 0;\n }\n\n .mjo-sub-item__info[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n font-size: 11.5px;\n color: var(--mj-text-secondary);\n margin: 0;\n }\n\n \n\n .mjo-ai-box[_ngcontent-%COMP%] {\n background: linear-gradient(135deg, color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface-card)) 0%, color-mix(in srgb, #6366f1 10%, var(--mj-bg-surface-card)) 100%);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 30%, transparent);\n border-radius: var(--mj-radius-md, 10px);\n padding: 12px 14px;\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin-top: 10px;\n }\n\n .mjo-ai-box__header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n font-weight: 700;\n color: var(--mj-brand-primary, #38bdf8);\n }\n\n .mjo-ai-box__text[_ngcontent-%COMP%] {\n font-size: 11.5px;\n color: var(--mj-text-secondary);\n line-height: 1.45;\n margin: 0;\n }\n\n .mjo-ai-box__actions[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 4px;\n }\n\n \n\n .mjo-table-wrap[_ngcontent-%COMP%] {\n overflow-x: auto;\n }\n\n .mjo-table[_ngcontent-%COMP%] {\n width: 100%;\n border-collapse: collapse;\n font-size: 12px;\n }\n\n .mjo-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n text-align: left;\n padding: 6px 10px;\n font-size: 10.5px;\n font-weight: 700;\n color: var(--mj-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n border-bottom: 1px solid var(--mj-border-default);\n }\n\n .mjo-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: 8px 10px;\n border-bottom: 1px solid var(--mj-border-subtle, var(--mj-border-default));\n color: var(--mj-text-secondary);\n }\n\n .mjo-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%] {\n background: var(--mj-bg-hover, rgba(255, 255, 255, 0.04));\n color: var(--mj-text-primary);\n cursor: pointer;\n }\n\n .mjo-table__order-num[_ngcontent-%COMP%] {\n font-family: var(--mj-font-mono, monospace);\n font-weight: 600;\n color: var(--mj-brand-primary, #38bdf8);\n }\n\n .mjo-table__amount[_ngcontent-%COMP%] {\n font-family: var(--mj-font-mono, monospace);\n font-weight: 700;\n color: var(--mj-text-primary);\n }\n\n .mjo-table__action[_ngcontent-%COMP%] {\n text-align: right;\n color: var(--mj-text-muted);\n }\n\n .mjo-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover .mjo-table__action[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary, #38bdf8);\n }\n\n \n\n .mjo-timeline[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 6px;\n max-height: 220px;\n overflow-y: auto;\n padding-right: 4px;\n scrollbar-width: thin;\n }\n\n .mjo-timeline[_ngcontent-%COMP%]::-webkit-scrollbar {\n width: 4px;\n }\n\n .mjo-timeline[_ngcontent-%COMP%]::-webkit-scrollbar-track {\n background: transparent;\n }\n\n .mjo-timeline[_ngcontent-%COMP%]::-webkit-scrollbar-thumb {\n background: var(--mj-border-default, #2a3852);\n border-radius: 4px;\n }\n\n .mjo-timeline__item[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 8px 10px;\n border-radius: var(--mj-radius-md, 8px);\n border: 1px solid transparent;\n transition: all 0.15s ease;\n }\n\n .mjo-timeline__item--clickable[_ngcontent-%COMP%] {\n cursor: pointer;\n }\n\n .mjo-timeline__item--clickable[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-sunken, #090e17);\n border-color: var(--mj-border-default, #2a3852);\n transform: translateX(2px);\n }\n\n .mjo-timeline__icon[_ngcontent-%COMP%] {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n background: var(--mj-bg-surface-sunken);\n border: 1px solid var(--mj-border-default);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 11.5px;\n flex-shrink: 0;\n }\n\n .mjo-timeline__icon--info[_ngcontent-%COMP%] { color: #38bdf8; }\n .mjo-timeline__icon--success[_ngcontent-%COMP%] { color: #10b981; }\n .mjo-timeline__icon--warning[_ngcontent-%COMP%] { color: #f59e0b; }\n .mjo-timeline__icon--primary[_ngcontent-%COMP%] { color: #818cf8; }\n\n .mjo-timeline__content[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n }\n\n .mjo-timeline__content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] {\n font-size: 12px;\n font-weight: 600;\n color: var(--mj-text-primary);\n margin: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .mjo-timeline__content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-text-secondary);\n margin: 2px 0 0 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .mjo-timeline__time[_ngcontent-%COMP%] {\n font-size: 10px;\n color: var(--mj-text-muted);\n display: block;\n margin-top: 1px;\n }\n\n .mjo-timeline__arrow[_ngcontent-%COMP%] {\n font-size: 10px;\n color: var(--mj-text-muted);\n opacity: 0;\n transition: opacity 0.15s ease, color 0.15s ease;\n flex-shrink: 0;\n }\n\n .mjo-timeline__item--clickable[_ngcontent-%COMP%]:hover .mjo-timeline__arrow[_ngcontent-%COMP%] {\n opacity: 1;\n color: var(--mj-brand-primary, #38bdf8);\n }\n\n \n\n .mjo-badge[_ngcontent-%COMP%] {\n font-size: 10.5px;\n font-weight: 700;\n padding: 2px 7px;\n border-radius: 4px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n }\n\n .mjo-badge--pill[_ngcontent-%COMP%] { border-radius: var(--mj-radius-pill, 9999px); }\n .mjo-badge--green[_ngcontent-%COMP%] { background: rgba(16, 185, 129, 0.15); color: #10b981; }\n .mjo-badge--blue[_ngcontent-%COMP%] { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }\n .mjo-badge--amber[_ngcontent-%COMP%] { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }\n .mjo-badge--gray[_ngcontent-%COMP%] { background: var(--mj-bg-surface-sunken); color: var(--mj-text-muted); border: 1px solid var(--mj-border-default); }\n\n .mjo-btn[_ngcontent-%COMP%] {\n border: none;\n font-family: inherit;\n font-weight: 600;\n border-radius: var(--mj-radius-sm, 6px);\n cursor: pointer;\n transition: all 0.15s ease;\n }\n\n .mjo-btn--sm[_ngcontent-%COMP%] {\n font-size: 11px;\n padding: 4px 10px;\n }\n\n .mjo-btn--primary[_ngcontent-%COMP%] {\n background: var(--mj-brand-primary, #38bdf8);\n color: var(--mj-text-inverse, #0f172a);\n }\n\n .mjo-btn--ghost[_ngcontent-%COMP%] {\n background: transparent;\n color: var(--mj-text-muted);\n }\n\n .mjo-btn--ghost[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-primary);\n }\n\n .mjo-empty-state[_ngcontent-%COMP%] {\n padding: 32px 16px;\n text-align: center;\n color: var(--mj-text-muted);\n font-size: 12px;\n }\n\n .mjo-empty-state[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 24px;\n margin-bottom: 8px;\n opacity: 0.5;\n display: block;\n }"], changeDetection: 0 });
|
|
675
|
+
}
|
|
676
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PartyOrdersOverviewComponent, [{
|
|
677
|
+
type: Component,
|
|
678
|
+
args: [{ selector: 'mjo-party-orders-overview', standalone: true, imports: [
|
|
679
|
+
CommonModule,
|
|
680
|
+
MJCardGridComponent,
|
|
681
|
+
MJCardComponent,
|
|
682
|
+
MJCardToolsDirective,
|
|
683
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
684
|
+
<div class="mjo-overview">
|
|
685
|
+
@if (Loading) {
|
|
686
|
+
<div class="mjo-overview__loading">
|
|
687
|
+
<div class="mjo-overview__spinner"></div>
|
|
688
|
+
<span>Loading account overview & order intelligence...</span>
|
|
689
|
+
</div>
|
|
690
|
+
} @else {
|
|
691
|
+
<mj-card-grid [(MaximizedCardId)]="MaximizedCardId" [Columns]="2" Gap="var(--mj-space-4, 16px)">
|
|
692
|
+
|
|
693
|
+
<!-- 1. Spend & Revenue Trajectory Chart Card -->
|
|
694
|
+
<mj-card CardId="trajectory"
|
|
695
|
+
Title="Revenue & Order Trajectory"
|
|
696
|
+
Subtitle="Last 6 Months"
|
|
697
|
+
Icon="fa-solid fa-chart-area"
|
|
698
|
+
[AllowMaximize]="true">
|
|
699
|
+
|
|
700
|
+
<div class="mjo-chart">
|
|
701
|
+
@if (SpendMonths.length > 0) {
|
|
702
|
+
<div class="mjo-chart__bars">
|
|
703
|
+
@for (m of SpendMonths; track m.MonthShort) {
|
|
704
|
+
<div class="mjo-chart__bar-group">
|
|
705
|
+
<div class="mjo-chart__tooltip">
|
|
706
|
+
{{ FormatCurrency(m.Amount) }} ({{ m.MonthLabel }})
|
|
707
|
+
</div>
|
|
708
|
+
<div class="mjo-chart__bar"
|
|
709
|
+
[class.mjo-chart__bar--highlight]="m.IsPeak"
|
|
710
|
+
[style.height.%]="m.HeightPct">
|
|
711
|
+
</div>
|
|
712
|
+
<span class="mjo-chart__label">{{ m.MonthShort }}</span>
|
|
713
|
+
</div>
|
|
714
|
+
}
|
|
715
|
+
</div>
|
|
716
|
+
} @else {
|
|
717
|
+
<div class="mjo-chart__empty">
|
|
718
|
+
<i class="fa-solid fa-chart-line"></i>
|
|
719
|
+
<span>No completed orders in the last 6 months</span>
|
|
720
|
+
</div>
|
|
721
|
+
}
|
|
722
|
+
</div>
|
|
723
|
+
|
|
724
|
+
<div class="mjo-chart__footer">
|
|
725
|
+
<div class="mjo-chart__metric">
|
|
726
|
+
<span class="mjo-chart__metric-label">Avg Order Value</span>
|
|
727
|
+
<span class="mjo-chart__metric-val">{{ FormatCurrency(AvgOrderValue) }}</span>
|
|
728
|
+
</div>
|
|
729
|
+
<div class="mjo-chart__metric">
|
|
730
|
+
<span class="mjo-chart__metric-label">Lifetime Value</span>
|
|
731
|
+
<span class="mjo-chart__metric-val mjo-chart__metric-val--success">{{ FormatCurrency(LifetimeValue) }}</span>
|
|
732
|
+
</div>
|
|
733
|
+
<div class="mjo-chart__metric">
|
|
734
|
+
<span class="mjo-chart__metric-label">Payment Terms</span>
|
|
735
|
+
<span class="mjo-chart__metric-val">Net 30 ACH</span>
|
|
736
|
+
</div>
|
|
737
|
+
</div>
|
|
738
|
+
</mj-card>
|
|
739
|
+
|
|
740
|
+
<!-- 2. Active Subscriptions & Licenses Deck -->
|
|
741
|
+
<mj-card CardId="subscriptions"
|
|
742
|
+
Title="Active Subscriptions & Licenses"
|
|
743
|
+
Icon="fa-solid fa-rotate"
|
|
744
|
+
[AllowMaximize]="true">
|
|
745
|
+
|
|
746
|
+
<ng-template mjCardTools>
|
|
747
|
+
<span class="mjo-badge mjo-badge--green">{{ Subscriptions.length }} Active</span>
|
|
748
|
+
</ng-template>
|
|
749
|
+
|
|
750
|
+
<div class="mjo-sub-list">
|
|
751
|
+
@if (Subscriptions.length > 0) {
|
|
752
|
+
@for (sub of Subscriptions; track sub.ID) {
|
|
753
|
+
<div class="mjo-sub-item" (click)="OnSubClick(sub.ID)">
|
|
754
|
+
<div class="mjo-sub-item__info">
|
|
755
|
+
<h4>{{ sub.Product || sub.SubscriptionType || ('Subscription #' + sub.SubscriptionNumber) }}</h4>
|
|
756
|
+
<p>
|
|
757
|
+
@if (sub.EndDate) {
|
|
758
|
+
Renews {{ FormatDate(sub.EndDate) }} •
|
|
759
|
+
}
|
|
760
|
+
{{ sub.SubscriptionType || 'Active Subscription' }}
|
|
761
|
+
</p>
|
|
762
|
+
</div>
|
|
763
|
+
<div class="mjo-sub-item__badge">
|
|
764
|
+
<span class="mjo-badge mjo-badge--pill">
|
|
765
|
+
<i class="fa-solid fa-circle-check"></i>
|
|
766
|
+
{{ sub.AutoRenew ? 'Auto-Renew' : 'Active' }}
|
|
767
|
+
</span>
|
|
768
|
+
</div>
|
|
769
|
+
</div>
|
|
770
|
+
}
|
|
771
|
+
} @else {
|
|
772
|
+
<div class="mjo-empty-state" style="padding: 20px 12px;">
|
|
773
|
+
<i class="fa-solid fa-rotate"></i>
|
|
774
|
+
<p>No active subscriptions on file for this {{ Mode }}.</p>
|
|
775
|
+
</div>
|
|
776
|
+
}
|
|
777
|
+
</div>
|
|
778
|
+
|
|
779
|
+
<div class="mjo-chart__footer">
|
|
780
|
+
<div class="mjo-chart__metric">
|
|
781
|
+
<span class="mjo-chart__metric-label">Active Licenses</span>
|
|
782
|
+
<span class="mjo-chart__metric-val mjo-chart__metric-val--success">{{ Subscriptions.length }} Active</span>
|
|
783
|
+
</div>
|
|
784
|
+
<div class="mjo-chart__metric">
|
|
785
|
+
<span class="mjo-chart__metric-label">Billing Cycle</span>
|
|
786
|
+
<span class="mjo-chart__metric-val">{{ Subscriptions.length > 0 ? (Subscriptions[0].SubscriptionType || 'Annual') : '—' }}</span>
|
|
787
|
+
</div>
|
|
788
|
+
<div class="mjo-chart__metric">
|
|
789
|
+
<span class="mjo-chart__metric-label">Renewal</span>
|
|
790
|
+
<span class="mjo-chart__metric-val">{{ Subscriptions.length > 0 && Subscriptions[0].AutoRenew ? 'Auto-Renew' : 'Manual' }}</span>
|
|
791
|
+
</div>
|
|
792
|
+
</div>
|
|
793
|
+
</mj-card>
|
|
794
|
+
|
|
795
|
+
<!-- 3. Recent Orders & Invoices Table -->
|
|
796
|
+
<mj-card CardId="recent-orders"
|
|
797
|
+
Title="Recent Orders & Invoices"
|
|
798
|
+
Icon="fa-solid fa-receipt"
|
|
799
|
+
[AllowMaximize]="true">
|
|
800
|
+
|
|
801
|
+
<ng-template mjCardTools>
|
|
802
|
+
@if (Orders.length > 0) {
|
|
803
|
+
<span class="mjo-card__count">{{ Orders.length }} Total</span>
|
|
804
|
+
}
|
|
805
|
+
</ng-template>
|
|
806
|
+
|
|
807
|
+
@if (Orders.length > 0) {
|
|
808
|
+
<div class="mjo-table-wrap">
|
|
809
|
+
<table class="mjo-table">
|
|
810
|
+
<thead>
|
|
811
|
+
<tr>
|
|
812
|
+
<th>Order #</th>
|
|
813
|
+
<th>Date</th>
|
|
814
|
+
<th>Amount</th>
|
|
815
|
+
<th>Payment</th>
|
|
816
|
+
<th>Status</th>
|
|
817
|
+
<th></th>
|
|
818
|
+
</tr>
|
|
819
|
+
</thead>
|
|
820
|
+
<tbody>
|
|
821
|
+
@for (ord of Orders; track ord.ID) {
|
|
822
|
+
<tr (click)="OnOrderClick(ord.ID)">
|
|
823
|
+
<td class="mjo-table__order-num">{{ ord.OrderNumber }}</td>
|
|
824
|
+
<td>{{ FormatDate(ord.OrderDate) }}</td>
|
|
825
|
+
<td class="mjo-table__amount">{{ FormatCurrency(ord.TotalGross) }}</td>
|
|
826
|
+
<td>
|
|
827
|
+
<span [class]="GetPaymentBadgeClass(GetPaymentStatus(ord))">
|
|
828
|
+
{{ GetPaymentStatus(ord) }}
|
|
829
|
+
</span>
|
|
830
|
+
</td>
|
|
831
|
+
<td>
|
|
832
|
+
<span [class]="GetStatusBadgeClass(ord.Status)">
|
|
833
|
+
{{ ord.Status || 'Completed' }}
|
|
834
|
+
</span>
|
|
835
|
+
</td>
|
|
836
|
+
<td class="mjo-table__action">
|
|
837
|
+
<i class="fa-solid fa-arrow-up-right-from-square"></i>
|
|
838
|
+
</td>
|
|
839
|
+
</tr>
|
|
840
|
+
}
|
|
841
|
+
</tbody>
|
|
842
|
+
</table>
|
|
843
|
+
</div>
|
|
844
|
+
} @else {
|
|
845
|
+
<div class="mjo-empty-state">
|
|
846
|
+
<i class="fa-solid fa-shopping-cart"></i>
|
|
847
|
+
<p>No orders on file yet for this {{ Mode }}.</p>
|
|
848
|
+
</div>
|
|
849
|
+
}
|
|
850
|
+
</mj-card>
|
|
851
|
+
|
|
852
|
+
<!-- 4. Touchpoints Timeline Feed -->
|
|
853
|
+
<mj-card CardId="touchpoints"
|
|
854
|
+
Title="Recent Touchpoints"
|
|
855
|
+
Icon="fa-solid fa-bolt-lightning"
|
|
856
|
+
[AllowMaximize]="true">
|
|
857
|
+
|
|
858
|
+
<div class="mjo-timeline">
|
|
859
|
+
@if (Timeline.length > 0) {
|
|
860
|
+
@for (item of Timeline; track item.Title + item.TimeAgo) {
|
|
861
|
+
<div class="mjo-timeline__item"
|
|
862
|
+
[class.mjo-timeline__item--clickable]="!!item.EntityName && !!item.RecordID"
|
|
863
|
+
(click)="OnTimelineItemClick(item)">
|
|
864
|
+
<div class="mjo-timeline__icon mjo-timeline__icon--{{ item.Tone }}">
|
|
865
|
+
<i [class]="item.Icon"></i>
|
|
866
|
+
</div>
|
|
867
|
+
<div class="mjo-timeline__content">
|
|
868
|
+
<h5>{{ item.Title }}</h5>
|
|
869
|
+
<p>{{ item.Subtitle }}</p>
|
|
870
|
+
<span class="mjo-timeline__time">{{ item.TimeAgo }}</span>
|
|
871
|
+
</div>
|
|
872
|
+
@if (item.EntityName && item.RecordID) {
|
|
873
|
+
<div class="mjo-timeline__arrow">
|
|
874
|
+
<i class="fa-solid fa-arrow-up-right-from-square"></i>
|
|
875
|
+
</div>
|
|
876
|
+
}
|
|
877
|
+
</div>
|
|
878
|
+
}
|
|
879
|
+
} @else {
|
|
880
|
+
<div class="mjo-empty-state">
|
|
881
|
+
<i class="fa-solid fa-bolt-lightning"></i>
|
|
882
|
+
<p>No recent touchpoints recorded.</p>
|
|
883
|
+
</div>
|
|
884
|
+
}
|
|
885
|
+
</div>
|
|
886
|
+
</mj-card>
|
|
887
|
+
|
|
888
|
+
</mj-card-grid>
|
|
889
|
+
}
|
|
890
|
+
</div>
|
|
891
|
+
`, styles: ["\n :host {\n display: block;\n width: 100%;\n }\n\n .mjo-overview {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4, 16px);\n padding: var(--mj-space-2, 8px) 0;\n }\n\n .mjo-overview__loading {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n padding: 48px 24px;\n color: var(--mj-text-secondary);\n font-size: 13px;\n }\n\n .mjo-overview__spinner {\n width: 20px;\n height: 20px;\n border: 2px solid var(--mj-border-default);\n border-top-color: var(--mj-brand-primary, #38bdf8);\n border-radius: 50%;\n animation: mjo-spin 0.8s linear infinite;\n }\n\n @keyframes mjo-spin {\n to { transform: rotate(360deg); }\n }\n\n .mjo-card__count {\n font-size: 11.5px;\n font-weight: 700;\n color: var(--mj-text-muted);\n background: var(--mj-bg-surface-sunken);\n padding: 2px 8px;\n border-radius: var(--mj-radius-pill, 9999px);\n }\n\n /* \u2500\u2500 Chart \u2500\u2500 */\n .mjo-chart {\n height: 160px;\n display: flex;\n align-items: flex-end;\n position: relative;\n padding-top: 24px;\n }\n\n .mjo-chart__bars {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n gap: 12px;\n }\n\n .mjo-chart__bar-group {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 6px;\n height: 100%;\n justify-content: flex-end;\n position: relative;\n cursor: pointer;\n }\n\n .mjo-chart__bar {\n width: 100%;\n max-width: 36px;\n min-height: 4px;\n border-radius: 6px 6px 0 0;\n background: linear-gradient(180deg, #38bdf8 0%, rgba(56, 189, 248, 0.35) 100%);\n transition: all 0.2s ease;\n }\n\n .mjo-chart__bar--highlight {\n background: linear-gradient(180deg, #10b981 0%, rgba(16, 185, 129, 0.35) 100%);\n }\n\n .mjo-chart__bar-group:hover .mjo-chart__bar {\n filter: brightness(1.2);\n transform: scaleY(1.04);\n }\n\n .mjo-chart__label {\n font-size: 11px;\n color: var(--mj-text-muted);\n font-weight: 600;\n }\n\n .mjo-chart__tooltip {\n position: absolute;\n top: -12px;\n background: var(--mj-bg-surface-elevated, #1e293b);\n border: 1px solid var(--mj-border-default);\n padding: 3px 8px;\n border-radius: 6px;\n font-size: 11px;\n font-weight: 700;\n color: #ffffff;\n white-space: nowrap;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.15s ease;\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);\n z-index: 10;\n }\n\n .mjo-chart__bar-group:hover .mjo-chart__tooltip {\n opacity: 1;\n }\n\n .mjo-chart__empty {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 8px;\n color: var(--mj-text-muted);\n font-size: 12px;\n }\n\n .mjo-chart__footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-top: 12px;\n border-top: 1px solid var(--mj-border-default);\n gap: 12px;\n flex-wrap: wrap;\n margin-top: auto;\n }\n\n .mjo-chart__metric {\n display: flex;\n flex-direction: column;\n gap: 2px;\n }\n\n .mjo-chart__metric-label {\n font-size: 10.5px;\n font-weight: 700;\n color: var(--mj-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n }\n\n .mjo-chart__metric-val {\n font-size: 14px;\n font-weight: 800;\n font-variant-numeric: tabular-nums;\n color: var(--mj-text-primary);\n }\n\n .mjo-chart__metric-val--success {\n color: var(--mj-status-success, #10b981);\n }\n\n /* \u2500\u2500 Subscriptions \u2500\u2500 */\n .mjo-sub-list {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n\n .mjo-sub-item {\n background: var(--mj-bg-surface-sunken, #090e17);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md, 10px);\n padding: 10px 14px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n cursor: pointer;\n transition: all 0.15s ease;\n }\n\n .mjo-sub-item:hover {\n border-color: var(--mj-brand-primary, #38bdf8);\n transform: translateY(-1px);\n }\n\n .mjo-sub-item__info h4 {\n font-size: 12.5px;\n font-weight: 700;\n color: var(--mj-text-primary);\n margin: 0 0 2px 0;\n }\n\n .mjo-sub-item__info p {\n font-size: 11.5px;\n color: var(--mj-text-secondary);\n margin: 0;\n }\n\n /* \u2500\u2500 AI Box \u2500\u2500 */\n .mjo-ai-box {\n background: linear-gradient(135deg, color-mix(in srgb, var(--mj-brand-primary) 8%, var(--mj-bg-surface-card)) 0%, color-mix(in srgb, #6366f1 10%, var(--mj-bg-surface-card)) 100%);\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 30%, transparent);\n border-radius: var(--mj-radius-md, 10px);\n padding: 12px 14px;\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin-top: 10px;\n }\n\n .mjo-ai-box__header {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n font-weight: 700;\n color: var(--mj-brand-primary, #38bdf8);\n }\n\n .mjo-ai-box__text {\n font-size: 11.5px;\n color: var(--mj-text-secondary);\n line-height: 1.45;\n margin: 0;\n }\n\n .mjo-ai-box__actions {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 4px;\n }\n\n /* \u2500\u2500 Table \u2500\u2500 */\n .mjo-table-wrap {\n overflow-x: auto;\n }\n\n .mjo-table {\n width: 100%;\n border-collapse: collapse;\n font-size: 12px;\n }\n\n .mjo-table th {\n text-align: left;\n padding: 6px 10px;\n font-size: 10.5px;\n font-weight: 700;\n color: var(--mj-text-muted);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n border-bottom: 1px solid var(--mj-border-default);\n }\n\n .mjo-table td {\n padding: 8px 10px;\n border-bottom: 1px solid var(--mj-border-subtle, var(--mj-border-default));\n color: var(--mj-text-secondary);\n }\n\n .mjo-table tr:hover td {\n background: var(--mj-bg-hover, rgba(255, 255, 255, 0.04));\n color: var(--mj-text-primary);\n cursor: pointer;\n }\n\n .mjo-table__order-num {\n font-family: var(--mj-font-mono, monospace);\n font-weight: 600;\n color: var(--mj-brand-primary, #38bdf8);\n }\n\n .mjo-table__amount {\n font-family: var(--mj-font-mono, monospace);\n font-weight: 700;\n color: var(--mj-text-primary);\n }\n\n .mjo-table__action {\n text-align: right;\n color: var(--mj-text-muted);\n }\n\n .mjo-table tr:hover .mjo-table__action {\n color: var(--mj-brand-primary, #38bdf8);\n }\n\n /* \u2500\u2500 Timeline \u2500\u2500 */\n .mjo-timeline {\n display: flex;\n flex-direction: column;\n gap: 6px;\n max-height: 220px;\n overflow-y: auto;\n padding-right: 4px;\n scrollbar-width: thin;\n }\n\n .mjo-timeline::-webkit-scrollbar {\n width: 4px;\n }\n\n .mjo-timeline::-webkit-scrollbar-track {\n background: transparent;\n }\n\n .mjo-timeline::-webkit-scrollbar-thumb {\n background: var(--mj-border-default, #2a3852);\n border-radius: 4px;\n }\n\n .mjo-timeline__item {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 8px 10px;\n border-radius: var(--mj-radius-md, 8px);\n border: 1px solid transparent;\n transition: all 0.15s ease;\n }\n\n .mjo-timeline__item--clickable {\n cursor: pointer;\n }\n\n .mjo-timeline__item--clickable:hover {\n background: var(--mj-bg-surface-sunken, #090e17);\n border-color: var(--mj-border-default, #2a3852);\n transform: translateX(2px);\n }\n\n .mjo-timeline__icon {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n background: var(--mj-bg-surface-sunken);\n border: 1px solid var(--mj-border-default);\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 11.5px;\n flex-shrink: 0;\n }\n\n .mjo-timeline__icon--info { color: #38bdf8; }\n .mjo-timeline__icon--success { color: #10b981; }\n .mjo-timeline__icon--warning { color: #f59e0b; }\n .mjo-timeline__icon--primary { color: #818cf8; }\n\n .mjo-timeline__content {\n flex: 1;\n min-width: 0;\n }\n\n .mjo-timeline__content h5 {\n font-size: 12px;\n font-weight: 600;\n color: var(--mj-text-primary);\n margin: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .mjo-timeline__content p {\n font-size: 11px;\n color: var(--mj-text-secondary);\n margin: 2px 0 0 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .mjo-timeline__time {\n font-size: 10px;\n color: var(--mj-text-muted);\n display: block;\n margin-top: 1px;\n }\n\n .mjo-timeline__arrow {\n font-size: 10px;\n color: var(--mj-text-muted);\n opacity: 0;\n transition: opacity 0.15s ease, color 0.15s ease;\n flex-shrink: 0;\n }\n\n .mjo-timeline__item--clickable:hover .mjo-timeline__arrow {\n opacity: 1;\n color: var(--mj-brand-primary, #38bdf8);\n }\n\n /* \u2500\u2500 Badges & Buttons \u2500\u2500 */\n .mjo-badge {\n font-size: 10.5px;\n font-weight: 700;\n padding: 2px 7px;\n border-radius: 4px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n }\n\n .mjo-badge--pill { border-radius: var(--mj-radius-pill, 9999px); }\n .mjo-badge--green { background: rgba(16, 185, 129, 0.15); color: #10b981; }\n .mjo-badge--blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }\n .mjo-badge--amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }\n .mjo-badge--gray { background: var(--mj-bg-surface-sunken); color: var(--mj-text-muted); border: 1px solid var(--mj-border-default); }\n\n .mjo-btn {\n border: none;\n font-family: inherit;\n font-weight: 600;\n border-radius: var(--mj-radius-sm, 6px);\n cursor: pointer;\n transition: all 0.15s ease;\n }\n\n .mjo-btn--sm {\n font-size: 11px;\n padding: 4px 10px;\n }\n\n .mjo-btn--primary {\n background: var(--mj-brand-primary, #38bdf8);\n color: var(--mj-text-inverse, #0f172a);\n }\n\n .mjo-btn--ghost {\n background: transparent;\n color: var(--mj-text-muted);\n }\n\n .mjo-btn--ghost:hover {\n color: var(--mj-text-primary);\n }\n\n .mjo-empty-state {\n padding: 32px 16px;\n text-align: center;\n color: var(--mj-text-muted);\n font-size: 12px;\n }\n\n .mjo-empty-state i {\n font-size: 24px;\n margin-bottom: 8px;\n opacity: 0.5;\n display: block;\n }\n "] }]
|
|
892
|
+
}], null, { Mode: [{
|
|
893
|
+
type: Input,
|
|
894
|
+
args: [{ required: true }]
|
|
895
|
+
}], PartyID: [{
|
|
896
|
+
type: Input,
|
|
897
|
+
args: [{ required: true }]
|
|
898
|
+
}], FormComponent: [{
|
|
899
|
+
type: Input
|
|
900
|
+
}], Provider: [{
|
|
901
|
+
type: Input
|
|
902
|
+
}], RunQueryProvider: [{
|
|
903
|
+
type: Input
|
|
904
|
+
}] }); })();
|
|
905
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PartyOrdersOverviewComponent, { className: "PartyOrdersOverviewComponent", filePath: "lib/panels/party-orders-overview.component.ts", lineNumber: 741 }); })();
|
|
906
|
+
//# sourceMappingURL=party-orders-overview.component.js.map
|