@progress/kendo-react-common 6.1.1 → 7.0.0-develop.2

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