@superblocksteam/library 2.0.0-next.14 → 2.0.0-next.16

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-Dw4gnl1h.js → allPaths-81gThbn_.js} +2 -2
  2. package/dist/{allPaths-Dw4gnl1h.js.map → allPaths-81gThbn_.js.map} +1 -1
  3. package/dist/{allPaths-DhZ2EIr_.js → allPaths-Dgtpr-8t.js} +2 -2
  4. package/dist/{allPaths-DhZ2EIr_.js.map → allPaths-Dgtpr-8t.js.map} +1 -1
  5. package/dist/{allPathsLoader-B4Z0U3uu.js → allPathsLoader-BeEImT4o.js} +3 -3
  6. package/dist/{allPathsLoader-B4Z0U3uu.js.map → allPathsLoader-BeEImT4o.js.map} +1 -1
  7. package/dist/{allPathsLoader-rdTxApDE.js → allPathsLoader-DPEiDCtt.js} +3 -3
  8. package/dist/{allPathsLoader-rdTxApDE.js.map → allPathsLoader-DPEiDCtt.js.map} +1 -1
  9. package/dist/{index-ZdgsD-En.js → index-C9qKjr9S.js} +114 -8
  10. package/dist/{index-ZdgsD-En.js.map → index-C9qKjr9S.js.map} +1 -1
  11. package/dist/index.js +2 -2
  12. package/dist/{splitPathsBySizeLoader-boJ6lyNc.js → splitPathsBySizeLoader-Dpg8c26Z.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-boJ6lyNc.js.map → splitPathsBySizeLoader-Dpg8c26Z.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-B9EaLUqI.js → splitPathsBySizeLoader-IIQT7VO3.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-B9EaLUqI.js.map → splitPathsBySizeLoader-IIQT7VO3.js.map} +1 -1
  16. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +7 -0
  17. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +13 -0
  18. package/dist-types/lib/user-facing/components/table/index.d.ts +13 -0
  19. package/dist-types/lib/user-facing/components/table/props.d.ts +13 -0
  20. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +0 -1
  21. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +1 -0
  22. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { I as IconSvgPaths16 } from "./index-BxzKdlqH.js";
2
2
  import { I as IconSvgPaths20 } from "./index-DIn-fanT.js";
