@octane-xplat/ui 0.5.0 → 0.6.0

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 (281) hide show
  1. package/README.md +3 -0
  2. package/dist/native/Absolute.native.tsrx.js +43 -0
  3. package/dist/native/Accordion.native.tsrx.js +75 -0
  4. package/dist/native/ActivityIndicator.native.tsrx.js +35 -0
  5. package/dist/native/Alert.native.tsrx.js +74 -0
  6. package/dist/native/Avatar.native.tsrx.js +76 -0
  7. package/dist/native/AvatarGroup.native.tsrx.js +84 -0
  8. package/dist/native/Badge.native.tsrx.js +29 -0
  9. package/dist/native/Banner.native.tsrx.js +80 -0
  10. package/dist/native/Breadcrumb.native.tsrx.js +66 -0
  11. package/dist/native/Button.native.tsrx.js +62 -0
  12. package/dist/native/CameraView.native.tsrx.js +165 -0
  13. package/dist/native/Card.native.tsrx.js +64 -0
  14. package/dist/native/Checkbox.native.tsrx.js +58 -0
  15. package/dist/native/CheckboxGroup.native.tsrx.js +70 -0
  16. package/dist/native/Chip.native.tsrx.js +83 -0
  17. package/dist/native/Collapsible.native.tsrx.js +74 -0
  18. package/dist/native/CommandPalette.native.tsrx.js +143 -0
  19. package/dist/native/ContextMenu.native.tsrx.js +140 -0
  20. package/dist/native/Drawer.native.tsrx.js +60 -0
  21. package/dist/native/DropdownMenu.native.tsrx.js +155 -0
  22. package/dist/native/Empty.native.tsrx.js +82 -0
  23. package/dist/native/FieldGroup.native.tsrx.js +39 -0
  24. package/dist/native/FormField.native.tsrx.js +53 -0
  25. package/dist/native/{ui8.js → Grid.native.tsrx.js} +19 -8
  26. package/dist/native/{ui59.js → Heading.native.tsrx.js} +2 -2
  27. package/dist/native/{ui58.js → Icon.native.tsrx.js} +4 -4
  28. package/dist/native/{ui29.js → Image.native.tsrx.js} +4 -4
  29. package/dist/native/InputNumber.native.tsrx.js +146 -0
  30. package/dist/native/InputRating.native.tsrx.js +74 -0
  31. package/dist/native/InputTags.native.tsrx.js +131 -0
  32. package/dist/native/Kbd.native.tsrx.js +29 -0
  33. package/dist/native/{ui50.js → KeyboardAvoiding.native.tsrx.js} +1 -1
  34. package/dist/native/{ui17.js → Link.native.tsrx.js} +1 -1
  35. package/dist/native/{ui55.js → Meter.native.tsrx.js} +2 -2
  36. package/dist/native/{ui22.js → NavLink.native.tsrx.js} +3 -3
  37. package/dist/native/NavigationMenu.native.tsrx.js +67 -0
  38. package/dist/native/{ui35.js → Overlay.native.tsrx.js} +3 -3
  39. package/dist/native/Pager.native.tsrx.js +282 -0
  40. package/dist/native/Pagination.native.tsrx.js +107 -0
  41. package/dist/native/PinInput.native.tsrx.js +94 -0
  42. package/dist/native/{ui38.js → Popover.native.tsrx.js} +5 -5
  43. package/dist/native/{ui16.js → Pressable.native.tsrx.js} +20 -14
  44. package/dist/native/ProgressGroup.native.tsrx.js +66 -0
  45. package/dist/native/RadioGroup.native.tsrx.js +85 -0
  46. package/dist/native/{ui15.js → RichText.native.tsrx.js} +15 -22
  47. package/dist/native/Row.native.tsrx.js +98 -0
  48. package/dist/native/{ui49.js → SafeArea.native.tsrx.js} +2 -2
  49. package/dist/native/{ui45.js → Screen.native.tsrx.js} +3 -3
  50. package/dist/native/{ui26.js → ScrollBox.native.tsrx.js} +1 -1
  51. package/dist/native/ScrollView.native.tsrx.js +233 -0
  52. package/dist/native/SearchInput.native.tsrx.js +151 -0
  53. package/dist/native/SegmentedControl.native.tsrx.js +75 -0
  54. package/dist/native/Select.native.tsrx.js +202 -0
  55. package/dist/native/Separator.native.tsrx.js +25 -0
  56. package/dist/native/{ui63.js → Sheet.native.tsrx.js} +15 -7
  57. package/dist/native/Skeleton.native.tsrx.js +28 -0
  58. package/dist/native/Slider.native.tsrx.js +98 -0
  59. package/dist/native/{ui13.js → Spacer.native.tsrx.js} +2 -2
  60. package/dist/native/{ui9.js → Stack.native.tsrx.js} +20 -9
  61. package/dist/native/Stepper.native.tsrx.js +75 -0
  62. package/dist/native/Switch.native.tsrx.js +33 -0
  63. package/dist/native/Table.native.tsrx.js +103 -0
  64. package/dist/native/Tabs.native.tsrx.js +163 -0
  65. package/dist/native/{ui14.js → Text.native.tsrx.js} +4 -3
  66. package/dist/native/{ui24.js → TextArea.native.tsrx.js} +17 -16
  67. package/dist/native/{ui23.js → TextInput.native.tsrx.js} +21 -16
  68. package/dist/native/Timeline.native.tsrx.js +112 -0
  69. package/dist/native/Tree.native.tsrx.js +140 -0
  70. package/dist/native/User.native.tsrx.js +95 -0
  71. package/dist/native/Video.native.tsrx.js +248 -0
  72. package/dist/native/View.native.tsrx.js +98 -0
  73. package/dist/native/WebView.native.tsrx.js +110 -0
  74. package/dist/native/aliases.native.tsrx.js +38 -0
  75. package/dist/native/android/BottomNavigationView.android.tsrx.js +171 -0
  76. package/dist/native/android/CircularProgressIndicator.android.tsrx.js +27 -0
  77. package/dist/native/{ui51.js → android/DrawerLayout.android.tsrx.js} +5 -7
  78. package/dist/native/android/MaterialDialog.android.tsrx.js +62 -0
  79. package/dist/native/android/MaterialSwitch.android.tsrx.js +28 -0
  80. package/dist/native/android/RecyclerView.android.tsrx.js +248 -0
  81. package/dist/native/android/SeekBar.android.tsrx.js +34 -0
  82. package/dist/native/android/index.js +9 -0
  83. package/dist/native/android/openModal.android.js +39 -0
  84. package/dist/native/camera-permission.native.js +47 -0
  85. package/dist/native/child-array.js +15 -0
  86. package/dist/native/icons.js +25 -0
  87. package/dist/native/{ui11.js → ios/LiquidGlass.ios.tsrx.js} +4 -4
  88. package/dist/native/{ui12.js → ios/LiquidGlassContainer.ios.tsrx.js} +4 -4
  89. package/dist/native/ios/SideDrawer.ios.tsrx.js +64 -0
  90. package/dist/native/{ui53.js → ios/UIActivityIndicatorView.ios.tsrx.js} +5 -5
  91. package/dist/native/{ui32.js → ios/UIModal.ios.tsrx.js} +10 -6
  92. package/dist/native/{ui56.js → ios/UISlider.ios.tsrx.js} +5 -5
  93. package/dist/native/{ui47.js → ios/UISwitch.ios.tsrx.js} +5 -5
  94. package/dist/native/ios/UITabBar.ios.tsrx.js +166 -0
  95. package/dist/native/ios/UITableView.ios.tsrx.js +270 -0
  96. package/dist/native/ios/index.js +11 -0
  97. package/dist/native/{ui33.js → ios/openModal.ios.js} +5 -4
  98. package/dist/native/modal-presenter.native.js +19 -0
  99. package/dist/native/native/index.js +4 -0
  100. package/dist/native/octane-client-build.json +1 -1
  101. package/dist/native/{ui6.js → pan.native.tsrx.js} +9 -69
  102. package/dist/native/platform.native.js +10 -0
  103. package/dist/native/refresh-metrics.js +9 -0
  104. package/dist/native/refresh.native.js +177 -0
  105. package/dist/native/{ui34.js → root-layout.native.js} +6 -1
  106. package/dist/native/{ui21.js → route.native.js} +96 -12
  107. package/dist/native/sheet-detents.native.js +102 -0
  108. package/dist/native/{ui64.js → sheet-service.native.js} +19 -9
  109. package/dist/native/sheet-snap.js +35 -0
  110. package/dist/native/text-write.native.js +27 -0
  111. package/dist/native/{ui42.js → theme/status-bar-scheme.native.js} +2 -2
  112. package/dist/{web/ui29.js → native/theme/theme-scheme.js} +2 -2
  113. package/dist/native/{ui40.js → toast-anchor.native.tsrx.js} +3 -3
  114. package/dist/native/translate.native.js +11 -0
  115. package/dist/native/ui.js +93 -55
  116. package/dist/native/use-back.native.tsrx.js +9 -0
  117. package/dist/native/{ui52.js → useMeasure.native.tsrx.js} +1 -1
  118. package/dist/native/video-chrome.native.tsrx.js +365 -0
  119. package/dist/web/Absolute.web.tsrx.js +47 -0
  120. package/dist/web/Accordion.web.tsrx.js +85 -0
  121. package/dist/web/{ui48.js → ActivityIndicator.web.tsrx.js} +1 -1
  122. package/dist/web/Alert.web.tsrx.js +79 -0
  123. package/dist/web/Avatar.web.tsrx.js +106 -0
  124. package/dist/web/AvatarGroup.web.tsrx.js +108 -0
  125. package/dist/web/Badge.web.tsrx.js +37 -0
  126. package/dist/web/Banner.web.tsrx.js +79 -0
  127. package/dist/web/Breadcrumb.web.tsrx.js +135 -0
  128. package/dist/web/Button.web.tsrx.js +45 -0
  129. package/dist/web/CameraView.web.tsrx.js +310 -0
  130. package/dist/web/Card.web.tsrx.js +73 -0
  131. package/dist/web/Checkbox.web.tsrx.js +89 -0
  132. package/dist/web/CheckboxGroup.web.tsrx.js +79 -0
  133. package/dist/web/Chip.web.tsrx.js +64 -0
  134. package/dist/web/Collapsible.web.tsrx.js +94 -0
  135. package/dist/web/CommandPalette.web.tsrx.js +125 -0
  136. package/dist/web/ContextMenu.web.tsrx.js +154 -0
  137. package/dist/web/{ui45.js → Drawer.web.tsrx.js} +13 -9
  138. package/dist/web/DropdownMenu.web.tsrx.js +162 -0
  139. package/dist/web/Empty.web.tsrx.js +89 -0
  140. package/dist/web/FieldGroup.web.tsrx.js +57 -0
  141. package/dist/web/FormField.web.tsrx.js +92 -0
  142. package/dist/web/Grid.web.tsrx.js +65 -0
  143. package/dist/web/{ui54.js → Heading.web.tsrx.js} +2 -2
  144. package/dist/web/{ui53.js → Icon.web.tsrx.js} +2 -2
  145. package/dist/web/{ui25.js → Image.web.tsrx.js} +2 -2
  146. package/dist/web/InputNumber.web.tsrx.js +99 -0
  147. package/dist/web/InputRating.web.tsrx.js +72 -0
  148. package/dist/web/InputTags.web.tsrx.js +122 -0
  149. package/dist/web/Kbd.web.tsrx.js +37 -0
  150. package/dist/web/{ui50.js → Meter.web.tsrx.js} +1 -1
  151. package/dist/web/{ui19.js → NavLink.web.tsrx.js} +1 -1
  152. package/dist/web/NavigationMenu.web.tsrx.js +118 -0
  153. package/dist/web/{ui31.js → Overlay.web.tsrx.js} +2 -2
  154. package/dist/web/Pager.web.tsrx.js +337 -0
  155. package/dist/web/Pagination.web.tsrx.js +80 -0
  156. package/dist/web/PinInput.web.tsrx.js +72 -0
  157. package/dist/web/{ui33.js → Popover.web.tsrx.js} +3 -3
  158. package/dist/web/{ui15.js → Pressable.web.tsrx.js} +68 -95
  159. package/dist/web/ProgressGroup.web.tsrx.js +109 -0
  160. package/dist/web/RadioGroup.web.tsrx.js +69 -0
  161. package/dist/web/{ui14.js → RichText.web.tsrx.js} +2 -2
  162. package/dist/web/Row.web.tsrx.js +250 -0
  163. package/dist/web/{ui43.js → SafeArea.web.tsrx.js} +1 -1
  164. package/dist/web/{ui39.js → Screen.web.tsrx.js} +1 -1
  165. package/dist/web/{ui24.js → ScrollBox.web.tsrx.js} +1 -1
  166. package/dist/web/ScrollView.web.tsrx.js +388 -0
  167. package/dist/web/SearchInput.web.tsrx.js +137 -0
  168. package/dist/web/SegmentedControl.web.tsrx.js +75 -0
  169. package/dist/web/Select.web.tsrx.js +149 -0
  170. package/dist/web/Separator.web.tsrx.js +42 -0
  171. package/dist/web/Sheet.web.tsrx.js +81 -0
  172. package/dist/web/Skeleton.web.tsrx.js +56 -0
  173. package/dist/web/Slider.web.tsrx.js +97 -0
  174. package/dist/web/{ui12.js → Spacer.web.tsrx.js} +1 -1
  175. package/dist/web/Stack.web.tsrx.js +47 -0
  176. package/dist/web/Stepper.web.tsrx.js +65 -0
  177. package/dist/web/Switch.web.tsrx.js +59 -0
  178. package/dist/web/Table.web.tsrx.js +161 -0
  179. package/dist/web/{ui40.js → Tabs.web.tsrx.js} +33 -16
  180. package/dist/web/{ui13.js → Text.web.tsrx.js} +18 -50
  181. package/dist/web/{ui21.js → TextArea.web.tsrx.js} +4 -4
  182. package/dist/web/{ui20.js → TextInput.web.tsrx.js} +8 -8
  183. package/dist/web/Timeline.web.tsrx.js +172 -0
  184. package/dist/web/Tree.web.tsrx.js +146 -0
  185. package/dist/web/User.web.tsrx.js +116 -0
  186. package/dist/web/Video.web.tsrx.js +400 -0
  187. package/dist/web/View.web.tsrx.js +250 -0
  188. package/dist/web/WebView.web.tsrx.js +235 -0
  189. package/dist/web/aliases.web.tsrx.js +24 -0
  190. package/dist/web/{ui36.js → anim.web.tsrx.js} +3 -35
  191. package/dist/web/child-array.js +15 -0
  192. package/dist/web/icons.js +25 -0
  193. package/dist/web/octane-client-build.json +1 -1
  194. package/dist/web/pan.web.tsrx.js +66 -0
  195. package/dist/web/platform.web.js +9 -0
  196. package/dist/web/refresh-metrics.js +9 -0
  197. package/dist/web/refresh.web.js +133 -0
  198. package/dist/web/{ui18.js → route.web.js} +14 -2
  199. package/dist/web/sheet-detents.web.js +103 -0
  200. package/dist/web/{ui60.js → sheet-service.web.js} +5 -1
  201. package/dist/web/sheet-snap.js +35 -0
  202. package/dist/{native/ui31.js → web/theme/theme-scheme.js} +2 -2
  203. package/dist/web/{ui35.js → toast-anchor.web.tsrx.js} +3 -3
  204. package/dist/web/transform.web.js +43 -0
  205. package/dist/web/translate.web.js +13 -0
  206. package/dist/web/ui.js +91 -53
  207. package/dist/web/use-back.web.tsrx.js +9 -0
  208. package/dist/web/video-chrome.web.tsrx.js +207 -0
  209. package/dist/web/{ui34.js → web/Hoverable.web.tsrx.js} +6 -6
  210. package/dist/web/web/Tooltip.web.tsrx.js +183 -0
  211. package/dist/web/web/index.js +3 -0
  212. package/package.json +30 -3
  213. package/src/theme/tokens.css +1380 -200
  214. package/types/android.d.ts +53 -0
  215. package/types/index.d.ts +32 -17
  216. package/types/index.native.d.ts +273 -0
  217. package/types/index.web.d.ts +272 -0
  218. package/types/ios.d.ts +59 -0
  219. package/types/native.d.ts +5 -0
  220. package/types/props.d.ts +930 -40
  221. package/types/web.d.ts +17 -0
  222. package/dist/native/ui10.js +0 -32
  223. package/dist/native/ui25.js +0 -141
  224. package/dist/native/ui27.js +0 -61
  225. package/dist/native/ui39.js +0 -103
  226. package/dist/native/ui4.js +0 -24
  227. package/dist/native/ui46.js +0 -267
  228. package/dist/native/ui57.js +0 -19
  229. package/dist/native/ui60.js +0 -14
  230. package/dist/native/ui7.js +0 -52
  231. package/dist/web/ui10.js +0 -46
  232. package/dist/web/ui11.js +0 -42
  233. package/dist/web/ui22.js +0 -108
  234. package/dist/web/ui23.js +0 -96
  235. package/dist/web/ui26.js +0 -45
  236. package/dist/web/ui3.js +0 -31
  237. package/dist/web/ui30.js +0 -34
  238. package/dist/web/ui41.js +0 -43
  239. package/dist/web/ui44.js +0 -42
  240. package/dist/web/ui5.js +0 -168
  241. package/dist/web/ui51.js +0 -47
  242. package/dist/web/ui52.js +0 -19
  243. package/dist/web/ui55.js +0 -17
  244. package/dist/web/ui59.js +0 -44
  245. package/dist/web/ui6.js +0 -94
  246. package/dist/web/ui7.js +0 -62
  247. package/dist/web/ui8.js +0 -46
  248. package/dist/web/ui9.js +0 -46
  249. /package/dist/native/{ui20.js → RouteHost.native.tsrx.js} +0 -0
  250. /package/dist/native/{ui41.js → anim.native.tsrx.js} +0 -0
  251. /package/dist/native/{ui2.js → cx.js} +0 -0
  252. /package/dist/native/{ui3.js → escape-props.native.js} +0 -0
  253. /package/dist/native/{ui5.js → layout-child.native.js} +0 -0
  254. /package/dist/native/{ui54.js → meter-math.js} +0 -0
  255. /package/dist/native/{ui36.js → platformProps.native.js} +0 -0
  256. /package/dist/native/{ui37.js → popover-position.js} +0 -0
  257. /package/dist/native/{ui19.js → route-table.js} +0 -0
  258. /package/dist/native/{ui48.js → safeAreaInsets.native.tsrx.js} +0 -0
  259. /package/dist/native/{ui18.js → stacks.native.js} +0 -0
  260. /package/dist/native/{ui61.js → store.js} +0 -0
  261. /package/dist/native/{ui43.js → styled.native.tsrx.js} +0 -0
  262. /package/dist/native/{ui28.js → svg.native.js} +0 -0
  263. /package/dist/native/{ui30.js → theme/colorScheme.native.js} +0 -0
  264. /package/dist/native/{ui62.js → use-store.native.tsrx.js} +0 -0
  265. /package/dist/native/{ui44.js → windows.native.js} +0 -0
  266. /package/dist/web/{ui16.js → Link.web.tsrx.js} +0 -0
  267. /package/dist/web/{ui28.js → cx.js} +0 -0
  268. /package/dist/web/{ui2.js → escape-props.web.js} +0 -0
  269. /package/dist/web/{ui4.js → layout-child.web.js} +0 -0
  270. /package/dist/web/{ui49.js → meter-math.js} +0 -0
  271. /package/dist/web/{ui47.js → platformProps.web.js} +0 -0
  272. /package/dist/web/{ui32.js → popover-position.js} +0 -0
  273. /package/dist/web/{ui17.js → route-table.js} +0 -0
  274. /package/dist/web/{ui42.js → safeAreaInsets.web.tsrx.js} +0 -0
  275. /package/dist/web/{ui56.js → stacks.web.js} +0 -0
  276. /package/dist/web/{ui57.js → store.js} +0 -0
  277. /package/dist/web/{ui37.js → styled.web.tsrx.js} +0 -0
  278. /package/dist/web/{ui27.js → theme/colorScheme.web.js} +0 -0
  279. /package/dist/web/{ui58.js → use-store.web.tsrx.js} +0 -0
  280. /package/dist/web/{ui46.js → useMeasure.web.tsrx.js} +0 -0
  281. /package/dist/web/{ui38.js → windows.web.js} +0 -0
