@zeedhi/teknisa-components-common 1.127.0 → 1.129.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/coverage/clover.xml +115 -114
  2. package/coverage/coverage-final.json +47 -47
  3. package/coverage/lcov-report/index.html +7 -7
  4. package/coverage/lcov-report/tests/__helpers__/component-event-helper.ts.html +1 -1
  5. package/coverage/lcov-report/tests/__helpers__/flush-promises-helper.ts.html +1 -1
  6. package/coverage/lcov-report/tests/__helpers__/get-child-helper.ts.html +1 -1
  7. package/coverage/lcov-report/tests/__helpers__/index.html +1 -1
  8. package/coverage/lcov-report/tests/__helpers__/index.ts.html +1 -1
  9. package/coverage/lcov-report/tests/__helpers__/mock-created-helper.ts.html +1 -1
  10. package/coverage/lcov.info +124 -122
  11. package/dist/tek-components-common.esm.js +2 -0
  12. package/dist/tek-components-common.umd.js +2 -0
  13. package/package.json +2 -2
  14. package/tests/unit/components/tek-grid/layout_options.spec.ts +2 -0
  15. package/types/components/tek-grid/layout-options.d.ts +1 -1
  16. package/types/components/tek-ag-grid/default-icons.d.ts +0 -53
  17. package/types/components/tek-ag-grid/interfaces.d.ts +0 -9
  18. package/types/components/tek-ag-grid/tek-ag-grid.d.ts +0 -35
  19. package/types/components/tek-datasource/datasource.d.ts +0 -94
  20. package/types/components/tek-grid/default-icons.d.ts +0 -53
  21. package/types/components/tek-grid/filter-dynamic-values.d.ts +0 -9
  22. package/types/components/tek-grid/grid-controller.d.ts +0 -19
  23. package/types/components/tek-grid/grid_column.d.ts +0 -14
  24. package/types/components/tek-grid/grid_controller.d.ts +0 -15
  25. package/types/components/tek-grid/tek-grid.d.ts +0 -35
  26. package/types/components/tek-login/interfaces.d.ts +0 -3
  27. package/types/components/tek-login/login-children.d.ts +0 -3
  28. package/types/components/tek-login/login.d.ts +0 -58
  29. package/types/components/tek-login/login_children.d.ts +0 -3
@@ -25,14 +25,14 @@
25
25
  <div class='fl pad1y space-right2'>
26
26
  <span class="strong">100% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>1903/1903</span>
28
+ <span class='fraction'>1905/1905</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">100% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>805/805</span>
35
+ <span class='fraction'>806/806</span>
36
36
  </div>
37
37
 
38
38
 
@@ -46,7 +46,7 @@
46
46
  <div class='fl pad1y space-right2'>
47
47
  <span class="strong">100% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>1812/1812</span>
49
+ <span class='fraction'>1813/1813</span>
50
50
  </div>
51
51
 
52
52
 
@@ -189,13 +189,13 @@
189
189
  <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
190
190
  </td>
191
191
  <td data-value="100" class="pct high">100%</td>
192
- <td data-value="910" class="abs high">910/910</td>
192
+ <td data-value="912" class="abs high">912/912</td>
193
193
  <td data-value="100" class="pct high">100%</td>
194
- <td data-value="398" class="abs high">398/398</td>
194
+ <td data-value="399" class="abs high">399/399</td>
195
195
  <td data-value="100" class="pct high">100%</td>
196
196
  <td data-value="199" class="abs high">199/199</td>
197
197
  <td data-value="100" class="pct high">100%</td>
198
- <td data-value="862" class="abs high">862/862</td>
198
+ <td data-value="863" class="abs high">863/863</td>
199
199
  </tr>
200
200
 
201
201
  <tr>
@@ -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 2026-04-14T20:19:29.459Z
419
+ at 2026-05-14T14:12:30.782Z
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 2026-04-14T20:19:29.459Z
88
+ at 2026-05-14T14:12:30.782Z
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 2026-04-14T20:19:29.459Z
82
+ at 2026-05-14T14:12:30.782Z
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 2026-04-14T20:19:29.459Z
154
+ at 2026-05-14T14:12:30.782Z
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 2026-04-14T20:19:29.459Z
164
+ at 2026-05-14T14:12:30.782Z
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 2026-04-14T20:19:29.459Z
82
+ at 2026-05-14T14:12:30.782Z
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 2026-04-14T20:19:29.459Z
109
+ at 2026-05-14T14:12:30.782Z
110
110
  </div>
