This commit is contained in:
metacryst
2026-01-09 11:14:27 -06:00
parent cf03c95664
commit 637c9e4674
2149 changed files with 527743 additions and 0 deletions

416
node_modules/@capacitor/splash-screen/dist/docs.json generated vendored Normal file
View File

@@ -0,0 +1,416 @@
{
"api": {
"name": "SplashScreenPlugin",
"slug": "splashscreenplugin",
"docs": "",
"tags": [],
"methods": [
{
"name": "show",
"signature": "(options?: ShowOptions | undefined) => Promise<void>",
"parameters": [
{
"name": "options",
"docs": "",
"type": "ShowOptions | undefined"
}
],
"returns": "Promise<void>",
"tags": [
{
"name": "since",
"text": "1.0.0"
}
],
"docs": "Show the splash screen",
"complexTypes": [
"ShowOptions"
],
"slug": "show"
},
{
"name": "hide",
"signature": "(options?: HideOptions | undefined) => Promise<void>",
"parameters": [
{
"name": "options",
"docs": "",
"type": "HideOptions | undefined"
}
],
"returns": "Promise<void>",
"tags": [
{
"name": "since",
"text": "1.0.0"
}
],
"docs": "Hide the splash screen",
"complexTypes": [
"HideOptions"
],
"slug": "hide"
}
],
"properties": []
},
"interfaces": [
{
"name": "ShowOptions",
"slug": "showoptions",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "autoHide",
"tags": [
{
"text": "1.0.0",
"name": "since"
}
],
"docs": "Whether to auto hide the splash after showDuration",
"complexTypes": [],
"type": "boolean | undefined"
},
{
"name": "fadeInDuration",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "200",
"name": "default"
}
],
"docs": "How long (in ms) to fade in.",
"complexTypes": [],
"type": "number | undefined"
},
{
"name": "fadeOutDuration",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "200",
"name": "default"
}
],
"docs": "How long (in ms) to fade out.",
"complexTypes": [],
"type": "number | undefined"
},
{
"name": "showDuration",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "3000",
"name": "default"
}
],
"docs": "How long to show the splash screen when autoHide is enabled (in ms)",
"complexTypes": [],
"type": "number | undefined"
}
]
},
{
"name": "HideOptions",
"slug": "hideoptions",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "fadeOutDuration",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "200",
"name": "default"
}
],
"docs": "How long (in ms) to fade out.\n\nOn Android, if using the Android 12 Splash Screen API, it's not being used.\nUse launchFadeOutDuration configuration option instead.",
"complexTypes": [],
"type": "number | undefined"
}
]
}
],
"enums": [],
"typeAliases": [],
"pluginConfigs": [
{
"name": "SplashScreen",
"slug": "splashscreen",
"properties": [
{
"name": "launchShowDuration",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "500",
"name": "default"
},
{
"text": "3000",
"name": "example"
}
],
"docs": "How long to show the launch splash screen when autoHide is enabled (in ms)",
"complexTypes": [],
"type": "number | undefined"
},
{
"name": "launchAutoHide",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "true",
"name": "default"
},
{
"text": "true",
"name": "example"
}
],
"docs": "Whether to auto hide the splash after launchShowDuration.",
"complexTypes": [],
"type": "boolean | undefined"
},
{
"name": "launchFadeOutDuration",
"tags": [
{
"text": "4.2.0",
"name": "since"
},
{
"text": "200",
"name": "default"
},
{
"text": "3000",
"name": "example"
}
],
"docs": "Duration for the fade out animation of the launch splash screen (in ms)\n\nOnly available for Android, when using the Android 12 Splash Screen API.",
"complexTypes": [],
"type": "number | undefined"
},
{
"name": "backgroundColor",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "\"#ffffffff\"",
"name": "example"
}
],
"docs": "Color of the background of the Splash Screen in hex format, #RRGGBB or #RRGGBBAA.\nDoesn't work if `useDialog` is true or on launch when using the Android 12 API.",
"complexTypes": [],
"type": "string | undefined"
},
{
"name": "androidSplashResourceName",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "splash",
"name": "default"
},
{
"text": "\"splash\"",
"name": "example"
}
],
"docs": "Name of the resource to be used as Splash Screen.\n\nDoesn't work on launch when using the Android 12 API.\n\nOnly available on Android.",
"complexTypes": [],
"type": "string | undefined"
},
{
"name": "androidScaleType",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "FIT_XY",
"name": "default"
},
{
"text": "\"CENTER_CROP\"",
"name": "example"
}
],
"docs": "The [ImageView.ScaleType](https://developer.android.com/reference/android/widget/ImageView.ScaleType) used to scale\nthe Splash Screen image.\nDoesn't work if `useDialog` is true or on launch when using the Android 12 API.\n\nOnly available on Android.",
"complexTypes": [],
"type": "'CENTER' | 'CENTER_CROP' | 'CENTER_INSIDE' | 'FIT_CENTER' | 'FIT_END' | 'FIT_START' | 'FIT_XY' | 'MATRIX' | undefined"
},
{
"name": "showSpinner",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "true",
"name": "example"
}
],
"docs": "Show a loading spinner on the Splash Screen.\nDoesn't work if `useDialog` is true or on launch when using the Android 12 API.",
"complexTypes": [],
"type": "boolean | undefined"
},
{
"name": "androidSpinnerStyle",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "large",
"name": "default"
},
{
"text": "\"large\"",
"name": "example"
}
],
"docs": "Style of the Android spinner.\nDoesn't work if `useDialog` is true or on launch when using the Android 12 API.",
"complexTypes": [],
"type": "'horizontal' | 'small' | 'large' | 'inverse' | 'smallInverse' | 'largeInverse' | undefined"
},
{
"name": "iosSpinnerStyle",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "large",
"name": "default"
},
{
"text": "\"small\"",
"name": "example"
}
],
"docs": "Style of the iOS spinner.\nDoesn't work if `useDialog` is true.\n\nOnly available on iOS.",
"complexTypes": [],
"type": "'small' | 'large' | undefined"
},
{
"name": "spinnerColor",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "\"#999999\"",
"name": "example"
}
],
"docs": "Color of the spinner in hex format, #RRGGBB or #RRGGBBAA.\nDoesn't work if `useDialog` is true or on launch when using the Android 12 API.",
"complexTypes": [],
"type": "string | undefined"
},
{
"name": "splashFullScreen",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "true",
"name": "example"
}
],
"docs": "Hide the status bar on the Splash Screen.\n\nDoesn't work on launch when using the Android 12 API.\n\nOnly available on Android.",
"complexTypes": [],
"type": "boolean | undefined"
},
{
"name": "splashImmersive",
"tags": [
{
"text": "1.0.0",
"name": "since"
},
{
"text": "true",
"name": "example"
}
],
"docs": "Hide the status bar and the software navigation buttons on the Splash Screen.\n\nDoesn't work on launch when using the Android 12 API.\n\nOnly available on Android.",
"complexTypes": [],
"type": "boolean | undefined"
},
{
"name": "layoutName",
"tags": [
{
"text": "1.1.0",
"name": "since"
},
{
"text": "\"launch_screen\"",
"name": "example"
}
],
"docs": "If `useDialog` is set to true, configure the Dialog layout.\nIf `useDialog` is not set or false, use a layout instead of the ImageView.\n\nDoesn't work on launch when using the Android 12 API.\n\nOnly available on Android.",
"complexTypes": [],
"type": "string | undefined"
},
{
"name": "useDialog",
"tags": [
{
"text": "1.1.0",
"name": "since"
},
{
"text": "true",
"name": "example"
}
],
"docs": "Use a Dialog instead of an ImageView.\nIf `layoutName` is not configured, it will use\na layout that uses the splash image as background.\n\nDoesn't work on launch when using the Android 12 API.\n\nOnly available on Android.",
"complexTypes": [],
"type": "boolean | undefined"
}
],
"docs": "These config values are available:"
}
]
}

