@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,281 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormatMoney, MJOMoneyPipe } from './money-format.js';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
function MJOJournalEntryPreviewComponent_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
i0.ɵɵdomElementStart(0, "span", 5);
|
|
7
|
+
i0.ɵɵtext(1, "will land Pending");
|
|
8
|
+
i0.ɵɵdomElementEnd();
|
|
9
|
+
} }
|
|
10
|
+
function MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
+
i0.ɵɵtext(0);
|
|
12
|
+
} if (rf & 2) {
|
|
13
|
+
const entry_r1 = i0.ɵɵnextContext(2).$implicit;
|
|
14
|
+
i0.ɵɵtextInterpolate1(" \u00B7 ", entry_r1.LineDescription, " ");
|
|
15
|
+
} }
|
|
16
|
+
function MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵdomElementStart(0, "span", 8);
|
|
18
|
+
i0.ɵɵtext(1);
|
|
19
|
+
i0.ɵɵconditionalCreate(2, MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_4_Conditional_2_Template, 1, 1);
|
|
20
|
+
i0.ɵɵdomElementEnd();
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const entry_r1 = i0.ɵɵnextContext().$implicit;
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵtextInterpolate1(" line ", entry_r1.LineNumber);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵconditional(entry_r1.LineDescription ? 2 : -1);
|
|
27
|
+
} }
|
|
28
|
+
function MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
30
|
+
i0.ɵɵdomElementStart(0, "a", 14);
|
|
31
|
+
i0.ɵɵdomListener("click", function MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_8_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r2); const entry_r1 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.open($event, entry_r1)); });
|
|
32
|
+
i0.ɵɵtext(1, " Open in Accounting ");
|
|
33
|
+
i0.ɵɵdomElement(2, "i", 15);
|
|
34
|
+
i0.ɵɵdomElementEnd();
|
|
35
|
+
} }
|
|
36
|
+
function MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
+
i0.ɵɵdomElementStart(0, "span", 4);
|
|
38
|
+
i0.ɵɵtext(1, "not yet created");
|
|
39
|
+
i0.ɵɵdomElementEnd();
|
|
40
|
+
} }
|
|
41
|
+
function MJOJournalEntryPreviewComponent_Conditional_0_For_8_For_13_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵdomElementStart(0, "tr")(1, "td", 16);
|
|
43
|
+
i0.ɵɵtext(2);
|
|
44
|
+
i0.ɵɵdomElementEnd();
|
|
45
|
+
i0.ɵɵdomElementStart(3, "td");
|
|
46
|
+
i0.ɵɵtext(4);
|
|
47
|
+
i0.ɵɵdomElementStart(5, "div", 17);
|
|
48
|
+
i0.ɵɵtext(6);
|
|
49
|
+
i0.ɵɵdomElementEnd()();
|
|
50
|
+
i0.ɵɵdomElementStart(7, "td", 13);
|
|
51
|
+
i0.ɵɵtext(8);
|
|
52
|
+
i0.ɵɵpipe(9, "mjoMoney");
|
|
53
|
+
i0.ɵɵdomElementEnd()();
|
|
54
|
+
} if (rf & 2) {
|
|
55
|
+
const line_r4 = ctx.$implicit;
|
|
56
|
+
i0.ɵɵadvance(2);
|
|
57
|
+
i0.ɵɵtextInterpolate(line_r4.Side);
|
|
58
|
+
i0.ɵɵadvance(2);
|
|
59
|
+
i0.ɵɵtextInterpolate1(" ", line_r4.AccountName, " ");
|
|
60
|
+
i0.ɵɵadvance(2);
|
|
61
|
+
i0.ɵɵtextInterpolate(line_r4.AccountRole);
|
|
62
|
+
i0.ɵɵadvance(2);
|
|
63
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 4, line_r4.Amount));
|
|
64
|
+
} }
|
|
65
|
+
function MJOJournalEntryPreviewComponent_Conditional_0_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
+
i0.ɵɵdomElementStart(0, "div", 6)(1, "div", 7)(2, "b");
|
|
67
|
+
i0.ɵɵtext(3);
|
|
68
|
+
i0.ɵɵdomElementEnd();
|
|
69
|
+
i0.ɵɵconditionalCreate(4, MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_4_Template, 3, 2, "span", 8);
|
|
70
|
+
i0.ɵɵdomElement(5, "span", 9);
|
|
71
|
+
i0.ɵɵdomElementStart(6, "span", 2);
|
|
72
|
+
i0.ɵɵtext(7);
|
|
73
|
+
i0.ɵɵdomElementEnd();
|
|
74
|
+
i0.ɵɵconditionalCreate(8, MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_8_Template, 3, 0, "a", 10)(9, MJOJournalEntryPreviewComponent_Conditional_0_For_8_Conditional_9_Template, 2, 0, "span", 4);
|
|
75
|
+
i0.ɵɵdomElementEnd();
|
|
76
|
+
i0.ɵɵdomElementStart(10, "table", 11)(11, "tbody");
|
|
77
|
+
i0.ɵɵrepeaterCreate(12, MJOJournalEntryPreviewComponent_Conditional_0_For_8_For_13_Template, 10, 6, "tr", null, i0.ɵɵrepeaterTrackByIndex);
|
|
78
|
+
i0.ɵɵdomElementStart(14, "tr", 12);
|
|
79
|
+
i0.ɵɵdomElement(15, "td");
|
|
80
|
+
i0.ɵɵdomElementStart(16, "td");
|
|
81
|
+
i0.ɵɵtext(17, "Totals");
|
|
82
|
+
i0.ɵɵdomElementEnd();
|
|
83
|
+
i0.ɵɵdomElementStart(18, "td", 13);
|
|
84
|
+
i0.ɵɵtext(19);
|
|
85
|
+
i0.ɵɵpipe(20, "mjoMoney");
|
|
86
|
+
i0.ɵɵpipe(21, "mjoMoney");
|
|
87
|
+
i0.ɵɵdomElementEnd()()()()();
|
|
88
|
+
} if (rf & 2) {
|
|
89
|
+
const entry_r1 = ctx.$implicit;
|
|
90
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
91
|
+
i0.ɵɵadvance(3);
|
|
92
|
+
i0.ɵɵtextInterpolate(entry_r1.CompanyName);
|
|
93
|
+
i0.ɵɵadvance();
|
|
94
|
+
i0.ɵɵconditional(entry_r1.LineNumber != null ? 4 : -1);
|
|
95
|
+
i0.ɵɵadvance(2);
|
|
96
|
+
i0.ɵɵclassProp("mj-chip--success", ctx_r2.isBalanced(entry_r1))("mj-chip--error", !ctx_r2.isBalanced(entry_r1));
|
|
97
|
+
i0.ɵɵadvance();
|
|
98
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.isBalanced(entry_r1) ? "balanced" : "out by " + ctx_r2.variance(entry_r1), " ");
|
|
99
|
+
i0.ɵɵadvance();
|
|
100
|
+
i0.ɵɵconditional(entry_r1.JournalEntryID ? 8 : 9);
|
|
101
|
+
i0.ɵɵadvance(4);
|
|
102
|
+
i0.ɵɵrepeater(entry_r1.Lines);
|
|
103
|
+
i0.ɵɵadvance(7);
|
|
104
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(20, 10, ctx_r2.debits(entry_r1)), " / ", i0.ɵɵpipeBind1(21, 12, ctx_r2.credits(entry_r1)));
|
|
105
|
+
} }
|
|
106
|
+
function MJOJournalEntryPreviewComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
107
|
+
i0.ɵɵdomElementStart(0, "div", 1)(1, "span", 2);
|
|
108
|
+
i0.ɵɵdomElement(2, "i", 3);
|
|
109
|
+
i0.ɵɵtext(3);
|
|
110
|
+
i0.ɵɵdomElementEnd();
|
|
111
|
+
i0.ɵɵdomElementStart(4, "span", 4);
|
|
112
|
+
i0.ɵɵtext(5, "one entry per line, always");
|
|
113
|
+
i0.ɵɵdomElementEnd();
|
|
114
|
+
i0.ɵɵconditionalCreate(6, MJOJournalEntryPreviewComponent_Conditional_0_Conditional_6_Template, 2, 0, "span", 5);
|
|
115
|
+
i0.ɵɵdomElementEnd();
|
|
116
|
+
i0.ɵɵrepeaterCreate(7, MJOJournalEntryPreviewComponent_Conditional_0_For_8_Template, 22, 14, "div", 6, i0.ɵɵrepeaterTrackByIndex);
|
|
117
|
+
} if (rf & 2) {
|
|
118
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
119
|
+
i0.ɵɵadvance();
|
|
120
|
+
i0.ɵɵclassProp("mj-chip--success", ctx_r2.allBalanced)("mj-chip--error", !ctx_r2.allBalanced);
|
|
121
|
+
i0.ɵɵadvance(2);
|
|
122
|
+
i0.ɵɵtextInterpolate5(" ", ctx_r2.Entries.length, " ", ctx_r2.Entries.length === 1 ? "entry" : "entries", " \u00B7 ", ctx_r2.companyCount, " ", ctx_r2.companyCount === 1 ? "company" : "companies", " \u00B7 ", ctx_r2.allBalanced ? "all balanced" : "NOT balanced", " ");
|
|
123
|
+
i0.ɵɵadvance(3);
|
|
124
|
+
i0.ɵɵconditional(ctx_r2.Pending ? 6 : -1);
|
|
125
|
+
i0.ɵɵadvance();
|
|
126
|
+
i0.ɵɵrepeater(ctx_r2.Entries);
|
|
127
|
+
} }
|
|
128
|
+
function MJOJournalEntryPreviewComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
129
|
+
i0.ɵɵdomElementStart(0, "div", 0);
|
|
130
|
+
i0.ɵɵtext(1);
|
|
131
|
+
i0.ɵɵdomElementEnd();
|
|
132
|
+
} if (rf & 2) {
|
|
133
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
134
|
+
i0.ɵɵadvance();
|
|
135
|
+
i0.ɵɵtextInterpolate(ctx_r2.EmptyText);
|
|
136
|
+
} }
|
|
137
|
+
/**
|
|
138
|
+
* `mjo-journal-entry-preview` — the entries an order will (or did) produce.
|
|
139
|
+
*
|
|
140
|
+
* READ-ONLY, ALWAYS. Orders creates Pending entries and owns nothing in the
|
|
141
|
+
* ledger, so every account and entry here links out to Accounting rather than
|
|
142
|
+
* being editable in place. Duplicating ledger editing into this app would create
|
|
143
|
+
* a second place for the same number to be wrong.
|
|
144
|
+
*
|
|
145
|
+
* The balance check is computed here rather than trusted from the server, because
|
|
146
|
+
* an unbalanced entry displayed as balanced is the single most misleading thing
|
|
147
|
+
* this component could do. Balanced is the normal case; the component's job is to
|
|
148
|
+
* be loud when it is not.
|
|
149
|
+
*
|
|
150
|
+
* ONE ENTRY PER ORDER LINE, always — even for two lines of the same company. The
|
|
151
|
+
* order's "journal entry" is a display grouping over the line entries, not a
|
|
152
|
+
* record. That is why entries are keyed by line rather than merged by company.
|
|
153
|
+
*
|
|
154
|
+
* ## Example
|
|
155
|
+
*
|
|
156
|
+
* ```html
|
|
157
|
+
* <mjo-journal-entry-preview
|
|
158
|
+
* [Entries]="preview.JournalEntries"
|
|
159
|
+
* [Pending]="true"
|
|
160
|
+
* (OpenInAccounting)="openLedger($event)" />
|
|
161
|
+
* ```
|
|
162
|
+
*/
|
|
163
|
+
export class MJOJournalEntryPreviewComponent {
|
|
164
|
+
/** The entries, one per order line. */
|
|
165
|
+
Entries = [];
|
|
166
|
+
/** Add the "will land Pending" chip — true while previewing a confirm. */
|
|
167
|
+
Pending = false;
|
|
168
|
+
/** Shown when there is nothing to project. */
|
|
169
|
+
EmptyText = 'No journal entries — this order has not booked.';
|
|
170
|
+
/** A user asked to open an entry in Accounting. The host decides how. */
|
|
171
|
+
OpenInAccounting = new EventEmitter();
|
|
172
|
+
get companyCount() {
|
|
173
|
+
return new Set(this.Entries.map((e) => e.CompanyID)).size;
|
|
174
|
+
}
|
|
175
|
+
get allBalanced() {
|
|
176
|
+
return this.Entries.every((e) => this.isBalanced(e));
|
|
177
|
+
}
|
|
178
|
+
debits(entry) {
|
|
179
|
+
return this.sum(entry, 'Dr');
|
|
180
|
+
}
|
|
181
|
+
credits(entry) {
|
|
182
|
+
return this.sum(entry, 'Cr');
|
|
183
|
+
}
|
|
184
|
+
isBalanced(entry) {
|
|
185
|
+
// Half a cent of tolerance: these are DECIMAL(18,2) amounts summed in
|
|
186
|
+
// floating point, and an exact-equality check would report a rounding
|
|
187
|
+
// artefact as an unbalanced entry.
|
|
188
|
+
return Math.abs(this.debits(entry) - this.credits(entry)) < 0.005;
|
|
189
|
+
}
|
|
190
|
+
variance(entry) {
|
|
191
|
+
return FormatMoney(Math.abs(this.debits(entry) - this.credits(entry)));
|
|
192
|
+
}
|
|
193
|
+
open(event, entry) {
|
|
194
|
+
event.preventDefault();
|
|
195
|
+
this.OpenInAccounting.emit(entry);
|
|
196
|
+
}
|
|
197
|
+
sum(entry, side) {
|
|
198
|
+
return entry.Lines.filter((l) => l.Side === side).reduce((s, l) => s + l.Amount, 0);
|
|
199
|
+
}
|
|
200
|
+
static ɵfac = function MJOJournalEntryPreviewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOJournalEntryPreviewComponent)(); };
|
|
201
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOJournalEntryPreviewComponent, selectors: [["mjo-journal-entry-preview"]], inputs: { Entries: "Entries", Pending: "Pending", EmptyText: "EmptyText" }, outputs: { OpenInAccounting: "OpenInAccounting" }, decls: 2, vars: 1, consts: [[1, "small", "muted"], [1, "row", "wrap", "mjo-je__summary"], [1, "mj-chip"], ["aria-hidden", "true", 1, "fa-solid", "fa-scale-balanced"], [1, "mj-chip", "mj-chip--outline"], [1, "mj-chip", "mj-chip--info"], [1, "mjo-je"], [1, "mjo-je__head"], [1, "muted"], [1, "spacer"], ["href", "#", 1, "small"], [1, "mj-table", "mj-table--compact"], [1, "is-total"], [1, "num"], ["href", "#", 1, "small", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-arrow-up-right-from-square"], [1, "mjo-je__side", "muted", "strong"], [1, "secondary"]], template: function MJOJournalEntryPreviewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
202
|
+
i0.ɵɵconditionalCreate(0, MJOJournalEntryPreviewComponent_Conditional_0_Template, 9, 10)(1, MJOJournalEntryPreviewComponent_Conditional_1_Template, 2, 1, "div", 0);
|
|
203
|
+
} if (rf & 2) {
|
|
204
|
+
i0.ɵɵconditional(ctx.Entries.length ? 0 : 1);
|
|
205
|
+
} }, dependencies: [CommonModule, MJOMoneyPipe], styles: [".mjo-je__summary[_ngcontent-%COMP%] {\n gap: var(--mj-space-2);\n margin-bottom: var(--mj-space-4);\n }\n .mjo-je[_ngcontent-%COMP%] {\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n }\n .mjo-je[_ngcontent-%COMP%] + .mjo-je[_ngcontent-%COMP%] {\n margin-top: var(--mj-space-3);\n }\n .mjo-je__head[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n padding: var(--mj-space-2) var(--mj-space-3);\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n font-size: 12.5px;\n flex-wrap: wrap;\n }\n .mjo-je__side[_ngcontent-%COMP%] {\n width: 34px;\n font-size: 11px;\n }\n @media (max-width: 560px) {\n .mjo-je__head[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%] {\n display: none;\n }\n }"] });
|
|
206
|
+
}
|
|
207
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOJournalEntryPreviewComponent, [{
|
|
208
|
+
type: Component,
|
|
209
|
+
args: [{ selector: 'mjo-journal-entry-preview', standalone: true, imports: [CommonModule, MJOMoneyPipe], template: `
|
|
210
|
+
@if (Entries.length) {
|
|
211
|
+
<div class="row wrap mjo-je__summary">
|
|
212
|
+
<span class="mj-chip" [class.mj-chip--success]="allBalanced" [class.mj-chip--error]="!allBalanced">
|
|
213
|
+
<i class="fa-solid fa-scale-balanced" aria-hidden="true"></i>
|
|
214
|
+
{{ Entries.length }} {{ Entries.length === 1 ? 'entry' : 'entries' }} ·
|
|
215
|
+
{{ companyCount }} {{ companyCount === 1 ? 'company' : 'companies' }} ·
|
|
216
|
+
{{ allBalanced ? 'all balanced' : 'NOT balanced' }}
|
|
217
|
+
</span>
|
|
218
|
+
<span class="mj-chip mj-chip--outline">one entry per line, always</span>
|
|
219
|
+
@if (Pending) {
|
|
220
|
+
<span class="mj-chip mj-chip--info">will land Pending</span>
|
|
221
|
+
}
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
@for (entry of Entries; track $index) {
|
|
225
|
+
<div class="mjo-je">
|
|
226
|
+
<div class="mjo-je__head">
|
|
227
|
+
<b>{{ entry.CompanyName }}</b>
|
|
228
|
+
@if (entry.LineNumber != null) {
|
|
229
|
+
<span class="muted">
|
|
230
|
+
line {{ entry.LineNumber }}@if (entry.LineDescription) { · {{ entry.LineDescription }} }
|
|
231
|
+
</span>
|
|
232
|
+
}
|
|
233
|
+
<span class="spacer"></span>
|
|
234
|
+
<span class="mj-chip" [class.mj-chip--success]="isBalanced(entry)" [class.mj-chip--error]="!isBalanced(entry)">
|
|
235
|
+
{{ isBalanced(entry) ? 'balanced' : 'out by ' + variance(entry) }}
|
|
236
|
+
</span>
|
|
237
|
+
@if (entry.JournalEntryID) {
|
|
238
|
+
<a href="#" class="small" (click)="open($event, entry)">
|
|
239
|
+
Open in Accounting <i class="fa-solid fa-arrow-up-right-from-square" aria-hidden="true"></i>
|
|
240
|
+
</a>
|
|
241
|
+
} @else {
|
|
242
|
+
<span class="mj-chip mj-chip--outline">not yet created</span>
|
|
243
|
+
}
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<table class="mj-table mj-table--compact">
|
|
247
|
+
<tbody>
|
|
248
|
+
@for (line of entry.Lines; track $index) {
|
|
249
|
+
<tr>
|
|
250
|
+
<td class="mjo-je__side muted strong">{{ line.Side }}</td>
|
|
251
|
+
<td>
|
|
252
|
+
{{ line.AccountName }}
|
|
253
|
+
<div class="secondary">{{ line.AccountRole }}</div>
|
|
254
|
+
</td>
|
|
255
|
+
<td class="num">{{ line.Amount | mjoMoney }}</td>
|
|
256
|
+
</tr>
|
|
257
|
+
}
|
|
258
|
+
<tr class="is-total">
|
|
259
|
+
<td></td>
|
|
260
|
+
<td>Totals</td>
|
|
261
|
+
<td class="num">{{ debits(entry) | mjoMoney }} / {{ credits(entry) | mjoMoney }}</td>
|
|
262
|
+
</tr>
|
|
263
|
+
</tbody>
|
|
264
|
+
</table>
|
|
265
|
+
</div>
|
|
266
|
+
}
|
|
267
|
+
} @else {
|
|
268
|
+
<div class="small muted">{{ EmptyText }}</div>
|
|
269
|
+
}
|
|
270
|
+
`, styles: ["\n .mjo-je__summary {\n gap: var(--mj-space-2);\n margin-bottom: var(--mj-space-4);\n }\n .mjo-je {\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n }\n .mjo-je + .mjo-je {\n margin-top: var(--mj-space-3);\n }\n .mjo-je__head {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n padding: var(--mj-space-2) var(--mj-space-3);\n background: var(--mj-bg-surface-card);\n border-bottom: 1px solid var(--mj-border-default);\n font-size: 12.5px;\n flex-wrap: wrap;\n }\n .mjo-je__side {\n width: 34px;\n font-size: 11px;\n }\n @media (max-width: 560px) {\n .mjo-je__head .spacer {\n display: none;\n }\n }\n "] }]
|
|
271
|
+
}], null, { Entries: [{
|
|
272
|
+
type: Input
|
|
273
|
+
}], Pending: [{
|
|
274
|
+
type: Input
|
|
275
|
+
}], EmptyText: [{
|
|
276
|
+
type: Input
|
|
277
|
+
}], OpenInAccounting: [{
|
|
278
|
+
type: Output
|
|
279
|
+
}] }); })();
|
|
280
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOJournalEntryPreviewComponent, { className: "MJOJournalEntryPreviewComponent", filePath: "lib/panels/journal-entry-preview.component.ts", lineNumber: 157 }); })();
|
|
281
|
+
//# sourceMappingURL=journal-entry-preview.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"journal-entry-preview.component.js","sourceRoot":"","sources":["../../../src/lib/panels/journal-entry-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;;IAmEvC,kCAAoC;IAAA,iCAAiB;IAAA,oBAAO;;;IAUS,YAA8B;;;IAA9B,gEAA8B;;;IAD3F,kCAAoB;IAChB,YAA2B;IAAA,yHAA6B;IAC5D,oBAAO;;;IADH,cAA2B;IAA3B,oDAA2B;IAAA,cAA6D;IAA7D,mDAA6D;;;;IAQ5F,gCAAwD;IAA9B,2QAAS,6BAAmB,KAAC;IACnD,oCAAmB;IAAA,2BAAyE;IAChG,oBAAI;;;IAEJ,kCAAuC;IAAA,+BAAe;IAAA,oBAAO;;;IAQrD,AADJ,6BAAI,aACsC;IAAA,YAAe;IAAA,oBAAK;IAC1D,6BAAI;IACA,YACA;IAAA,kCAAuB;IAAA,YAAsB;IACjD,AADiD,oBAAM,EAClD;IACL,iCAAgB;IAAA,YAA4B;;IAChD,AADgD,oBAAK,EAChD;;;IANqC,eAAe;IAAf,kCAAe;IAEjD,eACA;IADA,oDACA;IAAuB,eAAsB;IAAtB,yCAAsB;IAEjC,eAA4B;IAA5B,0DAA4B;;;IA5BxD,AADJ,AADJ,iCAAoB,aACU,QACnB;IAAA,YAAuB;IAAA,oBAAI;IAC9B,sHAAgC;IAKhC,6BAA4B;IAC5B,kCAA+G;IAC3G,YACJ;IAAA,oBAAO;IAKL,AAJF,oHAA4B,gGAInB;IAGb,oBAAM;IAGF,AADJ,qCAA0C,aAC/B;IACH,0IASC;IACD,kCAAqB;IACjB,yBAAS;IACT,8BAAI;IAAA,uBAAM;IAAA,oBAAK;IACf,kCAAgB;IAAA,aAAgE;;;IAIhG,AADI,AADI,AADI,AADoF,oBAAK,EACpF,EACD,EACJ,EACN;;;;IAtCK,eAAuB;IAAvB,0CAAuB;IAC1B,cAIC;IAJD,sDAIC;IAEqB,eAA4C;IAAC,AAA7C,+DAA4C,gDAA4C;IAC1G,cACJ;IADI,iHACJ;IACA,cAMC;IAND,iDAMC;IAKG,eASC;IATD,6BASC;IAImB,eAAgE;IAAhE,mIAAgE;;;IAjDhG,AADJ,iCAAsC,cACiE;IAC/F,0BAA6D;IAC7D,YAGJ;IAAA,oBAAO;IACP,kCAAuC;IAAA,0CAA0B;IAAA,oBAAO;IACxE,gHAAe;IAGnB,oBAAM;IAEN,iIA0CC;;;IAtDyB,cAAsC;IAAC,AAAvC,sDAAsC,uCAAsC;IAE9F,eAGJ;IAHI,2QAGJ;IAEA,eAEC;IAFD,yCAEC;IAGL,cA0CC;IA1CD,6BA0CC;;;IAED,iCAAyB;IAAA,YAAe;IAAA,oBAAM;;;IAArB,cAAe;IAAf,sCAAe;;AAzFpD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAuGH,MAAM,OAAO,+BAA+B;IACxC,uCAAuC;IAC9B,OAAO,GAAsB,EAAE,CAAC;IAEzC,0EAA0E;IACjE,OAAO,GAAG,KAAK,CAAC;IAEzB,8CAA8C;IACrC,SAAS,GAAG,iDAAiD,CAAC;IAEvE,yEAAyE;IAC/D,gBAAgB,GAAG,IAAI,YAAY,EAAmB,CAAC;IAEjE,IAAc,YAAY;QACtB,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9D,CAAC;IAED,IAAc,WAAW;QACrB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IACzD,CAAC;IAES,MAAM,CAAC,KAAsB;QACnC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;IAES,OAAO,CAAC,KAAsB;QACpC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;IAES,UAAU,CAAC,KAAsB;QACvC,sEAAsE;QACtE,sEAAsE;QACtE,mCAAmC;QACnC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,CAAC;IACtE,CAAC;IAES,QAAQ,CAAC,KAAsB;QACrC,OAAO,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC3E,CAAC;IAES,IAAI,CAAC,KAAY,EAAE,KAAsB;QAC/C,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;IAEO,GAAG,CAAC,KAAsB,EAAE,IAAiB;QACjD,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACxF,CAAC;yHA/CQ,+BAA+B;6DAA/B,+BAA+B;YAxClC,AAzDF,wFAAsB,2EAyDb;;YAzDT,4CA2DC;4BA7DK,YAAY,EAAE,YAAY;;iFAmG3B,+BAA+B;cAtG3C,SAAS;2BACI,2BAA2B,cACzB,IAAI,WACP,CAAC,YAAY,EAAE,YAAY,CAAC,YAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6DT;;kBAuCA,KAAK;;kBAGL,KAAK;;kBAGL,KAAK;;kBAGL,MAAM;;kFAXE,+BAA+B"}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Money and quantity formatting — pure functions plus the pipes that wrap them.
|
|
3
|
+
*
|
|
4
|
+
* WHY THIS IS ITS OWN FILE. Every screen in this app is mostly numbers, and the
|
|
5
|
+
* rules for rendering them are not obvious: a zero balance reads better as an
|
|
6
|
+
* em-dash than as `$0.00`; a credit is a negative balance that should read as a
|
|
7
|
+
* positive amount in a credit context; a document uses parentheses for negatives
|
|
8
|
+
* where a worklist uses a minus sign. Scattering those choices across templates
|
|
9
|
+
* guarantees they diverge. Here they are pure functions with tests.
|
|
10
|
+
*
|
|
11
|
+
* The pure half has no Angular import path of its own so it can be unit-tested
|
|
12
|
+
* directly, which is most of the value.
|
|
13
|
+
*
|
|
14
|
+
* @module @mj-biz-apps/orders-ng
|
|
15
|
+
*/
|
|
16
|
+
import { PipeTransform } from '@angular/core';
|
|
17
|
+
import type { DateCell } from '@mj-biz-apps/orders-entities';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
/** How a negative amount is written. */
|
|
20
|
+
export type MJOMoneySign =
|
|
21
|
+
/** `−$85.00` — the worklist default; scans fastest in a column. */
|
|
22
|
+
'minus'
|
|
23
|
+
/** `($85.00)` — accounting convention, used on the rendered document. */
|
|
24
|
+
| 'parentheses'
|
|
25
|
+
/** `$85.00` — for contexts that already say "credit" in words. */
|
|
26
|
+
| 'absolute';
|
|
27
|
+
export interface MJOMoneyOptions {
|
|
28
|
+
/** Default `'minus'`. */
|
|
29
|
+
Sign?: MJOMoneySign;
|
|
30
|
+
/**
|
|
31
|
+
* What to render for exactly zero. Default `'$0.00'`. Pass `'—'` in balance
|
|
32
|
+
* columns, where a row of zeroes is noise and the eye wants the non-zero ones.
|
|
33
|
+
*/
|
|
34
|
+
Zero?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Drop the cents (and `$0.00` becomes `$0`). For dashboard tiles, and for
|
|
37
|
+
* a header trio that is all whole dollars.
|
|
38
|
+
*/
|
|
39
|
+
Round?: boolean;
|
|
40
|
+
/** Default `'$'`. Currency is single-currency today; this is the seam. */
|
|
41
|
+
Symbol?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Format an amount as money.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```typescript
|
|
48
|
+
* FormatMoney(1621.57) // '$1,621.57'
|
|
49
|
+
* FormatMoney(-85) // '−$85.00'
|
|
50
|
+
* FormatMoney(-85, { Sign: 'parentheses' }) // '($85.00)'
|
|
51
|
+
* FormatMoney(0, { Zero: '—' }) // '—'
|
|
52
|
+
* FormatMoney(41230, { Round: true }) // '$41,230'
|
|
53
|
+
* FormatMoney(null) // '—'
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare function FormatMoney(value: number | null | undefined, options?: MJOMoneyOptions): string;
|
|
57
|
+
/**
|
|
58
|
+
* True when the amount has a non-zero cent part (after rounding to the
|
|
59
|
+
* nearest cent). Null / NaN do not count — they are not displayed as money.
|
|
60
|
+
*/
|
|
61
|
+
export declare function HasCents(value: number | null | undefined): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Format several amounts with one shared cents policy: if any has cents,
|
|
64
|
+
* all show two decimals; otherwise none do. Used for the order-header
|
|
65
|
+
* Total / Paid / Balance trio so the three figures stay aligned.
|
|
66
|
+
*/
|
|
67
|
+
export declare function FormatMoneyGroup(values: ReadonlyArray<number | null | undefined>, options?: MJOMoneyOptions): string[];
|
|
68
|
+
/**
|
|
69
|
+
* Format a quantity. Whole numbers lose their decimals, because `5` is easier to
|
|
70
|
+
* read than `5.00` and fractional quantities are the exception (a prorated
|
|
71
|
+
* subscription line, a partial return).
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```typescript
|
|
75
|
+
* FormatQuantity(5) // '5'
|
|
76
|
+
* FormatQuantity(0.5833) // '0.5833'
|
|
77
|
+
* FormatQuantity(-1) // '-1'
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
export declare function FormatQuantity(value: number | null | undefined): string;
|
|
81
|
+
/**
|
|
82
|
+
* Format money for a space where the full figure will not fit — a chart label,
|
|
83
|
+
* a dense chip, a column head.
|
|
84
|
+
*
|
|
85
|
+
* A bar chart cannot carry `$1,250.00` above a 40px column, so the choice is
|
|
86
|
+
* between an unlabelled bar and an abbreviated number. Unlabelled loses: the bar
|
|
87
|
+
* only shows RELATIVE size, so a lone tall column reads as "the biggest" without
|
|
88
|
+
* ever saying how big. The exact value stays available on hover and in the
|
|
89
|
+
* component's aria-label, so nothing is lost by rounding the visible one.
|
|
90
|
+
*
|
|
91
|
+
* Thresholds are the conventional ones and the rounding is deliberately coarse —
|
|
92
|
+
* one decimal below 10, none above, because the label is for orientation and the
|
|
93
|
+
* precise figure is one hover away.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* ```typescript
|
|
97
|
+
* FormatCompact(0) // '—'
|
|
98
|
+
* FormatCompact(940) // '$940'
|
|
99
|
+
* FormatCompact(1250) // '$1.3k'
|
|
100
|
+
* FormatCompact(8000) // '$8k'
|
|
101
|
+
* FormatCompact(24500) // '$25k'
|
|
102
|
+
* FormatCompact(1250000) // '$1.3M'
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
export declare function FormatCompact(value: number | null | undefined): string;
|
|
106
|
+
/**
|
|
107
|
+
* Format a rate as a percentage, trimming pointless zeros.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```typescript
|
|
111
|
+
* FormatRate(0.0625) // '6.25%'
|
|
112
|
+
* FormatRate(0.1) // '10%'
|
|
113
|
+
* FormatRate(0.0225) // '2.25%'
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
export declare function FormatRate(value: number | null | undefined): string;
|
|
117
|
+
/**
|
|
118
|
+
* Format an ISO date for display.
|
|
119
|
+
*
|
|
120
|
+
* Parsed as LOCAL rather than UTC on purpose. A date-only column carries no time
|
|
121
|
+
* zone, and `new Date('2026-08-01')` is parsed as UTC midnight — which renders as
|
|
122
|
+
* July 31st for anyone west of Greenwich. Splitting the string avoids handing the
|
|
123
|
+
* user a date one day earlier than the one stored.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* ```typescript
|
|
127
|
+
* FormatDate('2026-08-01') // 'Aug 1, 2026'
|
|
128
|
+
* FormatDate('2026-08-01', { Short: true }) // 'Aug 1'
|
|
129
|
+
* FormatDate(order.OrderDate) // a Date off an entity works too
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* ACCEPTS A `Date` AS WELL AS AN ISO STRING, and that is not convenience. A date column is a `Date`
|
|
133
|
+
* on an entity and an ISO string on the wire, so a screen holds one or the other depending on how it
|
|
134
|
+
* read the row. Given a `Date`, the old string-splitting path found no '-' to split on and returned
|
|
135
|
+
* '—' — an empty-looking cell that reads as "no date" rather than as the type mismatch it was.
|
|
136
|
+
*/
|
|
137
|
+
export declare function FormatDate(value: DateCell, options?: {
|
|
138
|
+
Short?: boolean;
|
|
139
|
+
}): string;
|
|
140
|
+
/**
|
|
141
|
+
* Whole days between an ISO date and a reference point. Positive means the date
|
|
142
|
+
* is in the past — i.e. "days overdue", which is the only way this is used.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* ```typescript
|
|
146
|
+
* DaysSince('2026-06-15', '2026-07-29') // 44
|
|
147
|
+
* ```
|
|
148
|
+
*
|
|
149
|
+
* Takes a `Date` on either side for the same reason {@link FormatDate} does.
|
|
150
|
+
*/
|
|
151
|
+
export declare function DaysSince(value: DateCell, asOf: Date | string): number;
|
|
152
|
+
/** Initials for an avatar, capped at two letters. */
|
|
153
|
+
export declare function Initials(name: string | null | undefined): string;
|
|
154
|
+
/**
|
|
155
|
+
* `{{ value | mjoMoney }}` / `{{ value | mjoMoney: { Zero: '—' } }}`
|
|
156
|
+
*/
|
|
157
|
+
export declare class MJOMoneyPipe implements PipeTransform {
|
|
158
|
+
transform(value: number | null | undefined, options?: MJOMoneyOptions): string;
|
|
159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJOMoneyPipe, never>;
|
|
160
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MJOMoneyPipe, "mjoMoney", true>;
|
|
161
|
+
}
|
|
162
|
+
/** `{{ value | mjoQuantity }}` */
|
|
163
|
+
export declare class MJOQuantityPipe implements PipeTransform {
|
|
164
|
+
transform(value: number | null | undefined): string;
|
|
165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJOQuantityPipe, never>;
|
|
166
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MJOQuantityPipe, "mjoQuantity", true>;
|
|
167
|
+
}
|
|
168
|
+
/** `{{ value | mjoRate }}` */
|
|
169
|
+
export declare class MJORatePipe implements PipeTransform {
|
|
170
|
+
transform(value: number | null | undefined): string;
|
|
171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJORatePipe, never>;
|
|
172
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MJORatePipe, "mjoRate", true>;
|
|
173
|
+
}
|
|
174
|
+
/** `{{ iso | mjoDate }}` / `{{ iso | mjoDate: true }}` for the short form. */
|
|
175
|
+
export declare class MJODatePipe implements PipeTransform {
|
|
176
|
+
transform(iso: string | null | undefined, short?: boolean): string;
|
|
177
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJODatePipe, never>;
|
|
178
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MJODatePipe, "mjoDate", true>;
|
|
179
|
+
}
|
|
180
|
+
/** Every formatting pipe, for a component's `imports` array. */
|
|
181
|
+
export declare const MJO_FORMAT_PIPES: readonly [typeof MJOMoneyPipe, typeof MJOQuantityPipe, typeof MJORatePipe, typeof MJODatePipe];
|
|
182
|
+
//# sourceMappingURL=money-format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"money-format.d.ts","sourceRoot":"","sources":["../../../src/lib/panels/money-format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;;AAE7D,wCAAwC;AACxC,MAAM,MAAM,YAAY;AACpB,mEAAmE;AACjE,OAAO;AACT,yEAAyE;GACvE,aAAa;AACf,kEAAkE;GAChE,UAAU,CAAC;AAEjB,MAAM,WAAW,eAAe;IAC5B,yBAAyB;IACzB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,OAAO,GAAE,eAAoB,GAAG,MAAM,CA0BnG;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAGlE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC5B,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,EAChD,OAAO,GAAE,eAAoB,GAC9B,MAAM,EAAE,CAGV;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAKvE;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAetE;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAInE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CACtB,KAAK,EAAE,QAAQ,EACf,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAClC,MAAM,CAQR;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CACrB,KAAK,EAAE,QAAQ,EACf,IAAI,EAAE,IAAI,GAAG,MAAM,GACpB,MAAM,CAKR;AAoBD,qDAAqD;AACrD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAWhE;AASD;;GAEG;AACH,qBACa,YAAa,YAAW,aAAa;IACvC,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,MAAM;yCAD5E,YAAY;uCAAZ,YAAY;CAIxB;AAED,kCAAkC;AAClC,qBACa,eAAgB,YAAW,aAAa;IAC1C,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM;yCADjD,eAAe;uCAAf,eAAe;CAI3B;AAED,8BAA8B;AAC9B,qBACa,WAAY,YAAW,aAAa;IACtC,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM;yCADjD,WAAW;uCAAX,WAAW;CAIvB;AAED,8EAA8E;AAC9E,qBACa,WAAY,YAAW,aAAa;IACtC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,KAAK,UAAQ,GAAG,MAAM;yCAD9D,WAAW;uCAAX,WAAW;CAIvB;AAED,gEAAgE;AAChE,eAAO,MAAM,gBAAgB,gGAAqE,CAAC"}
|