初始化

This commit is contained in:
yziiy
2025-08-11 11:06:07 +08:00
parent 083bc37c00
commit 5607d11395
19772 changed files with 3108723 additions and 18 deletions

View 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.

View File

@@ -0,0 +1,7 @@
# @intlify/vue-devtools
The Vue DevTools I/F package for intlify project
## :copyright: License
[MIT](http://opensource.org/licenses/MIT)

View File

@@ -0,0 +1,24 @@
/*!
* @intlify/vue-devtools v9.1.9
* (c) 2021 kazuya kawaguchi
* Released under the MIT License.
*/
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const VueDevToolsLabels = {
["vue-devtools-plugin-vue-i18n" /* PLUGIN */]: 'Vue I18n devtools',
["vue-i18n-resource-inspector" /* CUSTOM_INSPECTOR */]: 'I18n Resources',
["vue-i18n-timeline" /* TIMELINE */]: 'Vue I18n'
};
const VueDevToolsPlaceholders = {
["vue-i18n-resource-inspector" /* CUSTOM_INSPECTOR */]: 'Search for scopes ...'
};
const VueDevToolsTimelineColors = {
["vue-i18n-timeline" /* TIMELINE */]: 0xffcd19
};
exports.VueDevToolsLabels = VueDevToolsLabels;
exports.VueDevToolsPlaceholders = VueDevToolsPlaceholders;
exports.VueDevToolsTimelineColors = VueDevToolsTimelineColors;

View File

@@ -0,0 +1,24 @@
/*!
* @intlify/vue-devtools v9.1.9
* (c) 2021 kazuya kawaguchi
* Released under the MIT License.
*/
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const VueDevToolsLabels = {
["vue-devtools-plugin-vue-i18n" /* PLUGIN */]: 'Vue I18n devtools',
["vue-i18n-resource-inspector" /* CUSTOM_INSPECTOR */]: 'I18n Resources',
["vue-i18n-timeline" /* TIMELINE */]: 'Vue I18n'
};
const VueDevToolsPlaceholders = {
["vue-i18n-resource-inspector" /* CUSTOM_INSPECTOR */]: 'Search for scopes ...'
};
const VueDevToolsTimelineColors = {
["vue-i18n-timeline" /* TIMELINE */]: 0xffcd19
};
exports.VueDevToolsLabels = VueDevToolsLabels;
exports.VueDevToolsPlaceholders = VueDevToolsPlaceholders;
exports.VueDevToolsTimelineColors = VueDevToolsTimelineColors;

View File

@@ -0,0 +1,81 @@
import type { CoreMissingType } from '@intlify/runtime';
import type { Emittable } from '@intlify/shared';
import type { Locale } from '@intlify/runtime';
import type { Path } from '@intlify/message-resolver';
import type { PathValue } from '@intlify/message-resolver';
export declare type VueDevToolsEmitter = Emittable<VueDevToolsEmitterEvents>;
export declare type VueDevToolsEmitterEvents = {
[VueDevToolsTimelineEvents.COMPILE_ERROR]: VueDevToolsTimelineEventPayloads[VueDevToolsTimelineEvents.COMPILE_ERROR];
[VueDevToolsTimelineEvents.MISSING]: VueDevToolsTimelineEventPayloads[VueDevToolsTimelineEvents.MISSING];
[VueDevToolsTimelineEvents.FALBACK]: VueDevToolsTimelineEventPayloads[VueDevToolsTimelineEvents.FALBACK];
[VueDevToolsTimelineEvents.MESSAGE_RESOLVE]: VueDevToolsTimelineEventPayloads[VueDevToolsTimelineEvents.MESSAGE_RESOLVE];
[VueDevToolsTimelineEvents.MESSAGE_COMPILATION]: VueDevToolsTimelineEventPayloads[VueDevToolsTimelineEvents.MESSAGE_COMPILATION];
[VueDevToolsTimelineEvents.MESSAGE_EVALUATION]: VueDevToolsTimelineEventPayloads[VueDevToolsTimelineEvents.MESSAGE_EVALUATION];
};
export declare const enum VueDevToolsIDs {
PLUGIN = "vue-devtools-plugin-vue-i18n",
CUSTOM_INSPECTOR = "vue-i18n-resource-inspector",
TIMELINE = "vue-i18n-timeline"
}
export declare const VueDevToolsLabels: Record<string, string>;
export declare const VueDevToolsPlaceholders: Record<string, string>;
export declare const VueDevToolsTimelineColors: Record<string, number>;
export declare type VueDevToolsTimelineEventPayloads = {
[VueDevToolsTimelineEvents.COMPILE_ERROR]: {
message: PathValue;
error: string;
start?: number;
end?: number;
groupId?: string;
};
[VueDevToolsTimelineEvents.MISSING]: {
locale: Locale;
key: Path;
type: CoreMissingType;
groupId?: string;
};
[VueDevToolsTimelineEvents.FALBACK]: {
key: Path;
type: CoreMissingType;
from?: Locale;
to: Locale | 'global';
groupId?: string;
};
[VueDevToolsTimelineEvents.MESSAGE_RESOLVE]: {
type: VueDevToolsTimelineEvents.MESSAGE_RESOLVE;
key: Path;
message: PathValue;
time: number;
groupId?: string;
};
[VueDevToolsTimelineEvents.MESSAGE_COMPILATION]: {
type: VueDevToolsTimelineEvents.MESSAGE_COMPILATION;
message: PathValue;
time: number;
groupId?: string;
};
[VueDevToolsTimelineEvents.MESSAGE_EVALUATION]: {
type: VueDevToolsTimelineEvents.MESSAGE_EVALUATION;
value: unknown;
time: number;
groupId?: string;
};
};
export declare const enum VueDevToolsTimelineEvents {
COMPILE_ERROR = "compile-error",
MISSING = "missing",
FALBACK = "fallback",
MESSAGE_RESOLVE = "message-resolve",
MESSAGE_COMPILATION = "message-compilation",
MESSAGE_EVALUATION = "message-evaluation"
}
export { }

View File

@@ -0,0 +1,18 @@
/*!
* @intlify/vue-devtools v9.1.9
* (c) 2021 kazuya kawaguchi
* Released under the MIT License.
*/
const VueDevToolsLabels = {
["vue-devtools-plugin-vue-i18n" /* PLUGIN */]: 'Vue I18n devtools',
["vue-i18n-resource-inspector" /* CUSTOM_INSPECTOR */]: 'I18n Resources',
["vue-i18n-timeline" /* TIMELINE */]: 'Vue I18n'
};
const VueDevToolsPlaceholders = {
["vue-i18n-resource-inspector" /* CUSTOM_INSPECTOR */]: 'Search for scopes ...'
};
const VueDevToolsTimelineColors = {
["vue-i18n-timeline" /* TIMELINE */]: 0xffcd19
};
export { VueDevToolsLabels, VueDevToolsPlaceholders, VueDevToolsTimelineColors };

View File

@@ -0,0 +1,7 @@
'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./dist/vue-devtools.cjs.prod.js')
} else {
module.exports = require('./dist/vue-devtools.cjs.js')
}

View File

@@ -0,0 +1,51 @@
{
"name": "@intlify/vue-devtools",
"version": "9.1.9",
"description": "@intlify/vue-devtools",
"keywords": [
"i18n",
"internationalization",
"intlify",
"vue-devtools"
],
"license": "MIT",
"author": {
"name": "kazuya kawaguchi",
"email": "kawakazu80@gmail.com"
},
"homepage": "https://github.com/intlify/vue-i18n-next/tree/master/packages/vue-devtools#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/intlify/vue-i18n-next.git",
"directory": "packages/vue-devtools"
},
"bugs": {
"url": "https://github.com/intlify/vue-i18n-next/issues"
},
"files": [
"index.js",
"dist"
],
"main": "index.js",
"module": "dist/vue-devtools.esm-bundler.js",
"types": "dist/vue-devtools.d.ts",
"dependencies": {
"@intlify/message-resolver": "9.1.9",
"@intlify/runtime": "9.1.9",
"@intlify/shared": "9.1.9"
},
"engines": {
"node": ">= 10"
},
"buildOptions": {
"name": "IntlifyVueDevtools",
"formats": [
"esm-bundler",
"cjs"
]
},
"publishConfig": {
"access": "public"
},
"sideEffects": false
}