@progress/kendo-react-layout 7.1.0-develop.2 → 7.1.0-develop.5

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
@@ -101,8 +101,8 @@ function cs(e, s) {
101
101
  }
102
102
  function sn(e, s) {
103
103
  let n = {};
104
- const { text: i, url: a, icon: o, svgIcon: l, disabled: c, cssClass: d, cssStyle: u, render: m, linkRender: h, contentRender: p, data: g } = e || s.props;
105
- return i !== void 0 && (n.text = i), a !== void 0 && (n.url = a), o !== void 0 && (n.icon = o), l !== void 0 && (n.svgIcon = l), c !== void 0 && (n.disabled = c), d !== void 0 && (n.cssClass = d), u !== void 0 && (n.cssStyle = u), m !== void 0 && (n.render = m), h !== void 0 && (n.linkRender = h), p !== void 0 && (n.contentRender = p), g !== void 0 && (n.data = g), n;
104
+ const { text: i, url: a, icon: o, svgIcon: l, disabled: c, cssClass: d, cssStyle: u, render: m, linkRender: h, contentRender: p, data: v } = e || s.props;
105
+ return i !== void 0 && (n.text = i), a !== void 0 && (n.url = a), o !== void 0 && (n.icon = o), l !== void 0 && (n.svgIcon = l), c !== void 0 && (n.disabled = c), d !== void 0 && (n.cssClass = d), u !== void 0 && (n.cssStyle = u), m !== void 0 && (n.render = m), h !== void 0 && (n.linkRender = h), p !== void 0 && (n.contentRender = p), v !== void 0 && (n.data = v), n;
106
106
  }