@@ -0,0 +1,250 @@
1
+ import { applyEscapeProps } from "./escape-props.web.js";
2
+ import { layoutChildProps } from "./layout-child.web.js";
3
+ import { usePan } from "./pan.web.tsrx.js";
4
+ import { __s, bagOf, clone, hookSlots, snapshotSpread, template, useRef, withSlot } from "octane";
5
+ import { bindSignalChild, bindSignalHostPropSources, enableSignalBindings } from "octane/internal/client";
6
+ //#region src/Row.web.tsrx
7
+ enableSignalBindings(1, true);
8
+ var _t$0 = /* @__PURE__ */ template("<div></div>");
9
+ var _hs$ = /* @__PURE__ */ hookSlots(2);
10
+ var _h$1 = /* @__PURE__ */ Symbol(_hs$ + 1);
11
+ var _rm$1 = [
12
+ "s",
13
+ "o",
14
+ "n"
15
+ ];
16
+ var Row = /* @__PURE__ */ __s(function Row(props, __s, __extra) {
17
+ const el = useRef(null, _hs$ + 0);
18
+ withSlot(_h$1, usePan, el, props.onPan);
19
+ if (__s.block.pending && !__s.block.crossRenderUpdate) return;
20
+ let _b = __s.slots[0];
21
+ if (_b === void 0) {
22
+ let _m0, _m1, _m2, _m3, _m4, _m5, _m6, _m7, _m8, _m9, _m10, _m11, _m12, _m13, _m14;
23
+ const _root = clone(_t$0);
24
+ _m0 = props.id;
25
+ _m1 = (e) => {
26
+ el.current = e;
27
+ if (e) {
28
+ applyEscapeProps(e, props);
29
+ props.bind?.(e);
30
+ }
31
+ };
32
+ _m2 = ["vx-row", props.className];
33
+ _m3 = snapshotSpread(layoutChildProps(props, props.style));
34
+ _m4 = props.accessibilityRole;
35
+ _m5 = props.accessibilityLabel;
36
+ _m6 = props.accessible === false ? true : void 0;
37
+ _m7 = props.accessibilityHint;
38
+ _m8 = props.accessibilityValue;
39
+ _m9 = props.accessibilityState?.disabled;
40
+ _m10 = props.accessibilityState?.selected;
41
+ _m11 = props.accessibilityState?.checked;
42
+ _m12 = props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion;
43
+ _m13 = _root;
44
+ _m14 = bindSignalHostPropSources(__s, void 0, _root, [
45
+ [
46
+ false,
47
+ "id",
48
+ _m0
49
+ ],
50
+ [
51
+ false,
52
+ "ref",
53
+ _m1
54
+ ],
55
+ [
56
+ false,
57
+ "className",
58
+ _m2
59
+ ],
60
+ [true, _m3],
61
+ [
62
+ false,
63
+ "role",
64
+ _m4
65
+ ],
66
+ [
67
+ false,
68
+ "aria-label",
69
+ _m5
70
+ ],
71
+ [
72
+ false,
73
+ "aria-hidden",
74
+ _m6
75
+ ],
76
+ [
77
+ false,
78
+ "aria-description",
79
+ _m7
80
+ ],
81
+ [
82
+ false,
83
+ "aria-valuetext",
84
+ _m8
85
+ ],
86
+ [
87
+ false,
88
+ "aria-disabled",
89
+ _m9
90
+ ],
91
+ [
92
+ false,
93
+ "aria-selected",
94
+ _m10
95
+ ],
96
+ [
97
+ false,
98
+ "aria-checked",
99
+ _m11
100
+ ],
101
+ [
102
+ false,
103
+ "aria-live",
104
+ _m12
105
+ ]
106
+ ], "b:fc465be0", true);
107
+ _b = bagOf(__s, _root, {
108
+ a: _m0,
109
+ b: _m1,
110
+ c: _m2,
111
+ d: _m3,
112
+ e: _m4,
113
+ f: _m5,
114
+ g: _m6,
115
+ h: _m7,
116
+ i: _m8,
117
+ j: _m9,
118
+ k: _m10,
119
+ l: _m11,
120
+ m: _m12,
121
+ n: _m13,
122
+ o: _m14,
123
+ p: null,
124
+ q: void 0
125
+ });
126
+ __s.refFields = _rm$1;
127
+ } else {
128
+ {
129
+ const _v = props.id;
130
+ if (_b.a !== _v) _b.a = _v;
131
+ }
132
+ {
133
+ const _v = (e) => {
134
+ el.current = e;
135
+ if (e) {
136
+ applyEscapeProps(e, props);
137
+ props.bind?.(e);
138
+ }
139
+ };
140
+ if (_b.b !== _v) _b.b = _v;
141
+ }
142
+ {
143
+ const _v = ["vx-row", props.className];
144
+ if (_b.c !== _v) _b.c = _v;
145
+ }
146
+ _b.d = snapshotSpread(layoutChildProps(props, props.style));
147
+ {
148
+ const _v = props.accessibilityRole;
149
+ if (_b.e !== _v) _b.e = _v;
150
+ }
151
+ {
152
+ const _v = props.accessibilityLabel;
153
+ if (_b.f !== _v) _b.f = _v;
154
+ }
155
+ {
156
+ const _v = props.accessible === false ? true : void 0;
157
+ if (_b.g !== _v) _b.g = _v;
158
+ }
159
+ {
160
+ const _v = props.accessibilityHint;
161
+ if (_b.h !== _v) _b.h = _v;
162
+ }
163
+ {
164
+ const _v = props.accessibilityValue;
165
+ if (_b.i !== _v) _b.i = _v;
166
+ }
167
+ {
168
+ const _v = props.accessibilityState?.disabled;
169
+ if (_b.j !== _v) _b.j = _v;
170
+ }
171
+ {
172
+ const _v = props.accessibilityState?.selected;
173
+ if (_b.k !== _v) _b.k = _v;
174
+ }
175
+ {
176
+ const _v = props.accessibilityState?.checked;
177
+ if (_b.l !== _v) _b.l = _v;
178
+ }
179
+ {
180
+ const _v = props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion;
181
+ if (_b.m !== _v) _b.m = _v;
182
+ }
183
+ _b.o = bindSignalHostPropSources(__s, _b.o, _b.n, [
184
+ [
185
+ false,
186
+ "id",
187
+ _b.a
188
+ ],
189
+ [
190
+ false,
191
+ "ref",
192
+ _b.b
193
+ ],
194
+ [
195
+ false,
196
+ "className",
197
+ _b.c
198
+ ],
199
+ [true, _b.d],
200
+ [
201
+ false,
202
+ "role",
203
+ _b.e
204
+ ],
205
+ [
206
+ false,
207
+ "aria-label",
208
+ _b.f
209
+ ],
210
+ [
211
+ false,
212
+ "aria-hidden",
213
+ _b.g
214
+ ],
215
+ [
216
+ false,
217
+ "aria-description",
218
+ _b.h
219
+ ],
220
+ [
221
+ false,
222
+ "aria-valuetext",
223
+ _b.i
224
+ ],
225
+ [
226
+ false,
227
+ "aria-disabled",
228
+ _b.j
229
+ ],
230
+ [
231
+ false,
232
+ "aria-selected",
233
+ _b.k
234
+ ],
235
+ [
236
+ false,
237
+ "aria-checked",
238
+ _b.l
239
+ ],
240
+ [
241
+ false,
242
+ "aria-live",
243
+ _b.m
244
+ ]
245
+ ], "b:fc465be0", true);
246
+ }
247
+ _b.r = bindSignalChild(__s, _b.r, 1, _b.n, props.children, "b:5955e15b", null, void 0, void 0, void 0, true);
248
+ });
249
+ //#endregion
250
+ export { Row };
@@ -1,4 +1,4 @@
1
- import { useSafeAreaInsets } from "./ui42.js";
1
+ import { useSafeAreaInsets } from "./safeAreaInsets.web.tsrx.js";
2
2
  import { __s, bag12, clone, hookSlots, queueRefAttach, queueRefDetach, setStyle, setStyleProperty, template, withSlot } from "octane";
