one 2.0.0-beta.129.1 → 2.0.0-beta.131.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/native/appManifest.cjs +4 -1
- package/dist/cjs/native/appManifest.native.cjs +4 -1
- package/dist/cjs/native/appManifest.native.js +4 -1
- package/dist/cjs/native/appManifest.native.js.map +1 -1
- package/dist/cjs/native/index.cjs +1 -0
- package/dist/cjs/native/index.native.cjs +1 -0
- package/dist/cjs/native/index.native.js +1 -0
- package/dist/cjs/native/index.native.js.map +1 -1
- package/dist/cjs/one.cjs +1 -0
- package/dist/cjs/one.native.cjs +1 -0
- package/dist/cjs/one.native.js +1 -0
- package/dist/cjs/one.native.js.map +1 -1
- package/dist/cjs/platform/Containers.native.cjs +12 -2
- package/dist/cjs/platform/Containers.native.js +12 -2
- package/dist/cjs/platform/Containers.native.js.map +1 -1
- package/dist/cjs/platform/index.cjs +2 -0
- package/dist/cjs/platform/index.native.cjs +2 -0
- package/dist/cjs/platform/index.native.js +2 -0
- package/dist/cjs/platform/index.native.js.map +1 -1
- package/dist/cjs/platform/protected-store/index.cjs +32 -0
- package/dist/cjs/platform/protected-store/index.native.cjs +54 -0
- package/dist/cjs/platform/protected-store/index.native.js +56 -0
- package/dist/cjs/platform/protected-store/index.native.js.map +1 -0
- package/dist/cjs/platform/specs/OneNativeListNativeComponent.cjs +13 -1
- package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.cjs +13 -1
- package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.js +13 -1
- package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.cjs +13 -1
- package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.cjs +13 -1
- package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.js +13 -1
- package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneProtectedStore.nitro.cjs +16 -0
- package/dist/cjs/platform/specs/OneProtectedStore.nitro.native.cjs +18 -0
- package/dist/cjs/platform/specs/OneProtectedStore.nitro.native.js +20 -0
- package/dist/cjs/platform/specs/OneProtectedStore.nitro.native.js.map +1 -0
- package/dist/cjs/vite/one.cjs +2 -1
- package/dist/cjs/vite/one.native.cjs +2 -1
- package/dist/cjs/vite/one.native.js +2 -1
- package/dist/cjs/vite/one.native.js.map +1 -1
- package/dist/cjs/vite.cjs +2 -0
- package/dist/cjs/vite.native.cjs +2 -0
- package/dist/cjs/vite.native.js +2 -0
- package/dist/cjs/vite.native.js.map +1 -1
- package/dist/esm/native/appManifest.mjs +2 -2
- package/dist/esm/native/appManifest.native.js +2 -2
- package/dist/esm/native/index.mjs +2 -2
- package/dist/esm/native/index.native.js +2 -2
- package/dist/esm/one.mjs +2 -1
- package/dist/esm/one.mjs.map +1 -1
- package/dist/esm/one.native.js +2 -1
- package/dist/esm/one.native.js.map +1 -1
- package/dist/esm/platform/Containers.native.js +12 -2
- package/dist/esm/platform/Containers.native.js.map +1 -1
- package/dist/esm/platform/index.mjs +2 -1
- package/dist/esm/platform/index.mjs.map +1 -1
- package/dist/esm/platform/index.native.js +2 -1
- package/dist/esm/platform/index.native.js.map +1 -1
- package/dist/esm/platform/protected-store/index.mjs +12 -0
- package/dist/esm/platform/protected-store/index.mjs.map +1 -0
- package/dist/esm/platform/protected-store/index.native.js +33 -0
- package/dist/esm/platform/protected-store/index.native.js.map +1 -0
- package/dist/esm/platform/specs/OneNativeListNativeComponent.mjs +13 -1
- package/dist/esm/platform/specs/OneNativeListNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeListNativeComponent.native.js +13 -1
- package/dist/esm/platform/specs/OneNativeListNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSectionNativeComponent.mjs +13 -1
- package/dist/esm/platform/specs/OneNativeSectionNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSectionNativeComponent.native.js +13 -1
- package/dist/esm/platform/specs/OneNativeSectionNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneProtectedStore.nitro.mjs +0 -0
- package/dist/esm/platform/specs/OneProtectedStore.nitro.native.js +0 -0
- package/dist/esm/vite/one.mjs +2 -1
- package/dist/esm/vite/one.mjs.map +1 -1
- package/dist/esm/vite/one.native.js +2 -1
- package/dist/esm/vite/one.native.js.map +1 -1
- package/dist/esm/vite.mjs +2 -1
- package/dist/esm/vite.native.js +2 -1
- package/ios/Generated/OneNativeAlertView.swift +6 -1
- package/ios/Generated/OneNativeCapsuleView.swift +6 -1
- package/ios/Generated/OneNativeCircleView.swift +6 -1
- package/ios/Generated/OneNativeColorPickerView.swift +6 -1
- package/ios/Generated/OneNativeConcentricRectangleView.swift +6 -1
- package/ios/Generated/OneNativeConfirmationDialogView.swift +6 -1
- package/ios/Generated/OneNativeContentUnavailableViewView.swift +6 -1
- package/ios/Generated/OneNativeDatePickerView.swift +6 -1
- package/ios/Generated/OneNativeEditButtonView.swift +6 -1
- package/ios/Generated/OneNativeEllipseView.swift +6 -1
- package/ios/Generated/OneNativeEmptyViewView.swift +6 -1
- package/ios/Generated/OneNativeFileImporterView.swift +6 -1
- package/ios/Generated/OneNativeGaugeView.swift +6 -1
- package/ios/Generated/OneNativeImageView.swift +6 -1
- package/ios/Generated/OneNativeLabelView.swift +6 -1
- package/ios/Generated/OneNativeMapView.swift +6 -1
- package/ios/Generated/OneNativePasteButtonView.swift +6 -1
- package/ios/Generated/OneNativePhotosPickerView.swift +6 -1
- package/ios/Generated/OneNativePickerView.swift +6 -1
- package/ios/Generated/OneNativeProgressViewView.swift +6 -1
- package/ios/Generated/OneNativeQuickLookView.swift +6 -1
- package/ios/Generated/OneNativeRectangleView.swift +6 -1
- package/ios/Generated/OneNativeRoundedRectangleView.swift +6 -1
- package/ios/Generated/OneNativeSecureFieldView.swift +6 -1
- package/ios/Generated/OneNativeShareLinkView.swift +6 -1
- package/ios/Generated/OneNativeSignInWithAppleButtonView.swift +6 -1
- package/ios/Generated/OneNativeSliderView.swift +6 -1
- package/ios/Generated/OneNativeStepperView.swift +6 -1
- package/ios/Generated/OneNativeTextEditorView.swift +6 -1
- package/ios/Generated/OneNativeTextFieldView.swift +6 -1
- package/ios/Generated/OneNativeTextView.swift +6 -1
- package/ios/Generated/OneNativeToggleView.swift +6 -1
- package/ios/Generated/OneNativeUnevenRoundedRectangleView.swift +6 -1
- package/ios/Generated/OneNativeVideoPlayerView.swift +6 -1
- package/ios/Generated/OneNativeWebViewView.swift +6 -1
- package/ios/Nitro/HybridOneProtectedStore.swift +246 -0
- package/ios/OneNativeComposition.swift +38 -3
- package/ios/OneNativeListComponentView.mm +9 -0
- package/ios/OneNativeListView.swift +22 -0
- package/ios/OneNativeSectionComponentView.mm +9 -0
- package/ios/OneNativeSectionView.swift +32 -0
- package/nitrogen/generated/android/One+autolinking.cmake +1 -0
- package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.cpp +17 -0
- package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.hpp +25 -8
- package/nitrogen/generated/ios/One-Swift-Cxx-Umbrella.hpp +8 -0
- package/nitrogen/generated/ios/OneAutolinking.mm +8 -0
- package/nitrogen/generated/ios/OneAutolinking.swift +12 -0
- package/nitrogen/generated/ios/c++/HybridOneProtectedStoreSpecSwift.cpp +11 -0
- package/nitrogen/generated/ios/c++/HybridOneProtectedStoreSpecSwift.hpp +110 -0
- package/nitrogen/generated/ios/swift/HybridOneProtectedStoreSpec.swift +58 -0
- package/nitrogen/generated/ios/swift/HybridOneProtectedStoreSpec_cxx.swift +208 -0
- package/nitrogen/generated/ios/swift/ProtectedStorePolicy.swift +40 -0
- package/nitrogen/generated/shared/c++/HybridOneProtectedStoreSpec.cpp +24 -0
- package/nitrogen/generated/shared/c++/HybridOneProtectedStoreSpec.hpp +69 -0
- package/nitrogen/generated/shared/c++/ProtectedStorePolicy.hpp +76 -0
- package/package.json +10 -10
- package/schema.json +20 -2
- package/src/native/appManifest.ts +1 -0
- package/src/native/index.ts +5 -1
- package/src/nativeCoverage.test.ts +3 -0
- package/src/one.ts +3 -0
- package/src/platform/Containers.native.tsx +17 -3
- package/src/platform/README.md +32 -0
- package/src/platform/generated/containerTypes.ts +2 -0
- package/src/platform/index.native.ts +2 -0
- package/src/platform/index.ts +2 -0
- package/src/platform/listTypes.ts +1 -0
- package/src/platform/protected-store/index.native.ts +32 -0
- package/src/platform/protected-store/index.ts +14 -0
- package/src/platform/specs/OneNativeListNativeComponent.ts +41 -2
- package/src/platform/specs/OneNativeSectionNativeComponent.ts +41 -1
- package/src/platform/specs/OneProtectedStore.nitro.ts +12 -0
- package/src/vite/one.ts +2 -0
- package/src/vite.ts +2 -0
- package/types/native/appManifest.d.ts +1 -1
- package/types/native/appManifest.d.ts.map +1 -1
- package/types/native/index.d.ts +1 -1
- package/types/native/index.d.ts.map +1 -1
- package/types/one.d.ts +2 -1
- package/types/one.d.ts.map +1 -1
- package/types/platform/Containers.native.d.ts +2 -2
- package/types/platform/Containers.native.d.ts.map +1 -1
- package/types/platform/generated/containerTypes.d.ts +2 -1
- package/types/platform/generated/containerTypes.d.ts.map +1 -1
- package/types/platform/index.d.ts +2 -0
- package/types/platform/index.d.ts.map +1 -1
- package/types/platform/index.native.d.ts +2 -0
- package/types/platform/index.native.d.ts.map +1 -1
- package/types/platform/listTypes.d.ts +1 -0
- package/types/platform/listTypes.d.ts.map +1 -1
- package/types/platform/protected-store/index.d.ts +9 -0
- package/types/platform/protected-store/index.d.ts.map +1 -0
- package/types/platform/protected-store/index.native.d.ts +13 -0
- package/types/platform/protected-store/index.native.d.ts.map +1 -0
- package/types/platform/specs/OneNativeListNativeComponent.d.ts +39 -1
- package/types/platform/specs/OneNativeListNativeComponent.d.ts.map +1 -1
- package/types/platform/specs/OneNativeSectionNativeComponent.d.ts +39 -1
- package/types/platform/specs/OneNativeSectionNativeComponent.d.ts.map +1 -1
- package/types/platform/specs/OneProtectedStore.nitro.d.ts +11 -0
- package/types/platform/specs/OneProtectedStore.nitro.d.ts.map +1 -0
- package/types/vite/one.d.ts.map +1 -1
- package/types/vite.d.ts +1 -0
- package/types/vite.d.ts.map +1 -1
|
@@ -49,6 +49,7 @@ __export(index_native_exports, {
|
|
|
49
49
|
Notifications: () => import_notifications.Notifications,
|
|
50
50
|
Open: () => import_open.Open,
|
|
51
51
|
PhotoLibrary: () => import_photo_library.PhotoLibrary,
|
|
52
|
+
ProtectedStore: () => import_protected_store.ProtectedStore,
|
|
52
53
|
ReservedRegions: () => import_adaptive.ReservedRegions,
|
|
53
54
|
Share: () => import_share.Share,
|
|
54
55
|
Swift: () => Swift,
|
|
@@ -90,6 +91,7 @@ var import_nativeState = require("./nativeState.native.js");
|
|
|
90
91
|
var import_TextInput = require("./universal/TextInput/index");
|
|
91
92
|
var import_haptics = require("./haptics/index.native.js");
|
|
92
93
|
var import_local_authentication = require("./local-authentication/index.native.js");
|
|
94
|
+
var import_protected_store = require("./protected-store/index.native.js");
|
|
93
95
|
var import_location = require("./location/index.native.js");
|
|
94
96
|
var import_file_system = require("./file-system/index.native.js");
|
|
95
97
|
var import_audio = require("./audio/index.native.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/platform/index.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_native_exports = {};\n__export(index_native_exports, {\n AppInfo: () => import_app_info.AppInfo,\n Audio: () => import_audio.Audio,\n Calendar: () => import_calendar.Calendar,\n Compose: () => import_compose.Compose,\n Contacts: () => import_contacts.Contacts,\n ContextMenu: () => ContextMenu,\n Database: () => import_database.Database,\n Device: () => import_device.Device,\n DocumentPicker: () => import_document_picker.DocumentPicker,\n FileSystem: () => import_file_system.FileSystem,\n Haptics: () => import_haptics.Haptics,\n ImageManipulator: () => import_image_manipulator.ImageManipulator,\n ImagePicker: () => import_image_picker.ImagePicker,\n LiveActivities: () => import_widgets.LiveActivities,\n LocalAuthentication: () => import_local_authentication.LocalAuthentication,\n Location: () => import_location.Location,\n Menu: () => Menu,\n Notifications: () => import_notifications.Notifications,\n Open: () => import_open.Open,\n PhotoLibrary: () => import_photo_library.PhotoLibrary,\n ReservedRegions: () => import_adaptive.ReservedRegions,\n Share: () => import_share.Share,\n Swift: () => Swift,\n TextInput: () => import_TextInput.TextInput,\n UI: () => UI,\n WidgetUI: () => import_widgets.WidgetUI,\n Widgets: () => import_widgets.Widgets,\n getHinge: () => import_adaptive.getHinge,\n getSizeClass: () => import_adaptive.getSizeClass,\n onHingeChange: () => import_adaptive.onHingeChange,\n useHinge: () => import_adaptive.useHinge,\n useNativeState: () => import_nativeState.useNativeState,\n useReservedRegions: () => import_adaptive.useReservedRegions,\n useReservedRegionsReady: () => import_adaptive.useReservedRegionsReady,\n useSizeClass: () => import_adaptive.useSizeClass,\n useSpanning: () => import_adaptive.useSpanning,\n useWindowSegments: () => import_adaptive.useWindowSegments\n});\nmodule.exports = __toCommonJS(index_native_exports);\nvar import_react_native = require(\"react-native\");\nvar import_unsupported = require(\"./unsupported\");\nvar import_Containers = require(\"./Containers.native\");\nvar import_AndroidMenu = require(\"./AndroidMenu\");\nvar import_Menu = require(\"./Menu.native\");\nvar import_Pager = require(\"./Pager.native\");\nvar import_Popover = require(\"./Popover.native\");\nvar import_NavigationStack = require(\"./NavigationStack.native\");\nvar import_Sheet = require(\"./Sheet.native\");\nvar import_ArrangementView = require(\"./ArrangementView.native\");\nvar Controls = __toESM(require(\"./generated/Controls.native\"), 1);\nvar import_Tabs = require(\"./Tabs.native\");\nvar import_compose = require(\"./compose\");\nvar UI = __toESM(require(\"./effects\"), 1);\nvar import_widgets = require(\"./widgets/index.native\");\n__reExport(index_native_exports, require(\"./extras\"), module.exports);\nvar import_adaptive = require(\"./adaptive/index.native\");\nvar import_notifications = require(\"./notifications\");\nvar import_nativeState = require(\"./nativeState\");\nvar import_TextInput = require(\"./universal/TextInput/index\");\nvar import_haptics = require(\"./haptics/index.native\");\nvar import_local_authentication = require(\"./local-authentication/index.native\");\nvar import_location = require(\"./location/index.native\");\nvar import_file_system = require(\"./file-system/index.native\");\nvar import_audio = require(\"./audio/index.native\");\nvar import_share = require(\"./share/index.native\");\nvar import_open = require(\"./open/index.native\");\nvar import_photo_library = require(\"./photo-library/index.native\");\nvar import_image_manipulator = require(\"./image-manipulator/index.native\");\nvar import_device = require(\"./device/index.native\");\nvar import_contacts = require(\"./contacts/index.native\");\nvar import_calendar = require(\"./calendar/index.native\");\nvar import_app_info = require(\"./app-info/index.native\");\nvar import_image_picker = require(\"./image-picker/index.native\");\nvar import_document_picker = require(\"./document-picker/index.native\");\nvar import_database = require(\"./database/index.native\");\nvar Menu = import_react_native.Platform.OS === \"android\" ? import_AndroidMenu.Menu : import_Menu.Menu;\nvar ContextMenu = import_react_native.Platform.OS === \"android\" ? import_AndroidMenu.ContextMenu : import_Menu.ContextMenu;\nvar Swift = import_react_native.Platform.OS === \"ios\" ? {\n ArrangementView: import_ArrangementView.ArrangementView,\n Tabs: import_Tabs.Tabs,\n Tab: import_Tabs.Tab,\n TabSection: import_Tabs.TabSection,\n TabViewBottomAccessory: import_Tabs.TabViewBottomAccessory,\n TabViewSlot: import_Tabs.TabViewSlot,\n Menu,\n ContextMenu,\n Sheet: import_Sheet.Sheet,\n FullScreenCover: import_Sheet.FullScreenCover,\n Popover: import_Popover.Popover,\n Host: import_Containers.Host,\n HStack: import_Containers.HStack,\n VStack: import_Containers.VStack,\n ZStack: import_Containers.ZStack,\n Form: import_Containers.Form,\n Section: import_Containers.Section,\n Glass: import_Containers.Glass,\n GlassEffectContainer: import_Containers.GlassEffectContainer,\n LabeledContent: import_Containers.LabeledContent,\n Button: import_Containers.Button,\n List: import_Containers.List,\n ScrollView: import_Containers.ScrollView,\n LazyVStack: import_Containers.LazyVStack,\n LazyHStack: import_Containers.LazyHStack,\n LazyVGrid: import_Containers.LazyVGrid,\n LazyHGrid: import_Containers.LazyHGrid,\n Grid: import_Containers.Grid,\n GridRow: import_Containers.GridRow,\n ControlGroup: import_Containers.ControlGroup,\n DisclosureGroup: import_Containers.DisclosureGroup,\n Divider: import_Containers.Divider,\n Link: import_Containers.Link,\n Group: import_Containers.Group,\n GroupBox: import_Containers.GroupBox,\n ViewThatFits: import_Containers.ViewThatFits,\n Overlay: import_Containers.Overlay,\n ViewSlot: import_Containers.ViewSlot,\n SwipeActions: import_Containers.SwipeActions,\n Pager: import_Pager.Pager,\n Page: import_Pager.Page,\n NavigationStack: import_NavigationStack.NavigationStack,\n Toolbar: import_NavigationStack.Toolbar,\n ToolbarItem: import_NavigationStack.ToolbarItem,\n ToolbarItemGroup: import_NavigationStack.ToolbarItemGroup,\n ToolbarSpacer: import_NavigationStack.ToolbarSpacer,\n Spacer: import_Containers.Spacer,\n Slot: import_Containers.Slot,\n ...Controls\n} : import_unsupported.Swift;\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,uBAAuB,CAAC;AAC5B,SAAS,sBAAsB;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OAAO,aAAa;CACpB,iBAAiB,aAAa;CAC9B,SAAS,eAAe;CACxB,MAAM,kBAAkB;CACxB,QAAQ,kBAAkB;CAC1B,QAAQ,kBAAkB;CAC1B,QAAQ,kBAAkB;CAC1B,MAAM,kBAAkB;CACxB,SAAS,kBAAkB;CAC3B,OAAO,kBAAkB;CACzB,sBAAsB,kBAAkB;CACxC,gBAAgB,kBAAkB;CAClC,QAAQ,kBAAkB;CAC1B,MAAM,kBAAkB;CACxB,YAAY,kBAAkB;CAC9B,YAAY,kBAAkB;CAC9B,YAAY,kBAAkB;CAC9B,WAAW,kBAAkB;CAC7B,WAAW,kBAAkB;CAC7B,MAAM,kBAAkB;CACxB,SAAS,kBAAkB;CAC3B,cAAc,kBAAkB;CAChC,iBAAiB,kBAAkB;CACnC,SAAS,kBAAkB;CAC3B,MAAM,kBAAkB;CACxB,OAAO,kBAAkB;CACzB,UAAU,kBAAkB;CAC5B,cAAc,kBAAkB;CAChC,SAAS,kBAAkB;CAC3B,UAAU,kBAAkB;CAC5B,cAAc,kBAAkB;CAChC,OAAO,aAAa;CACpB,MAAM,aAAa;CACnB,iBAAiB,uBAAuB;CACxC,SAAS,uBAAuB;CAChC,aAAa,uBAAuB;CACpC,kBAAkB,uBAAuB;CACzC,eAAe,uBAAuB;CACtC,QAAQ,kBAAkB;CAC1B,MAAM,kBAAkB;CACxB,GAAG;AACL,IAAI,mBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/platform/index.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_native_exports = {};\n__export(index_native_exports, {\n AppInfo: () => import_app_info.AppInfo,\n Audio: () => import_audio.Audio,\n Calendar: () => import_calendar.Calendar,\n Compose: () => import_compose.Compose,\n Contacts: () => import_contacts.Contacts,\n ContextMenu: () => ContextMenu,\n Database: () => import_database.Database,\n Device: () => import_device.Device,\n DocumentPicker: () => import_document_picker.DocumentPicker,\n FileSystem: () => import_file_system.FileSystem,\n Haptics: () => import_haptics.Haptics,\n ImageManipulator: () => import_image_manipulator.ImageManipulator,\n ImagePicker: () => import_image_picker.ImagePicker,\n LiveActivities: () => import_widgets.LiveActivities,\n LocalAuthentication: () => import_local_authentication.LocalAuthentication,\n Location: () => import_location.Location,\n Menu: () => Menu,\n Notifications: () => import_notifications.Notifications,\n Open: () => import_open.Open,\n PhotoLibrary: () => import_photo_library.PhotoLibrary,\n ProtectedStore: () => import_protected_store.ProtectedStore,\n ReservedRegions: () => import_adaptive.ReservedRegions,\n Share: () => import_share.Share,\n Swift: () => Swift,\n TextInput: () => import_TextInput.TextInput,\n UI: () => UI,\n WidgetUI: () => import_widgets.WidgetUI,\n Widgets: () => import_widgets.Widgets,\n getHinge: () => import_adaptive.getHinge,\n getSizeClass: () => import_adaptive.getSizeClass,\n onHingeChange: () => import_adaptive.onHingeChange,\n useHinge: () => import_adaptive.useHinge,\n useNativeState: () => import_nativeState.useNativeState,\n useReservedRegions: () => import_adaptive.useReservedRegions,\n useReservedRegionsReady: () => import_adaptive.useReservedRegionsReady,\n useSizeClass: () => import_adaptive.useSizeClass,\n useSpanning: () => import_adaptive.useSpanning,\n useWindowSegments: () => import_adaptive.useWindowSegments\n});\nmodule.exports = __toCommonJS(index_native_exports);\nvar import_react_native = require(\"react-native\");\nvar import_unsupported = require(\"./unsupported\");\nvar import_Containers = require(\"./Containers.native\");\nvar import_AndroidMenu = require(\"./AndroidMenu\");\nvar import_Menu = require(\"./Menu.native\");\nvar import_Pager = require(\"./Pager.native\");\nvar import_Popover = require(\"./Popover.native\");\nvar import_NavigationStack = require(\"./NavigationStack.native\");\nvar import_Sheet = require(\"./Sheet.native\");\nvar import_ArrangementView = require(\"./ArrangementView.native\");\nvar Controls = __toESM(require(\"./generated/Controls.native\"), 1);\nvar import_Tabs = require(\"./Tabs.native\");\nvar import_compose = require(\"./compose\");\nvar UI = __toESM(require(\"./effects\"), 1);\nvar import_widgets = require(\"./widgets/index.native\");\n__reExport(index_native_exports, require(\"./extras\"), module.exports);\nvar import_adaptive = require(\"./adaptive/index.native\");\nvar import_notifications = require(\"./notifications\");\nvar import_nativeState = require(\"./nativeState\");\nvar import_TextInput = require(\"./universal/TextInput/index\");\nvar import_haptics = require(\"./haptics/index.native\");\nvar import_local_authentication = require(\"./local-authentication/index.native\");\nvar import_protected_store = require(\"./protected-store/index.native\");\nvar import_location = require(\"./location/index.native\");\nvar import_file_system = require(\"./file-system/index.native\");\nvar import_audio = require(\"./audio/index.native\");\nvar import_share = require(\"./share/index.native\");\nvar import_open = require(\"./open/index.native\");\nvar import_photo_library = require(\"./photo-library/index.native\");\nvar import_image_manipulator = require(\"./image-manipulator/index.native\");\nvar import_device = require(\"./device/index.native\");\nvar import_contacts = require(\"./contacts/index.native\");\nvar import_calendar = require(\"./calendar/index.native\");\nvar import_app_info = require(\"./app-info/index.native\");\nvar import_image_picker = require(\"./image-picker/index.native\");\nvar import_document_picker = require(\"./document-picker/index.native\");\nvar import_database = require(\"./database/index.native\");\nvar Menu = import_react_native.Platform.OS === \"android\" ? import_AndroidMenu.Menu : import_Menu.Menu;\nvar ContextMenu = import_react_native.Platform.OS === \"android\" ? import_AndroidMenu.ContextMenu : import_Menu.ContextMenu;\nvar Swift = import_react_native.Platform.OS === \"ios\" ? {\n ArrangementView: import_ArrangementView.ArrangementView,\n Tabs: import_Tabs.Tabs,\n Tab: import_Tabs.Tab,\n TabSection: import_Tabs.TabSection,\n TabViewBottomAccessory: import_Tabs.TabViewBottomAccessory,\n TabViewSlot: import_Tabs.TabViewSlot,\n Menu,\n ContextMenu,\n Sheet: import_Sheet.Sheet,\n FullScreenCover: import_Sheet.FullScreenCover,\n Popover: import_Popover.Popover,\n Host: import_Containers.Host,\n HStack: import_Containers.HStack,\n VStack: import_Containers.VStack,\n ZStack: import_Containers.ZStack,\n Form: import_Containers.Form,\n Section: import_Containers.Section,\n Glass: import_Containers.Glass,\n GlassEffectContainer: import_Containers.GlassEffectContainer,\n LabeledContent: import_Containers.LabeledContent,\n Button: import_Containers.Button,\n List: import_Containers.List,\n ScrollView: import_Containers.ScrollView,\n LazyVStack: import_Containers.LazyVStack,\n LazyHStack: import_Containers.LazyHStack,\n LazyVGrid: import_Containers.LazyVGrid,\n LazyHGrid: import_Containers.LazyHGrid,\n Grid: import_Containers.Grid,\n GridRow: import_Containers.GridRow,\n ControlGroup: import_Containers.ControlGroup,\n DisclosureGroup: import_Containers.DisclosureGroup,\n Divider: import_Containers.Divider,\n Link: import_Containers.Link,\n Group: import_Containers.Group,\n GroupBox: import_Containers.GroupBox,\n ViewThatFits: import_Containers.ViewThatFits,\n Overlay: import_Containers.Overlay,\n ViewSlot: import_Containers.ViewSlot,\n SwipeActions: import_Containers.SwipeActions,\n Pager: import_Pager.Pager,\n Page: import_Pager.Page,\n NavigationStack: import_NavigationStack.NavigationStack,\n Toolbar: import_NavigationStack.Toolbar,\n ToolbarItem: import_NavigationStack.ToolbarItem,\n ToolbarItemGroup: import_NavigationStack.ToolbarItemGroup,\n ToolbarSpacer: import_NavigationStack.ToolbarSpacer,\n Spacer: import_Containers.Spacer,\n Slot: import_Containers.Slot,\n ...Controls\n} : import_unsupported.Swift;\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,Y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wnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
21
|
+
var protected_store_exports = {};
|
|
22
|
+
__export(protected_store_exports, { ProtectedStore: () => ProtectedStore });
|
|
23
|
+
module.exports = __toCommonJS(protected_store_exports);
|
|
24
|
+
const unavailable = () => {
|
|
25
|
+
throw new Error("ProtectedStore requires an iOS native build");
|
|
26
|
+
};
|
|
27
|
+
const ProtectedStore = Object.freeze({
|
|
28
|
+
createItem: (_key, _value, _policy) => unavailable(),
|
|
29
|
+
getItem: (_key, _reason, _policy) => unavailable(),
|
|
30
|
+
updateItem: (_key, _value, _reason, _policy) => unavailable(),
|
|
31
|
+
deleteItem: (_key, _reason, _policy) => unavailable()
|
|
32
|
+
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
|
+
var index_native_exports = {};
|
|
24
|
+
__export(index_native_exports, { ProtectedStore: () => ProtectedStore });
|
|
25
|
+
module.exports = __toCommonJS(index_native_exports);
|
|
26
|
+
var import_react_native = require("react-native");
|
|
27
|
+
var import_react_native_nitro_modules = require("react-native-nitro-modules");
|
|
28
|
+
var import_nativeError = require("../nativeError.native.js");
|
|
29
|
+
var hybrid;
|
|
30
|
+
function native() {
|
|
31
|
+
if (import_react_native.Platform.OS !== "ios") throw new Error("ProtectedStore requires an iOS native build");
|
|
32
|
+
hybrid !== null && hybrid !== void 0 ? hybrid : hybrid = import_react_native_nitro_modules.NitroModules.createHybridObject("OneProtectedStore");
|
|
33
|
+
return hybrid;
|
|
34
|
+
}
|
|
35
|
+
function createItem(key, value, policy) {
|
|
36
|
+
return native().createItem(key, value, policy).catch(import_nativeError.rethrowNativeError);
|
|
37
|
+
}
|
|
38
|
+
function getItem(key, reason, policy) {
|
|
39
|
+
return native().getItem(key, reason, policy).then(function(value) {
|
|
40
|
+
return value !== null && value !== void 0 ? value : null;
|
|
41
|
+
}, import_nativeError.rethrowNativeError);
|
|
42
|
+
}
|
|
43
|
+
function updateItem(key, value, reason, policy) {
|
|
44
|
+
return native().updateItem(key, value, reason, policy).catch(import_nativeError.rethrowNativeError);
|
|
45
|
+
}
|
|
46
|
+
function deleteItem(key, reason, policy) {
|
|
47
|
+
return native().deleteItem(key, reason, policy).catch(import_nativeError.rethrowNativeError);
|
|
48
|
+
}
|
|
49
|
+
var ProtectedStore = Object.freeze({
|
|
50
|
+
createItem,
|
|
51
|
+
getItem,
|
|
52
|
+
updateItem,
|
|
53
|
+
deleteItem
|
|
54
|
+
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
|
+
var index_native_exports = {};
|
|
24
|
+
__export(index_native_exports, { ProtectedStore: () => ProtectedStore });
|
|
25
|
+
module.exports = __toCommonJS(index_native_exports);
|
|
26
|
+
var import_react_native = require("react-native");
|
|
27
|
+
var import_react_native_nitro_modules = require("react-native-nitro-modules");
|
|
28
|
+
var import_nativeError = require("../nativeError.native.js");
|
|
29
|
+
var hybrid;
|
|
30
|
+
function native() {
|
|
31
|
+
if (import_react_native.Platform.OS !== "ios") throw new Error("ProtectedStore requires an iOS native build");
|
|
32
|
+
hybrid !== null && hybrid !== void 0 ? hybrid : hybrid = import_react_native_nitro_modules.NitroModules.createHybridObject("OneProtectedStore");
|
|
33
|
+
return hybrid;
|
|
34
|
+
}
|
|
35
|
+
function createItem(key, value, policy) {
|
|
36
|
+
return native().createItem(key, value, policy).catch(import_nativeError.rethrowNativeError);
|
|
37
|
+
}
|
|
38
|
+
function getItem(key, reason, policy) {
|
|
39
|
+
return native().getItem(key, reason, policy).then(function(value) {
|
|
40
|
+
return value !== null && value !== void 0 ? value : null;
|
|
41
|
+
}, import_nativeError.rethrowNativeError);
|
|
42
|
+
}
|
|
43
|
+
function updateItem(key, value, reason, policy) {
|
|
44
|
+
return native().updateItem(key, value, reason, policy).catch(import_nativeError.rethrowNativeError);
|
|
45
|
+
}
|
|
46
|
+
function deleteItem(key, reason, policy) {
|
|
47
|
+
return native().deleteItem(key, reason, policy).catch(import_nativeError.rethrowNativeError);
|
|
48
|
+
}
|
|
49
|
+
var ProtectedStore = Object.freeze({
|
|
50
|
+
createItem,
|
|
51
|
+
getItem,
|
|
52
|
+
updateItem,
|
|
53
|
+
deleteItem
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/platform/protected-store/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_native_exports = {};\n__export(index_native_exports, {\n ProtectedStore: () => ProtectedStore\n});\nmodule.exports = __toCommonJS(index_native_exports);\nvar import_react_native = require(\"react-native\");\nvar import_react_native_nitro_modules = require(\"react-native-nitro-modules\");\nvar import_nativeError = require(\"../nativeError\");\nvar hybrid;\nfunction native() {\n if (import_react_native.Platform.OS !== \"ios\") throw new Error(\"ProtectedStore requires an iOS native build\");\n hybrid !== null && hybrid !== void 0 ? hybrid : hybrid = import_react_native_nitro_modules.NitroModules.createHybridObject(\"OneProtectedStore\");\n return hybrid;\n}\nfunction createItem(key, value, policy) {\n return native().createItem(key, value, policy).catch(import_nativeError.rethrowNativeError);\n}\nfunction getItem(key, reason, policy) {\n return native().getItem(key, reason, policy).then(function(value) {\n return value !== null && value !== void 0 ? value : null;\n }, import_nativeError.rethrowNativeError);\n}\nfunction updateItem(key, value, reason, policy) {\n return native().updateItem(key, value, reason, policy).catch(import_nativeError.rethrowNativeError);\n}\nfunction deleteItem(key, reason, policy) {\n return native().deleteItem(key, reason, policy).catch(import_nativeError.rethrowNativeError);\n}\nvar ProtectedStore = Object.freeze({\n createItem,\n getItem,\n updateItem,\n deleteItem\n});\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAA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,QAAQ;CACvC,OAAO,OAAO,CAAC,CAAC,WAAW,KAAK,QAAQ,MAAM,CAAC,CAAC,MAAM,mBAAmB,kBAAkB;AAC7F;AACA,IAAI,iBAAiB,OAAO,OAAO;CACjC;CACA;CACA;CACA;AACF,CAAC"}
|
|
@@ -22,11 +22,23 @@ __export(OneNativeListNativeComponent_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(OneNativeListNativeComponent_exports);
|
|
24
24
|
const NativeComponentRegistry = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
25
|
+
const {
|
|
26
|
+
ConditionallyIgnoredEventHandlers
|
|
27
|
+
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
|
|
25
28
|
let nativeComponentName = "OneNativeList";
|
|
26
29
|
const __INTERNAL_VIEW_CONFIG = {
|
|
27
30
|
uiViewClassName: "OneNativeList",
|
|
31
|
+
directEventTypes: {
|
|
32
|
+
topNativeSDKEvent: {
|
|
33
|
+
registrationName: "onNativeSDKEvent"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
28
36
|
validAttributes: {
|
|
29
|
-
listStyle: true
|
|
37
|
+
listStyle: true,
|
|
38
|
+
swiftStyle: true,
|
|
39
|
+
...ConditionallyIgnoredEventHandlers({
|
|
40
|
+
onNativeSDKEvent: true
|
|
41
|
+
})
|
|
30
42
|
}
|
|
31
43
|
};
|
|
32
44
|
var OneNativeListNativeComponent_default = NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);
|
|
@@ -22,11 +22,23 @@ __export(OneNativeListNativeComponent_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(OneNativeListNativeComponent_exports);
|
|
24
24
|
const NativeComponentRegistry = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
25
|
+
const {
|
|
26
|
+
ConditionallyIgnoredEventHandlers
|
|
27
|
+
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
|
|
25
28
|
let nativeComponentName = "OneNativeList";
|
|
26
29
|
const __INTERNAL_VIEW_CONFIG = {
|
|
27
30
|
uiViewClassName: "OneNativeList",
|
|
31
|
+
directEventTypes: {
|
|
32
|
+
topNativeSDKEvent: {
|
|
33
|
+
registrationName: "onNativeSDKEvent"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
28
36
|
validAttributes: {
|
|
29
|
-
listStyle: true
|
|
37
|
+
listStyle: true,
|
|
38
|
+
swiftStyle: true,
|
|
39
|
+
...ConditionallyIgnoredEventHandlers({
|
|
40
|
+
onNativeSDKEvent: true
|
|
41
|
+
})
|
|
30
42
|
}
|
|
31
43
|
};
|
|
32
44
|
var OneNativeListNativeComponent_default = NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);
|
|
@@ -22,11 +22,23 @@ __export(OneNativeListNativeComponent_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(OneNativeListNativeComponent_exports);
|
|
24
24
|
const NativeComponentRegistry = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
25
|
+
const {
|
|
26
|
+
ConditionallyIgnoredEventHandlers
|
|
27
|
+
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
|
|
25
28
|
let nativeComponentName = "OneNativeList";
|
|
26
29
|
const __INTERNAL_VIEW_CONFIG = {
|
|
27
30
|
uiViewClassName: "OneNativeList",
|
|
31
|
+
directEventTypes: {
|
|
32
|
+
topNativeSDKEvent: {
|
|
33
|
+
registrationName: "onNativeSDKEvent"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
28
36
|
validAttributes: {
|
|
29
|
-
listStyle: true
|
|
37
|
+
listStyle: true,
|
|
38
|
+
swiftStyle: true,
|
|
39
|
+
...ConditionallyIgnoredEventHandlers({
|
|
40
|
+
onNativeSDKEvent: true
|
|
41
|
+
})
|
|
30
42
|
}
|
|
31
43
|
};
|
|
32
44
|
var OneNativeListNativeComponent_default = NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["src/platform/specs/OneNativeListNativeComponent.ts"],
|
|
4
|
-
"sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ViewProps } from 'react-native';\nimport type { DirectEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n listStyle: string;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneNativeList';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeList\",\n validAttributes: {\n listStyle: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ProcessedColorValue, ViewProps } from 'react-native';\nimport type { DirectEventHandler, Int32, Double, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ntype OneNativeStyleNative = Readonly<{\n fontSize?: WithDefault<Double, -1>;\n fontWeight?: string;\n fontDesign?: string;\n textStyle?: string;\n foregroundStyle?: ProcessedColorValue;\n tint?: ProcessedColorValue;\n background?: ProcessedColorValue;\n padding?: WithDefault<Double, -1>;\n paddingTop?: WithDefault<Double, -1>;\n paddingLeading?: WithDefault<Double, -1>;\n paddingBottom?: WithDefault<Double, -1>;\n paddingTrailing?: WithDefault<Double, -1>;\n width?: WithDefault<Double, -1>;\n height?: WithDefault<Double, -1>;\n minWidth?: WithDefault<Double, -1>;\n idealWidth?: WithDefault<Double, -1>;\n maxWidth?: WithDefault<Double, -1>;\n minHeight?: WithDefault<Double, -1>;\n idealHeight?: WithDefault<Double, -1>;\n maxHeight?: WithDefault<Double, -1>;\n cornerRadius?: WithDefault<Double, -1>;\n opacity?: WithDefault<Double, -1>;\n borderColor?: ProcessedColorValue;\n borderWidth?: WithDefault<Double, -1>;\n glassEffect?: string;\n glassEffectInteractive?: boolean;\n glassEffectTint?: ProcessedColorValue;\n glassEffectShape?: string;\n material?: string;\n sdkModifiers?: string;\n}>;\ninterface NativeProps extends ViewProps {\n listStyle: string;\n swiftStyle?: OneNativeStyleNative;\n onNativeSDKEvent?: DirectEventHandler<Readonly<{\n name: string;\n value: string;\n }>>;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nconst {\n ConditionallyIgnoredEventHandlers\n} = require('react-native/Libraries/NativeComponent/ViewConfigIgnore');\nlet nativeComponentName = 'OneNativeList';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeList\",\n directEventTypes: {\n topNativeSDKEvent: {\n registrationName: \"onNativeSDKEvent\"\n }\n },\n validAttributes: {\n listStyle: true,\n swiftStyle: true,\n ...ConditionallyIgnoredEventHandlers({\n onNativeSDKEvent: true\n })\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6CA,MAAM,0BAA0B,QAAQ,gEAAgE;AACxG,MAAM;AAAA,EACJ;AACF,IAAI,QAAQ,yDAAyD;AACrE,IAAI,sBAAsB;AACnB,MAAM,yBAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,IAChB,mBAAmB;AAAA,MACjB,kBAAkB;AAAA,IACpB;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,GAAG,kCAAkC;AAAA,MACnC,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AACF;AACA,IAAO,uCAAQ,wBAAwB,IAAI,qBAAqB,MAAM,sBAAsB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -22,12 +22,24 @@ __export(OneNativeSectionNativeComponent_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(OneNativeSectionNativeComponent_exports);
|
|
24
24
|
const NativeComponentRegistry = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
25
|
+
const {
|
|
26
|
+
ConditionallyIgnoredEventHandlers
|
|
27
|
+
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
|
|
25
28
|
let nativeComponentName = "OneNativeSection";
|
|
26
29
|
const __INTERNAL_VIEW_CONFIG = {
|
|
27
30
|
uiViewClassName: "OneNativeSection",
|
|
31
|
+
directEventTypes: {
|
|
32
|
+
topNativeSDKEvent: {
|
|
33
|
+
registrationName: "onNativeSDKEvent"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
28
36
|
validAttributes: {
|
|
29
37
|
title: true,
|
|
30
|
-
footer: true
|
|
38
|
+
footer: true,
|
|
39
|
+
swiftStyle: true,
|
|
40
|
+
...ConditionallyIgnoredEventHandlers({
|
|
41
|
+
onNativeSDKEvent: true
|
|
42
|
+
})
|
|
31
43
|
}
|
|
32
44
|
};
|
|
33
45
|
var OneNativeSectionNativeComponent_default = NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);
|
|
@@ -22,12 +22,24 @@ __export(OneNativeSectionNativeComponent_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(OneNativeSectionNativeComponent_exports);
|
|
24
24
|
const NativeComponentRegistry = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
25
|
+
const {
|
|
26
|
+
ConditionallyIgnoredEventHandlers
|
|
27
|
+
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
|
|
25
28
|
let nativeComponentName = "OneNativeSection";
|
|
26
29
|
const __INTERNAL_VIEW_CONFIG = {
|
|
27
30
|
uiViewClassName: "OneNativeSection",
|
|
31
|
+
directEventTypes: {
|
|
32
|
+
topNativeSDKEvent: {
|
|
33
|
+
registrationName: "onNativeSDKEvent"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
28
36
|
validAttributes: {
|
|
29
37
|
title: true,
|
|
30
|
-
footer: true
|
|
38
|
+
footer: true,
|
|
39
|
+
swiftStyle: true,
|
|
40
|
+
...ConditionallyIgnoredEventHandlers({
|
|
41
|
+
onNativeSDKEvent: true
|
|
42
|
+
})
|
|
31
43
|
}
|
|
32
44
|
};
|
|
33
45
|
var OneNativeSectionNativeComponent_default = NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);
|
|
@@ -22,12 +22,24 @@ __export(OneNativeSectionNativeComponent_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(OneNativeSectionNativeComponent_exports);
|
|
24
24
|
const NativeComponentRegistry = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
|
|
25
|
+
const {
|
|
26
|
+
ConditionallyIgnoredEventHandlers
|
|
27
|
+
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
|
|
25
28
|
let nativeComponentName = "OneNativeSection";
|
|
26
29
|
const __INTERNAL_VIEW_CONFIG = {
|
|
27
30
|
uiViewClassName: "OneNativeSection",
|
|
31
|
+
directEventTypes: {
|
|
32
|
+
topNativeSDKEvent: {
|
|
33
|
+
registrationName: "onNativeSDKEvent"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
28
36
|
validAttributes: {
|
|
29
37
|
title: true,
|
|
30
|
-
footer: true
|
|
38
|
+
footer: true,
|
|
39
|
+
swiftStyle: true,
|
|
40
|
+
...ConditionallyIgnoredEventHandlers({
|
|
41
|
+
onNativeSDKEvent: true
|
|
42
|
+
})
|
|
31
43
|
}
|
|
32
44
|
};
|
|
33
45
|
var OneNativeSectionNativeComponent_default = NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["src/platform/specs/OneNativeSectionNativeComponent.ts"],
|
|
4
|
-
"sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ViewProps } from 'react-native';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n title: string;\n footer: string;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneNativeSection';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeSection\",\n validAttributes: {\n title: true,\n footer: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ProcessedColorValue, ViewProps } from 'react-native';\nimport type { DirectEventHandler, Int32, Double, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ntype OneNativeStyleNative = Readonly<{\n fontSize?: WithDefault<Double, -1>;\n fontWeight?: string;\n fontDesign?: string;\n textStyle?: string;\n foregroundStyle?: ProcessedColorValue;\n tint?: ProcessedColorValue;\n background?: ProcessedColorValue;\n padding?: WithDefault<Double, -1>;\n paddingTop?: WithDefault<Double, -1>;\n paddingLeading?: WithDefault<Double, -1>;\n paddingBottom?: WithDefault<Double, -1>;\n paddingTrailing?: WithDefault<Double, -1>;\n width?: WithDefault<Double, -1>;\n height?: WithDefault<Double, -1>;\n minWidth?: WithDefault<Double, -1>;\n idealWidth?: WithDefault<Double, -1>;\n maxWidth?: WithDefault<Double, -1>;\n minHeight?: WithDefault<Double, -1>;\n idealHeight?: WithDefault<Double, -1>;\n maxHeight?: WithDefault<Double, -1>;\n cornerRadius?: WithDefault<Double, -1>;\n opacity?: WithDefault<Double, -1>;\n borderColor?: ProcessedColorValue;\n borderWidth?: WithDefault<Double, -1>;\n glassEffect?: string;\n glassEffectInteractive?: boolean;\n glassEffectTint?: ProcessedColorValue;\n glassEffectShape?: string;\n material?: string;\n sdkModifiers?: string;\n}>;\ninterface NativeProps extends ViewProps {\n title: string;\n footer: string;\n swiftStyle?: OneNativeStyleNative;\n onNativeSDKEvent?: DirectEventHandler<Readonly<{\n name: string;\n value: string;\n }>>;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nconst {\n ConditionallyIgnoredEventHandlers\n} = require('react-native/Libraries/NativeComponent/ViewConfigIgnore');\nlet nativeComponentName = 'OneNativeSection';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeSection\",\n directEventTypes: {\n topNativeSDKEvent: {\n registrationName: \"onNativeSDKEvent\"\n }\n },\n validAttributes: {\n title: true,\n footer: true,\n swiftStyle: true,\n ...ConditionallyIgnoredEventHandlers({\n onNativeSDKEvent: true\n })\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA8CA,MAAM,0BAA0B,QAAQ,gEAAgE;AACxG,MAAM;AAAA,EACJ;AACF,IAAI,QAAQ,yDAAyD;AACrE,IAAI,sBAAsB;AACnB,MAAM,yBAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,IAChB,mBAAmB;AAAA,MACjB,kBAAkB;AAAA,IACpB;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,GAAG,kCAAkC;AAAA,MACnC,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AACF;AACA,IAAO,0CAAQ,wBAAwB,IAAI,qBAAqB,MAAM,sBAAsB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
8
|
+
get: () => from[key],
|
|
9
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var OneProtectedStore_nitro_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(OneProtectedStore_nitro_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
10
|
+
get: () => from[key],
|
|
11
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
|
+
var OneProtectedStore_nitro_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(OneProtectedStore_nitro_exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
10
|
+
get: () => from[key],
|
|
11
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
|
+
var OneProtectedStore_nitro_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(OneProtectedStore_nitro_exports);
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=OneProtectedStore.nitro.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OneProtectedStore.nitro.native.js","names":[],"sources":["cjs/platform/specs/OneProtectedStore.nitro.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar OneProtectedStore_nitro_exports = {};\nmodule.exports = __toCommonJS(OneProtectedStore_nitro_exports);\n//# sourceMappingURL=OneProtectedStore.nitro.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kCAAkC,CAAC;AACvC,OAAO,UAAU,aAAa,+BAA+B"}
|
package/dist/cjs/vite/one.cjs
CHANGED
|
@@ -738,7 +738,8 @@ function one() {
|
|
|
738
738
|
ignoredRouteFiles: (_options_router1 = options.router) === null || _options_router1 === void 0 ? void 0 : _options_router1.ignoredRouteFiles,
|
|
739
739
|
linking: (_options_router2 = options.router) === null || _options_router2 === void 0 ? void 0 : _options_router2.linking,
|
|
740
740
|
setupFile: options.setupFile,
|
|
741
|
-
flags
|
|
741
|
+
flags,
|
|
742
|
+
app: nativeApp
|
|
742
743
|
};
|
|
743
744
|
}
|
|
744
745
|
var inspectorPlugins = (function() {
|
|
@@ -738,7 +738,8 @@ function one() {
|
|
|
738
738
|
ignoredRouteFiles: (_options_router1 = options.router) === null || _options_router1 === void 0 ? void 0 : _options_router1.ignoredRouteFiles,
|
|
739
739
|
linking: (_options_router2 = options.router) === null || _options_router2 === void 0 ? void 0 : _options_router2.linking,
|
|
740
740
|
setupFile: options.setupFile,
|
|
741
|
-
flags
|
|
741
|
+
flags,
|
|
742
|
+
app: nativeApp
|
|
742
743
|
};
|
|
743
744
|
}
|
|
744
745
|
var inspectorPlugins = (function() {
|