@varlet/ui 3.2.3 → 3.2.5

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/lib/varlet.cjs.js CHANGED
@@ -1225,7 +1225,9 @@ var stdin_default$5T = vue.defineComponent({
1225
1225
  "class": classes$1a(n$1o("content"), n$1o(`--${props2.position}`), [props2.defaultStyle, n$1o("--content-background-color")], [props2.defaultStyle, n$1o("$-elevation--3")], [props2.safeArea, n$1o("--safe-area")], [props2.safeAreaTop, n$1o("--safe-area-top")]),
1226
1226
  "style": {
1227
1227
  zIndex: zIndex.value
1228
- }
1228
+ },
1229
+ "role": "dialog",
1230
+ "aria-modal": "true"
1229
1231
  }, attrs), [rendered.value && call(slots.default)]), [[vue.vShow, props2.show]]);
1230
1232
  }
1231
1233
  function renderPopup() {
@@ -2298,7 +2300,6 @@ function useLocale() {
2298
2300
  if (hasOwn(currentMessage2.value, id)) {
2299
2301
  return currentMessage2.value[id];
2300
2302
  }
2301
- return id;
2302
2303
  };
2303
2304
  return {
2304
2305
  messages: messages2,
@@ -2963,7 +2964,7 @@ const props$1b = {
2963
2964
  };
2964
2965
  const isInternalSize$1 = (size) => ["mini", "small", "normal", "large"].includes(size);
2965
2966
  const { name: name$1b, n: n$1i, classes: classes$14 } = createNamespace("avatar");
2966
- const _hoisted_1$w = ["src", "alt", "lazy-loading", "lazy-error"];
2967
+ const _hoisted_1$y = ["src", "alt", "lazy-loading", "lazy-error"];
2967
2968
  const _hoisted_2$g = ["src", "alt"];
2968
2969
  function __render__$1i(_ctx, _cache) {
2969
2970
  const _directive_lazy = vue.resolveDirective("lazy");
@@ -3004,7 +3005,7 @@ function __render__$1i(_ctx, _cache) {
3004
3005
  "lazy-loading": _ctx.loading,
3005
3006
  "lazy-error": _ctx.error,
3006
3007
  onLoad: _cache[0] || (_cache[0] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args))
3007
- }, null, 46, _hoisted_1$w)), [
3008
+ }, null, 46, _hoisted_1$y)), [
3008
3009
  [_directive_lazy, _ctx.src]
3009
3010
  ]) : (vue.openBlock(), vue.createElementBlock("img", {
3010
3011
  key: 1,
@@ -3131,8 +3132,7 @@ const __sfc__$1i = vue.defineComponent({
3131
3132
  return {
3132
3133
  rootStyles,
3133
3134
  n: n$1h,
3134
- classes: classes$13,
3135
- toSizeUnit
3135
+ classes: classes$13
3136
3136
  };
3137
3137
  }
3138
3138
  });
@@ -3158,7 +3158,7 @@ const props$19 = {
3158
3158
  };
3159
3159
  const { name: name$19, n: n$1g, classes: classes$12 } = createNamespace("loading");
3160
3160
  const _withScopeId$6 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
3161
- const _hoisted_1$v = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.createElementVNode(
3161
+ const _hoisted_1$x = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.createElementVNode(
3162
3162
  "svg",
3163
3163
  { viewBox: "25 25 50 50" },
3164
3164
  [
@@ -3173,7 +3173,7 @@ const _hoisted_1$v = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.cr
3173
3173
  /* HOISTED */
3174
3174
  ));
3175
3175
  const _hoisted_2$f = [
3176
- _hoisted_1$v
3176
+ _hoisted_1$x
3177
3177
  ];
3178
3178
  function __render__$1g(_ctx, _cache) {
3179
3179
  return vue.openBlock(), vue.createElementBlock(
@@ -3414,7 +3414,7 @@ function useButtonGroup() {
3414
3414
  };
3415
3415
  }
3416
3416
  const { name: name$18, n: n$1f, classes: classes$11 } = createNamespace("button");
3417
- const _hoisted_1$u = ["type", "disabled"];
3417
+ const _hoisted_1$w = ["type", "disabled"];
3418
3418
  function __render__$1f(_ctx, _cache) {
3419
3419
  const _component_var_loading = vue.resolveComponent("var-loading");
3420
3420
  const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
@@ -3473,7 +3473,7 @@ function __render__$1f(_ctx, _cache) {
3473
3473
  hovering: _ctx.disabled || _ctx.loading || _ctx.pending ? false : _ctx.hovering,
3474
3474
  focusing: _ctx.disabled || _ctx.loading || _ctx.pending ? false : _ctx.isFocusing
3475
3475
  }, null, 8, ["hovering", "focusing"])
3476
- ], 46, _hoisted_1$u)), [
3476
+ ], 46, _hoisted_1$w)), [
3477
3477
  [_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple || _ctx.loading || _ctx.pending }],
3478
3478
  [_directive_hover, _ctx.handleHovering, "desktop"]
3479
3479
  ]);
@@ -3728,7 +3728,7 @@ var __spreadValues$n = (a, b) => {
3728
3728
  return a;
3729
3729
  };
3730
3730
  const { name: name$16, n: n$1d, classes: classes$$ } = createNamespace("badge");