View File

@@ -0,0 +1,205 @@
declare module '@capacitor/cli' {
interface PluginsConfig {
/**
* These config values are available:
*/
SplashScreen?: {
/**
* How long to show the launch splash screen when autoHide is enabled (in ms)
*
* @since 1.0.0
* @default 500
* @example 3000
*/
launchShowDuration?: number;
/**
* Whether to auto hide the splash after launchShowDuration.
*
* @since 1.0.0
* @default true
* @example true
*/
launchAutoHide?: boolean;
/**
* Duration for the fade out animation of the launch splash screen (in ms)
*
* Only available for Android, when using the Android 12 Splash Screen API.
*
* @since 4.2.0
* @default 200
* @example 3000
*/
launchFadeOutDuration?: number;
/**
* Color of the background of the Splash Screen in hex format, #RRGGBB or #RRGGBBAA.
* Doesn't work if `useDialog` is true or on launch when using the Android 12 API.
*
* @since 1.0.0
* @example "#ffffffff"
*/
backgroundColor?: string;
/**
* Name of the resource to be used as Splash Screen.
*
* Doesn't work on launch when using the Android 12 API.
*
* Only available on Android.
*
* @since 1.0.0
* @default splash
* @example "splash"
*/
androidSplashResourceName?: string;
/**
* The [ImageView.ScaleType](https://developer.android.com/reference/android/widget/ImageView.ScaleType) used to scale
* the Splash Screen image.
* Doesn't work if `useDialog` is true or on launch when using the Android 12 API.
*
* Only available on Android.
*
* @since 1.0.0
* @default FIT_XY
* @example "CENTER_CROP"
*/
androidScaleType?: 'CENTER' | 'CENTER_CROP' | 'CENTER_INSIDE' | 'FIT_CENTER' | 'FIT_END' | 'FIT_START' | 'FIT_XY' | 'MATRIX';
/**
* Show a loading spinner on the Splash Screen.
* Doesn't work if `useDialog` is true or on launch when using the Android 12 API.
*
* @since 1.0.0
* @example true
*/
showSpinner?: boolean;
/**
* Style of the Android spinner.
* Doesn't work if `useDialog` is true or on launch when using the Android 12 API.
*
* @since 1.0.0
* @default large
* @example "large"
*/
androidSpinnerStyle?: 'horizontal' | 'small' | 'large' | 'inverse' | 'smallInverse' | 'largeInverse';
/**
* Style of the iOS spinner.
* Doesn't work if `useDialog` is true.
*
* Only available on iOS.
*
* @since 1.0.0
* @default large
* @example "small"
*/
iosSpinnerStyle?: 'large' | 'small';
/**
* Color of the spinner in hex format, #RRGGBB or #RRGGBBAA.
* Doesn't work if `useDialog` is true or on launch when using the Android 12 API.
*
* @since 1.0.0
* @example "#999999"
*/
spinnerColor?: string;
/**
* Hide the status bar on the Splash Screen.
*
* Doesn't work on launch when using the Android 12 API.
*
* Only available on Android.
*
* @since 1.0.0
* @example true
*/
splashFullScreen?: boolean;
/**
* Hide the status bar and the software navigation buttons on the Splash Screen.
*
* Doesn't work on launch when using the Android 12 API.
*
* Only available on Android.
*
* @since 1.0.0
* @example true
*/
splashImmersive?: boolean;
/**
* If `useDialog` is set to true, configure the Dialog layout.
* If `useDialog` is not set or false, use a layout instead of the ImageView.
*
* Doesn't work on launch when using the Android 12 API.
*
* Only available on Android.
*
* @since 1.1.0
* @example "launch_screen"
*/
layoutName?: string;
/**
* Use a Dialog instead of an ImageView.
* If `layoutName` is not configured, it will use
* a layout that uses the splash image as background.
*
* Doesn't work on launch when using the Android 12 API.
*
* Only available on Android.
*
* @since 1.1.0
* @example true
*/
useDialog?: boolean;
};
}
}
export interface ShowOptions {
/**
* Whether to auto hide the splash after showDuration
*
* @since 1.0.0
*/
autoHide?: boolean;
/**
* How long (in ms) to fade in.
*
* @since 1.0.0
* @default 200
*/
fadeInDuration?: number;
/**
* How long (in ms) to fade out.
*
* @since 1.0.0
* @default 200
*/
fadeOutDuration?: number;
/**
* How long to show the splash screen when autoHide is enabled (in ms)
*
* @since 1.0.0
* @default 3000
*/
showDuration?: number;
}
export interface HideOptions {
/**
* How long (in ms) to fade out.
*
* On Android, if using the Android 12 Splash Screen API, it's not being used.
* Use launchFadeOutDuration configuration option instead.
*
* @since 1.0.0
* @default 200
*/
fadeOutDuration?: number;
}
export interface SplashScreenPlugin {
/**
* Show the splash screen
*
* @since 1.0.0
*/
show(options?: ShowOptions): Promise<void>;
/**
* Hide the splash screen
*
* @since 1.0.0
*/
hide(options?: HideOptions): Promise<void>;
}

