cx 26.0.14 → 26.1.1

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 (263) hide show
  1. package/build/ui/VDOM.d.ts +1 -20
  2. package/build/ui/VDOM.js +1 -3
  3. package/build/ui/Widget.d.ts +1 -1
  4. package/build/ui/Widget.js +0 -5
  5. package/build/ui/app/startAppLoop.js +2 -10
  6. package/build/util/Component.js +5 -0
  7. package/build/util/test/createTestRenderer.d.ts +3 -1
  8. package/build/util/test/createTestRenderer.js +8 -2
  9. package/build/widgets/form/Checkbox.d.ts +0 -1
  10. package/build/widgets/form/Checkbox.js +1 -0
  11. package/build/widgets/form/ColorField.d.ts +0 -1
  12. package/build/widgets/form/ColorField.js +2 -2
  13. package/build/widgets/form/DateTimeField.d.ts +0 -2
  14. package/build/widgets/form/DateTimeField.js +1 -0
  15. package/build/widgets/form/DateTimePicker.d.ts +0 -2
  16. package/build/widgets/form/DateTimePicker.js +1 -0
  17. package/build/widgets/form/Radio.d.ts +0 -1
  18. package/build/widgets/form/Slider.js +9 -1
  19. package/build/widgets/form/Switch.d.ts +0 -1
  20. package/build/widgets/form/Switch.js +1 -1
  21. package/build/widgets/form/Wheel.d.ts +0 -1
  22. package/build/widgets/grid/Grid.d.ts +0 -2
  23. package/build/widgets/grid/GridCellEditor.js +3 -1
  24. package/build/widgets/icons/calendar.js +4 -3
  25. package/build/widgets/icons/check.js +2 -2
  26. package/build/widgets/icons/clear.js +2 -2
  27. package/build/widgets/icons/close.js +2 -2
  28. package/build/widgets/icons/cx.js +2 -2
  29. package/build/widgets/icons/drop-down.js +2 -2
  30. package/build/widgets/icons/file.js +2 -2
  31. package/build/widgets/icons/folder-open.js +2 -2
  32. package/build/widgets/icons/folder.js +2 -2
  33. package/build/widgets/icons/forward.js +2 -2
  34. package/build/widgets/icons/loading.js +2 -2
  35. package/build/widgets/icons/menu.js +2 -2
  36. package/build/widgets/icons/pixel-picker.js +2 -2
  37. package/build/widgets/icons/search.js +2 -2
  38. package/build/widgets/icons/sort-asc.js +2 -2
  39. package/build/widgets/icons/square.js +2 -2
  40. package/build/widgets/overlay/Overlay.d.ts +3 -0
  41. package/build/widgets/overlay/Overlay.js +3 -2
  42. package/dist/manifest.js +867 -867
  43. package/dist/ui.js +4 -18
  44. package/dist/util.js +4 -0
  45. package/dist/widgets.js +395 -319
  46. package/package.json +11 -8
  47. package/src/charts/Chart.ts +108 -108
  48. package/src/core.d.ts +182 -182
  49. package/src/data/Expression.spec.ts +229 -229
  50. package/src/data/Expression.ts +233 -233
  51. package/src/data/Grouper.ts +158 -158
  52. package/src/data/Selector.ts +10 -10
  53. package/src/data/StringTemplate.spec.ts +132 -132
  54. package/src/data/StructuredSelector.ts +146 -146
  55. package/src/data/ZoomIntoPropertyView.spec.ts +64 -64
  56. package/src/data/comparer.ts +78 -78
  57. package/src/data/computable.spec.ts +87 -87
  58. package/src/data/createStructuredSelector.ts +62 -62
  59. package/src/data/getAccessor.spec.ts +11 -11
  60. package/src/data/getAccessor.ts +74 -74
  61. package/src/data/getSelector.spec.ts +43 -43
  62. package/src/data/getSelector.ts +66 -66
  63. package/src/data/ops/filter.spec.ts +35 -35
  64. package/src/data/ops/filter.ts +9 -9
  65. package/src/data/ops/merge.ts +13 -13
  66. package/src/data/ops/removeTreeNodes.spec.ts +37 -37
  67. package/src/data/ops/updateArray.spec.ts +69 -69
  68. package/src/data/ops/updateArray.ts +31 -31
  69. package/src/data/test-types.ts +7 -7
  70. package/src/hooks/invokeCallback.spec.tsx +4 -4
  71. package/src/hooks/resolveCallback.spec.tsx +4 -4
  72. package/src/hooks/store.spec.tsx +15 -15
  73. package/src/hooks/useTrigger.spec.tsx +16 -10
  74. package/src/hooks/useTrigger.ts +26 -26
  75. package/src/index.scss +6 -6
  76. package/src/jsx-runtime.ts +79 -79
  77. package/src/svg/BoundedObject.ts +101 -101
  78. package/src/svg/util/Rect.ts +105 -105
  79. package/src/ui/CSS.ts +87 -87
  80. package/src/ui/CSSHelper.ts +17 -17
  81. package/src/ui/ContentResolver.spec.tsx +31 -29
  82. package/src/ui/Controller.spec.tsx +47 -39
  83. package/src/ui/Culture.ts +159 -159
  84. package/src/ui/Cx.spec.tsx +10 -8
  85. package/src/ui/DataProxy.spec.tsx +18 -18
  86. package/src/ui/Instance.ts +866 -866
  87. package/src/ui/IsolatedScope.spec.tsx +16 -9
  88. package/src/ui/Prop.ts +140 -140
  89. package/src/ui/PureContainer.spec.tsx +20 -18
  90. package/src/ui/RenderingContext.ts +99 -99
  91. package/src/ui/Repeater.spec.tsx +8 -6
  92. package/src/ui/Rescope.spec.tsx +13 -13
  93. package/src/ui/Restate.spec.tsx +31 -27
  94. package/src/ui/StructuredInstanceDataAccessor.ts +32 -32
  95. package/src/ui/VDOM.ts +1 -34
  96. package/src/ui/Widget.tsx +0 -7
  97. package/src/ui/adapter/TreeAdapter.spec.ts +76 -76
  98. package/src/ui/adapter/TreeAdapter.ts +185 -185
  99. package/src/ui/app/History.ts +133 -133
  100. package/src/ui/app/Url.spec.ts +50 -50
  101. package/src/ui/app/startAppLoop.tsx +5 -9
  102. package/src/ui/app/startHotAppLoop.ts +41 -41
  103. package/src/ui/createFunctionalComponent.spec.tsx +20 -18
  104. package/src/ui/layout/ContentPlaceholder.spec.tsx +46 -34
  105. package/src/ui/layout/FirstVisibleChildLayout.spec.tsx +31 -19
  106. package/src/ui/layout/FirstVisibleChildLayout.ts +60 -60
  107. package/src/ui/selection/PropertySelection.ts +87 -87
  108. package/src/util/Component.spec.ts +30 -0
  109. package/src/util/Component.ts +301 -296
  110. package/src/util/Console.ts +13 -13
  111. package/src/util/DOM.ts +88 -88
  112. package/src/util/hasKey.ts +18 -18
  113. package/src/util/index.ts +55 -55
  114. package/src/util/isArray.ts +3 -3
  115. package/src/util/isDefined.ts +3 -3
  116. package/src/util/isString.ts +3 -3
  117. package/src/util/test/createTestRenderer.tsx +9 -2
  118. package/src/widgets/AccessorBindings.spec.tsx +4 -4
  119. package/src/widgets/DocumentTitle.ts +95 -95
  120. package/src/widgets/HtmlElement.spec.tsx +6 -6
  121. package/src/widgets/ReactElementWrapper.spec.tsx +37 -37
  122. package/src/widgets/autoFocus.ts +9 -9
  123. package/src/widgets/cx.ts +63 -63
  124. package/src/widgets/form/Checkbox.tsx +0 -1
  125. package/src/widgets/form/ColorField.tsx +15 -12
  126. package/src/widgets/form/DateTimeField.tsx +0 -2
  127. package/src/widgets/form/DateTimePicker.tsx +0 -2
  128. package/src/widgets/form/Radio.tsx +0 -1
  129. package/src/widgets/form/Slider.tsx +12 -4
  130. package/src/widgets/form/Switch.tsx +2 -3
  131. package/src/widgets/form/ValidationGroup.spec.tsx +12 -12
  132. package/src/widgets/form/Wheel.tsx +0 -1
  133. package/src/widgets/grid/Grid.tsx +0 -1
  134. package/src/widgets/grid/GridCellEditor.tsx +7 -1
  135. package/src/widgets/icons/calendar.tsx +20 -15
  136. package/src/widgets/icons/check.tsx +2 -1
  137. package/src/widgets/icons/clear.tsx +2 -1
  138. package/src/widgets/icons/close.tsx +2 -2
  139. package/src/widgets/icons/cx.tsx +2 -1
  140. package/src/widgets/icons/drop-down.tsx +2 -1
  141. package/src/widgets/icons/file.tsx +2 -1
  142. package/src/widgets/icons/folder-open.tsx +2 -1
  143. package/src/widgets/icons/folder.tsx +2 -1
  144. package/src/widgets/icons/forward.tsx +2 -1
  145. package/src/widgets/icons/loading.tsx +2 -1
  146. package/src/widgets/icons/menu.tsx +2 -1
  147. package/src/widgets/icons/pixel-picker.tsx +2 -2
  148. package/src/widgets/icons/search.tsx +2 -1
  149. package/src/widgets/icons/sort-asc.tsx +2 -1
  150. package/src/widgets/icons/square.tsx +2 -1
  151. package/src/widgets/nav/Route.spec.tsx +2 -2
  152. package/src/widgets/overlay/Overlay.tsx +5 -1
  153. package/src/widgets/overlay/captureMouse.ts +195 -195
  154. package/src/widgets/overlay/createHotPromiseWindowFactory.ts +71 -71
  155. package/src/widgets/overlay/index.d.ts +11 -11
  156. package/src/widgets/overlay/tooltip-ops.ts +173 -173
  157. package/build/data/ArrayElementView.spec.d.ts +0 -1
  158. package/build/data/ArrayElementView.spec.js +0 -81
  159. package/build/data/Binding.spec.d.ts +0 -1
  160. package/build/data/Binding.spec.js +0 -61
  161. package/build/data/Expression.spec.d.ts +0 -1
  162. package/build/data/Expression.spec.js +0 -196
  163. package/build/data/Grouper.spec.d.ts +0 -1
  164. package/build/data/Grouper.spec.js +0 -48
  165. package/build/data/Ref.spec.d.ts +0 -1
  166. package/build/data/Ref.spec.js +0 -72
  167. package/build/data/Store.spec.d.ts +0 -1
  168. package/build/data/Store.spec.js +0 -19
  169. package/build/data/StoreRef.spec.d.ts +0 -1
  170. package/build/data/StoreRef.spec.js +0 -22
  171. package/build/data/StringTemplate.spec.d.ts +0 -1
  172. package/build/data/StringTemplate.spec.js +0 -112
  173. package/build/data/StructuredSelector.spec.d.ts +0 -1
  174. package/build/data/StructuredSelector.spec.js +0 -102
  175. package/build/data/View.spec.d.ts +0 -1
  176. package/build/data/View.spec.js +0 -44
  177. package/build/data/ZoomIntoPropertyView.spec.d.ts +0 -1
  178. package/build/data/ZoomIntoPropertyView.spec.js +0 -54
  179. package/build/data/comparer.spec.d.ts +0 -1
  180. package/build/data/comparer.spec.js +0 -50
  181. package/build/data/computable.spec.d.ts +0 -1
  182. package/build/data/computable.spec.js +0 -56
  183. package/build/data/createAccessorModelProxy.spec.d.ts +0 -1
  184. package/build/data/createAccessorModelProxy.spec.js +0 -30
  185. package/build/data/createStructuredSelector.spec.d.ts +0 -1
  186. package/build/data/createStructuredSelector.spec.js +0 -42
  187. package/build/data/diff/diffs.spec.d.ts +0 -1
  188. package/build/data/diff/diffs.spec.js +0 -45
  189. package/build/data/getAccessor.spec.d.ts +0 -1
  190. package/build/data/getAccessor.spec.js +0 -10
  191. package/build/data/getSelector.spec.d.ts +0 -1
  192. package/build/data/getSelector.spec.js +0 -36
  193. package/build/data/ops/append.spec.d.ts +0 -1
  194. package/build/data/ops/append.spec.js +0 -24
  195. package/build/data/ops/filter.spec.d.ts +0 -1
  196. package/build/data/ops/filter.spec.js +0 -25
  197. package/build/data/ops/findTreeNode.spec.d.ts +0 -1
  198. package/build/data/ops/findTreeNode.spec.js +0 -20
  199. package/build/data/ops/merge.spec.d.ts +0 -1
  200. package/build/data/ops/merge.spec.js +0 -23
  201. package/build/data/ops/removeTreeNodes.spec.d.ts +0 -1
  202. package/build/data/ops/removeTreeNodes.spec.js +0 -35
  203. package/build/data/ops/updateArray.spec.d.ts +0 -1
  204. package/build/data/ops/updateArray.spec.js +0 -33
  205. package/build/data/ops/updateTree.spec.d.ts +0 -1
  206. package/build/data/ops/updateTree.spec.js +0 -44
  207. package/build/hooks/invokeCallback.spec.d.ts +0 -1
  208. package/build/hooks/invokeCallback.spec.js +0 -44
  209. package/build/hooks/resolveCallback.spec.d.ts +0 -1
  210. package/build/hooks/resolveCallback.spec.js +0 -35
  211. package/build/hooks/store.spec.d.ts +0 -1
  212. package/build/hooks/store.spec.js +0 -48
  213. package/build/hooks/useTrigger.spec.d.ts +0 -1
  214. package/build/hooks/useTrigger.spec.js +0 -59
  215. package/build/ui/Controller.spec.d.ts +0 -1
  216. package/build/ui/Controller.spec.js +0 -247
  217. package/build/ui/Cx.spec.d.ts +0 -1
  218. package/build/ui/Cx.spec.js +0 -153
  219. package/build/ui/DataProxy.spec.d.ts +0 -1
  220. package/build/ui/DataProxy.spec.js +0 -208
  221. package/build/ui/IsolatedScope.spec.d.ts +0 -1
  222. package/build/ui/IsolatedScope.spec.js +0 -42
  223. package/build/ui/PureContainer.spec.d.ts +0 -1
  224. package/build/ui/PureContainer.spec.js +0 -149
  225. package/build/ui/Repeater.spec.d.ts +0 -1
  226. package/build/ui/Repeater.spec.js +0 -109
  227. package/build/ui/Rescope.spec.d.ts +0 -1
  228. package/build/ui/Rescope.spec.js +0 -134
  229. package/build/ui/Restate.spec.d.ts +0 -1
  230. package/build/ui/Restate.spec.js +0 -257
  231. package/build/ui/adapter/ArrayAdapter.spec.d.ts +0 -1
  232. package/build/ui/adapter/ArrayAdapter.spec.js +0 -44
  233. package/build/ui/adapter/TreeAdapter.spec.d.ts +0 -1
  234. package/build/ui/adapter/TreeAdapter.spec.js +0 -71
  235. package/build/ui/app/Url.spec.d.ts +0 -1
  236. package/build/ui/app/Url.spec.js +0 -43
  237. package/build/ui/createFunctionalComponent.spec.d.ts +0 -1
  238. package/build/ui/createFunctionalComponent.spec.js +0 -272
  239. package/build/ui/layout/ContentPlaceholder.spec.d.ts +0 -1
  240. package/build/ui/layout/ContentPlaceholder.spec.js +0 -333
  241. package/build/ui/layout/FirstVisibleChildLayout.spec.d.ts +0 -1
  242. package/build/ui/layout/FirstVisibleChildLayout.spec.js +0 -101
  243. package/build/util/Format.spec.d.ts +0 -1
  244. package/build/util/Format.spec.js +0 -58
  245. package/build/util/TraversalStack.spec.d.ts +0 -1
  246. package/build/util/TraversalStack.spec.js +0 -43
  247. package/build/util/date/upperBoundCheck.spec.d.ts +0 -1
  248. package/build/util/date/upperBoundCheck.spec.js +0 -22
  249. package/build/util/getSearchQueryPredicate.spec.d.ts +0 -1
  250. package/build/util/getSearchQueryPredicate.spec.js +0 -33
  251. package/build/util/isValidIdentifierName.spec.d.ts +0 -1
  252. package/build/util/isValidIdentifierName.spec.js +0 -28
  253. package/build/util/routeAppend.spec.d.ts +0 -1
  254. package/build/util/routeAppend.spec.js +0 -14
  255. package/build/widgets/AccessorBindings.spec.d.ts +0 -1
  256. package/build/widgets/AccessorBindings.spec.js +0 -40
  257. package/build/widgets/HtmlElement.spec.d.ts +0 -1
  258. package/build/widgets/HtmlElement.spec.js +0 -38
  259. package/build/widgets/form/ValidationGroup.spec.d.ts +0 -1
  260. package/build/widgets/form/ValidationGroup.spec.js +0 -62
  261. package/build/widgets/nav/Route.spec.d.ts +0 -1
  262. package/build/widgets/nav/Route.spec.js +0 -15
  263. package/dist/manifest.d.ts +0 -1443
