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 2.13.0 to 2.14.0

143

lib/index.js

@@ -30,6 +30,17 @@ function _extends() {

ui: {
buttonMessage: {
cancel: "取消",
confirm: "确定"
numeric: {
equalTo: "等于",
notEqualTo: "不等于",
moreThan: "大于",
moreThanOrEqualTo: "大于等于",
lessThan: "小于",
lessThanOrEqualTo: "小于等于",
empty: "为空",
nonEmpty: "不为空"
},
queryBuilder: {
addItem: "新增条件",
addGroup: "新增子条件组",
removeGroup: "移除条件组"
},
wizard: {

@@ -61,3 +72,11 @@ previousStep: "上一步",

amount: "金额",
date: "日期"
date: "日期",
equalTo: "等于",
notEqualTo: "不等于",
moreThan: "大于",
moreThanOrEqualTo: "大于等于",
lessThan: "小于",
lessThanOrEqualTo: "小于等于",
empty: "为空",
nonEmpty: "不为空"
},

@@ -75,2 +94,3 @@ actionMenu: {

reset: "重置",
clear: "清空",
comma: ","

@@ -80,4 +100,8 @@ },

cancel: "取消",
confirm: "确认"
confirm: "确定"
},
buttonMessage: {
cancel: "取消",
confirm: "确定"
},
cell: {

@@ -228,3 +252,3 @@ placeholder: "请选择"

detailpage: {
saveButtonText: "确认",
saveButtonText: "确定",
cancelButtonText: "取消",

@@ -298,2 +322,3 @@ localTips: "不能全部隐藏",

encrypted: "加密",
docPreview: "文档预览",
networkError: "网络出错",

@@ -356,3 +381,5 @@ pictureNetworkError: "网络出错,上传失败",

renderParamError: "期望配置一个生成 VNode 的渲染方法。",
classComponentError: "类组件渲染出错。"
classComponentError: "类组件渲染出错。",
groupColumnFixedError: "同一个分组内不能设置不同的固定类型。",
missingValueFormat: "渲染器无法格式化日期字符串,需要提供 valueFormat 源日期格式配置。"
},

@@ -433,3 +460,3 @@ filter: {

switchdel: "删除",
switchconfirm: "确认",
switchconfirm: "确定",
switchonlytemp: "保存模板",

@@ -478,4 +505,4 @@ switchtempapply: "保存并使用模板",

prev: "上一页",
total: "总条数",
totals: "总计:",
total: "共",
totals: "总条数:",
jump: "跳至",

@@ -535,3 +562,4 @@ hundredThousand: "10万+",

selectedNum: "已选 {num} 个",
noSearchData: "无相关搜索结果,请重新输入"
noSearchData: "无相关搜索结果,请重新输入",
add: "新增"
},

@@ -541,2 +569,10 @@ search: {

},
signature: {
confirm: "确认",
rewrite: "重写",
cancel: "取消",
tips: "请手写签名",
resign: "重新签名",
placeholder: "请在此签名(必填)"
},
tabs: {

@@ -569,6 +605,6 @@ moreItem: "更多"

addChild: "新增下级",
deleteTip: "删除后数据不可恢复,确定删除吗?",
preserveSubnodeTip: "该节点存在下级节点,是否保留下级节点数据?",
preserveSubnodeData: "保留下级节点数据",
newNodeTitle: "新增下级"
newNodeTitle: "新增下级",
deleteTip1: "删除后数据不可恢复,确定删除吗?",
deleteTip2: "该节点存在下级节点,是否保留下级节点数据?",
deleteTip3: "保留下级节点数据"
},

@@ -793,3 +829,3 @@ usercard: {

min: "%s 必须至少为 %s 个字符",
max: "%s不 能大于 %s 个字符",
max: "%s 不能大于 %s 个字符",
range: "%s 必须介于 %s 和 %s 个字符之间"

@@ -837,6 +873,17 @@ },

ui: {
buttonMessage: {
cancel: "Cancel",
confirm: "Confirm"
numeric: {
equalTo: "Equal to",
notEqualTo: "Not equal to",
moreThan: "More than",
moreThanOrEqualTo: "More than or equal to",
lessThan: "Less than",
lessThanOrEqualTo: "Less than or equal to",
empty: "Empty",
nonEmpty: "Non-empty"
},
queryBuilder: {
addItem: "Add Rule",
addGroup: "Add Rule Group",
removeGroup: "Del Rule Group"
},
wizard: {

@@ -868,3 +915,11 @@ previousStep: "LastStep",

amount: "Amount",
date: "Date"
date: "Date",
equalTo: "Equal to",
notEqualTo: "Not equal to",
moreThan: "More than",
moreThanOrEqualTo: "More than or equal to",
lessThan: "Less than",
lessThanOrEqualTo: "Less than or equal to",
empty: "Empty",
nonEmpty: "Non-empty"
},

@@ -879,2 +934,3 @@ base: {

reset: "Reset",
clear: "Clear",
comma: ","

@@ -884,4 +940,8 @@ },

cancel: "Cancel",
confirm: "OK"
confirm: "Confirm"
},
buttonMessage: {
cancel: "Cancel",
confirm: "Confirm"
},
cell: {

@@ -1101,5 +1161,6 @@ placeholder: "Select"

encrypted: "Encrypted",
docPreview: "Document Preview",
networkError: "Network Error",
pictureNetworkError: "Network error, upload failed",
ReUploadTip: "{number} files failed to upload!"
reUploadTip: "{number} files failed to upload!"
},

@@ -1159,3 +1220,5 @@ uploadList: {

renderParamError: "Expect to configure a rendering method for generating a VNode.",
classComponentError: "Class component rendering error."
classComponentError: "Class component rendering error.",
groupColumnFixedError: "Different fixed types cannot be set in the same group.",
missingValueFormat: 'The renderer cannot format the date string. You should provide the "valueFormat" source date format configuration.'
},

@@ -1336,3 +1399,4 @@ filter: {

selectedNum: "{num} selected",
noSearchData: "No search results. Please try again"
noSearchData: "No search results. Please try again",
add: "Add"
},

@@ -1342,2 +1406,10 @@ search: {

},
signature: {
confirm: "Confirm",
rewrite: "Rewrite",
cancel: "Cancel",
tips: "Please sign by hand",
resign: "Resign",
placeholder: "Please sign here (required)"
},
tabs: {

@@ -1370,6 +1442,6 @@ moreItem: "more"

addChild: "Add Child",
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"
newNodeTitle: "Add Child Nodes",
deleteTip1: "The deleted data cannot be restored. Are you sure you want to delete it?",
deleteTip2: "This node has lower-level nodes. Do you want to retain the lower-level node data?",
deleteTip3: "Retain the lower-level node data"
},

@@ -1803,3 +1875,4 @@ usercard: {

DbTimezone: getStrTimezone(config.DbTimezone),
Timezone: getStrTimezone(config.Timezone)
Timezone: getStrTimezone(config.Timezone),
TimezoneOffset: config.TimezoneOffset
});

@@ -1822,3 +1895,4 @@ var tools = {

DateFormat: opt.DateFormat,
DbTimezone: opt.DbTimezone
DbTimezone: opt.DbTimezone,
TimezoneOffset: opt.TimezoneOffset
};

@@ -1845,3 +1919,3 @@ },

if (!convers) {
date = this.getDateWithNewTimezone(date, dbtimezone, opt.Timezone);
date = this.getDateWithNewTimezone(date, dbtimezone, opt.Timezone, opt.TimezoneOffset);
}

@@ -1875,6 +1949,7 @@ return isDate(date) ? _formatDate(date, format2 || opt.DateFormat, t2) : null;

*/
getDateWithNewTimezone: function getDateWithNewTimezone(value, from, to) {
getDateWithNewTimezone: function getDateWithNewTimezone(value, from, to, timezoneOffset) {
from = from === 0 ? from : from || opt.DbTimezone;
to = to === 0 ? to : to || opt.Timezone;
return _getDateWithNewTimezone(value, from, to);
timezoneOffset = timezoneOffset === 0 ? timezoneOffset : timezoneOffset || opt.TimezoneOffset;
return _getDateWithNewTimezone(value, from, to, timezoneOffset);
}

@@ -1885,3 +1960,3 @@ };

}
var version = "2.13.0";
var version = "2.14.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;

@@ -1888,0 +1963,0 @@ var globalization = glob(t);

{
"name": "@opentiny/vue-locale",
"version": "2.13.0",
"version": "2.14.0",
"description": "",

@@ -10,5 +10,5 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.13.0",
"@opentiny/vue-theme": "~3.13.0",
"@opentiny/vue-theme-mobile": "~3.13.0"
"@opentiny/vue-renderless": "~3.14.0",
"@opentiny/vue-theme": "~3.14.0",
"@opentiny/vue-theme-mobile": "~3.14.0"
},

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

@@ -13,2 +13,3 @@ export declare const getNumberFormat: (config: any) => any;

Timezone: any;
TimezoneOffset: any;
DateFormat: any;

@@ -26,2 +27,3 @@ DateTimeFormat: string;

DbTimezone: any;
TimezoneOffset: any;
};

