@zeedhi/teknisa-components-common 1.108.0 → 1.109.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 (70) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +7 -7
  3. package/coverage/clover.xml +49 -49
  4. package/coverage/coverage-final.json +47 -47
  5. package/coverage/lcov-report/index.html +1 -1
  6. package/coverage/lcov-report/tests/__helpers__/component-event-helper.ts.html +1 -1
  7. package/coverage/lcov-report/tests/__helpers__/flush-promises-helper.ts.html +1 -1
  8. package/coverage/lcov-report/tests/__helpers__/get-child-helper.ts.html +1 -1
  9. package/coverage/lcov-report/tests/__helpers__/index.html +1 -1
  10. package/coverage/lcov-report/tests/__helpers__/index.ts.html +1 -1
  11. package/coverage/lcov-report/tests/__helpers__/mock-created-helper.ts.html +1 -1
  12. package/coverage/lcov.info +47 -47
  13. package/jest.config.js +1 -1
  14. package/package.json +2 -2
  15. package/tests/__helpers__/component-event-helper.ts +5 -5
  16. package/tests/__helpers__/flush-promises-helper.ts +3 -3
  17. package/tests/__helpers__/get-child-helper.ts +27 -27
  18. package/tests/__helpers__/index.ts +3 -3
  19. package/tests/__helpers__/mock-created-helper.ts +12 -12
  20. package/tests/__mocks__/@zeedhi/core/i18n.js +74 -74
  21. package/tests/__mocks__/@zeedhi/core.js +4 -4
  22. package/tests/unit/components/crud/crud-add-button.spec.ts +56 -56
  23. package/tests/unit/components/crud/crud-button.spec.ts +94 -94
  24. package/tests/unit/components/crud/crud-cancel-button.spec.ts +91 -91
  25. package/tests/unit/components/crud/crud-delete-button.spec.ts +122 -122
  26. package/tests/unit/components/crud/crud-form.spec.ts +165 -165
  27. package/tests/unit/components/crud/crud-save-button.spec.ts +118 -118
  28. package/tests/unit/components/tek-breadcrumb-header/tek-breadcrumb-header.spec.ts +42 -42
  29. package/tests/unit/components/tek-card-title/CardTitle.spec.ts +34 -34
  30. package/tests/unit/components/tek-datasource/memory-datasource.spec.ts +470 -470
  31. package/tests/unit/components/tek-datasource/rest-datasource.spec.ts +364 -364
  32. package/tests/unit/components/tek-drag-grid/tek-drag-grid.spec.ts +112 -112
  33. package/tests/unit/components/tek-grid/filter-helper.spec.ts +148 -148
  34. package/tests/unit/components/tek-grid/grid-column.spec.ts +270 -270
  35. package/tests/unit/components/tek-grid/grid-columns-button.spec.ts +195 -195
  36. package/tests/unit/components/tek-grid/grid-filter-button.spec.ts +967 -967
  37. package/tests/unit/components/tek-grid/grid.spec.ts +3340 -3340
  38. package/tests/unit/components/tek-grid/layout_options.spec.ts +980 -980
  39. package/tests/unit/components/tek-image/Image.spec.ts +67 -67
  40. package/tests/unit/components/tek-iterable-carousel/iterable-carousel.spec.ts +37 -37
  41. package/tests/unit/components/tek-iterable-component-render/iterable-component-render.spec.ts +200 -200
  42. package/tests/unit/components/tek-loading/Loading.spec.ts +30 -30
  43. package/tests/unit/components/tek-notifications/notifications.spec.ts +201 -201
  44. package/tests/unit/components/tek-product-card/product-card.spec.ts +61 -61
  45. package/tests/unit/components/tek-user-info/TekUserInfoContoller.spec.ts +220 -220
  46. package/tests/unit/components/tek-user-info/tek-user-info-list.spec.ts +86 -86
  47. package/tests/unit/components/tek-user-info/tek-user-info.spec.ts +430 -430
  48. package/tests/unit/components/tree-grid/tree-grid.spec.ts +776 -776
  49. package/tests/unit/utils/grid-base/delete-rows-error.spec.ts +24 -24
  50. package/tests/unit/utils/grid-base/export-options/button-option.spec.ts +44 -44
  51. package/tests/unit/utils/grid-base/export-options/multi-option.spec.ts +135 -135
  52. package/tests/unit/utils/grid-base/grid-controller.spec.ts +267 -267
  53. package/tests/unit/utils/report-filter/report-filter.spec.ts +66 -66
  54. package/tsconfig.eslint.json +8 -8
  55. package/types/components/tek-ag-grid/default-icons.d.ts +53 -0
  56. package/types/components/tek-ag-grid/interfaces.d.ts +9 -0
  57. package/types/components/tek-ag-grid/tek-ag-grid.d.ts +35 -0
  58. package/types/components/tek-datasource/datasource.d.ts +94 -0
  59. package/types/components/tek-datasource/memory-datasource.d.ts +4 -2
  60. package/types/components/tek-datasource/rest-datasource.d.ts +4 -6
  61. package/types/components/tek-grid/default-icons.d.ts +53 -0
  62. package/types/components/tek-grid/filter-dynamic-values.d.ts +9 -0
  63. package/types/components/tek-grid/grid-controller.d.ts +19 -0
  64. package/types/components/tek-grid/grid_column.d.ts +14 -0
  65. package/types/components/tek-grid/grid_controller.d.ts +15 -0
  66. package/types/components/tek-grid/tek-grid.d.ts +35 -0
  67. package/types/components/tek-login/interfaces.d.ts +3 -0
  68. package/types/components/tek-login/login-children.d.ts +3 -0
  69. package/types/components/tek-login/login.d.ts +58 -0
  70. package/types/components/tek-login/login_children.d.ts +3 -0
