wave-ui 2.40.3 → 2.41.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.
@@ -1,34 +1,5 @@
1
1
  var __defProp = Object.defineProperty;
2
- var __defProps = Object.defineProperties;
3
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __spreadValues = (a, b) => {
9
- for (var prop in b || (b = {}))
10
- if (__hasOwnProp.call(b, prop))
11
- __defNormalProp(a, prop, b[prop]);
12
- if (__getOwnPropSymbols)
13
- for (var prop of __getOwnPropSymbols(b)) {
14
- if (__propIsEnum.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- }
17
- return a;
18
- };
19
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- var __objRest = (source, exclude) => {
21
- var target = {};
22
- for (var prop in source)
23
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
24
- target[prop] = source[prop];
25
- if (source != null && __getOwnPropSymbols)
26
- for (var prop of __getOwnPropSymbols(source)) {
27
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
28
- target[prop] = source[prop];
29
- }
30
- return target;
31
- };
32
3
  var __publicField = (obj, key, value) => {
33
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
34
5
  return value;
@@ -92,16 +63,17 @@ const _NotificationManager$1 = class {
92
63
  };
93
64
  }
94
65
  notify(...args) {
95
- let notification = __spreadProps(__spreadValues({}, this._notificationDefaults), { _uid: this._uid++ });
66
+ let notification = { ...this._notificationDefaults, _uid: this._uid++ };
96
67
  if (typeof args[0] === "object")
97
- notification = __spreadValues(__spreadValues({}, notification), args[0]);
68
+ notification = { ...notification, ...args[0] };
98
69
  else {
99
70
  const [message, type, timeout] = args;
100
- notification = __spreadProps(__spreadValues({}, notification), {
71
+ notification = {
72
+ ...notification,
101
73
  message: message || "",
102
74
  [type === void 0 ? "info" : type]: true,
103
75
  timeout: timeout || timeout === 0 ? parseFloat(timeout) : 4e3
104
- });
76
+ };
105
77
  }
106
78
  this.notifications.push(notification);
107
79
  if (~~notification.timeout !== 0)
@@ -437,7 +409,7 @@ const _WaveUI = class {
437
409
  obj[color.label] = color.color;
438
410
  color.shades.forEach((shade) => obj[shade.label] = shade.color);
439
411
  return obj;
440
- }, __spreadProps(__spreadValues({}, config.colors), { black: "#000", white: "#fff", transparent: "transparent", inherit: "inherit" })));
412
+ }, { ...config.colors, black: "#000", white: "#fff", transparent: "transparent", inherit: "inherit" }));
441
413
  __publicField(this, "config", {});
442
414
  if (_WaveUI.instance)
443
415
  return _WaveUI.instance;
@@ -465,6 +437,7 @@ const _WaveUI = class {
465
437
  }
466
438
  }
467
439
  this.config = config;
440
+ this.notify = (...args) => notificationManager.notify(...args);
468
441
  _WaveUI.instance = this;
469
442
  app.config.globalProperties.$waveui = reactive(this);
470
443
  }
@@ -662,7 +635,8 @@ const _sfc_main$P = {
662
635
  },
