@opentiny/vue-locale
Advanced tools
Comparing version 3.12.0 to 3.13.0-alpha.0
113
lib/index.js
@@ -29,5 +29,11 @@ function _extends() { | ||
ui: { | ||
buttonMessage: { | ||
cancel: "取消", | ||
confirm: "确定" | ||
numeric: { | ||
equalTo: "等于", | ||
notEqualTo: "不等于", | ||
moreThan: "大于", | ||
moreThanOrEqualTo: "大于等于", | ||
lessThan: "小于", | ||
lessThanOrEqualTo: "小于等于", | ||
empty: "为空", | ||
nonEmpty: "不为空" | ||
}, | ||
@@ -60,3 +66,11 @@ wizard: { | ||
amount: "金额", | ||
date: "日期" | ||
date: "日期", | ||
equalTo: "等于", | ||
notEqualTo: "不等于", | ||
moreThan: "大于", | ||
moreThanOrEqualTo: "大于等于", | ||
lessThan: "小于", | ||
lessThanOrEqualTo: "小于等于", | ||
empty: "为空", | ||
nonEmpty: "不为空" | ||
}, | ||
@@ -74,2 +88,3 @@ actionMenu: { | ||
reset: "重置", | ||
clear: "清空", | ||
comma: "," | ||
@@ -79,4 +94,8 @@ }, | ||
cancel: "取消", | ||
confirm: "确认" | ||
confirm: "确定" | ||
}, | ||
buttonMessage: { | ||
cancel: "取消", | ||
confirm: "确定" | ||
}, | ||
cell: { | ||
@@ -227,3 +246,3 @@ placeholder: "请选择" | ||
detailpage: { | ||
saveButtonText: "确认", | ||
saveButtonText: "确定", | ||
cancelButtonText: "取消", | ||
@@ -275,2 +294,3 @@ localTips: "不能全部隐藏", | ||
reUploadFile: "重新上传", | ||
cancelFile: "取消上传", | ||
deleteFile: "删除文件", | ||
@@ -297,2 +317,3 @@ empty: "是空文件!", | ||
encrypted: "加密", | ||
docPreview: "文档预览", | ||
networkError: "网络出错", | ||
@@ -431,3 +452,3 @@ pictureNetworkError: "网络出错,上传失败", | ||
switchdel: "删除", | ||
switchconfirm: "确认", | ||
switchconfirm: "确定", | ||
switchonlytemp: "保存模板", | ||
@@ -476,4 +497,4 @@ switchtempapply: "保存并使用模板", | ||
prev: "上一页", | ||
total: "总条数", | ||
totals: "总计:", | ||
total: "共", | ||
totals: "总条数:", | ||
jump: "跳至", | ||
@@ -533,3 +554,4 @@ hundredThousand: "10万+", | ||
selectedNum: "已选 {num} 个", | ||
noSearchData: "无相关搜索结果,请重新输入" | ||
noSearchData: "无相关搜索结果,请重新输入", | ||
add: "新增" | ||
}, | ||
@@ -539,2 +561,10 @@ search: { | ||
}, | ||
signature: { | ||
confirm: "确认", | ||
rewrite: "重写", | ||
cancel: "取消", | ||
tips: "请手写签名", | ||
resign: "重新签名", | ||
placeholder: "请在此签名(必填)" | ||
}, | ||
tabs: { | ||
@@ -790,3 +820,3 @@ moreItem: "更多" | ||
min: "%s 必须至少为 %s 个字符", | ||
max: "%s不 能大于 %s 个字符", | ||
max: "%s 不能大于 %s 个字符", | ||
range: "%s 必须介于 %s 和 %s 个字符之间" | ||
@@ -834,5 +864,11 @@ }, | ||
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" | ||
}, | ||
@@ -865,3 +901,11 @@ wizard: { | ||
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" | ||
}, | ||
@@ -876,2 +920,3 @@ base: { | ||
reset: "Reset", | ||
clear: "Clear", | ||
comma: "," | ||
@@ -881,4 +926,8 @@ }, | ||
cancel: "Cancel", | ||
confirm: "OK" | ||
confirm: "Confirm" | ||
}, | ||
buttonMessage: { | ||
cancel: "Cancel", | ||
confirm: "Confirm" | ||
}, | ||
cell: { | ||
@@ -1076,2 +1125,3 @@ placeholder: "Select" | ||
reUploadFile: "refresh upload file", | ||
cancelFile: "Cancel Upload", | ||
deleteFile: "Delete file", | ||
@@ -1098,5 +1148,6 @@ empty: "is empty!", | ||
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!" | ||
}, | ||
@@ -1332,3 +1383,4 @@ uploadList: { | ||
selectedNum: "{num} selected", | ||
noSearchData: "No search results. Please try again" | ||
noSearchData: "No search results. Please try again", | ||
add: "Add" | ||
}, | ||
@@ -1338,2 +1390,10 @@ search: { | ||
}, | ||
signature: { | ||
confirm: "Confirm", | ||
rewrite: "Rewrite", | ||
cancel: "Cancel", | ||
tips: "Please sign by hand", | ||
resign: "Resign", | ||
placeholder: "Please sign here (required)" | ||
}, | ||
tabs: { | ||
@@ -1775,3 +1835,3 @@ moreItem: "more" | ||
var getStrTimezone = function getStrTimezone2(value) { | ||
var localTimeZone = 0 - /* @__PURE__ */ (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60; | ||
var localTimeZone = 0 - (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60; | ||
var match = typeof value === "string" && value.match(TZRE); | ||
@@ -1792,3 +1852,4 @@ if (match) { | ||
DbTimezone: getStrTimezone(config.DbTimezone), | ||
Timezone: getStrTimezone(config.Timezone) | ||
Timezone: getStrTimezone(config.Timezone), | ||
TimezoneOffset: config.TimezoneOffset | ||
}); | ||
@@ -1811,3 +1872,4 @@ var tools = { | ||
DateFormat: opt.DateFormat, | ||
DbTimezone: opt.DbTimezone | ||
DbTimezone: opt.DbTimezone, | ||
TimezoneOffset: opt.TimezoneOffset | ||
}; | ||
@@ -1834,3 +1896,3 @@ }, | ||
if (!convers) { | ||
date = this.getDateWithNewTimezone(date, dbtimezone, opt.Timezone); | ||
date = this.getDateWithNewTimezone(date, dbtimezone, opt.Timezone, opt.TimezoneOffset); | ||
} | ||
@@ -1864,6 +1926,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); | ||
} | ||
@@ -1874,3 +1937,3 @@ }; | ||
} | ||
var version = "3.12.0"; | ||
var version = "3.13.0-alpha.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; | ||
@@ -1877,0 +1940,0 @@ var globalization = glob(t); |
{ | ||
"name": "@opentiny/vue-locale", | ||
"version": "3.12.0", | ||
"version": "3.13.0-alpha.0", | ||
"description": "", | ||
@@ -10,5 +10,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.12.0", | ||
"@opentiny/vue-theme": "~3.12.0", | ||
"@opentiny/vue-theme-mobile": "~3.12.0" | ||
"@opentiny/vue-renderless": "~3.13.0-alpha.0", | ||
"@opentiny/vue-theme": "~3.13.0-alpha.0", | ||
"@opentiny/vue-theme-mobile": "~3.13.0-alpha.0" | ||
}, | ||
@@ -15,0 +15,0 @@ "module": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
0
100
59612
3
1931
2
+ Added@opentiny/vue-renderless@3.13.2(transitive)
+ Added@opentiny/vue-theme@3.13.3(transitive)
+ Added@opentiny/vue-theme-mobile@3.13.0(transitive)
- Removed@opentiny/vue-renderless@3.12.1(transitive)
- Removed@opentiny/vue-theme@3.12.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.12.0(transitive)