wave-ui 2.40.5 → 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;
@@ -663,7 +635,8 @@ const _sfc_main$P = {
663
635
  },
664
636
  updateItems() {
665
637
  const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items || [];
666
- this.accordionItems = items.map((item, _index) => __spreadProps(__spreadValues({}, item), {
638
+ this.accordionItems = items.map((item, _index) => ({
639
+ ...item,
667
640
  _index,
668
641
  _expanded: this.modelValue && this.modelValue[_index],
669
642
  _disabled: !!item.disabled
@@ -854,7 +827,7 @@ const _sfc_main$N = {
854
827
  },
855
828
  methods: {
856
829
  notifProps(notif) {
857
- const _a = notif, { _value, _uid, message, timeout } = _a, props = __objRest(_a, ["_value", "_uid", "message", "timeout"]);
830
+ const { _value, _uid, message, timeout, ...props } = notif;
858
831
  return props;
859
832
  }
860
833
  },
@@ -874,7 +847,7 @@ const cssVars = {
874
847
  const generateColors = (config2) => {
875
848
  let styles = "";
876
849
  const { cssScope } = cssVars;
877
- 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;
878
851
  for (const color in colors2) {
879
852
  styles += `${cssScope} .${color}--bg{background-color:${config2.colors[color]}}${cssScope} .${color}{color:${config2.colors[color]}}`;
880
853
  }
@@ -1337,7 +1310,8 @@ const _sfc_main$J = {
1337
1310
  return this.hasRouter ? this.$router.resolve(this.route).href : this.route;
1338
1311
  },
1339
1312
  listeners() {
1340
- 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,
1341
1315
  click: (e) => {
1342
1316
  if (this.$attrs.click)
1343
1317
  this.$attrs.click(e);
@@ -1345,7 +1319,7 @@ const _sfc_main$J = {
1345
1319
  e.stopPropagation();
1346
1320
  e.preventDefault();
1347
1321
  }
1348
- }) : this.$attrs;
1322
+ } : this.$attrs;
1349
1323
  },
1350
1324
  size() {
1351
1325
  return this.xs && "xs" || this.sm && "sm" || this.lg && "lg" || this.xl && "xl" || "md";
@@ -1403,7 +1377,7 @@ function render$I(_ctx, _cache, $props, $setup, $data, $options) {
1403
1377
  }, [
1404
1378
  _ctx.$slots.title || $props.title ? (openBlock(), createElementBlock("div", {
1405
1379
  key: 0,
1406
- 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 }])
1407
1381
  }, [
1408
1382
  renderSlot(_ctx.$slots, "title", {}, () => [
1409
1383
  createTextVNode(toDisplayString($props.title), 1)
@@ -1464,10 +1438,11 @@ const _sfc_main$I = {
1464
1438
  return actions && actions().map((vnode) => vnode.type.name).join("").includes("w-toolbar");
1465
1439
  },
1466
1440
  imgProps() {
1467
- return __spreadValues({
1441
+ return {
1468
1442
  tag: "div",
1469
- ratio: 1 / 2
1470
- }, this.imageProps);
1443
+ ratio: 1 / 2,
1444
+ ...this.imageProps
1445
+ };
1471
1446
  },
1472
1447
  classes() {
1473
1448
  return {
@@ -1734,13 +1709,14 @@ const _sfc_main$G = {
1734
1709
  checkboxItems() {
1735
1710
  return (this.items || []).map((item, i) => {
1736
1711
  const itemValue = item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey];
1737
- return reactive(__spreadProps(__spreadValues({}, item), {
1712
+ return reactive({
1713
+ ...item,
1738
1714
  label: item[this.itemLabelKey],
1739
1715
  _index: i,
1740
1716
  value: itemValue,
1741
1717
  color: item[this.itemColorKey] || this.color,
1742
1718
  _isChecked: this.modelValue && this.modelValue.includes(itemValue)
1743
- }));
1719
+ });
1744
1720
  });
1745
1721
  },
1746
1722
  classes() {
@@ -1779,7 +1755,7 @@ function render$F(_ctx, _cache, $props, $setup, $data, $options) {
1779
1755
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.showPopup = $event)
1780
1756
  }, $options.wMenuProps), {
1781
1757
  activator: withCtx(({ on }) => [
1782
- 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 }), {
1783
1759
  default: withCtx(() => [
1784
1760
  renderSlot(_ctx.$slots, "default")
1785
1761
  ]),
@@ -1871,7 +1847,7 @@ const _sfc_main$F = {
1871
1847
  return button;
1872
1848
  },
1873
1849
  cancelButtonProps() {
1874
- const _a = this.cancelButton, { label } = _a, props = __objRest(_a, ["label"]);
1850
+ const { label, ...props } = this.cancelButton;
1875
1851
  return props;
1876
1852
  },
1877
1853
  confirmButton() {
@@ -1881,11 +1857,11 @@ const _sfc_main$F = {
1881
1857
  return button;
1882
1858
  },
1883
1859
  confirmButtonProps() {
1884
- const _a = this.confirmButton, { label } = _a, props = __objRest(_a, ["label"]);
1860
+ const { label, ...props } = this.confirmButton;
1885
1861
  return props;
1886
1862
  },
1887
1863
  wMenuProps() {
1888
- return __spreadValues({
1864
+ return {
1889
1865
  top: this.top,
1890
1866
  bottom: this.bottom,
1891
1867
  left: this.left,
@@ -1896,15 +1872,17 @@ const _sfc_main$F = {
1896
1872
  alignLeft: this.alignLeft,
1897
1873
  alignRight: this.alignRight,
1898
1874
  persistent: this.persistent,
1899
- transition: this.transition
1900
- }, this.menu);
1875
+ transition: this.transition,
1876
+ ...this.menu
1877
+ };
1901
1878
  },
1902
1879
  buttonProps() {
1903
- return __spreadValues({
1880
+ return {
1904
1881
  bgColor: this.bgColor,
1905
1882
  color: this.color,
1906
- icon: this.icon
1907
- }, this.mainButton);
1883
+ icon: this.icon,
1884
+ ...this.mainButton
1885
+ };
1908
1886
  }
1909
1887
  },
1910
1888
  methods: {
@@ -2668,7 +2646,10 @@ const _sfc_main$x = {
2668
2646
  return obj;
2669
2647
  }, {});
2670
2648
  }
2671
- 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
+ };
2672
2653
  }
2673
2654
  }
2674
2655
  };
@@ -3179,15 +3160,15 @@ const _sfc_main$u = {
3179
3160
  },
3180
3161
  computed: {
3181
3162
  attrs() {
3182
- const _a = this.$attrs, { class: classes } = _a, attrs = __objRest(_a, ["class"]);
3163
+ const { class: classes, ...attrs } = this.$attrs;
3183
3164
  return attrs;
3184
3165
  },
3185
3166
  listeners() {
3186
- const _a = this.$attrs, { input, focus, blur } = _a, listeners = __objRest(_a, ["input", "focus", "blur"]);
3167
+ const { input, focus, blur, ...listeners } = this.$attrs;
3187
3168
  return listeners;
3188
3169
  },
3189
3170
  attrs() {
3190
- const _a = this.$attrs, { class: Class } = _a, htmlAttrs = __objRest(_a, ["class"]);
3171
+ const { class: Class, ...htmlAttrs } = this.$attrs;
3191
3172
  return htmlAttrs;
3192
3173
  },
3193
3174
  hasValue() {
@@ -3603,7 +3584,7 @@ const _sfc_main$t = {
3603
3584
  const items = this.selectedItems.map((item) => {
3604
3585
  if (!this.returnObject)
3605
3586
  return item._value;
3606
- const _a = item, { _value, _selected } = _a, Item = __objRest(_a, ["_value", "_selected"]);
3587
+ const { _value, _selected, ...Item } = item;
3607
3588
  return Item;
3608
3589
  });
3609
3590
  const selection = this.isMultipleSelect ? items : items[0] !== void 0 ? items[0] : null;
@@ -3618,12 +3599,13 @@ const _sfc_main$t = {
3618
3599
  this.$el.querySelector(`#${this.listId}_item-${index2 + 1}`).focus();
3619
3600
  },
3620
3601
  cleanLi(li) {
3621
- 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;
3622
3603
  return cleanLi;
3623
3604
  },
3624
3605
  refreshListItems() {
3625
3606
  const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items || [];
3626
- this.listItems = items.map((item, i) => __spreadProps(__spreadValues({}, item), {
3607
+ this.listItems = items.map((item, i) => ({
3608
+ ...item,
3627
3609
  _index: i,
3628
3610
  _value: item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey],
3629
3611
  _selected: item._selected || false,
@@ -3771,10 +3753,11 @@ var DetachableMixin = {
3771
3753
  if (!this.fixed) {
3772
3754
  const { top: targetTop, left: targetLeft } = this.detachableParentEl.getBoundingClientRect();
3773
3755
  const computedStyles = window.getComputedStyle(this.detachableParentEl, null);
3774
- coords = __spreadProps(__spreadValues({}, coords), {
3756
+ coords = {
3757
+ ...coords,
3775
3758
  top: top - targetTop + this.detachableParentEl.scrollTop - parseInt(computedStyles.getPropertyValue("border-top-width")),
3776
3759
  left: left - targetLeft + this.detachableParentEl.scrollLeft - parseInt(computedStyles.getPropertyValue("border-left-width"))
3777
- });
3760
+ };
3778
3761
  }
3779
3762
  return coords;
3780
3763
  },
@@ -4051,15 +4034,16 @@ const _sfc_main$s = {
4051
4034
  return objectifyClasses(this.contentClass);
4052
4035
  },
4053
4036
  overlayClasses() {
4054
- return __spreadProps(__spreadValues({}, objectifyClasses(this.overlayClass)), {
4037
+ return {
4038
+ ...objectifyClasses(this.overlayClass),
4055
4039
  "w-overlay--no-pointer-event": this.showOnHover
4056
- });
4040
+ };
4057
4041
  },
4058
4042
  classes() {
4059
- return __spreadProps(__spreadValues({
4043
+ return {
4060
4044
  [this.color]: this.color,
4061
- [`${this.bgColor}--bg`]: this.bgColor
4062
- }, this.menuClasses), {
4045
+ [`${this.bgColor}--bg`]: this.bgColor,
4046
+ ...this.menuClasses,
4063
4047
  [`w-menu--${this.position}`]: !this.noPosition,
4064
4048
  [`w-menu--align-${this.alignment}`]: !this.noPosition && this.alignment,
4065
4049
  "w-menu--tile": this.tile,
@@ -4068,7 +4052,7 @@ const _sfc_main$s = {
4068
4052
  "w-menu--arrow": this.arrow,
4069
4053
  "w-menu--shadow": this.shadow,
4070
4054
  "w-menu--fixed": this.fixed
4071
- });
4055
+ };
4072
4056
  },
4073
4057
  styles() {
4074
4058
  return {
@@ -4743,7 +4727,8 @@ const _sfc_main$m = {
4743
4727
  }),
4744
4728
  computed: {
4745
4729
  radioItems() {
4746
- return (this.items || []).map((item, i) => __spreadProps(__spreadValues({}, item), {
4730
+ return (this.items || []).map((item, i) => ({
4731
+ ...item,
4747
4732
  _index: i,
4748
4733
  label: item[this.itemLabelKey],
4749
4734
  value: item[this.itemValueKey] === void 0 ? item[this.itemLabelKey] || i : item[this.itemValueKey],
@@ -5148,7 +5133,7 @@ const _sfc_main$k = {
5148
5133
  computed: {
5149
5134
  selectItems() {
5150
5135
  return this.items.map((item, i) => {
5151
- const obj = __spreadValues({}, item);
5136
+ const obj = { ...item };
5152
5137
  obj.value = obj[this.itemValueKey] === void 0 ? obj[this.itemLabelKey] || i : obj[this.itemValueKey];
5153
5138
  obj.index = i;
5154
5139
  return obj;
@@ -5164,7 +5149,9 @@ const _sfc_main$k = {
5164
5149
  return !this.staticLabel || !this.hasValue && !this.placeholder;
5165
5150
  },
5166
5151
  selectionString() {
5167
- 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(", ");
5168
5155
  },
5169
5156
  classes() {
5170
5157
  return {
@@ -5944,10 +5931,11 @@ const _sfc_main$e = {
5944
5931
  },
5945
5932
  tabsItems() {
5946
5933
  const items = typeof this.items === "number" ? Array(this.items).fill({}) : this.items;
5947
- return items.map((item, _index) => reactive(__spreadProps(__spreadValues({}, item), {
5934
+ return items.map((item, _index) => reactive({
5935
+ ...item,
5948
5936
  _index,
5949
5937
  _disabled: !!item.disabled
5950
- })));
5938
+ }));
5951
5939
  },
5952
5940
  activeTab() {
5953
5941
  return this.tabsItems[this.activeTabIndex] || this.tabsItems[0] || {};
@@ -6216,7 +6204,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
6216
6204
  (openBlock(true), createElementBlock(Fragment, null, renderList($props.headers, (header, j) => {
6217
6205
  return openBlock(), createElementBlock(Fragment, null, [
6218
6206
  _ctx.$slots[`item-cell.${header.key}`] || _ctx.$slots[`item-cell.${j + 1}`] || _ctx.$slots["item-cell"] ? (openBlock(), createElementBlock("td", {
6219
- 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 }]),
6220
6208
  key: `${j}-a`,
6221
6209
  "data-label": header.label
6222
6210
  }, [
@@ -6244,7 +6232,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
6244
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 }])
6245
6233
  }, null, 2)) : createCommentVNode("", true)
6246
6234
  ], 10, _hoisted_16)) : (openBlock(), createElementBlock("td", {
6247
- 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 }]),
6248
6236
  key: `${j}-b`,
6249
6237
  "data-label": header.label
6250
6238
  }, [
@@ -6308,6 +6296,7 @@ const _sfc_main$d = {
6308
6296
  items: { type: Array, required: true },
6309
6297
  headers: { type: Array, required: true },
6310
6298
  noHeaders: { type: Boolean },
6299
+ fixedLayout: { type: Boolean },
6311
6300
  fixedHeaders: { type: Boolean },
6312
6301
  fixedFooter: { type: Boolean },
6313
6302
  loading: { type: Boolean },
@@ -6315,7 +6304,9 @@ const _sfc_main$d = {
6315
6304
  expandableRows: {
6316
6305
  validator: (value) => {
6317
6306
  if (![void 0, true, false, 1, "1", ""].includes(value)) {
6318
- 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
+ );
6319
6310
  }
6320
6311
  return true;
6321
6312
  }
@@ -6324,7 +6315,9 @@ const _sfc_main$d = {
6324
6315
  selectableRows: {
6325
6316
  validator: (value) => {
6326
6317
  if (![void 0, true, false, 1, "1", ""].includes(value)) {
6327
- 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
+ );
6328
6321
  }
6329
6322
  return true;
6330
6323
  }
@@ -6398,16 +6391,21 @@ const _sfc_main$d = {
6398
6391
  },
6399
6392
  classes() {
6400
6393
  return {
6394
+ "w-table--fixed-layout": this.fixedLayout || this.resizableColumns || this.hasStickyColumn,
6401
6395
  "w-table--mobile": this.isMobile || null,
6402
6396
  "w-table--resizable-cols": this.resizableColumns || null,
6403
6397
  "w-table--resizing": this.colResizing.dragging,
6404
6398
  "w-table--fixed-header": this.fixedHeaders,
6405
- "w-table--fixed-footer": this.fixedFooter
6399
+ "w-table--fixed-footer": this.fixedFooter,
6400
+ "w-table--sticky-column": this.hasStickyColumn
6406
6401
  };
6407
6402
  },
6408
6403
  isMobile() {
6409
6404
  return ~~this.mobileBreakpoint && this.$waveui.breakpoint.width <= ~~this.mobileBreakpoint;
6410
6405
  },
6406
+ hasStickyColumn() {
6407
+ return this.headers.find((header) => header.sticky);
6408
+ },
6411
6409
  selectedRowsByUid() {
6412
6410
  return this.selectedRowsInternal.reduce((obj, uid) => (obj[uid] = true) && obj, {});
6413
6411
  },
@@ -6419,6 +6417,7 @@ const _sfc_main$d = {
6419
6417
  headerClasses(header) {
6420
6418
  return {
6421
6419
  "w-table__header--sortable": header.sortable !== false,
6420
+ "w-table__header--sticky": header.sticky,
6422
6421
  "w-table__header--resizable": !!this.resizableColumns,
6423
6422
  [`text-${header.align || "left"}`]: true
6424
6423
  };
@@ -6452,12 +6451,15 @@ const _sfc_main$d = {
6452
6451
  this.expandedRowsInternal.push(item._uid);
6453
6452
  } else
6454
6453
  this.expandedRowsInternal = this.expandedRowsInternal.filter((uid) => uid !== item._uid);
6455
- this.$emit("row-expand", {
6456
- item,
6457
- index: index2,
6458
- expanded: isExpanding,
6459
- expandedRows: this.expandedRowsInternal.map((uid) => this.filteredItems[uid])
6460
- });
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
+ );
6461
6463
  this.$emit("update:expanded-rows", this.expandedRowsInternal);
6462
6464
  } else if (selectable) {
6463
6465
  let updated = false;
@@ -6473,12 +6475,15 @@ const _sfc_main$d = {
6473
6475
  updated = true;
6474
6476
  }
6475
6477
  if (updated) {
6476
- this.$emit("row-select", {
6477
- item,
6478
- index: index2,
6479
- selected: isSelecting,
6480
- selectedRows: this.selectedRowsInternal.map((uid) => this.filteredItems[uid])
6481
- });
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
+ );
6482
6487
  this.$emit("update:selected-rows", this.selectedRowsInternal);
6483
6488
  }
6484
6489
  }
@@ -6801,7 +6806,7 @@ const _sfc_main$b = {
6801
6806
  },
6802
6807
  computed: {
6803
6808
  listeners() {
6804
- const _a = this.$attrs, { input, focus, blur } = _a, listeners = __objRest(_a, ["input", "focus", "blur"]);
6809
+ const { input, focus, blur, ...listeners } = this.$attrs;
6805
6810
  return listeners;
6806
6811
  },
6807
6812
  hasValue() {
@@ -7072,10 +7077,10 @@ const _sfc_main$8 = {
7072
7077
  return this.transition || `w-tooltip-slide-fade-${direction}`;
7073
7078
  },
7074
7079
  classes() {
7075
- return __spreadProps(__spreadValues({
7080
+ return {
7076
7081
  [this.color]: this.color,
7077
- [`${this.bgColor}--bg`]: this.bgColor
7078
- }, this.tooltipClasses), {
7082
+ [`${this.bgColor}--bg`]: this.bgColor,
7083
+ ...this.tooltipClasses,
7079
7084
  [`w-tooltip--${this.position}`]: !this.noPosition,
7080
7085
  [`w-tooltip--align-${this.alignment}`]: !this.noPosition && this.alignment,
7081
7086
  "w-tooltip--tile": this.tile,
@@ -7084,7 +7089,7 @@ const _sfc_main$8 = {
7084
7089
  "w-tooltip--fixed": this.fixed,
7085
7090
  "w-tooltip--no-border": this.noBorder || this.bgColor,
7086
7091
  "w-tooltip--custom-transition": this.transition
7087
- });
7092
+ };
7088
7093
  },
7089
7094
  styles() {
7090
7095
  return {
@@ -7524,5 +7529,5 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
7524
7529
  WTransitionTwist: wTransitionTwist
7525
7530
  }, Symbol.toStringTag, { value: "Module" }));
7526
7531
  const install = WaveUI.install;
7527
- WaveUI.install = (app, options = {}) => install.call(WaveUI, app, __spreadValues({ components }, options));
7532
+ WaveUI.install = (app, options = {}) => install.call(WaveUI, app, { components, ...options });
7528
7533
  export { WaveUI as default };