111
111
  <script src="../../prettify.js"></script>
112
112
  <script>
@@ -2432,22 +2432,22 @@ FN:110,(anonymous_14)
2432
2432
  FN:131,(anonymous_16)
2433
2433
  FN:134,(anonymous_17)
2434
2434
  FN:139,(anonymous_18)
2435
- FN:150,(anonymous_19)
2436
- FN:196,(anonymous_20)
2437
- FN:208,(anonymous_21)
2438
- FN:226,(anonymous_22)
2439
- FN:237,(anonymous_23)
2440
- FN:244,(anonymous_24)
2441
- FN:254,(anonymous_25)
2442
- FN:278,(anonymous_26)
2443
- FN:297,(anonymous_27)
2444
- FN:308,(anonymous_28)
2445
- FN:319,(anonymous_29)
2446
- FN:325,(anonymous_30)
2447
- FN:327,(anonymous_31)
2448
- FN:344,(anonymous_32)
2449
- FN:348,(anonymous_33)
2450
- FN:350,(anonymous_34)
2435
+ FN:152,(anonymous_19)
2436
+ FN:198,(anonymous_20)
2437
+ FN:210,(anonymous_21)
2438
+ FN:228,(anonymous_22)
2439
+ FN:239,(anonymous_23)
2440
+ FN:246,(anonymous_24)
2441
+ FN:256,(anonymous_25)
2442
+ FN:280,(anonymous_26)
2443
+ FN:299,(anonymous_27)
2444
+ FN:310,(anonymous_28)
2445
+ FN:321,(anonymous_29)
2446
+ FN:327,(anonymous_30)
2447
+ FN:329,(anonymous_31)
2448
+ FN:346,(anonymous_32)
2449
+ FN:350,(anonymous_33)
2450
+ FN:352,(anonymous_34)
2451
2451
  FNF:25
2452
2452
  FNH:25
2453
2453
  FNDA:21,(anonymous_7)
@@ -2458,7 +2458,7 @@ FNDA:4,(anonymous_13)
2458
2458
  FNDA:20,(anonymous_14)
2459
2459
  FNDA:78,(anonymous_16)
2460
2460
  FNDA:2,(anonymous_17)
2461
- FNDA:6,(anonymous_18)
2461
+ FNDA:7,(anonymous_18)
2462
2462
  FNDA:4,(anonymous_19)
2463
2463
  FNDA:1,(anonymous_20)
2464
2464
  FNDA:1,(anonymous_21)
@@ -2522,82 +2522,83 @@ DA:132,78
2522
2522
  DA:133,75
2523
2523
  DA:134,74
2524
2524
  DA:136,3
2525
- DA:140,6
2525
+ DA:140,7
2526
2526
  DA:142,6
2527
- DA:151,4
2528
- DA:152,4
2529
- DA:153,2
2530
- DA:154,1
2531
- DA:197,1
2532
- DA:198,1
2533
- DA:209,1
2534
- DA:210,1
2535
- DA:220,2
2527
+ DA:144,6
2528
+ DA:153,4
2529
+ DA:154,4
2530
+ DA:155,2
2531
+ DA:156,1
2532
+ DA:199,1
2533
+ DA:200,1
2534
+ DA:211,1
2535
+ DA:212,1
2536
2536
  DA:222,2
2537
- DA:227,4
2538
- DA:228,1
2539
- DA:229,1
2540
- DA:232,4
2541
- DA:233,4
2537
+ DA:224,2
2538
+ DA:229,4
2539
+ DA:230,1
2540
+ DA:231,1
2542
2541
  DA:234,4
2543
- DA:238,6
2544
- DA:239,6
2542
+ DA:235,4
2543
+ DA:236,4
2544
+ DA:240,6
2545
2545
  DA:241,6
2546
- DA:245,1
2546
+ DA:243,6
2547
2547
  DA:247,1
