yc-design-vue 1.8.6 → 1.8.7
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/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +33 -33
- package/es/Avatar/Avatar.vue.d.ts +2 -2
- package/es/Avatar/index.d.ts +5 -5
- package/es/Button/Button.vue.d.ts +3 -3
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/index.d.ts +12 -12
- package/es/Calendar/Calendar.vue.js +2 -3
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.d.ts +1 -1
- package/es/Card/index.d.ts +6 -6
- package/es/Cascader/Cascader.vue.d.ts +17 -17
- package/es/Cascader/index.d.ts +16 -16
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/index.d.ts +3 -3
- package/es/ColorPicker/ColorList.vue.js +3 -2
- package/es/ColorPicker/ColorPanel.vue.js +3 -2
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +3 -2
- package/es/Drawer/DrawerService.vue.d.ts +2 -2
- package/es/Drawer/index.d.ts +11 -11
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +2 -1
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +2 -1
- package/es/Image/ImagePreviewToolbar.vue.js +9 -8
- package/es/Image/index.d.ts +6 -6
- package/es/Input/Input.vue.d.ts +3 -3
- package/es/Input/index.d.ts +9 -9
- package/es/InputNumber/InputNumber.vue.d.ts +18 -18
- package/es/InputNumber/index.d.ts +19 -19
- package/es/InputTag/index.d.ts +6 -6
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/ListItemMeta.vue.d.ts +1 -1
- package/es/List/index.d.ts +9 -9
- package/es/Mention/index.d.ts +22 -22
- package/es/Mention/index.vue.d.ts +39 -39
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/index.d.ts +3 -3
- package/es/Modal/Modal.vue.d.ts +4 -4
- package/es/Modal/Modal.vue.js +3 -2
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/index.d.ts +11 -11
- package/es/Notification/Notification.vue.d.ts +1 -1
- package/es/Notification/index.d.ts +3 -3
- package/es/OverflowList/index.d.ts +3 -3
- package/es/OverflowList/index.vue.d.ts +1 -1
- package/es/Pagination/Pagination.vue.js +3 -2
- package/es/Pagination/hooks/useContext.d.ts +254 -3
- package/es/Pagination/hooks/useContext.js +1 -2
- package/es/Popconfirm/index.d.ts +19 -19
- package/es/Popconfirm/index.vue.d.ts +7 -7
- package/es/Popconfirm/index.vue.js +3 -2
- package/es/Progress/Progress.vue.d.ts +1 -1
- package/es/Progress/index.d.ts +3 -3
- package/es/Radio/Radio.vue.d.ts +1 -1
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/index.d.ts +6 -6
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Select.vue.d.ts +13 -13
- package/es/Select/index.d.ts +14 -14
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/index.d.ts +9 -9
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Split/index.d.ts +6 -6
- package/es/Split/index.vue.d.ts +2 -2
- package/es/Statistic/Countdown.vue.d.ts +2 -2
- package/es/Statistic/Statistic.vue.d.ts +2 -2
- package/es/Statistic/index.d.ts +12 -12
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Steps.vue.d.ts +1 -1
- package/es/Steps/index.d.ts +6 -6
- package/es/Switch/index.d.ts +6 -6
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Tabs/Tabs.vue.d.ts +3 -3
- package/es/Tabs/index.d.ts +8 -8
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Textarea/index.d.ts +6 -6
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +3 -3
- package/es/TimePicker/index.d.ts +9 -9
- package/es/Typography/TypographyBase.vue.d.ts +19 -19
- package/es/Typography/TypographyBase.vue.js +3 -2
- package/es/VerificationCode/index.d.ts +6 -6
- package/es/VerificationCode/index.vue.d.ts +2 -2
- package/es/_shared/icons/IconFullScreen.vue.js +17 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -17
- package/es/_shared/icons/IconOriginSize.vue.js +23 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -23
- package/es/_shared/icons/IconRotateLeft.vue.js +17 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -17
- package/es/_shared/icons/IconRotateRight.vue.js +17 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -17
- package/es/_shared/icons/IconZoomIn.vue.js +17 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -17
- package/es/_shared/icons/IconZoomOut.vue.js +17 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -17
- package/es/_shared/locale/i18n.d.ts +256 -0
- package/es/_shared/locale/i18n.js +3 -1
- package/es/index.d.ts +27 -27
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +33 -33
- package/lib/Avatar/Avatar.vue.d.ts +2 -2
- package/lib/Avatar/index.d.ts +5 -5
- package/lib/Button/Button.vue.d.ts +3 -3
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/index.d.ts +12 -12
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.d.ts +1 -1
- package/lib/Card/index.d.ts +6 -6
- package/lib/Cascader/Cascader.vue.d.ts +17 -17
- package/lib/Cascader/index.d.ts +16 -16
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +2 -2
- package/lib/Drawer/index.d.ts +11 -11
- package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Image/Image.vue.d.ts +2 -2
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/index.d.ts +6 -6
- package/lib/Input/Input.vue.d.ts +3 -3
- package/lib/Input/index.d.ts +9 -9
- package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
- package/lib/InputNumber/index.d.ts +19 -19
- package/lib/InputTag/index.d.ts +6 -6
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/List/List.vue.d.ts +7 -7
- package/lib/List/ListItemMeta.vue.d.ts +1 -1
- package/lib/List/index.d.ts +9 -9
- package/lib/Mention/index.d.ts +22 -22
- package/lib/Mention/index.vue.d.ts +39 -39
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Modal/Modal.vue.d.ts +4 -4
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- package/lib/Modal/index.d.ts +11 -11
- package/lib/Notification/Notification.vue.d.ts +1 -1
- package/lib/Notification/index.d.ts +3 -3
- package/lib/OverflowList/index.d.ts +3 -3
- package/lib/OverflowList/index.vue.d.ts +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +254 -3
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +19 -19
- package/lib/Popconfirm/index.vue.d.ts +7 -7
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.d.ts +1 -1
- package/lib/Progress/index.d.ts +3 -3
- package/lib/Radio/Radio.vue.d.ts +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/index.d.ts +6 -6
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Select.vue.d.ts +13 -13
- package/lib/Select/index.d.ts +14 -14
- package/lib/Slider/Slider.vue.d.ts +3 -3
- package/lib/Slider/index.d.ts +9 -9
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Spin/index.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +1 -1
- package/lib/Split/index.d.ts +6 -6
- package/lib/Split/index.vue.d.ts +2 -2
- package/lib/Statistic/Countdown.vue.d.ts +2 -2
- package/lib/Statistic/Statistic.vue.d.ts +2 -2
- package/lib/Statistic/index.d.ts +12 -12
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Steps.vue.d.ts +1 -1
- package/lib/Steps/index.d.ts +6 -6
- package/lib/Switch/index.d.ts +6 -6
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Tabs/Tabs.vue.d.ts +3 -3
- package/lib/Tabs/index.d.ts +8 -8
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Textarea/index.d.ts +6 -6
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
- package/lib/TimePicker/index.d.ts +9 -9
- package/lib/Typography/TypographyBase.vue.d.ts +19 -19
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.d.ts +6 -6
- package/lib/VerificationCode/index.vue.d.ts +2 -2
- package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/locale/i18n.d.ts +256 -0
- package/lib/_shared/locale/i18n.js +1 -1
- package/lib/index.d.ts +27 -27
- package/package.json +1 -1
@@ -80,13 +80,13 @@ declare function __VLS_template(): {
|
|
80
80
|
"visibility-change": (value: boolean) => any;
|
81
81
|
pressEnter: (ev: KeyboardEvent) => any;
|
82
82
|
}, string, {
|
83
|
-
size: import('..').Size;
|
84
|
-
disabled: boolean;
|
85
83
|
error: boolean;
|
86
84
|
placeholder: string;
|
85
|
+
maxLength: import('../Input').MaxLength;
|
86
|
+
size: import('..').Size;
|
87
|
+
disabled: boolean;
|
87
88
|
modelValue: string;
|
88
89
|
defaultValue: string;
|
89
|
-
maxLength: import('../Input').MaxLength;
|
90
90
|
showWordLimit: boolean;
|
91
91
|
allowClear: boolean;
|
92
92
|
readonly: boolean;
|
@@ -119,13 +119,13 @@ declare function __VLS_template(): {
|
|
119
119
|
$nextTick: typeof import('vue').nextTick;
|
120
120
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
121
121
|
} & Readonly<{
|
122
|
-
size: import('..').Size;
|
123
|
-
disabled: boolean;
|
124
122
|
error: boolean;
|
125
123
|
placeholder: string;
|
124
|
+
maxLength: import('../Input').MaxLength;
|
125
|
+
size: import('..').Size;
|
126
|
+
disabled: boolean;
|
126
127
|
modelValue: string;
|
127
128
|
defaultValue: string;
|
128
|
-
maxLength: import('../Input').MaxLength;
|
129
129
|
showWordLimit: boolean;
|
130
130
|
allowClear: boolean;
|
131
131
|
readonly: boolean;
|
@@ -148,7 +148,7 @@ declare function __VLS_template(): {
|
|
148
148
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
149
149
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
150
150
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
151
|
-
}>, "focus" | "blur" | "getInputRef" | ("
|
151
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "placeholder" | "maxLength" | "size" | "disabled" | "modelValue" | "defaultValue" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
152
152
|
focus(): void;
|
153
153
|
blur(): void;
|
154
154
|
getInputRef(): HTMLInputElement;
|
@@ -160,29 +160,29 @@ declare function __VLS_template(): {
|
|
160
160
|
};
|
161
161
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
162
162
|
declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
163
|
-
change: (value: string) => any;
|
164
163
|
copy: (value: string) => any;
|
165
|
-
ellipsis: (isEllipsis: boolean) => any;
|
166
164
|
expand: (expanded: boolean) => any;
|
165
|
+
change: (value: string) => any;
|
166
|
+
ellipsis: (isEllipsis: boolean) => any;
|
167
167
|
"update:editing": (value: boolean) => any;
|
168
168
|
"update:editText": (value: boolean) => any;
|
169
169
|
"edit-start": () => any;
|
170
170
|
"edit-end": () => any;
|
171
171
|
}, string, import('vue').PublicProps, Readonly<TypographyBaseProps> & Readonly<{
|
172
|
-
onChange?: ((value: string) => any) | undefined;
|
173
172
|
onCopy?: ((value: string) => any) | undefined;
|
174
|
-
onEllipsis?: ((isEllipsis: boolean) => any) | undefined;
|
175
173
|
onExpand?: ((expanded: boolean) => any) | undefined;
|
174
|
+
onChange?: ((value: string) => any) | undefined;
|
175
|
+
onEllipsis?: ((isEllipsis: boolean) => any) | undefined;
|
176
176
|
"onUpdate:editing"?: ((value: boolean) => any) | undefined;
|
177
177
|
"onUpdate:editText"?: ((value: boolean) => any) | undefined;
|
178
178
|
"onEdit-start"?: (() => any) | undefined;
|
179
179
|
"onEdit-end"?: (() => any) | undefined;
|
180
180
|
}>, {
|
181
181
|
delete: boolean;
|
182
|
+
type: import('./type').TypographyType;
|
182
183
|
ellipsis: boolean | import('./type').EllipsisConfig;
|
183
184
|
bold: boolean;
|
184
185
|
underline: boolean;
|
185
|
-
type: import('./type').TypographyType;
|
186
186
|
code: boolean;
|
187
187
|
mark: boolean;
|
188
188
|
tag: string;
|
@@ -273,13 +273,13 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
273
273
|
"visibility-change": (value: boolean) => any;
|
274
274
|
pressEnter: (ev: KeyboardEvent) => any;
|
275
275
|
}, string, {
|
276
|
-
size: import('..').Size;
|
277
|
-
disabled: boolean;
|
278
276
|
error: boolean;
|
279
277
|
placeholder: string;
|
278
|
+
maxLength: import('../Input').MaxLength;
|
279
|
+
size: import('..').Size;
|
280
|
+
disabled: boolean;
|
280
281
|
modelValue: string;
|
281
282
|
defaultValue: string;
|
282
|
-
maxLength: import('../Input').MaxLength;
|
283
283
|
showWordLimit: boolean;
|
284
284
|
allowClear: boolean;
|
285
285
|
readonly: boolean;
|
@@ -312,13 +312,13 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
312
312
|
$nextTick: typeof import('vue').nextTick;
|
313
313
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
314
314
|
} & Readonly<{
|
315
|
-
size: import('..').Size;
|
316
|
-
disabled: boolean;
|
317
315
|
error: boolean;
|
318
316
|
placeholder: string;
|
317
|
+
maxLength: import('../Input').MaxLength;
|
318
|
+
size: import('..').Size;
|
319
|
+
disabled: boolean;
|
319
320
|
modelValue: string;
|
320
321
|
defaultValue: string;
|
321
|
-
maxLength: import('../Input').MaxLength;
|
322
322
|
showWordLimit: boolean;
|
323
323
|
allowClear: boolean;
|
324
324
|
readonly: boolean;
|
@@ -341,7 +341,7 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
341
341
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
342
342
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
343
343
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
344
|
-
}>, "focus" | "blur" | "getInputRef" | ("
|
344
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "placeholder" | "maxLength" | "size" | "disabled" | "modelValue" | "defaultValue" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
345
345
|
focus(): void;
|
346
346
|
blur(): void;
|
347
347
|
getInputRef(): HTMLInputElement;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const
|
1
|
+
"use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js"),o=require("../_shared/locale/i18n.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const l=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const a=require("../_shared/icons/IconCopy.vue2.js"),r=require("../_shared/icons/IconEdit.vue2.js"),n=require("../_shared/icons/IconInfo.vue.js"),u=require("../_shared/utils/control.js"),d=require("../Input/index.js"),p=require("../Tooltip/index.js"),i=e.defineComponent({name:"TypographyBase",__name:"TypographyBase",props:{tag:{default:"span"},type:{default:void 0},bold:{type:Boolean,default:!1},disabled:{type:Boolean},mark:{type:Boolean,default:!1},underline:{type:Boolean,default:!1},delete:{type:Boolean,default:!1},code:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editing:{type:Boolean,default:void 0},defaultEditing:{type:Boolean,default:!1},editText:{default:""},copyable:{type:Boolean,default:!1},copyText:{default:""},copyDelay:{default:3e3},ellipsis:{type:[Boolean,Object],default:!0},editTooltiProps:{default:()=>({})},copyTooltiProps:{default:()=>({})}},emits:["update:editing","update:editText","edit-start","change","copy","edit-end","ellipsis","expand"],setup(i,{emit:s}){const c=i,y=s,{editing:f,defaultEditing:v,editText:m,copyText:g,copyable:h,copyDelay:B,code:k,mark:x,delete:_,underline:T,bold:C}=e.toRefs(c),{isSupported:b,copy:j}=t.useClipboard(),q=e.ref(!1),V=e.ref(),E=e.ref(),N=u(f,v.value,e=>{y("update:editing",e)}),w=u(m,"",e=>{y("update:editText",e),y("change",e)}),D=e.computed(()=>{const e=[x.value,k.value,_.value,T.value,C.value];return["mark","code","del","u","b"].filter((t,o)=>e[o])}),I=e.defineComponent({props:{tags:{type:Array,default:()=>[]}},setup:(t,{slots:o})=>()=>{var l;const{tags:a}=e.toRefs(t),r=(t,o)=>o>=a.value.length?t:e.h(a.value[o],null,r(t,o+1));return r(null==(l=o.default)?void 0:l.call(o),0)}}),P=async()=>{var e;N.value=!0,w.value=w.value?w.value:l.getDomText(V),y("edit-start"),await l.sleep(0),null==(e=E.value)||e.focus()},R=()=>{N.value=!1,y("edit-end")},S=async()=>{if(!h.value||!b.value||q.value)return;const e=g.value||l.getDomText(V);j(e),y("copy",e),q.value=!0,await l.sleep(B.value),q.value=!1};return(t,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(["yc-typography",{[`yc-typography-${t.type}`]:t.type,"yc-typography-bold":e.unref(C),"yc-typography-disabled":t.disabled,"yc-typography-underline":e.unref(T),"yc-typography-delete":e.unref(_)}]),ref_key:"contentRef",ref:V},{default:e.withCtx(()=>[e.unref(N)?(e.openBlock(),e.createBlock(e.unref(d),{key:0,modelValue:e.unref(w),"onUpdate:modelValue":l[0]||(l[0]=t=>e.isRef(w)?w.value=t:null),ref_key:"inputRef",ref:E,onBlur:R},null,8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(I),{key:1,tags:D.value},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["tags"])),t.editable&&!e.unref(N)?(e.openBlock(),e.createElementBlock("span",{key:2,class:"yc-typography-operation-edit",onClick:P},[e.createVNode(e.unref(p),e.mergeProps({content:e.unref(o.t)("typography.edit"),position:"top"},t.editTooltiProps),{default:e.withCtx(()=>[e.createElementVNode("span",null,[e.createVNode(e.unref(r))])]),_:1},16,["content"])])):e.createCommentVNode("",!0),e.unref(h)?(e.openBlock(),e.createElementBlock("span",{key:3,class:"yc-typography-operation-copy",onClick:S},[e.createVNode(e.unref(p),e.mergeProps({position:"top"},t.copyTooltiProps),{content:e.withCtx(()=>[e.renderSlot(t.$slots,"copy-tooltip",{copied:q.value},()=>[e.createTextVNode(e.toDisplayString(e.unref(o.t)("typography."+(q.value?"copied":"copy"))),1)])]),default:e.withCtx(()=>[e.createElementVNode("span",null,[e.renderSlot(t.$slots,"copy-icon",{copied:q.value},()=>[q.value?(e.openBlock(),e.createBlock(e.unref(n),{key:0,color:"rgb(0, 180, 42)"})):(e.openBlock(),e.createBlock(e.unref(a),{key:1}))])])]),_:3},16)])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}});module.exports=i;
|
@@ -14,10 +14,10 @@ declare const VerificationCode: {
|
|
14
14
|
"update:modelValue": (value: string) => any;
|
15
15
|
finish: (value: string) => any;
|
16
16
|
}, import('vue').PublicProps, {
|
17
|
-
|
17
|
+
error: boolean;
|
18
18
|
length: number;
|
19
|
+
size: import('..').Size;
|
19
20
|
disabled: boolean;
|
20
|
-
error: boolean;
|
21
21
|
modelValue: string;
|
22
22
|
defaultValue: string;
|
23
23
|
readonly: boolean;
|
@@ -34,10 +34,10 @@ declare const VerificationCode: {
|
|
34
34
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
35
35
|
onFinish?: ((value: string) => any) | undefined;
|
36
36
|
}>, {}, {}, {}, {}, {
|
37
|
-
|
37
|
+
error: boolean;
|
38
38
|
length: number;
|
39
|
+
size: import('..').Size;
|
39
40
|
disabled: boolean;
|
40
|
-
error: boolean;
|
41
41
|
modelValue: string;
|
42
42
|
defaultValue: string;
|
43
43
|
readonly: boolean;
|
@@ -56,10 +56,10 @@ declare const VerificationCode: {
|
|
56
56
|
"update:modelValue": (value: string) => any;
|
57
57
|
finish: (value: string) => any;
|
58
58
|
}, string, {
|
59
|
-
|
59
|
+
error: boolean;
|
60
60
|
length: number;
|
61
|
+
size: import('..').Size;
|
61
62
|
disabled: boolean;
|
62
|
-
error: boolean;
|
63
63
|
modelValue: string;
|
64
64
|
defaultValue: string;
|
65
65
|
readonly: boolean;
|
@@ -10,10 +10,10 @@ declare const _default: import('vue').DefineComponent<VerificationCodeProps, {},
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
11
11
|
onFinish?: ((value: string) => any) | undefined;
|
12
12
|
}>, {
|
13
|
-
|
13
|
+
error: boolean;
|
14
14
|
length: number;
|
15
|
+
size: import('..').Size;
|
15
16
|
disabled: boolean;
|
16
|
-
error: boolean;
|
17
17
|
modelValue: string;
|
18
18
|
defaultValue: string;
|
19
19
|
readonly: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("
|
1
|
+
"use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconFullScreen",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue
|
1
|
+
"use strict";const e=require("./IconFullScreen.vue.js");module.exports=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("
|
1
|
+
"use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconOriginSize",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"m5.5 11.5 5-2.5h1v32M34 11.5 39 9h1v32"},null,-1),e.createElementVNode("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z",fill:"currentColor",stroke:"none"},null,-1),e.createElementVNode("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue
|
1
|
+
"use strict";const e=require("./IconOriginSize.vue.js");module.exports=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("
|
1
|
+
"use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconRotateLeft",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M10 22a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V22ZM23 11h11a6 6 0 0 1 6 6v6M22.5 12.893 19.587 11 22.5 9.107v3.786Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue
|
1
|
+
"use strict";const e=require("./IconRotateLeft.vue.js");module.exports=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("
|
1
|
+
"use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconRotateRight",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M38 22a1 1 0 0 0-1-1H17a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V22ZM25 11H14a6 6 0 0 0-6 6v6M25.5 12.893 28.413 11 25.5 9.107v3.786Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue
|
1
|
+
"use strict";const e=require("./IconRotateRight.vue.js");module.exports=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("
|
1
|
+
"use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconZoomIn",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15m7 7V15"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue
|
1
|
+
"use strict";const e=require("./IconZoomIn.vue.js");module.exports=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("
|
1
|
+
"use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconZoomOut",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue
|
1
|
+
"use strict";const e=require("./IconZoomOut.vue.js");module.exports=e;
|
@@ -252,5 +252,261 @@ declare const i18n: import('vue-i18n').I18n<{
|
|
252
252
|
};
|
253
253
|
};
|
254
254
|
}, {}, {}, string>;
|
255
|
+
export declare const t: import('vue-i18n').ComposerTranslation<{
|
256
|
+
'zh-CN': {
|
257
|
+
empty: {
|
258
|
+
description: string;
|
259
|
+
};
|
260
|
+
drawer: {
|
261
|
+
okText: string;
|
262
|
+
cancelText: string;
|
263
|
+
};
|
264
|
+
popconfirm: {
|
265
|
+
okText: string;
|
266
|
+
cancelText: string;
|
267
|
+
};
|
268
|
+
modal: {
|
269
|
+
okText: string;
|
270
|
+
cancelText: string;
|
271
|
+
};
|
272
|
+
pagination: {
|
273
|
+
goto: string;
|
274
|
+
page: string;
|
275
|
+
countPerPage: string;
|
276
|
+
total: string;
|
277
|
+
};
|
278
|
+
calendar: {
|
279
|
+
formatYear: string;
|
280
|
+
formatMonth: string;
|
281
|
+
today: string;
|
282
|
+
view: {
|
283
|
+
month: string;
|
284
|
+
year: string;
|
285
|
+
week: string;
|
286
|
+
day: string;
|
287
|
+
};
|
288
|
+
month: {
|
289
|
+
long: {
|
290
|
+
January: string;
|
291
|
+
February: string;
|
292
|
+
March: string;
|
293
|
+
April: string;
|
294
|
+
May: string;
|
295
|
+
June: string;
|
296
|
+
July: string;
|
297
|
+
August: string;
|
298
|
+
September: string;
|
299
|
+
October: string;
|
300
|
+
November: string;
|
301
|
+
December: string;
|
302
|
+
};
|
303
|
+
short: {
|
304
|
+
January: string;
|
305
|
+
February: string;
|
306
|
+
March: string;
|
307
|
+
April: string;
|
308
|
+
May: string;
|
309
|
+
June: string;
|
310
|
+
July: string;
|
311
|
+
August: string;
|
312
|
+
September: string;
|
313
|
+
October: string;
|
314
|
+
November: string;
|
315
|
+
December: string;
|
316
|
+
};
|
317
|
+
};
|
318
|
+
week: {
|
319
|
+
long: {
|
320
|
+
self: string;
|
321
|
+
monday: string;
|
322
|
+
tuesday: string;
|
323
|
+
wednesday: string;
|
324
|
+
thursday: string;
|
325
|
+
friday: string;
|
326
|
+
saturday: string;
|
327
|
+
sunday: string;
|
328
|
+
};
|
329
|
+
short: {
|
330
|
+
self: string;
|
331
|
+
monday: string;
|
332
|
+
tuesday: string;
|
333
|
+
wednesday: string;
|
334
|
+
thursday: string;
|
335
|
+
friday: string;
|
336
|
+
saturday: string;
|
337
|
+
sunday: string;
|
338
|
+
};
|
339
|
+
};
|
340
|
+
};
|
341
|
+
image: {
|
342
|
+
loading: string;
|
343
|
+
};
|
344
|
+
imagePreview: {
|
345
|
+
fullScreen: string;
|
346
|
+
rotateRight: string;
|
347
|
+
rotateLeft: string;
|
348
|
+
zoomIn: string;
|
349
|
+
zoomOut: string;
|
350
|
+
originalSize: string;
|
351
|
+
};
|
352
|
+
typography: {
|
353
|
+
copied: string;
|
354
|
+
copy: string;
|
355
|
+
expand: string;
|
356
|
+
collapse: string;
|
357
|
+
edit: string;
|
358
|
+
};
|
359
|
+
colorPicker: {
|
360
|
+
history: string;
|
361
|
+
preset: string;
|
362
|
+
empty: string;
|
363
|
+
};
|
364
|
+
table: {
|
365
|
+
okText: string;
|
366
|
+
resetText: string;
|
367
|
+
};
|
368
|
+
upload: {
|
369
|
+
start: string;
|
370
|
+
cancel: string;
|
371
|
+
delete: string;
|
372
|
+
retry: string;
|
373
|
+
buttonText: string;
|
374
|
+
preview: string;
|
375
|
+
drag: string;
|
376
|
+
dragHover: string;
|
377
|
+
error: string;
|
378
|
+
};
|
379
|
+
datePicker: {
|
380
|
+
view: {
|
381
|
+
month: string;
|
382
|
+
year: string;
|
383
|
+
week: string;
|
384
|
+
day: string;
|
385
|
+
};
|
386
|
+
month: {
|
387
|
+
long: {
|
388
|
+
January: string;
|
389
|
+
February: string;
|
390
|
+
March: string;
|
391
|
+
April: string;
|
392
|
+
May: string;
|
393
|
+
June: string;
|
394
|
+
July: string;
|
395
|
+
August: string;
|
396
|
+
September: string;
|
397
|
+
October: string;
|
398
|
+
November: string;
|
399
|
+
December: string;
|
400
|
+
};
|
401
|
+
short: {
|
402
|
+
January: string;
|
403
|
+
February: string;
|
404
|
+
March: string;
|
405
|
+
April: string;
|
406
|
+
May: string;
|
407
|
+
June: string;
|
408
|
+
July: string;
|
409
|
+
August: string;
|
410
|
+
September: string;
|
411
|
+
October: string;
|
412
|
+
November: string;
|
413
|
+
December: string;
|
414
|
+
};
|
415
|
+
};
|
416
|
+
week: {
|
417
|
+
long: {
|
418
|
+
self: string;
|
419
|
+
monday: string;
|
420
|
+
tuesday: string;
|
421
|
+
wednesday: string;
|
422
|
+
thursday: string;
|
423
|
+
friday: string;
|
424
|
+
saturday: string;
|
425
|
+
sunday: string;
|
426
|
+
};
|
427
|
+
short: {
|
428
|
+
self: string;
|
429
|
+
monday: string;
|
430
|
+
tuesday: string;
|
431
|
+
wednesday: string;
|
432
|
+
thursday: string;
|
433
|
+
friday: string;
|
434
|
+
saturday: string;
|
435
|
+
sunday: string;
|
436
|
+
};
|
437
|
+
};
|
438
|
+
placeholder: {
|
439
|
+
date: string;
|
440
|
+
week: string;
|
441
|
+
month: string;
|
442
|
+
year: string;
|
443
|
+
quarter: string;
|
444
|
+
time: string;
|
445
|
+
};
|
446
|
+
rangePlaceholder: {
|
447
|
+
date: string[];
|
448
|
+
week: string[];
|
449
|
+
month: string[];
|
450
|
+
year: string[];
|
451
|
+
quarter: string[];
|
452
|
+
time: string[];
|
453
|
+
};
|
454
|
+
selectTime: string;
|
455
|
+
today: string;
|
456
|
+
now: string;
|
457
|
+
ok: string;
|
458
|
+
};
|
459
|
+
form: {
|
460
|
+
validateMessages: {
|
461
|
+
required: string;
|
462
|
+
type: {
|
463
|
+
string: string;
|
464
|
+
number: string;
|
465
|
+
boolean: string;
|
466
|
+
array: string;
|
467
|
+
object: string;
|
468
|
+
url: string;
|
469
|
+
email: string;
|
470
|
+
ip: string;
|
471
|
+
};
|
472
|
+
number: {
|
473
|
+
min: string;
|
474
|
+
max: string;
|
475
|
+
equal: string;
|
476
|
+
range: string;
|
477
|
+
positive: string;
|
478
|
+
negative: string;
|
479
|
+
};
|
480
|
+
array: {
|
481
|
+
length: string;
|
482
|
+
minLength: string;
|
483
|
+
maxLength: string;
|
484
|
+
includes: string;
|
485
|
+
deepEqual: string;
|
486
|
+
empty: string;
|
487
|
+
};
|
488
|
+
string: {
|
489
|
+
minLength: string;
|
490
|
+
maxLength: string;
|
491
|
+
length: string;
|
492
|
+
match: string;
|
493
|
+
uppercase: string;
|
494
|
+
lowercase: string;
|
495
|
+
};
|
496
|
+
object: {
|
497
|
+
deepEqual: string;
|
498
|
+
hasKeys: string;
|
499
|
+
empty: string;
|
500
|
+
};
|
501
|
+
boolean: {
|
502
|
+
true: string;
|
503
|
+
false: string;
|
504
|
+
};
|
505
|
+
};
|
506
|
+
};
|
507
|
+
};
|
508
|
+
}, "zh-CN", import('@intlify/core-base').RemoveIndexSignature<{
|
509
|
+
[x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
|
510
|
+
}>, never, "empty.description" | "drawer.okText" | "drawer.cancelText" | "popconfirm.okText" | "popconfirm.cancelText" | "modal.okText" | "modal.cancelText" | "pagination.goto" | "pagination.page" | "pagination.countPerPage" | "pagination.total" | "calendar.formatYear" | "calendar.formatMonth" | "calendar.today" | "calendar.view.month" | "calendar.view.week" | "calendar.view.year" | "calendar.view.day" | "calendar.month.long.January" | "calendar.month.long.February" | "calendar.month.long.March" | "calendar.month.long.April" | "calendar.month.long.May" | "calendar.month.long.June" | "calendar.month.long.July" | "calendar.month.long.August" | "calendar.month.long.September" | "calendar.month.long.October" | "calendar.month.long.November" | "calendar.month.long.December" | "calendar.month.short.January" | "calendar.month.short.February" | "calendar.month.short.March" | "calendar.month.short.April" | "calendar.month.short.May" | "calendar.month.short.June" | "calendar.month.short.July" | "calendar.month.short.August" | "calendar.month.short.September" | "calendar.month.short.October" | "calendar.month.short.November" | "calendar.month.short.December" | "calendar.week.long.self" | "calendar.week.long.monday" | "calendar.week.long.tuesday" | "calendar.week.long.wednesday" | "calendar.week.long.thursday" | "calendar.week.long.friday" | "calendar.week.long.saturday" | "calendar.week.long.sunday" | "calendar.week.short.self" | "calendar.week.short.monday" | "calendar.week.short.tuesday" | "calendar.week.short.wednesday" | "calendar.week.short.thursday" | "calendar.week.short.friday" | "calendar.week.short.saturday" | "calendar.week.short.sunday" | "image.loading" | "imagePreview.fullScreen" | "imagePreview.rotateRight" | "imagePreview.rotateLeft" | "imagePreview.zoomIn" | "imagePreview.zoomOut" | "imagePreview.originalSize" | "typography.copied" | "typography.copy" | "typography.expand" | "typography.collapse" | "typography.edit" | "colorPicker.empty" | "colorPicker.history" | "colorPicker.preset" | "table.okText" | "table.resetText" | "upload.start" | "upload.cancel" | "upload.delete" | "upload.retry" | "upload.buttonText" | "upload.preview" | "upload.drag" | "upload.dragHover" | "upload.error" | "datePicker.today" | "datePicker.view.month" | "datePicker.view.week" | "datePicker.view.year" | "datePicker.view.day" | "datePicker.month.long.January" | "datePicker.month.long.February" | "datePicker.month.long.March" | "datePicker.month.long.April" | "datePicker.month.long.May" | "datePicker.month.long.June" | "datePicker.month.long.July" | "datePicker.month.long.August" | "datePicker.month.long.September" | "datePicker.month.long.October" | "datePicker.month.long.November" | "datePicker.month.long.December" | "datePicker.month.short.January" | "datePicker.month.short.February" | "datePicker.month.short.March" | "datePicker.month.short.April" | "datePicker.month.short.May" | "datePicker.month.short.June" | "datePicker.month.short.July" | "datePicker.month.short.August" | "datePicker.month.short.September" | "datePicker.month.short.October" | "datePicker.month.short.November" | "datePicker.month.short.December" | "datePicker.week.long.self" | "datePicker.week.long.monday" | "datePicker.week.long.tuesday" | "datePicker.week.long.wednesday" | "datePicker.week.long.thursday" | "datePicker.week.long.friday" | "datePicker.week.long.saturday" | "datePicker.week.long.sunday" | "datePicker.week.short.self" | "datePicker.week.short.monday" | "datePicker.week.short.tuesday" | "datePicker.week.short.wednesday" | "datePicker.week.short.thursday" | "datePicker.week.short.friday" | "datePicker.week.short.saturday" | "datePicker.week.short.sunday" | "datePicker.selectTime" | "datePicker.now" | "datePicker.ok" | "datePicker.placeholder.month" | "datePicker.placeholder.week" | "datePicker.placeholder.year" | "datePicker.placeholder.date" | "datePicker.placeholder.quarter" | "datePicker.placeholder.time" | "datePicker.rangePlaceholder.month.length" | "datePicker.rangePlaceholder.week.length" | "datePicker.rangePlaceholder.year.length" | "datePicker.rangePlaceholder.date.length" | "datePicker.rangePlaceholder.quarter.length" | "datePicker.rangePlaceholder.time.length" | "form.validateMessages.required" | "form.validateMessages.string.length" | "form.validateMessages.string.minLength" | "form.validateMessages.string.maxLength" | "form.validateMessages.string.match" | "form.validateMessages.string.uppercase" | "form.validateMessages.string.lowercase" | "form.validateMessages.number.min" | "form.validateMessages.number.max" | "form.validateMessages.number.equal" | "form.validateMessages.number.range" | "form.validateMessages.number.positive" | "form.validateMessages.number.negative" | "form.validateMessages.boolean.true" | "form.validateMessages.boolean.false" | "form.validateMessages.object.empty" | "form.validateMessages.object.deepEqual" | "form.validateMessages.object.hasKeys" | "form.validateMessages.type.string" | "form.validateMessages.type.number" | "form.validateMessages.type.boolean" | "form.validateMessages.type.object" | "form.validateMessages.type.array" | "form.validateMessages.type.url" | "form.validateMessages.type.email" | "form.validateMessages.type.ip" | "form.validateMessages.array.empty" | "form.validateMessages.array.length" | "form.validateMessages.array.includes" | "form.validateMessages.array.minLength" | "form.validateMessages.array.maxLength" | "form.validateMessages.array.deepEqual", "empty.description" | "drawer.okText" | "drawer.cancelText" | "popconfirm.okText" | "popconfirm.cancelText" | "modal.okText" | "modal.cancelText" | "pagination.goto" | "pagination.page" | "pagination.countPerPage" | "pagination.total" | "calendar.formatYear" | "calendar.formatMonth" | "calendar.today" | "calendar.view.month" | "calendar.view.week" | "calendar.view.year" | "calendar.view.day" | "calendar.month.long.January" | "calendar.month.long.February" | "calendar.month.long.March" | "calendar.month.long.April" | "calendar.month.long.May" | "calendar.month.long.June" | "calendar.month.long.July" | "calendar.month.long.August" | "calendar.month.long.September" | "calendar.month.long.October" | "calendar.month.long.November" | "calendar.month.long.December" | "calendar.month.short.January" | "calendar.month.short.February" | "calendar.month.short.March" | "calendar.month.short.April" | "calendar.month.short.May" | "calendar.month.short.June" | "calendar.month.short.July" | "calendar.month.short.August" | "calendar.month.short.September" | "calendar.month.short.October" | "calendar.month.short.November" | "calendar.month.short.December" | "calendar.week.long.self" | "calendar.week.long.monday" | "calendar.week.long.tuesday" | "calendar.week.long.wednesday" | "calendar.week.long.thursday" | "calendar.week.long.friday" | "calendar.week.long.saturday" | "calendar.week.long.sunday" | "calendar.week.short.self" | "calendar.week.short.monday" | "calendar.week.short.tuesday" | "calendar.week.short.wednesday" | "calendar.week.short.thursday" | "calendar.week.short.friday" | "calendar.week.short.saturday" | "calendar.week.short.sunday" | "image.loading" | "imagePreview.fullScreen" | "imagePreview.rotateRight" | "imagePreview.rotateLeft" | "imagePreview.zoomIn" | "imagePreview.zoomOut" | "imagePreview.originalSize" | "typography.copied" | "typography.copy" | "typography.expand" | "typography.collapse" | "typography.edit" | "colorPicker.empty" | "colorPicker.history" | "colorPicker.preset" | "table.okText" | "table.resetText" | "upload.start" | "upload.cancel" | "upload.delete" | "upload.retry" | "upload.buttonText" | "upload.preview" | "upload.drag" | "upload.dragHover" | "upload.error" | "datePicker.today" | "datePicker.view.month" | "datePicker.view.week" | "datePicker.view.year" | "datePicker.view.day" | "datePicker.month.long.January" | "datePicker.month.long.February" | "datePicker.month.long.March" | "datePicker.month.long.April" | "datePicker.month.long.May" | "datePicker.month.long.June" | "datePicker.month.long.July" | "datePicker.month.long.August" | "datePicker.month.long.September" | "datePicker.month.long.October" | "datePicker.month.long.November" | "datePicker.month.long.December" | "datePicker.month.short.January" | "datePicker.month.short.February" | "datePicker.month.short.March" | "datePicker.month.short.April" | "datePicker.month.short.May" | "datePicker.month.short.June" | "datePicker.month.short.July" | "datePicker.month.short.August" | "datePicker.month.short.September" | "datePicker.month.short.October" | "datePicker.month.short.November" | "datePicker.month.short.December" | "datePicker.week.long.self" | "datePicker.week.long.monday" | "datePicker.week.long.tuesday" | "datePicker.week.long.wednesday" | "datePicker.week.long.thursday" | "datePicker.week.long.friday" | "datePicker.week.long.saturday" | "datePicker.week.long.sunday" | "datePicker.week.short.self" | "datePicker.week.short.monday" | "datePicker.week.short.tuesday" | "datePicker.week.short.wednesday" | "datePicker.week.short.thursday" | "datePicker.week.short.friday" | "datePicker.week.short.saturday" | "datePicker.week.short.sunday" | "datePicker.selectTime" | "datePicker.now" | "datePicker.ok" | "datePicker.placeholder.month" | "datePicker.placeholder.week" | "datePicker.placeholder.year" | "datePicker.placeholder.date" | "datePicker.placeholder.quarter" | "datePicker.placeholder.time" | "datePicker.rangePlaceholder.month.length" | "datePicker.rangePlaceholder.week.length" | "datePicker.rangePlaceholder.year.length" | "datePicker.rangePlaceholder.date.length" | "datePicker.rangePlaceholder.quarter.length" | "datePicker.rangePlaceholder.time.length" | "form.validateMessages.required" | "form.validateMessages.string.length" | "form.validateMessages.string.minLength" | "form.validateMessages.string.maxLength" | "form.validateMessages.string.match" | "form.validateMessages.string.uppercase" | "form.validateMessages.string.lowercase" | "form.validateMessages.number.min" | "form.validateMessages.number.max" | "form.validateMessages.number.equal" | "form.validateMessages.number.range" | "form.validateMessages.number.positive" | "form.validateMessages.number.negative" | "form.validateMessages.boolean.true" | "form.validateMessages.boolean.false" | "form.validateMessages.object.empty" | "form.validateMessages.object.deepEqual" | "form.validateMessages.object.hasKeys" | "form.validateMessages.type.string" | "form.validateMessages.type.number" | "form.validateMessages.type.boolean" | "form.validateMessages.type.object" | "form.validateMessages.type.array" | "form.validateMessages.type.url" | "form.validateMessages.type.email" | "form.validateMessages.type.ip" | "form.validateMessages.array.empty" | "form.validateMessages.array.length" | "form.validateMessages.array.includes" | "form.validateMessages.array.minLength" | "form.validateMessages.array.maxLength" | "form.validateMessages.array.deepEqual">;
|
255
511
|
export declare function loadLanguageAsync(locale: string): Promise<string>;
|
256
512
|
export default i18n;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./lang/zh-cn.json.js"),s=require("../../node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js").createI18n({locale:"zh-CN",fallbackLocale:"zh-CN",messages:{"zh-CN":e.default},globalInjection:!0,missingWarn:!1,fallbackWarn:!1}),n=s.global,r=Object.assign({"./lang/ar-eg.json":()=>Promise.resolve().then(()=>require("./lang/ar-eg.json.js")),"./lang/de-de.json":()=>Promise.resolve().then(()=>require("./lang/de-de.json.js")),"./lang/en-us.json":()=>Promise.resolve().then(()=>require("./lang/en-us.json.js")),"./lang/es-es.json":()=>Promise.resolve().then(()=>require("./lang/es-es.json.js")),"./lang/fr-fr.json":()=>Promise.resolve().then(()=>require("./lang/fr-fr.json.js")),"./lang/id-id.json":()=>Promise.resolve().then(()=>require("./lang/id-id.json.js")),"./lang/it-it.json":()=>Promise.resolve().then(()=>require("./lang/it-it.json.js")),"./lang/ja-jp.json":()=>Promise.resolve().then(()=>require("./lang/ja-jp.json.js")),"./lang/km-kh.json":()=>Promise.resolve().then(()=>require("./lang/km-kh.json.js")),"./lang/ko-kr.json":()=>Promise.resolve().then(()=>require("./lang/ko-kr.json.js")),"./lang/ms-my.json":()=>Promise.resolve().then(()=>require("./lang/ms-my.json.js")),"./lang/nl-nl.json":()=>Promise.resolve().then(()=>require("./lang/nl-nl.json.js")),"./lang/pt-pt.json":()=>Promise.resolve().then(()=>require("./lang/pt-pt.json.js")),"./lang/ru-ru.json":()=>Promise.resolve().then(()=>require("./lang/ru-ru.json.js")),"./lang/th-th.json":()=>Promise.resolve().then(()=>require("./lang/th-th.json.js")),"./lang/vi-vn.json":()=>Promise.resolve().then(()=>require("./lang/vi-vn.json.js")),"./lang/zh-cn.json":()=>Promise.resolve().then(()=>require("./lang/zh-cn.json.js")),"./lang/zh-tw.json":()=>Promise.resolve().then(()=>require("./lang/zh-tw.json.js"))});exports.default=s,exports.loadLanguageAsync=async function(e){const s=Object.keys(n.messages.value);if(n.locale.value===e||s.includes(e))return n.locale.value=e,e;try{const s=e.split("-").map(e=>e.toLocaleLowerCase()).join("-"),o=`./lang/${s}.json`;if(r[o]){const s=await r[o]();return n.setLocaleMessage(e,s.default),n.locale.value=e,e}throw new Error(`无法找到语言文件: ${s}.json`)}catch(o){return n.locale.value}};
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./lang/zh-cn.json.js"),s=require("../../node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js").createI18n({locale:"zh-CN",fallbackLocale:"zh-CN",messages:{"zh-CN":e.default},globalInjection:!0,missingWarn:!1,fallbackWarn:!1}),n=s.global,o=s.global.t,r=Object.assign({"./lang/ar-eg.json":()=>Promise.resolve().then(()=>require("./lang/ar-eg.json.js")),"./lang/de-de.json":()=>Promise.resolve().then(()=>require("./lang/de-de.json.js")),"./lang/en-us.json":()=>Promise.resolve().then(()=>require("./lang/en-us.json.js")),"./lang/es-es.json":()=>Promise.resolve().then(()=>require("./lang/es-es.json.js")),"./lang/fr-fr.json":()=>Promise.resolve().then(()=>require("./lang/fr-fr.json.js")),"./lang/id-id.json":()=>Promise.resolve().then(()=>require("./lang/id-id.json.js")),"./lang/it-it.json":()=>Promise.resolve().then(()=>require("./lang/it-it.json.js")),"./lang/ja-jp.json":()=>Promise.resolve().then(()=>require("./lang/ja-jp.json.js")),"./lang/km-kh.json":()=>Promise.resolve().then(()=>require("./lang/km-kh.json.js")),"./lang/ko-kr.json":()=>Promise.resolve().then(()=>require("./lang/ko-kr.json.js")),"./lang/ms-my.json":()=>Promise.resolve().then(()=>require("./lang/ms-my.json.js")),"./lang/nl-nl.json":()=>Promise.resolve().then(()=>require("./lang/nl-nl.json.js")),"./lang/pt-pt.json":()=>Promise.resolve().then(()=>require("./lang/pt-pt.json.js")),"./lang/ru-ru.json":()=>Promise.resolve().then(()=>require("./lang/ru-ru.json.js")),"./lang/th-th.json":()=>Promise.resolve().then(()=>require("./lang/th-th.json.js")),"./lang/vi-vn.json":()=>Promise.resolve().then(()=>require("./lang/vi-vn.json.js")),"./lang/zh-cn.json":()=>Promise.resolve().then(()=>require("./lang/zh-cn.json.js")),"./lang/zh-tw.json":()=>Promise.resolve().then(()=>require("./lang/zh-tw.json.js"))});exports.default=s,exports.loadLanguageAsync=async function(e){const s=Object.keys(n.messages.value);if(n.locale.value===e||s.includes(e))return n.locale.value=e,e;try{const s=e.split("-").map(e=>e.toLocaleLowerCase()).join("-"),o=`./lang/${s}.json`;if(r[o]){const s=await r[o]();return n.setLocaleMessage(e,s.default),n.locale.value=e,e}throw new Error(`无法找到语言文件: ${s}.json`)}catch(o){return n.locale.value}},exports.t=o;
|