one 2.0.0-beta.130.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.
Files changed (66) hide show
  1. package/dist/cjs/one.cjs +1 -0
  2. package/dist/cjs/one.native.cjs +1 -0
  3. package/dist/cjs/one.native.js +1 -0
  4. package/dist/cjs/one.native.js.map +1 -1
  5. package/dist/cjs/platform/index.cjs +2 -0
  6. package/dist/cjs/platform/index.native.cjs +2 -0
  7. package/dist/cjs/platform/index.native.js +2 -0
  8. package/dist/cjs/platform/index.native.js.map +1 -1
  9. package/dist/cjs/platform/protected-store/index.cjs +32 -0
  10. package/dist/cjs/platform/protected-store/index.native.cjs +54 -0
  11. package/dist/cjs/platform/protected-store/index.native.js +56 -0
  12. package/dist/cjs/platform/protected-store/index.native.js.map +1 -0
  13. package/dist/cjs/platform/specs/OneProtectedStore.nitro.cjs +16 -0
  14. package/dist/cjs/platform/specs/OneProtectedStore.nitro.native.cjs +18 -0
  15. package/dist/cjs/platform/specs/OneProtectedStore.nitro.native.js +20 -0
  16. package/dist/cjs/platform/specs/OneProtectedStore.nitro.native.js.map +1 -0
  17. package/dist/esm/one.mjs +2 -1
  18. package/dist/esm/one.mjs.map +1 -1
  19. package/dist/esm/one.native.js +2 -1
  20. package/dist/esm/one.native.js.map +1 -1
  21. package/dist/esm/platform/index.mjs +2 -1
  22. package/dist/esm/platform/index.mjs.map +1 -1
  23. package/dist/esm/platform/index.native.js +2 -1
  24. package/dist/esm/platform/index.native.js.map +1 -1
  25. package/dist/esm/platform/protected-store/index.mjs +12 -0
  26. package/dist/esm/platform/protected-store/index.mjs.map +1 -0
  27. package/dist/esm/platform/protected-store/index.native.js +33 -0
  28. package/dist/esm/platform/protected-store/index.native.js.map +1 -0
  29. package/dist/esm/platform/specs/OneProtectedStore.nitro.mjs +0 -0
  30. package/dist/esm/platform/specs/OneProtectedStore.nitro.native.js +0 -0
  31. package/ios/Nitro/HybridOneProtectedStore.swift +246 -0
  32. package/nitrogen/generated/android/One+autolinking.cmake +1 -0
  33. package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.cpp +17 -0
  34. package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.hpp +25 -8
  35. package/nitrogen/generated/ios/One-Swift-Cxx-Umbrella.hpp +8 -0
  36. package/nitrogen/generated/ios/OneAutolinking.mm +8 -0
  37. package/nitrogen/generated/ios/OneAutolinking.swift +12 -0
  38. package/nitrogen/generated/ios/c++/HybridOneProtectedStoreSpecSwift.cpp +11 -0
  39. package/nitrogen/generated/ios/c++/HybridOneProtectedStoreSpecSwift.hpp +110 -0
  40. package/nitrogen/generated/ios/swift/HybridOneProtectedStoreSpec.swift +58 -0
  41. package/nitrogen/generated/ios/swift/HybridOneProtectedStoreSpec_cxx.swift +208 -0
  42. package/nitrogen/generated/ios/swift/ProtectedStorePolicy.swift +40 -0
  43. package/nitrogen/generated/shared/c++/HybridOneProtectedStoreSpec.cpp +24 -0
  44. package/nitrogen/generated/shared/c++/HybridOneProtectedStoreSpec.hpp +69 -0
  45. package/nitrogen/generated/shared/c++/ProtectedStorePolicy.hpp +76 -0
  46. package/package.json +10 -10
  47. package/src/nativeCoverage.test.ts +2 -1
  48. package/src/one.ts +3 -0
  49. package/src/platform/README.md +17 -0
  50. package/src/platform/index.native.ts +2 -0
  51. package/src/platform/index.ts +2 -0
  52. package/src/platform/protected-store/index.native.ts +32 -0
  53. package/src/platform/protected-store/index.ts +14 -0
  54. package/src/platform/specs/OneProtectedStore.nitro.ts +12 -0
  55. package/types/one.d.ts +2 -1
  56. package/types/one.d.ts.map +1 -1
  57. package/types/platform/index.d.ts +2 -0
  58. package/types/platform/index.d.ts.map +1 -1
  59. package/types/platform/index.native.d.ts +2 -0
  60. package/types/platform/index.native.d.ts.map +1 -1
  61. package/types/platform/protected-store/index.d.ts +9 -0
  62. package/types/platform/protected-store/index.d.ts.map +1 -0
  63. package/types/platform/protected-store/index.native.d.ts +13 -0
  64. package/types/platform/protected-store/index.native.d.ts.map +1 -0
  65. package/types/platform/specs/OneProtectedStore.nitro.d.ts +11 -0
  66. package/types/platform/specs/OneProtectedStore.nitro.d.ts.map +1 -0
