cx 26.0.12 → 26.0.13

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 (363) hide show
  1. package/build/charts/ScatterGraph.d.ts +4 -4
  2. package/build/charts/ScatterGraph.js +2 -2
  3. package/build/data/ArrayElementView.spec.d.ts +1 -0
  4. package/build/data/ArrayElementView.spec.js +81 -0
  5. package/build/data/Binding.spec.d.ts +1 -0
  6. package/build/data/Binding.spec.js +61 -0
  7. package/build/data/Expression.spec.d.ts +1 -0
  8. package/build/data/Expression.spec.js +196 -0
  9. package/build/data/Grouper.spec.d.ts +1 -0
  10. package/build/data/Grouper.spec.js +48 -0
  11. package/build/data/Ref.spec.d.ts +1 -0
  12. package/build/data/Ref.spec.js +72 -0
  13. package/build/data/Selector.d.ts +1 -1
  14. package/build/data/Store.spec.d.ts +1 -0
  15. package/build/data/Store.spec.js +19 -0
  16. package/build/data/StoreRef.spec.d.ts +1 -0
  17. package/build/data/StoreRef.spec.js +22 -0
  18. package/build/data/StringTemplate.spec.d.ts +1 -0
  19. package/build/data/StringTemplate.spec.js +112 -0
  20. package/build/data/StructuredSelector.spec.d.ts +1 -0
  21. package/build/data/StructuredSelector.spec.js +102 -0
  22. package/build/data/View.spec.d.ts +1 -0
  23. package/build/data/View.spec.js +44 -0
  24. package/build/data/ZoomIntoPropertyView.spec.d.ts +1 -0
  25. package/build/data/ZoomIntoPropertyView.spec.js +54 -0
  26. package/build/data/comparer.spec.d.ts +1 -0
  27. package/build/data/comparer.spec.js +50 -0
  28. package/build/data/computable.d.ts +3 -6
  29. package/build/data/computable.spec.d.ts +1 -0
  30. package/build/data/computable.spec.js +56 -0
  31. package/build/data/createAccessorModelProxy.d.ts +5 -3
  32. package/build/data/createAccessorModelProxy.spec.d.ts +1 -0
  33. package/build/data/createAccessorModelProxy.spec.js +30 -0
  34. package/build/data/createStructuredSelector.spec.d.ts +1 -0
  35. package/build/data/createStructuredSelector.spec.js +42 -0
  36. package/build/data/diff/diffs.spec.d.ts +1 -0
  37. package/build/data/diff/diffs.spec.js +45 -0
  38. package/build/data/getAccessor.spec.d.ts +1 -0
  39. package/build/data/getAccessor.spec.js +10 -0
  40. package/build/data/getSelector.spec.d.ts +1 -0
  41. package/build/data/getSelector.spec.js +36 -0
  42. package/build/data/ops/append.spec.d.ts +1 -0
  43. package/build/data/ops/append.spec.js +24 -0
  44. package/build/data/ops/filter.spec.d.ts +1 -0
  45. package/build/data/ops/filter.spec.js +25 -0
  46. package/build/data/ops/findTreeNode.d.ts +1 -1
  47. package/build/data/ops/findTreeNode.js +1 -1
  48. package/build/data/ops/findTreeNode.spec.d.ts +1 -0
  49. package/build/data/ops/findTreeNode.spec.js +20 -0
  50. package/build/data/ops/findTreePath.d.ts +1 -1
  51. package/build/data/ops/merge.spec.d.ts +1 -0
  52. package/build/data/ops/merge.spec.js +23 -0
  53. package/build/data/ops/removeTreeNodes.d.ts +1 -1
  54. package/build/data/ops/removeTreeNodes.js +1 -1
  55. package/build/data/ops/removeTreeNodes.spec.d.ts +1 -0
  56. package/build/data/ops/removeTreeNodes.spec.js +35 -0
  57. package/build/data/ops/updateArray.spec.d.ts +1 -0
  58. package/build/data/ops/updateArray.spec.js +33 -0
  59. package/build/data/ops/updateTree.d.ts +1 -1
  60. package/build/data/ops/updateTree.spec.d.ts +1 -0
  61. package/build/data/ops/updateTree.spec.js +44 -0
  62. package/build/hooks/invokeCallback.spec.d.ts +1 -0
  63. package/build/hooks/invokeCallback.spec.js +44 -0
  64. package/build/hooks/resolveCallback.spec.d.ts +1 -0
  65. package/build/hooks/resolveCallback.spec.js +35 -0
  66. package/build/hooks/store.spec.d.ts +1 -0
  67. package/build/hooks/store.spec.js +48 -0
  68. package/build/hooks/useTrigger.spec.d.ts +1 -0
  69. package/build/hooks/useTrigger.spec.js +59 -0
  70. package/build/jsx-runtime.d.ts +10 -10
  71. package/build/jsx-runtime.js +6 -0
  72. package/build/svg/util/Rect.d.ts +1 -1
  73. package/build/ui/ContentResolver.d.ts +16 -6
  74. package/build/ui/Controller.d.ts +7 -0
  75. package/build/ui/Controller.js +2 -1
  76. package/build/ui/Controller.spec.d.ts +1 -0
  77. package/build/ui/Controller.spec.js +247 -0
  78. package/build/ui/Cx.spec.d.ts +1 -0
  79. package/build/ui/Cx.spec.js +153 -0
  80. package/build/ui/DataProxy.spec.d.ts +1 -0
  81. package/build/ui/DataProxy.spec.js +208 -0
  82. package/build/ui/Instance.d.ts +1 -1
  83. package/build/ui/Instance.js +10 -10
  84. package/build/ui/IsolatedScope.spec.d.ts +1 -0
  85. package/build/ui/IsolatedScope.spec.js +42 -0
  86. package/build/ui/Prop.d.ts +12 -1
  87. package/build/ui/PureContainer.spec.d.ts +1 -0
  88. package/build/ui/PureContainer.spec.js +149 -0
  89. package/build/ui/Repeater.d.ts +3 -3
  90. package/build/ui/Repeater.spec.d.ts +1 -0
  91. package/build/ui/Repeater.spec.js +109 -0
  92. package/build/ui/Rescope.spec.d.ts +1 -0
  93. package/build/ui/Rescope.spec.js +134 -0
  94. package/build/ui/Restate.spec.d.ts +1 -0
  95. package/build/ui/Restate.spec.js +257 -0
  96. package/build/ui/Text.d.ts +14 -2
  97. package/build/ui/Text.js +3 -0
  98. package/build/ui/adapter/ArrayAdapter.js +4 -1
  99. package/build/ui/adapter/ArrayAdapter.spec.d.ts +1 -0
  100. package/build/ui/adapter/ArrayAdapter.spec.js +44 -0
  101. package/build/ui/adapter/TreeAdapter.spec.d.ts +1 -0
  102. package/build/ui/adapter/TreeAdapter.spec.js +71 -0
  103. package/build/ui/app/Url.spec.d.ts +1 -0
  104. package/build/ui/app/Url.spec.js +43 -0
  105. package/build/ui/app/startHotAppLoop.js +1 -1
  106. package/build/ui/createFunctionalComponent.d.ts +14 -1
  107. package/build/ui/createFunctionalComponent.js +7 -4
  108. package/build/ui/createFunctionalComponent.spec.d.ts +1 -0
  109. package/build/ui/createFunctionalComponent.spec.js +272 -0
  110. package/build/ui/expr.d.ts +3 -1
  111. package/build/ui/exprHelpers.d.ts +32 -0
  112. package/build/ui/exprHelpers.js +61 -0
  113. package/build/ui/index.d.ts +1 -0
  114. package/build/ui/index.js +1 -0
  115. package/build/ui/layout/ContentPlaceholder.spec.d.ts +1 -0
  116. package/build/ui/layout/ContentPlaceholder.spec.js +333 -0
  117. package/build/ui/layout/FirstVisibleChildLayout.spec.d.ts +1 -0
  118. package/build/ui/layout/FirstVisibleChildLayout.spec.js +101 -0
  119. package/build/util/Console.d.ts +1 -0
  120. package/build/util/Console.js +7 -3
  121. package/build/util/Format.spec.d.ts +1 -0
  122. package/build/util/Format.spec.js +58 -0
  123. package/build/util/TraversalStack.spec.d.ts +1 -0
  124. package/build/util/TraversalStack.spec.js +43 -0
  125. package/build/util/date/upperBoundCheck.spec.d.ts +1 -0
  126. package/build/util/date/upperBoundCheck.spec.js +22 -0
  127. package/build/util/getSearchQueryPredicate.spec.d.ts +1 -0
  128. package/build/util/getSearchQueryPredicate.spec.js +33 -0
  129. package/build/util/isValidIdentifierName.spec.d.ts +1 -0
  130. package/build/util/isValidIdentifierName.spec.js +28 -0
  131. package/build/util/routeAppend.spec.d.ts +1 -0
  132. package/build/util/routeAppend.spec.js +14 -0
  133. package/build/widgets/AccessorBindings.spec.d.ts +1 -0
  134. package/build/widgets/AccessorBindings.spec.js +40 -0
  135. package/build/widgets/Button.d.ts +3 -6
  136. package/build/widgets/Button.js +1 -1
  137. package/build/widgets/DocumentTitle.d.ts +2 -0
  138. package/build/widgets/Heading.d.ts +2 -2
  139. package/build/widgets/HtmlElement.d.ts +31 -8
  140. package/build/widgets/HtmlElement.js +7 -9
  141. package/build/widgets/HtmlElement.spec.d.ts +1 -0
  142. package/build/widgets/HtmlElement.spec.js +38 -0
  143. package/build/widgets/Icon.d.ts +3 -13
  144. package/build/widgets/List.d.ts +4 -0
  145. package/build/widgets/ReactElementWrapper.d.ts +29 -0
  146. package/build/widgets/ReactElementWrapper.js +59 -0
  147. package/build/widgets/drag-drop/DragSource.d.ts +3 -3
  148. package/build/widgets/drag-drop/DragSource.js +2 -3
  149. package/build/widgets/drag-drop/DropZone.d.ts +3 -3
  150. package/build/widgets/drag-drop/DropZone.js +2 -3
  151. package/build/widgets/form/Checkbox.d.ts +2 -0
  152. package/build/widgets/form/ColorField.d.ts +2 -0
  153. package/build/widgets/form/DateTimeField.d.ts +2 -0
  154. package/build/widgets/form/Field.d.ts +0 -2
  155. package/build/widgets/form/LabeledContainer.d.ts +9 -8
  156. package/build/widgets/form/LabeledContainer.js +9 -9
  157. package/build/widgets/form/LookupField.d.ts +57 -9
  158. package/build/widgets/form/MonthField.d.ts +2 -0
  159. package/build/widgets/form/NumberField.d.ts +2 -0
  160. package/build/widgets/form/Radio.d.ts +2 -0
  161. package/build/widgets/form/Select.d.ts +2 -0
  162. package/build/widgets/form/Slider.d.ts +3 -0
  163. package/build/widgets/form/Switch.d.ts +2 -0
  164. package/build/widgets/form/TextField.d.ts +34 -0
  165. package/build/widgets/form/TimeList.d.ts +16 -1
  166. package/build/widgets/form/TimeList.js +34 -62
  167. package/build/widgets/form/UploadButton.d.ts +34 -2
  168. package/build/widgets/form/UploadButton.js +3 -1
  169. package/build/widgets/form/ValidationGroup.spec.d.ts +1 -0
  170. package/build/widgets/form/ValidationGroup.spec.js +62 -0
  171. package/build/widgets/form/Validator.d.ts +33 -2
  172. package/build/widgets/form/Validator.js +3 -0
  173. package/build/widgets/grid/Grid.d.ts +9 -9
  174. package/build/widgets/grid/TreeNode.d.ts +6 -0
  175. package/build/widgets/index.d.ts +1 -0
  176. package/build/widgets/index.js +1 -0
  177. package/build/widgets/nav/MenuItem.d.ts +3 -2
  178. package/build/widgets/nav/Route.spec.d.ts +1 -0
  179. package/build/widgets/nav/Route.spec.js +15 -0
  180. package/build/widgets/nav/Scroller.d.ts +4 -6
  181. package/build/widgets/nav/Scroller.js +6 -3
  182. package/build/widgets/nav/Tab.d.ts +2 -2
  183. package/build/widgets/overlay/ContextMenu.d.ts +3 -3
  184. package/build/widgets/overlay/Overlay.d.ts +2 -1
  185. package/build/widgets/overlay/Overlay.js +1 -1
  186. package/build.js +133 -133
  187. package/dist/data.js +2 -2
  188. package/dist/jsx-runtime.js +6 -1
  189. package/dist/manifest.d.ts +1443 -0
  190. package/dist/manifest.js +855 -807
  191. package/dist/ui.js +91 -5
  192. package/dist/util.js +3 -0
  193. package/dist/widgets.js +520 -161
  194. package/package.json +46 -20
  195. package/src/charts/Chart.ts +108 -108
  196. package/src/charts/ScatterGraph.tsx +6 -6
  197. package/src/data/ArrayElementView.ts +90 -90
  198. package/src/data/AugmentedViewBase.ts +88 -88
  199. package/src/data/Binding.ts +104 -104
  200. package/src/data/ExposedRecordView.ts +95 -95
  201. package/src/data/ExposedValueView.ts +89 -89
  202. package/src/data/Expression.spec.ts +229 -229
  203. package/src/data/Expression.ts +233 -233
  204. package/src/data/Grouper.spec.ts +57 -57
  205. package/src/data/Grouper.ts +158 -158
  206. package/src/data/NestedDataView.ts +43 -43
  207. package/src/data/ReadOnlyDataView.ts +39 -39
  208. package/src/data/Ref.ts +104 -104
  209. package/src/data/Selector.ts +10 -10
  210. package/src/data/Store.ts +52 -52
  211. package/src/data/StoreProxy.ts +19 -19
  212. package/src/data/StoreRef.ts +66 -66
  213. package/src/data/StringTemplate.spec.ts +132 -132
  214. package/src/data/StringTemplate.ts +93 -93
  215. package/src/data/StructuredSelector.spec.ts +113 -113
  216. package/src/data/StructuredSelector.ts +146 -146
  217. package/src/data/SubscribableView.ts +63 -63
  218. package/src/data/ZoomIntoPropertyView.spec.ts +64 -64
  219. package/src/data/ZoomIntoPropertyView.ts +45 -45
  220. package/src/data/computable.spec.ts +87 -62
  221. package/src/data/computable.ts +3 -6
  222. package/src/data/createAccessorModelProxy.spec.tsx +102 -1
  223. package/src/data/createAccessorModelProxy.ts +9 -3
  224. package/src/data/createStructuredSelector.ts +62 -62
  225. package/src/data/getAccessor.spec.ts +11 -11
  226. package/src/data/getAccessor.ts +74 -74
  227. package/src/data/getSelector.spec.ts +43 -43
  228. package/src/data/getSelector.ts +66 -66
  229. package/src/data/ops/filter.spec.ts +35 -35
  230. package/src/data/ops/filter.ts +9 -9
  231. package/src/data/ops/findTreeNode.ts +1 -5
  232. package/src/data/ops/findTreePath.ts +1 -1
  233. package/src/data/ops/merge.ts +13 -13
  234. package/src/data/ops/removeTreeNodes.spec.ts +37 -37
  235. package/src/data/ops/removeTreeNodes.ts +2 -2
  236. package/src/data/ops/updateArray.spec.ts +69 -69
  237. package/src/data/ops/updateArray.ts +31 -31
  238. package/src/data/ops/updateTree.ts +1 -1
  239. package/src/data/test-types.ts +7 -7
  240. package/src/hooks/resolveCallback.spec.tsx +30 -7
  241. package/src/hooks/useTrigger.ts +26 -26
  242. package/src/index.scss +6 -6
  243. package/src/jsx-dev-runtime.ts +4 -4
  244. package/src/jsx-runtime.spec.tsx +402 -0
  245. package/src/jsx-runtime.ts +26 -22
  246. package/src/svg/BoundedObject.ts +101 -101
  247. package/src/svg/util/Rect.ts +105 -105
  248. package/src/ui/CSSHelper.ts +17 -17
  249. package/src/ui/ContentResolver.spec.tsx +172 -19
  250. package/src/ui/ContentResolver.ts +16 -8
  251. package/src/ui/Controller.ts +15 -2
  252. package/src/ui/Culture.ts +159 -159
  253. package/src/ui/DataProxy.ts +55 -55
  254. package/src/ui/FocusManager.ts +171 -171
  255. package/src/ui/Instance.ts +866 -868
  256. package/src/ui/Prop.ts +140 -112
  257. package/src/ui/RenderingContext.ts +99 -99
  258. package/src/ui/Repeater.ts +3 -12
  259. package/src/ui/Rescope.ts +49 -49
  260. package/src/ui/StructuredInstanceDataAccessor.ts +32 -32
  261. package/src/ui/Text.ts +21 -2
  262. package/src/ui/VDOM.ts +34 -34
  263. package/src/ui/adapter/ArrayAdapter.spec.ts +55 -55
  264. package/src/ui/adapter/ArrayAdapter.ts +4 -1
  265. package/src/ui/adapter/TreeAdapter.spec.ts +76 -76
  266. package/src/ui/adapter/TreeAdapter.ts +185 -185
  267. package/src/ui/app/History.ts +133 -133
  268. package/src/ui/app/Url.spec.ts +50 -50
  269. package/src/ui/app/startHotAppLoop.ts +41 -41
  270. package/src/ui/createFunctionalComponent.spec.tsx +53 -0
  271. package/src/ui/createFunctionalComponent.ts +86 -65
  272. package/src/ui/expr.ts +4 -1
  273. package/src/ui/exprHelpers.spec.ts +379 -0
  274. package/src/ui/exprHelpers.ts +78 -0
  275. package/src/ui/index.ts +47 -46
  276. package/src/ui/layout/Content.ts +30 -30
  277. package/src/ui/layout/FirstVisibleChildLayout.spec.tsx +1 -1
  278. package/src/ui/layout/FirstVisibleChildLayout.ts +60 -60
  279. package/src/ui/selection/KeySelection.ts +153 -153
  280. package/src/ui/selection/Selection.ts +128 -128
  281. package/src/util/Console.ts +13 -11
  282. package/src/util/Format.ts +267 -267
  283. package/src/util/addEventListenerWithOptions.ts +41 -41
  284. package/src/util/browserSupportsPassiveEventHandlers.ts +20 -20
  285. package/src/util/color/rgbToHsl.ts +35 -35
  286. package/src/util/getActiveElement.ts +4 -4
  287. package/src/util/hasKey.ts +18 -18
  288. package/src/util/index.ts +55 -55
  289. package/src/util/innerTextTrim.ts +10 -10
  290. package/src/util/isArray.ts +3 -3
  291. package/src/util/isDataRecord.ts +5 -5
  292. package/src/util/isDefined.ts +3 -3
  293. package/src/util/isString.ts +3 -3
  294. package/src/widgets/AccessorBindings.spec.tsx +26 -0
  295. package/src/widgets/Button.tsx +5 -17
  296. package/src/widgets/DocumentTitle.ts +95 -92
  297. package/src/widgets/Heading.ts +2 -2
  298. package/src/widgets/HtmlElement.spec.helpers.tsx +108 -0
  299. package/src/widgets/HtmlElement.spec.tsx +20 -12
  300. package/src/widgets/HtmlElement.tsx +77 -23
  301. package/src/widgets/Icon.ts +3 -17
  302. package/src/widgets/List.tsx +6 -0
  303. package/src/widgets/ReactElementWrapper.spec.tsx +452 -0
  304. package/src/widgets/ReactElementWrapper.tsx +108 -0
  305. package/src/widgets/Sandbox.ts +103 -103
  306. package/src/widgets/autoFocus.ts +9 -9
  307. package/src/widgets/cx.ts +63 -63
  308. package/src/widgets/drag-drop/DragSource.tsx +3 -4
  309. package/src/widgets/drag-drop/DropZone.tsx +3 -4
  310. package/src/widgets/form/Checkbox.tsx +3 -0
  311. package/src/widgets/form/ColorField.tsx +3 -0
  312. package/src/widgets/form/DateTimeField.tsx +5 -0
  313. package/src/widgets/form/Field.tsx +0 -3
  314. package/src/widgets/form/Label.tsx +1 -0
  315. package/src/widgets/form/LabeledContainer.ts +22 -26
  316. package/src/widgets/form/LookupField.spec.tsx +93 -0
  317. package/src/widgets/form/LookupField.tsx +104 -9
  318. package/src/widgets/form/MonthField.tsx +5 -0
  319. package/src/widgets/form/NumberField.tsx +3 -0
  320. package/src/widgets/form/Radio.tsx +5 -0
  321. package/src/widgets/form/Select.tsx +5 -0
  322. package/src/widgets/form/Slider.tsx +4 -0
  323. package/src/widgets/form/Switch.tsx +3 -0
  324. package/src/widgets/form/TextField.tsx +62 -0
  325. package/src/widgets/form/TimeList.tsx +84 -73
  326. package/src/widgets/form/UploadButton.tsx +53 -2
  327. package/src/widgets/form/Validator.ts +40 -3
  328. package/src/widgets/grid/Grid.tsx +9 -12
  329. package/src/widgets/grid/GridCell.ts +143 -143
  330. package/src/widgets/grid/TreeNode.tsx +9 -0
  331. package/src/widgets/icons/calendar.tsx +17 -17
  332. package/src/widgets/icons/check.tsx +13 -13
  333. package/src/widgets/icons/clear.tsx +15 -15
  334. package/src/widgets/icons/close.tsx +20 -20
  335. package/src/widgets/icons/cx.tsx +38 -38
  336. package/src/widgets/icons/drop-down.tsx +15 -15
  337. package/src/widgets/icons/file.tsx +13 -13
  338. package/src/widgets/icons/folder-open.tsx +15 -15
  339. package/src/widgets/icons/folder.tsx +13 -13
  340. package/src/widgets/icons/forward.tsx +22 -22
  341. package/src/widgets/icons/loading.tsx +24 -24
  342. package/src/widgets/icons/menu.tsx +17 -17
  343. package/src/widgets/icons/pixel-picker.tsx +18 -18
  344. package/src/widgets/icons/search.tsx +13 -13
  345. package/src/widgets/icons/sort-asc.tsx +14 -14
  346. package/src/widgets/icons/square.tsx +18 -18
  347. package/src/widgets/index.ts +1 -0
  348. package/src/widgets/nav/MenuItem.tsx +3 -2
  349. package/src/widgets/nav/Route.ts +142 -142
  350. package/src/widgets/nav/Scroller.tsx +8 -9
  351. package/src/widgets/nav/Tab.ts +2 -2
  352. package/src/widgets/overlay/ContextMenu.ts +42 -42
  353. package/src/widgets/overlay/Dropdown.tsx +762 -762
  354. package/src/widgets/overlay/MsgBox.tsx +141 -141
  355. package/src/widgets/overlay/Overlay.tsx +5 -4
  356. package/src/widgets/overlay/Toast.ts +111 -111
  357. package/src/widgets/overlay/Window.tsx +299 -299
  358. package/src/widgets/overlay/alerts.ts +46 -46
  359. package/src/widgets/overlay/captureMouse.ts +195 -195
  360. package/src/widgets/overlay/createHotPromiseWindowFactory.ts +72 -72
  361. package/src/widgets/overlay/index.d.ts +11 -11
  362. package/src/widgets/overlay/index.ts +11 -11
  363. package/src/widgets/overlay/tooltip-ops.ts +173 -173
package/dist/widgets.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FocusManager,
3
3
  Instance,
4
- ContainerBase,
4
+ StyledContainerBase,
5
5
  Url,
6
6
  VDOM,
7
7
  Widget,
@@ -9,7 +9,6 @@ import {
9
9
  flattenProps,
10
10
  preventFocus,
11
11
  getContentArray,
12
- StyledContainerBase,
13
12
  GroupAdapter,
14
13
  Selection,
15
14
  getContent,
@@ -19,6 +18,7 @@ import {
19
18
  batchUpdates,
20
19
  oneFocusOut,
21
20
  PureContainerBase,
21
+ ContainerBase,
22
22
  ZIndexManager,
23
23
  startAppLoop,
24
24
  ResizeManager,
@@ -63,7 +63,7 @@ export {
63
63
  TreeAdapter,
64
64
  Widget,
65
65
  } from "cx/ui";
66
- import { jsx, jsxs as jsxs$1 } from "react/jsx-runtime";
66
+ import { jsx, jsxs } from "react/jsx-runtime";
67
67
  import {
68
68
  isTouchEvent,
69
69
  isUndefined,
@@ -83,6 +83,7 @@ import {
83
83
  parseStyle,
84
84
  getParentFrameBoundingClientRect,
85
85
  getSearchQueryHighlighter,
86
+ isNonEmptyArray,
86
87
  getTopLevelBoundingClientRect,
87
88
  isObject,
88
89
  Console,
@@ -97,7 +98,6 @@ import {
97
98
  findFirst,
98
99
  isFocusable,
99
100
  closestParent,
100
- isNonEmptyArray,
101
101
  tooltipsFlag,
102
102
  shallowEquals,
103
103
  stopPropagation,
@@ -143,9 +143,16 @@ import {
143
143
  getSelector,
144
144
  enableFatArrowExpansion,
145
145
  } from "cx/data";
146
- import { jsx as jsx$1, jsxs } from "cx/jsx-runtime";
146
+ import { jsx as jsx$1, jsxs as jsxs$1 } from "cx/jsx-runtime";
147
147
  import RouteMatcher from "route-parser";
148
148
 
149
+ function autoFocus(el, component) {
150
+ let data = component.props.data || component.props.instance.data;
151
+ let autoFocusValue = el && data.autoFocus;
152
+ if (autoFocusValue && autoFocusValue != component.autoFocusValue && !isTouchEvent()) FocusManager.focus(el);
153
+ component.autoFocusValue = autoFocusValue;
154
+ }
155
+
149
156
  let impl$1 = false;
150
157
  function tooltipMouseMove$1(e, parentInstance, tooltip, options) {
151
158
  if (impl$1 && tooltip) {
@@ -181,13 +188,6 @@ function wireTooltipOps(ops) {
181
188
  impl$1 = ops;
182
189
  }
183
190
 
184
- function autoFocus(el, component) {
185
- let data = component.props.data || component.props.instance.data;
186
- let autoFocusValue = el && data.autoFocus;
187
- if (autoFocusValue && autoFocusValue != component.autoFocusValue && !isTouchEvent()) FocusManager.focus(el);
188
- component.autoFocusValue = autoFocusValue;
189
- }
190
-
191
191
  const isDataAttribute = (attr) => (attr.indexOf("data-") === 0 ? attr.substring(5) : false);
192
192
  let urlAttributes = {
193
193
  "a.href": true,
@@ -197,7 +197,7 @@ let urlAttributes = {
197
197
  class HtmlElementInstance extends Instance {
198
198
  events;
199
199
  }
200
- class HtmlElement extends ContainerBase {
200
+ class HtmlElement extends StyledContainerBase {
201
201
  constructor(config) {
202
202
  super(config);
203
203
  if (isUndefined(this.jsxAttributes) && config)
@@ -360,7 +360,6 @@ class HtmlElement extends ContainerBase {
360
360
  }
361
361
  }
362
362
  HtmlElement.prototype.tag = "div";
363
- HtmlElement.prototype.styled = true;
364
363
  class ContainerComponent extends VDOM.Component {
365
364
  el = null;
366
365
  constructor(props) {
@@ -541,6 +540,44 @@ function restoreDefaultIcons() {
541
540
  };
542
541
  }
543
542
 
543
+ registerIcon(
544
+ "calendar",
545
+ (props) => {
546
+ return jsxs("svg", {
547
+ ...props,
548
+ viewBox: "0 0 32 32",
549
+ children: [
550
+ jsx("path", {
551
+ d: "M4 3h6m10 0h6",
552
+ fill: "none",
553
+ stroke: "currentColor",
554
+ strokeWidth: "2",
555
+ }),
556
+ jsx("path", {
557
+ d: "M19 21h4v4h-4z",
558
+ fill: "currentColor",
559
+ }),
560
+ jsx("path", {
561
+ d: "M3 25h24M3 21h24M3 17h24M7 28V13m-4 0h24M11 28V13.2M15 28V13.27M19 28V13.03M23 28V13.5",
562
+ fill: "none",
563
+ stroke: "currentColor",
564
+ }),
565
+ jsx("path", {
566
+ fill: "currentColor",
567
+ d: "M10 8h10v2H10z",
568
+ }),
569
+ jsx("path", {
570
+ fill: "none",
571
+ stroke: "currentColor",
572
+ strokeWidth: "2",
573
+ d: "M3 5h24v24H3z",
574
+ }),
575
+ ],
576
+ });
577
+ },
578
+ true,
579
+ );
580
+
544
581
  var CheckIcon = registerIcon(
545
582
  "check",
546
583
  (props) => {
@@ -573,6 +610,23 @@ var ClearIcon = registerIcon(
573
610
  true,
574
611
  );
575
612
 
613
+ registerIcon(
614
+ "close",
615
+ (props) => {
616
+ return jsx("svg", {
617
+ ...props,
618
+ viewBox: "0 0 32 32",
619
+ children: jsx("path", {
620
+ fill: "currentColor",
621
+ strokeWidth: "1",
622
+ stroke: "currentColor",
623
+ d: "M17.8 16l9.84-9.84c.48-.48.48-1.2 0-1.68s-1.2-.48-1.68 0l-9.84 9.84L6.04 4.36c-.48-.48-1.2-.48-1.68 0s-.48 1.2 0 1.68L14.32 16l-9.96 9.96c-.48.48-.48 1.2 0 1.68s1.2.48 1.68 0L16 17.68l9.96 9.96c.48.48 1.2.48 1.68 0s.48-1.2 0-1.68L17.8 16z",
624
+ }),
625
+ });
626
+ },
627
+ true,
628
+ );
629
+
576
630
  var DropdownIcon = registerIcon(
577
631
  "drop-down",
578
632
  (props) => {
@@ -590,6 +644,248 @@ var DropdownIcon = registerIcon(
590
644
  true,
591
645
  );
592
646
 
647
+ registerIcon(
648
+ "folder",
649
+ (props) => {
650
+ return jsx("svg", {
651
+ ...props,
652
+ viewBox: "0 0 16 16",
653
+ children: jsx("path", {
654
+ d: "M1 5h13v9H1zm1 0h6L7 3H3z",
655
+ fill: "currentColor",
656
+ stroke: "none",
657
+ }),
658
+ });
659
+ },
660
+ true,
661
+ );
662
+
663
+ registerIcon(
664
+ "folder-open",
665
+ (props) => {
666
+ return jsxs("svg", {
667
+ ...props,
668
+ viewBox: "0 0 16 16",
669
+ children: [
670
+ jsx("path", {
671
+ d: "M0 5v7l2.5-6H13V5zm1 0h6L6 3H2z",
672
+ fill: "currentColor",
673
+ stroke: "none",
674
+ }),
675
+ jsx("path", {
676
+ d: "M3 7h13l-3 7H0z",
677
+ fill: "currentColor",
678
+ stroke: "none",
679
+ }),
680
+ ],
681
+ });
682
+ },
683
+ true,
684
+ );
685
+
686
+ registerIcon(
687
+ "menu",
688
+ (props) => {
689
+ return jsxs("svg", {
690
+ ...props,
691
+ viewBox: "0 0 24 24",
692
+ children: [
693
+ jsx("path", {
694
+ d: "M0 0h24v24H0z",
695
+ fill: "none",
696
+ }),
697
+ jsx("path", {
698
+ d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
699
+ fill: "currentColor",
700
+ }),
701
+ ],
702
+ });
703
+ },
704
+ true,
705
+ );
706
+
707
+ registerIcon(
708
+ "loading",
709
+ (props) => {
710
+ let style = {
711
+ animation: "linear infinite 0.5s cx-rotate",
712
+ };
713
+ if (props && props.style) Object.assign(style, props.style);
714
+ props = {
715
+ ...props,
716
+ style,
717
+ };
718
+ return jsx("svg", {
719
+ ...props,
720
+ viewBox: "0 0 50 50",
721
+ children: jsx("path", {
722
+ fill: "currentColor",
723
+ d: "M43.94 25.14c0-10.3-8.37-18.68-18.7-18.68-10.3 0-18.67 8.37-18.67 18.68h4.07c0-8.07 6.54-14.6 14.6-14.6 8.08 0 14.63 6.53 14.63 14.6h4.07z",
724
+ }),
725
+ });
726
+ },
727
+ true,
728
+ );
729
+
730
+ registerIcon(
731
+ "search",
732
+ (props) => {
733
+ return jsx("svg", {
734
+ ...props,
735
+ viewBox: "0 0 32 32",
736
+ children: jsx("path", {
737
+ fill: "currentColor",
738
+ d: "M25.595 22.036l-5.26-5.075c.75-1.18 1.206-2.56 1.206-4.05 0-4.32-3.63-7.82-8.103-7.82-4.477 0-8.107 3.503-8.107 7.82 0 4.32 3.63 7.825 8.106 7.825 1.544 0 2.972-.44 4.198-1.162l5.26 5.074c.37.356.98.354 1.35 0l1.352-1.304c.37-.357.37-.947 0-1.304zm-12.16-3.91c-2.985 0-5.405-2.336-5.405-5.216 0-2.88 2.42-5.214 5.405-5.214 2.984 0 5.404 2.335 5.404 5.214 0 2.88-2.42 5.215-5.407 5.215z",
739
+ }),
740
+ });
741
+ },
742
+ true,
743
+ );
744
+
745
+ registerIcon(
746
+ "cx",
747
+ (props) => {
748
+ return jsx("svg", {
749
+ ...props,
750
+ viewBox: "-347 249.7 48 48",
751
+ children: jsxs("g", {
752
+ children: [
753
+ jsx("path", {
754
+ fill: "currentColor",
755
+ opacity: "0.7",
756
+ d: "M-337.1 273.16l-4.23-7.33h8.46z",
757
+ }),
758
+ jsx("path", {
759
+ fill: "currentColor",
760
+ d: "M-318.32 273.16l-4.23-7.33h8.46z",
761
+ }),
762
+ jsx("path", {
763
+ fill: "currentColor",
764
+ opacity: "0.7",
765
+ d: "M-337.53 273.43h-8.45l4.22-7.33z",
766
+ }),
767
+ jsx("path", {
768
+ fill: "currentColor",
769
+ d: "M-309.38 273.43h-8.46l4.23-7.33z",
770
+ }),
771
+ jsx("path", {
772
+ fill: "currentColor",
773
+ opacity: "0.7",
774
+ d: "M-332.4 265.03l-4.22-7.33h8.46z",
775
+ }),
776
+ jsx("path", {
777
+ fill: "currentColor",
778
+ d: "M-304.24 265.03l-4.23-7.33h8.45z",
779
+ }),
780
+ jsx("path", {
781
+ fill: "currentColor",
782
+ d: "M-322.97 265.03l-4.28-7.33h8.5z",
783
+ }),
784
+ jsx("path", {
785
+ fill: "currentColor",
786
+ opacity: "0.7",
787
+ d: "M-332.87 265.3h-8.46l4.23-7.33z",
788
+ }),
789
+ jsx("path", {
790
+ fill: "currentColor",
791
+ opacity: "0.7",
792
+ d: "M-323.45 265.3h-8.46l4.2-7.33z",
793
+ }),
794
+ jsx("path", {
795
+ fill: "currentColor",
796
+ d: "M-314.1 265.3h-8.45l4.23-7.33z",
797
+ }),
798
+ jsx("path", {
799
+ fill: "currentColor",
800
+ d: "M-308.9 273.16l-4.23-7.33h8.46z",
801
+ }),
802
+ jsx("path", {
803
+ fill: "currentColor",
804
+ d: "M-304.67 265.3h-8.46l4.23-7.33z",
805
+ }),
806
+ jsx("path", {
807
+ fill: "currentColor",
808
+ d: "M-314.1 281.57h-8.45l4.23-7.33z",
809
+ }),
810
+ jsx("path", {
811
+ fill: "currentColor",
812
+ d: "M-313.6 281.3l-4.24-7.33h8.46z",
813
+ }),
814
+ jsx("path", {
815
+ fill: "currentColor",
816
+ d: "M-318.32 289.43l-4.23-7.33h8.46z",
817
+ }),
818
+ jsx("path", {
819
+ fill: "currentColor",
820
+ d: "M-304.67 281.57h-8.46l4.23-7.33z",
821
+ }),
822
+ jsx("path", {
823
+ fill: "currentColor",
824
+ d: "M-308.9 289.43l-4.23-7.33h8.46z",
825
+ }),
826
+ jsx("path", {
827
+ fill: "currentColor",
828
+ opacity: "0.7",
829
+ d: "M-341.76 281.3l-4.22-7.33h8.45z",
830
+ }),
831
+ jsx("path", {
832
+ fill: "currentColor",
833
+ opacity: "0.7",
834
+ d: "M-332.87 281.57h-8.46l4.23-7.33z",
835
+ }),
836
+ jsx("path", {
837
+ fill: "currentColor",
838
+ opacity: "0.7",
839
+ d: "M-337.1 289.43l-4.23-7.33h8.46z",
840
+ }),
841
+ jsx("path", {
842
+ fill: "currentColor",
843
+ opacity: "0.7",
844
+ d: "M-327.68 289.43l-4.23-7.33h8.43z",
845
+ }),
846
+ jsx("path", {
847
+ fill: "currentColor",
848
+ opacity: "0.7",
849
+ d: "M-328.16 289.7h-8.46l4.23-7.33z",
850
+ }),
851
+ jsx("path", {
852
+ fill: "currentColor",
853
+ d: "M-318.75 289.7h-8.5l4.28-7.33z",
854
+ }),
855
+ jsx("path", {
856
+ fill: "currentColor",
857
+ d: "M-300.02 289.7h-8.45l4.23-7.33z",
858
+ }),
859
+ ],
860
+ }),
861
+ });
862
+ },
863
+ true,
864
+ );
865
+
866
+ registerIcon(
867
+ "file",
868
+ (props) => {
869
+ return jsxs("svg", {
870
+ ...props,
871
+ viewBox: "0 0 16 16",
872
+ children: [
873
+ jsx("path", {
874
+ d: "M2 2h5v5h5v7H2z",
875
+ fill: "currentColor",
876
+ stroke: "none",
877
+ }),
878
+ jsx("path", {
879
+ d: "M8 2v4h4z",
880
+ fill: "currentColor",
881
+ stroke: "none",
882
+ }),
883
+ ],
884
+ });
885
+ },
886
+ true,
887
+ );
888
+
593
889
  class Icon extends Widget {
594
890
  declareData(...args) {
595
891
  super.declareData(...args, {
@@ -662,7 +958,7 @@ class Button extends HtmlElement {
662
958
  super.attachProps(context, instance, props);
663
959
  if (!this.focusOnMouseDown) {
664
960
  props.onMouseDown = (e) => {
665
- if (this.onMouseDown && instance.invoke("onMouseDown", e.nativeEvent, instance) === false) return;
961
+ if (this.onMouseDown && instance.invoke("onMouseDown", e, instance) === false) return;
666
962
  preventFocus(e);
667
963
  };
668
964
  }
@@ -1366,7 +1662,7 @@ class CxCredit extends HtmlElement {
1366
1662
  mouseTrap: true,
1367
1663
  title: "Credits",
1368
1664
  items: jsx$1("cx", {
1369
- children: jsxs("div", {
1665
+ children: jsxs$1("div", {
1370
1666
  ws: true,
1371
1667
  children: [
1372
1668
  "User interface of this project is implemented using the CxJS framework. For more information about CxJS, please visit",
@@ -1510,7 +1806,7 @@ class Section extends ContainerBase {
1510
1806
  children: getContent(components.footer.render(context)),
1511
1807
  });
1512
1808
  }
1513
- return jsxs$1(
1809
+ return jsxs(
1514
1810
  "section",
1515
1811
  {
1516
1812
  className: data.classNames,
@@ -1633,7 +1929,7 @@ class ProgressBar extends Widget {
1633
1929
  let { text, value, disabled } = data;
1634
1930
  let { CSS, baseClass } = widget;
1635
1931
  if (!isNumber(value)) value = 0;
1636
- return jsxs$1(
1932
+ return jsxs(
1637
1933
  "div",
1638
1934
  {
1639
1935
  className: CSS.expand(
@@ -1985,6 +2281,66 @@ class HighlightedSearchText extends Widget {
1985
2281
  HighlightedSearchText.prototype.styled = true;
1986
2282
  HighlightedSearchText.prototype.baseClass = "highlightedsearchtext";
1987
2283
 
2284
+ class ReactElementWrapper extends ContainerBase {
2285
+ init() {
2286
+ // Collect all props to pass to the React component
2287
+ this.props = {};
2288
+ if (this.jsxAttributes) {
2289
+ for (const attr of this.jsxAttributes) {
2290
+ // Skip CxJS reserved attributes and children-related attributes
2291
+ if (
2292
+ attr === "componentType" ||
2293
+ attr === "visible" ||
2294
+ attr === "if" ||
2295
+ attr === "controller" ||
2296
+ attr === "jsxAttributes" ||
2297
+ attr === "layout" ||
2298
+ attr === "outerLayout" ||
2299
+ attr === "putInto" ||
2300
+ attr === "contentFor" ||
2301
+ attr === "children" ||
2302
+ attr === "items"
2303
+ )
2304
+ continue;
2305
+ this.props[attr] = this[attr];
2306
+ }
2307
+ }
2308
+ super.init();
2309
+ }
2310
+ initInstance(_context, _instance) {
2311
+ let events;
2312
+ if (!isNonEmptyArray(this.jsxAttributes)) return;
2313
+ events = {};
2314
+ for (let prop of this.jsxAttributes) {
2315
+ let f = this[prop];
2316
+ if (prop.startsWith("on") && isFunction(f)) events[prop] = (...args) => f.apply(_instance, args);
2317
+ }
2318
+ }
2319
+ declareData(...args) {
2320
+ super.declareData(
2321
+ {
2322
+ props: {
2323
+ structured: true,
2324
+ },
2325
+ },
2326
+ ...args,
2327
+ );
2328
+ }
2329
+ render(context, instance, key) {
2330
+ const { data } = instance;
2331
+ // Render CxJS children to React elements
2332
+ let children = this.renderChildren(context, instance);
2333
+ if (children && isArray(children) && children.length === 0) children = undefined;
2334
+ const props = {
2335
+ key,
2336
+ ...data.props,
2337
+ ...instance.events,
2338
+ children,
2339
+ };
2340
+ return VDOM.createElement(this.componentType, props);
2341
+ }
2342
+ }
2343
+
1988
2344
  let dropZones = [];
1989
2345
  let dragStartedZones = null;
1990
2346
  let activeZone = null;
@@ -2544,7 +2900,7 @@ class OverlayComponent extends VDOM.Component {
2544
2900
  });
2545
2901
  let result = content;
2546
2902
  if (widget.modal || widget.backdrop) {
2547
- result = jsxs$1(
2903
+ result = jsxs(
2548
2904
  "div",
2549
2905
  {
2550
2906
  ref: (el) => {
@@ -3926,7 +4282,7 @@ class MsgBox {
3926
4282
  };
3927
4283
  let w = Window.create(
3928
4284
  jsx$1("cx", {
3929
- children: jsxs(Window, {
4285
+ children: jsxs$1(Window, {
3930
4286
  title: opts.title,
3931
4287
  header: opts.header,
3932
4288
  mod: "alert",
@@ -3971,7 +4327,7 @@ class MsgBox {
3971
4327
  };
3972
4328
  let w = Window.create(
3973
4329
  jsx$1("cx", {
3974
- children: jsxs(Window, {
4330
+ children: jsxs$1(Window, {
3975
4331
  title: opts.title,
3976
4332
  header: opts.header,
3977
4333
  mod: "alert",
@@ -3983,7 +4339,7 @@ class MsgBox {
3983
4339
  dismissOnPopState: true,
3984
4340
  children: [
3985
4341
  opts.message || opts.items || opts.children,
3986
- jsxs(FlexRow, {
4342
+ jsxs$1(FlexRow, {
3987
4343
  putInto: "footer",
3988
4344
  direction: MsgBox.prototype.footerDirection,
3989
4345
  justify: MsgBox.prototype.footerJustify,
@@ -4670,7 +5026,7 @@ let MenuItemComponent$1 = class MenuItemComponent extends VDOM.Component {
4670
5026
  className: CSS.element(baseClass, "baseline"),
4671
5027
  children: "\u00A0",
4672
5028
  });
4673
- return jsxs$1("div", {
5029
+ return jsxs("div", {
4674
5030
  className: classNames,
4675
5031
  style: data.style,
4676
5032
  tabIndex: !data.disabled && (widget.dropdown || widget.onClick || widget.checked) ? 0 : undefined,
@@ -5243,7 +5599,10 @@ class MenuItemComponent extends VDOM.Component {
5243
5599
 
5244
5600
  class Submenu extends MenuItem {}
5245
5601
 
5246
- class Scroller extends Container {
5602
+ class Scroller extends StyledContainerBase {
5603
+ constructor(config) {
5604
+ super(config);
5605
+ }
5247
5606
  init() {
5248
5607
  if (!this.vertical) this.horizontal = true; //default
5249
5608
  super.init();
@@ -5265,7 +5624,6 @@ class Scroller extends Container {
5265
5624
  );
5266
5625
  }
5267
5626
  }
5268
- Scroller.prototype.styled = true;
5269
5627
  Scroller.prototype.baseClass = "scroller";
5270
5628
  class HScrollerComponent extends VDOM.Component {
5271
5629
  unsubscribeResize;
@@ -5290,7 +5648,7 @@ class HScrollerComponent extends VDOM.Component {
5290
5648
  render() {
5291
5649
  let { data, children, widget } = this.props;
5292
5650
  let { CSS, baseClass } = widget;
5293
- return jsxs$1("div", {
5651
+ return jsxs("div", {
5294
5652
  className: CSS.expand(
5295
5653
  data.classNames,
5296
5654
  CSS.state({
@@ -5905,7 +6263,7 @@ class Field extends PureContainerBase {
5905
6263
  renderWrap(context, instance, key, content) {
5906
6264
  let { data } = instance;
5907
6265
  let interactive = !data.viewMode && !data.disabled;
5908
- return jsxs$1(
6266
+ return jsxs(
5909
6267
  "div",
5910
6268
  {
5911
6269
  className: data.classNames,
@@ -6087,7 +6445,7 @@ let Input$2 = class Input extends VDOM.Component {
6087
6445
  });
6088
6446
  }
6089
6447
  let empty = this.input ? !this.trimmed(this.input.value) : data.empty;
6090
- return jsxs$1("div", {
6448
+ return jsxs("div", {
6091
6449
  className: CSS.expand(
6092
6450
  data.classNames,
6093
6451
  CSS.state({
@@ -6284,7 +6642,7 @@ class Checkbox extends Field {
6284
6642
  }
6285
6643
  renderWrap(context, instance, key, content) {
6286
6644
  let { data } = instance;
6287
- return jsxs$1(
6645
+ return jsxs(
6288
6646
  "label",
6289
6647
  {
6290
6648
  className: data.classNames,
@@ -6426,7 +6784,7 @@ class CheckboxCmp extends VDOM.Component {
6426
6784
  let check = false;
6427
6785
  if (this.state.value == null && widget.indeterminate) check = "indeterminate";
6428
6786
  else if (this.state.value) check = "check";
6429
- return jsxs$1(
6787
+ return jsxs(
6430
6788
  "span",
6431
6789
  {
6432
6790
  tabIndex: widget.unfocusable || data.disabled ? undefined : data.tabIndex || 0,
@@ -6516,7 +6874,7 @@ class Radio extends Field {
6516
6874
  }
6517
6875
  renderWrap(context, instance, key, content) {
6518
6876
  var { data } = instance;
6519
- return jsxs$1(
6877
+ return jsxs(
6520
6878
  "label",
6521
6879
  {
6522
6880
  className: data.classNames,
@@ -6776,7 +7134,7 @@ class SelectComponent extends VDOM.Component {
6776
7134
  children: data.placeholder,
6777
7135
  });
6778
7136
  }
6779
- return jsxs$1("div", {
7137
+ return jsxs("div", {
6780
7138
  className: CSS.expand(
6781
7139
  data.classNames,
6782
7140
  CSS.state({
@@ -6791,7 +7149,7 @@ class SelectComponent extends VDOM.Component {
6791
7149
  onMouseDown: stopPropagation,
6792
7150
  onTouchStart: stopPropagation,
6793
7151
  children: [
6794
- jsxs$1("select", {
7152
+ jsxs("select", {
6795
7153
  id: data.id,
6796
7154
  ref: (el) => {
6797
7155
  this.select = el;
@@ -6908,7 +7266,7 @@ Widget.alias("option", Option);
6908
7266
  var ForwardIcon = registerIcon(
6909
7267
  "forward",
6910
7268
  (props) => {
6911
- return jsxs$1("svg", {
7269
+ return jsxs("svg", {
6912
7270
  ...props,
6913
7271
  viewBox: "0 0 20 20",
6914
7272
  children: [
@@ -7380,7 +7738,7 @@ class CalendarCmp extends VDOM.Component {
7380
7738
  date.setDate(date.getDate() + 1);
7381
7739
  }
7382
7740
  weeks.push(
7383
- jsxs$1(
7741
+ jsxs(
7384
7742
  "tr",
7385
7743
  {
7386
7744
  className: CSS.element(baseClass, "week"),
@@ -7394,7 +7752,7 @@ class CalendarCmp extends VDOM.Component {
7394
7752
  let monthNames = culture.getMonthNames("long");
7395
7753
  let dayNames = culture.getWeekdayNames("short").map((x) => x.substr(0, 2));
7396
7754
  if (startWithMonday) dayNames = [...dayNames.slice(1), dayNames[0]];
7397
- return jsxs$1("div", {
7755
+ return jsxs("div", {
7398
7756
  className: data.classNames,
7399
7757
  tabIndex: data.disabled || !data.focusable ? null : data.tabIndex || 0,
7400
7758
  onKeyDown: (e) => this.handleKeyPress(e),
@@ -7416,11 +7774,11 @@ class CalendarCmp extends VDOM.Component {
7416
7774
  onBlur: (e) => this.handleBlur(e),
7417
7775
  children: [
7418
7776
  this.state.activeView == "calendar" &&
7419
- jsxs$1("table", {
7777
+ jsxs("table", {
7420
7778
  children: [
7421
- jsxs$1("thead", {
7779
+ jsxs("thead", {
7422
7780
  children: [
7423
- jsxs$1(
7781
+ jsxs(
7424
7782
  "tr",
7425
7783
  {
7426
7784
  className: CSS.element(baseClass, "header"),
@@ -7438,7 +7796,7 @@ class CalendarCmp extends VDOM.Component {
7438
7796
  className: CSS.element(baseClass, "icon-prev-month"),
7439
7797
  }),
7440
7798
  }),
7441
- jsxs$1("th", {
7799
+ jsxs("th", {
7442
7800
  className: CSS.element(baseClass, "display"),
7443
7801
  colSpan: 3,
7444
7802
  children: [
@@ -7468,7 +7826,7 @@ class CalendarCmp extends VDOM.Component {
7468
7826
  },
7469
7827
  "h",
7470
7828
  ),
7471
- jsxs$1(
7829
+ jsxs(
7472
7830
  "tr",
7473
7831
  {
7474
7832
  className: CSS.element(baseClass, "day-names"),
@@ -7953,7 +8311,7 @@ class LookupComponent extends VDOM.Component {
7953
8311
  "msg",
7954
8312
  );
7955
8313
  }
7956
- return jsxs$1(
8314
+ return jsxs(
7957
8315
  "div",
7958
8316
  {
7959
8317
  ref: (el) => {
@@ -8101,7 +8459,7 @@ class LookupComponent extends VDOM.Component {
8101
8459
  if (isNonEmptyArray(data.records)) {
8102
8460
  let valueTextFormatter = widget.onGetRecordDisplayText ?? ((record) => record[widget.valueTextField]);
8103
8461
  text = data.records.map((v, i) =>
8104
- jsxs$1(
8462
+ jsxs(
8105
8463
  "div",
8106
8464
  {
8107
8465
  className: CSS.element(baseClass, "tag", {
@@ -8142,7 +8500,7 @@ class LookupComponent extends VDOM.Component {
8142
8500
  empty: !data.placeholder && data.empty,
8143
8501
  error: data.error && (state.visited || !suppressErrorsUntilVisited || !data.empty),
8144
8502
  };
8145
- return jsxs$1("div", {
8503
+ return jsxs("div", {
8146
8504
  className: CSS.expand(data.classNames, CSS.state(states)),
8147
8505
  style: data.style,
8148
8506
  onMouseDown: stopPropagation,
@@ -8737,7 +9095,7 @@ let Input$1 = class Input extends VDOM.Component {
8737
9095
  });
8738
9096
  }
8739
9097
  let empty = this.input ? !this.input.value : data.empty;
8740
- return jsxs$1("div", {
9098
+ return jsxs("div", {
8741
9099
  className: CSS.expand(
8742
9100
  data.classNames,
8743
9101
  CSS.state({
@@ -9044,7 +9402,7 @@ class Input extends VDOM.Component {
9044
9402
  let { widget, data, state } = instance;
9045
9403
  let { CSS, baseClass, suppressErrorsUntilVisited } = widget;
9046
9404
  let empty = this.input ? !this.input.value : data.empty;
9047
- return jsxs$1("div", {
9405
+ return jsxs("div", {
9048
9406
  className: CSS.expand(
9049
9407
  data.classNames,
9050
9408
  CSS.state({
@@ -9840,7 +10198,7 @@ class MonthPickerComponent extends VDOM.Component {
9840
10198
  }
9841
10199
  years.push(rows);
9842
10200
  }
9843
- return jsxs$1("div", {
10201
+ return jsxs("div", {
9844
10202
  ref: (el) => {
9845
10203
  this.dom.el = el;
9846
10204
  },
@@ -10111,7 +10469,7 @@ class ColorPickerComponent extends VDOM.Component {
10111
10469
  children: jsx(PixelPickerIcon, {}),
10112
10470
  });
10113
10471
  }
10114
- return jsxs$1("div", {
10472
+ return jsxs("div", {
10115
10473
  className: data.classNames,
10116
10474
  style: data.style,
10117
10475
  onBlur: this.onBlur.bind(this),
@@ -10134,7 +10492,7 @@ class ColorPickerComponent extends VDOM.Component {
10134
10492
  },
10135
10493
  }),
10136
10494
  }),
10137
- jsxs$1("div", {
10495
+ jsxs("div", {
10138
10496
  className: CSS.element(baseClass, "details"),
10139
10497
  children: [
10140
10498
  jsx("div", {
@@ -10151,10 +10509,10 @@ class ColorPickerComponent extends VDOM.Component {
10151
10509
  },
10152
10510
  }),
10153
10511
  }),
10154
- jsxs$1("div", {
10512
+ jsxs("div", {
10155
10513
  className: CSS.element(baseClass, "inputs"),
10156
10514
  children: [
10157
- jsxs$1("label", {
10515
+ jsxs("label", {
10158
10516
  children: [
10159
10517
  "H ",
10160
10518
  jsx("input", {
@@ -10168,7 +10526,7 @@ class ColorPickerComponent extends VDOM.Component {
10168
10526
  }),
10169
10527
  ],
10170
10528
  }),
10171
- jsxs$1("label", {
10529
+ jsxs("label", {
10172
10530
  children: [
10173
10531
  "S ",
10174
10532
  jsx("input", {
@@ -10182,7 +10540,7 @@ class ColorPickerComponent extends VDOM.Component {
10182
10540
  }),
10183
10541
  ],
10184
10542
  }),
10185
- jsxs$1("label", {
10543
+ jsxs("label", {
10186
10544
  children: [
10187
10545
  "L ",
10188
10546
  jsx("input", {
@@ -10196,7 +10554,7 @@ class ColorPickerComponent extends VDOM.Component {
10196
10554
  }),
10197
10555
  ],
10198
10556
  }),
10199
- jsxs$1("label", {
10557
+ jsxs("label", {
10200
10558
  children: [
10201
10559
  "A ",
10202
10560
  jsx("input", {
@@ -10212,7 +10570,7 @@ class ColorPickerComponent extends VDOM.Component {
10212
10570
  }),
10213
10571
  ],
10214
10572
  }),
10215
- jsxs$1("div", {
10573
+ jsxs("div", {
10216
10574
  className: CSS.element(baseClass, "alpha"),
10217
10575
  onMouseDown: this.onAlphaSelect.bind(this),
10218
10576
  onTouchStart: this.onAlphaSelect.bind(this),
@@ -10233,10 +10591,10 @@ class ColorPickerComponent extends VDOM.Component {
10233
10591
  }),
10234
10592
  ],
10235
10593
  }),
10236
- jsxs$1("div", {
10594
+ jsxs("div", {
10237
10595
  className: CSS.element(baseClass, "inputs"),
10238
10596
  children: [
10239
- jsxs$1("label", {
10597
+ jsxs("label", {
10240
10598
  children: [
10241
10599
  "R ",
10242
10600
  jsx("input", {
@@ -10250,7 +10608,7 @@ class ColorPickerComponent extends VDOM.Component {
10250
10608
  }),
10251
10609
  ],
10252
10610
  }),
10253
- jsxs$1("label", {
10611
+ jsxs("label", {
10254
10612
  children: [
10255
10613
  "G ",
10256
10614
  jsx("input", {
@@ -10264,7 +10622,7 @@ class ColorPickerComponent extends VDOM.Component {
10264
10622
  }),
10265
10623
  ],
10266
10624
  }),
10267
- jsxs$1("label", {
10625
+ jsxs("label", {
10268
10626
  children: [
10269
10627
  "B ",
10270
10628
  jsx("input", {
@@ -10278,7 +10636,7 @@ class ColorPickerComponent extends VDOM.Component {
10278
10636
  }),
10279
10637
  ],
10280
10638
  }),
10281
- jsxs$1("label", {
10639
+ jsxs("label", {
10282
10640
  children: [
10283
10641
  "A ",
10284
10642
  jsx("input", {
@@ -10294,7 +10652,7 @@ class ColorPickerComponent extends VDOM.Component {
10294
10652
  }),
10295
10653
  ],
10296
10654
  }),
10297
- jsxs$1("div", {
10655
+ jsxs("div", {
10298
10656
  className: CSS.element(baseClass, "preview"),
10299
10657
  children: [
10300
10658
  jsx("div", {
@@ -10314,7 +10672,7 @@ class ColorPickerComponent extends VDOM.Component {
10314
10672
  }),
10315
10673
  }),
10316
10674
  }),
10317
- jsxs$1("div", {
10675
+ jsxs("div", {
10318
10676
  className: CSS.element(baseClass, "values"),
10319
10677
  children: [
10320
10678
  jsx("input", {
@@ -10738,7 +11096,7 @@ class MonthInput extends VDOM.Component {
10738
11096
  subscribe: true,
10739
11097
  });
10740
11098
  let empty = this.input ? !this.input.value : data.empty;
10741
- return jsxs$1("div", {
11099
+ return jsxs("div", {
10742
11100
  className: CSS.expand(
10743
11101
  data.classNames,
10744
11102
  CSS.state({
@@ -11090,7 +11448,7 @@ class ColorInput extends VDOM.Component {
11090
11448
  subscribe: true,
11091
11449
  });
11092
11450
  let empty = this.input ? !this.input.value : data.empty;
11093
- return jsxs$1("div", {
11451
+ return jsxs("div", {
11094
11452
  className: CSS.expand(
11095
11453
  data.classNames,
11096
11454
  CSS.state({
@@ -11289,8 +11647,10 @@ class ColorInput extends VDOM.Component {
11289
11647
  }
11290
11648
  }
11291
11649
 
11292
- //TODO: Implement UploadStatus which will enable canceling
11293
11650
  class UploadButton extends Field {
11651
+ constructor(config) {
11652
+ super(config);
11653
+ }
11294
11654
  declareData(...args) {
11295
11655
  super.declareData(
11296
11656
  {
@@ -11345,7 +11705,7 @@ class UploadButtonComponent extends VDOM.Component {
11345
11705
  });
11346
11706
  className = CSS.expand(className, CSS.state("icon"), !isNonEmptyArray(children) && CSS.state("empty"));
11347
11707
  }
11348
- return jsxs$1("div", {
11708
+ return jsxs("div", {
11349
11709
  ref: (el) => {
11350
11710
  this.el = el || undefined;
11351
11711
  },
@@ -11583,7 +11943,7 @@ class SliderComponent extends VDOM.Component {
11583
11943
  [anchor]: `${(100 * rangeStart) / (maxValue - minValue)}%`,
11584
11944
  [widget.vertical ? "height" : "width"]: `${(100 * rangeSize) / (maxValue - minValue)}%`,
11585
11945
  };
11586
- return jsxs$1("div", {
11946
+ return jsxs("div", {
11587
11947
  className: data.classNames,
11588
11948
  style: data.style,
11589
11949
  id: data.id,
@@ -11594,7 +11954,7 @@ class SliderComponent extends VDOM.Component {
11594
11954
  children: [
11595
11955
  label,
11596
11956
  "\u00A0",
11597
- jsxs$1("div", {
11957
+ jsxs("div", {
11598
11958
  className: CSS.element(baseClass, "axis"),
11599
11959
  children: [
11600
11960
  rangeSize > 0 &&
@@ -11606,7 +11966,7 @@ class SliderComponent extends VDOM.Component {
11606
11966
  },
11607
11967
  "range",
11608
11968
  ),
11609
- jsxs$1(
11969
+ jsxs(
11610
11970
  "div",
11611
11971
  {
11612
11972
  className: CSS.element(baseClass, "space"),
@@ -11894,7 +12254,7 @@ class Switch extends Field {
11894
12254
  let { CSS, baseClass } = this;
11895
12255
  let text = data.text || this.renderChildren(context, instance);
11896
12256
  let renderTextElement = text?.length != 0;
11897
- return jsxs$1(
12257
+ return jsxs(
11898
12258
  "div",
11899
12259
  {
11900
12260
  className: data.classNames,
@@ -11930,7 +12290,7 @@ class Switch extends Field {
11930
12290
  children: [
11931
12291
  this.labelPlacement && getContent(this.renderLabel(context, instance, "label")),
11932
12292
  "\u00A0",
11933
- jsxs$1("div", {
12293
+ jsxs("div", {
11934
12294
  className: CSS.element(baseClass, "axis"),
11935
12295
  children: [
11936
12296
  jsx("div", {
@@ -12066,7 +12426,7 @@ class WheelComponent extends VDOM.Component {
12066
12426
  ...bpad,
12067
12427
  ];
12068
12428
  if (!this.state.wheelHeight) displayedOptions = displayedOptions.slice(this.index, this.index + size);
12069
- return jsxs$1("div", {
12429
+ return jsxs("div", {
12070
12430
  tabIndex: this.props.focusable ? 0 : undefined,
12071
12431
  className:
12072
12432
  className ||
@@ -12076,7 +12436,7 @@ class WheelComponent extends VDOM.Component {
12076
12436
  style: style,
12077
12437
  onKeyDown: this.onKeyDown,
12078
12438
  children: [
12079
- jsxs$1("div", {
12439
+ jsxs("div", {
12080
12440
  className: CSS.element(baseClass, "clip"),
12081
12441
  style: {
12082
12442
  width: this.state.wheelWidth,
@@ -12387,7 +12747,7 @@ class DateTimePickerComponent extends VDOM.Component {
12387
12747
  ),
12388
12748
  );
12389
12749
  }
12390
- return jsxs$1("div", {
12750
+ return jsxs("div", {
12391
12751
  tabIndex: 0,
12392
12752
  ref: (el) => {
12393
12753
  this.el = el;
@@ -12663,86 +13023,83 @@ class DateTimePickerComponent extends VDOM.Component {
12663
13023
  }
12664
13024
  }
12665
13025
 
12666
- /** @jsxImportSource react */
12667
- const TimeList = createFunctionalComponent(({ value, step, format, encoding, onSelect, ...props }) => {
12668
- return Widget.create({
12669
- type: ContentResolver,
12670
- params: {
12671
- step,
12672
- format,
12673
- dummy: true,
12674
- },
12675
- onResolve: ({ step, format }) => {
12676
- let max = 24 * 60;
12677
- if (!step) step = 15;
12678
- if (step < 1) step = 1;
12679
- let times = [];
12680
- let today = zeroTime(new Date()).valueOf();
12681
- for (let m = 0; m < max; m += step) {
12682
- let time = m * 60 * 1000;
12683
- times.push({
12684
- id: m * 60 * 1000,
12685
- text: Format$1.value(today + time, format || "datetime;HHmm"),
12686
- });
12687
- }
12688
- let stepMs = step * 60 * 1000;
12689
- return Widget.create({
12690
- type: DataProxy,
12691
- data: {
12692
- $value: value,
12693
- },
12694
- immutable: true,
12695
- children: Widget.create({
12696
- type: DataProxy,
12697
- data: {
12698
- $selection: {
12699
- get: ({ $value }) => {
12700
- if ($value == null) return null;
12701
- let selectionDate = new Date($value);
12702
- let selectionTime = selectionDate.valueOf() - zeroTime(selectionDate).valueOf();
12703
- return (Math.round(selectionTime / stepMs) * stepMs) % 86400000;
12704
- },
12705
- set: (value, instance) => {
12706
- let { store } = instance;
12707
- let $value = store.get("$value");
12708
- let copy = $value ? new Date($value) : new Date();
12709
- let today = zeroTime(new Date()).valueOf();
12710
- let date = new Date(today + value);
12711
- copy.setHours(date.getHours());
12712
- copy.setMinutes(date.getMinutes());
12713
- copy.setSeconds(date.getSeconds());
12714
- copy.setMilliseconds(0);
12715
- let encode = encoding || Culture.getDefaultDateEncoding();
12716
- store.set("$value", encode(copy));
12717
- },
13026
+ const TimeList = createFunctionalComponent(({ value, step, format, encoding, onSelect, ...props }) =>
13027
+ jsx$1("cx", {
13028
+ children: jsx$1(ContentResolver, {
13029
+ params: {
13030
+ step,
13031
+ format,
13032
+ dummy: true,
13033
+ },
13034
+ onResolve: ({ step, format }) => {
13035
+ let max = 24 * 60;
13036
+ if (!step) step = 15;
13037
+ if (step < 1) step = 1;
13038
+ let times = [];
13039
+ let today = zeroTime(new Date()).valueOf();
13040
+ for (let m = 0; m < max; m += step) {
13041
+ let time = m * 60 * 1000;
13042
+ times.push({
13043
+ id: m * 60 * 1000,
13044
+ text: Format$1.value(today + time, format || "datetime;HHmm"),
13045
+ });
13046
+ }
13047
+ let stepMs = step * 60 * 1000;
13048
+ return jsx$1("cx", {
13049
+ children: jsx$1(DataProxy, {
13050
+ data: {
13051
+ $value: value,
12718
13052
  },
12719
- },
12720
- children: Widget.create({
12721
- type: List,
12722
- records: times,
12723
- recordAlias: "$time",
12724
- selection: {
12725
- type: KeySelection,
12726
- selection: {
12727
- bind: "$selection",
13053
+ immutable: true,
13054
+ children: jsx$1(DataProxy, {
13055
+ data: {
13056
+ $selection: {
13057
+ get: ({ $value }) => {
13058
+ if ($value == null) return null;
13059
+ let selectionDate = new Date($value);
13060
+ let selectionTime = selectionDate.valueOf() - zeroTime(selectionDate).valueOf();
13061
+ return (Math.round(selectionTime / stepMs) * stepMs) % 86400000;
13062
+ },
13063
+ set: (value, instance) => {
13064
+ let { store } = instance;
13065
+ let $value = store.get("$value");
13066
+ let copy = $value ? new Date($value) : new Date();
13067
+ let today = zeroTime(new Date()).valueOf();
13068
+ let date = new Date(today + value);
13069
+ copy.setHours(date.getHours());
13070
+ copy.setMinutes(date.getMinutes());
13071
+ copy.setSeconds(date.getSeconds());
13072
+ copy.setMilliseconds(0);
13073
+ let encode = encoding || Culture.getDefaultDateEncoding();
13074
+ store.set("$value", encode(copy));
13075
+ },
13076
+ },
12728
13077
  },
12729
- },
12730
- ...props,
12731
- onItemClick: (e, instance) => {
12732
- if (!onSelect) return;
12733
- let date = new Date(instance.store.get("$value"));
12734
- if (isString(onSelect)) instance.invokeControllerMethod(onSelect, e, instance, date);
12735
- else if (isFunction(onSelect)) onSelect(e, instance, date);
12736
- },
12737
- children: HtmlElement.create("div", {
12738
- text: bind("$time.text"),
13078
+ children: jsx$1(List, {
13079
+ records: times,
13080
+ recordAlias: "$time",
13081
+ selection: {
13082
+ type: KeySelection,
13083
+ selection: bind("$selection"),
13084
+ },
13085
+ ...props,
13086
+ onItemClick: (e, instance) => {
13087
+ if (!onSelect) return;
13088
+ let date = new Date(instance.store.get("$value"));
13089
+ if (isString(onSelect)) instance.invokeControllerMethod(onSelect, e, instance, date);
13090
+ else if (isFunction(onSelect)) onSelect(e, instance, date);
13091
+ },
13092
+ children: jsx$1("div", {
13093
+ text: bind("$time.text"),
13094
+ }),
13095
+ }),
12739
13096
  }),
12740
13097
  }),
12741
- }),
12742
- });
12743
- },
12744
- });
12745
- });
13098
+ });
13099
+ },
13100
+ }),
13101
+ }),
13102
+ );
12746
13103
 
12747
13104
  class DateTimeField extends Field {
12748
13105
  constructor(config) {
@@ -13029,7 +13386,7 @@ class DateTimeInput extends VDOM.Component {
13029
13386
  subscribe: true,
13030
13387
  });
13031
13388
  let empty = this.input ? !this.input.value : data.empty;
13032
- return jsxs$1("div", {
13389
+ return jsxs("div", {
13033
13390
  className: CSS.expand(
13034
13391
  data.classNames,
13035
13392
  CSS.state({
@@ -13264,6 +13621,9 @@ Widget.alias("timefield", TimeField);
13264
13621
  Localization.registerPrototype("cx/widgets/TimeField", TimeField);
13265
13622
 
13266
13623
  class Validator extends Field {
13624
+ constructor(config) {
13625
+ super(config);
13626
+ }
13267
13627
  declareData(...args) {
13268
13628
  return super.declareData(...args, {
13269
13629
  value: {
@@ -14230,7 +14590,7 @@ class Grid extends ContainerBase {
14230
14590
  let onContextMenu;
14231
14591
  if (this.onColumnContextMenu) onContextMenu = (e) => instance.invoke("onColumnContextMenu", e, hdinst);
14232
14592
  result[l].push(
14233
- jsxs$1(
14593
+ jsxs(
14234
14594
  "th",
14235
14595
  {
14236
14596
  colSpan: colSpan,
@@ -15214,7 +15574,7 @@ class GridComponent extends VDOM.Component {
15214
15574
  }),
15215
15575
  children: jsx("div", {
15216
15576
  className: CSS.element(baseClass, "fixed-table-wrapper"),
15217
- children: jsxs$1("table", {
15577
+ children: jsxs("table", {
15218
15578
  ref: (el) => {
15219
15579
  this.dom.fixedTable = el;
15220
15580
  },
@@ -15238,7 +15598,7 @@ class GridComponent extends VDOM.Component {
15238
15598
  }),
15239
15599
  children: jsx("div", {
15240
15600
  className: CSS.element(baseClass, "table-wrapper"),
15241
- children: jsxs$1("table", {
15601
+ children: jsxs("table", {
15242
15602
  ref: (el) => {
15243
15603
  this.dom.table = el;
15244
15604
  if (this.props.instance.widget.onRef) this.props.instance.invoke("onRef", el, this.props.instance);
@@ -15330,7 +15690,7 @@ class GridComponent extends VDOM.Component {
15330
15690
  },
15331
15691
  });
15332
15692
  }
15333
- return jsxs$1("div", {
15693
+ return jsxs("div", {
15334
15694
  className: data.classNames,
15335
15695
  style: {
15336
15696
  ...data.style,
@@ -16784,13 +17144,13 @@ class TreeNode extends ContainerBase {
16784
17144
  }
16785
17145
  let arrowIcon = this.arrowIcon;
16786
17146
  if (this.hideIcon && data.loading) arrowIcon = this.loadingIcon;
16787
- return jsxs$1(
17147
+ return jsxs(
16788
17148
  "div",
16789
17149
  {
16790
17150
  className: data.classNames,
16791
17151
  style: data.style,
16792
17152
  children: [
16793
- jsxs$1("div", {
17153
+ jsxs("div", {
16794
17154
  className: CSS.element(baseClass, "handle"),
16795
17155
  onClick: (e) => this.toggle(e, instance),
16796
17156
  onMouseDown: !this.hideIcon ? stopPropagation : undefined,
@@ -16924,7 +17284,7 @@ Pagination.prototype.length = 5;
16924
17284
  Pagination.prototype.styled = true;
16925
17285
  Widget.alias("pagination", Pagination);
16926
17286
 
16927
- class DragSource extends ContainerBase {
17287
+ class DragSource extends StyledContainerBase {
16928
17288
  constructor(config) {
16929
17289
  super(config);
16930
17290
  }
@@ -16972,7 +17332,6 @@ class DragSource extends ContainerBase {
16972
17332
  );
16973
17333
  }
16974
17334
  }
16975
- DragSource.prototype.styled = true;
16976
17335
  DragSource.prototype.baseClass = "dragsource";
16977
17336
  DragSource.prototype.hideOnDrag = false;
16978
17337
  DragSource.prototype.handled = false;
@@ -17111,7 +17470,7 @@ DragHandle.prototype.styled = true;
17111
17470
  DragHandle.prototype.baseClass = "draghandle";
17112
17471
  Widget.alias("draghandle", DragHandle);
17113
17472
 
17114
- class DropZone extends ContainerBase {
17473
+ class DropZone extends StyledContainerBase {
17115
17474
  constructor(config) {
17116
17475
  super(config);
17117
17476
  }
@@ -17161,7 +17520,6 @@ class DropZone extends ContainerBase {
17161
17520
  );
17162
17521
  }
17163
17522
  }
17164
- DropZone.prototype.styled = true;
17165
17523
  DropZone.prototype.nearDistance = 0;
17166
17524
  DropZone.prototype.hinflate = 0;
17167
17525
  DropZone.prototype.vinflate = 0;
@@ -17380,6 +17738,7 @@ export {
17380
17738
  Pagination,
17381
17739
  ProgressBar,
17382
17740
  Radio,
17741
+ ReactElementWrapper,
17383
17742
  RedirectRoute,
17384
17743
  Resizer,
17385
17744
  Route,