@superblocksteam/library 2.0.3-next.196 → 2.0.3-next.197

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.
Files changed (22) hide show
  1. package/dist/{allPaths-C_dOrZGg.js → allPaths-BTYAJAA3.js} +2 -2
  2. package/dist/{allPaths-C_dOrZGg.js.map → allPaths-BTYAJAA3.js.map} +1 -1
  3. package/dist/{allPaths-Dgpxk8Um.js → allPaths-k-ermJRk.js} +2 -2
  4. package/dist/{allPaths-Dgpxk8Um.js.map → allPaths-k-ermJRk.js.map} +1 -1
  5. package/dist/{allPathsLoader-ByP0iRQq.js → allPathsLoader-DGPQhqI0.js} +3 -3
  6. package/dist/{allPathsLoader-CW9Ec2JW.js.map → allPathsLoader-DGPQhqI0.js.map} +1 -1
  7. package/dist/{allPathsLoader-CW9Ec2JW.js → allPathsLoader-XDG2QDHX.js} +3 -3
  8. package/dist/{allPathsLoader-ByP0iRQq.js.map → allPathsLoader-XDG2QDHX.js.map} +1 -1
  9. package/dist/{devtools-consolidated-pFTghgz2.js → devtools-consolidated-CuKf4Mw6.js} +2 -2
  10. package/dist/{devtools-consolidated-pFTghgz2.js.map → devtools-consolidated-CuKf4Mw6.js.map} +1 -1
  11. package/dist/{index-DZvnjpQm.js → index-CFz3UGkJ.js} +114 -58
  12. package/dist/{index-DZvnjpQm.js.map → index-CFz3UGkJ.js.map} +1 -1
  13. package/dist/index.js +2 -2
  14. package/dist/{splitPathsBySizeLoader-bkDhkrOd.js → splitPathsBySizeLoader-9ypptKho.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-bkDhkrOd.js.map → splitPathsBySizeLoader-9ypptKho.js.map} +1 -1
  16. package/dist/{splitPathsBySizeLoader-BrImLlIK.js → splitPathsBySizeLoader-CW0AvZcf.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-BrImLlIK.js.map → splitPathsBySizeLoader-CW0AvZcf.js.map} +1 -1
  18. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +12 -9
  19. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +1 -0
  20. package/dist-types/lib/user-facing/components/table/index.d.ts +12 -9
  21. package/dist-types/lib/user-facing/components/table/props.d.ts +12 -9
  22. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as clientExports } from "./index-DZvnjpQm.js";
2
- import { a0, a1, X, O, P, a2, N, a3, a4, a5, a6, a7, a8, B, a9, aa, ab, ac, ad, Z, ae, V, af, ag, ah, ai, Y, z, S, q, d, e, n, s, l, Q, C, v, w, f, i, g, B as B2, c, u, k, h, y, x, A, aj, ak, al, am, an, T, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, D, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, M, aY, aZ, a_, a$, b0, b1, G, b2, b3, b4, b5, b6, J, b7, b8, E, b9, ba, bb, r, L, K, bc, bd, be, W, F, H, 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, bH, bI, bJ, bK, bL, U, R, bM } from "./index-DZvnjpQm.js";
1
+ import { $ as clientExports } from "./index-CFz3UGkJ.js";
2
+ import { a0, a1, X, O, P, a2, N, a3, a4, a5, a6, a7, a8, B, a9, aa, ab, ac, ad, Z, ae, V, af, ag, ah, ai, Y, z, S, q, d, e, n, s, l, Q, C, v, w, f, i, g, B as B2, c, u, k, h, y, x, A, aj, ak, al, am, an, T, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, D, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, M, aY, aZ, a_, a$, b0, b1, G, b2, b3, b4, b5, b6, J, b7, b8, E, b9, ba, bb, r, L, K, bc, bd, be, W, F, H, 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, bH, bI, bJ, bK, bL, U, R, bM } from "./index-CFz3UGkJ.js";
3
3
  const createRoot = clientExports.createRoot;
