@likec4/diagram 1.52.0 → 1.54.0
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/LikeC4View.js +1 -1
- package/dist/_virtual/assign-f10db67b.cjs.js +3 -0
- package/dist/_virtual/log-30abbb83.cjs.js +3 -0
- package/dist/_virtual/raise-f051f097.cjs.js +3 -0
- package/dist/_virtual/store-cfe7da62.cjs.js +3 -0
- package/dist/_virtual/xstate-actions.cjs.js +1 -1
- package/dist/_virtual/xstate-guards.cjs.js +1 -1
- package/dist/_virtual/xstate-store-react.cjs.js +1 -1
- package/dist/adhoc-editor/EditorPanel.js +1 -1
- package/dist/adhoc-editor/LikeC4AdHocViewEditor.js +2 -0
- package/dist/adhoc-editor/components/Tree.js +1 -1
- package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
- package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
- package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
- package/dist/base-primitives/element/ElementActionButtons.js +1 -1
- package/dist/base-primitives/element/ElementDetailsButton.js +1 -1
- package/dist/components/ErrorFallback.js +1 -1
- package/dist/components/Link.js +2 -2
- package/dist/components/SearchControl.js +1 -1
- package/dist/context/IconRenderer.js +7 -7
- package/dist/editor/editorActor.actions.d.ts +142 -190
- package/dist/likec4diagram/custom/nodes/ElementActions.js +2 -2
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +2 -2
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +2 -2
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +4 -4
- package/dist/likec4diagram/relationship-popover/actor.d.ts +28 -130
- package/dist/likec4diagram/state/machine.actions.d.ts +1819 -2407
- package/dist/likec4diagram/state/machine.actions.layout.d.ts +472 -628
- package/dist/likec4diagram/state/machine.js +1 -1
- package/dist/likec4diagram/state/machine.setup.js +2 -2
- package/dist/likec4diagram/state/machine.state.initializing.d.ts +148 -196
- package/dist/likec4diagram/state/machine.state.navigating.js +2 -1
- package/dist/likec4diagram/state/machine.state.ready.d.ts +2921 -3807
- package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +413 -537
- package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +352 -413
- package/dist/likec4diagram/state/machine.state.ready.js +1 -1
- package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +91 -121
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +583 -775
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.js +1 -1
- package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -2
- package/dist/likec4diagram/useLayoutConstraints.js +7 -2
- package/dist/likec4diagram/xyflow-diagram/diagram-view.js +1 -2
- package/dist/navigationpanel/NavigationPanelDropdown.js +7 -7
- package/dist/navigationpanel/_common.js +1 -1
- package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +2 -2
- package/dist/navigationpanel/comparepanel/ComparePanelControls.js +1 -1
- package/dist/navigationpanel/controls/DetailsControls.js +2 -2
- package/dist/navigationpanel/controls/LayoutWarning.js +1 -1
- package/dist/navigationpanel/controls/NavigationButtons.js +2 -2
- package/dist/navigationpanel/controls/OpenSource.js +1 -1
- package/dist/navigationpanel/controls/SearchControl.js +1 -1
- package/dist/navigationpanel/controls/ToggleReadonly.js +2 -2
- package/dist/navigationpanel/dropdown/ProjectsMenu.js +1 -1
- package/dist/navigationpanel/editorpanel/CenterCamera.js +1 -1
- package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +1 -1
- package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +9 -9
- package/dist/navigationpanel/editorpanel/ToggleReadonly.js +1 -1
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +3 -3
- package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +2 -2
- package/dist/navigationpanel/walkthrough/DynamicViewControls.js +1 -1
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +31 -45
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/createReactComponent.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronLeft.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileText.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconSelector.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTransform.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js +1 -1
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js +1 -1
- package/dist/node_modules/.pnpm/{@xstate_store@3.14.0_react@19.2.4/node_modules/@xstate/store/dist/store-1b2fbb72.cjs.js → @xstate_store@3.17.1_react@19.2.4/node_modules/@xstate/store/dist/store-cfe7da62.cjs.js} +152 -133
- package/dist/node_modules/.pnpm/{@xstate_store@3.14.0_react@19.2.4 → @xstate_store@3.17.1_react@19.2.4}/node_modules/@xstate/store/react/dist/xstate-store-react.cjs.js +7 -2
- package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.30.0}/node_modules/xstate/actions/dist/xstate-actions.cjs.js +6 -6
- package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/assign-dea9f7c8.cjs.js → xstate@5.30.0/node_modules/xstate/dist/assign-f10db67b.cjs.js} +10 -10
- package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/log-ec8d4df4.cjs.js → xstate@5.30.0/node_modules/xstate/dist/log-30abbb83.cjs.js} +18 -18
- package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/raise-da5b247f.cjs.js → xstate@5.30.0/node_modules/xstate/dist/raise-f051f097.cjs.js} +240 -126
- package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.30.0}/node_modules/xstate/guards/dist/xstate-guards.cjs.js +2 -2
- package/dist/overlays/Overlays.js +2 -1
- package/dist/overlays/element-details/ElementDetailsCard.js +4 -4
- package/dist/overlays/element-details/MetadataValue.js +2 -2
- package/dist/overlays/element-details/TabPanelDeployments.js +3 -3
- package/dist/overlays/element-details/TabPanelRelationships.js +4 -3
- package/dist/overlays/element-details/TabPanelStructure.js +1 -1
- package/dist/overlays/relationship-details/RelationshipDetails.js +3 -3
- package/dist/overlays/relationship-details/SelectEdge.js +2 -2
- package/dist/overlays/relationship-details/custom/ElementActions.js +3 -3
- package/dist/overlays/relationships-browser/RelationshipsBrowser.js +6 -6
- package/dist/overlays/relationships-browser/SelectElement.js +2 -2
- package/dist/overlays/relationships-browser/custom/ElementActions.js +3 -3
- package/dist/projects-overview/actor.d.ts +15 -21
- package/dist/projects-overview/custom/nodeTypes.js +1 -1
- package/dist/search/components/ElementsColumn.js +1 -1
- package/dist/search/components/PickView.js +1 -1
- package/dist/search/components/SearchByTags.js +1 -1
- package/dist/search/components/SearchInput.js +1 -1
- package/dist/search/components/ViewsColum.js +2 -2
- package/dist/styles.css2.js +1 -1
- package/package.json +21 -21
- package/panda.buildinfo.json +2 -3
- package/styles-min.css +1 -1
- package/styles.css +1 -1
- package/dist/_virtual/assign-dea9f7c8.cjs.js +0 -3
- package/dist/_virtual/log-ec8d4df4.cjs.js +0 -3
- package/dist/_virtual/raise-da5b247f.cjs.js +0 -3
- package/dist/_virtual/store-1b2fbb72.cjs.js +0 -3
- /package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.30.0}/node_modules/xstate/dev/dist/xstate-dev.cjs.js +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
1
|
+
import { __exports as log30abbb83_cjs } from '../../../../../../_virtual/log-30abbb83.cjs.js';
|
|
2
|
+
import { __require as requireRaiseF051f097_cjs } from './raise-f051f097.cjs.js';
|
|
3
|
+
import { __require as requireAssignF10db67b_cjs } from './assign-f10db67b.cjs.js';
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var hasRequiredLog30abbb83_cjs;
|
|
6
6
|
|
|
7
|
-
function
|
|
8
|
-
if (
|
|
9
|
-
|
|
7
|
+
function requireLog30abbb83_cjs () {
|
|
8
|
+
if (hasRequiredLog30abbb83_cjs) return log30abbb83_cjs;
|
|
9
|
+
hasRequiredLog30abbb83_cjs = 1;
|
|
10
10
|
|
|
11
|
-
var guards_dist_xstateGuards = /*@__PURE__*/
|
|
12
|
-
var assign = /*@__PURE__*/
|
|
11
|
+
var guards_dist_xstateGuards = /*@__PURE__*/ requireRaiseF051f097_cjs();
|
|
12
|
+
var assign = /*@__PURE__*/ requireAssignF10db67b_cjs();
|
|
13
13
|
|
|
14
14
|
function resolveEmit(_, snapshot, args, actionParams, {
|
|
15
15
|
event: eventOrExpr
|
|
@@ -388,14 +388,14 @@ function requireLogEc8d4df4_cjs () {
|
|
|
388
388
|
return log;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
return
|
|
391
|
+
log30abbb83_cjs.SpecialTargets = SpecialTargets;
|
|
392
|
+
log30abbb83_cjs.emit = emit;
|
|
393
|
+
log30abbb83_cjs.enqueueActions = enqueueActions;
|
|
394
|
+
log30abbb83_cjs.forwardTo = forwardTo;
|
|
395
|
+
log30abbb83_cjs.log = log;
|
|
396
|
+
log30abbb83_cjs.sendParent = sendParent;
|
|
397
|
+
log30abbb83_cjs.sendTo = sendTo;
|
|
398
|
+
return log30abbb83_cjs;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
export {
|
|
401
|
+
export { requireLog30abbb83_cjs as __require };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { __exports as
|
|
1
|
+
import { __exports as raiseF051f097_cjs } from '../../../../../../_virtual/raise-f051f097.cjs.js';
|
|
2
2
|
import { __require as requireXstateDev_cjs } from '../dev/dist/xstate-dev.cjs.js';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var hasRequiredRaiseF051f097_cjs;
|
|
5
5
|
|
|
6
|
-
function
|
|
7
|
-
if (
|
|
8
|
-
|
|
6
|
+
function requireRaiseF051f097_cjs () {
|
|
7
|
+
if (hasRequiredRaiseF051f097_cjs) return raiseF051f097_cjs;
|
|
8
|
+
hasRequiredRaiseF051f097_cjs = 1;
|
|
9
9
|
|
|
10
10
|
var dev_dist_xstateDev = requireXstateDev_cjs();
|
|
11
11
|
|
|
@@ -292,6 +292,44 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
292
292
|
return [...new Set([...snapshot._nodes.flatMap(sn => sn.ownEvents)])];
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
+
/**
|
|
296
|
+
* Checks if an event type matches an event descriptor, supporting wildcards.
|
|
297
|
+
* Event descriptors can be:
|
|
298
|
+
*
|
|
299
|
+
* - Exact matches: "event.type"
|
|
300
|
+
* - Wildcard: "*"
|
|
301
|
+
* - Partial matches: "event.*"
|
|
302
|
+
*
|
|
303
|
+
* @param eventType - The actual event type string
|
|
304
|
+
* @param descriptor - The event descriptor to match against
|
|
305
|
+
* @returns True if the event type matches the descriptor
|
|
306
|
+
*/
|
|
307
|
+
function matchesEventDescriptor(eventType, descriptor) {
|
|
308
|
+
if (descriptor === eventType) {
|
|
309
|
+
return true;
|
|
310
|
+
}
|
|
311
|
+
if (descriptor === WILDCARD) {
|
|
312
|
+
return true;
|
|
313
|
+
}
|
|
314
|
+
if (!descriptor.endsWith('.*')) {
|
|
315
|
+
return false;
|
|
316
|
+
}
|
|
317
|
+
const partialEventTokens = descriptor.split('.');
|
|
318
|
+
const eventTokens = eventType.split('.');
|
|
319
|
+
for (let tokenIndex = 0; tokenIndex < partialEventTokens.length; tokenIndex++) {
|
|
320
|
+
const partialEventToken = partialEventTokens[tokenIndex];
|
|
321
|
+
const eventToken = eventTokens[tokenIndex];
|
|
322
|
+
if (partialEventToken === '*') {
|
|
323
|
+
const isLastToken = tokenIndex === partialEventTokens.length - 1;
|
|
324
|
+
return isLastToken;
|
|
325
|
+
}
|
|
326
|
+
if (partialEventToken !== eventToken) {
|
|
327
|
+
return false;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
return true;
|
|
331
|
+
}
|
|
332
|
+
|
|
295
333
|
function createScheduledEventId(actorRef, id) {
|
|
296
334
|
return `${actorRef.sessionId}.${id}`;
|
|
297
335
|
}
|
|
@@ -797,6 +835,23 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
797
835
|
}
|
|
798
836
|
};
|
|
799
837
|
}
|
|
838
|
+
select(selector, equalityFn = Object.is) {
|
|
839
|
+
return {
|
|
840
|
+
subscribe: observerOrFn => {
|
|
841
|
+
const observer = toObserver(observerOrFn);
|
|
842
|
+
const snapshot = this.getSnapshot();
|
|
843
|
+
let previousSelected = selector(snapshot);
|
|
844
|
+
return this.subscribe(snapshot => {
|
|
845
|
+
const nextSelected = selector(snapshot);
|
|
846
|
+
if (!equalityFn(previousSelected, nextSelected)) {
|
|
847
|
+
previousSelected = nextSelected;
|
|
848
|
+
observer.next?.(nextSelected);
|
|
849
|
+
}
|
|
850
|
+
});
|
|
851
|
+
},
|
|
852
|
+
get: () => selector(this.getSnapshot())
|
|
853
|
+
};
|
|
854
|
+
}
|
|
800
855
|
|
|
801
856
|
/** Starts the Actor from the initial state */
|
|
802
857
|
start() {
|
|
@@ -930,12 +985,14 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
930
985
|
}
|
|
931
986
|
}
|
|
932
987
|
this.observers.clear();
|
|
988
|
+
this.eventListeners.clear();
|
|
933
989
|
}
|
|
934
990
|
_reportError(err) {
|
|
935
991
|
if (!this.observers.size) {
|
|
936
992
|
if (!this._parent) {
|
|
937
993
|
reportUnhandledError(err);
|
|
938
994
|
}
|
|
995
|
+
this.eventListeners.clear();
|
|
939
996
|
return;
|
|
940
997
|
}
|
|
941
998
|
let reportError = false;
|
|
@@ -949,6 +1006,7 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
949
1006
|
}
|
|
950
1007
|
}
|
|
951
1008
|
this.observers.clear();
|
|
1009
|
+
this.eventListeners.clear();
|
|
952
1010
|
if (reportError) {
|
|
953
1011
|
reportUnhandledError(err);
|
|
954
1012
|
}
|
|
@@ -1255,6 +1313,16 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1255
1313
|
children
|
|
1256
1314
|
}), resolvedActorRef, undefined];
|
|
1257
1315
|
}
|
|
1316
|
+
function unregisterRecursively(actorScope, actorRef) {
|
|
1317
|
+
// unregister children first (depth-first)
|
|
1318
|
+
const snapshot = actorRef.getSnapshot();
|
|
1319
|
+
if (snapshot && 'children' in snapshot) {
|
|
1320
|
+
for (const child of Object.values(snapshot.children)) {
|
|
1321
|
+
unregisterRecursively(actorScope, child);
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
actorScope.system._unregister(actorRef);
|
|
1325
|
+
}
|
|
1258
1326
|
function executeStop(actorScope, actorRef) {
|
|
1259
1327
|
if (!actorRef) {
|
|
1260
1328
|
return;
|
|
@@ -1263,7 +1331,8 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1263
1331
|
// we need to eagerly unregister it here so a new actor with the same systemId can be registered immediately
|
|
1264
1332
|
// since we defer actual stopping of the actor but we don't defer actor creations (and we can't do that)
|
|
1265
1333
|
// this could throw on `systemId` collision, for example, when dealing with reentering transitions
|
|
1266
|
-
|
|
1334
|
+
// we also need to recursively unregister all nested children's systemIds
|
|
1335
|
+
unregisterRecursively(actorScope, actorRef);
|
|
1267
1336
|
|
|
1268
1337
|
// this allows us to prevent an actor from being started if it gets stopped within the same macrostep
|
|
1269
1338
|
// this can happen, for example, when the invoking state is being exited immediately by an always transition
|
|
@@ -1490,7 +1559,9 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1490
1559
|
);
|
|
1491
1560
|
}
|
|
1492
1561
|
|
|
1493
|
-
|
|
1562
|
+
function isAtomicStateNode(stateNode) {
|
|
1563
|
+
return stateNode.type === 'atomic' || stateNode.type === 'final';
|
|
1564
|
+
}
|
|
1494
1565
|
function getChildren(stateNode) {
|
|
1495
1566
|
return Object.values(stateNode.states).filter(sn => sn.type !== 'history');
|
|
1496
1567
|
}
|
|
@@ -1595,30 +1666,7 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1595
1666
|
}
|
|
1596
1667
|
const isStateId = str => str[0] === STATE_IDENTIFIER;
|
|
1597
1668
|
function getCandidates(stateNode, receivedEventType) {
|
|
1598
|
-
const candidates = stateNode.transitions.get(receivedEventType) || [...stateNode.transitions.keys()].filter(eventDescriptor =>
|
|
1599
|
-
// check if transition is a wildcard transition,
|
|
1600
|
-
// which matches any non-transient events
|
|
1601
|
-
if (eventDescriptor === WILDCARD) {
|
|
1602
|
-
return true;
|
|
1603
|
-
}
|
|
1604
|
-
if (!eventDescriptor.endsWith('.*')) {
|
|
1605
|
-
return false;
|
|
1606
|
-
}
|
|
1607
|
-
const partialEventTokens = eventDescriptor.split('.');
|
|
1608
|
-
const eventTokens = receivedEventType.split('.');
|
|
1609
|
-
for (let tokenIndex = 0; tokenIndex < partialEventTokens.length; tokenIndex++) {
|
|
1610
|
-
const partialEventToken = partialEventTokens[tokenIndex];
|
|
1611
|
-
const eventToken = eventTokens[tokenIndex];
|
|
1612
|
-
if (partialEventToken === '*') {
|
|
1613
|
-
const isLastToken = tokenIndex === partialEventTokens.length - 1;
|
|
1614
|
-
return isLastToken;
|
|
1615
|
-
}
|
|
1616
|
-
if (partialEventToken !== eventToken) {
|
|
1617
|
-
return false;
|
|
1618
|
-
}
|
|
1619
|
-
}
|
|
1620
|
-
return true;
|
|
1621
|
-
}).sort((a, b) => b.length - a.length).flatMap(key => stateNode.transitions.get(key));
|
|
1669
|
+
const candidates = stateNode.transitions.get(receivedEventType) || [...stateNode.transitions.keys()].filter(eventDescriptor => matchesEventDescriptor(receivedEventType, eventDescriptor)).sort((a, b) => b.length - a.length).flatMap(key => stateNode.transitions.get(key));
|
|
1622
1670
|
return candidates;
|
|
1623
1671
|
}
|
|
1624
1672
|
|
|
@@ -1720,6 +1768,47 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1720
1768
|
}
|
|
1721
1769
|
return transitions;
|
|
1722
1770
|
}
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Collects route transitions from all descendants with explicit IDs. Called
|
|
1774
|
+
* once on the root node to avoid O(N²) repeated traversals.
|
|
1775
|
+
*/
|
|
1776
|
+
function formatRouteTransitions(rootStateNode) {
|
|
1777
|
+
const routeTransitions = [];
|
|
1778
|
+
const collectRoutes = states => {
|
|
1779
|
+
Object.values(states).forEach(sn => {
|
|
1780
|
+
if (sn.config.route && sn.config.id) {
|
|
1781
|
+
const routeId = sn.config.id;
|
|
1782
|
+
const userGuard = sn.config.route.guard;
|
|
1783
|
+
const routeGuard = (args, params) => {
|
|
1784
|
+
if (args.event.to !== `#${routeId}`) {
|
|
1785
|
+
return false;
|
|
1786
|
+
}
|
|
1787
|
+
if (!userGuard) {
|
|
1788
|
+
return true;
|
|
1789
|
+
}
|
|
1790
|
+
if (typeof userGuard === 'function') {
|
|
1791
|
+
return userGuard(args, params);
|
|
1792
|
+
}
|
|
1793
|
+
return true;
|
|
1794
|
+
};
|
|
1795
|
+
const transition = {
|
|
1796
|
+
...sn.config.route,
|
|
1797
|
+
guard: routeGuard,
|
|
1798
|
+
target: `#${routeId}`
|
|
1799
|
+
};
|
|
1800
|
+
routeTransitions.push(formatTransition(rootStateNode, 'xstate.route', transition));
|
|
1801
|
+
}
|
|
1802
|
+
if (sn.states) {
|
|
1803
|
+
collectRoutes(sn.states);
|
|
1804
|
+
}
|
|
1805
|
+
});
|
|
1806
|
+
};
|
|
1807
|
+
collectRoutes(rootStateNode.states);
|
|
1808
|
+
if (routeTransitions.length > 0) {
|
|
1809
|
+
rootStateNode.transitions.set('xstate.route', routeTransitions);
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1723
1812
|
function formatInitialTransition(stateNode, _target) {
|
|
1724
1813
|
const resolvedTarget = typeof _target === 'string' ? stateNode.states[_target] : _target ? stateNode.states[_target.target] : undefined;
|
|
1725
1814
|
if (!resolvedTarget && _target) {
|
|
@@ -2051,45 +2140,65 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2051
2140
|
}
|
|
2052
2141
|
return true;
|
|
2053
2142
|
}
|
|
2143
|
+
function initialMicrostep(root, preInitialState, actorScope, initEvent, internalQueue) {
|
|
2144
|
+
return microstep([{
|
|
2145
|
+
target: [...getInitialStateNodes(root)],
|
|
2146
|
+
source: root,
|
|
2147
|
+
reenter: true,
|
|
2148
|
+
actions: [],
|
|
2149
|
+
eventType: null,
|
|
2150
|
+
toJSON: null
|
|
2151
|
+
}], preInitialState, actorScope, initEvent, true, internalQueue);
|
|
2152
|
+
}
|
|
2054
2153
|
|
|
2055
2154
|
/** https://www.w3.org/TR/scxml/#microstepProcedure */
|
|
2056
2155
|
function microstep(transitions, currentSnapshot, actorScope, event, isInitial, internalQueue) {
|
|
2156
|
+
const actions = [];
|
|
2057
2157
|
if (!transitions.length) {
|
|
2058
|
-
return currentSnapshot;
|
|
2158
|
+
return [currentSnapshot, actions];
|
|
2059
2159
|
}
|
|
2060
|
-
const
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2160
|
+
const originalExecutor = actorScope.actionExecutor;
|
|
2161
|
+
actorScope.actionExecutor = action => {
|
|
2162
|
+
actions.push(action);
|
|
2163
|
+
originalExecutor(action);
|
|
2164
|
+
};
|
|
2165
|
+
try {
|
|
2166
|
+
const mutStateNodeSet = new Set(currentSnapshot._nodes);
|
|
2167
|
+
let historyValue = currentSnapshot.historyValue;
|
|
2168
|
+
const filteredTransitions = removeConflictingTransitions(transitions, mutStateNodeSet, historyValue);
|
|
2169
|
+
let nextState = currentSnapshot;
|
|
2064
2170
|
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2171
|
+
// Exit states
|
|
2172
|
+
if (!isInitial) {
|
|
2173
|
+
[nextState, historyValue] = exitStates(nextState, event, actorScope, filteredTransitions, mutStateNodeSet, historyValue, internalQueue, actorScope.actionExecutor);
|
|
2174
|
+
}
|
|
2069
2175
|
|
|
2070
|
-
|
|
2071
|
-
|
|
2176
|
+
// Execute transition content
|
|
2177
|
+
nextState = resolveActionsAndContext(nextState, event, actorScope, filteredTransitions.flatMap(t => t.actions), internalQueue, undefined);
|
|
2072
2178
|
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2179
|
+
// Enter states
|
|
2180
|
+
nextState = enterStates(nextState, event, actorScope, filteredTransitions, mutStateNodeSet, internalQueue, historyValue, isInitial);
|
|
2181
|
+
const nextStateNodes = [...mutStateNodeSet];
|
|
2182
|
+
if (nextState.status === 'done') {
|
|
2183
|
+
nextState = resolveActionsAndContext(nextState, event, actorScope, nextStateNodes.sort((a, b) => b.order - a.order).flatMap(state => state.exit), internalQueue, undefined);
|
|
2184
|
+
}
|
|
2079
2185
|
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2186
|
+
// eslint-disable-next-line no-useless-catch
|
|
2187
|
+
try {
|
|
2188
|
+
if (historyValue === currentSnapshot.historyValue && areStateNodeCollectionsEqual(currentSnapshot._nodes, mutStateNodeSet)) {
|
|
2189
|
+
return [nextState, actions];
|
|
2190
|
+
}
|
|
2191
|
+
return [cloneMachineSnapshot(nextState, {
|
|
2192
|
+
_nodes: nextStateNodes,
|
|
2193
|
+
historyValue
|
|
2194
|
+
}), actions];
|
|
2195
|
+
} catch (e) {
|
|
2196
|
+
// TODO: Refactor this once proper error handling is implemented.
|
|
2197
|
+
// See https://github.com/statelyai/rfcs/pull/4
|
|
2198
|
+
throw e;
|
|
2084
2199
|
}
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
historyValue
|
|
2088
|
-
});
|
|
2089
|
-
} catch (e) {
|
|
2090
|
-
// TODO: Refactor this once proper error handling is implemented.
|
|
2091
|
-
// See https://github.com/statelyai/rfcs/pull/4
|
|
2092
|
-
throw e;
|
|
2200
|
+
} finally {
|
|
2201
|
+
actorScope.actionExecutor = originalExecutor;
|
|
2093
2202
|
}
|
|
2094
2203
|
}
|
|
2095
2204
|
function getMachineOutput(snapshot, event, actorScope, rootNode, rootCompletionNode) {
|
|
@@ -2346,16 +2455,16 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2346
2455
|
}
|
|
2347
2456
|
function macrostep(snapshot, event, actorScope, internalQueue) {
|
|
2348
2457
|
let nextSnapshot = snapshot;
|
|
2349
|
-
const
|
|
2350
|
-
function
|
|
2458
|
+
const microsteps = [];
|
|
2459
|
+
function addMicrostep(step, event, transitions) {
|
|
2351
2460
|
actorScope.system._sendInspectionEvent({
|
|
2352
2461
|
type: '@xstate.microstep',
|
|
2353
2462
|
actorRef: actorScope.self,
|
|
2354
2463
|
event,
|
|
2355
|
-
snapshot:
|
|
2464
|
+
snapshot: step[0],
|
|
2356
2465
|
_transitions: transitions
|
|
2357
2466
|
});
|
|
2358
|
-
|
|
2467
|
+
microsteps.push(step);
|
|
2359
2468
|
}
|
|
2360
2469
|
|
|
2361
2470
|
// Handle stop event
|
|
@@ -2363,10 +2472,10 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2363
2472
|
nextSnapshot = cloneMachineSnapshot(stopChildren(nextSnapshot, event, actorScope), {
|
|
2364
2473
|
status: 'stopped'
|
|
2365
2474
|
});
|
|
2366
|
-
|
|
2475
|
+
addMicrostep([nextSnapshot, []], event, []);
|
|
2367
2476
|
return {
|
|
2368
2477
|
snapshot: nextSnapshot,
|
|
2369
|
-
|
|
2478
|
+
microsteps
|
|
2370
2479
|
};
|
|
2371
2480
|
}
|
|
2372
2481
|
let nextEvent = event;
|
|
@@ -2385,16 +2494,17 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2385
2494
|
status: 'error',
|
|
2386
2495
|
error: currentEvent.error
|
|
2387
2496
|
});
|
|
2388
|
-
|
|
2497
|
+
addMicrostep([nextSnapshot, []], currentEvent, []);
|
|
2389
2498
|
return {
|
|
2390
2499
|
snapshot: nextSnapshot,
|
|
2391
|
-
|
|
2500
|
+
microsteps
|
|
2392
2501
|
};
|
|
2393
2502
|
}
|
|
2394
|
-
|
|
2503
|
+
const step = microstep(transitions, snapshot, actorScope, nextEvent, false,
|
|
2395
2504
|
// isInitial
|
|
2396
2505
|
internalQueue);
|
|
2397
|
-
|
|
2506
|
+
nextSnapshot = step[0];
|
|
2507
|
+
addMicrostep(step, currentEvent, transitions);
|
|
2398
2508
|
}
|
|
2399
2509
|
let shouldSelectEventlessTransitions = true;
|
|
2400
2510
|
while (nextSnapshot.status === 'active') {
|
|
@@ -2410,16 +2520,17 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2410
2520
|
nextEvent = internalQueue.shift();
|
|
2411
2521
|
enabledTransitions = selectTransitions(nextEvent, nextSnapshot);
|
|
2412
2522
|
}
|
|
2413
|
-
|
|
2523
|
+
const step = microstep(enabledTransitions, nextSnapshot, actorScope, nextEvent, false, internalQueue);
|
|
2524
|
+
nextSnapshot = step[0];
|
|
2414
2525
|
shouldSelectEventlessTransitions = nextSnapshot !== previousState;
|
|
2415
|
-
|
|
2526
|
+
addMicrostep(step, nextEvent, enabledTransitions);
|
|
2416
2527
|
}
|
|
2417
2528
|
if (nextSnapshot.status !== 'active') {
|
|
2418
2529
|
stopChildren(nextSnapshot, nextEvent, actorScope);
|
|
2419
2530
|
}
|
|
2420
2531
|
return {
|
|
2421
2532
|
snapshot: nextSnapshot,
|
|
2422
|
-
|
|
2533
|
+
microsteps
|
|
2423
2534
|
};
|
|
2424
2535
|
}
|
|
2425
2536
|
function stopChildren(nextState, event, actorScope) {
|
|
@@ -2659,58 +2770,61 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2659
2770
|
return raise;
|
|
2660
2771
|
}
|
|
2661
2772
|
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2773
|
+
raiseF051f097_cjs.$$ACTOR_TYPE = $$ACTOR_TYPE;
|
|
2774
|
+
raiseF051f097_cjs.Actor = Actor;
|
|
2775
|
+
raiseF051f097_cjs.NULL_EVENT = NULL_EVENT;
|
|
2776
|
+
raiseF051f097_cjs.ProcessingStatus = ProcessingStatus;
|
|
2777
|
+
raiseF051f097_cjs.STATE_DELIMITER = STATE_DELIMITER;
|
|
2778
|
+
raiseF051f097_cjs.XSTATE_ERROR = XSTATE_ERROR;
|
|
2779
|
+
raiseF051f097_cjs.XSTATE_STOP = XSTATE_STOP;
|
|
2780
|
+
raiseF051f097_cjs.and = and;
|
|
2781
|
+
raiseF051f097_cjs.cancel = cancel;
|
|
2782
|
+
raiseF051f097_cjs.cloneMachineSnapshot = cloneMachineSnapshot;
|
|
2783
|
+
raiseF051f097_cjs.createActor = createActor;
|
|
2784
|
+
raiseF051f097_cjs.createErrorActorEvent = createErrorActorEvent;
|
|
2785
|
+
raiseF051f097_cjs.createInitEvent = createInitEvent;
|
|
2786
|
+
raiseF051f097_cjs.createInvokeId = createInvokeId;
|
|
2787
|
+
raiseF051f097_cjs.createMachineSnapshot = createMachineSnapshot;
|
|
2788
|
+
raiseF051f097_cjs.evaluateGuard = evaluateGuard;
|
|
2789
|
+
raiseF051f097_cjs.formatInitialTransition = formatInitialTransition;
|
|
2790
|
+
raiseF051f097_cjs.formatRouteTransitions = formatRouteTransitions;
|
|
2791
|
+
raiseF051f097_cjs.formatTransition = formatTransition;
|
|
2792
|
+
raiseF051f097_cjs.formatTransitions = formatTransitions;
|
|
2793
|
+
raiseF051f097_cjs.getAllOwnEventDescriptors = getAllOwnEventDescriptors;
|
|
2794
|
+
raiseF051f097_cjs.getAllStateNodes = getAllStateNodes;
|
|
2795
|
+
raiseF051f097_cjs.getCandidates = getCandidates;
|
|
2796
|
+
raiseF051f097_cjs.getDelayedTransitions = getDelayedTransitions;
|
|
2797
|
+
raiseF051f097_cjs.getPersistedSnapshot = getPersistedSnapshot;
|
|
2798
|
+
raiseF051f097_cjs.getProperAncestors = getProperAncestors;
|
|
2799
|
+
raiseF051f097_cjs.getStateNodeByPath = getStateNodeByPath;
|
|
2800
|
+
raiseF051f097_cjs.getStateNodes = getStateNodes;
|
|
2801
|
+
raiseF051f097_cjs.initialMicrostep = initialMicrostep;
|
|
2802
|
+
raiseF051f097_cjs.interpret = interpret;
|
|
2803
|
+
raiseF051f097_cjs.isAtomicStateNode = isAtomicStateNode;
|
|
2804
|
+
raiseF051f097_cjs.isInFinalState = isInFinalState;
|
|
2805
|
+
raiseF051f097_cjs.isMachineSnapshot = isMachineSnapshot;
|
|
2806
|
+
raiseF051f097_cjs.isStateId = isStateId;
|
|
2807
|
+
raiseF051f097_cjs.macrostep = macrostep;
|
|
2808
|
+
raiseF051f097_cjs.mapValues = mapValues;
|
|
2809
|
+
raiseF051f097_cjs.matchesEventDescriptor = matchesEventDescriptor;
|
|
2810
|
+
raiseF051f097_cjs.matchesState = matchesState;
|
|
2811
|
+
raiseF051f097_cjs.not = not;
|
|
2812
|
+
raiseF051f097_cjs.or = or;
|
|
2813
|
+
raiseF051f097_cjs.pathToStateValue = pathToStateValue;
|
|
2814
|
+
raiseF051f097_cjs.raise = raise;
|
|
2815
|
+
raiseF051f097_cjs.resolveActionsAndContext = resolveActionsAndContext;
|
|
2816
|
+
raiseF051f097_cjs.resolveReferencedActor = resolveReferencedActor;
|
|
2817
|
+
raiseF051f097_cjs.resolveStateValue = resolveStateValue;
|
|
2818
|
+
raiseF051f097_cjs.spawnChild = spawnChild;
|
|
2819
|
+
raiseF051f097_cjs.stateIn = stateIn;
|
|
2820
|
+
raiseF051f097_cjs.stop = stop;
|
|
2821
|
+
raiseF051f097_cjs.stopChild = stopChild;
|
|
2822
|
+
raiseF051f097_cjs.toArray = toArray;
|
|
2823
|
+
raiseF051f097_cjs.toObserver = toObserver;
|
|
2824
|
+
raiseF051f097_cjs.toStatePath = toStatePath;
|
|
2825
|
+
raiseF051f097_cjs.toTransitionConfigArray = toTransitionConfigArray;
|
|
2826
|
+
raiseF051f097_cjs.transitionNode = transitionNode;
|
|
2827
|
+
return raiseF051f097_cjs;
|
|
2714
2828
|
}
|
|
2715
2829
|
|
|
2716
|
-
export {
|
|
2830
|
+
export { requireRaiseF051f097_cjs as __require };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __exports as xstateGuards_cjs } from '../../../../../../../_virtual/xstate-guards.cjs2.js';
|
|
2
|
-
import { __require as
|
|
2
|
+
import { __require as requireRaiseF051f097_cjs } from '../../dist/raise-f051f097.cjs.js';
|
|
3
3
|
import { __require as requireXstateDev_cjs } from '../../dev/dist/xstate-dev.cjs.js';
|
|
4
4
|
|
|
5
5
|
var hasRequiredXstateGuards_cjs;
|
|
@@ -10,7 +10,7 @@ function requireXstateGuards_cjs () {
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(xstateGuards_cjs, '__esModule', { value: true });
|
|
12
12
|
|
|
13
|
-
var guards_dist_xstateGuards = /*@__PURE__*/
|
|
13
|
+
var guards_dist_xstateGuards = /*@__PURE__*/ requireRaiseF051f097_cjs();
|
|
14
14
|
requireXstateDev_cjs();
|
|
15
15
|
|
|
16
16
|
|
|
@@ -10,8 +10,9 @@ import { ElementDetails } from './element-details/ElementDetails.js';
|
|
|
10
10
|
import { Overlay } from './overlay/Overlay.js';
|
|
11
11
|
import { RelationshipDetails } from './relationship-details/RelationshipDetails.js';
|
|
12
12
|
import { RelationshipsBrowser } from './relationships-browser/RelationshipsBrowser.js';
|
|
13
|
-
import { DiagramFeatures } from '../context/DiagramFeatures.js';
|
|
14
13
|
import { useDiagram } from '../hooks/safeContext.js';
|
|
14
|
+
import 'fast-equals';
|
|
15
|
+
import { DiagramFeatures } from '../context/DiagramFeatures.js';
|
|
15
16
|
|
|
16
17
|
const selectOverlays = (s) => {
|
|
17
18
|
return s.context.overlays.map((overlay) => {
|
|
@@ -22,12 +22,12 @@ import { TabPanelStructure } from './TabPanelStructure.js';
|
|
|
22
22
|
import { useUpdateEffect } from '../../hooks/useUpdateEffect.js';
|
|
23
23
|
import { IconRenderer } from '../../context/IconRenderer.js';
|
|
24
24
|
import { stopPropagation } from '../../utils/xyflow.js';
|
|
25
|
-
import IconExternalLink from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
25
|
+
import IconExternalLink from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js';
|
|
26
26
|
import { IfEnabled, DiagramFeatures } from '../../context/DiagramFeatures.js';
|
|
27
|
-
import IconFileSymlink from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
28
|
-
import IconZoomScan from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
27
|
+
import IconFileSymlink from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js';
|
|
28
|
+
import IconZoomScan from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js';
|
|
29
29
|
import { Markdown } from '../../base-primitives/Markdown.js';
|
|
30
|
-
import IconStack2 from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
30
|
+
import IconStack2 from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js';
|
|
31
31
|
|
|
32
32
|
const Divider = Divider$1.withProps({
|
|
33
33
|
mb: 8,
|
|
@@ -2,8 +2,8 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { css } from '@likec4/styles/css';
|
|
3
3
|
import { UnstyledButton, Flex, Text, Box, Stack, Tooltip } from '@mantine/core';
|
|
4
4
|
import { useState, useRef, useEffect } from 'react';
|
|
5
|
-
import IconChevronDown from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
6
|
-
import IconChevronRight from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
5
|
+
import IconChevronDown from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js';
|
|
6
|
+
import IconChevronRight from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js';
|
|
7
7
|
|
|
8
8
|
function MetadataProvider({ children }) {
|
|
9
9
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
@@ -6,10 +6,10 @@ import 'fast-equals';
|
|
|
6
6
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
7
7
|
import { useLikeC4Model } from '../../hooks/useLikeC4Model.js';
|
|
8
8
|
import { treeNodeLabel, treeNode, nodeLabel, instanceLabel } from './TabPanelDeployments.css.js';
|
|
9
|
-
import IconInfoCircle from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
10
|
-
import IconTarget from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
9
|
+
import IconInfoCircle from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js';
|
|
10
|
+
import IconTarget from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js';
|
|
11
11
|
import { stopPropagation } from '../../utils/xyflow.js';
|
|
12
|
-
import IconZoomScan from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
12
|
+
import IconZoomScan from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js';
|
|
13
13
|
|
|
14
14
|
const DeploymentNodeRenderer = ({
|
|
15
15
|
node
|
|
@@ -7,10 +7,11 @@ import { unique } from 'remeda';
|
|
|
7
7
|
import { RelationshipsBrowser } from '../relationships-browser/RelationshipsBrowser.js';
|
|
8
8
|
import { useElementDetailsActorRef } from './actorContext.js';
|
|
9
9
|
import { fqn, xyflow, relationshipStat } from './TabPanelRelationships.css.js';
|
|
10
|
-
import IconArrowRight from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js';
|
|
11
|
-
import IconInfoCircle from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js';
|
|
12
|
-
import IconExternalLink from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js';
|
|
13
10
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
11
|
+
import 'fast-equals';
|
|
12
|
+
import IconArrowRight from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js';
|
|
13
|
+
import IconInfoCircle from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js';
|
|
14
|
+
import IconExternalLink from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js';
|
|
14
15
|
|
|
15
16
|
const Tooltip = Tooltip$1.withProps({
|
|
16
17
|
color: "dark",
|