2548
- DA:248,1
2549
- DA:251,1
2550
- DA:255,13
2551
- DA:256,2
2552
- DA:261,2
2553
- DA:264,12
2554
- DA:265,12
2548
+ DA:249,1
2549
+ DA:250,1
2550
+ DA:253,1
2551
+ DA:257,13
2552
+ DA:258,2
2553
+ DA:263,2
2554
+ DA:266,12
2555
2555
  DA:267,12
2556
- DA:268,3
2557
- DA:271,12
2558
- DA:272,5
2559
- DA:275,12
2560
- DA:279,14
2556
+ DA:269,12
2557
+ DA:270,3
2558
+ DA:273,12
2559
+ DA:274,5
2560
+ DA:277,12
2561
2561
  DA:281,14
2562
- DA:286,14
2563
- DA:287,14
2564
- DA:288,1
2565
- DA:289,13
2562
+ DA:283,14
2563
+ DA:288,14
2564
+ DA:289,14
2566
2565
  DA:290,1
2567
- DA:291,1
2568
- DA:293,12
2569
- DA:298,2
2570
- DA:299,1
2571
- DA:300,1
2572
- DA:303,2
2566
+ DA:291,13
2567
+ DA:292,1
2568
+ DA:293,1
2569
+ DA:295,12
2570
+ DA:300,2
2571
+ DA:301,1
2572
+ DA:302,1
2573
2573
  DA:305,2
2574
- DA:309,1
2575
- DA:310,1
2574
+ DA:307,2
2576
2575
  DA:311,1
2577
2576
  DA:312,1
2577
+ DA:313,1
2578
2578
  DA:314,1
2579
2579
  DA:316,1
2580
- DA:320,2
2581
- DA:321,2
2580
+ DA:318,1
2582
2581
  DA:322,2
2583
2582
  DA:323,2
2584
2583
  DA:324,2
2585
2584
  DA:325,2
2586
- DA:326,8
2587
- DA:327,18
2588
- DA:329,8
2589
- DA:332,8
2590
- DA:339,2
2591
- DA:340,2
2592
- DA:345,9
2593
- DA:346,9
2585
+ DA:326,2
2586
+ DA:327,2
2587
+ DA:328,8
2588
+ DA:329,18
2589
+ DA:331,8
2590
+ DA:334,8
2591
+ DA:341,2
2592
+ DA:342,2
2594
2593
  DA:347,9
2595
- DA:348,13
2596
- DA:350,9
2597
- DA:351,27
2598
- DA:355,16
2599
- LF:121
2600
- LH:121
2594
+ DA:348,9
2595
+ DA:349,9
2596
+ DA:350,13
2597
+ DA:352,9
2598
+ DA:353,27
2599
+ DA:357,16
2600
+ LF:122
2601
+ LH:122
2601
2602
  BRDA:49,0,0,39
2602
2603
  BRDA:49,0,1,39
2603
2604
  BRDA:51,1,0,39
@@ -2631,53 +2632,54 @@ BRDA:128,17,0,14
2631
2632
  BRDA:128,17,1,2
2632
2633
  BRDA:132,18,0,75
2633
2634
  BRDA:133,19,0,1
