@zeedhi/teknisa-components-common 1.105.0 → 1.105.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 +92 -91
- package/coverage/coverage-final.json +2 -2
- package/coverage/lcov-report/index.html +5 -5
- 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.info +143 -140
- package/dist/tek-components-common.esm.js +4 -1
- package/dist/tek-components-common.umd.js +4 -1
- package/package.json +2 -2
- package/types/components/tek-grid/grid-column.d.ts +1 -0
- package/types/components/tek-grid/interfaces.d.ts +1 -0
|
@@ -32,7 +32,7 @@
|
|
|
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'>
|
|
35
|
+
<span class='fraction'>717/717</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'>
|
|
49
|
+
<span class='fraction'>1615/1615</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -356,11 +356,11 @@
|
|
|
356
356
|
<td data-value="100" class="pct high">100%</td>
|
|
357
357
|
<td data-value="115" class="abs high">115/115</td>
|
|
358
358
|
<td data-value="100" class="pct high">100%</td>
|
|
359
|
-
<td data-value="
|
|
359
|
+
<td data-value="59" class="abs high">59/59</td>
|
|
360
360
|
<td data-value="100" class="pct high">100%</td>
|
|
361
361
|
<td data-value="53" class="abs high">53/53</td>
|
|
362
362
|
<td data-value="100" class="pct high">100%</td>
|
|
363
|
-
<td data-value="
|
|
363
|
+
<td data-value="108" class="abs high">108/108</td>
|
|
364
364
|
</tr>
|
|
365
365
|
|
|
366
366
|
<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 2025-03-
|
|
419
|
+
at 2025-03-19T19:53:27.466Z
|
|
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-03-
|
|
88
|
+
at 2025-03-19T19:53:27.466Z
|
|
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-03-
|
|
82
|
+
at 2025-03-19T19:53:27.466Z
|
|
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-03-
|
|
154
|
+
at 2025-03-19T19:53:27.466Z
|
|
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-03-
|
|
164
|
+
at 2025-03-19T19:53:27.466Z
|
|
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-03-
|
|
82
|
+
at 2025-03-19T19:53:27.466Z
|
|
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-03-
|
|
109
|
+
at 2025-03-19T19:53:27.466Z
|
|
110
110
|
</div>
|
|
111
111
|
<script src="../../prettify.js"></script>
|
|
112
112
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -966,25 +966,25 @@ BRH:0
|
|
|
966
966
|
end_of_record
|
|
967
967
|
TN:
|
|
968
968
|
SF:src/components/tek-grid/grid-column.ts
|
|
969
|
-
FN:
|
|
970
|
-
FN:
|
|
971
|
-
FN:
|
|
972
|
-
FN:
|
|
973
|
-
FN:
|
|
974
|
-
FN:
|
|
975
|
-
FN:
|
|
976
|
-
FN:
|
|
977
|
-
FN:
|
|
978
|
-
FN:
|
|
979
|
-
FN:
|
|
980
|
-
FN:
|
|
981
|
-
FN:
|
|
982
|
-
FN:
|
|
983
|
-
FN:
|
|
984
|
-
FN:
|
|
985
|
-
FN:
|
|
986
|
-
FN:
|
|
987
|
-
FN:
|
|
969
|
+
FN:70,(anonymous_8)
|
|
970
|
+
FN:78,(anonymous_9)
|
|
971
|
+
FN:90,(anonymous_10)
|
|
972
|
+
FN:105,(anonymous_12)
|
|
973
|
+
FN:115,(anonymous_13)
|
|
974
|
+
FN:118,(anonymous_15)
|
|
975
|
+
FN:124,(anonymous_16)
|
|
976
|
+
FN:137,(anonymous_17)
|
|
977
|
+
FN:149,(anonymous_18)
|
|
978
|
+
FN:184,(anonymous_20)
|
|
979
|
+
FN:188,(anonymous_21)
|
|
980
|
+
FN:196,(anonymous_22)
|
|
981
|
+
FN:200,(anonymous_23)
|
|
982
|
+
FN:208,(anonymous_24)
|
|
983
|
+
FN:212,(anonymous_25)
|
|
984
|
+
FN:220,(anonymous_26)
|
|
985
|
+
FN:224,(anonymous_27)
|
|
986
|
+
FN:228,(anonymous_28)
|
|
987
|
+
FN:230,(anonymous_29)
|
|
988
988
|
FNF:19
|
|
989
989
|
FNH:19
|
|
990
990
|
FNDA:9,(anonymous_8)
|
|
@@ -996,13 +996,13 @@ FNDA:6,(anonymous_15)
|
|
|
996
996
|
FNDA:5,(anonymous_16)
|
|
997
997
|
FNDA:4,(anonymous_17)
|
|
998
998
|
FNDA:11,(anonymous_18)
|
|
999
|
-
FNDA:
|
|
999
|
+
FNDA:967,(anonymous_20)
|
|
1000
1000
|
FNDA:248,(anonymous_21)
|
|
1001
1001
|
FNDA:507,(anonymous_22)
|
|
1002
1002
|
FNDA:247,(anonymous_23)
|
|
1003
1003
|
FNDA:325,(anonymous_24)
|
|
1004
1004
|
FNDA:245,(anonymous_25)
|
|
1005
|
-
FNDA:
|
|
1005
|
+
FNDA:560,(anonymous_26)
|
|
1006
1006
|
FNDA:738,(anonymous_27)
|
|
1007
1007
|
FNDA:46,(anonymous_28)
|
|
1008
1008
|
FNDA:1,(anonymous_29)
|
|
@@ -1010,107 +1010,107 @@ DA:1,30
|
|
|
1010
1010
|
DA:2,30
|
|
1011
1011
|
DA:3,30
|
|
1012
1012
|
DA:10,30
|
|
1013
|
-
DA:
|
|
1014
|
-
DA:
|
|
1015
|
-
DA:
|
|
1016
|
-
DA:
|
|
1017
|
-
DA:
|
|
1018
|
-
DA:
|
|
1019
|
-
DA:
|
|
1020
|
-
DA:
|
|
1021
|
-
DA:
|
|
1022
|
-
DA:
|
|
1023
|
-
DA:
|
|
1024
|
-
DA:
|
|
1025
|
-
DA:
|
|
1026
|
-
DA:
|
|
1027
|
-
DA:
|
|
1028
|
-
DA:
|
|
1029
|
-
DA:
|
|
1030
|
-
DA:93,2
|
|
1031
|
-
DA:94,1
|
|
1013
|
+
DA:71,9
|
|
1014
|
+
DA:73,9
|
|
1015
|
+
DA:74,4
|
|
1016
|
+
DA:76,5
|
|
1017
|
+
DA:78,5
|
|
1018
|
+
DA:79,5
|
|
1019
|
+
DA:80,3
|
|
1020
|
+
DA:81,3
|
|
1021
|
+
DA:84,2
|
|
1022
|
+
DA:85,2
|
|
1023
|
+
DA:86,2
|
|
1024
|
+
DA:87,2
|
|
1025
|
+
DA:91,4
|
|
1026
|
+
DA:92,4
|
|
1027
|
+
DA:93,4
|
|
1028
|
+
DA:94,2
|
|
1029
|
+
DA:96,2
|
|
1032
1030
|
DA:97,2
|
|
1033
|
-
DA:
|
|
1034
|
-
DA:101,
|
|
1035
|
-
DA:102,20
|
|
1031
|
+
DA:98,1
|
|
1032
|
+
DA:101,2
|
|
1036
1033
|
DA:104,4
|
|
1037
1034
|
DA:105,4
|
|
1038
|
-
DA:106,
|
|
1039
|
-
DA:
|
|
1040
|
-
DA:
|
|
1041
|
-
DA:
|
|
1042
|
-
DA:
|
|
1043
|
-
DA:
|
|
1044
|
-
DA:
|
|
1045
|
-
DA:
|
|
1046
|
-
DA:
|
|
1047
|
-
DA:
|
|
1048
|
-
DA:
|
|
1049
|
-
DA:
|
|
1050
|
-
DA:
|
|
1051
|
-
DA:
|
|
1052
|
-
DA:
|
|
1053
|
-
DA:
|
|
1054
|
-
DA:134,
|
|
1055
|
-
DA:135,
|
|
1056
|
-
DA:
|
|
1057
|
-
DA:
|
|
1058
|
-
DA:
|
|
1059
|
-
DA:
|
|
1060
|
-
DA:
|
|
1061
|
-
DA:
|
|
1062
|
-
DA:
|
|
1063
|
-
DA:
|
|
1064
|
-
DA:
|
|
1065
|
-
DA:
|
|
1066
|
-
DA:
|
|
1035
|
+
DA:106,20
|
|
1036
|
+
DA:108,4
|
|
1037
|
+
DA:109,4
|
|
1038
|
+
DA:110,4
|
|
1039
|
+
DA:116,3
|
|
1040
|
+
DA:117,3
|
|
1041
|
+
DA:118,3
|
|
1042
|
+
DA:119,6
|
|
1043
|
+
DA:120,1
|
|
1044
|
+
DA:121,1
|
|
1045
|
+
DA:124,5
|
|
1046
|
+
DA:125,5
|
|
1047
|
+
DA:126,1
|
|
1048
|
+
DA:127,1
|
|
1049
|
+
DA:128,1
|
|
1050
|
+
DA:131,4
|
|
1051
|
+
DA:134,3
|
|
1052
|
+
DA:135,2
|
|
1053
|
+
DA:137,2
|
|
1054
|
+
DA:138,4
|
|
1055
|
+
DA:139,4
|
|
1056
|
+
DA:143,3
|
|
1057
|
+
DA:150,11
|
|
1058
|
+
DA:151,1
|
|
1059
|
+
DA:154,10
|
|
1060
|
+
DA:155,10
|
|
1061
|
+
DA:156,7
|
|
1062
|
+
DA:157,6
|
|
1063
|
+
DA:161,3
|
|
1064
|
+
DA:167,3
|
|
1067
1065
|
DA:170,10
|
|
1068
|
-
DA:
|
|
1069
|
-
DA:
|
|
1070
|
-
DA:
|
|
1071
|
-
DA:
|
|
1072
|
-
DA:
|
|
1073
|
-
DA:
|
|
1074
|
-
DA:
|
|
1075
|
-
DA:
|
|
1076
|
-
DA:
|
|
1077
|
-
DA:
|
|
1078
|
-
DA:
|
|
1079
|
-
DA:
|
|
1080
|
-
DA:
|
|
1081
|
-
DA:
|
|
1082
|
-
DA:
|
|
1083
|
-
DA:
|
|
1084
|
-
DA:
|
|
1085
|
-
DA:
|
|
1086
|
-
DA:
|
|
1087
|
-
DA:
|
|
1066
|
+
DA:171,10
|
|
1067
|
+
DA:174,10
|
|
1068
|
+
DA:181,10
|
|
1069
|
+
DA:185,967
|
|
1070
|
+
DA:189,248
|
|
1071
|
+
DA:190,248
|
|
1072
|
+
DA:191,248
|
|
1073
|
+
DA:192,27
|
|
1074
|
+
DA:197,507
|
|
1075
|
+
DA:201,247
|
|
1076
|
+
DA:202,247
|
|
1077
|
+
DA:203,247
|
|
1078
|
+
DA:204,18
|
|
1079
|
+
DA:209,325
|
|
1080
|
+
DA:213,245
|
|
1081
|
+
DA:214,245
|
|
1082
|
+
DA:215,245
|
|
1083
|
+
DA:216,1
|
|
1084
|
+
DA:221,560
|
|
1085
|
+
DA:225,738
|
|
1086
|
+
DA:230,46
|
|
1087
|
+
DA:231,1
|
|
1088
1088
|
LF:79
|
|
1089
1089
|
LH:79
|
|
1090
|
-
BRDA:
|
|
1091
|
-
BRDA:
|
|
1092
|
-
BRDA:
|
|
1093
|
-
BRDA:
|
|
1094
|
-
BRDA:
|
|
1095
|
-
BRDA:
|
|
1096
|
-
BRDA:
|
|
1097
|
-
BRDA:
|
|
1098
|
-
BRDA:
|
|
1099
|
-
BRDA:
|
|
1100
|
-
BRDA:
|
|
1101
|
-
BRDA:
|
|
1102
|
-
BRDA:
|
|
1103
|
-
BRDA:
|
|
1104
|
-
BRDA:
|
|
1105
|
-
BRDA:
|
|
1106
|
-
BRDA:
|
|
1107
|
-
BRDA:
|
|
1108
|
-
BRDA:
|
|
1109
|
-
BRDA:
|
|
1110
|
-
BRDA:
|
|
1111
|
-
BRDA:
|
|
1112
|
-
BRDA:
|
|
1113
|
-
BRDA:
|
|
1090
|
+
BRDA:73,0,0,4
|
|
1091
|
+
BRDA:79,1,0,3
|
|
1092
|
+
BRDA:84,2,0,2
|
|
1093
|
+
BRDA:84,2,1,2
|
|
1094
|
+
BRDA:93,3,0,2
|
|
1095
|
+
BRDA:93,3,1,2
|
|
1096
|
+
BRDA:96,4,0,2
|
|
1097
|
+
BRDA:96,4,1,1
|
|
1098
|
+
BRDA:97,5,0,1
|
|
1099
|
+
BRDA:119,6,0,1
|
|
1100
|
+
BRDA:125,7,0,1
|
|
1101
|
+
BRDA:134,8,0,2
|
|
1102
|
+
BRDA:139,9,0,2
|
|
1103
|
+
BRDA:150,10,0,1
|
|
1104
|
+
BRDA:155,11,0,7
|
|
1105
|
+
BRDA:155,11,1,3
|
|
1106
|
+
BRDA:156,12,0,6
|
|
1107
|
+
BRDA:171,13,0,4
|
|
1108
|
+
BRDA:171,13,1,6
|
|
1109
|
+
BRDA:191,14,0,27
|
|
1110
|
+
BRDA:203,15,0,18
|
|
1111
|
+
BRDA:215,16,0,1
|
|
1112
|
+
BRDA:221,17,0,560
|
|
1113
|
+
BRDA:221,17,1,555
|
|
1114
1114
|
BRF:24
|
|
1115
1115
|
BRH:24
|
|
1116
1116
|
end_of_record
|
|
@@ -3046,12 +3046,12 @@ FN:368,(anonymous_25)
|
|
|
3046
3046
|
FN:376,(anonymous_26)
|
|
3047
3047
|
FN:385,(anonymous_27)
|
|
3048
3048
|
FN:394,(anonymous_28)
|
|
3049
|
-
FN:
|
|
3050
|
-
FN:
|
|
3051
|
-
FN:
|
|
3052
|
-
FN:
|
|
3053
|
-
FN:
|
|
3054
|
-
FN:
|
|
3049
|
+
FN:398,(anonymous_30)
|
|
3050
|
+
FN:403,(anonymous_31)
|
|
3051
|
+
FN:403,(anonymous_32)
|
|
3052
|
+
FN:407,(anonymous_33)
|
|
3053
|
+
FN:440,(anonymous_34)
|
|
3054
|
+
FN:444,(anonymous_35)
|
|
3055
3055
|
FNF:28
|
|
3056
3056
|
FNH:28
|
|
3057
3057
|
FNDA:158,(anonymous_7)
|
|
@@ -3139,23 +3139,24 @@ DA:385,234
|
|
|
3139
3139
|
DA:391,280
|
|
3140
3140
|
DA:395,6
|
|
3141
3141
|
DA:396,6
|
|
3142
|
-
DA:397,
|
|
3143
|
-
DA:398,
|
|
3142
|
+
DA:397,4
|
|
3143
|
+
DA:398,9
|
|
3144
3144
|
DA:400,4
|
|
3145
|
-
DA:
|
|
3146
|
-
DA:
|
|
3145
|
+
DA:402,4
|
|
3146
|
+
DA:403,3
|
|
3147
3147
|
DA:404,3
|
|
3148
|
-
DA:
|
|
3149
|
-
DA:
|
|
3150
|
-
DA:
|
|
3151
|
-
DA:
|
|
3152
|
-
DA:
|
|
3153
|
-
DA:
|
|
3154
|
-
DA:
|
|
3155
|
-
DA:
|
|
3156
|
-
DA:
|
|
3157
|
-
|
|
3158
|
-
|
|
3148
|
+
DA:406,3
|
|
3149
|
+
DA:407,6
|
|
3150
|
+
DA:410,3
|
|
3151
|
+
DA:413,4
|
|
3152
|
+
DA:416,6
|
|
3153
|
+
DA:417,6
|
|
3154
|
+
DA:420,158
|
|
3155
|
+
DA:441,2
|
|
3156
|
+
DA:445,4
|
|
3157
|
+
DA:449,30
|
|
3158
|
+
LF:73
|
|
3159
|
+
LH:73
|
|
3159
3160
|
BRDA:48,0,0,157
|
|
3160
3161
|
BRDA:211,1,0,47
|
|
3161
3162
|
BRDA:211,1,1,47
|
|
@@ -3177,9 +3178,11 @@ BRDA:380,13,1,18
|
|
|
3177
3178
|
BRDA:396,14,0,4
|
|
3178
3179
|
BRDA:396,15,0,6
|
|
3179
3180
|
BRDA:396,15,1,2
|
|
3180
|
-
BRDA:
|
|
3181
|
-
|
|
3182
|
-
|
|
3181
|
+
BRDA:398,16,0,9
|
|
3182
|
+
BRDA:398,16,1,4
|
|
3183
|
+
BRDA:402,17,0,3
|
|
3184
|
+
BRF:24
|
|
3185
|
+
BRH:24
|
|
3183
3186
|
end_of_record
|
|
3184
3187
|
TN:
|
|
3185
3188
|
SF:src/utils/grid-base/grid-controller.ts
|
|
@@ -1160,7 +1160,7 @@ class GridBase {
|
|
|
1160
1160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1161
1161
|
const { datasource } = this.grid;
|
|
1162
1162
|
if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
|
|
1163
|
-
const lookupColumns = this.grid.columns.filter((column) => !!column.componentProps.datasource);
|
|
1163
|
+
const lookupColumns = this.grid.columns.filter((column) => !!column.componentProps.datasource && !column.skipLookupSearch);
|
|
1164
1164
|
const searchJoin = {};
|
|
1165
1165
|
if (search) {
|
|
1166
1166
|
const promises = lookupColumns.map((column) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1986,6 +1986,8 @@ class TekGridColumn extends GridColumnEditable {
|
|
|
1986
1986
|
this.filterProps = [];
|
|
1987
1987
|
/* column can be use to filter */
|
|
1988
1988
|
this.filterable = true;
|
|
1989
|
+
/* should not consider lookup column on search */
|
|
1990
|
+
this.skipLookupSearch = false;
|
|
1989
1991
|
/* column is grouped */
|
|
1990
1992
|
this.groupedValue = false;
|
|
1991
1993
|
/* Value to show when grouped value is empty */
|
|
@@ -2002,6 +2004,7 @@ class TekGridColumn extends GridColumnEditable {
|
|
|
2002
2004
|
this.filterProps = this.getInitValue('filterProps', props.filterProps, this.filterProps);
|
|
2003
2005
|
this.filterable = this.getInitValue('filterable', props.filterable, this.filterable);
|
|
2004
2006
|
this.filterIndex = this.getInitValue('filterIndex', props.filterIndex, this.filterIndex);
|
|
2007
|
+
this.skipLookupSearch = this.getInitValue('skipLookupSearch', props.skipLookupSearch, this.skipLookupSearch);
|
|
2005
2008
|
this.grouped = this.getInitValue('grouped', props.grouped, this.grouped);
|
|
2006
2009
|
this.groupOpened = this.getInitValue('groupOpened', props.groupOpened, this.groupOpened);
|
|
2007
2010
|
this.aggregation = this.getInitValue('aggregation', props.aggregation, this.aggregation);
|
|
@@ -1164,7 +1164,7 @@
|
|
|
1164
1164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1165
1165
|
const { datasource } = this.grid;
|
|
1166
1166
|
if (datasource instanceof TekRestDatasource || datasource instanceof TekMemoryDatasource) {
|
|
1167
|
-
const lookupColumns = this.grid.columns.filter((column) => !!column.componentProps.datasource);
|
|
1167
|
+
const lookupColumns = this.grid.columns.filter((column) => !!column.componentProps.datasource && !column.skipLookupSearch);
|
|
1168
1168
|
const searchJoin = {};
|
|
1169
1169
|
if (search) {
|
|
1170
1170
|
const promises = lookupColumns.map((column) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1990,6 +1990,8 @@
|
|
|
1990
1990
|
this.filterProps = [];
|
|
1991
1991
|
/* column can be use to filter */
|
|
1992
1992
|
this.filterable = true;
|
|
1993
|
+
/* should not consider lookup column on search */
|
|
1994
|
+
this.skipLookupSearch = false;
|
|
1993
1995
|
/* column is grouped */
|
|
1994
1996
|
this.groupedValue = false;
|
|
1995
1997
|
/* Value to show when grouped value is empty */
|
|
@@ -2006,6 +2008,7 @@
|
|
|
2006
2008
|
this.filterProps = this.getInitValue('filterProps', props.filterProps, this.filterProps);
|
|
2007
2009
|
this.filterable = this.getInitValue('filterable', props.filterable, this.filterable);
|
|
2008
2010
|
this.filterIndex = this.getInitValue('filterIndex', props.filterIndex, this.filterIndex);
|
|
2011
|
+
this.skipLookupSearch = this.getInitValue('skipLookupSearch', props.skipLookupSearch, this.skipLookupSearch);
|
|
2009
2012
|
this.grouped = this.getInitValue('grouped', props.grouped, this.grouped);
|
|
2010
2013
|
this.groupOpened = this.getInitValue('groupOpened', props.groupOpened, this.groupOpened);
|
|
2011
2014
|
this.aggregation = this.getInitValue('aggregation', props.aggregation, this.aggregation);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-components-common",
|
|
3
|
-
"version": "1.105.
|
|
3
|
+
"version": "1.105.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": "
|
|
35
|
+
"gitHead": "846a17a12144e941bec933012885c3ee7d495ee6"
|
|
36
36
|
}
|
|
@@ -9,6 +9,7 @@ export declare class TekGridColumn extends GridColumnEditable implements ITekGri
|
|
|
9
9
|
filterProps: IFilterPropsComponent | IFilterPropsComponent[];
|
|
10
10
|
filterable: boolean;
|
|
11
11
|
filterIndex?: number;
|
|
12
|
+
skipLookupSearch: boolean;
|
|
12
13
|
private groupedValue;
|
|
13
14
|
private groupOpenedValue?;
|
|
14
15
|
groupLabelForEmptyValue: string;
|
|
@@ -124,6 +124,7 @@ export interface ITekGridColumn extends IGridColumnEditable {
|
|
|
124
124
|
filterProps?: IFilterPropsComponent | IFilterPropsComponent[];
|
|
125
125
|
filterable?: boolean;
|
|
126
126
|
filterIndex?: number;
|
|
127
|
+
skipLookupSearch?: boolean;
|
|
127
128
|
grouped?: boolean;
|
|
128
129
|
aggregation?: ITekGridColumnAggregation;
|
|
129
130
|
groupOpened?: boolean;
|