@superblocksteam/library 2.0.0-next.79 → 2.0.0-next.80

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-CBdzfmE8.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-VIobZDaT.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-BUAUNp6C.js.map
17
+ //# sourceMappingURL=allPaths-uoV-A88m.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-BUAUNp6C.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-uoV-A88m.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-CBdzfmE8.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-VIobZDaT.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-B1oHKI1p.js.map
17
+ //# sourceMappingURL=allPaths-zE6vvngv.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-B1oHKI1p.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-zE6vvngv.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-CBdzfmE8.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-VIobZDaT.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-B1oHKI1p.js"
10
+ "./allPaths-zE6vvngv.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-IJwIK4Mq.js.map
22
+ //# sourceMappingURL=allPathsLoader-BElXPrQw.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-IJwIK4Mq.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-BElXPrQw.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-CBdzfmE8.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-VIobZDaT.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-BUAUNp6C.js"
10
+ "./allPaths-uoV-A88m.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-jMzvQnRN.js.map
22
+ //# sourceMappingURL=allPathsLoader-BKNcF76M.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-jMzvQnRN.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-BKNcF76M.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-jMzvQnRN.js"
2693
+ "./allPathsLoader-BKNcF76M.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-Dl3K-Ulg.js"
2700
+ "./splitPathsBySizeLoader-B0zGaYdU.js"
2701
2701
  )];
2702
2702
  case 4:
2703
2703
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -100570,18 +100570,42 @@ class ResizingManager {
100570
100570
  registerStores({
100571
100571
  ResizingManager: this
100572
100572
  });
100573
+ startEditorSync({
100574
+ store: this,
100575
+ storeId: "resizing",
100576
+ projection(store) {
100577
+ const resize = store.activeResize;
100578
+ return {
100579
+ isResizing: resize != null,
100580
+ activeResize: resize ? {
100581
+ width: resize.widthToUpdate,
100582
+ height: resize.heightToUpdate
100583
+ } : null
100584
+ };
100585
+ }
100586
+ });
100587
+ }
100588
+ get activeResize() {
100589
+ var _a2;
100590
+ const selectedSourceId = (_a2 = this.root.editStore) == null ? void 0 : _a2.ui.getSelectedSourceIds()[0];
100591
+ if (!selectedSourceId) {
100592
+ return null;
100593
+ }
100594
+ return this._activeResizes.get(selectedSourceId);
100573
100595
  }