3
- import { p as pascalCase, b as IconSize } from "./index-ZdgsD-En.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-C9qKjr9S.js";
4
4
  function getIconPaths(name, size) {
5
5
  var key = pascalCase(name);
6
6
  return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
@@ -14,4 +14,4 @@ export {
14
14
  getIconPaths,
15
15
  iconNameToPathsRecordKey
16
16
  };
17
- //# sourceMappingURL=allPaths-Dw4gnl1h.js.map
17
+ //# sourceMappingURL=allPaths-81gThbn_.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-Dw4gnl1h.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/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 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 { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPaths-81gThbn_.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/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 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 { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import { I as IconSvgPaths16 } from "./index-DIJYif9G.js";
2
2
  import { I as IconSvgPaths20 } from "./index-LHtbj0-V.js";
3
- import { p as pascalCase, I as IconSize } from "./index-ZdgsD-En.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-C9qKjr9S.js";
4
4
  function getIconPaths(name, size) {
5
5
  var key = pascalCase(name);
6
6
  return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
@@ -14,4 +14,4 @@ export {
14
14
  getIconPaths,
15
15
  iconNameToPathsRecordKey
16
16
  };
17
- //# sourceMappingURL=allPaths-DhZ2EIr_.js.map
17
+ //# sourceMappingURL=allPaths-Dgtpr-8t.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-DhZ2EIr_.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/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 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 { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPaths-Dgtpr-8t.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/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 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 { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-ZdgsD-En.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-C9qKjr9S.js";
2
2
  var allPathsLoader = function(name, size) {
3
3
  return __awaiter(void 0, void 0, void 0, function() {
4
4
  var getIconPaths;
@@ -7,7 +7,7 @@ var allPathsLoader = function(name, size) {
7
7
  case 0:
8
8
  return [4, import(
9
9
  /* webpackChunkName: "blueprint-icons-all-paths" */
10
- "./allPaths-Dw4gnl1h.js"
10
+ "./allPaths-81gThbn_.js"
11
11
  )];
12
12
  case 1:
13
13
  getIconPaths = _a.sent().getIconPaths;
@@ -19,4 +19,4 @@ var allPathsLoader = function(name, size) {
19
19
  export {
20
20
  allPathsLoader
21
21
  };
22
- //# sourceMappingURL=allPathsLoader-B4Z0U3uu.js.map
22
+ //# sourceMappingURL=allPathsLoader-BeEImT4o.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-B4Z0U3uu.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/allPathsLoader.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\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPathsLoader-BeEImT4o.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/allPathsLoader.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\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-ZdgsD-En.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-C9qKjr9S.js";
2
2
  var allPathsLoader = function(name, size) {
3
3
  return __awaiter(void 0, void 0, void 0, function() {
4
4
  var getIconPaths;
@@ -7,7 +7,7 @@ var allPathsLoader = function(name, size) {
7
7
  case 0:
8
8
  return [4, import(
9
9
  /* webpackChunkName: "blueprint-icons-all-paths" */
10
- "./allPaths-DhZ2EIr_.js"
10
+ "./allPaths-Dgtpr-8t.js"
11
11
  )];
12
12
  case 1:
13
13
  getIconPaths = _a.sent().getIconPaths;
@@ -19,4 +19,4 @@ var allPathsLoader = function(name, size) {
19
19
  export {
20
20
  allPathsLoader
21
21
  };
22
- //# sourceMappingURL=allPathsLoader-rdTxApDE.js.map
22
+ //# sourceMappingURL=allPathsLoader-DPEiDCtt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-rdTxApDE.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/allPathsLoader.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\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPathsLoader-DPEiDCtt.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/allPathsLoader.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\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
@@ -2690,14 +2690,14 @@ function getLoaderFn$1(options) {
2690
2690
  if (!(loader === "all")) return [3, 3];
2691
2691
  return [4, import(
2692
2692
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
2693
- "./allPathsLoader-rdTxApDE.js"
2693
+ "./allPathsLoader-DPEiDCtt.js"
2694
2694
  )];
2695
2695
  case 2:
2696
2696
  return [2, _b2.sent().allPathsLoader];
2697
2697
  case 3:
2698
2698
  return [4, import(
2699
2699
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
2700
- "./splitPathsBySizeLoader-B9EaLUqI.js"
2700
+ "./splitPathsBySizeLoader-IIQT7VO3.js"
2701
2701
  )];
2702
2702
  case 4:
2703
2703
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -94355,6 +94355,9 @@ class Prop {
94355
94355
  validate: defaultValidator
94356
94356
  };
94357
94357
  }
94358
+ static unset() {
94359
+ return new Prop("any");
94360
+ }
94358
94361
  static string() {
94359
94362
  return new Prop("string", VALIDATORS.TEXT);
94360
94363
  }
@@ -95016,6 +95019,7 @@ function createGlobalObject({
95016
95019
  );
95017
95020
  }
95018
95021
  const prettyPrintFunction = (func, args) => {
95022
+ if (!func) return "";
95019
95023
  const funcStr = func.toString().replace(/\s+/g, " ").trim();
95020
95024
  const argsStr = args.map((arg) => {
95021
95025
  try {
@@ -95061,6 +95065,7 @@ class EvalComputeEngine {
95061
95065
  }
95062
95066
  class DirectComputeEngine {
95063
95067
  compute({ snapshot, entityName, func, args, path: path2 }) {
95068
+ if (!func) return void 0;
95064
95069
  try {
95065
95070
  return func.call(
95066
95071
  snapshot[entityName.value],
@@ -95862,6 +95867,93 @@ class EntityManager {
95862
95867
  delete scope.entityMeta[params.name.value];
95863
95868
  (_b2 = (_a2 = this.atoms) == null ? void 0 : _a2[params.scopeId]) == null ? true : delete _b2[params.name.value];
95864
95869
  }
95870
+ deleteProperty(params) {
95871
+ var _a2, _b2;
95872
+ const { scopeId, name, prop } = params;
95873
+ if (prop.split(".").includes(RECORD_PATH_IDENTIFIER)) {
95874
+ return;
95875
+ }
95876
+ const scope = this.getScope(scopeId);
95877
+ const entity = scope.getEntity(name);
95878
+ const entityMeta = scope.getEntityMeta(name);
95879
+ if (!entity || !entityMeta) {
95880
+ console.warn(`Entity ${name.value} not found in scope ${scopeId}`);
95881
+ return;
95882
+ }
95883
+ const pathSegments = prop.split(".");
95884
+ const isNested = pathSegments.length > 1;
95885
+ const finalSegment = pathSegments.pop() || "";
95886
+ const parentSegments = isNested ? pathSegments : [];
95887
+ let propParent = entity;
95888
+ let metaParent = entityMeta;
95889
+ if (isNested) {
95890
+ for (const segment of parentSegments) {
95891
+ if (!(segment in propParent) || !(segment in metaParent)) {
95892
+ return;
95893
+ }
95894
+ propParent = propParent[segment];
95895
+ metaParent = metaParent[segment];
95896
+ }
95897
+ }
95898
+ if (finalSegment in propParent) {
95899
+ delete propParent[finalSegment];
95900
+ }
95901
+ if (finalSegment in metaParent) {
95902
+ delete metaParent[finalSegment];
95903
+ }
95904
+ if ((_b2 = (_a2 = this.atoms[scopeId]) == null ? void 0 : _a2[name.value]) == null ? void 0 : _b2[prop]) {
95905
+ delete this.atoms[scopeId][name.value][prop];
95906
+ }
95907
+ }
95908
+ /*
95909
+ This is a helper method to delete obsolete nested properties
95910
+ It handles cases like deleting custom columns on the table
95911
+ */
95912
+ deleteObsoleteNestedProperties(scopeId, name, currentProps, entity) {
95913
+ for (const [propKey, propValue] of Object.entries(currentProps)) {
95914
+ if (propValue && typeof propValue === "object" && !Array.isArray(propValue)) {
95915
+ const entityPropValue = entity[propKey];
95916
+ if (!entityPropValue || typeof entityPropValue !== "object" || Array.isArray(entityPropValue)) {
95917
+ continue;
95918
+ }
95919
+ const currentKeys = new Set(Object.keys(propValue));
95920
+ const existingKeys = Object.keys(entityPropValue);
95921
+ const keysToDelete = existingKeys.filter(
95922
+ (key2) => !currentKeys.has(key2)
95923
+ );
95924
+ for (const keyToDelete of keysToDelete) {
95925
+ const obsoleteObj = entityPropValue[keyToDelete];
95926
+ if (obsoleteObj && typeof obsoleteObj === "object") {
95927
+ const nestedProps = this.getNestedPropertyPaths(
95928
+ `${propKey}.${keyToDelete}`,
95929
+ obsoleteObj
95930
+ );
95931
+ for (const nestedProp of nestedProps) {
95932
+ this.deleteProperty({ scopeId, name, prop: nestedProp });
95933
+ }
95934
+ }
95935
+ this.deleteProperty({
95936
+ scopeId,
95937
+ name,
95938
+ prop: `${propKey}.${keyToDelete}`
95939
+ });
95940
+ }
95941
+ }
95942
+ }
95943
+ }
95944
+ getNestedPropertyPaths(basePath, obj) {
95945
+ const paths = [];
95946
+ if (obj && typeof obj === "object" && !Array.isArray(obj)) {
95947
+ for (const [key2, value] of Object.entries(obj)) {
95948
+ const currentPath = `${basePath}.${key2}`;
95949
+ paths.push(currentPath);
95950
+ if (value && typeof value === "object" && !Array.isArray(value)) {
95951
+ paths.push(...this.getNestedPropertyPaths(currentPath, value));
95952
+ }
95953
+ }
95954
+ }
95955
+ return paths;
95956
+ }
95865
95957
  deleteEntityById(params) {
95866
95958
  const scope = this.getScope(params.scopeId);
95867
95959
  const name = scope.getEntityName(params.entityId);
@@ -95896,6 +95988,7 @@ class EntityManager {
95896
95988
  if (instanceId) {
95897
95989
  scope.idToName[instanceId] = name;
95898
95990
  }
95991
+ this.deleteObsoleteNestedProperties(scopeId, name, props, entity);
95899
95992
  const managedPropsForType = this.componentRegistry.getManagedProps(type5);
95900
95993
  const functionalProps = toExecutablesOrValues(props, managedPropsForType);
95901
95994
  const addedProperties = /* @__PURE__ */ new Set();
@@ -134269,6 +134362,10 @@ const columnPanelConfig = {
134269
134362
  })
134270
134363
  },
134271
134364
  variants: [
134365
+ {
134366
+ columnType: Prop.unset(),
134367
+ ...textColumnProperties.general
134368
+ },
134272
134369
  {
134273
134370
  columnType: Prop.literal(ColumnType.TEXT),
134274
134371
  ...textColumnProperties.general
@@ -134353,6 +134450,10 @@ const columnPanelConfig = {
134353
134450
  columnType: Prop.string()
134354
134451
  },
134355
134452
  variants: [
134453
+ {
134454
+ columnType: Prop.unset(),
134455
+ ...textColumnProperties.presentation
134456
+ },
134356
134457
  {
134357
134458
  columnType: Prop.literal(ColumnType.TEXT),
134358
134459
  ...textColumnProperties.presentation
@@ -143666,14 +143767,14 @@ function getLoaderFn(options) {
143666
143767
  if (!(loader === "all")) return [3, 3];
143667
143768
  return [4, import(
143668
143769
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
143669
- "./allPathsLoader-B4Z0U3uu.js"
143770
+ "./allPathsLoader-BeEImT4o.js"
143670
143771
  )];
143671
143772
  case 2:
143672
143773
  return [2, _b2.sent().allPathsLoader];
143673
143774
  case 3:
143674
143775
  return [4, import(
143675
143776
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
143676
- "./splitPathsBySizeLoader-boJ6lyNc.js"
143777
+ "./splitPathsBySizeLoader-Dpg8c26Z.js"
143677
143778
  )];
143678
143779
  case 4:
143679
143780
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -154382,11 +154483,12 @@ function getDefaultColumnProperties(accessor, index2, widgetName, isDerived) {
154382
154483
  enableFilter: true,
154383
154484
  enableSort: true,
154384
154485
  isVisible: true,
154385
- isDerived: false,
154486
+ isDerived: !!isDerived,
154386
154487
  label: accessor,
154387
154488
  computedValue: getDefaultComputedValue(
154388
154489
  accessor,
154389
- widgetName
154490
+ widgetName,
154491
+ isDerived ?? false
154390
154492
  ),
154391
154493
  linkUrl: "",
154392
154494
  linkLabel: "",
@@ -154403,6 +154505,9 @@ function getDefaultColumnProperties(accessor, index2, widgetName, isDerived) {
154403
154505
  };
154404
154506
  }
154405
154507
  function getDefaultComputedValue(accessor, widgetName, isDerived) {
154508
+ if (isDerived) {
154509
+ return "";
154510
+ }
154406
154511
  return `{{${widgetName}.tableDataWithInserts.map((currentRow) => { return currentRow${getDottedPathTo(
154407
154512
  accessor
154408
154513
  )} })}}`;
@@ -154530,7 +154635,8 @@ function createTableColumns(props) {
154530
154635
  const defaultProperties = getDefaultColumnProperties(
154531
154636
  derivedColumnKey,
154532
154637
  index2,
154533
- props.widgetName
154638
+ props.widgetName,
154639
+ true
154534
154640
  );
154535
154641
  tableColumns[derivedColumnKey] = {
154536
154642
  ...defaultProperties,
@@ -190107,4 +190213,4 @@ export {
190107
190213
  copyToClipboard as y,
190108
190214
  navigateTo as z
190109
190215
  };
190110
- //# sourceMappingURL=index-ZdgsD-En.js.map
190216
+ //# sourceMappingURL=index-C9qKjr9S.js.map