@code0-tech/pictor 0.0.0-mvp.45 → 0.0.0-mvp.47
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/components/avatar/Avatar.js +6 -7
- package/dist/components/data-table/DataTableFilterInput.js +5 -3
- package/dist/components/editor/Editor.js +29 -30
- package/dist/components/form/InputSuggestion.js +29 -29
- package/dist/components/form/useForm.d.ts +3 -3
- package/dist/components/form/useForm.js +16 -16
- package/dist/components/{d-fullscreen/DFullScreen.d.ts → fullscreen/FullScreen.d.ts} +2 -2
- package/dist/components/{d-fullscreen/DFullScreen.js → fullscreen/FullScreen.js} +2 -2
- package/dist/components/{d-layout/DLayout.d.ts → layout/Layout.d.ts} +2 -2
- package/dist/components/{d-layout/DLayout.js → layout/Layout.js} +11 -11
- package/dist/components/menu/Menu.js +8 -8
- package/dist/components/resizable/Resizable.d.ts +12 -0
- package/dist/components/{d-resizable/DResizable.js → resizable/Resizable.js} +7 -7
- package/dist/components/tab/Tab.js +4 -4
- package/dist/components/toast/Toast.js +1 -1
- package/dist/index.d.ts +0 -20
- package/dist/index.js +152 -273
- package/dist/node_modules/prettier/plugins/babel.js +6674 -6685
- package/dist/node_modules/prettier/plugins/estree.js +2830 -2628
- package/dist/node_modules/prettier/standalone.js +1657 -1440
- package/package.json +29 -29
- package/dist/assets/components/d-flow/DFlow.style.css +0 -1
- package/dist/assets/components/d-flow-folder/DFlowFolder.style.css +0 -1
- package/dist/assets/components/d-flow-input/DFlowInputDataType.style.css +0 -1
- package/dist/assets/components/d-flow-node/DFlowNode.style.css +0 -1
- package/dist/assets/components/d-flow-panel/DFlowMiniMap.style.css +0 -1
- package/dist/assets/components/d-flow-suggestion/DFlowSuggestionSearchInput.style.css +0 -1
- package/dist/assets/components/d-flow-validation/DFlowValidation.style.css +0 -1
- package/dist/assets/node_modules/@xyflow/react/dist/style.css +0 -1
- package/dist/assets/node_modules/ldrs/dist/react/LineWobble.css +0 -1
- package/dist/components/d-application/DApplication.service.d.ts +0 -9
- package/dist/components/d-application/DApplication.service.js +0 -10
- package/dist/components/d-flow/DFlow.d.ts +0 -9
- package/dist/components/d-flow/DFlow.edges.hook.d.ts +0 -4
- package/dist/components/d-flow/DFlow.edges.hook.js +0 -110
- package/dist/components/d-flow/DFlow.js +0 -484
- package/dist/components/d-flow/DFlow.nodes.hook.d.ts +0 -4
- package/dist/components/d-flow/DFlow.nodes.hook.js +0 -128
- package/dist/components/d-flow/DFlow.service.d.ts +0 -21
- package/dist/components/d-flow/DFlow.service.js +0 -148
- package/dist/components/d-flow/DFlow.util.d.ts +0 -4
- package/dist/components/d-flow/DFlow.util.js +0 -63
- package/dist/components/d-flow/DFlow.view.d.ts +0 -4
- package/dist/components/d-flow/DFlow.view.js +0 -1
- package/dist/components/d-flow/DFlowEdge.d.ts +0 -12
- package/dist/components/d-flow/DFlowEdge.js +0 -69
- package/dist/components/d-flow/index.d.ts +0 -4
- package/dist/components/d-flow/index.js +0 -10
- package/dist/components/d-flow-data-type/DFlowDataType.service.d.ts +0 -15
- package/dist/components/d-flow-data-type/DFlowDataType.service.js +0 -203
- package/dist/components/d-flow-data-type/DFlowDataType.view.d.ts +0 -41
- package/dist/components/d-flow-data-type/DFlowDataType.view.js +0 -76
- package/dist/components/d-flow-data-type/index.d.ts +0 -2
- package/dist/components/d-flow-data-type/index.js +0 -6
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.d.ts +0 -5
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js +0 -222
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.d.ts +0 -5
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js +0 -229
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeItemOfCollectionRule.d.ts +0 -7
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeItemOfCollectionRule.js +0 -214
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.d.ts +0 -4
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.js +0 -214
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeParentRule.d.ts +0 -8
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeParentRule.js +0 -217
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeRegexRule.d.ts +0 -4
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeRegexRule.js +0 -214
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.d.ts +0 -7
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js +0 -250
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeRule.d.ts +0 -8
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeRule.js +0 -10
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeRules.d.ts +0 -3
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeRules.js +0 -10
- package/dist/components/d-flow-data-type/variants/DFlowDataTypeNodeVariant.d.ts +0 -4
- package/dist/components/d-flow-data-type/variants/DFlowDataTypeNodeVariant.js +0 -214
- package/dist/components/d-flow-data-type/variants/DFlowDataTypeVariant.d.ts +0 -4
- package/dist/components/d-flow-data-type/variants/DFlowDataTypeVariant.js +0 -1
- package/dist/components/d-flow-data-type/variants/DFlowDataTypeVariants.d.ts +0 -3
- package/dist/components/d-flow-data-type/variants/DFlowDataTypeVariants.js +0 -5
- package/dist/components/d-flow-file/DFlowTabDefault.d.ts +0 -7
- package/dist/components/d-flow-file/DFlowTabDefault.js +0 -105
- package/dist/components/d-flow-file/DFlowTabTrigger.d.ts +0 -6
- package/dist/components/d-flow-file/DFlowTabTrigger.js +0 -75
- package/dist/components/d-flow-file/DFlowTabs.d.ts +0 -8
- package/dist/components/d-flow-file/DFlowTabs.js +0 -84
- package/dist/components/d-flow-file/index.d.ts +0 -1
- package/dist/components/d-flow-file/index.js +0 -4
- package/dist/components/d-flow-folder/DFlowFolder.d.ts +0 -36
- package/dist/components/d-flow-folder/DFlowFolder.js +0 -273
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.d.ts +0 -18
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +0 -53
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.d.ts +0 -9
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +0 -115
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.d.ts +0 -10
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +0 -64
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.d.ts +0 -5
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +0 -51
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.d.ts +0 -10
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +0 -59
- package/dist/components/d-flow-folder/index.d.ts +0 -4
- package/dist/components/d-flow-folder/index.js +0 -13
- package/dist/components/d-flow-function/DFlowFunction.input.hook.d.ts +0 -5
- package/dist/components/d-flow-function/DFlowFunction.input.hook.js +0 -8
- package/dist/components/d-flow-function/DFlowFunction.return.hook.d.ts +0 -5
- package/dist/components/d-flow-function/DFlowFunction.return.hook.js +0 -9
- package/dist/components/d-flow-function/DFlowFunction.service.d.ts +0 -11
- package/dist/components/d-flow-function/DFlowFunction.service.js +0 -13
- package/dist/components/d-flow-function/DFlowFunction.view.d.ts +0 -81
- package/dist/components/d-flow-function/DFlowFunction.view.js +0 -139
- package/dist/components/d-flow-function/index.d.ts +0 -2
- package/dist/components/d-flow-function/index.js +0 -7
- package/dist/components/d-flow-input/DFlowInputDataType.d.ts +0 -15
- package/dist/components/d-flow-input/DFlowInputDataType.js +0 -131
- package/dist/components/d-flow-input/DFlowInputDataTypeEditDialog.d.ts +0 -9
- package/dist/components/d-flow-input/DFlowInputDataTypeEditDialog.js +0 -102
- package/dist/components/d-flow-input/DFlowInputDefault.d.ts +0 -10
- package/dist/components/d-flow-input/DFlowInputDefault.js +0 -129
- package/dist/components/d-flow-input/DFlowInputLiteralBadge.d.ts +0 -7
- package/dist/components/d-flow-input/DFlowInputLiteralBadge.js +0 -24
- package/dist/components/d-flow-input/DFlowInputNodeBadge.d.ts +0 -11
- package/dist/components/d-flow-input/DFlowInputNodeBadge.js +0 -47
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.d.ts +0 -11
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +0 -33
- package/dist/components/d-flow-node/DFlowNode.d.ts +0 -10
- package/dist/components/d-flow-node/DFlowNode.js +0 -1
- package/dist/components/d-flow-node/DFlowNode.return.hook.d.ts +0 -5
- package/dist/components/d-flow-node/DFlowNode.return.hook.js +0 -27
- package/dist/components/d-flow-node/DFlowNodeDefaultCard.d.ts +0 -5
- package/dist/components/d-flow-node/DFlowNodeDefaultCard.js +0 -118
- package/dist/components/d-flow-node/DFlowNodeGroupCard.d.ts +0 -5
- package/dist/components/d-flow-node/DFlowNodeGroupCard.js +0 -69
- package/dist/components/d-flow-node/DFlowNodeTriggerCard.d.ts +0 -5
- package/dist/components/d-flow-node/DFlowNodeTriggerCard.js +0 -66
- package/dist/components/d-flow-panel/DFlowExport.d.ts +0 -6
- package/dist/components/d-flow-panel/DFlowExport.js +0 -33
- package/dist/components/d-flow-panel/DFlowMiniMap.d.ts +0 -2
- package/dist/components/d-flow-panel/DFlowMiniMap.js +0 -15
- package/dist/components/d-flow-panel/DFlowPanelControl.d.ts +0 -6
- package/dist/components/d-flow-panel/DFlowPanelControl.js +0 -51
- package/dist/components/d-flow-panel/DFlowPanelLayout.d.ts +0 -4
- package/dist/components/d-flow-panel/DFlowPanelLayout.js +0 -38
- package/dist/components/d-flow-panel/DFlowPanelSize.d.ts +0 -2
- package/dist/components/d-flow-panel/DFlowPanelSize.js +0 -89
- package/dist/components/d-flow-panel/DFlowPanelUpdate.d.ts +0 -6
- package/dist/components/d-flow-panel/DFlowPanelUpdate.js +0 -77
- package/dist/components/d-flow-panel/index.d.ts +0 -5
- package/dist/components/d-flow-panel/index.js +0 -12
- package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.d.ts +0 -3
- package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.js +0 -34
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.d.ts +0 -3
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +0 -50
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.d.ts +0 -3
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +0 -132
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.d.ts +0 -3
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +0 -28
- package/dist/components/d-flow-suggestion/DFlowSuggestion.view.d.ts +0 -14
- package/dist/components/d-flow-suggestion/DFlowSuggestion.view.js +0 -4
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.d.ts +0 -8
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +0 -73
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.util.d.ts +0 -3
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.util.js +0 -43
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenuFooter.d.ts +0 -2
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenuFooter.js +0 -69
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenuSearchBar.d.ts +0 -6
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenuSearchBar.js +0 -21
- package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.d.ts +0 -7
- package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +0 -36
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.d.ts +0 -3
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +0 -44
- package/dist/components/d-flow-suggestion/index.d.ts +0 -1
- package/dist/components/d-flow-suggestion/index.js +0 -4
- package/dist/components/d-flow-type/DFlowType.service.d.ts +0 -11
- package/dist/components/d-flow-type/DFlowType.service.js +0 -13
- package/dist/components/d-flow-type/DFlowType.view.d.ts +0 -44
- package/dist/components/d-flow-type/DFlowType.view.js +0 -93
- package/dist/components/d-flow-type/index.d.ts +0 -2
- package/dist/components/d-flow-type/index.js +0 -6
- package/dist/components/d-flow-validation/DDataTypeValidation.hook.d.ts +0 -2
- package/dist/components/d-flow-validation/DDataTypeValidation.hook.js +0 -18
- package/dist/components/d-flow-validation/DFlowValidation.d.ts +0 -6
- package/dist/components/d-flow-validation/DFlowValidation.hook.d.ts +0 -3
- package/dist/components/d-flow-validation/DFlowValidation.hook.js +0 -23
- package/dist/components/d-flow-validation/DFlowValidation.js +0 -67
- package/dist/components/d-flow-validation/DNodeValidation.hook.d.ts +0 -3
- package/dist/components/d-flow-validation/DNodeValidation.hook.js +0 -58
- package/dist/components/d-flow-validation/DValueValidation.hook.d.ts +0 -4
- package/dist/components/d-flow-validation/DValueValidation.hook.js +0 -9
- package/dist/components/d-flow-validation/index.d.ts +0 -2
- package/dist/components/d-flow-validation/index.js +0 -6
- package/dist/components/d-license/DNamespaceLicense.service.d.ts +0 -11
- package/dist/components/d-license/DNamespaceLicense.service.js +0 -13
- package/dist/components/d-license/DNamespaceLicense.view.d.ts +0 -26
- package/dist/components/d-license/DNamespaceLicense.view.js +0 -57
- package/dist/components/d-license/index.d.ts +0 -2
- package/dist/components/d-license/index.js +0 -6
- package/dist/components/d-member/DNamespaceMember.service.d.ts +0 -13
- package/dist/components/d-member/DNamespaceMember.service.js +0 -18
- package/dist/components/d-member/DNamespaceMember.view.d.ts +0 -29
- package/dist/components/d-member/DNamespaceMember.view.js +0 -62
- package/dist/components/d-member/DNamespaceMemberCard.d.ts +0 -10
- package/dist/components/d-member/DNamespaceMemberCard.js +0 -16
- package/dist/components/d-member/DNamespaceMemberContent.d.ts +0 -10
- package/dist/components/d-member/DNamespaceMemberContent.js +0 -225
- package/dist/components/d-member/DNamespaceMemberList.d.ts +0 -12
- package/dist/components/d-member/DNamespaceMemberList.js +0 -24
- package/dist/components/d-member/index.d.ts +0 -4
- package/dist/components/d-member/index.js +0 -10
- package/dist/components/d-namespace/DNamespace.service.d.ts +0 -6
- package/dist/components/d-namespace/DNamespace.service.js +0 -13
- package/dist/components/d-namespace/DNamespace.view.d.ts +0 -32
- package/dist/components/d-namespace/DNamespace.view.js +0 -65
- package/dist/components/d-namespace/index.d.ts +0 -2
- package/dist/components/d-namespace/index.js +0 -6
- package/dist/components/d-organization/DOrganization.service.d.ts +0 -8
- package/dist/components/d-organization/DOrganization.service.js +0 -13
- package/dist/components/d-organization/DOrganization.view.d.ts +0 -23
- package/dist/components/d-organization/DOrganization.view.js +0 -55
- package/dist/components/d-organization/DOrganizationCard.d.ts +0 -11
- package/dist/components/d-organization/DOrganizationCard.js +0 -16
- package/dist/components/d-organization/DOrganizationList.d.ts +0 -10
- package/dist/components/d-organization/DOrganizationList.js +0 -24
- package/dist/components/d-organization/DOrganizationMenu.d.ts +0 -9
- package/dist/components/d-organization/DOrganizationMenu.js +0 -18
- package/dist/components/d-organization/DOrganizatonContent.d.ts +0 -10
- package/dist/components/d-organization/DOrganizatonContent.js +0 -102
- package/dist/components/d-organization/index.d.ts +0 -5
- package/dist/components/d-organization/index.js +0 -40
- package/dist/components/d-project/DNamespaceProject.service.d.ts +0 -13
- package/dist/components/d-project/DNamespaceProject.service.js +0 -13
- package/dist/components/d-project/DNamespaceProject.view.d.ts +0 -44
- package/dist/components/d-project/DNamespaceProject.view.js +0 -78
- package/dist/components/d-project/DNamespaceProjectCard.d.ts +0 -9
- package/dist/components/d-project/DNamespaceProjectCard.js +0 -17
- package/dist/components/d-project/DNamespaceProjectContent.d.ts +0 -10
- package/dist/components/d-project/DNamespaceProjectContent.js +0 -72
- package/dist/components/d-project/DNamespaceProjectList.d.ts +0 -11
- package/dist/components/d-project/DNamespaceProjectList.js +0 -26
- package/dist/components/d-project/DNamespaceProjectMenu.d.ts +0 -13
- package/dist/components/d-project/DNamespaceProjectMenu.js +0 -57
- package/dist/components/d-project/index.d.ts +0 -5
- package/dist/components/d-project/index.js +0 -27
- package/dist/components/d-resizable/DResizable.d.ts +0 -12
- package/dist/components/d-role/DNamespaceRole.service.d.ts +0 -13
- package/dist/components/d-role/DNamespaceRole.service.js +0 -13
- package/dist/components/d-role/DNamespaceRole.view.d.ts +0 -29
- package/dist/components/d-role/DNamespaceRole.view.js +0 -61
- package/dist/components/d-role/DNamespaceRoleCard.d.ts +0 -11
- package/dist/components/d-role/DNamespaceRoleCard.js +0 -17
- package/dist/components/d-role/DNamespaceRoleContent.d.ts +0 -10
- package/dist/components/d-role/DNamespaceRoleContent.js +0 -163
- package/dist/components/d-role/DNamespaceRoleList.d.ts +0 -12
- package/dist/components/d-role/DNamespaceRoleList.js +0 -25
- package/dist/components/d-role/DNamespaceRolePermissions.d.ts +0 -5
- package/dist/components/d-role/DNamespaceRolePermissions.js +0 -123
- package/dist/components/d-role/index.d.ts +0 -4
- package/dist/components/d-role/index.js +0 -10
- package/dist/components/d-runtime/DRuntime.service.d.ts +0 -12
- package/dist/components/d-runtime/DRuntime.service.js +0 -9
- package/dist/components/d-runtime/DRuntime.view.d.ts +0 -41
- package/dist/components/d-runtime/DRuntime.view.js +0 -76
- package/dist/components/d-runtime/DRuntimeCard.d.ts +0 -9
- package/dist/components/d-runtime/DRuntimeCard.js +0 -18
- package/dist/components/d-runtime/DRuntimeContent.d.ts +0 -9
- package/dist/components/d-runtime/DRuntimeContent.js +0 -46
- package/dist/components/d-runtime/DRuntimeList.d.ts +0 -12
- package/dist/components/d-runtime/DRuntimeList.js +0 -29
- package/dist/components/d-runtime/index.d.ts +0 -4
- package/dist/components/d-runtime/index.js +0 -10
- package/dist/components/d-user/DUser.service.d.ts +0 -20
- package/dist/components/d-user/DUser.service.js +0 -18
- package/dist/components/d-user/DUser.session.hook.d.ts +0 -3
- package/dist/components/d-user/DUser.session.hook.js +0 -16
- package/dist/components/d-user/DUser.view.d.ts +0 -55
- package/dist/components/d-user/DUser.view.js +0 -103
- package/dist/components/d-user/DUserCard.d.ts +0 -8
- package/dist/components/d-user/DUserCard.js +0 -15
- package/dist/components/d-user/DUserContent.d.ts +0 -8
- package/dist/components/d-user/DUserContent.js +0 -52
- package/dist/components/d-user/DUserInput.d.ts +0 -7
- package/dist/components/d-user/DUserInput.js +0 -101
- package/dist/components/d-user/DUserList.d.ts +0 -9
- package/dist/components/d-user/DUserList.js +0 -23
- package/dist/components/d-user/DUserMenu.d.ts +0 -8
- package/dist/components/d-user/DUserMenu.js +0 -30
- package/dist/components/d-user/index.d.ts +0 -7
- package/dist/components/d-user/index.js +0 -27
- package/dist/node_modules/ldrs/dist/react/LineWobble.js +0 -6
- package/dist/utils/generics.d.ts +0 -21
- package/dist/utils/generics.js +0 -385
- /package/dist/assets/components/{d-fullscreen/DFullScreen.style.css → fullscreen/FullScreen.style.css} +0 -0
- /package/dist/assets/components/{d-layout/DLayout.style.css → layout/Layout.style.css} +0 -0
- /package/dist/assets/components/{d-resizable/DResizable.style.css → resizable/Resizable.style.css} +0 -0
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
-
import { c as k } from "../../_virtual/compiler-runtime.js";
|
|
3
|
-
import { MenuTrigger as v, MenuSeparator as C, MenuPortal as A, Menu as E } from "../menu/Menu.js";
|
|
4
|
-
import I from "react";
|
|
5
|
-
import { DFlowSuggestionMenuFooter as B } from "./DFlowSuggestionMenuFooter.js";
|
|
6
|
-
import "@radix-ui/react-checkbox";
|
|
7
|
-
import "merge-props";
|
|
8
|
-
import "js-md5";
|
|
9
|
-
import "@tabler/icons-react";
|
|
10
|
-
import '../../assets/components/form/Input.style.css';/* empty css */
|
|
11
|
-
import "../form/EmailInput.js";
|
|
12
|
-
import "../form/Input.js";
|
|
13
|
-
import { InputSuggestionMenuContentItems as L, InputSuggestionMenuContent as P } from "../form/InputSuggestion.js";
|
|
14
|
-
import "../form/NumberInput.js";
|
|
15
|
-
import "../form/PasswordInput.js";
|
|
16
|
-
import "@radix-ui/react-one-time-password-field";
|
|
17
|
-
import "@radix-ui/react-radio-group";
|
|
18
|
-
import "../form/SwitchInput.js";
|
|
19
|
-
import "../form/TextInput.js";
|
|
20
|
-
import { toInputSuggestions as U } from "./DFlowSuggestionMenu.util.js";
|
|
21
|
-
import { DFlowSuggestionMenuSearchBar as $ } from "./DFlowSuggestionMenuSearchBar.js";
|
|
22
|
-
const ue = (R) => {
|
|
23
|
-
const e = k.c(25), {
|
|
24
|
-
suggestions: f,
|
|
25
|
-
triggerContent: M,
|
|
26
|
-
onSuggestionSelect: x
|
|
27
|
-
} = R;
|
|
28
|
-
let c;
|
|
29
|
-
e[0] !== f ? (c = f === void 0 ? [] : f, e[0] = f, e[1] = c) : c = e[1];
|
|
30
|
-
const t = c, D = x === void 0 ? q : x, w = I.useRef(null), [y, F] = I.useState(t);
|
|
31
|
-
let p, g;
|
|
32
|
-
e[2] !== t ? (p = () => {
|
|
33
|
-
F(t);
|
|
34
|
-
}, g = [t], e[2] = t, e[3] = p, e[4] = g) : (p = e[3], g = e[4]), I.useEffect(p, g);
|
|
35
|
-
let i;
|
|
36
|
-
e[5] !== M ? (i = /* @__PURE__ */ r(v, { asChild: !0, children: M }), e[5] = M, e[6] = i) : i = e[6];
|
|
37
|
-
let s;
|
|
38
|
-
e[7] !== t ? (s = /* @__PURE__ */ r($, { onType: (o) => {
|
|
39
|
-
o.key === "ArrowDown" ? (o.preventDefault(), w.current?.focusFirstItem()) : o.key === "ArrowUp" && (o.preventDefault(), w.current?.focusLastItem());
|
|
40
|
-
const T = o.target.value;
|
|
41
|
-
return F(t.filter((b) => b.displayText.some((j) => j.includes(T)))), o.preventDefault(), !1;
|
|
42
|
-
} }), e[7] = t, e[8] = s) : s = e[8];
|
|
43
|
-
let a;
|
|
44
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ r(C, {}), e[9] = a) : a = e[9];
|
|
45
|
-
let n;
|
|
46
|
-
e[10] !== y ? (n = U(y), e[10] = y, e[11] = n) : n = e[11];
|
|
47
|
-
let l;
|
|
48
|
-
e[12] !== D ? (l = (o) => {
|
|
49
|
-
D(o.valueData);
|
|
50
|
-
}, e[12] = D, e[13] = l) : l = e[13];
|
|
51
|
-
let u;
|
|
52
|
-
e[14] !== n || e[15] !== l ? (u = /* @__PURE__ */ r(L, { ref: w, suggestions: n, onSuggestionSelect: l }), e[14] = n, e[15] = l, e[16] = u) : u = e[16];
|
|
53
|
-
let S, d;
|
|
54
|
-
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ r(C, {}), d = /* @__PURE__ */ r(B, {}), e[17] = S, e[18] = d) : (S = e[17], d = e[18]);
|
|
55
|
-
let m;
|
|
56
|
-
e[19] !== u || e[20] !== s ? (m = /* @__PURE__ */ r(A, { children: /* @__PURE__ */ _(P, { align: "center", children: [
|
|
57
|
-
s,
|
|
58
|
-
a,
|
|
59
|
-
u,
|
|
60
|
-
S,
|
|
61
|
-
d
|
|
62
|
-
] }) }), e[19] = u, e[20] = s, e[21] = m) : m = e[21];
|
|
63
|
-
let h;
|
|
64
|
-
return e[22] !== m || e[23] !== i ? (h = /* @__PURE__ */ _(E, { children: [
|
|
65
|
-
i,
|
|
66
|
-
m
|
|
67
|
-
] }), e[22] = m, e[23] = i, e[24] = h) : h = e[24], h;
|
|
68
|
-
};
|
|
69
|
-
function q() {
|
|
70
|
-
}
|
|
71
|
-
export {
|
|
72
|
-
ue as DFlowSuggestionMenu
|
|
73
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as T, Fragment as d } from "react/jsx-runtime";
|
|
2
|
-
import { DFlowSuggestionType as e } from "./DFlowSuggestion.view.js";
|
|
3
|
-
import { IconCircleDot as c, IconCirclesRelation as s, IconFileFunctionFilled as a } from "@tabler/icons-react";
|
|
4
|
-
import { Text as u } from "../text/Text.js";
|
|
5
|
-
const D = (p) => {
|
|
6
|
-
const f = {
|
|
7
|
-
[e.VALUE]: "Values",
|
|
8
|
-
[e.REF_OBJECT]: "Variables",
|
|
9
|
-
[e.DATA_TYPE]: "Datatypes"
|
|
10
|
-
};
|
|
11
|
-
return p.map((i) => {
|
|
12
|
-
const m = {
|
|
13
|
-
[e.FUNCTION]: /* @__PURE__ */ o(a, { color: "#70ffb2", size: 16 }),
|
|
14
|
-
[e.FUNCTION_COMBINATION]: /* @__PURE__ */ o(a, { color: "#70ffb2", size: 16 }),
|
|
15
|
-
[e.REF_OBJECT]: /* @__PURE__ */ o(s, { color: "#FFBE0B", size: 16 }),
|
|
16
|
-
[e.VALUE]: /* @__PURE__ */ o(c, { color: "#D90429", size: 16 }),
|
|
17
|
-
[e.DATA_TYPE]: /* @__PURE__ */ o(c, { color: "#D90429", size: 16 })
|
|
18
|
-
}, F = /* @__PURE__ */ T(d, { children: [
|
|
19
|
-
m[i.type],
|
|
20
|
-
/* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(u, { display: "flex", style: {
|
|
21
|
-
gap: ".5rem"
|
|
22
|
-
}, children: i.displayText.map((t, r) => /* @__PURE__ */ o("span", { children: t }, r)) }) })
|
|
23
|
-
] });
|
|
24
|
-
let n = f[i.type];
|
|
25
|
-
if (i.type === e.FUNCTION || i.type === e.FUNCTION_COMBINATION) {
|
|
26
|
-
const t = i.value.__typename === "NodeFunction" ? i.value.functionDefinition?.runtimeFunctionDefinition?.identifier : void 0;
|
|
27
|
-
if (t) {
|
|
28
|
-
const [r, l] = t.split("::");
|
|
29
|
-
r && l && (n = `${r}::${l}`);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
children: F,
|
|
34
|
-
insertMode: "replace",
|
|
35
|
-
valueData: i,
|
|
36
|
-
value: i.value,
|
|
37
|
-
groupBy: n
|
|
38
|
-
};
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
D as toInputSuggestions
|
|
43
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as y } from "../../_virtual/compiler-runtime.js";
|
|
3
|
-
import { MenuLabel as p } from "../menu/Menu.js";
|
|
4
|
-
import { IconCornerDownLeft as d, IconBulb as g, IconFileFunctionFilled as _, IconArrowsShuffle as b, IconCirclesRelation as u, IconCircleDot as x } from "@tabler/icons-react";
|
|
5
|
-
import { Text as f } from "../text/Text.js";
|
|
6
|
-
import { Flex as i } from "../flex/Flex.js";
|
|
7
|
-
import { TooltipTrigger as F, Tooltip as I, TooltipPortal as z, TooltipContent as S } from "../tooltip/Tooltip.js";
|
|
8
|
-
const O = () => {
|
|
9
|
-
const e = y.c(8);
|
|
10
|
-
let l;
|
|
11
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = {
|
|
12
|
-
gap: ".35rem"
|
|
13
|
-
}, e[0] = l) : l = e[0];
|
|
14
|
-
let o;
|
|
15
|
-
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ t(i, { align: "center", style: l, children: [
|
|
16
|
-
"Press ",
|
|
17
|
-
/* @__PURE__ */ r(d, { size: 12 }),
|
|
18
|
-
" to insert"
|
|
19
|
-
] }), e[1] = o) : o = e[1];
|
|
20
|
-
let c;
|
|
21
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ r(F, { asChild: !0, children: /* @__PURE__ */ r(g, { size: 12 }) }), e[2] = c) : c = e[2];
|
|
22
|
-
let n;
|
|
23
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = {
|
|
24
|
-
flexDirection: "column",
|
|
25
|
-
gap: ".35rem"
|
|
26
|
-
}, e[3] = n) : n = e[3];
|
|
27
|
-
let s;
|
|
28
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ t(i, { align: "center", style: {
|
|
29
|
-
gap: ".35rem"
|
|
30
|
-
}, children: [
|
|
31
|
-
/* @__PURE__ */ r(_, { color: "#70ffb2", size: 16 }),
|
|
32
|
-
/* @__PURE__ */ r(f, { hierarchy: "tertiary", size: "xs", children: "FUNCTION" })
|
|
33
|
-
] }), e[4] = s) : s = e[4];
|
|
34
|
-
let m;
|
|
35
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ t(i, { align: "center", style: {
|
|
36
|
-
gap: ".35rem"
|
|
37
|
-
}, children: [
|
|
38
|
-
/* @__PURE__ */ r(b, { color: "#29BF12", size: 16 }),
|
|
39
|
-
/* @__PURE__ */ r(f, { hierarchy: "tertiary", size: "xs", children: "FUNCTION COMBINATION" })
|
|
40
|
-
] }), e[5] = m) : m = e[5];
|
|
41
|
-
let a;
|
|
42
|
-
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ t(i, { align: "center", style: {
|
|
43
|
-
gap: ".35rem"
|
|
44
|
-
}, children: [
|
|
45
|
-
/* @__PURE__ */ r(u, { color: "#FFBE0B", size: 16 }),
|
|
46
|
-
/* @__PURE__ */ r(f, { hierarchy: "tertiary", size: "xs", children: "VARIABLE" })
|
|
47
|
-
] }), e[6] = a) : a = e[6];
|
|
48
|
-
let h;
|
|
49
|
-
return e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ r(p, { children: /* @__PURE__ */ t(i, { w: "100%", justify: "space-between", children: [
|
|
50
|
-
o,
|
|
51
|
-
/* @__PURE__ */ r(i, { ml: 1, align: "center", justify: "center", children: /* @__PURE__ */ t(I, { children: [
|
|
52
|
-
c,
|
|
53
|
-
/* @__PURE__ */ r(z, { children: /* @__PURE__ */ r(S, { align: "center", side: "right", sideOffset: 8, children: /* @__PURE__ */ t(i, { pt: 0.35, pb: 0.35, style: n, children: [
|
|
54
|
-
s,
|
|
55
|
-
m,
|
|
56
|
-
a,
|
|
57
|
-
/* @__PURE__ */ t(i, { align: "center", style: {
|
|
58
|
-
gap: ".35rem"
|
|
59
|
-
}, children: [
|
|
60
|
-
/* @__PURE__ */ r(x, { color: "#D90429", size: 16 }),
|
|
61
|
-
/* @__PURE__ */ r(f, { hierarchy: "tertiary", size: "xs", children: "VALUE" })
|
|
62
|
-
] })
|
|
63
|
-
] }) }) })
|
|
64
|
-
] }) })
|
|
65
|
-
] }) }), e[7] = h) : h = e[7], h;
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
O as DFlowSuggestionMenuFooter
|
|
69
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Code0Component } from '../../utils';
|
|
3
|
-
export interface DFlowSuggestionMenuSearchBarProps extends Code0Component<HTMLDivElement> {
|
|
4
|
-
onType: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const DFlowSuggestionMenuSearchBar: React.FC<DFlowSuggestionMenuSearchBarProps>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../_virtual/compiler-runtime.js";
|
|
3
|
-
import { DFlowSuggestionSearchInput as i } from "./DFlowSuggestionSearchInput.js";
|
|
4
|
-
import { IconSearch as s } from "@tabler/icons-react";
|
|
5
|
-
const p = (c) => {
|
|
6
|
-
const e = m.c(6);
|
|
7
|
-
let o;
|
|
8
|
-
e[0] !== c ? (o = (a) => c.onType(a), e[0] = c, e[1] = o) : o = e[1];
|
|
9
|
-
let t;
|
|
10
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = {
|
|
11
|
-
background: "none",
|
|
12
|
-
boxShadow: "none"
|
|
13
|
-
}, e[2] = t) : t = e[2];
|
|
14
|
-
let r;
|
|
15
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n(s, { size: 12 }), e[3] = r) : r = e[3];
|
|
16
|
-
let l;
|
|
17
|
-
return e[4] !== o ? (l = /* @__PURE__ */ n(i, { placeholder: "Search...", onKeyUp: o, clearable: !0, style: t, autoFocus: !0, left: r }), e[4] = o, e[5] = l) : l = e[5], l;
|
|
18
|
-
};
|
|
19
|
-
export {
|
|
20
|
-
p as DFlowSuggestionMenuSearchBar
|
|
21
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InputProps } from '../form';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
interface DFlowSuggestionSearchInputProps extends Omit<InputProps<string | null>, "wrapperComponent" | "type"> {
|
|
4
|
-
clearable?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const DFlowSuggestionSearchInput: React.ForwardRefExoticComponent<DFlowSuggestionSearchInputProps>;
|
|
7
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "../../_virtual/compiler-runtime.js";
|
|
3
|
-
import i from "react";
|
|
4
|
-
import "@radix-ui/react-checkbox";
|
|
5
|
-
import "merge-props";
|
|
6
|
-
import "js-md5";
|
|
7
|
-
import { IconX as a } from "@tabler/icons-react";
|
|
8
|
-
import '../../assets/components/d-flow-suggestion/DFlowSuggestionSearchInput.style.css';import '../../assets/components/form/Input.style.css';/* empty css */
|
|
9
|
-
import "../form/EmailInput.js";
|
|
10
|
-
import { Input as c } from "../form/Input.js";
|
|
11
|
-
import "../form/InputSuggestion.js";
|
|
12
|
-
import "../form/NumberInput.js";
|
|
13
|
-
import "../form/PasswordInput.js";
|
|
14
|
-
import "@radix-ui/react-one-time-password-field";
|
|
15
|
-
import "@radix-ui/react-radio-group";
|
|
16
|
-
import "../form/SwitchInput.js";
|
|
17
|
-
import "../form/TextInput.js";
|
|
18
|
-
import { Button as l } from "../button/Button.js";
|
|
19
|
-
/* empty css */
|
|
20
|
-
import { clearInputElement as u } from "../form/Input.utils.js";
|
|
21
|
-
const F = i.forwardRef((p, t) => {
|
|
22
|
-
t = t || i.useRef(null);
|
|
23
|
-
const {
|
|
24
|
-
clearable: m = !1,
|
|
25
|
-
right: e,
|
|
26
|
-
...n
|
|
27
|
-
} = p, s = () => {
|
|
28
|
-
u(t.current);
|
|
29
|
-
}, r = [e];
|
|
30
|
-
return m && r.push(/* @__PURE__ */ o(l, { variant: "none", onClick: s, children: /* @__PURE__ */ o(a, { size: 13 }) })), /* @__PURE__ */ o(c, { wrapperComponent: {
|
|
31
|
-
className: "d-flow-suggestion-search-input"
|
|
32
|
-
}, right: r, type: "text", ref: t, ...n });
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
F as DFlowSuggestionSearchInput
|
|
36
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import n from "react";
|
|
2
|
-
import { useService as c, useStore as f } from "../../utils/contextStore.js";
|
|
3
|
-
import "merge-props";
|
|
4
|
-
import "js-md5";
|
|
5
|
-
import { DFlowDataTypeReactiveService as p } from "../d-flow-data-type/DFlowDataType.service.js";
|
|
6
|
-
import { DFlowSuggestionType as u } from "./DFlowSuggestion.view.js";
|
|
7
|
-
const T = (r) => {
|
|
8
|
-
const a = c(p), m = f(p), i = n.useMemo(() => r ? a?.getDataType(r) : void 0, [r, a, m]);
|
|
9
|
-
return n.useMemo(() => {
|
|
10
|
-
if (!i) return [];
|
|
11
|
-
const s = [];
|
|
12
|
-
return i.rules?.nodes?.forEach((e) => {
|
|
13
|
-
if (e?.variant === "ITEM_OF_COLLECTION")
|
|
14
|
-
e.config.items?.forEach((t) => {
|
|
15
|
-
s.push({
|
|
16
|
-
path: [],
|
|
17
|
-
type: u.VALUE,
|
|
18
|
-
displayText: [t.toString()],
|
|
19
|
-
value: {
|
|
20
|
-
__typename: "LiteralValue",
|
|
21
|
-
value: t
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
else if (e?.variant === "NUMBER_RANGE") {
|
|
26
|
-
const t = e.config;
|
|
27
|
-
if (t.from === null || t.from === void 0 || t.to === null || t.to === void 0) return;
|
|
28
|
-
for (let o = t.from; o <= t.to; o += (t.steps ?? 1) <= 0 ? 1 : t.steps ?? 1)
|
|
29
|
-
s.push({
|
|
30
|
-
path: [],
|
|
31
|
-
type: u.VALUE,
|
|
32
|
-
displayText: [o.toString() ?? ""],
|
|
33
|
-
value: {
|
|
34
|
-
__typename: "LiteralValue",
|
|
35
|
-
value: String(o)
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}), s;
|
|
40
|
-
}, [i]);
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
T as useValueSuggestions
|
|
44
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DFlowSuggestion.view';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactiveArrayService } from '../../utils';
|
|
2
|
-
import { FlowTypeView } from './DFlowType.view';
|
|
3
|
-
import { FlowType, Namespace, NamespaceProject, Runtime } from '@code0-tech/sagittarius-graphql-types';
|
|
4
|
-
export type DFlowTypeDependencies = {
|
|
5
|
-
namespaceId?: Namespace['id'];
|
|
6
|
-
projectId?: NamespaceProject['id'];
|
|
7
|
-
runtimeId?: Runtime['id'];
|
|
8
|
-
};
|
|
9
|
-
export declare abstract class DFlowTypeReactiveService extends ReactiveArrayService<FlowTypeView, DFlowTypeDependencies> {
|
|
10
|
-
getById(id: FlowType['id'], dependencies?: DFlowTypeDependencies): FlowTypeView | undefined;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../../utils/contextStore.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { ReactiveArrayService as t } from "../../utils/reactiveArrayService.js";
|
|
4
|
-
import "merge-props";
|
|
5
|
-
import "js-md5";
|
|
6
|
-
class v extends t {
|
|
7
|
-
getById(e, r) {
|
|
8
|
-
return this.values(r).find((i) => i.id === e);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
v as DFlowTypeReactiveService
|
|
13
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { DataType, FlowType, FlowTypeSetting, Maybe, Runtime, Scalars, Translation } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
-
export declare class FlowTypeView {
|
|
3
|
-
/** Name of the function */
|
|
4
|
-
private readonly _aliases?;
|
|
5
|
-
/** Time when this FlowType was created */
|
|
6
|
-
private readonly _createdAt?;
|
|
7
|
-
/** Descriptions of the flow type */
|
|
8
|
-
private readonly _descriptions?;
|
|
9
|
-
/** Display message of the function */
|
|
10
|
-
private readonly _displayMessages?;
|
|
11
|
-
/** Editable status of the flow type */
|
|
12
|
-
private readonly _editable?;
|
|
13
|
-
/** Flow type settings of the flow type */
|
|
14
|
-
private readonly _flowTypeSettings?;
|
|
15
|
-
/** Global ID of this FlowType */
|
|
16
|
-
private readonly _id?;
|
|
17
|
-
/** Identifier of the flow type */
|
|
18
|
-
private readonly _identifier?;
|
|
19
|
-
/** Input type of the flow type */
|
|
20
|
-
private readonly _inputType?;
|
|
21
|
-
/** Names of the flow type */
|
|
22
|
-
private readonly _names?;
|
|
23
|
-
/** Return type of the flow type */
|
|
24
|
-
private readonly _returnType?;
|
|
25
|
-
/** Runtime of the flow type */
|
|
26
|
-
private readonly _runtime?;
|
|
27
|
-
/** Time when this FlowType was last updated */
|
|
28
|
-
private readonly _updatedAt?;
|
|
29
|
-
constructor(flowType: FlowType);
|
|
30
|
-
get aliases(): Maybe<Array<Translation>> | undefined;
|
|
31
|
-
get createdAt(): Maybe<Scalars["Time"]["output"]> | undefined;
|
|
32
|
-
get descriptions(): Maybe<Array<Translation>> | undefined;
|
|
33
|
-
get displayMessages(): Maybe<Array<Translation>> | undefined;
|
|
34
|
-
get editable(): Maybe<Scalars["Boolean"]["output"]> | undefined;
|
|
35
|
-
get flowTypeSettings(): Maybe<Array<FlowTypeSetting>> | undefined;
|
|
36
|
-
get id(): Maybe<Scalars["FlowTypeID"]["output"]> | undefined;
|
|
37
|
-
get identifier(): Maybe<Scalars["String"]["output"]> | undefined;
|
|
38
|
-
get inputType(): Maybe<DataType> | undefined;
|
|
39
|
-
get names(): Maybe<Array<Translation>> | undefined;
|
|
40
|
-
get returnType(): Maybe<DataType> | undefined;
|
|
41
|
-
get runtime(): Maybe<Runtime> | undefined;
|
|
42
|
-
get updatedAt(): Maybe<Scalars["Time"]["output"]> | undefined;
|
|
43
|
-
json(): FlowType;
|
|
44
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import "../../utils/contextStore.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "merge-props";
|
|
4
|
-
import "js-md5";
|
|
5
|
-
import { DataTypeView as n } from "../d-flow-data-type/DFlowDataType.view.js";
|
|
6
|
-
import "../d-flow-data-type/rules/DFlowDataTypeRegexRule.js";
|
|
7
|
-
import "../d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.js";
|
|
8
|
-
import "../d-flow-data-type/rules/DFlowDataTypeItemOfCollectionRule.js";
|
|
9
|
-
import "../d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js";
|
|
10
|
-
import "../d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js";
|
|
11
|
-
import "../d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js";
|
|
12
|
-
import "../d-flow-data-type/variants/DFlowDataTypeNodeVariant.js";
|
|
13
|
-
function e(i, t, s) {
|
|
14
|
-
return (t = d(t)) in i ? Object.defineProperty(i, t, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = s, i;
|
|
15
|
-
}
|
|
16
|
-
function d(i) {
|
|
17
|
-
var t = a(i, "string");
|
|
18
|
-
return typeof t == "symbol" ? t : t + "";
|
|
19
|
-
}
|
|
20
|
-
function a(i, t) {
|
|
21
|
-
if (typeof i != "object" || !i) return i;
|
|
22
|
-
var s = i[Symbol.toPrimitive];
|
|
23
|
-
if (s !== void 0) {
|
|
24
|
-
var r = s.call(i, t);
|
|
25
|
-
if (typeof r != "object") return r;
|
|
26
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
27
|
-
}
|
|
28
|
-
return (t === "string" ? String : Number)(i);
|
|
29
|
-
}
|
|
30
|
-
class A {
|
|
31
|
-
constructor(t) {
|
|
32
|
-
e(this, "_aliases", void 0), e(this, "_createdAt", void 0), e(this, "_descriptions", void 0), e(this, "_displayMessages", void 0), e(this, "_editable", void 0), e(this, "_flowTypeSettings", void 0), e(this, "_id", void 0), e(this, "_identifier", void 0), e(this, "_inputType", void 0), e(this, "_names", void 0), e(this, "_returnType", void 0), e(this, "_runtime", void 0), e(this, "_updatedAt", void 0), this._aliases = t.aliases, this._createdAt = t.createdAt, this._descriptions = t.descriptions, this._displayMessages = t.displayMessages, this._editable = t.editable, this._flowTypeSettings = t.flowTypeSettings, this._id = t.id, this._identifier = t.identifier, this._inputType = t.inputType ? new n(t.inputType).json : void 0, this._names = t.names, this._returnType = t.returnType ? new n(t.returnType).json : void 0, this._runtime = t.runtime, this._updatedAt = t.updatedAt;
|
|
33
|
-
}
|
|
34
|
-
get aliases() {
|
|
35
|
-
return this._aliases;
|
|
36
|
-
}
|
|
37
|
-
get createdAt() {
|
|
38
|
-
return this._createdAt;
|
|
39
|
-
}
|
|
40
|
-
get descriptions() {
|
|
41
|
-
return this._descriptions;
|
|
42
|
-
}
|
|
43
|
-
get displayMessages() {
|
|
44
|
-
return this._displayMessages;
|
|
45
|
-
}
|
|
46
|
-
get editable() {
|
|
47
|
-
return this._editable;
|
|
48
|
-
}
|
|
49
|
-
get flowTypeSettings() {
|
|
50
|
-
return this._flowTypeSettings;
|
|
51
|
-
}
|
|
52
|
-
get id() {
|
|
53
|
-
return this._id;
|
|
54
|
-
}
|
|
55
|
-
get identifier() {
|
|
56
|
-
return this._identifier;
|
|
57
|
-
}
|
|
58
|
-
get inputType() {
|
|
59
|
-
return this._inputType;
|
|
60
|
-
}
|
|
61
|
-
get names() {
|
|
62
|
-
return this._names;
|
|
63
|
-
}
|
|
64
|
-
get returnType() {
|
|
65
|
-
return this._returnType;
|
|
66
|
-
}
|
|
67
|
-
get runtime() {
|
|
68
|
-
return this._runtime;
|
|
69
|
-
}
|
|
70
|
-
get updatedAt() {
|
|
71
|
-
return this._updatedAt;
|
|
72
|
-
}
|
|
73
|
-
json() {
|
|
74
|
-
return {
|
|
75
|
-
aliases: this._aliases,
|
|
76
|
-
createdAt: this._createdAt,
|
|
77
|
-
descriptions: this._descriptions,
|
|
78
|
-
displayMessages: this._displayMessages,
|
|
79
|
-
editable: this._editable,
|
|
80
|
-
flowTypeSettings: this._flowTypeSettings,
|
|
81
|
-
id: this._id,
|
|
82
|
-
identifier: this._identifier,
|
|
83
|
-
inputType: this._inputType,
|
|
84
|
-
names: this._names,
|
|
85
|
-
returnType: this._returnType,
|
|
86
|
-
runtime: this._runtime,
|
|
87
|
-
updatedAt: this._updatedAt
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export {
|
|
92
|
-
A as FlowTypeView
|
|
93
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const g = ["id", "__typename", "createdAt", "updatedAt", "aliases", "displayMessages", "name", "runtime"], h = (l, u) => {
|
|
2
|
-
if (l?.variant !== u?.variant) return !1;
|
|
3
|
-
const c = (e) => e !== null && typeof e == "object", i = (e, r) => {
|
|
4
|
-
if (e === r) return !0;
|
|
5
|
-
const a = Array.isArray(e), y = Array.isArray(r);
|
|
6
|
-
if (a || y)
|
|
7
|
-
return !a || !y || e.length !== r.length ? !1 : e.every((s, f) => i(s, r[f]));
|
|
8
|
-
if (c(e) && c(r)) {
|
|
9
|
-
const s = Object.keys(e), f = Object.keys(r);
|
|
10
|
-
return s.length !== f.length ? !1 : s.every((o) => g.includes(o) ? !0 : i(e[o], r[o]));
|
|
11
|
-
}
|
|
12
|
-
return !1;
|
|
13
|
-
}, t = l.rules?.nodes ?? [], n = u.rules?.nodes ?? [];
|
|
14
|
-
return !t.length && !n.length ? !0 : !t.length || !n.length || t.length !== n.length ? !1 : t.every((e, r) => i(e, n[r]));
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
h as useDataTypeValidation
|
|
18
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { c as m } from "../../_virtual/compiler-runtime.js";
|
|
2
|
-
import { useService as p, useStore as c } from "../../utils/contextStore.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "merge-props";
|
|
5
|
-
import "js-md5";
|
|
6
|
-
import "../d-flow/DFlow.js";
|
|
7
|
-
import { DFlowReactiveService as i } from "../d-flow/DFlow.service.js";
|
|
8
|
-
import "../d-flow-data-type/rules/DFlowDataTypeRegexRule.js";
|
|
9
|
-
import "../d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.js";
|
|
10
|
-
import "../d-flow-data-type/rules/DFlowDataTypeItemOfCollectionRule.js";
|
|
11
|
-
import "../d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js";
|
|
12
|
-
import "../d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js";
|
|
13
|
-
import "../d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js";
|
|
14
|
-
import "../d-flow-data-type/variants/DFlowDataTypeNodeVariant.js";
|
|
15
|
-
const b = (r) => {
|
|
16
|
-
const t = m.c(1), e = p(i);
|
|
17
|
-
c(i), e.getById(r);
|
|
18
|
-
let o;
|
|
19
|
-
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = [], t[0] = o) : o = t[0], o;
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
b as useFlowValidation
|
|
23
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as s } from "../../_virtual/compiler-runtime.js";
|
|
3
|
-
import { Panel as f } from "@xyflow/react";
|
|
4
|
-
import { Flex as m } from "../flex/Flex.js";
|
|
5
|
-
import "../../utils/contextStore.js";
|
|
6
|
-
import { InspectionSeverity as l } from "../../utils/inspection.js";
|
|
7
|
-
import "react";
|
|
8
|
-
import "merge-props";
|
|
9
|
-
import "js-md5";
|
|
10
|
-
import { Badge as p } from "../badge/Badge.js";
|
|
11
|
-
import { IconExclamationCircle as u, IconAlertTriangle as d, IconMessageExclamation as g } from "@tabler/icons-react";
|
|
12
|
-
import '../../assets/components/d-flow-validation/DFlowValidation.style.css';/* empty css */
|
|
13
|
-
import { Text as h } from "../text/Text.js";
|
|
14
|
-
import { useFlowValidation as R } from "./DFlowValidation.hook.js";
|
|
15
|
-
const C = (e) => {
|
|
16
|
-
const n = s.c(4), {
|
|
17
|
-
flowId: a
|
|
18
|
-
} = e, t = R(a);
|
|
19
|
-
let i;
|
|
20
|
-
n[0] !== t ? (i = (t?.length ?? 0) > 0 ? /* @__PURE__ */ r("div", { className: "d-flow-viewport-validations", children: /* @__PURE__ */ c(m, { align: "center", style: {
|
|
21
|
-
gap: "0.7rem"
|
|
22
|
-
}, children: [
|
|
23
|
-
(t?.filter(y)?.length ?? 0) > 0 ? /* @__PURE__ */ r(p, { border: !0, color: "error", children: /* @__PURE__ */ c(m, { align: "center", style: {
|
|
24
|
-
gap: "0.35rem"
|
|
25
|
-
}, children: [
|
|
26
|
-
/* @__PURE__ */ r(u, { size: 16 }),
|
|
27
|
-
/* @__PURE__ */ r(h, { style: {
|
|
28
|
-
color: "inherit"
|
|
29
|
-
}, children: t?.filter(x)?.length })
|
|
30
|
-
] }) }) : null,
|
|
31
|
-
(t?.filter(A)?.length ?? 0) > 0 ? /* @__PURE__ */ r(p, { border: !0, color: "warning", children: /* @__PURE__ */ c(m, { align: "center", style: {
|
|
32
|
-
gap: "0.35rem"
|
|
33
|
-
}, children: [
|
|
34
|
-
/* @__PURE__ */ r(d, { size: 16 }),
|
|
35
|
-
t?.filter(I)?.length
|
|
36
|
-
] }) }) : null,
|
|
37
|
-
(t?.filter(w)?.length ?? 0) > 0 ? /* @__PURE__ */ r(p, { border: !0, children: /* @__PURE__ */ c(m, { align: "center", style: {
|
|
38
|
-
gap: "0.35rem"
|
|
39
|
-
}, children: [
|
|
40
|
-
/* @__PURE__ */ r(g, { size: 16 }),
|
|
41
|
-
t?.filter(_)?.length
|
|
42
|
-
] }) }) : null
|
|
43
|
-
] }) }) : null, n[0] = t, n[1] = i) : i = n[1];
|
|
44
|
-
let o;
|
|
45
|
-
return n[2] !== i ? (o = /* @__PURE__ */ r(f, { position: "top-right", children: i }), n[2] = i, n[3] = o) : o = n[3], o;
|
|
46
|
-
};
|
|
47
|
-
function y(e) {
|
|
48
|
-
return e.type === l.ERROR;
|
|
49
|
-
}
|
|
50
|
-
function x(e) {
|
|
51
|
-
return e.type === l.ERROR;
|
|
52
|
-
}
|
|
53
|
-
function A(e) {
|
|
54
|
-
return e.type === l.WARNING;
|
|
55
|
-
}
|
|
56
|
-
function I(e) {
|
|
57
|
-
return e.type === l.WARNING;
|
|
58
|
-
}
|
|
59
|
-
function w(e) {
|
|
60
|
-
return e.type === l.GRAMMAR;
|
|
61
|
-
}
|
|
62
|
-
function _(e) {
|
|
63
|
-
return e.type === l.GRAMMAR;
|
|
64
|
-
}
|
|
65
|
-
export {
|
|
66
|
-
C as DFlowValidation
|
|
67
|
-
};
|