@progress/kendo-react-common 7.2.4-develop.2 → 7.2.4-develop.4

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.
Files changed (203) hide show
  1. package/Draggable.js +8 -0
  2. package/Draggable.mjs +79 -0
  3. package/Droppable.js +8 -0
  4. package/Droppable.mjs +64 -0
  5. package/FormComponent.js +8 -0
  6. package/FormComponent.mjs +13 -0
  7. package/browser-support.service.js +8 -0
  8. package/browser-support.service.mjs +25 -0
  9. package/canUseDOM.js +8 -0
  10. package/canUseDOM.mjs +13 -0
  11. package/canUseRef.js +8 -0
  12. package/canUseRef.mjs +15 -0
  13. package/classNames.js +8 -0
  14. package/classNames.mjs +17 -0
  15. package/clone.js +8 -0
  16. package/clone.mjs +44 -0
  17. package/constants/index.js +8 -0
  18. package/constants/index.mjs +12 -0
  19. package/contexts/ZIndexContext.js +8 -0
  20. package/contexts/ZIndexContext.mjs +15 -0
  21. package/dist/cdn/js/kendo-react-common.js +8 -5
  22. package/drag-n-drop/context/index.js +8 -0
  23. package/drag-n-drop/context/index.mjs +23 -0
  24. package/drag-n-drop/index.js +8 -0
  25. package/drag-n-drop/index.mjs +46 -0
  26. package/events/dispatchEvent.js +8 -0
  27. package/events/dispatchEvent.mjs +21 -0
  28. package/fieldList.js +8 -0
  29. package/fieldList.mjs +18 -0
  30. package/getActiveElement.js +8 -0
  31. package/getActiveElement.mjs +19 -0
  32. package/getTabIndex.js +8 -0
  33. package/getTabIndex.mjs +16 -0
  34. package/getter.js +8 -0
  35. package/getter.mjs +26 -0
  36. package/guid.js +8 -0
  37. package/guid.mjs +17 -0
  38. package/hasRelativeStackingContext.js +8 -0
  39. package/hasRelativeStackingContext.mjs +25 -0
  40. package/hocs/AsyncFocusBlur.js +8 -0
  41. package/hocs/AsyncFocusBlur.mjs +23 -0
  42. package/hocs/use-id-hoc.js +8 -0
  43. package/hocs/use-id-hoc.mjs +17 -0
  44. package/hocs/withPropsContext.js +8 -0
  45. package/hocs/withPropsContext.mjs +18 -0
  46. package/hooks/use-id.js +8 -0
  47. package/hooks/use-id.mjs +35 -0
  48. package/hooks/use-isomorphic-layout-effect.js +8 -0
  49. package/hooks/use-isomorphic-layout-effect.mjs +13 -0
  50. package/hooks/useAsyncFocusBlur.js +8 -0
  51. package/hooks/useAsyncFocusBlur.mjs +38 -0
  52. package/hooks/useCollection.js +8 -0
  53. package/hooks/useCollection.mjs +32 -0
  54. package/hooks/useControlledState.js +8 -0
  55. package/hooks/useControlledState.mjs +21 -0
  56. package/hooks/useCustomComponent.js +8 -0
  57. package/hooks/useCustomComponent.mjs +22 -0
  58. package/hooks/useDir.js +8 -0
  59. package/hooks/useDir.mjs +24 -0
  60. package/hooks/useDocument.js +8 -0
  61. package/hooks/useDocument.mjs +22 -0
  62. package/hooks/useDraggable.js +8 -0
  63. package/hooks/useDraggable.mjs +308 -0
  64. package/hooks/useDroppable.js +8 -0
  65. package/hooks/useDroppable.mjs +67 -0
  66. package/hooks/useInheritedState.js +8 -0
  67. package/hooks/useInheritedState.mjs +21 -0
  68. package/hooks/useMouse.js +8 -0
  69. package/hooks/useMouse.mjs +98 -0
  70. package/hooks/usePropsContext.js +8 -0
  71. package/hooks/usePropsContext.mjs +13 -0
  72. package/hooks/useRtl.js +8 -0
  73. package/hooks/useRtl.mjs +24 -0
  74. package/hooks/useWindow.js +8 -0
  75. package/hooks/useWindow.mjs +20 -0
  76. package/icons/Icon.js +8 -0
  77. package/icons/Icon.mjs +92 -0
  78. package/icons/IconWrap.js +8 -0
  79. package/icons/IconWrap.mjs +24 -0
  80. package/icons/IconsContext.js +8 -0
  81. package/icons/IconsContext.mjs +14 -0
  82. package/icons/SvgIcon.js +8 -0
  83. package/icons/SvgIcon.mjs +124 -0
  84. package/icons/constants.js +8 -0
  85. package/icons/constants.mjs +21 -0
  86. package/icons/utils.js +8 -0
  87. package/icons/utils.mjs +19 -0
  88. package/index.d.mts +1771 -5
  89. package/index.d.ts +1771 -65
  90. package/index.js +8 -5
  91. package/index.mjs +147 -1812
  92. package/keys.js +8 -0
  93. package/keys.mjs +28 -0
  94. package/memoize.js +8 -0
  95. package/memoize.mjs +38 -0
  96. package/navigation.js +8 -0
  97. package/navigation.mjs +97 -0
  98. package/noop.js +8 -0
  99. package/noop.mjs +13 -0
  100. package/package.json +1 -1
  101. package/scrollbarWidth.js +8 -0
  102. package/scrollbarWidth.mjs +20 -0
  103. package/setter.js +8 -0
  104. package/setter.mjs +27 -0
  105. package/theme.js +8 -0
  106. package/theme.mjs +27 -0
  107. package/trappedFocus.js +8 -0
  108. package/trappedFocus.mjs +58 -0
  109. package/tree-utils/FieldsService.js +8 -0
  110. package/tree-utils/FieldsService.mjs +48 -0
  111. package/tree-utils/SortedPublicItemIds.js +8 -0
  112. package/tree-utils/SortedPublicItemIds.mjs +24 -0
  113. package/tree-utils/itemIdUtils.js +8 -0
  114. package/tree-utils/itemIdUtils.mjs +87 -0
  115. package/tree-utils/itemUtils.js +8 -0
  116. package/tree-utils/itemUtils.mjs +118 -0
  117. package/tree-utils/misc.js +8 -0
  118. package/tree-utils/misc.mjs +22 -0
  119. package/treeDataOperations.js +8 -0
  120. package/treeDataOperations.mjs +45 -0
  121. package/typography/Typography.js +8 -0
  122. package/typography/Typography.mjs +110 -0
  123. package/typography/constants.js +8 -0
  124. package/typography/constants.mjs +71 -0
  125. package/validate-package.js +8 -0
  126. package/validate-package.mjs +20 -0
  127. package/watermark/WatermarkOverlay.js +8 -0
  128. package/watermark/WatermarkOverlay.mjs +93 -0
  129. package/Draggable.d.ts +0 -90
  130. package/Droppable.d.ts +0 -81
  131. package/FormComponent.d.ts +0 -167
  132. package/browser-support.service.d.ts +0 -11
  133. package/canUseDOM.d.ts +0 -8
  134. package/canUseRef.d.ts +0 -9
  135. package/classNames.d.ts +0 -8
  136. package/clone.d.ts +0 -24
  137. package/constants/index.d.ts +0 -8
  138. package/contexts/ZIndexContext.d.ts +0 -11
  139. package/drag-n-drop/context/index.d.ts +0 -23
  140. package/drag-n-drop/index.d.ts +0 -25
  141. package/events/BaseEvent.d.ts +0 -22
  142. package/events/dispatchEvent.d.ts +0 -18
  143. package/fieldList.d.ts +0 -8
  144. package/focus.d.ts +0 -8
  145. package/getActiveElement.d.ts +0 -12
  146. package/getTabIndex.d.ts +0 -8
  147. package/getter.d.ts +0 -18
  148. package/guid.d.ts +0 -8
  149. package/hasRelativeStackingContext.d.ts +0 -6
  150. package/hocs/AsyncFocusBlur.d.ts +0 -17
  151. package/hocs/use-id-hoc.d.ts +0 -7
  152. package/hocs/withPropsContext.d.ts +0 -9
  153. package/hooks/index.d.ts +0 -16
  154. package/hooks/use-id.d.ts +0 -6
  155. package/hooks/use-isomorphic-layout-effect.d.ts +0 -7
  156. package/hooks/useAsyncFocusBlur.d.ts +0 -29
  157. package/hooks/useCollection.d.ts +0 -18
  158. package/hooks/useControlledState.d.ts +0 -11
  159. package/hooks/useCustomComponent.d.ts +0 -15
  160. package/hooks/useDir.d.ts +0 -9
  161. package/hooks/useDocument.d.ts +0 -11
  162. package/hooks/useDraggable.d.ts +0 -67
  163. package/hooks/useDroppable.d.ts +0 -32
  164. package/hooks/useInheritedState.d.ts +0 -17
  165. package/hooks/useMouse.d.ts +0 -24
  166. package/hooks/usePropsContext.d.ts +0 -7
  167. package/hooks/useRtl.d.ts +0 -9
  168. package/hooks/useWindow.d.ts +0 -11
  169. package/icons/BaseIconProps.d.ts +0 -76
  170. package/icons/Icon.d.ts +0 -39
  171. package/icons/IconWrap.d.ts +0 -11
  172. package/icons/IconsContext.d.ts +0 -25
  173. package/icons/SvgIcon.d.ts +0 -75
  174. package/icons/constants.d.ts +0 -17
  175. package/icons/models/flip.d.ts +0 -15
  176. package/icons/models/size.d.ts +0 -19
  177. package/icons/models/theme-color.d.ts +0 -25
  178. package/icons/utils.d.ts +0 -21
  179. package/keys.d.ts +0 -24
  180. package/memoize.d.ts +0 -14
  181. package/models/auto-scroll-options.d.ts +0 -26
  182. package/models/index.d.ts +0 -9
  183. package/models/kendoReactComponentBaseProps.d.ts +0 -27
  184. package/models/mouse.d.ts +0 -20
  185. package/models/pointer.d.ts +0 -27
  186. package/models/touch.d.ts +0 -21
  187. package/navigation.d.ts +0 -131
  188. package/noop.d.ts +0 -8
  189. package/scrollbarWidth.d.ts +0 -12
  190. package/setter.d.ts +0 -20
  191. package/theme.d.ts +0 -12
  192. package/tree-utils/FieldsService.d.ts +0 -29
  193. package/tree-utils/SortedPublicItemIds.d.ts +0 -12
  194. package/tree-utils/itemIdUtils.d.ts +0 -64
  195. package/tree-utils/itemUtils.d.ts +0 -49
  196. package/tree-utils/misc.d.ts +0 -12
  197. package/treeDataOperations.d.ts +0 -43
  198. package/typography/Typography.d.ts +0 -39
  199. package/typography/TypographyProps.d.ts +0 -124
  200. package/typography/constants.d.ts +0 -88
  201. package/typography/models/margin.d.ts +0 -27
  202. package/validate-package.d.ts +0 -13
  203. package/watermark/WatermarkOverlay.d.ts +0 -9
package/index.mjs CHANGED
@@ -1,1815 +1,150 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
5
8
  "use client";
