@progress/kendo-vue-data-tools 3.12.0 → 3.12.1-dev.202308170413
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/dist/cdn/js/kendo-vue-data-tools.js +1 -1
- package/dist/es/filter/Expression.js +11 -49
- package/dist/es/filter/Filter.js +1 -1
- package/dist/es/filter/GroupToolbar.js +41 -267
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/pager/PagerInfo.js +2 -2
- package/dist/es/pager/PagerInput.js +23 -38
- package/dist/esm/filter/Expression.js +11 -49
- package/dist/esm/filter/Filter.js +1 -1
- package/dist/esm/filter/GroupToolbar.js +41 -267
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/pager/PagerInfo.js +2 -2
- package/dist/esm/pager/PagerInput.js +23 -38
- package/dist/npm/filter/Expression.js +11 -49
- package/dist/npm/filter/Filter.js +1 -1
- package/dist/npm/filter/GroupToolbar.js +40 -266
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/pager/PagerInfo.js +2 -2
- package/dist/npm/pager/PagerInput.js +23 -38
- package/package.json +11 -10
|
@@ -45,8 +45,8 @@ var PagerInfoVue2 = {
|
|
|
45
45
|
messageKey: pagerInfo,
|
|
46
46
|
defaultMessage: messages[pagerInfo]
|
|
47
47
|
};
|
|
48
|
-
return h("
|
|
49
|
-
"class": "k-pager-info
|
|
48
|
+
return h("span", {
|
|
49
|
+
"class": "k-pager-info"
|
|
50
50
|
}, [intlService.format(localizationService.toLanguageString(infoMessage.messageKey, infoMessage.defaultMessage), [Math.min(this.$props.skip + 1, this.$props.totalPages), Math.min(this.$props.skip + this.$props.currentPage, this.$props.totalPages), this.$props.totalPages])]);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
@@ -6,7 +6,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
6
6
|
var inject = allVue.inject;
|
|
7
7
|
import { messages, pagerOf, pagerPage, pagerTotalPages, pagerPageInputAriaLabel } from '../messages/main.js';
|
|
8
8
|
import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
9
|
-
import {
|
|
9
|
+
import { NumericTextBox } from '@progress/kendo-vue-inputs';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
@@ -26,36 +26,22 @@ var PagerInputVue2 = {
|
|
|
26
26
|
default: null
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
data: function data() {
|
|
30
|
+
return {
|
|
31
|
+
currentText: undefined
|
|
32
|
+
};
|
|
31
33
|
},
|
|
32
34
|
computed: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var size = this.$props.size;
|
|
36
|
-
return _a = {
|
|
37
|
-
'k-textbox': true,
|
|
38
|
-
'k-input': true,
|
|
39
|
-
'k-rounded-md': true,
|
|
40
|
-
'k-input-solid': true
|
|
41
|
-
}, _a["k-input-".concat(kendoThemeMaps.sizeMap[size] || size)] = size, _a;
|
|
35
|
+
computedValue: function computedValue() {
|
|
36
|
+
return this.$props.currentPage !== undefined ? this.$props.currentPage : this.currentText;
|
|
42
37
|
}
|
|
43
38
|
},
|
|
44
39
|
methods: {
|
|
45
40
|
changeHangler: function changeHangler(e) {
|
|
46
|
-
|
|
47
|
-
this
|
|
48
|
-
|
|
49
|
-
this.$emit('pagechange', parseInt(text, 10), e);
|
|
41
|
+
this.currentText = e.target.value;
|
|
42
|
+
if (this.currentText) {
|
|
43
|
+
this.$emit('pagechange', this.currentText, e);
|
|
50
44
|
}
|
|
51
|
-
},
|
|
52
|
-
blurHandler: function blurHandler() {
|
|
53
|
-
this.$forceUpdate();
|
|
54
|
-
},
|
|
55
|
-
value: function value() {
|
|
56
|
-
var value = this._text === undefined ? this.$props.currentPage.toString() : this._text;
|
|
57
|
-
this._text = undefined;
|
|
58
|
-
return value;
|
|
59
45
|
}
|
|
60
46
|
},
|
|
61
47
|
// @ts-ignore
|
|
@@ -91,26 +77,25 @@ var PagerInputVue2 = {
|
|
|
91
77
|
defaultMessage: messages[pagerPageInputAriaLabel]
|
|
92
78
|
};
|
|
93
79
|
return h("span", {
|
|
94
|
-
"class": "k-pager-input
|
|
95
|
-
}, [localizationService.toLanguageString(pageMessage.messageKey, pageMessage.defaultMessage), h(
|
|
96
|
-
|
|
97
|
-
}, [h("input", {
|
|
98
|
-
"class": "k-input-inner",
|
|
99
|
-
value: this.v3 ? this.value() : null,
|
|
100
|
-
domProps: this.v3 ? undefined : {
|
|
101
|
-
"value": this.value()
|
|
102
|
-
},
|
|
103
|
-
ariaLabel: localizationService.toLanguageString(pageInputAriaLabel.messageKey, pageInputAriaLabel.defaultMessage),
|
|
80
|
+
"class": "k-pager-input"
|
|
81
|
+
}, [h("span", [localizationService.toLanguageString(pageMessage.messageKey, pageMessage.defaultMessage)]), h(NumericTextBox, {
|
|
82
|
+
min: 1,
|
|
104
83
|
attrs: this.v3 ? undefined : {
|
|
84
|
+
min: 1,
|
|
85
|
+
value: this.computedValue,
|
|
86
|
+
spinners: false,
|
|
87
|
+
size: this.$props.size,
|
|
105
88
|
ariaLabel: localizationService.toLanguageString(pageInputAriaLabel.messageKey, pageInputAriaLabel.defaultMessage)
|
|
106
89
|
},
|
|
107
|
-
|
|
90
|
+
value: this.computedValue,
|
|
91
|
+
onChange: this.changeHangler,
|
|
108
92
|
on: this.v3 ? undefined : {
|
|
109
|
-
"blur": this.blurHandler,
|
|
110
93
|
"change": this.changeHangler
|
|
111
94
|
},
|
|
112
|
-
|
|
113
|
-
|
|
95
|
+
spinners: false,
|
|
96
|
+
size: this.$props.size,
|
|
97
|
+
ariaLabel: localizationService.toLanguageString(pageInputAriaLabel.messageKey, pageInputAriaLabel.defaultMessage)
|
|
98
|
+
}), h("span", ["".concat(localizationService.toLanguageString(ofMessage.messageKey, ofMessage.defaultMessage), " ").concat(intlService.format(localizationService.toLanguageString(totalPagesMessage.messageKey, totalPagesMessage.defaultMessage), [this.$props.totalPages]))])]);
|
|
114
99
|
}
|
|
115
100
|
};
|
|
116
101
|
/**
|
|
@@ -274,46 +274,26 @@ var ExpressionVue2 = {
|
|
|
274
274
|
}, _this.v3 ? function () {
|
|
275
275
|
return [field && filterEditors.call(_this, field.filter, field.filterRender)];
|
|
276
276
|
} : [field && filterEditors.call(_this, field.filter, field.filterRender)]),
|
|
277
|
-
// @ts-ignore
|
|
278
|
-
h(kendo_vue_buttons_1.
|
|
279
|
-
return [
|
|
280
|
-
// @ts-ignore
|
|
281
|
-
h(kendo_vue_buttons_1.Button, {
|
|
282
|
-
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
283
|
-
attrs: _this.v3 ? undefined : {
|
|
284
|
-
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
285
|
-
icon: "x",
|
|
286
|
-
svgIcon: kendo_svg_icons_1.xIcon,
|
|
287
|
-
look: "flat",
|
|
288
|
-
type: "button"
|
|
289
|
-
},
|
|
290
|
-
icon: "x",
|
|
291
|
-
svgIcon: kendo_svg_icons_1.xIcon,
|
|
292
|
-
look: "flat",
|
|
293
|
-
type: "button",
|
|
294
|
-
onClick: _this.onFilterRemove,
|
|
295
|
-
on: _this.v3 ? undefined : {
|
|
296
|
-
"click": _this.onFilterRemove
|
|
297
|
-
}
|
|
298
|
-
})];
|
|
299
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
277
|
+
// @ts-ignore
|
|
278
|
+
h(kendo_vue_buttons_1.Button, {
|
|
300
279
|
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
301
280
|
attrs: _this.v3 ? undefined : {
|
|
302
281
|
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
303
282
|
icon: "x",
|
|
304
283
|
svgIcon: kendo_svg_icons_1.xIcon,
|
|
305
|
-
|
|
284
|
+
fillMode: "flat",
|
|
306
285
|
type: "button"
|
|
307
286
|
},
|
|
308
287
|
icon: "x",
|
|
309
288
|
svgIcon: kendo_svg_icons_1.xIcon,
|
|
310
|
-
|
|
289
|
+
fillMode: "flat",
|
|
311
290
|
type: "button",
|
|
291
|
+
"class": "k-toolbar-button",
|
|
312
292
|
onClick: _this.onFilterRemove,
|
|
313
293
|
on: _this.v3 ? undefined : {
|
|
314
294
|
"click": _this.onFilterRemove
|
|
315
295
|
}
|
|
316
|
-
})]
|
|
296
|
+
})];
|
|
317
297
|
} : [h(kendo_vue_buttons_1.ToolbarItem, {
|
|
318
298
|
"class": "k-filter-field"
|
|
319
299
|
}, _this.v3 ? function () {
|
|
@@ -404,43 +384,25 @@ var ExpressionVue2 = {
|
|
|
404
384
|
"class": "k-filter-value"
|
|
405
385
|
}, _this.v3 ? function () {
|
|
406
386
|
return [field && filterEditors.call(_this, field.filter, field.filterRender)];
|
|
407
|
-
} : [field && filterEditors.call(_this, field.filter, field.filterRender)]), h(kendo_vue_buttons_1.
|
|
408
|
-
return [h(kendo_vue_buttons_1.Button, {
|
|
409
|
-
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
410
|
-
attrs: _this.v3 ? undefined : {
|
|
411
|
-
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
412
|
-
icon: "x",
|
|
413
|
-
svgIcon: kendo_svg_icons_1.xIcon,
|
|
414
|
-
look: "flat",
|
|
415
|
-
type: "button"
|
|
416
|
-
},
|
|
417
|
-
icon: "x",
|
|
418
|
-
svgIcon: kendo_svg_icons_1.xIcon,
|
|
419
|
-
look: "flat",
|
|
420
|
-
type: "button",
|
|
421
|
-
onClick: _this.onFilterRemove,
|
|
422
|
-
on: _this.v3 ? undefined : {
|
|
423
|
-
"click": _this.onFilterRemove
|
|
424
|
-
}
|
|
425
|
-
})];
|
|
426
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
387
|
+
} : [field && filterEditors.call(_this, field.filter, field.filterRender)]), h(kendo_vue_buttons_1.Button, {
|
|
427
388
|
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
428
389
|
attrs: _this.v3 ? undefined : {
|
|
429
390
|
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
430
391
|
icon: "x",
|
|
431
392
|
svgIcon: kendo_svg_icons_1.xIcon,
|
|
432
|
-
|
|
393
|
+
fillMode: "flat",
|
|
433
394
|
type: "button"
|
|
434
395
|
},
|
|
435
396
|
icon: "x",
|
|
436
397
|
svgIcon: kendo_svg_icons_1.xIcon,
|
|
437
|
-
|
|
398
|
+
fillMode: "flat",
|
|
438
399
|
type: "button",
|
|
400
|
+
"class": "k-toolbar-button",
|
|
439
401
|
onClick: _this.onFilterRemove,
|
|
440
402
|
on: _this.v3 ? undefined : {
|
|
441
403
|
"click": _this.onFilterRemove
|
|
442
404
|
}
|
|
443
|
-
})])])
|
|
405
|
+
})])]);
|
|
444
406
|
},
|
|
445
407
|
methods: {
|
|
446
408
|
onFieldChange: function onFieldChange(event) {
|
|
@@ -78,9 +78,7 @@ var GroupToolbarVue2 = {
|
|
|
78
78
|
render: function render(createElement) {
|
|
79
79
|
var _this = this;
|
|
80
80
|
var h = gh || createElement;
|
|
81
|
-
var
|
|
82
|
-
fields = _a.fields,
|
|
83
|
-
filter = _a.filter;
|
|
81
|
+
var filter = this.$props.filter;
|
|
84
82
|
var locService = (0, kendo_vue_intl_1.provideLocalizationService)(this);
|
|
85
83
|
return h("div", {
|
|
86
84
|
"class": "k-filter-toolbar"
|
|
@@ -98,78 +96,12 @@ var GroupToolbarVue2 = {
|
|
|
98
96
|
}, this.v3 ? function () {
|
|
99
97
|
return [
|
|
100
98
|
// @ts-ignore function children
|
|
101
|
-
h(kendo_vue_buttons_1.
|
|
99
|
+
h(kendo_vue_buttons_1.ButtonGroup, {
|
|
100
|
+
"class": "k-toolbar-button-group"
|
|
101
|
+
}, _this.v3 ? function () {
|
|
102
102
|
return [
|
|
103
103
|
// @ts-ignore function children
|
|
104
|
-
h(kendo_vue_buttons_1.
|
|
105
|
-
return [
|
|
106
|
-
// @ts-ignore function children
|
|
107
|
-
h(kendo_vue_buttons_1.Button, {
|
|
108
|
-
togglable: true,
|
|
109
|
-
attrs: _this.v3 ? undefined : {
|
|
110
|
-
togglable: true,
|
|
111
|
-
selected: filter.logic === 'and',
|
|
112
|
-
type: "button"
|
|
113
|
-
},
|
|
114
|
-
onClick: _this.onLogicAnd,
|
|
115
|
-
on: _this.v3 ? undefined : {
|
|
116
|
-
"click": _this.onLogicAnd
|
|
117
|
-
},
|
|
118
|
-
selected: filter.logic === 'and',
|
|
119
|
-
type: "button"
|
|
120
|
-
}, _this.v3 ? function () {
|
|
121
|
-
return [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])];
|
|
122
|
-
} : [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])]),
|
|
123
|
-
// @ts-ignore function children
|
|
124
|
-
h(kendo_vue_buttons_1.Button, {
|
|
125
|
-
togglable: true,
|
|
126
|
-
attrs: _this.v3 ? undefined : {
|
|
127
|
-
togglable: true,
|
|
128
|
-
selected: filter.logic === 'or',
|
|
129
|
-
type: "button"
|
|
130
|
-
},
|
|
131
|
-
onClick: _this.onLogicOr,
|
|
132
|
-
on: _this.v3 ? undefined : {
|
|
133
|
-
"click": _this.onLogicOr
|
|
134
|
-
},
|
|
135
|
-
selected: filter.logic === 'or',
|
|
136
|
-
type: "button"
|
|
137
|
-
}, _this.v3 ? function () {
|
|
138
|
-
return [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])];
|
|
139
|
-
} : [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])])];
|
|
140
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
141
|
-
togglable: true,
|
|
142
|
-
attrs: _this.v3 ? undefined : {
|
|
143
|
-
togglable: true,
|
|
144
|
-
selected: filter.logic === 'and',
|
|
145
|
-
type: "button"
|
|
146
|
-
},
|
|
147
|
-
onClick: _this.onLogicAnd,
|
|
148
|
-
on: _this.v3 ? undefined : {
|
|
149
|
-
"click": _this.onLogicAnd
|
|
150
|
-
},
|
|
151
|
-
selected: filter.logic === 'and',
|
|
152
|
-
type: "button"
|
|
153
|
-
}, _this.v3 ? function () {
|
|
154
|
-
return [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])];
|
|
155
|
-
} : [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])]), h(kendo_vue_buttons_1.Button, {
|
|
156
|
-
togglable: true,
|
|
157
|
-
attrs: _this.v3 ? undefined : {
|
|
158
|
-
togglable: true,
|
|
159
|
-
selected: filter.logic === 'or',
|
|
160
|
-
type: "button"
|
|
161
|
-
},
|
|
162
|
-
onClick: _this.onLogicOr,
|
|
163
|
-
on: _this.v3 ? undefined : {
|
|
164
|
-
"click": _this.onLogicOr
|
|
165
|
-
},
|
|
166
|
-
selected: filter.logic === 'or',
|
|
167
|
-
type: "button"
|
|
168
|
-
}, _this.v3 ? function () {
|
|
169
|
-
return [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])];
|
|
170
|
-
} : [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])])])];
|
|
171
|
-
} : [h(kendo_vue_buttons_1.ButtonGroup, _this.v3 ? function () {
|
|
172
|
-
return [h(kendo_vue_buttons_1.Button, {
|
|
104
|
+
h(kendo_vue_buttons_1.Button, {
|
|
173
105
|
togglable: true,
|
|
174
106
|
attrs: _this.v3 ? undefined : {
|
|
175
107
|
togglable: true,
|
|
@@ -180,11 +112,14 @@ var GroupToolbarVue2 = {
|
|
|
180
112
|
on: _this.v3 ? undefined : {
|
|
181
113
|
"click": _this.onLogicAnd
|
|
182
114
|
},
|
|
115
|
+
"class": "k-toolbar-button",
|
|
183
116
|
selected: filter.logic === 'and',
|
|
184
117
|
type: "button"
|
|
185
118
|
}, _this.v3 ? function () {
|
|
186
119
|
return [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])];
|
|
187
|
-
} : [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])]),
|
|
120
|
+
} : [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])]),
|
|
121
|
+
// @ts-ignore function children
|
|
122
|
+
h(kendo_vue_buttons_1.Button, {
|
|
188
123
|
togglable: true,
|
|
189
124
|
attrs: _this.v3 ? undefined : {
|
|
190
125
|
togglable: true,
|
|
@@ -195,6 +130,7 @@ var GroupToolbarVue2 = {
|
|
|
195
130
|
on: _this.v3 ? undefined : {
|
|
196
131
|
"click": _this.onLogicOr
|
|
197
132
|
},
|
|
133
|
+
"class": "k-toolbar-button",
|
|
198
134
|
selected: filter.logic === 'or',
|
|
199
135
|
type: "button"
|
|
200
136
|
}, _this.v3 ? function () {
|
|
@@ -211,6 +147,7 @@ var GroupToolbarVue2 = {
|
|
|
211
147
|
on: _this.v3 ? undefined : {
|
|
212
148
|
"click": _this.onLogicAnd
|
|
213
149
|
},
|
|
150
|
+
"class": "k-toolbar-button",
|
|
214
151
|
selected: filter.logic === 'and',
|
|
215
152
|
type: "button"
|
|
216
153
|
}, _this.v3 ? function () {
|
|
@@ -226,32 +163,14 @@ var GroupToolbarVue2 = {
|
|
|
226
163
|
on: _this.v3 ? undefined : {
|
|
227
164
|
"click": _this.onLogicOr
|
|
228
165
|
},
|
|
166
|
+
"class": "k-toolbar-button",
|
|
229
167
|
selected: filter.logic === 'or',
|
|
230
168
|
type: "button"
|
|
231
169
|
}, _this.v3 ? function () {
|
|
232
170
|
return [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])];
|
|
233
|
-
} : [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])])])
|
|
171
|
+
} : [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])])]),
|
|
234
172
|
// @ts-ignore function children
|
|
235
|
-
h(kendo_vue_buttons_1.
|
|
236
|
-
return [
|
|
237
|
-
// @ts-ignore function children
|
|
238
|
-
h(kendo_vue_buttons_1.Button, {
|
|
239
|
-
title: locService.toLanguageString(main_1.filterAddExpression, main_1.messages[main_1.filterAddExpression]),
|
|
240
|
-
attrs: _this.v3 ? undefined : {
|
|
241
|
-
title: locService.toLanguageString(main_1.filterAddExpression, main_1.messages[main_1.filterAddExpression]),
|
|
242
|
-
icon: "filter-add-expression",
|
|
243
|
-
svgIcon: kendo_svg_icons_1.filterAddExpressionIcon,
|
|
244
|
-
type: "button"
|
|
245
|
-
},
|
|
246
|
-
icon: "filter-add-expression",
|
|
247
|
-
svgIcon: kendo_svg_icons_1.filterAddExpressionIcon,
|
|
248
|
-
type: "button",
|
|
249
|
-
onClick: _this.onAddExpression,
|
|
250
|
-
on: _this.v3 ? undefined : {
|
|
251
|
-
"click": _this.onAddExpression
|
|
252
|
-
}
|
|
253
|
-
})];
|
|
254
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
173
|
+
h(kendo_vue_buttons_1.Button, {
|
|
255
174
|
title: locService.toLanguageString(main_1.filterAddExpression, main_1.messages[main_1.filterAddExpression]),
|
|
256
175
|
attrs: _this.v3 ? undefined : {
|
|
257
176
|
title: locService.toLanguageString(main_1.filterAddExpression, main_1.messages[main_1.filterAddExpression]),
|
|
@@ -262,32 +181,14 @@ var GroupToolbarVue2 = {
|
|
|
262
181
|
icon: "filter-add-expression",
|
|
263
182
|
svgIcon: kendo_svg_icons_1.filterAddExpressionIcon,
|
|
264
183
|
type: "button",
|
|
184
|
+
"class": "k-toolbar-button",
|
|
265
185
|
onClick: _this.onAddExpression,
|
|
266
186
|
on: _this.v3 ? undefined : {
|
|
267
187
|
"click": _this.onAddExpression
|
|
268
188
|
}
|
|
269
|
-
})
|
|
189
|
+
}),
|
|
270
190
|
// @ts-ignore function children
|
|
271
|
-
h(kendo_vue_buttons_1.
|
|
272
|
-
return [
|
|
273
|
-
// @ts-ignore function children
|
|
274
|
-
h(kendo_vue_buttons_1.Button, {
|
|
275
|
-
title: locService.toLanguageString(main_1.filterAddGroup, main_1.messages[main_1.filterAddGroup]),
|
|
276
|
-
attrs: _this.v3 ? undefined : {
|
|
277
|
-
title: locService.toLanguageString(main_1.filterAddGroup, main_1.messages[main_1.filterAddGroup]),
|
|
278
|
-
icon: "filter-add-group",
|
|
279
|
-
svgIcon: kendo_svg_icons_1.filterAddGroupIcon,
|
|
280
|
-
type: "button"
|
|
281
|
-
},
|
|
282
|
-
icon: "filter-add-group",
|
|
283
|
-
svgIcon: kendo_svg_icons_1.filterAddGroupIcon,
|
|
284
|
-
type: "button",
|
|
285
|
-
onClick: _this.onAddGroup,
|
|
286
|
-
on: _this.v3 ? undefined : {
|
|
287
|
-
"click": _this.onAddGroup
|
|
288
|
-
}
|
|
289
|
-
})];
|
|
290
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
191
|
+
h(kendo_vue_buttons_1.Button, {
|
|
291
192
|
title: locService.toLanguageString(main_1.filterAddGroup, main_1.messages[main_1.filterAddGroup]),
|
|
292
193
|
attrs: _this.v3 ? undefined : {
|
|
293
194
|
title: locService.toLanguageString(main_1.filterAddGroup, main_1.messages[main_1.filterAddGroup]),
|
|
@@ -298,116 +199,35 @@ var GroupToolbarVue2 = {
|
|
|
298
199
|
icon: "filter-add-group",
|
|
299
200
|
svgIcon: kendo_svg_icons_1.filterAddGroupIcon,
|
|
300
201
|
type: "button",
|
|
202
|
+
"class": "k-toolbar-button",
|
|
301
203
|
onClick: _this.onAddGroup,
|
|
302
204
|
on: _this.v3 ? undefined : {
|
|
303
205
|
"click": _this.onAddGroup
|
|
304
206
|
}
|
|
305
|
-
})
|
|
207
|
+
}),
|
|
306
208
|
// @ts-ignore function children
|
|
307
|
-
h(kendo_vue_buttons_1.
|
|
308
|
-
return [
|
|
309
|
-
// @ts-ignore function children
|
|
310
|
-
h(kendo_vue_buttons_1.Button, {
|
|
311
|
-
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
312
|
-
attrs: _this.v3 ? undefined : {
|
|
313
|
-
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
314
|
-
icon: "x",
|
|
315
|
-
svgIcon: kendo_svg_icons_1.xIcon,
|
|
316
|
-
look: "flat",
|
|
317
|
-
type: "button"
|
|
318
|
-
},
|
|
319
|
-
icon: "x",
|
|
320
|
-
svgIcon: kendo_svg_icons_1.xIcon,
|
|
321
|
-
look: "flat",
|
|
322
|
-
type: "button",
|
|
323
|
-
onClick: _this.onGroupRemove,
|
|
324
|
-
on: _this.v3 ? undefined : {
|
|
325
|
-
"click": _this.onGroupRemove
|
|
326
|
-
}
|
|
327
|
-
})];
|
|
328
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
209
|
+
h(kendo_vue_buttons_1.Button, {
|
|
329
210
|
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
330
211
|
attrs: _this.v3 ? undefined : {
|
|
331
212
|
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
332
213
|
icon: "x",
|
|
333
214
|
svgIcon: kendo_svg_icons_1.xIcon,
|
|
334
|
-
|
|
215
|
+
fillMode: "flat",
|
|
335
216
|
type: "button"
|
|
336
217
|
},
|
|
337
218
|
icon: "x",
|
|
338
219
|
svgIcon: kendo_svg_icons_1.xIcon,
|
|
339
|
-
|
|
220
|
+
fillMode: "flat",
|
|
340
221
|
type: "button",
|
|
222
|
+
"class": "k-toolbar-button",
|
|
341
223
|
onClick: _this.onGroupRemove,
|
|
342
224
|
on: _this.v3 ? undefined : {
|
|
343
225
|
"click": _this.onGroupRemove
|
|
344
226
|
}
|
|
345
|
-
})]
|
|
346
|
-
} : [h(kendo_vue_buttons_1.
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
togglable: true,
|
|
350
|
-
attrs: _this.v3 ? undefined : {
|
|
351
|
-
togglable: true,
|
|
352
|
-
selected: filter.logic === 'and',
|
|
353
|
-
type: "button"
|
|
354
|
-
},
|
|
355
|
-
onClick: _this.onLogicAnd,
|
|
356
|
-
on: _this.v3 ? undefined : {
|
|
357
|
-
"click": _this.onLogicAnd
|
|
358
|
-
},
|
|
359
|
-
selected: filter.logic === 'and',
|
|
360
|
-
type: "button"
|
|
361
|
-
}, _this.v3 ? function () {
|
|
362
|
-
return [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])];
|
|
363
|
-
} : [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])]), h(kendo_vue_buttons_1.Button, {
|
|
364
|
-
togglable: true,
|
|
365
|
-
attrs: _this.v3 ? undefined : {
|
|
366
|
-
togglable: true,
|
|
367
|
-
selected: filter.logic === 'or',
|
|
368
|
-
type: "button"
|
|
369
|
-
},
|
|
370
|
-
onClick: _this.onLogicOr,
|
|
371
|
-
on: _this.v3 ? undefined : {
|
|
372
|
-
"click": _this.onLogicOr
|
|
373
|
-
},
|
|
374
|
-
selected: filter.logic === 'or',
|
|
375
|
-
type: "button"
|
|
376
|
-
}, _this.v3 ? function () {
|
|
377
|
-
return [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])];
|
|
378
|
-
} : [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])])];
|
|
379
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
380
|
-
togglable: true,
|
|
381
|
-
attrs: _this.v3 ? undefined : {
|
|
382
|
-
togglable: true,
|
|
383
|
-
selected: filter.logic === 'and',
|
|
384
|
-
type: "button"
|
|
385
|
-
},
|
|
386
|
-
onClick: _this.onLogicAnd,
|
|
387
|
-
on: _this.v3 ? undefined : {
|
|
388
|
-
"click": _this.onLogicAnd
|
|
389
|
-
},
|
|
390
|
-
selected: filter.logic === 'and',
|
|
391
|
-
type: "button"
|
|
392
|
-
}, _this.v3 ? function () {
|
|
393
|
-
return [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])];
|
|
394
|
-
} : [locService.toLanguageString(main_1.filterAndLogic, main_1.messages[main_1.filterAndLogic])]), h(kendo_vue_buttons_1.Button, {
|
|
395
|
-
togglable: true,
|
|
396
|
-
attrs: _this.v3 ? undefined : {
|
|
397
|
-
togglable: true,
|
|
398
|
-
selected: filter.logic === 'or',
|
|
399
|
-
type: "button"
|
|
400
|
-
},
|
|
401
|
-
onClick: _this.onLogicOr,
|
|
402
|
-
on: _this.v3 ? undefined : {
|
|
403
|
-
"click": _this.onLogicOr
|
|
404
|
-
},
|
|
405
|
-
selected: filter.logic === 'or',
|
|
406
|
-
type: "button"
|
|
407
|
-
}, _this.v3 ? function () {
|
|
408
|
-
return [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])];
|
|
409
|
-
} : [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])])])];
|
|
410
|
-
} : [h(kendo_vue_buttons_1.ButtonGroup, _this.v3 ? function () {
|
|
227
|
+
})];
|
|
228
|
+
} : [h(kendo_vue_buttons_1.ButtonGroup, {
|
|
229
|
+
"class": "k-toolbar-button-group"
|
|
230
|
+
}, _this.v3 ? function () {
|
|
411
231
|
return [h(kendo_vue_buttons_1.Button, {
|
|
412
232
|
togglable: true,
|
|
413
233
|
attrs: _this.v3 ? undefined : {
|
|
@@ -419,6 +239,7 @@ var GroupToolbarVue2 = {
|
|
|
419
239
|
on: _this.v3 ? undefined : {
|
|
420
240
|
"click": _this.onLogicAnd
|
|
421
241
|
},
|
|
242
|
+
"class": "k-toolbar-button",
|
|
422
243
|
selected: filter.logic === 'and',
|
|
423
244
|
type: "button"
|
|
424
245
|
}, _this.v3 ? function () {
|
|
@@ -434,6 +255,7 @@ var GroupToolbarVue2 = {
|
|
|
434
255
|
on: _this.v3 ? undefined : {
|
|
435
256
|
"click": _this.onLogicOr
|
|
436
257
|
},
|
|
258
|
+
"class": "k-toolbar-button",
|
|
437
259
|
selected: filter.logic === 'or',
|
|
438
260
|
type: "button"
|
|
439
261
|
}, _this.v3 ? function () {
|
|
@@ -450,6 +272,7 @@ var GroupToolbarVue2 = {
|
|
|
450
272
|
on: _this.v3 ? undefined : {
|
|
451
273
|
"click": _this.onLogicAnd
|
|
452
274
|
},
|
|
275
|
+
"class": "k-toolbar-button",
|
|
453
276
|
selected: filter.logic === 'and',
|
|
454
277
|
type: "button"
|
|
455
278
|
}, _this.v3 ? function () {
|
|
@@ -465,28 +288,12 @@ var GroupToolbarVue2 = {
|
|
|
465
288
|
on: _this.v3 ? undefined : {
|
|
466
289
|
"click": _this.onLogicOr
|
|
467
290
|
},
|
|
291
|
+
"class": "k-toolbar-button",
|
|
468
292
|
selected: filter.logic === 'or',
|
|
469
293
|
type: "button"
|
|
470
294
|
}, _this.v3 ? function () {
|
|
471
295
|
return [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])];
|
|
472
|
-
} : [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])])])
|
|
473
|
-
return [h(kendo_vue_buttons_1.Button, {
|
|
474
|
-
title: locService.toLanguageString(main_1.filterAddExpression, main_1.messages[main_1.filterAddExpression]),
|
|
475
|
-
attrs: _this.v3 ? undefined : {
|
|
476
|
-
title: locService.toLanguageString(main_1.filterAddExpression, main_1.messages[main_1.filterAddExpression]),
|
|
477
|
-
icon: "filter-add-expression",
|
|
478
|
-
svgIcon: kendo_svg_icons_1.filterAddExpressionIcon,
|
|
479
|
-
type: "button"
|
|
480
|
-
},
|
|
481
|
-
icon: "filter-add-expression",
|
|
482
|
-
svgIcon: kendo_svg_icons_1.filterAddExpressionIcon,
|
|
483
|
-
type: "button",
|
|
484
|
-
onClick: _this.onAddExpression,
|
|
485
|
-
on: _this.v3 ? undefined : {
|
|
486
|
-
"click": _this.onAddExpression
|
|
487
|
-
}
|
|
488
|
-
})];
|
|
489
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
296
|
+
} : [locService.toLanguageString(main_1.filterOrLogic, main_1.messages[main_1.filterOrLogic])])]), h(kendo_vue_buttons_1.Button, {
|
|
490
297
|
title: locService.toLanguageString(main_1.filterAddExpression, main_1.messages[main_1.filterAddExpression]),
|
|
491
298
|
attrs: _this.v3 ? undefined : {
|
|
492
299
|
title: locService.toLanguageString(main_1.filterAddExpression, main_1.messages[main_1.filterAddExpression]),
|
|
@@ -497,28 +304,12 @@ var GroupToolbarVue2 = {
|
|
|
497
304
|
icon: "filter-add-expression",
|
|
498
305
|
svgIcon: kendo_svg_icons_1.filterAddExpressionIcon,
|
|
499
306
|
type: "button",
|
|
307
|
+
"class": "k-toolbar-button",
|
|
500
308
|
onClick: _this.onAddExpression,
|
|
501
309
|
on: _this.v3 ? undefined : {
|
|
502
310
|
"click": _this.onAddExpression
|
|
503
311
|
}
|
|
504
|
-
})
|
|
505
|
-
return [h(kendo_vue_buttons_1.Button, {
|
|
506
|
-
title: locService.toLanguageString(main_1.filterAddGroup, main_1.messages[main_1.filterAddGroup]),
|
|
507
|
-
attrs: _this.v3 ? undefined : {
|
|
508
|
-
title: locService.toLanguageString(main_1.filterAddGroup, main_1.messages[main_1.filterAddGroup]),
|
|
509
|
-
icon: "filter-add-group",
|
|
510
|
-
svgIcon: kendo_svg_icons_1.filterAddGroupIcon,
|
|
511
|
-
type: "button"
|
|
512
|
-
},
|
|
513
|
-
icon: "filter-add-group",
|
|
514
|
-
svgIcon: kendo_svg_icons_1.filterAddGroupIcon,
|
|
515
|
-
type: "button",
|
|
516
|
-
onClick: _this.onAddGroup,
|
|
517
|
-
on: _this.v3 ? undefined : {
|
|
518
|
-
"click": _this.onAddGroup
|
|
519
|
-
}
|
|
520
|
-
})];
|
|
521
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
312
|
+
}), h(kendo_vue_buttons_1.Button, {
|
|
522
313
|
title: locService.toLanguageString(main_1.filterAddGroup, main_1.messages[main_1.filterAddGroup]),
|
|
523
314
|
attrs: _this.v3 ? undefined : {
|
|
524
315
|
title: locService.toLanguageString(main_1.filterAddGroup, main_1.messages[main_1.filterAddGroup]),
|
|
@@ -529,47 +320,30 @@ var GroupToolbarVue2 = {
|
|
|
529
320
|
icon: "filter-add-group",
|
|
530
321
|
svgIcon: kendo_svg_icons_1.filterAddGroupIcon,
|
|
531
322
|
type: "button",
|
|
323
|
+
"class": "k-toolbar-button",
|
|
532
324
|
onClick: _this.onAddGroup,
|
|
533
325
|
on: _this.v3 ? undefined : {
|
|
534
326
|
"click": _this.onAddGroup
|
|
535
327
|
}
|
|
536
|
-
})
|
|
537
|
-
return [h(kendo_vue_buttons_1.Button, {
|
|
538
|
-
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
539
|
-
attrs: _this.v3 ? undefined : {
|
|
540
|
-
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
541
|
-
icon: "x",
|
|
542
|
-
svgIcon: kendo_svg_icons_1.xIcon,
|
|
543
|
-
look: "flat",
|
|
544
|
-
type: "button"
|
|
545
|
-
},
|
|
546
|
-
icon: "x",
|
|
547
|
-
svgIcon: kendo_svg_icons_1.xIcon,
|
|
548
|
-
look: "flat",
|
|
549
|
-
type: "button",
|
|
550
|
-
onClick: _this.onGroupRemove,
|
|
551
|
-
on: _this.v3 ? undefined : {
|
|
552
|
-
"click": _this.onGroupRemove
|
|
553
|
-
}
|
|
554
|
-
})];
|
|
555
|
-
} : [h(kendo_vue_buttons_1.Button, {
|
|
328
|
+
}), h(kendo_vue_buttons_1.Button, {
|
|
556
329
|
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
557
330
|
attrs: _this.v3 ? undefined : {
|
|
558
331
|
title: locService.toLanguageString(main_1.filterClose, main_1.messages[main_1.filterClose]),
|
|
559
332
|
icon: "x",
|
|
560
333
|
svgIcon: kendo_svg_icons_1.xIcon,
|
|
561
|
-
|
|
334
|
+
fillMode: "flat",
|
|
562
335
|
type: "button"
|
|
563
336
|
},
|
|
564
337
|
icon: "x",
|
|
565
338
|
svgIcon: kendo_svg_icons_1.xIcon,
|
|
566
|
-
|
|
339
|
+
fillMode: "flat",
|
|
567
340
|
type: "button",
|
|
341
|
+
"class": "k-toolbar-button",
|
|
568
342
|
onClick: _this.onGroupRemove,
|
|
569
343
|
on: _this.v3 ? undefined : {
|
|
570
344
|
"click": _this.onGroupRemove
|
|
571
345
|
}
|
|
572
|
-
})])])
|
|
346
|
+
})])]);
|
|
573
347
|
},
|
|
574
348
|
methods: {
|
|
575
349
|
onGroupRemove: function onGroupRemove() {
|