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