@club-employes/utopia 4.189.0 → 4.190.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
|
@@ -72380,6 +72380,7 @@ const CB = /* @__PURE__ */ ut({
|
|
|
72380
72380
|
sortMode: { default: "single" },
|
|
72381
72381
|
removableSort: { type: Boolean, default: !0 },
|
|
72382
72382
|
rowHover: { type: Boolean, default: !0 },
|
|
72383
|
+
rowClickable: { type: Boolean },
|
|
72383
72384
|
csvSeparator: {},
|
|
72384
72385
|
exportFilename: {},
|
|
72385
72386
|
exportFunction: {},
|
|
@@ -72540,7 +72541,7 @@ const CB = /* @__PURE__ */ ut({
|
|
|
72540
72541
|
}, Fe = K(() => !!(n.canEdit && n.editable)), Xe = K(
|
|
72541
72542
|
() => D.value.some((W) => W.contentType === cn.ACTIONS)
|
|
72542
72543
|
), ae = K(
|
|
72543
|
-
() => !Fe.value && !!(n.doSelection || Xe.value)
|
|
72544
|
+
() => !Fe.value && !!(n.doSelection || Xe.value || n.rowClickable)
|
|
72544
72545
|
), be = K(() => {
|
|
72545
72546
|
if (n.doSelection && !Fe.value)
|
|
72546
72547
|
return n.selectionMode;
|