@apps-in-toss/web-framework 0.0.9 → 0.0.10
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/chunk-CH3CIAIW.js +7688 -0
- package/dist/chunk-DI2VGQ6M.js +53 -0
- package/dist/chunk-HL7M3JLX.js +53 -0
- package/dist/chunk-I3ZDGLIW.js +19 -0
- package/dist/chunk-LJBVSTWE.js +7687 -0
- package/dist/chunk-TZCMTMV7.js +38 -0
- package/dist/cli/index.cjs +644 -0
- package/dist/cli/index.d.cts +2 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +51 -43
- package/dist/cli.cjs +560 -0
- package/dist/cli.d.cts +2 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +509 -0
- package/dist/closeView.d.ts +24 -0
- package/dist/config/index.cjs +7976 -0
- package/dist/config/index.d.cts +73 -0
- package/dist/config/index.d.ts +7 -0
- package/dist/config/index.js +3 -0
- package/dist/fetchAlbumPhotos.d.ts +75 -0
- package/dist/fetchContacts.d.ts +92 -0
- package/dist/generateHapticFeedback.d.ts +52 -0
- package/dist/getClipboardText.d.ts +42 -0
- package/dist/getCurrentLocation.d.ts +109 -0
- package/dist/getDeviceId.d.ts +32 -0
- package/dist/getLocale.d.ts +31 -0
- package/dist/getNetworkStatus.d.ts +55 -0
- package/dist/getSchemeUri.d.ts +26 -0
- package/dist/index.cjs +18 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1 -0
- package/dist/openCamera.d.ts +75 -0
- package/dist/plugins/index.cjs +7682 -0
- package/dist/plugins/index.d.cts +15 -0
- package/dist/plugins/index.d.ts +15 -0
- package/dist/plugins/index.js +11 -0
- package/dist/prebuilt/dev.android.js +25 -13
- package/dist/prebuilt/dev.ios.js +25 -13
- package/dist/prebuilt/prod.android.js +1 -1
- package/dist/prebuilt/prod.ios.js +1 -1
- package/dist/prebuilt/prod.json +4 -4
- package/dist/setClipboardText.d.ts +34 -0
- package/dist/setScreenAwakeMode.d.ts +69 -0
- package/dist/setSecureScreen.d.ts +34 -0
- package/dist/share.d.ts +37 -0
- package/dist/startUpdateLocation.d.ts +151 -0
- package/package.json +4 -4
- package/src-web/appLogin.d.ts +4 -5
- package/src-web/closeView.d.ts +1 -2
- package/src-web/fetchAlbumPhotos.d.ts +1 -3
- package/src-web/fetchContacts.d.ts +1 -3
- package/src-web/generateHapticFeedback.d.ts +24 -27
- package/src-web/getClipboardText.d.ts +1 -3
- package/src-web/getCurrentLocation.d.ts +4 -6
- package/src-web/getDeviceId.d.ts +1 -2
- package/src-web/getLocale.d.ts +1 -2
- package/src-web/getNetworkStatus.d.ts +1 -2
- package/src-web/getOperationalEnvironment.d.ts +35 -0
- package/src-web/getPlatformOS.d.ts +28 -0
- package/src-web/getSchemeUri.d.ts +1 -2
- package/src-web/index.d.ts +2 -0
- package/src-web/index.js +1 -1
- package/src-web/openCamera.d.ts +1 -3
- package/src-web/setClipboardText.d.ts +1 -3
- package/src-web/setScreenAwakeMode.d.ts +1 -2
- package/src-web/setSecureScreen.d.ts +1 -2
- package/src-web/share.d.ts +1 -2
- package/src-web/startUpdateLocation.d.ts +3 -5
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as _react_native_bedrock_cli from '@react-native-bedrock/cli';
|
|
2
|
+
import { Permission } from '@apps-in-toss/framework/plugins';
|
|
3
|
+
import { BedrockPlugin } from 'react-native-bedrock/config';
|
|
4
|
+
|
|
5
|
+
interface AppsInTossWebPluginOptions {
|
|
6
|
+
port: number;
|
|
7
|
+
commands: {
|
|
8
|
+
dev: string;
|
|
9
|
+
build: string;
|
|
10
|
+
};
|
|
11
|
+
permissions: Permission[];
|
|
12
|
+
}
|
|
13
|
+
declare function appsInTossWeb(options: AppsInTossWebPluginOptions): (BedrockPlugin | (_react_native_bedrock_cli.BedrockPluginCore | Promise<_react_native_bedrock_cli.BedrockPluginCore>)[])[];
|
|
14
|
+
|
|
15
|
+
export { type AppsInTossWebPluginOptions, appsInTossWeb };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as _react_native_bedrock_cli from '@react-native-bedrock/cli';
|
|
2
|
+
import { Permission } from '@apps-in-toss/framework/plugins';
|
|
3
|
+
import { BedrockPlugin } from 'react-native-bedrock/config';
|
|
4
|
+
|
|
5
|
+
interface AppsInTossWebPluginOptions {
|
|
6
|
+
port: number;
|
|
7
|
+
commands: {
|
|
8
|
+
dev: string;
|
|
9
|
+
build: string;
|
|
10
|
+
};
|
|
11
|
+
permissions: Permission[];
|
|
12
|
+
}
|
|
13
|
+
declare function appsInTossWeb(options: AppsInTossWebPluginOptions): (BedrockPlugin | (_react_native_bedrock_cli.BedrockPluginCore | Promise<_react_native_bedrock_cli.BedrockPluginCore>)[])[];
|
|
14
|
+
|
|
15
|
+
export { type AppsInTossWebPluginOptions, appsInTossWeb };
|
|
@@ -87471,7 +87471,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
87471
87471
|
var _default = exports.default = TurboModuleRegistry.get('LinkingManager');
|
|
87472
87472
|
},412,[34],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js");
|
|
87473
87473
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
87474
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
87474
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
87475
87475
|
"__packager_asset": true,
|
|
87476
87476
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
87477
87477
|
"width": 28,
|
|
@@ -89150,7 +89150,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89150
89150
|
var _default = exports.default = NativeStatusBarManager;
|
|
89151
89151
|
},429,[34],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js");
|
|
89152
89152
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89153
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89153
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89154
89154
|
"__packager_asset": true,
|
|
89155
89155
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89156
89156
|
"width": 16,
|
|
@@ -89162,7 +89162,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89162
89162
|
});
|
|
89163
89163
|
},430,[414],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/chevron-left.png");
|
|
89164
89164
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89165
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89165
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89166
89166
|
"__packager_asset": true,
|
|
89167
89167
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89168
89168
|
"width": 16,
|
|
@@ -89796,7 +89796,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89796
89796
|
var _default = exports.default = LogBoxInspectorSourceMapStatus;
|
|
89797
89797
|
},435,[315,274,243,379,407,408,8,49,436,437],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js");
|
|
89798
89798
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89799
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89799
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89800
89800
|
"__packager_asset": true,
|
|
89801
89801
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89802
89802
|
"width": 48,
|
|
@@ -89808,7 +89808,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89808
89808
|
});
|
|
89809
89809
|
},436,[414],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png");
|
|
89810
89810
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89811
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89811
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89812
89812
|
"__packager_asset": true,
|
|
89813
89813
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89814
89814
|
"width": 44,
|
|
@@ -108442,7 +108442,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108442
108442
|
}
|
|
108443
108443
|
},649,[6,8,11,49],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-ee3cf72c44/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/PlatformPressable.tsx");
|
|
108444
108444
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108445
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108445
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
108446
108446
|
"__packager_asset": true,
|
|
108447
108447
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-ee3cf72c44/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
|
|
108448
108448
|
"width": 24,
|
|
@@ -108454,7 +108454,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108454
108454
|
});
|
|
108455
108455
|
},650,[414],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-ee3cf72c44/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets/back-icon.png");
|
|
108456
108456
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108457
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108457
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
108458
108458
|
"__packager_asset": true,
|
|
108459
108459
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-ee3cf72c44/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
|
|
108460
108460
|
"width": 50,
|
|
@@ -154428,7 +154428,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154428
154428
|
"use strict";
|
|
154429
154429
|
|
|
154430
154430
|
var _excluded = ["children"],
|
|
154431
|
-
_excluded2 = ["
|
|
154431
|
+
_excluded2 = ["local", "onMessage"];
|
|
154432
154432
|
function _regeneratorRuntime() { "use strict"; _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
154433
154433
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
154434
154434
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -154534,6 +154534,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154534
154534
|
getCurrentLocation: function getCurrentLocation() {
|
|
154535
154535
|
return _getCurrentLocation;
|
|
154536
154536
|
},
|
|
154537
|
+
getOperationalEnvironment: function getOperationalEnvironment() {
|
|
154538
|
+
return _getOperationalEnvironment;
|
|
154539
|
+
},
|
|
154537
154540
|
openCamera: function openCamera() {
|
|
154538
154541
|
return _openCamera;
|
|
154539
154542
|
},
|
|
@@ -154689,6 +154692,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154689
154692
|
getCurrentLocation: function getCurrentLocation() {
|
|
154690
154693
|
return _getCurrentLocation;
|
|
154691
154694
|
},
|
|
154695
|
+
getOperationalEnvironment: function getOperationalEnvironment() {
|
|
154696
|
+
return _getOperationalEnvironment;
|
|
154697
|
+
},
|
|
154692
154698
|
openCamera: function openCamera() {
|
|
154693
154699
|
return _openCamera;
|
|
154694
154700
|
},
|
|
@@ -154946,6 +154952,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154946
154952
|
}));
|
|
154947
154953
|
return _appLogin2.apply(this, arguments);
|
|
154948
154954
|
}
|
|
154955
|
+
function _getOperationalEnvironment() {
|
|
154956
|
+
return AppsInTossModule.operationalEnvironment;
|
|
154957
|
+
}
|
|
154949
154958
|
var import_react_native_webview = _$$_REQUIRE(_dependencyMap[3], "@react-native-bedrock/native/react-native-webview");
|
|
154950
154959
|
var import_react = _$$_REQUIRE(_dependencyMap[4], "react");
|
|
154951
154960
|
var import_react_native_bedrock4 = _$$_REQUIRE(_dependencyMap[0], "react-native-bedrock");
|
|
@@ -154953,16 +154962,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154953
154962
|
var constantBridges = __toESM(_$$_REQUIRE(_dependencyMap[6], "react-native-bedrock/constants"), 1);
|
|
154954
154963
|
var import_jsx_runtime2 = _$$_REQUIRE(_dependencyMap[1], "react/jsx-runtime");
|
|
154955
154964
|
function _WebView(_ref4) {
|
|
154956
|
-
var
|
|
154957
|
-
localhostPort = _ref4$localhostPort === void 0 ? 5173 : _ref4$localhostPort,
|
|
154965
|
+
var local = _ref4.local,
|
|
154958
154966
|
onMessage = _ref4.onMessage,
|
|
154959
154967
|
props = _objectWithoutProperties(_ref4, _excluded2);
|
|
154960
154968
|
var uri = (0, import_react.useMemo)(function () {
|
|
154961
154969
|
if (__DEV__) {
|
|
154962
|
-
return "http://
|
|
154970
|
+
return "http://".concat(local.host, ":").concat(local.port);
|
|
154963
154971
|
}
|
|
154964
154972
|
return AppsInTossModule.getWebBundleURL({}).url;
|
|
154965
|
-
}, [
|
|
154973
|
+
}, [local]);
|
|
154966
154974
|
var handler = (0, import_react_native_bedrock4.useBridgeHandler)({
|
|
154967
154975
|
onMessage: onMessage,
|
|
154968
154976
|
eventListenerMap: native_event_emitter_exports,
|
|
@@ -155034,6 +155042,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155034
155042
|
fetchContacts: _fetchContacts,
|
|
155035
155043
|
getClipboardText: _getClipboardText,
|
|
155036
155044
|
getCurrentLocation: _getCurrentLocation,
|
|
155045
|
+
getOperationalEnvironment: _getOperationalEnvironment,
|
|
155037
155046
|
openCamera: _openCamera,
|
|
155038
155047
|
setClipboardText: _setClipboardText,
|
|
155039
155048
|
startUpdateLocation: _startUpdateLocation,
|
|
@@ -155756,7 +155765,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155756
155765
|
style: {
|
|
155757
155766
|
flex: 1
|
|
155758
155767
|
},
|
|
155759
|
-
|
|
155768
|
+
local: {
|
|
155769
|
+
port: Ait.webPort,
|
|
155770
|
+
host: Ait.webHost
|
|
155771
|
+
}
|
|
155760
155772
|
})
|
|
155761
155773
|
});
|
|
155762
155774
|
}
|
package/dist/prebuilt/dev.ios.js
CHANGED
|
@@ -87599,7 +87599,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
87599
87599
|
var _default = exports.default = TurboModuleRegistry.get('LinkingManager');
|
|
87600
87600
|
},415,[34],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js");
|
|
87601
87601
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
87602
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
87602
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
87603
87603
|
"__packager_asset": true,
|
|
87604
87604
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
87605
87605
|
"width": 28,
|
|
@@ -89287,7 +89287,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89287
89287
|
var _default = exports.default = NativeStatusBarManager;
|
|
89288
89288
|
},432,[34],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js");
|
|
89289
89289
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89290
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89290
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89291
89291
|
"__packager_asset": true,
|
|
89292
89292
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89293
89293
|
"width": 16,
|
|
@@ -89299,7 +89299,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89299
89299
|
});
|
|
89300
89300
|
},433,[417],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/chevron-left.png");
|
|
89301
89301
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89302
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89302
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89303
89303
|
"__packager_asset": true,
|
|
89304
89304
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89305
89305
|
"width": 16,
|
|
@@ -89933,7 +89933,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89933
89933
|
var _default = exports.default = LogBoxInspectorSourceMapStatus;
|
|
89934
89934
|
},438,[318,277,246,382,410,411,8,49,439,440],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js");
|
|
89935
89935
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89936
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89936
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89937
89937
|
"__packager_asset": true,
|
|
89938
89938
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89939
89939
|
"width": 48,
|
|
@@ -89945,7 +89945,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89945
89945
|
});
|
|
89946
89946
|
},439,[417],"../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png");
|
|
89947
89947
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89948
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89948
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89949
89949
|
"__packager_asset": true,
|
|
89950
89950
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-7713454f6e/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89951
89951
|
"width": 44,
|
|
@@ -108298,7 +108298,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108298
108298
|
}
|
|
108299
108299
|
},647,[6,8,11,49],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-ee3cf72c44/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/PlatformPressable.tsx");
|
|
108300
108300
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108301
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108301
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
108302
108302
|
"__packager_asset": true,
|
|
108303
108303
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-ee3cf72c44/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
|
|
108304
108304
|
"width": 12,
|
|
@@ -108310,7 +108310,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108310
108310
|
});
|
|
108311
108311
|
},648,[417],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-ee3cf72c44/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets/back-icon.png");
|
|
108312
108312
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108313
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108313
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/heecheol.kim/dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.12-73c241ee01-eaddee995b.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
108314
108314
|
"__packager_asset": true,
|
|
108315
108315
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-ee3cf72c44/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
|
|
108316
108316
|
"width": 50,
|
|
@@ -154255,7 +154255,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154255
154255
|
"use strict";
|
|
154256
154256
|
|
|
154257
154257
|
var _excluded = ["children"],
|
|
154258
|
-
_excluded2 = ["
|
|
154258
|
+
_excluded2 = ["local", "onMessage"];
|
|
154259
154259
|
function _regeneratorRuntime() { "use strict"; _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
154260
154260
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
154261
154261
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -154361,6 +154361,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154361
154361
|
getCurrentLocation: function getCurrentLocation() {
|
|
154362
154362
|
return _getCurrentLocation;
|
|
154363
154363
|
},
|
|
154364
|
+
getOperationalEnvironment: function getOperationalEnvironment() {
|
|
154365
|
+
return _getOperationalEnvironment;
|
|
154366
|
+
},
|
|
154364
154367
|
openCamera: function openCamera() {
|
|
154365
154368
|
return _openCamera;
|
|
154366
154369
|
},
|
|
@@ -154516,6 +154519,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154516
154519
|
getCurrentLocation: function getCurrentLocation() {
|
|
154517
154520
|
return _getCurrentLocation;
|
|
154518
154521
|
},
|
|
154522
|
+
getOperationalEnvironment: function getOperationalEnvironment() {
|
|
154523
|
+
return _getOperationalEnvironment;
|
|
154524
|
+
},
|
|
154519
154525
|
openCamera: function openCamera() {
|
|
154520
154526
|
return _openCamera;
|
|
154521
154527
|
},
|
|
@@ -154773,6 +154779,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154773
154779
|
}));
|
|
154774
154780
|
return _appLogin2.apply(this, arguments);
|
|
154775
154781
|
}
|
|
154782
|
+
function _getOperationalEnvironment() {
|
|
154783
|
+
return AppsInTossModule.operationalEnvironment;
|
|
154784
|
+
}
|
|
154776
154785
|
var import_react_native_webview = _$$_REQUIRE(_dependencyMap[3], "@react-native-bedrock/native/react-native-webview");
|
|
154777
154786
|
var import_react = _$$_REQUIRE(_dependencyMap[4], "react");
|
|
154778
154787
|
var import_react_native_bedrock4 = _$$_REQUIRE(_dependencyMap[0], "react-native-bedrock");
|
|
@@ -154780,16 +154789,15 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154780
154789
|
var constantBridges = __toESM(_$$_REQUIRE(_dependencyMap[6], "react-native-bedrock/constants"), 1);
|
|
154781
154790
|
var import_jsx_runtime2 = _$$_REQUIRE(_dependencyMap[1], "react/jsx-runtime");
|
|
154782
154791
|
function _WebView(_ref4) {
|
|
154783
|
-
var
|
|
154784
|
-
localhostPort = _ref4$localhostPort === void 0 ? 5173 : _ref4$localhostPort,
|
|
154792
|
+
var local = _ref4.local,
|
|
154785
154793
|
onMessage = _ref4.onMessage,
|
|
154786
154794
|
props = _objectWithoutProperties(_ref4, _excluded2);
|
|
154787
154795
|
var uri = (0, import_react.useMemo)(function () {
|
|
154788
154796
|
if (__DEV__) {
|
|
154789
|
-
return "http://
|
|
154797
|
+
return "http://".concat(local.host, ":").concat(local.port);
|
|
154790
154798
|
}
|
|
154791
154799
|
return AppsInTossModule.getWebBundleURL({}).url;
|
|
154792
|
-
}, [
|
|
154800
|
+
}, [local]);
|
|
154793
154801
|
var handler = (0, import_react_native_bedrock4.useBridgeHandler)({
|
|
154794
154802
|
onMessage: onMessage,
|
|
154795
154803
|
eventListenerMap: native_event_emitter_exports,
|
|
@@ -154861,6 +154869,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154861
154869
|
fetchContacts: _fetchContacts,
|
|
154862
154870
|
getClipboardText: _getClipboardText,
|
|
154863
154871
|
getCurrentLocation: _getCurrentLocation,
|
|
154872
|
+
getOperationalEnvironment: _getOperationalEnvironment,
|
|
154864
154873
|
openCamera: _openCamera,
|
|
154865
154874
|
setClipboardText: _setClipboardText,
|
|
154866
154875
|
startUpdateLocation: _startUpdateLocation,
|
|
@@ -155697,7 +155706,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155697
155706
|
style: {
|
|
155698
155707
|
flex: 1
|
|
155699
155708
|
},
|
|
155700
|
-
|
|
155709
|
+
local: {
|
|
155710
|
+
port: Ait.webPort,
|
|
155711
|
+
host: Ait.webHost
|
|
155712
|
+
}
|
|
155701
155713
|
})
|
|
155702
155714
|
});
|
|
155703
155715
|
}
|