package/dist/cjs/one.cjs CHANGED
@@ -33,6 +33,7 @@ const iOS = Object.freeze({
33
33
  LiveActivities: import_platform.LiveActivities,
34
34
  WidgetUI: import_platform.WidgetUI,
35
35
  LocalAuthentication: import_platform.LocalAuthentication,
36
+ ProtectedStore: import_platform.ProtectedStore,
36
37
  Location: import_platform.Location,
37
38
  FileSystem: import_platform.FileSystem,
38
39
  Audio: import_platform.Audio,
@@ -36,6 +36,7 @@ var iOS = Object.freeze({
36
36
  LiveActivities: import_platform.LiveActivities,
37
37
  WidgetUI: import_platform.WidgetUI,
38
38
  LocalAuthentication: import_platform.LocalAuthentication,
39
+ ProtectedStore: import_platform.ProtectedStore,
39
40
  Location: import_platform.Location,
40
41
  FileSystem: import_platform.FileSystem,
41
42
  Audio: import_platform.Audio,
@@ -36,6 +36,7 @@ var iOS = Object.freeze({
36
36
  LiveActivities: import_platform.LiveActivities,
37
37
  WidgetUI: import_platform.WidgetUI,
38
38
  LocalAuthentication: import_platform.LocalAuthentication,
39
+ ProtectedStore: import_platform.ProtectedStore,
39
40
  Location: import_platform.Location,
40
41
  FileSystem: import_platform.FileSystem,
41
42
  Audio: import_platform.Audio,
@@ -1 +1 @@
1
- {"version":3,"file":"one.native.js","names":[],"sources":["cjs/one.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 one_exports = {};\n__export(one_exports, {\n One: () => One\n});\nmodule.exports = __toCommonJS(one_exports);\nvar import_platform = require(\"./platform\");\nvar import_safe_area_context = require(\"./safe-area-context\");\nfunction currentPlatform() {\n var _Reflect_get;\n var defined = (_Reflect_get = Reflect.get(globalThis, \"__ONE_PLATFORM__\")) !== null && _Reflect_get !== void 0 ? _Reflect_get : typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0;\n return defined === \"ios\" || defined === \"android\" || defined === \"rnx\" ? defined : \"web\";\n}\nvar iOS = Object.freeze({\n ...import_platform.Swift,\n Widgets: import_platform.Widgets,\n LiveActivities: import_platform.LiveActivities,\n WidgetUI: import_platform.WidgetUI,\n LocalAuthentication: import_platform.LocalAuthentication,\n Location: import_platform.Location,\n FileSystem: import_platform.FileSystem,\n Audio: import_platform.Audio,\n Share: import_platform.Share,\n PhotoLibrary: import_platform.PhotoLibrary,\n ImageManipulator: import_platform.ImageManipulator,\n Device: import_platform.Device,\n Contacts: import_platform.Contacts,\n Calendar: import_platform.Calendar,\n Color: import_platform.Color.ios,\n MenuAction: import_platform.MenuAction,\n SplitView: import_platform.SplitView,\n ToolbarHost: import_platform.ToolbarHost,\n BarButtonItem: import_platform.ToolbarItem,\n ZoomTransitionAlignmentRectDetector: import_platform.ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler: import_platform.ZoomTransitionEnabler,\n ZoomTransitionSource: import_platform.ZoomTransitionSource\n});\nvar Android = Object.freeze({\n ...import_platform.Compose,\n Color: import_platform.Color.android,\n Menu: import_platform.Menu,\n ContextMenu: import_platform.ContextMenu\n});\nvar SafeArea = Object.freeze({\n Provider: import_safe_area_context.SafeAreaProvider,\n View: import_safe_area_context.SafeAreaView,\n initialMetrics: import_safe_area_context.initialWindowMetrics\n});\nvar UI = Object.freeze({\n ...import_platform.UI,\n Fonts: import_platform.Fonts,\n SafeArea,\n TextInput: import_platform.TextInput,\n ReservedRegions: import_platform.ReservedRegions\n});\nvar One = Object.freeze({\n get platform() {\n return currentPlatform();\n },\n openURL: import_platform.Open.openURL,\n openShare: import_platform.Open.openShare,\n openSettings: import_platform.Open.openSettings,\n AppInfo: import_platform.AppInfo,\n Database: import_platform.Database,\n iOS,\n Android,\n UI,\n Notifications: import_platform.Notifications,\n Clipboard: import_platform.Clipboard,\n Haptics: import_platform.Haptics,\n Network: import_platform.Network,\n Auth: import_platform.Auth,\n Browser: import_platform.Browser,\n ImagePicker: import_platform.ImagePicker,\n DocumentPicker: import_platform.DocumentPicker,\n SecureStore: import_platform.SecureStore,\n Speech: import_platform.Speech,\n Updates: import_platform.Updates\n});\n//# sourceMappingURL=one.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,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,cAAc,CAAC;AAC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AC3B,iBAAiB,gBAAgB;AACnC,CAAC;AACD,IAAI,MAAM,OAAO,OAAO;CACtB,IAAI,WAAW;EACb,OAAO,gBAAgB;CACzB;CACA,SAAS,gBAAgB,KAAK;CAC9B,WAAW,gBAAgB,KAAK;CAChC,cAAc,gBAAgB,KAAK;CACnC,SAAS,gBAAgB;CACzB,UAAU,gBAAgB;CAC1B;CACA;CACA;CACA,eAAe,gBAAgB;CAC/B,WAAW,gBAAgB;CAC3B,SAAS,gBAAgB;CACzB,SAAS,gBAAgB;CACzB,MAAM,gBAAgB;CACtB,SAAS,gBAAgB;CACzB,aAAa,gBAAgB;CAC7B,gBAAgB,gBAAgB;CAChC,aAAa,gBAAgB;CAC7B,QAAQ,gBAAgB;CACxB,SAAS,gBAAgB;AAC3B,CAAC"}
1
+ {"version":3,"file":"one.native.js","names":[],"sources":["cjs/one.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 one_exports = {};\n__export(one_exports, {\n One: () => One\n});\nmodule.exports = __toCommonJS(one_exports);\nvar import_platform = require(\"./platform\");\nvar import_safe_area_context = require(\"./safe-area-context\");\nfunction currentPlatform() {\n var _Reflect_get;\n var defined = (_Reflect_get = Reflect.get(globalThis, \"__ONE_PLATFORM__\")) !== null && _Reflect_get !== void 0 ? _Reflect_get : typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0;\n return defined === \"ios\" || defined === \"android\" || defined === \"rnx\" ? defined : \"web\";\n}\nvar iOS = Object.freeze({\n ...import_platform.Swift,\n Widgets: import_platform.Widgets,\n LiveActivities: import_platform.LiveActivities,\n WidgetUI: import_platform.WidgetUI,\n LocalAuthentication: import_platform.LocalAuthentication,\n ProtectedStore: import_platform.ProtectedStore,\n Location: import_platform.Location,\n FileSystem: import_platform.FileSystem,\n Audio: import_platform.Audio,\n Share: import_platform.Share,\n PhotoLibrary: import_platform.PhotoLibrary,\n ImageManipulator: import_platform.ImageManipulator,\n Device: import_platform.Device,\n Contacts: import_platform.Contacts,\n Calendar: import_platform.Calendar,\n Color: import_platform.Color.ios,\n MenuAction: import_platform.MenuAction,\n SplitView: import_platform.SplitView,\n ToolbarHost: import_platform.ToolbarHost,\n BarButtonItem: import_platform.ToolbarItem,\n ZoomTransitionAlignmentRectDetector: import_platform.ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler: import_platform.ZoomTransitionEnabler,\n ZoomTransitionSource: import_platform.ZoomTransitionSource\n});\nvar Android = Object.freeze({\n ...import_platform.Compose,\n Color: import_platform.Color.android,\n Menu: import_platform.Menu,\n ContextMenu: import_platform.ContextMenu\n});\nvar SafeArea = Object.freeze({\n Provider: import_safe_area_context.SafeAreaProvider,\n View: import_safe_area_context.SafeAreaView,\n initialMetrics: import_safe_area_context.initialWindowMetrics\n});\nvar UI = Object.freeze({\n ...import_platform.UI,\n Fonts: import_platform.Fonts,\n SafeArea,\n TextInput: import_platform.TextInput,\n ReservedRegions: import_platform.ReservedRegions\n});\nvar One = Object.freeze({\n get platform() {\n return currentPlatform();\n },\n openURL: import_platform.Open.openURL,\n openShare: import_platform.Open.openShare,\n openSettings: import_platform.Open.openSettings,\n AppInfo: import_platform.AppInfo,\n Database: import_platform.Database,\n iOS,\n Android,\n UI,\n Notifications: import_platform.Notifications,\n Clipboard: import_platform.Clipboard,\n Haptics: import_platform.Haptics,\n Network: import_platform.Network,\n Auth: import_platform.Auth,\n Browser: import_platform.Browser,\n ImagePicker: import_platform.ImagePicker,\n DocumentPicker: import_platform.DocumentPicker,\n SecureStore: import_platform.SecureStore,\n Speech: import_platform.Speech,\n Updates: import_platform.Updates\n});\n//# sourceMappingURL=one.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,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,cAAc,CAAC;AACnB,SAAS,aAAa,EACpB,WAAW,IACb,CAAC;AACD,OAAO,UAAU,aAAa,WAAW;AACzC,IAAI,kBAAkB,QAAQ,4BAAY;AAC1C,IAAI,2BAA2B,QAAQ,qCAAqB;AAC5D,SAAS,kBAAkB;CACzB,IAAI;CACJ,IAAI,WAAW,eAAe,QAAQ,IAAI,YAAY,kBAAkB,OAAO,QAAQ,iBAAiB,KAAK,IAAI,eAAe,OAAO,YAAY,cAAc,QAAQ,IAAI,eAAe,KAAK;CACjM,OAAO,YAAY,SAAS,YAAY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AAS,gBAAgB;CACzB,MAAM,gBAAgB;CACtB,SAAS,gBAAgB;CACzB,aAAa,gBAAgB;CAC7B,gBAAgB,gBAAgB;CAChC,aAAa,gBAAgB;CAC7B,QAAQ,gBAAgB;CACxB,SAAS,gBAAgB;AAC3B,CAAC"}
@@ -47,6 +47,7 @@ __export(platform_exports, {
47
47
  Notifications: () => import_notifications.Notifications,
48
48
  Open: () => import_open.Open,
49
49
  PhotoLibrary: () => import_photo_library.PhotoLibrary,
50
+ ProtectedStore: () => import_protected_store.ProtectedStore,
50
51
  ReservedRegions: () => import_adaptive.ReservedRegions,
51
52
  Share: () => import_share.Share,
52
53
  TextInput: () => import_TextInput.TextInput,
@@ -77,6 +78,7 @@ var import_nativeState = require("./nativeState.cjs");
77
78
  var import_TextInput = require("./universal/TextInput/index.cjs");
78
79
  var import_haptics = require("./haptics/index.cjs");
79
80
  var import_local_authentication = require("./local-authentication/index.cjs");
81
+ var import_protected_store = require("./protected-store/index.cjs");
80
82
  var import_location = require("./location/index.cjs");
81
83
  var import_file_system = require("./file-system/index.cjs");
82
84
  var import_audio = require("./audio/index.cjs");
@@ -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");
@@ -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;AAC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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;\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BAAkB;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"}
@@ -0,0 +1,32 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = 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,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YA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O,OAAO;CACjC;CACA;CACA;CACA;AACF,CAAC"}
@@ -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/esm/one.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { AppInfo, Audio, Auth, Browser, Calendar, Clipboard, Color, Compose, Contacts, ContextMenu, Database, Device, DocumentPicker, FileSystem, Fonts, Haptics, ImageManipulator, ImagePicker, LiveActivities, LocalAuthentication, Location, Menu, MenuAction, Network, Notifications, Open, PhotoLibrary, ReservedRegions, SecureStore, Share, Speech, SplitView, Swift, TextInput, ToolbarHost, ToolbarItem, UI, Updates, WidgetUI, Widgets, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from "./platform/index.mjs";
1
+ import { AppInfo, Audio, Auth, Browser, Calendar, Clipboard, Color, Compose, Contacts, ContextMenu, Database, Device, DocumentPicker, FileSystem, Fonts, Haptics, ImageManipulator, ImagePicker, LiveActivities, LocalAuthentication, Location, Menu, MenuAction, Network, Notifications, Open, PhotoLibrary, ProtectedStore, ReservedRegions, SecureStore, Share, Speech, SplitView, Swift, TextInput, ToolbarHost, ToolbarItem, UI, Updates, WidgetUI, Widgets, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from "./platform/index.mjs";
2
2
  import { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from "./safe-area-context/index.mjs";
3
3
 
4
4
  function currentPlatform() {
@@ -11,6 +11,7 @@ const iOS = Object.freeze({
11
11
  LiveActivities,
12
12
  WidgetUI,
13
13
  LocalAuthentication,
14
+ ProtectedStore,
14
15
  Location,
15
16
  FileSystem,
16
17
  Audio,
@@ -1 +1 @@
1
- {"version":3,"file":"one.js","names":["NativeMenu","NativeContextMenu","UI","NativeUI","NativeClipboard","NativeNetwork","NativeBrowser","NativeSecureStore","NativeSpeech","NativeUpdates"],"sources":["esm/one.js"],"sourcesContent":["import {\n Auth,\n Browser as NativeBrowser,\n Widgets,\n LiveActivities,\n LocalAuthentication,\n Location,\n FileSystem,\n Audio,\n Share,\n Open,\n PhotoLibrary,\n ImageManipulator,\n Device,\n Contacts,\n Calendar,\n WidgetUI,\n Clipboard as NativeClipboard,\n AppInfo,\n Color,\n Database,\n Compose,\n Fonts,\n DocumentPicker,\n Haptics,\n ImagePicker,\n MenuAction,\n Menu as NativeMenu,\n ContextMenu as NativeContextMenu,\n Notifications,\n Network as NativeNetwork,\n SecureStore as NativeSecureStore,\n Speech as NativeSpeech,\n Updates as NativeUpdates,\n SplitView,\n Swift,\n TextInput,\n ToolbarHost,\n ToolbarItem,\n UI as NativeUI,\n ReservedRegions,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n} from \"./platform\";\nimport {\n SafeAreaProvider,\n SafeAreaView,\n initialWindowMetrics\n} from \"./safe-area-context\";\nfunction currentPlatform() {\n const defined = Reflect.get(globalThis, \"__ONE_PLATFORM__\") ?? (typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0);\n return defined === \"ios\" || defined === \"android\" || defined === \"rnx\" ? defined : \"web\";\n}\nconst iOS = Object.freeze({\n ...Swift,\n Widgets,\n LiveActivities,\n WidgetUI,\n LocalAuthentication,\n Location,\n FileSystem,\n Audio,\n Share,\n PhotoLibrary,\n ImageManipulator,\n Device,\n Contacts,\n Calendar,\n Color: Color.ios,\n MenuAction,\n SplitView,\n ToolbarHost,\n BarButtonItem: ToolbarItem,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n});\nconst Android = Object.freeze({\n ...Compose,\n Color: Color.android,\n Menu: NativeMenu,\n ContextMenu: NativeContextMenu\n});\nconst SafeArea = Object.freeze({\n Provider: SafeAreaProvider,\n View: SafeAreaView,\n initialMetrics: initialWindowMetrics\n});\nconst UI = Object.freeze({\n ...NativeUI,\n Fonts,\n SafeArea,\n TextInput,\n ReservedRegions\n});\nconst One = Object.freeze({\n get platform() {\n return currentPlatform();\n },\n openURL: Open.openURL,\n openShare: Open.openShare,\n openSettings: Open.openSettings,\n AppInfo,\n Database,\n iOS,\n Android,\n UI,\n Notifications,\n Clipboard: NativeClipboard,\n Haptics,\n Network: NativeNetwork,\n Auth,\n Browser: NativeBrowser,\n ImagePicker,\n DocumentPicker,\n SecureStore: NativeSecureStore,\n Speech: NativeSpeech,\n Updates: NativeUpdates\n});\nexport {\n One\n};\n//# sourceMappingURL=one.js.map\n"],"mappings":";;;;AAkDA,SAAS,kBAAkB;CACzB,MAAM,UAAU,QAAQ,IAAI,YAAY,kBAAkB,MAAM,OAAO,YAAY,cAAc,QAAQ,IAAI,eAAe,KAAK;CACjI,OAAO,YAAY,SAAS,YAAY,aAAa,YAAY,QAAQ,UAAU;AACrF;AACA,MAAM,MAAM,OAAO,OAAO;CACxB,GAAG;CACH;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,OAAO,MAAM;CACb;CACA;CACA;CACA,eAAe;CACf;CACA;CACA;AACF,CAAC;AACD,MAAM,UAAU,OAAO,OAAO;CAC5B,GAAG;CACH,OAAO,MAAM;CACPA;CACOC;AACf,CAAC;AACD,MAAM,WAAW,OAAO,OAAO;CAC7B,UAAU;CACV,MAAM;CACN,gBAAgB;AAClB,CAAC;AACD,MAAMC,OAAK,OAAO,OAAO;CACvB,GAAGC;CACH;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,MAAM,OAAO,OAAO;CACxB,IAAI,WAAW;EACb,OAAO,gBAAgB;CACzB;CACA,SAAS,KAAK;CACd,WAAW,KAAK;CAChB,cAAc,KAAK;CACnB;CACA;CACA;CACA;CACA;CACA;CACWC;CACX;CACSC;CACT;CACSC;CACT;CACA;CACaC;CACLC;CACCC;AACX,CAAC"}
1
+ {"version":3,"file":"one.js","names":["NativeMenu","NativeContextMenu","UI","NativeUI","NativeClipboard","NativeNetwork","NativeBrowser","NativeSecureStore","NativeSpeech","NativeUpdates"],"sources":["esm/one.js"],"sourcesContent":["import {\n Auth,\n Browser as NativeBrowser,\n Widgets,\n LiveActivities,\n LocalAuthentication,\n ProtectedStore,\n Location,\n FileSystem,\n Audio,\n Share,\n Open,\n PhotoLibrary,\n ImageManipulator,\n Device,\n Contacts,\n Calendar,\n WidgetUI,\n Clipboard as NativeClipboard,\n AppInfo,\n Color,\n Database,\n Compose,\n Fonts,\n DocumentPicker,\n Haptics,\n ImagePicker,\n MenuAction,\n Menu as NativeMenu,\n ContextMenu as NativeContextMenu,\n Notifications,\n Network as NativeNetwork,\n SecureStore as NativeSecureStore,\n Speech as NativeSpeech,\n Updates as NativeUpdates,\n SplitView,\n Swift,\n TextInput,\n ToolbarHost,\n ToolbarItem,\n UI as NativeUI,\n ReservedRegions,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n} from \"./platform\";\nimport {\n SafeAreaProvider,\n SafeAreaView,\n initialWindowMetrics\n} from \"./safe-area-context\";\nfunction currentPlatform() {\n const defined = Reflect.get(globalThis, \"__ONE_PLATFORM__\") ?? (typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0);\n return defined === \"ios\" || defined === \"android\" || defined === \"rnx\" ? defined : \"web\";\n}\nconst iOS = Object.freeze({\n ...Swift,\n Widgets,\n LiveActivities,\n WidgetUI,\n LocalAuthentication,\n ProtectedStore,\n Location,\n FileSystem,\n Audio,\n Share,\n PhotoLibrary,\n ImageManipulator,\n Device,\n Contacts,\n Calendar,\n Color: Color.ios,\n MenuAction,\n SplitView,\n ToolbarHost,\n BarButtonItem: ToolbarItem,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n});\nconst Android = Object.freeze({\n ...Compose,\n Color: Color.android,\n Menu: NativeMenu,\n ContextMenu: NativeContextMenu\n});\nconst SafeArea = Object.freeze({\n Provider: SafeAreaProvider,\n View: SafeAreaView,\n initialMetrics: initialWindowMetrics\n});\nconst UI = Object.freeze({\n ...NativeUI,\n Fonts,\n SafeArea,\n TextInput,\n ReservedRegions\n});\nconst One = Object.freeze({\n get platform() {\n return currentPlatform();\n },\n openURL: Open.openURL,\n openShare: Open.openShare,\n openSettings: Open.openSettings,\n AppInfo,\n Database,\n iOS,\n Android,\n UI,\n Notifications,\n Clipboard: NativeClipboard,\n Haptics,\n Network: NativeNetwork,\n Auth,\n Browser: NativeBrowser,\n ImagePicker,\n DocumentPicker,\n SecureStore: NativeSecureStore,\n Speech: NativeSpeech,\n Updates: NativeUpdates\n});\nexport {\n One\n};\n//# sourceMappingURL=one.js.map\n"],"mappings":";;;;AAmDA,SAAS,kBAAkB;CACzB,MAAM,UAAU,QAAQ,IAAI,YAAY,kBAAkB,MAAM,OAAO,YAAY,cAAc,QAAQ,IAAI,eAAe,KAAK;CACjI,OAAO,YAAY,SAAS,YAAY,aAAa,YAAY,QAAQ,UAAU;AACrF;AACA,MAAM,MAAM,OAAO,OAAO;CACxB,GAAG;CACH;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,OAAO,MAAM;CACb;CACA;CACA;CACA,eAAe;CACf;CACA;CACA;AACF,CAAC;AACD,MAAM,UAAU,OAAO,OAAO;CAC5B,GAAG;CACH,OAAO,MAAM;CACPA;CACOC;AACf,CAAC;AACD,MAAM,WAAW,OAAO,OAAO;CAC7B,UAAU;CACV,MAAM;CACN,gBAAgB;AAClB,CAAC;AACD,MAAMC,OAAK,OAAO,OAAO;CACvB,GAAGC;CACH;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,MAAM,OAAO,OAAO;CACxB,IAAI,WAAW;EACb,OAAO,gBAAgB;CACzB;CACA,SAAS,KAAK;CACd,WAAW,KAAK;CAChB,cAAc,KAAK;CACnB;CACA;CACA;CACA;CACA;CACA;CACWC;CACX;CACSC;CACT;CACSC;CACT;CACA;CACaC;CACLC;CACCC;AACX,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AppInfo, Audio, Auth, Browser, Calendar, Clipboard, Color, Compose, Contacts, ContextMenu, Database, Device, DocumentPicker, FileSystem, Fonts, Haptics, ImageManipulator, ImagePicker, LiveActivities, LocalAuthentication, Location, Menu, MenuAction, Network, Notifications, Open, PhotoLibrary, ReservedRegions, SecureStore, Share, Speech, SplitView, Swift, TextInput, ToolbarHost, ToolbarItem, UI, Updates, WidgetUI, Widgets, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from "./platform/index.native.js";
1
+ import { AppInfo, Audio, Auth, Browser, Calendar, Clipboard, Color, Compose, Contacts, ContextMenu, Database, Device, DocumentPicker, FileSystem, Fonts, Haptics, ImageManipulator, ImagePicker, LiveActivities, LocalAuthentication, Location, Menu, MenuAction, Network, Notifications, Open, PhotoLibrary, ProtectedStore, ReservedRegions, SecureStore, Share, Speech, SplitView, Swift, TextInput, ToolbarHost, ToolbarItem, UI, Updates, WidgetUI, Widgets, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from "./platform/index.native.js";
2
2
  import { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from "./safe-area-context/index.native.js";
3
3
 
4
4
  function currentPlatform() {
@@ -12,6 +12,7 @@ var iOS = Object.freeze({
12
12
  LiveActivities,
13
13
  WidgetUI,
14
14
  LocalAuthentication,
15
+ ProtectedStore,
15
16
  Location,
16
17
  FileSystem,
17
18
  Audio,
@@ -1 +1 @@
1
- {"version":3,"file":"one.native.js","names":["NativeMenu","NativeContextMenu","UI","NativeUI","NativeClipboard","NativeNetwork","NativeBrowser","NativeSecureStore","NativeSpeech","NativeUpdates"],"sources":["esm/one.native.js"],"sourcesContent":["import { Auth, Browser as NativeBrowser, Widgets, LiveActivities, LocalAuthentication, Location, FileSystem, Audio, Share, Open, PhotoLibrary, ImageManipulator, Device, Contacts, Calendar, WidgetUI, Clipboard as NativeClipboard, AppInfo, Color, Database, Compose, Fonts, DocumentPicker, Haptics, ImagePicker, MenuAction, Menu as NativeMenu, ContextMenu as NativeContextMenu, Notifications, Network as NativeNetwork, SecureStore as NativeSecureStore, Speech as NativeSpeech, Updates as NativeUpdates, SplitView, Swift, TextInput, ToolbarHost, ToolbarItem, UI as NativeUI, ReservedRegions, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from \"./platform\";\nimport { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from \"./safe-area-context\";\nfunction currentPlatform() {\n var _Reflect_get;\n var defined = (_Reflect_get = Reflect.get(globalThis, \"__ONE_PLATFORM__\")) !== null && _Reflect_get !== void 0 ? _Reflect_get : typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0;\n return defined === \"ios\" || defined === \"android\" || defined === \"rnx\" ? defined : \"web\";\n}\nvar iOS = Object.freeze({\n ...Swift,\n Widgets,\n LiveActivities,\n WidgetUI,\n LocalAuthentication,\n Location,\n FileSystem,\n Audio,\n Share,\n PhotoLibrary,\n ImageManipulator,\n Device,\n Contacts,\n Calendar,\n Color: Color.ios,\n MenuAction,\n SplitView,\n ToolbarHost,\n BarButtonItem: ToolbarItem,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n});\nvar Android = Object.freeze({\n ...Compose,\n Color: Color.android,\n Menu: NativeMenu,\n ContextMenu: NativeContextMenu\n});\nvar SafeArea = Object.freeze({\n Provider: SafeAreaProvider,\n View: SafeAreaView,\n initialMetrics: initialWindowMetrics\n});\nvar UI = Object.freeze({\n ...NativeUI,\n Fonts,\n SafeArea,\n TextInput,\n ReservedRegions\n});\nvar One = Object.freeze({\n get platform() {\n return currentPlatform();\n },\n openURL: Open.openURL,\n openShare: Open.openShare,\n openSettings: Open.openSettings,\n AppInfo,\n Database,\n iOS,\n Android,\n UI,\n Notifications,\n Clipboard: NativeClipboard,\n Haptics,\n Network: NativeNetwork,\n Auth,\n Browser: NativeBrowser,\n ImagePicker,\n DocumentPicker,\n SecureStore: NativeSecureStore,\n Speech: NativeSpeech,\n Updates: NativeUpdates\n});\nexport {\n One\n};\n//# sourceMappingURL=one.js.map\n"],"mappings":";;;;AAEA,SAAS,kBAAkB;CACzB,IAAI;CACJ,IAAI,WAAW,eAAe,QAAQ,IAAI,YAAY,kBAAkB,OAAO,QAAQ,iBAAiB,KAAK,IAAI,eAAe,OAAO,YAAY,cAAc,QAAQ,IAAI,eAAe,KAAK;CACjM,OAAO,YAAY,SAAS,YAAY,aAAa,YAAY,QAAQ,UAAU;AACrF;AACA,IAAI,MAAM,OAAO,OAAO;CACtB,GAAG;CACH;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,OAAO,MAAM;CACb;CACA;CACA;CACA,eAAe;CACf;CACA;CACA;AACF,CAAC;AACD,IAAI,UAAU,OAAO,OAAO;CAC1B,GAAG;CACH,OAAO,MAAM;CACPA;CACOC;AACf,CAAC;AACD,IAAI,WAAW,OAAO,OAAO;CAC3B,UAAU;CACV,MAAM;CACN,gBAAgB;AAClB,CAAC;AACD,IAAIC,OAAK,OAAO,OAAO;CACrB,GAAGC;CACH;CACA;CACA;CACA;AACF,CAAC;AACD,IAAI,MAAM,OAAO,OAAO;CACtB,IAAI,WAAW;EACb,OAAO,gBAAgB;CACzB;CACA,SAAS,KAAK;CACd,WAAW,KAAK;CAChB,cAAc,KAAK;CACnB;CACA;CACA;CACA;CACA;CACA;CACWC;CACX;CACSC;CACT;CACSC;CACT;CACA;CACaC;CACLC;CACCC;AACX,CAAC"}
1
+ {"version":3,"file":"one.native.js","names":["NativeMenu","NativeContextMenu","UI","NativeUI","NativeClipboard","NativeNetwork","NativeBrowser","NativeSecureStore","NativeSpeech","NativeUpdates"],"sources":["esm/one.native.js"],"sourcesContent":["import { Auth, Browser as NativeBrowser, Widgets, LiveActivities, LocalAuthentication, ProtectedStore, Location, FileSystem, Audio, Share, Open, PhotoLibrary, ImageManipulator, Device, Contacts, Calendar, WidgetUI, Clipboard as NativeClipboard, AppInfo, Color, Database, Compose, Fonts, DocumentPicker, Haptics, ImagePicker, MenuAction, Menu as NativeMenu, ContextMenu as NativeContextMenu, Notifications, Network as NativeNetwork, SecureStore as NativeSecureStore, Speech as NativeSpeech, Updates as NativeUpdates, SplitView, Swift, TextInput, ToolbarHost, ToolbarItem, UI as NativeUI, ReservedRegions, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from \"./platform\";\nimport { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from \"./safe-area-context\";\nfunction currentPlatform() {\n var _Reflect_get;\n var defined = (_Reflect_get = Reflect.get(globalThis, \"__ONE_PLATFORM__\")) !== null && _Reflect_get !== void 0 ? _Reflect_get : typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0;\n return defined === \"ios\" || defined === \"android\" || defined === \"rnx\" ? defined : \"web\";\n}\nvar iOS = Object.freeze({\n ...Swift,\n Widgets,\n LiveActivities,\n WidgetUI,\n LocalAuthentication,\n ProtectedStore,\n Location,\n FileSystem,\n Audio,\n Share,\n PhotoLibrary,\n ImageManipulator,\n Device,\n Contacts,\n Calendar,\n Color: Color.ios,\n MenuAction,\n SplitView,\n ToolbarHost,\n BarButtonItem: ToolbarItem,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n});\nvar Android = Object.freeze({\n ...Compose,\n Color: Color.android,\n Menu: NativeMenu,\n ContextMenu: NativeContextMenu\n});\nvar SafeArea = Object.freeze({\n Provider: SafeAreaProvider,\n View: SafeAreaView,\n initialMetrics: initialWindowMetrics\n});\nvar UI = Object.freeze({\n ...NativeUI,\n Fonts,\n SafeArea,\n TextInput,\n ReservedRegions\n});\nvar One = Object.freeze({\n get platform() {\n return currentPlatform();\n },\n openURL: Open.openURL,\n openShare: Open.openShare,\n openSettings: Open.openSettings,\n AppInfo,\n Database,\n iOS,\n Android,\n UI,\n Notifications,\n Clipboard: NativeClipboard,\n Haptics,\n Network: NativeNetwork,\n Auth,\n Browser: NativeBrowser,\n ImagePicker,\n DocumentPicker,\n SecureStore: NativeSecureStore,\n Speech: NativeSpeech,\n Updates: NativeUpdates\n});\nexport {\n One\n};\n//# sourceMappingURL=one.js.map\n"],"mappings":";;;;AAEA,SAAS,kBAAkB;CACzB,IAAI;CACJ,IAAI,WAAW,eAAe,QAAQ,IAAI,YAAY,kBAAkB,OAAO,QAAQ,iBAAiB,KAAK,IAAI,eAAe,OAAO,YAAY,cAAc,QAAQ,IAAI,eAAe,KAAK;CACjM,OAAO,YAAY,SAAS,YAAY,aAAa,YAAY,QAAQ,UAAU;AACrF;AACA,IAAI,MAAM,OAAO,OAAO;CACtB,GAAG;CACH;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,OAAO,MAAM;CACb;CACA;CACA;CACA,eAAe;CACf;CACA;CACA;AACF,CAAC;AACD,IAAI,UAAU,OAAO,OAAO;CAC1B,GAAG;CACH,OAAO,MAAM;CACPA;CACOC;AACf,CAAC;AACD,IAAI,WAAW,OAAO,OAAO;CAC3B,UAAU;CACV,MAAM;CACN,gBAAgB;AAClB,CAAC;AACD,IAAIC,OAAK,OAAO,OAAO;CACrB,GAAGC;CACH;CACA;CACA;CACA;AACF,CAAC;AACD,IAAI,MAAM,OAAO,OAAO;CACtB,IAAI,WAAW;EACb,OAAO,gBAAgB;CACzB;CACA,SAAS,KAAK;CACd,WAAW,KAAK;CAChB,cAAc,KAAK;CACnB;CACA;CACA;CACA;CACA;CACA;CACWC;CACX;CACSC;CACT;CACSC;CACT;CACA;CACaC;CACLC;CACCC;AACX,CAAC"}
@@ -8,6 +8,7 @@ import { useNativeState } from "./nativeState.mjs";
8
8
  import { TextInput } from "./universal/TextInput/index.mjs";
9
9
  import { Haptics } from "./haptics/index.mjs";
10
10
  import { LocalAuthentication } from "./local-authentication/index.mjs";
11
+ import { ProtectedStore } from "./protected-store/index.mjs";
11
12
  import { Location } from "./location/index.mjs";
12
13
  import { FileSystem } from "./file-system/index.mjs";
13
14
  import { Audio } from "./audio/index.mjs";
@@ -30,5 +31,5 @@ export * from "./extras.mjs"
30
31
  const Menu = Swift.Menu;
31
32
  const ContextMenu = Swift.ContextMenu;
32
33
 
33
- export { AppInfo, Audio, Calendar, Compose, Contacts, ContextMenu, Database, Device, DocumentPicker, FileSystem, Haptics, ImageManipulator, ImagePicker, LiveActivities, LocalAuthentication, Location, Menu, Notifications, Open, PhotoLibrary, ReservedRegions, Share, TextInput, UI, WidgetUI, Widgets, getHinge, getSizeClass, onHingeChange, useHinge, useNativeState, useReservedRegions, useReservedRegionsReady, useSizeClass, useSpanning, useWindowSegments };
34
+ export { AppInfo, Audio, Calendar, Compose, Contacts, ContextMenu, Database, Device, DocumentPicker, FileSystem, Haptics, ImageManipulator, ImagePicker, LiveActivities, LocalAuthentication, Location, Menu, Notifications, Open, PhotoLibrary, ProtectedStore, ReservedRegions, Share, TextInput, UI, WidgetUI, Widgets, getHinge, getSizeClass, onHingeChange, useHinge, useNativeState, useReservedRegions, useReservedRegionsReady, useSizeClass, useSpanning, useWindowSegments };
34
35
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["esm/platform/index.js"],"sourcesContent":["import * as UI from \"./effects\";\nimport { Swift } from \"./unsupported\";\nimport { Widgets, LiveActivities, WidgetUI } from \"./widgets/index\";\nexport * from \"./extras\";\nexport * from \"./unsupported\";\nimport {\n useSizeClass,\n getSizeClass,\n useHinge,\n getHinge,\n onHingeChange,\n ReservedRegions,\n useReservedRegions,\n useReservedRegionsReady,\n useWindowSegments,\n useSpanning\n} from \"./adaptive/index\";\nimport { Compose } from \"./compose\";\nimport { Notifications } from \"./notifications\";\nimport { useNativeState } from \"./nativeState\";\nimport { TextInput } from \"./universal/TextInput/index\";\nimport { Haptics } from \"./haptics/index\";\nimport { LocalAuthentication } from \"./local-authentication/index\";\nimport { Location } from \"./location/index\";\nimport { FileSystem } from \"./file-system/index\";\nimport { Audio } from \"./audio/index\";\nimport { Share } from \"./share/index\";\nimport { Open } from \"./open/index\";\nimport { PhotoLibrary } from \"./photo-library/index\";\nimport { ImageManipulator } from \"./image-manipulator/index\";\nimport { Device } from \"./device/index\";\nimport { Contacts } from \"./contacts/index\";\nimport { Calendar } from \"./calendar/index\";\nimport { AppInfo } from \"./app-info/index\";\nimport { ImagePicker } from \"./image-picker/index\";\nimport { DocumentPicker } from \"./document-picker/index\";\nimport { Database } from \"./database/index\";\nconst Menu = Swift.Menu;\nconst ContextMenu = Swift.ContextMenu;\nexport {\n AppInfo,\n Audio,\n Calendar,\n Compose,\n Contacts,\n ContextMenu,\n Database,\n Device,\n DocumentPicker,\n FileSystem,\n Haptics,\n ImageManipulator,\n ImagePicker,\n LiveActivities,\n LocalAuthentication,\n Location,\n Menu,\n Notifications,\n Open,\n PhotoLibrary,\n ReservedRegions,\n Share,\n TextInput,\n UI,\n WidgetUI,\n Widgets,\n getHinge,\n getSizeClass,\n onHingeChange,\n useHinge,\n useNativeState,\n useReservedRegions,\n useReservedRegionsReady,\n useSizeClass,\n useSpanning,\n useWindowSegments\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,MAAM,OAAO,MAAM;AACnB,MAAM,cAAc,MAAM"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["esm/platform/index.js"],"sourcesContent":["import * as UI from \"./effects\";\nimport { Swift } from \"./unsupported\";\nimport { Widgets, LiveActivities, WidgetUI } from \"./widgets/index\";\nexport * from \"./extras\";\nexport * from \"./unsupported\";\nimport {\n useSizeClass,\n getSizeClass,\n useHinge,\n getHinge,\n onHingeChange,\n ReservedRegions,\n useReservedRegions,\n useReservedRegionsReady,\n useWindowSegments,\n useSpanning\n} from \"./adaptive/index\";\nimport { Compose } from \"./compose\";\nimport { Notifications } from \"./notifications\";\nimport { useNativeState } from \"./nativeState\";\nimport { TextInput } from \"./universal/TextInput/index\";\nimport { Haptics } from \"./haptics/index\";\nimport { LocalAuthentication } from \"./local-authentication/index\";\nimport { ProtectedStore } from \"./protected-store/index\";\nimport { Location } from \"./location/index\";\nimport { FileSystem } from \"./file-system/index\";\nimport { Audio } from \"./audio/index\";\nimport { Share } from \"./share/index\";\nimport { Open } from \"./open/index\";\nimport { PhotoLibrary } from \"./photo-library/index\";\nimport { ImageManipulator } from \"./image-manipulator/index\";\nimport { Device } from \"./device/index\";\nimport { Contacts } from \"./contacts/index\";\nimport { Calendar } from \"./calendar/index\";\nimport { AppInfo } from \"./app-info/index\";\nimport { ImagePicker } from \"./image-picker/index\";\nimport { DocumentPicker } from \"./document-picker/index\";\nimport { Database } from \"./database/index\";\nconst Menu = Swift.Menu;\nconst ContextMenu = Swift.ContextMenu;\nexport {\n AppInfo,\n Audio,\n Calendar,\n Compose,\n Contacts,\n ContextMenu,\n Database,\n Device,\n DocumentPicker,\n FileSystem,\n Haptics,\n ImageManipulator,\n ImagePicker,\n LiveActivities,\n LocalAuthentication,\n Location,\n Menu,\n Notifications,\n Open,\n PhotoLibrary,\n ProtectedStore,\n ReservedRegions,\n Share,\n TextInput,\n UI,\n WidgetUI,\n Widgets,\n getHinge,\n getSizeClass,\n onHingeChange,\n useHinge,\n useNativeState,\n useReservedRegions,\n useReservedRegionsReady,\n useSizeClass,\n useSpanning,\n useWindowSegments\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,MAAM,OAAO,MAAM;AACnB,MAAM,cAAc,MAAM"}
@@ -19,6 +19,7 @@ import { useNativeState } from "./nativeState.native.js";
19
19
  import { TextInput } from "./universal/TextInput/index";
20
20
  import { Haptics } from "./haptics/index.native.js";
21
21
  import { LocalAuthentication } from "./local-authentication/index.native.js";
22
+ import { ProtectedStore } from "./protected-store/index.native.js";
22
23
  import { Location } from "./location/index.native.js";
23
24
  import { FileSystem } from "./file-system/index.native.js";
24
25
  import { Audio } from "./audio/index.native.js";
@@ -90,5 +91,5 @@ var Swift = Platform.OS === "ios" ? {
90
91
  ...Controls
91
92
  } : Swift$1;
92
93
 
93
- export { AppInfo, Audio, Calendar, Compose, Contacts, ContextMenu, Database, Device, DocumentPicker, FileSystem, Haptics, ImageManipulator, ImagePicker, LiveActivities, LocalAuthentication, Location, Menu, Notifications, Open, PhotoLibrary, ReservedRegions, Share, Swift, TextInput, UI, WidgetUI, Widgets, getHinge, getSizeClass, onHingeChange, useHinge, useNativeState, useReservedRegions, useReservedRegionsReady, useSizeClass, useSpanning, useWindowSegments };
94
+ export { AppInfo, Audio, Calendar, Compose, Contacts, ContextMenu, Database, Device, DocumentPicker, FileSystem, Haptics, ImageManipulator, ImagePicker, LiveActivities, LocalAuthentication, Location, Menu, Notifications, Open, PhotoLibrary, ProtectedStore, ReservedRegions, Share, Swift, TextInput, UI, WidgetUI, Widgets, getHinge, getSizeClass, onHingeChange, useHinge, useNativeState, useReservedRegions, useReservedRegionsReady, useSizeClass, useSpanning, useWindowSegments };
94
95
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":["AndroidMenu","IOSMenu","AndroidContextMenu","IOSContextMenu","UnsupportedSwift"],"sources":["esm/platform/index.native.js"],"sourcesContent":["import { Platform } from \"react-native\";\nimport { Swift as UnsupportedSwift } from \"./unsupported\";\nimport { Button, ControlGroup, DisclosureGroup, Divider, Form, Glass, GlassEffectContainer, Group, GroupBox, ViewThatFits, HStack, Host, LabeledContent, LazyHStack, LazyVStack, LazyHGrid, LazyVGrid, Grid, GridRow, Link, List, Overlay, ViewSlot, ScrollView, Section, Slot, Spacer, SwipeActions, VStack, ZStack } from \"./Containers.native\";\nimport { ContextMenu as AndroidContextMenu, Menu as AndroidMenu } from \"./AndroidMenu\";\nimport { ContextMenu as IOSContextMenu, Menu as IOSMenu } from \"./Menu.native\";\nimport { Page, Pager } from \"./Pager.native\";\nimport { Popover } from \"./Popover.native\";\nimport { NavigationStack, Toolbar, ToolbarItem, ToolbarItemGroup, ToolbarSpacer } from \"./NavigationStack.native\";\nimport { FullScreenCover, Sheet } from \"./Sheet.native\";\nimport { ArrangementView } from \"./ArrangementView.native\";\nimport * as Controls from \"./generated/Controls.native\";\nimport { Tab, Tabs, TabSection, TabViewBottomAccessory, TabViewSlot } from \"./Tabs.native\";\nimport { Compose } from \"./compose\";\nimport * as UI from \"./effects\";\nimport { Widgets, LiveActivities, WidgetUI } from \"./widgets/index.native\";\nexport * from \"./extras\";\nimport { useSizeClass, getSizeClass, useHinge, getHinge, onHingeChange, ReservedRegions, useReservedRegions, useReservedRegionsReady, useWindowSegments, useSpanning } from \"./adaptive/index.native\";\nimport { Notifications } from \"./notifications\";\nimport { useNativeState } from \"./nativeState\";\nimport { TextInput } from \"./universal/TextInput/index\";\nimport { Haptics } from \"./haptics/index.native\";\nimport { LocalAuthentication } from \"./local-authentication/index.native\";\nimport { Location } from \"./location/index.native\";\nimport { FileSystem } from \"./file-system/index.native\";\nimport { Audio } from \"./audio/index.native\";\nimport { Share } from \"./share/index.native\";\nimport { Open } from \"./open/index.native\";\nimport { PhotoLibrary } from \"./photo-library/index.native\";\nimport { ImageManipulator } from \"./image-manipulator/index.native\";\nimport { Device } from \"./device/index.native\";\nimport { Contacts } from \"./contacts/index.native\";\nimport { Calendar } from \"./calendar/index.native\";\nimport { AppInfo } from \"./app-info/index.native\";\nimport { ImagePicker } from \"./image-picker/index.native\";\nimport { DocumentPicker } from \"./document-picker/index.native\";\nimport { Database } from \"./database/index.native\";\nvar Menu = Platform.OS === \"android\" ? AndroidMenu : IOSMenu;\nvar ContextMenu = Platform.OS === \"android\" ? AndroidContextMenu : IOSContextMenu;\nvar Swift = Platform.OS === \"ios\" ? {\n ArrangementView,\n Tabs,\n Tab,\n TabSection,\n TabViewBottomAccessory,\n TabViewSlot,\n Menu,\n ContextMenu,\n Sheet,\n FullScreenCover,\n Popover,\n Host,\n HStack,\n VStack,\n ZStack,\n Form,\n Section,\n Glass,\n GlassEffectContainer,\n LabeledContent,\n Button,\n List,\n ScrollView,\n LazyVStack,\n LazyHStack,\n LazyVGrid,\n LazyHGrid,\n Grid,\n GridRow,\n ControlGroup,\n DisclosureGroup,\n Divider,\n Link,\n Group,\n GroupBox,\n ViewThatFits,\n Overlay,\n ViewSlot,\n SwipeActions,\n Pager,\n Page,\n NavigationStack,\n Toolbar,\n ToolbarItem,\n ToolbarItemGroup,\n ToolbarSpacer,\n Spacer,\n Slot,\n ...Controls\n} : UnsupportedSwift;\nexport {\n AppInfo,\n Audio,\n Calendar,\n Compose,\n Contacts,\n ContextMenu,\n Database,\n Device,\n DocumentPicker,\n FileSystem,\n Haptics,\n ImageManipulator,\n ImagePicker,\n LiveActivities,\n LocalAuthentication,\n Location,\n Menu,\n Notifications,\n Open,\n PhotoLibrary,\n ReservedRegions,\n Share,\n Swift,\n TextInput,\n UI,\n WidgetUI,\n Widgets,\n getHinge,\n getSizeClass,\n onHingeChange,\n useHinge,\n useNativeState,\n useReservedRegions,\n useReservedRegionsReady,\n useSizeClass,\n useSpanning,\n useWindowSegments\n};\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,IAAI,OAAO,SAAS,OAAO,YAAYA,SAAcC;AACrD,IAAI,cAAc,SAAS,OAAO,YAAYC,gBAAqBC;AACnE,IAAI,QAAQ,SAAS,OAAO,QAAQ;CAClC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,GAAG;AACL,IAAIC"}
1
+ {"version":3,"file":"index.native.js","names":["AndroidMenu","IOSMenu","AndroidContextMenu","IOSContextMenu","UnsupportedSwift"],"sources":["esm/platform/index.native.js"],"sourcesContent":["import { Platform } from \"react-native\";\nimport { Swift as UnsupportedSwift } from \"./unsupported\";\nimport { Button, ControlGroup, DisclosureGroup, Divider, Form, Glass, GlassEffectContainer, Group, GroupBox, ViewThatFits, HStack, Host, LabeledContent, LazyHStack, LazyVStack, LazyHGrid, LazyVGrid, Grid, GridRow, Link, List, Overlay, ViewSlot, ScrollView, Section, Slot, Spacer, SwipeActions, VStack, ZStack } from \"./Containers.native\";\nimport { ContextMenu as AndroidContextMenu, Menu as AndroidMenu } from \"./AndroidMenu\";\nimport { ContextMenu as IOSContextMenu, Menu as IOSMenu } from \"./Menu.native\";\nimport { Page, Pager } from \"./Pager.native\";\nimport { Popover } from \"./Popover.native\";\nimport { NavigationStack, Toolbar, ToolbarItem, ToolbarItemGroup, ToolbarSpacer } from \"./NavigationStack.native\";\nimport { FullScreenCover, Sheet } from \"./Sheet.native\";\nimport { ArrangementView } from \"./ArrangementView.native\";\nimport * as Controls from \"./generated/Controls.native\";\nimport { Tab, Tabs, TabSection, TabViewBottomAccessory, TabViewSlot } from \"./Tabs.native\";\nimport { Compose } from \"./compose\";\nimport * as UI from \"./effects\";\nimport { Widgets, LiveActivities, WidgetUI } from \"./widgets/index.native\";\nexport * from \"./extras\";\nimport { useSizeClass, getSizeClass, useHinge, getHinge, onHingeChange, ReservedRegions, useReservedRegions, useReservedRegionsReady, useWindowSegments, useSpanning } from \"./adaptive/index.native\";\nimport { Notifications } from \"./notifications\";\nimport { useNativeState } from \"./nativeState\";\nimport { TextInput } from \"./universal/TextInput/index\";\nimport { Haptics } from \"./haptics/index.native\";\nimport { LocalAuthentication } from \"./local-authentication/index.native\";\nimport { ProtectedStore } from \"./protected-store/index.native\";\nimport { Location } from \"./location/index.native\";\nimport { FileSystem } from \"./file-system/index.native\";\nimport { Audio } from \"./audio/index.native\";\nimport { Share } from \"./share/index.native\";\nimport { Open } from \"./open/index.native\";\nimport { PhotoLibrary } from \"./photo-library/index.native\";\nimport { ImageManipulator } from \"./image-manipulator/index.native\";\nimport { Device } from \"./device/index.native\";\nimport { Contacts } from \"./contacts/index.native\";\nimport { Calendar } from \"./calendar/index.native\";\nimport { AppInfo } from \"./app-info/index.native\";\nimport { ImagePicker } from \"./image-picker/index.native\";\nimport { DocumentPicker } from \"./document-picker/index.native\";\nimport { Database } from \"./database/index.native\";\nvar Menu = Platform.OS === \"android\" ? AndroidMenu : IOSMenu;\nvar ContextMenu = Platform.OS === \"android\" ? AndroidContextMenu : IOSContextMenu;\nvar Swift = Platform.OS === \"ios\" ? {\n ArrangementView,\n Tabs,\n Tab,\n TabSection,\n TabViewBottomAccessory,\n TabViewSlot,\n Menu,\n ContextMenu,\n Sheet,\n FullScreenCover,\n Popover,\n Host,\n HStack,\n VStack,\n ZStack,\n Form,\n Section,\n Glass,\n GlassEffectContainer,\n LabeledContent,\n Button,\n List,\n ScrollView,\n LazyVStack,\n LazyHStack,\n LazyVGrid,\n LazyHGrid,\n Grid,\n GridRow,\n ControlGroup,\n DisclosureGroup,\n Divider,\n Link,\n Group,\n GroupBox,\n ViewThatFits,\n Overlay,\n ViewSlot,\n SwipeActions,\n Pager,\n Page,\n NavigationStack,\n Toolbar,\n ToolbarItem,\n ToolbarItemGroup,\n ToolbarSpacer,\n Spacer,\n Slot,\n ...Controls\n} : UnsupportedSwift;\nexport {\n AppInfo,\n Audio,\n Calendar,\n Compose,\n Contacts,\n ContextMenu,\n Database,\n Device,\n DocumentPicker,\n FileSystem,\n Haptics,\n ImageManipulator,\n ImagePicker,\n LiveActivities,\n LocalAuthentication,\n Location,\n Menu,\n Notifications,\n Open,\n PhotoLibrary,\n ProtectedStore,\n ReservedRegions,\n Share,\n Swift,\n TextInput,\n UI,\n WidgetUI,\n Widgets,\n getHinge,\n getSizeClass,\n onHingeChange,\n useHinge,\n useNativeState,\n useReservedRegions,\n useReservedRegionsReady,\n useSizeClass,\n useSpanning,\n useWindowSegments\n};\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,IAAI,OAAO,SAAS,OAAO,YAAYA,SAAcC;AACrD,IAAI,cAAc,SAAS,OAAO,YAAYC,gBAAqBC;AACnE,IAAI,QAAQ,SAAS,OAAO,QAAQ;CAClC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,GAAG;AACL,IAAIC"}
@@ -0,0 +1,12 @@
1
+ const unavailable = () => {
2
+ throw new Error("ProtectedStore requires an iOS native build");
3
+ };
4
+ const ProtectedStore = Object.freeze({
5
+ createItem: (_key, _value, _policy) => unavailable(),
6
+ getItem: (_key, _reason, _policy) => unavailable(),
7
+ updateItem: (_key, _value, _reason, _policy) => unavailable(),
8
+ deleteItem: (_key, _reason, _policy) => unavailable()
9
+ });
10
+
11
+ export { ProtectedStore };
12
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["esm/platform/protected-store/index.js"],"sourcesContent":["const unavailable = () => {\n throw new Error(\"ProtectedStore requires an iOS native build\");\n};\nconst ProtectedStore = Object.freeze({\n createItem: (_key, _value, _policy) => unavailable(),\n getItem: (_key, _reason, _policy) => unavailable(),\n updateItem: (_key, _value, _reason, _policy) => unavailable(),\n deleteItem: (_key, _reason, _policy) => unavailable()\n});\nexport {\n ProtectedStore\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";AAAA,MAAM,oBAAoB;CACxB,MAAM,IAAI,MAAM,6CAA6C;AAC/D;AACA,MAAM,iBAAiB,OAAO,OAAO;CACnC,aAAa,MAAM,QAAQ,YAAY,YAAY;CACnD,UAAU,MAAM,SAAS,YAAY,YAAY;CACjD,aAAa,MAAM,QAAQ,SAAS,YAAY,YAAY;CAC5D,aAAa,MAAM,SAAS,YAAY,YAAY;AACtD,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { Platform } from "react-native";
2
+ import { NitroModules } from "react-native-nitro-modules";
3
+ import { rethrowNativeError } from "../nativeError.native.js";
4
+
5
+ var hybrid;
6
+ function native() {
7
+ if (Platform.OS !== "ios") throw new Error("ProtectedStore requires an iOS native build");
8
+ hybrid !== null && hybrid !== void 0 ? hybrid : hybrid = NitroModules.createHybridObject("OneProtectedStore");
9
+ return hybrid;
10
+ }
11
+ function createItem(key, value, policy) {
12
+ return native().createItem(key, value, policy).catch(rethrowNativeError);
13
+ }
14
+ function getItem(key, reason, policy) {
15
+ return native().getItem(key, reason, policy).then(function(value) {
16
+ return value !== null && value !== void 0 ? value : null;
17
+ }, rethrowNativeError);
18
+ }
19
+ function updateItem(key, value, reason, policy) {
20
+ return native().updateItem(key, value, reason, policy).catch(rethrowNativeError);
21
+ }
22
+ function deleteItem(key, reason, policy) {
23
+ return native().deleteItem(key, reason, policy).catch(rethrowNativeError);
24
+ }
25
+ var ProtectedStore = Object.freeze({
26
+ createItem,
27
+ getItem,
28
+ updateItem,
29
+ deleteItem
30
+ });
31
+
32
+ export { ProtectedStore };
33
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["esm/platform/protected-store/index.native.js"],"sourcesContent":["import { Platform } from \"react-native\";\nimport { NitroModules } from \"react-native-nitro-modules\";\nimport { rethrowNativeError } from \"../nativeError\";\nvar hybrid;\nfunction native() {\n if (Platform.OS !== \"ios\") throw new Error(\"ProtectedStore requires an iOS native build\");\n hybrid !== null && hybrid !== void 0 ? hybrid : hybrid = NitroModules.createHybridObject(\"OneProtectedStore\");\n return hybrid;\n}\nfunction createItem(key, value, policy) {\n return native().createItem(key, value, policy).catch(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 }, rethrowNativeError);\n}\nfunction updateItem(key, value, reason, policy) {\n return native().updateItem(key, value, reason, policy).catch(rethrowNativeError);\n}\nfunction deleteItem(key, reason, policy) {\n return native().deleteItem(key, reason, policy).catch(rethrowNativeError);\n}\nvar ProtectedStore = Object.freeze({\n createItem,\n getItem,\n updateItem,\n deleteItem\n});\nexport {\n ProtectedStore\n};\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;;;AAGA,IAAI;AACJ,SAAS,SAAS;CAChB,IAAI,SAAS,OAAO,OAAO,MAAM,IAAI,MAAM,6CAA6C;CACxF,WAAW,QAAQ,WAAW,KAAK,IAAI,SAAS,SAAS,aAAa,mBAAmB,mBAAmB;CAC5G,OAAO;AACT;AACA,SAAS,WAAW,KAAK,OAAO,QAAQ;CACtC,OAAO,OAAO,CAAC,CAAC,WAAW,KAAK,OAAO,MAAM,CAAC,CAAC,MAAM,kBAAkB;AACzE;AACA,SAAS,QAAQ,KAAK,QAAQ,QAAQ;CACpC,OAAO,OAAO,CAAC,CAAC,QAAQ,KAAK,QAAQ,MAAM,CAAC,CAAC,KAAK,SAAS,OAAO;EAChE,OAAO,UAAU,QAAQ,UAAU,KAAK,IAAI,QAAQ;CACtD,GAAG,kBAAkB;AACvB;AACA,SAAS,WAAW,KAAK,OAAO,QAAQ,QAAQ;CAC9C,OAAO,OAAO,CAAC,CAAC,WAAW,KAAK,OAAO,QAAQ,MAAM,CAAC,CAAC,MAAM,kBAAkB;AACjF;AACA,SAAS,WAAW,KAAK,QAAQ,QAAQ;CACvC,OAAO,OAAO,CAAC,CAAC,WAAW,KAAK,QAAQ,MAAM,CAAC,CAAC,MAAM,kBAAkB;AAC1E;AACA,IAAI,iBAAiB,OAAO,OAAO;CACjC;CACA;CACA;CACA;AACF,CAAC"}