vue-devui 1.5.5 → 1.5.6
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/alert/index.es.js +3 -3
- package/alert/index.umd.js +1 -1
- package/auto-complete/index.es.js +27 -9
- package/auto-complete/index.umd.js +19 -1
- package/avatar/index.es.js +77 -3
- package/avatar/index.umd.js +75 -1
- package/checkbox/index.es.js +27 -9
- package/checkbox/index.umd.js +19 -1
- package/collapse/index.es.js +5 -1
- package/collapse/index.umd.js +5 -1
- package/date-picker-pro/index.es.js +54 -11
- package/date-picker-pro/index.umd.js +44 -1
- package/echarts/index.es.js +395 -0
- package/echarts/index.umd.js +1 -0
- package/echarts/package.json +8 -0
- package/form/index.es.js +27 -9
- package/form/index.umd.js +22 -4
- package/global.d.ts +1 -0
- package/image-preview/index.es.js +34 -9
- package/image-preview/index.umd.js +26 -1
- package/input/index.es.js +27 -9
- package/input/index.umd.js +19 -1
- package/input-number/index.es.js +35 -11
- package/input-number/index.umd.js +30 -6
- package/mention/index.es.js +27 -9
- package/mention/index.umd.js +19 -1
- package/notification/index.es.js +11 -4
- package/notification/index.umd.js +8 -1
- package/nuxt/components/DChart.js +2 -0
- package/nuxt/components/devuiChartProps.js +2 -0
- package/package.json +2 -1
- package/pagination/index.es.js +34 -13
- package/pagination/index.umd.js +22 -1
- package/popover/index.es.js +12 -4
- package/popover/index.umd.js +9 -1
- package/radio/index.es.js +27 -9
- package/radio/index.umd.js +30 -12
- package/rate/index.es.js +2 -2
- package/rate/index.umd.js +1 -1
- package/search/index.es.js +31 -11
- package/search/index.umd.js +21 -1
- package/select/index.es.js +32 -11
- package/select/index.umd.js +22 -1
- package/skeleton/index.es.js +17 -1
- package/skeleton/index.umd.js +17 -1
- package/switch/index.es.js +27 -9
- package/switch/index.umd.js +25 -7
- package/table/index.es.js +27 -9
- package/table/index.umd.js +19 -1
- package/textarea/index.es.js +27 -9
- package/textarea/index.umd.js +19 -1
- package/time-picker/index.es.js +27 -9
- package/time-picker/index.umd.js +19 -1
- package/time-select/index.es.js +32 -11
- package/time-select/index.umd.js +27 -6
- package/tree/index.es.js +27 -9
- package/tree/index.umd.js +19 -1
- package/types/avatar/src/components/icon-nobody.d.ts +1 -1
- package/types/echarts/index.d.ts +11 -0
- package/types/echarts/src/echarts-theme.d.ts +351 -0
- package/types/echarts/src/echarts-types.d.ts +8 -0
- package/types/echarts/src/echarts.d.ts +16 -0
- package/types/timeline/src/components/timeline-item.d.ts +1 -1
- package/types/vue-devui.d.ts +2 -1
- package/upload/index.es.js +11 -4
- package/upload/index.umd.js +8 -1
- package/vue-devui.es.js +598 -44
- package/vue-devui.umd.js +215 -35
package/skeleton/index.umd.js
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
-
(function(o,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(o=typeof globalThis!="undefined"?globalThis:o||self,e(o.index={},o.Vue))})(this,function(o,e){"use strict";const C={variant:{type:String,default:"square"},size:{type:String,default:"md"}},y={rows:{type:Number,default:3},round:{type:Boolean,default:!1},loading:{type:Boolean,default:!0},showAnimation:{type:Boolean,default:!0}},m=Symbol("round"),f=Symbol("showAnimation");function u(l,n,t){let s=l;return n&&(s+=`__${n}`),t&&(s+=`--${t}`),s}function h(l,n=!1){const t=n?`.devui-${l}`:`devui-${l}`;return{b:()=>u(t),e:a=>a?u(t,a):"",m:a=>a?u(t,"",a):"",em:(a,d)=>a&&d?u(t,a,d):""}}function k(l){const n=h("skeleton-item"),{variant:t,size:s}=e.toRefs(l),i=e.inject(m,void 0),r=e.inject(f,void 0);return{classes:e.computed(()=>({[n.b()]:!0,[n.m(t.value)]:!0,[n.m(s.value)]:t.value!=="square",[n.m("round")]:t.value!=="circle"&&Boolean(i==null?void 0:i.value),[n.m("animation")]:Boolean(r==null?void 0:r.value)}))}}function v(){return e.createVNode("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[e.createVNode("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[e.createVNode("g",null,[e.createVNode("rect",{fill:"#d8d8d8",opacity:"0",x:"0",y:"0",width:"24",height:"24"},null),e.createVNode("path",{d
|
|
1
|
+
(function(o,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(o=typeof globalThis!="undefined"?globalThis:o||self,e(o.index={},o.Vue))})(this,function(o,e){"use strict";const C={variant:{type:String,default:"square"},size:{type:String,default:"md"}},y={rows:{type:Number,default:3},round:{type:Boolean,default:!1},loading:{type:Boolean,default:!0},showAnimation:{type:Boolean,default:!0}},m=Symbol("round"),f=Symbol("showAnimation");function u(l,n,t){let s=l;return n&&(s+=`__${n}`),t&&(s+=`--${t}`),s}function h(l,n=!1){const t=n?`.devui-${l}`:`devui-${l}`;return{b:()=>u(t),e:a=>a?u(t,a):"",m:a=>a?u(t,"",a):"",em:(a,d)=>a&&d?u(t,a,d):""}}function k(l){const n=h("skeleton-item"),{variant:t,size:s}=e.toRefs(l),i=e.inject(m,void 0),r=e.inject(f,void 0);return{classes:e.computed(()=>({[n.b()]:!0,[n.m(t.value)]:!0,[n.m(s.value)]:t.value!=="square",[n.m("round")]:t.value!=="circle"&&Boolean(i==null?void 0:i.value),[n.m("animation")]:Boolean(r==null?void 0:r.value)}))}}function v(){return e.createVNode("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[e.createVNode("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[e.createVNode("g",null,[e.createVNode("rect",{fill:"#d8d8d8",opacity:"0",x:"0",y:"0",width:"24",height:"24"},null),e.createVNode("path",{d:`M17.9783341,3.022 C19.5705758,3.022 20.8816065,4.27616494 20.9732206,5.84628917 L20.9783341,6.022 L20.9783341,15.4777069
|
|
2
|
+
L20.9783775,15.4946187 C20.9778434,15.509964 20.9768409,15.525296 20.9753698,15.5405914 L20.9783341,15.4777069
|
|
3
|
+
C20.9783341,15.8919205 20.6425477,16.2277069 20.2283341,16.2277069 C19.9841207,16.2277069 19.7671693,16.1109847
|
|
4
|
+
19.630224,15.9302845 L16.3835041,12.6846982 C15.9279377,12.2291319 15.2084078,12.1987608 14.7176463,12.593585
|
|
5
|
+
L14.6161642,12.6846982 L9.05907272,18.2417898 C8.76083183,18.5400306 8.28304152,18.5577535 7.96352506,18.2824274
|
|
6
|
+
C7.67269311,18.0318186 7.64008582,17.5928941 7.89069464,17.3020621 L7.9253008,17.2647549 L7.9253008,17.2647549
|
|
7
|
+
L13.5555041,11.6240381 C14.5846517,10.5948904 16.2263561,10.5520093 17.3065502,11.4953946 L17.4441642,11.6240381
|
|
8
|
+
L19.4783341,13.658 L19.4783341,6.022 C19.4783341,5.24761276 18.8784495,4.6021759 18.1219124,4.52892169 L17.9783341,4.522
|
|
9
|
+
L6.02133414,4.522 C5.24694691,4.522 4.60151004,5.12188468 4.52825583,5.87842174 L4.52133414,6.022 L4.52133414,17.978
|
|
10
|
+
C4.52133414,18.7529555 5.12086774,19.397891 5.87769393,19.4710842 L6.02133414,19.478 L17.9783341,19.478 C18.7530944,19.478
|
|
11
|
+
19.3982021,18.8786501 19.4714163,18.1216726 L19.4783341,17.978 C19.4783341,17.5637864 19.8141206,17.208 20.2283341,17.228
|
|
12
|
+
C20.6425477,17.228 20.9783341,17.5637864 20.9783341,17.978 C20.9783341,19.5709231 19.724442,20.881321 18.1540742,20.9728891
|
|
13
|
+
L17.9783341,20.978 L6.02133414,20.978 C4.42880954,20.978 3.11804157,19.7244922 3.02644657,18.1537812 L3.02133414,17.978
|
|
14
|
+
L3.02133414,6.022 C3.02133414,4.42975835 4.27549908,3.11872764 5.84562331,3.02711351 L6.02133414,3.022 L17.9783341,3.022 Z
|
|
15
|
+
M8.99983414,7.7505 C9.6900477,7.7505 10.2498341,8.31028644 10.2498341,9.0005 C10.2498341,9.69071356 9.6900477,10.2505
|
|
16
|
+
8.99983414,10.3505 C8.30962058,10.2505 7.74983414,9.69071356 7.74983414,9.0005 C7.74983414,8.31028644 8.30962058,7.7505
|
|
17
|
+
8.99983414,7.7505 Z`,fill:"#bfbfbf"},null)])])])}var w="",c=e.defineComponent({name:"DSkeletonItem",props:C,setup(l){const{variant:n}=e.toRefs(l),{classes:t}=k(l);return()=>e.createVNode("div",{class:t.value},[n.value==="image"&&e.createVNode(v,null,null)])}}),I="",p=e.defineComponent({name:"DSkeleton",props:y,setup(l,n){const t=h("skeleton"),{loading:s,rows:i,showAnimation:r,round:L}=e.toRefs(l),a=e.computed(()=>new Array(i.value).fill(""));return e.provide(f,r),e.provide(m,L),()=>{var d,g;return s.value?n.slots.placeholder?n.slots.placeholder():e.createVNode("div",{class:t.b()},[e.createVNode(c,{class:t.e("title")},null),a.value.map(()=>e.createVNode(c,{class:t.e("paragraph")},null))]):(g=(d=n.slots).default)==null?void 0:g.call(d)}}}),S={title:"Skeleton \u9AA8\u67B6\u5C4F",category:"\u6570\u636E\u5C55\u793A",status:"100%",install(l){l.component(p.name,p),l.component(c.name,c)}};o.Skeleton=p,o.SkeletonItem=c,o.animationInjectionKey=f,o.default=S,o.roundInjectionKey=m,o.skeletonItemProps=C,o.skeletonProps=y,Object.defineProperty(o,"__esModule",{value:!0}),o[Symbol.toStringTag]="Module"});
|
package/switch/index.es.js
CHANGED
|
@@ -6182,9 +6182,17 @@ function WarningIcon() {
|
|
|
6182
6182
|
"fill": "none",
|
|
6183
6183
|
"fill-rule": "evenodd"
|
|
6184
6184
|
}, [createVNode("polygon", {
|
|
6185
|
-
"points": "7.5 1.74501946 1.39184847 13.5954649 7.08947368
|
|
6185
|
+
"points": "7.5 1.74501946 1.39184847 13.5954649 7.08947368 14.2207621 13.9973698 13.5954649 10.9383683 5.61273879 8.40084114 1.27624313"
|
|
6186
6186
|
}, null), createVNode("path", {
|
|
6187
|
-
"d":
|
|
6187
|
+
"d": `M8.51325441,0.127397589 C8.70423071,0.228333932
|
|
6188
|
+
8.8605922,0.383286648 8.96244623,0.57254229 L15.8714442,13.4101975
|
|
6189
|
+
C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158
|
|
6190
|
+
C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15
|
|
6191
|
+
C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684
|
|
6192
|
+
0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987
|
|
6193
|
+
8.51325441,0.127397589 Z M8.87894737,11.2105263 L7.08947368,11.2105263 L7.08947368,13
|
|
6194
|
+
L8.87894737,13 L8.87894737,11.2105263 Z M8.96842105,4.5 L7,4.5 L7.08947368,9.86842105
|
|
6195
|
+
L8.87894737,9.86842105 L8.96842105,4.5 Z`
|
|
6188
6196
|
}, null)])]);
|
|
6189
6197
|
}
|
|
6190
6198
|
function InfoIcon() {
|
|
@@ -6205,7 +6213,7 @@ function InfoIcon() {
|
|
|
6205
6213
|
}, null), createVNode("g", {
|
|
6206
6214
|
"stroke-width": "1"
|
|
6207
6215
|
}, [createVNode("path", {
|
|
6208
|
-
"d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16
|
|
6216
|
+
"d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,5 L7,5 L7,3 L9,3 L9,5 Z M9,12.6 L7,12.6 L7,6.6 L9,6.6 L9,12.6 Z"
|
|
6209
6217
|
}, null)])])]);
|
|
6210
6218
|
}
|
|
6211
6219
|
function ErrorIcon$1() {
|
|
@@ -6226,7 +6234,7 @@ function ErrorIcon$1() {
|
|
|
6226
6234
|
"cy": "8",
|
|
6227
6235
|
"r": "7"
|
|
6228
6236
|
}, null), createVNode("path", {
|
|
6229
|
-
"d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8
|
|
6237
|
+
"d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,12.6 L7,12.6 L7,10.6 L9,10.6 L9,12.6 Z M9,9.1 L7,9.1 L6.9,3.1 L9.1,3.1 L9,9.1 Z",
|
|
6230
6238
|
"fill-rule": "nonzero"
|
|
6231
6239
|
}, null)])]);
|
|
6232
6240
|
}
|
|
@@ -6335,7 +6343,14 @@ function HelpTipsIcon() {
|
|
|
6335
6343
|
"fill": "none",
|
|
6336
6344
|
"fill-rule": "evenodd"
|
|
6337
6345
|
}, [createVNode("g", null, [createVNode("path", {
|
|
6338
|
-
"d":
|
|
6346
|
+
"d": `M8.5,8.95852078 L8.5,11 L7.5,11 L7.5,8.5 C7.5,8.22385763
|
|
6347
|
+
7.72385763,8 8,8 C9.1045695,8 10,7.1045695 10,6 C10,4.8954305
|
|
6348
|
+
9.1045695,4 8,4 C6.8954305,4 6,4.8954305 6,6 L5,6 C5,4.34314575
|
|
6349
|
+
6.34314575,3 8,3 C9.65685425,3 11,4.34314575 11,6 C11,7.48649814
|
|
6350
|
+
9.91885667,8.72048173 8.5,8.95852078 L8.5,8.95852078 Z M8,16 C3.581722,16
|
|
6351
|
+
0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278
|
|
6352
|
+
12.418278,16 8,16 Z M8,15 C11.8659932,15 15,11.8659932 15,8 C15,4.13400675 11.8659932,1 8,1
|
|
6353
|
+
C4.13400675,1 1,4.13400675 1,8 C1,11.8659932 4.13400675,15 8,15 Z M7.5,12 L8.5,12 L8.5,13 L7.5,13 L7.5,12 Z`,
|
|
6339
6354
|
"fill": "#293040",
|
|
6340
6355
|
"fill-rule": "nonzero"
|
|
6341
6356
|
}, null)])])]);
|
|
@@ -6355,7 +6370,10 @@ function ErrorIcon() {
|
|
|
6355
6370
|
"cy": "8",
|
|
6356
6371
|
"r": "8"
|
|
6357
6372
|
}, null), createVNode("polygon", {
|
|
6358
|
-
"points":
|
|
6373
|
+
"points": `8.07106781 6.65685425 10.8994949 3.82842712 12.3137085
|
|
6374
|
+
5.24264069 9.48528137 8.07106781 12.3137085 10.8994949 10.8994949 12.3137085
|
|
6375
|
+
8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425
|
|
6376
|
+
8.07106781 3.82842712 5.24264069 5.24264069 3.82842712`
|
|
6359
6377
|
}, null)])]);
|
|
6360
6378
|
}
|
|
6361
6379
|
function SuccessIcon() {
|
|
@@ -6373,7 +6391,7 @@ function SuccessIcon() {
|
|
|
6373
6391
|
"cy": "8",
|
|
6374
6392
|
"r": "8"
|
|
6375
6393
|
}, null), createVNode("polygon", {
|
|
6376
|
-
"points": "6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391
|
|
6394
|
+
"points": "6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391 6.53553391 12.6066017 3 9.07106781 4.41421356 7.65685425 6.53553391 9.77817459"
|
|
6377
6395
|
}, null)])]);
|
|
6378
6396
|
}
|
|
6379
6397
|
function PendingIcon() {
|
|
@@ -6388,7 +6406,7 @@ function PendingIcon() {
|
|
|
6388
6406
|
"fill": "none",
|
|
6389
6407
|
"fill-rule": "evenodd"
|
|
6390
6408
|
}, [createVNode("path", {
|
|
6391
|
-
"d": "M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0
|
|
6409
|
+
"d": "M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z M8,1 C4.15,1 1,4.15 1,8 C1,11.85 4.15,15 8,15 C11.85,15 15,11.85 15,8 C15,4.15 11.85,1 8,1 Z",
|
|
6392
6410
|
"fill-rule": "nonzero"
|
|
6393
6411
|
}, null), createVNode("path", {
|
|
6394
6412
|
"d": "M8,0 C12.4,0 16,3.6 16,8 L15,8 C15,4.15 11.85,1 8,1 L8,0 Z",
|
|
@@ -7731,7 +7749,7 @@ defineComponent({
|
|
|
7731
7749
|
}, [createVNode(FormLabel, {
|
|
7732
7750
|
"help-tips": helpTips.value
|
|
7733
7751
|
}, {
|
|
7734
|
-
default: () => [label == null ? void 0 : label.value]
|
|
7752
|
+
default: () => [ctx.slots.label ? ctx.slots.label() : label == null ? void 0 : label.value]
|
|
7735
7753
|
}), createVNode(FormControl, {
|
|
7736
7754
|
"feedback-status": feedbackStatus == null ? void 0 : feedbackStatus.value,
|
|
7737
7755
|
"extra-info": extraInfo.value
|