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.10.0 to 2.11.0-alpha.0

146

lib/index.js

@@ -15,3 +15,3 @@ function _extends() {

}
import Vue from "vue";
import Vue__default from "vue";
import { extend as extend$2 } from "@opentiny/vue-renderless/common/object";

@@ -95,2 +95,9 @@ import { formatNumber as _formatNumber, recoverNumber as _recoverNumber } from "@opentiny/vue-renderless/common/decimal";

},
colorSelectPanel: {
confirm: "选择",
cancel: "取消",
predefine: "预定义颜色",
history: "历史记录",
empty: "暂无"
},
creditCardForm: {

@@ -159,4 +166,37 @@ submit: "提交"

year: "年",
to: "至"
to: "至",
yearMonth: "{year}年{month}月",
yearMonthDay: "{year}年{month}月{day}日"
},
richTextEditor: {
bold: "加粗",
italic: "斜体",
link: "链接",
unlink: "移除链接",
highlight: "高亮",
underline: "下划线",
strike: "中划线",
subscript: "下标",
superscript: "上标",
code: "代码",
unorderedlist: "无序列表",
orderedlist: "有序列表",
taskList: "任务列表",
quote: "引用",
codeBlock: "代码块",
formatClear: "清楚标记",
nodeDelete: "删除节点",
undo: "回退",
redo: "前进",
left: "左对齐",
center: "居中",
right: "右对齐",
fontSize: "字号",
lineHeight: "行高",
hBox: "段落标题",
img: "图片",
color: "颜色",
table: "表格",
backgroundColor: "文字背景色"
},
calendar: {

@@ -641,2 +681,28 @@ showType: {

},
calendarView: {
week: {
0: "日",
1: "一",
2: "二",
3: "三",
4: "四",
5: "五",
6: "六"
},
weekDays: {
0: "周日",
1: "周一",
2: "周二",
3: "周三",
4: "周四",
5: "周五",
6: "周六"
},
backToday: "回今天",
new: "新增",
noSchedule: "暂无日程",
year: "年",
month: "月",
dateFormat: "yyyy 年 MM 月"
},
selectedBox: {

@@ -792,2 +858,9 @@ select: "已选(%s)",

},
colorSelectPanel: {
confirm: "Ok",
cancel: "Cancel",
predefine: "Predefine Color",
history: "History",
empty: "Empty"
},
creditCardForm: {

@@ -856,4 +929,37 @@ submit: "Submit"

year: "",
to: "to"
to: "to",
yearMonth: "{year} / {month}",
yearMonthDay: "{year} / {month} / {day}"
},
richTextEditor: {
bold: "bold",
italic: "italic",
link: "link",
unlink: "unlink",
highlight: "high light",
underline: "underline",
strike: "strike",
subscript: "subscript",
superscript: "superscript",
code: "code",
unorderedlist: "unorderedlist",
orderedlist: "orderedlist",
taskList: "taskList",
quote: "quote",
codeBlock: "code block",
formatClear: "format clear",
nodeDelete: "node delete",
undo: "undo",
redo: "redo",
left: "left",
center: "center",
right: "right",
fontSize: "font size",
lineHeight: "line height",
hBox: "h box",
img: "img",
color: "color",
table: "table",
backgroundColor: "backgroundColor"
},
calendar: {

@@ -1338,2 +1444,28 @@ showType: {

},
calendarView: {
week: {
0: "SUN",
1: "MON",
2: "TUE",
3: "WED",
4: "THU",
5: "FRI",
6: "SAT"
},
weekDays: {
0: "SUN",
1: "MON",
2: "TUE",
3: "WED",
4: "THU",
5: "FRI",
6: "SAT"
},
backToday: "back to today",
new: "New",
noSchedule: "No Schedule",
year: "year",
month: "month",
dateFormat: "yyyy-MM"
},
selectedBox: {

@@ -1442,3 +1574,3 @@ select: "Selected (%s)",

var i18nHandler = function i18nHandler2(key, value) {
var vuei18n = Object.getPrototypeOf(this || Vue).$t;
var vuei18n = Object.getPrototypeOf(this || Vue__default).$t;
if (typeof vuei18n === "function" && vuei18n !== t$1) {

@@ -1508,4 +1640,4 @@ return vuei18n.apply(this, arguments);

}
if (Vue && typeof Vue.prototype.$t !== "function") {
Vue.prototype.$t = t$1;
if (Vue__default && typeof Vue__default.prototype.$t !== "function") {
Vue__default.prototype.$t = t$1;
}

@@ -1671,3 +1803,3 @@ return merge({

}
var version = "2.10.0";
var version = "2.11.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;

@@ -1674,0 +1806,0 @@ var globalization = glob(t);

8

package.json
{
"name": "@opentiny/vue-locale",
"version": "2.10.0",
"version": "2.11.0-alpha.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-renderless": "~3.10.0",
"@opentiny/vue-theme": "~3.10.0",
"@opentiny/vue-theme-mobile": "~3.10.0"
"@opentiny/vue-renderless": "~3.11.0",
"@opentiny/vue-theme": "~3.11.0",
"@opentiny/vue-theme-mobile": "~3.11.0"
},

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

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

merge: any;
}) => any, extend: any, zhCN: any, enUS: any, language: () => any;
}) => any, extend: (deep: boolean | object, ...values: object[]) => object, zhCN: any, enUS: any, language: () => any;
export declare const globalization: (config: any) => {

@@ -59,3 +59,3 @@ getFormatConfig(): {

isVue3: boolean;
extend: any;
extend: (deep: boolean | object, ...values: object[]) => object;
i18n: (func: any) => (this: any, key: any, value: any) => any;

@@ -62,0 +62,0 @@ initI18n: ({ VueI18n, messages, i18n, merge }: {

@@ -7,3 +7,3 @@ import zhCN from '../lang/zh-CN';

export declare const i18n: (fn: any) => any;
export declare const extend: any;
export declare const extend: (deep: boolean | object, ...values: object[]) => object;
export declare const initI18n: ({ app, createI18n, messages, i18n, merge }: {

@@ -32,3 +32,3 @@ app: any;

}) => any;
extend: any;
extend: (deep: boolean | object, ...values: object[]) => object;
zhCN: any;

@@ -35,0 +35,0 @@ enUS: any;

@@ -7,3 +7,3 @@ import zhCN from '../lang/zh-CN';

export declare const i18n: (func: any) => (this: any, key: any, value: any) => any;
export declare const extend: any;
export declare const extend: (deep: boolean | object, ...values: object[]) => object;
export declare const initI18n: ({ VueI18n, messages, i18n, merge }: {

@@ -21,3 +21,3 @@ VueI18n: any;

isVue3: boolean;
extend: any;
extend: (deep: boolean | object, ...values: object[]) => object;
i18n: (func: any) => (this: any, key: any, value: any) => any;

@@ -24,0 +24,0 @@ initI18n: ({ VueI18n, messages, i18n, merge }: {

@@ -7,3 +7,3 @@ import zhCN from '../lang/zh-CN';

export declare const i18n: (fn: any) => any;
export declare const extend: any;
export declare const extend: (deep: boolean | object, ...values: object[]) => object;
export interface InitI18nOption {

@@ -29,3 +29,3 @@ app?: any;

initI18n: ({ app, createI18n, messages, i18n, merge }: InitI18nOption) => any;
extend: any;
extend: (deep: boolean | object, ...values: object[]) => object;
zhCN: any;

@@ -32,0 +32,0 @@ enUS: 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