@superblocksteam/library 2.0.0-next.71 → 2.0.0-next.73

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 (20) hide show
  1. package/dist/{allPaths-C6OJ6mru.js → allPaths-BFy3PScj.js} +2 -2
  2. package/dist/{allPaths-C6OJ6mru.js.map → allPaths-BFy3PScj.js.map} +1 -1
  3. package/dist/{allPaths-gAit3yMA.js → allPaths-CxakoSdl.js} +2 -2
  4. package/dist/{allPaths-gAit3yMA.js.map → allPaths-CxakoSdl.js.map} +1 -1
  5. package/dist/{allPathsLoader-BJfnsyfx.js → allPathsLoader-B9yoao3z.js} +3 -3
  6. package/dist/{allPathsLoader-BJfnsyfx.js.map → allPathsLoader-B9yoao3z.js.map} +1 -1
  7. package/dist/{allPathsLoader-Bjuqgh93.js → allPathsLoader-C0aC8NF_.js} +3 -3
  8. package/dist/{allPathsLoader-Bjuqgh93.js.map → allPathsLoader-C0aC8NF_.js.map} +1 -1
  9. package/dist/{index-B2rMu95r.js → index-DXUgz4lJ.js} +62 -31
  10. package/dist/{index-B2rMu95r.js.map → index-DXUgz4lJ.js.map} +1 -1
  11. package/dist/index.js +2 -2
  12. package/dist/{splitPathsBySizeLoader-bQPBH87C.js → splitPathsBySizeLoader-BE4Pih1Q.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-bQPBH87C.js.map → splitPathsBySizeLoader-BE4Pih1Q.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-DJBHYgBR.js → splitPathsBySizeLoader-nTsCLj7O.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-DJBHYgBR.js.map → splitPathsBySizeLoader-nTsCLj7O.js.map} +1 -1
  16. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +2 -1
  17. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +4 -1
  18. package/dist-types/lib/user-facing/properties-panel/validators.d.ts +2 -1
  19. package/dist-types/lib/user-facing/state/sb-computed.d.ts +1 -1
  20. 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-B2rMu95r.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-DXUgz4lJ.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-C6OJ6mru.js.map
17
+ //# sourceMappingURL=allPaths-BFy3PScj.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-C6OJ6mru.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-BFy3PScj.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-B2rMu95r.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-DXUgz4lJ.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-gAit3yMA.js.map
17
+ //# sourceMappingURL=allPaths-CxakoSdl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-gAit3yMA.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-CxakoSdl.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-B2rMu95r.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-DXUgz4lJ.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-gAit3yMA.js"
10
+ "./allPaths-CxakoSdl.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-BJfnsyfx.js.map
22
+ //# sourceMappingURL=allPathsLoader-B9yoao3z.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-BJfnsyfx.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-B9yoao3z.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-B2rMu95r.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-DXUgz4lJ.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-C6OJ6mru.js"
10
+ "./allPaths-BFy3PScj.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-Bjuqgh93.js.map
22
+ //# sourceMappingURL=allPathsLoader-C0aC8NF_.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-Bjuqgh93.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-C0aC8NF_.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]}
@@ -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-BJfnsyfx.js"
2693
+ "./allPathsLoader-B9yoao3z.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-DJBHYgBR.js"
2700
+ "./splitPathsBySizeLoader-nTsCLj7O.js"
2701
2701
  )];
2702
2702
  case 4:
