yc-design-vue 1.8.6 → 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.
Files changed (227) hide show
  1. package/es/Alert/index.d.ts +3 -3
  2. package/es/Alert/index.vue.d.ts +1 -1
  3. package/es/AutoComplete/index.d.ts +19 -19
  4. package/es/AutoComplete/index.vue.d.ts +33 -33
  5. package/es/Avatar/Avatar.vue.d.ts +2 -2
  6. package/es/Avatar/index.d.ts +5 -5
  7. package/es/Button/Button.vue.d.ts +3 -3
  8. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  9. package/es/Button/index.d.ts +12 -12
  10. package/es/Calendar/Calendar.vue.js +2 -3
  11. package/es/Card/Card.vue.d.ts +1 -1
  12. package/es/Card/CardMeta.vue.d.ts +1 -1
  13. package/es/Card/index.d.ts +6 -6
  14. package/es/Cascader/Cascader.vue.d.ts +17 -17
  15. package/es/Cascader/index.d.ts +16 -16
  16. package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  17. package/es/Checkbox/index.d.ts +3 -3
  18. package/es/ColorPicker/ColorList.vue.js +3 -2
  19. package/es/ColorPicker/ColorPanel.vue.js +3 -2
  20. package/es/Divider/index.d.ts +3 -3
  21. package/es/Divider/index.vue.d.ts +1 -1
  22. package/es/Drawer/Drawer.vue.d.ts +4 -4
  23. package/es/Drawer/Drawer.vue.js +3 -2
  24. package/es/Drawer/DrawerService.vue.d.ts +2 -2
  25. package/es/Drawer/index.d.ts +11 -11
  26. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  27. package/es/Dropdown/index.d.ts +3 -3
  28. package/es/Empty/index.vue.js +2 -1
  29. package/es/Image/Image.vue.d.ts +2 -2
  30. package/es/Image/Image.vue.js +2 -1
  31. package/es/Image/ImagePreviewToolbar.vue.js +9 -8
  32. package/es/Image/index.d.ts +6 -6
  33. package/es/Input/Input.vue.d.ts +3 -3
  34. package/es/Input/index.d.ts +9 -9
  35. package/es/InputNumber/InputNumber.vue.d.ts +18 -18
  36. package/es/InputNumber/index.d.ts +19 -19
  37. package/es/InputTag/index.d.ts +6 -6
  38. package/es/InputTag/index.vue.d.ts +2 -2
  39. package/es/Link/index.d.ts +3 -3
  40. package/es/Link/index.vue.d.ts +1 -1
  41. package/es/List/List.vue.d.ts +7 -7
  42. package/es/List/ListItemMeta.vue.d.ts +1 -1
  43. package/es/List/index.d.ts +9 -9
  44. package/es/Mention/index.d.ts +22 -22
  45. package/es/Mention/index.vue.d.ts +39 -39
  46. package/es/Message/Message.vue.d.ts +1 -1
  47. package/es/Message/index.d.ts +3 -3
  48. package/es/Modal/Modal.vue.d.ts +4 -4
  49. package/es/Modal/Modal.vue.js +3 -2
  50. package/es/Modal/ModalService.vue.d.ts +2 -2
  51. package/es/Modal/index.d.ts +11 -11
  52. package/es/Notification/Notification.vue.d.ts +1 -1
  53. package/es/Notification/index.d.ts +3 -3
  54. package/es/OverflowList/index.d.ts +3 -3
  55. package/es/OverflowList/index.vue.d.ts +1 -1
  56. package/es/Pagination/Pagination.vue.js +3 -2
  57. package/es/Pagination/hooks/useContext.d.ts +254 -3
  58. package/es/Pagination/hooks/useContext.js +1 -2
  59. package/es/Popconfirm/index.d.ts +19 -19
  60. package/es/Popconfirm/index.vue.d.ts +7 -7
  61. package/es/Popconfirm/index.vue.js +3 -2
  62. package/es/Progress/Progress.vue.d.ts +1 -1
  63. package/es/Progress/index.d.ts +3 -3
  64. package/es/Radio/Radio.vue.d.ts +1 -1
  65. package/es/Radio/RadioGroup.vue.d.ts +1 -1
  66. package/es/Radio/index.d.ts +6 -6
  67. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  68. package/es/Scrollbar/index.d.ts +3 -3
  69. package/es/Select/Select.vue.d.ts +13 -13
  70. package/es/Select/index.d.ts +14 -14
  71. package/es/Slider/Slider.vue.d.ts +3 -3
  72. package/es/Slider/index.d.ts +9 -9
  73. package/es/Space/index.d.ts +3 -3
  74. package/es/Space/index.vue.d.ts +1 -1
  75. package/es/Spin/index.d.ts +3 -3
  76. package/es/Spin/index.vue.d.ts +1 -1
  77. package/es/Split/index.d.ts +6 -6
  78. package/es/Split/index.vue.d.ts +2 -2
  79. package/es/Statistic/Countdown.vue.d.ts +2 -2
  80. package/es/Statistic/Statistic.vue.d.ts +2 -2
  81. package/es/Statistic/index.d.ts +12 -12
  82. package/es/Steps/Step.vue.d.ts +1 -1
  83. package/es/Steps/Steps.vue.d.ts +1 -1
  84. package/es/Steps/index.d.ts +6 -6
  85. package/es/Switch/index.d.ts +6 -6
  86. package/es/Switch/index.vue.d.ts +2 -2
  87. package/es/Tabs/Tabs.vue.d.ts +3 -3
  88. package/es/Tabs/index.d.ts +8 -8
  89. package/es/Tag/index.d.ts +3 -3
  90. package/es/Tag/index.vue.d.ts +1 -1
  91. package/es/Textarea/index.d.ts +6 -6
  92. package/es/Textarea/index.vue.d.ts +2 -2
  93. package/es/TimePicker/TimePicker.vue.d.ts +3 -3
  94. package/es/TimePicker/index.d.ts +9 -9
  95. package/es/Typography/TypographyBase.vue.d.ts +19 -19
  96. package/es/Typography/TypographyBase.vue.js +3 -2
  97. package/es/VerificationCode/index.d.ts +6 -6
  98. package/es/VerificationCode/index.vue.d.ts +2 -2
  99. package/es/_shared/icons/IconFullScreen.vue.js +17 -1
  100. package/es/_shared/icons/IconFullScreen.vue2.js +1 -17
  101. package/es/_shared/icons/IconOriginSize.vue.js +23 -1
  102. package/es/_shared/icons/IconOriginSize.vue2.js +1 -23
  103. package/es/_shared/icons/IconRotateLeft.vue.js +17 -1
  104. package/es/_shared/icons/IconRotateLeft.vue2.js +1 -17
  105. package/es/_shared/icons/IconRotateRight.vue.js +17 -1
  106. package/es/_shared/icons/IconRotateRight.vue2.js +1 -17
  107. package/es/_shared/icons/IconZoomIn.vue.js +17 -1
  108. package/es/_shared/icons/IconZoomIn.vue2.js +1 -17
  109. package/es/_shared/icons/IconZoomOut.vue.js +17 -1
  110. package/es/_shared/icons/IconZoomOut.vue2.js +1 -17
  111. package/es/_shared/locale/i18n.d.ts +256 -0
  112. package/es/_shared/locale/i18n.js +3 -1
  113. package/es/index.d.ts +27 -27
  114. package/lib/Alert/index.d.ts +3 -3
  115. package/lib/Alert/index.vue.d.ts +1 -1
  116. package/lib/AutoComplete/index.d.ts +19 -19
  117. package/lib/AutoComplete/index.vue.d.ts +33 -33
  118. package/lib/Avatar/Avatar.vue.d.ts +2 -2
  119. package/lib/Avatar/index.d.ts +5 -5
  120. package/lib/Button/Button.vue.d.ts +3 -3
  121. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  122. package/lib/Button/index.d.ts +12 -12
  123. package/lib/Calendar/Calendar.vue.js +1 -1
  124. package/lib/Card/Card.vue.d.ts +1 -1
  125. package/lib/Card/CardMeta.vue.d.ts +1 -1
  126. package/lib/Card/index.d.ts +6 -6
  127. package/lib/Cascader/Cascader.vue.d.ts +17 -17
  128. package/lib/Cascader/index.d.ts +16 -16
  129. package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  130. package/lib/Checkbox/index.d.ts +3 -3
  131. package/lib/ColorPicker/ColorList.vue.js +1 -1
  132. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  133. package/lib/Divider/index.d.ts +3 -3
  134. package/lib/Divider/index.vue.d.ts +1 -1
  135. package/lib/Drawer/Drawer.vue.d.ts +4 -4
  136. package/lib/Drawer/Drawer.vue.js +1 -1
  137. package/lib/Drawer/DrawerService.vue.d.ts +2 -2
  138. package/lib/Drawer/index.d.ts +11 -11
  139. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  140. package/lib/Dropdown/index.d.ts +3 -3
  141. package/lib/Empty/index.vue.js +1 -1
  142. package/lib/Image/Image.vue.d.ts +2 -2
  143. package/lib/Image/Image.vue.js +1 -1
  144. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  145. package/lib/Image/index.d.ts +6 -6
  146. package/lib/Input/Input.vue.d.ts +3 -3
  147. package/lib/Input/index.d.ts +9 -9
  148. package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
  149. package/lib/InputNumber/index.d.ts +19 -19
  150. package/lib/InputTag/index.d.ts +6 -6
  151. package/lib/InputTag/index.vue.d.ts +2 -2
  152. package/lib/Link/index.d.ts +3 -3
  153. package/lib/Link/index.vue.d.ts +1 -1
  154. package/lib/List/List.vue.d.ts +7 -7
  155. package/lib/List/ListItemMeta.vue.d.ts +1 -1
  156. package/lib/List/index.d.ts +9 -9
  157. package/lib/Mention/index.d.ts +22 -22
  158. package/lib/Mention/index.vue.d.ts +39 -39
  159. package/lib/Message/Message.vue.d.ts +1 -1
  160. package/lib/Message/index.d.ts +3 -3
  161. package/lib/Modal/Modal.vue.d.ts +4 -4
  162. package/lib/Modal/Modal.vue.js +1 -1
  163. package/lib/Modal/ModalService.vue.d.ts +2 -2
  164. package/lib/Modal/index.d.ts +11 -11
  165. package/lib/Notification/Notification.vue.d.ts +1 -1
  166. package/lib/Notification/index.d.ts +3 -3
  167. package/lib/OverflowList/index.d.ts +3 -3
  168. package/lib/OverflowList/index.vue.d.ts +1 -1
  169. package/lib/Pagination/Pagination.vue.js +1 -1
  170. package/lib/Pagination/hooks/useContext.d.ts +254 -3
  171. package/lib/Pagination/hooks/useContext.js +1 -1
  172. package/lib/Popconfirm/index.d.ts +19 -19
  173. package/lib/Popconfirm/index.vue.d.ts +7 -7
  174. package/lib/Popconfirm/index.vue.js +1 -1
  175. package/lib/Progress/Progress.vue.d.ts +1 -1
  176. package/lib/Progress/index.d.ts +3 -3
  177. package/lib/Radio/Radio.vue.d.ts +1 -1
  178. package/lib/Radio/RadioGroup.vue.d.ts +1 -1
  179. package/lib/Radio/index.d.ts +6 -6
  180. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  181. package/lib/Scrollbar/index.d.ts +3 -3
  182. package/lib/Select/Select.vue.d.ts +13 -13
  183. package/lib/Select/index.d.ts +14 -14
  184. package/lib/Slider/Slider.vue.d.ts +3 -3
  185. package/lib/Slider/index.d.ts +9 -9
  186. package/lib/Space/index.d.ts +3 -3
  187. package/lib/Space/index.vue.d.ts +1 -1
  188. package/lib/Spin/index.d.ts +3 -3
  189. package/lib/Spin/index.vue.d.ts +1 -1
  190. package/lib/Split/index.d.ts +6 -6
  191. package/lib/Split/index.vue.d.ts +2 -2
  192. package/lib/Statistic/Countdown.vue.d.ts +2 -2
  193. package/lib/Statistic/Statistic.vue.d.ts +2 -2
  194. package/lib/Statistic/index.d.ts +12 -12
  195. package/lib/Steps/Step.vue.d.ts +1 -1
  196. package/lib/Steps/Steps.vue.d.ts +1 -1
  197. package/lib/Steps/index.d.ts +6 -6
  198. package/lib/Switch/index.d.ts +6 -6
  199. package/lib/Switch/index.vue.d.ts +2 -2
  200. package/lib/Tabs/Tabs.vue.d.ts +3 -3
  201. package/lib/Tabs/index.d.ts +8 -8
  202. package/lib/Tag/index.d.ts +3 -3
  203. package/lib/Tag/index.vue.d.ts +1 -1
  204. package/lib/Textarea/index.d.ts +6 -6
  205. package/lib/Textarea/index.vue.d.ts +2 -2
  206. package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
  207. package/lib/TimePicker/index.d.ts +9 -9
  208. package/lib/Typography/TypographyBase.vue.d.ts +19 -19
  209. package/lib/Typography/TypographyBase.vue.js +1 -1
  210. package/lib/VerificationCode/index.d.ts +6 -6
  211. package/lib/VerificationCode/index.vue.d.ts +2 -2
  212. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  213. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  214. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  215. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  216. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  217. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  218. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  219. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  220. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  221. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  222. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  223. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  224. package/lib/_shared/locale/i18n.d.ts +256 -0
  225. package/lib/_shared/locale/i18n.js +1 -1
  226. package/lib/index.d.ts +27 -27
  227. package/package.json +1 -1
