techlify-inventory-common 18.2.0 → 18.3.1

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 (192) hide show
  1. package/esm2022/lib/inventory-common/category/category-form/category-form.component.mjs +12 -12
  2. package/esm2022/lib/inventory-common/category/category-form-button/category-form-button.component.mjs +5 -5
  3. package/esm2022/lib/inventory-common/category/category-list-page/category-list-page.component.mjs +22 -26
  4. package/esm2022/lib/inventory-common/category/category-routing.module.mjs +10 -5
  5. package/esm2022/lib/inventory-common/category/category-view/category-view.component.mjs +46 -0
  6. package/esm2022/lib/inventory-common/category/category.module.mjs +23 -24
  7. package/esm2022/lib/inventory-common/category/category.service.mjs +6 -6
  8. package/esm2022/lib/inventory-common/inventory-common-routing.module.mjs +24 -20
  9. package/esm2022/lib/inventory-common/inventory-common.module.mjs +7 -7
  10. package/esm2022/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.mjs +5 -5
  11. package/esm2022/lib/inventory-common/inventory-value-report.service.mjs +2 -2
  12. package/esm2022/lib/inventory-common/location/location-delete-button/location-delete-button.component.mjs +68 -0
  13. package/esm2022/lib/inventory-common/location/location-form/location-form.component.mjs +86 -0
  14. package/esm2022/lib/inventory-common/location/location-form-button/location-form-button.component.mjs +35 -0
  15. package/esm2022/lib/inventory-common/location/location-information/location-information.component.mjs +34 -0
  16. package/esm2022/lib/inventory-common/location/location-list/location-list.component.mjs +121 -0
  17. package/esm2022/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.mjs +127 -0
  18. package/esm2022/lib/inventory-common/location/location-routing.module.mjs +29 -0
  19. package/esm2022/lib/inventory-common/location/location-view/location-view.component.mjs +53 -0
  20. package/esm2022/lib/inventory-common/location/location.module.mjs +22 -0
  21. package/esm2022/lib/inventory-common/location/location.service.mjs +23 -0
  22. package/esm2022/lib/inventory-common/low-stock-report.service.mjs +2 -2
  23. package/esm2022/lib/inventory-common/material.module.mjs +37 -37
  24. package/esm2022/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.mjs +4 -4
  25. package/esm2022/lib/inventory-common/measure/measure-delete/measure-delete.module.mjs +4 -4
  26. package/esm2022/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.mjs +14 -14
  27. package/esm2022/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.mjs +5 -5
  28. package/esm2022/lib/inventory-common/measure/measure-form/measure-form.module.mjs +6 -6
  29. package/esm2022/lib/inventory-common/measure/measure-routing.module.mjs +5 -5
  30. package/esm2022/lib/inventory-common/measure/measure.module.mjs +10 -10
  31. package/esm2022/lib/inventory-common/measure/measure.service.mjs +6 -6
  32. package/esm2022/lib/inventory-common/measure/measures-list/measures-list.component.mjs +12 -18
  33. package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.mjs +7 -7
  34. package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.module.mjs +10 -24
  35. package/esm2022/lib/inventory-common/product/product-basic-info/product-basic-info.component.mjs +5 -5
  36. package/esm2022/lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component.mjs +56 -0
  37. package/esm2022/lib/inventory-common/product/product-delete-button/product-delete-button.component.mjs +6 -6
  38. package/esm2022/lib/inventory-common/product/product-form/product-form.component.mjs +43 -45
  39. package/esm2022/lib/inventory-common/product/product-form-button/product-form-button.component.mjs +5 -5
  40. package/esm2022/lib/inventory-common/product/product-form.service.mjs +4 -4
  41. package/esm2022/lib/inventory-common/product/product-import-page/product-import-page.component.mjs +32 -32
  42. package/esm2022/lib/inventory-common/product/product-list/product-list.component.mjs +65 -87
  43. package/esm2022/lib/inventory-common/product/product-location/product-location-list/product-location-list.component.mjs +56 -0
  44. package/esm2022/lib/inventory-common/product/product-measure-form/product-measure-form.component.mjs +12 -12
  45. package/esm2022/lib/inventory-common/product/product-measures-list/product-measures-list.component.mjs +22 -28
  46. package/esm2022/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.mjs +3 -3
  47. package/esm2022/lib/inventory-common/product/product-quick-search/product-quick-search.component.mjs +7 -7
  48. package/esm2022/lib/inventory-common/product/product-routing.module.mjs +17 -17
  49. package/esm2022/lib/inventory-common/product/product-statistics.service.mjs +23 -0
  50. package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.mjs +10 -16
  51. package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.module.mjs +9 -20
  52. package/esm2022/lib/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.mjs +6 -6
  53. package/esm2022/lib/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.mjs +14 -14
  54. package/esm2022/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.mjs +6 -6
  55. package/esm2022/lib/inventory-common/product/product-tax/product-tax.module.mjs +9 -26
  56. package/esm2022/lib/inventory-common/product/product-tax/product-tax.service.mjs +6 -6
  57. package/esm2022/lib/inventory-common/product/product-view-page/product-view-page.component.mjs +9 -7
  58. package/esm2022/lib/inventory-common/product/product.module.mjs +37 -26
  59. package/esm2022/lib/inventory-common/product/product.service.mjs +7 -7
  60. package/esm2022/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.mjs +3 -6
  61. package/esm2022/lib/inventory-common/product-batch.service.mjs +20 -0
  62. package/esm2022/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.mjs +10 -12
  63. package/esm2022/lib/inventory-common/reports/low-stock-report/low-stock-report.component.mjs +20 -22
  64. package/esm2022/lib/inventory-common/services/techlify-form-service.mjs +2 -2
  65. package/esm2022/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.mjs +6 -6
  66. package/esm2022/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.module.mjs +5 -5
  67. package/esm2022/lib/inventory-common/stock-issuances/stock-issuance.service.mjs +6 -6
  68. package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.mjs +84 -56
  69. package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module.mjs +28 -12
  70. package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-routing.module.mjs +5 -5
  71. package/esm2022/lib/inventory-common/stock-issuances/stock-issuances.module.mjs +14 -14
  72. package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.mjs +14 -14
  73. package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.mjs +5 -5
  74. package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module.mjs +13 -13
  75. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.mjs +6 -6
  76. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.mjs +18 -18
  77. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.mjs +5 -5
  78. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.mjs +12 -12
  79. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt.service.mjs +6 -6
  80. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.mjs +82 -44
  81. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-routing.module.mjs +5 -5
  82. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts.module.mjs +24 -22
  83. package/esm2022/lib/inventory-common/stock-summary.service.mjs +5 -5
  84. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.mjs +105 -0
  85. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form-button/stock-transfer-form-button.component.mjs +38 -0
  86. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.mjs +77 -0
  87. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer.service.mjs +18 -0
  88. package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.mjs +9 -9
  89. package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector.module.mjs +10 -24
  90. package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.component.mjs +24 -24
  91. package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.service.mjs +4 -4
  92. package/esm2022/lib/inventory-common/supplier/supplier-information/supplier-information.component.mjs +16 -15
  93. package/esm2022/lib/inventory-common/supplier/supplier-routing.module.mjs +9 -16
  94. package/esm2022/lib/inventory-common/supplier/supplier-view/supplier-view.component.mjs +13 -14
  95. package/esm2022/lib/inventory-common/supplier/supplier.component.mjs +3 -3
  96. package/esm2022/lib/inventory-common/supplier/supplier.module.mjs +13 -13
  97. package/esm2022/lib/inventory-common/supplier/supplier.service.mjs +5 -5
  98. package/esm2022/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.mjs +3 -3
  99. package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.component.mjs +16 -18
  100. package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.module.mjs +13 -9
  101. package/fesm2022/techlify-inventory-common-category.module-BsvJ6rVx.mjs +290 -0
  102. package/fesm2022/techlify-inventory-common-category.module-BsvJ6rVx.mjs.map +1 -0
  103. package/fesm2022/techlify-inventory-common-location.module-Cwx9mHKE.mjs +529 -0
  104. package/fesm2022/techlify-inventory-common-location.module-Cwx9mHKE.mjs.map +1 -0
  105. package/fesm2022/techlify-inventory-common-measure.module-C2v0-n_m.mjs +307 -0
  106. package/fesm2022/techlify-inventory-common-measure.module-C2v0-n_m.mjs.map +1 -0
  107. package/fesm2022/{techlify-inventory-common-stock-issuances.module-BjPbzqUW.mjs → techlify-inventory-common-stock-issuances.module-CPccetrp.mjs} +3 -3
  108. package/fesm2022/techlify-inventory-common-stock-issuances.module-CPccetrp.mjs.map +1 -0
  109. package/fesm2022/{techlify-inventory-common-supplier.module-CFDwJ-TS.mjs → techlify-inventory-common-supplier.module-CYq-2pV1.mjs} +39 -216
  110. package/fesm2022/techlify-inventory-common-supplier.module-CYq-2pV1.mjs.map +1 -0
  111. package/fesm2022/techlify-inventory-common-techlify-inventory-common-BMNkSTd6.mjs +3620 -0
  112. package/fesm2022/techlify-inventory-common-techlify-inventory-common-BMNkSTd6.mjs.map +1 -0
  113. package/fesm2022/techlify-inventory-common.mjs +1 -1
  114. package/lib/inventory-common/category/category-form/category-form.component.d.ts +4 -4
  115. package/lib/inventory-common/category/category-form-button/category-form-button.component.d.ts +2 -2
  116. package/lib/inventory-common/category/category-list-page/category-list-page.component.d.ts +4 -4
  117. package/lib/inventory-common/category/category-view/category-view.component.d.ts +16 -0
  118. package/lib/inventory-common/category/category.module.d.ts +12 -11
  119. package/lib/inventory-common/category/category.service.d.ts +1 -1
  120. package/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.d.ts +1 -1
  121. package/lib/inventory-common/location/location-delete-button/location-delete-button.component.d.ts +28 -0
  122. package/lib/inventory-common/location/location-form/location-form.component.d.ts +19 -0
  123. package/lib/inventory-common/location/location-form-button/location-form-button.component.d.ts +13 -0
  124. package/lib/inventory-common/location/location-information/location-information.component.d.ts +10 -0
  125. package/lib/inventory-common/location/location-list/location-list.component.d.ts +20 -0
  126. package/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.d.ts +21 -0
  127. package/lib/inventory-common/location/location-routing.module.d.ts +7 -0
  128. package/lib/inventory-common/location/location-view/location-view.component.d.ts +16 -0
  129. package/lib/inventory-common/location/location.module.d.ts +8 -0
  130. package/lib/inventory-common/location/location.service.d.ts +10 -0
  131. package/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.d.ts +3 -3
  132. package/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.d.ts +4 -4
  133. package/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.d.ts +2 -2
  134. package/lib/inventory-common/measure/measure.service.d.ts +1 -1
  135. package/lib/inventory-common/measure/measures-list/measures-list.component.d.ts +5 -5
  136. package/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.d.ts +3 -3
  137. package/lib/inventory-common/product/product-basic-info/product-basic-info.component.d.ts +2 -2
  138. package/lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component.d.ts +18 -0
  139. package/lib/inventory-common/product/product-delete-button/product-delete-button.component.d.ts +4 -4
  140. package/lib/inventory-common/product/product-form/product-form.component.d.ts +6 -6
  141. package/lib/inventory-common/product/product-form-button/product-form-button.component.d.ts +3 -3
  142. package/lib/inventory-common/product/product-import-page/product-import-page.component.d.ts +2 -2
  143. package/lib/inventory-common/product/product-list/product-list.component.d.ts +15 -24
  144. package/lib/inventory-common/product/product-location/product-location-list/product-location-list.component.d.ts +15 -0
  145. package/lib/inventory-common/product/product-measure-form/product-measure-form.component.d.ts +6 -6
  146. package/lib/inventory-common/product/product-measures-list/product-measures-list.component.d.ts +7 -7
  147. package/lib/inventory-common/product/product-quick-search/product-quick-search.component.d.ts +1 -1
  148. package/lib/inventory-common/product/product-statistics.service.d.ts +9 -0
  149. package/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.d.ts +1 -1
  150. package/lib/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.d.ts +4 -4
  151. package/lib/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.d.ts +5 -5
  152. package/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.d.ts +2 -2
  153. package/lib/inventory-common/product/product-tax/product-tax.service.d.ts +1 -1
  154. package/lib/inventory-common/product/product-view-page/product-view-page.component.d.ts +4 -4
  155. package/lib/inventory-common/product/product.module.d.ts +16 -13
  156. package/lib/inventory-common/product/product.service.d.ts +2 -2
  157. package/lib/inventory-common/product-batch.service.d.ts +8 -0
  158. package/lib/inventory-common/reports/low-stock-report/low-stock-report.component.d.ts +3 -3
  159. package/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.d.ts +4 -4
  160. package/lib/inventory-common/stock-issuances/stock-issuance.service.d.ts +1 -1
  161. package/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.d.ts +16 -8
  162. package/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module.d.ts +3 -1
  163. package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.d.ts +4 -4
  164. package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.d.ts +2 -2
  165. package/lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.d.ts +4 -4
  166. package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.d.ts +4 -4
  167. package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.d.ts +2 -2
  168. package/lib/inventory-common/stock-receipts/stock-receipt.service.d.ts +1 -1
  169. package/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.d.ts +12 -4
  170. package/lib/inventory-common/stock-receipts/stock-receipts.module.d.ts +2 -1
  171. package/lib/inventory-common/stock-summary.service.d.ts +1 -1
  172. package/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.d.ts +19 -0
  173. package/lib/inventory-common/stock-transfer/stock-transfer-form-button/stock-transfer-form-button.component.d.ts +14 -0
  174. package/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.d.ts +17 -0
  175. package/lib/inventory-common/stock-transfer/stock-transfer.service.d.ts +7 -0
  176. package/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.d.ts +3 -3
  177. package/lib/inventory-common/supplier/supplier-form/supplier-form.component.d.ts +6 -6
  178. package/lib/inventory-common/supplier/supplier-information/supplier-information.component.d.ts +4 -4
  179. package/lib/inventory-common/supplier/supplier-view/supplier-view.component.d.ts +4 -4
  180. package/lib/inventory-common/supplier/supplier.component.d.ts +2 -2
  181. package/lib/inventory-common/supplier/supplier.service.d.ts +1 -1
  182. package/lib/inventory-common/techlify-filter/techlify-filter.component.d.ts +4 -4
  183. package/lib/inventory-common/techlify-filter/techlify-filter.module.d.ts +2 -1
  184. package/package.json +1 -1
  185. package/fesm2022/techlify-inventory-common-category.module-BKEBFEeZ.mjs +0 -257
  186. package/fesm2022/techlify-inventory-common-category.module-BKEBFEeZ.mjs.map +0 -1
  187. package/fesm2022/techlify-inventory-common-measure.module-CZHhYoQd.mjs +0 -313
  188. package/fesm2022/techlify-inventory-common-measure.module-CZHhYoQd.mjs.map +0 -1
  189. package/fesm2022/techlify-inventory-common-stock-issuances.module-BjPbzqUW.mjs.map +0 -1
  190. package/fesm2022/techlify-inventory-common-supplier.module-CFDwJ-TS.mjs.map +0 -1
  191. package/fesm2022/techlify-inventory-common-techlify-inventory-common-CYiCJfk9.mjs +0 -3143
  192. package/fesm2022/techlify-inventory-common-techlify-inventory-common-CYiCJfk9.mjs.map +0 -1
