@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,782 @@
1
+ import { ChangeDetectorRef, Component, EventEmitter, Output, 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 { MJOAgingBarComponent } from '../../panels/aging-bar.component.js';
6
+ import { MJOMoneyStripComponent } from '../../panels/money-strip.component.js';
7
+ import { DaysSince, FormatDate, FormatMoney, Initials } from '../../panels/money-format.js';
8
+ import { MJAlertComponent } from '@memberjunction/ng-ui-components';
9
+ import { GetOrders, GetPaymentsForCustomer, GetSubscriptionsForCustomer } from '../../data/orders-queries.js';
10
+ import { MJO_ENTITIES } from '../../data/entity-names.js';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "@memberjunction/ng-entity-viewer";
13
+ const _forTrack0 = ($index, $item) => $item.Key;
14
+ const _forTrack1 = ($index, $item) => $item.ID;
15
+ const _forTrack2 = ($index, $item) => $item["ID"];
16
+ function MJOCustomerARPageComponent_For_20_Conditional_11_Template(rf, ctx) { if (rf & 1) {
17
+ i0.ɵɵelementStart(0, "span", 23);
18
+ i0.ɵɵtext(1);
19
+ i0.ɵɵelementEnd();
20
+ } if (rf & 2) {
21
+ const customer_r2 = i0.ɵɵnextContext().$implicit;
22
+ const ctx_r2 = i0.ɵɵnextContext();
23
+ i0.ɵɵadvance();
24
+ i0.ɵɵtextInterpolate1(" +", ctx_r2.money(customer_r2.Credit), " cr ");
25
+ } }
26
+ function MJOCustomerARPageComponent_For_20_Template(rf, ctx) { if (rf & 1) {
27
+ const _r1 = i0.ɵɵgetCurrentView();
28
+ i0.ɵɵelementStart(0, "button", 16);
29
+ i0.ɵɵlistener("click", function MJOCustomerARPageComponent_For_20_Template_button_click_0_listener() { const customer_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.Select(customer_r2.Key)); });
30
+ i0.ɵɵelementStart(1, "span", 17);
31
+ i0.ɵɵtext(2);
32
+ i0.ɵɵelementEnd();
33
+ i0.ɵɵelementStart(3, "span", 18)(4, "span", 19);
34
+ i0.ɵɵtext(5);
35
+ i0.ɵɵelementEnd();
36
+ i0.ɵɵelementStart(6, "span", 20);
37
+ i0.ɵɵtext(7);
38
+ i0.ɵɵelementEnd()();
39
+ i0.ɵɵelementStart(8, "span", 21)(9, "b", 22);
40
+ i0.ɵɵtext(10);
41
+ i0.ɵɵelementEnd();
42
+ i0.ɵɵconditionalCreate(11, MJOCustomerARPageComponent_For_20_Conditional_11_Template, 2, 1, "span", 23);
43
+ i0.ɵɵelementEnd()();
44
+ } if (rf & 2) {
45
+ const customer_r2 = ctx.$implicit;
46
+ const ctx_r2 = i0.ɵɵnextContext();
47
+ i0.ɵɵclassProp("is-active", customer_r2.Key === ctx_r2.SelectedKey);
48
+ i0.ɵɵadvance(2);
49
+ i0.ɵɵtextInterpolate(ctx_r2.initials(customer_r2.Name));
50
+ i0.ɵɵadvance(3);
51
+ i0.ɵɵtextInterpolate(customer_r2.Name);
52
+ i0.ɵɵadvance(2);
53
+ i0.ɵɵtextInterpolate1(" ", customer_r2.IsOrganization ? "Organization" : "Individual", " ");
54
+ i0.ɵɵadvance(3);
55
+ i0.ɵɵtextInterpolate(ctx_r2.money(customer_r2.Open));
56
+ i0.ɵɵadvance();
57
+ i0.ɵɵconditional(customer_r2.Credit > 0 ? 11 : -1);
58
+ } }
59
+ function MJOCustomerARPageComponent_ForEmpty_21_Template(rf, ctx) { if (rf & 1) {
60
+ i0.ɵɵelementStart(0, "div", 13);
61
+ i0.ɵɵtext(1, "Nobody owes anything.");
62
+ i0.ɵɵelementEnd();
63
+ } }
64
+ function MJOCustomerARPageComponent_Conditional_23_Conditional_13_Template(rf, ctx) { if (rf & 1) {
65
+ i0.ɵɵelementStart(0, "mj-alert", 30)(1, "strong");
66
+ i0.ɵɵtext(2);
67
+ i0.ɵɵelementEnd();
68
+ i0.ɵɵtext(3);
69
+ i0.ɵɵelementEnd();
70
+ } if (rf & 2) {
71
+ const ctx_r2 = i0.ɵɵnextContext(2);
72
+ i0.ɵɵadvance(2);
73
+ i0.ɵɵtextInterpolate1("", ctx_r2.money(ctx_r2.Selected.Credit), " of credit is sitting unused");
74
+ i0.ɵɵadvance();
75
+ i0.ɵɵtextInterpolate1(" while ", ctx_r2.money(ctx_r2.Selected.Open), " is owed. Applying it first is almost always the right move \u2014 and it is one click, because the credit is just another order balance. ");
76
+ } }
77
+ function MJOCustomerARPageComponent_Conditional_23_Conditional_22_Template(rf, ctx) { if (rf & 1) {
78
+ const _r4 = i0.ɵɵgetCurrentView();
79
+ i0.ɵɵelementStart(0, "mj-entity-viewer", 45);
80
+ i0.ɵɵlistener("RecordOpened", function MJOCustomerARPageComponent_Conditional_23_Conditional_22_Template_mj_entity_viewer_RecordOpened_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.OnRecordOpened($event)); });
81
+ i0.ɵɵelementEnd();
82
+ } if (rf & 2) {
83
+ const ctx_r2 = i0.ɵɵnextContext(2);
84
+ i0.ɵɵproperty("Entity", ctx_r2.OrderEntityInfo)("ViewEntity", ctx_r2.CustomerOpenOrdersView);
85
+ } }
86
+ function MJOCustomerARPageComponent_Conditional_23_Conditional_23_Template(rf, ctx) { if (rf & 1) {
87
+ i0.ɵɵelementStart(0, "div", 36);
88
+ i0.ɵɵtext(1, "Loading open items...");
89
+ i0.ɵɵelementEnd();
90
+ } }
91
+ function MJOCustomerARPageComponent_Conditional_23_For_32_Template(rf, ctx) { if (rf & 1) {
92
+ i0.ɵɵelementStart(0, "div", 39)(1, "span", 46);
93
+ i0.ɵɵtext(2);
94
+ i0.ɵɵelementEnd();
95
+ i0.ɵɵelementStart(3, "b", 47);
96
+ i0.ɵɵtext(4);
97
+ i0.ɵɵelementEnd()();
98
+ } if (rf & 2) {
99
+ const credit_r5 = ctx.$implicit;
100
+ const ctx_r2 = i0.ɵɵnextContext(2);
101
+ i0.ɵɵadvance(2);
102
+ i0.ɵɵtextInterpolate(credit_r5.OrderNumber);
103
+ i0.ɵɵadvance(2);
104
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.money(-ctx_r2.Math.abs(credit_r5.Balance ?? 0)), " ");
105
+ } }
106
+ function MJOCustomerARPageComponent_Conditional_23_ForEmpty_33_Template(rf, ctx) { if (rf & 1) {
107
+ i0.ɵɵelementStart(0, "div", 13);
108
+ i0.ɵɵtext(1, " No credit on file. A credit is an order paid for more than it was worth \u2014 there is no separate instrument to look up. ");
109
+ i0.ɵɵelementEnd();
110
+ } }
111
+ function MJOCustomerARPageComponent_Conditional_23_Conditional_34_Template(rf, ctx) { if (rf & 1) {
112
+ i0.ɵɵelementStart(0, "div", 8);
113
+ i0.ɵɵtext(1, " Spend this before invoicing them again. Chasing cash from a customer already holding your money is the call nobody wants to make twice. ");
114
+ i0.ɵɵelementEnd();
115
+ } }
116
+ function MJOCustomerARPageComponent_Conditional_23_For_42_Template(rf, ctx) { if (rf & 1) {
117
+ i0.ɵɵelementStart(0, "div", 39)(1, "span", 48)(2, "span", 49);
118
+ i0.ɵɵtext(3);
119
+ i0.ɵɵelementEnd();
120
+ i0.ɵɵelementStart(4, "span", 50);
121
+ i0.ɵɵtext(5);
122
+ i0.ɵɵelementEnd()();
123
+ i0.ɵɵelementStart(6, "b", 22);
124
+ i0.ɵɵtext(7);
125
+ i0.ɵɵelementEnd()();
126
+ } if (rf & 2) {
127
+ const payment_r6 = ctx.$implicit;
128
+ const ctx_r2 = i0.ɵɵnextContext(2);
129
+ i0.ɵɵadvance(3);
130
+ i0.ɵɵtextInterpolate(payment_r6.PaymentNumber);
131
+ i0.ɵɵadvance(2);
132
+ i0.ɵɵtextInterpolate1(" \u00B7 ", ctx_r2.dateOf(payment_r6.PaymentDate));
133
+ i0.ɵɵadvance(2);
134
+ i0.ɵɵtextInterpolate(ctx_r2.money(payment_r6.Amount ?? 0));
135
+ } }
136
+ function MJOCustomerARPageComponent_Conditional_23_ForEmpty_43_Template(rf, ctx) { if (rf & 1) {
137
+ i0.ɵɵelementStart(0, "div", 13);
138
+ i0.ɵɵtext(1, " No payments recorded for this customer. ");
139
+ i0.ɵɵelementEnd();
140
+ } }
141
+ function MJOCustomerARPageComponent_Conditional_23_For_67_Template(rf, ctx) { if (rf & 1) {
142
+ i0.ɵɵelementStart(0, "tr")(1, "td", 46);
143
+ i0.ɵɵtext(2);
144
+ i0.ɵɵelementEnd();
145
+ i0.ɵɵelementStart(3, "td", 48);
146
+ i0.ɵɵtext(4);
147
+ i0.ɵɵelementEnd();
148
+ i0.ɵɵelementStart(5, "td", 48);
149
+ i0.ɵɵtext(6);
150
+ i0.ɵɵelementEnd();
151
+ i0.ɵɵelementStart(7, "td", 48);
152
+ i0.ɵɵtext(8);
153
+ i0.ɵɵelementEnd();
154
+ i0.ɵɵelementStart(9, "td")(10, "span", 51);
155
+ i0.ɵɵtext(11);
156
+ i0.ɵɵelementEnd()()();
157
+ } if (rf & 2) {
158
+ const sub_r7 = ctx.$implicit;
159
+ const ctx_r2 = i0.ɵɵnextContext(2);
160
+ i0.ɵɵadvance(2);
161
+ i0.ɵɵtextInterpolate(sub_r7["SubscriptionNumber"]);
162
+ i0.ɵɵadvance(2);
163
+ i0.ɵɵtextInterpolate(sub_r7["Product"] ?? "\u2014");
164
+ i0.ɵɵadvance(2);
165
+ i0.ɵɵtextInterpolate(ctx_r2.dateOf(sub_r7["EndDate"]));
166
+ i0.ɵɵadvance(2);
167
+ i0.ɵɵtextInterpolate1(" ", sub_r7["AutoRenew"] ? "automatically" : "it simply ends", " ");
168
+ i0.ɵɵadvance(2);
169
+ i0.ɵɵclassMap(ctx_r2.subClass(sub_r7));
170
+ i0.ɵɵadvance();
171
+ i0.ɵɵtextInterpolate1(" ", sub_r7["Status"] ?? "\u2014", " ");
172
+ } }
173
+ function MJOCustomerARPageComponent_Conditional_23_ForEmpty_68_Template(rf, ctx) { if (rf & 1) {
174
+ i0.ɵɵelementStart(0, "tr")(1, "td", 52);
175
+ i0.ɵɵtext(2, " No subscriptions. Nothing here renews on its own. ");
176
+ i0.ɵɵelementEnd()();
177
+ } }
178
+ function MJOCustomerARPageComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
179
+ i0.ɵɵelementStart(0, "div", 9)(1, "div", 6)(2, "div", 24)(3, "span", 25);
180
+ i0.ɵɵtext(4);
181
+ i0.ɵɵelementEnd();
182
+ i0.ɵɵelementStart(5, "div", 26)(6, "div", 27);
183
+ i0.ɵɵtext(7);
184
+ i0.ɵɵelementEnd();
185
+ i0.ɵɵelementStart(8, "div", 13);
186
+ i0.ɵɵtext(9);
187
+ i0.ɵɵelementEnd()()();
188
+ i0.ɵɵelement(10, "mjo-money-strip", 28);
189
+ i0.ɵɵelementStart(11, "div", 29);
190
+ i0.ɵɵelement(12, "mjo-aging-bar", 7);
191
+ i0.ɵɵelementEnd();
192
+ i0.ɵɵconditionalCreate(13, MJOCustomerARPageComponent_Conditional_23_Conditional_13_Template, 4, 2, "mj-alert", 30);
193
+ i0.ɵɵelementEnd()();
194
+ i0.ɵɵelementStart(14, "div", 31)(15, "div", 3);
195
+ i0.ɵɵelement(16, "i", 32);
196
+ i0.ɵɵelementStart(17, "h3");
197
+ i0.ɵɵtext(18, "Open items");
198
+ i0.ɵɵelementEnd();
199
+ i0.ɵɵelementStart(19, "span", 33);
200
+ i0.ɵɵtext(20, "oldest first");
201
+ i0.ɵɵelementEnd()();
202
+ i0.ɵɵelementStart(21, "div", 34);
203
+ i0.ɵɵconditionalCreate(22, MJOCustomerARPageComponent_Conditional_23_Conditional_22_Template, 1, 2, "mj-entity-viewer", 35)(23, MJOCustomerARPageComponent_Conditional_23_Conditional_23_Template, 2, 0, "div", 36);
204
+ i0.ɵɵelementEnd()();
205
+ i0.ɵɵelementStart(24, "div", 37)(25, "div", 9)(26, "div", 3);
206
+ i0.ɵɵelement(27, "i", 38);
207
+ i0.ɵɵelementStart(28, "h3");
208
+ i0.ɵɵtext(29, "Credits they hold");
209
+ i0.ɵɵelementEnd()();
210
+ i0.ɵɵelementStart(30, "div", 6);
211
+ i0.ɵɵrepeaterCreate(31, MJOCustomerARPageComponent_Conditional_23_For_32_Template, 5, 2, "div", 39, _forTrack1, false, MJOCustomerARPageComponent_Conditional_23_ForEmpty_33_Template, 2, 0, "div", 13);
212
+ i0.ɵɵconditionalCreate(34, MJOCustomerARPageComponent_Conditional_23_Conditional_34_Template, 2, 0, "div", 8);
213
+ i0.ɵɵelementEnd()();
214
+ i0.ɵɵelementStart(35, "div", 9)(36, "div", 3);
215
+ i0.ɵɵelement(37, "i", 40);
216
+ i0.ɵɵelementStart(38, "h3");
217
+ i0.ɵɵtext(39, "Payment history");
218
+ i0.ɵɵelementEnd()();
219
+ i0.ɵɵelementStart(40, "div", 6);
220
+ i0.ɵɵrepeaterCreate(41, MJOCustomerARPageComponent_Conditional_23_For_42_Template, 8, 3, "div", 39, _forTrack1, false, MJOCustomerARPageComponent_Conditional_23_ForEmpty_43_Template, 2, 0, "div", 13);
221
+ i0.ɵɵelementEnd()()();
222
+ i0.ɵɵelementStart(44, "div", 41)(45, "div", 3);
223
+ i0.ɵɵelement(46, "i", 42);
224
+ i0.ɵɵelementStart(47, "h3");
225
+ i0.ɵɵtext(48, "Subscriptions");
226
+ i0.ɵɵelementEnd();
227
+ i0.ɵɵelementStart(49, "span", 33);
228
+ i0.ɵɵtext(50);
229
+ i0.ɵɵelementEnd()();
230
+ i0.ɵɵelementStart(51, "div", 43)(52, "table", 44)(53, "thead")(54, "tr")(55, "th");
231
+ i0.ɵɵtext(56, "Subscription");
232
+ i0.ɵɵelementEnd();
233
+ i0.ɵɵelementStart(57, "th");
234
+ i0.ɵɵtext(58, "Product");
235
+ i0.ɵɵelementEnd();
236
+ i0.ɵɵelementStart(59, "th");
237
+ i0.ɵɵtext(60, "Covered to");
238
+ i0.ɵɵelementEnd();
239
+ i0.ɵɵelementStart(61, "th");
240
+ i0.ɵɵtext(62, "Renews");
241
+ i0.ɵɵelementEnd();
242
+ i0.ɵɵelementStart(63, "th");
243
+ i0.ɵɵtext(64, "Status");
244
+ i0.ɵɵelementEnd()()();
245
+ i0.ɵɵelementStart(65, "tbody");
246
+ i0.ɵɵrepeaterCreate(66, MJOCustomerARPageComponent_Conditional_23_For_67_Template, 12, 7, "tr", null, _forTrack2, false, MJOCustomerARPageComponent_Conditional_23_ForEmpty_68_Template, 3, 0, "tr");
247
+ i0.ɵɵelementEnd()()()();
248
+ } if (rf & 2) {
249
+ const ctx_r2 = i0.ɵɵnextContext();
250
+ i0.ɵɵadvance(4);
251
+ i0.ɵɵtextInterpolate(ctx_r2.initials(ctx_r2.Selected.Name));
252
+ i0.ɵɵadvance(3);
253
+ i0.ɵɵtextInterpolate(ctx_r2.Selected.Name);
254
+ i0.ɵɵadvance(2);
255
+ i0.ɵɵtextInterpolate3(" ", ctx_r2.Selected.IsOrganization ? "Organization" : "Individual", " \u00B7 ", ctx_r2.Selected.Orders.length, " order", ctx_r2.Selected.Orders.length === 1 ? "" : "s", " ");
256
+ i0.ɵɵadvance();
257
+ i0.ɵɵproperty("Total", ctx_r2.Selected.Open)("ShowPaid", false)("Balance", ctx_r2.NetOwed)("ShowStatus", false);
258
+ i0.ɵɵadvance(2);
259
+ i0.ɵɵproperty("Buckets", ctx_r2.Selected.Buckets);
260
+ i0.ɵɵadvance();
261
+ i0.ɵɵconditional(ctx_r2.Selected.Credit > 0 ? 13 : -1);
262
+ i0.ɵɵadvance(9);
263
+ i0.ɵɵconditional(ctx_r2.OrderEntityInfo ? 22 : 23);
264
+ i0.ɵɵadvance(9);
265
+ i0.ɵɵrepeater(ctx_r2.CreditItems);
266
+ i0.ɵɵadvance(3);
267
+ i0.ɵɵconditional(ctx_r2.CreditItems.length ? 34 : -1);
268
+ i0.ɵɵadvance(7);
269
+ i0.ɵɵrepeater(ctx_r2.Payments);
270
+ i0.ɵɵadvance(9);
271
+ i0.ɵɵtextInterpolate(ctx_r2.Subscriptions.length);
272
+ i0.ɵɵadvance(16);
273
+ i0.ɵɵrepeater(ctx_r2.Subscriptions);
274
+ } }
275
+ function MJOCustomerARPageComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
276
+ i0.ɵɵelementStart(0, "div", 15);
277
+ i0.ɵɵelement(1, "i", 10);
278
+ i0.ɵɵelementStart(2, "div", 53);
279
+ i0.ɵɵtext(3, "Pick a customer");
280
+ i0.ɵɵelementEnd();
281
+ i0.ɵɵelementStart(4, "div", 48);
282
+ i0.ɵɵtext(5, "Their aging, open items and credits appear here.");
283
+ i0.ɵɵelementEnd()();
284
+ } }
285
+ /**
286
+ * `mjo-customer-ar-page` — one customer's whole money picture.
287
+ *
288
+ * WHY THIS IS ITS OWN SCREEN. The accounting team's job is not looking up an
289
+ * invoice; it is knowing where a relationship stands before picking up the phone.
290
+ * So aging, open items, credits held and payment history sit together rather than
291
+ * across four surfaces.
292
+ *
293
+ * BALANCES ARE DERIVED FROM THE ORDER ROWS, never stored separately. A customer's
294
+ * open balance is the sum of what their orders carry, and their credit is the sum
295
+ * of the negative ones — because a credit IS a negative order balance and there
296
+ * is no separate instrument. Two hand-maintained numbers would eventually
297
+ * disagree; one derived number cannot.
298
+ *
299
+ * ## Example
300
+ *
301
+ * ```html
302
+ * <mjo-customer-ar-page (OrderOpened)="open($event)" />
303
+ * ```
304
+ */
305
+ export class MJOCustomerARPageComponent {
306
+ cdr = inject(ChangeDetectorRef);
307
+ OrderOpened = new EventEmitter();
308
+ OrderEntityInfo = null;
309
+ Customers = [];
310
+ SelectedKey = null;
311
+ get CustomerOpenOrdersView() {
312
+ if (!this.OrderEntityInfo || !this.Selected)
313
+ return null;
314
+ const col = this.Selected.IsOrganization ? 'BillToOrganizationID' : 'BillToPersonID';
315
+ return {
316
+ EntityID: this.OrderEntityInfo.ID,
317
+ Entity: this.OrderEntityInfo.Name,
318
+ WhereClause: `${col} = '${this.Selected.Key}' AND Balance > 0`,
319
+ ID: `preset-customer-orders-${this.Selected.Key}`,
320
+ Name: `${this.Selected.Name} Open Items`
321
+ };
322
+ }
323
+ async ngOnInit() {
324
+ const md = new Metadata();
325
+ this.OrderEntityInfo = md.Entities.find((e) => e.Name === MJO_ENTITIES.OrderHeader) || null;
326
+ await this.load();
327
+ this.cdr.detectChanges();
328
+ }
329
+ OnRecordOpened(event) {
330
+ const id = (event.compositeKey?.GetValueByFieldName('ID') ?? event.record?.['ID']);
331
+ if (id) {
332
+ const surrogate = { ID: id };
333
+ this.OrderOpened.emit(surrogate);
334
+ }
335
+ }
336
+ Payments = [];
337
+ Subscriptions = [];
338
+ /** Exposed for the template — `Math` is not in Angular's expression scope. */
339
+ Math = Math;
340
+ async Select(key) {
341
+ this.SelectedKey = key;
342
+ await this.loadCustomerDetail();
343
+ this.cdr.detectChanges();
344
+ }
345
+ /**
346
+ * Payments and subscriptions for the selected customer only.
347
+ *
348
+ * Fetched on selection rather than up front: this screen shows one customer at
349
+ * a time, and loading a hundred payment histories to render one is work with
350
+ * no answer attached to it. Both awaits complete BEFORE either is assigned, so
351
+ * no assignment straddles the boundary that produces NG0100.
352
+ */
353
+ async loadCustomerDetail() {
354
+ const selected = this.Selected;
355
+ if (!selected) {
356
+ this.Payments = [];
357
+ this.Subscriptions = [];
358
+ return;
359
+ }
360
+ const identity = {
361
+ OrganizationID: selected.IsOrganization ? selected.Key : null,
362
+ PersonID: selected.IsOrganization ? null : selected.Key,
363
+ };
364
+ const [payments, subscriptions] = await Promise.all([
365
+ GetPaymentsForCustomer(identity),
366
+ GetSubscriptionsForCustomer(identity),
367
+ ]);
368
+ this.Payments = payments;
369
+ this.Subscriptions = subscriptions;
370
+ this.cdr.detectChanges();
371
+ }
372
+ /**
373
+ * The whole portfolio's aging, summed from the per-customer buckets.
374
+ *
375
+ * Derived rather than queried — the customers are already grouped and bucketed
376
+ * in memory, and asking the database to age the same rows again would be a
377
+ * second implementation of the same rule.
378
+ */
379
+ get TotalBuckets() {
380
+ const total = { Current: 0, Days1To30: 0, Days31To60: 0, Days61Plus: 0 };
381
+ for (const customer of this.Customers) {
382
+ total.Current += customer.Buckets.Current;
383
+ total.Days1To30 += customer.Buckets.Days1To30;
384
+ total.Days31To60 += customer.Buckets.Days31To60;
385
+ total.Days61Plus += customer.Buckets.Days61Plus;
386
+ }
387
+ Object.keys(total).forEach((k) => (total[k] = Math.round(total[k] * 100) / 100));
388
+ return total;
389
+ }
390
+ /** What the whole book is owed, before credits are spent. */
391
+ get TotalOpen() {
392
+ return Math.round(this.Customers.reduce((sum, c) => sum + c.Open, 0) * 100) / 100;
393
+ }
394
+ /** Orders this customer has OVER-paid — their spendable credit. */
395
+ get CreditItems() {
396
+ return (this.Selected?.Orders ?? []).filter((o) => (o.Balance ?? 0) < 0);
397
+ }
398
+ dateOf(value) {
399
+ return value ? FormatDate(String(value), { Short: true }) : '—';
400
+ }
401
+ /**
402
+ * The chip for a subscription's state.
403
+ *
404
+ * `'Grace'` was here and is not a status this schema has — the union is
405
+ * Active / Paused / Canceled / Migrated / Trialing — so the warning chip could never render and
406
+ * a paused subscription looked exactly like a cancelled one. Paused is the state that wants
407
+ * attention: the customer still holds the seat and is not currently being served by it.
408
+ */
409
+ subClass(sub) {
410
+ switch (sub.Status) {
411
+ case 'Active':
412
+ return 'mj-chip--success';
413
+ case 'Trialing':
414
+ return 'mj-chip--info';
415
+ case 'Paused':
416
+ return 'mj-chip--warning';
417
+ default:
418
+ return 'mj-chip--outline';
419
+ }
420
+ }
421
+ get Selected() {
422
+ return this.Customers.find((c) => c.Key === this.SelectedKey);
423
+ }
424
+ /** What they owe after their credit is spent — the number that matters. */
425
+ get NetOwed() {
426
+ if (!this.Selected)
427
+ return 0;
428
+ return Math.round((this.Selected.Open - this.Selected.Credit) * 100) / 100;
429
+ }
430
+ get OpenItems() {
431
+ return (this.Selected?.Orders ?? [])
432
+ .filter((o) => (o.Balance ?? 0) !== 0)
433
+ .slice()
434
+ // Undated last: an order with no due date is not "due first", and an empty string
435
+ // sorted ahead of every real date, which put unscheduled work at the top of an aging list.
436
+ .sort((a, b) => (a.DueDate?.getTime() ?? Infinity) - (b.DueDate?.getTime() ?? Infinity));
437
+ }
438
+ initials(name) {
439
+ return Initials(name);
440
+ }
441
+ money(value) {
442
+ return FormatMoney(value);
443
+ }
444
+ ageLabel(row) {
445
+ if (!row.DueDate || (row.Balance ?? 0) <= 0)
446
+ return 'Current';
447
+ const late = DaysSince(row.DueDate, new Date().toISOString().slice(0, 10));
448
+ return late > 0 ? `${late}d` : 'Current';
449
+ }
450
+ ageClass(row) {
451
+ if (!row.DueDate || (row.Balance ?? 0) <= 0)
452
+ return '';
453
+ const late = DaysSince(row.DueDate, new Date().toISOString().slice(0, 10));
454
+ if (late > 60)
455
+ return 'mj-chip--error';
456
+ if (late > 0)
457
+ return 'mj-chip--warning';
458
+ return '';
459
+ }
460
+ /**
461
+ * Group open orders by customer and derive every figure from them.
462
+ *
463
+ * The organization wins over the person when both are present: an employee's
464
+ * order billed to their employer is the employer's receivable.
465
+ */
466
+ async load() {
467
+ const orders = await GetOrders({ Preset: 'all' });
468
+ const open = orders.filter((o) => !['Draft', 'Quoted', 'Voided'].includes(o.Status) && (o.Balance ?? 0) !== 0);
469
+ const byCustomer = new Map();
470
+ const today = new Date().toISOString().slice(0, 10);
471
+ for (const order of open) {
472
+ const key = order['BillToOrganizationID'] ?? order['BillToPersonID'] ?? 'unknown';
473
+ const name = (order.BillToOrganization ?? order.BillToPerson ?? 'Unknown');
474
+ const isOrg = !!order['BillToOrganizationID'];
475
+ const existing = byCustomer.get(key) ??
476
+ {
477
+ Key: key,
478
+ Name: name,
479
+ IsOrganization: isOrg,
480
+ Open: 0,
481
+ Credit: 0,
482
+ Buckets: { Current: 0, Days1To30: 0, Days31To60: 0, Days61Plus: 0 },
483
+ Orders: [],
484
+ };
485
+ existing.Orders.push(order);
486
+ if ((order.Balance ?? 0) < 0) {
487
+ // A negative balance IS the credit — no separate instrument.
488
+ existing.Credit += Math.abs((order.Balance ?? 0));
489
+ }
490
+ else {
491
+ existing.Open += (order.Balance ?? 0);
492
+ const late = order.DueDate ? DaysSince(order.DueDate, today) : 0;
493
+ if (late <= 0)
494
+ existing.Buckets.Current += (order.Balance ?? 0);
495
+ else if (late <= 30)
496
+ existing.Buckets.Days1To30 += (order.Balance ?? 0);
497
+ else if (late <= 60)
498
+ existing.Buckets.Days31To60 += (order.Balance ?? 0);
499
+ else
500
+ existing.Buckets.Days61Plus += (order.Balance ?? 0);
501
+ }
502
+ byCustomer.set(key, existing);
503
+ }
504
+ const round = (v) => Math.round((v + Number.EPSILON) * 100) / 100;
505
+ this.Customers = [...byCustomer.values()]
506
+ .map((c) => ({
507
+ ...c,
508
+ Open: round(c.Open),
509
+ Credit: round(c.Credit),
510
+ Buckets: {
511
+ Current: round(c.Buckets.Current),
512
+ Days1To30: round(c.Buckets.Days1To30),
513
+ Days31To60: round(c.Buckets.Days31To60),
514
+ Days61Plus: round(c.Buckets.Days61Plus),
515
+ },
516
+ }))
517
+ .sort((a, b) => b.Open - a.Open);
518
+ if (!this.SelectedKey && this.Customers.length)
519
+ this.SelectedKey = this.Customers[0].Key;
520
+ this.cdr.detectChanges();
521
+ }
522
+ static ɵfac = function MJOCustomerARPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOCustomerARPageComponent)(); };
523
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOCustomerARPageComponent, selectors: [["mjo-customer-ar-page"]], outputs: { OrderOpened: "OrderOpened" }, decls: 25, vars: 4, consts: [[1, "mjo-ar__split"], [1, "mjo-ar__left"], [1, "mj-card", "mjo-ar__total"], [1, "mj-card-head"], ["aria-hidden", "true", 1, "fa-solid", "fa-chart-column"], [1, "right", "mj-num", "small", "strong"], [1, "mj-card-pad"], [3, "Buckets"], [1, "small", "muted", "mjo-ar__note"], [1, "mj-card"], ["aria-hidden", "true", 1, "fa-solid", "fa-user-tag"], [1, "mj-card-pad", "mjo-ar__list"], ["type", "button", 1, "mjo-ar__cust", 3, "is-active"], [1, "small", "muted"], [1, "mjo-ar__right"], [1, "mj-empty", "mjo-ar__empty"], ["type", "button", 1, "mjo-ar__cust", 3, "click"], [1, "mj-avatar", "mjo-ar__avatar"], [1, "mjo-ar__cust-body"], [1, "mjo-ar__cust-name"], [1, "small", "muted", "mjo-ar__cust-sub"], [1, "mjo-ar__cust-amt"], [1, "mj-num"], [1, "small", "mj-money--credit", "mjo-ar__cust-credit"], [1, "mjo-ar__header"], [1, "mj-avatar", "mjo-ar__avatar-lg"], [1, "mjo-ar__header-body"], [1, "mjo-ar__header-name"], ["TotalLabel", "Open balance", 1, "mjo-ar__strip", 3, "Total", "ShowPaid", "Balance", "ShowStatus"], [1, "mjo-ar__aging"], ["Variant", "success", "Icon", "fa-solid fa-piggy-bank", 1, "mjo-ar__credit"], [1, "mj-card", "mjo-ar__items"], ["aria-hidden", "true", 1, "fa-solid", "fa-file-invoice-dollar"], [1, "right", "small", "muted"], [1, "mjo-ar__viewer-host"], [3, "Entity", "ViewEntity"], [1, "small", "muted", 2, "padding", "24px"], [1, "mjo-ar__grid"], ["aria-hidden", "true", 1, "fa-solid", "fa-piggy-bank"], [1, "mjo-ar__row"], ["aria-hidden", "true", 1, "fa-solid", "fa-clock-rotate-left"], [1, "mj-card", "mjo-ar__block"], ["aria-hidden", "true", 1, "fa-solid", "fa-rotate"], [1, "mj-table-wrap"], [1, "mj-table", "mj-table--compact"], [3, "RecordOpened", "Entity", "ViewEntity"], [1, "mono", "small"], [1, "mj-num", "mj-money--credit"], [1, "small"], [1, "mono"], [1, "muted"], [1, "mj-chip"], ["colspan", "5", 1, "small", "muted"], [1, "t"]], template: function MJOCustomerARPageComponent_Template(rf, ctx) { if (rf & 1) {
524
+ i0.ɵɵelementStart(0, "div", 0)(1, "aside", 1)(2, "div", 2)(3, "div", 3);
525
+ i0.ɵɵelement(4, "i", 4);
526
+ i0.ɵɵelementStart(5, "h3");
527
+ i0.ɵɵtext(6, "Total A/R by age");
528
+ i0.ɵɵelementEnd();
529
+ i0.ɵɵelementStart(7, "span", 5);
530
+ i0.ɵɵtext(8);
531
+ i0.ɵɵelementEnd()();
532
+ i0.ɵɵelementStart(9, "div", 6);
533
+ i0.ɵɵelement(10, "mjo-aging-bar", 7);
534
+ i0.ɵɵelementStart(11, "div", 8);
535
+ i0.ɵɵtext(12, " All customers with an open balance. ");
536
+ i0.ɵɵelementEnd()()();
537
+ i0.ɵɵelementStart(13, "div", 9)(14, "div", 3);
538
+ i0.ɵɵelement(15, "i", 10);
539
+ i0.ɵɵelementStart(16, "h3");
540
+ i0.ɵɵtext(17, "Customers with a balance");
541
+ i0.ɵɵelementEnd()();
542
+ i0.ɵɵelementStart(18, "div", 11);
543
+ i0.ɵɵrepeaterCreate(19, MJOCustomerARPageComponent_For_20_Template, 12, 7, "button", 12, _forTrack0, false, MJOCustomerARPageComponent_ForEmpty_21_Template, 2, 0, "div", 13);
544
+ i0.ɵɵelementEnd()()();
545
+ i0.ɵɵelementStart(22, "div", 14);
546
+ i0.ɵɵconditionalCreate(23, MJOCustomerARPageComponent_Conditional_23_Template, 69, 17)(24, MJOCustomerARPageComponent_Conditional_24_Template, 6, 0, "div", 15);
547
+ i0.ɵɵelementEnd()();
548
+ } if (rf & 2) {
549
+ i0.ɵɵadvance(8);
550
+ i0.ɵɵtextInterpolate(ctx.money(ctx.TotalOpen));
551
+ i0.ɵɵadvance(2);
552
+ i0.ɵɵproperty("Buckets", ctx.TotalBuckets);
553
+ i0.ɵɵadvance(9);
554
+ i0.ɵɵrepeater(ctx.Customers);
555
+ i0.ɵɵadvance(4);
556
+ i0.ɵɵconditional(ctx.Selected ? 23 : 24);
557
+ } }, dependencies: [CommonModule, EntityViewerModule, i1.EntityViewerComponent, MJOAgingBarComponent, MJOMoneyStripComponent, MJAlertComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-ar__split[_ngcontent-%COMP%] {\n display: flex;\n gap: var(--mj-space-4);\n align-items: flex-start;\n }\n .mjo-ar__left[_ngcontent-%COMP%] { flex: 0 0 300px; min-width: 0; }\n .mjo-ar__right[_ngcontent-%COMP%] { flex: 1; min-width: 0; }\n .mjo-ar__list[_ngcontent-%COMP%] { padding: var(--mj-space-2); }\n\n .mjo-ar__cust[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n padding: var(--mj-space-3);\n border-radius: var(--mj-radius-md);\n cursor: pointer;\n border: 1px solid transparent;\n background: none;\n width: 100%;\n text-align: left;\n font-family: inherit;\n color: inherit;\n }\n .mjo-ar__cust[_ngcontent-%COMP%]:hover { background: var(--mj-bg-surface-hover); }\n .mjo-ar__cust.is-active[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n border-color: color-mix(in srgb, var(--mj-brand-primary) 35%, transparent);\n }\n .mjo-ar__avatar[_ngcontent-%COMP%] { width: 30px; height: 30px; font-size: 11px; }\n .mjo-ar__avatar-lg[_ngcontent-%COMP%] { width: 44px; height: 44px; font-size: 15px; }\n .mjo-ar__cust-body[_ngcontent-%COMP%] { flex: 1; min-width: 0; }\n .mjo-ar__cust-name[_ngcontent-%COMP%] { font-size: 13px; font-weight: var(--mj-font-medium); display: block; }\n .mjo-ar__cust-sub[_ngcontent-%COMP%] { display: block; }\n .mjo-ar__cust-amt[_ngcontent-%COMP%] { text-align: right; }\n .mjo-ar__cust-credit[_ngcontent-%COMP%] { display: block; }\n\n .mjo-ar__header[_ngcontent-%COMP%] { display: flex; align-items: flex-start; gap: var(--mj-space-4); }\n .mjo-ar__header-body[_ngcontent-%COMP%] { flex: 1; min-width: 0; }\n .mjo-ar__header-name[_ngcontent-%COMP%] { font-size: 17px; font-weight: var(--mj-font-semibold); }\n .mjo-ar__strip[_ngcontent-%COMP%] { display: block; margin-top: var(--mj-space-4); }\n .mjo-ar__aging[_ngcontent-%COMP%] { margin-top: var(--mj-space-4); }\n .mjo-ar__credit[_ngcontent-%COMP%] { margin-top: var(--mj-space-4); }\n .mjo-ar__items[_ngcontent-%COMP%] {\n margin-top: var(--mj-space-4);\n display: flex;\n flex-direction: column;\n height: 520px;\n min-height: 450px;\n }\n .mjo-ar__viewer-host[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n height: 100%;\n min-height: 380px;\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 .mjo-ar__empty[_ngcontent-%COMP%] { padding: var(--mj-space-12); }\n\n \n\n\n\n .mjo-ar__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-ar__row[_ngcontent-%COMP%] {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: var(--mj-space-3);\n padding: var(--mj-space-2) 0;\n border-bottom: 1px solid var(--mj-border-subtle);\n }\n .mjo-ar__row[_ngcontent-%COMP%]:last-child { border-bottom: none; }\n .mjo-ar__block[_ngcontent-%COMP%] { margin-top: var(--mj-space-4); }\n .mjo-ar__total[_ngcontent-%COMP%] { display: block; }\n\n @media (max-width: 900px) {\n .mjo-ar__grid[_ngcontent-%COMP%] { grid-template-columns: 1fr; }\n }\n\n @media (max-width: 1100px) {\n .mjo-ar__split[_ngcontent-%COMP%] { flex-direction: column; }\n .mjo-ar__left[_ngcontent-%COMP%], .mjo-ar__right[_ngcontent-%COMP%] { flex: 1 1 auto; width: 100%; }\n }\n @media (max-width: 760px) {\n [_nghost-%COMP%] { padding: var(--mj-space-4); }\n }"] });
558
+ }
559
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOCustomerARPageComponent, [{
560
+ type: Component,
561
+ args: [{ selector: 'mjo-customer-ar-page', standalone: true, imports: [CommonModule, EntityViewerModule, MJOAgingBarComponent, MJOMoneyStripComponent, MJAlertComponent], template: `
562
+ <div class="mjo-ar__split">
563
+ <!-- ── Customers ── -->
564
+ <aside class="mjo-ar__left">
565
+ <div class="mj-card mjo-ar__total">
566
+ <div class="mj-card-head">
567
+ <i class="fa-solid fa-chart-column" aria-hidden="true"></i>
568
+ <h3>Total A/R by age</h3>
569
+ <span class="right mj-num small strong">{{ money(TotalOpen) }}</span>
570
+ </div>
571
+ <div class="mj-card-pad">
572
+ <mjo-aging-bar [Buckets]="TotalBuckets" />
573
+ <div class="small muted mjo-ar__note">
574
+ All customers with an open balance.
575
+ </div>
576
+ </div>
577
+ </div>
578
+
579
+ <div class="mj-card">
580
+ <div class="mj-card-head">
581
+ <i class="fa-solid fa-user-tag" aria-hidden="true"></i>
582
+ <h3>Customers with a balance</h3>
583
+ </div>
584
+ <div class="mj-card-pad mjo-ar__list">
585
+ @for (customer of Customers; track customer.Key) {
586
+ <button
587
+ type="button"
588
+ class="mjo-ar__cust"
589
+ [class.is-active]="customer.Key === SelectedKey"
590
+ (click)="Select(customer.Key)">
591
+ <span class="mj-avatar mjo-ar__avatar">{{ initials(customer.Name) }}</span>
592
+ <span class="mjo-ar__cust-body">
593
+ <span class="mjo-ar__cust-name">{{ customer.Name }}</span>
594
+ <span class="small muted mjo-ar__cust-sub">
595
+ {{ customer.IsOrganization ? 'Organization' : 'Individual' }}
596
+ </span>
597
+ </span>
598
+ <span class="mjo-ar__cust-amt">
599
+ <b class="mj-num">{{ money(customer.Open) }}</b>
600
+ @if (customer.Credit > 0) {
601
+ <span class="small mj-money--credit mjo-ar__cust-credit">
602
+ +{{ money(customer.Credit) }} cr
603
+ </span>
604
+ }
605
+ </span>
606
+ </button>
607
+ } @empty {
608
+ <div class="small muted">Nobody owes anything.</div>
609
+ }
610
+ </div>
611
+ </div>
612
+ </aside>
613
+
614
+ <!-- ── Detail ── -->
615
+ <div class="mjo-ar__right">
616
+ @if (Selected) {
617
+ <div class="mj-card">
618
+ <div class="mj-card-pad">
619
+ <div class="mjo-ar__header">
620
+ <span class="mj-avatar mjo-ar__avatar-lg">{{ initials(Selected.Name) }}</span>
621
+ <div class="mjo-ar__header-body">
622
+ <div class="mjo-ar__header-name">{{ Selected.Name }}</div>
623
+ <div class="small muted">
624
+ {{ Selected.IsOrganization ? 'Organization' : 'Individual' }} ·
625
+ {{ Selected.Orders.length }} order{{ Selected.Orders.length === 1 ? '' : 's' }}
626
+ </div>
627
+ </div>
628
+ </div>
629
+
630
+ <mjo-money-strip
631
+ class="mjo-ar__strip"
632
+ TotalLabel="Open balance"
633
+ [Total]="Selected.Open"
634
+ [ShowPaid]="false"
635
+ [Balance]="NetOwed"
636
+ [ShowStatus]="false" />
637
+
638
+ <div class="mjo-ar__aging">
639
+ <mjo-aging-bar [Buckets]="Selected.Buckets" />
640
+ </div>
641
+
642
+ @if (Selected.Credit > 0) {
643
+ <mj-alert Variant="success" Icon="fa-solid fa-piggy-bank" class="mjo-ar__credit">
644
+ <strong>{{ money(Selected.Credit) }} of credit is sitting unused</strong>
645
+ while {{ money(Selected.Open) }} is owed. Applying it first is almost always
646
+ the right move — and it is one click, because the credit is just another
647
+ order balance.
648
+ </mj-alert>
649
+ }
650
+ </div>
651
+ </div>
652
+
653
+ <div class="mj-card mjo-ar__items">
654
+ <div class="mj-card-head">
655
+ <i class="fa-solid fa-file-invoice-dollar" aria-hidden="true"></i>
656
+ <h3>Open items</h3>
657
+ <span class="right small muted">oldest first</span>
658
+ </div>
659
+ <div class="mjo-ar__viewer-host">
660
+ @if (OrderEntityInfo) {
661
+ <mj-entity-viewer
662
+ [Entity]="OrderEntityInfo"
663
+ [ViewEntity]="CustomerOpenOrdersView"
664
+ (RecordOpened)="OnRecordOpened($event)">
665
+ </mj-entity-viewer>
666
+ } @else {
667
+ <div class="small muted" style="padding: 24px;">Loading open items...</div>
668
+ }
669
+ </div>
670
+ </div>
671
+
672
+ <div class="mjo-ar__grid">
673
+ <div class="mj-card">
674
+ <div class="mj-card-head">
675
+ <i class="fa-solid fa-piggy-bank" aria-hidden="true"></i>
676
+ <h3>Credits they hold</h3>
677
+ </div>
678
+ <div class="mj-card-pad">
679
+ @for (credit of CreditItems; track credit.ID) {
680
+ <div class="mjo-ar__row">
681
+ <span class="mono small">{{ credit.OrderNumber }}</span>
682
+ <b class="mj-num mj-money--credit">
683
+ {{ money(-Math.abs((credit.Balance ?? 0))) }}
684
+ </b>
685
+ </div>
686
+ } @empty {
687
+ <div class="small muted">
688
+ No credit on file. A credit is an order paid for more than it
689
+ was worth — there is no separate instrument to look up.
690
+ </div>
691
+ }
692
+ @if (CreditItems.length) {
693
+ <div class="small muted mjo-ar__note">
694
+ Spend this before invoicing them again. Chasing cash from a
695
+ customer already holding your money is the call nobody wants
696
+ to make twice.
697
+ </div>
698
+ }
699
+ </div>
700
+ </div>
701
+
702
+ <div class="mj-card">
703
+ <div class="mj-card-head">
704
+ <i class="fa-solid fa-clock-rotate-left" aria-hidden="true"></i>
705
+ <h3>Payment history</h3>
706
+ </div>
707
+ <div class="mj-card-pad">
708
+ @for (payment of Payments; track payment.ID) {
709
+ <div class="mjo-ar__row">
710
+ <span class="small">
711
+ <span class="mono">{{ payment.PaymentNumber }}</span>
712
+ <span class="muted"> · {{ dateOf(payment.PaymentDate) }}</span>
713
+ </span>
714
+ <b class="mj-num">{{ money((payment.Amount ?? 0)) }}</b>
715
+ </div>
716
+ } @empty {
717
+ <div class="small muted">
718
+ No payments recorded for this customer.
719
+ </div>
720
+ }
721
+ </div>
722
+ </div>
723
+ </div>
724
+
725
+ <div class="mj-card mjo-ar__block">
726
+ <div class="mj-card-head">
727
+ <i class="fa-solid fa-rotate" aria-hidden="true"></i>
728
+ <h3>Subscriptions</h3>
729
+ <span class="right small muted">{{ Subscriptions.length }}</span>
730
+ </div>
731
+ <div class="mj-table-wrap">
732
+ <table class="mj-table mj-table--compact">
733
+ <thead>
734
+ <tr>
735
+ <th>Subscription</th>
736
+ <th>Product</th>
737
+ <th>Covered to</th>
738
+ <th>Renews</th>
739
+ <th>Status</th>
740
+ </tr>
741
+ </thead>
742
+ <tbody>
743
+ @for (sub of Subscriptions; track sub['ID']) {
744
+ <tr>
745
+ <td class="mono small">{{ sub['SubscriptionNumber'] }}</td>
746
+ <td class="small">{{ sub['Product'] ?? '—' }}</td>
747
+ <td class="small">{{ dateOf(sub['EndDate']) }}</td>
748
+ <td class="small">
749
+ {{ sub['AutoRenew'] ? 'automatically' : 'it simply ends' }}
750
+ </td>
751
+ <td>
752
+ <span class="mj-chip" [class]="subClass(sub)">
753
+ {{ sub['Status'] ?? '—' }}
754
+ </span>
755
+ </td>
756
+ </tr>
757
+ } @empty {
758
+ <tr>
759
+ <td colspan="5" class="small muted">
760
+ No subscriptions. Nothing here renews on its own.
761
+ </td>
762
+ </tr>
763
+ }
764
+ </tbody>
765
+ </table>
766
+ </div>
767
+ </div>
768
+ } @else {
769
+ <div class="mj-empty mjo-ar__empty">
770
+ <i class="fa-solid fa-user-tag" aria-hidden="true"></i>
771
+ <div class="t">Pick a customer</div>
772
+ <div class="small">Their aging, open items and credits appear here.</div>
773
+ </div>
774
+ }
775
+ </div>
776
+ </div>
777
+ `, styles: ["\n :host {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n }\n .mjo-ar__split {\n display: flex;\n gap: var(--mj-space-4);\n align-items: flex-start;\n }\n .mjo-ar__left { flex: 0 0 300px; min-width: 0; }\n .mjo-ar__right { flex: 1; min-width: 0; }\n .mjo-ar__list { padding: var(--mj-space-2); }\n\n .mjo-ar__cust {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n padding: var(--mj-space-3);\n border-radius: var(--mj-radius-md);\n cursor: pointer;\n border: 1px solid transparent;\n background: none;\n width: 100%;\n text-align: left;\n font-family: inherit;\n color: inherit;\n }\n .mjo-ar__cust:hover { background: var(--mj-bg-surface-hover); }\n .mjo-ar__cust.is-active {\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n border-color: color-mix(in srgb, var(--mj-brand-primary) 35%, transparent);\n }\n .mjo-ar__avatar { width: 30px; height: 30px; font-size: 11px; }\n .mjo-ar__avatar-lg { width: 44px; height: 44px; font-size: 15px; }\n .mjo-ar__cust-body { flex: 1; min-width: 0; }\n .mjo-ar__cust-name { font-size: 13px; font-weight: var(--mj-font-medium); display: block; }\n .mjo-ar__cust-sub { display: block; }\n .mjo-ar__cust-amt { text-align: right; }\n .mjo-ar__cust-credit { display: block; }\n\n .mjo-ar__header { display: flex; align-items: flex-start; gap: var(--mj-space-4); }\n .mjo-ar__header-body { flex: 1; min-width: 0; }\n .mjo-ar__header-name { font-size: 17px; font-weight: var(--mj-font-semibold); }\n .mjo-ar__strip { display: block; margin-top: var(--mj-space-4); }\n .mjo-ar__aging { margin-top: var(--mj-space-4); }\n .mjo-ar__credit { margin-top: var(--mj-space-4); }\n .mjo-ar__items {\n margin-top: var(--mj-space-4);\n display: flex;\n flex-direction: column;\n height: 520px;\n min-height: 450px;\n }\n .mjo-ar__viewer-host {\n flex: 1 1 auto;\n height: 100%;\n min-height: 380px;\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 .mjo-ar__empty { padding: var(--mj-space-12); }\n\n /* These four hooks were in the markup with no rule anywhere, so the\n two lower cards stacked full-width instead of pairing, and each\n order/amount pair ran together as one line of text. */\n .mjo-ar__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-ar__row {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: var(--mj-space-3);\n padding: var(--mj-space-2) 0;\n border-bottom: 1px solid var(--mj-border-subtle);\n }\n .mjo-ar__row:last-child { border-bottom: none; }\n .mjo-ar__block { margin-top: var(--mj-space-4); }\n .mjo-ar__total { display: block; }\n\n @media (max-width: 900px) {\n .mjo-ar__grid { grid-template-columns: 1fr; }\n }\n\n @media (max-width: 1100px) {\n .mjo-ar__split { flex-direction: column; }\n .mjo-ar__left, .mjo-ar__right { flex: 1 1 auto; width: 100%; }\n }\n @media (max-width: 760px) {\n :host { padding: var(--mj-space-4); }\n }\n "] }]
778
+ }], null, { OrderOpened: [{
779
+ type: Output
780
+ }] }); })();
781
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOCustomerARPageComponent, { className: "MJOCustomerARPageComponent", filePath: "lib/pages/receivables/customer-ar.page.ts", lineNumber: 375 }); })();
782
+ //# sourceMappingURL=customer-ar.page.js.map