diff --git a/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyDisclosureGroupStyle+ParseableModifierValue.swift b/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyDisclosureGroupStyle+ParseableModifierValue.swift new file mode 100644 index 000000000..4d8d62469 --- /dev/null +++ b/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyDisclosureGroupStyle+ParseableModifierValue.swift @@ -0,0 +1,35 @@ +// +// AnyDisclosureGroupStyle+ParseableModifierValue.swift +// +// +// Created by Carson Katri on 6/20/24. +// + +#if os(iOS) || os(macOS) || os(visionOS) +import SwiftUI +import LiveViewNativeStylesheet + +/// See [`SwiftUI.DisclosureGroupStyle`](https://developer.apple.com/documentation/swiftui/DisclosureGroupStyle) for more details. +/// +/// Possible values: +/// - `.automatic` +@_documentation(visibility: public) +enum AnyDisclosureGroupStyle: String, CaseIterable, ParseableModifierValue, DisclosureGroupStyle { + typealias _ParserType = ImplicitStaticMember> + + case automatic + + func makeBody(configuration: Configuration) -> some View { + let disclosureGroup = SwiftUI.DisclosureGroup.init(isExpanded: configuration.$isExpanded) { + configuration.content + } label: { + configuration.label + } + + switch self { + case .automatic: + disclosureGroup.disclosureGroupStyle(.automatic) + } + } +} +#endif diff --git a/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyNavigationViewStyle+ParseableModifierValue.swift b/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyNavigationViewStyle+ParseableModifierValue.swift new file mode 100644 index 000000000..3b2837129 --- /dev/null +++ b/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyNavigationViewStyle+ParseableModifierValue.swift @@ -0,0 +1,24 @@ +// +// AnyNavigationViewStyle+ParseableModifierValue.swift +// +// +// Created by Carson Katri on 6/20/24. +// + +import SwiftUI +import LiveViewNativeStylesheet + +/// See [`SwiftUI.NavigationViewStyle`](https://developer.apple.com/documentation/swiftui/NavigationViewStyle) for more details. +/// +/// - Note: This type is deprecated and should no longer be used. +@_documentation(visibility: public) +enum AnyNavigationViewStyle: String, CaseIterable, ParseableModifierValue, NavigationViewStyle { + typealias _ParserType = ImplicitStaticMember> + + case __never + + @ViewBuilder + func _body(configuration: _NavigationViewStyleConfiguration) -> some View { + fatalError("This type is deprecated and should no longer be used.") + } +} diff --git a/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyTabViewStyle+ParseableModifierValue.swift b/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyTabViewStyle+ParseableModifierValue.swift index 3f63ae424..000ed5621 100644 --- a/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyTabViewStyle+ParseableModifierValue.swift +++ b/Sources/LiveViewNative/Stylesheets/ParseableTypes/Styles/AnyTabViewStyle+ParseableModifierValue.swift @@ -14,6 +14,7 @@ import LiveViewNativeStylesheet /// - `.automatic` /// - `.page` /// - `.verticalPage` +/// - `.sidebarAdaptable` /// /// ### Page Style /// Pass an ``SwiftUI/IndexDisplayMode`` to customize this style. @@ -39,6 +40,9 @@ enum AnyTabViewStyle: ParseableModifierValue { #if os(watchOS) case verticalPage(transitionStyle: Any?) #endif + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) + case sidebarAdaptable + #endif static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -64,6 +68,9 @@ enum AnyTabViewStyle: ParseableModifierValue { } }) #endif + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) + ConstantAtomLiteral("sidebarAdaptable").map({ Self.sidebarAdaptable }) + #endif } } } @@ -123,6 +130,14 @@ extension View { self } #endif + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) + case .sidebarAdaptable: + if #available(iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, *) { + self.tabViewStyle(.sidebarAdaptable) + } else { + self + } + #endif } } } diff --git a/Sources/LiveViewNative/Stylesheets/ParseableTypes/UITextAutocapitalizationType+ParseableModifierValue.swift b/Sources/LiveViewNative/Stylesheets/ParseableTypes/UITextAutocapitalizationType+ParseableModifierValue.swift new file mode 100644 index 000000000..a6bb0f00b --- /dev/null +++ b/Sources/LiveViewNative/Stylesheets/ParseableTypes/UITextAutocapitalizationType+ParseableModifierValue.swift @@ -0,0 +1,22 @@ +// +// UITextAutocapitalizationType+ParseableModifierValue.swift +// +// +// Created by Carson Katri on 6/20/24. +// + +#if os(iOS) || os(tvOS) || os(visionOS) +import SwiftUI +import LiveViewNativeStylesheet + +extension UITextAutocapitalizationType: ParseableModifierValue { + public static func parser(in context: ParseableModifierContext) -> some Parser { + ImplicitStaticMember([ + "none": Self.none, + "sentences": Self.sentences, + "words": Self.words, + "allCharacters": Self.allCharacters, + ]) + } +} +#endif diff --git a/Sources/LiveViewNative/Views/Layout Containers/Presentation Containers/TabView.swift b/Sources/LiveViewNative/Views/Layout Containers/Presentation Containers/TabView.swift index 0532139b8..05d60dea3 100644 --- a/Sources/LiveViewNative/Views/Layout Containers/Presentation Containers/TabView.swift +++ b/Sources/LiveViewNative/Views/Layout Containers/Presentation Containers/TabView.swift @@ -6,6 +6,10 @@ // import SwiftUI +import LiveViewNativeCore +import OSLog + +private let logger = Logger(subsystem: "LiveViewNative", category: "TabView") /// Container that presents content on separate pages. /// @@ -36,10 +40,162 @@ struct TabView: View { @LiveAttribute(.init(name: "phx-change")) var changeAttribute: String? var body: some View { - SwiftUI.TabView( - selection: (selectionAttribute != nil || changeAttribute != nil) ? $selection : nil - ) { - $liveElement.children() + if #available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *), + $liveElement.childNodes.contains(where: { + guard case let .element(element) = $0.data else { return false } + return element.tag == "Tab" + }) + { + if selectionAttribute != nil || changeAttribute != nil { + SwiftUI.TabView(selection: $selection) { + TabTreeBuilder().fromNodes($liveElement.childNodes, context: $liveElement.context.storage) + } + } else { + SwiftUI.TabView { + TabTreeBuilder().fromNodes($liveElement.childNodes, context: $liveElement.context.storage) + } + } + } else { + SwiftUI.TabView( + selection: (selectionAttribute != nil || changeAttribute != nil) ? $selection : nil + ) { + $liveElement.children() + } + } + } +} + +/// A builder for `TabContent`. +@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) +struct TabTreeBuilder { + func fromNodes(_ nodes: Nodes, context: LiveContextStorage) -> some TabContent + where Nodes: RandomAccessCollection, Nodes.Index == Int, Nodes.Element == Node + { + ForEach(nodes, id: \.id) { node in + fromNode(node, context: context) + } + } + + @TabContentBuilder + fileprivate func fromNode(_ node: Node, context: LiveContextStorage) -> some TabContent { + // ToolbarTreeBuilder.fromNode may not be called with a root or leaf node + if case .element(let element) = node.data { + Self.lookup(ElementNode(node: node, data: element)) + } + } + + @TabContentBuilder + static func lookup(_ node: ElementNode) -> some TabContent { + if node.tag == "Tab" { + Tab(element: node) + } else if node.tag == "TabSection" { + Tab(element: node) // todo + } + } +} + +@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) +struct Tab: TabContent { + @ObservedElement private var element: ElementNode + @LiveContext private var context + + init(element: ElementNode) { + self._element = .init(element: element) + } + + var body: some TabContent { + if TabValue.self == Never.self { + noValueTab + } else if TabValue.self == String?.self { + stringValueTab + } + } + + @TabContentBuilder + var noValueTab: some TabContent { + if let title, + let image + { + SwiftUI.Tab(title, image: image, role: role) { + content + } + .forceCast(as: TabValue.self) + } else if let title, + let systemImage + { + SwiftUI.Tab(title, systemImage: systemImage, role: role) { + content + } + .forceCast(as: TabValue.self) + } else { + SwiftUI.Tab(role: role) { + content + } label: { + label + } + .forceCast(as: TabValue.self) + } + } + + @TabContentBuilder + var stringValueTab: some TabContent { + let value = try? element.attributeValue(String.self, for: "value") + if let title, + let image + { + SwiftUI.Tab(title, image: image, value: value, role: role) { + content + } + .forceCast(as: TabValue.self) + } else if let title, + let systemImage + { + SwiftUI.Tab(title, systemImage: systemImage, value: value, role: role) { + content + } + .forceCast(as: TabValue.self) + } else { + SwiftUI.Tab(value: value, role: role) { + content + } label: { + label + } + .forceCast(as: TabValue.self) + } + } + + var title: String? { element.attributeValue(for: "title") } + var image: String? { element.attributeValue(for: "image") } + var systemImage: String? { element.attributeValue(for: "systemImage") } + var role: TabRole? { try? element.attributeValue(TabRole.self, for: "role") } + + var content: some View { + context.buildChildren(of: element, forTemplate: "content", includeDefaultSlot: true) + } + + var label: some View { + context.buildChildren(of: element, forTemplate: "label") + } +} + +@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) +extension SwiftUI.Tab { + func forceCast(as valueType: V.Type = V.self) -> SwiftUI.Tab { + self as! SwiftUI.Tab + } +} + +@available(iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0, *) +extension TabRole: AttributeDecodable { + public init(from attribute: Attribute?, on element: ElementNode) throws { + guard let value = attribute?.value + else { throw AttributeDecodingError.missingAttribute(Self.self) } + + switch value { + case "search": + self = .search + default: + throw AttributeDecodingError.badValue(Self.self) } } } diff --git a/Sources/LiveViewNative/_GeneratedModifiers.swift b/Sources/LiveViewNative/_GeneratedModifiers.swift index 096a842b3..876831753 100644 --- a/Sources/LiveViewNative/_GeneratedModifiers.swift +++ b/Sources/LiveViewNative/_GeneratedModifiers.swift @@ -4,6 +4,53 @@ import SwiftUI import Symbols import LiveViewNativeStylesheet +@_documentation(visibility: public) +@ParseableExpression +struct _accentColorModifier: ViewModifier { + static var name: String { "accentColor" } + + enum Value { + case _never + + indirect case _0(accentColor: Color.Resolvable?) + + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + + + init(_ accentColor: Color.Resolvable?) { + self.value = ._0(accentColor: accentColor) + + } + + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + + case let ._0(accentColor): + + + + __content + .accentColor(accentColor?.resolve(on: element, in: context)) + + + + + } + } +} @_documentation(visibility: public) @ParseableExpression struct _accessibilityActionModifier: ViewModifier { @@ -78,7 +125,7 @@ struct _accessibilityActionsModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 2.0,macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) + @available(tvOS 18.0,macOS 15.0,visionOS 2.0,iOS 18.0,watchOS 11.0, *) init(category: SwiftUI.AccessibilityActionCategory,content content: ViewReference=ViewReference(value: [])) { self.value = ._0(category: category, content: content) @@ -98,7 +145,7 @@ struct _accessibilityActionsModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(category, content): - if #available(visionOS 2.0,macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) { + if #available(tvOS 18.0,macOS 15.0,visionOS 2.0,iOS 18.0,watchOS 11.0, *) { let category = category as! SwiftUI.AccessibilityActionCategory let content = content as! ViewReference @@ -669,6 +716,9 @@ struct _animationModifier: ViewModifier { indirect case _0(animation: SwiftUICore.Animation?,value: AttributeReference) + + indirect case _1(animation: SwiftUICore.Animation?) + } let value: Value @@ -680,6 +730,8 @@ struct _animationModifier: ViewModifier { + + init(_ animation: SwiftUICore.Animation?,value: AttributeReference) { @@ -687,6 +739,13 @@ struct _animationModifier: ViewModifier { } + + + init(_ animation: SwiftUICore.Animation?) { + self.value = ._1(animation: animation) + + } + func body(content __content: Content) -> some View { switch value { @@ -703,6 +762,17 @@ struct _animationModifier: ViewModifier { + + case let ._1(animation): + + + + __content + .animation(animation) + + + + } } } @@ -773,6 +843,53 @@ struct _aspectRatioModifier: ViewModifier { + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _autocapitalizationModifier: ViewModifier { + static var name: String { "autocapitalization" } + + enum Value { + case _never + #if os(iOS) || os(tvOS) || os(visionOS) + indirect case _0(style: Any) + #endif + } + + let value: Value + + + + + + + + + #if os(iOS) || os(tvOS) || os(visionOS) + @available(iOS 16.0,visionOS 1.0,tvOS 16.0, *) + init(_ style: UIKit.UITextAutocapitalizationType) { + self.value = ._0(style: style) + + } + #endif + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + #if os(iOS) || os(tvOS) || os(visionOS) + case let ._0(style): + if #available(iOS 16.0,visionOS 1.0,tvOS 16.0, *) { + let style = style as! UIKit.UITextAutocapitalizationType + + __content + .autocapitalization(style) + + + } else { __content } + #endif } } } @@ -831,25 +948,28 @@ struct _backgroundModifier: ViewModifier { enum Value { case _never - indirect case _0(alignment: AttributeReference = .init(storage: .constant(.center)), content: ViewReference=ViewReference(value: [])) + indirect case _0(background: InlineViewReference,alignment: AttributeReference = .init(storage: .constant(.center)) ) - indirect case _1(edges: SwiftUICore.Edge.Set = .all ) + indirect case _1(alignment: AttributeReference = .init(storage: .constant(.center)), content: ViewReference=ViewReference(value: [])) - indirect case _2(style: AnyShapeStyle.Resolvable,edges: SwiftUICore.Edge.Set = .all ) + indirect case _2(edges: SwiftUICore.Edge.Set = .all ) + + indirect case _3(style: AnyShapeStyle.Resolvable,edges: SwiftUICore.Edge.Set = .all ) - indirect case _3(shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) + indirect case _4(shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) - indirect case _4(style: AnyShapeStyle.Resolvable,shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) + indirect case _5(style: AnyShapeStyle.Resolvable,shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) - indirect case _5(shape: AnyInsettableShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) + indirect case _6(shape: AnyInsettableShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) - indirect case _6(style: AnyShapeStyle.Resolvable,shape: AnyInsettableShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) + + indirect case _7(style: AnyShapeStyle.Resolvable,shape: AnyInsettableShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) } @@ -874,52 +994,61 @@ struct _backgroundModifier: ViewModifier { + + + + + init(_ background: InlineViewReference,alignment: AttributeReference = .init(storage: .constant(.center)) ) { + self.value = ._0(background: background, alignment: alignment) + + } + init(alignment: AttributeReference = .init(storage: .constant(.center)), content: ViewReference=ViewReference(value: [])) { - self.value = ._0(alignment: alignment, content: content) + self.value = ._1(alignment: alignment, content: content) } init(ignoresSafeAreaEdges edges: SwiftUICore.Edge.Set = .all ) { - self.value = ._1(edges: edges) + self.value = ._2(edges: edges) } init(_ style: AnyShapeStyle.Resolvable,ignoresSafeAreaEdges edges: SwiftUICore.Edge.Set = .all ) { - self.value = ._2(style: style, edges: edges) + self.value = ._3(style: style, edges: edges) } init(in shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) { - self.value = ._3(shape: shape, fillStyle: fillStyle) + self.value = ._4(shape: shape, fillStyle: fillStyle) } init(_ style: AnyShapeStyle.Resolvable,in shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) { - self.value = ._4(style: style, shape: shape, fillStyle: fillStyle) + self.value = ._5(style: style, shape: shape, fillStyle: fillStyle) } init(in shape: AnyInsettableShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) { - self.value = ._5(shape: shape, fillStyle: fillStyle) + self.value = ._6(shape: shape, fillStyle: fillStyle) } init(_ style: AnyShapeStyle.Resolvable,in shape: AnyInsettableShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) { - self.value = ._6(style: style, shape: shape, fillStyle: fillStyle) + self.value = ._7(style: style, shape: shape, fillStyle: fillStyle) } @@ -929,7 +1058,18 @@ struct _backgroundModifier: ViewModifier { case ._never: fatalError("unreachable") - case let ._0(alignment, content): + case let ._0(background, alignment): + + + + __content + .background(background.resolve(on: element, in: context), alignment: alignment.resolve(on: element, in: context)) + + + + + + case let ._1(alignment, content): @@ -940,7 +1080,7 @@ struct _backgroundModifier: ViewModifier { - case let ._1(edges): + case let ._2(edges): @@ -951,7 +1091,7 @@ struct _backgroundModifier: ViewModifier { - case let ._2(style, edges): + case let ._3(style, edges): @@ -962,7 +1102,7 @@ struct _backgroundModifier: ViewModifier { - case let ._3(shape, fillStyle): + case let ._4(shape, fillStyle): @@ -973,7 +1113,7 @@ struct _backgroundModifier: ViewModifier { - case let ._4(style, shape, fillStyle): + case let ._5(style, shape, fillStyle): @@ -984,7 +1124,7 @@ struct _backgroundModifier: ViewModifier { - case let ._5(shape, fillStyle): + case let ._6(shape, fillStyle): @@ -995,7 +1135,7 @@ struct _backgroundModifier: ViewModifier { - case let ._6(style, shape, fillStyle): + case let ._7(style, shape, fillStyle): @@ -1092,28 +1232,28 @@ struct _badgeModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 12.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 12.0, *) init(_ count: AttributeReference) { self.value = ._0(count: count) } #endif #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 12.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 12.0, *) init(_ label: TextReference?) { self.value = ._1(label: label) } #endif #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 12.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 12.0, *) init(_ key: SwiftUICore.LocalizedStringKey?) { self.value = ._2(key: key) } #endif #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 12.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 12.0, *) init(_ label: AttributeReference) { self.value = ._3(label: label) @@ -1126,7 +1266,7 @@ struct _badgeModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(count): - if #available(macOS 12.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 12.0, *) { let count = count as! AttributeReference __content @@ -1137,7 +1277,7 @@ struct _badgeModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(visionOS) case let ._1(label): - if #available(macOS 12.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 12.0, *) { let label = label as? TextReference __content._observeTextReference(label, on: element, in: context) { __content in __content @@ -1148,7 +1288,7 @@ struct _badgeModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(visionOS) case let ._2(key): - if #available(macOS 12.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 12.0, *) { let key = key as? SwiftUICore.LocalizedStringKey __content @@ -1159,7 +1299,7 @@ struct _badgeModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(visionOS) case let ._3(label): - if #available(macOS 12.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 12.0, *) { let label = label as! AttributeReference __content @@ -1193,7 +1333,7 @@ struct _badgeProminenceModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 14.0,iOS 17.0,visionOS 1.0, *) + @available(visionOS 1.0,iOS 17.0,macOS 14.0, *) init(_ prominence: SwiftUI.BadgeProminence) { self.value = ._0(prominence: prominence) @@ -1206,7 +1346,7 @@ struct _badgeProminenceModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(prominence): - if #available(macOS 14.0,iOS 17.0,visionOS 1.0, *) { + if #available(visionOS 1.0,iOS 17.0,macOS 14.0, *) { let prominence = prominence as! SwiftUI.BadgeProminence __content @@ -1708,6 +1848,53 @@ struct _colorMultiplyModifier: ViewModifier { + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _colorSchemeModifier: ViewModifier { + static var name: String { "colorScheme" } + + enum Value { + case _never + + indirect case _0(colorScheme: AttributeReference) + + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + + + init(_ colorScheme: AttributeReference) { + self.value = ._0(colorScheme: colorScheme) + + } + + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + + case let ._0(colorScheme): + + + + __content + .colorScheme(colorScheme.resolve(on: element, in: context)) + + + + } } } @@ -1947,14 +2134,14 @@ struct _containerRelativeFrameModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,tvOS 17.0,iOS 17.0,macOS 14.0,watchOS 10.0, *) + @available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) init(_ axes: SwiftUICore.Axis.Set,alignment: AttributeReference = .init(storage: .constant(.center)) ) { self.value = ._0(axes: axes, alignment: alignment) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,tvOS 17.0,iOS 17.0,macOS 14.0,watchOS 10.0, *) + @available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) init(_ axes: SwiftUICore.Axis.Set,count: AttributeReference,span: AttributeReference = .init(storage: .constant(1)), spacing: AttributeReference,alignment: AttributeReference = .init(storage: .constant(.center)) ) { self.value = ._1(axes: axes, count: count, span: span, spacing: spacing, alignment: alignment) @@ -1967,7 +2154,7 @@ struct _containerRelativeFrameModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(axes, alignment): - if #available(visionOS 1.0,tvOS 17.0,iOS 17.0,macOS 14.0,watchOS 10.0, *) { + if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) { let axes = axes as! SwiftUICore.Axis.Set let alignment = alignment as! AttributeReference @@ -1979,7 +2166,7 @@ let alignment = alignment as! AttributeReference #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(axes, count, span, spacing, alignment): - if #available(visionOS 1.0,tvOS 17.0,iOS 17.0,macOS 14.0,watchOS 10.0, *) { + if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) { let axes = axes as! SwiftUICore.Axis.Set let count = count as! AttributeReference let span = span as! AttributeReference @@ -2074,21 +2261,21 @@ struct _contentMarginsModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) + @available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) init(_ edges: SwiftUICore.Edge.Set = .all, _ insets: SwiftUICore.EdgeInsets,for placement: SwiftUI.ContentMarginPlacement = .automatic ) { self.value = ._0(edges: edges, insets: insets, placement: placement) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) + @available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) init(_ edges: SwiftUICore.Edge.Set = .all, _ length: AttributeReference?,for placement: SwiftUI.ContentMarginPlacement = .automatic ) { self.value = ._1(edges: edges, length: length, placement: placement) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) + @available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) init(_ length: AttributeReference,for placement: SwiftUI.ContentMarginPlacement = .automatic ) { self.value = ._2(length: length, placement: placement) @@ -2101,7 +2288,7 @@ struct _contentMarginsModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(edges, insets, placement): - if #available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) { + if #available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) { let edges = edges as! SwiftUICore.Edge.Set let insets = insets as! SwiftUICore.EdgeInsets let placement = placement as! SwiftUI.ContentMarginPlacement @@ -2114,7 +2301,7 @@ let placement = placement as! SwiftUI.ContentMarginPlacement #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(edges, length, placement): - if #available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) { + if #available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) { let edges = edges as! SwiftUICore.Edge.Set let length = length as? AttributeReference let placement = placement as! SwiftUI.ContentMarginPlacement @@ -2127,7 +2314,7 @@ let placement = placement as! SwiftUI.ContentMarginPlacement #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._2(length, placement): - if #available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) { + if #available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) { let length = length as! AttributeReference let placement = placement as! SwiftUI.ContentMarginPlacement @@ -2291,7 +2478,7 @@ struct _contextMenuModifier: ViewModifier { } #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) - @available(macOS 13.0,tvOS 16.0,iOS 16.0,visionOS 1.0, *) + @available(iOS 16.0,macOS 13.0,tvOS 16.0,visionOS 1.0, *) init(menuItems: ViewReference=ViewReference(value: []),preview: ViewReference=ViewReference(value: [])) { self.value = ._1(menuItems: menuItems, preview: preview) @@ -2315,7 +2502,7 @@ struct _contextMenuModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) case let ._1(menuItems, preview): - if #available(macOS 13.0,tvOS 16.0,iOS 16.0,visionOS 1.0, *) { + if #available(iOS 16.0,macOS 13.0,tvOS 16.0,visionOS 1.0, *) { let menuItems = menuItems as! ViewReference let preview = preview as! ViewReference @@ -2397,7 +2584,7 @@ struct _controlGroupStyleModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) - @available(macOS 12.0,iOS 15.0,tvOS 17.0,visionOS 1.0, *) + @available(iOS 15.0,macOS 12.0,tvOS 17.0,visionOS 1.0, *) init(_ style: AnyControlGroupStyle) { self.value = ._0(style: style) @@ -2410,7 +2597,7 @@ struct _controlGroupStyleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) case let ._0(style): - if #available(macOS 12.0,iOS 15.0,tvOS 17.0,visionOS 1.0, *) { + if #available(iOS 15.0,macOS 12.0,tvOS 17.0,visionOS 1.0, *) { let style = style as! AnyControlGroupStyle __content @@ -2444,7 +2631,7 @@ struct _controlSizeModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) - @available(macOS 10.15,iOS 15.0,watchOS 9.0,visionOS 1.0, *) + @available(visionOS 1.0,watchOS 9.0,macOS 10.15,iOS 15.0, *) init(_ controlSize: SwiftUICore.ControlSize) { self.value = ._0(controlSize: controlSize) @@ -2457,7 +2644,7 @@ struct _controlSizeModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) case let ._0(controlSize): - if #available(macOS 10.15,iOS 15.0,watchOS 9.0,visionOS 1.0, *) { + if #available(visionOS 1.0,watchOS 9.0,macOS 10.15,iOS 15.0, *) { let controlSize = controlSize as! SwiftUICore.ControlSize __content @@ -2476,24 +2663,36 @@ struct _coordinateSpaceModifier: ViewModifier { enum Value { case _never + + indirect case _0(name: AttributeReference) + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - indirect case _0(name: Any) + indirect case _1(name: Any) #endif } let value: Value + @ObservedElement private var element + @LiveContext private var context - - + + + + + init(name: AttributeReference) { + self.value = ._0(name: name) + + } + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,tvOS 17.0,iOS 17.0,macOS 14.0,watchOS 10.0, *) + @available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) init(_ name: SwiftUICore.NamedCoordinateSpace) { - self.value = ._0(name: name) + self.value = ._1(name: name) } #endif @@ -2502,9 +2701,20 @@ struct _coordinateSpaceModifier: ViewModifier { switch value { case ._never: fatalError("unreachable") - #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) + case let ._0(name): - if #available(visionOS 1.0,tvOS 17.0,iOS 17.0,macOS 14.0,watchOS 10.0, *) { + + + + __content + .coordinateSpace(name: name.resolve(on: element, in: context)) + + + + + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) + case let ._1(name): + if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) { let name = name as! SwiftUICore.NamedCoordinateSpace __content @@ -2513,6 +2723,53 @@ struct _coordinateSpaceModifier: ViewModifier { } else { __content } #endif + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _cornerRadiusModifier: ViewModifier { + static var name: String { "cornerRadius" } + + enum Value { + case _never + + indirect case _0(radius: AttributeReference,antialiased: AttributeReference = .init(storage: .constant(true)) ) + + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + + + init(_ radius: AttributeReference,antialiased: AttributeReference = .init(storage: .constant(true)) ) { + self.value = ._0(radius: radius, antialiased: antialiased) + + } + + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + + case let ._0(radius, antialiased): + + + + __content + .cornerRadius(radius.resolve(on: element, in: context), antialiased: antialiased.resolve(on: element, in: context)) + + + + } } } @@ -2538,7 +2795,7 @@ struct _datePickerStyleModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 10.15,watchOS 10.0,iOS 13.0, *) + @available(visionOS 1.0,watchOS 10.0,iOS 13.0,macOS 10.15, *) init(_ style: AnyDatePickerStyle) { self.value = ._0(style: style) @@ -2551,7 +2808,7 @@ struct _datePickerStyleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) case let ._0(style): - if #available(visionOS 1.0,macOS 10.15,watchOS 10.0,iOS 13.0, *) { + if #available(visionOS 1.0,watchOS 10.0,iOS 13.0,macOS 10.15, *) { let style = style as! AnyDatePickerStyle __content @@ -2632,7 +2889,7 @@ struct _defaultHoverEffectModifier: ViewModifier { #if os(iOS) || os(tvOS) || os(visionOS) - @available(visionOS 1.0,tvOS 17.0,iOS 17.0, *) + @available(iOS 17.0,visionOS 1.0,tvOS 17.0, *) init(_ effect: SwiftUI.HoverEffect?) { self.value = ._0(effect: effect) @@ -2645,7 +2902,7 @@ struct _defaultHoverEffectModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(tvOS) || os(visionOS) case let ._0(effect): - if #available(visionOS 1.0,tvOS 17.0,iOS 17.0, *) { + if #available(iOS 17.0,visionOS 1.0,tvOS 17.0, *) { let effect = effect as? SwiftUI.HoverEffect __content @@ -2684,14 +2941,14 @@ struct _defaultScrollAnchorModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) + @available(tvOS 17.0,watchOS 10.0,iOS 17.0,visionOS 1.0,macOS 14.0, *) init(_ anchor: AttributeReference?) { self.value = ._0(anchor: anchor) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 2.0,macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) + @available(tvOS 18.0,watchOS 11.0,iOS 18.0,visionOS 2.0,macOS 15.0, *) init(_ anchor: AttributeReference?,for role: SwiftUI.ScrollAnchorRole) { self.value = ._1(anchor: anchor, role: role) @@ -2704,7 +2961,7 @@ struct _defaultScrollAnchorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(anchor): - if #available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) { + if #available(tvOS 17.0,watchOS 10.0,iOS 17.0,visionOS 1.0,macOS 14.0, *) { let anchor = anchor as? AttributeReference __content @@ -2715,7 +2972,7 @@ struct _defaultScrollAnchorModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(anchor, role): - if #available(visionOS 2.0,macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) { + if #available(tvOS 18.0,watchOS 11.0,iOS 18.0,visionOS 2.0,macOS 15.0, *) { let anchor = anchor as? AttributeReference let role = role as! SwiftUI.ScrollAnchorRole @@ -2750,7 +3007,7 @@ struct _defaultWheelPickerItemHeightModifier: ViewModifier { #if os(visionOS) || os(watchOS) - @available(watchOS 6.0,visionOS 1.0, *) + @available(visionOS 1.0,watchOS 6.0, *) init(_ height: AttributeReference) { self.value = ._0(height: height) @@ -2763,7 +3020,7 @@ struct _defaultWheelPickerItemHeightModifier: ViewModifier { fatalError("unreachable") #if os(visionOS) || os(watchOS) case let ._0(height): - if #available(watchOS 6.0,visionOS 1.0, *) { + if #available(visionOS 1.0,watchOS 6.0, *) { let height = height as! AttributeReference __content @@ -2906,28 +3163,28 @@ struct _dialogSuppressionToggleModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ titleKey: SwiftUICore.LocalizedStringKey,isSuppressed: ChangeTracked) { self.value = ._0(titleKey: titleKey) self.__0_isSuppressed = isSuppressed } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ title: AttributeReference,isSuppressed: ChangeTracked) { self.value = ._1(title: title) self.__1_isSuppressed = isSuppressed } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ label: TextReference,isSuppressed: ChangeTracked) { self.value = ._2(label: label) self.__2_isSuppressed = isSuppressed } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(isSuppressed: ChangeTracked) { self.value = ._3 self.__3_isSuppressed = isSuppressed @@ -2940,7 +3197,7 @@ struct _dialogSuppressionToggleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(titleKey): - if #available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let titleKey = titleKey as! SwiftUICore.LocalizedStringKey __content @@ -2951,7 +3208,7 @@ struct _dialogSuppressionToggleModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(title): - if #available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let title = title as! AttributeReference __content @@ -2962,7 +3219,7 @@ struct _dialogSuppressionToggleModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._2(label): - if #available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let label = label as! TextReference __content._observeTextReference(label, on: element, in: context) { __content in __content @@ -2973,7 +3230,7 @@ struct _dialogSuppressionToggleModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case ._3: - if #available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { __content @@ -3057,13 +3314,13 @@ struct _digitalCrownAccessoryModifier: ViewModifier { } @_documentation(visibility: public) @ParseableExpression -struct _disabledModifier: ViewModifier { - static var name: String { "disabled" } +struct _disableAutocorrectionModifier: ViewModifier { + static var name: String { "disableAutocorrection" } enum Value { case _never - indirect case _0(disabled: AttributeReference) + indirect case _0(disable: AttributeReference?) } @@ -3078,8 +3335,8 @@ struct _disabledModifier: ViewModifier { - init(_ disabled: AttributeReference) { - self.value = ._0(disabled: disabled) + init(_ disable: AttributeReference?) { + self.value = ._0(disable: disable) } @@ -3089,12 +3346,12 @@ struct _disabledModifier: ViewModifier { case ._never: fatalError("unreachable") - case let ._0(disabled): + case let ._0(disable): __content - .disabled(disabled.resolve(on: element, in: context)) + .disableAutocorrection(disable?.resolve(on: element, in: context)) @@ -3104,17 +3361,111 @@ struct _disabledModifier: ViewModifier { } @_documentation(visibility: public) @ParseableExpression -struct _dismissalConfirmationDialogModifier: ViewModifier { - static var name: String { "dismissalConfirmationDialog" } +struct _disabledModifier: ViewModifier { + static var name: String { "disabled" } enum Value { case _never - #if os(macOS) - indirect case _0(titleKey: Any,shouldPresent: Any,actions: Any) - #endif - #if os(macOS) - indirect case _1(title: Any,shouldPresent: Any,actions: Any) - #endif + + indirect case _0(disabled: AttributeReference) + + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + + + init(_ disabled: AttributeReference) { + self.value = ._0(disabled: disabled) + + } + + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + + case let ._0(disabled): + + + + __content + .disabled(disabled.resolve(on: element, in: context)) + + + + + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _disclosureGroupStyleModifier: ViewModifier { + static var name: String { "disclosureGroupStyle" } + + enum Value { + case _never + #if os(iOS) || os(macOS) || os(visionOS) + indirect case _0(style: Any) + #endif + } + + let value: Value + + + + + + + + + #if os(iOS) || os(macOS) || os(visionOS) + @available(iOS 16.0,macOS 13.0,visionOS 1.0, *) + init(_ style: AnyDisclosureGroupStyle) { + self.value = ._0(style: style) + + } + #endif + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + #if os(iOS) || os(macOS) || os(visionOS) + case let ._0(style): + if #available(iOS 16.0,macOS 13.0,visionOS 1.0, *) { + let style = style as! AnyDisclosureGroupStyle + + __content + .disclosureGroupStyle(style) + + + } else { __content } + #endif + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _dismissalConfirmationDialogModifier: ViewModifier { + static var name: String { "dismissalConfirmationDialog" } + + enum Value { + case _never + #if os(macOS) + indirect case _0(titleKey: Any,shouldPresent: Any,actions: Any) + #endif + #if os(macOS) + indirect case _1(title: Any,shouldPresent: Any,actions: Any) + #endif #if os(macOS) indirect case _2(title: Any,shouldPresent: Any,actions: Any) #endif @@ -3393,6 +3744,53 @@ struct _dynamicTypeSizeModifier: ViewModifier { + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _edgesIgnoringSafeAreaModifier: ViewModifier { + static var name: String { "edgesIgnoringSafeArea" } + + enum Value { + case _never + + indirect case _0(edges: SwiftUICore.Edge.Set) + + } + + let value: Value + + + + + + + + + + + init(_ edges: SwiftUICore.Edge.Set) { + self.value = ._0(edges: edges) + + } + + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + + case let ._0(edges): + + + + __content + .edgesIgnoringSafeArea(edges) + + + + } } } @@ -3418,7 +3816,7 @@ struct _fileDialogCustomizationIDModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 14.0,iOS 17.0,visionOS 1.0, *) + @available(iOS 17.0,visionOS 1.0,macOS 14.0, *) init(_ id: AttributeReference) { self.value = ._0(id: id) @@ -3431,7 +3829,7 @@ struct _fileDialogCustomizationIDModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(id): - if #available(macOS 14.0,iOS 17.0,visionOS 1.0, *) { + if #available(iOS 17.0,visionOS 1.0,macOS 14.0, *) { let id = id as! AttributeReference __content @@ -3465,7 +3863,7 @@ struct _fileDialogImportsUnresolvedAliasesModifier: ViewModifie #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 14.0,visionOS 1.0,iOS 17.0, *) + @available(iOS 17.0,visionOS 1.0,macOS 14.0, *) init(_ imports: AttributeReference) { self.value = ._0(imports: imports) @@ -3478,7 +3876,7 @@ struct _fileDialogImportsUnresolvedAliasesModifier: ViewModifie fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(imports): - if #available(macOS 14.0,visionOS 1.0,iOS 17.0, *) { + if #available(iOS 17.0,visionOS 1.0,macOS 14.0, *) { let imports = imports as! AttributeReference __content @@ -3723,7 +4121,7 @@ struct _focusEffectDisabledModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 14.0,watchOS 10.0,tvOS 17.0,visionOS 1.0, *) init(_ disabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(disabled: disabled) @@ -3736,7 +4134,7 @@ struct _focusEffectDisabledModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(disabled): - if #available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 14.0,watchOS 10.0,tvOS 17.0,visionOS 1.0, *) { let disabled = disabled as! AttributeReference __content @@ -3808,6 +4206,9 @@ struct _focusableModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) indirect case _1(isFocusable: Any, interactions: Any) #endif + #if os(macOS) || os(tvOS) || os(watchOS) + indirect case _2(isFocusable: Any) + #endif } let value: Value @@ -3821,20 +4222,29 @@ struct _focusableModifier: ViewModifier { +@Event private var _2_onFocusChange__1: Event.EventHandler + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 12.0,iOS 17.0,tvOS 15.0,watchOS 8.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 12.0,tvOS 15.0,watchOS 8.0,visionOS 1.0, *) init(_ isFocusable: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(isFocusable: isFocusable) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ isFocusable: AttributeReference = .init(storage: .constant(true)), interactions: SwiftUI.FocusInteractions) { self.value = ._1(isFocusable: isFocusable, interactions: interactions) } #endif + #if os(macOS) || os(tvOS) || os(watchOS) + @available(tvOS 16.0,macOS 13.0,watchOS 9.0, *) + init(_ isFocusable: AttributeReference = .init(storage: .constant(true)), onFocusChange onFocusChange__1: Event ) { + self.value = ._2(isFocusable: isFocusable) + self.__2_onFocusChange__1 = onFocusChange__1 + } + #endif func body(content __content: Content) -> some View { switch value { @@ -3842,7 +4252,7 @@ struct _focusableModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(isFocusable): - if #available(macOS 12.0,iOS 17.0,tvOS 15.0,watchOS 8.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 12.0,tvOS 15.0,watchOS 8.0,visionOS 1.0, *) { let isFocusable = isFocusable as! AttributeReference __content @@ -3853,7 +4263,7 @@ struct _focusableModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(isFocusable, interactions): - if #available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let isFocusable = isFocusable as! AttributeReference let interactions = interactions as! SwiftUI.FocusInteractions @@ -3863,6 +4273,64 @@ let interactions = interactions as! SwiftUI.FocusInteractions } else { __content } #endif + #if os(macOS) || os(tvOS) || os(watchOS) + case let ._2(isFocusable): + if #available(tvOS 16.0,macOS 13.0,watchOS 9.0, *) { + let isFocusable = isFocusable as! AttributeReference + + __content + .focusable(isFocusable.resolve(on: element, in: context), onFocusChange: { __2_onFocusChange__1.wrappedValue(value: $0) }) + + + } else { __content } + #endif + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _foregroundColorModifier: ViewModifier { + static var name: String { "foregroundColor" } + + enum Value { + case _never + + indirect case _0(color: Color.Resolvable?) + + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + + + init(_ color: Color.Resolvable?) { + self.value = ._0(color: color) + + } + + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + + case let ._0(color): + + + + __content + .foregroundColor(color?.resolve(on: element, in: context)) + + + + } } } @@ -4078,7 +4546,7 @@ struct _fullScreenCoverModifier: ViewModifier { @Event private var _0_onDismiss__0: Event.EventHandler #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,watchOS 7.0,tvOS 14.0,iOS 14.0, *) + @available(iOS 14.0,visionOS 1.0,watchOS 7.0,tvOS 14.0, *) init(isPresented: ChangeTracked,onDismiss onDismiss__0: Event=Event(), content: ViewReference=ViewReference(value: [])) { self.value = ._0(content: content) self.__0_isPresented = isPresented @@ -4092,7 +4560,7 @@ self.__0_onDismiss__0 = onDismiss__0 fatalError("unreachable") #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(content): - if #available(visionOS 1.0,watchOS 7.0,tvOS 14.0,iOS 14.0, *) { + if #available(iOS 14.0,visionOS 1.0,watchOS 7.0,tvOS 14.0, *) { let content = content as! ViewReference __content @@ -4126,7 +4594,7 @@ struct _gaugeStyleModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 13.0,watchOS 7.0,iOS 16.0, *) + @available(iOS 16.0,macOS 13.0,watchOS 7.0,visionOS 1.0, *) init(_ style: AnyGaugeStyle) { self.value = ._0(style: style) @@ -4139,7 +4607,7 @@ struct _gaugeStyleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) case let ._0(style): - if #available(visionOS 1.0,macOS 13.0,watchOS 7.0,iOS 16.0, *) { + if #available(iOS 16.0,macOS 13.0,watchOS 7.0,visionOS 1.0, *) { let style = style as! AnyGaugeStyle __content @@ -4173,7 +4641,7 @@ struct _geometryGroupModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) + @available(tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0,iOS 17.0, *) init() { self.value = ._0 @@ -4186,7 +4654,7 @@ struct _geometryGroupModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case ._0: - if #available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { + if #available(tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0,iOS 17.0, *) { __content @@ -4244,7 +4712,7 @@ struct _gestureModifier: ViewModifier { } #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 11.0,iOS 18.0,visionOS 2.0,tvOS 18.0,macOS 15.0, *) + @available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) init(_ gesture: _AnyGesture,name: AttributeReference,isEnabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._2(gesture: gesture, name: name, isEnabled: isEnabled) @@ -4279,7 +4747,7 @@ struct _gestureModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._2(gesture, name, isEnabled): - if #available(watchOS 11.0,iOS 18.0,visionOS 2.0,tvOS 18.0,macOS 15.0, *) { + if #available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) { let gesture = gesture as! _AnyGesture let name = name as! AttributeReference let isEnabled = isEnabled as! AttributeReference @@ -4621,7 +5089,7 @@ struct _groupBoxStyleModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 11.0,visionOS 1.0,iOS 14.0, *) + @available(iOS 14.0,visionOS 1.0,macOS 11.0, *) init(_ style: AnyGroupBoxStyle) { self.value = ._0(style: style) @@ -4634,7 +5102,7 @@ struct _groupBoxStyleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(style): - if #available(macOS 11.0,visionOS 1.0,iOS 14.0, *) { + if #available(iOS 14.0,visionOS 1.0,macOS 11.0, *) { let style = style as! AnyGroupBoxStyle __content @@ -4668,7 +5136,7 @@ struct _handGestureShortcutModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) - @available(macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) + @available(tvOS 18.0,macOS 15.0,iOS 18.0,watchOS 11.0, *) init(_ shortcut: SwiftUI.HandGestureShortcut,isEnabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(shortcut: shortcut, isEnabled: isEnabled) @@ -4681,7 +5149,7 @@ struct _handGestureShortcutModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) case let ._0(shortcut, isEnabled): - if #available(macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) { + if #available(tvOS 18.0,macOS 15.0,iOS 18.0,watchOS 11.0, *) { let shortcut = shortcut as! SwiftUI.HandGestureShortcut let isEnabled = isEnabled as! AttributeReference @@ -4974,7 +5442,7 @@ struct _highPriorityGestureModifier: ViewModifier { } #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 11.0,iOS 18.0,visionOS 2.0,tvOS 18.0,macOS 15.0, *) + @available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) init(_ gesture: _AnyGesture,name: AttributeReference,isEnabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._2(gesture: gesture, name: name, isEnabled: isEnabled) @@ -5009,7 +5477,7 @@ struct _highPriorityGestureModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._2(gesture, name, isEnabled): - if #available(watchOS 11.0,iOS 18.0,visionOS 2.0,tvOS 18.0,macOS 15.0, *) { + if #available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) { let gesture = gesture as! _AnyGesture let name = name as! AttributeReference let isEnabled = isEnabled as! AttributeReference @@ -5097,14 +5565,14 @@ struct _hoverEffectModifier: ViewModifier { #if os(iOS) || os(tvOS) || os(visionOS) - @available(visionOS 1.0,tvOS 16.0,iOS 13.4, *) + @available(iOS 13.4,visionOS 1.0,tvOS 16.0, *) init(_ effect: SwiftUI.HoverEffect = .automatic ) { self.value = ._0(effect: effect) } #endif #if os(iOS) || os(tvOS) || os(visionOS) - @available(visionOS 1.0,tvOS 17.0,iOS 17.0, *) + @available(iOS 17.0,visionOS 1.0,tvOS 17.0, *) init(_ effect: SwiftUI.HoverEffect = .automatic, isEnabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._1(effect: effect, isEnabled: isEnabled) @@ -5117,7 +5585,7 @@ struct _hoverEffectModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(tvOS) || os(visionOS) case let ._0(effect): - if #available(visionOS 1.0,tvOS 16.0,iOS 13.4, *) { + if #available(iOS 13.4,visionOS 1.0,tvOS 16.0, *) { let effect = effect as! SwiftUI.HoverEffect __content @@ -5128,7 +5596,7 @@ struct _hoverEffectModifier: ViewModifier { #endif #if os(iOS) || os(tvOS) || os(visionOS) case let ._1(effect, isEnabled): - if #available(visionOS 1.0,tvOS 17.0,iOS 17.0, *) { + if #available(iOS 17.0,visionOS 1.0,tvOS 17.0, *) { let effect = effect as! SwiftUI.HoverEffect let isEnabled = isEnabled as! AttributeReference @@ -5163,7 +5631,7 @@ struct _hoverEffectDisabledModifier: ViewModifier { #if os(iOS) || os(tvOS) || os(visionOS) - @available(visionOS 1.0,tvOS 17.0,iOS 17.0, *) + @available(iOS 17.0,visionOS 1.0,tvOS 17.0, *) init(_ disabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(disabled: disabled) @@ -5176,7 +5644,7 @@ struct _hoverEffectDisabledModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(tvOS) || os(visionOS) case let ._0(disabled): - if #available(visionOS 1.0,tvOS 17.0,iOS 17.0, *) { + if #available(iOS 17.0,visionOS 1.0,tvOS 17.0, *) { let disabled = disabled as! AttributeReference __content @@ -5493,7 +5961,7 @@ struct _indexViewStyleModifier: ViewModifier { #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,watchOS 8.0,tvOS 14.0,iOS 14.0, *) + @available(iOS 14.0,watchOS 8.0,tvOS 14.0,visionOS 1.0, *) init(_ style: AnyIndexViewStyle) { self.value = ._0(style: style) @@ -5506,7 +5974,7 @@ struct _indexViewStyleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(style): - if #available(visionOS 1.0,watchOS 8.0,tvOS 14.0,iOS 14.0, *) { + if #available(iOS 14.0,watchOS 8.0,tvOS 14.0,visionOS 1.0, *) { let style = style as! AnyIndexViewStyle __content @@ -5540,7 +6008,7 @@ struct _inspectorModifier: ViewModifier { #if os(iOS) || os(macOS) - @available(macOS 14.0,iOS 17.0, *) + @available(iOS 17.0,macOS 14.0, *) init(isPresented: ChangeTracked,content: ViewReference=ViewReference(value: [])) { self.value = ._0(content: content) self.__0_isPresented = isPresented @@ -5553,7 +6021,7 @@ struct _inspectorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) case let ._0(content): - if #available(macOS 14.0,iOS 17.0, *) { + if #available(iOS 17.0,macOS 14.0, *) { let content = content as! ViewReference __content @@ -5592,14 +6060,14 @@ struct _inspectorColumnWidthModifier: ViewModifier { #if os(iOS) || os(macOS) - @available(macOS 14.0,iOS 17.0, *) + @available(iOS 17.0,macOS 14.0, *) init(min: AttributeReference? = .init(storage: .constant(nil)), ideal: AttributeReference,max: AttributeReference? = .init(storage: .constant(nil)) ) { self.value = ._0(min: min, ideal: ideal, max: max) } #endif #if os(iOS) || os(macOS) - @available(macOS 14.0,iOS 17.0, *) + @available(iOS 17.0,macOS 14.0, *) init(_ width: AttributeReference) { self.value = ._1(width: width) @@ -5612,7 +6080,7 @@ struct _inspectorColumnWidthModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) case let ._0(min, ideal, max): - if #available(macOS 14.0,iOS 17.0, *) { + if #available(iOS 17.0,macOS 14.0, *) { let min = min as? AttributeReference let ideal = ideal as! AttributeReference let max = max as? AttributeReference @@ -5625,7 +6093,7 @@ let max = max as? AttributeReference #endif #if os(iOS) || os(macOS) case let ._1(width): - if #available(macOS 14.0,iOS 17.0, *) { + if #available(iOS 17.0,macOS 14.0, *) { let width = width as! AttributeReference __content @@ -5753,7 +6221,7 @@ struct _invalidatableContentModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,iOS 17.0,watchOS 10.0,visionOS 1.0,tvOS 17.0, *) + @available(watchOS 10.0,macOS 14.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) init(_ invalidatable: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(invalidatable: invalidatable) @@ -5766,7 +6234,7 @@ struct _invalidatableContentModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(invalidatable): - if #available(macOS 14.0,iOS 17.0,watchOS 10.0,visionOS 1.0,tvOS 17.0, *) { + if #available(watchOS 10.0,macOS 14.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) { let invalidatable = invalidatable as! AttributeReference __content @@ -5815,28 +6283,28 @@ struct _keyboardShortcutModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 11.0,iOS 14.0,visionOS 1.0, *) + @available(iOS 14.0,visionOS 1.0,macOS 11.0, *) init(_ key: SwiftUI.KeyEquivalent,modifiers: SwiftUICore.EventModifiers = .command ) { self.value = ._0(key: key, modifiers: modifiers) } #endif #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 11.0,iOS 14.0,visionOS 1.0, *) + @available(iOS 14.0,visionOS 1.0,macOS 11.0, *) init(_ shortcut: SwiftUI.KeyboardShortcut) { self.value = ._1(shortcut: shortcut) } #endif #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 12.3,iOS 15.4,visionOS 1.0, *) + @available(iOS 15.4,visionOS 1.0,macOS 12.3, *) init(_ shortcut: SwiftUI.KeyboardShortcut?) { self.value = ._2(shortcut: shortcut) } #endif #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 12.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 12.0, *) init(_ key: SwiftUI.KeyEquivalent,modifiers: SwiftUICore.EventModifiers = .command, localization: SwiftUI.KeyboardShortcut.Localization) { self.value = ._3(key: key, modifiers: modifiers, localization: localization) @@ -5849,7 +6317,7 @@ struct _keyboardShortcutModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(key, modifiers): - if #available(macOS 11.0,iOS 14.0,visionOS 1.0, *) { + if #available(iOS 14.0,visionOS 1.0,macOS 11.0, *) { let key = key as! SwiftUI.KeyEquivalent let modifiers = modifiers as! SwiftUICore.EventModifiers @@ -5861,7 +6329,7 @@ let modifiers = modifiers as! SwiftUICore.EventModifiers #endif #if os(iOS) || os(macOS) || os(visionOS) case let ._1(shortcut): - if #available(macOS 11.0,iOS 14.0,visionOS 1.0, *) { + if #available(iOS 14.0,visionOS 1.0,macOS 11.0, *) { let shortcut = shortcut as! SwiftUI.KeyboardShortcut __content @@ -5872,7 +6340,7 @@ let modifiers = modifiers as! SwiftUICore.EventModifiers #endif #if os(iOS) || os(macOS) || os(visionOS) case let ._2(shortcut): - if #available(macOS 12.3,iOS 15.4,visionOS 1.0, *) { + if #available(iOS 15.4,visionOS 1.0,macOS 12.3, *) { let shortcut = shortcut as? SwiftUI.KeyboardShortcut __content @@ -5883,7 +6351,7 @@ let modifiers = modifiers as! SwiftUICore.EventModifiers #endif #if os(iOS) || os(macOS) || os(visionOS) case let ._3(key, modifiers, localization): - if #available(macOS 12.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 12.0, *) { let key = key as! SwiftUI.KeyEquivalent let modifiers = modifiers as! SwiftUICore.EventModifiers let localization = localization as! SwiftUI.KeyboardShortcut.Localization @@ -5919,7 +6387,7 @@ struct _keyboardTypeModifier: ViewModifier { #if os(iOS) || os(tvOS) || os(visionOS) - @available(tvOS 13.0,iOS 13.0,visionOS 1.0, *) + @available(iOS 13.0,tvOS 13.0,visionOS 1.0, *) init(_ type: UIKit.UIKeyboardType) { self.value = ._0(type: type) @@ -5932,7 +6400,7 @@ struct _keyboardTypeModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(tvOS) || os(visionOS) case let ._0(type): - if #available(tvOS 13.0,iOS 13.0,visionOS 1.0, *) { + if #available(iOS 13.0,tvOS 13.0,visionOS 1.0, *) { let type = type as! UIKit.UIKeyboardType __content @@ -6107,7 +6575,7 @@ struct _labelsVisibilityModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 15.0,iOS 18.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) + @available(tvOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0,iOS 18.0, *) init(_ visibility: AttributeReference) { self.value = ._0(visibility: visibility) @@ -6120,7 +6588,7 @@ struct _labelsVisibilityModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(visibility): - if #available(macOS 15.0,iOS 18.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) { + if #available(tvOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0,iOS 18.0, *) { let visibility = visibility as! AttributeReference __content @@ -6620,6 +7088,53 @@ struct _listRowInsetsModifier: ViewModifier { + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _listRowPlatterColorModifier: ViewModifier { + static var name: String { "listRowPlatterColor" } + + enum Value { + case _never + #if os(watchOS) + indirect case _0(color: Any?) + #endif + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + #if os(watchOS) + @available(watchOS 6.0, *) + init(_ color: Color.Resolvable?) { + self.value = ._0(color: color) + + } + #endif + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + #if os(watchOS) + case let ._0(color): + if #available(watchOS 6.0, *) { + let color = color as? Color.Resolvable + + __content + .listRowPlatterColor(color?.resolve(on: element, in: context)) + + + } else { __content } + #endif } } } @@ -6645,7 +7160,7 @@ struct _listRowSeparatorModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 13.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 13.0, *) init(_ visibility: AttributeReference,edges: SwiftUICore.VerticalEdge.Set = .all ) { self.value = ._0(visibility: visibility, edges: edges) @@ -6658,7 +7173,7 @@ struct _listRowSeparatorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(visibility, edges): - if #available(macOS 13.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 13.0, *) { let visibility = visibility as! AttributeReference let edges = edges as! SwiftUICore.VerticalEdge.Set @@ -6693,7 +7208,7 @@ struct _listRowSeparatorTintModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 13.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 13.0, *) init(_ color: Color.Resolvable?,edges: SwiftUICore.VerticalEdge.Set = .all ) { self.value = ._0(color: color, edges: edges) @@ -6706,7 +7221,7 @@ struct _listRowSeparatorTintModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(color, edges): - if #available(macOS 13.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 13.0, *) { let color = color as? Color.Resolvable let edges = edges as! SwiftUICore.VerticalEdge.Set @@ -6741,7 +7256,7 @@ struct _listRowSpacingModifier: ViewModifier { #if os(iOS) || os(visionOS) - @available(visionOS 1.0,iOS 15.0, *) + @available(iOS 15.0,visionOS 1.0, *) init(_ spacing: AttributeReference?) { self.value = ._0(spacing: spacing) @@ -6754,7 +7269,7 @@ struct _listRowSpacingModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(visionOS) case let ._0(spacing): - if #available(visionOS 1.0,iOS 15.0, *) { + if #available(iOS 15.0,visionOS 1.0, *) { let spacing = spacing as? AttributeReference __content @@ -6788,7 +7303,7 @@ struct _listSectionSeparatorModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 13.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 13.0, *) init(_ visibility: AttributeReference,edges: SwiftUICore.VerticalEdge.Set = .all ) { self.value = ._0(visibility: visibility, edges: edges) @@ -6801,7 +7316,7 @@ struct _listSectionSeparatorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(visibility, edges): - if #available(macOS 13.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 13.0, *) { let visibility = visibility as! AttributeReference let edges = edges as! SwiftUICore.VerticalEdge.Set @@ -6836,7 +7351,7 @@ struct _listSectionSeparatorTintModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 13.0,iOS 15.0,visionOS 1.0, *) + @available(iOS 15.0,visionOS 1.0,macOS 13.0, *) init(_ color: Color.Resolvable?,edges: SwiftUICore.VerticalEdge.Set = .all ) { self.value = ._0(color: color, edges: edges) @@ -6849,7 +7364,7 @@ struct _listSectionSeparatorTintModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(color, edges): - if #available(macOS 13.0,iOS 15.0,visionOS 1.0, *) { + if #available(iOS 15.0,visionOS 1.0,macOS 13.0, *) { let color = color as? Color.Resolvable let edges = edges as! SwiftUICore.VerticalEdge.Set @@ -6889,14 +7404,14 @@ struct _listSectionSpacingModifier: ViewModifier { #if os(iOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,visionOS 1.0,iOS 17.0, *) + @available(iOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ spacing: SwiftUI.ListSectionSpacing) { self.value = ._0(spacing: spacing) } #endif #if os(iOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,visionOS 1.0,iOS 17.0, *) + @available(iOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ spacing: AttributeReference) { self.value = ._1(spacing: spacing) @@ -6909,7 +7424,7 @@ struct _listSectionSpacingModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(visionOS) || os(watchOS) case let ._0(spacing): - if #available(watchOS 10.0,visionOS 1.0,iOS 17.0, *) { + if #available(iOS 17.0,watchOS 10.0,visionOS 1.0, *) { let spacing = spacing as! SwiftUI.ListSectionSpacing __content @@ -6920,7 +7435,7 @@ struct _listSectionSpacingModifier: ViewModifier { #endif #if os(iOS) || os(visionOS) || os(watchOS) case let ._1(spacing): - if #available(watchOS 10.0,visionOS 1.0,iOS 17.0, *) { + if #available(iOS 17.0,watchOS 10.0,visionOS 1.0, *) { let spacing = spacing as! AttributeReference __content @@ -7048,7 +7563,7 @@ struct _materialActiveAppearanceModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 15.0,iOS 18.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) + @available(tvOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0,iOS 18.0, *) init(_ appearance: SwiftUICore.MaterialActiveAppearance) { self.value = ._0(appearance: appearance) @@ -7061,7 +7576,7 @@ struct _materialActiveAppearanceModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(appearance): - if #available(macOS 15.0,iOS 18.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) { + if #available(tvOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0,iOS 18.0, *) { let appearance = appearance as! SwiftUICore.MaterialActiveAppearance __content @@ -7095,7 +7610,7 @@ struct _menuIndicatorModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) - @available(macOS 12.0,iOS 15.0,tvOS 17.0,visionOS 1.0, *) + @available(iOS 15.0,macOS 12.0,tvOS 17.0,visionOS 1.0, *) init(_ visibility: AttributeReference) { self.value = ._0(visibility: visibility) @@ -7108,7 +7623,7 @@ struct _menuIndicatorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) case let ._0(visibility): - if #available(macOS 12.0,iOS 15.0,tvOS 17.0,visionOS 1.0, *) { + if #available(iOS 15.0,macOS 12.0,tvOS 17.0,visionOS 1.0, *) { let visibility = visibility as! AttributeReference __content @@ -7189,7 +7704,7 @@ struct _menuStyleModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) - @available(macOS 11.0,iOS 14.0,visionOS 1.0,tvOS 17.0, *) + @available(tvOS 17.0,visionOS 1.0,macOS 11.0,iOS 14.0, *) init(_ style: AnyMenuStyle) { self.value = ._0(style: style) @@ -7202,7 +7717,7 @@ struct _menuStyleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) case let ._0(style): - if #available(macOS 11.0,iOS 14.0,visionOS 1.0,tvOS 17.0, *) { + if #available(tvOS 17.0,visionOS 1.0,macOS 11.0,iOS 14.0, *) { let style = style as! AnyMenuStyle __content @@ -7283,7 +7798,7 @@ struct _modifierKeyAlternateModifier: ViewModifier { #if os(macOS) || os(visionOS) - @available(macOS 15.0,visionOS 1.0, *) + @available(visionOS 1.0,macOS 15.0, *) init(_ modifiers: SwiftUICore.EventModifiers,_ alternate: ViewReference=ViewReference(value: [])) { self.value = ._0(modifiers: modifiers, alternate: alternate) @@ -7296,7 +7811,7 @@ struct _modifierKeyAlternateModifier: ViewModifier { fatalError("unreachable") #if os(macOS) || os(visionOS) case let ._0(modifiers, alternate): - if #available(macOS 15.0,visionOS 1.0, *) { + if #available(visionOS 1.0,macOS 15.0, *) { let modifiers = modifiers as! SwiftUICore.EventModifiers let alternate = alternate as! ViewReference @@ -7452,29 +7967,29 @@ struct _navigationBarBackButtonHiddenModifier: ViewModifier { } @_documentation(visibility: public) @ParseableExpression -struct _navigationBarTitleDisplayModeModifier: ViewModifier { - static var name: String { "navigationBarTitleDisplayMode" } +struct _navigationBarHiddenModifier: ViewModifier { + static var name: String { "navigationBarHidden" } enum Value { case _never - #if os(iOS) || os(visionOS) || os(watchOS) - indirect case _0(displayMode: Any) + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + indirect case _0(hidden: Any) #endif } let value: Value - - + @ObservedElement private var element + @LiveContext private var context - #if os(iOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,iOS 14.0,watchOS 8.0, *) - init(_ displayMode: SwiftUI.NavigationBarItem.TitleDisplayMode) { - self.value = ._0(displayMode: displayMode) + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + @available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) + init(_ hidden: AttributeReference) { + self.value = ._0(hidden: hidden) } #endif @@ -7483,12 +7998,318 @@ struct _navigationBarTitleDisplayModeModifier: ViewModifier { switch value { case ._never: fatalError("unreachable") - #if os(iOS) || os(visionOS) || os(watchOS) - case let ._0(displayMode): - if #available(visionOS 1.0,iOS 14.0,watchOS 8.0, *) { - let displayMode = displayMode as! SwiftUI.NavigationBarItem.TitleDisplayMode - - __content + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + case let ._0(hidden): + if #available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) { + let hidden = hidden as! AttributeReference + + __content + .navigationBarHidden(hidden.resolve(on: element, in: context)) + + + } else { __content } + #endif + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _navigationBarItemsModifier: ViewModifier { + static var name: String { "navigationBarItems" } + + enum Value { + case _never + #if os(iOS) || os(tvOS) || os(visionOS) + indirect case _0(leading: Any,trailing: Any) + #endif + #if os(iOS) || os(tvOS) || os(visionOS) + indirect case _1(leading: Any) + #endif + #if os(iOS) || os(tvOS) || os(visionOS) + indirect case _2(trailing: Any) + #endif + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + + + + + #if os(iOS) || os(tvOS) || os(visionOS) + @available(iOS 16.0,visionOS 1.0,tvOS 16.0, *) + init(leading: InlineViewReference,trailing: InlineViewReference) { + self.value = ._0(leading: leading, trailing: trailing) + + } + #endif + #if os(iOS) || os(tvOS) || os(visionOS) + @available(iOS 16.0,visionOS 1.0,tvOS 16.0, *) + init(leading: InlineViewReference) { + self.value = ._1(leading: leading) + + } + #endif + #if os(iOS) || os(tvOS) || os(visionOS) + @available(iOS 16.0,visionOS 1.0,tvOS 16.0, *) + init(trailing: InlineViewReference) { + self.value = ._2(trailing: trailing) + + } + #endif + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + #if os(iOS) || os(tvOS) || os(visionOS) + case let ._0(leading, trailing): + if #available(iOS 16.0,visionOS 1.0,tvOS 16.0, *) { + let leading = leading as! InlineViewReference +let trailing = trailing as! InlineViewReference + + __content + .navigationBarItems(leading: leading.resolve(on: element, in: context), trailing: trailing.resolve(on: element, in: context)) + + + } else { __content } + #endif + #if os(iOS) || os(tvOS) || os(visionOS) + case let ._1(leading): + if #available(iOS 16.0,visionOS 1.0,tvOS 16.0, *) { + let leading = leading as! InlineViewReference + + __content + .navigationBarItems(leading: leading.resolve(on: element, in: context)) + + + } else { __content } + #endif + #if os(iOS) || os(tvOS) || os(visionOS) + case let ._2(trailing): + if #available(iOS 16.0,visionOS 1.0,tvOS 16.0, *) { + let trailing = trailing as! InlineViewReference + + __content + .navigationBarItems(trailing: trailing.resolve(on: element, in: context)) + + + } else { __content } + #endif + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _navigationBarTitleModifier: ViewModifier { + static var name: String { "navigationBarTitle" } + + enum Value { + case _never + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + indirect case _0(title: Any) + #endif + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + indirect case _1(titleKey: Any) + #endif + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + indirect case _2(title: Any) + #endif + #if os(iOS) || os(visionOS) + indirect case _3(title: Any,displayMode: Any) + #endif + #if os(iOS) || os(visionOS) + indirect case _4(titleKey: Any,displayMode: Any) + #endif + #if os(iOS) || os(visionOS) + indirect case _5(title: Any,displayMode: Any) + #endif + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + + + + + + + + + + + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + @available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) + init(_ title: TextReference) { + self.value = ._0(title: title) + + } + #endif + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + @available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) + init(_ titleKey: SwiftUICore.LocalizedStringKey) { + self.value = ._1(titleKey: titleKey) + + } + #endif + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + @available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) + init(_ title: AttributeReference) { + self.value = ._2(title: title) + + } + #endif + #if os(iOS) || os(visionOS) + @available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) + init(_ title: TextReference,displayMode: SwiftUI.NavigationBarItem.TitleDisplayMode) { + self.value = ._3(title: title, displayMode: displayMode) + + } + #endif + #if os(iOS) || os(visionOS) + @available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) + init(_ titleKey: SwiftUICore.LocalizedStringKey,displayMode: SwiftUI.NavigationBarItem.TitleDisplayMode) { + self.value = ._4(titleKey: titleKey, displayMode: displayMode) + + } + #endif + #if os(iOS) || os(visionOS) + @available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) + init(_ title: AttributeReference,displayMode: SwiftUI.NavigationBarItem.TitleDisplayMode) { + self.value = ._5(title: title, displayMode: displayMode) + + } + #endif + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + case let ._0(title): + if #available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) { + let title = title as! TextReference + __content._observeTextReference(title, on: element, in: context) { __content in + __content + .navigationBarTitle(title.resolve(on: element, in: context)) + } + + } else { __content } + #endif + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + case let ._1(titleKey): + if #available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) { + let titleKey = titleKey as! SwiftUICore.LocalizedStringKey + + __content + .navigationBarTitle(titleKey) + + + } else { __content } + #endif + #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) + case let ._2(title): + if #available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) { + let title = title as! AttributeReference + + __content + .navigationBarTitle(title.resolve(on: element, in: context)) + + + } else { __content } + #endif + #if os(iOS) || os(visionOS) + case let ._3(title, displayMode): + if #available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) { + let title = title as! TextReference +let displayMode = displayMode as! SwiftUI.NavigationBarItem.TitleDisplayMode + __content._observeTextReference(title, on: element, in: context) { __content in + __content + .navigationBarTitle(title.resolve(on: element, in: context), displayMode: displayMode) + } + + } else { __content } + #endif + #if os(iOS) || os(visionOS) + case let ._4(titleKey, displayMode): + if #available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) { + let titleKey = titleKey as! SwiftUICore.LocalizedStringKey +let displayMode = displayMode as! SwiftUI.NavigationBarItem.TitleDisplayMode + + __content + .navigationBarTitle(titleKey, displayMode: displayMode) + + + } else { __content } + #endif + #if os(iOS) || os(visionOS) + case let ._5(title, displayMode): + if #available(iOS 13.0,macOS 13.0,tvOS 13.0,watchOS 6.0,visionOS 1.0, *) { + let title = title as! AttributeReference +let displayMode = displayMode as! SwiftUI.NavigationBarItem.TitleDisplayMode + + __content + .navigationBarTitle(title.resolve(on: element, in: context), displayMode: displayMode) + + + } else { __content } + #endif + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _navigationBarTitleDisplayModeModifier: ViewModifier { + static var name: String { "navigationBarTitleDisplayMode" } + + enum Value { + case _never + #if os(iOS) || os(visionOS) || os(watchOS) + indirect case _0(displayMode: Any) + #endif + } + + let value: Value + + + + + + + + + #if os(iOS) || os(visionOS) || os(watchOS) + @available(visionOS 1.0,iOS 14.0,watchOS 8.0, *) + init(_ displayMode: SwiftUI.NavigationBarItem.TitleDisplayMode) { + self.value = ._0(displayMode: displayMode) + + } + #endif + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + #if os(iOS) || os(visionOS) || os(watchOS) + case let ._0(displayMode): + if #available(visionOS 1.0,iOS 14.0,watchOS 8.0, *) { + let displayMode = displayMode as! SwiftUI.NavigationBarItem.TitleDisplayMode + + __content .navigationBarTitleDisplayMode(displayMode) @@ -7817,7 +8638,7 @@ struct _navigationTitleModifier: ViewModifier { } #if os(watchOS) - @available(macOS 11.0,tvOS 14.0,iOS 14.0,watchOS 7.0, *) + @available(tvOS 14.0,watchOS 7.0,macOS 11.0,iOS 14.0, *) init(_ title: ViewReference=ViewReference(value: [])) { self.value = ._3(title: title) @@ -7870,7 +8691,7 @@ struct _navigationTitleModifier: ViewModifier { #if os(watchOS) case let ._3(title): - if #available(macOS 11.0,tvOS 14.0,iOS 14.0,watchOS 7.0, *) { + if #available(tvOS 14.0,watchOS 7.0,macOS 11.0,iOS 14.0, *) { let title = title as! ViewReference __content @@ -7890,6 +8711,53 @@ struct _navigationTitleModifier: ViewModifier { + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _navigationViewStyleModifier: ViewModifier { + static var name: String { "navigationViewStyle" } + + enum Value { + case _never + + indirect case _0(style: AnyNavigationViewStyle) + + } + + let value: Value + + + + + + + + + + + init(_ style: AnyNavigationViewStyle) { + self.value = ._0(style: style) + + } + + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + + case let ._0(style): + + + + __content + .navigationViewStyle(style) + + + + } } } @@ -8196,7 +9064,7 @@ struct _onHoverModifier: ViewModifier { @Event private var _0_action__1: Event.EventHandler #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 10.15,iOS 13.4,visionOS 1.0, *) + @available(iOS 13.4,visionOS 1.0,macOS 10.15, *) init(perform action__1: Event) { self.value = ._0 self.__0_action__1 = action__1 @@ -8209,7 +9077,7 @@ struct _onHoverModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case ._0: - if #available(macOS 10.15,iOS 13.4,visionOS 1.0, *) { + if #available(iOS 13.4,visionOS 1.0,macOS 10.15, *) { __content @@ -8281,6 +9149,12 @@ struct _onLongPressGestureModifier: ViewModifier { #if os(tvOS) indirect case _1(minimumDuration: Any) #endif + #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) + indirect case _2(minimumDuration: Any, maximumDistance: Any) + #endif + #if os(tvOS) + indirect case _3(minimumDuration: Any) + #endif } let value: Value @@ -8296,8 +9170,14 @@ struct _onLongPressGestureModifier: ViewModifier { @Event private var _1_action__0: Event.EventHandler @Event private var _1_onPressingChanged__1: Event.EventHandler +@Event private var _2_pressing__1: Event.EventHandler +@Event private var _2_action__0: Event.EventHandler + +@Event private var _3_pressing__1: Event.EventHandler +@Event private var _3_action__0: Event.EventHandler + #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) - @available(watchOS 6.0,iOS 13.0,visionOS 1.0,tvOS 14.0,macOS 10.15, *) + @available(tvOS 14.0,iOS 13.0,macOS 10.15,visionOS 1.0,watchOS 6.0, *) init(minimumDuration: AttributeReference = .init(storage: .constant(0.5)), maximumDistance: AttributeReference = .init(storage: .constant(10)), perform action__0: Event,onPressingChanged onPressingChanged__1: Event=Event() ) { self.value = ._0(minimumDuration: minimumDuration, maximumDistance: maximumDistance) self.__0_action__0 = action__0 @@ -8305,13 +9185,29 @@ self.__0_onPressingChanged__1 = onPressingChanged__1 } #endif #if os(tvOS) - @available(watchOS 6.0,iOS 13.0,tvOS 14.0,macOS 10.15, *) + @available(tvOS 14.0,iOS 13.0,macOS 10.15,watchOS 6.0, *) init(minimumDuration: AttributeReference = .init(storage: .constant(0.5)), perform action__0: Event,onPressingChanged onPressingChanged__1: Event=Event() ) { self.value = ._1(minimumDuration: minimumDuration) self.__1_action__0 = action__0 self.__1_onPressingChanged__1 = onPressingChanged__1 } #endif + #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) + @available(tvOS 14.0,iOS 13.0,macOS 10.15,visionOS 1.0,watchOS 6.0, *) + init(minimumDuration: AttributeReference = .init(storage: .constant(0.5)), maximumDistance: AttributeReference = .init(storage: .constant(10)), pressing pressing__1: Event=Event(), perform action__0: Event) { + self.value = ._2(minimumDuration: minimumDuration, maximumDistance: maximumDistance) + self.__2_pressing__1 = pressing__1 +self.__2_action__0 = action__0 + } + #endif + #if os(tvOS) + @available(tvOS 14.0,iOS 13.0,macOS 10.15,watchOS 6.0, *) + init(minimumDuration: AttributeReference = .init(storage: .constant(0.5)), pressing pressing__1: Event=Event(), perform action__0: Event) { + self.value = ._3(minimumDuration: minimumDuration) + self.__3_pressing__1 = pressing__1 +self.__3_action__0 = action__0 + } + #endif func body(content __content: Content) -> some View { switch value { @@ -8319,7 +9215,7 @@ self.__1_onPressingChanged__1 = onPressingChanged__1 fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) case let ._0(minimumDuration, maximumDistance): - if #available(watchOS 6.0,iOS 13.0,visionOS 1.0,tvOS 14.0,macOS 10.15, *) { + if #available(tvOS 14.0,iOS 13.0,macOS 10.15,visionOS 1.0,watchOS 6.0, *) { let minimumDuration = minimumDuration as! AttributeReference let maximumDistance = maximumDistance as! AttributeReference @@ -8331,13 +9227,36 @@ let maximumDistance = maximumDistance as! AttributeReference __content .onLongPressGesture(minimumDuration: minimumDuration.resolve(on: element, in: context), perform: { __1_action__0.wrappedValue() }, onPressingChanged: { __1_onPressingChanged__1.wrappedValue(value: $0) }) + } else { __content } + #endif + #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) + case let ._2(minimumDuration, maximumDistance): + if #available(tvOS 14.0,iOS 13.0,macOS 10.15,visionOS 1.0,watchOS 6.0, *) { + let minimumDuration = minimumDuration as! AttributeReference +let maximumDistance = maximumDistance as! AttributeReference + + __content + .onLongPressGesture(minimumDuration: minimumDuration.resolve(on: element, in: context), maximumDistance: maximumDistance.resolve(on: element, in: context), pressing: { __2_pressing__1.wrappedValue(value: $0) }, perform: { __2_action__0.wrappedValue() }) + + + } else { __content } + #endif + #if os(tvOS) + case let ._3(minimumDuration): + if #available(tvOS 14.0,iOS 13.0,macOS 10.15,watchOS 6.0, *) { + let minimumDuration = minimumDuration as! AttributeReference + + __content + .onLongPressGesture(minimumDuration: minimumDuration.resolve(on: element, in: context), pressing: { __3_pressing__1.wrappedValue(value: $0) }, perform: { __3_action__0.wrappedValue() }) + + } else { __content } #endif } @@ -8414,7 +9333,7 @@ struct _onModifierKeysChangedModifier: ViewModifier { @Event private var _0_action__2: Event.EventHandler #if os(macOS) || os(visionOS) - @available(macOS 15.0,visionOS 1.0, *) + @available(visionOS 1.0,macOS 15.0, *) init(mask: SwiftUICore.EventModifiers = .all, initial: AttributeReference = .init(storage: .constant(true)), action action__2: Event) { self.value = ._0(mask: mask, initial: initial) self.__0_action__2 = action__2 @@ -8427,7 +9346,7 @@ struct _onModifierKeysChangedModifier: ViewModifier { fatalError("unreachable") #if os(macOS) || os(visionOS) case let ._0(mask, initial): - if #available(macOS 15.0,visionOS 1.0, *) { + if #available(visionOS 1.0,macOS 15.0, *) { let mask = mask as! SwiftUICore.EventModifiers let initial = initial as! AttributeReference @@ -8509,7 +9428,7 @@ struct _onPencilDoubleTapModifier: ViewModifier { @Event private var _0_action__1: Event.EventHandler #if os(iOS) || os(macOS) - @available(macOS 14.5,iOS 17.5, *) + @available(iOS 17.5,macOS 14.5, *) init(perform action__1: Event) { self.value = ._0 self.__0_action__1 = action__1 @@ -8522,7 +9441,7 @@ struct _onPencilDoubleTapModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) case ._0: - if #available(macOS 14.5,iOS 17.5, *) { + if #available(iOS 17.5,macOS 14.5, *) { __content @@ -8556,7 +9475,7 @@ struct _onPencilSqueezeModifier: ViewModifier { @Event private var _0_action__1: Event.EventHandler #if os(iOS) || os(macOS) - @available(macOS 14.5,iOS 17.5, *) + @available(iOS 17.5,macOS 14.5, *) init(perform action__1: Event) { self.value = ._0 self.__0_action__1 = action__1 @@ -8569,7 +9488,7 @@ struct _onPencilSqueezeModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) case ._0: - if #available(macOS 14.5,iOS 17.5, *) { + if #available(iOS 17.5,macOS 14.5, *) { __content @@ -8650,7 +9569,7 @@ struct _onScrollPhaseChangeModifier: ViewModifier { @Event private var _0_action__2: Event.EventHandler #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) + @available(tvOS 18.0,visionOS 2.0,watchOS 11.0,macOS 15.0,iOS 18.0, *) init(_ action__2: Event) { self.value = ._0 self.__0_action__2 = action__2 @@ -8663,7 +9582,7 @@ struct _onScrollPhaseChangeModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case ._0: - if #available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) { + if #available(tvOS 18.0,visionOS 2.0,watchOS 11.0,macOS 15.0,iOS 18.0, *) { __content @@ -8697,7 +9616,7 @@ struct _onScrollVisibilityChangeModifier: ViewModifier { @Event private var _0_action__1: Event.EventHandler #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 2.0,macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) + @available(tvOS 18.0,watchOS 11.0,iOS 18.0,visionOS 2.0,macOS 15.0, *) init(threshold: AttributeReference = .init(storage: .constant(0.5)), action action__1: Event) { self.value = ._0(threshold: threshold) self.__0_action__1 = action__1 @@ -8710,7 +9629,7 @@ struct _onScrollVisibilityChangeModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(threshold): - if #available(visionOS 2.0,macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) { + if #available(tvOS 18.0,watchOS 11.0,iOS 18.0,visionOS 2.0,macOS 15.0, *) { let threshold = threshold as! AttributeReference __content @@ -8749,7 +9668,7 @@ struct _onTapGestureModifier: ViewModifier { @Event private var _1_action__0: Event.EventHandler #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,iOS 17.0,watchOS 10.0,visionOS 1.0, *) + @available(iOS 17.0,visionOS 1.0,watchOS 10.0,macOS 14.0, *) init(count: AttributeReference = .init(storage: .constant(1)), coordinateSpace: AnyCoordinateSpaceProtocol = .local, perform action__1: Event) { self.value = ._0(count: count, coordinateSpace: coordinateSpace) self.__0_action__1 = action__1 @@ -8769,7 +9688,7 @@ struct _onTapGestureModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) case let ._0(count, coordinateSpace): - if #available(macOS 14.0,iOS 17.0,watchOS 10.0,visionOS 1.0, *) { + if #available(iOS 17.0,visionOS 1.0,watchOS 10.0,macOS 14.0, *) { let count = count as! AttributeReference let coordinateSpace = coordinateSpace as! AnyCoordinateSpaceProtocol @@ -8946,13 +9865,16 @@ struct _overlayModifier: ViewModifier { enum Value { case _never - indirect case _0(alignment: AttributeReference = .init(storage: .constant(.center)), content: ViewReference=ViewReference(value: [])) + indirect case _0(overlay: InlineViewReference,alignment: AttributeReference = .init(storage: .constant(.center)) ) + + indirect case _1(alignment: AttributeReference = .init(storage: .constant(.center)), content: ViewReference=ViewReference(value: [])) - indirect case _1(style: AnyShapeStyle.Resolvable,edges: SwiftUICore.Edge.Set = .all ) + + indirect case _2(style: AnyShapeStyle.Resolvable,edges: SwiftUICore.Edge.Set = .all ) - indirect case _2(style: AnyShapeStyle.Resolvable,shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) + indirect case _3(style: AnyShapeStyle.Resolvable,shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) } @@ -8969,24 +9891,33 @@ struct _overlayModifier: ViewModifier { + + + + + init(_ overlay: InlineViewReference,alignment: AttributeReference = .init(storage: .constant(.center)) ) { + self.value = ._0(overlay: overlay, alignment: alignment) + + } + init(alignment: AttributeReference = .init(storage: .constant(.center)), content: ViewReference=ViewReference(value: [])) { - self.value = ._0(alignment: alignment, content: content) + self.value = ._1(alignment: alignment, content: content) } init(_ style: AnyShapeStyle.Resolvable,ignoresSafeAreaEdges edges: SwiftUICore.Edge.Set = .all ) { - self.value = ._1(style: style, edges: edges) + self.value = ._2(style: style, edges: edges) } init(_ style: AnyShapeStyle.Resolvable,in shape: AnyShape,fillStyle: SwiftUICore.FillStyle = FillStyle() ) { - self.value = ._2(style: style, shape: shape, fillStyle: fillStyle) + self.value = ._3(style: style, shape: shape, fillStyle: fillStyle) } @@ -8996,7 +9927,18 @@ struct _overlayModifier: ViewModifier { case ._never: fatalError("unreachable") - case let ._0(alignment, content): + case let ._0(overlay, alignment): + + + + __content + .overlay(overlay.resolve(on: element, in: context), alignment: alignment.resolve(on: element, in: context)) + + + + + + case let ._1(alignment, content): @@ -9007,7 +9949,7 @@ struct _overlayModifier: ViewModifier { - case let ._1(style, edges): + case let ._2(style, edges): @@ -9018,7 +9960,7 @@ struct _overlayModifier: ViewModifier { - case let ._2(style, shape, fillStyle): + case let ._3(style, shape, fillStyle): @@ -9334,7 +10276,7 @@ struct _pointerStyleModifier: ViewModifier { #if os(macOS) || os(visionOS) - @available(macOS 15.0,visionOS 2.0, *) + @available(visionOS 2.0,macOS 15.0, *) init(_ style: SwiftUI.PointerStyle?) { self.value = ._0(style: style) @@ -9347,7 +10289,7 @@ struct _pointerStyleModifier: ViewModifier { fatalError("unreachable") #if os(macOS) || os(visionOS) case let ._0(style): - if #available(macOS 15.0,visionOS 2.0, *) { + if #available(visionOS 2.0,macOS 15.0, *) { let style = style as? SwiftUI.PointerStyle __content @@ -9670,14 +10612,14 @@ struct _presentationBackgroundModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 13.3,iOS 16.4,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) + @available(tvOS 16.4,iOS 16.4,visionOS 1.0,macOS 13.3,watchOS 9.4, *) init(_ style: AnyShapeStyle.Resolvable) { self.value = ._0(style: style) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 13.3,iOS 16.4,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) + @available(tvOS 16.4,iOS 16.4,visionOS 1.0,macOS 13.3,watchOS 9.4, *) init(alignment: AttributeReference = .init(storage: .constant(.center)), content: ViewReference=ViewReference(value: [])) { self.value = ._1(alignment: alignment, content: content) @@ -9690,7 +10632,7 @@ struct _presentationBackgroundModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(style): - if #available(macOS 13.3,iOS 16.4,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) { + if #available(tvOS 16.4,iOS 16.4,visionOS 1.0,macOS 13.3,watchOS 9.4, *) { let style = style as! AnyShapeStyle.Resolvable __content @@ -9701,7 +10643,7 @@ struct _presentationBackgroundModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(alignment, content): - if #available(macOS 13.3,iOS 16.4,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) { + if #available(tvOS 16.4,iOS 16.4,visionOS 1.0,macOS 13.3,watchOS 9.4, *) { let alignment = alignment as! AttributeReference let content = content as! ViewReference @@ -9736,7 +10678,7 @@ struct _presentationBackgroundInteractionModifier: ViewModifier #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) + @available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) init(_ interaction: SwiftUI.PresentationBackgroundInteraction) { self.value = ._0(interaction: interaction) @@ -9749,7 +10691,7 @@ struct _presentationBackgroundInteractionModifier: ViewModifier fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(interaction): - if #available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) { + if #available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) { let interaction = interaction as! SwiftUI.PresentationBackgroundInteraction __content @@ -9788,14 +10730,14 @@ struct _presentationCompactAdaptationModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) + @available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) init(_ adaptation: SwiftUI.PresentationAdaptation) { self.value = ._0(adaptation: adaptation) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) + @available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) init(horizontal horizontalAdaptation: SwiftUI.PresentationAdaptation,vertical verticalAdaptation: SwiftUI.PresentationAdaptation) { self.value = ._1(horizontalAdaptation: horizontalAdaptation, verticalAdaptation: verticalAdaptation) @@ -9808,7 +10750,7 @@ struct _presentationCompactAdaptationModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(adaptation): - if #available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) { + if #available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) { let adaptation = adaptation as! SwiftUI.PresentationAdaptation __content @@ -9819,7 +10761,7 @@ struct _presentationCompactAdaptationModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(horizontalAdaptation, verticalAdaptation): - if #available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) { + if #available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) { let horizontalAdaptation = horizontalAdaptation as! SwiftUI.PresentationAdaptation let verticalAdaptation = verticalAdaptation as! SwiftUI.PresentationAdaptation @@ -9854,7 +10796,7 @@ struct _presentationContentInteractionModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) + @available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) init(_ behavior: SwiftUI.PresentationContentInteraction) { self.value = ._0(behavior: behavior) @@ -9867,7 +10809,7 @@ struct _presentationContentInteractionModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(behavior): - if #available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) { + if #available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) { let behavior = behavior as! SwiftUI.PresentationContentInteraction __content @@ -9901,7 +10843,7 @@ struct _presentationCornerRadiusModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) + @available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) init(_ cornerRadius: AttributeReference?) { self.value = ._0(cornerRadius: cornerRadius) @@ -9914,7 +10856,7 @@ struct _presentationCornerRadiusModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(cornerRadius): - if #available(visionOS 1.0,macOS 13.3,tvOS 16.4,iOS 16.4,watchOS 9.4, *) { + if #available(iOS 16.4,macOS 13.3,tvOS 16.4,watchOS 9.4,visionOS 1.0, *) { let cornerRadius = cornerRadius as? AttributeReference __content @@ -9995,7 +10937,7 @@ struct _presentationSizingModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) + @available(tvOS 18.0,visionOS 2.0,watchOS 11.0,macOS 15.0,iOS 18.0, *) init(_ sizing: AnyPresentationSizing) { self.value = ._0(sizing: sizing) @@ -10008,7 +10950,7 @@ struct _presentationSizingModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(sizing): - if #available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) { + if #available(tvOS 18.0,visionOS 2.0,watchOS 11.0,macOS 15.0,iOS 18.0, *) { let sizing = sizing as! AnyPresentationSizing __content @@ -10545,21 +11487,21 @@ struct _safeAreaPaddingModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ insets: SwiftUICore.EdgeInsets) { self.value = ._0(insets: insets) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ edges: SwiftUICore.Edge.Set = .all, _ length: AttributeReference? = .init(storage: .constant(nil)) ) { self.value = ._1(edges: edges, length: length) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ length: AttributeReference) { self.value = ._2(length: length) @@ -10572,7 +11514,7 @@ struct _safeAreaPaddingModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(insets): - if #available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let insets = insets as! SwiftUICore.EdgeInsets __content @@ -10583,7 +11525,7 @@ struct _safeAreaPaddingModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(edges, length): - if #available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let edges = edges as! SwiftUICore.Edge.Set let length = length as? AttributeReference @@ -10595,7 +11537,7 @@ let length = length as? AttributeReference #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._2(length): - if #available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let length = length as! AttributeReference __content @@ -11007,7 +11949,7 @@ struct _scrollBounceBehaviorModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 13.3,watchOS 9.4,tvOS 16.4,iOS 16.4,visionOS 1.0, *) + @available(tvOS 16.4,watchOS 9.4,iOS 16.4,visionOS 1.0,macOS 13.3, *) init(_ behavior: SwiftUI.ScrollBounceBehavior,axes: SwiftUICore.Axis.Set = [.vertical] ) { self.value = ._0(behavior: behavior, axes: axes) @@ -11020,7 +11962,7 @@ struct _scrollBounceBehaviorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(behavior, axes): - if #available(macOS 13.3,watchOS 9.4,tvOS 16.4,iOS 16.4,visionOS 1.0, *) { + if #available(tvOS 16.4,watchOS 9.4,iOS 16.4,visionOS 1.0,macOS 13.3, *) { let behavior = behavior as! SwiftUI.ScrollBounceBehavior let axes = axes as! SwiftUICore.Axis.Set @@ -11055,7 +11997,7 @@ struct _scrollClipDisabledModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) + @available(tvOS 17.0,watchOS 10.0,iOS 17.0,visionOS 1.0,macOS 14.0, *) init(_ disabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(disabled: disabled) @@ -11068,7 +12010,7 @@ struct _scrollClipDisabledModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(disabled): - if #available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) { + if #available(tvOS 17.0,watchOS 10.0,iOS 17.0,visionOS 1.0,macOS 14.0, *) { let disabled = disabled as! AttributeReference __content @@ -11102,7 +12044,7 @@ struct _scrollContentBackgroundModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 13.0,watchOS 9.0,iOS 16.0, *) + @available(visionOS 1.0,watchOS 9.0,macOS 13.0,iOS 16.0, *) init(_ visibility: AttributeReference) { self.value = ._0(visibility: visibility) @@ -11115,7 +12057,7 @@ struct _scrollContentBackgroundModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) case let ._0(visibility): - if #available(visionOS 1.0,macOS 13.0,watchOS 9.0,iOS 16.0, *) { + if #available(visionOS 1.0,watchOS 9.0,macOS 13.0,iOS 16.0, *) { let visibility = visibility as! AttributeReference __content @@ -11196,7 +12138,7 @@ struct _scrollDismissesKeyboardModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) - @available(macOS 13.0,watchOS 9.0,tvOS 16.0,iOS 16.0, *) + @available(tvOS 16.0,watchOS 9.0,iOS 16.0,macOS 13.0, *) init(_ mode: SwiftUI.ScrollDismissesKeyboardMode) { self.value = ._0(mode: mode) @@ -11209,7 +12151,7 @@ struct _scrollDismissesKeyboardModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) case let ._0(mode): - if #available(macOS 13.0,watchOS 9.0,tvOS 16.0,iOS 16.0, *) { + if #available(tvOS 16.0,watchOS 9.0,iOS 16.0,macOS 13.0, *) { let mode = mode as! SwiftUI.ScrollDismissesKeyboardMode __content @@ -11295,14 +12237,14 @@ struct _scrollIndicatorsFlashModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) + @available(tvOS 17.0,watchOS 10.0,iOS 17.0,visionOS 1.0,macOS 14.0, *) init(trigger value: AttributeReference) { self.value = ._0(value: value) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) + @available(tvOS 17.0,watchOS 10.0,iOS 17.0,visionOS 1.0,macOS 14.0, *) init(onAppear: AttributeReference) { self.value = ._1(onAppear: onAppear) @@ -11315,7 +12257,7 @@ struct _scrollIndicatorsFlashModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(value): - if #available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) { + if #available(tvOS 17.0,watchOS 10.0,iOS 17.0,visionOS 1.0,macOS 14.0, *) { let value = value as! AttributeReference __content @@ -11326,7 +12268,7 @@ struct _scrollIndicatorsFlashModifier: ViewModifier { #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(onAppear): - if #available(visionOS 1.0,macOS 14.0,tvOS 17.0,iOS 17.0,watchOS 10.0, *) { + if #available(tvOS 17.0,watchOS 10.0,iOS 17.0,visionOS 1.0,macOS 14.0, *) { let onAppear = onAppear as! AttributeReference __content @@ -11360,7 +12302,7 @@ struct _scrollPositionModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(id: ChangeTracked,anchor: AttributeReference? = .init(storage: .constant(nil)) ) { self.value = ._0(anchor: anchor) self.__0_id = id @@ -11373,7 +12315,7 @@ struct _scrollPositionModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(anchor): - if #available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let anchor = anchor as? AttributeReference __content @@ -11407,7 +12349,7 @@ struct _scrollTargetBehaviorModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) + @available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) init(_ behavior: AnyScrollTargetBehavior) { self.value = ._0(behavior: behavior) @@ -11420,7 +12362,7 @@ struct _scrollTargetBehaviorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(behavior): - if #available(macOS 14.0,watchOS 10.0,tvOS 17.0,iOS 17.0,visionOS 1.0, *) { + if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) { let behavior = behavior as! AnyScrollTargetBehavior __content @@ -11454,7 +12396,7 @@ struct _scrollTargetLayoutModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,iOS 17.0,watchOS 10.0,visionOS 1.0,tvOS 17.0, *) + @available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) init(isEnabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(isEnabled: isEnabled) @@ -11467,7 +12409,7 @@ struct _scrollTargetLayoutModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(isEnabled): - if #available(macOS 14.0,iOS 17.0,watchOS 10.0,visionOS 1.0,tvOS 17.0, *) { + if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) { let isEnabled = isEnabled as! AttributeReference __content @@ -11501,7 +12443,7 @@ struct _searchDictationBehaviorModifier: ViewModifier { #if os(iOS) || os(visionOS) - @available(visionOS 1.0,iOS 17.0, *) + @available(iOS 17.0,visionOS 1.0, *) init(_ dictationBehavior: SwiftUI.TextInputDictationBehavior) { self.value = ._0(dictationBehavior: dictationBehavior) @@ -11514,7 +12456,7 @@ struct _searchDictationBehaviorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(visionOS) case let ._0(dictationBehavior): - if #available(visionOS 1.0,iOS 17.0, *) { + if #available(iOS 17.0,visionOS 1.0, *) { let dictationBehavior = dictationBehavior as! SwiftUI.TextInputDictationBehavior __content @@ -11548,7 +12490,7 @@ struct _searchPresentationToolbarBehaviorModifier: ViewModifier #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 14.1,tvOS 17.1,iOS 17.1,watchOS 10.1, *) + @available(tvOS 17.1,watchOS 10.1,visionOS 1.0,macOS 14.1,iOS 17.1, *) init(_ behavior: SwiftUI.SearchPresentationToolbarBehavior) { self.value = ._0(behavior: behavior) @@ -11561,7 +12503,7 @@ struct _searchPresentationToolbarBehaviorModifier: ViewModifier fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(behavior): - if #available(visionOS 1.0,macOS 14.1,tvOS 17.1,iOS 17.1,watchOS 10.1, *) { + if #available(tvOS 17.1,watchOS 10.1,visionOS 1.0,macOS 14.1,iOS 17.1, *) { let behavior = behavior as! SwiftUI.SearchPresentationToolbarBehavior __content @@ -11668,6 +12610,15 @@ struct _searchableModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) indirect case _5(placement: Any, prompt: Any) #endif + + indirect case _6(placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: TextReference? = nil, suggestions: ViewReference=ViewReference(value: [])) + + + indirect case _7(placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: SwiftUICore.LocalizedStringKey,suggestions: ViewReference=ViewReference(value: [])) + + + indirect case _8(placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: AttributeReference,suggestions: ViewReference=ViewReference(value: [])) + } let value: Value @@ -11691,6 +12642,12 @@ struct _searchableModifier: ViewModifier { @ChangeTracked private var _5_text: Swift.String @ChangeTracked private var _5_isPresented: Swift.Bool +@ChangeTracked private var _6_text: Swift.String + +@ChangeTracked private var _7_text: Swift.String + +@ChangeTracked private var _8_text: Swift.String + @@ -11714,7 +12671,7 @@ struct _searchableModifier: ViewModifier { } #if os(iOS) || os(macOS) || os(visionOS) - @available(iOS 17.0,visionOS 1.0,macOS 14.0, *) + @available(visionOS 1.0,iOS 17.0,macOS 14.0, *) init(text: ChangeTracked,isPresented: ChangeTracked,placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: TextReference? = nil ) { self.value = ._3(placement: placement, prompt: prompt) self.__3_text = text @@ -11722,7 +12679,7 @@ self.__3_isPresented = isPresented } #endif #if os(iOS) || os(macOS) || os(visionOS) - @available(iOS 17.0,visionOS 1.0,macOS 14.0, *) + @available(visionOS 1.0,iOS 17.0,macOS 14.0, *) init(text: ChangeTracked,isPresented: ChangeTracked,placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: SwiftUICore.LocalizedStringKey) { self.value = ._4(placement: placement, prompt: prompt) self.__4_text = text @@ -11730,13 +12687,34 @@ self.__4_isPresented = isPresented } #endif #if os(iOS) || os(macOS) || os(visionOS) - @available(iOS 17.0,visionOS 1.0,macOS 14.0, *) + @available(visionOS 1.0,iOS 17.0,macOS 14.0, *) init(text: ChangeTracked,isPresented: ChangeTracked,placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: AttributeReference) { self.value = ._5(placement: placement, prompt: prompt) self.__5_text = text self.__5_isPresented = isPresented } #endif + + + init(text: ChangeTracked,placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: TextReference? = nil, suggestions: ViewReference=ViewReference(value: [])) { + self.value = ._6(placement: placement, prompt: prompt, suggestions: suggestions) + self.__6_text = text + } + + + + init(text: ChangeTracked,placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: SwiftUICore.LocalizedStringKey,suggestions: ViewReference=ViewReference(value: [])) { + self.value = ._7(placement: placement, prompt: prompt, suggestions: suggestions) + self.__7_text = text + } + + + + init(text: ChangeTracked,placement: SwiftUI.SearchFieldPlacement = .automatic, prompt: AttributeReference,suggestions: ViewReference=ViewReference(value: [])) { + self.value = ._8(placement: placement, prompt: prompt, suggestions: suggestions) + self.__8_text = text + } + func body(content __content: Content) -> some View { switch value { @@ -11777,7 +12755,7 @@ self.__5_isPresented = isPresented #if os(iOS) || os(macOS) || os(visionOS) case let ._3(placement, prompt): - if #available(iOS 17.0,visionOS 1.0,macOS 14.0, *) { + if #available(visionOS 1.0,iOS 17.0,macOS 14.0, *) { let placement = placement as! SwiftUI.SearchFieldPlacement let prompt = prompt as? TextReference __content._observeTextReference(prompt, on: element, in: context) { __content in @@ -11789,7 +12767,7 @@ let prompt = prompt as? TextReference #endif #if os(iOS) || os(macOS) || os(visionOS) case let ._4(placement, prompt): - if #available(iOS 17.0,visionOS 1.0,macOS 14.0, *) { + if #available(visionOS 1.0,iOS 17.0,macOS 14.0, *) { let placement = placement as! SwiftUI.SearchFieldPlacement let prompt = prompt as! SwiftUICore.LocalizedStringKey @@ -11801,7 +12779,7 @@ let prompt = prompt as! SwiftUICore.LocalizedStringKey #endif #if os(iOS) || os(macOS) || os(visionOS) case let ._5(placement, prompt): - if #available(iOS 17.0,visionOS 1.0,macOS 14.0, *) { + if #available(visionOS 1.0,iOS 17.0,macOS 14.0, *) { let placement = placement as! SwiftUI.SearchFieldPlacement let prompt = prompt as! AttributeReference @@ -11811,6 +12789,39 @@ let prompt = prompt as! AttributeReference } else { __content } #endif + + case let ._6(placement, prompt, suggestions): + + + __content._observeTextReference(prompt, on: element, in: context) { __content in + __content + .searchable(text: __6_text.projectedValue, placement: placement, prompt: prompt?.resolve(on: element, in: context), suggestions: { suggestions.resolve(on: element, in: context) }) + } + + + + + case let ._7(placement, prompt, suggestions): + + + + __content + .searchable(text: __7_text.projectedValue, placement: placement, prompt: prompt, suggestions: { suggestions.resolve(on: element, in: context) }) + + + + + + case let ._8(placement, prompt, suggestions): + + + + __content + .searchable(text: __8_text.projectedValue, placement: placement, prompt: prompt.resolve(on: element, in: context), suggestions: { suggestions.resolve(on: element, in: context) }) + + + + } } } @@ -11836,7 +12847,7 @@ struct _sectionActionsModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 15.0,iOS 18.0,visionOS 2.0, *) + @available(iOS 18.0,visionOS 2.0,macOS 15.0, *) init(content: ViewReference=ViewReference(value: [])) { self.value = ._0(content: content) @@ -11849,7 +12860,7 @@ struct _sectionActionsModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(content): - if #available(macOS 15.0,iOS 18.0,visionOS 2.0, *) { + if #available(iOS 18.0,visionOS 2.0,macOS 15.0, *) { let content = content as! ViewReference __content @@ -11883,7 +12894,7 @@ struct _selectionDisabledModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,macOS 14.0,iOS 17.0,visionOS 1.0,tvOS 17.0, *) + @available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) init(_ isDisabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(isDisabled: isDisabled) @@ -11896,7 +12907,7 @@ struct _selectionDisabledModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(isDisabled): - if #available(watchOS 10.0,macOS 14.0,iOS 17.0,visionOS 1.0,tvOS 17.0, *) { + if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) { let isDisabled = isDisabled as! AttributeReference __content @@ -12049,7 +13060,7 @@ struct _simultaneousGestureModifier: ViewModifier { } #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 11.0,iOS 18.0,visionOS 2.0,tvOS 18.0,macOS 15.0, *) + @available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) init(_ gesture: _AnyGesture,name: AttributeReference,isEnabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._2(gesture: gesture, name: name, isEnabled: isEnabled) @@ -12084,7 +13095,7 @@ struct _simultaneousGestureModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._2(gesture, name, isEnabled): - if #available(watchOS 11.0,iOS 18.0,visionOS 2.0,tvOS 18.0,macOS 15.0, *) { + if #available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) { let gesture = gesture as! _AnyGesture let name = name as! AttributeReference let isEnabled = isEnabled as! AttributeReference @@ -12283,6 +13294,53 @@ struct _speechSpellsOutCharactersModifier: ViewModifier { + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _statusBarModifier: ViewModifier { + static var name: String { "statusBar" } + + enum Value { + case _never + #if os(iOS) || os(visionOS) + indirect case _0(hidden: Any) + #endif + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + #if os(iOS) || os(visionOS) + @available(iOS 16.0,visionOS 1.0, *) + init(hidden: AttributeReference) { + self.value = ._0(hidden: hidden) + + } + #endif + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + #if os(iOS) || os(visionOS) + case let ._0(hidden): + if #available(iOS 16.0,visionOS 1.0, *) { + let hidden = hidden as! AttributeReference + + __content + .statusBar(hidden: hidden.resolve(on: element, in: context)) + + + } else { __content } + #endif } } } @@ -12308,7 +13366,7 @@ struct _statusBarHiddenModifier: ViewModifier { #if os(iOS) || os(visionOS) - @available(visionOS 1.0,iOS 13.0, *) + @available(iOS 13.0,visionOS 1.0, *) init(_ hidden: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(hidden: hidden) @@ -12321,7 +13379,7 @@ struct _statusBarHiddenModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(visionOS) case let ._0(hidden): - if #available(visionOS 1.0,iOS 13.0, *) { + if #available(iOS 13.0,visionOS 1.0, *) { let hidden = hidden as! AttributeReference __content @@ -12496,7 +13554,7 @@ struct _swipeActionsModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,macOS 12.0,watchOS 8.0,iOS 15.0, *) + @available(iOS 15.0,watchOS 8.0,visionOS 1.0,macOS 12.0, *) init(edge: SwiftUICore.HorizontalEdge = .trailing, allowsFullSwipe: AttributeReference = .init(storage: .constant(true)), content: ViewReference=ViewReference(value: [])) { self.value = ._0(edge: edge, allowsFullSwipe: allowsFullSwipe, content: content) @@ -12509,7 +13567,7 @@ struct _swipeActionsModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) case let ._0(edge, allowsFullSwipe, content): - if #available(visionOS 1.0,macOS 12.0,watchOS 8.0,iOS 15.0, *) { + if #available(iOS 15.0,watchOS 8.0,visionOS 1.0,macOS 12.0, *) { let edge = edge as! SwiftUICore.HorizontalEdge let allowsFullSwipe = allowsFullSwipe as! AttributeReference let content = content as! ViewReference @@ -12550,14 +13608,14 @@ struct _symbolEffectModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) + @available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) init(_ effect: AnyIndefiniteSymbolEffect,options: Symbols.SymbolEffectOptions = .default, isActive: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(effect: effect, options: options, isActive: isActive) } #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) + @available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) init(_ effect: AnyDiscreteSymbolEffect,options: Symbols.SymbolEffectOptions = .default, value: AttributeReference) { self.value = ._1(effect: effect, options: options, value: value) @@ -12570,7 +13628,7 @@ struct _symbolEffectModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(effect, options, isActive): - if #available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) { + if #available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) { let effect = effect as! AnyIndefiniteSymbolEffect let options = options as! Symbols.SymbolEffectOptions let isActive = isActive as! AttributeReference @@ -12583,7 +13641,7 @@ let isActive = isActive as! AttributeReference #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._1(effect, options, value): - if #available(watchOS 10.0,visionOS 1.0,iOS 17.0,macOS 14.0,tvOS 17.0, *) { + if #available(iOS 17.0,watchOS 10.0,macOS 14.0,tvOS 17.0,visionOS 1.0, *) { let effect = effect as! AnyDiscreteSymbolEffect let options = options as! Symbols.SymbolEffectOptions let value = value as! AttributeReference @@ -12619,7 +13677,7 @@ struct _symbolEffectsRemovedModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,macOS 14.0,iOS 17.0,visionOS 1.0,tvOS 17.0, *) + @available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) init(_ isEnabled: AttributeReference = .init(storage: .constant(true)) ) { self.value = ._0(isEnabled: isEnabled) @@ -12632,7 +13690,7 @@ struct _symbolEffectsRemovedModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(isEnabled): - if #available(watchOS 10.0,macOS 14.0,iOS 17.0,visionOS 1.0,tvOS 17.0, *) { + if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) { let isEnabled = isEnabled as! AttributeReference __content @@ -12735,6 +13793,53 @@ struct _symbolVariantModifier: ViewModifier { + } + } +} +@_documentation(visibility: public) +@ParseableExpression +struct _tabItemModifier: ViewModifier { + static var name: String { "tabItem" } + + enum Value { + case _never + + indirect case _0(label: ViewReference=ViewReference(value: [])) + + } + + let value: Value + + @ObservedElement private var element + @LiveContext private var context + + + + + + + + init(_ label: ViewReference=ViewReference(value: [])) { + self.value = ._0(label: label) + + } + + + func body(content __content: Content) -> some View { + switch value { + case ._never: + fatalError("unreachable") + + case let ._0(label): + + + + __content + .tabItem({ label.resolve(on: element, in: context) }) + + + + } } } @@ -12760,7 +13865,7 @@ struct _tabViewSidebarBottomBarModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 15.0,iOS 18.0,visionOS 2.0, *) + @available(iOS 18.0,macOS 15.0,visionOS 2.0, *) init(content: ViewReference=ViewReference(value: [])) { self.value = ._0(content: content) @@ -12773,7 +13878,7 @@ struct _tabViewSidebarBottomBarModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(content): - if #available(macOS 15.0,iOS 18.0,visionOS 2.0, *) { + if #available(iOS 18.0,macOS 15.0,visionOS 2.0, *) { let content = content as! ViewReference __content @@ -12807,7 +13912,7 @@ struct _tabViewSidebarFooterModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 15.0,iOS 18.0,visionOS 2.0, *) + @available(iOS 18.0,macOS 15.0,visionOS 2.0, *) init(content: ViewReference=ViewReference(value: [])) { self.value = ._0(content: content) @@ -12820,7 +13925,7 @@ struct _tabViewSidebarFooterModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(content): - if #available(macOS 15.0,iOS 18.0,visionOS 2.0, *) { + if #available(iOS 18.0,macOS 15.0,visionOS 2.0, *) { let content = content as! ViewReference __content @@ -12854,7 +13959,7 @@ struct _tabViewSidebarHeaderModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 15.0,iOS 18.0,visionOS 2.0, *) + @available(iOS 18.0,macOS 15.0,visionOS 2.0, *) init(content: ViewReference=ViewReference(value: [])) { self.value = ._0(content: content) @@ -12867,7 +13972,7 @@ struct _tabViewSidebarHeaderModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(content): - if #available(macOS 15.0,iOS 18.0,visionOS 2.0, *) { + if #available(iOS 18.0,macOS 15.0,visionOS 2.0, *) { let content = content as! ViewReference __content @@ -12948,7 +14053,7 @@ struct _tableStyleModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 12.0,iOS 16.0,visionOS 1.0, *) + @available(iOS 16.0,visionOS 1.0,macOS 12.0, *) init(_ style: AnyTableStyle) { self.value = ._0(style: style) @@ -12961,7 +14066,7 @@ struct _tableStyleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(style): - if #available(macOS 12.0,iOS 16.0,visionOS 1.0, *) { + if #available(iOS 16.0,visionOS 1.0,macOS 12.0, *) { let style = style as! AnyTableStyle __content @@ -13042,7 +14147,7 @@ struct _textContentTypeModifier: ViewModifier { #if os(iOS) || os(tvOS) || os(visionOS) - @available(visionOS 1.0,tvOS 13.0,iOS 13.0, *) + @available(iOS 13.0,tvOS 13.0,visionOS 1.0, *) init(_ textContentType: UIKit.UITextContentType?) { self.value = ._0(textContentType: textContentType) @@ -13055,7 +14160,7 @@ struct _textContentTypeModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(tvOS) || os(visionOS) case let ._0(textContentType): - if #available(visionOS 1.0,tvOS 13.0,iOS 13.0, *) { + if #available(iOS 13.0,tvOS 13.0,visionOS 1.0, *) { let textContentType = textContentType as? UIKit.UITextContentType __content @@ -13089,7 +14194,7 @@ struct _textEditorStyleModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(macOS 14.0,iOS 17.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 14.0,visionOS 1.0, *) init(_ style: AnyTextEditorStyle) { self.value = ._0(style: style) @@ -13102,7 +14207,7 @@ struct _textEditorStyleModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(style): - if #available(macOS 14.0,iOS 17.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 14.0,visionOS 1.0, *) { let style = style as! AnyTextEditorStyle __content @@ -13183,7 +14288,7 @@ struct _textInputAutocapitalizationModifier: ViewModifier { #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 1.0,watchOS 8.0,tvOS 15.0,iOS 15.0, *) + @available(iOS 15.0,watchOS 8.0,tvOS 15.0,visionOS 1.0, *) init(_ autocapitalization: SwiftUI.TextInputAutocapitalization?) { self.value = ._0(autocapitalization: autocapitalization) @@ -13196,7 +14301,7 @@ struct _textInputAutocapitalizationModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(autocapitalization): - if #available(visionOS 1.0,watchOS 8.0,tvOS 15.0,iOS 15.0, *) { + if #available(iOS 15.0,watchOS 8.0,tvOS 15.0,visionOS 1.0, *) { let autocapitalization = autocapitalization as? SwiftUI.TextInputAutocapitalization __content @@ -13324,7 +14429,7 @@ struct _textSelectionModifier: ViewModifier { #if os(iOS) || os(macOS) || os(visionOS) - @available(iOS 15.0,visionOS 1.0,macOS 12.0, *) + @available(macOS 12.0,visionOS 1.0,iOS 15.0, *) init(_ selectability: AnyTextSelectability) { self.value = ._0(selectability: selectability) @@ -13337,7 +14442,7 @@ struct _textSelectionModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(visionOS) case let ._0(selectability): - if #available(iOS 15.0,visionOS 1.0,macOS 12.0, *) { + if #available(macOS 12.0,visionOS 1.0,iOS 15.0, *) { let selectability = selectability as! AnyTextSelectability __content @@ -13371,7 +14476,7 @@ struct _textSelectionAffinityModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(visionOS 2.0,macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) + @available(tvOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0,iOS 18.0, *) init(_ affinity: SwiftUI.TextSelectionAffinity) { self.value = ._0(affinity: affinity) @@ -13384,7 +14489,7 @@ struct _textSelectionAffinityModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(affinity): - if #available(visionOS 2.0,macOS 15.0,tvOS 18.0,iOS 18.0,watchOS 11.0, *) { + if #available(tvOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0,iOS 18.0, *) { let affinity = affinity as! SwiftUI.TextSelectionAffinity __content @@ -13520,14 +14625,17 @@ struct _toolbarModifier: ViewModifier { enum Value { case _never + + indirect case _0(visibility: AttributeReference,bars: SwiftUI.ToolbarPlacement) + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - indirect case _0(defaultItemKind: Any?) + indirect case _1(defaultItemKind: Any?) #endif - indirect case _2(content: ToolbarContentReference=ToolbarContentReference(value: [])) + indirect case _3(content: ToolbarContentReference=ToolbarContentReference(value: [])) - indirect case _3(id: AttributeReference,content: CustomizableToolbarContentReference=CustomizableToolbarContentReference(value: [])) + indirect case _4(id: AttributeReference,content: CustomizableToolbarContentReference=CustomizableToolbarContentReference(value: [])) } @@ -13544,24 +14652,33 @@ struct _toolbarModifier: ViewModifier { + + + + + init(_ visibility: AttributeReference,for bars: SwiftUI.ToolbarPlacement) { + self.value = ._0(visibility: visibility, bars: bars) + + } + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(watchOS 10.0,iOS 17.0,visionOS 1.0,tvOS 17.0,macOS 14.0, *) + @available(watchOS 10.0,iOS 17.0,macOS 14.0,visionOS 1.0,tvOS 17.0, *) init(removing defaultItemKind: SwiftUI.ToolbarDefaultItemKind?) { - self.value = ._0(defaultItemKind: defaultItemKind) + self.value = ._1(defaultItemKind: defaultItemKind) } #endif init(content: ToolbarContentReference=ToolbarContentReference(value: [])) { - self.value = ._2(content: content) + self.value = ._3(content: content) } init(id: AttributeReference,content: CustomizableToolbarContentReference=CustomizableToolbarContentReference(value: [])) { - self.value = ._3(id: id, content: content) + self.value = ._4(id: id, content: content) } @@ -13570,9 +14687,20 @@ struct _toolbarModifier: ViewModifier { switch value { case ._never: fatalError("unreachable") + + case let ._0(visibility, bars): + + + + __content + .toolbar(visibility.resolve(on: element, in: context), for: bars) + + + + #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - case let ._0(defaultItemKind): - if #available(watchOS 10.0,iOS 17.0,visionOS 1.0,tvOS 17.0,macOS 14.0, *) { + case let ._1(defaultItemKind): + if #available(watchOS 10.0,iOS 17.0,macOS 14.0,visionOS 1.0,tvOS 17.0, *) { let defaultItemKind = defaultItemKind as? SwiftUI.ToolbarDefaultItemKind __content @@ -13582,7 +14710,7 @@ struct _toolbarModifier: ViewModifier { } else { __content } #endif - case let ._2(content): + case let ._3(content): @@ -13593,7 +14721,7 @@ struct _toolbarModifier: ViewModifier { - case let ._3(id, content): + case let ._4(id, content): @@ -13616,6 +14744,9 @@ struct _toolbarBackgroundModifier: ViewModifier { indirect case _0(style: AnyShapeStyle.Resolvable,bars: SwiftUI.ToolbarPlacement) + + indirect case _1(visibility: AttributeReference,bars: SwiftUI.ToolbarPlacement) + } let value: Value @@ -13627,6 +14758,8 @@ struct _toolbarBackgroundModifier: ViewModifier { + + init(_ style: AnyShapeStyle.Resolvable,for bars: SwiftUI.ToolbarPlacement) { @@ -13634,6 +14767,13 @@ struct _toolbarBackgroundModifier: ViewModifier { } + + + init(_ visibility: AttributeReference,for bars: SwiftUI.ToolbarPlacement) { + self.value = ._1(visibility: visibility, bars: bars) + + } + func body(content __content: Content) -> some View { switch value { @@ -13650,6 +14790,17 @@ struct _toolbarBackgroundModifier: ViewModifier { + + case let ._1(visibility, bars): + + + + __content + .toolbarBackground(visibility.resolve(on: element, in: context), for: bars) + + + + } } } @@ -13675,7 +14826,7 @@ struct _toolbarBackgroundVisibilityModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) + @available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) init(_ visibility: AttributeReference,for bars: SwiftUI.ToolbarPlacement) { self.value = ._0(visibility: visibility, bars: bars) @@ -13688,7 +14839,7 @@ struct _toolbarBackgroundVisibilityModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(visibility, bars): - if #available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) { + if #available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) { let visibility = visibility as! AttributeReference let bars = bars as! SwiftUI.ToolbarPlacement @@ -13864,7 +15015,7 @@ struct _toolbarTitleDisplayModeModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) + @available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) init(_ mode: SwiftUI.ToolbarTitleDisplayMode) { self.value = ._0(mode: mode) @@ -13877,7 +15028,7 @@ struct _toolbarTitleDisplayModeModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(mode): - if #available(macOS 14.0,iOS 17.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { + if #available(iOS 17.0,macOS 14.0,tvOS 17.0,watchOS 10.0,visionOS 1.0, *) { let mode = mode as! SwiftUI.ToolbarTitleDisplayMode __content @@ -13958,7 +15109,7 @@ struct _toolbarVisibilityModifier: ViewModifier { #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) + @available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) init(_ visibility: AttributeReference,for bars: SwiftUI.ToolbarPlacement) { self.value = ._0(visibility: visibility, bars: bars) @@ -13971,7 +15122,7 @@ struct _toolbarVisibilityModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(visibility, bars): - if #available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) { + if #available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) { let visibility = visibility as! AttributeReference let bars = bars as! SwiftUI.ToolbarPlacement @@ -14617,7 +15768,7 @@ struct _windowToolbarFullScreenVisibilityModifier: ViewModifier #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) - @available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) + @available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) init(_ visibility: SwiftUI.WindowToolbarFullScreenVisibility) { self.value = ._0(visibility: visibility) @@ -14630,7 +15781,7 @@ struct _windowToolbarFullScreenVisibilityModifier: ViewModifier fatalError("unreachable") #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) case let ._0(visibility): - if #available(macOS 15.0,watchOS 11.0,tvOS 18.0,iOS 18.0,visionOS 2.0, *) { + if #available(iOS 18.0,macOS 15.0,tvOS 18.0,watchOS 11.0,visionOS 2.0, *) { let visibility = visibility as! SwiftUI.WindowToolbarFullScreenVisibility __content @@ -14664,7 +15815,7 @@ struct _writingToolsBehaviorModifier: ViewModifier { #if os(iOS) || os(macOS) - @available(iOS 18.0,macOS 15.0, *) + @available(macOS 15.0,iOS 18.0, *) init(_ behavior: SwiftUI.WritingToolsBehavior) { self.value = ._0(behavior: behavior) @@ -14677,7 +15828,7 @@ struct _writingToolsBehaviorModifier: ViewModifier { fatalError("unreachable") #if os(iOS) || os(macOS) case let ._0(behavior): - if #available(iOS 18.0,macOS 15.0, *) { + if #available(macOS 15.0,iOS 18.0, *) { let behavior = behavior as! SwiftUI.WritingToolsBehavior __content @@ -14739,7 +15890,8 @@ struct _zIndexModifier: ViewModifier { extension BuiltinRegistry { enum _BuiltinModifierChunk0: ViewModifier { - indirect case accessibilityAction(_accessibilityActionModifier) + indirect case accentColor(_accentColorModifier) +indirect case accessibilityAction(_accessibilityActionModifier) indirect case accessibilityActions(_accessibilityActionsModifier) indirect case accessibilityChildren(_accessibilityChildrenModifier) indirect case accessibilityIgnoresInvertColors(_accessibilityIgnoresInvertColorsModifier) @@ -14751,12 +15903,13 @@ indirect case allowsTightening(_allowsTighteningModifier) indirect case allowsWindowActivationEvents(_allowsWindowActivationEventsModifier) indirect case animation(_animationModifier) indirect case aspectRatio(_aspectRatioModifier) -indirect case autocorrectionDisabled(_autocorrectionDisabledModifier) -indirect case background(_backgroundModifier) +indirect case autocapitalization(_autocapitalizationModifier) func body(content: Content) -> some View { switch self { - case let .accessibilityAction(modifier): + case let .accentColor(modifier): + content.modifier(modifier) +case let .accessibilityAction(modifier): content.modifier(modifier) case let .accessibilityActions(modifier): content.modifier(modifier) @@ -14780,9 +15933,7 @@ case let .animation(modifier): content.modifier(modifier) case let .aspectRatio(modifier): content.modifier(modifier) -case let .autocorrectionDisabled(modifier): - content.modifier(modifier) -case let .background(modifier): +case let .autocapitalization(modifier): content.modifier(modifier) } } @@ -14790,7 +15941,9 @@ case let .background(modifier): } extension BuiltinRegistry { enum _BuiltinModifierChunk1: ViewModifier { - indirect case backgroundStyle(_backgroundStyleModifier) + indirect case autocorrectionDisabled(_autocorrectionDisabledModifier) +indirect case background(_backgroundModifier) +indirect case backgroundStyle(_backgroundStyleModifier) indirect case badge(_badgeModifier) indirect case badgeProminence(_badgeProminenceModifier) indirect case blendMode(_blendModeModifier) @@ -14802,12 +15955,14 @@ indirect case buttonStyle(_buttonStyleModifier) indirect case clipShape(_clipShapeModifier) indirect case clipped(_clippedModifier) indirect case colorInvert(_colorInvertModifier) -indirect case colorMultiply(_colorMultiplyModifier) -indirect case compositingGroup(_compositingGroupModifier) func body(content: Content) -> some View { switch self { - case let .backgroundStyle(modifier): + case let .autocorrectionDisabled(modifier): + content.modifier(modifier) +case let .background(modifier): + content.modifier(modifier) +case let .backgroundStyle(modifier): content.modifier(modifier) case let .badge(modifier): content.modifier(modifier) @@ -14830,10 +15985,6 @@ case let .clipShape(modifier): case let .clipped(modifier): content.modifier(modifier) case let .colorInvert(modifier): - content.modifier(modifier) -case let .colorMultiply(modifier): - content.modifier(modifier) -case let .compositingGroup(modifier): content.modifier(modifier) } } @@ -14841,7 +15992,10 @@ case let .compositingGroup(modifier): } extension BuiltinRegistry { enum _BuiltinModifierChunk2: ViewModifier { - indirect case confirmationDialog(_confirmationDialogModifier) + indirect case colorMultiply(_colorMultiplyModifier) +indirect case colorScheme(_colorSchemeModifier) +indirect case compositingGroup(_compositingGroupModifier) +indirect case confirmationDialog(_confirmationDialogModifier) indirect case containerRelativeFrame(_containerRelativeFrameModifier) indirect case containerShape(_containerShapeModifier) indirect case contentMargins(_contentMarginsModifier) @@ -14852,13 +16006,16 @@ indirect case contrast(_contrastModifier) indirect case controlGroupStyle(_controlGroupStyleModifier) indirect case controlSize(_controlSizeModifier) indirect case coordinateSpace(_coordinateSpaceModifier) -indirect case datePickerStyle(_datePickerStyleModifier) -indirect case defaultAdaptableTabBarPlacement(_defaultAdaptableTabBarPlacementModifier) -indirect case defaultHoverEffect(_defaultHoverEffectModifier) func body(content: Content) -> some View { switch self { - case let .confirmationDialog(modifier): + case let .colorMultiply(modifier): + content.modifier(modifier) +case let .colorScheme(modifier): + content.modifier(modifier) +case let .compositingGroup(modifier): + content.modifier(modifier) +case let .confirmationDialog(modifier): content.modifier(modifier) case let .containerRelativeFrame(modifier): content.modifier(modifier) @@ -14879,12 +16036,6 @@ case let .controlGroupStyle(modifier): case let .controlSize(modifier): content.modifier(modifier) case let .coordinateSpace(modifier): - content.modifier(modifier) -case let .datePickerStyle(modifier): - content.modifier(modifier) -case let .defaultAdaptableTabBarPlacement(modifier): - content.modifier(modifier) -case let .defaultHoverEffect(modifier): content.modifier(modifier) } } @@ -14892,64 +16043,109 @@ case let .defaultHoverEffect(modifier): } extension BuiltinRegistry { enum _BuiltinModifierChunk3: ViewModifier { - indirect case defaultScrollAnchor(_defaultScrollAnchorModifier) + indirect case cornerRadius(_cornerRadiusModifier) +indirect case datePickerStyle(_datePickerStyleModifier) +indirect case defaultAdaptableTabBarPlacement(_defaultAdaptableTabBarPlacementModifier) +indirect case defaultHoverEffect(_defaultHoverEffectModifier) +indirect case defaultScrollAnchor(_defaultScrollAnchorModifier) indirect case defaultWheelPickerItemHeight(_defaultWheelPickerItemHeightModifier) indirect case defersSystemGestures(_defersSystemGesturesModifier) indirect case deleteDisabled(_deleteDisabledModifier) indirect case dialogSuppressionToggle(_dialogSuppressionToggleModifier) indirect case digitalCrownAccessory(_digitalCrownAccessoryModifier) +indirect case disableAutocorrection(_disableAutocorrectionModifier) indirect case disabled(_disabledModifier) +indirect case disclosureGroupStyle(_disclosureGroupStyleModifier) indirect case dismissalConfirmationDialog(_dismissalConfirmationDialogModifier) -indirect case drawingGroup(_drawingGroupModifier) + + func body(content: Content) -> some View { + switch self { + case let .cornerRadius(modifier): + content.modifier(modifier) +case let .datePickerStyle(modifier): + content.modifier(modifier) +case let .defaultAdaptableTabBarPlacement(modifier): + content.modifier(modifier) +case let .defaultHoverEffect(modifier): + content.modifier(modifier) +case let .defaultScrollAnchor(modifier): + content.modifier(modifier) +case let .defaultWheelPickerItemHeight(modifier): + content.modifier(modifier) +case let .defersSystemGestures(modifier): + content.modifier(modifier) +case let .deleteDisabled(modifier): + content.modifier(modifier) +case let .dialogSuppressionToggle(modifier): + content.modifier(modifier) +case let .digitalCrownAccessory(modifier): + content.modifier(modifier) +case let .disableAutocorrection(modifier): + content.modifier(modifier) +case let .disabled(modifier): + content.modifier(modifier) +case let .disclosureGroupStyle(modifier): + content.modifier(modifier) +case let .dismissalConfirmationDialog(modifier): + content.modifier(modifier) + } + } + } +} +extension BuiltinRegistry { + enum _BuiltinModifierChunk4: ViewModifier { + indirect case drawingGroup(_drawingGroupModifier) indirect case dynamicTypeSize(_dynamicTypeSizeModifier) +indirect case edgesIgnoringSafeArea(_edgesIgnoringSafeAreaModifier) indirect case fileDialogCustomizationID(_fileDialogCustomizationIDModifier) indirect case fileDialogImportsUnresolvedAliases(_fileDialogImportsUnresolvedAliasesModifier) indirect case findDisabled(_findDisabledModifier) indirect case findNavigator(_findNavigatorModifier) +indirect case fixedSize(_fixedSizeModifier) +indirect case flipsForRightToLeftLayoutDirection(_flipsForRightToLeftLayoutDirectionModifier) +indirect case focusEffectDisabled(_focusEffectDisabledModifier) +indirect case focusSection(_focusSectionModifier) +indirect case focusable(_focusableModifier) +indirect case foregroundColor(_foregroundColorModifier) +indirect case formStyle(_formStyleModifier) func body(content: Content) -> some View { switch self { - case let .defaultScrollAnchor(modifier): + case let .drawingGroup(modifier): content.modifier(modifier) -case let .defaultWheelPickerItemHeight(modifier): +case let .dynamicTypeSize(modifier): content.modifier(modifier) -case let .defersSystemGestures(modifier): +case let .edgesIgnoringSafeArea(modifier): content.modifier(modifier) -case let .deleteDisabled(modifier): +case let .fileDialogCustomizationID(modifier): content.modifier(modifier) -case let .dialogSuppressionToggle(modifier): +case let .fileDialogImportsUnresolvedAliases(modifier): content.modifier(modifier) -case let .digitalCrownAccessory(modifier): +case let .findDisabled(modifier): content.modifier(modifier) -case let .disabled(modifier): +case let .findNavigator(modifier): content.modifier(modifier) -case let .dismissalConfirmationDialog(modifier): +case let .fixedSize(modifier): content.modifier(modifier) -case let .drawingGroup(modifier): +case let .flipsForRightToLeftLayoutDirection(modifier): content.modifier(modifier) -case let .dynamicTypeSize(modifier): +case let .focusEffectDisabled(modifier): content.modifier(modifier) -case let .fileDialogCustomizationID(modifier): +case let .focusSection(modifier): content.modifier(modifier) -case let .fileDialogImportsUnresolvedAliases(modifier): +case let .focusable(modifier): content.modifier(modifier) -case let .findDisabled(modifier): +case let .foregroundColor(modifier): content.modifier(modifier) -case let .findNavigator(modifier): +case let .formStyle(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk4: ViewModifier { - indirect case fixedSize(_fixedSizeModifier) -indirect case flipsForRightToLeftLayoutDirection(_flipsForRightToLeftLayoutDirectionModifier) -indirect case focusEffectDisabled(_focusEffectDisabledModifier) -indirect case focusSection(_focusSectionModifier) -indirect case focusable(_focusableModifier) -indirect case formStyle(_formStyleModifier) -indirect case frame(_frameModifier) + enum _BuiltinModifierChunk5: ViewModifier { + indirect case frame(_frameModifier) indirect case fullScreenCover(_fullScreenCoverModifier) indirect case gaugeStyle(_gaugeStyleModifier) indirect case geometryGroup(_geometryGroupModifier) @@ -14957,22 +16153,16 @@ indirect case gesture(_gestureModifier) indirect case glassBackgroundEffect(_glassBackgroundEffectModifier) indirect case grayscale(_grayscaleModifier) indirect case gridCellAnchor(_gridCellAnchorModifier) +indirect case gridCellColumns(_gridCellColumnsModifier) +indirect case gridCellUnsizedAxes(_gridCellUnsizedAxesModifier) +indirect case gridColumnAlignment(_gridColumnAlignmentModifier) +indirect case groupBoxStyle(_groupBoxStyleModifier) +indirect case handGestureShortcut(_handGestureShortcutModifier) +indirect case handPointerBehavior(_handPointerBehaviorModifier) func body(content: Content) -> some View { switch self { - case let .fixedSize(modifier): - content.modifier(modifier) -case let .flipsForRightToLeftLayoutDirection(modifier): - content.modifier(modifier) -case let .focusEffectDisabled(modifier): - content.modifier(modifier) -case let .focusSection(modifier): - content.modifier(modifier) -case let .focusable(modifier): - content.modifier(modifier) -case let .formStyle(modifier): - content.modifier(modifier) -case let .frame(modifier): + case let .frame(modifier): content.modifier(modifier) case let .fullScreenCover(modifier): content.modifier(modifier) @@ -14987,20 +16177,26 @@ case let .glassBackgroundEffect(modifier): case let .grayscale(modifier): content.modifier(modifier) case let .gridCellAnchor(modifier): + content.modifier(modifier) +case let .gridCellColumns(modifier): + content.modifier(modifier) +case let .gridCellUnsizedAxes(modifier): + content.modifier(modifier) +case let .gridColumnAlignment(modifier): + content.modifier(modifier) +case let .groupBoxStyle(modifier): + content.modifier(modifier) +case let .handGestureShortcut(modifier): + content.modifier(modifier) +case let .handPointerBehavior(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk5: ViewModifier { - indirect case gridCellColumns(_gridCellColumnsModifier) -indirect case gridCellUnsizedAxes(_gridCellUnsizedAxesModifier) -indirect case gridColumnAlignment(_gridColumnAlignmentModifier) -indirect case groupBoxStyle(_groupBoxStyleModifier) -indirect case handGestureShortcut(_handGestureShortcutModifier) -indirect case handPointerBehavior(_handPointerBehaviorModifier) -indirect case headerProminence(_headerProminenceModifier) + enum _BuiltinModifierChunk6: ViewModifier { + indirect case headerProminence(_headerProminenceModifier) indirect case help(_helpModifier) indirect case hidden(_hiddenModifier) indirect case highPriorityGesture(_highPriorityGestureModifier) @@ -15008,22 +16204,16 @@ indirect case horizontalRadioGroupLayout(_horizontalRadioGroupLayoutModifier) indirect case hoverEffect(_hoverEffectModifier) indirect case hoverEffectDisabled(_hoverEffectDisabledModifier) indirect case hoverEffectGroup(_hoverEffectGroupModifier) +indirect case hueRotation(_hueRotationModifier) +indirect case ignoresSafeArea(_ignoresSafeAreaModifier) +indirect case imageScale(_imageScaleModifier) +indirect case immersiveEnvironmentPicker(_immersiveEnvironmentPickerModifier) +indirect case indexViewStyle(_indexViewStyleModifier) +indirect case inspector(_inspectorModifier) func body(content: Content) -> some View { switch self { - case let .gridCellColumns(modifier): - content.modifier(modifier) -case let .gridCellUnsizedAxes(modifier): - content.modifier(modifier) -case let .gridColumnAlignment(modifier): - content.modifier(modifier) -case let .groupBoxStyle(modifier): - content.modifier(modifier) -case let .handGestureShortcut(modifier): - content.modifier(modifier) -case let .handPointerBehavior(modifier): - content.modifier(modifier) -case let .headerProminence(modifier): + case let .headerProminence(modifier): content.modifier(modifier) case let .help(modifier): content.modifier(modifier) @@ -15038,20 +16228,26 @@ case let .hoverEffect(modifier): case let .hoverEffectDisabled(modifier): content.modifier(modifier) case let .hoverEffectGroup(modifier): + content.modifier(modifier) +case let .hueRotation(modifier): + content.modifier(modifier) +case let .ignoresSafeArea(modifier): + content.modifier(modifier) +case let .imageScale(modifier): + content.modifier(modifier) +case let .immersiveEnvironmentPicker(modifier): + content.modifier(modifier) +case let .indexViewStyle(modifier): + content.modifier(modifier) +case let .inspector(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk6: ViewModifier { - indirect case hueRotation(_hueRotationModifier) -indirect case ignoresSafeArea(_ignoresSafeAreaModifier) -indirect case imageScale(_imageScaleModifier) -indirect case immersiveEnvironmentPicker(_immersiveEnvironmentPickerModifier) -indirect case indexViewStyle(_indexViewStyleModifier) -indirect case inspector(_inspectorModifier) -indirect case inspectorColumnWidth(_inspectorColumnWidthModifier) + enum _BuiltinModifierChunk7: ViewModifier { + indirect case inspectorColumnWidth(_inspectorColumnWidthModifier) indirect case interactionActivityTrackingTag(_interactionActivityTrackingTagModifier) indirect case interactiveDismissDisabled(_interactiveDismissDisabledModifier) indirect case invalidatableContent(_invalidatableContentModifier) @@ -15059,22 +16255,16 @@ indirect case keyboardShortcut(_keyboardShortcutModifier) indirect case keyboardType(_keyboardTypeModifier) indirect case labelStyle(_labelStyleModifier) indirect case labeledContentStyle(_labeledContentStyleModifier) +indirect case labelsHidden(_labelsHiddenModifier) +indirect case labelsVisibility(_labelsVisibilityModifier) +indirect case layoutPriority(_layoutPriorityModifier) +indirect case lineLimit(_lineLimitModifier) +indirect case lineSpacing(_lineSpacingModifier) +indirect case listItemTint(_listItemTintModifier) func body(content: Content) -> some View { switch self { - case let .hueRotation(modifier): - content.modifier(modifier) -case let .ignoresSafeArea(modifier): - content.modifier(modifier) -case let .imageScale(modifier): - content.modifier(modifier) -case let .immersiveEnvironmentPicker(modifier): - content.modifier(modifier) -case let .indexViewStyle(modifier): - content.modifier(modifier) -case let .inspector(modifier): - content.modifier(modifier) -case let .inspectorColumnWidth(modifier): + case let .inspectorColumnWidth(modifier): content.modifier(modifier) case let .interactionActivityTrackingTag(modifier): content.modifier(modifier) @@ -15089,43 +16279,43 @@ case let .keyboardType(modifier): case let .labelStyle(modifier): content.modifier(modifier) case let .labeledContentStyle(modifier): + content.modifier(modifier) +case let .labelsHidden(modifier): + content.modifier(modifier) +case let .labelsVisibility(modifier): + content.modifier(modifier) +case let .layoutPriority(modifier): + content.modifier(modifier) +case let .lineLimit(modifier): + content.modifier(modifier) +case let .lineSpacing(modifier): + content.modifier(modifier) +case let .listItemTint(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk7: ViewModifier { - indirect case labelsHidden(_labelsHiddenModifier) -indirect case labelsVisibility(_labelsVisibilityModifier) -indirect case layoutPriority(_layoutPriorityModifier) -indirect case lineLimit(_lineLimitModifier) -indirect case lineSpacing(_lineSpacingModifier) -indirect case listItemTint(_listItemTintModifier) -indirect case listRowBackground(_listRowBackgroundModifier) + enum _BuiltinModifierChunk8: ViewModifier { + indirect case listRowBackground(_listRowBackgroundModifier) indirect case listRowHoverEffect(_listRowHoverEffectModifier) indirect case listRowHoverEffectDisabled(_listRowHoverEffectDisabledModifier) indirect case listRowInsets(_listRowInsetsModifier) +indirect case listRowPlatterColor(_listRowPlatterColorModifier) indirect case listRowSeparator(_listRowSeparatorModifier) indirect case listRowSeparatorTint(_listRowSeparatorTintModifier) indirect case listRowSpacing(_listRowSpacingModifier) indirect case listSectionSeparator(_listSectionSeparatorModifier) +indirect case listSectionSeparatorTint(_listSectionSeparatorTintModifier) +indirect case listSectionSpacing(_listSectionSpacingModifier) +indirect case listStyle(_listStyleModifier) +indirect case luminanceToAlpha(_luminanceToAlphaModifier) +indirect case materialActiveAppearance(_materialActiveAppearanceModifier) func body(content: Content) -> some View { switch self { - case let .labelsHidden(modifier): - content.modifier(modifier) -case let .labelsVisibility(modifier): - content.modifier(modifier) -case let .layoutPriority(modifier): - content.modifier(modifier) -case let .lineLimit(modifier): - content.modifier(modifier) -case let .lineSpacing(modifier): - content.modifier(modifier) -case let .listItemTint(modifier): - content.modifier(modifier) -case let .listRowBackground(modifier): + case let .listRowBackground(modifier): content.modifier(modifier) case let .listRowHoverEffect(modifier): content.modifier(modifier) @@ -15133,6 +16323,8 @@ case let .listRowHoverEffectDisabled(modifier): content.modifier(modifier) case let .listRowInsets(modifier): content.modifier(modifier) +case let .listRowPlatterColor(modifier): + content.modifier(modifier) case let .listRowSeparator(modifier): content.modifier(modifier) case let .listRowSeparatorTint(modifier): @@ -15140,19 +16332,24 @@ case let .listRowSeparatorTint(modifier): case let .listRowSpacing(modifier): content.modifier(modifier) case let .listSectionSeparator(modifier): + content.modifier(modifier) +case let .listSectionSeparatorTint(modifier): + content.modifier(modifier) +case let .listSectionSpacing(modifier): + content.modifier(modifier) +case let .listStyle(modifier): + content.modifier(modifier) +case let .luminanceToAlpha(modifier): + content.modifier(modifier) +case let .materialActiveAppearance(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk8: ViewModifier { - indirect case listSectionSeparatorTint(_listSectionSeparatorTintModifier) -indirect case listSectionSpacing(_listSectionSpacingModifier) -indirect case listStyle(_listStyleModifier) -indirect case luminanceToAlpha(_luminanceToAlphaModifier) -indirect case materialActiveAppearance(_materialActiveAppearanceModifier) -indirect case menuIndicator(_menuIndicatorModifier) + enum _BuiltinModifierChunk9: ViewModifier { + indirect case menuIndicator(_menuIndicatorModifier) indirect case menuOrder(_menuOrderModifier) indirect case menuStyle(_menuStyleModifier) indirect case minimumScaleFactor(_minimumScaleFactorModifier) @@ -15160,21 +16357,16 @@ indirect case modifierKeyAlternate(_modifierKeyAlternateModifier) indirect case moveDisabled(_moveDisabledModifier) indirect case multilineTextAlignment(_multilineTextAlignmentModifier) indirect case navigationBarBackButtonHidden(_navigationBarBackButtonHiddenModifier) +indirect case navigationBarHidden(_navigationBarHiddenModifier) +indirect case navigationBarItems(_navigationBarItemsModifier) +indirect case navigationBarTitle(_navigationBarTitleModifier) indirect case navigationBarTitleDisplayMode(_navigationBarTitleDisplayModeModifier) +indirect case navigationDestination(_navigationDestinationModifier) +indirect case navigationSplitViewColumnWidth(_navigationSplitViewColumnWidthModifier) func body(content: Content) -> some View { switch self { - case let .listSectionSeparatorTint(modifier): - content.modifier(modifier) -case let .listSectionSpacing(modifier): - content.modifier(modifier) -case let .listStyle(modifier): - content.modifier(modifier) -case let .luminanceToAlpha(modifier): - content.modifier(modifier) -case let .materialActiveAppearance(modifier): - content.modifier(modifier) -case let .menuIndicator(modifier): + case let .menuIndicator(modifier): content.modifier(modifier) case let .menuOrder(modifier): content.modifier(modifier) @@ -15190,19 +16382,28 @@ case let .multilineTextAlignment(modifier): content.modifier(modifier) case let .navigationBarBackButtonHidden(modifier): content.modifier(modifier) +case let .navigationBarHidden(modifier): + content.modifier(modifier) +case let .navigationBarItems(modifier): + content.modifier(modifier) +case let .navigationBarTitle(modifier): + content.modifier(modifier) case let .navigationBarTitleDisplayMode(modifier): + content.modifier(modifier) +case let .navigationDestination(modifier): + content.modifier(modifier) +case let .navigationSplitViewColumnWidth(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk9: ViewModifier { - indirect case navigationDestination(_navigationDestinationModifier) -indirect case navigationSplitViewColumnWidth(_navigationSplitViewColumnWidthModifier) -indirect case navigationSplitViewStyle(_navigationSplitViewStyleModifier) + enum _BuiltinModifierChunk10: ViewModifier { + indirect case navigationSplitViewStyle(_navigationSplitViewStyleModifier) indirect case navigationSubtitle(_navigationSubtitleModifier) indirect case navigationTitle(_navigationTitleModifier) +indirect case navigationViewStyle(_navigationViewStyleModifier) indirect case offset(_offsetModifier) indirect case onAppear(_onAppearModifier) indirect case onDeleteCommand(_onDeleteCommandModifier) @@ -15212,19 +16413,18 @@ indirect case onHover(_onHoverModifier) indirect case onImmersionChange(_onImmersionChangeModifier) indirect case onLongPressGesture(_onLongPressGestureModifier) indirect case onLongTouchGesture(_onLongTouchGestureModifier) +indirect case onModifierKeysChanged(_onModifierKeysChangedModifier) func body(content: Content) -> some View { switch self { - case let .navigationDestination(modifier): - content.modifier(modifier) -case let .navigationSplitViewColumnWidth(modifier): - content.modifier(modifier) -case let .navigationSplitViewStyle(modifier): + case let .navigationSplitViewStyle(modifier): content.modifier(modifier) case let .navigationSubtitle(modifier): content.modifier(modifier) case let .navigationTitle(modifier): content.modifier(modifier) +case let .navigationViewStyle(modifier): + content.modifier(modifier) case let .offset(modifier): content.modifier(modifier) case let .onAppear(modifier): @@ -15242,15 +16442,16 @@ case let .onImmersionChange(modifier): case let .onLongPressGesture(modifier): content.modifier(modifier) case let .onLongTouchGesture(modifier): + content.modifier(modifier) +case let .onModifierKeysChanged(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk10: ViewModifier { - indirect case onModifierKeysChanged(_onModifierKeysChangedModifier) -indirect case onMoveCommand(_onMoveCommandModifier) + enum _BuiltinModifierChunk11: ViewModifier { + indirect case onMoveCommand(_onMoveCommandModifier) indirect case onPencilDoubleTap(_onPencilDoubleTapModifier) indirect case onPencilSqueeze(_onPencilSqueezeModifier) indirect case onPlayPauseCommand(_onPlayPauseCommandModifier) @@ -15263,12 +16464,11 @@ indirect case ornament(_ornamentModifier) indirect case overlay(_overlayModifier) indirect case padding(_paddingModifier) indirect case padding3D(_padding3DModifier) +indirect case persistentSystemOverlays(_persistentSystemOverlaysModifier) func body(content: Content) -> some View { switch self { - case let .onModifierKeysChanged(modifier): - content.modifier(modifier) -case let .onMoveCommand(modifier): + case let .onMoveCommand(modifier): content.modifier(modifier) case let .onPencilDoubleTap(modifier): content.modifier(modifier) @@ -15293,15 +16493,16 @@ case let .overlay(modifier): case let .padding(modifier): content.modifier(modifier) case let .padding3D(modifier): + content.modifier(modifier) +case let .persistentSystemOverlays(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk11: ViewModifier { - indirect case persistentSystemOverlays(_persistentSystemOverlaysModifier) -indirect case pickerStyle(_pickerStyleModifier) + enum _BuiltinModifierChunk12: ViewModifier { + indirect case pickerStyle(_pickerStyleModifier) indirect case pointerStyle(_pointerStyleModifier) indirect case pointerVisibility(_pointerVisibilityModifier) indirect case popover(_popoverModifier) @@ -15314,12 +16515,11 @@ indirect case presentationCompactAdaptation(_presentationCompactAdaptationModifi indirect case presentationContentInteraction(_presentationContentInteractionModifier) indirect case presentationCornerRadius(_presentationCornerRadiusModifier) indirect case presentationDragIndicator(_presentationDragIndicatorModifier) +indirect case presentationSizing(_presentationSizingModifier) func body(content: Content) -> some View { switch self { - case let .persistentSystemOverlays(modifier): - content.modifier(modifier) -case let .pickerStyle(modifier): + case let .pickerStyle(modifier): content.modifier(modifier) case let .pointerStyle(modifier): content.modifier(modifier) @@ -15344,15 +16544,16 @@ case let .presentationContentInteraction(modifier): case let .presentationCornerRadius(modifier): content.modifier(modifier) case let .presentationDragIndicator(modifier): + content.modifier(modifier) +case let .presentationSizing(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk12: ViewModifier { - indirect case presentationSizing(_presentationSizingModifier) -indirect case previewDisplayName(_previewDisplayNameModifier) + enum _BuiltinModifierChunk13: ViewModifier { + indirect case previewDisplayName(_previewDisplayNameModifier) indirect case privacySensitive(_privacySensitiveModifier) indirect case progressViewStyle(_progressViewStyleModifier) indirect case projectionEffect(_projectionEffectModifier) @@ -15365,12 +16566,11 @@ indirect case safeAreaInset(_safeAreaInsetModifier) indirect case safeAreaPadding(_safeAreaPaddingModifier) indirect case saturation(_saturationModifier) indirect case scaleEffect(_scaleEffectModifier) +indirect case scaledToFill(_scaledToFillModifier) func body(content: Content) -> some View { switch self { - case let .presentationSizing(modifier): - content.modifier(modifier) -case let .previewDisplayName(modifier): + case let .previewDisplayName(modifier): content.modifier(modifier) case let .privacySensitive(modifier): content.modifier(modifier) @@ -15395,15 +16595,16 @@ case let .safeAreaPadding(modifier): case let .saturation(modifier): content.modifier(modifier) case let .scaleEffect(modifier): + content.modifier(modifier) +case let .scaledToFill(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk13: ViewModifier { - indirect case scaledToFill(_scaledToFillModifier) -indirect case scaledToFit(_scaledToFitModifier) + enum _BuiltinModifierChunk14: ViewModifier { + indirect case scaledToFit(_scaledToFitModifier) indirect case scenePadding(_scenePaddingModifier) indirect case scrollBounceBehavior(_scrollBounceBehaviorModifier) indirect case scrollClipDisabled(_scrollClipDisabledModifier) @@ -15416,12 +16617,11 @@ indirect case scrollPosition(_scrollPositionModifier) indirect case scrollTargetBehavior(_scrollTargetBehaviorModifier) indirect case scrollTargetLayout(_scrollTargetLayoutModifier) indirect case searchDictationBehavior(_searchDictationBehaviorModifier) +indirect case searchPresentationToolbarBehavior(_searchPresentationToolbarBehaviorModifier) func body(content: Content) -> some View { switch self { - case let .scaledToFill(modifier): - content.modifier(modifier) -case let .scaledToFit(modifier): + case let .scaledToFit(modifier): content.modifier(modifier) case let .scenePadding(modifier): content.modifier(modifier) @@ -15446,15 +16646,16 @@ case let .scrollTargetBehavior(modifier): case let .scrollTargetLayout(modifier): content.modifier(modifier) case let .searchDictationBehavior(modifier): + content.modifier(modifier) +case let .searchPresentationToolbarBehavior(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk14: ViewModifier { - indirect case searchPresentationToolbarBehavior(_searchPresentationToolbarBehaviorModifier) -indirect case searchSuggestions(_searchSuggestionsModifier) + enum _BuiltinModifierChunk15: ViewModifier { + indirect case searchSuggestions(_searchSuggestionsModifier) indirect case searchable(_searchableModifier) indirect case sectionActions(_sectionActionsModifier) indirect case selectionDisabled(_selectionDisabledModifier) @@ -15465,14 +16666,13 @@ indirect case speechAdjustedPitch(_speechAdjustedPitchModifier) indirect case speechAlwaysIncludesPunctuation(_speechAlwaysIncludesPunctuationModifier) indirect case speechAnnouncementsQueued(_speechAnnouncementsQueuedModifier) indirect case speechSpellsOutCharacters(_speechSpellsOutCharactersModifier) +indirect case statusBar(_statusBarModifier) indirect case statusBarHidden(_statusBarHiddenModifier) indirect case submitLabel(_submitLabelModifier) func body(content: Content) -> some View { switch self { - case let .searchPresentationToolbarBehavior(modifier): - content.modifier(modifier) -case let .searchSuggestions(modifier): + case let .searchSuggestions(modifier): content.modifier(modifier) case let .searchable(modifier): content.modifier(modifier) @@ -15494,6 +16694,8 @@ case let .speechAnnouncementsQueued(modifier): content.modifier(modifier) case let .speechSpellsOutCharacters(modifier): content.modifier(modifier) +case let .statusBar(modifier): + content.modifier(modifier) case let .statusBarHidden(modifier): content.modifier(modifier) case let .submitLabel(modifier): @@ -15503,7 +16705,7 @@ case let .submitLabel(modifier): } } extension BuiltinRegistry { - enum _BuiltinModifierChunk15: ViewModifier { + enum _BuiltinModifierChunk16: ViewModifier { indirect case submitScope(_submitScopeModifier) indirect case supportedVolumeViewpoints(_supportedVolumeViewpointsModifier) indirect case swipeActions(_swipeActionsModifier) @@ -15511,13 +16713,13 @@ indirect case symbolEffect(_symbolEffectModifier) indirect case symbolEffectsRemoved(_symbolEffectsRemovedModifier) indirect case symbolRenderingMode(_symbolRenderingModeModifier) indirect case symbolVariant(_symbolVariantModifier) +indirect case tabItem(_tabItemModifier) indirect case tabViewSidebarBottomBar(_tabViewSidebarBottomBarModifier) indirect case tabViewSidebarFooter(_tabViewSidebarFooterModifier) indirect case tabViewSidebarHeader(_tabViewSidebarHeaderModifier) indirect case tabViewStyle(_tabViewStyleModifier) indirect case tableStyle(_tableStyleModifier) indirect case textCase(_textCaseModifier) -indirect case textContentType(_textContentTypeModifier) func body(content: Content) -> some View { switch self { @@ -15535,6 +16737,8 @@ case let .symbolRenderingMode(modifier): content.modifier(modifier) case let .symbolVariant(modifier): content.modifier(modifier) +case let .tabItem(modifier): + content.modifier(modifier) case let .tabViewSidebarBottomBar(modifier): content.modifier(modifier) case let .tabViewSidebarFooter(modifier): @@ -15546,16 +16750,15 @@ case let .tabViewStyle(modifier): case let .tableStyle(modifier): content.modifier(modifier) case let .textCase(modifier): - content.modifier(modifier) -case let .textContentType(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk16: ViewModifier { - indirect case textEditorStyle(_textEditorStyleModifier) + enum _BuiltinModifierChunk17: ViewModifier { + indirect case textContentType(_textContentTypeModifier) +indirect case textEditorStyle(_textEditorStyleModifier) indirect case textFieldStyle(_textFieldStyleModifier) indirect case textInputAutocapitalization(_textInputAutocapitalizationModifier) indirect case textInputCompletion(_textInputCompletionModifier) @@ -15568,11 +16771,12 @@ indirect case toolbar(_toolbarModifier) indirect case toolbarBackground(_toolbarBackgroundModifier) indirect case toolbarBackgroundVisibility(_toolbarBackgroundVisibilityModifier) indirect case toolbarColorScheme(_toolbarColorSchemeModifier) -indirect case toolbarItemHidden(_toolbarItemHiddenModifier) func body(content: Content) -> some View { switch self { - case let .textEditorStyle(modifier): + case let .textContentType(modifier): + content.modifier(modifier) +case let .textEditorStyle(modifier): content.modifier(modifier) case let .textFieldStyle(modifier): content.modifier(modifier) @@ -15597,16 +16801,15 @@ case let .toolbarBackground(modifier): case let .toolbarBackgroundVisibility(modifier): content.modifier(modifier) case let .toolbarColorScheme(modifier): - content.modifier(modifier) -case let .toolbarItemHidden(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk17: ViewModifier { - indirect case toolbarRole(_toolbarRoleModifier) + enum _BuiltinModifierChunk18: ViewModifier { + indirect case toolbarItemHidden(_toolbarItemHiddenModifier) +indirect case toolbarRole(_toolbarRoleModifier) indirect case toolbarTitleDisplayMode(_toolbarTitleDisplayModeModifier) indirect case toolbarTitleMenu(_toolbarTitleMenuModifier) indirect case toolbarVisibility(_toolbarVisibilityModifier) @@ -15619,11 +16822,12 @@ indirect case truncationMode(_truncationModeModifier) indirect case unredacted(_unredactedModifier) indirect case upperLimbVisibility(_upperLimbVisibilityModifier) indirect case volumeBaseplateVisibility(_volumeBaseplateVisibilityModifier) -indirect case windowDismissBehavior(_windowDismissBehaviorModifier) func body(content: Content) -> some View { switch self { - case let .toolbarRole(modifier): + case let .toolbarItemHidden(modifier): + content.modifier(modifier) +case let .toolbarRole(modifier): content.modifier(modifier) case let .toolbarTitleDisplayMode(modifier): content.modifier(modifier) @@ -15648,16 +16852,15 @@ case let .unredacted(modifier): case let .upperLimbVisibility(modifier): content.modifier(modifier) case let .volumeBaseplateVisibility(modifier): - content.modifier(modifier) -case let .windowDismissBehavior(modifier): content.modifier(modifier) } } } } extension BuiltinRegistry { - enum _BuiltinModifierChunk18: ViewModifier { - indirect case windowFullScreenBehavior(_windowFullScreenBehaviorModifier) + enum _BuiltinModifierChunk19: ViewModifier { + indirect case windowDismissBehavior(_windowDismissBehaviorModifier) +indirect case windowFullScreenBehavior(_windowFullScreenBehaviorModifier) indirect case windowMinimizeBehavior(_windowMinimizeBehaviorModifier) indirect case windowResizeBehavior(_windowResizeBehaviorModifier) indirect case windowToolbarFullScreenVisibility(_windowToolbarFullScreenVisibilityModifier) @@ -15666,7 +16869,9 @@ indirect case zIndex(_zIndexModifier) func body(content: Content) -> some View { switch self { - case let .windowFullScreenBehavior(modifier): + case let .windowDismissBehavior(modifier): + content.modifier(modifier) +case let .windowFullScreenBehavior(modifier): content.modifier(modifier) case let .windowMinimizeBehavior(modifier): content.modifier(modifier) @@ -15703,18 +16908,19 @@ indirect case chunk15(_BuiltinModifierChunk15) indirect case chunk16(_BuiltinModifierChunk16) indirect case chunk17(_BuiltinModifierChunk17) indirect case chunk18(_BuiltinModifierChunk18) - indirect case _SearchCompletionModifier(LiveViewNative._SearchCompletionModifier) +indirect case chunk19(_BuiltinModifierChunk19) + indirect case _OnSubmitModifier(LiveViewNative._OnSubmitModifier) indirect case _PerspectiveRotationEffectModifier(LiveViewNative._PerspectiveRotationEffectModifier) +indirect case _MaskModifier(LiveViewNative._MaskModifier) indirect case _SearchScopesModifier(LiveViewNative._SearchScopesModifier) +indirect case _NavigationTransitionModifier(LiveViewNative._NavigationTransitionModifier) indirect case _MatchedGeometryEffectModifier(LiveViewNative._MatchedGeometryEffectModifier) -indirect case _Rotation3DEffectModifier(LiveViewNative._Rotation3DEffectModifier) indirect case _PresentationDetentsModifier(LiveViewNative._PresentationDetentsModifier) -indirect case _MatchedTransitionSourceModifier(LiveViewNative._MatchedTransitionSourceModifier) -indirect case _OnSubmitModifier(LiveViewNative._OnSubmitModifier) +indirect case _Rotation3DEffectModifier(LiveViewNative._Rotation3DEffectModifier) indirect case _FocusScopeModifier(LiveViewNative._FocusScopeModifier) -indirect case _NavigationTransitionModifier(LiveViewNative._NavigationTransitionModifier) indirect case _PrefersDefaultFocusModifier(LiveViewNative._PrefersDefaultFocusModifier) -indirect case _MaskModifier(LiveViewNative._MaskModifier) +indirect case _MatchedTransitionSourceModifier(LiveViewNative._MatchedTransitionSourceModifier) +indirect case _SearchCompletionModifier(LiveViewNative._SearchCompletionModifier) indirect case _customRegistryModifier(R.CustomModifier) indirect case _anyTextModifier(_AnyTextModifier) indirect case _anyImageModifier(_AnyImageModifier) @@ -15761,29 +16967,31 @@ case let .chunk17(chunk): content.modifier(chunk) case let .chunk18(chunk): content.modifier(chunk) - case let ._SearchCompletionModifier(modifier): +case let .chunk19(chunk): + content.modifier(chunk) + case let ._OnSubmitModifier(modifier): content.modifier(modifier) case let ._PerspectiveRotationEffectModifier(modifier): content.modifier(modifier) +case let ._MaskModifier(modifier): + content.modifier(modifier) case let ._SearchScopesModifier(modifier): content.modifier(modifier) -case let ._MatchedGeometryEffectModifier(modifier): +case let ._NavigationTransitionModifier(modifier): content.modifier(modifier) -case let ._Rotation3DEffectModifier(modifier): +case let ._MatchedGeometryEffectModifier(modifier): content.modifier(modifier) case let ._PresentationDetentsModifier(modifier): content.modifier(modifier) -case let ._MatchedTransitionSourceModifier(modifier): - content.modifier(modifier) -case let ._OnSubmitModifier(modifier): +case let ._Rotation3DEffectModifier(modifier): content.modifier(modifier) case let ._FocusScopeModifier(modifier): content.modifier(modifier) -case let ._NavigationTransitionModifier(modifier): - content.modifier(modifier) case let ._PrefersDefaultFocusModifier(modifier): content.modifier(modifier) -case let ._MaskModifier(modifier): +case let ._MatchedTransitionSourceModifier(modifier): + content.modifier(modifier) +case let ._SearchCompletionModifier(modifier): content.modifier(modifier) case let ._customRegistryModifier(modifier): content.modifier(modifier) @@ -15810,7 +17018,8 @@ case let ._MaskModifier(modifier): func parse(_ input: inout Substring.UTF8View) throws -> Output { let parsers = [ - _accessibilityActionModifier.name: _accessibilityActionModifier.parser(in: context).map({ Output.chunk0(.accessibilityAction($0)) }).eraseToAnyParser(), + _accentColorModifier.name: _accentColorModifier.parser(in: context).map({ Output.chunk0(.accentColor($0)) }).eraseToAnyParser(), +_accessibilityActionModifier.name: _accessibilityActionModifier.parser(in: context).map({ Output.chunk0(.accessibilityAction($0)) }).eraseToAnyParser(), _accessibilityActionsModifier.name: _accessibilityActionsModifier.parser(in: context).map({ Output.chunk0(.accessibilityActions($0)) }).eraseToAnyParser(), _accessibilityChildrenModifier.name: _accessibilityChildrenModifier.parser(in: context).map({ Output.chunk0(.accessibilityChildren($0)) }).eraseToAnyParser(), _accessibilityIgnoresInvertColorsModifier.name: _accessibilityIgnoresInvertColorsModifier.parser(in: context).map({ Output.chunk0(.accessibilityIgnoresInvertColors($0)) }).eraseToAnyParser(), @@ -15822,8 +17031,9 @@ _allowsTighteningModifier.name: _allowsTighteningModifier.parser(in: conte _allowsWindowActivationEventsModifier.name: _allowsWindowActivationEventsModifier.parser(in: context).map({ Output.chunk0(.allowsWindowActivationEvents($0)) }).eraseToAnyParser(), _animationModifier.name: _animationModifier.parser(in: context).map({ Output.chunk0(.animation($0)) }).eraseToAnyParser(), _aspectRatioModifier.name: _aspectRatioModifier.parser(in: context).map({ Output.chunk0(.aspectRatio($0)) }).eraseToAnyParser(), -_autocorrectionDisabledModifier.name: _autocorrectionDisabledModifier.parser(in: context).map({ Output.chunk0(.autocorrectionDisabled($0)) }).eraseToAnyParser(), -_backgroundModifier.name: _backgroundModifier.parser(in: context).map({ Output.chunk0(.background($0)) }).eraseToAnyParser(), +_autocapitalizationModifier.name: _autocapitalizationModifier.parser(in: context).map({ Output.chunk0(.autocapitalization($0)) }).eraseToAnyParser(), +_autocorrectionDisabledModifier.name: _autocorrectionDisabledModifier.parser(in: context).map({ Output.chunk1(.autocorrectionDisabled($0)) }).eraseToAnyParser(), +_backgroundModifier.name: _backgroundModifier.parser(in: context).map({ Output.chunk1(.background($0)) }).eraseToAnyParser(), _backgroundStyleModifier.name: _backgroundStyleModifier.parser(in: context).map({ Output.chunk1(.backgroundStyle($0)) }).eraseToAnyParser(), _badgeModifier.name: _badgeModifier.parser(in: context).map({ Output.chunk1(.badge($0)) }).eraseToAnyParser(), _badgeProminenceModifier.name: _badgeProminenceModifier.parser(in: context).map({ Output.chunk1(.badgeProminence($0)) }).eraseToAnyParser(), @@ -15836,8 +17046,9 @@ _buttonStyleModifier.name: _buttonStyleModifier.parser(in: context).map({ _clipShapeModifier.name: _clipShapeModifier.parser(in: context).map({ Output.chunk1(.clipShape($0)) }).eraseToAnyParser(), _clippedModifier.name: _clippedModifier.parser(in: context).map({ Output.chunk1(.clipped($0)) }).eraseToAnyParser(), _colorInvertModifier.name: _colorInvertModifier.parser(in: context).map({ Output.chunk1(.colorInvert($0)) }).eraseToAnyParser(), -_colorMultiplyModifier.name: _colorMultiplyModifier.parser(in: context).map({ Output.chunk1(.colorMultiply($0)) }).eraseToAnyParser(), -_compositingGroupModifier.name: _compositingGroupModifier.parser(in: context).map({ Output.chunk1(.compositingGroup($0)) }).eraseToAnyParser(), +_colorMultiplyModifier.name: _colorMultiplyModifier.parser(in: context).map({ Output.chunk2(.colorMultiply($0)) }).eraseToAnyParser(), +_colorSchemeModifier.name: _colorSchemeModifier.parser(in: context).map({ Output.chunk2(.colorScheme($0)) }).eraseToAnyParser(), +_compositingGroupModifier.name: _compositingGroupModifier.parser(in: context).map({ Output.chunk2(.compositingGroup($0)) }).eraseToAnyParser(), _confirmationDialogModifier.name: _confirmationDialogModifier.parser(in: context).map({ Output.chunk2(.confirmationDialog($0)) }).eraseToAnyParser(), _containerRelativeFrameModifier.name: _containerRelativeFrameModifier.parser(in: context).map({ Output.chunk2(.containerRelativeFrame($0)) }).eraseToAnyParser(), _containerShapeModifier.name: _containerShapeModifier.parser(in: context).map({ Output.chunk2(.containerShape($0)) }).eraseToAnyParser(), @@ -15849,237 +17060,249 @@ _contrastModifier.name: _contrastModifier.parser(in: context).map({ Output _controlGroupStyleModifier.name: _controlGroupStyleModifier.parser(in: context).map({ Output.chunk2(.controlGroupStyle($0)) }).eraseToAnyParser(), _controlSizeModifier.name: _controlSizeModifier.parser(in: context).map({ Output.chunk2(.controlSize($0)) }).eraseToAnyParser(), _coordinateSpaceModifier.name: _coordinateSpaceModifier.parser(in: context).map({ Output.chunk2(.coordinateSpace($0)) }).eraseToAnyParser(), -_datePickerStyleModifier.name: _datePickerStyleModifier.parser(in: context).map({ Output.chunk2(.datePickerStyle($0)) }).eraseToAnyParser(), -_defaultAdaptableTabBarPlacementModifier.name: _defaultAdaptableTabBarPlacementModifier.parser(in: context).map({ Output.chunk2(.defaultAdaptableTabBarPlacement($0)) }).eraseToAnyParser(), -_defaultHoverEffectModifier.name: _defaultHoverEffectModifier.parser(in: context).map({ Output.chunk2(.defaultHoverEffect($0)) }).eraseToAnyParser(), +_cornerRadiusModifier.name: _cornerRadiusModifier.parser(in: context).map({ Output.chunk3(.cornerRadius($0)) }).eraseToAnyParser(), +_datePickerStyleModifier.name: _datePickerStyleModifier.parser(in: context).map({ Output.chunk3(.datePickerStyle($0)) }).eraseToAnyParser(), +_defaultAdaptableTabBarPlacementModifier.name: _defaultAdaptableTabBarPlacementModifier.parser(in: context).map({ Output.chunk3(.defaultAdaptableTabBarPlacement($0)) }).eraseToAnyParser(), +_defaultHoverEffectModifier.name: _defaultHoverEffectModifier.parser(in: context).map({ Output.chunk3(.defaultHoverEffect($0)) }).eraseToAnyParser(), _defaultScrollAnchorModifier.name: _defaultScrollAnchorModifier.parser(in: context).map({ Output.chunk3(.defaultScrollAnchor($0)) }).eraseToAnyParser(), _defaultWheelPickerItemHeightModifier.name: _defaultWheelPickerItemHeightModifier.parser(in: context).map({ Output.chunk3(.defaultWheelPickerItemHeight($0)) }).eraseToAnyParser(), _defersSystemGesturesModifier.name: _defersSystemGesturesModifier.parser(in: context).map({ Output.chunk3(.defersSystemGestures($0)) }).eraseToAnyParser(), _deleteDisabledModifier.name: _deleteDisabledModifier.parser(in: context).map({ Output.chunk3(.deleteDisabled($0)) }).eraseToAnyParser(), _dialogSuppressionToggleModifier.name: _dialogSuppressionToggleModifier.parser(in: context).map({ Output.chunk3(.dialogSuppressionToggle($0)) }).eraseToAnyParser(), _digitalCrownAccessoryModifier.name: _digitalCrownAccessoryModifier.parser(in: context).map({ Output.chunk3(.digitalCrownAccessory($0)) }).eraseToAnyParser(), +_disableAutocorrectionModifier.name: _disableAutocorrectionModifier.parser(in: context).map({ Output.chunk3(.disableAutocorrection($0)) }).eraseToAnyParser(), _disabledModifier.name: _disabledModifier.parser(in: context).map({ Output.chunk3(.disabled($0)) }).eraseToAnyParser(), +_disclosureGroupStyleModifier.name: _disclosureGroupStyleModifier.parser(in: context).map({ Output.chunk3(.disclosureGroupStyle($0)) }).eraseToAnyParser(), _dismissalConfirmationDialogModifier.name: _dismissalConfirmationDialogModifier.parser(in: context).map({ Output.chunk3(.dismissalConfirmationDialog($0)) }).eraseToAnyParser(), -_drawingGroupModifier.name: _drawingGroupModifier.parser(in: context).map({ Output.chunk3(.drawingGroup($0)) }).eraseToAnyParser(), -_dynamicTypeSizeModifier.name: _dynamicTypeSizeModifier.parser(in: context).map({ Output.chunk3(.dynamicTypeSize($0)) }).eraseToAnyParser(), -_fileDialogCustomizationIDModifier.name: _fileDialogCustomizationIDModifier.parser(in: context).map({ Output.chunk3(.fileDialogCustomizationID($0)) }).eraseToAnyParser(), -_fileDialogImportsUnresolvedAliasesModifier.name: _fileDialogImportsUnresolvedAliasesModifier.parser(in: context).map({ Output.chunk3(.fileDialogImportsUnresolvedAliases($0)) }).eraseToAnyParser(), -_findDisabledModifier.name: _findDisabledModifier.parser(in: context).map({ Output.chunk3(.findDisabled($0)) }).eraseToAnyParser(), -_findNavigatorModifier.name: _findNavigatorModifier.parser(in: context).map({ Output.chunk3(.findNavigator($0)) }).eraseToAnyParser(), +_drawingGroupModifier.name: _drawingGroupModifier.parser(in: context).map({ Output.chunk4(.drawingGroup($0)) }).eraseToAnyParser(), +_dynamicTypeSizeModifier.name: _dynamicTypeSizeModifier.parser(in: context).map({ Output.chunk4(.dynamicTypeSize($0)) }).eraseToAnyParser(), +_edgesIgnoringSafeAreaModifier.name: _edgesIgnoringSafeAreaModifier.parser(in: context).map({ Output.chunk4(.edgesIgnoringSafeArea($0)) }).eraseToAnyParser(), +_fileDialogCustomizationIDModifier.name: _fileDialogCustomizationIDModifier.parser(in: context).map({ Output.chunk4(.fileDialogCustomizationID($0)) }).eraseToAnyParser(), +_fileDialogImportsUnresolvedAliasesModifier.name: _fileDialogImportsUnresolvedAliasesModifier.parser(in: context).map({ Output.chunk4(.fileDialogImportsUnresolvedAliases($0)) }).eraseToAnyParser(), +_findDisabledModifier.name: _findDisabledModifier.parser(in: context).map({ Output.chunk4(.findDisabled($0)) }).eraseToAnyParser(), +_findNavigatorModifier.name: _findNavigatorModifier.parser(in: context).map({ Output.chunk4(.findNavigator($0)) }).eraseToAnyParser(), _fixedSizeModifier.name: _fixedSizeModifier.parser(in: context).map({ Output.chunk4(.fixedSize($0)) }).eraseToAnyParser(), _flipsForRightToLeftLayoutDirectionModifier.name: _flipsForRightToLeftLayoutDirectionModifier.parser(in: context).map({ Output.chunk4(.flipsForRightToLeftLayoutDirection($0)) }).eraseToAnyParser(), _focusEffectDisabledModifier.name: _focusEffectDisabledModifier.parser(in: context).map({ Output.chunk4(.focusEffectDisabled($0)) }).eraseToAnyParser(), _focusSectionModifier.name: _focusSectionModifier.parser(in: context).map({ Output.chunk4(.focusSection($0)) }).eraseToAnyParser(), _focusableModifier.name: _focusableModifier.parser(in: context).map({ Output.chunk4(.focusable($0)) }).eraseToAnyParser(), +_foregroundColorModifier.name: _foregroundColorModifier.parser(in: context).map({ Output.chunk4(.foregroundColor($0)) }).eraseToAnyParser(), _formStyleModifier.name: _formStyleModifier.parser(in: context).map({ Output.chunk4(.formStyle($0)) }).eraseToAnyParser(), -_frameModifier.name: _frameModifier.parser(in: context).map({ Output.chunk4(.frame($0)) }).eraseToAnyParser(), -_fullScreenCoverModifier.name: _fullScreenCoverModifier.parser(in: context).map({ Output.chunk4(.fullScreenCover($0)) }).eraseToAnyParser(), -_gaugeStyleModifier.name: _gaugeStyleModifier.parser(in: context).map({ Output.chunk4(.gaugeStyle($0)) }).eraseToAnyParser(), -_geometryGroupModifier.name: _geometryGroupModifier.parser(in: context).map({ Output.chunk4(.geometryGroup($0)) }).eraseToAnyParser(), -_gestureModifier.name: _gestureModifier.parser(in: context).map({ Output.chunk4(.gesture($0)) }).eraseToAnyParser(), -_glassBackgroundEffectModifier.name: _glassBackgroundEffectModifier.parser(in: context).map({ Output.chunk4(.glassBackgroundEffect($0)) }).eraseToAnyParser(), -_grayscaleModifier.name: _grayscaleModifier.parser(in: context).map({ Output.chunk4(.grayscale($0)) }).eraseToAnyParser(), -_gridCellAnchorModifier.name: _gridCellAnchorModifier.parser(in: context).map({ Output.chunk4(.gridCellAnchor($0)) }).eraseToAnyParser(), +_frameModifier.name: _frameModifier.parser(in: context).map({ Output.chunk5(.frame($0)) }).eraseToAnyParser(), +_fullScreenCoverModifier.name: _fullScreenCoverModifier.parser(in: context).map({ Output.chunk5(.fullScreenCover($0)) }).eraseToAnyParser(), +_gaugeStyleModifier.name: _gaugeStyleModifier.parser(in: context).map({ Output.chunk5(.gaugeStyle($0)) }).eraseToAnyParser(), +_geometryGroupModifier.name: _geometryGroupModifier.parser(in: context).map({ Output.chunk5(.geometryGroup($0)) }).eraseToAnyParser(), +_gestureModifier.name: _gestureModifier.parser(in: context).map({ Output.chunk5(.gesture($0)) }).eraseToAnyParser(), +_glassBackgroundEffectModifier.name: _glassBackgroundEffectModifier.parser(in: context).map({ Output.chunk5(.glassBackgroundEffect($0)) }).eraseToAnyParser(), +_grayscaleModifier.name: _grayscaleModifier.parser(in: context).map({ Output.chunk5(.grayscale($0)) }).eraseToAnyParser(), +_gridCellAnchorModifier.name: _gridCellAnchorModifier.parser(in: context).map({ Output.chunk5(.gridCellAnchor($0)) }).eraseToAnyParser(), _gridCellColumnsModifier.name: _gridCellColumnsModifier.parser(in: context).map({ Output.chunk5(.gridCellColumns($0)) }).eraseToAnyParser(), _gridCellUnsizedAxesModifier.name: _gridCellUnsizedAxesModifier.parser(in: context).map({ Output.chunk5(.gridCellUnsizedAxes($0)) }).eraseToAnyParser(), _gridColumnAlignmentModifier.name: _gridColumnAlignmentModifier.parser(in: context).map({ Output.chunk5(.gridColumnAlignment($0)) }).eraseToAnyParser(), _groupBoxStyleModifier.name: _groupBoxStyleModifier.parser(in: context).map({ Output.chunk5(.groupBoxStyle($0)) }).eraseToAnyParser(), _handGestureShortcutModifier.name: _handGestureShortcutModifier.parser(in: context).map({ Output.chunk5(.handGestureShortcut($0)) }).eraseToAnyParser(), _handPointerBehaviorModifier.name: _handPointerBehaviorModifier.parser(in: context).map({ Output.chunk5(.handPointerBehavior($0)) }).eraseToAnyParser(), -_headerProminenceModifier.name: _headerProminenceModifier.parser(in: context).map({ Output.chunk5(.headerProminence($0)) }).eraseToAnyParser(), -_helpModifier.name: _helpModifier.parser(in: context).map({ Output.chunk5(.help($0)) }).eraseToAnyParser(), -_hiddenModifier.name: _hiddenModifier.parser(in: context).map({ Output.chunk5(.hidden($0)) }).eraseToAnyParser(), -_highPriorityGestureModifier.name: _highPriorityGestureModifier.parser(in: context).map({ Output.chunk5(.highPriorityGesture($0)) }).eraseToAnyParser(), -_horizontalRadioGroupLayoutModifier.name: _horizontalRadioGroupLayoutModifier.parser(in: context).map({ Output.chunk5(.horizontalRadioGroupLayout($0)) }).eraseToAnyParser(), -_hoverEffectModifier.name: _hoverEffectModifier.parser(in: context).map({ Output.chunk5(.hoverEffect($0)) }).eraseToAnyParser(), -_hoverEffectDisabledModifier.name: _hoverEffectDisabledModifier.parser(in: context).map({ Output.chunk5(.hoverEffectDisabled($0)) }).eraseToAnyParser(), -_hoverEffectGroupModifier.name: _hoverEffectGroupModifier.parser(in: context).map({ Output.chunk5(.hoverEffectGroup($0)) }).eraseToAnyParser(), +_headerProminenceModifier.name: _headerProminenceModifier.parser(in: context).map({ Output.chunk6(.headerProminence($0)) }).eraseToAnyParser(), +_helpModifier.name: _helpModifier.parser(in: context).map({ Output.chunk6(.help($0)) }).eraseToAnyParser(), +_hiddenModifier.name: _hiddenModifier.parser(in: context).map({ Output.chunk6(.hidden($0)) }).eraseToAnyParser(), +_highPriorityGestureModifier.name: _highPriorityGestureModifier.parser(in: context).map({ Output.chunk6(.highPriorityGesture($0)) }).eraseToAnyParser(), +_horizontalRadioGroupLayoutModifier.name: _horizontalRadioGroupLayoutModifier.parser(in: context).map({ Output.chunk6(.horizontalRadioGroupLayout($0)) }).eraseToAnyParser(), +_hoverEffectModifier.name: _hoverEffectModifier.parser(in: context).map({ Output.chunk6(.hoverEffect($0)) }).eraseToAnyParser(), +_hoverEffectDisabledModifier.name: _hoverEffectDisabledModifier.parser(in: context).map({ Output.chunk6(.hoverEffectDisabled($0)) }).eraseToAnyParser(), +_hoverEffectGroupModifier.name: _hoverEffectGroupModifier.parser(in: context).map({ Output.chunk6(.hoverEffectGroup($0)) }).eraseToAnyParser(), _hueRotationModifier.name: _hueRotationModifier.parser(in: context).map({ Output.chunk6(.hueRotation($0)) }).eraseToAnyParser(), _ignoresSafeAreaModifier.name: _ignoresSafeAreaModifier.parser(in: context).map({ Output.chunk6(.ignoresSafeArea($0)) }).eraseToAnyParser(), _imageScaleModifier.name: _imageScaleModifier.parser(in: context).map({ Output.chunk6(.imageScale($0)) }).eraseToAnyParser(), _immersiveEnvironmentPickerModifier.name: _immersiveEnvironmentPickerModifier.parser(in: context).map({ Output.chunk6(.immersiveEnvironmentPicker($0)) }).eraseToAnyParser(), _indexViewStyleModifier.name: _indexViewStyleModifier.parser(in: context).map({ Output.chunk6(.indexViewStyle($0)) }).eraseToAnyParser(), _inspectorModifier.name: _inspectorModifier.parser(in: context).map({ Output.chunk6(.inspector($0)) }).eraseToAnyParser(), -_inspectorColumnWidthModifier.name: _inspectorColumnWidthModifier.parser(in: context).map({ Output.chunk6(.inspectorColumnWidth($0)) }).eraseToAnyParser(), -_interactionActivityTrackingTagModifier.name: _interactionActivityTrackingTagModifier.parser(in: context).map({ Output.chunk6(.interactionActivityTrackingTag($0)) }).eraseToAnyParser(), -_interactiveDismissDisabledModifier.name: _interactiveDismissDisabledModifier.parser(in: context).map({ Output.chunk6(.interactiveDismissDisabled($0)) }).eraseToAnyParser(), -_invalidatableContentModifier.name: _invalidatableContentModifier.parser(in: context).map({ Output.chunk6(.invalidatableContent($0)) }).eraseToAnyParser(), -_keyboardShortcutModifier.name: _keyboardShortcutModifier.parser(in: context).map({ Output.chunk6(.keyboardShortcut($0)) }).eraseToAnyParser(), -_keyboardTypeModifier.name: _keyboardTypeModifier.parser(in: context).map({ Output.chunk6(.keyboardType($0)) }).eraseToAnyParser(), -_labelStyleModifier.name: _labelStyleModifier.parser(in: context).map({ Output.chunk6(.labelStyle($0)) }).eraseToAnyParser(), -_labeledContentStyleModifier.name: _labeledContentStyleModifier.parser(in: context).map({ Output.chunk6(.labeledContentStyle($0)) }).eraseToAnyParser(), +_inspectorColumnWidthModifier.name: _inspectorColumnWidthModifier.parser(in: context).map({ Output.chunk7(.inspectorColumnWidth($0)) }).eraseToAnyParser(), +_interactionActivityTrackingTagModifier.name: _interactionActivityTrackingTagModifier.parser(in: context).map({ Output.chunk7(.interactionActivityTrackingTag($0)) }).eraseToAnyParser(), +_interactiveDismissDisabledModifier.name: _interactiveDismissDisabledModifier.parser(in: context).map({ Output.chunk7(.interactiveDismissDisabled($0)) }).eraseToAnyParser(), +_invalidatableContentModifier.name: _invalidatableContentModifier.parser(in: context).map({ Output.chunk7(.invalidatableContent($0)) }).eraseToAnyParser(), +_keyboardShortcutModifier.name: _keyboardShortcutModifier.parser(in: context).map({ Output.chunk7(.keyboardShortcut($0)) }).eraseToAnyParser(), +_keyboardTypeModifier.name: _keyboardTypeModifier.parser(in: context).map({ Output.chunk7(.keyboardType($0)) }).eraseToAnyParser(), +_labelStyleModifier.name: _labelStyleModifier.parser(in: context).map({ Output.chunk7(.labelStyle($0)) }).eraseToAnyParser(), +_labeledContentStyleModifier.name: _labeledContentStyleModifier.parser(in: context).map({ Output.chunk7(.labeledContentStyle($0)) }).eraseToAnyParser(), _labelsHiddenModifier.name: _labelsHiddenModifier.parser(in: context).map({ Output.chunk7(.labelsHidden($0)) }).eraseToAnyParser(), _labelsVisibilityModifier.name: _labelsVisibilityModifier.parser(in: context).map({ Output.chunk7(.labelsVisibility($0)) }).eraseToAnyParser(), _layoutPriorityModifier.name: _layoutPriorityModifier.parser(in: context).map({ Output.chunk7(.layoutPriority($0)) }).eraseToAnyParser(), _lineLimitModifier.name: _lineLimitModifier.parser(in: context).map({ Output.chunk7(.lineLimit($0)) }).eraseToAnyParser(), _lineSpacingModifier.name: _lineSpacingModifier.parser(in: context).map({ Output.chunk7(.lineSpacing($0)) }).eraseToAnyParser(), _listItemTintModifier.name: _listItemTintModifier.parser(in: context).map({ Output.chunk7(.listItemTint($0)) }).eraseToAnyParser(), -_listRowBackgroundModifier.name: _listRowBackgroundModifier.parser(in: context).map({ Output.chunk7(.listRowBackground($0)) }).eraseToAnyParser(), -_listRowHoverEffectModifier.name: _listRowHoverEffectModifier.parser(in: context).map({ Output.chunk7(.listRowHoverEffect($0)) }).eraseToAnyParser(), -_listRowHoverEffectDisabledModifier.name: _listRowHoverEffectDisabledModifier.parser(in: context).map({ Output.chunk7(.listRowHoverEffectDisabled($0)) }).eraseToAnyParser(), -_listRowInsetsModifier.name: _listRowInsetsModifier.parser(in: context).map({ Output.chunk7(.listRowInsets($0)) }).eraseToAnyParser(), -_listRowSeparatorModifier.name: _listRowSeparatorModifier.parser(in: context).map({ Output.chunk7(.listRowSeparator($0)) }).eraseToAnyParser(), -_listRowSeparatorTintModifier.name: _listRowSeparatorTintModifier.parser(in: context).map({ Output.chunk7(.listRowSeparatorTint($0)) }).eraseToAnyParser(), -_listRowSpacingModifier.name: _listRowSpacingModifier.parser(in: context).map({ Output.chunk7(.listRowSpacing($0)) }).eraseToAnyParser(), -_listSectionSeparatorModifier.name: _listSectionSeparatorModifier.parser(in: context).map({ Output.chunk7(.listSectionSeparator($0)) }).eraseToAnyParser(), +_listRowBackgroundModifier.name: _listRowBackgroundModifier.parser(in: context).map({ Output.chunk8(.listRowBackground($0)) }).eraseToAnyParser(), +_listRowHoverEffectModifier.name: _listRowHoverEffectModifier.parser(in: context).map({ Output.chunk8(.listRowHoverEffect($0)) }).eraseToAnyParser(), +_listRowHoverEffectDisabledModifier.name: _listRowHoverEffectDisabledModifier.parser(in: context).map({ Output.chunk8(.listRowHoverEffectDisabled($0)) }).eraseToAnyParser(), +_listRowInsetsModifier.name: _listRowInsetsModifier.parser(in: context).map({ Output.chunk8(.listRowInsets($0)) }).eraseToAnyParser(), +_listRowPlatterColorModifier.name: _listRowPlatterColorModifier.parser(in: context).map({ Output.chunk8(.listRowPlatterColor($0)) }).eraseToAnyParser(), +_listRowSeparatorModifier.name: _listRowSeparatorModifier.parser(in: context).map({ Output.chunk8(.listRowSeparator($0)) }).eraseToAnyParser(), +_listRowSeparatorTintModifier.name: _listRowSeparatorTintModifier.parser(in: context).map({ Output.chunk8(.listRowSeparatorTint($0)) }).eraseToAnyParser(), +_listRowSpacingModifier.name: _listRowSpacingModifier.parser(in: context).map({ Output.chunk8(.listRowSpacing($0)) }).eraseToAnyParser(), +_listSectionSeparatorModifier.name: _listSectionSeparatorModifier.parser(in: context).map({ Output.chunk8(.listSectionSeparator($0)) }).eraseToAnyParser(), _listSectionSeparatorTintModifier.name: _listSectionSeparatorTintModifier.parser(in: context).map({ Output.chunk8(.listSectionSeparatorTint($0)) }).eraseToAnyParser(), _listSectionSpacingModifier.name: _listSectionSpacingModifier.parser(in: context).map({ Output.chunk8(.listSectionSpacing($0)) }).eraseToAnyParser(), _listStyleModifier.name: _listStyleModifier.parser(in: context).map({ Output.chunk8(.listStyle($0)) }).eraseToAnyParser(), _luminanceToAlphaModifier.name: _luminanceToAlphaModifier.parser(in: context).map({ Output.chunk8(.luminanceToAlpha($0)) }).eraseToAnyParser(), _materialActiveAppearanceModifier.name: _materialActiveAppearanceModifier.parser(in: context).map({ Output.chunk8(.materialActiveAppearance($0)) }).eraseToAnyParser(), -_menuIndicatorModifier.name: _menuIndicatorModifier.parser(in: context).map({ Output.chunk8(.menuIndicator($0)) }).eraseToAnyParser(), -_menuOrderModifier.name: _menuOrderModifier.parser(in: context).map({ Output.chunk8(.menuOrder($0)) }).eraseToAnyParser(), -_menuStyleModifier.name: _menuStyleModifier.parser(in: context).map({ Output.chunk8(.menuStyle($0)) }).eraseToAnyParser(), -_minimumScaleFactorModifier.name: _minimumScaleFactorModifier.parser(in: context).map({ Output.chunk8(.minimumScaleFactor($0)) }).eraseToAnyParser(), -_modifierKeyAlternateModifier.name: _modifierKeyAlternateModifier.parser(in: context).map({ Output.chunk8(.modifierKeyAlternate($0)) }).eraseToAnyParser(), -_moveDisabledModifier.name: _moveDisabledModifier.parser(in: context).map({ Output.chunk8(.moveDisabled($0)) }).eraseToAnyParser(), -_multilineTextAlignmentModifier.name: _multilineTextAlignmentModifier.parser(in: context).map({ Output.chunk8(.multilineTextAlignment($0)) }).eraseToAnyParser(), -_navigationBarBackButtonHiddenModifier.name: _navigationBarBackButtonHiddenModifier.parser(in: context).map({ Output.chunk8(.navigationBarBackButtonHidden($0)) }).eraseToAnyParser(), -_navigationBarTitleDisplayModeModifier.name: _navigationBarTitleDisplayModeModifier.parser(in: context).map({ Output.chunk8(.navigationBarTitleDisplayMode($0)) }).eraseToAnyParser(), +_menuIndicatorModifier.name: _menuIndicatorModifier.parser(in: context).map({ Output.chunk9(.menuIndicator($0)) }).eraseToAnyParser(), +_menuOrderModifier.name: _menuOrderModifier.parser(in: context).map({ Output.chunk9(.menuOrder($0)) }).eraseToAnyParser(), +_menuStyleModifier.name: _menuStyleModifier.parser(in: context).map({ Output.chunk9(.menuStyle($0)) }).eraseToAnyParser(), +_minimumScaleFactorModifier.name: _minimumScaleFactorModifier.parser(in: context).map({ Output.chunk9(.minimumScaleFactor($0)) }).eraseToAnyParser(), +_modifierKeyAlternateModifier.name: _modifierKeyAlternateModifier.parser(in: context).map({ Output.chunk9(.modifierKeyAlternate($0)) }).eraseToAnyParser(), +_moveDisabledModifier.name: _moveDisabledModifier.parser(in: context).map({ Output.chunk9(.moveDisabled($0)) }).eraseToAnyParser(), +_multilineTextAlignmentModifier.name: _multilineTextAlignmentModifier.parser(in: context).map({ Output.chunk9(.multilineTextAlignment($0)) }).eraseToAnyParser(), +_navigationBarBackButtonHiddenModifier.name: _navigationBarBackButtonHiddenModifier.parser(in: context).map({ Output.chunk9(.navigationBarBackButtonHidden($0)) }).eraseToAnyParser(), +_navigationBarHiddenModifier.name: _navigationBarHiddenModifier.parser(in: context).map({ Output.chunk9(.navigationBarHidden($0)) }).eraseToAnyParser(), +_navigationBarItemsModifier.name: _navigationBarItemsModifier.parser(in: context).map({ Output.chunk9(.navigationBarItems($0)) }).eraseToAnyParser(), +_navigationBarTitleModifier.name: _navigationBarTitleModifier.parser(in: context).map({ Output.chunk9(.navigationBarTitle($0)) }).eraseToAnyParser(), +_navigationBarTitleDisplayModeModifier.name: _navigationBarTitleDisplayModeModifier.parser(in: context).map({ Output.chunk9(.navigationBarTitleDisplayMode($0)) }).eraseToAnyParser(), _navigationDestinationModifier.name: _navigationDestinationModifier.parser(in: context).map({ Output.chunk9(.navigationDestination($0)) }).eraseToAnyParser(), _navigationSplitViewColumnWidthModifier.name: _navigationSplitViewColumnWidthModifier.parser(in: context).map({ Output.chunk9(.navigationSplitViewColumnWidth($0)) }).eraseToAnyParser(), -_navigationSplitViewStyleModifier.name: _navigationSplitViewStyleModifier.parser(in: context).map({ Output.chunk9(.navigationSplitViewStyle($0)) }).eraseToAnyParser(), -_navigationSubtitleModifier.name: _navigationSubtitleModifier.parser(in: context).map({ Output.chunk9(.navigationSubtitle($0)) }).eraseToAnyParser(), -_navigationTitleModifier.name: _navigationTitleModifier.parser(in: context).map({ Output.chunk9(.navigationTitle($0)) }).eraseToAnyParser(), -_offsetModifier.name: _offsetModifier.parser(in: context).map({ Output.chunk9(.offset($0)) }).eraseToAnyParser(), -_onAppearModifier.name: _onAppearModifier.parser(in: context).map({ Output.chunk9(.onAppear($0)) }).eraseToAnyParser(), -_onDeleteCommandModifier.name: _onDeleteCommandModifier.parser(in: context).map({ Output.chunk9(.onDeleteCommand($0)) }).eraseToAnyParser(), -_onDisappearModifier.name: _onDisappearModifier.parser(in: context).map({ Output.chunk9(.onDisappear($0)) }).eraseToAnyParser(), -_onExitCommandModifier.name: _onExitCommandModifier.parser(in: context).map({ Output.chunk9(.onExitCommand($0)) }).eraseToAnyParser(), -_onHoverModifier.name: _onHoverModifier.parser(in: context).map({ Output.chunk9(.onHover($0)) }).eraseToAnyParser(), -_onImmersionChangeModifier.name: _onImmersionChangeModifier.parser(in: context).map({ Output.chunk9(.onImmersionChange($0)) }).eraseToAnyParser(), -_onLongPressGestureModifier.name: _onLongPressGestureModifier.parser(in: context).map({ Output.chunk9(.onLongPressGesture($0)) }).eraseToAnyParser(), -_onLongTouchGestureModifier.name: _onLongTouchGestureModifier.parser(in: context).map({ Output.chunk9(.onLongTouchGesture($0)) }).eraseToAnyParser(), +_navigationSplitViewStyleModifier.name: _navigationSplitViewStyleModifier.parser(in: context).map({ Output.chunk10(.navigationSplitViewStyle($0)) }).eraseToAnyParser(), +_navigationSubtitleModifier.name: _navigationSubtitleModifier.parser(in: context).map({ Output.chunk10(.navigationSubtitle($0)) }).eraseToAnyParser(), +_navigationTitleModifier.name: _navigationTitleModifier.parser(in: context).map({ Output.chunk10(.navigationTitle($0)) }).eraseToAnyParser(), +_navigationViewStyleModifier.name: _navigationViewStyleModifier.parser(in: context).map({ Output.chunk10(.navigationViewStyle($0)) }).eraseToAnyParser(), +_offsetModifier.name: _offsetModifier.parser(in: context).map({ Output.chunk10(.offset($0)) }).eraseToAnyParser(), +_onAppearModifier.name: _onAppearModifier.parser(in: context).map({ Output.chunk10(.onAppear($0)) }).eraseToAnyParser(), +_onDeleteCommandModifier.name: _onDeleteCommandModifier.parser(in: context).map({ Output.chunk10(.onDeleteCommand($0)) }).eraseToAnyParser(), +_onDisappearModifier.name: _onDisappearModifier.parser(in: context).map({ Output.chunk10(.onDisappear($0)) }).eraseToAnyParser(), +_onExitCommandModifier.name: _onExitCommandModifier.parser(in: context).map({ Output.chunk10(.onExitCommand($0)) }).eraseToAnyParser(), +_onHoverModifier.name: _onHoverModifier.parser(in: context).map({ Output.chunk10(.onHover($0)) }).eraseToAnyParser(), +_onImmersionChangeModifier.name: _onImmersionChangeModifier.parser(in: context).map({ Output.chunk10(.onImmersionChange($0)) }).eraseToAnyParser(), +_onLongPressGestureModifier.name: _onLongPressGestureModifier.parser(in: context).map({ Output.chunk10(.onLongPressGesture($0)) }).eraseToAnyParser(), +_onLongTouchGestureModifier.name: _onLongTouchGestureModifier.parser(in: context).map({ Output.chunk10(.onLongTouchGesture($0)) }).eraseToAnyParser(), _onModifierKeysChangedModifier.name: _onModifierKeysChangedModifier.parser(in: context).map({ Output.chunk10(.onModifierKeysChanged($0)) }).eraseToAnyParser(), -_onMoveCommandModifier.name: _onMoveCommandModifier.parser(in: context).map({ Output.chunk10(.onMoveCommand($0)) }).eraseToAnyParser(), -_onPencilDoubleTapModifier.name: _onPencilDoubleTapModifier.parser(in: context).map({ Output.chunk10(.onPencilDoubleTap($0)) }).eraseToAnyParser(), -_onPencilSqueezeModifier.name: _onPencilSqueezeModifier.parser(in: context).map({ Output.chunk10(.onPencilSqueeze($0)) }).eraseToAnyParser(), -_onPlayPauseCommandModifier.name: _onPlayPauseCommandModifier.parser(in: context).map({ Output.chunk10(.onPlayPauseCommand($0)) }).eraseToAnyParser(), -_onScrollPhaseChangeModifier.name: _onScrollPhaseChangeModifier.parser(in: context).map({ Output.chunk10(.onScrollPhaseChange($0)) }).eraseToAnyParser(), -_onScrollVisibilityChangeModifier.name: _onScrollVisibilityChangeModifier.parser(in: context).map({ Output.chunk10(.onScrollVisibilityChange($0)) }).eraseToAnyParser(), -_onTapGestureModifier.name: _onTapGestureModifier.parser(in: context).map({ Output.chunk10(.onTapGesture($0)) }).eraseToAnyParser(), -_onVolumeViewpointChangeModifier.name: _onVolumeViewpointChangeModifier.parser(in: context).map({ Output.chunk10(.onVolumeViewpointChange($0)) }).eraseToAnyParser(), -_opacityModifier.name: _opacityModifier.parser(in: context).map({ Output.chunk10(.opacity($0)) }).eraseToAnyParser(), -_ornamentModifier.name: _ornamentModifier.parser(in: context).map({ Output.chunk10(.ornament($0)) }).eraseToAnyParser(), -_overlayModifier.name: _overlayModifier.parser(in: context).map({ Output.chunk10(.overlay($0)) }).eraseToAnyParser(), -_paddingModifier.name: _paddingModifier.parser(in: context).map({ Output.chunk10(.padding($0)) }).eraseToAnyParser(), -_padding3DModifier.name: _padding3DModifier.parser(in: context).map({ Output.chunk10(.padding3D($0)) }).eraseToAnyParser(), +_onMoveCommandModifier.name: _onMoveCommandModifier.parser(in: context).map({ Output.chunk11(.onMoveCommand($0)) }).eraseToAnyParser(), +_onPencilDoubleTapModifier.name: _onPencilDoubleTapModifier.parser(in: context).map({ Output.chunk11(.onPencilDoubleTap($0)) }).eraseToAnyParser(), +_onPencilSqueezeModifier.name: _onPencilSqueezeModifier.parser(in: context).map({ Output.chunk11(.onPencilSqueeze($0)) }).eraseToAnyParser(), +_onPlayPauseCommandModifier.name: _onPlayPauseCommandModifier.parser(in: context).map({ Output.chunk11(.onPlayPauseCommand($0)) }).eraseToAnyParser(), +_onScrollPhaseChangeModifier.name: _onScrollPhaseChangeModifier.parser(in: context).map({ Output.chunk11(.onScrollPhaseChange($0)) }).eraseToAnyParser(), +_onScrollVisibilityChangeModifier.name: _onScrollVisibilityChangeModifier.parser(in: context).map({ Output.chunk11(.onScrollVisibilityChange($0)) }).eraseToAnyParser(), +_onTapGestureModifier.name: _onTapGestureModifier.parser(in: context).map({ Output.chunk11(.onTapGesture($0)) }).eraseToAnyParser(), +_onVolumeViewpointChangeModifier.name: _onVolumeViewpointChangeModifier.parser(in: context).map({ Output.chunk11(.onVolumeViewpointChange($0)) }).eraseToAnyParser(), +_opacityModifier.name: _opacityModifier.parser(in: context).map({ Output.chunk11(.opacity($0)) }).eraseToAnyParser(), +_ornamentModifier.name: _ornamentModifier.parser(in: context).map({ Output.chunk11(.ornament($0)) }).eraseToAnyParser(), +_overlayModifier.name: _overlayModifier.parser(in: context).map({ Output.chunk11(.overlay($0)) }).eraseToAnyParser(), +_paddingModifier.name: _paddingModifier.parser(in: context).map({ Output.chunk11(.padding($0)) }).eraseToAnyParser(), +_padding3DModifier.name: _padding3DModifier.parser(in: context).map({ Output.chunk11(.padding3D($0)) }).eraseToAnyParser(), _persistentSystemOverlaysModifier.name: _persistentSystemOverlaysModifier.parser(in: context).map({ Output.chunk11(.persistentSystemOverlays($0)) }).eraseToAnyParser(), -_pickerStyleModifier.name: _pickerStyleModifier.parser(in: context).map({ Output.chunk11(.pickerStyle($0)) }).eraseToAnyParser(), -_pointerStyleModifier.name: _pointerStyleModifier.parser(in: context).map({ Output.chunk11(.pointerStyle($0)) }).eraseToAnyParser(), -_pointerVisibilityModifier.name: _pointerVisibilityModifier.parser(in: context).map({ Output.chunk11(.pointerVisibility($0)) }).eraseToAnyParser(), -_popoverModifier.name: _popoverModifier.parser(in: context).map({ Output.chunk11(.popover($0)) }).eraseToAnyParser(), -_positionModifier.name: _positionModifier.parser(in: context).map({ Output.chunk11(.position($0)) }).eraseToAnyParser(), -_preferredColorSchemeModifier.name: _preferredColorSchemeModifier.parser(in: context).map({ Output.chunk11(.preferredColorScheme($0)) }).eraseToAnyParser(), -_preferredSurroundingsEffectModifier.name: _preferredSurroundingsEffectModifier.parser(in: context).map({ Output.chunk11(.preferredSurroundingsEffect($0)) }).eraseToAnyParser(), -_presentationBackgroundModifier.name: _presentationBackgroundModifier.parser(in: context).map({ Output.chunk11(.presentationBackground($0)) }).eraseToAnyParser(), -_presentationBackgroundInteractionModifier.name: _presentationBackgroundInteractionModifier.parser(in: context).map({ Output.chunk11(.presentationBackgroundInteraction($0)) }).eraseToAnyParser(), -_presentationCompactAdaptationModifier.name: _presentationCompactAdaptationModifier.parser(in: context).map({ Output.chunk11(.presentationCompactAdaptation($0)) }).eraseToAnyParser(), -_presentationContentInteractionModifier.name: _presentationContentInteractionModifier.parser(in: context).map({ Output.chunk11(.presentationContentInteraction($0)) }).eraseToAnyParser(), -_presentationCornerRadiusModifier.name: _presentationCornerRadiusModifier.parser(in: context).map({ Output.chunk11(.presentationCornerRadius($0)) }).eraseToAnyParser(), -_presentationDragIndicatorModifier.name: _presentationDragIndicatorModifier.parser(in: context).map({ Output.chunk11(.presentationDragIndicator($0)) }).eraseToAnyParser(), +_pickerStyleModifier.name: _pickerStyleModifier.parser(in: context).map({ Output.chunk12(.pickerStyle($0)) }).eraseToAnyParser(), +_pointerStyleModifier.name: _pointerStyleModifier.parser(in: context).map({ Output.chunk12(.pointerStyle($0)) }).eraseToAnyParser(), +_pointerVisibilityModifier.name: _pointerVisibilityModifier.parser(in: context).map({ Output.chunk12(.pointerVisibility($0)) }).eraseToAnyParser(), +_popoverModifier.name: _popoverModifier.parser(in: context).map({ Output.chunk12(.popover($0)) }).eraseToAnyParser(), +_positionModifier.name: _positionModifier.parser(in: context).map({ Output.chunk12(.position($0)) }).eraseToAnyParser(), +_preferredColorSchemeModifier.name: _preferredColorSchemeModifier.parser(in: context).map({ Output.chunk12(.preferredColorScheme($0)) }).eraseToAnyParser(), +_preferredSurroundingsEffectModifier.name: _preferredSurroundingsEffectModifier.parser(in: context).map({ Output.chunk12(.preferredSurroundingsEffect($0)) }).eraseToAnyParser(), +_presentationBackgroundModifier.name: _presentationBackgroundModifier.parser(in: context).map({ Output.chunk12(.presentationBackground($0)) }).eraseToAnyParser(), +_presentationBackgroundInteractionModifier.name: _presentationBackgroundInteractionModifier.parser(in: context).map({ Output.chunk12(.presentationBackgroundInteraction($0)) }).eraseToAnyParser(), +_presentationCompactAdaptationModifier.name: _presentationCompactAdaptationModifier.parser(in: context).map({ Output.chunk12(.presentationCompactAdaptation($0)) }).eraseToAnyParser(), +_presentationContentInteractionModifier.name: _presentationContentInteractionModifier.parser(in: context).map({ Output.chunk12(.presentationContentInteraction($0)) }).eraseToAnyParser(), +_presentationCornerRadiusModifier.name: _presentationCornerRadiusModifier.parser(in: context).map({ Output.chunk12(.presentationCornerRadius($0)) }).eraseToAnyParser(), +_presentationDragIndicatorModifier.name: _presentationDragIndicatorModifier.parser(in: context).map({ Output.chunk12(.presentationDragIndicator($0)) }).eraseToAnyParser(), _presentationSizingModifier.name: _presentationSizingModifier.parser(in: context).map({ Output.chunk12(.presentationSizing($0)) }).eraseToAnyParser(), -_previewDisplayNameModifier.name: _previewDisplayNameModifier.parser(in: context).map({ Output.chunk12(.previewDisplayName($0)) }).eraseToAnyParser(), -_privacySensitiveModifier.name: _privacySensitiveModifier.parser(in: context).map({ Output.chunk12(.privacySensitive($0)) }).eraseToAnyParser(), -_progressViewStyleModifier.name: _progressViewStyleModifier.parser(in: context).map({ Output.chunk12(.progressViewStyle($0)) }).eraseToAnyParser(), -_projectionEffectModifier.name: _projectionEffectModifier.parser(in: context).map({ Output.chunk12(.projectionEffect($0)) }).eraseToAnyParser(), -_redactedModifier.name: _redactedModifier.parser(in: context).map({ Output.chunk12(.redacted($0)) }).eraseToAnyParser(), -_refreshableModifier.name: _refreshableModifier.parser(in: context).map({ Output.chunk12(.refreshable($0)) }).eraseToAnyParser(), -_renameActionModifier.name: _renameActionModifier.parser(in: context).map({ Output.chunk12(.renameAction($0)) }).eraseToAnyParser(), -_replaceDisabledModifier.name: _replaceDisabledModifier.parser(in: context).map({ Output.chunk12(.replaceDisabled($0)) }).eraseToAnyParser(), -_rotationEffectModifier.name: _rotationEffectModifier.parser(in: context).map({ Output.chunk12(.rotationEffect($0)) }).eraseToAnyParser(), -_safeAreaInsetModifier.name: _safeAreaInsetModifier.parser(in: context).map({ Output.chunk12(.safeAreaInset($0)) }).eraseToAnyParser(), -_safeAreaPaddingModifier.name: _safeAreaPaddingModifier.parser(in: context).map({ Output.chunk12(.safeAreaPadding($0)) }).eraseToAnyParser(), -_saturationModifier.name: _saturationModifier.parser(in: context).map({ Output.chunk12(.saturation($0)) }).eraseToAnyParser(), -_scaleEffectModifier.name: _scaleEffectModifier.parser(in: context).map({ Output.chunk12(.scaleEffect($0)) }).eraseToAnyParser(), +_previewDisplayNameModifier.name: _previewDisplayNameModifier.parser(in: context).map({ Output.chunk13(.previewDisplayName($0)) }).eraseToAnyParser(), +_privacySensitiveModifier.name: _privacySensitiveModifier.parser(in: context).map({ Output.chunk13(.privacySensitive($0)) }).eraseToAnyParser(), +_progressViewStyleModifier.name: _progressViewStyleModifier.parser(in: context).map({ Output.chunk13(.progressViewStyle($0)) }).eraseToAnyParser(), +_projectionEffectModifier.name: _projectionEffectModifier.parser(in: context).map({ Output.chunk13(.projectionEffect($0)) }).eraseToAnyParser(), +_redactedModifier.name: _redactedModifier.parser(in: context).map({ Output.chunk13(.redacted($0)) }).eraseToAnyParser(), +_refreshableModifier.name: _refreshableModifier.parser(in: context).map({ Output.chunk13(.refreshable($0)) }).eraseToAnyParser(), +_renameActionModifier.name: _renameActionModifier.parser(in: context).map({ Output.chunk13(.renameAction($0)) }).eraseToAnyParser(), +_replaceDisabledModifier.name: _replaceDisabledModifier.parser(in: context).map({ Output.chunk13(.replaceDisabled($0)) }).eraseToAnyParser(), +_rotationEffectModifier.name: _rotationEffectModifier.parser(in: context).map({ Output.chunk13(.rotationEffect($0)) }).eraseToAnyParser(), +_safeAreaInsetModifier.name: _safeAreaInsetModifier.parser(in: context).map({ Output.chunk13(.safeAreaInset($0)) }).eraseToAnyParser(), +_safeAreaPaddingModifier.name: _safeAreaPaddingModifier.parser(in: context).map({ Output.chunk13(.safeAreaPadding($0)) }).eraseToAnyParser(), +_saturationModifier.name: _saturationModifier.parser(in: context).map({ Output.chunk13(.saturation($0)) }).eraseToAnyParser(), +_scaleEffectModifier.name: _scaleEffectModifier.parser(in: context).map({ Output.chunk13(.scaleEffect($0)) }).eraseToAnyParser(), _scaledToFillModifier.name: _scaledToFillModifier.parser(in: context).map({ Output.chunk13(.scaledToFill($0)) }).eraseToAnyParser(), -_scaledToFitModifier.name: _scaledToFitModifier.parser(in: context).map({ Output.chunk13(.scaledToFit($0)) }).eraseToAnyParser(), -_scenePaddingModifier.name: _scenePaddingModifier.parser(in: context).map({ Output.chunk13(.scenePadding($0)) }).eraseToAnyParser(), -_scrollBounceBehaviorModifier.name: _scrollBounceBehaviorModifier.parser(in: context).map({ Output.chunk13(.scrollBounceBehavior($0)) }).eraseToAnyParser(), -_scrollClipDisabledModifier.name: _scrollClipDisabledModifier.parser(in: context).map({ Output.chunk13(.scrollClipDisabled($0)) }).eraseToAnyParser(), -_scrollContentBackgroundModifier.name: _scrollContentBackgroundModifier.parser(in: context).map({ Output.chunk13(.scrollContentBackground($0)) }).eraseToAnyParser(), -_scrollDisabledModifier.name: _scrollDisabledModifier.parser(in: context).map({ Output.chunk13(.scrollDisabled($0)) }).eraseToAnyParser(), -_scrollDismissesKeyboardModifier.name: _scrollDismissesKeyboardModifier.parser(in: context).map({ Output.chunk13(.scrollDismissesKeyboard($0)) }).eraseToAnyParser(), -_scrollIndicatorsModifier.name: _scrollIndicatorsModifier.parser(in: context).map({ Output.chunk13(.scrollIndicators($0)) }).eraseToAnyParser(), -_scrollIndicatorsFlashModifier.name: _scrollIndicatorsFlashModifier.parser(in: context).map({ Output.chunk13(.scrollIndicatorsFlash($0)) }).eraseToAnyParser(), -_scrollPositionModifier.name: _scrollPositionModifier.parser(in: context).map({ Output.chunk13(.scrollPosition($0)) }).eraseToAnyParser(), -_scrollTargetBehaviorModifier.name: _scrollTargetBehaviorModifier.parser(in: context).map({ Output.chunk13(.scrollTargetBehavior($0)) }).eraseToAnyParser(), -_scrollTargetLayoutModifier.name: _scrollTargetLayoutModifier.parser(in: context).map({ Output.chunk13(.scrollTargetLayout($0)) }).eraseToAnyParser(), -_searchDictationBehaviorModifier.name: _searchDictationBehaviorModifier.parser(in: context).map({ Output.chunk13(.searchDictationBehavior($0)) }).eraseToAnyParser(), +_scaledToFitModifier.name: _scaledToFitModifier.parser(in: context).map({ Output.chunk14(.scaledToFit($0)) }).eraseToAnyParser(), +_scenePaddingModifier.name: _scenePaddingModifier.parser(in: context).map({ Output.chunk14(.scenePadding($0)) }).eraseToAnyParser(), +_scrollBounceBehaviorModifier.name: _scrollBounceBehaviorModifier.parser(in: context).map({ Output.chunk14(.scrollBounceBehavior($0)) }).eraseToAnyParser(), +_scrollClipDisabledModifier.name: _scrollClipDisabledModifier.parser(in: context).map({ Output.chunk14(.scrollClipDisabled($0)) }).eraseToAnyParser(), +_scrollContentBackgroundModifier.name: _scrollContentBackgroundModifier.parser(in: context).map({ Output.chunk14(.scrollContentBackground($0)) }).eraseToAnyParser(), +_scrollDisabledModifier.name: _scrollDisabledModifier.parser(in: context).map({ Output.chunk14(.scrollDisabled($0)) }).eraseToAnyParser(), +_scrollDismissesKeyboardModifier.name: _scrollDismissesKeyboardModifier.parser(in: context).map({ Output.chunk14(.scrollDismissesKeyboard($0)) }).eraseToAnyParser(), +_scrollIndicatorsModifier.name: _scrollIndicatorsModifier.parser(in: context).map({ Output.chunk14(.scrollIndicators($0)) }).eraseToAnyParser(), +_scrollIndicatorsFlashModifier.name: _scrollIndicatorsFlashModifier.parser(in: context).map({ Output.chunk14(.scrollIndicatorsFlash($0)) }).eraseToAnyParser(), +_scrollPositionModifier.name: _scrollPositionModifier.parser(in: context).map({ Output.chunk14(.scrollPosition($0)) }).eraseToAnyParser(), +_scrollTargetBehaviorModifier.name: _scrollTargetBehaviorModifier.parser(in: context).map({ Output.chunk14(.scrollTargetBehavior($0)) }).eraseToAnyParser(), +_scrollTargetLayoutModifier.name: _scrollTargetLayoutModifier.parser(in: context).map({ Output.chunk14(.scrollTargetLayout($0)) }).eraseToAnyParser(), +_searchDictationBehaviorModifier.name: _searchDictationBehaviorModifier.parser(in: context).map({ Output.chunk14(.searchDictationBehavior($0)) }).eraseToAnyParser(), _searchPresentationToolbarBehaviorModifier.name: _searchPresentationToolbarBehaviorModifier.parser(in: context).map({ Output.chunk14(.searchPresentationToolbarBehavior($0)) }).eraseToAnyParser(), -_searchSuggestionsModifier.name: _searchSuggestionsModifier.parser(in: context).map({ Output.chunk14(.searchSuggestions($0)) }).eraseToAnyParser(), -_searchableModifier.name: _searchableModifier.parser(in: context).map({ Output.chunk14(.searchable($0)) }).eraseToAnyParser(), -_sectionActionsModifier.name: _sectionActionsModifier.parser(in: context).map({ Output.chunk14(.sectionActions($0)) }).eraseToAnyParser(), -_selectionDisabledModifier.name: _selectionDisabledModifier.parser(in: context).map({ Output.chunk14(.selectionDisabled($0)) }).eraseToAnyParser(), -_shadowModifier.name: _shadowModifier.parser(in: context).map({ Output.chunk14(.shadow($0)) }).eraseToAnyParser(), -_sheetModifier.name: _sheetModifier.parser(in: context).map({ Output.chunk14(.sheet($0)) }).eraseToAnyParser(), -_simultaneousGestureModifier.name: _simultaneousGestureModifier.parser(in: context).map({ Output.chunk14(.simultaneousGesture($0)) }).eraseToAnyParser(), -_speechAdjustedPitchModifier.name: _speechAdjustedPitchModifier.parser(in: context).map({ Output.chunk14(.speechAdjustedPitch($0)) }).eraseToAnyParser(), -_speechAlwaysIncludesPunctuationModifier.name: _speechAlwaysIncludesPunctuationModifier.parser(in: context).map({ Output.chunk14(.speechAlwaysIncludesPunctuation($0)) }).eraseToAnyParser(), -_speechAnnouncementsQueuedModifier.name: _speechAnnouncementsQueuedModifier.parser(in: context).map({ Output.chunk14(.speechAnnouncementsQueued($0)) }).eraseToAnyParser(), -_speechSpellsOutCharactersModifier.name: _speechSpellsOutCharactersModifier.parser(in: context).map({ Output.chunk14(.speechSpellsOutCharacters($0)) }).eraseToAnyParser(), -_statusBarHiddenModifier.name: _statusBarHiddenModifier.parser(in: context).map({ Output.chunk14(.statusBarHidden($0)) }).eraseToAnyParser(), -_submitLabelModifier.name: _submitLabelModifier.parser(in: context).map({ Output.chunk14(.submitLabel($0)) }).eraseToAnyParser(), -_submitScopeModifier.name: _submitScopeModifier.parser(in: context).map({ Output.chunk15(.submitScope($0)) }).eraseToAnyParser(), -_supportedVolumeViewpointsModifier.name: _supportedVolumeViewpointsModifier.parser(in: context).map({ Output.chunk15(.supportedVolumeViewpoints($0)) }).eraseToAnyParser(), -_swipeActionsModifier.name: _swipeActionsModifier.parser(in: context).map({ Output.chunk15(.swipeActions($0)) }).eraseToAnyParser(), -_symbolEffectModifier.name: _symbolEffectModifier.parser(in: context).map({ Output.chunk15(.symbolEffect($0)) }).eraseToAnyParser(), -_symbolEffectsRemovedModifier.name: _symbolEffectsRemovedModifier.parser(in: context).map({ Output.chunk15(.symbolEffectsRemoved($0)) }).eraseToAnyParser(), -_symbolRenderingModeModifier.name: _symbolRenderingModeModifier.parser(in: context).map({ Output.chunk15(.symbolRenderingMode($0)) }).eraseToAnyParser(), -_symbolVariantModifier.name: _symbolVariantModifier.parser(in: context).map({ Output.chunk15(.symbolVariant($0)) }).eraseToAnyParser(), -_tabViewSidebarBottomBarModifier.name: _tabViewSidebarBottomBarModifier.parser(in: context).map({ Output.chunk15(.tabViewSidebarBottomBar($0)) }).eraseToAnyParser(), -_tabViewSidebarFooterModifier.name: _tabViewSidebarFooterModifier.parser(in: context).map({ Output.chunk15(.tabViewSidebarFooter($0)) }).eraseToAnyParser(), -_tabViewSidebarHeaderModifier.name: _tabViewSidebarHeaderModifier.parser(in: context).map({ Output.chunk15(.tabViewSidebarHeader($0)) }).eraseToAnyParser(), -_tabViewStyleModifier.name: _tabViewStyleModifier.parser(in: context).map({ Output.chunk15(.tabViewStyle($0)) }).eraseToAnyParser(), -_tableStyleModifier.name: _tableStyleModifier.parser(in: context).map({ Output.chunk15(.tableStyle($0)) }).eraseToAnyParser(), -_textCaseModifier.name: _textCaseModifier.parser(in: context).map({ Output.chunk15(.textCase($0)) }).eraseToAnyParser(), -_textContentTypeModifier.name: _textContentTypeModifier.parser(in: context).map({ Output.chunk15(.textContentType($0)) }).eraseToAnyParser(), -_textEditorStyleModifier.name: _textEditorStyleModifier.parser(in: context).map({ Output.chunk16(.textEditorStyle($0)) }).eraseToAnyParser(), -_textFieldStyleModifier.name: _textFieldStyleModifier.parser(in: context).map({ Output.chunk16(.textFieldStyle($0)) }).eraseToAnyParser(), -_textInputAutocapitalizationModifier.name: _textInputAutocapitalizationModifier.parser(in: context).map({ Output.chunk16(.textInputAutocapitalization($0)) }).eraseToAnyParser(), -_textInputCompletionModifier.name: _textInputCompletionModifier.parser(in: context).map({ Output.chunk16(.textInputCompletion($0)) }).eraseToAnyParser(), -_textInputSuggestionsModifier.name: _textInputSuggestionsModifier.parser(in: context).map({ Output.chunk16(.textInputSuggestions($0)) }).eraseToAnyParser(), -_textSelectionModifier.name: _textSelectionModifier.parser(in: context).map({ Output.chunk16(.textSelection($0)) }).eraseToAnyParser(), -_textSelectionAffinityModifier.name: _textSelectionAffinityModifier.parser(in: context).map({ Output.chunk16(.textSelectionAffinity($0)) }).eraseToAnyParser(), -_tintModifier.name: _tintModifier.parser(in: context).map({ Output.chunk16(.tint($0)) }).eraseToAnyParser(), -_toggleStyleModifier.name: _toggleStyleModifier.parser(in: context).map({ Output.chunk16(.toggleStyle($0)) }).eraseToAnyParser(), -_toolbarModifier.name: _toolbarModifier.parser(in: context).map({ Output.chunk16(.toolbar($0)) }).eraseToAnyParser(), -_toolbarBackgroundModifier.name: _toolbarBackgroundModifier.parser(in: context).map({ Output.chunk16(.toolbarBackground($0)) }).eraseToAnyParser(), -_toolbarBackgroundVisibilityModifier.name: _toolbarBackgroundVisibilityModifier.parser(in: context).map({ Output.chunk16(.toolbarBackgroundVisibility($0)) }).eraseToAnyParser(), -_toolbarColorSchemeModifier.name: _toolbarColorSchemeModifier.parser(in: context).map({ Output.chunk16(.toolbarColorScheme($0)) }).eraseToAnyParser(), -_toolbarItemHiddenModifier.name: _toolbarItemHiddenModifier.parser(in: context).map({ Output.chunk16(.toolbarItemHidden($0)) }).eraseToAnyParser(), -_toolbarRoleModifier.name: _toolbarRoleModifier.parser(in: context).map({ Output.chunk17(.toolbarRole($0)) }).eraseToAnyParser(), -_toolbarTitleDisplayModeModifier.name: _toolbarTitleDisplayModeModifier.parser(in: context).map({ Output.chunk17(.toolbarTitleDisplayMode($0)) }).eraseToAnyParser(), -_toolbarTitleMenuModifier.name: _toolbarTitleMenuModifier.parser(in: context).map({ Output.chunk17(.toolbarTitleMenu($0)) }).eraseToAnyParser(), -_toolbarVisibilityModifier.name: _toolbarVisibilityModifier.parser(in: context).map({ Output.chunk17(.toolbarVisibility($0)) }).eraseToAnyParser(), -_touchBarCustomizationLabelModifier.name: _touchBarCustomizationLabelModifier.parser(in: context).map({ Output.chunk17(.touchBarCustomizationLabel($0)) }).eraseToAnyParser(), -_touchBarItemPrincipalModifier.name: _touchBarItemPrincipalModifier.parser(in: context).map({ Output.chunk17(.touchBarItemPrincipal($0)) }).eraseToAnyParser(), -_transform3DEffectModifier.name: _transform3DEffectModifier.parser(in: context).map({ Output.chunk17(.transform3DEffect($0)) }).eraseToAnyParser(), -_transformEffectModifier.name: _transformEffectModifier.parser(in: context).map({ Output.chunk17(.transformEffect($0)) }).eraseToAnyParser(), -_transitionModifier.name: _transitionModifier.parser(in: context).map({ Output.chunk17(.transition($0)) }).eraseToAnyParser(), -_truncationModeModifier.name: _truncationModeModifier.parser(in: context).map({ Output.chunk17(.truncationMode($0)) }).eraseToAnyParser(), -_unredactedModifier.name: _unredactedModifier.parser(in: context).map({ Output.chunk17(.unredacted($0)) }).eraseToAnyParser(), -_upperLimbVisibilityModifier.name: _upperLimbVisibilityModifier.parser(in: context).map({ Output.chunk17(.upperLimbVisibility($0)) }).eraseToAnyParser(), -_volumeBaseplateVisibilityModifier.name: _volumeBaseplateVisibilityModifier.parser(in: context).map({ Output.chunk17(.volumeBaseplateVisibility($0)) }).eraseToAnyParser(), -_windowDismissBehaviorModifier.name: _windowDismissBehaviorModifier.parser(in: context).map({ Output.chunk17(.windowDismissBehavior($0)) }).eraseToAnyParser(), -_windowFullScreenBehaviorModifier.name: _windowFullScreenBehaviorModifier.parser(in: context).map({ Output.chunk18(.windowFullScreenBehavior($0)) }).eraseToAnyParser(), -_windowMinimizeBehaviorModifier.name: _windowMinimizeBehaviorModifier.parser(in: context).map({ Output.chunk18(.windowMinimizeBehavior($0)) }).eraseToAnyParser(), -_windowResizeBehaviorModifier.name: _windowResizeBehaviorModifier.parser(in: context).map({ Output.chunk18(.windowResizeBehavior($0)) }).eraseToAnyParser(), -_windowToolbarFullScreenVisibilityModifier.name: _windowToolbarFullScreenVisibilityModifier.parser(in: context).map({ Output.chunk18(.windowToolbarFullScreenVisibility($0)) }).eraseToAnyParser(), -_writingToolsBehaviorModifier.name: _writingToolsBehaviorModifier.parser(in: context).map({ Output.chunk18(.writingToolsBehavior($0)) }).eraseToAnyParser(), -_zIndexModifier.name: _zIndexModifier.parser(in: context).map({ Output.chunk18(.zIndex($0)) }).eraseToAnyParser(), - LiveViewNative._SearchCompletionModifier.name: LiveViewNative._SearchCompletionModifier.parser(in: context).map(Output._SearchCompletionModifier).eraseToAnyParser(), +_searchSuggestionsModifier.name: _searchSuggestionsModifier.parser(in: context).map({ Output.chunk15(.searchSuggestions($0)) }).eraseToAnyParser(), +_searchableModifier.name: _searchableModifier.parser(in: context).map({ Output.chunk15(.searchable($0)) }).eraseToAnyParser(), +_sectionActionsModifier.name: _sectionActionsModifier.parser(in: context).map({ Output.chunk15(.sectionActions($0)) }).eraseToAnyParser(), +_selectionDisabledModifier.name: _selectionDisabledModifier.parser(in: context).map({ Output.chunk15(.selectionDisabled($0)) }).eraseToAnyParser(), +_shadowModifier.name: _shadowModifier.parser(in: context).map({ Output.chunk15(.shadow($0)) }).eraseToAnyParser(), +_sheetModifier.name: _sheetModifier.parser(in: context).map({ Output.chunk15(.sheet($0)) }).eraseToAnyParser(), +_simultaneousGestureModifier.name: _simultaneousGestureModifier.parser(in: context).map({ Output.chunk15(.simultaneousGesture($0)) }).eraseToAnyParser(), +_speechAdjustedPitchModifier.name: _speechAdjustedPitchModifier.parser(in: context).map({ Output.chunk15(.speechAdjustedPitch($0)) }).eraseToAnyParser(), +_speechAlwaysIncludesPunctuationModifier.name: _speechAlwaysIncludesPunctuationModifier.parser(in: context).map({ Output.chunk15(.speechAlwaysIncludesPunctuation($0)) }).eraseToAnyParser(), +_speechAnnouncementsQueuedModifier.name: _speechAnnouncementsQueuedModifier.parser(in: context).map({ Output.chunk15(.speechAnnouncementsQueued($0)) }).eraseToAnyParser(), +_speechSpellsOutCharactersModifier.name: _speechSpellsOutCharactersModifier.parser(in: context).map({ Output.chunk15(.speechSpellsOutCharacters($0)) }).eraseToAnyParser(), +_statusBarModifier.name: _statusBarModifier.parser(in: context).map({ Output.chunk15(.statusBar($0)) }).eraseToAnyParser(), +_statusBarHiddenModifier.name: _statusBarHiddenModifier.parser(in: context).map({ Output.chunk15(.statusBarHidden($0)) }).eraseToAnyParser(), +_submitLabelModifier.name: _submitLabelModifier.parser(in: context).map({ Output.chunk15(.submitLabel($0)) }).eraseToAnyParser(), +_submitScopeModifier.name: _submitScopeModifier.parser(in: context).map({ Output.chunk16(.submitScope($0)) }).eraseToAnyParser(), +_supportedVolumeViewpointsModifier.name: _supportedVolumeViewpointsModifier.parser(in: context).map({ Output.chunk16(.supportedVolumeViewpoints($0)) }).eraseToAnyParser(), +_swipeActionsModifier.name: _swipeActionsModifier.parser(in: context).map({ Output.chunk16(.swipeActions($0)) }).eraseToAnyParser(), +_symbolEffectModifier.name: _symbolEffectModifier.parser(in: context).map({ Output.chunk16(.symbolEffect($0)) }).eraseToAnyParser(), +_symbolEffectsRemovedModifier.name: _symbolEffectsRemovedModifier.parser(in: context).map({ Output.chunk16(.symbolEffectsRemoved($0)) }).eraseToAnyParser(), +_symbolRenderingModeModifier.name: _symbolRenderingModeModifier.parser(in: context).map({ Output.chunk16(.symbolRenderingMode($0)) }).eraseToAnyParser(), +_symbolVariantModifier.name: _symbolVariantModifier.parser(in: context).map({ Output.chunk16(.symbolVariant($0)) }).eraseToAnyParser(), +_tabItemModifier.name: _tabItemModifier.parser(in: context).map({ Output.chunk16(.tabItem($0)) }).eraseToAnyParser(), +_tabViewSidebarBottomBarModifier.name: _tabViewSidebarBottomBarModifier.parser(in: context).map({ Output.chunk16(.tabViewSidebarBottomBar($0)) }).eraseToAnyParser(), +_tabViewSidebarFooterModifier.name: _tabViewSidebarFooterModifier.parser(in: context).map({ Output.chunk16(.tabViewSidebarFooter($0)) }).eraseToAnyParser(), +_tabViewSidebarHeaderModifier.name: _tabViewSidebarHeaderModifier.parser(in: context).map({ Output.chunk16(.tabViewSidebarHeader($0)) }).eraseToAnyParser(), +_tabViewStyleModifier.name: _tabViewStyleModifier.parser(in: context).map({ Output.chunk16(.tabViewStyle($0)) }).eraseToAnyParser(), +_tableStyleModifier.name: _tableStyleModifier.parser(in: context).map({ Output.chunk16(.tableStyle($0)) }).eraseToAnyParser(), +_textCaseModifier.name: _textCaseModifier.parser(in: context).map({ Output.chunk16(.textCase($0)) }).eraseToAnyParser(), +_textContentTypeModifier.name: _textContentTypeModifier.parser(in: context).map({ Output.chunk17(.textContentType($0)) }).eraseToAnyParser(), +_textEditorStyleModifier.name: _textEditorStyleModifier.parser(in: context).map({ Output.chunk17(.textEditorStyle($0)) }).eraseToAnyParser(), +_textFieldStyleModifier.name: _textFieldStyleModifier.parser(in: context).map({ Output.chunk17(.textFieldStyle($0)) }).eraseToAnyParser(), +_textInputAutocapitalizationModifier.name: _textInputAutocapitalizationModifier.parser(in: context).map({ Output.chunk17(.textInputAutocapitalization($0)) }).eraseToAnyParser(), +_textInputCompletionModifier.name: _textInputCompletionModifier.parser(in: context).map({ Output.chunk17(.textInputCompletion($0)) }).eraseToAnyParser(), +_textInputSuggestionsModifier.name: _textInputSuggestionsModifier.parser(in: context).map({ Output.chunk17(.textInputSuggestions($0)) }).eraseToAnyParser(), +_textSelectionModifier.name: _textSelectionModifier.parser(in: context).map({ Output.chunk17(.textSelection($0)) }).eraseToAnyParser(), +_textSelectionAffinityModifier.name: _textSelectionAffinityModifier.parser(in: context).map({ Output.chunk17(.textSelectionAffinity($0)) }).eraseToAnyParser(), +_tintModifier.name: _tintModifier.parser(in: context).map({ Output.chunk17(.tint($0)) }).eraseToAnyParser(), +_toggleStyleModifier.name: _toggleStyleModifier.parser(in: context).map({ Output.chunk17(.toggleStyle($0)) }).eraseToAnyParser(), +_toolbarModifier.name: _toolbarModifier.parser(in: context).map({ Output.chunk17(.toolbar($0)) }).eraseToAnyParser(), +_toolbarBackgroundModifier.name: _toolbarBackgroundModifier.parser(in: context).map({ Output.chunk17(.toolbarBackground($0)) }).eraseToAnyParser(), +_toolbarBackgroundVisibilityModifier.name: _toolbarBackgroundVisibilityModifier.parser(in: context).map({ Output.chunk17(.toolbarBackgroundVisibility($0)) }).eraseToAnyParser(), +_toolbarColorSchemeModifier.name: _toolbarColorSchemeModifier.parser(in: context).map({ Output.chunk17(.toolbarColorScheme($0)) }).eraseToAnyParser(), +_toolbarItemHiddenModifier.name: _toolbarItemHiddenModifier.parser(in: context).map({ Output.chunk18(.toolbarItemHidden($0)) }).eraseToAnyParser(), +_toolbarRoleModifier.name: _toolbarRoleModifier.parser(in: context).map({ Output.chunk18(.toolbarRole($0)) }).eraseToAnyParser(), +_toolbarTitleDisplayModeModifier.name: _toolbarTitleDisplayModeModifier.parser(in: context).map({ Output.chunk18(.toolbarTitleDisplayMode($0)) }).eraseToAnyParser(), +_toolbarTitleMenuModifier.name: _toolbarTitleMenuModifier.parser(in: context).map({ Output.chunk18(.toolbarTitleMenu($0)) }).eraseToAnyParser(), +_toolbarVisibilityModifier.name: _toolbarVisibilityModifier.parser(in: context).map({ Output.chunk18(.toolbarVisibility($0)) }).eraseToAnyParser(), +_touchBarCustomizationLabelModifier.name: _touchBarCustomizationLabelModifier.parser(in: context).map({ Output.chunk18(.touchBarCustomizationLabel($0)) }).eraseToAnyParser(), +_touchBarItemPrincipalModifier.name: _touchBarItemPrincipalModifier.parser(in: context).map({ Output.chunk18(.touchBarItemPrincipal($0)) }).eraseToAnyParser(), +_transform3DEffectModifier.name: _transform3DEffectModifier.parser(in: context).map({ Output.chunk18(.transform3DEffect($0)) }).eraseToAnyParser(), +_transformEffectModifier.name: _transformEffectModifier.parser(in: context).map({ Output.chunk18(.transformEffect($0)) }).eraseToAnyParser(), +_transitionModifier.name: _transitionModifier.parser(in: context).map({ Output.chunk18(.transition($0)) }).eraseToAnyParser(), +_truncationModeModifier.name: _truncationModeModifier.parser(in: context).map({ Output.chunk18(.truncationMode($0)) }).eraseToAnyParser(), +_unredactedModifier.name: _unredactedModifier.parser(in: context).map({ Output.chunk18(.unredacted($0)) }).eraseToAnyParser(), +_upperLimbVisibilityModifier.name: _upperLimbVisibilityModifier.parser(in: context).map({ Output.chunk18(.upperLimbVisibility($0)) }).eraseToAnyParser(), +_volumeBaseplateVisibilityModifier.name: _volumeBaseplateVisibilityModifier.parser(in: context).map({ Output.chunk18(.volumeBaseplateVisibility($0)) }).eraseToAnyParser(), +_windowDismissBehaviorModifier.name: _windowDismissBehaviorModifier.parser(in: context).map({ Output.chunk19(.windowDismissBehavior($0)) }).eraseToAnyParser(), +_windowFullScreenBehaviorModifier.name: _windowFullScreenBehaviorModifier.parser(in: context).map({ Output.chunk19(.windowFullScreenBehavior($0)) }).eraseToAnyParser(), +_windowMinimizeBehaviorModifier.name: _windowMinimizeBehaviorModifier.parser(in: context).map({ Output.chunk19(.windowMinimizeBehavior($0)) }).eraseToAnyParser(), +_windowResizeBehaviorModifier.name: _windowResizeBehaviorModifier.parser(in: context).map({ Output.chunk19(.windowResizeBehavior($0)) }).eraseToAnyParser(), +_windowToolbarFullScreenVisibilityModifier.name: _windowToolbarFullScreenVisibilityModifier.parser(in: context).map({ Output.chunk19(.windowToolbarFullScreenVisibility($0)) }).eraseToAnyParser(), +_writingToolsBehaviorModifier.name: _writingToolsBehaviorModifier.parser(in: context).map({ Output.chunk19(.writingToolsBehavior($0)) }).eraseToAnyParser(), +_zIndexModifier.name: _zIndexModifier.parser(in: context).map({ Output.chunk19(.zIndex($0)) }).eraseToAnyParser(), + LiveViewNative._OnSubmitModifier.name: LiveViewNative._OnSubmitModifier.parser(in: context).map(Output._OnSubmitModifier).eraseToAnyParser(), LiveViewNative._PerspectiveRotationEffectModifier.name: LiveViewNative._PerspectiveRotationEffectModifier.parser(in: context).map(Output._PerspectiveRotationEffectModifier).eraseToAnyParser(), +LiveViewNative._MaskModifier.name: LiveViewNative._MaskModifier.parser(in: context).map(Output._MaskModifier).eraseToAnyParser(), LiveViewNative._SearchScopesModifier.name: LiveViewNative._SearchScopesModifier.parser(in: context).map(Output._SearchScopesModifier).eraseToAnyParser(), +LiveViewNative._NavigationTransitionModifier.name: LiveViewNative._NavigationTransitionModifier.parser(in: context).map(Output._NavigationTransitionModifier).eraseToAnyParser(), LiveViewNative._MatchedGeometryEffectModifier.name: LiveViewNative._MatchedGeometryEffectModifier.parser(in: context).map(Output._MatchedGeometryEffectModifier).eraseToAnyParser(), -LiveViewNative._Rotation3DEffectModifier.name: LiveViewNative._Rotation3DEffectModifier.parser(in: context).map(Output._Rotation3DEffectModifier).eraseToAnyParser(), LiveViewNative._PresentationDetentsModifier.name: LiveViewNative._PresentationDetentsModifier.parser(in: context).map(Output._PresentationDetentsModifier).eraseToAnyParser(), -LiveViewNative._MatchedTransitionSourceModifier.name: LiveViewNative._MatchedTransitionSourceModifier.parser(in: context).map(Output._MatchedTransitionSourceModifier).eraseToAnyParser(), -LiveViewNative._OnSubmitModifier.name: LiveViewNative._OnSubmitModifier.parser(in: context).map(Output._OnSubmitModifier).eraseToAnyParser(), +LiveViewNative._Rotation3DEffectModifier.name: LiveViewNative._Rotation3DEffectModifier.parser(in: context).map(Output._Rotation3DEffectModifier).eraseToAnyParser(), LiveViewNative._FocusScopeModifier.name: LiveViewNative._FocusScopeModifier.parser(in: context).map(Output._FocusScopeModifier).eraseToAnyParser(), -LiveViewNative._NavigationTransitionModifier.name: LiveViewNative._NavigationTransitionModifier.parser(in: context).map(Output._NavigationTransitionModifier).eraseToAnyParser(), LiveViewNative._PrefersDefaultFocusModifier.name: LiveViewNative._PrefersDefaultFocusModifier.parser(in: context).map(Output._PrefersDefaultFocusModifier).eraseToAnyParser(), -LiveViewNative._MaskModifier.name: LiveViewNative._MaskModifier.parser(in: context).map(Output._MaskModifier).eraseToAnyParser(), +LiveViewNative._MatchedTransitionSourceModifier.name: LiveViewNative._MatchedTransitionSourceModifier.parser(in: context).map(Output._MatchedTransitionSourceModifier).eraseToAnyParser(), +LiveViewNative._SearchCompletionModifier.name: LiveViewNative._SearchCompletionModifier.parser(in: context).map(Output._SearchCompletionModifier).eraseToAnyParser(), ] let deprecations = [ @@ -16275,7 +17498,7 @@ ConstantAtomLiteral("content").map({ () -> Self in /// * `.tabBar` /// * `.sidebar` @_documentation(visibility: public) -@available(watchOS 11.0,iOS 18.0,tvOS 18.0,visionOS 2.0,macOS 15.0, *) +@available(watchOS 11.0,iOS 18.0,macOS 15.0,visionOS 2.0,tvOS 18.0, *) extension AdaptableTabBarPlacement: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -16393,7 +17616,7 @@ ConstantAtomLiteral("vertical").map({ () -> Self in /// * `.standard` /// * `.increased` @_documentation(visibility: public) -@available(macOS 14.0,iOS 17.0,visionOS 1.0, *) +@available(iOS 17.0,macOS 14.0,visionOS 1.0, *) extension BadgeProminence: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -16621,7 +17844,7 @@ ConstantAtomLiteral("plusLighter").map({ () -> Self in /// * `.enabled` /// * `.disabled` @_documentation(visibility: public) -@available(watchOS 10.0,iOS 17.0,tvOS 17.0,visionOS 1.0,macOS 14.0, *) +@available(watchOS 10.0,iOS 17.0,macOS 14.0,visionOS 1.0,tvOS 17.0, *) extension ButtonRepeatBehavior: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -16740,35 +17963,35 @@ ConstantAtomLiteral("dark").map({ () -> Self in /// * `.navigationSplitView` /// * `.window` @_documentation(visibility: public) -@available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 14.0,visionOS 1.0, *) +@available(tvOS 17.0,iOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) extension ContainerBackgroundPlacement: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { OneOf { #if os(watchOS) ConstantAtomLiteral("tabView").map({ () -> Self in -if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 14.0, *) { +if #available(tvOS 17.0,iOS 17.0,watchOS 10.0,macOS 14.0, *) { return Self.tabView } else { fatalError("'tabView' is not available in this OS version") } }) #endif #if os(iOS) || os(watchOS) ConstantAtomLiteral("navigation").map({ () -> Self in -if #available(iOS 18.0,tvOS 17.0,watchOS 10.0,macOS 14.0, *) { +if #available(tvOS 17.0,iOS 18.0,watchOS 10.0,macOS 14.0, *) { return Self.navigation } else { fatalError("'navigation' is not available in this OS version") } }) #endif #if os(iOS) || os(watchOS) ConstantAtomLiteral("navigationSplitView").map({ () -> Self in -if #available(iOS 18.0,tvOS 17.0,watchOS 11.0,macOS 14.0, *) { +if #available(tvOS 17.0,iOS 18.0,watchOS 11.0,macOS 14.0, *) { return Self.navigationSplitView } else { fatalError("'navigationSplitView' is not available in this OS version") } }) #endif #if os(macOS) ConstantAtomLiteral("window").map({ () -> Self in -if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 15.0, *) { +if #available(tvOS 17.0,iOS 17.0,watchOS 10.0,macOS 15.0, *) { return Self.window } else { fatalError("'window' is not available in this OS version") } }) @@ -16789,7 +18012,7 @@ if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 15.0, *) { /// * `.scrollContent` /// * `.scrollIndicators` @_documentation(visibility: public) -@available(macOS 14.0,watchOS 10.0,visionOS 1.0,iOS 17.0,tvOS 17.0, *) +@available(tvOS 17.0,iOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) extension ContentMarginPlacement: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -16848,35 +18071,35 @@ ConstantAtomLiteral("interaction").map({ () -> Self in #if os(iOS) || os(macOS) || os(visionOS) ConstantAtomLiteral("dragPreview").map({ () -> Self in -if #available(watchOS 8.0,visionOS 1.0,macOS 12.0,iOS 15.0,tvOS 15.0, *) { +if #available(macOS 12.0,visionOS 1.0,watchOS 8.0,tvOS 15.0,iOS 15.0, *) { return Self.dragPreview } else { fatalError("'dragPreview' is not available in this OS version") } }) #endif #if os(iOS) || os(tvOS) || os(visionOS) ConstantAtomLiteral("contextMenuPreview").map({ () -> Self in -if #available(watchOS 8.0,visionOS 1.0,macOS 12.0,iOS 15.0,tvOS 17.0, *) { +if #available(macOS 12.0,visionOS 1.0,watchOS 8.0,tvOS 17.0,iOS 15.0, *) { return Self.contextMenuPreview } else { fatalError("'contextMenuPreview' is not available in this OS version") } }) #endif #if os(iOS) || os(tvOS) || os(visionOS) ConstantAtomLiteral("hoverEffect").map({ () -> Self in -if #available(watchOS 8.0,visionOS 1.0,macOS 12.0,iOS 15.0,tvOS 18.0, *) { +if #available(macOS 12.0,visionOS 1.0,watchOS 8.0,tvOS 18.0,iOS 15.0, *) { return Self.hoverEffect } else { fatalError("'hoverEffect' is not available in this OS version") } }) #endif #if os(macOS) || os(watchOS) ConstantAtomLiteral("focusEffect").map({ () -> Self in -if #available(watchOS 8.0,macOS 12.0,iOS 15.0,tvOS 15.0, *) { +if #available(macOS 12.0,watchOS 8.0,tvOS 15.0,iOS 15.0, *) { return Self.focusEffect } else { fatalError("'focusEffect' is not available in this OS version") } }) #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) ConstantAtomLiteral("accessibility").map({ () -> Self in -if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 14.0,visionOS 1.0, *) { +if #available(watchOS 10.0,iOS 17.0,tvOS 17.0,macOS 14.0,visionOS 1.0, *) { return Self.accessibility } else { fatalError("'accessibility' is not available in this OS version") } }) @@ -16899,7 +18122,7 @@ if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 14.0,visionOS 1.0, *) { /// * `.large` /// * `.extraLarge` @_documentation(visibility: public) -@available(iOS 15.0,watchOS 9.0,macOS 10.15,visionOS 1.0, *) +@available(watchOS 9.0,iOS 15.0,macOS 10.15,visionOS 1.0, *) extension ControlSize: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -16927,14 +18150,14 @@ ConstantAtomLiteral("regular").map({ () -> Self in #endif #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) ConstantAtomLiteral("large").map({ () -> Self in -if #available(iOS 15.0,watchOS 9.0,macOS 11.0,visionOS 1.0, *) { +if #available(watchOS 9.0,iOS 15.0,macOS 11.0,visionOS 1.0, *) { return Self.large } else { fatalError("'large' is not available in this OS version") } }) #endif #if os(iOS) || os(macOS) || os(visionOS) || os(watchOS) ConstantAtomLiteral("extraLarge").map({ () -> Self in -if #available(iOS 17.0,watchOS 10.0,macOS 14.0,visionOS 1.0, *) { +if #available(watchOS 10.0,iOS 17.0,macOS 14.0,visionOS 1.0, *) { return Self.extraLarge } else { fatalError("'extraLarge' is not available in this OS version") } }) @@ -16989,7 +18212,7 @@ ConstantAtomLiteral("userInitiated").map({ () -> Self in /// * `.critical` /// * `.standard` @_documentation(visibility: public) -@available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 13.0,visionOS 1.0, *) +@available(tvOS 17.0,iOS 17.0,watchOS 10.0,visionOS 1.0,macOS 13.0, *) extension DialogSeverity: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -17010,7 +18233,7 @@ ConstantAtomLiteral("critical").map({ () -> Self in #endif #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) ConstantAtomLiteral("standard").map({ () -> Self in -if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 14.0,visionOS 1.0, *) { +if #available(tvOS 17.0,iOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) { return Self.standard } else { fatalError("'standard' is not available in this OS version") } }) @@ -17181,7 +18404,7 @@ ConstantAtomLiteral("all").map({ () -> Self in /// * `.includeHiddenFiles` /// * `.displayFileExtensions` @_documentation(visibility: public) -@available(iOS 17.0,visionOS 1.0,macOS 14.0, *) +@available(iOS 17.0,macOS 14.0,visionOS 1.0, *) extension FileDialogBrowserOptions: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -17223,7 +18446,7 @@ ConstantAtomLiteral("displayFileExtensions").map({ () -> Self in /// * `.edit` /// * `.automatic` @_documentation(visibility: public) -@available(watchOS 10.0,iOS 17.0,tvOS 17.0,visionOS 1.0,macOS 14.0, *) +@available(watchOS 10.0,iOS 17.0,macOS 14.0,visionOS 1.0,tvOS 17.0, *) extension FocusInteractions: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -17482,14 +18705,14 @@ extension HorizontalAlignment: ParseableModifierValue { OneOf { #if os(iOS) || os(macOS) || os(visionOS) ConstantAtomLiteral("listRowSeparatorLeading").map({ () -> Self in -if #available(iOS 16.0,visionOS 1.0,macOS 13.0, *) { +if #available(iOS 16.0,macOS 13.0,visionOS 1.0, *) { return Self.listRowSeparatorLeading } else { fatalError("'listRowSeparatorLeading' is not available in this OS version") } }) #endif #if os(iOS) || os(macOS) || os(visionOS) ConstantAtomLiteral("listRowSeparatorTrailing").map({ () -> Self in -if #available(iOS 16.0,visionOS 1.0,macOS 13.0, *) { +if #available(iOS 16.0,macOS 13.0,visionOS 1.0, *) { return Self.listRowSeparatorTrailing } else { fatalError("'listRowSeparatorTrailing' is not available in this OS version") } }) @@ -17530,7 +18753,7 @@ ConstantAtomLiteral("trailing").map({ () -> Self in /// * `.leading` /// * `.trailing` @_documentation(visibility: public) -@available(watchOS 11.0,visionOS 2.0,macOS 15.0,iOS 18.0,tvOS 18.0, *) +@available(macOS 15.0,visionOS 2.0,watchOS 11.0,tvOS 18.0,iOS 18.0, *) extension HorizontalDirection: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -17599,7 +18822,7 @@ ConstantAtomLiteral("trailing").map({ () -> Self in /// * `.highlight` /// * `.lift` @_documentation(visibility: public) -@available(iOS 13.4,visionOS 1.0,tvOS 16.0, *) +@available(iOS 13.4,tvOS 16.0,visionOS 1.0, *) extension HoverEffect: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -17613,7 +18836,7 @@ ConstantAtomLiteral("automatic").map({ () -> Self in #endif #if os(iOS) || os(tvOS) || os(visionOS) ConstantAtomLiteral("highlight").map({ () -> Self in -if #available(iOS 13.4,visionOS 1.0,tvOS 17.0, *) { +if #available(iOS 13.4,tvOS 17.0,visionOS 1.0, *) { return Self.highlight } else { fatalError("'highlight' is not available in this OS version") } }) @@ -17640,7 +18863,7 @@ ConstantAtomLiteral("lift").map({ () -> Self in /// * `.defaultAction` /// * `.cancelAction` @_documentation(visibility: public) -@available(macOS 11.0,iOS 14.0,visionOS 1.0, *) +@available(iOS 14.0,macOS 11.0,visionOS 1.0, *) extension KeyboardShortcut: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -17731,7 +18954,7 @@ ConstantAtomLiteral("automatic").map({ () -> Self in #if os(iOS) || os(visionOS) ConstantAtomLiteral("priority").map({ () -> Self in -if #available(macOS 13.0,watchOS 9.0,visionOS 1.0,iOS 16.0,tvOS 16.0, *) { +if #available(tvOS 16.0,iOS 16.0,watchOS 9.0,visionOS 1.0,macOS 13.0, *) { return Self.priority } else { fatalError("'priority' is not available in this OS version") } }) @@ -17761,7 +18984,7 @@ ConstantAtomLiteral("fixed").map({ () -> Self in /// * `.sheet` /// * `.fullScreenCover` @_documentation(visibility: public) -@available(iOS 16.4,tvOS 16.4,watchOS 9.4,macOS 13.3,visionOS 1.0, *) +@available(tvOS 16.4,iOS 16.4,watchOS 9.4,visionOS 1.0,macOS 13.3, *) extension PresentationAdaptation: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -17817,7 +19040,7 @@ ConstantAtomLiteral("fullScreenCover").map({ () -> Self in /// * `.resizes` /// * `.scrolls` @_documentation(visibility: public) -@available(watchOS 9.4,iOS 16.4,tvOS 16.4,visionOS 1.0,macOS 13.3, *) +@available(watchOS 9.4,iOS 16.4,macOS 13.3,visionOS 1.0,tvOS 16.4, *) extension PresentationContentInteraction: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -17914,7 +19137,7 @@ ConstantAtomLiteral("privacy").map({ () -> Self in #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS) || os(watchOS) ConstantAtomLiteral("invalidated").map({ () -> Self in -if #available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 14.0,visionOS 1.0, *) { +if #available(watchOS 10.0,iOS 17.0,tvOS 17.0,macOS 14.0,visionOS 1.0, *) { return Self.invalidated } else { fatalError("'invalidated' is not available in this OS version") } }) @@ -18024,7 +19247,7 @@ ConstantAtomLiteral("minimum").map({ () -> Self in #if os(watchOS) ConstantAtomLiteral("navigationBar").map({ () -> Self in -if #available(tvOS 16.0,iOS 16.0,macOS 13.0,watchOS 9.0, *) { +if #available(macOS 13.0,watchOS 9.0,iOS 16.0,tvOS 16.0, *) { return Self.navigationBar } else { fatalError("'navigationBar' is not available in this OS version") } }) @@ -18045,7 +19268,7 @@ if #available(tvOS 16.0,iOS 16.0,macOS 13.0,watchOS 9.0, *) { /// * `.sizeChanges` /// * `.alignment` @_documentation(visibility: public) -@available(iOS 18.0,tvOS 18.0,watchOS 11.0,macOS 15.0,visionOS 2.0, *) +@available(tvOS 18.0,iOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0, *) extension ScrollAnchorRole: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18087,7 +19310,7 @@ ConstantAtomLiteral("alignment").map({ () -> Self in /// * `.always` /// * `.basedOnSize` @_documentation(visibility: public) -@available(iOS 16.4,tvOS 16.4,watchOS 9.4,macOS 13.3,visionOS 1.0, *) +@available(tvOS 16.4,iOS 16.4,watchOS 9.4,visionOS 1.0,macOS 13.3, *) extension ScrollBounceBehavior: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18130,7 +19353,7 @@ ConstantAtomLiteral("basedOnSize").map({ () -> Self in /// * `.interactively` /// * `.never` @_documentation(visibility: public) -@available(iOS 16.0,tvOS 16.0,watchOS 9.0,macOS 13.0, *) +@available(tvOS 16.0,iOS 16.0,watchOS 9.0,macOS 13.0, *) extension ScrollDismissesKeyboardMode: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18229,7 +19452,7 @@ ConstantAtomLiteral("never").map({ () -> Self in /// * `.enabled` /// * `.disabled` @_documentation(visibility: public) -@available(iOS 18.0,tvOS 18.0,watchOS 11.0,macOS 15.0,visionOS 2.0, *) +@available(tvOS 18.0,iOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0, *) extension ScrollInputBehavior: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18271,7 +19494,7 @@ ConstantAtomLiteral("disabled").map({ () -> Self in /// * `.onTextEntry` /// * `.onSearchPresentation` @_documentation(visibility: public) -@available(macOS 13.3,watchOS 9.4,visionOS 1.0,iOS 16.4,tvOS 16.4, *) +@available(tvOS 16.4,iOS 16.4,watchOS 9.4,visionOS 1.0,macOS 13.3, *) extension SearchScopeActivation: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18355,7 +19578,7 @@ ConstantAtomLiteral("content").map({ () -> Self in /// * `.enabled` /// * `.disabled` @_documentation(visibility: public) -@available(visionOS 1.0,tvOS 17.0,iOS 17.0,macOS 14.0,watchOS 10.0, *) +@available(visionOS 1.0,macOS 14.0,watchOS 10.0,iOS 17.0,tvOS 17.0, *) extension SpringLoadingBehavior: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18521,7 +19744,7 @@ ConstantAtomLiteral("search").map({ () -> Self in /// * `.upstream` /// * `.downstream` @_documentation(visibility: public) -@available(iOS 18.0,tvOS 18.0,watchOS 11.0,macOS 15.0,visionOS 2.0, *) +@available(tvOS 18.0,iOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0, *) extension TextSelectionAffinity: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18562,7 +19785,7 @@ ConstantAtomLiteral("downstream").map({ () -> Self in /// * `.sidebarToggle` /// * `.title` @_documentation(visibility: public) -@available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 14.0,visionOS 1.0, *) +@available(tvOS 17.0,iOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) extension ToolbarDefaultItemKind: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18576,7 +19799,7 @@ ConstantAtomLiteral("sidebarToggle").map({ () -> Self in #endif #if os(iOS) || os(macOS) || os(visionOS) ConstantAtomLiteral("title").map({ () -> Self in -if #available(iOS 18.0,tvOS 17.0,watchOS 10.0,macOS 15.0,visionOS 2.0, *) { +if #available(tvOS 17.0,iOS 18.0,watchOS 10.0,visionOS 2.0,macOS 15.0, *) { return Self.title } else { fatalError("'title' is not available in this OS version") } }) @@ -18612,21 +19835,21 @@ ConstantAtomLiteral("automatic").map({ () -> Self in #if os(iOS) || os(tvOS) || os(visionOS) || os(watchOS) ConstantAtomLiteral("navigationStack").map({ () -> Self in -if #available(watchOS 9.0,iOS 16.0,tvOS 16.0,visionOS 1.0,macOS 13.0, *) { +if #available(watchOS 9.0,iOS 16.0,macOS 13.0,visionOS 1.0,tvOS 16.0, *) { return Self.navigationStack } else { fatalError("'navigationStack' is not available in this OS version") } }) #endif #if os(iOS) || os(visionOS) ConstantAtomLiteral("browser").map({ () -> Self in -if #available(watchOS 9.0,iOS 16.0,tvOS 16.0,visionOS 1.0,macOS 13.0, *) { +if #available(watchOS 9.0,iOS 16.0,macOS 13.0,visionOS 1.0,tvOS 16.0, *) { return Self.browser } else { fatalError("'browser' is not available in this OS version") } }) #endif #if os(iOS) || os(macOS) || os(visionOS) ConstantAtomLiteral("editor").map({ () -> Self in -if #available(watchOS 9.0,iOS 16.0,tvOS 16.0,visionOS 1.0,macOS 13.0, *) { +if #available(watchOS 9.0,iOS 16.0,macOS 13.0,visionOS 1.0,tvOS 16.0, *) { return Self.editor } else { fatalError("'editor' is not available in this OS version") } }) @@ -18648,7 +19871,7 @@ if #available(watchOS 9.0,iOS 16.0,tvOS 16.0,visionOS 1.0,macOS 13.0, *) { /// * `.inlineLarge` /// * `.inline` @_documentation(visibility: public) -@available(iOS 17.0,tvOS 17.0,watchOS 10.0,macOS 14.0,visionOS 1.0, *) +@available(tvOS 17.0,iOS 17.0,watchOS 10.0,visionOS 1.0,macOS 14.0, *) extension ToolbarTitleDisplayMode: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18754,7 +19977,7 @@ ConstantAtomLiteral("lastTextBaseline").map({ () -> Self in /// * `.up` /// * `.down` @_documentation(visibility: public) -@available(watchOS 11.0,visionOS 2.0,macOS 15.0,iOS 18.0,tvOS 18.0, *) +@available(macOS 15.0,visionOS 2.0,watchOS 11.0,tvOS 18.0,iOS 18.0, *) extension VerticalDirection: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { @@ -18907,7 +20130,7 @@ ConstantAtomLiteral("disabled").map({ () -> Self in /// * `.visible` /// * `.onHover` @_documentation(visibility: public) -@available(macOS 15.0,watchOS 11.0,visionOS 2.0,iOS 18.0,tvOS 18.0, *) +@available(tvOS 18.0,iOS 18.0,watchOS 11.0,visionOS 2.0,macOS 15.0, *) extension WindowToolbarFullScreenVisibility: ParseableModifierValue { public static func parser(in context: ParseableModifierContext) -> some Parser { ImplicitStaticMember { diff --git a/Sources/ModifierGenerator/FunctionParameterSyntax+isViewBuilder.swift b/Sources/ModifierGenerator/FunctionParameterSyntax+isViewBuilder.swift index 3edb3c7d9..41040ea73 100644 --- a/Sources/ModifierGenerator/FunctionParameterSyntax+isViewBuilder.swift +++ b/Sources/ModifierGenerator/FunctionParameterSyntax+isViewBuilder.swift @@ -61,4 +61,12 @@ extension FunctionParameterSyntax { var isUIGestureRecognizerRepresentable: Bool { self.type.as(SomeOrAnyTypeSyntax.self)?.constraint.as(IdentifierTypeSyntax.self)?.name.text == "UIGestureRecognizerRepresentable" } + + var isContextMenu: Bool { + (self.type.as(OptionalTypeSyntax.self)?.wrappedType ?? self.type).as(MemberTypeSyntax.self)?.name.text == "ContextMenu" + } + + var isCoordinateSpace: Bool { + (self.type.as(OptionalTypeSyntax.self)?.wrappedType ?? self.type).as(MemberTypeSyntax.self)?.name.text == "CoordinateSpace" + } } diff --git a/Sources/ModifierGenerator/ModifierGenerator.swift b/Sources/ModifierGenerator/ModifierGenerator.swift index a612b39ff..8f902bba4 100644 --- a/Sources/ModifierGenerator/ModifierGenerator.swift +++ b/Sources/ModifierGenerator/ModifierGenerator.swift @@ -137,6 +137,8 @@ struct ModifierGenerator: ParsableCommand { "textRenderer", "tabViewCustomization", + + "menuButtonStyle", // manually implemented due to argument order edge cases "searchScopes", @@ -271,6 +273,14 @@ struct ModifierGenerator: ParsableCommand { if parameter.isUIGestureRecognizerRepresentable { return false } + + if parameter.isContextMenu { + return false + } + + if parameter.isCoordinateSpace { + return false + } } return true } diff --git a/Sources/ModifierGenerator/Visitors/ModifierVisitor.swift b/Sources/ModifierGenerator/Visitors/ModifierVisitor.swift index da9afc0a3..25b47c311 100644 --- a/Sources/ModifierGenerator/Visitors/ModifierVisitor.swift +++ b/Sources/ModifierGenerator/Visitors/ModifierVisitor.swift @@ -79,7 +79,6 @@ final class ModifierVisitor: SyntaxVisitor { let nodeAvailabilityAttributes = node.attributes.compactMap({ $0.as(AttributeSyntax.self)?.arguments?.as(AvailabilityArgumentListSyntax.self) }) - // if all platforms mark this symbol as deprecated, exclude it. let isDeprecated = !nodeAvailabilityAttributes.isEmpty && nodeAvailabilityAttributes.allSatisfy({ $0.contains(where: { $0.argument.as(AvailabilityLabeledArgumentSyntax.self)?.label.tokenKind == .keyword(.deprecated) @@ -106,6 +105,7 @@ final class ModifierVisitor: SyntaxVisitor { $0.argument.as(AvailabilityLabeledArgumentSyntax.self)?.label.tokenKind == .keyword(.deprecated) }) }) + self.modifiers[decl.name.trimmed.text, default: []].append((decl, availability: Self.availability(node.attributes, decl.attributes))) if isMemberDeprecated || isDeprecated { // extract the deprecation message. self.deprecations[decl.name.trimmed.text] = (isMemberDeprecated ? memberAvailabilityAttributes : nodeAvailabilityAttributes) @@ -128,8 +128,6 @@ final class ModifierVisitor: SyntaxVisitor { } }).first }).first ?? #""This symbol is unavailable and will have no effect""# - } else { - self.modifiers[decl.name.trimmed.text, default: []].append((decl, availability: Self.availability(node.attributes, decl.attributes))) } }