x-essential-lib 0.10.7 → 0.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/i18n-en.exw0q3rp.js +201 -0
- package/dist/i18n-zhHans.itmme76z.js +201 -0
- package/dist/index.d.ts +136 -13
- package/dist/index.js +143 -117
- package/dist/{vendor.homyhtbu.js → vendor.nvyu21oc.js} +7 -7
- package/package.json +4 -1
- package/dist/i18n-en.nsm1ldfp.js +0 -113
- package/dist/i18n-zhHans.do0bpr19.js +0 -113
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime.c6i0pdwe.js";
|
|
2
|
+
|
|
3
|
+
//#region src/i18n/locales/en/index.ts
|
|
4
|
+
var en_exports = /* @__PURE__ */ __exportAll({ default: () => en_default });
|
|
5
|
+
var en_default = {
|
|
6
|
+
dlg: { common: {
|
|
7
|
+
cancel: "Cancel",
|
|
8
|
+
confirm: "Confirm",
|
|
9
|
+
responding: "Responding..."
|
|
10
|
+
} },
|
|
11
|
+
$vuetify: {
|
|
12
|
+
badge: "Badge",
|
|
13
|
+
open: "Open",
|
|
14
|
+
close: "Close",
|
|
15
|
+
dismiss: "Dismiss",
|
|
16
|
+
confirmEdit: {
|
|
17
|
+
ok: "OK",
|
|
18
|
+
cancel: "Cancel"
|
|
19
|
+
},
|
|
20
|
+
dataIterator: {
|
|
21
|
+
noResultsText: "No matching records found",
|
|
22
|
+
loadingText: "Loading items..."
|
|
23
|
+
},
|
|
24
|
+
dataTable: {
|
|
25
|
+
itemsPerPageText: "Rows per page:",
|
|
26
|
+
ariaLabel: {
|
|
27
|
+
sortDescending: "Sorted descending.",
|
|
28
|
+
sortAscending: "Sorted ascending.",
|
|
29
|
+
sortNone: "Not sorted.",
|
|
30
|
+
activateNone: "Activate to remove sorting.",
|
|
31
|
+
activateDescending: "Activate to sort descending.",
|
|
32
|
+
activateAscending: "Activate to sort ascending.",
|
|
33
|
+
selectRow: "Select row",
|
|
34
|
+
selectAll: "Select all",
|
|
35
|
+
selectGroup: "Select group"
|
|
36
|
+
},
|
|
37
|
+
sortBy: "Sort by"
|
|
38
|
+
},
|
|
39
|
+
dataFooter: {
|
|
40
|
+
itemsPerPageText: "Items per page:",
|
|
41
|
+
itemsPerPageAll: "All",
|
|
42
|
+
nextPage: "Next page",
|
|
43
|
+
prevPage: "Previous page",
|
|
44
|
+
firstPage: "First page",
|
|
45
|
+
lastPage: "Last page",
|
|
46
|
+
pageText: "{0}-{1} of {2}"
|
|
47
|
+
},
|
|
48
|
+
dateRangeInput: { divider: "to" },
|
|
49
|
+
monthPicker: {
|
|
50
|
+
title: "Select month",
|
|
51
|
+
itemsSelected: "{0} selected",
|
|
52
|
+
header: "Enter month",
|
|
53
|
+
range: { title: "Enter months" },
|
|
54
|
+
ariaLabel: {
|
|
55
|
+
previousYear: "Previous year",
|
|
56
|
+
nextYear: "Next year",
|
|
57
|
+
selectYear: "Select year",
|
|
58
|
+
currentMonth: "Current month, {0}"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
datePicker: {
|
|
62
|
+
itemsSelected: "{0} selected",
|
|
63
|
+
range: {
|
|
64
|
+
title: "Select dates",
|
|
65
|
+
header: "Enter dates"
|
|
66
|
+
},
|
|
67
|
+
title: "Select date",
|
|
68
|
+
header: "Enter date",
|
|
69
|
+
input: { placeholder: "Enter date" },
|
|
70
|
+
ariaLabel: {
|
|
71
|
+
previousMonth: "Previous month",
|
|
72
|
+
nextMonth: "Next month",
|
|
73
|
+
selectYear: "Select year",
|
|
74
|
+
previousYear: "Previous year",
|
|
75
|
+
nextYear: "Next year",
|
|
76
|
+
selectMonth: "Select month",
|
|
77
|
+
selectDate: "{0}",
|
|
78
|
+
currentDate: "Today, {0}"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
noDataText: "No data available",
|
|
82
|
+
carousel: {
|
|
83
|
+
prev: "Previous visual",
|
|
84
|
+
next: "Next visual",
|
|
85
|
+
ariaLabel: { delimiter: "Carousel slide {0} of {1}" }
|
|
86
|
+
},
|
|
87
|
+
calendar: {
|
|
88
|
+
moreEvents: "{0} more",
|
|
89
|
+
today: "Today"
|
|
90
|
+
},
|
|
91
|
+
heatmap: {
|
|
92
|
+
less: "Less",
|
|
93
|
+
more: "More"
|
|
94
|
+
},
|
|
95
|
+
input: {
|
|
96
|
+
clear: "Clear {0}",
|
|
97
|
+
prependAction: "{0} prepended action",
|
|
98
|
+
appendAction: "{0} appended action",
|
|
99
|
+
otp: "Enter verification code"
|
|
100
|
+
},
|
|
101
|
+
fileInput: {
|
|
102
|
+
counter: "{0} files",
|
|
103
|
+
counterSize: "{0} files ({1} in total)"
|
|
104
|
+
},
|
|
105
|
+
fileUpload: {
|
|
106
|
+
title: "Drag and drop files here",
|
|
107
|
+
divider: "or",
|
|
108
|
+
browse: "Browse Files"
|
|
109
|
+
},
|
|
110
|
+
timePicker: {
|
|
111
|
+
am: "AM",
|
|
112
|
+
pm: "PM",
|
|
113
|
+
title: "Select Time",
|
|
114
|
+
hour: "Hour",
|
|
115
|
+
minute: "Minute",
|
|
116
|
+
second: "Second",
|
|
117
|
+
notAllowed: "Value is not allowed"
|
|
118
|
+
},
|
|
119
|
+
pagination: { ariaLabel: {
|
|
120
|
+
root: "Pagination Navigation",
|
|
121
|
+
next: "Next page",
|
|
122
|
+
previous: "Previous page",
|
|
123
|
+
page: "Go to page {0}",
|
|
124
|
+
currentPage: "Page {0}, Current page",
|
|
125
|
+
first: "First page",
|
|
126
|
+
last: "Last page"
|
|
127
|
+
} },
|
|
128
|
+
stepper: {
|
|
129
|
+
next: "Next",
|
|
130
|
+
prev: "Previous"
|
|
131
|
+
},
|
|
132
|
+
rating: { ariaLabel: { item: "Rating {0} of {1}" } },
|
|
133
|
+
loading: "Loading...",
|
|
134
|
+
infiniteScroll: {
|
|
135
|
+
loadMore: "Load more",
|
|
136
|
+
empty: "No more"
|
|
137
|
+
},
|
|
138
|
+
rules: {
|
|
139
|
+
required: "This field is required",
|
|
140
|
+
email: "Please enter a valid email",
|
|
141
|
+
number: "This field can only contain numbers",
|
|
142
|
+
integer: "This field can only contain integer values",
|
|
143
|
+
capital: "This field can only contain uppercase letters",
|
|
144
|
+
maxLength: "You must enter a maximum of {0} characters",
|
|
145
|
+
minLength: "You must enter a minimum of {0} characters",
|
|
146
|
+
strictLength: "The length of the entered field is invalid",
|
|
147
|
+
exclude: "The {0} character is not allowed",
|
|
148
|
+
notEmpty: "Please choose at least one value",
|
|
149
|
+
pattern: "Invalid format"
|
|
150
|
+
},
|
|
151
|
+
command: { search: "Type a command or search..." },
|
|
152
|
+
hotkey: {
|
|
153
|
+
then: "then",
|
|
154
|
+
ctrl: "Ctrl",
|
|
155
|
+
command: "Command",
|
|
156
|
+
space: "Space",
|
|
157
|
+
shift: "Shift",
|
|
158
|
+
alt: "Alt",
|
|
159
|
+
enter: "Enter",
|
|
160
|
+
escape: "Escape",
|
|
161
|
+
upArrow: "Up Arrow",
|
|
162
|
+
downArrow: "Down Arrow",
|
|
163
|
+
leftArrow: "Left Arrow",
|
|
164
|
+
rightArrow: "Right Arrow",
|
|
165
|
+
backspace: "Backspace",
|
|
166
|
+
option: "Option",
|
|
167
|
+
plus: "plus",
|
|
168
|
+
shortcut: "Keyboard shortcut: {0}",
|
|
169
|
+
or: "or"
|
|
170
|
+
},
|
|
171
|
+
video: {
|
|
172
|
+
play: "Play",
|
|
173
|
+
pause: "Pause",
|
|
174
|
+
seek: "Seek",
|
|
175
|
+
volume: "Volume",
|
|
176
|
+
showVolume: "Show volume control",
|
|
177
|
+
mute: "Mute",
|
|
178
|
+
unmute: "Unmute",
|
|
179
|
+
enterFullscreen: "Full screen",
|
|
180
|
+
exitFullscreen: "Exit full screen"
|
|
181
|
+
},
|
|
182
|
+
colorPicker: { ariaLabel: {
|
|
183
|
+
eyedropper: "Select color with eyedropper",
|
|
184
|
+
hueSlider: "Hue",
|
|
185
|
+
alphaSlider: "Alpha",
|
|
186
|
+
redInput: "Red value",
|
|
187
|
+
greenInput: "Green value",
|
|
188
|
+
blueInput: "Blue value",
|
|
189
|
+
alphaInput: "Alpha value",
|
|
190
|
+
hueInput: "Hue value",
|
|
191
|
+
saturationInput: "Saturation value",
|
|
192
|
+
lightnessInput: "Lightness value",
|
|
193
|
+
hexInput: "HEX value",
|
|
194
|
+
hexaInput: "HEX with alpha value",
|
|
195
|
+
changeFormat: "Change color format"
|
|
196
|
+
} }
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
//#endregion
|
|
201
|
+
export { en_exports as t };
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime.c6i0pdwe.js";
|
|
2
|
+
|
|
3
|
+
//#region src/i18n/locales/zhHans/index.ts
|
|
4
|
+
var zhHans_exports = /* @__PURE__ */ __exportAll({ default: () => zhHans_default });
|
|
5
|
+
var zhHans_default = {
|
|
6
|
+
dlg: { common: {
|
|
7
|
+
cancel: "取消",
|
|
8
|
+
confirm: "确定",
|
|
9
|
+
responding: "响应中..."
|
|
10
|
+
} },
|
|
11
|
+
$vuetify: {
|
|
12
|
+
badge: "徽章",
|
|
13
|
+
open: "打开",
|
|
14
|
+
close: "关闭",
|
|
15
|
+
dismiss: "取消",
|
|
16
|
+
confirmEdit: {
|
|
17
|
+
ok: "确定",
|
|
18
|
+
cancel: "取消"
|
|
19
|
+
},
|
|
20
|
+
dataIterator: {
|
|
21
|
+
noResultsText: "没有符合条件的结果",
|
|
22
|
+
loadingText: "加载中……"
|
|
23
|
+
},
|
|
24
|
+
dataTable: {
|
|
25
|
+
itemsPerPageText: "每页数目:",
|
|
26
|
+
ariaLabel: {
|
|
27
|
+
sortDescending: ":降序排列。",
|
|
28
|
+
sortAscending: ":升序排列。",
|
|
29
|
+
sortNone: ":未排序。",
|
|
30
|
+
activateNone: "点击以移除排序。",
|
|
31
|
+
activateDescending: "点击以降序排列。",
|
|
32
|
+
activateAscending: "点击以升序排列。",
|
|
33
|
+
selectRow: "选择行",
|
|
34
|
+
selectAll: "选择全部",
|
|
35
|
+
selectGroup: "选择分组"
|
|
36
|
+
},
|
|
37
|
+
sortBy: "排序方式"
|
|
38
|
+
},
|
|
39
|
+
dataFooter: {
|
|
40
|
+
itemsPerPageText: "每页数目:",
|
|
41
|
+
itemsPerPageAll: "全部",
|
|
42
|
+
nextPage: "下一页",
|
|
43
|
+
prevPage: "上一页",
|
|
44
|
+
firstPage: "首页",
|
|
45
|
+
lastPage: "尾页",
|
|
46
|
+
pageText: "{0}-{1} 共 {2}"
|
|
47
|
+
},
|
|
48
|
+
dateRangeInput: { divider: "至" },
|
|
49
|
+
monthPicker: {
|
|
50
|
+
title: "选择月份",
|
|
51
|
+
itemsSelected: "已选择 {0} 项",
|
|
52
|
+
header: "输入月份",
|
|
53
|
+
range: { title: "输入月份" },
|
|
54
|
+
ariaLabel: {
|
|
55
|
+
previousYear: "上一年",
|
|
56
|
+
nextYear: "下一年",
|
|
57
|
+
selectYear: "选择年份",
|
|
58
|
+
currentMonth: "本月,{0}"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
datePicker: {
|
|
62
|
+
itemsSelected: "已选择 {0} 项",
|
|
63
|
+
range: {
|
|
64
|
+
title: "选择日期",
|
|
65
|
+
header: "输入日期"
|
|
66
|
+
},
|
|
67
|
+
title: "选择日期",
|
|
68
|
+
header: "输入日期",
|
|
69
|
+
input: { placeholder: "输入日期" },
|
|
70
|
+
ariaLabel: {
|
|
71
|
+
previousMonth: "上个月",
|
|
72
|
+
nextMonth: "下个月",
|
|
73
|
+
selectYear: "选择年份",
|
|
74
|
+
previousYear: "上一年",
|
|
75
|
+
nextYear: "下一年",
|
|
76
|
+
selectMonth: "选择月份",
|
|
77
|
+
selectDate: "{0}",
|
|
78
|
+
currentDate: "今天,{0}"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
noDataText: "没有数据",
|
|
82
|
+
carousel: {
|
|
83
|
+
prev: "上一张",
|
|
84
|
+
next: "下一张",
|
|
85
|
+
ariaLabel: { delimiter: "幻灯片 {0} / {1}" }
|
|
86
|
+
},
|
|
87
|
+
calendar: {
|
|
88
|
+
moreEvents: "还有 {0} 项",
|
|
89
|
+
today: "今天"
|
|
90
|
+
},
|
|
91
|
+
heatmap: {
|
|
92
|
+
less: "少",
|
|
93
|
+
more: "多"
|
|
94
|
+
},
|
|
95
|
+
input: {
|
|
96
|
+
clear: "清除 {0}",
|
|
97
|
+
prependAction: "{0} 前置操作",
|
|
98
|
+
appendAction: "{0} 后置操作",
|
|
99
|
+
otp: "请输入第 {0} 位 OTP"
|
|
100
|
+
},
|
|
101
|
+
fileInput: {
|
|
102
|
+
counter: "{0} 个文件",
|
|
103
|
+
counterSize: "{0} 个文件(共 {1})"
|
|
104
|
+
},
|
|
105
|
+
fileUpload: {
|
|
106
|
+
title: "拖放文件到此处",
|
|
107
|
+
divider: "或",
|
|
108
|
+
browse: "浏览文件"
|
|
109
|
+
},
|
|
110
|
+
timePicker: {
|
|
111
|
+
am: "上午",
|
|
112
|
+
pm: "下午",
|
|
113
|
+
title: "选择时间",
|
|
114
|
+
hour: "小时",
|
|
115
|
+
minute: "分钟",
|
|
116
|
+
second: "秒",
|
|
117
|
+
notAllowed: "值不允许"
|
|
118
|
+
},
|
|
119
|
+
pagination: { ariaLabel: {
|
|
120
|
+
root: "分页导航",
|
|
121
|
+
next: "下一页",
|
|
122
|
+
previous: "上一页",
|
|
123
|
+
page: "转到页面 {0}",
|
|
124
|
+
currentPage: "当前页 {0}",
|
|
125
|
+
first: "第一页",
|
|
126
|
+
last: "最后一页"
|
|
127
|
+
} },
|
|
128
|
+
stepper: {
|
|
129
|
+
next: "下一步",
|
|
130
|
+
prev: "上一步"
|
|
131
|
+
},
|
|
132
|
+
rating: { ariaLabel: { item: "评分 {0} / {1}" } },
|
|
133
|
+
loading: "加载中...",
|
|
134
|
+
infiniteScroll: {
|
|
135
|
+
loadMore: "加载更多",
|
|
136
|
+
empty: "没有更多内容"
|
|
137
|
+
},
|
|
138
|
+
rules: {
|
|
139
|
+
required: "此字段为必填项",
|
|
140
|
+
email: "请输入有效的电子邮件地址",
|
|
141
|
+
number: "此字段只能包含数字",
|
|
142
|
+
integer: "此字段只能包含整数",
|
|
143
|
+
capital: "此字段只能包含大写字母",
|
|
144
|
+
maxLength: "您最多可以输入{0}个字符",
|
|
145
|
+
minLength: "您必须至少输入{0}个字符",
|
|
146
|
+
strictLength: "输入字段的长度无效",
|
|
147
|
+
exclude: "字符{0}是不允许的",
|
|
148
|
+
notEmpty: "请至少选择一个值",
|
|
149
|
+
pattern: "格式无效"
|
|
150
|
+
},
|
|
151
|
+
command: { search: "输入命令或搜索..." },
|
|
152
|
+
hotkey: {
|
|
153
|
+
then: "然后",
|
|
154
|
+
ctrl: "Ctrl",
|
|
155
|
+
command: "Command",
|
|
156
|
+
shift: "Shift",
|
|
157
|
+
alt: "Alt",
|
|
158
|
+
option: "Option",
|
|
159
|
+
enter: "Enter",
|
|
160
|
+
escape: "Escape",
|
|
161
|
+
upArrow: "上箭头",
|
|
162
|
+
downArrow: "下箭头",
|
|
163
|
+
leftArrow: "左箭头",
|
|
164
|
+
rightArrow: "右箭头",
|
|
165
|
+
backspace: "退格",
|
|
166
|
+
space: "空格",
|
|
167
|
+
plus: "加",
|
|
168
|
+
shortcut: "键盘快捷键:{0}",
|
|
169
|
+
or: "或"
|
|
170
|
+
},
|
|
171
|
+
video: {
|
|
172
|
+
play: "播放",
|
|
173
|
+
pause: "暂停",
|
|
174
|
+
seek: "跳转",
|
|
175
|
+
volume: "音量",
|
|
176
|
+
showVolume: "显示音量控制",
|
|
177
|
+
mute: "静音",
|
|
178
|
+
unmute: "取消静音",
|
|
179
|
+
enterFullscreen: "全屏",
|
|
180
|
+
exitFullscreen: "退出全屏"
|
|
181
|
+
},
|
|
182
|
+
colorPicker: { ariaLabel: {
|
|
183
|
+
eyedropper: "从屏幕拾取颜色",
|
|
184
|
+
hueSlider: "色相",
|
|
185
|
+
alphaSlider: "不透明度",
|
|
186
|
+
redInput: "红色",
|
|
187
|
+
greenInput: "绿色",
|
|
188
|
+
blueInput: "蓝色",
|
|
189
|
+
alphaInput: "不透明度",
|
|
190
|
+
hueInput: "色相",
|
|
191
|
+
saturationInput: "饱和度",
|
|
192
|
+
lightnessInput: "亮度",
|
|
193
|
+
hexInput: "HEX 值",
|
|
194
|
+
hexaInput: "带不透明度 HEX 值",
|
|
195
|
+
changeFormat: "更改颜色格式"
|
|
196
|
+
} }
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
//#endregion
|
|
201
|
+
export { zhHans_exports as t };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as EventType, t as Emitter } from "./vendor.
|
|
1
|
+
import { n as EventType, t as Emitter } from "./vendor.nvyu21oc.js";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
import { RouteLocationNormalized } from "vue-router";
|
|
4
4
|
import { AxiosInstance } from "axios";
|
|
@@ -243,6 +243,9 @@ type PermissionObject = {
|
|
|
243
243
|
type PermissionObjects = {
|
|
244
244
|
[key: string]: PermissionObject;
|
|
245
245
|
};
|
|
246
|
+
declare function toPermissionObjects(permissions: {
|
|
247
|
+
[key: string]: string;
|
|
248
|
+
}): PermissionObjects;
|
|
246
249
|
declare function isExist(instanceTree: InstanceTree | undefined, instance: string): boolean;
|
|
247
250
|
declare function verifyPermission(permissionObjects: PermissionObjects, permission: Permission, instance: string): boolean;
|
|
248
251
|
//#endregion
|
|
@@ -251,6 +254,8 @@ declare function provideDark(dark: Ref<boolean>): void;
|
|
|
251
254
|
declare function injectDark(): Ref<boolean>;
|
|
252
255
|
declare function provideLocale(locale: Ref<string>): void;
|
|
253
256
|
declare function injectLocale(): Ref<string>;
|
|
257
|
+
declare function provideActiveOrg(activeOrg: Ref<string>): void;
|
|
258
|
+
declare function injectActiveOrg(): Ref<string>;
|
|
254
259
|
declare function providePermissionObjects(permissionObjects: Ref<PermissionObjects>): void;
|
|
255
260
|
declare function injectPermissionObjects(): Ref<PermissionObjects>;
|
|
256
261
|
declare function providePermissionChecksum(permissionChecksum: Ref<string>): void;
|
|
@@ -264,14 +269,21 @@ declare function injectViews(): Ref<string[]>;
|
|
|
264
269
|
interface RouteMeta {
|
|
265
270
|
app: 'x-app-mf' | 'x-compute-mf' | 'x-create-mf' | 'x-data-mf' | 'x-ecosystem-mf' | 'x-main-mf' | 'x-mine-mf' | 'x-org-mf' | 'x-passport-mf' | 'x-resource-mf';
|
|
266
271
|
path: string;
|
|
272
|
+
back?: string;
|
|
267
273
|
level: number;
|
|
268
|
-
|
|
274
|
+
requireAuth: boolean;
|
|
269
275
|
}
|
|
270
276
|
declare function matchRouteMeta(path: string): RouteMeta | undefined;
|
|
271
277
|
declare const routeTransName: import("vue").Ref<string, string>;
|
|
272
|
-
declare function onBeforeEach(to: RouteLocationNormalized, from: RouteLocationNormalized, lastAppPath: string): {
|
|
278
|
+
declare function onBeforeEach(to: RouteLocationNormalized, from: RouteLocationNormalized, lastAppPath: string): Promise<{
|
|
273
279
|
path: string;
|
|
274
|
-
|
|
280
|
+
query?: undefined;
|
|
281
|
+
} | {
|
|
282
|
+
path: string;
|
|
283
|
+
query: {
|
|
284
|
+
orgId: string;
|
|
285
|
+
};
|
|
286
|
+
} | undefined>;
|
|
275
287
|
//#endregion
|
|
276
288
|
//#region src/utils/type.d.ts
|
|
277
289
|
declare const types: readonly ["string", "number", "boolean", "array", "object", "any"];
|
|
@@ -289,7 +301,16 @@ declare function popView(views: Ref<string[]>): void;
|
|
|
289
301
|
declare function clearViews(views: Ref<string[]>): void;
|
|
290
302
|
//#endregion
|
|
291
303
|
//#region src/composables/microApp.d.ts
|
|
292
|
-
|
|
304
|
+
interface States {
|
|
305
|
+
dark: Ref<boolean | undefined>;
|
|
306
|
+
locale: Ref<string>;
|
|
307
|
+
activeOrg: Ref<string>;
|
|
308
|
+
permissionObjects: Ref<PermissionObjects>;
|
|
309
|
+
permissionChecksum: Ref<string>;
|
|
310
|
+
lastAppPath: Ref<string>;
|
|
311
|
+
views: Ref<string[]>;
|
|
312
|
+
}
|
|
313
|
+
declare function useMicroApp(states: States, customBack?: (m: RouteMeta) => void): void;
|
|
293
314
|
//#endregion
|
|
294
315
|
//#region src/composables/permission.d.ts
|
|
295
316
|
declare function usePermission(): {
|
|
@@ -313,6 +334,13 @@ declare function useViewStack(name: string, hook?: (params: unknown) => void): {
|
|
|
313
334
|
//#endregion
|
|
314
335
|
//#region src/i18n/index.d.ts
|
|
315
336
|
declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
337
|
+
dlg: {
|
|
338
|
+
common: {
|
|
339
|
+
cancel: string;
|
|
340
|
+
confirm: string;
|
|
341
|
+
responding: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
316
344
|
$vuetify: {
|
|
317
345
|
badge: string;
|
|
318
346
|
open: string;
|
|
@@ -335,6 +363,9 @@ declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
|
335
363
|
activateNone: string;
|
|
336
364
|
activateDescending: string;
|
|
337
365
|
activateAscending: string;
|
|
366
|
+
selectRow: string;
|
|
367
|
+
selectAll: string;
|
|
368
|
+
selectGroup: string;
|
|
338
369
|
};
|
|
339
370
|
sortBy: string;
|
|
340
371
|
};
|
|
@@ -350,6 +381,20 @@ declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
|
350
381
|
dateRangeInput: {
|
|
351
382
|
divider: string;
|
|
352
383
|
};
|
|
384
|
+
monthPicker: {
|
|
385
|
+
title: string;
|
|
386
|
+
itemsSelected: string;
|
|
387
|
+
header: string;
|
|
388
|
+
range: {
|
|
389
|
+
title: string;
|
|
390
|
+
};
|
|
391
|
+
ariaLabel: {
|
|
392
|
+
previousYear: string;
|
|
393
|
+
nextYear: string;
|
|
394
|
+
selectYear: string;
|
|
395
|
+
currentMonth: string;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
353
398
|
datePicker: {
|
|
354
399
|
itemsSelected: string;
|
|
355
400
|
range: {
|
|
@@ -361,6 +406,16 @@ declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
|
361
406
|
input: {
|
|
362
407
|
placeholder: string;
|
|
363
408
|
};
|
|
409
|
+
ariaLabel: {
|
|
410
|
+
previousMonth: string;
|
|
411
|
+
nextMonth: string;
|
|
412
|
+
selectYear: string;
|
|
413
|
+
previousYear: string;
|
|
414
|
+
nextYear: string;
|
|
415
|
+
selectMonth: string;
|
|
416
|
+
selectDate: string;
|
|
417
|
+
currentDate: string;
|
|
418
|
+
};
|
|
364
419
|
};
|
|
365
420
|
noDataText: string;
|
|
366
421
|
carousel: {
|
|
@@ -374,6 +429,10 @@ declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
|
374
429
|
moreEvents: string;
|
|
375
430
|
today: string;
|
|
376
431
|
};
|
|
432
|
+
heatmap: {
|
|
433
|
+
less: string;
|
|
434
|
+
more: string;
|
|
435
|
+
};
|
|
377
436
|
input: {
|
|
378
437
|
clear: string;
|
|
379
438
|
prependAction: string;
|
|
@@ -384,10 +443,19 @@ declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
|
384
443
|
counter: string;
|
|
385
444
|
counterSize: string;
|
|
386
445
|
};
|
|
446
|
+
fileUpload: {
|
|
447
|
+
title: string;
|
|
448
|
+
divider: string;
|
|
449
|
+
browse: string;
|
|
450
|
+
};
|
|
387
451
|
timePicker: {
|
|
388
452
|
am: string;
|
|
389
453
|
pm: string;
|
|
390
454
|
title: string;
|
|
455
|
+
hour: string;
|
|
456
|
+
minute: string;
|
|
457
|
+
second: string;
|
|
458
|
+
notAllowed: string;
|
|
391
459
|
};
|
|
392
460
|
pagination: {
|
|
393
461
|
ariaLabel: {
|
|
@@ -414,13 +482,68 @@ declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
|
414
482
|
loadMore: string;
|
|
415
483
|
empty: string;
|
|
416
484
|
};
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
485
|
+
rules: {
|
|
486
|
+
required: string;
|
|
487
|
+
email: string;
|
|
488
|
+
number: string;
|
|
489
|
+
integer: string;
|
|
490
|
+
capital: string;
|
|
491
|
+
maxLength: string;
|
|
492
|
+
minLength: string;
|
|
493
|
+
strictLength: string;
|
|
494
|
+
exclude: string;
|
|
495
|
+
notEmpty: string;
|
|
496
|
+
pattern: string;
|
|
497
|
+
};
|
|
498
|
+
command: {
|
|
499
|
+
search: string;
|
|
500
|
+
};
|
|
501
|
+
hotkey: {
|
|
502
|
+
then: string;
|
|
503
|
+
ctrl: string;
|
|
504
|
+
command: string;
|
|
505
|
+
space: string;
|
|
506
|
+
shift: string;
|
|
507
|
+
alt: string;
|
|
508
|
+
enter: string;
|
|
509
|
+
escape: string;
|
|
510
|
+
upArrow: string;
|
|
511
|
+
downArrow: string;
|
|
512
|
+
leftArrow: string;
|
|
513
|
+
rightArrow: string;
|
|
514
|
+
backspace: string;
|
|
515
|
+
option: string;
|
|
516
|
+
plus: string;
|
|
517
|
+
shortcut: string;
|
|
518
|
+
or: string;
|
|
519
|
+
};
|
|
520
|
+
video: {
|
|
521
|
+
play: string;
|
|
522
|
+
pause: string;
|
|
523
|
+
seek: string;
|
|
524
|
+
volume: string;
|
|
525
|
+
showVolume: string;
|
|
526
|
+
mute: string;
|
|
527
|
+
unmute: string;
|
|
528
|
+
enterFullscreen: string;
|
|
529
|
+
exitFullscreen: string;
|
|
530
|
+
};
|
|
531
|
+
colorPicker: {
|
|
532
|
+
ariaLabel: {
|
|
533
|
+
eyedropper: string;
|
|
534
|
+
hueSlider: string;
|
|
535
|
+
alphaSlider: string;
|
|
536
|
+
redInput: string;
|
|
537
|
+
greenInput: string;
|
|
538
|
+
blueInput: string;
|
|
539
|
+
alphaInput: string;
|
|
540
|
+
hueInput: string;
|
|
541
|
+
saturationInput: string;
|
|
542
|
+
lightnessInput: string;
|
|
543
|
+
hexInput: string;
|
|
544
|
+
hexaInput: string;
|
|
545
|
+
changeFormat: string;
|
|
546
|
+
};
|
|
424
547
|
};
|
|
425
548
|
};
|
|
426
549
|
}>;
|
|
@@ -430,4 +553,4 @@ declare const _default: {
|
|
|
430
553
|
install: (app: import("vue").App) => void;
|
|
431
554
|
};
|
|
432
555
|
//#endregion
|
|
433
|
-
export { Permission, PermissionObjects, Type, addView, appAppear, clearViews, closeWaitDlg, createAxios, _default as default, delView, eventBus, getTypeColor, getTypeDefault, globalObjects, hasView, injectDark, injectLastAppPath, injectLocale, injectPermissionChecksum, injectPermissionObjects, injectViews, isEmpty, isExist, lastView, loadLocaleMessageEssential, matchRouteMeta, messageError, messageInfo, messageSuccess, messageWarning, onBeforeEach, openConfirmDlg, openNumberDlg, openPromptDlg, openWaitDlg, popView, provideDark, provideLastAppPath, provideLocale, providePermissionChecksum, providePermissionObjects, provideViews, routeTransName, types, useColor, useMicroApp, usePermission, useSystem, useViewStack, verifyPermission, waitMs, waitUtil };
|
|
556
|
+
export { Permission, PermissionObjects, RouteMeta, Type, addView, appAppear, clearViews, closeWaitDlg, createAxios, _default as default, delView, eventBus, getTypeColor, getTypeDefault, globalObjects, hasView, injectActiveOrg, injectDark, injectLastAppPath, injectLocale, injectPermissionChecksum, injectPermissionObjects, injectViews, isEmpty, isExist, lastView, loadLocaleMessageEssential, matchRouteMeta, messageError, messageInfo, messageSuccess, messageWarning, onBeforeEach, openConfirmDlg, openNumberDlg, openPromptDlg, openWaitDlg, popView, provideActiveOrg, provideDark, provideLastAppPath, provideLocale, providePermissionChecksum, providePermissionObjects, provideViews, routeTransName, toPermissionObjects, types, useColor, useMicroApp, usePermission, useSystem, useViewStack, verifyPermission, waitMs, waitUtil };
|