wave-ui 2.37.1 → 2.38.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.
- package/dist/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.css +1 -1
- package/dist/wave-ui.es.js +47 -4
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +1 -1
- package/src/wave-ui/components/w-accordion.vue +1 -0
- package/src/wave-ui/components/w-button.vue +1 -0
- package/src/wave-ui/components/w-checkbox.vue +4 -5
- package/src/wave-ui/components/w-list.vue +1 -0
- package/src/wave-ui/components/w-progress.vue +4 -4
- package/src/wave-ui/components/w-radio.vue +3 -1
- package/src/wave-ui/components/w-rating.vue +5 -1
- package/src/wave-ui/components/w-table.vue +50 -3
- package/src/wave-ui/components/w-tabs/index.vue +10 -0
- package/src/wave-ui/components/w-tag.vue +2 -0
package/dist/wave-ui.es.js
CHANGED
|
@@ -6010,6 +6010,13 @@ const _sfc_main$e = {
|
|
|
6010
6010
|
else if (isNaN(index2) || index2 < 0)
|
|
6011
6011
|
index2 = 0;
|
|
6012
6012
|
this.activeTabIndex = index2;
|
|
6013
|
+
this.$nextTick(() => {
|
|
6014
|
+
const ref = this.$refs["tabs-bar"];
|
|
6015
|
+
this.activeTabEl = ref && ref.querySelector(`.w-tabs__bar-item:nth-child(${index2 + 1})`);
|
|
6016
|
+
if (this.activeTabEl) {
|
|
6017
|
+
this.activeTabEl.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
|
6018
|
+
}
|
|
6019
|
+
});
|
|
6013
6020
|
},
|
|
6014
6021
|
getOriginalItem(item) {
|
|
6015
6022
|
return this.items[item._index];
|
|
@@ -6081,6 +6088,19 @@ const _hoisted_19 = {
|
|
|
6081
6088
|
};
|
|
6082
6089
|
const _hoisted_20 = ["colspan"];
|
|
6083
6090
|
const _hoisted_21 = { key: 0 };
|
|
6091
|
+
const _hoisted_22 = {
|
|
6092
|
+
key: 3,
|
|
6093
|
+
class: "w-table__extra-row"
|
|
6094
|
+
};
|
|
6095
|
+
const _hoisted_23 = {
|
|
6096
|
+
key: 1,
|
|
6097
|
+
class: "w-table__footer"
|
|
6098
|
+
};
|
|
6099
|
+
const _hoisted_24 = {
|
|
6100
|
+
key: 1,
|
|
6101
|
+
class: "w-table__row"
|
|
6102
|
+
};
|
|
6103
|
+
const _hoisted_25 = ["colspan"];
|
|
6084
6104
|
function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6085
6105
|
const _component_w_icon = resolveComponent("w-icon");
|
|
6086
6106
|
const _component_w_progress = resolveComponent("w-progress");
|
|
@@ -6255,8 +6275,21 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6255
6275
|
], 8, _hoisted_20)
|
|
6256
6276
|
])) : createCommentVNode("", true)
|
|
6257
6277
|
], 64);
|
|
6258
|
-
}), 128))
|
|
6259
|
-
|
|
6278
|
+
}), 128)),
|
|
6279
|
+
_ctx.$slots["extra-row"] ? (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
6280
|
+
renderSlot(_ctx.$slots, "extra-row")
|
|
6281
|
+
])) : createCommentVNode("", true)
|
|
6282
|
+
]),
|
|
6283
|
+
_ctx.$slots.footer || _ctx.$slots["footer-row"] ? (openBlock(), createElementBlock("tfoot", _hoisted_23, [
|
|
6284
|
+
_ctx.$slots["footer-row"] ? renderSlot(_ctx.$slots, "footer-row", { key: 0 }) : (openBlock(), createElementBlock("tr", _hoisted_24, [
|
|
6285
|
+
createElementVNode("td", {
|
|
6286
|
+
class: "w-table__cell",
|
|
6287
|
+
colspan: $props.headers.length
|
|
6288
|
+
}, [
|
|
6289
|
+
renderSlot(_ctx.$slots, "footer")
|
|
6290
|
+
], 8, _hoisted_25)
|
|
6291
|
+
]))
|
|
6292
|
+
])) : createCommentVNode("", true)
|
|
6260
6293
|
], 34)
|
|
6261
6294
|
], 2);
|
|
6262
6295
|
}
|
|
@@ -6269,6 +6302,7 @@ const _sfc_main$d = {
|
|
|
6269
6302
|
headers: { type: Array, required: true },
|
|
6270
6303
|
noHeaders: { type: Boolean },
|
|
6271
6304
|
fixedHeaders: { type: Boolean },
|
|
6305
|
+
fixedFooter: { type: Boolean },
|
|
6272
6306
|
loading: { type: Boolean },
|
|
6273
6307
|
sort: { type: [String, Array] },
|
|
6274
6308
|
expandableRows: {
|
|
@@ -6295,7 +6329,15 @@ const _sfc_main$d = {
|
|
|
6295
6329
|
mobileBreakpoint: { type: Number, default: 0 },
|
|
6296
6330
|
resizableColumns: { type: Boolean }
|
|
6297
6331
|
},
|
|
6298
|
-
emits: [
|
|
6332
|
+
emits: [
|
|
6333
|
+
"row-select",
|
|
6334
|
+
"row-expand",
|
|
6335
|
+
"row-click",
|
|
6336
|
+
"update:sort",
|
|
6337
|
+
"update:selected-rows",
|
|
6338
|
+
"update:expanded-rows",
|
|
6339
|
+
"column-resize"
|
|
6340
|
+
],
|
|
6299
6341
|
data: () => ({
|
|
6300
6342
|
activeSorting: [],
|
|
6301
6343
|
selectedRowsInternal: [],
|
|
@@ -6352,7 +6394,8 @@ const _sfc_main$d = {
|
|
|
6352
6394
|
"w-table--mobile": this.isMobile || null,
|
|
6353
6395
|
"w-table--resizable-cols": this.resizableColumns || null,
|
|
6354
6396
|
"w-table--resizing": this.colResizing.dragging,
|
|
6355
|
-
"w-table--fixed-header": this.fixedHeaders
|
|
6397
|
+
"w-table--fixed-header": this.fixedHeaders,
|
|
6398
|
+
"w-table--fixed-footer": this.fixedFooter
|
|
6356
6399
|
};
|
|
6357
6400
|
},
|
|
6358
6401
|
isMobile() {
|