View File

@@ -0,0 +1,3 @@
/// <reference types="@capacitor/cli" />
export {};
//# sourceMappingURL=definitions.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
import type { SplashScreenPlugin } from './definitions';
declare const SplashScreen: SplashScreenPlugin;
export * from './definitions';
export { SplashScreen };

View File

@@ -0,0 +1,7 @@
import { registerPlugin } from '@capacitor/core';
const SplashScreen = registerPlugin('SplashScreen', {
web: () => import('./web').then(m => new m.SplashScreenWeb()),
});
export * from './definitions';
export { SplashScreen };
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,YAAY,GAAG,cAAc,CAAqB,cAAc,EAAE;IACtE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;CAC9D,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { SplashScreenPlugin } from './definitions';\n\nconst SplashScreen = registerPlugin<SplashScreenPlugin>('SplashScreen', {\n web: () => import('./web').then(m => new m.SplashScreenWeb()),\n});\n\nexport * from './definitions';\nexport { SplashScreen };\n"]}

View File

@@ -0,0 +1,6 @@
import { WebPlugin } from '@capacitor/core';
import type { HideOptions, ShowOptions, SplashScreenPlugin } from './definitions';
export declare class SplashScreenWeb extends WebPlugin implements SplashScreenPlugin {
show(_options?: ShowOptions): Promise<void>;
hide(_options?: HideOptions): Promise<void>;
}