@@ -416,7 +416,7 @@
416
416
  <div class='footer quiet pad2 space-top1 center small'>
417
417
  Code coverage generated by
418
418
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
419
- at 2025-05-29T18:55:51.801Z
419
+ at 2025-06-25T19:19:34.550Z
420
420
  </div>
421
421
  <script src="prettify.js"></script>
422
422
  <script>
@@ -85,7 +85,7 @@ export { setClick };
85
85
  <div class='footer quiet pad2 space-top1 center small'>
86
86
  Code coverage generated by
87
87
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
88
- at 2025-05-29T18:55:51.801Z
88
+ at 2025-06-25T19:19:34.550Z
89
89
  </div>
90
90
  <script src="../../prettify.js"></script>
91
91
  <script>
@@ -79,7 +79,7 @@ export { flushPromises };
79
79
  <div class='footer quiet pad2 space-top1 center small'>
80
80
  Code coverage generated by
81
81
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
82
- at 2025-05-29T18:55:51.801Z
82
+ at 2025-06-25T19:19:34.550Z
83
83
  </div>
84
84
  <script src="../../prettify.js"></script>
85
85
  <script>
@@ -151,7 +151,7 @@ export { getChild };
151
151
  <div class='footer quiet pad2 space-top1 center small'>
152
152
  Code coverage generated by
153
153
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
154
- at 2025-05-29T18:55:51.801Z
154
+ at 2025-06-25T19:19:34.550Z
155
155
  </div>
156
156
  <script src="../../prettify.js"></script>
157
157
  <script>
@@ -161,7 +161,7 @@
161
161
  <div class='footer quiet pad2 space-top1 center small'>
162
162
  Code coverage generated by
163
163
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
164
- at 2025-05-29T18:55:51.801Z
164
+ at 2025-06-25T19:19:34.550Z
165
165
  </div>
166
166
  <script src="../../prettify.js"></script>
167
167
  <script>
@@ -79,7 +79,7 @@ export * from './mock-created-helper';
79
79
  <div class='footer quiet pad2 space-top1 center small'>
80
80
  Code coverage generated by
