Socket
Socket
Sign inDemoInstall

@opentiny/vue-locale

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-locale - npm Package Compare versions

Comparing version 3.9.0 to 3.10.0

src/vue2.7/index.d.ts

54

lib/index.js

@@ -66,2 +66,4 @@ function _extends() {

confirm: "确定",
delete: "删除",
edit: "编辑",
more: "更多",

@@ -218,4 +220,4 @@ reset: "重置"

token: "请先进行 EDM 鉴权,获取 token",
exceed: "文件超过最大限制",
largeFile: "文件大小超出限制 2G !",
exceed: "文件上传失败:大小超过限制({maxSize}MB)",
largeFile: "文件大小超出限制 2G !!!",
fileSize: "{name}大小不能小于 ",

@@ -237,4 +239,6 @@ deleteTip: "按 delete 键可删除",

fileNotMoreThan: "文件不能超过",
notSupport: "不支持上传该格式的文件,请重新上传",
attachment: "附件"
notSupport: "文件上传失败:不支持该格式(.{format})",
attachment: "附件",
uploadList: "上传列表",
numberExceed: "文件上传失败:批量上传个数超过限制({number})"
},

@@ -254,3 +258,4 @@ uploadList: {

shoot: "拍摄",
selectFromAlbum: "从相册选择"
selectFromAlbum: "从相册选择",
uploadFailedAndReupload: "上传失败,点击重新上传"
},

@@ -296,2 +301,6 @@ upload: {

allFilter: "全部",
allSelect: "(全选)",
endDate: "结束日期",
startDate: "开始日期",
dateTips: "请至少输入一个日期",
clear: "清除当前列筛选",

@@ -479,3 +488,7 @@ clearAll: "清除所有列筛选",

emptyText: "暂无数据",
switchText: "同时勾选下级"
switchText: "同时勾选下级",
deleteTip: "删除后数据不可恢复,确定删除吗?",
preserveSubnodeTip: "该节点存在下级节点,是否保留下级节点数据?",
preserveSubnodeData: "保留下级节点数据",
newNodeTitle: "新增下级"
},

@@ -753,2 +766,4 @@ usercard: {

confirm: "OK",
delete: "Delete",
edit: "Edit",
more: "More",

@@ -905,4 +920,4 @@ reset: "Reset"

token: "Perform EDM authentication first and obtain the token",
exceed: "size exceeds the limit, max size config is",
largeFile: "The file size exceeds the upper limit by 2 GB !!",
exceed: "Failed to upload the file. The file size exceeds the upper limit ({maxSize} MB).",
largeFile: "The file size exceeds the upper limit by 2 GB !!!",
fileSize: "The file size of {name} cannot be less than ",

@@ -924,4 +939,6 @@ deleteTip: "Press delete to remove",

fileNotMoreThan: "The file cannot be more than",
notSupport: "The file in this format cannot be uploaded. Upload the file again.",
attachment: "Attachment"
notSupport: "File upload failed: The format (.{format}) is not supported.",
attachment: "Attachment",
uploadList: "Upload List",
numberExceed: "Failed to upload the file. The number of files to be uploaded in batches exceeds the upper limit ({number})."
},

@@ -941,3 +958,4 @@ uploadList: {

shoot: "Shoot",
selectFromAlbum: "Select from album"
selectFromAlbum: "Select from album",
uploadFailedAndReupload: "Upload failed. Click Upload again"
},

@@ -983,2 +1001,6 @@ upload: {

allFilter: "All",
allSelect: "(All)",
endDate: "End Date",
startDate: "Start Date",
dateTips: "Please enter at least one date",
clear: "Clear Current Filter",

@@ -1166,3 +1188,7 @@ clearAll: "Clear All Filters",

emptyText: "No data",
switchText: "check easily"
switchText: "check easily",
deleteTip: "Data will be permanently deleted, are you sure you want to proceed with the deletion?",
preserveSubnodeTip: "This node have child nodes, Would you like to preserve the data of the child nodes?",
preserveSubnodeData: "To preserve child nodes' data.",
newNodeTitle: "Add Child Nodes"
},

