cx 26.0.12 → 26.0.14

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 (365) 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/widgets/overlay/createHotPromiseWindowFactory.js +0 -1
  187. package/build.js +133 -133
  188. package/dist/data.js +2 -2
  189. package/dist/jsx-runtime.js +6 -1
  190. package/dist/manifest.d.ts +1443 -0
  191. package/dist/manifest.js +761 -713
  192. package/dist/ui.js +91 -5
  193. package/dist/util.js +3 -0
  194. package/dist/widgets.js +520 -162
  195. package/package.json +46 -20
  196. package/src/charts/Chart.ts +108 -108
  197. package/src/charts/ScatterGraph.tsx +6 -6
  198. package/src/data/ArrayElementView.ts +90 -90
  199. package/src/data/AugmentedViewBase.ts +88 -88
  200. package/src/data/Binding.ts +104 -104
  201. package/src/data/ExposedRecordView.ts +95 -95
  202. package/src/data/ExposedValueView.ts +89 -89
  203. package/src/data/Expression.spec.ts +229 -229
  204. package/src/data/Expression.ts +233 -233
  205. package/src/data/Grouper.spec.ts +57 -57
  206. package/src/data/Grouper.ts +158 -158
  207. package/src/data/NestedDataView.ts +43 -43
  208. package/src/data/ReadOnlyDataView.ts +39 -39
  209. package/src/data/Ref.ts +104 -104
  210. package/src/data/Selector.ts +10 -10
  211. package/src/data/Store.ts +52 -52
  212. package/src/data/StoreProxy.ts +19 -19
  213. package/src/data/StoreRef.ts +66 -66
  214. package/src/data/StringTemplate.spec.ts +132 -132
  215. package/src/data/StringTemplate.ts +93 -93
  216. package/src/data/StructuredSelector.spec.ts +113 -113
  217. package/src/data/StructuredSelector.ts +146 -146
  218. package/src/data/SubscribableView.ts +63 -63
  219. package/src/data/ZoomIntoPropertyView.spec.ts +64 -64
  220. package/src/data/ZoomIntoPropertyView.ts +45 -45
  221. package/src/data/computable.spec.ts +87 -62
  222. package/src/data/computable.ts +3 -6
  223. package/src/data/createAccessorModelProxy.spec.tsx +102 -1
  224. package/src/data/createAccessorModelProxy.ts +9 -3
  225. package/src/data/createStructuredSelector.ts +62 -62
  226. package/src/data/getAccessor.spec.ts +11 -11
  227. package/src/data/getAccessor.ts +74 -74
  228. package/src/data/getSelector.spec.ts +43 -43
  229. package/src/data/getSelector.ts +66 -66
  230. package/src/data/ops/filter.spec.ts +35 -35
  231. package/src/data/ops/filter.ts +9 -9
  232. package/src/data/ops/findTreeNode.ts +1 -5
  233. package/src/data/ops/findTreePath.ts +1 -1
  234. package/src/data/ops/merge.ts +13 -13
  235. package/src/data/ops/removeTreeNodes.spec.ts +37 -37
  236. package/src/data/ops/removeTreeNodes.ts +2 -2
  237. package/src/data/ops/updateArray.spec.ts +69 -69
  238. package/src/data/ops/updateArray.ts +31 -31
  239. package/src/data/ops/updateTree.ts +1 -1
  240. package/src/data/test-types.ts +7 -7
  241. package/src/hooks/resolveCallback.spec.tsx +30 -7
  242. package/src/hooks/useTrigger.ts +26 -26
  243. package/src/index.scss +6 -6
  244. package/src/jsx-dev-runtime.ts +4 -4
  245. package/src/jsx-runtime.spec.tsx +431 -0
  246. package/src/jsx-runtime.ts +26 -22
  247. package/src/svg/BoundedObject.ts +101 -101
  248. package/src/svg/util/Rect.ts +105 -105
  249. package/src/ui/CSSHelper.ts +17 -17
  250. package/src/ui/ContentResolver.spec.tsx +172 -19
  251. package/src/ui/ContentResolver.ts +16 -8
  252. package/src/ui/Controller.ts +15 -2
  253. package/src/ui/Culture.ts +159 -159
  254. package/src/ui/DataProxy.ts +55 -55
  255. package/src/ui/FocusManager.ts +171 -171
  256. package/src/ui/Instance.ts +866 -868
  257. package/src/ui/Prop.ts +140 -112
  258. package/src/ui/RenderingContext.ts +99 -99
  259. package/src/ui/Repeater.ts +3 -12
  260. package/src/ui/Rescope.ts +49 -49
  261. package/src/ui/StructuredInstanceDataAccessor.ts +32 -32
  262. package/src/ui/Text.ts +21 -2
  263. package/src/ui/VDOM.ts +34 -34
  264. package/src/ui/adapter/ArrayAdapter.spec.ts +55 -55
  265. package/src/ui/adapter/ArrayAdapter.ts +4 -1
  266. package/src/ui/adapter/TreeAdapter.spec.ts +76 -76
  267. package/src/ui/adapter/TreeAdapter.ts +185 -185
  268. package/src/ui/app/History.ts +133 -133
  269. package/src/ui/app/Url.spec.ts +50 -50
  270. package/src/ui/app/startHotAppLoop.ts +41 -41
  271. package/src/ui/createFunctionalComponent.spec.tsx +53 -0
  272. package/src/ui/createFunctionalComponent.ts +86 -65
  273. package/src/ui/expr.ts +4 -1
  274. package/src/ui/exprHelpers.spec.ts +379 -0
  275. package/src/ui/exprHelpers.ts +78 -0
  276. package/src/ui/index.ts +47 -46
  277. package/src/ui/layout/Content.ts +30 -30
  278. package/src/ui/layout/FirstVisibleChildLayout.spec.tsx +1 -1
  279. package/src/ui/layout/FirstVisibleChildLayout.ts +60 -60
  280. package/src/ui/selection/KeySelection.ts +153 -153
  281. package/src/ui/selection/Selection.ts +128 -128
  282. package/src/util/Console.ts +13 -11
  283. package/src/util/Format.spec.ts +41 -41
  284. package/src/util/Format.ts +267 -267
  285. package/src/util/addEventListenerWithOptions.ts +41 -41
  286. package/src/util/browserSupportsPassiveEventHandlers.ts +20 -20
  287. package/src/util/color/rgbToHsl.ts +35 -35
  288. package/src/util/getActiveElement.ts +4 -4
  289. package/src/util/hasKey.ts +18 -18
  290. package/src/util/index.ts +55 -55
  291. package/src/util/innerTextTrim.ts +10 -10
  292. package/src/util/isArray.ts +3 -3
  293. package/src/util/isDataRecord.ts +5 -5
  294. package/src/util/isDefined.ts +3 -3
  295. package/src/util/isString.ts +3 -3
  296. package/src/widgets/AccessorBindings.spec.tsx +26 -0
  297. package/src/widgets/Button.tsx +5 -17
  298. package/src/widgets/DocumentTitle.ts +95 -92
  299. package/src/widgets/Heading.ts +2 -2
  300. package/src/widgets/HtmlElement.spec.helpers.tsx +108 -0
  301. package/src/widgets/HtmlElement.spec.tsx +20 -12
  302. package/src/widgets/HtmlElement.tsx +77 -23
  303. package/src/widgets/Icon.ts +3 -17
  304. package/src/widgets/List.tsx +6 -0
  305. package/src/widgets/ReactElementWrapper.spec.tsx +452 -0
  306. package/src/widgets/ReactElementWrapper.tsx +108 -0
  307. package/src/widgets/Sandbox.ts +103 -103
  308. package/src/widgets/autoFocus.ts +9 -9
  309. package/src/widgets/cx.ts +63 -63
  310. package/src/widgets/drag-drop/DragSource.tsx +3 -4
  311. package/src/widgets/drag-drop/DropZone.tsx +3 -4
  312. package/src/widgets/form/Checkbox.tsx +3 -0
  313. package/src/widgets/form/ColorField.tsx +3 -0
  314. package/src/widgets/form/DateTimeField.tsx +5 -0
  315. package/src/widgets/form/Field.tsx +0 -3
  316. package/src/widgets/form/Label.tsx +1 -0
  317. package/src/widgets/form/LabeledContainer.ts +22 -26
  318. package/src/widgets/form/LookupField.spec.tsx +93 -0
  319. package/src/widgets/form/LookupField.tsx +104 -9
  320. package/src/widgets/form/MonthField.tsx +5 -0
  321. package/src/widgets/form/NumberField.tsx +3 -0
  322. package/src/widgets/form/Radio.tsx +5 -0
  323. package/src/widgets/form/Select.tsx +5 -0
  324. package/src/widgets/form/Slider.tsx +4 -0
  325. package/src/widgets/form/Switch.tsx +3 -0
  326. package/src/widgets/form/TextField.tsx +62 -0
  327. package/src/widgets/form/TimeList.tsx +84 -73
  328. package/src/widgets/form/UploadButton.tsx +53 -2
  329. package/src/widgets/form/Validator.ts +40 -3
  330. package/src/widgets/grid/Grid.tsx +9 -12
  331. package/src/widgets/grid/GridCell.ts +143 -143
  332. package/src/widgets/grid/TreeNode.tsx +9 -0
  333. package/src/widgets/icons/calendar.tsx +17 -17
  334. package/src/widgets/icons/check.tsx +13 -13
  335. package/src/widgets/icons/clear.tsx +15 -15
  336. package/src/widgets/icons/close.tsx +20 -20
  337. package/src/widgets/icons/cx.tsx +38 -38
  338. package/src/widgets/icons/drop-down.tsx +15 -15
  339. package/src/widgets/icons/file.tsx +13 -13
  340. package/src/widgets/icons/folder-open.tsx +15 -15
  341. package/src/widgets/icons/folder.tsx +13 -13
  342. package/src/widgets/icons/forward.tsx +22 -22
  343. package/src/widgets/icons/loading.tsx +24 -24
  344. package/src/widgets/icons/menu.tsx +17 -17
  345. package/src/widgets/icons/pixel-picker.tsx +18 -18
  346. package/src/widgets/icons/search.tsx +13 -13
  347. package/src/widgets/icons/sort-asc.tsx +14 -14
  348. package/src/widgets/icons/square.tsx +18 -18
  349. package/src/widgets/index.ts +1 -0
  350. package/src/widgets/nav/MenuItem.tsx +3 -2
  351. package/src/widgets/nav/Route.ts +142 -142
  352. package/src/widgets/nav/Scroller.tsx +8 -9
  353. package/src/widgets/nav/Tab.ts +2 -2
  354. package/src/widgets/overlay/ContextMenu.ts +42 -42
  355. package/src/widgets/overlay/Dropdown.tsx +762 -762
  356. package/src/widgets/overlay/MsgBox.tsx +141 -141
  357. package/src/widgets/overlay/Overlay.tsx +5 -4
  358. package/src/widgets/overlay/Toast.ts +111 -111
  359. package/src/widgets/overlay/Window.tsx +299 -299
  360. package/src/widgets/overlay/alerts.ts +46 -46
  361. package/src/widgets/overlay/captureMouse.ts +195 -195
  362. package/src/widgets/overlay/createHotPromiseWindowFactory.ts +0 -1
  363. package/src/widgets/overlay/index.d.ts +11 -11
  364. package/src/widgets/overlay/index.ts +11 -11
  365. 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,
