@apps-in-toss/web-framework 2.7.0 → 2.8.0
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/config/index.js +12 -2
- package/dist/prebuilt/dev.android.rn84.js +642 -422
- package/dist/prebuilt/dev.ios.rn84.js +642 -422
- package/dist/prebuilt/prod.android.rn72.js +5439 -5760
- package/dist/prebuilt/prod.android.rn84.js +5429 -5750
- package/dist/prebuilt/prod.ios.rn72.js +5439 -5760
- package/dist/prebuilt/prod.ios.rn84.js +5429 -5750
- package/package.json +8 -8
package/dist/config/index.js
CHANGED
|
@@ -238,7 +238,7 @@ var validateAppInTossWebPluginOptions = (() => {
|
|
|
238
238
|
const _io0 = (input) => "object" === typeof input.commands && null !== input.commands && _io1(input.commands) && ("object" === typeof input.brand && null !== input.brand && _io2(input.brand)) && (void 0 === input.navigationBar || "object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) && _io3(input.navigationBar)) && (void 0 === input.webViewProps || "object" === typeof input.webViewProps && null !== input.webViewProps && false === Array.isArray(input.webViewProps) && _io8(input.webViewProps)) && (Array.isArray(input.permissions) && input.permissions.every((elem) => "object" === typeof elem && null !== elem && _iu0(elem)));
|
|
239
239
|
const _io1 = (input) => "string" === typeof input.build;
|
|
240
240
|
const _io2 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon;
|
|
241
|
-
const _io3 = (input) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton) && (void 0 === input.initialAccessoryButton || "object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton && _io4(input.initialAccessoryButton));
|
|
241
|
+
const _io3 = (input) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton) && (void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground) && (void 0 === input.theme || "light" === input.theme || "dark" === input.theme) && (void 0 === input.initialAccessoryButton || "object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton && _io4(input.initialAccessoryButton));
|
|
242
242
|
const _io4 = (input) => "string" === typeof input.id && "string" === typeof input.title && ("object" === typeof input.icon && null !== input.icon && _iu1(input.icon));
|
|
243
243
|
const _io5 = (input) => "object" === typeof input.source && null !== input.source && _io6(input.source) && (null !== input.name && void 0 === input.name);
|
|
244
244
|
const _io6 = (input) => "string" === typeof input.uri;
|
|
@@ -349,6 +349,14 @@ var validateAppInTossWebPluginOptions = (() => {
|
|
|
349
349
|
path: _path + ".withHomeButton",
|
|
350
350
|
expected: "(boolean | undefined)",
|
|
351
351
|
value: input.withHomeButton
|
|
352
|
+
}), void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground || _report(_exceptionable, {
|
|
353
|
+
path: _path + ".transparentBackground",
|
|
354
|
+
expected: "(boolean | undefined)",
|
|
355
|
+
value: input.transparentBackground
|
|
356
|
+
}), void 0 === input.theme || "light" === input.theme || "dark" === input.theme || _report(_exceptionable, {
|
|
357
|
+
path: _path + ".theme",
|
|
358
|
+
expected: '("dark" | "light" | undefined)',
|
|
359
|
+
value: input.theme
|
|
352
360
|
}), void 0 === input.initialAccessoryButton || ("object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton || _report(_exceptionable, {
|
|
353
361
|
path: _path + ".initialAccessoryButton",
|
|
354
362
|
expected: "(InitialAccessoryButton | undefined)",
|
|
@@ -577,7 +585,9 @@ var defineConfig = (config) => {
|
|
|
577
585
|
},
|
|
578
586
|
navigationBar: {
|
|
579
587
|
withBackButton: true,
|
|
580
|
-
withHomeButton: false
|
|
588
|
+
withHomeButton: false,
|
|
589
|
+
transparentBackground: false,
|
|
590
|
+
theme: "light"
|
|
581
591
|
}
|
|
582
592
|
};
|
|
583
593
|
const merged = merge(defaultConfig, config);
|