@likec4/diagram 1.51.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.
Files changed (158) hide show
  1. package/dist/LikeC4View.js +1 -1
  2. package/dist/_virtual/assign-6b5249c3.cjs.js +3 -0
  3. package/dist/_virtual/log-b8ad8428.cjs.js +3 -0
  4. package/dist/_virtual/raise-f23ccfcb.cjs.js +3 -0
  5. package/dist/_virtual/store-803b8f7d.cjs.js +3 -0
  6. package/dist/_virtual/xstate-actions.cjs.js +1 -1
  7. package/dist/_virtual/xstate-guards.cjs.js +1 -1
  8. package/dist/_virtual/xstate-store-react.cjs.js +1 -1
  9. package/dist/adhoc-editor/EditorPanel.js +1 -1
  10. package/dist/adhoc-editor/components/Tree.js +1 -1
  11. package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
  12. package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
  13. package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
  14. package/dist/base-primitives/element/ElementActionButtons.js +1 -1
  15. package/dist/base-primitives/element/ElementDetailsButton.js +1 -1
  16. package/dist/components/ErrorFallback.js +1 -1
  17. package/dist/components/Link.js +2 -2
  18. package/dist/components/NavigationPanel.js +4 -2
  19. package/dist/components/SearchControl.css.js +79 -0
  20. package/dist/components/SearchControl.js +17 -0
  21. package/dist/context/IconRenderer.js +7 -7
  22. package/dist/custom/index.d.ts +1 -0
  23. package/dist/custom/index.js +1 -0
  24. package/dist/editor/editorActor.actions.d.ts +142 -190
  25. package/dist/index.d.ts +3 -0
  26. package/dist/index.js +3 -0
  27. package/dist/likec4diagram/custom/nodes/ElementActions.js +2 -2
  28. package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +2 -2
  29. package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +2 -2
  30. package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +4 -4
  31. package/dist/likec4diagram/relationship-popover/actor.d.ts +28 -130
  32. package/dist/likec4diagram/state/machine.actions.d.ts +1819 -2407
  33. package/dist/likec4diagram/state/machine.actions.layout.d.ts +472 -628
  34. package/dist/likec4diagram/state/machine.setup.js +2 -2
  35. package/dist/likec4diagram/state/machine.state.initializing.d.ts +148 -196
  36. package/dist/likec4diagram/state/machine.state.ready.d.ts +2921 -3807
  37. package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +413 -537
  38. package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +352 -413
  39. package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +91 -121
  40. package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +583 -775
  41. package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -2
  42. package/dist/likec4diagram/xyflow-diagram/diagram-view.js +1 -2
  43. package/dist/navigationpanel/NavigationPanelDropdown.js +7 -7
  44. package/dist/navigationpanel/_common.js +1 -1
  45. package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +2 -2
  46. package/dist/navigationpanel/comparepanel/ComparePanelControls.js +1 -1
  47. package/dist/navigationpanel/controls/DetailsControls.js +2 -2
  48. package/dist/navigationpanel/controls/LayoutWarning.js +1 -1
  49. package/dist/navigationpanel/controls/NavigationButtons.js +2 -2
  50. package/dist/navigationpanel/controls/OpenSource.js +1 -1
  51. package/dist/navigationpanel/controls/SearchControl.js +1 -1
  52. package/dist/navigationpanel/controls/ToggleReadonly.js +2 -2
  53. package/dist/navigationpanel/dropdown/ProjectsMenu.js +1 -1
  54. package/dist/navigationpanel/editorpanel/CenterCamera.js +1 -1
  55. package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +1 -1
  56. package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +9 -9
  57. package/dist/navigationpanel/editorpanel/ToggleReadonly.js +1 -1
  58. package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +3 -3
  59. package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +2 -2
  60. package/dist/navigationpanel/walkthrough/DynamicViewControls.js +1 -1
  61. package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +31 -45
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. package/dist/overlays/element-details/ElementDetailsCard.js +4 -4
  123. package/dist/overlays/element-details/MetadataValue.js +2 -2
  124. package/dist/overlays/element-details/TabPanelDeployments.js +3 -3
  125. package/dist/overlays/element-details/TabPanelRelationships.js +3 -3
  126. package/dist/overlays/element-details/TabPanelStructure.js +1 -1
  127. package/dist/overlays/relationship-details/RelationshipDetails.js +3 -3
  128. package/dist/overlays/relationship-details/SelectEdge.js +2 -2
  129. package/dist/overlays/relationship-details/custom/ElementActions.js +3 -3
  130. package/dist/overlays/relationships-browser/RelationshipsBrowser.js +6 -6
  131. package/dist/overlays/relationships-browser/SelectElement.js +2 -2
  132. package/dist/overlays/relationships-browser/custom/ElementActions.js +3 -3
  133. package/dist/projects-overview/actor.d.ts +15 -21
  134. package/dist/projects-overview/custom/nodeTypes.js +1 -1
  135. package/dist/search/Search.d.ts +8 -0
  136. package/dist/search/Search.js +40 -47
  137. package/dist/search/SearchContext.d.ts +21 -0
  138. package/dist/search/SearchContext.js +20 -0
  139. package/dist/search/XStateSearchAdapter.d.ts +5 -0
  140. package/dist/search/XStateSearchAdapter.js +64 -0
  141. package/dist/search/components/ElementsColumn.js +6 -9
  142. package/dist/search/components/PickView.d.ts +1 -3
  143. package/dist/search/components/PickView.js +5 -5
  144. package/dist/search/components/SearchByTags.js +1 -1
  145. package/dist/search/components/SearchInput.js +6 -7
  146. package/dist/search/components/ViewsColum.js +8 -12
  147. package/dist/search/hooks.d.ts +0 -2
  148. package/dist/search/hooks.js +7 -33
  149. package/dist/styles.css2.js +1 -1
  150. package/package.json +23 -23
  151. package/panda.buildinfo.json +2 -3
  152. package/styles-min.css +1 -1
  153. package/styles.css +1 -1
  154. package/dist/_virtual/assign-dea9f7c8.cjs.js +0 -3
  155. package/dist/_virtual/log-ec8d4df4.cjs.js +0 -3
  156. package/dist/_virtual/raise-da5b247f.cjs.js +0 -3
  157. package/dist/_virtual/store-1b2fbb72.cjs.js +0 -3
  158. /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 logEc8d4df4_cjs } from '../../../../../../_virtual/log-ec8d4df4.cjs.js';