@@ -4186,7 +4542,6 @@ function createHotPromiseWindowFactoryWithProps(module, factory) {
4186
4542
  let window = Window.create(factory(props)(resolve, reject));
4187
4543
  window.overlayWillDismiss = () => {
4188
4544
  if (!reloading && unsubscribe) unsubscribe();
4189
- return false;
4190
4545
  };
4191
4546
  dismiss = window.open(store);
4192
4547
  }
@@ -4670,7 +5025,7 @@ let MenuItemComponent$1 = class MenuItemComponent extends VDOM.Component {
4670
5025
  className: CSS.element(baseClass, "baseline"),
4671
5026
  children: "\u00A0",
4672
5027
  });
4673
- return jsxs$1("div", {
5028
+ return jsxs("div", {
4674
5029
  className: classNames,
4675
5030
  style: data.style,
4676
5031
  tabIndex: !data.disabled && (widget.dropdown || widget.onClick || widget.checked) ? 0 : undefined,
@@ -5243,7 +5598,10 @@ class MenuItemComponent extends VDOM.Component {
5243
5598
 
5244
5599
  class Submenu extends MenuItem {}
5245
5600
 
5246
- class Scroller extends Container {
5601
+ class Scroller extends StyledContainerBase {
5602
+ constructor(config) {
5603
+ super(config);
5604
+ }
5247
5605
  init() {
5248
5606
  if (!this.vertical) this.horizontal = true; //default
5249
5607
  super.init();
@@ -5265,7 +5623,6 @@ class Scroller extends Container {
5265
5623
  );
5266
5624
  }
5267
5625
  }
5268
- Scroller.prototype.styled = true;
5269
5626
  Scroller.prototype.baseClass = "scroller";
5270
5627
  class HScrollerComponent extends VDOM.Component {
5271
5628
  unsubscribeResize;
@@ -5290,7 +5647,7 @@ class HScrollerComponent extends VDOM.Component {
5290
5647
  render() {
5291
5648
  let { data, children, widget } = this.props;
5292
5649
  let { CSS, baseClass } = widget;
5293
- return jsxs$1("div", {
5650
+ return jsxs("div", {
5294
5651
  className: CSS.expand(
5295
5652
  data.classNames,
5296
5653
  CSS.state({
@@ -5905,7 +6262,7 @@ class Field extends PureContainerBase {
5905
6262
  renderWrap(context, instance, key, content) {
5906
6263
  let { data } = instance;
5907
6264
  let interactive = !data.viewMode && !data.disabled;
5908
- return jsxs$1(
6265
+ return jsxs(
5909
6266
  "div",
5910
6267
  {
5911
6268
  className: data.classNames,
@@ -6087,7 +6444,7 @@ let Input$2 = class Input extends VDOM.Component {
6087
6444
  });
6088
6445
  }
6089
6446
  let empty = this.input ? !this.trimmed(this.input.value) : data.empty;
6090
- return jsxs$1("div", {
6447
+ return jsxs("div", {
6091
6448
  className: CSS.expand(
6092
6449
  data.classNames,
6093
6450
  CSS.state({
@@ -6284,7 +6641,7 @@ class Checkbox extends Field {
6284
6641
  }
6285
6642
  renderWrap(context, instance, key, content) {
6286
6643
  let { data } = instance;
6287
- return jsxs$1(
6644
+ return jsxs(
6288
6645
  "label",
6289
6646
  {
6290
6647
  className: data.classNames,
@@ -6426,7 +6783,7 @@ class CheckboxCmp extends VDOM.Component {
6426
6783
  let check = false;
6427
6784
  if (this.state.value == null && widget.indeterminate) check = "indeterminate";
6428
6785
  else if (this.state.value) check = "check";
6429
- return jsxs$1(
6786
+ return jsxs(
6430
6787
  "span",
6431
6788
  {
6432
6789
  tabIndex: widget.unfocusable || data.disabled ? undefined : data.tabIndex || 0,
@@ -6516,7 +6873,7 @@ class Radio extends Field {
6516
6873
  }
6517
6874
  renderWrap(context, instance, key, content) {
6518
6875
  var { data } = instance;
6519
- return jsxs$1(
6876
+ return jsxs(
6520
6877
  "label",
6521
6878
  {
6522
6879
  className: data.classNames,
@@ -6776,7 +7133,7 @@ class SelectComponent extends VDOM.Component {
6776
7133
  children: data.placeholder,
6777
7134
  });
6778
7135
  }
6779
- return jsxs$1("div", {
7136
+ return jsxs("div", {
6780
7137
  className: CSS.expand(
6781
7138
  data.classNames,
6782
7139
  CSS.state({
@@ -6791,7 +7148,7 @@ class SelectComponent extends VDOM.Component {
6791
7148
  onMouseDown: stopPropagation,
6792
7149
  onTouchStart: stopPropagation,
6793
7150
  children: [
6794
- jsxs$1("select", {
7151
+ jsxs("select", {
6795
7152
  id: data.id,
6796
7153
  ref: (el) => {
6797
7154
  this.select = el;
@@ -6908,7 +7265,7 @@ Widget.alias("option", Option);
6908
7265
  var ForwardIcon = registerIcon(
6909
7266
  "forward",
6910
7267
  (props) => {
6911
- return jsxs$1("svg", {
7268
+ return jsxs("svg", {
6912
7269
  ...props,
6913
7270
  viewBox: "0 0 20 20",
6914
7271
  children: [
@@ -7380,7 +7737,7 @@ class CalendarCmp extends VDOM.Component {
7380
7737
  date.setDate(date.getDate() + 1);
7381
7738
  }
7382
7739
  weeks.push(
7383
- jsxs$1(
7740
+ jsxs(
7384
7741
  "tr",
7385
7742
  {
7386
7743
  className: CSS.element(baseClass, "week"),
@@ -7394,7 +7751,7 @@ class CalendarCmp extends VDOM.Component {
7394
7751
  let monthNames = culture.getMonthNames("long");
7395
7752
  let dayNames = culture.getWeekdayNames("short").map((x) => x.substr(0, 2));
7396
7753
  if (startWithMonday) dayNames = [...dayNames.slice(1), dayNames[0]];
7397
- return jsxs$1("div", {
7754
+ return jsxs("div", {
7398
7755
  className: data.classNames,
7399
7756
  tabIndex: data.disabled || !data.focusable ? null : data.tabIndex || 0,
7400
7757
  onKeyDown: (e) => this.handleKeyPress(e),
@@ -7416,11 +7773,11 @@ class CalendarCmp extends VDOM.Component {
7416
7773
  onBlur: (e) => this.handleBlur(e),
7417
7774
  children: [
7418
7775
  this.state.activeView == "calendar" &&
7419
- jsxs$1("table", {
7776
+ jsxs("table", {
7420
7777
  children: [
7421
- jsxs$1("thead", {
7778
+ jsxs("thead", {
7422
7779
  children: [
7423
- jsxs$1(
7780
+ jsxs(
7424
7781
  "tr",
7425
7782
  {
7426
7783
  className: CSS.element(baseClass, "header"),
@@ -7438,7 +7795,7 @@ class CalendarCmp extends VDOM.Component {
7438
7795
  className: CSS.element(baseClass, "icon-prev-month"),
7439
7796
  }),
7440
7797
  }),
7441
- jsxs$1("th", {
7798
+ jsxs("th", {
7442
7799
  className: CSS.element(baseClass, "display"),
7443
7800
  colSpan: 3,
7444
7801
  children: [
@@ -7468,7 +7825,7 @@ class CalendarCmp extends VDOM.Component {
7468
7825
  },
7469
7826
  "h",
7470
7827
  ),
7471
- jsxs$1(
7828
+ jsxs(
7472
7829
  "tr",
7473
7830
  {
7474
7831
  className: CSS.element(baseClass, "day-names"),
@@ -7953,7 +8310,7 @@ class LookupComponent extends VDOM.Component {
7953
8310
  "msg",
7954
8311
  );
7955
8312
  }
7956
- return jsxs$1(
8313
+ return jsxs(
7957
8314
  "div",
7958
8315
  {
7959
8316
  ref: (el) => {
@@ -8101,7 +8458,7 @@ class LookupComponent extends VDOM.Component {
8101
8458
  if (isNonEmptyArray(data.records)) {
8102
8459
  let valueTextFormatter = widget.onGetRecordDisplayText ?? ((record) => record[widget.valueTextField]);
8103
8460
  text = data.records.map((v, i) =>
8104
- jsxs$1(
8461
+ jsxs(
8105
8462
  "div",
8106
8463
  {
8107
8464
  className: CSS.element(baseClass, "tag", {
@@ -8142,7 +8499,7 @@ class LookupComponent extends VDOM.Component {
8142
8499
  empty: !data.placeholder && data.empty,
8143
8500
  error: data.error && (state.visited || !suppressErrorsUntilVisited || !data.empty),
8144
8501
  };
8145
- return jsxs$1("div", {
8502
+ return jsxs("div", {
8146
8503
  className: CSS.expand(data.classNames, CSS.state(states)),
8147
8504
  style: data.style,
8148
8505
  onMouseDown: stopPropagation,
@@ -8737,7 +9094,7 @@ let Input$1 = class Input extends VDOM.Component {
8737
9094
  });
8738
9095
  }
8739
9096
  let empty = this.input ? !this.input.value : data.empty;
8740
- return jsxs$1("div", {
9097
+ return jsxs("div", {
8741
9098
  className: CSS.expand(
8742
9099
  data.classNames,
8743
9100
  CSS.state({
@@ -9044,7 +9401,7 @@ class Input extends VDOM.Component {
9044
9401
  let { widget, data, state } = instance;
9045
9402
  let { CSS, baseClass, suppressErrorsUntilVisited } = widget;
9046
9403
  let empty = this.input ? !this.input.value : data.empty;
9047
- return jsxs$1("div", {
9404
+ return jsxs("div", {
9048
9405
  className: CSS.expand(
9049
9406
  data.classNames,
9050
9407
  CSS.state({
@@ -9840,7 +10197,7 @@ class MonthPickerComponent extends VDOM.Component {
9840
10197
  }
9841
10198
  years.push(rows);
9842
10199
  }
9843
- return jsxs$1("div", {
10200
+ return jsxs("div", {
9844
10201
  ref: (el) => {
9845
10202
  this.dom.el = el;
9846
10203
  },
@@ -10111,7 +10468,7 @@ class ColorPickerComponent extends VDOM.Component {
10111
10468
  children: jsx(PixelPickerIcon, {}),
10112
10469
  });
10113
10470
  }
10114
- return jsxs$1("div", {
10471
+ return jsxs("div", {
10115
10472
  className: data.classNames,
10116
10473
  style: data.style,
10117
10474
  onBlur: this.onBlur.bind(this),
@@ -10134,7 +10491,7 @@ class ColorPickerComponent extends VDOM.Component {
10134
10491
  },
10135
10492
  }),
10136
10493
  }),
10137
- jsxs$1("div", {
10494
+ jsxs("div", {
10138
10495
  className: CSS.element(baseClass, "details"),
10139
10496
  children: [
10140
10497
  jsx("div", {
@@ -10151,10 +10508,10 @@ class ColorPickerComponent extends VDOM.Component {
10151
10508
  },
10152
10509
  }),
10153
10510
  }),
10154
- jsxs$1("div", {
10511
+ jsxs("div", {
10155
10512
  className: CSS.element(baseClass, "inputs"),
10156
10513
  children: [
10157
- jsxs$1("label", {
10514
+ jsxs("label", {
10158
10515
  children: [
10159
10516
  "H ",
10160
10517
  jsx("input", {
@@ -10168,7 +10525,7 @@ class ColorPickerComponent extends VDOM.Component {
10168
10525
  }),
10169
10526
  ],
10170
10527
  }),
10171
- jsxs$1("label", {
10528
+ jsxs("label", {
10172
10529
  children: [
10173
10530
  "S ",
10174
10531
  jsx("input", {
@@ -10182,7 +10539,7 @@ class ColorPickerComponent extends VDOM.Component {
10182
10539
  }),
10183
10540
  ],
10184
10541
  }),
10185
- jsxs$1("label", {
10542
+ jsxs("label", {
10186
10543
  children: [
10187
10544
  "L ",
10188
10545
  jsx("input", {
@@ -10196,7 +10553,7 @@ class ColorPickerComponent extends VDOM.Component {
10196
10553
  }),
10197
10554
  ],
10198
10555
  }),
10199
- jsxs$1("label", {
10556
+ jsxs("label", {
10200
10557
  children: [
10201
10558
  "A ",
10202
10559
  jsx("input", {
@@ -10212,7 +10569,7 @@ class ColorPickerComponent extends VDOM.Component {
10212
10569
  }),
10213
10570
  ],
10214
10571
  }),
10215
- jsxs$1("div", {
10572
+ jsxs("div", {
10216
10573
  className: CSS.element(baseClass, "alpha"),
10217
10574
  onMouseDown: this.onAlphaSelect.bind(this),
10218
10575
  onTouchStart: this.onAlphaSelect.bind(this),
@@ -10233,10 +10590,10 @@ class ColorPickerComponent extends VDOM.Component {
10233
10590
  }),
10234
10591
  ],
10235
10592
  }),
10236
- jsxs$1("div", {
10593
+ jsxs("div", {
10237
10594
  className: CSS.element(baseClass, "inputs"),
10238
10595
  children: [
10239
- jsxs$1("label", {
10596
+ jsxs("label", {
10240
10597
  children: [
10241
10598
  "R ",
10242
10599
  jsx("input", {
@@ -10250,7 +10607,7 @@ class ColorPickerComponent extends VDOM.Component {
10250
10607
  }),
10251
10608
  ],
10252
10609
  }),
10253
- jsxs$1("label", {
10610
+ jsxs("label", {
10254
10611
  children: [
10255
10612
  "G ",
10256
10613
  jsx("input", {
@@ -10264,7 +10621,7 @@ class ColorPickerComponent extends VDOM.Component {
10264
10621
  }),
10265
10622
  ],
10266
10623
  }),
10267
- jsxs$1("label", {
10624
+ jsxs("label", {
10268
10625
  children: [
10269
10626
  "B ",
10270
10627
  jsx("input", {
@@ -10278,7 +10635,7 @@ class ColorPickerComponent extends VDOM.Component {
10278
10635
  }),
10279
10636
  ],
10280
10637
  }),
10281
- jsxs$1("label", {
10638
+ jsxs("label", {
10282
10639
  children: [
10283
10640
  "A ",
10284
10641
  jsx("input", {
@@ -10294,7 +10651,7 @@ class ColorPickerComponent extends VDOM.Component {
10294
10651
  }),
10295
10652
  ],
10296
10653
  }),
10297
- jsxs$1("div", {
10654
+ jsxs("div", {
10298
10655
  className: CSS.element(baseClass, "preview"),
10299
10656
  children: [
10300
10657
  jsx("div", {
@@ -10314,7 +10671,7 @@ class ColorPickerComponent extends VDOM.Component {
10314
10671
  }),
10315
10672
  }),
10316
10673
  }),
10317
- jsxs$1("div", {
10674
+ jsxs("div", {
10318
10675
  className: CSS.element(baseClass, "values"),
10319
10676
  children: [
10320
10677
  jsx("input", {
@@ -10738,7 +11095,7 @@ class MonthInput extends VDOM.Component {
10738
11095
  subscribe: true,
10739
11096
  });
10740
11097
  let empty = this.input ? !this.input.value : data.empty;
10741
- return jsxs$1("div", {
11098
+ return jsxs("div", {
10742
11099
  className: CSS.expand(
10743
11100
  data.classNames,
10744
11101
  CSS.state({
@@ -11090,7 +11447,7 @@ class ColorInput extends VDOM.Component {
11090
11447
  subscribe: true,
11091
11448
  });
11092
11449
  let empty = this.input ? !this.input.value : data.empty;
11093
- return jsxs$1("div", {
11450
+ return jsxs("div", {
11094
11451
  className: CSS.expand(
11095
11452
  data.classNames,
11096
11453
  CSS.state({
@@ -11289,8 +11646,10 @@ class ColorInput extends VDOM.Component {
11289
11646
  }
11290
11647
  }
11291
11648
 
11292
- //TODO: Implement UploadStatus which will enable canceling
11293
11649
  class UploadButton extends Field {
11650
+ constructor(config) {
11651
+ super(config);
11652
+ }
11294
11653
  declareData(...args) {
11295
11654
  super.declareData(
11296
11655
  {
@@ -11345,7 +11704,7 @@ class UploadButtonComponent extends VDOM.Component {
11345
11704
  });
11346
11705
  className = CSS.expand(className, CSS.state("icon"), !isNonEmptyArray(children) && CSS.state("empty"));
11347
11706
  }
11348
- return jsxs$1("div", {
11707
+ return jsxs("div", {
11349
11708
  ref: (el) => {
11350
11709
  this.el = el || undefined;
11351
11710
  },
@@ -11583,7 +11942,7 @@ class SliderComponent extends VDOM.Component {
11583
11942
  [anchor]: `${(100 * rangeStart) / (maxValue - minValue)}%`,
11584
11943
  [widget.vertical ? "height" : "width"]: `${(100 * rangeSize) / (maxValue - minValue)}%`,
11585
11944
  };
11586
- return jsxs$1("div", {
11945
+ return jsxs("div", {
11587
11946
  className: data.classNames,
11588
11947
  style: data.style,
11589
11948
  id: data.id,
@@ -11594,7 +11953,7 @@ class SliderComponent extends VDOM.Component {
11594
11953
  children: [
11595
11954
  label,
11596
11955
  "\u00A0",
11597
- jsxs$1("div", {
11956
+ jsxs("div", {
11598
11957
  className: CSS.element(baseClass, "axis"),
11599
11958
  children: [
11600
11959
  rangeSize > 0 &&
@@ -11606,7 +11965,7 @@ class SliderComponent extends VDOM.Component {
11606
11965
  },
11607
11966
  "range",
11608
11967
  ),
11609
- jsxs$1(
11968
+ jsxs(
11610
11969
  "div",
11611
11970
  {
11612
11971
  className: CSS.element(baseClass, "space"),
@@ -11894,7 +12253,7 @@ class Switch extends Field {
11894
12253
  let { CSS, baseClass } = this;
11895
12254
  let text = data.text || this.renderChildren(context, instance);
11896
12255
  let renderTextElement = text?.length != 0;
11897
- return jsxs$1(
12256
+ return jsxs(
11898
12257
  "div",
11899
12258
  {
11900
12259
  className: data.classNames,
@@ -11930,7 +12289,7 @@ class Switch extends Field {
11930
12289
  children: [
11931
12290
  this.labelPlacement && getContent(this.renderLabel(context, instance, "label")),
11932
12291
  "\u00A0",
11933
- jsxs$1("div", {
12292
+ jsxs("div", {
11934
12293
  className: CSS.element(baseClass, "axis"),
11935
12294
  children: [
11936
12295
  jsx("div", {
@@ -12066,7 +12425,7 @@ class WheelComponent extends VDOM.Component {
12066
12425
  ...bpad,
12067
12426
  ];
12068
12427
  if (!this.state.wheelHeight) displayedOptions = displayedOptions.slice(this.index, this.index + size);
12069
- return jsxs$1("div", {
12428
+ return jsxs("div", {
12070
12429
  tabIndex: this.props.focusable ? 0 : undefined,
12071
12430
  className:
12072
12431
  className ||
@@ -12076,7 +12435,7 @@ class WheelComponent extends VDOM.Component {
12076
12435
  style: style,
12077
12436
  onKeyDown: this.onKeyDown,
12078
12437
  children: [
12079
- jsxs$1("div", {
12438
+ jsxs("div", {
12080
12439
  className: CSS.element(baseClass, "clip"),
12081
12440
  style: {
12082
12441
  width: this.state.wheelWidth,
@@ -12387,7 +12746,7 @@ class DateTimePickerComponent extends VDOM.Component {
12387
12746
  ),
12388
12747
  );
12389
12748
  }
12390
- return jsxs$1("div", {
12749
+ return jsxs("div", {
12391
12750
  tabIndex: 0,
12392
12751
  ref: (el) => {
12393
12752
  this.el = el;
@@ -12663,86 +13022,83 @@ class DateTimePickerComponent extends VDOM.Component {
12663
13022
  }
12664
13023
  }
12665
13024
 
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
- },
13025
+ const TimeList = createFunctionalComponent(({ value, step, format, encoding, onSelect, ...props }) =>
13026
+ jsx$1("cx", {
13027
+ children: jsx$1(ContentResolver, {
13028
+ params: {
13029
+ step,
13030
+ format,
13031
+ dummy: true,
13032
+ },
13033
+ onResolve: ({ step, format }) => {
13034
+ let max = 24 * 60;
13035
+ if (!step) step = 15;
13036
+ if (step < 1) step = 1;
13037
+ let times = [];
13038
+ let today = zeroTime(new Date()).valueOf();
13039
+ for (let m = 0; m < max; m += step) {
13040
+ let time = m * 60 * 1000;
13041
+ times.push({
13042
+ id: m * 60 * 1000,
13043
+ text: Format$1.value(today + time, format || "datetime;HHmm"),
13044
+ });
13045
+ }
13046
+ let stepMs = step * 60 * 1000;
13047
+ return jsx$1("cx", {
13048
+ children: jsx$1(DataProxy, {
13049
+ data: {
13050
+ $value: value,
12718
13051
  },
12719
- },
12720
- children: Widget.create({
12721
- type: List,
12722
- records: times,
12723
- recordAlias: "$time",
12724
- selection: {
12725
- type: KeySelection,
12726
- selection: {
12727
- bind: "$selection",
13052
+ immutable: true,
13053
+ children: jsx$1(DataProxy, {
13054
+ data: {
13055
+ $selection: {
13056
+ get: ({ $value }) => {
13057
+ if ($value == null) return null;
13058
+ let selectionDate = new Date($value);
13059
+ let selectionTime = selectionDate.valueOf() - zeroTime(selectionDate).valueOf();
13060
+ return (Math.round(selectionTime / stepMs) * stepMs) % 86400000;
13061
+ },
13062
+ set: (value, instance) => {
13063
+ let { store } = instance;
13064
+ let $value = store.get("$value");
13065
+ let copy = $value ? new Date($value) : new Date();
13066
+ let today = zeroTime(new Date()).valueOf();
13067
+ let date = new Date(today + value);
13068
+ copy.setHours(date.getHours());
13069
+ copy.setMinutes(date.getMinutes());
13070
+ copy.setSeconds(date.getSeconds());
13071
+ copy.setMilliseconds(0);
13072
+ let encode = encoding || Culture.getDefaultDateEncoding();
13073
+ store.set("$value", encode(copy));
13074
+ },
13075
+ },
12728
13076
  },
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"),
13077
+ children: jsx$1(List, {
13078
+ records: times,
13079
+ recordAlias: "$time",
13080
+ selection: {
13081
+ type: KeySelection,
13082
+ selection: bind("$selection"),
13083
+ },
13084
+ ...props,
13085
+ onItemClick: (e, instance) => {
13086
+ if (!onSelect) return;
13087
+ let date = new Date(instance.store.get("$value"));
13088
+ if (isString(onSelect)) instance.invokeControllerMethod(onSelect, e, instance, date);
13089
+ else if (isFunction(onSelect)) onSelect(e, instance, date);
13090
+ },
13091
+ children: jsx$1("div", {
13092
+ text: bind("$time.text"),
13093
+ }),
13094
+ }),
12739
13095
  }),
12740
13096
  }),
12741
- }),
12742
- });
12743
- },
12744
- });
12745
- });
13097
+ });
13098
+ },
13099
+ }),
13100
+ }),
13101
+ );
12746
13102
 
12747
13103
  class DateTimeField extends Field {
12748
13104
  constructor(config) {
@@ -13029,7 +13385,7 @@ class DateTimeInput extends VDOM.Component {
13029
13385
  subscribe: true,
13030
13386
  });
13031
13387
  let empty = this.input ? !this.input.value : data.empty;
13032
- return jsxs$1("div", {
13388
+ return jsxs("div", {
13033
13389
  className: CSS.expand(
13034
13390
  data.classNames,
13035
13391
  CSS.state({
@@ -13264,6 +13620,9 @@ Widget.alias("timefield", TimeField);
13264
13620
  Localization.registerPrototype("cx/widgets/TimeField", TimeField);
13265
13621
 
13266
13622
  class Validator extends Field {
13623
+ constructor(config) {
13624
+ super(config);
13625
+ }
13267
13626
  declareData(...args) {
13268
13627
  return super.declareData(...args, {
13269
13628
  value: {
@@ -14230,7 +14589,7 @@ class Grid extends ContainerBase {
14230
14589
  let onContextMenu;
14231
14590
  if (this.onColumnContextMenu) onContextMenu = (e) => instance.invoke("onColumnContextMenu", e, hdinst);
14232
14591
  result[l].push(
14233
- jsxs$1(
14592
+ jsxs(
14234
14593
  "th",
14235
14594
  {
14236
14595
  colSpan: colSpan,
@@ -15214,7 +15573,7 @@ class GridComponent extends VDOM.Component {
15214
15573
  }),
15215
15574
  children: jsx("div", {
15216
15575
  className: CSS.element(baseClass, "fixed-table-wrapper"),
15217
- children: jsxs$1("table", {
15576
+ children: jsxs("table", {
15218
15577
  ref: (el) => {
15219
15578
  this.dom.fixedTable = el;
15220
15579
  },
@@ -15238,7 +15597,7 @@ class GridComponent extends VDOM.Component {
15238
15597
  }),
15239
15598
  children: jsx("div", {
15240
15599
  className: CSS.element(baseClass, "table-wrapper"),
15241
- children: jsxs$1("table", {
15600
+ children: jsxs("table", {
15242
15601
  ref: (el) => {
15243
15602
  this.dom.table = el;
15244
15603
  if (this.props.instance.widget.onRef) this.props.instance.invoke("onRef", el, this.props.instance);
@@ -15330,7 +15689,7 @@ class GridComponent extends VDOM.Component {
15330
15689
  },
15331
15690
  });
15332
15691
  }
15333
- return jsxs$1("div", {
15692
+ return jsxs("div", {
15334
15693
  className: data.classNames,
15335
15694
  style: {
15336
15695
  ...data.style,
@@ -16784,13 +17143,13 @@ class TreeNode extends ContainerBase {
16784
17143
  }
16785
17144
  let arrowIcon = this.arrowIcon;
16786
17145
  if (this.hideIcon && data.loading) arrowIcon = this.loadingIcon;
16787
- return jsxs$1(
17146
+ return jsxs(
16788
17147
  "div",
16789
17148
  {
16790
17149
  className: data.classNames,
16791
17150
  style: data.style,
16792
17151
  children: [
16793
- jsxs$1("div", {
17152
+ jsxs("div", {
16794
17153
  className: CSS.element(baseClass, "handle"),
16795
17154
  onClick: (e) => this.toggle(e, instance),
16796
17155
  onMouseDown: !this.hideIcon ? stopPropagation : undefined,
@@ -16924,7 +17283,7 @@ Pagination.prototype.length = 5;
16924
17283
  Pagination.prototype.styled = true;
16925
17284
  Widget.alias("pagination", Pagination);
16926
17285
 
16927
- class DragSource extends ContainerBase {
17286
+ class DragSource extends StyledContainerBase {
16928
17287
  constructor(config) {
16929
17288
  super(config);
16930
17289
  }
@@ -16972,7 +17331,6 @@ class DragSource extends ContainerBase {
16972
17331
  );
16973
17332
  }
16974
17333
  }
16975
- DragSource.prototype.styled = true;
16976
17334
  DragSource.prototype.baseClass = "dragsource";
16977
17335
  DragSource.prototype.hideOnDrag = false;
16978
17336
  DragSource.prototype.handled = false;
@@ -17111,7 +17469,7 @@ DragHandle.prototype.styled = true;
17111
17469
  DragHandle.prototype.baseClass = "draghandle";
17112
17470
  Widget.alias("draghandle", DragHandle);
17113
17471
 
17114
- class DropZone extends ContainerBase {
17472
+ class DropZone extends StyledContainerBase {
17115
17473
  constructor(config) {
17116
17474
  super(config);
17117
17475
  }
@@ -17161,7 +17519,6 @@ class DropZone extends ContainerBase {
17161
17519
  );
17162
17520
  }
17163
17521
  }
17164
- DropZone.prototype.styled = true;
17165
17522
  DropZone.prototype.nearDistance = 0;
17166
17523
  DropZone.prototype.hinflate = 0;
17167
17524
  DropZone.prototype.vinflate = 0;
@@ -17380,6 +17737,7 @@ export {
17380
17737
  Pagination,
17381
17738
  ProgressBar,
17382
17739
  Radio,
17740
+ ReactElementWrapper,
17383
17741
  RedirectRoute,
17384
17742
  Resizer,
17385
17743
  Route,