@superblocksteam/library 2.0.0-next.101 → 2.0.0-next.102

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.
@@ -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-CTjwjLnl.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-nH86EJN2.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-BiZ-FMlp.js.map
17
+ //# sourceMappingURL=allPaths-BUVDrPil.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-BiZ-FMlp.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-BUVDrPil.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,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-CTjwjLnl.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-nH86EJN2.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-CzIuOHDA.js.map
17
+ //# sourceMappingURL=allPaths-Cysz2HPx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-CzIuOHDA.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-Cysz2HPx.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,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-CTjwjLnl.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-nH86EJN2.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-CzIuOHDA.js"
10
+ "./allPaths-BUVDrPil.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-AmSmsmOe.js.map
22
+ //# sourceMappingURL=allPathsLoader-D63PfmgF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-GKrMgziV.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-D63PfmgF.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,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-CTjwjLnl.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-nH86EJN2.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-BiZ-FMlp.js"
10
+ "./allPaths-Cysz2HPx.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-GKrMgziV.js.map
22
+ //# sourceMappingURL=allPathsLoader-Dpac_env.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-AmSmsmOe.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-Dpac_env.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]}
@@ -2684,14 +2684,14 @@ function getLoaderFn$1(options) {
2684
2684
  if (!(loader === "all")) return [3, 3];
2685
2685
  return [4, import(
2686
2686
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
2687
- "./allPathsLoader-GKrMgziV.js"
2687
+ "./allPathsLoader-D63PfmgF.js"
2688
2688
  )];
2689
2689
  case 2:
2690
2690
  return [2, _b2.sent().allPathsLoader];
2691
2691
  case 3:
2692
2692
  return [4, import(
2693
2693
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
2694
- "./splitPathsBySizeLoader-C0a97mQd.js"
2694
+ "./splitPathsBySizeLoader-AU3QEoy4.js"
2695
2695
  )];
2696
2696
  case 4:
2697
2697
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -94535,41 +94535,46 @@ class EntityManager {
94535
94535
  }
94536
94536
  const getValue2 = computed(() => {
94537
94537
  let ret = null;
94538
- const metaParent = getMetaParent();
94539
- if (metaParent && finalSegment in metaParent) {
94540
- ret = metaParent[finalSegment];
94541
- } else {
94542
- if (isComputed) {
94543
- ret = computeEngine.compute({
94544
- snapshot: snapshot(scope.id),
94545
- entityName: name,
94546
- func: eov.value,
94547
- path: prop
94548
- });
94538
+ try {
94539
+ const metaParent = getMetaParent();
94540
+ if (metaParent && finalSegment in metaParent) {
94541
+ ret = metaParent[finalSegment];
94549
94542
  } else {
94550
- ret = eov.value;
94551
- }
94552
- }
94553
- const managedProp = this.componentRegistry.getManagedProps(entityType).find((p) => p.path === prop);
94554
- if (managedProp == null ? void 0 : managedProp.validate) {
94555
- const currentState = snapshot(scope.id);
94556
- const entity2 = currentState[name.value];
94557
- const validationResult = managedProp.validate(ret, entity2);
94558
- if (entity2[WIDGET_SOURCE_ID_ATTRIBUTE]) {
94559
- this.setValidationState(
94560
- entity2[WIDGET_SOURCE_ID_ATTRIBUTE],
94561
- prop,
94562
- {
94563
- isValid: validationResult.valid,
94564
- message: validationResult.valid ? "" : validationResult.message,
94565
- invalidValue: validationResult.valid ? void 0 : validationResult.invalidValue
94566
- }
94567
- );
94568
- }
94569
- if (!validationResult.valid) {
94570
- return void 0;
94543
+ if (isComputed) {
94544
+ ret = computeEngine.compute({
94545
+ snapshot: snapshot(scope.id),
94546
+ entityName: name,
94547
+ func: eov.value,
94548
+ path: prop
94549
+ });
94550
+ } else {
94551
+ ret = eov.value;
94552
+ }
94553
+ }
94554
+ const managedProp = this.componentRegistry.getManagedProps(entityType).find((p) => p.path === prop);
94555
+ if (managedProp == null ? void 0 : managedProp.validate) {
94556
+ const currentState = snapshot(scope.id);
94557
+ const entity2 = currentState[name.value];
94558
+ const validationResult = managedProp.validate(ret, entity2);
94559
+ if (entity2[WIDGET_SOURCE_ID_ATTRIBUTE]) {
94560
+ this.setValidationState(
94561
+ entity2[WIDGET_SOURCE_ID_ATTRIBUTE],
94562
+ prop,
94563
+ {
94564
+ isValid: validationResult.valid,
94565
+ message: validationResult.valid ? "" : validationResult.message,
94566
+ invalidValue: validationResult.valid ? void 0 : validationResult.invalidValue
94567
+ }
94568
+ );
94569
+ }
94570
+ if (!validationResult.valid) {
94571
+ return void 0;
94572
+ }
94573
+ return validationResult.result;
94571
94574
  }
94572
- return validationResult.result;
94575
+ } catch (_e2) {
94576
+ console.log("Could not compute property value");
94577
+ return void 0;
94573
94578
  }
94574
94579
  return ret;
94575
94580
  });
@@ -98497,7 +98502,7 @@ class OperationManager {
98497
98502
  get allNames() {
98498
98503
  return [];
98499
98504
  }
98500
- executeOrAddToBatch(operation) {
98505
+ executeOrAddToBatch(operation, addTransaction = true) {
98501
98506
  const transactionId = this.batchOperationTransactionId ?? generateId();
98502
98507
  const payload = this.waitingForBatch ? operation.payload : {
98503
98508
  ...operation.payload,
@@ -98511,7 +98516,9 @@ class OperationManager {
98511
98516
  id: transactionId,
98512
98517
  payload
98513
98518
  };
98514
- this.addPendingTransaction(opWithId);
98519
+ if (addTransaction) {
98520
+ this.addPendingTransaction(opWithId);
98521
+ }
98515
98522
  if (this.waitingForBatch) {
98516
98523
  this.batchOperations.push(opWithId);
98517
98524
  } else {
@@ -98614,10 +98621,13 @@ class OperationManager {
98614
98621
  source: { id: sourceId }
98615
98622
  }))
98616
98623
  };
98617
- this.executeOrAddToBatch({
98618
- type: "editor:deleteComponents",
98619
- payload
98620
- });
98624
+ this.executeOrAddToBatch(
98625
+ {
98626
+ type: "editor:deleteComponents",
98627
+ payload
98628
+ },
98629
+ this.canDeleteComponents(sourceIds)
98630
+ );
98621
98631
  }
98622
98632
  acknowledgeEditOperation(operation) {
98623
98633
  var _a2, _b2;
@@ -98758,6 +98768,53 @@ class OperationManager {
98758
98768
  generateSourceId() {
98759
98769
  return generateSourceId();
98760
98770
  }
98771
+ canDeleteComponents(sourceIds) {
98772
+ const editStore2 = getEditStore();
98773
+ const widgets = sourceIds.map(
98774
+ (id2) => editStore2.runtimeEntitiesManager.getAnyEditorWidgetMeta(id2)
98775
+ );
98776
+ if (!widgets.some(
98777
+ (widget) => (widget == null ? void 0 : widget.type) === "SbSection" || (widget == null ? void 0 : widget.type) === "SbColumn"
98778
+ )) {
98779
+ return true;
98780
+ }
98781
+ const sectionsToDelete = widgets.filter(
98782
+ (widget) => (widget == null ? void 0 : widget.type) === "SbSection"
98783
+ );
98784
+ const sectionInstanceIds = new Set(
98785
+ sectionsToDelete.filter((section) => section == null ? void 0 : section.instanceId).map((section) => section == null ? void 0 : section.instanceId)
98786
+ );
98787
+ const columnsToDelete = widgets.filter(
98788
+ (widget) => (widget == null ? void 0 : widget.type) === "SbColumn"
98789
+ );
98790
+ const columnInstanceIds = new Set(
98791
+ columnsToDelete.filter((column2) => column2 == null ? void 0 : column2.instanceId).map((column2) => column2 == null ? void 0 : column2.instanceId)
98792
+ );
98793
+ const isDeletingAllSections = sectionsToDelete.length >= 1 && sectionsToDelete.every((section) => {
98794
+ const parentId = section == null ? void 0 : section.parentInstanceId;
98795
+ if (!parentId) {
98796
+ return false;
98797
+ }
98798
+ const allParentChildren = editStore2.runtimeEntitiesManager.getEditorWidgetChildren(parentId);
98799
+ return allParentChildren.every(
98800
+ (child) => child.isSbComponent && sectionInstanceIds.has(child.value)
98801
+ );
98802
+ });
98803
+ if (isDeletingAllSections) {
98804
+ return false;
98805
+ }
98806
+ const isDeletingAllColumns = columnsToDelete.length >= 1 && columnsToDelete.every((column2) => {
98807
+ const parentId = column2 == null ? void 0 : column2.parentInstanceId;
98808
+ if (!parentId) {
98809
+ return false;
98810
+ }
98811
+ const allParentChildren = editStore2.runtimeEntitiesManager.getEditorWidgetChildren(parentId);
98812
+ return allParentChildren.every(
98813
+ (child) => child.isSbComponent && columnInstanceIds.has(child.value)
98814
+ );
98815
+ });
98816
+ return !isDeletingAllColumns;
98817
+ }
98761
98818
  }
98762
98819
  _init3 = __decoratorStart(null);
98763
98820
  __decorateElement(_init3, 1, "executeOrAddToBatch", _executeOrAddToBatch_dec, OperationManager);
@@ -98945,7 +99002,7 @@ function getPropertyValue$1({
98945
99002
  } catch (e3) {
98946
99003
  console.error("Error making template string", e3);
98947
99004
  const entity = rootStore.entityManager.getEntity(scopeId, name);
98948
- return entityKey ? entity[entityKey] ?? property.value : property.value;
99005
+ return entityKey && entity ? entity[entityKey] ?? property.value : property.value;
98949
99006
  }
98950
99007
  }
98951
99008
  if (property.type === "COMPUTED" && typeof property.value === "string" && scopeId && name) {
@@ -98954,7 +99011,7 @@ function getPropertyValue$1({
98954
99011
  } catch (e3) {
98955
99012
  console.error("Error generating computed value", e3);
98956
99013
  const entity = rootStore.entityManager.getEntity(scopeId, name);
98957
- return entityKey ? entity[entityKey] ?? property.value : property.value;
99014
+ return entityKey && entity ? entity[entityKey] ?? property.value : property.value;
98958
99015
  }
98959
99016
  }
98960
99017
  if (property.type === "EXPRESSION" && typeof property.value === "string") {
@@ -144598,14 +144655,14 @@ function getLoaderFn(options) {
144598
144655
  if (!(loader === "all")) return [3, 3];
144599
144656
  return [4, import(
144600
144657
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
144601
- "./allPathsLoader-AmSmsmOe.js"
144658
+ "./allPathsLoader-Dpac_env.js"
144602
144659
  )];
144603
144660
  case 2:
144604
144661
  return [2, _b2.sent().allPathsLoader];
144605
144662
  case 3:
144606
144663
  return [4, import(
144607
144664
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
144608
- "./splitPathsBySizeLoader-B0DhkafB.js"
144665
+ "./splitPathsBySizeLoader-qHkbKq6Z.js"
144609
144666
  )];
144610
144667
  case 4:
144611
144668
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -196840,4 +196897,4 @@ export {
196840
196897
  copyToClipboard as y,
196841
196898
  navigateTo as z
196842
196899
  };
196843
- //# sourceMappingURL=index-CTjwjLnl.js.map
196900
+ //# sourceMappingURL=index-nH86EJN2.js.map