yc-design-vue 1.9.8 → 2.0.0
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.vue.js +2 -2
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +34 -34
- package/es/AutoComplete/type.d.ts +5 -3
- package/es/Avatar/Avatar.vue.js +1 -1
- package/es/BackTop/index.css +1 -1
- package/es/BackTop/index.vue.js +3 -8
- package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/es/Button/hooks/useContext.d.ts +2 -2
- package/es/Button/hooks/useContext.js +3 -13
- package/es/Button/index.css +1 -1
- package/es/Calendar/Calendar.vue.js +2 -2
- package/es/Carousel/CarouselArrow.vue.js +1 -1
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +1 -1
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Drawer/Drawer.vue.js +2 -2
- package/es/Dropdown/DropdownButton.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Empty/index.vue.js +1 -1
- package/es/Image/Image.vue.js +1 -1
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreviewArrow.vue.js +1 -1
- package/es/Image/ImagePreviewToolbar.vue.js +1 -1
- package/es/Input/Input.vue.js +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/InputNumber/InputNumber.vue.d.ts +0 -1
- package/es/InputNumber/InputNumber.vue.js +1 -6
- package/es/InputNumber/InputOperaBtn.vue.js +2 -2
- package/es/InputNumber/index.d.ts +0 -3
- package/es/InputNumber/type.d.ts +0 -2
- package/es/InputTag/index.vue.js +2 -2
- package/es/Layout/LayoutSider.vue.js +1 -1
- package/es/Link/index.vue.js +1 -1
- package/es/Mention/index.d.ts +27 -27
- package/es/Mention/index.vue.d.ts +70 -70
- package/es/Mention/type.d.ts +3 -3
- package/es/Menu/Menu.vue.js +1 -1
- package/es/Menu/MenuEllipsis.vue.js +1 -1
- package/es/Menu/SubMenu.vue.js +1 -1
- package/es/Message/Message.vue.js +2 -2
- package/es/Modal/Modal.vue.js +2 -2
- package/es/Notification/Notification.vue.js +2 -2
- package/es/PageHeader/index.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +1 -1
- package/es/Progress/ProgressCircle.vue.js +2 -2
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Rate/index.vue.js +1 -1
- package/es/ResizeBox/index.vue.js +45 -33
- package/es/Select/Option.vue.d.ts +1 -1
- package/es/Select/Option.vue.js +1 -1
- package/es/Select/Select.vue.d.ts +14 -14
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/hooks/useContext.d.ts +7 -7
- package/es/Select/hooks/useSelectHotkeys.js +3 -1
- package/es/Select/hooks/useSelectOptions.d.ts +8 -8
- package/es/Select/index.d.ts +21 -21
- package/es/Select/type.d.ts +9 -8
- package/es/Spin/index.vue.js +1 -1
- package/es/Split/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +1 -1
- package/es/Tabs/TabButton.vue.js +2 -2
- package/es/Tabs/Tabs.vue.js +1 -1
- package/es/Tag/index.vue.js +2 -2
- package/es/Textarea/index.vue.js +2 -2
- package/es/TimePicker/TimePicker.vue.js +4 -4
- package/es/Transfer/Transfer.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue.js +8 -6
- package/es/Transfer/type.d.ts +3 -9
- package/es/Trigger/hooks/useTriggerPosition.d.ts +0 -1
- package/es/Trigger/hooks/useTriggerPosition.js +3 -8
- package/es/Trigger/index.vue.js +3 -2
- package/es/Typography/TypographyBase.vue.d.ts +0 -4
- package/es/Typography/TypographyBase.vue.js +4 -4
- package/es/Typography/type.d.ts +0 -5
- package/es/VerificationCode/index.vue.js +5 -3
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -1
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.d.ts +2 -2
- package/es/_shared/constants/index.js +1 -1
- package/es/_shared/icons/IconArrowDown.vue.js +1 -1
- package/es/_shared/icons/IconArrowRight.vue.js +1 -1
- package/es/_shared/icons/IconCheck.vue.js +1 -1
- package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/es/_shared/icons/IconClose.vue.js +1 -1
- package/es/_shared/icons/IconCopy.vue.js +23 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -23
- package/es/_shared/icons/IconDelete.vue.js +1 -1
- package/es/_shared/icons/IconDragDot.vue.js +1 -1
- package/es/_shared/icons/IconEdit.vue.js +23 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -23
- package/es/_shared/icons/IconEmpty.vue.js +1 -1
- package/es/_shared/icons/IconError.vue.js +1 -1
- package/es/_shared/icons/IconExclamation.vue.js +34 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -34
- package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/es/_shared/icons/IconImageClose.vue.js +1 -1
- package/es/_shared/icons/IconInfo.vue.js +1 -1
- package/es/_shared/icons/IconInfoLine.vue.js +1 -1
- package/es/_shared/icons/IconLink.vue.js +1 -1
- package/es/_shared/icons/IconLoading.vue.js +1 -1
- package/es/_shared/icons/IconMenuFold.vue.js +1 -1
- package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/es/_shared/icons/IconMinus.vue.js +1 -23
- package/es/_shared/icons/IconMinus.vue2.js +23 -1
- package/es/_shared/icons/IconMore.vue.js +1 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/es/_shared/icons/IconPlus.vue.js +1 -1
- package/es/_shared/icons/IconRight.vue.js +1 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/es/_shared/icons/IconSearch.vue.js +1 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -1
- package/es/_shared/icons/IconStar.vue.js +1 -1
- package/es/_shared/icons/IconSuccess.vue.js +1 -1
- package/es/_shared/icons/IconTime.vue.js +1 -1
- package/es/_shared/icons/IconToTop.vue.js +1 -1
- package/es/_shared/icons/IconWarning.vue.js +1 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/es/_shared/utils/global-config.d.ts +1 -1
- package/es/_shared/utils/global-config.js +1 -1
- package/es/index.d.ts +3 -3
- package/es/style.css +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +34 -34
- package/lib/AutoComplete/type.d.ts +5 -3
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/BackTop/index.css +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/hooks/useContext.d.ts +2 -2
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Button/index.css +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/InputNumber/InputNumber.vue.d.ts +0 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +0 -3
- package/lib/InputNumber/type.d.ts +0 -2
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/Mention/index.d.ts +27 -27
- package/lib/Mention/index.vue.d.ts +70 -70
- package/lib/Mention/type.d.ts +3 -3
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Select/Option.vue.d.ts +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +14 -14
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +7 -7
- package/lib/Select/hooks/useSelectHotkeys.js +1 -1
- package/lib/Select/hooks/useSelectOptions.d.ts +8 -8
- package/lib/Select/index.d.ts +21 -21
- package/lib/Select/type.d.ts +9 -8
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/type.d.ts +3 -9
- package/lib/Trigger/hooks/useTriggerPosition.d.ts +0 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +0 -4
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/type.d.ts +0 -5
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/_shared/components/IconButton/index.vue.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- package/lib/_shared/constants/index.d.ts +2 -2
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.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/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +1 -1
- 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/lib/_shared/components/IconButton/index.vue2.js +0 -1
package/es/Alert/index.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, ref, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, renderSlot, resolveDynamicComponent, unref, createTextVNode, toDisplayString, createVNode } from "vue";
|
2
2
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
3
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
4
|
-
/* empty css
|
3
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
4
|
+
/* empty css */
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
6
|
import "../_shared/utils/dom.js";
|
7
7
|
import "../_shared/utils/time.js";
|
@@ -38,7 +38,7 @@ declare const AutoComplete: {
|
|
38
38
|
popupContainer: import('..').PopupContainer;
|
39
39
|
strict: boolean;
|
40
40
|
type: "textarea" | "input";
|
41
|
-
data: import('..').
|
41
|
+
data: import('..').SelectOption[];
|
42
42
|
modelValue: string;
|
43
43
|
defaultValue: string;
|
44
44
|
allowClear: boolean;
|
@@ -71,7 +71,7 @@ declare const AutoComplete: {
|
|
71
71
|
readonly defaultPopupVisible?: boolean | undefined;
|
72
72
|
readonly unmountonClose?: boolean | undefined;
|
73
73
|
readonly filterOption?: import('..').FilterOption | undefined;
|
74
|
-
readonly options?: import('..').
|
74
|
+
readonly options?: import('..').SelectOption[] | undefined;
|
75
75
|
readonly virtualListProps?: import('..').VirtualListProps | undefined;
|
76
76
|
readonly triggerProps?: import('..').TriggerProps | undefined;
|
77
77
|
readonly formatLabel?: import('..').FormatLabel | undefined;
|
@@ -91,13 +91,13 @@ declare const AutoComplete: {
|
|
91
91
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
92
92
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
93
93
|
readonly onClear?: (() => any) | undefined;
|
94
|
-
readonly onSelect?: ((value: import('..').
|
94
|
+
readonly onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
95
95
|
readonly onSearch?: ((value: string) => any) | undefined;
|
96
96
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
97
|
-
readonly "onUpdate:inputValue"?: ((value:
|
97
|
+
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
98
98
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
99
99
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
100
|
-
readonly onExceedLimit?: ((value: import('..').
|
100
|
+
readonly onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
101
101
|
readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
102
102
|
readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
103
103
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -493,20 +493,20 @@ declare const AutoComplete: {
|
|
493
493
|
$root: import('vue').ComponentPublicInstance | null;
|
494
494
|
$parent: import('vue').ComponentPublicInstance | null;
|
495
495
|
$host: Element | null;
|
496
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').
|
496
|
+
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').OptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('..').OptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
497
497
|
$el: any;
|
498
498
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
499
499
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
500
500
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
501
501
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
502
502
|
onClear?: (() => any) | undefined;
|
503
|
-
onSelect?: ((value: import('..').
|
503
|
+
onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
504
504
|
onSearch?: ((value: string) => any) | undefined;
|
505
505
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
506
|
-
"onUpdate:inputValue"?: ((value:
|
506
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
507
507
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
508
508
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
509
|
-
onExceedLimit?: ((value: import('..').
|
509
|
+
onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
510
510
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
511
511
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
512
512
|
}>, {
|
@@ -518,13 +518,13 @@ declare const AutoComplete: {
|
|
518
518
|
"update:popupVisible": (value: boolean) => any;
|
519
519
|
"popup-visible-change": (value: boolean) => any;
|
520
520
|
clear: () => any;
|
521
|
-
select: (value: import('..').
|
521
|
+
select: (value: import('..').OptionValue) => any;
|
522
522
|
search: (value: string) => any;
|
523
523
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
524
|
-
"update:inputValue": (value:
|
524
|
+
"update:inputValue": (value: string) => any;
|
525
525
|
"input-value-change": (value: string) => any;
|
526
526
|
remove: (index: string | number, ev: Event) => any;
|
527
|
-
exceedLimit: (value: import('..').
|
527
|
+
exceedLimit: (value: import('..').OptionValue, ev?: MouseEvent | undefined) => any;
|
528
528
|
"dropdown-scroll": (ev: Event) => any;
|
529
529
|
"dropdown-reach-bottom": (ev: Event) => any;
|
530
530
|
}, string, {
|
@@ -543,7 +543,7 @@ declare const AutoComplete: {
|
|
543
543
|
defaultValue: import('..').SelectValue;
|
544
544
|
allowClear: boolean;
|
545
545
|
showExtraOptions: boolean;
|
546
|
-
options: import('..').
|
546
|
+
options: import('..').SelectOption[];
|
547
547
|
limit: number;
|
548
548
|
inputValue: string;
|
549
549
|
defaultInputValue: string;
|
@@ -596,7 +596,7 @@ declare const AutoComplete: {
|
|
596
596
|
defaultValue: import('..').SelectValue;
|
597
597
|
allowClear: boolean;
|
598
598
|
showExtraOptions: boolean;
|
599
|
-
options: import('..').
|
599
|
+
options: import('..').SelectOption[];
|
600
600
|
limit: number;
|
601
601
|
inputValue: string;
|
602
602
|
defaultInputValue: string;
|
@@ -618,13 +618,13 @@ declare const AutoComplete: {
|
|
618
618
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
619
619
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
620
620
|
onClear?: (() => any) | undefined;
|
621
|
-
onSelect?: ((value: import('..').
|
621
|
+
onSelect?: ((value: import('..').OptionValue) => any) | undefined;
|
622
622
|
onSearch?: ((value: string) => any) | undefined;
|
623
623
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
624
|
-
"onUpdate:inputValue"?: ((value:
|
624
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
625
625
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
626
626
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
627
|
-
onExceedLimit?: ((value: import('..').
|
627
|
+
onExceedLimit?: ((value: import('..').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
628
628
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
629
629
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
630
630
|
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "error" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
@@ -739,7 +739,7 @@ declare const AutoComplete: {
|
|
739
739
|
popupContainer: import('..').PopupContainer;
|
740
740
|
strict: boolean;
|
741
741
|
type: "textarea" | "input";
|
742
|
-
data: import('..').
|
742
|
+
data: import('..').SelectOption[];
|
743
743
|
modelValue: string;
|
744
744
|
defaultValue: string;
|
745
745
|
allowClear: boolean;
|
@@ -786,7 +786,7 @@ declare const AutoComplete: {
|
|
786
786
|
popupContainer: import('..').PopupContainer;
|
787
787
|
strict: boolean;
|
788
788
|
type: "textarea" | "input";
|
789
|
-
data: import('..').
|
789
|
+
data: import('..').SelectOption[];
|
790
790
|
modelValue: string;
|
791
791
|
defaultValue: string;
|
792
792
|
allowClear: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { nextTick } from 'vue';
|
2
2
|
import { AutoCompleteProps, AutoCompleteSlots } from './type';
|
3
|
-
import { SelectOptionData,
|
3
|
+
import { SelectOptionData, SelectOption } from '../Select';
|
4
4
|
declare function __VLS_template(): {
|
5
5
|
attrs: Partial<{}>;
|
6
6
|
slots: Readonly<AutoCompleteSlots> & AutoCompleteSlots;
|
@@ -29,7 +29,7 @@ declare function __VLS_template(): {
|
|
29
29
|
readonly defaultPopupVisible?: boolean | undefined;
|
30
30
|
readonly unmountonClose?: boolean | undefined;
|
31
31
|
readonly filterOption?: import('../Select').FilterOption | undefined;
|
32
|
-
readonly options?:
|
32
|
+
readonly options?: SelectOption[] | undefined;
|
33
33
|
readonly virtualListProps?: import('../Select').VirtualListProps | undefined;
|
34
34
|
readonly triggerProps?: import('..').TriggerProps | undefined;
|
35
35
|
readonly formatLabel?: import('../Select').FormatLabel | undefined;
|
@@ -49,13 +49,13 @@ declare function __VLS_template(): {
|
|
49
49
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
50
50
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
51
51
|
readonly onClear?: (() => any) | undefined;
|
52
|
-
readonly onSelect?: ((value: import('../Select').
|
52
|
+
readonly onSelect?: ((value: import('../Select').OptionValue) => any) | undefined;
|
53
53
|
readonly onSearch?: ((value: string) => any) | undefined;
|
54
54
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
55
|
-
readonly "onUpdate:inputValue"?: ((value:
|
55
|
+
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
56
56
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
57
57
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
58
|
-
readonly onExceedLimit?: ((value: import('../Select').
|
58
|
+
readonly onExceedLimit?: ((value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
59
59
|
readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
60
60
|
readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
61
61
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -451,20 +451,20 @@ declare function __VLS_template(): {
|
|
451
451
|
$root: import('vue').ComponentPublicInstance | null;
|
452
452
|
$parent: import('vue').ComponentPublicInstance | null;
|
453
453
|
$host: Element | null;
|
454
|
-
$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: "select", value: import('../Select').
|
454
|
+
$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: "select", value: import('../Select').OptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
455
455
|
$el: any;
|
456
456
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
457
457
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
458
458
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
459
459
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
460
460
|
onClear?: (() => any) | undefined;
|
461
|
-
onSelect?: ((value: import('../Select').
|
461
|
+
onSelect?: ((value: import('../Select').OptionValue) => any) | undefined;
|
462
462
|
onSearch?: ((value: string) => any) | undefined;
|
463
463
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
464
|
-
"onUpdate:inputValue"?: ((value:
|
464
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
465
465
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
466
466
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
467
|
-
onExceedLimit?: ((value: import('../Select').
|
467
|
+
onExceedLimit?: ((value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
468
468
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
469
469
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
470
470
|
}>, {
|
@@ -476,13 +476,13 @@ declare function __VLS_template(): {
|
|
476
476
|
"update:popupVisible": (value: boolean) => any;
|
477
477
|
"popup-visible-change": (value: boolean) => any;
|
478
478
|
clear: () => any;
|
479
|
-
select: (value: import('../Select').
|
479
|
+
select: (value: import('../Select').OptionValue) => any;
|
480
480
|
search: (value: string) => any;
|
481
481
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
482
|
-
"update:inputValue": (value:
|
482
|
+
"update:inputValue": (value: string) => any;
|
483
483
|
"input-value-change": (value: string) => any;
|
484
484
|
remove: (index: string | number, ev: Event) => any;
|
485
|
-
exceedLimit: (value: import('../Select').
|
485
|
+
exceedLimit: (value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => any;
|
486
486
|
"dropdown-scroll": (ev: Event) => any;
|
487
487
|
"dropdown-reach-bottom": (ev: Event) => any;
|
488
488
|
}, string, {
|
@@ -501,7 +501,7 @@ declare function __VLS_template(): {
|
|
501
501
|
defaultValue: import('../Select').SelectValue;
|
502
502
|
allowClear: boolean;
|
503
503
|
showExtraOptions: boolean;
|
504
|
-
options:
|
504
|
+
options: SelectOption[];
|
505
505
|
limit: number;
|
506
506
|
inputValue: string;
|
507
507
|
defaultInputValue: string;
|
@@ -554,7 +554,7 @@ declare function __VLS_template(): {
|
|
554
554
|
defaultValue: import('../Select').SelectValue;
|
555
555
|
allowClear: boolean;
|
556
556
|
showExtraOptions: boolean;
|
557
|
-
options:
|
557
|
+
options: SelectOption[];
|
558
558
|
limit: number;
|
559
559
|
inputValue: string;
|
560
560
|
defaultInputValue: string;
|
@@ -576,13 +576,13 @@ declare function __VLS_template(): {
|
|
576
576
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
577
577
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
578
578
|
onClear?: (() => any) | undefined;
|
579
|
-
onSelect?: ((value: import('../Select').
|
579
|
+
onSelect?: ((value: import('../Select').OptionValue) => any) | undefined;
|
580
580
|
onSearch?: ((value: string) => any) | undefined;
|
581
581
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
582
|
-
"onUpdate:inputValue"?: ((value:
|
582
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
583
583
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
584
584
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
585
|
-
onExceedLimit?: ((value: import('../Select').
|
585
|
+
onExceedLimit?: ((value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
586
586
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
587
587
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
588
588
|
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "error" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
@@ -706,7 +706,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
706
706
|
popupContainer: import('..').PopupContainer;
|
707
707
|
strict: boolean;
|
708
708
|
type: "textarea" | "input";
|
709
|
-
data:
|
709
|
+
data: SelectOption[];
|
710
710
|
modelValue: string;
|
711
711
|
defaultValue: string;
|
712
712
|
allowClear: boolean;
|
@@ -739,7 +739,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
739
739
|
readonly defaultPopupVisible?: boolean | undefined;
|
740
740
|
readonly unmountonClose?: boolean | undefined;
|
741
741
|
readonly filterOption?: import('../Select').FilterOption | undefined;
|
742
|
-
readonly options?:
|
742
|
+
readonly options?: SelectOption[] | undefined;
|
743
743
|
readonly virtualListProps?: import('../Select').VirtualListProps | undefined;
|
744
744
|
readonly triggerProps?: import('..').TriggerProps | undefined;
|
745
745
|
readonly formatLabel?: import('../Select').FormatLabel | undefined;
|
@@ -759,13 +759,13 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
759
759
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
760
760
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
761
761
|
readonly onClear?: (() => any) | undefined;
|
762
|
-
readonly onSelect?: ((value: import('../Select').
|
762
|
+
readonly onSelect?: ((value: import('../Select').OptionValue) => any) | undefined;
|
763
763
|
readonly onSearch?: ((value: string) => any) | undefined;
|
764
764
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
765
|
-
readonly "onUpdate:inputValue"?: ((value:
|
765
|
+
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
766
766
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
767
767
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
768
|
-
readonly onExceedLimit?: ((value: import('../Select').
|
768
|
+
readonly onExceedLimit?: ((value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
769
769
|
readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
770
770
|
readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
771
771
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -1161,20 +1161,20 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1161
1161
|
$root: import('vue').ComponentPublicInstance | null;
|
1162
1162
|
$parent: import('vue').ComponentPublicInstance | null;
|
1163
1163
|
$host: Element | null;
|
1164
|
-
$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: "select", value: import('../Select').
|
1164
|
+
$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: "select", value: import('../Select').OptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
1165
1165
|
$el: any;
|
1166
1166
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
1167
1167
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1168
1168
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1169
1169
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1170
1170
|
onClear?: (() => any) | undefined;
|
1171
|
-
onSelect?: ((value: import('../Select').
|
1171
|
+
onSelect?: ((value: import('../Select').OptionValue) => any) | undefined;
|
1172
1172
|
onSearch?: ((value: string) => any) | undefined;
|
1173
1173
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1174
|
-
"onUpdate:inputValue"?: ((value:
|
1174
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1175
1175
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
1176
1176
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1177
|
-
onExceedLimit?: ((value: import('../Select').
|
1177
|
+
onExceedLimit?: ((value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1178
1178
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1179
1179
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1180
1180
|
}>, {
|
@@ -1186,13 +1186,13 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1186
1186
|
"update:popupVisible": (value: boolean) => any;
|
1187
1187
|
"popup-visible-change": (value: boolean) => any;
|
1188
1188
|
clear: () => any;
|
1189
|
-
select: (value: import('../Select').
|
1189
|
+
select: (value: import('../Select').OptionValue) => any;
|
1190
1190
|
search: (value: string) => any;
|
1191
1191
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
1192
|
-
"update:inputValue": (value:
|
1192
|
+
"update:inputValue": (value: string) => any;
|
1193
1193
|
"input-value-change": (value: string) => any;
|
1194
1194
|
remove: (index: string | number, ev: Event) => any;
|
1195
|
-
exceedLimit: (value: import('../Select').
|
1195
|
+
exceedLimit: (value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => any;
|
1196
1196
|
"dropdown-scroll": (ev: Event) => any;
|
1197
1197
|
"dropdown-reach-bottom": (ev: Event) => any;
|
1198
1198
|
}, string, {
|
@@ -1211,7 +1211,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1211
1211
|
defaultValue: import('../Select').SelectValue;
|
1212
1212
|
allowClear: boolean;
|
1213
1213
|
showExtraOptions: boolean;
|
1214
|
-
options:
|
1214
|
+
options: SelectOption[];
|
1215
1215
|
limit: number;
|
1216
1216
|
inputValue: string;
|
1217
1217
|
defaultInputValue: string;
|
@@ -1264,7 +1264,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1264
1264
|
defaultValue: import('../Select').SelectValue;
|
1265
1265
|
allowClear: boolean;
|
1266
1266
|
showExtraOptions: boolean;
|
1267
|
-
options:
|
1267
|
+
options: SelectOption[];
|
1268
1268
|
limit: number;
|
1269
1269
|
inputValue: string;
|
1270
1270
|
defaultInputValue: string;
|
@@ -1286,13 +1286,13 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1286
1286
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1287
1287
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1288
1288
|
onClear?: (() => any) | undefined;
|
1289
|
-
onSelect?: ((value: import('../Select').
|
1289
|
+
onSelect?: ((value: import('../Select').OptionValue) => any) | undefined;
|
1290
1290
|
onSearch?: ((value: string) => any) | undefined;
|
1291
1291
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1292
|
-
"onUpdate:inputValue"?: ((value:
|
1292
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1293
1293
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
1294
1294
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1295
|
-
onExceedLimit?: ((value: import('../Select').
|
1295
|
+
onExceedLimit?: ((value: import('../Select').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1296
1296
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1297
1297
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1298
1298
|
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "error" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { SelectOption, SelectOptionData, VirtualListProps } from '../Select';
|
2
2
|
import { PopupContainer, ObjectData } from '../_shared/type';
|
3
3
|
import { TriggerProps } from '../Trigger';
|
4
4
|
import { VNode } from 'vue';
|
@@ -6,10 +6,10 @@ export type AutoCompleteProps = {
|
|
6
6
|
modelValue?: string;
|
7
7
|
defaultValue?: string;
|
8
8
|
disabled?: boolean;
|
9
|
-
data?:
|
9
|
+
data?: SelectOption[];
|
10
10
|
popupContainer?: PopupContainer;
|
11
11
|
strict?: boolean;
|
12
|
-
filterOption?:
|
12
|
+
filterOption?: FilterOption;
|
13
13
|
triggerProps?: TriggerProps;
|
14
14
|
allowClear?: boolean;
|
15
15
|
vistualListProps?: VirtualListProps;
|
@@ -44,3 +44,5 @@ export interface AutoCompleteExpose {
|
|
44
44
|
getMirrorRef(): HTMLDivElement | undefined;
|
45
45
|
updatePosition(x: number, y: number): void;
|
46
46
|
}
|
47
|
+
type FilterOption = (inputValue: string, option: SelectOptionData) => boolean;
|
48
|
+
export {};
|
package/es/Avatar/Avatar.vue.js
CHANGED
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$1 from "../_shared/icons/IconImageClose.vue.js";
|
package/es/BackTop/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-back-top{position:absolute;right:24px;bottom:24px}
|
1
|
+
.yc-back-top{position:absolute;right:24px;bottom:24px;z-index:10}
|
package/es/BackTop/index.vue.js
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode,
|
1
|
+
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, renderSlot, createVNode, unref, vShow } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import { findFirstScrollableParent, getElement } from "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
|
-
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
6
|
import "../_shared/utils/locale.js";
|
8
|
-
/* empty css
|
7
|
+
/* empty css */
|
9
8
|
/* empty css */
|
10
9
|
/* empty css */
|
11
10
|
import _sfc_main$1 from "../_shared/icons/IconToTop.vue.js";
|
@@ -26,7 +25,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
26
25
|
setup(__props) {
|
27
26
|
const props = __props;
|
28
27
|
const { targetContainer: _targetContainer, easeing, duration } = toRefs(props);
|
29
|
-
const { zIndex } = getGlobalConfig(props);
|
30
28
|
const buttonRef = ref();
|
31
29
|
const curScroll = ref(0);
|
32
30
|
const targetContainer = computed(() => {
|
@@ -52,9 +50,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
50
|
default: withCtx(() => [
|
53
51
|
withDirectives(createElementVNode("div", {
|
54
52
|
class: "yc-back-top",
|
55
|
-
style: normalizeStyle({
|
56
|
-
zIndex: unref(zIndex)
|
57
|
-
}),
|
58
53
|
ref_key: "buttonRef",
|
59
54
|
ref: buttonRef,
|
60
55
|
onClick: handleTop
|
@@ -71,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
71
66
|
_: 1
|
72
67
|
})
|
73
68
|
])
|
74
|
-
],
|
69
|
+
], 512), [
|
75
70
|
[vShow, curScroll.value >= _ctx.visibleHeight]
|
76
71
|
])
|
77
72
|
]),
|
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import Dropdown from "../Dropdown/index.js";
|
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
|
@@ -4,7 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ButtonType, ButtonShape, ButtonStatus } from '../type';
|
2
|
-
import { Props } from '../../_shared/type';
|
2
|
+
import { Size, Props } from '../../_shared/type';
|
3
3
|
declare const _default: () => {
|
4
4
|
provide: (props: Props) => void;
|
5
5
|
inject: (props: Props) => {
|
@@ -7,7 +7,7 @@ declare const _default: () => {
|
|
7
7
|
type: import('vue').ComputedRef<ButtonType>;
|
8
8
|
status: import('vue').ComputedRef<ButtonStatus>;
|
9
9
|
shape: import('vue').ComputedRef<ButtonShape>;
|
10
|
-
size: import('vue').ComputedRef<
|
10
|
+
size: import('vue').ComputedRef<Size>;
|
11
11
|
};
|
12
12
|
};
|
13
13
|
export default _default;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { toRefs, provide, inject, ref, computed } from "vue";
|
2
2
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../../_shared/utils/dom.js";
|
4
|
-
import { isUndefined } from "../../_shared/utils/is.js";
|
5
4
|
import "../../_shared/utils/time.js";
|
6
5
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
7
6
|
import "../../_shared/utils/locale.js";
|
@@ -35,23 +34,14 @@ const useContext = () => {
|
|
35
34
|
shape: ref("square"),
|
36
35
|
disabled: ref(false)
|
37
36
|
});
|
38
|
-
const getField = (value, injectValue, globalValue) => {
|
39
|
-
if (!isUndefined(value)) {
|
40
|
-
return value;
|
41
|
-
}
|
42
|
-
if (isUndefined(globalValue)) {
|
43
|
-
return injectValue;
|
44
|
-
}
|
45
|
-
return !isUndefined(injectValue) ? injectValue : globalValue;
|
46
|
-
};
|
47
37
|
return {
|
48
38
|
disabled: computed(() => disabled.value ?? _disabled.value),
|
49
39
|
type: computed(() => type.value ?? _type.value),
|
50
40
|
status: computed(() => status.value ?? _status.value),
|
51
41
|
shape: computed(() => shape.value ?? _shape.value),
|
52
|
-
size: computed(
|
53
|
-
|
54
|
-
)
|
42
|
+
size: computed(() => {
|
43
|
+
return size.value ?? (_size == null ? void 0 : _size.value) ?? globalSize.value;
|
44
|
+
})
|
55
45
|
};
|
56
46
|
};
|
57
47
|
return {
|
package/es/Button/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.yc-button{cursor:pointer;user-select:none;outline:none;border:1px solid transparent;font-weight:400;transition:all .1s cubic-bezier(0, 0, 1, 1);display:inline-flex;justify-content:center;align-items:center}.yc-button .yc-button-icon{flex-shrink:0;display:flex;justify-content:center;align-items:center}.yc-button .yc-button-icon .yc-spin{font-size:inherit;color:inherit}.yc-button-loading{cursor:default;position:relative}.yc-button-loading::before{content:'';display:block;z-index:1;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;background-color:#fff;opacity:.4}.yc-button-disabled{opacity:.4;cursor:not-allowed}.yc-button-long{width:100%}.yc-button.yc-button-primary.yc-button-status-normal{color:var(--color-white);background-color:rgb(var(--primary-6))}.yc-button.yc-button-primary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--primary-5))}.yc-button.yc-button-primary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--primary-7))}.yc-button.yc-button-primary.yc-button-status-warning{color:var(--color-white);background-color:rgb(var(--warning-6))}.yc-button.yc-button-primary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--warning-5))}.yc-button.yc-button-primary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--warning-7))}.yc-button.yc-button-primary.yc-button-status-success{color:var(--color-white);background-color:rgb(var(--success-6))}.yc-button.yc-button-primary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--success-5))}.yc-button.yc-button-primary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--success-7))}.yc-button.yc-button-primary.yc-button-status-danger{color:var(--color-white);background-color:rgb(var(--danger-6))}.yc-button.yc-button-primary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--danger-5))}.yc-button.yc-button-primary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--danger-7))}.yc-button.yc-button-secondary.yc-button-status-normal{color:var(--color-text-2);background-color:var(--color-fill-2)}.yc-button.yc-button-secondary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-3)}.yc-button.yc-button-secondary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-4)}.yc-button.yc-button-secondary.yc-button-status-warning{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1)}.yc-button.yc-button-secondary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-warning-light-2)}.yc-button.yc-button-secondary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-warning-light-3)}.yc-button.yc-button-secondary.yc-button-status-success{color:rgb(var(--success-6));background-color:var(--color-success-light-1)}.yc-button.yc-button-secondary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-success-light-2)}.yc-button.yc-button-secondary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-success-light-3)}.yc-button.yc-button-secondary.yc-button-status-danger{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1)}.yc-button.yc-button-secondary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-danger-light-2)}.yc-button.yc-button-secondary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-danger-light-3)}.yc-button.yc-button-dashed.yc-button-status-normal{color:var(--color-text-2);background-color:transparent;border-color:var(--color-border-2);border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2);border-color:var(--color-border-3)}.yc-button.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:var(--color-border-4);background-color:var(--color-fill-3)}.yc-button.yc-button-dashed.yc-button-status-warning{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1);border-color:rgb(var(--warning-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-warning-light-2);border-color:rgb(var(--warning-3))}.yc-button.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--warning-4));background-color:var(--color-warning-light-3)}.yc-button.yc-button-dashed.yc-button-status-success{color:rgb(var(--success-6));background-color:var(--color-success-light-1);border-color:rgb(var(--success-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-success-light-2);border-color:rgb(var(--success-3))}.yc-button.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--success-4));background-color:var(--color-success-light-3)}.yc-button.yc-button-dashed.yc-button-status-danger{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1);border-color:rgb(var(--danger-2));border-style:dashed}.yc-button.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-danger-light-2);border-color:rgb(var(--danger-3))}.yc-button.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--danger-4));background-color:var(--color-danger-light-3)}.yc-button.yc-button-outline.yc-button-status-normal{color:rgb(var(--primary-6));background-color:transparent;border-color:rgb(var(--primary-6))}.yc-button.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--primary-5));border-color:rgb(var(--primary-5))}.yc-button.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--primary-7));color:rgb(var(--primary-7))}.yc-button.yc-button-outline.yc-button-status-warning{color:rgb(var(--warning-6));background-color:transparent;border-color:rgb(var(--warning-6))}.yc-button.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--warning-5));border-color:rgb(var(--warning-5))}.yc-button.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--warning-7));color:rgb(var(--warning-7))}.yc-button.yc-button-outline.yc-button-status-success{color:rgb(var(--success-6));background-color:transparent;border-color:rgb(var(--success-6))}.yc-button.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--success-5));border-color:rgb(var(--success-5))}.yc-button.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--success-7));color:rgb(var(--success-7))}.yc-button.yc-button-outline.yc-button-status-danger{color:rgb(var(--danger-6));background-color:transparent;border-color:rgb(var(--danger-6))}.yc-button.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--danger-5));border-color:rgb(var(--danger-5))}.yc-button.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--danger-7));color:rgb(var(--danger-7))}.yc-button.yc-button-text.yc-button-status-normal{color:rgb(var(--primary-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-warning{color:rgb(var(--warning-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-success{color:rgb(var(--success-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button.yc-button-text.yc-button-status-danger{color:rgb(var(--danger-6));background-color:transparent}.yc-button.yc-button-text.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button.yc-button-text.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button-size-mini{height:24px;padding:0 11px;font-size:12px}.yc-button-size-mini .yc-button-icon{width:12px;height:12px;margin-right:4px}.yc-button-size-mini.yc-button-shape-circle{width:24px;padding:0}.yc-button-size-mini.yc-button-only-icon{width:24px;padding:0}.yc-button-size-mini.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-small{height:28px;padding:0 15px;font-size:14px}.yc-button-size-small .yc-button-icon{width:14px;height:14px;margin-right:6px}.yc-button-size-small.yc-button-shape-circle{width:28px;padding:0}.yc-button-size-small.yc-button-only-icon{width:28px;padding:0}.yc-button-size-small.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-medium{height:32px;padding:0 15px;font-size:14px}.yc-button-size-medium .yc-button-icon{width:14px;height:14px;margin-right:8px}.yc-button-size-medium.yc-button-shape-circle{width:32px;padding:0}.yc-button-size-medium.yc-button-only-icon{width:32px;padding:0}.yc-button-size-medium.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-large{height:36px;padding:0 19px;font-size:14px}.yc-button-size-large .yc-button-icon{width:14px;height:14px;margin-right:8px}.yc-button-size-large.yc-button-shape-circle{width:36px;padding:0}.yc-button-size-large.yc-button-only-icon{width:36px;padding:0}.yc-button-size-large.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-shape-square{border-radius:var(--border-radius-small)}.yc-button-shape-round{border-radius:30px}.yc-button-shape-circle{border-radius:var(--border-radius-circle)}.yc-button-group{display:inline-flex;align-items:center}.yc-button-group .yc-button{flex-shrink:0}.yc-button-group .yc-button:not(:first-child):not(:last-child){border-radius:var(--border-radius-none)}.yc-button-group .yc-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.yc-button-group .yc-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0;border-right:none}.yc-button-group-dashed .yc-button:not(:first-child),.yc-button-group-outline .yc-button:not(:first-child){border-left:none}.yc-button-group-primary .yc-button:not(:last-child),.yc-button-group-status-primary .yc-button:not(:last-child){border-right:1px solid rgb(var(--primary-5))}.yc-button-group-secondary .yc-button:not(:last-child),.yc-button-group-status-secondary .yc-button:not(:last-child){border-right:1px solid var(--color-secondary-hover)}.yc-button-group-warning .yc-button:not(:last-child),.yc-button-group-status-warning .yc-button:not(:last-child){border-right:1px solid rgb(var(--warning-5))}.yc-button-group-success .yc-button:not(:last-child),.yc-button-group-status-success .yc-button:not(:last-child){border-right:1px solid rgb(var(--success-5))}.yc-button-group-danger .yc-button:not(:last-child),.yc-button-group-status-danger .yc-button:not(:last-child){border-right:1px solid rgb(var(--danger-5))}
|
1
|
+
.yc-button{cursor:pointer;user-select:none;outline:none;border:1px solid transparent;font-weight:400;transition:all .1s cubic-bezier(0, 0, 1, 1);display:inline-flex;justify-content:center;align-items:center}.yc-button .yc-button-icon{flex-shrink:0;display:flex;justify-content:center;align-items:center}.yc-button .yc-button-icon .yc-spin{font-size:inherit;color:inherit}.yc-button-loading{cursor:default;position:relative}.yc-button-loading::before{content:'';z-index:1;position:absolute;left:-1px;top:-1px;width:calc(100% + 2px);height:calc(100% + 2px);background-color:#fff;opacity:.4;display:block}.yc-button-disabled{opacity:.4;cursor:not-allowed}.yc-button-long{width:100%}.yc-button-primary.yc-button-status-normal{background-color:rgb(var(--primary-6));color:var(--color-white)}.yc-button-primary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--primary-5))}.yc-button-primary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--primary-7))}.yc-button-primary.yc-button-status-warning{background-color:rgb(var(--warning-6));color:var(--color-white)}.yc-button-primary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--warning-5))}.yc-button-primary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--warning-7))}.yc-button-primary.yc-button-status-success{background-color:rgb(var(--success-6));color:var(--color-white)}.yc-button-primary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--success-5))}.yc-button-primary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--success-7))}.yc-button-primary.yc-button-status-danger{background-color:rgb(var(--danger-6));color:var(--color-white)}.yc-button-primary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:rgb(var(--danger-5))}.yc-button-primary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:rgb(var(--danger-7))}.yc-button-secondary.yc-button-status-normal{background-color:var(--color-fill-2);color:var(--color-text-2)}.yc-button-secondary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-3)}.yc-button-secondary.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-4)}.yc-button-secondary.yc-button-status-warning{background-color:var(--color-warning-light-1);color:rgb(var(--warning-6))}.yc-button-secondary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-warning-light-2)}.yc-button-secondary.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-warning-light-3)}.yc-button-secondary.yc-button-status-success{background-color:var(--color-success-light-1);color:rgb(var(--success-6))}.yc-button-secondary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-success-light-2)}.yc-button-secondary.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-success-light-3)}.yc-button-secondary.yc-button-status-danger{background-color:var(--color-danger-light-1);color:rgb(var(--danger-6))}.yc-button-secondary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-danger-light-2)}.yc-button-secondary.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-danger-light-3)}.yc-button-dashed.yc-button-status-normal{background-color:transparent;border-color:var(--color-border-2);color:var(--color-text-2);border-style:dashed}.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{border-color:var(--color-border-3)}.yc-button-dashed.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:var(--color-border-4)}.yc-button-dashed.yc-button-status-warning{background-color:var(--color-warning-light-1);border-color:rgb(var(--warning-2));color:rgb(var(--warning-6));border-style:dashed}.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-warning-light-2)}.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-warning-light-3)}.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{border-color:rgb(var(--warning-3))}.yc-button-dashed.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--warning-4))}.yc-button-dashed.yc-button-status-success{background-color:var(--color-success-light-1);border-color:rgb(var(--success-2));color:rgb(var(--success-6));border-style:dashed}.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-success-light-2)}.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-success-light-3)}.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{border-color:rgb(var(--success-3))}.yc-button-dashed.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--success-4))}.yc-button-dashed.yc-button-status-danger{background-color:var(--color-danger-light-1);border-color:rgb(var(--danger-2));color:rgb(var(--danger-6));border-style:dashed}.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-danger-light-2)}.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-danger-light-3)}.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{border-color:rgb(var(--danger-3))}.yc-button-dashed.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--danger-4))}.yc-button-outline.yc-button-status-normal{background-color:transparent;border-color:rgb(var(--primary-6));color:rgb(var(--primary-6))}.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{border-color:rgb(var(--primary-5))}.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--primary-7))}.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--primary-5))}.yc-button-outline.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{color:rgb(var(--primary-7))}.yc-button-outline.yc-button-status-warning{background-color:transparent;border-color:rgb(var(--warning-6));color:rgb(var(--warning-6))}.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{border-color:rgb(var(--warning-5))}.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--warning-7))}.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--warning-5))}.yc-button-outline.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{color:rgb(var(--warning-7))}.yc-button-outline.yc-button-status-success{background-color:transparent;border-color:rgb(var(--success-6));color:rgb(var(--success-6))}.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{border-color:rgb(var(--success-5))}.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--success-7))}.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--success-5))}.yc-button-outline.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{color:rgb(var(--success-7))}.yc-button-outline.yc-button-status-danger{background-color:transparent;border-color:rgb(var(--danger-6));color:rgb(var(--danger-6))}.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{border-color:rgb(var(--danger-5))}.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{border-color:rgb(var(--danger-7))}.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{color:rgb(var(--danger-5))}.yc-button-outline.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{color:rgb(var(--danger-7))}.yc-button-text.yc-button-status-normal{color:rgb(var(--primary-6));background-color:transparent}.yc-button-text.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button-text.yc-button-status-normal:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button-text.yc-button-status-warning{color:rgb(var(--warning-6));background-color:transparent}.yc-button-text.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button-text.yc-button-status-warning:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button-text.yc-button-status-success{color:rgb(var(--success-6));background-color:transparent}.yc-button-text.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button-text.yc-button-status-success:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button-text.yc-button-status-danger{color:rgb(var(--danger-6));background-color:transparent}.yc-button-text.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):hover{background-color:var(--color-fill-2)}.yc-button-text.yc-button-status-danger:not(.yc-button-disabled):not(.yc-button-loading):active{background-color:var(--color-fill-3)}.yc-button-size-mini{height:24px;padding:0 11px;font-size:12px}.yc-button-size-mini .yc-button-icon{width:12px;height:12px;margin-right:4px}.yc-button-size-mini.yc-button-shape-circle{width:24px;padding:0}.yc-button-size-mini.yc-button-only-icon{width:24px;padding:0}.yc-button-size-mini.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-small{height:28px;padding:0 15px;font-size:14px}.yc-button-size-small .yc-button-icon{width:14px;height:14px;margin-right:6px}.yc-button-size-small.yc-button-shape-circle{width:28px;padding:0}.yc-button-size-small.yc-button-only-icon{width:28px;padding:0}.yc-button-size-small.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-medium{height:32px;padding:0 15px;font-size:14px}.yc-button-size-medium .yc-button-icon{width:14px;height:14px;margin-right:8px}.yc-button-size-medium.yc-button-shape-circle{width:32px;padding:0}.yc-button-size-medium.yc-button-only-icon{width:32px;padding:0}.yc-button-size-medium.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-size-large{height:36px;padding:0 19px;font-size:14px}.yc-button-size-large .yc-button-icon{width:14px;height:14px;margin-right:8px}.yc-button-size-large.yc-button-shape-circle{width:36px;padding:0}.yc-button-size-large.yc-button-only-icon{width:36px;padding:0}.yc-button-size-large.yc-button-only-icon .yc-button-icon{margin:0 }.yc-button-shape-square{border-radius:var(--border-radius-small)}.yc-button-shape-round{border-radius:30px}.yc-button-shape-circle{border-radius:var(--border-radius-circle)}.yc-button-group{display:inline-flex;align-items:center}.yc-button-group .yc-button{flex-shrink:0}.yc-button-group .yc-button:not(:first-child):not(:last-child){border-radius:var(--border-radius-none)}.yc-button-group .yc-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.yc-button-group .yc-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0;border-right:none}.yc-button-group-dashed .yc-button:not(:first-child),.yc-button-group-outline .yc-button:not(:first-child){border-left:none}.yc-button-group-primary .yc-button:not(:last-child),.yc-button-group-status-primary .yc-button:not(:last-child){border-right:1px solid rgb(var(--primary-5))}.yc-button-group-secondary .yc-button:not(:last-child),.yc-button-group-status-secondary .yc-button:not(:last-child){border-right:1px solid var(--color-secondary-hover)}.yc-button-group-warning .yc-button:not(:last-child),.yc-button-group-status-warning .yc-button:not(:last-child){border-right:1px solid rgb(var(--warning-5))}.yc-button-group-success .yc-button:not(:last-child),.yc-button-group-status-success .yc-button:not(:last-child){border-right:1px solid rgb(var(--success-5))}.yc-button-group-danger .yc-button:not(:last-child),.yc-button-group-status-danger .yc-button:not(:last-child){border-right:1px solid rgb(var(--danger-5))}
|
@@ -5,8 +5,8 @@ import "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
9
|
-
/* empty css
|
8
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|