one 2.12.1 → 2.13.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.
- package/dist/cjs/platform/NavigationSplitView.native.cjs +1 -1
- package/dist/cjs/platform/NavigationSplitView.native.js +1 -1
- package/dist/cjs/platform/NavigationSplitView.native.js.map +1 -1
- package/dist/cjs/platform/NavigationStack.native.cjs +22 -2
- package/dist/cjs/platform/NavigationStack.native.js +22 -2
- package/dist/cjs/platform/NavigationStack.native.js.map +1 -1
- package/dist/cjs/platform/TabView.native.cjs +1 -0
- package/dist/cjs/platform/TabView.native.js +1 -0
- package/dist/cjs/platform/TabView.native.js.map +1 -1
- package/dist/cjs/platform/generated/swiftui.cjs +5 -0
- package/dist/cjs/platform/generated/swiftui.native.cjs +5 -0
- package/dist/cjs/platform/generated/swiftui.native.js +5 -0
- package/dist/cjs/platform/generated/swiftui.native.js.map +1 -1
- package/dist/cjs/platform/index.native.cjs +1 -0
- package/dist/cjs/platform/index.native.js +1 -0
- package/dist/cjs/platform/index.native.js.map +1 -1
- package/dist/cjs/platform/specs/OneNativeToolbarDefaultItemNativeComponent.cjs +33 -0
- package/dist/cjs/platform/specs/OneNativeToolbarDefaultItemNativeComponent.native.cjs +33 -0
- package/dist/cjs/platform/specs/OneNativeToolbarDefaultItemNativeComponent.native.js +34 -0
- package/dist/cjs/platform/specs/OneNativeToolbarDefaultItemNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/unsupported.cjs +4 -0
- package/dist/cjs/platform/unsupported.native.cjs +4 -0
- package/dist/cjs/platform/unsupported.native.js +4 -0
- package/dist/cjs/platform/unsupported.native.js.map +1 -1
- package/dist/esm/platform/NavigationSplitView.native.js +2 -2
- package/dist/esm/platform/NavigationSplitView.native.js.map +1 -1
- package/dist/esm/platform/NavigationStack.native.js +22 -3
- package/dist/esm/platform/NavigationStack.native.js.map +1 -1
- package/dist/esm/platform/TabView.native.js +1 -0
- package/dist/esm/platform/TabView.native.js.map +1 -1
- package/dist/esm/platform/generated/swiftui.mjs +5 -0
- package/dist/esm/platform/generated/swiftui.mjs.map +1 -1
- package/dist/esm/platform/generated/swiftui.native.js +5 -0
- package/dist/esm/platform/generated/swiftui.native.js.map +1 -1
- package/dist/esm/platform/index.native.js +2 -1
- package/dist/esm/platform/index.native.js.map +1 -1
- package/dist/esm/platform/specs/OneNativeToolbarDefaultItemNativeComponent.mjs +15 -0
- package/dist/esm/platform/specs/OneNativeToolbarDefaultItemNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneNativeToolbarDefaultItemNativeComponent.native.js +15 -0
- package/dist/esm/platform/specs/OneNativeToolbarDefaultItemNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/unsupported.mjs +4 -0
- package/dist/esm/platform/unsupported.mjs.map +1 -1
- package/dist/esm/platform/unsupported.native.js +4 -0
- package/dist/esm/platform/unsupported.native.js.map +1 -1
- package/ios/Generated/OneNativeNavigationStackComponentView.h +2 -0
- package/ios/Generated/OneNativeNavigationStackComponentView.mm +38 -4
- package/ios/Generated/OneNativeSwiftUI.swift +13 -0
- package/ios/Generated/OneNativeTabViewView.swift +23 -10
- package/ios/Generated/OneNativeToolbarView.swift +16 -5
- package/ios/OneNativeComposition.swift +14 -9
- package/package.json +17 -16
- package/schema.json +26 -0
- package/src/platform/NavigationSplitView.native.tsx +3 -1
- package/src/platform/NavigationStack.native.tsx +37 -2
- package/src/platform/README.md +5 -0
- package/src/platform/TabView.native.tsx +2 -0
- package/src/platform/generated/containerTypes.ts +5 -0
- package/src/platform/generated/swiftui.ts +6 -0
- package/src/platform/generated/types.ts +2 -0
- package/src/platform/index.native.ts +2 -0
- package/src/platform/specs/OneNativeToolbarDefaultItemNativeComponent.ts +9 -0
- package/src/platform/types.ts +4 -0
- package/src/platform/unsupported.ts +7 -0
- package/types/platform/NavigationSplitView.native.d.ts.map +1 -1
- package/types/platform/NavigationStack.native.d.ts +2 -1
- package/types/platform/NavigationStack.native.d.ts.map +1 -1
- package/types/platform/TabView.native.d.ts.map +1 -1
- package/types/platform/generated/containerTypes.d.ts +5 -1
- package/types/platform/generated/containerTypes.d.ts.map +1 -1
- package/types/platform/generated/swiftui.d.ts +6 -0
- package/types/platform/generated/swiftui.d.ts.map +1 -1
- package/types/platform/generated/types.d.ts +1 -1
- package/types/platform/generated/types.d.ts.map +1 -1
- package/types/platform/index.native.d.ts +2 -1
- package/types/platform/index.native.d.ts.map +1 -1
- package/types/platform/specs/OneNativeToolbarDefaultItemNativeComponent.d.ts +8 -0
- package/types/platform/specs/OneNativeToolbarDefaultItemNativeComponent.d.ts.map +1 -0
- package/types/platform/types.d.ts +1 -0
- package/types/platform/types.d.ts.map +1 -1
- package/types/platform/unsupported.d.ts +3 -1
- package/types/platform/unsupported.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabView.native.js","names":[],"sources":["esm/platform/TabView.native.js"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useControlled } from \"./controlled\";\nimport { Platform } from \"react-native\";\nimport { assertSwiftUIValue } from \"./generated/swiftui\";\nimport { dispatchSDKEvent, swiftStyleNative } from \"./generated/swiftStyleNative\";\nimport { tabViewSlotAvailability } from \"./generated/viewSlots\";\nimport { Children, isValidElement, useMemo } from \"react\";\nimport NativeTab from \"./specs/OneNativeTabNativeComponent\";\nimport NativeTabView from \"./specs/OneNativeTabViewNativeComponent\";\nimport { Toolbar, ToolbarNode } from \"./NavigationStack.native\";\nvar PAGE_STYLE = {\n position: \"absolute\",\n left: 0,\n top: 0,\n width: \"100%\",\n height: \"100%\"\n};\nfunction TabViewBottomAccessory(_props) {\n throw new Error(\"Swift.TabViewBottomAccessory must be a direct child of Swift.TabView\");\n}\nfunction TabViewSlot(_props) {\n throw new Error(\"Swift.TabViewSlot must be a direct child of Swift.TabView\");\n}\nfunction TabSection(_props) {\n throw new Error(\"Swift.TabSection must be a direct child of Swift.TabView\");\n}\nfunction Tab(_props) {\n throw new Error(\"Swift.Tab must be a direct child of Swift.TabView or Swift.TabSection\");\n}\nfunction tabContentModifiers(owner, props, iosVersion) {\n var _props_sectionActions;\n if (props.disabled !== void 0 && iosVersion < 18.4) throw new Error(`${owner} disabled requires iOS 18.4 or later`);\n if (props.help !== void 0 && iosVersion < 27) throw new Error(`${owner} help requires iOS 27 or later`);\n var placements = function placements2(value) {\n var _ref;\n var list = (_ref = value === null || value === void 0 ? void 0 : value.for) !== null && _ref !== void 0 ? _ref : [];\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = list[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var placement = _step.value;\n assertSwiftUIValue(\"AdaptableTabBarPlacement\", placement, iosVersion);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n if (new Set(list).size !== list.length) throw new Error(`${owner} lists a placement twice`);\n return list;\n };\n if (props.customizationBehavior) assertSwiftUIValue(\"TabCustomizationBehavior\", props.customizationBehavior.behavior, iosVersion);\n if (props.defaultVisibility) assertSwiftUIValue(\"Visibility\", props.defaultVisibility.visibility, iosVersion);\n if (props.springLoadingBehavior) assertSwiftUIValue(\"SpringLoadingBehavior\", props.springLoadingBehavior, iosVersion);\n if (props.tabPlacement) assertSwiftUIValue(\"TabPlacement\", props.tabPlacement, iosVersion);\n if (props.defaultSectionExpansion) assertSwiftUIValue(\"TabSectionExpansion\", props.defaultSectionExpansion, iosVersion);\n return JSON.stringify({\n image: props.image,\n labelStyle: props.labelStyle,\n section: props.section,\n disabled: props.disabled,\n hidden: props.hidden,\n customizationID: props.customizationID,\n customizationBehavior: props.customizationBehavior && {\n value: props.customizationBehavior.behavior,\n placements: placements(props.customizationBehavior)\n },\n defaultVisibility: props.defaultVisibility && {\n value: props.defaultVisibility.visibility,\n placements: placements(props.defaultVisibility)\n },\n springLoadingBehavior: props.springLoadingBehavior,\n tabPlacement: props.tabPlacement,\n defaultSectionExpansion: props.defaultSectionExpansion,\n sectionActions: (_props_sectionActions = props.sectionActions) === null || _props_sectionActions === void 0 ? void 0 : _props_sectionActions.map(function(param) {\n var { id, title, systemImage } = param;\n return {\n id,\n title,\n systemImage: systemImage !== null && systemImage !== void 0 ? systemImage : \"\"\n };\n }),\n accessibilityLabel: props.accessibilityLabel,\n accessibilityHint: props.accessibilityHint,\n accessibilityValue: props.accessibilityValue,\n accessibilityIdentifier: props.accessibilityIdentifier,\n help: props.help\n });\n}\nfunction TabView(param) {\n var { children, selection, onSelectionChange, onReselect, revision = 0, tabViewStyle = \"automatic\", tabBarVisibility = \"automatic\", customization = \"\", onCustomizationChange, swiftStyle, style, ...props } = param;\n var _ref, _accessory_inline, _ref1, _accessory_expanded, _ref2;\n var iosVersion = Number.parseFloat(String(Platform.Version));\n assertSwiftUIValue(\"TabViewStyle\", tabViewStyle, iosVersion);\n assertSwiftUIValue(\"Visibility\", tabBarVisibility, iosVersion);\n var controlled = useControlled(function(event) {\n return onSelectionChange(event.selection);\n }, revision);\n var { entries, accessory, actions, toolbar } = useMemo(function() {\n var ids = /* @__PURE__ */ new Set();\n var entries2 = [];\n var accessory2;\n var toolbar2;\n var actions2 = /* @__PURE__ */ new Map();\n var claim = function claim2(owner, id) {\n if (!id || ids.has(id)) throw new Error(`${owner} requires unique, nonempty identifiers: \"${id}\"`);\n ids.add(id);\n };\n var tab = function tab2(props2, section) {\n var { value, titleKey, systemImage, image, badge, role, testID, onPress, swiftStyle: swiftStyle2, children: page } = props2;\n claim(\"Swift.Tab\", value);\n if (Boolean(onPress) === (page !== void 0)) {\n throw new Error(`Swift.Tab \"${value}\" needs exactly one of onPress and children: a tab either runs an action or shows a page`);\n }\n if (systemImage && image) throw new Error(`Swift.Tab \"${value}\" takes systemImage or image, not both`);\n if (role) assertSwiftUIValue(\"TabRole\", role, iosVersion);\n entries2.push({\n id: value,\n kind: onPress ? \"action\" : \"page\",\n title: titleKey,\n systemImage: systemImage !== null && systemImage !== void 0 ? systemImage : \"\",\n badge: badge === void 0 ? \"\" : String(badge),\n role: role !== null && role !== void 0 ? role : \"\",\n slotHeight: 0,\n tabModifiers: tabContentModifiers(`Swift.Tab \"${value}\"`, {\n ...props2,\n section\n }, iosVersion),\n swiftStyle: swiftStyle2,\n testID,\n onPress,\n children: page\n });\n if (onPress) actions2.set(value, onPress);\n };\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n var _loop = function() {\n var child = _step.value;\n if (!/* @__PURE__ */ isValidElement(child)) throw new Error(\"Swift.TabView children must be elements\");\n if (child.type === Tab) {\n tab(child.props, void 0);\n } else if (child.type === TabSection) {\n var _section_sectionActions;\n var section = child.props;\n claim(\"Swift.TabSection\", section.id);\n var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n try {\n for (var _iterator2 = ((_section_sectionActions = section.sectionActions) !== null && _section_sectionActions !== void 0 ? _section_sectionActions : [])[Symbol.iterator](), _step1; !(_iteratorNormalCompletion2 = (_step1 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var action = _step1.value;\n claim(`Swift.TabSection \"${section.id}\" sectionActions`, action.id);\n actions2.set(action.id, action.onPress);\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n entries2.push({\n id: section.id,\n kind: \"section\",\n title: section.title,\n systemImage: \"\",\n badge: \"\",\n role: \"\",\n slotHeight: 0,\n tabModifiers: tabContentModifiers(`Swift.TabSection \"${section.id}\"`, section, iosVersion),\n children: void 0\n });\n var tabs = Children.toArray(section.children);\n if (!tabs.length) throw new Error(`Swift.TabSection \"${section.id}\" needs Swift.Tab children`);\n var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n try {\n for (var _iterator1 = tabs[Symbol.iterator](), _step2; !(_iteratorNormalCompletion1 = (_step2 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n var sectionChild = _step2.value;\n if (!/* @__PURE__ */ isValidElement(sectionChild) || sectionChild.type !== Tab) throw new Error(`Swift.TabSection \"${section.id}\" accepts Swift.Tab elements as children`);\n tab(sectionChild.props, section.id);\n }\n } catch (err) {\n _didIteratorError1 = true;\n _iteratorError1 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion1 && _iterator1.return != null) {\n _iterator1.return();\n }\n } finally {\n if (_didIteratorError1) {\n throw _iteratorError1;\n }\n }\n }\n } else if (child.type === TabViewBottomAccessory) {\n if (accessory2) throw new Error(\"Swift.TabView accepts one TabViewBottomAccessory\");\n accessory2 = child.props;\n } else if (child.type === Toolbar) {\n if (toolbar2) throw new Error(\"Swift.TabView accepts one Swift.Toolbar\");\n toolbar2 = child.props.children;\n } else if (child.type === TabViewSlot) {\n var slot = child.props;\n if (!Object.hasOwn(tabViewSlotAvailability, slot.name)) throw new Error(`Swift.TabViewSlot has no SDK modifier ${slot.name}`);\n if (iosVersion < tabViewSlotAvailability[slot.name]) throw new Error(`Swift.TabViewSlot ${slot.name} requires iOS ${tabViewSlotAvailability[slot.name]} or later`);\n if (!Number.isFinite(slot.height) || slot.height <= 0) throw new Error(\"Swift.TabViewSlot height must be a positive number\");\n if (slot.children === void 0) throw new Error(\"Swift.TabViewSlot needs children\");\n if (entries2.some(function(entry) {\n return entry.kind === \"slot\" && entry.id === slot.name;\n })) throw new Error(`Swift.TabView accepts one ${slot.name} slot`);\n entries2.push({\n id: slot.name,\n kind: \"slot\",\n title: \"\",\n systemImage: \"\",\n badge: \"\",\n role: \"\",\n slotHeight: slot.height,\n tabModifiers: \"{}\",\n children: slot.children\n });\n } else {\n throw new Error(\"Swift.TabView accepts Swift.Tab, Swift.TabSection, Swift.TabViewSlot, Swift.TabViewBottomAccessory, and Swift.Toolbar elements as direct children\");\n }\n };\n for (var _iterator = Children.toArray(children)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) _loop();\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n return {\n entries: entries2,\n accessory: accessory2,\n actions: actions2,\n toolbar: toolbar2\n };\n }, [\n children,\n iosVersion\n ]);\n var tabsBeyondIOS17 = entries.some(function(entry) {\n return entry.kind === \"section\" || entry.kind !== \"slot\" && entry.tabModifiers !== \"{}\";\n });\n if (iosVersion < 18 && (tabsBeyondIOS17 || tabViewStyle !== \"automatic\" || onCustomizationChange)) throw new Error(\"Swift.TabView sections, tab modifiers, styles, and customization require iOS 18 or later\");\n if (accessory) {\n if (entries.some(function(entry) {\n return entry.kind === \"slot\" && entry.id === \"tabViewBottomAccessory\";\n })) throw new Error(\"Swift.TabView accepts one tabViewBottomAccessory slot\");\n if (iosVersion < 26) throw new Error(\"Swift.TabViewBottomAccessory requires iOS 26 or later\");\n if (accessory.isEnabled !== void 0 && iosVersion < 26.1) throw new Error(\"Swift.TabViewBottomAccessory isEnabled requires iOS 26.1 or later\");\n if (accessory.children === void 0 && accessory.inline === void 0 && accessory.expanded === void 0) throw new Error(\"Swift.TabViewBottomAccessory needs children, inline, or expanded content\");\n }\n var selected = entries.find(function(entry) {\n return entry.id === selection;\n });\n if (!selected || selected.kind !== \"page\" && selected.kind !== \"action\") {\n throw new Error(`Swift.TabView selection \"${selection}\" must identify a mounted Swift.Tab`);\n }\n if (selected.kind === \"action\") {\n throw new Error(`Swift.TabView selection \"${selection}\" is an action tab, which never becomes the selection`);\n }\n var accessoryEntries = accessory ? [\n {\n kind: \"accessoryInline\",\n content: (_ref = (_accessory_inline = accessory.inline) !== null && _accessory_inline !== void 0 ? _accessory_inline : accessory.children) !== null && _ref !== void 0 ? _ref : accessory.expanded\n },\n {\n kind: \"accessoryExpanded\",\n content: (_ref1 = (_accessory_expanded = accessory.expanded) !== null && _accessory_expanded !== void 0 ? _accessory_expanded : accessory.children) !== null && _ref1 !== void 0 ? _ref1 : accessory.inline\n }\n ].map(function(param2) {\n var { kind, content } = param2;\n return {\n id: kind,\n kind,\n title: \"\",\n systemImage: \"\",\n badge: \"\",\n role: \"\",\n slotHeight: 0,\n tabModifiers: \"{}\",\n children: content\n };\n }) : [];\n return /* @__PURE__ */ _jsxs(NativeTabView, {\n ...props,\n style: [\n {\n flex: 1\n },\n style\n ],\n swiftStyle: swiftStyleNative(swiftStyle),\n onNativeSDKEvent: function onNativeSDKEvent(param2) {\n var { nativeEvent } = param2;\n return dispatchSDKEvent(swiftStyle, nativeEvent.name, nativeEvent.value);\n },\n selection,\n acknowledgedEvent: controlled.acknowledgedEvent,\n revision,\n tabViewStyle,\n tabBarVisibility,\n customization,\n customizable: Boolean(onCustomizationChange),\n bottomAccessoryEnabled: (_ref2 = accessory === null || accessory === void 0 ? void 0 : accessory.isEnabled) !== null && _ref2 !== void 0 ? _ref2 : true,\n onNativeTabViewSelectionChange: function onNativeTabViewSelectionChange(param2) {\n var { nativeEvent } = param2;\n return controlled.onNativeChange(nativeEvent);\n },\n // an action tab's press runs its action; the selected page's press is a reselect.\n onNativeTabViewAction: function onNativeTabViewAction(param2) {\n var { nativeEvent } = param2;\n var action = actions.get(nativeEvent.tabId);\n if (action) action();\n else onReselect === null || onReselect === void 0 ? void 0 : onReselect(nativeEvent.tabId);\n },\n onNativeTabViewCustomizationChange: function onNativeTabViewCustomizationChange(param2) {\n var { nativeEvent } = param2;\n return onCustomizationChange === null || onCustomizationChange === void 0 ? void 0 : onCustomizationChange(nativeEvent.customization);\n },\n children: [\n [\n ...entries,\n ...accessoryEntries\n ].map(function(entry) {\n var hidden = (entry.kind === \"page\" || entry.kind === \"action\") && entry.id !== selection;\n return /* @__PURE__ */ _jsx(NativeTab, {\n tabId: entry.id,\n kind: entry.kind,\n title: entry.title,\n systemImage: entry.systemImage,\n badge: entry.badge,\n tabRole: entry.role,\n slotHeight: entry.slotHeight,\n tabModifiers: entry.tabModifiers,\n swiftStyle: swiftStyleNative(entry.swiftStyle),\n onNativeSDKEvent: function onNativeSDKEvent(param2) {\n var { nativeEvent } = param2;\n return dispatchSDKEvent(entry.swiftStyle, nativeEvent.name, nativeEvent.value);\n },\n testID: entry.testID,\n style: PAGE_STYLE,\n collapsable: false,\n pointerEvents: hidden ? \"none\" : \"auto\",\n accessibilityElementsHidden: hidden,\n importantForAccessibility: hidden ? \"no-hide-descendants\" : \"auto\",\n children: entry.children\n }, `${entry.kind}:${entry.id}`);\n }),\n toolbar ? /* @__PURE__ */ _jsx(ToolbarNode, {\n iosVersion,\n children: toolbar\n }) : null\n ]\n });\n}\nexport {\n Tab,\n TabSection,\n TabView,\n TabViewBottomAccessory,\n TabViewSlot\n};\n//# sourceMappingURL=TabView.native.js.map\n"],"mappings":";;;;;;;;;;;;AAUA,IAAI,aAAa;CACf,UAAU;CACV,MAAM;CACN,KAAK;CACL,OAAO;CACP,QAAQ;AACV;AACA,SAAS,uBAAuB,QAAQ;CACtC,MAAM,IAAI,MAAM,sEAAsE;AACxF;AACA,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MAAM,2DAA2D;AAC7E;AACA,SAAS,WAAW,QAAQ;CAC1B,MAAM,IAAI,MAAM,0DAA0D;AAC5E;AACA,SAAS,IAAI,QAAQ;CACnB,MAAM,IAAI,MAAM,uEAAuE;AACzF;AACA,SAAS,oBAAoB,OAAO,OAAO,YAAY;CACrD,IAAI;CACJ,IAAI,MAAM,aAAa,KAAK,KAAK,aAAa,MAAM,MAAM,IAAI,MAAM,GAAG,MAAM,qCAAqC;CAClH,IAAI,MAAM,SAAS,KAAK,KAAK,aAAa,IAAI,MAAM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d,eAAe,QAAQ,eAAe,KAAK,IAAI,KAAK,IAAI,WAAW,YAAY,KAAK;EAC3F;EACA,oCAAoC,SAAS,mCAAmC,QAAQ;GACtF,IAAI,EAAE,gBAAgB;GACtB,OAAO,0BAA0B,QAAQ,0BAA0B,KAAK,IAAI,KAAK,IAAI,sBAAsB,YAAY,aAAa;EACtI;EACA,UAAU,CACR,CACE,GAAG,SACH,GAAG,gBACL,CAAC,CAAC,IAAI,SAAS,OAAO;GACpB,IAAI,UAAU,MAAM,SAAS,UAAU,MAAM,SAAS,aAAa,MAAM,OAAO;GAChF,OAAuB,oBAAK,WAAW;IACrC,OAAO,MAAM;IACb,MAAM,MAAM;IACZ,OAAO,MAAM;IACb,aAAa,MAAM;IACnB,OAAO,MAAM;IACb,SAAS,MAAM;IACf,YAAY,MAAM;IAClB,cAAc,MAAM;IACpB,YAAY,iBAAiB,MAAM,UAAU;IAC7C,kBAAkB,SAAS,iBAAiB,QAAQ;KAClD,IAAI,EAAE,gBAAgB;KACtB,OAAO,iBAAiB,MAAM,YAAY,YAAY,MAAM,YAAY,KAAK;IAC/E;IACA,QAAQ,MAAM;IACd,OAAO;IACP,aAAa;IACb,eAAe,SAAS,SAAS;IACjC,6BAA6B;IAC7B,2BAA2B,SAAS,wBAAwB;IAC5D,UAAU,MAAM;GAClB,GAAG,GAAG,MAAM,KAAK,GAAG,MAAM,IAAI;EAChC,CAAC,GACD,UAA0B,oBAAK,aAAa;GAC1C;GACA,UAAU;EACZ,CAAC,IAAI,IACP;CACF,CAAC;AACH"}
|
|
1
|
+
{"version":3,"file":"TabView.native.js","names":[],"sources":["esm/platform/TabView.native.js"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useControlled } from \"./controlled\";\nimport { Platform } from \"react-native\";\nimport { assertSwiftUIValue } from \"./generated/swiftui\";\nimport { dispatchSDKEvent, swiftStyleNative } from \"./generated/swiftStyleNative\";\nimport { tabViewSlotAvailability } from \"./generated/viewSlots\";\nimport { Children, isValidElement, useMemo } from \"react\";\nimport NativeTab from \"./specs/OneNativeTabNativeComponent\";\nimport NativeTabView from \"./specs/OneNativeTabViewNativeComponent\";\nimport { Toolbar, ToolbarNode } from \"./NavigationStack.native\";\nvar PAGE_STYLE = {\n position: \"absolute\",\n left: 0,\n top: 0,\n width: \"100%\",\n height: \"100%\"\n};\nfunction TabViewBottomAccessory(_props) {\n throw new Error(\"Swift.TabViewBottomAccessory must be a direct child of Swift.TabView\");\n}\nfunction TabViewSlot(_props) {\n throw new Error(\"Swift.TabViewSlot must be a direct child of Swift.TabView\");\n}\nfunction TabSection(_props) {\n throw new Error(\"Swift.TabSection must be a direct child of Swift.TabView\");\n}\nfunction Tab(_props) {\n throw new Error(\"Swift.Tab must be a direct child of Swift.TabView or Swift.TabSection\");\n}\nfunction tabContentModifiers(owner, props, iosVersion) {\n var _props_sectionActions;\n if (props.disabled !== void 0 && iosVersion < 18.4) throw new Error(`${owner} disabled requires iOS 18.4 or later`);\n if (props.help !== void 0 && iosVersion < 27) throw new Error(`${owner} help requires iOS 27 or later`);\n var placements = function placements2(value) {\n var _ref;\n var list = (_ref = value === null || value === void 0 ? void 0 : value.for) !== null && _ref !== void 0 ? _ref : [];\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = list[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var placement = _step.value;\n assertSwiftUIValue(\"AdaptableTabBarPlacement\", placement, iosVersion);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n if (new Set(list).size !== list.length) throw new Error(`${owner} lists a placement twice`);\n return list;\n };\n if (props.customizationBehavior) assertSwiftUIValue(\"TabCustomizationBehavior\", props.customizationBehavior.behavior, iosVersion);\n if (props.defaultVisibility) assertSwiftUIValue(\"Visibility\", props.defaultVisibility.visibility, iosVersion);\n if (props.springLoadingBehavior) assertSwiftUIValue(\"SpringLoadingBehavior\", props.springLoadingBehavior, iosVersion);\n if (props.tabPlacement) assertSwiftUIValue(\"TabPlacement\", props.tabPlacement, iosVersion);\n if (props.defaultSectionExpansion) assertSwiftUIValue(\"TabSectionExpansion\", props.defaultSectionExpansion, iosVersion);\n return JSON.stringify({\n image: props.image,\n labelStyle: props.labelStyle,\n navigationStack: props.navigationStack,\n section: props.section,\n disabled: props.disabled,\n hidden: props.hidden,\n customizationID: props.customizationID,\n customizationBehavior: props.customizationBehavior && {\n value: props.customizationBehavior.behavior,\n placements: placements(props.customizationBehavior)\n },\n defaultVisibility: props.defaultVisibility && {\n value: props.defaultVisibility.visibility,\n placements: placements(props.defaultVisibility)\n },\n springLoadingBehavior: props.springLoadingBehavior,\n tabPlacement: props.tabPlacement,\n defaultSectionExpansion: props.defaultSectionExpansion,\n sectionActions: (_props_sectionActions = props.sectionActions) === null || _props_sectionActions === void 0 ? void 0 : _props_sectionActions.map(function(param) {\n var { id, title, systemImage } = param;\n return {\n id,\n title,\n systemImage: systemImage !== null && systemImage !== void 0 ? systemImage : \"\"\n };\n }),\n accessibilityLabel: props.accessibilityLabel,\n accessibilityHint: props.accessibilityHint,\n accessibilityValue: props.accessibilityValue,\n accessibilityIdentifier: props.accessibilityIdentifier,\n help: props.help\n });\n}\nfunction TabView(param) {\n var { children, selection, onSelectionChange, onReselect, revision = 0, tabViewStyle = \"automatic\", tabBarVisibility = \"automatic\", customization = \"\", onCustomizationChange, swiftStyle, style, ...props } = param;\n var _ref, _accessory_inline, _ref1, _accessory_expanded, _ref2;\n var iosVersion = Number.parseFloat(String(Platform.Version));\n assertSwiftUIValue(\"TabViewStyle\", tabViewStyle, iosVersion);\n assertSwiftUIValue(\"Visibility\", tabBarVisibility, iosVersion);\n var controlled = useControlled(function(event) {\n return onSelectionChange(event.selection);\n }, revision);\n var { entries, accessory, actions, toolbar } = useMemo(function() {\n var ids = /* @__PURE__ */ new Set();\n var entries2 = [];\n var accessory2;\n var toolbar2;\n var actions2 = /* @__PURE__ */ new Map();\n var claim = function claim2(owner, id) {\n if (!id || ids.has(id)) throw new Error(`${owner} requires unique, nonempty identifiers: \"${id}\"`);\n ids.add(id);\n };\n var tab = function tab2(props2, section) {\n var { value, titleKey, systemImage, image, badge, role, testID, onPress, swiftStyle: swiftStyle2, children: page } = props2;\n claim(\"Swift.Tab\", value);\n if (Boolean(onPress) === (page !== void 0)) {\n throw new Error(`Swift.Tab \"${value}\" needs exactly one of onPress and children: a tab either runs an action or shows a page`);\n }\n if (systemImage && image) throw new Error(`Swift.Tab \"${value}\" takes systemImage or image, not both`);\n if (role) assertSwiftUIValue(\"TabRole\", role, iosVersion);\n entries2.push({\n id: value,\n kind: onPress ? \"action\" : \"page\",\n title: titleKey,\n systemImage: systemImage !== null && systemImage !== void 0 ? systemImage : \"\",\n badge: badge === void 0 ? \"\" : String(badge),\n role: role !== null && role !== void 0 ? role : \"\",\n slotHeight: 0,\n tabModifiers: tabContentModifiers(`Swift.Tab \"${value}\"`, {\n ...props2,\n section\n }, iosVersion),\n swiftStyle: swiftStyle2,\n testID,\n onPress,\n children: page\n });\n if (onPress) actions2.set(value, onPress);\n };\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n var _loop = function() {\n var child = _step.value;\n if (!/* @__PURE__ */ isValidElement(child)) throw new Error(\"Swift.TabView children must be elements\");\n if (child.type === Tab) {\n tab(child.props, void 0);\n } else if (child.type === TabSection) {\n var _section_sectionActions;\n var section = child.props;\n claim(\"Swift.TabSection\", section.id);\n var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n try {\n for (var _iterator2 = ((_section_sectionActions = section.sectionActions) !== null && _section_sectionActions !== void 0 ? _section_sectionActions : [])[Symbol.iterator](), _step1; !(_iteratorNormalCompletion2 = (_step1 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var action = _step1.value;\n claim(`Swift.TabSection \"${section.id}\" sectionActions`, action.id);\n actions2.set(action.id, action.onPress);\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n entries2.push({\n id: section.id,\n kind: \"section\",\n title: section.title,\n systemImage: \"\",\n badge: \"\",\n role: \"\",\n slotHeight: 0,\n tabModifiers: tabContentModifiers(`Swift.TabSection \"${section.id}\"`, section, iosVersion),\n children: void 0\n });\n var tabs = Children.toArray(section.children);\n if (!tabs.length) throw new Error(`Swift.TabSection \"${section.id}\" needs Swift.Tab children`);\n var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n try {\n for (var _iterator1 = tabs[Symbol.iterator](), _step2; !(_iteratorNormalCompletion1 = (_step2 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n var sectionChild = _step2.value;\n if (!/* @__PURE__ */ isValidElement(sectionChild) || sectionChild.type !== Tab) throw new Error(`Swift.TabSection \"${section.id}\" accepts Swift.Tab elements as children`);\n tab(sectionChild.props, section.id);\n }\n } catch (err) {\n _didIteratorError1 = true;\n _iteratorError1 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion1 && _iterator1.return != null) {\n _iterator1.return();\n }\n } finally {\n if (_didIteratorError1) {\n throw _iteratorError1;\n }\n }\n }\n } else if (child.type === TabViewBottomAccessory) {\n if (accessory2) throw new Error(\"Swift.TabView accepts one TabViewBottomAccessory\");\n accessory2 = child.props;\n } else if (child.type === Toolbar) {\n if (toolbar2) throw new Error(\"Swift.TabView accepts one Swift.Toolbar\");\n toolbar2 = child.props.children;\n } else if (child.type === TabViewSlot) {\n var slot = child.props;\n if (!Object.hasOwn(tabViewSlotAvailability, slot.name)) throw new Error(`Swift.TabViewSlot has no SDK modifier ${slot.name}`);\n if (iosVersion < tabViewSlotAvailability[slot.name]) throw new Error(`Swift.TabViewSlot ${slot.name} requires iOS ${tabViewSlotAvailability[slot.name]} or later`);\n if (!Number.isFinite(slot.height) || slot.height <= 0) throw new Error(\"Swift.TabViewSlot height must be a positive number\");\n if (slot.children === void 0) throw new Error(\"Swift.TabViewSlot needs children\");\n if (entries2.some(function(entry) {\n return entry.kind === \"slot\" && entry.id === slot.name;\n })) throw new Error(`Swift.TabView accepts one ${slot.name} slot`);\n entries2.push({\n id: slot.name,\n kind: \"slot\",\n title: \"\",\n systemImage: \"\",\n badge: \"\",\n role: \"\",\n slotHeight: slot.height,\n tabModifiers: \"{}\",\n children: slot.children\n });\n } else {\n throw new Error(\"Swift.TabView accepts Swift.Tab, Swift.TabSection, Swift.TabViewSlot, Swift.TabViewBottomAccessory, and Swift.Toolbar elements as direct children\");\n }\n };\n for (var _iterator = Children.toArray(children)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) _loop();\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n return {\n entries: entries2,\n accessory: accessory2,\n actions: actions2,\n toolbar: toolbar2\n };\n }, [\n children,\n iosVersion\n ]);\n var tabsBeyondIOS17 = entries.some(function(entry) {\n return entry.kind === \"section\" || entry.kind !== \"slot\" && entry.tabModifiers !== \"{}\";\n });\n if (iosVersion < 18 && (tabsBeyondIOS17 || tabViewStyle !== \"automatic\" || onCustomizationChange)) throw new Error(\"Swift.TabView sections, tab modifiers, styles, and customization require iOS 18 or later\");\n if (accessory) {\n if (entries.some(function(entry) {\n return entry.kind === \"slot\" && entry.id === \"tabViewBottomAccessory\";\n })) throw new Error(\"Swift.TabView accepts one tabViewBottomAccessory slot\");\n if (iosVersion < 26) throw new Error(\"Swift.TabViewBottomAccessory requires iOS 26 or later\");\n if (accessory.isEnabled !== void 0 && iosVersion < 26.1) throw new Error(\"Swift.TabViewBottomAccessory isEnabled requires iOS 26.1 or later\");\n if (accessory.children === void 0 && accessory.inline === void 0 && accessory.expanded === void 0) throw new Error(\"Swift.TabViewBottomAccessory needs children, inline, or expanded content\");\n }\n var selected = entries.find(function(entry) {\n return entry.id === selection;\n });\n if (!selected || selected.kind !== \"page\" && selected.kind !== \"action\") {\n throw new Error(`Swift.TabView selection \"${selection}\" must identify a mounted Swift.Tab`);\n }\n if (selected.kind === \"action\") {\n throw new Error(`Swift.TabView selection \"${selection}\" is an action tab, which never becomes the selection`);\n }\n var accessoryEntries = accessory ? [\n {\n kind: \"accessoryInline\",\n content: (_ref = (_accessory_inline = accessory.inline) !== null && _accessory_inline !== void 0 ? _accessory_inline : accessory.children) !== null && _ref !== void 0 ? _ref : accessory.expanded\n },\n {\n kind: \"accessoryExpanded\",\n content: (_ref1 = (_accessory_expanded = accessory.expanded) !== null && _accessory_expanded !== void 0 ? _accessory_expanded : accessory.children) !== null && _ref1 !== void 0 ? _ref1 : accessory.inline\n }\n ].map(function(param2) {\n var { kind, content } = param2;\n return {\n id: kind,\n kind,\n title: \"\",\n systemImage: \"\",\n badge: \"\",\n role: \"\",\n slotHeight: 0,\n tabModifiers: \"{}\",\n children: content\n };\n }) : [];\n return /* @__PURE__ */ _jsxs(NativeTabView, {\n ...props,\n style: [\n {\n flex: 1\n },\n style\n ],\n swiftStyle: swiftStyleNative(swiftStyle),\n onNativeSDKEvent: function onNativeSDKEvent(param2) {\n var { nativeEvent } = param2;\n return dispatchSDKEvent(swiftStyle, nativeEvent.name, nativeEvent.value);\n },\n selection,\n acknowledgedEvent: controlled.acknowledgedEvent,\n revision,\n tabViewStyle,\n tabBarVisibility,\n customization,\n customizable: Boolean(onCustomizationChange),\n bottomAccessoryEnabled: (_ref2 = accessory === null || accessory === void 0 ? void 0 : accessory.isEnabled) !== null && _ref2 !== void 0 ? _ref2 : true,\n onNativeTabViewSelectionChange: function onNativeTabViewSelectionChange(param2) {\n var { nativeEvent } = param2;\n return controlled.onNativeChange(nativeEvent);\n },\n // an action tab's press runs its action; the selected page's press is a reselect.\n onNativeTabViewAction: function onNativeTabViewAction(param2) {\n var { nativeEvent } = param2;\n var action = actions.get(nativeEvent.tabId);\n if (action) action();\n else onReselect === null || onReselect === void 0 ? void 0 : onReselect(nativeEvent.tabId);\n },\n onNativeTabViewCustomizationChange: function onNativeTabViewCustomizationChange(param2) {\n var { nativeEvent } = param2;\n return onCustomizationChange === null || onCustomizationChange === void 0 ? void 0 : onCustomizationChange(nativeEvent.customization);\n },\n children: [\n [\n ...entries,\n ...accessoryEntries\n ].map(function(entry) {\n var hidden = (entry.kind === \"page\" || entry.kind === \"action\") && entry.id !== selection;\n return /* @__PURE__ */ _jsx(NativeTab, {\n tabId: entry.id,\n kind: entry.kind,\n title: entry.title,\n systemImage: entry.systemImage,\n badge: entry.badge,\n tabRole: entry.role,\n slotHeight: entry.slotHeight,\n tabModifiers: entry.tabModifiers,\n swiftStyle: swiftStyleNative(entry.swiftStyle),\n onNativeSDKEvent: function onNativeSDKEvent(param2) {\n var { nativeEvent } = param2;\n return dispatchSDKEvent(entry.swiftStyle, nativeEvent.name, nativeEvent.value);\n },\n testID: entry.testID,\n style: PAGE_STYLE,\n collapsable: false,\n pointerEvents: hidden ? \"none\" : \"auto\",\n accessibilityElementsHidden: hidden,\n importantForAccessibility: hidden ? \"no-hide-descendants\" : \"auto\",\n children: entry.children\n }, `${entry.kind}:${entry.id}`);\n }),\n toolbar ? /* @__PURE__ */ _jsx(ToolbarNode, {\n iosVersion,\n children: toolbar\n }) : null\n ]\n });\n}\nexport {\n Tab,\n TabSection,\n TabView,\n TabViewBottomAccessory,\n TabViewSlot\n};\n//# sourceMappingURL=TabView.native.js.map\n"],"mappings":";;;;;;;;;;;;AAUA,IAAI,aAAa;CACf,UAAU;CACV,MAAM;CACN,KAAK;CACL,OAAO;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ACjC,6BAA6B;IAC7B,2BAA2B,SAAS,wBAAwB;IAC5D,UAAU,MAAM;GAClB,GAAG,GAAG,MAAM,KAAK,GAAG,MAAM,IAAI;EAChC,CAAC,GACD,UAA0B,oBAAK,aAAa;GAC1C;GACA,UAAU;EACZ,CAAC,IAAI,IACP;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swiftui.js","names":[],"sources":["esm/platform/generated/swiftui.js"],"sourcesContent":["const swiftUIValues = {\n MenuOrder: {\n automatic: 16,\n priority: 16,\n fixed: 16\n },\n Visibility: {\n automatic: 15,\n visible: 15,\n hidden: 15\n },\n MenuActionDismissBehavior: {\n automatic: 16.4,\n enabled: 16.4,\n disabled: 16.4\n },\n TabViewStyle: {\n sidebarAdaptable: 18,\n page: 14,\n tabBarOnly: 18,\n automatic: 14\n },\n ButtonRole: {\n destructive: 15,\n cancel: 15,\n confirm: 26,\n close: 26\n },\n TabRole: {\n search: 18,\n prominent: 27\n },\n TabPlacement: {\n automatic: 18,\n pinned: 18,\n sidebarOnly: 18\n },\n AdaptableTabBarPlacement: {\n automatic: 18,\n tabBar: 18,\n sidebar: 18\n },\n TabCustomizationBehavior: {\n automatic: 18,\n reorderable: 18,\n disabled: 18\n },\n TabSectionExpansion: {\n automatic: 27,\n expanded: 27,\n collapsed: 27\n },\n SpringLoadingBehavior: {\n automatic: 17,\n enabled: 17,\n disabled: 17\n },\n ControlGroupStyle: {\n palette: 17,\n automatic: 15,\n navigation: 15,\n menu: 16.4,\n compactMenu: 16.4\n },\n Axis: {\n horizontal: 13,\n vertical: 13\n },\n Edge: {\n top: 13,\n leading: 13,\n bottom: 13,\n trailing: 13\n },\n PresentationAdaptation: {\n automatic: 16.4,\n none: 16.4,\n popover: 16.4,\n sheet: 16.4,\n fullScreenCover: 16.4\n },\n PresentationContentInteraction: {\n automatic: 16.4,\n resizes: 16.4,\n scrolls: 16.4\n },\n ColorScheme: {\n light: 13,\n dark: 13\n },\n DynamicTypeSize: {\n xSmall: 15,\n small: 15,\n medium: 15,\n large: 15,\n xLarge: 15,\n xxLarge: 15,\n xxxLarge: 15,\n accessibility1: 15,\n accessibility2: 15,\n accessibility3: 15,\n accessibility4: 15,\n accessibility5: 15\n },\n ControlSize: {\n mini: 15,\n small: 15,\n regular: 15,\n large: 15,\n extraLarge: 17\n },\n PhotosPickerSelectionBehavior: {\n default: 16,\n ordered: 16,\n continuous: 17,\n continuousAndOrdered: 17\n },\n EncodingDisambiguationPolicy: {\n automatic: 16,\n current: 16,\n compatible: 16\n },\n BackForwardNavigationGesturesBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n MagnificationGesturesBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n LinkPreviewBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n ElementFullscreenBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n ListStyle: {\n automatic: 13,\n sidebar: 14,\n inset: 14,\n grouped: 13,\n insetGrouped: 14,\n plain: 13\n },\n ToolbarItemPlacement: {\n automatic: 14,\n principal: 14,\n navigation: 14,\n primaryAction: 14,\n secondaryAction: 16,\n status: 14,\n confirmationAction: 14,\n cancellationAction: 14,\n destructiveAction: 14,\n keyboard: 15,\n topBarLeading: 14,\n topBarTrailing: 14,\n topBarPinnedTrailing: 27,\n navigationBarLeading: 14,\n navigationBarTrailing: 14,\n title: 14,\n largeTitle: 26,\n bottomBar: 14,\n subtitle: 26,\n largeSubtitle: 26\n },\n SpacerSizing: {\n flexible: 26,\n fixed: 26\n },\n PayWithApplePayButtonLabel: {\n plain: 16,\n buy: 16,\n addMoney: 16,\n book: 16,\n checkout: 16,\n continue: 16,\n contribute: 16,\n donate: 16,\n inStore: 16,\n order: 16,\n reload: 16,\n rent: 16,\n setUp: 16,\n subscribe: 16,\n support: 16,\n tip: 16,\n topUp: 16\n }\n};\nfunction assertSwiftUIValue(type, value, iosVersion) {\n const values = swiftUIValues[type];\n if (!Object.hasOwn(values, value))\n throw new Error(\"Unknown SwiftUI \" + type + \": \" + value);\n if (iosVersion < values[value])\n throw new Error(type + \".\" + value + \" requires iOS \" + values[value]);\n}\nexport {\n assertSwiftUIValue,\n swiftUIValues\n};\n//# sourceMappingURL=swiftui.js.map\n"],"mappings":";AAAA,MAAM,gBAAgB;CACpB,WAAW;EACT,WAAW;EACX,UAAU;EACV,OAAO;CACT;CACA,YAAY;EACV,WAAW;EACX,SAAS;EACT,QAAQ;CACV;CACA,2BAA2B;EACzB,WAAW;EACX,SAAS;EACT,UAAU;CACZ;CACA,cAAc;EACZ,kBAAkB;EAClB,MAAM;EACN,YAAY;EACZ,WAAW;CACb;CACA,YAAY;EACV,aAAa;EACb,QAAQ;EACR,SAAS;EACT,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,WAAW;CACb;CACA,cAAc;EACZ,WAAW;EACX,QAAQ;EACR,aAAa;CACf;CACA,0BAA0B;EACxB,WAAW;EACX,QAAQ;EACR,SAAS;CACX;CACA,0BAA0B;EACxB,WAAW;EACX,aAAa;EACb,UAAU;CACZ;CACA,qBAAqB;EACnB,WAAW;EACX,UAAU;EACV,WAAW;CACb;CACA,uBAAuB;EACrB,WAAW;EACX,SAAS;EACT,UAAU;CACZ;CACA,mBAAmB;EACjB,SAAS;EACT,WAAW;EACX,YAAY;EACZ,MAAM;EACN,aAAa;CACf;CACA,MAAM;EACJ,YAAY;EACZ,UAAU;CACZ;CACA,MAAM;EACJ,KAAK;EACL,SAAS;EACT,QAAQ;EACR,UAAU;CACZ;CACA,wBAAwB;EACtB,WAAW;EACX,MAAM;EACN,SAAS;EACT,OAAO;EACP,iBAAiB;CACnB;CACA,gCAAgC;EAC9B,WAAW;EACX,SAAS;EACT,SAAS;CACX;CACA,aAAa;EACX,OAAO;EACP,MAAM;CACR;CACA,iBAAiB;EACf,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,SAAS;EACT,UAAU;EACV,gB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;CAC1D,IAAI,aAAa,OAAO,QACtB,MAAM,IAAI,MAAM,OAAO,MAAM,QAAQ,mBAAmB,OAAO,MAAM;AACzE"}
|
|
1
|
+
{"version":3,"file":"swiftui.js","names":[],"sources":["esm/platform/generated/swiftui.js"],"sourcesContent":["const swiftUIValues = {\n MenuOrder: {\n automatic: 16,\n priority: 16,\n fixed: 16\n },\n Visibility: {\n automatic: 15,\n visible: 15,\n hidden: 15\n },\n MenuActionDismissBehavior: {\n automatic: 16.4,\n enabled: 16.4,\n disabled: 16.4\n },\n TabViewStyle: {\n sidebarAdaptable: 18,\n page: 14,\n tabBarOnly: 18,\n automatic: 14\n },\n ButtonRole: {\n destructive: 15,\n cancel: 15,\n confirm: 26,\n close: 26\n },\n TabRole: {\n search: 18,\n prominent: 27\n },\n TabPlacement: {\n automatic: 18,\n pinned: 18,\n sidebarOnly: 18\n },\n AdaptableTabBarPlacement: {\n automatic: 18,\n tabBar: 18,\n sidebar: 18\n },\n TabCustomizationBehavior: {\n automatic: 18,\n reorderable: 18,\n disabled: 18\n },\n TabSectionExpansion: {\n automatic: 27,\n expanded: 27,\n collapsed: 27\n },\n SpringLoadingBehavior: {\n automatic: 17,\n enabled: 17,\n disabled: 17\n },\n ControlGroupStyle: {\n palette: 17,\n automatic: 15,\n navigation: 15,\n menu: 16.4,\n compactMenu: 16.4\n },\n Axis: {\n horizontal: 13,\n vertical: 13\n },\n Edge: {\n top: 13,\n leading: 13,\n bottom: 13,\n trailing: 13\n },\n PresentationAdaptation: {\n automatic: 16.4,\n none: 16.4,\n popover: 16.4,\n sheet: 16.4,\n fullScreenCover: 16.4\n },\n PresentationContentInteraction: {\n automatic: 16.4,\n resizes: 16.4,\n scrolls: 16.4\n },\n ColorScheme: {\n light: 13,\n dark: 13\n },\n DynamicTypeSize: {\n xSmall: 15,\n small: 15,\n medium: 15,\n large: 15,\n xLarge: 15,\n xxLarge: 15,\n xxxLarge: 15,\n accessibility1: 15,\n accessibility2: 15,\n accessibility3: 15,\n accessibility4: 15,\n accessibility5: 15\n },\n ControlSize: {\n mini: 15,\n small: 15,\n regular: 15,\n large: 15,\n extraLarge: 17\n },\n PhotosPickerSelectionBehavior: {\n default: 16,\n ordered: 16,\n continuous: 17,\n continuousAndOrdered: 17\n },\n EncodingDisambiguationPolicy: {\n automatic: 16,\n current: 16,\n compatible: 16\n },\n BackForwardNavigationGesturesBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n MagnificationGesturesBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n LinkPreviewBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n ElementFullscreenBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n ListStyle: {\n automatic: 13,\n sidebar: 14,\n inset: 14,\n grouped: 13,\n insetGrouped: 14,\n plain: 13\n },\n ToolbarItemPlacement: {\n automatic: 14,\n principal: 14,\n navigation: 14,\n primaryAction: 14,\n secondaryAction: 16,\n status: 14,\n confirmationAction: 14,\n cancellationAction: 14,\n destructiveAction: 14,\n keyboard: 15,\n topBarLeading: 14,\n topBarTrailing: 14,\n topBarPinnedTrailing: 27,\n navigationBarLeading: 14,\n navigationBarTrailing: 14,\n title: 14,\n largeTitle: 26,\n bottomBar: 14,\n subtitle: 26,\n largeSubtitle: 26\n },\n SpacerSizing: {\n flexible: 26,\n fixed: 26\n },\n ToolbarDefaultItemKind: {\n sidebarToggle: 17,\n title: 18,\n search: 26\n },\n PayWithApplePayButtonLabel: {\n plain: 16,\n buy: 16,\n addMoney: 16,\n book: 16,\n checkout: 16,\n continue: 16,\n contribute: 16,\n donate: 16,\n inStore: 16,\n order: 16,\n reload: 16,\n rent: 16,\n setUp: 16,\n subscribe: 16,\n support: 16,\n tip: 16,\n topUp: 16\n }\n};\nfunction assertSwiftUIValue(type, value, iosVersion) {\n const values = swiftUIValues[type];\n if (!Object.hasOwn(values, value))\n throw new Error(\"Unknown SwiftUI \" + type + \": \" + value);\n if (iosVersion < values[value])\n throw new Error(type + \".\" + value + \" requires iOS \" + values[value]);\n}\nexport {\n assertSwiftUIValue,\n swiftUIValues\n};\n//# sourceMappingURL=swiftui.js.map\n"],"mappings":";AAAA,MAAM,gBAAgB;CACpB,WAAW;EACT,WAAW;EACX,UAAU;EACV,OAAO;CACT;CACA,YAAY;EACV,WAAW;EACX,SAAS;EACT,QAAQ;CACV;CACA,2BAA2B;EACzB,WAAW;EACX,SAAS;EACT,UAAU;CACZ;CACA,cAAc;EACZ,kBAAkB;EAClB,MAAM;EACN,YAAY;EACZ,WAAW;CACb;CACA,YAAY;EACV,aAAa;EACb,QAAQ;EACR,SAAS;EACT,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,WAAW;CACb;CACA,cAAc;EACZ,WAAW;EACX,QAAQ;EACR,aAAa;CACf;CACA,0BAA0B;EACxB,WAAW;EACX,QAAQ;EACR,SAAS;CACX;CACA,0BAA0B;EACxB,WAAW;EACX,aAAa;EACb,UAAU;CACZ;CACA,qBAAqB;EACnB,WAAW;EACX,UAAU;EACV,WAAW;CACb;CACA,uBAAuB;EACrB,WAAW;EACX,SAAS;EACT,UAAU;CACZ;CACA,mBAAmB;EACjB,SAAS;EACT,WAAW;EACX,YAAY;EACZ,MAAM;EACN,aAAa;CACf;CACA,MAAM;EACJ,YAAY;EACZ,UAAU;CACZ;CACA,MAAM;EACJ,KAAK;EACL,SAAS;EACT,QAAQ;EACR,UAAU;CACZ;CACA,wBAAwB;EACtB,WAAW;EACX,MAAM;EACN,SAAS;EACT,OAAO;EACP,iBAAiB;CACnB;CACA,gCAAgC;EAC9B,WAAW;EACX,SAAS;EACT,SAAS;CACX;CACA,aAAa;EACX,OAAO;EACP,MAAM;CACR;CACA,iBAAiB;EACf,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;CAClB;CACA,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AAO,QACtB,MAAM,IAAI,MAAM,OAAO,MAAM,QAAQ,mBAAmB,OAAO,MAAM;AACzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swiftui.native.js","names":[],"sources":["esm/platform/generated/swiftui.native.js"],"sourcesContent":["var swiftUIValues = {\n MenuOrder: {\n automatic: 16,\n priority: 16,\n fixed: 16\n },\n Visibility: {\n automatic: 15,\n visible: 15,\n hidden: 15\n },\n MenuActionDismissBehavior: {\n automatic: 16.4,\n enabled: 16.4,\n disabled: 16.4\n },\n TabViewStyle: {\n sidebarAdaptable: 18,\n page: 14,\n tabBarOnly: 18,\n automatic: 14\n },\n ButtonRole: {\n destructive: 15,\n cancel: 15,\n confirm: 26,\n close: 26\n },\n TabRole: {\n search: 18,\n prominent: 27\n },\n TabPlacement: {\n automatic: 18,\n pinned: 18,\n sidebarOnly: 18\n },\n AdaptableTabBarPlacement: {\n automatic: 18,\n tabBar: 18,\n sidebar: 18\n },\n TabCustomizationBehavior: {\n automatic: 18,\n reorderable: 18,\n disabled: 18\n },\n TabSectionExpansion: {\n automatic: 27,\n expanded: 27,\n collapsed: 27\n },\n SpringLoadingBehavior: {\n automatic: 17,\n enabled: 17,\n disabled: 17\n },\n ControlGroupStyle: {\n palette: 17,\n automatic: 15,\n navigation: 15,\n menu: 16.4,\n compactMenu: 16.4\n },\n Axis: {\n horizontal: 13,\n vertical: 13\n },\n Edge: {\n top: 13,\n leading: 13,\n bottom: 13,\n trailing: 13\n },\n PresentationAdaptation: {\n automatic: 16.4,\n none: 16.4,\n popover: 16.4,\n sheet: 16.4,\n fullScreenCover: 16.4\n },\n PresentationContentInteraction: {\n automatic: 16.4,\n resizes: 16.4,\n scrolls: 16.4\n },\n ColorScheme: {\n light: 13,\n dark: 13\n },\n DynamicTypeSize: {\n xSmall: 15,\n small: 15,\n medium: 15,\n large: 15,\n xLarge: 15,\n xxLarge: 15,\n xxxLarge: 15,\n accessibility1: 15,\n accessibility2: 15,\n accessibility3: 15,\n accessibility4: 15,\n accessibility5: 15\n },\n ControlSize: {\n mini: 15,\n small: 15,\n regular: 15,\n large: 15,\n extraLarge: 17\n },\n PhotosPickerSelectionBehavior: {\n default: 16,\n ordered: 16,\n continuous: 17,\n continuousAndOrdered: 17\n },\n EncodingDisambiguationPolicy: {\n automatic: 16,\n current: 16,\n compatible: 16\n },\n BackForwardNavigationGesturesBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n MagnificationGesturesBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n LinkPreviewBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n ElementFullscreenBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n ListStyle: {\n automatic: 13,\n sidebar: 14,\n inset: 14,\n grouped: 13,\n insetGrouped: 14,\n plain: 13\n },\n ToolbarItemPlacement: {\n automatic: 14,\n principal: 14,\n navigation: 14,\n primaryAction: 14,\n secondaryAction: 16,\n status: 14,\n confirmationAction: 14,\n cancellationAction: 14,\n destructiveAction: 14,\n keyboard: 15,\n topBarLeading: 14,\n topBarTrailing: 14,\n topBarPinnedTrailing: 27,\n navigationBarLeading: 14,\n navigationBarTrailing: 14,\n title: 14,\n largeTitle: 26,\n bottomBar: 14,\n subtitle: 26,\n largeSubtitle: 26\n },\n SpacerSizing: {\n flexible: 26,\n fixed: 26\n },\n PayWithApplePayButtonLabel: {\n plain: 16,\n buy: 16,\n addMoney: 16,\n book: 16,\n checkout: 16,\n continue: 16,\n contribute: 16,\n donate: 16,\n inStore: 16,\n order: 16,\n reload: 16,\n rent: 16,\n setUp: 16,\n subscribe: 16,\n support: 16,\n tip: 16,\n topUp: 16\n }\n};\nfunction assertSwiftUIValue(type, value, iosVersion) {\n var values = swiftUIValues[type];\n if (!Object.hasOwn(values, value)) throw new Error(\"Unknown SwiftUI \" + type + \": \" + value);\n if (iosVersion < values[value]) throw new Error(type + \".\" + value + \" requires iOS \" + values[value]);\n}\nexport {\n assertSwiftUIValue,\n swiftUIValues\n};\n//# sourceMappingURL=swiftui.js.map\n"],"mappings":";AAAA,IAAI,gBAAgB;CAClB,WAAW;EACT,WAAW;EACX,UAAU;EACV,OAAO;CACT;CACA,YAAY;EACV,WAAW;EACX,SAAS;EACT,QAAQ;CACV;CACA,2BAA2B;EACzB,WAAW;EACX,SAAS;EACT,UAAU;CACZ;CACA,cAAc;EACZ,kBAAkB;EAClB,MAAM;EACN,YAAY;EACZ,WAAW;CACb;CACA,YAAY;EACV,aAAa;EACb,QAAQ;EACR,SAAS;EACT,OAAO;CACT;CACA,SAAS;EACP,QAAQ;EACR,WAAW;CACb;CACA,cAAc;EACZ,WAAW;EACX,QAAQ;EACR,aAAa;CACf;CACA,0BAA0B;EACxB,WAAW;EACX,QAAQ;EACR,SAAS;CACX;CACA,0BAA0B;EACxB,WAAW;EACX,aAAa;EACb,UAAU;CACZ;CACA,qBAAqB;EACnB,WAAW;EACX,UAAU;EACV,WAAW;CACb;CACA,uBAAuB;EACrB,WAAW;EACX,SAAS;EACT,UAAU;CACZ;CACA,mBAAmB;EACjB,SAAS;EACT,WAAW;EACX,YAAY;EACZ,MAAM;EACN,aAAa;CACf;CACA,MAAM;EACJ,YAAY;EACZ,UAAU;CACZ;CACA,MAAM;EACJ,KAAK;EACL,SAAS;EACT,QAAQ;EACR,UAAU;CACZ;CACA,wBAAwB;EACtB,WAAW;EACX,MAAM;EACN,SAAS;EACT,OAAO;EACP,iBAAiB;CACnB;CACA,gCAAgC;EAC9B,WAAW;EACX,SAAS;EACT,SAAS;CACX;CACA,aAAa;EACX,OAAO;EACP,MAAM;CACR;CACA,iBAAiB;EACf,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;CAClB;CACA,aAAa;EACX,MAAM;EACN,OAAO;EACP,SAAS;EACT,OAAO;EACP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.native.js","names":[],"sources":["esm/platform/generated/swiftui.native.js"],"sourcesContent":["var swiftUIValues = {\n MenuOrder: {\n automatic: 16,\n priority: 16,\n fixed: 16\n },\n Visibility: {\n automatic: 15,\n visible: 15,\n hidden: 15\n },\n MenuActionDismissBehavior: {\n automatic: 16.4,\n enabled: 16.4,\n disabled: 16.4\n },\n TabViewStyle: {\n sidebarAdaptable: 18,\n page: 14,\n tabBarOnly: 18,\n automatic: 14\n },\n ButtonRole: {\n destructive: 15,\n cancel: 15,\n confirm: 26,\n close: 26\n },\n TabRole: {\n search: 18,\n prominent: 27\n },\n TabPlacement: {\n automatic: 18,\n pinned: 18,\n sidebarOnly: 18\n },\n AdaptableTabBarPlacement: {\n automatic: 18,\n tabBar: 18,\n sidebar: 18\n },\n TabCustomizationBehavior: {\n automatic: 18,\n reorderable: 18,\n disabled: 18\n },\n TabSectionExpansion: {\n automatic: 27,\n expanded: 27,\n collapsed: 27\n },\n SpringLoadingBehavior: {\n automatic: 17,\n enabled: 17,\n disabled: 17\n },\n ControlGroupStyle: {\n palette: 17,\n automatic: 15,\n navigation: 15,\n menu: 16.4,\n compactMenu: 16.4\n },\n Axis: {\n horizontal: 13,\n vertical: 13\n },\n Edge: {\n top: 13,\n leading: 13,\n bottom: 13,\n trailing: 13\n },\n PresentationAdaptation: {\n automatic: 16.4,\n none: 16.4,\n popover: 16.4,\n sheet: 16.4,\n fullScreenCover: 16.4\n },\n PresentationContentInteraction: {\n automatic: 16.4,\n resizes: 16.4,\n scrolls: 16.4\n },\n ColorScheme: {\n light: 13,\n dark: 13\n },\n DynamicTypeSize: {\n xSmall: 15,\n small: 15,\n medium: 15,\n large: 15,\n xLarge: 15,\n xxLarge: 15,\n xxxLarge: 15,\n accessibility1: 15,\n accessibility2: 15,\n accessibility3: 15,\n accessibility4: 15,\n accessibility5: 15\n },\n ControlSize: {\n mini: 15,\n small: 15,\n regular: 15,\n large: 15,\n extraLarge: 17\n },\n PhotosPickerSelectionBehavior: {\n default: 16,\n ordered: 16,\n continuous: 17,\n continuousAndOrdered: 17\n },\n EncodingDisambiguationPolicy: {\n automatic: 16,\n current: 16,\n compatible: 16\n },\n BackForwardNavigationGesturesBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n MagnificationGesturesBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n LinkPreviewBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n ElementFullscreenBehavior: {\n automatic: 26,\n enabled: 26,\n disabled: 26\n },\n ListStyle: {\n automatic: 13,\n sidebar: 14,\n inset: 14,\n grouped: 13,\n insetGrouped: 14,\n plain: 13\n },\n ToolbarItemPlacement: {\n automatic: 14,\n principal: 14,\n navigation: 14,\n primaryAction: 14,\n secondaryAction: 16,\n status: 14,\n confirmationAction: 14,\n cancellationAction: 14,\n destructiveAction: 14,\n keyboard: 15,\n topBarLeading: 14,\n topBarTrailing: 14,\n topBarPinnedTrailing: 27,\n navigationBarLeading: 14,\n navigationBarTrailing: 14,\n title: 14,\n largeTitle: 26,\n bottomBar: 14,\n subtitle: 26,\n largeSubtitle: 26\n },\n SpacerSizing: {\n flexible: 26,\n fixed: 26\n },\n ToolbarDefaultItemKind: {\n sidebarToggle: 17,\n title: 18,\n search: 26\n },\n PayWithApplePayButtonLabel: {\n plain: 16,\n buy: 16,\n addMoney: 16,\n book: 16,\n checkout: 16,\n continue: 16,\n contribute: 16,\n donate: 16,\n inStore: 16,\n order: 16,\n reload: 16,\n rent: 16,\n setUp: 16,\n subscribe: 16,\n support: 16,\n tip: 16,\n topUp: 16\n }\n};\nfunction assertSwiftUIValue(type, value, iosVersion) {\n var values = swiftUIValues[type];\n if (!Object.hasOwn(values, value)) throw new Error(\"Unknown SwiftUI \" + type + \": \" + value);\n if (iosVersion < values[value]) throw new Error(type + \".\" + value + \" requires iOS \" + values[value]);\n}\nexport {\n assertSwiftUIValue,\n swiftUIValues\n};\n//# sourceMappingURL=swiftui.js.map\n"],"mappings":";AAAA,IAA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
|
|
|
8
8
|
import { UIKitView } from "./UIKitView.native.js";
|
|
9
9
|
import { UIKitContent, collectionCellSource, tableCellSource } from "./UIKitContent.native.js";
|
|
10
10
|
import { Popover } from "./Popover.native.js";
|
|
11
|
-
import { NavigationStack, Toolbar, ToolbarItem, ToolbarItemGroup, ToolbarSpacer } from "./NavigationStack.native.js";
|
|
11
|
+
import { DefaultToolbarItem, NavigationStack, Toolbar, ToolbarItem, ToolbarItemGroup, ToolbarSpacer } from "./NavigationStack.native.js";
|
|
12
12
|
import { NavigationSplitView } from "./NavigationSplitView.native.js";
|
|
13
13
|
import { FullScreenCover, Sheet } from "./Sheet.native.js";
|
|
14
14
|
import { ArrangementView } from "./ArrangementView.native.js";
|
|
@@ -130,6 +130,7 @@ var Swift = Platform.OS === "ios" ? {
|
|
|
130
130
|
ToolbarItem,
|
|
131
131
|
ToolbarItemGroup,
|
|
132
132
|
ToolbarSpacer,
|
|
133
|
+
DefaultToolbarItem,
|
|
133
134
|
Spacer,
|
|
134
135
|
Slot,
|
|
135
136
|
withAnimation,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["AndroidMenu","IOSMenu","AndroidContextMenu","IOSContextMenu","MapWithControls","PickerWithChildren","UnsupportedSwift"],"sources":["esm/platform/index.native.js"],"sourcesContent":["import { Platform } from \"react-native\";\nimport { Swift as UnsupportedSwift } from \"./unsupported\";\nimport { Angle, Gradient, Path, Shading } from \"./canvas\";\nimport { Button, ControlGroup, DisclosureGroup, Divider, Form, Glass, GlassEffectContainer, GeometryReader, TimelineView, OutlineGroup, Table, Canvas, Group, GroupBox, ViewThatFits, HStack, LabeledContent, LazyHStack, LazyVStack, LazyHGrid, LazyVGrid, Grid, GridRow, Link, List, Overlay, ViewSlot, ScrollView, ScrollViewReader, Section, Slot, Spacer, SwipeActions, VStack, ZStack } from \"./Containers.native\";\nimport { ContextMenu as AndroidContextMenu, Menu as AndroidMenu } from \"./AndroidMenu\";\nimport { ContextMenu as IOSContextMenu, Menu as IOSMenu } from \"./Menu.native\";\nimport { Page, Pager } from \"./Pager.native\";\nimport { UIKitView } from \"./UIKitView.native\";\nimport { collectionCellSource, tableCellSource, UIKitContent } from \"./UIKitContent.native\";\nimport { Popover } from \"./Popover.native\";\nimport { NavigationStack, Toolbar, ToolbarItem, ToolbarItemGroup, ToolbarSpacer } from \"./NavigationStack.native\";\nimport { NavigationSplitView } from \"./NavigationSplitView.native\";\nimport { FullScreenCover, Sheet } from \"./Sheet.native\";\nimport { ArrangementView } from \"./ArrangementView.native\";\nimport { withAnimation } from \"./withAnimation.native\";\nimport { KeyframeAnimator, PhaseAnimator } from \"./Animators.native\";\nimport { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from \"./keyframes\";\nimport * as Controls from \"./generated/Controls.native\";\nimport { Map as MapWithControls } from \"./mapControls.native\";\nimport { Picker as PickerWithChildren } from \"./pickerChildren.native\";\nimport { Tab, TabView, TabSection, TabViewBottomAccessory, TabViewSlot } from \"./TabView.native\";\nimport { Compose } from \"./compose\";\nimport * as UI from \"./effects\";\nimport { Widgets, LiveActivities, WidgetUI } from \"./widgets/index\";\nexport * from \"./extras\";\nimport { Storage } from \"./storage/index.native\";\nimport { KeepAwake, useKeepAwake } from \"./keep-awake/index\";\nimport { Print } from \"./print/index\";\nimport { StoreReview } from \"./store-review/index\";\nimport { QuickActions } from \"./quick-actions/index\";\nimport { useSizeClass, getSizeClass, useHinge, getHinge, onHingeChange, ReservedRegions, useReservedRegions, useReservedRegionsReady, useWindowSegments, useSpanning } from \"./adaptive/index.native\";\nimport { Notifications } from \"./notifications\";\nimport { useNativeState } from \"./nativeState\";\nimport { TextInput } from \"./universal/TextInput/index\";\nimport { Haptics } from \"./haptics/index.native\";\nimport { LaunchScreen } from \"./launchScreen/index.native\";\nimport { LocalAuthentication } from \"./local-authentication/index\";\nimport { ProtectedStore } from \"./protected-store/index\";\nimport { Location } from \"./location/index\";\nimport { FileSystem } from \"./file-system/index.native\";\nimport { Audio } from \"./audio/index\";\nimport { CameraView } from \"./camera/index.native\";\nimport { Share } from \"./share/index\";\nimport { Open } from \"./open/index.native\";\nimport { PhotoLibrary } from \"./photo-library/index\";\nimport { MapServices } from \"./map-services/index\";\nimport { AppTracking } from \"./app-tracking/index\";\nimport { AppIcon } from \"./app-icon/index\";\nimport { ScreenOrientation } from \"./screen-orientation/index\";\nimport { ScreenCapture, usePreventScreenCapture } from \"./screen-capture/index\";\nimport { Purchases } from \"./purchases/index\";\nimport { ImageManipulator } from \"./image-manipulator/index.native\";\nimport { Device } from \"./device/index\";\nimport { Motion } from \"./motion/index.native\";\nimport { BackgroundTasks } from \"./background-tasks/index\";\nimport { AppIntents } from \"./app-intents/index\";\nimport { DeviceAttestation } from \"./device-attestation/index\";\nimport { Contacts } from \"./contacts/index\";\nimport { Calendar } from \"./calendar/index\";\nimport { AppInfo } from \"./app-info/index.native\";\nimport { ImagePicker } from \"./image-picker/index.native\";\nimport { DocumentPicker } from \"./document-picker/index.native\";\nimport { Database } from \"./database/index.native\";\nimport { VNDocumentCameraViewController } from \"./vision-kit/index\";\nimport { MFMailComposeViewController, MFMessageComposeViewController } from \"./message-ui/index\";\nimport { DataScannerViewController } from \"./data-scanner/index\";\nimport { CNContactViewController, CNMutableContact, CNContactStore } from \"./contact-ui/index\";\nvar Menu = Platform.OS === \"android\" ? AndroidMenu : IOSMenu;\nvar ContextMenu = Platform.OS === \"android\" ? AndroidContextMenu : IOSContextMenu;\nvar Swift = Platform.OS === \"ios\" ? {\n ArrangementView,\n TabView,\n Tab,\n TabSection,\n TabViewBottomAccessory,\n TabViewSlot,\n Menu,\n ContextMenu,\n Sheet,\n FullScreenCover,\n Popover,\n HStack,\n VStack,\n ZStack,\n Form,\n Section,\n Glass,\n GlassEffectContainer,\n GeometryReader,\n TimelineView,\n OutlineGroup,\n Table,\n Canvas,\n Angle,\n Path,\n Shading,\n Gradient,\n LabeledContent,\n Button,\n List,\n ScrollView,\n ScrollViewReader,\n LazyVStack,\n LazyHStack,\n LazyVGrid,\n LazyHGrid,\n Grid,\n GridRow,\n ControlGroup,\n DisclosureGroup,\n Divider,\n UIKitView,\n UIKitContent,\n collectionCellSource,\n tableCellSource,\n Link,\n Group,\n GroupBox,\n ViewThatFits,\n Overlay,\n ViewSlot,\n SwipeActions,\n Pager,\n Page,\n NavigationStack,\n NavigationSplitView,\n Toolbar,\n ToolbarItem,\n ToolbarItemGroup,\n ToolbarSpacer,\n Spacer,\n Slot,\n withAnimation,\n PhaseAnimator,\n KeyframeAnimator,\n KeyframeTrack,\n LinearKeyframe,\n SpringKeyframe,\n CubicKeyframe,\n MoveKeyframe,\n ...Controls,\n // the generated map takes no children; the wrapper validates and names\n // the map-controls slot while the native view composes it.\n Map: MapWithControls,\n // the generated picker takes no children; the wrapper validates the\n // tagged text options while the native view composes them.\n Picker: PickerWithChildren\n} : UnsupportedSwift;\nexport {\n AppIcon,\n AppInfo,\n AppIntents,\n AppTracking,\n Audio,\n BackgroundTasks,\n CNContactStore,\n CNContactViewController,\n CNMutableContact,\n Calendar,\n CameraView,\n Compose,\n Contacts,\n ContextMenu,\n DataScannerViewController,\n Database,\n Device,\n DeviceAttestation,\n DocumentPicker,\n FileSystem,\n Haptics,\n ImageManipulator,\n ImagePicker,\n KeepAwake,\n LaunchScreen,\n LiveActivities,\n LocalAuthentication,\n Location,\n MFMailComposeViewController,\n MFMessageComposeViewController,\n MapServices,\n Menu,\n Motion,\n Notifications,\n Open,\n PhotoLibrary,\n Print,\n ProtectedStore,\n Purchases,\n QuickActions,\n ReservedRegions,\n ScreenCapture,\n ScreenOrientation,\n Share,\n Storage,\n StoreReview,\n Swift,\n TextInput,\n UI,\n VNDocumentCameraViewController,\n WidgetUI,\n Widgets,\n getHinge,\n getSizeClass,\n onHingeChange,\n useHinge,\n useKeepAwake,\n useNativeState,\n usePreventScreenCapture,\n useReservedRegions,\n useReservedRegionsReady,\n useSizeClass,\n useSpanning,\n useWindowSegments\n};\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA,IAAI,OAAO,SAAS,OAAO,YAAYA,SAAcC;AACrD,IAAI,cAAc,SAAS,OAAO,YAAYC,gBAAqBC;AACnE,IAAI,QAAQ,SAAS,OAAO,QAAQ;CAClC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,GAAG;CAGEC;CAGGC;AACV,IAAIC"}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["AndroidMenu","IOSMenu","AndroidContextMenu","IOSContextMenu","MapWithControls","PickerWithChildren","UnsupportedSwift"],"sources":["esm/platform/index.native.js"],"sourcesContent":["import { Platform } from \"react-native\";\nimport { Swift as UnsupportedSwift } from \"./unsupported\";\nimport { Angle, Gradient, Path, Shading } from \"./canvas\";\nimport { Button, ControlGroup, DisclosureGroup, Divider, Form, Glass, GlassEffectContainer, GeometryReader, TimelineView, OutlineGroup, Table, Canvas, Group, GroupBox, ViewThatFits, HStack, LabeledContent, LazyHStack, LazyVStack, LazyHGrid, LazyVGrid, Grid, GridRow, Link, List, Overlay, ViewSlot, ScrollView, ScrollViewReader, Section, Slot, Spacer, SwipeActions, VStack, ZStack } from \"./Containers.native\";\nimport { ContextMenu as AndroidContextMenu, Menu as AndroidMenu } from \"./AndroidMenu\";\nimport { ContextMenu as IOSContextMenu, Menu as IOSMenu } from \"./Menu.native\";\nimport { Page, Pager } from \"./Pager.native\";\nimport { UIKitView } from \"./UIKitView.native\";\nimport { collectionCellSource, tableCellSource, UIKitContent } from \"./UIKitContent.native\";\nimport { Popover } from \"./Popover.native\";\nimport { NavigationStack, Toolbar, ToolbarItem, ToolbarItemGroup, ToolbarSpacer, DefaultToolbarItem } from \"./NavigationStack.native\";\nimport { NavigationSplitView } from \"./NavigationSplitView.native\";\nimport { FullScreenCover, Sheet } from \"./Sheet.native\";\nimport { ArrangementView } from \"./ArrangementView.native\";\nimport { withAnimation } from \"./withAnimation.native\";\nimport { KeyframeAnimator, PhaseAnimator } from \"./Animators.native\";\nimport { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from \"./keyframes\";\nimport * as Controls from \"./generated/Controls.native\";\nimport { Map as MapWithControls } from \"./mapControls.native\";\nimport { Picker as PickerWithChildren } from \"./pickerChildren.native\";\nimport { Tab, TabView, TabSection, TabViewBottomAccessory, TabViewSlot } from \"./TabView.native\";\nimport { Compose } from \"./compose\";\nimport * as UI from \"./effects\";\nimport { Widgets, LiveActivities, WidgetUI } from \"./widgets/index\";\nexport * from \"./extras\";\nimport { Storage } from \"./storage/index.native\";\nimport { KeepAwake, useKeepAwake } from \"./keep-awake/index\";\nimport { Print } from \"./print/index\";\nimport { StoreReview } from \"./store-review/index\";\nimport { QuickActions } from \"./quick-actions/index\";\nimport { useSizeClass, getSizeClass, useHinge, getHinge, onHingeChange, ReservedRegions, useReservedRegions, useReservedRegionsReady, useWindowSegments, useSpanning } from \"./adaptive/index.native\";\nimport { Notifications } from \"./notifications\";\nimport { useNativeState } from \"./nativeState\";\nimport { TextInput } from \"./universal/TextInput/index\";\nimport { Haptics } from \"./haptics/index.native\";\nimport { LaunchScreen } from \"./launchScreen/index.native\";\nimport { LocalAuthentication } from \"./local-authentication/index\";\nimport { ProtectedStore } from \"./protected-store/index\";\nimport { Location } from \"./location/index\";\nimport { FileSystem } from \"./file-system/index.native\";\nimport { Audio } from \"./audio/index\";\nimport { CameraView } from \"./camera/index.native\";\nimport { Share } from \"./share/index\";\nimport { Open } from \"./open/index.native\";\nimport { PhotoLibrary } from \"./photo-library/index\";\nimport { MapServices } from \"./map-services/index\";\nimport { AppTracking } from \"./app-tracking/index\";\nimport { AppIcon } from \"./app-icon/index\";\nimport { ScreenOrientation } from \"./screen-orientation/index\";\nimport { ScreenCapture, usePreventScreenCapture } from \"./screen-capture/index\";\nimport { Purchases } from \"./purchases/index\";\nimport { ImageManipulator } from \"./image-manipulator/index.native\";\nimport { Device } from \"./device/index\";\nimport { Motion } from \"./motion/index.native\";\nimport { BackgroundTasks } from \"./background-tasks/index\";\nimport { AppIntents } from \"./app-intents/index\";\nimport { DeviceAttestation } from \"./device-attestation/index\";\nimport { Contacts } from \"./contacts/index\";\nimport { Calendar } from \"./calendar/index\";\nimport { AppInfo } from \"./app-info/index.native\";\nimport { ImagePicker } from \"./image-picker/index.native\";\nimport { DocumentPicker } from \"./document-picker/index.native\";\nimport { Database } from \"./database/index.native\";\nimport { VNDocumentCameraViewController } from \"./vision-kit/index\";\nimport { MFMailComposeViewController, MFMessageComposeViewController } from \"./message-ui/index\";\nimport { DataScannerViewController } from \"./data-scanner/index\";\nimport { CNContactViewController, CNMutableContact, CNContactStore } from \"./contact-ui/index\";\nvar Menu = Platform.OS === \"android\" ? AndroidMenu : IOSMenu;\nvar ContextMenu = Platform.OS === \"android\" ? AndroidContextMenu : IOSContextMenu;\nvar Swift = Platform.OS === \"ios\" ? {\n ArrangementView,\n TabView,\n Tab,\n TabSection,\n TabViewBottomAccessory,\n TabViewSlot,\n Menu,\n ContextMenu,\n Sheet,\n FullScreenCover,\n Popover,\n HStack,\n VStack,\n ZStack,\n Form,\n Section,\n Glass,\n GlassEffectContainer,\n GeometryReader,\n TimelineView,\n OutlineGroup,\n Table,\n Canvas,\n Angle,\n Path,\n Shading,\n Gradient,\n LabeledContent,\n Button,\n List,\n ScrollView,\n ScrollViewReader,\n LazyVStack,\n LazyHStack,\n LazyVGrid,\n LazyHGrid,\n Grid,\n GridRow,\n ControlGroup,\n DisclosureGroup,\n Divider,\n UIKitView,\n UIKitContent,\n collectionCellSource,\n tableCellSource,\n Link,\n Group,\n GroupBox,\n ViewThatFits,\n Overlay,\n ViewSlot,\n SwipeActions,\n Pager,\n Page,\n NavigationStack,\n NavigationSplitView,\n Toolbar,\n ToolbarItem,\n ToolbarItemGroup,\n ToolbarSpacer,\n DefaultToolbarItem,\n Spacer,\n Slot,\n withAnimation,\n PhaseAnimator,\n KeyframeAnimator,\n KeyframeTrack,\n LinearKeyframe,\n SpringKeyframe,\n CubicKeyframe,\n MoveKeyframe,\n ...Controls,\n // the generated map takes no children; the wrapper validates and names\n // the map-controls slot while the native view composes it.\n Map: MapWithControls,\n // the generated picker takes no children; the wrapper validates the\n // tagged text options while the native view composes them.\n Picker: PickerWithChildren\n} : UnsupportedSwift;\nexport {\n AppIcon,\n AppInfo,\n AppIntents,\n AppTracking,\n Audio,\n BackgroundTasks,\n CNContactStore,\n CNContactViewController,\n CNMutableContact,\n Calendar,\n CameraView,\n Compose,\n Contacts,\n ContextMenu,\n DataScannerViewController,\n Database,\n Device,\n DeviceAttestation,\n DocumentPicker,\n FileSystem,\n Haptics,\n ImageManipulator,\n ImagePicker,\n KeepAwake,\n LaunchScreen,\n LiveActivities,\n LocalAuthentication,\n Location,\n MFMailComposeViewController,\n MFMessageComposeViewController,\n MapServices,\n Menu,\n Motion,\n Notifications,\n Open,\n PhotoLibrary,\n Print,\n ProtectedStore,\n Purchases,\n QuickActions,\n ReservedRegions,\n ScreenCapture,\n ScreenOrientation,\n Share,\n Storage,\n StoreReview,\n Swift,\n TextInput,\n UI,\n VNDocumentCameraViewController,\n WidgetUI,\n Widgets,\n getHinge,\n getSizeClass,\n onHingeChange,\n useHinge,\n useKeepAwake,\n useNativeState,\n usePreventScreenCapture,\n useReservedRegions,\n useReservedRegionsReady,\n useSizeClass,\n useSpanning,\n useWindowSegments\n};\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA,IAAI,OAAO,SAAS,OAAO,YAAYA,SAAcC;AACrD,IAAI,cAAc,SAAS,OAAO,YAAYC,gBAAqBC;AACnE,IAAI,QAAQ,SAAS,OAAO,QAAQ;CAClC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,GAAG;CAGEC;CAGGC;AACV,IAAIC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
2
|
+
let t = "OneNativeToolbarDefaultItem";
|
|
3
|
+
const i = {
|
|
4
|
+
uiViewClassName: "OneNativeToolbarDefaultItem",
|
|
5
|
+
validAttributes: {
|
|
6
|
+
kind: true,
|
|
7
|
+
placement: true
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var r = e.get(t, () => i);
|
|
11
|
+
export {
|
|
12
|
+
i as __INTERNAL_VIEW_CONFIG,
|
|
13
|
+
r as default
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=OneNativeToolbarDefaultItemNativeComponent.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/platform/specs/OneNativeToolbarDefaultItemNativeComponent.ts"],
|
|
4
|
+
"sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ViewProps } from 'react-native';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n kind: string;\n placement: string;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneNativeToolbarDefaultItem';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeToolbarDefaultItem\",\n validAttributes: {\n kind: true,\n placement: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
+
"mappings": "AAQA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;",
|
|
6
|
+
"names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneNativeToolbarDefaultItemNativeComponent_default"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
2
|
+
let t = "OneNativeToolbarDefaultItem";
|
|
3
|
+
const i = {
|
|
4
|
+
uiViewClassName: "OneNativeToolbarDefaultItem",
|
|
5
|
+
validAttributes: {
|
|
6
|
+
kind: true,
|
|
7
|
+
placement: true
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var r = e.get(t, () => i);
|
|
11
|
+
export {
|
|
12
|
+
i as __INTERNAL_VIEW_CONFIG,
|
|
13
|
+
r as default
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=OneNativeToolbarDefaultItemNativeComponent.native.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/platform/specs/OneNativeToolbarDefaultItemNativeComponent.ts"],
|
|
4
|
+
"sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ViewProps } from 'react-native';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n kind: string;\n placement: string;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneNativeToolbarDefaultItem';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeToolbarDefaultItem\",\n validAttributes: {\n kind: true,\n placement: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
+
"mappings": "AAQA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;",
|
|
6
|
+
"names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneNativeToolbarDefaultItemNativeComponent_default"]
|
|
7
|
+
}
|
|
@@ -201,6 +201,9 @@ function ToolbarItemGroup(_props) {
|
|
|
201
201
|
function ToolbarSpacer(_props) {
|
|
202
202
|
throw new Error("Swift.ToolbarSpacer requires an iOS native build");
|
|
203
203
|
}
|
|
204
|
+
function DefaultToolbarItem(_props) {
|
|
205
|
+
throw new Error("Swift.DefaultToolbarItem requires an iOS native build");
|
|
206
|
+
}
|
|
204
207
|
function MapWithControlsStub(_props) {
|
|
205
208
|
throw new Error("Swift.Map requires an iOS native build");
|
|
206
209
|
}
|
|
@@ -276,6 +279,7 @@ const Swift = {
|
|
|
276
279
|
ToolbarItem,
|
|
277
280
|
ToolbarItemGroup,
|
|
278
281
|
ToolbarSpacer,
|
|
282
|
+
DefaultToolbarItem,
|
|
279
283
|
PhaseAnimator,
|
|
280
284
|
KeyframeAnimator,
|
|
281
285
|
KeyframeTrack,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsupported.js","names":[],"sources":["esm/platform/unsupported.js"],"sourcesContent":["import { Angle, Gradient, Path, Shading } from \"./canvas\";\nimport { unsupportedControls } from \"./generated/unsupportedControls\";\nimport { ArrangementView } from \"./ArrangementView\";\nimport { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from \"./keyframes\";\nfunction TabView(_props) {\n throw new Error(\"Swift.TabView requires an iOS native build\");\n}\nfunction Tab(_props) {\n throw new Error(\"Swift.Tab requires an iOS native build\");\n}\nfunction TabSection(_props) {\n throw new Error(\"Swift.TabSection requires an iOS native build\");\n}\nfunction TabViewBottomAccessory(_props) {\n throw new Error(\"Swift.TabViewBottomAccessory requires an iOS native build\");\n}\nfunction TabViewSlot(_props) {\n throw new Error(\"Swift.TabViewSlot requires an iOS native build\");\n}\nfunction Menu(_props) {\n throw new Error(\"Swift.Menu requires an iOS native build\");\n}\nfunction ContextMenu(_props) {\n throw new Error(\n \"Swift.ContextMenu requires an iOS native build\"\n );\n}\nfunction Sheet(_props) {\n throw new Error(\"Swift.Sheet requires an iOS native build\");\n}\nfunction FullScreenCover(_props) {\n throw new Error(\n \"Swift.FullScreenCover requires an iOS native build\"\n );\n}\nfunction Popover(_props) {\n throw new Error(\"Swift.Popover requires an iOS native build\");\n}\nfunction HStack(_props) {\n throw new Error(\"Swift.HStack requires an iOS native build\");\n}\nfunction VStack(_props) {\n throw new Error(\"Swift.VStack requires an iOS native build\");\n}\nfunction ZStack(_props) {\n throw new Error(\"Swift.ZStack requires an iOS native build\");\n}\nfunction Spacer(_props) {\n throw new Error(\"Swift.Spacer requires an iOS native build\");\n}\nfunction Form(_props) {\n throw new Error(\"Swift.Form requires an iOS native build\");\n}\nfunction Section(_props) {\n throw new Error(\"Swift.Section requires an iOS native build\");\n}\nfunction LabeledContent(_props) {\n throw new Error(\n \"Swift.LabeledContent requires an iOS native build\"\n );\n}\nfunction GroupBox(_props) {\n throw new Error(\"Swift.GroupBox requires an iOS native build\");\n}\nfunction ViewThatFits(_props) {\n throw new Error(\"Swift.ViewThatFits requires an iOS native build\");\n}\nfunction Button(_props) {\n throw new Error(\"Swift.Button requires an iOS native build\");\n}\nfunction Glass(_props) {\n throw new Error(\"Swift.Glass requires an iOS native build\");\n}\nfunction GlassEffectContainer(_props) {\n throw new Error(\"Swift.GlassEffectContainer requires an iOS native build\");\n}\nfunction GeometryReader(_props) {\n throw new Error(\n \"Swift.GeometryReader requires an iOS native build\"\n );\n}\nfunction TimelineView(_props) {\n throw new Error(\"Swift.TimelineView requires an iOS native build\");\n}\nfunction OutlineGroup(_props) {\n throw new Error(\"Swift.OutlineGroup requires an iOS native build\");\n}\nfunction Table(_props) {\n throw new Error(\"Swift.Table requires an iOS native build\");\n}\nfunction Canvas(_props) {\n throw new Error(\"Swift.Canvas requires an iOS native build\");\n}\nfunction Slot(_props) {\n throw new Error(\"Swift.Slot requires an iOS native build\");\n}\nfunction List(_props) {\n throw new Error(\"Swift.List requires an iOS native build\");\n}\nfunction ScrollViewReader(_props) {\n throw new Error(\"Swift.ScrollViewReader requires an iOS native build\");\n}\nfunction ScrollView(_props) {\n throw new Error(\n \"Swift.ScrollView requires an iOS native build\"\n );\n}\nfunction LazyVStack(_props) {\n throw new Error(\n \"Swift.LazyVStack requires an iOS native build\"\n );\n}\nfunction LazyHStack(_props) {\n throw new Error(\n \"Swift.LazyHStack requires an iOS native build\"\n );\n}\nfunction LazyVGrid(_props) {\n throw new Error(\"Swift.LazyVGrid requires an iOS native build\");\n}\nfunction LazyHGrid(_props) {\n throw new Error(\"Swift.LazyHGrid requires an iOS native build\");\n}\nfunction Grid(_props) {\n throw new Error(\"Swift.Grid requires an iOS native build\");\n}\nfunction GridRow(_props) {\n throw new Error(\"Swift.GridRow requires an iOS native build\");\n}\nfunction ControlGroup(_props) {\n throw new Error(\n \"Swift.ControlGroup requires an iOS native build\"\n );\n}\nfunction DisclosureGroup(_props) {\n throw new Error(\n \"Swift.DisclosureGroup requires an iOS native build\"\n );\n}\nfunction Divider(_props) {\n throw new Error(\"Swift.Divider requires an iOS native build\");\n}\nfunction UIKitView(_props) {\n throw new Error(\"Swift.UIKitView requires an iOS native build\");\n}\nfunction UIKitContent(_props) {\n throw new Error(\"Swift.UIKitContent requires an iOS native build\");\n}\nfunction collectionCellSource(_view) {\n return Promise.reject(new Error(\"Swift.collectionCellSource requires an iOS native build\"));\n}\nfunction tableCellSource(_view) {\n return Promise.reject(new Error(\"Swift.tableCellSource requires an iOS native build\"));\n}\nfunction Link(_props) {\n throw new Error(\"Swift.Link requires an iOS native build\");\n}\nfunction Group(_props) {\n throw new Error(\"Swift.Group requires an iOS native build\");\n}\nfunction OverlayContent(_props) {\n throw new Error(\n \"Swift.Overlay.Content requires an iOS native build\"\n );\n}\nfunction OverlayFn(_props) {\n throw new Error(\"Swift.Overlay requires an iOS native build\");\n}\nconst Overlay = Object.assign(OverlayFn, { Content: OverlayContent });\nfunction ViewSlotFn(_props) {\n throw new Error(\"Swift.ViewSlot requires an iOS native build\");\n}\nconst ViewSlot = Object.assign(ViewSlotFn, { Content: OverlayContent });\nfunction SwipeActionsActions(_props) {\n throw new Error(\n \"Swift.SwipeActions.Actions requires an iOS native build\"\n );\n}\nfunction SwipeActionsFn(_props) {\n throw new Error(\n \"Swift.SwipeActions requires an iOS native build\"\n );\n}\nconst SwipeActions = Object.assign(SwipeActionsFn, { Actions: SwipeActionsActions });\nfunction Page(_props) {\n throw new Error(\"Swift.Page requires an iOS native build\");\n}\nfunction Pager(_props) {\n throw new Error(\"Swift.Pager requires an iOS native build\");\n}\nfunction NavigationStack(_props) {\n throw new Error(\n \"Swift.NavigationStack requires an iOS native build\"\n );\n}\nfunction NavigationSplitViewFn(_props) {\n throw new Error(\"Swift.NavigationSplitView requires an iOS native build\");\n}\nfunction NavigationSplitViewSidebar(_props) {\n throw new Error(\"Swift.NavigationSplitView.Sidebar requires an iOS native build\");\n}\nfunction NavigationSplitViewContent(_props) {\n throw new Error(\"Swift.NavigationSplitView.Content requires an iOS native build\");\n}\nfunction NavigationSplitViewDetail(_props) {\n throw new Error(\"Swift.NavigationSplitView.Detail requires an iOS native build\");\n}\nconst NavigationSplitView = Object.assign(NavigationSplitViewFn, {\n Sidebar: NavigationSplitViewSidebar,\n Content: NavigationSplitViewContent,\n Detail: NavigationSplitViewDetail\n});\nfunction ToolbarMarker(_props) {\n throw new Error(\"Swift.Toolbar requires an iOS native build\");\n}\nfunction ToolbarContent(_props) {\n throw new Error(\"Swift.Toolbar.Content requires an iOS native build\");\n}\nconst Toolbar = Object.assign(ToolbarMarker, { Content: ToolbarContent });\nfunction ToolbarItem(_props) {\n throw new Error(\n \"Swift.ToolbarItem requires an iOS native build\"\n );\n}\nfunction ToolbarItemGroup(_props) {\n throw new Error(\n \"Swift.ToolbarItemGroup requires an iOS native build\"\n );\n}\nfunction ToolbarSpacer(_props) {\n throw new Error(\n \"Swift.ToolbarSpacer requires an iOS native build\"\n );\n}\nfunction MapWithControlsStub(_props) {\n throw new Error(\"Swift.Map requires an iOS native build\");\n}\nfunction PickerWithChildrenStub(_props) {\n throw new Error(\"Swift.Picker requires an iOS native build\");\n}\nfunction PhaseAnimator(_props) {\n throw new Error(\"Swift.PhaseAnimator requires an iOS native build\");\n}\nfunction KeyframeAnimator(_props) {\n throw new Error(\"Swift.KeyframeAnimator requires an iOS native build\");\n}\nconst Swift = {\n ArrangementView,\n TabView,\n Tab,\n TabSection,\n TabViewBottomAccessory,\n TabViewSlot,\n Menu,\n ContextMenu,\n Sheet,\n FullScreenCover,\n Popover,\n HStack,\n VStack,\n ZStack,\n Form,\n Section,\n Glass,\n GlassEffectContainer,\n GeometryReader,\n TimelineView,\n OutlineGroup,\n Table,\n Canvas,\n Angle,\n Path,\n Shading,\n Gradient,\n LabeledContent,\n Button,\n Spacer,\n Slot,\n List,\n ScrollView,\n ScrollViewReader,\n LazyVStack,\n LazyHStack,\n LazyVGrid,\n LazyHGrid,\n Grid,\n GridRow,\n ControlGroup,\n DisclosureGroup,\n Divider,\n UIKitView,\n UIKitContent,\n collectionCellSource,\n tableCellSource,\n Link,\n Group,\n GroupBox,\n ViewThatFits,\n Overlay,\n ViewSlot,\n SwipeActions,\n Pager,\n Page,\n NavigationStack,\n NavigationSplitView,\n Toolbar,\n ToolbarItem,\n ToolbarItemGroup,\n ToolbarSpacer,\n PhaseAnimator,\n KeyframeAnimator,\n KeyframeTrack,\n LinearKeyframe,\n SpringKeyframe,\n CubicKeyframe,\n MoveKeyframe,\n withAnimation(_animation, _body, _completion, _completionCriteria) {\n throw new Error(\"Swift.withAnimation requires an iOS native build\");\n },\n ...unsupportedControls,\n Map: MapWithControlsStub,\n Picker: PickerWithChildrenStub\n};\nexport {\n Swift\n};\n//# sourceMappingURL=unsupported.js.map\n"],"mappings":";;;;;;AAIA,SAAS,QAAQ,QAAQ;CACvB,MAAM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,IAAI,QAAQ;CACnB,MAAM,IAAI,MAAM,wCAAwC;AAC1D;AACA,SAAS,WAAW,QAAQ;CAC1B,MAAM,IAAI,MAAM,+CAA+C;AACjE;AACA,SAAS,uBAAuB,QAAQ;CACtC,MAAM,IAAI,MAAM,2DAA2D;AAC7E;AACA,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MAAM,gDAAgD;AAClE;AACA,SAAS,KAAK,QAAQ;CACpB,MAAM,IAAI,MAAM,yCAAyC;AAC3D;AACA,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MACR,gDACF;AACF;AACA,SAAS,MAAM,QAAQ;CACrB,MAAM,IAAI,MAAM,0CAA0C;AAC5D;AACA,SAAS,gBAAgB,QAAQ;CAC/B,MA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,QAAQ;CAChC,MAAM,IAAI,MACR,qDACF;AACF;AACA,SAAS,cAAc,QAAQ;CAC7B,MAAM,IAAI,MACR,kDACF;AACF;AACA,SAAS,oBAAoB,QAAQ;CACnC,MAAM,IAAI,MAAM,wCAAwC;AAC1D;AACA,SAAS,uBAAuB,QAAQ;CACtC,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,cAAc,QAAQ;CAC7B,MAAM,IAAI,MAAM,kDAAkD;AACpE;AACA,SAAS,iBAAiB,QAAQ;CAChC,MAAM,IAAI,MAAM,qDAAqD;AACvE;AACA,MAAM,QAAQ;CACZ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,cAAc,YAAY,OAAO,aAAa,qBAAqB;EACjE,MAAM,IAAI,MAAM,kDAAkD;CACpE;CACA,GAAG;CACH,KAAK;CACL,QAAQ;AACV"}
|
|
1
|
+
{"version":3,"file":"unsupported.js","names":[],"sources":["esm/platform/unsupported.js"],"sourcesContent":["import { Angle, Gradient, Path, Shading } from \"./canvas\";\nimport { unsupportedControls } from \"./generated/unsupportedControls\";\nimport { ArrangementView } from \"./ArrangementView\";\nimport { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from \"./keyframes\";\nfunction TabView(_props) {\n throw new Error(\"Swift.TabView requires an iOS native build\");\n}\nfunction Tab(_props) {\n throw new Error(\"Swift.Tab requires an iOS native build\");\n}\nfunction TabSection(_props) {\n throw new Error(\"Swift.TabSection requires an iOS native build\");\n}\nfunction TabViewBottomAccessory(_props) {\n throw new Error(\"Swift.TabViewBottomAccessory requires an iOS native build\");\n}\nfunction TabViewSlot(_props) {\n throw new Error(\"Swift.TabViewSlot requires an iOS native build\");\n}\nfunction Menu(_props) {\n throw new Error(\"Swift.Menu requires an iOS native build\");\n}\nfunction ContextMenu(_props) {\n throw new Error(\n \"Swift.ContextMenu requires an iOS native build\"\n );\n}\nfunction Sheet(_props) {\n throw new Error(\"Swift.Sheet requires an iOS native build\");\n}\nfunction FullScreenCover(_props) {\n throw new Error(\n \"Swift.FullScreenCover requires an iOS native build\"\n );\n}\nfunction Popover(_props) {\n throw new Error(\"Swift.Popover requires an iOS native build\");\n}\nfunction HStack(_props) {\n throw new Error(\"Swift.HStack requires an iOS native build\");\n}\nfunction VStack(_props) {\n throw new Error(\"Swift.VStack requires an iOS native build\");\n}\nfunction ZStack(_props) {\n throw new Error(\"Swift.ZStack requires an iOS native build\");\n}\nfunction Spacer(_props) {\n throw new Error(\"Swift.Spacer requires an iOS native build\");\n}\nfunction Form(_props) {\n throw new Error(\"Swift.Form requires an iOS native build\");\n}\nfunction Section(_props) {\n throw new Error(\"Swift.Section requires an iOS native build\");\n}\nfunction LabeledContent(_props) {\n throw new Error(\n \"Swift.LabeledContent requires an iOS native build\"\n );\n}\nfunction GroupBox(_props) {\n throw new Error(\"Swift.GroupBox requires an iOS native build\");\n}\nfunction ViewThatFits(_props) {\n throw new Error(\"Swift.ViewThatFits requires an iOS native build\");\n}\nfunction Button(_props) {\n throw new Error(\"Swift.Button requires an iOS native build\");\n}\nfunction Glass(_props) {\n throw new Error(\"Swift.Glass requires an iOS native build\");\n}\nfunction GlassEffectContainer(_props) {\n throw new Error(\"Swift.GlassEffectContainer requires an iOS native build\");\n}\nfunction GeometryReader(_props) {\n throw new Error(\n \"Swift.GeometryReader requires an iOS native build\"\n );\n}\nfunction TimelineView(_props) {\n throw new Error(\"Swift.TimelineView requires an iOS native build\");\n}\nfunction OutlineGroup(_props) {\n throw new Error(\"Swift.OutlineGroup requires an iOS native build\");\n}\nfunction Table(_props) {\n throw new Error(\"Swift.Table requires an iOS native build\");\n}\nfunction Canvas(_props) {\n throw new Error(\"Swift.Canvas requires an iOS native build\");\n}\nfunction Slot(_props) {\n throw new Error(\"Swift.Slot requires an iOS native build\");\n}\nfunction List(_props) {\n throw new Error(\"Swift.List requires an iOS native build\");\n}\nfunction ScrollViewReader(_props) {\n throw new Error(\"Swift.ScrollViewReader requires an iOS native build\");\n}\nfunction ScrollView(_props) {\n throw new Error(\n \"Swift.ScrollView requires an iOS native build\"\n );\n}\nfunction LazyVStack(_props) {\n throw new Error(\n \"Swift.LazyVStack requires an iOS native build\"\n );\n}\nfunction LazyHStack(_props) {\n throw new Error(\n \"Swift.LazyHStack requires an iOS native build\"\n );\n}\nfunction LazyVGrid(_props) {\n throw new Error(\"Swift.LazyVGrid requires an iOS native build\");\n}\nfunction LazyHGrid(_props) {\n throw new Error(\"Swift.LazyHGrid requires an iOS native build\");\n}\nfunction Grid(_props) {\n throw new Error(\"Swift.Grid requires an iOS native build\");\n}\nfunction GridRow(_props) {\n throw new Error(\"Swift.GridRow requires an iOS native build\");\n}\nfunction ControlGroup(_props) {\n throw new Error(\n \"Swift.ControlGroup requires an iOS native build\"\n );\n}\nfunction DisclosureGroup(_props) {\n throw new Error(\n \"Swift.DisclosureGroup requires an iOS native build\"\n );\n}\nfunction Divider(_props) {\n throw new Error(\"Swift.Divider requires an iOS native build\");\n}\nfunction UIKitView(_props) {\n throw new Error(\"Swift.UIKitView requires an iOS native build\");\n}\nfunction UIKitContent(_props) {\n throw new Error(\"Swift.UIKitContent requires an iOS native build\");\n}\nfunction collectionCellSource(_view) {\n return Promise.reject(new Error(\"Swift.collectionCellSource requires an iOS native build\"));\n}\nfunction tableCellSource(_view) {\n return Promise.reject(new Error(\"Swift.tableCellSource requires an iOS native build\"));\n}\nfunction Link(_props) {\n throw new Error(\"Swift.Link requires an iOS native build\");\n}\nfunction Group(_props) {\n throw new Error(\"Swift.Group requires an iOS native build\");\n}\nfunction OverlayContent(_props) {\n throw new Error(\n \"Swift.Overlay.Content requires an iOS native build\"\n );\n}\nfunction OverlayFn(_props) {\n throw new Error(\"Swift.Overlay requires an iOS native build\");\n}\nconst Overlay = Object.assign(OverlayFn, { Content: OverlayContent });\nfunction ViewSlotFn(_props) {\n throw new Error(\"Swift.ViewSlot requires an iOS native build\");\n}\nconst ViewSlot = Object.assign(ViewSlotFn, { Content: OverlayContent });\nfunction SwipeActionsActions(_props) {\n throw new Error(\n \"Swift.SwipeActions.Actions requires an iOS native build\"\n );\n}\nfunction SwipeActionsFn(_props) {\n throw new Error(\n \"Swift.SwipeActions requires an iOS native build\"\n );\n}\nconst SwipeActions = Object.assign(SwipeActionsFn, { Actions: SwipeActionsActions });\nfunction Page(_props) {\n throw new Error(\"Swift.Page requires an iOS native build\");\n}\nfunction Pager(_props) {\n throw new Error(\"Swift.Pager requires an iOS native build\");\n}\nfunction NavigationStack(_props) {\n throw new Error(\n \"Swift.NavigationStack requires an iOS native build\"\n );\n}\nfunction NavigationSplitViewFn(_props) {\n throw new Error(\"Swift.NavigationSplitView requires an iOS native build\");\n}\nfunction NavigationSplitViewSidebar(_props) {\n throw new Error(\"Swift.NavigationSplitView.Sidebar requires an iOS native build\");\n}\nfunction NavigationSplitViewContent(_props) {\n throw new Error(\"Swift.NavigationSplitView.Content requires an iOS native build\");\n}\nfunction NavigationSplitViewDetail(_props) {\n throw new Error(\"Swift.NavigationSplitView.Detail requires an iOS native build\");\n}\nconst NavigationSplitView = Object.assign(NavigationSplitViewFn, {\n Sidebar: NavigationSplitViewSidebar,\n Content: NavigationSplitViewContent,\n Detail: NavigationSplitViewDetail\n});\nfunction ToolbarMarker(_props) {\n throw new Error(\"Swift.Toolbar requires an iOS native build\");\n}\nfunction ToolbarContent(_props) {\n throw new Error(\"Swift.Toolbar.Content requires an iOS native build\");\n}\nconst Toolbar = Object.assign(ToolbarMarker, { Content: ToolbarContent });\nfunction ToolbarItem(_props) {\n throw new Error(\n \"Swift.ToolbarItem requires an iOS native build\"\n );\n}\nfunction ToolbarItemGroup(_props) {\n throw new Error(\n \"Swift.ToolbarItemGroup requires an iOS native build\"\n );\n}\nfunction ToolbarSpacer(_props) {\n throw new Error(\n \"Swift.ToolbarSpacer requires an iOS native build\"\n );\n}\nfunction DefaultToolbarItem(_props) {\n throw new Error(\n \"Swift.DefaultToolbarItem requires an iOS native build\"\n );\n}\nfunction MapWithControlsStub(_props) {\n throw new Error(\"Swift.Map requires an iOS native build\");\n}\nfunction PickerWithChildrenStub(_props) {\n throw new Error(\"Swift.Picker requires an iOS native build\");\n}\nfunction PhaseAnimator(_props) {\n throw new Error(\"Swift.PhaseAnimator requires an iOS native build\");\n}\nfunction KeyframeAnimator(_props) {\n throw new Error(\"Swift.KeyframeAnimator requires an iOS native build\");\n}\nconst Swift = {\n ArrangementView,\n TabView,\n Tab,\n TabSection,\n TabViewBottomAccessory,\n TabViewSlot,\n Menu,\n ContextMenu,\n Sheet,\n FullScreenCover,\n Popover,\n HStack,\n VStack,\n ZStack,\n Form,\n Section,\n Glass,\n GlassEffectContainer,\n GeometryReader,\n TimelineView,\n OutlineGroup,\n Table,\n Canvas,\n Angle,\n Path,\n Shading,\n Gradient,\n LabeledContent,\n Button,\n Spacer,\n Slot,\n List,\n ScrollView,\n ScrollViewReader,\n LazyVStack,\n LazyHStack,\n LazyVGrid,\n LazyHGrid,\n Grid,\n GridRow,\n ControlGroup,\n DisclosureGroup,\n Divider,\n UIKitView,\n UIKitContent,\n collectionCellSource,\n tableCellSource,\n Link,\n Group,\n GroupBox,\n ViewThatFits,\n Overlay,\n ViewSlot,\n SwipeActions,\n Pager,\n Page,\n NavigationStack,\n NavigationSplitView,\n Toolbar,\n ToolbarItem,\n ToolbarItemGroup,\n ToolbarSpacer,\n DefaultToolbarItem,\n PhaseAnimator,\n KeyframeAnimator,\n KeyframeTrack,\n LinearKeyframe,\n SpringKeyframe,\n CubicKeyframe,\n MoveKeyframe,\n withAnimation(_animation, _body, _completion, _completionCriteria) {\n throw new Error(\"Swift.withAnimation requires an iOS native build\");\n },\n ...unsupportedControls,\n Map: MapWithControlsStub,\n Picker: PickerWithChildrenStub\n};\nexport {\n Swift\n};\n//# sourceMappingURL=unsupported.js.map\n"],"mappings":";;;;;;AAIA,SAAS,QAAQ,QAAQ;CACvB,MAAM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,IAAI,QAAQ;CACnB,MAAM,IAAI,MAAM,wCAAwC;AAC1D;AACA,SAAS,WAAW,QAAQ;CAC1B,MAAM,IAAI,MAAM,+CAA+C;AACjE;AACA,SAAS,uBAAuB,QAAQ;CACtC,MAAM,IAAI,MAAM,2DAA2D;AAC7E;AACA,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MAAM,gDAAgD;AAClE;AACA,SAAS,KAAK,QAAQ;CACpB,MAAM,IAAI,MAAM,yCAAyC;AAC3D;AACA,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MACR,gDACF;AACF;AACA,SAAS,MAAM,QAAQ;CACrB,MAAM,IAAI,MAAM,0CAA0C;AAC5D;AACA,SAAS,gBAAgB,QAAQ;CAC/B,MAAM,IAAI,MACR,oDACF;AACF;AACA,SAAS,QAAQ,QAAQ;CACvB,MAAM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,OAAO,QAAQ;CACtB,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,OAAO,QAAQ;CACtB,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,OAAO,QAAQ;CACtB,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,OAAO,QAAQ;CACtB,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,KAAK,QAAQ;CACpB,MAAM,IAAI,MAAM,yCAAyC;AAC3D;AACA,SAAS,QAAQ,QAAQ;CACvB,MAAM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,eAAe,QAAQ;C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CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,cAAc,YAAY,OAAO,aAAa,qBAAqB;EACjE,MAAM,IAAI,MAAM,kDAAkD;CACpE;CACA,GAAG;CACH,KAAK;CACL,QAAQ;AACV"}
|
|
@@ -201,6 +201,9 @@ function ToolbarItemGroup(_props) {
|
|
|
201
201
|
function ToolbarSpacer(_props) {
|
|
202
202
|
throw new Error("Swift.ToolbarSpacer requires an iOS native build");
|
|
203
203
|
}
|
|
204
|
+
function DefaultToolbarItem(_props) {
|
|
205
|
+
throw new Error("Swift.DefaultToolbarItem requires an iOS native build");
|
|
206
|
+
}
|
|
204
207
|
function MapWithControlsStub(_props) {
|
|
205
208
|
throw new Error("Swift.Map requires an iOS native build");
|
|
206
209
|
}
|
|
@@ -276,6 +279,7 @@ var Swift = {
|
|
|
276
279
|
ToolbarItem,
|
|
277
280
|
ToolbarItemGroup,
|
|
278
281
|
ToolbarSpacer,
|
|
282
|
+
DefaultToolbarItem,
|
|
279
283
|
PhaseAnimator,
|
|
280
284
|
KeyframeAnimator,
|
|
281
285
|
KeyframeTrack,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsupported.native.js","names":[],"sources":["esm/platform/unsupported.native.js"],"sourcesContent":["import { Angle, Gradient, Path, Shading } from \"./canvas\";\nimport { unsupportedControls } from \"./generated/unsupportedControls\";\nimport { ArrangementView } from \"./ArrangementView\";\nimport { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from \"./keyframes\";\nfunction TabView(_props) {\n throw new Error(\"Swift.TabView requires an iOS native build\");\n}\nfunction Tab(_props) {\n throw new Error(\"Swift.Tab requires an iOS native build\");\n}\nfunction TabSection(_props) {\n throw new Error(\"Swift.TabSection requires an iOS native build\");\n}\nfunction TabViewBottomAccessory(_props) {\n throw new Error(\"Swift.TabViewBottomAccessory requires an iOS native build\");\n}\nfunction TabViewSlot(_props) {\n throw new Error(\"Swift.TabViewSlot requires an iOS native build\");\n}\nfunction Menu(_props) {\n throw new Error(\"Swift.Menu requires an iOS native build\");\n}\nfunction ContextMenu(_props) {\n throw new Error(\"Swift.ContextMenu requires an iOS native build\");\n}\nfunction Sheet(_props) {\n throw new Error(\"Swift.Sheet requires an iOS native build\");\n}\nfunction FullScreenCover(_props) {\n throw new Error(\"Swift.FullScreenCover requires an iOS native build\");\n}\nfunction Popover(_props) {\n throw new Error(\"Swift.Popover requires an iOS native build\");\n}\nfunction HStack(_props) {\n throw new Error(\"Swift.HStack requires an iOS native build\");\n}\nfunction VStack(_props) {\n throw new Error(\"Swift.VStack requires an iOS native build\");\n}\nfunction ZStack(_props) {\n throw new Error(\"Swift.ZStack requires an iOS native build\");\n}\nfunction Spacer(_props) {\n throw new Error(\"Swift.Spacer requires an iOS native build\");\n}\nfunction Form(_props) {\n throw new Error(\"Swift.Form requires an iOS native build\");\n}\nfunction Section(_props) {\n throw new Error(\"Swift.Section requires an iOS native build\");\n}\nfunction LabeledContent(_props) {\n throw new Error(\"Swift.LabeledContent requires an iOS native build\");\n}\nfunction GroupBox(_props) {\n throw new Error(\"Swift.GroupBox requires an iOS native build\");\n}\nfunction ViewThatFits(_props) {\n throw new Error(\"Swift.ViewThatFits requires an iOS native build\");\n}\nfunction Button(_props) {\n throw new Error(\"Swift.Button requires an iOS native build\");\n}\nfunction Glass(_props) {\n throw new Error(\"Swift.Glass requires an iOS native build\");\n}\nfunction GlassEffectContainer(_props) {\n throw new Error(\"Swift.GlassEffectContainer requires an iOS native build\");\n}\nfunction GeometryReader(_props) {\n throw new Error(\"Swift.GeometryReader requires an iOS native build\");\n}\nfunction TimelineView(_props) {\n throw new Error(\"Swift.TimelineView requires an iOS native build\");\n}\nfunction OutlineGroup(_props) {\n throw new Error(\"Swift.OutlineGroup requires an iOS native build\");\n}\nfunction Table(_props) {\n throw new Error(\"Swift.Table requires an iOS native build\");\n}\nfunction Canvas(_props) {\n throw new Error(\"Swift.Canvas requires an iOS native build\");\n}\nfunction Slot(_props) {\n throw new Error(\"Swift.Slot requires an iOS native build\");\n}\nfunction List(_props) {\n throw new Error(\"Swift.List requires an iOS native build\");\n}\nfunction ScrollViewReader(_props) {\n throw new Error(\"Swift.ScrollViewReader requires an iOS native build\");\n}\nfunction ScrollView(_props) {\n throw new Error(\"Swift.ScrollView requires an iOS native build\");\n}\nfunction LazyVStack(_props) {\n throw new Error(\"Swift.LazyVStack requires an iOS native build\");\n}\nfunction LazyHStack(_props) {\n throw new Error(\"Swift.LazyHStack requires an iOS native build\");\n}\nfunction LazyVGrid(_props) {\n throw new Error(\"Swift.LazyVGrid requires an iOS native build\");\n}\nfunction LazyHGrid(_props) {\n throw new Error(\"Swift.LazyHGrid requires an iOS native build\");\n}\nfunction Grid(_props) {\n throw new Error(\"Swift.Grid requires an iOS native build\");\n}\nfunction GridRow(_props) {\n throw new Error(\"Swift.GridRow requires an iOS native build\");\n}\nfunction ControlGroup(_props) {\n throw new Error(\"Swift.ControlGroup requires an iOS native build\");\n}\nfunction DisclosureGroup(_props) {\n throw new Error(\"Swift.DisclosureGroup requires an iOS native build\");\n}\nfunction Divider(_props) {\n throw new Error(\"Swift.Divider requires an iOS native build\");\n}\nfunction UIKitView(_props) {\n throw new Error(\"Swift.UIKitView requires an iOS native build\");\n}\nfunction UIKitContent(_props) {\n throw new Error(\"Swift.UIKitContent requires an iOS native build\");\n}\nfunction collectionCellSource(_view) {\n return Promise.reject(new Error(\"Swift.collectionCellSource requires an iOS native build\"));\n}\nfunction tableCellSource(_view) {\n return Promise.reject(new Error(\"Swift.tableCellSource requires an iOS native build\"));\n}\nfunction Link(_props) {\n throw new Error(\"Swift.Link requires an iOS native build\");\n}\nfunction Group(_props) {\n throw new Error(\"Swift.Group requires an iOS native build\");\n}\nfunction OverlayContent(_props) {\n throw new Error(\"Swift.Overlay.Content requires an iOS native build\");\n}\nfunction OverlayFn(_props) {\n throw new Error(\"Swift.Overlay requires an iOS native build\");\n}\nvar Overlay = Object.assign(OverlayFn, {\n Content: OverlayContent\n});\nfunction ViewSlotFn(_props) {\n throw new Error(\"Swift.ViewSlot requires an iOS native build\");\n}\nvar ViewSlot = Object.assign(ViewSlotFn, {\n Content: OverlayContent\n});\nfunction SwipeActionsActions(_props) {\n throw new Error(\"Swift.SwipeActions.Actions requires an iOS native build\");\n}\nfunction SwipeActionsFn(_props) {\n throw new Error(\"Swift.SwipeActions requires an iOS native build\");\n}\nvar SwipeActions = Object.assign(SwipeActionsFn, {\n Actions: SwipeActionsActions\n});\nfunction Page(_props) {\n throw new Error(\"Swift.Page requires an iOS native build\");\n}\nfunction Pager(_props) {\n throw new Error(\"Swift.Pager requires an iOS native build\");\n}\nfunction NavigationStack(_props) {\n throw new Error(\"Swift.NavigationStack requires an iOS native build\");\n}\nfunction NavigationSplitViewFn(_props) {\n throw new Error(\"Swift.NavigationSplitView requires an iOS native build\");\n}\nfunction NavigationSplitViewSidebar(_props) {\n throw new Error(\"Swift.NavigationSplitView.Sidebar requires an iOS native build\");\n}\nfunction NavigationSplitViewContent(_props) {\n throw new Error(\"Swift.NavigationSplitView.Content requires an iOS native build\");\n}\nfunction NavigationSplitViewDetail(_props) {\n throw new Error(\"Swift.NavigationSplitView.Detail requires an iOS native build\");\n}\nvar NavigationSplitView = Object.assign(NavigationSplitViewFn, {\n Sidebar: NavigationSplitViewSidebar,\n Content: NavigationSplitViewContent,\n Detail: NavigationSplitViewDetail\n});\nfunction ToolbarMarker(_props) {\n throw new Error(\"Swift.Toolbar requires an iOS native build\");\n}\nfunction ToolbarContent(_props) {\n throw new Error(\"Swift.Toolbar.Content requires an iOS native build\");\n}\nvar Toolbar = Object.assign(ToolbarMarker, {\n Content: ToolbarContent\n});\nfunction ToolbarItem(_props) {\n throw new Error(\"Swift.ToolbarItem requires an iOS native build\");\n}\nfunction ToolbarItemGroup(_props) {\n throw new Error(\"Swift.ToolbarItemGroup requires an iOS native build\");\n}\nfunction ToolbarSpacer(_props) {\n throw new Error(\"Swift.ToolbarSpacer requires an iOS native build\");\n}\nfunction MapWithControlsStub(_props) {\n throw new Error(\"Swift.Map requires an iOS native build\");\n}\nfunction PickerWithChildrenStub(_props) {\n throw new Error(\"Swift.Picker requires an iOS native build\");\n}\nfunction PhaseAnimator(_props) {\n throw new Error(\"Swift.PhaseAnimator requires an iOS native build\");\n}\nfunction KeyframeAnimator(_props) {\n throw new Error(\"Swift.KeyframeAnimator requires an iOS native build\");\n}\nvar Swift = {\n ArrangementView,\n TabView,\n Tab,\n TabSection,\n TabViewBottomAccessory,\n TabViewSlot,\n Menu,\n ContextMenu,\n Sheet,\n FullScreenCover,\n Popover,\n HStack,\n VStack,\n ZStack,\n Form,\n Section,\n Glass,\n GlassEffectContainer,\n GeometryReader,\n TimelineView,\n OutlineGroup,\n Table,\n Canvas,\n Angle,\n Path,\n Shading,\n Gradient,\n LabeledContent,\n Button,\n Spacer,\n Slot,\n List,\n ScrollView,\n ScrollViewReader,\n LazyVStack,\n LazyHStack,\n LazyVGrid,\n LazyHGrid,\n Grid,\n GridRow,\n ControlGroup,\n DisclosureGroup,\n Divider,\n UIKitView,\n UIKitContent,\n collectionCellSource,\n tableCellSource,\n Link,\n Group,\n GroupBox,\n ViewThatFits,\n Overlay,\n ViewSlot,\n SwipeActions,\n Pager,\n Page,\n NavigationStack,\n NavigationSplitView,\n Toolbar,\n ToolbarItem,\n ToolbarItemGroup,\n ToolbarSpacer,\n PhaseAnimator,\n KeyframeAnimator,\n KeyframeTrack,\n LinearKeyframe,\n SpringKeyframe,\n CubicKeyframe,\n MoveKeyframe,\n withAnimation(_animation, _body, _completion, _completionCriteria) {\n throw new Error(\"Swift.withAnimation requires an iOS native build\");\n },\n ...unsupportedControls,\n Map: MapWithControlsStub,\n Picker: PickerWithChildrenStub\n};\nexport {\n Swift\n};\n//# sourceMappingURL=unsupported.js.map\n"],"mappings":";;;;;;AAIA,SAAS,QAAQ,QAAQ;CACvB,MAAM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,IAAI,QAAQ;CACnB,MAAM,IAAI,MAAM,wCAAwC;AAC1D;AACA,SAAS,WAAW,QAAQ;CAC1B,MAAM,IAAI,MAAM,+CAA+C;AACjE;AACA,SAAS,uBAAuB,QAAQ;CACtC,MAAM,IAAI,MAAM,2DAA2D;AAC7E;AACA,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MAAM,gDAAgD;AAClE;AACA,SAAS,KAAK,QAAQ;CACpB,MAAM,IAAI,MAAM,yCAAyC;AAC3D;AACA,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MAAM,gDAAgD;AAClE;AACA,SAAS,MAAM,QAAQ;CACrB,MAAM,IAAI,MAAM,0CAA0C;AAC5D;AACA,SAAS,gBAAgB,QAAQ;CAC/B,MAAM,IAAI,MAAM,oDAAoD;AACtE;AACA,SAAS,QAAQ,QAAQ;CACvB,MAAM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,OAAO,QAAQ;CACtB,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,OAAO,QAAQ;CACtB,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,OAAO,QAAQ;CACtB,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,OAAO,QAAQ;CACtB,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,KAAK,QAAQ;CACpB,MAAM,IAAI,MAAM,yCAAyC;AAC3D;AACA,SAAS,QAAQ,QAAQ;CACvB,MAAM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,eAAe,QAAQ;CAC9B,MAAM,IAAI,MAAM,mDAAmD;AACrE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ACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,cAAc,YAAY,OAAO,aAAa,qBAAqB;EACjE,MAAM,IAAI,MAAM,kDAAkD;CACpE;CACA,GAAG;CACH,KAAK;CACL,QAAQ;AACV"}
|
|
1
|
+
{"version":3,"file":"unsupported.native.js","names":[],"sources":["esm/platform/unsupported.native.js"],"sourcesContent":["import { Angle, Gradient, Path, Shading } from \"./canvas\";\nimport { unsupportedControls } from \"./generated/unsupportedControls\";\nimport { ArrangementView } from \"./ArrangementView\";\nimport { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from \"./keyframes\";\nfunction TabView(_props) {\n throw new Error(\"Swift.TabView requires an iOS native build\");\n}\nfunction Tab(_props) {\n throw new Error(\"Swift.Tab requires an iOS native build\");\n}\nfunction TabSection(_props) {\n throw new Error(\"Swift.TabSection requires an iOS native build\");\n}\nfunction TabViewBottomAccessory(_props) {\n throw new Error(\"Swift.TabViewBottomAccessory requires an iOS native build\");\n}\nfunction TabViewSlot(_props) {\n throw new Error(\"Swift.TabViewSlot requires an iOS native build\");\n}\nfunction Menu(_props) {\n throw new Error(\"Swift.Menu requires an iOS native build\");\n}\nfunction ContextMenu(_props) {\n throw new Error(\"Swift.ContextMenu requires an iOS native build\");\n}\nfunction Sheet(_props) {\n throw new Error(\"Swift.Sheet requires an iOS native build\");\n}\nfunction FullScreenCover(_props) {\n throw new Error(\"Swift.FullScreenCover requires an iOS native build\");\n}\nfunction Popover(_props) {\n throw new Error(\"Swift.Popover requires an iOS native build\");\n}\nfunction HStack(_props) {\n throw new Error(\"Swift.HStack requires an iOS native build\");\n}\nfunction VStack(_props) {\n throw new Error(\"Swift.VStack requires an iOS native build\");\n}\nfunction ZStack(_props) {\n throw new Error(\"Swift.ZStack requires an iOS native build\");\n}\nfunction Spacer(_props) {\n throw new Error(\"Swift.Spacer requires an iOS native build\");\n}\nfunction Form(_props) {\n throw new Error(\"Swift.Form requires an iOS native build\");\n}\nfunction Section(_props) {\n throw new Error(\"Swift.Section requires an iOS native build\");\n}\nfunction LabeledContent(_props) {\n throw new Error(\"Swift.LabeledContent requires an iOS native build\");\n}\nfunction GroupBox(_props) {\n throw new Error(\"Swift.GroupBox requires an iOS native build\");\n}\nfunction ViewThatFits(_props) {\n throw new Error(\"Swift.ViewThatFits requires an iOS native build\");\n}\nfunction Button(_props) {\n throw new Error(\"Swift.Button requires an iOS native build\");\n}\nfunction Glass(_props) {\n throw new Error(\"Swift.Glass requires an iOS native build\");\n}\nfunction GlassEffectContainer(_props) {\n throw new Error(\"Swift.GlassEffectContainer requires an iOS native build\");\n}\nfunction GeometryReader(_props) {\n throw new Error(\"Swift.GeometryReader requires an iOS native build\");\n}\nfunction TimelineView(_props) {\n throw new Error(\"Swift.TimelineView requires an iOS native build\");\n}\nfunction OutlineGroup(_props) {\n throw new Error(\"Swift.OutlineGroup requires an iOS native build\");\n}\nfunction Table(_props) {\n throw new Error(\"Swift.Table requires an iOS native build\");\n}\nfunction Canvas(_props) {\n throw new Error(\"Swift.Canvas requires an iOS native build\");\n}\nfunction Slot(_props) {\n throw new Error(\"Swift.Slot requires an iOS native build\");\n}\nfunction List(_props) {\n throw new Error(\"Swift.List requires an iOS native build\");\n}\nfunction ScrollViewReader(_props) {\n throw new Error(\"Swift.ScrollViewReader requires an iOS native build\");\n}\nfunction ScrollView(_props) {\n throw new Error(\"Swift.ScrollView requires an iOS native build\");\n}\nfunction LazyVStack(_props) {\n throw new Error(\"Swift.LazyVStack requires an iOS native build\");\n}\nfunction LazyHStack(_props) {\n throw new Error(\"Swift.LazyHStack requires an iOS native build\");\n}\nfunction LazyVGrid(_props) {\n throw new Error(\"Swift.LazyVGrid requires an iOS native build\");\n}\nfunction LazyHGrid(_props) {\n throw new Error(\"Swift.LazyHGrid requires an iOS native build\");\n}\nfunction Grid(_props) {\n throw new Error(\"Swift.Grid requires an iOS native build\");\n}\nfunction GridRow(_props) {\n throw new Error(\"Swift.GridRow requires an iOS native build\");\n}\nfunction ControlGroup(_props) {\n throw new Error(\"Swift.ControlGroup requires an iOS native build\");\n}\nfunction DisclosureGroup(_props) {\n throw new Error(\"Swift.DisclosureGroup requires an iOS native build\");\n}\nfunction Divider(_props) {\n throw new Error(\"Swift.Divider requires an iOS native build\");\n}\nfunction UIKitView(_props) {\n throw new Error(\"Swift.UIKitView requires an iOS native build\");\n}\nfunction UIKitContent(_props) {\n throw new Error(\"Swift.UIKitContent requires an iOS native build\");\n}\nfunction collectionCellSource(_view) {\n return Promise.reject(new Error(\"Swift.collectionCellSource requires an iOS native build\"));\n}\nfunction tableCellSource(_view) {\n return Promise.reject(new Error(\"Swift.tableCellSource requires an iOS native build\"));\n}\nfunction Link(_props) {\n throw new Error(\"Swift.Link requires an iOS native build\");\n}\nfunction Group(_props) {\n throw new Error(\"Swift.Group requires an iOS native build\");\n}\nfunction OverlayContent(_props) {\n throw new Error(\"Swift.Overlay.Content requires an iOS native build\");\n}\nfunction OverlayFn(_props) {\n throw new Error(\"Swift.Overlay requires an iOS native build\");\n}\nvar Overlay = Object.assign(OverlayFn, {\n Content: OverlayContent\n});\nfunction ViewSlotFn(_props) {\n throw new Error(\"Swift.ViewSlot requires an iOS native build\");\n}\nvar ViewSlot = Object.assign(ViewSlotFn, {\n Content: OverlayContent\n});\nfunction SwipeActionsActions(_props) {\n throw new Error(\"Swift.SwipeActions.Actions requires an iOS native build\");\n}\nfunction SwipeActionsFn(_props) {\n throw new Error(\"Swift.SwipeActions requires an iOS native build\");\n}\nvar SwipeActions = Object.assign(SwipeActionsFn, {\n Actions: SwipeActionsActions\n});\nfunction Page(_props) {\n throw new Error(\"Swift.Page requires an iOS native build\");\n}\nfunction Pager(_props) {\n throw new Error(\"Swift.Pager requires an iOS native build\");\n}\nfunction NavigationStack(_props) {\n throw new Error(\"Swift.NavigationStack requires an iOS native build\");\n}\nfunction NavigationSplitViewFn(_props) {\n throw new Error(\"Swift.NavigationSplitView requires an iOS native build\");\n}\nfunction NavigationSplitViewSidebar(_props) {\n throw new Error(\"Swift.NavigationSplitView.Sidebar requires an iOS native build\");\n}\nfunction NavigationSplitViewContent(_props) {\n throw new Error(\"Swift.NavigationSplitView.Content requires an iOS native build\");\n}\nfunction NavigationSplitViewDetail(_props) {\n throw new Error(\"Swift.NavigationSplitView.Detail requires an iOS native build\");\n}\nvar NavigationSplitView = Object.assign(NavigationSplitViewFn, {\n Sidebar: NavigationSplitViewSidebar,\n Content: NavigationSplitViewContent,\n Detail: NavigationSplitViewDetail\n});\nfunction ToolbarMarker(_props) {\n throw new Error(\"Swift.Toolbar requires an iOS native build\");\n}\nfunction ToolbarContent(_props) {\n throw new Error(\"Swift.Toolbar.Content requires an iOS native build\");\n}\nvar Toolbar = Object.assign(ToolbarMarker, {\n Content: ToolbarContent\n});\nfunction ToolbarItem(_props) {\n throw new Error(\"Swift.ToolbarItem requires an iOS native build\");\n}\nfunction ToolbarItemGroup(_props) {\n throw new Error(\"Swift.ToolbarItemGroup requires an iOS native build\");\n}\nfunction ToolbarSpacer(_props) {\n throw new Error(\"Swift.ToolbarSpacer requires an iOS native build\");\n}\nfunction DefaultToolbarItem(_props) {\n throw new Error(\"Swift.DefaultToolbarItem requires an iOS native build\");\n}\nfunction MapWithControlsStub(_props) {\n throw new Error(\"Swift.Map requires an iOS native build\");\n}\nfunction PickerWithChildrenStub(_props) {\n throw new Error(\"Swift.Picker requires an iOS native build\");\n}\nfunction PhaseAnimator(_props) {\n throw new Error(\"Swift.PhaseAnimator requires an iOS native build\");\n}\nfunction KeyframeAnimator(_props) {\n throw new Error(\"Swift.KeyframeAnimator requires an iOS native build\");\n}\nvar Swift = {\n ArrangementView,\n TabView,\n Tab,\n TabSection,\n TabViewBottomAccessory,\n TabViewSlot,\n Menu,\n ContextMenu,\n Sheet,\n FullScreenCover,\n Popover,\n HStack,\n VStack,\n ZStack,\n Form,\n Section,\n Glass,\n GlassEffectContainer,\n GeometryReader,\n TimelineView,\n OutlineGroup,\n Table,\n Canvas,\n Angle,\n Path,\n Shading,\n Gradient,\n LabeledContent,\n Button,\n Spacer,\n Slot,\n List,\n ScrollView,\n ScrollViewReader,\n LazyVStack,\n LazyHStack,\n LazyVGrid,\n LazyHGrid,\n Grid,\n GridRow,\n ControlGroup,\n DisclosureGroup,\n Divider,\n UIKitView,\n UIKitContent,\n collectionCellSource,\n tableCellSource,\n Link,\n Group,\n GroupBox,\n ViewThatFits,\n Overlay,\n ViewSlot,\n SwipeActions,\n Pager,\n Page,\n NavigationStack,\n NavigationSplitView,\n Toolbar,\n ToolbarItem,\n ToolbarItemGroup,\n ToolbarSpacer,\n DefaultToolbarItem,\n PhaseAnimator,\n KeyframeAnimator,\n KeyframeTrack,\n LinearKeyframe,\n SpringKeyframe,\n CubicKeyframe,\n MoveKeyframe,\n withAnimation(_animation, _body, _completion, _completionCriteria) {\n throw new Error(\"Swift.withAnimation requires an iOS native build\");\n },\n ...unsupportedControls,\n Map: MapWithControlsStub,\n Picker: PickerWithChildrenStub\n};\nexport {\n Swift\n};\n//# sourceMappingURL=unsupported.js.map\n"],"mappings":";;;;;;AAIA,SAAS,QAAQ,QAAQ;CACvB,MAAM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,IAAI,QAAQ;CACnB,MAAM,IAAI,MAAM,wCAAwC;AAC1D;AACA,SAAS,WAAW,QAAQ;CAC1B,MAAM,IAAI,MAAM,+CAA+C;AACjE;AACA,SAAS,uBAAuB,QAAQ;CACtC,MAAM,IAAI,MAAM,2DAA2D;AAC7E;AACA,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MAAM,gDAAgD;AAClE;AACA,SAAS,KAAK,QAAQ;CACpB,MAAM,IAAI,MAAM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AM,IAAI,MAAM,4CAA4C;AAC9D;AACA,SAAS,eAAe,QAAQ;CAC9B,MAAM,IAAI,MAAM,oDAAoD;AACtE;AACA,IAAI,UAAU,OAAO,OAAO,eAAe,EACzC,SAAS,eACX,CAAC;AACD,SAAS,YAAY,QAAQ;CAC3B,MAAM,IAAI,MAAM,gDAAgD;AAClE;AACA,SAAS,iBAAiB,QAAQ;CAChC,MAAM,IAAI,MAAM,qDAAqD;AACvE;AACA,SAAS,cAAc,QAAQ;CAC7B,MAAM,IAAI,MAAM,kDAAkD;AACpE;AACA,SAAS,mBAAmB,QAAQ;CAClC,MAAM,IAAI,MAAM,uDAAuD;AACzE;AACA,SAAS,oBAAoB,QAAQ;CACnC,MAAM,IAAI,MAAM,wCAAwC;AAC1D;AACA,SAAS,uBAAuB,QAAQ;CACtC,MAAM,IAAI,MAAM,2CAA2C;AAC7D;AACA,SAAS,cAAc,QAAQ;CAC7B,MAAM,IAAI,MAAM,kDAAkD;AACpE;AACA,SAAS,iBAAiB,QAAQ;CAChC,MAAM,IAAI,MAAM,qDAAqD;AACvE;AACA,IAAI,QAAQ;CACV;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,cAAc,YAAY,OAAO,aAAa,qBAAqB;EACjE,MAAM,IAAI,MAAM,kDAAkD;CACpE;CACA,GAAG;CACH,KAAK;CACL,QAAQ;AACV"}
|
|
@@ -155,7 +155,7 @@ using namespace facebook::react;
|
|
|
155
155
|
|
|
156
156
|
@end
|
|
157
157
|
|
|
158
|
-
// the
|
|
158
|
+
// the four markers are one Swift view configured by kind, so each component view only
|
|
159
159
|
// reads its own props into that shared shape.
|
|
160
160
|
@implementation OneNativeToolbarItemComponentView {
|
|
161
161
|
OneNativeToolbarMarkerView *_markerView;
|
|
@@ -188,7 +188,8 @@ using namespace facebook::react;
|
|
|
188
188
|
placement:RCTNSStringFromString(next.placement)
|
|
189
189
|
sizing:@"flexible"
|
|
190
190
|
label:@""
|
|
191
|
-
systemImage:@""
|
|
191
|
+
systemImage:@""
|
|
192
|
+
defaultItem:@""];
|
|
192
193
|
[_markerView configureStyle:OneNativeStyleDictionary(next.swiftStyle)];
|
|
193
194
|
[super updateProps:props oldProps:oldProps];
|
|
194
195
|
}
|
|
@@ -226,7 +227,8 @@ using namespace facebook::react;
|
|
|
226
227
|
placement:RCTNSStringFromString(next.placement)
|
|
227
228
|
sizing:@"flexible"
|
|
228
229
|
label:RCTNSStringFromString(next.label)
|
|
229
|
-
systemImage:RCTNSStringFromString(next.systemImage)
|
|
230
|
+
systemImage:RCTNSStringFromString(next.systemImage)
|
|
231
|
+
defaultItem:@""];
|
|
230
232
|
[_markerView configureStyle:OneNativeStyleDictionary(next.swiftStyle)];
|
|
231
233
|
[super updateProps:props oldProps:oldProps];
|
|
232
234
|
}
|
|
@@ -257,7 +259,39 @@ using namespace facebook::react;
|
|
|
257
259
|
placement:RCTNSStringFromString(next.placement)
|
|
258
260
|
sizing:RCTNSStringFromString(next.sizing)
|
|
259
261
|
label:@""
|
|
260
|
-
systemImage:@""
|
|
262
|
+
systemImage:@""
|
|
263
|
+
defaultItem:@""];
|
|
264
|
+
[super updateProps:props oldProps:oldProps];
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@end
|
|
268
|
+
|
|
269
|
+
@implementation OneNativeToolbarDefaultItemComponentView {
|
|
270
|
+
OneNativeToolbarMarkerView *_markerView;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
+ (ComponentDescriptorProvider)componentDescriptorProvider {
|
|
274
|
+
return concreteComponentDescriptorProvider<OneNativeToolbarDefaultItemComponentDescriptor>();
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
- (instancetype)initWithFrame:(CGRect)frame {
|
|
278
|
+
if (self = [super initWithFrame:frame]) {
|
|
279
|
+
_props = std::make_shared<const OneNativeToolbarDefaultItemProps>();
|
|
280
|
+
_markerView = [OneNativeToolbarMarkerView new];
|
|
281
|
+
self.container = _markerView;
|
|
282
|
+
self.contentView = _markerView;
|
|
283
|
+
}
|
|
284
|
+
return self;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
- (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &)oldProps {
|
|
288
|
+
const auto &next = *std::static_pointer_cast<const OneNativeToolbarDefaultItemProps>(props);
|
|
289
|
+
[_markerView configureWithKind:@"defaultItem"
|
|
290
|
+
placement:RCTNSStringFromString(next.placement)
|
|
291
|
+
sizing:@"flexible"
|
|
292
|
+
label:@""
|
|
293
|
+
systemImage:@""
|
|
294
|
+
defaultItem:RCTNSStringFromString(next.kind)];
|
|
261
295
|
[super updateProps:props oldProps:oldProps];
|
|
262
296
|
}
|
|
263
297
|
|