@superblocksteam/library 2.0.3-next.192 → 2.0.3-next.194
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-iRpHMTZB.js → allPaths-CPmeaksr.js} +2 -2
- package/dist/{allPaths-iRpHMTZB.js.map → allPaths-CPmeaksr.js.map} +1 -1
- package/dist/{allPaths-o-vV1-tj.js → allPaths-TKGgbejI.js} +2 -2
- package/dist/{allPaths-o-vV1-tj.js.map → allPaths-TKGgbejI.js.map} +1 -1
- package/dist/{allPathsLoader-DnjGlPTI.js → allPathsLoader-B0O4sfbG.js} +3 -3
- package/dist/{allPathsLoader-u3KOMEyQ.js.map → allPathsLoader-B0O4sfbG.js.map} +1 -1
- package/dist/{allPathsLoader-u3KOMEyQ.js → allPathsLoader-DhkzAeHr.js} +3 -3
- package/dist/{allPathsLoader-DnjGlPTI.js.map → allPathsLoader-DhkzAeHr.js.map} +1 -1
- package/dist/{index-D0LofP37.js → index-DzenoqnP.js} +509 -117
- package/dist/{index-D0LofP37.js.map → index-DzenoqnP.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-DH76ShxH.js → splitPathsBySizeLoader-DH3bh2P5.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DH76ShxH.js.map → splitPathsBySizeLoader-DH3bh2P5.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-PTZVlovL.js → splitPathsBySizeLoader-DQGuCgWt.js} +2 -2
- package/dist/{splitPathsBySizeLoader-PTZVlovL.js.map → splitPathsBySizeLoader-DQGuCgWt.js.map} +1 -1
- package/dist-types/edit-mode/extended-clickable-area.d.ts +9 -0
- package/package.json +2 -2
|
@@ -43666,8 +43666,8 @@ function findDOMNode(node2) {
|
|
|
43666
43666
|
}
|
|
43667
43667
|
return null;
|
|
43668
43668
|
}
|
|
43669
|
-
var reactIs$
|
|
43670
|
-
var reactIs_production_min$
|
|
43669
|
+
var reactIs$2 = { exports: {} };
|
|
43670
|
+
var reactIs_production_min$2 = {};
|
|
43671
43671
|
/**
|
|
43672
43672
|
* @license React
|
|
43673
43673
|
* react-is.production.min.js
|
|
@@ -43677,10 +43677,10 @@ var reactIs_production_min$1 = {};
|
|
|
43677
43677
|
* This source code is licensed under the MIT license found in the
|
|
43678
43678
|
* LICENSE file in the root directory of this source tree.
|
|
43679
43679
|
*/
|
|
43680
|
-
var hasRequiredReactIs_production_min$
|
|
43681
|
-
function requireReactIs_production_min$
|
|
43682
|
-
if (hasRequiredReactIs_production_min$
|
|
43683
|
-
hasRequiredReactIs_production_min$
|
|
43680
|
+
var hasRequiredReactIs_production_min$2;
|
|
43681
|
+
function requireReactIs_production_min$2() {
|
|
43682
|
+
if (hasRequiredReactIs_production_min$2) return reactIs_production_min$2;
|
|
43683
|
+
hasRequiredReactIs_production_min$2 = 1;
|
|
43684
43684
|
var b3 = Symbol.for("react.element"), c3 = Symbol.for("react.portal"), d3 = Symbol.for("react.fragment"), e3 = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h3 = Symbol.for("react.context"), k2 = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m4 = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q3 = Symbol.for("react.lazy"), t3 = Symbol.for("react.offscreen"), u2;
|
|
43685
43685
|
u2 = Symbol.for("react.module.reference");
|
|
43686
43686
|
function v2(a3) {
|
|
@@ -43713,71 +43713,71 @@ function requireReactIs_production_min$1() {
|
|
|
43713
43713
|
}
|
|
43714
43714
|
}
|
|
43715
43715
|
}
|
|
43716
|
-
reactIs_production_min$
|
|
43717
|
-
reactIs_production_min$
|
|
43718
|
-
reactIs_production_min$
|
|
43719
|
-
reactIs_production_min$
|
|
43720
|
-
reactIs_production_min$
|
|
43721
|
-
reactIs_production_min$
|
|
43722
|
-
reactIs_production_min$
|
|
43723
|
-
reactIs_production_min$
|
|
43724
|
-
reactIs_production_min$
|
|
43725
|
-
reactIs_production_min$
|
|
43726
|
-
reactIs_production_min$
|
|
43727
|
-
reactIs_production_min$
|
|
43728
|
-
reactIs_production_min$
|
|
43716
|
+
reactIs_production_min$2.ContextConsumer = h3;
|
|
43717
|
+
reactIs_production_min$2.ContextProvider = g2;
|
|
43718
|
+
reactIs_production_min$2.Element = b3;
|
|
43719
|
+
reactIs_production_min$2.ForwardRef = l;
|
|
43720
|
+
reactIs_production_min$2.Fragment = d3;
|
|
43721
|
+
reactIs_production_min$2.Lazy = q3;
|
|
43722
|
+
reactIs_production_min$2.Memo = p;
|
|
43723
|
+
reactIs_production_min$2.Portal = c3;
|
|
43724
|
+
reactIs_production_min$2.Profiler = f;
|
|
43725
|
+
reactIs_production_min$2.StrictMode = e3;
|
|
43726
|
+
reactIs_production_min$2.Suspense = m4;
|
|
43727
|
+
reactIs_production_min$2.SuspenseList = n2;
|
|
43728
|
+
reactIs_production_min$2.isAsyncMode = function() {
|
|
43729
43729
|
return false;
|
|
43730
43730
|
};
|
|
43731
|
-
reactIs_production_min$
|
|
43731
|
+
reactIs_production_min$2.isConcurrentMode = function() {
|
|
43732
43732
|
return false;
|
|
43733
43733
|
};
|
|
43734
|
-
reactIs_production_min$
|
|
43734
|
+
reactIs_production_min$2.isContextConsumer = function(a3) {
|
|
43735
43735
|
return v2(a3) === h3;
|
|
43736
43736
|
};
|
|
43737
|
-
reactIs_production_min$
|
|
43737
|
+
reactIs_production_min$2.isContextProvider = function(a3) {
|
|
43738
43738
|
return v2(a3) === g2;
|
|
43739
43739
|
};
|
|
43740
|
-
reactIs_production_min$
|
|
43740
|
+
reactIs_production_min$2.isElement = function(a3) {
|
|
43741
43741
|
return "object" === typeof a3 && null !== a3 && a3.$$typeof === b3;
|
|
43742
43742
|
};
|
|
43743
|
-
reactIs_production_min$
|
|
43743
|
+
reactIs_production_min$2.isForwardRef = function(a3) {
|
|
43744
43744
|
return v2(a3) === l;
|
|
43745
43745
|
};
|
|
43746
|
-
reactIs_production_min$
|
|
43746
|
+
reactIs_production_min$2.isFragment = function(a3) {
|
|
43747
43747
|
return v2(a3) === d3;
|
|
43748
43748
|
};
|
|
43749
|
-
reactIs_production_min$
|
|
43749
|
+
reactIs_production_min$2.isLazy = function(a3) {
|
|
43750
43750
|
return v2(a3) === q3;
|
|
43751
43751
|
};
|
|
43752
|
-
reactIs_production_min$
|
|
43752
|
+
reactIs_production_min$2.isMemo = function(a3) {
|
|
43753
43753
|
return v2(a3) === p;
|
|
43754
43754
|
};
|
|
43755
|
-
reactIs_production_min$
|
|
43755
|
+
reactIs_production_min$2.isPortal = function(a3) {
|
|
43756
43756
|
return v2(a3) === c3;
|
|
43757
43757
|
};
|
|
43758
|
-
reactIs_production_min$
|
|
43758
|
+
reactIs_production_min$2.isProfiler = function(a3) {
|
|
43759
43759
|
return v2(a3) === f;
|
|
43760
43760
|
};
|
|
43761
|
-
reactIs_production_min$
|
|
43761
|
+
reactIs_production_min$2.isStrictMode = function(a3) {
|
|
43762
43762
|
return v2(a3) === e3;
|
|
43763
43763
|
};
|
|
43764
|
-
reactIs_production_min$
|
|
43764
|
+
reactIs_production_min$2.isSuspense = function(a3) {
|
|
43765
43765
|
return v2(a3) === m4;
|
|
43766
43766
|
};
|
|
43767
|
-
reactIs_production_min$
|
|
43767
|
+
reactIs_production_min$2.isSuspenseList = function(a3) {
|
|
43768
43768
|
return v2(a3) === n2;
|
|
43769
43769
|
};
|
|
43770
|
-
reactIs_production_min$
|
|
43770
|
+
reactIs_production_min$2.isValidElementType = function(a3) {
|
|
43771
43771
|
return "string" === typeof a3 || "function" === typeof a3 || a3 === d3 || a3 === f || a3 === e3 || a3 === m4 || a3 === n2 || a3 === t3 || "object" === typeof a3 && null !== a3 && (a3.$$typeof === q3 || a3.$$typeof === p || a3.$$typeof === g2 || a3.$$typeof === h3 || a3.$$typeof === l || a3.$$typeof === u2 || void 0 !== a3.getModuleId) ? true : false;
|
|
43772
43772
|
};
|
|
43773
|
-
reactIs_production_min$
|
|
43774
|
-
return reactIs_production_min$
|
|
43773
|
+
reactIs_production_min$2.typeOf = v2;
|
|
43774
|
+
return reactIs_production_min$2;
|
|
43775
43775
|
}
|
|
43776
|
-
var reactIs_development$
|
|
43777
|
-
var hasRequiredReactIs_development$
|
|
43778
|
-
function requireReactIs_development$
|
|
43779
|
-
if (hasRequiredReactIs_development$
|
|
43780
|
-
hasRequiredReactIs_development$
|
|
43776
|
+
var reactIs_development$2 = {};
|
|
43777
|
+
var hasRequiredReactIs_development$2;
|
|
43778
|
+
function requireReactIs_development$2() {
|
|
43779
|
+
if (hasRequiredReactIs_development$2) return reactIs_development$2;
|
|
43780
|
+
hasRequiredReactIs_development$2 = 1;
|
|
43781
43781
|
var define_process_env_default2 = {};
|
|
43782
43782
|
/**
|
|
43783
43783
|
* @license React
|
|
@@ -43932,51 +43932,51 @@ function requireReactIs_development$1() {
|
|
|
43932
43932
|
function isSuspenseList(object4) {
|
|
43933
43933
|
return typeOf(object4) === REACT_SUSPENSE_LIST_TYPE;
|
|
43934
43934
|
}
|
|
43935
|
-
reactIs_development$
|
|
43936
|
-
reactIs_development$
|
|
43937
|
-
reactIs_development$
|
|
43938
|
-
reactIs_development$
|
|
43939
|
-
reactIs_development$
|
|
43940
|
-
reactIs_development$
|
|
43941
|
-
reactIs_development$
|
|
43942
|
-
reactIs_development$
|
|
43943
|
-
reactIs_development$
|
|
43944
|
-
reactIs_development$
|
|
43945
|
-
reactIs_development$
|
|
43946
|
-
reactIs_development$
|
|
43947
|
-
reactIs_development$
|
|
43948
|
-
reactIs_development$
|
|
43949
|
-
reactIs_development$
|
|
43950
|
-
reactIs_development$
|
|
43951
|
-
reactIs_development$
|
|
43952
|
-
reactIs_development$
|
|
43953
|
-
reactIs_development$
|
|
43954
|
-
reactIs_development$
|
|
43955
|
-
reactIs_development$
|
|
43956
|
-
reactIs_development$
|
|
43957
|
-
reactIs_development$
|
|
43958
|
-
reactIs_development$
|
|
43959
|
-
reactIs_development$
|
|
43960
|
-
reactIs_development$
|
|
43961
|
-
reactIs_development$
|
|
43962
|
-
reactIs_development$
|
|
43935
|
+
reactIs_development$2.ContextConsumer = ContextConsumer;
|
|
43936
|
+
reactIs_development$2.ContextProvider = ContextProvider;
|
|
43937
|
+
reactIs_development$2.Element = Element3;
|
|
43938
|
+
reactIs_development$2.ForwardRef = ForwardRef;
|
|
43939
|
+
reactIs_development$2.Fragment = Fragment;
|
|
43940
|
+
reactIs_development$2.Lazy = Lazy;
|
|
43941
|
+
reactIs_development$2.Memo = Memo;
|
|
43942
|
+
reactIs_development$2.Portal = Portal2;
|
|
43943
|
+
reactIs_development$2.Profiler = Profiler;
|
|
43944
|
+
reactIs_development$2.StrictMode = StrictMode;
|
|
43945
|
+
reactIs_development$2.Suspense = Suspense2;
|
|
43946
|
+
reactIs_development$2.SuspenseList = SuspenseList;
|
|
43947
|
+
reactIs_development$2.isAsyncMode = isAsyncMode;
|
|
43948
|
+
reactIs_development$2.isConcurrentMode = isConcurrentMode;
|
|
43949
|
+
reactIs_development$2.isContextConsumer = isContextConsumer;
|
|
43950
|
+
reactIs_development$2.isContextProvider = isContextProvider;
|
|
43951
|
+
reactIs_development$2.isElement = isElement2;
|
|
43952
|
+
reactIs_development$2.isForwardRef = isForwardRef;
|
|
43953
|
+
reactIs_development$2.isFragment = isFragment2;
|
|
43954
|
+
reactIs_development$2.isLazy = isLazy;
|
|
43955
|
+
reactIs_development$2.isMemo = isMemo;
|
|
43956
|
+
reactIs_development$2.isPortal = isPortal;
|
|
43957
|
+
reactIs_development$2.isProfiler = isProfiler;
|
|
43958
|
+
reactIs_development$2.isStrictMode = isStrictMode;
|
|
43959
|
+
reactIs_development$2.isSuspense = isSuspense;
|
|
43960
|
+
reactIs_development$2.isSuspenseList = isSuspenseList;
|
|
43961
|
+
reactIs_development$2.isValidElementType = isValidElementType;
|
|
43962
|
+
reactIs_development$2.typeOf = typeOf;
|
|
43963
43963
|
})();
|
|
43964
43964
|
}
|
|
43965
|
-
return reactIs_development$
|
|
43965
|
+
return reactIs_development$2;
|
|
43966
43966
|
}
|
|
43967
|
-
var hasRequiredReactIs$
|
|
43968
|
-
function requireReactIs$
|
|
43969
|
-
if (hasRequiredReactIs$
|
|
43970
|
-
hasRequiredReactIs$
|
|
43967
|
+
var hasRequiredReactIs$2;
|
|
43968
|
+
function requireReactIs$2() {
|
|
43969
|
+
if (hasRequiredReactIs$2) return reactIs$2.exports;
|
|
43970
|
+
hasRequiredReactIs$2 = 1;
|
|
43971
43971
|
var define_process_env_default2 = {};
|
|
43972
43972
|
if (define_process_env_default2.NODE_ENV === "production") {
|
|
43973
|
-
reactIs$
|
|
43973
|
+
reactIs$2.exports = requireReactIs_production_min$2();
|
|
43974
43974
|
} else {
|
|
43975
|
-
reactIs$
|
|
43975
|
+
reactIs$2.exports = requireReactIs_development$2();
|
|
43976
43976
|
}
|
|
43977
|
-
return reactIs$
|
|
43977
|
+
return reactIs$2.exports;
|
|
43978
43978
|
}
|
|
43979
|
-
var reactIsExports = requireReactIs$
|
|
43979
|
+
var reactIsExports$1 = requireReactIs$2();
|
|
43980
43980
|
function useMemo$1(getValue2, condition, shouldUpdate) {
|
|
43981
43981
|
var cacheRef = React.useRef({});
|
|
43982
43982
|
if (!("value" in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {
|
|
@@ -44027,11 +44027,11 @@ var supportRef = function supportRef2(nodeOrComponent) {
|
|
|
44027
44027
|
if (isReactElement$2(nodeOrComponent) && ReactMajorVersion >= 19) {
|
|
44028
44028
|
return true;
|
|
44029
44029
|
}
|
|
44030
|
-
var type5 = reactIsExports.isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
|
|
44031
|
-
if (typeof type5 === "function" && !((_type$prototype = type5.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type5.$$typeof !== reactIsExports.ForwardRef) {
|
|
44030
|
+
var type5 = reactIsExports$1.isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
|
|
44031
|
+
if (typeof type5 === "function" && !((_type$prototype = type5.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type5.$$typeof !== reactIsExports$1.ForwardRef) {
|
|
44032
44032
|
return false;
|
|
44033
44033
|
}
|
|
44034
|
-
if (typeof nodeOrComponent === "function" && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== reactIsExports.ForwardRef) {
|
|
44034
|
+
if (typeof nodeOrComponent === "function" && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== reactIsExports$1.ForwardRef) {
|
|
44035
44035
|
return false;
|
|
44036
44036
|
}
|
|
44037
44037
|
return true;
|
|
@@ -76418,6 +76418,317 @@ function requireCopyToClipboard() {
|
|
|
76418
76418
|
}
|
|
76419
76419
|
var copyToClipboardExports = requireCopyToClipboard();
|
|
76420
76420
|
const copy$1 = /* @__PURE__ */ getDefaultExportFromCjs(copyToClipboardExports);
|
|
76421
|
+
var reactIs$1 = { exports: {} };
|
|
76422
|
+
var reactIs_production_min$1 = {};
|
|
76423
|
+
/**
|
|
76424
|
+
* @license React
|
|
76425
|
+
* react-is.production.min.js
|
|
76426
|
+
*
|
|
76427
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
76428
|
+
*
|
|
76429
|
+
* This source code is licensed under the MIT license found in the
|
|
76430
|
+
* LICENSE file in the root directory of this source tree.
|
|
76431
|
+
*/
|
|
76432
|
+
var hasRequiredReactIs_production_min$1;
|
|
76433
|
+
function requireReactIs_production_min$1() {
|
|
76434
|
+
if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
|
|
76435
|
+
hasRequiredReactIs_production_min$1 = 1;
|
|
76436
|
+
var b3 = Symbol.for("react.element"), c3 = Symbol.for("react.portal"), d3 = Symbol.for("react.fragment"), e3 = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h3 = Symbol.for("react.context"), k2 = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m4 = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q3 = Symbol.for("react.lazy"), t3 = Symbol.for("react.offscreen"), u2;
|
|
76437
|
+
u2 = Symbol.for("react.module.reference");
|
|
76438
|
+
function v2(a3) {
|
|
76439
|
+
if ("object" === typeof a3 && null !== a3) {
|
|
76440
|
+
var r2 = a3.$$typeof;
|
|
76441
|
+
switch (r2) {
|
|
76442
|
+
case b3:
|
|
76443
|
+
switch (a3 = a3.type, a3) {
|
|
76444
|
+
case d3:
|
|
76445
|
+
case f:
|
|
76446
|
+
case e3:
|
|
76447
|
+
case m4:
|
|
76448
|
+
case n2:
|
|
76449
|
+
return a3;
|
|
76450
|
+
default:
|
|
76451
|
+
switch (a3 = a3 && a3.$$typeof, a3) {
|
|
76452
|
+
case k2:
|
|
76453
|
+
case h3:
|
|
76454
|
+
case l:
|
|
76455
|
+
case q3:
|
|
76456
|
+
case p:
|
|
76457
|
+
case g2:
|
|
76458
|
+
return a3;
|
|
76459
|
+
default:
|
|
76460
|
+
return r2;
|
|
76461
|
+
}
|
|
76462
|
+
}
|
|
76463
|
+
case c3:
|
|
76464
|
+
return r2;
|
|
76465
|
+
}
|
|
76466
|
+
}
|
|
76467
|
+
}
|
|
76468
|
+
reactIs_production_min$1.ContextConsumer = h3;
|
|
76469
|
+
reactIs_production_min$1.ContextProvider = g2;
|
|
76470
|
+
reactIs_production_min$1.Element = b3;
|
|
76471
|
+
reactIs_production_min$1.ForwardRef = l;
|
|
76472
|
+
reactIs_production_min$1.Fragment = d3;
|
|
76473
|
+
reactIs_production_min$1.Lazy = q3;
|
|
76474
|
+
reactIs_production_min$1.Memo = p;
|
|
76475
|
+
reactIs_production_min$1.Portal = c3;
|
|
76476
|
+
reactIs_production_min$1.Profiler = f;
|
|
76477
|
+
reactIs_production_min$1.StrictMode = e3;
|
|
76478
|
+
reactIs_production_min$1.Suspense = m4;
|
|
76479
|
+
reactIs_production_min$1.SuspenseList = n2;
|
|
76480
|
+
reactIs_production_min$1.isAsyncMode = function() {
|
|
76481
|
+
return false;
|
|
76482
|
+
};
|
|
76483
|
+
reactIs_production_min$1.isConcurrentMode = function() {
|
|
76484
|
+
return false;
|
|
76485
|
+
};
|
|
76486
|
+
reactIs_production_min$1.isContextConsumer = function(a3) {
|
|
76487
|
+
return v2(a3) === h3;
|
|
76488
|
+
};
|
|
76489
|
+
reactIs_production_min$1.isContextProvider = function(a3) {
|
|
76490
|
+
return v2(a3) === g2;
|
|
76491
|
+
};
|
|
76492
|
+
reactIs_production_min$1.isElement = function(a3) {
|
|
76493
|
+
return "object" === typeof a3 && null !== a3 && a3.$$typeof === b3;
|
|
76494
|
+
};
|
|
76495
|
+
reactIs_production_min$1.isForwardRef = function(a3) {
|
|
76496
|
+
return v2(a3) === l;
|
|
76497
|
+
};
|
|
76498
|
+
reactIs_production_min$1.isFragment = function(a3) {
|
|
76499
|
+
return v2(a3) === d3;
|
|
76500
|
+
};
|
|
76501
|
+
reactIs_production_min$1.isLazy = function(a3) {
|
|
76502
|
+
return v2(a3) === q3;
|
|
76503
|
+
};
|
|
76504
|
+
reactIs_production_min$1.isMemo = function(a3) {
|
|
76505
|
+
return v2(a3) === p;
|
|
76506
|
+
};
|
|
76507
|
+
reactIs_production_min$1.isPortal = function(a3) {
|
|
76508
|
+
return v2(a3) === c3;
|
|
76509
|
+
};
|
|
76510
|
+
reactIs_production_min$1.isProfiler = function(a3) {
|
|
76511
|
+
return v2(a3) === f;
|
|
76512
|
+
};
|
|
76513
|
+
reactIs_production_min$1.isStrictMode = function(a3) {
|
|
76514
|
+
return v2(a3) === e3;
|
|
76515
|
+
};
|
|
76516
|
+
reactIs_production_min$1.isSuspense = function(a3) {
|
|
76517
|
+
return v2(a3) === m4;
|
|
76518
|
+
};
|
|
76519
|
+
reactIs_production_min$1.isSuspenseList = function(a3) {
|
|
76520
|
+
return v2(a3) === n2;
|
|
76521
|
+
};
|
|
76522
|
+
reactIs_production_min$1.isValidElementType = function(a3) {
|
|
76523
|
+
return "string" === typeof a3 || "function" === typeof a3 || a3 === d3 || a3 === f || a3 === e3 || a3 === m4 || a3 === n2 || a3 === t3 || "object" === typeof a3 && null !== a3 && (a3.$$typeof === q3 || a3.$$typeof === p || a3.$$typeof === g2 || a3.$$typeof === h3 || a3.$$typeof === l || a3.$$typeof === u2 || void 0 !== a3.getModuleId) ? true : false;
|
|
76524
|
+
};
|
|
76525
|
+
reactIs_production_min$1.typeOf = v2;
|
|
76526
|
+
return reactIs_production_min$1;
|
|
76527
|
+
}
|
|
76528
|
+
var reactIs_development$1 = {};
|
|
76529
|
+
var hasRequiredReactIs_development$1;
|
|
76530
|
+
function requireReactIs_development$1() {
|
|
76531
|
+
if (hasRequiredReactIs_development$1) return reactIs_development$1;
|
|
76532
|
+
hasRequiredReactIs_development$1 = 1;
|
|
76533
|
+
var define_process_env_default2 = {};
|
|
76534
|
+
/**
|
|
76535
|
+
* @license React
|
|
76536
|
+
* react-is.development.js
|
|
76537
|
+
*
|
|
76538
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
76539
|
+
*
|
|
76540
|
+
* This source code is licensed under the MIT license found in the
|
|
76541
|
+
* LICENSE file in the root directory of this source tree.
|
|
76542
|
+
*/
|
|
76543
|
+
if (define_process_env_default2.NODE_ENV !== "production") {
|
|
76544
|
+
(function() {
|
|
76545
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
76546
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
76547
|
+
var REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment");
|
|
76548
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
76549
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
76550
|
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
|
76551
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
76552
|
+
var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
|
|
76553
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
76554
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
76555
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
76556
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
76557
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
76558
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
76559
|
+
var enableScopeAPI = false;
|
|
76560
|
+
var enableCacheElement = false;
|
|
76561
|
+
var enableTransitionTracing = false;
|
|
76562
|
+
var enableLegacyHidden = false;
|
|
76563
|
+
var enableDebugTracing = false;
|
|
76564
|
+
var REACT_MODULE_REFERENCE;
|
|
76565
|
+
{
|
|
76566
|
+
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
76567
|
+
}
|
|
76568
|
+
function isValidElementType(type5) {
|
|
76569
|
+
if (typeof type5 === "string" || typeof type5 === "function") {
|
|
76570
|
+
return true;
|
|
76571
|
+
}
|
|
76572
|
+
if (type5 === REACT_FRAGMENT_TYPE2 || type5 === REACT_PROFILER_TYPE || enableDebugTracing || type5 === REACT_STRICT_MODE_TYPE || type5 === REACT_SUSPENSE_TYPE || type5 === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type5 === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
76573
|
+
return true;
|
|
76574
|
+
}
|
|
76575
|
+
if (typeof type5 === "object" && type5 !== null) {
|
|
76576
|
+
if (type5.$$typeof === REACT_LAZY_TYPE || type5.$$typeof === REACT_MEMO_TYPE || type5.$$typeof === REACT_PROVIDER_TYPE || type5.$$typeof === REACT_CONTEXT_TYPE || type5.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
76577
|
+
// types supported by any Flight configuration anywhere since
|
|
76578
|
+
// we don't know which Flight build this will end up being used
|
|
76579
|
+
// with.
|
|
76580
|
+
type5.$$typeof === REACT_MODULE_REFERENCE || type5.getModuleId !== void 0) {
|
|
76581
|
+
return true;
|
|
76582
|
+
}
|
|
76583
|
+
}
|
|
76584
|
+
return false;
|
|
76585
|
+
}
|
|
76586
|
+
function typeOf(object4) {
|
|
76587
|
+
if (typeof object4 === "object" && object4 !== null) {
|
|
76588
|
+
var $$typeof = object4.$$typeof;
|
|
76589
|
+
switch ($$typeof) {
|
|
76590
|
+
case REACT_ELEMENT_TYPE:
|
|
76591
|
+
var type5 = object4.type;
|
|
76592
|
+
switch (type5) {
|
|
76593
|
+
case REACT_FRAGMENT_TYPE2:
|
|
76594
|
+
case REACT_PROFILER_TYPE:
|
|
76595
|
+
case REACT_STRICT_MODE_TYPE:
|
|
76596
|
+
case REACT_SUSPENSE_TYPE:
|
|
76597
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
76598
|
+
return type5;
|
|
76599
|
+
default:
|
|
76600
|
+
var $$typeofType = type5 && type5.$$typeof;
|
|
76601
|
+
switch ($$typeofType) {
|
|
76602
|
+
case REACT_SERVER_CONTEXT_TYPE:
|
|
76603
|
+
case REACT_CONTEXT_TYPE:
|
|
76604
|
+
case REACT_FORWARD_REF_TYPE:
|
|
76605
|
+
case REACT_LAZY_TYPE:
|
|
76606
|
+
case REACT_MEMO_TYPE:
|
|
76607
|
+
case REACT_PROVIDER_TYPE:
|
|
76608
|
+
return $$typeofType;
|
|
76609
|
+
default:
|
|
76610
|
+
return $$typeof;
|
|
76611
|
+
}
|
|
76612
|
+
}
|
|
76613
|
+
case REACT_PORTAL_TYPE:
|
|
76614
|
+
return $$typeof;
|
|
76615
|
+
}
|
|
76616
|
+
}
|
|
76617
|
+
return void 0;
|
|
76618
|
+
}
|
|
76619
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
76620
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
76621
|
+
var Element3 = REACT_ELEMENT_TYPE;
|
|
76622
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
76623
|
+
var Fragment = REACT_FRAGMENT_TYPE2;
|
|
76624
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
76625
|
+
var Memo = REACT_MEMO_TYPE;
|
|
76626
|
+
var Portal2 = REACT_PORTAL_TYPE;
|
|
76627
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
76628
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
76629
|
+
var Suspense2 = REACT_SUSPENSE_TYPE;
|
|
76630
|
+
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
76631
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
76632
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false;
|
|
76633
|
+
function isAsyncMode(object4) {
|
|
76634
|
+
{
|
|
76635
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
76636
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
76637
|
+
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
|
|
76638
|
+
}
|
|
76639
|
+
}
|
|
76640
|
+
return false;
|
|
76641
|
+
}
|
|
76642
|
+
function isConcurrentMode(object4) {
|
|
76643
|
+
{
|
|
76644
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
76645
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true;
|
|
76646
|
+
console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
|
|
76647
|
+
}
|
|
76648
|
+
}
|
|
76649
|
+
return false;
|
|
76650
|
+
}
|
|
76651
|
+
function isContextConsumer(object4) {
|
|
76652
|
+
return typeOf(object4) === REACT_CONTEXT_TYPE;
|
|
76653
|
+
}
|
|
76654
|
+
function isContextProvider(object4) {
|
|
76655
|
+
return typeOf(object4) === REACT_PROVIDER_TYPE;
|
|
76656
|
+
}
|
|
76657
|
+
function isElement2(object4) {
|
|
76658
|
+
return typeof object4 === "object" && object4 !== null && object4.$$typeof === REACT_ELEMENT_TYPE;
|
|
76659
|
+
}
|
|
76660
|
+
function isForwardRef(object4) {
|
|
76661
|
+
return typeOf(object4) === REACT_FORWARD_REF_TYPE;
|
|
76662
|
+
}
|
|
76663
|
+
function isFragment2(object4) {
|
|
76664
|
+
return typeOf(object4) === REACT_FRAGMENT_TYPE2;
|
|
76665
|
+
}
|
|
76666
|
+
function isLazy(object4) {
|
|
76667
|
+
return typeOf(object4) === REACT_LAZY_TYPE;
|
|
76668
|
+
}
|
|
76669
|
+
function isMemo(object4) {
|
|
76670
|
+
return typeOf(object4) === REACT_MEMO_TYPE;
|
|
76671
|
+
}
|
|
76672
|
+
function isPortal(object4) {
|
|
76673
|
+
return typeOf(object4) === REACT_PORTAL_TYPE;
|
|
76674
|
+
}
|
|
76675
|
+
function isProfiler(object4) {
|
|
76676
|
+
return typeOf(object4) === REACT_PROFILER_TYPE;
|
|
76677
|
+
}
|
|
76678
|
+
function isStrictMode(object4) {
|
|
76679
|
+
return typeOf(object4) === REACT_STRICT_MODE_TYPE;
|
|
76680
|
+
}
|
|
76681
|
+
function isSuspense(object4) {
|
|
76682
|
+
return typeOf(object4) === REACT_SUSPENSE_TYPE;
|
|
76683
|
+
}
|
|
76684
|
+
function isSuspenseList(object4) {
|
|
76685
|
+
return typeOf(object4) === REACT_SUSPENSE_LIST_TYPE;
|
|
76686
|
+
}
|
|
76687
|
+
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
76688
|
+
reactIs_development$1.ContextProvider = ContextProvider;
|
|
76689
|
+
reactIs_development$1.Element = Element3;
|
|
76690
|
+
reactIs_development$1.ForwardRef = ForwardRef;
|
|
76691
|
+
reactIs_development$1.Fragment = Fragment;
|
|
76692
|
+
reactIs_development$1.Lazy = Lazy;
|
|
76693
|
+
reactIs_development$1.Memo = Memo;
|
|
76694
|
+
reactIs_development$1.Portal = Portal2;
|
|
76695
|
+
reactIs_development$1.Profiler = Profiler;
|
|
76696
|
+
reactIs_development$1.StrictMode = StrictMode;
|
|
76697
|
+
reactIs_development$1.Suspense = Suspense2;
|
|
76698
|
+
reactIs_development$1.SuspenseList = SuspenseList;
|
|
76699
|
+
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
76700
|
+
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
76701
|
+
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
76702
|
+
reactIs_development$1.isContextProvider = isContextProvider;
|
|
76703
|
+
reactIs_development$1.isElement = isElement2;
|
|
76704
|
+
reactIs_development$1.isForwardRef = isForwardRef;
|
|
76705
|
+
reactIs_development$1.isFragment = isFragment2;
|
|
76706
|
+
reactIs_development$1.isLazy = isLazy;
|
|
76707
|
+
reactIs_development$1.isMemo = isMemo;
|
|
76708
|
+
reactIs_development$1.isPortal = isPortal;
|
|
76709
|
+
reactIs_development$1.isProfiler = isProfiler;
|
|
76710
|
+
reactIs_development$1.isStrictMode = isStrictMode;
|
|
76711
|
+
reactIs_development$1.isSuspense = isSuspense;
|
|
76712
|
+
reactIs_development$1.isSuspenseList = isSuspenseList;
|
|
76713
|
+
reactIs_development$1.isValidElementType = isValidElementType;
|
|
76714
|
+
reactIs_development$1.typeOf = typeOf;
|
|
76715
|
+
})();
|
|
76716
|
+
}
|
|
76717
|
+
return reactIs_development$1;
|
|
76718
|
+
}
|
|
76719
|
+
var hasRequiredReactIs$1;
|
|
76720
|
+
function requireReactIs$1() {
|
|
76721
|
+
if (hasRequiredReactIs$1) return reactIs$1.exports;
|
|
76722
|
+
hasRequiredReactIs$1 = 1;
|
|
76723
|
+
var define_process_env_default2 = {};
|
|
76724
|
+
if (define_process_env_default2.NODE_ENV === "production") {
|
|
76725
|
+
reactIs$1.exports = requireReactIs_production_min$1();
|
|
76726
|
+
} else {
|
|
76727
|
+
reactIs$1.exports = requireReactIs_development$1();
|
|
76728
|
+
}
|
|
76729
|
+
return reactIs$1.exports;
|
|
76730
|
+
}
|
|
76731
|
+
var reactIsExports = requireReactIs$1();
|
|
76421
76732
|
function stylis_min(W2) {
|
|
76422
76733
|
function M4(d3, c3, e3, h3, a3) {
|
|
76423
76734
|
for (var m4 = 0, b3 = 0, v2 = 0, n2 = 0, q3, g2, x3 = 0, K3 = 0, k2, u2 = k2 = q3 = 0, l = 0, r2 = 0, I3 = 0, t3 = 0, B4 = e3.length, J2 = B4 - 1, y4, f = "", p = "", F3 = "", G4 = "", C2; l < B4; ) {
|
|
@@ -90645,14 +90956,14 @@ function getLoaderFn$1(options) {
|
|
|
90645
90956
|
if (!(loader === "all")) return [3, 3];
|
|
90646
90957
|
return [4, import(
|
|
90647
90958
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
90648
|
-
"./allPathsLoader-
|
|
90959
|
+
"./allPathsLoader-DhkzAeHr.js"
|
|
90649
90960
|
)];
|
|
90650
90961
|
case 2:
|
|
90651
90962
|
return [2, _b2.sent().allPathsLoader];
|
|
90652
90963
|
case 3:
|
|
90653
90964
|
return [4, import(
|
|
90654
90965
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
90655
|
-
"./splitPathsBySizeLoader-
|
|
90966
|
+
"./splitPathsBySizeLoader-DQGuCgWt.js"
|
|
90656
90967
|
)];
|
|
90657
90968
|
case 4:
|
|
90658
90969
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -115620,6 +115931,19 @@ const DroppableWidget = observer(
|
|
|
115620
115931
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(React__default.Fragment, { children: props2.children });
|
|
115621
115932
|
}
|
|
115622
115933
|
);
|
|
115934
|
+
const EXTENDED_CLICKABLE_AREA_DELTA = 6;
|
|
115935
|
+
const EXTENDED_CLICKABLE_AREA_TYPES = ["SbButton"];
|
|
115936
|
+
const EXTENDED_CLICKABLE_ANCHOR_CSS = {
|
|
115937
|
+
top: `calc(anchor(top) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
|
|
115938
|
+
left: `calc(anchor(left) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
|
|
115939
|
+
right: `calc(anchor(right) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
|
|
115940
|
+
bottom: `calc(anchor(bottom) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`
|
|
115941
|
+
};
|
|
115942
|
+
const EXTENDED_CLICKABLE_ANCHOR_CLIP_PATH = `polygon(
|
|
115943
|
+
0% 0%, 0% 100%, 100% 100%, 100% 0%,
|
|
115944
|
+
0% 0%, ${EXTENDED_CLICKABLE_AREA_DELTA}px ${EXTENDED_CLICKABLE_AREA_DELTA}px, calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px) ${EXTENDED_CLICKABLE_AREA_DELTA}px,
|
|
115945
|
+
calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px) calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px), ${EXTENDED_CLICKABLE_AREA_DELTA}px calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px), ${EXTENDED_CLICKABLE_AREA_DELTA}px ${EXTENDED_CLICKABLE_AREA_DELTA}px
|
|
115946
|
+
)`;
|
|
115623
115947
|
function useRegisterSourceElement(sourceId) {
|
|
115624
115948
|
const instanceIdRef = useRef(null);
|
|
115625
115949
|
return useCallback(
|
|
@@ -117653,6 +117977,7 @@ const InteractionRect = (props2) => {
|
|
|
117653
117977
|
left: "anchor(left)",
|
|
117654
117978
|
right: "anchor(right)",
|
|
117655
117979
|
bottom: "anchor(bottom)",
|
|
117980
|
+
...EXTENDED_CLICKABLE_AREA_TYPES.includes(type5 ?? "") && selectionType === "FOCUSED" ? EXTENDED_CLICKABLE_ANCHOR_CSS : {},
|
|
117656
117981
|
visibility: isDragging ? "hidden" : "visible",
|
|
117657
117982
|
anchorName: getWidgetRectAnchorName(instanceId),
|
|
117658
117983
|
positionAnchor: getWidgetAnchorName(instanceId),
|
|
@@ -117700,7 +118025,27 @@ const selectDisplayNameAndVisibility = (instanceId) => {
|
|
|
117700
118025
|
};
|
|
117701
118026
|
};
|
|
117702
118027
|
const calculateWidgetsAtCursor = (params) => {
|
|
117703
|
-
|
|
118028
|
+
let elements = document.elementsFromPoint(params.x, params.y);
|
|
118029
|
+
if (params.delta) {
|
|
118030
|
+
elements = [
|
|
118031
|
+
...document.elementsFromPoint(
|
|
118032
|
+
params.x - params.delta.x,
|
|
118033
|
+
params.y - params.delta.y
|
|
118034
|
+
),
|
|
118035
|
+
...document.elementsFromPoint(
|
|
118036
|
+
params.x + params.delta.x,
|
|
118037
|
+
params.y + params.delta.y
|
|
118038
|
+
),
|
|
118039
|
+
...document.elementsFromPoint(
|
|
118040
|
+
params.x - params.delta.x,
|
|
118041
|
+
params.y + params.delta.y
|
|
118042
|
+
),
|
|
118043
|
+
...document.elementsFromPoint(
|
|
118044
|
+
params.x + params.delta.x,
|
|
118045
|
+
params.y - params.delta.y
|
|
118046
|
+
)
|
|
118047
|
+
];
|
|
118048
|
+
}
|
|
117704
118049
|
const hoveredPills = [];
|
|
117705
118050
|
const hoveredActual = [];
|
|
117706
118051
|
elements.forEach((element) => {
|
|
@@ -117722,6 +118067,30 @@ const calculateWidgetsAtCursor = (params) => {
|
|
|
117722
118067
|
hoveredActual
|
|
117723
118068
|
};
|
|
117724
118069
|
};
|
|
118070
|
+
function getFocusedWidget(event, rootType, rootElement, editStore2, delta, types2) {
|
|
118071
|
+
if (!rootElement) {
|
|
118072
|
+
return null;
|
|
118073
|
+
}
|
|
118074
|
+
const { hoveredPills, hoveredActual } = calculateWidgetsAtCursor({
|
|
118075
|
+
x: event.clientX,
|
|
118076
|
+
y: event.clientY,
|
|
118077
|
+
rootType,
|
|
118078
|
+
rootElement,
|
|
118079
|
+
delta
|
|
118080
|
+
});
|
|
118081
|
+
const instanceIds = [...hoveredPills, ...hoveredActual];
|
|
118082
|
+
const focusedWidget = instanceIds.find((id2) => {
|
|
118083
|
+
const widgetMeta = editStore2.runtimeEntitiesManager.getEditorWidgetMeta(id2);
|
|
118084
|
+
const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
|
|
118085
|
+
(widgetMeta == null ? void 0 : widgetMeta.sourceId) ?? ""
|
|
118086
|
+
).length;
|
|
118087
|
+
return (types2 === void 0 || types2.includes((widgetMeta == null ? void 0 : widgetMeta.type) ?? "")) && (widgetMeta == null ? void 0 : widgetMeta.isSbComponent) && !(widgetMeta == null ? void 0 : widgetMeta.isInCustomComponent) && sourceIdInstanceCount <= 1;
|
|
118088
|
+
}) ?? null;
|
|
118089
|
+
if (focusedWidget) {
|
|
118090
|
+
return focusedWidget;
|
|
118091
|
+
}
|
|
118092
|
+
return null;
|
|
118093
|
+
}
|
|
117725
118094
|
function useWidgetHover(rootType) {
|
|
117726
118095
|
useEffect(() => {
|
|
117727
118096
|
const rootElement = document.getElementById(
|
|
@@ -117729,22 +118098,26 @@ function useWidgetHover(rootType) {
|
|
|
117729
118098
|
);
|
|
117730
118099
|
const editStore2 = getEditStore();
|
|
117731
118100
|
const handleMouseMove = (event) => {
|
|
117732
|
-
const
|
|
117733
|
-
|
|
117734
|
-
y: event.clientY,
|
|
118101
|
+
const focusedWidgetExtended = getFocusedWidget(
|
|
118102
|
+
event,
|
|
117735
118103
|
rootType,
|
|
117736
|
-
rootElement
|
|
117737
|
-
|
|
117738
|
-
|
|
117739
|
-
|
|
117740
|
-
|
|
117741
|
-
|
|
117742
|
-
|
|
117743
|
-
|
|
117744
|
-
|
|
117745
|
-
|
|
117746
|
-
|
|
117747
|
-
|
|
118104
|
+
rootElement,
|
|
118105
|
+
editStore2,
|
|
118106
|
+
{ x: EXTENDED_CLICKABLE_AREA_DELTA, y: EXTENDED_CLICKABLE_AREA_DELTA },
|
|
118107
|
+
EXTENDED_CLICKABLE_AREA_TYPES
|
|
118108
|
+
);
|
|
118109
|
+
if (focusedWidgetExtended) {
|
|
118110
|
+
editStore2.ui.setFocusedInstanceId(focusedWidgetExtended);
|
|
118111
|
+
} else {
|
|
118112
|
+
const focusedWidget = getFocusedWidget(
|
|
118113
|
+
event,
|
|
118114
|
+
rootType,
|
|
118115
|
+
rootElement,
|
|
118116
|
+
editStore2
|
|
118117
|
+
);
|
|
118118
|
+
if (focusedWidget) {
|
|
118119
|
+
editStore2.ui.setFocusedInstanceId(focusedWidget);
|
|
118120
|
+
}
|
|
117748
118121
|
}
|
|
117749
118122
|
};
|
|
117750
118123
|
const throttledHandleMouseMove = throttle(handleMouseMove, 25);
|
|
@@ -117985,6 +118358,24 @@ const EditWrapper = observer(function EditWrapper2(props2) {
|
|
|
117985
118358
|
const scopeName = rootStore.entityManager.getScopeName(
|
|
117986
118359
|
props2.identifier.scopeId
|
|
117987
118360
|
);
|
|
118361
|
+
const handleClick = (ev) => {
|
|
118362
|
+
const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
|
|
118363
|
+
props2.identifier.sourceId
|
|
118364
|
+
).length;
|
|
118365
|
+
if (sourceIdInstanceCount > 1) {
|
|
118366
|
+
return;
|
|
118367
|
+
}
|
|
118368
|
+
if (isInCustomComponent && customComponentInstanceId) {
|
|
118369
|
+
editStore2.ui.selectWidget(customComponentInstanceId);
|
|
118370
|
+
ev.stopPropagation();
|
|
118371
|
+
return;
|
|
118372
|
+
}
|
|
118373
|
+
editStore2.ui.selectWidget(props2.identifier.instanceId);
|
|
118374
|
+
ev.stopPropagation();
|
|
118375
|
+
};
|
|
118376
|
+
const expandedClickArea = EXTENDED_CLICKABLE_AREA_TYPES.includes(
|
|
118377
|
+
(meta == null ? void 0 : meta.type) ?? ""
|
|
118378
|
+
);
|
|
117988
118379
|
const node2 = /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
117989
118380
|
"div",
|
|
117990
118381
|
{
|
|
@@ -117996,24 +118387,25 @@ const EditWrapper = observer(function EditWrapper2(props2) {
|
|
|
117996
118387
|
"data-can-drop": props2.isDroppable,
|
|
117997
118388
|
"data-selected": isSelected,
|
|
117998
118389
|
"data-has-local-binding": hasLocalBinding,
|
|
118390
|
+
onClick: handleClick,
|
|
117999
118391
|
id: getEditWrapperId(props2.identifier.instanceId),
|
|
118000
|
-
onClick: (ev) => {
|
|
118001
|
-
const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
|
|
118002
|
-
props2.identifier.sourceId
|
|
118003
|
-
).length;
|
|
118004
|
-
if (sourceIdInstanceCount > 1) {
|
|
118005
|
-
return;
|
|
118006
|
-
}
|
|
118007
|
-
if (isInCustomComponent && customComponentInstanceId) {
|
|
118008
|
-
editStore2.ui.selectWidget(customComponentInstanceId);
|
|
118009
|
-
ev.stopPropagation();
|
|
118010
|
-
return;
|
|
118011
|
-
}
|
|
118012
|
-
editStore2.ui.selectWidget(props2.identifier.instanceId);
|
|
118013
|
-
ev.stopPropagation();
|
|
118014
|
-
},
|
|
118015
118392
|
ref: registerSourceElement,
|
|
118016
118393
|
children: [
|
|
118394
|
+
expandedClickArea && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
118395
|
+
"div",
|
|
118396
|
+
{
|
|
118397
|
+
onClick: handleClick,
|
|
118398
|
+
style: {
|
|
118399
|
+
position: "absolute",
|
|
118400
|
+
...EXTENDED_CLICKABLE_ANCHOR_CSS,
|
|
118401
|
+
zIndex: 0,
|
|
118402
|
+
pointerEvents: "auto",
|
|
118403
|
+
overflow: "hidden",
|
|
118404
|
+
positionAnchor: getWidgetAnchorName(identifier2.instanceId),
|
|
118405
|
+
clipPath: EXTENDED_CLICKABLE_ANCHOR_CLIP_PATH
|
|
118406
|
+
}
|
|
118407
|
+
}
|
|
118408
|
+
),
|
|
118017
118409
|
showVisibilityBackground && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
118018
118410
|
"div",
|
|
118019
118411
|
{
|
|
@@ -133679,7 +134071,7 @@ function requireRef() {
|
|
|
133679
134071
|
ref.useComposeRef = ref.supportRef = ref.supportNodeRef = ref.getNodeRef = ref.fillRef = ref.composeRef = void 0;
|
|
133680
134072
|
var _typeof2 = _interopRequireDefault(require_typeof());
|
|
133681
134073
|
var _react = React__default;
|
|
133682
|
-
var _reactIs = requireReactIs$
|
|
134074
|
+
var _reactIs = requireReactIs$2();
|
|
133683
134075
|
var _useMemo = _interopRequireDefault(requireUseMemo());
|
|
133684
134076
|
var _isFragment = _interopRequireDefault(requireIsFragment());
|
|
133685
134077
|
var ReactMajorVersion2 = Number(_react.version.split(".")[0]);
|
|
@@ -145011,14 +145403,14 @@ function getLoaderFn(options) {
|
|
|
145011
145403
|
if (!(loader === "all")) return [3, 3];
|
|
145012
145404
|
return [4, import(
|
|
145013
145405
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
145014
|
-
"./allPathsLoader-
|
|
145406
|
+
"./allPathsLoader-B0O4sfbG.js"
|
|
145015
145407
|
)];
|
|
145016
145408
|
case 2:
|
|
145017
145409
|
return [2, _b2.sent().allPathsLoader];
|
|
145018
145410
|
case 3:
|
|
145019
145411
|
return [4, import(
|
|
145020
145412
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
145021
|
-
"./splitPathsBySizeLoader-
|
|
145413
|
+
"./splitPathsBySizeLoader-DH3bh2P5.js"
|
|
145022
145414
|
)];
|
|
145023
145415
|
case 4:
|
|
145024
145416
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -197558,4 +197950,4 @@ export {
|
|
|
197558
197950
|
copyToClipboard as y,
|
|
197559
197951
|
navigateTo as z
|
|
197560
197952
|
};
|
|
197561
|
-
//# sourceMappingURL=index-
|
|
197953
|
+
//# sourceMappingURL=index-DzenoqnP.js.map
|