package/dist/widgets.js CHANGED
@@ -542,171 +542,203 @@ function restoreDefaultIcons() {
542
542
 
543
543
  registerIcon(
544
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
- });
545
+ ({ key, ...props }) => {
546
+ return jsxs(
547
+ "svg",
548
+ {
549
+ ...props,
550
+ viewBox: "0 0 32 32",
551
+ children: [
552
+ jsx("path", {
553
+ d: "M4 3h6m10 0h6",
554
+ fill: "none",
555
+ stroke: "currentColor",
556
+ strokeWidth: "2",
557
+ }),
558
+ jsx("path", {
559
+ d: "M19 21h4v4h-4z",
560
+ fill: "currentColor",
561
+ }),
562
+ jsx("path", {
563
+ d: "M3 25h24M3 21h24M3 17h24M7 28V13m-4 0h24M11 28V13.2M15 28V13.27M19 28V13.03M23 28V13.5",
564
+ fill: "none",
565
+ stroke: "currentColor",
566
+ }),
567
+ jsx("path", {
568
+ fill: "currentColor",
569
+ d: "M10 8h10v2H10z",
570
+ }),
571
+ jsx("path", {
572
+ fill: "none",
573
+ stroke: "currentColor",
574
+ strokeWidth: "2",
575
+ d: "M3 5h24v24H3z",
576
+ }),
577
+ ],
578
+ },
579
+ key,
580
+ );
577
581
  },