6
- import * as r from "react";
7
- import { validatePackage as qe } from "@progress/kendo-licensing";
8
- import * as xt from "react-dom";
9
- import g from "prop-types";
10
- import { dispatchDragAndDrop as yt, getScrollableParent as Xe, autoScroll as pt } from "@progress/kendo-draggable-common";
11
- const Ke = r.createContext(0), Pn = () => r.useContext(Ke);
12
- Ke.displayName = "KendoReactZIndexContext";
13
- const kt = () => typeof document != "undefined" ? document : {};
14
- class We {
15
- constructor() {
16
- this.scrollbar = 0;
17
- }
18
- get scrollbarWidth() {
19
- const t = kt();
20
- if (!this.scrollbar && t && t.createElement) {
21
- const n = t.createElement("div");
22
- n.style.cssText = "overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block", n.innerHTML = " ", t.body.appendChild(n), this.scrollbar = n.offsetWidth - n.scrollWidth, t.body.removeChild(n);
23
- }
24
- return this.scrollbar;
25
- }
26
- }
27
- const fe = !!// from fbjs
28
- (typeof window != "undefined" && window.document && window.document.createElement), Dt = (e) => {
29
- var t;
30
- return !!(typeof e == "function" && ((t = e.prototype) != null && t.isReactComponent));
31
- }, At = (e) => !!(e.$$typeof && typeof e.render == "function"), In = (e) => typeof Comment != "string" && (Dt(e) || At(e)), _e = (...e) => {
32
- const t = {}, n = (s) => typeof s == "object" ? Object.keys(s).forEach((l) => {
33
- t[l] = s[l];
34
- }) : t[s] = !0, o = (s) => s.filter((l) => l !== !0 && !!l).map((l) => Array.isArray(l) ? o(l) : n(l));
35
- return o(e), Object.keys(t).map((s) => t[s] && s || null).filter((s) => s !== null).join(" ");
36
- }, wt = (e) => e ? new Date(e.getTime()) : null;
37
- function On(e) {
38
- const t = {};
39
- return $e(e, t), t;
40
- }
41
- function $e(e, t) {
42
- for (let n in e)
43
- if (e.hasOwnProperty(n)) {
44
- const o = e[n];
45
- t[n] = et(o, t[n]);
46
- }
47
- }
48
- function et(e, t) {
49
- if (Array.isArray(e))
50
- return Pt(e);
51
- if (e instanceof Date)
52
- return wt(e);
53
- if (r.isValidElement(e))
54
- return r.cloneElement(e, e.props);
55
- if (e && typeof e == "object") {
56
- const n = t || {};
57
- return $e(e, n), n;
58
- } else
59
- return e;
60
- }
61
- function Pt(e) {
62
- return e.map((t) => et(t, void 0));
63
- }
64
- const Mn = (e) => {
65
- if (e) {
66
- if ((e instanceof HTMLInputElement || e.tabIndex !== -1) && e.focus) {
67
- e.focus();
68
- return;
69
- }
70
- const t = e.querySelector('input, [tabindex]:not([tabindex="-1"])');
71
- t && t.focus && t.focus();
72
- }
73
- };
74
- class Sn {
75
- }
76
- const It = -1, Ot = 0, Rn = (e, t, n) => {
77
- const o = typeof e == "string" ? parseInt(e) : e;
78
- if (!Number.isNaN(o))
79
- return o !== void 0 ? o : t ? n ? void 0 : It : Ot;
80
- }, Mt = /\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;
81
- function tt(e) {
82
- const t = [];
83
- return e.replace(Mt, function(n, o, s, l) {
84
- t.push(o !== void 0 ? o : s || l);
85
- }), t;
86
- }
87
- const z = {};
88
- z.undefined = () => {
89
- };
90
- function Ln(e) {
91
- if (z[e])
92
- return z[e];
93
- const t = tt(e);
94
- return z[e] = function(n) {
95
- let o = n;
96
- for (let s = 0; s < t.length && o; s++)
97
- o = o[t[s]];
98
- return o;
99
- }, z[e];
100
- }
101
- const Ye = () => {
102
- let e = "", t, n;
103
- for (t = 0; t < 32; t++)
104
- n = Math.random() * 16 | 0, (t === 8 || t === 12 || t === 16 || t === 20) && (e += "-"), e += (t === 12 ? 4 : t === 16 ? n & 3 | 8 : n).toString(16);
105
- return e;
106
- }, Tn = {
107
- backspace: 8,
108
- tab: 9,
109
- enter: 13,
110
- shift: 16,
111
- esc: 27,
112
- space: 32,
113
- pageUp: 33,
114
- pageDown: 34,
115
- end: 35,
116
- home: 36,
117
- left: 37,
118
- up: 38,
119
- right: 39,
120
- down: 40,
121
- delete: 46
122
- }, C = function() {
123
- }, Nn = () => !fe || !document.body ? !1 : new We().scrollbarWidth, Hn = () => {
124
- if (!fe || !document.body)
125
- return !1;
126
- let e = new We().scrollbarWidth;
127
- document.body.style.setProperty("--kendo-scrollbar-width", `${e}px`);
128
- }, F = {};
129
- F.undefined = (e) => e;
130
- const St = (e, t) => t && t.arrays && !isNaN(Number(e)) ? [] : {};
131
- function Bn(e) {
132
- if (F[e])
133
- return F[e];
134
- const t = tt(e);
135
- return F[e] = (n, o, s) => {
136
- let l = n;
137
- const c = t.length - 1;
138
- for (let i = 0; i < c && l; i++)
139
- l = l[t[i]] = l[t[i]] || St(t[i + 1], s);
140
- l[t[c]] = o;
141
- }, F[e];
142
- }
143
- function Ge(e, t, n) {
144
- return n ? { ...e, [t]: n.length ? [...n] : void 0 } : e && e[t] ? [...e[t]] : [];
145
- }
146
- function nt(e, t, n) {
147
- if (e[t]) {
148
- let o = Ge(e, t).map((s) => nt(s, t, n));
149
- return n(Ge(e, t, o));
150
- }
151
- return n(e);
152
- }
153
- const jn = (e, t, n) => [...e.map((o) => nt(o, t, n))], Qn = (e, t, n, o) => {
154
- let s = e;
155
- const l = [];
156
- for (let f = 0; f < t.length; f++)
157
- s = s[t[f]], s = Array.isArray(s) ? s : s[n], l.push(s);
158
- const c = l.length > 1 ? l[l.length - 2] : e, i = t[t.length - 1], h = o(c[i]);
159
- c.splice(i, 1, h);
160
- }, zn = (e, t, n) => Object.assign(
161
- {},
162
- e,
163
- e[t] ? { [t]: e[t].slice() } : {},
164
- n || {}
165
- ), Fn = (e, t, n) => {
166
- const o = [], s = [...t];
167
- if (s.length) {
168
- let l = e[s.shift() || 0];
169
- for (o.push(l); s.length && n; )
170
- l = l[n][s.shift() || 0], o.push(l);
171
- }
172
- return o;
173
- }, Rt = ["telerik.com", "progress.com", "stackblitz.io", "csb.app"], Xn = qe;
174
- function Yn(e) {
175
- return !Rt.some((n) => {
176
- var o;
177
- return (o = globalThis.document) == null ? void 0 : o.location.hostname.endsWith(n);
178
- }) && !qe(e);
179
- }
180
- const Gn = (e) => {
181
- if (!fe)
182
- return !1;
183
- const t = e ? e.ownerDocument : document;
184
- if (!t || !t.body)
185
- return !1;
186
- const n = 10, o = t.createElement("div");
187
- o.style.transform = "matrix(10, 0, 0, 10, 0, 0)";
188
- const s = t.createElement("div");
189
- s.appendChild(t.createTextNode("child")), s.style.position = "fixed", s.style.top = n + "px", o.appendChild(s), t.body.appendChild(o);
190
- const l = s.getBoundingClientRect().top !== n;
191
- return t.body.removeChild(o), l;
192
- }, Lt = "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-banner";
193
- let Je = !1;
194
- const Jn = () => {
195
- const [e, t] = r.useState(!0), [n, o] = r.useState(!1);
196
- r.useEffect(() => {
197
- Je || (o(!0), Je = !0);
198
- }, []);
199
- const s = () => {
200
- t(!1);
201
- }, l = /* @__PURE__ */ r.createElement(r.Fragment, null, e && /* @__PURE__ */ r.createElement("div", { style: {
202
- display: "flex",
203
- justifyContent: "center",
204
- alignItems: "center",
205
- position: "fixed",
206
- top: "16px",
207
- right: "16px",
208
- padding: "12px",
209
- borderRadius: "4px",
210
- boxShadow: "0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.03)",
211
- fontSize: "14px",
212
- fontWeight: 400,
213
- lineHeight: "20px",
214
- backgroundColor: "#FFC000",
215
- color: "#1E1E1E",
216
- zIndex: 999
217
- } }, /* @__PURE__ */ r.createElement("span", { style: { display: "flex", alignSelf: "center", marginRight: "8px" } }, /* @__PURE__ */ r.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, /* @__PURE__ */ r.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 1L0 15H16L8 1ZM7 6V11H9V6H7ZM7 14V12H9V14H7Z", fill: "#1E1E1E" }))), /* @__PURE__ */ r.createElement("span", null, "No valid license found for KendoReact. Learn how to activate your license."), /* @__PURE__ */ r.createElement("div", { style: { display: "flex", alignItems: "center", marginLeft: "24px" } }, /* @__PURE__ */ r.createElement("a", { href: Lt, style: { marginRight: "8px", display: "flex" } }, /* @__PURE__ */ r.createElement(
218
- "button",
219
- {
220
- title: "Learn More",
221
- style: {
222
- display: "inline-flex",
223
- position: "relative",
224
- border: "none",
225
- borderRadius: "4px",
226
- padding: "5px",
227
- backgroundColor: "transparent",
228
- transition: "color 0.2s ease-in-out",
229
- outline: "none",
230
- cursor: "pointer"
231
- }
232
- },
233
- /* @__PURE__ */ r.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, /* @__PURE__ */ r.createElement("path", { d: "M15 8C15 11.8656 11.8656 15 8 15C4.13437 15 1 11.8656 1 8C1 4.13437 4.13437 1 8 1C11.8656 1 15 4.13437 15 8ZM14 8C14 4.6875 11.3125 2 8 2C4.6875 2 2 4.6875 2 8C2 11.3125 4.6875 14 8 14C11.3125 14 14 11.3125 14 8ZM11 6C11 7.4125 10.2687 8.05937 9.73125 8.53125C9.25937 8.94688 9 9.17813 9 10H7C7 8.275 7.84688 7.525 8.40938 7.03125C8.84062 6.65312 9 6.50938 9 6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6H5C5 4.34375 6.34375 3 8 3C9.65625 3 11 4.34375 11 6ZM9 13V11H7V13H9Z", fill: "#1E1E1E" }))
234
- )), /* @__PURE__ */ r.createElement(
235
- "button",
236
- {
237
- title: "Close",
238
- style: {
239
- display: "inline-flex",
240
- position: "relative",
241
- border: "none",
242
- borderRadius: "4px",
243
- padding: "5px",
244
- backgroundColor: "transparent",
245
- transition: "color 0.2s ease-in-out",
246
- outline: "none",
247
- cursor: "pointer"
248
- },
249
- onClick: s
250
- },
251
- /* @__PURE__ */ r.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, /* @__PURE__ */ r.createElement("path", { d: "M13 4.41562L9.41563 8L13 11.5844L11.5844 13L8 9.41563L4.41562 13L3 11.5844L6.58437 8L3 4.41562L4.41562 3L8 6.58437L11.5844 3L13 4.41562Z", fill: "#1E1E1E" }))
252
- ))));
253
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
254
- "div",
255
- {
256
- style: {
257
- position: "absolute",
258
- width: "100%",
259
- height: "100%",
260
- top: 0,
261
- left: 0,
262
- right: 0,
263
- bottom: 0,
264
- opacity: 0.12,
265
- zIndex: 101,
266
- pointerEvents: "none",
267
- backgroundImage: "url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAA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dfsLJyADQf17IkbjNzgIwoOUK27p8Sv58Nl6vf1qJ6DL/kE7+VD/jonZ+A0OgvB8wAngbH8UN/ZQ/45IwfgNDoLwvOUEtLw3qr6N1D8wiOimYvxGwyAYC2lFkxNAjCCGmf8Q6h8QRHeR7knF+A0bBJqqmgr5NO6gGYc5gTYHe/qC+gfC7bv3jCUx3K5ibepYmPJp3BvNXNyut+M0xpn/EOpPyBG4AM1cCCEJkmLMhxASiKenp3saf4Fg2Vc9FsjpSuZo3hr/115r1lMAe+bNZrPO2fip/wH+nq9iKZkD8ZknLhfq79EQ8MneK7JYpGyov5JShV9oOAjKvnSjeP1LNn6j5EHgWl7akgPF6k/j31PiIGCef09x+jPP+5qSBgGd/2uKcgIHEdCJkBp/EOSaCaHxv00J+tdoDnRJ8V+jtePLHGshaPzvk7P+pGC47SOkYCqDn6FvH42fkAJxuyPdaN01FlIGbnc/37TkFE8o3L4nAmvHCyQ5/S3gw24oYXAvuyKxbLgwktK/xNr+rsFqKpU8sa78Zlz5hSMZ/Znq6Y4UikVMf72oYyYkGNHrT+PvnpgHAVd+3ROt/jT+/ohxEFD//ohOf4rfPzENAurfP1E5AVzPRPH7xx8EuJ1WBoDGPxyH+ruhjlTjbnR9AxMhvYLPHA4YGkjPIMpP4x+WIfUnhYMZx2voMRFCSFlohVqR3XwIIaQc3O5OtrGQJFC9RkKKRCsyRxICi/YuFgvs986ERA3Eh1ahUkT4GQg0Vc9XQqInqP6ODRyTA046VJ7Y1x/XdgmJnmD6M8+bLiGKRVjemy6t9WeeN30aBsGHI/bUP33a6M88bybYIPjs9o3658Gx+tuLmefNgGN1pP55QB0JIYQQQgghhBBCCJGy+T9ftRg+rVNPfAAAAABJRU5ErkJggg==')"
268
- }
269
- }
270
- ), n && xt.createPortal(l, document.body));
271
- };
272
- function Un(e, t, n, o) {
273
- if (e) {
274
- const s = {
275
- syntheticEvent: t,
276
- nativeEvent: t.nativeEvent,
277
- target: n
278
- };
279
- e.call(void 0, Object.assign(s, o));
280
- }
281
- }
282
- function Tt({ onFocus: e, onBlur: t, onSyncFocus: n, onSyncBlur: o }) {
283
- const s = r.useRef(!1), l = r.useRef(0), c = r.useCallback(
284
- (f) => {
285
- clearTimeout(l.current), l.current = window.setTimeout(() => f());
286
- },
287
- [l]
288
- ), i = r.useCallback(
289
- (...f) => {
290
- clearTimeout(l.current), n && n.call(void 0, f[0]), !s.current && (s.current = !0, e && e.call(void 0, ...f));
291
- },
292
- [s, e, n]
293
- ), h = r.useCallback(
294
- (...f) => {
295
- o && o.call(void 0, f[0]), c(() => {
296
- s.current && t && (s.current = !1, t.call(void 0, ...f));
297
- });
298
- },
299
- [s, c, t, o]
300
- );
301
- return r.useEffect(() => () => {
302
- clearTimeout(l.current);
303
- }, []), {
304
- onFocus: i,
305
- onBlur: h
306
- };
307
- }
308
- const Zn = ({
309
- children: e,
310
- onFocus: t,
311
- onBlur: n,
312
- onSyncFocus: o,
313
- onSyncBlur: s
314
- }) => {
315
- const l = Tt({ onFocus: t, onBlur: n, onSyncFocus: o, onSyncBlur: s });
316
- return /* @__PURE__ */ r.createElement(r.Fragment, null, e.call(void 0, { ...l }));
317
- }, Nt = (e, t) => r.useContext(e)(t), Vn = () => r.createContext((e) => e), qn = (e, t) => r.forwardRef((n, o) => {
318
- const s = Nt(e, n);
319
- return /* @__PURE__ */ r.createElement(t, { ...s, ref: o });
320
- }), he = typeof window != "undefined" ? r.useLayoutEffect : r.useEffect;
321
- function Ht(e) {
322
- const [t, n] = r.useState(!1);
323
- r.useEffect(() => {
324
- n(!0);
325
- }, []);
326
- const [o, s] = r.useState(() => {
327
- if (e)
328
- return e;
329
- if (t)
330
- return Ye();
331
- });
332
- he(() => {
333
- o === void 0 && s(Ye());
334
- }, []);
335
- const l = r["useId".toString()];
336
- if (l !== void 0) {
337
- const c = l();
338
- return e != null ? e : c;
339
- }
340
- return o;
341
- }
342
- const Kn = (e) => r.forwardRef((t, n) => {
343
- const o = Ht(t.id);
344
- return /* @__PURE__ */ r.createElement(e, { ...t, id: o, ref: n });
345
- });
346
- function Wn(e, t, n) {
347
- const [o, s] = r.useState(t);
348
- return r.useEffect(
349
- () => {
350
- if (!o && window && e.current) {
351
- const l = window.getComputedStyle(e.current).direction;
352
- l && s(l);
353
- }
354
- },
355
- n
356
- ), o;
357
- }
358
- function _n(e, t, n) {
359
- const [o, s] = r.useState(t);
360
- return r.useEffect(
361
- () => {
362
- if (!o && window && e.current) {
363
- const l = window.getComputedStyle(e.current).direction;
364
- l && s(l);
365
- }
366
- },
367
- n
368
- ), o;
369
- }
370
- const Bt = (e, t, n = {}) => {
371
- const o = r.useCallback(
372
- (u) => {
373
- n.onMouseDown && n.onMouseDown.call(void 0, u), e.onMouseDown && e.onMouseDown.call(void 0, {
374
- target: t.current,
375
- syntheticEvent: u
376
- });
377
- },
378
- [n.onMouseDown, e.onMouseDown, t]
379
- ), s = r.useCallback(
380
- (u) => {
381
- n.onMouseUp && n.onMouseUp.call(void 0, u), e.onMouseUp && e.onMouseUp.call(void 0, {
382
- target: t.current,
383
- syntheticEvent: u
384
- });
385
- },
386
- [n.onMouseUp, e.onMouseUp, t]
387
- ), l = r.useCallback(
388
- (u) => {
389
- n.onClick && n.onClick.call(void 0, u), e.onClick && e.onClick.call(void 0, {
390
- target: t.current,
391
- syntheticEvent: u
392
- });
393
- },
394
- [n.onClick, e.onClick, t]
395
- ), c = r.useCallback(
396
- (u) => {
397
- n.onDoubleClick && n.onDoubleClick.call(void 0, u), e.onDoubleClick && e.onDoubleClick.call(void 0, {
398
- target: t.current,
399
- syntheticEvent: u
400
- });
401
- },
402
- [n.onDoubleClick, e.onDoubleClick, t]
403
- ), i = r.useCallback(
404
- (u) => {
405
- n.onMouseEnter && n.onMouseEnter.call(void 0, u), e.onMouseEnter && e.onMouseEnter.call(void 0, {
406
- target: t.current,
407
- syntheticEvent: u
408
- });
409
- },
410
- [n.onMouseEnter, e.onMouseEnter, t]
411
- ), h = r.useCallback(
412
- (u) => {
413
- n.onMouseLeave && n.onMouseLeave.call(void 0, u), e.onMouseLeave && e.onMouseLeave.call(void 0, {
414
- target: t.current,
415
- syntheticEvent: u
416
- });
417
- },
418
- [n.onMouseLeave, e.onMouseLeave, t]
419
- ), f = r.useCallback(
420
- (u) => {
421
- n.onMouseMove && n.onMouseMove.call(void 0, u), e.onMouseMove && e.onMouseMove.call(void 0, {
422
- target: t.current,
423
- syntheticEvent: u
424
- });
425
- },
426
- [n.onMouseMove, e.onMouseMove, t]
427
- ), d = r.useCallback(
428
- (u) => {
429
- n.onMouseOut && n.onMouseOut.call(void 0, u), e.onMouseOut && e.onMouseOut.call(void 0, {
430
- target: t.current,
431
- syntheticEvent: u
432
- });
433
- },
434
- [n.onMouseOut, e.onMouseOut, t]
435
- ), m = r.useCallback(
436
- (u) => {
437
- n.onMouseOver && n.onMouseOver.call(void 0, u), e.onMouseOver && e.onMouseOver.call(void 0, {
438
- target: t.current,
439
- syntheticEvent: u
440
- });
441
- },
442
- [n.onMouseOver, e.onMouseOver, t]
443
- );
444
- return {
445
- onClick: l,
446
- onMouseUp: s,
447
- onMouseDown: o,
448
- onDoubleClick: c,
449
- onMouseEnter: i,
450
- onMouseLeave: h,
451
- onMouseMove: f,
452
- onMouseOut: d,
453
- onMouseOver: m
454
- };
455
- }, jt = () => null, Qt = ({ children: e }) => e, $n = (e) => {
456
- if (e) {
457
- if (e === r.Fragment)
458
- return [Qt, {}];
459
- if (r.isValidElement(e))
460
- return [e.type, e.props];
461
- } else
462
- return [jt, {}];
463
- return [e, {}];
464
- };
465
- var X = /* @__PURE__ */ ((e) => (e[e.add = 0] = "add", e[e.remove = 1] = "remove", e))(X || {});
466
- const Ue = (e = []) => {
467
- const t = r.useRef(e), n = r.useCallback(
468
- (o) => {
469
- switch (o.type) {
470
- case 0:
471
- t.current.push(o.item);
472
- break;
473
- case 1: {
474
- const s = t.current.indexOf(o.item);
475
- t.current.splice(s, 1);
476
- break;
477
- }
478
- }
479
- },
480
- []
481
- );
482
- return [t.current, n];
483
- }, zt = (e) => {
484
- const t = r.useCallback(
485
- () => e.current && e.current.element ? e.current.element : e.current,
486
- [e]
487
- );
488
- return r.useCallback(() => {
489
- const o = t();
490
- return o && o.ownerDocument || document;
491
- }, [t]);
492
- }, er = (e) => {
493
- const t = zt(e);
494
- return r.useCallback(() => {
495
- const o = t();
496
- return o && o.defaultView || window;
497
- }, [t]);
498
- }, rt = {
499
- default: "",
500
- xsmall: "k-icon-xs",
501
- small: "k-icon-sm",
502
- medium: "k-icon-md",
503
- large: "k-icon-lg",
504
- xlarge: "k-icon-xl",
505
- xxlarge: "k-icon-xxl",
506
- xxxlarge: "k-icon-xxxl"
507
- }, tr = (e) => e.replace(/^k-i-/, ""), Ft = (e) => "k-i-" + e, nr = g.shape({
508
- name: g.string.isRequired,
509
- content: g.string.isRequired,
510
- viewBox: g.string.isRequired
511
- }), ue = (e, t) => {
512
- const [n, o] = r.useContext(e), [s, l] = r.useState(t);
513
- return [
514
- n !== void 0 ? n : s,
515
- (...h) => {
516
- n !== void 0 ? o(...h) : l(h[0]);
517
- }
518
- ];
519
- }, ot = r.createContext([
520
- void 0,
521
- C
522
- ]), ge = r.createContext([
523
- void 0,
524
- C
525
- ]), st = r.createContext([[], C, C]), me = r.createContext([[], C, C]), Xt = 2e3;
526
- function Yt(e, t, n = {}) {
527
- const {
528
- onPress: o = C,
529
- onRelease: s = C,
530
- onDragStart: l = C,
531
- onDrag: c = C,
532
- onDragEnd: i = C
533
- } = t, {
534
- hint: h = null,
535
- mouseOnly: f = !1,
536
- autoScroll: d = !0,
537
- scrollContainer: m = null
538
- } = n, [u, x] = r.useState(!1), [y, w] = r.useState(!1), [E] = ue(ge), [R, M] = ue(ot), [T] = r.useContext(me), [I, P, O] = r.useContext(st), p = r.useRef({ x: 0, y: 0 }), q = r.useRef(), K = r.useRef(!1), ye = r.useRef(), j = r.useRef(null), W = r.useRef(!1), pe = r.useRef({ x: 0, y: 0 }), ke = r.useRef({ x: 0, y: 0 }), U = r.useRef({ x: 0, y: 0 }), De = r.useRef({ x: 0, y: 0 }), Ae = r.useRef({ x: 0, y: 0 }), we = r.useRef({ x: 0, y: 0 }), ft = !!(typeof window != "undefined" && window.PointerEvent), Pe = !f && ft, L = r.useCallback(
539
- () => e.current && e.current.element ? e.current.element : e.current,
540
- [e]
541
- ), ht = r.useCallback(
542
- () => h && h.current && h.current.element ? h.current.element : h ? h.current : null,
543
- [h]
544
- ), Ie = r.useCallback(
545
- () => m && m.current && m.current.element ? m.current.element : m ? m.current : null,
546
- [m]
547
- ), Oe = r.useCallback(
548
- () => typeof d == "object" && d.boundaryElementRef && d.boundaryElementRef.current && d.boundaryElementRef.current.element ? d.boundaryElementRef.current.element : typeof d == "object" && d.boundaryElementRef && d.boundaryElementRef.current ? d.boundaryElementRef.current : null,
549
- [d]
550
- ), Q = r.useRef(null);
551
- r.useImperativeHandle(Q, () => ({
552
- element: L(),
553
- hint: ht(),
554
- onPress: gt,
555
- onDragStart: vt,
556
- onDrag: Ct,
557
- onDragEnd: Et,
558
- onRelease: mt,
559
- data: e.current
560
- }));
561
- const Z = r.useCallback(
562
- () => {
563
- const a = L();
564
- return a && a.ownerDocument || document;
565
- },
566
- [L]
567
- ), N = r.useCallback(
568
- () => {
569
- const a = Z();
570
- return a && a.defaultView || window;
571
- },
572
- [Z]
573
- ), Me = r.useCallback(
574
- () => ({
575
- drag: R ? R.current : null,
576
- drop: E ? E.current : null,
577
- drags: I.map((a) => a.current),
578
- drops: T.map((a) => a.current),
579
- pressed: u,
580
- ignoreMouse: K.current,
581
- scrollOffset: Ae.current,
582
- offset: pe.current,
583
- pageOffset: ke.current,
584
- initialScrollOffset: we.current,
585
- clientOffset: U.current,
586
- initialClientOffset: De.current,
587
- velocity: p.current,
588
- autoScroll: !!(typeof d == "object" ? d.enabled !== !1 : d),
589
- scrollableParent: Oe(),
590
- autoScrollDirection: typeof d == "object" ? d.direction : { horizontal: !0, vertical: !0 },
591
- isScrolling: y
592
- }),
593
- [R, E, I, T, u, d, Oe, y]
594
- ), Se = r.useCallback(
595
- (a) => {
596
- x(a);
597
- },
598
- []
599
- ), Re = r.useCallback(
600
- (a) => {
601
- w(a);
602
- },
603
- []
604
- ), Le = r.useCallback(
605
- (a) => {
606
- p.current = a;
607
- },
608
- []
609
- ), Te = r.useCallback(
610
- (a) => {
611
- pe.current = a;
612
- },
613
- []
614
- ), Ne = r.useCallback(
615
- (a) => {
616
- U.current = a;
617
- },
618
- []
619
- ), He = r.useCallback(
620
- (a) => {
621
- ke.current = a;
622
- },
623
- []
624
- ), Be = r.useCallback(
625
- (a) => {
626
- De.current = a;
627
- },
628
- []
629
- ), je = r.useCallback(
630
- (a) => {
631
- Ae.current = a;
632
- },
633
- []
634
- ), Qe = r.useCallback(
635
- (a) => {
636
- we.current = a;
637
- },
638
- []
639
- ), gt = r.useCallback(
640
- (a) => {
641
- o(a);
642
- },
643
- [o]
644
- ), mt = r.useCallback(
645
- (a) => {
646
- s(a);
647
- },
648
- [s]
649
- ), vt = r.useCallback(
650
- (a) => {
651
- M(Q, { target: e.current, event: a }), l(a);
652
- },
653
- [M, e, l]
654
- ), Ct = r.useCallback(
655
- (a) => {
656
- c(a);
657
- },
658
- [c]
659
- ), Et = r.useCallback(
660
- (a) => {
661
- W.current || (M(null, { target: e.current, event: a }), i(a));
662
- },
663
- [i, M, e]
664
- ), v = r.useCallback(
665
- (a) => {
666
- yt(
667
- Me(),
668
- { event: a, payload: Q.current },
669
- {
670
- onVelocityChange: Le,
671
- onOffsetChange: Te,
672
- onClientOffsetChange: Ne,
673
- onPageOffsetChange: He,
674
- onInitialClientOffsetChange: Be,
675
- onScrollOffsetChange: je,
676
- onInitialScrollOffsetChange: Qe,
677
- onIsPressedChange: Se,
678
- onIsScrollingChange: Re
679
- }
680
- );
681
- },
682
- [
683
- Me,
684
- Le,
685
- Te,
686
- He,
687
- Ne,
688
- Be,
689
- Qe,
690
- Se,
691
- je,
692
- Re
693
- ]
694
- ), _ = r.useCallback(
695
- (a) => {
696
- v(a);
697
- },
698
- [v]
699
- ), $ = r.useCallback(
700
- (a) => {
701
- v(a);
702
- },
703
- [v]
704
- ), ee = r.useCallback(
705
- (a) => {
706
- v(a);
707
- },
708
- [v]
709
- ), te = r.useCallback(
710
- (a) => {
711
- v(a);
712
- },
713
- [v]
714
- ), ne = r.useCallback(
715
- (a) => {
716
- v(a);
717
- },
718
- [v]
719
- ), re = r.useCallback(
720
- (a) => {
721
- v(a);
722
- },
723
- [v]
724
- ), oe = r.useCallback(
725
- (a) => {
726
- v(a);
727
- },
728
- [v]
729
- ), se = r.useCallback(
730
- (a) => {
731
- a.preventDefault(), v(a);
732
- },
733
- [v]
734
- ), le = r.useCallback(
735
- (a) => {
736
- a.preventDefault(), v(a);
737
- },
738
- [v]
739
- ), ce = r.useCallback(
740
- (a) => {
741
- a.preventDefault(), v(a);
742
- },
743
- [v]
744
- ), ae = r.useCallback(
745
- (a) => {
746
- if (a.touches.length === 0 && a.changedTouches.length === 1) {
747
- const b = N();
748
- K.current = !0, ye.current = b.setTimeout(() => {
749
- K.current = !1;
750
- }, Xt);
751
- }
752
- v(a);
753
- },
754
- [v, N]
755
- ), ie = r.useCallback(
756
- (a) => {
757
- v(a);
758
- },
759
- [v]
760
- ), ze = r.useCallback(
761
- () => {
762
- const a = L();
763
- if (a) {
764
- const b = a.style.touchAction;
765
- return a.style.touchAction = "none", () => {
766
- a.style.touchAction = b;
767
- };
768
- }
769
- },
770
- [L]
771
- ), Fe = r.useCallback(
772
- () => (P(Q), () => {
773
- O(Q);
774
- }),
775
- [O, P]
776
- ), bt = () => {
777
- const a = N(), b = L(), D = Z();
778
- return Pe ? (b && (j.current = Xe(b), j.current && j.current.addEventListener("scroll", ie, { passive: !0 }), b.addEventListener("pointerdown", _, { passive: !0 })), u && (D.addEventListener("pointermove", $), D.addEventListener("pointerup", te, !0), D.addEventListener("contextmenu", se), D.addEventListener("pointercancel", ee, { passive: !0 }))) : (a.addEventListener("touchmove", C, { capture: !1, passive: !1 }), b && (b.addEventListener("mousedown", ne, { passive: !0 }), f || (b.addEventListener("touchstart", le, { passive: !0 }), u && (b.addEventListener("touchmove", ce, { passive: !0 }), b.addEventListener("touchend", ae, { passive: !0 })))), u && (D.addEventListener("mousemove", re, { passive: !0 }), D.addEventListener("mouseup", oe, { passive: !0 }))), () => {
779
- j.current && j.current.removeEventListener("scroll", ie), b && (b.removeEventListener("pointerdown", _), b.removeEventListener("mousedown", ne), b.removeEventListener("touchstart", le), b.removeEventListener("touchmove", ce), b.removeEventListener("touchend", ae)), D.removeEventListener("pointermove", $), D.removeEventListener("pointerup", te, !0), D.removeEventListener("contextmenu", se), D.removeEventListener("pointercancel", ee), D.removeEventListener("mousemove", re), D.removeEventListener("mouseup", oe), a.removeEventListener("touchmove", C), a.clearTimeout(ye.current);
780
- };
781
- };
782
- r.useEffect(() => {
783
- const a = N();
784
- if (y) {
785
- const b = Ie() || Xe(document.elementFromPoint(U.current.x, U.current.y));
786
- a.clearInterval(q.current), q.current = a.setInterval(() => {
787
- pt(b, { x: p.current.x, y: p.current.y });
788
- }, 50);
789
- }
790
- return () => {
791
- a.clearInterval(q.current);
792
- };
793
- }, [L, Ie, N, y]), r.useEffect(ze, [ze]), r.useEffect(bt, [
794
- u,
795
- N,
796
- L,
797
- Z,
798
- f,
799
- Pe,
800
- se,
801
- ne,
802
- re,
803
- oe,
804
- ee,
805
- _,
806
- $,
807
- te,
808
- ae,
809
- ce,
810
- le,
811
- ie
812
- ]), r.useEffect(() => (W.current = !1, () => {
813
- W.current = !0;
814
- }), []), he(Fe, [Fe]);
815
- }
816
- function Gt(e, t = {
817
- onDragEnter: C,
818
- onDragOver: C,
819
- onDragLeave: C,
820
- onDrop: C
821
- }) {
822
- const {
823
- onDragEnter: n = C,
824
- onDragOver: o = C,
825
- onDragLeave: s = C,
826
- onDrop: l = C
827
- } = t, [, c] = ue(ge), [, i, h] = r.useContext(me), f = r.useCallback(
828
- () => e.current && e.current.element ? e.current.element : e.current,
829
- [e]
830
- ), d = r.useRef(null);
831
- r.useImperativeHandle(d, () => ({
832
- element: f(),
833
- onDragEnter: m,
834
- onDragOver: u,
835
- onDragLeave: x,
836
- onDrop: y,
837
- data: e.current
838
- }));
839
- const m = r.useCallback(
840
- (E) => {
841
- c(d, { target: e.current, event: E }), n(E);
842
- },
843
- [c, e, n]
844
- ), u = r.useCallback(
845
- (E) => {
846
- o(E);
847
- },
848
- [o]
849
- ), x = r.useCallback(
850
- (E) => {
851
- c(null, { target: e.current, event: E }), s(E);
852
- },
853
- [c, e, s]
854
- ), y = r.useCallback(
855
- (E) => {
856
- c(null, { target: e.current, event: E }), l(E);
857
- },
858
- [c, e, l]
859
- ), w = r.useCallback(
860
- () => (i(d), () => {
861
- h(d);
862
- }),
863
- [h, i]
864
- );
865
- he(w, [w]);
866
- }
867
- const Ze = (e, t, n) => {
868
- const [o, s] = r.useState(t || e), l = r.useCallback(
869
- (c, i) => {
870
- s(c), n && n.call(void 0, { ...i, value: c });
871
- },
872
- [n, s]
873
- );
874
- return [t !== void 0 ? t : o, l];
875
- }, ve = r.forwardRef((e, t) => {
876
- const {
877
- className: n,
878
- name: o,
879
- themeColor: s,
880
- size: l,
881
- flip: c,
882
- style: i,
883
- id: h,
884
- tabIndex: f,
885
- ...d
886
- } = e, m = r.useRef(null), u = r.useRef(null);
887
- r.useImperativeHandle(m, () => ({
888
- element: u.current
889
- })), r.useImperativeHandle(t, () => m.current);
890
- const x = r.useMemo(
891
- () => l || Ve.size,
892
- [l]
893
- ), y = r.useMemo(
894
- () => c || Ve.flip,
895
- [c]
896
- ), w = r.useMemo(
897
- () => _e(
898
- "k-icon",
899
- "k-font-icon",
900
- o && Ft(o),
901
- {
902
- [`k-color-${s}`]: s,
903
- "k-flip-h": y === "horizontal" || y === "both",
904
- "k-flip-v": y === "vertical" || y === "both"
905
- },
906
- rt[x],
907
- n
908
- ),
909
- [o, s, x, y, n]
910
- ), E = Bt(e, m);
911
- return /* @__PURE__ */ r.createElement(
912
- "span",
913
- {
914
- ref: u,
915
- ...d,
916
- ...E,
917
- className: w,
918
- id: h,
919
- tabIndex: f,
920
- style: i,
921
- role: "presentation"
922
- }
923
- );
924
- });
925
- ve.propTypes = {
926
- style: g.object,
927
- classNames: g.string,
928
- name: g.string,
929
- themeColor: g.oneOf([
930
- "inherit",
931
- "primary",
932
- "secondary",
933
- "tertiary",
934
- "info",
935
- "success",
936
- "error",
937
- "warning",
938
- "dark",
939
- "light",
940
- "inverse"
941
- ]),
942
- size: g.oneOf(["default", "xsmall", "small", "medium", "large", "xlarge", "xxlarge", "xxxlarge"]),
943
- flip: g.oneOf(["default", "horizontal", "vertical", "both"])
944
- };
945
- const Ve = {
946
- size: "default",
947
- flip: "default"
948
- };
949
- ve.displayName = "KendoIcon";
950
- const Ce = r.forwardRef((e, t) => {
951
- const {
952
- children: n,
953
- className: o,
954
- svgClassName: s,
955
- icon: l,
956
- flip: c,
957
- id: i,
958
- tabIndex: h,
959
- size: f,
960
- style: d,
961
- svgStyle: m,
962
- themeColor: u,
963
- viewBox: x,
964
- name: y,
965
- onClick: w,
966
- ...E
967
- } = e, R = r.useRef(null);
968
- r.useImperativeHandle(
969
- t,
970
- () => ({
971
- element: R.current
972
- })
973
- );
974
- const M = r.useMemo(
975
- () => l ? l.name : V.icon,
976
- [l]
977
- ), T = r.useMemo(
978
- () => f || V.size,
979
- [f]
980
- ), I = r.useMemo(
981
- () => c || V.flip,
982
- [c]
983
- ), P = r.useMemo(
984
- () => x || V.viewBox,
985
- [x]
986
- ), O = r.useMemo(
987
- () => _e(
988
- "k-icon",
989
- "k-svg-icon",
990
- "k-svg-i-" + M,
991
- {
992
- [`k-color-${u}`]: u,
993
- "k-flip-h": I === "horizontal" || I === "both",
994
- "k-flip-v": I === "vertical" || I === "both"
995
- },
996
- rt[T],
997
- o
998
- ),
999
- [M, u, T, I, o]
1000
- ), p = r.useMemo(
1001
- () => e.width && e.height ? { width: e.width, height: e.height, ...d } : e.width ? { width: e.width, height: e.width, ...d } : e.height ? { width: e.height, height: e.height, ...d } : { ...d },
1002
- [e.width, e.height, d]
1003
- );
1004
- return /* @__PURE__ */ r.createElement(
1005
- "span",
1006
- {
1007
- className: O,
1008
- style: p,
1009
- ref: R,
1010
- onClick: w,
1011
- "aria-hidden": !0
1012
- },
1013
- /* @__PURE__ */ r.createElement(
1014
- "svg",
1015
- {
1016
- id: i,
1017
- className: s,
1018
- style: m,
1019
- "aria-hidden": !0,
1020
- tabIndex: h,
1021
- focusable: !1,
1022
- xmlns: "http://www.w3.org/2000/svg",
1023
- viewBox: l ? l.viewBox : P,
1024
- dangerouslySetInnerHTML: l ? { __html: l.content } : void 0,
1025
- ...E
1026
- },
1027
- l ? void 0 : n
1028
- )
1029
- );
1030
- });
1031
- Ce.propTypes = {
1032
- style: g.object,
1033
- classNames: g.string,
1034
- children: g.any,
1035
- icon: g.object,
1036
- themeColor: g.oneOf([
1037
- "inherit",
1038
- "primary",
1039
- "secondary",
1040
- "tertiary",
1041
- "info",
1042
- "success",
1043
- "error",
1044
- "warning",
1045
- "dark",
1046
- "light",
1047
- "inverse"
1048
- ]),
1049
- size: g.oneOf(["default", "xsmall", "small", "medium", "large", "xlarge", "xxlarge", "xxxlarge"]),
1050
- flip: g.oneOf(["default", "horizontal", "vertical", "both"])
1051
- };
1052
- const V = {
1053
- size: "default",
1054
- flip: "default",
1055
- icon: "",
1056
- viewBox: "0 0 24 24"
1057
- };
1058
- Ce.displayName = "KendoSvgIcon";
1059
- const lt = r.createContext({ type: "svg" });
1060
- lt.displayName = "KendoReactIconsContext";
1061
- const Jt = r.forwardRef((e, t) => {
1062
- var h, f;
1063
- const { type: n, icons: o } = r.useContext(lt), { icon: s, ...l } = e;
1064
- let c = n === "svg" ? ((h = e.icon) == null ? void 0 : h.name) || e.name : e.name || ((f = e.icon) == null ? void 0 : f.name);
1065
- c = c && o && o[c] && typeof o[c] == "string" ? o[c] : c;
1066
- const i = c && o && o[c] && typeof o[c] != "string" ? o[c] : s;
1067
- return n === "svg" && i ? /* @__PURE__ */ r.createElement(Ce, { ...e, icon: i, ref: t }) : /* @__PURE__ */ r.createElement(ve, { ...l, name: c, ref: t });
1068
- });
1069
- Jt.displayName = "KendoIconWrap";
1070
- const Ut = {
1071
- xsmall: "k-fs-xs",
1072
- small: "k-fs-sm",
1073
- medium: "k-fs-md",
1074
- large: "k-fs-lg",
1075
- xlarge: "k-fs-xl"
1076
- }, Zt = {
1077
- light: "k-font-weight-light",
1078
- normal: "k-font-weight-normal",
1079
- bold: "k-font-weight-bold"
1080
- }, Vt = {
1081
- xsmall: "k-m-xs",
1082
- small: "k-m-sm",
1083
- medium: "k-m-md",
1084
- large: "k-m-lg",
1085
- xlarge: "k-m-xl",
1086
- thin: "k-m-thin",
1087
- hair: "k-m-hair"
1088
- }, qt = {
1089
- xsmall: "xs",
1090
- small: "sm",
1091
- medium: "md",
1092
- large: "lg",
1093
- xlarge: "xl",
1094
- thin: "thin",
1095
- hair: "hair"
1096
- }, Kt = {
1097
- top: "k-mt-",
1098
- right: "k-mr-",
1099
- bottom: "k-mb-",
1100
- left: "k-ml-"
1101
- }, Wt = {
1102
- left: "k-text-left",
1103
- right: "k-text-right",
1104
- center: "k-text-center",
1105
- justify: "k-text-justify"
1106
- }, _t = {
1107
- lowercase: "k-text-lowercase",
1108
- uppercase: "k-text-uppercase",
1109
- capitalize: "k-text-capitalize"
1110
- }, $t = {
1111
- inherit: "k-color-inherit",
1112
- primary: "k-color-primary",
1113
- secondary: "k-color-secondary",
1114
- tertiary: "k-color-tertiary",
1115
- info: "k-color-info",
1116
- success: "k-color-success",
1117
- warning: "k-color-warning",
1118
- error: "k-color-error",
1119
- dark: "k-color-dark",
1120
- light: "k-color-light",
1121
- inverse: "k-color-inverse"
1122
- }, S = (e) => {
1123
- const t = r.forwardRef((n, o) => {
1124
- const {
1125
- id: s,
1126
- style: l,
1127
- className: c,
1128
- fontSize: i,
1129
- fontWeight: h,
1130
- textAlign: f,
1131
- textTransform: d,
1132
- themeColor: m,
1133
- margin: u,
1134
- ...x
1135
- } = n, y = r.useRef(null), w = r.useRef(null);
1136
- r.useImperativeHandle(
1137
- y,
1138
- () => ({
1139
- element: w.current,
1140
- props: n
1141
- })
1142
- ), r.useImperativeHandle(o, () => y.current);
1143
- const E = () => `k-${e === "p" ? "paragraph" : e}`, R = e, M = (P, O) => {
1144
- const p = typeof O == "string" ? qt[O] : O;
1145
- return `${Kt[P]}${p}`;
1146
- }, T = () => {
1147
- if (u !== void 0) {
1148
- if (typeof u == "string")
1149
- return [Vt[u]];
1150
- if (typeof u == "number" && u >= 0 && u <= 24)
1151
- return [`k-m-${u}`];
1152
- if (typeof u == "object") {
1153
- const P = [];
1154
- return Object.keys(u).forEach((p) => {
1155
- u[p] !== null && u[p] !== void 0 && P.push(M(p, u[p]));
1156
- }), P.join(" ");
1157
- }
1158
- }
1159
- }, I = () => [
1160
- E(),
1161
- Ut[i],
1162
- Zt[h],
1163
- Wt[f],
1164
- _t[d],
1165
- $t[m],
1166
- T(),
1167
- c
1168
- ].filter((p) => p !== void 0).join(" ");
1169
- return /* @__PURE__ */ r.createElement(
1170
- R,
1171
- {
1172
- id: s,
1173
- ref: w,
1174
- className: I(),
1175
- style: l,
1176
- ...x
1177
- },
1178
- n.children
1179
- );
1180
- });
1181
- return t.propTypes = {
1182
- style: g.object,
1183
- className: g.string,
1184
- fontSize: g.oneOf(["xsmall", "small", "medium", "large", "xlarge"]),
1185
- fontWeight: g.oneOf(["light", "normal", "bold"]),
1186
- margin: g.oneOfType([
1187
- g.number,
1188
- g.object,
1189
- g.oneOf(["xsmall", "small", "medium", "large", "xlarge", "thin", "hair"])
1190
- ]),
1191
- textAlign: g.oneOf(["left", "right", "center", "justify"]),
1192
- textTransform: g.oneOf(["lowercase", "uppercase", "capitalize"]),
1193
- themeColor: g.oneOf([
1194
- "inherit",
1195
- "primary",
1196
- "secondary",
1197
- "tertiary",
1198
- "info",
1199
- "success",
1200
- "error",
1201
- "warning",
1202
- "dark",
1203
- "light",
1204
- "inverse"
1205
- ])
1206
- }, t.displayName = `KendoReactTypography${e.toUpperCase()}`, t;
1207
- }, en = S("h1"), tn = S("h2"), nn = S("h3"), rn = S("h4"), on = S("h5"), sn = S("h6"), ln = S("p"), cn = S("code"), an = S("pre"), rr = {
1208
- h1: en,
1209
- h2: tn,
1210
- h3: nn,
1211
- h4: rn,
1212
- h5: on,
1213
- h6: sn,
1214
- p: ln,
1215
- code: cn,
1216
- pre: an
1217
- }, un = (e) => {
1218
- const [t, n] = Ze(
1219
- null,
1220
- void 0
1221
- ), [o, s] = Ze(
1222
- null,
1223
- void 0
1224
- ), [l, c] = Ue([]), [i, h] = Ue([]), f = (x) => {
1225
- c({
1226
- type: X.add,
1227
- item: x
1228
- });
1229
- }, d = (x) => {
1230
- c({
1231
- type: X.remove,
1232
- item: x
1233
- });
1234
- }, m = (x) => {
1235
- h({
1236
- type: X.add,
1237
- item: x
1238
- });
1239
- }, u = (x) => {
1240
- h({
1241
- type: X.remove,
1242
- item: x
1243
- });
1244
- };
1245
- return /* @__PURE__ */ r.createElement(ot.Provider, { value: [t, n] }, /* @__PURE__ */ r.createElement(ge.Provider, { value: [o, s] }, /* @__PURE__ */ r.createElement(st.Provider, { value: [l, f, d] }, /* @__PURE__ */ r.createElement(me.Provider, { value: [i, m, u] }, e.children))));
1246
- };
1247
- un.displayName = "KendoReactDragAndDrop";
1248
- const dn = r.forwardRef((e, t) => {
1249
- const n = r.useRef(null), o = r.useRef(null), s = r.useCallback(
1250
- () => n.current && n.current.element ? n.current.element : n.current,
1251
- [n]
1252
- );
1253
- r.useImperativeHandle(o, () => ({ element: s() || null })), r.useImperativeHandle(t, () => o.current), r.useImperativeHandle(e.childRef, () => n.current);
1254
- const l = r.useCallback(
1255
- (d) => {
1256
- e.onPress && e.onPress({
1257
- element: s(),
1258
- target: o.current,
1259
- event: d
1260
- });
1261
- },
1262
- [s, e.onPress]
1263
- ), c = r.useCallback(
1264
- (d) => {
1265
- e.onRelease && e.onRelease({
1266
- element: s(),
1267
- target: o.current,
1268
- event: d
1269
- });
1270
- },
1271
- [s, e.onRelease]
1272
- ), i = r.useCallback(
1273
- (d) => {
1274
- e.onDragStart && e.onDragStart({
1275
- element: s(),
1276
- target: o.current,
1277
- event: d
1278
- });
1279
- },
1280
- [e, s]
1281
- ), h = r.useCallback(
1282
- (d) => {
1283
- e.onDrag && e.onDrag({
1284
- element: s(),
1285
- target: o.current,
1286
- event: d
1287
- });
1288
- },
1289
- [s, e.onDrag]
1290
- ), f = r.useCallback(
1291
- (d) => {
1292
- e.onDragEnd && e.onDragEnd({
1293
- element: s(),
1294
- target: o.current,
1295
- event: d
1296
- });
1297
- },
1298
- [s, e.onDragEnd]
1299
- );
1300
- return Yt(n, {
1301
- onPress: l,
1302
- onRelease: c,
1303
- onDragStart: i,
1304
- onDrag: h,
1305
- onDragEnd: f
1306
- }, {
1307
- mouseOnly: e.mouseOnly,
1308
- autoScroll: e.autoScroll,
1309
- hint: e.hint,
1310
- scrollContainer: e.scrollContainer
1311
- }), e.children ? r.cloneElement(r.Children.only(e.children), { ref: n }) : null;
1312
- });
1313
- dn.displayName = "KendoReactDraggable";
1314
- const fn = r.forwardRef((e, t) => {
1315
- const n = r.useRef(null), o = r.useRef(null), s = r.useCallback(
1316
- () => n.current && n.current.element ? n.current.element : n.current,
1317
- [n]
1318
- );
1319
- r.useImperativeHandle(o, () => ({ element: s() || void 0 })), r.useImperativeHandle(t, () => o.current), r.useImperativeHandle(e.childRef, () => n.current);
1320
- const l = r.useCallback(
1321
- (f) => {
1322
- e.onDragEnter && e.onDragEnter({
1323
- element: s(),
1324
- target: o.current,
1325
- event: f
1326
- });
1327
- },
1328
- [e.onDragEnter, s]
1329
- ), c = r.useCallback(
1330
- (f) => {
1331
- e.onDragOver && e.onDragOver({
1332
- element: s(),
1333
- target: o.current,
1334
- event: f
1335
- });
1336
- },
1337
- [s, e.onDragOver]
1338
- ), i = r.useCallback(
1339
- (f) => {
1340
- e.onDragLeave && e.onDragLeave({
1341
- element: s(),
1342
- target: o.current,
1343
- event: f
1344
- });
1345
- },
1346
- [e.onDragLeave, s]
1347
- ), h = r.useCallback(
1348
- (f) => {
1349
- e.onDrop && e.onDrop({
1350
- element: s(),
1351
- target: o.current,
1352
- event: f
1353
- });
1354
- },
1355
- [e.onDrop, s]
1356
- );
1357
- return Gt(n, {
1358
- onDragEnter: l,
1359
- onDragOver: c,
1360
- onDragLeave: i,
1361
- onDrop: h
1362
- }), e.children ? r.cloneElement(r.Children.only(e.children), { ref: n }) : null;
1363
- });
1364
- fn.displayName = "KendoReactDroppable";
1365
- const or = {
1366
- sizeMap: {
1367
- small: "sm",
1368
- medium: "md",
1369
- large: "lg"
1370
- },
1371
- roundedMap: {
1372
- small: "sm",
1373
- medium: "md",
1374
- large: "lg"
1375
- },
1376
- orientationMap: {
1377
- vertical: "vstack",
1378
- horizontal: "hstack"
1379
- }
1380
- };
1381
- function hn(e, t) {
1382
- return e === t || Number.isNaN(e) && Number.isNaN(t);
1383
- }
1384
- function gn(e, t) {
1385
- if (e.length !== t.length)
1386
- return !1;
1387
- for (let n = 0; n < e.length; n++)
1388
- if (!hn(e[n], t[n]))
1389
- return !1;
1390
- return !0;
1391
- }
1392
- function sr(e, t = gn) {
1393
- let n = null;
1394
- function o(...s) {
1395
- if (n && n.lastThis === this && t(s, n.lastArgs))
1396
- return n.lastResult;
1397
- const l = e.apply(this, s);
1398
- return n = {
1399
- lastResult: l,
1400
- lastArgs: s,
1401
- lastThis: this
1402
- }, l;
1403
- }
1404
- return o.clear = function() {
1405
- n = null;
1406
- }, o;
1407
- }
1408
- const lr = [
1409
- "input:not([disabled]):not([type=hidden])",
1410
- "select:not([disabled])",
1411
- "textarea:not([disabled])",
1412
- "button:not([disabled])",
1413
- "a[href]",
1414
- "area[href]",
1415
- "summary",
1416
- "iframe",
1417
- "object",
1418
- "embed",
1419
- "audio[controls]",
1420
- "video[controls]",
1421
- "[contenteditable]"
1422
- ];
1423
- class cr {
1424
- constructor(t) {
1425
- this.rovingTabIndex = !0, this.update = () => {
1426
- }, this.focusNextIndex = (n, o) => {
1427
- const s = this.elements;
1428
- let l = s.indexOf(n) + o;
1429
- l = l < 0 ? s.length - 1 : l;
1430
- const c = s[l % s.length];
1431
- return this.focusElement(c, n), c;
1432
- }, this.tabIndex = t.tabIndex || 0, this.root = t.root, this.selectors = t.selectors, this.focusOptions = t.focusOptions || { preventScroll: !0 }, this.rovingTabIndex = t.rovingTabIndex !== void 0 ? t.rovingTabIndex : !0, this.mouseEvents = t.mouseEvents || {}, this.keyboardEvents = t.keyboardEvents || {};
1433
- }
1434
- /**
1435
- * Returns the collection of DOM elements which the module will navigate in.
1436
- */
1437
- get elements() {
1438
- return this.root.current ? Array.from(this.root.current.querySelectorAll(this.selectors.join(","))) : [];
1439
- }
1440
- /**
1441
- * Returns the first navigation DOM element.
1442
- */
1443
- get first() {
1444
- return this.root.current && this.root.current.querySelector(this.selectors.join(",")) || null;
1445
- }
1446
- /**
1447
- * Returns the last navigation DOM element.
1448
- */
1449
- get last() {
1450
- const t = this.elements;
1451
- return t[t.length - 1] || null;
1452
- }
1453
- /**
1454
- * Returns the focused DOM element from the navigation collection of DOM elements.
1455
- */
1456
- get current() {
1457
- return this.elements.find((t) => t.matches(":focus")) || null;
1458
- }
1459
- /**
1460
- * Focuses the next element from the navigation collection of DOM elements.
1461
- */
1462
- focusNext(t) {
1463
- return this.focusNextIndex(t, 1);
1464
- }
1465
- /**
1466
- * Focuses the previous element from the navigation collection of DOM elements.
1467
- */
1468
- focusPrevious(t) {
1469
- return this.focusNextIndex(t, -1);
1470
- }
1471
- /**
1472
- * The keyboard events handler.
1473
- */
1474
- triggerKeyboardEvent(t, n) {
1475
- const o = t.target instanceof Element && t.target.closest(this.selectors.join(",")), s = t.key === " " ? "Space" : t.key, l = t.nativeEvent.type;
1476
- o && this.keyboardEvents[l][s] && this.keyboardEvents[l][s].call(void 0, o, this, t, n);
1477
- }
1478
- /**
1479
- * The mouse events handler.
1480
- */
1481
- triggerMouseEvent(t) {
1482
- const n = t.target instanceof Element && t.target.closest(this.selectors.join(",")), o = t.nativeEvent.type;
1483
- n && this.mouseEvents[o].call(void 0, n, this, t);
1484
- }
1485
- /**
1486
- * Focuses the passed element from the navigation collection of DOM elements.
1487
- */
1488
- focusElement(t, n) {
1489
- t && (n && (this.rovingTabIndex && n.removeAttribute("tabindex"), n.classList.remove("k-focus")), this.rovingTabIndex && t.setAttribute("tabindex", String(this.tabIndex)), t.focus(this.focusOptions));
1490
- }
1491
- }
1492
- const de = (e) => {
1493
- const t = e.shadowRoot, n = e.contentDocument;
1494
- return t && t.activeElement ? de(t.activeElement) : n && n.activeElement ? de(n.activeElement) : e;
1495
- }, ar = (e) => {
1496
- if (!(!e || !e.activeElement))
1497
- return de(e.activeElement);
1498
- };
1499
- function k(e, t) {
1500
- const n = (e || "").split(".");
1501
- let o = t;
1502
- return n.forEach((s) => {
1503
- o = o ? o[s] : void 0;
1504
- }), o;
1505
- }
1506
- function ir(e) {
1507
- return e.length !== void 0;
1508
- }
1509
- class ur {
1510
- constructor(t) {
1511
- this.expandField = t.expandField, this.selectField = t.selectField, this.hasChildrenField = t.hasChildrenField, this.childrenField = t.childrenField, this.textField = t.textField, this.disableField = t.disableField, this.checkField = t.checkField, this.checkIndeterminateField = t.checkIndeterminateField, this.focusIdField = t.focusIdField;
1512
- }
1513
- expanded(t) {
1514
- return k(this.expandField, t);
1515
- }
1516
- selected(t) {
1517
- return k(this.selectField, t);
1518
- }
1519
- text(t) {
1520
- return k(this.textField, t);
1521
- }
1522
- disabled(t) {
1523
- return k(this.disableField, t);
1524
- }
1525
- hasChildren(t) {
1526
- return k(this.hasChildrenField, t);
1527
- }
1528
- children(t) {
1529
- const n = k(this.childrenField, t);
1530
- return n || [];
1531
- }
1532
- checked(t) {
1533
- return k(this.checkField, t);
1534
- }
1535
- checkIndeterminate(t) {
1536
- return k(this.checkIndeterminateField, t);
1537
- }
1538
- focusId(t) {
1539
- return this.focusIdField && k(this.focusIdField, t);
1540
- }
1541
- getChildrenField() {
1542
- return this.childrenField;
1543
- }
1544
- }
1545
- const mn = 5e4;
1546
- class vn {
1547
- constructor() {
1548
- this.objects = [];
1549
- }
1550
- init(t) {
1551
- let n;
1552
- for (let o = 0; o < t.length; o++)
1553
- o % mn === 0 && (n = {}, this.objects.push(n)), n[t[o]] = !0;
1554
- }
1555
- hasId(t) {
1556
- return this.objects.some((n) => n[t]);
1557
- }
1558
- }
1559
- const Y = "", ct = "0", A = "_";
1560
- function at(e, t, n) {
1561
- if (J(e))
1562
- return t[Number(e)];
1563
- {
1564
- const o = t[Number(H(e))], s = o && o[n] || [];
1565
- return s.length ? at(B(e), s, n) : void 0;
1566
- }
1567
- }
1568
- function H(e) {
1569
- return Ee(e) ? e : e.split(A)[0];
1570
- }
1571
- function B(e) {
1572
- if (Ee(e))
1573
- return e;
1574
- {
1575
- const t = e.indexOf(A);
1576
- return e.substring(t + 1);
1577
- }
1578
- }
1579
- function Cn(e) {
1580
- return G("0", e);
1581
- }
1582
- function G(e, t) {
1583
- return e = e.toString(), t ? t + A + e : e;
1584
- }
1585
- function it(e) {
1586
- const t = e.lastIndexOf(A);
1587
- return t < 0 ? Y : e.substring(0, t);
1588
- }
1589
- function Ee(e) {
1590
- return e === Y || e.indexOf(A) < 0;
1591
- }
1592
- function J(e) {
1593
- return e !== Y && e.indexOf(A) < 0;
1594
- }
1595
- function be(e) {
1596
- return e.split(A);
1597
- }
1598
- function xe(e) {
1599
- const t = e.lastIndexOf(A);
1600
- return t < 0 ? e : e.substring(t + 1);
1601
- }
1602
- function En(e) {
1603
- return xe(e) === ct;
1604
- }
1605
- function bn(e, t) {
1606
- const n = t;
1607
- e = "r" + A + e, t = "r" + A + t;
1608
- const o = it(e) + A;
1609
- if (t.startsWith(o)) {
1610
- const s = t.substring(o.length);
1611
- if (s) {
1612
- const l = H(s);
1613
- if (Number(xe(e)) < Number(l)) {
1614
- const c = o + (Number(l) - 1).toString() + s.substring(l.length);
1615
- return B(c);
1616
- }
1617
- }
1618
- }
1619
- return n;
1620
- }
1621
- const dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1622
- __proto__: null,
1623
- EMPTY_ID: Y,
1624
- SEPARATOR: A,
1625
- ZERO_LEVEL_ZERO_NODE_ID: ct,
1626
- createId: G,
1627
- getAllShortIds: be,
1628
- getDecrementedItemIdAfterRemoval: bn,
1629
- getDirectParentId: it,
1630
- getFirstChildId: Cn,
1631
- getIdWithoutRootParentId: B,
1632
- getItemById: at,
1633
- getRootParentId: H,
1634
- getShortId: xe,
1635
- isIdEmptyOrZeroLevel: Ee,
1636
- isIdZeroLevel: J,
1637
- isItemFirstFromSiblings: En
1638
- }, Symbol.toStringTag, { value: "Module" }));
1639
- function ut(e, t) {
1640
- const n = k(t, e);
1641
- return !!(n && n.length);
1642
- }
1643
- function fr(e, t) {
1644
- return t.expanded(e) && ut(e, t.getChildrenField());
1645
- }
1646
- function hr(e, t, n, o) {
1647
- const s = xn([e], t, n, o);
1648
- return s.length ? s[0] : void 0;
1649
- }
1650
- function xn(e, t, n, o) {
1651
- const s = [], l = new vn();
1652
- return l.init(e), dt(l, t, n, Y, s, o), s;
1653
- }
1654
- function yn(e, t, n, o, s) {
1655
- const l = Number(H(t));
1656
- if (l >= e.length)
1657
- return e;
1658
- let c = e, i = e[l];
1659
- return i[o] || (c = e.slice(), i = c[l] = Object.assign({}, i, { [o]: !0 })), J(t) ? n(i) : i[s] && (i[s] = yn(i[s], B(t), n, o, s)), c;
1660
- }
1661
- function gr(e, t, n) {
1662
- const o = be(e);
1663
- let s = t;
1664
- for (let l = 0; l < o.length; l++) {
1665
- const c = s[Number(o[l])];
1666
- if (n.disabled(c))
1667
- return !1;
1668
- s = c[n.getChildrenField()];
1669
- }
1670
- return !0;
1671
- }
1672
- function mr(e, t, n, o) {
1673
- return o ? l(e) : s(e, t);
1674
- function s(c, i) {
1675
- let h = [];
1676
- const f = c[n] || [];
1677
- for (let d = 0; d < f.length; d++) {
1678
- const m = G(d, i);
1679
- h.push(m), h = h.concat(s(f[d], m));
1680
- }
1681
- return h;
1682
- }
1683
- function l(c) {
1684
- let i = [];
1685
- const h = c[n] || [];
1686
- for (let f = 0; f < h.length; f++)
1687
- i.push(k(o, h[f])), i = i.concat(l(h[f]));
1688
- return i;
1689
- }
1690
- }
1691
- function vr(e, t, n, o, s) {
1692
- return (e[o] || []).every((c, i) => s.indexOf(n ? k(n, c) : G(i, t)) > -1);
1693
- }
1694
- function Cr(e, t, n) {
1695
- const o = [], s = be(e);
1696
- let l = n;
1697
- for (let c = 0; c < s.length - 1 && l; c++) {
1698
- const i = l[Number(s[c])];
1699
- o.push(i), l = i[t];
1700
- }
1701
- return o;
1702
- }
1703
- function pn(e, t, n) {
1704
- const o = n.slice();
1705
- if (J(e))
1706
- o.splice(Number(e), 1);
1707
- else {
1708
- const s = Number(H(e)), l = o[s] = { ...o[s] };
1709
- l[t] = pn(B(e), t, l[t]);
1710
- }
1711
- return o;
1712
- }
1713
- function kn(e, t, n, o, s) {
1714
- const l = s.slice();
1715
- if (J(o))
1716
- if (t === "child") {
1717
- const c = l[Number(o)] = { ...l[Number(o)] };
1718
- c[n] ? (c[n] = c[n].slice(), c[n].push(e)) : c[n] = [e];
1719
- } else
1720
- l.splice(Number(o) + (t === "after" ? 1 : 0), 0, e);
1721
- else {
1722
- const c = Number(H(o)), i = l[c] = { ...l[c] };
1723
- i[n] = kn(e, t, n, B(o), i[n]);
1724
- }
1725
- return l;
1726
- }
1727
- function dt(e, t, n, o, s, l) {
1728
- for (let c = 0; c < n.length; c++) {
1729
- const i = n[c], h = G(c, o);
1730
- e.hasId(k(t, i)) && s.push(h), ut(i, l) && dt(e, t, k(l, i), h, s, l);
1731
- }
1732
- }
9
+ import * as e from "./tree-utils/itemIdUtils.mjs";
10
+ import { ZIndexContext as t, useZIndexContext as p } from "./contexts/ZIndexContext.mjs";
11
+ import { BrowserSupportService as s } from "./browser-support.service.mjs";
12
+ import { canUseDOM as x } from "./canUseDOM.mjs";
13
+ import { canUseRef as f } from "./canUseRef.mjs";
14
+ import { classNames as c } from "./classNames.mjs";
15
+ import { clone as d, cloneArray as u, cloneDate as I, cloneObject as C, cloneValue as h } from "./clone.mjs";
16
+ import { applyTrappedFocus as b, firstFocusableChild as A, focusFirstFocusableChild as v, focusLastFocusableChild as D, keepFocusInContainer as E, lastFocusableChild as F } from "./trappedFocus.mjs";
17
+ import { FormComponent as S } from "./FormComponent.mjs";
18
+ import { getTabIndex as O } from "./getTabIndex.mjs";
19
+ import { getter as N } from "./getter.mjs";
20
+ import { guid as L } from "./guid.mjs";
21
+ import { Keys as W } from "./keys.mjs";
22
+ import { noop as B } from "./noop.mjs";
23
+ import { getScrollbarWidth as R, setScrollbarWidth as V } from "./scrollbarWidth.mjs";
24
+ import { setter as _ } from "./setter.mjs";
25
+ import { extendDataItem as z, getItemPath as H, mapTree as K, mapTreeItem as q } from "./treeDataOperations.mjs";
26
+ import { shouldShowValidationUI as J, validatePackage as Q } from "./validate-package.mjs";
27
+ import { hasRelativeStackingContext as Y } from "./hasRelativeStackingContext.mjs";
28
+ import { WatermarkOverlay as ee } from "./watermark/WatermarkOverlay.mjs";
29
+ import { dispatchEvent as re } from "./events/dispatchEvent.mjs";
30
+ import { AsyncFocusBlur as pe } from "./hocs/AsyncFocusBlur.mjs";
31
+ import { createPropsContext as se, withPropsContext as ae } from "./hocs/withPropsContext.mjs";
32
+ import { withIdHOC as ne } from "./hocs/use-id-hoc.mjs";
33
+ import { useDir as le } from "./hooks/useDir.mjs";
34
+ import { useAsyncFocusBlur as ie } from "./hooks/useAsyncFocusBlur.mjs";
35
+ import { useRtl as ue } from "./hooks/useRtl.mjs";
36
+ import { useMouse as Ce } from "./hooks/useMouse.mjs";
37
+ import { useCustomComponent as ge } from "./hooks/useCustomComponent.mjs";
38
+ import { usePropsContext as Ae } from "./hooks/usePropsContext.mjs";
39
+ import { COLLECTION_ACTION as De, useCollection as Ee } from "./hooks/useCollection.mjs";
40
+ import { useDocument as ye } from "./hooks/useDocument.mjs";
41
+ import { useWindow as Te } from "./hooks/useWindow.mjs";
42
+ import { useId as Pe } from "./hooks/use-id.mjs";
43
+ import { useIsomorphicLayoutEffect as ke } from "./hooks/use-isomorphic-layout-effect.mjs";
44
+ import { Icon as Ue } from "./icons/Icon.mjs";
45
+ import { SvgIcon as we } from "./icons/SvgIcon.mjs";
46
+ import { IconWrap as Me } from "./icons/IconWrap.mjs";
47
+ import { IconsContext as Ve } from "./icons/IconsContext.mjs";
48
+ import { svgIconPropType as _e, toIconClass as je, toIconName as ze } from "./icons/utils.mjs";
49
+ import { Typography as Ke } from "./typography/Typography.mjs";
50
+ import { DragAndDrop as Ge } from "./drag-n-drop/index.mjs";
51
+ import { Draggable as Qe } from "./Draggable.mjs";
52
+ import { Droppable as Ye } from "./Droppable.mjs";
53
+ import { useDraggable as eo } from "./hooks/useDraggable.mjs";
54
+ import { useDroppable as ro } from "./hooks/useDroppable.mjs";
55
+ import { kendoThemeMaps as po } from "./theme.mjs";
56
+ import { memoizeOne as so } from "./memoize.mjs";
57
+ import { FOCUSABLE_ELEMENTS as xo, Navigation as no } from "./navigation.mjs";
58
+ import { getActiveElement as lo, getInnerActiveElement as co } from "./getActiveElement.mjs";
59
+ import { TreeFieldsService as uo } from "./tree-utils/FieldsService.mjs";
60
+ import { SortedPublicItemIds as Co } from "./tree-utils/SortedPublicItemIds.mjs";
61
+ import { addItem as go, areAllDirectChildrenChecked as bo, getAllDirectIndirectChildrenIds as Ao, getAllParents as vo, hasChildren as Do, isEnabledAndAllParentsEnabled as Eo, isItemExpandedAndWithChildren as Fo, removeItem as yo, resolveItemId as So, resolveItemsIds as To, updateItem as Oo } from "./tree-utils/itemUtils.mjs";
62
+ import { getNestedValue as No, isArray as ko } from "./tree-utils/misc.mjs";
1733
63
  export {
1734
- Zn as AsyncFocusBlur,
1735
- We as BrowserSupportService,
1736
- X as COLLECTION_ACTION,
1737
- un as DragAndDrop,
1738
- dn as Draggable,
1739
- fn as Droppable,
1740
- lr as FOCUSABLE_ELEMENTS,
1741
- Sn as FormComponent,
1742
- ve as Icon,
1743
- Jt as IconWrap,
1744
- lt as IconsContext,
1745
- Tn as Keys,
1746
- cr as Navigation,
1747
- vn as SortedPublicItemIds,
1748
- Ce as SvgIcon,
1749
- ur as TreeFieldsService,
1750
- rr as Typography,
1751
- Jn as WatermarkOverlay,
1752
- Ke as ZIndexContext,
1753
- kn as addItem,
1754
- vr as areAllDirectChildrenChecked,
1755
- fe as canUseDOM,
1756
- In as canUseRef,
1757
- _e as classNames,
1758
- On as clone,
1759
- Pt as cloneArray,
1760
- wt as cloneDate,
1761
- $e as cloneObject,
1762
- et as cloneValue,
1763
- Vn as createPropsContext,
1764
- Un as dispatchEvent,
1765
- zn as extendDataItem,
1766
- Mn as focusFirstFocusableChild,
1767
- ar as getActiveElement,
1768
- mr as getAllDirectIndirectChildrenIds,
1769
- Cr as getAllParents,
1770
- de as getInnerActiveElement,
1771
- Fn as getItemPath,
1772
- k as getNestedValue,
1773
- Nn as getScrollbarWidth,
1774
- Rn as getTabIndex,
1775
- Ln as getter,
1776
- Ye as guid,
1777
- ut as hasChildren,
1778
- Gn as hasRelativeStackingContext,
1779
- ir as isArray,
1780
- gr as isEnabledAndAllParentsEnabled,
1781
- fr as isItemExpandedAndWithChildren,
1782
- or as kendoThemeMaps,
1783
- jn as mapTree,
1784
- Qn as mapTreeItem,
1785
- sr as memoizeOne,
1786
- C as noop,
1787
- pn as removeItem,
1788
- hr as resolveItemId,
1789
- xn as resolveItemsIds,
1790
- Hn as setScrollbarWidth,
1791
- Bn as setter,
1792
- Yn as shouldShowValidationUI,
1793
- nr as svgIconPropType,
1794
- Ft as toIconClass,
1795
- tr as toIconName,
1796
- dr as treeIdUtils,
1797
- yn as updateItem,
1798
- Tt as useAsyncFocusBlur,
1799
- Ue as useCollection,
1800
- $n as useCustomComponent,
1801
- Wn as useDir,
1802
- zt as useDocument,
1803
- Yt as useDraggable,
1804
- Gt as useDroppable,
1805
- Ht as useId,
1806
- he as useIsomorphicLayoutEffect,
1807
- Bt as useMouse,
1808
- Nt as usePropsContext,
1809
- _n as useRtl,
1810
- er as useWindow,
1811
- Pn as useZIndexContext,
1812
- Xn as validatePackage,
1813
- Kn as withIdHOC,
1814
- qn as withPropsContext
64
+ pe as AsyncFocusBlur,
65
+ s as BrowserSupportService,
66
+ De as COLLECTION_ACTION,
67
+ Ge as DragAndDrop,
68
+ Qe as Draggable,
69
+ Ye as Droppable,
70
+ xo as FOCUSABLE_ELEMENTS,
71
+ S as FormComponent,
72
+ Ue as Icon,
73
+ Me as IconWrap,
74
+ Ve as IconsContext,
75
+ W as Keys,
76
+ no as Navigation,
77
+ Co as SortedPublicItemIds,
78
+ we as SvgIcon,
79
+ uo as TreeFieldsService,
80
+ Ke as Typography,
81
+ ee as WatermarkOverlay,
82
+ t as ZIndexContext,
83
+ go as addItem,
84
+ b as applyTrappedFocus,
85
+ bo as areAllDirectChildrenChecked,
86
+ x as canUseDOM,
87
+ f as canUseRef,
88
+ c as classNames,
89
+ d as clone,
90
+ u as cloneArray,
91
+ I as cloneDate,
92
+ C as cloneObject,
93
+ h as cloneValue,
94
+ se as createPropsContext,
95
+ re as dispatchEvent,
96
+ z as extendDataItem,
97
+ A as firstFocusableChild,
98
+ v as focusFirstFocusableChild,
99
+ D as focusLastFocusableChild,
100
+ lo as getActiveElement,
101
+ Ao as getAllDirectIndirectChildrenIds,
102
+ vo as getAllParents,
103
+ co as getInnerActiveElement,
104
+ H as getItemPath,
105
+ No as getNestedValue,
106
+ R as getScrollbarWidth,
107
+ O as getTabIndex,
108
+ N as getter,
109
+ L as guid,
110
+ Do as hasChildren,
111
+ Y as hasRelativeStackingContext,
112
+ ko as isArray,
113
+ Eo as isEnabledAndAllParentsEnabled,
114
+ Fo as isItemExpandedAndWithChildren,
115
+ E as keepFocusInContainer,
116
+ po as kendoThemeMaps,
117
+ F as lastFocusableChild,
118
+ K as mapTree,
119
+ q as mapTreeItem,
120
+ so as memoizeOne,
121
+ B as noop,
122
+ yo as removeItem,
123
+ So as resolveItemId,
124
+ To as resolveItemsIds,
125
+ V as setScrollbarWidth,
126
+ _ as setter,
127
+ J as shouldShowValidationUI,
128
+ _e as svgIconPropType,
129
+ je as toIconClass,
130
+ ze as toIconName,
131
+ e as treeIdUtils,
132
+ Oo as updateItem,
133
+ ie as useAsyncFocusBlur,
134
+ Ee as useCollection,
135
+ ge as useCustomComponent,
136
+ le as useDir,
137
+ ye as useDocument,
138
+ eo as useDraggable,
139
+ ro as useDroppable,
140
+ Pe as useId,
141
+ ke as useIsomorphicLayoutEffect,
142
+ Ce as useMouse,
143
+ Ae as usePropsContext,
144
+ ue as useRtl,
145
+ Te as useWindow,
146
+ p as useZIndexContext,
147
+ Q as validatePackage,
148
+ ne as withIdHOC,
149
+ ae as withPropsContext
1815
150
  };