@@ -56,3 +58,3 @@ /**

*/
getDateWithNewTimezone(value: any, from: any, to: any): Date | undefined;
getDateWithNewTimezone(value: any, from: any, to: any, timezoneOffset: any): Date | undefined;
};

@@ -13,2 +13,3 @@ export { version } from '../package.json';

Timezone: any;
TimezoneOffset: any;
DateFormat: any;

@@ -26,2 +27,3 @@ DateTimeFormat: string;

DbTimezone: any;
TimezoneOffset: any;
};

@@ -31,3 +33,3 @@ formatDate(value: any, format: any): any;

recoverNumber(value: any, format: any): number;
getDateWithNewTimezone(value: any, from: any, to: any): Date | undefined;
getDateWithNewTimezone(value: any, from: any, to: any, timezoneOffset: any): Date | undefined;
};

@@ -41,2 +43,3 @@ declare const _default: {

Timezone: any;
TimezoneOffset: any;
DateFormat: any;

@@ -54,2 +57,3 @@ DateTimeFormat: string;

DbTimezone: any;
TimezoneOffset: any;
};

@@ -59,3 +63,3 @@ formatDate(value: any, format: any): any;

recoverNumber(value: any, format: any): number;
getDateWithNewTimezone(value: any, from: any, to: any): Date | undefined;
getDateWithNewTimezone(value: any, from: any, to: any, timezoneOffset: any): Date | undefined;
};

@@ -62,0 +66,0 @@ isVue2: boolean;

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