578
582
  true,
579
583
  );
580
584
 
581
585
  var CheckIcon = registerIcon(
582
586
  "check",
583
- (props) => {
584
- return jsx("svg", {
585
- ...props,
586
- viewBox: "0 0 64 64",
587
- children: jsx("path", {
588
- d: "M7.136 42.94l20.16 14.784 29.568-40.32-9.72-7.128-22.598 30.816-10.44-7.656z",
589
- fill: "currentColor",
590
- }),
591
- });
587
+ ({ key, ...props }) => {
588
+ return jsx(
589
+ "svg",
590
+ {
591
+ ...props,
592
+ viewBox: "0 0 64 64",
593
+ children: jsx("path", {
594
+ d: "M7.136 42.94l20.16 14.784 29.568-40.32-9.72-7.128-22.598 30.816-10.44-7.656z",
595
+ fill: "currentColor",
596
+ }),
597
+ },
598
+ key,
599
+ );
592
600
  },
593
601
  true,
594
602
  );
595
603
 
596
604
  var ClearIcon = registerIcon(
597
605
  "clear",
598
- (props) => {
599
- return jsx("svg", {
600
- ...props,
601
- viewBox: "0 0 32 32",
602
- children: jsx("path", {
603
- fill: "currentColor",
604
- strokeWidth: "1",
605
- stroke: "currentColor",
606
- d: "M16.9 16l4.92-4.92c.24-.24.24-.6 0-.84s-.6-.24-.84 0l-4.92 4.92-5.04-4.98c-.24-.24-.6-.24-.84 0s-.24.6 0 .84L15.16 16l-4.98 4.98c-.24.24-.24.6 0 .84s.6.24.84 0L16 16.84l4.98 4.98c.24.24.6.24.84 0s.24-.6 0-.84L16.9 16z",
607
- }),
608
- });
606
+ ({ key, ...props }) => {
607
+ return jsx(
608
+ "svg",
609
+ {
610
+ ...props,
611
+ viewBox: "0 0 32 32",
612
+ children: jsx("path", {
613
+ fill: "currentColor",
614
+ strokeWidth: "1",
615
+ stroke: "currentColor",
616
+ d: "M16.9 16l4.92-4.92c.24-.24.24-.6 0-.84s-.6-.24-.84 0l-4.92 4.92-5.04-4.98c-.24-.24-.6-.24-.84 0s-.24.6 0 .84L15.16 16l-4.98 4.98c-.24.24-.24.6 0 .84s.6.24.84 0L16 16.84l4.98 4.98c.24.24.6.24.84 0s.24-.6 0-.84L16.9 16z",
617
+ }),
618
+ },
619
+ key,
620
+ );
609
621
  },
610
622
  true,
611
623
  );
612
624
 
613
625
  registerIcon(
614
626
  "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
- });
627
+ ({ key, ...props }) => {
628
+ return jsx(
629
+ "svg",
630
+ {
631
+ ...props,
632
+ viewBox: "0 0 32 32",
633
+ children: jsx("path", {
634
+ fill: "currentColor",
635
+ strokeWidth: "1",
636
+ stroke: "currentColor",
637
+ 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",
638
+ }),
639
+ },
640
+ key,
641
+ );
626
642
  },
627
643
  true,
628
644
  );
