@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.
Files changed (597) hide show
  1. package/LICENSE +183 -0
  2. package/README.md +34 -2
  3. package/dist/checkout-element/main.js +38080 -0
  4. package/dist/lib/checkout-widget/checkout-draft-line.d.ts +25 -0
  5. package/dist/lib/checkout-widget/checkout-draft-line.d.ts.map +1 -0
  6. package/dist/lib/checkout-widget/checkout-draft-line.js +46 -0
  7. package/dist/lib/checkout-widget/checkout-draft-line.js.map +1 -0
  8. package/dist/lib/checkout-widget/checkout-public-host.component.d.ts +80 -0
  9. package/dist/lib/checkout-widget/checkout-public-host.component.d.ts.map +1 -0
  10. package/dist/lib/checkout-widget/checkout-public-host.component.js +360 -0
  11. package/dist/lib/checkout-widget/checkout-public-host.component.js.map +1 -0
  12. package/dist/lib/checkout-widget/checkout-widget.component.d.ts +143 -0
  13. package/dist/lib/checkout-widget/checkout-widget.component.d.ts.map +1 -0
  14. package/dist/lib/checkout-widget/checkout-widget.component.js +873 -0
  15. package/dist/lib/checkout-widget/checkout-widget.component.js.map +1 -0
  16. package/dist/lib/custom/OrderHeader/line-extension-cache.d.ts +22 -0
  17. package/dist/lib/custom/OrderHeader/line-extension-cache.d.ts.map +1 -0
  18. package/dist/lib/custom/OrderHeader/line-extension-cache.js +46 -0
  19. package/dist/lib/custom/OrderHeader/line-extension-cache.js.map +1 -0
  20. package/dist/lib/custom/OrderHeader/line-extension-fields.d.ts +58 -0
  21. package/dist/lib/custom/OrderHeader/line-extension-fields.d.ts.map +1 -0
  22. package/dist/lib/custom/OrderHeader/line-extension-fields.js +137 -0
  23. package/dist/lib/custom/OrderHeader/line-extension-fields.js.map +1 -0
  24. package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts +127 -0
  25. package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts.map +1 -0
  26. package/dist/lib/custom/OrderHeader/order-header-form.component.js +1429 -0
  27. package/dist/lib/custom/OrderHeader/order-header-form.component.js.map +1 -0
  28. package/dist/lib/custom/OrderHeader/order-header-prefs.d.ts +18 -0
  29. package/dist/lib/custom/OrderHeader/order-header-prefs.d.ts.map +1 -0
  30. package/dist/lib/custom/OrderHeader/order-header-prefs.js +20 -0
  31. package/dist/lib/custom/OrderHeader/order-header-prefs.js.map +1 -0
  32. package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +72 -0
  33. package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -0
  34. package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +621 -0
  35. package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -0
  36. package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts +135 -0
  37. package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts.map +1 -0
  38. package/dist/lib/custom/PaymentHeader/payment-header-form.component.js +2169 -0
  39. package/dist/lib/custom/PaymentHeader/payment-header-form.component.js.map +1 -0
  40. package/dist/lib/custom/PriceList/price-list-form.component.d.ts +46 -0
  41. package/dist/lib/custom/PriceList/price-list-form.component.d.ts.map +1 -0
  42. package/dist/lib/custom/PriceList/price-list-form.component.js +363 -0
  43. package/dist/lib/custom/PriceList/price-list-form.component.js.map +1 -0
  44. package/dist/lib/custom/Product/product-form.component.d.ts +81 -0
  45. package/dist/lib/custom/Product/product-form.component.d.ts.map +1 -0
  46. package/dist/lib/custom/Product/product-form.component.js +665 -0
  47. package/dist/lib/custom/Product/product-form.component.js.map +1 -0
  48. package/dist/lib/custom/Product/widgets/product-accounting-widget.component.d.ts +16 -0
  49. package/dist/lib/custom/Product/widgets/product-accounting-widget.component.d.ts.map +1 -0
  50. package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js +55 -0
  51. package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js.map +1 -0
  52. package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.d.ts +16 -0
  53. package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.d.ts.map +1 -0
  54. package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.js +65 -0
  55. package/dist/lib/custom/Product/widgets/product-fulfillment-widget.component.js.map +1 -0
  56. package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts +103 -0
  57. package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts.map +1 -0
  58. package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js +950 -0
  59. package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js.map +1 -0
  60. package/dist/lib/custom/Product/widgets/product-promotions-widget.component.d.ts +21 -0
  61. package/dist/lib/custom/Product/widgets/product-promotions-widget.component.d.ts.map +1 -0
  62. package/dist/lib/custom/Product/widgets/product-promotions-widget.component.js +67 -0
  63. package/dist/lib/custom/Product/widgets/product-promotions-widget.component.js.map +1 -0
  64. package/dist/lib/custom/Product/widgets/product-subscription-widget.component.d.ts +18 -0
  65. package/dist/lib/custom/Product/widgets/product-subscription-widget.component.d.ts.map +1 -0
  66. package/dist/lib/custom/Product/widgets/product-subscription-widget.component.js +55 -0
  67. package/dist/lib/custom/Product/widgets/product-subscription-widget.component.js.map +1 -0
  68. package/dist/lib/custom/Promotion/promotion-form.component.d.ts +33 -0
  69. package/dist/lib/custom/Promotion/promotion-form.component.d.ts.map +1 -0
  70. package/dist/lib/custom/Promotion/promotion-form.component.js +350 -0
  71. package/dist/lib/custom/Promotion/promotion-form.component.js.map +1 -0
  72. package/dist/lib/custom/Subscription/subscription-form.component.d.ts +96 -0
  73. package/dist/lib/custom/Subscription/subscription-form.component.d.ts.map +1 -0
  74. package/dist/lib/custom/Subscription/subscription-form.component.js +885 -0
  75. package/dist/lib/custom/Subscription/subscription-form.component.js.map +1 -0
  76. package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.d.ts +60 -0
  77. package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.d.ts.map +1 -0
  78. package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.js +567 -0
  79. package/dist/lib/custom/SubscriptionTerm/subscription-term-form.component.js.map +1 -0
  80. package/dist/lib/custom/custom-forms.module.d.ts +29 -0
  81. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -0
  82. package/dist/lib/custom/custom-forms.module.js +127 -0
  83. package/dist/lib/custom/custom-forms.module.js.map +1 -0
  84. package/dist/lib/custom/form-navigation-helper.d.ts +10 -0
  85. package/dist/lib/custom/form-navigation-helper.d.ts.map +1 -0
  86. package/dist/lib/custom/form-navigation-helper.js +51 -0
  87. package/dist/lib/custom/form-navigation-helper.js.map +1 -0
  88. package/dist/lib/data/entity-names.d.ts +84 -0
  89. package/dist/lib/data/entity-names.d.ts.map +1 -0
  90. package/dist/lib/data/entity-names.js +85 -0
  91. package/dist/lib/data/entity-names.js.map +1 -0
  92. package/dist/lib/data/orders-queries.d.ts +394 -0
  93. package/dist/lib/data/orders-queries.d.ts.map +1 -0
  94. package/dist/lib/data/orders-queries.js +897 -0
  95. package/dist/lib/data/orders-queries.js.map +1 -0
  96. package/dist/lib/form-panels/catalog-overviews.panels.d.ts +36 -0
  97. package/dist/lib/form-panels/catalog-overviews.panels.d.ts.map +1 -0
  98. package/dist/lib/form-panels/catalog-overviews.panels.js +443 -0
  99. package/dist/lib/form-panels/catalog-overviews.panels.js.map +1 -0
  100. package/dist/lib/form-panels/commercial-overviews.panels.d.ts +30 -0
  101. package/dist/lib/form-panels/commercial-overviews.panels.d.ts.map +1 -0
  102. package/dist/lib/form-panels/commercial-overviews.panels.js +315 -0
  103. package/dist/lib/form-panels/commercial-overviews.panels.js.map +1 -0
  104. package/dist/lib/form-panels/document-form.helpers.d.ts +38 -0
  105. package/dist/lib/form-panels/document-form.helpers.d.ts.map +1 -0
  106. package/dist/lib/form-panels/document-form.helpers.js +183 -0
  107. package/dist/lib/form-panels/document-form.helpers.js.map +1 -0
  108. package/dist/lib/form-panels/document-forms.module.d.ts +34 -0
  109. package/dist/lib/form-panels/document-forms.module.d.ts.map +1 -0
  110. package/dist/lib/form-panels/document-forms.module.js +183 -0
  111. package/dist/lib/form-panels/document-forms.module.js.map +1 -0
  112. package/dist/lib/form-panels/document-hero.component.d.ts +28 -0
  113. package/dist/lib/form-panels/document-hero.component.d.ts.map +1 -0
  114. package/dist/lib/form-panels/document-hero.component.js +167 -0
  115. package/dist/lib/form-panels/document-hero.component.js.map +1 -0
  116. package/dist/lib/form-panels/document-overviews.panels.d.ts +42 -0
  117. package/dist/lib/form-panels/document-overviews.panels.d.ts.map +1 -0
  118. package/dist/lib/form-panels/document-overviews.panels.js +457 -0
  119. package/dist/lib/form-panels/document-overviews.panels.js.map +1 -0
  120. package/dist/lib/form-panels/lookup-headers.panels.d.ts +68 -0
  121. package/dist/lib/form-panels/lookup-headers.panels.d.ts.map +1 -0
  122. package/dist/lib/form-panels/lookup-headers.panels.js +399 -0
  123. package/dist/lib/form-panels/lookup-headers.panels.js.map +1 -0
  124. package/dist/lib/form-panels/organization-header.panel.d.ts +15 -0
  125. package/dist/lib/form-panels/organization-header.panel.d.ts.map +1 -0
  126. package/dist/lib/form-panels/organization-header.panel.js +77 -0
  127. package/dist/lib/form-panels/organization-header.panel.js.map +1 -0
  128. package/dist/lib/form-panels/organization-orders-overview.panel.d.ts +13 -0
  129. package/dist/lib/form-panels/organization-orders-overview.panel.d.ts.map +1 -0
  130. package/dist/lib/form-panels/organization-orders-overview.panel.js +77 -0
  131. package/dist/lib/form-panels/organization-orders-overview.panel.js.map +1 -0
  132. package/dist/lib/form-panels/organization-orders.panel.d.ts +16 -0
  133. package/dist/lib/form-panels/organization-orders.panel.d.ts.map +1 -0
  134. package/dist/lib/form-panels/organization-orders.panel.js +88 -0
  135. package/dist/lib/form-panels/organization-orders.panel.js.map +1 -0
  136. package/dist/lib/form-panels/overview-cards.component.d.ts +30 -0
  137. package/dist/lib/form-panels/overview-cards.component.d.ts.map +1 -0
  138. package/dist/lib/form-panels/overview-cards.component.js +250 -0
  139. package/dist/lib/form-panels/overview-cards.component.js.map +1 -0
  140. package/dist/lib/form-panels/overview-load.d.ts +7 -0
  141. package/dist/lib/form-panels/overview-load.d.ts.map +1 -0
  142. package/dist/lib/form-panels/overview-load.js +31 -0
  143. package/dist/lib/form-panels/overview-load.js.map +1 -0
  144. package/dist/lib/form-panels/party-headers.module.d.ts +18 -0
  145. package/dist/lib/form-panels/party-headers.module.d.ts.map +1 -0
  146. package/dist/lib/form-panels/party-headers.module.js +63 -0
  147. package/dist/lib/form-panels/party-headers.module.js.map +1 -0
  148. package/dist/lib/form-panels/party-order-stats.d.ts +26 -0
  149. package/dist/lib/form-panels/party-order-stats.d.ts.map +1 -0
  150. package/dist/lib/form-panels/party-order-stats.js +149 -0
  151. package/dist/lib/form-panels/party-order-stats.js.map +1 -0
  152. package/dist/lib/form-panels/payment-header.panel.d.ts +21 -0
  153. package/dist/lib/form-panels/payment-header.panel.d.ts.map +1 -0
  154. package/dist/lib/form-panels/payment-header.panel.js +111 -0
  155. package/dist/lib/form-panels/payment-header.panel.js.map +1 -0
  156. package/dist/lib/form-panels/payment-journals.panel.d.ts +32 -0
  157. package/dist/lib/form-panels/payment-journals.panel.d.ts.map +1 -0
  158. package/dist/lib/form-panels/payment-journals.panel.js +332 -0
  159. package/dist/lib/form-panels/payment-journals.panel.js.map +1 -0
  160. package/dist/lib/form-panels/person-header.panel.d.ts +15 -0
  161. package/dist/lib/form-panels/person-header.panel.d.ts.map +1 -0
  162. package/dist/lib/form-panels/person-header.panel.js +77 -0
  163. package/dist/lib/form-panels/person-header.panel.js.map +1 -0
  164. package/dist/lib/form-panels/person-orders-overview.panel.d.ts +13 -0
  165. package/dist/lib/form-panels/person-orders-overview.panel.d.ts.map +1 -0
  166. package/dist/lib/form-panels/person-orders-overview.panel.js +77 -0
  167. package/dist/lib/form-panels/person-orders-overview.panel.js.map +1 -0
  168. package/dist/lib/form-panels/person-orders.panel.d.ts +17 -0
  169. package/dist/lib/form-panels/person-orders.panel.d.ts.map +1 -0
  170. package/dist/lib/form-panels/person-orders.panel.js +89 -0
  171. package/dist/lib/form-panels/person-orders.panel.js.map +1 -0
  172. package/dist/lib/form-panels/price-list-header.panel.d.ts +11 -0
  173. package/dist/lib/form-panels/price-list-header.panel.d.ts.map +1 -0
  174. package/dist/lib/form-panels/price-list-header.panel.js +76 -0
  175. package/dist/lib/form-panels/price-list-header.panel.js.map +1 -0
  176. package/dist/lib/form-panels/price-list-simulator.panel.d.ts +19 -0
  177. package/dist/lib/form-panels/price-list-simulator.panel.d.ts.map +1 -0
  178. package/dist/lib/form-panels/price-list-simulator.panel.js +125 -0
  179. package/dist/lib/form-panels/price-list-simulator.panel.js.map +1 -0
  180. package/dist/lib/form-panels/product-category-hierarchy.panel.d.ts +23 -0
  181. package/dist/lib/form-panels/product-category-hierarchy.panel.d.ts.map +1 -0
  182. package/dist/lib/form-panels/product-category-hierarchy.panel.js +118 -0
  183. package/dist/lib/form-panels/product-category-hierarchy.panel.js.map +1 -0
  184. package/dist/lib/form-panels/product-header.panel.d.ts +14 -0
  185. package/dist/lib/form-panels/product-header.panel.d.ts.map +1 -0
  186. package/dist/lib/form-panels/product-header.panel.js +105 -0
  187. package/dist/lib/form-panels/product-header.panel.js.map +1 -0
  188. package/dist/lib/form-panels/product-widget.panels.d.ts +24 -0
  189. package/dist/lib/form-panels/product-widget.panels.d.ts.map +1 -0
  190. package/dist/lib/form-panels/product-widget.panels.js +253 -0
  191. package/dist/lib/form-panels/product-widget.panels.js.map +1 -0
  192. package/dist/lib/form-panels/promotion-header.panel.d.ts +14 -0
  193. package/dist/lib/form-panels/promotion-header.panel.d.ts.map +1 -0
  194. package/dist/lib/form-panels/promotion-header.panel.js +112 -0
  195. package/dist/lib/form-panels/promotion-header.panel.js.map +1 -0
  196. package/dist/lib/form-panels/subscription-header.panel.d.ts +17 -0
  197. package/dist/lib/form-panels/subscription-header.panel.d.ts.map +1 -0
  198. package/dist/lib/form-panels/subscription-header.panel.js +127 -0
  199. package/dist/lib/form-panels/subscription-header.panel.js.map +1 -0
  200. package/dist/lib/form-panels/subscription-revrec.panel.d.ts +32 -0
  201. package/dist/lib/form-panels/subscription-revrec.panel.d.ts.map +1 -0
  202. package/dist/lib/form-panels/subscription-revrec.panel.js +184 -0
  203. package/dist/lib/form-panels/subscription-revrec.panel.js.map +1 -0
  204. package/dist/lib/form-panels/subscription-term-header.panel.d.ts +13 -0
  205. package/dist/lib/form-panels/subscription-term-header.panel.d.ts.map +1 -0
  206. package/dist/lib/form-panels/subscription-term-header.panel.js +113 -0
  207. package/dist/lib/form-panels/subscription-term-header.panel.js.map +1 -0
  208. package/dist/lib/form-panels/subscription-term-revrec.panel.d.ts +23 -0
  209. package/dist/lib/form-panels/subscription-term-revrec.panel.d.ts.map +1 -0
  210. package/dist/lib/form-panels/subscription-term-revrec.panel.js +144 -0
  211. package/dist/lib/form-panels/subscription-term-revrec.panel.js.map +1 -0
  212. package/dist/lib/form-panels/subscription-terms.panel.d.ts +25 -0
  213. package/dist/lib/form-panels/subscription-terms.panel.d.ts.map +1 -0
  214. package/dist/lib/form-panels/subscription-terms.panel.js +173 -0
  215. package/dist/lib/form-panels/subscription-terms.panel.js.map +1 -0
  216. package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.d.ts +10 -0
  217. package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.d.ts.map +1 -0
  218. package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.js +102 -0
  219. package/dist/lib/generated/Entities/mjBizAppsOrdersChargeType/mjbizappsorderschargetype.form.component.js.map +1 -0
  220. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.d.ts +10 -0
  221. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.d.ts.map +1 -0
  222. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js +103 -0
  223. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js.map +1 -0
  224. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.d.ts +10 -0
  225. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.d.ts.map +1 -0
  226. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.js +136 -0
  227. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidget/mjbizappsorderscheckoutwidget.form.component.js.map +1 -0
  228. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.d.ts +10 -0
  229. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.d.ts.map +1 -0
  230. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.js +106 -0
  231. package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutWidgetDistribution/mjbizappsorderscheckoutwidgetdistribution.form.component.js.map +1 -0
  232. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.d.ts +10 -0
  233. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.d.ts.map +1 -0
  234. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.js +98 -0
  235. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentMethod/mjbizappsorderscustomerpaymentmethod.form.component.js.map +1 -0
  236. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.d.ts +10 -0
  237. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.d.ts.map +1 -0
  238. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.js +89 -0
  239. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerPaymentTerms/mjbizappsorderscustomerpaymentterms.form.component.js.map +1 -0
  240. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.d.ts +10 -0
  241. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.d.ts.map +1 -0
  242. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.js +103 -0
  243. package/dist/lib/generated/Entities/mjBizAppsOrdersCustomerTaxExemption/mjbizappsorderscustomertaxexemption.form.component.js.map +1 -0
  244. package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.d.ts +10 -0
  245. package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.d.ts.map +1 -0
  246. package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js +107 -0
  247. package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js.map +1 -0
  248. package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.d.ts +10 -0
  249. package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.d.ts.map +1 -0
  250. package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js +139 -0
  251. package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js.map +1 -0
  252. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts +10 -0
  253. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts.map +1 -0
  254. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js +129 -0
  255. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js.map +1 -0
  256. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.d.ts +10 -0
  257. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.d.ts.map +1 -0
  258. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.js +122 -0
  259. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustment/mjbizappsordersorderadjustment.form.component.js.map +1 -0
  260. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.d.ts +10 -0
  261. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.d.ts.map +1 -0
  262. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.js +67 -0
  263. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderAdjustmentAllocation/mjbizappsordersorderadjustmentallocation.form.component.js.map +1 -0
  264. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.d.ts +10 -0
  265. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.d.ts.map +1 -0
  266. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.js +132 -0
  267. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCharge/mjbizappsordersordercharge.form.component.js.map +1 -0
  268. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.d.ts +10 -0
  269. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.d.ts.map +1 -0
  270. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.js +67 -0
  271. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderChargeAllocation/mjbizappsordersorderchargeallocation.form.component.js.map +1 -0
  272. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.d.ts +10 -0
  273. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.d.ts.map +1 -0
  274. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js +85 -0
  275. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js.map +1 -0
  276. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.d.ts +10 -0
  277. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.d.ts.map +1 -0
  278. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js +342 -0
  279. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js.map +1 -0
  280. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.d.ts +10 -0
  281. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.d.ts.map +1 -0
  282. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js +378 -0
  283. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js.map +1 -0
  284. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.d.ts +10 -0
  285. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.d.ts.map +1 -0
  286. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.js +71 -0
  287. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineDimension/mjbizappsordersorderlinedimension.form.component.js.map +1 -0
  288. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.d.ts +10 -0
  289. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.d.ts.map +1 -0
  290. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.js +89 -0
  291. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLinePriceComponent/mjbizappsordersorderlinepricecomponent.form.component.js.map +1 -0
  292. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.d.ts +10 -0
  293. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.d.ts.map +1 -0
  294. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.js +63 -0
  295. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderSequence/mjbizappsordersordersequence.form.component.js.map +1 -0
  296. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.d.ts +10 -0
  297. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.d.ts.map +1 -0
  298. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.js +180 -0
  299. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentDetail/mjbizappsorderspaymentdetail.form.component.js.map +1 -0
  300. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.d.ts +10 -0
  301. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.d.ts.map +1 -0
  302. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js +206 -0
  303. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js.map +1 -0
  304. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.d.ts +10 -0
  305. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.d.ts.map +1 -0
  306. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.js +128 -0
  307. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.js.map +1 -0
  308. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.d.ts +10 -0
  309. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.d.ts.map +1 -0
  310. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.js +87 -0
  311. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.js.map +1 -0
  312. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.d.ts +10 -0
  313. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.d.ts.map +1 -0
  314. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js +158 -0
  315. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js.map +1 -0
  316. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.d.ts +10 -0
  317. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.d.ts.map +1 -0
  318. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.js +110 -0
  319. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderType/mjbizappsorderspaymentprovidertype.form.component.js.map +1 -0
  320. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.d.ts +10 -0
  321. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.d.ts.map +1 -0
  322. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.js +63 -0
  323. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentSequence/mjbizappsorderspaymentsequence.form.component.js.map +1 -0
  324. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.d.ts +10 -0
  325. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.d.ts.map +1 -0
  326. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.js +108 -0
  327. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentTermsType/mjbizappsorderspaymenttermstype.form.component.js.map +1 -0
  328. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.d.ts +10 -0
  329. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.d.ts.map +1 -0
  330. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.js +144 -0
  331. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentType/mjbizappsorderspaymenttype.form.component.js.map +1 -0
  332. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.d.ts +10 -0
  333. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.d.ts.map +1 -0
  334. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.js +134 -0
  335. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceList/mjbizappsorderspricelist.form.component.js.map +1 -0
  336. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.d.ts +10 -0
  337. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.d.ts.map +1 -0
  338. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.js +89 -0
  339. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceListAssignment/mjbizappsorderspricelistassignment.form.component.js.map +1 -0
  340. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.d.ts +10 -0
  341. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.d.ts.map +1 -0
  342. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.js +71 -0
  343. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.js.map +1 -0
  344. package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.d.ts +10 -0
  345. package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.d.ts.map +1 -0
  346. package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js +294 -0
  347. package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js.map +1 -0
  348. package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.d.ts +10 -0
  349. package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.d.ts.map +1 -0
  350. package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.js +83 -0
  351. package/dist/lib/generated/Entities/mjBizAppsOrdersProductBundleItem/mjbizappsordersproductbundleitem.form.component.js.map +1 -0
  352. package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.d.ts +10 -0
  353. package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.d.ts.map +1 -0
  354. package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js +168 -0
  355. package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js.map +1 -0
  356. package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.d.ts +10 -0
  357. package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.d.ts.map +1 -0
  358. package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.js +114 -0
  359. package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.js.map +1 -0
  360. package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.d.ts +10 -0
  361. package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.d.ts.map +1 -0
  362. package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.js +162 -0
  363. package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.js.map +1 -0
  364. package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.d.ts +10 -0
  365. package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.d.ts.map +1 -0
  366. package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.js +136 -0
  367. package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.js.map +1 -0
  368. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.d.ts +10 -0
  369. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.d.ts.map +1 -0
  370. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.js +182 -0
  371. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotion/mjbizappsorderspromotion.form.component.js.map +1 -0
  372. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.d.ts +10 -0
  373. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.d.ts.map +1 -0
  374. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.js +108 -0
  375. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionCode/mjbizappsorderspromotioncode.form.component.js.map +1 -0
  376. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.d.ts +10 -0
  377. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.d.ts.map +1 -0
  378. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.js +75 -0
  379. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionTarget/mjbizappsorderspromotiontarget.form.component.js.map +1 -0
  380. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.d.ts +10 -0
  381. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.d.ts.map +1 -0
  382. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.js +90 -0
  383. package/dist/lib/generated/Entities/mjBizAppsOrdersPromotionType/mjbizappsorderspromotiontype.form.component.js.map +1 -0
  384. package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.d.ts +10 -0
  385. package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.d.ts.map +1 -0
  386. package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.js +138 -0
  387. package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.js.map +1 -0
  388. package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.d.ts +10 -0
  389. package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.d.ts.map +1 -0
  390. package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js +98 -0
  391. package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js.map +1 -0
  392. package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.d.ts +10 -0
  393. package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.d.ts.map +1 -0
  394. package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.js +87 -0
  395. package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.js.map +1 -0
  396. package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.d.ts +10 -0
  397. package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.d.ts.map +1 -0
  398. package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.js +134 -0
  399. package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueAccount/mjbizappsordersstoredvalueaccount.form.component.js.map +1 -0
  400. package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.d.ts +10 -0
  401. package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.d.ts.map +1 -0
  402. package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.js +87 -0
  403. package/dist/lib/generated/Entities/mjBizAppsOrdersStoredValueTransaction/mjbizappsordersstoredvaluetransaction.form.component.js.map +1 -0
  404. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.d.ts +10 -0
  405. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.d.ts.map +1 -0
  406. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js +234 -0
  407. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js.map +1 -0
  408. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.d.ts +10 -0
  409. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.d.ts.map +1 -0
  410. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.js +87 -0
  411. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionEvent/mjbizappsorderssubscriptionevent.form.component.js.map +1 -0
  412. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.d.ts +10 -0
  413. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.d.ts.map +1 -0
  414. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.js +63 -0
  415. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionSequence/mjbizappsorderssubscriptionsequence.form.component.js.map +1 -0
  416. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.d.ts +10 -0
  417. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.d.ts.map +1 -0
  418. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.js +122 -0
  419. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionTerm/mjbizappsorderssubscriptionterm.form.component.js.map +1 -0
  420. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.d.ts +10 -0
  421. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.d.ts.map +1 -0
  422. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.js +188 -0
  423. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionType/mjbizappsorderssubscriptiontype.form.component.js.map +1 -0
  424. package/dist/lib/generated/class-registrations-manifest.d.ts +7 -0
  425. package/dist/lib/generated/class-registrations-manifest.d.ts.map +1 -0
  426. package/dist/lib/generated/class-registrations-manifest.js +7 -0
  427. package/dist/lib/generated/class-registrations-manifest.js.map +1 -0
  428. package/dist/lib/generated/generated-forms.module.d.ts +79 -0
  429. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -0
  430. package/dist/lib/generated/generated-forms.module.js +276 -0
  431. package/dist/lib/generated/generated-forms.module.js.map +1 -0
  432. package/dist/lib/pages/catalog/pricing.page.d.ts +81 -0
  433. package/dist/lib/pages/catalog/pricing.page.d.ts.map +1 -0
  434. package/dist/lib/pages/catalog/pricing.page.js +555 -0
  435. package/dist/lib/pages/catalog/pricing.page.js.map +1 -0
  436. package/dist/lib/pages/catalog/products.page.d.ts +98 -0
  437. package/dist/lib/pages/catalog/products.page.d.ts.map +1 -0
  438. package/dist/lib/pages/catalog/products.page.js +877 -0
  439. package/dist/lib/pages/catalog/products.page.js.map +1 -0
  440. package/dist/lib/pages/orders/fulfillment.page.d.ts +54 -0
  441. package/dist/lib/pages/orders/fulfillment.page.d.ts.map +1 -0
  442. package/dist/lib/pages/orders/fulfillment.page.js +279 -0
  443. package/dist/lib/pages/orders/fulfillment.page.js.map +1 -0
  444. package/dist/lib/pages/orders/order-document.page.d.ts +71 -0
  445. package/dist/lib/pages/orders/order-document.page.d.ts.map +1 -0
  446. package/dist/lib/pages/orders/order-document.page.js +573 -0
  447. package/dist/lib/pages/orders/order-document.page.js.map +1 -0
  448. package/dist/lib/pages/orders/orders-dashboard.page.d.ts +79 -0
  449. package/dist/lib/pages/orders/orders-dashboard.page.d.ts.map +1 -0
  450. package/dist/lib/pages/orders/orders-dashboard.page.js +819 -0
  451. package/dist/lib/pages/orders/orders-dashboard.page.js.map +1 -0
  452. package/dist/lib/pages/orders/orders-list.page.d.ts +21 -0
  453. package/dist/lib/pages/orders/orders-list.page.d.ts.map +1 -0
  454. package/dist/lib/pages/orders/orders-list.page.js +74 -0
  455. package/dist/lib/pages/orders/orders-list.page.js.map +1 -0
  456. package/dist/lib/pages/orders/return.page.d.ts +96 -0
  457. package/dist/lib/pages/orders/return.page.d.ts.map +1 -0
  458. package/dist/lib/pages/orders/return.page.js +549 -0
  459. package/dist/lib/pages/orders/return.page.js.map +1 -0
  460. package/dist/lib/pages/payments/account-credit.page.d.ts +96 -0
  461. package/dist/lib/pages/payments/account-credit.page.d.ts.map +1 -0
  462. package/dist/lib/pages/payments/account-credit.page.js +463 -0
  463. package/dist/lib/pages/payments/account-credit.page.js.map +1 -0
  464. package/dist/lib/pages/payments/payments-dashboard.page.d.ts +61 -0
  465. package/dist/lib/pages/payments/payments-dashboard.page.d.ts.map +1 -0
  466. package/dist/lib/pages/payments/payments-dashboard.page.js +359 -0
  467. package/dist/lib/pages/payments/payments-dashboard.page.js.map +1 -0
  468. package/dist/lib/pages/payments/payments-list.page.d.ts +18 -0
  469. package/dist/lib/pages/payments/payments-list.page.d.ts.map +1 -0
  470. package/dist/lib/pages/payments/payments-list.page.js +71 -0
  471. package/dist/lib/pages/payments/payments-list.page.js.map +1 -0
  472. package/dist/lib/pages/payments/refund.page.d.ts +74 -0
  473. package/dist/lib/pages/payments/refund.page.d.ts.map +1 -0
  474. package/dist/lib/pages/payments/refund.page.js +477 -0
  475. package/dist/lib/pages/payments/refund.page.js.map +1 -0
  476. package/dist/lib/pages/receivables/customer-ar.page.d.ts +102 -0
  477. package/dist/lib/pages/receivables/customer-ar.page.d.ts.map +1 -0
  478. package/dist/lib/pages/receivables/customer-ar.page.js +782 -0
  479. package/dist/lib/pages/receivables/customer-ar.page.js.map +1 -0
  480. package/dist/lib/pages/receivables/overdue.page.d.ts +71 -0
  481. package/dist/lib/pages/receivables/overdue.page.d.ts.map +1 -0
  482. package/dist/lib/pages/receivables/overdue.page.js +338 -0
  483. package/dist/lib/pages/receivables/overdue.page.js.map +1 -0
  484. package/dist/lib/pages/receivables/subscriptions.page.d.ts +115 -0
  485. package/dist/lib/pages/receivables/subscriptions.page.d.ts.map +1 -0
  486. package/dist/lib/pages/receivables/subscriptions.page.js +632 -0
  487. package/dist/lib/pages/receivables/subscriptions.page.js.map +1 -0
  488. package/dist/lib/panels/aging-bar.component.d.ts +59 -0
  489. package/dist/lib/panels/aging-bar.component.d.ts.map +1 -0
  490. package/dist/lib/panels/aging-bar.component.js +180 -0
  491. package/dist/lib/panels/aging-bar.component.js.map +1 -0
  492. package/dist/lib/panels/allocation-grid.component.d.ts +90 -0
  493. package/dist/lib/panels/allocation-grid.component.d.ts.map +1 -0
  494. package/dist/lib/panels/allocation-grid.component.js +425 -0
  495. package/dist/lib/panels/allocation-grid.component.js.map +1 -0
  496. package/dist/lib/panels/allocation-math.d.ts +59 -0
  497. package/dist/lib/panels/allocation-math.d.ts.map +1 -0
  498. package/dist/lib/panels/allocation-math.js +99 -0
  499. package/dist/lib/panels/allocation-math.js.map +1 -0
  500. package/dist/lib/panels/chips.component.d.ts +104 -0
  501. package/dist/lib/panels/chips.component.d.ts.map +1 -0
  502. package/dist/lib/panels/chips.component.js +274 -0
  503. package/dist/lib/panels/chips.component.js.map +1 -0
  504. package/dist/lib/panels/day-bars.component.d.ts +64 -0
  505. package/dist/lib/panels/day-bars.component.d.ts.map +1 -0
  506. package/dist/lib/panels/day-bars.component.js +143 -0
  507. package/dist/lib/panels/day-bars.component.js.map +1 -0
  508. package/dist/lib/panels/decomposition-ladder.component.d.ts +68 -0
  509. package/dist/lib/panels/decomposition-ladder.component.d.ts.map +1 -0
  510. package/dist/lib/panels/decomposition-ladder.component.js +217 -0
  511. package/dist/lib/panels/decomposition-ladder.component.js.map +1 -0
  512. package/dist/lib/panels/index.d.ts +46 -0
  513. package/dist/lib/panels/index.d.ts.map +1 -0
  514. package/dist/lib/panels/index.js +58 -0
  515. package/dist/lib/panels/index.js.map +1 -0
  516. package/dist/lib/panels/journal-entry-preview.component.d.ts +71 -0
  517. package/dist/lib/panels/journal-entry-preview.component.d.ts.map +1 -0
  518. package/dist/lib/panels/journal-entry-preview.component.js +281 -0
  519. package/dist/lib/panels/journal-entry-preview.component.js.map +1 -0
  520. package/dist/lib/panels/money-format.d.ts +182 -0
  521. package/dist/lib/panels/money-format.d.ts.map +1 -0
  522. package/dist/lib/panels/money-format.js +297 -0
  523. package/dist/lib/panels/money-format.js.map +1 -0
  524. package/dist/lib/panels/money-strip.component.d.ts +69 -0
  525. package/dist/lib/panels/money-strip.component.d.ts.map +1 -0
  526. package/dist/lib/panels/money-strip.component.js +233 -0
  527. package/dist/lib/panels/money-strip.component.js.map +1 -0
  528. package/dist/lib/panels/order-stages.d.ts +75 -0
  529. package/dist/lib/panels/order-stages.d.ts.map +1 -0
  530. package/dist/lib/panels/order-stages.js +100 -0
  531. package/dist/lib/panels/order-stages.js.map +1 -0
  532. package/dist/lib/panels/party-orders-overview.component.d.ts +79 -0
  533. package/dist/lib/panels/party-orders-overview.component.d.ts.map +1 -0
  534. package/dist/lib/panels/party-orders-overview.component.js +906 -0
  535. package/dist/lib/panels/party-orders-overview.component.js.map +1 -0
  536. package/dist/lib/panels/stat-tile.component.d.ts +75 -0
  537. package/dist/lib/panels/stat-tile.component.d.ts.map +1 -0
  538. package/dist/lib/panels/stat-tile.component.js +214 -0
  539. package/dist/lib/panels/stat-tile.component.js.map +1 -0
  540. package/dist/lib/panels/status-stepper.component.d.ts +60 -0
  541. package/dist/lib/panels/status-stepper.component.d.ts.map +1 -0
  542. package/dist/lib/panels/status-stepper.component.js +160 -0
  543. package/dist/lib/panels/status-stepper.component.js.map +1 -0
  544. package/dist/lib/panels/summary-strip.component.d.ts +48 -0
  545. package/dist/lib/panels/summary-strip.component.d.ts.map +1 -0
  546. package/dist/lib/panels/summary-strip.component.js +100 -0
  547. package/dist/lib/panels/summary-strip.component.js.map +1 -0
  548. package/dist/lib/panels/worklist-table.component.d.ts +127 -0
  549. package/dist/lib/panels/worklist-table.component.d.ts.map +1 -0
  550. package/dist/lib/panels/worklist-table.component.js +444 -0
  551. package/dist/lib/panels/worklist-table.component.js.map +1 -0
  552. package/dist/lib/sections/orders-sections.component.d.ts +282 -0
  553. package/dist/lib/sections/orders-sections.component.d.ts.map +1 -0
  554. package/dist/lib/sections/orders-sections.component.js +1117 -0
  555. package/dist/lib/sections/orders-sections.component.js.map +1 -0
  556. package/dist/lib/sections/section-nav.model.d.ts +74 -0
  557. package/dist/lib/sections/section-nav.model.d.ts.map +1 -0
  558. package/dist/lib/sections/section-nav.model.js +114 -0
  559. package/dist/lib/sections/section-nav.model.js.map +1 -0
  560. package/dist/lib/sections/section-shell.component.d.ts +70 -0
  561. package/dist/lib/sections/section-shell.component.d.ts.map +1 -0
  562. package/dist/lib/sections/section-shell.component.js +193 -0
  563. package/dist/lib/sections/section-shell.component.js.map +1 -0
  564. package/dist/lib/services/pricing-scheduler.service.d.ts +181 -0
  565. package/dist/lib/services/pricing-scheduler.service.d.ts.map +1 -0
  566. package/dist/lib/services/pricing-scheduler.service.js +292 -0
  567. package/dist/lib/services/pricing-scheduler.service.js.map +1 -0
  568. package/dist/lib/services/save-error.d.ts +24 -0
  569. package/dist/lib/services/save-error.d.ts.map +1 -0
  570. package/dist/lib/services/save-error.js +47 -0
  571. package/dist/lib/services/save-error.js.map +1 -0
  572. package/dist/lib/styles/orders-kit.css +841 -0
  573. package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.d.ts +55 -0
  574. package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.d.ts.map +1 -0
  575. package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.js +243 -0
  576. package/dist/lib/transfer-pending/workspace-tabs/workspace-card.component.js.map +1 -0
  577. package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.d.ts +47 -0
  578. package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.d.ts.map +1 -0
  579. package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.js +112 -0
  580. package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-store.js.map +1 -0
  581. package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.d.ts +36 -0
  582. package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.d.ts.map +1 -0
  583. package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.js +179 -0
  584. package/dist/lib/transfer-pending/workspace-tabs/workspace-tab-strip.component.js.map +1 -0
  585. package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.d.ts +36 -0
  586. package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.d.ts.map +1 -0
  587. package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.js +9 -0
  588. package/dist/lib/transfer-pending/workspace-tabs/workspace-tabs.types.js.map +1 -0
  589. package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.d.ts +35 -0
  590. package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.d.ts.map +1 -0
  591. package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.js +124 -0
  592. package/dist/lib/transfer-pending/workspace-tabs/workspace-tip.directive.js.map +1 -0
  593. package/dist/public-api.d.ts +80 -0
  594. package/dist/public-api.d.ts.map +1 -0
  595. package/dist/public-api.js +98 -0
  596. package/dist/public-api.js.map +1 -0
  597. package/package.json +78 -5
