@likec4/diagram 1.52.0 → 1.53.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-6b5249c3.cjs.js +3 -0
- package/dist/_virtual/log-b8ad8428.cjs.js +3 -0
- package/dist/_virtual/raise-f23ccfcb.cjs.js +3 -0
- package/dist/_virtual/store-803b8f7d.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/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.setup.js +2 -2
- package/dist/likec4diagram/state/machine.state.initializing.d.ts +148 -196
- 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.printing.d.ts +91 -121
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +583 -775
- package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -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.0_react@19.2.4/node_modules/@xstate/store/dist/store-803b8f7d.cjs.js} +151 -132
- package/dist/node_modules/.pnpm/{@xstate_store@3.14.0_react@19.2.4 → @xstate_store@3.17.0_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.28.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.28.0/node_modules/xstate/dist/assign-6b5249c3.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.28.0/node_modules/xstate/dist/log-b8ad8428.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.28.0/node_modules/xstate/dist/raise-f23ccfcb.cjs.js} +223 -126
- package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.28.0}/node_modules/xstate/guards/dist/xstate-guards.cjs.js +2 -2
- 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 +3 -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 +20 -20
- 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.28.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 logB8ad8428_cjs } from '../../../../../../_virtual/log-b8ad8428.cjs.js';
|
|
2
|
+
import { __require as requireRaiseF23ccfcb_cjs } from './raise-f23ccfcb.cjs.js';
|
|
3
|
+
import { __require as requireAssign6b5249c3_cjs } from './assign-6b5249c3.cjs.js';
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var hasRequiredLogB8ad8428_cjs;
|
|
6
6
|
|
|
7
|
-
function
|
|
8
|
-
if (
|
|
9
|
-
|
|
7
|
+
function requireLogB8ad8428_cjs () {
|
|
8
|
+
if (hasRequiredLogB8ad8428_cjs) return logB8ad8428_cjs;
|
|
9
|
+
hasRequiredLogB8ad8428_cjs = 1;
|
|
10
10
|
|
|
11
|
-
var guards_dist_xstateGuards = /*@__PURE__*/
|
|
12
|
-
var assign = /*@__PURE__*/
|
|
11
|
+
var guards_dist_xstateGuards = /*@__PURE__*/ requireRaiseF23ccfcb_cjs();
|
|
12
|
+
var assign = /*@__PURE__*/ requireAssign6b5249c3_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
|
+
logB8ad8428_cjs.SpecialTargets = SpecialTargets;
|
|
392
|
+
logB8ad8428_cjs.emit = emit;
|
|
393
|
+
logB8ad8428_cjs.enqueueActions = enqueueActions;
|
|
394
|
+
logB8ad8428_cjs.forwardTo = forwardTo;
|
|
395
|
+
logB8ad8428_cjs.log = log;
|
|
396
|
+
logB8ad8428_cjs.sendParent = sendParent;
|
|
397
|
+
logB8ad8428_cjs.sendTo = sendTo;
|
|
398
|
+
return logB8ad8428_cjs;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
export {
|
|
401
|
+
export { requireLogB8ad8428_cjs as __require };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { __exports as
|
|
1
|
+
import { __exports as raiseF23ccfcb_cjs } from '../../../../../../_virtual/raise-f23ccfcb.cjs.js';
|
|
2
2
|
import { __require as requireXstateDev_cjs } from '../dev/dist/xstate-dev.cjs.js';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var hasRequiredRaiseF23ccfcb_cjs;
|
|
5
5
|
|
|
6
|
-
function
|
|
7
|
-
if (
|
|
8
|
-
|
|
6
|
+
function requireRaiseF23ccfcb_cjs () {
|
|
7
|
+
if (hasRequiredRaiseF23ccfcb_cjs) return raiseF23ccfcb_cjs;
|
|
8
|
+
hasRequiredRaiseF23ccfcb_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
|
}
|
|
@@ -930,12 +968,14 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
930
968
|
}
|
|
931
969
|
}
|
|
932
970
|
this.observers.clear();
|
|
971
|
+
this.eventListeners.clear();
|
|
933
972
|
}
|
|
934
973
|
_reportError(err) {
|
|
935
974
|
if (!this.observers.size) {
|
|
936
975
|
if (!this._parent) {
|
|
937
976
|
reportUnhandledError(err);
|
|
938
977
|
}
|
|
978
|
+
this.eventListeners.clear();
|
|
939
979
|
return;
|
|
940
980
|
}
|
|
941
981
|
let reportError = false;
|
|
@@ -949,6 +989,7 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
949
989
|
}
|
|
950
990
|
}
|
|
951
991
|
this.observers.clear();
|
|
992
|
+
this.eventListeners.clear();
|
|
952
993
|
if (reportError) {
|
|
953
994
|
reportUnhandledError(err);
|
|
954
995
|
}
|
|
@@ -1255,6 +1296,16 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1255
1296
|
children
|
|
1256
1297
|
}), resolvedActorRef, undefined];
|
|
1257
1298
|
}
|
|
1299
|
+
function unregisterRecursively(actorScope, actorRef) {
|
|
1300
|
+
// unregister children first (depth-first)
|
|
1301
|
+
const snapshot = actorRef.getSnapshot();
|
|
1302
|
+
if (snapshot && 'children' in snapshot) {
|
|
1303
|
+
for (const child of Object.values(snapshot.children)) {
|
|
1304
|
+
unregisterRecursively(actorScope, child);
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
actorScope.system._unregister(actorRef);
|
|
1308
|
+
}
|
|
1258
1309
|
function executeStop(actorScope, actorRef) {
|
|
1259
1310
|
if (!actorRef) {
|
|
1260
1311
|
return;
|
|
@@ -1263,7 +1314,8 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1263
1314
|
// we need to eagerly unregister it here so a new actor with the same systemId can be registered immediately
|
|
1264
1315
|
// since we defer actual stopping of the actor but we don't defer actor creations (and we can't do that)
|
|
1265
1316
|
// this could throw on `systemId` collision, for example, when dealing with reentering transitions
|
|
1266
|
-
|
|
1317
|
+
// we also need to recursively unregister all nested children's systemIds
|
|
1318
|
+
unregisterRecursively(actorScope, actorRef);
|
|
1267
1319
|
|
|
1268
1320
|
// this allows us to prevent an actor from being started if it gets stopped within the same macrostep
|
|
1269
1321
|
// this can happen, for example, when the invoking state is being exited immediately by an always transition
|
|
@@ -1490,7 +1542,9 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1490
1542
|
);
|
|
1491
1543
|
}
|
|
1492
1544
|
|
|
1493
|
-
|
|
1545
|
+
function isAtomicStateNode(stateNode) {
|
|
1546
|
+
return stateNode.type === 'atomic' || stateNode.type === 'final';
|
|
1547
|
+
}
|
|
1494
1548
|
function getChildren(stateNode) {
|
|
1495
1549
|
return Object.values(stateNode.states).filter(sn => sn.type !== 'history');
|
|
1496
1550
|
}
|
|
@@ -1595,30 +1649,7 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1595
1649
|
}
|
|
1596
1650
|
const isStateId = str => str[0] === STATE_IDENTIFIER;
|
|
1597
1651
|
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));
|
|
1652
|
+
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
1653
|
return candidates;
|
|
1623
1654
|
}
|
|
1624
1655
|
|
|
@@ -1720,6 +1751,47 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
1720
1751
|
}
|
|
1721
1752
|
return transitions;
|
|
1722
1753
|
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Collects route transitions from all descendants with explicit IDs. Called
|
|
1757
|
+
* once on the root node to avoid O(N²) repeated traversals.
|
|
1758
|
+
*/
|
|
1759
|
+
function formatRouteTransitions(rootStateNode) {
|
|
1760
|
+
const routeTransitions = [];
|
|
1761
|
+
const collectRoutes = states => {
|
|
1762
|
+
Object.values(states).forEach(sn => {
|
|
1763
|
+
if (sn.config.route && sn.config.id) {
|
|
1764
|
+
const routeId = sn.config.id;
|
|
1765
|
+
const userGuard = sn.config.route.guard;
|
|
1766
|
+
const routeGuard = (args, params) => {
|
|
1767
|
+
if (args.event.to !== `#${routeId}`) {
|
|
1768
|
+
return false;
|
|
1769
|
+
}
|
|
1770
|
+
if (!userGuard) {
|
|
1771
|
+
return true;
|
|
1772
|
+
}
|
|
1773
|
+
if (typeof userGuard === 'function') {
|
|
1774
|
+
return userGuard(args, params);
|
|
1775
|
+
}
|
|
1776
|
+
return true;
|
|
1777
|
+
};
|
|
1778
|
+
const transition = {
|
|
1779
|
+
...sn.config.route,
|
|
1780
|
+
guard: routeGuard,
|
|
1781
|
+
target: `#${routeId}`
|
|
1782
|
+
};
|
|
1783
|
+
routeTransitions.push(formatTransition(rootStateNode, 'xstate.route', transition));
|
|
1784
|
+
}
|
|
1785
|
+
if (sn.states) {
|
|
1786
|
+
collectRoutes(sn.states);
|
|
1787
|
+
}
|
|
1788
|
+
});
|
|
1789
|
+
};
|
|
1790
|
+
collectRoutes(rootStateNode.states);
|
|
1791
|
+
if (routeTransitions.length > 0) {
|
|
1792
|
+
rootStateNode.transitions.set('xstate.route', routeTransitions);
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1723
1795
|
function formatInitialTransition(stateNode, _target) {
|
|
1724
1796
|
const resolvedTarget = typeof _target === 'string' ? stateNode.states[_target] : _target ? stateNode.states[_target.target] : undefined;
|
|
1725
1797
|
if (!resolvedTarget && _target) {
|
|
@@ -2051,45 +2123,65 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2051
2123
|
}
|
|
2052
2124
|
return true;
|
|
2053
2125
|
}
|
|
2126
|
+
function initialMicrostep(root, preInitialState, actorScope, initEvent, internalQueue) {
|
|
2127
|
+
return microstep([{
|
|
2128
|
+
target: [...getInitialStateNodes(root)],
|
|
2129
|
+
source: root,
|
|
2130
|
+
reenter: true,
|
|
2131
|
+
actions: [],
|
|
2132
|
+
eventType: null,
|
|
2133
|
+
toJSON: null
|
|
2134
|
+
}], preInitialState, actorScope, initEvent, true, internalQueue);
|
|
2135
|
+
}
|
|
2054
2136
|
|
|
2055
2137
|
/** https://www.w3.org/TR/scxml/#microstepProcedure */
|
|
2056
2138
|
function microstep(transitions, currentSnapshot, actorScope, event, isInitial, internalQueue) {
|
|
2139
|
+
const actions = [];
|
|
2057
2140
|
if (!transitions.length) {
|
|
2058
|
-
return currentSnapshot;
|
|
2141
|
+
return [currentSnapshot, actions];
|
|
2059
2142
|
}
|
|
2060
|
-
const
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2143
|
+
const originalExecutor = actorScope.actionExecutor;
|
|
2144
|
+
actorScope.actionExecutor = action => {
|
|
2145
|
+
actions.push(action);
|
|
2146
|
+
originalExecutor(action);
|
|
2147
|
+
};
|
|
2148
|
+
try {
|
|
2149
|
+
const mutStateNodeSet = new Set(currentSnapshot._nodes);
|
|
2150
|
+
let historyValue = currentSnapshot.historyValue;
|
|
2151
|
+
const filteredTransitions = removeConflictingTransitions(transitions, mutStateNodeSet, historyValue);
|
|
2152
|
+
let nextState = currentSnapshot;
|
|
2064
2153
|
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2154
|
+
// Exit states
|
|
2155
|
+
if (!isInitial) {
|
|
2156
|
+
[nextState, historyValue] = exitStates(nextState, event, actorScope, filteredTransitions, mutStateNodeSet, historyValue, internalQueue, actorScope.actionExecutor);
|
|
2157
|
+
}
|
|
2069
2158
|
|
|
2070
|
-
|
|
2071
|
-
|
|
2159
|
+
// Execute transition content
|
|
2160
|
+
nextState = resolveActionsAndContext(nextState, event, actorScope, filteredTransitions.flatMap(t => t.actions), internalQueue, undefined);
|
|
2072
2161
|
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2162
|
+
// Enter states
|
|
2163
|
+
nextState = enterStates(nextState, event, actorScope, filteredTransitions, mutStateNodeSet, internalQueue, historyValue, isInitial);
|
|
2164
|
+
const nextStateNodes = [...mutStateNodeSet];
|
|
2165
|
+
if (nextState.status === 'done') {
|
|
2166
|
+
nextState = resolveActionsAndContext(nextState, event, actorScope, nextStateNodes.sort((a, b) => b.order - a.order).flatMap(state => state.exit), internalQueue, undefined);
|
|
2167
|
+
}
|
|
2079
2168
|
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2169
|
+
// eslint-disable-next-line no-useless-catch
|
|
2170
|
+
try {
|
|
2171
|
+
if (historyValue === currentSnapshot.historyValue && areStateNodeCollectionsEqual(currentSnapshot._nodes, mutStateNodeSet)) {
|
|
2172
|
+
return [nextState, actions];
|
|
2173
|
+
}
|
|
2174
|
+
return [cloneMachineSnapshot(nextState, {
|
|
2175
|
+
_nodes: nextStateNodes,
|
|
2176
|
+
historyValue
|
|
2177
|
+
}), actions];
|
|
2178
|
+
} catch (e) {
|
|
2179
|
+
// TODO: Refactor this once proper error handling is implemented.
|
|
2180
|
+
// See https://github.com/statelyai/rfcs/pull/4
|
|
2181
|
+
throw e;
|
|
2084
2182
|
}
|
|
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;
|
|
2183
|
+
} finally {
|
|
2184
|
+
actorScope.actionExecutor = originalExecutor;
|
|
2093
2185
|
}
|
|
2094
2186
|
}
|
|
2095
2187
|
function getMachineOutput(snapshot, event, actorScope, rootNode, rootCompletionNode) {
|
|
@@ -2346,16 +2438,16 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2346
2438
|
}
|
|
2347
2439
|
function macrostep(snapshot, event, actorScope, internalQueue) {
|
|
2348
2440
|
let nextSnapshot = snapshot;
|
|
2349
|
-
const
|
|
2350
|
-
function
|
|
2441
|
+
const microsteps = [];
|
|
2442
|
+
function addMicrostep(step, event, transitions) {
|
|
2351
2443
|
actorScope.system._sendInspectionEvent({
|
|
2352
2444
|
type: '@xstate.microstep',
|
|
2353
2445
|
actorRef: actorScope.self,
|
|
2354
2446
|
event,
|
|
2355
|
-
snapshot:
|
|
2447
|
+
snapshot: step[0],
|
|
2356
2448
|
_transitions: transitions
|
|
2357
2449
|
});
|
|
2358
|
-
|
|
2450
|
+
microsteps.push(step);
|
|
2359
2451
|
}
|
|
2360
2452
|
|
|
2361
2453
|
// Handle stop event
|
|
@@ -2363,10 +2455,10 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2363
2455
|
nextSnapshot = cloneMachineSnapshot(stopChildren(nextSnapshot, event, actorScope), {
|
|
2364
2456
|
status: 'stopped'
|
|
2365
2457
|
});
|
|
2366
|
-
|
|
2458
|
+
addMicrostep([nextSnapshot, []], event, []);
|
|
2367
2459
|
return {
|
|
2368
2460
|
snapshot: nextSnapshot,
|
|
2369
|
-
|
|
2461
|
+
microsteps
|
|
2370
2462
|
};
|
|
2371
2463
|
}
|
|
2372
2464
|
let nextEvent = event;
|
|
@@ -2385,16 +2477,17 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2385
2477
|
status: 'error',
|
|
2386
2478
|
error: currentEvent.error
|
|
2387
2479
|
});
|
|
2388
|
-
|
|
2480
|
+
addMicrostep([nextSnapshot, []], currentEvent, []);
|
|
2389
2481
|
return {
|
|
2390
2482
|
snapshot: nextSnapshot,
|
|
2391
|
-
|
|
2483
|
+
microsteps
|
|
2392
2484
|
};
|
|
2393
2485
|
}
|
|
2394
|
-
|
|
2486
|
+
const step = microstep(transitions, snapshot, actorScope, nextEvent, false,
|
|
2395
2487
|
// isInitial
|
|
2396
2488
|
internalQueue);
|
|
2397
|
-
|
|
2489
|
+
nextSnapshot = step[0];
|
|
2490
|
+
addMicrostep(step, currentEvent, transitions);
|
|
2398
2491
|
}
|
|
2399
2492
|
let shouldSelectEventlessTransitions = true;
|
|
2400
2493
|
while (nextSnapshot.status === 'active') {
|
|
@@ -2410,16 +2503,17 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2410
2503
|
nextEvent = internalQueue.shift();
|
|
2411
2504
|
enabledTransitions = selectTransitions(nextEvent, nextSnapshot);
|
|
2412
2505
|
}
|
|
2413
|
-
|
|
2506
|
+
const step = microstep(enabledTransitions, nextSnapshot, actorScope, nextEvent, false, internalQueue);
|
|
2507
|
+
nextSnapshot = step[0];
|
|
2414
2508
|
shouldSelectEventlessTransitions = nextSnapshot !== previousState;
|
|
2415
|
-
|
|
2509
|
+
addMicrostep(step, nextEvent, enabledTransitions);
|
|
2416
2510
|
}
|
|
2417
2511
|
if (nextSnapshot.status !== 'active') {
|
|
2418
2512
|
stopChildren(nextSnapshot, nextEvent, actorScope);
|
|
2419
2513
|
}
|
|
2420
2514
|
return {
|
|
2421
2515
|
snapshot: nextSnapshot,
|
|
2422
|
-
|
|
2516
|
+
microsteps
|
|
2423
2517
|
};
|
|
2424
2518
|
}
|
|
2425
2519
|
function stopChildren(nextState, event, actorScope) {
|
|
@@ -2659,58 +2753,61 @@ function requireRaiseDa5b247f_cjs () {
|
|
|
2659
2753
|
return raise;
|
|
2660
2754
|
}
|
|
2661
2755
|
|
|
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
|
-
|
|
2756
|
+
raiseF23ccfcb_cjs.$$ACTOR_TYPE = $$ACTOR_TYPE;
|
|
2757
|
+
raiseF23ccfcb_cjs.Actor = Actor;
|
|
2758
|
+
raiseF23ccfcb_cjs.NULL_EVENT = NULL_EVENT;
|
|
2759
|
+
raiseF23ccfcb_cjs.ProcessingStatus = ProcessingStatus;
|
|
2760
|
+
raiseF23ccfcb_cjs.STATE_DELIMITER = STATE_DELIMITER;
|
|
2761
|
+
raiseF23ccfcb_cjs.XSTATE_ERROR = XSTATE_ERROR;
|
|
2762
|
+
raiseF23ccfcb_cjs.XSTATE_STOP = XSTATE_STOP;
|
|
2763
|
+
raiseF23ccfcb_cjs.and = and;
|
|
2764
|
+
raiseF23ccfcb_cjs.cancel = cancel;
|
|
2765
|
+
raiseF23ccfcb_cjs.cloneMachineSnapshot = cloneMachineSnapshot;
|
|
2766
|
+
raiseF23ccfcb_cjs.createActor = createActor;
|
|
2767
|
+
raiseF23ccfcb_cjs.createErrorActorEvent = createErrorActorEvent;
|
|
2768
|
+
raiseF23ccfcb_cjs.createInitEvent = createInitEvent;
|
|
2769
|
+
raiseF23ccfcb_cjs.createInvokeId = createInvokeId;
|
|
2770
|
+
raiseF23ccfcb_cjs.createMachineSnapshot = createMachineSnapshot;
|
|
2771
|
+
raiseF23ccfcb_cjs.evaluateGuard = evaluateGuard;
|
|
2772
|
+
raiseF23ccfcb_cjs.formatInitialTransition = formatInitialTransition;
|
|
2773
|
+
raiseF23ccfcb_cjs.formatRouteTransitions = formatRouteTransitions;
|
|
2774
|
+
raiseF23ccfcb_cjs.formatTransition = formatTransition;
|
|
2775
|
+
raiseF23ccfcb_cjs.formatTransitions = formatTransitions;
|
|
2776
|
+
raiseF23ccfcb_cjs.getAllOwnEventDescriptors = getAllOwnEventDescriptors;
|
|
2777
|
+
raiseF23ccfcb_cjs.getAllStateNodes = getAllStateNodes;
|
|
2778
|
+
raiseF23ccfcb_cjs.getCandidates = getCandidates;
|
|
2779
|
+
raiseF23ccfcb_cjs.getDelayedTransitions = getDelayedTransitions;
|
|
2780
|
+
raiseF23ccfcb_cjs.getPersistedSnapshot = getPersistedSnapshot;
|
|
2781
|
+
raiseF23ccfcb_cjs.getProperAncestors = getProperAncestors;
|
|
2782
|
+
raiseF23ccfcb_cjs.getStateNodeByPath = getStateNodeByPath;
|
|
2783
|
+
raiseF23ccfcb_cjs.getStateNodes = getStateNodes;
|
|
2784
|
+
raiseF23ccfcb_cjs.initialMicrostep = initialMicrostep;
|
|
2785
|
+
raiseF23ccfcb_cjs.interpret = interpret;
|
|
2786
|
+
raiseF23ccfcb_cjs.isAtomicStateNode = isAtomicStateNode;
|
|
2787
|
+
raiseF23ccfcb_cjs.isInFinalState = isInFinalState;
|
|
2788
|
+
raiseF23ccfcb_cjs.isMachineSnapshot = isMachineSnapshot;
|
|
2789
|
+
raiseF23ccfcb_cjs.isStateId = isStateId;
|
|
2790
|
+
raiseF23ccfcb_cjs.macrostep = macrostep;
|
|
2791
|
+
raiseF23ccfcb_cjs.mapValues = mapValues;
|
|
2792
|
+
raiseF23ccfcb_cjs.matchesEventDescriptor = matchesEventDescriptor;
|
|
2793
|
+
raiseF23ccfcb_cjs.matchesState = matchesState;
|
|
2794
|
+
raiseF23ccfcb_cjs.not = not;
|
|
2795
|
+
raiseF23ccfcb_cjs.or = or;
|
|
2796
|
+
raiseF23ccfcb_cjs.pathToStateValue = pathToStateValue;
|
|
2797
|
+
raiseF23ccfcb_cjs.raise = raise;
|
|
2798
|
+
raiseF23ccfcb_cjs.resolveActionsAndContext = resolveActionsAndContext;
|
|
2799
|
+
raiseF23ccfcb_cjs.resolveReferencedActor = resolveReferencedActor;
|
|
2800
|
+
raiseF23ccfcb_cjs.resolveStateValue = resolveStateValue;
|
|
2801
|
+
raiseF23ccfcb_cjs.spawnChild = spawnChild;
|
|
2802
|
+
raiseF23ccfcb_cjs.stateIn = stateIn;
|
|
2803
|
+
raiseF23ccfcb_cjs.stop = stop;
|
|
2804
|
+
raiseF23ccfcb_cjs.stopChild = stopChild;
|
|
2805
|
+
raiseF23ccfcb_cjs.toArray = toArray;
|
|
2806
|
+
raiseF23ccfcb_cjs.toObserver = toObserver;
|
|
2807
|
+
raiseF23ccfcb_cjs.toStatePath = toStatePath;
|
|
2808
|
+
raiseF23ccfcb_cjs.toTransitionConfigArray = toTransitionConfigArray;
|
|
2809
|
+
raiseF23ccfcb_cjs.transitionNode = transitionNode;
|
|
2810
|
+
return raiseF23ccfcb_cjs;
|
|
2714
2811
|
}
|
|
2715
2812
|
|
|
2716
|
-
export {
|
|
2813
|
+
export { requireRaiseF23ccfcb_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 requireRaiseF23ccfcb_cjs } from '../../dist/raise-f23ccfcb.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__*/ requireRaiseF23ccfcb_cjs();
|
|
14
14
|
requireXstateDev_cjs();
|
|
15
15
|
|
|
16
16
|
|
|
@@ -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,9 +7,9 @@ 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.
|
|
11
|
-
import IconInfoCircle from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
12
|
-
import IconExternalLink from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
10
|
+
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';
|
|
11
|
+
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';
|
|
12
|
+
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';
|
|
13
13
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
14
14
|
|
|
15
15
|
const Tooltip = Tooltip$1.withProps({
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useTree, Alert, Anchor, Tree, Box, Text, Pill } from '@mantine/core';
|
|
3
3
|
import { useMemo, useEffect } from 'react';
|
|
4
4
|
import { treeNodeLabel, elementLabel } from './TabPanelStructure.css.js';
|
|
5
|
-
import IconInfoCircle from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
5
|
+
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';
|
|
6
6
|
|
|
7
7
|
const ElementLabel = ({
|
|
8
8
|
element
|
|
@@ -17,9 +17,9 @@ import { layoutRelationshipDetails } from './layout.js';
|
|
|
17
17
|
import { SelectEdge } from './SelectEdge.js';
|
|
18
18
|
import { RelationshipEdge } from './custom/edgeTypes.js';
|
|
19
19
|
import { CompoundNode, ElementNode } from './custom/nodeTypes.js';
|
|
20
|
-
import IconX from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
21
|
-
import IconChevronLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
22
|
-
import IconChevronRight from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
20
|
+
import IconX from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js';
|
|
21
|
+
import IconChevronLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronLeft.js';
|
|
22
|
+
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';
|
|
23
23
|
|
|
24
24
|
const nodeTypes = {
|
|
25
25
|
element: ElementNode,
|