629
645
 
630
646
  var DropdownIcon = registerIcon(
631
647
  "drop-down",
632
- (props) => {
633
- return jsx("svg", {
634
- ...props,
635
- viewBox: "0 0 20 20",
636
- children: jsx("path", {
637
- fill: "currentColor",
638
- strokeWidth: "0",
639
- stroke: "currentColor",
640
- d: "M4.516 8.147L10.01 12.5l5.474-4.33-.473-.65-5 3.98-5-4z",
641
- }),
642
- });
648
+ ({ key, ...props }) => {
649
+ return jsx(
650
+ "svg",
651
+ {
652
+ ...props,
653
+ viewBox: "0 0 20 20",
654
+ children: jsx("path", {
655
+ fill: "currentColor",
656
+ strokeWidth: "0",
657
+ stroke: "currentColor",
658
+ d: "M4.516 8.147L10.01 12.5l5.474-4.33-.473-.65-5 3.98-5-4z",
659
+ }),
660
+ },
661
+ key,
662
+ );
643
663
  },
644
664
  true,
645
665
  );
646
666
 
647
667
  registerIcon(
648
668
  "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
- });
669
+ ({ key, ...props }) => {
670
+ return jsx(
671
+ "svg",
672
+ {
673
+ ...props,
674
+ viewBox: "0 0 16 16",
675
+ children: jsx("path", {
676
+ d: "M1 5h13v9H1zm1 0h6L7 3H3z",
677
+ fill: "currentColor",
678
+ stroke: "none",
679
+ }),
680
+ },
681
+ key,
682
+ );
659
683
  },
