@superblocksteam/library 2.0.3-next.170 → 2.0.3-next.172
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.
- package/dist/{allPaths-CJqO6Vx6.js → allPaths-BERwnhRf.js} +2 -2
- package/dist/{allPaths-CJqO6Vx6.js.map → allPaths-BERwnhRf.js.map} +1 -1
- package/dist/{allPaths-DZ_Kme4z.js → allPaths-Bpd3E6xy.js} +2 -2
- package/dist/{allPaths-DZ_Kme4z.js.map → allPaths-Bpd3E6xy.js.map} +1 -1
- package/dist/{allPathsLoader-Cehc_XV9.js → allPathsLoader-BSzGdn_4.js} +3 -3
- package/dist/{allPathsLoader-Dqjk41H_.js.map → allPathsLoader-BSzGdn_4.js.map} +1 -1
- package/dist/{allPathsLoader-Dqjk41H_.js → allPathsLoader-C-JCfIgR.js} +3 -3
- package/dist/{allPathsLoader-Cehc_XV9.js.map → allPathsLoader-C-JCfIgR.js.map} +1 -1
- package/dist/{index-Bs-WTOIB.js → index-CUoqQjDK.js} +33 -38
- package/dist/{index-Bs-WTOIB.js.map → index-CUoqQjDK.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-BlPaK6mU.js → splitPathsBySizeLoader-Bu3ysO2_.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BlPaK6mU.js.map → splitPathsBySizeLoader-Bu3ysO2_.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-DIbIoc8b.js → splitPathsBySizeLoader-bO9xGUBi.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DIbIoc8b.js.map → splitPathsBySizeLoader-bO9xGUBi.js.map} +1 -1
- package/package.json +3 -3
|
@@ -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-
|
|
3
|
+
import { p as pascalCase, b as IconSize } from "./index-CUoqQjDK.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-
|
|
17
|
+
//# sourceMappingURL=allPaths-BERwnhRf.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPaths-
|
|
1
|
+
{"version":3,"file":"allPaths-BERwnhRf.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-
|
|
3
|
+
import { p as pascalCase, I as IconSize } from "./index-CUoqQjDK.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-
|
|
17
|
+
//# sourceMappingURL=allPaths-Bpd3E6xy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPaths-
|
|
1
|
+
{"version":3,"file":"allPaths-Bpd3E6xy.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-
|
|
1
|
+
import { _ as __awaiter, a as __generator } from "./index-CUoqQjDK.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-
|
|
10
|
+
"./allPaths-Bpd3E6xy.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-
|
|
22
|
+
//# sourceMappingURL=allPathsLoader-BSzGdn_4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPathsLoader-
|
|
1
|
+
{"version":3,"file":"allPathsLoader-BSzGdn_4.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-
|
|
1
|
+
import { _ as __awaiter, a as __generator } from "./index-CUoqQjDK.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-
|
|
10
|
+
"./allPaths-BERwnhRf.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-
|
|
22
|
+
//# sourceMappingURL=allPathsLoader-C-JCfIgR.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPathsLoader-
|
|
1
|
+
{"version":3,"file":"allPathsLoader-C-JCfIgR.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]}
|
|
@@ -46,7 +46,7 @@ var __privateIn = (member, obj) => Object(obj) !== obj ? __typeError('Cannot use
|
|
|
46
46
|
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
47
47
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
48
48
|
var __privateMethod = (obj, member, method4) => (__accessCheck(obj, member, "access private method"), method4);
|
|
49
|
-
var _removeSourceIdElement_dec, _setSourceIdElement_dec, _setActiveRootInstanceId_dec, _init, _cancelApi_dec, _runApi_dec, _init2, _setWidgetProperty_dec, _setWidgetProperties_dec, _writeRuntimeProperties_dec, _deleteComponents_dec, _dropComponent_dec, _createComponent_dec, _batchUpdate_dec, _clearPendingTransactions_dec, _addPendingTransaction_dec, _executeOrAddToBatch_dec, _init3,
|
|
49
|
+
var _removeSourceIdElement_dec, _setSourceIdElement_dec, _setActiveRootInstanceId_dec, _init, _cancelApi_dec, _runApi_dec, _init2, _setWidgetProperty_dec, _setWidgetProperties_dec, _writeRuntimeProperties_dec, _deleteComponents_dec, _dropComponent_dec, _createComponent_dec, _batchUpdate_dec, _clearPendingTransactions_dec, _addPendingTransaction_dec, _executeOrAddToBatch_dec, _init3, _addOptimisticCreateWidget_dec, _processRootWidget_dec, _init4, _refreshPositionsAndGetDropConstraints_dec, _init5, _updateChildPositions_dec, _setWidgetPosition_dec, _setActiveTargetRect_dec, _setActiveDragRect_dec, _setDropTargetId_dec, _setInvalidDropTarget_dec, _setValidRootIds_dec, _cancelNewComponentDrag_dec, _startNewComponentDrag_dec, _setIsDragging_dec, _setWidgetFeatures_dec, _init6;
|
|
50
50
|
import * as React from "react";
|
|
51
51
|
import React__default, { useMemo as useMemo$2, createContext, useContext, isValidElement as isValidElement$1, cloneElement as cloneElement$1, Children, useState, createElement, useRef, useLayoutEffect as useLayoutEffect$2, forwardRef, memo, useEffect, version as version$2, Component, useCallback, useImperativeHandle, useReducer, PureComponent, useSyncExternalStore, Suspense, createRef } from "react";
|
|
52
52
|
import * as ReactDOM from "react-dom";
|
|
@@ -2692,14 +2692,14 @@ function getLoaderFn$1(options) {
|
|
|
2692
2692
|
if (!(loader === "all")) return [3, 3];
|
|
2693
2693
|
return [4, import(
|
|
2694
2694
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
2695
|
-
"./allPathsLoader-
|
|
2695
|
+
"./allPathsLoader-BSzGdn_4.js"
|
|
2696
2696
|
)];
|
|
2697
2697
|
case 2:
|
|
2698
2698
|
return [2, _b2.sent().allPathsLoader];
|
|
2699
2699
|
case 3:
|
|
2700
2700
|
return [4, import(
|
|
2701
2701
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
2702
|
-
"./splitPathsBySizeLoader-
|
|
2702
|
+
"./splitPathsBySizeLoader-Bu3ysO2_.js"
|
|
2703
2703
|
)];
|
|
2704
2704
|
case 4:
|
|
2705
2705
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -65438,10 +65438,8 @@ function isSbComponent(child) {
|
|
|
65438
65438
|
return typeof child === "object" && ((_a2 = child.type) == null ? void 0 : _a2.isSb) === superblocksComponentSymbol;
|
|
65439
65439
|
}
|
|
65440
65440
|
const BindingMetaSymbol = Symbol("binding-meta");
|
|
65441
|
-
_processRoot_dec = [action], _addWidgetFromPayload_dec = [action];
|
|
65442
65441
|
class RuntimeWidgetsManager {
|
|
65443
65442
|
constructor(nameManager) {
|
|
65444
|
-
__runInitializers(_init4, 5, this);
|
|
65445
65443
|
__publicField(this, "widgets", {});
|
|
65446
65444
|
__publicField(this, "sourceIdCount", {});
|
|
65447
65445
|
__publicField(this, "sourceToInstanceIdSample", {});
|
|
@@ -65450,6 +65448,7 @@ class RuntimeWidgetsManager {
|
|
|
65450
65448
|
widgets: observable.shallow,
|
|
65451
65449
|
setWidgetMeta: action,
|
|
65452
65450
|
processRoot: action,
|
|
65451
|
+
addWidgetFromPayload: action,
|
|
65453
65452
|
sourceToInstanceIdSample: observable
|
|
65454
65453
|
});
|
|
65455
65454
|
registerStores({
|
|
@@ -65644,14 +65643,10 @@ class RuntimeWidgetsManager {
|
|
|
65644
65643
|
return this.getClosestAncestorByType(currentWidget.parentInstanceId, type5);
|
|
65645
65644
|
}
|
|
65646
65645
|
}
|
|
65647
|
-
_init4 = __decoratorStart(null);
|
|
65648
|
-
__decorateElement(_init4, 1, "processRoot", _processRoot_dec, RuntimeWidgetsManager);
|
|
65649
|
-
__decorateElement(_init4, 1, "addWidgetFromPayload", _addWidgetFromPayload_dec, RuntimeWidgetsManager);
|
|
65650
|
-
__decoratorMetadata(_init4, RuntimeWidgetsManager);
|
|
65651
65646
|
_processRootWidget_dec = [action], _addOptimisticCreateWidget_dec = [action];
|
|
65652
65647
|
class RuntimeEntitiesManager {
|
|
65653
65648
|
constructor(nameManager, entityManager) {
|
|
65654
|
-
__runInitializers(
|
|
65649
|
+
__runInitializers(_init4, 5, this);
|
|
65655
65650
|
__publicField(this, "widgets");
|
|
65656
65651
|
__publicField(this, "entitiesWithLocalBindings", /* @__PURE__ */ new Set());
|
|
65657
65652
|
__publicField(this, "getOptimisticWidgetMeta", makeMobxCachedGetter((id2) => {
|
|
@@ -65979,10 +65974,10 @@ class RuntimeEntitiesManager {
|
|
|
65979
65974
|
return this.widgets.getClosestAncestorByType(id2, type5);
|
|
65980
65975
|
}
|
|
65981
65976
|
}
|
|
65982
|
-
|
|
65983
|
-
__decorateElement(
|
|
65984
|
-
__decorateElement(
|
|
65985
|
-
__decoratorMetadata(
|
|
65977
|
+
_init4 = __decoratorStart(null);
|
|
65978
|
+
__decorateElement(_init4, 1, "processRootWidget", _processRootWidget_dec, RuntimeEntitiesManager);
|
|
65979
|
+
__decorateElement(_init4, 1, "addOptimisticCreateWidget", _addOptimisticCreateWidget_dec, RuntimeEntitiesManager);
|
|
65980
|
+
__decoratorMetadata(_init4, RuntimeEntitiesManager);
|
|
65986
65981
|
const WithLayoutContainerTypes = /* @__PURE__ */ new Set([
|
|
65987
65982
|
"SbContainer",
|
|
65988
65983
|
"SbColumn",
|
|
@@ -66135,7 +66130,7 @@ _refreshPositionsAndGetDropConstraints_dec = [action];
|
|
|
66135
66130
|
class GridManager {
|
|
66136
66131
|
// cannot derive dnd from root because it may not be initialized yet
|
|
66137
66132
|
constructor(root2, dnd) {
|
|
66138
|
-
__runInitializers(
|
|
66133
|
+
__runInitializers(_init5, 5, this);
|
|
66139
66134
|
__publicField(this, "root");
|
|
66140
66135
|
__publicField(this, "dnd");
|
|
66141
66136
|
this.root = root2;
|
|
@@ -66380,9 +66375,9 @@ class GridManager {
|
|
|
66380
66375
|
return activeDragRect;
|
|
66381
66376
|
}
|
|
66382
66377
|
}
|
|
66383
|
-
|
|
66384
|
-
__decorateElement(
|
|
66385
|
-
__decoratorMetadata(
|
|
66378
|
+
_init5 = __decoratorStart(null);
|
|
66379
|
+
__decorateElement(_init5, 1, "refreshPositionsAndGetDropConstraints", _refreshPositionsAndGetDropConstraints_dec, GridManager);
|
|
66380
|
+
__decoratorMetadata(_init5, GridManager);
|
|
66386
66381
|
const isWidgetVStack = (widget) => {
|
|
66387
66382
|
var _a2, _b2;
|
|
66388
66383
|
if (!widget || !widget.type) {
|
|
@@ -66739,7 +66734,7 @@ const getIsComponentInInteractionLayer = (instanceId) => {
|
|
|
66739
66734
|
_setWidgetFeatures_dec = [action], _setIsDragging_dec = [action], _startNewComponentDrag_dec = [action], _cancelNewComponentDrag_dec = [action], _setValidRootIds_dec = [action], _setInvalidDropTarget_dec = [action], _setDropTargetId_dec = [action], _setActiveDragRect_dec = [action], _setActiveTargetRect_dec = [action], _setWidgetPosition_dec = [action], _updateChildPositions_dec = [action];
|
|
66740
66735
|
class DragAndDropManager {
|
|
66741
66736
|
constructor(root2) {
|
|
66742
|
-
__runInitializers(
|
|
66737
|
+
__runInitializers(_init6, 5, this);
|
|
66743
66738
|
__publicField(this, "root");
|
|
66744
66739
|
__publicField(this, "stack");
|
|
66745
66740
|
__publicField(this, "grid");
|
|
@@ -66956,19 +66951,19 @@ class DragAndDropManager {
|
|
|
66956
66951
|
this._shouldResizePage = false;
|
|
66957
66952
|
}
|
|
66958
66953
|
}
|
|
66959
|
-
|
|
66960
|
-
__decorateElement(
|
|
66961
|
-
__decorateElement(
|
|
66962
|
-
__decorateElement(
|
|
66963
|
-
__decorateElement(
|
|
66964
|
-
__decorateElement(
|
|
66965
|
-
__decorateElement(
|
|
66966
|
-
__decorateElement(
|
|
66967
|
-
__decorateElement(
|
|
66968
|
-
__decorateElement(
|
|
66969
|
-
__decorateElement(
|
|
66970
|
-
__decorateElement(
|
|
66971
|
-
__decoratorMetadata(
|
|
66954
|
+
_init6 = __decoratorStart(null);
|
|
66955
|
+
__decorateElement(_init6, 1, "setWidgetFeatures", _setWidgetFeatures_dec, DragAndDropManager);
|
|
66956
|
+
__decorateElement(_init6, 1, "setIsDragging", _setIsDragging_dec, DragAndDropManager);
|
|
66957
|
+
__decorateElement(_init6, 1, "startNewComponentDrag", _startNewComponentDrag_dec, DragAndDropManager);
|
|
66958
|
+
__decorateElement(_init6, 1, "cancelNewComponentDrag", _cancelNewComponentDrag_dec, DragAndDropManager);
|
|
66959
|
+
__decorateElement(_init6, 1, "setValidRootIds", _setValidRootIds_dec, DragAndDropManager);
|
|
66960
|
+
__decorateElement(_init6, 1, "setInvalidDropTarget", _setInvalidDropTarget_dec, DragAndDropManager);
|
|
66961
|
+
__decorateElement(_init6, 1, "setDropTargetId", _setDropTargetId_dec, DragAndDropManager);
|
|
66962
|
+
__decorateElement(_init6, 1, "setActiveDragRect", _setActiveDragRect_dec, DragAndDropManager);
|
|
66963
|
+
__decorateElement(_init6, 1, "setActiveTargetRect", _setActiveTargetRect_dec, DragAndDropManager);
|
|
66964
|
+
__decorateElement(_init6, 1, "setWidgetPosition", _setWidgetPosition_dec, DragAndDropManager);
|
|
66965
|
+
__decorateElement(_init6, 1, "updateChildPositions", _updateChildPositions_dec, DragAndDropManager);
|
|
66966
|
+
__decoratorMetadata(_init6, DragAndDropManager);
|
|
66972
66967
|
const VERTICAL_ALIGNMENT_MAP = {
|
|
66973
66968
|
top: "flex-start",
|
|
66974
66969
|
center: "center",
|
|
@@ -143577,14 +143572,14 @@ function getLoaderFn(options) {
|
|
|
143577
143572
|
if (!(loader === "all")) return [3, 3];
|
|
143578
143573
|
return [4, import(
|
|
143579
143574
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
143580
|
-
"./allPathsLoader-
|
|
143575
|
+
"./allPathsLoader-C-JCfIgR.js"
|
|
143581
143576
|
)];
|
|
143582
143577
|
case 2:
|
|
143583
143578
|
return [2, _b2.sent().allPathsLoader];
|
|
143584
143579
|
case 3:
|
|
143585
143580
|
return [4, import(
|
|
143586
143581
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
143587
|
-
"./splitPathsBySizeLoader-
|
|
143582
|
+
"./splitPathsBySizeLoader-bO9xGUBi.js"
|
|
143588
143583
|
)];
|
|
143589
143584
|
case 4:
|
|
143590
143585
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -160931,17 +160926,17 @@ function system(constructor, dependencies2 = [], { singleton: singleton2 } = { s
|
|
|
160931
160926
|
const id = () => Symbol();
|
|
160932
160927
|
function init(systemSpec) {
|
|
160933
160928
|
const singletons = /* @__PURE__ */ new Map();
|
|
160934
|
-
const
|
|
160929
|
+
const _init7 = ({ id: id2, constructor, dependencies: dependencies2, singleton: singleton2 }) => {
|
|
160935
160930
|
if (singleton2 && singletons.has(id2)) {
|
|
160936
160931
|
return singletons.get(id2);
|
|
160937
160932
|
}
|
|
160938
|
-
const system2 = constructor(dependencies2.map((e3) =>
|
|
160933
|
+
const system2 = constructor(dependencies2.map((e3) => _init7(e3)));
|
|
160939
160934
|
if (singleton2) {
|
|
160940
160935
|
singletons.set(id2, system2);
|
|
160941
160936
|
}
|
|
160942
160937
|
return system2;
|
|
160943
160938
|
};
|
|
160944
|
-
return
|
|
160939
|
+
return _init7(systemSpec);
|
|
160945
160940
|
}
|
|
160946
160941
|
function omit(keys2, obj) {
|
|
160947
160942
|
const result = {};
|
|
@@ -190133,4 +190128,4 @@ export {
|
|
|
190133
190128
|
copyToClipboard as y,
|
|
190134
190129
|
navigateTo as z
|
|
190135
190130
|
};
|
|
190136
|
-
//# sourceMappingURL=index-
|
|
190131
|
+
//# sourceMappingURL=index-CUoqQjDK.js.map
|