2634
- BRDA:140,20,0,2
2635
- BRDA:140,20,1,4
2636
- BRDA:142,21,0,6
2637
- BRDA:142,21,1,3
2638
- BRDA:142,22,0,6
2639
- BRDA:142,22,1,3
2640
- BRDA:143,23,0,3
2641
- BRDA:143,23,1,3
2642
- BRDA:152,24,0,2
2643
- BRDA:152,24,1,2
2644
- BRDA:153,25,0,1
2645
- BRDA:226,26,0,2
2646
- BRDA:227,27,0,1
2647
- BRDA:247,28,0,1
2648
- BRDA:254,29,0,6
2649
- BRDA:255,30,0,2
2650
- BRDA:261,31,0,1
2651
- BRDA:267,32,0,3
2652
- BRDA:271,33,0,5
2653
- BRDA:286,34,0,14
2654
- BRDA:286,34,1,14
2655
- BRDA:287,35,0,1
2656
- BRDA:287,35,1,13
2657
- BRDA:287,36,0,14
2658
- BRDA:287,36,1,1
2659
- BRDA:289,37,0,1
2660
- BRDA:289,37,1,12
2661
- BRDA:298,38,0,1
2662
- BRDA:321,39,0,2
2663
- BRDA:321,39,1,1
2664
- BRDA:322,40,0,2
2665
- BRDA:322,40,1,1
2666
- BRDA:323,41,0,2
2667
- BRDA:323,41,1,1
2668
- BRDA:324,42,0,2
2669
- BRDA:329,43,0,6
2670
- BRDA:329,43,1,2
2671
- BRDA:339,44,0,2
2672
- BRDA:346,45,0,9
2673
- BRDA:346,45,1,4
2674
- BRDA:351,46,0,16
2675
- BRDA:352,47,0,27
2676
- BRDA:352,47,1,15
2677
- BRDA:359,48,0,16
2678
- BRDA:359,48,1,12
2679
- BRF:78
2680
- BRH:78
2635
+ BRDA:140,20,0,1
2636
+ BRDA:142,21,0,2
2637
+ BRDA:142,21,1,4
2638
+ BRDA:144,22,0,6
2639
+ BRDA:144,22,1,3
2640
+ BRDA:144,23,0,6
2641
+ BRDA:144,23,1,3
2642
+ BRDA:145,24,0,3
2643
+ BRDA:145,24,1,3
2644
+ BRDA:154,25,0,2
2645
+ BRDA:154,25,1,2
2646
+ BRDA:155,26,0,1
2647
+ BRDA:228,27,0,2
2648
+ BRDA:229,28,0,1
2649
+ BRDA:249,29,0,1
2650
+ BRDA:256,30,0,6
2651
+ BRDA:257,31,0,2
2652
+ BRDA:263,32,0,1
2653
+ BRDA:269,33,0,3
2654
+ BRDA:273,34,0,5
2655
+ BRDA:288,35,0,14
2656
+ BRDA:288,35,1,14
2657
+ BRDA:289,36,0,1
2658
+ BRDA:289,36,1,13
2659
+ BRDA:289,37,0,14
2660
+ BRDA:289,37,1,1
2661
+ BRDA:291,38,0,1
2662
+ BRDA:291,38,1,12
2663
+ BRDA:300,39,0,1
2664
+ BRDA:323,40,0,2
2665
+ BRDA:323,40,1,1
2666
+ BRDA:324,41,0,2
2667
+ BRDA:324,41,1,1
2668
+ BRDA:325,42,0,2
2669
+ BRDA:325,42,1,1
2670
+ BRDA:326,43,0,2
2671
+ BRDA:331,44,0,6
2672
+ BRDA:331,44,1,2
2673
+ BRDA:341,45,0,2
2674
+ BRDA:348,46,0,9
2675
+ BRDA:348,46,1,4
2676
+ BRDA:353,47,0,16
2677
+ BRDA:354,48,0,27
2678
+ BRDA:354,48,1,15
2679
+ BRDA:361,49,0,16
2680
+ BRDA:361,49,1,12
2681
+ BRF:79
2682
+ BRH:79
2681
2683
  end_of_record
2682
2684
  TN:
2683
2685
  SF:src/components/tek-image/image.ts
@@ -3872,6 +3872,8 @@ class TekGridLayoutOptions extends ComponentRender {
3872
3872
  return '';
3873
3873
  }
3874
3874
  layoutHasFilter(layout) {
3875
+ if (layout === '')
3876
+ return false;
3875
3877
  const layoutValue = typeof layout === 'string' ? this.layouts[layout] : layout;
3876
3878
  return Object.keys(layoutValue.filter || {}).length
3877
3879
  || Object.keys(layoutValue.dynamicFilter || {}).length;
@@ -3876,6 +3876,8 @@
3876
3876
  return '';
3877
3877
  }
3878
3878
  layoutHasFilter(layout) {
3879
+ if (layout === '')
3880
+ return false;
3879
3881
  const layoutValue = typeof layout === 'string' ? this.layouts[layout] : layout;
3880
3882
  return Object.keys(layoutValue.filter || {}).length
3881
3883
  || Object.keys(layoutValue.dynamicFilter || {}).length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/teknisa-components-common",
3
- "version": "1.127.0",
3
+ "version": "1.129.0",
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": "c3bd2c897801be9129b637299a244e7a0639607a"
35
+ "gitHead": "939f36be517e06f2328aba924d68b4a462ab0b58"
36
36
  }