2703
2703
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -92713,8 +92713,9 @@ hooks.HTML5_FMT = {
92713
92713
  const Valid = (result) => {
92714
92714
  return { valid: true, result };
92715
92715
  };
92716
- const Invalid = (message2 = "Value does not match Required Data Format") => {
92717
- return { valid: false, message: message2 };
92716
+ const DEFAULT_INVALID_MESSAGE = "Value does not match Required Data Format";
92717
+ const Invalid = (message2 = DEFAULT_INVALID_MESSAGE, invalidValue) => {
92718
+ return { valid: false, message: message2, invalidValue };
92718
92719
  };
92719
92720
  const VALIDATORS = {
92720
92721
  TEXT: (value) => {
@@ -92733,7 +92734,7 @@ const VALIDATORS = {
92733
92734
  } catch (e3) {
92734
92735
  console.error(`Error when parsing ${value} to string`);
92735
92736
  console.error(e3);
92736
- return Invalid();
92737
+ return Invalid("Invalid string", value);
92737
92738
  }
92738
92739
  }
92739
92740
  return Valid(parsed);
@@ -92756,16 +92757,16 @@ const VALIDATORS = {
92756
92757
  try {
92757
92758
  new RegExp(result.result);
92758
92759
  } catch (_e2) {
92759
- return Invalid();
92760
+ return Invalid("Invalid regex", value);
92760
92761
  }
92761
92762
  return Valid(result.result);
92762
92763
  }
92763
- return Invalid();
92764
+ return Invalid("Invalid regex", value);
92764
92765
  },
92765
92766
  NUMBER: (value) => {
92766
92767
  let parsed = value;
92767
92768
  if (lodashExports.isUndefined(value)) {
92768
- return Invalid();
92769
+ return Invalid("Invalid number", value);
92769
92770
  }
92770
92771
  let isValid3 = lodashExports.isNumber(value);
92771
92772
  if (!isValid3) {
@@ -92775,7 +92776,7 @@ const VALIDATORS = {
92775
92776
  } catch (e3) {
92776
92777
  console.error(`Error when parsing ${value} to number`);
92777
92778
  console.error(e3);
92778
- return Invalid();
92779
+ return Invalid("Invalid number", value);
92779
92780
  }
92780
92781
  }
92781
92782
  return Valid(parsed);
@@ -92788,14 +92789,14 @@ const VALIDATORS = {
92788
92789
  },
92789
92790
  BOOLEAN: (value) => {
92790
92791
  if (lodashExports.isUndefined(value)) {
92791
- return Invalid();
92792
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92792
92793
  }
92793
92794
  return Valid(Boolean(value));
92794
92795
  },
92795
92796
  OBJECT: (value) => {
92796
92797
  let parsed = value;
92797
92798
  if (lodashExports.isUndefined(value)) {
92798
- return Invalid();
92799
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92799
92800
  }
92800
92801
  let isValid3 = lodashExports.isObject(value);
92801
92802
  if (!isValid3) {
@@ -92805,7 +92806,7 @@ const VALIDATORS = {
92805
92806
  } catch (e3) {
92806
92807
  console.error(`Error when parsing ${value} to object`);
92807
92808
  console.error(e3);
92808
- return Invalid();
92809
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92809
92810
  }
92810
92811
  }
92811
92812
  return Valid(parsed);
@@ -92820,26 +92821,26 @@ const VALIDATORS = {
92820
92821
  let parsed = value;
92821
92822
  try {
92822
92823
  if (lodashExports.isUndefined(value)) {
92823
- return Invalid();
92824
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92824
92825
  }
92825
92826
  if (lodashExports.isString(value)) {
92826
92827
  parsed = lib.parse(parsed);
92827
92828
  }
92828
92829
  if (!Array.isArray(parsed)) {
92829
- return Invalid();
92830
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92830
92831
  }
92831
92832
  return Valid(parsed);
92832
92833
  } catch (e3) {
92833
92834
  console.error(e3);
92834
- return Invalid();
92835
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92835
92836
  }
92836
92837
  },
92837
92838
  NUMBER_ARRAY: (value, props) => {
92838
92839
  const res = VALIDATORS.ARRAY(value, props);
92839
92840
  if (!res.valid) {
92840
- return Invalid();
92841
+ return Invalid("Invalid number array", value);
92841
92842
  } else if (!res.result.every((datum) => typeof datum === "number")) {
92842
- return Invalid("Not all elements in the array are numbers");
92843
+ return Invalid("Not all elements in the array are numbers", value);
92843
92844
  }
92844
92845
  return Valid(res.result);
92845
92846
  },
@@ -92849,33 +92850,34 @@ const VALIDATORS = {
92849
92850
  }
92850
92851
  const result = VALIDATORS.NUMBER(value, props);
92851
92852
  if (!result.valid) {
92852
- return Invalid();
92853
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92853
92854
  }
92854
92855
  if (result.result < 0 || result.result > 20) {
92855
- return Invalid();
92856
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92856
92857
  }
92857
92858
  return Valid(result.result);
92858
92859
  },
92859
92860
  ICONS: () => {
92860
- return Invalid("Icons validation not implemented");
92861
+ return Invalid("Icons validation not implemented", void 0);
92861
92862
  },
92862
92863
  DATE: (value, props) => {
92863
92864
  const ISO_DATE_FORMAT2 = "YYYY-MM-DD";
92864
92865
  const dateFormat = props.dateFormat ? props.dateFormat : ISO_DATE_FORMAT2;
92865
92866
  if (value === void 0) {
92866
92867
  return Invalid(
92867
- "Value does not match Required Data Format" + (props.dateFormat ? props.dateFormat : "")
92868
+ "Value does not match Required Data Format" + (props.dateFormat ? props.dateFormat : ""),
92869
+ value
92868
92870
  );
92869
92871
  }
92870
92872
  const isValid3 = hooks(value, dateFormat).isValid();
92871
92873
  if (!isValid3) {
92872
- return Invalid();
92874
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92873
92875
  }
92874
92876
  return Valid(value);
92875
92877
  },
92876
92878
  URL_OR_BASE64: (value) => {
92877
92879
  if (!value) {
92878
- return Invalid("");
92880
+ return Invalid(DEFAULT_INVALID_MESSAGE, value);
92879
92881
  }
92880
92882
  const base64Regex = (
92881
92883
  // eslint-disable-next-line no-useless-escape
@@ -92887,11 +92889,11 @@ const VALIDATORS = {
92887
92889
  try {
92888
92890
  const newUrl = new URL(value);
92889
92891
  if (newUrl.protocol !== "https:") {
92890
- return Invalid("Only HTTPS protocol supported");
92892
+ return Invalid("Only HTTPS protocol supported", value);
92891
92893
  }
92892
92894
  return Valid(newUrl.href);
92893
92895
  } catch {
92894
- return Invalid("Provided URL / Base64 is invalid.");
92896
+ return Invalid("Provided URL / Base64 is invalid.", value);
92895
92897
  }
92896
92898
  },
92897
92899
  URL_FOR_HYPERLINK: (value) => {
@@ -92901,14 +92903,14 @@ const VALIDATORS = {
92901
92903
  if (!isRelative) {
92902
92904
  const absoluteUrl = new URL(value);
92903
92905
  if (absoluteUrl.protocol === "javascript:") {
92904
- return Invalid(`Invalid protocol ${absoluteUrl.protocol}`);
92906
+ return Invalid(`Invalid protocol ${absoluteUrl.protocol}`, value);
92905
92907
  }
92906
92908
  } else if (value && value.startsWith("..")) {
92907
- return Invalid("Relative URLs cannot start with '..'");
92909
+ return Invalid("Relative URLs cannot start with '..'", value);
92908
92910
  }
92909
92911
  return Valid(value);
92910
92912
  } catch {
92911
- return Invalid("Provided URL is invalid.");
92913
+ return Invalid("Provided URL is invalid.", value);
92912
92914
  }
92913
92915
  }
92914
92916
  };
@@ -94270,16 +94272,20 @@ class EntityManager {
94270
94272
  constructor(componentRegistry, options) {
94271
94273
  __publicField(this, "state");
94272
94274
  __publicField(this, "atoms", {});
94275
+ __publicField(this, "validationCache", {});
94273
94276
  __publicField(this, "dirComputeEngine");
94274
94277
  __publicField(this, "evalComputeEngine");
94275
94278
  this.componentRegistry = componentRegistry;
94276
94279
  this.state = observable(buildEntityScope(GLOBAL_SCOPE_ID));
94280
+ this.validationCache = observable({});
94277
94281
  this.dirComputeEngine = new DirectComputeEngine();
94278
94282
  this.evalComputeEngine = new EvalComputeEngine();
94279
94283
  makeObservable(this, {
94280
94284
  createScope: action,
94281
94285
  deleteScope: action,
94286
+ setValidationState: action,
94282
94287
  getFullState: computed,
94288
+ getValidationState: computed,
94283
94289
  createEntity: action,
94284
94290
  updateEntity: action,
94285
94291
  deleteEntity: action,
@@ -94307,6 +94313,12 @@ class EntityManager {
94307
94313
  const scope = this.getScope(scopeId);
94308
94314
  return scope.name ?? "";
94309
94315
  }
94316
+ setValidationState(entityId, property, state) {
94317
+ this.validationCache[`${entityId}-${property}`] = state;
94318
+ }
94319
+ get getValidationState() {
94320
+ return this.validationCache;
94321
+ }
94310
94322
  get getFullState() {
94311
94323
  const entities = {};
94312
94324
  const processScope = (scope) => {
@@ -94511,6 +94523,17 @@ class EntityManager {
94511
94523
  const currentState = snapshot(scopeId);
94512
94524
  const entity2 = currentState[name.value];
94513
94525
  const validationResult = managedProp.validate(ret, entity2);
94526
+ if (entity2[WIDGET_SOURCE_ID_ATTRIBUTE]) {
94527
+ this.setValidationState(
94528
+ entity2[WIDGET_SOURCE_ID_ATTRIBUTE],
94529
+ prop,
94530
+ {
94531
+ isValid: validationResult.valid,
94532
+ message: validationResult.valid ? "" : validationResult.message,
94533
+ invalidValue: validationResult.valid ? void 0 : validationResult.invalidValue
94534
+ }
94535
+ );
94536
+ }
94514
94537
  if (!validationResult.valid) {
94515
94538
  return void 0;
94516
94539
  }
@@ -101057,6 +101080,14 @@ class EditStore {
101057
101080
  },
101058
101081
  debounce: 50
101059
101082
  });
101083
+ startEditorSync({
101084
+ storeId: "validationState",
101085
+ store: rootStore2.entityManager,
101086
+ projection: (store) => {
101087
+ return store.getValidationState;
101088
+ },
101089
+ debounce: 50
101090
+ });
101060
101091
  }
101061
101092
  setIsInitialized(isInitialized) {
101062
101093
  this.isInitialized = isInitialized;
@@ -144392,14 +144423,14 @@ function getLoaderFn(options) {
144392
144423
  if (!(loader === "all")) return [3, 3];
144393
144424
  return [4, import(
144394
144425
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
144395
- "./allPathsLoader-Bjuqgh93.js"
144426
+ "./allPathsLoader-C0aC8NF_.js"
144396
144427
  )];
144397
144428
  case 2:
144398
144429
  return [2, _b2.sent().allPathsLoader];
144399
144430
  case 3:
144400
144431
  return [4, import(
144401
144432
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
144402
- "./splitPathsBySizeLoader-bQPBH87C.js"
144433
+ "./splitPathsBySizeLoader-BE4Pih1Q.js"
144403
144434
  )];
144404
144435
  case 4:
144405
144436
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -190886,4 +190917,4 @@ export {
190886
190917
  copyToClipboard as y,
190887
190918
  navigateTo as z
190888
190919
  };
190889
- //# sourceMappingURL=index-B2rMu95r.js.map
190920
+ //# sourceMappingURL=index-DXUgz4lJ.js.map