81
81
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
82
- at 2025-05-29T18:55:51.801Z
82
+ at 2025-06-25T19:19:34.550Z
83
83
  </div>
84
84
  <script src="../../prettify.js"></script>
85
85
  <script>
@@ -106,7 +106,7 @@ export { mockCreated };
106
106
  <div class='footer quiet pad2 space-top1 center small'>
107
107
  Code coverage generated by
108
108
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
109
- at 2025-05-29T18:55:51.801Z
109
+ at 2025-06-25T19:19:34.550Z
110
110
  </div>
111
111
  <script src="../../prettify.js"></script>
112
112
  <script>
@@ -1,5 +1,5 @@
1
1
  TN:
2
- SF:src\index.ts
2
+ SF:src/index.ts
3
3
  FNF:0
4
4
  FNH:0
5
5
  DA:1,26
@@ -12,7 +12,7 @@ BRF:0
12
12
  BRH:0
13
13
  end_of_record
14
14
  TN:
15
- SF:src\components\index.ts
15
+ SF:src/components/index.ts
16
16
  FNF:0
17
17
  FNH:0
18
18
  DA:1,30
@@ -64,7 +64,7 @@ BRF:0
64
64
  BRH:0
65
65
  end_of_record
66
66
  TN:
67
- SF:src\components\crud\crud-add-button.ts
67
+ SF:src/components/crud/crud-add-button.ts
68
68
  FN:38,(anonymous_0)
69
69
  FN:52,(anonymous_1)
70
70
  FNF:2
@@ -106,7 +106,7 @@ BRF:14
106
106
  BRH:14
107
107
  end_of_record
108
108
  TN:
109
- SF:src\components\crud\crud-button.ts
109
+ SF:src/components/crud/crud-button.ts
110
110
  FN:28,(anonymous_0)
111
111
  FN:45,(anonymous_1)
112
112
  FN:51,(anonymous_2)
@@ -145,7 +145,7 @@ BRF:4
145
145
  BRH:4
146
146
  end_of_record
147
147
  TN:
148
- SF:src\components\crud\crud-cancel-button.ts
148
+ SF:src/components/crud/crud-cancel-button.ts
149
149
  FN:25,(anonymous_0)
150
150
  FN:37,(anonymous_1)
151
151
  FN:51,(anonymous_2)
@@ -197,7 +197,7 @@ BRF:15
197
197
  BRH:15
198
198
  end_of_record
199
199
  TN:
200
- SF:src\components\crud\crud-delete-button.ts
200
+ SF:src/components/crud/crud-delete-button.ts
201
201
  FN:39,(anonymous_0)
202
202
  FN:54,(anonymous_1)
203
203
  FN:58,(anonymous_2)
@@ -265,7 +265,7 @@ BRF:23
265
265
  BRH:23
266
266
  end_of_record
267
267
  TN:
268
- SF:src\components\crud\crud-form.ts
268
+ SF:src/components/crud/crud-form.ts
269
269
  FN:28,(anonymous_0)
270
270
  FN:35,(anonymous_1)
271
271
  FN:44,(anonymous_2)
@@ -332,7 +332,7 @@ BRF:10
332
332
  BRH:10
333
333
  end_of_record
334
334
  TN:
335
- SF:src\components\crud\crud-save-button.ts
335
+ SF:src/components/crud/crud-save-button.ts
336
336
  FN:20,(anonymous_0)
337
337
  FN:32,(anonymous_1)
338
338
  FN:49,(anonymous_2)
@@ -384,7 +384,7 @@ BRF:14
384
384
  BRH:14
385
385
  end_of_record
386
386
  TN:
387
- SF:src\components\tek-breadcrumb-header\breadcrumb-header.ts
387
+ SF:src/components/tek-breadcrumb-header/breadcrumb-header.ts
388
388
  FN:14,(anonymous_0)
389
389
  FN:21,(anonymous_1)
390
390
  FNF:2
@@ -408,7 +408,7 @@ BRF:2
408
408
  BRH:2
409
409
  end_of_record
410
410
  TN:
