@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,885 @@
1
+ import { Component } from '@angular/core';
2
+ import { CompositeKey, Metadata, RunView } from '@memberjunction/core';
3
+ import { NavigationService } from '@memberjunction/ng-shared';
4
+ import { UserInfoEngine } from '@memberjunction/core-entities';
5
+ import { inject } from '@angular/core';
6
+ import { DispatchFormNavigation } from '../form-navigation-helper.js';
7
+ import { mjBizAppsOrdersSubscriptionFormComponent } from '../../generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@angular/common";
10
+ import * as i2 from "@memberjunction/ng-base-forms";
11
+ import * as i3 from "@mj-biz-apps/accounting-ng";
12
+ const _forTrack0 = ($index, $item) => $item.ID;
13
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_21_Template(rf, ctx) { if (rf & 1) {
14
+ i0.ɵɵelementStart(0, "span", 12);
15
+ i0.ɵɵelement(1, "i", 35);
16
+ i0.ɵɵtext(2);
17
+ i0.ɵɵelementEnd();
18
+ } if (rf & 2) {
19
+ const ctx_r1 = i0.ɵɵnextContext(2);
20
+ i0.ɵɵadvance(2);
21
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.record.Company || ctx_r1.record.CompanyID, " ");
22
+ } }
23
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_22_Template(rf, ctx) { if (rf & 1) {
24
+ i0.ɵɵelementStart(0, "span", 12);
25
+ i0.ɵɵelement(1, "i", 29);
26
+ i0.ɵɵtext(2);
27
+ i0.ɵɵelementEnd();
28
+ } if (rf & 2) {
29
+ const ctx_r1 = i0.ɵɵnextContext(2);
30
+ i0.ɵɵadvance(2);
31
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.record.Product || ctx_r1.record.ProductID, " ");
32
+ } }
33
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_48_Template(rf, ctx) { if (rf & 1) {
34
+ i0.ɵɵelementStart(0, "span", 24);
35
+ i0.ɵɵtext(1);
36
+ i0.ɵɵelementEnd();
37
+ } if (rf & 2) {
38
+ const ctx_r1 = i0.ɵɵnextContext(2);
39
+ i0.ɵɵadvance();
40
+ i0.ɵɵtextInterpolate(ctx_r1.SubscriptionTerms.length);
41
+ } }
42
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_54_Template(rf, ctx) { if (rf & 1) {
43
+ i0.ɵɵelementStart(0, "span", 26);
44
+ i0.ɵɵtext(1);
45
+ i0.ɵɵelementEnd();
46
+ } if (rf & 2) {
47
+ const ctx_r1 = i0.ɵɵnextContext(2);
48
+ i0.ɵɵadvance();
49
+ i0.ɵɵtextInterpolate(ctx_r1.RevRecJournalEntries.length);
50
+ } }
51
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_0_Template(rf, ctx) { if (rf & 1) {
52
+ i0.ɵɵelementStart(0, "div", 45);
53
+ i0.ɵɵelement(1, "i", 47);
54
+ i0.ɵɵelementStart(2, "span");
55
+ i0.ɵɵtext(3, "No coverage terms materialized yet for this subscription.");
56
+ i0.ɵɵelementEnd()();
57
+ } }
58
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_1_For_2_Conditional_8_Template(rf, ctx) { if (rf & 1) {
59
+ i0.ɵɵelementStart(0, "span", 53);
60
+ i0.ɵɵelement(1, "i", 60);
61
+ i0.ɵɵtext(2);
62
+ i0.ɵɵelementEnd();
63
+ } if (rf & 2) {
64
+ const term_r5 = i0.ɵɵnextContext().$implicit;
65
+ i0.ɵɵadvance(2);
66
+ i0.ɵɵtextInterpolate1(" ", term_r5.ProrationFactor ? (term_r5.ProrationFactor * 100).toFixed(0) + "%" : "Prorated", " ");
67
+ } }
68
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
69
+ const _r4 = i0.ɵɵgetCurrentView();
70
+ i0.ɵɵelementStart(0, "div", 48)(1, "div", 49)(2, "div", 50);
71
+ i0.ɵɵelement(3, "i", 51);
72
+ i0.ɵɵtext(4);
73
+ i0.ɵɵelementEnd();
74
+ i0.ɵɵelementStart(5, "div", 52)(6, "span");
75
+ i0.ɵɵtext(7);
76
+ i0.ɵɵelementEnd();
77
+ i0.ɵɵconditionalCreate(8, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_1_For_2_Conditional_8_Template, 3, 1, "span", 53);
78
+ i0.ɵɵelementEnd()();
79
+ i0.ɵɵelementStart(9, "div", 54);
80
+ i0.ɵɵtext(10);
81
+ i0.ɵɵelementEnd();
82
+ i0.ɵɵelementStart(11, "div", 55);
83
+ i0.ɵɵelement(12, "i", 56);
84
+ i0.ɵɵelementStart(13, "span");
85
+ i0.ɵɵtext(14);
86
+ i0.ɵɵelementEnd()();
87
+ i0.ɵɵelementStart(15, "div", 57)(16, "button", 58);
88
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_1_For_2_Template_button_click_16_listener() { const term_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnOpenTerm(term_r5)); });
89
+ i0.ɵɵelementStart(17, "span");
90
+ i0.ɵɵtext(18, "View Term Details & Waterfall");
91
+ i0.ɵɵelementEnd();
92
+ i0.ɵɵelement(19, "i", 59);
93
+ i0.ɵɵelementEnd()()();
94
+ } if (rf & 2) {
95
+ const term_r5 = ctx.$implicit;
96
+ const ɵ$index_211_r6 = ctx.$index;
97
+ const ctx_r1 = i0.ɵɵnextContext(5);
98
+ i0.ɵɵadvance(2);
99
+ i0.ɵɵproperty("ngClass", ctx_r1.GetTermBadgeClass(ɵ$index_211_r6));
100
+ i0.ɵɵadvance(2);
101
+ i0.ɵɵtextInterpolate1(" Term ", term_r5.TermNumber || ɵ$index_211_r6 + 1, " ");
102
+ i0.ɵɵadvance(2);
103
+ i0.ɵɵclassMap(ctx_r1.GetTermStatusClass(term_r5.Status));
104
+ i0.ɵɵadvance();
105
+ i0.ɵɵtextInterpolate(term_r5.Status || "Active");
106
+ i0.ɵɵadvance();
107
+ i0.ɵɵconditional(term_r5.IsProrated ? 8 : -1);
108
+ i0.ɵɵadvance(2);
109
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.FormatMoney(term_r5.Amount), " ");
110
+ i0.ɵɵadvance(4);
111
+ i0.ɵɵtextInterpolate(ctx_r1.FormatDateRange(term_r5.StartDate, term_r5.EndDate));
112
+ } }
113
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_1_Template(rf, ctx) { if (rf & 1) {
114
+ i0.ɵɵelementStart(0, "div", 46);
115
+ i0.ɵɵrepeaterCreate(1, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_1_For_2_Template, 20, 8, "div", 48, _forTrack0);
116
+ i0.ɵɵelementEnd();
117
+ } if (rf & 2) {
118
+ const ctx_r1 = i0.ɵɵnextContext(4);
119
+ i0.ɵɵadvance();
120
+ i0.ɵɵrepeater(ctx_r1.SubscriptionTerms);
121
+ } }
122
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Template(rf, ctx) { if (rf & 1) {
123
+ i0.ɵɵconditionalCreate(0, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_0_Template, 4, 0, "div", 45)(1, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Conditional_1_Template, 3, 0, "div", 46);
124
+ } if (rf & 2) {
125
+ const ctx_r1 = i0.ɵɵnextContext(3);
126
+ i0.ɵɵconditional(ctx_r1.SubscriptionTerms.length === 0 ? 0 : 1);
127
+ } }
128
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_16_Template(rf, ctx) { if (rf & 1) {
129
+ const _r7 = i0.ɵɵgetCurrentView();
130
+ i0.ɵɵelementStart(0, "div", 44)(1, "mj-explorer-entity-data-grid", 61);
131
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_16_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersSubscriptionTerms", $event.totalRowCount)); });
132
+ i0.ɵɵelementEnd()();
133
+ } if (rf & 2) {
134
+ const ctx_r1 = i0.ɵɵnextContext(3);
135
+ i0.ɵɵadvance();
136
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Subscription Terms", "SubscriptionID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Subscription Terms"))("AllowLoad", true)("ShowToolbar", false);
137
+ } }
138
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Template(rf, ctx) { if (rf & 1) {
139
+ const _r3 = i0.ɵɵgetCurrentView();
140
+ i0.ɵɵelementStart(0, "div", 33)(1, "div", 36)(2, "div", 37)(3, "h2", 38);
141
+ i0.ɵɵelement(4, "i", 23);
142
+ i0.ɵɵtext(5, " Terms");
143
+ i0.ɵɵelementEnd();
144
+ i0.ɵɵelementStart(6, "p", 39);
145
+ i0.ɵɵtext(7, "Contiguous subscription coverage periods, renewal milestones, term pricing, and proration.");
146
+ i0.ɵɵelementEnd()();
147
+ i0.ɵɵelementStart(8, "div", 40)(9, "button", 41);
148
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.TermsViewMode = "cards"); });
149
+ i0.ɵɵelement(10, "i", 42);
150
+ i0.ɵɵtext(11, " Visual Deck ");
151
+ i0.ɵɵelementEnd();
152
+ i0.ɵɵelementStart(12, "button", 41);
153
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.TermsViewMode = "grid"); });
154
+ i0.ɵɵelement(13, "i", 43);
155
+ i0.ɵɵtext(14, " Data Grid ");
156
+ i0.ɵɵelementEnd()()();
157
+ i0.ɵɵconditionalCreate(15, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_15_Template, 2, 1)(16, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Conditional_16_Template, 2, 4, "div", 44);
158
+ i0.ɵɵelementEnd();
159
+ } if (rf & 2) {
160
+ const ctx_r1 = i0.ɵɵnextContext(2);
161
+ i0.ɵɵadvance(9);
162
+ i0.ɵɵclassProp("mjo-toggle-btn--active", ctx_r1.TermsViewMode === "cards");
163
+ i0.ɵɵadvance(3);
164
+ i0.ɵɵclassProp("mjo-toggle-btn--active", ctx_r1.TermsViewMode === "grid");
165
+ i0.ɵɵadvance(3);
166
+ i0.ɵɵconditional(ctx_r1.TermsViewMode === "cards" ? 15 : 16);
167
+ } }
168
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Conditional_15_Template(rf, ctx) { if (rf & 1) {
169
+ const _r9 = i0.ɵɵgetCurrentView();
170
+ i0.ɵɵelementStart(0, "mj-deferred-revenue-waterfall", 64);
171
+ i0.ɵɵlistener("JournalEntrySelected", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Conditional_15_Template_mj_deferred_revenue_waterfall_JournalEntrySelected_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnJournalEntrySelected($event)); });
172
+ i0.ɵɵelementEnd();
173
+ } if (rf & 2) {
174
+ const ctx_r1 = i0.ɵɵnextContext(3);
175
+ i0.ɵɵproperty("JournalEntries", ctx_r1.RevRecJournalEntries)("Title", "Subscription Deferred Revenue Waterfall")("TermLookup", ctx_r1.SubscriptionTermLookup);
176
+ } }
177
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Conditional_16_Template(rf, ctx) { if (rf & 1) {
178
+ const _r10 = i0.ɵɵgetCurrentView();
179
+ i0.ɵɵelementStart(0, "div", 44)(1, "mj-explorer-entity-data-grid", 65);
180
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Conditional_16_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
181
+ i0.ɵɵelementEnd()();
182
+ } if (rf & 2) {
183
+ const ctx_r1 = i0.ɵɵnextContext(3);
184
+ i0.ɵɵadvance();
185
+ i0.ɵɵproperty("Params", ctx_r1.SubscriptionJournalEntryParams)("AllowLoad", true)("ShowToolbar", false);
186
+ } }
187
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Template(rf, ctx) { if (rf & 1) {
188
+ const _r8 = i0.ɵɵgetCurrentView();
189
+ i0.ɵɵelementStart(0, "div", 33)(1, "div", 36)(2, "div", 37)(3, "h2", 38);
190
+ i0.ɵɵelement(4, "i", 25);
191
+ i0.ɵɵtext(5, " Deferred Revenue & Rev-Rec Schedule");
192
+ i0.ɵɵelementEnd();
193
+ i0.ɵɵelementStart(6, "p", 39);
194
+ i0.ɵɵtext(7, "ASC 606 recognition rollforward schedules across all active and historical terms.");
195
+ i0.ɵɵelementEnd()();
196
+ i0.ɵɵelementStart(8, "div", 40)(9, "button", 41);
197
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.ActiveAccountingView = "waterfall"); });
198
+ i0.ɵɵelement(10, "i", 62);
199
+ i0.ɵɵtext(11, " Waterfall Schedule ");
200
+ i0.ɵɵelementEnd();
201
+ i0.ɵɵelementStart(12, "button", 41);
202
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.ActiveAccountingView = "grid"); });
203
+ i0.ɵɵelement(13, "i", 43);
204
+ i0.ɵɵtext(14, " All Journal Entries ");
205
+ i0.ɵɵelementEnd()()();
206
+ i0.ɵɵconditionalCreate(15, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Conditional_15_Template, 1, 3, "mj-deferred-revenue-waterfall", 63)(16, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Conditional_16_Template, 2, 3, "div", 44);
207
+ i0.ɵɵelementEnd();
208
+ } if (rf & 2) {
209
+ const ctx_r1 = i0.ɵɵnextContext(2);
210
+ i0.ɵɵadvance(9);
211
+ i0.ɵɵclassProp("mjo-toggle-btn--active", ctx_r1.ActiveAccountingView === "waterfall");
212
+ i0.ɵɵadvance(3);
213
+ i0.ɵɵclassProp("mjo-toggle-btn--active", ctx_r1.ActiveAccountingView === "grid");
214
+ i0.ɵɵadvance(3);
215
+ i0.ɵɵconditional(ctx_r1.ActiveAccountingView === "waterfall" ? 15 : ctx_r1.SubscriptionJournalEntryParams ? 16 : -1);
216
+ } }
217
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_92_Template(rf, ctx) { if (rf & 1) {
218
+ const _r11 = i0.ɵɵgetCurrentView();
219
+ i0.ɵɵelementStart(0, "div", 33)(1, "div", 36)(2, "div", 37)(3, "h2", 38);
220
+ i0.ɵɵelement(4, "i", 27);
221
+ i0.ɵɵtext(5, " Stakeholders & Benefit Assignment");
222
+ i0.ɵɵelementEnd();
223
+ i0.ɵɵelementStart(6, "p", 39);
224
+ i0.ɵɵtext(7, "Separation between paying owner entity and beneficiary end-user.");
225
+ i0.ɵɵelementEnd()()();
226
+ i0.ɵɵelementStart(8, "div", 66);
227
+ i0.ɵɵelement(9, "i", 67);
228
+ i0.ɵɵelementStart(10, "div")(11, "strong");
229
+ i0.ɵɵtext(12, "Holder and Beneficiary are separated by design:");
230
+ i0.ɵɵelementEnd();
231
+ i0.ɵɵtext(13, " The ");
232
+ i0.ɵɵelementStart(14, "em");
233
+ i0.ɵɵtext(15, "Holder");
234
+ i0.ɵɵelementEnd();
235
+ i0.ɵɵtext(16, " owns and finances the subscription, while the ");
236
+ i0.ɵɵelementStart(17, "em");
237
+ i0.ɵɵtext(18, "Beneficiary");
238
+ i0.ɵɵelementEnd();
239
+ i0.ɵɵtext(19, " holds the entitlement rights. This distinction governs duplicate prevention and concurrency checks. ");
240
+ i0.ɵɵelementEnd()();
241
+ i0.ɵɵelementStart(20, "div", 68)(21, "mj-form-field", 69);
242
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_92_Template_mj_form_field_Navigate_21_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
243
+ i0.ɵɵelementEnd();
244
+ i0.ɵɵelementStart(22, "mj-form-field", 70);
245
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_92_Template_mj_form_field_Navigate_22_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
246
+ i0.ɵɵelementEnd()()();
247
+ } if (rf & 2) {
248
+ const ctx_r1 = i0.ɵɵnextContext(2);
249
+ i0.ɵɵadvance(21);
250
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
251
+ i0.ɵɵadvance();
252
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
253
+ } }
254
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template(rf, ctx) { if (rf & 1) {
255
+ const _r12 = i0.ɵɵgetCurrentView();
256
+ i0.ɵɵelementStart(0, "div", 33)(1, "div", 36)(2, "div", 37)(3, "h2", 38);
257
+ i0.ɵɵelement(4, "i", 10);
258
+ i0.ɵɵtext(5, " Renewal & Lifecycle Settings");
259
+ i0.ɵɵelementEnd();
260
+ i0.ɵɵelementStart(6, "p", 39);
261
+ i0.ɵɵtext(7, "Automatic renewal rules, lead days, migration chaining, and cancellation dates.");
262
+ i0.ɵɵelementEnd()()();
263
+ i0.ɵɵelementStart(8, "div", 68)(9, "mj-form-field", 71);
264
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template_mj_form_field_Navigate_9_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
265
+ i0.ɵɵelementEnd();
266
+ i0.ɵɵelementStart(10, "mj-form-field", 72);
267
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template_mj_form_field_Navigate_10_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
268
+ i0.ɵɵelementEnd();
269
+ i0.ɵɵelementStart(11, "mj-form-field", 73);
270
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template_mj_form_field_Navigate_11_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
271
+ i0.ɵɵelementEnd();
272
+ i0.ɵɵelementStart(12, "mj-form-field", 74);
273
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template_mj_form_field_Navigate_12_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
274
+ i0.ɵɵelementEnd();
275
+ i0.ɵɵelementStart(13, "mj-form-field", 75);
276
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template_mj_form_field_Navigate_13_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
277
+ i0.ɵɵelementEnd();
278
+ i0.ɵɵelementStart(14, "mj-form-field", 76);
279
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template_mj_form_field_Navigate_14_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
280
+ i0.ɵɵelementEnd();
281
+ i0.ɵɵelementStart(15, "mj-form-field", 77);
282
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template_mj_form_field_Navigate_15_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
283
+ i0.ɵɵelementEnd()()();
284
+ } if (rf & 2) {
285
+ const ctx_r1 = i0.ɵɵnextContext(2);
286
+ i0.ɵɵadvance(9);
287
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
288
+ i0.ɵɵadvance();
289
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
290
+ i0.ɵɵadvance();
291
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
292
+ i0.ɵɵadvance();
293
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
294
+ i0.ɵɵadvance();
295
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
296
+ i0.ɵɵadvance();
297
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
298
+ i0.ɵɵadvance();
299
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
300
+ } }
301
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_94_Template(rf, ctx) { if (rf & 1) {
302
+ const _r13 = i0.ɵɵgetCurrentView();
303
+ i0.ɵɵelementStart(0, "div", 33)(1, "div", 36)(2, "div", 37)(3, "h2", 38);
304
+ i0.ɵɵelement(4, "i", 28);
305
+ i0.ɵɵtext(5, " Granted Entitlements");
306
+ i0.ɵɵelementEnd();
307
+ i0.ɵɵelementStart(6, "p", 39);
308
+ i0.ɵɵtext(7, "Software permissions, license keys, and seats granted by this subscription.");
309
+ i0.ɵɵelementEnd()()();
310
+ i0.ɵɵelementStart(8, "div", 44)(9, "mj-explorer-entity-data-grid", 78);
311
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_94_Template_mj_explorer_entity_data_grid_Navigate_9_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
312
+ i0.ɵɵelementEnd()()();
313
+ } if (rf & 2) {
314
+ const ctx_r1 = i0.ɵɵnextContext(2);
315
+ i0.ɵɵadvance(9);
316
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Entitlement Grants", "SubscriptionID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Entitlement Grants"))("AllowLoad", true)("ShowToolbar", false);
317
+ } }
318
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_95_Template(rf, ctx) { if (rf & 1) {
319
+ const _r14 = i0.ɵɵgetCurrentView();
320
+ i0.ɵɵelementStart(0, "div", 33)(1, "div", 36)(2, "div", 37)(3, "h2", 38);
321
+ i0.ɵɵelement(4, "i", 29);
322
+ i0.ɵɵtext(5, " Subscription Details & Entity Links");
323
+ i0.ɵɵelementEnd();
324
+ i0.ɵɵelementStart(6, "p", 39);
325
+ i0.ɵɵtext(7, "Product catalog link, Company owner, and originating Order Line ID.");
326
+ i0.ɵɵelementEnd()()();
327
+ i0.ɵɵelementStart(8, "div", 68)(9, "mj-form-field", 79);
328
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_95_Template_mj_form_field_Navigate_9_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
329
+ i0.ɵɵelementEnd();
330
+ i0.ɵɵelementStart(10, "mj-form-field", 80);
331
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_95_Template_mj_form_field_Navigate_10_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
332
+ i0.ɵɵelementEnd();
333
+ i0.ɵɵelementStart(11, "mj-form-field", 81);
334
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_95_Template_mj_form_field_Navigate_11_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
335
+ i0.ɵɵelementEnd();
336
+ i0.ɵɵelementStart(12, "mj-form-field", 82);
337
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_95_Template_mj_form_field_Navigate_12_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
338
+ i0.ɵɵelementEnd();
339
+ i0.ɵɵelementStart(13, "mj-form-field", 83);
340
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_95_Template_mj_form_field_Navigate_13_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
341
+ i0.ɵɵelementEnd()()();
342
+ } if (rf & 2) {
343
+ const ctx_r1 = i0.ɵɵnextContext(2);
344
+ i0.ɵɵadvance(9);
345
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
346
+ i0.ɵɵadvance();
347
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
348
+ i0.ɵɵadvance();
349
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
350
+ i0.ɵɵadvance();
351
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
352
+ i0.ɵɵadvance();
353
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
354
+ } }
355
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_96_Template(rf, ctx) { if (rf & 1) {
356
+ const _r15 = i0.ɵɵgetCurrentView();
357
+ i0.ɵɵelementStart(0, "div", 33)(1, "div", 36)(2, "div", 37)(3, "h2", 38);
358
+ i0.ɵɵelement(4, "i", 30);
359
+ i0.ɵɵtext(5, " Subscription Events Log");
360
+ i0.ɵɵelementEnd();
361
+ i0.ɵɵelementStart(6, "p", 39);
362
+ i0.ɵɵtext(7, "Complete immutable audit trail of subscription transitions, renewals, and lifecycle events.");
363
+ i0.ɵɵelementEnd()()();
364
+ i0.ɵɵelementStart(8, "div", 44)(9, "mj-explorer-entity-data-grid", 78);
365
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_96_Template_mj_explorer_entity_data_grid_Navigate_9_listener($event) { i0.ɵɵrestoreView(_r15); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
366
+ i0.ɵɵelementEnd()()();
367
+ } if (rf & 2) {
368
+ const ctx_r1 = i0.ɵɵnextContext(2);
369
+ i0.ɵɵadvance(9);
370
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Subscription Events", "SubscriptionID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Subscription Events"))("AllowLoad", true)("ShowToolbar", false);
371
+ } }
372
+ function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_97_Template(rf, ctx) { if (rf & 1) {
373
+ const _r16 = i0.ɵɵgetCurrentView();
374
+ i0.ɵɵelementStart(0, "div", 33)(1, "div", 36)(2, "div", 37)(3, "h2", 38);
375
+ i0.ɵɵelement(4, "i", 31);
376
+ i0.ɵɵtext(5, " System Metadata");
377
+ i0.ɵɵelementEnd();
378
+ i0.ɵɵelementStart(6, "p", 39);
379
+ i0.ɵɵtext(7, "System identifiers, schema integrity, and database timestamps.");
380
+ i0.ɵɵelementEnd()()();
381
+ i0.ɵɵelementStart(8, "div", 68)(9, "mj-form-field", 84);
382
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_97_Template_mj_form_field_Navigate_9_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
383
+ i0.ɵɵelementEnd();
384
+ i0.ɵɵelementStart(10, "mj-form-field", 85);
385
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_97_Template_mj_form_field_Navigate_10_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
386
+ i0.ɵɵelementEnd();
387
+ i0.ɵɵelementStart(11, "mj-form-field", 86);
388
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Conditional_97_Template_mj_form_field_Navigate_11_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
389
+ i0.ɵɵelementEnd()()();
390
+ } if (rf & 2) {
391
+ const ctx_r1 = i0.ɵɵnextContext(2);
392
+ i0.ɵɵadvance(9);
393
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
394
+ i0.ɵɵadvance();
395
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
396
+ i0.ɵɵadvance();
397
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
398
+ } }
399
+ function BizAppsSubscriptionFormComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
400
+ const _r1 = i0.ɵɵgetCurrentView();
401
+ i0.ɵɵelementStart(0, "mj-record-form-container", 1);
402
+ i0.ɵɵlistener("Navigate", function BizAppsSubscriptionFormComponent_Conditional_0_Template_mj_record_form_container_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("DeleteRequested", function BizAppsSubscriptionFormComponent_Conditional_0_Template_mj_record_form_container_DeleteRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteRequested()); })("FavoriteToggled", function BizAppsSubscriptionFormComponent_Conditional_0_Template_mj_record_form_container_FavoriteToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFavoriteToggled()); })("HistoryRequested", function BizAppsSubscriptionFormComponent_Conditional_0_Template_mj_record_form_container_HistoryRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnHistoryRequested()); })("ListManagementRequested", function BizAppsSubscriptionFormComponent_Conditional_0_Template_mj_record_form_container_ListManagementRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnListManagementRequested()); });
403
+ i0.ɵɵelement(1, "mj-form-panel-slot", 2);
404
+ i0.ɵɵelementStart(2, "div", 3)(3, "div", 4)(4, "div", 5);
405
+ i0.ɵɵelement(5, "i", 6);
406
+ i0.ɵɵelementEnd();
407
+ i0.ɵɵelementStart(6, "div", 7)(7, "div", 8)(8, "span", 9);
408
+ i0.ɵɵtext(9);
409
+ i0.ɵɵelementEnd();
410
+ i0.ɵɵelementStart(10, "span");
411
+ i0.ɵɵtext(11);
412
+ i0.ɵɵelementEnd();
413
+ i0.ɵɵelementStart(12, "span");
414
+ i0.ɵɵelement(13, "i", 10);
415
+ i0.ɵɵtext(14);
416
+ i0.ɵɵelementEnd()();
417
+ i0.ɵɵelementStart(15, "div", 11)(16, "span", 12);
418
+ i0.ɵɵelement(17, "i", 13);
419
+ i0.ɵɵtext(18, " Coverage: ");
420
+ i0.ɵɵelementStart(19, "strong");
421
+ i0.ɵɵtext(20);
422
+ i0.ɵɵelementEnd()();
423
+ i0.ɵɵconditionalCreate(21, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_21_Template, 3, 1, "span", 12);
424
+ i0.ɵɵconditionalCreate(22, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_22_Template, 3, 1, "span", 12);
425
+ i0.ɵɵelementEnd()()();
426
+ i0.ɵɵelementStart(23, "div", 14)(24, "div", 15)(25, "span", 16);
427
+ i0.ɵɵtext(26, "Holder (Payer)");
428
+ i0.ɵɵelementEnd();
429
+ i0.ɵɵelementStart(27, "span", 17);
430
+ i0.ɵɵtext(28);
431
+ i0.ɵɵelementEnd()();
432
+ i0.ɵɵelementStart(29, "div", 15)(30, "span", 16);
433
+ i0.ɵɵtext(31, "Beneficiary (User)");
434
+ i0.ɵɵelementEnd();
435
+ i0.ɵɵelementStart(32, "span", 17);
436
+ i0.ɵɵtext(33);
437
+ i0.ɵɵelementEnd()();
438
+ i0.ɵɵelementStart(34, "div", 15)(35, "span", 16);
439
+ i0.ɵɵtext(36, "Terms");
440
+ i0.ɵɵelementEnd();
441
+ i0.ɵɵelementStart(37, "span", 17);
442
+ i0.ɵɵtext(38);
443
+ i0.ɵɵelementEnd()()()();
444
+ i0.ɵɵelementStart(39, "div", 18)(40, "aside", 19)(41, "div", 20);
445
+ i0.ɵɵtext(42, "Subscription Cycles");
446
+ i0.ɵɵelementEnd();
447
+ i0.ɵɵelementStart(43, "button", 21);
448
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Template_button_click_43_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SelectPane("terms")); });
449
+ i0.ɵɵelementStart(44, "div", 22);
450
+ i0.ɵɵelement(45, "i", 23);
451
+ i0.ɵɵelementStart(46, "span");
452
+ i0.ɵɵtext(47, "Terms");
453
+ i0.ɵɵelementEnd()();
454
+ i0.ɵɵconditionalCreate(48, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_48_Template, 2, 1, "span", 24);
455
+ i0.ɵɵelementEnd();
456
+ i0.ɵɵelementStart(49, "button", 21);
457
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Template_button_click_49_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SelectPane("revRec")); });
458
+ i0.ɵɵelementStart(50, "div", 22);
459
+ i0.ɵɵelement(51, "i", 25);
460
+ i0.ɵɵelementStart(52, "span");
461
+ i0.ɵɵtext(53, "Deferred Revenue & Rev-Rec");
462
+ i0.ɵɵelementEnd()();
463
+ i0.ɵɵconditionalCreate(54, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_54_Template, 2, 1, "span", 26);
464
+ i0.ɵɵelementEnd();
465
+ i0.ɵɵelementStart(55, "div", 20);
466
+ i0.ɵɵtext(56, "Contract & Stakeholders");
467
+ i0.ɵɵelementEnd();
468
+ i0.ɵɵelementStart(57, "button", 21);
469
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Template_button_click_57_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SelectPane("stakeholders")); });
470
+ i0.ɵɵelementStart(58, "div", 22);
471
+ i0.ɵɵelement(59, "i", 27);
472
+ i0.ɵɵelementStart(60, "span");
473
+ i0.ɵɵtext(61, "Stakeholders & Assignment");
474
+ i0.ɵɵelementEnd()()();
475
+ i0.ɵɵelementStart(62, "button", 21);
476
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Template_button_click_62_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SelectPane("renewal")); });
477
+ i0.ɵɵelementStart(63, "div", 22);
478
+ i0.ɵɵelement(64, "i", 10);
479
+ i0.ɵɵelementStart(65, "span");
480
+ i0.ɵɵtext(66, "Renewal & Lifecycle");
481
+ i0.ɵɵelementEnd()()();
482
+ i0.ɵɵelementStart(67, "button", 21);
483
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Template_button_click_67_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SelectPane("entitlements")); });
484
+ i0.ɵɵelementStart(68, "div", 22);
485
+ i0.ɵɵelement(69, "i", 28);
486
+ i0.ɵɵelementStart(70, "span");
487
+ i0.ɵɵtext(71, "Granted Entitlements");
488
+ i0.ɵɵelementEnd()()();
489
+ i0.ɵɵelementStart(72, "div", 20);
490
+ i0.ɵɵtext(73, "Context & Audit");
491
+ i0.ɵɵelementEnd();
492
+ i0.ɵɵelementStart(74, "button", 21);
493
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Template_button_click_74_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SelectPane("details")); });
494
+ i0.ɵɵelementStart(75, "div", 22);
495
+ i0.ɵɵelement(76, "i", 29);
496
+ i0.ɵɵelementStart(77, "span");
497
+ i0.ɵɵtext(78, "Subscription Details");
498
+ i0.ɵɵelementEnd()()();
499
+ i0.ɵɵelementStart(79, "button", 21);
500
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Template_button_click_79_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SelectPane("events")); });
501
+ i0.ɵɵelementStart(80, "div", 22);
502
+ i0.ɵɵelement(81, "i", 30);
503
+ i0.ɵɵelementStart(82, "span");
504
+ i0.ɵɵtext(83, "Subscription Events Log");
505
+ i0.ɵɵelementEnd()()();
506
+ i0.ɵɵelementStart(84, "button", 21);
507
+ i0.ɵɵlistener("click", function BizAppsSubscriptionFormComponent_Conditional_0_Template_button_click_84_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SelectPane("systemMetadata")); });
508
+ i0.ɵɵelementStart(85, "div", 22);
509
+ i0.ɵɵelement(86, "i", 31);
510
+ i0.ɵɵelementStart(87, "span");
511
+ i0.ɵɵtext(88, "System Metadata");
512
+ i0.ɵɵelementEnd()()()();
513
+ i0.ɵɵelementStart(89, "main", 32);
514
+ i0.ɵɵconditionalCreate(90, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_90_Template, 17, 5, "div", 33);
515
+ i0.ɵɵconditionalCreate(91, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_91_Template, 17, 5, "div", 33);
516
+ i0.ɵɵconditionalCreate(92, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_92_Template, 23, 8, "div", 33);
517
+ i0.ɵɵconditionalCreate(93, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_93_Template, 16, 28, "div", 33);
518
+ i0.ɵɵconditionalCreate(94, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_94_Template, 10, 4, "div", 33);
519
+ i0.ɵɵconditionalCreate(95, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_95_Template, 14, 20, "div", 33);
520
+ i0.ɵɵconditionalCreate(96, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_96_Template, 10, 4, "div", 33);
521
+ i0.ɵɵconditionalCreate(97, BizAppsSubscriptionFormComponent_Conditional_0_Conditional_97_Template, 12, 12, "div", 33);
522
+ i0.ɵɵelementEnd()();
523
+ i0.ɵɵelement(98, "mj-form-panel-slot", 34);
524
+ i0.ɵɵelementEnd();
525
+ } if (rf & 2) {
526
+ const ctx_r1 = i0.ɵɵnextContext();
527
+ i0.ɵɵproperty("Record", ctx_r1.record)("FormComponent", ctx_r1);
528
+ i0.ɵɵadvance();
529
+ i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
530
+ i0.ɵɵadvance(4);
531
+ i0.ɵɵclassMap(ctx_r1.SubscriptionAvatarIcon);
532
+ i0.ɵɵadvance(4);
533
+ i0.ɵɵtextInterpolate(ctx_r1.record.SubscriptionNumber || "New Subscription");
534
+ i0.ɵɵadvance();
535
+ i0.ɵɵclassMap(ctx_r1.StatusBadgeClass);
536
+ i0.ɵɵadvance();
537
+ i0.ɵɵtextInterpolate(ctx_r1.record.Status || "Active");
538
+ i0.ɵɵadvance();
539
+ i0.ɵɵclassMap(ctx_r1.AutoRenewBadgeClass);
540
+ i0.ɵɵadvance(2);
541
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.record.AutoRenew ? "Auto-Renews" : "Manual Renewal", " ");
542
+ i0.ɵɵadvance(6);
543
+ i0.ɵɵtextInterpolate(ctx_r1.FormattedCoverageWindow);
544
+ i0.ɵɵadvance();
545
+ i0.ɵɵconditional(ctx_r1.record.CompanyID ? 21 : -1);
546
+ i0.ɵɵadvance();
547
+ i0.ɵɵconditional(ctx_r1.record.ProductID ? 22 : -1);
548
+ i0.ɵɵadvance(6);
549
+ i0.ɵɵtextInterpolate(ctx_r1.HolderDisplayName);
550
+ i0.ɵɵadvance(5);
551
+ i0.ɵɵtextInterpolate(ctx_r1.BeneficiaryDisplayName);
552
+ i0.ɵɵadvance(5);
553
+ i0.ɵɵtextInterpolate1("", ctx_r1.SubscriptionTerms.length || ctx_r1.GetSectionRowCount("mJBizAppsOrdersSubscriptionTerms") || 0, " Cycles Appended");
554
+ i0.ɵɵadvance(5);
555
+ i0.ɵɵclassProp("active", ctx_r1.ActivePane === "terms");
556
+ i0.ɵɵadvance(5);
557
+ i0.ɵɵconditional(ctx_r1.SubscriptionTerms.length > 0 ? 48 : -1);
558
+ i0.ɵɵadvance();
559
+ i0.ɵɵclassProp("active", ctx_r1.ActivePane === "revRec");
560
+ i0.ɵɵadvance(5);
561
+ i0.ɵɵconditional(ctx_r1.RevRecJournalEntries.length > 0 ? 54 : -1);
562
+ i0.ɵɵadvance(3);
563
+ i0.ɵɵclassProp("active", ctx_r1.ActivePane === "stakeholders");
564
+ i0.ɵɵadvance(5);
565
+ i0.ɵɵclassProp("active", ctx_r1.ActivePane === "renewal");
566
+ i0.ɵɵadvance(5);
567
+ i0.ɵɵclassProp("active", ctx_r1.ActivePane === "entitlements");
568
+ i0.ɵɵadvance(7);
569
+ i0.ɵɵclassProp("active", ctx_r1.ActivePane === "details");
570
+ i0.ɵɵadvance(5);
571
+ i0.ɵɵclassProp("active", ctx_r1.ActivePane === "events");
572
+ i0.ɵɵadvance(5);
573
+ i0.ɵɵclassProp("active", ctx_r1.ActivePane === "systemMetadata");
574
+ i0.ɵɵadvance(6);
575
+ i0.ɵɵconditional(ctx_r1.ActivePane === "terms" ? 90 : -1);
576
+ i0.ɵɵadvance();
577
+ i0.ɵɵconditional(ctx_r1.ActivePane === "revRec" ? 91 : -1);
578
+ i0.ɵɵadvance();
579
+ i0.ɵɵconditional(ctx_r1.ActivePane === "stakeholders" ? 92 : -1);
580
+ i0.ɵɵadvance();
581
+ i0.ɵɵconditional(ctx_r1.ActivePane === "renewal" ? 93 : -1);
582
+ i0.ɵɵadvance();
583
+ i0.ɵɵconditional(ctx_r1.ActivePane === "entitlements" ? 94 : -1);
584
+ i0.ɵɵadvance();
585
+ i0.ɵɵconditional(ctx_r1.ActivePane === "details" ? 95 : -1);
586
+ i0.ɵɵadvance();
587
+ i0.ɵɵconditional(ctx_r1.ActivePane === "events" ? 96 : -1);
588
+ i0.ɵɵadvance();
589
+ i0.ɵɵconditional(ctx_r1.ActivePane === "systemMetadata" ? 97 : -1);
590
+ i0.ɵɵadvance();
591
+ i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
592
+ } }
593
+ const ACTIVE_PANE_SETTING = 'mj.orders.subscriptionForm.activePane';
594
+ /**
595
+ * Custom Subscription form component with Responsive Left Navigation Workspace.
596
+ *
597
+ * Replaces standard stacked accordion forms with a streamlined left nav layout:
598
+ * 1. Subscription Hero Header: Number, Status, Auto-Renew, Coverage window, Product, Stakeholders.
599
+ * 2. Left Navigation Workspace Rail: Instant switching between Terms, Deferred Revenue Waterfall,
600
+ * Stakeholders, Renewal Rules, Entitlement Grants, Details, and Events.
601
+ * 3. Interactive Term Deck: Color-coded cards for each term cycle with direct drill-downs.
602
+ * 4. Multi-Term Deferred Revenue Waterfall: ASC 606 forward schedule with year dividers.
603
+ */
604
+ export class BizAppsSubscriptionFormComponent extends mjBizAppsOrdersSubscriptionFormComponent {
605
+ record;
606
+ ActivePane = 'terms';
607
+ SubscriptionTerms = [];
608
+ SubscriptionTermLookup = {};
609
+ TermsViewMode = 'cards';
610
+ RevRecJournalEntries = [];
611
+ RevRecLoading = false;
612
+ ActiveAccountingView = 'waterfall';
613
+ SubscriptionTermIDs = [];
614
+ _lastLoadedRecordId = null;
615
+ navigationService = inject(NavigationService, { optional: true });
616
+ OnFormNavigate(event) {
617
+ this.Navigate.emit(event);
618
+ DispatchFormNavigation(event, this.navigationService);
619
+ }
620
+ async ngOnInit() {
621
+ await super.ngOnInit();
622
+ this.initSections([
623
+ { sectionKey: 'mJBizAppsOrdersSubscriptionTerms', sectionName: 'Terms', isExpanded: true },
624
+ { sectionKey: 'stakeholders', sectionName: 'Stakeholders & Benefit Assignment', isExpanded: true },
625
+ { sectionKey: 'renewalAndLifecycle', sectionName: 'Renewal & Lifecycle Settings', isExpanded: true },
626
+ { sectionKey: 'mJBizAppsOrdersEntitlementGrants', sectionName: 'Granted Entitlements', isExpanded: true },
627
+ { sectionKey: 'accountingAndJournalEntries', sectionName: 'Deferred Revenue & Rev-Rec Schedule', isExpanded: true },
628
+ { sectionKey: 'subscriptionDetails', sectionName: 'Subscription Details & Entity Links', isExpanded: false },
629
+ { sectionKey: 'mJBizAppsOrdersSubscriptionEvents', sectionName: 'Subscription Events Log', isExpanded: false },
630
+ { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
631
+ ]);
632
+ const savedPane = UserInfoEngine.Instance.GetSetting(ACTIVE_PANE_SETTING);
633
+ if (savedPane && this.isValidPane(savedPane)) {
634
+ this.ActivePane = savedPane;
635
+ }
636
+ if (this.record?.IsSaved && this.record?.ID && this.record.ID !== this._lastLoadedRecordId) {
637
+ this._lastLoadedRecordId = this.record.ID;
638
+ await this.LoadRevRecJournalEntries();
639
+ }
640
+ }
641
+ async ngOnChanges(changes) {
642
+ if (this.record?.IsSaved && this.record?.ID && this.record.ID !== this._lastLoadedRecordId) {
643
+ this._lastLoadedRecordId = this.record.ID;
644
+ await this.LoadRevRecJournalEntries();
645
+ }
646
+ }
647
+ SelectPane(pane) {
648
+ this.ActivePane = pane;
649
+ UserInfoEngine.Instance.SetSettingDebounced(ACTIVE_PANE_SETTING, pane);
650
+ }
651
+ isValidPane(val) {
652
+ return ['terms', 'revRec', 'stakeholders', 'renewal', 'entitlements', 'details', 'events', 'systemMetadata'].includes(val);
653
+ }
654
+ /**
655
+ * Loads full coverage terms and revenue recognition Journal Entries.
656
+ */
657
+ async LoadRevRecJournalEntries() {
658
+ if (!this.record?.ID)
659
+ return;
660
+ this.RevRecLoading = true;
661
+ try {
662
+ const rv = new RunView();
663
+ const md = new Metadata();
664
+ // 1. Fetch child SubscriptionTerm records
665
+ const termsRes = await rv.RunView({
666
+ EntityName: 'MJ_BizApps_Orders: Subscription Terms',
667
+ ExtraFilter: `SubscriptionID = '${this.record.ID}'`,
668
+ OrderBy: 'TermNumber ASC',
669
+ ResultType: 'entity_object',
670
+ MaxRows: 200,
671
+ }, md.CurrentUser);
672
+ const terms = (termsRes.Success && termsRes.Results) ? termsRes.Results : [];
673
+ this.SubscriptionTerms = terms;
674
+ this.SetSectionRowCount('mJBizAppsOrdersSubscriptionTerms', terms.length);
675
+ const termIds = terms.map(t => t.ID);
676
+ this.SubscriptionTermIDs = termIds;
677
+ // Build term lookup for color-coding in waterfall
678
+ const lookup = {};
679
+ terms.forEach((t, idx) => {
680
+ const termNum = t.TermNumber ?? (idx + 1);
681
+ lookup[t.ID.toLowerCase()] = { TermNumber: termNum, Label: `Term ${termNum}` };
682
+ lookup[t.ID.toUpperCase()] = { TermNumber: termNum, Label: `Term ${termNum}` };
683
+ });
684
+ this.SubscriptionTermLookup = lookup;
685
+ const targetIds = [...termIds];
686
+ if (this.record.OrderLineID) {
687
+ targetIds.push(this.record.OrderLineID);
688
+ }
689
+ targetIds.push(this.record.ID);
690
+ const quotedTargets = targetIds.map(id => `'${id}'`).join(',');
691
+ const res = await rv.RunView({
692
+ EntityName: 'MJ_BizApps_Accounting: Journal Entries',
693
+ ExtraFilter: `LinkedRecordID IN (${quotedTargets})`,
694
+ OrderBy: 'EffectiveDate ASC',
695
+ MaxRows: 500,
696
+ ResultType: 'entity_object',
697
+ IncludeRelatedRecords: ['Lines'],
698
+ }, md.CurrentUser);
699
+ if (res.Success && res.Results) {
700
+ // Eagerly load lines for each JournalEntry so amounts & GL accounts are known
701
+ await Promise.all(res.Results.map(async (je) => {
702
+ try {
703
+ if (je.Lines && typeof je.Lines.Load === 'function') {
704
+ await je.Lines.Load();
705
+ }
706
+ }
707
+ catch {
708
+ // ignore line load error
709
+ }
710
+ }));
711
+ // Filter for revenue recognition schedule entries (anchored to subscription terms)
712
+ const recognitionEntries = res.Results.filter((je) => {
713
+ const desc = (je.Description || '').toLowerCase();
714
+ const typeStr = (je.EntryType || '').toLowerCase();
715
+ const isTerm = termIds.some((tid) => tid.toLowerCase() === String(je.LinkedRecordID).toLowerCase());
716
+ return isTerm || desc.includes('recognize') || typeStr.includes('recognition');
717
+ });
718
+ this.RevRecJournalEntries = recognitionEntries.length > 0 ? recognitionEntries : res.Results;
719
+ }
720
+ }
721
+ finally {
722
+ this.RevRecLoading = false;
723
+ this.cdr.detectChanges();
724
+ }
725
+ }
726
+ /**
727
+ * FontAwesome icon representing recurring subscription service.
728
+ */
729
+ get SubscriptionAvatarIcon() {
730
+ return 'fa-solid fa-arrows-rotate';
731
+ }
732
+ /**
733
+ * Returns the status chip CSS class reflecting subscription state.
734
+ */
735
+ get StatusBadgeClass() {
736
+ const status = this.record?.Status;
737
+ switch (status) {
738
+ case 'Active':
739
+ return 'mjo-status-chip mjo-status-chip--active';
740
+ case 'Trialing':
741
+ return 'mjo-status-chip mjo-status-chip--info';
742
+ case 'Paused':
743
+ return 'mjo-status-chip mjo-status-chip--warning';
744
+ case 'Canceled':
745
+ case 'Migrated':
746
+ return 'mjo-status-chip mjo-status-chip--inactive';
747
+ default:
748
+ return 'mjo-status-chip';
749
+ }
750
+ }
751
+ /**
752
+ * Returns term status badge class.
753
+ */
754
+ GetTermStatusClass(status) {
755
+ switch (status) {
756
+ case 'Active':
757
+ return 'mjo-status-chip mjo-status-chip--active';
758
+ case 'Scheduled':
759
+ return 'mjo-status-chip mjo-status-chip--info';
760
+ case 'Completed':
761
+ return 'mjo-status-chip mjo-status-chip--secondary';
762
+ case 'Canceled':
763
+ case 'Lapsed':
764
+ return 'mjo-status-chip mjo-status-chip--inactive';
765
+ default:
766
+ return 'mjo-status-chip';
767
+ }
768
+ }
769
+ /**
770
+ * Returns color class for term index.
771
+ */
772
+ GetTermBadgeClass(index) {
773
+ const mod = (index % 5) + 1;
774
+ return `mjo-term-color--t${mod}`;
775
+ }
776
+ /**
777
+ * Formats the active coverage date range.
778
+ */
779
+ get FormattedCoverageWindow() {
780
+ if (!this.record?.StartDate && !this.record?.EndDate)
781
+ return '—';
782
+ const startStr = this.record.StartDate ? new Date(this.record.StartDate).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }) : '—';
783
+ const endStr = this.record.EndDate ? new Date(this.record.EndDate).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }) : 'Indefinite';
784
+ return `${startStr} – ${endStr}`;
785
+ }
786
+ FormatDateRange(start, end) {
787
+ if (!start && !end)
788
+ return '—';
789
+ const startStr = start ? new Date(start).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }) : '—';
790
+ const endStr = end ? new Date(end).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }) : 'Open-ended';
791
+ return `${startStr} – ${endStr}`;
792
+ }
793
+ FormatMoney(amt) {
794
+ return new Intl.NumberFormat('en-US', {
795
+ style: 'currency',
796
+ currency: 'USD',
797
+ minimumFractionDigits: 2,
798
+ maximumFractionDigits: 2,
799
+ }).format(amt ?? 0);
800
+ }
801
+ /**
802
+ * Resolves the primary holder organization or individual.
803
+ */
804
+ get HolderDisplayName() {
805
+ return this.record?.HolderOrganization || this.record?.HolderOrganizationID || '—';
806
+ }
807
+ /**
808
+ * Resolves the beneficiary individual or group.
809
+ */
810
+ get BeneficiaryDisplayName() {
811
+ return this.record?.BeneficiaryPerson || this.record?.BeneficiaryPersonID || '—';
812
+ }
813
+ /**
814
+ * Auto-renew pill class.
815
+ */
816
+ get AutoRenewBadgeClass() {
817
+ return this.record?.AutoRenew
818
+ ? 'mjo-renew-chip mjo-renew-chip--on'
819
+ : 'mjo-renew-chip mjo-renew-chip--off';
820
+ }
821
+ /**
822
+ * View parameters for the linked Journal Entries grid.
823
+ * Links by child SubscriptionTerm IDs, originating OrderLineID, or Subscription ID.
824
+ */
825
+ get SubscriptionJournalEntryParams() {
826
+ if (!this.record?.IsSaved || !this.record?.ID)
827
+ return null;
828
+ const targetIds = [...this.SubscriptionTermIDs];
829
+ if (this.record.OrderLineID) {
830
+ targetIds.push(this.record.OrderLineID);
831
+ }
832
+ targetIds.push(this.record.ID);
833
+ const quotedTargets = targetIds.map(id => `'${id}'`).join(',');
834
+ return {
835
+ EntityName: 'MJ_BizApps_Accounting: Journal Entries',
836
+ ExtraFilter: `LinkedRecordID IN (${quotedTargets})`,
837
+ OrderBy: 'EffectiveDate ASC',
838
+ ResultType: 'entity_object',
839
+ };
840
+ }
841
+ OnJournalEntrySelected(je) {
842
+ const pk = new CompositeKey();
843
+ pk.LoadFromSingleKeyValuePair('ID', je.ID);
844
+ this.OnFormNavigate({
845
+ Kind: 'record',
846
+ EntityName: 'MJ_BizApps_Accounting: Journal Entries',
847
+ PrimaryKey: pk,
848
+ });
849
+ }
850
+ OnOpenTerm(term) {
851
+ const pk = new CompositeKey();
852
+ pk.LoadFromSingleKeyValuePair('ID', term.ID);
853
+ this.OnFormNavigate({
854
+ Kind: 'record',
855
+ EntityName: 'MJ_BizApps_Orders: Subscription Terms',
856
+ PrimaryKey: pk,
857
+ });
858
+ }
859
+ /**
860
+ * Called when a child record or related widget mutates data.
861
+ */
862
+ async OnWidgetDataChanged() {
863
+ if (!this.record.Dirty) {
864
+ await this.record.InnerLoad(this.record.PrimaryKey);
865
+ await this.LoadRevRecJournalEntries();
866
+ this.cdr.detectChanges();
867
+ }
868
+ }
869
+ static ɵfac = /*@__PURE__*/ (() => { let ɵBizAppsSubscriptionFormComponent_BaseFactory; return function BizAppsSubscriptionFormComponent_Factory(__ngFactoryType__) { return (ɵBizAppsSubscriptionFormComponent_BaseFactory || (ɵBizAppsSubscriptionFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BizAppsSubscriptionFormComponent)))(__ngFactoryType__ || BizAppsSubscriptionFormComponent); }; })();
870
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsSubscriptionFormComponent, selectors: [["bizapps-subscription-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[3, "Record", "FormComponent"], [3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], [1, "mjo-sub-hero-card"], [1, "mjo-sub-hero-main"], [1, "mjo-sub-avatar"], ["aria-hidden", "true"], [1, "mjo-sub-hero-info"], [1, "mjo-sub-hero-title-row"], [1, "mjo-sub-number"], [1, "fa-solid", "fa-arrows-rotate"], [1, "mjo-sub-hero-sub-row"], [1, "mjo-sub-meta-item"], [1, "fa-solid", "fa-calendar-days"], [1, "mjo-sub-hero-stats"], [1, "mjo-stat-block"], [1, "mjo-stat-label"], [1, "mjo-stat-val"], [1, "mjo-sub-workspace"], ["role", "navigation", "aria-label", "Subscription workspace sections", 1, "mjo-sub-left-nav"], [1, "mjo-nav-group-title"], ["type", "button", 1, "mjo-nav-btn", 3, "click"], [1, "mjo-nav-btn-left"], [1, "fa-solid", "fa-calendar-check"], [1, "mjo-nav-badge"], [1, "fa-solid", "fa-chart-waterfall"], [1, "mjo-nav-badge", "mjo-nav-badge--info"], [1, "fa-solid", "fa-users"], [1, "fa-solid", "fa-key"], [1, "fa-solid", "fa-cube"], [1, "fa-solid", "fa-history"], [1, "fa-solid", "fa-shield-alt"], [1, "mjo-sub-workspace-content"], [1, "mjo-pane-card"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], [1, "fa-solid", "fa-building"], [1, "mjo-pane-header"], [1, "mjo-pane-title-area"], [1, "mjo-pane-title"], [1, "mjo-pane-desc"], [1, "mjo-toggle-strip"], ["type", "button", 1, "mjo-toggle-btn", 3, "click"], [1, "fa-solid", "fa-layer-group"], [1, "fa-solid", "fa-table"], [1, "mjo-grid-pane"], [1, "mjo-empty-state"], [1, "mjo-terms-deck-grid"], [1, "fa-solid", "fa-calendar-xmark"], [1, "mjo-term-card"], [1, "mjo-term-card-head"], [1, "mjo-term-pill", 3, "ngClass"], [1, "fa-solid", "fa-circle-dot"], [1, "mjo-term-badges"], [1, "mjo-prorated-chip"], [1, "mjo-term-amount"], [1, "mjo-term-dates"], [1, "fa-regular", "fa-calendar"], [1, "mjo-term-actions"], ["type", "button", 1, "mjo-open-term-btn", 3, "click"], [1, "fa-solid", "fa-arrow-right"], [1, "fa-solid", "fa-percent"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"], [1, "fa-solid", "fa-chart-line"], [3, "JournalEntries", "Title", "TermLookup"], [3, "JournalEntrySelected", "JournalEntries", "Title", "TermLookup"], [3, "Navigate", "Params", "AllowLoad", "ShowToolbar"], [1, "mjo-info-banner"], ["aria-hidden", "true", 1, "fa-solid", "fa-user-group"], [1, "mjo-fields-grid"], ["FieldName", "HolderOrganizationID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BeneficiaryPersonID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AutoRenew", "Type", "checkbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RenewalLeadDays", "Type", "number", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "StartDate", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EndDate", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CanceledAt", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MigratesFromSubscriptionID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MigratesToSubscriptionID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [3, "Navigate", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"], ["FieldName", "ProductID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CompanyID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "OrderLineID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Status", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SubscriptionNumber", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ID", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function BizAppsSubscriptionFormComponent_Template(rf, ctx) { if (rf & 1) {
871
+ i0.ɵɵconditionalCreate(0, BizAppsSubscriptionFormComponent_Conditional_0_Template, 99, 53, "mj-record-form-container", 0);
872
+ } if (rf & 2) {
873
+ i0.ɵɵconditional(ctx.record ? 0 : -1);
874
+ } }, dependencies: [i1.NgClass, i2.MjFormFieldComponent, i2.MjRecordFormContainerComponent, i2.ExplorerEntityDataGridComponent, i2.FormPanelSlotComponent, i3.DeferredRevenueWaterfallComponent], styles: ["\n\n\n\n\n\n\n.mjo-sub-hero-card[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-card, #ffffff);\n border: 1px solid var(--mj-border-default, #e2e8f0);\n border-radius: var(--mj-radius-lg, 12px);\n padding: var(--mj-space-4, 16px) var(--mj-space-5, 20px);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);\n margin-bottom: var(--mj-space-4, 16px);\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-3, 14px);\n}\n\n.mjo-sub-hero-main[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-4, 16px);\n}\n\n.mjo-sub-avatar[_ngcontent-%COMP%] {\n width: 48px;\n height: 48px;\n border-radius: var(--mj-radius-md, 8px);\n background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);\n color: #ffffff;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 20px;\n box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);\n flex-shrink: 0;\n}\n\n.mjo-sub-hero-info[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n flex: 1;\n}\n\n.mjo-sub-hero-title-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n flex-wrap: wrap;\n}\n\n.mjo-sub-number[_ngcontent-%COMP%] {\n font-size: var(--mj-text-lg, 18px);\n font-weight: var(--mj-font-bold, 700);\n color: var(--mj-text-primary, #0f172a);\n font-family: var(--mj-font-mono, monospace);\n}\n\n.mjo-sub-hero-sub-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 16px;\n flex-wrap: wrap;\n font-size: var(--mj-text-xs, 12px);\n color: var(--mj-text-muted, #64748b);\n}\n\n.mjo-sub-meta-item[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n}\n\n.mjo-sub-hero-stats[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n gap: var(--mj-space-3, 12px);\n padding-top: var(--mj-space-3, 12px);\n border-top: 1px solid var(--mj-border-default, #e2e8f0);\n}\n\n.mjo-stat-block[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mjo-stat-label[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs, 11px);\n font-weight: var(--mj-font-semibold, 600);\n color: var(--mj-text-muted, #64748b);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n\n.mjo-stat-val[_ngcontent-%COMP%] {\n font-size: var(--mj-text-sm, 14px);\n font-weight: var(--mj-font-bold, 700);\n color: var(--mj-text-primary, #0f172a);\n}\n\n\n\n.mjo-status-chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n font-size: 11px;\n font-weight: var(--mj-font-semibold, 600);\n padding: 2px 8px;\n border-radius: var(--mj-radius-full, 9999px);\n border: 1px solid var(--mj-border-default, #cbd5e1);\n color: var(--mj-text-secondary, #475569);\n background: var(--mj-bg-surface-sunken, rgba(0, 0, 0, 0.04));\n}\n\n.mjo-status-chip--active[_ngcontent-%COMP%] {\n color: var(--mj-status-success-text, #15803d);\n background: var(--mj-status-success-bg, rgba(34, 197, 94, 0.12));\n border-color: var(--mj-status-success-border, rgba(34, 197, 94, 0.35));\n}\n\n.mjo-status-chip--info[_ngcontent-%COMP%] {\n color: #0284c7;\n background: rgba(2, 132, 199, 0.12);\n border-color: rgba(2, 132, 199, 0.35);\n}\n\n.mjo-status-chip--warning[_ngcontent-%COMP%] {\n color: var(--mj-status-warning-text, #b45309);\n background: var(--mj-status-warning-bg, rgba(245, 158, 11, 0.12));\n border-color: var(--mj-status-warning-border, rgba(245, 158, 11, 0.35));\n}\n\n.mjo-status-chip--secondary[_ngcontent-%COMP%] {\n color: var(--mj-text-secondary, #475569);\n background: rgba(100, 116, 139, 0.12);\n border-color: rgba(100, 116, 139, 0.35);\n}\n\n.mjo-status-chip--inactive[_ngcontent-%COMP%] {\n color: var(--mj-text-muted, #64748b);\n background: rgba(0, 0, 0, 0.04);\n}\n\n.mjo-renew-chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n font-size: 11px;\n font-weight: var(--mj-font-semibold, 600);\n padding: 2px 8px;\n border-radius: var(--mj-radius-full, 9999px);\n border: 1px solid var(--mj-border-default, #cbd5e1);\n}\n\n.mjo-renew-chip--on[_ngcontent-%COMP%] {\n color: #16a34a;\n background: rgba(34, 197, 94, 0.12);\n border-color: rgba(34, 197, 94, 0.35);\n}\n\n.mjo-renew-chip--off[_ngcontent-%COMP%] {\n color: var(--mj-text-muted, #64748b);\n background: rgba(0, 0, 0, 0.04);\n}\n\n.mjo-prorated-chip[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n font-size: 10.5px;\n font-weight: var(--mj-font-bold, 700);\n padding: 1px 6px;\n border-radius: 4px;\n color: #d97706;\n background: rgba(245, 158, 11, 0.15);\n border: 1px solid rgba(245, 158, 11, 0.35);\n}\n\n\n\n.mjo-sub-workspace[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 240px minmax(0, 1fr);\n gap: var(--mj-space-4, 16px);\n align-items: start;\n}\n\n\n\n.mjo-sub-left-nav[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-card, #ffffff);\n border: 1px solid var(--mj-border-default, #e2e8f0);\n border-radius: var(--mj-radius-lg, 10px);\n padding: 8px;\n display: flex;\n flex-direction: column;\n gap: 3px;\n position: sticky;\n top: 16px;\n}\n\n.mjo-nav-group-title[_ngcontent-%COMP%] {\n font-size: 10px;\n font-weight: var(--mj-font-bold, 700);\n color: var(--mj-text-muted, #64748b);\n text-transform: uppercase;\n letter-spacing: 0.06em;\n padding: 6px 10px 2px;\n}\n\n.mjo-nav-btn[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 8px 12px;\n background: transparent;\n border: none;\n border-radius: var(--mj-radius-md, 6px);\n font-family: inherit;\n font-size: var(--mj-text-xs, 12.5px);\n font-weight: var(--mj-font-semibold, 600);\n color: var(--mj-text-secondary, #475569);\n cursor: pointer;\n text-align: left;\n transition: all 0.15s ease;\n box-sizing: border-box;\n}\n\n.mjo-nav-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-sunken, #f1f5f9);\n color: var(--mj-text-primary, #0f172a);\n}\n\n.mjo-nav-btn.active[_ngcontent-%COMP%] {\n background: var(--mj-brand-primary, #0076b6);\n color: #ffffff;\n box-shadow: 0 2px 4px rgba(0, 118, 182, 0.25);\n}\n\n.mjo-nav-btn-left[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n\n.mjo-nav-btn-left[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mjo-nav-badge[_ngcontent-%COMP%] {\n font-size: 10px;\n font-weight: var(--mj-font-bold, 700);\n padding: 1px 6px;\n border-radius: var(--mj-radius-full, 9999px);\n background: var(--mj-bg-surface-sunken, #e2e8f0);\n color: var(--mj-text-secondary, #475569);\n}\n\n.mjo-nav-btn.active[_ngcontent-%COMP%] .mjo-nav-badge[_ngcontent-%COMP%] {\n background: rgba(255, 255, 255, 0.25);\n color: #ffffff;\n}\n\n.mjo-nav-badge--info[_ngcontent-%COMP%] {\n background: rgba(2, 132, 199, 0.15);\n color: #0284c7;\n}\n\n\n\n.mjo-sub-workspace-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4, 16px);\n min-width: 0;\n}\n\n.mjo-pane-card[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-card, #ffffff);\n border: 1px solid var(--mj-border-default, #e2e8f0);\n border-radius: var(--mj-radius-lg, 10px);\n padding: 18px 20px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);\n}\n\n.mjo-pane-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 12px;\n border-bottom: 1px solid var(--mj-border-default, #f1f5f9);\n padding-bottom: 12px;\n flex-wrap: wrap;\n}\n\n.mjo-pane-title-area[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mjo-pane-title[_ngcontent-%COMP%] {\n margin: 0;\n font-size: var(--mj-text-md, 15px);\n font-weight: var(--mj-font-bold, 700);\n color: var(--mj-text-primary, #0f172a);\n display: flex;\n align-items: center;\n gap: 7px;\n}\n\n.mjo-pane-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary, #0076b6);\n}\n\n.mjo-pane-desc[_ngcontent-%COMP%] {\n margin: 0;\n font-size: var(--mj-text-xs, 12px);\n color: var(--mj-text-muted, #64748b);\n}\n\n.mjo-toggle-strip[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mjo-toggle-btn[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 12px;\n font-size: 12px;\n font-weight: var(--mj-font-semibold, 600);\n border-radius: var(--mj-radius-sm, 6px);\n border: 1px solid var(--mj-border-default, #cbd5e1);\n background: var(--mj-bg-surface-card, #ffffff);\n color: var(--mj-text-secondary, #475569);\n cursor: pointer;\n transition: all 0.15s ease;\n white-space: nowrap;\n}\n\n.mjo-toggle-btn[_ngcontent-%COMP%]:hover {\n border-color: var(--mj-brand-primary, #0076b6);\n color: var(--mj-brand-primary, #0076b6);\n}\n\n.mjo-toggle-btn--active[_ngcontent-%COMP%] {\n background: var(--mj-brand-primary, #0076b6);\n color: #ffffff !important;\n border-color: var(--mj-brand-primary, #0076b6);\n}\n\n\n\n.mjo-terms-deck-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));\n gap: var(--mj-space-3, 12px);\n}\n\n.mjo-term-card[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-sunken, #f8fafc);\n border: 1px solid var(--mj-border-default, #e2e8f0);\n border-radius: var(--mj-radius-md, 8px);\n padding: 14px 16px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n transition: all 0.15s ease;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);\n}\n\n.mjo-term-card[_ngcontent-%COMP%]:hover {\n border-color: var(--mj-brand-primary, #0076b6);\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);\n}\n\n.mjo-term-card-head[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 6px;\n}\n\n.mjo-term-pill[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n font-size: 11px;\n font-weight: var(--mj-font-bold, 700);\n padding: 2px 8px;\n border-radius: 4px;\n letter-spacing: 0.03em;\n text-transform: uppercase;\n}\n\n.mjo-term-color--t1[_ngcontent-%COMP%] {\n background: rgba(6, 182, 212, 0.15);\n color: #0284c7;\n border: 1px solid rgba(6, 182, 212, 0.35);\n}\n.mjo-term-color--t2[_ngcontent-%COMP%] {\n background: rgba(168, 85, 247, 0.15);\n color: #9333ea;\n border: 1px solid rgba(168, 85, 247, 0.35);\n}\n.mjo-term-color--t3[_ngcontent-%COMP%] {\n background: rgba(34, 197, 94, 0.15);\n color: #16a34a;\n border: 1px solid rgba(34, 197, 94, 0.35);\n}\n.mjo-term-color--t4[_ngcontent-%COMP%] {\n background: rgba(245, 158, 11, 0.15);\n color: #d97706;\n border: 1px solid rgba(245, 158, 11, 0.35);\n}\n.mjo-term-color--t5[_ngcontent-%COMP%] {\n background: rgba(244, 63, 94, 0.15);\n color: #e11d48;\n border: 1px solid rgba(244, 63, 94, 0.35);\n}\n\n.mjo-term-badges[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mjo-term-amount[_ngcontent-%COMP%] {\n font-size: 16px;\n font-weight: var(--mj-font-bold, 700);\n font-family: var(--mj-font-mono, monospace);\n color: var(--mj-text-primary, #0f172a);\n}\n\n.mjo-term-dates[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n color: var(--mj-text-muted, #64748b);\n}\n\n.mjo-term-dates[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary, #0076b6);\n}\n\n.mjo-term-actions[_ngcontent-%COMP%] {\n margin-top: 4px;\n padding-top: 8px;\n border-top: 1px dashed var(--mj-border-default, #e2e8f0);\n}\n\n.mjo-open-term-btn[_ngcontent-%COMP%] {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--mj-bg-surface-card, #ffffff);\n border: 1px solid var(--mj-border-default, #cbd5e1);\n border-radius: var(--mj-radius-sm, 6px);\n padding: 6px 10px;\n font-size: 11.5px;\n font-weight: var(--mj-font-semibold, 600);\n color: var(--mj-brand-primary, #0076b6);\n cursor: pointer;\n transition: all 0.15s ease;\n}\n\n.mjo-open-term-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-brand-primary, #0076b6);\n color: #ffffff;\n border-color: var(--mj-brand-primary, #0076b6);\n}\n\n.mjo-empty-state[_ngcontent-%COMP%] {\n padding: 32px;\n text-align: center;\n color: var(--mj-text-muted, #64748b);\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n font-size: 13px;\n}\n\n.mjo-fields-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 14px;\n}\n\n.mjo-grid-pane[_ngcontent-%COMP%] {\n width: 100%;\n min-width: 0;\n}\n\n\n\n.mjo-info-banner[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n gap: var(--mj-space-3, 12px);\n background: rgba(2, 132, 199, 0.08);\n border: 1px solid rgba(2, 132, 199, 0.25);\n border-radius: var(--mj-radius-md, 8px);\n padding: var(--mj-space-3, 12px) var(--mj-space-4, 16px);\n font-size: 13px;\n color: var(--mj-text-primary, #0f172a);\n line-height: 1.45;\n}\n\n.mjo-info-banner[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 16px;\n margin-top: 2px;\n color: #0284c7;\n flex-shrink: 0;\n}\n\n\n\n@media (max-width: 900px) {\n .mjo-sub-workspace[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n .mjo-sub-left-nav[_ngcontent-%COMP%] {\n position: static;\n flex-direction: row;\n overflow-x: auto;\n padding: 6px;\n }\n .mjo-nav-group-title[_ngcontent-%COMP%] {\n display: none;\n }\n .mjo-nav-btn[_ngcontent-%COMP%] {\n width: auto;\n white-space: nowrap;\n }\n}"] });
875
+ }
876
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BizAppsSubscriptionFormComponent, [{
877
+ type: Component,
878
+ args: [{ standalone: false, selector: 'bizapps-subscription-form', template: "@if (record) {\n<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ================================================================\n SUBSCRIPTION HERO IDENTITY HEADER CARD\n ================================================================ -->\n <div class=\"mjo-sub-hero-card\">\n <div class=\"mjo-sub-hero-main\">\n <div class=\"mjo-sub-avatar\">\n <i [class]=\"SubscriptionAvatarIcon\" aria-hidden=\"true\"></i>\n </div>\n <div class=\"mjo-sub-hero-info\">\n <div class=\"mjo-sub-hero-title-row\">\n <span class=\"mjo-sub-number\">{{ record.SubscriptionNumber || 'New Subscription' }}</span>\n <span [class]=\"StatusBadgeClass\">{{ record.Status || 'Active' }}</span>\n <span [class]=\"AutoRenewBadgeClass\">\n <i class=\"fa-solid fa-arrows-rotate\"></i> {{ record.AutoRenew ? 'Auto-Renews' : 'Manual Renewal' }}\n </span>\n </div>\n <div class=\"mjo-sub-hero-sub-row\">\n <span class=\"mjo-sub-meta-item\">\n <i class=\"fa-solid fa-calendar-days\"></i> Coverage: <strong>{{ FormattedCoverageWindow }}</strong>\n </span>\n @if (record.CompanyID) {\n <span class=\"mjo-sub-meta-item\">\n <i class=\"fa-solid fa-building\"></i> {{ record.Company || record.CompanyID }}\n </span>\n }\n @if (record.ProductID) {\n <span class=\"mjo-sub-meta-item\">\n <i class=\"fa-solid fa-cube\"></i> {{ record.Product || record.ProductID }}\n </span>\n }\n </div>\n </div>\n </div>\n\n <!-- Stakeholders Strip -->\n <div class=\"mjo-sub-hero-stats\">\n <div class=\"mjo-stat-block\">\n <span class=\"mjo-stat-label\">Holder (Payer)</span>\n <span class=\"mjo-stat-val\">{{ HolderDisplayName }}</span>\n </div>\n <div class=\"mjo-stat-block\">\n <span class=\"mjo-stat-label\">Beneficiary (User)</span>\n <span class=\"mjo-stat-val\">{{ BeneficiaryDisplayName }}</span>\n </div>\n <div class=\"mjo-stat-block\">\n <span class=\"mjo-stat-label\">Terms</span>\n <span class=\"mjo-stat-val\">{{ SubscriptionTerms.length || GetSectionRowCount('mJBizAppsOrdersSubscriptionTerms') || 0 }} Cycles Appended</span>\n </div>\n </div>\n </div>\n\n <!-- ================================================================\n TWO-COLUMN RESPONSIVE WORKSPACE: LEFT NAV + ACTIVE PANE\n ================================================================ -->\n <div class=\"mjo-sub-workspace\">\n\n <!-- RESPONSIVE LEFT NAVIGATION RAIL -->\n <aside class=\"mjo-sub-left-nav\" role=\"navigation\" aria-label=\"Subscription workspace sections\">\n <div class=\"mjo-nav-group-title\">Subscription Cycles</div>\n\n <button type=\"button\" class=\"mjo-nav-btn\" [class.active]=\"ActivePane === 'terms'\" (click)=\"SelectPane('terms')\">\n <div class=\"mjo-nav-btn-left\">\n <i class=\"fa-solid fa-calendar-check\"></i>\n <span>Terms</span>\n </div>\n @if (SubscriptionTerms.length > 0) {\n <span class=\"mjo-nav-badge\">{{ SubscriptionTerms.length }}</span>\n }\n </button>\n\n <button type=\"button\" class=\"mjo-nav-btn\" [class.active]=\"ActivePane === 'revRec'\" (click)=\"SelectPane('revRec')\">\n <div class=\"mjo-nav-btn-left\">\n <i class=\"fa-solid fa-chart-waterfall\"></i>\n <span>Deferred Revenue &amp; Rev-Rec</span>\n </div>\n @if (RevRecJournalEntries.length > 0) {\n <span class=\"mjo-nav-badge mjo-nav-badge--info\">{{ RevRecJournalEntries.length }}</span>\n }\n </button>\n\n <div class=\"mjo-nav-group-title\">Contract &amp; Stakeholders</div>\n\n <button type=\"button\" class=\"mjo-nav-btn\" [class.active]=\"ActivePane === 'stakeholders'\" (click)=\"SelectPane('stakeholders')\">\n <div class=\"mjo-nav-btn-left\">\n <i class=\"fa-solid fa-users\"></i>\n <span>Stakeholders &amp; Assignment</span>\n </div>\n </button>\n\n <button type=\"button\" class=\"mjo-nav-btn\" [class.active]=\"ActivePane === 'renewal'\" (click)=\"SelectPane('renewal')\">\n <div class=\"mjo-nav-btn-left\">\n <i class=\"fa-solid fa-arrows-rotate\"></i>\n <span>Renewal &amp; Lifecycle</span>\n </div>\n </button>\n\n <button type=\"button\" class=\"mjo-nav-btn\" [class.active]=\"ActivePane === 'entitlements'\" (click)=\"SelectPane('entitlements')\">\n <div class=\"mjo-nav-btn-left\">\n <i class=\"fa-solid fa-key\"></i>\n <span>Granted Entitlements</span>\n </div>\n </button>\n\n <div class=\"mjo-nav-group-title\">Context &amp; Audit</div>\n\n <button type=\"button\" class=\"mjo-nav-btn\" [class.active]=\"ActivePane === 'details'\" (click)=\"SelectPane('details')\">\n <div class=\"mjo-nav-btn-left\">\n <i class=\"fa-solid fa-cube\"></i>\n <span>Subscription Details</span>\n </div>\n </button>\n\n <button type=\"button\" class=\"mjo-nav-btn\" [class.active]=\"ActivePane === 'events'\" (click)=\"SelectPane('events')\">\n <div class=\"mjo-nav-btn-left\">\n <i class=\"fa-solid fa-history\"></i>\n <span>Subscription Events Log</span>\n </div>\n </button>\n\n <button type=\"button\" class=\"mjo-nav-btn\" [class.active]=\"ActivePane === 'systemMetadata'\" (click)=\"SelectPane('systemMetadata')\">\n <div class=\"mjo-nav-btn-left\">\n <i class=\"fa-solid fa-shield-alt\"></i>\n <span>System Metadata</span>\n </div>\n </button>\n </aside>\n\n <!-- MAIN WORKSPACE CONTENT PANE -->\n <main class=\"mjo-sub-workspace-content\">\n\n <!-- PANE 1: TERMS -->\n @if (ActivePane === 'terms') {\n <div class=\"mjo-pane-card\">\n <div class=\"mjo-pane-header\">\n <div class=\"mjo-pane-title-area\">\n <h2 class=\"mjo-pane-title\"><i class=\"fa-solid fa-calendar-check\"></i> Terms</h2>\n <p class=\"mjo-pane-desc\">Contiguous subscription coverage periods, renewal milestones, term pricing, and proration.</p>\n </div>\n <div class=\"mjo-toggle-strip\">\n <button type=\"button\" class=\"mjo-toggle-btn\" [class.mjo-toggle-btn--active]=\"TermsViewMode === 'cards'\" (click)=\"TermsViewMode = 'cards'\">\n <i class=\"fa-solid fa-layer-group\"></i> Visual Deck\n </button>\n <button type=\"button\" class=\"mjo-toggle-btn\" [class.mjo-toggle-btn--active]=\"TermsViewMode === 'grid'\" (click)=\"TermsViewMode = 'grid'\">\n <i class=\"fa-solid fa-table\"></i> Data Grid\n </button>\n </div>\n </div>\n\n @if (TermsViewMode === 'cards') {\n @if (SubscriptionTerms.length === 0) {\n <div class=\"mjo-empty-state\">\n <i class=\"fa-solid fa-calendar-xmark\"></i>\n <span>No coverage terms materialized yet for this subscription.</span>\n </div>\n } @else {\n <div class=\"mjo-terms-deck-grid\">\n @for (term of SubscriptionTerms; track term.ID; let i = $index) {\n <div class=\"mjo-term-card\">\n <div class=\"mjo-term-card-head\">\n <div class=\"mjo-term-pill\" [ngClass]=\"GetTermBadgeClass(i)\">\n <i class=\"fa-solid fa-circle-dot\"></i> Term {{ term.TermNumber || (i + 1) }}\n </div>\n <div class=\"mjo-term-badges\">\n <span [class]=\"GetTermStatusClass(term.Status)\">{{ term.Status || 'Active' }}</span>\n @if (term.IsProrated) {\n <span class=\"mjo-prorated-chip\">\n <i class=\"fa-solid fa-percent\"></i> {{ term.ProrationFactor ? (term.ProrationFactor * 100).toFixed(0) + '%' : 'Prorated' }}\n </span>\n }\n </div>\n </div>\n\n <div class=\"mjo-term-amount\">\n {{ FormatMoney(term.Amount) }}\n </div>\n\n <div class=\"mjo-term-dates\">\n <i class=\"fa-regular fa-calendar\"></i>\n <span>{{ FormatDateRange(term.StartDate, term.EndDate) }}</span>\n </div>\n\n <div class=\"mjo-term-actions\">\n <button type=\"button\" class=\"mjo-open-term-btn\" (click)=\"OnOpenTerm(term)\">\n <span>View Term Details &amp; Waterfall</span>\n <i class=\"fa-solid fa-arrow-right\"></i>\n </button>\n </div>\n </div>\n }\n </div>\n }\n } @else {\n <div class=\"mjo-grid-pane\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Subscription Terms','SubscriptionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Subscription Terms')\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersSubscriptionTerms', $event.totalRowCount)\">\n </mj-explorer-entity-data-grid>\n </div>\n }\n </div>\n }\n\n <!-- PANE 2: DEFERRED REVENUE & REV-REC SCHEDULE -->\n @if (ActivePane === 'revRec') {\n <div class=\"mjo-pane-card\">\n <div class=\"mjo-pane-header\">\n <div class=\"mjo-pane-title-area\">\n <h2 class=\"mjo-pane-title\"><i class=\"fa-solid fa-chart-waterfall\"></i> Deferred Revenue &amp; Rev-Rec Schedule</h2>\n <p class=\"mjo-pane-desc\">ASC 606 recognition rollforward schedules across all active and historical terms.</p>\n </div>\n <div class=\"mjo-toggle-strip\">\n <button type=\"button\" class=\"mjo-toggle-btn\" [class.mjo-toggle-btn--active]=\"ActiveAccountingView === 'waterfall'\" (click)=\"ActiveAccountingView = 'waterfall'\">\n <i class=\"fa-solid fa-chart-line\"></i> Waterfall Schedule\n </button>\n <button type=\"button\" class=\"mjo-toggle-btn\" [class.mjo-toggle-btn--active]=\"ActiveAccountingView === 'grid'\" (click)=\"ActiveAccountingView = 'grid'\">\n <i class=\"fa-solid fa-table\"></i> All Journal Entries\n </button>\n </div>\n </div>\n\n @if (ActiveAccountingView === 'waterfall') {\n <mj-deferred-revenue-waterfall\n [JournalEntries]=\"RevRecJournalEntries\"\n [Title]=\"'Subscription Deferred Revenue Waterfall'\"\n [TermLookup]=\"SubscriptionTermLookup\"\n (JournalEntrySelected)=\"OnJournalEntrySelected($event)\">\n </mj-deferred-revenue-waterfall>\n } @else if (SubscriptionJournalEntryParams) {\n <div class=\"mjo-grid-pane\">\n <mj-explorer-entity-data-grid\n [Params]=\"SubscriptionJournalEntryParams\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-explorer-entity-data-grid>\n </div>\n }\n </div>\n }\n\n <!-- PANE 3: STAKEHOLDERS & BENEFIT ASSIGNMENT -->\n @if (ActivePane === 'stakeholders') {\n <div class=\"mjo-pane-card\">\n <div class=\"mjo-pane-header\">\n <div class=\"mjo-pane-title-area\">\n <h2 class=\"mjo-pane-title\"><i class=\"fa-solid fa-users\"></i> Stakeholders &amp; Benefit Assignment</h2>\n <p class=\"mjo-pane-desc\">Separation between paying owner entity and beneficiary end-user.</p>\n </div>\n </div>\n\n <div class=\"mjo-info-banner\">\n <i class=\"fa-solid fa-user-group\" aria-hidden=\"true\"></i>\n <div>\n <strong>Holder and Beneficiary are separated by design:</strong> The <em>Holder</em> owns and finances the subscription, while the <em>Beneficiary</em> holds the entitlement rights. This distinction governs duplicate prevention and concurrency checks.\n </div>\n </div>\n\n <div class=\"mjo-fields-grid\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"HolderOrganizationID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"BeneficiaryPersonID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n </div>\n </div>\n }\n\n <!-- PANE 4: RENEWAL & LIFECYCLE SETTINGS -->\n @if (ActivePane === 'renewal') {\n <div class=\"mjo-pane-card\">\n <div class=\"mjo-pane-header\">\n <div class=\"mjo-pane-title-area\">\n <h2 class=\"mjo-pane-title\"><i class=\"fa-solid fa-arrows-rotate\"></i> Renewal &amp; Lifecycle Settings</h2>\n <p class=\"mjo-pane-desc\">Automatic renewal rules, lead days, migration chaining, and cancellation dates.</p>\n </div>\n </div>\n\n <div class=\"mjo-fields-grid\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AutoRenew\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RenewalLeadDays\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"StartDate\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EndDate\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CanceledAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MigratesFromSubscriptionID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MigratesToSubscriptionID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n </div>\n </div>\n }\n\n <!-- PANE 5: GRANTED ENTITLEMENTS -->\n @if (ActivePane === 'entitlements') {\n <div class=\"mjo-pane-card\">\n <div class=\"mjo-pane-header\">\n <div class=\"mjo-pane-title-area\">\n <h2 class=\"mjo-pane-title\"><i class=\"fa-solid fa-key\"></i> Granted Entitlements</h2>\n <p class=\"mjo-pane-desc\">Software permissions, license keys, and seats granted by this subscription.</p>\n </div>\n </div>\n\n <div class=\"mjo-grid-pane\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Entitlement Grants','SubscriptionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Entitlement Grants')\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-explorer-entity-data-grid>\n </div>\n </div>\n }\n\n <!-- PANE 6: SUBSCRIPTION DETAILS & ENTITY LINKS -->\n @if (ActivePane === 'details') {\n <div class=\"mjo-pane-card\">\n <div class=\"mjo-pane-header\">\n <div class=\"mjo-pane-title-area\">\n <h2 class=\"mjo-pane-title\"><i class=\"fa-solid fa-cube\"></i> Subscription Details &amp; Entity Links</h2>\n <p class=\"mjo-pane-desc\">Product catalog link, Company owner, and originating Order Line ID.</p>\n </div>\n </div>\n\n <div class=\"mjo-fields-grid\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ProductID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CompanyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"OrderLineID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubscriptionNumber\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n </div>\n </div>\n }\n\n <!-- PANE 7: SUBSCRIPTION EVENTS LOG -->\n @if (ActivePane === 'events') {\n <div class=\"mjo-pane-card\">\n <div class=\"mjo-pane-header\">\n <div class=\"mjo-pane-title-area\">\n <h2 class=\"mjo-pane-title\"><i class=\"fa-solid fa-history\"></i> Subscription Events Log</h2>\n <p class=\"mjo-pane-desc\">Complete immutable audit trail of subscription transitions, renewals, and lifecycle events.</p>\n </div>\n </div>\n\n <div class=\"mjo-grid-pane\">\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Subscription Events','SubscriptionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Subscription Events')\"\n [AllowLoad]=\"true\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-explorer-entity-data-grid>\n </div>\n </div>\n }\n\n <!-- PANE 8: SYSTEM METADATA -->\n @if (ActivePane === 'systemMetadata') {\n <div class=\"mjo-pane-card\">\n <div class=\"mjo-pane-header\">\n <div class=\"mjo-pane-title-area\">\n <h2 class=\"mjo-pane-title\"><i class=\"fa-solid fa-shield-alt\"></i> System Metadata</h2>\n <p class=\"mjo-pane-desc\">System identifiers, schema integrity, and database timestamps.</p>\n </div>\n </div>\n\n <div class=\"mjo-fields-grid\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\"\n ></mj-form-field>\n </div>\n </div>\n }\n\n </main>\n </div>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n}\n", styles: ["/* ============================================================================\n BizApps Orders \u2014 Custom Subscription Form Component (Responsive Left-Nav Layout)\n ============================================================================ */\n\n/* \u2500\u2500 1. Hero Identity Header Card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.mjo-sub-hero-card {\n background: var(--mj-bg-surface-card, #ffffff);\n border: 1px solid var(--mj-border-default, #e2e8f0);\n border-radius: var(--mj-radius-lg, 12px);\n padding: var(--mj-space-4, 16px) var(--mj-space-5, 20px);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);\n margin-bottom: var(--mj-space-4, 16px);\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-3, 14px);\n}\n\n.mjo-sub-hero-main {\n display: flex;\n align-items: center;\n gap: var(--mj-space-4, 16px);\n}\n\n.mjo-sub-avatar {\n width: 48px;\n height: 48px;\n border-radius: var(--mj-radius-md, 8px);\n background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);\n color: #ffffff;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 20px;\n box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);\n flex-shrink: 0;\n}\n\n.mjo-sub-hero-info {\n display: flex;\n flex-direction: column;\n gap: 4px;\n flex: 1;\n}\n\n.mjo-sub-hero-title-row {\n display: flex;\n align-items: center;\n gap: 8px;\n flex-wrap: wrap;\n}\n\n.mjo-sub-number {\n font-size: var(--mj-text-lg, 18px);\n font-weight: var(--mj-font-bold, 700);\n color: var(--mj-text-primary, #0f172a);\n font-family: var(--mj-font-mono, monospace);\n}\n\n.mjo-sub-hero-sub-row {\n display: flex;\n align-items: center;\n gap: 16px;\n flex-wrap: wrap;\n font-size: var(--mj-text-xs, 12px);\n color: var(--mj-text-muted, #64748b);\n}\n\n.mjo-sub-meta-item {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n}\n\n.mjo-sub-hero-stats {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n gap: var(--mj-space-3, 12px);\n padding-top: var(--mj-space-3, 12px);\n border-top: 1px solid var(--mj-border-default, #e2e8f0);\n}\n\n.mjo-stat-block {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mjo-stat-label {\n font-size: var(--mj-text-xs, 11px);\n font-weight: var(--mj-font-semibold, 600);\n color: var(--mj-text-muted, #64748b);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n\n.mjo-stat-val {\n font-size: var(--mj-text-sm, 14px);\n font-weight: var(--mj-font-bold, 700);\n color: var(--mj-text-primary, #0f172a);\n}\n\n/* \u2500\u2500 2. Badges & Chips \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.mjo-status-chip {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n font-size: 11px;\n font-weight: var(--mj-font-semibold, 600);\n padding: 2px 8px;\n border-radius: var(--mj-radius-full, 9999px);\n border: 1px solid var(--mj-border-default, #cbd5e1);\n color: var(--mj-text-secondary, #475569);\n background: var(--mj-bg-surface-sunken, rgba(0, 0, 0, 0.04));\n}\n\n.mjo-status-chip--active {\n color: var(--mj-status-success-text, #15803d);\n background: var(--mj-status-success-bg, rgba(34, 197, 94, 0.12));\n border-color: var(--mj-status-success-border, rgba(34, 197, 94, 0.35));\n}\n\n.mjo-status-chip--info {\n color: #0284c7;\n background: rgba(2, 132, 199, 0.12);\n border-color: rgba(2, 132, 199, 0.35);\n}\n\n.mjo-status-chip--warning {\n color: var(--mj-status-warning-text, #b45309);\n background: var(--mj-status-warning-bg, rgba(245, 158, 11, 0.12));\n border-color: var(--mj-status-warning-border, rgba(245, 158, 11, 0.35));\n}\n\n.mjo-status-chip--secondary {\n color: var(--mj-text-secondary, #475569);\n background: rgba(100, 116, 139, 0.12);\n border-color: rgba(100, 116, 139, 0.35);\n}\n\n.mjo-status-chip--inactive {\n color: var(--mj-text-muted, #64748b);\n background: rgba(0, 0, 0, 0.04);\n}\n\n.mjo-renew-chip {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n font-size: 11px;\n font-weight: var(--mj-font-semibold, 600);\n padding: 2px 8px;\n border-radius: var(--mj-radius-full, 9999px);\n border: 1px solid var(--mj-border-default, #cbd5e1);\n}\n\n.mjo-renew-chip--on {\n color: #16a34a;\n background: rgba(34, 197, 94, 0.12);\n border-color: rgba(34, 197, 94, 0.35);\n}\n\n.mjo-renew-chip--off {\n color: var(--mj-text-muted, #64748b);\n background: rgba(0, 0, 0, 0.04);\n}\n\n.mjo-prorated-chip {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n font-size: 10.5px;\n font-weight: var(--mj-font-bold, 700);\n padding: 1px 6px;\n border-radius: 4px;\n color: #d97706;\n background: rgba(245, 158, 11, 0.15);\n border: 1px solid rgba(245, 158, 11, 0.35);\n}\n\n/* \u2500\u2500 3. Two-Column Workspace Layout \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.mjo-sub-workspace {\n display: grid;\n grid-template-columns: 240px minmax(0, 1fr);\n gap: var(--mj-space-4, 16px);\n align-items: start;\n}\n\n/* Left Navigation Rail */\n.mjo-sub-left-nav {\n background: var(--mj-bg-surface-card, #ffffff);\n border: 1px solid var(--mj-border-default, #e2e8f0);\n border-radius: var(--mj-radius-lg, 10px);\n padding: 8px;\n display: flex;\n flex-direction: column;\n gap: 3px;\n position: sticky;\n top: 16px;\n}\n\n.mjo-nav-group-title {\n font-size: 10px;\n font-weight: var(--mj-font-bold, 700);\n color: var(--mj-text-muted, #64748b);\n text-transform: uppercase;\n letter-spacing: 0.06em;\n padding: 6px 10px 2px;\n}\n\n.mjo-nav-btn {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 8px 12px;\n background: transparent;\n border: none;\n border-radius: var(--mj-radius-md, 6px);\n font-family: inherit;\n font-size: var(--mj-text-xs, 12.5px);\n font-weight: var(--mj-font-semibold, 600);\n color: var(--mj-text-secondary, #475569);\n cursor: pointer;\n text-align: left;\n transition: all 0.15s ease;\n box-sizing: border-box;\n}\n\n.mjo-nav-btn:hover {\n background: var(--mj-bg-surface-sunken, #f1f5f9);\n color: var(--mj-text-primary, #0f172a);\n}\n\n.mjo-nav-btn.active {\n background: var(--mj-brand-primary, #0076b6);\n color: #ffffff;\n box-shadow: 0 2px 4px rgba(0, 118, 182, 0.25);\n}\n\n.mjo-nav-btn-left {\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n}\n\n.mjo-nav-btn-left span {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mjo-nav-badge {\n font-size: 10px;\n font-weight: var(--mj-font-bold, 700);\n padding: 1px 6px;\n border-radius: var(--mj-radius-full, 9999px);\n background: var(--mj-bg-surface-sunken, #e2e8f0);\n color: var(--mj-text-secondary, #475569);\n}\n\n.mjo-nav-btn.active .mjo-nav-badge {\n background: rgba(255, 255, 255, 0.25);\n color: #ffffff;\n}\n\n.mjo-nav-badge--info {\n background: rgba(2, 132, 199, 0.15);\n color: #0284c7;\n}\n\n/* \u2500\u2500 4. Main Workspace Content Pane \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.mjo-sub-workspace-content {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4, 16px);\n min-width: 0;\n}\n\n.mjo-pane-card {\n background: var(--mj-bg-surface-card, #ffffff);\n border: 1px solid var(--mj-border-default, #e2e8f0);\n border-radius: var(--mj-radius-lg, 10px);\n padding: 18px 20px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);\n}\n\n.mjo-pane-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 12px;\n border-bottom: 1px solid var(--mj-border-default, #f1f5f9);\n padding-bottom: 12px;\n flex-wrap: wrap;\n}\n\n.mjo-pane-title-area {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n\n.mjo-pane-title {\n margin: 0;\n font-size: var(--mj-text-md, 15px);\n font-weight: var(--mj-font-bold, 700);\n color: var(--mj-text-primary, #0f172a);\n display: flex;\n align-items: center;\n gap: 7px;\n}\n\n.mjo-pane-title i {\n color: var(--mj-brand-primary, #0076b6);\n}\n\n.mjo-pane-desc {\n margin: 0;\n font-size: var(--mj-text-xs, 12px);\n color: var(--mj-text-muted, #64748b);\n}\n\n.mjo-toggle-strip {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mjo-toggle-btn {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 5px 12px;\n font-size: 12px;\n font-weight: var(--mj-font-semibold, 600);\n border-radius: var(--mj-radius-sm, 6px);\n border: 1px solid var(--mj-border-default, #cbd5e1);\n background: var(--mj-bg-surface-card, #ffffff);\n color: var(--mj-text-secondary, #475569);\n cursor: pointer;\n transition: all 0.15s ease;\n white-space: nowrap;\n}\n\n.mjo-toggle-btn:hover {\n border-color: var(--mj-brand-primary, #0076b6);\n color: var(--mj-brand-primary, #0076b6);\n}\n\n.mjo-toggle-btn--active {\n background: var(--mj-brand-primary, #0076b6);\n color: #ffffff !important;\n border-color: var(--mj-brand-primary, #0076b6);\n}\n\n/* \u2500\u2500 5. Visual Terms Deck Cards \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.mjo-terms-deck-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));\n gap: var(--mj-space-3, 12px);\n}\n\n.mjo-term-card {\n background: var(--mj-bg-surface-sunken, #f8fafc);\n border: 1px solid var(--mj-border-default, #e2e8f0);\n border-radius: var(--mj-radius-md, 8px);\n padding: 14px 16px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n transition: all 0.15s ease;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);\n}\n\n.mjo-term-card:hover {\n border-color: var(--mj-brand-primary, #0076b6);\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);\n}\n\n.mjo-term-card-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 6px;\n}\n\n.mjo-term-pill {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n font-size: 11px;\n font-weight: var(--mj-font-bold, 700);\n padding: 2px 8px;\n border-radius: 4px;\n letter-spacing: 0.03em;\n text-transform: uppercase;\n}\n\n.mjo-term-color--t1 {\n background: rgba(6, 182, 212, 0.15);\n color: #0284c7;\n border: 1px solid rgba(6, 182, 212, 0.35);\n}\n.mjo-term-color--t2 {\n background: rgba(168, 85, 247, 0.15);\n color: #9333ea;\n border: 1px solid rgba(168, 85, 247, 0.35);\n}\n.mjo-term-color--t3 {\n background: rgba(34, 197, 94, 0.15);\n color: #16a34a;\n border: 1px solid rgba(34, 197, 94, 0.35);\n}\n.mjo-term-color--t4 {\n background: rgba(245, 158, 11, 0.15);\n color: #d97706;\n border: 1px solid rgba(245, 158, 11, 0.35);\n}\n.mjo-term-color--t5 {\n background: rgba(244, 63, 94, 0.15);\n color: #e11d48;\n border: 1px solid rgba(244, 63, 94, 0.35);\n}\n\n.mjo-term-badges {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mjo-term-amount {\n font-size: 16px;\n font-weight: var(--mj-font-bold, 700);\n font-family: var(--mj-font-mono, monospace);\n color: var(--mj-text-primary, #0f172a);\n}\n\n.mjo-term-dates {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n color: var(--mj-text-muted, #64748b);\n}\n\n.mjo-term-dates i {\n color: var(--mj-brand-primary, #0076b6);\n}\n\n.mjo-term-actions {\n margin-top: 4px;\n padding-top: 8px;\n border-top: 1px dashed var(--mj-border-default, #e2e8f0);\n}\n\n.mjo-open-term-btn {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--mj-bg-surface-card, #ffffff);\n border: 1px solid var(--mj-border-default, #cbd5e1);\n border-radius: var(--mj-radius-sm, 6px);\n padding: 6px 10px;\n font-size: 11.5px;\n font-weight: var(--mj-font-semibold, 600);\n color: var(--mj-brand-primary, #0076b6);\n cursor: pointer;\n transition: all 0.15s ease;\n}\n\n.mjo-open-term-btn:hover {\n background: var(--mj-brand-primary, #0076b6);\n color: #ffffff;\n border-color: var(--mj-brand-primary, #0076b6);\n}\n\n.mjo-empty-state {\n padding: 32px;\n text-align: center;\n color: var(--mj-text-muted, #64748b);\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n font-size: 13px;\n}\n\n.mjo-fields-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 14px;\n}\n\n.mjo-grid-pane {\n width: 100%;\n min-width: 0;\n}\n\n/* \u2500\u2500 6. Explanatory Banner \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.mjo-info-banner {\n display: flex;\n align-items: flex-start;\n gap: var(--mj-space-3, 12px);\n background: rgba(2, 132, 199, 0.08);\n border: 1px solid rgba(2, 132, 199, 0.25);\n border-radius: var(--mj-radius-md, 8px);\n padding: var(--mj-space-3, 12px) var(--mj-space-4, 16px);\n font-size: 13px;\n color: var(--mj-text-primary, #0f172a);\n line-height: 1.45;\n}\n\n.mjo-info-banner i {\n font-size: 16px;\n margin-top: 2px;\n color: #0284c7;\n flex-shrink: 0;\n}\n\n/* \u2500\u2500 7. Responsive Breakpoints \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n@media (max-width: 900px) {\n .mjo-sub-workspace {\n grid-template-columns: 1fr;\n }\n .mjo-sub-left-nav {\n position: static;\n flex-direction: row;\n overflow-x: auto;\n padding: 6px;\n }\n .mjo-nav-group-title {\n display: none;\n }\n .mjo-nav-btn {\n width: auto;\n white-space: nowrap;\n }\n}\n"] }]
879
+ }], null, null); })();
880
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsSubscriptionFormComponent, { className: "BizAppsSubscriptionFormComponent", filePath: "lib/custom/Subscription/subscription-form.component.ts", lineNumber: 36 }); })();
881
+ /** Tree-shaking prevention anchor function */
882
+ export function LoadSubscriptionFormComponent() {
883
+ // Anchors BizAppsSubscriptionFormComponent in bundlers
884
+ }
885
+ //# sourceMappingURL=subscription-form.component.js.map