@progress/kendo-vue-data-tools 6.4.1 → 6.5.0-develop.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/cells/FilterCell.mjs +11 -11
- package/columnmenu/ColumnMenu.mjs +5 -5
- package/columnmenu/ColumnMenuContent.mjs +3 -3
- package/columnmenu/ColumnMenuFilter.js +1 -1
- package/columnmenu/ColumnMenuFilter.mjs +18 -20
- package/columnmenu/ColumnMenuFilterCell.mjs +3 -3
- package/columnmenu/ColumnMenuItem.mjs +1 -1
- package/columnmenu/ColumnMenuSort.mjs +1 -1
- package/dist/cdn/js/kendo-vue-datatools.js +1 -1
- package/filter/Filter.mjs +3 -3
- package/header/FilterRow.mjs +1 -1
- package/header/Header.mjs +8 -8
- package/header/HeaderRow.mjs +3 -3
- package/header/HeaderSelectionCell.mjs +4 -4
- package/header/HeaderTdElement.mjs +4 -4
- package/header/HeaderThElement.mjs +4 -4
- package/navigation/TableKeyboardNavigation.mjs +10 -10
- package/navigation/utils.mjs +4 -4
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +10 -10
- package/pager/Pager.js +1 -1
- package/pager/Pager.mjs +17 -21
- package/pager/PagerInfo.mjs +1 -1
- package/pager/PagerInput.mjs +2 -2
- package/pager/PagerPageSizes.mjs +2 -2
package/cells/FilterCell.mjs
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as k,
|
|
8
|
+
import { defineComponent as k, createVNode as i, h as F, inject as p } from "vue";
|
|
9
9
|
import { Button as z } from "@progress/kendo-vue-buttons";
|
|
10
|
-
import { columnMenuFilterClearButton as g, messages as n,
|
|
10
|
+
import { columnMenuFilterClearButton as g, messages as n, filterTextFilterAriaLabel as c, filterEnumFilterDropdownAriaLabel as h, filterDateFilterAriaLabel as u, filterNumericFilterAriaLabel as d, filterDropDownOperatorAriaLabel as f, columnMenuFilterChooseOperator as m } from "../messages/main.mjs";
|
|
11
11
|
import { DropDownList as C } from "@progress/kendo-vue-dropdowns";
|
|
12
12
|
import { TextBox as D, NumericTextBox as w } from "@progress/kendo-vue-inputs";
|
|
13
13
|
import { DatePicker as x } from "@progress/kendo-vue-dateinputs";
|
|
14
14
|
import { provideLocalizationService as I } from "@progress/kendo-vue-intl";
|
|
15
|
-
import {
|
|
15
|
+
import { cellBoolDropdownChange as y, cellOperatorChange as A, cellInputChange as O } from "../filterCommon.mjs";
|
|
16
16
|
import { getListeners as T, templateRendering as B, getTemplate as N } from "@progress/kendo-vue-common";
|
|
17
17
|
import { filterClearIcon as j, filterIcon as R } from "@progress/kendo-svg-icons";
|
|
18
18
|
const U = /* @__PURE__ */ k({
|
|
@@ -47,7 +47,7 @@ const U = /* @__PURE__ */ k({
|
|
|
47
47
|
},
|
|
48
48
|
methods: {
|
|
49
49
|
inputChange(e, t) {
|
|
50
|
-
const o =
|
|
50
|
+
const o = O(e, t, this.$props);
|
|
51
51
|
this.triggerChange(o);
|
|
52
52
|
},
|
|
53
53
|
operatorChange(e, t) {
|
|
@@ -55,7 +55,7 @@ const U = /* @__PURE__ */ k({
|
|
|
55
55
|
this.triggerChange(o);
|
|
56
56
|
},
|
|
57
57
|
boolDropdownChange(e, t) {
|
|
58
|
-
const o =
|
|
58
|
+
const o = y(e.value.operator, t);
|
|
59
59
|
this.triggerChange(o);
|
|
60
60
|
},
|
|
61
61
|
clear(e) {
|
|
@@ -91,12 +91,12 @@ const U = /* @__PURE__ */ k({
|
|
|
91
91
|
iconClassName: "k-button-icon",
|
|
92
92
|
"data-items": this.$props.operators,
|
|
93
93
|
textField: "text",
|
|
94
|
-
title: t.toLanguageString(
|
|
94
|
+
title: t.toLanguageString(m, n[m]),
|
|
95
95
|
popupSettings: {
|
|
96
96
|
width: "",
|
|
97
97
|
anchor: ""
|
|
98
98
|
},
|
|
99
|
-
"aria-label": this.ariaLabel || t.toLanguageString(
|
|
99
|
+
"aria-label": this.ariaLabel || t.toLanguageString(f, n[f])
|
|
100
100
|
}, null);
|
|
101
101
|
}, v = function(l, a) {
|
|
102
102
|
let s;
|
|
@@ -109,7 +109,7 @@ const U = /* @__PURE__ */ k({
|
|
|
109
109
|
this.inputChange(r.value, r.event);
|
|
110
110
|
},
|
|
111
111
|
title: this.$props.title,
|
|
112
|
-
"aria-label": this.ariaLabel || t.toLanguageString(
|
|
112
|
+
"aria-label": this.ariaLabel || t.toLanguageString(d, n[d])
|
|
113
113
|
}, null);
|
|
114
114
|
case "date":
|
|
115
115
|
return i(x, {
|
|
@@ -119,7 +119,7 @@ const U = /* @__PURE__ */ k({
|
|
|
119
119
|
this.inputChange(r.value, r);
|
|
120
120
|
},
|
|
121
121
|
title: this.$props.title,
|
|
122
|
-
"aria-label": this.ariaLabel || t.toLanguageString(
|
|
122
|
+
"aria-label": this.ariaLabel || t.toLanguageString(u, n[u])
|
|
123
123
|
}, null);
|
|
124
124
|
case "boolean":
|
|
125
125
|
return s = this.$props.booleanValues, i(C, {
|
|
@@ -129,7 +129,7 @@ const U = /* @__PURE__ */ k({
|
|
|
129
129
|
"data-items": s,
|
|
130
130
|
textField: "text",
|
|
131
131
|
title: this.$props.title,
|
|
132
|
-
"aria-label": this.ariaLabel || t.toLanguageString(
|
|
132
|
+
"aria-label": this.ariaLabel || t.toLanguageString(h, n[h])
|
|
133
133
|
}, null);
|
|
134
134
|
default:
|
|
135
135
|
return i(D, {
|
|
@@ -139,7 +139,7 @@ const U = /* @__PURE__ */ k({
|
|
|
139
139
|
this.inputChange(r.target.value, r);
|
|
140
140
|
},
|
|
141
141
|
title: this.$props.title,
|
|
142
|
-
"aria-label": this.ariaLabel || t.toLanguageString(
|
|
142
|
+
"aria-label": this.ariaLabel || t.toLanguageString(c, n[c])
|
|
143
143
|
}, null);
|
|
144
144
|
}
|
|
145
145
|
}, L = i("div", {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as i,
|
|
9
|
-
import {
|
|
8
|
+
import { defineComponent as i, createVNode as o, inject as r } from "vue";
|
|
9
|
+
import { setRef as s, Icon as l, guid as c } from "@progress/kendo-vue-common";
|
|
10
10
|
import { Popup as u } from "@progress/kendo-vue-popup";
|
|
11
11
|
import { moreVerticalIcon as a } from "@progress/kendo-svg-icons";
|
|
12
12
|
import { ColumnMenuContent as h } from "./ColumnMenuContent.mjs";
|
|
@@ -51,7 +51,7 @@ const T = /* @__PURE__ */ i({
|
|
|
51
51
|
};
|
|
52
52
|
},
|
|
53
53
|
created() {
|
|
54
|
-
this._anchor =
|
|
54
|
+
this._anchor = c();
|
|
55
55
|
},
|
|
56
56
|
computed: {
|
|
57
57
|
currentOpen() {
|
|
@@ -110,9 +110,9 @@ const T = /* @__PURE__ */ i({
|
|
|
110
110
|
class: "k-grid-column-menu k-grid-filter",
|
|
111
111
|
tabindex: 0,
|
|
112
112
|
title: `${this.$props.column.field} ${t.toLanguageString(n, f[n])}`,
|
|
113
|
-
ref:
|
|
113
|
+
ref: s(this, "kendoAnchor"),
|
|
114
114
|
onClick: this.anchorClick
|
|
115
|
-
}, [o(
|
|
115
|
+
}, [o(l, {
|
|
116
116
|
name: "more-vertical",
|
|
117
117
|
icon: a
|
|
118
118
|
}, null)]), o(u, {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { defineComponent as o, createVNode as n, h as s } from "vue";
|
|
9
9
|
import { ColumnMenuSort as r } from "./ColumnMenuSort.mjs";
|
|
10
10
|
import { ColumnMenuFilter as i } from "./ColumnMenuFilter.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { getTemplate as l, Keys as a } from "@progress/kendo-vue-common";
|
|
12
12
|
const m = /* @__PURE__ */ o({
|
|
13
13
|
name: "KendoColumnMenuContent",
|
|
14
14
|
inheritAttrs: !1,
|
|
@@ -45,7 +45,7 @@ const m = /* @__PURE__ */ o({
|
|
|
45
45
|
this.$emit("filterchange", e, t);
|
|
46
46
|
},
|
|
47
47
|
contentKeyDown(e) {
|
|
48
|
-
e.keyCode ===
|
|
48
|
+
e.keyCode === a.esc && this.$emit("closemenu");
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
render() {
|
|
@@ -68,7 +68,7 @@ const m = /* @__PURE__ */ o({
|
|
|
68
68
|
onExpandchange: this.expandChange,
|
|
69
69
|
onFilterchange: this.filterChange
|
|
70
70
|
}, null)]);
|
|
71
|
-
return
|
|
71
|
+
return l.call(this, {
|
|
72
72
|
h: s,
|
|
73
73
|
template: typeof e != "boolean" && e,
|
|
74
74
|
defaultRendering: t,
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),h=require("@progress/kendo-vue-common"),O=require("@progress/kendo-data-query"),R=require("./ColumnMenuItem.js"),w=require("./ColumnMenuItemGroup.js"),U=require("./ColumnMenuItemContent.js"),S=require("@progress/kendo-vue-buttons"),_=require("@progress/kendo-vue-intl"),f=require("../filterCommon.js"),u=require("../messages/main.js"),k=require("./ColumnMenuFilterCell.js"),L=require("./ColumnMenuFilterOperators.js"),K=require("@progress/kendo-vue-dropdowns"),Q=require("@progress/kendo-svg-icons");function N(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!o.isVNode(e)}const C=e=>e||{filters:[],logic:"and"},F=(e,r)=>C(r).filters.filter(i=>O.isCompositeFilterDescriptor(i)?i.filters&&i.filters.length&&i.filters.length<=2&&!i.filters.find(n=>O.isCompositeFilterDescriptor(n)||n.field!==e):!1)[0]||null,A=o.defineComponent({name:"KendoColumnMenuFilter",props:{column:Object,filter:Object,expanded:{type:Boolean,default:void 0},filterable:Boolean,filterOperators:{type:Object,default:f.operators},hideSecondFilter:{type:[Boolean,Object],default:void 0},filterUI:[String,Function,Object],onFilterchange:Function,onExpandchange:Function,onFilterfocus:Function,onClosemenu:Function},inject:{kendoLocalizationService:{default:null}},data(){return{currentExpanded:!1,filterGroup:null}},created(){let e;if(this.$props.column&&this.$props.column.field){const r=f.getFilterType(this.$props.column.filter),t=f.getDefaultOperator(this.$props.filterOperators,r);e=F(this.$props.column.field,this.$props.filter),e=e?{...e,filters:e.filters.map(l=>({...l}))}:{logic:"and",filters:[{field:this.$props.column.field,operator:t},{field:this.$props.column.field,operator:t}]},e.filters.filter(l=>l.field===this.$props.column.field).length===1&&e.filters.splice(1,0,{field:this.$props.column.field,operator:t})}this.currentExpanded=this.$props.expanded||!1,this.filterGroup=e},methods:{removeGroup(e,r){const t=[...r.filters],l=t.findIndex(i=>i===e);return l>-1&&t.splice(l,1),{...r,filters:t}},insertGroup(e,r){return{...r,filters:[e,...r.filters]}},isControlled(){return this.$props.expanded!==void 0},onFilterExpand(){const e=this.isControlled(),r=!(e?this.$props.expanded:this.currentExpanded);this.$emit("expandchange",r),e||(this.currentExpanded=r)},filterChangeHandler(e,r){this.filterChange(r||0,e)},firstFilterChange(e){this.filterChange(0,e)},secondFilterChange(e){this.filterChange(1,e)},filterChange(e,r){const t=this.filterGroup.filters.map((l,i)=>i===e?{...l,value:r.value,operator:r.operator}:l);this.filterGroup={...this.filterGroup,filters:t}},logicChange(e){this.filterGroup={...this.filterGroup,logic:e.target.value.operator}},clear(e){if(e.preventDefault(),!h.hasListener.call(this,"filterchange"))return;const r=this.$props.column.field,t=C(this.$props.filter),l=F(r,this.$props.filter),i=t.filters.filter(n=>n!==l);i.length?this.$emit("filterchange",{...t,filters:i},{event:e,field:this.$props.column.field}):this.$emit("filterchange",null,{event:e,field:this.$props.column.field}),this.$emit("closemenu")},currentFilterGroup(){return{...this.filterGroup,filters:this.filterGroup.filters.filter(e=>e.value!==void 0&&e.value!==null&&e.value!==""||e.value===null&&e.operator)}},submit(e){if(e.preventDefault(),!h.hasListener.call(this,"filterchange"))return;const r=this.$props.column.field,t=C(this.$props.filter),l=F(r,this.$props.filter),i=this.currentFilterGroup();let n=null;if(l&&i.filters.length>0){const c=t.filters.map(s=>s===l?i:s);n={...t,filters:c}}else if(i.filters.length===0){const c=t.filters.filter(s=>s!==l);c.length&&(n={...t,filters:c})}else n={...t,filters:[...t.filters,i]};this.$emit("filterchange",n,{event:e,field:this.$props.column.field}),this.$emit("closemenu")},handleFocus(e){this.$emit("filterfocus",e)}},setup(){return{kendoLocalizationService:o.inject("kendoLocalizationService",{})}},render(){let e,r;const{column:t,filterUI:l,hideSecondFilter:i,filterOperators:n}=this.$props;if(!t||!t.field)return o.createVNode("div",null,null);const c=t.filter||"text",s=_.provideLocalizationService(this),m=this.filterGroup.filters,g=f.operatorMap(n[c],s),v=f.operatorMap(f.booleanFilterValues,s),p={field:t.field,value:m[0].value,operator:m[0].operator,booleanValues:v,filterType:c},d={field:t.field,value:m[1].value,operator:m[1].operator,booleanValues:v,filterType:c},V=this.filterGroup.logic,$=f.operatorMap(f.filterLogicList,s),M={value:$.find(a=>a.operator===(V===null?"":V)),data:$},I=this.currentFilterGroup().filters.length!==0,T=this.isControlled()?this.$props.expanded:this.currentExpanded,q=p.field,B=p.value,b=p.operator,D=p.booleanValues,G=p.filterType,j=d.field,E=d.value,y=d.operator,z=d.booleanValues,x=d.filterType,H=l&&h.templateRendering.call(this,l,h.getListeners.call(this)),P=h.getTemplate.call(this,{h:o.h,template:H,defaultRendering:void 0,additionalProps:this.$props,additionalListeners:{change:this.filterChangeHandler,logicchange:this.logicChange}});return o.createVNode(w.ColumnMenuItemGroup,null,{default:()=>[o.createVNode(R.ColumnMenuItem,{title:s.toLanguageString(u.columnMenuFilterTitle,u.messages[u.columnMenuFilterTitle]),icon:"filter",svgIcon:Q.filterIcon,onMenuitemclick:this.onFilterExpand},null),o.createVNode(U.ColumnMenuItemContent,{show:!!T},{default:()=>[o.createVNode("div",{class:"kendo-grid-filter-menu-container"},[o.createVNode("form",{class:"k-filter-menu k-border-up",onSubmit:this.submit,onReset:this.clear},[o.createVNode("div",{class:"k-filter-menu-container"},[!l&&[o.createVNode(L.ColumnMenuFilterOperators,{operator:b,filterType:G,onChange:a=>{this.filterChangeHandler(a,0)},operators:g},null),o.createVNode(k.ColumnMenuFilterCell,{field:q,value:B,operator:b,booleanValues:D,filterType:G,onFiltercellfocus:this.handleFocus,onChange:a=>{this.filterChangeHandler(a,0)},operators:g},null)],!i&&!l&&[o.createVNode(K.DropDownList,{onChange:this.logicChange,class:"k-filter-and","data-items":M.data,value:M.value,textField:"text"},null),o.createVNode(L.ColumnMenuFilterOperators,{operator:y,filterType:x,onChange:a=>{this.filterChangeHandler(a,1)},operators:g},null),o.createVNode(k.ColumnMenuFilterCell,{field:j,value:E,operator:y,booleanValues:z,filterType:x,onFiltercellfocus:this.handleFocus,onChange:a=>{this.filterChangeHandler(a,1)},operators:g},null)],l&&P,o.createVNode("div",{class:"k-columnmenu-actions"},[o.createVNode(S.Button,{type:"reset"},N(e=s.toLanguageString(u.columnMenuFilterClearButton,u.messages[u.columnMenuFilterClearButton]))?e:{default:()=>[e]}),o.createVNode(S.Button,{themeColor:"primary",disabled:!I},N(r=s.toLanguageString(u.columnMenuFilterSubmitButton,u.messages[u.columnMenuFilterSubmitButton]))?r:{default:()=>[r]})])])])])]})]})}});exports.ColumnMenuFilter=A;exports.filterGroupByField=F;exports.rootFilterOrDefault=C;
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as K,
|
|
9
|
-
import {
|
|
8
|
+
import { defineComponent as K, createVNode as o, h as q, inject as A, isVNode as J } from "vue";
|
|
9
|
+
import { templateRendering as Q, getListeners as W, getTemplate as X, hasListener as S } from "@progress/kendo-vue-common";
|
|
10
10
|
import { isCompositeFilterDescriptor as L } from "@progress/kendo-data-query";
|
|
11
11
|
import { ColumnMenuItem as Y } from "./ColumnMenuItem.mjs";
|
|
12
12
|
import { ColumnMenuItemGroup as Z } from "./ColumnMenuItemGroup.mjs";
|
|
13
13
|
import { ColumnMenuItemContent as ee } from "./ColumnMenuItemContent.mjs";
|
|
14
14
|
import { Button as V } from "@progress/kendo-vue-buttons";
|
|
15
15
|
import { provideLocalizationService as te } from "@progress/kendo-vue-intl";
|
|
16
|
-
import { operators as re,
|
|
16
|
+
import { operators as re, operatorMap as h, booleanFilterValues as ie, filterLogicList as le, getFilterType as oe, getDefaultOperator as ne } from "../filterCommon.mjs";
|
|
17
17
|
import { columnMenuFilterTitle as T, messages as m, columnMenuFilterClearButton as M, columnMenuFilterSubmitButton as k } from "../messages/main.mjs";
|
|
18
18
|
import { ColumnMenuFilterCell as j } from "./ColumnMenuFilterCell.mjs";
|
|
19
19
|
import { ColumnMenuFilterOperators as I } from "./ColumnMenuFilterOperators.mjs";
|
|
@@ -63,7 +63,7 @@ const F = (e) => e || {
|
|
|
63
63
|
created() {
|
|
64
64
|
let e;
|
|
65
65
|
if (this.$props.column && this.$props.column.field) {
|
|
66
|
-
const r =
|
|
66
|
+
const r = oe(this.$props.column.filter), t = ne(this.$props.filterOperators, r);
|
|
67
67
|
e = g(this.$props.column.field, this.$props.filter), e = e ? {
|
|
68
68
|
...e,
|
|
69
69
|
filters: e.filters.map((i) => ({
|
|
@@ -186,7 +186,7 @@ const F = (e) => e || {
|
|
|
186
186
|
},
|
|
187
187
|
setup() {
|
|
188
188
|
return {
|
|
189
|
-
kendoLocalizationService:
|
|
189
|
+
kendoLocalizationService: A("kendoLocalizationService", {})
|
|
190
190
|
};
|
|
191
191
|
},
|
|
192
192
|
render() {
|
|
@@ -199,25 +199,23 @@ const F = (e) => e || {
|
|
|
199
199
|
} = this.$props;
|
|
200
200
|
if (!t || !t.field)
|
|
201
201
|
return o("div", null, null);
|
|
202
|
-
const u = t.filter || "text", s = te(this),
|
|
202
|
+
const u = t.filter || "text", s = te(this), c = this.filterGroup.filters, d = h(n[u], s), C = h(ie, s), f = {
|
|
203
203
|
field: t.field,
|
|
204
|
-
value:
|
|
205
|
-
operator:
|
|
206
|
-
operators: f,
|
|
204
|
+
value: c[0].value,
|
|
205
|
+
operator: c[0].operator,
|
|
207
206
|
booleanValues: C,
|
|
208
207
|
filterType: u
|
|
209
|
-
},
|
|
208
|
+
}, p = {
|
|
210
209
|
field: t.field,
|
|
211
|
-
value:
|
|
212
|
-
operator:
|
|
213
|
-
operators: f,
|
|
210
|
+
value: c[1].value,
|
|
211
|
+
operator: c[1].operator,
|
|
214
212
|
booleanValues: C,
|
|
215
213
|
filterType: u
|
|
216
|
-
}, v = this.filterGroup.logic, $ = h(
|
|
214
|
+
}, v = this.filterGroup.logic, $ = h(le, s), x = {
|
|
217
215
|
value: $.find((a) => a.operator === (v === null ? "" : v)),
|
|
218
216
|
data: $
|
|
219
|
-
}, D = this.currentFilterGroup().filters.length !== 0, E = this.isControlled() ? this.$props.expanded : this.currentExpanded, z =
|
|
220
|
-
h:
|
|
217
|
+
}, D = this.currentFilterGroup().filters.length !== 0, E = this.isControlled() ? this.$props.expanded : this.currentExpanded, z = f.field, H = f.value, G = f.operator, P = f.booleanValues, b = f.filterType, R = p.field, U = p.value, y = p.operator, _ = p.booleanValues, O = p.filterType, w = i && Q.call(this, i, W.call(this)), N = X.call(this, {
|
|
218
|
+
h: q,
|
|
221
219
|
template: w,
|
|
222
220
|
defaultRendering: void 0,
|
|
223
221
|
additionalProps: this.$props,
|
|
@@ -249,7 +247,7 @@ const F = (e) => e || {
|
|
|
249
247
|
onChange: (a) => {
|
|
250
248
|
this.filterChangeHandler(a, 0);
|
|
251
249
|
},
|
|
252
|
-
operators:
|
|
250
|
+
operators: d
|
|
253
251
|
}, null), o(j, {
|
|
254
252
|
field: z,
|
|
255
253
|
value: H,
|
|
@@ -260,7 +258,7 @@ const F = (e) => e || {
|
|
|
260
258
|
onChange: (a) => {
|
|
261
259
|
this.filterChangeHandler(a, 0);
|
|
262
260
|
},
|
|
263
|
-
operators:
|
|
261
|
+
operators: d
|
|
264
262
|
}, null)], !l && !i && [o(se, {
|
|
265
263
|
onChange: this.logicChange,
|
|
266
264
|
class: "k-filter-and",
|
|
@@ -273,7 +271,7 @@ const F = (e) => e || {
|
|
|
273
271
|
onChange: (a) => {
|
|
274
272
|
this.filterChangeHandler(a, 1);
|
|
275
273
|
},
|
|
276
|
-
operators:
|
|
274
|
+
operators: d
|
|
277
275
|
}, null), o(j, {
|
|
278
276
|
field: R,
|
|
279
277
|
value: U,
|
|
@@ -284,7 +282,7 @@ const F = (e) => e || {
|
|
|
284
282
|
onChange: (a) => {
|
|
285
283
|
this.filterChangeHandler(a, 1);
|
|
286
284
|
},
|
|
287
|
-
operators:
|
|
285
|
+
operators: d
|
|
288
286
|
}, null)], i && N, o("div", {
|
|
289
287
|
class: "k-columnmenu-actions"
|
|
290
288
|
}, [o(V, {
|
|
@@ -9,7 +9,7 @@ import { defineComponent as i, createVNode as r } from "vue";
|
|
|
9
9
|
import { DropDownList as a } from "@progress/kendo-vue-dropdowns";
|
|
10
10
|
import { NumericTextBox as u } from "@progress/kendo-vue-inputs";
|
|
11
11
|
import { DatePicker as s } from "@progress/kendo-vue-dateinputs";
|
|
12
|
-
import {
|
|
12
|
+
import { cellBoolDropdownChange as p, cellInputChange as h } from "../filterCommon.mjs";
|
|
13
13
|
const C = /* @__PURE__ */ i({
|
|
14
14
|
props: {
|
|
15
15
|
field: String,
|
|
@@ -31,11 +31,11 @@ const C = /* @__PURE__ */ i({
|
|
|
31
31
|
this.$emit("change", t);
|
|
32
32
|
},
|
|
33
33
|
inputChange(t, n) {
|
|
34
|
-
const o =
|
|
34
|
+
const o = h(t, n, this.$props);
|
|
35
35
|
this.triggerChange(o);
|
|
36
36
|
},
|
|
37
37
|
boolDropdownChange(t, n) {
|
|
38
|
-
const o =
|
|
38
|
+
const o = p(t.value.operator, n);
|
|
39
39
|
this.triggerChange(o);
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as s, createVNode as n } from "vue";
|
|
9
|
-
import {
|
|
9
|
+
import { Icon as c, Keys as m } from "@progress/kendo-vue-common";
|
|
10
10
|
const d = /* @__PURE__ */ s({
|
|
11
11
|
props: {
|
|
12
12
|
title: String,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as v,
|
|
8
|
+
import { defineComponent as v, createVNode as n, inject as C } from "vue";
|
|
9
9
|
import { ColumnMenuItem as a } from "./ColumnMenuItem.mjs";
|
|
10
10
|
import { ColumnMenuItemGroup as D } from "./ColumnMenuItemGroup.mjs";
|
|
11
11
|
import { normalize as k } from "../interfaces/SortSettings.mjs";
|