3731
- const _hoisted_1$t = { key: 0 };
3731
+ const _hoisted_1$v = { key: 0 };
3732
3732
  function __render__$1d(_ctx, _cache) {
3733
3733
  const _component_var_icon = vue.resolveComponent("var-icon");
3734
3734
  return vue.openBlock(), vue.createElementBlock(
@@ -3766,7 +3766,7 @@ function __render__$1d(_ctx, _cache) {
3766
3766
  vue.renderSlot(_ctx.$slots, "value", {}, () => [
3767
3767
  !_ctx.icon && !_ctx.dot ? (vue.openBlock(), vue.createElementBlock(
3768
3768
  "span",
3769
- _hoisted_1$t,
3769
+ _hoisted_1$v,
3770
3770
  vue.toDisplayString(_ctx.value),
3771
3771
  1
3772
3772
  /* TEXT */
@@ -4250,7 +4250,8 @@ function __render__$1a(_ctx, _cache) {
4250
4250
  vue.createElementVNode(
4251
4251
  "div",
4252
4252
  {
4253
- class: vue.normalizeClass(_ctx.n("separator"))
4253
+ class: vue.normalizeClass(_ctx.n("separator")),
4254
+ "aria-hidden": "true"
4254
4255
  },
4255
4256
  vue.toDisplayString((_a = _ctx.separator) != null ? _a : _ctx.parentSeparator),
4256
4257
  3
@@ -4303,7 +4304,9 @@ function __render__$19(_ctx, _cache) {
4303
4304
  return vue.openBlock(), vue.createElementBlock(
4304
4305
  "div",
4305
4306
  {
4306
- class: vue.normalizeClass(_ctx.n())
4307
+ class: vue.normalizeClass(_ctx.n()),
4308
+ role: "navigation",
4309
+ "aria-label": "Breadcrumbs"
4307
4310
  },
4308
4311
  [
4309
4312
  vue.renderSlot(_ctx.$slots, "default")
@@ -4454,7 +4457,7 @@ var __async$e = (__this, __arguments, generator) => {
4454
4457
  };
4455
4458
  const { name: name$10, n: n$17, classes: classes$W } = createNamespace("card");
4456
4459
  const RIPPLE_DELAY = 500;
4457
- const _hoisted_1$s = ["src", "alt"];
4460
+ const _hoisted_1$u = ["src", "alt"];
4458
4461
  function __render__$17(_ctx, _cache) {
4459
4462
  const _component_var_icon = vue.resolveComponent("var-icon");
4460
4463
  const _component_var_button = vue.resolveComponent("var-button");
@@ -4499,7 +4502,7 @@ function __render__$17(_ctx, _cache) {
4499
4502
  }),
4500
4503
  src: _ctx.src,
4501
4504
  alt: _ctx.alt
4502
- }, null, 14, _hoisted_1$s)) : vue.createCommentVNode("v-if", true)
4505
+ }, null, 14, _hoisted_1$u)) : vue.createCommentVNode("v-if", true)
4503
4506
  ]),
4504
4507
  vue.createElementVNode(
4505
4508
  "div",
@@ -4913,7 +4916,7 @@ const props$_ = {
4913
4916
  }
4914
4917
  };
4915
4918
  const { name: name$_, n: n$15 } = createNamespace("form-details");
4916
- const _hoisted_1$r = { key: 0 };
4919
+ const _hoisted_1$t = { key: 0 };
4917
4920
  const _hoisted_2$e = { key: 0 };
4918
4921
  function __render__$15(_ctx, _cache) {
4919
4922
  return vue.openBlock(), vue.createBlock(vue.Transition, {
@@ -4939,7 +4942,7 @@ function __render__$15(_ctx, _cache) {
4939
4942
  default: vue.withCtx(() => [
4940
4943
  _ctx.errorMessage ? (vue.openBlock(), vue.createElementBlock(
4941
4944
  "div",
4942
- _hoisted_1$r,
4945
+ _hoisted_1$t,
4943
4946
  vue.toDisplayString(_ctx.errorMessage),
4944
4947
  1
4945
4948
  /* TEXT */
@@ -5094,7 +5097,7 @@ function useFormItems() {
5094
5097
  };
5095
5098
  }
5096
5099
  const { name: name$Z, n: n$14, classes: classes$U } = createNamespace("checkbox");
5097
- const _hoisted_1$q = ["tabindex"];
5100
+ const _hoisted_1$s = ["tabindex"];
5098
5101
  function __render__$14(_ctx, _cache) {
5099
5102
  const _component_var_icon = vue.resolveComponent("var-icon");
5100
5103
  const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
@@ -5157,7 +5160,7 @@ function __render__$14(_ctx, _cache) {
5157
5160
  hovering: !_ctx.disabled && !_ctx.formDisabled && _ctx.hovering,
5158
5161
  focusing: !_ctx.disabled && !_ctx.formDisabled && _ctx.isFocusing
5159
5162
  }, null, 8, ["hovering", "focusing"])
5160
- ], 46, _hoisted_1$q)), [
5163
+ ], 46, _hoisted_1$s)), [
5161
5164
  [_directive_hover, _ctx.handleHovering, "desktop"],
5162
5165
  [_directive_ripple, { disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple }]
5163
5166
  ]),
@@ -5778,12 +5781,14 @@ const __sfc__$11 = vue.defineComponent({
5778
5781
  const offset2 = vue.computed(() => props2.offset);
5779
5782
  const divider = vue.computed(() => props2.divider);
5780
5783
  const elevation = vue.computed(() => props2.elevation);
5784
+ const accordion = vue.computed(() => props2.accordion);
5781
5785
  const normalizeValues = vue.computed(() => normalizeToArray(props2.modelValue));
5782
5786
  const { length, collapseItems, bindCollapseItems } = useCollapseItem();
5783
5787
  const collapseProvider = {
5784
5788
  offset: offset2,
5785
5789
  divider,
5786
5790
  elevation,
5791
+ accordion,
5787
5792
  updateItem
5788
5793
  };
5789
5794
  vue.watch(
@@ -5973,6 +5978,7 @@ function useCollapseTransition(options) {
5973
5978
  };
5974
5979
  }
5975
5980
  const { name: name$U, n: n$$, classes: classes$Q } = createNamespace("collapse-item");
5981
+ const _hoisted_1$r = ["aria-expanded", "aria-disabled", "role"];
5976
5982
  function __render__$$(_ctx, _cache) {
5977
5983
  const _component_var_icon = vue.resolveComponent("var-icon");
5978
5984
  return vue.openBlock(), vue.createElementBlock(
@@ -5991,58 +5997,55 @@ function __render__$$(_ctx, _cache) {
5991
5997
  2
5992
5998
  /* CLASS */
5993
5999
  ),
5994
- vue.createElementVNode(
5995
- "div",
5996
- {
5997
- class: vue.normalizeClass(_ctx.n("header")),
5998
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.toggle && _ctx.toggle(...args))
5999
- },
6000
- [
6001
- _ctx.$slots.title || _ctx.title ? (vue.openBlock(), vue.createElementBlock(
6002
- "div",
6003
- {
6004
- key: 0,
6005
- class: vue.normalizeClass(_ctx.n("header-title"))
6006
- },
6007
- [
6008
- vue.renderSlot(_ctx.$slots, "title", {}, () => [
6009
- vue.createTextVNode(
6010
- vue.toDisplayString(_ctx.title),
6011
- 1
6012
- /* TEXT */
6013
- )
6014
- ])
6015
- ],
6016
- 2
6017
- /* CLASS */
6018
- )) : vue.createCommentVNode("v-if", true),
6019
- vue.createElementVNode(
6020
- "div",
6021
- {
6022
- class: vue.normalizeClass(_ctx.n("header-icon"))
6023
- },
6024
- [
6025
- vue.renderSlot(_ctx.$slots, "icon", {}, () => [
6026
- vue.createVNode(_component_var_icon, {
6027
- name: _ctx.icon,
6028
- transition: 250,
6029
- class: vue.normalizeClass(
6030
- _ctx.classes(
6031
- _ctx.n("header-icon"),
6032
- [_ctx.isShow && _ctx.icon === "chevron-down", _ctx.n("header-open")],
6033
- [_ctx.disabled, _ctx.n("header--disable")]
6034
- )
6000
+ vue.createElementVNode("div", {
6001
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("header"), [!_ctx.disabled, _ctx.n("header--cursor-pointer")])),
6002
+ "aria-expanded": _ctx.isShow,
6003
+ "aria-disabled": _ctx.disabled,
6004
+ role: _ctx.accordion ? "tab" : "button",
6005
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.toggle && _ctx.toggle(...args))
6006
+ }, [
6007
+ _ctx.$slots.title || _ctx.title ? (vue.openBlock(), vue.createElementBlock(
6008
+ "div",
6009
+ {
6010
+ key: 0,
6011
+ class: vue.normalizeClass(_ctx.n("header-title"))
6012
+ },
6013
+ [
6014
+ vue.renderSlot(_ctx.$slots, "title", {}, () => [
6015
+ vue.createTextVNode(
6016
+ vue.toDisplayString(_ctx.title),
6017
+ 1
6018
+ /* TEXT */
6019
+ )
6020
+ ])
6021
+ ],
6022
+ 2
6023
+ /* CLASS */
6024
+ )) : vue.createCommentVNode("v-if", true),
6025
+ vue.createElementVNode(
6026
+ "div",
6027
+ {
6028
+ class: vue.normalizeClass(_ctx.n("header-icon"))
6029
+ },
6030
+ [
6031
+ vue.renderSlot(_ctx.$slots, "icon", {}, () => [
6032
+ vue.createVNode(_component_var_icon, {
6033
+ name: _ctx.icon,
6034
+ transition: 250,
6035
+ class: vue.normalizeClass(
6036
+ _ctx.classes(
6037
+ _ctx.n("header-icon"),
6038
+ [_ctx.isShow && _ctx.icon === "chevron-down", _ctx.n("header-open")],
6039
+ [_ctx.disabled, _ctx.n("header--disable")]
6035
6040
  )
6036
- }, null, 8, ["name", "class"])
6037
- ])
6038
- ],
6039
- 2
6040
- /* CLASS */
6041
- )
6042
- ],
6043
- 2
6044
- /* CLASS */
6045
- ),
6041
+ )
6042
+ }, null, 8, ["name", "class"])
6043
+ ])
6044
+ ],
6045
+ 2
6046
+ /* CLASS */
6047
+ )
6048
+ ], 10, _hoisted_1$r),
6046
6049
  vue.withDirectives(vue.createElementVNode(
6047
6050
  "div",
6048
6051
  {
@@ -6087,7 +6090,7 @@ const __sfc__$10 = vue.defineComponent({
6087
6090
  const name2 = vue.computed(() => props2.name);
6088
6091
  const disabled = vue.computed(() => props2.disabled);
6089
6092
  const { index, collapse, bindCollapse } = useCollapse();
6090
- const { offset: offset2, divider, elevation, updateItem } = collapse;
6093
+ const { offset: offset2, divider, elevation, accordion, updateItem } = collapse;
6091
6094
  const collapseItemProvider = {
6092
6095
  index,
6093
6096
  name: name2,
@@ -6117,6 +6120,7 @@ const __sfc__$10 = vue.defineComponent({
6117
6120
  divider,
6118
6121
  elevation,
6119
6122
  contentEl,
6123
+ accordion,
6120
6124
  n: n$$,
6121
6125
  classes: classes$Q,
6122
6126
  toggle,
@@ -8744,7 +8748,7 @@ const props$R = {
8744
8748
  const SPEED = 100;
8745
8749
  const DELAY = 600;
8746
8750
  const { name: name$R, n: n$Y, classes: classes$P } = createNamespace("counter");
8747
- const _hoisted_1$p = ["inputmode", "readonly", "disabled"];
8751
+ const _hoisted_1$q = ["inputmode", "readonly", "disabled"];
8748
8752
  function __render__$Y(_ctx, _cache) {
8749
8753
  const _component_var_icon = vue.resolveComponent("var-icon");
8750
8754
  const _component_var_button = vue.resolveComponent("var-button");
@@ -8804,7 +8808,7 @@ function __render__$Y(_ctx, _cache) {
8804
8808
  disabled: _ctx.disabled || _ctx.formDisabled || _ctx.disableInput,
8805
8809
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.inputValue = $event),
8806
8810
  onChange: _cache[1] || (_cache[1] = (...args) => _ctx.handleChange && _ctx.handleChange(...args))
8807
- }, null, 46, _hoisted_1$p), [
8811
+ }, null, 46, _hoisted_1$q), [
8808
8812
  [vue.vModelText, _ctx.inputValue]
8809
8813
  ]),
8810
8814
  vue.createVNode(_component_var_button, {
@@ -9073,7 +9077,7 @@ var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
9073
9077
  var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND;
9074
9078
  var MS = "millisecond";
9075
9079
  var S = "second";
9076
- var MIN = "minute";
9080
+ var MIN$1 = "minute";
9077
9081
  var H = "hour";
9078
9082
  var D = "day";
9079
9083
  var W = "week";
@@ -9123,7 +9127,7 @@ var prettyUnit = function prettyUnit2(u) {
9123
9127
  d: D,
9124
9128
  D: DATE,
9125
9129
  h: H,
9126
- m: MIN,
9130
+ m: MIN$1,
9127
9131
  s: S,
9128
9132
  ms: MS,
9129
9133
  Q
@@ -9299,7 +9303,7 @@ var Dayjs = /* @__PURE__ */ function() {
9299
9303
  return instanceFactorySet(utcPad + "Hours", 0);
9300
9304
  case H:
9301
9305
  return instanceFactorySet(utcPad + "Minutes", 1);
9302
- case MIN:
9306
+ case MIN$1:
9303
9307
  return instanceFactorySet(utcPad + "Seconds", 2);
9304
9308
  case S:
9305
9309
  return instanceFactorySet(utcPad + "Milliseconds", 3);
@@ -9314,7 +9318,7 @@ var Dayjs = /* @__PURE__ */ function() {
9314
9318
  var _C$D$C$DATE$C$M$C$Y$C;
9315
9319
  var unit = Utils.p(units);
9316
9320
  var utcPad = "set" + (this.$u ? "UTC" : "");
9317
- var name2 = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
9321
+ var name2 = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN$1] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
9318
9322
  var arg = unit === D ? this.$D + (_int - this.$W) : _int;
9319
9323
  if (unit === M || unit === Y) {
9320
9324
  var date = this.clone().set(DATE, 1);
@@ -9352,7 +9356,7 @@ var Dayjs = /* @__PURE__ */ function() {
9352
9356
  if (unit === W) {
9353
9357
  return instanceFactorySet(7);
9354
9358
  }
9355
- var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1;
9359
+ var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN$1] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1;
9356
9360
  var nextTimeStamp = this.$d.getTime() + number * step;
9357
9361
  return Utils.w(nextTimeStamp, this);
9358
9362
  };
@@ -9419,7 +9423,7 @@ var Dayjs = /* @__PURE__ */ function() {
9419
9423
  var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
9420
9424
  var diff3 = this - that;
9421
9425
  var result = Utils.m(this, that);
9422
- result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff3 - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff3 - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff3 / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN] = diff3 / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff3 / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit] || diff3;
9426
+ result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff3 - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff3 - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff3 / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN$1] = diff3 / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff3 / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit] || diff3;
9423
9427
  return _float ? result : Utils.a(result);
9424
9428
  };
9425
9429
  _proto.daysInMonth = function daysInMonth() {
@@ -9456,7 +9460,7 @@ var Dayjs = /* @__PURE__ */ function() {
9456
9460
  }();
9457
9461
  var proto = Dayjs.prototype;
9458
9462
  dayjs.prototype = proto;
9459
- [["$ms", MS], ["$s", S], ["$m", MIN], ["$H", H], ["$W", D], ["$M", M], ["$y", Y], ["$D", DATE]].forEach(function(g) {
9463
+ [["$ms", MS], ["$s", S], ["$m", MIN$1], ["$H", H], ["$W", D], ["$M", M], ["$y", Y], ["$D", DATE]].forEach(function(g) {
9460
9464
  proto[g[1]] = function(input) {
9461
9465
  return this.$g(input, g[0], g[1]);
9462
9466
  };
@@ -10232,16 +10236,11 @@ const __sfc__$V = vue.defineComponent({
10232
10236
  right: false
10233
10237
  });
10234
10238
  const yearList = vue.computed(() => {
10235
- const list = [];
10236
- if (!props2.preview)
10237
- return list;
10238
- let startYear = Math.floor(toNumber(props2.preview) / 100 + page.value) * 100;
10239
- startYear = startYear < 0 ? 0 : startYear;
10240
- const yearRange = [startYear, startYear + 100];
10241
- for (let i = yearRange[0]; i < yearRange[1]; i++) {
10242
- list.push(i);
10239
+ if (!props2.preview) {
10240
+ return [];
10243
10241
  }
10244
- return list;
10242
+ const startYear = Math.floor(toNumber(props2.preview) / 100 + page.value) * 100;
10243
+ return Array.from(Array(100), (_v, k) => Math.max(0, startYear) + k);
10245
10244
  });
10246
10245
  const shouldChoose = (val) => {
10247
10246
  const {
@@ -10265,12 +10264,8 @@ const __sfc__$V = vue.defineComponent({
10265
10264
  const {
10266
10265
  componentProps: { min: min2, max: max2 }
10267
10266
  } = props2;
10268
- let isBeforeMax = true;
10269
- let isAfterMin = true;
10270
- if (max2)
10271
- isBeforeMax = dayjs(year).isSameOrBefore(dayjs(max2), "year");
10272
- if (min2)
10273
- isAfterMin = dayjs(year).isSameOrAfter(dayjs(min2), "year");
10267
+ const isBeforeMax = max2 ? dayjs(year).isSameOrBefore(dayjs(max2), "year") : true;
10268
+ const isAfterMin = min2 ? dayjs(year).isSameOrAfter(dayjs(min2), "year") : true;
10274
10269
  return isBeforeMax && isAfterMin;
10275
10270
  };
10276
10271
  const buttonProps = (year) => {
@@ -10341,9 +10336,10 @@ const __sfc__$V = vue.defineComponent({
10341
10336
  });
10342
10337
  };
10343
10338
  const checkDate = (checkType) => {
10344
- reverse.value = checkType === "prev";
10345
- panelKey.value += checkType === "prev" ? -1 : 1;
10346
- page.value += checkType === "prev" ? -1 : 1;
10339
+ const isPrevType = checkType === "prev";
10340
+ reverse.value = isPrevType;
10341
+ panelKey.value += isPrevType ? -1 : 1;
10342
+ page.value += isPrevType ? -1 : 1;
10347
10343
  };
10348
10344
  const forwardRef = (checkType) => {
10349
10345
  headerEl.value.checkDate(checkType);
@@ -11817,7 +11813,8 @@ function __render__$Q(_ctx, _cache) {
11817
11813
  [_ctx.hairline, _ctx.n("--hairline")]
11818
11814
  )
11819
11815
  ),
11820
- style: vue.normalizeStyle(_ctx.style)
11816
+ style: vue.normalizeStyle(_ctx.style),
11817
+ role: "separator"
11821
11818
  },
11822
11819
  [
11823
11820
  !_ctx.vertical ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
@@ -13473,7 +13470,7 @@ function usePopover(options) {
13473
13470
  const show = useVModel(options, "show", {
13474
13471
  passive: true,
13475
13472
  defaultValue: false,
13476
- emit(event, value) {
13473
+ emit(_event, value) {
13477
13474
  if (value) {
13478
13475
  call(options.onOpen);
13479
13476
  } else {
@@ -13719,8 +13716,7 @@ function usePopover(options) {
13719
13716
  popoverInstance.setOptions(getPopperOptions());
13720
13717
  };
13721
13718
  const open = () => {
13722
- const { disabled } = options;
13723
- if (disabled) {
13719
+ if (options.disabled) {
13724
13720
  return;
13725
13721
  }
13726
13722
  show.value = true;
@@ -13855,7 +13851,8 @@ function __render__$O(_ctx, _cache) {
13855
13851
  "div",
13856
13852
  {
13857
13853
  style: vue.normalizeStyle({ background: _ctx.color, width: _ctx.sameWidth ? _ctx.toSizeUnit(Math.ceil(_ctx.hostSize.width)) : void 0 }),
13858
- class: vue.normalizeClass(_ctx.classes(_ctx.n("content-container"), _ctx.n(`--${_ctx.type}`)))
13854
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("content-container"), _ctx.n(`--${_ctx.type}`))),
13855
+ role: "tooltip"
13859
13856
  },
13860
13857
  [
13861
13858
  vue.renderSlot(_ctx.$slots, "content", {}, () => [
@@ -13966,7 +13963,7 @@ var __spreadValues$c = (a, b) => {
13966
13963
  return a;
13967
13964
  };
13968
13965
  const { name: name$K, n: n$N, classes: classes$F } = createNamespace("ellipsis");
13969
- const _hoisted_1$o = { key: 0 };
13966
+ const _hoisted_1$p = { key: 0 };
13970
13967
  function __render__$N(_ctx, _cache) {
13971
13968
  const _component_var_tooltip = vue.resolveComponent("var-tooltip");
13972
13969
  return vue.openBlock(), vue.createBlock(
@@ -13979,7 +13976,7 @@ function __render__$N(_ctx, _cache) {
13979
13976
  return [
13980
13977
  ((_a = _ctx.tooltipProps) == null ? void 0 : _a.content) ? (vue.openBlock(), vue.createElementBlock(
13981
13978
  "span",
13982
- _hoisted_1$o,
13979
+ _hoisted_1$p,
13983
13980
  vue.toDisplayString(_ctx.tooltipProps.content),
13984
13981
  1
13985
13982
  /* TEXT */
@@ -14297,7 +14294,7 @@ const props$I = {
14297
14294
  onClear: defineListenerProp()
14298
14295
  };
14299
14296
  const { name: name$I, n: n$L, classes: classes$D } = createNamespace("field-decorator");
14300
- const _hoisted_1$n = ["for"];
14297
+ const _hoisted_1$o = ["for"];
14301
14298
  function __render__$M(_ctx, _cache) {
14302
14299
  const _component_var_icon = vue.resolveComponent("var-icon");
14303
14300
  return vue.openBlock(), vue.createElementBlock(
@@ -14377,7 +14374,7 @@ function __render__$M(_ctx, _cache) {
14377
14374
  1
14378
14375
  /* TEXT */
14379
14376
  )
14380
- ], 14, _hoisted_1$n)) : vue.createCommentVNode("v-if", true),
14377
+ ], 14, _hoisted_1$o)) : vue.createCommentVNode("v-if", true),
14381
14378
  vue.createElementVNode(
14382
14379
  "div",
14383
14380
  {
@@ -14921,7 +14918,7 @@ const props$F = {
14921
14918
  onError: defineListenerProp()
14922
14919
  };
14923
14920
  const { name: name$F, n: n$I, classes: classes$B } = createNamespace("image");
14924
- const _hoisted_1$m = ["alt", "title", "referrerpolicy", "lazy-loading", "lazy-error"];
14921
+ const _hoisted_1$n = ["alt", "title", "referrerpolicy", "lazy-loading", "lazy-error"];
14925
14922
  const _hoisted_2$d = ["alt", "title", "referrerpolicy", "src"];
14926
14923
  function __render__$J(_ctx, _cache) {
14927
14924
  var _a;
@@ -14950,7 +14947,7 @@ function __render__$J(_ctx, _cache) {
14950
14947
  style: vue.normalizeStyle({ objectFit: _ctx.fit, objectPosition: _ctx.position }),
14951
14948
  onLoad: _cache[0] || (_cache[0] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args)),
14952
14949
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
14953
- }, null, 46, _hoisted_1$m)), [
14950
+ }, null, 46, _hoisted_1$n)), [
14954
14951
  [_directive_lazy, (_a = _ctx.src) != null ? _a : ""]
14955
14952
  ]) : vue.createCommentVNode("v-if", true),
14956
14953
  !_ctx.lazy && !_ctx.showErrorSlot ? (vue.openBlock(), vue.createElementBlock("img", {
@@ -15091,7 +15088,7 @@ var __async$7 = (__this, __arguments, generator) => {
15091
15088
  const SWIPE_DELAY = 250;
15092
15089
  const SWIPE_OFFSET = 20;
15093
15090
  const { name: name$E, n: n$H, classes: classes$A } = createNamespace("swipe");
15094
- const _hoisted_1$l = ["onClick"];
15091
+ const _hoisted_1$m = ["onClick"];
15095
15092
  function __render__$I(_ctx, _cache) {
15096
15093
  const _component_var_icon = vue.resolveComponent("var-icon");
15097
15094
  const _component_var_button = vue.resolveComponent("var-button");
@@ -15237,7 +15234,7 @@ function __render__$I(_ctx, _cache) {
15237
15234
  style: vue.normalizeStyle({ background: _ctx.indicatorColor }),
15238
15235
  key: l,
15239
15236
  onClick: ($event) => _ctx.to(idx)
15240
- }, null, 14, _hoisted_1$l);
15237
+ }, null, 14, _hoisted_1$m);
15241
15238
  }),
15242
15239
  128
15243
15240
  /* KEYED_FRAGMENT */
@@ -15289,6 +15286,7 @@ const __sfc__$J = vue.defineComponent({
15289
15286
  let timer = -1;
15290
15287
  const swipeProvider = {
15291
15288
  size,
15289
+ currentIndex: index,
15292
15290
  vertical
15293
15291
  };
15294
15292
  bindSwipeItems(swipeProvider);
@@ -15578,30 +15576,27 @@ function useSwipe() {
15578
15576
  };
15579
15577
  }
15580
15578
  const { name: name$D, n: n$G } = createNamespace("swipe-item");
15579
+ const _hoisted_1$l = ["aria-hidden"];
15581
15580
  function __render__$H(_ctx, _cache) {
15582
- return vue.openBlock(), vue.createElementBlock(
15583
- "div",
15584
- {
15585
- class: vue.normalizeClass(_ctx.n()),
15586
- style: vue.normalizeStyle({
15587
- width: !_ctx.vertical ? `${_ctx.size}px` : void 0,
15588
- height: _ctx.vertical ? `${_ctx.size}px` : void 0,
15589
- transform: `translate${_ctx.vertical ? "Y" : "X"}(${_ctx.translate}px)`
15590
- })
15591
- },
15592
- [
15593
- vue.renderSlot(_ctx.$slots, "default")
15594
- ],
15595
- 6
15596
- /* CLASS, STYLE */
15597
- );
15581
+ return vue.openBlock(), vue.createElementBlock("div", {
15582
+ class: vue.normalizeClass(_ctx.n()),
15583
+ style: vue.normalizeStyle({
15584
+ width: !_ctx.vertical ? `${_ctx.size}px` : void 0,
15585
+ height: _ctx.vertical ? `${_ctx.size}px` : void 0,
15586
+ transform: `translate${_ctx.vertical ? "Y" : "X"}(${_ctx.translate}px)`
15587
+ }),
15588
+ tabindex: "-1",
15589
+ "aria-hidden": _ctx.currentIndex === _ctx.index ? "false" : "true"
15590
+ }, [
15591
+ vue.renderSlot(_ctx.$slots, "default")
15592
+ ], 14, _hoisted_1$l);
15598
15593
  }
15599
15594
  const __sfc__$I = vue.defineComponent({
15600
15595
  name: name$D,
15601
15596
  setup() {
15602
15597
  const translate = vue.ref(0);
15603
15598
  const { swipe, bindSwipe, index } = useSwipe();
15604
- const { size, vertical } = swipe;
15599
+ const { size, currentIndex, vertical } = swipe;
15605
15600
  const swipeItemProvider = {
15606
15601
  index,
15607
15602
  setTranslate
@@ -15613,6 +15608,8 @@ const __sfc__$I = vue.defineComponent({
15613
15608
  return {
15614
15609
  n: n$G,
15615
15610
  size,
15611
+ index,
15612
+ currentIndex,
15616
15613
  vertical,
15617
15614
  translate
15618
15615
  };
@@ -19311,190 +19308,190 @@ const props$n = {
19311
19308
  default: "primary"
19312
19309
  }
19313
19310
  };
19314
- const ONE_HUNDRED = 100;
19311
+ const MAX = 100;
19312
+ const MIN = 0;
19315
19313
  const RADIUS = 20;
19316
19314
  const CIRCUMFERENCE = 2 * Math.PI * RADIUS;
19317
19315
  const { name: name$n, n: n$q, classes: classes$l } = createNamespace("progress");
19318
- const _hoisted_1$d = ["viewBox"];
19319
- const _hoisted_2$9 = { key: 0 };
19320
- const _hoisted_3$8 = ["id"];
19321
- const _hoisted_4$2 = ["offset", "stop-color"];
19322
- const _hoisted_5$1 = ["d", "stroke-width", "stroke-dasharray"];
19323
- const _hoisted_6$1 = ["d", "stroke-width", "stroke-dasharray", "stroke-dashoffset"];
19316
+ const _hoisted_1$d = ["aria-valuenow"];
19317
+ const _hoisted_2$9 = ["viewBox"];
19318
+ const _hoisted_3$8 = { key: 0 };
19319
+ const _hoisted_4$3 = ["id"];
19320
+ const _hoisted_5$1 = ["offset", "stop-color"];
19321
+ const _hoisted_6$1 = ["d", "stroke-width", "stroke-dasharray"];
19322
+ const _hoisted_7 = ["d", "stroke-width", "stroke-dasharray", "stroke-dashoffset"];
19324
19323
  function __render__$t(_ctx, _cache) {
19325
- return vue.openBlock(), vue.createElementBlock(
19326
- "div",
19327
- {
19328
- class: vue.normalizeClass(_ctx.n())
19329
- },
19330
- [
19331
- _ctx.mode === "linear" ? (vue.openBlock(), vue.createElementBlock(
19332
- "div",
19333
- {
19334
- key: 0,
19335
- class: vue.normalizeClass(_ctx.n("linear"))
19336
- },
19337
- [
19338
- vue.createElementVNode(
19339
- "div",
19340
- {
19341
- class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-block"), [_ctx.track, _ctx.n("linear-background")])),
19342
- style: vue.normalizeStyle({ height: _ctx.toSizeUnit(_ctx.lineWidth), background: _ctx.trackColor })
19343
- },
19344
- [
19345
- _ctx.indeterminate ? (vue.openBlock(), vue.createElementBlock(
19346
- "div",
19347
- {
19348
- key: 0,
19349
- class: vue.normalizeClass(_ctx.classes([_ctx.indeterminate, _ctx.n("linear-indeterminate")]))
19350
- },
19351
- [
19352
- vue.createElementVNode(
19353
- "div",
19354
- {
19355
- class: vue.normalizeClass(_ctx.classes(_ctx.n(`linear--${_ctx.type}`))),
19356
- style: vue.normalizeStyle({ background: _ctx.progressColor })
19357
- },
19358
- null,
19359
- 6
19360
- /* CLASS, STYLE */
19361
- ),
19362
- vue.createElementVNode(
19363
- "div",
19364
- {
19365
- class: vue.normalizeClass(_ctx.classes(_ctx.n(`linear--${_ctx.type}`))),
19366
- style: vue.normalizeStyle({ background: _ctx.progressColor })
19367
- },
19368
- null,
19369
- 6
19370
- /* CLASS, STYLE */
19371
- )
19372
- ],
19373
- 2
19374
- /* CLASS */
19375
- )) : (vue.openBlock(), vue.createElementBlock(
19376
- "div",
19377
- {
19378
- key: 1,
19379
- class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-certain"), _ctx.n(`linear--${_ctx.type}`))),
19380
- style: vue.normalizeStyle({ background: _ctx.progressColor, width: _ctx.linearProps.width })
19381
- },
19382
- null,
19383
- 6
19384
- /* CLASS, STYLE */
19385
- ))
19386
- ],
19387
- 6
19388
- /* CLASS, STYLE */
19389
- ),
19390
- _ctx.label ? (vue.openBlock(), vue.createElementBlock(
19391
- "div",
19392
- {
19393
- key: 0,
19394
- class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-label"), [_ctx.labelClass, _ctx.labelClass]))
19395
- },
19396
- [
19397
- vue.renderSlot(_ctx.$slots, "default", {}, () => [
19398
- vue.createTextVNode(
19399
- vue.toDisplayString(_ctx.linearProps.roundValue),
19400
- 1
19401
- /* TEXT */
19402
- )
19403
- ])
19404
- ],
19405
- 2
19406
- /* CLASS */
19407
- )) : vue.createCommentVNode("v-if", true)
19408
- ],
19409
- 2
19410
- /* CLASS */
19411
- )) : vue.createCommentVNode("v-if", true),
19412
- _ctx.mode === "circle" ? (vue.openBlock(), vue.createElementBlock(
19413
- "div",
19414
- {
19415
- key: 1,
19416
- class: vue.normalizeClass(_ctx.classes(_ctx.n("circle"), [_ctx.indeterminate, _ctx.n("circle-indeterminate")])),
19417
- style: vue.normalizeStyle({ width: _ctx.toSizeUnit(_ctx.size), height: _ctx.toSizeUnit(_ctx.size) })
19418
- },
19419
- [
19420
- (vue.openBlock(), vue.createElementBlock("svg", {
19421
- class: vue.normalizeClass(_ctx.n("circle-svg")),
19422
- viewBox: _ctx.circleProps.viewBox
19423
- }, [
19424
- _ctx.isPlainObject(_ctx.color) ? (vue.openBlock(), vue.createElementBlock("defs", _hoisted_2$9, [
19425
- vue.createElementVNode("linearGradient", {
19426
- id: _ctx.id,
19427
- x1: "100%",
19428
- y1: "0%",
19429
- x2: "0%",
19430
- y2: "0%"
19431
- }, [
19432
- (vue.openBlock(true), vue.createElementBlock(
19433
- vue.Fragment,
19324
+ return vue.openBlock(), vue.createElementBlock("div", {
19325
+ class: vue.normalizeClass(_ctx.n()),
19326
+ role: "progressbar",
19327
+ "aria-valuemin": "0",
19328
+ "aria-valuemax": "100",
19329
+ "aria-valuenow": _ctx.indeterminate ? void 0 : _ctx.mode === "linear" ? _ctx.linearProps.value : _ctx.circleProps.value
19330
+ }, [
19331
+ _ctx.mode === "linear" ? (vue.openBlock(), vue.createElementBlock(
19332
+ "div",
19333
+ {
19334
+ key: 0,
19335
+ class: vue.normalizeClass(_ctx.n("linear"))
19336
+ },
19337
+ [
19338
+ vue.createElementVNode(
19339
+ "div",
19340
+ {
19341
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-block"), [_ctx.track, _ctx.n("linear-background")])),
19342
+ style: vue.normalizeStyle({ height: _ctx.toSizeUnit(_ctx.lineWidth), background: _ctx.trackColor })
19343
+ },
19344
+ [
19345
+ _ctx.indeterminate ? (vue.openBlock(), vue.createElementBlock(
19346
+ "div",
19347
+ {
19348
+ key: 0,
19349
+ class: vue.normalizeClass(_ctx.n("linear-indeterminate"))
19350
+ },
19351
+ [
19352
+ vue.createElementVNode(
19353
+ "div",
19354
+ {
19355
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(`linear--${_ctx.type}`))),
19356
+ style: vue.normalizeStyle({ background: _ctx.progressColor })
19357
+ },
19434
19358
  null,
19435
- vue.renderList(_ctx.linearGradientProgress, (progress, idx) => {
19436
- return vue.openBlock(), vue.createElementBlock("stop", {
19437
- key: idx,
19438
- offset: progress,
19439
- "stop-color": _ctx.color[progress]
19440
- }, null, 8, _hoisted_4$2);
19441
- }),
19442
- 128
19443
- /* KEYED_FRAGMENT */
19444
- ))
19445
- ], 8, _hoisted_3$8)
19446
- ])) : vue.createCommentVNode("v-if", true),
19447
- _ctx.track ? (vue.openBlock(), vue.createElementBlock("path", {
19448
- key: 1,
19449
- class: vue.normalizeClass(_ctx.n("circle-background")),
19450
- d: _ctx.circleProps.path,
19451
- fill: "transparent",
19452
- "stroke-width": _ctx.circleProps.strokeWidth,
19453
- "stroke-dasharray": _ctx.CIRCUMFERENCE,
19454
- style: vue.normalizeStyle({
19455
- stroke: _ctx.trackColor
19456
- })
19457
- }, null, 14, _hoisted_5$1)) : vue.createCommentVNode("v-if", true),
19458
- vue.createElementVNode("path", {
19459
- class: vue.normalizeClass(_ctx.classes(_ctx.n("circle-certain"), _ctx.n(`circle--${_ctx.type}`), [_ctx.indeterminate, _ctx.n("circle-overlay")])),
19460
- d: _ctx.circleProps.path,
19461
- fill: "transparent",
19462
- "stroke-width": _ctx.circleProps.strokeWidth,
19463
- "stroke-dasharray": _ctx.CIRCUMFERENCE,
19464
- "stroke-dashoffset": _ctx.circleProps.strokeOffset,
19465
- style: vue.normalizeStyle({
19466
- stroke: _ctx.progressColor,
19467
- transform: `rotateZ(${_ctx.rotate}deg)`,
19468
- transformOrigin: "50% 50%"
19469
- })
19470
- }, null, 14, _hoisted_6$1)
19471
- ], 10, _hoisted_1$d)),
19472
- _ctx.label ? (vue.openBlock(), vue.createElementBlock(
19473
- "div",
19474
- {
19475
- key: 0,
19476
- class: vue.normalizeClass(_ctx.classes(_ctx.n("circle-label"), [_ctx.labelClass, _ctx.labelClass]))
19477
- },
19478
- [
19479
- vue.renderSlot(_ctx.$slots, "default", {}, () => [
19480
- vue.createTextVNode(
19481
- vue.toDisplayString(_ctx.circleProps.roundValue),
19482
- 1
19483
- /* TEXT */
19359
+ 6
19360
+ /* CLASS, STYLE */
19361
+ ),
19362
+ vue.createElementVNode(
19363
+ "div",
19364
+ {
19365
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(`linear--${_ctx.type}`))),
19366
+ style: vue.normalizeStyle({ background: _ctx.progressColor })
19367
+ },
19368
+ null,
19369
+ 6
19370
+ /* CLASS, STYLE */
19484
19371
  )
19485
- ])
19486
- ],
19487
- 2
19488
- /* CLASS */
19489
- )) : vue.createCommentVNode("v-if", true)
19490
- ],
19491
- 6
19492
- /* CLASS, STYLE */
19493
- )) : vue.createCommentVNode("v-if", true)
19494
- ],
19495
- 2
19496
- /* CLASS */
19497
- );
19372
+ ],
19373
+ 2
19374
+ /* CLASS */
19375
+ )) : (vue.openBlock(), vue.createElementBlock(
19376
+ "div",
19377
+ {
19378
+ key: 1,
19379
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-certain"), _ctx.n(`linear--${_ctx.type}`))),
19380
+ style: vue.normalizeStyle({ background: _ctx.progressColor, width: _ctx.linearProps.width })
19381
+ },
19382
+ null,
19383
+ 6
19384
+ /* CLASS, STYLE */
19385
+ ))
19386
+ ],
19387
+ 6
19388
+ /* CLASS, STYLE */
19389
+ ),
19390
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock(
19391
+ "div",
19392
+ {
19393
+ key: 0,
19394
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-label"), [_ctx.labelClass, _ctx.labelClass]))
19395
+ },
19396
+ [
19397
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
19398
+ vue.createTextVNode(
19399
+ vue.toDisplayString(_ctx.linearProps.roundValue),
19400
+ 1
19401
+ /* TEXT */
19402
+ )
19403
+ ])
19404
+ ],
19405
+ 2
19406
+ /* CLASS */
19407
+ )) : vue.createCommentVNode("v-if", true)
19408
+ ],
19409
+ 2
19410
+ /* CLASS */
19411
+ )) : vue.createCommentVNode("v-if", true),
19412
+ _ctx.mode === "circle" ? (vue.openBlock(), vue.createElementBlock(
19413
+ "div",
19414
+ {
19415
+ key: 1,
19416
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("circle"), [_ctx.indeterminate, _ctx.n("circle-indeterminate")])),
19417
+ style: vue.normalizeStyle({ width: _ctx.toSizeUnit(_ctx.size), height: _ctx.toSizeUnit(_ctx.size) })
19418
+ },
19419
+ [
19420
+ (vue.openBlock(), vue.createElementBlock("svg", {
19421
+ class: vue.normalizeClass(_ctx.n("circle-svg")),
19422
+ viewBox: _ctx.circleProps.viewBox
19423
+ }, [
19424
+ _ctx.isPlainObject(_ctx.color) ? (vue.openBlock(), vue.createElementBlock("defs", _hoisted_3$8, [
19425
+ vue.createElementVNode("linearGradient", {
19426
+ id: _ctx.id,
19427
+ x1: "100%",
19428
+ y1: "0%",
19429
+ x2: "0%",
19430
+ y2: "0%"
19431
+ }, [
19432
+ (vue.openBlock(true), vue.createElementBlock(
19433
+ vue.Fragment,
19434
+ null,
19435
+ vue.renderList(_ctx.linearGradientProgress, (progress, idx) => {
19436
+ return vue.openBlock(), vue.createElementBlock("stop", {
19437
+ key: idx,
19438
+ offset: progress,
19439
+ "stop-color": _ctx.color[progress]
19440
+ }, null, 8, _hoisted_5$1);
19441
+ }),
19442
+ 128
19443
+ /* KEYED_FRAGMENT */
19444
+ ))
19445
+ ], 8, _hoisted_4$3)
19446
+ ])) : vue.createCommentVNode("v-if", true),
19447
+ _ctx.track ? (vue.openBlock(), vue.createElementBlock("path", {
19448
+ key: 1,
19449
+ class: vue.normalizeClass(_ctx.n("circle-background")),
19450
+ d: _ctx.circleProps.path,
19451
+ fill: "transparent",
19452
+ "stroke-width": _ctx.circleProps.strokeWidth,
19453
+ "stroke-dasharray": _ctx.CIRCUMFERENCE,
19454
+ style: vue.normalizeStyle({
19455
+ stroke: _ctx.trackColor
19456
+ })
19457
+ }, null, 14, _hoisted_6$1)) : vue.createCommentVNode("v-if", true),
19458
+ vue.createElementVNode("path", {
19459
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("circle-certain"), _ctx.n(`circle--${_ctx.type}`), [_ctx.indeterminate, _ctx.n("circle-overlay")])),
19460
+ d: _ctx.circleProps.path,
19461
+ fill: "transparent",
19462
+ "stroke-width": _ctx.circleProps.strokeWidth,
19463
+ "stroke-dasharray": _ctx.CIRCUMFERENCE,
19464
+ "stroke-dashoffset": _ctx.circleProps.strokeOffset,
19465
+ style: vue.normalizeStyle({
19466
+ stroke: _ctx.progressColor,
19467
+ transform: `rotateZ(${_ctx.rotate}deg)`,
19468
+ transformOrigin: "50% 50%"
19469
+ })
19470
+ }, null, 14, _hoisted_7)
19471
+ ], 10, _hoisted_2$9)),
19472
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock(
19473
+ "div",
19474
+ {
19475
+ key: 0,
19476
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("circle-label"), _ctx.labelClass))
19477
+ },
19478
+ [
19479
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
19480
+ vue.createTextVNode(
19481
+ vue.toDisplayString(_ctx.circleProps.roundValue),
19482
+ 1
19483
+ /* TEXT */
19484
+ )
19485
+ ])
19486
+ ],
19487
+ 2
19488
+ /* CLASS */
19489
+ )) : vue.createCommentVNode("v-if", true)
19490
+ ],
19491
+ 6
19492
+ /* CLASS, STYLE */
19493
+ )) : vue.createCommentVNode("v-if", true)
19494
+ ], 10, _hoisted_1$d);
19498
19495
  }
19499
19496
  const __sfc__$u = vue.defineComponent({
19500
19497
  name: name$n,
@@ -19503,19 +19500,20 @@ const __sfc__$u = vue.defineComponent({
19503
19500
  const id = useId();
19504
19501
  const linearProps = vue.computed(() => {
19505
19502
  const value = toNumber(props2.value);
19506
- const width = value > ONE_HUNDRED ? ONE_HUNDRED : value;
19507
- const roundValue = value > ONE_HUNDRED ? ONE_HUNDRED : Math.round(value);
19503
+ const width = clamp$1(value, MIN, MAX);
19504
+ const roundValue = clamp$1(Math.round(value), MIN, MAX);
19508
19505
  return {
19509
19506
  width: `${width}%`,
19510
- roundValue: `${roundValue}%`
19507
+ roundValue: `${roundValue}%`,
19508
+ value: width
19511
19509
  };
19512
19510
  });
19513
19511
  const circleProps = vue.computed(() => {
19514
19512
  const { size, lineWidth, value } = props2;
19515
19513
  const diameter = RADIUS / (1 - toPxNum(lineWidth) / toPxNum(size)) * 2;
19516
19514
  const viewBox = `0 0 ${diameter} ${diameter}`;
19517
- const roundValue = toNumber(value) > ONE_HUNDRED ? ONE_HUNDRED : Math.round(toNumber(value));
19518
- const strokeOffset = `${(ONE_HUNDRED - roundValue) / ONE_HUNDRED * CIRCUMFERENCE}`;
19515
+ const roundValue = clamp$1(Math.round(toNumber(value)), MIN, MAX);
19516
+ const strokeOffset = `${(MAX - roundValue) / MAX * CIRCUMFERENCE}`;
19519
19517
  const strokeWidth = toPxNum(lineWidth) / toPxNum(size) * diameter;
19520
19518
  const beginPositionX = 0;
19521
19519
  const beginPositionY = -RADIUS;
@@ -19528,7 +19526,8 @@ const __sfc__$u = vue.defineComponent({
19528
19526
  viewBox,
19529
19527
  strokeOffset,
19530
19528
  roundValue: `${roundValue}%`,
19531
- path
19529
+ path,
19530
+ value: clamp$1(toNumber(value), MIN, MAX)
19532
19531
  };
19533
19532
  });
19534
19533
  const progressColor = vue.computed(() => {
@@ -21642,7 +21641,7 @@ const props$e = {
21642
21641
  "onUpdate:modelValue": defineListenerProp()
21643
21642
  };
21644
21643
  const { name: name$e, n: n$g, classes: classes$c } = createNamespace("slider");
21645
- const _hoisted_1$4 = ["tabindex", "onTouchstart", "onFocusin", "onFocusout"];
21644
+ const _hoisted_1$4 = ["tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-valuetext", "onTouchstart", "onFocusin", "onFocusout"];
21646
21645
  function __render__$e(_ctx, _cache) {
21647
21646
  const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
21648
21647
  const _component_var_form_details = vue.resolveComponent("var-form-details");
@@ -21658,7 +21657,7 @@ function __render__$e(_ctx, _cache) {
21658
21657
  {
21659
21658
  class: vue.normalizeClass(_ctx.classes(_ctx.n(`${_ctx.direction}-block`), [_ctx.isDisabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n(`${_ctx.direction}--error`)])),
21660
21659
  ref: "sliderEl",
21661
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
21660
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
21662
21661
  },
21663
21662
  [
21664
21663
  vue.createElementVNode(
@@ -21704,6 +21703,12 @@ function __render__$e(_ctx, _cache) {
21704
21703
  key: item.enumValue,
21705
21704
  style: vue.normalizeStyle(_ctx.thumbStyle(item)),
21706
21705
  tabindex: _ctx.isDisabled ? void 0 : "0",
21706
+ role: "slider",
21707
+ "aria-valuemin": _ctx.min,
21708
+ "aria-valuemax": _ctx.max,
21709
+ "aria-valuenow": item.value,
21710
+ "aria-disabled": _ctx.isDisabled,
21711
+ "aria-valuetext": `${item.text}`,
21707
21712
  onTouchstart: vue.withModifiers(($event) => _ctx.start($event, item.enumValue), ["stop"]),
21708
21713
  onFocusin: ($event) => _ctx.handleFocus(item),
21709
21714
  onFocusout: ($event) => _ctx.handleBlur(item)
@@ -21960,13 +21965,7 @@ const __sfc__$f = vue.defineComponent({
21960
21965
  if (!isNumber(value)) {
21961
21966
  return 0;
21962
21967
  }
21963
- let num = value;
21964
- if (num < Number(props2.min)) {
21965
- num = Number(props2.min);
21966
- }
21967
- if (num > Number(props2.max)) {
21968
- num = Number(props2.max);
21969
- }
21968
+ const num = clamp$1(value, toNumber(props2.min), toNumber(props2.max));
21970
21969
  const isInteger = parseInt(`${num}`, 10) === num;
21971
21970
  return isInteger ? num : toNumber(num.toPrecision(5));
21972
21971
  }
@@ -22065,11 +22064,13 @@ const __sfc__$f = vue.defineComponent({
22065
22064
  call(onEnd, range ? rangeValue : curValue);
22066
22065
  isScroll.value = false;
22067
22066
  }
22068
- function click(event) {
22069
- if (isDisabled.value || isReadonly.value)
22067
+ function handleClick(event) {
22068
+ if (isDisabled.value || isReadonly.value) {
22070
22069
  return;
22071
- if (event.target.closest(`.${n$g("thumb")}`))
22070
+ }
22071
+ if (event.target.closest(`.${n$g("thumb")}`)) {
22072
22072
  return;
22073
+ }
22073
22074
  const offset2 = getOffset(event);
22074
22075
  const type = getType(offset2);
22075
22076
  activeThumb = type;
@@ -22077,13 +22078,8 @@ const __sfc__$f = vue.defineComponent({
22077
22078
  end2();
22078
22079
  }
22079
22080
  function stepValidator() {
22080
- const stepNumber = toNumber(props2.step);
22081
- if (isNaN(stepNumber)) {
22082
- warn("Slider", 'type of prop "step" should be Number');
22083
- return false;
22084
- }
22085
- if (stepNumber < 0) {
22086
- warn("Slider", '"step" should be > 0');
22081
+ if (toNumber(props2.step) <= 0) {
22082
+ warn("[Varlet] Slider", '"step" should be > 0');
22087
22083
  return false;
22088
22084
  }
22089
22085
  return true;
@@ -22130,7 +22126,7 @@ const __sfc__$f = vue.defineComponent({
22130
22126
  resetValidation();
22131
22127
  }
22132
22128
  function moveFocusingThumb(offset2, value) {
22133
- const stepValue = Number(props2.step);
22129
+ const stepValue = toNumber(props2.step);
22134
22130
  if (isArray(value)) {
22135
22131
  const updatedFirstValue = value[0] + (focusingFirst.value ? offset2 * stepValue : 0);
22136
22132
  const updatedSecondValue = value[1] + (focusingSecond.value ? offset2 * stepValue : 0);
@@ -22170,7 +22166,6 @@ const __sfc__$f = vue.defineComponent({
22170
22166
  item.handleFocusing(false);
22171
22167
  }
22172
22168
  return {
22173
- Thumbs,
22174
22169
  sliderEl,
22175
22170
  getFillStyle,
22176
22171
  isDisabled,
@@ -22190,7 +22185,7 @@ const __sfc__$f = vue.defineComponent({
22190
22185
  start: start2,
22191
22186
  move,
22192
22187
  end: end2,
22193
- click
22188
+ handleClick
22194
22189
  };
22195
22190
  }
22196
22191
  });
@@ -23072,8 +23067,9 @@ const props$8 = {
23072
23067
  };
23073
23068
  const { name: name$8, n: n$9, classes: classes$8 } = createNamespace("switch");
23074
23069
  const _withScopeId = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
23075
- const _hoisted_1$2 = ["tabindex"];
23076
- const _hoisted_2$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
23070
+ const _hoisted_1$2 = ["aria-checked"];
23071
+ const _hoisted_2$2 = ["tabindex"];
23072
+ const _hoisted_3$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
23077
23073
  "svg",
23078
23074
  { viewBox: "25 25 50 50" },
23079
23075
  [
@@ -23087,97 +23083,93 @@ const _hoisted_2$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.crea
23087
23083
  -1
23088
23084
  /* HOISTED */
23089
23085
  ));
23090
- const _hoisted_3$2 = [
23091
- _hoisted_2$2
23086
+ const _hoisted_4$2 = [
23087
+ _hoisted_3$2
23092
23088
  ];
23093
23089
  function __render__$9(_ctx, _cache) {
23094
23090
  const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
23095
23091
  const _component_var_form_details = vue.resolveComponent("var-form-details");
23096
23092
  const _directive_ripple = vue.resolveDirective("ripple");
23097
23093
  const _directive_hover = vue.resolveDirective("hover");
23098
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock(
23099
- "div",
23100
- {
23101
- class: vue.normalizeClass(_ctx.classes(_ctx.n(), [_ctx.variant, _ctx.n("--variant")]))
23102
- },
23103
- [
23104
- vue.createElementVNode(
23105
- "div",
23106
- {
23107
- ref: "switchRef",
23108
- class: vue.normalizeClass(_ctx.classes(_ctx.n("block"), [_ctx.disabled || _ctx.formDisabled, _ctx.n("--disabled")], [_ctx.isActive, _ctx.n("block--active")])),
23109
- style: vue.normalizeStyle(_ctx.styleComputed.switch),
23110
- onClick: _cache[2] || (_cache[2] = (...args) => _ctx.switchActive && _ctx.switchActive(...args))
23111
- },
23112
- [
23094
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
23095
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(), [_ctx.variant, _ctx.n("--variant")])),
23096
+ role: "switch",
23097
+ "aria-checked": _ctx.modelValue
23098
+ }, [
23099
+ vue.createElementVNode(
23100
+ "div",
23101
+ {
23102
+ ref: "switchRef",
23103
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("block"), [_ctx.disabled || _ctx.formDisabled, _ctx.n("--disabled")], [_ctx.isActive, _ctx.n("block--active")])),
23104
+ style: vue.normalizeStyle(_ctx.styleComputed.switch),
23105
+ onClick: _cache[2] || (_cache[2] = (...args) => _ctx.switchActive && _ctx.switchActive(...args))
23106
+ },
23107
+ [
23108
+ vue.createElementVNode(
23109
+ "div",
23110
+ {
23111
+ style: vue.normalizeStyle(_ctx.styleComputed.track),
23112
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("track"), [_ctx.isActive, _ctx.n("track--active")], [_ctx.errorMessage && !_ctx.variant, _ctx.n("track--error")]))
23113
+ },
23114
+ null,
23115
+ 6
23116
+ /* CLASS, STYLE */
23117
+ ),
23118
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
23119
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("ripple"), [_ctx.isActive, _ctx.n("ripple--active")])),
23120
+ style: vue.normalizeStyle(_ctx.styleComputed.ripple),
23121
+ tabindex: _ctx.disabled || _ctx.formDisabled ? void 0 : "0",
23122
+ onFocus: _cache[0] || (_cache[0] = ($event) => _ctx.isFocusing = true),
23123
+ onBlur: _cache[1] || (_cache[1] = ($event) => _ctx.isFocusing = false)
23124
+ }, [
23113
23125
  vue.createElementVNode(
23114
23126
  "div",
23115
23127
  {
23116
- style: vue.normalizeStyle(_ctx.styleComputed.track),
23117
- class: vue.normalizeClass(_ctx.classes(_ctx.n("track"), [_ctx.isActive, _ctx.n("track--active")], [_ctx.errorMessage && !_ctx.variant, _ctx.n("track--error")]))
23128
+ style: vue.normalizeStyle(_ctx.styleComputed.handle),
23129
+ class: vue.normalizeClass(
23130
+ _ctx.classes(
23131
+ _ctx.n("handle"),
23132
+ _ctx.n("$-elevation--2"),
23133
+ [_ctx.isActive, _ctx.n("handle--active")],
23134
+ [_ctx.errorMessage && !_ctx.variant, _ctx.n("handle--error")],
23135
+ [_ctx.hovering, _ctx.n("handle--hover")]
23136
+ )
23137
+ )
23118
23138
  },
23119
- null,
23139
+ [
23140
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock(
23141
+ "span",
23142
+ {
23143
+ key: 0,
23144
+ class: vue.normalizeClass(_ctx.n("loading")),
23145
+ style: vue.normalizeStyle({
23146
+ width: _ctx.radius,
23147
+ height: _ctx.radius
23148
+ })
23149
+ },
23150
+ [..._hoisted_4$2],
23151
+ 6
23152
+ /* CLASS, STYLE */
23153
+ )) : vue.createCommentVNode("v-if", true)
23154
+ ],
23120
23155
  6
23121
23156
  /* CLASS, STYLE */
23122
23157
  ),
23123
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
23124
- class: vue.normalizeClass(_ctx.classes(_ctx.n("ripple"), [_ctx.isActive, _ctx.n("ripple--active")])),
23125
- style: vue.normalizeStyle(_ctx.styleComputed.ripple),
23126
- tabindex: _ctx.disabled || _ctx.formDisabled ? void 0 : "0",
23127
- onFocus: _cache[0] || (_cache[0] = ($event) => _ctx.isFocusing = true),
23128
- onBlur: _cache[1] || (_cache[1] = ($event) => _ctx.isFocusing = false)
23129
- }, [
23130
- vue.createElementVNode(
23131
- "div",
23132
- {
23133
- style: vue.normalizeStyle(_ctx.styleComputed.handle),
23134
- class: vue.normalizeClass(
23135
- _ctx.classes(
23136
- _ctx.n("handle"),
23137
- _ctx.n("$-elevation--2"),
23138
- [_ctx.isActive, _ctx.n("handle--active")],
23139
- [_ctx.errorMessage && !_ctx.variant, _ctx.n("handle--error")],
23140
- [_ctx.hovering, _ctx.n("handle--hover")]
23141
- )
23142
- )
23143
- },
23144
- [
23145
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock(
23146
- "span",
23147
- {
23148
- key: 0,
23149
- class: vue.normalizeClass(_ctx.n("loading")),
23150
- style: vue.normalizeStyle({
23151
- width: _ctx.radius,
23152
- height: _ctx.radius
23153
- })
23154
- },
23155
- [..._hoisted_3$2],
23156
- 6
23157
- /* CLASS, STYLE */
23158
- )) : vue.createCommentVNode("v-if", true)
23159
- ],
23160
- 6
23161
- /* CLASS, STYLE */
23162
- ),
23163
- vue.createVNode(_component_var_hover_overlay, {
23164
- hovering: _ctx.hovering && !_ctx.disabled && !_ctx.formDisabled,
23165
- focusing: _ctx.isFocusing && !_ctx.disabled && !_ctx.formDisabled
23166
- }, null, 8, ["hovering", "focusing"])
23167
- ], 46, _hoisted_1$2)), [
23168
- [_directive_ripple, {
23169
- disabled: !_ctx.ripple || _ctx.disabled || _ctx.loading || _ctx.formDisabled || _ctx.readonly || _ctx.formReadonly
23170
- }]
23171
- ])
23172
- ],
23173
- 6
23174
- /* CLASS, STYLE */
23175
- ),
23176
- vue.createVNode(_component_var_form_details, { "error-message": _ctx.errorMessage }, null, 8, ["error-message"])
23177
- ],
23178
- 2
23179
- /* CLASS */
23180
- )), [
23158
+ vue.createVNode(_component_var_hover_overlay, {
23159
+ hovering: _ctx.hovering && !_ctx.disabled && !_ctx.formDisabled,
23160
+ focusing: _ctx.isFocusing && !_ctx.disabled && !_ctx.formDisabled
23161
+ }, null, 8, ["hovering", "focusing"])
23162
+ ], 46, _hoisted_2$2)), [
23163
+ [_directive_ripple, {
23164
+ disabled: !_ctx.ripple || _ctx.disabled || _ctx.loading || _ctx.formDisabled || _ctx.readonly || _ctx.formReadonly
23165
+ }]
23166
+ ])
23167
+ ],
23168
+ 6
23169
+ /* CLASS, STYLE */
23170
+ ),
23171
+ vue.createVNode(_component_var_form_details, { "error-message": _ctx.errorMessage }, null, 8, ["error-message"])
23172
+ ], 10, _hoisted_1$2)), [
23181
23173
  [_directive_hover, _ctx.hover, "desktop"]
23182
23174
  ]);
23183
23175
  }
@@ -26989,12 +26981,10 @@ const __sfc__$3 = vue.defineComponent({
26989
26981
  required: true
26990
26982
  },
26991
26983
  useSeconds: {
26992
- type: Boolean,
26993
- default: false
26984
+ type: Boolean
26994
26985
  },
26995
26986
  preventNextUpdate: {
26996
- type: Boolean,
26997
- default: false
26987
+ type: Boolean
26998
26988
  },
26999
26989
  type: {
27000
26990
  type: String,
@@ -27186,7 +27176,7 @@ const __sfc__$3 = vue.defineComponent({
27186
27176
  }
27187
27177
  disable24HourIndex.value = disableHour.value.map((hour) => hours24.findIndex((hour24) => hour === hour24)).filter((hour) => hour >= 0);
27188
27178
  },
27189
- { immediate: true }
27179
+ { immediate: true, deep: true }
27190
27180
  );
27191
27181
  return {
27192
27182
  n: n$3,
@@ -28499,7 +28489,7 @@ withInstall(stdin_default$1);
28499
28489
  withPropsDefaultsSetter(stdin_default$1, props);
28500
28490
  const _WatermarkComponent = stdin_default$1;
28501
28491
  var stdin_default = stdin_default$1;
28502
- const version = "3.2.3";
28492
+ const version = "3.2.5";
28503
28493
  function install(app) {
28504
28494
  stdin_default$5E.install && app.use(stdin_default$5E);
28505
28495
  stdin_default$5C.install && app.use(stdin_default$5C);