@@ -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"),r={class:"yc-empty"},o={class:"yc-empty-image"},s=["src"],i={class:"yc-empty-description"},c=e.defineComponent({name:"Empty",__name:"index",props:{description:{default:""},imgSrc:{default:""}},setup(c){const n=c,{description:d}=e.toRefs(n);return(c,n)=>(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("div",o,[e.renderSlot(c.$slots,"image",{},()=>[c.imgSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:c.imgSrc,alt:"图片加载失败"},null,8,s)):e.createCommentVNode("",!0),e.createVNode(e.unref(t))])]),e.createElementVNode("div",i,[e.renderSlot(c.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(c.description||c.$t("empty.description")),1)])])]))}});module.exports=c;
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;
@@ -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;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconImageClose.vue.js"),i=require("../_shared/utils/control.js"),r=require("./hooks/useContext.js"),l=require("../Spin/index.js"),a=require("./ImagePreview.vue.js");;/* empty css */const s=["src","title","alt"],n={key:1,class:"yc-image-overlay"},c={class:"yc-image-loader"},d={key:2,class:"yc-image-overlay"},u={class:"yc-image-error"},m={class:"yc-image-error-icon"},v={class:"yc-image-error-alt"},p={class:"yc-image-footer-caption"},f=["title"],y=["title"],g={key:0,class:"yc-image-footer-extra"},h=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(h,{emit:w}){const k=h,V=w,{src:B,preview:E,previewVisible:N,defaultPreviewVisible:C}=e.toRefs(k),{hasGroupFather:j,handleClick:x}=r().inject(),P=i(N,C.value,e=>{V("update:previewVisible",e),V("preview-visible-change",e)}),S=e.ref(!1),b=e.ref(!1),q=()=>{b.value=!1,S.value=!1},$=()=>{b.value=!1,S.value=!0},_=()=>{if(j.value)return x(B.value);E.value&&(P.value=!0)};return e.watch(()=>B.value,()=>{b.value=!0,S.value=!1},{immediate:!0}),(i,r)=>(e.openBlock(),e.createElementBlock("div",{class:"yc-image",style:e.normalizeStyle({width:e.unref(t.valueToPx)(i.width),height:e.unref(t.valueToPx)(i.height)})},[e.createElementVNode("img",{src:e.unref(B),title:i.title,alt:i.alt??i.description,style:e.normalizeStyle({width:e.unref(t.valueToPx)(i.width),height:e.unref(t.valueToPx)(i.height),objectFit:i.fit}),class:"yc-image-img",onLoad:q,onError:$,onClick:_},null,44,s),e.unref(E)?(e.openBlock(),e.createBlock(a,e.mergeProps({key:0,visible:e.unref(P),"onUpdate:visible":r[0]||(r[0]=t=>e.isRef(P)?P.value=t:null),src:e.unref(B)},i.previewProps),e.createSlots({_:2},[i.$slots["preview-actions"]?{name:"actions",fn:e.withCtx(()=>[e.renderSlot(i.$slots,"preview-actions")]),key:"0"}:void 0]),1040,["visible","src"])):e.createCommentVNode("",!0),(i.showLoader||i.$slots.loader)&&b.value?(e.openBlock(),e.createElementBlock("div",n,[e.createElementVNode("div",c,[e.renderSlot(i.$slots,"loader",{},()=>[e.createVNode(e.unref(l),{size:30,tip:i.$t("image.loading")},null,8,["tip"])])])])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("div",d,[e.renderSlot(i.$slots,"error",{},()=>[e.createElementVNode("div",u,[e.renderSlot(i.$slots,"error-icon",{},()=>[e.createElementVNode("div",m,[e.createVNode(e.unref(o),{size:60})])]),e.createElementVNode("div",v,e.toDisplayString(i.alt??i.description),1)])])])):e.createCommentVNode("",!0),!i.hideFooter&&(i.title||i.description||i.$slots.extra)?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["yc-image-footer","inner"==i.footerPosition?"yc-image-footer-inner":"yc-image-footer-outer",i.footerClass])},[e.createElementVNode("div",p,[e.createElementVNode("div",{class:"yc-image-footer-caption-title",title:i.title},e.toDisplayString(i.title),9,f),e.createElementVNode("div",{class:"yc-image-footer-caption-description",title:i.description},e.toDisplayString(i.description),9,y)]),i.$slots.extra?(e.openBlock(),e.createElementBlock("div",g,[e.renderSlot(i.$slots,"extra")])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],4))}});module.exports=h;
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.vue2.js"),r=require("../_shared/icons/IconOriginSize.vue2.js"),t=require("../_shared/icons/IconRotateLeft.vue2.js"),n=require("../_shared/icons/IconRotateRight.vue2.js"),i=require("../_shared/icons/IconZoomIn.vue2.js"),c=require("../_shared/icons/IconZoomOut.vue2.js"),s=require("./ImagePreviewAction.vue.js");;/* empty css */const a={key:0,class:"yc-image-preview-toolbar"},u=e.defineComponent({__name:"ImagePreviewToolbar",props:{actionsLayout:{default:()=>[]}},emits:["click"],setup(u){const l={fullScreen:o,rotateRight:n,rotateLeft:t,zoomIn:i,zoomOut:c,originalSize:r};return(o,r)=>o.actionsLayout.length?(e.openBlock(),e.createElementBlock("div",a,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.actionsLayout,r=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[l[r]?(e.openBlock(),e.createBlock(s,{key:0,name:o.$t(`imagePreview.${r}`),onClick:e=>o.$emit("click",r,e)},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l[r])))]),_:2},1032,["name","onClick"])):e.createCommentVNode("",!0)],64))),128)),e.renderSlot(o.$slots,"actions")])):e.createCommentVNode("",!0)}});module.exports=u;
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;
@@ -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;
@@ -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;
@@ -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" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
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" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
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" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
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;
@@ -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;
@@ -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;
@@ -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;
@@ -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" | ("scrollbar" | "type" | "outerClass" | "outerStyle") | "scrollTo" | "getScrollRef"> & import('vue').ShallowUnwrapRef<{
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" | ("scrollbar" | "type" | "outerClass" | "outerStyle") | "scrollTo" | "getScrollRef"> & import('vue').ShallowUnwrapRef<{
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;