@zeedhi/teknisa-components-common 1.91.0 → 1.92.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.
- package/coverage/clover.xml +80 -82
- package/coverage/coverage-final.json +45 -45
- package/coverage/lcov-report/components/crud/crud-add-button.ts.html +250 -0
- package/coverage/lcov-report/components/crud/crud-button.ts.html +292 -0
- package/coverage/lcov-report/components/crud/crud-cancel-button.ts.html +259 -0
- package/coverage/lcov-report/components/crud/crud-delete-button.ts.html +322 -0
- package/coverage/lcov-report/components/crud/crud-form.ts.html +382 -0
- package/coverage/lcov-report/components/crud/crud-save-button.ts.html +253 -0
- package/coverage/lcov-report/components/crud/index.html +191 -0
- package/coverage/lcov-report/components/index.html +116 -0
- package/coverage/lcov-report/components/index.ts.html +394 -0
- package/coverage/lcov-report/components/tek-breadcrumb-header/breadcrumb-header.ts.html +172 -0
- package/coverage/lcov-report/components/tek-breadcrumb-header/index.html +116 -0
- package/coverage/lcov-report/components/tek-card-title/card-title.ts.html +175 -0
- package/coverage/lcov-report/components/tek-card-title/index.html +116 -0
- package/coverage/lcov-report/components/tek-datasource/index.html +146 -0
- package/coverage/lcov-report/components/tek-datasource/interfaces.ts.html +193 -0
- package/coverage/lcov-report/components/tek-datasource/memory-datasource.ts.html +1015 -0
- package/coverage/lcov-report/components/tek-datasource/rest-datasource.ts.html +751 -0
- package/coverage/lcov-report/components/tek-drag-grid/index.html +116 -0
- package/coverage/lcov-report/components/tek-drag-grid/tek-drag-grid.ts.html +409 -0
- package/coverage/lcov-report/components/tek-grid/filter-helper.ts.html +145 -0
- package/coverage/lcov-report/components/tek-grid/grid-column.ts.html +775 -0
- package/coverage/lcov-report/components/tek-grid/grid-columns-button-controller.ts.html +169 -0
- package/coverage/lcov-report/components/tek-grid/grid-columns-button.ts.html +190 -0
- package/coverage/lcov-report/components/tek-grid/grid-filter-button.ts.html +1282 -0
- package/coverage/lcov-report/components/tek-grid/grid.ts.html +3157 -0
- package/coverage/lcov-report/components/tek-grid/index.html +221 -0
- package/coverage/lcov-report/components/tek-grid/interfaces.ts.html +733 -0
- package/coverage/lcov-report/components/tek-grid/layout-options.ts.html +826 -0
- package/coverage/lcov-report/components/tek-image/image.ts.html +313 -0
- package/coverage/lcov-report/components/tek-image/index.html +116 -0
- package/coverage/lcov-report/components/tek-iterable-carousel/index.html +116 -0
- package/coverage/lcov-report/components/tek-iterable-carousel/iterable-carousel.ts.html +175 -0
- package/coverage/lcov-report/components/tek-iterable-component-render/index.html +116 -0
- package/coverage/lcov-report/components/tek-iterable-component-render/iterable-component-render.ts.html +118 -0
- package/coverage/lcov-report/components/tek-loading/index.html +116 -0
- package/coverage/lcov-report/components/tek-loading/loading.ts.html +196 -0
- package/coverage/lcov-report/components/tek-notifications/index.html +116 -0
- package/coverage/lcov-report/components/tek-notifications/notifications.ts.html +271 -0
- package/coverage/lcov-report/components/tek-product-card/index.html +116 -0
- package/coverage/lcov-report/components/tek-product-card/product-card.ts.html +391 -0
- package/coverage/lcov-report/components/tek-tree-grid/index.html +116 -0
- package/coverage/lcov-report/components/tek-tree-grid/tree-grid.ts.html +1255 -0
- package/coverage/lcov-report/components/tek-user-info/TekUserInfoController.ts.html +367 -0
- package/coverage/lcov-report/components/tek-user-info/index.html +146 -0
- package/coverage/lcov-report/components/tek-user-info/tek-user-info-list.ts.html +268 -0
- package/coverage/lcov-report/components/tek-user-info/tek-user-info.ts.html +1096 -0
- package/coverage/lcov-report/error/delete-rows-error.ts.html +118 -0
- package/coverage/lcov-report/error/index.html +116 -0
- package/coverage/lcov-report/index.html +11 -11
- package/coverage/lcov-report/tests/__helpers__/component-event-helper.ts.html +1 -1
- package/coverage/lcov-report/tests/__helpers__/flush-promises-helper.ts.html +1 -1
- package/coverage/lcov-report/tests/__helpers__/get-child-helper.ts.html +1 -1
- package/coverage/lcov-report/tests/__helpers__/index.html +1 -1
- package/coverage/lcov-report/tests/__helpers__/index.ts.html +1 -1
- package/coverage/lcov-report/tests/__helpers__/mock-created-helper.ts.html +1 -1
- package/coverage/lcov-report/utils/grid-base/export-options/button-option.ts.html +166 -0
- package/coverage/lcov-report/utils/grid-base/export-options/index.html +146 -0
- package/coverage/lcov-report/utils/grid-base/export-options/index.ts.html +94 -0
- package/coverage/lcov-report/utils/grid-base/export-options/multi-option.ts.html +355 -0
- package/coverage/lcov-report/utils/grid-base/grid-base.ts.html +1960 -0
- package/coverage/lcov-report/utils/grid-base/grid-controller.ts.html +457 -0
- package/coverage/lcov-report/utils/grid-base/index.html +131 -0
- package/coverage/lcov-report/utils/index.html +116 -0
- package/coverage/lcov-report/utils/index.ts.html +100 -0
- package/coverage/lcov-report/utils/report-filter/index.html +116 -0
- package/coverage/lcov-report/utils/report-filter/report-filter.ts.html +256 -0
- package/coverage/lcov.info +136 -138
- package/dist/tek-components-common.esm.js +2 -8
- package/dist/tek-components-common.umd.js +2 -8
- package/package.json +2 -2
- package/tests/unit/components/tek-user-info/TekUserInfoContoller.spec.ts +0 -14
- package/tests/unit/components/tek-user-info/tek-user-info.spec.ts +1 -1
- package/types/components/tek-grid/grid-filter-button.d.ts +1 -1
- package/types/components/tek-user-info/TekUserInfoController.d.ts +0 -2
- package/types/components/tek-ag-grid/default-icons.d.ts +0 -53
- package/types/components/tek-ag-grid/interfaces.d.ts +0 -9
- package/types/components/tek-ag-grid/tek-ag-grid.d.ts +0 -35
- package/types/components/tek-datasource/datasource.d.ts +0 -94
- package/types/components/tek-grid/default-icons.d.ts +0 -53
- package/types/components/tek-grid/filter-dynamic-values.d.ts +0 -9
- package/types/components/tek-grid/grid-controller.d.ts +0 -19
- package/types/components/tek-grid/grid_column.d.ts +0 -14
- package/types/components/tek-grid/grid_controller.d.ts +0 -15
- package/types/components/tek-grid/tek-grid.d.ts +0 -35
- package/types/components/tek-login/interfaces.d.ts +0 -3
- package/types/components/tek-login/login-children.d.ts +0 -3
- package/types/components/tek-login/login.d.ts +0 -58
- package/types/components/tek-login/login_children.d.ts +0 -3
package/coverage/lcov.info
CHANGED
|
@@ -1381,84 +1381,88 @@ BRDA:31,0,0,2
|
|
|
1381
1381
|
BRDA:35,1,0,1
|
|
1382
1382
|
BRDA:36,2,0,1
|
|
1383
1383
|
BRDA:44,3,0,22
|
|
1384
|
-
BRDA:
|
|
1385
|
-
BRDA:
|
|
1386
|
-
BRDA:
|
|
1387
|
-
BRDA:
|
|
1388
|
-
BRDA:
|
|
1389
|
-
BRDA:
|
|
1390
|
-
BRDA:
|
|
1391
|
-
BRDA:
|
|
1392
|
-
BRDA:
|
|
1393
|
-
BRDA:
|
|
1394
|
-
BRDA:
|
|
1395
|
-
BRDA:
|
|
1396
|
-
BRDA:
|
|
1397
|
-
BRDA:
|
|
1398
|
-
BRDA:
|
|
1399
|
-
BRDA:
|
|
1400
|
-
BRDA:
|
|
1401
|
-
BRDA:
|
|
1402
|
-
BRDA:
|
|
1384
|
+
BRDA:44,4,0,0
|
|
1385
|
+
BRDA:44,4,1,23
|
|
1386
|
+
BRDA:44,5,0,23
|
|
1387
|
+
BRDA:44,5,1,23
|
|
1388
|
+
BRDA:53,6,0,1
|
|
1389
|
+
BRDA:53,6,1,2
|
|
1390
|
+
BRDA:53,7,0,3
|
|
1391
|
+
BRDA:53,7,1,2
|
|
1392
|
+
BRDA:57,8,0,3
|
|
1393
|
+
BRDA:57,9,0,3
|
|
1394
|
+
BRDA:57,9,1,3
|
|
1395
|
+
BRDA:59,10,0,3
|
|
1396
|
+
BRDA:59,10,1,1
|
|
1397
|
+
BRDA:60,11,0,3
|
|
1398
|
+
BRDA:60,11,1,1
|
|
1399
|
+
BRDA:67,12,0,3
|
|
1400
|
+
BRDA:69,13,0,2
|
|
1401
|
+
BRDA:69,13,1,1
|
|
1402
|
+
BRDA:70,14,0,2
|
|
1403
|
+
BRDA:70,14,1,1
|
|
1403
1404
|
BRDA:73,15,0,1
|
|
1404
|
-
BRDA:73,15,1,1
|
|
1405
1405
|
BRDA:73,16,0,1
|
|
1406
1406
|
BRDA:73,16,1,1
|
|
1407
|
-
BRDA:
|
|
1408
|
-
BRDA:
|
|
1409
|
-
BRDA:
|
|
1410
|
-
BRDA:
|
|
1411
|
-
BRDA:
|
|
1412
|
-
BRDA:
|
|
1413
|
-
BRDA:
|
|
1414
|
-
BRDA:
|
|
1415
|
-
BRDA:
|
|
1416
|
-
BRDA:
|
|
1417
|
-
BRDA:
|
|
1418
|
-
BRDA:
|
|
1419
|
-
BRDA:
|
|
1420
|
-
BRDA:
|
|
1421
|
-
BRDA:
|
|
1422
|
-
BRDA:
|
|
1423
|
-
BRDA:
|
|
1424
|
-
BRDA:
|
|
1407
|
+
BRDA:73,17,0,1
|
|
1408
|
+
BRDA:73,17,1,1
|
|
1409
|
+
BRDA:73,18,0,1
|
|
1410
|
+
BRDA:73,18,1,1
|
|
1411
|
+
BRDA:74,19,0,1
|
|
1412
|
+
BRDA:74,19,1,1
|
|
1413
|
+
BRDA:79,20,0,1
|
|
1414
|
+
BRDA:79,21,0,3
|
|
1415
|
+
BRDA:79,21,1,1
|
|
1416
|
+
BRDA:79,21,2,1
|
|
1417
|
+
BRDA:90,22,0,2
|
|
1418
|
+
BRDA:99,23,0,1
|
|
1419
|
+
BRDA:114,24,0,21
|
|
1420
|
+
BRDA:114,24,1,1
|
|
1421
|
+
BRDA:265,25,0,5
|
|
1422
|
+
BRDA:269,26,0,2
|
|
1423
|
+
BRDA:269,26,1,3
|
|
1424
|
+
BRDA:269,27,0,5
|
|
1425
|
+
BRDA:269,27,1,3
|
|
1425
1426
|
BRDA:271,28,0,8
|
|
1426
|
-
BRDA:271,
|
|
1427
|
-
BRDA:
|
|
1428
|
-
BRDA:
|
|
1429
|
-
BRDA:
|
|
1430
|
-
BRDA:
|
|
1431
|
-
BRDA:
|
|
1432
|
-
BRDA:
|
|
1433
|
-
BRDA:
|
|
1434
|
-
BRDA:
|
|
1435
|
-
BRDA:
|
|
1436
|
-
BRDA:
|
|
1437
|
-
BRDA:
|
|
1438
|
-
BRDA:
|
|
1439
|
-
BRDA:
|
|
1440
|
-
BRDA:348,
|
|
1441
|
-
BRDA:
|
|
1442
|
-
BRDA:
|
|
1443
|
-
BRDA:
|
|
1444
|
-
BRDA:353,
|
|
1445
|
-
BRDA:
|
|
1446
|
-
BRDA:
|
|
1447
|
-
BRDA:
|
|
1448
|
-
BRDA:
|
|
1449
|
-
BRDA:
|
|
1450
|
-
BRDA:
|
|
1451
|
-
BRDA:
|
|
1452
|
-
BRDA:
|
|
1453
|
-
BRDA:
|
|
1454
|
-
BRDA:
|
|
1455
|
-
BRDA:
|
|
1456
|
-
BRDA:393,47,0,
|
|
1457
|
-
BRDA:393,
|
|
1458
|
-
BRDA:393,48,
|
|
1459
|
-
BRDA:393,
|
|
1460
|
-
|
|
1461
|
-
|
|
1427
|
+
BRDA:271,29,0,10
|
|
1428
|
+
BRDA:271,29,1,8
|
|
1429
|
+
BRDA:271,30,0,8
|
|
1430
|
+
BRDA:271,30,1,2
|
|
1431
|
+
BRDA:277,31,0,6
|
|
1432
|
+
BRDA:297,32,0,8
|
|
1433
|
+
BRDA:312,33,0,2
|
|
1434
|
+
BRDA:326,34,0,5
|
|
1435
|
+
BRDA:326,34,1,30
|
|
1436
|
+
BRDA:327,35,0,1
|
|
1437
|
+
BRDA:327,35,1,34
|
|
1438
|
+
BRDA:334,36,0,2
|
|
1439
|
+
BRDA:347,37,0,45
|
|
1440
|
+
BRDA:347,37,1,4
|
|
1441
|
+
BRDA:348,38,0,32
|
|
1442
|
+
BRDA:348,39,0,49
|
|
1443
|
+
BRDA:348,39,1,48
|
|
1444
|
+
BRDA:348,39,2,48
|
|
1445
|
+
BRDA:353,40,0,36
|
|
1446
|
+
BRDA:353,40,1,4
|
|
1447
|
+
BRDA:353,41,0,40
|
|
1448
|
+
BRDA:353,41,1,4
|
|
1449
|
+
BRDA:354,42,0,36
|
|
1450
|
+
BRDA:354,42,1,20
|
|
1451
|
+
BRDA:355,43,0,36
|
|
1452
|
+
BRDA:355,43,1,12
|
|
1453
|
+
BRDA:371,44,0,5
|
|
1454
|
+
BRDA:372,45,0,5
|
|
1455
|
+
BRDA:387,46,0,1
|
|
1456
|
+
BRDA:387,46,1,2
|
|
1457
|
+
BRDA:393,47,0,2
|
|
1458
|
+
BRDA:393,48,0,4
|
|
1459
|
+
BRDA:393,48,1,2
|
|
1460
|
+
BRDA:393,49,0,4
|
|
1461
|
+
BRDA:393,49,1,2
|
|
1462
|
+
BRDA:393,50,0,2
|
|
1463
|
+
BRDA:393,50,1,1
|
|
1464
|
+
BRF:84
|
|
1465
|
+
BRH:83
|
|
1462
1466
|
end_of_record
|
|
1463
1467
|
TN:
|
|
1464
1468
|
SF:src/components/tek-grid/grid.ts
|
|
@@ -2643,69 +2647,63 @@ FN:34,(anonymous_7)
|
|
|
2643
2647
|
FN:38,(anonymous_8)
|
|
2644
2648
|
FN:42,(anonymous_9)
|
|
2645
2649
|
FN:46,(anonymous_10)
|
|
2646
|
-
FN:
|
|
2647
|
-
FN:
|
|
2650
|
+
FN:52,(anonymous_11)
|
|
2651
|
+
FN:57,(anonymous_12)
|
|
2648
2652
|
FN:60,(anonymous_13)
|
|
2649
|
-
FN:
|
|
2653
|
+
FN:64,(anonymous_14)
|
|
2650
2654
|
FN:68,(anonymous_15)
|
|
2651
2655
|
FN:72,(anonymous_16)
|
|
2652
|
-
FN:
|
|
2653
|
-
FN:
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
FNH:20
|
|
2658
|
-
FNDA:31,(anonymous_1)
|
|
2656
|
+
FN:77,(anonymous_17)
|
|
2657
|
+
FN:82,(anonymous_18)
|
|
2658
|
+
FNF:18
|
|
2659
|
+
FNH:18
|
|
2660
|
+
FNDA:30,(anonymous_1)
|
|
2659
2661
|
FNDA:26,(anonymous_2)
|
|
2660
2662
|
FNDA:3,(anonymous_3)
|
|
2661
2663
|
FNDA:2,(anonymous_4)
|
|
2662
2664
|
FNDA:3,(anonymous_5)
|
|
2663
2665
|
FNDA:2,(anonymous_6)
|
|
2664
|
-
FNDA:
|
|
2665
|
-
FNDA:
|
|
2666
|
-
FNDA:
|
|
2666
|
+
FNDA:1,(anonymous_7)
|
|
2667
|
+
FNDA:2,(anonymous_8)
|
|
2668
|
+
FNDA:3,(anonymous_9)
|
|
2667
2669
|
FNDA:2,(anonymous_10)
|
|
2668
|
-
FNDA:
|
|
2669
|
-
FNDA:
|
|
2670
|
-
FNDA:
|
|
2671
|
-
FNDA:
|
|
2670
|
+
FNDA:6,(anonymous_11)
|
|
2671
|
+
FNDA:3,(anonymous_12)
|
|
2672
|
+
FNDA:2,(anonymous_13)
|
|
2673
|
+
FNDA:2,(anonymous_14)
|
|
2672
2674
|
FNDA:2,(anonymous_15)
|
|
2673
2675
|
FNDA:2,(anonymous_16)
|
|
2674
2676
|
FNDA:2,(anonymous_17)
|
|
2675
2677
|
FNDA:2,(anonymous_18)
|
|
2676
|
-
FNDA:2,(anonymous_19)
|
|
2677
|
-
FNDA:2,(anonymous_20)
|
|
2678
2678
|
DA:1,30
|
|
2679
2679
|
DA:5,30
|
|
2680
2680
|
DA:9,26
|
|
2681
|
-
DA:13,
|
|
2681
|
+
DA:13,30
|
|
2682
2682
|
DA:17,3
|
|
2683
2683
|
DA:21,2
|
|
2684
2684
|
DA:22,1
|
|
2685
2685
|
DA:26,3
|
|
2686
2686
|
DA:30,2
|
|
2687
2687
|
DA:31,1
|
|
2688
|
-
DA:35,
|
|
2689
|
-
DA:39,
|
|
2690
|
-
DA:43,
|
|
2688
|
+
DA:35,1
|
|
2689
|
+
DA:39,2
|
|
2690
|
+
DA:43,3
|
|
2691
2691
|
DA:47,2
|
|
2692
|
-
DA:
|
|
2693
|
-
DA:
|
|
2694
|
-
DA:
|
|
2695
|
-
DA:
|
|
2696
|
-
DA:
|
|
2697
|
-
DA:65,
|
|
2692
|
+
DA:49,1
|
|
2693
|
+
DA:53,6
|
|
2694
|
+
DA:55,3
|
|
2695
|
+
DA:57,3
|
|
2696
|
+
DA:61,2
|
|
2697
|
+
DA:65,2
|
|
2698
2698
|
DA:69,2
|
|
2699
2699
|
DA:73,2
|
|
2700
|
-
DA:
|
|
2701
|
-
DA:
|
|
2702
|
-
DA:
|
|
2703
|
-
DA:
|
|
2704
|
-
DA:
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
LF:29
|
|
2708
|
-
LH:29
|
|
2700
|
+
DA:74,2
|
|
2701
|
+
DA:78,2
|
|
2702
|
+
DA:79,2
|
|
2703
|
+
DA:83,2
|
|
2704
|
+
DA:84,2
|
|
2705
|
+
LF:27
|
|
2706
|
+
LH:27
|
|
2709
2707
|
BRDA:17,0,0,3
|
|
2710
2708
|
BRDA:17,0,1,1
|
|
2711
2709
|
BRDA:17,1,0,1
|
|
@@ -2720,20 +2718,20 @@ BRDA:26,5,1,2
|
|
|
2720
2718
|
BRDA:26,6,0,3
|
|
2721
2719
|
BRDA:26,6,1,2
|
|
2722
2720
|
BRDA:30,7,0,1
|
|
2723
|
-
BRDA:
|
|
2724
|
-
BRDA:
|
|
2725
|
-
BRDA:
|
|
2726
|
-
BRDA:
|
|
2727
|
-
BRDA:
|
|
2728
|
-
BRDA:
|
|
2729
|
-
BRDA:
|
|
2730
|
-
BRDA:
|
|
2731
|
-
BRDA:
|
|
2732
|
-
BRDA:
|
|
2733
|
-
BRDA:
|
|
2734
|
-
BRDA:
|
|
2735
|
-
BRDA:
|
|
2736
|
-
BRDA:
|
|
2721
|
+
BRDA:47,8,0,1
|
|
2722
|
+
BRDA:47,9,0,2
|
|
2723
|
+
BRDA:47,9,1,1
|
|
2724
|
+
BRDA:47,10,0,1
|
|
2725
|
+
BRDA:47,10,1,1
|
|
2726
|
+
BRDA:47,11,0,2
|
|
2727
|
+
BRDA:47,11,1,1
|
|
2728
|
+
BRDA:53,12,0,3
|
|
2729
|
+
BRDA:74,13,0,2
|
|
2730
|
+
BRDA:74,13,1,1
|
|
2731
|
+
BRDA:79,14,0,2
|
|
2732
|
+
BRDA:79,14,1,1
|
|
2733
|
+
BRDA:84,15,0,2
|
|
2734
|
+
BRDA:84,15,1,1
|
|
2737
2735
|
BRF:28
|
|
2738
2736
|
BRH:28
|
|
2739
2737
|
end_of_record
|
|
@@ -2788,7 +2786,7 @@ FN:279,(anonymous_15)
|
|
|
2788
2786
|
FN:286,(anonymous_16)
|
|
2789
2787
|
FNF:10
|
|
2790
2788
|
FNH:10
|
|
2791
|
-
FNDA:
|
|
2789
|
+
FNDA:32,(anonymous_7)
|
|
2792
2790
|
FNDA:15,(anonymous_8)
|
|
2793
2791
|
FNDA:5,(anonymous_9)
|
|
2794
2792
|
FNDA:12,(anonymous_10)
|
|
@@ -2803,17 +2801,17 @@ DA:4,30
|
|
|
2803
2801
|
DA:7,30
|
|
2804
2802
|
DA:9,30
|
|
2805
2803
|
DA:11,30
|
|
2806
|
-
DA:19,
|
|
2807
|
-
DA:24,
|
|
2808
|
-
DA:29,
|
|
2809
|
-
DA:34,
|
|
2810
|
-
DA:39,
|
|
2811
|
-
DA:40,
|
|
2812
|
-
DA:41,
|
|
2813
|
-
DA:42,
|
|
2814
|
-
DA:43,
|
|
2815
|
-
DA:45,
|
|
2816
|
-
DA:46,
|
|
2804
|
+
DA:19,32
|
|
2805
|
+
DA:24,32
|
|
2806
|
+
DA:29,32
|
|
2807
|
+
DA:34,32
|
|
2808
|
+
DA:39,32
|
|
2809
|
+
DA:40,32
|
|
2810
|
+
DA:41,32
|
|
2811
|
+
DA:42,32
|
|
2812
|
+
DA:43,32
|
|
2813
|
+
DA:45,32
|
|
2814
|
+
DA:46,32
|
|
2817
2815
|
DA:50,15
|
|
2818
2816
|
DA:60,5
|
|
2819
2817
|
DA:61,4
|
|
@@ -2929,7 +2929,7 @@ class TekGridFilterButton extends Button {
|
|
|
2929
2929
|
click(event) {
|
|
2930
2930
|
this.callEvent('click', { component: this, event });
|
|
2931
2931
|
this.grid.callEvent('filterClick', { component: this.grid, event });
|
|
2932
|
-
if (!event.defaultPrevented) {
|
|
2932
|
+
if (!(event === null || event === void 0 ? void 0 : event.defaultPrevented)) {
|
|
2933
2933
|
this.createFilterFromColumns.call(this);
|
|
2934
2934
|
}
|
|
2935
2935
|
}
|
|
@@ -3721,12 +3721,6 @@ let TekUserInfoController = class TekUserInfoController {
|
|
|
3721
3721
|
return;
|
|
3722
3722
|
this.versionInfo.version = value;
|
|
3723
3723
|
}
|
|
3724
|
-
get defaultEmail() {
|
|
3725
|
-
return this.component.defaultEmail;
|
|
3726
|
-
}
|
|
3727
|
-
set defaultEmail(value) {
|
|
3728
|
-
this.component.defaultEmail = value;
|
|
3729
|
-
}
|
|
3730
3724
|
get hasDefaultEmail() {
|
|
3731
3725
|
return !!this.component.defaultEmail;
|
|
3732
3726
|
}
|
|
@@ -3929,7 +3923,7 @@ class TekUserInfo extends UserInfo {
|
|
|
3929
3923
|
grid: {
|
|
3930
3924
|
cols: '12',
|
|
3931
3925
|
},
|
|
3932
|
-
value:
|
|
3926
|
+
value: this.defaultEmail,
|
|
3933
3927
|
readonly: `{{TekUserInfoController_${this.componentId}.hasDefaultEmail}}`,
|
|
3934
3928
|
validations: {
|
|
3935
3929
|
required: {},
|
|
@@ -2933,7 +2933,7 @@
|
|
|
2933
2933
|
click(event) {
|
|
2934
2934
|
this.callEvent('click', { component: this, event });
|
|
2935
2935
|
this.grid.callEvent('filterClick', { component: this.grid, event });
|
|
2936
|
-
if (!event.defaultPrevented) {
|
|
2936
|
+
if (!(event === null || event === void 0 ? void 0 : event.defaultPrevented)) {
|
|
2937
2937
|
this.createFilterFromColumns.call(this);
|
|
2938
2938
|
}
|
|
2939
2939
|
}
|
|
@@ -3725,12 +3725,6 @@
|
|
|
3725
3725
|
return;
|
|
3726
3726
|
this.versionInfo.version = value;
|
|
3727
3727
|
}
|
|
3728
|
-
get defaultEmail() {
|
|
3729
|
-
return this.component.defaultEmail;
|
|
3730
|
-
}
|
|
3731
|
-
set defaultEmail(value) {
|
|
3732
|
-
this.component.defaultEmail = value;
|
|
3733
|
-
}
|
|
3734
3728
|
get hasDefaultEmail() {
|
|
3735
3729
|
return !!this.component.defaultEmail;
|
|
3736
3730
|
}
|
|
@@ -3933,7 +3927,7 @@
|
|
|
3933
3927
|
grid: {
|
|
3934
3928
|
cols: '12',
|
|
3935
3929
|
},
|
|
3936
|
-
value:
|
|
3930
|
+
value: this.defaultEmail,
|
|
3937
3931
|
readonly: `{{TekUserInfoController_${this.componentId}.hasDefaultEmail}}`,
|
|
3938
3932
|
validations: {
|
|
3939
3933
|
required: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-components-common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.92.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": "*"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "fd9d5619f6a005aa0c82e22bd53c2fc7db9e40bf"
|
|
36
36
|
}
|
|
@@ -133,22 +133,8 @@ describe('TekUserInfoController', () => {
|
|
|
133
133
|
});
|
|
134
134
|
const controller = new TekUserInfoController(component);
|
|
135
135
|
|
|
136
|
-
expect(controller.defaultEmail).toBe('zeedhi@zd.com');
|
|
137
136
|
expect(controller.hasDefaultEmail).toBeTruthy();
|
|
138
137
|
});
|
|
139
|
-
|
|
140
|
-
it('when prop is defined, should set the component value', () => {
|
|
141
|
-
const component = new TekUserInfo({
|
|
142
|
-
name: 'user-info',
|
|
143
|
-
component: 'TekUserInfo',
|
|
144
|
-
});
|
|
145
|
-
const controller = new TekUserInfoController(component);
|
|
146
|
-
|
|
147
|
-
controller.defaultEmail = 'teste@email.com';
|
|
148
|
-
|
|
149
|
-
expect(controller.defaultEmail).toBe('teste@email.com');
|
|
150
|
-
expect(component.defaultEmail).toBe('teste@email.com');
|
|
151
|
-
});
|
|
152
138
|
});
|
|
153
139
|
|
|
154
140
|
describe('mainVersion property', () => {
|
|
@@ -13,7 +13,7 @@ export declare class TekGridFilterButton extends Button implements ITekGridFilte
|
|
|
13
13
|
protected filterFormInputs: IDictionary<string[]>;
|
|
14
14
|
constructor(props: ITekGridFilterButton);
|
|
15
15
|
loadGrid(gridName?: string): void;
|
|
16
|
-
click(event
|
|
16
|
+
click(event?: Event): void;
|
|
17
17
|
private loadFilterValues;
|
|
18
18
|
hideFilterModal(): void;
|
|
19
19
|
destroyFilterModal(): void;
|
|
@@ -7,8 +7,6 @@ export declare class TekUserInfoController {
|
|
|
7
7
|
set name(value: string);
|
|
8
8
|
get version(): string;
|
|
9
9
|
set version(value: string);
|
|
10
|
-
get defaultEmail(): string;
|
|
11
|
-
set defaultEmail(value: string);
|
|
12
10
|
get hasDefaultEmail(): boolean;
|
|
13
11
|
get hasAboutImage(): boolean;
|
|
14
12
|
mergeText(name: string, version: string): string;
|
|
@@ -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
|
-
}
|