@@ -1,313 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable, EventEmitter, Output, Input, Component, NgModule } from '@angular/core';
3
- import * as i4 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i2$1 from '@angular/router';
6
- import { RouterModule } from '@angular/router';
7
- import * as i1 from 'ngx-techlify-core';
8
- import { TechlifyServiceBaseClass, TechlifyFormComponentInterface, TechlifyListingControllerInterface, MaterialModule } from 'ngx-techlify-core';
9
- import * as i2 from '@angular/forms';
10
- import { Validators, ReactiveFormsModule } from '@angular/forms';
11
- import * as i13 from '@angular/material/sort';
12
- import * as i14 from '@angular/material/table';
13
- import * as i4$1 from '@angular/material/card';
14
- import * as i7$2 from '@angular/material/progress-bar';
15
- import { MatProgressBarModule } from '@angular/material/progress-bar';
16
- import * as i1$1 from '@angular/material/dialog';
17
- import * as i7 from '@angular/material/button';
18
- import * as i7$1 from '@angular/material/form-field';
19
- import * as i9 from '@angular/material/input';
20
- import { b as TechlifyFilterComponent, c as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-CYiCJfk9.mjs';
21
- import * as i10 from 'ngx-infinite-scroll';
22
- import { InfiniteScrollModule } from 'ngx-infinite-scroll';
23
-
24
- class MeasureService extends TechlifyServiceBaseClass {
25
- constructor(httpService) {
26
- super(httpService, "product-measures");
27
- }
28
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureService, deps: [{ token: i1.HttpService }], target: i0.ɵɵFactoryTarget.Injectable });
29
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureService, providedIn: "root" });
30
- }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureService, decorators: [{
32
- type: Injectable,
33
- args: [{
34
- providedIn: "root",
35
- }]
36
- }], ctorParameters: () => [{ type: i1.HttpService }] });
37
-
38
- class MeasureFormComponent extends TechlifyFormComponentInterface {
39
- formBuilder;
40
- alertService;
41
- measureService;
42
- measure;
43
- saved = new EventEmitter();
44
- cancelled = new EventEmitter();
45
- isWorking;
46
- constructor(formValidatorService, formBuilder, alertService, measureService) {
47
- super(formValidatorService);
48
- this.formBuilder = formBuilder;
49
- this.alertService = alertService;
50
- this.measureService = measureService;
51
- this.errorMessages = {
52
- title: {
53
- required: "The title field is required.",
54
- },
55
- quantity_measure: {
56
- required: "The quantity measure field is required.",
57
- },
58
- };
59
- this.form = this.formBuilder.group({
60
- id: [""],
61
- title: ["", Validators.required],
62
- quantity_measure: ["", Validators.required],
63
- description: [""],
64
- });
65
- }
66
- ngOnInit() {
67
- if (this.measure) {
68
- this.form.patchValue({ ...this.measure });
69
- }
70
- }
71
- save() {
72
- if (this.form.invalid) {
73
- this.alertService.addAlert("Please check the form for errors.", "error");
74
- return;
75
- }
76
- const data = {
77
- ...this.form.value,
78
- };
79
- this.isWorking = true;
80
- let request = this.measureService.store(data);
81
- if (this.measure?.id) {
82
- request = this.measureService.update(data);
83
- }
84
- request.subscribe({
85
- next: (response) => {
86
- this.alertService.addAlert("Measure saved successfully!", "success");
87
- this.isWorking = false;
88
- this.saved.emit(response?.item);
89
- },
90
- error: () => (this.isWorking = false),
91
- });
92
- }
93
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureFormComponent, deps: [{ token: i1.FormValidatorService }, { token: i2.FormBuilder }, { token: i1.AlertService }, { token: MeasureService }], target: i0.ɵɵFactoryTarget.Component });
94
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: MeasureFormComponent, selector: "app-measure-form", inputs: { measure: "measure" }, outputs: { saved: "saved", cancelled: "cancelled" }, usesInheritance: true, ngImport: i0, template: "<h3 class=\"text-center mb-1\">{{ measure?.id ? \"Edit\" : \"Create\" }} Measure</h3>\n<p class=\"text-center text-secondary\">\n Measures are used throughout the app. ONLY create measure as is applicable.\n</p>\n\n<form\n [formGroup]=\"form\"\n class=\"d-flex flex-row flex-wrap justify-content-start gap-2\"\n (submit)=\"save()\"\n>\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Title</mat-label>\n <input formControlName=\"title\" type=\"text\" matInput placeholder=\"Title\" />\n <mat-error *ngIf=\"isFieldValid('title')\">\n {{ getErrorMessage(\"title\") }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Quantity Measure</mat-label>\n <input\n formControlName=\"quantity_measure\"\n type=\"text\"\n matInput\n placeholder=\"Quantity Measure\"\n />\n <mat-hint>\n What is this measure for? eg: Unit, Length, Mass, Capacity.\n </mat-hint>\n <mat-error *ngIf=\"isFieldValid('quantity_measure')\">\n {{ getErrorMessage(\"quantity_measure\") }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Description</mat-label>\n <textarea\n matInput\n formControlName=\"description\"\n placeholder=\"Description\"\n rows=\"3\"\n ></textarea>\n </mat-form-field>\n\n <div\n class=\"d-flex justify-content-end align-items-center gap-2\"\n style=\"width: calc(100%)\"\n >\n <button\n [disabled]=\"isWorking\"\n type=\"submit\"\n mat-raised-button\n color=\"primary\"\n >\n Save\n </button>\n <button\n [disabled]=\"isWorking\"\n type=\"button\"\n mat-flat-button\n (click)=\"cancelled.emit()\"\n >\n Cancel\n </button>\n </div>\n</form>\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i7$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i7$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i7$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i7$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i9.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], preserveWhitespaces: true });
95
- }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureFormComponent, decorators: [{
97
- type: Component,
98
- args: [{ selector: "app-measure-form", template: "<h3 class=\"text-center mb-1\">{{ measure?.id ? \"Edit\" : \"Create\" }} Measure</h3>\n<p class=\"text-center text-secondary\">\n Measures are used throughout the app. ONLY create measure as is applicable.\n</p>\n\n<form\n [formGroup]=\"form\"\n class=\"d-flex flex-row flex-wrap justify-content-start gap-2\"\n (submit)=\"save()\"\n>\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Title</mat-label>\n <input formControlName=\"title\" type=\"text\" matInput placeholder=\"Title\" />\n <mat-error *ngIf=\"isFieldValid('title')\">\n {{ getErrorMessage(\"title\") }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Quantity Measure</mat-label>\n <input\n formControlName=\"quantity_measure\"\n type=\"text\"\n matInput\n placeholder=\"Quantity Measure\"\n />\n <mat-hint>\n What is this measure for? eg: Unit, Length, Mass, Capacity.\n </mat-hint>\n <mat-error *ngIf=\"isFieldValid('quantity_measure')\">\n {{ getErrorMessage(\"quantity_measure\") }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Description</mat-label>\n <textarea\n matInput\n formControlName=\"description\"\n placeholder=\"Description\"\n rows=\"3\"\n ></textarea>\n </mat-form-field>\n\n <div\n class=\"d-flex justify-content-end align-items-center gap-2\"\n style=\"width: calc(100%)\"\n >\n <button\n [disabled]=\"isWorking\"\n type=\"submit\"\n mat-raised-button\n color=\"primary\"\n >\n Save\n </button>\n <button\n [disabled]=\"isWorking\"\n type=\"button\"\n mat-flat-button\n (click)=\"cancelled.emit()\"\n >\n Cancel\n </button>\n </div>\n</form>\n" }]
99
- }], ctorParameters: () => [{ type: i1.FormValidatorService }, { type: i2.FormBuilder }, { type: i1.AlertService }, { type: MeasureService }], propDecorators: { measure: [{
100
- type: Input
101
- }], saved: [{
102
- type: Output
103
- }], cancelled: [{
104
- type: Output
105
- }] } });
106
-
107
- class MeasureFormButtonComponent {
108
- matDialog;
109
- measure;
110
- saved = new EventEmitter();
111
- constructor(matDialog) {
112
- this.matDialog = matDialog;
113
- }
114
- showForm(templateRef) {
115
- this.matDialog.open(templateRef, { width: "500px" });
116
- }
117
- onSave(measure) {
118
- this.matDialog.closeAll();
119
- this.saved.emit(measure);
120
- }
121
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureFormButtonComponent, deps: [{ token: i1$1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
122
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: MeasureFormButtonComponent, selector: "app-measure-form-button", inputs: { measure: "measure" }, outputs: { saved: "saved" }, ngImport: i0, template: "<span\n class=\"material-symbols-outlined cursor-pointer\"\n (click)=\"showForm(measureFormTemplate)\"\n [class.text-primary]=\"!measure?.id\"\n>\n {{ measure?.id ? \"edit\" : \"add\" }}\n</span>\n\n<ng-template #measureFormTemplate>\n <app-measure-form\n [measure]=\"measure\"\n mat-dialog-content\n (saved)=\"onSave($event)\"\n (cancelled)=\"matDialog.closeAll()\"\n ></app-measure-form>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MeasureFormComponent, selector: "app-measure-form", inputs: ["measure"], outputs: ["saved", "cancelled"] }], preserveWhitespaces: true });
123
- }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureFormButtonComponent, decorators: [{
125
- type: Component,
126
- args: [{ selector: "app-measure-form-button", template: "<span\n class=\"material-symbols-outlined cursor-pointer\"\n (click)=\"showForm(measureFormTemplate)\"\n [class.text-primary]=\"!measure?.id\"\n>\n {{ measure?.id ? \"edit\" : \"add\" }}\n</span>\n\n<ng-template #measureFormTemplate>\n <app-measure-form\n [measure]=\"measure\"\n mat-dialog-content\n (saved)=\"onSave($event)\"\n (cancelled)=\"matDialog.closeAll()\"\n ></app-measure-form>\n</ng-template>\n" }]
127
- }], ctorParameters: () => [{ type: i1$1.MatDialog }], propDecorators: { measure: [{
128
- type: Input
129
- }], saved: [{
130
- type: Output
131
- }] } });
132
-
133
- class MeasureDeleteButtonComponent {
134
- measureService;
135
- matDialog;
136
- measure;
137
- deleted = new EventEmitter();
138
- isDeleting = false;
139
- constructor(measureService, matDialog) {
140
- this.measureService = measureService;
141
- this.matDialog = matDialog;
142
- }
143
- /**
144
- * Delete the expense record.
145
- */
146
- deleteMeasure() {
147
- this.isDeleting = true;
148
- this.measureService.delete(this.measure).subscribe({
149
- next: () => {
150
- this.matDialog.closeAll();
151
- this.isDeleting = false;
152
- this.deleted.emit();
153
- },
154
- error: () => (this.isDeleting = false),
155
- });
156
- }
157
- showConfirmDialog(templateRef) {
158
- this.matDialog.open(templateRef);
159
- }
160
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureDeleteButtonComponent, deps: [{ token: MeasureService }, { token: i1$1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
161
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: MeasureDeleteButtonComponent, selector: "app-measure-delete-button", inputs: { measure: "measure" }, outputs: { deleted: "deleted" }, ngImport: i0, template: "<span\n (click)=\"showConfirmDialog(deleteMeasureTemplate)\"\n class=\"material-symbols-outlined cursor-pointer text-secondary\"\n>\n delete\n</span>\n\n<ng-template #deleteMeasureTemplate>\n <h3 mat-dialog-title>Delete Measure</h3>\n <div mat-dialog-content>\n <p>\n Deleting this measure cannot be undone, are you sure you want to proceed?\n </p>\n </div>\n <div\n mat-dialog-actions\n class=\"d-flex justify-content-end align-items-center gap-2\"\n >\n <button\n [disabled]=\"isDeleting\"\n mat-flat-button\n type=\"button\"\n mat-dialog-close\n >\n Cancel\n </button>\n <button\n [disabled]=\"isDeleting\"\n mat-raised-button\n color=\"warn\"\n type=\"button\"\n (click)=\"deleteMeasure()\"\n >\n Delete\n </button>\n </div>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }], preserveWhitespaces: true });
162
- }
163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureDeleteButtonComponent, decorators: [{
164
- type: Component,
165
- args: [{ selector: "app-measure-delete-button", template: "<span\n (click)=\"showConfirmDialog(deleteMeasureTemplate)\"\n class=\"material-symbols-outlined cursor-pointer text-secondary\"\n>\n delete\n</span>\n\n<ng-template #deleteMeasureTemplate>\n <h3 mat-dialog-title>Delete Measure</h3>\n <div mat-dialog-content>\n <p>\n Deleting this measure cannot be undone, are you sure you want to proceed?\n </p>\n </div>\n <div\n mat-dialog-actions\n class=\"d-flex justify-content-end align-items-center gap-2\"\n >\n <button\n [disabled]=\"isDeleting\"\n mat-flat-button\n type=\"button\"\n mat-dialog-close\n >\n Cancel\n </button>\n <button\n [disabled]=\"isDeleting\"\n mat-raised-button\n color=\"warn\"\n type=\"button\"\n (click)=\"deleteMeasure()\"\n >\n Delete\n </button>\n </div>\n</ng-template>\n" }]
166
- }], ctorParameters: () => [{ type: MeasureService }, { type: i1$1.MatDialog }], propDecorators: { measure: [{
167
- type: Input
168
- }], deleted: [{
169
- type: Output
170
- }] } });
171
-
172
- class MeasuresListComponent extends TechlifyListingControllerInterface {
173
- formBuilder;
174
- measureService;
175
- displayedColumns = [
176
- "no",
177
- "title",
178
- "quantity_measure",
179
- "description",
180
- "actions",
181
- ];
182
- constructor(formBuilder, measureService) {
183
- super();
184
- this.formBuilder = formBuilder;
185
- this.measureService = measureService;
186
- this.filterForm = this.formBuilder.group({
187
- search: [""],
188
- sort_by: ["created_at|desc"],
189
- });
190
- }
191
- ngOnInit() {
192
- this.loadData();
193
- }
194
- loadData() {
195
- const params = {
196
- page: this.page,
197
- perPage: this.perPage,
198
- ...this.filterForm.value,
199
- };
200
- this.isWorking = true;
201
- this.measureService.index(params).subscribe({
202
- next: (response) => {
203
- this.isWorking = false;
204
- this.models = this.models.concat(response?.data);
205
- this.lastPage = response?.last_page;
206
- },
207
- error: () => (this.isWorking = false),
208
- });
209
- }
210
- onSortChange(sort) {
211
- let { active, direction } = sort;
212
- if (!active) {
213
- active = "created_at";
214
- }
215
- if (!direction) {
216
- direction = "desc";
217
- active = "created_at";
218
- }
219
- this.filterForm.get("sort_by").setValue(active + "|" + direction);
220
- }
221
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasuresListComponent, deps: [{ token: i2.FormBuilder }, { token: MeasureService }], target: i0.ɵɵFactoryTarget.Component });
222
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: MeasuresListComponent, selector: "app-measure-list", usesInheritance: true, ngImport: i0, template: "<mat-card class=\"mb-2\">\n <mat-card-content\n class=\"d-flex justify-content-between align-items-center gap-3\"\n >\n <div class=\"d-flex justify-content-center align-items-center gap-2\">\n <h3 class=\"mb-0\">Measures</h3>\n <app-measure-form-button\n class=\"mt-1\"\n (saved)=\"reload()\"\n ></app-measure-form-button>\n </div>\n <app-techlify-filter\n [filterForm]=\"filterForm\"\n (filterUpdated)=\"reload()\"\n ></app-techlify-filter>\n </mat-card-content>\n</mat-card>\n\n<mat-card class=\"p-0\">\n <mat-card-content>\n <table\n mat-table\n [dataSource]=\"models\"\n class=\"w-100\"\n aria-describedby=\"Service Centers\"\n infiniteScroll\n [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\"\n matSort\n (matSortChange)=\"onSortChange($event)\"\n >\n <!-- # Column -->\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 <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Title</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.title }}\n </td>\n </ng-container>\n\n <!-- Quantity Measure Column -->\n <ng-container matColumnDef=\"quantity_measure\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>\n Quantity Measure\n </th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.quantity_measure }}\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef>Description</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.description }}</td>\n </ng-container>\n\n <!-- Actions Column -->\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 justify-content-start align-items-center gap-2\">\n <app-measure-form-button\n [measure]=\"element\"\n (saved)=\"reload()\"\n *ngIf=\"element?.client_id\"\n ></app-measure-form-button>\n <app-measure-delete-button\n [measure]=\"element\"\n (deleted)=\"reload()\"\n *ngIf=\"element?.client_id\"\n ></app-measure-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\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i13.MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i13.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i14.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i14.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i14.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i14.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i14.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i14.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i14.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i14.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i14.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i14.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i4$1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i7$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: MeasureFormButtonComponent, selector: "app-measure-form-button", inputs: ["measure"], outputs: ["saved"] }, { kind: "component", type: TechlifyFilterComponent, selector: "app-techlify-filter", inputs: ["filterForm", "filterConfig"], outputs: ["filterUpdated"] }, { kind: "directive", type: i10.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "component", type: MeasureDeleteButtonComponent, selector: "app-measure-delete-button", inputs: ["measure"], outputs: ["deleted"] }], preserveWhitespaces: true });
223
- }
224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasuresListComponent, decorators: [{
225
- type: Component,
226
- args: [{ selector: "app-measure-list", template: "<mat-card class=\"mb-2\">\n <mat-card-content\n class=\"d-flex justify-content-between align-items-center gap-3\"\n >\n <div class=\"d-flex justify-content-center align-items-center gap-2\">\n <h3 class=\"mb-0\">Measures</h3>\n <app-measure-form-button\n class=\"mt-1\"\n (saved)=\"reload()\"\n ></app-measure-form-button>\n </div>\n <app-techlify-filter\n [filterForm]=\"filterForm\"\n (filterUpdated)=\"reload()\"\n ></app-techlify-filter>\n </mat-card-content>\n</mat-card>\n\n<mat-card class=\"p-0\">\n <mat-card-content>\n <table\n mat-table\n [dataSource]=\"models\"\n class=\"w-100\"\n aria-describedby=\"Service Centers\"\n infiniteScroll\n [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\"\n matSort\n (matSortChange)=\"onSortChange($event)\"\n >\n <!-- # Column -->\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 <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Title</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.title }}\n </td>\n </ng-container>\n\n <!-- Quantity Measure Column -->\n <ng-container matColumnDef=\"quantity_measure\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>\n Quantity Measure\n </th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.quantity_measure }}\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef>Description</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.description }}</td>\n </ng-container>\n\n <!-- Actions Column -->\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 justify-content-start align-items-center gap-2\">\n <app-measure-form-button\n [measure]=\"element\"\n (saved)=\"reload()\"\n *ngIf=\"element?.client_id\"\n ></app-measure-form-button>\n <app-measure-delete-button\n [measure]=\"element\"\n (deleted)=\"reload()\"\n *ngIf=\"element?.client_id\"\n ></app-measure-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\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>\n" }]
227
- }], ctorParameters: () => [{ type: i2.FormBuilder }, { type: MeasureService }] });
228
-
229
- const routes = [
230
- {
231
- path: "",
232
- component: MeasuresListComponent,
233
- },
234
- ];
235
- class MeasureRoutingModule {
236
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
237
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: MeasureRoutingModule, imports: [i2$1.RouterModule], exports: [RouterModule] });
238
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
239
- }
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureRoutingModule, decorators: [{
241
- type: NgModule,
242
- args: [{
243
- imports: [RouterModule.forChild(routes)],
244
- exports: [RouterModule],
245
- }]
246
- }] });
247
-
248
- class MeasureFormModule {
249
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
250
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: MeasureFormModule, declarations: [MeasureFormComponent, MeasureFormButtonComponent], imports: [CommonModule, MaterialModule, ReactiveFormsModule], exports: [MeasureFormComponent, MeasureFormButtonComponent] });
251
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureFormModule, imports: [CommonModule, MaterialModule, ReactiveFormsModule] });
252
- }
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureFormModule, decorators: [{
254
- type: NgModule,
255
- args: [{
256
- declarations: [MeasureFormComponent, MeasureFormButtonComponent],
257
- imports: [CommonModule, MaterialModule, ReactiveFormsModule],
258
- exports: [MeasureFormComponent, MeasureFormButtonComponent],
259
- }]
260
- }] });
261
-
262
- class MeasureDeleteModule {
263
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureDeleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
264
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: MeasureDeleteModule, declarations: [MeasureDeleteButtonComponent], imports: [CommonModule, MaterialModule], exports: [MeasureDeleteButtonComponent] });
265
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureDeleteModule, imports: [CommonModule, MaterialModule] });
266
- }
267
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureDeleteModule, decorators: [{
268
- type: NgModule,
269
- args: [{
270
- declarations: [MeasureDeleteButtonComponent],
271
- imports: [CommonModule, MaterialModule],
272
- exports: [MeasureDeleteButtonComponent],
273
- }]
274
- }] });
275
-
276
- class MeasureModule {
277
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
278
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: MeasureModule, declarations: [MeasuresListComponent], imports: [CommonModule,
279
- MeasureRoutingModule,
280
- MaterialModule,
281
- MeasureFormModule,
282
- TechlifyFilterModule,
283
- InfiniteScrollModule,
284
- MeasureDeleteModule,
285
- MatProgressBarModule] });
286
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureModule, imports: [CommonModule,
287
- MeasureRoutingModule,
288
- MaterialModule,
289
- MeasureFormModule,
290
- TechlifyFilterModule,
291
- InfiniteScrollModule,
292
- MeasureDeleteModule,
293
- MatProgressBarModule] });
294
- }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MeasureModule, decorators: [{
296
- type: NgModule,
297
- args: [{
298
- declarations: [MeasuresListComponent],
299
- imports: [
300
- CommonModule,
301
- MeasureRoutingModule,
302
- MaterialModule,
303
- MeasureFormModule,
304
- TechlifyFilterModule,
305
- InfiniteScrollModule,
306
- MeasureDeleteModule,
307
- MatProgressBarModule,
308
- ],
309
- }]
310
- }] });
311
-
312
- export { MeasureModule };
313
- //# sourceMappingURL=techlify-inventory-common-measure.module-CZHhYoQd.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"techlify-inventory-common-measure.module-CZHhYoQd.mjs","sources":["../../../projects/inventory-common/src/lib/inventory-common/measure/measure.service.ts","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.ts","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.html","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.ts","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.html","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.ts","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.html","../../../projects/inventory-common/src/lib/inventory-common/measure/measures-list/measures-list.component.ts","../../../projects/inventory-common/src/lib/inventory-common/measure/measures-list/measures-list.component.html","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-routing.module.ts","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-form/measure-form.module.ts","../../../projects/inventory-common/src/lib/inventory-common/measure/measure-delete/measure-delete.module.ts","../../../projects/inventory-common/src/lib/inventory-common/measure/measure.module.ts"],"sourcesContent":["import { Injectable } from \"@angular/core\";\nimport { HttpService, TechlifyServiceBaseClass } from \"ngx-techlify-core\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class MeasureService extends TechlifyServiceBaseClass {\n constructor(httpService: HttpService) {\n super(httpService, \"product-measures\");\n }\n}\n","import { Component, EventEmitter, Input, OnInit, Output } from \"@angular/core\";\nimport {\n AlertService,\n FormValidatorService,\n TechlifyFormComponentInterface,\n} from \"ngx-techlify-core\";\nimport { FormBuilder, Validators } from \"@angular/forms\";\nimport { MeasureService } from \"../../measure.service\";\nimport { Observable } from \"rxjs\";\n\n@Component({\n selector: \"app-measure-form\",\n templateUrl: \"./measure-form.component.html\",\n styleUrls: [\"./measure-form.component.scss\"],\n})\nexport class MeasureFormComponent\n extends TechlifyFormComponentInterface\n implements OnInit\n{\n @Input() measure: any;\n @Output() saved: EventEmitter<any> = new EventEmitter<any>();\n @Output() cancelled: EventEmitter<any> = new EventEmitter<any>();\n\n isWorking!: boolean;\n constructor(\n formValidatorService: FormValidatorService,\n private formBuilder: FormBuilder,\n private alertService: AlertService,\n private measureService: MeasureService\n ) {\n super(formValidatorService);\n\n this.errorMessages = {\n title: {\n required: \"The title field is required.\",\n },\n quantity_measure: {\n required: \"The quantity measure field is required.\",\n },\n };\n\n this.form = this.formBuilder.group({\n id: [\"\"],\n title: [\"\", Validators.required],\n quantity_measure: [\"\", Validators.required],\n description: [\"\"],\n });\n }\n\n ngOnInit(): void {\n if (this.measure) {\n this.form.patchValue({ ...this.measure });\n }\n }\n\n save() {\n if (this.form.invalid) {\n this.alertService.addAlert(\"Please check the form for errors.\", \"error\");\n return;\n }\n const data: any = {\n ...this.form.value,\n };\n this.isWorking = true;\n let request: Observable<any> = this.measureService.store(data);\n if (this.measure?.id) {\n request = this.measureService.update(data);\n }\n request.subscribe({\n next: (response: any) => {\n this.alertService.addAlert(\"Measure saved successfully!\", \"success\");\n this.isWorking = false;\n this.saved.emit(response?.item);\n },\n error: () => (this.isWorking = false),\n });\n }\n}\n","<h3 class=\"text-center mb-1\">{{ measure?.id ? \"Edit\" : \"Create\" }} Measure</h3>\n<p class=\"text-center text-secondary\">\n Measures are used throughout the app. ONLY create measure as is applicable.\n</p>\n\n<form\n [formGroup]=\"form\"\n class=\"d-flex flex-row flex-wrap justify-content-start gap-2\"\n (submit)=\"save()\"\n>\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Title</mat-label>\n <input formControlName=\"title\" type=\"text\" matInput placeholder=\"Title\" />\n <mat-error *ngIf=\"isFieldValid('title')\">\n {{ getErrorMessage(\"title\") }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Quantity Measure</mat-label>\n <input\n formControlName=\"quantity_measure\"\n type=\"text\"\n matInput\n placeholder=\"Quantity Measure\"\n />\n <mat-hint>\n What is this measure for? eg: Unit, Length, Mass, Capacity.\n </mat-hint>\n <mat-error *ngIf=\"isFieldValid('quantity_measure')\">\n {{ getErrorMessage(\"quantity_measure\") }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field style=\"width: calc(100%)\">\n <mat-label>Description</mat-label>\n <textarea\n matInput\n formControlName=\"description\"\n placeholder=\"Description\"\n rows=\"3\"\n ></textarea>\n </mat-form-field>\n\n <div\n class=\"d-flex justify-content-end align-items-center gap-2\"\n style=\"width: calc(100%)\"\n >\n <button\n [disabled]=\"isWorking\"\n type=\"submit\"\n mat-raised-button\n color=\"primary\"\n >\n Save\n </button>\n <button\n [disabled]=\"isWorking\"\n type=\"button\"\n mat-flat-button\n (click)=\"cancelled.emit()\"\n >\n Cancel\n </button>\n </div>\n</form>\n","import {\n Component,\n EventEmitter,\n Input,\n Output,\n TemplateRef,\n} from \"@angular/core\";\nimport { MatDialog } from \"@angular/material/dialog\";\n\n@Component({\n selector: \"app-measure-form-button\",\n templateUrl: \"./measure-form-button.component.html\",\n styleUrls: [\"./measure-form-button.component.scss\"],\n})\nexport class MeasureFormButtonComponent {\n @Input() measure: any;\n @Output() saved: EventEmitter<any> = new EventEmitter<any>();\n\n constructor(public matDialog: MatDialog) {}\n\n showForm(templateRef: TemplateRef<any>) {\n this.matDialog.open(templateRef, { width: \"500px\" });\n }\n\n onSave(measure: any) {\n this.matDialog.closeAll();\n this.saved.emit(measure);\n }\n}\n","<span\n class=\"material-symbols-outlined cursor-pointer\"\n (click)=\"showForm(measureFormTemplate)\"\n [class.text-primary]=\"!measure?.id\"\n>\n {{ measure?.id ? \"edit\" : \"add\" }}\n</span>\n\n<ng-template #measureFormTemplate>\n <app-measure-form\n [measure]=\"measure\"\n mat-dialog-content\n (saved)=\"onSave($event)\"\n (cancelled)=\"matDialog.closeAll()\"\n ></app-measure-form>\n</ng-template>\n","import {\n Component,\n EventEmitter,\n Input,\n Output,\n TemplateRef,\n} from \"@angular/core\";\nimport { MatDialog } from \"@angular/material/dialog\";\nimport { MeasureService } from \"../../measure.service\";\n\n@Component({\n selector: \"app-measure-delete-button\",\n templateUrl: \"./measure-delete-button.component.html\",\n styleUrls: [\"./measure-delete-button.component.scss\"],\n})\nexport class MeasureDeleteButtonComponent {\n @Input() measure: any;\n @Output() deleted: EventEmitter<any> = new EventEmitter<any>();\n isDeleting: boolean = false;\n\n constructor(\n private measureService: MeasureService,\n private matDialog: MatDialog\n ) {}\n\n /**\n * Delete the expense record.\n */\n deleteMeasure() {\n this.isDeleting = true;\n this.measureService.delete(this.measure).subscribe({\n next: () => {\n this.matDialog.closeAll();\n this.isDeleting = false;\n this.deleted.emit();\n },\n error: () => (this.isDeleting = false),\n });\n }\n\n showConfirmDialog(templateRef: TemplateRef<any>) {\n this.matDialog.open(templateRef);\n }\n}\n","<span\n (click)=\"showConfirmDialog(deleteMeasureTemplate)\"\n class=\"material-symbols-outlined cursor-pointer text-secondary\"\n>\n delete\n</span>\n\n<ng-template #deleteMeasureTemplate>\n <h3 mat-dialog-title>Delete Measure</h3>\n <div mat-dialog-content>\n <p>\n Deleting this measure cannot be undone, are you sure you want to proceed?\n </p>\n </div>\n <div\n mat-dialog-actions\n class=\"d-flex justify-content-end align-items-center gap-2\"\n >\n <button\n [disabled]=\"isDeleting\"\n mat-flat-button\n type=\"button\"\n mat-dialog-close\n >\n Cancel\n </button>\n <button\n [disabled]=\"isDeleting\"\n mat-raised-button\n color=\"warn\"\n type=\"button\"\n (click)=\"deleteMeasure()\"\n >\n Delete\n </button>\n </div>\n</ng-template>\n","import { Component, OnInit } from \"@angular/core\";\nimport { FormBuilder } from \"@angular/forms\";\nimport { TechlifyListingControllerInterface } from \"ngx-techlify-core\";\nimport { MeasureService } from \"../measure.service\";\nimport { Sort } from \"@angular/material/sort\";\n\n@Component({\n selector: \"app-measure-list\",\n templateUrl: \"./measures-list.component.html\",\n styleUrls: [\"./measures-list.component.scss\"],\n})\nexport class MeasuresListComponent\n extends TechlifyListingControllerInterface\n implements OnInit\n{\n displayedColumns: string[] = [\n \"no\",\n \"title\",\n \"quantity_measure\",\n \"description\",\n \"actions\",\n ];\n\n constructor(\n private formBuilder: FormBuilder,\n private measureService: MeasureService\n ) {\n super();\n this.filterForm = this.formBuilder.group({\n search: [\"\"],\n sort_by: [\"created_at|desc\"],\n });\n }\n\n ngOnInit(): void {\n this.loadData();\n }\n\n loadData(): void {\n const params: any = {\n page: this.page,\n perPage: this.perPage,\n ...this.filterForm.value,\n };\n this.isWorking = true;\n this.measureService.index(params).subscribe({\n next: (response: any) => {\n this.isWorking = false;\n this.models = this.models.concat(response?.data);\n this.lastPage = response?.last_page;\n },\n error: () => (this.isWorking = false),\n });\n }\n\n onSortChange(sort: Sort) {\n let { active, direction } = sort;\n if (!active) {\n active = \"created_at\";\n }\n if (!direction) {\n direction = \"desc\";\n active = \"created_at\";\n }\n this.filterForm.get(\"sort_by\").setValue(active + \"|\" + direction);\n }\n}\n","<mat-card class=\"mb-2\">\n <mat-card-content\n class=\"d-flex justify-content-between align-items-center gap-3\"\n >\n <div class=\"d-flex justify-content-center align-items-center gap-2\">\n <h3 class=\"mb-0\">Measures</h3>\n <app-measure-form-button\n class=\"mt-1\"\n (saved)=\"reload()\"\n ></app-measure-form-button>\n </div>\n <app-techlify-filter\n [filterForm]=\"filterForm\"\n (filterUpdated)=\"reload()\"\n ></app-techlify-filter>\n </mat-card-content>\n</mat-card>\n\n<mat-card class=\"p-0\">\n <mat-card-content>\n <table\n mat-table\n [dataSource]=\"models\"\n class=\"w-100\"\n aria-describedby=\"Service Centers\"\n infiniteScroll\n [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\"\n matSort\n (matSortChange)=\"onSortChange($event)\"\n >\n <!-- # Column -->\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 <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Title</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.title }}\n </td>\n </ng-container>\n\n <!-- Quantity Measure Column -->\n <ng-container matColumnDef=\"quantity_measure\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>\n Quantity Measure\n </th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.quantity_measure }}\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef>Description</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.description }}</td>\n </ng-container>\n\n <!-- Actions Column -->\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 justify-content-start align-items-center gap-2\">\n <app-measure-form-button\n [measure]=\"element\"\n (saved)=\"reload()\"\n *ngIf=\"element?.client_id\"\n ></app-measure-form-button>\n <app-measure-delete-button\n [measure]=\"element\"\n (deleted)=\"reload()\"\n *ngIf=\"element?.client_id\"\n ></app-measure-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\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>\n","import { NgModule } from \"@angular/core\";\nimport { RouterModule, Routes } from \"@angular/router\";\nimport { MeasuresListComponent } from \"./measures-list/measures-list.component\";\n\nconst routes: Routes = [\n {\n path: \"\",\n component: MeasuresListComponent,\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class MeasureRoutingModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MeasureFormComponent } from \"./measure-form/measure-form.component\";\nimport { MeasureFormButtonComponent } from \"./measure-form-button/measure-form-button.component\";\nimport { ReactiveFormsModule } from \"@angular/forms\";\nimport { MaterialModule } from 'ngx-techlify-core';\n\n@NgModule({\n declarations: [MeasureFormComponent, MeasureFormButtonComponent],\n imports: [CommonModule, MaterialModule, ReactiveFormsModule],\n exports: [MeasureFormComponent, MeasureFormButtonComponent],\n})\nexport class MeasureFormModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MeasureDeleteButtonComponent } from \"./measure-delete-button/measure-delete-button.component\";\nimport { MaterialModule } from 'ngx-techlify-core';\n\n@NgModule({\n declarations: [MeasureDeleteButtonComponent],\n imports: [CommonModule, MaterialModule],\n exports: [MeasureDeleteButtonComponent],\n})\nexport class MeasureDeleteModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { MeasureRoutingModule } from \"./measure-routing.module\";\nimport { MeasuresListComponent } from \"./measures-list/measures-list.component\";\nimport { MeasureFormModule } from \"./measure-form/measure-form.module\";\nimport { InfiniteScrollModule } from \"ngx-infinite-scroll\";\nimport { MeasureDeleteModule } from \"./measure-delete/measure-delete.module\";\nimport { MaterialModule } from \"ngx-techlify-core\";\nimport { MatProgressBarModule } from \"@angular/material/progress-bar\";\nimport { TechlifyFilterModule } from '../techlify-filter/techlify-filter.module';\n\n@NgModule({\n declarations: [MeasuresListComponent],\n imports: [\n CommonModule,\n MeasureRoutingModule,\n MaterialModule,\n MeasureFormModule,\n TechlifyFilterModule,\n InfiniteScrollModule,\n MeasureDeleteModule,\n MatProgressBarModule,\n ],\n})\nexport class MeasureModule {}\n"],"names":["i3.MeasureService","i5","i6","i7","i1","i2.MeasureFormComponent","i1.MeasureService","i2","i3","i2.MeasureService","i4","i8.MeasureFormButtonComponent","i9.TechlifyFilterComponent","i11.MeasureDeleteButtonComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAMM,MAAO,cAAe,SAAQ,wBAAwB,CAAA;AAC1D,IAAA,WAAA,CAAY,WAAwB,EAAA;AAClC,QAAA,KAAK,CAAC,WAAW,EAAE,kBAAkB,CAAC;;wGAF7B,cAAc,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAd,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA;;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACUK,MAAO,oBACX,SAAQ,8BAA8B,CAAA;AAU5B,IAAA,WAAA;AACA,IAAA,YAAA;AACA,IAAA,cAAA;AATD,IAAA,OAAO;AACN,IAAA,KAAK,GAAsB,IAAI,YAAY,EAAO;AAClD,IAAA,SAAS,GAAsB,IAAI,YAAY,EAAO;AAEhE,IAAA,SAAS;AACT,IAAA,WAAA,CACE,oBAA0C,EAClC,WAAwB,EACxB,YAA0B,EAC1B,cAA8B,EAAA;QAEtC,KAAK,CAAC,oBAA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AC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,oBAAoB;wBACpB,cAAc;wBACd,iBAAiB;wBACjB,oBAAoB;wBACpB,oBAAoB;wBACpB,mBAAmB;wBACnB,oBAAoB;AACrB,qBAAA;AACF,iBAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"techlify-inventory-common-stock-issuances.module-BjPbzqUW.mjs","sources":["../../../projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances-routing.module.ts","../../../projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances.module.ts"],"sourcesContent":["import { NgModule } from \"@angular/core\";\nimport { RouterModule, Routes } from \"@angular/router\";\nimport { StockIssuancesListComponent } from \"./stock-issuances-list/stock-issuances-list.component\";\n\nconst routes: Routes = [\n {\n path: \"\",\n component: StockIssuancesListComponent,\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class StockIssuancesRoutingModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { StockIssuancesRoutingModule } from \"./stock-issuances-routing.module\";\nimport { MatCardModule } from \"@angular/material/card\";\nimport { InfiniteScrollModule } from \"ngx-infinite-scroll\";\nimport { MatProgressBarModule } from \"@angular/material/progress-bar\";\nimport { MatSortModule } from \"@angular/material/sort\";\nimport { MatTableModule } from \"@angular/material/table\";\nimport { StockReceiptFormModule } from \"../stock-receipts/stock-receipt-form/stock-receipt-form.module\";\nimport { StockIssueFormModule } from \"./stock-issue-form/stock-issue-form.module\";\nimport { MatDialogModule } from \"@angular/material/dialog\";\nimport { MatButtonModule } from \"@angular/material/button\";\nimport { StockIssuancesListModule } from \"./stock-issuances-list/stock-issuances-list.module\";\nimport { TechlifyFilterModule } from '../techlify-filter/techlify-filter.module';\n\n@NgModule({\n declarations: [],\n exports: [],\n imports: [\n CommonModule,\n StockIssuancesRoutingModule,\n MatCardModule,\n TechlifyFilterModule,\n InfiniteScrollModule,\n MatProgressBarModule,\n MatSortModule,\n MatTableModule,\n StockReceiptFormModule,\n StockIssueFormModule,\n MatDialogModule,\n MatButtonModule,\n StockIssuancesListModule,\n ],\n})\nexport class StockIssuancesModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAIA,MAAM,MAAM,GAAW;AACrB,IAAA;AACE,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,SAAS,EAAE,2BAA2B;AACvC,KAAA;CACF;MAMY,2BAA2B,CAAA;wGAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAA3B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,wCAF5B,YAAY,CAAA,EAAA,CAAA;yGAEX,2BAA2B,EAAA,OAAA,EAAA,CAH5B,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;oBACxC,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA;;;MCqBY,oBAAoB,CAAA;wGAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAf7B,YAAY;YACZ,2BAA2B;YAC3B,aAAa;YACb,oBAAoB;YACpB,oBAAoB;YACpB,oBAAoB;YACpB,aAAa;YACb,cAAc;YACd,sBAAsB;YACtB,oBAAoB;YACpB,eAAe;YACf,eAAe;YACf,wBAAwB,CAAA,EAAA,CAAA;AAGf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAf7B,YAAY;YACZ,2BAA2B;YAC3B,aAAa;YACb,oBAAoB;YACpB,oBAAoB;YACpB,oBAAoB;YACpB,aAAa;YACb,cAAc;YACd,sBAAsB;YACtB,oBAAoB;YACpB,eAAe;YACf,eAAe;YACf,wBAAwB,CAAA,EAAA,CAAA;;4FAGf,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAnBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,2BAA2B;wBAC3B,aAAa;wBACb,oBAAoB;wBACpB,oBAAoB;wBACpB,oBAAoB;wBACpB,aAAa;wBACb,cAAc;wBACd,sBAAsB;wBACtB,oBAAoB;wBACpB,eAAe;wBACf,eAAe;wBACf,wBAAwB;AACzB,qBAAA;AACF,iBAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"techlify-inventory-common-supplier.module-CFDwJ-TS.mjs","sources":["../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-information/supplier-information.component.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-information/supplier-information.component.html","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-view/supplier-view.component.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-view/supplier-view.component.html","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form.service.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier.component.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier.component.html","../../../projects/inventory-common/src/lib/inventory-common/material.module.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.html","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.html","../../../projects/inventory-common/src/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.html","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier-routing.module.ts","../../../projects/inventory-common/src/lib/inventory-common/supplier/supplier.module.ts"],"sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport {\n ActionPopup,\n ActionPopupComponent,\n AlertService,\n ErrorHandlerService,\n} from \"ngx-techlify-core\";\nimport { SupplierFormComponent } from \"../supplier-form/supplier-form.component\";\nimport { MatDialog } from \"@angular/material/dialog\";\nimport { SupplierService } from \"../supplier.service\";\nimport { Router } from \"@angular/router\";\n\n@Component({\n selector: \"app-supplier-information\",\n templateUrl: \"./supplier-information.component.html\",\n})\nexport class SupplierInformationComponent {\n @Input() supplier!: any;\n\n constructor(\n private dialog: MatDialog,\n private supplierService: SupplierService,\n private alertService: AlertService,\n private router: Router,\n private errorService: ErrorHandlerService\n ) {}\n\n modifySupplier(model?: any) {\n const dialogRef = this.dialog.open(SupplierFormComponent, {\n width: \"600px\",\n data: {\n details: model,\n },\n });\n dialogRef.afterClosed().subscribe((result: any) => {\n if (result) {\n location.reload();\n }\n });\n }\n\n deleteSupplier(id: any) {\n const dialogRef = this.dialog.open(ActionPopupComponent, {\n width: \"400px\",\n data: <ActionPopup>{\n title: \"Delete Supplier\",\n message: \"Are you sure you want to delete this supplier?\",\n },\n autoFocus: false,\n });\n\n dialogRef.afterClosed().subscribe(async (result: any) => {\n if (result) {\n try {\n const result = await this.supplierService.destroy(id);\n this.alertService.addAlert(\n \"Successfully Deleted Supplier\",\n \"success\"\n );\n } catch (error) {\n this.errorService.handleError(error);\n } finally {\n this.router.navigateByUrl(\"/suppliers\");\n }\n }\n });\n }\n}\n","<mat-card>\n <mat-card-content>\n <div class=\"d-flex justify-content-between align-items-center\">\n <h3 class=\"mb-0\">Personal Information</h3>\n <div class=\"d-flex justify-content-end align-items-center gap-1\">\n <app-audit-log-for-model\n [modelId]=\"supplier?.id\"\n modelType=\"Supplier\"\n logView=\"all\"\n ></app-audit-log-for-model>\n <mat-icon\n class=\"material-icons cursor-pointer\"\n (click)=\"modifySupplier(supplier)\"\n >\n edit\n </mat-icon>\n <mat-icon\n class=\"material-icons cursor-pointer\"\n (click)=\"deleteSupplier(supplier)\"\n >\n delete\n </mat-icon>\n </div>\n </div>\n\n <mat-divider></mat-divider>\n\n <div class=\"mt-2\">\n <div class=\"d-flex justify-content-start gap-2\">\n <div>\n <h3 class=\"mb-0\">{{ supplier?.company_name }}</h3>\n <span class=\"status-pill-sm status-light-orange\">{{\n supplier?.type?.title\n }}</span>\n </div>\n </div>\n </div>\n\n <div class=\"row mt-3\">\n <div class=\"col-6\">\n <p class=\"text-muted mb-0\">Contact Name</p>\n <p class=\"text-wrap\">{{ supplier?.contact_name }}</p>\n </div>\n <div class=\"col-6\">\n <p class=\"text-muted mb-0\">Email</p>\n <p class=\"text-wrap\">{{ supplier?.email }}</p>\n </div>\n <div class=\"col-6\">\n <p class=\"text-muted mb-0\">Phone</p>\n <p class=\"text-wrap\">{{ supplier?.phone }}</p>\n </div>\n <div class=\"col-6\">\n <p class=\"text-muted mb-0\">Details</p>\n <p class=\"text-wrap\">{{ supplier?.details }}</p>\n </div>\n </div>\n\n <div class=\"row mt-2 h-100\">\n <div class=\"d-flex\">\n <mat-icon class=\"material-icons text-primary my-auto\"\n >location_on</mat-icon\n >\n <p class=\"ms-2 my-auto\">{{ supplier?.address }}</p>\n </div>\n </div>\n </mat-card-content>\n</mat-card>\n","import { lastValueFrom } from \"rxjs\";\nimport { Component, OnInit } from \"@angular/core\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport { SupplierService } from \"../supplier.service\";\nimport { MatTabChangeEvent } from \"@angular/material/tabs\";\n\n@Component({\n selector: \"app-supplier-view\",\n templateUrl: \"./supplier-view.component.html\",\n})\nexport class SupplierViewComponent implements OnInit {\n supplier: any;\n supplierId: number = 0;\n selectedTabIndex: number = 0;\n isLoading: boolean = false;\n\n constructor(\n private supplierService: SupplierService,\n private route: ActivatedRoute,\n private router: Router\n ) {}\n\n ngOnInit(): void {\n this.route.firstChild?.url.subscribe((url) => {\n if (url[0].path === \"ratings\") {\n this.selectedTabIndex = 1;\n } else if (url[0].path === \"estimates\") {\n this.selectedTabIndex = 2;\n } else {\n this.selectedTabIndex = 0;\n }\n });\n\n this.supplierId = this.route.snapshot.params[\"id\"];\n this.getSupplier(this.supplierId);\n }\n\n onTabChange(event: MatTabChangeEvent) {\n switch (event.index) {\n case 0:\n this.router.navigate([\"incidents\"], { relativeTo: this.route });\n return;\n case 1:\n this.router.navigate([\"ratings\"], { relativeTo: this.route });\n return;\n case 2:\n this.router.navigate([\"estimates\"], { relativeTo: this.route });\n return;\n }\n }\n\n async getSupplier(id: number) {\n this.isLoading = true;\n let result: any = await lastValueFrom(this.supplierService.show(id));\n this.isLoading = false;\n this.supplier = result.item;\n }\n}\n","<mat-progress-bar *ngIf=\"isLoading\" mode=\"indeterminate\"></mat-progress-bar>\n\n<div *ngIf=\"supplier\" class=\"d-flex justify-content-start gap-3\">\n <div style=\"width: 300px\">\n <app-supplier-information [supplier]=\"supplier\"></app-supplier-information>\n <mat-card class=\"mt-3\">\n <mat-card-content class=\"p-0\">\n <app-note-list\n modelType=\"Supplier\"\n [relatedModelId]=\"supplier?.id\"\n ></app-note-list>\n </mat-card-content>\n </mat-card>\n </div>\n\n <div style=\"width: calc(100% - 300px - 1rem)\">\n <mat-card style=\"width: fit-content\">\n <mat-card-content class=\"p-0\">\n <mat-tab-group\n mat-stretch-tabs=\"false\"\n mat-align-tabs=\"start\"\n [selectedIndex]=\"selectedTabIndex\"\n (selectedTabChange)=\"onTabChange($event)\"\n >\n <mat-tab>\n <ng-template mat-tab-label>\n <div\n class=\"d-flex justify-content-start align-items-center gap-1\"\n >\n <span class=\"material-symbols-outlined\">unknown_document</span>\n <span class=\"pl-2\">Incidents</span>\n </div>\n </ng-template>\n </mat-tab>\n <mat-tab>\n <ng-template mat-tab-label>\n <div\n class=\"d-flex justify-content-start align-items-center gap-1\"\n >\n <span class=\"material-symbols-outlined\">star</span>\n <span class=\"pl-2\">Ratings</span>\n </div>\n </ng-template>\n </mat-tab>\n <mat-tab>\n <ng-template mat-tab-label>\n <div\n class=\"d-flex justify-content-start align-items-center gap-1\"\n >\n <span class=\"material-symbols-outlined\">price_change</span>\n <span class=\"pl-2\">Estimates</span>\n </div>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </mat-card-content>\n </mat-card>\n <router-outlet></router-outlet>\n </div>\n</div>\n","import { Injectable } from \"@angular/core\";\nimport TechlifyFormService from '../../services/techlify-form-service';\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class SupplierFormService extends TechlifyFormService {\n constructor() {\n super();\n }\n}\n","import { Component } from \"@angular/core\";\nimport { SupplierFormComponent } from \"./supplier-form/supplier-form.component\";\nimport { MatDialog } from \"@angular/material/dialog\";\nimport { SupplierFormService } from \"./supplier-form/supplier-form.service\";\n\n@Component({\n selector: \"app-supplier\",\n templateUrl: \"./supplier.component.html\",\n styleUrls: [\"./supplier.component.scss\"],\n})\nexport class SupplierComponent {\n constructor(\n public dialog: MatDialog,\n private supplierFormService: SupplierFormService\n ) {}\n}\n","<div>\n <router-outlet></router-outlet>\n</div>\n","/*\n * This module imports and re-exports all Angular Material modules for convenience,\n * so only 1 module import is needed in your feature modules.\n * See https://material.angular.io/guide/getting-started#step-3-import-the-component-modules.\n *\n * To optimize your production builds, you should only import the components used in your app.\n */\n\nimport { NgModule } from \"@angular/core\";\nimport {\n MatCommonModule,\n MatLineModule,\n MatNativeDateModule,\n MatPseudoCheckboxModule,\n MatRippleModule,\n} from \"@angular/material/core\";\nimport { MatOptionModule } from \"@angular/material/core\";\nimport { MatAutocompleteModule } from \"@angular/material/autocomplete\";\nimport { MatBadgeModule } from \"@angular/material/badge\";\nimport { MatButtonModule } from \"@angular/material/button\";\nimport { MatButtonToggleModule } from \"@angular/material/button-toggle\";\nimport { MatCardModule } from \"@angular/material/card\";\nimport { MatCheckboxModule } from \"@angular/material/checkbox\";\nimport { MatChipsModule } from \"@angular/material/chips\";\nimport { MatDatepickerModule } from \"@angular/material/datepicker\";\nimport { MatDialogModule } from \"@angular/material/dialog\";\nimport { MatDividerModule } from \"@angular/material/divider\";\nimport { MatExpansionModule } from \"@angular/material/expansion\";\nimport { MatFormFieldModule } from \"@angular/material/form-field\";\nimport { MatGridListModule } from \"@angular/material/grid-list\";\nimport { MatIconModule } from \"@angular/material/icon\";\nimport { MatInputModule } from \"@angular/material/input\";\nimport { MatListModule } from \"@angular/material/list\";\nimport { MatMenuModule } from \"@angular/material/menu\";\nimport { MatPaginatorModule } from \"@angular/material/paginator\";\nimport { MatProgressBarModule } from \"@angular/material/progress-bar\";\nimport { MatProgressSpinnerModule } from \"@angular/material/progress-spinner\";\nimport { MatRadioModule } from \"@angular/material/radio\";\nimport { MatSelectModule } from \"@angular/material/select\";\nimport { MatSidenavModule } from \"@angular/material/sidenav\";\nimport { MatSlideToggleModule } from \"@angular/material/slide-toggle\";\nimport { MatSliderModule } from \"@angular/material/slider\";\nimport { MatSnackBarModule } from \"@angular/material/snack-bar\";\nimport { MatSortModule } from \"@angular/material/sort\";\nimport { MatStepperModule } from \"@angular/material/stepper\";\nimport { MatTableModule } from \"@angular/material/table\";\nimport { MatTabsModule } from \"@angular/material/tabs\";\nimport { MatToolbarModule } from \"@angular/material/toolbar\";\nimport { MatTooltipModule } from \"@angular/material/tooltip\";\nimport { MatTreeModule } from \"@angular/material/tree\";\n\n@NgModule({\n exports: [\n MatAutocompleteModule,\n MatBadgeModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatCommonModule,\n MatDatepickerModule,\n MatDialogModule,\n MatDividerModule,\n MatExpansionModule,\n MatFormFieldModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatLineModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatOptionModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatPseudoCheckboxModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSlideToggleModule,\n MatSliderModule,\n MatSnackBarModule,\n MatSortModule,\n MatStepperModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatTreeModule,\n ],\n})\nexport class MaterialModule {}\n","import { CommonModule } from '@angular/common';\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { MaterialModule } from '../../../material.module';\nimport { MatDialog } from '@angular/material/dialog';\nimport { SupplierFormComponent } from '../supplier-form.component';\n\n@Component({\n selector: 'app-supplier-form-button',\n templateUrl: './supplier-form-button.component.html',\n styleUrls: ['./supplier-form-button.component.css'],\n standalone: true,\n imports: [\n CommonModule,\n MaterialModule\n ],\n})\nexport class SupplierFormButtonComponent implements OnInit {\n\n @Input() supplier: any\n @Output() onSaved: EventEmitter<any> = new EventEmitter<any>()\n\n constructor(private matDialog: MatDialog) { }\n\n ngOnInit() {\n }\n\n openDialog() {\n this.matDialog.open(SupplierFormComponent, {\n width: '600px',\n data: {\n details: this.supplier\n },\n }).afterClosed().subscribe((result: any) => {\n if (result) {\n this.onSaved.emit(result);\n }\n });\n }\n\n}\n","<mat-icon color=\"primary\" class=\"cursor-pointer\" [class.text-secondary]=\"supplier\" (click)=\"openDialog()\">\n {{ supplier ? \"edit\" : \"add\" }}\n</mat-icon>","import { CommonModule } from '@angular/common';\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { MaterialModule } from '../../material.module';\nimport { ActionPopup, ActionPopupComponent, AlertService, ErrorHandlerService } from 'ngx-techlify-core';\nimport { MatDialog } from '@angular/material/dialog';\nimport { lastValueFrom } from 'rxjs';\nimport { SupplierService } from '../supplier.service';\nimport { NgxPermissionsModule } from 'ngx-permissions';\n\n@Component({\n selector: 'app-supplier-delete-button',\n templateUrl: './supplier-delete-button.component.html',\n styleUrls: ['./supplier-delete-button.component.css'],\n standalone: true,\n imports: [\n CommonModule,\n MaterialModule,\n NgxPermissionsModule\n ],\n})\nexport class SupplierDeleteButtonComponent implements OnInit {\n\n @Input() supplier: any\n @Output() onDelete: EventEmitter<any> = new EventEmitter<any>()\n\n constructor(private dialog: MatDialog,\n private alertService: AlertService,\n private errorHandler: ErrorHandlerService,\n private supplierService: SupplierService\n ) { }\n\n ngOnInit() {\n }\n\n openDialog() {\n this.dialog.open(ActionPopupComponent, {\n width: '400px',\n data: <ActionPopup>{\n title: 'Delete Supplier',\n message: 'Are you sure you want to delete the Supplier?',\n },\n autoFocus: false,\n }).afterClosed().subscribe(async (result) => {\n if (result) {\n try {\n await lastValueFrom(this.supplierService.destroy(this.supplier.id))\n this.alertService.addAlert('Successfully deleted the Supplier', 'success');\n this.onDelete.emit(this.supplier)\n } catch (error) {\n this.errorHandler.handleError(error);\n }\n }\n });\n }\n\n}\n","<mat-icon class=\"cursor-pointer\" *ngxPermissionsOnly=\"['supplier.delete']\" (click)=\"openDialog()\">\n delete\n</mat-icon>","import { Component, OnInit } from '@angular/core';\nimport { FormBuilder, FormGroup } from '@angular/forms';\nimport { MatDialog } from '@angular/material/dialog';\nimport { ActivatedRoute } from '@angular/router';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { NgxSpinnerService } from 'ngx-spinner';\nimport {\n ActionPopup,\n ActionPopupComponent,\n AlertService,\n ErrorHandlerService,\n FilterService,\n RequestHelperService,\n TechlifyListingControllerInterface,\n} from 'ngx-techlify-core';\nimport { debounceTime, distinctUntilChanged, lastValueFrom } from 'rxjs';\nimport { SupplierFormComponent } from '../supplier-form/supplier-form.component';\nimport { SupplierService } from '../supplier.service';\nimport { SupplierFormService } from '../supplier-form/supplier-form.service';\n\n@UntilDestroy()\n@Component({\n selector: 'app-suppliers-list',\n templateUrl: './suppliers-list.component.html',\n})\nexport class SuppliersListComponent extends TechlifyListingControllerInterface implements OnInit {\n displayedColumns: string[] = [\n '#',\n 'company_name',\n 'type',\n 'contact_name',\n 'phone',\n 'address',\n 'email',\n 'details',\n 'actions',\n ];\n\n constructor(\n private spinner: NgxSpinnerService,\n private fb: FormBuilder,\n private supplierService: SupplierService,\n private errorHandler: ErrorHandlerService,\n private filterService: FilterService,\n private activatedRoute: ActivatedRoute,\n private alertService: AlertService,\n private dialog: MatDialog,\n private supplierFormService: SupplierFormService,\n private requestHelperService: RequestHelperService\n ) {\n super();\n this.page = 1;\n this.perPage = 25;\n this.models = [];\n this.filterForm = this.fb.group({\n search: [''],\n supplier_type_ids: [''],\n sort_by: ['created_at|desc'],\n });\n }\n\n ngOnInit(): void {\n this.updateFormWithQueryParams();\n this.subscribeToFormChanges();\n this.subscribeToRouteChanges();\n }\n\n override listenForChanges() {\n // listen for supplier added event to update the list.\n this.supplierFormService.isListUpdated().subscribe((val: boolean) => {\n if (val && !this.isWorking) this.reload();\n });\n // listen for form group changes.\n this.filterForm.valueChanges.pipe(debounceTime(500), untilDestroyed(this)).subscribe(() => {\n this.filterService.applyFilterToRoute(this.activatedRoute, this.filterForm.value);\n this.reload();\n });\n }\n\n sortColumn(event: any) {\n var direction = event.direction.toString().toUpperCase();\n this.assignFilter(event.active, direction);\n }\n\n assignFilter(column: any, direction: any) {\n return this.filterForm.get('sort_by')?.setValue(column + '|' + direction);\n }\n\n async loadData() {\n let filters = { ...this.requestHelperService.convertToFormData(this.filterForm.value) };\n filters.page = this.page = 1;\n filters.perPage = this.perPage;\n try {\n this.isWorking = true;\n let res: any = await lastValueFrom(this.supplierService.index(filters));\n this.models = this.models?.concat(res?.data);\n this.lastPage = res.last_page;\n // list is updated do not listen form isListUpdated\n this.supplierFormService.listUpdated(false);\n } catch (error) {\n this.errorHandler.handleError(error);\n } finally {\n this.isWorking = false;\n }\n }\n\n private updateFormWithQueryParams(): void {\n this.requestHelperService.updateFormWithQueryParams(this.filterForm, {\n supplier_type_ids: { multiple: true },\n });\n }\n\n private subscribeToFormChanges(): void {\n (this.filterForm as FormGroup).valueChanges.pipe(debounceTime(800)).subscribe({\n next: () => {\n this.requestHelperService.updateQueryParams(this.requestHelperService.convertToFormData(this.filterForm.value));\n },\n });\n }\n\n private subscribeToRouteChanges(): void {\n this.activatedRoute.queryParams.pipe(debounceTime(500), distinctUntilChanged()).subscribe(() => {\n this.reload();\n });\n }\n}\n","<mat-card class=\"mb-3\">\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-3\">\n <div class=\"d-flex justify-content-start align-items-center gap-3\">\n <h3 class=\"mb-0\">Suppliers</h3>\n <app-supplier-form-button (onSaved)=\"reload()\"></app-supplier-form-button>\n </div>\n <form [formGroup]=\"filterForm\" class=\"d-flex justify-content-end align-items-center gap-2\">\n <mat-form-field>\n <mat-label>Search</mat-label>\n <input matInput placeholder=\"Search Supplier by Name, Phone, Address, Email, Description\"\n formControlName=\"search\" />\n <mat-icon matSuffix>search</mat-icon>\n </mat-form-field>\n <mat-form-field>\n <mat-label>Type</mat-label>\n <app-searchable-selector apiUrl=\"api/supplier-types\" formControlName=\"supplier_type_ids\" [multiple]=\"true\">\n </app-searchable-selector>\n </mat-form-field>\n </form>\n </mat-card-content>\n</mat-card>\n<mat-card>\n <mat-card-content class=\"p-0\">\n <table mat-table #table [dataSource]=\"models\" class=\"w-100 table-hover\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" [fromRoot]=\"true\" matSort\n (matSortChange)=\"sortColumn($event)\" aria-describedby=\"Suppliers List\">\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=\"company_name\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Name</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.company_name }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"type\">\n <th mat-header-cell *matHeaderCellDef>Type</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.type?.title }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"contact_name\">\n <th mat-header-cell *matHeaderCellDef>Contact</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.contact_name }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"phone\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Phone</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.phone }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"address\">\n <th mat-header-cell *matHeaderCellDef>Address</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.address }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"email\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Email</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.email }}</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=\"text-secondary d-flex align-items-center gap-1\">\n\n <a class=\"text-decoration-none text-dark\" [routerLink]=\"['/suppliers', element.id, 'view']\"\n routerLinkActive=\"route-link-active\" *ngxPermissionsOnly=\"['supplier.read']\">\n <mat-icon matTooltip=\"View\">remove_red_eye</mat-icon>\n </a>\n <app-supplier-form-button *ngxPermissionsOnly=\"['supplier.update']\" [supplier]=\"element\"\n (onSaved)=\"reload()\"></app-supplier-form-button>\n <app-supplier-delete-button [supplier]=\"element\" (onDelete)=\"reload()\"></app-supplier-delete-button>\n <app-audit-log-for-model [modelId]=\"element?.id\" modelType=\"Supplier\"\n logView=\"all\"></app-audit-log-for-model>\n\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>","import { SupplierViewComponent } from \"./supplier-view/supplier-view.component\";\nimport { NgModule } from \"@angular/core\";\nimport { RouterModule, Routes } from \"@angular/router\";\nimport { SupplierComponent } from \"./supplier.component\";\nimport { SuppliersListComponent } from \"./suppliers-list/suppliers-list.component\";\n\nconst routes: Routes = [\n {\n path: \"\",\n component: SupplierComponent,\n children: [\n { path: \"\", component: SuppliersListComponent },\n {\n path: \":id/view\",\n component: SupplierViewComponent,\n children: [\n {\n path: \"\",\n redirectTo: \"incidents\",\n pathMatch: \"full\",\n },\n ],\n },\n ],\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class SupplierRoutingModule {}\n","import {\n AuditLogForModelModule,\n NoteModule,\n SearchableSelectorModule,\n} from \"ngx-techlify-core\";\nimport { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { SupplierRoutingModule } from \"./supplier-routing.module\";\nimport { SupplierComponent } from \"./supplier.component\";\nimport { SupplierViewComponent } from \"./supplier-view/supplier-view.component\";\nimport { SuppliersListComponent } from \"./suppliers-list/suppliers-list.component\";\nimport { SupplierFormComponent } from \"./supplier-form/supplier-form.component\";\nimport { SupplierInformationComponent } from \"./supplier-information/supplier-information.component\";\nimport { FlexModule } from \"@angular/flex-layout\";\nimport { ReactiveFormsModule } from \"@angular/forms\";\nimport { InfiniteScrollModule } from \"ngx-infinite-scroll\";\nimport { MaterialModule } from '../material.module';\nimport { NgxPermissionsModule } from 'ngx-permissions';\nimport { SupplierFormButtonComponent } from './supplier-form/supplier-form-button/supplier-form-button.component';\nimport { SupplierDeleteButtonComponent } from './supplier-delete-button/supplier-delete-button.component';\n\n@NgModule({\n declarations: [\n SupplierComponent,\n SupplierViewComponent,\n SuppliersListComponent,\n SupplierFormComponent,\n SupplierInformationComponent,\n ],\n imports: [\n CommonModule,\n SupplierRoutingModule,\n MaterialModule,\n SearchableSelectorModule,\n AuditLogForModelModule,\n NoteModule,\n FlexModule,\n ReactiveFormsModule,\n InfiniteScrollModule,\n NgxPermissionsModule,\n SupplierFormButtonComponent,\n SupplierDeleteButtonComponent\n ],\n})\nexport class SupplierModule {}\n"],"names":["i2.SupplierService","i3","i4","i5","i6","i7","i1.SupplierService","i8.SupplierInformationComponent","i2.SupplierFormService","i2","i3.SupplierService","i1","i7.SupplierFormService","i8","i9","i10","i11","i12","i13","i14","i15","i16","i17","i18","i19.SupplierFormButtonComponent","i20.SupplierDeleteButtonComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgBa,4BAA4B,CAAA;AAI7B,IAAA,MAAA;AACA,IAAA,eAAA;AACA,IAAA,YAAA;AACA,IAAA,MAAA;AACA,IAAA,YAAA;AAPD,IAAA,QAAQ;IAEjB,WACU,CAAA,MAAiB,EACjB,eAAgC,EAChC,YAA0B,EAC1B,MAAc,EACd,YAAiC,EAAA;QAJjC,IAAM,CAAA,MAAA,GAAN,MAAM;QACN,IAAe,CAAA,eAAA,GAAf,eAAe;QACf,IAAY,CAAA,YAAA,GAAZ,YAAY;QACZ,IAAM,CAAA,MAAA,GAAN,MAAM;QACN,IAAY,CAA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