yc-design-vue 1.0.5 → 1.0.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 +10 -10
- package/es/AutoComplete/index.vue.d.ts +20 -20
- package/es/BackTop/index.vue.js +1 -1
- package/es/BackTop/index.vue2.js +0 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/es/Cascader/Cascader.vue.js +1 -1
- package/es/Cascader/Cascader.vue2.js +0 -2
- package/es/Cascader/CascaderOption.vue.d.ts +1 -1
- package/es/ColorPicker/hooks/useContext.d.ts +1 -1
- package/es/Descriptions/Descriptions.vue.d.ts +1 -1
- package/es/Descriptions/hooks/useContext.d.ts +1 -1
- package/es/Descriptions/index.d.ts +3 -3
- package/es/Drawer/Drawer.vue.d.ts +1 -1
- package/es/Drawer/DrawerService.vue.d.ts +1 -1
- package/es/Drawer/index.d.ts +3 -3
- package/es/Drawer/index.js +0 -1
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreview.vue2.js +2 -1
- package/es/InputTag/index.d.ts +5 -5
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/List/List.vue.d.ts +2 -2
- package/es/List/index.d.ts +1 -1
- package/es/Mention/index.d.ts +13 -13
- package/es/Mention/index.vue.d.ts +21 -21
- package/es/Menu/hooks/useContext.js +0 -1
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/index.d.ts +3 -3
- package/es/Modal/Modal.vue.d.ts +2 -2
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/hooks/useModalClose.d.ts +1 -1
- package/es/Modal/hooks/useModalClose.js +2 -2
- package/es/Modal/index.d.ts +6 -6
- package/es/Modal/index.js +0 -1
- package/es/Notification/Notification.vue.d.ts +3 -3
- package/es/Notification/index.d.ts +9 -9
- package/es/Pagination/hooks/useContext.d.ts +1 -1
- package/es/Popover/index.d.ts +3 -3
- package/es/Popover/index.vue.d.ts +1 -1
- package/es/Progress/ProgressCircle.vue2.js +1 -1
- package/es/Select/Select.vue.d.ts +12 -12
- package/es/Select/index.d.ts +10 -10
- package/es/Statistic/Countdown.vue.d.ts +1 -1
- package/es/Statistic/Statistic.vue.d.ts +1 -1
- package/es/Statistic/index.d.ts +6 -6
- package/es/Tabs/hooks/useContext.d.ts +1 -1
- package/es/Transfer/Transfer.vue.d.ts +1 -1
- package/es/Transfer/TransferPanel.vue2.js +2 -2
- package/es/Transfer/index.d.ts +3 -3
- package/es/_shared/icons/IconDelete.vue.js +16 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -16
- package/es/_shared/icons/IconExclamation.vue.js +1 -27
- package/es/_shared/icons/IconExclamation.vue2.js +27 -1
- package/es/_shared/icons/IconSearch.vue.js +16 -1
- package/es/_shared/icons/IconSearch.vue2.js +1 -16
- package/es/_shared/icons/IconSeparator.vue.js +16 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -16
- package/es/_shared/utils/dom.d.ts +1 -1
- package/es/_shared/utils/fn.js +0 -1
- package/es/_shared/utils/global-config.d.ts +7 -5
- package/es/_shared/utils/global-config.js +5 -3
- package/es/index.d.ts +3 -3
- package/es/style.css +1 -1
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/AutoComplete/index.d.ts +10 -10
- package/lib/AutoComplete/index.vue.d.ts +20 -20
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.d.ts +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +1 -1
- package/lib/Descriptions/Descriptions.vue.d.ts +1 -1
- package/lib/Descriptions/hooks/useContext.d.ts +1 -1
- package/lib/Descriptions/index.d.ts +3 -3
- package/lib/Drawer/Drawer.vue.d.ts +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +1 -1
- package/lib/Drawer/index.d.ts +3 -3
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreview.vue2.js +1 -1
- package/lib/InputTag/index.d.ts +5 -5
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/List/List.vue.d.ts +2 -2
- package/lib/List/index.d.ts +1 -1
- package/lib/Mention/index.d.ts +13 -13
- package/lib/Mention/index.vue.d.ts +21 -21
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Modal/Modal.vue.d.ts +2 -2
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- package/lib/Modal/hooks/useModalClose.d.ts +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/index.d.ts +6 -6
- package/lib/Notification/Notification.vue.d.ts +3 -3
- package/lib/Notification/index.d.ts +9 -9
- package/lib/Pagination/hooks/useContext.d.ts +1 -1
- package/lib/Popover/index.d.ts +3 -3
- package/lib/Popover/index.vue.d.ts +1 -1
- package/lib/Progress/ProgressCircle.vue2.js +1 -1
- package/lib/Select/Select.vue.d.ts +12 -12
- package/lib/Select/index.d.ts +10 -10
- package/lib/Statistic/Countdown.vue.d.ts +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +1 -1
- package/lib/Statistic/index.d.ts +6 -6
- package/lib/Tabs/hooks/useContext.d.ts +1 -1
- package/lib/Transfer/Transfer.vue.d.ts +1 -1
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- package/lib/Transfer/index.d.ts +3 -3
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/utils/dom.d.ts +1 -1
- package/lib/_shared/utils/global-config.d.ts +7 -5
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/es/Alert/index.d.ts
CHANGED
@@ -10,9 +10,9 @@ declare const Alert: {
|
|
10
10
|
close: (ev: MouseEvent) => any;
|
11
11
|
"after-close": () => any;
|
12
12
|
}, import('vue').PublicProps, {
|
13
|
+
title: string;
|
13
14
|
center: boolean;
|
14
15
|
type: import('./type').AlertType;
|
15
|
-
title: string;
|
16
16
|
closable: boolean;
|
17
17
|
showIcon: boolean;
|
18
18
|
banner: boolean;
|
@@ -27,9 +27,9 @@ declare const Alert: {
|
|
27
27
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
28
28
|
"onAfter-close"?: (() => any) | undefined;
|
29
29
|
}>, {}, {}, {}, {}, {
|
30
|
+
title: string;
|
30
31
|
center: boolean;
|
31
32
|
type: import('./type').AlertType;
|
32
|
-
title: string;
|
33
33
|
closable: boolean;
|
34
34
|
showIcon: boolean;
|
35
35
|
banner: boolean;
|
@@ -44,9 +44,9 @@ declare const Alert: {
|
|
44
44
|
close: (ev: MouseEvent) => any;
|
45
45
|
"after-close": () => any;
|
46
46
|
}, string, {
|
47
|
+
title: string;
|
47
48
|
center: boolean;
|
48
49
|
type: import('./type').AlertType;
|
49
|
-
title: string;
|
50
50
|
closable: boolean;
|
51
51
|
showIcon: boolean;
|
52
52
|
banner: boolean;
|
package/es/Alert/index.vue.d.ts
CHANGED
@@ -13,9 +13,9 @@ declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {},
|
|
13
13
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
14
14
|
"onAfter-close"?: (() => any) | undefined;
|
15
15
|
}>, {
|
16
|
+
title: string;
|
16
17
|
center: boolean;
|
17
18
|
type: import('./type').AlertType;
|
18
|
-
title: string;
|
19
19
|
closable: boolean;
|
20
20
|
showIcon: boolean;
|
21
21
|
banner: boolean;
|
@@ -92,9 +92,9 @@ declare const AutoComplete: {
|
|
92
92
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
93
93
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
94
94
|
readonly onClear?: (() => any) | undefined;
|
95
|
+
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
95
96
|
readonly onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
96
97
|
readonly onSearch?: ((value: string) => any) | undefined;
|
97
|
-
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
98
98
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
99
99
|
readonly "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
100
100
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -369,9 +369,9 @@ declare const AutoComplete: {
|
|
369
369
|
readonly allowCreate?: boolean | undefined;
|
370
370
|
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
371
371
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
372
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
372
373
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
373
374
|
readonly onInput?: ((value: string) => any) | undefined;
|
374
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
375
375
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
376
376
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
377
377
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -392,14 +392,14 @@ declare const AutoComplete: {
|
|
392
392
|
$root: import('vue').ComponentPublicInstance | null;
|
393
393
|
$parent: import('vue').ComponentPublicInstance | null;
|
394
394
|
$host: Element | null;
|
395
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "
|
395
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
396
396
|
$el: HTMLDivElement;
|
397
397
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
398
398
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
399
399
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
400
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
400
401
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
401
402
|
onInput?: ((value: string) => any) | undefined;
|
402
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
403
403
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
404
404
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
405
405
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -410,9 +410,9 @@ declare const AutoComplete: {
|
|
410
410
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
411
411
|
focus: (ev: FocusEvent) => any;
|
412
412
|
clear: (ev: MouseEvent) => any;
|
413
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
413
414
|
blur: (ev: FocusEvent) => any;
|
414
415
|
input: (value: string) => any;
|
415
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
416
416
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
417
417
|
"update:inputValue": (value: string) => any;
|
418
418
|
"input-value-change": (value: string, ev: Event) => any;
|
@@ -474,9 +474,9 @@ declare const AutoComplete: {
|
|
474
474
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
475
475
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
476
476
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
477
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
477
478
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
478
479
|
onInput?: ((value: string) => any) | undefined;
|
479
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
480
480
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
481
481
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
482
482
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -494,16 +494,16 @@ declare const AutoComplete: {
|
|
494
494
|
$root: import('vue').ComponentPublicInstance | null;
|
495
495
|
$parent: import('vue').ComponentPublicInstance | null;
|
496
496
|
$host: Element | null;
|
497
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "
|
497
|
+
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "select", value: import('..').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: import('..').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('..').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
498
498
|
$el: any;
|
499
499
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
500
500
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
501
501
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
502
502
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
503
503
|
onClear?: (() => any) | undefined;
|
504
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
504
505
|
onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
505
506
|
onSearch?: ((value: string) => any) | undefined;
|
506
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
507
507
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
508
508
|
"onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
509
509
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -519,9 +519,9 @@ declare const AutoComplete: {
|
|
519
519
|
"update:popupVisible": (value: boolean) => any;
|
520
520
|
"popup-visible-change": (value: boolean) => any;
|
521
521
|
clear: () => any;
|
522
|
+
remove: (index: string | number, ev: Event) => any;
|
522
523
|
select: (value: import('..').SelectValue) => any;
|
523
524
|
search: (value: string) => any;
|
524
|
-
remove: (index: string | number, ev: Event) => any;
|
525
525
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
526
526
|
"update:inputValue": (value: import('..').SelectValue) => any;
|
527
527
|
"input-value-change": (value: string) => any;
|
@@ -621,9 +621,9 @@ declare const AutoComplete: {
|
|
621
621
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
622
622
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
623
623
|
onClear?: (() => any) | undefined;
|
624
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
624
625
|
onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
625
626
|
onSearch?: ((value: string) => any) | undefined;
|
626
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
627
627
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
628
628
|
"onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
629
629
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -50,9 +50,9 @@ declare function __VLS_template(): {
|
|
50
50
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
51
51
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
52
52
|
readonly onClear?: (() => any) | undefined;
|
53
|
+
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
53
54
|
readonly onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
|
54
55
|
readonly onSearch?: ((value: string) => any) | undefined;
|
55
|
-
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
56
56
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
57
57
|
readonly "onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
58
58
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -327,9 +327,9 @@ declare function __VLS_template(): {
|
|
327
327
|
readonly allowCreate?: boolean | undefined;
|
328
328
|
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
329
329
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
330
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
330
331
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
331
332
|
readonly onInput?: ((value: string) => any) | undefined;
|
332
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
333
333
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
334
334
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
335
335
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -350,14 +350,14 @@ declare function __VLS_template(): {
|
|
350
350
|
$root: import('vue').ComponentPublicInstance | null;
|
351
351
|
$parent: import('vue').ComponentPublicInstance | null;
|
352
352
|
$host: Element | null;
|
353
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "
|
353
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
354
354
|
$el: HTMLDivElement;
|
355
355
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
356
356
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
357
357
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
358
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
358
359
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
359
360
|
onInput?: ((value: string) => any) | undefined;
|
360
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
361
361
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
362
362
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
363
363
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -368,9 +368,9 @@ declare function __VLS_template(): {
|
|
368
368
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
369
369
|
focus: (ev: FocusEvent) => any;
|
370
370
|
clear: (ev: MouseEvent) => any;
|
371
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
371
372
|
blur: (ev: FocusEvent) => any;
|
372
373
|
input: (value: string) => any;
|
373
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
374
374
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
375
375
|
"update:inputValue": (value: string) => any;
|
376
376
|
"input-value-change": (value: string, ev: Event) => any;
|
@@ -432,9 +432,9 @@ declare function __VLS_template(): {
|
|
432
432
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
433
433
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
434
434
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
435
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
435
436
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
436
437
|
onInput?: ((value: string) => any) | undefined;
|
437
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
438
438
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
439
439
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
440
440
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -452,16 +452,16 @@ declare function __VLS_template(): {
|
|
452
452
|
$root: import('vue').ComponentPublicInstance | null;
|
453
453
|
$parent: import('vue').ComponentPublicInstance | null;
|
454
454
|
$host: Element | null;
|
455
|
-
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "
|
455
|
+
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "select", value: import('../Select').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: import('../Select').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
456
456
|
$el: any;
|
457
457
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
458
458
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
459
459
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
460
460
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
461
461
|
onClear?: (() => any) | undefined;
|
462
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
462
463
|
onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
|
463
464
|
onSearch?: ((value: string) => any) | undefined;
|
464
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
465
465
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
466
466
|
"onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
467
467
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -477,9 +477,9 @@ declare function __VLS_template(): {
|
|
477
477
|
"update:popupVisible": (value: boolean) => any;
|
478
478
|
"popup-visible-change": (value: boolean) => any;
|
479
479
|
clear: () => any;
|
480
|
+
remove: (index: string | number, ev: Event) => any;
|
480
481
|
select: (value: import('../Select').SelectValue) => any;
|
481
482
|
search: (value: string) => any;
|
482
|
-
remove: (index: string | number, ev: Event) => any;
|
483
483
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
484
484
|
"update:inputValue": (value: import('../Select').SelectValue) => any;
|
485
485
|
"input-value-change": (value: string) => any;
|
@@ -579,9 +579,9 @@ declare function __VLS_template(): {
|
|
579
579
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
580
580
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
581
581
|
onClear?: (() => any) | undefined;
|
582
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
582
583
|
onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
|
583
584
|
onSearch?: ((value: string) => any) | undefined;
|
584
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
585
585
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
586
586
|
"onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
587
587
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -763,9 +763,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
763
763
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
764
764
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
765
765
|
readonly onClear?: (() => any) | undefined;
|
766
|
+
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
766
767
|
readonly onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
|
767
768
|
readonly onSearch?: ((value: string) => any) | undefined;
|
768
|
-
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
769
769
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
770
770
|
readonly "onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
771
771
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1040,9 +1040,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1040
1040
|
readonly allowCreate?: boolean | undefined;
|
1041
1041
|
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1042
1042
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
1043
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1043
1044
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1044
1045
|
readonly onInput?: ((value: string) => any) | undefined;
|
1045
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1046
1046
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1047
1047
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1048
1048
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -1063,14 +1063,14 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1063
1063
|
$root: import('vue').ComponentPublicInstance | null;
|
1064
1064
|
$parent: import('vue').ComponentPublicInstance | null;
|
1065
1065
|
$host: Element | null;
|
1066
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "
|
1066
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
1067
1067
|
$el: HTMLDivElement;
|
1068
1068
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
1069
1069
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1070
1070
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1071
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1071
1072
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1072
1073
|
onInput?: ((value: string) => any) | undefined;
|
1073
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1074
1074
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1075
1075
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1076
1076
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -1081,9 +1081,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1081
1081
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1082
1082
|
focus: (ev: FocusEvent) => any;
|
1083
1083
|
clear: (ev: MouseEvent) => any;
|
1084
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
1084
1085
|
blur: (ev: FocusEvent) => any;
|
1085
1086
|
input: (value: string) => any;
|
1086
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
1087
1087
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
1088
1088
|
"update:inputValue": (value: string) => any;
|
1089
1089
|
"input-value-change": (value: string, ev: Event) => any;
|
@@ -1145,9 +1145,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1145
1145
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
1146
1146
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1147
1147
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1148
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1148
1149
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1149
1150
|
onInput?: ((value: string) => any) | undefined;
|
1150
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1151
1151
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1152
1152
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1153
1153
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -1165,16 +1165,16 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1165
1165
|
$root: import('vue').ComponentPublicInstance | null;
|
1166
1166
|
$parent: import('vue').ComponentPublicInstance | null;
|
1167
1167
|
$host: Element | null;
|
1168
|
-
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "
|
1168
|
+
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "select", value: import('../Select').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: import('../Select').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
1169
1169
|
$el: any;
|
1170
1170
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
1171
1171
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1172
1172
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1173
1173
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1174
1174
|
onClear?: (() => any) | undefined;
|
1175
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1175
1176
|
onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1176
1177
|
onSearch?: ((value: string) => any) | undefined;
|
1177
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1178
1178
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1179
1179
|
"onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1180
1180
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1190,9 +1190,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1190
1190
|
"update:popupVisible": (value: boolean) => any;
|
1191
1191
|
"popup-visible-change": (value: boolean) => any;
|
1192
1192
|
clear: () => any;
|
1193
|
+
remove: (index: string | number, ev: Event) => any;
|
1193
1194
|
select: (value: import('../Select').SelectValue) => any;
|
1194
1195
|
search: (value: string) => any;
|
1195
|
-
remove: (index: string | number, ev: Event) => any;
|
1196
1196
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
1197
1197
|
"update:inputValue": (value: import('../Select').SelectValue) => any;
|
1198
1198
|
"input-value-change": (value: string) => any;
|
@@ -1292,9 +1292,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1292
1292
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1293
1293
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1294
1294
|
onClear?: (() => any) | undefined;
|
1295
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1295
1296
|
onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1296
1297
|
onSearch?: ((value: string) => any) | undefined;
|
1297
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1298
1298
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1299
1299
|
"onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1300
1300
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
package/es/BackTop/index.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _BackTop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _BackTop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1a91c814"]]);
|
5
5
|
export {
|
6
6
|
_BackTop as default
|
7
7
|
};
|
package/es/BackTop/index.vue2.js
CHANGED
@@ -27,7 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
27
|
const buttonRef = ref();
|
28
28
|
const curScroll = ref(0);
|
29
29
|
const targetContainer = computed(() => {
|
30
|
-
console.log(findFirstScrollableParent(buttonRef.value));
|
31
30
|
return isUndefined(_targetContainer.value) ? findFirstScrollableParent(buttonRef.value) : getElement(_targetContainer.value);
|
32
31
|
});
|
33
32
|
const handleTop = () => {
|
@@ -5,7 +5,7 @@ import { isUndefined } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
-
import _sfc_main$1 from "../_shared/icons/IconSeparator.
|
8
|
+
import _sfc_main$1 from "../_shared/icons/IconSeparator.vue.js";
|
9
9
|
const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
11
|
__name: "BreadcrumbSeparator",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./Cascader.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Cascader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Cascader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a5acb2b3"]]);
|
5
5
|
export {
|
6
6
|
_Cascader as default
|
7
7
|
};
|
@@ -141,11 +141,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
141
141
|
break;
|
142
142
|
case "updateValue":
|
143
143
|
{
|
144
|
-
console.log("updateValue", value);
|
145
144
|
computedValue.value = value.map(
|
146
145
|
(item) => item.value
|
147
146
|
);
|
148
|
-
console.log(computedValue.value, "value");
|
149
147
|
}
|
150
148
|
break;
|
151
149
|
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { CascaderOptionProps, CascaderOptionValue } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<CascaderOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CascaderOptionProps> & Readonly<{}>, {
|
3
3
|
disabled: boolean;
|
4
|
+
children: import('./type').CascaderOption[];
|
4
5
|
value: CascaderOptionValue;
|
5
6
|
label: string;
|
6
|
-
children: import('./type').CascaderOption[];
|
7
7
|
render: import('vue').RenderFunction;
|
8
8
|
tagProps: import('..').TagProps;
|
9
9
|
index: number;
|
@@ -19,7 +19,7 @@ type ColorPickerContext = {
|
|
19
19
|
declare const _default: () => {
|
20
20
|
provide: (props: Props, emits: ColorPickerEmits) => {
|
21
21
|
popupVisible: Ref<boolean, boolean>;
|
22
|
-
size:
|
22
|
+
size: import('vue').ComputedRef<string | number | undefined>;
|
23
23
|
computedColor: import('vue').WritableComputedRef<any, string>;
|
24
24
|
};
|
25
25
|
inject: () => ColorPickerContext;
|
@@ -8,10 +8,10 @@ declare function __VLS_template(): {
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<DescriptionsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DescriptionsProps> & Readonly<{}>, {
|
10
10
|
size: import('..').Size;
|
11
|
+
title: string;
|
11
12
|
column: import('./type').DescriptionsColumn;
|
12
13
|
layout: import('./type').DescriptionsLayout;
|
13
14
|
data: DescData[];
|
14
|
-
title: string;
|
15
15
|
align: import('./type').DescriptionsAlign;
|
16
16
|
tableLayout: import('./type').TableLayout;
|
17
17
|
bordered: boolean;
|
@@ -12,7 +12,7 @@ type DescriptionsContext = {
|
|
12
12
|
declare const _default: () => {
|
13
13
|
provide: (props: Props) => {
|
14
14
|
data: import('vue').ComputedRef<DescData[]>;
|
15
|
-
size:
|
15
|
+
size: import('vue').ComputedRef<string | number | undefined>;
|
16
16
|
column: import('vue').ComputedRef<number>;
|
17
17
|
layout: Ref<import('..').DescriptionsLayout, import('..').DescriptionsLayout>;
|
18
18
|
};
|
@@ -7,10 +7,10 @@ export * from './type';
|
|
7
7
|
declare const Descriptions: {
|
8
8
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DescriptionsProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
9
9
|
size: import('..').Size;
|
10
|
+
title: string;
|
10
11
|
column: import('./type').DescriptionsColumn;
|
11
12
|
layout: import('./type').DescriptionsLayout;
|
12
13
|
data: import('./type').DescData[];
|
13
|
-
title: string;
|
14
14
|
align: import('./type').DescriptionsAlign;
|
15
15
|
tableLayout: import('./type').TableLayout;
|
16
16
|
bordered: boolean;
|
@@ -25,10 +25,10 @@ declare const Descriptions: {
|
|
25
25
|
Defaults: {};
|
26
26
|
}, Readonly<import('./type').DescriptionsProps> & Readonly<{}>, {}, {}, {}, {}, {
|
27
27
|
size: import('..').Size;
|
28
|
+
title: string;
|
28
29
|
column: import('./type').DescriptionsColumn;
|
29
30
|
layout: import('./type').DescriptionsLayout;
|
30
31
|
data: import('./type').DescData[];
|
31
|
-
title: string;
|
32
32
|
align: import('./type').DescriptionsAlign;
|
33
33
|
tableLayout: import('./type').TableLayout;
|
34
34
|
bordered: boolean;
|
@@ -40,10 +40,10 @@ declare const Descriptions: {
|
|
40
40
|
__isSuspense?: never;
|
41
41
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').DescriptionsProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
42
42
|
size: import('..').Size;
|
43
|
+
title: string;
|
43
44
|
column: import('./type').DescriptionsColumn;
|
44
45
|
layout: import('./type').DescriptionsLayout;
|
45
46
|
data: import('./type').DescData[];
|
46
|
-
title: string;
|
47
47
|
align: import('./type').DescriptionsAlign;
|
48
48
|
tableLayout: import('./type').TableLayout;
|
49
49
|
bordered: boolean;
|
@@ -27,12 +27,12 @@ declare const __VLS_component: import('vue').DefineComponent<DrawerProps, {}, {}
|
|
27
27
|
unmountOnClose: boolean;
|
28
28
|
popupContainer: import('..').PopupContainer;
|
29
29
|
renderToBody: boolean;
|
30
|
+
title: string;
|
30
31
|
width: number | string;
|
31
32
|
height: number | string;
|
32
33
|
visible: boolean;
|
33
34
|
footer: boolean;
|
34
35
|
header: boolean;
|
35
|
-
title: string;
|
36
36
|
mask: boolean;
|
37
37
|
defaultVisible: boolean;
|
38
38
|
closable: boolean;
|
@@ -3,11 +3,11 @@ declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}
|
|
3
3
|
unmountOnClose: boolean;
|
4
4
|
popupContainer: import('..').PopupContainer;
|
5
5
|
renderToBody: boolean;
|
6
|
+
title: string & import('../_shared/type').RenderContent;
|
6
7
|
width: number | string;
|
7
8
|
height: number | string;
|
8
9
|
footer: boolean;
|
9
10
|
header: boolean;
|
10
|
-
title: string & import('../_shared/type').RenderContent;
|
11
11
|
mask: boolean;
|
12
12
|
closable: boolean;
|
13
13
|
maskClosable: boolean;
|
package/es/Drawer/index.d.ts
CHANGED
@@ -23,12 +23,12 @@ declare const Drawer: {
|
|
23
23
|
unmountOnClose: boolean;
|
24
24
|
popupContainer: import('..').PopupContainer;
|
25
25
|
renderToBody: boolean;
|
26
|
+
title: string;
|
26
27
|
width: number | string;
|
27
28
|
height: number | string;
|
28
29
|
visible: boolean;
|
29
30
|
footer: boolean;
|
30
31
|
header: boolean;
|
31
|
-
title: string;
|
32
32
|
mask: boolean;
|
33
33
|
defaultVisible: boolean;
|
34
34
|
closable: boolean;
|
@@ -63,12 +63,12 @@ declare const Drawer: {
|
|
63
63
|
unmountOnClose: boolean;
|
64
64
|
popupContainer: import('..').PopupContainer;
|
65
65
|
renderToBody: boolean;
|
66
|
+
title: string;
|
66
67
|
width: number | string;
|
67
68
|
height: number | string;
|
68
69
|
visible: boolean;
|
69
70
|
footer: boolean;
|
70
71
|
header: boolean;
|
71
|
-
title: string;
|
72
72
|
mask: boolean;
|
73
73
|
defaultVisible: boolean;
|
74
74
|
closable: boolean;
|
@@ -108,12 +108,12 @@ declare const Drawer: {
|
|
108
108
|
unmountOnClose: boolean;
|
109
109
|
popupContainer: import('..').PopupContainer;
|
110
110
|
renderToBody: boolean;
|
111
|
+
title: string;
|
111
112
|
width: number | string;
|
112
113
|
height: number | string;
|
113
114
|
visible: boolean;
|
114
115
|
footer: boolean;
|
115
116
|
header: boolean;
|
116
|
-
title: string;
|
117
117
|
mask: boolean;
|
118
118
|
defaultVisible: boolean;
|
119
119
|
closable: boolean;
|
package/es/Drawer/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./ImagePreview.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-094a0de9"]]);
|
5
5
|
export {
|
6
6
|
ImagePreview as default
|
7
7
|
};
|
@@ -56,6 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
56
56
|
popupContainer: _popupContainer
|
57
57
|
} = toRefs(props);
|
58
58
|
const { zIndex, popupContainer } = getGlobalConfig(props);
|
59
|
+
console.log(popupContainer.value, "popupContainer");
|
59
60
|
const imageRef = ref();
|
60
61
|
const scale = useControlValue(ref(), defaultScale.value);
|
61
62
|
const rotate = ref(0);
|
@@ -163,7 +164,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
163
164
|
transform: `scale(${unref(scale)}, ${unref(scale)})`
|
164
165
|
}),
|
165
166
|
class: "yc-image-preview-img-container",
|
166
|
-
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(handleClose)("mask", $event), ["self"]))
|
167
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(handleClose)("mask", $event, false), ["self"]))
|
167
168
|
}, [
|
168
169
|
createElementVNode("img", {
|
169
170
|
src: _ctx.src,
|