@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 @@
1
+ {"version":3,"file":"payments-dashboard.page.d.ts","sourceRoot":"","sources":["../../../../src/lib/pages/payments/payments-dashboard.page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,YAAY,EAAE,MAAM,EAAkB,MAAM,eAAe,CAAC;AAEnG,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7G,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAItF,OAAO,EAAsB,KAAK,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EAAuB,KAAK,kCAAkC,EAAE,MAAM,8BAA8B,CAAC;;AAG5G;;;;;;;;;;;;;GAaG;AACH,qBA6La,iCAAkC,YAAW,MAAM;IAC5D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IAEvC,aAAa,mDAA0D;IAE1E,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAQ;IACnD,OAAO,CAAC,QAAQ,CAA4C;IAE/C,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAQ/B,cAAc,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;IAQrD,OAAO,KAAK,QAAQ,GAEnB;IAED,OAAO,KAAK,OAAO,GAElB;IAED,IAAW,aAAa,IAAI,MAAM,CAEjC;IAED,IAAW,cAAc,IAAI,MAAM,CAElC;IAED,IAAW,YAAY,IAAI,MAAM,CAEhC;IAED,IAAW,aAAa,IAAI,MAAM,CAIjC;IAED,IAAW,QAAQ,IAAI,MAAM,CAE5B;IAED,kFAAkF;IAClF;;;;;;OAMG;IACH,IAAW,UAAU,IAAI,SAAS,EAAE,CAoBnC;IAED,oBAAoB;IACpB,IAAW,cAAc,IAAI,kCAAkC,EAAE,CAIhE;IAED,2CAA2C;IACpC,OAAO,CAAC,OAAO,EAAE,kCAAkC,GAAG,MAAM;IAInE;;;;;;OAMG;IACH,IAAW,aAAa,IAAI,MAAM,CAMjC;IAED,IAAW,SAAS,IAAI,SAAS,EAAE,CASlC;yCAxHQ,iCAAiC;2CAAjC,iCAAiC;CAyH7C"}
@@ -0,0 +1,359 @@
1
+ import { ChangeDetectorRef, Component, EventEmitter, Output, inject } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { MJOStatTileComponent, MJOBarListComponent } from '../../panels/stat-tile.component.js';
4
+ import { MJODayBarsComponent } from '../../panels/day-bars.component.js';
5
+ import { FormatMoney } from '../../panels/money-format.js';
6
+ import { MJAlertComponent } from '@memberjunction/ng-ui-components';
7
+ import { EntityViewerModule } from '@memberjunction/ng-entity-viewer';
8
+ import { Metadata } from '@memberjunction/core';
9
+ import { GetPayments } from '../../data/orders-queries.js';
10
+ import { LocalDay, ToISODate } from '@mj-biz-apps/orders-entities';
11
+ import { MJO_ENTITIES } from '../../data/entity-names.js';
12
+ import * as i0 from "@angular/core";
13
+ import * as i1 from "@memberjunction/ng-entity-viewer";
14
+ function MJOPaymentsDashboardPageComponent_Conditional_44_Template(rf, ctx) { if (rf & 1) {
15
+ const _r1 = i0.ɵɵgetCurrentView();
16
+ i0.ɵɵelementStart(0, "mj-entity-viewer", 26);
17
+ i0.ɵɵlistener("RecordOpened", function MJOPaymentsDashboardPageComponent_Conditional_44_Template_mj_entity_viewer_RecordOpened_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRecordOpened($event)); });
18
+ i0.ɵɵelementEnd();
19
+ } if (rf & 2) {
20
+ const ctx_r1 = i0.ɵɵnextContext();
21
+ i0.ɵɵproperty("Entity", ctx_r1.PaymentEntityInfo);
22
+ } }
23
+ function MJOPaymentsDashboardPageComponent_Conditional_45_Template(rf, ctx) { if (rf & 1) {
24
+ i0.ɵɵelementStart(0, "div", 21);
25
+ i0.ɵɵtext(1, "Loading payments...");
26
+ i0.ɵɵelementEnd();
27
+ } }
28
+ /**
29
+ * `mjo-payments-dashboard-page` — what came in, and does it tie?
30
+ *
31
+ * The accounting team's first two questions, in that order. The reconciliation
32
+ * tile is not decoration: unallocated cash is structurally always zero here,
33
+ * because a payment cannot capture unless its allocations sum to its amount. That
34
+ * guarantee is worth stating on the screen rather than leaving people to trust it.
35
+ *
36
+ * ## Example
37
+ *
38
+ * ```html
39
+ * <mjo-payments-dashboard-page />
40
+ * ```
41
+ */
42
+ export class MJOPaymentsDashboardPageComponent {
43
+ cdr = inject(ChangeDetectorRef);
44
+ PaymentOpened = new EventEmitter();
45
+ PaymentEntityInfo = null;
46
+ payments = [];
47
+ async ngOnInit() {
48
+ const md = new Metadata();
49
+ this.PaymentEntityInfo = md.Entities.find((e) => e.Name === MJO_ENTITIES.PaymentHeader) || null;
50
+ this.cdr.detectChanges();
51
+ this.payments = await GetPayments({ Preset: 'all' });
52
+ this.cdr.detectChanges();
53
+ }
54
+ OnRecordOpened(event) {
55
+ const id = (event.compositeKey?.GetValueByFieldName('ID') ?? event.record?.['ID']);
56
+ if (id) {
57
+ const surrogate = { ID: id };
58
+ this.PaymentOpened.emit(surrogate);
59
+ }
60
+ }
61
+ get captured() {
62
+ return this.payments.filter((p) => p.Status === 'Captured');
63
+ }
64
+ get pending() {
65
+ return this.payments.filter((p) => p.Status === 'Pending');
66
+ }
67
+ get CapturedTotal() {
68
+ return FormatMoney(this.captured.reduce((s, p) => s + (p.Amount ?? 0), 0), { Round: true });
69
+ }
70
+ get CapturedDetail() {
71
+ return `${this.captured.length} payment${this.captured.length === 1 ? '' : 's'}`;
72
+ }
73
+ get PendingTotal() {
74
+ return FormatMoney(this.pending.reduce((s, p) => s + (p.Amount ?? 0), 0), { Round: true, Zero: '—' });
75
+ }
76
+ get PendingDetail() {
77
+ return this.pending.length
78
+ ? `${this.pending.length} awaiting capture — allocations still editable`
79
+ : 'Nothing waiting';
80
+ }
81
+ get FeeTotal() {
82
+ return FormatMoney(this.captured.reduce((s, p) => s + (p.ProcessingFeeAmount ?? 0), 0));
83
+ }
84
+ /** Cash by tender, largest first — the eye wants the dominant one immediately. */
85
+ /**
86
+ * The last seven days by AMOUNT, not count.
87
+ *
88
+ * One large wire and thirty small cards are the same number of payments and
89
+ * nothing like the same day, so a count would be the wrong shape of answer
90
+ * for a panel about cash.
91
+ */
92
+ get CashPerDay() {
93
+ const days = [];
94
+ const today = new Date();
95
+ for (let back = 6; back >= 0; back--) {
96
+ const day = new Date(today);
97
+ day.setDate(day.getDate() - back);
98
+ // LOCAL day for the key, matching the LOCAL day the label is built from — see the same
99
+ // note on the orders dashboard.
100
+ const iso = LocalDay(day);
101
+ days.push({
102
+ Label: day.toLocaleDateString('en-US', { weekday: 'short' }),
103
+ Value: Math.round(this.payments
104
+ .filter((p) => ToISODate(p.PaymentDate) === iso)
105
+ .reduce((sum, p) => sum + Number(p.Amount ?? 0), 0)),
106
+ Current: back === 0,
107
+ });
108
+ }
109
+ return days;
110
+ }
111
+ /** Newest first. */
112
+ get LatestPayments() {
113
+ return [...this.payments]
114
+ .sort((a, b) => String(b.PaymentDate ?? '').localeCompare(String(a.PaymentDate ?? '')))
115
+ .slice(0, 7);
116
+ }
117
+ /** Who paid, however they are recorded. */
118
+ payerOf(payment) {
119
+ return (payment.BillToOrganization ?? payment.BillToPerson ?? '—');
120
+ }
121
+ /**
122
+ * Fees as a share of what was actually captured.
123
+ *
124
+ * Computed rather than quoted. A hardcoded 2.9% describes a card schedule,
125
+ * not this company's mix, and a business taking mostly ACH would read a card
126
+ * rate as its own cost.
127
+ */
128
+ get EffectiveRate() {
129
+ const captured = this.payments.filter((p) => p.Status === 'Captured');
130
+ const gross = captured.reduce((sum, p) => sum + Number(p.Amount ?? 0), 0);
131
+ const fees = captured.reduce((sum, p) => sum + Number(p.ProcessingFeeAmount ?? 0), 0);
132
+ if (!gross)
133
+ return '—';
134
+ return `${((fees / gross) * 100).toFixed(2)}%`;
135
+ }
136
+ get TenderMix() {
137
+ const totals = new Map();
138
+ for (const payment of this.captured) {
139
+ const key = payment.PaymentType ?? 'Other';
140
+ totals.set(key, (totals.get(key) ?? 0) + (payment.Amount ?? 0));
141
+ }
142
+ return [...totals.entries()]
143
+ .sort((a, b) => b[1] - a[1])
144
+ .map(([Label, Value]) => ({ Label, Value, Display: FormatMoney(Value, { Round: true }) }));
145
+ }
146
+ static ɵfac = function MJOPaymentsDashboardPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOPaymentsDashboardPageComponent)(); };
147
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOPaymentsDashboardPageComponent, selectors: [["mjo-payments-dashboard-page"]], outputs: { PaymentOpened: "PaymentOpened" }, decls: 64, vars: 10, consts: [[1, "mj-stat-grid"], ["Label", "Cash received", "Icon", "fa-solid fa-hand-holding-dollar", 3, "Value", "Detail"], ["Label", "Unallocated", "Icon", "fa-solid fa-equals", "Value", "$0.00", "Detail", "Always \u2014 a payment cannot capture unless it balances"], ["Label", "Awaiting capture", "Icon", "fa-solid fa-clock", 3, "Value", "Detail"], ["Label", "Processor fees", "Icon", "fa-solid fa-receipt", "Detail", "Our cost, never netted against a customer's balance", 3, "Value"], [1, "mjo-pd__split", "mjo-pd__split--three"], [1, "mj-card"], [1, "mj-card-head"], ["aria-hidden", "true", 1, "fa-solid", "fa-credit-card"], [1, "mj-card-pad"], ["Unit", "received", 3, "Bars"], [1, "small", "muted", "mjo-pd__note"], ["EmptyText", "No payments yet.", 3, "Rows"], ["aria-hidden", "true", 1, "fa-solid", "fa-shield-halved"], ["Variant", "success", "Icon", "fa-solid fa-circle-check"], ["Variant", "info", "Icon", "fa-solid fa-circle-info", 1, "mjo-pd__note"], [1, "mjo-pd__split"], [1, "mj-card", "mjo-pd__viewer-card"], ["aria-hidden", "true", 1, "fa-solid", "fa-clock-rotate-left"], [1, "mjo-pd__viewer-host"], [3, "Entity"], [1, "small", "muted", 2, "padding", "24px"], ["aria-hidden", "true", 1, "fa-solid", "fa-receipt"], [1, "mjo-pd__row"], [1, "small", "muted"], [1, "mj-num"], [3, "RecordOpened", "Entity"]], template: function MJOPaymentsDashboardPageComponent_Template(rf, ctx) { if (rf & 1) {
148
+ i0.ɵɵelementStart(0, "div", 0);
149
+ i0.ɵɵelement(1, "mjo-stat-tile", 1)(2, "mjo-stat-tile", 2)(3, "mjo-stat-tile", 3)(4, "mjo-stat-tile", 4);
150
+ i0.ɵɵelementEnd();
151
+ i0.ɵɵelementStart(5, "div", 5)(6, "div", 6)(7, "div", 7);
152
+ i0.ɵɵelement(8, "i", 8);
153
+ i0.ɵɵelementStart(9, "h3");
154
+ i0.ɵɵtext(10, "Cash received per day");
155
+ i0.ɵɵelementEnd()();
156
+ i0.ɵɵelementStart(11, "div", 9);
157
+ i0.ɵɵelement(12, "mjo-day-bars", 10);
158
+ i0.ɵɵelementStart(13, "div", 11);
159
+ i0.ɵɵtext(14, "Amounts received, not payment counts.");
160
+ i0.ɵɵelementEnd()()();
161
+ i0.ɵɵelementStart(15, "div", 6)(16, "div", 7);
162
+ i0.ɵɵelement(17, "i", 8);
163
+ i0.ɵɵelementStart(18, "h3");
164
+ i0.ɵɵtext(19, "How they paid");
165
+ i0.ɵɵelementEnd()();
166
+ i0.ɵɵelementStart(20, "div", 9);
167
+ i0.ɵɵelement(21, "mjo-bar-list", 12);
168
+ i0.ɵɵelementEnd()();
169
+ i0.ɵɵelementStart(22, "div", 6)(23, "div", 7);
170
+ i0.ɵɵelement(24, "i", 13);
171
+ i0.ɵɵelementStart(25, "h3");
172
+ i0.ɵɵtext(26, "Reconciliation");
173
+ i0.ɵɵelementEnd()();
174
+ i0.ɵɵelementStart(27, "div", 9)(28, "mj-alert", 14)(29, "strong");
175
+ i0.ɵɵtext(30, "Every captured payment balances.");
176
+ i0.ɵɵelementEnd();
177
+ i0.ɵɵtext(31, " The amount-equals-allocations rule is enforced at the capture transition, so an unbalanced payment cannot exist to be found later. ");
178
+ i0.ɵɵelementEnd();
179
+ i0.ɵɵelementStart(32, "mj-alert", 15);
180
+ i0.ɵɵtext(33, " A refund is a ");
181
+ i0.ɵɵelementStart(34, "b");
182
+ i0.ɵɵtext(35, "new payment");
183
+ i0.ɵɵelementEnd();
184
+ i0.ɵɵtext(36, ", never an edit of the capture \u2014 so chargebacks and reversals show in the refunds list rather than as a mutated original. ");
185
+ i0.ɵɵelementEnd()()()();
186
+ i0.ɵɵelementStart(37, "div", 16)(38, "div", 17)(39, "div", 7);
187
+ i0.ɵɵelement(40, "i", 18);
188
+ i0.ɵɵelementStart(41, "h3");
189
+ i0.ɵɵtext(42, "Payments List");
190
+ i0.ɵɵelementEnd()();
191
+ i0.ɵɵelementStart(43, "div", 19);
192
+ i0.ɵɵconditionalCreate(44, MJOPaymentsDashboardPageComponent_Conditional_44_Template, 1, 1, "mj-entity-viewer", 20)(45, MJOPaymentsDashboardPageComponent_Conditional_45_Template, 2, 0, "div", 21);
193
+ i0.ɵɵelementEnd()();
194
+ i0.ɵɵelementStart(46, "div", 6)(47, "div", 7);
195
+ i0.ɵɵelement(48, "i", 22);
196
+ i0.ɵɵelementStart(49, "h3");
197
+ i0.ɵɵtext(50, "Cost of taking money");
198
+ i0.ɵɵelementEnd()();
199
+ i0.ɵɵelementStart(51, "div", 9)(52, "div", 23)(53, "span", 24);
200
+ i0.ɵɵtext(54, "Processor fees, captured payments");
201
+ i0.ɵɵelementEnd();
202
+ i0.ɵɵelementStart(55, "b", 25);
203
+ i0.ɵɵtext(56);
204
+ i0.ɵɵelementEnd()();
205
+ i0.ɵɵelementStart(57, "div", 23)(58, "span", 24);
206
+ i0.ɵɵtext(59, "Effective rate on what we took");
207
+ i0.ɵɵelementEnd();
208
+ i0.ɵɵelementStart(60, "b", 25);
209
+ i0.ɵɵtext(61);
210
+ i0.ɵɵelementEnd()();
211
+ i0.ɵɵelementStart(62, "div", 11);
212
+ i0.ɵɵtext(63, " Booked as OUR expense against gross A/R, never netted into the customer's balance \u2014 netting would leave a residue no payment could ever clear. ");
213
+ i0.ɵɵelementEnd()()()();
214
+ } if (rf & 2) {
215
+ i0.ɵɵadvance();
216
+ i0.ɵɵproperty("Value", ctx.CapturedTotal)("Detail", ctx.CapturedDetail);
217
+ i0.ɵɵadvance(2);
218
+ i0.ɵɵproperty("Value", ctx.PendingTotal)("Detail", ctx.PendingDetail);
219
+ i0.ɵɵadvance();
220
+ i0.ɵɵproperty("Value", ctx.FeeTotal);
221
+ i0.ɵɵadvance(8);
222
+ i0.ɵɵproperty("Bars", ctx.CashPerDay);
223
+ i0.ɵɵadvance(9);
224
+ i0.ɵɵproperty("Rows", ctx.TenderMix);
225
+ i0.ɵɵadvance(23);
226
+ i0.ɵɵconditional(ctx.PaymentEntityInfo ? 44 : 45);
227
+ i0.ɵɵadvance(12);
228
+ i0.ɵɵtextInterpolate(ctx.FeeTotal);
229
+ i0.ɵɵadvance(5);
230
+ i0.ɵɵtextInterpolate(ctx.EffectiveRate);
231
+ } }, dependencies: [CommonModule,
232
+ MJOStatTileComponent,
233
+ MJOBarListComponent,
234
+ MJODayBarsComponent,
235
+ MJAlertComponent,
236
+ EntityViewerModule, i1.EntityViewerComponent], styles: ["\n\n\n\n\n\n .mjo-pd__split[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-4);\n }\n .mjo-pd__viewer-card[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n height: 560px;\n min-height: 480px;\n }\n .mjo-pd__viewer-host[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n height: 100%;\n min-height: 400px;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n .mjo-pd__row[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: var(--mj-space-3);\n padding: 3px 0;\n }\n .mjo-pd__note[_ngcontent-%COMP%] { margin-top: var(--mj-space-3); }\n @media (max-width: 1000px) {\n .mjo-pd__split[_ngcontent-%COMP%] { grid-template-columns: 1fr; }\n }\n\n [_nghost-%COMP%] {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n box-sizing: border-box;\n }\n .mjo-pd__split--three[_ngcontent-%COMP%] {\n grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));\n margin-top: var(--mj-space-6);\n }\n .mjo-pd__note[_ngcontent-%COMP%] { margin-top: var(--mj-space-3); }\n @media (max-width: 1000px) {\n .mjo-pd__split[_ngcontent-%COMP%] { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n [_nghost-%COMP%] { padding: var(--mj-space-4); }\n }"] });
237
+ }
238
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOPaymentsDashboardPageComponent, [{
239
+ type: Component,
240
+ args: [{ selector: 'mjo-payments-dashboard-page', standalone: true, imports: [
241
+ CommonModule,
242
+ MJOStatTileComponent,
243
+ MJOBarListComponent,
244
+ MJODayBarsComponent,
245
+ MJAlertComponent,
246
+ EntityViewerModule
247
+ ], template: `
248
+ <div class="mj-stat-grid">
249
+ <mjo-stat-tile
250
+ Label="Cash received"
251
+ Icon="fa-solid fa-hand-holding-dollar"
252
+ [Value]="CapturedTotal"
253
+ [Detail]="CapturedDetail" />
254
+
255
+ <mjo-stat-tile
256
+ Label="Unallocated"
257
+ Icon="fa-solid fa-equals"
258
+ Value="$0.00"
259
+ Detail="Always — a payment cannot capture unless it balances" />
260
+
261
+ <mjo-stat-tile
262
+ Label="Awaiting capture"
263
+ Icon="fa-solid fa-clock"
264
+ [Value]="PendingTotal"
265
+ [Detail]="PendingDetail" />
266
+
267
+ <mjo-stat-tile
268
+ Label="Processor fees"
269
+ Icon="fa-solid fa-receipt"
270
+ [Value]="FeeTotal"
271
+ Detail="Our cost, never netted against a customer's balance" />
272
+ </div>
273
+
274
+ <div class="mjo-pd__split mjo-pd__split--three">
275
+ <div class="mj-card">
276
+ <div class="mj-card-head">
277
+ <i class="fa-solid fa-credit-card" aria-hidden="true"></i>
278
+ <h3>Cash received per day</h3>
279
+ </div>
280
+ <div class="mj-card-pad">
281
+ <mjo-day-bars [Bars]="CashPerDay" Unit="received" />
282
+ <div class="small muted mjo-pd__note">Amounts received, not payment counts.</div>
283
+ </div>
284
+ </div>
285
+
286
+ <div class="mj-card">
287
+ <div class="mj-card-head">
288
+ <i class="fa-solid fa-credit-card" aria-hidden="true"></i>
289
+ <h3>How they paid</h3>
290
+ </div>
291
+ <div class="mj-card-pad">
292
+ <mjo-bar-list [Rows]="TenderMix" EmptyText="No payments yet." />
293
+ </div>
294
+ </div>
295
+
296
+ <div class="mj-card">
297
+ <div class="mj-card-head">
298
+ <i class="fa-solid fa-shield-halved" aria-hidden="true"></i>
299
+ <h3>Reconciliation</h3>
300
+ </div>
301
+ <div class="mj-card-pad">
302
+ <mj-alert Variant="success" Icon="fa-solid fa-circle-check">
303
+ <strong>Every captured payment balances.</strong>
304
+ The amount-equals-allocations rule is enforced at the capture transition, so an
305
+ unbalanced payment cannot exist to be found later.
306
+ </mj-alert>
307
+ <mj-alert Variant="info" Icon="fa-solid fa-circle-info" class="mjo-pd__note">
308
+ A refund is a <b>new payment</b>, never an edit of the capture — so chargebacks and
309
+ reversals show in the refunds list rather than as a mutated original.
310
+ </mj-alert>
311
+ </div>
312
+ </div>
313
+ </div>
314
+
315
+ <div class="mjo-pd__split">
316
+ <div class="mj-card mjo-pd__viewer-card">
317
+ <div class="mj-card-head">
318
+ <i class="fa-solid fa-clock-rotate-left" aria-hidden="true"></i>
319
+ <h3>Payments List</h3>
320
+ </div>
321
+ <div class="mjo-pd__viewer-host">
322
+ @if (PaymentEntityInfo) {
323
+ <mj-entity-viewer
324
+ [Entity]="PaymentEntityInfo"
325
+ (RecordOpened)="OnRecordOpened($event)">
326
+ </mj-entity-viewer>
327
+ } @else {
328
+ <div class="small muted" style="padding: 24px;">Loading payments...</div>
329
+ }
330
+ </div>
331
+ </div>
332
+
333
+ <div class="mj-card">
334
+ <div class="mj-card-head">
335
+ <i class="fa-solid fa-receipt" aria-hidden="true"></i>
336
+ <h3>Cost of taking money</h3>
337
+ </div>
338
+ <div class="mj-card-pad">
339
+ <div class="mjo-pd__row">
340
+ <span class="small muted">Processor fees, captured payments</span>
341
+ <b class="mj-num">{{ FeeTotal }}</b>
342
+ </div>
343
+ <div class="mjo-pd__row">
344
+ <span class="small muted">Effective rate on what we took</span>
345
+ <b class="mj-num">{{ EffectiveRate }}</b>
346
+ </div>
347
+ <div class="small muted mjo-pd__note">
348
+ Booked as OUR expense against gross A/R, never netted into the customer's
349
+ balance — netting would leave a residue no payment could ever clear.
350
+ </div>
351
+ </div>
352
+ </div>
353
+ </div>
354
+ `, styles: ["\n /* NOTE: .mjo-pd__split was declared TWICE in this block with different column\n templates, so the later one silently won and BOTH rows rendered as two equal\n columns. The top row has three cards, so the third landed alone and left an empty\n half-width slot beside it \u2014 a hole that read as a card that had failed to load.\n Two layouts need two names. */\n .mjo-pd__split {\n display: grid;\n grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);\n gap: var(--mj-space-4);\n margin-top: var(--mj-space-4);\n }\n .mjo-pd__viewer-card {\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n height: 560px;\n min-height: 480px;\n }\n .mjo-pd__viewer-host {\n flex: 1 1 auto;\n height: 100%;\n min-height: 400px;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n .mjo-pd__row {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: var(--mj-space-3);\n padding: 3px 0;\n }\n .mjo-pd__note { margin-top: var(--mj-space-3); }\n @media (max-width: 1000px) {\n .mjo-pd__split { grid-template-columns: 1fr; }\n }\n\n :host {\n display: block;\n height: 100%;\n overflow: auto;\n padding: var(--mj-space-6);\n box-sizing: border-box;\n }\n .mjo-pd__split--three {\n grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));\n margin-top: var(--mj-space-6);\n }\n .mjo-pd__note { margin-top: var(--mj-space-3); }\n @media (max-width: 1000px) {\n .mjo-pd__split { grid-template-columns: 1fr; }\n }\n @media (max-width: 760px) {\n :host { padding: var(--mj-space-4); }\n }\n "] }]
355
+ }], null, { PaymentOpened: [{
356
+ type: Output
357
+ }] }); })();
358
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOPaymentsDashboardPageComponent, { className: "MJOPaymentsDashboardPageComponent", filePath: "lib/pages/payments/payments-dashboard.page.ts", lineNumber: 217 }); })();
359
+ //# sourceMappingURL=payments-dashboard.page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments-dashboard.page.js","sourceRoot":"","sources":["../../../../src/lib/pages/payments/payments-dashboard.page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,YAAY,EAAU,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAkB,MAAM,kCAAkC,CAAC;AAC7G,OAAO,EAAE,mBAAmB,EAAkB,MAAM,iCAAiC,CAAC;AAEtF,OAAO,EAAE,WAAW,EAAgB,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAA0B,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EAAE,QAAQ,EAAmB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAA2C,MAAM,8BAA8B,CAAC;AAC5G,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;;;;;IAuG/B,4CAE4C;IAAxC,oOAAgB,6BAAsB,KAAC;IAC3C,iBAAmB;;;IAFf,iDAA4B;;;IAIhC,+BAAgD;IAAA,mCAAmB;IAAA,iBAAM;;AA1GjG;;;;;;;;;;;;;GAaG;AA8LH,MAAM,OAAO,iCAAiC;IACzB,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAEvC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ADJ,+BAAqB,cACS;YACtB,yBAAsD;YACtD,2BAAI;YAAA,qCAAoB;YAC5B,AAD4B,iBAAK,EAC3B;YAGE,AADJ,AADJ,+BAAyB,eACI,gBACK;YAAA,kDAAiC;YAAA,iBAAO;YAClE,8BAAkB;YAAA,aAAc;YACpC,AADoC,iBAAI,EAClC;YAEF,AADJ,gCAAyB,gBACK;YAAA,+CAA8B;YAAA,iBAAO;YAC/D,8BAAkB;YAAA,aAAmB;YACzC,AADyC,iBAAI,EACvC;YACN,gCAAsC;YAClC,sKAEJ;YAGZ,AADI,AADI,AADI,iBAAM,EACJ,EACJ,EACJ;;YArGE,cAAuB;YACvB,AADA,yCAAuB,8BACE;YAWzB,eAAsB;YACtB,AADA,wCAAsB,6BACE;YAKxB,cAAkB;YAAlB,oCAAkB;YAWA,eAAmB;YAAnB,qCAAmB;YAWnB,eAAkB;YAAlB,oCAAkB;YA8BhC,gBAOC;YAPD,iDAOC;YAYqB,gBAAc;YAAd,kCAAc;YAId,eAAmB;YAAnB,uCAAmB;4BAzGrD,YAAY;YACZ,oBAAoB;YACpB,mBAAmB;YACnB,mBAAmB;YACnB,gBAAgB;YAChB,kBAAkB;;iFAoLb,iCAAiC;cA7L7C,SAAS;2BACI,6BAA6B,cAC3B,IAAI,WACP;oBACL,YAAY;oBACZ,oBAAoB;oBACpB,mBAAmB;oBACnB,mBAAmB;oBACnB,gBAAgB;oBAChB,kBAAkB;iBACrB,YACS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2GT;;kBA0EA,MAAM;;kFAHE,iCAAiC"}
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { type RecordOpenedEvent } from '@memberjunction/ng-entity-viewer';
3
+ import { type EntityInfo } from '@memberjunction/core';
4
+ import { type mjBizAppsOrdersPaymentHeaderEntity } from '@mj-biz-apps/orders-entities';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * `mjo-payments-list-page` — All Payments view powered by MemberJunction's native `<mj-entity-viewer>`.
8
+ */
9
+ export declare class MJOPaymentsListPageComponent implements OnInit {
10
+ private readonly cdr;
11
+ PaymentOpened: EventEmitter<mjBizAppsOrdersPaymentHeaderEntity>;
12
+ PaymentEntityInfo: EntityInfo | null;
13
+ ngOnInit(): void;
14
+ OnRecordOpened(event: RecordOpenedEvent): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJOPaymentsListPageComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJOPaymentsListPageComponent, "mjo-payments-list-page", never, {}, { "PaymentOpened": "PaymentOpened"; }, never, never, true, never>;
17
+ }
18
+ //# sourceMappingURL=payments-list.page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments-list.page.d.ts","sourceRoot":"","sources":["../../../../src/lib/pages/payments/payments-list.page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,YAAY,EAAE,MAAM,EAAkB,MAAM,eAAe,CAAC;AAEnG,OAAO,EAAsB,KAAK,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,KAAK,kCAAkC,EAAE,MAAM,8BAA8B,CAAC;;AAGvF;;GAEG;AACH,qBA6Da,4BAA6B,YAAW,MAAM;IACvD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IAEvC,aAAa,mDAA0D;IAE1E,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAQ;IAE5C,QAAQ,IAAI,IAAI;IAMhB,cAAc,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;yCAb5C,4BAA4B;2CAA5B,4BAA4B;CAoBxC"}
@@ -0,0 +1,71 @@
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 { MJO_ENTITIES } from '../../data/entity-names.js';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@memberjunction/ng-entity-viewer";
8
+ function MJOPaymentsListPageComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
9
+ const _r1 = i0.ɵɵgetCurrentView();
10
+ i0.ɵɵelementStart(0, "mj-entity-viewer", 4);
11
+ i0.ɵɵlistener("RecordOpened", function MJOPaymentsListPageComponent_Conditional_2_Template_mj_entity_viewer_RecordOpened_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnRecordOpened($event)); });
12
+ i0.ɵɵelementEnd();
13
+ } if (rf & 2) {
14
+ const ctx_r1 = i0.ɵɵnextContext();
15
+ i0.ɵɵproperty("Entity", ctx_r1.PaymentEntityInfo);
16
+ } }
17
+ function MJOPaymentsListPageComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
18
+ i0.ɵɵelementStart(0, "div", 3);
19
+ i0.ɵɵtext(1, "Loading payment metadata...");
20
+ i0.ɵɵelementEnd();
21
+ } }
22
+ /**
23
+ * `mjo-payments-list-page` — All Payments view powered by MemberJunction's native `<mj-entity-viewer>`.
24
+ */
25
+ export class MJOPaymentsListPageComponent {
26
+ cdr = inject(ChangeDetectorRef);
27
+ PaymentOpened = new EventEmitter();
28
+ PaymentEntityInfo = null;
29
+ ngOnInit() {
30
+ const md = new Metadata();
31
+ this.PaymentEntityInfo = md.Entities.find((e) => e.Name === MJO_ENTITIES.PaymentHeader) || null;
32
+ this.cdr.detectChanges();
33
+ }
34
+ OnRecordOpened(event) {
35
+ const id = (event.compositeKey?.GetValueByFieldName('ID') ?? event.record?.['ID']);
36
+ if (id) {
37
+ const surrogate = { ID: id };
38
+ this.PaymentOpened.emit(surrogate);
39
+ }
40
+ }
41
+ static ɵfac = function MJOPaymentsListPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOPaymentsListPageComponent)(); };
42
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOPaymentsListPageComponent, selectors: [["mjo-payments-list-page"]], outputs: { PaymentOpened: "PaymentOpened" }, decls: 4, vars: 1, consts: [[1, "mjo-list-page-container"], [1, "mjo-viewer-wrapper"], [3, "Entity"], [1, "small", "muted", 2, "padding", "24px"], [3, "RecordOpened", "Entity"]], template: function MJOPaymentsListPageComponent_Template(rf, ctx) { if (rf & 1) {
43
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
44
+ i0.ɵɵconditionalCreate(2, MJOPaymentsListPageComponent_Conditional_2_Template, 1, 1, "mj-entity-viewer", 2)(3, MJOPaymentsListPageComponent_Conditional_3_Template, 2, 0, "div", 3);
45
+ i0.ɵɵelementEnd()();
46
+ } if (rf & 2) {
47
+ i0.ɵɵadvance(2);
48
+ i0.ɵɵconditional(ctx.PaymentEntityInfo ? 2 : 3);
49
+ } }, dependencies: [CommonModule, EntityViewerModule, i1.EntityViewerComponent], styles: ["[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n min-height: 0;\n overflow: hidden;\n }\n .mjo-list-page-container[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n min-height: 0;\n display: flex;\n flex-direction: column;\n padding: var(--mj-space-6);\n box-sizing: border-box;\n }\n .mjo-viewer-wrapper[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n height: 100%;\n min-height: 500px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n @media (max-width: 760px) {\n .mjo-list-page-container[_ngcontent-%COMP%] { padding: var(--mj-space-4); }\n }"] });
50
+ }
51
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOPaymentsListPageComponent, [{
52
+ type: Component,
53
+ args: [{ selector: 'mjo-payments-list-page', standalone: true, imports: [CommonModule, EntityViewerModule], template: `
54
+ <div class="mjo-list-page-container">
55
+ <div class="mjo-viewer-wrapper">
56
+ @if (PaymentEntityInfo) {
57
+ <mj-entity-viewer
58
+ [Entity]="PaymentEntityInfo"
59
+ (RecordOpened)="OnRecordOpened($event)">
60
+ </mj-entity-viewer>
61
+ } @else {
62
+ <div class="small muted" style="padding: 24px;">Loading payment metadata...</div>
63
+ }
64
+ </div>
65
+ </div>
66
+ `, styles: ["\n :host {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n min-height: 0;\n overflow: hidden;\n }\n .mjo-list-page-container {\n height: 100%;\n width: 100%;\n min-height: 0;\n display: flex;\n flex-direction: column;\n padding: var(--mj-space-6);\n box-sizing: border-box;\n }\n .mjo-viewer-wrapper {\n flex: 1 1 auto;\n height: 100%;\n min-height: 500px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n mj-entity-viewer {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n height: 100%;\n width: 100%;\n }\n @media (max-width: 760px) {\n .mjo-list-page-container { padding: var(--mj-space-4); }\n }\n "] }]
67
+ }], null, { PaymentOpened: [{
68
+ type: Output
69
+ }] }); })();
70
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOPaymentsListPageComponent, { className: "MJOPaymentsListPageComponent", filePath: "lib/pages/payments/payments-list.page.ts", lineNumber: 72 }); })();
71
+ //# sourceMappingURL=payments-list.page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments-list.page.js","sourceRoot":"","sources":["../../../../src/lib/pages/payments/payments-list.page.ts"],"names":[],"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C,CAAC;IACL,CAAC;sHAnBQ,4BAA4B;6DAA5B,4BAA4B;YAvD7B,AADJ,8BAAqC,aACD;YAM1B,AALF,2GAAyB,wEAKhB;YAIjB,AADI,iBAAM,EACJ;;YATE,eAOC;YAPD,+CAOC;4BAXH,YAAY,EAAE,kBAAkB;;iFA0DjC,4BAA4B;cA7DxC,SAAS;2BACI,wBAAwB,cACtB,IAAI,WACP,CAAC,YAAY,EAAE,kBAAkB,CAAC,YACjC;;;;;;;;;;;;;KAaT;;kBA+CA,MAAM;;kFAHE,4BAA4B"}
@@ -0,0 +1,74 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /** One order the original payment settled, and what a refund does to it. */
4
+ interface MJOUnapplication {
5
+ OrderNumber: string;
6
+ OriginalAmount: number;
7
+ Share: number;
8
+ UnappliedAmount: number;
9
+ BalanceAfter: number;
10
+ }
11
+ /**
12
+ * `mjo-refund-page` — give money back.
13
+ *
14
+ * A REFUND IS A NEW PAYMENT, NEVER AN EDIT. The original capture happened, it has
15
+ * a journal entry, and rewriting it would destroy the audit trail of money that
16
+ * actually moved. So the reversal carries its own instrument snapshot and its own
17
+ * negative allocation lines.
18
+ *
19
+ * IT UN-APPLIES PROPORTIONALLY. A payment split across three orders refunds across
20
+ * the same three, in the same ratio — choosing which order to claw back from would
21
+ * be re-making a decision the original payment already made, and making it
22
+ * differently.
23
+ *
24
+ * THE PROCESSING FEE IS NOT REVERSED. The processor kept its cut; reversing it
25
+ * would claim money back from them that never returns.
26
+ *
27
+ * ## Example
28
+ *
29
+ * ```html
30
+ * <mjo-refund-page [PaymentID]="id" (Refunded)="close()" />
31
+ * ```
32
+ */
33
+ export declare class MJORefundPageComponent implements OnInit {
34
+ /**
35
+ * Render what was just loaded. See orders-dashboard.page.ts for the full
36
+ * reasoning: these pages are created imperatively by the section shell, and an
37
+ * async assignment across Angular's check/verify boundary raises NG0100, aborts
38
+ * the DOM write, and freezes the view on its pre-load values permanently.
39
+ */
40
+ private readonly cdr;
41
+ /** The captured payment being reversed. */
42
+ PaymentID: string | null;
43
+ PaymentNumber: string | null;
44
+ OriginalAmount: number;
45
+ Fee: number;
46
+ AlreadyRefunded: number;
47
+ /** How the original was applied — drives the proportional un-application. */
48
+ OriginalAllocations: Array<{
49
+ OrderNumber: string;
50
+ Amount: number;
51
+ Balance: number;
52
+ }>;
53
+ /** A refund was issued. */
54
+ Refunded: EventEmitter<string>;
55
+ Amount: number;
56
+ Reason: string;
57
+ Busy: boolean;
58
+ Error: string | null;
59
+ ngOnInit(): void;
60
+ get Refundable(): number;
61
+ get CanRefund(): boolean;
62
+ /**
63
+ * The proportional split, computed for DISPLAY only. The server does this
64
+ * again authoritatively — showing it here is about letting someone see the
65
+ * consequence before committing, not about deciding it.
66
+ */
67
+ get Unapplications(): MJOUnapplication[];
68
+ SetAmount(raw: string): void;
69
+ Refund(): Promise<void>;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJORefundPageComponent, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJORefundPageComponent, "mjo-refund-page", never, { "PaymentID": { "alias": "PaymentID"; "required": false; }; "PaymentNumber": { "alias": "PaymentNumber"; "required": false; }; "OriginalAmount": { "alias": "OriginalAmount"; "required": false; }; "Fee": { "alias": "Fee"; "required": false; }; "AlreadyRefunded": { "alias": "AlreadyRefunded"; "required": false; }; "OriginalAllocations": { "alias": "OriginalAllocations"; "required": false; }; }, { "Refunded": "Refunded"; }, never, never, true, never>;
72
+ }
73
+ export {};
74
+ //# sourceMappingURL=refund.page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refund.page.d.ts","sourceRoot":"","sources":["../../../../src/lib/pages/payments/refund.page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,YAAY,EAAS,MAAM,EAAkB,MAAM,eAAe,CAAC;;AAQ1G,4EAA4E;AAC5E,UAAU,gBAAgB;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,E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