107
107
  function Je(e) {
108
108
  return t.Children.toArray(e).filter((s) => s && s.type === nn);
@@ -150,20 +150,20 @@ function ms(e, s, n, i, a, o) {
150
150
  case C.home:
151
151
  return p();
152
152
  case C.end:
153
- return g();
153
+ return v();
154
154
  case C.esc:
155
- return b();
155
+ return g();
156
156
  default:
157
157
  return w() ? y() : s;
158
158
  }
159
159
  function c() {
160
- return a ? o ? R() : N() : o ? f() : E();
160
+ return a ? o ? R() : N() : o ? f() : I();
161
161
  }
162
162
  function d() {
163
- return a ? o ? N() : R() : o ? E() : f();
163
+ return a ? o ? N() : R() : o ? I() : f();
164
164
  }
165
165
  function u() {
166
- return a ? L() : J(s) ? v() : L();
166
+ return a ? L() : J(s) ? b() : L();
167
167
  }
168
168
  function m() {
169
169
  return a ? D() : J(s) ? S() : D();
@@ -174,34 +174,34 @@ function ms(e, s, n, i, a, o) {
174
174
  function p() {
175
175
  return G()[0].id;
176
176
  }
177
- function g() {
177
+ function v() {
178
178
  const x = G();
179
179
  return x[x.length - 1].id;
180
180
  }
181
- function b() {
181
+ function g() {
182
182
  return J(s) ? s : pe(s);
183
183
  }
184
184
  function y() {
185
185
  const x = i.toLowerCase(), M = G(), j = Number(Ze(s)), Z = M.slice(j + 1).concat(M.slice(0, j + 1)).find((re) => (re.text || "").toLowerCase().startsWith(x));
186
186
  return Z ? Z.id : s;
187
187
  }
188
- function E() {
189
- return J(s) ? D() : as(s) ? v(D(ge(s))) : pe(s);
188
+ function I() {
189
+ return J(s) ? D() : as(s) ? b(D(ge(s))) : pe(s);
190
190
  }
191
191
  function N() {
192
192
  return J(s) ? S() : pe(s);
193
193
  }
194
194
  function f() {
195
- return J(s) ? L() : v(
195
+ return J(s) ? L() : b(
196
196
  A() ? s : L(ge(s))
197
197
  );
198
198
  }
199
199
  function R() {
200
- return v(
200
+ return b(
201
201
  J(s) || A() ? s : L(ge(s))
202
202
  );
203
203
  }
204
- function v(x) {
204
+ function b(x) {
205
205
  return ee(!0, x);
206
206
  }
207
207
  function S(x) {
@@ -622,7 +622,7 @@ const K = {
622
622
  name: "@progress/kendo-react-layout",
623
623
  productName: "KendoReact",
624
624
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
625
- publishDate: 1705398378,
625
+ publishDate: 1705499324,
626
626
  version: "",
627
627
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
628
628
  }, _t = {
@@ -811,20 +811,18 @@ class mn extends t.Component {
811
811
  * @hidden
812
812
  */
813
813
  render() {
814
- const { id: s, active: n, disabled: i, title: a = "Untitled", first: o, last: l, contentPanelId: c, index: d } = this.props, u = {
815
- id: `${s}-${d.toString()}`,
814
+ const { id: s, active: n, disabled: i, title: a = "Untitled", contentPanelId: o, index: l } = this.props, c = {
815
+ id: `${s}-${l.toString()}`,
816
816
  "aria-selected": n,
817
- "aria-controls": n ? c : void 0,
817
+ "aria-controls": n ? o : void 0,
818
818
  "aria-disabled": i,
819
819
  role: "tab",
820
820
  onClick: i ? void 0 : this.onClick
821
- }, m = k("k-item", {
822
- ["k-first"]: o,
823
- ["k-last"]: l,
821
+ }, d = k("k-item", "k-tabstrip-item", {
824
822
  ["k-disabled"]: i,
825
823
  ["k-active"]: n
826
824
  });
827
- return /* @__PURE__ */ t.createElement("li", { ...u, className: m, ref: (h) => this.itemRef = h, onBlur: this.blur }, /* @__PURE__ */ t.createElement("span", { className: "k-link" }, a));
825
+ return /* @__PURE__ */ t.createElement("li", { ...c, className: d, ref: (u) => this.itemRef = u, onBlur: this.blur, "aria-controls": o }, /* @__PURE__ */ t.createElement("span", { className: "k-link" }, a));
828
826
  }
829
827
  }
830
828
  mn.propTypes = {
@@ -861,10 +859,10 @@ class tt extends t.Component {
861
859
  this.isRtl() && this.horizontalScroll() ? (n === le && d < 0 && (d += c, m += c), n === xe && d < l && (d -= c, m -= c), d = Math.min(0, Math.min(l, d))) : (n === le && d > 0 && (d -= c, u += c), n === xe && d < l && (d += c, u -= c), d = Math.max(0, Math.min(l, d)));
862
860
  const h = d === 0, p = i.type === "click" ? Se : void 0;
863
861
  if (o) {
864
- const g = this.isRtl() ? Math.round(m) <= a.clientWidth || Math.floor(m) <= a.clientWidth : Math.round(u) <= a.clientWidth || Math.floor(u) <= a.clientWidth;
862
+ const v = this.isRtl() ? Math.round(m) <= a.clientWidth || Math.floor(m) <= a.clientWidth : Math.round(u) <= a.clientWidth || Math.floor(u) <= a.clientWidth;
865
863
  this.setState({
866
864
  disabledPrev: h,
867
- disabledNext: g
865
+ disabledNext: v
868
866
  }), a.scrollTo({ left: d, behavior: p });
869
867
  } else
870
868
  this.setState({
@@ -922,47 +920,47 @@ class tt extends t.Component {
922
920
  * @hidden
923
921
  */
924
922
  render() {
925
- const { selected: s, tabPosition: n, children: i, onSelect: a, onKeyDown: o, navItemId: l } = this.props, c = t.Children.count(i), d = t.Children.toArray(i);
926
- let u;
927
- i && (u = Es(c).map((p, g, b) => {
928
- const y = {
923
+ const { selected: s, tabPosition: n, children: i, onSelect: a, onKeyDown: o, navItemId: l, contentPanelId: c } = this.props, d = t.Children.count(i), u = t.Children.toArray(i);
924
+ let m;
925
+ i && (m = Es(d).map((v, g, y) => {
926
+ const I = {
929
927
  active: s === g,
930
- disabled: d[g].props.disabled,
928
+ disabled: u[g].props.disabled,
931
929
  index: g,
932
- title: d[g].props.title,
930
+ title: u[g].props.title,
933
931
  first: g === 0,
934
- last: g === b.length - 1,
935
- contentPanelId: this.props.contentPanelId,
932
+ last: g === y.length - 1,
933
+ contentPanelId: c,
936
934
  id: l,
937
935
  onSelect: a
938
936
  };
939
- return /* @__PURE__ */ t.createElement(mn, { key: g, ...y });
937
+ return /* @__PURE__ */ t.createElement(mn, { key: g, ...I });
940
938
  }));
941
- const m = k("k-tabstrip-items-wrapper", {
939
+ const h = k("k-tabstrip-items-wrapper", {
942
940
  "k-hstack": n === "top" || n === "bottom",
943
941
  "k-vstack": n === "left" || n === "right"
944
- }), h = k("k-tabstrip-items", "k-reset");
945
- return /* @__PURE__ */ t.createElement("div", { className: m }, this.props.scrollable ? /* @__PURE__ */ t.createElement(t.Fragment, null, this.renderArrow(le, this.state.disabledPrev), /* @__PURE__ */ t.createElement(
942
+ }), p = k("k-tabstrip-items", "k-reset");
943
+ return /* @__PURE__ */ t.createElement("div", { className: h }, this.props.scrollable ? /* @__PURE__ */ t.createElement(t.Fragment, null, this.renderArrow(le, this.state.disabledPrev), /* @__PURE__ */ t.createElement(
946
944
  "ul",
947
945
  {
948
946
  ref: this.itemsNavRef,
949
- className: h,
947
+ className: p,
950
948
  role: "tablist",
951
949
  tabIndex: this.props.tabIndex,
952
950
  onKeyDown: o,
953
951
  onWheel: this.onWheel,
954
952
  "aria-orientation": n === "left" || n === "right" ? "vertical" : void 0
955
953
  },
956
- u
954
+ m
957
955
  ), this.renderArrow(xe, this.state.disabledNext)) : /* @__PURE__ */ t.createElement(
958
956
  "ul",
959
957
  {
960
- className: h,
958
+ className: p,
961
959
  role: "tablist",
962
960
  tabIndex: this.props.tabIndex,
963
961
  onKeyDown: o
964
962
  },
965
- u
963
+ m
966
964
  ));
967
965
  }
968
966
  scrollToSelected() {
@@ -1017,7 +1015,7 @@ class hn extends t.Component {
1017
1015
  id: i,
1018
1016
  role: "tabpanel",
1019
1017
  "aria-hidden": a,
1020
- "aria-describedby": `${o}-${(n || "").toString()}`
1018
+ "aria-labelledby": `${o}-${(n == null ? void 0 : n.toString()) || ""}`
1021
1019
  },
1022
1020
  this.renderContent(s)
1023
1021
  );
@@ -1376,8 +1374,8 @@ class ce extends t.PureComponent {
1376
1374
  level: m,
1377
1375
  headerClassName: h,
1378
1376
  animation: p,
1379
- keepItemsMounted: g
1380
- } = this.props, b = {
1377
+ keepItemsMounted: v
1378
+ } = this.props, g = {
1381
1379
  role: "treeitem",
1382
1380
  "aria-disabled": o,
1383
1381
  "aria-hidden": !o && !d,
@@ -1392,7 +1390,7 @@ class ce extends t.PureComponent {
1392
1390
  },
1393
1391
  `k-level-${m}`,
1394
1392
  u
1395
- ), E = k(
1393
+ ), I = k(
1396
1394
  "k-link",
1397
1395
  {
1398
1396
  "k-selected": !o && l,
@@ -1409,14 +1407,14 @@ class ce extends t.PureComponent {
1409
1407
  d ? "k-panelbar-collapse" : "k-panelbar-expand"
1410
1408
  )
1411
1409
  }
1412
- ) : null, S = !o && d || g ? /* @__PURE__ */ t.createElement(
1410
+ ) : null, S = !o && d || v ? /* @__PURE__ */ t.createElement(
1413
1411
  "ul",
1414
1412
  {
1415
1413
  role: "group",
1416
1414
  "aria-expanded": d,
1417
1415
  "aria-hidden": !d,
1418
1416
  className: "k-panelbar-group k-panel k-group",
1419
- style: { display: g ? this.state.show ? "block" : "none" : "block" }
1417
+ style: { display: v ? this.state.show ? "block" : "none" : "block" }
1420
1418
  },
1421
1419
  n
1422
1420
  ) : null, w = (p === void 0 || p) && !o && n ? /* @__PURE__ */ t.createElement(
@@ -1427,10 +1425,10 @@ class ce extends t.PureComponent {
1427
1425
  key: a + "_animation",
1428
1426
  style: N,
1429
1427
  children: S,
1430
- childFactory: g && this.childFactory,
1431
- unmountOnExit: !g,
1432
- onBeforeEnter: () => g && this.setState({ show: !0 }),
1433
- onAfterExited: () => g && this.setState({ show: !1 })
1428
+ childFactory: v && this.childFactory,
1429
+ unmountOnExit: !v,
1430
+ onBeforeEnter: () => v && this.setState({ show: !0 }),
1431
+ onAfterExited: () => v && this.setState({ show: !1 })
1434
1432
  }
1435
1433
  ) : S;
1436
1434
  return /* @__PURE__ */ t.createElement(
@@ -1438,9 +1436,9 @@ class ce extends t.PureComponent {
1438
1436
  {
1439
1437
  id: s,
1440
1438
  className: y,
1441
- ...b
1439
+ ...g
1442
1440
  },
1443
- /* @__PURE__ */ t.createElement("span", { className: E, onClick: this.handleItemClick }, f, /* @__PURE__ */ t.createElement("span", { className: "k-panelbar-item-text" }, i), R),
1441
+ /* @__PURE__ */ t.createElement("span", { className: I, onClick: this.handleItemClick }, f, /* @__PURE__ */ t.createElement("span", { className: "k-panelbar-item-text" }, i), R),
1444
1442
  w
1445
1443
  );
1446
1444
  }
@@ -1486,7 +1484,7 @@ const pn = ({
1486
1484
  if (u && u.type === ce) {
1487
1485
  let h, p = ut(u, d, m);
1488
1486
  if (u.props.children) {
1489
- const g = {
1487
+ const v = {
1490
1488
  animation: e,
1491
1489
  keepItemsMounted: s,
1492
1490
  state: n,
@@ -1497,7 +1495,7 @@ const pn = ({
1497
1495
  level: c + 1,
1498
1496
  parentPrivateKey: [...d, p]
1499
1497
  };
1500
- h = pn(g);
1498
+ h = pn(v);
1501
1499
  }
1502
1500
  return t.cloneElement(
1503
1501
  u,
@@ -1883,13 +1881,13 @@ class Ls extends t.Component {
1883
1881
  });
1884
1882
  return;
1885
1883
  }
1886
- const { originalPrevSize: p, originalNextSize: g, startTime: b, originalX: y, originalY: E } = this.state;
1887
- if (!o && c - b < Ms) {
1884
+ const { originalPrevSize: p, originalNextSize: v, startTime: g, originalX: y, originalY: I } = this.state;
1885
+ if (!o && c - g < Ms) {
1888
1886
  l && this.resetDragState();
1889
1887
  return;
1890
1888
  }
1891
1889
  let N;
1892
- this.orientation === "vertical" ? N = u - E : this.isRtl ? N = y - d : N = d - y, this.resize(a, a + 1, p, g, N, l, n), l && this.resetDragState();
1890
+ this.orientation === "vertical" ? N = u - I : this.isRtl ? N = y - d : N = d - y, this.resize(a, a + 1, p, v, N, l, n), l && this.resetDragState();
1893
1891
  }, this.onBarKeyboardResize = (n, i, a, o) => {
1894
1892
  const { prevElement: l, nextElement: c } = this.surroudingPanes(n), d = this.elementSize(l), u = this.elementSize(c);
1895
1893
  this.resize(i, i + 1, d, u, a, !0, o);
@@ -1968,24 +1966,24 @@ class Ls extends t.Component {
1968
1966
  });
1969
1967
  }
1970
1968
  resize(s, n, i, a, o, l, c) {
1971
- const d = this.panesOptions(this.panesContent), u = d[s], m = d[n], h = i + a, p = this.containerSize(), g = (v) => this.toPixels(v, p), b = {
1969
+ const d = this.panesOptions(this.panesContent), u = d[s], m = d[n], h = i + a, p = this.containerSize(), v = (b) => this.toPixels(b, p), g = {
1972
1970
  index: s,
1973
1971
  initialSize: i,
1974
- min: g(u.min) || h - g(m.max) || 0,
1975
- max: g(u.max) || h - g(m.min) || h
1972
+ min: v(u.min) || h - v(m.max) || 0,
1973
+ max: v(u.max) || h - v(m.min) || h
1976
1974
  }, y = {
1977
1975
  index: n,
1978
1976
  initialSize: a,
1979
- min: g(m.min) || h - g(u.max) || 0,
1980
- max: g(m.max) || h - g(u.min) || h
1981
- }, E = (v, S) => {
1982
- const w = d[v.index], O = this.clamp(v.min, v.max, v.initialSize + S);
1977
+ min: v(m.min) || h - v(u.max) || 0,
1978
+ max: v(m.max) || h - v(u.min) || h
1979
+ }, I = (b, S) => {
1980
+ const w = d[b.index], O = this.clamp(b.min, b.max, b.initialSize + S);
1983
1981
  return this.isPercent(w.size || "") ? 100 * O / p + "%" : O + "px";
1984
1982
  };
1985
1983
  let N, f;
1986
- this.fixedSize(u.size) && this.fixedSize(m.size) ? (N = E(b, o), f = E(y, -o)) : m.collapsible || this.fixedSize(m.size) ? f = E(y, -o) : N = E(b, o);
1987
- const R = d.map((v, S) => {
1988
- const w = this.getPaneProps(v);
1984
+ this.fixedSize(u.size) && this.fixedSize(m.size) ? (N = I(g, o), f = I(y, -o)) : m.collapsible || this.fixedSize(m.size) ? f = I(y, -o) : N = I(g, o);
1985
+ const R = d.map((b, S) => {
1986
+ const w = this.getPaneProps(b);
1989
1987
  return S === s ? {
1990
1988
  ...w,
1991
1989
  size: N
@@ -2223,9 +2221,9 @@ const Fs = {
2223
2221
  onSelect: m,
2224
2222
  index: h,
2225
2223
  tabIndex: p,
2226
- children: g,
2227
- ...b
2228
- } = e, { expanded: y, mini: E, item: N } = t.useContext(ht), f = t.useRef(null), R = t.useCallback(
2224
+ children: v,
2225
+ ...g
2226
+ } = e, { expanded: y, mini: I, item: N } = t.useContext(ht), f = t.useRef(null), R = t.useCallback(
2229
2227
  () => {
2230
2228
  f.current && f.current.focus();
2231
2229
  },
@@ -2236,7 +2234,7 @@ const Fs = {
2236
2234
  focus: R,
2237
2235
  props: e
2238
2236
  }));
2239
- const v = k(
2237
+ const b = k(
2240
2238
  "k-drawer-item",
2241
2239
  {
2242
2240
  "k-selected": u,
@@ -2255,21 +2253,21 @@ const Fs = {
2255
2253
  }
2256
2254
  },
2257
2255
  [m, h, d]
2258
- ), w = /* @__PURE__ */ t.createElement(t.Fragment, null, (o || l) && /* @__PURE__ */ t.createElement(Q, { name: o && jt(o), icon: l }), !y && E ? null : /* @__PURE__ */ t.createElement("span", { className: "k-item-text" }, a));
2256
+ ), w = /* @__PURE__ */ t.createElement(t.Fragment, null, (o || l) && /* @__PURE__ */ t.createElement(Q, { name: o && jt(o), icon: l }), !y && I ? null : /* @__PURE__ */ t.createElement("span", { className: "k-item-text" }, a));
2259
2257
  return c ? /* @__PURE__ */ t.createElement("li", { className: "k-drawer-item k-drawer-separator", role: "separator" }) : /* @__PURE__ */ t.createElement(
2260
2258
  "li",
2261
2259
  {
2262
2260
  ref: f,
2263
- className: v,
2261
+ className: b,
2264
2262
  style: i,
2265
2263
  role: "menuitem",
2266
2264
  "aria-label": a,
2267
2265
  "aria-disabled": d,
2268
2266
  onClick: S,
2269
2267
  tabIndex: Oe(p, d),
2270
- ...b
2268
+ ...g
2271
2269
  },
2272
- N ? g : w
2270
+ N ? v : w
2273
2271
  );
2274
2272
  });
2275
2273
  pt.propTypes = {
@@ -2295,17 +2293,17 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
2295
2293
  onOverlayClick: m,
2296
2294
  mini: h,
2297
2295
  dir: p,
2298
- width: g,
2299
- miniWidth: b,
2296
+ width: v,
2297
+ miniWidth: g,
2300
2298
  items: y,
2301
- item: E,
2299
+ item: I,
2302
2300
  onSelect: N
2303
2301
  } = t.useContext(ht), f = t.useRef(null), R = t.useCallback(
2304
2302
  () => {
2305
2303
  f.current && f.current.focus();
2306
2304
  },
2307
2305
  []
2308
- ), v = typeof l != "boolean" ? l : l === !1 ? _s : Hs, S = g || Bs, w = b || Ks;
2306
+ ), b = typeof l != "boolean" ? l : l === !1 ? _s : Hs, S = v || Bs, w = g || Ks;
2309
2307
  t.useImperativeHandle(s, () => ({
2310
2308
  element: f.current,
2311
2309
  focus: R
@@ -2322,38 +2320,38 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
2322
2320
  ), A = {
2323
2321
  opacity: 1,
2324
2322
  flexBasis: S,
2325
- WebkitTransition: "all " + (v && v.duration) + "ms",
2323
+ WebkitTransition: "all " + (b && b.duration) + "ms",
2326
2324
  /* Safari */
2327
- transition: "all " + (v && v.duration) + "ms"
2325
+ transition: "all " + (b && b.duration) + "ms"
2328
2326
  }, D = {
2329
2327
  opacity: 1,
2330
2328
  transform: "translateX(0px)",
2331
- WebkitTransition: "all " + (v && v.duration) + "ms",
2329
+ WebkitTransition: "all " + (b && b.duration) + "ms",
2332
2330
  /* Safari */
2333
- transition: "all " + (v && v.duration) + "ms"
2331
+ transition: "all " + (b && b.duration) + "ms"
2334
2332
  }, L = {
2335
2333
  opacity: h ? 1 : 0,
2336
2334
  flexBasis: h ? w : 0,
2337
- WebkitTransition: "all " + (v && v.duration) + "ms",
2335
+ WebkitTransition: "all " + (b && b.duration) + "ms",
2338
2336
  /* Safari */
2339
- transition: "all " + (v && v.duration) + "ms"
2337
+ transition: "all " + (b && b.duration) + "ms"
2340
2338
  }, B = {
2341
2339
  opacity: 0,
2342
2340
  transform: "translateX(-100%)",
2343
- WebkitTransition: "all " + (v && v.duration) + "ms",
2341
+ WebkitTransition: "all " + (b && b.duration) + "ms",
2344
2342
  /* Safari */
2345
- transition: "all " + (v && v.duration) + "ms"
2343
+ transition: "all " + (b && b.duration) + "ms"
2346
2344
  }, G = {
2347
2345
  opacity: 0,
2348
2346
  transform: "translateX(100%)",
2349
- WebkitTransition: "all " + (v && v.duration) + "ms",
2347
+ WebkitTransition: "all " + (b && b.duration) + "ms",
2350
2348
  /* Safari */
2351
- transition: "all " + (v && v.duration) + "ms"
2349
+ transition: "all " + (b && b.duration) + "ms"
2352
2350
  }, ee = {
2353
2351
  transform: "translateX(0%)",
2354
- WebkitTransitionDuration: (v && v.duration) + "ms",
2352
+ WebkitTransitionDuration: (b && b.duration) + "ms",
2355
2353
  /* Safari */
2356
- transitionDuration: (v && v.duration) + "ms"
2354
+ transitionDuration: (b && b.duration) + "ms"
2357
2355
  }, $ = c ? d === "push" ? A : D : d === "push" ? L : p === "ltr" && u === "start" || p === "rtl" && u === "end" ? h ? ee : B : h ? ee : G, x = y && /* @__PURE__ */ t.createElement(
2358
2356
  "ul",
2359
2357
  {
@@ -2368,14 +2366,14 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
2368
2366
  index: Y,
2369
2367
  ...j,
2370
2368
  onSelect: N
2371
- }, re = E || pt;
2369
+ }, re = I || pt;
2372
2370
  return /* @__PURE__ */ t.createElement(re, { key: Y, ...Z });
2373
2371
  }
2374
2372
  )
2375
2373
  ), M = /* @__PURE__ */ t.createElement(
2376
2374
  "div",
2377
2375
  {
2378
- style: v ? { ...$, ...a } : a,
2376
+ style: b ? { ...$, ...a } : a,
2379
2377
  className: O,
2380
2378
  ref: f
2381
2379
  },
@@ -2413,10 +2411,10 @@ const gt = t.forwardRef((e, s) => {
2413
2411
  width: m,
2414
2412
  miniWidth: h,
2415
2413
  items: p,
2416
- item: g,
2417
- tabIndex: b,
2414
+ item: v,
2415
+ tabIndex: g,
2418
2416
  onOverlayClick: y,
2419
- onSelect: E
2417
+ onSelect: I
2420
2418
  } = e, N = t.useRef(null), f = t.useCallback(
2421
2419
  () => {
2422
2420
  N.current && N.current.focus();
@@ -2429,7 +2427,7 @@ const gt = t.forwardRef((e, s) => {
2429
2427
  }));
2430
2428
  const R = t.useCallback(
2431
2429
  (w, O, A) => {
2432
- if (p && E) {
2430
+ if (p && I) {
2433
2431
  const D = {
2434
2432
  itemTarget: w,
2435
2433
  itemIndex: O,
@@ -2437,11 +2435,11 @@ const gt = t.forwardRef((e, s) => {
2437
2435
  nativeEvent: A && A.nativeEvent,
2438
2436
  target: void 0
2439
2437
  };
2440
- E.call(void 0, D);
2438
+ I.call(void 0, D);
2441
2439
  }
2442
2440
  },
2443
- [p, E]
2444
- ), v = ve(N, e.dir), S = k(
2441
+ [p, I]
2442
+ ), b = ve(N, e.dir), S = k(
2445
2443
  {
2446
2444
  "k-drawer-container": !0,
2447
2445
  "k-drawer-expanded": n,
@@ -2460,9 +2458,9 @@ const gt = t.forwardRef((e, s) => {
2460
2458
  mode: i,
2461
2459
  position: a,
2462
2460
  mini: u,
2463
- dir: v,
2461
+ dir: b,
2464
2462
  items: p,
2465
- item: g,
2463
+ item: v,
2466
2464
  width: m,
2467
2465
  miniWidth: h,
2468
2466
  onOverlayClick: y,
@@ -2474,9 +2472,9 @@ const gt = t.forwardRef((e, s) => {
2474
2472
  {
2475
2473
  className: S,
2476
2474
  ref: N,
2477
- dir: v,
2475
+ dir: b,
2478
2476
  style: c,
2479
- tabIndex: b
2477
+ tabIndex: g
2480
2478
  },
2481
2479
  p && /* @__PURE__ */ t.createElement(ft, null),
2482
2480
  l
@@ -2552,15 +2550,15 @@ const $s = {
2552
2550
  isValid: m,
2553
2551
  label: h,
2554
2552
  optional: p,
2555
- style: g,
2556
- tabIndex: b,
2553
+ style: v,
2554
+ tabIndex: g,
2557
2555
  text: y,
2558
- ...E
2556
+ ...I
2559
2557
  } = e, {
2560
2558
  animationDuration: N,
2561
2559
  isVertical: f,
2562
2560
  item: R,
2563
- linear: v,
2561
+ linear: b,
2564
2562
  mode: S,
2565
2563
  numOfSteps: w,
2566
2564
  value: O,
@@ -2583,7 +2581,7 @@ const $s = {
2583
2581
  [x]
2584
2582
  );
2585
2583
  t.useImperativeHandle(s, M);
2586
- const j = !v || u === O - 1 || u === O || u === O + 1, Y = S === "labels" || !!c && !!h, Z = en(), de = ((ne) => Z.toLanguageString(ne, Pn[ne]))(On), se = typeof N == "number" ? N : N !== !1 ? Rn : Dn, Ie = t.useCallback(
2584
+ const j = !b || u === O - 1 || u === O || u === O + 1, Y = S === "labels" || !!c && !!h, Z = en(), de = ((ne) => Z.toLanguageString(ne, Pn[ne]))(On), se = typeof N == "number" ? N : N !== !1 ? Rn : Dn, Ie = t.useCallback(
2587
2585
  (ne) => {
2588
2586
  A && !o && q(
2589
2587
  A,
@@ -2627,9 +2625,9 @@ const $s = {
2627
2625
  maxWidth: f ? void 0 : `calc(100% / ${w})`,
2628
2626
  maxHeight: f ? `calc(100% / ${w})` : void 0,
2629
2627
  pointerEvents: j ? void 0 : "none",
2630
- ...g
2628
+ ...v
2631
2629
  }),
2632
- [f, w, g, j]
2630
+ [f, w, v, j]
2633
2631
  ), F = m ? L : B, V = F ? /* @__PURE__ */ t.createElement(
2634
2632
  "span",
2635
2633
  {
@@ -2658,7 +2656,7 @@ const $s = {
2658
2656
  ref: $,
2659
2657
  className: H,
2660
2658
  style: _,
2661
- ...E
2659
+ ...I
2662
2660
  },
2663
2661
  /* @__PURE__ */ t.createElement(
2664
2662
  "a",
@@ -2667,7 +2665,7 @@ const $s = {
2667
2665
  title: h || void 0,
2668
2666
  onClick: Ie,
2669
2667
  onFocus: ue,
2670
- tabIndex: b || (l ? 0 : -1),
2668
+ tabIndex: g || (l ? 0 : -1),
2671
2669
  "aria-current": a,
2672
2670
  "aria-disabled": o || !j || void 0,
2673
2671
  "aria-invalid": m !== void 0 && !m || void 0
@@ -2710,39 +2708,39 @@ const bt = t.forwardRef((e, s) => {
2710
2708
  linear: m,
2711
2709
  mode: h,
2712
2710
  orientation: p,
2713
- style: g,
2714
- successIcon: b,
2711
+ style: v,
2712
+ successIcon: g,
2715
2713
  successSVGIcon: y,
2716
- onChange: E,
2714
+ onChange: I,
2717
2715
  onFocus: N
2718
- } = e, R = en().toLanguageString(st, Pn[st]), v = t.useRef(null), S = t.useCallback(
2716
+ } = e, R = en().toLanguageString(st, Pn[st]), b = t.useRef(null), S = t.useCallback(
2719
2717
  () => {
2720
- v.current && ke(v.current);
2718
+ b.current && ke(b.current);
2721
2719
  },
2722
2720
  []
2723
2721
  ), w = t.useCallback(
2724
2722
  () => ({
2725
- element: v.current,
2723
+ element: b.current,
2726
2724
  focus: S
2727
2725
  }),
2728
2726
  [S]
2729
2727
  );
2730
2728
  t.useImperativeHandle(s, w);
2731
- const O = e.value || Mn.value, [A, D] = t.useState(O), L = u ? u.length : 0, B = p === "vertical", G = Vt(v, e.dir), ee = typeof n == "number" ? n : n !== !1 ? Rn : Dn;
2729
+ const O = e.value || Mn.value, [A, D] = t.useState(O), L = u ? u.length : 0, B = p === "vertical", G = Vt(b, e.dir), ee = typeof n == "number" ? n : n !== !1 ? Rn : Dn;
2732
2730
  t.useEffect(() => {
2733
2731
  D(O);
2734
2732
  }, [O]);
2735
2733
  const $ = t.useCallback(
2736
2734
  (H, _) => {
2737
2735
  const F = _ === O - 1, V = _ === O, me = _ === O + 1;
2738
- O !== _ && E && !o && (!m || F || V || me) && (q(
2739
- E,
2736
+ O !== _ && I && !o && (!m || F || V || me) && (q(
2737
+ I,
2740
2738
  H,
2741
2739
  w(),
2742
2740
  { value: _ }
2743
2741
  ), D(_));
2744
2742
  },
2745
- [O, m, E, o, D]
2743
+ [O, m, I, o, D]
2746
2744
  ), x = t.useCallback(
2747
2745
  (H) => {
2748
2746
  let _ = H.value, F = H.syntheticEvent;
@@ -2809,9 +2807,9 @@ const bt = t.forwardRef((e, s) => {
2809
2807
  display: "grid",
2810
2808
  gridTemplateColumns: B ? void 0 : "repeat(" + L * 2 + ", 1fr)",
2811
2809
  gridTemplateRows: B ? "repeat(" + L + ", 1fr)" : void 0,
2812
- ...g
2810
+ ...v
2813
2811
  }),
2814
- [B, L, g]
2812
+ [B, L, v]
2815
2813
  ), de = t.useMemo(
2816
2814
  () => k(
2817
2815
  "k-step-list",
@@ -2859,7 +2857,7 @@ const bt = t.forwardRef((e, s) => {
2859
2857
  mode: h,
2860
2858
  numOfSteps: L,
2861
2859
  value: O,
2862
- successIcon: b,
2860
+ successIcon: g,
2863
2861
  successSVGIcon: y,
2864
2862
  errorIcon: l,
2865
2863
  errorSVGIcon: c,
@@ -2956,7 +2954,7 @@ const Ln = t.forwardRef((e, s) => {
2956
2954
  ), p = t.useMemo(
2957
2955
  () => e.positionMode || Ve.positionMode,
2958
2956
  [e.positionMode]
2959
- ), g = t.useMemo(
2957
+ ), v = t.useMemo(
2960
2958
  () => k(
2961
2959
  "k-appbar",
2962
2960
  {
@@ -2976,7 +2974,7 @@ const Ln = t.forwardRef((e, s) => {
2976
2974
  return /* @__PURE__ */ t.createElement(
2977
2975
  "div",
2978
2976
  {
2979
- className: g,
2977
+ className: v,
2980
2978
  style: a,
2981
2979
  id: o || u
2982
2980
  },
@@ -3317,14 +3315,14 @@ class Fn extends t.Component {
3317
3315
  if (i === 0 && a === 0 && !l && !o)
3318
3316
  return;
3319
3317
  let c = !1;
3320
- const d = this.state.positions.map((b) => Object.assign({}, b)), u = d[n], m = d.find((b) => b.order === u.order + i);
3318
+ const d = this.state.positions.map((g) => Object.assign({}, g)), u = d[n], m = d.find((g) => g.order === u.order + i);
3321
3319
  m && m !== u && (u.order += i, m.order += -i, c = !0);
3322
3320
  const h = u.col + a;
3323
3321
  a !== 0 && h >= 1 && h + u.colSpan <= (this.props.columns || 3) + 1 && (u.col = h, c = !0);
3324
3322
  const p = u.colSpan + l;
3325
3323
  l && p >= 1 && p + u.col <= (this.props.columns || 3) + 1 && (u.colSpan = p, c = !0);
3326
- const g = u.rowSpan + o;
3327
- o && g >= 1 && (u.rowSpan = g, c = !0), c && (this.setState({ positions: d }), q(this.props.onReposition, {}, this, { value: d }));
3324
+ const v = u.rowSpan + o;
3325
+ o && v >= 1 && (u.rowSpan = v, c = !0), c && (this.setState({ positions: d }), q(this.props.onReposition, {}, this, { value: d }));
3328
3326
  }, W(K), this.showLicenseWatermark = ze(K);
3329
3327
  }
3330
3328
  /**
@@ -3435,10 +3433,10 @@ const qs = {
3435
3433
  icon: m,
3436
3434
  svgIcon: h,
3437
3435
  text: p,
3438
- id: g,
3439
- onSelect: b,
3436
+ id: v,
3437
+ onSelect: g,
3440
3438
  onKeyDown: y,
3441
- index: E,
3439
+ index: I,
3442
3440
  tabIndex: N
3443
3441
  } = e, f = t.useMemo(
3444
3442
  () => k(
@@ -3452,14 +3450,14 @@ const qs = {
3452
3450
  [o, l, i]
3453
3451
  ), R = t.useCallback(
3454
3452
  (A) => {
3455
- b && E !== void 0 && !l && b(A, E);
3453
+ g && I !== void 0 && !l && g(A, I);
3456
3454
  },
3457
- [b, E, l]
3458
- ), v = t.useCallback(
3455
+ [g, I, l]
3456
+ ), b = t.useCallback(
3459
3457
  (A) => {
3460
- y && E !== void 0 && !l && y(A, E);
3458
+ y && I !== void 0 && !l && y(A, I);
3461
3459
  },
3462
- [y, E, l]
3460
+ [y, I, l]
3463
3461
  ), S = d, w = c, O = /* @__PURE__ */ t.createElement(
3464
3462
  "span",
3465
3463
  {
@@ -3467,14 +3465,14 @@ const qs = {
3467
3465
  className: f,
3468
3466
  style: a,
3469
3467
  role: "link",
3470
- id: g,
3468
+ id: v,
3471
3469
  tabIndex: N,
3472
3470
  onClick: R,
3473
- onKeyDown: v,
3471
+ onKeyDown: b,
3474
3472
  "aria-current": o,
3475
3473
  "aria-disabled": l
3476
3474
  },
3477
- w ? /* @__PURE__ */ t.createElement(w, { itemIndex: E, item: u }) : /* @__PURE__ */ t.createElement(t.Fragment, null, (m || h) && /* @__PURE__ */ t.createElement(Q, { className: "k-bottom-nav-item-icon", name: m, icon: h, size: "xlarge" }), p && /* @__PURE__ */ t.createElement("span", { className: "k-bottom-nav-item-text", style: { userSelect: "none" } }, p))
3475
+ w ? /* @__PURE__ */ t.createElement(w, { itemIndex: I, item: u }) : /* @__PURE__ */ t.createElement(t.Fragment, null, (m || h) && /* @__PURE__ */ t.createElement(Q, { className: "k-bottom-nav-item-icon", name: m, icon: h, size: "xlarge" }), p && /* @__PURE__ */ t.createElement("span", { className: "k-bottom-nav-item-text", style: { userSelect: "none" } }, p))
3478
3476
  );
3479
3477
  return S !== void 0 ? S.call(void 0, O, e) : O;
3480
3478
  }), Xs = {
@@ -3517,14 +3515,14 @@ const vt = t.forwardRef((e, s) => {
3517
3515
  item: m,
3518
3516
  itemRender: h,
3519
3517
  disabled: p,
3520
- style: g,
3521
- id: b,
3518
+ style: v,
3519
+ id: g,
3522
3520
  onSelect: y,
3523
- onKeyDown: E
3521
+ onKeyDown: I
3524
3522
  } = e, N = ye(), f = ve(n, e.dir), R = t.useMemo(
3525
3523
  () => e.fillMode === null || e.fill === null ? null : e.fill || e.fillMode || fe.fillMode,
3526
3524
  [e.fillMode, e.fill]
3527
- ), v = t.useMemo(
3525
+ ), b = t.useMemo(
3528
3526
  () => e.themeColor || fe.themeColor,
3529
3527
  [e.themeColor]
3530
3528
  ), S = t.useMemo(
@@ -3534,13 +3532,13 @@ const vt = t.forwardRef((e, s) => {
3534
3532
  qs[l],
3535
3533
  {
3536
3534
  [`k-bottom-nav-${R}`]: R,
3537
- [`k-bottom-nav-${R}-${v}`]: !!(R && v),
3535
+ [`k-bottom-nav-${R}-${b}`]: !!(R && b),
3538
3536
  "k-bottom-nav-border": c,
3539
3537
  "k-disabled": p
3540
3538
  },
3541
3539
  d
3542
3540
  ),
3543
- [o, v, R, l, c, p, d]
3541
+ [o, b, R, l, c, p, d]
3544
3542
  ), w = t.useCallback(
3545
3543
  (D, L) => {
3546
3544
  u && !u[L].disabled && y && q(
@@ -3568,21 +3566,21 @@ const vt = t.forwardRef((e, s) => {
3568
3566
  break;
3569
3567
  }
3570
3568
  q(
3571
- E,
3569
+ I,
3572
3570
  D,
3573
3571
  a(),
3574
3572
  void 0
3575
3573
  );
3576
3574
  },
3577
- [w, E]
3575
+ [w, I]
3578
3576
  );
3579
3577
  return /* @__PURE__ */ t.createElement(
3580
3578
  "nav",
3581
3579
  {
3582
3580
  ref: n,
3583
3581
  className: S,
3584
- style: g,
3585
- id: b || N,
3582
+ style: v,
3583
+ id: g || N,
3586
3584
  dir: f
3587
3585
  },
3588
3586
  u && u.map((D, L) => /* @__PURE__ */ t.createElement(
@@ -3591,7 +3589,7 @@ const vt = t.forwardRef((e, s) => {
3591
3589
  ...D,
3592
3590
  key: L,
3593
3591
  index: L,
3594
- id: `${b || N}-${L}`,
3592
+ id: `${g || N}-${L}`,
3595
3593
  disabled: p || D.disabled,
3596
3594
  selected: D.selected,
3597
3595
  dataItem: D,
@@ -3654,7 +3652,7 @@ const kt = t.forwardRef((e, s) => {
3654
3652
  ), p = t.useMemo(
3655
3653
  () => e.align && e.align.vertical ? e.align.vertical : Le.vAlign,
3656
3654
  [e.align]
3657
- ), g = t.useMemo(
3655
+ ), v = t.useMemo(
3658
3656
  () => k(
3659
3657
  "k-stack-layout",
3660
3658
  {
@@ -3672,7 +3670,7 @@ const kt = t.forwardRef((e, s) => {
3672
3670
  a
3673
3671
  ),
3674
3672
  [u, m, h, p, a]
3675
- ), b = {
3673
+ ), g = {
3676
3674
  gap: `${typeof e.gap == "number" ? e.gap + "px" : e.gap}`,
3677
3675
  ...o
3678
3676
  };
@@ -3680,8 +3678,8 @@ const kt = t.forwardRef((e, s) => {
3680
3678
  "div",
3681
3679
  {
3682
3680
  ref: n,
3683
- className: g,
3684
- style: b,
3681
+ className: v,
3682
+ style: g,
3685
3683
  id: l || d
3686
3684
  },
3687
3685
  c
@@ -3736,10 +3734,10 @@ const yt = t.forwardRef((e, s) => {
3736
3734
  a
3737
3735
  ),
3738
3736
  [m, h, a]
3739
- ), g = d ? `${typeof d.rows == "number" ? d.rows + "px" : d.rows} ${typeof d.cols == "number" ? d.cols + "px" : d.cols}` : void 0, b = e.rows && e.rows.map((N) => `${typeof N.height == "number" ? N.height + "px" : N.height}`).join(" "), y = e.cols && e.cols.map((N) => `${typeof N.width == "number" ? N.width + "px" : N.width}`).join(" "), E = {
3740
- gap: g,
3737
+ ), v = d ? `${typeof d.rows == "number" ? d.rows + "px" : d.rows} ${typeof d.cols == "number" ? d.cols + "px" : d.cols}` : void 0, g = e.rows && e.rows.map((N) => `${typeof N.height == "number" ? N.height + "px" : N.height}`).join(" "), y = e.cols && e.cols.map((N) => `${typeof N.width == "number" ? N.width + "px" : N.width}`).join(" "), I = {
3738
+ gap: v,
3741
3739
  gridTemplateColumns: y,
3742
- gridTemplateRows: b,
3740
+ gridTemplateRows: g,
3743
3741
  ...o
3744
3742
  };
3745
3743
  return /* @__PURE__ */ t.createElement(
@@ -3747,7 +3745,7 @@ const yt = t.forwardRef((e, s) => {
3747
3745
  {
3748
3746
  ref: n,
3749
3747
  className: p,
3750
- style: E,
3748
+ style: I,
3751
3749
  id: l || u
3752
3750
  },
3753
3751
  c
@@ -3782,7 +3780,7 @@ const Bn = t.forwardRef((e, s) => {
3782
3780
  []
3783
3781
  );
3784
3782
  t.useImperativeHandle(s, i);
3785
- const { className: a, style: o, id: l, children: c, row: d, col: u, rowSpan: m, colSpan: h } = e, p = ye(), g = {
3783
+ const { className: a, style: o, id: l, children: c, row: d, col: u, rowSpan: m, colSpan: h } = e, p = ye(), v = {
3786
3784
  gridArea: `${d || "auto"} / ${u || "auto"} / ${m ? "span " + m : "auto"} / ${h ? "span " + h : "auto"}`,
3787
3785
  ...o
3788
3786
  };
@@ -3791,7 +3789,7 @@ const Bn = t.forwardRef((e, s) => {
3791
3789
  {
3792
3790
  ref: n,
3793
3791
  className: a,
3794
- style: g,
3792
+ style: v,
3795
3793
  id: l || p
3796
3794
  },
3797
3795
  c
@@ -4024,7 +4022,7 @@ const wt = t.forwardRef((e, s) => {
4024
4022
  n.current && q(e.onItemSelect, f, f.target, { id: f.target.id });
4025
4023
  }, p = (f) => {
4026
4024
  n.current && q(e.onKeyDown, f, f.target, { id: f.target.id });
4027
- }, g = e.valueField || Te.valueField, b = e.iconField || Te.iconField, y = e.iconClassField || Te.iconClassField, E = e.textField || Te.textField, N = e.size || "medium";
4025
+ }, v = e.valueField || Te.valueField, g = e.iconField || Te.iconField, y = e.iconClassField || Te.iconClassField, I = e.textField || Te.textField, N = e.size || "medium";
4028
4026
  return /* @__PURE__ */ t.createElement(
4029
4027
  "nav",
4030
4028
  {
@@ -4044,25 +4042,25 @@ const wt = t.forwardRef((e, s) => {
4044
4042
  e.className
4045
4043
  )
4046
4044
  },
4047
- /* @__PURE__ */ t.createElement(a, { rootItem: !0 }, /* @__PURE__ */ t.createElement(t.Fragment, null, e.data.map((f, R, v) => {
4048
- const S = f[g];
4045
+ /* @__PURE__ */ t.createElement(a, { rootItem: !0 }, /* @__PURE__ */ t.createElement(t.Fragment, null, e.data.map((f, R, b) => {
4046
+ const S = f[v];
4049
4047
  if (R === 0)
4050
4048
  return /* @__PURE__ */ t.createElement(
4051
4049
  o,
4052
4050
  {
4053
4051
  key: S,
4054
4052
  isFirstItem: !0,
4055
- isLastItem: v.length - 1 === R
4053
+ isLastItem: b.length - 1 === R
4056
4054
  },
4057
4055
  /* @__PURE__ */ t.createElement(
4058
4056
  c,
4059
4057
  {
4060
- isLast: v.length - 1 === R,
4058
+ isLast: b.length - 1 === R,
4061
4059
  isFirst: !0,
4062
4060
  id: String(S),
4063
- icon: f[b] || void 0,
4061
+ icon: f[g] || void 0,
4064
4062
  iconClass: f[y] ? String(f[y]) : void 0,
4065
- text: f[E] ? String(f[E]) : void 0,
4063
+ text: f[I] ? String(f[I]) : void 0,
4066
4064
  disabled: f.disabled || !1,
4067
4065
  onItemSelect: h,
4068
4066
  onKeyDown: p,
@@ -4071,26 +4069,26 @@ const wt = t.forwardRef((e, s) => {
4071
4069
  )
4072
4070
  );
4073
4071
  }))),
4074
- /* @__PURE__ */ t.createElement(a, { rootItem: !1 }, /* @__PURE__ */ t.createElement(t.Fragment, null, e.data.map((f, R, v) => {
4075
- const S = f[g];
4072
+ /* @__PURE__ */ t.createElement(a, { rootItem: !1 }, /* @__PURE__ */ t.createElement(t.Fragment, null, e.data.map((f, R, b) => {
4073
+ const S = f[v];
4076
4074
  if (R !== 0)
4077
4075
  return /* @__PURE__ */ t.createElement(
4078
4076
  o,
4079
4077
  {
4080
4078
  key: S,
4081
4079
  isFirstItem: !1,
4082
- isLastItem: v.length - 1 === R
4080
+ isLastItem: b.length - 1 === R
4083
4081
  },
4084
4082
  /* @__PURE__ */ t.createElement(l, { dir: m }),
4085
4083
  /* @__PURE__ */ t.createElement(
4086
4084
  c,
4087
4085
  {
4088
- isLast: v.length - 1 === R,
4086
+ isLast: b.length - 1 === R,
4089
4087
  isFirst: !1,
4090
4088
  id: String(S),
4091
- icon: f[b] || void 0,
4089
+ icon: f[g] || void 0,
4092
4090
  iconClass: f[y] ? String(f[y]) : void 0,
4093
- text: f[E] ? String(f[E]) : void 0,
4091
+ text: f[I] ? String(f[I]) : void 0,
4094
4092
  disabled: f.disabled || !1,
4095
4093
  onItemSelect: h,
4096
4094
  onKeyDown: p,
@@ -4311,7 +4309,7 @@ class Rt extends t.Component {
4311
4309
  expand: o,
4312
4310
  tabIndex: l,
4313
4311
  items: c
4314
- } = this.props, d = c == null ? void 0 : c.filter((b) => !b.group || b.group === "top"), u = c == null ? void 0 : c.filter((b) => b.group === "bottom"), m = d && d.length > 0 && u && u.length > 0, h = this.children(this.props.children), p = this.props.animationDuration || this.animationDuration, g = this.state.slide && /* @__PURE__ */ t.createElement(
4312
+ } = this.props, d = c == null ? void 0 : c.filter((g) => !g.group || g.group === "top"), u = c == null ? void 0 : c.filter((g) => g.group === "bottom"), m = d && d.length > 0 && u && u.length > 0, h = this.children(this.props.children), p = this.props.animationDuration || this.animationDuration, v = this.state.slide && /* @__PURE__ */ t.createElement(
4315
4313
  "div",
4316
4314
  {
4317
4315
  className: k("k-actionsheet", this.props.className, {
@@ -4326,23 +4324,23 @@ class Rt extends t.Component {
4326
4324
  },
4327
4325
  h[ot] && !s && !n && h[ot],
4328
4326
  (s || n) && /* @__PURE__ */ t.createElement("div", { className: "k-actionsheet-titlebar k-text-center" }, /* @__PURE__ */ t.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ t.createElement("div", { className: this.actionSheetTitleClass, id: this.ariaLabeledBy }, s && /* @__PURE__ */ t.createElement("div", null, s), n && /* @__PURE__ */ t.createElement("div", { className: "k-actionsheet-subtitle" }, n)))),
4329
- h[Hn] || /* @__PURE__ */ t.createElement("div", { className: "k-actionsheet-content" }, /* @__PURE__ */ t.createElement("div", { className: "k-list-ul", role: "group" }, d && d.map((b, y) => /* @__PURE__ */ t.createElement(
4327
+ h[Hn] || /* @__PURE__ */ t.createElement("div", { className: "k-actionsheet-content" }, /* @__PURE__ */ t.createElement("div", { className: "k-list-ul", role: "group" }, d && d.map((g, y) => /* @__PURE__ */ t.createElement(
4330
4328
  at,
4331
4329
  {
4332
- ...b,
4330
+ ...g,
4333
4331
  id: y,
4334
4332
  key: y,
4335
- item: b,
4333
+ item: g,
4336
4334
  tabIndex: l || 0,
4337
4335
  onClick: this.handleItemClick
4338
4336
  }
4339
- ))), m && /* @__PURE__ */ t.createElement("hr", { className: "k-hr" }), /* @__PURE__ */ t.createElement("div", { className: "k-list-ul", role: "group" }, u && u.map((b, y) => /* @__PURE__ */ t.createElement(
4337
+ ))), m && /* @__PURE__ */ t.createElement("hr", { className: "k-hr" }), /* @__PURE__ */ t.createElement("div", { className: "k-list-ul", role: "group" }, u && u.map((g, y) => /* @__PURE__ */ t.createElement(
4340
4338
  at,
4341
4339
  {
4342
- ...b,
4340
+ ...g,
4343
4341
  id: y + ((d == null ? void 0 : d.length) || 0),
4344
4342
  key: y,
4345
- item: b,
4343
+ item: g,
4346
4344
  tabIndex: l || 0,
4347
4345
  onClick: this.handleItemClick
4348
4346
  }
@@ -4369,8 +4367,8 @@ class Rt extends t.Component {
4369
4367
  enter: !0,
4370
4368
  appear: !1
4371
4369
  },
4372
- g
4373
- ) : g)) : null);
4370
+ v
4371
+ ) : v)) : null);
4374
4372
  }
4375
4373
  }
4376
4374
  Rt.displayName = "KendoReactActionSheet";
@@ -4386,33 +4384,33 @@ Rt.defaultProps = {
4386
4384
  navigatableElements: []
4387
4385
  };
4388
4386
  const Dt = (e) => {
4389
- const { title: n, subtitle: i, actions: a, images: o, description: l } = e.eventData, [c, d] = t.useState(e.eventData.opened || !1), [u, m] = t.useState(e.eventData.opened || !!e.collapsible), h = (b) => {
4387
+ const { title: n, subtitle: i, actions: a, images: o, description: l } = e.eventData, [c, d] = t.useState(e.eventData.opened || !1), [u, m] = t.useState(e.eventData.opened || !!e.collapsible), h = (g) => {
4390
4388
  if (d(!c), e.onChange) {
4391
4389
  const y = {
4392
- syntheticEvent: b,
4393
- nativeEvent: b.nativeEvent,
4390
+ syntheticEvent: g,
4391
+ nativeEvent: g.nativeEvent,
4394
4392
  eventData: e.eventData
4395
4393
  };
4396
4394
  e.onChange.call(void 0, y);
4397
4395
  }
4398
- }, p = (b) => {
4396
+ }, p = (g) => {
4399
4397
  if (e.onActionClick) {
4400
4398
  const y = {
4401
- syntheticEvent: b,
4402
- nativeEvent: b.nativeEvent,
4399
+ syntheticEvent: g,
4400
+ nativeEvent: g.nativeEvent,
4403
4401
  eventData: e.eventData
4404
4402
  };
4405
4403
  e.onActionClick.call(void 0, y);
4406
4404
  }
4407
- }, g = () => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(Cn, null, /* @__PURE__ */ t.createElement("div", { className: "k-card-description" }, /* @__PURE__ */ t.createElement("p", null, l), o && o.map((b, y) => /* @__PURE__ */ t.createElement(wn, { key: y, src: b.src })))), /* @__PURE__ */ t.createElement(Nn, null, a && a.map((b, y) => /* @__PURE__ */ t.createElement(
4405
+ }, v = () => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(Cn, null, /* @__PURE__ */ t.createElement("div", { className: "k-card-description" }, /* @__PURE__ */ t.createElement("p", null, l), o && o.map((g, y) => /* @__PURE__ */ t.createElement(wn, { key: y, src: g.src })))), /* @__PURE__ */ t.createElement(Nn, null, a && a.map((g, y) => /* @__PURE__ */ t.createElement(
4408
4406
  "a",
4409
4407
  {
4410
4408
  key: y,
4411
- href: b.url,
4409
+ href: g.url,
4412
4410
  className: "k-button k-button-md k-rounded-md k-button-flat k-button-flat-primary",
4413
4411
  onClick: p
4414
4412
  },
4415
- b.text
4413
+ g.text
4416
4414
  ))));
4417
4415
  return /* @__PURE__ */ t.createElement(
4418
4416
  "div",
@@ -4433,7 +4431,7 @@ const Dt = (e) => {
4433
4431
  role: e.horizontal ? "tabpanel" : "button",
4434
4432
  "aria-expanded": e.collapsible && u,
4435
4433
  className: "k-card-with-callout",
4436
- onClick: (b) => h(b)
4434
+ onClick: (g) => h(g)
4437
4435
  },
4438
4436
  /* @__PURE__ */ t.createElement(
4439
4437
  "span",
@@ -4462,8 +4460,8 @@ const Dt = (e) => {
4462
4460
  onBeforeEnter: () => m(!1),
4463
4461
  onAfterExited: () => m(!0)
4464
4462
  },
4465
- c ? g() : null
4466
- ) : g())
4463
+ c ? v() : null
4464
+ ) : v())
4467
4465
  )
4468
4466
  );
4469
4467
  };
@@ -4475,15 +4473,15 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4475
4473
  let s;
4476
4474
  return e.reduce((i, a) => (s !== a.date.getFullYear() ? (s = a.date.getFullYear(), i.push({ yearFlag: s }, a)) : i.push(a), i), []);
4477
4475
  }, Wn = (e) => {
4478
- const i = tn(), [a, o] = t.useState(!1), [l, c] = t.useState(!0), [d, u] = t.useState(), [m, h] = t.useState(0), [p, g] = t.useState(), [b, y] = t.useState(0), [E, N] = t.useState(0), [f, R] = t.useState(1), [v, S] = t.useState(), [w, O] = t.useState(), [A, D] = t.useState([0, 0, 0]), [L, B] = t.useState(0), [G, ee] = t.useState(1), $ = t.useRef(null), x = t.useRef(null), M = t.useRef(null), { eventsData: j, dateFormat: Y, navigatable: Z, onActionClick: re } = e, de = p ? `${p}%` : "150px", se = t.useRef(new ct({
4476
+ const i = tn(), [a, o] = t.useState(!1), [l, c] = t.useState(!0), [d, u] = t.useState(), [m, h] = t.useState(0), [p, v] = t.useState(), [g, y] = t.useState(0), [I, N] = t.useState(0), [f, R] = t.useState(1), [b, S] = t.useState(), [w, O] = t.useState(), [A, D] = t.useState([0, 0, 0]), [L, B] = t.useState(0), [G, ee] = t.useState(1), $ = t.useRef(null), x = t.useRef(null), M = t.useRef(null), { eventsData: j, dateFormat: Y, navigatable: Z, onActionClick: re } = e, de = p ? `${p}%` : "150px", se = t.useRef(new ct({
4479
4477
  tabIndex: 0,
4480
4478
  root: $,
4481
4479
  selectors: [".k-timeline-scrollable-wrap"]
4482
4480
  }));
4483
4481
  t.useEffect(() => {
4484
4482
  $.current && e.navigatable && (setTimeout(() => {
4485
- const I = se.current.first;
4486
- I && I.setAttribute("tabindex", String(0));
4483
+ const E = se.current.first;
4484
+ E && E.setAttribute("tabindex", String(0));
4487
4485
  }, 0), se.current.keyboardEvents = {
4488
4486
  keydown: {
4489
4487
  ArrowRight: ue,
@@ -4492,78 +4490,78 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4492
4490
  Home: _
4493
4491
  }
4494
4492
  });
4495
- }, [e.navigatable, f, b]), t.useEffect(() => {
4493
+ }, [e.navigatable, f, g]), t.useEffect(() => {
4496
4494
  se.current.update();
4497
4495
  });
4498
- const Ie = (I) => {
4499
- Z && se.current && se.current.triggerKeyboardEvent(I);
4496
+ const Ie = (E) => {
4497
+ Z && se.current && se.current.triggerKeyboardEvent(E);
4500
4498
  };
4501
4499
  t.useEffect(() => {
4502
4500
  var z;
4503
- const I = qt && window.ResizeObserver && new window.ResizeObserver(Me), T = x.current, P = ((z = $ == null ? void 0 : $.current) == null ? void 0 : z.offsetWidth) || 0;
4504
- return I && T && I.observe(T), V(), Me(), D([P, 0, -P]), () => {
4505
- I && I.disconnect();
4501
+ const E = qt && window.ResizeObserver && new window.ResizeObserver(Me), T = x.current, P = ((z = $ == null ? void 0 : $.current) == null ? void 0 : z.offsetWidth) || 0;
4502
+ return E && T && E.observe(T), V(), Me(), D([P, 0, -P]), () => {
4503
+ E && E.disconnect();
4506
4504
  };
4507
4505
  }, []), t.useEffect(() => {
4508
- const I = x.current, T = I && I.children[f];
4506
+ const E = x.current, T = E && E.children[f];
4509
4507
  if (T) {
4510
4508
  const P = T.offsetWidth, z = !(m >= 0);
4511
4509
  if (o(z), w) {
4512
- const U = w.length * P > b * P * ((m * -1 + 100) / 100);
4510
+ const U = w.length * P > g * P * ((m * -1 + 100) / 100);
4513
4511
  c(U);
4514
4512
  }
4515
- (I == null ? void 0 : I.offsetWidth) * -m / 100 >= I.children.length * P && (V(), Me(), h((T.offsetLeft - T.offsetWidth) / (b * T.offsetWidth) * 100 * -1)), Ot(T);
4513
+ (E == null ? void 0 : E.offsetWidth) * -m / 100 >= E.children.length * P && (V(), Me(), h((T.offsetLeft - T.offsetWidth) / (g * T.offsetWidth) * 100 * -1)), Ot(T);
4516
4514
  }
4517
- }, [b, p, f]);
4518
- const ue = (I, T, P) => {
4515
+ }, [g, p, f]);
4516
+ const ue = (E, T, P) => {
4519
4517
  if (x.current) {
4520
4518
  const z = x.current.children[f + 1], U = z && z.classList.contains("k-timeline-flag-wrap") ? f + 2 : f + 1;
4521
4519
  if (w && w.length <= U)
4522
4520
  return;
4523
- b + E <= U && Ee(), Ne(U, P);
4521
+ g + I <= U && Ee(), Ne(U, P);
4524
4522
  }
4525
- }, H = (I, T, P) => {
4523
+ }, H = (E, T, P) => {
4526
4524
  if (x.current) {
4527
4525
  const z = x.current && x.current.children[f - 1], U = z && z.classList.contains("k-timeline-flag-wrap") ? f - 2 : f - 1;
4528
4526
  if (U <= 0)
4529
4527
  return;
4530
- U < E && me(), Ne(U, P);
4528
+ U < I && me(), Ne(U, P);
4531
4529
  }
4532
- }, _ = (I, T, P) => {
4530
+ }, _ = (E, T, P) => {
4533
4531
  if (x.current) {
4534
4532
  if (f <= 1)
4535
4533
  return;
4536
4534
  const z = 1;
4537
4535
  he(!0, z, 0, 0), Ne(z, P);
4538
4536
  }
4539
- }, F = (I, T, P) => {
4537
+ }, F = (E, T, P) => {
4540
4538
  if (x.current) {
4541
4539
  const z = x.current && x.current.children.length - 1;
4542
4540
  if (z <= f)
4543
4541
  return;
4544
- const U = Math.floor(z / b), we = U * -100, je = U * b;
4542
+ const U = Math.floor(z / g), we = U * -100, je = U * g;
4545
4543
  he(!0, z, je, we), Ne(z, P);
4546
4544
  }
4547
4545
  }, V = () => {
4548
- const I = _n(j);
4549
- O(I), S([I[f - 1], I[f], I[f + 1]]);
4546
+ const E = _n(j);
4547
+ O(E), S([E[f - 1], E[f], E[f + 1]]);
4550
4548
  }, me = () => {
4551
4549
  var T;
4552
4550
  if (x.current && w) {
4553
- const P = E - b, z = E - 1, U = w[z] && ((T = w[z]) != null && T.yearFlag) ? z - 1 : z, we = m + 100 > 0 ? 0 : m + 100;
4551
+ const P = I - g, z = I - 1, U = w[z] && ((T = w[z]) != null && T.yearFlag) ? z - 1 : z, we = m + 100 > 0 ? 0 : m + 100;
4554
4552
  he(!1, U, P, we);
4555
4553
  }
4556
4554
  }, Ee = () => {
4557
4555
  if (x.current && w) {
4558
- const T = E + b, P = w[T] && w[T].yearFlag ? T + 1 : T, z = m - 100;
4556
+ const T = I + g, P = w[T] && w[T].yearFlag ? T + 1 : T, z = m - 100;
4559
4557
  he(!0, P, T, z);
4560
4558
  }
4561
- }, he = (I, T, P, z) => {
4562
- ne(I, T), Me(), N(P), h(z), R(T);
4563
- }, ne = (I, T) => {
4564
- if (v && w) {
4565
- const P = Ce(I, G), z = Object.assign([], v, { [P]: w[T] });
4566
- S(z), ee(P), B(I ? -100 : 100), setTimeout(() => {
4559
+ }, he = (E, T, P, z) => {
4560
+ ne(E, T), Me(), N(P), h(z), R(T);
4561
+ }, ne = (E, T) => {
4562
+ if (b && w) {
4563
+ const P = Ce(E, G), z = Object.assign([], b, { [P]: w[T] });
4564
+ S(z), ee(P), B(E ? -100 : 100), setTimeout(() => {
4567
4565
  var Mt;
4568
4566
  const U = (Mt = $.current) == null ? void 0 : Mt.offsetWidth, we = Object.assign([], A, {
4569
4567
  [P]: 0,
@@ -4576,25 +4574,25 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4576
4574
  S(je), D(we), B(0);
4577
4575
  }, e.transitionDuration || 300);
4578
4576
  }
4579
- }, Ce = (I, T) => {
4580
- const P = I ? T + 1 : T - 1;
4581
- return v ? P < 0 ? v.length - 1 : P % v.length : 0;
4582
- }, Ot = (I) => {
4577
+ }, Ce = (E, T) => {
4578
+ const P = E ? T + 1 : T - 1;
4579
+ return b ? P < 0 ? b.length - 1 : P % b.length : 0;
4580
+ }, Ot = (E) => {
4583
4581
  var P;
4584
- const T = (f - E) * I.offsetWidth + I.offsetWidth / 2 + (((P = M.current) == null ? void 0 : P.offsetWidth) || 0);
4582
+ const T = (f - I) * E.offsetWidth + E.offsetWidth / 2 + (((P = M.current) == null ? void 0 : P.offsetWidth) || 0);
4585
4583
  u(T);
4586
- }, Ne = (I, T) => {
4587
- T.preventDefault(), I > f ? ne(!0, I) : I < f && ne(!1, I), R(I);
4584
+ }, Ne = (E, T) => {
4585
+ T.preventDefault(), E > f ? ne(!0, E) : E < f && ne(!1, E), R(E);
4588
4586
  }, Me = t.useCallback(() => {
4589
- const I = x.current, T = I && I.children[f];
4590
- if (I instanceof HTMLElement && T) {
4591
- const P = Math.round(I.offsetWidth / 150);
4592
- Ot(T), g(100 / P), y(P);
4587
+ const E = x.current, T = E && E.children[f];
4588
+ if (E instanceof HTMLElement && T) {
4589
+ const P = Math.round(E.offsetWidth / 150);
4590
+ Ot(T), v(100 / P), y(P);
4593
4591
  }
4594
4592
  }, []), Vn = () => ({
4595
4593
  transitionDuration: "300ms"
4596
- }), Pt = (I) => ({
4597
- transform: `translateX(${I}%)`,
4594
+ }), Pt = (E) => ({
4595
+ transform: `translateX(${E}%)`,
4598
4596
  transformOrigin: "left top"
4599
4597
  });
4600
4598
  return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-timeline-track-wrap", ref: $, onKeyDown: Ie }, /* @__PURE__ */ t.createElement(
@@ -4633,7 +4631,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4633
4631
  tabIndex: 0,
4634
4632
  style: { transform: `translateX(${m}%)` }
4635
4633
  },
4636
- w && w.map((I, T) => I.yearFlag ? /* @__PURE__ */ t.createElement(
4634
+ w && w.map((E, T) => E.yearFlag ? /* @__PURE__ */ t.createElement(
4637
4635
  "li",
4638
4636
  {
4639
4637
  role: "none",
@@ -4641,7 +4639,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4641
4639
  style: { flex: `1 0 ${de}` },
4642
4640
  key: T
4643
4641
  },
4644
- /* @__PURE__ */ t.createElement("span", { className: "k-timeline-flag" }, I.yearFlag)
4642
+ /* @__PURE__ */ t.createElement("span", { className: "k-timeline-flag" }, E.yearFlag)
4645
4643
  ) : /* @__PURE__ */ t.createElement(
4646
4644
  "li",
4647
4645
  {
@@ -4654,7 +4652,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4654
4652
  style: { flex: `1 0 ${de}` },
4655
4653
  key: T
4656
4654
  },
4657
- /* @__PURE__ */ t.createElement("div", { className: "k-timeline-date-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-date" }, i.formatDate(I.date, Y))),
4655
+ /* @__PURE__ */ t.createElement("div", { className: "k-timeline-date-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-date" }, i.formatDate(E.date, Y))),
4658
4656
  /* @__PURE__ */ t.createElement(
4659
4657
  "span",
4660
4658
  {
@@ -4669,19 +4667,19 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4669
4667
  className: "k-timeline-scrollable-wrap",
4670
4668
  style: L === 0 ? { ...Pt(L) } : { ...Pt(L), ...Vn() }
4671
4669
  },
4672
- v && v.map(
4673
- (I, T) => /* @__PURE__ */ t.createElement(
4670
+ b && b.map(
4671
+ (E, T) => /* @__PURE__ */ t.createElement(
4674
4672
  "li",
4675
4673
  {
4676
4674
  key: T,
4677
4675
  className: "k-timeline-event",
4678
4676
  style: { transform: `translate3d(${A[T]}px, 0px, 0px)` }
4679
4677
  },
4680
- I && /* @__PURE__ */ t.createElement(
4678
+ E && /* @__PURE__ */ t.createElement(
4681
4679
  Dt,
4682
4680
  {
4683
4681
  tabindex: A[T] === 0 ? 0 : -1,
4684
- eventData: I,
4682
+ eventData: E,
4685
4683
  onActionClick: re,
4686
4684
  horizontal: !0,
4687
4685
  collapsible: !1,
@@ -4705,16 +4703,16 @@ const $n = (e) => {
4705
4703
  navigatable: u,
4706
4704
  onChange: m,
4707
4705
  onActionClick: h
4708
- } = e, p = t.useRef(null), g = t.useRef(new ct({
4706
+ } = e, p = t.useRef(null), v = t.useRef(new ct({
4709
4707
  tabIndex: 0,
4710
4708
  root: p,
4711
4709
  selectors: [".k-card-vertical"]
4712
4710
  }));
4713
4711
  t.useEffect(() => {
4714
4712
  p.current && e.navigatable && (setTimeout(() => {
4715
- const f = g.current.first;
4713
+ const f = v.current.first;
4716
4714
  f && f.setAttribute("tabindex", String(0));
4717
- }, 0), g.current.keyboardEvents = {
4715
+ }, 0), v.current.keyboardEvents = {
4718
4716
  keydown: {
4719
4717
  Space: y,
4720
4718
  Enter: y
@@ -4723,28 +4721,28 @@ const $n = (e) => {
4723
4721
  }, [e.navigatable]), t.useEffect(() => {
4724
4722
  i(_n(l));
4725
4723
  }, []), t.useEffect(() => {
4726
- g.current.update();
4724
+ v.current.update();
4727
4725
  });
4728
- const b = (f) => {
4729
- u && g.current && g.current.triggerKeyboardEvent(f);
4730
- }, y = (f, R, v) => {
4731
- v.preventDefault();
4726
+ const g = (f) => {
4727
+ u && v.current && v.current.triggerKeyboardEvent(f);
4728
+ }, y = (f, R, b) => {
4729
+ b.preventDefault();
4732
4730
  const S = f.querySelector(".k-card-title .k-event-collapse");
4733
4731
  S && S.click();
4734
4732
  };
4735
- let E = 0;
4733
+ let I = 0;
4736
4734
  const N = ye();
4737
- return /* @__PURE__ */ t.createElement("ul", { ref: p, onKeyDown: b }, n && n.map((f, R) => {
4738
- const v = (R + E) % 2 === 0;
4739
- f.yearFlag && (E += 1);
4740
- const S = N + "-" + R, w = d ? { "k-reverse": v } : void 0;
4735
+ return /* @__PURE__ */ t.createElement("ul", { ref: p, onKeyDown: g }, n && n.map((f, R) => {
4736
+ const b = (R + I) % 2 === 0;
4737
+ f.yearFlag && (I += 1);
4738
+ const S = N + "-" + R, w = d ? { "k-reverse": b } : void 0;
4741
4739
  return /* @__PURE__ */ t.createElement(t.Fragment, { key: R }, f.yearFlag ? /* @__PURE__ */ t.createElement("li", { className: "k-timeline-flag-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-flag" }, f.yearFlag)) : /* @__PURE__ */ t.createElement("li", { className: k("k-timeline-event", w) }, /* @__PURE__ */ t.createElement("div", { className: "k-timeline-date-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-date", id: S }, s.formatDate(f.date, c))), /* @__PURE__ */ t.createElement("span", { className: "k-timeline-circle" }), /* @__PURE__ */ t.createElement(
4742
4740
  Dt,
4743
4741
  {
4744
4742
  id: S,
4745
4743
  tabindex: u ? 0 : -1,
4746
4744
  eventData: f,
4747
- alternated: d && v,
4745
+ alternated: d && b,
4748
4746
  collapsible: a,
4749
4747
  transitionDuration: o,
4750
4748
  onChange: m,
@@ -4773,13 +4771,13 @@ const ti = (e) => {
4773
4771
  dateFormat: u,
4774
4772
  onChange: m,
4775
4773
  onActionClick: h
4776
- } = s, [p, g] = t.useState(), b = t.useRef(null);
4774
+ } = s, [p, v] = t.useState(), g = t.useRef(null);
4777
4775
  return t.useEffect(() => {
4778
- b.current && g(b.current.offsetWidth);
4776
+ g.current && v(g.current.offsetWidth);
4779
4777
  }, []), /* @__PURE__ */ t.createElement(
4780
4778
  "div",
4781
4779
  {
4782
- ref: b,
4780
+ ref: g,
4783
4781
  className: k(
4784
4782
  "k-timeline",
4785
4783
  {
@@ -4867,14 +4865,14 @@ const Un = t.forwardRef((e, s) => {
4867
4865
  onAction: m,
4868
4866
  expandIcon: h,
4869
4867
  collapseIcon: p,
4870
- expandSVGIcon: g,
4871
- collapseSVGIcon: b
4868
+ expandSVGIcon: v,
4869
+ collapseSVGIcon: g
4872
4870
  } = e, y = t.useCallback(
4873
4871
  (S) => {
4874
4872
  q(m, S, o(), { expanded: l });
4875
4873
  },
4876
4874
  [m, l]
4877
- ), E = t.useCallback(
4875
+ ), I = t.useCallback(
4878
4876
  (S) => {
4879
4877
  (S.keyCode === C.enter || S.keyCode === C.space) && (S.preventDefault(), q(m, S, o(), { expanded: l }));
4880
4878
  },
@@ -4883,7 +4881,7 @@ const Un = t.forwardRef((e, s) => {
4883
4881
  e.disabled || a(!0);
4884
4882
  }, [e.disabled]), f = t.useCallback(() => {
4885
4883
  e.disabled || a(!1);
4886
- }, [e.disabled]), { onFocus: R, onBlur: v } = Xn({ onFocus: N, onBlur: f });
4884
+ }, [e.disabled]), { onFocus: R, onBlur: b } = Xn({ onFocus: N, onBlur: f });
4887
4885
  return /* @__PURE__ */ t.createElement(
4888
4886
  "div",
4889
4887
  {
@@ -4898,11 +4896,11 @@ const Un = t.forwardRef((e, s) => {
4898
4896
  }
4899
4897
  ),
4900
4898
  onFocus: R,
4901
- onBlur: v,
4899
+ onBlur: b,
4902
4900
  style: e.style,
4903
4901
  id: e.id,
4904
4902
  dir: Vt(n, e.dir),
4905
- onKeyDown: c ? void 0 : E
4903
+ onKeyDown: c ? void 0 : I
4906
4904
  },
4907
4905
  /* @__PURE__ */ t.createElement(
4908
4906
  "div",
@@ -4922,7 +4920,7 @@ const Un = t.forwardRef((e, s) => {
4922
4920
  Q,
4923
4921
  {
4924
4922
  name: l ? p ? void 0 : "chevron-up" : h ? void 0 : "chevron-down",
4925
- icon: l ? !b && !p ? Yt : b : !g && !h ? Zt : g,
4923
+ icon: l ? !g && !p ? Yt : g : !v && !h ? Zt : v,
4926
4924
  className: k(
4927
4925
  l ? {
4928
4926
  [String(p)]: !!p