10
node_modules/@capacitor/splash-screen/dist/esm/web.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
import { WebPlugin } from '@capacitor/core';
export class SplashScreenWeb extends WebPlugin {
async show(_options) {
return undefined;
}
async hide(_options) {
return undefined;
}
}
//# sourceMappingURL=web.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAQ5C,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAC5C,KAAK,CAAC,IAAI,CAAC,QAAsB;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,QAAsB;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n HideOptions,\n ShowOptions,\n SplashScreenPlugin,\n} from './definitions';\n\nexport class SplashScreenWeb extends WebPlugin implements SplashScreenPlugin {\n async show(_options?: ShowOptions): Promise<void> {\n return undefined;\n }\n\n async hide(_options?: HideOptions): Promise<void> {\n return undefined;\n }\n}\n"]}

View File

@@ -0,0 +1,24 @@
'use strict';
var core = require('@capacitor/core');
const SplashScreen = core.registerPlugin('SplashScreen', {
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.SplashScreenWeb()),
});
class SplashScreenWeb extends core.WebPlugin {
async show(_options) {
return undefined;
}
async hide(_options) {
return undefined;
}
}
var web = /*#__PURE__*/Object.freeze({
__proto__: null,
SplashScreenWeb: SplashScreenWeb
});
exports.SplashScreen = SplashScreen;
//# sourceMappingURL=plugin.cjs.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst SplashScreen = registerPlugin('SplashScreen', {\n web: () => import('./web').then(m => new m.SplashScreenWeb()),\n});\nexport * from './definitions';\nexport { SplashScreen };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class SplashScreenWeb extends WebPlugin {\n async show(_options) {\n return undefined;\n }\n async hide(_options) {\n return undefined;\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,YAAY,GAAGA,mBAAc,CAAC,cAAc,EAAE;AACpD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjE,CAAC;;ACFM,MAAM,eAAe,SAASC,cAAS,CAAC;AAC/C,IAAI,MAAM,IAAI,CAAC,QAAQ,EAAE;AACzB,QAAQ,OAAO,SAAS;AACxB,IAAI;AACJ,IAAI,MAAM,IAAI,CAAC,QAAQ,EAAE;AACzB,QAAQ,OAAO,SAAS;AACxB,IAAI;AACJ;;;;;;;;;"}

27
node_modules/@capacitor/splash-screen/dist/plugin.js generated vendored Normal file
View File

@@ -0,0 +1,27 @@
var capacitorSplashScreen = (function (exports, core) {
'use strict';
const SplashScreen = core.registerPlugin('SplashScreen', {
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.SplashScreenWeb()),
});
class SplashScreenWeb extends core.WebPlugin {
async show(_options) {
return undefined;
}
async hide(_options) {
return undefined;
}
}
var web = /*#__PURE__*/Object.freeze({
__proto__: null,
SplashScreenWeb: SplashScreenWeb
});
exports.SplashScreen = SplashScreen;
return exports;
})({}, capacitorExports);
//# sourceMappingURL=plugin.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst SplashScreen = registerPlugin('SplashScreen', {\n web: () => import('./web').then(m => new m.SplashScreenWeb()),\n});\nexport * from './definitions';\nexport { SplashScreen };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class SplashScreenWeb extends WebPlugin {\n async show(_options) {\n return undefined;\n }\n async hide(_options) {\n return undefined;\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,YAAY,GAAGA,mBAAc,CAAC,cAAc,EAAE;IACpD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;IACjE,CAAC;;ICFM,MAAM,eAAe,SAASC,cAAS,CAAC;IAC/C,IAAI,MAAM,IAAI,CAAC,QAAQ,EAAE;IACzB,QAAQ,OAAO,SAAS;IACxB,IAAI;IACJ,IAAI,MAAM,IAAI,CAAC,QAAQ,EAAE;IACzB,QAAQ,OAAO,SAAS;IACxB,IAAI;IACJ;;;;;;;;;;;;;;;"}