@varlet/ui 3.3.5 → 3.3.6-alpha.1720620017198

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/varlet.esm.js CHANGED
@@ -437,14 +437,17 @@ function Ed(e) {
437
437
  }
438
438
  function Yn() {
439
439
  const e = k(""), n = (r, a, i) => qs(this, null, function* () {
440
- return !He(r) || !r.length ? !0 : !(yield Promise.all(r.map((s) => s(a, i)))).some((s) => s !== !0 ? (e.value = String(s), !0) : !1);
441
- });
440
+ if (!He(r) || !r.length)
441
+ return !0;
442
+ const l = yield Promise.all(r.map((s) => s(a, i)));
443
+ return o(), !l.some((s) => s !== !0 ? (e.value = String(s), !0) : !1);
444
+ }), o = () => {
445
+ e.value = "";
446
+ };
442
447
  return {
443
448
  errorMessage: e,
444
449
  validate: n,
445
- resetValidation: () => {
446
- e.value = "";
447
- },
450
+ resetValidation: o,
448
451
  validateWithTrigger: (r, a, i, l, s) => qs(this, null, function* () {
449
452
  r.includes(a) && (yield n(i, l, s)) && (e.value = "");
450
453
  })
@@ -12344,7 +12347,7 @@ function nS(e, n) {
12344
12347
  maxlength: e.maxlength,
12345
12348
  rows: e.rows,
12346
12349
  enterkeyhint: e.enterkeyhint,
12347
- inputmode: e.type === "number" ? "numeric" : void 0,
12350
+ inputmode: e.type === "number" ? "decimal" : void 0,
12348
12351
  style: K({
12349
12352
  color: e.errorMessage ? void 0 : e.textColor,
12350
12353
  caretColor: e.errorMessage ? void 0 : e.focusColor,
@@ -12377,7 +12380,7 @@ function nS(e, n) {
12377
12380
  placeholder: e.hint ? void 0 : e.placeholder,
12378
12381
  maxlength: e.maxlength,
12379
12382
  enterkeyhint: e.enterkeyhint,
12380
- inputmode: e.type === "number" ? "numeric" : void 0,
12383
+ inputmode: e.type === "number" ? "decimal" : void 0,
12381
12384
  style: K({
12382
12385
  color: e.errorMessage ? void 0 : e.textColor,
12383
12386
  caretColor: e.errorMessage ? void 0 : e.focusColor,
@@ -15497,8 +15500,8 @@ const sm = {
15497
15500
  rules: Array,
15498
15501
  onChange: R(),
15499
15502
  "onUpdate:modelValue": R()
15500
- }, { name: e4, n: wt } = ee("rate"), n4 = ["onClick"];
15501
- function o4(e, n) {
15503
+ }, { name: e2, n: wt } = ee("rate"), n2 = ["onClick"];
15504
+ function o2(e, n) {
15502
15505
  const o = ne("var-icon"), t = ne("var-hover-overlay"), r = ne("var-form-details"), a = je("ripple"), i = je("hover");
15503
15506
  return h(), P(
15504
15507
  "div",
@@ -15532,7 +15535,7 @@ function o4(e, n) {
15532
15535
  G(t, {
15533
15536
  hovering: e.hovering && l === e.currentHoveringValue && !e.disabled && !e.formDisabled
15534
15537
  }, null, 8, ["hovering"])
15535
- ], 14, n4)), [
15538
+ ], 14, n2)), [
15536
15539
  [a, { disabled: e.formReadonly || e.readonly || e.formDisabled || e.disabled || !e.ripple }],
15537
15540
  [i, e.createHoverHandler(l), "desktop"]
15538
15541
  ])),
@@ -15550,7 +15553,7 @@ function o4(e, n) {
15550
15553
  );
15551
15554
  }
15552
15555
  const um = x({
15553
- name: e4,
15556
+ name: e2,
15554
15557
  components: {
15555
15558
  VarIcon: Je,
15556
15559
  VarFormDetails: En,
@@ -15646,68 +15649,68 @@ const um = x({
15646
15649
  };
15647
15650
  }
15648
15651
  });
15649
- um.render = o4;
15652
+ um.render = o2;
15650
15653
  var ti = um;
15651
15654
  te(ti);
15652
15655
  ue(ti, sm);
15653
15656
  const cT = ti;
15654
15657
  var Vl = ti;
15655
- const t4 = (e) => (Wo(""), e = e(), Ko(), e), r4 = {
15658
+ const t2 = (e) => (Wo(""), e = e(), Ko(), e), r2 = {
15656
15659
  xmlns: "http://www.w3.org/2000/svg",
15657
15660
  viewBox: "2 3.6 20 20"
15658
- }, a4 = /* @__PURE__ */ t4(() => /* @__PURE__ */ I(
15661
+ }, a2 = /* @__PURE__ */ t2(() => /* @__PURE__ */ I(
15659
15662
  "path",
15660
15663
  { d: "M11,9H13V7H11M11,20H13V11H11V20Z" },
15661
15664
  null,
15662
15665
  -1
15663
15666
  /* HOISTED */
15664
- )), i4 = [
15665
- a4
15667
+ )), i2 = [
15668
+ a2
15666
15669
  ];
15667
- function l4(e, n) {
15668
- return h(), P("svg", r4, [...i4]);
15670
+ function l2(e, n) {
15671
+ return h(), P("svg", r2, [...i2]);
15669
15672
  }
15670
15673
  const cm = x({});
15671
- cm.render = l4;
15672
- var s4 = cm;
15673
- const u4 = (e) => (Wo(""), e = e(), Ko(), e), c4 = {
15674
+ cm.render = l2;
15675
+ var s2 = cm;
15676
+ const u2 = (e) => (Wo(""), e = e(), Ko(), e), c2 = {
15674
15677
  xmlns: "http://www.w3.org/2000/svg",
15675
15678
  viewBox: "2 2 20 20"
15676
- }, d4 = /* @__PURE__ */ u4(() => /* @__PURE__ */ I(
15679
+ }, d2 = /* @__PURE__ */ u2(() => /* @__PURE__ */ I(
15677
15680
  "path",
15678
15681
  { d: "M19,3V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z" },
15679
15682
  null,
15680
15683
  -1
15681
15684
  /* HOISTED */
15682
- )), f4 = [
15683
- d4
15685
+ )), f2 = [
15686
+ d2
15684
15687
  ];
15685
- function p4(e, n) {
15686
- return h(), P("svg", c4, [...f4]);
15688
+ function p2(e, n) {
15689
+ return h(), P("svg", c2, [...f2]);
15687
15690
  }
15688
15691
  const dm = x({});
15689
- dm.render = p4;
15690
- var v4 = dm;
15691
- const m4 = (e) => (Wo(""), e = e(), Ko(), e), h4 = {
15692
+ dm.render = p2;
15693
+ var v2 = dm;
15694
+ const m2 = (e) => (Wo(""), e = e(), Ko(), e), h2 = {
15692
15695
  xmlns: "http://www.w3.org/2000/svg",
15693
15696
  viewBox: "-6 -4 35 35"
15694
- }, g4 = /* @__PURE__ */ m4(() => /* @__PURE__ */ I(
15697
+ }, g2 = /* @__PURE__ */ m2(() => /* @__PURE__ */ I(
15695
15698
  "path",
15696
15699
  { d: "M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61M1,11" },
15697
15700
  null,
15698
15701
  -1
15699
15702
  /* HOISTED */
15700
- )), b4 = [
15701
- g4
15703
+ )), b2 = [
15704
+ g2
15702
15705
  ];
15703
- function y4(e, n) {
15704
- return h(), P("svg", h4, [...b4]);
15706
+ function y2(e, n) {
15707
+ return h(), P("svg", h2, [...b2]);
15705
15708
  }
15706
15709
  const fm = x({});
15707
- fm.render = y4;
15708
- var k4 = fm;
15709
- const { n: $4, classes: w4 } = ee("result");
15710
- function C4(e, n) {
15710
+ fm.render = y2;
15711
+ var k2 = fm;
15712
+ const { n: $2, classes: w2 } = ee("result");
15713
+ function C2(e, n) {
15711
15714
  return h(), P(
15712
15715
  Ae,
15713
15716
  null,
@@ -15795,32 +15798,32 @@ const pm = x({
15795
15798
  },
15796
15799
  setup() {
15797
15800
  return {
15798
- n: $4,
15799
- classes: w4
15801
+ n: $2,
15802
+ classes: w2
15800
15803
  };
15801
15804
  }
15802
15805
  });
15803
- pm.render = C4;
15804
- var S4 = pm;
15805
- const P4 = (e) => (Wo(""), e = e(), Ko(), e), z4 = {
15806
+ pm.render = C2;
15807
+ var S2 = pm;
15808
+ const P2 = (e) => (Wo(""), e = e(), Ko(), e), z2 = {
15806
15809
  xmlns: "http://www.w3.org/2000/svg",
15807
15810
  viewBox: "-3 -3 30 30"
15808
- }, O4 = /* @__PURE__ */ P4(() => /* @__PURE__ */ I(
15811
+ }, O2 = /* @__PURE__ */ P2(() => /* @__PURE__ */ I(
15809
15812
  "path",
15810
15813
  { d: "M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z" },
15811
15814
  null,
15812
15815
  -1
15813
15816
  /* HOISTED */
15814
- )), T4 = [
15815
- O4
15817
+ )), T2 = [
15818
+ O2
15816
15819
  ];
15817
- function E4(e, n) {
15818
- return h(), P("svg", z4, [...T4]);
15820
+ function E2(e, n) {
15821
+ return h(), P("svg", z2, [...T2]);
15819
15822
  }
15820
15823
  const vm = x({});
15821
- vm.render = E4;
15822
- var D4 = vm;
15823
- const B4 = (e) => (Wo(""), e = e(), Ko(), e), I4 = { viewBox: "-4 -4 32 32" }, M4 = /* @__PURE__ */ B4(() => /* @__PURE__ */ I(
15824
+ vm.render = E2;
15825
+ var D2 = vm;
15826
+ const B2 = (e) => (Wo(""), e = e(), Ko(), e), I2 = { viewBox: "-4 -4 32 32" }, M2 = /* @__PURE__ */ B2(() => /* @__PURE__ */ I(
15824
15827
  "path",
15825
15828
  {
15826
15829
  fill: "currentColor",
@@ -15829,15 +15832,15 @@ const B4 = (e) => (Wo(""), e = e(), Ko(), e), I4 = { viewBox: "-4 -4 32 32" }, M
15829
15832
  null,
15830
15833
  -1
15831
15834
  /* HOISTED */
15832
- )), N4 = [
15833
- M4
15835
+ )), N2 = [
15836
+ M2
15834
15837
  ];
15835
- function A4(e, n) {
15836
- return h(), P("svg", I4, [...N4]);
15838
+ function A2(e, n) {
15839
+ return h(), P("svg", I2, [...N2]);
15837
15840
  }
15838
15841
  const mm = x({});
15839
- mm.render = A4;
15840
- var V4 = mm;
15842
+ mm.render = A2;
15843
+ var V2 = mm;
15841
15844
  const hm = {
15842
15845
  imageSize: [String, Number],
15843
15846
  type: {
@@ -15850,8 +15853,8 @@ const hm = {
15850
15853
  type: Boolean,
15851
15854
  default: !0
15852
15855
  }
15853
- }, { name: L4, n: R4, classes: F4 } = ee("result");
15854
- function U4(e, n) {
15856
+ }, { name: L2, n: R2, classes: F2 } = ee("result");
15857
+ function U2(e, n) {
15855
15858
  return h(), P(
15856
15859
  "div",
15857
15860
  {
@@ -15932,14 +15935,14 @@ function U4(e, n) {
15932
15935
  );
15933
15936
  }
15934
15937
  const gm = x({
15935
- name: L4,
15938
+ name: L2,
15936
15939
  components: {
15937
- Info: s4,
15938
- Success: S4,
15939
- Warning: k4,
15940
- Error: v4,
15941
- Question: D4,
15942
- Empty: V4
15940
+ Info: s2,
15941
+ Success: S2,
15942
+ Warning: k2,
15943
+ Error: v2,
15944
+ Question: D2,
15945
+ Empty: V2
15943
15946
  },
15944
15947
  props: hm,
15945
15948
  setup(e) {
@@ -15951,12 +15954,12 @@ const gm = x({
15951
15954
  return {
15952
15955
  circleSize: n,
15953
15956
  borderSize: o,
15954
- n: R4,
15955
- classes: F4
15957
+ n: R2,
15958
+ classes: F2
15956
15959
  };
15957
15960
  }
15958
15961
  });
15959
- gm.render = U4;
15962
+ gm.render = U2;
15960
15963
  var ri = gm;
15961
15964
  te(ri);
15962
15965
  ue(ri, hm);
@@ -15976,8 +15979,8 @@ const bm = {
15976
15979
  default: "flex-start"
15977
15980
  },
15978
15981
  onClick: R()
15979
- }, { name: H4, n: Y4, classes: j4 } = ee("row");
15980
- function W4(e, n) {
15982
+ }, { name: H2, n: Y2, classes: j2 } = ee("row");
15983
+ function W2(e, n) {
15981
15984
  return h(), P(
15982
15985
  "div",
15983
15986
  {
@@ -15997,7 +16000,7 @@ function W4(e, n) {
15997
16000
  );
15998
16001
  }
15999
16002
  const ym = x({
16000
- name: H4,
16003
+ name: H2,
16001
16004
  props: bm,
16002
16005
  setup(e) {
16003
16006
  const n = B(
@@ -16015,27 +16018,27 @@ const ym = x({
16015
16018
  }
16016
16019
  return {
16017
16020
  average: n,
16018
- n: Y4,
16019
- classes: j4,
16021
+ n: Y2,
16022
+ classes: j2,
16020
16023
  handleClick: l,
16021
16024
  padStartFlex: Pr
16022
16025
  };
16023
16026
  }
16024
16027
  });
16025
- ym.render = W4;
16028
+ ym.render = W2;
16026
16029
  var ai = ym;
16027
16030
  te(ai);
16028
16031
  ue(ai, bm);
16029
16032
  const fT = ai;
16030
- var Rl = ai, K4 = Object.defineProperty, Zc = Object.getOwnPropertySymbols, q4 = Object.prototype.hasOwnProperty, G4 = Object.prototype.propertyIsEnumerable, Jc = (e, n, o) => n in e ? K4(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o, X4 = (e, n) => {
16033
+ var Rl = ai, K2 = Object.defineProperty, Zc = Object.getOwnPropertySymbols, q2 = Object.prototype.hasOwnProperty, G2 = Object.prototype.propertyIsEnumerable, Jc = (e, n, o) => n in e ? K2(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o, X2 = (e, n) => {
16031
16034
  for (var o in n || (n = {}))
16032
- q4.call(n, o) && Jc(e, o, n[o]);
16035
+ q2.call(n, o) && Jc(e, o, n[o]);
16033
16036
  if (Zc)
16034
16037
  for (var o of Zc(n))
16035
- G4.call(n, o) && Jc(e, o, n[o]);
16038
+ G2.call(n, o) && Jc(e, o, n[o]);
16036
16039
  return e;
16037
16040
  };
16038
- const km = X4({
16041
+ const km = X2({
16039
16042
  modelValue: {
16040
16043
  type: [String, Number, Boolean, Array],
16041
16044
  default: void 0
@@ -16087,8 +16090,8 @@ const km = X4({
16087
16090
  "disabled",
16088
16091
  "clearable",
16089
16092
  "onClick"
16090
- ])), { name: Z4, n: J4, classes: Q4 } = ee("select"), _4 = ["tabindex"];
16091
- function x4(e, n) {
16093
+ ])), { name: Z2, n: J2, classes: Q2 } = ee("select"), _2 = ["tabindex"];
16094
+ function x2(e, n) {
16092
16095
  const o = ne("maybe-v-node"), t = ne("var-chip"), r = ne("var-icon"), a = ne("var-field-decorator"), i = ne("var-option"), l = ne("var-menu"), s = ne("var-form-details");
16093
16096
  return h(), P("div", {
16094
16097
  ref: "root",
@@ -16318,10 +16321,10 @@ function x4(e, n) {
16318
16321
  onClick: n[2] || (n[2] = An(() => {
16319
16322
  }, ["stop"]))
16320
16323
  }, null, 8, ["error-message"])
16321
- ], 42, _4);
16324
+ ], 42, _2);
16322
16325
  }
16323
16326
  const $m = x({
16324
- name: Z4,
16327
+ name: Z2,
16325
16328
  components: {
16326
16329
  VarIcon: Je,
16327
16330
  VarMenu: Ut,
@@ -16476,8 +16479,8 @@ const $m = x({
16476
16479
  enableCustomPlaceholder: D,
16477
16480
  selectOptions: s,
16478
16481
  isFunction: oo,
16479
- n: J4,
16480
- classes: Q4,
16482
+ n: J2,
16483
+ classes: Q2,
16481
16484
  handleFocus: q,
16482
16485
  handleBlur: j,
16483
16486
  handleClickOutside: _,
@@ -16493,7 +16496,7 @@ const $m = x({
16493
16496
  };
16494
16497
  }
16495
16498
  });
16496
- $m.render = x4;
16499
+ $m.render = x2;
16497
16500
  var ii = $m;
16498
16501
  te(ii);
16499
16502
  ue(ii, km);
@@ -16523,8 +16526,8 @@ const wm = {
16523
16526
  type: Array,
16524
16527
  default: () => []
16525
16528
  }
16526
- }, { name: e2, n: n2, classes: o2 } = ee("skeleton");
16527
- function t2(e, n) {
16529
+ }, { name: e4, n: n4, classes: o4 } = ee("skeleton");
16530
+ function t4(e, n) {
16528
16531
  return h(), P(
16529
16532
  "div",
16530
16533
  {
@@ -16696,16 +16699,16 @@ function t2(e, n) {
16696
16699
  );
16697
16700
  }
16698
16701
  const Cm = x({
16699
- name: e2,
16702
+ name: e4,
16700
16703
  props: wm,
16701
16704
  setup: () => ({
16702
- n: n2,
16703
- classes: o2,
16705
+ n: n4,
16706
+ classes: o4,
16704
16707
  toSizeUnit: Oe,
16705
16708
  toNumber: F
16706
16709
  })
16707
16710
  });
16708
- Cm.render = t2;
16711
+ Cm.render = t4;
16709
16712
  var li = Cm;
16710
16713
  te(li);
16711
16714
  ue(li, wm);
@@ -16751,8 +16754,8 @@ const Sm = {
16751
16754
  onStart: R(),
16752
16755
  onEnd: R(),
16753
16756
  "onUpdate:modelValue": R()
16754
- }, { name: r2, n: Qc, classes: a2 } = ee("slider"), i2 = ["tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-valuetext", "onTouchstart", "onFocusin", "onFocusout"];
16755
- function l2(e, n) {
16757
+ }, { name: r4, n: Qc, classes: a4 } = ee("slider"), i4 = ["tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-valuetext", "onTouchstart", "onFocusin", "onFocusout"];
16758
+ function l4(e, n) {
16756
16759
  const o = ne("var-hover-overlay"), t = ne("var-form-details"), r = je("hover");
16757
16760
  return h(), P(
16758
16761
  "div",
@@ -16885,7 +16888,7 @@ function l2(e, n) {
16885
16888
  /* CLASS, STYLE */
16886
16889
  )
16887
16890
  ])
16888
- ], 46, i2))),
16891
+ ], 46, i4))),
16889
16892
  128
16890
16893
  /* KEYED_FRAGMENT */
16891
16894
  ))
@@ -16904,7 +16907,7 @@ function l2(e, n) {
16904
16907
  );
16905
16908
  }
16906
16909
  const Pm = x({
16907
- name: r2,
16910
+ name: r4,
16908
16911
  components: {
16909
16912
  VarFormDetails: En,
16910
16913
  VarHoverOverlay: Ln
@@ -17130,7 +17133,7 @@ const Pm = x({
17130
17133
  handleFocus: Ve,
17131
17134
  handleBlur: nn,
17132
17135
  n: Qc,
17133
- classes: a2,
17136
+ classes: a4,
17134
17137
  thumbStyle: q,
17135
17138
  hover: pe,
17136
17139
  toSizeUnit: Oe,
@@ -17143,19 +17146,19 @@ const Pm = x({
17143
17146
  };
17144
17147
  }
17145
17148
  });
17146
- Pm.render = l2;
17149
+ Pm.render = l4;
17147
17150
  var si = Pm;
17148
17151
  te(si);
17149
17152
  ue(si, Sm);
17150
17153
  const mT = si;
17151
- var Hl = si, s2 = Object.defineProperty, u2 = Object.defineProperties, c2 = Object.getOwnPropertyDescriptors, _c = Object.getOwnPropertySymbols, d2 = Object.prototype.hasOwnProperty, f2 = Object.prototype.propertyIsEnumerable, xc = (e, n, o) => n in e ? s2(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o, p2 = (e, n) => {
17154
+ var Hl = si, s4 = Object.defineProperty, u4 = Object.defineProperties, c4 = Object.getOwnPropertyDescriptors, _c = Object.getOwnPropertySymbols, d4 = Object.prototype.hasOwnProperty, f4 = Object.prototype.propertyIsEnumerable, xc = (e, n, o) => n in e ? s4(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o, p4 = (e, n) => {
17152
17155
  for (var o in n || (n = {}))
17153
- d2.call(n, o) && xc(e, o, n[o]);
17156
+ d4.call(n, o) && xc(e, o, n[o]);
17154
17157
  if (_c)
17155
17158
  for (var o of _c(n))
17156
- f2.call(n, o) && xc(e, o, n[o]);
17159
+ f4.call(n, o) && xc(e, o, n[o]);
17157
17160
  return e;
17158
- }, v2 = (e, n) => u2(e, c2(n));
17161
+ }, v4 = (e, n) => u4(e, c4(n));
17159
17162
  const As = {
17160
17163
  type: String,
17161
17164
  position: {
@@ -17176,7 +17179,7 @@ const As = {
17176
17179
  loadingType: Ie(lo, "type"),
17177
17180
  loadingSize: Ie(lo, "size"),
17178
17181
  loadingRadius: Ie(lo, "radius"),
17179
- loadingColor: v2(p2({}, Ie(lo, "color")), {
17182
+ loadingColor: v4(p4({}, Ie(lo, "color")), {
17180
17183
  default: "currentColor"
17181
17184
  }),
17182
17185
  lockScroll: Boolean,
@@ -17192,14 +17195,14 @@ const As = {
17192
17195
  onClosed: R(),
17193
17196
  "onUpdate:show": R(),
17194
17197
  _update: String
17195
- }, { n: m2, classes: h2 } = ee("snackbar"), g2 = {
17198
+ }, { n: m4, classes: h4 } = ee("snackbar"), g4 = {
17196
17199
  success: "checkbox-marked-circle",
17197
17200
  warning: "warning",
17198
17201
  info: "information",
17199
17202
  error: "error",
17200
17203
  loading: ""
17201
17204
  };
17202
- function b2(e, n) {
17205
+ function b4(e, n) {
17203
17206
  const o = ne("var-icon"), t = ne("var-loading");
17204
17207
  return Me((h(), P(
17205
17208
  "div",
@@ -17302,7 +17305,7 @@ const zm = x({
17302
17305
  const t = B(() => {
17303
17306
  const { type: i, forbidClick: l } = e;
17304
17307
  return i === "loading" || l;
17305
- }), r = B(() => e.type ? g2[e.type] : "");
17308
+ }), r = B(() => e.type ? g4[e.type] : "");
17306
17309
  function a() {
17307
17310
  n.value = setTimeout(() => {
17308
17311
  e.type !== "loading" && S(e["onUpdate:show"], !1);
@@ -17325,16 +17328,16 @@ const zm = x({
17325
17328
  zIndex: o,
17326
17329
  iconName: r,
17327
17330
  isForbidClick: t,
17328
- n: m2,
17329
- classes: h2,
17331
+ n: m4,
17332
+ classes: h4,
17330
17333
  formatElevation: fn
17331
17334
  };
17332
17335
  }
17333
17336
  });
17334
- zm.render = b2;
17337
+ zm.render = b4;
17335
17338
  var Om = zm;
17336
- const { name: y2, n: k2 } = ee("snackbar");
17337
- function $2(e, n) {
17339
+ const { name: y4, n: k4 } = ee("snackbar");
17340
+ function $4(e, n) {
17338
17341
  const o = ne("var-snackbar-core");
17339
17342
  return h(), Pe(no, {
17340
17343
  to: e.teleport === !1 ? void 0 : e.teleport,
@@ -17377,24 +17380,24 @@ function $2(e, n) {
17377
17380
  ], 8, ["to", "disabled"]);
17378
17381
  }
17379
17382
  const Tm = x({
17380
- name: y2,
17383
+ name: y4,
17381
17384
  components: { VarSnackbarCore: Om },
17382
17385
  props: As,
17383
17386
  setup() {
17384
17387
  const { disabled: e } = Go();
17385
17388
  return {
17386
17389
  disabled: e,
17387
- n: k2
17390
+ n: k4
17388
17391
  };
17389
17392
  }
17390
17393
  });
17391
- Tm.render = $2;
17392
- var ui = Tm, w2 = Object.defineProperty, ed = Object.getOwnPropertySymbols, C2 = Object.prototype.hasOwnProperty, S2 = Object.prototype.propertyIsEnumerable, nd = (e, n, o) => n in e ? w2(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o, Ht = (e, n) => {
17394
+ Tm.render = $4;
17395
+ var ui = Tm, w4 = Object.defineProperty, ed = Object.getOwnPropertySymbols, C4 = Object.prototype.hasOwnProperty, S4 = Object.prototype.propertyIsEnumerable, nd = (e, n, o) => n in e ? w4(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o, Ht = (e, n) => {
17393
17396
  for (var o in n || (n = {}))
17394
- C2.call(n, o) && nd(e, o, n[o]);
17397
+ C4.call(n, o) && nd(e, o, n[o]);
17395
17398
  if (ed)
17396
17399
  for (var o of ed(n))
17397
- S2.call(n, o) && nd(e, o, n[o]);
17400
+ S4.call(n, o) && nd(e, o, n[o]);
17398
17401
  return e;
17399
17402
  };
17400
17403
  const Em = ["loading", "success", "warning", "info", "error"];
@@ -17424,11 +17427,11 @@ const Bm = {
17424
17427
  }
17425
17428
  };
17426
17429
  let Hn = Qe([]), Vs = Bm;
17427
- const P2 = {
17430
+ const P4 = {
17428
17431
  name: "var-snackbar-fade",
17429
17432
  tag: "div",
17430
17433
  class: "var-transition-group"
17431
- }, Mi = (e) => () => oo(e) ? e() : e, z2 = {
17434
+ }, Mi = (e) => () => oo(e) ? e() : e, z4 = {
17432
17435
  setup() {
17433
17436
  return () => {
17434
17437
  const e = Hn.map(({
@@ -17440,7 +17443,7 @@ const P2 = {
17440
17443
  o.forbidClick || o.type === "loading" ? r.classList.add("var-pointer-auto") : r.classList.remove("var-pointer-auto");
17441
17444
  const a = Ht({
17442
17445
  position: Yt ? "relative" : "absolute"
17443
- }, I2(o.position)), {
17446
+ }, I4(o.position)), {
17444
17447
  content: i,
17445
17448
  icon: l,
17446
17449
  action: s
@@ -17458,20 +17461,20 @@ const P2 = {
17458
17461
  "onUpdate:show": (c) => o.show = c
17459
17462
  }), u);
17460
17463
  });
17461
- return G(bh, Ye(P2, {
17464
+ return G(bh, Ye(P4, {
17462
17465
  style: {
17463
17466
  zIndex: Nn.zIndex
17464
17467
  },
17465
- onAfterEnter: O2,
17466
- onAfterLeave: T2
17468
+ onAfterEnter: O4,
17469
+ onAfterLeave: T4
17467
17470
  }), {
17468
17471
  default: () => [e]
17469
17472
  });
17470
17473
  };
17471
17474
  }
17472
17475
  }, eo = function(e) {
17473
- const n = D2(e), o = Qe(Ht(Ht({}, Vs), n));
17474
- o.show = !0, Yl || (Yl = !0, Dm = ht(z2).unmountInstance);
17476
+ const n = D4(e), o = Qe(Ht(Ht({}, Vs), n));
17477
+ o.show = !0, Yl || (Yl = !0, Dm = ht(z4).unmountInstance);
17475
17478
  const {
17476
17479
  length: t
17477
17480
  } = Hn, r = {
@@ -17479,10 +17482,10 @@ const P2 = {
17479
17482
  reactiveSnackOptions: o
17480
17483
  };
17481
17484
  if (t === 0 || Yt)
17482
- E2(r);
17485
+ E4(r);
17483
17486
  else {
17484
17487
  const a = `update-${od}`;
17485
- B2(o, a);
17488
+ B4(o, a);
17486
17489
  }
17487
17490
  return {
17488
17491
  clear() {
@@ -17512,28 +17515,28 @@ eo.setDefaultOptions = function(e) {
17512
17515
  eo.resetDefaultOptions = function() {
17513
17516
  Vs = Bm;
17514
17517
  };
17515
- function O2(e) {
17518
+ function O4(e) {
17516
17519
  const n = e.getAttribute("data-id"), o = Hn.find((t) => t.id === F(n));
17517
17520
  o && S(o.reactiveSnackOptions.onOpened);
17518
17521
  }
17519
- function T2(e) {
17522
+ function T4(e) {
17520
17523
  e.parentElement && e.parentElement.classList.remove("var-pointer-auto");
17521
17524
  const n = e.getAttribute("data-id"), o = Hn.find((r) => r.id === F(n));
17522
17525
  o && (o.animationEnd = !0, S(o.reactiveSnackOptions.onClosed)), Hn.every((r) => r.animationEnd) && (S(Dm), Hn = Qe([]), Yl = !1);
17523
17526
  }
17524
- function E2(e) {
17527
+ function E4(e) {
17525
17528
  Hn.push(e);
17526
17529
  }
17527
- function D2(e = {}) {
17530
+ function D4(e = {}) {
17528
17531
  return gn(e) ? {
17529
17532
  content: e
17530
17533
  } : e;
17531
17534
  }
17532
- function B2(e, n) {
17535
+ function B4(e, n) {
17533
17536
  const [o] = Hn;
17534
17537
  o.reactiveSnackOptions = Ht(Ht({}, o.reactiveSnackOptions), e), o._update = n;
17535
17538
  }
17536
- function I2(e = "top") {
17539
+ function I4(e = "top") {
17537
17540
  return e === "bottom" ? {
17538
17541
  top: "85%"
17539
17542
  } : {
@@ -17569,21 +17572,21 @@ const Im = {
17569
17572
  function In(e) {
17570
17573
  return `calc(${e} / 2)`;
17571
17574
  }
17572
- function M2(e, n, o) {
17575
+ function M4(e, n, o) {
17573
17576
  const { direction: t, justify: r, index: a, lastIndex: i } = o;
17574
17577
  let l = "0";
17575
17578
  return t === "row" && (["flex-start", "center", "flex-end", "start", "end"].includes(r) ? a !== i ? l = `${In(e)} ${n} ${In(e)} 0` : l = `${In(e)} 0` : r === "space-around" ? l = `${In(e)} ${In(n)}` : r === "space-between" && (a === 0 ? l = `${In(e)} ${In(n)} ${In(e)} 0` : a === i ? l = `${In(e)} 0 ${In(e)} ${In(n)}` : l = `${In(e)} ${In(n)}`)), t === "column" && a !== i && (l = `0 0 ${e} 0`), l;
17576
17579
  }
17577
- const N2 = (e) => ["mini", "small", "normal", "large"].includes(e), {
17578
- name: A2,
17580
+ const N4 = (e) => ["mini", "small", "normal", "large"].includes(e), {
17581
+ name: A4,
17579
17582
  n: fr,
17580
17583
  classes: td
17581
17584
  } = ee("space");
17582
- function V2(e, n) {
17585
+ function V4(e, n) {
17583
17586
  return n ? [`var(--space-size-${e}-y)`, `var(--space-size-${e}-x)`] : He(e) ? e.map(Oe) : [Oe(e), Oe(e)];
17584
17587
  }
17585
17588
  var ci = x({
17586
- name: A2,
17589
+ name: A4,
17587
17590
  props: Im,
17588
17591
  setup(e, {
17589
17592
  slots: n
@@ -17599,10 +17602,10 @@ var ci = x({
17599
17602
  size: s
17600
17603
  } = e;
17601
17604
  let u = (o = S(n.default)) != null ? o : [];
17602
- const [c, d] = V2(s, N2(s));
17605
+ const [c, d] = V4(s, N4(s));
17603
17606
  u = Ed(u);
17604
17607
  const f = u.length - 1, v = u.map((y, m) => {
17605
- const b = M2(c, d, {
17608
+ const b = M4(c, d, {
17606
17609
  direction: l,
17607
17610
  justify: r,
17608
17611
  index: m,
@@ -17643,14 +17646,14 @@ const Mm = {
17643
17646
  currentIconNamespace: Ie(on, "namespace"),
17644
17647
  inactiveIconNamespace: Ie(on, "namespace")
17645
17648
  }, Nm = Symbol("STEPS_BIND_STEP_KEY");
17646
- function L2() {
17649
+ function L4() {
17647
17650
  const { bindChildren: e, childProviders: n } = yn(Nm);
17648
17651
  return {
17649
17652
  step: n,
17650
17653
  bindStep: e
17651
17654
  };
17652
17655
  }
17653
- function R2() {
17656
+ function R4() {
17654
17657
  const { parentProvider: e, index: n, bindParent: o } = bn(Nm);
17655
17658
  return o || Vn("Steps", "<step/> must in <steps>"), {
17656
17659
  index: n,
@@ -17658,8 +17661,8 @@ function R2() {
17658
17661
  bindSteps: o
17659
17662
  };
17660
17663
  }
17661
- const { name: F2, n: U2, classes: H2 } = ee("step"), Y2 = { key: 3 };
17662
- function j2(e, n) {
17664
+ const { name: F4, n: U4, classes: H4 } = ee("step"), Y4 = { key: 3 };
17665
+ function j4(e, n) {
17663
17666
  const o = ne("var-icon");
17664
17667
  return h(), P(
17665
17668
  "div",
@@ -17701,7 +17704,7 @@ function j2(e, n) {
17701
17704
  namespace: e.inactiveIconNamespace
17702
17705
  }, null, 8, ["class", "name", "namespace"])) : (h(), P(
17703
17706
  "span",
17704
- Y2,
17707
+ Y4,
17705
17708
  re(e.index + 1),
17706
17709
  1
17707
17710
  /* TEXT */
@@ -17742,11 +17745,11 @@ function j2(e, n) {
17742
17745
  );
17743
17746
  }
17744
17747
  const Am = x({
17745
- name: F2,
17748
+ name: F4,
17746
17749
  components: { VarIcon: Je },
17747
17750
  props: Mm,
17748
17751
  setup() {
17749
- const { index: e, steps: n, bindSteps: o } = R2(), { active: t, activeColor: r, inactiveColor: a, direction: i, clickStep: l } = n, s = B(() => t.value === e.value), u = B(() => e.value !== -1 && F(t.value) > e.value);
17752
+ const { index: e, steps: n, bindSteps: o } = R4(), { active: t, activeColor: r, inactiveColor: a, direction: i, clickStep: l } = n, s = B(() => t.value === e.value), u = B(() => e.value !== -1 && F(t.value) > e.value);
17750
17753
  o({ index: e });
17751
17754
  function d() {
17752
17755
  return l(e.value);
@@ -17758,13 +17761,13 @@ const Am = x({
17758
17761
  direction: i,
17759
17762
  activeColor: r,
17760
17763
  inactiveColor: a,
17761
- n: U2,
17762
- classes: H2,
17764
+ n: U4,
17765
+ classes: H4,
17763
17766
  click: d
17764
17767
  };
17765
17768
  }
17766
17769
  });
17767
- Am.render = j2;
17770
+ Am.render = j4;
17768
17771
  var di = Am;
17769
17772
  te(di);
17770
17773
  ue(di, Mm);
@@ -17782,8 +17785,8 @@ const Vm = {
17782
17785
  activeColor: String,
17783
17786
  inactiveColor: String,
17784
17787
  onClickStep: R()
17785
- }, { name: W2, n: K2 } = ee("steps");
17786
- function q2(e, n) {
17788
+ }, { name: W4, n: K4 } = ee("steps");
17789
+ function q4(e, n) {
17787
17790
  return h(), P(
17788
17791
  "div",
17789
17792
  {
@@ -17798,10 +17801,10 @@ function q2(e, n) {
17798
17801
  );
17799
17802
  }
17800
17803
  const Lm = x({
17801
- name: W2,
17804
+ name: W4,
17802
17805
  props: Vm,
17803
17806
  setup(e) {
17804
- const n = B(() => e.active), o = B(() => e.activeColor), t = B(() => e.inactiveColor), r = B(() => e.direction), { bindStep: a } = L2();
17807
+ const n = B(() => e.active), o = B(() => e.activeColor), t = B(() => e.inactiveColor), r = B(() => e.direction), { bindStep: a } = L4();
17805
17808
  a({
17806
17809
  active: n,
17807
17810
  direction: r,
@@ -17812,10 +17815,10 @@ const Lm = x({
17812
17815
  function l(s) {
17813
17816
  S(e.onClickStep, s);
17814
17817
  }
17815
- return { n: K2 };
17818
+ return { n: K4 };
17816
17819
  }
17817
17820
  });
17818
- Lm.render = q2;
17821
+ Lm.render = q4;
17819
17822
  var fi = Lm;
17820
17823
  te(fi);
17821
17824
  ue(fi, Vm);
@@ -17830,27 +17833,27 @@ const Rm = {
17830
17833
  type: String,
17831
17834
  default: "div"
17832
17835
  }
17833
- }, { name: G2, n: X2 } = ee("style-provider"), Z2 = x({
17834
- name: G2,
17836
+ }, { name: G4, n: X4 } = ee("style-provider"), Z4 = x({
17837
+ name: G4,
17835
17838
  props: Rm,
17836
17839
  setup(e, { slots: n }) {
17837
17840
  return () => Yr(
17838
17841
  e.tag,
17839
17842
  {
17840
- class: X2(),
17843
+ class: X4(),
17841
17844
  style: Rd(e.styleVars)
17842
17845
  },
17843
17846
  S(n.default)
17844
17847
  );
17845
17848
  }
17846
17849
  });
17847
- var pi = Z2;
17850
+ var pi = Z4;
17848
17851
  const Fm = "varlet-style-vars";
17849
17852
  function rd() {
17850
17853
  const e = document.head.querySelector(`#${Fm}`);
17851
17854
  e && document.head.removeChild(e);
17852
17855
  }
17853
- function J2(e) {
17856
+ function J4(e) {
17854
17857
  const n = document.createElement("style");
17855
17858
  n.id = Fm, n.innerHTML = e, document.head.appendChild(n);
17856
17859
  }
@@ -17861,7 +17864,7 @@ function vi(e) {
17861
17864
  }
17862
17865
  const n = Rd(e ?? {}), o = Object.entries(n).reduce((t, [r, a]) => (t += `${r}:${a};`, t), `:root:root {
17863
17866
  `);
17864
- rd(), J2(`${o}
17867
+ rd(), J4(`${o}
17865
17868
  }`);
17866
17869
  }
17867
17870
  vi.Component = pi;
@@ -17906,7 +17909,7 @@ const Um = {
17906
17909
  onBeforeChange: R(),
17907
17910
  onChange: R(),
17908
17911
  "onUpdate:modelValue": R()
17909
- }, { name: Q2, n: _2, classes: x2 } = ee("switch"), eP = (e) => (Wo(""), e = e(), Ko(), e), nP = ["aria-checked"], oP = ["tabindex"], tP = /* @__PURE__ */ eP(() => /* @__PURE__ */ I(
17912
+ }, { name: Q4, n: _4, classes: x4 } = ee("switch"), eP = (e) => (Wo(""), e = e(), Ko(), e), nP = ["aria-checked"], oP = ["tabindex"], tP = /* @__PURE__ */ eP(() => /* @__PURE__ */ I(
17910
17913
  "svg",
17911
17914
  { viewBox: "25 25 50 50" },
17912
17915
  [
@@ -18007,7 +18010,7 @@ function aP(e, n) {
18007
18010
  ]);
18008
18011
  }
18009
18012
  const Hm = x({
18010
- name: Q2,
18013
+ name: Q4,
18011
18014
  components: {
18012
18015
  VarFormDetails: En,
18013
18016
  VarHoverOverlay: Ln
@@ -18100,8 +18103,8 @@ const Hm = x({
18100
18103
  errorMessage: a,
18101
18104
  formDisabled: r == null ? void 0 : r.disabled,
18102
18105
  formReadonly: r == null ? void 0 : r.readonly,
18103
- n: _2,
18104
- classes: x2,
18106
+ n: _4,
18107
+ classes: x4,
18105
18108
  formatElevation: fn,
18106
18109
  multiplySizeUnit: Cn,
18107
18110
  switchActive: g,
@@ -22681,7 +22684,7 @@ te(Ci);
22681
22684
  ue(Ci, lh);
22682
22685
  const DT = Ci;
22683
22686
  var ts = Ci;
22684
- const X8 = "3.3.5";
22687
+ const X8 = "3.3.6-alpha.1720620017198";
22685
22688
  function Z8(e) {
22686
22689
  Li.install && e.use(Li), Ri.install && e.use(Ri), Hi.install && e.use(Hi), Yi.install && e.use(Yi), ji.install && e.use(ji), Or.install && e.use(Or), Wi.install && e.use(Wi), Ki.install && e.use(Ki), qi.install && e.use(qi), Gi.install && e.use(Gi), Pn.install && e.use(Pn), Xi.install && e.use(Xi), Zi.install && e.use(Zi), Ji.install && e.use(Ji), lt.install && e.use(lt), Qi.install && e.use(Qi), Tr.install && e.use(Tr), _i.install && e.use(_i), xi.install && e.use(xi), el.install && e.use(el), nl.install && e.use(nl), Nn.install && e.use(Nn), al.install && e.use(al), dl.install && e.use(dl), pl.install && e.use(pl), vl.install && e.use(vl), ml.install && e.use(ml), Nr.install && e.use(Nr), bl.install && e.use(bl), yl.install && e.use(yl), Vt.install && e.use(Vt), kl.install && e.use(kl), $l.install && e.use($l), En.install && e.use(En), Tn.install && e.use(Tn), Ln.install && e.use(Ln), Je.install && e.use(Je), wl.install && e.use(wl), Ft.install && e.use(Ft), Cl.install && e.use(Cl), Sl.install && e.use(Sl), Vr.install && e.use(Vr), It.install && e.use(It), Pl.install && e.use(Pl), zl.install && e.use(zl), it.install && e.use(it), Ol.install && e.use(Ol), Ai.install && e.use(Ai), Tl.install && e.use(Tl), Ut.install && e.use(Ut), Lr.install && e.use(Lr), Rr.install && e.use(Rr), Fr.install && e.use(Fr), El.install && e.use(El), Dl.install && e.use(Dl), Bl.install && e.use(Bl), Il.install && e.use(Il), Po.install && e.use(Po), Ml.install && e.use(Ml), Nl.install && e.use(Nl), Ur.install && e.use(Ur), Al.install && e.use(Al), Vl.install && e.use(Vl), Ll.install && e.use(Ll), tn.install && e.use(tn), Rl.install && e.use(Rl), Fl.install && e.use(Fl), Ul.install && e.use(Ul), Hl.install && e.use(Hl), jl.install && e.use(jl), Wl.install && e.use(Wl), Kl.install && e.use(Kl), ql.install && e.use(ql), ct.install && e.use(ct), Gl.install && e.use(Gl), Lt.install && e.use(Lt), Rt.install && e.use(Rt), Xl.install && e.use(Xl), Zl.install && e.use(Zl), Jl.install && e.use(Jl), Ql.install && e.use(Ql), _l.install && e.use(_l), xl.install && e.use(xl), es.install && e.use(es), ns.install && e.use(ns), Ar.install && e.use(Ar), os.install && e.use(os), ts.install && e.use(ts);
22687
22690
  }