663
636
  updateItems() {
664
637
  const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items || [];
665
- this.accordionItems = items.map((item, _index) => __spreadProps(__spreadValues({}, item), {
638
+ this.accordionItems = items.map((item, _index) => ({
639
+ ...item,
666
640
  _index,
667
641
  _expanded: this.modelValue && this.modelValue[_index],
668
642
  _disabled: !!item.disabled
@@ -853,7 +827,7 @@ const _sfc_main$N = {
853
827
  },
854
828
  methods: {
855
829
  notifProps(notif) {
856
- const _a = notif, { _value, _uid, message, timeout } = _a, props = __objRest(_a, ["_value", "_uid", "message", "timeout"]);
830
+ const { _value, _uid, message, timeout, ...props } = notif;
857
831
  return props;
858
832
  }
859
833
  },
@@ -873,7 +847,7 @@ const cssVars = {
873
847
  const generateColors = (config2) => {
874
848
  let styles = "";
875
849
  const { cssScope } = cssVars;
876
- const _a = config2.colors, { info, warning, success, error } = _a, colors2 = __objRest(_a, ["info", "warning", "success", "error"]);
850
+ const { info, warning, success, error, ...colors2 } = config2.colors;
877
851
  for (const color in colors2) {
878
852
  styles += `${cssScope} .${color}--bg{background-color:${config2.colors[color]}}${cssScope} .${color}{color:${config2.colors[color]}}`;
879
853
  }
@@ -1336,7 +1310,8 @@ const _sfc_main$J = {
1336
1310
  return this.hasRouter ? this.$router.resolve(this.route).href : this.route;
1337
1311
  },
1338
1312
  listeners() {
1339
- return this.route && this.hasRouter && !this.forceLink && !this.externalLink ? __spreadProps(__spreadValues({}, this.$attrs), {
1313
+ return this.route && this.hasRouter && !this.forceLink && !this.externalLink ? {
1314
+ ...this.$attrs,
1340
1315
  click: (e) => {
1341
1316
  if (this.$attrs.click)
1342
1317
  this.$attrs.click(e);
@@ -1344,7 +1319,7 @@ const _sfc_main$J = {
1344
1319
  e.stopPropagation();
1345
1320
  e.preventDefault();
1346
1321
  }
1347
- }) : this.$attrs;
1322
+ } : this.$attrs;
1348
1323
  },
1349
1324
  size() {
1350
1325
  return this.xs && "xs" || this.sm && "sm" || this.lg && "lg" || this.xl && "xl" || "md";
@@ -1402,7 +1377,7 @@ function render$I(_ctx, _cache, $props, $setup, $data, $options) {
1402
1377
  }, [
1403
1378
  _ctx.$slots.title || $props.title ? (openBlock(), createElementBlock("div", {
1404
1379
  key: 0,
1405
- class: normalizeClass(["w-card__title", __spreadValues({ "w-card__title--has-toolbar": _ctx.$slots.title && $options.titleHasToolbar }, $options.titleClasses)])
1380
+ class: normalizeClass(["w-card__title", { "w-card__title--has-toolbar": _ctx.$slots.title && $options.titleHasToolbar, ...$options.titleClasses }])
1406
1381
  }, [
1407
1382
  renderSlot(_ctx.$slots, "title", {}, () => [
1408
1383
  createTextVNode(toDisplayString($props.title), 1)
@@ -1463,10 +1438,11 @@ const _sfc_main$I = {
1463
1438
  return actions && actions().map((vnode) => vnode.type.name).join("").includes("w-toolbar");
1464
1439
  },
1465
1440
  imgProps() {
1466
- return __spreadValues({
1441
+ return {
1467
1442
  tag: "div",
1468
- ratio: 1 / 2
1469
- }, this.imageProps);
1443
+ ratio: 1 / 2,
1444
+ ...this.imageProps
1445
+ };
1470
1446
  },
1471
1447
  classes() {
1472
1448
  return {
@@ -1733,13 +1709,14 @@ const _sfc_main$G = {
1733
1709
  checkboxItems() {
1734
1710
  return (this.items || []).map((item, i) => {
1735
1711
  const itemValue = item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey];
1736
- return reactive(__spreadProps(__spreadValues({}, item), {
1712
+ return reactive({
1713
+ ...item,
1737
1714
  label: item[this.itemLabelKey],
1738
1715
  _index: i,
1739
1716
  value: itemValue,
1740
1717
  color: item[this.itemColorKey] || this.color,
1741
1718
  _isChecked: this.modelValue && this.modelValue.includes(itemValue)
1742
- }));
1719
+ });
1743
1720
  });
1744
1721
  },
1745
1722
  classes() {
@@ -1778,7 +1755,7 @@ function render$F(_ctx, _cache, $props, $setup, $data, $options) {
1778
1755
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.showPopup = $event)
1779
1756
  }, $options.wMenuProps), {
1780
1757
  activator: withCtx(({ on }) => [
1781
- createVNode(_component_w_button, mergeProps({ class: "w-confirm__button" }, __spreadValues(__spreadValues(__spreadValues({}, _ctx.$attrs), $options.buttonProps), on)), {
1758
+ createVNode(_component_w_button, mergeProps({ class: "w-confirm__button" }, { ..._ctx.$attrs, ...$options.buttonProps, ...on }), {
1782
1759
  default: withCtx(() => [
1783
1760
  renderSlot(_ctx.$slots, "default")
1784
1761
  ]),
@@ -1870,7 +1847,7 @@ const _sfc_main$F = {
1870
1847
  return button;
1871
1848
  },
1872
1849
  cancelButtonProps() {
1873
- const _a = this.cancelButton, { label } = _a, props = __objRest(_a, ["label"]);
1850
+ const { label, ...props } = this.cancelButton;
1874
1851
  return props;
1875
1852
  },
1876
1853
  confirmButton() {
@@ -1880,11 +1857,11 @@ const _sfc_main$F = {
1880
1857
  return button;
1881
1858
  },
1882
1859
  confirmButtonProps() {
1883
- const _a = this.confirmButton, { label } = _a, props = __objRest(_a, ["label"]);
1860
+ const { label, ...props } = this.confirmButton;
1884
1861
  return props;
1885
1862
  },
1886
1863
  wMenuProps() {
1887
- return __spreadValues({
1864
+ return {
1888
1865
  top: this.top,
1889
1866
  bottom: this.bottom,
1890
1867
  left: this.left,
@@ -1895,15 +1872,17 @@ const _sfc_main$F = {
1895
1872
  alignLeft: this.alignLeft,
1896
1873
  alignRight: this.alignRight,
1897
1874
  persistent: this.persistent,
1898
- transition: this.transition
1899
- }, this.menu);
1875
+ transition: this.transition,
1876
+ ...this.menu
1877
+ };
1900
1878
  },
1901
1879
  buttonProps() {
1902
- return __spreadValues({
1880
+ return {
1903
1881
  bgColor: this.bgColor,
1904
1882
  color: this.color,
1905
- icon: this.icon
1906
- }, this.mainButton);
1883
+ icon: this.icon,
1884
+ ...this.mainButton
1885
+ };
1907
1886
  }
1908
1887
  },
1909
1888
  methods: {
@@ -2667,7 +2646,10 @@ const _sfc_main$x = {
2667
2646
  return obj;
2668
2647
  }, {});
2669
2648
  }
2670
- return __spreadValues(__spreadValues({}, breakpointsColumns || { [`columns${this.columns}`]: this.columns }), breakpointsGap || { [`gap${this.gap}`]: this.gap });
2649
+ return {
2650
+ ...breakpointsColumns || { [`columns${this.columns}`]: this.columns },
2651
+ ...breakpointsGap || { [`gap${this.gap}`]: this.gap }
2652
+ };
2671
2653
  }
2672
2654
  }
2673
2655
  };
@@ -3178,15 +3160,15 @@ const _sfc_main$u = {
3178
3160
  },
3179
3161
  computed: {
3180
3162
  attrs() {
3181
- const _a = this.$attrs, { class: classes } = _a, attrs = __objRest(_a, ["class"]);
3163
+ const { class: classes, ...attrs } = this.$attrs;
3182
3164
  return attrs;
3183
3165
  },
3184
3166
  listeners() {
3185
- const _a = this.$attrs, { input, focus, blur } = _a, listeners = __objRest(_a, ["input", "focus", "blur"]);
3167
+ const { input, focus, blur, ...listeners } = this.$attrs;
3186
3168
  return listeners;
3187
3169
  },
3188
3170
  attrs() {
3189
- const _a = this.$attrs, { class: Class } = _a, htmlAttrs = __objRest(_a, ["class"]);
3171
+ const { class: Class, ...htmlAttrs } = this.$attrs;
3190
3172
  return htmlAttrs;
3191
3173
  },
3192
3174
  hasValue() {
@@ -3602,7 +3584,7 @@ const _sfc_main$t = {
3602
3584
  const items = this.selectedItems.map((item) => {
3603
3585
  if (!this.returnObject)
3604
3586
  return item._value;
3605
- const _a = item, { _value, _selected } = _a, Item = __objRest(_a, ["_value", "_selected"]);
3587
+ const { _value, _selected, ...Item } = item;
3606
3588
  return Item;
3607
3589
  });
3608
3590
  const selection = this.isMultipleSelect ? items : items[0] !== void 0 ? items[0] : null;
@@ -3617,12 +3599,13 @@ const _sfc_main$t = {
3617
3599
  this.$el.querySelector(`#${this.listId}_item-${index2 + 1}`).focus();
3618
3600
  },
3619
3601
  cleanLi(li) {
3620
- const _a = li, { _index, _value, _label, _selected, _focused } = _a, cleanLi = __objRest(_a, ["_index", "_value", "_label", "_selected", "_focused"]);
3602
+ const { _index, _value, _label, _selected, _focused, ...cleanLi } = li;
3621
3603
  return cleanLi;
3622
3604
  },
3623
3605
  refreshListItems() {
3624
3606
  const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items || [];
3625
- this.listItems = items.map((item, i) => __spreadProps(__spreadValues({}, item), {
3607
+ this.listItems = items.map((item, i) => ({
3608
+ ...item,
3626
3609
  _index: i,
3627
3610
  _value: item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey],
3628
3611
  _selected: item._selected || false,
@@ -3770,10 +3753,11 @@ var DetachableMixin = {
3770
3753
  if (!this.fixed) {
3771
3754
  const { top: targetTop, left: targetLeft } = this.detachableParentEl.getBoundingClientRect();
3772
3755
  const computedStyles = window.getComputedStyle(this.detachableParentEl, null);
3773
- coords = __spreadProps(__spreadValues({}, coords), {
3756
+ coords = {
3757
+ ...coords,
3774
3758
  top: top - targetTop + this.detachableParentEl.scrollTop - parseInt(computedStyles.getPropertyValue("border-top-width")),
3775
3759
  left: left - targetLeft + this.detachableParentEl.scrollLeft - parseInt(computedStyles.getPropertyValue("border-left-width"))
3776
- });
3760
+ };
3777
3761
  }
3778
3762
  return coords;
3779
3763
  },
@@ -4050,15 +4034,16 @@ const _sfc_main$s = {
4050
4034
  return objectifyClasses(this.contentClass);
4051
4035
  },
4052
4036
  overlayClasses() {
4053
- return __spreadProps(__spreadValues({}, objectifyClasses(this.overlayClass)), {
4037
+ return {
4038
+ ...objectifyClasses(this.overlayClass),
4054
4039
  "w-overlay--no-pointer-event": this.showOnHover
4055
- });
4040
+ };
4056
4041
  },
4057
4042
  classes() {
4058
- return __spreadProps(__spreadValues({
4043
+ return {
4059
4044
  [this.color]: this.color,
4060
- [`${this.bgColor}--bg`]: this.bgColor
4061
- }, this.menuClasses), {
4045
+ [`${this.bgColor}--bg`]: this.bgColor,
4046
+ ...this.menuClasses,
4062
4047
  [`w-menu--${this.position}`]: !this.noPosition,
4063
4048
  [`w-menu--align-${this.alignment}`]: !this.noPosition && this.alignment,
4064
4049
  "w-menu--tile": this.tile,
@@ -4067,7 +4052,7 @@ const _sfc_main$s = {
4067
4052
  "w-menu--arrow": this.arrow,
4068
4053
  "w-menu--shadow": this.shadow,
4069
4054
  "w-menu--fixed": this.fixed
4070
- });
4055
+ };
4071
4056
  },
4072
4057
  styles() {
4073
4058
  return {
@@ -4742,7 +4727,8 @@ const _sfc_main$m = {
4742
4727
  }),
4743
4728
  computed: {
4744
4729
  radioItems() {
4745
- return (this.items || []).map((item, i) => __spreadProps(__spreadValues({}, item), {
4730
+ return (this.items || []).map((item, i) => ({
4731
+ ...item,
4746
4732
  _index: i,
4747
4733
  label: item[this.itemLabelKey],
4748
4734
  value: item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey],
@@ -5147,7 +5133,7 @@ const _sfc_main$k = {
5147
5133
  computed: {
5148
5134
  selectItems() {
5149
5135
  return this.items.map((item, i) => {
5150
- const obj = __spreadValues({}, item);
5136
+ const obj = { ...item };
5151
5137
  obj.value = obj[this.itemValueKey] === void 0 ? obj[this.itemLabelKey] || i : obj[this.itemValueKey];
5152
5138
  obj.index = i;
5153
5139
  return obj;
@@ -5163,7 +5149,9 @@ const _sfc_main$k = {
5163
5149
  return !this.staticLabel || !this.hasValue && !this.placeholder;
5164
5150
  },
5165
5151
  selectionString() {
5166
- return this.inputValue && this.inputValue.map((item) => item[this.itemValueKey] !== void 0 ? item[this.itemLabelKey] : item[this.itemLabelKey] !== void 0 ? item[this.itemLabelKey] : item).join(", ");
5152
+ return this.inputValue && this.inputValue.map(
5153
+ (item) => item[this.itemValueKey] !== void 0 ? item[this.itemLabelKey] : item[this.itemLabelKey] !== void 0 ? item[this.itemLabelKey] : item
5154
+ ).join(", ");
5167
5155
  },
5168
5156
  classes() {
5169
5157
  return {
@@ -5943,10 +5931,11 @@ const _sfc_main$e = {
5943
5931
  },
5944
5932
  tabsItems() {
5945
5933
  const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items;
5946
- return items.map((item, _index) => reactive(__spreadProps(__spreadValues({}, item), {
5934
+ return items.map((item, _index) => reactive({
5935
+ ...item,
5947
5936
  _index,
5948
5937
  _disabled: !!item.disabled
5949
- })));
5938
+ }));
5950
5939
  },
5951
5940
  activeTab() {
5952
5941
  return this.tabsItems[this.activeTabIndex] || this.tabsItems[0] || {};
@@ -6215,7 +6204,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
6215
6204
  (openBlock(true), createElementBlock(Fragment, null, renderList($props.headers, (header, j) => {
6216
6205
  return openBlock(), createElementBlock(Fragment, null, [
6217
6206
  _ctx.$slots[`item-cell.${header.key}`] || _ctx.$slots[`item-cell.${j + 1}`] || _ctx.$slots["item-cell"] ? (openBlock(), createElementBlock("td", {
6218
- class: normalizeClass(["w-table__cell", `text-${header.align || "left"}`]),
6207
+ class: normalizeClass(["w-table__cell", { [`text-${header.align || "left"}`]: true, "w-table__cell--sticky": header.sticky }]),
6219
6208
  key: `${j}-a`,
6220
6209
  "data-label": header.label
6221
6210
  }, [
@@ -6243,7 +6232,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
6243
6232
  class: normalizeClass(["w-table__col-resizer", { "w-table__col-resizer--hover": _ctx.colResizing.hover === j, "w-table__col-resizer--active": _ctx.colResizing.columnIndex === j }])
6244
6233
  }, null, 2)) : createCommentVNode("", true)
6245
6234
  ], 10, _hoisted_16)) : (openBlock(), createElementBlock("td", {
6246
- class: normalizeClass(["w-table__cell", `text-${header.align || "left"}`]),
6235
+ class: normalizeClass(["w-table__cell", { [`text-${header.align || "left"}`]: true, "w-table__cell--sticky": header.sticky }]),
6247
6236
  key: `${j}-b`,
6248
6237
  "data-label": header.label
6249
6238
  }, [
@@ -6307,6 +6296,7 @@ const _sfc_main$d = {
6307
6296
  items: { type: Array, required: true },
6308
6297
  headers: { type: Array, required: true },
6309
6298
  noHeaders: { type: Boolean },
6299
+ fixedLayout: { type: Boolean },
6310
6300
  fixedHeaders: { type: Boolean },
6311
6301
  fixedFooter: { type: Boolean },
6312
6302
  loading: { type: Boolean },
@@ -6314,7 +6304,9 @@ const _sfc_main$d = {
6314
6304
  expandableRows: {
6315
6305
  validator: (value) => {
6316
6306
  if (![void 0, true, false, 1, "1", ""].includes(value)) {
6317
- consoleError(`Wrong value for the w-table's \`expandableRows\` prop. Given: "${value}", expected one of: [undefined, true, false, 1, '1', ''].`);
6307
+ consoleError(
6308
+ `Wrong value for the w-table's \`expandableRows\` prop. Given: "${value}", expected one of: [undefined, true, false, 1, '1', ''].`
6309
+ );
6318
6310
  }
6319
6311
  return true;
6320
6312
  }
@@ -6323,7 +6315,9 @@ const _sfc_main$d = {
6323
6315
  selectableRows: {
6324
6316
  validator: (value) => {
6325
6317
  if (![void 0, true, false, 1, "1", ""].includes(value)) {
6326
- consoleError(`Wrong value for the w-table's \`selectableRows\` prop. Given: "${value}", expected one of: [undefined, true, false, 1, '1', ''].`);
6318
+ consoleError(
6319
+ `Wrong value for the w-table's \`selectableRows\` prop. Given: "${value}", expected one of: [undefined, true, false, 1, '1', ''].`
6320
+ );
6327
6321
  }
6328
6322
  return true;
6329
6323
  }
@@ -6397,16 +6391,21 @@ const _sfc_main$d = {
6397
6391
  },
6398
6392
  classes() {
6399
6393
  return {
6394
+ "w-table--fixed-layout": this.fixedLayout || this.resizableColumns || this.hasStickyColumn,
6400
6395
  "w-table--mobile": this.isMobile || null,
6401
6396
  "w-table--resizable-cols": this.resizableColumns || null,
6402
6397
  "w-table--resizing": this.colResizing.dragging,
6403
6398
  "w-table--fixed-header": this.fixedHeaders,
6404
- "w-table--fixed-footer": this.fixedFooter
6399
+ "w-table--fixed-footer": this.fixedFooter,
6400
+ "w-table--sticky-column": this.hasStickyColumn
6405
6401
  };
6406
6402
  },
6407
6403
  isMobile() {
6408
6404
  return ~~this.mobileBreakpoint && this.$waveui.breakpoint.width <= ~~this.mobileBreakpoint;
6409
6405
  },
6406
+ hasStickyColumn() {
6407
+ return this.headers.find((header) => header.sticky);
6408
+ },
6410
6409
  selectedRowsByUid() {
6411
6410
  return this.selectedRowsInternal.reduce((obj, uid) => (obj[uid] = true) && obj, {});
6412
6411
  },
@@ -6418,6 +6417,7 @@ const _sfc_main$d = {
6418
6417
  headerClasses(header) {
6419
6418
  return {
6420
6419
  "w-table__header--sortable": header.sortable !== false,
6420
+ "w-table__header--sticky": header.sticky,
6421
6421
  "w-table__header--resizable": !!this.resizableColumns,
6422
6422
  [`text-${header.align || "left"}`]: true
6423
6423
  };
@@ -6451,12 +6451,15 @@ const _sfc_main$d = {
6451
6451
  this.expandedRowsInternal.push(item._uid);
6452
6452
  } else
6453
6453
  this.expandedRowsInternal = this.expandedRowsInternal.filter((uid) => uid !== item._uid);
6454
- this.$emit("row-expand", {
6455
- item,
6456
- index: index2,
6457
- expanded: isExpanding,
6458
- expandedRows: this.expandedRowsInternal.map((uid) => this.filteredItems[uid])
6459
- });
6454
+ this.$emit(
6455
+ "row-expand",
6456
+ {
6457
+ item,
6458
+ index: index2,
6459
+ expanded: isExpanding,
6460
+ expandedRows: this.expandedRowsInternal.map((uid) => this.filteredItems[uid])
6461
+ }
6462
+ );
6460
6463
  this.$emit("update:expanded-rows", this.expandedRowsInternal);
6461
6464
  } else if (selectable) {
6462
6465
  let updated = false;
@@ -6472,12 +6475,15 @@ const _sfc_main$d = {
6472
6475
  updated = true;
6473
6476
  }
6474
6477
  if (updated) {
6475
- this.$emit("row-select", {
6476
- item,
6477
- index: index2,
6478
- selected: isSelecting,
6479
- selectedRows: this.selectedRowsInternal.map((uid) => this.filteredItems[uid])
6480
- });
6478
+ this.$emit(
6479
+ "row-select",
6480
+ {
6481
+ item,
6482
+ index: index2,
6483
+ selected: isSelecting,
6484
+ selectedRows: this.selectedRowsInternal.map((uid) => this.filteredItems[uid])
6485
+ }
6486
+ );
6481
6487
  this.$emit("update:selected-rows", this.selectedRowsInternal);
6482
6488
  }
6483
6489
  }
@@ -6800,7 +6806,7 @@ const _sfc_main$b = {
6800
6806
  },
6801
6807
  computed: {
6802
6808
  listeners() {
6803
- const _a = this.$attrs, { input, focus, blur } = _a, listeners = __objRest(_a, ["input", "focus", "blur"]);
6809
+ const { input, focus, blur, ...listeners } = this.$attrs;
6804
6810
  return listeners;
6805
6811
  },
6806
6812
  hasValue() {
@@ -7071,10 +7077,10 @@ const _sfc_main$8 = {
7071
7077
  return this.transition || `w-tooltip-slide-fade-${direction}`;
7072
7078
  },
7073
7079
  classes() {
7074
- return __spreadProps(__spreadValues({
7080
+ return {
7075
7081
  [this.color]: this.color,
7076
- [`${this.bgColor}--bg`]: this.bgColor
7077
- }, this.tooltipClasses), {
7082
+ [`${this.bgColor}--bg`]: this.bgColor,
7083
+ ...this.tooltipClasses,
7078
7084
  [`w-tooltip--${this.position}`]: !this.noPosition,
7079
7085
  [`w-tooltip--align-${this.alignment}`]: !this.noPosition && this.alignment,
7080
7086
  "w-tooltip--tile": this.tile,
@@ -7083,7 +7089,7 @@ const _sfc_main$8 = {
7083
7089
  "w-tooltip--fixed": this.fixed,
7084
7090
  "w-tooltip--no-border": this.noBorder || this.bgColor,
7085
7091
  "w-tooltip--custom-transition": this.transition
7086
- });
7092
+ };
7087
7093
  },
7088
7094
  styles() {
7089
7095
  return {
@@ -7523,5 +7529,5 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
7523
7529
  WTransitionTwist: wTransitionTwist
7524
7530
  }, Symbol.toStringTag, { value: "Module" }));
7525
7531
  const install = WaveUI.install;
7526
- WaveUI.install = (app, options = {}) => install.call(WaveUI, app, __spreadValues({ components }, options));
7532
+ WaveUI.install = (app, options = {}) => install.call(WaveUI, app, { components, ...options });
7527
7533
  export { WaveUI as default };