yc-design-vue 1.8.5 → 1.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +33 -33
- package/es/Avatar/Avatar.vue.d.ts +2 -2
- package/es/Avatar/index.d.ts +5 -5
- package/es/Button/Button.vue.d.ts +3 -3
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/index.d.ts +12 -12
- package/es/Calendar/Calendar.vue.js +2 -3
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.d.ts +1 -1
- package/es/Card/index.d.ts +6 -6
- package/es/Cascader/Cascader.vue.d.ts +17 -17
- package/es/Cascader/index.d.ts +16 -16
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/index.d.ts +3 -3
- package/es/ColorPicker/ColorList.vue.js +3 -2
- package/es/ColorPicker/ColorPanel.vue.js +3 -2
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +3 -2
- package/es/Drawer/DrawerService.vue.d.ts +2 -2
- package/es/Drawer/index.d.ts +11 -11
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +2 -1
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +2 -1
- package/es/Image/ImagePreviewToolbar.vue.js +9 -8
- package/es/Image/index.d.ts +6 -6
- package/es/Input/Input.vue.d.ts +3 -3
- package/es/Input/index.d.ts +9 -9
- package/es/InputNumber/InputNumber.vue.d.ts +18 -18
- package/es/InputNumber/index.d.ts +19 -19
- package/es/InputTag/index.d.ts +6 -6
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/ListItemMeta.vue.d.ts +1 -1
- package/es/List/index.d.ts +9 -9
- package/es/Mention/index.d.ts +22 -22
- package/es/Mention/index.vue.d.ts +39 -39
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/index.d.ts +3 -3
- package/es/Modal/Modal.vue.d.ts +4 -4
- package/es/Modal/Modal.vue.js +3 -2
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/index.d.ts +11 -11
- package/es/Notification/Notification.vue.d.ts +1 -1
- package/es/Notification/index.d.ts +3 -3
- package/es/OverflowList/index.d.ts +3 -3
- package/es/OverflowList/index.vue.d.ts +1 -1
- package/es/Pagination/Pagination.vue.js +3 -2
- package/es/Pagination/hooks/useContext.d.ts +254 -3
- package/es/Pagination/hooks/useContext.js +1 -2
- package/es/Popconfirm/index.d.ts +19 -19
- package/es/Popconfirm/index.vue.d.ts +7 -7
- package/es/Popconfirm/index.vue.js +3 -2
- package/es/Progress/Progress.vue.d.ts +1 -1
- package/es/Progress/index.d.ts +3 -3
- package/es/Radio/Radio.vue.d.ts +1 -1
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/index.d.ts +6 -6
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Select.vue.d.ts +13 -13
- package/es/Select/index.d.ts +14 -14
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/index.d.ts +9 -9
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Split/index.d.ts +6 -6
- package/es/Split/index.vue.d.ts +2 -2
- package/es/Statistic/Countdown.vue.d.ts +2 -2
- package/es/Statistic/Statistic.vue.d.ts +2 -2
- package/es/Statistic/index.d.ts +12 -12
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Steps.vue.d.ts +1 -1
- package/es/Steps/index.d.ts +6 -6
- package/es/Switch/index.d.ts +6 -6
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Tabs/Tabs.vue.d.ts +3 -3
- package/es/Tabs/index.d.ts +8 -8
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Textarea/index.d.ts +6 -6
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +3 -3
- package/es/TimePicker/index.d.ts +9 -9
- package/es/Typography/TypographyBase.vue.d.ts +19 -19
- package/es/Typography/TypographyBase.vue.js +5 -4
- package/es/VerificationCode/index.d.ts +6 -6
- package/es/VerificationCode/index.vue.d.ts +2 -2
- package/es/_shared/icons/IconCopy.vue.js +1 -17
- package/es/_shared/icons/IconCopy.vue2.js +17 -1
- package/es/_shared/icons/IconEdit.vue.js +1 -17
- package/es/_shared/icons/IconEdit.vue2.js +17 -1
- package/es/_shared/icons/IconFullScreen.vue.js +17 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -17
- package/es/_shared/icons/IconOriginSize.vue.js +23 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -23
- package/es/_shared/icons/IconRotateLeft.vue.js +17 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -17
- package/es/_shared/icons/IconRotateRight.vue.js +17 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -17
- package/es/_shared/icons/IconZoomIn.vue.js +17 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -17
- package/es/_shared/icons/IconZoomOut.vue.js +17 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -17
- package/es/_shared/locale/i18n.d.ts +256 -0
- package/es/_shared/locale/i18n.js +3 -1
- package/es/index.d.ts +27 -27
- package/es/node_modules/@intlify/core-base/dist/core-base.js +5 -8
- package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +1 -7
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +33 -33
- package/lib/Avatar/Avatar.vue.d.ts +2 -2
- package/lib/Avatar/index.d.ts +5 -5
- package/lib/Button/Button.vue.d.ts +3 -3
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/index.d.ts +12 -12
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.d.ts +1 -1
- package/lib/Card/index.d.ts +6 -6
- package/lib/Cascader/Cascader.vue.d.ts +17 -17
- package/lib/Cascader/index.d.ts +16 -16
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +2 -2
- package/lib/Drawer/index.d.ts +11 -11
- package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Image/Image.vue.d.ts +2 -2
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/index.d.ts +6 -6
- package/lib/Input/Input.vue.d.ts +3 -3
- package/lib/Input/index.d.ts +9 -9
- package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
- package/lib/InputNumber/index.d.ts +19 -19
- package/lib/InputTag/index.d.ts +6 -6
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/List/List.vue.d.ts +7 -7
- package/lib/List/ListItemMeta.vue.d.ts +1 -1
- package/lib/List/index.d.ts +9 -9
- package/lib/Mention/index.d.ts +22 -22
- package/lib/Mention/index.vue.d.ts +39 -39
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Modal/Modal.vue.d.ts +4 -4
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- package/lib/Modal/index.d.ts +11 -11
- package/lib/Notification/Notification.vue.d.ts +1 -1
- package/lib/Notification/index.d.ts +3 -3
- package/lib/OverflowList/index.d.ts +3 -3
- package/lib/OverflowList/index.vue.d.ts +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +254 -3
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +19 -19
- package/lib/Popconfirm/index.vue.d.ts +7 -7
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.d.ts +1 -1
- package/lib/Progress/index.d.ts +3 -3
- package/lib/Radio/Radio.vue.d.ts +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/index.d.ts +6 -6
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Select.vue.d.ts +13 -13
- package/lib/Select/index.d.ts +14 -14
- package/lib/Slider/Slider.vue.d.ts +3 -3
- package/lib/Slider/index.d.ts +9 -9
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Spin/index.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +1 -1
- package/lib/Split/index.d.ts +6 -6
- package/lib/Split/index.vue.d.ts +2 -2
- package/lib/Statistic/Countdown.vue.d.ts +2 -2
- package/lib/Statistic/Statistic.vue.d.ts +2 -2
- package/lib/Statistic/index.d.ts +12 -12
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Steps.vue.d.ts +1 -1
- package/lib/Steps/index.d.ts +6 -6
- package/lib/Switch/index.d.ts +6 -6
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Tabs/Tabs.vue.d.ts +3 -3
- package/lib/Tabs/index.d.ts +8 -8
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Textarea/index.d.ts +6 -6
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
- package/lib/TimePicker/index.d.ts +9 -9
- package/lib/Typography/TypographyBase.vue.d.ts +19 -19
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.d.ts +6 -6
- package/lib/VerificationCode/index.vue.d.ts +2 -2
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.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/IconFullScreen.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/locale/i18n.d.ts +256 -0
- package/lib/_shared/locale/i18n.js +1 -1
- package/lib/index.d.ts +27 -27
- package/lib/node_modules/@intlify/core-base/dist/core-base.js +1 -1
- package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +1 -1
- package/package.json +2 -1
package/lib/Dropdown/index.d.ts
CHANGED
@@ -146,6 +146,7 @@ declare const Dropdown: {
|
|
146
146
|
"popup-visible-change": (value: boolean) => any;
|
147
147
|
select: (value: import('./type').DoptionValue) => any;
|
148
148
|
}, import('vue').PublicProps, {
|
149
|
+
type: import('..').ButtonType;
|
149
150
|
size: import('..').Size;
|
150
151
|
trigger: import('..').TriggerType;
|
151
152
|
popupVisible: boolean;
|
@@ -153,7 +154,6 @@ declare const Dropdown: {
|
|
153
154
|
disabled: boolean;
|
154
155
|
position: import('./type').DropdownPosition;
|
155
156
|
popupContainer: import('..').PopupContainer;
|
156
|
-
type: import('..').ButtonType;
|
157
157
|
hideOnSelect: boolean;
|
158
158
|
buttonProps: import('..').ButtonProps;
|
159
159
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -168,6 +168,7 @@ declare const Dropdown: {
|
|
168
168
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
169
169
|
onSelect?: ((value: import('./type').DoptionValue) => any) | undefined;
|
170
170
|
}>, {}, {}, {}, {}, {
|
171
|
+
type: import('..').ButtonType;
|
171
172
|
size: import('..').Size;
|
172
173
|
trigger: import('..').TriggerType;
|
173
174
|
popupVisible: boolean;
|
@@ -175,7 +176,6 @@ declare const Dropdown: {
|
|
175
176
|
disabled: boolean;
|
176
177
|
position: import('./type').DropdownPosition;
|
177
178
|
popupContainer: import('..').PopupContainer;
|
178
|
-
type: import('..').ButtonType;
|
179
179
|
hideOnSelect: boolean;
|
180
180
|
buttonProps: import('..').ButtonProps;
|
181
181
|
}>;
|
@@ -191,6 +191,7 @@ declare const Dropdown: {
|
|
191
191
|
"popup-visible-change": (value: boolean) => any;
|
192
192
|
select: (value: import('./type').DoptionValue) => any;
|
193
193
|
}, string, {
|
194
|
+
type: import('..').ButtonType;
|
194
195
|
size: import('..').Size;
|
195
196
|
trigger: import('..').TriggerType;
|
196
197
|
popupVisible: boolean;
|
@@ -198,7 +199,6 @@ declare const Dropdown: {
|
|
198
199
|
disabled: boolean;
|
199
200
|
position: import('./type').DropdownPosition;
|
200
201
|
popupContainer: import('..').PopupContainer;
|
201
|
-
type: import('..').ButtonType;
|
202
202
|
hideOnSelect: boolean;
|
203
203
|
buttonProps: import('..').ButtonProps;
|
204
204
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/lib/Empty/index.vue.js
CHANGED
@@ -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("./index.js");/* empty css */const t=require("../_shared/icons/IconEmpty.vue.js"),
|
1
|
+
"use strict";const e=require("vue"),r=require("../_shared/locale/i18n.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("./index.js");/* empty css */const t=require("../_shared/icons/IconEmpty.vue.js"),s={class:"yc-empty"},o={class:"yc-empty-image"},i=["src"],c={class:"yc-empty-description"},n=e.defineComponent({name:"Empty",__name:"index",props:{description:{default:""},imgSrc:{default:""}},setup(n){const d=n,{description:l}=e.toRefs(d);return(n,d)=>(e.openBlock(),e.createElementBlock("div",s,[e.createElementVNode("div",o,[e.renderSlot(n.$slots,"image",{},()=>[n.imgSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:n.imgSrc,alt:"图片加载失败"},null,8,i)):e.createCommentVNode("",!0),e.createVNode(e.unref(t))])]),e.createElementVNode("div",c,[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(n.description||e.unref(r.t)("empty.description")),1)])])]))}});module.exports=n;
|
package/lib/Image/Image.vue.d.ts
CHANGED
@@ -13,13 +13,13 @@ declare const __VLS_component: import('vue').DefineComponent<ImageProps, {}, {},
|
|
13
13
|
"onUpdate:previewVisible"?: ((visible: boolean) => any) | undefined;
|
14
14
|
"onPreview-visible-change"?: ((visible: boolean) => any) | undefined;
|
15
15
|
}>, {
|
16
|
-
title: string;
|
17
16
|
description: string;
|
17
|
+
preview: boolean;
|
18
|
+
title: string;
|
18
19
|
src: string;
|
19
20
|
hideFooter: import('./type').HideFooter;
|
20
21
|
footerPosition: import('./type').FooterPostion;
|
21
22
|
showLoader: boolean;
|
22
|
-
preview: boolean;
|
23
23
|
previewVisible: boolean;
|
24
24
|
defaultPreviewVisible: boolean;
|
25
25
|
previewProps: import('./type').ImagePreviewProps;
|
package/lib/Image/Image.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const
|
1
|
+
"use strict";const e=require("vue"),t=require("../_shared/locale/i18n.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const i=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconImageClose.vue.js"),r=require("../_shared/utils/control.js"),l=require("./hooks/useContext.js"),a=require("../Spin/index.js"),s=require("./ImagePreview.vue.js");;/* empty css */const n=["src","title","alt"],c={key:1,class:"yc-image-overlay"},d={class:"yc-image-loader"},u={key:2,class:"yc-image-overlay"},m={class:"yc-image-error"},v={class:"yc-image-error-icon"},p={class:"yc-image-error-alt"},f={class:"yc-image-footer-caption"},y=["title"],g=["title"],h={key:0,class:"yc-image-footer-extra"},w=e.defineComponent({name:"Image",__name:"Image",props:{src:{default:""},width:{},height:{},title:{default:""},description:{default:""},fit:{},alt:{},hideFooter:{type:[Boolean,String],default:!1},footerPosition:{default:"inner"},showLoader:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},previewVisible:{type:Boolean,default:void 0},defaultPreviewVisible:{type:Boolean,default:!1},previewProps:{default:()=>({})},footerClass:{default:""}},emits:["update:previewVisible","preview-visible-change"],setup(w,{emit:k}){const V=w,B=k,{src:E,preview:N,previewVisible:j,defaultPreviewVisible:C}=e.toRefs(V),{hasGroupFather:q,handleClick:x}=l().inject(),P=r(j,C.value,e=>{B("update:previewVisible",e),B("preview-visible-change",e)}),S=e.ref(!1),b=e.ref(!1),_=()=>{b.value=!1,S.value=!1},$=()=>{b.value=!1,S.value=!0},I=()=>{if(q.value)return x(E.value);N.value&&(P.value=!0)};return e.watch(()=>E.value,()=>{b.value=!0,S.value=!1},{immediate:!0}),(r,l)=>(e.openBlock(),e.createElementBlock("div",{class:"yc-image",style:e.normalizeStyle({width:e.unref(i.valueToPx)(r.width),height:e.unref(i.valueToPx)(r.height)})},[e.createElementVNode("img",{src:e.unref(E),title:r.title,alt:r.alt??r.description,style:e.normalizeStyle({width:e.unref(i.valueToPx)(r.width),height:e.unref(i.valueToPx)(r.height),objectFit:r.fit}),class:"yc-image-img",onLoad:_,onError:$,onClick:I},null,44,n),e.unref(N)?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0,visible:e.unref(P),"onUpdate:visible":l[0]||(l[0]=t=>e.isRef(P)?P.value=t:null),src:e.unref(E)},r.previewProps),e.createSlots({_:2},[r.$slots["preview-actions"]?{name:"actions",fn:e.withCtx(()=>[e.renderSlot(r.$slots,"preview-actions")]),key:"0"}:void 0]),1040,["visible","src"])):e.createCommentVNode("",!0),(r.showLoader||r.$slots.loader)&&b.value?(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("div",d,[e.renderSlot(r.$slots,"loader",{},()=>[e.createVNode(e.unref(a),{size:30,tip:e.unref(t.t)("image.loading")},null,8,["tip"])])])])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("div",u,[e.renderSlot(r.$slots,"error",{},()=>[e.createElementVNode("div",m,[e.renderSlot(r.$slots,"error-icon",{},()=>[e.createElementVNode("div",v,[e.createVNode(e.unref(o),{size:60})])]),e.createElementVNode("div",p,e.toDisplayString(r.alt??r.description),1)])])])):e.createCommentVNode("",!0),!r.hideFooter&&(r.title||r.description||r.$slots.extra)?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["yc-image-footer","inner"==r.footerPosition?"yc-image-footer-inner":"yc-image-footer-outer",r.footerClass])},[e.createElementVNode("div",f,[e.createElementVNode("div",{class:"yc-image-footer-caption-title",title:r.title},e.toDisplayString(r.title),9,y),e.createElementVNode("div",{class:"yc-image-footer-caption-description",title:r.description},e.toDisplayString(r.description),9,g)]),r.$slots.extra?(e.openBlock(),e.createElementBlock("div",h,[e.renderSlot(r.$slots,"extra")])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],4))}});module.exports=w;
|
@@ -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("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconFullScreen.
|
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("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconFullScreen.vue.js"),r=require("../_shared/icons/IconOriginSize.vue.js"),t=require("../_shared/icons/IconRotateLeft.vue.js"),n=require("../_shared/icons/IconRotateRight.vue.js"),i=require("../_shared/icons/IconZoomIn.vue.js"),c=require("../_shared/icons/IconZoomOut.vue.js"),s=require("../_shared/locale/i18n.js"),a=require("./ImagePreviewAction.vue.js");;/* empty css */const u={key:0,class:"yc-image-preview-toolbar"},l=e.defineComponent({__name:"ImagePreviewToolbar",props:{actionsLayout:{default:()=>[]}},emits:["click"],setup(l){const m={fullScreen:o,rotateRight:n,rotateLeft:t,zoomIn:i,zoomOut:c,originalSize:r};return(o,r)=>o.actionsLayout.length?(e.openBlock(),e.createElementBlock("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.actionsLayout,r=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[m[r]?(e.openBlock(),e.createBlock(a,{key:0,name:e.unref(s.t)(`imagePreview.${r}`),onClick:e=>o.$emit("click",r,e)},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m[r])))]),_:2},1032,["name","onClick"])):e.createCommentVNode("",!0)],64))),128)),e.renderSlot(o.$slots,"actions")])):e.createCommentVNode("",!0)}});module.exports=l;
|
package/lib/Image/index.d.ts
CHANGED
@@ -16,13 +16,13 @@ declare const Image: {
|
|
16
16
|
"update:previewVisible": (visible: boolean) => any;
|
17
17
|
"preview-visible-change": (visible: boolean) => any;
|
18
18
|
}, import('vue').PublicProps, {
|
19
|
-
title: string;
|
20
19
|
description: string;
|
20
|
+
preview: boolean;
|
21
|
+
title: string;
|
21
22
|
src: string;
|
22
23
|
hideFooter: import('./type').HideFooter;
|
23
24
|
footerPosition: import('./type').FooterPostion;
|
24
25
|
showLoader: boolean;
|
25
|
-
preview: boolean;
|
26
26
|
previewVisible: boolean;
|
27
27
|
defaultPreviewVisible: boolean;
|
28
28
|
previewProps: import('./type').ImagePreviewProps;
|
@@ -38,13 +38,13 @@ declare const Image: {
|
|
38
38
|
"onUpdate:previewVisible"?: ((visible: boolean) => any) | undefined;
|
39
39
|
"onPreview-visible-change"?: ((visible: boolean) => any) | undefined;
|
40
40
|
}>, {}, {}, {}, {}, {
|
41
|
-
title: string;
|
42
41
|
description: string;
|
42
|
+
preview: boolean;
|
43
|
+
title: string;
|
43
44
|
src: string;
|
44
45
|
hideFooter: import('./type').HideFooter;
|
45
46
|
footerPosition: import('./type').FooterPostion;
|
46
47
|
showLoader: boolean;
|
47
|
-
preview: boolean;
|
48
48
|
previewVisible: boolean;
|
49
49
|
defaultPreviewVisible: boolean;
|
50
50
|
previewProps: import('./type').ImagePreviewProps;
|
@@ -60,13 +60,13 @@ declare const Image: {
|
|
60
60
|
"update:previewVisible": (visible: boolean) => any;
|
61
61
|
"preview-visible-change": (visible: boolean) => any;
|
62
62
|
}, string, {
|
63
|
-
title: string;
|
64
63
|
description: string;
|
64
|
+
preview: boolean;
|
65
|
+
title: string;
|
65
66
|
src: string;
|
66
67
|
hideFooter: import('./type').HideFooter;
|
67
68
|
footerPosition: import('./type').FooterPostion;
|
68
69
|
showLoader: boolean;
|
69
|
-
preview: boolean;
|
70
70
|
previewVisible: boolean;
|
71
71
|
defaultPreviewVisible: boolean;
|
72
72
|
previewProps: import('./type').ImagePreviewProps;
|
package/lib/Input/Input.vue.d.ts
CHANGED
@@ -35,13 +35,13 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
35
35
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
36
36
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
37
37
|
}>, {
|
38
|
-
size: import('..').Size;
|
39
|
-
disabled: boolean;
|
40
38
|
error: boolean;
|
41
39
|
placeholder: string;
|
40
|
+
maxLength: import('./type').MaxLength;
|
41
|
+
size: import('..').Size;
|
42
|
+
disabled: boolean;
|
42
43
|
modelValue: string;
|
43
44
|
defaultValue: string;
|
44
|
-
maxLength: import('./type').MaxLength;
|
45
45
|
showWordLimit: boolean;
|
46
46
|
allowClear: boolean;
|
47
47
|
readonly: boolean;
|
package/lib/Input/index.d.ts
CHANGED
@@ -30,13 +30,13 @@ declare const Input: {
|
|
30
30
|
"visibility-change": (value: boolean) => any;
|
31
31
|
pressEnter: (ev: KeyboardEvent) => any;
|
32
32
|
}, import('vue').PublicProps, {
|
33
|
-
size: import('..').Size;
|
34
|
-
disabled: boolean;
|
35
33
|
error: boolean;
|
36
34
|
placeholder: string;
|
35
|
+
maxLength: import('./type').MaxLength;
|
36
|
+
size: import('..').Size;
|
37
|
+
disabled: boolean;
|
37
38
|
modelValue: string;
|
38
39
|
defaultValue: string;
|
39
|
-
maxLength: import('./type').MaxLength;
|
40
40
|
showWordLimit: boolean;
|
41
41
|
allowClear: boolean;
|
42
42
|
readonly: boolean;
|
@@ -73,13 +73,13 @@ declare const Input: {
|
|
73
73
|
blur(): void;
|
74
74
|
getInputRef(): HTMLInputElement;
|
75
75
|
}, {}, {}, {}, {
|
76
|
-
size: import('..').Size;
|
77
|
-
disabled: boolean;
|
78
76
|
error: boolean;
|
79
77
|
placeholder: string;
|
78
|
+
maxLength: import('./type').MaxLength;
|
79
|
+
size: import('..').Size;
|
80
|
+
disabled: boolean;
|
80
81
|
modelValue: string;
|
81
82
|
defaultValue: string;
|
82
|
-
maxLength: import('./type').MaxLength;
|
83
83
|
showWordLimit: boolean;
|
84
84
|
allowClear: boolean;
|
85
85
|
readonly: boolean;
|
@@ -122,13 +122,13 @@ declare const Input: {
|
|
122
122
|
"visibility-change": (value: boolean) => any;
|
123
123
|
pressEnter: (ev: KeyboardEvent) => any;
|
124
124
|
}, string, {
|
125
|
-
size: import('..').Size;
|
126
|
-
disabled: boolean;
|
127
125
|
error: boolean;
|
128
126
|
placeholder: string;
|
127
|
+
maxLength: import('./type').MaxLength;
|
128
|
+
size: import('..').Size;
|
129
|
+
disabled: boolean;
|
129
130
|
modelValue: string;
|
130
131
|
defaultValue: string;
|
131
|
-
maxLength: import('./type').MaxLength;
|
132
132
|
showWordLimit: boolean;
|
133
133
|
allowClear: boolean;
|
134
134
|
readonly: boolean;
|
@@ -79,13 +79,13 @@ declare function __VLS_template(): {
|
|
79
79
|
"visibility-change": (value: boolean) => any;
|
80
80
|
pressEnter: (ev: KeyboardEvent) => any;
|
81
81
|
}, string, {
|
82
|
-
size: import('..').Size;
|
83
|
-
disabled: boolean;
|
84
82
|
error: boolean;
|
85
83
|
placeholder: string;
|
84
|
+
maxLength: import('../Input').MaxLength;
|
85
|
+
size: import('..').Size;
|
86
|
+
disabled: boolean;
|
86
87
|
modelValue: string;
|
87
88
|
defaultValue: string;
|
88
|
-
maxLength: import('../Input').MaxLength;
|
89
89
|
showWordLimit: boolean;
|
90
90
|
allowClear: boolean;
|
91
91
|
readonly: boolean;
|
@@ -118,13 +118,13 @@ declare function __VLS_template(): {
|
|
118
118
|
$nextTick: typeof import('vue').nextTick;
|
119
119
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
120
120
|
} & Readonly<{
|
121
|
-
size: import('..').Size;
|
122
|
-
disabled: boolean;
|
123
121
|
error: boolean;
|
124
122
|
placeholder: string;
|
123
|
+
maxLength: import('../Input').MaxLength;
|
124
|
+
size: import('..').Size;
|
125
|
+
disabled: boolean;
|
125
126
|
modelValue: string;
|
126
127
|
defaultValue: string;
|
127
|
-
maxLength: import('../Input').MaxLength;
|
128
128
|
showWordLimit: boolean;
|
129
129
|
allowClear: boolean;
|
130
130
|
readonly: boolean;
|
@@ -147,7 +147,7 @@ declare function __VLS_template(): {
|
|
147
147
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
148
148
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
149
149
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
150
|
-
}>, "focus" | "blur" | "getInputRef" | ("
|
150
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "placeholder" | "maxLength" | "size" | "disabled" | "modelValue" | "defaultValue" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
151
151
|
focus(): void;
|
152
152
|
blur(): void;
|
153
153
|
getInputRef(): HTMLInputElement;
|
@@ -180,18 +180,18 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
180
180
|
"onUpdate:modelValue"?: ((value: InputNumberValue) => any) | undefined;
|
181
181
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
182
182
|
}>, {
|
183
|
-
size: import('..').Size;
|
184
|
-
disabled: boolean;
|
185
183
|
error: boolean;
|
186
184
|
placeholder: string;
|
185
|
+
min: number;
|
186
|
+
max: number;
|
187
|
+
size: import('..').Size;
|
188
|
+
disabled: boolean;
|
187
189
|
mode: import('./type').InputNumberMode;
|
188
190
|
modelValue: InputNumberValue;
|
189
191
|
defaultValue: InputNumberValue;
|
190
192
|
allowClear: boolean;
|
191
193
|
readonly: boolean;
|
192
194
|
inputAttrs: import('../_shared/type').ObjectData;
|
193
|
-
max: number;
|
194
|
-
min: number;
|
195
195
|
precision: number;
|
196
196
|
step: number;
|
197
197
|
hideButton: boolean;
|
@@ -273,13 +273,13 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
273
273
|
"visibility-change": (value: boolean) => any;
|
274
274
|
pressEnter: (ev: KeyboardEvent) => any;
|
275
275
|
}, string, {
|
276
|
-
size: import('..').Size;
|
277
|
-
disabled: boolean;
|
278
276
|
error: boolean;
|
279
277
|
placeholder: string;
|
278
|
+
maxLength: import('../Input').MaxLength;
|
279
|
+
size: import('..').Size;
|
280
|
+
disabled: boolean;
|
280
281
|
modelValue: string;
|
281
282
|
defaultValue: string;
|
282
|
-
maxLength: import('../Input').MaxLength;
|
283
283
|
showWordLimit: boolean;
|
284
284
|
allowClear: boolean;
|
285
285
|
readonly: boolean;
|
@@ -312,13 +312,13 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
312
312
|
$nextTick: typeof import('vue').nextTick;
|
313
313
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
314
314
|
} & Readonly<{
|
315
|
-
size: import('..').Size;
|
316
|
-
disabled: boolean;
|
317
315
|
error: boolean;
|
318
316
|
placeholder: string;
|
317
|
+
maxLength: import('../Input').MaxLength;
|
318
|
+
size: import('..').Size;
|
319
|
+
disabled: boolean;
|
319
320
|
modelValue: string;
|
320
321
|
defaultValue: string;
|
321
|
-
maxLength: import('../Input').MaxLength;
|
322
322
|
showWordLimit: boolean;
|
323
323
|
allowClear: boolean;
|
324
324
|
readonly: boolean;
|
@@ -341,7 +341,7 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
341
341
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
342
342
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
343
343
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
344
|
-
}>, "focus" | "blur" | "getInputRef" | ("
|
344
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "placeholder" | "maxLength" | "size" | "disabled" | "modelValue" | "defaultValue" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
345
345
|
focus(): void;
|
346
346
|
blur(): void;
|
347
347
|
getInputRef(): HTMLInputElement;
|
@@ -25,18 +25,18 @@ declare const InputNumber: {
|
|
25
25
|
"update:modelValue": (value: import('./type').InputNumberValue) => any;
|
26
26
|
pressEnter: (ev: KeyboardEvent) => any;
|
27
27
|
}, import('vue').PublicProps, {
|
28
|
-
size: import('..').Size;
|
29
|
-
disabled: boolean;
|
30
28
|
error: boolean;
|
31
29
|
placeholder: string;
|
30
|
+
min: number;
|
31
|
+
max: number;
|
32
|
+
size: import('..').Size;
|
33
|
+
disabled: boolean;
|
32
34
|
mode: import('./type').InputNumberMode;
|
33
35
|
modelValue: import('./type').InputNumberValue;
|
34
36
|
defaultValue: import('./type').InputNumberValue;
|
35
37
|
allowClear: boolean;
|
36
38
|
readonly: boolean;
|
37
39
|
inputAttrs: import('../_shared/type').ObjectData;
|
38
|
-
max: number;
|
39
|
-
min: number;
|
40
40
|
precision: number;
|
41
41
|
step: number;
|
42
42
|
hideButton: boolean;
|
@@ -118,13 +118,13 @@ declare const InputNumber: {
|
|
118
118
|
"visibility-change": (value: boolean) => any;
|
119
119
|
pressEnter: (ev: KeyboardEvent) => any;
|
120
120
|
}, string, {
|
121
|
-
size: import('..').Size;
|
122
|
-
disabled: boolean;
|
123
121
|
error: boolean;
|
124
122
|
placeholder: string;
|
123
|
+
maxLength: import('..').MaxLength;
|
124
|
+
size: import('..').Size;
|
125
|
+
disabled: boolean;
|
125
126
|
modelValue: string;
|
126
127
|
defaultValue: string;
|
127
|
-
maxLength: import('..').MaxLength;
|
128
128
|
showWordLimit: boolean;
|
129
129
|
allowClear: boolean;
|
130
130
|
readonly: boolean;
|
@@ -157,13 +157,13 @@ declare const InputNumber: {
|
|
157
157
|
$nextTick: typeof import('vue').nextTick;
|
158
158
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
159
159
|
} & Readonly<{
|
160
|
-
size: import('..').Size;
|
161
|
-
disabled: boolean;
|
162
160
|
error: boolean;
|
163
161
|
placeholder: string;
|
162
|
+
maxLength: import('..').MaxLength;
|
163
|
+
size: import('..').Size;
|
164
|
+
disabled: boolean;
|
164
165
|
modelValue: string;
|
165
166
|
defaultValue: string;
|
166
|
-
maxLength: import('..').MaxLength;
|
167
167
|
showWordLimit: boolean;
|
168
168
|
allowClear: boolean;
|
169
169
|
readonly: boolean;
|
@@ -186,7 +186,7 @@ declare const InputNumber: {
|
|
186
186
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
187
187
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
188
188
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
189
|
-
}>, "focus" | "blur" | "getInputRef" | ("
|
189
|
+
}>, "focus" | "blur" | "getInputRef" | ("error" | "placeholder" | "maxLength" | "size" | "disabled" | "modelValue" | "defaultValue" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
190
190
|
focus(): void;
|
191
191
|
blur(): void;
|
192
192
|
getInputRef(): HTMLInputElement;
|
@@ -213,18 +213,18 @@ declare const InputNumber: {
|
|
213
213
|
focus(): void;
|
214
214
|
blur(): void;
|
215
215
|
}, {}, {}, {}, {
|
216
|
-
size: import('..').Size;
|
217
|
-
disabled: boolean;
|
218
216
|
error: boolean;
|
219
217
|
placeholder: string;
|
218
|
+
min: number;
|
219
|
+
max: number;
|
220
|
+
size: import('..').Size;
|
221
|
+
disabled: boolean;
|
220
222
|
mode: import('./type').InputNumberMode;
|
221
223
|
modelValue: import('./type').InputNumberValue;
|
222
224
|
defaultValue: import('./type').InputNumberValue;
|
223
225
|
allowClear: boolean;
|
224
226
|
readonly: boolean;
|
225
227
|
inputAttrs: import('../_shared/type').ObjectData;
|
226
|
-
max: number;
|
227
|
-
min: number;
|
228
228
|
precision: number;
|
229
229
|
step: number;
|
230
230
|
hideButton: boolean;
|
@@ -255,18 +255,18 @@ declare const InputNumber: {
|
|
255
255
|
"update:modelValue": (value: import('./type').InputNumberValue) => any;
|
256
256
|
pressEnter: (ev: KeyboardEvent) => any;
|
257
257
|
}, string, {
|
258
|
-
size: import('..').Size;
|
259
|
-
disabled: boolean;
|
260
258
|
error: boolean;
|
261
259
|
placeholder: string;
|
260
|
+
min: number;
|
261
|
+
max: number;
|
262
|
+
size: import('..').Size;
|
263
|
+
disabled: boolean;
|
262
264
|
mode: import('./type').InputNumberMode;
|
263
265
|
modelValue: import('./type').InputNumberValue;
|
264
266
|
defaultValue: import('./type').InputNumberValue;
|
265
267
|
allowClear: boolean;
|
266
268
|
readonly: boolean;
|
267
269
|
inputAttrs: import('../_shared/type').ObjectData;
|
268
|
-
max: number;
|
269
|
-
min: number;
|
270
270
|
precision: number;
|
271
271
|
step: number;
|
272
272
|
hideButton: boolean;
|
package/lib/InputTag/index.d.ts
CHANGED
@@ -27,10 +27,10 @@ declare const InputTag: {
|
|
27
27
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
28
28
|
"press-enter": (ev: KeyboardEvent) => any;
|
29
29
|
}, import('vue').PublicProps, {
|
30
|
-
size: import('..').Size;
|
31
|
-
disabled: boolean;
|
32
30
|
error: boolean;
|
33
31
|
placeholder: string;
|
32
|
+
size: import('..').Size;
|
33
|
+
disabled: boolean;
|
34
34
|
modelValue: import('./type').InputTagValue;
|
35
35
|
defaultValue: import('./type').InputTagValue;
|
36
36
|
allowClear: boolean;
|
@@ -67,10 +67,10 @@ declare const InputTag: {
|
|
67
67
|
focus(): void;
|
68
68
|
blur(): void;
|
69
69
|
}, {}, {}, {}, {
|
70
|
-
size: import('..').Size;
|
71
|
-
disabled: boolean;
|
72
70
|
error: boolean;
|
73
71
|
placeholder: string;
|
72
|
+
size: import('..').Size;
|
73
|
+
disabled: boolean;
|
74
74
|
modelValue: import('./type').InputTagValue;
|
75
75
|
defaultValue: import('./type').InputTagValue;
|
76
76
|
allowClear: boolean;
|
@@ -111,10 +111,10 @@ declare const InputTag: {
|
|
111
111
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
112
112
|
"press-enter": (ev: KeyboardEvent) => any;
|
113
113
|
}, string, {
|
114
|
-
size: import('..').Size;
|
115
|
-
disabled: boolean;
|
116
114
|
error: boolean;
|
117
115
|
placeholder: string;
|
116
|
+
size: import('..').Size;
|
117
|
+
disabled: boolean;
|
118
118
|
modelValue: import('./type').InputTagValue;
|
119
119
|
defaultValue: import('./type').InputTagValue;
|
120
120
|
allowClear: boolean;
|
@@ -33,10 +33,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputTagProps, {
|
|
33
33
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
34
34
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
35
35
|
}>, {
|
36
|
-
size: import('../_shared/type').Size;
|
37
|
-
disabled: boolean;
|
38
36
|
error: boolean;
|
39
37
|
placeholder: string;
|
38
|
+
size: import('../_shared/type').Size;
|
39
|
+
disabled: boolean;
|
40
40
|
modelValue: InputTagValue;
|
41
41
|
defaultValue: InputTagValue;
|
42
42
|
allowClear: boolean;
|
package/lib/Link/index.d.ts
CHANGED
@@ -12,8 +12,8 @@ declare const Link: {
|
|
12
12
|
contextmenu: (event: MouseEvent) => any;
|
13
13
|
dblclick: (event: MouseEvent) => any;
|
14
14
|
}, import('vue').PublicProps, {
|
15
|
-
disabled: boolean;
|
16
15
|
loading: boolean;
|
16
|
+
disabled: boolean;
|
17
17
|
icon: boolean;
|
18
18
|
hoverable: boolean;
|
19
19
|
href: string;
|
@@ -30,8 +30,8 @@ declare const Link: {
|
|
30
30
|
onContextmenu?: ((event: MouseEvent) => any) | undefined;
|
31
31
|
onDblclick?: ((event: MouseEvent) => any) | undefined;
|
32
32
|
}>, {}, {}, {}, {}, {
|
33
|
-
disabled: boolean;
|
34
33
|
loading: boolean;
|
34
|
+
disabled: boolean;
|
35
35
|
icon: boolean;
|
36
36
|
hoverable: boolean;
|
37
37
|
href: string;
|
@@ -49,8 +49,8 @@ declare const Link: {
|
|
49
49
|
contextmenu: (event: MouseEvent) => any;
|
50
50
|
dblclick: (event: MouseEvent) => any;
|
51
51
|
}, string, {
|
52
|
-
disabled: boolean;
|
53
52
|
loading: boolean;
|
53
|
+
disabled: boolean;
|
54
54
|
icon: boolean;
|
55
55
|
hoverable: boolean;
|
56
56
|
href: string;
|
package/lib/Link/index.vue.d.ts
CHANGED
@@ -15,8 +15,8 @@ declare const __VLS_component: import('vue').DefineComponent<LinkProps, {}, {},
|
|
15
15
|
onContextmenu?: ((event: MouseEvent) => any) | undefined;
|
16
16
|
onDblclick?: ((event: MouseEvent) => any) | undefined;
|
17
17
|
}>, {
|
18
|
-
disabled: boolean;
|
19
18
|
loading: boolean;
|
19
|
+
disabled: boolean;
|
20
20
|
icon: boolean;
|
21
21
|
hoverable: boolean;
|
22
22
|
href: string;
|
package/lib/List/List.vue.d.ts
CHANGED
@@ -40,8 +40,8 @@ declare function __VLS_template(): {
|
|
40
40
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
41
41
|
scroll: (left: number, top: number, ev: Event) => any;
|
42
42
|
}, string, {
|
43
|
-
scrollbar: boolean;
|
44
43
|
type: import('../Scrollbar').TackType;
|
44
|
+
scrollbar: boolean;
|
45
45
|
outerClass: import('../_shared/type').ClassName;
|
46
46
|
outerStyle: import('vue').CSSProperties;
|
47
47
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
@@ -65,13 +65,13 @@ declare function __VLS_template(): {
|
|
65
65
|
$nextTick: typeof import('vue').nextTick;
|
66
66
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
67
67
|
} & Readonly<{
|
68
|
-
scrollbar: boolean;
|
69
68
|
type: import('../Scrollbar').TackType;
|
69
|
+
scrollbar: boolean;
|
70
70
|
outerClass: import('../_shared/type').ClassName;
|
71
71
|
outerStyle: import('vue').CSSProperties;
|
72
72
|
}> & Omit<Readonly<import('../Scrollbar').ScrollbarProps> & Readonly<{
|
73
73
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
74
|
-
}>, "scrollTop" | "scrollLeft" | ("
|
74
|
+
}>, "scrollTop" | "scrollLeft" | ("type" | "scrollbar" | "outerClass" | "outerStyle") | "scrollTo" | "getScrollRef"> & import('vue').ShallowUnwrapRef<{
|
75
75
|
scrollTo(options: ScrollOptions): void;
|
76
76
|
scrollLeft(left: number): void;
|
77
77
|
scrollTop(top: number): void;
|
@@ -149,8 +149,8 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
149
149
|
"onReach-bottom"?: ((ev: Event) => any) | undefined;
|
150
150
|
"onPage-change"?: ((value: number) => any) | undefined;
|
151
151
|
}>, {
|
152
|
-
size: import('./type').ListSize;
|
153
152
|
loading: boolean;
|
153
|
+
size: import('./type').ListSize;
|
154
154
|
scrollbar: boolean;
|
155
155
|
split: boolean;
|
156
156
|
data: import('../_shared/type').ObjectData[];
|
@@ -198,8 +198,8 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
198
198
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
199
199
|
scroll: (left: number, top: number, ev: Event) => any;
|
200
200
|
}, string, {
|
201
|
-
scrollbar: boolean;
|
202
201
|
type: import('../Scrollbar').TackType;
|
202
|
+
scrollbar: boolean;
|
203
203
|
outerClass: import('../_shared/type').ClassName;
|
204
204
|
outerStyle: import('vue').CSSProperties;
|
205
205
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
@@ -223,13 +223,13 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
223
223
|
$nextTick: typeof import('vue').nextTick;
|
224
224
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
225
225
|
} & Readonly<{
|
226
|
-
scrollbar: boolean;
|
227
226
|
type: import('../Scrollbar').TackType;
|
227
|
+
scrollbar: boolean;
|
228
228
|
outerClass: import('../_shared/type').ClassName;
|
229
229
|
outerStyle: import('vue').CSSProperties;
|
230
230
|
}> & Omit<Readonly<import('../Scrollbar').ScrollbarProps> & Readonly<{
|
231
231
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
232
|
-
}>, "scrollTop" | "scrollLeft" | ("
|
232
|
+
}>, "scrollTop" | "scrollLeft" | ("type" | "scrollbar" | "outerClass" | "outerStyle") | "scrollTo" | "getScrollRef"> & import('vue').ShallowUnwrapRef<{
|
233
233
|
scrollTo(options: ScrollOptions): void;
|
234
234
|
scrollLeft(left: number): void;
|
235
235
|
scrollTop(top: number): void;
|
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<ListItemMetaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ListItemMetaProps> & Readonly<{}>, {
|
10
|
-
title: string;
|
11
10
|
description: string;
|
11
|
+
title: string;
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
14
14
|
export default _default;
|