411
- SF:src\components\tek-card-title\card-title.ts
411
+ SF:src/components/tek-card-title/card-title.ts
412
412
  FN:20,(anonymous_0)
413
413
  FNF:1
414
414
  FNH:1
@@ -437,7 +437,7 @@ BRF:2
437
437
  BRH:2
438
438
  end_of_record
439
439
  TN:
440
- SF:src\components\tek-datasource\interfaces.ts
440
+ SF:src/components/tek-datasource/interfaces.ts
441
441
  FNF:0
442
442
  FNH:0
443
443
  DA:19,30
@@ -448,7 +448,7 @@ BRF:0
448
448
  BRH:0
449
449
  end_of_record
450
450
  TN:
451
- SF:src\components\tek-datasource\memory-datasource.ts
451
+ SF:src/components/tek-datasource/memory-datasource.ts
452
452
  FN:37,(anonymous_7)
453
453
  FN:51,(anonymous_8)
454
454
  FN:56,(anonymous_9)
@@ -729,7 +729,7 @@ BRF:89
729
729
  BRH:89
730
730
  end_of_record
731
731
  TN:
732
- SF:src\components\tek-datasource\rest-datasource.ts
732
+ SF:src/components/tek-datasource/rest-datasource.ts
733
733
  FN:37,(anonymous_7)
734
734
  FN:54,(anonymous_8)
735
735
  FN:59,(anonymous_9)
@@ -897,7 +897,7 @@ BRF:43
897
897
  BRH:43
898
898
  end_of_record
899
899
  TN:
900
- SF:src\components\tek-drag-grid\tek-drag-grid.ts
900
+ SF:src/components/tek-drag-grid/tek-drag-grid.ts
901
901
  FN:13,(anonymous_0)
902
902
  FN:26,(anonymous_1)
903
903
  FN:31,(anonymous_2)
@@ -952,7 +952,7 @@ BRF:2
952
952
  BRH:2
953
953
  end_of_record
954
954
  TN:
955
- SF:src\components\tek-grid\filter-helper.ts
955
+ SF:src/components/tek-grid/filter-helper.ts
956
956
  FN:5,(anonymous_0)
957
957
  FN:9,(anonymous_1)
958
958
  FN:13,(anonymous_2)
@@ -975,7 +975,7 @@ BRF:0
975
975
  BRH:0
976
976
  end_of_record
977
977
  TN:
978
- SF:src\components\tek-grid\grid-column.ts
978
+ SF:src/components/tek-grid/grid-column.ts
979
979
  FN:70,(anonymous_8)
980
980
  FN:78,(anonymous_9)
981
981
  FN:90,(anonymous_10)
@@ -1125,7 +1125,7 @@ BRF:24
1125
1125
  BRH:24
1126
1126
  end_of_record
1127
1127
  TN:
1128
- SF:src\components\tek-grid\grid-columns-button-controller.ts
1128
+ SF:src/components/tek-grid/grid-columns-button-controller.ts
1129
1129
  FN:6,(anonymous_0)
1130
1130
  FN:15,(anonymous_1)
1131
1131
  FN:23,(anonymous_2)
@@ -1161,7 +1161,7 @@ BRF:7
1161
1161
  BRH:7
1162
1162
  end_of_record
1163
1163
  TN:
1164
- SF:src\components\tek-grid\grid-columns-button.ts
1164
+ SF:src/components/tek-grid/grid-columns-button.ts
1165
1165
  FN:12,(anonymous_0)
1166
1166
  FN:18,(anonymous_1)
1167
1167
  FN:26,(anonymous_2)
@@ -1195,7 +1195,7 @@ BRF:1
1195
1195
  BRH:1
1196
1196
  end_of_record
1197
1197
  TN:
1198
- SF:src\components\tek-grid\grid-filter-button.ts
1198
+ SF:src/components/tek-grid/grid-filter-button.ts
1199
1199
  FN:30,(anonymous_0)
1200
1200
  FN:40,(anonymous_1)