660
684
  true,
661
685
  );
662
686
 
663
687
  registerIcon(
664
688
  "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
- });
689
+ ({ key, ...props }) => {
690
+ return jsxs(
691
+ "svg",
692
+ {
693
+ ...props,
694
+ viewBox: "0 0 16 16",
695
+ children: [
696
+ jsx("path", {
697
+ d: "M0 5v7l2.5-6H13V5zm1 0h6L6 3H2z",
698
+ fill: "currentColor",
699
+ stroke: "none",
700
+ }),
701
+ jsx("path", {
702
+ d: "M3 7h13l-3 7H0z",
703
+ fill: "currentColor",
704
+ stroke: "none",
705
+ }),
706
+ ],
707
+ },
708
+ key,
709
+ );
682
710
  },
683
711
  true,
684
712
  );
685
713
 
686
714
  registerIcon(
687
715
  "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
- });
716
+ ({ key, ...props }) => {
717
+ return jsxs(
718
+ "svg",
719
+ {
720
+ ...props,
721
+ viewBox: "0 0 24 24",
722
+ children: [
723
+ jsx("path", {
724
+ d: "M0 0h24v24H0z",
725
+ fill: "none",
726
+ }),
727
+ jsx("path", {
728
+ 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",
729
+ fill: "currentColor",
730
+ }),
731
+ ],
732
+ },
733
+ key,
734
+ );
703
735
  },
704
736
  true,
705
737
  );
706
738
 
707
739
  registerIcon(
708
740
  "loading",
709
- (props) => {
741
+ ({ key, ...props }) => {
710
742
  let style = {
711
743
  animation: "linear infinite 0.5s cx-rotate",
712
744
  };
@@ -715,173 +747,189 @@ registerIcon(
715
747
  ...props,
716
748
  style,
717
749
  };
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
- });
750
+ return jsx(
751
+ "svg",
752
+ {
753
+ ...props,
754
+ viewBox: "0 0 50 50",
755
+ children: jsx("path", {
756
+ fill: "currentColor",
757
+ 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",
758
+ }),
759
+ },
760
+ key,
761
+ );
726
762
  },
727
763
  true,
728
764
  );
729
765
 
730
766
  registerIcon(
731
767
  "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
- });
768
+ ({ key, ...props }) => {
769
+ return jsx(
770
+ "svg",
771
+ {
772
+ ...props,
773
+ viewBox: "0 0 32 32",
774
+ children: jsx("path", {
775
+ fill: "currentColor",
776
+ 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",
777
+ }),
778
+ },
779
+ key,
780
+ );
741
781
  },
742
782
  true,
743
783
  );
744
784
 
