初始化fy
This commit is contained in:
20
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/LICENSE
generated
vendored
Normal file
20
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2021 kazuya kawaguchi
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
13
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/README.md
generated
vendored
Normal file
13
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/README.md
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# @intlify/devtools-if
|
||||
|
||||
The [`@intlify/devtools`](https://github.com/intlify/devtools) interface(I/F:if) for intlify projects
|
||||
|
||||
## :warning: NOTE:
|
||||
|
||||
This is experimental.
|
||||
|
||||
Don’t use in production yet.
|
||||
|
||||
## :copyright: License
|
||||
|
||||
[MIT](http://opensource.org/licenses/MIT)
|
||||
15
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/dist/devtools-if.cjs.js
generated
vendored
Normal file
15
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/dist/devtools-if.cjs.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* @intlify/devtools-if v9.1.9
|
||||
* (c) 2021 kazuya kawaguchi
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
const IntlifyDevToolsHooks = {
|
||||
I18nInit: 'i18n:init',
|
||||
FunctionTranslate: 'function:translate'
|
||||
};
|
||||
|
||||
exports.IntlifyDevToolsHooks = IntlifyDevToolsHooks;
|
||||
15
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/dist/devtools-if.cjs.prod.js
generated
vendored
Normal file
15
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/dist/devtools-if.cjs.prod.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* @intlify/devtools-if v9.1.9
|
||||
* (c) 2021 kazuya kawaguchi
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
const IntlifyDevToolsHooks = {
|
||||
I18nInit: 'i18n:init',
|
||||
FunctionTranslate: 'function:translate'
|
||||
};
|
||||
|
||||
exports.IntlifyDevToolsHooks = IntlifyDevToolsHooks;
|
||||
43
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/dist/devtools-if.d.ts
generated
vendored
Normal file
43
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/dist/devtools-if.d.ts
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
import type { Emittable } from '@intlify/shared';
|
||||
|
||||
export declare type AdditionalPayloads = {
|
||||
meta?: Record<string, unknown>;
|
||||
};
|
||||
|
||||
export declare type IntlifyDevToolsEmitter = Emittable<IntlifyDevToolsEmitterHooks>;
|
||||
|
||||
export declare type IntlifyDevToolsEmitterHooks = {
|
||||
[IntlifyDevToolsHooks.I18nInit]: IntlifyDevToolsHookPayloads[typeof IntlifyDevToolsHooks.I18nInit];
|
||||
[IntlifyDevToolsHooks.FunctionTranslate]: IntlifyDevToolsHookPayloads[typeof IntlifyDevToolsHooks.FunctionTranslate];
|
||||
};
|
||||
|
||||
export declare type IntlifyDevToolsHookPayloads = {
|
||||
[IntlifyDevToolsHooks.I18nInit]: {
|
||||
timestamp: number;
|
||||
i18n: unknown;
|
||||
version: string;
|
||||
} & AdditionalPayloads;
|
||||
[IntlifyDevToolsHooks.FunctionTranslate]: {
|
||||
timestamp: number;
|
||||
message: string | number;
|
||||
key: string;
|
||||
locale: string;
|
||||
format?: string;
|
||||
} & AdditionalPayloads;
|
||||
};
|
||||
|
||||
export declare const IntlifyDevToolsHooks: {
|
||||
readonly I18nInit: "i18n:init";
|
||||
readonly FunctionTranslate: "function:translate";
|
||||
};
|
||||
|
||||
export declare type IntlifyDevToolsHooks = typeof IntlifyDevToolsHooks[keyof typeof IntlifyDevToolsHooks];
|
||||
|
||||
export declare interface IntlifyRecord {
|
||||
id: number;
|
||||
i18n: unknown;
|
||||
version: string;
|
||||
types: Record<string, string | Symbol>;
|
||||
}
|
||||
|
||||
export { }
|
||||
11
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/dist/devtools-if.esm-bundler.js
generated
vendored
Normal file
11
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/dist/devtools-if.esm-bundler.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* @intlify/devtools-if v9.1.9
|
||||
* (c) 2021 kazuya kawaguchi
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
const IntlifyDevToolsHooks = {
|
||||
I18nInit: 'i18n:init',
|
||||
FunctionTranslate: 'function:translate'
|
||||
};
|
||||
|
||||
export { IntlifyDevToolsHooks };
|
||||
7
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/index.js
generated
vendored
Normal file
7
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/index.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
'use strict'
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./dist/devtools-if.cjs.prod.js')
|
||||
} else {
|
||||
module.exports = require('./dist/devtools-if.cjs.js')
|
||||
}
|
||||
49
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/package.json
generated
vendored
Normal file
49
uni_modules/UniDevTools/node_modules/@intlify/devtools-if/package.json
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"name": "@intlify/devtools-if",
|
||||
"version": "9.1.9",
|
||||
"description": "@intlify/devtools-if",
|
||||
"keywords": [
|
||||
"devtools",
|
||||
"i18n",
|
||||
"internationalization",
|
||||
"intlify"
|
||||
],
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
"name": "kazuya kawaguchi",
|
||||
"email": "kawakazu80@gmail.com"
|
||||
},
|
||||
"homepage": "https://github.com/intlify/vue-i18n-next/tree/master/packages/devtools-if#readme",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/intlify/vue-i18n-next.git",
|
||||
"directory": "packages/devtools-if"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/intlify/vue-i18n-next/issues"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"dist"
|
||||
],
|
||||
"main": "index.js",
|
||||
"module": "dist/devtools-if.esm-bundler.js",
|
||||
"types": "dist/devtools-if.d.ts",
|
||||
"dependencies": {
|
||||
"@intlify/shared": "9.1.9"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
},
|
||||
"buildOptions": {
|
||||
"name": "IntlifyDevToolsIf",
|
||||
"formats": [
|
||||
"esm-bundler",
|
||||
"cjs"
|
||||
]
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"sideEffects": false
|
||||
}
|
||||
Reference in New Issue
Block a user