wave-ui 2.42.1 → 2.42.2

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.
@@ -666,7 +666,7 @@ function render$O(_ctx, _cache, $props, $setup, $data, $options) {
666
666
  return $data.show ? (openBlock(), createElementBlock("div", mergeProps({
667
667
  key: 0,
668
668
  class: "w-alert"
669
- }, toHandlers(_ctx.$attrs), { class: $options.classes }), [
669
+ }, toHandlers(_ctx.$attrs, true), { class: $options.classes }), [
670
670
  $options.type || $props.icon || $props.dismiss ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
671
671
  $options.type || $props.icon ? (openBlock(), createBlock(_component_w_icon, {
672
672
  key: 0,
@@ -1046,7 +1046,7 @@ const _sfc_main$M = {
1046
1046
  };
1047
1047
  var wApp = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", render$M]]);
1048
1048
  function render$L(_ctx, _cache, $props, $setup, $data, $options) {
1049
- return openBlock(), createElementBlock("div", mergeProps({ class: "w-badge-wrap" }, toHandlers(_ctx.$attrs)), [
1049
+ return openBlock(), createElementBlock("div", mergeProps({ class: "w-badge-wrap" }, toHandlers(_ctx.$attrs, true)), [
1050
1050
  renderSlot(_ctx.$slots, "default"),
1051
1051
  createVNode(Transition, {
1052
1052
  name: `${$props.transition}`
@@ -1331,7 +1331,7 @@ const _sfc_main$J = {
1331
1331
  ];
1332
1332
  },
1333
1333
  externalLink() {
1334
- return /^(https?:)?\/\//.test(this.route);
1334
+ return /^(https?:)?\/\/|mailto:|tel:/.test(this.route);
1335
1335
  },
1336
1336
  classes() {
1337
1337
  return {
@@ -1960,13 +1960,15 @@ function render$D(_ctx, _cache, $props, $setup, $data, $options) {
1960
1960
  name: "title",
1961
1961
  fn: withCtx(() => [
1962
1962
  renderSlot(_ctx.$slots, "title")
1963
- ])
1963
+ ]),
1964
+ key: "0"
1964
1965
  } : void 0,
1965
1966
  _ctx.$slots.actions ? {
1966
1967
  name: "actions",
1967
1968
  fn: withCtx(() => [
1968
1969
  renderSlot(_ctx.$slots, "actions")
1969
- ])
1970
+ ]),
1971
+ key: "1"
1970
1972
  } : void 0
1971
1973
  ]), 1032, ["color", "bg-color", "class", "title-class", "content-class", "title", "style"]), [
1972
1974
  [vShow, $data.showContent]
@@ -2982,7 +2984,7 @@ function render$u(_ctx, _cache, $props, $setup, $data, $options) {
2982
2984
  class: "w-input__input",
2983
2985
  ref: "input",
2984
2986
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.inputValue = $event)
2985
- }, toHandlers($options.listeners), {
2987
+ }, toHandlers($options.listeners, true), {
2986
2988
  onInput: _cache[3] || (_cache[3] = (...args) => $options.onInput && $options.onInput(...args)),
2987
2989
  onFocus: _cache[4] || (_cache[4] = (...args) => $options.onFocus && $options.onFocus(...args)),
2988
2990
  onBlur: _cache[5] || (_cache[5] = (...args) => $options.onBlur && $options.onBlur(...args)),
@@ -3377,7 +3379,8 @@ function render$t(_ctx, _cache, $props, $setup, $data, $options) {
3377
3379
  index: index2,
3378
3380
  selected
3379
3381
  })
3380
- ])
3382
+ ]),
3383
+ key: "0"
3381
3384
  } : {
3382
3385
  name: "default",
3383
3386
  fn: withCtx(({ item, index: index2, selected }) => [
@@ -3388,7 +3391,8 @@ function render$t(_ctx, _cache, $props, $setup, $data, $options) {
3388
3391
  }, () => [
3389
3392
  createTextVNode(toDisplayString(item[$props.itemLabelKey]), 1)
3390
3393
  ])
3391
- ])
3394
+ ]),
3395
+ key: "1"
3392
3396
  }
3393
3397
  ]), 1040, ["items", "depth"])) : createCommentVNode("", true)
3394
3398
  ], 2);
@@ -3942,13 +3946,15 @@ function render$s(_ctx, _cache, $props, $setup, $data, $options) {
3942
3946
  name: "title",
3943
3947
  fn: withCtx(() => [
3944
3948
  renderSlot(_ctx.$slots, "title")
3945
- ])
3949
+ ]),
3950
+ key: "0"
3946
3951
  } : void 0,
3947
3952
  _ctx.$slots.actions ? {
3948
3953
  name: "actions",
3949
3954
  fn: withCtx(() => [
3950
3955
  renderSlot(_ctx.$slots, "actions")
3951
- ])
3956
+ ]),
3957
+ key: "1"
3952
3958
  } : void 0
3953
3959
  ]), 1040, ["tile", "title-class", "content-class", "shadow", "no-border", "class", "style"])) : createCommentVNode("", true)
3954
3960
  ]),
@@ -5679,7 +5685,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
5679
5685
  _ctx.$refs.input.focus();
5680
5686
  _ctx.$refs.input.click();
5681
5687
  })
5682
- }, toHandlers(_ctx.$attrs), { class: $options.inputClasses }), [
5688
+ }, toHandlers(_ctx.$attrs, true), { class: $options.inputClasses }), [
5683
5689
  _ctx.$slots.track ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
5684
5690
  renderSlot(_ctx.$slots, "track")
5685
5691
  ])) : createCommentVNode("", true),
@@ -6589,7 +6595,7 @@ const _sfc_main$d = {
6589
6595
  var wTable = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", render$d]]);
6590
6596
  const _hoisted_1$2 = ["role", "aria-pressed", "tabindex"];
6591
6597
  function render$c(_ctx, _cache, $props, $setup, $data, $options) {
6592
- return openBlock(), createElementBlock("span", mergeProps({ class: "w-tag" }, toHandlers(_ctx.$attrs), {
6598
+ return openBlock(), createElementBlock("span", mergeProps({ class: "w-tag" }, toHandlers(_ctx.$attrs, true), {
6593
6599
  onClick: _cache[1] || (_cache[1] = ($event) => {
6594
6600
  _ctx.$emit("update:modelValue", !$props.modelValue);
6595
6601
  _ctx.$emit("input", !$props.modelValue);
@@ -6714,7 +6720,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
6714
6720
  class: "w-textarea__textarea",
6715
6721
  ref: "textarea",
6716
6722
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.inputValue = $event)
6717
- }, toHandlers($options.listeners), {
6723
+ }, toHandlers($options.listeners, true), {
6718
6724
  onInput: _cache[2] || (_cache[2] = (...args) => $options.onInput && $options.onInput(...args)),
6719
6725
  onFocus: _cache[3] || (_cache[3] = (...args) => $options.onFocus && $options.onFocus(...args)),
6720
6726
  onBlur: _cache[4] || (_cache[4] = (...args) => $options.onBlur && $options.onBlur(...args)),