wave-ui 2.42.2 → 2.43.0

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.
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { reactive, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createElementVNode, withKeys, createBlock, withModifiers, createCommentVNode, renderSlot, createVNode, withCtx, mergeProps, toHandlers, createTextVNode, toDisplayString, TransitionGroup, Transition, normalizeStyle, resolveDynamicComponent, withDirectives, createSlots, vShow, vModelText, vModelDynamic, resolveDirective, KeepAlive } from "vue";
7
+ import { reactive, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createElementVNode, withKeys, createBlock, withModifiers, createCommentVNode, renderSlot, createVNode, withCtx, mergeProps, toHandlers, createTextVNode, toDisplayString, TransitionGroup, Transition, normalizeStyle, resolveDynamicComponent, normalizeProps, withDirectives, createSlots, vShow, vModelText, vModelDynamic, resolveDirective, KeepAlive } from "vue";
8
8
  const config = reactive({
9
9
  breakpoints: {
10
10
  xs: 600,
@@ -1248,12 +1248,12 @@ function render$J(_ctx, _cache, $props, $setup, $data, $options) {
1248
1248
  disabled: !!$props.disabled || null
1249
1249
  }, toHandlers($options.listeners), _ctx.$attrs, { style: $options.styles }), {
1250
1250
  default: withCtx(() => [
1251
- $props.icon ? (openBlock(), createBlock(_component_w_icon, { key: 0 }, {
1251
+ $props.icon ? (openBlock(), createBlock(_component_w_icon, normalizeProps(mergeProps({ key: 0 }, $props.iconProps || {})), {
1252
1252
  default: withCtx(() => [
1253
1253
  createTextVNode(toDisplayString($props.icon), 1)
1254
1254
  ]),
1255
1255
  _: 1
1256
- })) : renderSlot(_ctx.$slots, "default", { key: 1 }),
1256
+ }, 16)) : renderSlot(_ctx.$slots, "default", { key: 1 }),
1257
1257
  createVNode(Transition, { name: "scale-fade" }, {
1258
1258
  default: withCtx(() => [
1259
1259
  $props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
@@ -1286,6 +1286,7 @@ const _sfc_main$J = {
1286
1286
  disabled: { type: Boolean },
1287
1287
  loading: { type: Boolean },
1288
1288
  icon: { type: String, default: null },
1289
+ iconProps: { type: Object, default: () => ({}) },
1289
1290
  absolute: { type: Boolean },
1290
1291
  fixed: { type: Boolean },
1291
1292
  top: { type: Boolean },
@@ -3664,7 +3665,7 @@ var DetachableMixin = {
3664
3665
  alignRight: { type: Boolean },
3665
3666
  noPosition: { type: Boolean },
3666
3667
  zIndex: { type: [Number, String, Boolean] },
3667
- activator: { type: [String, Object, HTMLElement] }
3668
+ activator: { type: [String, Object] }
3668
3669
  },
3669
3670
  inject: {
3670
3671
  detachableDefaultRoot: { default: null }