3
3
  import { bindSignalAttribute, bindSignalChild, canSplitStyleProperties, enableSignalBindings, replaceRef, setPlainAttribute, styleObjectPrototype, updateFreshClassName } from "octane/internal/client";
4
4
  //#region src/SafeArea.web.tsrx
@@ -1,4 +1,4 @@
1
- import { applyEscapeProps } from "./ui2.js";
1
+ import { applyEscapeProps } from "./escape-props.web.js";
2
2
  import { __s, bag7, clone, queueRefAttach, queueRefDetach, setStyle, template } from "octane";
3
3
  import { bindSignalAttribute, bindSignalChild, enableSignalBindings, replaceRef, setPlainAttribute, updateFreshClassName } from "octane/internal/client";
4
4
  //#region src/Screen.web.tsrx
@@ -1,4 +1,4 @@
1
- import { ScrollView } from "./ui23.js";
1
+ import { ScrollView } from "./ScrollView.web.tsrx.js";
2
2
  import { bag4, child, clone, componentSlotVoid, drainFrag, markChildrenBlock, template } from "octane";
3
3
  import { textHoleUpdate } from "octane/internal/client";
4
4
  //#region src/ScrollBox.web.tsrx
@@ -0,0 +1,388 @@
1
+ import { applyEscapeProps } from "./escape-props.web.js";
2
+ import { layoutChildProps } from "./layout-child.web.js";
3
+ import { ActivityIndicator } from "./ActivityIndicator.web.tsrx.js";
4
+ import { createPullToRefresh } from "./refresh.web.js";
5
+ import { __s, bagOf, child, clone, componentSlotVoid, hookSlots, ifBlock, markDangerouslySetInnerHTMLChildren, markWarm, queueRefAttach, queueRefDetach, registerWarmPlan, setAriaAttribute, setStyleProperty, sibling, snapshotSpread, template, useEffect, useRef, warmChild } from "octane";
6
+ import { bindSignalAttribute, bindSignalChild, bindSignalHostPropSources, enableSignalBindings, replaceRef, setPlainAttribute } from "octane/internal/client";
7
+ //#region src/ScrollView.web.tsrx
8
+ enableSignalBindings(1, true);
9
+ var _t$0 = /* @__PURE__ */ template("<div><div class=\"vx-refresh\" aria-hidden=\"true\"></div><div class=\"vx-scroll\" style=\"overflow-y: auto;\"></div></div>");
10
+ var _t$1 = /* @__PURE__ */ template("<div></div>");
11
+ var _hs$ = /* @__PURE__ */ hookSlots(6);
12
+ var _rm$2 = [
13
+ "s",
14
+ "d",
15
+ "c",
16
+ "r",
17
+ "f",
18
+ "e",
19
+ "r",
20
+ "i",
21
+ "h"
22
+ ];
23
+ function __then$3(__props, __s, __extra) {
24
+ const __block = __s.block;
25
+ const props = __extra[0];
26
+ componentSlotVoid(__s, 0, __block.parentNode, ScrollViewRefreshable, { ...props }, __block.endMarker, void 0, void 0, void 0, void 0, "c:8976cd5d");
27
+ }
28
+ var _rm$7 = [
29
+ "s",
30
+ "o",
31
+ "n"
32
+ ];
33
+ function __else$5(__props, __s, __extra) {
34
+ const props = __extra[0];
35
+ let _b = __s.slots[0];
36
+ if (_b === void 0) {
37
+ let _m0, _m1, _m2, _m3, _m4, _m5, _m6, _m7, _m8, _m9, _m10, _m11, _m12, _m13, _m14;
38
+ const _root = clone(_t$1);
39
+ _m0 = (e) => applyEscapeProps(e, props);
40
+ _m1 = props.id;
41
+ _m2 = ["vx-scroll", props.className];
42
+ _m3 = snapshotSpread(layoutChildProps(props, {
43
+ ...props.horizontal ? { overflowX: "auto" } : { overflowY: "auto" },
44
+ ...props.style
45
+ }));
46
+ _m4 = props.accessibilityRole;
47
+ _m5 = props.accessibilityLabel;
48
+ _m6 = props.accessible === false ? true : void 0;
49
+ _m7 = props.accessibilityHint;
50
+ _m8 = props.accessibilityValue;
51
+ _m9 = props.accessibilityState?.disabled;
52
+ _m10 = props.accessibilityState?.selected;
53
+ _m11 = props.accessibilityState?.checked;
54
+ _m12 = props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion;
55
+ _m13 = _root;
56
+ _m14 = bindSignalHostPropSources(__s, void 0, _root, [
57
+ [
58
+ false,
59
+ "ref",
60
+ _m0
61
+ ],
62
+ [
63
+ false,
64
+ "id",
65
+ _m1
66
+ ],
67
+ [
68
+ false,
69
+ "className",
70
+ _m2
71
+ ],
72
+ [true, _m3],
73
+ [
74
+ false,
75
+ "role",
76
+ _m4
77
+ ],
78
+ [
79
+ false,
80
+ "aria-label",
81
+ _m5
82
+ ],
83
+ [
84
+ false,
85
+ "aria-hidden",
86
+ _m6
87
+ ],
88
+ [
89
+ false,
90
+ "aria-description",
91
+ _m7
92
+ ],
93
+ [
94
+ false,
95
+ "aria-valuetext",
96
+ _m8
97
+ ],
98
+ [
99
+ false,
100
+ "aria-disabled",
101
+ _m9
102
+ ],
103
+ [
104
+ false,
105
+ "aria-selected",
106
+ _m10
107
+ ],
108
+ [
109
+ false,
110
+ "aria-checked",
111
+ _m11
112
+ ],
113
+ [
114
+ false,
115
+ "aria-live",
116
+ _m12
117
+ ]
118
+ ], "b:69cc9953", true);
119
+ _b = bagOf(__s, _root, {
120
+ a: _m0,
121
+ b: _m1,
122
+ c: _m2,
123
+ d: _m3,
124
+ e: _m4,
125
+ f: _m5,
126
+ g: _m6,
127
+ h: _m7,
128
+ i: _m8,
129
+ j: _m9,
130
+ k: _m10,
131
+ l: _m11,
132
+ m: _m12,
133
+ n: _m13,
134
+ o: _m14,
135
+ p: null,
136
+ q: void 0
137
+ });
138
+ __s.refFields = _rm$7;
139
+ } else {
140
+ {
141
+ const _v = (e) => applyEscapeProps(e, props);
142
+ if (_b.a !== _v) _b.a = _v;
143
+ }
144
+ {
145
+ const _v = props.id;
146
+ if (_b.b !== _v) _b.b = _v;
147
+ }
148
+ {
149
+ const _v = ["vx-scroll", props.className];
150
+ if (_b.c !== _v) _b.c = _v;
151
+ }
152
+ _b.d = snapshotSpread(layoutChildProps(props, {
153
+ ...props.horizontal ? { overflowX: "auto" } : { overflowY: "auto" },
154
+ ...props.style
155
+ }));
156
+ {
157
+ const _v = props.accessibilityRole;
158
+ if (_b.e !== _v) _b.e = _v;
159
+ }
160
+ {
161
+ const _v = props.accessibilityLabel;
162
+ if (_b.f !== _v) _b.f = _v;
163
+ }
164
+ {
165
+ const _v = props.accessible === false ? true : void 0;
166
+ if (_b.g !== _v) _b.g = _v;
167
+ }
168
+ {
169
+ const _v = props.accessibilityHint;
170
+ if (_b.h !== _v) _b.h = _v;
171
+ }
172
+ {
173
+ const _v = props.accessibilityValue;
174
+ if (_b.i !== _v) _b.i = _v;
175
+ }
176
+ {
177
+ const _v = props.accessibilityState?.disabled;
178
+ if (_b.j !== _v) _b.j = _v;
179
+ }
180
+ {
181
+ const _v = props.accessibilityState?.selected;
182
+ if (_b.k !== _v) _b.k = _v;
183
+ }
184
+ {
185
+ const _v = props.accessibilityState?.checked;
186
+ if (_b.l !== _v) _b.l = _v;
187
+ }
188
+ {
189
+ const _v = props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion;
190
+ if (_b.m !== _v) _b.m = _v;
191
+ }
192
+ _b.o = bindSignalHostPropSources(__s, _b.o, _b.n, [
193
+ [
194
+ false,
195
+ "ref",
196
+ _b.a
197
+ ],
198
+ [
199
+ false,
200
+ "id",
201
+ _b.b
202
+ ],
203
+ [
204
+ false,
205
+ "className",
206
+ _b.c
207
+ ],
208
+ [true, _b.d],
209
+ [
210
+ false,
211
+ "role",
212
+ _b.e
213
+ ],
214
+ [
215
+ false,
216
+ "aria-label",
217
+ _b.f
218
+ ],
219
+ [
220
+ false,
221
+ "aria-hidden",
222
+ _b.g
223
+ ],
224
+ [
225
+ false,
226
+ "aria-description",
227
+ _b.h
228
+ ],
229
+ [
230
+ false,
231
+ "aria-valuetext",
232
+ _b.i
233
+ ],
234
+ [
235
+ false,
236
+ "aria-disabled",
237
+ _b.j
238
+ ],
239
+ [
240
+ false,
241
+ "aria-selected",
242
+ _b.k
243
+ ],
244
+ [
245
+ false,
246
+ "aria-checked",
247
+ _b.l
248
+ ],
249
+ [
250
+ false,
251
+ "aria-live",
252
+ _b.m
253
+ ]
254
+ ], "b:69cc9953", true);
255
+ }
256
+ _b.r = bindSignalChild(__s, _b.r, 1, _b.n, props.children, "b:94fea255", null, void 0, void 0, void 0, true);
257
+ }
258
+ var ScrollViewRefreshable = /* @__PURE__ */ __s(/* @__PURE__ */ markWarm(function ScrollViewRefreshable(props, __s, __extra) {
259
+ const cfg = useRef({}, _hs$ + 0);
260
+ cfg.current = {
261
+ onRefresh: props.onRefresh,
262
+ refreshing: props.refreshing,
263
+ threshold: props.refreshThreshold
264
+ };
265
+ const ctl = useRef(null, _hs$ + 1);
266
+ const scroller = useRef(null, _hs$ + 2);
267
+ const indicator = useRef(null, _hs$ + 3);
268
+ useEffect(() => {
269
+ if (!scroller.current || !indicator.current) return;
270
+ ctl.current = createPullToRefresh({
271
+ scroller: scroller.current,
272
+ indicator: indicator.current,
273
+ cfg
274
+ });
275
+ return () => {
276
+ ctl.current?.detach();
277
+ ctl.current = null;
278
+ };
279
+ }, [], _hs$ + 4);
280
+ useEffect(() => {
281
+ ctl.current?.sync();
282
+ }, [props.refreshing], _hs$ + 5);
283
+ const __warmPlan = ScrollViewRefreshable.__warm;
284
+ if (typeof __warmPlan === "function") registerWarmPlan(__warmPlan, props);
285
+ else registerWarmPlan(() => {
286
+ warmChild(ActivityIndicator, {});
287
+ }, void 0);
288
+ let _b = __s.slots[0];
289
+ if (_b === void 0) {
290
+ let _m0, _m1, _m2, _m3, _m4, _m5, _m7, _m8;
291
+ const _root = clone(_t$0);
292
+ _m0 = snapshotSpread(layoutChildProps(props, { ...props.style }));
293
+ _m1 = ["vx-refresh-wrap", props.className];
294
+ _m2 = _root;
295
+ _m3 = bindSignalHostPropSources(__s, void 0, _root, [[true, _m0], [
296
+ false,
297
+ "className",
298
+ _m1
299
+ ]], "b:c490abcf", true);
300
+ const _el0 = child(_root);
301
+ queueRefAttach(__s, _m5 = (el) => {
302
+ indicator.current = el;
303
+ }, _m4 = _el0);
304
+ (__s.cleanups ??= []).push(() => _b && queueRefDetach(_b.f, _b.e));
305
+ const _el1 = sibling(_el0, 1);
306
+ queueRefAttach(__s, _m8 = (el) => {
307
+ scroller.current = el;
308
+ applyEscapeProps(el, props);
309
+ }, _m7 = _el1);
310
+ (__s.cleanups ??= []).push(() => _b && queueRefDetach(_b.i, _b.h));
311
+ markDangerouslySetInnerHTMLChildren(_root);
312
+ _b = bagOf(__s, _root, {
313
+ a: _m0,
314
+ b: _m1,
315
+ c: _m2,
316
+ d: _m3,
317
+ e: _m4,
318
+ f: _m5,
319
+ g: __s,
320
+ h: _m7,
321
+ i: _m8,
322
+ j: void 0,
323
+ k: void 0,
324
+ l: void 0,
325
+ m: void 0,
326
+ n: void 0,
327
+ o: void 0,
328
+ p: void 0,
329
+ q: void 0,
330
+ r: void 0,
331
+ s: void 0,
332
+ t: null,
333
+ u: void 0
334
+ });
335
+ __s.refFields = _rm$2;
336
+ } else {
337
+ _b.a = snapshotSpread(layoutChildProps(props, { ...props.style }));
338
+ {
339
+ const _v = ["vx-refresh-wrap", props.className];
340
+ if (_b.b !== _v) _b.b = _v;
341
+ }
342
+ _b.d = bindSignalHostPropSources(__s, _b.d, _b.c, [[true, _b.a], [
343
+ false,
344
+ "className",
345
+ _b.b
346
+ ]], "b:c490abcf", true);
347
+ {
348
+ const _r = (el) => {
349
+ indicator.current = el;
350
+ };
351
+ if (_r !== _b.f) _b.f = replaceRef(__s, _b.f, _r, _b.e);
352
+ }
353
+ {
354
+ const _r = (el) => {
355
+ scroller.current = el;
356
+ applyEscapeProps(el, props);
357
+ };
358
+ if (_r !== _b.i) _b.i = replaceRef(__s, _b.i, _r, _b.h);
359
+ }
360
+ }
361
+ {
362
+ const _v = `translateY(-64px)`;
363
+ if (_b.g !== _v) {
364
+ setStyleProperty(_b.e, "transform", _v, "", _b.g);
365
+ _b.g = _v;
366
+ }
367
+ }
368
+ _b.j = bindSignalAttribute(__s, _b.j, _b.h, "id", props.id, "b:385c8dc5", setPlainAttribute);
369
+ _b.k = bindSignalAttribute(__s, _b.k, _b.h, "role", props.accessibilityRole, "b:d0d22c7a", setPlainAttribute);
370
+ _b.l = bindSignalAttribute(__s, _b.l, _b.h, "aria-label", props.accessibilityLabel, "b:8ebcb2ce", setAriaAttribute);
371
+ _b.m = bindSignalAttribute(__s, _b.m, _b.h, "aria-hidden", props.accessible === false ? true : void 0, "b:991aa8dd", setAriaAttribute);
372
+ _b.n = bindSignalAttribute(__s, _b.n, _b.h, "aria-description", props.accessibilityHint, "b:38b7eabf", setAriaAttribute);
373
+ _b.o = bindSignalAttribute(__s, _b.o, _b.h, "aria-valuetext", props.accessibilityValue, "b:baa07d0d", setAriaAttribute);
374
+ _b.p = bindSignalAttribute(__s, _b.p, _b.h, "aria-disabled", props.accessibilityState?.disabled, "b:5767cf4c", setAriaAttribute);
375
+ _b.q = bindSignalAttribute(__s, _b.q, _b.h, "aria-selected", props.accessibilityState?.selected, "b:6f1e362a", setAriaAttribute);
376
+ _b.r = bindSignalAttribute(__s, _b.r, _b.h, "aria-checked", props.accessibilityState?.checked, "b:16ae215e", setAriaAttribute);
377
+ _b.s = bindSignalAttribute(__s, _b.s, _b.h, "aria-live", props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion, "b:12f701bb", setAriaAttribute);
378
+ componentSlotVoid(__s, 1, _b.e, ActivityIndicator, {}, void 0, void 0, 2, void 0, void 0, "c:656d80e2");
379
+ _b.v = bindSignalChild(__s, _b.v, 2, _b.h, props.children, "b:bafcef6e", null, void 0, void 0, void 0, true);
380
+ }, (__wp) => {
381
+ warmChild(ActivityIndicator, {});
382
+ }));
383
+ var ScrollView = function ScrollView(props, __s, __extra) {
384
+ const __block = __s.block;
385
+ ifBlock(__s, 0, __block.parentNode, !props.horizontal && (props.onRefresh != null || props.refreshing != null), __then$3, __else$5, __block.endMarker, [props]);
386
+ };
387
+ //#endregion
388
+ export { ScrollView };