feather-k-demo-utils 0.1.0 → 0.1.2
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/DEMO-UTILS.md +11 -3
- package/README.md +7 -0
- package/lib/{DemoSelection.vue_vue_type_script_setup_true_lang-DaLhEeza.js → DemoSelection.vue_vue_type_script_setup_true_lang-DIdktGNu.js} +558 -494
- package/lib/components/DemoSelection.vue.d.ts +7 -5
- package/lib/components/demoSelectionQueryParam.d.ts +6 -0
- package/lib/components/index.es.js +1 -1
- package/lib/index.es.js +1 -1
- package/lib/utils/index.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as k, ref as K, computed as J, openBlock as G, createElementBlock as Y, withKeys as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as k, ref as K, computed as J, openBlock as G, createElementBlock as Y, withKeys as je, normalizeClass as we, createElementVNode as ee, toDisplayString as et, createCommentVNode as Se, useSlots as Ce, renderSlot as xe, withModifiers as qt, createVNode as d, h as x, Transition as Qt, isVNode as ce, inject as Ue, onMounted as Xt, watch as ve, unref as Le, Fragment as ei, withCtx as ti, createTextVNode as ii } from "vue";
|
|
2
|
+
const ni = ["aria-expanded"], si = { key: 0 }, oi = { key: 1 }, ai = { key: 2 }, Is = /* @__PURE__ */ k({
|
|
3
3
|
__name: "DemoStats",
|
|
4
4
|
props: {
|
|
5
5
|
publishDate: {},
|
|
@@ -16,11 +16,11 @@ const ei = ["aria-expanded"], ti = { key: 0 }, ii = { key: 1 }, ni = { key: 2 },
|
|
|
16
16
|
}));
|
|
17
17
|
return (o, a) => e.publishDate || e.version ? (G(), Y("div", {
|
|
18
18
|
key: 0,
|
|
19
|
-
class:
|
|
19
|
+
class: we(s.value),
|
|
20
20
|
role: "region",
|
|
21
21
|
"aria-label": "Demo Stats",
|
|
22
22
|
"aria-expanded": i.value,
|
|
23
|
-
onKeydown: a[0] || (a[0] =
|
|
23
|
+
onKeydown: a[0] || (a[0] = je((r) => i.value = !1, ["escape"]))
|
|
24
24
|
}, [
|
|
25
25
|
ee("button", {
|
|
26
26
|
class: "toggle-btn",
|
|
@@ -29,8 +29,8 @@ const ei = ["aria-expanded"], ti = { key: 0 }, ii = { key: 1 }, ni = { key: 2 },
|
|
|
29
29
|
type: "button",
|
|
30
30
|
tabindex: "0"
|
|
31
31
|
}, " 📊 "),
|
|
32
|
-
e.version ? (G(), Y("div",
|
|
33
|
-
e.publishDate ? (G(), Y("div",
|
|
32
|
+
e.version ? (G(), Y("div", si, "using @featherk/styles@" + et(e.version), 1)) : Se("", !0),
|
|
33
|
+
e.publishDate ? (G(), Y("div", oi, "Published: " + et(e.publishDate), 1)) : (G(), Y("div", ai, [...a[1] || (a[1] = [
|
|
34
34
|
ee("a", {
|
|
35
35
|
href: "https://github.com/NantHealth/feather-k-demo-utils/blob/integration/README.md",
|
|
36
36
|
target: "_blank",
|
|
@@ -38,9 +38,9 @@ const ei = ["aria-expanded"], ti = { key: 0 }, ii = { key: 1 }, ni = { key: 2 },
|
|
|
38
38
|
style: { "pointer-events": "auto !important" }
|
|
39
39
|
}, " Setup Publish Date ", -1)
|
|
40
40
|
])]))
|
|
41
|
-
], 42,
|
|
41
|
+
], 42, ni)) : Se("", !0);
|
|
42
42
|
}
|
|
43
|
-
}),
|
|
43
|
+
}), ri = ["aria-expanded"], li = ["inert"], Es = /* @__PURE__ */ k({
|
|
44
44
|
__name: "DemoDebug",
|
|
45
45
|
props: {
|
|
46
46
|
active: { type: Boolean }
|
|
@@ -55,11 +55,11 @@ const ei = ["aria-expanded"], ti = { key: 0 }, ii = { key: 1 }, ni = { key: 2 },
|
|
|
55
55
|
active: i.value
|
|
56
56
|
}));
|
|
57
57
|
return (r, l) => (G(), Y("div", {
|
|
58
|
-
class:
|
|
58
|
+
class: we(a.value),
|
|
59
59
|
role: "region",
|
|
60
60
|
"aria-label": "Demo Debug",
|
|
61
61
|
"aria-expanded": i.value,
|
|
62
|
-
onKeydown: l[0] || (l[0] =
|
|
62
|
+
onKeydown: l[0] || (l[0] = je((c) => i.value = !1, ["escape"]))
|
|
63
63
|
}, [
|
|
64
64
|
ee("button", {
|
|
65
65
|
class: "toggle-btn",
|
|
@@ -71,11 +71,11 @@ const ei = ["aria-expanded"], ti = { key: 0 }, ii = { key: 1 }, ni = { key: 2 },
|
|
|
71
71
|
ee("div", {
|
|
72
72
|
inert: !i.value
|
|
73
73
|
}, [
|
|
74
|
-
|
|
75
|
-
], 8,
|
|
76
|
-
], 42,
|
|
74
|
+
xe(r.$slots, "default")
|
|
75
|
+
], 8, li)
|
|
76
|
+
], 42, ri));
|
|
77
77
|
}
|
|
78
|
-
}),
|
|
78
|
+
}), di = ["aria-expanded"], ci = ["inert"], Ns = /* @__PURE__ */ k({
|
|
79
79
|
__name: "DemoSettings",
|
|
80
80
|
props: {
|
|
81
81
|
active: { type: Boolean }
|
|
@@ -90,26 +90,26 @@ const ei = ["aria-expanded"], ti = { key: 0 }, ii = { key: 1 }, ni = { key: 2 },
|
|
|
90
90
|
active: i.value
|
|
91
91
|
}));
|
|
92
92
|
return (r, l) => (G(), Y("div", {
|
|
93
|
-
class:
|
|
93
|
+
class: we(a.value),
|
|
94
94
|
role: "region",
|
|
95
95
|
"aria-label": "Demo Settings",
|
|
96
96
|
"aria-expanded": i.value,
|
|
97
|
-
onKeydown: l[0] || (l[0] =
|
|
97
|
+
onKeydown: l[0] || (l[0] = je((c) => i.value = !1, ["escape"]))
|
|
98
98
|
}, [
|
|
99
99
|
ee("button", {
|
|
100
100
|
class: "toggle-btn",
|
|
101
|
-
onClick:
|
|
101
|
+
onClick: qt(o, ["stop"]),
|
|
102
102
|
"aria-label": "Toggle Demo Settings",
|
|
103
103
|
tabindex: "0"
|
|
104
104
|
}, " ⚙️ "),
|
|
105
105
|
ee("div", {
|
|
106
106
|
inert: !i.value
|
|
107
107
|
}, [
|
|
108
|
-
|
|
109
|
-
], 8,
|
|
110
|
-
], 42,
|
|
108
|
+
xe(r.$slots, "default")
|
|
109
|
+
], 8, ci)
|
|
110
|
+
], 42, di));
|
|
111
111
|
}
|
|
112
|
-
}),
|
|
112
|
+
}), Os = /* @__PURE__ */ k({
|
|
113
113
|
__name: "DemoNotes",
|
|
114
114
|
setup(e) {
|
|
115
115
|
const t = Ce(), i = J(() => !!t.default && t.default({}).some((s) => s.children)), n = J(() => ({
|
|
@@ -118,22 +118,22 @@ const ei = ["aria-expanded"], ti = { key: 0 }, ii = { key: 1 }, ni = { key: 2 },
|
|
|
118
118
|
}));
|
|
119
119
|
return (s, o) => i.value ? (G(), Y("div", {
|
|
120
120
|
key: 0,
|
|
121
|
-
class:
|
|
121
|
+
class: we(n.value),
|
|
122
122
|
tabindex: "0"
|
|
123
123
|
}, [
|
|
124
|
-
|
|
125
|
-
], 2)) :
|
|
124
|
+
xe(s.$slots, "default")
|
|
125
|
+
], 2)) : Se("", !0);
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
|
-
const
|
|
129
|
-
const
|
|
128
|
+
const ft = (e) => typeof e == "object";
|
|
129
|
+
const A = (...e) => e.filter((t) => t !== !0 && !!t).map((t) => Array.isArray(t) ? A(...t) : ft(t) ? Object.keys(t).map((i, n) => t[n] || t[i] && i || null).filter((i) => i !== null).join(" ") : t).filter((t) => !!t).join(" ");
|
|
130
130
|
const ae = () => {
|
|
131
131
|
let e = "", t, i;
|
|
132
132
|
for (t = 0; t < 32; t++)
|
|
133
133
|
i = Math.random() * 16 | 0, (t === 8 || t === 12 || t === 16 || t === 20) && (e += "-"), e += (t === 12 ? 4 : t === 16 ? i & 3 | 8 : i).toString(16);
|
|
134
134
|
return e;
|
|
135
135
|
};
|
|
136
|
-
const
|
|
136
|
+
const w = {
|
|
137
137
|
enter: 13,
|
|
138
138
|
esc: 27,
|
|
139
139
|
space: 32,
|
|
@@ -144,7 +144,7 @@ const C = {
|
|
|
144
144
|
right: 39,
|
|
145
145
|
down: 40
|
|
146
146
|
};
|
|
147
|
-
const
|
|
147
|
+
const be = !!// from fbjs
|
|
148
148
|
(typeof window < "u" && window.document && window.document.createElement);
|
|
149
149
|
function re(e, t) {
|
|
150
150
|
return e[`${t}Ref`];
|
|
@@ -158,7 +158,7 @@ function M(e) {
|
|
|
158
158
|
const t = e.$slots.default;
|
|
159
159
|
return t && typeof t == "function" ? t() : t;
|
|
160
160
|
}
|
|
161
|
-
const
|
|
161
|
+
const tt = function() {
|
|
162
162
|
};
|
|
163
163
|
function T() {
|
|
164
164
|
const e = {};
|
|
@@ -174,9 +174,9 @@ function D(e, t) {
|
|
|
174
174
|
if (e.kt)
|
|
175
175
|
return e;
|
|
176
176
|
const i = this.$slots[e] || (e.toLowerCase ? this.$slots[e.toLowerCase()] : null);
|
|
177
|
-
return typeof e == "string" && i ? { kt: !0, type: "slot", render: i, listeners: t } : typeof e == "string" ||
|
|
177
|
+
return typeof e == "string" && i ? { kt: !0, type: "slot", render: i, listeners: t } : typeof e == "string" || ft(e) || typeof e == "function" && e.component ? { kt: !0, type: "component", render: e, listeners: t } : { kt: !0, type: "renderFunction", render: e, listeners: t };
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function _({
|
|
180
180
|
h: e,
|
|
181
181
|
template: t,
|
|
182
182
|
defaultRendering: i,
|
|
@@ -189,7 +189,7 @@ function P({
|
|
|
189
189
|
return i;
|
|
190
190
|
const r = i ? i.props : {}, l = {
|
|
191
191
|
...t.listeners,
|
|
192
|
-
...
|
|
192
|
+
...pi(o)
|
|
193
193
|
}, c = {
|
|
194
194
|
...r,
|
|
195
195
|
...s,
|
|
@@ -209,7 +209,7 @@ function P({
|
|
|
209
209
|
() => [n]
|
|
210
210
|
);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function pi(e) {
|
|
213
213
|
if (!e)
|
|
214
214
|
return e;
|
|
215
215
|
const t = {}, i = Object.keys(e);
|
|
@@ -219,7 +219,7 @@ function li(e) {
|
|
|
219
219
|
}
|
|
220
220
|
return t;
|
|
221
221
|
}
|
|
222
|
-
const
|
|
222
|
+
const ui = (e, t, i) => {
|
|
223
223
|
const n = typeof e == "string" ? parseInt(e) : e;
|
|
224
224
|
if (!Number.isNaN(n))
|
|
225
225
|
return n !== void 0 ? n : t ? i ? void 0 : -1 : 0;
|
|
@@ -228,17 +228,17 @@ var E;
|
|
|
228
228
|
(function(e) {
|
|
229
229
|
e.BLAZOR = "BLAZOR", e.DPL = "DPL", e.JM = "JM", e.KENDOUIANGULAR = "KENDOUIANGULAR", e.KENDOUICOMPLETE = "KENDOUICOMPLETE", e.KENDOUIMVC = "KENDOUIMVC", e.KENDOUIREACT = "KENDOUIREACT", e.KENDOUIVUE = "KENDOUIVUE", e.MAUI = "MAUI", e.RCAJAX = "RCAJAX", e.RCWF = "RCWF", e.RCWPF = "RCWPF", e.REPORTING = "REPORTING", e.REPORTSERVER = "REPORTSERVER", e.UIASPCORE = "UIASPCORE", e.UIXAM = "UIXAM", e.WINUI = "WINUI";
|
|
230
230
|
})(E || (E = {})), Object.freeze({ [E.BLAZOR]: "Telerik UI for Blazor", [E.DPL]: "Telerik Document Processing", [E.JM]: "Telerik JustMock", [E.KENDOUIANGULAR]: "Kendo UI for Angular", [E.KENDOUICOMPLETE]: "Kendo UI for jQuery", [E.KENDOUIMVC]: "Telerik UI for ASP.NET MVC", [E.KENDOUIREACT]: "KendoReact", [E.KENDOUIVUE]: "Kendo UI for Vue", [E.MAUI]: "Telerik UI for .NET MAUI", [E.RCAJAX]: "Telerik UI for ASP.NET AJAX", [E.RCWF]: "Telerik UI for WinForms", [E.RCWPF]: "Telerik UI for WPF", [E.REPORTING]: "Telerik Reporting", [E.REPORTSERVER]: "Telerik Report Server", [E.UIASPCORE]: "Telerik UI for ASP.NET Core", [E.UIXAM]: "Telerik UI for Xamarin", [E.WINUI]: "Telerik UI for WinUI" });
|
|
231
|
-
function
|
|
231
|
+
function Ke(e) {
|
|
232
232
|
return Math.floor(e.getTime() / 1e3);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function gt(e, t) {
|
|
235
235
|
const i = new Date(1e3 * e);
|
|
236
|
-
return i.setDate(i.getDate() + t),
|
|
236
|
+
return i.setDate(i.getDate() + t), Ke(i);
|
|
237
237
|
}
|
|
238
238
|
function ue() {
|
|
239
|
-
return
|
|
239
|
+
return Ke(/* @__PURE__ */ new Date());
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function vt(e) {
|
|
242
242
|
const t = (function(n) {
|
|
243
243
|
if (typeof atob == "function") return atob(n);
|
|
244
244
|
if (typeof Buffer == "function") return Buffer.from(n, "base64").toString("utf8");
|
|
@@ -247,8 +247,8 @@ function ft(e) {
|
|
|
247
247
|
for (let n = 0; n < t.length; n++) i[n] = t.charCodeAt(n);
|
|
248
248
|
return i;
|
|
249
249
|
}
|
|
250
|
-
function
|
|
251
|
-
return
|
|
250
|
+
function Fe(e) {
|
|
251
|
+
return vt(e.replace(/-/g, "+").replace(/_/g, "/"));
|
|
252
252
|
}
|
|
253
253
|
function se(e) {
|
|
254
254
|
return new Date(1e3 * e);
|
|
@@ -257,18 +257,18 @@ function X(e, t) {
|
|
|
257
257
|
const i = se(t);
|
|
258
258
|
return e > new Date(i.getFullYear(), i.getMonth(), i.getDate() + 1).getTime() / 1e3;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function hi(e, t) {
|
|
261
261
|
let i = [];
|
|
262
262
|
return e.licenses?.length > 0 ? i = e.licenses.map((n) => (function(s) {
|
|
263
|
-
const o = s.split(".")[1], a = String.fromCharCode(...
|
|
263
|
+
const o = s.split(".")[1], a = String.fromCharCode(...Fe(o));
|
|
264
264
|
return JSON.parse(a);
|
|
265
265
|
})(n)) : e.products?.length > 0 && (i = e.products.map((n) => ({ type: n.trial ? "trial" : "perpetual", code: n.code, expiration: n.licenseExpirationDate, licenseId: null, userId: e.userId }))), (function(n, s) {
|
|
266
266
|
const o = s.filter((a) => a.type !== "usage").filter((a) => n.productCode === a.code || n.redistributedBy?.includes(a.code) || n.productCodes?.includes(a.code)).sort((a, r) => r.expiration - a.expiration);
|
|
267
|
-
return o.find((a) => a.type === "subscription" && !X(ue(), a.expiration)) || o.find((a) => a.type === "perpetual" && !X(n.publishDate, a.expiration)) || o.find((a) => a.type === "subscription" && !X(
|
|
267
|
+
return o.find((a) => a.type === "subscription" && !X(ue(), a.expiration)) || o.find((a) => a.type === "perpetual" && !X(n.publishDate, a.expiration)) || o.find((a) => a.type === "subscription" && !X(gt(ue(), 10), a.expiration)) || o.find((a) => a.type === "trial" && !X(ue(), a.expiration)) || o.find((a) => a.type === "subscription") || o.find((a) => a.type === "perpetual") || o.find((a) => a.type === "trial");
|
|
268
268
|
})(t, i);
|
|
269
269
|
}
|
|
270
|
-
const
|
|
271
|
-
function
|
|
270
|
+
const yt = (e) => e.productCode || e.productCodes[0];
|
|
271
|
+
function mi(e, t, i, n) {
|
|
272
272
|
const s = "kendoLicensingMessage";
|
|
273
273
|
let o = () => {
|
|
274
274
|
};
|
|
@@ -283,7 +283,7 @@ function pi(e, t, i, n) {
|
|
|
283
283
|
}
|
|
284
284
|
return o;
|
|
285
285
|
}
|
|
286
|
-
const
|
|
286
|
+
const He = Object.freeze({ name: "key", content: `
|
|
287
287
|
<svg
|
|
288
288
|
width="32"
|
|
289
289
|
height="32"
|
|
@@ -309,7 +309,7 @@ const Ke = Object.freeze({ name: "key", content: `
|
|
|
309
309
|
fill="black"
|
|
310
310
|
/>
|
|
311
311
|
</svg>
|
|
312
|
-
` }),
|
|
312
|
+
` }), kt = Object.freeze({ name: "trial-tag", content: `
|
|
313
313
|
<svg
|
|
314
314
|
width="38"
|
|
315
315
|
height="38"
|
|
@@ -357,7 +357,7 @@ const Ke = Object.freeze({ name: "key", content: `
|
|
|
357
357
|
</clipPath>
|
|
358
358
|
</defs>
|
|
359
359
|
</svg>
|
|
360
|
-
` }),
|
|
360
|
+
` }), fi = Object.freeze({ name: "recurring-payment", content: `
|
|
361
361
|
<svg
|
|
362
362
|
width="32"
|
|
363
363
|
height="32"
|
|
@@ -392,51 +392,51 @@ const Ke = Object.freeze({ name: "key", content: `
|
|
|
392
392
|
/>
|
|
393
393
|
</svg>
|
|
394
394
|
` });
|
|
395
|
-
let
|
|
395
|
+
let gi = class {
|
|
396
396
|
constructor(t, i, n, s) {
|
|
397
|
-
this.productName = t, this.severity = "WARN", this.code = "TKL201", this.notificationIcon =
|
|
397
|
+
this.productName = t, this.severity = "WARN", this.code = "TKL201", this.notificationIcon = He, this.message = `No Telerik and Kendo UI License found.
|
|
398
398
|
To download a license key file, visit https://prgress.co/3PwQMKZ`, this.notificationMessage = `License key missing for ${t} v${n}. A license key is required for both paid and trial usage. Learn <a href="${s}">how to set up a license key</a>.`, this.notificationTitle = `License key missing for ${t} v${n}.`, this.notificationBody = "A license key is required for both paid and trial usage.", this.callToAction = { link: `https://www.telerik.com/download?utm_source=no_license_watermark&utm_campaign=${i.toLowerCase()}&utm_content=no_license_key_found`, message: "Start Free Trial" };
|
|
399
399
|
}
|
|
400
|
-
},
|
|
400
|
+
}, vi = class {
|
|
401
401
|
constructor(t, i, n, s) {
|
|
402
|
-
this.productName = t, this.severity = "WARN", this.code = "TKL202", this.notificationIcon =
|
|
402
|
+
this.productName = t, this.severity = "WARN", this.code = "TKL202", this.notificationIcon = He, this.message = `${t} is not listed in your current license file.
|
|
403
403
|
Learn more about ${t} licensing at ${s}`, this.notificationMessage = `No license found for ${t} v${n}. Access to the latest updates and support requires a <a href="${s}">valid license</a>.`, this.notificationTitle = `No license found for ${t} v${n}`, this.notificationBody = "To use this product and access updates and support you need to buy and install a valid license.", this.callToAction = { link: `https://www.telerik.com/purchase.aspx?utm_source=no_license_watermark&utm_campaign=${i.toLowerCase()}&utm_content=no_license_key_current_product`, message: "Buy Now" };
|
|
404
404
|
}
|
|
405
|
-
},
|
|
405
|
+
}, yi = class {
|
|
406
406
|
constructor(t, i, n, s) {
|
|
407
|
-
this.productName = t, this.severity = "WARN", this.code = "TKL203", this.notificationIcon =
|
|
407
|
+
this.productName = t, this.severity = "WARN", this.code = "TKL203", this.notificationIcon = kt, this.message = `Your trial has expired ${s} day(s) ago.
|
|
408
408
|
Thank you for trying out ${t}, we hope you enjoyed your trial period.
|
|
409
409
|
To continue using our product, consider upgrading to a commercial license: https://prgress.co/3C9mr1M`, this.notificationMessage = `Your trial license for ${t} v${n} has expired ${s} ago. To continue using our product, consider upgrading to a commercial license. Learn more about <a href="https://prgress.co/3PwQMdX">${t} licensing</a>.`, this.notificationTitle = `Your trial license for ${t} has expired.`, this.notificationBody = "To continue using the product you need to buy a subscription.", this.callToAction = { link: `https://www.telerik.com/purchase.aspx?utm_source=no_license_watermark&utm_campaign=${i.toLowerCase()}&utm_content=trial_expired`, message: "Buy Now" };
|
|
410
410
|
}
|
|
411
|
-
},
|
|
411
|
+
}, ki = class {
|
|
412
412
|
constructor(t, i, n, s, o, a) {
|
|
413
|
-
this.productName = t, this.severity = "WARN", this.code = "TKL204", this.notificationIcon =
|
|
413
|
+
this.productName = t, this.severity = "WARN", this.code = "TKL204", this.notificationIcon = He;
|
|
414
414
|
const r = s ? ` version ${s}` : "";
|
|
415
415
|
this.message = `Your current license has expired on ${n.toLocaleDateString()} and is not valid for ${t}${r}. The product was published on ${o.toLocaleDateString()}.
|
|
416
416
|
Renew your license at https://prgress.co/3Px9m5F`, this.notificationMessage = `Your license is not valid for ${t} v${s}. To continue using the product, install a <a href="${a}">valid license</a>. Renew <a href="https://prgress.co/3PwQNi1">your license</a> and download a new license key.`, this.notificationTitle = `Your license doesn't cover ${t} v${s}`, this.notificationBody = "To access the latest version and updates you need to renew your license.", this.callToAction = { link: `https://www.telerik.com/account/your-licenses?utm_source=no_license_watermark&utm_campaign=${i.toLowerCase()}&utm_content=perpertual_newer_version`, message: "Renew Now" };
|
|
417
417
|
}
|
|
418
|
-
},
|
|
418
|
+
}, bi = class {
|
|
419
419
|
constructor(t, i, n) {
|
|
420
|
-
this.productName = t, this.severity = "WARN", this.code = "TKL204", this.notificationIcon =
|
|
420
|
+
this.productName = t, this.severity = "WARN", this.code = "TKL204", this.notificationIcon = fi, this.message = `Your ${t} subscription has expired on ${n.toLocaleDateString()}. To continue using the product, please renew your subscription at https://prgress.co/3Px9m5F and download a new license key.`, this.notificationMessage = `Your ${t} subscription has expired. To continue using the product, please <a href="https://prgress.co/3PwQMut">renew your subscription</a> and download a new license key.`, this.notificationTitle = `Your ${t} subscription has expired.`, this.notificationBody = "To continue using the product you need to renew your subscription.", this.callToAction = { link: `https://www.telerik.com/account/your-licenses?utm_source=no_license_watermark&utm_campaign=${i.toLowerCase()}&utm_content=subscription_expired`, message: "Renew Now" };
|
|
421
421
|
}
|
|
422
|
-
},
|
|
422
|
+
}, $i = class {
|
|
423
423
|
constructor(t, i, n, s) {
|
|
424
|
-
this.productName = t, this.severity = "INFO", this.notificationIcon =
|
|
424
|
+
this.productName = t, this.severity = "INFO", this.notificationIcon = kt, this.message = `Your Trial license will expire in ${-s} day(s).
|
|
425
425
|
To acquire a commercial license, visit https://prgress.co/3PyHIoH`, this.notificationTitle = `Active trial for ${t} v${n}`, this.notificationBody = `Your trial will expire in ${-s} day(s).`, this.callToAction = { link: `https://www.telerik.com/purchase.aspx?utm_source=no_license_watermark&utm_campaign=${i.toLowerCase()}&utm_content=active_trial`, message: "Buy now" };
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
|
-
async function
|
|
428
|
+
async function Si(e, t) {
|
|
429
429
|
if (typeof crypto != "object" || typeof crypto.subtle != "object" || typeof TextEncoder != "function" || typeof TextDecoder != "function") return;
|
|
430
|
-
const i = crypto.subtle, [n, s, o] = e.split("."), a =
|
|
430
|
+
const i = crypto.subtle, [n, s, o] = e.split("."), a = Fe(o), r = new TextEncoder(), l = new TextDecoder(), c = r.encode(`${n}.${s}`), p = l.decode(Fe(n));
|
|
431
431
|
if (JSON.parse(p).typ !== "Telerik License Evidence") throw new Error("Unknown license evidence type");
|
|
432
432
|
const u = await (function(h) {
|
|
433
|
-
const m =
|
|
433
|
+
const m = vt(h.replace("-----BEGIN PUBLIC KEY-----", "").replace("-----END PUBLIC KEY-----", "").replace(/\n/gm, ""));
|
|
434
434
|
return crypto.subtle.importKey("spki", m, { name: "RSASSA-PKCS1-v1_5", hash: "SHA-256" }, !0, ["verify"]);
|
|
435
435
|
})(t);
|
|
436
436
|
if (!await i.verify(u.algorithm, u, a, c)) throw new Error("Invalid license evidence");
|
|
437
437
|
}
|
|
438
|
-
const Re = { data: ' {"products":[],"licenses":["eyJhbGciOiJSUzI1NiIsInR5cCI6IlRlbGVyaWsgTGljZW5zZSBFdmlkZW5jZSJ9.eyJjb2RlIjoiS0VORE9VSUFOR1VMQVIiLCJ0eXBlIjoicGVycGV0dWFsIiwiZXhwaXJhdGlvbiI6MTc3NTE1NjIwMiwidXNlcklkIjoiNjE0YzgxNWUtZjFhMy00OTU2LWI0MzUtOGVmNDQ5Y2I2MjFlIiwibGljZW5zZUlkIjoiNDY5Mjg4NWUtYWE0NC00YTcyLThkZWYtNmE5MjAwMGYxNjY4In0.M7aLFNieYnp9uylwmIyVFDNvPegC2fS4pRunHOS4awVKF33ACRYNMfSqnyHvRn5BHQX3GjZYOm-nV3h8mkK5RFjAyEL6X_0xVU5mB5BW843fndHHWHhKh2qlqXbgKIWEOZuPHyjA4gJ3GJfxVm1DiYIgyJqvQ_vZb7lFEmi-NYXTJDKqc8HY_Wl9T6uQ6sTl6hWvORkT4mq_WmbhMWmBop_IcCc-F4WQ9Js-dFIKcSELg7qyspCU0RiEL9CEvO0ta9IvG4Ob_Kh1YNR9UG6wW6QHnVzz_o2bqMwBiBPTNy4u8rqo7oJ4rIs_KrPrmpQ821RonJuzTlDNJH7gkcvqOg","eyJhbGciOiJSUzI1NiIsInR5cCI6IlRlbGVyaWsgTGljZW5zZSBFdmlkZW5jZSJ9.eyJjb2RlIjoiS0VORE9VSUNPTVBMRVRFIiwidHlwZSI6InBlcnBldHVhbCIsImV4cGlyYXRpb24iOjE3NzUxNTYyMDIsInVzZXJJZCI6IjYxNGM4MTVlLWYxYTMtNDk1Ni1iNDM1LThlZjQ0OWNiNjIxZSIsImxpY2Vuc2VJZCI6IjQ2OTI4ODVlLWFhNDQtNGE3Mi04ZGVmLTZhOTIwMDBmMTY2OCJ9.SOh4SdEMQmfNU3yN8uTSsVWPbDt9B78RnthK7Q0gf05PvP17oKdg96IS71sl2pYtBJwLcoHD2KHy7j5S27kGEJ0Uv5uTYanyV55-sGInl0bdXYZvbZelybDttAkyIlTVJwucGMObXR-nMXttXtY4dZbnO53B-SvLq0ZtNGP9K81LuyFWpE4T3US-qfhm6MOwi2YZmD_8LUdA641FxIKOunLTkHDGG5fztxSAgjhnknM-nn6kfqMltmdTFrgw2olpMtkzF6P2j-I9a0KEnCutzRO_iu--4b0eFt1o1l_Vfdy7mTzsFmSS58VVFeqNxUkhTd0dJFre6r_O2xdditlxVA","eyJhbGciOiJSUzI1NiIsInR5cCI6IlRlbGVyaWsgTGljZW5zZSBFdmlkZW5jZSJ9.eyJjb2RlIjoiS0VORE9VSVJFQUNUIiwidHlwZSI6InBlcnBldHVhbCIsImV4cGlyYXRpb24iOjE3NzUxNTYyMDIsInVzZXJJZCI6IjYxNGM4MTVlLWYxYTMtNDk1Ni1iNDM1LThlZjQ0OWNiNjIxZSIsImxpY2Vuc2VJZCI6IjQ2OTI4ODVlLWFhNDQtNGE3Mi04ZGVmLTZhOTIwMDBmMTY2OCJ9.xDFN7RszBHM_uEfhXOP2IDom61swE5KPndypBtZ18_AfFoxFET8hUBEs-C-0HI-Z29dMnSf6ZyjUK2YQQSDs_KcTQNooz2PmjzTvcaTaZ_FCHTR4gnp8WHaSBhw62LOJj3jp_t9geTAfpklHQSPlR8KoYyHOabH5afTuqH2P65GmgbkOJ6HPVIo2n9d7xYKM_kcbHfdemfkuyZ4SDuGAkulX74WmuO8_ytjcZX08aMtwlqJ57LDnmh0r5ze9SmHw9v0UBnMVtd792wQWpB_mJZExG3p0x2dnBdek5Sk3yuJfze7m2XAM3RATcpuitqzDcdLYzFqJYLySmSknQQKrFA","eyJhbGciOiJSUzI1NiIsInR5cCI6IlRlbGVyaWsgTGljZW5zZSBFdmlkZW5jZSJ9.eyJjb2RlIjoiS0VORE9VSVZVRSIsInR5cGUiOiJwZXJwZXR1YWwiLCJleHBpcmF0aW9uIjoxNzc1MTU2MjAyLCJ1c2VySWQiOiI2MTRjODE1ZS1mMWEzLTQ5NTYtYjQzNS04ZWY0NDljYjYyMWUiLCJsaWNlbnNlSWQiOiI0NjkyODg1ZS1hYTQ0LTRhNzItOGRlZi02YTkyMDAwZjE2NjgifQ.en1NSvU_wEmz27oasEjehTE3359G2RNDDfL8x4leEa3hN55zKE5SR4VRiu65aXfWvZJyHbVwegjWSagGlun9ayVR8IYtisiTvoGUJWGjWdEFIoNCrkqpU5IjqXLI01uoCb9Fk3ZqqYUJOFy2h_z3RcF5siVc_1k3DMaoTnOLISoPWCXPJlD1w9146-WWSouSUhibWgnD2P_8QRiwss5-FBxS4Xa0WfsodbBuskq1xkodCYrhuGaoOoE_Wi80yccTOfQ8yre1g0mdhoMC0MF_Kq_5cEtP32IVss8ICsPloKIObv2X4T_gOxMBfujQqPiSM8Ds6kCIWt7Tc1Bay_AZrg"],"userId":"614c815e-f1a3-4956-b435-8ef449cb621e","integrity":"+Oowb7TwtITEcEwHQhseFg5OYfRX1hIvQXMdWKIxt9E=","scriptKey":false,"timestamp":1780003393} ' },
|
|
439
|
-
function
|
|
438
|
+
const Re = { data: ' {"products":[],"licenses":["eyJhbGciOiJSUzI1NiIsInR5cCI6IlRlbGVyaWsgTGljZW5zZSBFdmlkZW5jZSJ9.eyJjb2RlIjoiS0VORE9VSUFOR1VMQVIiLCJ0eXBlIjoicGVycGV0dWFsIiwiZXhwaXJhdGlvbiI6MTc3NTE1NjIwMiwidXNlcklkIjoiNjE0YzgxNWUtZjFhMy00OTU2LWI0MzUtOGVmNDQ5Y2I2MjFlIiwibGljZW5zZUlkIjoiNDY5Mjg4NWUtYWE0NC00YTcyLThkZWYtNmE5MjAwMGYxNjY4In0.M7aLFNieYnp9uylwmIyVFDNvPegC2fS4pRunHOS4awVKF33ACRYNMfSqnyHvRn5BHQX3GjZYOm-nV3h8mkK5RFjAyEL6X_0xVU5mB5BW843fndHHWHhKh2qlqXbgKIWEOZuPHyjA4gJ3GJfxVm1DiYIgyJqvQ_vZb7lFEmi-NYXTJDKqc8HY_Wl9T6uQ6sTl6hWvORkT4mq_WmbhMWmBop_IcCc-F4WQ9Js-dFIKcSELg7qyspCU0RiEL9CEvO0ta9IvG4Ob_Kh1YNR9UG6wW6QHnVzz_o2bqMwBiBPTNy4u8rqo7oJ4rIs_KrPrmpQ821RonJuzTlDNJH7gkcvqOg","eyJhbGciOiJSUzI1NiIsInR5cCI6IlRlbGVyaWsgTGljZW5zZSBFdmlkZW5jZSJ9.eyJjb2RlIjoiS0VORE9VSUNPTVBMRVRFIiwidHlwZSI6InBlcnBldHVhbCIsImV4cGlyYXRpb24iOjE3NzUxNTYyMDIsInVzZXJJZCI6IjYxNGM4MTVlLWYxYTMtNDk1Ni1iNDM1LThlZjQ0OWNiNjIxZSIsImxpY2Vuc2VJZCI6IjQ2OTI4ODVlLWFhNDQtNGE3Mi04ZGVmLTZhOTIwMDBmMTY2OCJ9.SOh4SdEMQmfNU3yN8uTSsVWPbDt9B78RnthK7Q0gf05PvP17oKdg96IS71sl2pYtBJwLcoHD2KHy7j5S27kGEJ0Uv5uTYanyV55-sGInl0bdXYZvbZelybDttAkyIlTVJwucGMObXR-nMXttXtY4dZbnO53B-SvLq0ZtNGP9K81LuyFWpE4T3US-qfhm6MOwi2YZmD_8LUdA641FxIKOunLTkHDGG5fztxSAgjhnknM-nn6kfqMltmdTFrgw2olpMtkzF6P2j-I9a0KEnCutzRO_iu--4b0eFt1o1l_Vfdy7mTzsFmSS58VVFeqNxUkhTd0dJFre6r_O2xdditlxVA","eyJhbGciOiJSUzI1NiIsInR5cCI6IlRlbGVyaWsgTGljZW5zZSBFdmlkZW5jZSJ9.eyJjb2RlIjoiS0VORE9VSVJFQUNUIiwidHlwZSI6InBlcnBldHVhbCIsImV4cGlyYXRpb24iOjE3NzUxNTYyMDIsInVzZXJJZCI6IjYxNGM4MTVlLWYxYTMtNDk1Ni1iNDM1LThlZjQ0OWNiNjIxZSIsImxpY2Vuc2VJZCI6IjQ2OTI4ODVlLWFhNDQtNGE3Mi04ZGVmLTZhOTIwMDBmMTY2OCJ9.xDFN7RszBHM_uEfhXOP2IDom61swE5KPndypBtZ18_AfFoxFET8hUBEs-C-0HI-Z29dMnSf6ZyjUK2YQQSDs_KcTQNooz2PmjzTvcaTaZ_FCHTR4gnp8WHaSBhw62LOJj3jp_t9geTAfpklHQSPlR8KoYyHOabH5afTuqH2P65GmgbkOJ6HPVIo2n9d7xYKM_kcbHfdemfkuyZ4SDuGAkulX74WmuO8_ytjcZX08aMtwlqJ57LDnmh0r5ze9SmHw9v0UBnMVtd792wQWpB_mJZExG3p0x2dnBdek5Sk3yuJfze7m2XAM3RATcpuitqzDcdLYzFqJYLySmSknQQKrFA","eyJhbGciOiJSUzI1NiIsInR5cCI6IlRlbGVyaWsgTGljZW5zZSBFdmlkZW5jZSJ9.eyJjb2RlIjoiS0VORE9VSVZVRSIsInR5cGUiOiJwZXJwZXR1YWwiLCJleHBpcmF0aW9uIjoxNzc1MTU2MjAyLCJ1c2VySWQiOiI2MTRjODE1ZS1mMWEzLTQ5NTYtYjQzNS04ZWY0NDljYjYyMWUiLCJsaWNlbnNlSWQiOiI0NjkyODg1ZS1hYTQ0LTRhNzItOGRlZi02YTkyMDAwZjE2NjgifQ.en1NSvU_wEmz27oasEjehTE3359G2RNDDfL8x4leEa3hN55zKE5SR4VRiu65aXfWvZJyHbVwegjWSagGlun9ayVR8IYtisiTvoGUJWGjWdEFIoNCrkqpU5IjqXLI01uoCb9Fk3ZqqYUJOFy2h_z3RcF5siVc_1k3DMaoTnOLISoPWCXPJlD1w9146-WWSouSUhibWgnD2P_8QRiwss5-FBxS4Xa0WfsodbBuskq1xkodCYrhuGaoOoE_Wi80yccTOfQ8yre1g0mdhoMC0MF_Kq_5cEtP32IVss8ICsPloKIObv2X4T_gOxMBfujQqPiSM8Ds6kCIWt7Tc1Bay_AZrg"],"userId":"614c815e-f1a3-4956-b435-8ef449cb621e","integrity":"+Oowb7TwtITEcEwHQhseFg5OYfRX1hIvQXMdWKIxt9E=","scriptKey":false,"timestamp":1780003393} ' }, $e = /* @__PURE__ */ new Map(), it = /* @__PURE__ */ new Set();
|
|
439
|
+
function wi(e) {
|
|
440
440
|
try {
|
|
441
441
|
const t = JSON.parse((function(n) {
|
|
442
442
|
const s = [], o = n.trim();
|
|
@@ -461,11 +461,11 @@ function bi(e) {
|
|
|
461
461
|
} catch {
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
let
|
|
465
|
-
function
|
|
466
|
-
const t = JSON.parse(Re.data), i = !t.scriptKey && !t.timestamp, n = t.scriptKey && typeof KendoLicensing > "u", s =
|
|
464
|
+
let Te = !0;
|
|
465
|
+
function bt(e) {
|
|
466
|
+
const t = JSON.parse(Re.data), i = !t.scriptKey && !t.timestamp, n = t.scriptKey && typeof KendoLicensing > "u", s = yt(e);
|
|
467
467
|
let o, a, r = !1;
|
|
468
|
-
if (i || n || !((p) => (p.licenses?.length > 0 && Promise.all(p.licenses?.map((u) =>
|
|
468
|
+
if (i || n || !((p) => (p.licenses?.length > 0 && Promise.all(p.licenses?.map((u) => Si(u, `-----BEGIN PUBLIC KEY-----
|
|
469
469
|
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2mnUVMmkth2x+N/ODszG
|
|
470
470
|
OFIYBL6NOO1XWRj1wkmecKuLziJDhFz0WQmyOjY34Ymg9pLuBA9QSWrrZuvPw40N
|
|
471
471
|
m0X/GBmttFmPNvca3WmJ2oKM7PpLiUU9f7Ov5WeIXnx++ts/LC/OB7FtZ+LiRgJ7
|
|
@@ -474,49 +474,49 @@ kAUUk4IBF67DufRt9zQyRxg99ysakvHX2SDbdGvIBdxWxvhhmrBoeix0uSVtG2gm
|
|
|
474
474
|
jdvSqlPJVdvMbk1Xe2+SUldJPrxH1VrTYeRUt4yqWxy16nFJUDj9exZ202X4THkU
|
|
475
475
|
JQIDAQAB
|
|
476
476
|
-----END PUBLIC KEY-----`))).then(() => {
|
|
477
|
-
|
|
477
|
+
Te = !0;
|
|
478
478
|
}).catch(() => {
|
|
479
|
-
|
|
480
|
-
}),
|
|
481
|
-
else if (a =
|
|
479
|
+
Te = !1, $e.clear();
|
|
480
|
+
}), Te))(t)) o = new gi(e.productName, s, e.version, e.licensingDocsUrl);
|
|
481
|
+
else if (a = hi(t, e), a) {
|
|
482
482
|
if (a.type === "trial") {
|
|
483
483
|
const p = (function(u) {
|
|
484
|
-
const h = ue() -
|
|
484
|
+
const h = ue() - Ke(u);
|
|
485
485
|
return Math.floor(h / 86400);
|
|
486
486
|
})(se(a.expiration));
|
|
487
|
-
X(ue(), a.expiration) ? o = new
|
|
487
|
+
X(ue(), a.expiration) ? o = new yi(e.productName, s, e.version, p) : (o = new $i(e.productName, s, e.version, p), r = !0);
|
|
488
488
|
} else if (a.type === "perpetual") {
|
|
489
489
|
const p = a.expiration;
|
|
490
|
-
X(e.publishDate, p) ? o = new
|
|
490
|
+
X(e.publishDate, p) ? o = new ki(e.productName, s, se(a.expiration), e.version, se(e.publishDate), e.licensingDocsUrl) : r = !0;
|
|
491
491
|
} else if (a.type === "subscription") {
|
|
492
492
|
let p = a.expiration;
|
|
493
|
-
a.type === "subscription" && (p =
|
|
493
|
+
a.type === "subscription" && (p = gt(p, 10)), t.timestamp && X(t.timestamp, p) ? o = new bi(e.productName, s, se(a.expiration)) : r = !0;
|
|
494
494
|
}
|
|
495
|
-
} else o = new
|
|
495
|
+
} else o = new vi(e.productName, s, e.version, e.licensingDocsUrl);
|
|
496
496
|
const l = a, c = l?.expiration ? se(l.expiration) : void 0;
|
|
497
497
|
return { isLicenseValid: r, licenseType: a?.type, licenseProductCode: l?.code, expiration: c, message: o };
|
|
498
498
|
}
|
|
499
|
-
function
|
|
500
|
-
if (
|
|
501
|
-
const { isLicenseValid: t, message: i } =
|
|
502
|
-
return i && !
|
|
499
|
+
function Ci(e) {
|
|
500
|
+
if ($e.has(e.name)) return $e.get(e.name);
|
|
501
|
+
const { isLicenseValid: t, message: i } = bt(e), n = yt(e);
|
|
502
|
+
return i && !it.has(n) && ((function(s, o) {
|
|
503
503
|
if (typeof console == "object") {
|
|
504
504
|
const a = `[${s.severity}][Telerik and Kendo UI Licensing] ${o.productName}`, r = typeof console.group == "function";
|
|
505
505
|
r ? console.group(a) : console.warn(a), console.warn(s.message), r && console.groupEnd();
|
|
506
506
|
}
|
|
507
|
-
})(i, e),
|
|
507
|
+
})(i, e), it.add(n)), $e.set(e.name, t), t;
|
|
508
508
|
}
|
|
509
|
-
const
|
|
509
|
+
const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
510
510
|
__proto__: null,
|
|
511
|
-
getLicenseStatus:
|
|
512
|
-
registerLicenseMessage:
|
|
513
|
-
setScriptKey:
|
|
514
|
-
validatePackage:
|
|
511
|
+
getLicenseStatus: bt,
|
|
512
|
+
registerLicenseMessage: mi,
|
|
513
|
+
setScriptKey: wi,
|
|
514
|
+
validatePackage: Ci
|
|
515
515
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
516
|
-
const
|
|
516
|
+
const ye = xi, De = typeof ye < "u" && ye.validatePackage ? ye : ye.default;
|
|
517
517
|
function q(e) {
|
|
518
|
-
if (
|
|
519
|
-
|
|
518
|
+
if (De && De.validatePackage)
|
|
519
|
+
De.validatePackage(e);
|
|
520
520
|
else {
|
|
521
521
|
let t = `License activation failed for ${e.name}
|
|
522
522
|
`;
|
|
@@ -537,7 +537,7 @@ const le = {
|
|
|
537
537
|
large: "lg"
|
|
538
538
|
}
|
|
539
539
|
};
|
|
540
|
-
const
|
|
540
|
+
const $t = {
|
|
541
541
|
default: "",
|
|
542
542
|
xsmall: "k-icon-xs",
|
|
543
543
|
small: "k-icon-sm",
|
|
@@ -547,7 +547,7 @@ const kt = {
|
|
|
547
547
|
xxlarge: "k-icon-xxl",
|
|
548
548
|
xxxlarge: "k-icon-xxxl"
|
|
549
549
|
};
|
|
550
|
-
const
|
|
550
|
+
const Ii = /* @__PURE__ */ k({
|
|
551
551
|
name: "KendoFontIcon",
|
|
552
552
|
emits: {
|
|
553
553
|
click: null
|
|
@@ -583,7 +583,7 @@ const Ci = /* @__PURE__ */ k({
|
|
|
583
583
|
["k-color-" + n]: n,
|
|
584
584
|
"k-flip-h": t === "horizontal" || t === "both",
|
|
585
585
|
"k-flip-v": t === "vertical" || t === "both",
|
|
586
|
-
[
|
|
586
|
+
[$t[i]]: i
|
|
587
587
|
};
|
|
588
588
|
}
|
|
589
589
|
},
|
|
@@ -610,7 +610,7 @@ const Ci = /* @__PURE__ */ k({
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
});
|
|
613
|
-
const
|
|
613
|
+
const Ei = /* @__PURE__ */ k({
|
|
614
614
|
name: "KendoSvgIcon",
|
|
615
615
|
emits: {
|
|
616
616
|
click: null
|
|
@@ -653,7 +653,7 @@ const wi = /* @__PURE__ */ k({
|
|
|
653
653
|
["k-svg-i-" + e]: e,
|
|
654
654
|
"k-flip-h": t === "horizontal" || t === "both",
|
|
655
655
|
"k-flip-v": t === "vertical" || t === "both",
|
|
656
|
-
[
|
|
656
|
+
[$t[i]]: i
|
|
657
657
|
};
|
|
658
658
|
}
|
|
659
659
|
},
|
|
@@ -751,11 +751,11 @@ const W = /* @__PURE__ */ k({
|
|
|
751
751
|
title: l,
|
|
752
752
|
ariaLabel: c,
|
|
753
753
|
role: p
|
|
754
|
-
}, b = x(
|
|
754
|
+
}, b = x(Ii, {
|
|
755
755
|
...v,
|
|
756
756
|
name: y,
|
|
757
757
|
onClick: this.handleClick
|
|
758
|
-
}), I = x(
|
|
758
|
+
}), I = x(Ei, {
|
|
759
759
|
...v,
|
|
760
760
|
icon: u,
|
|
761
761
|
viewBox: a,
|
|
@@ -770,7 +770,7 @@ const W = /* @__PURE__ */ k({
|
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
|
-
const
|
|
773
|
+
const Ni = [
|
|
774
774
|
"input:not([disabled]):not([type=hidden])",
|
|
775
775
|
"select:not([disabled])",
|
|
776
776
|
"textarea:not([disabled])",
|
|
@@ -785,7 +785,7 @@ const xi = [
|
|
|
785
785
|
"video[controls]",
|
|
786
786
|
"[contenteditable]"
|
|
787
787
|
];
|
|
788
|
-
let
|
|
788
|
+
let Oi = class {
|
|
789
789
|
constructor(t) {
|
|
790
790
|
this.rovingTabIndex = !0, this.update = () => {
|
|
791
791
|
}, this.focusNextIndex = (i, n) => {
|
|
@@ -825,12 +825,12 @@ let Ii = class {
|
|
|
825
825
|
t && (i && (this.rovingTabIndex && i.removeAttribute("tabindex"), i.classList.remove("k-focus")), this.rovingTabIndex && t.setAttribute("tabindex", String(this.tabIndex)), t.focus({ preventScroll: !0 }));
|
|
826
826
|
}
|
|
827
827
|
};
|
|
828
|
-
const
|
|
828
|
+
const Li = {
|
|
829
829
|
button: "k-button"
|
|
830
|
-
},
|
|
831
|
-
styles:
|
|
830
|
+
}, Ti = {
|
|
831
|
+
styles: Li
|
|
832
832
|
};
|
|
833
|
-
const
|
|
833
|
+
const Di = {
|
|
834
834
|
name: "@progress/kendo-vue-buttons",
|
|
835
835
|
productName: "Kendo UI for Vue",
|
|
836
836
|
productCode: "KENDOUIVUE",
|
|
@@ -839,7 +839,7 @@ const Oi = {
|
|
|
839
839
|
version: "6.4.1",
|
|
840
840
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
841
841
|
};
|
|
842
|
-
const
|
|
842
|
+
const Mi = Ti.styles, nt = /* @__PURE__ */ k({
|
|
843
843
|
name: "KendoButton",
|
|
844
844
|
emits: {
|
|
845
845
|
click: null,
|
|
@@ -913,7 +913,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
913
913
|
role: String
|
|
914
914
|
},
|
|
915
915
|
created() {
|
|
916
|
-
q(
|
|
916
|
+
q(Di), this.currentActive = this.$props.togglable === !0 && this.$props.selected === !0, this._activeTemp = void 0;
|
|
917
917
|
},
|
|
918
918
|
data() {
|
|
919
919
|
return {
|
|
@@ -939,7 +939,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
939
939
|
themeColor: p
|
|
940
940
|
} = this.$props, u = o !== void 0 || t !== void 0 || i !== void 0 || n !== void 0, h = M(this);
|
|
941
941
|
return {
|
|
942
|
-
[
|
|
942
|
+
[Mi.button]: !0,
|
|
943
943
|
[`k-button-${le.sizeMap[a] || a}`]: a,
|
|
944
944
|
[`k-button-${r}`]: r && r !== "rectangle",
|
|
945
945
|
[`k-rounded-${le.roundedMap[l] || l}`]: l,
|
|
@@ -1019,7 +1019,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
1019
1019
|
src: s
|
|
1020
1020
|
}, null);
|
|
1021
1021
|
if (t || i) {
|
|
1022
|
-
const f =
|
|
1022
|
+
const f = A("k-button-icon", n);
|
|
1023
1023
|
return d(W, {
|
|
1024
1024
|
name: t,
|
|
1025
1025
|
icon: i,
|
|
@@ -1057,7 +1057,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
1057
1057
|
class: "k-button-text"
|
|
1058
1058
|
}, [h])]);
|
|
1059
1059
|
}
|
|
1060
|
-
}),
|
|
1060
|
+
}), Vi = {
|
|
1061
1061
|
name: "caret-alt-down",
|
|
1062
1062
|
content: '<path d="M256 352 128 160h256z" />',
|
|
1063
1063
|
viewBox: "0 0 512 512",
|
|
@@ -1066,7 +1066,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
1066
1066
|
outline: "",
|
|
1067
1067
|
duotone: ""
|
|
1068
1068
|
}
|
|
1069
|
-
},
|
|
1069
|
+
}, Pi = {
|
|
1070
1070
|
name: "check",
|
|
1071
1071
|
content: '<path d="M434.7 82.7 480 128 192 416 32 256l45.3-45.3L192 325.5z" />',
|
|
1072
1072
|
viewBox: "0 0 512 512",
|
|
@@ -1075,7 +1075,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
1075
1075
|
outline: "",
|
|
1076
1076
|
duotone: ""
|
|
1077
1077
|
}
|
|
1078
|
-
},
|
|
1078
|
+
}, St = {
|
|
1079
1079
|
name: "x",
|
|
1080
1080
|
content: '<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96z" />',
|
|
1081
1081
|
viewBox: "0 0 512 512",
|
|
@@ -1084,7 +1084,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
1084
1084
|
outline: "",
|
|
1085
1085
|
duotone: ""
|
|
1086
1086
|
}
|
|
1087
|
-
},
|
|
1087
|
+
}, Fi = {
|
|
1088
1088
|
name: "search",
|
|
1089
1089
|
content: '<path d="M365.3 320h-22.7l-26.7-26.7C338.5 265.7 352 230.4 352 192c0-88.4-71.6-160-160-160S32 103.6 32 192s71.6 160 160 160c38.4 0 73.7-13.5 101.3-36.1l26.7 26.7v22.7L434.7 480l45.3-45.3zM64 192c0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128S64 262.7 64 192" />',
|
|
1090
1090
|
viewBox: "0 0 512 512",
|
|
@@ -1093,7 +1093,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
1093
1093
|
outline: "",
|
|
1094
1094
|
duotone: ""
|
|
1095
1095
|
}
|
|
1096
|
-
},
|
|
1096
|
+
}, Ri = {
|
|
1097
1097
|
name: "exclamation-circle",
|
|
1098
1098
|
content: '<path d="M224 128h64v160h-64zm0 256h64v-64h-64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224m-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192" />',
|
|
1099
1099
|
viewBox: "0 0 512 512",
|
|
@@ -1103,7 +1103,7 @@ const Li = Ni.styles, it = /* @__PURE__ */ k({
|
|
|
1103
1103
|
duotone: ""
|
|
1104
1104
|
}
|
|
1105
1105
|
};
|
|
1106
|
-
const
|
|
1106
|
+
const Ai = {
|
|
1107
1107
|
"animation-container": "k-animation-container",
|
|
1108
1108
|
"animation-container-relative": "k-animation-container-relative",
|
|
1109
1109
|
"animation-container-fixed": "k-animation-container-fixed",
|
|
@@ -1202,10 +1202,10 @@ const Vi = {
|
|
|
1202
1202
|
"reveal-horizontal-appear-active": "k-reveal-horizontal-appear-active",
|
|
1203
1203
|
"reveal-horizontal-exit": "k-reveal-horizontal-exit",
|
|
1204
1204
|
"reveal-horizontal-exit-active": "k-reveal-horizontal-exit-active"
|
|
1205
|
-
},
|
|
1206
|
-
styles:
|
|
1205
|
+
}, wt = {
|
|
1206
|
+
styles: Ai
|
|
1207
1207
|
};
|
|
1208
|
-
const Q =
|
|
1208
|
+
const Q = wt.styles, _i = /* @__PURE__ */ k({
|
|
1209
1209
|
props: {
|
|
1210
1210
|
in: Boolean,
|
|
1211
1211
|
transitionName: {
|
|
@@ -1313,9 +1313,9 @@ const Q = $t.styles, Ri = /* @__PURE__ */ k({
|
|
|
1313
1313
|
animationExitingStyle: h,
|
|
1314
1314
|
animationExitedStyle: m,
|
|
1315
1315
|
...f
|
|
1316
|
-
} = this.$props, y = M(this), v = e, b =
|
|
1316
|
+
} = this.$props, y = M(this), v = e, b = Qt, I = [r, Q["child-animation-container"]];
|
|
1317
1317
|
let g = t ? s : 0, $ = i ? o : 0;
|
|
1318
|
-
const
|
|
1318
|
+
const V = {
|
|
1319
1319
|
transitionDelay: "0ms",
|
|
1320
1320
|
transitionDuration: v ? `${g}ms` : `${$}ms`,
|
|
1321
1321
|
...this.$props.transitionStyle
|
|
@@ -1335,8 +1335,8 @@ const Q = $t.styles, Ri = /* @__PURE__ */ k({
|
|
|
1335
1335
|
...m
|
|
1336
1336
|
}
|
|
1337
1337
|
};
|
|
1338
|
-
let S = [
|
|
1339
|
-
const
|
|
1338
|
+
let S = [V, z[this.animationStep]];
|
|
1339
|
+
const P = {
|
|
1340
1340
|
enter: g,
|
|
1341
1341
|
leave: $
|
|
1342
1342
|
}, O = [v ? x("div", {
|
|
@@ -1347,7 +1347,7 @@ const Q = $t.styles, Ri = /* @__PURE__ */ k({
|
|
|
1347
1347
|
}
|
|
1348
1348
|
}, [y]) : null];
|
|
1349
1349
|
return x(b, {
|
|
1350
|
-
duration:
|
|
1350
|
+
duration: P,
|
|
1351
1351
|
name: n,
|
|
1352
1352
|
appear: e,
|
|
1353
1353
|
appearFromClass: Q[`${n}-appear`] || `${n}-appear`,
|
|
@@ -1365,7 +1365,7 @@ const Q = $t.styles, Ri = /* @__PURE__ */ k({
|
|
|
1365
1365
|
}, () => O);
|
|
1366
1366
|
}
|
|
1367
1367
|
});
|
|
1368
|
-
const
|
|
1368
|
+
const zi = {
|
|
1369
1369
|
name: "@progress/kendo-vue-animation",
|
|
1370
1370
|
productName: "Kendo UI for Vue",
|
|
1371
1371
|
productCode: "KENDOUIVUE",
|
|
@@ -1374,10 +1374,10 @@ const Ai = {
|
|
|
1374
1374
|
version: "6.4.1",
|
|
1375
1375
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/"
|
|
1376
1376
|
};
|
|
1377
|
-
function
|
|
1377
|
+
function Bi(e) {
|
|
1378
1378
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ce(e);
|
|
1379
1379
|
}
|
|
1380
|
-
const
|
|
1380
|
+
const st = wt.styles, ji = /* @__PURE__ */ k({
|
|
1381
1381
|
props: {
|
|
1382
1382
|
componentChildStyle: Object,
|
|
1383
1383
|
childFactory: Object,
|
|
@@ -1437,7 +1437,7 @@ const nt = $t.styles, Pi = /* @__PURE__ */ k({
|
|
|
1437
1437
|
}
|
|
1438
1438
|
},
|
|
1439
1439
|
created: function() {
|
|
1440
|
-
q(
|
|
1440
|
+
q(zi);
|
|
1441
1441
|
},
|
|
1442
1442
|
render() {
|
|
1443
1443
|
const e = M(this), {
|
|
@@ -1450,12 +1450,12 @@ const nt = $t.styles, Pi = /* @__PURE__ */ k({
|
|
|
1450
1450
|
componentChildStyle: r,
|
|
1451
1451
|
componentChildClassName: l,
|
|
1452
1452
|
...c
|
|
1453
|
-
} = this.$props, p = [
|
|
1453
|
+
} = this.$props, p = [st["animation-container"], st["animation-container-relative"], s];
|
|
1454
1454
|
return d("div", {
|
|
1455
1455
|
id: this.$props.id,
|
|
1456
1456
|
class: p,
|
|
1457
1457
|
role: n
|
|
1458
|
-
}, [d(
|
|
1458
|
+
}, [d(_i, {
|
|
1459
1459
|
key: "some",
|
|
1460
1460
|
style: r,
|
|
1461
1461
|
appear: this.$props.appear,
|
|
@@ -1473,15 +1473,15 @@ const nt = $t.styles, Pi = /* @__PURE__ */ k({
|
|
|
1473
1473
|
animationExitingStyle: this.$props.animationExitingStyle,
|
|
1474
1474
|
transitionEnterDuration: this.$props.transitionEnterDuration,
|
|
1475
1475
|
transitionExitDuration: this.$props.transitionExitDuration
|
|
1476
|
-
},
|
|
1476
|
+
}, Bi(e) ? e : {
|
|
1477
1477
|
default: () => [e]
|
|
1478
1478
|
})]);
|
|
1479
1479
|
}
|
|
1480
1480
|
});
|
|
1481
|
-
function
|
|
1481
|
+
function Ui(e) {
|
|
1482
1482
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ce(e);
|
|
1483
1483
|
}
|
|
1484
|
-
const
|
|
1484
|
+
const Ct = /* @__PURE__ */ k({
|
|
1485
1485
|
props: {
|
|
1486
1486
|
appear: {
|
|
1487
1487
|
type: Boolean,
|
|
@@ -1547,7 +1547,7 @@ const St = /* @__PURE__ */ k({
|
|
|
1547
1547
|
id: i,
|
|
1548
1548
|
...n
|
|
1549
1549
|
} = this.$props, s = `slide-${this.$props.direction}`;
|
|
1550
|
-
return d(
|
|
1550
|
+
return d(ji, {
|
|
1551
1551
|
id: i,
|
|
1552
1552
|
transitionName: s,
|
|
1553
1553
|
componentChildClassName: this.$props.componentChildClassName,
|
|
@@ -1563,29 +1563,29 @@ const St = /* @__PURE__ */ k({
|
|
|
1563
1563
|
onExited: this.handleExited,
|
|
1564
1564
|
transitionEnterDuration: this.$props.transitionEnterDuration,
|
|
1565
1565
|
transitionExitDuration: this.$props.transitionExitDuration
|
|
1566
|
-
},
|
|
1566
|
+
}, Ui(e) ? e : {
|
|
1567
1567
|
default: () => [e]
|
|
1568
1568
|
});
|
|
1569
1569
|
}
|
|
1570
1570
|
});
|
|
1571
|
-
var
|
|
1571
|
+
var C;
|
|
1572
1572
|
(function(e) {
|
|
1573
1573
|
e.bottom = "bottom", e.center = "center", e.middle = "middle", e.left = "left", e.right = "right", e.top = "top";
|
|
1574
|
-
})(
|
|
1575
|
-
var
|
|
1574
|
+
})(C || (C = {}));
|
|
1575
|
+
var Ki = function(e) {
|
|
1576
1576
|
var t = e.anchorRect, i = e.anchorAlign, n = e.elementRect, s = e.elementAlign, o = e.margin, a = o === void 0 ? {} : o, r = i.horizontal, l = i.vertical, c = s.horizontal, p = s.vertical, u = a.horizontal || 0, h = a.vertical || 0, m = t.top, f = t.left;
|
|
1577
|
-
return l ===
|
|
1577
|
+
return l === C.bottom && (m += t.height), (l === C.center || l === C.middle) && (m += Math.round(t.height / 2)), p === C.bottom && (m -= n.height, h *= -1), (p === C.center || p === C.middle) && (m -= Math.round(n.height / 2), h *= -1), r === C.right && (f += t.width), (r === C.center || r === C.middle) && (f += Math.round(t.width / 2)), c === C.right && (f -= n.width, u *= -1), (c === C.center || c === C.middle) && (f -= Math.round(n.width / 2), u *= -1), {
|
|
1578
1578
|
top: m + h,
|
|
1579
1579
|
left: f + u
|
|
1580
1580
|
};
|
|
1581
|
-
},
|
|
1581
|
+
}, Hi = function(e, t) {
|
|
1582
1582
|
return {
|
|
1583
1583
|
top: e.top + t.y,
|
|
1584
1584
|
left: e.left + t.x,
|
|
1585
1585
|
height: e.height,
|
|
1586
1586
|
width: e.width
|
|
1587
1587
|
};
|
|
1588
|
-
},
|
|
1588
|
+
}, Wi = function(e, t, i) {
|
|
1589
1589
|
var n = e.top, s = e.left;
|
|
1590
1590
|
return i && (s = 0, n = 0), {
|
|
1591
1591
|
top: n + t.top,
|
|
@@ -1594,28 +1594,28 @@ var Bi = function(e) {
|
|
|
1594
1594
|
width: e.width
|
|
1595
1595
|
};
|
|
1596
1596
|
};
|
|
1597
|
-
const
|
|
1597
|
+
const xt = (function(e) {
|
|
1598
1598
|
return e && e.ownerDocument || document;
|
|
1599
1599
|
});
|
|
1600
|
-
var
|
|
1601
|
-
return
|
|
1602
|
-
},
|
|
1603
|
-
if (!
|
|
1600
|
+
var It = function(e) {
|
|
1601
|
+
return xt(e).documentElement;
|
|
1602
|
+
}, Me = 0, Zi = function() {
|
|
1603
|
+
if (!Me && typeof document < "u") {
|
|
1604
1604
|
var e = document.createElement("div");
|
|
1605
|
-
e.style.cssText = "overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block", e.innerHTML = " ", document.body.appendChild(e),
|
|
1605
|
+
e.style.cssText = "overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block", e.innerHTML = " ", document.body.appendChild(e), Me = e.offsetWidth - e.scrollWidth, document.body.removeChild(e);
|
|
1606
1606
|
}
|
|
1607
|
-
return
|
|
1608
|
-
},
|
|
1609
|
-
return
|
|
1610
|
-
},
|
|
1611
|
-
var t =
|
|
1607
|
+
return Me;
|
|
1608
|
+
}, We = function(e) {
|
|
1609
|
+
return xt(e).defaultView;
|
|
1610
|
+
}, Et = function(e) {
|
|
1611
|
+
var t = We(e), i = It(e), n = {
|
|
1612
1612
|
height: t.innerHeight,
|
|
1613
1613
|
width: t.innerWidth
|
|
1614
1614
|
};
|
|
1615
|
-
return i.scrollHeight - i.clientHeight > 0 && (n.width -=
|
|
1616
|
-
},
|
|
1615
|
+
return i.scrollHeight - i.clientHeight > 0 && (n.width -= Zi()), n;
|
|
1616
|
+
}, Gi = function(e) {
|
|
1617
1617
|
if (!e.getBoundingClientRect) {
|
|
1618
|
-
var t =
|
|
1618
|
+
var t = Et(e);
|
|
1619
1619
|
return {
|
|
1620
1620
|
bottom: t.height,
|
|
1621
1621
|
left: 0,
|
|
@@ -1630,13 +1630,13 @@ var wt = function(e) {
|
|
|
1630
1630
|
right: o,
|
|
1631
1631
|
top: a
|
|
1632
1632
|
};
|
|
1633
|
-
},
|
|
1633
|
+
}, Ie = function(e) {
|
|
1634
1634
|
for (var t = e.offsetParent; t && t.style.position === "static"; )
|
|
1635
1635
|
t = t.offsetParent;
|
|
1636
1636
|
return t || e.ownerDocument.documentElement;
|
|
1637
|
-
},
|
|
1638
|
-
return
|
|
1639
|
-
},
|
|
1637
|
+
}, Yi = function(e) {
|
|
1638
|
+
return Ie(e) === e.ownerDocument.body;
|
|
1639
|
+
}, Ji = function(e) {
|
|
1640
1640
|
var t = e.style, i = t.display, n = t.left, s = t.position;
|
|
1641
1641
|
e.style.display = "", e.style.left = "-10000px", e.style.position = "absolute";
|
|
1642
1642
|
var o = e.getBoundingClientRect();
|
|
@@ -1648,32 +1648,32 @@ var wt = function(e) {
|
|
|
1648
1648
|
};
|
|
1649
1649
|
}, he = function(e) {
|
|
1650
1650
|
var t = e.getBoundingClientRect(), i = t.left, n = t.top;
|
|
1651
|
-
return !t.height && !t.width && (t =
|
|
1651
|
+
return !t.height && !t.width && (t = Ji(e)), {
|
|
1652
1652
|
top: n,
|
|
1653
1653
|
left: i,
|
|
1654
1654
|
height: t.height,
|
|
1655
1655
|
width: t.width
|
|
1656
1656
|
};
|
|
1657
|
-
},
|
|
1657
|
+
}, Nt = function(e, t) {
|
|
1658
1658
|
for (var i = [], n = e.parentNode; n && (i.push(n), n !== t); )
|
|
1659
1659
|
n = n.parentNode;
|
|
1660
1660
|
return i;
|
|
1661
|
-
},
|
|
1662
|
-
var t =
|
|
1661
|
+
}, Ot = function(e) {
|
|
1662
|
+
var t = It(e), i = We(e);
|
|
1663
1663
|
return {
|
|
1664
1664
|
x: i.pageXOffset || t.scrollLeft || 0,
|
|
1665
1665
|
y: i.pageYOffset || t.scrollTop || 0
|
|
1666
1666
|
};
|
|
1667
|
-
},
|
|
1668
|
-
return e === (e.ownerDocument || {}).body ?
|
|
1667
|
+
}, Lt = function(e) {
|
|
1668
|
+
return e === (e.ownerDocument || {}).body ? Ot(e) : {
|
|
1669
1669
|
x: e.scrollLeft,
|
|
1670
1670
|
y: e.scrollTop
|
|
1671
1671
|
};
|
|
1672
|
-
},
|
|
1673
|
-
var t =
|
|
1674
|
-
return t ?
|
|
1675
|
-
},
|
|
1676
|
-
var i =
|
|
1672
|
+
}, qi = function(e) {
|
|
1673
|
+
var t = Ie(e);
|
|
1674
|
+
return t ? Lt(t) : { x: 0, y: 0 };
|
|
1675
|
+
}, Qi = function(e, t) {
|
|
1676
|
+
var i = We(e), n = i.getComputedStyle(e), s = he(e), o = t || Ie(e), a = e.ownerDocument, r = o !== a.body && o !== a.documentElement, l = { top: 0, left: 0 };
|
|
1677
1677
|
if (n.position !== "fixed" && r) {
|
|
1678
1678
|
var c = i.getComputedStyle(o);
|
|
1679
1679
|
l = he(o), l.top += parseFloat(c.borderTopWidth), l.left += parseFloat(c.borderLeftWidth);
|
|
@@ -1684,18 +1684,18 @@ var wt = function(e) {
|
|
|
1684
1684
|
height: s.height,
|
|
1685
1685
|
width: s.width
|
|
1686
1686
|
};
|
|
1687
|
-
},
|
|
1688
|
-
return e ?
|
|
1689
|
-
},
|
|
1687
|
+
}, Xi = function(e, t) {
|
|
1688
|
+
return e ? Lt(e) : qi(t);
|
|
1689
|
+
}, en = function(e, t, i) {
|
|
1690
1690
|
i === void 0 && (i = 1);
|
|
1691
|
-
var n = t ?
|
|
1691
|
+
var n = t ? Ie(t) : null, s = Qi(e, n), o = s.top, a = s.left, r = s.height, l = s.width, c = Xi(n, e), p = c.x, u = c.y, h = e.ownerDocument, m = n === h.body || n === h.documentElement ? 1 : i;
|
|
1692
1692
|
return {
|
|
1693
1693
|
top: o + u * m,
|
|
1694
1694
|
left: a + p * m,
|
|
1695
1695
|
height: r,
|
|
1696
1696
|
width: l
|
|
1697
1697
|
};
|
|
1698
|
-
},
|
|
1698
|
+
}, tn = function(e, t) {
|
|
1699
1699
|
return {
|
|
1700
1700
|
top: e.top - t.y,
|
|
1701
1701
|
left: e.left - t.x,
|
|
@@ -1706,19 +1706,19 @@ var wt = function(e) {
|
|
|
1706
1706
|
(function(e) {
|
|
1707
1707
|
e.fit = "fit", e.flip = "flip", e.none = "none";
|
|
1708
1708
|
})(oe || (oe = {}));
|
|
1709
|
-
var
|
|
1709
|
+
var ot = function(e, t, i) {
|
|
1710
1710
|
var n = 0;
|
|
1711
1711
|
return e + t > i && (n = i - (e + t)), e < 0 && (n = -e), n;
|
|
1712
|
-
},
|
|
1713
|
-
var t = e.offset, i = e.size, n = e.anchorSize, s = e.viewPortSize, o = e.anchorAlignPoint, a = e.elementAlignPoint, r = e.margin, l = 0, c = a ===
|
|
1712
|
+
}, at = function(e) {
|
|
1713
|
+
var t = e.offset, i = e.size, n = e.anchorSize, s = e.viewPortSize, o = e.anchorAlignPoint, a = e.elementAlignPoint, r = e.margin, l = 0, c = a === C.center || a === C.middle, p = o === C.center || o === C.middle, u = 2 * r;
|
|
1714
1714
|
if (a !== o && !c && !p) {
|
|
1715
|
-
var h = o ===
|
|
1715
|
+
var h = o === C.top || o === C.left;
|
|
1716
1716
|
t < 0 && h ? (l = i + n + u, t + l + i > s && (l = 0)) : t >= 0 && !h && (t + i > s && (l += -(n + i + u)), t + l < 0 && (l = 0));
|
|
1717
1717
|
}
|
|
1718
1718
|
return l;
|
|
1719
|
-
},
|
|
1720
|
-
var t = e.anchorRect, i = e.anchorAlign, n = e.elementRect, s = e.elementAlign, o = e.collisions, a = e.viewPort, r = e.margin, l = r === void 0 ? {} : r, c = n.top, p = n.left, u = n.height, h = n.width, m = a.height, f = a.width, y = l.horizontal || 0, v = l.vertical || 0, b = 0, I = 0, g = o.vertical === oe.fit, $ = o.horizontal === oe.fit,
|
|
1721
|
-
g && (I +=
|
|
1719
|
+
}, nn = function(e) {
|
|
1720
|
+
var t = e.anchorRect, i = e.anchorAlign, n = e.elementRect, s = e.elementAlign, o = e.collisions, a = e.viewPort, r = e.margin, l = r === void 0 ? {} : r, c = n.top, p = n.left, u = n.height, h = n.width, m = a.height, f = a.width, y = l.horizontal || 0, v = l.vertical || 0, b = 0, I = 0, g = o.vertical === oe.fit, $ = o.horizontal === oe.fit, V = o.vertical === oe.flip, z = o.horizontal === oe.flip;
|
|
1721
|
+
g && (I += ot(c, u, m)), $ && (b += ot(p, h, f)), V && (I += at({
|
|
1722
1722
|
margin: v,
|
|
1723
1723
|
offset: c,
|
|
1724
1724
|
size: u,
|
|
@@ -1726,7 +1726,7 @@ var st = function(e, t, i) {
|
|
|
1726
1726
|
viewPortSize: m,
|
|
1727
1727
|
anchorAlignPoint: i.vertical,
|
|
1728
1728
|
elementAlignPoint: s.vertical
|
|
1729
|
-
})), z && (b +=
|
|
1729
|
+
})), z && (b += at({
|
|
1730
1730
|
margin: y,
|
|
1731
1731
|
offset: p,
|
|
1732
1732
|
size: h,
|
|
@@ -1735,12 +1735,12 @@ var st = function(e, t, i) {
|
|
|
1735
1735
|
anchorAlignPoint: i.horizontal,
|
|
1736
1736
|
elementAlignPoint: s.horizontal
|
|
1737
1737
|
}));
|
|
1738
|
-
var S =
|
|
1738
|
+
var S = V && I !== 0, P = z && b !== 0, O = g && I !== 0, B = $ && b !== 0;
|
|
1739
1739
|
return {
|
|
1740
|
-
flipped:
|
|
1740
|
+
flipped: P || S,
|
|
1741
1741
|
fitted: O || B,
|
|
1742
1742
|
flip: {
|
|
1743
|
-
horizontal:
|
|
1743
|
+
horizontal: P,
|
|
1744
1744
|
vertical: S
|
|
1745
1745
|
},
|
|
1746
1746
|
fit: {
|
|
@@ -1752,12 +1752,12 @@ var st = function(e, t, i) {
|
|
|
1752
1752
|
top: I
|
|
1753
1753
|
}
|
|
1754
1754
|
};
|
|
1755
|
-
},
|
|
1755
|
+
}, sn = function(e) {
|
|
1756
1756
|
for (var t, i = [], n = (t = e.parentNode) === null || t === void 0 ? void 0 : t.firstElementChild; n; )
|
|
1757
1757
|
n !== e && i.push(n), n = n.nextElementSibling;
|
|
1758
1758
|
return i;
|
|
1759
|
-
},
|
|
1760
|
-
for (var i =
|
|
1759
|
+
}, Tt = function(e, t) {
|
|
1760
|
+
for (var i = Nt(e), n = t, s, o; n && (s = sn(n), o = i.reduce(function(a, r) {
|
|
1761
1761
|
return a.concat(s.filter(function(l) {
|
|
1762
1762
|
return l === r;
|
|
1763
1763
|
}));
|
|
@@ -1770,29 +1770,29 @@ const Ae = (e, t) => e || {
|
|
|
1770
1770
|
left: t.left,
|
|
1771
1771
|
top: t.top,
|
|
1772
1772
|
width: 0
|
|
1773
|
-
},
|
|
1773
|
+
}, on = (e, t) => t ? {
|
|
1774
1774
|
height: e.height,
|
|
1775
1775
|
left: t.left,
|
|
1776
1776
|
top: t.top,
|
|
1777
1777
|
width: e.width
|
|
1778
|
-
} : e,
|
|
1778
|
+
} : e, an = (e, t) => t ? {
|
|
1779
1779
|
height: e.height,
|
|
1780
1780
|
left: e.left - t.left,
|
|
1781
1781
|
top: e.top - t.top,
|
|
1782
1782
|
width: e.width
|
|
1783
|
-
} : e,
|
|
1783
|
+
} : e, Ee = () => typeof document < "u" && !!document.body, de = () => typeof window < "u", rn = /auto|scroll/, ln = (e) => {
|
|
1784
1784
|
const t = window.getComputedStyle(e);
|
|
1785
1785
|
return `${t.overflow}${t.overflowX}${t.overflowY}`;
|
|
1786
|
-
},
|
|
1786
|
+
}, dn = (e) => {
|
|
1787
1787
|
const t = [];
|
|
1788
|
-
if (!
|
|
1788
|
+
if (!Ee() || !de())
|
|
1789
1789
|
return t;
|
|
1790
1790
|
let i = e.parentElement;
|
|
1791
1791
|
for (; i; )
|
|
1792
|
-
|
|
1792
|
+
rn.test(ln(i)) && t.push(i), i = i.parentElement;
|
|
1793
1793
|
return t.push(window), t;
|
|
1794
|
-
},
|
|
1795
|
-
if (!
|
|
1794
|
+
}, cn = 1e3 / 60, pn = () => {
|
|
1795
|
+
if (!Ee())
|
|
1796
1796
|
return !1;
|
|
1797
1797
|
const e = 10, t = document.createElement("div");
|
|
1798
1798
|
if (t.style.transform = "matrix(10, 0, 0, 10, 0, 0)", t.innerHTML = "<div>child</div>", document.body.appendChild(t), t && t.firstChild) {
|
|
@@ -1801,25 +1801,25 @@ const Ae = (e, t) => e || {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
const i = t.children[0].getBoundingClientRect().top !== e;
|
|
1803
1803
|
return document.body.removeChild(t), i;
|
|
1804
|
-
},
|
|
1805
|
-
if (!e || !
|
|
1804
|
+
}, un = pn(), hn = (e, t) => {
|
|
1805
|
+
if (!e || !Ee() || !de())
|
|
1806
1806
|
return null;
|
|
1807
|
-
const i =
|
|
1807
|
+
const i = Tt(e, t);
|
|
1808
1808
|
if (!i)
|
|
1809
1809
|
return null;
|
|
1810
|
-
const n = [e].concat(
|
|
1810
|
+
const n = [e].concat(Nt(e, i)).reduce((s, o) => {
|
|
1811
1811
|
const a = o.style.zIndex || window.getComputedStyle(o).zIndex, r = parseInt(a, 10);
|
|
1812
1812
|
return r > s ? r : s;
|
|
1813
1813
|
}, 0);
|
|
1814
1814
|
return n ? n + 1 : null;
|
|
1815
|
-
},
|
|
1815
|
+
}, rt = {
|
|
1816
1816
|
fit: "fit",
|
|
1817
1817
|
flip: "flip"
|
|
1818
|
-
},
|
|
1818
|
+
}, ke = {
|
|
1819
1819
|
left: "left",
|
|
1820
1820
|
bottom: "bottom",
|
|
1821
1821
|
top: "top"
|
|
1822
|
-
},
|
|
1822
|
+
}, mn = function(e, t, i = {}) {
|
|
1823
1823
|
let n, s, o, a, r = 0;
|
|
1824
1824
|
i = i || {};
|
|
1825
1825
|
const l = function() {
|
|
@@ -1832,7 +1832,7 @@ const Ae = (e, t) => e || {
|
|
|
1832
1832
|
return s = this, o = arguments, p <= 0 || p > t ? (n && (clearTimeout(n), n = null), r = c, a = e.apply(s, o), n || (s = o = null)) : !n && i.trailing !== !1 && (n = setTimeout(l, p)), a;
|
|
1833
1833
|
};
|
|
1834
1834
|
};
|
|
1835
|
-
let
|
|
1835
|
+
let fn = class {
|
|
1836
1836
|
constructor(t) {
|
|
1837
1837
|
this._dom = t;
|
|
1838
1838
|
}
|
|
@@ -1846,7 +1846,7 @@ let un = class {
|
|
|
1846
1846
|
});
|
|
1847
1847
|
}
|
|
1848
1848
|
absoluteRect(t, i, n) {
|
|
1849
|
-
const s = this._dom, o = Ae(s.offset(t), n), a = s.stackingElementOffset(i), r =
|
|
1849
|
+
const s = this._dom, o = Ae(s.offset(t), n), a = s.stackingElementOffset(i), r = an(o, a), l = s.stackingElementScroll(i), c = s.addScroll(r, l), p = this.elementScrollPosition(t, i), u = s.removeScroll(c, p);
|
|
1850
1850
|
return u.left += window.scrollX || window.pageXOffset, u.top += window.scrollY || window.pageYOffset, u;
|
|
1851
1851
|
}
|
|
1852
1852
|
elementScrollPosition(t, i) {
|
|
@@ -1856,7 +1856,7 @@ let un = class {
|
|
|
1856
1856
|
return Ae(this._dom.position(t, i), n);
|
|
1857
1857
|
}
|
|
1858
1858
|
};
|
|
1859
|
-
class
|
|
1859
|
+
class gn {
|
|
1860
1860
|
addOffset(t, i) {
|
|
1861
1861
|
return {
|
|
1862
1862
|
left: t.left + i.left,
|
|
@@ -1864,16 +1864,16 @@ class hn {
|
|
|
1864
1864
|
};
|
|
1865
1865
|
}
|
|
1866
1866
|
align(t) {
|
|
1867
|
-
return
|
|
1867
|
+
return Ki(t);
|
|
1868
1868
|
}
|
|
1869
1869
|
boundingOffset(t) {
|
|
1870
|
-
return
|
|
1870
|
+
return Gi(t);
|
|
1871
1871
|
}
|
|
1872
1872
|
getWindow() {
|
|
1873
1873
|
return de() ? window : null;
|
|
1874
1874
|
}
|
|
1875
1875
|
isBodyOffset(t) {
|
|
1876
|
-
return
|
|
1876
|
+
return Yi(t);
|
|
1877
1877
|
}
|
|
1878
1878
|
hasOffsetParent(t) {
|
|
1879
1879
|
if (!t)
|
|
@@ -1895,26 +1895,26 @@ class hn {
|
|
|
1895
1895
|
position(t, i) {
|
|
1896
1896
|
if (!t || !i)
|
|
1897
1897
|
return null;
|
|
1898
|
-
const n =
|
|
1899
|
-
return
|
|
1898
|
+
const n = Tt(t, i);
|
|
1899
|
+
return en(t, n);
|
|
1900
1900
|
}
|
|
1901
1901
|
relativeOffset(t, i) {
|
|
1902
|
-
return
|
|
1902
|
+
return Wi(this.offset(t), i, this.isBodyOffset(t));
|
|
1903
1903
|
}
|
|
1904
1904
|
addScroll(t, i) {
|
|
1905
|
-
return
|
|
1905
|
+
return Hi(t, i);
|
|
1906
1906
|
}
|
|
1907
1907
|
removeScroll(t, i) {
|
|
1908
|
-
return
|
|
1908
|
+
return tn(t, i);
|
|
1909
1909
|
}
|
|
1910
1910
|
restrictToView(t) {
|
|
1911
|
-
return
|
|
1911
|
+
return nn(t);
|
|
1912
1912
|
}
|
|
1913
1913
|
scrollPosition(t) {
|
|
1914
|
-
return
|
|
1914
|
+
return Ot(t);
|
|
1915
1915
|
}
|
|
1916
1916
|
scrollableParents(t) {
|
|
1917
|
-
return
|
|
1917
|
+
return dn(t);
|
|
1918
1918
|
}
|
|
1919
1919
|
stackingElementOffset(t) {
|
|
1920
1920
|
const i = this.getRelativeContextElement(t);
|
|
@@ -1935,7 +1935,7 @@ class hn {
|
|
|
1935
1935
|
} : null;
|
|
1936
1936
|
}
|
|
1937
1937
|
getRelativeContextElement(t) {
|
|
1938
|
-
if (!t || !
|
|
1938
|
+
if (!t || !un)
|
|
1939
1939
|
return null;
|
|
1940
1940
|
let i = t.parentElement;
|
|
1941
1941
|
for (; i; ) {
|
|
@@ -1949,19 +1949,19 @@ class hn {
|
|
|
1949
1949
|
return !!this.getRelativeContextElement(t);
|
|
1950
1950
|
}
|
|
1951
1951
|
windowViewPort(t) {
|
|
1952
|
-
return
|
|
1952
|
+
return Et(t);
|
|
1953
1953
|
}
|
|
1954
1954
|
zIndex(t, i) {
|
|
1955
|
-
return
|
|
1955
|
+
return hn(t, i);
|
|
1956
1956
|
}
|
|
1957
1957
|
zoomLevel() {
|
|
1958
|
-
return !
|
|
1958
|
+
return !Ee() || !de() ? 1 : parseFloat((document.documentElement.clientWidth / window.innerWidth).toFixed(2));
|
|
1959
1959
|
}
|
|
1960
1960
|
isZoomed() {
|
|
1961
1961
|
return this.zoomLevel() > 1;
|
|
1962
1962
|
}
|
|
1963
1963
|
}
|
|
1964
|
-
let
|
|
1964
|
+
let vn = class {
|
|
1965
1965
|
constructor(t) {
|
|
1966
1966
|
this._dom = t;
|
|
1967
1967
|
}
|
|
@@ -1973,7 +1973,7 @@ let mn = class {
|
|
|
1973
1973
|
anchorAlign: o,
|
|
1974
1974
|
elementAlign: a,
|
|
1975
1975
|
collisions: r
|
|
1976
|
-
} = t, l = this._dom, c = t.viewPort || l.stackingElementViewPort(s) || l.windowViewPort(s), p = Ae(l.offset(i), n), u =
|
|
1976
|
+
} = t, l = this._dom, c = t.viewPort || l.stackingElementViewPort(s) || l.windowViewPort(s), p = Ae(l.offset(i), n), u = on(l.staticOffset(s), n), h = this.elementRect(s, u), m = l.restrictToView({
|
|
1977
1977
|
anchorAlign: o,
|
|
1978
1978
|
anchorRect: p,
|
|
1979
1979
|
collisions: r,
|
|
@@ -1990,7 +1990,7 @@ let mn = class {
|
|
|
1990
1990
|
return this._dom.removeScroll(i, this._dom.scrollPosition(t));
|
|
1991
1991
|
}
|
|
1992
1992
|
};
|
|
1993
|
-
const
|
|
1993
|
+
const yn = {
|
|
1994
1994
|
name: "@progress/kendo-vue-popup",
|
|
1995
1995
|
productName: "Kendo UI for Vue",
|
|
1996
1996
|
productCode: "KENDOUIVUE",
|
|
@@ -1999,13 +1999,13 @@ const fn = {
|
|
|
1999
1999
|
version: "6.4.1",
|
|
2000
2000
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
2001
2001
|
};
|
|
2002
|
-
function
|
|
2002
|
+
function kn(e) {
|
|
2003
2003
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ce(e);
|
|
2004
2004
|
}
|
|
2005
|
-
const
|
|
2005
|
+
const bn = 100, $n = 1, Sn = {
|
|
2006
2006
|
left: -1e3,
|
|
2007
2007
|
top: 0
|
|
2008
|
-
},
|
|
2008
|
+
}, lt = "k-animation-container-shown", dt = "k-popup", wn = /* @__PURE__ */ k({
|
|
2009
2009
|
name: "Popup",
|
|
2010
2010
|
props: {
|
|
2011
2011
|
appendTo: {
|
|
@@ -2023,8 +2023,8 @@ const vn = 100, yn = 1, kn = {
|
|
|
2023
2023
|
type: Object,
|
|
2024
2024
|
default: function() {
|
|
2025
2025
|
return {
|
|
2026
|
-
horizontal:
|
|
2027
|
-
vertical:
|
|
2026
|
+
horizontal: rt.fit,
|
|
2027
|
+
vertical: rt.flip
|
|
2028
2028
|
};
|
|
2029
2029
|
}
|
|
2030
2030
|
},
|
|
@@ -2032,8 +2032,8 @@ const vn = 100, yn = 1, kn = {
|
|
|
2032
2032
|
type: Object,
|
|
2033
2033
|
default: function() {
|
|
2034
2034
|
return {
|
|
2035
|
-
horizontal:
|
|
2036
|
-
vertical:
|
|
2035
|
+
horizontal: ke.left,
|
|
2036
|
+
vertical: ke.bottom
|
|
2037
2037
|
};
|
|
2038
2038
|
}
|
|
2039
2039
|
},
|
|
@@ -2041,15 +2041,15 @@ const vn = 100, yn = 1, kn = {
|
|
|
2041
2041
|
type: Object,
|
|
2042
2042
|
default: function() {
|
|
2043
2043
|
return {
|
|
2044
|
-
horizontal:
|
|
2045
|
-
vertical:
|
|
2044
|
+
horizontal: ke.left,
|
|
2045
|
+
vertical: ke.top
|
|
2046
2046
|
};
|
|
2047
2047
|
}
|
|
2048
2048
|
},
|
|
2049
2049
|
offset: {
|
|
2050
2050
|
type: Object,
|
|
2051
2051
|
default: function() {
|
|
2052
|
-
return
|
|
2052
|
+
return Sn;
|
|
2053
2053
|
}
|
|
2054
2054
|
},
|
|
2055
2055
|
show: {
|
|
@@ -2078,10 +2078,10 @@ const vn = 100, yn = 1, kn = {
|
|
|
2078
2078
|
};
|
|
2079
2079
|
},
|
|
2080
2080
|
created() {
|
|
2081
|
-
q(
|
|
2081
|
+
q(yn), this.mountedAppendTo = void 0, this.mountedAnchor = void 0, this._clonedElement = void 0, this._flipped = !1, this._offsetTop = 0, this._offsetLeft = -1e3, this._exitingAnimation = !1, this._prevShow = !1, this._prevShow = this.$props.show, this._domService = new gn(), this._alignService = new fn(this._domService), this._positionService = new vn(this._domService), this.reposition = mn(this.reposition.bind(this), cn);
|
|
2082
2082
|
},
|
|
2083
2083
|
mounted() {
|
|
2084
|
-
|
|
2084
|
+
be && (this.mountedAppendTo = this.appendTo ? this.getParentRef(this.appendTo) : document.body, this.mountedAnchor = this.anchor ? this.getParentRef(this.anchor, !0) : document.body), this._parentElement = this.$el.parentElement, this._clonedElement = this.$el.cloneNode(!0), this.hasMounted = !0, this.mountedAppendTo.appendChild(this.$el);
|
|
2085
2085
|
},
|
|
2086
2086
|
updated() {
|
|
2087
2087
|
this._prevShow = this.$props.show;
|
|
@@ -2095,12 +2095,12 @@ const vn = 100, yn = 1, kn = {
|
|
|
2095
2095
|
methods: {
|
|
2096
2096
|
onOpened() {
|
|
2097
2097
|
const e = this.$el;
|
|
2098
|
-
this.$props.show && e.classList.add(
|
|
2098
|
+
this.$props.show && e.classList.add(lt), this.attachRepositionHandlers(e), this.$emit("open", {
|
|
2099
2099
|
target: this
|
|
2100
2100
|
});
|
|
2101
2101
|
},
|
|
2102
2102
|
onClosing() {
|
|
2103
|
-
this.$props.show || this.$el.classList.remove(
|
|
2103
|
+
this.$props.show || this.$el.classList.remove(lt), this.detachRepositionHandlers();
|
|
2104
2104
|
},
|
|
2105
2105
|
onClosed() {
|
|
2106
2106
|
this._exitingAnimation && (this._exitingAnimation = !1, this.$forceUpdate()), this.$emit("close", {
|
|
@@ -2120,7 +2120,7 @@ const vn = 100, yn = 1, kn = {
|
|
|
2120
2120
|
for (; !i.$refs[e]; ) {
|
|
2121
2121
|
if (i && i.kendoAnchorRef && t)
|
|
2122
2122
|
return i.kendoAnchorRef;
|
|
2123
|
-
if (i = i.$parent, !i &&
|
|
2123
|
+
if (i = i.$parent, !i && be)
|
|
2124
2124
|
return document.getElementById(e) || document.body;
|
|
2125
2125
|
}
|
|
2126
2126
|
return i.$refs[e].$el || i.$refs[e];
|
|
@@ -2148,7 +2148,7 @@ const vn = 100, yn = 1, kn = {
|
|
|
2148
2148
|
});
|
|
2149
2149
|
},
|
|
2150
2150
|
calculatePosition(e, t) {
|
|
2151
|
-
if (!t || !de() || !
|
|
2151
|
+
if (!t || !de() || !be)
|
|
2152
2152
|
return {
|
|
2153
2153
|
flipped: !1,
|
|
2154
2154
|
offset: e.offset
|
|
@@ -2186,7 +2186,7 @@ const vn = 100, yn = 1, kn = {
|
|
|
2186
2186
|
this._clonedElement = this.$el.cloneNode(!0), this.$forceUpdate();
|
|
2187
2187
|
},
|
|
2188
2188
|
getCurrentZIndex() {
|
|
2189
|
-
return this.kCurrentZIndex ? this.kCurrentZIndex +
|
|
2189
|
+
return this.kCurrentZIndex ? this.kCurrentZIndex + $n : bn;
|
|
2190
2190
|
}
|
|
2191
2191
|
},
|
|
2192
2192
|
render() {
|
|
@@ -2204,10 +2204,10 @@ const vn = 100, yn = 1, kn = {
|
|
|
2204
2204
|
transitionEnterDuration: l,
|
|
2205
2205
|
transitionExitDuration: c
|
|
2206
2206
|
} = this.transitionDuration(), p = this.getCurrentZIndex();
|
|
2207
|
-
return this._exitingAnimation = this._exitingAnimation || this._prevShow && !i, this.hasMounted ? i || this._exitingAnimation && a ? d(
|
|
2207
|
+
return this._exitingAnimation = this._exitingAnimation || this._prevShow && !i, this.hasMounted ? i || this._exitingAnimation && a ? d(Ct, {
|
|
2208
2208
|
id: n,
|
|
2209
2209
|
role: this.appendTo ? "" : "region",
|
|
2210
|
-
componentChildClassName: [t,
|
|
2210
|
+
componentChildClassName: [t, dt],
|
|
2211
2211
|
className: e,
|
|
2212
2212
|
onEntered: this.onOpened,
|
|
2213
2213
|
onExiting: this.onClosing,
|
|
@@ -2222,7 +2222,7 @@ const vn = 100, yn = 1, kn = {
|
|
|
2222
2222
|
transitionEnterDuration: l,
|
|
2223
2223
|
transitionExitDuration: c,
|
|
2224
2224
|
appear: i
|
|
2225
|
-
},
|
|
2225
|
+
}, kn(o) ? o : {
|
|
2226
2226
|
default: () => [o]
|
|
2227
2227
|
}) : null : d("div", {
|
|
2228
2228
|
style: {
|
|
@@ -2230,10 +2230,10 @@ const vn = 100, yn = 1, kn = {
|
|
|
2230
2230
|
},
|
|
2231
2231
|
class: e
|
|
2232
2232
|
}, [d("div", {
|
|
2233
|
-
class: [t,
|
|
2233
|
+
class: [t, dt]
|
|
2234
2234
|
}, [s])]);
|
|
2235
2235
|
}
|
|
2236
|
-
}),
|
|
2236
|
+
}), Cn = {
|
|
2237
2237
|
NoLocale: "Missing locale info for '{0}'",
|
|
2238
2238
|
NoCurrency: "Cannot determine currency information. Please load the locale currencies data.",
|
|
2239
2239
|
NoSupplementalCurrency: "Cannot determine currency. Please load the supplemental currencyData.",
|
|
@@ -2244,15 +2244,15 @@ const vn = 100, yn = 1, kn = {
|
|
|
2244
2244
|
NoFirstDay: "Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",
|
|
2245
2245
|
NoValidCurrency: "Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",
|
|
2246
2246
|
NoDateFieldNames: "Cannot determine the locale date field names. Please load the locale dateFields data."
|
|
2247
|
-
},
|
|
2248
|
-
class
|
|
2247
|
+
}, xn = /\{(\d+)}?\}/g;
|
|
2248
|
+
class In {
|
|
2249
2249
|
constructor({ name: t, message: i }) {
|
|
2250
2250
|
if (!t || !i)
|
|
2251
2251
|
throw new Error("{ name: string, message: string } object is required!");
|
|
2252
2252
|
this.name = t, this.message = i;
|
|
2253
2253
|
}
|
|
2254
2254
|
formatMessage(...t) {
|
|
2255
|
-
const i =
|
|
2255
|
+
const i = En(t), n = this.message.replace(xn, function(s, o) {
|
|
2256
2256
|
return i[parseInt(o, 10)];
|
|
2257
2257
|
});
|
|
2258
2258
|
return `${this.name}: ${n}`;
|
|
@@ -2261,23 +2261,23 @@ class Cn {
|
|
|
2261
2261
|
return new Error(this.formatMessage(t));
|
|
2262
2262
|
}
|
|
2263
2263
|
}
|
|
2264
|
-
const
|
|
2264
|
+
const En = function(e) {
|
|
2265
2265
|
return e.reduce((t, i) => t.concat(i), []);
|
|
2266
|
-
},
|
|
2266
|
+
}, Nn = function(e) {
|
|
2267
2267
|
const t = function(i, n) {
|
|
2268
|
-
return i[n] = new
|
|
2268
|
+
return i[n] = new In({ name: n, message: e[n] }), i;
|
|
2269
2269
|
};
|
|
2270
2270
|
return Object.keys(e).reduce(t, {});
|
|
2271
|
-
},
|
|
2272
|
-
NoCurrency:
|
|
2273
|
-
NoCurrencyDisplay:
|
|
2274
|
-
NoSupplementalCurrency:
|
|
2275
|
-
NoCurrencyRegion:
|
|
2276
|
-
NoValidCurrency:
|
|
2277
|
-
} =
|
|
2278
|
-
|
|
2271
|
+
}, Ze = Nn(Cn), {
|
|
2272
|
+
NoCurrency: _s,
|
|
2273
|
+
NoCurrencyDisplay: zs,
|
|
2274
|
+
NoSupplementalCurrency: Bs,
|
|
2275
|
+
NoCurrencyRegion: js,
|
|
2276
|
+
NoValidCurrency: Us
|
|
2277
|
+
} = Ze, { NoWeekData: Ks, NoFirstDay: Hs } = Ze, { NoWeekData: Ws } = Ze, On = -2, Ln = -1;
|
|
2278
|
+
On.toString() + "", Ln.toString() + "";
|
|
2279
2279
|
const ne = /* @__PURE__ */ Object.create({});
|
|
2280
|
-
let
|
|
2280
|
+
let Tn = class {
|
|
2281
2281
|
constructor(t) {
|
|
2282
2282
|
if (this.language = t, t === "" && process.env.NODE_ENV !== "production")
|
|
2283
2283
|
throw "Language should not be an empty string";
|
|
@@ -2300,9 +2300,9 @@ function ge(e) {
|
|
|
2300
2300
|
if (!e && process.env.NODE_ENV !== "production")
|
|
2301
2301
|
throw `Passed component - ${e} is invalid.`;
|
|
2302
2302
|
const t = e.kendoLocalizationService;
|
|
2303
|
-
return t && Object.keys(t).some((i) => i === "language") ? t : new
|
|
2303
|
+
return t && Object.keys(t).some((i) => i === "language") ? t : new Tn();
|
|
2304
2304
|
}
|
|
2305
|
-
const
|
|
2305
|
+
const Dn = /* @__PURE__ */ k({
|
|
2306
2306
|
name: "list-container",
|
|
2307
2307
|
emits: {
|
|
2308
2308
|
mousedown: null,
|
|
@@ -2363,7 +2363,7 @@ const On = /* @__PURE__ */ k({
|
|
|
2363
2363
|
width: b,
|
|
2364
2364
|
popupStyle: I
|
|
2365
2365
|
} = n;
|
|
2366
|
-
return d(
|
|
2366
|
+
return d(wn, {
|
|
2367
2367
|
ref: "popup",
|
|
2368
2368
|
style: {
|
|
2369
2369
|
...v,
|
|
@@ -2392,7 +2392,7 @@ const On = /* @__PURE__ */ k({
|
|
|
2392
2392
|
});
|
|
2393
2393
|
}
|
|
2394
2394
|
});
|
|
2395
|
-
const
|
|
2395
|
+
const Mn = {
|
|
2396
2396
|
name: "@progress/kendo-vue-inputs",
|
|
2397
2397
|
productName: "Kendo UI for Vue",
|
|
2398
2398
|
productCode: "KENDOUIVUE",
|
|
@@ -2401,10 +2401,10 @@ const Ln = {
|
|
|
2401
2401
|
version: "6.4.1",
|
|
2402
2402
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
2403
2403
|
};
|
|
2404
|
-
const fe = "labels.optional",
|
|
2404
|
+
const fe = "labels.optional", Dt = {
|
|
2405
2405
|
[fe]: "(Optional)"
|
|
2406
2406
|
};
|
|
2407
|
-
const
|
|
2407
|
+
const Mt = {
|
|
2408
2408
|
name: "@progress/kendo-vue-labels",
|
|
2409
2409
|
productName: "Kendo UI for Vue",
|
|
2410
2410
|
productCode: "KENDOUIVUE",
|
|
@@ -2413,7 +2413,7 @@ const Tt = {
|
|
|
2413
2413
|
version: "6.4.1",
|
|
2414
2414
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
2415
2415
|
};
|
|
2416
|
-
const
|
|
2416
|
+
const Vn = /* @__PURE__ */ k({
|
|
2417
2417
|
name: "KendoLabel",
|
|
2418
2418
|
props: {
|
|
2419
2419
|
id: String,
|
|
@@ -2432,7 +2432,7 @@ const Tn = /* @__PURE__ */ k({
|
|
|
2432
2432
|
}
|
|
2433
2433
|
},
|
|
2434
2434
|
created() {
|
|
2435
|
-
q(
|
|
2435
|
+
q(Mt);
|
|
2436
2436
|
},
|
|
2437
2437
|
computed: {
|
|
2438
2438
|
labelClassName() {
|
|
@@ -2455,7 +2455,7 @@ const Tn = /* @__PURE__ */ k({
|
|
|
2455
2455
|
},
|
|
2456
2456
|
setup() {
|
|
2457
2457
|
return {
|
|
2458
|
-
kendoLocalizationService:
|
|
2458
|
+
kendoLocalizationService: Ue("kendoLocalizationService", {})
|
|
2459
2459
|
};
|
|
2460
2460
|
},
|
|
2461
2461
|
render() {
|
|
@@ -2464,7 +2464,7 @@ const Tn = /* @__PURE__ */ k({
|
|
|
2464
2464
|
id: t,
|
|
2465
2465
|
editorId: i,
|
|
2466
2466
|
optional: n
|
|
2467
|
-
} = this.$props, s = n ? e.toLanguageString(fe,
|
|
2467
|
+
} = this.$props, s = n ? e.toLanguageString(fe, Dt[fe]) : "", o = s && d("span", {
|
|
2468
2468
|
class: "k-label-optional"
|
|
2469
2469
|
}, [s]);
|
|
2470
2470
|
return d("label", {
|
|
@@ -2475,7 +2475,7 @@ const Tn = /* @__PURE__ */ k({
|
|
|
2475
2475
|
}, [this.defaultSlots, o]);
|
|
2476
2476
|
}
|
|
2477
2477
|
});
|
|
2478
|
-
const
|
|
2478
|
+
const Pn = /* @__PURE__ */ k({
|
|
2479
2479
|
name: "KendoFloatingLabel",
|
|
2480
2480
|
props: {
|
|
2481
2481
|
label: String,
|
|
@@ -2507,7 +2507,7 @@ const Dn = /* @__PURE__ */ k({
|
|
|
2507
2507
|
}
|
|
2508
2508
|
},
|
|
2509
2509
|
created() {
|
|
2510
|
-
q(
|
|
2510
|
+
q(Mt);
|
|
2511
2511
|
},
|
|
2512
2512
|
computed: {
|
|
2513
2513
|
computedFocused() {
|
|
@@ -2541,7 +2541,7 @@ const Dn = /* @__PURE__ */ k({
|
|
|
2541
2541
|
},
|
|
2542
2542
|
setup() {
|
|
2543
2543
|
return {
|
|
2544
|
-
kendoLocalizationService:
|
|
2544
|
+
kendoLocalizationService: Ue("kendoLocalizationService", {})
|
|
2545
2545
|
};
|
|
2546
2546
|
},
|
|
2547
2547
|
render() {
|
|
@@ -2550,7 +2550,7 @@ const Dn = /* @__PURE__ */ k({
|
|
|
2550
2550
|
editorId: i,
|
|
2551
2551
|
id: n,
|
|
2552
2552
|
optional: s
|
|
2553
|
-
} = this.$props, o = ge(this), a = s ? o.toLanguageString(fe,
|
|
2553
|
+
} = this.$props, o = ge(this), a = s ? o.toLanguageString(fe, Dt[fe]) : "", r = a && d("span", {
|
|
2554
2554
|
class: "k-label-optional"
|
|
2555
2555
|
}, [a]);
|
|
2556
2556
|
return d("span", {
|
|
@@ -2568,10 +2568,10 @@ const Dn = /* @__PURE__ */ k({
|
|
|
2568
2568
|
}, [t, r]) : null]);
|
|
2569
2569
|
}
|
|
2570
2570
|
});
|
|
2571
|
-
function
|
|
2571
|
+
function Fn(e) {
|
|
2572
2572
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ce(e);
|
|
2573
2573
|
}
|
|
2574
|
-
const
|
|
2574
|
+
const Rn = /* @__PURE__ */ k({
|
|
2575
2575
|
model: {
|
|
2576
2576
|
event: "changemodel"
|
|
2577
2577
|
},
|
|
@@ -2676,7 +2676,7 @@ const Fn = /* @__PURE__ */ k({
|
|
|
2676
2676
|
};
|
|
2677
2677
|
},
|
|
2678
2678
|
created() {
|
|
2679
|
-
q(
|
|
2679
|
+
q(Mn), this._input = void 0, this._inputId = ae(), this.$data.valueDuringOnChange = void 0, this.$data.currentValue = this.$props.defaultValue;
|
|
2680
2680
|
},
|
|
2681
2681
|
mounted() {
|
|
2682
2682
|
this._input = this.inputRef, this.wrapper = this.wrapperRef, this.$data.hasMounted = !0, this.setValidity();
|
|
@@ -2724,14 +2724,14 @@ const Fn = /* @__PURE__ */ k({
|
|
|
2724
2724
|
onInput: this.handleInput,
|
|
2725
2725
|
onAnimationstart: this.handleAutoFill,
|
|
2726
2726
|
onAnimationend: this.handleAutoFillEnd
|
|
2727
|
-
}), u = D.call(this, this.$props.inputPrefix, T.call(this)), h = D.call(this, this.$props.inputSuffix, T.call(this)), m =
|
|
2727
|
+
}), u = D.call(this, this.$props.inputPrefix, T.call(this)), h = D.call(this, this.$props.inputSuffix, T.call(this)), m = _.call(this, {
|
|
2728
2728
|
h: x,
|
|
2729
2729
|
template: u,
|
|
2730
2730
|
additionalProps: {
|
|
2731
2731
|
value: this.computedValue,
|
|
2732
2732
|
valid: e
|
|
2733
2733
|
}
|
|
2734
|
-
}), f =
|
|
2734
|
+
}), f = _.call(this, {
|
|
2735
2735
|
h: x,
|
|
2736
2736
|
template: h,
|
|
2737
2737
|
additionalProps: {
|
|
@@ -2752,11 +2752,11 @@ const Fn = /* @__PURE__ */ k({
|
|
|
2752
2752
|
class: "k-input-suffix"
|
|
2753
2753
|
}, [f]), o && e && d(W, {
|
|
2754
2754
|
name: "check",
|
|
2755
|
-
icon:
|
|
2755
|
+
icon: Pi,
|
|
2756
2756
|
class: "k-input-validation-icon"
|
|
2757
2757
|
}, null), o && !e && d(W, {
|
|
2758
2758
|
name: "exclamation-circle",
|
|
2759
|
-
icon:
|
|
2759
|
+
icon: Ri,
|
|
2760
2760
|
class: "k-input-validation-icon"
|
|
2761
2761
|
}, null), a && d(W, {
|
|
2762
2762
|
name: "loading",
|
|
@@ -2766,9 +2766,9 @@ const Fn = /* @__PURE__ */ k({
|
|
|
2766
2766
|
class: "k-clear-value"
|
|
2767
2767
|
}, [d(W, {
|
|
2768
2768
|
name: "x",
|
|
2769
|
-
icon:
|
|
2769
|
+
icon: St
|
|
2770
2770
|
}, null)])]);
|
|
2771
|
-
return t ? d(
|
|
2771
|
+
return t ? d(Pn, {
|
|
2772
2772
|
label: t,
|
|
2773
2773
|
editorId: c,
|
|
2774
2774
|
editorValue: this.computedValue,
|
|
@@ -2776,7 +2776,7 @@ const Fn = /* @__PURE__ */ k({
|
|
|
2776
2776
|
editorDisabled: this.$props.disabled,
|
|
2777
2777
|
editorPlaceholder: this.$data.focused ? this.$props.placeholder : "",
|
|
2778
2778
|
dir: this.$props.dir
|
|
2779
|
-
},
|
|
2779
|
+
}, Fn(y) ? y : {
|
|
2780
2780
|
default: () => [y]
|
|
2781
2781
|
}) : y;
|
|
2782
2782
|
},
|
|
@@ -2903,7 +2903,7 @@ const Fn = /* @__PURE__ */ k({
|
|
|
2903
2903
|
}
|
|
2904
2904
|
}
|
|
2905
2905
|
});
|
|
2906
|
-
const
|
|
2906
|
+
const An = {
|
|
2907
2907
|
name: "@progress/kendo-vue-layout",
|
|
2908
2908
|
productName: "Kendo UI for Vue",
|
|
2909
2909
|
productCode: "KENDOUIVUE",
|
|
@@ -2912,7 +2912,7 @@ const Vn = {
|
|
|
2912
2912
|
version: "6.4.1",
|
|
2913
2913
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/components/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
2914
2914
|
};
|
|
2915
|
-
const
|
|
2915
|
+
const ct = /* @__PURE__ */ k({
|
|
2916
2916
|
name: "KendoActionSheetItem",
|
|
2917
2917
|
emits: {
|
|
2918
2918
|
click: null
|
|
@@ -2949,7 +2949,7 @@ const dt = /* @__PURE__ */ k({
|
|
|
2949
2949
|
}
|
|
2950
2950
|
},
|
|
2951
2951
|
render() {
|
|
2952
|
-
const e =
|
|
2952
|
+
const e = _.call(this, {
|
|
2953
2953
|
h: x,
|
|
2954
2954
|
template: this.$props.content,
|
|
2955
2955
|
defaultRendering: null,
|
|
@@ -2993,7 +2993,7 @@ const dt = /* @__PURE__ */ k({
|
|
|
2993
2993
|
}
|
|
2994
2994
|
}
|
|
2995
2995
|
});
|
|
2996
|
-
const
|
|
2996
|
+
const _n = /* @__PURE__ */ k({
|
|
2997
2997
|
name: "KendoActionSheetHeader",
|
|
2998
2998
|
props: {
|
|
2999
2999
|
headerClassName: {
|
|
@@ -3012,11 +3012,11 @@ const Rn = /* @__PURE__ */ k({
|
|
|
3012
3012
|
} = this.$props;
|
|
3013
3013
|
return d("div", {
|
|
3014
3014
|
style: t,
|
|
3015
|
-
class:
|
|
3015
|
+
class: A("k-actionsheet-titlebar", i)
|
|
3016
3016
|
}, [e]);
|
|
3017
3017
|
}
|
|
3018
3018
|
});
|
|
3019
|
-
const
|
|
3019
|
+
const zn = /* @__PURE__ */ k({
|
|
3020
3020
|
name: "KendoActionSheetFooter",
|
|
3021
3021
|
props: {
|
|
3022
3022
|
footerClassName: {
|
|
@@ -3029,11 +3029,11 @@ const An = /* @__PURE__ */ k({
|
|
|
3029
3029
|
footerClassName: t
|
|
3030
3030
|
} = this.$props;
|
|
3031
3031
|
return d("div", {
|
|
3032
|
-
class:
|
|
3032
|
+
class: A("k-actionsheet-footer", t)
|
|
3033
3033
|
}, [e]);
|
|
3034
3034
|
}
|
|
3035
3035
|
});
|
|
3036
|
-
const
|
|
3036
|
+
const Bn = /* @__PURE__ */ k({
|
|
3037
3037
|
name: "KendoActionSheetContent",
|
|
3038
3038
|
props: {
|
|
3039
3039
|
contentClassName: {
|
|
@@ -3046,14 +3046,14 @@ const _n = /* @__PURE__ */ k({
|
|
|
3046
3046
|
contentClassName: t
|
|
3047
3047
|
} = this.$props;
|
|
3048
3048
|
return d("div", {
|
|
3049
|
-
class:
|
|
3049
|
+
class: A("k-actionsheet-content", t)
|
|
3050
3050
|
}, [e]);
|
|
3051
3051
|
}
|
|
3052
3052
|
});
|
|
3053
|
-
function
|
|
3053
|
+
function Ve(e) {
|
|
3054
3054
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ce(e);
|
|
3055
3055
|
}
|
|
3056
|
-
const
|
|
3056
|
+
const jn = 300, Un = /* @__PURE__ */ k({
|
|
3057
3057
|
name: "KendoActionSheet",
|
|
3058
3058
|
props: {
|
|
3059
3059
|
expand: Boolean,
|
|
@@ -3063,7 +3063,7 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3063
3063
|
},
|
|
3064
3064
|
animationDuration: {
|
|
3065
3065
|
type: Number,
|
|
3066
|
-
default:
|
|
3066
|
+
default: jn
|
|
3067
3067
|
},
|
|
3068
3068
|
animationStyles: Object,
|
|
3069
3069
|
tabIndex: Number,
|
|
@@ -3108,15 +3108,15 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3108
3108
|
this.bottomPosition = {
|
|
3109
3109
|
bottom: "0px",
|
|
3110
3110
|
width: "100%"
|
|
3111
|
-
}, this.guidId = ae(), q(
|
|
3111
|
+
}, this.guidId = ae(), q(An);
|
|
3112
3112
|
},
|
|
3113
3113
|
mounted() {
|
|
3114
3114
|
this.element = re(this, "actionSheet"), this.$props.expand && !this.show && (this.show = !0);
|
|
3115
3115
|
},
|
|
3116
3116
|
updated() {
|
|
3117
3117
|
if (this.element = re(this, "actionSheet"), this.$props.expand && !this.show && (this.show = !0), this.element && !this.$props.className && (this.element.style.setProperty("--kendo-actionsheet-height", "auto"), this.element.style.setProperty("--kendo-actionsheet-max-height", "none")), this.element && this.$props.navigatable) {
|
|
3118
|
-
const e = this.$props.navigatableElements, t = [".k-actionsheet-item", ".k-actionsheet-actions", ...[".k-actionsheet-footer", ".k-actionsheet-content", ".k-actionsheet-titlebar"].map((i) =>
|
|
3119
|
-
this.navigation = new
|
|
3118
|
+
const e = this.$props.navigatableElements, t = [".k-actionsheet-item", ".k-actionsheet-actions", ...[".k-actionsheet-footer", ".k-actionsheet-content", ".k-actionsheet-titlebar"].map((i) => Ni.concat(e).map((n) => `${i} ${n}`)).flat()];
|
|
3119
|
+
this.navigation = new Oi({
|
|
3120
3120
|
tabIndex: this.$props.tabIndex || 0,
|
|
3121
3121
|
root: this.element,
|
|
3122
3122
|
rovingTabIndex: !1,
|
|
@@ -3164,20 +3164,20 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3164
3164
|
contentClassName: c,
|
|
3165
3165
|
footerClassName: p,
|
|
3166
3166
|
actions: u
|
|
3167
|
-
} = this.$props, h = D.call(this, this.$props.header, T.call(this)), m =
|
|
3167
|
+
} = this.$props, h = D.call(this, this.$props.header, T.call(this)), m = _.call(this, {
|
|
3168
3168
|
h: x,
|
|
3169
3169
|
template: h,
|
|
3170
3170
|
defaultRendering: null
|
|
3171
|
-
}), f = D.call(this, this.$props.content, T.call(this)), y =
|
|
3171
|
+
}), f = D.call(this, this.$props.content, T.call(this)), y = _.call(this, {
|
|
3172
3172
|
h: x,
|
|
3173
3173
|
template: f,
|
|
3174
3174
|
defaultRendering: null
|
|
3175
|
-
}), v = D.call(this, this.$props.footer, T.call(this)), b =
|
|
3175
|
+
}), v = D.call(this, this.$props.footer, T.call(this)), b = _.call(this, {
|
|
3176
3176
|
h: x,
|
|
3177
3177
|
template: v,
|
|
3178
3178
|
defaultRendering: null
|
|
3179
3179
|
}), I = d("div", {
|
|
3180
|
-
class:
|
|
3180
|
+
class: A("k-actionsheet", a, {
|
|
3181
3181
|
"k-actionsheet-bottom": !a
|
|
3182
3182
|
}),
|
|
3183
3183
|
role: "dialog",
|
|
@@ -3186,9 +3186,9 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3186
3186
|
"aria-labelledby": this.guidId,
|
|
3187
3187
|
ref: me(this, "actionSheet"),
|
|
3188
3188
|
onKeydown: this.handleKeyDown
|
|
3189
|
-
}, [this.$props.header && !e && !t && d(
|
|
3189
|
+
}, [this.$props.header && !e && !t && d(_n, {
|
|
3190
3190
|
headerClassName: l
|
|
3191
|
-
},
|
|
3191
|
+
}, Ve(m) ? m : {
|
|
3192
3192
|
default: () => [m]
|
|
3193
3193
|
}), (e || t) && d("div", {
|
|
3194
3194
|
class: "k-actionsheet-titlebar k-text-center"
|
|
@@ -3201,9 +3201,9 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3201
3201
|
class: "k-actionsheet-subtitle"
|
|
3202
3202
|
}, [t])]), u && d("div", {
|
|
3203
3203
|
class: "k-actionsheet-actions"
|
|
3204
|
-
}, [u])])]), this.$props.content ? d(
|
|
3204
|
+
}, [u])])]), this.$props.content ? d(Bn, {
|
|
3205
3205
|
contentClassName: c
|
|
3206
|
-
},
|
|
3206
|
+
}, Ve(y) ? y : {
|
|
3207
3207
|
default: () => [y]
|
|
3208
3208
|
}) : d("div", {
|
|
3209
3209
|
class: "k-actionsheet-content"
|
|
@@ -3211,8 +3211,8 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3211
3211
|
class: "k-list-ul",
|
|
3212
3212
|
role: "group"
|
|
3213
3213
|
}, [this.topGroupItems && this.topGroupItems.map(function(g, $) {
|
|
3214
|
-
const
|
|
3215
|
-
return d(
|
|
3214
|
+
const V = D.call(this, this.$props.item || g.content, T.call(this));
|
|
3215
|
+
return d(ct, {
|
|
3216
3216
|
style: g.style,
|
|
3217
3217
|
class: g.class,
|
|
3218
3218
|
title: g.title,
|
|
@@ -3226,7 +3226,7 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3226
3226
|
iconSize: g.iconSize,
|
|
3227
3227
|
iconColor: g.iconColor,
|
|
3228
3228
|
tabIndex: o || 0,
|
|
3229
|
-
content:
|
|
3229
|
+
content: V,
|
|
3230
3230
|
onClick: this.handleItemClick
|
|
3231
3231
|
}, null);
|
|
3232
3232
|
}, this)]), this.shouldRenderSeparator && d("hr", {
|
|
@@ -3235,11 +3235,11 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3235
3235
|
class: "k-list-ul",
|
|
3236
3236
|
role: "group"
|
|
3237
3237
|
}, [this.bottomGroupItems && this.bottomGroupItems.map(function(g, $) {
|
|
3238
|
-
var
|
|
3239
|
-
return d(
|
|
3238
|
+
var V;
|
|
3239
|
+
return d(ct, {
|
|
3240
3240
|
style: g.style,
|
|
3241
3241
|
class: g.class,
|
|
3242
|
-
id: $ + (((
|
|
3242
|
+
id: $ + (((V = this.topGroupItems) == null ? void 0 : V.length) || 0),
|
|
3243
3243
|
key: $,
|
|
3244
3244
|
item: g,
|
|
3245
3245
|
title: g.title,
|
|
@@ -3252,9 +3252,9 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3252
3252
|
tabIndex: o || 0,
|
|
3253
3253
|
onClick: this.handleItemClick
|
|
3254
3254
|
}, null);
|
|
3255
|
-
}, this)])]), this.$props.footer && d(
|
|
3255
|
+
}, this)])]), this.$props.footer && d(zn, {
|
|
3256
3256
|
footerClassName: p
|
|
3257
|
-
},
|
|
3257
|
+
}, Ve(b) ? b : {
|
|
3258
3258
|
default: () => [b]
|
|
3259
3259
|
})]);
|
|
3260
3260
|
return this.show && d("div", {
|
|
@@ -3262,7 +3262,7 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3262
3262
|
}, [d("div", {
|
|
3263
3263
|
class: "k-overlay",
|
|
3264
3264
|
onClick: this.handleOverlayClick
|
|
3265
|
-
}, null), n ? d(
|
|
3265
|
+
}, null), n ? d(Ct, {
|
|
3266
3266
|
onExited: this.hideActionSheet,
|
|
3267
3267
|
direction: "up",
|
|
3268
3268
|
componentChildStyle: i || this.bottomPosition,
|
|
@@ -3309,19 +3309,19 @@ const Pn = 300, zn = /* @__PURE__ */ k({
|
|
|
3309
3309
|
}
|
|
3310
3310
|
}
|
|
3311
3311
|
});
|
|
3312
|
-
const _e = "dropdowns.nodata",
|
|
3313
|
-
[
|
|
3314
|
-
[
|
|
3312
|
+
const _e = "dropdowns.nodata", Kn = "dropdowns.expandbutton", Hn = "dropdowns.clear", ze = "dropdowns.select", Be = "dropdowns.defaultLabel", Wn = "dropdowns.adaptiveModeFooterApply", Zn = "dropdowns.adaptiveModeFooterCancel", Ge = {
|
|
3313
|
+
[Hn]: "clear",
|
|
3314
|
+
[Kn]: "expand button",
|
|
3315
3315
|
[_e]: "NO DATA FOUND.",
|
|
3316
|
-
[
|
|
3317
|
-
[
|
|
3318
|
-
[
|
|
3319
|
-
[
|
|
3316
|
+
[ze]: "Select",
|
|
3317
|
+
[Be]: "Filter",
|
|
3318
|
+
[Wn]: "Apply",
|
|
3319
|
+
[Zn]: "Cancel"
|
|
3320
3320
|
};
|
|
3321
3321
|
const {
|
|
3322
|
-
sizeMap:
|
|
3323
|
-
roundedMap:
|
|
3324
|
-
} = le,
|
|
3322
|
+
sizeMap: Gn,
|
|
3323
|
+
roundedMap: Yn
|
|
3324
|
+
} = le, Jn = /* @__PURE__ */ k({
|
|
3325
3325
|
name: "list-filter",
|
|
3326
3326
|
emits: {
|
|
3327
3327
|
keydown: null,
|
|
@@ -3377,8 +3377,8 @@ const {
|
|
|
3377
3377
|
} = this.$props;
|
|
3378
3378
|
return {
|
|
3379
3379
|
"k-searchbox k-input": !0,
|
|
3380
|
-
[`k-input-${
|
|
3381
|
-
[`k-rounded-${
|
|
3380
|
+
[`k-input-${Gn[e] || e}`]: e,
|
|
3381
|
+
[`k-rounded-${Yn[t] || t}`]: t,
|
|
3382
3382
|
[`k-input-${i}`]: i
|
|
3383
3383
|
};
|
|
3384
3384
|
}
|
|
@@ -3405,7 +3405,7 @@ const {
|
|
|
3405
3405
|
return e(W, {
|
|
3406
3406
|
class: "k-input-icon",
|
|
3407
3407
|
name: "search",
|
|
3408
|
-
icon:
|
|
3408
|
+
icon: Fi
|
|
3409
3409
|
});
|
|
3410
3410
|
}
|
|
3411
3411
|
},
|
|
@@ -3421,8 +3421,8 @@ const {
|
|
|
3421
3421
|
ariaControlsId: s,
|
|
3422
3422
|
ariaActivedescendantId: o,
|
|
3423
3423
|
tabIndex: a
|
|
3424
|
-
} = this.$props, r = ge(this).toLanguageString(
|
|
3425
|
-
return d(
|
|
3424
|
+
} = this.$props, r = ge(this).toLanguageString(Be, Ge[Be]), l = function() {
|
|
3425
|
+
return d(Rn, {
|
|
3426
3426
|
ref: me(this, "input"),
|
|
3427
3427
|
value: this.$props.value,
|
|
3428
3428
|
onInput: this.onChange,
|
|
@@ -3447,32 +3447,32 @@ const {
|
|
|
3447
3447
|
}, [l.call(this)]);
|
|
3448
3448
|
}
|
|
3449
3449
|
});
|
|
3450
|
-
const te = (e) => e != null,
|
|
3450
|
+
const te = (e) => e != null, qn = (e, t) => {
|
|
3451
3451
|
for (let i = 0; i < e.length; i++)
|
|
3452
3452
|
if (e.charAt(i) !== t)
|
|
3453
3453
|
return !1;
|
|
3454
3454
|
return !0;
|
|
3455
|
-
},
|
|
3455
|
+
}, Qn = (e, t, i) => {
|
|
3456
3456
|
let n = e;
|
|
3457
3457
|
return i && (n = [i].concat(n)), n.slice(t).concat(n.slice(0, t));
|
|
3458
|
-
},
|
|
3458
|
+
}, pt = (e, t, i) => {
|
|
3459
3459
|
if (!te(e))
|
|
3460
3460
|
return !1;
|
|
3461
3461
|
let n = String(e);
|
|
3462
3462
|
return i && (n = n.toLowerCase()), n.indexOf(t) === 0;
|
|
3463
|
-
},
|
|
3463
|
+
}, Xn = (e, t, i, n, s) => {
|
|
3464
3464
|
const o = e.offsetHeight, a = t * i + (s ? n - e.scrollTop : 0);
|
|
3465
3465
|
if (s) {
|
|
3466
3466
|
let r = 0;
|
|
3467
3467
|
a + t > o ? r = a + t - o : a < 0 && (r = a), r !== 0 ? e.scrollTop += r : e.scrollTop === 0 && n !== 0 && (e.scrollTop = n);
|
|
3468
3468
|
} else
|
|
3469
3469
|
a + t > o + e.scrollTop ? e.scrollTop = a + t - o : a < e.scrollTop && (e.scrollTop -= e.scrollTop - a);
|
|
3470
|
-
},
|
|
3470
|
+
}, es = (e, t, i) => {
|
|
3471
3471
|
let n = -1;
|
|
3472
3472
|
if (t) {
|
|
3473
3473
|
t = t.toLowerCase();
|
|
3474
3474
|
for (let s = 0; s < e.length; s++) {
|
|
3475
|
-
const o = (
|
|
3475
|
+
const o = (F(e[s], i) || "") + "";
|
|
3476
3476
|
if (o && o.toLowerCase().startsWith(t)) {
|
|
3477
3477
|
n = s;
|
|
3478
3478
|
break;
|
|
@@ -3480,10 +3480,10 @@ const te = (e) => e != null, Gn = (e, t) => {
|
|
|
3480
3480
|
}
|
|
3481
3481
|
}
|
|
3482
3482
|
return n;
|
|
3483
|
-
},
|
|
3483
|
+
}, ts = (e, t, i, n = !1) => {
|
|
3484
3484
|
const s = (o) => n ? o : o.toLowerCase();
|
|
3485
|
-
return e.findIndex((o) => i ? s(
|
|
3486
|
-
},
|
|
3485
|
+
return e.findIndex((o) => i ? s(F(o, i)) === s(t) : s(t) === s(o.toString()));
|
|
3486
|
+
}, F = (e, t) => {
|
|
3487
3487
|
if (t && te(e)) {
|
|
3488
3488
|
const i = t.split(".");
|
|
3489
3489
|
let n = e;
|
|
@@ -3492,16 +3492,16 @@ const te = (e) => e != null, Gn = (e, t) => {
|
|
|
3492
3492
|
}), n;
|
|
3493
3493
|
}
|
|
3494
3494
|
return e;
|
|
3495
|
-
}, L = (e, t, i) => e === t || te(e) === te(t) &&
|
|
3495
|
+
}, L = (e, t, i) => e === t || te(e) === te(t) && F(e, i) === F(t, i), is = (e, t, i) => {
|
|
3496
3496
|
if (t) {
|
|
3497
|
-
const n =
|
|
3498
|
-
return n !== -1 ? e[n] : e[
|
|
3497
|
+
const n = ts(e, t, i, !0);
|
|
3498
|
+
return n !== -1 ? e[n] : e[es(e, t, i)];
|
|
3499
3499
|
}
|
|
3500
3500
|
return e[0];
|
|
3501
|
-
},
|
|
3501
|
+
}, ut = (e) => {
|
|
3502
3502
|
e.target.nodeName !== "INPUT" && e.preventDefault();
|
|
3503
|
-
},
|
|
3504
|
-
const
|
|
3503
|
+
}, ns = typeof window < "u" && /Firefox/.test(window.navigator.userAgent), ss = 17895697;
|
|
3504
|
+
const os = /* @__PURE__ */ k({
|
|
3505
3505
|
name: "list-default-item",
|
|
3506
3506
|
props: {
|
|
3507
3507
|
defaultItem: [Object, String],
|
|
@@ -3529,13 +3529,13 @@ const is = /* @__PURE__ */ k({
|
|
|
3529
3529
|
style: {
|
|
3530
3530
|
position: "unset"
|
|
3531
3531
|
},
|
|
3532
|
-
class:
|
|
3532
|
+
class: A("k-list-optionlabel", {
|
|
3533
3533
|
"k-selected": e
|
|
3534
3534
|
})
|
|
3535
|
-
}, [
|
|
3535
|
+
}, [F(t, i) || ""]);
|
|
3536
3536
|
}
|
|
3537
3537
|
});
|
|
3538
|
-
const
|
|
3538
|
+
const as = /* @__PURE__ */ k({
|
|
3539
3539
|
name: "KendoListItem",
|
|
3540
3540
|
inheritAttrs: !1,
|
|
3541
3541
|
props: {
|
|
@@ -3569,7 +3569,7 @@ const ns = /* @__PURE__ */ k({
|
|
|
3569
3569
|
id: this.$props.id,
|
|
3570
3570
|
role: "option",
|
|
3571
3571
|
"aria-selected": e,
|
|
3572
|
-
class:
|
|
3572
|
+
class: A("k-list-item", {
|
|
3573
3573
|
"k-selected": e,
|
|
3574
3574
|
"k-focus": this.$props.focused,
|
|
3575
3575
|
[this.$attrs.class]: this.$attrs.class
|
|
@@ -3580,8 +3580,8 @@ const ns = /* @__PURE__ */ k({
|
|
|
3580
3580
|
}
|
|
3581
3581
|
}, [d("span", {
|
|
3582
3582
|
class: "k-list-item-text"
|
|
3583
|
-
}, [
|
|
3584
|
-
return
|
|
3583
|
+
}, [F(this.$props.dataItem, this.$props.textField).toString()])]);
|
|
3584
|
+
return _.call(this, {
|
|
3585
3585
|
h: x,
|
|
3586
3586
|
template: this.$props.render,
|
|
3587
3587
|
defaultRendering: t,
|
|
@@ -3595,7 +3595,7 @@ const ns = /* @__PURE__ */ k({
|
|
|
3595
3595
|
});
|
|
3596
3596
|
}
|
|
3597
3597
|
});
|
|
3598
|
-
const
|
|
3598
|
+
const rs = /* @__PURE__ */ k({
|
|
3599
3599
|
name: "KendoListItem",
|
|
3600
3600
|
inheritAttrs: !1,
|
|
3601
3601
|
props: {
|
|
@@ -3619,7 +3619,7 @@ const ss = /* @__PURE__ */ k({
|
|
|
3619
3619
|
}, [d("span", {
|
|
3620
3620
|
class: n ? void 0 : "k-list-item-text"
|
|
3621
3621
|
}, [t])]);
|
|
3622
|
-
return
|
|
3622
|
+
return _.call(this, {
|
|
3623
3623
|
h: x,
|
|
3624
3624
|
template: this.$props.render,
|
|
3625
3625
|
defaultRendering: s,
|
|
@@ -3629,7 +3629,7 @@ const ss = /* @__PURE__ */ k({
|
|
|
3629
3629
|
});
|
|
3630
3630
|
}
|
|
3631
3631
|
});
|
|
3632
|
-
const
|
|
3632
|
+
const ls = /* @__PURE__ */ k({
|
|
3633
3633
|
name: "list",
|
|
3634
3634
|
emits: {
|
|
3635
3635
|
listclick: null,
|
|
@@ -3665,7 +3665,7 @@ const os = /* @__PURE__ */ k({
|
|
|
3665
3665
|
}
|
|
3666
3666
|
},
|
|
3667
3667
|
setup() {
|
|
3668
|
-
const e = K(null), t =
|
|
3668
|
+
const e = K(null), t = Ue("kendoLocalizationService", {});
|
|
3669
3669
|
return {
|
|
3670
3670
|
listRef: e,
|
|
3671
3671
|
kendoLocalizationService: t
|
|
@@ -3693,8 +3693,8 @@ const os = /* @__PURE__ */ k({
|
|
|
3693
3693
|
} = this.$props, l = function() {
|
|
3694
3694
|
const p = this.$props.noDataRender, u = d("div", {
|
|
3695
3695
|
class: "k-nodata"
|
|
3696
|
-
}, [d("div", null, [t.toLanguageString(_e,
|
|
3697
|
-
return
|
|
3696
|
+
}, [d("div", null, [t.toLanguageString(_e, Ge[_e])])]);
|
|
3697
|
+
return _.call(this, {
|
|
3698
3698
|
h: x,
|
|
3699
3699
|
template: p,
|
|
3700
3700
|
defaultRendering: u
|
|
@@ -3712,17 +3712,17 @@ const os = /* @__PURE__ */ k({
|
|
|
3712
3712
|
itemRender: I,
|
|
3713
3713
|
groupHeaderItemRender: g,
|
|
3714
3714
|
dataItems: $
|
|
3715
|
-
} = this.$props,
|
|
3715
|
+
} = this.$props, V = Array.isArray(v);
|
|
3716
3716
|
let z = 0;
|
|
3717
|
-
return $.map(function(S,
|
|
3718
|
-
const O = m +
|
|
3717
|
+
return $.map(function(S, P) {
|
|
3718
|
+
const O = m + P, B = y && (!V && L(S, v, u) || V && v.findIndex((Ne) => L(Ne, S, u)) !== -1);
|
|
3719
3719
|
let ie, H, pe;
|
|
3720
|
-
return
|
|
3720
|
+
return P > 0 && b !== void 0 && (H = F(S, b), pe = F($[P - 1], b), H && pe && H !== pe !== void 0 && (ie = H)), ie !== void 0 && Object.keys(S).length === 1 && (z += 1), ie !== void 0 && S[b] !== void 0 && Object.keys(S).length === 1 ? d(rs, {
|
|
3721
3721
|
id: `option-${h}-${O}`,
|
|
3722
3722
|
key: O + "-group-item",
|
|
3723
3723
|
group: ie,
|
|
3724
3724
|
render: g
|
|
3725
|
-
}, null) : d(
|
|
3725
|
+
}, null) : d(as, {
|
|
3726
3726
|
id: `option-${h}-${O}`,
|
|
3727
3727
|
dataItem: S,
|
|
3728
3728
|
selected: B,
|
|
@@ -3751,8 +3751,8 @@ const os = /* @__PURE__ */ k({
|
|
|
3751
3751
|
}, [c]), e]) : l.call(this);
|
|
3752
3752
|
}
|
|
3753
3753
|
});
|
|
3754
|
-
var
|
|
3755
|
-
let
|
|
3754
|
+
var ds = Object.defineProperty, cs = (e, t, i) => t in e ? ds(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, U = (e, t, i) => cs(e, typeof t != "symbol" ? t + "" : t, i);
|
|
3755
|
+
let ps = class {
|
|
3756
3756
|
constructor() {
|
|
3757
3757
|
U(this, "containerHeight", 0), U(this, "skip", 0), U(this, "total", 0), U(this, "enabled", !1), U(this, "pageSize", 0), U(this, "itemHeight", 0), U(this, "prevScrollPos", 0), U(this, "listTranslate", 0), U(this, "scrollSyncing", !1), U(this, "scrollerRef", (t) => {
|
|
3758
3758
|
this.container = t, t && (t.setAttribute("unselectable", "on"), setTimeout(() => this.calcScrollElementHeight, 0));
|
|
@@ -3763,7 +3763,7 @@ let ls = class {
|
|
|
3763
3763
|
const n = (t = this.container) == null ? void 0 : t.children[0], s = n ? Array.from(n.children) : [];
|
|
3764
3764
|
this.itemHeight = s[0] ? s[0].offsetHeight : this.itemHeight;
|
|
3765
3765
|
const o = this.itemHeight * (this.total - s.length);
|
|
3766
|
-
this.containerHeight =
|
|
3766
|
+
this.containerHeight = ns ? Math.min(ss, o) : o;
|
|
3767
3767
|
const a = this.containerHeight;
|
|
3768
3768
|
return this.scrollElement && (i = this.scrollElement.style.height !== a + "px", i && (this.scrollElement.style.height = a + "px")), this.scrollSyncing = !1, i;
|
|
3769
3769
|
}), this.scrollHandler = this.scrollHandler.bind(this);
|
|
@@ -3822,23 +3822,23 @@ let ls = class {
|
|
|
3822
3822
|
return t = Math.max(0, t), t = Math.min(this.containerHeight, t), t;
|
|
3823
3823
|
}
|
|
3824
3824
|
};
|
|
3825
|
-
class
|
|
3825
|
+
class us {
|
|
3826
3826
|
navigate(t) {
|
|
3827
3827
|
const i = t.keyCode;
|
|
3828
|
-
if (i ===
|
|
3828
|
+
if (i === w.up || i === w.left)
|
|
3829
3829
|
return this.next({ current: t.current, min: t.min, max: t.max, step: -1 });
|
|
3830
|
-
if (i ===
|
|
3830
|
+
if (i === w.down || i === w.right)
|
|
3831
3831
|
return this.next({ current: t.current, min: t.min, max: t.max, step: 1 });
|
|
3832
|
-
if (i ===
|
|
3832
|
+
if (i === w.home)
|
|
3833
3833
|
return 0;
|
|
3834
|
-
if (i ===
|
|
3834
|
+
if (i === w.end)
|
|
3835
3835
|
return t.max;
|
|
3836
3836
|
}
|
|
3837
3837
|
next(t) {
|
|
3838
3838
|
return te(t.current) ? Math.min(t.max, Math.max(t.current + t.step, t.min)) : t.min;
|
|
3839
3839
|
}
|
|
3840
3840
|
}
|
|
3841
|
-
const
|
|
3841
|
+
const hs = {
|
|
3842
3842
|
name: "@progress/kendo-vue-dropdowns",
|
|
3843
3843
|
productName: "Kendo UI for Vue",
|
|
3844
3844
|
productCode: "KENDOUIVUE",
|
|
@@ -3847,20 +3847,20 @@ const cs = {
|
|
|
3847
3847
|
version: "6.4.1",
|
|
3848
3848
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/"
|
|
3849
3849
|
};
|
|
3850
|
-
var
|
|
3851
|
-
class
|
|
3850
|
+
var ms = Object.defineProperty, fs = (e, t, i) => t in e ? ms(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, R = (e, t, i) => fs(e, typeof t != "symbol" ? t + "" : t, i);
|
|
3851
|
+
class Vt {
|
|
3852
3852
|
constructor(t) {
|
|
3853
|
-
|
|
3853
|
+
R(this, "vs", new ps()), R(this, "navigation", new us()), R(this, "handleItemClick", (i, n) => {
|
|
3854
3854
|
const s = this.initState();
|
|
3855
3855
|
s.event = n, this.component.handleItemSelect(i, s), this.togglePopup(s), this.applyState(s);
|
|
3856
|
-
}),
|
|
3856
|
+
}), R(this, "handleFocus", (i) => {
|
|
3857
3857
|
if (!this.component.currentFocused) {
|
|
3858
3858
|
const n = this.initState();
|
|
3859
3859
|
n.data.currentFocused = !0, n.events.push({
|
|
3860
3860
|
type: "focus"
|
|
3861
3861
|
}), n.event = i, this.applyState(n);
|
|
3862
3862
|
}
|
|
3863
|
-
}),
|
|
3863
|
+
}), R(this, "filterChanged", (i, n) => {
|
|
3864
3864
|
const s = this.component, {
|
|
3865
3865
|
textField: o,
|
|
3866
3866
|
filterable: a
|
|
@@ -3874,19 +3874,19 @@ class Dt {
|
|
|
3874
3874
|
value: i
|
|
3875
3875
|
}
|
|
3876
3876
|
}), this.repositionPopup());
|
|
3877
|
-
}),
|
|
3877
|
+
}), R(this, "togglePopup", (i) => {
|
|
3878
3878
|
const n = this.component.$props, s = n.opened !== void 0 ? n.opened : this.component.currentOpened;
|
|
3879
3879
|
n.opened === void 0 && (i.data.currentOpened = !s), s ? i.events.push({
|
|
3880
3880
|
type: "close"
|
|
3881
3881
|
}) : (i.events.push({
|
|
3882
3882
|
type: "open"
|
|
3883
3883
|
}), this.calculatePopupWidth());
|
|
3884
|
-
}),
|
|
3884
|
+
}), R(this, "pageChange", (i, n) => {
|
|
3885
3885
|
const s = this.initState();
|
|
3886
3886
|
s.event = n, this.triggerOnPageChange(s, i.skip, i.take), this.applyState(s);
|
|
3887
|
-
}),
|
|
3887
|
+
}), R(this, "scrollChange", (i) => {
|
|
3888
3888
|
this.component.$emit("scroll", i);
|
|
3889
|
-
}),
|
|
3889
|
+
}), R(this, "scrollToVirtualItem", (i, n) => {
|
|
3890
3890
|
const s = this.vs;
|
|
3891
3891
|
if (s.enabled = !1, i.skip === 0)
|
|
3892
3892
|
s.reset();
|
|
@@ -3897,17 +3897,17 @@ class Dt {
|
|
|
3897
3897
|
o === 0 && (s.calcScrollElementHeight(), o = s.itemHeight * i.skip, s.translateTo(o - s.itemHeight)), s.container && (s.container.scrollTop = o), this.scrollToItem(n, !0);
|
|
3898
3898
|
}
|
|
3899
3899
|
setTimeout(() => s.enabled = !0, 10);
|
|
3900
|
-
}),
|
|
3900
|
+
}), R(this, "getGroupedDataModernMode", (i, n) => {
|
|
3901
3901
|
const s = [];
|
|
3902
3902
|
return i.forEach((o, a) => {
|
|
3903
3903
|
i[a - 1] && o[n] !== i[a - 1][n] && s.push({
|
|
3904
3904
|
[n]: o[n]
|
|
3905
3905
|
}), s.push(i[a]);
|
|
3906
3906
|
}), s;
|
|
3907
|
-
}),
|
|
3907
|
+
}), R(this, "resetGroupStickyHeader", (i, n) => {
|
|
3908
3908
|
const s = this.initState();
|
|
3909
3909
|
i !== n.group && n.state && (n.state.data.group = i, this.applyState(s));
|
|
3910
|
-
}), q(
|
|
3910
|
+
}), q(hs), this.listBoxId = ae(), this.guid = ae(), this.component = t, this.vs.PageChange = this.pageChange, this.vs.ScrollChange = this.scrollChange;
|
|
3911
3911
|
}
|
|
3912
3912
|
didMount() {
|
|
3913
3913
|
const t = this.component.$props, i = t.popupSettings, n = t.style, s = i && i.width;
|
|
@@ -3927,7 +3927,7 @@ class Dt {
|
|
|
3927
3927
|
const o = this.vs, a = o.container || n.parentNode;
|
|
3928
3928
|
if (a) {
|
|
3929
3929
|
const r = i !== void 0 ? i : o.enabled;
|
|
3930
|
-
|
|
3930
|
+
Xn(a, s.offsetHeight, t, o.translate, r);
|
|
3931
3931
|
}
|
|
3932
3932
|
}
|
|
3933
3933
|
}
|
|
@@ -3994,7 +3994,7 @@ class Dt {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
getTemplateDef(t, i) {
|
|
3996
3996
|
const n = D.call(this, t, T.call(this));
|
|
3997
|
-
return
|
|
3997
|
+
return _.call(this, {
|
|
3998
3998
|
h: i,
|
|
3999
3999
|
template: n
|
|
4000
4000
|
});
|
|
@@ -4004,7 +4004,7 @@ class Dt {
|
|
|
4004
4004
|
return i ? i.height.slice(0, i.height.length - 2) : 0;
|
|
4005
4005
|
}
|
|
4006
4006
|
}
|
|
4007
|
-
|
|
4007
|
+
R(Vt, "defaultProps", {
|
|
4008
4008
|
popupSettings: {
|
|
4009
4009
|
animate: !0,
|
|
4010
4010
|
height: "200px"
|
|
@@ -4012,7 +4012,7 @@ A(Dt, "defaultProps", {
|
|
|
4012
4012
|
required: !1,
|
|
4013
4013
|
validityStyles: !0
|
|
4014
4014
|
});
|
|
4015
|
-
const
|
|
4015
|
+
const ht = /* @__PURE__ */ k({
|
|
4016
4016
|
name: "KendoGroupStickyHeader",
|
|
4017
4017
|
inheritAttrs: !1,
|
|
4018
4018
|
props: {
|
|
@@ -4028,7 +4028,7 @@ const ut = /* @__PURE__ */ k({
|
|
|
4028
4028
|
}, [d("div", {
|
|
4029
4029
|
class: "k-list-header-text"
|
|
4030
4030
|
}, [e])]);
|
|
4031
|
-
return
|
|
4031
|
+
return _.call(this, {
|
|
4032
4032
|
h: x,
|
|
4033
4033
|
template: t,
|
|
4034
4034
|
defaultRendering: i,
|
|
@@ -4038,15 +4038,15 @@ const ut = /* @__PURE__ */ k({
|
|
|
4038
4038
|
});
|
|
4039
4039
|
}
|
|
4040
4040
|
});
|
|
4041
|
-
const
|
|
4041
|
+
const gs = 500, vs = 768;
|
|
4042
4042
|
const {
|
|
4043
|
-
sizeMap:
|
|
4044
|
-
roundedMap:
|
|
4043
|
+
sizeMap: Pe,
|
|
4044
|
+
roundedMap: ys
|
|
4045
4045
|
} = le;
|
|
4046
|
-
function
|
|
4046
|
+
function ks(e) {
|
|
4047
4047
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ce(e);
|
|
4048
4048
|
}
|
|
4049
|
-
const
|
|
4049
|
+
const bs = "Please select a value from the list!", $s = /* @__PURE__ */ k({
|
|
4050
4050
|
name: "KendoDropDownList",
|
|
4051
4051
|
model: {
|
|
4052
4052
|
event: "changemodel"
|
|
@@ -4197,8 +4197,8 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4197
4197
|
},
|
|
4198
4198
|
adaptiveModeBreakpoints: {
|
|
4199
4199
|
default: {
|
|
4200
|
-
small:
|
|
4201
|
-
medium:
|
|
4200
|
+
small: gs,
|
|
4201
|
+
medium: vs
|
|
4202
4202
|
}
|
|
4203
4203
|
}
|
|
4204
4204
|
},
|
|
@@ -4242,7 +4242,7 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4242
4242
|
}
|
|
4243
4243
|
},
|
|
4244
4244
|
created() {
|
|
4245
|
-
this.observer = null, this.valueDuringOnChange = void 0, this.currentText = void 0, this.currentValue = void 0, this.prevCurrentValue = this.computedValue(), this.currentFocused = void 0, this.currentOpened = void 0, this.base = new
|
|
4245
|
+
this.observer = null, this.valueDuringOnChange = void 0, this.currentText = void 0, this.currentValue = void 0, this.prevCurrentValue = this.computedValue(), this.currentFocused = void 0, this.currentOpened = void 0, this.base = new Vt(this), this.anchor = ae(), this.inputId = ae();
|
|
4246
4246
|
},
|
|
4247
4247
|
setup() {
|
|
4248
4248
|
const e = K(null), t = K(null), i = K(null);
|
|
@@ -4253,7 +4253,7 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4253
4253
|
};
|
|
4254
4254
|
},
|
|
4255
4255
|
mounted() {
|
|
4256
|
-
this.observer =
|
|
4256
|
+
this.observer = be && window.ResizeObserver && new ResizeObserver(this.calculateMedia), document != null && document.body && this.observer && this.observer.observe(document.body), this.hasMounted = !0, this.select = re(this, "select"), this.base.wrapper = re(this, "kendoAnchor"), this.base.didMount(), this.setValidity();
|
|
4257
4257
|
},
|
|
4258
4258
|
updated() {
|
|
4259
4259
|
var e;
|
|
@@ -4322,12 +4322,12 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4322
4322
|
return this.valueDuringOnChange !== void 0 ? e = this.valueDuringOnChange : this.$props.value !== void 0 ? e = this.$props.value : this.$props.modelValue !== void 0 ? e = this.$props.modelValue : this.currentValue !== void 0 ? e = this.currentValue : this.$props.defaultValue !== void 0 && (e = this.$props.defaultValue), !te(e) && this.$props.defaultItem !== void 0 && (e = this.$props.defaultItem), this.valuePrimitive && this.findByFieldValue(this.valueField, e) || e;
|
|
4323
4323
|
},
|
|
4324
4324
|
findByFieldValue(e, t) {
|
|
4325
|
-
const i = this.dataItems.findIndex((n) =>
|
|
4325
|
+
const i = this.dataItems.findIndex((n) => F(n, e) === t);
|
|
4326
4326
|
return this.dataItems[i];
|
|
4327
4327
|
},
|
|
4328
4328
|
primitiveValue() {
|
|
4329
4329
|
const e = this.computedValue();
|
|
4330
|
-
return this.valuePrimitive ?
|
|
4330
|
+
return this.valuePrimitive ? F(e, this.valueField) : e;
|
|
4331
4331
|
},
|
|
4332
4332
|
validity() {
|
|
4333
4333
|
const e = this.$props.validationMessage !== void 0, t = !this.$props.required || this.computedValue() !== null && this.computedValue() !== "" && this.computedValue() !== void 0, i = this.$props.valid !== void 0 ? this.$props.valid : t;
|
|
@@ -4376,19 +4376,19 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4376
4376
|
item: v,
|
|
4377
4377
|
itemIndex: b
|
|
4378
4378
|
}));
|
|
4379
|
-
const s = this.searchState.word, o = this.searchState.last, a =
|
|
4379
|
+
const s = this.searchState.word, o = this.searchState.last, a = qn(s, o);
|
|
4380
4380
|
let r = n.length, l = Math.max(0, t.findIndex((v) => L(v, this.computedValue(), i))), c;
|
|
4381
4381
|
this.$props.defaultItem && (c = {
|
|
4382
4382
|
item: this.$props.defaultItem,
|
|
4383
4383
|
itemIndex: -1
|
|
4384
|
-
}, r += 1, l += 1), l += a ? 1 : 0, n =
|
|
4384
|
+
}, r += 1, l += 1), l += a ? 1 : 0, n = Qn(n, l, c);
|
|
4385
4385
|
let p, u, h, m = 0;
|
|
4386
4386
|
const {
|
|
4387
4387
|
textField: f,
|
|
4388
4388
|
ignoreCase: y
|
|
4389
4389
|
} = this.$props;
|
|
4390
4390
|
for (; m < r; ) {
|
|
4391
|
-
if (p =
|
|
4391
|
+
if (p = F(n[m].item, f), u = a && pt(p, o, y), h = pt(p, s, y), u || h) {
|
|
4392
4392
|
m = n[m].itemIndex;
|
|
4393
4393
|
break;
|
|
4394
4394
|
}
|
|
@@ -4411,11 +4411,11 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4411
4411
|
total: 0,
|
|
4412
4412
|
pageSize: 0
|
|
4413
4413
|
}
|
|
4414
|
-
} = this.$props, a = this.isOpen, r = e.keyCode, l = r ===
|
|
4414
|
+
} = this.$props, a = this.isOpen, r = e.keyCode, l = r === w.home || r === w.end, c = r === w.up || r === w.down, p = !a && (e.altKey && r === w.down || r === w.enter || r === w.space), u = a && (e.altKey && r === w.up || r === w.esc), h = i && (r === w.left || r === w.right), m = c || !n && (h || l), f = this.base.initState();
|
|
4415
4415
|
if (f.event = e, !s) {
|
|
4416
4416
|
if (l && this.base.vs.enabled)
|
|
4417
|
-
r ===
|
|
4418
|
-
else if (a && r ===
|
|
4417
|
+
r === w.home ? o.skip !== 0 ? (this.base.triggerOnPageChange(f, 0, o.pageSize), this._navigated = !0) : this.triggerOnChange(t[0], f) : o.skip < o.total - o.pageSize ? (this.base.triggerOnPageChange(f, o.total - o.pageSize, o.pageSize), this._navigated = !0) : this.triggerOnChange(t[t.length - 1], f);
|
|
4418
|
+
else if (a && r === w.enter) {
|
|
4419
4419
|
const y = this.focusedIndex();
|
|
4420
4420
|
y !== void 0 && this.handleItemSelect(y, f), this.base.togglePopup(f), e.preventDefault();
|
|
4421
4421
|
} else p || u ? (this.adaptiveState && this.handleWrapperClick(e), this.base.togglePopup(f), e.preventDefault()) : m && (this.onNavigate(f, r), e.preventDefault());
|
|
@@ -4445,7 +4445,7 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4445
4445
|
t.event = e, this.currentFocused || (t.data.currentFocused = !0), this.base.togglePopup(t), this.applyState(t);
|
|
4446
4446
|
},
|
|
4447
4447
|
handleKeyPress(e) {
|
|
4448
|
-
if (this.$props.filterable || e.keyCode ===
|
|
4448
|
+
if (this.$props.filterable || e.keyCode === w.enter)
|
|
4449
4449
|
return;
|
|
4450
4450
|
let t = String.fromCharCode(e.charCode || e.keyCode);
|
|
4451
4451
|
this.$props.ignoreCase && (t = t.toLowerCase()), t === " " && e.preventDefault(), this.searchState = {
|
|
@@ -4475,13 +4475,13 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4475
4475
|
textField: s,
|
|
4476
4476
|
focusedItemIndex: o
|
|
4477
4477
|
} = this.$props, a = this.computedValue(), r = !(t.findIndex((l) => L(l, a, n)) < 0 && !this.$props.defaultItem);
|
|
4478
|
-
return !r && e && i.skip === 0 ? o ? o(t, e, s) : t.indexOf(
|
|
4478
|
+
return !r && e && i.skip === 0 ? o ? o(t, e, s) : t.indexOf(is(t, e, s)) : !r && i.skip === 0 ? 0 : void 0;
|
|
4479
4479
|
},
|
|
4480
4480
|
focusElement(e) {
|
|
4481
4481
|
this._skipFocusEvent = !0, e.focus(), setTimeout(() => this._skipFocusEvent = !1, 30);
|
|
4482
4482
|
},
|
|
4483
4483
|
setValidity() {
|
|
4484
|
-
this.select && this.select.setCustomValidity && this.select.setCustomValidity(this.validity().valid ? "" : this.$props.validationMessage ||
|
|
4484
|
+
this.select && this.select.setCustomValidity && this.select.setCustomValidity(this.validity().valid ? "" : this.$props.validationMessage || bs);
|
|
4485
4485
|
},
|
|
4486
4486
|
triggerOnChange(e, t) {
|
|
4487
4487
|
L(this.computedValue(), e, this.$props.dataItemKey) || (this.$props.value === void 0 && (this.currentValue = e), this.valueDuringOnChange = e, t.events.push({
|
|
@@ -4544,20 +4544,20 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4544
4544
|
header: b,
|
|
4545
4545
|
footer: I,
|
|
4546
4546
|
groupStickyHeaderItemRender: g
|
|
4547
|
-
} = this.$props, $ = this.isOpen,
|
|
4548
|
-
|
|
4547
|
+
} = this.$props, $ = this.isOpen, V = F(this.computedValue(), this.$props.textField), z = !this.$props.validityStyles || this.validity().valid, S = this.base, P = S.vs, O = this.$props.id || this.inputId;
|
|
4548
|
+
P.enabled = this.$props.virtual !== void 0;
|
|
4549
4549
|
const B = Object.assign({}, {
|
|
4550
4550
|
animate: !0,
|
|
4551
4551
|
height: "200px"
|
|
4552
|
-
}, this.$props.popupSettings), ie = ge(this).toLanguageString(
|
|
4553
|
-
this.group === void 0 && this.$props.groupField !== void 0 && (this.group =
|
|
4554
|
-
const pe = D.call(this, this.$props.valueRender, T.call(this)),
|
|
4552
|
+
}, this.$props.popupSettings), ie = ge(this).toLanguageString(ze, Ge[ze]), H = this.adaptiveState;
|
|
4553
|
+
this.group === void 0 && this.$props.groupField !== void 0 && (this.group = F(this.$props.dataItems[0], this.$props.groupField));
|
|
4554
|
+
const pe = D.call(this, this.$props.valueRender, T.call(this)), Ne = this.currentFocused, Ye = this.primitiveValue(), Pt = c.findIndex((N) => L(N, Ye, l)), Ft = d("span", {
|
|
4555
4555
|
class: "k-input-inner",
|
|
4556
4556
|
id: this.dropDownListId
|
|
4557
4557
|
}, [d("span", {
|
|
4558
4558
|
class: "k-input-value-text"
|
|
4559
|
-
}, [
|
|
4560
|
-
let
|
|
4559
|
+
}, [V])]);
|
|
4560
|
+
let Rt = _.call(this, {
|
|
4561
4561
|
h: x,
|
|
4562
4562
|
template: pe,
|
|
4563
4563
|
defaultRendering: Ft,
|
|
@@ -4566,7 +4566,7 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4566
4566
|
...this.$data
|
|
4567
4567
|
}
|
|
4568
4568
|
});
|
|
4569
|
-
const
|
|
4569
|
+
const At = function(N) {
|
|
4570
4570
|
return d("select", {
|
|
4571
4571
|
name: this.$props.name,
|
|
4572
4572
|
id: O,
|
|
@@ -4585,7 +4585,7 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4585
4585
|
}, [d("option", {
|
|
4586
4586
|
value: this.$props.valueMap ? this.$props.valueMap.call(void 0, N) : N
|
|
4587
4587
|
}, null)]);
|
|
4588
|
-
},
|
|
4588
|
+
}, _t = () => [d("div", {
|
|
4589
4589
|
class: "k-actionsheet-titlebar-group k-hbox"
|
|
4590
4590
|
}, [d("div", {
|
|
4591
4591
|
class: "k-actionsheet-title"
|
|
@@ -4595,7 +4595,7 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4595
4595
|
class: "k-actionsheet-subtitle k-text-center"
|
|
4596
4596
|
}, null)]), d("div", {
|
|
4597
4597
|
class: "k-actionsheet-actions"
|
|
4598
|
-
}, [d(
|
|
4598
|
+
}, [d(nt, {
|
|
4599
4599
|
tabIndex: 5,
|
|
4600
4600
|
"aria-label": "Cancel",
|
|
4601
4601
|
"aria-disabled": "false",
|
|
@@ -4603,63 +4603,63 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4603
4603
|
fillMode: "flat",
|
|
4604
4604
|
onClick: this.handleWrapperClick,
|
|
4605
4605
|
icon: "x",
|
|
4606
|
-
svgIcon:
|
|
4606
|
+
svgIcon: St
|
|
4607
4607
|
}, null)])]), d("div", {
|
|
4608
4608
|
class: "k-actionsheet-titlebar-group k-actionsheet-filter"
|
|
4609
|
-
}, [
|
|
4609
|
+
}, [Qe.call(this)])], zt = D.call(this, _t, T.call(this)), Bt = () => {
|
|
4610
4610
|
const N = S.getTemplateDef.call(this, b, x), j = S.getTemplateDef.call(this, I, x), Z = D.call(this, g, T.call(this));
|
|
4611
4611
|
return d("div", {
|
|
4612
4612
|
class: "k-list-container"
|
|
4613
4613
|
}, [N && d("div", {
|
|
4614
4614
|
class: "k-list-header"
|
|
4615
4615
|
}, [N]), d("div", {
|
|
4616
|
-
class:
|
|
4617
|
-
[`k-list-${
|
|
4616
|
+
class: A("k-list", {
|
|
4617
|
+
[`k-list-${Pe[o] || o}`]: H ? !1 : o,
|
|
4618
4618
|
"k-list-lg": !!H,
|
|
4619
|
-
"k-virtual-list":
|
|
4619
|
+
"k-virtual-list": P.enabled
|
|
4620
4620
|
})
|
|
4621
|
-
}, [
|
|
4621
|
+
}, [Je.call(this), this.group && c.length !== 0 && d(ht, {
|
|
4622
4622
|
group: this.group,
|
|
4623
4623
|
render: Z
|
|
4624
|
-
}, null),
|
|
4624
|
+
}, null), qe.call(this), j && d("div", {
|
|
4625
4625
|
class: "k-list-footer"
|
|
4626
4626
|
}, [j])])]);
|
|
4627
|
-
},
|
|
4628
|
-
return d(
|
|
4627
|
+
}, jt = D.call(this, Bt, T.call(this)), Ut = function() {
|
|
4628
|
+
return d(Un, {
|
|
4629
4629
|
expand: $,
|
|
4630
4630
|
animation: !0,
|
|
4631
4631
|
animationStyles: this.animationStyles,
|
|
4632
4632
|
className: this.classNameAdaptive,
|
|
4633
4633
|
contentClassName: "!k-overflow-hidden",
|
|
4634
|
-
header:
|
|
4635
|
-
content:
|
|
4634
|
+
header: zt,
|
|
4635
|
+
content: jt,
|
|
4636
4636
|
onClose: this.handleWrapperClick,
|
|
4637
4637
|
navigatableElements: ["input.k-input-inner", ".k-actionsheet-actions > button"]
|
|
4638
4638
|
}, null);
|
|
4639
|
-
},
|
|
4639
|
+
}, Je = function() {
|
|
4640
4640
|
const {
|
|
4641
4641
|
textField: N,
|
|
4642
4642
|
defaultItem: j
|
|
4643
4643
|
} = this.$props;
|
|
4644
|
-
return j !== void 0 && d(
|
|
4644
|
+
return j !== void 0 && d(os, {
|
|
4645
4645
|
defaultItem: j,
|
|
4646
4646
|
textField: N,
|
|
4647
4647
|
selected: L(this.computedValue(), j, l),
|
|
4648
4648
|
key: "defaultitemkey",
|
|
4649
4649
|
onDefaultitemclick: this.handleDefaultItemClick
|
|
4650
4650
|
}, null);
|
|
4651
|
-
},
|
|
4651
|
+
}, qe = function() {
|
|
4652
4652
|
let N;
|
|
4653
4653
|
const {
|
|
4654
4654
|
textField: j,
|
|
4655
4655
|
groupField: Z
|
|
4656
4656
|
} = this.$props;
|
|
4657
|
-
let
|
|
4658
|
-
const
|
|
4659
|
-
return Z && (
|
|
4657
|
+
let Oe = this.$props.dataItems || [];
|
|
4658
|
+
const Wt = D.call(this, this.$props.itemRender, T.call(this)), Zt = D.call(this, this.$props.groupHeaderItemRender, T.call(this)), Gt = D.call(this, this.$props.listNoDataRender, T.call(this)), Yt = s.skip, Jt = `translateY(${P.translate}px)`;
|
|
4659
|
+
return Z && (Oe = this.base.getGroupedDataModernMode(Oe, Z)), d(ls, {
|
|
4660
4660
|
id: this.base.listBoxId,
|
|
4661
4661
|
show: $,
|
|
4662
|
-
dataItems:
|
|
4662
|
+
dataItems: Oe.slice(),
|
|
4663
4663
|
focusedIndex: this.focusedIndex(),
|
|
4664
4664
|
value: this.computedValue(),
|
|
4665
4665
|
textField: j,
|
|
@@ -4670,23 +4670,23 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4670
4670
|
maxHeight: B.height
|
|
4671
4671
|
},
|
|
4672
4672
|
wrapperCssClass: "k-list-content",
|
|
4673
|
-
listStyle:
|
|
4674
|
-
transform:
|
|
4673
|
+
listStyle: P.enabled ? {
|
|
4674
|
+
transform: Jt
|
|
4675
4675
|
} : void 0,
|
|
4676
4676
|
key: "listkey",
|
|
4677
|
-
skip:
|
|
4677
|
+
skip: Yt,
|
|
4678
4678
|
onListclick: this.handleItemClick,
|
|
4679
|
-
itemRender:
|
|
4680
|
-
groupHeaderItemRender:
|
|
4681
|
-
noDataRender:
|
|
4679
|
+
itemRender: Wt,
|
|
4680
|
+
groupHeaderItemRender: Zt,
|
|
4681
|
+
noDataRender: Gt,
|
|
4682
4682
|
groupField: Z,
|
|
4683
4683
|
onScroll: this.onScroll
|
|
4684
|
-
},
|
|
4684
|
+
}, ks(N = Kt.call(this)) ? N : {
|
|
4685
4685
|
default: () => [N]
|
|
4686
4686
|
});
|
|
4687
|
-
},
|
|
4687
|
+
}, Qe = function() {
|
|
4688
4688
|
const N = this.$props.filter !== void 0 ? this.$props.filter : this.currentText;
|
|
4689
|
-
return this.$props.filterable && d(
|
|
4689
|
+
return this.$props.filterable && d(Jn, {
|
|
4690
4690
|
value: N,
|
|
4691
4691
|
ref: "filterInput",
|
|
4692
4692
|
onChange: this.handleListFilterChange,
|
|
@@ -4697,25 +4697,25 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4697
4697
|
ariaControlsId: this.base.listBoxId,
|
|
4698
4698
|
ariaActivedescendantId: `option-${this.base.guid}-${this.focusedIndex()}`
|
|
4699
4699
|
}, null);
|
|
4700
|
-
},
|
|
4701
|
-
return
|
|
4700
|
+
}, Kt = function() {
|
|
4701
|
+
return P.enabled && d("div", {
|
|
4702
4702
|
ref: "scrollElement",
|
|
4703
4703
|
key: "scrollElementKey"
|
|
4704
4704
|
}, null);
|
|
4705
|
-
},
|
|
4705
|
+
}, Ht = function() {
|
|
4706
4706
|
const N = D.call(this, this.$props.groupStickyHeaderItemRender, T.call(this)), j = S.getTemplateDef.call(this, b), Z = S.getTemplateDef.call(this, I);
|
|
4707
|
-
return d(
|
|
4707
|
+
return d(Dn, {
|
|
4708
4708
|
ref: "container",
|
|
4709
|
-
onMousedown:
|
|
4709
|
+
onMousedown: ut,
|
|
4710
4710
|
dir: n !== void 0 ? n : S.dirCalculated,
|
|
4711
4711
|
width: this.popupWidth,
|
|
4712
4712
|
popupSettings: {
|
|
4713
4713
|
...B,
|
|
4714
|
-
popupClass:
|
|
4715
|
-
[`k-list-${
|
|
4714
|
+
popupClass: A(B.popupClass, "k-list", {
|
|
4715
|
+
[`k-list-${Pe[o] || o}`]: o,
|
|
4716
4716
|
"k-virtual-list": this.base.vs.enabled
|
|
4717
4717
|
}),
|
|
4718
|
-
className:
|
|
4718
|
+
className: A("k-list-container", B.className),
|
|
4719
4719
|
anchor: this.anchor,
|
|
4720
4720
|
show: $
|
|
4721
4721
|
},
|
|
@@ -4723,25 +4723,25 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4723
4723
|
onClose: this.onPopupClosed,
|
|
4724
4724
|
onBlur: this.handleBlur
|
|
4725
4725
|
}, {
|
|
4726
|
-
default: () => [
|
|
4726
|
+
default: () => [Qe.call(this), Je.call(this), this.group && c.length !== 0 && d(ht, {
|
|
4727
4727
|
group: this.group,
|
|
4728
4728
|
render: N
|
|
4729
4729
|
}, null), j && d("div", {
|
|
4730
4730
|
class: "k-list-header"
|
|
4731
|
-
}, [j]),
|
|
4731
|
+
}, [j]), qe.call(this), Z && d("div", {
|
|
4732
4732
|
class: "k-list-footer"
|
|
4733
4733
|
}, [Z])]
|
|
4734
4734
|
});
|
|
4735
4735
|
};
|
|
4736
4736
|
this.$props.virtual !== void 0 && (S.vs.skip = s.skip, S.vs.total = s.total, S.vs.pageSize = s.pageSize);
|
|
4737
|
-
const
|
|
4737
|
+
const Xe = [x((function() {
|
|
4738
4738
|
return d("span", {
|
|
4739
4739
|
ref: me(this, "kendoAnchor"),
|
|
4740
|
-
class:
|
|
4741
|
-
[`k-picker-${
|
|
4742
|
-
[`k-rounded-${
|
|
4740
|
+
class: A("k-dropdownlist k-picker", t, {
|
|
4741
|
+
[`k-picker-${Pe[o] || o}`]: o,
|
|
4742
|
+
[`k-rounded-${ys[a] || a}`]: a,
|
|
4743
4743
|
[`k-picker-${r}`]: r,
|
|
4744
|
-
"k-focus":
|
|
4744
|
+
"k-focus": Ne,
|
|
4745
4745
|
"k-disabled": p,
|
|
4746
4746
|
"k-invalid": !z,
|
|
4747
4747
|
"k-loading": h,
|
|
@@ -4752,29 +4752,29 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4752
4752
|
width: void 0
|
|
4753
4753
|
} : e,
|
|
4754
4754
|
dir: n,
|
|
4755
|
-
onMousedown: $ ?
|
|
4755
|
+
onMousedown: $ ? ut : tt,
|
|
4756
4756
|
onFocusin: this.handleFocus,
|
|
4757
4757
|
onFocusout: this.handleBlur,
|
|
4758
|
-
tabindex:
|
|
4758
|
+
tabindex: ui(u, p),
|
|
4759
4759
|
accesskey: this.$props.accessKey,
|
|
4760
4760
|
onKeydown: this.handleKeyDown,
|
|
4761
4761
|
onKeypress: this.handleKeyPress,
|
|
4762
4762
|
role: "combobox",
|
|
4763
|
-
onClick: p ?
|
|
4763
|
+
onClick: p ? tt : this.handleWrapperClick,
|
|
4764
4764
|
"aria-disabled": p || void 0,
|
|
4765
4765
|
"aria-haspopup": !0,
|
|
4766
4766
|
"aria-expanded": $ || !1,
|
|
4767
4767
|
"aria-owns": this.base.listBoxId,
|
|
4768
|
-
"aria-activedescendant": $ ? "option-" + this.base.guid + "-" + (
|
|
4768
|
+
"aria-activedescendant": $ ? "option-" + this.base.guid + "-" + (Pt + (s ? s.skip : 0)) : void 0,
|
|
4769
4769
|
"aria-label": this.$props.ariaLabel || this.$props.label,
|
|
4770
4770
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
4771
4771
|
"aria-describedBy": this.dropDownListId,
|
|
4772
4772
|
title: this.$props.title
|
|
4773
|
-
}, [
|
|
4773
|
+
}, [Rt, h && d(W, {
|
|
4774
4774
|
name: "loading",
|
|
4775
4775
|
class: "k-input-loading-icon",
|
|
4776
4776
|
key: "loading"
|
|
4777
|
-
}, null), d(
|
|
4777
|
+
}, null), d(nt, {
|
|
4778
4778
|
type: "button",
|
|
4779
4779
|
tabIndex: -1,
|
|
4780
4780
|
size: o,
|
|
@@ -4783,63 +4783,127 @@ const vs = "Please select a value from the list!", ys = /* @__PURE__ */ k({
|
|
|
4783
4783
|
ariaLabel: ie,
|
|
4784
4784
|
class: "k-input-button",
|
|
4785
4785
|
icon: m || "caret-alt-down",
|
|
4786
|
-
svgIcon: f ||
|
|
4786
|
+
svgIcon: f || Vi,
|
|
4787
4787
|
iconClass: y
|
|
4788
|
-
}, null),
|
|
4788
|
+
}, null), At.call(this, Ye), !H && Ht.call(this)]);
|
|
4789
4789
|
}).call(this), {
|
|
4790
4790
|
...this.$attrs
|
|
4791
|
-
}), H &&
|
|
4791
|
+
}), H && Ut.call(this)];
|
|
4792
4792
|
return i ? d("span", {
|
|
4793
4793
|
class: this.spanClassNames,
|
|
4794
4794
|
onFocusin: this.handleFocus,
|
|
4795
4795
|
onFocusout: this.handleBlur,
|
|
4796
4796
|
dir: this.$props.dir
|
|
4797
|
-
}, [
|
|
4797
|
+
}, [Xe, this.$props.label ? O ? d("label", {
|
|
4798
4798
|
for: O,
|
|
4799
4799
|
class: "k-floating-label"
|
|
4800
4800
|
}, [this.$props.label]) : d("span", {
|
|
4801
4801
|
class: "k-label"
|
|
4802
|
-
}, [this.$props.label]) : null]) :
|
|
4802
|
+
}, [this.$props.label]) : null]) : Xe;
|
|
4803
4803
|
}
|
|
4804
|
-
}),
|
|
4804
|
+
}), Ss = (e) => {
|
|
4805
|
+
const t = /* @__PURE__ */ new Map();
|
|
4806
|
+
for (const i of e) {
|
|
4807
|
+
const n = i.value.toLowerCase();
|
|
4808
|
+
t.has(n) || t.set(n, i.value);
|
|
4809
|
+
}
|
|
4810
|
+
return t;
|
|
4811
|
+
}, ws = (e, t) => {
|
|
4812
|
+
if (typeof window > "u")
|
|
4813
|
+
return null;
|
|
4814
|
+
const i = new URLSearchParams(window.location.search).get(t);
|
|
4815
|
+
if (!i)
|
|
4816
|
+
return null;
|
|
4817
|
+
const n = i.trim();
|
|
4818
|
+
if (!n)
|
|
4819
|
+
return null;
|
|
4820
|
+
const o = Ss(e).get(n.toLowerCase());
|
|
4821
|
+
return o || (e.some((a) => a.value === n) ? n : null);
|
|
4822
|
+
}, mt = (e, t, i, n) => {
|
|
4823
|
+
if (!n || typeof window > "u")
|
|
4824
|
+
return;
|
|
4825
|
+
const s = new Set(t.map((l) => l.value)), o = new URL(window.location.href);
|
|
4826
|
+
e && s.has(e) ? o.searchParams.set(i, e) : o.searchParams.delete(i);
|
|
4827
|
+
const a = `${o.pathname}${o.search}${o.hash}`, r = `${window.location.pathname}${window.location.search}${window.location.hash}`;
|
|
4828
|
+
a !== r && window.history.replaceState(window.history.state, "", a);
|
|
4829
|
+
}, Cs = { class: "fk-field-block demo-selection" }, Ys = /* @__PURE__ */ k({
|
|
4805
4830
|
__name: "DemoSelection",
|
|
4806
4831
|
props: {
|
|
4807
4832
|
options: {},
|
|
4808
|
-
modelValue: {}
|
|
4833
|
+
modelValue: {},
|
|
4834
|
+
syncQueryParam: { type: Boolean, default: !0 },
|
|
4835
|
+
queryParamName: { default: "demo" }
|
|
4809
4836
|
},
|
|
4810
4837
|
emits: ["update:modelValue"],
|
|
4811
4838
|
setup(e, { emit: t }) {
|
|
4812
|
-
const i = e, n = t, s = Ce(), o =
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4839
|
+
const i = e, n = t, s = Ce(), o = () => {
|
|
4840
|
+
if (!i.syncQueryParam)
|
|
4841
|
+
return;
|
|
4842
|
+
const r = ws(i.options, i.queryParamName);
|
|
4843
|
+
if (r && r !== i.modelValue) {
|
|
4844
|
+
n("update:modelValue", r);
|
|
4845
|
+
return;
|
|
4846
|
+
}
|
|
4847
|
+
mt(
|
|
4848
|
+
i.modelValue,
|
|
4849
|
+
i.options,
|
|
4850
|
+
i.queryParamName,
|
|
4851
|
+
i.syncQueryParam
|
|
4852
|
+
);
|
|
4853
|
+
}, a = J({
|
|
4854
|
+
get: () => i.options.find((r) => r.value === i.modelValue) ?? null,
|
|
4855
|
+
set: (r) => {
|
|
4856
|
+
n("update:modelValue", r?.value ?? "");
|
|
4816
4857
|
}
|
|
4817
4858
|
});
|
|
4818
|
-
return (
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4859
|
+
return Xt(() => {
|
|
4860
|
+
o();
|
|
4861
|
+
}), ve(
|
|
4862
|
+
() => i.modelValue,
|
|
4863
|
+
(r) => {
|
|
4864
|
+
mt(r, i.options, i.queryParamName, i.syncQueryParam);
|
|
4865
|
+
}
|
|
4866
|
+
), ve(
|
|
4867
|
+
() => i.syncQueryParam,
|
|
4868
|
+
() => {
|
|
4869
|
+
o();
|
|
4870
|
+
}
|
|
4871
|
+
), ve(
|
|
4872
|
+
() => i.queryParamName,
|
|
4873
|
+
() => {
|
|
4874
|
+
o();
|
|
4875
|
+
}
|
|
4876
|
+
), ve(
|
|
4877
|
+
() => i.options,
|
|
4878
|
+
() => {
|
|
4879
|
+
o();
|
|
4880
|
+
},
|
|
4881
|
+
{ deep: !0 }
|
|
4882
|
+
), (r, l) => Le(s).default ? (G(), Y(ei, { key: 0 }, [
|
|
4883
|
+
ee("div", Cs, [
|
|
4884
|
+
d(Le(Vn), { for: "demo-selection" }, {
|
|
4885
|
+
default: ti(() => [...l[1] || (l[1] = [
|
|
4886
|
+
ii("Select a demo:", -1)
|
|
4823
4887
|
])]),
|
|
4824
4888
|
_: 1
|
|
4825
4889
|
}),
|
|
4826
|
-
d(
|
|
4890
|
+
d(Le($s), {
|
|
4827
4891
|
id: "demo-selection",
|
|
4828
4892
|
dataItems: e.options,
|
|
4829
4893
|
textField: "text",
|
|
4830
4894
|
valueField: "value",
|
|
4831
|
-
modelValue:
|
|
4832
|
-
"onUpdate:modelValue":
|
|
4895
|
+
modelValue: a.value,
|
|
4896
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => a.value = c)
|
|
4833
4897
|
}, null, 8, ["dataItems", "modelValue"])
|
|
4834
4898
|
]),
|
|
4835
|
-
|
|
4836
|
-
], 64)) :
|
|
4899
|
+
xe(r.$slots, "default", { selected: e.modelValue })
|
|
4900
|
+
], 64)) : Se("", !0);
|
|
4837
4901
|
}
|
|
4838
4902
|
});
|
|
4839
4903
|
export {
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4904
|
+
Es as _,
|
|
4905
|
+
Os as a,
|
|
4906
|
+
Ys as b,
|
|
4907
|
+
Ns as c,
|
|
4908
|
+
Is as d
|
|
4845
4909
|
};
|