@@ -1457,3 +1483,3 @@ usercard: {

var lang3 = _ref2.lang, i18n3 = _ref2.i18n, messages2 = _ref2.messages;
return extend$1.call(null, true, lang3, i18n3.messages, messages2);
return extend$1(true, lang3, i18n3.messages, messages2);
};

@@ -1641,3 +1667,3 @@ }

}
var version = "3.9.0";
var version = "3.10.0";
var use = vue.use, t = vue.t, i18n = vue.i18n, initI18n = vue.initI18n, extend = vue.extend, zhCN = vue.zhCN, enUS = vue.enUS, language = vue.language;

@@ -1644,0 +1670,0 @@ var globalization = glob(t);

{
"name": "@opentiny/vue-locale",
"version": "3.9.0",
"version": "3.10.0",
"description": "",

@@ -8,6 +8,7 @@ "main": "./lib/index.js",

"sideEffects": false,
"type": "module",
"dependencies": {
"@opentiny/vue-renderless": "~3.9.0",
"@opentiny/vue-theme": "~3.9.0",
"@opentiny/vue-theme-mobile": "~3.9.0"
"@opentiny/vue-renderless": "~3.10.0",
"@opentiny/vue-theme": "~3.10.0",
"@opentiny/vue-theme-mobile": "~3.10.0"
},

@@ -14,0 +15,0 @@ "module": "./lib/index.js",

@@ -0,9 +1,4 @@

import * as vue from './vue3/index';
export { version } from '../package.json';
export declare const use: (l: any) => any, t: (this: any, path: any, options?: any) => any, i18n: (fn: any) => any, initI18n: ({ app, createI18n, messages, i18n, merge }: {
app: any;
createI18n: any;
messages?: {} | undefined;
i18n?: any;
merge: any;
}) => any, extend: any, zhCN: any, enUS: any, language: () => any;
export declare const use: (l: any) => any, t: (this: any, path: any, options?: any) => any, i18n: (fn: any) => any, initI18n: ({ app, createI18n, messages, i18n, merge }: vue.InitI18nOption) => any, extend: any, zhCN: any, enUS: any, language: () => any;
export declare const globalization: (config: any) => {

@@ -62,9 +57,3 @@ getFormatConfig(): {

i18n: (fn: any) => any;
initI18n: ({ app, createI18n, messages, i18n, merge }: {
app: any;
createI18n: any;
messages?: {} | undefined;
i18n?: any;
merge: any;
}) => any;
initI18n: ({ app, createI18n, messages, i18n, merge }: vue.InitI18nOption) => any;
extend: any;

@@ -71,0 +60,0 @@ zhCN: any;

@@ -8,9 +8,12 @@ import zhCN from '../lang/zh-CN';

export declare const extend: any;
export declare const initI18n: ({ app, createI18n, messages, i18n, merge }: {
app: any;
createI18n: any;
messages?: {} | undefined;
i18n?: any;
merge: any;
}) => any;
export interface InitI18nOption {
app?: any;
createI18n?: Function;
messages?: Record<string, any>;
i18n?: {
locale: string;
};
merge?: Function;
}
export declare const initI18n: ({ app, createI18n, messages, i18n, merge }: InitI18nOption) => any;
export declare const isVue2 = true;

@@ -25,9 +28,3 @@ export declare const isVue3 = false;

i18n: (fn: any) => any;
initI18n: ({ app, createI18n, messages, i18n, merge }: {
app: any;
createI18n: any;
messages?: {} | undefined;
i18n?: any;
merge: any;
}) => any;
initI18n: ({ app, createI18n, messages, i18n, merge }: InitI18nOption) => any;
extend: any;

@@ -34,0 +31,0 @@ zhCN: any;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc