@varlet/ui 3.0.2-alpha.1708400357394 → 3.0.3

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.
@@ -42,6 +42,7 @@ function __render__(_ctx, _cache) {
42
42
  [
43
43
  _ctx.lazy ? _withDirectives((_openBlock(), _createElementBlock("img", {
44
44
  key: 0,
45
+ role: "img",
45
46
  class: _normalizeClass(_ctx.n("image")),
46
47
  src: _ctx.src,
47
48
  alt: _ctx.alt,
@@ -53,6 +54,7 @@ function __render__(_ctx, _cache) {
53
54
  [_directive_lazy, _ctx.src]
54
55
  ]) : (_openBlock(), _createElementBlock("img", {
55
56
  key: 1,
57
+ role: "img",
56
58
  class: _normalizeClass(_ctx.n("image")),
57
59
  src: _ctx.src,
58
60
  alt: _ctx.alt,
@@ -27,6 +27,7 @@ function __render__(_ctx, _cache) {
27
27
  [
28
28
  _ctx.lazy && !_ctx.showErrorSlot ? _withDirectives((_openBlock(), _createElementBlock("img", {
29
29
  key: 0,
30
+ role: "img",
30
31
  class: _normalizeClass(_ctx.n("image")),
31
32
  alt: _ctx.alt,
32
33
  title: _ctx.title,
@@ -40,6 +41,7 @@ function __render__(_ctx, _cache) {
40
41
  ]) : _createCommentVNode("v-if", true),
41
42
  !_ctx.lazy && !_ctx.showErrorSlot ? (_openBlock(), _createElementBlock("img", {
42
43
  key: 1,
44
+ role: "img",
43
45
  class: _normalizeClass(_ctx.n("image")),
44
46
  alt: _ctx.alt,
45
47
  title: _ctx.title,
@@ -73,6 +73,7 @@ function __render__(_ctx, _cache) {
73
73
  onTouchcancel: _cache[2] || (_cache[2] = (...args) => _ctx.handleTouchcancel && _ctx.handleTouchcancel(...args))
74
74
  }, [
75
75
  _createElementVNode("img", {
76
+ role: "img",
76
77
  class: _normalizeClass(_ctx.classes(_ctx.n("image"), [_ctx.isPreventDefault, _ctx.n("--prevent")])),
77
78
  src: image,
78
79
  alt: image
@@ -262,7 +262,7 @@ import './tooltip/style/index.mjs'
262
262
  import './uploader/style/index.mjs'
263
263
  import './watermark/style/index.mjs'
264
264
 
265
- const version = '3.0.2-alpha.1708400357394'
265
+ const version = '3.0.3'
266
266
 
267
267
  function install(app) {
268
268
  ActionSheet.install && app.use(ActionSheet)
package/es/index.mjs CHANGED
@@ -174,7 +174,7 @@ export * from './tooltip/index.mjs'
174
174
  export * from './uploader/index.mjs'
175
175
  export * from './watermark/index.mjs'
176
176
 
177
- const version = '3.0.2-alpha.1708400357394'
177
+ const version = '3.0.3'
178
178
 
179
179
  function install(app) {
180
180
  ActionSheet.install && app.use(ActionSheet)
@@ -18,7 +18,7 @@ import { menuProps } from "../menu/index.mjs";
18
18
  import { defineListenerProp, pickProps } from "../utils/components.mjs";
19
19
  const props = __spreadValues({
20
20
  modelValue: {
21
- type: [String, Number, Boolean],
21
+ type: [String, Number, Boolean, Array],
22
22
  default: void 0
23
23
  },
24
24
  size: {
@@ -18,7 +18,7 @@ import { defineListenerProp, pickProps } from "../utils/components.mjs";
18
18
  import { fieldDecoratorProps } from "../field-decorator/index.mjs";
19
19
  const props = __spreadValues({
20
20
  modelValue: {
21
- type: [String, Number, Boolean],
21
+ type: [String, Number, Boolean, Array],
22
22
  default: void 0
23
23
  },
24
24
  multiple: Boolean,
@@ -1,7 +1,7 @@
1
1
  import '../../styles/common.css'
2
+ import '../SnackbarSfc.css'
2
3
  import '../../styles/elevation.css'
3
4
  import '../../loading/loading.css'
4
5
  import '../../icon/icon.css'
5
6
  import '../snackbar.css'
6
7
  import '../coreSfc.css'
7
- import '../SnackbarSfc.css'
@@ -91,6 +91,7 @@ function __render__(_ctx, _cache) {
91
91
  ], 10, _hoisted_2)) : _createCommentVNode("v-if", true),
92
92
  f.cover ? (_openBlock(), _createElementBlock("img", {
93
93
  key: 1,
94
+ role: "img",
94
95
  class: _normalizeClass(_ctx.n("file-cover")),
95
96
  style: _normalizeStyle({ objectFit: f.fit }),
96
97
  src: f.cover,
package/es/varlet.esm.js CHANGED
@@ -1988,6 +1988,7 @@ function _g(e, n) {
1988
1988
  [
1989
1989
  e.lazy ? Me((h(), C("img", {
1990
1990
  key: 0,
1991
+ role: "img",
1991
1992
  class: p(e.n("image")),
1992
1993
  src: e.src,
1993
1994
  alt: e.alt,
@@ -1999,6 +2000,7 @@ function _g(e, n) {
1999
2000
  [o, e.src]
2000
2001
  ]) : (h(), C("img", {
2001
2002
  key: 1,
2003
+ role: "img",
2002
2004
  class: p(e.n("image")),
2003
2005
  src: e.src,
2004
2006
  alt: e.alt,
@@ -10690,6 +10692,7 @@ function Ew(e, n) {
10690
10692
  [
10691
10693
  e.lazy && !e.showErrorSlot ? Me((h(), C("img", {
10692
10694
  key: 0,
10695
+ role: "img",
10693
10696
  class: p(e.n("image")),
10694
10697
  alt: e.alt,
10695
10698
  title: e.title,
@@ -10703,6 +10706,7 @@ function Ew(e, n) {
10703
10706
  ]) : G("v-if", !0),
10704
10707
  !e.lazy && !e.showErrorSlot ? (h(), C("img", {
10705
10708
  key: 1,
10709
+ role: "img",
10706
10710
  class: p(e.n("image")),
10707
10711
  alt: e.alt,
10708
10712
  title: e.title,
@@ -11286,6 +11290,7 @@ function Jw(e, n) {
11286
11290
  onTouchcancel: n[2] || (n[2] = (...s) => e.handleTouchcancel && e.handleTouchcancel(...s))
11287
11291
  }, [
11288
11292
  B("img", {
11293
+ role: "img",
11289
11294
  class: p(e.classes(e.n("image"), [e.isPreventDefault, e.n("--prevent")])),
11290
11295
  src: i,
11291
11296
  alt: i
@@ -12810,7 +12815,7 @@ var Tr = Na, tS = Object.defineProperty, gc = Object.getOwnPropertySymbols, rS =
12810
12815
  };
12811
12816
  const dv = iS({
12812
12817
  modelValue: {
12813
- type: [String, Number, Boolean],
12818
+ type: [String, Number, Boolean, Array],
12814
12819
  default: void 0
12815
12820
  },
12816
12821
  size: {
@@ -15432,7 +15437,7 @@ var Tl = Xa, e2 = Object.defineProperty, Ec = Object.getOwnPropertySymbols, n2 =
15432
15437
  };
15433
15438
  const qv = t2({
15434
15439
  modelValue: {
15435
- type: [String, Number, Boolean],
15440
+ type: [String, Number, Boolean, Array],
15436
15441
  default: void 0
15437
15442
  },
15438
15443
  multiple: Boolean,
@@ -21227,6 +21232,7 @@ function R3(e, n) {
21227
21232
  ], 10, N3)) : G("v-if", !0),
21228
21233
  s.cover ? (h(), C("img", {
21229
21234
  key: 1,
21235
+ role: "img",
21230
21236
  class: p(e.n("file-cover")),
21231
21237
  style: j({ objectFit: s.fit }),
21232
21238
  src: s.cover,
@@ -21811,7 +21817,7 @@ re(ci);
21811
21817
  se(ci, Bm);
21812
21818
  const A5 = ci;
21813
21819
  var Gl = ci;
21814
- const e8 = "3.0.2-alpha.1708400357394";
21820
+ const e8 = "3.0.3";
21815
21821
  function n8(e) {
21816
21822
  zi.install && e.use(zi), Oi.install && e.use(Oi), Di.install && e.use(Di), Bi.install && e.use(Bi), Ii.install && e.use(Ii), br.install && e.use(br), Mi.install && e.use(Mi), Ni.install && e.use(Ni), Ai.install && e.use(Ai), Vi.install && e.use(Vi), mn.install && e.use(mn), Li.install && e.use(Li), Ri.install && e.use(Ri), Fi.install && e.use(Fi), Tt.install && e.use(Tt), Ui.install && e.use(Ui), yr.install && e.use(yr), Hi.install && e.use(Hi), Yi.install && e.use(Yi), ji.install && e.use(ji), Wi.install && e.use(Wi), Pn.install && e.use(Pn), Ki.install && e.use(Ki), el.install && e.use(el), ol.install && e.use(ol), tl.install && e.use(tl), rl.install && e.use(rl), Pr.install && e.use(Pr), ll.install && e.use(ll), sl.install && e.use(sl), It.install && e.use(It), ul.install && e.use(ul), cl.install && e.use(cl), kn.install && e.use(kn), Tn.install && e.use(Tn), Mn.install && e.use(Mn), je.install && e.use(je), dl.install && e.use(dl), At.install && e.use(At), fl.install && e.use(fl), pl.install && e.use(pl), Or.install && e.use(Or), Ot.install && e.use(Ot), vl.install && e.use(vl), ml.install && e.use(ml), Qo.install && e.use(Qo), hl.install && e.use(hl), Pi.install && e.use(Pi), Vt.install && e.use(Vt), Tr.install && e.use(Tr), Er.install && e.use(Er), gl.install && e.use(gl), bl.install && e.use(bl), yl.install && e.use(yl), $l.install && e.use($l), kl.install && e.use(kl), bo.install && e.use(bo), wl.install && e.use(wl), Cl.install && e.use(Cl), Sl.install && e.use(Sl), Pl.install && e.use(Pl), zl.install && e.use(zl), Ol.install && e.use(Ol), _e.install && e.use(_e), Tl.install && e.use(Tl), El.install && e.use(El), Dl.install && e.use(Dl), Bl.install && e.use(Bl), Ml.install && e.use(Ml), Nl.install && e.use(Nl), Al.install && e.use(Al), Vl.install && e.use(Vl), et.install && e.use(et), Ll.install && e.use(Ll), Mt.install && e.use(Mt), Nt.install && e.use(Nt), Rl.install && e.use(Rl), Fl.install && e.use(Fl), Ul.install && e.use(Ul), Hl.install && e.use(Hl), Yl.install && e.use(Yl), jl.install && e.use(jl), Wl.install && e.use(Wl), ql.install && e.use(ql), zr.install && e.use(zr), Xl.install && e.use(Xl), Gl.install && e.use(Gl);
21817
21823
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "3.0.2-alpha.1708400357394",
4
+ "version": "3.0.3",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "3.0.2-alpha.1708400357394",
4
+ "version": "3.0.3",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
package/lib/varlet.cjs.js CHANGED
@@ -2652,6 +2652,7 @@ function __render__$1j(_ctx, _cache) {
2652
2652
  [
2653
2653
  _ctx.lazy ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("img", {
2654
2654
  key: 0,
2655
+ role: "img",
2655
2656
  class: vue.normalizeClass(_ctx.n("image")),
2656
2657
  src: _ctx.src,
2657
2658
  alt: _ctx.alt,
@@ -2663,6 +2664,7 @@ function __render__$1j(_ctx, _cache) {
2663
2664
  [_directive_lazy, _ctx.src]
2664
2665
  ]) : (vue.openBlock(), vue.createElementBlock("img", {
2665
2666
  key: 1,
2667
+ role: "img",
2666
2668
  class: vue.normalizeClass(_ctx.n("image")),
2667
2669
  src: _ctx.src,
2668
2670
  alt: _ctx.alt,
@@ -14627,6 +14629,7 @@ function __render__$J(_ctx, _cache) {
14627
14629
  [
14628
14630
  _ctx.lazy && !_ctx.showErrorSlot ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("img", {
14629
14631
  key: 0,
14632
+ role: "img",
14630
14633
  class: vue.normalizeClass(_ctx.n("image")),
14631
14634
  alt: _ctx.alt,
14632
14635
  title: _ctx.title,
@@ -14640,6 +14643,7 @@ function __render__$J(_ctx, _cache) {
14640
14643
  ]) : vue.createCommentVNode("v-if", true),
14641
14644
  !_ctx.lazy && !_ctx.showErrorSlot ? (vue.openBlock(), vue.createElementBlock("img", {
14642
14645
  key: 1,
14646
+ role: "img",
14643
14647
  class: vue.normalizeClass(_ctx.n("image")),
14644
14648
  alt: _ctx.alt,
14645
14649
  title: _ctx.title,
@@ -15414,6 +15418,7 @@ function __render__$G(_ctx, _cache) {
15414
15418
  onTouchcancel: _cache[2] || (_cache[2] = (...args) => _ctx.handleTouchcancel && _ctx.handleTouchcancel(...args))
15415
15419
  }, [
15416
15420
  vue.createElementVNode("img", {
15421
+ role: "img",
15417
15422
  class: vue.normalizeClass(_ctx.classes(_ctx.n("image"), [_ctx.isPreventDefault, _ctx.n("--prevent")])),
15418
15423
  src: image,
15419
15424
  alt: image
@@ -17300,7 +17305,7 @@ var __spreadValues$8 = (a, b) => {
17300
17305
  };
17301
17306
  const props$t = __spreadValues$8({
17302
17307
  modelValue: {
17303
- type: [String, Number, Boolean],
17308
+ type: [String, Number, Boolean, Array],
17304
17309
  default: void 0
17305
17310
  },
17306
17311
  size: {
@@ -20368,7 +20373,7 @@ var __spreadValues$6 = (a, b) => {
20368
20373
  };
20369
20374
  const props$g = __spreadValues$6({
20370
20375
  modelValue: {
20371
- type: [String, Number, Boolean],
20376
+ type: [String, Number, Boolean, Array],
20372
20377
  default: void 0
20373
20378
  },
20374
20379
  multiple: Boolean,
@@ -27017,6 +27022,7 @@ function __render__$1(_ctx, _cache) {
27017
27022
  ], 10, _hoisted_2$1)) : vue.createCommentVNode("v-if", true),
27018
27023
  f.cover ? (vue.openBlock(), vue.createElementBlock("img", {
27019
27024
  key: 1,
27025
+ role: "img",
27020
27026
  class: vue.normalizeClass(_ctx.n("file-cover")),
27021
27027
  style: vue.normalizeStyle({ objectFit: f.fit }),
27022
27028
  src: f.cover,
@@ -27703,7 +27709,7 @@ withInstall(stdin_default$1);
27703
27709
  withPropsDefaultsSetter(stdin_default$1, props);
27704
27710
  const _WatermarkComponent = stdin_default$1;
27705
27711
  var stdin_default = stdin_default$1;
27706
- const version = "3.0.2-alpha.1708400357394";
27712
+ const version = "3.0.3";
27707
27713
  function install(app) {
27708
27714
  stdin_default$5H.install && app.use(stdin_default$5H);
27709
27715
  stdin_default$5F.install && app.use(stdin_default$5F);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "3.0.2-alpha.1708400357394",
3
+ "version": "3.0.3",
4
4
  "description": "A material like components library",
5
5
  "main": "lib/varlet.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -48,9 +48,9 @@
48
48
  "@popperjs/core": "^2.11.6",
49
49
  "dayjs": "^1.10.4",
50
50
  "decimal.js": "^10.2.1",
51
- "@varlet/shared": "3.0.2-alpha.1708400357394",
52
- "@varlet/icons": "3.0.2-alpha.1708400357394",
53
- "@varlet/use": "3.0.2-alpha.1708400357394"
51
+ "@varlet/icons": "3.0.3",
52
+ "@varlet/use": "3.0.3",
53
+ "@varlet/shared": "3.0.3"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@vue/runtime-core": "3.4.15",
@@ -66,9 +66,9 @@
66
66
  "typescript": "^5.1.5",
67
67
  "vue": "3.4.15",
68
68
  "vue-router": "4.2.0",
69
- "@varlet/cli": "3.0.2-alpha.1708400357394",
70
- "@varlet/ui": "3.0.2-alpha.1708400357394",
71
- "@varlet/touch-emulator": "3.0.2-alpha.1708400357394"
69
+ "@varlet/ui": "3.0.3",
70
+ "@varlet/cli": "3.0.3",
71
+ "@varlet/touch-emulator": "3.0.3"
72
72
  },
73
73
  "scripts": {
74
74
  "dev": "varlet-cli dev",