hy-app 0.6.4 → 0.6.6
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/attributes.json +1 -1
- package/components/hy-address-picker/hy-address-picker.vue +249 -249
- package/components/hy-address-picker/props.ts +103 -103
- package/components/hy-button/hy-button.vue +320 -289
- package/components/hy-button/props.ts +143 -143
- package/components/hy-button/typing.d.ts +43 -35
- package/components/hy-calendar/header.vue +58 -58
- package/components/hy-calendar/hy-calendar.vue +8 -6
- package/components/hy-calendar/month.vue +402 -402
- package/components/hy-calendar/props.ts +169 -169
- package/components/hy-calendar/typing.d.ts +47 -45
- package/components/hy-cell-item/hy-cell-item.vue +161 -161
- package/components/hy-cell-item/props.ts +59 -59
- package/components/hy-check-button/hy-check-button.vue +135 -135
- package/components/hy-code-input/hy-code-input.vue +231 -231
- package/components/hy-code-input/props.ts +90 -90
- package/components/hy-config-provider/hy-config-provider.vue +53 -53
- package/components/hy-config-provider/props.ts +30 -30
- package/components/hy-coupon/hy-coupon.vue +183 -183
- package/components/hy-coupon/props.ts +108 -108
- package/components/hy-datetime-picker/hy-datetime-picker.vue +41 -55
- package/components/hy-datetime-picker/props.ts +144 -144
- package/components/hy-datetime-picker/typing.d.ts +2 -0
- package/components/hy-divider/props.ts +83 -83
- package/components/hy-empty/icon.ts +72 -72
- package/components/hy-folding-panel/hy-folding-panel-group.vue +162 -162
- package/components/hy-form/hy-form.vue +220 -220
- package/components/hy-icon/hy-icon.vue +112 -112
- package/components/hy-index-bar/hy-index-bar.vue +185 -185
- package/components/hy-index-bar/index.scss +64 -64
- package/components/hy-index-bar/props.ts +94 -94
- package/components/hy-index-bar/typing.d.ts +36 -36
- package/components/hy-input/hy-input.vue +333 -333
- package/components/hy-input/props.ts +186 -186
- package/components/hy-modal/hy-modal.vue +211 -211
- package/components/hy-modal/props.ts +94 -94
- package/components/hy-modal/typing.d.ts +16 -16
- package/components/hy-notice-bar/hy-row-notice.vue +121 -121
- package/components/hy-notify/hy-notify.vue +174 -174
- package/components/hy-number-step/hy-number-step.vue +367 -367
- package/components/hy-overlay/hy-overlay.vue +61 -61
- package/components/hy-overlay/props.ts +38 -38
- package/components/hy-pagination/hy-pagination.vue +136 -136
- package/components/hy-pagination/props.ts +58 -58
- package/components/hy-parse/hy-parse.vue +550 -550
- package/components/hy-parse/node/node.vue +781 -781
- package/components/hy-parse/parser.js +1455 -1455
- package/components/hy-parse/props.ts +19 -19
- package/components/hy-parse/typing.d.ts +68 -68
- package/components/hy-picker/hy-picker.vue +435 -435
- package/components/hy-picker/props.ts +122 -122
- package/components/hy-picker/typing.d.ts +38 -38
- package/components/hy-qrcode/props.ts +72 -72
- package/components/hy-qrcode/qrcode.js.bak +1433 -1433
- package/components/hy-radio/props.ts +97 -97
- package/components/hy-read-more/props.ts +48 -48
- package/components/hy-search/props.ts +133 -133
- package/components/hy-signature/canvasHelper.ts +51 -51
- package/components/hy-signature/props.ts +121 -121
- package/components/hy-skeleton/hy-skeleton.vue +142 -142
- package/components/hy-skeleton/props.ts +46 -46
- package/components/hy-skeleton/typing.d.ts +31 -31
- package/components/hy-steps/hy-steps.vue +275 -275
- package/components/hy-steps/typing.d.ts +25 -25
- package/components/hy-swiper/hy-swiper.vue +3 -3
- package/components/hy-swiper/index.scss +5 -5
- package/components/hy-swiper/props.ts +0 -1
- package/components/hy-table/hy-table.vue +630 -630
- package/components/hy-table/props.ts +62 -62
- package/components/hy-table/typing.d.ts +29 -29
- package/components/hy-tabs/hy-tabs.vue +336 -335
- package/components/hy-tabs/props.ts +84 -77
- package/components/hy-tag/hy-tag.vue +173 -173
- package/components/hy-tag/props.ts +89 -89
- package/components/hy-text/hy-text.vue +237 -237
- package/components/hy-text/props.ts +115 -115
- package/components/hy-textarea/hy-textarea.vue +198 -198
- package/components/hy-toast/hy-toast.vue +200 -200
- package/components/hy-toast/props.ts +3 -3
- package/components/hy-transition/hy-transition.vue +157 -157
- package/components/hy-transition/props.ts +32 -32
- package/components/hy-upload/hy-upload.vue +384 -384
- package/components/hy-watermark/hy-watermark.vue +1058 -1058
- package/components/hy-watermark/props.ts +109 -109
- package/global.d.ts +94 -94
- package/libs/api/http.ts +119 -119
- package/libs/composables/index.ts +8 -8
- package/libs/composables/useMessage.ts +149 -149
- package/libs/composables/useToast.ts +45 -45
- package/libs/composables/useTranslate.ts +10 -10
- package/libs/css/_config.scss +5 -5
- package/libs/index.ts +8 -8
- package/libs/locale/index.ts +32 -32
- package/libs/locale/lang/en-US.ts +84 -84
- package/libs/locale/lang/zh-CN.ts +87 -87
- package/libs/typing/index.ts +2 -2
- package/libs/typing/modules/common.d.ts +139 -139
- package/libs/typing/modules/form.ts +176 -176
- package/libs/typing/modules/http.d.ts +19 -19
- package/libs/typing/modules/index.d.ts +12 -12
- package/libs/utils/inside.ts +340 -340
- package/libs/utils/inspect.ts +140 -140
- package/libs/utils/utils.ts +525 -525
- package/package.json +81 -81
- package/tags.json +1 -1
- package/web-types.json +1 -1
package/libs/css/_config.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
$namespace: 'hy' !default;
|
|
2
|
-
$common-separator: '-' !default;
|
|
3
|
-
$element-separator: '__' !default;
|
|
4
|
-
$modifier-separator: '--' !default;
|
|
5
|
-
$state-prefix: 'is-' !default;
|
|
1
|
+
$namespace: 'hy' !default;
|
|
2
|
+
$common-separator: '-' !default;
|
|
3
|
+
$element-separator: '__' !default;
|
|
4
|
+
$modifier-separator: '--' !default;
|
|
5
|
+
$state-prefix: 'is-' !default;
|
package/libs/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './common'
|
|
2
|
-
export * from './utils'
|
|
3
|
-
export * from './global'
|
|
4
|
-
export * from './typing'
|
|
5
|
-
export * from './api'
|
|
6
|
-
export * from './config'
|
|
7
|
-
export * from './composables'
|
|
8
|
-
export * from './locale'
|
|
1
|
+
export * from './common'
|
|
2
|
+
export * from './utils'
|
|
3
|
+
export * from './global'
|
|
4
|
+
export * from './typing'
|
|
5
|
+
export * from './api'
|
|
6
|
+
export * from './config'
|
|
7
|
+
export * from './composables'
|
|
8
|
+
export * from './locale'
|
package/libs/locale/index.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { reactive, ref } from 'vue'
|
|
2
|
-
import zhCN from './lang/zh-CN'
|
|
3
|
-
import { deepMerge } from '../index'
|
|
4
|
-
|
|
5
|
-
type Message = Record<string, any>
|
|
6
|
-
type Messages = Record<string, Message>
|
|
7
|
-
|
|
8
|
-
const lang = ref<string>('zh-CN')
|
|
9
|
-
const messages = reactive<Messages>({
|
|
10
|
-
'zh-CN': zhCN
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
export const Locale = {
|
|
14
|
-
messages(): Message {
|
|
15
|
-
return messages[lang.value]
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
use(newLang: string, newMessage?: Message) {
|
|
19
|
-
lang.value = newLang
|
|
20
|
-
if (newMessage) {
|
|
21
|
-
this.add({ [newLang]: newMessage })
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
add(newMessages: Messages = {}) {
|
|
26
|
-
deepMerge(messages, newMessages)
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export const useCurrentLang = () => lang
|
|
31
|
-
|
|
32
|
-
export default Locale
|
|
1
|
+
import { reactive, ref } from 'vue'
|
|
2
|
+
import zhCN from './lang/zh-CN'
|
|
3
|
+
import { deepMerge } from '../index'
|
|
4
|
+
|
|
5
|
+
type Message = Record<string, any>
|
|
6
|
+
type Messages = Record<string, Message>
|
|
7
|
+
|
|
8
|
+
const lang = ref<string>('zh-CN')
|
|
9
|
+
const messages = reactive<Messages>({
|
|
10
|
+
'zh-CN': zhCN
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
export const Locale = {
|
|
14
|
+
messages(): Message {
|
|
15
|
+
return messages[lang.value]
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
use(newLang: string, newMessage?: Message) {
|
|
19
|
+
lang.value = newLang
|
|
20
|
+
if (newMessage) {
|
|
21
|
+
this.add({ [newLang]: newMessage })
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
add(newMessages: Messages = {}) {
|
|
26
|
+
deepMerge(messages, newMessages)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export const useCurrentLang = () => lang
|
|
31
|
+
|
|
32
|
+
export default Locale
|
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
calendar: {
|
|
3
|
-
placeholder: 'Select',
|
|
4
|
-
title: 'Select Date',
|
|
5
|
-
day: 'Date',
|
|
6
|
-
week: 'Week',
|
|
7
|
-
month: 'Month',
|
|
8
|
-
year: 'year',
|
|
9
|
-
confirm: 'OK',
|
|
10
|
-
confirmDisabled: 'OK',
|
|
11
|
-
startTime: 'Start Date',
|
|
12
|
-
endTime: 'End Date',
|
|
13
|
-
to: 'To',
|
|
14
|
-
timeFormat: 'YY-MM-DD HH:mm:ss',
|
|
15
|
-
dateFormat: 'YYYY-MM-DD',
|
|
16
|
-
weekFormat: (year: number, week: number) => `${year} W${week}`,
|
|
17
|
-
startWeek: 'Start Week',
|
|
18
|
-
endWeek: 'End Week',
|
|
19
|
-
startMonth: 'Start Month',
|
|
20
|
-
endMonth: 'End Month',
|
|
21
|
-
monthFormat: 'yyyy-MM',
|
|
22
|
-
weeks: {
|
|
23
|
-
sun: 'Sun',
|
|
24
|
-
mon: 'Mon',
|
|
25
|
-
tue: 'Tue',
|
|
26
|
-
wed: 'Wed',
|
|
27
|
-
thu: 'Thu',
|
|
28
|
-
fri: 'Fri',
|
|
29
|
-
sat: 'Sat'
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
readMore: {
|
|
33
|
-
expand: 'Expand',
|
|
34
|
-
retract: 'Fold'
|
|
35
|
-
},
|
|
36
|
-
loadMore: {
|
|
37
|
-
loadMore: 'Load more',
|
|
38
|
-
loading: 'Loading...',
|
|
39
|
-
finished: 'Finished loading'
|
|
40
|
-
},
|
|
41
|
-
modal: {
|
|
42
|
-
confirm: 'OK',
|
|
43
|
-
cancel: 'Cancel'
|
|
44
|
-
},
|
|
45
|
-
pagination: {
|
|
46
|
-
prev: 'Previous',
|
|
47
|
-
next: 'Next',
|
|
48
|
-
page: (value: number) => `Page: ${value}`,
|
|
49
|
-
total: (total: number) => `Total: ${total}`,
|
|
50
|
-
size: (size: number) => `${size}/page`
|
|
51
|
-
},
|
|
52
|
-
picker: {
|
|
53
|
-
cancel: 'Cancel',
|
|
54
|
-
confirm: 'Done',
|
|
55
|
-
placeholder: 'Please select'
|
|
56
|
-
},
|
|
57
|
-
datetimePicker: {
|
|
58
|
-
confirm: 'Done',
|
|
59
|
-
cancel: 'Cancel',
|
|
60
|
-
placeholder: 'Please select a time'
|
|
61
|
-
},
|
|
62
|
-
addressPicker: {
|
|
63
|
-
cancel: 'Cancel',
|
|
64
|
-
confirm: 'Done',
|
|
65
|
-
placeholder: 'Please select an address'
|
|
66
|
-
},
|
|
67
|
-
search: {
|
|
68
|
-
search: 'Search',
|
|
69
|
-
placeholder: 'Search content'
|
|
70
|
-
},
|
|
71
|
-
upload: {
|
|
72
|
-
progressLabel: (value: number) => `progress:${value}%`,
|
|
73
|
-
error: 'Failed to upload'
|
|
74
|
-
},
|
|
75
|
-
signature: {
|
|
76
|
-
confirm: 'OK',
|
|
77
|
-
clear: 'Clear',
|
|
78
|
-
revoke: 'Undo',
|
|
79
|
-
restore: 'Restore'
|
|
80
|
-
},
|
|
81
|
-
qrCode: {
|
|
82
|
-
loading: 'Generate a QR code...'
|
|
83
|
-
}
|
|
84
|
-
}
|
|
1
|
+
export default {
|
|
2
|
+
calendar: {
|
|
3
|
+
placeholder: 'Select',
|
|
4
|
+
title: 'Select Date',
|
|
5
|
+
day: 'Date',
|
|
6
|
+
week: 'Week',
|
|
7
|
+
month: 'Month',
|
|
8
|
+
year: 'year',
|
|
9
|
+
confirm: 'OK',
|
|
10
|
+
confirmDisabled: 'OK',
|
|
11
|
+
startTime: 'Start Date',
|
|
12
|
+
endTime: 'End Date',
|
|
13
|
+
to: 'To',
|
|
14
|
+
timeFormat: 'YY-MM-DD HH:mm:ss',
|
|
15
|
+
dateFormat: 'YYYY-MM-DD',
|
|
16
|
+
weekFormat: (year: number, week: number) => `${year} W${week}`,
|
|
17
|
+
startWeek: 'Start Week',
|
|
18
|
+
endWeek: 'End Week',
|
|
19
|
+
startMonth: 'Start Month',
|
|
20
|
+
endMonth: 'End Month',
|
|
21
|
+
monthFormat: 'yyyy-MM',
|
|
22
|
+
weeks: {
|
|
23
|
+
sun: 'Sun',
|
|
24
|
+
mon: 'Mon',
|
|
25
|
+
tue: 'Tue',
|
|
26
|
+
wed: 'Wed',
|
|
27
|
+
thu: 'Thu',
|
|
28
|
+
fri: 'Fri',
|
|
29
|
+
sat: 'Sat'
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
readMore: {
|
|
33
|
+
expand: 'Expand',
|
|
34
|
+
retract: 'Fold'
|
|
35
|
+
},
|
|
36
|
+
loadMore: {
|
|
37
|
+
loadMore: 'Load more',
|
|
38
|
+
loading: 'Loading...',
|
|
39
|
+
finished: 'Finished loading'
|
|
40
|
+
},
|
|
41
|
+
modal: {
|
|
42
|
+
confirm: 'OK',
|
|
43
|
+
cancel: 'Cancel'
|
|
44
|
+
},
|
|
45
|
+
pagination: {
|
|
46
|
+
prev: 'Previous',
|
|
47
|
+
next: 'Next',
|
|
48
|
+
page: (value: number) => `Page: ${value}`,
|
|
49
|
+
total: (total: number) => `Total: ${total}`,
|
|
50
|
+
size: (size: number) => `${size}/page`
|
|
51
|
+
},
|
|
52
|
+
picker: {
|
|
53
|
+
cancel: 'Cancel',
|
|
54
|
+
confirm: 'Done',
|
|
55
|
+
placeholder: 'Please select'
|
|
56
|
+
},
|
|
57
|
+
datetimePicker: {
|
|
58
|
+
confirm: 'Done',
|
|
59
|
+
cancel: 'Cancel',
|
|
60
|
+
placeholder: 'Please select a time'
|
|
61
|
+
},
|
|
62
|
+
addressPicker: {
|
|
63
|
+
cancel: 'Cancel',
|
|
64
|
+
confirm: 'Done',
|
|
65
|
+
placeholder: 'Please select an address'
|
|
66
|
+
},
|
|
67
|
+
search: {
|
|
68
|
+
search: 'Search',
|
|
69
|
+
placeholder: 'Search content'
|
|
70
|
+
},
|
|
71
|
+
upload: {
|
|
72
|
+
progressLabel: (value: number) => `progress:${value}%`,
|
|
73
|
+
error: 'Failed to upload'
|
|
74
|
+
},
|
|
75
|
+
signature: {
|
|
76
|
+
confirm: 'OK',
|
|
77
|
+
clear: 'Clear',
|
|
78
|
+
revoke: 'Undo',
|
|
79
|
+
restore: 'Restore'
|
|
80
|
+
},
|
|
81
|
+
qrCode: {
|
|
82
|
+
loading: 'Generate a QR code...'
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file contains localization strings for various components.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
calendar: {
|
|
7
|
-
title: '选择日期',
|
|
8
|
-
day: '日',
|
|
9
|
-
week: '周',
|
|
10
|
-
month: '月',
|
|
11
|
-
year: '年',
|
|
12
|
-
confirm: '确定',
|
|
13
|
-
confirmDisabled: '确定',
|
|
14
|
-
startTime: '开始',
|
|
15
|
-
endTime: '结束',
|
|
16
|
-
to: '至',
|
|
17
|
-
timeFormat: 'YY年MM月DD日 HH:mm:ss',
|
|
18
|
-
dateFormat: 'YYYY年MM月DD日',
|
|
19
|
-
weekFormat: (year: number, week: number) => `${year} 第 ${week} 周`,
|
|
20
|
-
startWeek: '开始周',
|
|
21
|
-
endWeek: '结束周',
|
|
22
|
-
startMonth: '开始月',
|
|
23
|
-
endMonth: '结束月',
|
|
24
|
-
monthFormat: 'yyyy年MM月',
|
|
25
|
-
weeks: {
|
|
26
|
-
sun: '日',
|
|
27
|
-
mon: '一',
|
|
28
|
-
tue: '二',
|
|
29
|
-
wed: '三',
|
|
30
|
-
thu: '四',
|
|
31
|
-
fri: '五',
|
|
32
|
-
sat: '六'
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
readMore: {
|
|
36
|
-
expand: '展开',
|
|
37
|
-
retract: '收起'
|
|
38
|
-
},
|
|
39
|
-
loadMore: {
|
|
40
|
-
loadMore: '加载更多',
|
|
41
|
-
loading: '正在加载中...',
|
|
42
|
-
finished: '已加载完毕'
|
|
43
|
-
},
|
|
44
|
-
modal: {
|
|
45
|
-
confirm: '确定',
|
|
46
|
-
cancel: '取消'
|
|
47
|
-
},
|
|
48
|
-
pagination: {
|
|
49
|
-
prev: '上一页',
|
|
50
|
-
next: '下一页',
|
|
51
|
-
page: (value: number) => `当前页:${value}`,
|
|
52
|
-
total: (total: number) => `当前数据:${total}条`,
|
|
53
|
-
size: (size: number) => `分页大小:${size}`
|
|
54
|
-
},
|
|
55
|
-
picker: {
|
|
56
|
-
cancel: '取消',
|
|
57
|
-
confirm: '完成',
|
|
58
|
-
placeholder: '请选择'
|
|
59
|
-
},
|
|
60
|
-
datetimePicker: {
|
|
61
|
-
placeholder: '请选择时间',
|
|
62
|
-
confirm: '完成',
|
|
63
|
-
cancel: '取消'
|
|
64
|
-
},
|
|
65
|
-
addressPicker: {
|
|
66
|
-
cancel: '取消',
|
|
67
|
-
confirm: '完成',
|
|
68
|
-
placeholder: '请选择地址'
|
|
69
|
-
},
|
|
70
|
-
search: {
|
|
71
|
-
search: '搜索',
|
|
72
|
-
placeholder: '搜索内容'
|
|
73
|
-
},
|
|
74
|
-
upload: {
|
|
75
|
-
progressLabel: (value: number) => `上传进度${value}%`,
|
|
76
|
-
error: '上传失败'
|
|
77
|
-
},
|
|
78
|
-
signature: {
|
|
79
|
-
confirm: '确认',
|
|
80
|
-
clear: '清空',
|
|
81
|
-
revoke: '撤销',
|
|
82
|
-
restore: '恢复'
|
|
83
|
-
},
|
|
84
|
-
qrCode: {
|
|
85
|
-
loading: '二维码生成中...'
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* This file contains localization strings for various components.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
calendar: {
|
|
7
|
+
title: '选择日期',
|
|
8
|
+
day: '日',
|
|
9
|
+
week: '周',
|
|
10
|
+
month: '月',
|
|
11
|
+
year: '年',
|
|
12
|
+
confirm: '确定',
|
|
13
|
+
confirmDisabled: '确定',
|
|
14
|
+
startTime: '开始',
|
|
15
|
+
endTime: '结束',
|
|
16
|
+
to: '至',
|
|
17
|
+
timeFormat: 'YY年MM月DD日 HH:mm:ss',
|
|
18
|
+
dateFormat: 'YYYY年MM月DD日',
|
|
19
|
+
weekFormat: (year: number, week: number) => `${year} 第 ${week} 周`,
|
|
20
|
+
startWeek: '开始周',
|
|
21
|
+
endWeek: '结束周',
|
|
22
|
+
startMonth: '开始月',
|
|
23
|
+
endMonth: '结束月',
|
|
24
|
+
monthFormat: 'yyyy年MM月',
|
|
25
|
+
weeks: {
|
|
26
|
+
sun: '日',
|
|
27
|
+
mon: '一',
|
|
28
|
+
tue: '二',
|
|
29
|
+
wed: '三',
|
|
30
|
+
thu: '四',
|
|
31
|
+
fri: '五',
|
|
32
|
+
sat: '六'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
readMore: {
|
|
36
|
+
expand: '展开',
|
|
37
|
+
retract: '收起'
|
|
38
|
+
},
|
|
39
|
+
loadMore: {
|
|
40
|
+
loadMore: '加载更多',
|
|
41
|
+
loading: '正在加载中...',
|
|
42
|
+
finished: '已加载完毕'
|
|
43
|
+
},
|
|
44
|
+
modal: {
|
|
45
|
+
confirm: '确定',
|
|
46
|
+
cancel: '取消'
|
|
47
|
+
},
|
|
48
|
+
pagination: {
|
|
49
|
+
prev: '上一页',
|
|
50
|
+
next: '下一页',
|
|
51
|
+
page: (value: number) => `当前页:${value}`,
|
|
52
|
+
total: (total: number) => `当前数据:${total}条`,
|
|
53
|
+
size: (size: number) => `分页大小:${size}`
|
|
54
|
+
},
|
|
55
|
+
picker: {
|
|
56
|
+
cancel: '取消',
|
|
57
|
+
confirm: '完成',
|
|
58
|
+
placeholder: '请选择'
|
|
59
|
+
},
|
|
60
|
+
datetimePicker: {
|
|
61
|
+
placeholder: '请选择时间',
|
|
62
|
+
confirm: '完成',
|
|
63
|
+
cancel: '取消'
|
|
64
|
+
},
|
|
65
|
+
addressPicker: {
|
|
66
|
+
cancel: '取消',
|
|
67
|
+
confirm: '完成',
|
|
68
|
+
placeholder: '请选择地址'
|
|
69
|
+
},
|
|
70
|
+
search: {
|
|
71
|
+
search: '搜索',
|
|
72
|
+
placeholder: '搜索内容'
|
|
73
|
+
},
|
|
74
|
+
upload: {
|
|
75
|
+
progressLabel: (value: number) => `上传进度${value}%`,
|
|
76
|
+
error: '上传失败'
|
|
77
|
+
},
|
|
78
|
+
signature: {
|
|
79
|
+
confirm: '确认',
|
|
80
|
+
clear: '清空',
|
|
81
|
+
revoke: '撤销',
|
|
82
|
+
restore: '恢复'
|
|
83
|
+
},
|
|
84
|
+
qrCode: {
|
|
85
|
+
loading: '二维码生成中...'
|
|
86
|
+
}
|
|
87
|
+
}
|
package/libs/typing/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './modules/form'
|
|
2
|
-
export * from './modules/enum'
|
|
1
|
+
export * from './modules/form'
|
|
2
|
+
export * from './modules/enum'
|