asma-ui-core 3.137.1 → 3.138.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/asma-ui-core.css +1 -1
- package/dist/src/table/custom-features/order-columns/types.d.ts +1 -1
- package/dist/src/table/custom-features/order-columns/usePersistColumnOrder.d.ts +2 -1
- package/dist/src/table/hooks/usePersistedSorting.d.ts +25 -3
- package/dist/src/table/hooks/usePersistedStateWriter.d.ts +4 -0
- package/dist/src/table/hooks/useTranslations.d.ts +2 -2
- package/dist/src/table/types.d.ts +15 -4
- package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +113 -96
- package/dist/table/components/columns/action-column/components/HeaderActionMenu.module.js +7 -5
- package/dist/table/custom-features/order-columns/usePersistColumnOrder.js +10 -10
- package/dist/table/hooks/useColumnLayoutPersistence.js +37 -37
- package/dist/table/hooks/usePersistedSorting.js +21 -20
- package/dist/table/hooks/usePersistedStateWriter.js +18 -18
- package/dist/table/hooks/useStyledTable.js +113 -108
- package/dist/table/hooks/useTranslations.js +2 -2
- package/package.json +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { readJson as
|
|
2
|
-
import { useCallback as f, useState as
|
|
1
|
+
import { readJson as S } from "../helpers/tableStorage.js";
|
|
2
|
+
import { useCallback as f, useState as u } from "react";
|
|
3
3
|
import { functionalUpdate as v } from "@tanstack/react-table";
|
|
4
|
-
var
|
|
5
|
-
if (!d(t) || t.v !==
|
|
4
|
+
var m = ":sorting", l = 1, p = [], y = (t) => t ? `${t}${m}` : void 0, R = ({ uniqueKey: t, persistSorting: r, controlled: o }) => !t || r === !1 ? !1 : r === !0 || !o, d = (t) => typeof t == "object" && t !== null && !Array.isArray(t), O = (t, r) => {
|
|
5
|
+
if (!d(t) || t.v !== l || !Array.isArray(t.sorting)) return;
|
|
6
6
|
const o = t.sorting;
|
|
7
7
|
if (o.length === 0) return [];
|
|
8
|
-
const s = new Map(r.sortableColumns.map((n) => [n.id, n])), a = /* @__PURE__ */ new Set(),
|
|
8
|
+
const s = new Map(r.sortableColumns.map((n) => [n.id, n])), a = /* @__PURE__ */ new Set(), i = [];
|
|
9
9
|
for (const n of o) {
|
|
10
10
|
if (!d(n) || typeof n.id != "string" || typeof n.desc != "boolean") continue;
|
|
11
11
|
const g = s.get(n.id);
|
|
12
|
-
!g || a.has(n.id) ||
|
|
12
|
+
!g || a.has(n.id) || i.length > 0 && (r.enableMultiSort === !1 || !g.canMultiSort) || (a.add(n.id), i.push({
|
|
13
13
|
id: n.id,
|
|
14
14
|
desc: n.desc
|
|
15
15
|
}));
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const e = r.maxMultiSortColCount, c = e !== void 0 && Number.isFinite(e) && e >= 1 ? i.slice(0, Math.floor(e)) : i;
|
|
18
18
|
return c.length > 0 ? c : void 0;
|
|
19
|
-
},
|
|
20
|
-
v:
|
|
19
|
+
}, A = (t) => JSON.stringify({
|
|
20
|
+
v: l,
|
|
21
21
|
sorting: t.map(({ id: r, desc: o }) => ({
|
|
22
22
|
id: r,
|
|
23
23
|
desc: o
|
|
24
24
|
}))
|
|
25
|
-
}),
|
|
25
|
+
}), I = (t) => JSON.stringify(t.map(({ id: r, desc: o }) => [r, o])), N = (t, r) => {
|
|
26
26
|
const o = y(t);
|
|
27
|
-
return o ? O(
|
|
27
|
+
return o ? O(S(o), r) : void 0;
|
|
28
28
|
}, b = ({ sortableColumnIds: t, enableMultiSort: r, maxMultiSortColCount: o }) => ({
|
|
29
29
|
sortableColumns: t.map((s) => ({
|
|
30
30
|
id: s,
|
|
@@ -32,19 +32,19 @@ var p = ":sorting", S = 1, u = [], y = (t) => t ? `${t}${p}` : void 0, d = (t) =
|
|
|
32
32
|
})),
|
|
33
33
|
enableMultiSort: r,
|
|
34
34
|
maxMultiSortColCount: o
|
|
35
|
-
}), h = (t, r) => N(t, b(r)),
|
|
35
|
+
}), h = (t, r) => N(t, b(r)), _ = ({ uniqueKey: t, defaultSorting: r = p, ...o }) => {
|
|
36
36
|
const s = () => ({
|
|
37
37
|
key: t,
|
|
38
38
|
sorting: h(t, o) ?? r
|
|
39
|
-
}), [a,
|
|
40
|
-
let
|
|
41
|
-
a.key !== t && (
|
|
42
|
-
const c = f((n) =>
|
|
39
|
+
}), [a, i] = u(s);
|
|
40
|
+
let e = a;
|
|
41
|
+
a.key !== t && (e = s(), i(e));
|
|
42
|
+
const c = f((n) => i((g) => ({
|
|
43
43
|
...g,
|
|
44
44
|
sorting: v(n, g.sorting)
|
|
45
45
|
})), []);
|
|
46
46
|
return {
|
|
47
|
-
sorting:
|
|
47
|
+
sorting: e.sorting,
|
|
48
48
|
onSortingChange: c
|
|
49
49
|
};
|
|
50
50
|
};
|
|
@@ -52,7 +52,8 @@ export {
|
|
|
52
52
|
y as getSortingStorageKey,
|
|
53
53
|
h as readPersistedSorting,
|
|
54
54
|
N as readSortingFromStorage,
|
|
55
|
-
R as
|
|
56
|
-
A as
|
|
57
|
-
I as
|
|
55
|
+
R as savesSorting,
|
|
56
|
+
A as serializeSorting,
|
|
57
|
+
I as sortingSignature,
|
|
58
|
+
_ as usePersistedSorting
|
|
58
59
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { tableStorage as
|
|
2
|
-
import { useEffect as
|
|
3
|
-
var
|
|
4
|
-
const { storageKey: t, state:
|
|
5
|
-
|
|
6
|
-
if (
|
|
7
|
-
if (
|
|
8
|
-
!i &&
|
|
1
|
+
import { tableStorage as m } from "../helpers/tableStorage.js";
|
|
2
|
+
import { useEffect as v, useLayoutEffect as R, useRef as l } from "react";
|
|
3
|
+
var E = (a) => {
|
|
4
|
+
const { storageKey: t, state: s, defaultValue: o, saved: y, settled: f = !0, controlled: i = !1 } = a, { toSignature: n, toStorage: p, applyState: d } = a, e = t !== void 0 ? n(s) : "", g = l(t), c = l(e), u = l(null);
|
|
5
|
+
R(() => {
|
|
6
|
+
if (g.current === t) return;
|
|
7
|
+
if (g.current = t, u.current = null, c.current = e, !t) {
|
|
8
|
+
!i && n(s) !== n(o) && d(o);
|
|
9
9
|
return;
|
|
10
10
|
}
|
|
11
|
-
const r =
|
|
12
|
-
|
|
11
|
+
const r = y ?? o, S = n(r);
|
|
12
|
+
u.current = {
|
|
13
13
|
stale: e,
|
|
14
|
-
loaded:
|
|
15
|
-
}, !i &&
|
|
16
|
-
}, [t]),
|
|
14
|
+
loaded: S
|
|
15
|
+
}, !i && S !== e && d(r);
|
|
16
|
+
}, [t]), v(() => {
|
|
17
17
|
if (!t || !f) return;
|
|
18
|
-
const r =
|
|
18
|
+
const r = u.current;
|
|
19
19
|
if (r) {
|
|
20
20
|
if (e === r.loaded) {
|
|
21
|
-
|
|
21
|
+
u.current = null, c.current = e;
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
if (e === r.stale) return;
|
|
25
|
-
|
|
25
|
+
u.current = null;
|
|
26
26
|
}
|
|
27
|
-
e !==
|
|
27
|
+
e !== c.current && (c.current = e, e === n(o) ? m.remove(t) : m.set(t, p(s)));
|
|
28
28
|
}, [
|
|
29
29
|
e,
|
|
30
30
|
t,
|
|
@@ -32,5 +32,5 @@ var K = (a) => {
|
|
|
32
32
|
]);
|
|
33
33
|
};
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
E as usePersistedStateWriter
|
|
36
36
|
};
|
|
@@ -1,170 +1,175 @@
|
|
|
1
|
-
import { SELECT_COLUMN_ID as
|
|
2
|
-
import { ExpandedRowsFeature as
|
|
3
|
-
import { FocusedRowsFeature as
|
|
4
|
-
import { OrderColumnsFeature as
|
|
5
|
-
import { tableStorage as
|
|
6
|
-
import { normalizeDefaultColumnOrder as
|
|
7
|
-
import { usePersistColumnOrder as
|
|
8
|
-
import { usePersistedColumnOrder as
|
|
9
|
-
import { getPersistedPageSizeKey as
|
|
10
|
-
import { columnSizingSignature as
|
|
11
|
-
import { getSortingStorageKey as
|
|
12
|
-
import { usePersistedStateWriter as
|
|
13
|
-
import { useColumnLayoutReconcile as
|
|
14
|
-
import { RowSelectionTooltipFeature as
|
|
15
|
-
import { getLeafColumnInfos as
|
|
16
|
-
import { resolveColumnSizingDefaults as
|
|
17
|
-
import { STYLED_DEFAULT_SORTING_FN as
|
|
18
|
-
import { useEffect as C, useMemo as b, useRef as
|
|
19
|
-
import { getCoreRowModel as
|
|
20
|
-
var
|
|
21
|
-
const { columns:
|
|
22
|
-
defaultColumn:
|
|
1
|
+
import { SELECT_COLUMN_ID as W } from "../types.js";
|
|
2
|
+
import { ExpandedRowsFeature as $ } from "../custom-features/expand-rows/ExpandRowsFeature.js";
|
|
3
|
+
import { FocusedRowsFeature as ee } from "../custom-features/focus-rows/FocusRowsFeature.js";
|
|
4
|
+
import { OrderColumnsFeature as te } from "../custom-features/order-columns/OrderColumnsFeature.js";
|
|
5
|
+
import { tableStorage as H } from "../helpers/tableStorage.js";
|
|
6
|
+
import { normalizeDefaultColumnOrder as oe } from "../custom-features/order-columns/columnLayout.js";
|
|
7
|
+
import { usePersistColumnOrder as ie } from "../custom-features/order-columns/usePersistColumnOrder.js";
|
|
8
|
+
import { usePersistedColumnOrder as ne } from "../custom-features/order-columns/usePersistedColumnOrder.js";
|
|
9
|
+
import { getPersistedPageSizeKey as re, usePersistedPageSize as le } from "./usePersistedPageSize.js";
|
|
10
|
+
import { columnSizingSignature as se, getColumnSizingStorageKey as ae, serializeColumnSizing as ue, usePersistedColumnSizing as de } from "./useColumnSizingPersistence.js";
|
|
11
|
+
import { getSortingStorageKey as ge, readSortingFromStorage as me, savesSorting as ce, serializeSorting as Se, sortingSignature as fe } from "./usePersistedSorting.js";
|
|
12
|
+
import { usePersistedStateWriter as G } from "./usePersistedStateWriter.js";
|
|
13
|
+
import { useColumnLayoutReconcile as ye, useColumnLayoutWriter as Ce, useSavedColumnLayout as be } from "./useColumnLayoutPersistence.js";
|
|
14
|
+
import { RowSelectionTooltipFeature as pe } from "../custom-features/row-selection-tooltip/RowSelectionTooltipFeature.js";
|
|
15
|
+
import { getLeafColumnInfos as ve } from "../helpers/columnIds.js";
|
|
16
|
+
import { resolveColumnSizingDefaults as ze } from "../helpers/columnSizingDefaults.js";
|
|
17
|
+
import { STYLED_DEFAULT_SORTING_FN as Re, createStyledDefaultSortingFn as Oe, resolveSortUndefinedDefaults as Ke } from "../helpers/defaultSortingFn.js";
|
|
18
|
+
import { useEffect as C, useMemo as b, useRef as p } from "react";
|
|
19
|
+
import { getCoreRowModel as Ve, getExpandedRowModel as Me, getFilteredRowModel as Ie, getPaginationRowModel as Le, getSortedRowModel as Fe, useReactTable as we } from "@tanstack/react-table";
|
|
20
|
+
var Pe = [], _e = {}, De = [], Ne = { [W]: !1 }, et = (v) => {
|
|
21
|
+
const { columns: z, data: A, initialState: u, pageSize: B, enableRowSelection: Y, tableInstanceRef: F, locale: j, persistColumnOrderKey: m, uniqueKey: r, persistSorting: q, persistColumnLayout: J, legacyColumnVisibilityKey: w, defaultColumn: l, ...t } = v, P = u?.sorting ?? Pe, R = u?.columnSizing ?? _e, O = v.enableColumnResizing ?? !0, Z = v.enableColumnResizing === !0, k = b(() => Ke(ze(z, {
|
|
22
|
+
defaultColumn: l,
|
|
23
23
|
enableSorting: t.enableSorting,
|
|
24
|
-
canResize:
|
|
25
|
-
}),
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
canResize: O
|
|
25
|
+
}), l), [
|
|
26
|
+
z,
|
|
27
|
+
l,
|
|
28
28
|
t.enableSorting,
|
|
29
|
-
|
|
30
|
-
]),
|
|
31
|
-
defaultColumn:
|
|
29
|
+
O
|
|
30
|
+
]), K = ve(z, {
|
|
31
|
+
defaultColumn: l,
|
|
32
32
|
enableSorting: t.enableSorting,
|
|
33
33
|
enableMultiSort: t.enableMultiSort,
|
|
34
34
|
enableHiding: t.enableHiding
|
|
35
|
-
}), i =
|
|
35
|
+
}), i = J === !0, _ = K.map((o) => o.id), s = oe(u?.columnOrder ?? De, _), c = u?.columnVisibility ?? Ne, n = be({
|
|
36
36
|
enabled: i,
|
|
37
|
-
uniqueKey:
|
|
38
|
-
legacyOrderKey:
|
|
39
|
-
legacyVisibilityKey:
|
|
40
|
-
columns:
|
|
41
|
-
defaultOrder:
|
|
42
|
-
defaultVisibility:
|
|
43
|
-
}), D =
|
|
44
|
-
|
|
37
|
+
uniqueKey: r,
|
|
38
|
+
legacyOrderKey: m,
|
|
39
|
+
legacyVisibilityKey: w,
|
|
40
|
+
columns: K,
|
|
41
|
+
defaultOrder: s,
|
|
42
|
+
defaultVisibility: c
|
|
43
|
+
}), D = ne(i ? void 0 : m), N = Z ? r : void 0, T = ae(N), V = de(N, R), E = t.state?.sorting !== void 0 || t.onSortingChange !== void 0, S = ce({
|
|
44
|
+
uniqueKey: r,
|
|
45
|
+
persistSorting: q,
|
|
46
|
+
controlled: E
|
|
47
|
+
}) ? ge(r) : void 0, M = b(() => S ? me(r, {
|
|
48
|
+
sortableColumns: K.filter((o) => o.canSort),
|
|
45
49
|
maxMultiSortColCount: t.maxMultiSortColCount
|
|
46
|
-
}) : void 0, [S]),
|
|
47
|
-
...
|
|
48
|
-
sortingFn:
|
|
49
|
-
}), [
|
|
50
|
+
}) : void 0, [S]), d = le(r) ?? B ?? 50, x = p(void 0), Q = b(() => Oe(() => x.current), []), X = b(() => ({
|
|
51
|
+
...l,
|
|
52
|
+
sortingFn: l?.sortingFn ?? "styledDefault"
|
|
53
|
+
}), [l]), e = we({
|
|
50
54
|
_features: [
|
|
51
|
-
Q,
|
|
52
|
-
X,
|
|
53
55
|
$,
|
|
54
|
-
|
|
56
|
+
ee,
|
|
57
|
+
te,
|
|
58
|
+
pe
|
|
55
59
|
],
|
|
56
|
-
columns:
|
|
57
|
-
data:
|
|
60
|
+
columns: k,
|
|
61
|
+
data: A,
|
|
58
62
|
meta: {
|
|
59
|
-
locale:
|
|
63
|
+
locale: j ?? "en",
|
|
60
64
|
hideHeader: !!t.hideHeader
|
|
61
65
|
},
|
|
62
66
|
initialState: {
|
|
63
67
|
pagination: {
|
|
64
68
|
pageIndex: 0,
|
|
65
|
-
pageSize:
|
|
69
|
+
pageSize: d
|
|
66
70
|
},
|
|
67
71
|
columnVisibility: {
|
|
68
|
-
...
|
|
69
|
-
[
|
|
72
|
+
...u?.columnVisibility,
|
|
73
|
+
[W]: !1
|
|
70
74
|
},
|
|
71
75
|
...D && { columnOrder: D },
|
|
72
|
-
...
|
|
73
|
-
...i &&
|
|
76
|
+
...u,
|
|
77
|
+
...i && s.length > 0 && { columnOrder: s },
|
|
74
78
|
...n.order && { columnOrder: n.order },
|
|
75
79
|
...n.visibility && { columnVisibility: n.visibility },
|
|
76
|
-
...
|
|
77
|
-
...
|
|
80
|
+
...V && { columnSizing: V },
|
|
81
|
+
...M !== void 0 && { sorting: M }
|
|
78
82
|
},
|
|
79
|
-
enableRowSelection:
|
|
80
|
-
getCoreRowModel:
|
|
81
|
-
getExpandedRowModel:
|
|
82
|
-
getFilteredRowModel:
|
|
83
|
-
getSortedRowModel:
|
|
84
|
-
getPaginationRowModel:
|
|
85
|
-
getRowId: t.getRowId ?? ((o,
|
|
86
|
-
defaultColumn:
|
|
83
|
+
enableRowSelection: Y,
|
|
84
|
+
getCoreRowModel: Ve(),
|
|
85
|
+
getExpandedRowModel: Me(),
|
|
86
|
+
getFilteredRowModel: Ie(),
|
|
87
|
+
getSortedRowModel: Fe(),
|
|
88
|
+
getPaginationRowModel: Le(),
|
|
89
|
+
getRowId: t.getRowId ?? ((o, U, f) => f ? [f.id, o.id].join(".") : o.id.toString()),
|
|
90
|
+
defaultColumn: X,
|
|
87
91
|
...t,
|
|
88
|
-
enableColumnResizing:
|
|
92
|
+
enableColumnResizing: O,
|
|
89
93
|
sortingFns: {
|
|
90
|
-
[
|
|
94
|
+
[Re]: Q,
|
|
91
95
|
...t.sortingFns
|
|
92
96
|
}
|
|
93
97
|
});
|
|
94
|
-
|
|
95
|
-
const
|
|
98
|
+
x.current = e;
|
|
99
|
+
const y = e.options.meta?.locale, h = p(y);
|
|
96
100
|
C(() => {
|
|
97
|
-
|
|
98
|
-
}, [
|
|
101
|
+
h.current !== y && (h.current = y, e.getState().sorting.length > 0 && e.setSorting((o) => [...o]));
|
|
102
|
+
}, [y, e]), F && (F.current = e), ie(e, i ? void 0 : m), Ce(e, {
|
|
99
103
|
saved: n,
|
|
100
|
-
reconciling:
|
|
104
|
+
reconciling: ye(e, {
|
|
101
105
|
enabled: i,
|
|
102
106
|
definitionIds: _,
|
|
103
|
-
defaultOrder:
|
|
104
|
-
defaultVisibility:
|
|
107
|
+
defaultOrder: s,
|
|
108
|
+
defaultVisibility: c,
|
|
105
109
|
controlledVisibility: t.state?.columnVisibility !== void 0
|
|
106
110
|
}),
|
|
107
|
-
defaultOrder:
|
|
108
|
-
defaultVisibility:
|
|
111
|
+
defaultOrder: s,
|
|
112
|
+
defaultVisibility: c,
|
|
109
113
|
controlledVisibility: t.state?.columnVisibility !== void 0
|
|
110
114
|
}), C(() => {
|
|
111
|
-
}, [i, t.state?.columnVisibility !== void 0 || t.onColumnVisibilityChange !== void 0]),
|
|
115
|
+
}, [i, t.state?.columnVisibility !== void 0 || t.onColumnVisibilityChange !== void 0]), G({
|
|
112
116
|
storageKey: S,
|
|
113
117
|
state: e.getState().sorting,
|
|
114
|
-
defaultValue:
|
|
115
|
-
saved:
|
|
116
|
-
controlled:
|
|
117
|
-
toSignature:
|
|
118
|
-
toStorage:
|
|
118
|
+
defaultValue: P,
|
|
119
|
+
saved: M,
|
|
120
|
+
controlled: E,
|
|
121
|
+
toSignature: fe,
|
|
122
|
+
toStorage: Se,
|
|
119
123
|
applyState: (o) => e.setSorting(o)
|
|
120
|
-
}),
|
|
121
|
-
storageKey:
|
|
124
|
+
}), G({
|
|
125
|
+
storageKey: T,
|
|
122
126
|
state: e.getState().columnSizing,
|
|
123
|
-
defaultValue:
|
|
124
|
-
saved:
|
|
127
|
+
defaultValue: R,
|
|
128
|
+
saved: V,
|
|
125
129
|
settled: !e.getState().columnSizingInfo.isResizingColumn,
|
|
126
|
-
toSignature:
|
|
127
|
-
toStorage:
|
|
130
|
+
toSignature: se,
|
|
131
|
+
toStorage: ue,
|
|
128
132
|
applyState: (o) => e.setColumnSizing(o)
|
|
129
133
|
}), e.columnLayoutDefaults = i ? {
|
|
130
|
-
order:
|
|
131
|
-
visibility:
|
|
134
|
+
order: s,
|
|
135
|
+
visibility: c
|
|
132
136
|
} : void 0, e.resetColumnSettings = () => {
|
|
133
|
-
e.setColumnOrder(i ?
|
|
137
|
+
e.setColumnOrder(i ? s : []), e.setColumnSizing(R), i && e.setColumnVisibility(c), S && e.setSorting(P);
|
|
134
138
|
const o = i && n.orderKey !== void 0 ? [
|
|
135
139
|
n.orderKey,
|
|
136
140
|
n.visibilityKey,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
] : [],
|
|
140
|
-
for (const
|
|
141
|
+
m,
|
|
142
|
+
w
|
|
143
|
+
] : [], U = i ? void 0 : m;
|
|
144
|
+
for (const f of [
|
|
141
145
|
S,
|
|
142
|
-
|
|
143
|
-
|
|
146
|
+
T,
|
|
147
|
+
U,
|
|
144
148
|
...o
|
|
145
|
-
])
|
|
149
|
+
]) f && H.remove(f);
|
|
146
150
|
};
|
|
147
|
-
const
|
|
151
|
+
const g = re(r), a = e.getState().pagination?.pageSize, I = p(void 0), L = p(void 0);
|
|
148
152
|
return C(() => {
|
|
149
|
-
|
|
153
|
+
I.current = void 0, e.getState().pagination?.pageSize !== d && (e.setPageIndex(0), e.setPageSize(d));
|
|
150
154
|
}, [
|
|
151
|
-
u,
|
|
152
155
|
d,
|
|
156
|
+
g,
|
|
153
157
|
e
|
|
154
158
|
]), C(() => {
|
|
155
|
-
if (!(!
|
|
156
|
-
if (
|
|
157
|
-
if (
|
|
158
|
-
|
|
159
|
+
if (!(!g || a == null)) {
|
|
160
|
+
if (I.current !== g) {
|
|
161
|
+
if (a !== d) return;
|
|
162
|
+
I.current = g, L.current = a;
|
|
163
|
+
return;
|
|
159
164
|
}
|
|
160
|
-
|
|
165
|
+
a !== L.current && (L.current = a, H.set(g, JSON.stringify(a)));
|
|
161
166
|
}
|
|
162
167
|
}, [
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
a,
|
|
169
|
+
d,
|
|
170
|
+
g
|
|
166
171
|
]), { table: e };
|
|
167
172
|
};
|
|
168
173
|
export {
|
|
169
|
-
|
|
174
|
+
et as useStyledTable
|
|
170
175
|
};
|
|
@@ -3,7 +3,7 @@ var e = {
|
|
|
3
3
|
en: {
|
|
4
4
|
column_reorder: "This column is fixed and can’t be reordered.",
|
|
5
5
|
column_hidden: "This column is fixed and can’t be hidden.",
|
|
6
|
-
|
|
6
|
+
column_unhideable: "This column can’t be hidden.",
|
|
7
7
|
reset_columns: "Reset columns",
|
|
8
8
|
columns_reset: "Columns reset",
|
|
9
9
|
column_settings: "Column settings",
|
|
@@ -12,7 +12,7 @@ var e = {
|
|
|
12
12
|
no: {
|
|
13
13
|
column_reorder: "Denne kolonnen er fast og kan ikke flyttes.",
|
|
14
14
|
column_hidden: "Denne kolonnen er fast og kan ikke skjules.",
|
|
15
|
-
|
|
15
|
+
column_unhideable: "Denne kolonnen kan ikke skjules.",
|
|
16
16
|
reset_columns: "Tilbakestill kolonner",
|
|
17
17
|
columns_reset: "Kolonnene er tilbakestilt",
|
|
18
18
|
column_settings: "Kolonneinnstillinger",
|