techlify-inventory-common 18.50.0 → 22.0.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 (356) hide show
  1. package/fesm2022/techlify-inventory-common-category.module-Dtn1604q.mjs +842 -0
  2. package/fesm2022/techlify-inventory-common-category.module-Dtn1604q.mjs.map +1 -0
  3. package/fesm2022/techlify-inventory-common-location.service-C99J8Lje.mjs +50 -0
  4. package/fesm2022/techlify-inventory-common-location.service-C99J8Lje.mjs.map +1 -0
  5. package/fesm2022/techlify-inventory-common-material.module-ClupVm7-.mjs +190 -0
  6. package/fesm2022/techlify-inventory-common-material.module-ClupVm7-.mjs.map +1 -0
  7. package/fesm2022/techlify-inventory-common-measure.service-DvJUGa0i.mjs +38 -0
  8. package/fesm2022/techlify-inventory-common-measure.service-DvJUGa0i.mjs.map +1 -0
  9. package/fesm2022/techlify-inventory-common-product-category-badges.component-VnfnNhtV.mjs +133 -0
  10. package/fesm2022/techlify-inventory-common-product-category-badges.component-VnfnNhtV.mjs.map +1 -0
  11. package/fesm2022/techlify-inventory-common-product.module-MZoVK3bN.mjs +4278 -0
  12. package/fesm2022/techlify-inventory-common-product.module-MZoVK3bN.mjs.map +1 -0
  13. package/fesm2022/techlify-inventory-common-purchase-order-view.component-CjED8n4_.mjs +852 -0
  14. package/fesm2022/techlify-inventory-common-purchase-order-view.component-CjED8n4_.mjs.map +1 -0
  15. package/fesm2022/techlify-inventory-common-purchase-order.service-ztJ5RRH5.mjs +40 -0
  16. package/fesm2022/techlify-inventory-common-purchase-order.service-ztJ5RRH5.mjs.map +1 -0
  17. package/fesm2022/techlify-inventory-common-recipient.module-gxR77BIj.mjs +647 -0
  18. package/fesm2022/techlify-inventory-common-recipient.module-gxR77BIj.mjs.map +1 -0
  19. package/fesm2022/techlify-inventory-common-shared.module-DP-FVqea.mjs +102 -0
  20. package/fesm2022/techlify-inventory-common-shared.module-DP-FVqea.mjs.map +1 -0
  21. package/fesm2022/techlify-inventory-common-stock-allocation-list.component-Du-VCtbs.mjs +382 -0
  22. package/fesm2022/techlify-inventory-common-stock-allocation-list.component-Du-VCtbs.mjs.map +1 -0
  23. package/fesm2022/techlify-inventory-common-stock-issue-form.component-DfgbqIKn.mjs +486 -0
  24. package/fesm2022/techlify-inventory-common-stock-issue-form.component-DfgbqIKn.mjs.map +1 -0
  25. package/fesm2022/techlify-inventory-common-stock-issue-page.module-DX9n3X1T.mjs +2509 -0
  26. package/fesm2022/techlify-inventory-common-stock-issue-page.module-DX9n3X1T.mjs.map +1 -0
  27. package/fesm2022/techlify-inventory-common-stock-issue-product-view.component-D8aIc5Oh.mjs +208 -0
  28. package/fesm2022/techlify-inventory-common-stock-issue-product-view.component-D8aIc5Oh.mjs.map +1 -0
  29. package/fesm2022/techlify-inventory-common-stock-issue-product.service-BRbfc5KP.mjs +38 -0
  30. package/fesm2022/techlify-inventory-common-stock-issue-product.service-BRbfc5KP.mjs.map +1 -0
  31. package/fesm2022/techlify-inventory-common-stock-issue-view.component-Cp_0YkKh.mjs +239 -0
  32. package/fesm2022/techlify-inventory-common-stock-issue-view.component-Cp_0YkKh.mjs.map +1 -0
  33. package/fesm2022/techlify-inventory-common-stock-issue.service-CLHasWVp.mjs +38 -0
  34. package/fesm2022/techlify-inventory-common-stock-issue.service-CLHasWVp.mjs.map +1 -0
  35. package/fesm2022/techlify-inventory-common-stock-receipts.module-BPxUGNbD.mjs +4195 -0
  36. package/fesm2022/techlify-inventory-common-stock-receipts.module-BPxUGNbD.mjs.map +1 -0
  37. package/fesm2022/techlify-inventory-common-techlify-filter.module-BdRNWNHi.mjs +464 -0
  38. package/fesm2022/techlify-inventory-common-techlify-filter.module-BdRNWNHi.mjs.map +1 -0
  39. package/fesm2022/techlify-inventory-common-techlify-form-service-D9K3W2jt.mjs +13 -0
  40. package/fesm2022/techlify-inventory-common-techlify-form-service-D9K3W2jt.mjs.map +1 -0
  41. package/fesm2022/techlify-inventory-common.mjs +10803 -2
  42. package/fesm2022/techlify-inventory-common.mjs.map +1 -1
  43. package/package.json +9 -11
  44. package/types/techlify-inventory-common.d.ts +1792 -0
  45. package/esm2022/lib/inventory-common/category/category-form/category-form.component.mjs +0 -75
  46. package/esm2022/lib/inventory-common/category/category-form-button/category-form-button.component.mjs +0 -32
  47. package/esm2022/lib/inventory-common/category/category-list-page/category-list-page.component.mjs +0 -64
  48. package/esm2022/lib/inventory-common/category/category-routing.module.mjs +0 -29
  49. package/esm2022/lib/inventory-common/category/category-view/category-view.component.mjs +0 -46
  50. package/esm2022/lib/inventory-common/category/category.module.mjs +0 -62
  51. package/esm2022/lib/inventory-common/category/category.service.mjs +0 -18
  52. package/esm2022/lib/inventory-common/incident/incident-form/incident-form.component.mjs +0 -113
  53. package/esm2022/lib/inventory-common/incident/incident-form-button/incident-form-button.component.mjs +0 -45
  54. package/esm2022/lib/inventory-common/incident/incident-list/incident-list.component.mjs +0 -140
  55. package/esm2022/lib/inventory-common/incident/incident-routing.module.mjs +0 -24
  56. package/esm2022/lib/inventory-common/incident/incident.module.mjs +0 -22
  57. package/esm2022/lib/inventory-common/incident/incident.service.mjs +0 -18
  58. package/esm2022/lib/inventory-common/inventory-common-routing.module.mjs +0 -81
  59. package/esm2022/lib/inventory-common/inventory-common.module.mjs +0 -43
  60. package/esm2022/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.mjs +0 -44
  61. package/esm2022/lib/inventory-common/inventory-value-report.service.mjs +0 -21
  62. package/esm2022/lib/inventory-common/location/location-form/location-form.component.mjs +0 -63
  63. package/esm2022/lib/inventory-common/location/location-form-button/location-form-button.component.mjs +0 -47
  64. package/esm2022/lib/inventory-common/location/location-information/location-information.component.mjs +0 -36
  65. package/esm2022/lib/inventory-common/location/location-list/location-list.component.mjs +0 -81
  66. package/esm2022/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.mjs +0 -80
  67. package/esm2022/lib/inventory-common/location/location-routing.module.mjs +0 -38
  68. package/esm2022/lib/inventory-common/location/location-status-changer/location-status-changer.component.mjs +0 -64
  69. package/esm2022/lib/inventory-common/location/location-view/location-view.component.mjs +0 -52
  70. package/esm2022/lib/inventory-common/location/location.module.mjs +0 -22
  71. package/esm2022/lib/inventory-common/location/location.service.mjs +0 -33
  72. package/esm2022/lib/inventory-common/location/shelf/shelf-form/shelf-form.component.mjs +0 -86
  73. package/esm2022/lib/inventory-common/location/shelf/shelf-form-button/shelf-form-button.component.mjs +0 -39
  74. package/esm2022/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.mjs +0 -103
  75. package/esm2022/lib/inventory-common/location/shelf/shelf-routing.module.mjs +0 -24
  76. package/esm2022/lib/inventory-common/location/shelf/shelf.module.mjs +0 -22
  77. package/esm2022/lib/inventory-common/location/shelf/shelf.service.mjs +0 -20
  78. package/esm2022/lib/inventory-common/low-stock-report.service.mjs +0 -23
  79. package/esm2022/lib/inventory-common/material.module.mjs +0 -172
  80. package/esm2022/lib/inventory-common/measure/measure-form/measure-form.component.mjs +0 -63
  81. package/esm2022/lib/inventory-common/measure/measure-list/measure-list.component.mjs +0 -75
  82. package/esm2022/lib/inventory-common/measure/measure-routing.module.mjs +0 -24
  83. package/esm2022/lib/inventory-common/measure/measure.module.mjs +0 -43
  84. package/esm2022/lib/inventory-common/measure/measure.service.mjs +0 -18
  85. package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.mjs +0 -47
  86. package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.module.mjs +0 -22
  87. package/esm2022/lib/inventory-common/product/product-basic-info/product-basic-info.component.mjs +0 -58
  88. package/esm2022/lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component.mjs +0 -54
  89. package/esm2022/lib/inventory-common/product/product-delete-button/product-delete-button.component.mjs +0 -54
  90. package/esm2022/lib/inventory-common/product/product-form/product-form.component.mjs +0 -258
  91. package/esm2022/lib/inventory-common/product/product-form-button/product-form-button.component.mjs +0 -15
  92. package/esm2022/lib/inventory-common/product/product-form.service.mjs +0 -17
  93. package/esm2022/lib/inventory-common/product/product-import-page/product-import-page.component.mjs +0 -66
  94. package/esm2022/lib/inventory-common/product/product-list/product-list.component.mjs +0 -177
  95. package/esm2022/lib/inventory-common/product/product-location/product-location-list/product-location-list.component.mjs +0 -61
  96. package/esm2022/lib/inventory-common/product/product-measure-form/product-measure-form.component.mjs +0 -101
  97. package/esm2022/lib/inventory-common/product/product-measures-list/product-measures-list.component.mjs +0 -145
  98. package/esm2022/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.mjs +0 -12
  99. package/esm2022/lib/inventory-common/product/product-quick-search/product-quick-search.component.mjs +0 -69
  100. package/esm2022/lib/inventory-common/product/product-routing.module.mjs +0 -68
  101. package/esm2022/lib/inventory-common/product/product-search/product-search.component.mjs +0 -151
  102. package/esm2022/lib/inventory-common/product/product-search/product-search.module.mjs +0 -39
  103. package/esm2022/lib/inventory-common/product/product-statistics.service.mjs +0 -23
  104. package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.mjs +0 -57
  105. package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.module.mjs +0 -18
  106. package/esm2022/lib/inventory-common/product/product-summary.service.mjs +0 -20
  107. package/esm2022/lib/inventory-common/product/product-view-page/product-view-page.component.mjs +0 -98
  108. package/esm2022/lib/inventory-common/product/product.module.mjs +0 -145
  109. package/esm2022/lib/inventory-common/product/product.service.mjs +0 -20
  110. package/esm2022/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.mjs +0 -15
  111. package/esm2022/lib/inventory-common/product-batch.service.mjs +0 -20
  112. package/esm2022/lib/inventory-common/rating/rating-form/rating-form.component.mjs +0 -112
  113. package/esm2022/lib/inventory-common/rating/rating-form-button/rating-form-button.component.mjs +0 -45
  114. package/esm2022/lib/inventory-common/rating/rating-list/rating-list.component.mjs +0 -135
  115. package/esm2022/lib/inventory-common/rating/rating-routing.module.mjs +0 -23
  116. package/esm2022/lib/inventory-common/rating/rating.module.mjs +0 -22
  117. package/esm2022/lib/inventory-common/rating/rating.service.mjs +0 -18
  118. package/esm2022/lib/inventory-common/recipient/recipient-form/recipient-form.component.mjs +0 -59
  119. package/esm2022/lib/inventory-common/recipient/recipient-list/recipient-list.component.mjs +0 -49
  120. package/esm2022/lib/inventory-common/recipient/recipient-routing.module.mjs +0 -24
  121. package/esm2022/lib/inventory-common/recipient/recipient.module.mjs +0 -18
  122. package/esm2022/lib/inventory-common/recipient/recipient.service.mjs +0 -18
  123. package/esm2022/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.mjs +0 -152
  124. package/esm2022/lib/inventory-common/reports/low-stock-report/low-stock-report.component.mjs +0 -161
  125. package/esm2022/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-product-data.service.mjs +0 -20
  126. package/esm2022/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-summary-report.component.mjs +0 -98
  127. package/esm2022/lib/inventory-common/services/techlify-form-service.mjs +0 -11
  128. package/esm2022/lib/inventory-common/shared/export-to-excel-button/export-to-excel-button.component.mjs +0 -58
  129. package/esm2022/lib/inventory-common/shared.module.mjs +0 -67
  130. package/esm2022/lib/inventory-common/stock-allocation/stock-allocation-list/stock-allocation-list.component.mjs +0 -81
  131. package/esm2022/lib/inventory-common/stock-allocation/stock-allocation.service.mjs +0 -16
  132. package/esm2022/lib/inventory-common/stock-issue/stock-issue-form/stock-issue-form.component.mjs +0 -198
  133. package/esm2022/lib/inventory-common/stock-issue/stock-issue-import-page/stock-issue-import-page.component.mjs +0 -59
  134. package/esm2022/lib/inventory-common/stock-issue/stock-issue-list/stock-issue-list.component.mjs +0 -149
  135. package/esm2022/lib/inventory-common/stock-issue/stock-issue-page/stock-issue-page.component.mjs +0 -91
  136. package/esm2022/lib/inventory-common/stock-issue/stock-issue-page/stock-issue-page.module.mjs +0 -82
  137. package/esm2022/lib/inventory-common/stock-issue/stock-issue-product-form/stock-issue-product-form-button/stock-issue-product-form-button.component.mjs +0 -35
  138. package/esm2022/lib/inventory-common/stock-issue/stock-issue-product-form/stock-issue-product-form.component.mjs +0 -102
  139. package/esm2022/lib/inventory-common/stock-issue/stock-issue-product-view/stock-issue-product-view.component.mjs +0 -59
  140. package/esm2022/lib/inventory-common/stock-issue/stock-issue-product.service.mjs +0 -16
  141. package/esm2022/lib/inventory-common/stock-issue/stock-issue-products-list/stock-issue-products-list.component.mjs +0 -163
  142. package/esm2022/lib/inventory-common/stock-issue/stock-issue-routing.module.mjs +0 -51
  143. package/esm2022/lib/inventory-common/stock-issue/stock-issue-single-product-form/stock-issue-single-product-form.component.mjs +0 -201
  144. package/esm2022/lib/inventory-common/stock-issue/stock-issue-view/stock-issue-view.component.mjs +0 -64
  145. package/esm2022/lib/inventory-common/stock-issue/stock-issue.module.mjs +0 -47
  146. package/esm2022/lib/inventory-common/stock-issue/stock-issue.service.mjs +0 -18
  147. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.component.mjs +0 -226
  148. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-import-page/stock-receipt-import-page.component.mjs +0 -74
  149. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-list/stock-receipt-list.component.mjs +0 -152
  150. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-form/stock-receipt-product-form-button/stock-receipt-product-form-button.component.mjs +0 -37
  151. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-form/stock-receipt-product-form.component.mjs +0 -80
  152. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-list/stock-receipt-product-list.component.mjs +0 -149
  153. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-view/stock-receipt-product-view.component.mjs +0 -59
  154. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product.service.mjs +0 -18
  155. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-single-product-form/stock-receipt-simple-form/stock-receipt-single-product-form.component.mjs +0 -181
  156. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component.mjs +0 -54
  157. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt.service.mjs +0 -18
  158. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-page/stock-receipts-page.component.mjs +0 -70
  159. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-routing.module.mjs +0 -52
  160. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts.module.mjs +0 -104
  161. package/esm2022/lib/inventory-common/stock-summary.service.mjs +0 -26
  162. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.mjs +0 -98
  163. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.mjs +0 -139
  164. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer.service.mjs +0 -18
  165. package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.mjs +0 -59
  166. package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector.module.mjs +0 -21
  167. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-form/purchase-order-form.component.mjs +0 -156
  168. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-listing/purchase-order-listing.component.mjs +0 -67
  169. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product-form/purchase-order-product-form.component.mjs +0 -74
  170. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product-form-button/purchase-order-product-form-button.component.mjs +0 -38
  171. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product-list.component.mjs +0 -61
  172. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product.service.mjs +0 -20
  173. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-view/purchase-order-view.component.mjs +0 -64
  174. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order.service.mjs +0 -20
  175. package/esm2022/lib/inventory-common/supplier/supplier-branch-delete-button/supplier-branch-delete-button.component.mjs +0 -63
  176. package/esm2022/lib/inventory-common/supplier/supplier-branch-form/supplier-branch-form-button/supplier-branch-form-button.component.mjs +0 -47
  177. package/esm2022/lib/inventory-common/supplier/supplier-branch-form/supplier-branch-form.component.mjs +0 -79
  178. package/esm2022/lib/inventory-common/supplier/supplier-branch.service.mjs +0 -18
  179. package/esm2022/lib/inventory-common/supplier/supplier-branches-list/supplier-branches-list.component.mjs +0 -79
  180. package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.component.mjs +0 -94
  181. package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.service.mjs +0 -17
  182. package/esm2022/lib/inventory-common/supplier/supplier-information/supplier-information.component.mjs +0 -73
  183. package/esm2022/lib/inventory-common/supplier/supplier-list/supplier-list.component.mjs +0 -68
  184. package/esm2022/lib/inventory-common/supplier/supplier-routing.module.mjs +0 -51
  185. package/esm2022/lib/inventory-common/supplier/supplier-type.service.mjs +0 -25
  186. package/esm2022/lib/inventory-common/supplier/supplier-view/supplier-view.component.mjs +0 -70
  187. package/esm2022/lib/inventory-common/supplier/supplier.component.mjs +0 -20
  188. package/esm2022/lib/inventory-common/supplier/supplier.module.mjs +0 -64
  189. package/esm2022/lib/inventory-common/supplier/supplier.service.mjs +0 -20
  190. package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.component.mjs +0 -116
  191. package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.module.mjs +0 -42
  192. package/esm2022/public-api.mjs +0 -71
  193. package/esm2022/techlify-inventory-common.mjs +0 -5
  194. package/fesm2022/techlify-inventory-common-category.module-CGzFP2S_.mjs +0 -288
  195. package/fesm2022/techlify-inventory-common-category.module-CGzFP2S_.mjs.map +0 -1
  196. package/fesm2022/techlify-inventory-common-purchase-order-view.component-5mLg0IvH.mjs +0 -227
  197. package/fesm2022/techlify-inventory-common-purchase-order-view.component-5mLg0IvH.mjs.map +0 -1
  198. package/fesm2022/techlify-inventory-common-recipient.module-DLoP6xI3.mjs +0 -147
  199. package/fesm2022/techlify-inventory-common-recipient.module-DLoP6xI3.mjs.map +0 -1
  200. package/fesm2022/techlify-inventory-common-stock-issue-form.component-MYEKRteU.mjs +0 -199
  201. package/fesm2022/techlify-inventory-common-stock-issue-form.component-MYEKRteU.mjs.map +0 -1
  202. package/fesm2022/techlify-inventory-common-stock-issue-product-view.component-C-c83FEn.mjs +0 -60
  203. package/fesm2022/techlify-inventory-common-stock-issue-product-view.component-C-c83FEn.mjs.map +0 -1
  204. package/fesm2022/techlify-inventory-common-stock-issue-view.component-Co7hXpDq.mjs +0 -66
  205. package/fesm2022/techlify-inventory-common-stock-issue-view.component-Co7hXpDq.mjs.map +0 -1
  206. package/fesm2022/techlify-inventory-common-techlify-inventory-common-CWxzlvVi.mjs +0 -7214
  207. package/fesm2022/techlify-inventory-common-techlify-inventory-common-CWxzlvVi.mjs.map +0 -1
  208. package/index.d.ts +0 -5
  209. package/lib/inventory-common/category/category-form/category-form.component.d.ts +0 -18
  210. package/lib/inventory-common/category/category-form-button/category-form-button.component.d.ts +0 -13
  211. package/lib/inventory-common/category/category-list-page/category-list-page.component.d.ts +0 -20
  212. package/lib/inventory-common/category/category-routing.module.d.ts +0 -7
  213. package/lib/inventory-common/category/category-view/category-view.component.d.ts +0 -16
  214. package/lib/inventory-common/category/category.module.d.ts +0 -20
  215. package/lib/inventory-common/category/category.service.d.ts +0 -7
  216. package/lib/inventory-common/incident/incident-form/incident-form.component.d.ts +0 -19
  217. package/lib/inventory-common/incident/incident-form-button/incident-form-button.component.d.ts +0 -15
  218. package/lib/inventory-common/incident/incident-list/incident-list.component.d.ts +0 -22
  219. package/lib/inventory-common/incident/incident-routing.module.d.ts +0 -7
  220. package/lib/inventory-common/incident/incident.module.d.ts +0 -8
  221. package/lib/inventory-common/incident/incident.service.d.ts +0 -7
  222. package/lib/inventory-common/inventory-common-routing.module.d.ts +0 -7
  223. package/lib/inventory-common/inventory-common.module.d.ts +0 -14
  224. package/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.d.ts +0 -14
  225. package/lib/inventory-common/inventory-value-report.service.d.ts +0 -9
  226. package/lib/inventory-common/location/location-form/location-form.component.d.ts +0 -18
  227. package/lib/inventory-common/location/location-form-button/location-form-button.component.d.ts +0 -13
  228. package/lib/inventory-common/location/location-information/location-information.component.d.ts +0 -12
  229. package/lib/inventory-common/location/location-list/location-list.component.d.ts +0 -18
  230. package/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.d.ts +0 -18
  231. package/lib/inventory-common/location/location-routing.module.d.ts +0 -7
  232. package/lib/inventory-common/location/location-status-changer/location-status-changer.component.d.ts +0 -17
  233. package/lib/inventory-common/location/location-view/location-view.component.d.ts +0 -16
  234. package/lib/inventory-common/location/location.module.d.ts +0 -8
  235. package/lib/inventory-common/location/location.service.d.ts +0 -15
  236. package/lib/inventory-common/location/shelf/shelf-form/shelf-form.component.d.ts +0 -18
  237. package/lib/inventory-common/location/shelf/shelf-form-button/shelf-form-button.component.d.ts +0 -13
  238. package/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.d.ts +0 -19
  239. package/lib/inventory-common/location/shelf/shelf-routing.module.d.ts +0 -7
  240. package/lib/inventory-common/location/shelf/shelf.module.d.ts +0 -8
  241. package/lib/inventory-common/location/shelf/shelf.service.d.ts +0 -8
  242. package/lib/inventory-common/low-stock-report.service.d.ts +0 -10
  243. package/lib/inventory-common/material.module.d.ts +0 -40
  244. package/lib/inventory-common/measure/measure-form/measure-form.component.d.ts +0 -21
  245. package/lib/inventory-common/measure/measure-list/measure-list.component.d.ts +0 -19
  246. package/lib/inventory-common/measure/measure-routing.module.d.ts +0 -7
  247. package/lib/inventory-common/measure/measure.module.d.ts +0 -14
  248. package/lib/inventory-common/measure/measure.service.d.ts +0 -7
  249. package/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.d.ts +0 -13
  250. package/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.module.d.ts +0 -12
  251. package/lib/inventory-common/product/product-basic-info/product-basic-info.component.d.ts +0 -21
  252. package/lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component.d.ts +0 -17
  253. package/lib/inventory-common/product/product-delete-button/product-delete-button.component.d.ts +0 -26
  254. package/lib/inventory-common/product/product-form/product-form.component.d.ts +0 -46
  255. package/lib/inventory-common/product/product-form-button/product-form-button.component.d.ts +0 -7
  256. package/lib/inventory-common/product/product-form.service.d.ts +0 -7
  257. package/lib/inventory-common/product/product-import-page/product-import-page.component.d.ts +0 -10
  258. package/lib/inventory-common/product/product-list/product-list.component.d.ts +0 -34
  259. package/lib/inventory-common/product/product-location/product-location-list/product-location-list.component.d.ts +0 -18
  260. package/lib/inventory-common/product/product-measure-form/product-measure-form.component.d.ts +0 -33
  261. package/lib/inventory-common/product/product-measures-list/product-measures-list.component.d.ts +0 -43
  262. package/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.d.ts +0 -5
  263. package/lib/inventory-common/product/product-quick-search/product-quick-search.component.d.ts +0 -15
  264. package/lib/inventory-common/product/product-routing.module.d.ts +0 -7
  265. package/lib/inventory-common/product/product-search/product-search.component.d.ts +0 -48
  266. package/lib/inventory-common/product/product-search/product-search.module.d.ts +0 -13
  267. package/lib/inventory-common/product/product-statistics.service.d.ts +0 -9
  268. package/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.d.ts +0 -15
  269. package/lib/inventory-common/product/product-summary-chart/product-summary-chart.module.d.ts +0 -10
  270. package/lib/inventory-common/product/product-summary.service.d.ts +0 -8
  271. package/lib/inventory-common/product/product-view-page/product-view-page.component.d.ts +0 -44
  272. package/lib/inventory-common/product/product.module.d.ts +0 -31
  273. package/lib/inventory-common/product/product.service.d.ts +0 -8
  274. package/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.d.ts +0 -6
  275. package/lib/inventory-common/product-batch.service.d.ts +0 -8
  276. package/lib/inventory-common/rating/rating-form/rating-form.component.d.ts +0 -19
  277. package/lib/inventory-common/rating/rating-form-button/rating-form-button.component.d.ts +0 -15
  278. package/lib/inventory-common/rating/rating-list/rating-list.component.d.ts +0 -22
  279. package/lib/inventory-common/rating/rating-routing.module.d.ts +0 -7
  280. package/lib/inventory-common/rating/rating.module.d.ts +0 -8
  281. package/lib/inventory-common/rating/rating.service.d.ts +0 -7
  282. package/lib/inventory-common/recipient/recipient-form/recipient-form.component.d.ts +0 -21
  283. package/lib/inventory-common/recipient/recipient-list/recipient-list.component.d.ts +0 -16
  284. package/lib/inventory-common/recipient/recipient-routing.module.d.ts +0 -7
  285. package/lib/inventory-common/recipient/recipient.module.d.ts +0 -9
  286. package/lib/inventory-common/recipient/recipient.service.d.ts +0 -7
  287. package/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.d.ts +0 -27
  288. package/lib/inventory-common/reports/low-stock-report/low-stock-report.component.d.ts +0 -25
  289. package/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-product-data.service.d.ts +0 -8
  290. package/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-summary-report.component.d.ts +0 -25
  291. package/lib/inventory-common/services/techlify-form-service.d.ts +0 -5
  292. package/lib/inventory-common/shared/export-to-excel-button/export-to-excel-button.component.d.ts +0 -12
  293. package/lib/inventory-common/shared.module.d.ts +0 -13
  294. package/lib/inventory-common/stock-allocation/stock-allocation-list/stock-allocation-list.component.d.ts +0 -19
  295. package/lib/inventory-common/stock-allocation/stock-allocation.service.d.ts +0 -7
  296. package/lib/inventory-common/stock-issue/stock-issue-form/stock-issue-form.component.d.ts +0 -45
  297. package/lib/inventory-common/stock-issue/stock-issue-import-page/stock-issue-import-page.component.d.ts +0 -10
  298. package/lib/inventory-common/stock-issue/stock-issue-list/stock-issue-list.component.d.ts +0 -33
  299. package/lib/inventory-common/stock-issue/stock-issue-page/stock-issue-page.component.d.ts +0 -30
  300. package/lib/inventory-common/stock-issue/stock-issue-page/stock-issue-page.module.d.ts +0 -18
  301. package/lib/inventory-common/stock-issue/stock-issue-product-form/stock-issue-product-form-button/stock-issue-product-form-button.component.d.ts +0 -12
  302. package/lib/inventory-common/stock-issue/stock-issue-product-form/stock-issue-product-form.component.d.ts +0 -21
  303. package/lib/inventory-common/stock-issue/stock-issue-product-view/stock-issue-product-view.component.d.ts +0 -19
  304. package/lib/inventory-common/stock-issue/stock-issue-product.service.d.ts +0 -7
  305. package/lib/inventory-common/stock-issue/stock-issue-products-list/stock-issue-products-list.component.d.ts +0 -40
  306. package/lib/inventory-common/stock-issue/stock-issue-routing.module.d.ts +0 -7
  307. package/lib/inventory-common/stock-issue/stock-issue-single-product-form/stock-issue-single-product-form.component.d.ts +0 -42
  308. package/lib/inventory-common/stock-issue/stock-issue-view/stock-issue-view.component.d.ts +0 -19
  309. package/lib/inventory-common/stock-issue/stock-issue.module.d.ts +0 -14
  310. package/lib/inventory-common/stock-issue/stock-issue.service.d.ts +0 -7
  311. package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.component.d.ts +0 -48
  312. package/lib/inventory-common/stock-receipts/stock-receipt-import-page/stock-receipt-import-page.component.d.ts +0 -10
  313. package/lib/inventory-common/stock-receipts/stock-receipt-list/stock-receipt-list.component.d.ts +0 -30
  314. package/lib/inventory-common/stock-receipts/stock-receipt-product-form/stock-receipt-product-form-button/stock-receipt-product-form-button.component.d.ts +0 -12
  315. package/lib/inventory-common/stock-receipts/stock-receipt-product-form/stock-receipt-product-form.component.d.ts +0 -17
  316. package/lib/inventory-common/stock-receipts/stock-receipt-product-list/stock-receipt-product-list.component.d.ts +0 -31
  317. package/lib/inventory-common/stock-receipts/stock-receipt-product-view/stock-receipt-product-view.component.d.ts +0 -19
  318. package/lib/inventory-common/stock-receipts/stock-receipt-product.service.d.ts +0 -7
  319. package/lib/inventory-common/stock-receipts/stock-receipt-single-product-form/stock-receipt-simple-form/stock-receipt-single-product-form.component.d.ts +0 -33
  320. package/lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component.d.ts +0 -19
  321. package/lib/inventory-common/stock-receipts/stock-receipt.service.d.ts +0 -7
  322. package/lib/inventory-common/stock-receipts/stock-receipts-page/stock-receipts-page.component.d.ts +0 -21
  323. package/lib/inventory-common/stock-receipts/stock-receipts-routing.module.d.ts +0 -7
  324. package/lib/inventory-common/stock-receipts/stock-receipts.module.d.ts +0 -22
  325. package/lib/inventory-common/stock-summary.service.d.ts +0 -14
  326. package/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.d.ts +0 -19
  327. package/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.d.ts +0 -28
  328. package/lib/inventory-common/stock-transfer/stock-transfer.service.d.ts +0 -7
  329. package/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.d.ts +0 -20
  330. package/lib/inventory-common/supplier/payee-selector/payee-selector.module.d.ts +0 -11
  331. package/lib/inventory-common/supplier/purchase-order/purchase-order-form/purchase-order-form.component.d.ts +0 -30
  332. package/lib/inventory-common/supplier/purchase-order/purchase-order-listing/purchase-order-listing.component.d.ts +0 -16
  333. package/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product-form/purchase-order-product-form.component.d.ts +0 -16
  334. package/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product-form-button/purchase-order-product-form-button.component.d.ts +0 -12
  335. package/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product-list.component.d.ts +0 -15
  336. package/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product.service.d.ts +0 -8
  337. package/lib/inventory-common/supplier/purchase-order/purchase-order-view/purchase-order-view.component.d.ts +0 -19
  338. package/lib/inventory-common/supplier/purchase-order/purchase-order.service.d.ts +0 -8
  339. package/lib/inventory-common/supplier/supplier-branch-delete-button/supplier-branch-delete-button.component.d.ts +0 -18
  340. package/lib/inventory-common/supplier/supplier-branch-form/supplier-branch-form-button/supplier-branch-form-button.component.d.ts +0 -13
  341. package/lib/inventory-common/supplier/supplier-branch-form/supplier-branch-form.component.d.ts +0 -22
  342. package/lib/inventory-common/supplier/supplier-branch.service.d.ts +0 -7
  343. package/lib/inventory-common/supplier/supplier-branches-list/supplier-branches-list.component.d.ts +0 -18
  344. package/lib/inventory-common/supplier/supplier-form/supplier-form.component.d.ts +0 -25
  345. package/lib/inventory-common/supplier/supplier-form/supplier-form.service.d.ts +0 -7
  346. package/lib/inventory-common/supplier/supplier-information/supplier-information.component.d.ts +0 -18
  347. package/lib/inventory-common/supplier/supplier-list/supplier-list.component.d.ts +0 -20
  348. package/lib/inventory-common/supplier/supplier-routing.module.d.ts +0 -7
  349. package/lib/inventory-common/supplier/supplier-type.service.d.ts +0 -13
  350. package/lib/inventory-common/supplier/supplier-view/supplier-view.component.d.ts +0 -20
  351. package/lib/inventory-common/supplier/supplier.component.d.ts +0 -10
  352. package/lib/inventory-common/supplier/supplier.module.d.ts +0 -20
  353. package/lib/inventory-common/supplier/supplier.service.d.ts +0 -8
  354. package/lib/inventory-common/techlify-filter/techlify-filter.component.d.ts +0 -31
  355. package/lib/inventory-common/techlify-filter/techlify-filter.module.d.ts +0 -12
  356. package/public-api.d.ts +0 -67
