@c3labsbr/vuetify-elements 1.15.1 → 1.16.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/components/organisms/GenericItemActions.vue.d.ts.map +1 -1
- package/dist/components/organisms/TableColumnActionsMenu.vue.d.ts +1 -0
- package/dist/components/organisms/TableColumnActionsMenu.vue.d.ts.map +1 -1
- package/dist/components/organisms/TableHeader.vue.d.ts.map +1 -1
- package/dist/components/organisms/__tests__/TableColumnActionsMenu.spec.d.ts +2 -0
- package/dist/components/organisms/__tests__/TableColumnActionsMenu.spec.d.ts.map +1 -0
- package/dist/components/organisms/__tests__/TableHeader.spec.d.ts +2 -0
- package/dist/components/organisms/__tests__/TableHeader.spec.d.ts.map +1 -0
- package/dist/vuetify-elements.cjs.js +1 -1
- package/dist/vuetify-elements.es.js +9 -4
- package/package.json +1 -1
- package/dist/components/organisms/__tests__/GenericDataTable.spec.d.ts +0 -2
- package/dist/components/organisms/__tests__/GenericDataTable.spec.d.ts.map +0 -1
|
@@ -13457,7 +13457,8 @@ const km = /* @__PURE__ */ xe({
|
|
|
13457
13457
|
isSorted: { type: Function },
|
|
13458
13458
|
getSortIcon: { type: Function },
|
|
13459
13459
|
toggleSort: { type: Function },
|
|
13460
|
-
filterFn: { type: Function }
|
|
13460
|
+
filterFn: { type: Function },
|
|
13461
|
+
isLastColumn: { type: Boolean }
|
|
13461
13462
|
},
|
|
13462
13463
|
emits: ["hideColumn", "moveLeft", "moveRight"],
|
|
13463
13464
|
setup(e, { emit: t }) {
|
|
@@ -13471,7 +13472,10 @@ const km = /* @__PURE__ */ xe({
|
|
|
13471
13472
|
}, {
|
|
13472
13473
|
activator: O(({ props: r }) => [
|
|
13473
13474
|
w("span", W(r, {
|
|
13474
|
-
class: ["me-2 text-no-wrap", {
|
|
13475
|
+
class: ["me-2 text-no-wrap table-column-actions-menu__activator", {
|
|
13476
|
+
"cursor-pointer": e.column.sortable,
|
|
13477
|
+
"flex-grow-1 text-end": e.isLastColumn
|
|
13478
|
+
}]
|
|
13475
13479
|
}), [
|
|
13476
13480
|
w("span", {
|
|
13477
13481
|
textContent: pe(e.column.title)
|
|
@@ -13579,7 +13583,7 @@ const km = /* @__PURE__ */ xe({
|
|
|
13579
13583
|
}
|
|
13580
13584
|
}, o = (i) => i.filterable;
|
|
13581
13585
|
return (i, r) => (q(), Pe("tr", Bm, [
|
|
13582
|
-
(q(!0), Pe(se, null, Xt(e.columns, (s) => (q(), Pe("th", {
|
|
13586
|
+
(q(!0), Pe(se, null, Xt(e.columns, (s, c) => (q(), Pe("th", {
|
|
13583
13587
|
key: s.title,
|
|
13584
13588
|
scope: "col",
|
|
13585
13589
|
style: ie(
|
|
@@ -13592,10 +13596,11 @@ const km = /* @__PURE__ */ xe({
|
|
|
13592
13596
|
getSortIcon: e.getSortIcon,
|
|
13593
13597
|
isSorted: e.isSorted,
|
|
13594
13598
|
toggleSort: e.toggleSort,
|
|
13599
|
+
isLastColumn: c === e.columns.length - 1,
|
|
13595
13600
|
onHideColumn: n,
|
|
13596
13601
|
onMoveLeft: a,
|
|
13597
13602
|
onMoveRight: l
|
|
13598
|
-
}, null, 8, ["column", "getSortIcon", "isSorted", "toggleSort"]),
|
|
13603
|
+
}, null, 8, ["column", "getSortIcon", "isSorted", "toggleSort", "isLastColumn"]),
|
|
13599
13604
|
o(s) ? (q(), ne(Vm, {
|
|
13600
13605
|
key: 0,
|
|
13601
13606
|
column: s,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GenericDataTable.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/__tests__/GenericDataTable.spec.ts"],"names":[],"mappings":""}
|