4
4
  export {
5
5
  a0 as Await,
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-DZvnjpQm.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-CFz3UGkJ.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-bkDhkrOd.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-9ypptKho.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-bkDhkrOd.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
+ {"version":3,"file":"splitPathsBySizeLoader-9ypptKho.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-DZvnjpQm.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-CFz3UGkJ.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-BrImLlIK.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-CW0AvZcf.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-BrImLlIK.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]}
1
+ {"version":3,"file":"splitPathsBySizeLoader-CW0AvZcf.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]}
@@ -9,36 +9,42 @@ export declare const columnPanelConfig: {
9
9
  columnType: Prop<ColumnType, true>;
10
10
  }, "columnType"> & ({
11
11
  displayedValue: Prop<string, false>;
12
+ isDerived: Prop<boolean, true>;
12
13
  columnType: Prop<undefined, false>;
13
14
  } | {
14
15
  displayedValue: Prop<string, false>;
16
+ isDerived: Prop<boolean, true>;
15
17
  columnType: Prop<"text", true>;
16
18
  } | {
17
19
  notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
18
20
  minimumFractionDigits: Prop<number, false>;
19
21
  maximumFractionDigits: Prop<number, false>;
22
+ isDerived: Prop<boolean, true>;
20
23
  columnType: Prop<"number", true>;
21
24
  } | {
22
25
  notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
23
26
  minimumFractionDigits: Prop<number, false>;
24
27
  maximumFractionDigits: Prop<number, false>;
25
28
  currency: Prop<string, true>;
29
+ isDerived: Prop<boolean, true>;
26
30
  columnType: Prop<"currency", true>;
27
31
  } | {
28
32
  minimumFractionDigits: Prop<number, false>;
29
33
  maximumFractionDigits: Prop<number, false>;
34
+ isDerived: Prop<boolean, true>;
30
35
  columnType: Prop<"percentage", true>;
31
36
  } | {
32
37
  openImageUrl: Prop<boolean, true>;
38
+ isDerived: Prop<boolean, true>;
33
39
  columnType: Prop<"image", true>;
34
40
  } | {
41
+ isDerived: Prop<boolean, true>;
35
42
  columnType: Prop<"video", true>;
36
43
  } | {
44
+ manageTimezone: Prop<boolean, true>;
37
45
  inputFormat: Prop<string, false>;
38
46
  outputFormat: Prop<string, false>;
39
- manageTimezone: Prop<boolean, false>;
40
- valueTimezone: Prop<string, false>;
41
- displayTimezone: Prop<string, false>;
47
+ isDerived: Prop<boolean, true>;
42
48
  columnType: Prop<"date", true>;
43
49
  } | {
44
50
  buttonLabel: Prop<string, true>;
@@ -48,11 +54,14 @@ export declare const columnPanelConfig: {
48
54
  linkLabel: Prop<string, false>;
49
55
  columnType: Prop<"link", true>;
50
56
  } | {
57
+ isDerived: Prop<boolean, true>;
51
58
  columnType: Prop<"boolean", true>;
52
59
  } | {
60
+ isDerived: Prop<boolean, true>;
53
61
  columnType: Prop<"tags", true>;
54
62
  } | {
55
63
  displayedValue: Prop<string, false>;
64
+ isDerived: Prop<boolean, true>;
56
65
  columnType: Prop<"email", true>;
57
66
  })))) & {
58
67
  isVisible: Prop<boolean, true>;
@@ -68,8 +77,6 @@ export declare const columnPanelConfig: {
68
77
  "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
69
78
  cellBackground: Prop<string, true>;
70
79
  textWrap: Prop<boolean, false>;
71
- cellIcon: Prop<string, false>;
72
- cellIconPosition: Prop<IconPosition, true>;
73
80
  columnType: Prop<undefined, false>;
74
81
  } | {
75
82
  horizontalAlign: Prop<"center" | "left" | "right", true>;
@@ -77,8 +84,6 @@ export declare const columnPanelConfig: {
77
84
  "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
78
85
  cellBackground: Prop<string, true>;
79
86
  textWrap: Prop<boolean, false>;
80
- cellIcon: Prop<string, false>;
81
- cellIconPosition: Prop<IconPosition, true>;
82
87
  columnType: Prop<"text", true>;
83
88
  } | {
84
89
  horizontalAlign: Prop<"center" | "left" | "right", true>;
@@ -159,8 +164,6 @@ export declare const columnPanelConfig: {
159
164
  "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
160
165
  cellBackground: Prop<string, true>;
161
166
  textWrap: Prop<boolean, false>;
162
- cellIcon: Prop<string, false>;
163
- cellIconPosition: Prop<IconPosition, true>;
164
167
  columnType: Prop<"email", true>;
165
168
  })))) & {
166
169
  isFrozen: Prop<boolean, false>;
@@ -10,6 +10,7 @@ export declare function getEditedRows(props: any): {
10
10
  originalRows: any[];
11
11
  };
12
12
  export declare function getAllEdits(props: any): any;
13
+ export declare const isDerivedColumn: (tableData: any[], columnId: string) => boolean;
13
14
  export declare function getFilteredTableData(props: any): any[];
14
15
  export declare function getEditedRowIndices(props: any): {
15
16
  deletedRows: {
@@ -9,36 +9,42 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
9
9
  columnType: import("../../properties-panel/props-builder.js").Prop<import("./types.js").ColumnType, true>;
10
10
  }, "columnType"> & ({
11
11
  displayedValue: import("../../properties-panel/props-builder.js").Prop<string, false>;
12
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
12
13
  columnType: import("../../properties-panel/props-builder.js").Prop<undefined, false>;
13
14
  } | {
14
15
  displayedValue: import("../../properties-panel/props-builder.js").Prop<string, false>;
16
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
15
17
  columnType: import("../../properties-panel/props-builder.js").Prop<"text", true>;
16
18
  } | {
17
19
  notation: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
18
20
  minimumFractionDigits: import("../../properties-panel/props-builder.js").Prop<number, false>;
19
21
  maximumFractionDigits: import("../../properties-panel/props-builder.js").Prop<number, false>;
22
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
20
23
  columnType: import("../../properties-panel/props-builder.js").Prop<"number", true>;
21
24
  } | {
22
25
  notation: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
23
26
  minimumFractionDigits: import("../../properties-panel/props-builder.js").Prop<number, false>;
24
27
  maximumFractionDigits: import("../../properties-panel/props-builder.js").Prop<number, false>;
25
28
  currency: import("../../properties-panel/props-builder.js").Prop<string, true>;
29
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
26
30
  columnType: import("../../properties-panel/props-builder.js").Prop<"currency", true>;
27
31
  } | {
28
32
  minimumFractionDigits: import("../../properties-panel/props-builder.js").Prop<number, false>;
29
33
  maximumFractionDigits: import("../../properties-panel/props-builder.js").Prop<number, false>;
34
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
30
35
  columnType: import("../../properties-panel/props-builder.js").Prop<"percentage", true>;
31
36
  } | {
32
37
  openImageUrl: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
38
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
33
39
  columnType: import("../../properties-panel/props-builder.js").Prop<"image", true>;
34
40
  } | {
41
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
35
42
  columnType: import("../../properties-panel/props-builder.js").Prop<"video", true>;
36
43
  } | {
44
+ manageTimezone: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
37
45
  inputFormat: import("../../properties-panel/props-builder.js").Prop<string, false>;
38
46
  outputFormat: import("../../properties-panel/props-builder.js").Prop<string, false>;
39
- manageTimezone: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
40
- valueTimezone: import("../../properties-panel/props-builder.js").Prop<string, false>;
41
- displayTimezone: import("../../properties-panel/props-builder.js").Prop<string, false>;
47
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
42
48
  columnType: import("../../properties-panel/props-builder.js").Prop<"date", true>;
43
49
  } | {
44
50
  buttonLabel: import("../../properties-panel/props-builder.js").Prop<string, true>;
@@ -48,11 +54,14 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
48
54
  linkLabel: import("../../properties-panel/props-builder.js").Prop<string, false>;
49
55
  columnType: import("../../properties-panel/props-builder.js").Prop<"link", true>;
50
56
  } | {
57
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
51
58
  columnType: import("../../properties-panel/props-builder.js").Prop<"boolean", true>;
52
59
  } | {
60
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
53
61
  columnType: import("../../properties-panel/props-builder.js").Prop<"tags", true>;
54
62
  } | {
55
63
  displayedValue: import("../../properties-panel/props-builder.js").Prop<string, false>;
64
+ isDerived: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
56
65
  columnType: import("../../properties-panel/props-builder.js").Prop<"email", true>;
57
66
  })))) & {
58
67
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
@@ -68,8 +77,6 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
68
77
  "cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
69
78
  cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
70
79
  textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
71
- cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
72
- cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
73
80
  columnType: import("../../properties-panel/props-builder.js").Prop<undefined, false>;
74
81
  } | {
75
82
  horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
@@ -77,8 +84,6 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
77
84
  "cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
78
85
  cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
79
86
  textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
80
- cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
81
- cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
82
87
  columnType: import("../../properties-panel/props-builder.js").Prop<"text", true>;
83
88
  } | {
84
89
  horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
@@ -159,8 +164,6 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
159
164
  "cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
160
165
  cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
161
166
  textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
162
- cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
163
- cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
164
167
  columnType: import("../../properties-panel/props-builder.js").Prop<"email", true>;
165
168
  })))) & {
166
169
  isFrozen: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
@@ -12,36 +12,42 @@ export declare const propertiesDefinition: {
12
12
  columnType: Prop<import("./types.js").ColumnType, true>;
13
13
  }, "columnType"> & ({
14
14
  displayedValue: Prop<string, false>;
15
+ isDerived: Prop<boolean, true>;
15
16
  columnType: Prop<undefined, false>;
16
17
  } | {
17
18
  displayedValue: Prop<string, false>;
19
+ isDerived: Prop<boolean, true>;
18
20
  columnType: Prop<"text", true>;
19
21
  } | {
20
22
  notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
21
23
  minimumFractionDigits: Prop<number, false>;
22
24
  maximumFractionDigits: Prop<number, false>;
25
+ isDerived: Prop<boolean, true>;
23
26
  columnType: Prop<"number", true>;
24
27
  } | {
25
28
  notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
26
29
  minimumFractionDigits: Prop<number, false>;
27
30
  maximumFractionDigits: Prop<number, false>;
28
31
  currency: Prop<string, true>;
32
+ isDerived: Prop<boolean, true>;
29
33
  columnType: Prop<"currency", true>;
30
34
  } | {
31
35
  minimumFractionDigits: Prop<number, false>;
32
36
  maximumFractionDigits: Prop<number, false>;
37
+ isDerived: Prop<boolean, true>;
33
38
  columnType: Prop<"percentage", true>;
34
39
  } | {
35
40
  openImageUrl: Prop<boolean, true>;
41
+ isDerived: Prop<boolean, true>;
36
42
  columnType: Prop<"image", true>;
37
43
  } | {
44
+ isDerived: Prop<boolean, true>;
38
45
  columnType: Prop<"video", true>;
39
46
  } | {
47
+ manageTimezone: Prop<boolean, true>;
40
48
  inputFormat: Prop<string, false>;
41
49
  outputFormat: Prop<string, false>;
42
- manageTimezone: Prop<boolean, false>;
43
- valueTimezone: Prop<string, false>;
44
- displayTimezone: Prop<string, false>;
50
+ isDerived: Prop<boolean, true>;
45
51
  columnType: Prop<"date", true>;
46
52
  } | {
47
53
  buttonLabel: Prop<string, true>;
@@ -51,11 +57,14 @@ export declare const propertiesDefinition: {
51
57
  linkLabel: Prop<string, false>;
52
58
  columnType: Prop<"link", true>;
53
59
  } | {
60
+ isDerived: Prop<boolean, true>;
54
61
  columnType: Prop<"boolean", true>;
55
62
  } | {
63
+ isDerived: Prop<boolean, true>;
56
64
  columnType: Prop<"tags", true>;
57
65
  } | {
58
66
  displayedValue: Prop<string, false>;
67
+ isDerived: Prop<boolean, true>;
59
68
  columnType: Prop<"email", true>;
60
69
  })))) & {
61
70
  isVisible: Prop<boolean, true>;
@@ -71,8 +80,6 @@ export declare const propertiesDefinition: {
71
80
  "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
72
81
  cellBackground: Prop<string, true>;
73
82
  textWrap: Prop<boolean, false>;
74
- cellIcon: Prop<string, false>;
75
- cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
76
83
  columnType: Prop<undefined, false>;
77
84
  } | {
78
85
  horizontalAlign: Prop<"center" | "left" | "right", true>;
@@ -80,8 +87,6 @@ export declare const propertiesDefinition: {
80
87
  "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
81
88
  cellBackground: Prop<string, true>;
82
89
  textWrap: Prop<boolean, false>;
83
- cellIcon: Prop<string, false>;
84
- cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
85
90
  columnType: Prop<"text", true>;
86
91
  } | {
87
92
  horizontalAlign: Prop<"center" | "left" | "right", true>;
@@ -162,8 +167,6 @@ export declare const propertiesDefinition: {
162
167
  "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
163
168
  cellBackground: Prop<string, true>;
164
169
  textWrap: Prop<boolean, false>;
165
- cellIcon: Prop<string, false>;
166
- cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
167
170
  columnType: Prop<"email", true>;
168
171
  })))) & {
169
172
  isFrozen: Prop<boolean, false>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/library",
3
- "version": "2.0.3-next.196",
3
+ "version": "2.0.3-next.197",
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.3-next.196",
35
+ "@superblocksteam/library-shared": "2.0.3-next.197",
36
36
  "@superblocksteam/shared": "0.9160.0",
37
37
  "antd": "4.24.15",
38
38
  "apca-w3": "^0.1.9",