yc-design-vue 2.1.9 → 2.2.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/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/es/Alert/index.vue.js +3 -3
- package/es/Avatar/Avatar.vue.d.ts +1 -1
- package/es/Avatar/Avatar.vue.js +2 -2
- package/es/Avatar/index.d.ts +3 -3
- package/es/BackTop/index.vue.js +2 -2
- package/es/Badge/index.d.ts +3 -3
- package/es/Badge/index.vue.d.ts +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +2 -2
- package/es/Breadcrumb/BreadcrumbMore.vue.js +2 -2
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +3 -3
- package/es/Button/Button.vue.d.ts +2 -2
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/index.d.ts +9 -9
- package/es/Calendar/Calendar.vue.js +3 -3
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/index.d.ts +3 -3
- package/es/Carousel/CarouselArrow.vue.js +2 -2
- package/es/Cascader/Cascader.vue.d.ts +12 -44
- package/es/Cascader/CascaderIcon.vue.js +3 -3
- package/es/Cascader/CascaderOption.vue.js +2 -2
- package/es/Cascader/index.d.ts +6 -22
- package/es/Checkbox/Checkbox.vue.js +3 -3
- package/es/Collapse/CollapseItem.vue.js +4 -4
- package/es/Drawer/Drawer.vue.js +3 -3
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/DropdownButton.vue.js +2 -2
- package/es/Dropdown/Dsubmenu.vue.js +2 -2
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +2 -2
- package/es/Image/Image.vue.js +2 -2
- package/es/Image/ImagePreview.vue.js +2 -2
- package/es/Image/ImagePreviewArrow.vue.js +2 -2
- package/es/Image/ImagePreviewToolbar.vue.js +8 -8
- package/es/Input/Input.vue.d.ts +2 -8
- package/es/Input/Input.vue.js +27 -49
- package/es/Input/InputPassword.vue.d.ts +309 -0
- package/es/Input/InputPassword.vue.js +122 -0
- package/es/Input/InputPassword.vue2.js +4 -0
- package/es/Input/InputSearch.vue.d.ts +310 -0
- package/es/Input/InputSearch.vue.js +142 -0
- package/es/Input/InputSearch.vue2.js +4 -0
- package/es/Input/hooks/useLimitedInput.d.ts +2 -0
- package/es/Input/hooks/useLimitedInput.js +2 -0
- package/es/Input/index.css +1 -1
- package/es/Input/index.d.ts +420 -23
- package/es/Input/index.js +11 -3
- package/es/Input/type.d.ts +24 -6
- package/es/InputNumber/InputNumber.vue.d.ts +12 -44
- package/es/InputNumber/InputOperaBtn.vue.js +2 -2
- package/es/InputNumber/index.d.ts +6 -22
- package/es/InputTag/index.vue.js +3 -3
- package/es/Layout/LayoutSider.vue.js +2 -2
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/Link/index.vue.js +2 -2
- package/es/Menu/Menu.vue.js +2 -2
- package/es/Menu/MenuEllipsis.vue.js +2 -2
- package/es/Menu/SubMenu.vue.js +3 -3
- package/es/Message/Message.vue.js +3 -3
- package/es/Modal/Modal.vue.js +3 -3
- package/es/Notification/Notification.vue.js +3 -3
- package/es/PageHeader/index.vue.js +3 -3
- package/es/Pagination/PaginationItem.vue.js +2 -2
- package/es/Progress/ProgressCircle.vue.js +3 -3
- package/es/Radio/Radio.vue.js +3 -3
- package/es/Rate/index.vue.js +2 -2
- package/es/ResizeBox/index.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +3 -3
- package/es/Spin/index.vue.js +2 -2
- package/es/Split/index.vue.js +2 -2
- package/es/Statistic/Statistic.vue.d.ts +1 -1
- package/es/Statistic/index.d.ts +3 -3
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Step.vue.js +2 -2
- package/es/Steps/Steps.vue.d.ts +1 -1
- package/es/Steps/index.d.ts +6 -6
- package/es/Tabs/TabButton.vue.js +3 -3
- package/es/Tabs/Tabs.vue.js +2 -2
- package/es/Tag/index.vue.js +3 -3
- package/es/Textarea/index.vue.js +3 -3
- package/es/TimePicker/TimePicker.vue.js +3 -3
- package/es/Transfer/Transfer.vue.js +2 -2
- package/es/Transfer/TransferPanel.vue.js +4 -4
- package/es/Trigger/index.vue.js +2 -2
- package/es/Typography/TypographyBase.vue.d.ts +12 -44
- package/es/Typography/TypographyBase.vue.js +4 -4
- package/es/Upload/UploadButton.vue.js +2 -2
- package/es/Upload/UploadDrag.vue.js +2 -2
- package/es/Upload/UploadFileList.vue2.js +3 -3
- package/es/Upload/UploadPictureCard.vue2.js +3 -3
- package/es/_shared/components/ExpandTransition/index.vue3.js +2 -2
- package/es/_shared/components/IconButton/{index.vue.js → index.vue2.js} +2 -2
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.js +2 -2
- package/es/_shared/icons/IconArrowDown.vue.js +2 -2
- package/es/_shared/icons/IconArrowRight.vue.js +2 -2
- package/es/_shared/icons/IconCheck.vue.js +2 -2
- package/es/_shared/icons/IconCheckboxChecked.vue.js +2 -2
- package/es/_shared/icons/IconClose.vue.js +2 -2
- package/es/_shared/icons/IconCopy.vue.js +1 -28
- package/es/_shared/icons/IconCopy.vue2.js +28 -1
- package/es/_shared/icons/IconDelete.vue2.js +2 -2
- package/es/_shared/icons/IconDragDot.vue.js +2 -2
- package/es/_shared/icons/IconEdit.vue.js +1 -28
- package/es/_shared/icons/IconEdit.vue2.js +28 -1
- package/es/_shared/icons/IconEmpty.vue.js +2 -2
- package/es/_shared/icons/IconError.vue.js +2 -2
- package/es/_shared/icons/IconExclamation.vue.js +39 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -39
- package/es/_shared/icons/IconEyeClose.vue.js +32 -1
- package/es/_shared/icons/IconEyeClose.vue2.js +1 -32
- package/es/_shared/icons/IconEyeOpen.vue.js +29 -1
- package/es/_shared/icons/IconEyeOpen.vue2.js +1 -29
- package/es/_shared/icons/IconFaceSmile.vue.js +2 -2
- package/es/_shared/icons/IconFile.vue2.js +2 -2
- package/es/_shared/icons/IconFullScreen.vue.js +1 -28
- package/es/_shared/icons/IconFullScreen.vue2.js +28 -1
- package/es/_shared/icons/IconImageClose.vue.js +2 -2
- package/es/_shared/icons/IconInfo.vue.js +2 -2
- package/es/_shared/icons/IconInfoLine.vue.js +2 -2
- package/es/_shared/icons/IconLink.vue.js +2 -2
- package/es/_shared/icons/IconLoading.vue.js +2 -2
- package/es/_shared/icons/IconMenuFold.vue.js +2 -2
- package/es/_shared/icons/IconMenuUnfold.vue.js +2 -2
- package/es/_shared/icons/IconMinus.vue2.js +2 -2
- package/es/_shared/icons/IconMore.vue.js +2 -2
- package/es/_shared/icons/IconOriginSize.vue.js +1 -34
- package/es/_shared/icons/IconOriginSize.vue2.js +34 -1
- package/es/_shared/icons/IconPlus.vue.js +2 -2
- package/es/_shared/icons/IconRight.vue.js +2 -2
- package/es/_shared/icons/IconRotateLeft.vue.js +1 -28
- package/es/_shared/icons/IconRotateLeft.vue2.js +28 -1
- package/es/_shared/icons/IconRotateRight.vue.js +1 -28
- package/es/_shared/icons/IconRotateRight.vue2.js +28 -1
- package/es/_shared/icons/IconSearch.vue.js +28 -1
- package/es/_shared/icons/IconSearch.vue2.js +1 -28
- package/es/_shared/icons/IconSeparator.vue.js +1 -28
- package/es/_shared/icons/IconSeparator.vue2.js +28 -1
- package/es/_shared/icons/IconStar.vue.js +2 -2
- package/es/_shared/icons/IconSuccess.vue.js +2 -2
- package/es/_shared/icons/IconTime.vue.js +2 -2
- package/es/_shared/icons/IconToTop.vue.js +2 -2
- package/es/_shared/icons/IconUpload.vue2.js +2 -2
- package/es/_shared/icons/IconWarning.vue.js +2 -2
- package/es/_shared/icons/IconZoomIn.vue.js +1 -28
- package/es/_shared/icons/IconZoomIn.vue2.js +28 -1
- package/es/_shared/icons/IconZoomOut.vue.js +1 -28
- package/es/_shared/icons/IconZoomOut.vue2.js +28 -1
- package/es/index.d.ts +9 -9
- package/es/index.js +4 -0
- package/es/style.css +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.d.ts +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/index.d.ts +3 -3
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Badge/index.d.ts +3 -3
- package/lib/Badge/index.vue.d.ts +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/Button.vue.d.ts +2 -2
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/index.d.ts +9 -9
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/index.d.ts +3 -3
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +12 -44
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/index.d.ts +6 -22
- 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.d.ts +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- 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.d.ts +2 -8
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputPassword.vue.d.ts +309 -0
- package/lib/Input/InputPassword.vue.js +1 -0
- package/lib/Input/{InputSuffix.vue3.js → InputPassword.vue2.js} +1 -1
- package/lib/Input/InputSearch.vue.d.ts +310 -0
- package/lib/Input/InputSearch.vue.js +1 -0
- package/lib/Input/InputSearch.vue2.js +1 -0
- package/lib/Input/hooks/useLimitedInput.d.ts +2 -0
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/Input/index.css +1 -1
- package/lib/Input/index.d.ts +420 -23
- package/lib/Input/index.js +1 -1
- package/lib/Input/type.d.ts +24 -6
- package/lib/InputNumber/InputNumber.vue.d.ts +12 -44
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +6 -22
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/Link/index.vue.js +1 -1
- 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/SelectIcon.vue.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +1 -1
- package/lib/Statistic/index.d.ts +3 -3
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/Steps.vue.d.ts +1 -1
- package/lib/Steps/index.d.ts +6 -6
- 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 +12 -44
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Upload/UploadButton.vue.js +1 -1
- package/lib/Upload/UploadDrag.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue2.js +1 -1
- package/lib/Upload/UploadPictureCard.vue2.js +1 -1
- package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -1
- package/lib/_shared/components/IconButton/{index.vue.js → index.vue2.js} +1 -1
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- 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.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.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/IconFile.vue2.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.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/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/IconUpload.vue2.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 +9 -9
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Input/InputSuffix.vue.d.ts +0 -31
- package/es/Input/InputSuffix.vue.js +0 -58
- package/es/Input/InputSuffix.vue3.js +0 -5
- package/lib/Input/InputSuffix.vue.d.ts +0 -31
- package/lib/Input/InputSuffix.vue.js +0 -1
- /package/es/_shared/components/ExpandTransition/{index.vue2.js → index.vue.js} +0 -0
- /package/lib/_shared/components/ExpandTransition/{index.vue2.js → index.vue.js} +0 -0
package/es/Cascader/index.d.ts
CHANGED
@@ -74,10 +74,6 @@ declare const Cascader: {
|
|
74
74
|
readonly wordSlice?: import('..').WordSlice | undefined;
|
75
75
|
readonly showWordLimit?: boolean | undefined;
|
76
76
|
readonly inputAttrs?: import('..').RecordType | undefined;
|
77
|
-
readonly isPassword?: boolean | undefined;
|
78
|
-
readonly visibility?: boolean | undefined;
|
79
|
-
readonly defaultVisibility?: boolean | undefined;
|
80
|
-
readonly invisibleButton?: boolean | undefined;
|
81
77
|
readonly showInput?: boolean | undefined;
|
82
78
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
83
79
|
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
@@ -86,8 +82,6 @@ declare const Cascader: {
|
|
86
82
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
87
83
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
88
84
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
89
|
-
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
90
|
-
readonly "onVisibility-change"?: ((value: boolean) => any) | undefined;
|
91
85
|
readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
92
86
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
93
87
|
$attrs: {
|
@@ -104,7 +98,7 @@ declare const Cascader: {
|
|
104
98
|
$root: import('vue').ComponentPublicInstance | null;
|
105
99
|
$parent: import('vue').ComponentPublicInstance | null;
|
106
100
|
$host: Element | null;
|
107
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "
|
101
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
108
102
|
$el: HTMLDivElement;
|
109
103
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputProps> & Readonly<{
|
110
104
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
@@ -114,13 +108,13 @@ declare const Cascader: {
|
|
114
108
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
115
109
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
116
110
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
117
|
-
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
118
|
-
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
119
111
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
120
112
|
}>, {
|
121
113
|
focus(): void;
|
122
114
|
blur(): void;
|
123
115
|
getInputRef(): HTMLInputElement;
|
116
|
+
setCursor?: () => void;
|
117
|
+
recordCursor?: () => void;
|
124
118
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
125
119
|
change: (value: string, ev: Event) => any;
|
126
120
|
focus: (ev: FocusEvent) => any;
|
@@ -129,8 +123,6 @@ declare const Cascader: {
|
|
129
123
|
input: (value: string, ev: Event) => any;
|
130
124
|
keydown: (ev: KeyboardEvent) => any;
|
131
125
|
"update:modelValue": (value: string) => any;
|
132
|
-
"update:visibility": (value: boolean) => any;
|
133
|
-
"visibility-change": (value: boolean) => any;
|
134
126
|
pressEnter: (ev: KeyboardEvent) => any;
|
135
127
|
}, string, {
|
136
128
|
error: boolean;
|
@@ -146,10 +138,6 @@ declare const Cascader: {
|
|
146
138
|
wordLength: import('..').WordLength;
|
147
139
|
wordSlice: import('..').WordSlice;
|
148
140
|
inputAttrs: import('..').RecordType;
|
149
|
-
isPassword: boolean;
|
150
|
-
visibility: boolean;
|
151
|
-
defaultVisibility: boolean;
|
152
|
-
invisibleButton: boolean;
|
153
141
|
showInput: boolean;
|
154
142
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
155
143
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -185,10 +173,6 @@ declare const Cascader: {
|
|
185
173
|
wordLength: import('..').WordLength;
|
186
174
|
wordSlice: import('..').WordSlice;
|
187
175
|
inputAttrs: import('..').RecordType;
|
188
|
-
isPassword: boolean;
|
189
|
-
visibility: boolean;
|
190
|
-
defaultVisibility: boolean;
|
191
|
-
invisibleButton: boolean;
|
192
176
|
showInput: boolean;
|
193
177
|
}> & Omit<Readonly<import('..').InputProps> & Readonly<{
|
194
178
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
@@ -198,13 +182,13 @@ declare const Cascader: {
|
|
198
182
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
199
183
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
200
184
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
201
|
-
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
202
|
-
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
203
185
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
204
|
-
}>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "
|
186
|
+
}>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
205
187
|
focus(): void;
|
206
188
|
blur(): void;
|
207
189
|
getInputRef(): HTMLInputElement;
|
190
|
+
setCursor?: () => void;
|
191
|
+
recordCursor?: () => void;
|
208
192
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
209
193
|
$slots: any;
|
210
194
|
}) | null;
|
@@ -12,9 +12,9 @@ import { useControlValue } from "../_shared/utils/hooks.js";
|
|
12
12
|
import "../_shared/utils/locale.js";
|
13
13
|
import "../_shared/utils/time.js";
|
14
14
|
import useCheckboxContext from "./hooks/useContext.js";
|
15
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
16
|
-
/* empty css
|
17
|
-
/* empty css
|
15
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
16
|
+
/* empty css */
|
17
|
+
/* empty css */
|
18
18
|
/* empty css */
|
19
19
|
import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
|
20
20
|
const _hoisted_1 = ["value", "disabled", "checked"];
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow } from "vue";
|
2
2
|
import useCollapseContext from "./hooks/useContext.js";
|
3
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
4
|
-
/* empty css
|
5
|
-
import _sfc_main$3 from "../_shared/components/ExpandTransition/index.
|
6
|
-
/* empty css
|
3
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
4
|
+
/* empty css */
|
5
|
+
import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue.js";
|
6
|
+
/* empty css */
|
7
7
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
8
8
|
import "../node_modules/dayjs/dayjs.min.js";
|
9
9
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
package/es/Drawer/Drawer.vue.js
CHANGED
@@ -12,9 +12,9 @@ import { useI18n } from "../_shared/utils/locale.js";
|
|
12
12
|
import "../_shared/utils/time.js";
|
13
13
|
import useModalClose from "../Modal/hooks/useModalClose.js";
|
14
14
|
import Button from "../Button/index.js";
|
15
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
16
|
-
/* empty css
|
17
|
-
/* empty css
|
15
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
16
|
+
/* empty css */
|
17
|
+
/* empty css */
|
18
18
|
/* empty css */
|
19
19
|
const _hoisted_1 = { class: "yc-drawer-header" };
|
20
20
|
const _hoisted_2 = { class: "yc-drawer-title text-ellipsis" };
|
@@ -23,8 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
|
|
23
23
|
position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
|
24
24
|
popupContainer: import('..').PopupContainer;
|
25
25
|
type: import('../Button').ButtonType;
|
26
|
-
hideOnSelect: boolean;
|
27
26
|
buttonProps: import('../Button').ButtonProps;
|
27
|
+
hideOnSelect: boolean;
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
29
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
30
30
|
export default _default;
|
@@ -9,8 +9,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../_shared/utils/dom.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$3 from "../_shared/icons/IconMore.vue.js";
|
16
16
|
import _sfc_main$2 from "./Dropdown.vue.js";
|
@@ -12,8 +12,8 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
|
|
12
12
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
13
13
|
import "../_shared/utils/locale.js";
|
14
14
|
import "../_shared/utils/time.js";
|
15
|
-
/* empty css
|
16
|
-
/* empty css
|
15
|
+
/* empty css */
|
16
|
+
/* empty css */
|
17
17
|
/* empty css */
|
18
18
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
19
19
|
import _sfc_main$1 from "./Doption.vue.js";
|
package/es/Dropdown/index.d.ts
CHANGED
@@ -154,8 +154,8 @@ declare const Dropdown: {
|
|
154
154
|
position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
|
155
155
|
popupContainer: import('..').PopupContainer;
|
156
156
|
type: import('..').ButtonType;
|
157
|
-
hideOnSelect: boolean;
|
158
157
|
buttonProps: import('..').ButtonProps;
|
158
|
+
hideOnSelect: boolean;
|
159
159
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
160
160
|
P: {};
|
161
161
|
B: {};
|
@@ -176,8 +176,8 @@ declare const Dropdown: {
|
|
176
176
|
position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
|
177
177
|
popupContainer: import('..').PopupContainer;
|
178
178
|
type: import('..').ButtonType;
|
179
|
-
hideOnSelect: boolean;
|
180
179
|
buttonProps: import('..').ButtonProps;
|
180
|
+
hideOnSelect: boolean;
|
181
181
|
}>;
|
182
182
|
__isFragment?: never;
|
183
183
|
__isTeleport?: never;
|
@@ -199,8 +199,8 @@ declare const Dropdown: {
|
|
199
199
|
position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
|
200
200
|
popupContainer: import('..').PopupContainer;
|
201
201
|
type: import('..').ButtonType;
|
202
|
-
hideOnSelect: boolean;
|
203
202
|
buttonProps: import('..').ButtonProps;
|
203
|
+
hideOnSelect: boolean;
|
204
204
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
205
205
|
$slots: Readonly<import('./type').DropdownButtonSlots> & import('./type').DropdownButtonSlots;
|
206
206
|
});
|
package/es/Empty/index.vue.js
CHANGED
@@ -9,8 +9,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../_shared/utils/dom.js";
|
10
10
|
import { useI18n } from "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
|
16
16
|
const _hoisted_1 = { class: "yc-empty" };
|
package/es/Image/Image.vue.js
CHANGED
@@ -10,8 +10,8 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
10
10
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
11
11
|
import { useI18n } from "../_shared/utils/locale.js";
|
12
12
|
import "../_shared/utils/time.js";
|
13
|
-
/* empty css
|
14
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
|
+
/* empty css */
|
15
15
|
/* empty css */
|
16
16
|
import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
|
17
17
|
import useImageContext from "./hooks/useContext.js";
|
@@ -12,8 +12,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
12
12
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
13
13
|
import "../_shared/utils/locale.js";
|
14
14
|
import "../_shared/utils/time.js";
|
15
|
-
/* empty css
|
16
|
-
/* empty css
|
15
|
+
/* empty css */
|
16
|
+
/* empty css */
|
17
17
|
/* empty css */
|
18
18
|
import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
|
19
19
|
import useModalClose from "../Modal/hooks/useModalClose.js";
|
@@ -9,8 +9,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../_shared/utils/dom.js";
|
10
10
|
import "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,15 +9,15 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../_shared/utils/dom.js";
|
10
10
|
import { useI18n } from "../_shared/utils/locale.js";
|
11
11
|
import "../_shared/utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
/* empty css */
|
15
|
-
import _sfc_main$6 from "../_shared/icons/IconFullScreen.
|
16
|
-
import _sfc_main$1 from "../_shared/icons/IconOriginSize.
|
17
|
-
import _sfc_main$4 from "../_shared/icons/IconRotateLeft.
|
18
|
-
import _sfc_main$5 from "../_shared/icons/IconRotateRight.
|
19
|
-
import _sfc_main$3 from "../_shared/icons/IconZoomIn.
|
20
|
-
import _sfc_main$2 from "../_shared/icons/IconZoomOut.
|
15
|
+
import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
|
16
|
+
import _sfc_main$1 from "../_shared/icons/IconOriginSize.vue2.js";
|
17
|
+
import _sfc_main$4 from "../_shared/icons/IconRotateLeft.vue2.js";
|
18
|
+
import _sfc_main$5 from "../_shared/icons/IconRotateRight.vue2.js";
|
19
|
+
import _sfc_main$3 from "../_shared/icons/IconZoomIn.vue2.js";
|
20
|
+
import _sfc_main$2 from "../_shared/icons/IconZoomOut.vue2.js";
|
21
21
|
import _sfc_main$7 from "./ImagePreviewAction.vue.js";
|
22
22
|
/* empty css */
|
23
23
|
const _hoisted_1 = {
|
package/es/Input/Input.vue.d.ts
CHANGED
@@ -12,6 +12,8 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
12
12
|
focus(): void;
|
13
13
|
blur(): void;
|
14
14
|
getInputRef(): HTMLInputElement;
|
15
|
+
setCursor?: () => void;
|
16
|
+
recordCursor?: () => void;
|
15
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
16
18
|
change: (value: string, ev: Event) => any;
|
17
19
|
focus: (ev: FocusEvent) => any;
|
@@ -20,8 +22,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
20
22
|
input: (value: string, ev: Event) => any;
|
21
23
|
keydown: (ev: KeyboardEvent) => any;
|
22
24
|
"update:modelValue": (value: string) => any;
|
23
|
-
"update:visibility": (value: boolean) => any;
|
24
|
-
"visibility-change": (value: boolean) => any;
|
25
25
|
pressEnter: (ev: KeyboardEvent) => any;
|
26
26
|
}, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
|
27
27
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
@@ -31,8 +31,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
31
31
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
32
32
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
33
33
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
34
|
-
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
35
|
-
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
36
34
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
37
35
|
}>, {
|
38
36
|
error: boolean;
|
@@ -48,10 +46,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
48
46
|
wordLength: import('./type').WordLength;
|
49
47
|
wordSlice: import('./type').WordSlice;
|
50
48
|
inputAttrs: import('..').RecordType;
|
51
|
-
isPassword: boolean;
|
52
|
-
visibility: boolean;
|
53
|
-
defaultVisibility: boolean;
|
54
|
-
invisibleButton: boolean;
|
55
49
|
showInput: boolean;
|
56
50
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
57
51
|
inputRef: HTMLInputElement;
|
package/es/Input/Input.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, useSlots,
|
1
|
+
import { defineComponent, useSlots, ref, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, withCtx, renderSlot, withDirectives, createVNode, mergeProps, withKeys, vShow, toDisplayString } from "vue";
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -8,18 +8,19 @@ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
|
8
8
|
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
9
|
import "../_shared/utils/dom.js";
|
10
10
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
|
-
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
11
|
import "../_shared/utils/locale.js";
|
13
12
|
import "../_shared/utils/time.js";
|
14
13
|
import useLimitedInput from "./hooks/useLimitedInput.js";
|
15
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
16
|
-
/* empty css
|
14
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
15
|
+
/* empty css */
|
17
16
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
18
|
-
/* empty css
|
17
|
+
/* empty css */
|
19
18
|
/* empty css */
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
const _hoisted_1 = ["value", "disabled", "readonly", "placeholder"];
|
20
|
+
const _hoisted_2 = {
|
21
|
+
key: 0,
|
22
|
+
class: "yc-input-word-limit"
|
23
|
+
};
|
23
24
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
24
25
|
...{
|
25
26
|
name: "Input"
|
@@ -45,31 +46,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
45
46
|
inputAttrs: { default: () => {
|
46
47
|
return {};
|
47
48
|
} },
|
48
|
-
isPassword: { type: Boolean, default: false },
|
49
|
-
visibility: { type: Boolean, default: void 0 },
|
50
|
-
defaultVisibility: { type: Boolean, default: false },
|
51
|
-
invisibleButton: { type: Boolean, default: true },
|
52
49
|
showInput: { type: Boolean, default: false }
|
53
50
|
},
|
54
|
-
emits: ["update:modelValue", "
|
51
|
+
emits: ["update:modelValue", "input", "change", "pressEnter", "keydown", "clear", "focus", "blur"],
|
55
52
|
setup(__props, { expose: __expose, emit: __emit }) {
|
56
53
|
const $slots = useSlots();
|
57
54
|
const props = __props;
|
58
55
|
const emits = __emit;
|
59
|
-
const { visibility, defaultVisibility } = toRefs(props);
|
60
56
|
const { size } = getGlobalConfig(props);
|
61
57
|
const inputRef = ref();
|
62
|
-
const computedVisibility = useControlValue(
|
63
|
-
visibility,
|
64
|
-
defaultVisibility.value,
|
65
|
-
(val) => {
|
66
|
-
emits("update:visibility", val);
|
67
|
-
emits("visibility-change", val);
|
68
|
-
}
|
69
|
-
);
|
70
|
-
const type = computed(() => {
|
71
|
-
return computedVisibility.value ? "password" : "text";
|
72
|
-
});
|
73
58
|
const {
|
74
59
|
computedValue,
|
75
60
|
showWordLimit,
|
@@ -77,6 +62,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
77
62
|
curLength,
|
78
63
|
maxLength,
|
79
64
|
error,
|
65
|
+
recordCursor,
|
66
|
+
setCursor,
|
80
67
|
handleInput,
|
81
68
|
handleComposition
|
82
69
|
} = useLimitedInput({
|
@@ -84,8 +71,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
84
71
|
emits,
|
85
72
|
inputRef
|
86
73
|
});
|
87
|
-
const handleEvent = async (
|
88
|
-
switch (
|
74
|
+
const handleEvent = async (type, e) => {
|
75
|
+
switch (type) {
|
89
76
|
case "input":
|
90
77
|
{
|
91
78
|
handleInput(e);
|
@@ -99,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
99
86
|
case "focus":
|
100
87
|
case "blur":
|
101
88
|
{
|
102
|
-
emits(
|
89
|
+
emits(type, e);
|
103
90
|
}
|
104
91
|
break;
|
105
92
|
case "clear":
|
@@ -118,6 +105,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
118
105
|
}
|
119
106
|
};
|
120
107
|
__expose({
|
108
|
+
setCursor,
|
109
|
+
recordCursor,
|
121
110
|
focus() {
|
122
111
|
var _a;
|
123
112
|
(_a = inputRef.value) == null ? void 0 : _a.focus();
|
@@ -166,10 +155,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
166
155
|
})) : createCommentVNode("", true),
|
167
156
|
withDirectives(createElementVNode("input", mergeProps({
|
168
157
|
value: unref(computedValue),
|
169
|
-
type: type.value,
|
170
158
|
disabled: _ctx.disabled,
|
171
159
|
readonly: _ctx.readonly,
|
172
|
-
placeholder: _ctx.placeholder
|
160
|
+
placeholder: _ctx.placeholder,
|
161
|
+
type: "text"
|
173
162
|
}, _ctx.inputAttrs, {
|
174
163
|
class: "yc-input",
|
175
164
|
ref_key: "inputRef",
|
@@ -204,25 +193,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
204
193
|
class: "yc-input-clear-button",
|
205
194
|
onClick: _cache[8] || (_cache[8] = ($event) => handleEvent("clear", $event))
|
206
195
|
})) : createCommentVNode("", true),
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
"is-password": _ctx.isPassword,
|
216
|
-
onVisibilityChange: _cache[9] || (_cache[9] = (v) => computedVisibility.value = v)
|
217
|
-
}, createSlots({ _: 2 }, [
|
218
|
-
$slots.suffix ? {
|
219
|
-
name: "suffix",
|
220
|
-
fn: withCtx(() => [
|
221
|
-
renderSlot(_ctx.$slots, "suffix")
|
222
|
-
]),
|
223
|
-
key: "0"
|
224
|
-
} : void 0
|
225
|
-
]), 1032, ["cur-length", "max-length", "computed-value", "show-word-limit", "computed-visibility", "invisible-button", "is-password"])) : createCommentVNode("", true)
|
196
|
+
createVNode(unref(_sfc_main$1), { class: "yc-input-suffix" }, {
|
197
|
+
default: withCtx(() => [
|
198
|
+
unref(showWordLimit) ? (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(unref(curLength)) + "/" + toDisplayString(unref(maxLength)), 1)) : createCommentVNode("", true),
|
199
|
+
renderSlot(_ctx.$slots, "extra"),
|
200
|
+
renderSlot(_ctx.$slots, "suffix")
|
201
|
+
]),
|
202
|
+
_: 3
|
203
|
+
})
|
226
204
|
], 2),
|
227
205
|
$slots.append ? (openBlock(), createBlock(unref(_sfc_main$1), {
|
228
206
|
key: 1,
|