yc-design-vue 1.9.9 → 2.0.1
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 +2 -2
- package/es/Avatar/Avatar.vue.js +1 -1
- package/es/BackTop/index.vue.js +1 -1
- 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/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 +7 -7
- package/es/Input/Input.vue.js +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/InputNumber/InputOperaBtn.vue.js +1 -1
- package/es/InputTag/index.vue.js +2 -2
- package/es/Layout/LayoutSider.vue.js +1 -1
- package/es/Layout/index.css +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 +1 -1
- 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/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 +2 -2
- package/es/Transfer/Transfer.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Trigger/index.vue.js +1 -1
- 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/_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 +1 -23
- package/es/_shared/icons/IconCopy.vue2.js +23 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -1
- package/es/_shared/icons/IconDragDot.vue.js +1 -1
- package/es/_shared/icons/IconEdit.vue.js +1 -23
- package/es/_shared/icons/IconEdit.vue2.js +23 -1
- package/es/_shared/icons/IconEmpty.vue.js +1 -1
- package/es/_shared/icons/IconError.vue.js +1 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -1
- 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.vue.js +1 -23
- package/es/_shared/icons/IconFullScreen.vue2.js +23 -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.vue2.js +1 -1
- package/es/_shared/icons/IconMore.vue.js +1 -1
- package/es/_shared/icons/IconOriginSize.vue.js +1 -29
- package/es/_shared/icons/IconOriginSize.vue2.js +29 -1
- package/es/_shared/icons/IconPlus.vue.js +1 -1
- package/es/_shared/icons/IconRight.vue.js +1 -1
- package/es/_shared/icons/IconRotateLeft.vue.js +1 -23
- package/es/_shared/icons/IconRotateLeft.vue2.js +23 -1
- package/es/_shared/icons/IconRotateRight.vue.js +1 -23
- package/es/_shared/icons/IconRotateRight.vue2.js +23 -1
- package/es/_shared/icons/IconSearch.vue2.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.vue.js +1 -23
- package/es/_shared/icons/IconZoomIn.vue2.js +23 -1
- package/es/_shared/icons/IconZoomOut.vue.js +1 -23
- package/es/_shared/icons/IconZoomOut.vue2.js +23 -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 +2 -2
- package/lib/Avatar/Avatar.vue.js +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/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/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/index.css +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/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/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/_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.vue2.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.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.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.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.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.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/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/lib/Alert/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../_shared/constants/index.js"),o=;/* empty css
|
1
|
+
"use strict";const e=require("vue"),t=require("../_shared/constants/index.js"),o=;/* empty css */,/* empty css */require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */;/* empty css */const l={key:0,class:"yc-alert-icon"},n={class:"yc-alert-body"},r={key:0,class:"yc-alert-title"},s={class:"yc-alert-content"},a={key:1,class:"yc-alert-action"},c=e.defineComponent({name:"Alert",__name:"index",props:{type:{default:"info"},showIcon:{type:Boolean,default:!0},closable:{type:Boolean,default:!1},title:{default:""},banner:{type:Boolean,default:!1},center:{type:Boolean,default:!1}},emits:["close","after-close"],setup(c,{emit:i}){const d=i,m=e.ref(!0),u=e=>{m.value=!1,d("close",e)};return(c,i)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-dynamic-origin",onAfterLeave:i[0]||(i[0]=e=>c.$emit("after-close"))},{default:e.withCtx(()=>[m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-alert",`yc-alert-${c.type}`,{"yc-alert-has-title":c.title||c.$slots.title,"yc-alert-center":c.center||c.banner,"yc-alert-banner":c.banner}])},[c.showIcon?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(c.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t.TYPE_ICON_MAP)[c.type])))])])):e.createCommentVNode("",!0),e.createElementVNode("div",n,[c.$slots.title||c.title?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(c.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(c.title),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",s,[e.renderSlot(c.$slots,"default")])]),c.$slots.action?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(c.$slots,"action")])):e.createCommentVNode("",!0),c.closable?(e.openBlock(),e.createElementBlock("div",{key:2,class:"yc-alert-close-btn",role:"button","aria-label":"Close",onClick:u},[e.renderSlot(c.$slots,"close-element",{},()=>[e.createVNode(e.unref(o))])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)]),_:3}))}});module.exports=c;
|
@@ -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,7 +6,7 @@ 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
12
|
filterOption?: FilterOption;
|
package/lib/Avatar/Avatar.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),r=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css
|
1
|
+
"use strict";const e=require("vue"),r=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const a=require("../_shared/icons/IconImageClose.vue.js"),o=require("./hooks/useContext.js"),l={key:1,class:"yc-avatar-image"},s=["src"],n={key:1,class:"yc-avatar-image-icon"},i=e.defineComponent({name:"Avatar",__name:"Avatar",props:{shape:{default:void 0},imageUrl:{default:""},size:{default:void 0},autoFixFontSize:{type:Boolean,default:void 0},triggerType:{default:"button"},triggerIconStyle:{default:()=>({})},objectFit:{default:"cover"}},emits:["click","error","load"],setup(i,{emit:c}){const u=i,d=c,{size:m,autoFixFontSize:v,shape:y}=o().inject(u),f=e.ref(!1),g=e.ref(1),k=e.ref(),p=e.ref(),h=e.computed(()=>{var e;return null==(e=k.value)?void 0:e.querySelector("img")}),j=e=>{f.value=!0,d("error",e)};return v.value&&r.useResizeObserver(k,()=>{const e=m.value??p.value.offsetWidth,r=e/(k.value.offsetWidth+8);g.value=e&&r<1?r:1}),(r,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-avatar",`yc-avatar-shape-${e.unref(y)}`]),style:e.normalizeStyle({width:e.unref(t.valueToPx)(e.unref(m)),height:e.unref(t.valueToPx)(e.unref(m))}),ref_key:"avatarRef",ref:p,onClick:o[1]||(o[1]=e=>r.$emit("click",e))},[r.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([h.value?"yc-avatar-image":"yc-avatar-text"]),style:e.normalizeStyle({transform:h.value?"":`scale(${g.value}) translateX(-50%)`}),ref_key:"textRef",ref:k},[e.renderSlot(r.$slots,"default")],6)):r.imageUrl?(e.openBlock(),e.createElementBlock("span",l,[f.value?(e.openBlock(),e.createElementBlock("div",n,[e.createVNode(e.unref(a))])):(e.openBlock(),e.createElementBlock("img",{key:0,src:r.imageUrl,style:e.normalizeStyle({objectFit:r.objectFit}),alt:"avatar",onLoad:o[0]||(o[0]=e=>r.$emit("load",e)),onError:j},null,44,s))])):e.createCommentVNode("",!0),r.$slots["trigger-icon"]?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([{"yc-avatar-trigger-icon-button":"button"==r.triggerType,"yc-avatar-trigger-icon-mask":"mask"==r.triggerType}]),style:e.normalizeStyle(r.triggerIconStyle)},[e.renderSlot(r.$slots,"trigger-icon")],6)):e.createCommentVNode("",!0)],6))}});module.exports=i;
|
package/lib/BackTop/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const o=require("../_shared/icons/IconToTop.vue.js"),s=require("../node_modules/b-tween/dist/b-tween.es.js"),n=require("../node_modules/@vueuse/core/index.js"),i=require("../Button/index.js"),u=e.defineComponent({name:"BackTop",__name:"index",props:{visibleHeight:{default:200},targetContainer:{},easeing:{default:"quadOut"},duration:{default:200}},setup(u){const a=u,{targetContainer:l,easeing:d,duration:c}=e.toRefs(a),v=e.ref(),p=e.ref(0),f=e.computed(()=>t.isUndefined(l.value)?r.findFirstScrollableParent(v.value):r.getElement(l.value)),m=()=>{f.value&&new s({from:{scroll:f.value.scrollTop},to:{scroll:0},duration:c.value,easing:d.value,onUpdate:e=>{f.value.scrollTop=e.scroll}}).start()};return n.useEventListener(f,"scroll",()=>{p.value=f.value.scrollTop}),(r,t)=>(e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"yc-back-top",ref_key:"buttonRef",ref:v,onClick:m},[e.renderSlot(r.$slots,"default",{},()=>[e.createVNode(e.unref(i.default),{type:"primary",shape:"circle",size:"large"},{default:e.withCtx(()=>[e.createVNode(e.unref(o))]),_:1})])],512),[[e.vShow,p.value>=r.visibleHeight]])]),_:3}))}});module.exports=u;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),o=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css
|
1
|
+
"use strict";const e=require("vue"),o=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const r=require("../Dropdown/index.js"),t=require("../Dropdown/Doption.vue.js");;/* empty css */const l={class:"yc-breadcrumb-item"},s=["href"],n={key:2,class:"yc-breadcrumb-item-dropdown-icon"},d=e.defineComponent({name:"BreadcrumbItem",__name:"BreadcrumbItem",props:{separator:{default:""},droplist:{default:()=>[]},dropdownProps:{default:()=>({})},path:{default:""},showSeparator:{type:Boolean,default:!0}},setup(d){const a=e.ref(!1);return(d,i)=>(e.openBlock(),e.createBlock(e.unref(r.default),e.mergeProps({"popup-visible":a.value,"onUpdate:popupVisible":i[0]||(i[0]=e=>a.value=e)},d.dropdownProps,{disabled:!d.droplist.length&&!d.$slots.droplist}),{content:e.withCtx(()=>[e.renderSlot(d.$slots,"droplist",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.droplist,o=>(e.openBlock(),e.createBlock(e.unref(t),{key:o.path,value:o.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["value"]))),128))])]),default:e.withCtx(()=>[e.createElementVNode("div",l,[d.path?(e.openBlock(),e.createElementBlock("a",{key:0,href:`#${d.path}`},[e.renderSlot(d.$slots,"default")],8,s)):e.renderSlot(d.$slots,"default",{key:1}),d.droplist.length||d.$slots.droplist?(e.openBlock(),e.createElementBlock("div",n,[e.createVNode(e.unref(o),{rotate:a.value?180:0},null,8,["rotate"])])):e.createCommentVNode("",!0)])]),_:3},16,["popup-visible","disabled"]))}});module.exports=d;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconMore.vue.js"),o=require("./BreadcrumbItem.vue.js");;/* empty css */const s=e.defineComponent({__name:"BreadcrumbMore",props:{slots:{}},setup:s=>(s,n)=>(e.openBlock(),e.createBlock(o,null,{default:e.withCtx(()=>[s.slots["more-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.slots["more-icon"]),{key:0})):(e.openBlock(),e.createBlock(e.unref(r),{key:1}))]),_:1}))});module.exports=s;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const o=require("../_shared/icons/IconSeparator.vue2.js"),t={class:"yc-breadcrumb-item-separator"},a=e.defineComponent({__name:"BreadcrumbSeparator",props:{separatorSlots:{type:Function},separator:{},itemSeparatorSlots:{type:Function},itemSeparator:{}},setup(a){const s=a,n=e.computed(()=>r.isUndefined(s.itemSeparatorSlots)?s.separatorSlots||s.separator:s.itemSeparatorSlots||s.itemSeparator||s.separatorSlots||s.separator),i=()=>{var e,o,t;return r.isUndefined(s.itemSeparatorSlots)?(null==(e=s.separatorSlots)?void 0:e.call(s))||s.separator:(null==(o=s.itemSeparatorSlots)?void 0:o.call(s))||s.itemSeparator||(null==(t=s.separatorSlots)?void 0:t.call(s))||s.separator};return(r,a)=>(e.openBlock(),e.createElementBlock("span",t,[n.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]))}});module.exports=a;
|
package/lib/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-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))}
|
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))}
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),a=require("../node_modules/dayjs/dayjs.min.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const t=require("../_shared/utils/locale.js"),r=require("../_shared/utils/control.js"),o=;/* empty css
|
1
|
+
"use strict";const e=require("vue"),a=require("../node_modules/dayjs/dayjs.min.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const t=require("../_shared/utils/locale.js"),r=require("../_shared/utils/control.js"),o=;/* empty css */,/* empty css */,/* empty css */;/* empty css */const l=require("../_shared/icons/IconArrowRight.vue.js"),n=require("../Button/index.js");require("../Radio/index.js");const d=require("./CalendarMonth.vue.js");;/* empty css */const u=require("./CalendarYear.vue.js");;/* empty css */const s=require("../Radio/RadioGroup.vue.js");;/* empty css */const c={class:"yc-calendar-header"},i={class:"yc-calendar-header-left"},m={class:"yc-calendar-header-value"},v={class:"yc-calendar-header-right"},f={class:"yc-calendar-body"},h=e.defineComponent({name:"Calendar",__name:"Calendar",props:{modelValue:{default:void 0},defaultValue:{default:()=>new Date},mode:{default:void 0},defaultMode:{default:"month"},modes:{default:()=>["month","year"]}},emits:["update:modelValue","update:mode","change","panel-change"],setup(h,{emit:p}){const y=h,V=p,{modelValue:j,defaultValue:q,mode:C,defaultMode:x,modes:_}=e.toRefs(y),k=r(j,q.value,e=>{V("update:modelValue",e),V("change",e)}),{t:N}=t.useI18n(),w=e.ref({}),g=e.computed(()=>{const{year:e,month:t}=w.value;return a().set("year",e).set("month",t).format(N("calendar.formatMonth"))});e.watch(()=>k.value,e=>{const t=e?a(e):a();w.value={year:t.year(),month:t.month()+1,day:t.date()}},{immediate:!0});const R=r(C,x.value,e=>{V("update:mode",e),V("panel-change",k.value)}),z=e.computed(()=>_.value.map(e=>({label:N(`calendar.view.${e}`),value:e}))),B=e=>{k.value=new Date(e.fullDate)},D=e=>{if("today"==e)return void(k.value=new Date);const{year:a,month:t}=w.value;if("next"==e){const e=t+1>12?1:t+1,r=t+1>12||"year"==R.value?1:0;if(w.value.year=a+r,"year"==R.value)return;w.value.month=e}else{const e=t-1<1?12:t-1,r=t-1<1||"year"==R.value?-1:0;if(w.value.year=a+r,"year"==R.value)return;w.value.month=e}};return(a,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-calendar",`yc-calendar-mode-${e.unref(R)}`])},[e.createElementVNode("div",c,[e.createElementVNode("div",i,[e.createVNode(e.unref(o),{class:"yc-calendar-header-icon",role:"button",tabindex:"0",size:28,"hover-size":28,onClick:t[0]||(t[0]=e=>D("pre"))},{default:e.withCtx(()=>[e.createVNode(e.unref(l),{rotate:180})]),_:1}),e.createElementVNode("div",m,[e.renderSlot(a.$slots,"header",{year:w.value.year,month:w.value.month},()=>[e.createTextVNode(e.toDisplayString(g.value),1)])]),e.createVNode(e.unref(o),{role:"button",tabindex:"0",class:"yc-calendar-header-icon",size:28,"hover-size":28,onClick:t[1]||(t[1]=e=>D("next"))},{default:e.withCtx(()=>[e.createVNode(e.unref(l))]),_:1}),e.createVNode(e.unref(n.default),{onClick:t[2]||(t[2]=e=>D("today")),size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(N)("calendar.today")),1)]),_:1})]),e.createElementVNode("div",v,[e.createVNode(e.unref(s),{modelValue:e.unref(R),"onUpdate:modelValue":t[3]||(t[3]=a=>e.isRef(R)?R.value=a:null),options:z.value,type:"button",size:"small"},null,8,["modelValue","options"])])]),e.createElementVNode("div",f,["month"==e.unref(R)?(e.openBlock(),e.createBlock(d,{key:0,"computed-value":e.unref(k),recordDate:w.value,onCellClick:B},e.createSlots({_:2},[a.$slots.default?{name:"default",fn:e.withCtx(t=>[e.renderSlot(a.$slots,"default",e.normalizeProps(e.guardReactiveProps(t)))]),key:"0"}:void 0]),1032,["computed-value","recordDate"])):(e.openBlock(),e.createBlock(u,{key:1,"computed-value":e.unref(k),"record-date":w.value,onCellClick:B},e.createSlots({_:2},[a.$slots.default?{name:"default",fn:e.withCtx(t=>[e.renderSlot(a.$slots,"default",e.normalizeProps(e.guardReactiveProps(t)))]),key:"0"}:void 0]),1032,["computed-value","record-date"]))])],2))}});module.exports=h;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconArrowRight.vue.js"),o=require("./hooks/useContext.js"),t=e.defineComponent({__name:"CarouselArrow",props:{type:{}},emits:["change"],setup(t){const s=t,{type:n}=e.toRefs(s),{showArrow:u,direction:a,arrowClass:c,computedCurrent:l}=o().inject(),i=e.computed(()=>"next"==n.value?"horizontal"==a.value?0:90:"horizontal"==a.value?180:-90),d=e.computed(()=>"next"==n.value?"horizontal"==a.value?"yc-carousel-arrow-right":"yc-carousel-arrow-bottom":"horizontal"==a.value?"yc-carousel-arrow-left":"yc-carousel-arrow-top");return(o,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-carousel-arrow",d.value,e.unref(c),{"yc-carousel-arrow-show-hover":"hover"==e.unref(u)}]),onClick:t[0]||(t[0]=r=>o.$emit("change","next"==e.unref(n)?e.unref(l)+1:e.unref(l)-1))},[e.createVNode(e.unref(r),{rotate:i.value},null,8,["rotate"])],2))}});module.exports=t;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),o=require("./hooks/useContext.js"),n=require("../_shared/icons/IconArrowDown.vue.js"),c=;/* empty css
|
1
|
+
"use strict";const e=require("vue"),o=require("./hooks/useContext.js"),n=require("../_shared/icons/IconArrowDown.vue.js"),c=;/* empty css */,/* empty css */require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */;/* empty css */const r=require("../Spin/index.js"),s={class:"yc-cascader-suffix-icon"},t={key:0,class:"yc-cascader-search-icon"},a=e.defineComponent({__name:"CascaderIcon",props:{loading:{type:Boolean},popupVisible:{type:Boolean},showClearBtn:{type:Boolean},allowSearch:{type:Boolean}},emits:["clear"],setup(a){const{slots:i}=o.default().inject(),l=e=>i[e];return(o,a)=>{const u=e.resolveComponent("icon-search");return o.loading?(e.openBlock(),e.createBlock(e.unref(r),{key:0,size:12,class:"yc-cascader-loading-icon"},e.createSlots({_:2},[o.$slots["loading-icon"]?{name:"icon",fn:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l("loading-icon"))))]),key:"0"}:void 0]),1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",s,[e.unref(i)["arrow-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l("arrow-icon")),{key:0})):(e.openBlock(),e.createBlock(e.unref(n),{key:1,rotate:o.popupVisible?180:0},null,8,["rotate"]))]),o.allowSearch?(e.openBlock(),e.createElementBlock("div",t,[e.unref(i)["search-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l("search-icon")),{key:0})):(e.openBlock(),e.createBlock(u,{key:1}))])):e.createCommentVNode("",!0),o.showClearBtn?(e.openBlock(),e.createBlock(e.unref(c),{key:1,class:"yc-cascader-clear-icon",onClick:a[0]||(a[0]=e.withModifiers(e=>o.$emit("clear"),["stop"]))})):e.createCommentVNode("",!0)],64))}}});module.exports=a;
|