@progress/kendo-react-inputs 7.0.3-develop.9 → 7.1.0-develop.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/index.mjs CHANGED
@@ -18,7 +18,7 @@ const me = {
18
18
  name: "@progress/kendo-react-inputs",
19
19
  productName: "KendoReact",
20
20
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
21
- publishDate: 1704453835,
21
+ publishDate: 1705398448,
22
22
  version: "",
23
23
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
24
24
  }, Xe = "numerictextbox.increment", Ye = "numerictextbox.decrement", _t = "slider.increment", At = "slider.decrement", Te = "slider.dragTitle", Fe = "colorGradient.r", nn = "colorGradient.g", sn = "colorGradient.b", rn = "colorGradient.a", ln = "colorGradient.hex", $t = "colorGradient.contrastRatio", Ht = "colorGradient.colorGradientAALevel", Gt = "colorGradient.colorGradientAAALevel", Kt = "colorGradient.colorGradientPass", qt = "colorGradient.colorGradientFail", Ut = "colorGradient.hueSliderLabel", jt = "colorGradient.alphaSliderLabel", Wt = "colorGradient.toggleInputsButton", on = "flatColorPicker.cancelBtn", cn = "flatColorPicker.applyBtn", Xt = "flatColorPicker.colorGradientBtn", Yt = "flatColorPicker.colorPaletteBtn", Zt = "flatColorPicker.clearBtn", dn = "checkbox.validation", un = "checkbox.optionalText", Gn = "radioButton.validation", Jt = "switch.validation", Qt = "colorPicker.dropdownButtonAriaLabel", ea = "rating.ariaLabel", ta = "signature.clear", aa = "signature.maximize", na = "signature.minimize", $ = {
@@ -67,20 +67,20 @@ const me = {
67
67
  }), Vt = (a, t) => a !== void 0 ? a : t, ue = (a, t, e) => a === null && a === void 0 ? "" : typeof a == "string" ? a : e.formatNumber(a, t), Pa = (a) => (String(a).split(".")[1] || "").length, mn = (a, t) => Math.max(Pa(a), Pa(t)), Un = (a) => Math.min(a, pn), gn = (a, t) => {
68
68
  const e = Un(t);
69
69
  return parseFloat(a.toFixed(e));
70
- }, Da = (a, t, e, s, l, i, c) => {
71
- const o = mn(a || 0, e || 0), f = Ge(gn((a || 0) + (e || 0), o), s, l);
72
- t.eventValue = f, t.currentLooseValue = ue(f, i, c), t.selectionStart = t.selectionEnd = Ze(t.currentLooseValue, ke);
73
- }, Ba = (a, t, e, s, l, i, c) => {
74
- const o = mn(a || 0, e || 0), f = Ge(gn((a || 0) - (e || 0), o), s, l);
75
- t.eventValue = f, t.currentLooseValue = ue(f, i, c), t.selectionStart = t.selectionEnd = Ze(t.currentLooseValue, ke);
70
+ }, Da = (a, t, e, s, i, l, c) => {
71
+ const o = mn(a || 0, e || 0), f = Ge(gn((a || 0) + (e || 0), o), s, i);
72
+ t.eventValue = f, t.currentLooseValue = ue(f, l, c), t.selectionStart = t.selectionEnd = Ze(t.currentLooseValue, ke);
73
+ }, Ba = (a, t, e, s, i, l, c) => {
74
+ const o = mn(a || 0, e || 0), f = Ge(gn((a || 0) - (e || 0), o), s, i);
75
+ t.eventValue = f, t.currentLooseValue = ue(f, l, c), t.selectionStart = t.selectionEnd = Ze(t.currentLooseValue, ke);
76
76
  }, Ge = (a, t, e) => a == null ? a : !(a > 1 || a < 1 || a === 1) || e !== void 0 && t !== void 0 && e < t ? null : (e !== void 0 && a > e && (a = e), t !== void 0 && a < t && (a = t), a), jn = (a, t) => {
77
- const e = t.findIndex(([l, i]) => !!i && a.indexOf(i) === a.length - i.length);
77
+ const e = t.findIndex(([i, l]) => !!l && a.indexOf(l) === a.length - l.length);
78
78
  if (e === -1)
79
79
  return -1;
80
80
  const s = t[e][1];
81
81
  return a.length - s.length;
82
82
  }, Wn = (a, t) => {
83
- const e = t.findIndex(([l, i]) => !!l && a.indexOf(l) === 0);
83
+ const e = t.findIndex(([i, l]) => !!i && a.indexOf(i) === 0);
84
84
  return e === -1 ? -1 : t[e][0].length;
85
85
  }, Xn = (a, t, e) => {
86
86
  const s = jn(a, t);
@@ -89,8 +89,8 @@ const me = {
89
89
  return;
90
90
  }
91
91
  e.selectionStart > a.length && (e.selectionStart = e.selectionEnd = a.length);
92
- const l = Wn(a, t);
93
- l !== -1 && e.selectionStart < l && (e.selectionStart = e.selectionEnd = l), e.selectionStart === -1 && (e.selectionStart = e.selectionEnd = 0);
92
+ const i = Wn(a, t);
93
+ i !== -1 && e.selectionStart < i && (e.selectionStart = e.selectionEnd = i), e.selectionStart === -1 && (e.selectionStart = e.selectionEnd = 0);
94
94
  }, Le = (a, t, e, s) => {
95
95
  a.selectionStart = a.selectionEnd = t, Xn(e, s, a);
96
96
  }, Mt = (a, t, e, s) => {
@@ -102,7 +102,7 @@ const me = {
102
102
  const e = String(a.currentLooseValue), s = String(a.prevLooseValue);
103
103
  return e.indexOf(t.minusSign) === -1 && s.indexOf(t.minusSign) !== -1;
104
104
  }, Jn = (a, t) => String(a.currentLooseValue).split(t.decimal).length > 2, Qn = (a, t) => {
105
- const e = t.formatNumber(pt, a), s = t.formatNumber(-pt, a), l = t.formatNumber(hn, a), i = t.formatNumber(fn, a), c = nt(e), o = nt(s), f = nt(l), d = nt(i), m = st(e), u = st(s), h = st(l), y = st(i);
105
+ const e = t.formatNumber(pt, a), s = t.formatNumber(-pt, a), i = t.formatNumber(hn, a), l = t.formatNumber(fn, a), c = nt(e), o = nt(s), f = nt(i), d = nt(l), m = st(e), u = st(s), h = st(i), y = st(l);
106
106
  return {
107
107
  positiveInfo: [c, m],
108
108
  negativeInfo: [o, u],
@@ -110,8 +110,8 @@ const me = {
110
110
  oneInfo: [d, y]
111
111
  };
112
112
  }, es = (a, t) => {
113
- const e = t.formatNumber(pt, a), s = t.formatNumber(-pt, a), l = t.formatNumber(hn, a), i = t.formatNumber(fn, a), c = t.numberSymbols(), o = new RegExp(`[\\d\\${c.decimal}${c.group}]`, "g");
114
- return [e, s, l, i].map((d) => d.replace(o, "")).join("").split("").filter((d, m, u) => u.indexOf(d) === m).join("");
113
+ const e = t.formatNumber(pt, a), s = t.formatNumber(-pt, a), i = t.formatNumber(hn, a), l = t.formatNumber(fn, a), c = t.numberSymbols(), o = new RegExp(`[\\d\\${c.decimal}${c.group}]`, "g");
114
+ return [e, s, i, l].map((d) => d.replace(o, "")).join("").split("").filter((d, m, u) => u.indexOf(d) === m).join("");
115
115
  }, Nt = (a, t) => {
116
116
  const e = a.indexOf(t.decimal);
117
117
  return e > -1 ? e : Ze(a, ke);
@@ -121,9 +121,9 @@ const me = {
121
121
  }, Pt = (a, t) => a.search(t), Oa = (a, t) => {
122
122
  const e = a.indexOf(t);
123
123
  return e > -1 ? a.length - e - 1 : 0;
124
- }, Fa = (a, t, e, s, l) => {
125
- const i = a.replace(l, "")[0] === "0", c = t.replace(l, "")[0] === "0";
126
- if (i && !c)
124
+ }, Fa = (a, t, e, s, i) => {
125
+ const l = a.replace(i, "")[0] === "0", c = t.replace(i, "")[0] === "0";
126
+ if (l && !c)
127
127
  return e - 1;
128
128
  if (c && s)
129
129
  return e + 1;
@@ -135,39 +135,39 @@ const me = {
135
135
  ke.test(t.charAt(f)) && o--, f++;
136
136
  return f;
137
137
  }, Ta = (a, t, e) => {
138
- const s = { ...a }, { prevLooseValue: l } = s, i = e.numberSymbols(), c = es(t, e), o = String(s.currentLooseValue), f = String(l), d = new RegExp(`[^\\d\\${i.decimal}]`, "g"), m = new RegExp(`[^\\d\\${i.decimal}\\${i.group}]`, "g"), u = new RegExp(`[\\d\\${i.decimal}\\${i.group}]`), h = o.replace(d, ""), y = Pt(o, ke), M = y === -1 ? -1 : Ze(o, ke), D = o.indexOf(i.decimal), N = (o.substring(0, y) + o.substring(y, M).replace(m, "") + o.substring(M, o.length)).split("").filter((p) => c.indexOf(p) !== -1 || p.search(u) !== -1).join(""), L = e.formatNumber(Kn, t).replace(d, ""), S = L.indexOf(i.decimal), w = S > -1 ? L.length - S - 1 : 0, B = e.formatNumber(qn, t).replace(d, ""), O = B.indexOf(i.decimal), I = O > -1 ? B.length - O - 1 : 0, {
138
+ const s = { ...a }, { prevLooseValue: i } = s, l = e.numberSymbols(), c = es(t, e), o = String(s.currentLooseValue), f = String(i), d = new RegExp(`[^\\d\\${l.decimal}]`, "g"), m = new RegExp(`[^\\d\\${l.decimal}\\${l.group}]`, "g"), u = new RegExp(`[\\d\\${l.decimal}\\${l.group}]`), h = o.replace(d, ""), y = Pt(o, ke), M = y === -1 ? -1 : Ze(o, ke), D = o.indexOf(l.decimal), N = (o.substring(0, y) + o.substring(y, M).replace(m, "") + o.substring(M, o.length)).split("").filter((p) => c.indexOf(p) !== -1 || p.search(u) !== -1).join(""), L = e.formatNumber(Kn, t).replace(d, ""), S = L.indexOf(l.decimal), w = S > -1 ? L.length - S - 1 : 0, B = e.formatNumber(qn, t).replace(d, ""), O = B.indexOf(l.decimal), I = O > -1 ? B.length - O - 1 : 0, {
139
139
  positiveInfo: F,
140
140
  negativeInfo: _,
141
141
  zeroInfo: T,
142
142
  oneInfo: E
143
- } = Qn(t, e), V = [F, _, T, E], H = V.findIndex((p) => p.findIndex((v) => !!v) !== -1) !== 1, q = o.length > 0 && o.length < f.length, Z = typeof t == "string" && t[0] === "p" && o && o.indexOf(i.percentSign) === -1;
143
+ } = Qn(t, e), V = [F, _, T, E], H = V.findIndex((p) => p.findIndex((v) => !!v) !== -1) !== 1, q = o.length > 0 && o.length < f.length, Z = typeof t == "string" && t[0] === "p" && o && o.indexOf(l.percentSign) === -1;
144
144
  if (!s.isPaste) {
145
145
  if (o === "")
146
146
  return s.eventValue = null, s.currentLooseValue = "", s;
147
- if (s.currentLooseValue === i.minusSign && e.formatNumber(-0, t) !== f)
147
+ if (s.currentLooseValue === l.minusSign && e.formatNumber(-0, t) !== f)
148
148
  return s.eventValue = -0, s.currentLooseValue = ue(s.eventValue, t, e), Le(
149
149
  s,
150
- Nt(s.currentLooseValue, i),
150
+ Nt(s.currentLooseValue, l),
151
151
  s.currentLooseValue,
152
152
  V
153
153
  ), s;
154
- if (s.currentLooseValue === i.decimal) {
154
+ if (s.currentLooseValue === l.decimal) {
155
155
  s.eventValue = 0;
156
156
  const k = ue(s.eventValue, t, e);
157
157
  if (I === 0 && w > 0) {
158
158
  const C = Ze(k, ke);
159
- s.currentLooseValue = k.substring(0, C) + i.decimal + k.substring(C);
159
+ s.currentLooseValue = k.substring(0, C) + l.decimal + k.substring(C);
160
160
  } else
161
161
  s.currentLooseValue = k;
162
162
  return Le(
163
163
  s,
164
- Nt(s.currentLooseValue, i) + 1,
164
+ Nt(s.currentLooseValue, l) + 1,
165
165
  s.currentLooseValue,
166
166
  V
167
167
  ), s;
168
168
  }
169
- if (Yn(s, i)) {
170
- const k = e.parseNumber(l, t);
169
+ if (Yn(s, l)) {
170
+ const k = e.parseNumber(i, t);
171
171
  s.eventValue = -(k !== null ? k : 0), s.currentLooseValue = ue(s.eventValue, t, e);
172
172
  const C = Pt(s.currentLooseValue, ke), P = Pt(f, ke);
173
173
  return Le(
@@ -177,27 +177,27 @@ const me = {
177
177
  V
178
178
  ), s;
179
179
  }
180
- if (Zn(s, i))
180
+ if (Zn(s, l))
181
181
  return s.eventValue = e.parseNumber(s.currentLooseValue, t), Le(
182
182
  s,
183
183
  s.selectionStart,
184
184
  s.currentLooseValue,
185
185
  V
186
186
  ), s;
187
- if (Jn(s, i))
187
+ if (Jn(s, l))
188
188
  return Mt(s, t, V, e), s;
189
189
  if (Z)
190
190
  return s.eventValue = e.parseNumber(o, t) / 100, s.currentLooseValue = ue(s.eventValue, t, e), s;
191
191
  if (String(s.currentLooseValue).replace(/[^\d]/g, "").length > pn || h !== o && o && H && V.findIndex(([C, P]) => {
192
- const j = o.indexOf(C), J = o.indexOf(P), R = j === 0, b = J === o.length - P.length, W = j + C.length !== y && y !== -1 && o[j + C.length] !== i.decimal, K = J !== M && M !== -1 && o[J - 1] !== i.decimal;
192
+ const j = o.indexOf(C), J = o.indexOf(P), R = j === 0, b = J === o.length - P.length, W = j + C.length !== y && y !== -1 && o[j + C.length] !== l.decimal, K = J !== M && M !== -1 && o[J - 1] !== l.decimal;
193
193
  return C && P ? W || K ? !1 : R && b : C ? W ? !1 : R : P ? K ? !1 : b : !1;
194
194
  }) === -1)
195
195
  return Mt(s, t, V, e), s;
196
- if (h[h.length - 1] === i.decimal && w > 0)
196
+ if (h[h.length - 1] === l.decimal && w > 0)
197
197
  return s.eventValue = e.parseNumber(o, t), s.currentLooseValue = N, s;
198
- if (s.currentLooseValue && l && (c + i.decimal + i.group).split("").findIndex((C) => o.split("").filter((P) => P === C).length < f.split("").filter((P) => P === C).length && o.length + 1 === f.length ? !(C === i.decimal && Oa(f.replace(d, ""), i.decimal) === 0) : !1) > -1)
198
+ if (s.currentLooseValue && i && (c + l.decimal + l.group).split("").findIndex((C) => o.split("").filter((P) => P === C).length < f.split("").filter((P) => P === C).length && o.length + 1 === f.length ? !(C === l.decimal && Oa(f.replace(d, ""), l.decimal) === 0) : !1) > -1)
199
199
  return s.eventValue = e.parseNumber(a.prevLooseValue, t), s.currentLooseValue = a.prevLooseValue, s;
200
- const v = Oa(h, i.decimal), g = h[h.length - 1] === "0";
200
+ const v = Oa(h, l.decimal), g = h[h.length - 1] === "0";
201
201
  if (q && g && v < I)
202
202
  return s.eventValue = e.parseNumber(s.currentLooseValue, t), s.currentLooseValue = ue(s.eventValue, t, e), s;
203
203
  if (v > 0) {
@@ -213,7 +213,7 @@ const me = {
213
213
  ), s.currentLooseValue = C, s;
214
214
  }
215
215
  if (v > w) {
216
- const C = o.indexOf(i.decimal), P = o.substring(0, C) + o.substring(C, C + 1 + w) + o.substring(M, String(s.currentLooseValue).length);
216
+ const C = o.indexOf(l.decimal), P = o.substring(0, C) + o.substring(C, C + 1 + w) + o.substring(M, String(s.currentLooseValue).length);
217
217
  return s.eventValue = e.parseNumber(P, t), s.currentLooseValue = P, Le(s, s.selectionStart, P, V), s;
218
218
  }
219
219
  if (I !== w && v <= w && g)
@@ -224,7 +224,7 @@ const me = {
224
224
  }
225
225
  if (s.eventValue = e.parseNumber(s.currentLooseValue, t), Z && (s.eventValue = s.eventValue / 100), typeof s.eventValue == "number") {
226
226
  const p = ue(s.eventValue, t, e);
227
- o.length === 1 ? Le(s, Nt(p, i), p, V) : Le(
227
+ o.length === 1 ? Le(s, Nt(p, l), p, V) : Le(
228
228
  s,
229
229
  Fa(o, p, s.selectionEnd, q, d),
230
230
  p,
@@ -235,10 +235,10 @@ const me = {
235
235
  return s;
236
236
  }, ts = "Please enter a valid value!", as = he(), ze = n.forwardRef((a, t) => {
237
237
  pe(me);
238
- const e = Re(as, a), s = Qe(), l = e.id || s, i = Mn(), c = _e(), o = n.useRef(null), f = n.useRef(), [d, m] = n.useState(!1), u = n.useRef(Na()), h = n.useRef(!1), y = n.useRef(), M = n.useRef(e.defaultValue), D = ue(
238
+ const e = Re(as, a), s = Qe(), i = e.id || s, l = Mn(), c = _e(), o = n.useRef(null), f = n.useRef(), [d, m] = n.useState(!1), u = n.useRef(Na()), h = n.useRef(!1), y = n.useRef(), M = n.useRef(e.defaultValue), D = ue(
239
239
  u.current.focused && !e.disabled ? u.current.currentLooseValue : Vt(e.value, M.current),
240
240
  e.format,
241
- i
241
+ l
242
242
  );
243
243
  y.current = D;
244
244
  const [N] = qe(e.prefix), [L] = qe(e.suffix);
@@ -309,7 +309,7 @@ const me = {
309
309
  if (e.disabled)
310
310
  return;
311
311
  f.current = b.eventValue, M.current = b.eventValue;
312
- const W = ue(Ge(b.eventValue, e.min, e.max), e.format, i), K = Ge(i.parseNumber(W, e.format), e.min, e.max);
312
+ const W = ue(Ge(b.eventValue, e.min, e.max), e.format, l), K = Ge(l.parseNumber(W, e.format), e.min, e.max);
313
313
  K !== b.eventValue && (b.valueIsOutOfRange = !0, b.eventValue = K, M.current = K), e.value !== b.eventValue && Q(
314
314
  e.onChange,
315
315
  R,
@@ -321,15 +321,15 @@ const me = {
321
321
  ), H = n.useCallback(
322
322
  (R) => {
323
323
  const b = E();
324
- h.current = !1, V(R, Ta(b, e.format, i));
324
+ h.current = !1, V(R, Ta(b, e.format, l));
325
325
  },
326
- [e.format, e.onChange, i, V, E]
326
+ [e.format, e.onChange, l, V, E]
327
327
  ), q = n.useCallback(
328
328
  (R) => {
329
329
  let b = E();
330
- const W = i.parseNumber(String(b.currentLooseValue), e.format);
330
+ const W = l.parseNumber(String(b.currentLooseValue), e.format);
331
331
  if (b.selectionEnd > b.selectionStart && b.selectionEnd - b.selectionStart === String(b.currentLooseValue).length) {
332
- const K = i.numberSymbols(), ee = K && R.key === K.minusSign, le = K && R.key === K.decimal;
332
+ const K = l.numberSymbols(), ee = K && R.key === K.minusSign, le = K && R.key === K.decimal;
333
333
  h.current = !ee && !le;
334
334
  return;
335
335
  }
@@ -342,7 +342,7 @@ const me = {
342
342
  e.min,
343
343
  e.max,
344
344
  e.format,
345
- i
345
+ l
346
346
  );
347
347
  break;
348
348
  case 40:
@@ -353,19 +353,19 @@ const me = {
353
353
  e.min,
354
354
  e.max,
355
355
  e.format,
356
- i
356
+ l
357
357
  );
358
358
  break;
359
359
  case 13: {
360
360
  if (e.rangeOnEnter === !1)
361
361
  return;
362
- const K = ue(Ge(W, e.min, e.max), e.format, i), ee = Ge(i.parseNumber(K, e.format), e.min, e.max);
363
- b.eventValue = ee, b.currentLooseValue = ue(ee, e.format, i), b.selectionStart = b.selectionEnd = b.currentLooseValue.length;
362
+ const K = ue(Ge(W, e.min, e.max), e.format, l), ee = Ge(l.parseNumber(K, e.format), e.min, e.max);
363
+ b.eventValue = ee, b.currentLooseValue = ue(ee, e.format, l), b.selectionStart = b.selectionEnd = b.currentLooseValue.length;
364
364
  break;
365
365
  }
366
366
  case 110: {
367
- const K = o.current, ee = i.numberSymbols();
368
- K && (b.currentLooseValue = b.currentLooseValue.slice(0, b.selectionStart) + ee.decimal + b.currentLooseValue.slice(b.selectionEnd), b.selectionStart = b.selectionEnd = b.selectionStart + 1, b = Ta(b, e.format, i));
367
+ const K = o.current, ee = l.numberSymbols();
368
+ K && (b.currentLooseValue = b.currentLooseValue.slice(0, b.selectionStart) + ee.decimal + b.currentLooseValue.slice(b.selectionEnd), b.selectionStart = b.selectionEnd = b.selectionStart + 1, b = Ta(b, e.format, l));
369
369
  break;
370
370
  }
371
371
  default:
@@ -385,13 +385,13 @@ const me = {
385
385
  return;
386
386
  const b = E();
387
387
  Da(
388
- i.parseNumber(String(b.currentLooseValue), e.format),
388
+ l.parseNumber(String(b.currentLooseValue), e.format),
389
389
  b,
390
390
  e.step,
391
391
  e.min,
392
392
  e.max,
393
393
  e.format,
394
- i
394
+ l
395
395
  ), V(R, b);
396
396
  },
397
397
  [e.format, e.min, e.max, e.step, e.onChange, e.readOnly, e.disabled, V, E]
@@ -401,13 +401,13 @@ const me = {
401
401
  return;
402
402
  const b = E();
403
403
  Ba(
404
- i.parseNumber(String(b.currentLooseValue), e.format),
404
+ l.parseNumber(String(b.currentLooseValue), e.format),
405
405
  b,
406
406
  e.step,
407
407
  e.min,
408
408
  e.max,
409
409
  e.format,
410
- i
410
+ l
411
411
  ), V(R, b);
412
412
  },
413
413
  [e.format, e.min, e.max, e.step, e.onChange, e.readOnly, e.disabled, V, E]
@@ -494,7 +494,7 @@ const me = {
494
494
  autoCorrect: "off",
495
495
  type: e.inputType || "tel",
496
496
  className: "k-input-inner",
497
- id: l,
497
+ id: i,
498
498
  name: e.name,
499
499
  readOnly: e.readOnly,
500
500
  style: e.inputStyle,
@@ -549,7 +549,7 @@ const me = {
549
549
  ua,
550
550
  {
551
551
  label: e.label,
552
- editorId: l,
552
+ editorId: i,
553
553
  editorValue: D === null ? "" : D,
554
554
  editorValid: j,
555
555
  editorDisabled: e.disabled,
@@ -631,9 +631,9 @@ const ae = (a) => a != null, se = (a, t, e) => !ae(a) || isNaN(a) || a <= t ? t
631
631
  throw new Error(`Unsupported color output format '${t}'. The available options are 'hex' or 'rgba'.`);
632
632
  if (!ae(a))
633
633
  return;
634
- const l = mt(a.trim(), e);
635
- if (ae(l))
636
- return t === "hex" ? l.toCss() : l.toCssRgba();
634
+ const i = mt(a.trim(), e);
635
+ if (ae(i))
636
+ return t === "hex" ? i.toCss() : i.toCssRgba();
637
637
  }, Dt = (a, t = !0) => {
638
638
  const e = mt(a, t);
639
639
  return ae(e) ? e.toHSV() : {};
@@ -641,17 +641,17 @@ const ae = (a) => a != null, se = (a, t, e) => !ae(a) || isNaN(a) || a <= t ? t
641
641
  const e = mt(a, t);
642
642
  return ae(e) ? e.toBytes() : {};
643
643
  }, fa = (a) => {
644
- const t = se(a.h, 0, 359.9), e = se(a.s, 0, 1), s = se(a.v, 0, 1), l = se(a.a, 0, 1);
645
- return an.fromHSV(t, e, s, l).toCssRgba();
644
+ const t = se(a.h, 0, 359.9), e = se(a.s, 0, 1), s = se(a.v, 0, 1), i = se(a.a, 0, 1);
645
+ return an.fromHSV(t, e, s, i).toCssRgba();
646
646
  }, rt = (a) => fa({ h: a, s: 1, v: 1, a: 1 }), ns = (a) => {
647
- const t = se(a.r, 0, 255), e = se(a.g, 0, 255), s = se(a.b, 0, 255), l = se(a.a, 0, 1);
648
- return an.fromBytes(t, e, s, l).toCssRgba();
647
+ const t = se(a.r, 0, 255), e = se(a.g, 0, 255), s = se(a.b, 0, 255), i = se(a.a, 0, 1);
648
+ return an.fromBytes(t, e, s, i).toCssRgba();
649
649
  }, za = (a, t) => {
650
- const e = se(a.r, 0, 255), s = se(a.g, 0, 255), l = se(a.b, 0, 255), i = se(a.a, 0, 1), c = se(t.r, 0, 255), o = se(t.g, 0, 255), f = se(t.b, 0, 255);
650
+ const e = se(a.r, 0, 255), s = se(a.g, 0, 255), i = se(a.b, 0, 255), l = se(a.a, 0, 1), c = se(t.r, 0, 255), o = se(t.g, 0, 255), f = se(t.b, 0, 255);
651
651
  return {
652
- r: Math.round((1 - i) * c + i * e),
653
- g: Math.round((1 - i) * o + i * s),
654
- b: Math.round((1 - i) * f + i * l)
652
+ r: Math.round((1 - l) * c + l * e),
653
+ g: Math.round((1 - l) * o + l * s),
654
+ b: Math.round((1 - l) * f + l * i)
655
655
  };
656
656
  }, _a = (a) => {
657
657
  let t = [a.r || 0, a.g || 0, a.b || 0].map(function(e) {
@@ -763,8 +763,8 @@ const ae = (a) => a != null, se = (a, t, e) => !ae(a) || isNaN(a) || a <= t ? t
763
763
  label: t,
764
764
  labelClassName: e,
765
765
  id: s,
766
- validationMessage: l,
767
- defaultValue: i,
766
+ validationMessage: i,
767
+ defaultValue: l,
768
768
  valid: c,
769
769
  // Removed to support direct use in Form Field component
770
770
  visited: o,
@@ -836,8 +836,8 @@ vn.displayName = "KendoReactInput";
836
836
  class is extends n.Component {
837
837
  constructor(t) {
838
838
  super(t), this.onChange = (e) => {
839
- const s = e.target.value, l = Ne(s, "rgba");
840
- this.setState({ hex: s }), ae(l) && this.props.onHexChange(s, l, e);
839
+ const s = e.target.value, i = Ne(s, "rgba");
840
+ this.setState({ hex: s }), ae(i) && this.props.onHexChange(s, i, e);
841
841
  }, this.onBlur = () => {
842
842
  ae(Ne(this.state.hex, "rgba")) || this.setState({ hex: this.state.originalHex });
843
843
  }, this.state = { hex: this.props.hex, originalHex: this.props.hex };
@@ -871,7 +871,7 @@ class ha extends n.Component {
871
871
  }, this.state = { inputMode: t.defaultInputMode || Be[1] };
872
872
  }
873
873
  render() {
874
- const t = Je(this), e = t.toLanguageString(Fe, $[ln]), s = t.toLanguageString(Fe, $[Fe]), l = t.toLanguageString(Fe, $[nn]), i = t.toLanguageString(Fe, $[sn]), c = t.toLanguageString(Fe, $[rn]), o = t.toLanguageString(Wt, $[Wt]);
874
+ const t = Je(this), e = t.toLanguageString(Fe, $[ln]), s = t.toLanguageString(Fe, $[Fe]), i = t.toLanguageString(Fe, $[nn]), l = t.toLanguageString(Fe, $[sn]), c = t.toLanguageString(Fe, $[rn]), o = t.toLanguageString(Wt, $[Wt]);
875
875
  return /* @__PURE__ */ n.createElement("div", { className: "k-colorgradient-inputs k-hstack" }, /* @__PURE__ */ n.createElement("div", { className: "k-vstack" }, /* @__PURE__ */ n.createElement(
876
876
  ge,
877
877
  {
@@ -915,7 +915,7 @@ class ha extends n.Component {
915
915
  onChange: this.onRgbaGChange,
916
916
  disabled: this.props.disabled
917
917
  }
918
- ), /* @__PURE__ */ n.createElement(We, { className: "k-colorgradient-input-label" }, l)), /* @__PURE__ */ n.createElement("div", { className: "k-vstack" }, /* @__PURE__ */ n.createElement(
918
+ ), /* @__PURE__ */ n.createElement(We, { className: "k-colorgradient-input-label" }, i)), /* @__PURE__ */ n.createElement("div", { className: "k-vstack" }, /* @__PURE__ */ n.createElement(
919
919
  ze,
920
920
  {
921
921
  inputType: "number",
@@ -928,7 +928,7 @@ class ha extends n.Component {
928
928
  onChange: this.onRgbaBChange,
929
929
  disabled: this.props.disabled
930
930
  }
931
- ), /* @__PURE__ */ n.createElement(We, { className: "k-colorgradient-input-label" }, i))), this.state.inputMode === "rgba" && /* @__PURE__ */ n.createElement("div", { className: "k-vstack" }, this.props.opacity && /* @__PURE__ */ n.createElement(
931
+ ), /* @__PURE__ */ n.createElement(We, { className: "k-colorgradient-input-label" }, l))), this.state.inputMode === "rgba" && /* @__PURE__ */ n.createElement("div", { className: "k-vstack" }, this.props.opacity && /* @__PURE__ */ n.createElement(
932
932
  ze,
933
933
  {
934
934
  inputType: "number",
@@ -961,12 +961,12 @@ class ha extends n.Component {
961
961
  Nn(ha);
962
962
  da(ha);
963
963
  const kn = "data-slider-label", Rr = (a) => {
964
- const t = n.useRef(null), e = Ae(t), s = a.vertical ? { bottom: `${a.position}%` } : { [e === "rtl" ? "right" : "left"]: `${a.position}%` }, l = a.vertical ? "k-tick-vertical" : "k-tick-horizontal";
964
+ const t = n.useRef(null), e = Ae(t), s = a.vertical ? { bottom: `${a.position}%` } : { [e === "rtl" ? "right" : "left"]: `${a.position}%` }, i = a.vertical ? "k-tick-vertical" : "k-tick-horizontal";
965
965
  return /* @__PURE__ */ n.createElement(
966
966
  "li",
967
967
  {
968
968
  ref: t,
969
- className: `k-tick k-tick-large ${l}`,
969
+ className: `k-tick k-tick-large ${i}`,
970
970
  title: a.title,
971
971
  style: {
972
972
  zIndex: 1,
@@ -994,14 +994,14 @@ class bt extends n.Component {
994
994
  }, this._sliderTrack = null, this._element = null, this.buttons = (e) => {
995
995
  if (!e.enabled)
996
996
  return e.children;
997
- const s = this.state.dir === "rtl" ? this.props.vertical ? Tt : Ia : this.props.vertical ? Tt : La, l = this.state.dir === "rtl" ? this.props.vertical ? ht : La : this.props.vertical ? ht : Ia, i = this.state.dir === "rtl" ? this.props.vertical ? "caret-alt-up" : "caret-alt-left" : this.props.vertical ? "caret-alt-up" : "caret-alt-right", c = this.state.dir === "rtl" ? this.props.vertical ? "caret-alt-down" : "caret-alt-right" : this.props.vertical ? "caret-alt-down" : "caret-alt-left";
997
+ const s = this.state.dir === "rtl" ? this.props.vertical ? Tt : Ia : this.props.vertical ? Tt : La, i = this.state.dir === "rtl" ? this.props.vertical ? ht : La : this.props.vertical ? ht : Ia, l = this.state.dir === "rtl" ? this.props.vertical ? "caret-alt-up" : "caret-alt-left" : this.props.vertical ? "caret-alt-up" : "caret-alt-right", c = this.state.dir === "rtl" ? this.props.vertical ? "caret-alt-down" : "caret-alt-right" : this.props.vertical ? "caret-alt-down" : "caret-alt-left";
998
998
  return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
999
999
  ge,
1000
1000
  {
1001
1001
  className: "k-button-decrease",
1002
1002
  rounded: "full",
1003
1003
  icon: c,
1004
- svgIcon: l,
1004
+ svgIcon: i,
1005
1005
  title: e.decrementTitle,
1006
1006
  onClick: e.decrement
1007
1007
  }
@@ -1010,7 +1010,7 @@ class bt extends n.Component {
1010
1010
  {
1011
1011
  className: "k-button-increase",
1012
1012
  rounded: "full",
1013
- icon: i,
1013
+ icon: l,
1014
1014
  svgIcon: s,
1015
1015
  title: e.incrementTitle,
1016
1016
  onClick: e.increment
@@ -1042,7 +1042,7 @@ class bt extends n.Component {
1042
1042
  }, this.dragOver = (e) => {
1043
1043
  e.event.originalEvent.preventDefault(), this.drag(e);
1044
1044
  }, this.drag = (e) => {
1045
- const s = e.element.getBoundingClientRect(), l = this.props.vertical ? s.bottom - e.event.clientY : this.state.dir === "rtl" ? s.right - e.event.clientX : e.event.clientX - s.left, i = this.props.vertical ? s.height : s.width, c = l / i;
1045
+ const s = e.element.getBoundingClientRect(), i = this.props.vertical ? s.bottom - e.event.clientY : this.state.dir === "rtl" ? s.right - e.event.clientX : e.event.clientX - s.left, l = this.props.vertical ? s.height : s.width, c = i / l;
1046
1046
  this.change(e, this.props.min + c * (this.props.max - this.props.min));
1047
1047
  }, pe(me);
1048
1048
  }
@@ -1050,8 +1050,8 @@ class bt extends n.Component {
1050
1050
  * @hidden
1051
1051
  */
1052
1052
  static getDerivedStateFromProps(t, e) {
1053
- const s = t.value !== void 0 ? t.value : e.value, { min: l, max: i } = t;
1054
- return s === void 0 ? null : { value: Math.min(Math.max(s, l), i) };
1053
+ const s = t.value !== void 0 ? t.value : e.value, { min: i, max: l } = t;
1054
+ return s === void 0 ? null : { value: Math.min(Math.max(s, i), l) };
1055
1055
  }
1056
1056
  /**
1057
1057
  * @hidden
@@ -1066,11 +1066,11 @@ class bt extends n.Component {
1066
1066
  * @hidden
1067
1067
  */
1068
1068
  render() {
1069
- const t = Je(this), e = (this.state.value - this.props.min) / (this.props.max - this.props.min) * 100, s = this.props.vertical ? { marginTop: "0.5rem", marginBottom: "0.5rem" } : { marginLeft: "0.5rem", marginRight: "0.5rem" }, l = this.props.vertical ? { paddingTop: 0, height: "100%" } : {};
1069
+ const t = Je(this), e = (this.state.value - this.props.min) / (this.props.max - this.props.min) * 100, s = this.props.vertical ? { marginTop: "0.5rem", marginBottom: "0.5rem" } : { marginLeft: "0.5rem", marginRight: "0.5rem" }, i = this.props.vertical ? { paddingTop: 0, height: "100%" } : {};
1070
1070
  return /* @__PURE__ */ n.createElement(
1071
1071
  "div",
1072
1072
  {
1073
- ref: (i) => this._element = i,
1073
+ ref: (l) => this._element = l,
1074
1074
  dir: this.state.dir,
1075
1075
  id: this.props.id,
1076
1076
  style: { gap: 0, ...this.props.style },
@@ -1112,15 +1112,15 @@ class bt extends n.Component {
1112
1112
  "ul",
1113
1113
  {
1114
1114
  className: "k-reset k-slider-items",
1115
- style: { margin: 0, ...l }
1115
+ style: { margin: 0, ...i }
1116
1116
  },
1117
- n.Children.map(this.props.children, (i) => i && n.cloneElement(
1118
- i,
1117
+ n.Children.map(this.props.children, (l) => l && n.cloneElement(
1118
+ l,
1119
1119
  {
1120
- position: 100 * (i.props.position - this.props.min) / (this.props.max - this.props.min),
1120
+ position: 100 * (l.props.position - this.props.min) / (this.props.max - this.props.min),
1121
1121
  vertical: this.props.vertical
1122
1122
  },
1123
- i.props.children
1123
+ l.props.children
1124
1124
  ))
1125
1125
  ),
1126
1126
  /* @__PURE__ */ n.createElement(
@@ -1128,7 +1128,7 @@ class bt extends n.Component {
1128
1128
  {
1129
1129
  className: "k-slider-track",
1130
1130
  style: this.props.vertical ? { bottom: 0, height: "100%" } : { [this.state.dir === "rtl" ? "right" : "left"]: 0, width: "100%" },
1131
- ref: (i) => this._sliderTrack = i
1131
+ ref: (l) => this._sliderTrack = l
1132
1132
  },
1133
1133
  /* @__PURE__ */ n.createElement(
1134
1134
  "div",
@@ -1222,18 +1222,18 @@ function ps(a, t) {
1222
1222
  }
1223
1223
  class yn extends n.Component {
1224
1224
  render() {
1225
- const t = Je(this), e = t.toLanguageString($t, $[$t]), s = t.toLanguageString(Ht, $[Ht]), l = t.toLanguageString(Gt, $[Gt]), i = t.toLanguageString(Kt, $[Kt]), c = t.toLanguageString(qt, $[qt]), o = bn(this.props.rgba, this.props.bgColor), f = 4.5.toFixed(1), d = 7 .toFixed(1), m = `${e}: ${o.toFixed(2)}`, u = `${s}: ${f}`, h = `${l}: ${d}`, y = /* @__PURE__ */ n.createElement("span", { className: "k-contrast-validation k-text-success" }, i, " ", /* @__PURE__ */ n.createElement(fe, { name: "check", icon: Rt })), M = /* @__PURE__ */ n.createElement("span", { className: "k-contrast-validation k-text-error" }, c, " ", /* @__PURE__ */ n.createElement(fe, { name: "x", icon: zt }));
1225
+ const t = Je(this), e = t.toLanguageString($t, $[$t]), s = t.toLanguageString(Ht, $[Ht]), i = t.toLanguageString(Gt, $[Gt]), l = t.toLanguageString(Kt, $[Kt]), c = t.toLanguageString(qt, $[qt]), o = bn(this.props.rgba, this.props.bgColor), f = 4.5.toFixed(1), d = 7 .toFixed(1), m = `${e}: ${o.toFixed(2)}`, u = `${s}: ${f}`, h = `${i}: ${d}`, y = /* @__PURE__ */ n.createElement("span", { className: "k-contrast-validation k-text-success" }, l, " ", /* @__PURE__ */ n.createElement(fe, { name: "check", icon: Rt })), M = /* @__PURE__ */ n.createElement("span", { className: "k-contrast-validation k-text-error" }, c, " ", /* @__PURE__ */ n.createElement(fe, { name: "x", icon: zt }));
1226
1226
  return /* @__PURE__ */ n.createElement("div", { className: "k-vbox k-colorgradient-color-contrast" }, /* @__PURE__ */ n.createElement("div", { className: "k-contrast-ratio" }, /* @__PURE__ */ n.createElement("span", { className: "k-contrast-ratio-text" }, m), o >= 4.5 ? /* @__PURE__ */ n.createElement("span", { className: "k-contrast-validation k-text-success" }, /* @__PURE__ */ n.createElement(fe, { name: "check", icon: Rt }), o >= 7 && /* @__PURE__ */ n.createElement(fe, { name: "check", icon: Rt })) : /* @__PURE__ */ n.createElement("span", { className: "k-contrast-validation k-text-error" }, /* @__PURE__ */ n.createElement(fe, { name: "x", icon: zt }))), /* @__PURE__ */ n.createElement("div", null, /* @__PURE__ */ n.createElement("span", null, u), o >= 4.5 ? y : M), /* @__PURE__ */ n.createElement("div", null, /* @__PURE__ */ n.createElement("span", null, h), o >= 7 ? y : M));
1227
1227
  }
1228
1228
  }
1229
1229
  da(yn);
1230
1230
  const it = (a, t) => a.length === 0 ? "" : `<path d="${a.reduce(
1231
- (s, l, i, c) => i === 0 ? (
1231
+ (s, i, l, c) => l === 0 ? (
1232
1232
  // if first point
1233
- `M ${l[0]},${l[1]}`
1233
+ `M ${i[0]},${i[1]}`
1234
1234
  ) : (
1235
1235
  // else
1236
- `${s} ${t(l, i, c)}`
1236
+ `${s} ${t(i, l, c)}`
1237
1237
  ),
1238
1238
  ""
1239
1239
  )}" fill="none" stroke="white" stroke-width="1"/>`, ms = (a, t) => {
@@ -1242,27 +1242,27 @@ const it = (a, t) => a.length === 0 ? "" : `<path d="${a.reduce(
1242
1242
  length: Math.sqrt(Math.pow(e, 2) + Math.pow(s, 2)),
1243
1243
  angle: Math.atan2(s, e)
1244
1244
  };
1245
- }, gs = (a) => (t, e, s, l) => {
1246
- const i = e || t, c = s || t, o = 0.1, f = a(i, c), d = f.angle + (l ? Math.PI : 0), m = f.length * o, u = t[0] + Math.cos(d) * m, h = t[1] + Math.sin(d) * m;
1245
+ }, gs = (a) => (t, e, s, i) => {
1246
+ const l = e || t, c = s || t, o = 0.1, f = a(l, c), d = f.angle + (i ? Math.PI : 0), m = f.length * o, u = t[0] + Math.cos(d) * m, h = t[1] + Math.sin(d) * m;
1247
1247
  return [u, h];
1248
1248
  }, bs = (a) => (t, e, s) => {
1249
- const [l, i] = a(s[e - 1], s[e - 2], t), [c, o] = a(t, s[e - 1], s[e + 1], !0);
1250
- return `C ${l},${i} ${c},${o} ${t[0]},${t[1]}`;
1249
+ const [i, l] = a(s[e - 1], s[e - 2], t), [c, o] = a(t, s[e - 1], s[e + 1], !0);
1250
+ return `C ${i},${l} ${c},${o} ${t[0]},${t[1]}`;
1251
1251
  }, Aa = 4.5, $a = 7, lt = 16;
1252
1252
  class vs extends n.Component {
1253
1253
  renderSvgCurveLine() {
1254
- const t = this.props.metrics, e = (i, c, o, f, d) => {
1254
+ const t = this.props.metrics, e = (l, c, o, f, d) => {
1255
1255
  const m = (o + f) / 2, u = Object.assign({}, this.props.hsva, { s: c / t.width, v: 1 - m / t.height }), h = bn(Ke(fa(u)), Ke(this.props.backgroundColor || ""));
1256
- return o + 0.5 > f ? h < i + 1 && h > i - 1 ? m : null : d(h, i) ? e(i, c, o, f - (f - o) / 2, d) : e(i, c, o + (f - o) / 2, f, d);
1257
- }, s = (i, c, o = !1) => {
1256
+ return o + 0.5 > f ? h < l + 1 && h > l - 1 ? m : null : d(h, l) ? e(l, c, o, f - (f - o) / 2, d) : e(l, c, o + (f - o) / 2, f, d);
1257
+ }, s = (l, c, o = !1) => {
1258
1258
  const f = [];
1259
1259
  for (let d = 0; d <= t.width; d += t.width / c) {
1260
- const m = e(i, d, 0, t.height, o ? (u, h) => u < h : (u, h) => u > h);
1260
+ const m = e(l, d, 0, t.height, o ? (u, h) => u < h : (u, h) => u > h);
1261
1261
  m !== null && f.push([d, m]);
1262
1262
  }
1263
1263
  return f;
1264
- }, l = bs(gs(ms));
1265
- return it(s(Aa, lt), l) + it(s(Aa, lt, !0), l) + it(s($a, lt), l) + it(s($a, lt, !0), l);
1264
+ }, i = bs(gs(ms));
1265
+ return it(s(Aa, lt), i) + it(s(Aa, lt, !0), i) + it(s($a, lt), i) + it(s($a, lt, !0), i);
1266
1266
  }
1267
1267
  shouldComponentUpdate(t) {
1268
1268
  return !(t.hsva.h === this.props.hsva.h && t.hsva.a === this.props.hsva.a && this.props.backgroundColor === t.backgroundColor);
@@ -1288,21 +1288,21 @@ class vs extends n.Component {
1288
1288
  }
1289
1289
  const ks = "rgba", Ha = "rgba(255, 255, 255, 1)", la = class extends n.Component {
1290
1290
  constructor(a) {
1291
- super(a), this.wrapper = null, this.onHexChange = (e, s, l) => {
1291
+ super(a), this.wrapper = null, this.onHexChange = (e, s, i) => {
1292
1292
  if (this.isUncontrolled) {
1293
- const i = Dt(s);
1294
- this.setState({ hsva: i, backgroundColor: rt(i.h), rgba: Ke(s), hex: e });
1293
+ const l = Dt(s);
1294
+ this.setState({ hsva: l, backgroundColor: rt(l.h), rgba: Ke(s), hex: e });
1295
1295
  } else
1296
1296
  ds(this.state.guid, s, e);
1297
- this.dispatchChangeEvent(s, l, l.nativeEvent);
1297
+ this.dispatchChangeEvent(s, i, i.nativeEvent);
1298
1298
  }, this.onRgbaChange = (e, s) => {
1299
- const l = ns(e);
1299
+ const i = ns(e);
1300
1300
  if (this.isUncontrolled) {
1301
- const i = Dt(l), c = Ne(l, "hex");
1302
- this.setState({ hsva: i, backgroundColor: rt(i.h), rgba: e, hex: c });
1301
+ const l = Dt(i), c = Ne(i, "hex");
1302
+ this.setState({ hsva: l, backgroundColor: rt(l.h), rgba: e, hex: c });
1303
1303
  } else
1304
- cs(this.state.guid, l, e);
1305
- this.dispatchChangeEvent(l, s.syntheticEvent, s.nativeEvent);
1304
+ cs(this.state.guid, i, e);
1305
+ this.dispatchChangeEvent(i, s.syntheticEvent, s.nativeEvent);
1306
1306
  }, this.onAlphaSliderChange = (e) => {
1307
1307
  this.handleHsvaChange(
1308
1308
  Object.assign({}, this.state.hsva, { a: e.value / 100 }),
@@ -1322,7 +1322,7 @@ const ks = "rgba", Ha = "rgba(255, 255, 255, 1)", la = class extends n.Component
1322
1322
  }, this.onGradientWrapperClick = (e) => {
1323
1323
  this.changePosition(e);
1324
1324
  }, this.changePosition = (e) => {
1325
- const s = this.getGradientRectMetrics(), l = e.clientX - s.left, i = e.clientY - s.top, c = se(l, 0, s.width), o = se(i, 0, s.height), f = Object.assign(
1325
+ const s = this.getGradientRectMetrics(), i = e.clientX - s.left, l = e.clientY - s.top, c = se(i, 0, s.width), o = se(l, 0, s.height), f = Object.assign(
1326
1326
  {},
1327
1327
  this.state.hsva,
1328
1328
  { s: c / s.width, v: 1 - o / s.height }
@@ -1393,8 +1393,8 @@ const ks = "rgba", Ha = "rgba(255, 255, 255, 1)", la = class extends n.Component
1393
1393
  handleHsvaChange(a, t, e) {
1394
1394
  const s = fa(a);
1395
1395
  if (this.isUncontrolled) {
1396
- const l = Ne(s, "hex");
1397
- this.setState({ hsva: a, backgroundColor: rt(a.h), rgba: Ke(s), hex: l });
1396
+ const i = Ne(s, "hex");
1397
+ this.setState({ hsva: a, backgroundColor: rt(a.h), rgba: Ke(s), hex: i });
1398
1398
  } else
1399
1399
  os(this.state.guid, s, a);
1400
1400
  this.dispatchChangeEvent(s, t, e);
@@ -1413,8 +1413,8 @@ const ks = "rgba", Ha = "rgba(255, 255, 255, 1)", la = class extends n.Component
1413
1413
  */
1414
1414
  static getStateFromValue(a, t) {
1415
1415
  ae(Ne(a, "hex")) || (a = Ha);
1416
- const e = hs(t, a) || Dt(a), s = ps(t, a) || Ke(a), l = fs(t, a) || Ne(a, "hex"), i = rt(e.h);
1417
- return { hsva: e, backgroundColor: i, rgba: s, hex: l };
1416
+ const e = hs(t, a) || Dt(a), s = ps(t, a) || Ke(a), i = fs(t, a) || Ne(a, "hex"), l = rt(e.h);
1417
+ return { hsva: e, backgroundColor: l, rgba: s, hex: i };
1418
1418
  }
1419
1419
  /**
1420
1420
  * @hidden
@@ -1563,8 +1563,8 @@ class Cs {
1563
1563
  if (this.colorRows = [], !!(ae(t) && t.length)) {
1564
1564
  e = e || t.length;
1565
1565
  for (let s = 0; s < t.length; s += e) {
1566
- const l = t.slice(s, e + s);
1567
- this.colorRows.push(l);
1566
+ const i = t.slice(s, e + s);
1567
+ this.colorRows.push(i);
1568
1568
  }
1569
1569
  }
1570
1570
  }
@@ -1573,10 +1573,10 @@ class Cs {
1573
1573
  return;
1574
1574
  const e = t && mt(t, !0), s = [t];
1575
1575
  ae(e) && s.push(e.toCss(), e.toCssRgba());
1576
- for (let l = 0; l < this.colorRows.length; l++)
1577
- for (let i = 0; i < this.colorRows[l].length; i++)
1578
- if (s.some((c) => c === this.colorRows[l][i]))
1579
- return { row: l, col: i };
1576
+ for (let i = 0; i < this.colorRows.length; i++)
1577
+ for (let l = 0; l < this.colorRows[i].length; l++)
1578
+ if (s.some((c) => c === this.colorRows[i][l]))
1579
+ return { row: i, col: l };
1580
1580
  }
1581
1581
  getColorAt(t) {
1582
1582
  if (ae(t) && ae(this.colorRows[t.row]))
@@ -1585,8 +1585,8 @@ class Cs {
1585
1585
  getNextCell(t, e, s) {
1586
1586
  if (!(ae(t) && ae(t.row) && ae(t.col)))
1587
1587
  return { row: 0, col: 0 };
1588
- const l = this.clampIndex(t.row + s, this.colorRows.length - 1), i = this.clampIndex(t.col + e, this.colorRows[l].length - 1);
1589
- return { row: l, col: i };
1588
+ const i = this.clampIndex(t.row + s, this.colorRows.length - 1), l = this.clampIndex(t.col + e, this.colorRows[i].length - 1);
1589
+ return { row: i, col: l };
1590
1590
  }
1591
1591
  clampIndex(t, e) {
1592
1592
  return t < 0 ? 0 : t > e ? e : t;
@@ -1690,13 +1690,13 @@ class kt extends n.Component {
1690
1690
  render() {
1691
1691
  const t = this.getPaletteInfo(), e = this.paletteService = new Cs();
1692
1692
  e.setColorMatrix(t.colors, t.columns);
1693
- const s = e.getCellCoordsFor(this.state.selectedColor), l = e.getCellCoordsFor(this.state.focusedColor), i = G("k-colorpalette", { "k-disabled": this.props.disabled }, this.props.className);
1693
+ const s = e.getCellCoordsFor(this.state.selectedColor), i = e.getCellCoordsFor(this.state.focusedColor), l = G("k-colorpalette", { "k-disabled": this.props.disabled }, this.props.className);
1694
1694
  return t.colors.length ? /* @__PURE__ */ n.createElement(
1695
1695
  "div",
1696
1696
  {
1697
1697
  id: this.props.id,
1698
1698
  role: "grid",
1699
- className: i,
1699
+ className: l,
1700
1700
  onFocus: this.onFocus,
1701
1701
  onBlur: this.onBlur,
1702
1702
  onKeyDown: this.onKeyDown,
@@ -1706,7 +1706,7 @@ class kt extends n.Component {
1706
1706
  tabIndex: ie(this.props.tabIndex, this.props.disabled),
1707
1707
  ref: (c) => this.wrapper = c
1708
1708
  },
1709
- /* @__PURE__ */ n.createElement("table", { className: "k-colorpalette-table", role: "presentation" }, /* @__PURE__ */ n.createElement("tbody", { role: "rowgroup" }, this.renderRows(e.colorRows, s, l)))
1709
+ /* @__PURE__ */ n.createElement("table", { className: "k-colorpalette-table", role: "presentation" }, /* @__PURE__ */ n.createElement("tbody", { role: "rowgroup" }, this.renderRows(e.colorRows, s, i)))
1710
1710
  ) : "";
1711
1711
  }
1712
1712
  /**
@@ -1757,12 +1757,12 @@ class kt extends n.Component {
1757
1757
  return { colors: this.props.palette || [], columns: this.props.columns || Ga };
1758
1758
  }
1759
1759
  renderRows(t, e, s) {
1760
- return t.map((l, i) => /* @__PURE__ */ n.createElement("tr", { role: "row", key: i }, this.renderColumns(l, i, e, s)));
1760
+ return t.map((i, l) => /* @__PURE__ */ n.createElement("tr", { role: "row", key: l }, this.renderColumns(i, l, e, s)));
1761
1761
  }
1762
- renderColumns(t, e, s, l) {
1763
- const i = s !== void 0 && s.row === e, c = s && s.col, o = l !== void 0 && l.row === e, f = l && l.col, d = typeof this.props.tileSize != "number" ? this.props.tileSize : { width: this.props.tileSize, height: this.props.tileSize }, m = d.width + "px", u = d.height + "px";
1762
+ renderColumns(t, e, s, i) {
1763
+ const l = s !== void 0 && s.row === e, c = s && s.col, o = i !== void 0 && i.row === e, f = i && i.col, d = typeof this.props.tileSize != "number" ? this.props.tileSize : { width: this.props.tileSize, height: this.props.tileSize }, m = d.width + "px", u = d.height + "px";
1764
1764
  return t.map((h, y) => {
1765
- const M = i && c === y, D = G(
1765
+ const M = l && c === y, D = G(
1766
1766
  "k-colorpalette-tile",
1767
1767
  {
1768
1768
  "k-selected": M,
@@ -1814,7 +1814,7 @@ const Ss = "bottom", ws = "top", En = (a) => {
1814
1814
  const t = a.popupSettings || {}, e = a.dir === "rtl" ? "right" : "left", s = n.useMemo(
1815
1815
  () => ({ horizontal: e, vertical: Ss }),
1816
1816
  [e]
1817
- ), l = n.useMemo(
1817
+ ), i = n.useMemo(
1818
1818
  () => ({ horizontal: e, vertical: ws }),
1819
1819
  [e]
1820
1820
  );
@@ -1828,7 +1828,7 @@ const Ss = "bottom", ws = "top", En = (a) => {
1828
1828
  ...t,
1829
1829
  anchor: a.popupAnchor,
1830
1830
  anchorAlign: s,
1831
- popupAlign: l,
1831
+ popupAlign: i,
1832
1832
  show: a.open,
1833
1833
  onOpen: a.onOpen,
1834
1834
  onClose: a.onClose,
@@ -1846,8 +1846,8 @@ const Is = {
1846
1846
  }, Bt = (a) => a !== void 0, Rs = he(), ga = n.forwardRef((a, t) => {
1847
1847
  pe(me);
1848
1848
  const e = Re(Rs, a), s = _e(), {
1849
- size: l = dt.size,
1850
- rounded: i = dt.rounded,
1849
+ size: i = dt.size,
1850
+ rounded: l = dt.rounded,
1851
1851
  fillMode: c = dt.fillMode,
1852
1852
  popupSettings: o,
1853
1853
  gradientSettings: f,
@@ -1966,9 +1966,9 @@ const Is = {
1966
1966
  "k-picker",
1967
1967
  "k-icon-picker",
1968
1968
  {
1969
- [`k-picker-${ne.sizeMap[l] || l}`]: l,
1969
+ [`k-picker-${ne.sizeMap[i] || i}`]: i,
1970
1970
  [`k-picker-${c}`]: c,
1971
- [`k-rounded-${ne.roundedMap[i] || i}`]: i,
1971
+ [`k-rounded-${ne.roundedMap[l] || l}`]: l,
1972
1972
  "k-invalid": !He,
1973
1973
  "k-disabled": u,
1974
1974
  "k-focus": V,
@@ -2070,10 +2070,10 @@ ga.defaultProps = dt;
2070
2070
  ga.displayName = "KendoColorPicker";
2071
2071
  const Ka = "rgba(255, 255, 255, 1)", Sn = n.forwardRef((a, t) => {
2072
2072
  pe(me);
2073
- const e = n.useRef(null), s = n.useRef(null), l = n.useRef(null), { defaultValue: i = Ka, showButtons: c = !0, showPreview: o = !0, showClearButton: f = !0 } = a, [d, m] = n.useState((a.view || "ColorGradient") === "ColorGradient"), [u, h] = n.useState(a.value || i), [y, M] = n.useState(a.value || i), D = a.value !== void 0 ? a.value : y;
2073
+ const e = n.useRef(null), s = n.useRef(null), i = n.useRef(null), { defaultValue: l = Ka, showButtons: c = !0, showPreview: o = !0, showClearButton: f = !0 } = a, [d, m] = n.useState((a.view || "ColorGradient") === "ColorGradient"), [u, h] = n.useState(a.value || l), [y, M] = n.useState(a.value || l), D = a.value !== void 0 ? a.value : y;
2074
2074
  n.useEffect(() => {
2075
- h(a.value || i);
2076
- }, [a.value, i]);
2075
+ h(a.value || l);
2076
+ }, [a.value, l]);
2077
2077
  const N = _e(), L = n.useCallback(
2078
2078
  () => {
2079
2079
  e.current && e.current.focus();
@@ -2093,16 +2093,16 @@ const Ka = "rgba(255, 255, 255, 1)", Sn = n.forwardRef((a, t) => {
2093
2093
  [d]
2094
2094
  ), w = n.useCallback(
2095
2095
  (E) => {
2096
- if (h(i), a.onPreviewChange) {
2096
+ if (h(l), a.onPreviewChange) {
2097
2097
  const V = {
2098
- value: i,
2098
+ value: l,
2099
2099
  nativeEvent: E.nativeEvent,
2100
2100
  syntheticEvent: E
2101
2101
  };
2102
2102
  a.onPreviewChange.call(void 0, V);
2103
2103
  }
2104
2104
  },
2105
- [i, a.onPreviewChange]
2105
+ [l, a.onPreviewChange]
2106
2106
  ), B = n.useCallback(
2107
2107
  (E) => {
2108
2108
  if (h(E.value), a.onPreviewChange) {
@@ -2229,7 +2229,7 @@ const Ka = "rgba(255, 255, 255, 1)", Sn = n.forwardRef((a, t) => {
2229
2229
  ), o && /* @__PURE__ */ n.createElement("div", { className: "k-coloreditor-preview k-vstack" }, /* @__PURE__ */ n.createElement("span", { className: "k-coloreditor-preview-color k-color-preview", style: { background: u } }), /* @__PURE__ */ n.createElement("span", { className: "k-coloreditor-current-color k-color-preview", style: { background: y }, onClick: F })))), /* @__PURE__ */ n.createElement("div", { className: "k-coloreditor-views k-vstack" }, d ? /* @__PURE__ */ n.createElement(
2230
2230
  pa,
2231
2231
  {
2232
- ref: l,
2232
+ ref: i,
2233
2233
  role: "none",
2234
2234
  tabIndex: -1,
2235
2235
  ariaLabel: void 0,
@@ -2280,7 +2280,7 @@ class Y {
2280
2280
  return t(this.value, this.rest);
2281
2281
  }
2282
2282
  concat(t) {
2283
- return this.map((e, s) => t.chain((l, i) => e.concat([l])));
2283
+ return this.map((e, s) => t.chain((i, l) => e.concat([i])));
2284
2284
  }
2285
2285
  toString() {
2286
2286
  return `Result({ value: '${this.value}', rest: ${this.rest} })`;
@@ -2330,29 +2330,29 @@ class Ce {
2330
2330
  }
2331
2331
  // chain :: Chain m => m a ~> (a -> m b) -> m b
2332
2332
  chain(t) {
2333
- return new Ce((e) => this.parse(e).chain((s, l) => t(s).run(l)));
2333
+ return new Ce((e) => this.parse(e).chain((s, i) => t(s).run(i)));
2334
2334
  }
2335
2335
  isLiteral(t) {
2336
2336
  return this.run(t).type === Pe.Literal;
2337
2337
  }
2338
2338
  }
2339
2339
  const Ns = (a) => (t) => new Ce((e) => {
2340
- const { prompt: s, promptPlaceholder: l } = a;
2340
+ const { prompt: s, promptPlaceholder: i } = a;
2341
2341
  for (; !e.eof(); ) {
2342
- const { char: i, control: c } = e.peek();
2343
- if (i === c && c === s)
2342
+ const { char: l, control: c } = e.peek();
2343
+ if (l === c && c === s)
2344
2344
  return e.eat(), new Y(s, e, Pe.Mask);
2345
- if (t.test(i))
2346
- return e.eat(), new Y(i, e, Pe.Mask);
2347
- if (i === l)
2345
+ if (t.test(l))
2346
+ return e.eat(), new Y(l, e, Pe.Mask);
2347
+ if (l === i)
2348
2348
  return e.eat(), new Y(s, e, Pe.Mask);
2349
2349
  e.eat_input();
2350
2350
  }
2351
2351
  return e.eat(), new Y(s, e, Pe.Mask);
2352
2352
  }), Ps = (a) => new Ce((t) => t.peek().char === a ? (t.eat(), new Y(a, t, Pe.Literal)) : new Y(a, t, Pe.Literal)), Ds = (a) => (t) => new Ce((e) => {
2353
2353
  for (; !e.eof(); ) {
2354
- const { char: s, control: l } = e.peek();
2355
- if (s === a && l === a)
2354
+ const { char: s, control: i } = e.peek();
2355
+ if (s === a && i === a)
2356
2356
  return e.eat(), new Y(s, e);
2357
2357
  if (t.test(s))
2358
2358
  return e.eat(), new Y(s, e);
@@ -2366,12 +2366,12 @@ const Ns = (a) => (t) => new Ce((e) => {
2366
2366
  return e === a && t.eat(), new Y(a, t);
2367
2367
  }), ot = (a, t) => new Ce((e) => {
2368
2368
  let { char: s } = e.next();
2369
- const l = a[s];
2370
- return s === Ms ? (s = e.next().char, new Y(t.literal(s), e)) : l ? new Y(t.mask(l), e) : new Y(t.literal(s), e);
2369
+ const i = a[s];
2370
+ return s === Ms ? (s = e.next().char, new Y(t.literal(s), e)) : i ? new Y(t.mask(i), e) : new Y(t.literal(s), e);
2371
2371
  }), ja = (a) => new Ce((t) => {
2372
2372
  const { prompt: e, promptPlaceholder: s } = a;
2373
- let { char: l } = t.next();
2374
- return l === e ? new Y(s, t) : new Y(l, t);
2373
+ let { char: i } = t.next();
2374
+ return i === e ? new Y(s, t) : new Y(i, t);
2375
2375
  }), Wa = (a) => new Ce((t) => {
2376
2376
  let { char: e } = t.next();
2377
2377
  return a ? new Y(e, t) : new Y("", t);
@@ -2385,8 +2385,8 @@ class Ts {
2385
2385
  constructor() {
2386
2386
  this.rules = {}, this.prompt = "_", this.mask = "", this.promptPlaceholder = " ", this.includeLiterals = !1, this.maskTokens = [], this.unmaskTokens = [], this.rawTokens = [], this.validationTokens = [];
2387
2387
  }
2388
- update({ mask: t = "", prompt: e = "", promptPlaceholder: s = " ", rules: l = {}, includeLiterals: i = !1 }) {
2389
- this.mask = t, this.prompt = e, this.promptPlaceholder = s, this.rules = l, this.includeLiterals = i, this.tokenize();
2388
+ update({ mask: t = "", prompt: e = "", promptPlaceholder: s = " ", rules: i = {}, includeLiterals: l = !1 }) {
2389
+ this.mask = t, this.prompt = e, this.promptPlaceholder = s, this.rules = i, this.includeLiterals = l, this.tokenize();
2390
2390
  }
2391
2391
  validationValue(t = "") {
2392
2392
  let e = t;
@@ -2412,24 +2412,24 @@ class Ts {
2412
2412
  maskInput(t, e, s) {
2413
2413
  return t.length < e.length ? this.maskRemoved(t, e, s) : this.maskInserted(t, e, s);
2414
2414
  }
2415
- maskInRange(t, e, s, l) {
2416
- let i = "", c = l;
2417
- const o = e.split("").slice(0, s), f = e.split("").slice(l);
2418
- return Oe(this.maskTokens.slice(s, l)).run(t).fold((d) => {
2419
- i = o.concat(d).concat(f).join("");
2415
+ maskInRange(t, e, s, i) {
2416
+ let l = "", c = i;
2417
+ const o = e.split("").slice(0, s), f = e.split("").slice(i);
2418
+ return Oe(this.maskTokens.slice(s, i)).run(t).fold((d) => {
2419
+ l = o.concat(d).concat(f).join("");
2420
2420
  }), {
2421
2421
  selection: c,
2422
- value: i
2422
+ value: l
2423
2423
  };
2424
2424
  }
2425
2425
  maskRemoved(t, e, s) {
2426
- let l = "", i = s;
2426
+ let i = "", l = s;
2427
2427
  const c = t.split("").slice(s), o = t.split("").slice(0, s).join(""), f = this.maskTokens.length - (t.length - s);
2428
2428
  return Oe(this.maskTokens.slice(0, f)).run(o, e).fold((d) => {
2429
- i = this.adjustPosition(d, i), l = d.concat(c).join("");
2429
+ l = this.adjustPosition(d, l), i = d.concat(c).join("");
2430
2430
  }), {
2431
- selection: i,
2432
- value: l
2431
+ selection: l,
2432
+ value: i
2433
2433
  };
2434
2434
  }
2435
2435
  adjustPosition(t, e) {
@@ -2437,17 +2437,17 @@ class Ts {
2437
2437
  return !this.maskTokens[e].isLiteral(s) && s !== this.prompt ? e + 1 : e;
2438
2438
  }
2439
2439
  maskInserted(t, e, s) {
2440
- let l = "", i = s;
2440
+ let i = "", l = s;
2441
2441
  const c = t.slice(0, s);
2442
2442
  return Oe(this.unmaskTokens).run(c, e).chain((o) => {
2443
- i = o.join("").length;
2444
- const f = e.slice(i);
2443
+ l = o.join("").length;
2444
+ const f = e.slice(l);
2445
2445
  return Oe(this.maskTokens).run(o.join("") + f, e);
2446
2446
  }).fold((o) => {
2447
- l = o.join("");
2447
+ i = o.join("");
2448
2448
  }), {
2449
- selection: i,
2450
- value: l
2449
+ selection: l,
2450
+ value: i
2451
2451
  };
2452
2452
  }
2453
2453
  get maskTokenCreator() {
@@ -2466,8 +2466,8 @@ class Ts {
2466
2466
  get rawTokenCreator() {
2467
2467
  const { prompt: t, promptPlaceholder: e, includeLiterals: s } = this;
2468
2468
  return {
2469
- literal: (l) => Wa(s),
2470
- mask: (l) => ja({ prompt: t, promptPlaceholder: e })
2469
+ literal: (i) => Wa(s),
2470
+ mask: (i) => ja({ prompt: t, promptPlaceholder: e })
2471
2471
  };
2472
2472
  }
2473
2473
  get validationTokenCreator() {
@@ -2526,7 +2526,7 @@ const wn = {
2526
2526
  const { selectionStart: e, selectionEnd: s } = t.target;
2527
2527
  s !== e && (this._isPasted = !0, this._selection = [e || 0, s || 0]);
2528
2528
  }, this.onChangeHandler = (t) => {
2529
- const e = t.currentTarget, s = e.value, l = this._selection[0] || 0, i = this._selection[1] || 0;
2529
+ const e = t.currentTarget, s = e.value, i = this._selection[0] || 0, l = this._selection[1] || 0;
2530
2530
  if (!this.props.mask) {
2531
2531
  this._isPasted = !1, this._selection = [null, null], this.triggerOnChange(s, t);
2532
2532
  return;
@@ -2535,8 +2535,8 @@ const wn = {
2535
2535
  let o;
2536
2536
  if (this._isPasted) {
2537
2537
  this._isPasted = !1;
2538
- const f = c.length - i, d = s.length - f;
2539
- o = this._service.maskInRange(s.slice(l, d), c, l, i);
2538
+ const f = c.length - l, d = s.length - f;
2539
+ o = this._service.maskInRange(s.slice(i, d), c, i, l);
2540
2540
  } else
2541
2541
  o = this._service.maskInput(s, c, e.selectionStart || 0);
2542
2542
  this._selection = [o.selection, o.selection], this.triggerOnChange(o.value, t);
@@ -2639,8 +2639,8 @@ const wn = {
2639
2639
  componentDidUpdate(a, t) {
2640
2640
  if (this.element && this.state.focused && t.focused) {
2641
2641
  let [e, s] = this._selection;
2642
- const l = a.selection, i = this.props.selection;
2643
- (!l && i || l && i && (l.start !== i.start || l.end !== i.end)) && (e = i.start, s = i.end), e !== null && s !== null && this.element.setSelectionRange(e, s);
2642
+ const i = a.selection, l = this.props.selection;
2643
+ (!i && l || i && l && (i.start !== l.start || i.end !== l.end)) && (e = l.start, s = l.end), e !== null && s !== null && this.element.setSelectionRange(e, s);
2644
2644
  }
2645
2645
  zs(a, this.props) && this.updateService(), this.setValidity();
2646
2646
  }
@@ -2658,7 +2658,7 @@ const wn = {
2658
2658
  size: a = Ve.defaultProps.size,
2659
2659
  fillMode: t = Ve.defaultProps.fillMode,
2660
2660
  rounded: e = Ve.defaultProps.rounded
2661
- } = this.props, s = this.props.id || this._inputId, l = !this.validityStyles || this.validity.valid, i = this.props.style || {}, {
2661
+ } = this.props, s = this.props.id || this._inputId, i = !this.validityStyles || this.validity.valid, l = this.props.style || {}, {
2662
2662
  prefix: c = Ve.defaultProps.prefix,
2663
2663
  suffix: o = Ve.defaultProps.suffix
2664
2664
  } = this.props, [f] = qe(c), [d] = qe(o), m = /* @__PURE__ */ n.createElement(
@@ -2671,13 +2671,13 @@ const wn = {
2671
2671
  [`k-input-${ne.sizeMap[a] || a}`]: a,
2672
2672
  [`k-input-${t}`]: t,
2673
2673
  [`k-rounded-${ne.roundedMap[e] || e}`]: e,
2674
- "k-invalid": !l,
2674
+ "k-invalid": !i,
2675
2675
  "k-required": this.required,
2676
2676
  "k-disabled": this.props.disabled
2677
2677
  },
2678
2678
  this.props.className
2679
2679
  ),
2680
- style: this.props.label ? i : { width: this.props.width, ...i }
2680
+ style: this.props.label ? l : { width: this.props.width, ...l }
2681
2681
  },
2682
2682
  /* @__PURE__ */ n.createElement(f, null),
2683
2683
  /* @__PURE__ */ n.createElement(
@@ -2718,7 +2718,7 @@ const wn = {
2718
2718
  label: this.props.label,
2719
2719
  editorId: s,
2720
2720
  editorValue: this.value,
2721
- editorValid: l,
2721
+ editorValid: i,
2722
2722
  editorDisabled: this.props.disabled,
2723
2723
  editorPlaceholder: this.props.placeholder,
2724
2724
  children: m,
@@ -2787,7 +2787,7 @@ yt.propTypes = {
2787
2787
  mask: r.string,
2788
2788
  rules: function(a, t, e) {
2789
2789
  const s = a.rules;
2790
- return s !== void 0 && !Object.entries(s).some((i) => typeof i != "string" || !(s[i] instanceof RegExp)) ? new Error(
2790
+ return s !== void 0 && !Object.entries(s).some((l) => typeof l != "string" || !(s[l] instanceof RegExp)) ? new Error(
2791
2791
  "Invalid prop `" + t + "` supplied to `" + e + "`. Validation failed."
2792
2792
  ) : null;
2793
2793
  },
@@ -2900,24 +2900,24 @@ const Hs = (a, t) => {
2900
2900
  }
2901
2901
  return e;
2902
2902
  }, Gs = (a, t, e) => {
2903
- const [s, l] = n.useState(a), i = n.useCallback(
2903
+ const [s, i] = n.useState(a), l = n.useCallback(
2904
2904
  (c) => {
2905
2905
  const o = Hs(t.state || s, { ...c, ...t });
2906
- e && e(o, c.event), l(o);
2906
+ e && e(o, c.event), i(o);
2907
2907
  },
2908
2908
  [t, e]
2909
2909
  );
2910
- return [s, i];
2910
+ return [s, l];
2911
2911
  }, Ks = he(), ba = n.forwardRef((a, t) => {
2912
2912
  pe(me);
2913
- const e = Re(Ks, a), s = n.useRef(null), l = n.useRef(null), i = n.useRef(null), c = n.useRef(null), o = n.useRef(null), f = n.useCallback(
2913
+ const e = Re(Ks, a), s = n.useRef(null), i = n.useRef(null), l = n.useRef(null), c = n.useRef(null), o = n.useRef(null), f = n.useCallback(
2914
2914
  () => {
2915
2915
  c.current && c.current.focus();
2916
2916
  },
2917
2917
  [c]
2918
2918
  );
2919
2919
  n.useImperativeHandle(s, () => ({
2920
- element: l.current,
2920
+ element: i.current,
2921
2921
  focus: f,
2922
2922
  props: e
2923
2923
  })), n.useImperativeHandle(t, () => s.current);
@@ -2930,7 +2930,7 @@ const Hs = (a, t) => {
2930
2930
  ), u = n.useMemo(
2931
2931
  () => e.step !== void 0 ? e.step : ut.step,
2932
2932
  [e.step, ut.step]
2933
- ), h = Ae(l, e.dir), y = (g, k) => {
2933
+ ), h = Ae(i, e.dir), y = (g, k) => {
2934
2934
  e.onChange && s.current && e.onChange.call(void 0, {
2935
2935
  value: g,
2936
2936
  target: s.current,
@@ -3054,7 +3054,7 @@ const Hs = (a, t) => {
3054
3054
  {
3055
3055
  id: e.id,
3056
3056
  style: e.style,
3057
- ref: l,
3057
+ ref: i,
3058
3058
  dir: h,
3059
3059
  className: G(
3060
3060
  "k-slider",
@@ -3105,7 +3105,7 @@ const Hs = (a, t) => {
3105
3105
  "div",
3106
3106
  {
3107
3107
  "data-selection": !0,
3108
- ref: i,
3108
+ ref: l,
3109
3109
  title: `${S.start} - ${S.end}`,
3110
3110
  className: "k-slider-selection",
3111
3111
  style: e.vertical ? { height: I - O + "%", bottom: O + "%" } : {
@@ -3154,8 +3154,8 @@ const Hs = (a, t) => {
3154
3154
  }), qs = {
3155
3155
  value: (a, t, e) => {
3156
3156
  if (a.value) {
3157
- const s = a.value.start, l = a.value.end, i = a.min, c = a.max;
3158
- if (s > l || s > c || s < i || l > c || l < i || l < s)
3157
+ const s = a.value.start, i = a.value.end, l = a.min, c = a.max;
3158
+ if (s > i || s > c || s < l || i > c || i < l || i < s)
3159
3159
  return new Error(
3160
3160
  `Invalid prop + ${t} supplied to ${e}.
3161
3161
  The { start, end } value must be between the min & max value and { start, end } must be start < end.
@@ -3166,8 +3166,8 @@ const Hs = (a, t) => {
3166
3166
  },
3167
3167
  defaultValue: (a, t, e) => {
3168
3168
  if (a.defaultValue) {
3169
- const s = a.defaultValue.start, l = a.defaultValue.end, i = a.min, c = a.max;
3170
- if (s > l || s > c || s < i || l > c || l < i || l < s)
3169
+ const s = a.defaultValue.start, i = a.defaultValue.end, l = a.min, c = a.max;
3170
+ if (s > i || s > c || s < l || i > c || i < l || i < s)
3171
3171
  return new Error(
3172
3172
  `Invalid prop + ${t} supplied to ${e}.
3173
3173
  The { start, end } value must be between the min & max value and { start, end } must be start < end.
@@ -3179,24 +3179,24 @@ const Hs = (a, t) => {
3179
3179
  onChange: r.func,
3180
3180
  step: r.number,
3181
3181
  min: (a, t, e) => {
3182
- const s = a[t], l = a.min, i = a.max;
3183
- return l === void 0 ? new Error(
3182
+ const s = a[t], i = a.min, l = a.max;
3183
+ return i === void 0 ? new Error(
3184
3184
  `Invalid prop + ${t} supplied to ${e}.
3185
3185
  ${t} value can not be undefined.
3186
3186
  `
3187
- ) : s && l >= i ? new Error(
3187
+ ) : s && i >= l ? new Error(
3188
3188
  `Invalid prop + ${t} supplied to ${e}.
3189
3189
  ${t} value can not be equal to or bigger than the max value.
3190
3190
  `
3191
3191
  ) : null;
3192
3192
  },
3193
3193
  max: (a, t, e) => {
3194
- const s = a[t], l = a.min, i = a.max;
3195
- return i === void 0 ? new Error(
3194
+ const s = a[t], i = a.min, l = a.max;
3195
+ return l === void 0 ? new Error(
3196
3196
  `Invalid prop + ${t} supplied to ${e}.
3197
3197
  ${t} value can not be undefined.
3198
3198
  `
3199
- ) : s && i <= l ? new Error(
3199
+ ) : s && l <= i ? new Error(
3200
3200
  `Invalid prop + ${t} supplied to ${e}.
3201
3201
  ${t} value can not be equal to or smaller than the min value.
3202
3202
  `
@@ -3227,8 +3227,8 @@ const ft = class extends n.Component {
3227
3227
  this.validity.valid ? "" : this.props.validationMessage || this.defaultValidationMessage.toLanguageString(Jt, $[Jt])
3228
3228
  );
3229
3229
  }, this.limit = (t, e, s) => {
3230
- const l = s.offsetWidth, i = e.offsetWidth;
3231
- return t < 0 ? 0 : t > l - i ? l - i : t;
3230
+ const i = s.offsetWidth, l = e.offsetWidth;
3231
+ return t < 0 ? 0 : t > i - l ? i - l : t;
3232
3232
  }, this.toggle = (t, e) => {
3233
3233
  this.setState({ checked: t }), this.valueDuringOnChange = t, Q(this.props.onChange, e, this, { value: t }), this.valueDuringOnChange = void 0;
3234
3234
  }, this._element = null, this._wrapper = null, this._input = null, this._id = this.props.id, this.defaultValidationMessage = Je(this), this.focus = () => {
@@ -3329,12 +3329,12 @@ const ft = class extends n.Component {
3329
3329
  * @hidden
3330
3330
  */
3331
3331
  render() {
3332
- const { focused: a } = this.state, { dir: t, disabled: e, trackRounded: s, thumbRounded: l, size: i, offLabel: c, onLabel: o, tabIndex: f } = this.props;
3332
+ const { focused: a } = this.state, { dir: t, disabled: e, trackRounded: s, thumbRounded: i, size: l, offLabel: c, onLabel: o, tabIndex: f } = this.props;
3333
3333
  this.dir = t || this.element && getComputedStyle(this.element).direction || void 0;
3334
3334
  const d = !this.validityStyles || this.validity.valid, m = G(
3335
3335
  "k-switch",
3336
3336
  {
3337
- [`k-switch-${ne.sizeMap[i] || i}`]: i,
3337
+ [`k-switch-${ne.sizeMap[l] || l}`]: l,
3338
3338
  [`k-rounded-${ne.roundedMap[s] || s}`]: s,
3339
3339
  "k-switch-on": this.value,
3340
3340
  "k-switch-off": !this.value,
@@ -3383,7 +3383,7 @@ const ft = class extends n.Component {
3383
3383
  /* @__PURE__ */ n.createElement("span", { className: "k-switch-label-on" }, o),
3384
3384
  /* @__PURE__ */ n.createElement("span", { className: "k-switch-label-off" }, c)
3385
3385
  ),
3386
- /* @__PURE__ */ n.createElement("span", { className: "k-switch-thumb-wrap" }, /* @__PURE__ */ n.createElement("span", { className: G("k-switch-thumb", { [`k-rounded-${l}`]: l }) }))
3386
+ /* @__PURE__ */ n.createElement("span", { className: "k-switch-thumb-wrap" }, /* @__PURE__ */ n.createElement("span", { className: G("k-switch-thumb", { [`k-rounded-${i}`]: i }) }))
3387
3387
  );
3388
3388
  }
3389
3389
  };
@@ -3432,8 +3432,8 @@ const Ws = he(), va = n.forwardRef((a, t) => {
3432
3432
  pe(me);
3433
3433
  const e = Re(Ws, a), {
3434
3434
  ariaDescribedBy: s,
3435
- ariaLabelledBy: l,
3436
- checked: i,
3435
+ ariaLabelledBy: i,
3436
+ checked: l,
3437
3437
  className: c,
3438
3438
  labelClassName: o,
3439
3439
  children: f,
@@ -3477,7 +3477,7 @@ const Ws = he(), va = n.forwardRef((a, t) => {
3477
3477
  [g]
3478
3478
  );
3479
3479
  n.useImperativeHandle(t, k);
3480
- const [C, P] = n.useState(d), [j, J] = n.useState(u), R = typeof F == "boolean" || F === null, b = i !== void 0, W = R, K = W ? F : j, ee = b ? i : W ? void 0 : C, le = ee === void 0 && K, Ee = le ? K : ee, oe = le || W ? F === null ? F : void 0 : F || K, ce = Ee === null || oe === null, be = Qe(), He = _e(), A = (te) => He.toLanguageString(te, $[te]), xe = A(dn), ve = A(un), je = T !== void 0 ? T : _ ? !!ee : !0;
3480
+ const [C, P] = n.useState(d), [j, J] = n.useState(u), R = typeof F == "boolean" || F === null, b = l !== void 0, W = R, K = W ? F : j, ee = b ? l : W ? void 0 : C, le = ee === void 0 && K, Ee = le ? K : ee, oe = le || W ? F === null ? F : void 0 : F || K, ce = Ee === null || oe === null, be = Qe(), He = _e(), A = (te) => He.toLanguageString(te, $[te]), xe = A(dn), ve = A(un), je = T !== void 0 ? T : _ ? !!ee : !0;
3481
3481
  n.useEffect(
3482
3482
  () => {
3483
3483
  v.current && v.current.setCustomValidity && v.current.setCustomValidity(
@@ -3560,7 +3560,7 @@ const Ws = he(), va = n.forwardRef((a, t) => {
3560
3560
  ref: v,
3561
3561
  name: L,
3562
3562
  id: h || be,
3563
- "aria-labelledby": l,
3563
+ "aria-labelledby": i,
3564
3564
  "aria-describedby": s,
3565
3565
  checked: !!Ee,
3566
3566
  disabled: m,
@@ -3629,8 +3629,8 @@ const Ys = he(), xt = n.forwardRef((a, t) => {
3629
3629
  pe(me);
3630
3630
  const e = Re(Ys, a), {
3631
3631
  ariaDescribedBy: s,
3632
- checked: l,
3633
- children: i,
3632
+ checked: i,
3633
+ children: l,
3634
3634
  className: c,
3635
3635
  disabled: o,
3636
3636
  id: f,
@@ -3704,7 +3704,7 @@ const Ys = he(), xt = n.forwardRef((a, t) => {
3704
3704
  ref: O,
3705
3705
  disabled: o,
3706
3706
  tabIndex: ie(M, o),
3707
- checked: l,
3707
+ checked: i,
3708
3708
  style: y,
3709
3709
  "aria-describedby": s,
3710
3710
  value: D,
@@ -3722,7 +3722,7 @@ const Ys = he(), xt = n.forwardRef((a, t) => {
3722
3722
  },
3723
3723
  m
3724
3724
  ) : null), Z = /* @__PURE__ */ n.createElement("input", { ...H });
3725
- return u === "before" ? /* @__PURE__ */ n.createElement(n.Fragment, null, q, Z, i) : /* @__PURE__ */ n.createElement(n.Fragment, null, Z, q, i);
3725
+ return u === "before" ? /* @__PURE__ */ n.createElement(n.Fragment, null, q, Z, l) : /* @__PURE__ */ n.createElement(n.Fragment, null, Z, q, l);
3726
3726
  });
3727
3727
  xt.propTypes = {
3728
3728
  ariaDescribedBy: r.string,
@@ -3751,8 +3751,8 @@ const Js = he(), ka = n.forwardRef((a, t) => {
3751
3751
  pe(me);
3752
3752
  const e = Re(Js, a), {
3753
3753
  id: s,
3754
- ariaLabelledBy: l,
3755
- ariaDescribedBy: i,
3754
+ ariaLabelledBy: i,
3755
+ ariaDescribedBy: l,
3756
3756
  className: c,
3757
3757
  data: o,
3758
3758
  defaultValue: f,
@@ -3839,8 +3839,8 @@ const Js = he(), ka = n.forwardRef((a, t) => {
3839
3839
  ref: w,
3840
3840
  dir: Z,
3841
3841
  style: y,
3842
- "aria-labelledby": l,
3843
- "aria-describedby": i
3842
+ "aria-labelledby": i,
3843
+ "aria-describedby": l
3844
3844
  },
3845
3845
  p
3846
3846
  );
@@ -3868,8 +3868,8 @@ ka.displayName = "KendoRadioGroup";
3868
3868
  const Qs = he(), ya = n.forwardRef((a, t) => {
3869
3869
  const e = Re(Qs, a), {
3870
3870
  size: s,
3871
- rounded: l,
3872
- fillMode: i,
3871
+ rounded: i,
3872
+ fillMode: l,
3873
3873
  ariaDescribedBy: c,
3874
3874
  ariaLabelledBy: o,
3875
3875
  autoSize: f,
@@ -3994,8 +3994,8 @@ const Qs = he(), ya = n.forwardRef((a, t) => {
3994
3994
  "k-textarea",
3995
3995
  {
3996
3996
  [`k-input-${ne.sizeMap[s] || s}`]: s,
3997
- [`k-input-${i}`]: i,
3998
- [`k-rounded-${ne.roundedMap[l] || l}`]: l,
3997
+ [`k-input-${l}`]: l,
3998
+ [`k-rounded-${ne.roundedMap[i] || i}`]: i,
3999
3999
  "k-invalid": !(K || F !== void 0 || F === !0),
4000
4000
  "k-required": y,
4001
4001
  "k-disabled": u
@@ -4043,13 +4043,13 @@ const er = {
4043
4043
  ya.displayName = "KendoTextArea";
4044
4044
  ya.defaultProps = er;
4045
4045
  const Et = n.forwardRef((a, t) => {
4046
- const e = n.useRef(null), s = n.useRef(null), l = Ae(s, a.dir);
4046
+ const e = n.useRef(null), s = n.useRef(null), i = Ae(s, a.dir);
4047
4047
  n.useImperativeHandle(e, () => ({
4048
4048
  element: s.current,
4049
4049
  props: a,
4050
4050
  value: a.value
4051
4051
  })), n.useImperativeHandle(t, () => e.current);
4052
- const i = n.useCallback(
4052
+ const l = n.useCallback(
4053
4053
  (h) => {
4054
4054
  a.onClick && a.onClick.call(
4055
4055
  void 0,
@@ -4133,7 +4133,7 @@ const Et = n.forwardRef((a, t) => {
4133
4133
  {
4134
4134
  id: a.id,
4135
4135
  ref: s,
4136
- dir: l,
4136
+ dir: i,
4137
4137
  "data-half": a.half,
4138
4138
  tabIndex: a.tabIndex,
4139
4139
  title: a.title,
@@ -4141,13 +4141,13 @@ const Et = n.forwardRef((a, t) => {
4141
4141
  className: G(
4142
4142
  "k-rating-item",
4143
4143
  {
4144
- "k-rtl": l === "rtl",
4144
+ "k-rtl": i === "rtl",
4145
4145
  "k-selected": a.selected,
4146
4146
  "k-hover": a.hovered
4147
4147
  },
4148
4148
  a.className
4149
4149
  ),
4150
- onClick: i,
4150
+ onClick: l,
4151
4151
  onKeyDown: c,
4152
4152
  onFocus: o,
4153
4153
  onBlur: f,
@@ -4179,8 +4179,8 @@ const ye = (a, t) => {
4179
4179
  }
4180
4180
  return a;
4181
4181
  }, nr = (a, t) => a - t * Math.floor(a / t), oa = (a, t, e) => ye(a - e, e) < t && t < a, Ot = (a, t, e, s) => t === null ? !1 : s === "continues" ? oa(a, t, e) ? ye(a - e / 2, e / 2) <= t : a <= t : s === "single" ? oa(a, t, e) ? ye(a - e / 2, e / 2) === t : a === t : !1, Ya = (a, t, e) => a === "ltr" ? e < t.x + t.width / 2 : e > t.x + t.width / 2, Za = (a, t, e, s) => {
4182
- for (let l = a; l <= t; l += e)
4183
- if (s === l)
4182
+ for (let i = a; i <= t; i += e)
4183
+ if (s === i)
4184
4184
  return !0;
4185
4185
  return !1;
4186
4186
  };
@@ -4205,22 +4205,22 @@ const sr = (a, t) => {
4205
4205
  return a;
4206
4206
  }
4207
4207
  }, Ja = (a, t, e) => {
4208
- const [s, l] = n.useState(a);
4208
+ const [s, i] = n.useState(a);
4209
4209
  return [s, (c) => {
4210
4210
  const o = sr(t.state || s, { ...c, ...t });
4211
- e && e(o, c.event), l(o);
4211
+ e && e(o, c.event), i(o);
4212
4212
  }];
4213
4213
  }, rr = he(), Ca = n.forwardRef((a, t) => {
4214
- const e = Re(rr, a), s = _e(), l = n.useRef(null), i = n.useRef(null), c = Ae(i, e.dir);
4215
- n.useImperativeHandle(l, () => ({
4216
- element: i.current,
4214
+ const e = Re(rr, a), s = _e(), i = n.useRef(null), l = n.useRef(null), c = Ae(l, e.dir);
4215
+ n.useImperativeHandle(i, () => ({
4216
+ element: l.current,
4217
4217
  props: e
4218
- })), n.useImperativeHandle(t, () => l.current);
4218
+ })), n.useImperativeHandle(t, () => i.current);
4219
4219
  const o = n.useCallback(
4220
4220
  (p, v) => {
4221
- e.onChange && l.current && e.onChange.call(void 0, {
4221
+ e.onChange && i.current && e.onChange.call(void 0, {
4222
4222
  value: p,
4223
- target: l.current,
4223
+ target: i.current,
4224
4224
  syntheticEvent: v
4225
4225
  });
4226
4226
  },
@@ -4287,7 +4287,7 @@ const sr = (a, t) => {
4287
4287
  if (e.onClick) {
4288
4288
  const v = {
4289
4289
  value: w,
4290
- target: l.current,
4290
+ target: i.current,
4291
4291
  syntheticEvent: p.syntheticEvent
4292
4292
  };
4293
4293
  e.onClick.call(void 0, v);
@@ -4334,7 +4334,7 @@ const sr = (a, t) => {
4334
4334
  void 0,
4335
4335
  {
4336
4336
  value: w,
4337
- target: l.current,
4337
+ target: i.current,
4338
4338
  syntheticEvent: p
4339
4339
  }
4340
4340
  );
@@ -4345,7 +4345,7 @@ const sr = (a, t) => {
4345
4345
  (p) => {
4346
4346
  if (e.onFocus) {
4347
4347
  const v = {
4348
- target: l.current,
4348
+ target: i.current,
4349
4349
  syntheticEvent: p
4350
4350
  };
4351
4351
  e.onFocus.call(
@@ -4359,7 +4359,7 @@ const sr = (a, t) => {
4359
4359
  (p) => {
4360
4360
  if (e.onBlur) {
4361
4361
  const v = {
4362
- target: l.current,
4362
+ target: i.current,
4363
4363
  syntheticEvent: p
4364
4364
  };
4365
4365
  e.onBlur.call(
@@ -4416,7 +4416,7 @@ const sr = (a, t) => {
4416
4416
  {
4417
4417
  id: e.id,
4418
4418
  style: e.style,
4419
- ref: i,
4419
+ ref: l,
4420
4420
  role: "slider",
4421
4421
  dir: c,
4422
4422
  tabIndex: ie(e.tabIndex, e.disabled, void 0),
@@ -4514,7 +4514,7 @@ function lr(a, t) {
4514
4514
  }
4515
4515
  const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a) => a !== void 0, fr = he(), St = n.forwardRef((a, t) => {
4516
4516
  pe(me);
4517
- const e = Re(fr, a), s = _e(), l = n.useRef(null), i = n.useRef(null), c = n.useRef(null), o = n.useRef(null), f = n.useRef(null), [d, m] = n.useState(), [u, h] = n.useState(!1), [y, M] = n.useState(!1), [D, N] = n.useState(), [L, S] = n.useState(), B = Qa(e.value) ? e.value : D, [O, I] = n.useState(!1), F = Qa(e.open), _ = F ? e.open : O, T = !(e.maximized || y || !e.maximizable || e.disabled), E = e.maximized && !y, H = !(!(e.value || D) || y || e.readOnly || e.disabled), q = s.toLanguageString(aa, $[aa]), Z = s.toLanguageString(na, $[na]), p = s.toLanguageString(ta, $[ta]), v = e.popupScale || Ln, g = e.exportScale || Rn, k = (x) => {
4517
+ const e = Re(fr, a), s = _e(), i = n.useRef(null), l = n.useRef(null), c = n.useRef(null), o = n.useRef(null), f = n.useRef(null), [d, m] = n.useState(), [u, h] = n.useState(!1), [y, M] = n.useState(!1), [D, N] = n.useState(), [L, S] = n.useState(), B = Qa(e.value) ? e.value : D, [O, I] = n.useState(!1), F = Qa(e.open), _ = F ? e.open : O, T = !(e.maximized || y || !e.maximizable || e.disabled), E = e.maximized && !y, H = !(!(e.value || D) || y || e.readOnly || e.disabled), q = s.toLanguageString(aa, $[aa]), Z = s.toLanguageString(na, $[na]), p = s.toLanguageString(ta, $[ta]), v = e.popupScale || Ln, g = e.exportScale || Rn, k = (x) => {
4518
4518
  N(x), e.onChange && e.onChange({ value: x });
4519
4519
  }, C = (x) => {
4520
4520
  d == null || d.loadImage(x.value), k(x.value);
@@ -4531,13 +4531,13 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4531
4531
  [F]
4532
4532
  ), J = (x) => {
4533
4533
  var U, re;
4534
- De(x), (re = ((U = f.current) == null ? void 0 : U.element) || i.current) == null || re.focus();
4534
+ De(x), (re = ((U = f.current) == null ? void 0 : U.element) || l.current) == null || re.focus();
4535
4535
  }, R = n.useCallback(() => {
4536
4536
  let x = dr;
4537
- return !e.color && typeof document < "u" && l.current && (x = getComputedStyle(l.current).color), e.color || x;
4537
+ return !e.color && typeof document != "undefined" && i.current && (x = getComputedStyle(i.current).color), e.color || x;
4538
4538
  }, [e.color]), b = n.useCallback(() => {
4539
4539
  let x = ur;
4540
- return !e.backgroundColor && typeof document < "u" && l.current && (x = getComputedStyle(l.current).backgroundColor), e.backgroundColor || x;
4540
+ return !e.backgroundColor && typeof document != "undefined" && i.current && (x = getComputedStyle(i.current).backgroundColor), e.backgroundColor || x;
4541
4541
  }, [e.backgroundColor]), W = () => ({
4542
4542
  scale: e.maximized ? e.popupScale : 1,
4543
4543
  color: R(),
@@ -4553,7 +4553,7 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4553
4553
  }));
4554
4554
  };
4555
4555
  n.useEffect(() => {
4556
- const x = i.current, U = new $n(x, W());
4556
+ const x = l.current, U = new $n(x, W());
4557
4557
  return B && U.loadImage(B), m(U), () => U.destroy();
4558
4558
  }, []), n.useEffect(() => {
4559
4559
  d == null || d.setOptions({
@@ -4572,7 +4572,7 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4572
4572
  const U = () => j(!1);
4573
4573
  return x.addEventListener("click", U), () => x.removeEventListener("click", U);
4574
4574
  }, [_]), n.useEffect(() => {
4575
- if (!_ || typeof document > "u")
4575
+ if (!_ || typeof document == "undefined")
4576
4576
  return;
4577
4577
  const x = (U) => {
4578
4578
  U.keyCode === z.esc && j(!1);
@@ -4585,7 +4585,7 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4585
4585
  const ee = n.useCallback(
4586
4586
  () => {
4587
4587
  var x;
4588
- return (x = i.current) == null ? void 0 : x.focus();
4588
+ return (x = l.current) == null ? void 0 : x.focus();
4589
4589
  },
4590
4590
  []
4591
4591
  ), le = n.useCallback(
@@ -4616,7 +4616,7 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4616
4616
  ), A = n.useCallback(
4617
4617
  () => {
4618
4618
  const x = {
4619
- element: l.current,
4619
+ element: i.current,
4620
4620
  focus: ee
4621
4621
  };
4622
4622
  return Object.defineProperty(x, "name", { get: Ee }), Object.defineProperty(x, "value", { get: le }), Object.defineProperty(x, "validity", { get: ce }), Object.defineProperty(x, "validityStyles", { get: be }), Object.defineProperty(x, "required", { get: oe }), Object.defineProperty(x, "props", { get: He }), Object.defineProperty(x, "color", { get: R }), Object.defineProperty(x, "backgroundColor", { get: b }), x;
@@ -4636,7 +4636,7 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4636
4636
  [u, e.onFocus, A]
4637
4637
  ), ve = n.useCallback(
4638
4638
  (x) => {
4639
- lr(x.relatedTarget, l.current) || (h(!1), Q(
4639
+ lr(x.relatedTarget, i.current) || (h(!1), Q(
4640
4640
  e.onBlur,
4641
4641
  x,
4642
4642
  A(),
@@ -4668,7 +4668,7 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4668
4668
  P(), ee();
4669
4669
  }, tt = () => {
4670
4670
  var re, Se;
4671
- const x = e.width || ((re = l.current) == null ? void 0 : re.offsetWidth) || or, U = e.height || ((Se = l.current) == null ? void 0 : Se.offsetHeight) || cr;
4671
+ const x = e.width || ((re = i.current) == null ? void 0 : re.offsetWidth) || or, U = e.height || ((Se = i.current) == null ? void 0 : Se.offsetHeight) || cr;
4672
4672
  return {
4673
4673
  width: x,
4674
4674
  height: U
@@ -4683,7 +4683,7 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4683
4683
  return /* @__PURE__ */ n.createElement(
4684
4684
  "div",
4685
4685
  {
4686
- ref: l,
4686
+ ref: i,
4687
4687
  dir: e.dir,
4688
4688
  style: { width: e.width, height: e.height, ...e.style },
4689
4689
  className: G(
@@ -4708,7 +4708,7 @@ const or = 250, cr = 84, Ln = 3, Rn = 2, dr = "#000000", ur = "#ffffff", Qa = (a
4708
4708
  "div",
4709
4709
  {
4710
4710
  className: "k-signature-canvas",
4711
- ref: i,
4711
+ ref: l,
4712
4712
  tabIndex: ie(e.tabIndex, e.disabled),
4713
4713
  role: "img",
4714
4714
  id: e.id,
@@ -4823,10 +4823,10 @@ St.defaultProps = {
4823
4823
  };
4824
4824
  const xa = n.forwardRef((a, t) => {
4825
4825
  pe(me);
4826
- const e = n.useRef(null), s = n.useRef(null), l = n.useRef(), i = n.useCallback(
4826
+ const e = n.useRef(null), s = n.useRef(null), i = n.useRef(), l = n.useCallback(
4827
4827
  () => {
4828
4828
  var H;
4829
- return l.current !== void 0 ? l.current : (H = e.current) == null ? void 0 : H.value;
4829
+ return i.current !== void 0 ? i.current : (H = e.current) == null ? void 0 : H.value;
4830
4830
  },
4831
4831
  []
4832
4832
  );
@@ -4840,7 +4840,7 @@ const xa = n.forwardRef((a, t) => {
4840
4840
  return e.current && e.current.name;
4841
4841
  },
4842
4842
  get value() {
4843
- return i();
4843
+ return l();
4844
4844
  }
4845
4845
  })
4846
4846
  ), n.useImperativeHandle(
@@ -4868,12 +4868,12 @@ const xa = n.forwardRef((a, t) => {
4868
4868
  I(!1);
4869
4869
  }, T = n.useCallback(
4870
4870
  (H) => {
4871
- l.current = H.target.value, a.onChange && a.onChange.call(void 0, {
4871
+ i.current = H.target.value, a.onChange && a.onChange.call(void 0, {
4872
4872
  syntheticEvent: H,
4873
4873
  nativeEvent: H.nativeEvent,
4874
4874
  value: H.target.value,
4875
4875
  target: s.current
4876
- }), l.current = void 0;
4876
+ }), i.current = void 0;
4877
4877
  },
4878
4878
  [a.onChange]
4879
4879
  ), { onFocus: E, onBlur: V } = Bn({
@@ -4942,37 +4942,37 @@ const hr = n.forwardRef((a, t) => {
4942
4942
  ), /* @__PURE__ */ n.createElement("span", { ...a, className: G("k-clear-value", a.className) });
4943
4943
  });
4944
4944
  hr.displayName = "KendoReactInputClearValue";
4945
- const pr = n.forwardRef((a, t) => {
4946
- const e = n.useRef(null), s = n.useRef(null);
4945
+ const pr = n.forwardRef(({ orientation: a = "horizontal", ...t }, e) => {
4946
+ const s = n.useRef(null), i = n.useRef(null);
4947
4947
  return n.useImperativeHandle(
4948
- e,
4949
- () => ({ element: s.current })
4948
+ s,
4949
+ () => ({ element: i.current })
4950
4950
  ), n.useImperativeHandle(
4951
- t,
4952
- () => e.current
4953
- ), /* @__PURE__ */ n.createElement("span", { ...a, className: G("k-input-prefix", a.className) });
4951
+ e,
4952
+ () => s.current
4953
+ ), /* @__PURE__ */ n.createElement("span", { ...t, className: G("k-input-prefix", t.className, `k-input-prefix-${a}`) });
4954
4954
  });
4955
4955
  pr.displayName = "KendoReactInputPrefix";
4956
- const mr = n.forwardRef((a, t) => {
4957
- const e = n.useRef(null), s = n.useRef(null);
4956
+ const mr = n.forwardRef(({ orientation: a = "vertical", ...t }, e) => {
4957
+ const s = n.useRef(null), i = n.useRef(null);
4958
4958
  return n.useImperativeHandle(
4959
- e,
4960
- () => ({ element: s.current })
4959
+ s,
4960
+ () => ({ element: i.current })
4961
4961
  ), n.useImperativeHandle(
4962
- t,
4963
- () => e.current
4964
- ), /* @__PURE__ */ n.createElement("span", { ...a, className: G("k-input-separator", a.className) });
4962
+ e,
4963
+ () => s.current
4964
+ ), /* @__PURE__ */ n.createElement("span", { ...t, className: G("k-input-separator", t.className, `k-input-separator-${a}`) });
4965
4965
  });
4966
4966
  mr.displayName = "KendoReactInputSeparator";
4967
- const gr = n.forwardRef((a, t) => {
4968
- const e = n.useRef(null), s = n.useRef(null);
4967
+ const gr = n.forwardRef(({ orientation: a = "horizontal", ...t }, e) => {
4968
+ const s = n.useRef(null), i = n.useRef(null);
4969
4969
  return n.useImperativeHandle(
4970
- e,
4971
- () => ({ element: s.current })
4970
+ s,
4971
+ () => ({ element: i.current })
4972
4972
  ), n.useImperativeHandle(
4973
- t,
4974
- () => e.current
4975
- ), /* @__PURE__ */ n.createElement("span", { ...a, className: G("k-input-suffix", a.className) });
4973
+ e,
4974
+ () => s.current
4975
+ ), /* @__PURE__ */ n.createElement("span", { ...t, className: G("k-input-suffix", t.className, `k-input-suffix-${a}`) });
4976
4976
  });
4977
4977
  gr.displayName = "KendoReactInputSuffix";
4978
4978
  const br = n.forwardRef((a, t) => /* @__PURE__ */ n.createElement(fe, { ref: t, ...a, className: G("k-input-validation-icon", a.className) }));