1201
1201
  FN:47,(anonymous_2)
@@ -1508,7 +1508,7 @@ BRF:94
1508
1508
  BRH:94
1509
1509
  end_of_record
1510
1510
  TN:
1511
- SF:src\components\tek-grid\grid.ts
1511
+ SF:src/components/tek-grid/grid.ts
1512
1512
  FN:225,(anonymous_8)
1513
1513
  FN:607,(anonymous_9)
1514
1514
  FN:644,(anonymous_10)
@@ -2407,7 +2407,7 @@ BRF:193
2407
2407
  BRH:193
2408
2408
  end_of_record
2409
2409
  TN:
2410
- SF:src\components\tek-grid\interfaces.ts
2410
+ SF:src/components/tek-grid/interfaces.ts
2411
2411
  FN:126,(anonymous_0)
2412
2412
  FNF:1
2413
2413
  FNH:1
@@ -2420,7 +2420,7 @@ BRF:0
2420
2420
  BRH:0
2421
2421
  end_of_record
2422
2422
  TN:
2423
- SF:src\components\tek-grid\layout-options.ts
2423
+ SF:src/components/tek-grid/layout-options.ts
2424
2424
  FN:14,(anonymous_7)
2425
2425
  FN:42,(anonymous_8)
2426
2426
  FN:56,(anonymous_9)
@@ -2625,7 +2625,7 @@ BRF:53
2625
2625
  BRH:53
2626
2626
  end_of_record
2627
2627
  TN:
2628
- SF:src\components\tek-image\image.ts
2628
+ SF:src/components/tek-image/image.ts
2629
2629
  FN:63,(anonymous_0)
2630
2630
  FN:77,(anonymous_1)
2631
2631
  FNF:2
@@ -2661,7 +2661,7 @@ BRF:0
2661
2661
  BRH:0
2662
2662
  end_of_record
2663
2663
  TN:
2664
- SF:src\components\tek-iterable-carousel\iterable-carousel.ts
2664
+ SF:src/components/tek-iterable-carousel/iterable-carousel.ts
2665
2665
  FN:12,(anonymous_0)
2666
2666
  FN:21,(anonymous_1)
2667
2667
  FN:25,(anonymous_2)
@@ -2696,7 +2696,7 @@ BRF:13
2696
2696
  BRH:13
2697
2697
  end_of_record
2698
2698
  TN:
2699
- SF:src\components\tek-iterable-component-render\iterable-component-render.ts
2699
+ SF:src/components/tek-iterable-component-render/iterable-component-render.ts
2700
2700
  FNF:0
2701
2701
  FNH:0
2702
2702
  DA:1,30
@@ -2707,7 +2707,7 @@ BRF:0
2707
2707
  BRH:0
2708
2708
  end_of_record
2709
2709
  TN:
2710
- SF:src\components\tek-loading\loading.ts
2710
+ SF:src/components/tek-loading/loading.ts
2711
2711
  FN:31,(anonymous_0)
2712
2712
  FNF:1
2713
2713
  FNH:1
@@ -2728,7 +2728,7 @@ BRF:0
2728
2728
  BRH:0
2729
2729
  end_of_record
2730
2730
  TN:
2731
- SF:src\components\tek-notifications\notifications.ts
2731
+ SF:src/components/tek-notifications/notifications.ts
2732
2732
  FN:39,(anonymous_0)
2733
2733
  FN:49,(anonymous_1)
2734
2734
  FN:53,(anonymous_2)
@@ -2755,7 +2755,7 @@ BRF:0
2755
2755
  BRH:0
2756
2756
  end_of_record
2757
2757
  TN:
2758
- SF:src\components\tek-product-card\product-card.ts
2758
+ SF:src/components/tek-product-card/product-card.ts
2759
2759
  FN:80,(anonymous_0)
2760
2760
  FN:98,(anonymous_1)
2761
2761
  FNF:2
@@ -2801,7 +2801,7 @@ BRF:2
2801
2801
  BRH:2
2802
2802
  end_of_record