100574
100596
  startResizing(dragStartX, dragStartY, instanceId, position2) {
100575
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j, _k, _l2, _m2;
100576
- const widget = getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(instanceId);
100597
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j, _k, _l2, _m2, _n2, _o2;
100598
+ const widget = (_a2 = this.root.editStore) == null ? void 0 : _a2.runtimeEntitiesManager.getEditorWidgetMeta(
100599
+ instanceId
100600
+ );
100577
100601
  if (!widget) {
100578
100602
  console.error(`Could not find metadata ${instanceId}`);
100579
100603
  return;
100580
100604
  }
100581
100605
  const parentInstanceId = widget == null ? void 0 : widget.parentInstanceId;
100582
- const parentWidget = parentInstanceId && getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(
100606
+ const parentWidget = parentInstanceId && ((_b2 = this.root.editStore) == null ? void 0 : _b2.runtimeEntitiesManager.getEditorWidgetMeta(
100583
100607
  parentInstanceId
100584
- );
100608
+ ));
100585
100609
  if (!parentWidget) {
100586
100610
  console.error(`Could not find parent for ${instanceId}`);
100587
100611
  return;
@@ -100590,9 +100614,9 @@ class ResizingManager {
100590
100614
  parentWidget.scopeId,
100591
100615
  parentWidget.name
100592
100616
  ) : null;
100593
- const columns = (parentEntity == null ? void 0 : parentEntity.columns) ?? ((_a2 = parentWidget == null ? void 0 : parentWidget.props) == null ? void 0 : _a2.columns);
100594
- const parentPadding = (parentEntity == null ? void 0 : parentEntity.padding) ?? ((_b2 = parentWidget == null ? void 0 : parentWidget.props) == null ? void 0 : _b2.padding);
100595
- const parentWidth = (((_c2 = getBoundingBoxForWidget(parentInstanceId)) == null ? void 0 : _c2.width) ?? 0) - (((_d2 = parentPadding == null ? void 0 : parentPadding.left) == null ? void 0 : _d2.value) ?? 0) - (((_e2 = parentPadding == null ? void 0 : parentPadding.right) == null ? void 0 : _e2.value) ?? 0);
100617
+ const columns = (parentEntity == null ? void 0 : parentEntity.columns) ?? ((_c2 = parentWidget == null ? void 0 : parentWidget.props) == null ? void 0 : _c2.columns);
100618
+ const parentPadding = (parentEntity == null ? void 0 : parentEntity.padding) ?? ((_d2 = parentWidget == null ? void 0 : parentWidget.props) == null ? void 0 : _d2.padding);
100619
+ const parentWidth = (((_e2 = getBoundingBoxForWidget(parentInstanceId)) == null ? void 0 : _e2.width) ?? 0) - (((_f2 = parentPadding == null ? void 0 : parentPadding.left) == null ? void 0 : _f2.value) ?? 0) - (((_g2 = parentPadding == null ? void 0 : parentPadding.right) == null ? void 0 : _g2.value) ?? 0);
100596
100620
  const isOnGrid = isWidgetGrid(parentWidget) && parentWidth && columns;
100597
100621
  const gridUnitWidth = isOnGrid ? parentWidth / columns : GridDefaults.DEFAULT_GRID_COLUMN_WIDTH;
100598
100622
  const gridUnitHeight = GridDefaults.DEFAULT_GRID_ROW_HEIGHT;
@@ -100609,10 +100633,10 @@ class ResizingManager {
100609
100633
  dragStartX,
100610
100634
  dragStartY,
100611
100635
  start: {
100612
- width: ((_g2 = (_f2 = widget == null ? void 0 : widget.props) == null ? void 0 : _f2.width) == null ? void 0 : _g2.value) ?? 0,
100613
- height: ((_i = (_h2 = widget == null ? void 0 : widget.props) == null ? void 0 : _h2.height) == null ? void 0 : _i.value) ?? 0,
100614
- marginLeft: ((_k = (_j = widget == null ? void 0 : widget.props) == null ? void 0 : _j.marginLeft) == null ? void 0 : _k.value) ?? 0,
100615
- marginTop: ((_m2 = (_l2 = widget == null ? void 0 : widget.props) == null ? void 0 : _l2.marginTop) == null ? void 0 : _m2.value) ?? 0
100636
+ width: ((_i = (_h2 = widget == null ? void 0 : widget.props) == null ? void 0 : _h2.width) == null ? void 0 : _i.value) ?? 0,
100637
+ height: ((_k = (_j = widget == null ? void 0 : widget.props) == null ? void 0 : _j.height) == null ? void 0 : _k.value) ?? 0,
100638
+ marginLeft: ((_m2 = (_l2 = widget == null ? void 0 : widget.props) == null ? void 0 : _l2.marginLeft) == null ? void 0 : _m2.value) ?? 0,
100639
+ marginTop: ((_o2 = (_n2 = widget == null ? void 0 : widget.props) == null ? void 0 : _n2.marginTop) == null ? void 0 : _o2.value) ?? 0
100616
100640
  },
100617
100641
  resizedPosition: position2,
100618
100642
  widthToUpdate: null,
@@ -100630,10 +100654,11 @@ class ResizingManager {
100630
100654
  // Potential collisions are the siblings of the resizing widget
100631
100655
  // We use a unified grid unit coordinate system for all widgets
100632
100656
  calculatePotentialCollisions(instanceId, parentWidget, isOnGrid, gridUnitWidth, gridUnitHeight) {
100657
+ var _a2;
100633
100658
  const potentialCollisions = {};
100634
100659
  let widgetGU = null;
100635
100660
  if (parentWidget == null ? void 0 : parentWidget.instanceId) {
100636
- const children = getEditStore().runtimeEntitiesManager.getEditorWidgetChildrenMeta(
100661
+ const children = (_a2 = this.root.editStore) == null ? void 0 : _a2.runtimeEntitiesManager.getEditorWidgetChildrenMeta(
100637
100662
  parentWidget.instanceId
100638
100663
  );
100639
100664
  const parentBoundingBox = getBoundingBoxForWidget(
@@ -100736,7 +100761,10 @@ class ResizingManager {
100736
100761
  };
100737
100762
  }
100738
100763
  isColliding(instanceId, currentWidgetGU) {
100739
- const sourceId = getEditStore().runtimeEntitiesManager.getEditorWidgetSourceId(instanceId);
100764
+ var _a2;
100765
+ const sourceId = (_a2 = this.root.editStore) == null ? void 0 : _a2.runtimeEntitiesManager.getEditorWidgetSourceId(
100766
+ instanceId
100767
+ );
100740
100768
  const resizeState = sourceId && this._activeResizes.get(sourceId);
100741
100769
  if (!resizeState) {
100742
100770
  return false;
@@ -100746,15 +100774,19 @@ class ResizingManager {
100746
100774
  });
100747
100775
  }
100748
100776
  resizeWidget(currentX, currentY, instanceId, canResizeWidth2, canResizeHeight2) {
100749
- var _a2, _b2, _c2, _d2;
100750
- const sourceId = getEditStore().runtimeEntitiesManager.getEditorWidgetSourceId(instanceId);
100777
+ var _a2, _b2, _c2, _d2, _e2, _f2;
100778
+ const sourceId = (_a2 = this.root.editStore) == null ? void 0 : _a2.runtimeEntitiesManager.getEditorWidgetSourceId(
100779
+ instanceId
100780
+ );
100751
100781
  const resizeState = sourceId && this._activeResizes.get(sourceId);
100752
100782
  if (!resizeState) {
100753
100783
  return;
100754
100784
  }
100755
- const widget = getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(instanceId);
100756
- const widthMode = (_b2 = (_a2 = widget == null ? void 0 : widget.props) == null ? void 0 : _a2.width) == null ? void 0 : _b2.mode;
100757
- const heightMode = (_d2 = (_c2 = widget == null ? void 0 : widget.props) == null ? void 0 : _c2.height) == null ? void 0 : _d2.mode;
100785
+ const widget = (_b2 = this.root.editStore) == null ? void 0 : _b2.runtimeEntitiesManager.getEditorWidgetMeta(
100786
+ instanceId
100787
+ );
100788
+ const widthMode = (_d2 = (_c2 = widget == null ? void 0 : widget.props) == null ? void 0 : _c2.width) == null ? void 0 : _d2.mode;
100789
+ const heightMode = (_f2 = (_e2 = widget == null ? void 0 : widget.props) == null ? void 0 : _e2.height) == null ? void 0 : _f2.mode;
100758
100790
  const deltaX = currentX - resizeState.dragStartX;
100759
100791
  const deltaY = currentY - resizeState.dragStartY;
100760
100792
  const updateWidth = this.handleResizeDimension({
@@ -100811,7 +100843,10 @@ class ResizingManager {
100811
100843
  );
100812
100844
  }
100813
100845
  applyResize(instanceId) {
100814
- const sourceId = getEditStore().runtimeEntitiesManager.getEditorWidgetSourceId(instanceId);
100846
+ var _a2, _b2;
100847
+ const sourceId = (_a2 = this.root.editStore) == null ? void 0 : _a2.runtimeEntitiesManager.getEditorWidgetSourceId(
100848
+ instanceId
100849
+ );
100815
100850
  const resizeState = sourceId && this._activeResizes.get(sourceId);
100816
100851
  if (!resizeState) {
100817
100852
  return;
@@ -100832,7 +100867,7 @@ class ResizingManager {
100832
100867
  }
100833
100868
  };
100834
100869
  if (Object.keys(properties2).length > 0) {
100835
- getEditStore().operationManager.setWidgetProperties(
100870
+ (_b2 = this.root.editStore) == null ? void 0 : _b2.operationManager.setWidgetProperties(
100836
100871
  resizeState.sourceId,
100837
100872
  properties2,
100838
100873
  () => {
@@ -144417,14 +144452,14 @@ function getLoaderFn(options) {
144417
144452
  if (!(loader === "all")) return [3, 3];
144418
144453
  return [4, import(
144419
144454
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
144420
- "./allPathsLoader-IJwIK4Mq.js"
144455
+ "./allPathsLoader-BElXPrQw.js"
144421
144456
  )];
144422
144457
  case 2:
144423
144458
  return [2, _b2.sent().allPathsLoader];
144424
144459
  case 3:
144425
144460
  return [4, import(
144426
144461
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
144427
- "./splitPathsBySizeLoader-CeJ0cPAy.js"
144462
+ "./splitPathsBySizeLoader-BkRRsLls.js"
144428
144463
  )];
144429
144464
  case 4:
144430
144465
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -190972,4 +191007,4 @@ export {
190972
191007
  copyToClipboard as y,
190973
191008
  navigateTo as z
190974
191009
  };
190975
- //# sourceMappingURL=index-CBdzfmE8.js.map
191010
+ //# sourceMappingURL=index-VIobZDaT.js.map