@code0-tech/pictor 0.0.0-mvp.3 → 0.0.0-mvp.30
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/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/compiler-runtime.js +5 -0
- package/dist/_virtual/compiler-runtime2.js +4 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/react-compiler-runtime.development.js +4 -0
- package/dist/_virtual/react-compiler-runtime.production.js +4 -0
- package/dist/_virtual/react-contenteditable.js +7 -0
- package/dist/_virtual/react-contenteditable2.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.production.js +4 -0
- package/dist/_virtual/react-dom-server.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server.browser.production.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/server.browser.js +5 -0
- package/dist/_virtual/server.browser2.js +4 -0
- package/dist/assets/components/alert/Alert.style.css +1 -0
- package/dist/assets/components/aurora/Aurora.style.css +1 -0
- package/dist/assets/components/avatar/Avatar.style.css +1 -0
- package/dist/assets/components/badge/Badge.style.css +1 -0
- package/dist/assets/{Breadcrumb.css → components/breadcrumb/Breadcrumb.style.css} +1 -1
- package/dist/assets/components/button/Button.style.css +1 -0
- package/dist/assets/components/button-group/ButtonGroup.style.css +1 -0
- package/dist/assets/components/card/Card.style.css +1 -0
- package/dist/assets/components/command/Command.style.css +1 -0
- package/dist/assets/components/context-menu/ContextMenu.style.css +1 -0
- package/dist/assets/components/d-flow/DFlow.style.css +1 -0
- package/dist/assets/components/d-flow-folder/DFlowFolder.style.css +1 -0
- package/dist/assets/components/d-flow-function/DFlowFunctionDefaultCard.style.css +1 -0
- package/dist/assets/components/d-flow-input/DFlowInputDataType.style.css +1 -0
- package/dist/assets/components/d-flow-panel/DFlowMiniMap.style.css +1 -0
- package/dist/assets/components/d-flow-suggestion/DFlowSuggestionSearchInput.style.css +1 -0
- package/dist/assets/components/d-flow-validation/DFlowValidation.style.css +1 -0
- package/dist/assets/components/d-layout/DLayout.style.css +1 -0
- package/dist/assets/components/d-resizable/DResizable.style.css +1 -0
- package/dist/assets/components/dialog/Dialog.style.css +1 -0
- package/dist/assets/components/file-tabs/FileTabs.style.css +1 -0
- package/dist/assets/components/form/Input.style.css +1 -0
- package/dist/assets/components/menu/Menu.style.css +1 -0
- package/dist/assets/{ScrollArea.css → components/scroll-area/ScrollArea.style.css} +1 -1
- package/dist/assets/components/segmented-control/SegmentedControl.style.css +1 -0
- package/dist/assets/components/spacing/Spacing.style.css +1 -0
- package/dist/assets/components/tab/Tab.style.css +1 -0
- package/dist/assets/components/text/Text.style.css +1 -0
- package/dist/assets/components/toast/Toast.style.css +1 -0
- package/dist/assets/components/tooltip/Tooltip.style.css +1 -0
- package/dist/assets/{DFlow.css → node_modules/@xyflow/react/dist/style.css} +1 -1
- package/dist/components/alert/Alert.d.ts +7 -0
- package/dist/components/alert/Alert.js +38 -0
- package/dist/components/aurora/Aurora.d.ts +5 -0
- package/dist/components/aurora/Aurora.js +23 -0
- package/dist/components/avatar/Avatar.js +9 -9
- package/dist/components/badge/Badge.d.ts +2 -1
- package/dist/components/badge/Badge.js +58 -17
- package/dist/components/breadcrumb/Breadcrumb.js +16 -28
- package/dist/components/button/Button.d.ts +3 -2
- package/dist/components/button/Button.js +23 -20
- package/dist/components/button-group/ButtonGroup.js +12 -11
- package/dist/components/card/Card.d.ts +2 -1
- package/dist/components/card/Card.js +25 -22
- package/dist/components/card/CardSection.d.ts +1 -0
- package/dist/components/card/CardSection.js +18 -12
- package/dist/components/col/Col.js +9 -8
- package/dist/components/command/Command.js +19 -18
- package/dist/components/container/Container.js +12 -11
- package/dist/components/context-menu/ContextMenu.d.ts +31 -0
- package/dist/components/context-menu/ContextMenu.js +191 -0
- package/dist/components/d-application/DApplication.service.d.ts +5 -0
- package/dist/components/d-application/DApplication.service.js +9 -0
- package/dist/components/d-flow/DFlow.d.ts +7 -3
- package/dist/components/d-flow/DFlow.edges.hook.d.ts +3 -2
- package/dist/components/d-flow/DFlow.edges.hook.js +100 -136
- package/dist/components/d-flow/DFlow.js +313 -258
- package/dist/components/d-flow/DFlow.nodes.hook.d.ts +6 -2
- package/dist/components/d-flow/DFlow.nodes.hook.js +102 -121
- package/dist/components/d-flow/DFlow.service.d.ts +17 -7
- package/dist/components/d-flow/DFlow.service.js +132 -7
- package/dist/components/d-flow/DFlow.util.d.ts +4 -0
- package/dist/components/d-flow/DFlow.util.js +63 -0
- package/dist/components/d-flow/{edge/DFlowEdge.d.ts → DFlowEdge.d.ts} +5 -3
- package/dist/components/d-flow/DFlowEdge.js +69 -0
- package/dist/components/d-flow/index.d.ts +1 -10
- package/dist/components/d-flow/index.js +9 -44
- package/dist/components/d-flow-data-type/DFlowDataType.service.d.ts +14 -0
- package/dist/components/d-flow-data-type/DFlowDataType.service.js +96 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/DFlowDataType.view.d.ts +13 -4
- package/dist/components/d-flow-data-type/DFlowDataType.view.js +76 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/index.js +1 -1
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsKeyRule.d.ts +2 -3
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js +222 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsTypeRule.d.ts +2 -3
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js +229 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeParentRule.d.ts +2 -3
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeParentRule.js +3 -3
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeReturnTypeRule.d.ts +2 -3
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js +246 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRule.d.ts +2 -3
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeRules.js +10 -0
- package/dist/components/d-flow-file/DFlowTabDefault.d.ts +7 -0
- package/dist/components/d-flow-file/DFlowTabDefault.js +104 -0
- package/dist/components/{d-flow/tab → d-flow-file}/DFlowTabTrigger.d.ts +2 -2
- package/dist/components/d-flow-file/DFlowTabTrigger.js +64 -0
- package/dist/components/d-flow-file/DFlowTabs.d.ts +8 -0
- package/dist/components/d-flow-file/DFlowTabs.js +132 -0
- package/dist/components/d-flow-file/index.d.ts +1 -0
- package/dist/components/d-flow-file/index.js +4 -0
- package/dist/components/d-flow-folder/DFlowFolder.d.ts +33 -0
- package/dist/components/d-flow-folder/DFlowFolder.js +208 -0
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.d.ts +18 -0
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +45 -0
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.d.ts +9 -0
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +76 -0
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.d.ts +10 -0
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +55 -0
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.d.ts +5 -0
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +50 -0
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.d.ts +10 -0
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +55 -0
- package/dist/components/d-flow-folder/index.d.ts +4 -0
- package/dist/components/d-flow-folder/index.js +12 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.input.hook.d.ts +1 -1
- package/dist/components/d-flow-function/DFlowFunction.input.hook.js +8 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.return.hook.d.ts +2 -2
- package/dist/components/d-flow-function/DFlowFunction.return.hook.js +9 -0
- package/dist/components/d-flow-function/DFlowFunction.service.d.ts +11 -0
- package/dist/components/d-flow-function/DFlowFunction.service.js +12 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.view.d.ts +24 -9
- package/dist/components/d-flow-function/DFlowFunction.view.js +139 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionDefaultCard.d.ts +4 -4
- package/dist/components/d-flow-function/DFlowFunctionDefaultCard.js +117 -0
- package/dist/components/d-flow-function/DFlowFunctionGroupCard.d.ts +13 -0
- package/dist/components/d-flow-function/DFlowFunctionGroupCard.js +68 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionSuggestionCard.d.ts +3 -4
- package/dist/components/d-flow-function/DFlowFunctionSuggestionCard.js +43 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionTriggerCard.d.ts +3 -3
- package/dist/components/d-flow-function/DFlowFunctionTriggerCard.js +78 -0
- package/dist/components/{d-flow/input → d-flow-input}/DFlowInputDataType.d.ts +1 -1
- package/dist/components/d-flow-input/DFlowInputDataType.js +437 -0
- package/dist/components/d-flow-input/DFlowInputDefault.d.ts +10 -0
- package/dist/components/d-flow-input/DFlowInputDefault.js +128 -0
- package/dist/components/d-flow-input/DFlowInputLiteralBadge.d.ts +7 -0
- package/dist/components/d-flow-input/DFlowInputLiteralBadge.js +24 -0
- package/dist/components/d-flow-input/DFlowInputNodeBadge.d.ts +11 -0
- package/dist/components/d-flow-input/DFlowInputNodeBadge.js +44 -0
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.d.ts +11 -0
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +33 -0
- package/dist/components/d-flow-panel/DFlowExport.d.ts +6 -0
- package/dist/components/d-flow-panel/DFlowExport.js +32 -0
- package/dist/components/d-flow-panel/DFlowMiniMap.js +33 -0
- package/dist/components/d-flow-panel/DFlowPanelControl.d.ts +6 -0
- package/dist/components/d-flow-panel/DFlowPanelControl.js +72 -0
- package/dist/components/d-flow-panel/DFlowPanelLayout.d.ts +4 -0
- package/dist/components/d-flow-panel/DFlowPanelLayout.js +47 -0
- package/dist/components/d-flow-panel/DFlowPanelSize.d.ts +2 -0
- package/dist/components/d-flow-panel/DFlowPanelSize.js +94 -0
- package/dist/components/d-flow-panel/index.d.ts +5 -0
- package/dist/components/d-flow-panel/index.js +12 -0
- package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.js +34 -0
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +50 -0
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +133 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +24 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.view.d.ts +14 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.view.js +4 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +72 -0
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.util.d.ts +1 -1
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.util.js +12 -11
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuFooter.js +5 -5
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuSearchBar.d.ts +1 -1
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuSearchBar.js +1 -1
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionSearchInput.d.ts +1 -1
- package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +35 -0
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +44 -0
- package/dist/components/d-flow-suggestion/index.d.ts +1 -0
- package/dist/components/d-flow-suggestion/index.js +4 -0
- package/dist/components/d-flow-type/DFlowType.service.d.ts +11 -0
- package/dist/components/d-flow-type/DFlowType.service.js +12 -0
- package/dist/components/{d-flow/type → d-flow-type}/DFlowType.view.d.ts +10 -4
- package/dist/components/d-flow-type/DFlowType.view.js +85 -0
- package/dist/components/d-flow-validation/DDataTypeValidation.hook.d.ts +2 -0
- package/dist/components/d-flow-validation/DDataTypeValidation.hook.js +18 -0
- package/dist/components/d-flow-validation/DFlowValidation.hook.d.ts +3 -0
- package/dist/components/d-flow-validation/DFlowValidation.hook.js +22 -0
- package/dist/components/d-flow-validation/DFlowValidation.js +66 -0
- package/dist/components/d-flow-validation/DNodeValidation.hook.d.ts +3 -0
- package/dist/components/d-flow-validation/DNodeValidation.hook.js +58 -0
- package/dist/components/d-flow-validation/DValueValidation.hook.d.ts +3 -0
- package/dist/components/d-flow-validation/DValueValidation.hook.js +8 -0
- package/dist/components/{d-flow/validation → d-flow-validation}/index.js +2 -2
- package/dist/components/d-fullscreen/DFullScreen.d.ts +1 -2
- package/dist/components/d-fullscreen/DFullScreen.js +24 -18
- package/dist/components/d-layout/DLayout.js +27 -26
- package/dist/components/d-license/DNamespaceLicense.service.d.ts +11 -0
- package/dist/components/d-license/DNamespaceLicense.service.js +12 -0
- package/dist/components/d-license/index.d.ts +2 -0
- package/dist/components/d-license/index.js +6 -0
- package/dist/components/d-member/DNamespaceMember.service.d.ts +13 -0
- package/dist/components/d-member/DNamespaceMember.service.js +17 -0
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.d.ts +4 -1
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.js +16 -11
- package/dist/components/d-member/DNamespaceMemberCard.d.ts +10 -0
- package/dist/components/d-member/DNamespaceMemberCard.js +16 -0
- package/dist/components/d-member/DNamespaceMemberContent.d.ts +10 -0
- package/dist/components/d-member/DNamespaceMemberContent.js +224 -0
- package/dist/components/d-member/DNamespaceMemberList.d.ts +12 -0
- package/dist/components/d-member/DNamespaceMemberList.js +23 -0
- package/dist/components/d-member/index.d.ts +4 -0
- package/dist/components/d-member/index.js +10 -0
- package/dist/components/d-namespace/DNamespace.service.d.ts +1 -1
- package/dist/components/d-namespace/DNamespace.service.js +7 -6
- package/dist/components/d-namespace/index.d.ts +0 -10
- package/dist/components/d-namespace/index.js +4 -33
- package/dist/components/d-organization/DOrganization.service.d.ts +3 -3
- package/dist/components/d-organization/DOrganization.service.js +8 -7
- package/dist/components/d-organization/DOrganization.view.d.ts +4 -1
- package/dist/components/d-organization/DOrganization.view.js +21 -18
- package/dist/components/d-organization/DOrganizationCard.d.ts +4 -3
- package/dist/components/d-organization/DOrganizationCard.js +13 -60
- package/dist/components/d-organization/DOrganizationList.d.ts +10 -0
- package/dist/components/d-organization/DOrganizationList.js +23 -0
- package/dist/components/d-organization/DOrganizationMenu.js +5 -5
- package/dist/components/d-organization/DOrganizatonContent.d.ts +10 -0
- package/dist/components/d-organization/DOrganizatonContent.js +101 -0
- package/dist/components/d-organization/index.d.ts +1 -0
- package/dist/components/d-organization/index.js +30 -10
- package/dist/components/d-project/DNamespaceProject.service.d.ts +12 -0
- package/dist/components/d-project/DNamespaceProject.service.js +12 -0
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.d.ts +4 -1
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.js +13 -10
- package/dist/components/d-project/DNamespaceProjectCard.d.ts +9 -0
- package/dist/components/d-project/DNamespaceProjectCard.js +17 -0
- package/dist/components/d-project/DNamespaceProjectContent.d.ts +10 -0
- package/dist/components/d-project/DNamespaceProjectContent.js +71 -0
- package/dist/components/d-project/DNamespaceProjectList.d.ts +11 -0
- package/dist/components/d-project/DNamespaceProjectList.js +25 -0
- package/dist/components/d-project/DNamespaceProjectMenu.d.ts +13 -0
- package/dist/components/d-project/DNamespaceProjectMenu.js +57 -0
- package/dist/components/d-project/index.d.ts +5 -0
- package/dist/components/d-project/index.js +26 -0
- package/dist/components/d-resizable/DResizable.d.ts +4 -4
- package/dist/components/d-resizable/DResizable.js +26 -23
- package/dist/components/d-role/DNamespaceRole.service.d.ts +13 -0
- package/dist/components/d-role/DNamespaceRole.service.js +12 -0
- package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.d.ts +4 -1
- package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.js +8 -4
- package/dist/components/d-role/DNamespaceRoleCard.d.ts +11 -0
- package/dist/components/d-role/DNamespaceRoleCard.js +17 -0
- package/dist/components/d-role/DNamespaceRoleContent.d.ts +10 -0
- package/dist/components/d-role/DNamespaceRoleContent.js +162 -0
- package/dist/components/d-role/DNamespaceRoleList.d.ts +12 -0
- package/dist/components/d-role/DNamespaceRoleList.js +24 -0
- package/dist/components/d-role/DNamespaceRolePermissions.d.ts +5 -0
- package/dist/components/d-role/DNamespaceRolePermissions.js +123 -0
- package/dist/components/d-role/index.d.ts +4 -0
- package/dist/components/d-role/index.js +10 -0
- package/dist/components/d-runtime/DRuntime.service.d.ts +5 -2
- package/dist/components/d-runtime/DRuntime.service.js +2 -4
- package/dist/components/d-runtime/DRuntime.view.d.ts +4 -1
- package/dist/components/d-runtime/DRuntime.view.js +6 -3
- package/dist/components/d-runtime/DRuntimeCard.d.ts +9 -0
- package/dist/components/d-runtime/DRuntimeCard.js +18 -0
- package/dist/components/d-runtime/DRuntimeContent.d.ts +9 -0
- package/dist/components/d-runtime/DRuntimeContent.js +45 -0
- package/dist/components/d-runtime/DRuntimeList.d.ts +12 -0
- package/dist/components/d-runtime/DRuntimeList.js +28 -0
- package/dist/components/d-runtime/index.d.ts +2 -0
- package/dist/components/d-runtime/index.js +6 -2
- package/dist/components/d-user/DUser.service.d.ts +3 -4
- package/dist/components/d-user/DUser.service.js +9 -9
- package/dist/components/d-user/DUser.session.hook.d.ts +3 -0
- package/dist/components/d-user/DUser.session.hook.js +16 -0
- package/dist/components/d-user/DUser.view.d.ts +4 -1
- package/dist/components/d-user/DUser.view.js +13 -10
- package/dist/components/d-user/DUserCard.d.ts +8 -0
- package/dist/components/d-user/DUserCard.js +15 -0
- package/dist/components/d-user/DUserContent.d.ts +8 -0
- package/dist/components/d-user/DUserContent.js +84 -0
- package/dist/components/d-user/DUserInput.d.ts +7 -0
- package/dist/components/d-user/DUserInput.js +100 -0
- package/dist/components/d-user/DUserList.d.ts +9 -0
- package/dist/components/d-user/DUserList.js +22 -0
- package/dist/components/d-user/DUserMenu.js +20 -19
- package/dist/components/d-user/index.d.ts +4 -0
- package/dist/components/d-user/index.js +17 -8
- package/dist/components/dialog/Dialog.d.ts +2 -1
- package/dist/components/dialog/Dialog.js +69 -60
- package/dist/components/file-tabs/FileTabs.js +41 -40
- package/dist/components/file-tabs/FileTabs.service.d.ts +5 -1
- package/dist/components/file-tabs/FileTabs.service.js +74 -26
- package/dist/components/file-tabs/FileTabs.view.d.ts +1 -0
- package/dist/components/flex/Flex.js +2 -2
- package/dist/components/form/CheckboxInput.js +62 -53
- package/dist/components/form/EmailInput.js +11 -10
- package/dist/components/form/Input.d.ts +18 -5
- package/dist/components/form/Input.js +333 -139
- package/dist/components/form/Input.syntax.hook.d.ts +10 -0
- package/dist/components/form/Input.syntax.hook.js +14 -0
- package/dist/components/form/Input.utils.d.ts +10 -0
- package/dist/components/form/Input.utils.js +38 -0
- package/dist/components/form/InputContentEditable.hook.d.ts +40 -0
- package/dist/components/form/InputContentEditable.hook.js +471 -0
- package/dist/components/form/InputDescription.js +1 -1
- package/dist/components/form/InputLabel.js +1 -1
- package/dist/components/form/InputMessage.js +1 -1
- package/dist/components/form/InputSuggestion.d.ts +16 -8
- package/dist/components/form/InputSuggestion.js +189 -73
- package/dist/components/form/NumberInput.js +9 -9
- package/dist/components/form/PasswordInput.js +11 -10
- package/dist/components/form/PinInput.js +2 -2
- package/dist/components/form/RadioGroup.js +2 -2
- package/dist/components/form/RadioInput.js +2 -2
- package/dist/components/form/SwitchInput.js +7 -7
- package/dist/components/form/TextInput.js +12 -11
- package/dist/components/form/index.js +26 -27
- package/dist/components/form/useForm.d.ts +3 -1
- package/dist/components/form/useForm.js +53 -33
- package/dist/components/menu/Menu.d.ts +7 -3
- package/dist/components/menu/Menu.js +24 -24
- package/dist/components/quote/Quote.js +32 -36
- package/dist/components/row/Row.js +10 -9
- package/dist/components/scroll-area/ScrollArea.js +18 -17
- package/dist/components/segmented-control/SegmentedControl.d.ts +1 -1
- package/dist/components/segmented-control/SegmentedControl.js +19 -16
- package/dist/components/spacing/Spacing.d.ts +6 -0
- package/dist/components/spacing/Spacing.js +23 -0
- package/dist/components/tab/Tab.d.ts +11 -0
- package/dist/components/tab/Tab.js +40 -0
- package/dist/components/text/Text.js +2 -2
- package/dist/components/toast/Toast.d.ts +13 -0
- package/dist/components/toast/Toast.js +62 -0
- package/dist/components/tooltip/Tooltip.js +36 -35
- package/dist/index.d.ts +17 -0
- package/dist/index.js +264 -216
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +48 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +222 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +636 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +183 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/node_modules/fast-deep-equal/index.js +31 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
- package/dist/node_modules/object-assign/index.js +49 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +70 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
- package/dist/node_modules/react/compiler-runtime.js +10 -0
- package/dist/node_modules/react-contenteditable/lib/react-contenteditable.js +132 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +6235 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +4096 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +6753 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.js +4645 -0
- package/dist/node_modules/react-dom/server.browser.js +15 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +27 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
- package/dist/utils/arrayService.d.ts +2 -2
- package/dist/utils/contextStore.js +1 -1
- package/dist/utils/generics.d.ts +7 -6
- package/dist/utils/generics.js +136 -124
- package/dist/utils/index.js +22 -21
- package/dist/utils/inspection.d.ts +4 -2
- package/dist/utils/inspection.js +27 -2
- package/dist/utils/objectStore.js +15 -15
- package/dist/utils/reactiveArrayService.d.ts +3 -3
- package/dist/utils/reactiveArrayService.js +53 -43
- package/dist/utils/types.d.ts +2 -2
- package/package.json +38 -33
- package/dist/DFlowDataType.service-Dz8pQUeO.js +0 -793
- package/dist/assets/Avatar.css +0 -1
- package/dist/assets/Badge.css +0 -1
- package/dist/assets/Button.css +0 -1
- package/dist/assets/ButtonGroup.css +0 -1
- package/dist/assets/Card.css +0 -1
- package/dist/assets/Command.css +0 -1
- package/dist/assets/DFlowFolder.css +0 -1
- package/dist/assets/DFlowFunctionDefaultCard.css +0 -1
- package/dist/assets/DFlowInputDataType.css +0 -1
- package/dist/assets/DFlowMiniMap.css +0 -1
- package/dist/assets/DFlowSuggestionSearchInput.css +0 -1
- package/dist/assets/DFlowValidation.css +0 -1
- package/dist/assets/DLayout.css +0 -1
- package/dist/assets/DResizable.css +0 -1
- package/dist/assets/Dialog.css +0 -1
- package/dist/assets/FileTabs.css +0 -1
- package/dist/assets/Input.css +0 -1
- package/dist/assets/Menu.css +0 -1
- package/dist/assets/SegmentedControl.css +0 -1
- package/dist/assets/Text.css +0 -1
- package/dist/assets/Tooltip.css +0 -1
- package/dist/compiler-runtime-BNHg76kC.js +0 -36
- package/dist/components/d-flow/DFlow.view.d.ts +0 -109
- package/dist/components/d-flow/DFlow.view.js +0 -213
- package/dist/components/d-flow/control/DFlowControl.d.ts +0 -2
- package/dist/components/d-flow/control/DFlowControl.js +0 -77
- package/dist/components/d-flow/control/index.d.ts +0 -1
- package/dist/components/d-flow/control/index.js +0 -4
- package/dist/components/d-flow/data-type/DFlowDataType.service.d.ts +0 -10
- package/dist/components/d-flow/data-type/DFlowDataType.service.js +0 -7
- package/dist/components/d-flow/data-type/DFlowDataType.validation.type.d.ts +0 -2
- package/dist/components/d-flow/data-type/DFlowDataType.validation.type.js +0 -18
- package/dist/components/d-flow/data-type/DFlowDataType.validation.value.d.ts +0 -4
- package/dist/components/d-flow/data-type/DFlowDataType.validation.value.js +0 -6
- package/dist/components/d-flow/data-type/DFlowDataType.view.js +0 -65
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsKeyRule.js +0 -6
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsTypeRule.js +0 -6
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeReturnTypeRule.js +0 -7
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRules.js +0 -8
- package/dist/components/d-flow/edge/DFlowEdge.js +0 -48
- package/dist/components/d-flow/folder/DFlowFolder.d.ts +0 -19
- package/dist/components/d-flow/folder/DFlowFolder.js +0 -118
- package/dist/components/d-flow/folder/index.d.ts +0 -1
- package/dist/components/d-flow/folder/index.js +0 -6
- package/dist/components/d-flow/function/DFlowFunction.input.hook.js +0 -9
- package/dist/components/d-flow/function/DFlowFunction.return.hook.js +0 -11
- package/dist/components/d-flow/function/DFlowFunction.service.d.ts +0 -6
- package/dist/components/d-flow/function/DFlowFunction.service.js +0 -9
- package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.d.ts +0 -10
- package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.js +0 -75
- package/dist/components/d-flow/function/DFlowFunction.view.js +0 -117
- package/dist/components/d-flow/function/DFlowFunctionDefaultCard.js +0 -158
- package/dist/components/d-flow/function/DFlowFunctionGroupCard.d.ts +0 -5
- package/dist/components/d-flow/function/DFlowFunctionGroupCard.js +0 -55
- package/dist/components/d-flow/function/DFlowFunctionSuggestionCard.js +0 -26
- package/dist/components/d-flow/function/DFlowFunctionTriggerCard.js +0 -97
- package/dist/components/d-flow/input/DFlowInputDataType.js +0 -422
- package/dist/components/d-flow/minimap/DFlowMiniMap.js +0 -21
- package/dist/components/d-flow/minimap/index.d.ts +0 -1
- package/dist/components/d-flow/minimap/index.js +0 -4
- package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.d.ts +0 -33
- package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.js +0 -151
- package/dist/components/d-flow/suggestion/DFlowSuggestion.service.d.ts +0 -5
- package/dist/components/d-flow/suggestion/DFlowSuggestion.service.js +0 -18
- package/dist/components/d-flow/suggestion/DFlowSuggestion.view.d.ts +0 -21
- package/dist/components/d-flow/suggestion/DFlowSuggestion.view.js +0 -25
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.js +0 -67
- package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.js +0 -21
- package/dist/components/d-flow/suggestion/index.d.ts +0 -2
- package/dist/components/d-flow/suggestion/index.js +0 -7
- package/dist/components/d-flow/tab/DFlowTabDefault.d.ts +0 -11
- package/dist/components/d-flow/tab/DFlowTabDefault.js +0 -97
- package/dist/components/d-flow/tab/DFlowTabTrigger.js +0 -51
- package/dist/components/d-flow/tab/DFlowTabs.d.ts +0 -2
- package/dist/components/d-flow/tab/DFlowTabs.js +0 -105
- package/dist/components/d-flow/type/DFlowType.service.d.ts +0 -6
- package/dist/components/d-flow/type/DFlowType.service.js +0 -9
- package/dist/components/d-flow/type/DFlowType.view.js +0 -69
- package/dist/components/d-flow/validation/DFlowValidation.hook.d.ts +0 -3
- package/dist/components/d-flow/validation/DFlowValidation.hook.js +0 -10
- package/dist/components/d-flow/validation/DFlowValidation.js +0 -59
- package/dist/components/d-namespace/license/DNamespaceLicense.service.d.ts +0 -8
- package/dist/components/d-namespace/license/DNamespaceLicense.service.js +0 -11
- package/dist/components/d-namespace/member/DNamespaceMember.service.d.ts +0 -9
- package/dist/components/d-namespace/member/DNamespaceMember.service.js +0 -11
- package/dist/components/d-namespace/project/DNamespaceProject.service.d.ts +0 -9
- package/dist/components/d-namespace/project/DNamespaceProject.service.js +0 -11
- package/dist/components/d-namespace/project/DNamespaceProjectCard.d.ts +0 -9
- package/dist/components/d-namespace/project/DNamespaceProjectCard.js +0 -57
- package/dist/components/d-namespace/project/DNamespaceProjectMenu.d.ts +0 -9
- package/dist/components/d-namespace/project/DNamespaceProjectMenu.js +0 -18
- package/dist/components/d-namespace/role/DNamespaceRole.service.d.ts +0 -10
- package/dist/components/d-namespace/role/DNamespaceRole.service.js +0 -11
- /package/dist/assets/{Col.css → components/col/Col.style.css} +0 -0
- /package/dist/assets/{Container.css → components/container/Container.style.css} +0 -0
- /package/dist/assets/{DFullScreen.css → components/d-fullscreen/DFullScreen.style.css} +0 -0
- /package/dist/assets/{Flex.css → components/flex/Flex.style.css} +0 -0
- /package/dist/assets/{Quote.css → components/quote/Quote.style.css} +0 -0
- /package/dist/assets/{Row.css → components/row/Row.style.css} +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/index.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeItemOfCollectionRule.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeItemOfCollectionRule.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeNumberRangeRule.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeNumberRangeRule.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRegexRule.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRegexRule.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRule.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRules.d.ts +0 -0
- /package/dist/components/{d-flow/function → d-flow-function}/index.d.ts +0 -0
- /package/dist/components/{d-flow/function → d-flow-function}/index.js +0 -0
- /package/dist/components/{d-flow/minimap → d-flow-panel}/DFlowMiniMap.d.ts +0 -0
- /package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.d.ts +0 -0
- /package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuFooter.d.ts +0 -0
- /package/dist/components/{d-flow/type → d-flow-type}/index.d.ts +0 -0
- /package/dist/components/{d-flow/type → d-flow-type}/index.js +0 -0
- /package/dist/components/{d-flow/validation → d-flow-validation}/DFlowValidation.d.ts +0 -0
- /package/dist/components/{d-flow/validation → d-flow-validation}/index.d.ts +0 -0
- /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.d.ts +0 -0
- /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.js +0 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { jsx as c, jsxs as u } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import "../../utils/contextStore.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { mergeCode0Props as i } from "../../utils/utils.js";
|
|
6
|
+
import { ContextMenu as A, ContextMenuTrigger as L, ContextMenuPortal as P, ContextMenuContent as G, ContextMenuSub as j, ContextMenuSubTrigger as v, ContextMenuSubContent as D, ContextMenuItem as W, ContextMenuSeparator as B, ContextMenuLabel as E, ContextMenuGroup as F, ContextMenuArrow as R } from "../../node_modules/@radix-ui/react-context-menu/dist/index.js";
|
|
7
|
+
import '../../assets/components/context-menu/ContextMenu.style.css';/* empty css */
|
|
8
|
+
import { Card as $ } from "../card/Card.js";
|
|
9
|
+
import { Flex as g } from "../flex/Flex.js";
|
|
10
|
+
import { Badge as M } from "../badge/Badge.js";
|
|
11
|
+
import { IconArrowUp as y, IconArrowDown as w, IconCornerDownLeft as z } from "@tabler/icons-react";
|
|
12
|
+
import { Spacing as I } from "../spacing/Spacing.js";
|
|
13
|
+
const Z = (t) => {
|
|
14
|
+
const e = r.c(4);
|
|
15
|
+
let o;
|
|
16
|
+
e[0] !== t ? (o = i("context-menu", t), e[0] = t, e[1] = o) : o = e[1];
|
|
17
|
+
const l = o;
|
|
18
|
+
let n;
|
|
19
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(A, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
20
|
+
}, p = (t) => {
|
|
21
|
+
const e = r.c(4);
|
|
22
|
+
let o;
|
|
23
|
+
e[0] !== t ? (o = i("context-menu__trigger", t), e[0] = t, e[1] = o) : o = e[1];
|
|
24
|
+
const l = o;
|
|
25
|
+
let n;
|
|
26
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(L, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
27
|
+
}, ee = (t) => {
|
|
28
|
+
const e = r.c(4);
|
|
29
|
+
let o;
|
|
30
|
+
e[0] !== t ? (o = i("context-menu__portal", t), e[0] = t, e[1] = o) : o = e[1];
|
|
31
|
+
const l = o;
|
|
32
|
+
let n;
|
|
33
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(P, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
34
|
+
}, te = (t) => {
|
|
35
|
+
const e = r.c(17), o = t.align, l = `context-menu__content context-menu__content--${t.color ?? "secondary"}`;
|
|
36
|
+
let n;
|
|
37
|
+
e[0] !== t || e[1] !== l ? (n = i(l, t), e[0] = t, e[1] = l, e[2] = n) : n = e[2];
|
|
38
|
+
const b = n;
|
|
39
|
+
let s;
|
|
40
|
+
e[3] === Symbol.for("react.memo_cache_sentinel") ? (s = {
|
|
41
|
+
borderWidth: "2px"
|
|
42
|
+
}, e[3] = s) : s = e[3];
|
|
43
|
+
let m;
|
|
44
|
+
e[4] !== t.children ? (m = /* @__PURE__ */ c($, { paddingSize: "xxs", mt: -0.35, mx: -0.35, style: s, children: t.children }), e[4] = t.children, e[5] = m) : m = e[5];
|
|
45
|
+
let a;
|
|
46
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (a = {
|
|
47
|
+
gap: ".35rem"
|
|
48
|
+
}, e[6] = a) : a = e[6];
|
|
49
|
+
let x;
|
|
50
|
+
e[7] === Symbol.for("react.memo_cache_sentinel") ? (x = {
|
|
51
|
+
gap: "0.35rem"
|
|
52
|
+
}, e[7] = x) : x = e[7];
|
|
53
|
+
let f;
|
|
54
|
+
e[8] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ c(M, { border: !0, children: /* @__PURE__ */ c(y, { size: 12 }) }), e[8] = f) : f = e[8];
|
|
55
|
+
let _, d;
|
|
56
|
+
e[9] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ u(g, { align: "center", style: x, children: [
|
|
57
|
+
/* @__PURE__ */ u(g, { children: [
|
|
58
|
+
f,
|
|
59
|
+
/* @__PURE__ */ c(M, { border: !0, children: /* @__PURE__ */ c(w, { size: 12 }) })
|
|
60
|
+
] }),
|
|
61
|
+
"move"
|
|
62
|
+
] }), _ = /* @__PURE__ */ c(I, { spacing: "xxs" }), e[9] = _, e[10] = d) : (_ = e[9], d = e[10]);
|
|
63
|
+
let C;
|
|
64
|
+
e[11] === Symbol.for("react.memo_cache_sentinel") ? (C = {
|
|
65
|
+
gap: ".35rem"
|
|
66
|
+
}, e[11] = C) : C = e[11];
|
|
67
|
+
let h;
|
|
68
|
+
e[12] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ c(T, { children: /* @__PURE__ */ u(g, { style: a, children: [
|
|
69
|
+
d,
|
|
70
|
+
_,
|
|
71
|
+
/* @__PURE__ */ u(g, { align: "center", style: C, children: [
|
|
72
|
+
/* @__PURE__ */ c(M, { border: !0, children: /* @__PURE__ */ c(z, { size: 12 }) }),
|
|
73
|
+
"select"
|
|
74
|
+
] })
|
|
75
|
+
] }) }), e[12] = h) : h = e[12];
|
|
76
|
+
let S;
|
|
77
|
+
return e[13] !== t.align || e[14] !== b || e[15] !== m ? (S = /* @__PURE__ */ u(G, { align: o, ...b, children: [
|
|
78
|
+
m,
|
|
79
|
+
h
|
|
80
|
+
] }), e[13] = t.align, e[14] = b, e[15] = m, e[16] = S) : S = e[16], S;
|
|
81
|
+
}, T = (t) => {
|
|
82
|
+
const e = r.c(4);
|
|
83
|
+
let o;
|
|
84
|
+
e[0] !== t ? (o = i("context-menu__label", t), e[0] = t, e[1] = o) : o = e[1];
|
|
85
|
+
const l = o;
|
|
86
|
+
let n;
|
|
87
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(E, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
88
|
+
}, ne = (t) => {
|
|
89
|
+
const e = r.c(4);
|
|
90
|
+
let o;
|
|
91
|
+
e[0] !== t ? (o = i("context-menu__item", t), e[0] = t, e[1] = o) : o = e[1];
|
|
92
|
+
const l = o;
|
|
93
|
+
let n;
|
|
94
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(W, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
95
|
+
}, oe = (t) => {
|
|
96
|
+
const e = r.c(4);
|
|
97
|
+
let o;
|
|
98
|
+
e[0] !== t ? (o = i("context-menu__group", t), e[0] = t, e[1] = o) : o = e[1];
|
|
99
|
+
const l = o;
|
|
100
|
+
let n;
|
|
101
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(F, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
102
|
+
}, le = (t) => {
|
|
103
|
+
const e = r.c(4);
|
|
104
|
+
let o;
|
|
105
|
+
e[0] !== t ? (o = i("context-menu__sub", t), e[0] = t, e[1] = o) : o = e[1];
|
|
106
|
+
const l = o;
|
|
107
|
+
let n;
|
|
108
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(j, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
109
|
+
}, ce = (t) => {
|
|
110
|
+
const e = r.c(4);
|
|
111
|
+
let o;
|
|
112
|
+
e[0] !== t ? (o = i("context-menu__sub-trigger", t), e[0] = t, e[1] = o) : o = e[1];
|
|
113
|
+
const l = o;
|
|
114
|
+
let n;
|
|
115
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(v, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
116
|
+
}, re = (t) => {
|
|
117
|
+
const e = r.c(16), o = `context-menu__sub-content context-menu__sub-content--${t.color ?? "secondary"}`;
|
|
118
|
+
let l;
|
|
119
|
+
e[0] !== t || e[1] !== o ? (l = i(o, t), e[0] = t, e[1] = o, e[2] = l) : l = e[2];
|
|
120
|
+
const n = l;
|
|
121
|
+
let b;
|
|
122
|
+
e[3] === Symbol.for("react.memo_cache_sentinel") ? (b = {
|
|
123
|
+
borderWidth: "2px"
|
|
124
|
+
}, e[3] = b) : b = e[3];
|
|
125
|
+
let s;
|
|
126
|
+
e[4] !== t.children ? (s = /* @__PURE__ */ c($, { paddingSize: "xxs", mt: -0.35, mx: -0.35, style: b, children: t.children }), e[4] = t.children, e[5] = s) : s = e[5];
|
|
127
|
+
let m;
|
|
128
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
129
|
+
gap: ".35rem"
|
|
130
|
+
}, e[6] = m) : m = e[6];
|
|
131
|
+
let a;
|
|
132
|
+
e[7] === Symbol.for("react.memo_cache_sentinel") ? (a = {
|
|
133
|
+
gap: "0.35rem"
|
|
134
|
+
}, e[7] = a) : a = e[7];
|
|
135
|
+
let x;
|
|
136
|
+
e[8] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ c(M, { border: !0, children: /* @__PURE__ */ c(y, { size: 12 }) }), e[8] = x) : x = e[8];
|
|
137
|
+
let f, _;
|
|
138
|
+
e[9] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ u(g, { align: "center", style: a, children: [
|
|
139
|
+
/* @__PURE__ */ u(g, { children: [
|
|
140
|
+
x,
|
|
141
|
+
/* @__PURE__ */ c(M, { border: !0, children: /* @__PURE__ */ c(w, { size: 12 }) })
|
|
142
|
+
] }),
|
|
143
|
+
"move"
|
|
144
|
+
] }), _ = /* @__PURE__ */ c(I, { spacing: "xxs" }), e[9] = f, e[10] = _) : (f = e[9], _ = e[10]);
|
|
145
|
+
let d;
|
|
146
|
+
e[11] === Symbol.for("react.memo_cache_sentinel") ? (d = {
|
|
147
|
+
gap: ".35rem"
|
|
148
|
+
}, e[11] = d) : d = e[11];
|
|
149
|
+
let C;
|
|
150
|
+
e[12] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ c(T, { children: /* @__PURE__ */ u(g, { style: m, children: [
|
|
151
|
+
f,
|
|
152
|
+
_,
|
|
153
|
+
/* @__PURE__ */ u(g, { align: "center", style: d, children: [
|
|
154
|
+
/* @__PURE__ */ c(M, { border: !0, children: /* @__PURE__ */ c(z, { size: 12 }) }),
|
|
155
|
+
"select"
|
|
156
|
+
] })
|
|
157
|
+
] }) }), e[12] = C) : C = e[12];
|
|
158
|
+
let h;
|
|
159
|
+
return e[13] !== n || e[14] !== s ? (h = /* @__PURE__ */ u(D, { ...n, children: [
|
|
160
|
+
s,
|
|
161
|
+
C
|
|
162
|
+
] }), e[13] = n, e[14] = s, e[15] = h) : h = e[15], h;
|
|
163
|
+
}, ie = (t) => {
|
|
164
|
+
const e = r.c(4);
|
|
165
|
+
let o;
|
|
166
|
+
e[0] !== t ? (o = i("context-menu__separator", t), e[0] = t, e[1] = o) : o = e[1];
|
|
167
|
+
const l = o;
|
|
168
|
+
let n;
|
|
169
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(B, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
170
|
+
}, se = (t) => {
|
|
171
|
+
const e = r.c(4);
|
|
172
|
+
let o;
|
|
173
|
+
e[0] !== t ? (o = i("context-menu__arrow", t), e[0] = t, e[1] = o) : o = e[1];
|
|
174
|
+
const l = o;
|
|
175
|
+
let n;
|
|
176
|
+
return e[2] !== l ? (n = /* @__PURE__ */ c(R, { ...l }), e[2] = l, e[3] = n) : n = e[3], n;
|
|
177
|
+
};
|
|
178
|
+
export {
|
|
179
|
+
Z as ContextMenu,
|
|
180
|
+
se as ContextMenuArrow,
|
|
181
|
+
te as ContextMenuContent,
|
|
182
|
+
oe as ContextMenuGroup,
|
|
183
|
+
ne as ContextMenuItem,
|
|
184
|
+
T as ContextMenuLabel,
|
|
185
|
+
ee as ContextMenuPortal,
|
|
186
|
+
ie as ContextMenuSeparator,
|
|
187
|
+
le as ContextMenuSub,
|
|
188
|
+
re as ContextMenuSubContent,
|
|
189
|
+
ce as ContextMenuSubTrigger,
|
|
190
|
+
p as ContextMenuTrigger
|
|
191
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ReactiveArrayService } from '../../utils';
|
|
2
|
+
import { Application, ApplicationSettingsUpdateInput, ApplicationSettingsUpdatePayload } from '@code0-tech/sagittarius-graphql-types';
|
|
3
|
+
export declare abstract class DApplicationService extends ReactiveArrayService<Application> {
|
|
4
|
+
abstract settingsUpdate(payload: ApplicationSettingsUpdateInput): Promise<ApplicationSettingsUpdatePayload | undefined>;
|
|
5
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { Code0ComponentProps } from '../../utils
|
|
2
|
-
import { ReactFlowProps } from '@xyflow/react';
|
|
1
|
+
import { Code0ComponentProps } from '../../utils';
|
|
3
2
|
import { default as React } from 'react';
|
|
4
|
-
|
|
3
|
+
import { Flow, Namespace, NamespaceProject } from '@code0-tech/sagittarius-graphql-types';
|
|
4
|
+
export interface DFlowProps extends Code0ComponentProps {
|
|
5
|
+
flowId: Flow['id'];
|
|
6
|
+
namespaceId: Namespace['id'];
|
|
7
|
+
projectId: NamespaceProject['id'];
|
|
8
|
+
}
|
|
5
9
|
export declare const DFlow: React.FC<DFlowProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Edge } from '@xyflow/react';
|
|
2
|
-
import { Flow } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
+
import { Flow, Namespace, NamespaceProject } from '@code0-tech/sagittarius-graphql-types';
|
|
3
|
+
import { DFlowEdgeDataProps } from './DFlowEdge';
|
|
3
4
|
export declare const FLOW_EDGE_RAINBOW: string[];
|
|
4
|
-
export declare const useFlowEdges: (flowId: Flow["id"]) => Edge[];
|
|
5
|
+
export declare const useFlowEdges: (flowId: Flow["id"], namespaceId?: Namespace["id"], projectId?: NamespaceProject["id"]) => Edge<DFlowEdgeDataProps>[];
|
|
@@ -1,145 +1,109 @@
|
|
|
1
|
-
import { useService as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
// 7 – Gelb
|
|
25
|
-
], z = (T) => {
|
|
26
|
-
const I = D(v), x = D(y), E = D(N), c = I.getById(T), F = S(v), B = S(y), P = S(N);
|
|
27
|
-
if (!c) return [];
|
|
28
|
-
const n = [], d = /* @__PURE__ */ new Map();
|
|
29
|
-
let m = 0;
|
|
30
|
-
const b = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), R = (o, a = b) => (a.has(o) || a.set(o, x.getById(o)), a.get(o)), M = (o, a = h) => (a.has(o) || a.set(o, E.getDataType(o)), a.get(o)), u = (o, a, i = 0, g = b, p = h) => {
|
|
31
|
-
const e = `${o.id}-${m++}`;
|
|
32
|
-
if (m == 1 && n.push({
|
|
33
|
-
id: `trigger-${e}-next`,
|
|
34
|
-
source: c.id,
|
|
35
|
-
// Handle-Bottom des Trigger-Nodes
|
|
36
|
-
target: e,
|
|
37
|
-
// Handle-Top der Function-Card
|
|
38
|
-
data: {
|
|
39
|
-
color: s[i % s.length],
|
|
40
|
-
isParameter: !1
|
|
41
|
-
},
|
|
42
|
-
deletable: !1,
|
|
43
|
-
selectable: !1
|
|
44
|
-
}), a) {
|
|
45
|
-
const t = d.get(a) ?? [];
|
|
46
|
-
t.length > 0 ? t.forEach((r, l) => n.push({
|
|
47
|
-
id: `${r}-${e}-next-${l}`,
|
|
48
|
-
source: r,
|
|
49
|
-
// Handle-Bottom der Group-Card
|
|
50
|
-
target: e,
|
|
51
|
-
// Handle-Top der Function-Card
|
|
52
|
-
data: {
|
|
53
|
-
color: s[i % s.length],
|
|
54
|
-
isParameter: !1
|
|
55
|
-
},
|
|
56
|
-
deletable: !1,
|
|
57
|
-
selectable: !1
|
|
58
|
-
})) : n.push({
|
|
59
|
-
id: `${a}-${e}-next`,
|
|
60
|
-
source: a,
|
|
61
|
-
// Handle-Bottom der Function-Card
|
|
62
|
-
target: e,
|
|
63
|
-
// Handle-Top der Function-Card
|
|
1
|
+
import { useService as h, useStore as S } from "../../utils/contextStore.js";
|
|
2
|
+
import N from "react";
|
|
3
|
+
import "merge-props";
|
|
4
|
+
import { DFlowReactiveService as T } from "./DFlow.service.js";
|
|
5
|
+
import { DFlowFunctionReactiveService as B } from "../d-flow-function/DFlowFunction.service.js";
|
|
6
|
+
import { hashToColor as x } from "./DFlow.util.js";
|
|
7
|
+
import { DFlowDataTypeReactiveService as E } from "../d-flow-data-type/DFlowDataType.service.js";
|
|
8
|
+
const u = ["rgba(255, 255, 255, 0.25)"], J = (a, _, M) => {
|
|
9
|
+
const l = h(T), F = S(T), R = h(B), W = S(B), O = h(E), w = S(E), n = N.useMemo(() => l.getById(a, {
|
|
10
|
+
namespaceId: _,
|
|
11
|
+
projectId: M
|
|
12
|
+
}), [a, F]);
|
|
13
|
+
return N.useMemo(() => {
|
|
14
|
+
if (!n) return [];
|
|
15
|
+
const d = [], p = /* @__PURE__ */ new Map();
|
|
16
|
+
let v = 0;
|
|
17
|
+
const b = /* @__PURE__ */ new Map(), D = /* @__PURE__ */ new Map(), G = (e, o = b) => (o.has(e) || o.set(e, R.getById(e)), o.get(e)), A = (e, o = D) => (o.has(e) || o.set(e, O.getDataType(e)), o.get(e)), f = (e, o, g, c = 0, m = b, y = D) => {
|
|
18
|
+
if (!e) return "";
|
|
19
|
+
const t = `${e.id}-${v++}`;
|
|
20
|
+
if (v == 1 && d.push({
|
|
21
|
+
id: `trigger-${t}-next`,
|
|
22
|
+
source: n.id,
|
|
23
|
+
target: t,
|
|
64
24
|
data: {
|
|
65
|
-
color:
|
|
66
|
-
|
|
25
|
+
color: u[c % u.length],
|
|
26
|
+
type: "default",
|
|
27
|
+
flowId: a,
|
|
28
|
+
parentNodeId: o?.id
|
|
67
29
|
},
|
|
68
30
|
deletable: !1,
|
|
69
31
|
selectable: !1
|
|
70
|
-
})
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
32
|
+
}), g) {
|
|
33
|
+
const i = p.get(g) ?? [];
|
|
34
|
+
i.length > 0 ? i.forEach((r, $) => d.push({
|
|
35
|
+
id: `${r}-${t}-next-${$}`,
|
|
36
|
+
source: r,
|
|
37
|
+
target: t,
|
|
38
|
+
data: {
|
|
39
|
+
color: u[c % u.length],
|
|
40
|
+
type: "default",
|
|
41
|
+
flowId: a,
|
|
42
|
+
parentNodeId: o?.id
|
|
43
|
+
},
|
|
44
|
+
deletable: !1,
|
|
45
|
+
selectable: !1
|
|
46
|
+
})) : d.push({
|
|
47
|
+
id: `${g}-${t}-next`,
|
|
48
|
+
source: g,
|
|
49
|
+
target: t,
|
|
50
|
+
data: {
|
|
51
|
+
color: u[c % u.length],
|
|
52
|
+
type: "default",
|
|
53
|
+
flowId: a,
|
|
54
|
+
parentNodeId: o?.id
|
|
55
|
+
},
|
|
56
|
+
deletable: !1,
|
|
57
|
+
selectable: !1
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
return e.parameters?.nodes?.forEach((i) => {
|
|
61
|
+
const r = i?.value, $ = G(e.functionDefinition?.id, m)?.parameterDefinitions?.find((s) => s.id === i?.id), I = $?.dataTypeIdentifier, H = I ? A(I, y) : void 0;
|
|
62
|
+
if (r) {
|
|
63
|
+
if (H?.variant === "NODE") {
|
|
64
|
+
if (r && r.__typename === "NodeFunctionIdWrapper") {
|
|
65
|
+
const s = `${t}-group-${v++}`;
|
|
66
|
+
d.push({
|
|
67
|
+
id: `${t}-${s}-param-${i.id}`,
|
|
68
|
+
source: t,
|
|
69
|
+
target: s,
|
|
70
|
+
deletable: !1,
|
|
71
|
+
selectable: !1,
|
|
72
|
+
animated: !0,
|
|
73
|
+
label: $?.names[0]?.content ?? i.id,
|
|
74
|
+
data: {
|
|
75
|
+
color: x(r?.id || ""),
|
|
76
|
+
type: "group",
|
|
77
|
+
flowId: a,
|
|
78
|
+
parentNodeId: o?.id
|
|
79
|
+
}
|
|
80
|
+
}), (p.get(t) ?? (p.set(t, []), p.get(t))).push(s), f(l.getNodeById(a, r.id), e, void 0, c + 1, m, y);
|
|
104
81
|
}
|
|
105
|
-
})
|
|
82
|
+
} else if (r && r.__typename === "NodeFunctionIdWrapper") {
|
|
83
|
+
const s = f(l.getNodeById(a, r.id), e, void 0, c + 1, m, y);
|
|
84
|
+
d.push({
|
|
85
|
+
id: `${s}-${t}-param-${i.id}`,
|
|
86
|
+
source: s,
|
|
87
|
+
target: t,
|
|
88
|
+
targetHandle: `param-${i.id}`,
|
|
89
|
+
animated: !0,
|
|
90
|
+
deletable: !1,
|
|
91
|
+
selectable: !1,
|
|
92
|
+
data: {
|
|
93
|
+
color: x(r?.id || ""),
|
|
94
|
+
type: "parameter",
|
|
95
|
+
flowId: a,
|
|
96
|
+
parentNodeId: o?.id
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
}
|
|
106
100
|
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
const t = `${e}-suggestion`, r = d.get(e) ?? [];
|
|
112
|
-
r.length > 0 ? r.forEach((l, $) => n.push({
|
|
113
|
-
id: `${l}-${t}-next-${$}`,
|
|
114
|
-
source: l,
|
|
115
|
-
// wie bei echter nextNode von Group-Card starten
|
|
116
|
-
target: t,
|
|
117
|
-
// Ziel ist die Suggestion-Card
|
|
118
|
-
data: {
|
|
119
|
-
color: s[i % s.length],
|
|
120
|
-
isSuggestion: !0
|
|
121
|
-
},
|
|
122
|
-
deletable: !1,
|
|
123
|
-
selectable: !1
|
|
124
|
-
})) : n.push({
|
|
125
|
-
id: `${e}-${t}-next`,
|
|
126
|
-
source: e,
|
|
127
|
-
// Handle-Bottom der Function-Card
|
|
128
|
-
target: t,
|
|
129
|
-
// Handle-Top der Suggestion-Card
|
|
130
|
-
data: {
|
|
131
|
-
color: s[i % s.length],
|
|
132
|
-
isSuggestion: !0
|
|
133
|
-
},
|
|
134
|
-
deletable: !1,
|
|
135
|
-
selectable: !1
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
return e;
|
|
139
|
-
};
|
|
140
|
-
return c.startingNodeId && u(c.getNodeById(c.startingNodeId), void 0, 0, b, h), V.useMemo(() => n, [F, B, P, n]);
|
|
101
|
+
}), e.nextNodeId && f(l.getNodeById(n.id, e.nextNodeId), e, t, c, m, y), t;
|
|
102
|
+
};
|
|
103
|
+
return n.startingNodeId && f(l.getNodeById(n.id, n.startingNodeId), void 0, void 0, 0, b, D), d;
|
|
104
|
+
}, [n, F, W, w]);
|
|
141
105
|
};
|
|
142
106
|
export {
|
|
143
|
-
|
|
144
|
-
|
|
107
|
+
u as FLOW_EDGE_RAINBOW,
|
|
108
|
+
J as useFlowEdges
|
|
145
109
|
};
|