2803
2803
  TN:
2804
- SF:src\components\tek-tree-grid\tree-grid.ts
2804
+ SF:src/components/tek-tree-grid/tree-grid.ts
2805
2805
  FN:186,(anonymous_8)
2806
2806
  FN:288,(anonymous_9)
2807
2807
  FN:301,(anonymous_10)
@@ -2970,7 +2970,7 @@ BRF:21
2970
2970
  BRH:21
2971
2971
  end_of_record
2972
2972
  TN:
2973
- SF:src\components\tek-user-info\TekUserInfoController.ts
2973
+ SF:src/components/tek-user-info/TekUserInfoController.ts
2974
2974
  FN:12,(anonymous_1)
2975
2975
  FN:8,(anonymous_2)
2976
2976
  FN:16,(anonymous_3)
@@ -3070,7 +3070,7 @@ BRF:28
3070
3070
  BRH:28
3071
3071
  end_of_record
3072
3072
  TN:
3073
- SF:src\components\tek-user-info\tek-user-info-list.ts
3073
+ SF:src/components/tek-user-info/tek-user-info-list.ts
3074
3074
  FN:14,(anonymous_0)
3075
3075
  FN:21,(anonymous_1)
3076
3076
  FN:45,(anonymous_2)
@@ -3107,7 +3107,7 @@ BRF:5
3107
3107
  BRH:5
3108
3108
  end_of_record
3109
3109
  TN:
3110
- SF:src\components\tek-user-info\tek-user-info.ts
3110
+ SF:src/components/tek-user-info/tek-user-info.ts
3111
3111
  FN:38,(anonymous_7)
3112
3112
  FN:49,(anonymous_8)
3113
3113
  FN:59,(anonymous_9)
@@ -3190,7 +3190,7 @@ BRF:12
3190
3190
  BRH:12
3191
3191
  end_of_record
3192
3192
  TN:
3193
- SF:src\error\delete-rows-error.ts
3193
+ SF:src/error/delete-rows-error.ts
3194
3194
  FN:5,(anonymous_0)
3195
3195
  FNF:1
3196
3196
  FNH:1
@@ -3204,7 +3204,7 @@ BRF:0
3204
3204
  BRH:0
3205
3205
  end_of_record
3206
3206
  TN:
3207
- SF:src\error\incomplete-groups-error.ts
3207
+ SF:src/error/incomplete-groups-error.ts
3208
3208
  FN:8,(anonymous_0)
3209
3209
  FNF:1
3210
3210
  FNH:1
@@ -3220,7 +3220,7 @@ BRF:0
3220
3220
  BRH:0
3221
3221
  end_of_record
3222
3222
  TN:
3223
- SF:src\utils\extract-properties.ts
3223
+ SF:src/utils/extract-properties.ts
3224
3224
  FN:7,(anonymous_0)
3225
3225
  FN:9,(anonymous_1)
3226
3226
  FNF:2
@@ -3240,7 +3240,7 @@ BRF:1
3240
3240
  BRH:1
3241
3241
  end_of_record
3242
3242
  TN:
3243
- SF:src\utils\index.ts
3243
+ SF:src/utils/index.ts
3244
3244
  FNF:0
3245
3245
  FNH:0
3246
3246
  DA:1,30
@@ -3255,7 +3255,7 @@ BRF:0
3255
3255
  BRH:0
3256
3256
  end_of_record
3257
3257
  TN:
3258
- SF:src\utils\grid-base\grid-base.ts
3258
+ SF:src/utils/grid-base/grid-base.ts
3259
3259
  FN:43,(anonymous_7)
3260
3260
  FN:49,(anonymous_8)
3261
3261
  FN:55,(anonymous_9)
@@ -3532,7 +3532,7 @@ BRF:52
3532
3532
  BRH:52
3533
3533
  end_of_record
3534
3534
  TN:
3535
- SF:src\utils\grid-base\grid-controller.ts
3535
+ SF:src/utils/grid-base/grid-controller.ts
3536
3536
  FN:9,(anonymous_0)