2
- import { __require as requireRaiseDa5b247f_cjs } from './raise-da5b247f.cjs.js';
3
- import { __require as requireAssignDea9f7c8_cjs } from './assign-dea9f7c8.cjs.js';
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 hasRequiredLogEc8d4df4_cjs;
5
+ var hasRequiredLogB8ad8428_cjs;
6
6
 
7
- function requireLogEc8d4df4_cjs () {
8
- if (hasRequiredLogEc8d4df4_cjs) return logEc8d4df4_cjs;
9
- hasRequiredLogEc8d4df4_cjs = 1;
7
+ function requireLogB8ad8428_cjs () {
8
+ if (hasRequiredLogB8ad8428_cjs) return logB8ad8428_cjs;
9
+ hasRequiredLogB8ad8428_cjs = 1;
10
10
 
11
- var guards_dist_xstateGuards = /*@__PURE__*/ requireRaiseDa5b247f_cjs();
12
- var assign = /*@__PURE__*/ requireAssignDea9f7c8_cjs();
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
- logEc8d4df4_cjs.SpecialTargets = SpecialTargets;
392
- logEc8d4df4_cjs.emit = emit;
393
- logEc8d4df4_cjs.enqueueActions = enqueueActions;
394
- logEc8d4df4_cjs.forwardTo = forwardTo;
395
- logEc8d4df4_cjs.log = log;
396
- logEc8d4df4_cjs.sendParent = sendParent;
397
- logEc8d4df4_cjs.sendTo = sendTo;
398
- return logEc8d4df4_cjs;
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 { requireLogEc8d4df4_cjs as __require };
401
+ export { requireLogB8ad8428_cjs as __require };
@@ -1,11 +1,11 @@
1
- import { __exports as raiseDa5b247f_cjs } from '../../../../../../_virtual/raise-da5b247f.cjs.js';
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 hasRequiredRaiseDa5b247f_cjs;
4
+ var hasRequiredRaiseF23ccfcb_cjs;
5
5
 
6
- function requireRaiseDa5b247f_cjs () {
7
- if (hasRequiredRaiseDa5b247f_cjs) return raiseDa5b247f_cjs;
8
- hasRequiredRaiseDa5b247f_cjs = 1;
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
- actorScope.system._unregister(actorRef);
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
- const isAtomicStateNode = stateNode => stateNode.type === 'atomic' || stateNode.type === 'final';
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 mutStateNodeSet = new Set(currentSnapshot._nodes);
2061
- let historyValue = currentSnapshot.historyValue;
2062
- const filteredTransitions = removeConflictingTransitions(transitions, mutStateNodeSet, historyValue);
2063
- let nextState = currentSnapshot;
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
- // Exit states
2066
- if (!isInitial) {
2067
- [nextState, historyValue] = exitStates(nextState, event, actorScope, filteredTransitions, mutStateNodeSet, historyValue, internalQueue, actorScope.actionExecutor);
2068
- }
2154
+ // Exit states
2155
+ if (!isInitial) {
2156
+ [nextState, historyValue] = exitStates(nextState, event, actorScope, filteredTransitions, mutStateNodeSet, historyValue, internalQueue, actorScope.actionExecutor);
2157
+ }
2069
2158
 
2070
- // Execute transition content
2071
- nextState = resolveActionsAndContext(nextState, event, actorScope, filteredTransitions.flatMap(t => t.actions), internalQueue, undefined);
2159
+ // Execute transition content
2160
+ nextState = resolveActionsAndContext(nextState, event, actorScope, filteredTransitions.flatMap(t => t.actions), internalQueue, undefined);
2072
2161
 
2073
- // Enter states
2074
- nextState = enterStates(nextState, event, actorScope, filteredTransitions, mutStateNodeSet, internalQueue, historyValue, isInitial);
2075
- const nextStateNodes = [...mutStateNodeSet];
2076
- if (nextState.status === 'done') {
2077
- nextState = resolveActionsAndContext(nextState, event, actorScope, nextStateNodes.sort((a, b) => b.order - a.order).flatMap(state => state.exit), internalQueue, undefined);
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
- // eslint-disable-next-line no-useless-catch
2081
- try {
2082
- if (historyValue === currentSnapshot.historyValue && areStateNodeCollectionsEqual(currentSnapshot._nodes, mutStateNodeSet)) {
2083
- return nextState;
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
- return cloneMachineSnapshot(nextState, {
2086
- _nodes: nextStateNodes,
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 microstates = [];
2350
- function addMicrostate(microstate, event, transitions) {
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: microstate,
2447
+ snapshot: step[0],
2356
2448
  _transitions: transitions
2357
2449
  });
2358
- microstates.push(microstate);
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
- addMicrostate(nextSnapshot, event, []);
2458
+ addMicrostep([nextSnapshot, []], event, []);
2367
2459
  return {
2368
2460
  snapshot: nextSnapshot,
2369
- microstates
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
- addMicrostate(nextSnapshot, currentEvent, []);
2480
+ addMicrostep([nextSnapshot, []], currentEvent, []);
2389
2481
  return {
2390
2482
  snapshot: nextSnapshot,
2391
- microstates
2483
+ microsteps
2392
2484
  };
2393
2485
  }
2394
- nextSnapshot = microstep(transitions, snapshot, actorScope, nextEvent, false,
2486
+ const step = microstep(transitions, snapshot, actorScope, nextEvent, false,
2395
2487
  // isInitial
2396
2488
  internalQueue);
2397
- addMicrostate(nextSnapshot, currentEvent, transitions);
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
- nextSnapshot = microstep(enabledTransitions, nextSnapshot, actorScope, nextEvent, false, internalQueue);
2506
+ const step = microstep(enabledTransitions, nextSnapshot, actorScope, nextEvent, false, internalQueue);
2507
+ nextSnapshot = step[0];
2414
2508
  shouldSelectEventlessTransitions = nextSnapshot !== previousState;
2415
- addMicrostate(nextSnapshot, nextEvent, enabledTransitions);
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
- microstates
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
- raiseDa5b247f_cjs.$$ACTOR_TYPE = $$ACTOR_TYPE;
2663
- raiseDa5b247f_cjs.Actor = Actor;
2664
- raiseDa5b247f_cjs.NULL_EVENT = NULL_EVENT;
2665
- raiseDa5b247f_cjs.ProcessingStatus = ProcessingStatus;
2666
- raiseDa5b247f_cjs.STATE_DELIMITER = STATE_DELIMITER;
2667
- raiseDa5b247f_cjs.XSTATE_ERROR = XSTATE_ERROR;
2668
- raiseDa5b247f_cjs.XSTATE_STOP = XSTATE_STOP;
2669
- raiseDa5b247f_cjs.and = and;
2670
- raiseDa5b247f_cjs.cancel = cancel;
2671
- raiseDa5b247f_cjs.cloneMachineSnapshot = cloneMachineSnapshot;
2672
- raiseDa5b247f_cjs.createActor = createActor;
2673
- raiseDa5b247f_cjs.createErrorActorEvent = createErrorActorEvent;
2674
- raiseDa5b247f_cjs.createInitEvent = createInitEvent;
2675
- raiseDa5b247f_cjs.createInvokeId = createInvokeId;
2676
- raiseDa5b247f_cjs.createMachineSnapshot = createMachineSnapshot;
2677
- raiseDa5b247f_cjs.evaluateGuard = evaluateGuard;
2678
- raiseDa5b247f_cjs.formatInitialTransition = formatInitialTransition;
2679
- raiseDa5b247f_cjs.formatTransition = formatTransition;
2680
- raiseDa5b247f_cjs.formatTransitions = formatTransitions;
2681
- raiseDa5b247f_cjs.getAllOwnEventDescriptors = getAllOwnEventDescriptors;
2682
- raiseDa5b247f_cjs.getAllStateNodes = getAllStateNodes;
2683
- raiseDa5b247f_cjs.getCandidates = getCandidates;
2684
- raiseDa5b247f_cjs.getDelayedTransitions = getDelayedTransitions;
2685
- raiseDa5b247f_cjs.getInitialStateNodes = getInitialStateNodes;
2686
- raiseDa5b247f_cjs.getPersistedSnapshot = getPersistedSnapshot;
2687
- raiseDa5b247f_cjs.getStateNodeByPath = getStateNodeByPath;
2688
- raiseDa5b247f_cjs.getStateNodes = getStateNodes;
2689
- raiseDa5b247f_cjs.interpret = interpret;
2690
- raiseDa5b247f_cjs.isInFinalState = isInFinalState;
2691
- raiseDa5b247f_cjs.isMachineSnapshot = isMachineSnapshot;
2692
- raiseDa5b247f_cjs.isStateId = isStateId;
2693
- raiseDa5b247f_cjs.macrostep = macrostep;
2694
- raiseDa5b247f_cjs.mapValues = mapValues;
2695
- raiseDa5b247f_cjs.matchesState = matchesState;
2696
- raiseDa5b247f_cjs.microstep = microstep;
2697
- raiseDa5b247f_cjs.not = not;
2698
- raiseDa5b247f_cjs.or = or;
2699
- raiseDa5b247f_cjs.pathToStateValue = pathToStateValue;
2700
- raiseDa5b247f_cjs.raise = raise;
2701
- raiseDa5b247f_cjs.resolveActionsAndContext = resolveActionsAndContext;
2702
- raiseDa5b247f_cjs.resolveReferencedActor = resolveReferencedActor;
2703
- raiseDa5b247f_cjs.resolveStateValue = resolveStateValue;
2704
- raiseDa5b247f_cjs.spawnChild = spawnChild;
2705
- raiseDa5b247f_cjs.stateIn = stateIn;
2706
- raiseDa5b247f_cjs.stop = stop;
2707
- raiseDa5b247f_cjs.stopChild = stopChild;
2708
- raiseDa5b247f_cjs.toArray = toArray;
2709
- raiseDa5b247f_cjs.toObserver = toObserver;
2710
- raiseDa5b247f_cjs.toStatePath = toStatePath;
2711
- raiseDa5b247f_cjs.toTransitionConfigArray = toTransitionConfigArray;
2712
- raiseDa5b247f_cjs.transitionNode = transitionNode;
2713
- return raiseDa5b247f_cjs;
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 { requireRaiseDa5b247f_cjs as __require };
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 requireRaiseDa5b247f_cjs } from '../../dist/raise-da5b247f.cjs.js';
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__*/ requireRaiseDa5b247f_cjs();
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.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js';
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.36.1_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.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js';
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.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js';
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.36.1_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.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js';
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.36.1_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.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js';
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.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js';
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.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';
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.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js';
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.36.1_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.36.1_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.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js';
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,