@superblocksteam/library 2.0.0-next.32 → 2.0.0-next.34
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/{allPaths-BpeB2CxS.js → allPaths-BPEggTbd.js} +2 -2
- package/dist/{allPaths-BpeB2CxS.js.map → allPaths-BPEggTbd.js.map} +1 -1
- package/dist/{allPaths-BDjfzn82.js → allPaths-PR2rTiD5.js} +2 -2
- package/dist/{allPaths-BDjfzn82.js.map → allPaths-PR2rTiD5.js.map} +1 -1
- package/dist/{allPathsLoader-CnJzd6Xx.js → allPathsLoader-BWLDGMsQ.js} +3 -3
- package/dist/{allPathsLoader-CnJzd6Xx.js.map → allPathsLoader-BWLDGMsQ.js.map} +1 -1
- package/dist/{allPathsLoader-V4FREx0I.js → allPathsLoader-C82irE62.js} +3 -3
- package/dist/{allPathsLoader-V4FREx0I.js.map → allPathsLoader-C82irE62.js.map} +1 -1
- package/dist/{index-RG7SFiT3.js → index--MyJLg0V.js} +318 -49
- package/dist/{index-RG7SFiT3.js.map → index--MyJLg0V.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-ZzgI9e09.js → splitPathsBySizeLoader-2qHY2dmp.js} +2 -2
- package/dist/{splitPathsBySizeLoader-ZzgI9e09.js.map → splitPathsBySizeLoader-2qHY2dmp.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-D_n88SPK.js → splitPathsBySizeLoader-aKrjndrG.js} +2 -2
- package/dist/{splitPathsBySizeLoader-D_n88SPK.js.map → splitPathsBySizeLoader-aKrjndrG.js.map} +1 -1
- package/dist-types/edit-mode/default-table-data.d.ts +64 -0
- package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/index.d.ts +6 -6
- package/dist-types/lib/user-facing/components/table/props.d.ts +6 -6
- package/dist-types/lib/user-facing/components/table/table-component.d.ts +1 -1
- package/dist-types/lib/user-facing/components/table/table-styles.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/types.d.ts +3 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as clientExports } from "./index
|
|
2
|
-
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, v, S, m, d, e, l, n, k, M, x, q, s, f, i, g, w as w2, c, o, j, h, u, t, A, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, N, bH } from "./index
|
|
1
|
+
import { V as clientExports } from "./index--MyJLg0V.js";
|
|
2
|
+
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, v, S, m, d, e, l, n, k, M, x, q, s, f, i, g, w as w2, c, o, j, h, u, t, A, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, N, bH } from "./index--MyJLg0V.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
5
|
W as Await,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index--MyJLg0V.js";
|
|
2
2
|
var splitPathsBySizeLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var key, pathsRecord;
|
|
@@ -31,4 +31,4 @@ var splitPathsBySizeLoader = function(name, size) {
|
|
|
31
31
|
export {
|
|
32
32
|
splitPathsBySizeLoader
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=splitPathsBySizeLoader-
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-2qHY2dmp.js.map
|
package/dist/{splitPathsBySizeLoader-ZzgI9e09.js.map → splitPathsBySizeLoader-2qHY2dmp.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-2qHY2dmp.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index--MyJLg0V.js";
|
|
2
2
|
var splitPathsBySizeLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var key, pathsRecord;
|
|
@@ -31,4 +31,4 @@ var splitPathsBySizeLoader = function(name, size) {
|
|
|
31
31
|
export {
|
|
32
32
|
splitPathsBySizeLoader
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=splitPathsBySizeLoader-
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-aKrjndrG.js.map
|
package/dist/{splitPathsBySizeLoader-D_n88SPK.js.map → splitPathsBySizeLoader-aKrjndrG.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-aKrjndrG.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const DEFAULT_TABLE_DATA: {
|
|
2
|
+
photo: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
role: string;
|
|
6
|
+
company: string;
|
|
7
|
+
status: string;
|
|
8
|
+
date_joined: string;
|
|
9
|
+
last_activity: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const DEFAULT_TABLE_COLUMNS: {
|
|
12
|
+
name: {
|
|
13
|
+
columnType: string;
|
|
14
|
+
label: string;
|
|
15
|
+
};
|
|
16
|
+
email: {
|
|
17
|
+
columnType: string;
|
|
18
|
+
label: string;
|
|
19
|
+
};
|
|
20
|
+
role: {
|
|
21
|
+
columnType: string;
|
|
22
|
+
label: string;
|
|
23
|
+
};
|
|
24
|
+
company: {
|
|
25
|
+
columnType: string;
|
|
26
|
+
label: string;
|
|
27
|
+
};
|
|
28
|
+
status: {
|
|
29
|
+
columnType: string;
|
|
30
|
+
tagDisplayConfig: {
|
|
31
|
+
Active: {
|
|
32
|
+
color: string;
|
|
33
|
+
};
|
|
34
|
+
Pending: {
|
|
35
|
+
color: string;
|
|
36
|
+
};
|
|
37
|
+
Inactive: {
|
|
38
|
+
color: string;
|
|
39
|
+
};
|
|
40
|
+
Suspended: {
|
|
41
|
+
color: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
label: string;
|
|
45
|
+
};
|
|
46
|
+
date_joined: {
|
|
47
|
+
columnType: string;
|
|
48
|
+
inputFormat: string;
|
|
49
|
+
outputFormat: string;
|
|
50
|
+
label: string;
|
|
51
|
+
};
|
|
52
|
+
last_activity: {
|
|
53
|
+
columnType: string;
|
|
54
|
+
inputFormat: string;
|
|
55
|
+
outputFormat: string;
|
|
56
|
+
label: string;
|
|
57
|
+
};
|
|
58
|
+
photo: {
|
|
59
|
+
columnType: string;
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export declare const DEFAULT_TABLE_KEYS: string[];
|
|
64
|
+
export declare const CLEARED_TABLE_COLUMNS: Record<string, undefined>;
|
|
@@ -8,8 +8,8 @@ interface TableDataDownloadProps {
|
|
|
8
8
|
columns: ReactTableColumnProps[];
|
|
9
9
|
tableSizes: TableSizes;
|
|
10
10
|
widgetName: string;
|
|
11
|
-
|
|
11
|
+
header: string;
|
|
12
12
|
tableCellTextStyle?: TextStyleWithVariant;
|
|
13
13
|
}
|
|
14
|
-
declare const TableDataDownload: ({ data, filteredOrderMap, columns, tableSizes, widgetName,
|
|
14
|
+
declare const TableDataDownload: ({ data, filteredOrderMap, columns, tableSizes, widgetName, header, tableCellTextStyle, }: TableDataDownloadProps) => React.JSX.Element;
|
|
15
15
|
export default TableDataDownload;
|
|
@@ -14,7 +14,7 @@ interface TableFooterProps {
|
|
|
14
14
|
tableColumns: ReactTableColumnProps[];
|
|
15
15
|
tableData: Array<Record<string, unknown>>;
|
|
16
16
|
filteredOrderMap: number[] | undefined;
|
|
17
|
-
|
|
17
|
+
header: string;
|
|
18
18
|
tableSizes: TableSizes;
|
|
19
19
|
updatePageNo: (pageNo: number) => void;
|
|
20
20
|
isDownloadable: boolean;
|
|
@@ -36,5 +36,5 @@ interface TableFooterProps {
|
|
|
36
36
|
borderColor: string;
|
|
37
37
|
theme: UserAccessibleTheme;
|
|
38
38
|
}
|
|
39
|
-
declare const TableFooter: ({ count, currentPageIndex, nextPageClick, prevPageClick, pageNo, pageCount, pageType, tableColumns, tableData, filteredOrderMap,
|
|
39
|
+
declare const TableFooter: ({ count, currentPageIndex, nextPageClick, prevPageClick, pageNo, pageCount, pageType, tableColumns, tableData, filteredOrderMap, header, tableSizes, borderColor, updatePageNo, isDownloadable, multiRowSelection, selectedRowIndices, widgetName, numEdits, numEditErrors, validationMessages, onEditSave, onEditCancel, onRowInsertion, onRowDeletion, isInsertionEnabled, isDeletionEnabled, isSaving, selectedRowIndex, tableCellTextStyle, theme, }: TableFooterProps) => React.JSX.Element;
|
|
40
40
|
export default TableFooter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const SbTable: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
2
|
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
-
|
|
3
|
+
header: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
4
4
|
tableData: import("../../properties-panel/props-builder.js").Prop<import("./types.js").UnknownRow[], false>;
|
|
5
5
|
columns: import("../../properties-panel/props-builder.js").RecordProp<{
|
|
6
6
|
general: import("../../properties-panel/props-builder.js").Section<(Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ({
|
|
@@ -202,7 +202,7 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
202
202
|
pageType: import("../../properties-panel/props-builder.js").Prop<import("./types.js").PaginationTypes, true>;
|
|
203
203
|
configuredPageSize: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
204
204
|
defaultSort: import("../../properties-panel/props-builder.js").CompositeProp<{
|
|
205
|
-
column: import("../../properties-panel/props-builder.js").Prop<string,
|
|
205
|
+
column: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
206
206
|
asc: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
207
207
|
}>;
|
|
208
208
|
defaultSearchText: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
@@ -246,12 +246,12 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
246
246
|
filteredOrderMap: import("../../properties-panel/props-builder.js").Prop<number[], true>;
|
|
247
247
|
}>;
|
|
248
248
|
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
249
|
-
selectedRowIndex: import("../../properties-panel/props-builder.js").Prop<number,
|
|
249
|
+
selectedRowIndex: import("../../properties-panel/props-builder.js").Prop<number, true>;
|
|
250
250
|
selectedRowIndices: import("../../properties-panel/props-builder.js").Prop<any, false>;
|
|
251
251
|
pageNo: import("../../properties-panel/props-builder.js").Prop<number, true>;
|
|
252
|
-
sortedColumn: import("../../properties-panel/props-builder.js").Prop<any,
|
|
253
|
-
searchText: import("../../properties-panel/props-builder.js").Prop<string,
|
|
254
|
-
filters: import("../../properties-panel/props-builder.js").Prop<any,
|
|
252
|
+
sortedColumn: import("../../properties-panel/props-builder.js").Prop<any, true>;
|
|
253
|
+
searchText: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
254
|
+
filters: import("../../properties-panel/props-builder.js").Prop<any, true>;
|
|
255
255
|
hiddenColumns: import("../../properties-panel/props-builder.js").Prop<any, false>;
|
|
256
256
|
columnFreezes: import("../../properties-panel/props-builder.js").Prop<any, false>;
|
|
257
257
|
tagsColorAssignment: import("../../properties-panel/props-builder.js").Prop<any, false>;
|
|
@@ -4,7 +4,7 @@ import { CompactMode } from "./types.js";
|
|
|
4
4
|
import type { UnknownRow } from "./types.js";
|
|
5
5
|
export declare const propertiesDefinition: {
|
|
6
6
|
general: Section<Record<string, Prop<any, any>> & {
|
|
7
|
-
|
|
7
|
+
header: Prop<string, true>;
|
|
8
8
|
tableData: Prop<UnknownRow[], false>;
|
|
9
9
|
columns: import("../../properties-panel/props-builder.js").RecordProp<{
|
|
10
10
|
general: Section<(Record<string, Prop<any, any>> & ({
|
|
@@ -206,7 +206,7 @@ export declare const propertiesDefinition: {
|
|
|
206
206
|
pageType: Prop<PaginationTypes, true>;
|
|
207
207
|
configuredPageSize: Prop<number, false>;
|
|
208
208
|
defaultSort: import("../../properties-panel/props-builder.js").CompositeProp<{
|
|
209
|
-
column: Prop<string,
|
|
209
|
+
column: Prop<string, false>;
|
|
210
210
|
asc: Prop<boolean, true>;
|
|
211
211
|
}>;
|
|
212
212
|
defaultSearchText: Prop<string, false>;
|
|
@@ -250,12 +250,12 @@ export declare const propertiesDefinition: {
|
|
|
250
250
|
filteredOrderMap: Prop<number[], true>;
|
|
251
251
|
}>;
|
|
252
252
|
meta: Section<Record<string, Prop<any, any>> & {
|
|
253
|
-
selectedRowIndex: Prop<number,
|
|
253
|
+
selectedRowIndex: Prop<number, true>;
|
|
254
254
|
selectedRowIndices: Prop<any, false>;
|
|
255
255
|
pageNo: Prop<number, true>;
|
|
256
|
-
sortedColumn: Prop<any,
|
|
257
|
-
searchText: Prop<string,
|
|
258
|
-
filters: Prop<any,
|
|
256
|
+
sortedColumn: Prop<any, true>;
|
|
257
|
+
searchText: Prop<string, true>;
|
|
258
|
+
filters: Prop<any, true>;
|
|
259
259
|
hiddenColumns: Prop<any, false>;
|
|
260
260
|
columnFreezes: Prop<any, false>;
|
|
261
261
|
tagsColorAssignment: Prop<any, false>;
|
|
@@ -61,7 +61,6 @@ export declare const ColumnHeaderWrapper: import("styled-components").StyledComp
|
|
|
61
61
|
export declare const ColumnHeaderTitleWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
62
62
|
export declare const HeaderCellContentWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
63
63
|
columnProperties: ColumnProperties;
|
|
64
|
-
shouldCapitalize: boolean;
|
|
65
64
|
}, never>;
|
|
66
65
|
interface TableIconWrapperProps {
|
|
67
66
|
selected?: boolean;
|
|
@@ -366,7 +366,7 @@ type ColumnEditConfigs = {
|
|
|
366
366
|
export type UnknownRow = Record<string, unknown>;
|
|
367
367
|
export type UnknownRows = Array<UnknownRow>;
|
|
368
368
|
export interface TableSortColumn {
|
|
369
|
-
column
|
|
369
|
+
column?: string;
|
|
370
370
|
asc: boolean;
|
|
371
371
|
}
|
|
372
372
|
export interface TagsColorAssignment {
|
|
@@ -377,7 +377,6 @@ export interface TableWidgetProps extends TableFunctions {
|
|
|
377
377
|
sourceId: string;
|
|
378
378
|
widgetName: string;
|
|
379
379
|
isLoading: boolean;
|
|
380
|
-
defaultSearchText: string;
|
|
381
380
|
searchPlaceholder: string;
|
|
382
381
|
pageSize: number;
|
|
383
382
|
configuredPageSize?: number;
|
|
@@ -393,9 +392,8 @@ export interface TableWidgetProps extends TableFunctions {
|
|
|
393
392
|
isDownloadable: boolean;
|
|
394
393
|
isFilterable: boolean;
|
|
395
394
|
showColumnBorders: boolean;
|
|
396
|
-
defaultFilters: string;
|
|
397
395
|
isSearchable: boolean;
|
|
398
|
-
|
|
396
|
+
header: string;
|
|
399
397
|
compactMode: CompactMode;
|
|
400
398
|
enableRowDeletion: boolean;
|
|
401
399
|
enableRowInsertion: boolean;
|
|
@@ -427,6 +425,7 @@ export interface TableWidgetProps extends TableFunctions {
|
|
|
427
425
|
theme: UserAccessibleTheme;
|
|
428
426
|
border: PerSideBorder;
|
|
429
427
|
disableNudge: (disable: boolean) => void;
|
|
428
|
+
disableDrag: (disable: boolean) => void;
|
|
430
429
|
filteredTableData?: UnknownRows;
|
|
431
430
|
filteredOrderMap?: Array<number>;
|
|
432
431
|
editedRows?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/library",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@react-hook/resize-observer": "1.2.6",
|
|
33
33
|
"@superblocksteam/fast-deep-equal": "3.1.4",
|
|
34
34
|
"@superblocksteam/iso-currency": "2.0.0",
|
|
35
|
-
"@superblocksteam/library-shared": "2.0.0-next.
|
|
35
|
+
"@superblocksteam/library-shared": "2.0.0-next.34",
|
|
36
36
|
"@superblocksteam/shared": "0.9132.0",
|
|
37
37
|
"antd": "4.24.15",
|
|
38
38
|
"apca-w3": "^0.1.9",
|