3537
3537
  FN:14,(anonymous_1)
3538
3538
  FN:18,(anonymous_2)
@@ -3667,7 +3667,7 @@ BRF:47
3667
3667
  BRH:47
3668
3668
  end_of_record
3669
3669
  TN:
3670
- SF:src\utils\grid-base\export-options\button-option.ts
3670
+ SF:src/utils/grid-base/export-options/button-option.ts
3671
3671
  FN:7,(anonymous_0)
3672
3672
  FN:11,(anonymous_1)
3673
3673
  FN:23,(anonymous_2)
@@ -3691,7 +3691,7 @@ BRF:3
3691
3691
  BRH:3
3692
3692
  end_of_record
3693
3693
  TN:
3694
- SF:src\utils\grid-base\export-options\index.ts
3694
+ SF:src/utils/grid-base/export-options/index.ts
3695
3695
  FNF:0
3696
3696
  FNH:0
3697
3697
  DA:1,30
@@ -3703,7 +3703,7 @@ BRF:0
3703
3703
  BRH:0
3704
3704
  end_of_record
3705
3705
  TN:
3706
- SF:src\utils\grid-base\export-options\multi-option.ts
3706
+ SF:src/utils/grid-base/export-options/multi-option.ts
3707
3707
  FN:12,(anonymous_0)
3708
3708
  FN:16,(anonymous_1)
3709
3709
  FN:20,(anonymous_2)
@@ -3756,7 +3756,7 @@ BRF:8
3756
3756
  BRH:8
3757
3757
  end_of_record
3758
3758
  TN:
3759
- SF:src\utils\report-filter\report-filter.ts
3759
+ SF:src/utils/report-filter/report-filter.ts
3760
3760
  FN:27,(anonymous_0)
3761
3761
  FN:31,(anonymous_1)
3762
3762
  FN:32,(anonymous_2)
@@ -3793,7 +3793,7 @@ BRF:1
3793
3793
  BRH:1
3794
3794
  end_of_record
3795
3795
  TN:
3796
- SF:tests\__helpers__\component-event-helper.ts
3796
+ SF:tests/__helpers__/component-event-helper.ts
3797
3797
  FN:3,(anonymous_0)
3798
3798
  FNF:1
3799
3799
  FNH:1
@@ -3807,7 +3807,7 @@ BRF:1
3807
3807
  BRH:1
3808
3808
  end_of_record
3809
3809
  TN:
3810
- SF:tests\__helpers__\flush-promises-helper.ts
3810
+ SF:tests/__helpers__/flush-promises-helper.ts
3811
3811
  FN:1,(anonymous_0)
3812
3812
  FNF:1
3813
3813
  FNH:1
@@ -3820,7 +3820,7 @@ BRF:0
3820
3820
  BRH:0
3821
3821
  end_of_record
3822
3822
  TN:
3823
- SF:tests\__helpers__\get-child-helper.ts
3823
+ SF:tests/__helpers__/get-child-helper.ts
3824
3824
  FN:8,(anonymous_0)
3825
3825
  FN:11,(anonymous_1)
3826
3826
  FNF:2
@@ -3848,7 +3848,7 @@ BRF:5
3848
3848
  BRH:5
3849
3849
  end_of_record
3850
3850
  TN:
3851
- SF:tests\__helpers__\index.ts
3851
+ SF:tests/__helpers__/index.ts
3852
3852
  FNF:0
3853
3853
  FNH:0
3854
3854
  DA:1,3
@@ -3860,7 +3860,7 @@ BRF:0
3860
3860
  BRH:0
3861
3861
  end_of_record
3862
3862
  TN:
3863
- SF:tests\__helpers__\mock-created-helper.ts
3863
+ SF:tests/__helpers__/mock-created-helper.ts
3864
3864
  FN:6,(anonymous_0)
3865
3865
  FN:7,(anonymous_1)
3866
3866
  FNF:2
