@industry-theme/repository-composition-panels 0.7.30 → 0.7.31
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/{browserAll-DPf_9c30.js → browserAll-CTmQ_vRe.js} +3 -3
- package/dist/{browserAll-DPf_9c30.js.map → browserAll-CTmQ_vRe.js.map} +1 -1
- package/dist/{index-BltudByL.js → index-D8MSY071.js} +314 -291
- package/dist/{index-BltudByL.js.map → index-D8MSY071.js.map} +1 -1
- package/dist/{init-DQqQB4Ax.js → init-RpxvpRvb.js} +2 -2
- package/dist/{init-DQqQB4Ax.js.map → init-RpxvpRvb.js.map} +1 -1
- package/dist/panels/file-city-3d/FileCity3D.d.ts +119 -0
- package/dist/panels/file-city-3d/FileCity3D.d.ts.map +1 -0
- package/dist/panels/file-city-3d/buildCityData.d.ts +31 -0
- package/dist/panels/file-city-3d/buildCityData.d.ts.map +1 -0
- package/dist/panels/file-city-3d/index.d.ts +3 -0
- package/dist/panels/file-city-3d/index.d.ts.map +1 -0
- package/dist/panels/overworld-map/components/CardBack.d.ts +20 -0
- package/dist/panels/overworld-map/components/CardBack.d.ts.map +1 -0
- package/dist/panels.bundle.js +1 -1
- package/dist/webworkerAll-CjJZV9Yl.js +3 -0
- package/dist/webworkerAll-CjJZV9Yl.js.map +1 -0
- package/package.json +8 -2
- package/dist/webworkerAll-qtgeoODS.js +0 -3
- package/dist/webworkerAll-qtgeoODS.js.map +0 -1
|
@@ -10666,136 +10666,177 @@ function XYResizer({ domNode, nodeId, getStoreItems, onChange, onEnd }) {
|
|
|
10666
10666
|
function getDefaultExportFromCjs(x2) {
|
|
10667
10667
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
10668
10668
|
}
|
|
10669
|
+
function getAugmentedNamespace(n2) {
|
|
10670
|
+
if (Object.prototype.hasOwnProperty.call(n2, "__esModule")) return n2;
|
|
10671
|
+
var f2 = n2.default;
|
|
10672
|
+
if (typeof f2 == "function") {
|
|
10673
|
+
var a2 = function a3() {
|
|
10674
|
+
if (this instanceof a3) {
|
|
10675
|
+
return Reflect.construct(f2, arguments, this.constructor);
|
|
10676
|
+
}
|
|
10677
|
+
return f2.apply(this, arguments);
|
|
10678
|
+
};
|
|
10679
|
+
a2.prototype = f2.prototype;
|
|
10680
|
+
} else a2 = {};
|
|
10681
|
+
Object.defineProperty(a2, "__esModule", { value: true });
|
|
10682
|
+
Object.keys(n2).forEach(function(k2) {
|
|
10683
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k2);
|
|
10684
|
+
Object.defineProperty(a2, k2, d2.get ? d2 : {
|
|
10685
|
+
enumerable: true,
|
|
10686
|
+
get: function() {
|
|
10687
|
+
return n2[k2];
|
|
10688
|
+
}
|
|
10689
|
+
});
|
|
10690
|
+
});
|
|
10691
|
+
return a2;
|
|
10692
|
+
}
|
|
10669
10693
|
var withSelector = { exports: {} };
|
|
10670
|
-
var
|
|
10694
|
+
var withSelector_production = {};
|
|
10671
10695
|
var shim = { exports: {} };
|
|
10672
|
-
var
|
|
10696
|
+
var useSyncExternalStoreShim_production = {};
|
|
10673
10697
|
/**
|
|
10674
10698
|
* @license React
|
|
10675
|
-
* use-sync-external-store-shim.production.
|
|
10699
|
+
* use-sync-external-store-shim.production.js
|
|
10676
10700
|
*
|
|
10677
|
-
* Copyright (c)
|
|
10701
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10678
10702
|
*
|
|
10679
10703
|
* This source code is licensed under the MIT license found in the
|
|
10680
10704
|
* LICENSE file in the root directory of this source tree.
|
|
10681
10705
|
*/
|
|
10682
|
-
var
|
|
10683
|
-
function
|
|
10684
|
-
if (
|
|
10685
|
-
|
|
10686
|
-
var
|
|
10687
|
-
function
|
|
10688
|
-
return
|
|
10689
|
-
}
|
|
10690
|
-
var
|
|
10691
|
-
function
|
|
10692
|
-
var
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
+
var hasRequiredUseSyncExternalStoreShim_production;
|
|
10707
|
+
function requireUseSyncExternalStoreShim_production() {
|
|
10708
|
+
if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
|
|
10709
|
+
hasRequiredUseSyncExternalStoreShim_production = 1;
|
|
10710
|
+
var React = React2__default;
|
|
10711
|
+
function is(x2, y2) {
|
|
10712
|
+
return x2 === y2 && (0 !== x2 || 1 / x2 === 1 / y2) || x2 !== x2 && y2 !== y2;
|
|
10713
|
+
}
|
|
10714
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is, useState2 = React.useState, useEffect2 = React.useEffect, useLayoutEffect2 = React.useLayoutEffect, useDebugValue2 = React.useDebugValue;
|
|
10715
|
+
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
10716
|
+
var value = getSnapshot(), _useState = useState2({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
10717
|
+
useLayoutEffect2(
|
|
10718
|
+
function() {
|
|
10719
|
+
inst.value = value;
|
|
10720
|
+
inst.getSnapshot = getSnapshot;
|
|
10721
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
10722
|
+
},
|
|
10723
|
+
[subscribe, value, getSnapshot]
|
|
10724
|
+
);
|
|
10725
|
+
useEffect2(
|
|
10726
|
+
function() {
|
|
10727
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
10728
|
+
return subscribe(function() {
|
|
10729
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
10730
|
+
});
|
|
10731
|
+
},
|
|
10732
|
+
[subscribe]
|
|
10733
|
+
);
|
|
10734
|
+
useDebugValue2(value);
|
|
10735
|
+
return value;
|
|
10706
10736
|
}
|
|
10707
|
-
function
|
|
10708
|
-
var
|
|
10709
|
-
|
|
10737
|
+
function checkIfSnapshotChanged(inst) {
|
|
10738
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
10739
|
+
inst = inst.value;
|
|
10710
10740
|
try {
|
|
10711
|
-
var
|
|
10712
|
-
return !
|
|
10713
|
-
} catch (
|
|
10741
|
+
var nextValue = latestGetSnapshot();
|
|
10742
|
+
return !objectIs(inst, nextValue);
|
|
10743
|
+
} catch (error) {
|
|
10714
10744
|
return true;
|
|
10715
10745
|
}
|
|
10716
10746
|
}
|
|
10717
|
-
function
|
|
10718
|
-
return
|
|
10747
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
10748
|
+
return getSnapshot();
|
|
10719
10749
|
}
|
|
10720
|
-
var
|
|
10721
|
-
|
|
10722
|
-
return
|
|
10750
|
+
var shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
10751
|
+
useSyncExternalStoreShim_production.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim2;
|
|
10752
|
+
return useSyncExternalStoreShim_production;
|
|
10723
10753
|
}
|
|
10724
10754
|
var hasRequiredShim;
|
|
10725
10755
|
function requireShim() {
|
|
10726
10756
|
if (hasRequiredShim) return shim.exports;
|
|
10727
10757
|
hasRequiredShim = 1;
|
|
10728
10758
|
{
|
|
10729
|
-
shim.exports =
|
|
10759
|
+
shim.exports = requireUseSyncExternalStoreShim_production();
|
|
10730
10760
|
}
|
|
10731
10761
|
return shim.exports;
|
|
10732
10762
|
}
|
|
10733
10763
|
/**
|
|
10734
10764
|
* @license React
|
|
10735
|
-
* use-sync-external-store-shim/with-selector.production.
|
|
10765
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
10736
10766
|
*
|
|
10737
|
-
* Copyright (c)
|
|
10767
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10738
10768
|
*
|
|
10739
10769
|
* This source code is licensed under the MIT license found in the
|
|
10740
10770
|
* LICENSE file in the root directory of this source tree.
|
|
10741
10771
|
*/
|
|
10742
|
-
var
|
|
10743
|
-
function
|
|
10744
|
-
if (
|
|
10745
|
-
|
|
10746
|
-
var
|
|
10747
|
-
function
|
|
10748
|
-
return
|
|
10749
|
-
}
|
|
10750
|
-
var
|
|
10751
|
-
|
|
10752
|
-
var
|
|
10753
|
-
if (null ===
|
|
10754
|
-
var
|
|
10755
|
-
|
|
10756
|
-
} else
|
|
10757
|
-
|
|
10758
|
-
function
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10772
|
+
var hasRequiredWithSelector_production;
|
|
10773
|
+
function requireWithSelector_production() {
|
|
10774
|
+
if (hasRequiredWithSelector_production) return withSelector_production;
|
|
10775
|
+
hasRequiredWithSelector_production = 1;
|
|
10776
|
+
var React = React2__default, shim2 = requireShim();
|
|
10777
|
+
function is(x2, y2) {
|
|
10778
|
+
return x2 === y2 && (0 !== x2 || 1 / x2 === 1 / y2) || x2 !== x2 && y2 !== y2;
|
|
10779
|
+
}
|
|
10780
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim2.useSyncExternalStore, useRef2 = React.useRef, useEffect2 = React.useEffect, useMemo2 = React.useMemo, useDebugValue2 = React.useDebugValue;
|
|
10781
|
+
withSelector_production.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector2, isEqual) {
|
|
10782
|
+
var instRef = useRef2(null);
|
|
10783
|
+
if (null === instRef.current) {
|
|
10784
|
+
var inst = { hasValue: false, value: null };
|
|
10785
|
+
instRef.current = inst;
|
|
10786
|
+
} else inst = instRef.current;
|
|
10787
|
+
instRef = useMemo2(
|
|
10788
|
+
function() {
|
|
10789
|
+
function memoizedSelector(nextSnapshot) {
|
|
10790
|
+
if (!hasMemo) {
|
|
10791
|
+
hasMemo = true;
|
|
10792
|
+
memoizedSnapshot = nextSnapshot;
|
|
10793
|
+
nextSnapshot = selector2(nextSnapshot);
|
|
10794
|
+
if (void 0 !== isEqual && inst.hasValue) {
|
|
10795
|
+
var currentSelection = inst.value;
|
|
10796
|
+
if (isEqual(currentSelection, nextSnapshot))
|
|
10797
|
+
return memoizedSelection = currentSelection;
|
|
10798
|
+
}
|
|
10799
|
+
return memoizedSelection = nextSnapshot;
|
|
10800
|
+
}
|
|
10801
|
+
currentSelection = memoizedSelection;
|
|
10802
|
+
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
10803
|
+
var nextSelection = selector2(nextSnapshot);
|
|
10804
|
+
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
10805
|
+
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
10806
|
+
memoizedSnapshot = nextSnapshot;
|
|
10807
|
+
return memoizedSelection = nextSelection;
|
|
10808
|
+
}
|
|
10809
|
+
var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
10810
|
+
return [
|
|
10811
|
+
function() {
|
|
10812
|
+
return memoizedSelector(getSnapshot());
|
|
10813
|
+
},
|
|
10814
|
+
null === maybeGetServerSnapshot ? void 0 : function() {
|
|
10815
|
+
return memoizedSelector(maybeGetServerSnapshot());
|
|
10766
10816
|
}
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
var d2 = r2(a2, c2[0], c2[1]);
|
|
10784
|
-
u2(function() {
|
|
10785
|
-
f2.hasValue = true;
|
|
10786
|
-
f2.value = d2;
|
|
10787
|
-
}, [d2]);
|
|
10788
|
-
w2(d2);
|
|
10789
|
-
return d2;
|
|
10790
|
-
};
|
|
10791
|
-
return withSelector_production_min;
|
|
10817
|
+
];
|
|
10818
|
+
},
|
|
10819
|
+
[getSnapshot, getServerSnapshot, selector2, isEqual]
|
|
10820
|
+
);
|
|
10821
|
+
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
10822
|
+
useEffect2(
|
|
10823
|
+
function() {
|
|
10824
|
+
inst.hasValue = true;
|
|
10825
|
+
inst.value = value;
|
|
10826
|
+
},
|
|
10827
|
+
[value]
|
|
10828
|
+
);
|
|
10829
|
+
useDebugValue2(value);
|
|
10830
|
+
return value;
|
|
10831
|
+
};
|
|
10832
|
+
return withSelector_production;
|
|
10792
10833
|
}
|
|
10793
10834
|
var hasRequiredWithSelector;
|
|
10794
10835
|
function requireWithSelector() {
|
|
10795
10836
|
if (hasRequiredWithSelector) return withSelector.exports;
|
|
10796
10837
|
hasRequiredWithSelector = 1;
|
|
10797
10838
|
{
|
|
10798
|
-
withSelector.exports =
|
|
10839
|
+
withSelector.exports = requireWithSelector_production();
|
|
10799
10840
|
}
|
|
10800
10841
|
return withSelector.exports;
|
|
10801
10842
|
}
|
|
@@ -10861,8 +10902,7 @@ function shallow$1(objA, objB) {
|
|
|
10861
10902
|
return false;
|
|
10862
10903
|
}
|
|
10863
10904
|
if (objA instanceof Map && objB instanceof Map) {
|
|
10864
|
-
if (objA.size !== objB.size)
|
|
10865
|
-
return false;
|
|
10905
|
+
if (objA.size !== objB.size) return false;
|
|
10866
10906
|
for (const [key, value] of objA) {
|
|
10867
10907
|
if (!Object.is(value, objB.get(key))) {
|
|
10868
10908
|
return false;
|
|
@@ -10871,8 +10911,7 @@ function shallow$1(objA, objB) {
|
|
|
10871
10911
|
return true;
|
|
10872
10912
|
}
|
|
10873
10913
|
if (objA instanceof Set && objB instanceof Set) {
|
|
10874
|
-
if (objA.size !== objB.size)
|
|
10875
|
-
return false;
|
|
10914
|
+
if (objA.size !== objB.size) return false;
|
|
10876
10915
|
for (const value of objA) {
|
|
10877
10916
|
if (!objB.has(value)) {
|
|
10878
10917
|
return false;
|
|
@@ -10884,8 +10923,8 @@ function shallow$1(objA, objB) {
|
|
|
10884
10923
|
if (keysA.length !== Object.keys(objB).length) {
|
|
10885
10924
|
return false;
|
|
10886
10925
|
}
|
|
10887
|
-
for (
|
|
10888
|
-
if (!Object.prototype.hasOwnProperty.call(objB,
|
|
10926
|
+
for (const keyA of keysA) {
|
|
10927
|
+
if (!Object.prototype.hasOwnProperty.call(objB, keyA) || !Object.is(objA[keyA], objB[keyA])) {
|
|
10889
10928
|
return false;
|
|
10890
10929
|
}
|
|
10891
10930
|
}
|
|
@@ -13419,7 +13458,7 @@ function ReactFlow({ nodes, edges, defaultNodes, defaultEdges, className, nodeTy
|
|
|
13419
13458
|
const colorModeClassName = useColorModeClass(colorMode);
|
|
13420
13459
|
return jsx("div", { ...rest, style: { ...style2, ...wrapperStyle }, ref, className: cc(["react-flow", className, colorModeClassName]), "data-testid": "rf__wrapper", id: id2, children: jsxs(Wrapper, { nodes, edges, width, height, fitView: fitView2, nodeOrigin, children: [jsx(GraphView, { onInit, onNodeClick, onEdgeClick, onNodeMouseEnter, onNodeMouseMove, onNodeMouseLeave, onNodeContextMenu, onNodeDoubleClick, nodeTypes: nodeTypes2, edgeTypes: edgeTypes2, connectionLineType, connectionLineStyle, connectionLineComponent, connectionLineContainerStyle, selectionKeyCode, selectionOnDrag, selectionMode, deleteKeyCode, multiSelectionKeyCode, panActivationKeyCode, zoomActivationKeyCode, onlyRenderVisibleElements, defaultViewport: defaultViewport$1, translateExtent, minZoom, maxZoom, preventScrolling, zoomOnScroll, zoomOnPinch, zoomOnDoubleClick, panOnScroll, panOnScrollSpeed, panOnScrollMode, panOnDrag, onPaneClick, onPaneMouseEnter, onPaneMouseMove, onPaneMouseLeave, onPaneScroll, onPaneContextMenu, paneClickDistance, onSelectionContextMenu, onSelectionStart, onSelectionEnd, onReconnect, onReconnectStart, onReconnectEnd, onEdgeContextMenu, onEdgeDoubleClick, onEdgeMouseEnter, onEdgeMouseMove, onEdgeMouseLeave, reconnectRadius, defaultMarkerColor, noDragClassName, noWheelClassName, noPanClassName, rfId, disableKeyboardA11y, nodeExtent, viewport, onViewportChange }), jsx(StoreUpdater, { nodes, edges, defaultNodes, defaultEdges, onConnect, onConnectStart, onConnectEnd, onClickConnectStart, onClickConnectEnd, nodesDraggable, nodesConnectable, nodesFocusable, edgesFocusable, edgesReconnectable, elementsSelectable, elevateNodesOnSelect, elevateEdgesOnSelect, minZoom, maxZoom, nodeExtent, onNodesChange, onEdgesChange, snapToGrid, snapGrid, connectionMode, translateExtent, connectOnClick, defaultEdgeOptions, fitView: fitView2, fitViewOptions, onNodesDelete, onEdgesDelete, onDelete, onNodeDragStart, onNodeDrag, onNodeDragStop, onSelectionDrag, onSelectionDragStart, onSelectionDragStop, onMove, onMoveStart, onMoveEnd, noPanClassName, nodeOrigin, rfId, autoPanOnConnect, autoPanOnNodeDrag, autoPanSpeed, onError, connectionRadius, isValidConnection, selectNodesOnDrag, nodeDragThreshold, onBeforeDelete, paneClickDistance, debug }), jsx(SelectionListener, { onSelectionChange }), children2, jsx(Attribution, { proOptions, position: attributionPosition }), jsx(A11yDescriptions, { rfId, disableKeyboardA11y })] }) });
|
|
13421
13460
|
}
|
|
13422
|
-
var index$
|
|
13461
|
+
var index$5 = fixedForwardRef(ReactFlow);
|
|
13423
13462
|
const selector$6 = (s2) => {
|
|
13424
13463
|
var _a;
|
|
13425
13464
|
return (_a = s2.domNode) == null ? void 0 : _a.querySelector(".react-flow__edgelabel-renderer");
|
|
@@ -47570,7 +47609,7 @@ const ZoomOut = createLucideIcon("zoom-out", __iconNode);
|
|
|
47570
47609
|
* This source code is licensed under the ISC license.
|
|
47571
47610
|
* See the LICENSE file in the root directory of this source tree.
|
|
47572
47611
|
*/
|
|
47573
|
-
const index$
|
|
47612
|
+
const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47574
47613
|
__proto__: null,
|
|
47575
47614
|
AArrowDown,
|
|
47576
47615
|
AArrowUp,
|
|
@@ -54901,7 +54940,7 @@ const LucideIcons = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
54901
54940
|
ZoomOut,
|
|
54902
54941
|
ZoomOutIcon: ZoomOut,
|
|
54903
54942
|
createLucideIcon,
|
|
54904
|
-
icons: index$
|
|
54943
|
+
icons: index$4
|
|
54905
54944
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
54906
54945
|
function resolveIcon(icon, size = 20, className) {
|
|
54907
54946
|
if (!icon)
|
|
@@ -56859,179 +56898,163 @@ function parse$2(value) {
|
|
|
56859
56898
|
function stringify(values) {
|
|
56860
56899
|
return values.join(" ").trim();
|
|
56861
56900
|
}
|
|
56862
|
-
var
|
|
56863
|
-
var
|
|
56864
|
-
var
|
|
56865
|
-
|
|
56866
|
-
|
|
56867
|
-
|
|
56868
|
-
|
|
56869
|
-
|
|
56870
|
-
|
|
56871
|
-
|
|
56872
|
-
|
|
56873
|
-
|
|
56874
|
-
|
|
56875
|
-
|
|
56876
|
-
|
|
56877
|
-
|
|
56878
|
-
|
|
56879
|
-
|
|
56880
|
-
|
|
56881
|
-
|
|
56882
|
-
|
|
56883
|
-
|
|
56884
|
-
|
|
56885
|
-
|
|
56886
|
-
if (
|
|
56887
|
-
|
|
56888
|
-
|
|
56889
|
-
|
|
56890
|
-
|
|
56891
|
-
|
|
56892
|
-
|
|
56893
|
-
|
|
56894
|
-
|
|
56895
|
-
|
|
56896
|
-
|
|
56897
|
-
|
|
56898
|
-
|
|
56899
|
-
|
|
56900
|
-
|
|
56901
|
-
|
|
56902
|
-
|
|
56903
|
-
|
|
56904
|
-
|
|
56905
|
-
|
|
56906
|
-
|
|
56907
|
-
|
|
56908
|
-
|
|
56909
|
-
|
|
56910
|
-
|
|
56911
|
-
|
|
56912
|
-
|
|
56913
|
-
|
|
56914
|
-
|
|
56915
|
-
err
|
|
56916
|
-
|
|
56917
|
-
|
|
56918
|
-
|
|
56919
|
-
|
|
56920
|
-
|
|
56921
|
-
|
|
56922
|
-
|
|
56923
|
-
|
|
56924
|
-
|
|
56925
|
-
|
|
56926
|
-
|
|
56927
|
-
|
|
56928
|
-
|
|
56929
|
-
|
|
56930
|
-
|
|
56931
|
-
|
|
56932
|
-
|
|
56933
|
-
|
|
56934
|
-
|
|
56935
|
-
|
|
56936
|
-
|
|
56937
|
-
|
|
56938
|
-
|
|
56939
|
-
|
|
56940
|
-
|
|
56941
|
-
|
|
56942
|
-
|
|
56943
|
-
|
|
56944
|
-
|
|
56945
|
-
|
|
56946
|
-
|
|
56947
|
-
|
|
56948
|
-
|
|
56949
|
-
|
|
56950
|
-
|
|
56951
|
-
|
|
56952
|
-
|
|
56953
|
-
|
|
56954
|
-
|
|
56955
|
-
|
|
56956
|
-
|
|
56957
|
-
|
|
56958
|
-
|
|
56959
|
-
|
|
56960
|
-
|
|
56961
|
-
|
|
56962
|
-
|
|
56963
|
-
|
|
56964
|
-
|
|
56965
|
-
|
|
56966
|
-
|
|
56967
|
-
|
|
56968
|
-
|
|
56969
|
-
|
|
56970
|
-
|
|
56971
|
-
|
|
56972
|
-
|
|
56973
|
-
|
|
56974
|
-
|
|
56975
|
-
|
|
56976
|
-
|
|
56977
|
-
|
|
56978
|
-
|
|
56979
|
-
|
|
56980
|
-
|
|
56981
|
-
|
|
56982
|
-
|
|
56983
|
-
comments(decls);
|
|
56984
|
-
var decl;
|
|
56985
|
-
while (decl = declaration()) {
|
|
56986
|
-
if (decl !== false) {
|
|
56987
|
-
decls.push(decl);
|
|
56988
|
-
comments(decls);
|
|
56989
|
-
}
|
|
56901
|
+
var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
|
|
56902
|
+
var NEWLINE_REGEX = /\n/g;
|
|
56903
|
+
var WHITESPACE_REGEX = /^\s*/;
|
|
56904
|
+
var PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/;
|
|
56905
|
+
var COLON_REGEX = /^:\s*/;
|
|
56906
|
+
var VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/;
|
|
56907
|
+
var SEMICOLON_REGEX = /^[;\s]*/;
|
|
56908
|
+
var TRIM_REGEX = /^\s+|\s+$/g;
|
|
56909
|
+
var NEWLINE = "\n";
|
|
56910
|
+
var FORWARD_SLASH = "/";
|
|
56911
|
+
var ASTERISK = "*";
|
|
56912
|
+
var EMPTY_STRING = "";
|
|
56913
|
+
var TYPE_COMMENT = "comment";
|
|
56914
|
+
var TYPE_DECLARATION = "declaration";
|
|
56915
|
+
function index$3(style2, options) {
|
|
56916
|
+
if (typeof style2 !== "string") {
|
|
56917
|
+
throw new TypeError("First argument must be a string");
|
|
56918
|
+
}
|
|
56919
|
+
if (!style2) return [];
|
|
56920
|
+
options = options || {};
|
|
56921
|
+
var lineno = 1;
|
|
56922
|
+
var column = 1;
|
|
56923
|
+
function updatePosition(str2) {
|
|
56924
|
+
var lines = str2.match(NEWLINE_REGEX);
|
|
56925
|
+
if (lines) lineno += lines.length;
|
|
56926
|
+
var i2 = str2.lastIndexOf(NEWLINE);
|
|
56927
|
+
column = ~i2 ? str2.length - i2 : column + str2.length;
|
|
56928
|
+
}
|
|
56929
|
+
function position2() {
|
|
56930
|
+
var start2 = { line: lineno, column };
|
|
56931
|
+
return function(node2) {
|
|
56932
|
+
node2.position = new Position2(start2);
|
|
56933
|
+
whitespace2();
|
|
56934
|
+
return node2;
|
|
56935
|
+
};
|
|
56936
|
+
}
|
|
56937
|
+
function Position2(start2) {
|
|
56938
|
+
this.start = start2;
|
|
56939
|
+
this.end = { line: lineno, column };
|
|
56940
|
+
this.source = options.source;
|
|
56941
|
+
}
|
|
56942
|
+
Position2.prototype.content = style2;
|
|
56943
|
+
function error(msg) {
|
|
56944
|
+
var err = new Error(
|
|
56945
|
+
options.source + ":" + lineno + ":" + column + ": " + msg
|
|
56946
|
+
);
|
|
56947
|
+
err.reason = msg;
|
|
56948
|
+
err.filename = options.source;
|
|
56949
|
+
err.line = lineno;
|
|
56950
|
+
err.column = column;
|
|
56951
|
+
err.source = style2;
|
|
56952
|
+
if (options.silent) ;
|
|
56953
|
+
else {
|
|
56954
|
+
throw err;
|
|
56955
|
+
}
|
|
56956
|
+
}
|
|
56957
|
+
function match(re2) {
|
|
56958
|
+
var m2 = re2.exec(style2);
|
|
56959
|
+
if (!m2) return;
|
|
56960
|
+
var str2 = m2[0];
|
|
56961
|
+
updatePosition(str2);
|
|
56962
|
+
style2 = style2.slice(str2.length);
|
|
56963
|
+
return m2;
|
|
56964
|
+
}
|
|
56965
|
+
function whitespace2() {
|
|
56966
|
+
match(WHITESPACE_REGEX);
|
|
56967
|
+
}
|
|
56968
|
+
function comments(rules) {
|
|
56969
|
+
var c2;
|
|
56970
|
+
rules = rules || [];
|
|
56971
|
+
while (c2 = comment2()) {
|
|
56972
|
+
if (c2 !== false) {
|
|
56973
|
+
rules.push(c2);
|
|
56974
|
+
}
|
|
56975
|
+
}
|
|
56976
|
+
return rules;
|
|
56977
|
+
}
|
|
56978
|
+
function comment2() {
|
|
56979
|
+
var pos = position2();
|
|
56980
|
+
if (FORWARD_SLASH != style2.charAt(0) || ASTERISK != style2.charAt(1)) return;
|
|
56981
|
+
var i2 = 2;
|
|
56982
|
+
while (EMPTY_STRING != style2.charAt(i2) && (ASTERISK != style2.charAt(i2) || FORWARD_SLASH != style2.charAt(i2 + 1))) {
|
|
56983
|
+
++i2;
|
|
56984
|
+
}
|
|
56985
|
+
i2 += 2;
|
|
56986
|
+
if (EMPTY_STRING === style2.charAt(i2 - 1)) {
|
|
56987
|
+
return error("End of comment missing");
|
|
56988
|
+
}
|
|
56989
|
+
var str2 = style2.slice(2, i2 - 2);
|
|
56990
|
+
column += 2;
|
|
56991
|
+
updatePosition(str2);
|
|
56992
|
+
style2 = style2.slice(i2);
|
|
56993
|
+
column += 2;
|
|
56994
|
+
return pos({
|
|
56995
|
+
type: TYPE_COMMENT,
|
|
56996
|
+
comment: str2
|
|
56997
|
+
});
|
|
56998
|
+
}
|
|
56999
|
+
function declaration() {
|
|
57000
|
+
var pos = position2();
|
|
57001
|
+
var prop = match(PROPERTY_REGEX);
|
|
57002
|
+
if (!prop) return;
|
|
57003
|
+
comment2();
|
|
57004
|
+
if (!match(COLON_REGEX)) return error("property missing ':'");
|
|
57005
|
+
var val = match(VALUE_REGEX);
|
|
57006
|
+
var ret = pos({
|
|
57007
|
+
type: TYPE_DECLARATION,
|
|
57008
|
+
property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),
|
|
57009
|
+
value: val ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING)) : EMPTY_STRING
|
|
57010
|
+
});
|
|
57011
|
+
match(SEMICOLON_REGEX);
|
|
57012
|
+
return ret;
|
|
57013
|
+
}
|
|
57014
|
+
function declarations() {
|
|
57015
|
+
var decls = [];
|
|
57016
|
+
comments(decls);
|
|
57017
|
+
var decl;
|
|
57018
|
+
while (decl = declaration()) {
|
|
57019
|
+
if (decl !== false) {
|
|
57020
|
+
decls.push(decl);
|
|
57021
|
+
comments(decls);
|
|
56990
57022
|
}
|
|
56991
|
-
return decls;
|
|
56992
57023
|
}
|
|
56993
|
-
|
|
56994
|
-
return declarations();
|
|
57024
|
+
return decls;
|
|
56995
57025
|
}
|
|
56996
|
-
|
|
56997
|
-
|
|
56998
|
-
}
|
|
56999
|
-
cjs$1 = index2;
|
|
57000
|
-
return cjs$1;
|
|
57026
|
+
whitespace2();
|
|
57027
|
+
return declarations();
|
|
57001
57028
|
}
|
|
57002
|
-
|
|
57003
|
-
|
|
57004
|
-
|
|
57005
|
-
|
|
57006
|
-
|
|
57007
|
-
|
|
57008
|
-
};
|
|
57009
|
-
Object.defineProperty(cjs$2, "__esModule", { value: true });
|
|
57010
|
-
cjs$2.default = StyleToObject;
|
|
57011
|
-
const inline_style_parser_1 = __importDefault(requireCjs$2());
|
|
57012
|
-
function StyleToObject(style2, iterator) {
|
|
57013
|
-
let styleObject = null;
|
|
57014
|
-
if (!style2 || typeof style2 !== "string") {
|
|
57015
|
-
return styleObject;
|
|
57016
|
-
}
|
|
57017
|
-
const declarations = (0, inline_style_parser_1.default)(style2);
|
|
57018
|
-
const hasIterator = typeof iterator === "function";
|
|
57019
|
-
declarations.forEach((declaration) => {
|
|
57020
|
-
if (declaration.type !== "declaration") {
|
|
57021
|
-
return;
|
|
57022
|
-
}
|
|
57023
|
-
const { property, value } = declaration;
|
|
57024
|
-
if (hasIterator) {
|
|
57025
|
-
iterator(property, value, declaration);
|
|
57026
|
-
} else if (value) {
|
|
57027
|
-
styleObject = styleObject || {};
|
|
57028
|
-
styleObject[property] = value;
|
|
57029
|
-
}
|
|
57030
|
-
});
|
|
57029
|
+
function trim(str2) {
|
|
57030
|
+
return str2 ? str2.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;
|
|
57031
|
+
}
|
|
57032
|
+
function StyleToObject(style2, iterator) {
|
|
57033
|
+
let styleObject = null;
|
|
57034
|
+
if (!style2 || typeof style2 !== "string") {
|
|
57031
57035
|
return styleObject;
|
|
57032
57036
|
}
|
|
57033
|
-
|
|
57037
|
+
const declarations = index$3(style2);
|
|
57038
|
+
const hasIterator = typeof iterator === "function";
|
|
57039
|
+
declarations.forEach((declaration) => {
|
|
57040
|
+
if (declaration.type !== "declaration") {
|
|
57041
|
+
return;
|
|
57042
|
+
}
|
|
57043
|
+
const { property, value } = declaration;
|
|
57044
|
+
if (hasIterator) {
|
|
57045
|
+
iterator(property, value, declaration);
|
|
57046
|
+
} else if (value) {
|
|
57047
|
+
styleObject = styleObject || {};
|
|
57048
|
+
styleObject[property] = value;
|
|
57049
|
+
}
|
|
57050
|
+
});
|
|
57051
|
+
return styleObject;
|
|
57034
57052
|
}
|
|
57053
|
+
const esm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
57054
|
+
__proto__: null,
|
|
57055
|
+
default: StyleToObject
|
|
57056
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
57057
|
+
const require$$0 = /* @__PURE__ */ getAugmentedNamespace(esm);
|
|
57035
57058
|
var utilities = {};
|
|
57036
57059
|
var hasRequiredUtilities;
|
|
57037
57060
|
function requireUtilities() {
|
|
@@ -57079,7 +57102,7 @@ function requireCjs() {
|
|
|
57079
57102
|
var __importDefault = cjs && cjs.__importDefault || function(mod) {
|
|
57080
57103
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
57081
57104
|
};
|
|
57082
|
-
var style_to_object_1 = __importDefault(
|
|
57105
|
+
var style_to_object_1 = __importDefault(require$$0);
|
|
57083
57106
|
var utilities_1 = requireUtilities();
|
|
57084
57107
|
function StyleToJS(style2, options) {
|
|
57085
57108
|
var output = {};
|
|
@@ -77040,7 +77063,7 @@ function swift(hljs) {
|
|
|
77040
77063
|
3: "keyword"
|
|
77041
77064
|
}
|
|
77042
77065
|
};
|
|
77043
|
-
const
|
|
77066
|
+
const TYPE_DECLARATION2 = {
|
|
77044
77067
|
begin: [
|
|
77045
77068
|
/(struct|protocol|class|extension|enum|actor)/,
|
|
77046
77069
|
/\s+/,
|
|
@@ -77102,7 +77125,7 @@ function swift(hljs) {
|
|
|
77102
77125
|
INIT_SUBSCRIPT,
|
|
77103
77126
|
CLASS_FUNC_DECLARATION,
|
|
77104
77127
|
CLASS_VAR_DECLARATION,
|
|
77105
|
-
|
|
77128
|
+
TYPE_DECLARATION2,
|
|
77106
77129
|
OPERATOR_DECLARATION,
|
|
77107
77130
|
PRECEDENCEGROUP,
|
|
77108
77131
|
{
|
|
@@ -100932,7 +100955,7 @@ const GraphRendererInner = ({ configuration, nodes: propNodes, edges: propEdges,
|
|
|
100932
100955
|
}, 100);
|
|
100933
100956
|
return () => clearTimeout(timeoutId);
|
|
100934
100957
|
}, [baseNodesKey, baseEdgesKey, fitView2, fitViewDuration]);
|
|
100935
|
-
return jsxs(Fragment, { children: [jsxs(index$
|
|
100958
|
+
return jsxs(Fragment, { children: [jsxs(index$5, { nodes: xyflowNodes, edges: xyflowEdges, nodeTypes, edgeTypes, minZoom: 0.1, maxZoom: 4, defaultEdgeOptions: { type: "custom" }, onEdgeClick, onNodeClick, onNodeDrag: handleNodeDrag, onNodeDragStop: handleNodeDragStop, proOptions: { hideAttribution: true }, nodesDraggable: editable, elementsSelectable: true, nodesConnectable: editable, edgesReconnectable: editable, reconnectRadius: 25, elevateEdgesOnSelect: true, onNodesChange: handleNodesChange, onEdgesChange: handleEdgesChange, onConnect: handleConnect, onReconnectStart: handleReconnectStart, onReconnect: handleReconnect, onReconnectEnd: handleReconnectEnd, onPaneClick, onSelectionChange: handleSelectionChange, panOnDrag: false, panOnScroll: true, zoomOnScroll: false, zoomOnPinch: true, selectionOnDrag: true, selectionKeyCode: null, multiSelectionKeyCode: null, children: [showBackground && jsx(Background, { color: backgroundVariant === "dots" ? theme2.colors.border : theme2.colors.textMuted, gap: backgroundGap ?? (backgroundVariant === "dots" ? 16 : 50), size: backgroundVariant === "dots" ? 1 : 0.5, variant: backgroundVariant === "dots" ? BackgroundVariant.Dots : backgroundVariant === "lines" ? BackgroundVariant.Lines : BackgroundVariant.Cross }), showControls && jsx(Controls, { showZoom: true, showFitView: true, showInteractive: true }), showMinimap && jsx(MiniMap, { nodeColor: (node2) => {
|
|
100936
100959
|
var _a;
|
|
100937
100960
|
const nodeData = node2.data;
|
|
100938
100961
|
return ((_a = nodeData == null ? void 0 : nodeData.typeDefinition) == null ? void 0 : _a.color) || theme2.colors.secondary;
|
|
@@ -106207,7 +106230,7 @@ const browserExt = {
|
|
|
106207
106230
|
},
|
|
106208
106231
|
test: () => true,
|
|
106209
106232
|
load: async () => {
|
|
106210
|
-
await import("./browserAll-
|
|
106233
|
+
await import("./browserAll-CTmQ_vRe.js");
|
|
106211
106234
|
}
|
|
106212
106235
|
};
|
|
106213
106236
|
const webworkerExt = {
|
|
@@ -106218,7 +106241,7 @@ const webworkerExt = {
|
|
|
106218
106241
|
},
|
|
106219
106242
|
test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
|
|
106220
106243
|
load: async () => {
|
|
106221
|
-
await import("./webworkerAll-
|
|
106244
|
+
await import("./webworkerAll-CjJZV9Yl.js");
|
|
106222
106245
|
}
|
|
106223
106246
|
};
|
|
106224
106247
|
class ObservablePoint {
|
|
@@ -109035,15 +109058,15 @@ class TextureMatrix {
|
|
|
109035
109058
|
const uvs = tex.uvs;
|
|
109036
109059
|
this.mapCoord.set(uvs.x1 - uvs.x0, uvs.y1 - uvs.y0, uvs.x3 - uvs.x0, uvs.y3 - uvs.y0, uvs.x0, uvs.y0);
|
|
109037
109060
|
const orig = tex.orig;
|
|
109038
|
-
const
|
|
109039
|
-
if (
|
|
109061
|
+
const trim2 = tex.trim;
|
|
109062
|
+
if (trim2) {
|
|
109040
109063
|
tempMat.set(
|
|
109041
|
-
orig.width /
|
|
109064
|
+
orig.width / trim2.width,
|
|
109042
109065
|
0,
|
|
109043
109066
|
0,
|
|
109044
|
-
orig.height /
|
|
109045
|
-
-
|
|
109046
|
-
-
|
|
109067
|
+
orig.height / trim2.height,
|
|
109068
|
+
-trim2.x / trim2.width,
|
|
109069
|
+
-trim2.y / trim2.height
|
|
109047
109070
|
);
|
|
109048
109071
|
this.mapCoord.append(tempMat);
|
|
109049
109072
|
}
|
|
@@ -109070,7 +109093,7 @@ class Texture extends EventEmitter {
|
|
|
109070
109093
|
label,
|
|
109071
109094
|
frame: frame2,
|
|
109072
109095
|
orig,
|
|
109073
|
-
trim,
|
|
109096
|
+
trim: trim2,
|
|
109074
109097
|
defaultAnchor,
|
|
109075
109098
|
defaultBorders,
|
|
109076
109099
|
rotate,
|
|
@@ -109094,7 +109117,7 @@ class Texture extends EventEmitter {
|
|
|
109094
109117
|
this.frame.height = height;
|
|
109095
109118
|
}
|
|
109096
109119
|
this.orig = orig || this.frame;
|
|
109097
|
-
this.trim =
|
|
109120
|
+
this.trim = trim2;
|
|
109098
109121
|
this.rotate = rotate ?? 0;
|
|
109099
109122
|
this.defaultAnchor = defaultAnchor;
|
|
109100
109123
|
this.defaultBorders = defaultBorders;
|
|
@@ -109222,13 +109245,13 @@ Texture.WHITE = new Texture({
|
|
|
109222
109245
|
Texture.WHITE.destroy = NOOP;
|
|
109223
109246
|
function updateQuadBounds(bounds, anchor, texture) {
|
|
109224
109247
|
const { width, height } = texture.orig;
|
|
109225
|
-
const
|
|
109226
|
-
if (
|
|
109227
|
-
const sourceWidth =
|
|
109228
|
-
const sourceHeight =
|
|
109229
|
-
bounds.minX =
|
|
109248
|
+
const trim2 = texture.trim;
|
|
109249
|
+
if (trim2) {
|
|
109250
|
+
const sourceWidth = trim2.width;
|
|
109251
|
+
const sourceHeight = trim2.height;
|
|
109252
|
+
bounds.minX = trim2.x - anchor._x * width;
|
|
109230
109253
|
bounds.maxX = bounds.minX + sourceWidth;
|
|
109231
|
-
bounds.minY =
|
|
109254
|
+
bounds.minY = trim2.y - anchor._y * height;
|
|
109232
109255
|
bounds.maxY = bounds.minY + sourceHeight;
|
|
109233
109256
|
} else {
|
|
109234
109257
|
bounds.minX = -anchor._x * width;
|
|
@@ -116235,7 +116258,7 @@ const _Spritesheet = class _Spritesheet2 {
|
|
|
116235
116258
|
const rect = data.frame;
|
|
116236
116259
|
if (rect) {
|
|
116237
116260
|
let frame2 = null;
|
|
116238
|
-
let
|
|
116261
|
+
let trim2 = null;
|
|
116239
116262
|
const sourceSize = data.trimmed !== false && data.sourceSize ? data.sourceSize : data.frame;
|
|
116240
116263
|
const orig = new Rectangle(
|
|
116241
116264
|
0,
|
|
@@ -116259,7 +116282,7 @@ const _Spritesheet = class _Spritesheet2 {
|
|
|
116259
116282
|
);
|
|
116260
116283
|
}
|
|
116261
116284
|
if (data.trimmed !== false && data.spriteSourceSize) {
|
|
116262
|
-
|
|
116285
|
+
trim2 = new Rectangle(
|
|
116263
116286
|
Math.floor(data.spriteSourceSize.x) / this.resolution,
|
|
116264
116287
|
Math.floor(data.spriteSourceSize.y) / this.resolution,
|
|
116265
116288
|
Math.floor(rect.w) / this.resolution,
|
|
@@ -116270,7 +116293,7 @@ const _Spritesheet = class _Spritesheet2 {
|
|
|
116270
116293
|
source: this.textureSource,
|
|
116271
116294
|
frame: frame2,
|
|
116272
116295
|
orig,
|
|
116273
|
-
trim,
|
|
116296
|
+
trim: trim2,
|
|
116274
116297
|
rotate: data.rotated ? 2 : 0,
|
|
116275
116298
|
defaultAnchor: data.anchor,
|
|
116276
116299
|
defaultBorders: data.borders,
|
|
@@ -155284,4 +155307,4 @@ export {
|
|
|
155284
155307
|
RepoCardStatic as y,
|
|
155285
155308
|
renderSpriteToDataUrl as z
|
|
155286
155309
|
};
|
|
155287
|
-
//# sourceMappingURL=index-
|
|
155310
|
+
//# sourceMappingURL=index-D8MSY071.js.map
|