@@ -0,0 +1 @@
1
+ {"version":3,"file":"techlify-inventory-common-recipient.module-gxR77BIj.mjs","names":["i1","i1","i3.RecipientService","i7","i8","i1","i2.RecipientService","i4","i5","i6","i11"],"sources":["../../../projects/inventory-common/src/lib/inventory-common/recipient/recipient.service.ts","../../../projects/inventory-common/src/lib/inventory-common/recipient/recipient-form/recipient-form.component.ts","../../../projects/inventory-common/src/lib/inventory-common/recipient/recipient-form/recipient-form.component.html","../../../projects/inventory-common/src/lib/inventory-common/recipient/recipient-list/recipient-list.component.ts","../../../projects/inventory-common/src/lib/inventory-common/recipient/recipient-list/recipient-list.component.html","../../../projects/inventory-common/src/lib/inventory-common/recipient/recipient-routing.module.ts","../../../projects/inventory-common/src/lib/inventory-common/recipient/recipient.module.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { HttpService, TechlifyService } from 'ngx-techlify-core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class RecipientService extends TechlifyService {\n constructor(httpService: HttpService) {\n super(httpService, 'recipients');\n }\n}\n","import { Component, Inject, OnInit, Optional, ChangeDetectionStrategy } from '@angular/core';\nimport { FormBuilder, Validators } from '@angular/forms';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { FormValidatorService, TechlifyFormComponent } from 'ngx-techlify-core';\nimport { RecipientService } from '../recipient.service';\nimport { SharedModule } from '../../shared.module';\n\n@Component({\n selector: 'app-recipient-form',\n imports: [SharedModule],\n templateUrl: './recipient-form.component.html',\n changeDetection: ChangeDetectionStrategy.Eager,\n styleUrls: ['./recipient-form.component.scss'],\n})\nexport class RecipientFormComponent extends TechlifyFormComponent implements OnInit {\n constructor(\n protected override formValidatorService: FormValidatorService,\n private formBuilder: FormBuilder,\n protected override service: RecipientService,\n public override dialogRef: MatDialogRef<RecipientFormComponent>,\n @Inject(MAT_DIALOG_DATA) @Optional() public data: { model?: any }\n ) {\n super(formValidatorService, service);\n\n this.errorMessages = {\n name: {\n required: 'The name field is required.',\n },\n };\n\n this.form = this.formBuilder.group({\n id: [''],\n name: ['', Validators.required],\n details: [''],\n });\n }\n\n ngOnInit(): void {\n const model = this.data?.model;\n if (model) {\n this.isUpdate = true;\n this.form.patchValue(model);\n }\n }\n}\n","<mat-card-title class=\"d-flex flex-row justify-content-center align-items-center\">\n Recipient Form\n</mat-card-title>\n<mat-card-content>\n <form class=\"d-flex flex-column gap-3\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\n <mat-form-field class=\"w-100\">\n <mat-label>Name</mat-label>\n <input matInput formControlName=\"name\" required />\n @if (isFieldValid('name')) {\n <mat-error>{{ getErrorMessage('name') }}</mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"w-100\">\n <mat-label>Details</mat-label>\n <textarea matInput formControlName=\"details\" rows=\"3\"></textarea>\n </mat-form-field>\n\n <div class=\"d-flex justify-content-end gap-2\">\n <button type=\"button\" mat-flat-button [disabled]=\"isWorking\" (click)=\"dialogRef.close()\">Cancel</button>\n <button type=\"submit\" mat-raised-button color=\"primary\" [disabled]=\"isWorking\">Save</button>\n </div>\n </form>\n</mat-card-content>\n","import { Component, OnInit, signal, ChangeDetectionStrategy } from '@angular/core';\nimport { FormBuilder } from '@angular/forms';\nimport { TechlifyListComponent } from 'ngx-techlify-core';\nimport { RecipientService } from '../recipient.service';\nimport { RecipientFormComponent } from '../recipient-form/recipient-form.component';\n\n@Component({\n selector: 'app-recipient-list',\n templateUrl: './recipient-list.component.html',\n styleUrls: ['./recipient-list.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false,\n})\nexport class RecipientListComponent extends TechlifyListComponent implements OnInit {\n recipientForm = signal(RecipientFormComponent);\n\n displayedColumns: string[] = [\n '#',\n 'name',\n 'details',\n 'actions'\n ];\n\n constructor(private fb: FormBuilder, protected override service: RecipientService) {\n super(service);\n this.filterFormConfiguration = {};\n this.filterForm = this.fb.group({\n search: [''],\n sort_by: ['created_at|desc'],\n });\n }\n\n ngOnInit(): void {\n this.patchFiltersFromRoute();\n this.loadData();\n this.listenFilterChanges();\n }\n}\n","<div class=\"d-flex flex-column gap-2\">\n <mat-card>\n <mat-card-content class=\"d-flex flex-row justify-content-between align-items-center\">\n <div class=\"d-flex flex-row align-items-center gap-2\">\n <h5 class=\"mb-0\">Recipients</h5>\n <app-techlify-form-button *ngxPermissionsOnly=\"['recipient.create']\" [component]=\"recipientForm()\"\n [width]=\"'500px'\" (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n </div>\n <div class=\"d-flex flex-row gap-2\" [formGroup]=\"filterForm\">\n <mat-form-field class=\"fl-md\">\n <mat-label>Search</mat-label>\n <input matInput formControlName=\"search\" />\n </mat-form-field>\n </div>\n </mat-card-content>\n </mat-card>\n\n <mat-card>\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" aria-describedby=\"Recipients\" infiniteScroll\n [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" matSort\n (matSortChange)=\"sortColumn($event)\">\n <ng-container matColumnDef=\"#\">\n <th mat-header-cell *matHeaderCellDef>#</th>\n <td mat-cell *matCellDef=\"let element; let i = index\">{{ i + 1 }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"name\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Name</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.name }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"details\">\n <th mat-header-cell *matHeaderCellDef>Details</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.details }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef>Actions</th>\n <td mat-cell *matCellDef=\"let element\">\n <div class=\"d-flex flex-row gap-1 align-items-center text-secondary\">\n <app-techlify-form-button *ngxPermissionsOnly=\"['recipient.update']\" [component]=\"recipientForm()\"\n [model]=\"element\" [width]=\"'500px'\" (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngxPermissionsOnly=\"['recipient.delete']\" [service]=\"service\"\n [model]=\"element\" [data]=\"{ type: 'Recipient', title: $safeNavigationMigration(element?.name) }\"\n (deleted)=\"modelsDeletedById($event)\"></app-techlify-delete-button>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n @if (isWorking) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n </mat-card-content>\n </mat-card>\n</div>\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { RecipientListComponent } from './recipient-list/recipient-list.component';\n\nconst routes: Routes = [\n {\n path: '',\n component: RecipientListComponent,\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class RecipientRoutingModule {}\n","import { NgModule } from '@angular/core';\nimport { NgxPermissionsModule } from 'ngx-permissions';\nimport { RecipientRoutingModule } from './recipient-routing.module';\nimport { RecipientListComponent } from './recipient-list/recipient-list.component';\nimport { SharedModule } from '../shared.module';\n\n@NgModule({\n declarations: [RecipientListComponent],\n imports: [RecipientRoutingModule, SharedModule],\n})\nexport class RecipientModule {}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAMA,IAAa,mBAAb,MAAa,yBAAyB,gBAAe;CACnD,YAAY,aAAwB;EAClC,MAAM,aAAa,YAAY;CACjC;CAHW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAgB,MAAA,CAAA,EAAA,OAAAA,KAAA,YAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAhB,OAAA,QAAA,GAAA,sBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAgB,YAFf;CAAM,CAAA;;AAEP,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAgB,YAAA,CAAA;EAH5B,MAAA;EAAW,MAAA,CAAA,EACV,YAAY,OACb,CAAA;;;;ACSD,IAAa,yBAAb,MAAa,+BAA+B,sBAAqB;CAE1C;CACX;CACW;CACH;CAC4B;CAL9C,YACqB,sBACX,aACW,SACH,WAC4B,MAAqB;EAEjE,MAAM,sBAAsB,OAAO;EANhB,KAAA,uBAAA;EACX,KAAA,cAAA;EACW,KAAA,UAAA;EACH,KAAA,YAAA;EAC4B,KAAA,OAAA;EAI5C,KAAK,gBAAgB,EACnB,MAAM,EACJ,UAAU,8BACX,EACF;EAED,KAAK,OAAO,KAAK,YAAY,MAAM;GACjC,IAAI,CAAC,EAAE;GACP,MAAM,CAAC,IAAI,WAAW,QAAQ;GAC9B,SAAS,CAAC,EAAE;EACb,CAAA;CACH;CAEA,WAAQ;EACN,MAAM,QAAQ,KAAK,MAAM;EACzB,IAAI,OAAO;GACT,KAAK,WAAW;GAChB,KAAK,KAAK,WA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AA,SAAA,CAFvB,YAAY;CAAA,CAAA;CAEX,OAAA,OAAA,GAAA,oBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAsB,SAAA,CAHvB,aAAa,SAAS,MAAM,GAC5B,YAAY;CAAA,CAAA;;AAEX,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAsB,YAAA,CAAA;EAJlC,MAAA;EAAS,MAAA,CAAA;GACR,SAAS,CAAC,aAAa,SAAS,MAAM,CAAC;GACvC,SAAS,CAAC,YAAY;EACvB,CAAA;;;ACJD,IAAa,kBAAb,MAAa,gBAAe;CAAf,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAe,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAf,OAAA,OAAA,GAAA,oBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAe,cAAA,CAHX,sBAAsB;EAAA,SAAA,CAC3B,wBAAwB,YAAY;CAAA,CAAA;CAEnC,OAAA,OAAA,GAAA,oBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAe,SAAA,CAFhB,wBAAwB,YAAY;CAAA,CAAA;;AAEnC,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAe,YAAA,CAAA;EAJ3B,MAAA;EAAS,MAAA,CAAA;GACR,cAAc,CAAC,sBAAsB;GACrC,SAAS,CAAC,wBAAwB,YAAY;EAC/C,CAAA"}
@@ -0,0 +1,102 @@
1
+ import { t as MaterialModule$1 } from "./techlify-inventory-common-material.module-ClupVm7-.mjs";
2
+ import * as i0 from "@angular/core";
3
+ import { NgModule } from "@angular/core";
4
+ import { RouterModule } from "@angular/router";
5
+ import { AuditLogForModelModule, FormConfigurationForFormModule, NoteModule, SearchableSelectorModule, TechlifyDeleteButtonComponent, TechlifyFormButtonComponent, TechlifyIconModule, TimelineFilterModule } from "ngx-techlify-core";
6
+ import { InfiniteScrollDirective } from "ngx-infinite-scroll";
7
+ import { ReactiveFormsModule } from "@angular/forms";
8
+ import { CommonModule } from "@angular/common";
9
+ import { NgxPermissionsModule } from "ngx-permissions";
10
+ var SharedModule = class SharedModule {
11
+ static ɵfac = i0.ɵɵngDeclareFactory({
12
+ minVersion: "12.0.0",
13
+ version: "22.2.5",
14
+ ngImport: i0,
15
+ type: SharedModule,
16
+ deps: [],
17
+ target: i0.ɵɵFactoryTarget.NgModule
18
+ });
19
+ static ɵmod = i0.ɵɵngDeclareNgModule({
20
+ minVersion: "14.0.0",
21
+ version: "22.2.5",
22
+ ngImport: i0,
23
+ type: SharedModule,
24
+ imports: [
25
+ TechlifyDeleteButtonComponent,
26
+ TechlifyFormButtonComponent,
27
+ InfiniteScrollDirective
28
+ ],
29
+ exports: [
30
+ AuditLogForModelModule,
31
+ CommonModule,
32
+ FormConfigurationForFormModule,
33
+ InfiniteScrollDirective,
34
+ MaterialModule$1,
35
+ NgxPermissionsModule,
36
+ NoteModule,
37
+ ReactiveFormsModule,
38
+ RouterModule,
39
+ SearchableSelectorModule,
40
+ TechlifyDeleteButtonComponent,
41
+ TechlifyFormButtonComponent,
42
+ TechlifyIconModule,
43
+ TimelineFilterModule
44
+ ]
45
+ });
46
+ static ɵinj = i0.ɵɵngDeclareInjector({
47
+ minVersion: "12.0.0",
48
+ version: "22.2.5",
49
+ ngImport: i0,
50
+ type: SharedModule,
51
+ imports: [
52
+ TechlifyDeleteButtonComponent,
53
+ TechlifyFormButtonComponent,
54
+ AuditLogForModelModule,
55
+ CommonModule,
56
+ FormConfigurationForFormModule,
57
+ MaterialModule$1,
58
+ NgxPermissionsModule,
59
+ NoteModule,
60
+ ReactiveFormsModule,
61
+ RouterModule,
62
+ SearchableSelectorModule,
63
+ TechlifyIconModule,
64
+ TimelineFilterModule
65
+ ]
66
+ });
67
+ };
68
+ i0.ɵɵngDeclareClassMetadata({
69
+ minVersion: "12.0.0",
70
+ version: "22.2.5",
71
+ ngImport: i0,
72
+ type: SharedModule,
73
+ decorators: [{
74
+ type: NgModule,
75
+ args: [{
76
+ imports: [
77
+ TechlifyDeleteButtonComponent,
78
+ TechlifyFormButtonComponent,
79
+ InfiniteScrollDirective
80
+ ],
81
+ exports: [
82
+ AuditLogForModelModule,
83
+ CommonModule,
84
+ FormConfigurationForFormModule,
85
+ InfiniteScrollDirective,
86
+ MaterialModule$1,
87
+ NgxPermissionsModule,
88
+ NoteModule,
89
+ ReactiveFormsModule,
90
+ RouterModule,
91
+ SearchableSelectorModule,
92
+ TechlifyDeleteButtonComponent,
93
+ TechlifyFormButtonComponent,
94
+ TechlifyIconModule,
95
+ TimelineFilterModule
96
+ ]
97
+ }]
98
+ }]
99
+ });
100
+ export { SharedModule as t };
101
+
102
+ //# sourceMappingURL=techlify-inventory-common-shared.module-DP-FVqea.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"techlify-inventory-common-shared.module-DP-FVqea.mjs","names":["MaterialModule"],"sources":["../../../projects/inventory-common/src/lib/inventory-common/shared.module.ts"],"sourcesContent":["import { NgModule } from \"@angular/core\";\nimport { MaterialModule } from \"./material.module\";\nimport { CommonModule } from \"@angular/common\";\nimport { AuditLogForModelModule, FormConfigurationForFormModule, NoteModule, SearchableSelectorModule, TechlifyDeleteButtonComponent, TechlifyFormButtonComponent, TechlifyIconModule, TimelineFilterModule } from \"ngx-techlify-core\";\nimport { InfiniteScrollDirective } from \"ngx-infinite-scroll\";\nimport { RouterModule } from \"@angular/router\";\nimport { ReactiveFormsModule } from \"@angular/forms\";\nimport { NgxPermissionsModule } from \"ngx-permissions\";\n\n@NgModule({\n imports: [\n TechlifyDeleteButtonComponent,\n TechlifyFormButtonComponent,\n InfiniteScrollDirective\n ],\n exports: [\n AuditLogForModelModule,\n CommonModule,\n FormConfigurationForFormModule,\n InfiniteScrollDirective,\n MaterialModule,\n NgxPermissionsModule,\n NoteModule,\n ReactiveFormsModule,\n RouterModule,\n SearchableSelectorModule,\n TechlifyDeleteButtonComponent,\n TechlifyFormButtonComponent,\n TechlifyIconModule,\n TimelineFilterModule,\n ]\n})\nexport class SharedModule { }\n"],"mappings":";;;;;;;;;AAgCA,IAAa,eAAb,MAAa,aAAY;CAAZ,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAY,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAZ,OAAA,OAAA,GAAA,oBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAY,SAAA;GArBrB;GACA;GACA;EAAuB;EAAA,SAAA;GAGvB;GACA;GACA;GACA;GACAA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EAAoB;CAAA,CAAA;CAGX,OAAA,OAAA,GAAA,oBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAY,SAAA;GArBrB;GACA;GAIA;GACA;GACA;GAEAA;GACA;GACA;GACA;GACA;GACA;GAGA;GACA;EAAoB;CAAA,CAAA;;AAGX,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAY,YAAA,CAAA;EAvBxB,MAAA;EAAS,MAAA,CAAA;GACR,SAAS;IACP;IACA;IACA;GACD;GACD,SAAS;IACP;IACA;IACA;IACA;IACAA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACD;EACF,CAAA"}
@@ -0,0 +1,382 @@
1
+ import { t as SharedModule } from "./techlify-inventory-common-shared.module-DP-FVqea.mjs";
2
+ import * as i0 from "@angular/core";
3
+ import { ChangeDetectionStrategy, Component, Injectable, effect, input, model } from "@angular/core";
4
+ import * as i7 from "@angular/router";
5
+ import * as i1 from "ngx-techlify-core";
6
+ import { ColumnSelectorModule, TechlifyListComponent, TechlifyService } from "ngx-techlify-core";
7
+ import * as i4 from "@angular/material/card";
8
+ import * as i6 from "@angular/material/table";
9
+ import * as i5 from "@angular/material/progress-bar";
10
+ import * as i3 from "ngx-infinite-scroll";
11
+ import * as i2 from "@angular/forms";
12
+ import { __decorate } from "tslib";
13
+ import { UntilDestroy } from "@ngneat/until-destroy";
14
+ import * as i9 from "@angular/common";
15
+ var StockAllocationService = class StockAllocationService extends TechlifyService {
16
+ constructor(httpService) {
17
+ super(httpService, "stock-allocations");
18
+ }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({
20
+ minVersion: "12.0.0",
21
+ version: "22.2.5",
22
+ ngImport: i0,
23
+ type: StockAllocationService,
24
+ deps: [{ token: i1.HttpService }],
25
+ target: i0.ɵɵFactoryTarget.Injectable
26
+ });
27
+ static ɵprov = i0.ɵɵngDeclareInjectable({
28
+ minVersion: "12.0.0",
29
+ version: "22.2.5",
30
+ ngImport: i0,
31
+ type: StockAllocationService,
32
+ providedIn: "root"
33
+ });
34
+ };
35
+ i0.ɵɵngDeclareClassMetadata({
36
+ minVersion: "12.0.0",
37
+ version: "22.2.5",
38
+ ngImport: i0,
39
+ type: StockAllocationService,
40
+ decorators: [{
41
+ type: Injectable,
42
+ args: [{ providedIn: "root" }]
43
+ }],
44
+ ctorParameters: () => [{ type: i1.HttpService }]
45
+ });
46
+ let StockAllocationListComponent = class StockAllocationListComponent extends TechlifyListComponent {
47
+ service;
48
+ formBuilder;
49
+ stockIssueProductId = input(null, ...ngDevMode ? [{ debugName: "stockIssueProductId" }] : /* istanbul ignore next */ []);
50
+ stockReceiptProductId = input(null, ...ngDevMode ? [{ debugName: "stockReceiptProductId" }] : /* istanbul ignore next */ []);
51
+ selectedColumns = model([], ...ngDevMode ? [{ debugName: "selectedColumns" }] : /* istanbul ignore next */ []);
52
+ columnConfig = [
53
+ {
54
+ label: "#",
55
+ def: "no",
56
+ isSelected: true,
57
+ isEditable: false
58
+ },
59
+ {
60
+ label: "Receipt",
61
+ def: "receipt",
62
+ isSelected: true,
63
+ isEditable: false
64
+ },
65
+ {
66
+ label: "Issue",
67
+ def: "issue",
68
+ isSelected: true,
69
+ isEditable: false
70
+ },
71
+ {
72
+ label: "Date",
73
+ def: "date",
74
+ isSelected: true,
75
+ isEditable: true
76
+ },
77
+ {
78
+ label: "Quantity",
79
+ def: "quantity",
80
+ isSelected: true,
81
+ isEditable: true
82
+ },
83
+ {
84
+ label: "Purchase Price",
85
+ def: "purchase_price",
86
+ isSelected: true,
87
+ isEditable: true
88
+ },
89
+ {
90
+ label: "Total Value",
91
+ def: "total_value",
92
+ isSelected: true,
93
+ isEditable: true
94
+ }
95
+ ];
96
+ get displayedColumns() {
97
+ return this.selectedColumns().map((col) => col.def);
98
+ }
99
+ constructor(service, formBuilder) {
100
+ super();
101
+ this.service = service;
102
+ this.formBuilder = formBuilder;
103
+ this.filterFormConfiguration = {};
104
+ this.filterForm = this.formBuilder.group({ sort_by: ["id|desc"] });
105
+ effect(() => {
106
+ const stockIssueProductId = this.stockIssueProductId();
107
+ const stockReceiptProductId = this.stockReceiptProductId();
108
+ if (stockIssueProductId || stockReceiptProductId) this.reload();
109
+ });
110
+ }
111
+ ngOnInit() {
112
+ const isReceiptView = !!this.stockReceiptProductId();
113
+ this.columnConfig.find((col) => col.def === "receipt").isSelected = !isReceiptView;
114
+ this.columnConfig.find((col) => col.def === "issue").isSelected = isReceiptView;
115
+ this.selectedColumns.set(this.columnConfig.filter((col) => col.isSelected));
116
+ }
117
+ loadData() {
118
+ const filters = {
119
+ ...this.filterForm.value,
120
+ page: this.page,
121
+ per_page: this.perPage
122
+ };
123
+ if (this.stockIssueProductId()) filters.stock_issue_product_ids = this.stockIssueProductId();
124
+ if (this.stockReceiptProductId()) filters.stock_receipt_product_ids = this.stockReceiptProductId();
125
+ super.loadData(filters);
126
+ }
127
+ static ɵfac = i0.ɵɵngDeclareFactory({
128
+ minVersion: "12.0.0",
129
+ version: "22.2.5",
130
+ ngImport: i0,
131
+ type: StockAllocationListComponent,
132
+ deps: [{ token: StockAllocationService }, { token: i2.FormBuilder }],
133
+ target: i0.ɵɵFactoryTarget.Component
134
+ });
135
+ static ɵcmp = i0.ɵɵngDeclareComponent({
136
+ minVersion: "17.0.0",
137
+ version: "22.2.5",
138
+ type: StockAllocationListComponent,
139
+ isStandalone: true,
140
+ selector: "app-stock-allocation-list",
141
+ inputs: {
142
+ stockIssueProductId: {
143
+ classPropertyName: "stockIssueProductId",
144
+ publicName: "stockIssueProductId",
145
+ isSignal: true,
146
+ isRequired: false,
147
+ transformFunction: null
148
+ },
149
+ stockReceiptProductId: {
150
+ classPropertyName: "stockReceiptProductId",
151
+ publicName: "stockReceiptProductId",
152
+ isSignal: true,
153
+ isRequired: false,
154
+ transformFunction: null
155
+ },
156
+ selectedColumns: {
157
+ classPropertyName: "selectedColumns",
158
+ publicName: "selectedColumns",
159
+ isSignal: true,
160
+ isRequired: false,
161
+ transformFunction: null
162
+ }
163
+ },
164
+ outputs: { selectedColumns: "selectedColumnsChange" },
165
+ usesInheritance: true,
166
+ ngImport: i0,
167
+ template: "<mat-card>\n <mat-card-header class=\"d-flex align-items-center gap-2\">\n <mat-card-title>Stock Allocations</mat-card-title>\n @if (columnConfig.length > 0) {\n <app-column-selector mode=\"icon\" [columnConfigs]=\"columnConfig\"\n [(selectedColumns)]=\"selectedColumns\"></app-column-selector>\n }\n </mat-card-header>\n\n <mat-card-content class=\"p-0\">\n <table mat-table [dataSource]=\"models\" class=\"w-100\" aria-describedby=\"Stock Allocations\" infiniteScroll\n [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\">\n\n <ng-container matColumnDef=\"no\">\n <th mat-header-cell *matHeaderCellDef>#</th>\n <td mat-cell *matCellDef=\"let element; let i = index\">{{ i + 1 }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"receipt\">\n <th mat-header-cell *matHeaderCellDef>Receipt</th>\n <td mat-cell *matCellDef=\"let element\">\n <a class=\"text-decoration-none text-dark\"\n [routerLink]=\"['/inventory/stock-receipts/products', $safeNavigationMigration(element?.stock_receipt_product?.id), 'view']\">\n Receipt #{{ element?.stock_receipt_product?.stock_receipt_id }}\n <i class=\"fa-solid fa-up-right-from-square\"></i>\n </a>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"issue\">\n <th mat-header-cell *matHeaderCellDef>Issue</th>\n <td mat-cell *matCellDef=\"let element\">\n <a class=\"text-decoration-none text-dark\"\n [routerLink]=\"['/inventory/stock-issues/products', $safeNavigationMigration(element?.stock_issue_product?.id), 'view']\">\n Issue #{{ element?.stock_issue_product?.stock_issue_id }}\n <i class=\"fa-solid fa-up-right-from-square\"></i>\n </a>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"quantity\">\n <th mat-header-cell *matHeaderCellDef>Quantity</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.quantity }} {{ element?.stock_receipt_product?.product?.measure?.title }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"date\">\n <th mat-header-cell *matHeaderCellDef>Date</th>\n <td mat-cell *matCellDef=\"let element\">\n @if (stockReceiptProductId()) {\n {{ $safeNavigationMigration(element?.stock_issue_product?.stock_issue?.date) | date }}\n } @if (!stockReceiptProductId()) {\n {{ $safeNavigationMigration(element?.stock_receipt_product?.stock_receipt?.date) | date }}\n }\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"purchase_price\">\n <th mat-header-cell *matHeaderCellDef>Purchase Price</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ $safeNavigationMigration(element?.stock_receipt_product?.purchase_price) | currency }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"total_value\">\n <th mat-header-cell *matHeaderCellDef>Total Value</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ $safeNavigationMigration(element?.quantity) * $safeNavigationMigration(element?.stock_receipt_product?.purchase_price) | currency }}\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n\n @if (!isWorking && models.length === 0) {\n <p class=\"text-secondary text-center my-3\">\n No allocations found.\n </p>\n } @if (isWorking) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n </mat-card-content>\n</mat-card>\n",
168
+ styles: [""],
169
+ dependencies: [
170
+ {
171
+ kind: "ngmodule",
172
+ type: SharedModule
173
+ },
174
+ {
175
+ kind: "directive",
176
+ type: i3.InfiniteScrollDirective,
177
+ selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]",
178
+ inputs: [
179
+ "infiniteScrollDistance",
180
+ "infiniteScrollUpDistance",
181
+ "infiniteScrollThrottle",
182
+ "infiniteScrollDisabled",
183
+ "infiniteScrollContainer",
184
+ "scrollWindow",
185
+ "immediateCheck",
186
+ "horizontal",
187
+ "alwaysCallback",
188
+ "fromRoot"
189
+ ],
190
+ outputs: ["scrolled", "scrolledUp"]
191
+ },
192
+ {
193
+ kind: "component",
194
+ type: i4.MatCard,
195
+ selector: "mat-card",
196
+ inputs: ["appearance"],
197
+ exportAs: ["matCard"]
198
+ },
199
+ {
200
+ kind: "directive",
201
+ type: i4.MatCardContent,
202
+ selector: "mat-card-content"
203
+ },
204
+ {
205
+ kind: "component",
206
+ type: i4.MatCardHeader,
207
+ selector: "mat-card-header"
208
+ },
209
+ {
210
+ kind: "directive",
211
+ type: i4.MatCardTitle,
212
+ selector: "mat-card-title, [mat-card-title], [matCardTitle]"
213
+ },
214
+ {
215
+ kind: "component",
216
+ type: i5.MatProgressBar,
217
+ selector: "mat-progress-bar",
218
+ inputs: [
219
+ "color",
220
+ "value",
221
+ "bufferValue",
222
+ "mode"
223
+ ],
224
+ outputs: ["animationEnd"],
225
+ exportAs: ["matProgressBar"]
226
+ },
227
+ {
228
+ kind: "component",
229
+ type: i6.MatTable,
230
+ selector: "mat-table, table[mat-table]",
231
+ exportAs: ["matTable"]
232
+ },
233
+ {
234
+ kind: "directive",
235
+ type: i6.MatHeaderCellDef,
236
+ selector: "[matHeaderCellDef]"
237
+ },
238
+ {
239
+ kind: "directive",
240
+ type: i6.MatHeaderRowDef,
241
+ selector: "[matHeaderRowDef]",
242
+ inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"]
243
+ },
244
+ {
245
+ kind: "directive",
246
+ type: i6.MatColumnDef,
247
+ selector: "[matColumnDef]",
248
+ inputs: ["matColumnDef"]
249
+ },
250
+ {
251
+ kind: "directive",
252
+ type: i6.MatCellDef,
253
+ selector: "[matCellDef]"
254
+ },
255
+ {
256
+ kind: "directive",
257
+ type: i6.MatRowDef,
258
+ selector: "[matRowDef]",
259
+ inputs: ["matRowDefColumns", "matRowDefWhen"]
260
+ },
261
+ {
262
+ kind: "directive",
263
+ type: i6.MatHeaderCell,
264
+ selector: "mat-header-cell, th[mat-header-cell]"
265
+ },
266
+ {
267
+ kind: "directive",
268
+ type: i6.MatCell,
269
+ selector: "mat-cell, td[mat-cell]"
270
+ },
271
+ {
272
+ kind: "component",
273
+ type: i6.MatHeaderRow,
274
+ selector: "mat-header-row, tr[mat-header-row]",
275
+ exportAs: ["matHeaderRow"]
276
+ },
277
+ {
278
+ kind: "component",
279
+ type: i6.MatRow,
280
+ selector: "mat-row, tr[mat-row]",
281
+ exportAs: ["matRow"]
282
+ },
283
+ {
284
+ kind: "directive",
285
+ type: i7.RouterLink,
286
+ selector: "[routerLink]",
287
+ inputs: [
288
+ "target",
289
+ "queryParams",
290
+ "fragment",
291
+ "queryParamsHandling",
292
+ "state",
293
+ "info",
294
+ "relativeTo",
295
+ "preserveFragment",
296
+ "skipLocationChange",
297
+ "replaceUrl",
298
+ "browserUrl",
299
+ "routerLink"
300
+ ]
301
+ },
302
+ {
303
+ kind: "ngmodule",
304
+ type: ColumnSelectorModule
305
+ },
306
+ {
307
+ kind: "component",
308
+ type: i1.ColumnSelectorComponent,
309
+ selector: "app-column-selector",
310
+ inputs: [
311
+ "label",
312
+ "mode",
313
+ "columnConfigs",
314
+ "selectedColumns",
315
+ "isExportWorking"
316
+ ],
317
+ outputs: ["selectedColumnsChange", "displayedColumnsChange"]
318
+ },
319
+ {
320
+ kind: "pipe",
321
+ type: i9.CurrencyPipe,
322
+ name: "currency"
323
+ },
324
+ {
325
+ kind: "pipe",
326
+ type: i9.DatePipe,
327
+ name: "date"
328
+ }
329
+ ],
330
+ changeDetection: i0.ChangeDetectionStrategy.Eager,
331
+ preserveWhitespaces: true
332
+ });
333
+ };
334
+ StockAllocationListComponent = __decorate([UntilDestroy()], StockAllocationListComponent);
335
+ i0.ɵɵngDeclareClassMetadata({
336
+ minVersion: "12.0.0",
337
+ version: "22.2.5",
338
+ ngImport: i0,
339
+ type: StockAllocationListComponent,
340
+ decorators: [{
341
+ type: Component,
342
+ args: [{
343
+ selector: "app-stock-allocation-list",
344
+ imports: [SharedModule, ColumnSelectorModule],
345
+ changeDetection: ChangeDetectionStrategy.Eager,
346
+ template: "<mat-card>\n <mat-card-header class=\"d-flex align-items-center gap-2\">\n <mat-card-title>Stock Allocations</mat-card-title>\n @if (columnConfig.length > 0) {\n <app-column-selector mode=\"icon\" [columnConfigs]=\"columnConfig\"\n [(selectedColumns)]=\"selectedColumns\"></app-column-selector>\n }\n </mat-card-header>\n\n <mat-card-content class=\"p-0\">\n <table mat-table [dataSource]=\"models\" class=\"w-100\" aria-describedby=\"Stock Allocations\" infiniteScroll\n [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\">\n\n <ng-container matColumnDef=\"no\">\n <th mat-header-cell *matHeaderCellDef>#</th>\n <td mat-cell *matCellDef=\"let element; let i = index\">{{ i + 1 }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"receipt\">\n <th mat-header-cell *matHeaderCellDef>Receipt</th>\n <td mat-cell *matCellDef=\"let element\">\n <a class=\"text-decoration-none text-dark\"\n [routerLink]=\"['/inventory/stock-receipts/products', $safeNavigationMigration(element?.stock_receipt_product?.id), 'view']\">\n Receipt #{{ element?.stock_receipt_product?.stock_receipt_id }}\n <i class=\"fa-solid fa-up-right-from-square\"></i>\n </a>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"issue\">\n <th mat-header-cell *matHeaderCellDef>Issue</th>\n <td mat-cell *matCellDef=\"let element\">\n <a class=\"text-decoration-none text-dark\"\n [routerLink]=\"['/inventory/stock-issues/products', $safeNavigationMigration(element?.stock_issue_product?.id), 'view']\">\n Issue #{{ element?.stock_issue_product?.stock_issue_id }}\n <i class=\"fa-solid fa-up-right-from-square\"></i>\n </a>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"quantity\">\n <th mat-header-cell *matHeaderCellDef>Quantity</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.quantity }} {{ element?.stock_receipt_product?.product?.measure?.title }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"date\">\n <th mat-header-cell *matHeaderCellDef>Date</th>\n <td mat-cell *matCellDef=\"let element\">\n @if (stockReceiptProductId()) {\n {{ $safeNavigationMigration(element?.stock_issue_product?.stock_issue?.date) | date }}\n } @if (!stockReceiptProductId()) {\n {{ $safeNavigationMigration(element?.stock_receipt_product?.stock_receipt?.date) | date }}\n }\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"purchase_price\">\n <th mat-header-cell *matHeaderCellDef>Purchase Price</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ $safeNavigationMigration(element?.stock_receipt_product?.purchase_price) | currency }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"total_value\">\n <th mat-header-cell *matHeaderCellDef>Total Value</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ $safeNavigationMigration(element?.quantity) * $safeNavigationMigration(element?.stock_receipt_product?.purchase_price) | currency }}\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n\n @if (!isWorking && models.length === 0) {\n <p class=\"text-secondary text-center my-3\">\n No allocations found.\n </p>\n } @if (isWorking) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n </mat-card-content>\n</mat-card>\n"
347
+ }]
348
+ }],
349
+ ctorParameters: () => [{ type: StockAllocationService }, { type: i2.FormBuilder }],
350
+ propDecorators: {
351
+ stockIssueProductId: [{
352
+ type: i0.Input,
353
+ args: [{
354
+ isSignal: true,
355
+ alias: "stockIssueProductId",
356
+ required: false
357
+ }]
358
+ }],
359
+ stockReceiptProductId: [{
360
+ type: i0.Input,
361
+ args: [{
362
+ isSignal: true,
363
+ alias: "stockReceiptProductId",
364
+ required: false
365
+ }]
366
+ }],
367
+ selectedColumns: [{
368
+ type: i0.Input,
369
+ args: [{
370
+ isSignal: true,
371
+ alias: "selectedColumns",
372
+ required: false
373
+ }]
374
+ }, {
375
+ type: i0.Output,
376
+ args: ["selectedColumnsChange"]
377
+ }]
378
+ }
379
+ });
380
+ export { StockAllocationListComponent as t };
381
+
382
+ //# sourceMappingURL=techlify-inventory-common-stock-allocation-list.component-Du-VCtbs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"techlify-inventory-common-stock-allocation-list.component-Du-VCtbs.mjs","names":["i1.StockAllocationService","i8"],"sources":["../../../projects/inventory-common/src/lib/inventory-common/stock-allocation/stock-allocation.service.ts","../../../projects/inventory-common/src/lib/inventory-common/stock-allocation/stock-allocation-list/stock-allocation-list.component.ts","../../../projects/inventory-common/src/lib/inventory-common/stock-allocation/stock-allocation-list/stock-allocation-list.component.html"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { HttpService, TechlifyService } from 'ngx-techlify-core';\n\n@Injectable({ providedIn: 'root' })\nexport class StockAllocationService extends TechlifyService {\n constructor(httpService: HttpService) {\n super(httpService, 'stock-allocations');\n }\n}\n","import { Component, OnInit, effect, input, model, ChangeDetectionStrategy } from '@angular/core';\nimport { FormBuilder } from '@angular/forms';\nimport { UntilDestroy } from '@ngneat/until-destroy';\nimport { ColumnConfig, ColumnSelectorModule, TechlifyListComponent } from 'ngx-techlify-core';\nimport { SharedModule } from '../../shared.module';\nimport { StockAllocationService } from '../stock-allocation.service';\n\n@UntilDestroy()\n@Component({\n selector: 'app-stock-allocation-list',\n imports: [SharedModule, ColumnSelectorModule],\n templateUrl: './stock-allocation-list.component.html',\n changeDetection: ChangeDetectionStrategy.Eager,\n styleUrls: ['./stock-allocation-list.component.scss'],\n})\nexport class StockAllocationListComponent extends TechlifyListComponent implements OnInit {\n stockIssueProductId = input<number | null>(null);\n stockReceiptProductId = input<number | null>(null);\n\n selectedColumns = model<ColumnConfig[]>([]);\n\n columnConfig: ColumnConfig[] = [\n { label: '#', def: 'no', isSelected: true, isEditable: false },\n { label: 'Receipt', def: 'receipt', isSelected: true, isEditable: false },\n { label: 'Issue', def: 'issue', isSelected: true, isEditable: false },\n { label: 'Date', def: 'date', isSelected: true, isEditable: true },\n { label: 'Quantity', def: 'quantity', isSelected: true, isEditable: true },\n { label: 'Purchase Price', def: 'purchase_price', isSelected: true, isEditable: true },\n { label: 'Total Value', def: 'total_value', isSelected: true, isEditable: true },\n ];\n\n get displayedColumns(): string[] {\n return this.selectedColumns().map(col => col.def);\n }\n\n constructor(\n protected override service: StockAllocationService,\n private formBuilder: FormBuilder\n ) {\n super();\n\n this.filterFormConfiguration = {};\n this.filterForm = this.formBuilder.group({\n sort_by: ['id|desc'],\n });\n\n effect(() => {\n const stockIssueProductId = this.stockIssueProductId();\n const stockReceiptProductId = this.stockReceiptProductId();\n if (stockIssueProductId || stockReceiptProductId) {\n this.reload();\n }\n });\n }\n\n ngOnInit(): void {\n const isReceiptView = !!this.stockReceiptProductId();\n this.columnConfig.find(col => col.def === 'receipt')!.isSelected = !isReceiptView;\n this.columnConfig.find(col => col.def === 'issue')!.isSelected = isReceiptView;\n this.selectedColumns.set(this.columnConfig.filter(col => col.isSelected));\n }\n\n override loadData(): void {\n const filters: any = {\n ...this.filterForm.value,\n page: this.page,\n per_page: this.perPage,\n };\n\n if (this.stockIssueProductId()) {\n filters.stock_issue_product_ids = this.stockIssueProductId();\n }\n\n if (this.stockReceiptProductId()) {\n filters.stock_receipt_product_ids = this.stockReceiptProductId();\n }\n\n super.loadData(filters);\n }\n}\n","<mat-card>\n <mat-card-header class=\"d-flex align-items-center gap-2\">\n <mat-card-title>Stock Allocations</mat-card-title>\n @if (columnConfig.length > 0) {\n <app-column-selector mode=\"icon\" [columnConfigs]=\"columnConfig\"\n [(selectedColumns)]=\"selectedColumns\"></app-column-selector>\n }\n </mat-card-header>\n\n <mat-card-content class=\"p-0\">\n <table mat-table [dataSource]=\"models\" class=\"w-100\" aria-describedby=\"Stock Allocations\" infiniteScroll\n [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\">\n\n <ng-container matColumnDef=\"no\">\n <th mat-header-cell *matHeaderCellDef>#</th>\n <td mat-cell *matCellDef=\"let element; let i = index\">{{ i + 1 }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"receipt\">\n <th mat-header-cell *matHeaderCellDef>Receipt</th>\n <td mat-cell *matCellDef=\"let element\">\n <a class=\"text-decoration-none text-dark\"\n [routerLink]=\"['/inventory/stock-receipts/products', $safeNavigationMigration(element?.stock_receipt_product?.id), 'view']\">\n Receipt #{{ element?.stock_receipt_product?.stock_receipt_id }}\n <i class=\"fa-solid fa-up-right-from-square\"></i>\n </a>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"issue\">\n <th mat-header-cell *matHeaderCellDef>Issue</th>\n <td mat-cell *matCellDef=\"let element\">\n <a class=\"text-decoration-none text-dark\"\n [routerLink]=\"['/inventory/stock-issues/products', $safeNavigationMigration(element?.stock_issue_product?.id), 'view']\">\n Issue #{{ element?.stock_issue_product?.stock_issue_id }}\n <i class=\"fa-solid fa-up-right-from-square\"></i>\n </a>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"quantity\">\n <th mat-header-cell *matHeaderCellDef>Quantity</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.quantity }} {{ element?.stock_receipt_product?.product?.measure?.title }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"date\">\n <th mat-header-cell *matHeaderCellDef>Date</th>\n <td mat-cell *matCellDef=\"let element\">\n @if (stockReceiptProductId()) {\n {{ $safeNavigationMigration(element?.stock_issue_product?.stock_issue?.date) | date }}\n } @if (!stockReceiptProductId()) {\n {{ $safeNavigationMigration(element?.stock_receipt_product?.stock_receipt?.date) | date }}\n }\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"purchase_price\">\n <th mat-header-cell *matHeaderCellDef>Purchase Price</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ $safeNavigationMigration(element?.stock_receipt_product?.purchase_price) | currency }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"total_value\">\n <th mat-header-cell *matHeaderCellDef>Total Value</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ $safeNavigationMigration(element?.quantity) * $safeNavigationMigration(element?.stock_receipt_product?.purchase_price) | currency }}\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n\n @if (!isWorking && models.length === 0) {\n <p class=\"text-secondary text-center my-3\">\n No allocations found.\n </p>\n } @if (isWorking) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n </mat-card-content>\n</mat-card>\n"],"mappings":";;;;;;;;;;;;;;AAIA,IAAa,yBAAb,MAAa,+BAA+B,gBAAe;CACzD,YAAY,aAAwB;EAClC,MAAM,aAAa,mBAAmB;CACxC;CAHW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAsB,MAAA,CAAA,EAAA,OAAA,GAAA,YAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAtB,OAAA,QAAA,GAAA,sBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;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