745
785
  registerIcon(
746
786
  "cx",
747
- (props) => {
748
- return jsx("svg", {
749
- ...props,
750
- viewBox: "-347 249.7 48 48",
751
- children: jsxs("g", {
787
+ ({ key, ...props }) => {
788
+ return jsx(
789
+ "svg",
790
+ {
791
+ ...props,
792
+ viewBox: "-347 249.7 48 48",
793
+ children: jsxs("g", {
794
+ children: [
795
+ jsx("path", {
796
+ fill: "currentColor",
797
+ opacity: "0.7",
798
+ d: "M-337.1 273.16l-4.23-7.33h8.46z",
799
+ }),
800
+ jsx("path", {
801
+ fill: "currentColor",
802
+ d: "M-318.32 273.16l-4.23-7.33h8.46z",
803
+ }),
804
+ jsx("path", {
805
+ fill: "currentColor",
806
+ opacity: "0.7",
807
+ d: "M-337.53 273.43h-8.45l4.22-7.33z",
808
+ }),
809
+ jsx("path", {
810
+ fill: "currentColor",
811
+ d: "M-309.38 273.43h-8.46l4.23-7.33z",
812
+ }),
813
+ jsx("path", {
814
+ fill: "currentColor",
815
+ opacity: "0.7",
816
+ d: "M-332.4 265.03l-4.22-7.33h8.46z",
817
+ }),
818
+ jsx("path", {
819
+ fill: "currentColor",
820
+ d: "M-304.24 265.03l-4.23-7.33h8.45z",
821
+ }),
822
+ jsx("path", {
823
+ fill: "currentColor",
824
+ d: "M-322.97 265.03l-4.28-7.33h8.5z",
825
+ }),
826
+ jsx("path", {
827
+ fill: "currentColor",
828
+ opacity: "0.7",
829
+ d: "M-332.87 265.3h-8.46l4.23-7.33z",
830
+ }),
831
+ jsx("path", {
832
+ fill: "currentColor",
833
+ opacity: "0.7",
834
+ d: "M-323.45 265.3h-8.46l4.2-7.33z",
835
+ }),
836
+ jsx("path", {
837
+ fill: "currentColor",
838
+ d: "M-314.1 265.3h-8.45l4.23-7.33z",
839
+ }),
840
+ jsx("path", {
841
+ fill: "currentColor",
842
+ d: "M-308.9 273.16l-4.23-7.33h8.46z",
843
+ }),
844
+ jsx("path", {
845
+ fill: "currentColor",
846
+ d: "M-304.67 265.3h-8.46l4.23-7.33z",
847
+ }),
848
+ jsx("path", {
849
+ fill: "currentColor",
850
+ d: "M-314.1 281.57h-8.45l4.23-7.33z",
851
+ }),
852
+ jsx("path", {
853
+ fill: "currentColor",
854
+ d: "M-313.6 281.3l-4.24-7.33h8.46z",
855
+ }),
856
+ jsx("path", {
857
+ fill: "currentColor",
858
+ d: "M-318.32 289.43l-4.23-7.33h8.46z",
859
+ }),
860
+ jsx("path", {
861
+ fill: "currentColor",
862
+ d: "M-304.67 281.57h-8.46l4.23-7.33z",
863
+ }),
864
+ jsx("path", {
865
+ fill: "currentColor",
866
+ d: "M-308.9 289.43l-4.23-7.33h8.46z",
867
+ }),
868
+ jsx("path", {
869
+ fill: "currentColor",
870
+ opacity: "0.7",
871
+ d: "M-341.76 281.3l-4.22-7.33h8.45z",
872
+ }),
873
+ jsx("path", {
874
+ fill: "currentColor",
875
+ opacity: "0.7",
876
+ d: "M-332.87 281.57h-8.46l4.23-7.33z",
877
+ }),
878
+ jsx("path", {
879
+ fill: "currentColor",
880
+ opacity: "0.7",
881
+ d: "M-337.1 289.43l-4.23-7.33h8.46z",
882
+ }),
883
+ jsx("path", {
884
+ fill: "currentColor",
885
+ opacity: "0.7",
886
+ d: "M-327.68 289.43l-4.23-7.33h8.43z",
887
+ }),
888
+ jsx("path", {
889
+ fill: "currentColor",
890
+ opacity: "0.7",
891
+ d: "M-328.16 289.7h-8.46l4.23-7.33z",
892
+ }),
893
+ jsx("path", {
894
+ fill: "currentColor",
895
+ d: "M-318.75 289.7h-8.5l4.28-7.33z",
896
+ }),
897
+ jsx("path", {
898
+ fill: "currentColor",
899
+ d: "M-300.02 289.7h-8.45l4.23-7.33z",
900
+ }),
901
+ ],
902
+ }),
903
+ },
904
+ key,
905
+ );
906
+ },
907
+ true,
908
+ );
909
+
910
+ registerIcon(
911
+ "file",
912
+ ({ key, ...props }) => {
913
+ return jsxs(
914
+ "svg",
915
+ {
916
+ ...props,
917
+ viewBox: "0 0 16 16",
752
918
  children: [
753
919
  jsx("path", {
920
+ d: "M2 2h5v5h5v7H2z",
754
921
  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",
922
+ stroke: "none",
854
923
  }),
855
924
  jsx("path", {
925
+ d: "M8 2v4h4z",
856
926
  fill: "currentColor",
857
- d: "M-300.02 289.7h-8.45l4.23-7.33z",
927
+ stroke: "none",
858
928
  }),
859
929
  ],
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
- });
930
+ },
931
+ key,
932
+ );
885
933
  },
886
934
  true,
887
935
  );
@@ -3180,6 +3228,7 @@ class OverlayComponent extends VDOM.Component {
3180
3228
  widget.overlayWillUnmount(this.props.instance, this);
3181
3229
  if (this.ownedEl) {
3182
3230
  setTimeout(() => {
3231
+ this.root?.unmount();
3183
3232
  if (this.ownedEl?.parentNode) this.ownedEl.parentNode.removeChild(this.ownedEl);
3184
3233
  this.ownedEl = null;
3185
3234
  }, widget.destroyDelay);
@@ -3243,7 +3292,8 @@ class OverlayComponent extends VDOM.Component {
3243
3292
  }
3244
3293
  componentDidUpdate() {
3245
3294
  if (this.containerEl && !VDOM.DOM.createPortal) {
3246
- VDOM.DOM.render(this.renderOverlay(), this.containerEl);
3295
+ this.root = VDOM.DOM.createRoot(this.containerEl);
3296
+ this.root.render(this.renderOverlay());
3247
3297
  }
3248
3298
  this.overlayDidUpdate();
3249
3299
  }
@@ -6601,18 +6651,22 @@ Widget.alias("textfield", TextField);
6601
6651
 
6602
6652
  var SquareIcon = registerIcon(
6603
6653
  "square",
6604
- (props) => {
6605
- return jsx("svg", {
6606
- ...props,
6607
- viewBox: "0 0 64 64",
6608
- children: jsx("rect", {
6609
- x: "12",
6610
- y: "12",
6611
- width: "40",
6612
- height: "40",
6613
- fill: "currentColor",
6614
- }),
6615
- });
6654
+ ({ key, ...props }) => {
6655
+ return jsx(
6656
+ "svg",
6657
+ {
6658
+ ...props,
6659
+ viewBox: "0 0 64 64",
6660
+ children: jsx("rect", {
6661
+ x: "12",
6662
+ y: "12",
6663
+ width: "40",
6664
+ height: "40",
6665
+ fill: "currentColor",
6666
+ }),
6667
+ },
6668
+ key,
6669
+ );
6616
6670
  },
6617
6671
  true,
6618
6672
  );
@@ -7264,25 +7318,29 @@ Widget.alias("option", Option);
7264
7318
 
7265
7319
  var ForwardIcon = registerIcon(
7266
7320
  "forward",
7267
- (props) => {
7268
- return jsxs("svg", {
7269
- ...props,
7270
- viewBox: "0 0 20 20",
7271
- children: [
7272
- jsx("path", {
7273
- fill: "currentColor",
7274
- strokeWidth: "0",
7275
- stroke: "currentColor",
7276
- d: "M10.15 15.5L14.5 10l-4.33-5.47-.65.47 3.98 5-4 5z",
7277
- }),
7278
- jsx("path", {
7279
- fill: "currentColor",
7280
- strokeWidth: "0",
7281
- stroke: "currentColor",
7282
- d: "M6.15 15.5L10.5 10 6.17 4.53 5.52 5l3.98 5-4 5z",
7283
- }),
7284
- ],
7285
- });
7321
+ ({ key, ...props }) => {
7322
+ return jsxs(
7323
+ "svg",
7324
+ {
7325
+ ...props,
7326
+ viewBox: "0 0 20 20",
7327
+ children: [
7328
+ jsx("path", {
7329
+ fill: "currentColor",
7330
+ strokeWidth: "0",
7331
+ stroke: "currentColor",
7332
+ d: "M10.15 15.5L14.5 10l-4.33-5.47-.65.47 3.98 5-4 5z",
7333
+ }),
7334
+ jsx("path", {
7335
+ fill: "currentColor",
7336
+ strokeWidth: "0",
7337
+ stroke: "currentColor",
7338
+ d: "M6.15 15.5L10.5 10 6.17 4.53 5.52 5l3.98 5-4 5z",
7339
+ }),
7340
+ ],
7341
+ },
7342
+ key,
7343
+ );
7286
7344
  },
7287
7345
  true,
7288
7346
  );
@@ -10319,15 +10377,19 @@ function floor5(x) {
10319
10377
 
10320
10378
  var PixelPickerIcon = registerIcon(
10321
10379
  "pixel-picker",
10322
- (props) => {
10323
- return jsx("svg", {
10324
- ...props,
10325
- viewBox: "0 0 30 30",
10326
- children: jsx("path", {
10327
- d: "M27.7,3.3c-1.5-1.5-3.9-1.5-5.4,0L17,8.6l-1.3-1.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l1.3,1.3L5,20.6 c-0.6,0.6-1,1.4-1.1,2.3C3.3,23.4,3,24.2,3,25c0,1.7,1.3,3,3,3c0.8,0,1.6-0.3,2.2-0.9C9,27,9.8,26.6,10.4,26L21,15.4l1.3,1.3 c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L22.4,14l5.3-5.3C29.2,7.2,29.2,4.8,27.7,3.3z M9,24.6 c-0.4,0.4-0.8,0.6-1.3,0.5c-0.4,0-0.7,0.2-0.9,0.5C6.7,25.8,6.3,26,6,26c-0.6,0-1-0.4-1-1c0-0.3,0.2-0.7,0.5-0.8 c0.3-0.2,0.5-0.5,0.5-0.9c0-0.5,0.2-1,0.5-1.3L17,11.4l2.6,2.6L9,24.6z",
10328
- fill: "currentColor",
10329
- }),
10330
- });
10380
+ ({ key, ...props }) => {
10381
+ return jsx(
10382
+ "svg",
10383
+ {
10384
+ ...props,
10385
+ viewBox: "0 0 30 30",
10386
+ children: jsx("path", {
10387
+ d: "M27.7,3.3c-1.5-1.5-3.9-1.5-5.4,0L17,8.6l-1.3-1.3c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l1.3,1.3L5,20.6 c-0.6,0.6-1,1.4-1.1,2.3C3.3,23.4,3,24.2,3,25c0,1.7,1.3,3,3,3c0.8,0,1.6-0.3,2.2-0.9C9,27,9.8,26.6,10.4,26L21,15.4l1.3,1.3 c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L22.4,14l5.3-5.3C29.2,7.2,29.2,4.8,27.7,3.3z M9,24.6 c-0.4,0.4-0.8,0.6-1.3,0.5c-0.4,0-0.7,0.2-0.9,0.5C6.7,25.8,6.3,26,6,26c-0.6,0-1-0.4-1-1c0-0.3,0.2-0.7,0.5-0.8 c0.3-0.2,0.5-0.5,0.5-0.9c0-0.5,0.2-1,0.5-1.3L17,11.4l2.6,2.6L9,24.6z",
10388
+ fill: "currentColor",
10389
+ }),
10390
+ },
10391
+ key,
10392
+ );
10331
10393
  },
10332
10394
  true,
10333
10395
  );
@@ -11947,7 +12009,9 @@ class SliderComponent extends VDOM.Component {
11947
12009
  style: data.style,
11948
12010
  id: data.id,
11949
12011
  onClick: (e) => this.onClick(e),
11950
- ref: (el) => (this.dom.el = el || undefined),
12012
+ ref: (el) => {
12013
+ this.dom.el = el || undefined;
12014
+ },
11951
12015
  onMouseMove: (e) => tooltipMouseMove$1(e, ...getFieldTooltip(instance)),
11952
12016
  onMouseLeave: (e) => tooltipMouseLeave$1(e, ...getFieldTooltip(instance)),
11953
12017
  children: [
@@ -11969,7 +12033,9 @@ class SliderComponent extends VDOM.Component {
11969
12033
  "div",
11970
12034
  {
11971
12035
  className: CSS.element(baseClass, "space"),
11972
- ref: (c) => (this.dom.range = c || undefined),
12036
+ ref: (c) => {
12037
+ this.dom.range = c || undefined;
12038
+ },
11973
12039
  children: [
11974
12040
  widget.showFrom &&
11975
12041
  jsx(
@@ -11985,7 +12051,9 @@ class SliderComponent extends VDOM.Component {
11985
12051
  }),
11986
12052
  onMouseLeave: (e) => this.onHandleMouseLeave(e, "from"),
11987
12053
  onTouchStart: (e) => this.onHandleMouseDown(e, "from"),
11988
- ref: (c) => (this.dom.from = c || undefined),
12054
+ ref: (c) => {
12055
+ this.dom.from = c || undefined;
12056
+ },
11989
12057
  },
11990
12058
  "from",
11991
12059
  ),
@@ -12003,7 +12071,9 @@ class SliderComponent extends VDOM.Component {
12003
12071
  }),
12004
12072
  onMouseLeave: (e) => this.onHandleMouseLeave(e, "to"),
12005
12073
  onTouchStart: (e) => this.onHandleMouseDown(e, "to"),
12006
- ref: (c) => (this.dom.to = c || undefined),
12074
+ ref: (c) => {
12075
+ this.dom.to = c || undefined;
12076
+ },
12007
12077
  },
12008
12078
  "to",
12009
12079
  ),
@@ -13642,15 +13712,19 @@ class Validator extends Field {
13642
13712
 
13643
13713
  var DropDownIcon = registerIcon(
13644
13714
  "sort-asc",
13645
- (props) => {
13646
- return jsx("svg", {
13647
- ...props,
13648
- viewBox: "0 0 16 16",
13649
- children: jsx("path", {
13650
- fill: "currentColor",
13651
- d: "M10.5 5.8l-3-3-3 3 .707.708L7 4.688v8.312h1V4.69l1.793 1.817z",
13652
- }),
13653
- });
13715
+ ({ key, ...props }) => {
13716
+ return jsx(
13717
+ "svg",
13718
+ {
13719
+ ...props,
13720
+ viewBox: "0 0 16 16",
13721
+ children: jsx("path", {
13722
+ fill: "currentColor",
13723
+ d: "M10.5 5.8l-3-3-3 3 .707.708L7 4.688v8.312h1V4.69l1.793 1.817z",
13724
+ }),
13725
+ },
13726
+ key,
13727
+ );
13654
13728
  },
13655
13729
  true,
13656
13730
  );
@@ -13678,7 +13752,9 @@ class GridCellEditorCmp extends VDOM.Component {
13678
13752
  render() {
13679
13753
  let { className, style, children } = this.props;
13680
13754
  return jsx("div", {
13681
- ref: (el) => (this.el = el),
13755
+ ref: (el) => {
13756
+ this.el = el;
13757
+ },
13682
13758
  className: className,
13683
13759
  style: style,
13684
13760
  children: children,