@@ -0,0 +1,555 @@
1
+ import { ChangeDetectorRef, Component, inject } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { EntityViewerModule } from '@memberjunction/ng-entity-viewer';
4
+ import { Metadata } from '@memberjunction/core';
5
+ import { FormatDate, FormatMoney } from '../../panels/money-format.js';
6
+ import { MJAlertComponent } from '@memberjunction/ng-ui-components';
7
+ import { GetPriceLists, GetPriceTiers, GetProductPrices, GetPromotions } from '../../data/orders-queries.js';
8
+ import { MJO_ENTITIES } from '../../data/entity-names.js';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "@memberjunction/ng-entity-viewer";
11
+ const _forTrack0 = ($index, $item) => $item["ID"];
12
+ const _forTrack1 = ($index, $item) => $item.Key;
13
+ function MJOPricingPageComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
14
+ i0.ɵɵelement(0, "mj-entity-viewer", 2);
15
+ } if (rf & 2) {
16
+ const ctx_r0 = i0.ɵɵnextContext();
17
+ i0.ɵɵproperty("Entity", ctx_r0.ProductPriceEntityInfo);
18
+ } }
19
+ function MJOPricingPageComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
20
+ i0.ɵɵelementStart(0, "div", 3);
21
+ i0.ɵɵtext(1, "Loading price rules...");
22
+ i0.ɵɵelementEnd();
23
+ } }
24
+ function MJOPricingPageComponent_For_30_Template(rf, ctx) { if (rf & 1) {
25
+ i0.ɵɵelementStart(0, "tr")(1, "td");
26
+ i0.ɵɵtext(2);
27
+ i0.ɵɵelementStart(3, "div", 21);
28
+ i0.ɵɵtext(4);
29
+ i0.ɵɵelementEnd()();
30
+ i0.ɵɵelementStart(5, "td", 22);
31
+ i0.ɵɵtext(6);
32
+ i0.ɵɵelementEnd();
33
+ i0.ɵɵelementStart(7, "td")(8, "span", 23);
34
+ i0.ɵɵtext(9);
35
+ i0.ɵɵelementEnd()()();
36
+ } if (rf & 2) {
37
+ const list_r2 = ctx.$implicit;
38
+ const ctx_r0 = i0.ɵɵnextContext();
39
+ i0.ɵɵadvance(2);
40
+ i0.ɵɵtextInterpolate1(" ", list_r2["Name"], " ");
41
+ i0.ɵɵadvance(2);
42
+ i0.ɵɵtextInterpolate(list_r2["Code"]);
43
+ i0.ɵɵadvance(2);
44
+ i0.ɵɵtextInterpolate(ctx_r0.windowOf(list_r2));
45
+ i0.ɵɵadvance(2);
46
+ i0.ɵɵclassMap(ctx_r0.statusChip(list_r2["Status"]));
47
+ i0.ɵɵadvance();
48
+ i0.ɵɵtextInterpolate1(" ", list_r2["Status"] ?? "\u2014", " ");
49
+ } }
50
+ function MJOPricingPageComponent_ForEmpty_31_Template(rf, ctx) { if (rf & 1) {
51
+ i0.ɵɵelementStart(0, "tr")(1, "td", 24);
52
+ i0.ɵɵtext(2, " No price lists. Every product then prices from its own default \u2014 which is a valid configuration, not a gap. ");
53
+ i0.ɵɵelementEnd()();
54
+ } }
55
+ function MJOPricingPageComponent_For_73_Template(rf, ctx) { if (rf & 1) {
56
+ i0.ɵɵelementStart(0, "tr")(1, "td", 22);
57
+ i0.ɵɵtext(2);
58
+ i0.ɵɵelementEnd();
59
+ i0.ɵɵelementStart(3, "td", 17);
60
+ i0.ɵɵtext(4);
61
+ i0.ɵɵelementEnd()();
62
+ } if (rf & 2) {
63
+ const tier_r3 = ctx.$implicit;
64
+ const ctx_r0 = i0.ɵɵnextContext();
65
+ i0.ɵɵadvance(2);
66
+ i0.ɵɵtextInterpolate(ctx_r0.bandOf(tier_r3));
67
+ i0.ɵɵadvance(2);
68
+ i0.ɵɵtextInterpolate(ctx_r0.money(tier_r3["Amount"]));
69
+ } }
70
+ function MJOPricingPageComponent_ForEmpty_74_Template(rf, ctx) { if (rf & 1) {
71
+ i0.ɵɵelementStart(0, "tr")(1, "td", 25);
72
+ i0.ɵɵtext(2, " No banded prices. A product without bands charges one unit price at every quantity. ");
73
+ i0.ɵɵelementEnd()();
74
+ } }
75
+ function MJOPricingPageComponent_For_95_Template(rf, ctx) { if (rf & 1) {
76
+ i0.ɵɵelementStart(0, "tr")(1, "td", 22);
77
+ i0.ɵɵtext(2);
78
+ i0.ɵɵelementEnd();
79
+ i0.ɵɵelementStart(3, "td", 22);
80
+ i0.ɵɵtext(4);
81
+ i0.ɵɵelementEnd()();
82
+ } if (rf & 2) {
83
+ const row_r4 = ctx.$implicit;
84
+ i0.ɵɵadvance(2);
85
+ i0.ɵɵtextInterpolate(row_r4.Product);
86
+ i0.ɵɵadvance(2);
87
+ i0.ɵɵtextInterpolate(row_r4.When);
88
+ } }
89
+ function MJOPricingPageComponent_ForEmpty_96_Template(rf, ctx) { if (rf & 1) {
90
+ i0.ɵɵelementStart(0, "tr")(1, "td", 25);
91
+ i0.ɵɵtext(2, " No recurrence restrictions \u2014 every rule applies whenever its effective window is open. ");
92
+ i0.ɵɵelementEnd()();
93
+ } }
94
+ function MJOPromotionsPageComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
95
+ i0.ɵɵelement(0, "mj-entity-viewer", 2);
96
+ } if (rf & 2) {
97
+ const ctx_r0 = i0.ɵɵnextContext();
98
+ i0.ɵɵproperty("Entity", ctx_r0.PromotionEntityInfo);
99
+ } }
100
+ function MJOPromotionsPageComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
101
+ i0.ɵɵelementStart(0, "div", 3);
102
+ i0.ɵɵtext(1, "Loading promotions...");
103
+ i0.ɵɵelementEnd();
104
+ } }
105
+ /**
106
+ * `mjo-pricing-page` — price rules, and the dates that switch them over.
107
+ *
108
+ * ONE ROW IS ONE PRICE RULE. Bands, seasons and time-of-day windows are several
109
+ * rows rather than one row with more columns, and `Priority` disambiguates when
110
+ * two of them match. That shape is what keeps a rule readable: "10% off
111
+ * publications in March" is a row, not a clause inside a row.
112
+ *
113
+ * TIES ARE REFUSED AT WRITE TIME, not resolved at read time. A price that depends
114
+ * on which of two equal-priority rules the database returned first is a price
115
+ * nobody can explain, and the person who created the ambiguity is the one who
116
+ * should resolve it — while they still remember what they meant.
117
+ *
118
+ * Direct entry on an order line always wins over every rule here. Pricing layers
119
+ * suggestion on top of that rather than replacing it, so it can never block a
120
+ * baseline flow.
121
+ *
122
+ * ## Example
123
+ *
124
+ * ```html
125
+ * <mjo-pricing-page />
126
+ * ```
127
+ */
128
+ export class MJOPricingPageComponent {
129
+ cdr = inject(ChangeDetectorRef);
130
+ ProductPriceEntityInfo = null;
131
+ Rows = [];
132
+ PriceLists = [];
133
+ Tiers = [];
134
+ async ngOnInit() {
135
+ const md = new Metadata();
136
+ this.ProductPriceEntityInfo = md.Entities.find((e) => e.Name === MJO_ENTITIES.ProductPrice) || null;
137
+ const [rows, lists, tiers] = await Promise.all([
138
+ GetProductPrices(),
139
+ GetPriceLists(),
140
+ GetPriceTiers(),
141
+ ]);
142
+ this.Rows = rows;
143
+ this.PriceLists = lists;
144
+ this.Tiers = tiers;
145
+ this.cdr.detectChanges();
146
+ }
147
+ /**
148
+ * Rules that only apply at certain times.
149
+ *
150
+ * Derived from the price rows already loaded rather than queried again — a
151
+ * recurrence is a narrowing ON a rule, not a separate record, which is the
152
+ * whole reason a happy hour is not a second pricing system.
153
+ */
154
+ get Recurring() {
155
+ const DAYS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
156
+ const MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
157
+ const list = (csv, names) => {
158
+ const raw = String(csv ?? '').trim();
159
+ if (!raw)
160
+ return null;
161
+ return raw
162
+ .split(',')
163
+ .map((n) => names[Number(n.trim()) % names.length] ?? n.trim())
164
+ .join(', ');
165
+ };
166
+ return this.Rows.flatMap((row) => {
167
+ const days = list(row['RecurrenceDaysOfWeek'], DAYS);
168
+ const months = list(row['RecurrenceMonths'], MONTHS);
169
+ const from = row['TimeOfDayStart'] ? String(row['TimeOfDayStart']).slice(0, 5) : null;
170
+ const to = row['TimeOfDayEnd'] ? String(row['TimeOfDayEnd']).slice(0, 5) : null;
171
+ const time = from || to ? `${from ?? 'open'}–${to ?? 'close'}` : null;
172
+ const parts = [days, months, time].filter(Boolean);
173
+ if (!parts.length)
174
+ return [];
175
+ return [{
176
+ Key: String(row['ID']),
177
+ Product: `${row['Product'] ?? ''} · ${row['PriceList'] ?? 'standard'}`,
178
+ When: parts.join(' · '),
179
+ }];
180
+ });
181
+ }
182
+ /** "5–9" or "10+" — a band with no ceiling is the last one. */
183
+ bandOf(tier) {
184
+ const min = tier.MinQuantity ?? 0;
185
+ const max = tier.MaxQuantity;
186
+ // `max === ''` was also tested here. `MaxQuantity` is a number, so that arm was unreachable
187
+ // — a leftover from when this read an untyped row and nobody could tell.
188
+ return max == null ? `${min}+` : `${min}–${max}`;
189
+ }
190
+ windowOf(row) {
191
+ const from = row['EffectiveFrom'] ? FormatDate(String(row['EffectiveFrom']), { Short: true }) : '—';
192
+ const to = row['EffectiveTo'] ? FormatDate(String(row['EffectiveTo']), { Short: true }) : 'open';
193
+ return `${from} → ${to}`;
194
+ }
195
+ statusChip(status) {
196
+ return status === 'Active' ? 'mj-chip--success' : 'mj-chip--outline';
197
+ }
198
+ money(value) {
199
+ return FormatMoney(Number(value ?? 0));
200
+ }
201
+ static ɵfac = function MJOPricingPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOPricingPageComponent)(); };
202
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOPricingPageComponent, selectors: [["mjo-pricing-page"]], decls: 103, vars: 5, consts: [["Variant", "info", "Icon", "fa-solid fa-tags", 1, "mjo-pr__note"], [1, "mjo-pr__viewer-host"], [3, "Entity"], [1, "small", "muted", 2, "padding", "24px"], [1, "mjo-pr__grid"], [1, "mj-card"], [1, "mj-card-head"], ["aria-hidden", "true", 1, "fa-solid", "fa-tags"], [1, "right", "small", "muted"], [1, "mj-table-wrap"], [1, "mj-table", "mj-table--compact"], ["aria-hidden", "true", 1, "fa-solid", "fa-sitemap"], [1, "mj-card-pad"], [1, "mjo-pr__walk"], [1, "small", "muted", "mjo-pr__note"], [1, "mjo-pr__grid", "mjo-pr__block"], ["aria-hidden", "true", 1, "fa-solid", "fa-layer-group"], [1, "num"], [1, "mj-card-pad", "small", "muted"], ["aria-hidden", "true", 1, "fa-solid", "fa-clock"], ["Variant", "warning", "Icon", "fa-solid fa-triangle-exclamation", 1, "mjo-pr__block"], [1, "secondary", "mono"], [1, "small"], [1, "mj-chip"], ["colspan", "3", 1, "small", "muted"], ["colspan", "2", 1, "small", "muted"]], template: function MJOPricingPageComponent_Template(rf, ctx) { if (rf & 1) {
203
+ i0.ɵɵelementStart(0, "mj-alert", 0)(1, "strong");
204
+ i0.ɵɵtext(2, "One row is one price rule.");
205
+ i0.ɵɵelementEnd();
206
+ i0.ɵɵtext(3, " Bands and seasons are several rows rather than one row with more columns, and priority disambiguates. Ties between equal-priority rules are refused when the rule is ");
207
+ i0.ɵɵelementStart(4, "b");
208
+ i0.ɵɵtext(5, "saved");
209
+ i0.ɵɵelementEnd();
210
+ i0.ɵɵtext(6, " \u2014 a price that depends on row order is a price nobody can explain. ");
211
+ i0.ɵɵelementEnd();
212
+ i0.ɵɵelementStart(7, "div", 1);
213
+ i0.ɵɵconditionalCreate(8, MJOPricingPageComponent_Conditional_8_Template, 1, 1, "mj-entity-viewer", 2)(9, MJOPricingPageComponent_Conditional_9_Template, 2, 0, "div", 3);
214
+ i0.ɵɵelementEnd();
215
+ i0.ɵɵelementStart(10, "div", 4)(11, "div", 5)(12, "div", 6);
216
+ i0.ɵɵelement(13, "i", 7);
217
+ i0.ɵɵelementStart(14, "h3");
218
+ i0.ɵɵtext(15, "Price lists");
219
+ i0.ɵɵelementEnd();
220
+ i0.ɵɵelementStart(16, "span", 8);
221
+ i0.ɵɵtext(17);
222
+ i0.ɵɵelementEnd()();
223
+ i0.ɵɵelementStart(18, "div", 9)(19, "table", 10)(20, "thead")(21, "tr")(22, "th");
224
+ i0.ɵɵtext(23, "List");
225
+ i0.ɵɵelementEnd();
226
+ i0.ɵɵelementStart(24, "th");
227
+ i0.ɵɵtext(25, "Window");
228
+ i0.ɵɵelementEnd();
229
+ i0.ɵɵelementStart(26, "th");
230
+ i0.ɵɵtext(27, "Status");
231
+ i0.ɵɵelementEnd()()();
232
+ i0.ɵɵelementStart(28, "tbody");
233
+ i0.ɵɵrepeaterCreate(29, MJOPricingPageComponent_For_30_Template, 10, 6, "tr", null, _forTrack0, false, MJOPricingPageComponent_ForEmpty_31_Template, 3, 0, "tr");
234
+ i0.ɵɵelementEnd()()()();
235
+ i0.ɵɵelementStart(32, "div", 5)(33, "div", 6);
236
+ i0.ɵɵelement(34, "i", 11);
237
+ i0.ɵɵelementStart(35, "h3");
238
+ i0.ɵɵtext(36, "How a price resolves");
239
+ i0.ɵɵelementEnd()();
240
+ i0.ɵɵelementStart(37, "div", 12)(38, "ol", 13)(39, "li")(40, "b");
241
+ i0.ɵɵtext(41, "A price typed on the line");
242
+ i0.ɵɵelementEnd();
243
+ i0.ɵɵtext(42, " \u2014 wins outright. Nothing below is consulted, and the line records that it was stated. ");
244
+ i0.ɵɵelementEnd();
245
+ i0.ɵɵelementStart(43, "li")(44, "b");
246
+ i0.ɵɵtext(45, "A rule on the customer's price list");
247
+ i0.ɵɵelementEnd();
248
+ i0.ɵɵtext(46, ", highest priority first, within its effective window and recurrence. ");
249
+ i0.ɵɵelementEnd();
250
+ i0.ɵɵelementStart(47, "li")(48, "b");
251
+ i0.ɵɵtext(49, "A rule on the standard list");
252
+ i0.ɵɵelementEnd();
253
+ i0.ɵɵtext(50, ", same ordering. ");
254
+ i0.ɵɵelementEnd();
255
+ i0.ɵɵelementStart(51, "li")(52, "b");
256
+ i0.ɵɵtext(53, "The product's standalone selling price");
257
+ i0.ɵɵelementEnd();
258
+ i0.ɵɵtext(54, " \u2014 the floor, so a line can always be priced. ");
259
+ i0.ɵɵelementEnd()();
260
+ i0.ɵɵelementStart(55, "div", 14);
261
+ i0.ɵɵtext(56, " The walk stops at the first answer. That is what makes a price explainable: there is exactly one reason for it, and it can be named. ");
262
+ i0.ɵɵelementEnd()()()();
263
+ i0.ɵɵelementStart(57, "div", 15)(58, "div", 5)(59, "div", 6);
264
+ i0.ɵɵelement(60, "i", 16);
265
+ i0.ɵɵelementStart(61, "h3");
266
+ i0.ɵɵtext(62, "Tiered bands");
267
+ i0.ɵɵelementEnd()();
268
+ i0.ɵɵelementStart(63, "div", 9)(64, "table", 10)(65, "thead")(66, "tr")(67, "th");
269
+ i0.ɵɵtext(68, "Quantity");
270
+ i0.ɵɵelementEnd();
271
+ i0.ɵɵelementStart(69, "th", 17);
272
+ i0.ɵɵtext(70, "Unit");
273
+ i0.ɵɵelementEnd()()();
274
+ i0.ɵɵelementStart(71, "tbody");
275
+ i0.ɵɵrepeaterCreate(72, MJOPricingPageComponent_For_73_Template, 5, 2, "tr", null, _forTrack0, false, MJOPricingPageComponent_ForEmpty_74_Template, 3, 0, "tr");
276
+ i0.ɵɵelementEnd()()();
277
+ i0.ɵɵelementStart(75, "div", 18);
278
+ i0.ɵɵtext(76, " Bands are read by quantity, and the band that matches sets the unit price for ");
279
+ i0.ɵɵelementStart(77, "b");
280
+ i0.ɵɵtext(78, "every");
281
+ i0.ɵɵelementEnd();
282
+ i0.ɵɵtext(79, " unit \u2014 not just the ones above the threshold. That is the difference between a tier and a bracket, and getting it wrong is a silent overcharge. ");
283
+ i0.ɵɵelementEnd()();
284
+ i0.ɵɵelementStart(80, "div", 5)(81, "div", 6);
285
+ i0.ɵɵelement(82, "i", 19);
286
+ i0.ɵɵelementStart(83, "h3");
287
+ i0.ɵɵtext(84, "Recurrence windows");
288
+ i0.ɵɵelementEnd()();
289
+ i0.ɵɵelementStart(85, "div", 9)(86, "table", 10)(87, "thead")(88, "tr")(89, "th");
290
+ i0.ɵɵtext(90, "Rule");
291
+ i0.ɵɵelementEnd();
292
+ i0.ɵɵelementStart(91, "th");
293
+ i0.ɵɵtext(92, "When it applies");
294
+ i0.ɵɵelementEnd()()();
295
+ i0.ɵɵelementStart(93, "tbody");
296
+ i0.ɵɵrepeaterCreate(94, MJOPricingPageComponent_For_95_Template, 5, 2, "tr", null, _forTrack1, false, MJOPricingPageComponent_ForEmpty_96_Template, 3, 0, "tr");
297
+ i0.ɵɵelementEnd()()();
298
+ i0.ɵɵelementStart(97, "div", 18);
299
+ i0.ɵɵtext(98, " A happy hour or a weekday rate is the SAME rule with a narrower window, not a second pricing system. Recurrence narrows when a rule is eligible; priority still decides which eligible rule wins. ");
300
+ i0.ɵɵelementEnd()()();
301
+ i0.ɵɵelementStart(99, "mj-alert", 20)(100, "strong");
302
+ i0.ɵɵtext(101, "Ambiguity is refused at write time.");
303
+ i0.ɵɵelementEnd();
304
+ i0.ɵɵtext(102, " Two rules with the same priority that could both match are rejected when the rule is SAVED, not resolved when a price is asked for. A price that depends on which row the database returned first is a price nobody can explain \u2014 and the person who created the ambiguity is the one who should resolve it, while they still remember what they meant. ");
305
+ i0.ɵɵelementEnd();
306
+ } if (rf & 2) {
307
+ i0.ɵɵadvance(8);
308
+ i0.ɵɵconditional(ctx.ProductPriceEntityInfo ? 8 : 9);
309
+ i0.ɵɵadvance(9);
310
+ i0.ɵɵtextInterpolate(ctx.PriceLists.length);
311
+ i0.ɵɵadvance(12);
312
+ i0.ɵɵrepeater(ctx.PriceLists);
313
+ i0.ɵɵadvance(43);
314
+ i0.ɵɵrepeater(ctx.Tiers);
315
+ i0.ɵɵadvance(22);
316
+ i0.ɵɵrepeater(ctx.Recurring);
317
+ } }, dependencies: [CommonModule, EntityViewerModule, i1.EntityViewerComponent, MJAlertComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-pr__note[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-4); }\n .mjo-pr__viewer-host[_ngcontent-%COMP%] {\n height: 520px;\n min-height: 450px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n margin-bottom: var(--mj-space-4);\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n .mjo-pr__grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-4);\n }\n .mjo-pr__block[_ngcontent-%COMP%] { margin-top: var(--mj-space-4); }\n .mjo-pr__walk[_ngcontent-%COMP%] { margin: 0; padding-left: var(--mj-space-5); }\n .mjo-pr__walk[_ngcontent-%COMP%] li[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-2); }\n @media (max-width: 1000px) {\n .mjo-pr__grid[_ngcontent-%COMP%] { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n [_nghost-%COMP%] { padding: var(--mj-space-4); }\n }"] });
318
+ }
319
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOPricingPageComponent, [{
320
+ type: Component,
321
+ args: [{ selector: 'mjo-pricing-page', standalone: true, imports: [CommonModule, EntityViewerModule, MJAlertComponent], template: `
322
+ <mj-alert Variant="info" Icon="fa-solid fa-tags" class="mjo-pr__note">
323
+ <strong>One row is one price rule.</strong>
324
+ Bands and seasons are several rows rather than one row with more columns, and priority
325
+ disambiguates. Ties between equal-priority rules are refused when the rule is
326
+ <b>saved</b> — a price that depends on row order is a price nobody can explain.
327
+ </mj-alert>
328
+
329
+ <div class="mjo-pr__viewer-host">
330
+ @if (ProductPriceEntityInfo) {
331
+ <mj-entity-viewer
332
+ [Entity]="ProductPriceEntityInfo">
333
+ </mj-entity-viewer>
334
+ } @else {
335
+ <div class="small muted" style="padding: 24px;">Loading price rules...</div>
336
+ }
337
+ </div>
338
+
339
+ <div class="mjo-pr__grid">
340
+ <div class="mj-card">
341
+ <div class="mj-card-head">
342
+ <i class="fa-solid fa-tags" aria-hidden="true"></i>
343
+ <h3>Price lists</h3>
344
+ <span class="right small muted">{{ PriceLists.length }}</span>
345
+ </div>
346
+ <div class="mj-table-wrap">
347
+ <table class="mj-table mj-table--compact">
348
+ <thead>
349
+ <tr><th>List</th><th>Window</th><th>Status</th></tr>
350
+ </thead>
351
+ <tbody>
352
+ @for (list of PriceLists; track list['ID']) {
353
+ <tr>
354
+ <td>
355
+ {{ list['Name'] }}
356
+ <div class="secondary mono">{{ list['Code'] }}</div>
357
+ </td>
358
+ <td class="small">{{ windowOf(list) }}</td>
359
+ <td>
360
+ <span class="mj-chip" [class]="statusChip(list['Status'])">
361
+ {{ list['Status'] ?? '—' }}
362
+ </span>
363
+ </td>
364
+ </tr>
365
+ } @empty {
366
+ <tr>
367
+ <td colspan="3" class="small muted">
368
+ No price lists. Every product then prices from its own
369
+ default — which is a valid configuration, not a gap.
370
+ </td>
371
+ </tr>
372
+ }
373
+ </tbody>
374
+ </table>
375
+ </div>
376
+ </div>
377
+
378
+ <div class="mj-card">
379
+ <div class="mj-card-head">
380
+ <i class="fa-solid fa-sitemap" aria-hidden="true"></i>
381
+ <h3>How a price resolves</h3>
382
+ </div>
383
+ <div class="mj-card-pad">
384
+ <ol class="mjo-pr__walk">
385
+ <li>
386
+ <b>A price typed on the line</b> — wins outright. Nothing below is
387
+ consulted, and the line records that it was stated.
388
+ </li>
389
+ <li>
390
+ <b>A rule on the customer's price list</b>, highest priority first,
391
+ within its effective window and recurrence.
392
+ </li>
393
+ <li>
394
+ <b>A rule on the standard list</b>, same ordering.
395
+ </li>
396
+ <li>
397
+ <b>The product's standalone selling price</b> — the floor, so a line can
398
+ always be priced.
399
+ </li>
400
+ </ol>
401
+ <div class="small muted mjo-pr__note">
402
+ The walk stops at the first answer. That is what makes a price explainable:
403
+ there is exactly one reason for it, and it can be named.
404
+ </div>
405
+ </div>
406
+ </div>
407
+ </div>
408
+
409
+ <div class="mjo-pr__grid mjo-pr__block">
410
+ <div class="mj-card">
411
+ <div class="mj-card-head">
412
+ <i class="fa-solid fa-layer-group" aria-hidden="true"></i>
413
+ <h3>Tiered bands</h3>
414
+ </div>
415
+ <div class="mj-table-wrap">
416
+ <table class="mj-table mj-table--compact">
417
+ <thead>
418
+ <tr><th>Quantity</th><th class="num">Unit</th></tr>
419
+ </thead>
420
+ <tbody>
421
+ @for (tier of Tiers; track tier['ID']) {
422
+ <tr>
423
+ <td class="small">{{ bandOf(tier) }}</td>
424
+ <td class="num">{{ money(tier['Amount']) }}</td>
425
+ </tr>
426
+ } @empty {
427
+ <tr>
428
+ <td colspan="2" class="small muted">
429
+ No banded prices. A product without bands charges one unit
430
+ price at every quantity.
431
+ </td>
432
+ </tr>
433
+ }
434
+ </tbody>
435
+ </table>
436
+ </div>
437
+ <div class="mj-card-pad small muted">
438
+ Bands are read by quantity, and the band that matches sets the unit price for
439
+ <b>every</b> unit — not just the ones above the threshold. That is the
440
+ difference between a tier and a bracket, and getting it wrong is a silent
441
+ overcharge.
442
+ </div>
443
+ </div>
444
+
445
+ <div class="mj-card">
446
+ <div class="mj-card-head">
447
+ <i class="fa-solid fa-clock" aria-hidden="true"></i>
448
+ <h3>Recurrence windows</h3>
449
+ </div>
450
+ <div class="mj-table-wrap">
451
+ <table class="mj-table mj-table--compact">
452
+ <thead>
453
+ <tr><th>Rule</th><th>When it applies</th></tr>
454
+ </thead>
455
+ <tbody>
456
+ @for (row of Recurring; track row.Key) {
457
+ <tr>
458
+ <td class="small">{{ row.Product }}</td>
459
+ <td class="small">{{ row.When }}</td>
460
+ </tr>
461
+ } @empty {
462
+ <tr>
463
+ <td colspan="2" class="small muted">
464
+ No recurrence restrictions — every rule applies whenever its
465
+ effective window is open.
466
+ </td>
467
+ </tr>
468
+ }
469
+ </tbody>
470
+ </table>
471
+ </div>
472
+ <div class="mj-card-pad small muted">
473
+ A happy hour or a weekday rate is the SAME rule with a narrower window, not a
474
+ second pricing system. Recurrence narrows when a rule is eligible; priority still
475
+ decides which eligible rule wins.
476
+ </div>
477
+ </div>
478
+ </div>
479
+
480
+ <mj-alert Variant="warning" Icon="fa-solid fa-triangle-exclamation" class="mjo-pr__block">
481
+ <strong>Ambiguity is refused at write time.</strong>
482
+ Two rules with the same priority that could both match are rejected when the rule is
483
+ SAVED, not resolved when a price is asked for. A price that depends on which row the
484
+ database returned first is a price nobody can explain — and the person who created
485
+ the ambiguity is the one who should resolve it, while they still remember what they
486
+ meant.
487
+ </mj-alert>
488
+ `, styles: ["\n :host {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-pr__note { margin-bottom: var(--mj-space-4); }\n .mjo-pr__viewer-host {\n height: 520px;\n min-height: 450px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n margin-bottom: var(--mj-space-4);\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n .mjo-pr__grid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-4);\n }\n .mjo-pr__block { margin-top: var(--mj-space-4); }\n .mjo-pr__walk { margin: 0; padding-left: var(--mj-space-5); }\n .mjo-pr__walk li { margin-bottom: var(--mj-space-2); }\n @media (max-width: 1000px) {\n .mjo-pr__grid { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n :host { padding: var(--mj-space-4); }\n }\n "] }]
489
+ }], null, null); })();
490
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOPricingPageComponent, { className: "MJOPricingPageComponent", filePath: "lib/pages/catalog/pricing.page.ts", lineNumber: 251 }); })();
491
+ /**
492
+ * `mjo-promotions-page` — offers, and the codes that redeem them.
493
+ *
494
+ * A PROMOTION IS THE OFFER; A CODE IS A REDEEMABLE STRING POINTING AT IT. Keeping
495
+ * them separate is what lets one offer carry several codes — a partner code, a
496
+ * conference code, a win-back code — all reporting into the same offer rather than
497
+ * into three offers whose numbers have to be added up by hand.
498
+ *
499
+ * STACKING IS CONFIGURED PER COMPANY and defaults to sequential, because
500
+ * sequential discounts LESS. When two configurations are both defensible, the
501
+ * safer one should be what happens when nobody chose.
502
+ *
503
+ * ## Example
504
+ *
505
+ * ```html
506
+ * <mjo-promotions-page />
507
+ * ```
508
+ */
509
+ export class MJOPromotionsPageComponent {
510
+ cdr = inject(ChangeDetectorRef);
511
+ PromotionEntityInfo = null;
512
+ Rows = [];
513
+ async ngOnInit() {
514
+ const md = new Metadata();
515
+ this.PromotionEntityInfo = md.Entities.find((e) => e.Name === MJO_ENTITIES.Promotion) || null;
516
+ this.Rows = await GetPromotions();
517
+ this.cdr.detectChanges();
518
+ }
519
+ static ɵfac = function MJOPromotionsPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOPromotionsPageComponent)(); };
520
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOPromotionsPageComponent, selectors: [["mjo-promotions-page"]], decls: 7, vars: 1, consts: [["Variant", "info", "Icon", "fa-solid fa-percent", 1, "mjo-pr__note"], [1, "mjo-pr__viewer-host"], [3, "Entity"], [1, "small", "muted", 2, "padding", "24px"]], template: function MJOPromotionsPageComponent_Template(rf, ctx) { if (rf & 1) {
521
+ i0.ɵɵelementStart(0, "mj-alert", 0)(1, "strong");
522
+ i0.ɵɵtext(2, "A promotion is the offer; a code is a string pointing at it.");
523
+ i0.ɵɵelementEnd();
524
+ i0.ɵɵtext(3, " One offer can carry several codes \u2014 partner, conference, win-back \u2014 all reporting into the same promotion rather than into three whose numbers have to be added up by hand. ");
525
+ i0.ɵɵelementEnd();
526
+ i0.ɵɵelementStart(4, "div", 1);
527
+ i0.ɵɵconditionalCreate(5, MJOPromotionsPageComponent_Conditional_5_Template, 1, 1, "mj-entity-viewer", 2)(6, MJOPromotionsPageComponent_Conditional_6_Template, 2, 0, "div", 3);
528
+ i0.ɵɵelementEnd();
529
+ } if (rf & 2) {
530
+ i0.ɵɵadvance(5);
531
+ i0.ɵɵconditional(ctx.PromotionEntityInfo ? 5 : 6);
532
+ } }, dependencies: [CommonModule, EntityViewerModule, i1.EntityViewerComponent, MJAlertComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-pr__note[_ngcontent-%COMP%] { margin-bottom: var(--mj-space-4); }\n .mjo-pr__viewer-host[_ngcontent-%COMP%] {\n height: 600px;\n min-height: 500px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n @media (max-width: 760px) {\n [_nghost-%COMP%] { padding: var(--mj-space-4); }\n }"] });
533
+ }
534
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOPromotionsPageComponent, [{
535
+ type: Component,
536
+ args: [{ selector: 'mjo-promotions-page', standalone: true, imports: [CommonModule, EntityViewerModule, MJAlertComponent], template: `
537
+ <mj-alert Variant="info" Icon="fa-solid fa-percent" class="mjo-pr__note">
538
+ <strong>A promotion is the offer; a code is a string pointing at it.</strong>
539
+ One offer can carry several codes — partner, conference, win-back — all reporting into the
540
+ same promotion rather than into three whose numbers have to be added up by hand.
541
+ </mj-alert>
542
+
543
+ <div class="mjo-pr__viewer-host">
544
+ @if (PromotionEntityInfo) {
545
+ <mj-entity-viewer
546
+ [Entity]="PromotionEntityInfo">
547
+ </mj-entity-viewer>
548
+ } @else {
549
+ <div class="small muted" style="padding: 24px;">Loading promotions...</div>
550
+ }
551
+ </div>
552
+ `, styles: ["\n :host {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-pr__note { margin-bottom: var(--mj-space-4); }\n .mjo-pr__viewer-host {\n height: 600px;\n min-height: 500px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n @media (max-width: 760px) {\n :host { padding: var(--mj-space-4); }\n }\n "] }]
553
+ }], null, null); })();
554
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOPromotionsPageComponent, { className: "MJOPromotionsPageComponent", filePath: "lib/pages/catalog/pricing.page.ts", lineNumber: 405 }); })();
555
+ //# sourceMappingURL=pricing.page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing.page.js","sourceRoot":"","sources":["../../../../src/lib/pages/catalog/pricing.page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAU,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAmB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1G,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;;;4CA6DtB,IAAI;;;IArBrB,sCAEmB;;;IADf,sDAAiC;;;IAGrC,8BAAgD;IAAA,sCAAsB;IAAA,iBAAM;;;IAmBxD,AADJ,0BAAI,SACI;IACA,YACA;IAAA,+BAA4B;IAAA,YAAkB;IAClD,AADkD,iBAAM,EACnD;IACL,8BAAkB;IAAA,YAAoB;IAAA,iBAAK;IAEvC,AADJ,0BAAI,eAC2D;IACvD,YACJ;IAER,AADI,AADI,iBAAO,EACN,EACJ;;;;IATG,eACA;IADA,gDACA;IAA4B,eAAkB;IAAlB,qCAAkB;IAEhC,eAAoB;IAApB,8CAAoB;IAEZ,eAAoC;IAApC,mDAAoC;IACtD,cACJ;IADI,8DACJ;;;IAKJ,AADJ,0BAAI,aACoC;IAChC,kIAEJ;IACJ,AADI,iBAAK,EACJ;;;IAoDD,AADJ,0BAAI,aACkB;IAAA,YAAkB;IAAA,iBAAK;IACzC,8BAA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