@@ -440,6 +440,8 @@ describe('LayoutOptions', () => {
440
440
  expect(instance.layouts.teste2.dynamicFilter).toBeUndefined();
441
441
  expect(instance.layoutHasFilter('teste2')).toBeFalsy();
442
442
 
443
+ expect(instance.layoutHasFilter('')).toBeFalsy();
444
+
443
445
  modalServiceCreateSpy.mockReset();
444
446
  });
445
447
  });
@@ -20,7 +20,7 @@ export declare class TekGridLayoutOptions extends ComponentRender implements ITe
20
20
  private checkLayoutsData;
21
21
  protected loadLayoutsInfo(): Promise<any>;
22
22
  getHelperValue(column: any): string | (string | undefined)[] | undefined;
23
- layoutHasFilter(layout: string | ITekGridLayout): number;
23
+ layoutHasFilter(layout: string | ITekGridLayout): number | false;
24
24
  private confirmFilterModal?;
25
25
  private newLayoutValue?;
26
26
  newLayout(layout: ITekGridLayout): void;
@@ -1,53 +0,0 @@
1
- declare const defaultIcons: {
2
- columnGroupOpened: string;
3
- columnGroupClosed: string;
4
- columnSelectClosed: string;
5
- columnSelectOpen: string;
6
- columnSelectIndeterminate: string;
7
- columnMovePin: string;
8
- columnMoveHide: string;
9
- columnMoveMove: string;
10
- columnMoveLeft: string;
11
- columnMoveRight: string;
12
- columnMoveGroup: string;
13
- columnMoveValue: string;
14
- dropNotAllowed: string;
15
- groupContracted: string;
16
- groupExpanded: string;
17
- chart: string;
18
- close: string;
19
- cancel: string;
20
- check: string;
21
- first: string;
22
- previous: string;
23
- next: string;
24
- last: string;
25
- linked: string;
26
- unlinked: string;
27
- colorPicker: string;
28
- groupLoading: string;
29
- menu: string;
30
- filter: string;
31
- columns: string;
32
- maximize: string;
33
- minimize: string;
34
- menuPin: string;
35
- menuValue: string;
36
- menuAddRowGroup: string;
37
- menuRemoveRowGroup: string;
38
- clipboardCopy: string;
39
- clipboardPaste: string;
40
- rowGroupPanel: string;
41
- valuePanel: string;
42
- columnDrag: string;
43
- rowDrag: string;
44
- save: string;
45
- smallDown: string;
46
- smallLeft: string;
47
- smallRight: string;
48
- smallUp: string;
49
- sortAscending: string;
50
- sortDescending: string;
51
- sortUnSort: string;
52
- };
53
- export default defaultIcons;
@@ -1,9 +0,0 @@
1
- import { IIterable } from '@zeedhi/common';
2
- import { IDictionary } from '@zeedhi/core';
3
- export interface ITekAgGrid extends IIterable {
4
- dense?: boolean;
5
- frameworkComponents?: IDictionary;
6
- gridOptions?: IDictionary;
7
- height?: string | number;
8
- icons?: IDictionary<string>;
9
- }
@@ -1,35 +0,0 @@
1
- import { Iterable } from '@zeedhi/common';
2
- import { IDictionary } from '@zeedhi/core';
3
- import { ITekAgGrid } from './interfaces';
4
- /** Grid Component */
5
- export declare class TekAgGrid extends Iterable implements ITekAgGrid {
6
- cssClass: string;
7
- dense: boolean;
8
- frameworkComponents: IDictionary;
9
- gridOptions: IDictionary;
10
- height: string | number;
11
- icons: IDictionary<string>;
12
- gridComponent: any;
13
- /**
14
- * Creates a new AgGrid.
15
- * @param props AgGrid properties
16
- */
17
- constructor(props: ITekAgGrid);
18
- private createOptionsAccessors;
19
- private setAccessor;
20
- /**
21
- * Reload dataset
22
- */
23
- reload(): Promise<any>;
24
- /**
25
- * Compares two dates
26
- * @param date1
27
- * @param date2
28
- * @param format
29
- * @returns -1 if date1 after date2
30
- * @returns 0 if date1 equal date2
31
- * @returns 1 if date1 before date2
32
- */
33
- dateComparator(date1: string | Date, date2: string | Date, format?: string): 1 | -1 | 0;
34
- private getDateAsString;
35
- }
@@ -1,94 +0,0 @@
1
- import { IDatasource, IDictionary, RestDatasource } from '@zeedhi/core';
2
- import { IDynamicFilterItem, ITekRestDatasource } from './interfaces';
3
- export declare class TekRestDatasource extends RestDatasource implements ITekRestDatasource {
4
- /** Dynamic filter data */
5
- dynamicFilter: IDictionary<IDynamicFilterItem[]>;
6
- /** Search Join data */
7
- searchJoin: IDictionary<Array<string | number>>;
8
- /**
9
- * URL reserved keys
10
- */
11
- protected reservedKeys: IDictionary<boolean>;
12
- /**
13
- * Dynamic Filter Operations
14
- */
15
- dynamicFilterOperations: IDictionary<boolean>;
16
- /**
17
- * Dynamic Filter Relations
18
- */
19
- dynamicFilterRelations: IDictionary<boolean>;
20
- /**
21
- * Dynamic Filter applied flag
22
- */
23
- protected dynamicFilterApplied: string;
24
- /**
25
- * Create new datasource
26
- * @param props Datasource properties
27
- */
28
- constructor(props: ITekRestDatasource);
29
- protected updateInternalProperties(datasource?: IDatasource): void;
30
- protected getEncodedParam(urlParam: string, datasourceParam?: IDictionary<any>): IDictionary<any>;
31
- protected getQueryStringValues(): IDictionary<any>;
32
- protected getUrlQueryString(): string;
33
- /**
34
- * Adds a new dynamic filter position or replace if exists
35
- * @param column Dynamic Filter column name
36
- * @param value Dynamic Filter value
37
- * @returns Promise with data collection
38
- */
39
- addDynamicFilter(column: string, value: any): Promise<any>;
40
- /**
41
- * Removes a dynamic filter position
42
- * @param column Dynamic Filter column name
43
- * @returns Promise with data collection
44
- */
45
- removeDynamicFilter(column: string): Promise<any>;
46
- /**
47
- * Sets new dynamic filter value
48
- * @param filter Dynamic Filter value
49
- * @returns Promise with data collection
50
- */
51
- setDynamicFilter(filter: IDictionary<any>): Promise<any>;
52
- /**
53
- * Clears Dynamic filter value
54
- * @returns Promise with data collection
55
- */
56
- clearDynamicFilter(): Promise<any>;
57
- /**
58
- * Resets page and selected rows and tries to update the url
59
- * @returns Promise with data collection
60
- */
61
- protected updateDynamicFilter(): Promise<any>;
62
- /**
63
- * Checks if a filter value is valid
64
- * @param value Filter value
65
- * @returns Is valid filter value
66
- */
67
- protected isValidDynamicFilterValue(column: string, value?: IDictionary<any>[]): boolean | undefined;
68
- /**
69
- * Retrieves request params
70
- */
71
- protected getRequestParams(): any;
72
- clone(): {
73
- dynamicFilter: IDictionary<IDynamicFilterItem[]>;
74
- searchJoin: IDictionary<(string | number)[]>;
75
- type: string;
76
- route?: string | undefined;
77
- lazyLoad?: boolean | undefined;
78
- arrayFormat?: "indices" | "brackets" | "repeat" | "comma" | undefined;
79
- find?: IDictionary<any> | undefined;
80
- currentRow?: IDictionary<any> | undefined;
81
- data?: IDictionary<any>[] | undefined;
82
- filter?: IDictionary<any> | undefined;
83
- limit?: string | number | undefined;
84
- loadAll?: boolean | undefined;
85
- loading?: boolean | undefined;
86
- order?: string[] | undefined;
87
- page?: string | number | undefined;
88
- search?: string | undefined;
89
- searchIn?: string[] | undefined;
90
- uniqueKey?: string | undefined;
91
- watchUrl?: boolean | undefined;
92
- events?: import("@zeedhi/core").IDatasourceEvents<import("@zeedhi/core").IEventParam<any>> | undefined;
93
- };
94
- }