package/jest.config.js CHANGED
@@ -1 +1 @@
1
- module.exports = require('../../jest.config.js');
1
+ module.exports = require('../../jest.config.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/teknisa-components-common",
3
- "version": "1.108.0",
3
+ "version": "1.109.1",
4
4
  "description": "Teknisa Components Common",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -32,5 +32,5 @@
32
32
  "peerDependencies": {
33
33
  "@zeedhi/core": "^1.97.0"
34
34
  },
35
- "gitHead": "c23fc7d327e5cd145b75229b2dca54967ec803d3"
35
+ "gitHead": "d40cf324961b699346b610c975eaedc46f1a154a"
36
36
  }
@@ -1,5 +1,5 @@
1
- import { Component } from '@zeedhi/common';
2
-
3
- const setClick = (instance: Component, event: any = {}) => instance.click(event, {});
4
-
5
- export { setClick };
1
+ import { Component } from '@zeedhi/common';
2
+
3
+ const setClick = (instance: Component, event: any = {}) => instance.click(event, {});
4
+
5
+ export { setClick };
@@ -1,3 +1,3 @@
1
- const flushPromises = () => (new Promise(setImmediate));
2
-
3
- export { flushPromises };
1
+ const flushPromises = () => (new Promise(setImmediate));
2
+
3
+ export { flushPromises };
@@ -1,27 +1,27 @@
1
- import { IComponent } from '@zeedhi/common';
2
-
3
- /**
4
- * Search for a component inside an array of children
5
- *
6
- * The children array can be either an array of IComponent or an array of Component
7
- */
8
- const getChild = <T extends IComponent>(children: any[], name: string): T => {
9
- let found: any;
10
-
11
- children.forEach((child) => {
12
- if (child.name === name) {
13
- found = child;
14
- return;
15
- }
16
-
17
- if (child.children && child.children.length > 0) {
18
- const result = getChild<T>(child.children, name) as T;
19
-
20
- if (result) found = result;
21
- }
22
- });
23
-
24
- return found;
25
- };
26
-
27
- export { getChild };
1
+ import { IComponent } from '@zeedhi/common';
2
+
3
+ /**
4
+ * Search for a component inside an array of children
5
+ *
6
+ * The children array can be either an array of IComponent or an array of Component
7
+ */
8
+ const getChild = <T extends IComponent>(children: any[], name: string): T => {
9
+ let found: any;
10
+
11
+ children.forEach((child) => {
12
+ if (child.name === name) {
13
+ found = child;
14
+ return;
15
+ }
16
+
17
+ if (child.children && child.children.length > 0) {
18
+ const result = getChild<T>(child.children, name) as T;
19
+
20
+ if (result) found = result;
21
+ }
22
+ });
23
+
24
+ return found;
25
+ };
26
+
27
+ export { getChild };
@@ -1,3 +1,3 @@
1
- export * from './component-event-helper';
2
- export * from './get-child-helper';
3
- export * from './mock-created-helper';
1
+ export * from './component-event-helper';
2
+ export * from './get-child-helper';
3
+ export * from './mock-created-helper';
@@ -1,12 +1,12 @@
1
- import { ComponentRender } from '@zeedhi/common';
2
-
3
- /**
4
- * Function used to spy on a class' onCreated and always assign the componentId as 1
5
- */
6
- const mockCreated = <T extends ComponentRender>(component: T, prototype: any) => {
7
- jest.spyOn(prototype, 'onCreated').mockImplementation(() => {
8
- component.componentId = 1;
9
- });
10
- };
11
-
12
- export { mockCreated };
1
+ import { ComponentRender } from '@zeedhi/common';
2
+
3
+ /**
4
+ * Function used to spy on a class' onCreated and always assign the componentId as 1
5
+ */
6
+ const mockCreated = <T extends ComponentRender>(component: T, prototype: any) => {
7
+ jest.spyOn(prototype, 'onCreated').mockImplementation(() => {
8
+ component.componentId = 1;
9
+ });
10
+ };
11
+
12
+ export { mockCreated };