{
  "version": 3,
  "sources": ["src/platform/specs/OneNativeMenuNativeComponent.ts"],
  "sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ViewProps } from 'react-native';\nimport type { DirectEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nexport type NativeMenuItem = Readonly<{\n  parentId: string;\n  type: string;\n  id: string;\n  title: string;\n  systemImage: string;\n  role: string;\n  disabled: boolean;\n  hidden: boolean;\n  help: string;\n  controlGroupStyle: string;\n  values: ReadonlyArray<boolean>;\n  selection: string;\n  menuOrder: string;\n  menuActionDismissBehavior: string;\n}>;\ninterface NativeProps extends ViewProps {\n  items: ReadonlyArray<NativeMenuItem>;\n  triggerLabel: string;\n  disabled: boolean;\n  hasPrimaryAction: boolean;\n  menuOrder: string;\n  menuActionDismissBehavior: string;\n  presentation: string;\n  acknowledgedEvent: Int32;\n  revision: Int32;\n  pickerAcknowledgedEvent: Int32;\n  onNativeMenuAction?: DirectEventHandler<Readonly<{\n    id: string;\n  }>>;\n  onNativeMenuPrimaryAction?: DirectEventHandler<Readonly<{\n    kind: string;\n  }>>;\n  onNativeMenuValueChange?: DirectEventHandler<Readonly<{\n    id: string;\n    value: boolean;\n    sourceIndex: Int32;\n    eventCount: Int32;\n    revision: Int32;\n  }>>;\n  onNativeMenuPickerChange?: DirectEventHandler<Readonly<{\n    id: string;\n    value: string;\n    eventCount: Int32;\n    revision: Int32;\n  }>>;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nconst {\n  ConditionallyIgnoredEventHandlers\n} = require('react-native/Libraries/NativeComponent/ViewConfigIgnore');\nlet nativeComponentName = 'OneNativeMenu';\nexport const __INTERNAL_VIEW_CONFIG = {\n  uiViewClassName: \"OneNativeMenu\",\n  directEventTypes: {\n    topNativeMenuAction: {\n      registrationName: \"onNativeMenuAction\"\n    },\n    topNativeMenuPrimaryAction: {\n      registrationName: \"onNativeMenuPrimaryAction\"\n    },\n    topNativeMenuValueChange: {\n      registrationName: \"onNativeMenuValueChange\"\n    },\n    topNativeMenuPickerChange: {\n      registrationName: \"onNativeMenuPickerChange\"\n    }\n  },\n  validAttributes: {\n    items: true,\n    triggerLabel: true,\n    disabled: true,\n    hasPrimaryAction: true,\n    menuOrder: true,\n    menuActionDismissBehavior: true,\n    presentation: true,\n    acknowledgedEvent: true,\n    revision: true,\n    pickerAcknowledgedEvent: true,\n    ...ConditionallyIgnoredEventHandlers({\n      onNativeMenuAction: true,\n      onNativeMenuPrimaryAction: true,\n      onNativeMenuValueChange: true,\n      onNativeMenuPickerChange: true\n    })\n  }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
  "mappings": "AAoDA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,MAAM;AAAA,EACJ,mCAAAC;AACF,IAAI,QAAQ,yDAAyD;AACrE,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,IAChB,qBAAqB;AAAA,MACnB,kBAAkB;AAAA,IACpB;AAAA,IACA,4BAA4B;AAAA,MAC1B,kBAAkB;AAAA,IACpB;AAAA,IACA,0BAA0B;AAAA,MACxB,kBAAkB;AAAA,IACpB;AAAA,IACA,2BAA2B;AAAA,MACzB,kBAAkB;AAAA,IACpB;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,OAAO;AAAA,IACP,cAAc;AAAA,IACd,UAAU;AAAA,IACV,kBAAkB;AAAA,IAClB,WAAW;AAAA,IACX,2BAA2B;AAAA,IAC3B,cAAc;AAAA,IACd,mBAAmB;AAAA,IACnB,UAAU;AAAA,IACV,yBAAyB;AAAA,IACzB,GAAGF,EAAkC;AAAA,MACnC,oBAAoB;AAAA,MACpB,2BAA2B;AAAA,MAC3B,yBAAyB;AAAA,MACzB,0BAA0B;AAAA,IAC5B,CAAC;AAAA,EACH;AACF;AACA,IAAOG,IAAQJ,EAAwB,IAAIE,GAAqB,MAAMC,CAAsB;",
  "names": ["NativeComponentRegistry", "ConditionallyIgnoredEventHandlers", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneNativeMenuNativeComponent_default"]
}
