@club-employes/utopia 4.189.0 → 4.191.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.
|
@@ -342,6 +342,11 @@ export interface TableProps<T = Record<string, any>> {
|
|
|
342
342
|
*/
|
|
343
343
|
removableSort?: boolean;
|
|
344
344
|
rowHover?: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* Affiche un curseur pointer sur les lignes, sans nécessiter `doSelection` ou une colonne ACTIONS.
|
|
347
|
+
* @default false
|
|
348
|
+
*/
|
|
349
|
+
rowClickable?: boolean;
|
|
345
350
|
csvSeparator?: string;
|
|
346
351
|
exportFilename?: string;
|
|
347
352
|
exportFunction?: (options: {
|
package/dist/index.js
CHANGED
|
@@ -9950,6 +9950,7 @@ const h2 = ["for"], g2 = {
|
|
|
9950
9950
|
key: 2,
|
|
9951
9951
|
class: "utopia-modal__bar utopia-modal__bar--footer"
|
|
9952
9952
|
}, L2 = { class: "utopia-modal__footer-inner" }, H2 = /* @__PURE__ */ ut({
|
|
9953
|
+
inheritAttrs: !1,
|
|
9953
9954
|
__name: "Modal",
|
|
9954
9955
|
props: {
|
|
9955
9956
|
open: { type: Boolean },
|
|
@@ -10172,7 +10173,7 @@ const h2 = ["for"], g2 = {
|
|
|
10172
10173
|
], 10, k2)
|
|
10173
10174
|
]));
|
|
10174
10175
|
}
|
|
10175
|
-
}), _o = /* @__PURE__ */ gt(H2, [["__scopeId", "data-v-
|
|
10176
|
+
}), _o = /* @__PURE__ */ gt(H2, [["__scopeId", "data-v-6863dd53"]]), N2 = { class: "utopia-pricetag" }, G2 = { key: 0 }, F2 = { class: "utopia-pricetag--price-container" }, Y2 = { key: 2 }, R2 = { key: 3 }, Z2 = /* @__PURE__ */ ut({
|
|
10176
10177
|
__name: "PriceTag",
|
|
10177
10178
|
props: {
|
|
10178
10179
|
label: {},
|
|
@@ -72380,6 +72381,7 @@ const CB = /* @__PURE__ */ ut({
|
|
|
72380
72381
|
sortMode: { default: "single" },
|
|
72381
72382
|
removableSort: { type: Boolean, default: !0 },
|
|
72382
72383
|
rowHover: { type: Boolean, default: !0 },
|
|
72384
|
+
rowClickable: { type: Boolean },
|
|
72383
72385
|
csvSeparator: {},
|
|
72384
72386
|
exportFilename: {},
|
|
72385
72387
|
exportFunction: {},
|
|
@@ -72540,7 +72542,7 @@ const CB = /* @__PURE__ */ ut({
|
|
|
72540
72542
|
}, Fe = K(() => !!(n.canEdit && n.editable)), Xe = K(
|
|
72541
72543
|
() => D.value.some((W) => W.contentType === cn.ACTIONS)
|
|
72542
72544
|
), ae = K(
|
|
72543
|
-
() => !Fe.value && !!(n.doSelection || Xe.value)
|
|
72545
|
+
() => !Fe.value && !!(n.doSelection || Xe.value || n.rowClickable)
|
|
72544
72546
|
), be = K(() => {
|
|
72545
72547
|
if (n.doSelection && !Fe.value)
|
|
72546
72548
|
return n.selectionMode;
|