@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,10 +0,0 @@
|
|
|
1
|
-
import { DNamespaceMemberReactiveService as m } from "./DNamespaceMember.service.js";
|
|
2
|
-
import { DNamespaceMemberView as o } from "./DNamespaceMember.view.js";
|
|
3
|
-
import { DNamespaceMemberCard as c } from "./DNamespaceMemberCard.js";
|
|
4
|
-
import { DNamespaceMemberList as s } from "./DNamespaceMemberList.js";
|
|
5
|
-
export {
|
|
6
|
-
c as DNamespaceMemberCard,
|
|
7
|
-
s as DNamespaceMemberList,
|
|
8
|
-
m as DNamespaceMemberReactiveService,
|
|
9
|
-
o as DNamespaceMemberView
|
|
10
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Namespace } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
-
import { DNamespaceView } from './DNamespace.view';
|
|
3
|
-
import { ReactiveArrayService } from '../../utils';
|
|
4
|
-
export declare abstract class DNamespaceReactiveService extends ReactiveArrayService<DNamespaceView> {
|
|
5
|
-
getById(id: Namespace['id']): DNamespaceView | undefined;
|
|
6
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../../utils/contextStore.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { ReactiveArrayService as i } from "../../utils/reactiveArrayService.js";
|
|
4
|
-
import "merge-props";
|
|
5
|
-
import "js-md5";
|
|
6
|
-
class s extends i {
|
|
7
|
-
getById(r) {
|
|
8
|
-
return this.values().find((e) => e && e.id === r);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
s as DNamespaceReactiveService
|
|
13
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Maybe, Namespace, NamespaceLicenseConnection, NamespaceMemberConnection, NamespaceParent, NamespaceProjectConnection, NamespaceRoleConnection, RuntimeConnection, Scalars } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
-
export declare class DNamespaceView {
|
|
3
|
-
/** Time when this Namespace was created */
|
|
4
|
-
private readonly _createdAt?;
|
|
5
|
-
/** Global ID of this Namespace */
|
|
6
|
-
private readonly _id?;
|
|
7
|
-
/** Members of the namespace */
|
|
8
|
-
private readonly _members?;
|
|
9
|
-
/** Licenses of the namespace */
|
|
10
|
-
private readonly _namespaceLicenses?;
|
|
11
|
-
/** Parent of this namespace */
|
|
12
|
-
private readonly _parent?;
|
|
13
|
-
/** Projects of the namespace */
|
|
14
|
-
private readonly _projects?;
|
|
15
|
-
/** Roles of the namespace */
|
|
16
|
-
private readonly _roles?;
|
|
17
|
-
/** Runtime of the namespace */
|
|
18
|
-
private readonly _runtimes?;
|
|
19
|
-
/** Time when this Namespace was last updated */
|
|
20
|
-
private readonly _updatedAt?;
|
|
21
|
-
constructor(payload: Namespace);
|
|
22
|
-
get createdAt(): Maybe<Scalars["Time"]["output"]> | undefined;
|
|
23
|
-
get id(): Maybe<Scalars["NamespaceID"]["output"]> | undefined;
|
|
24
|
-
get members(): Maybe<NamespaceMemberConnection> | undefined;
|
|
25
|
-
get namespaceLicenses(): Maybe<NamespaceLicenseConnection> | undefined;
|
|
26
|
-
get parent(): Maybe<NamespaceParent> | undefined;
|
|
27
|
-
get projects(): Maybe<NamespaceProjectConnection> | undefined;
|
|
28
|
-
get roles(): Maybe<NamespaceRoleConnection> | undefined;
|
|
29
|
-
get runtimes(): Maybe<RuntimeConnection> | undefined;
|
|
30
|
-
get updatedAt(): Maybe<Scalars["Time"]["output"]> | undefined;
|
|
31
|
-
json(): Namespace;
|
|
32
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
function r(t, e, i) {
|
|
2
|
-
return (e = n(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
|
|
3
|
-
}
|
|
4
|
-
function n(t) {
|
|
5
|
-
var e = u(t, "string");
|
|
6
|
-
return typeof e == "symbol" ? e : e + "";
|
|
7
|
-
}
|
|
8
|
-
function u(t, e) {
|
|
9
|
-
if (typeof t != "object" || !t) return t;
|
|
10
|
-
var i = t[Symbol.toPrimitive];
|
|
11
|
-
if (i !== void 0) {
|
|
12
|
-
var s = i.call(t, e);
|
|
13
|
-
if (typeof s != "object") return s;
|
|
14
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15
|
-
}
|
|
16
|
-
return (e === "string" ? String : Number)(t);
|
|
17
|
-
}
|
|
18
|
-
class c {
|
|
19
|
-
constructor(e) {
|
|
20
|
-
r(this, "_createdAt", void 0), r(this, "_id", void 0), r(this, "_members", void 0), r(this, "_namespaceLicenses", void 0), r(this, "_parent", void 0), r(this, "_projects", void 0), r(this, "_roles", void 0), r(this, "_runtimes", void 0), r(this, "_updatedAt", void 0), this._createdAt = e.createdAt, this._id = e.id, this._members = e.members, this._namespaceLicenses = e.namespaceLicenses, this._parent = e.parent, this._projects = e.projects, this._roles = e.roles, this._runtimes = e.runtimes, this._updatedAt = e.updatedAt;
|
|
21
|
-
}
|
|
22
|
-
get createdAt() {
|
|
23
|
-
return this._createdAt;
|
|
24
|
-
}
|
|
25
|
-
get id() {
|
|
26
|
-
return this._id;
|
|
27
|
-
}
|
|
28
|
-
get members() {
|
|
29
|
-
return this._members;
|
|
30
|
-
}
|
|
31
|
-
get namespaceLicenses() {
|
|
32
|
-
return this._namespaceLicenses;
|
|
33
|
-
}
|
|
34
|
-
get parent() {
|
|
35
|
-
return this._parent;
|
|
36
|
-
}
|
|
37
|
-
get projects() {
|
|
38
|
-
return this._projects;
|
|
39
|
-
}
|
|
40
|
-
get roles() {
|
|
41
|
-
return this._roles;
|
|
42
|
-
}
|
|
43
|
-
get runtimes() {
|
|
44
|
-
return this._runtimes;
|
|
45
|
-
}
|
|
46
|
-
get updatedAt() {
|
|
47
|
-
return this._updatedAt;
|
|
48
|
-
}
|
|
49
|
-
json() {
|
|
50
|
-
return {
|
|
51
|
-
createdAt: this._createdAt,
|
|
52
|
-
id: this._id,
|
|
53
|
-
members: this._members,
|
|
54
|
-
namespaceLicenses: this._namespaceLicenses,
|
|
55
|
-
parent: this._parent,
|
|
56
|
-
projects: this._projects,
|
|
57
|
-
roles: this._roles,
|
|
58
|
-
runtimes: this._runtimes,
|
|
59
|
-
updatedAt: this._updatedAt
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export {
|
|
64
|
-
c as DNamespaceView
|
|
65
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactiveArrayService } from '../../utils';
|
|
2
|
-
import { DOrganizationView } from './DOrganization.view';
|
|
3
|
-
import { Organization, OrganizationsCreateInput, OrganizationsCreatePayload, OrganizationsDeleteInput, OrganizationsDeletePayload } from '@code0-tech/sagittarius-graphql-types';
|
|
4
|
-
export declare abstract class DOrganizationReactiveService extends ReactiveArrayService<DOrganizationView> {
|
|
5
|
-
getById(id: Organization["id"]): DOrganizationView | undefined;
|
|
6
|
-
abstract organizationCreate(payload: OrganizationsCreateInput): Promise<OrganizationsCreatePayload | undefined>;
|
|
7
|
-
abstract organizationDelete(payload: OrganizationsDeleteInput): Promise<OrganizationsDeletePayload | undefined>;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../../utils/contextStore.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { ReactiveArrayService as i } from "../../utils/reactiveArrayService.js";
|
|
4
|
-
import "merge-props";
|
|
5
|
-
import "js-md5";
|
|
6
|
-
class s extends i {
|
|
7
|
-
getById(r) {
|
|
8
|
-
return this.values().find((e) => e && e.id === r);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
s as DOrganizationReactiveService
|
|
13
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Maybe, Namespace, Organization, OrganizationUserAbilities, Scalars } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
-
export declare class DOrganizationView {
|
|
3
|
-
private readonly _createdAt?;
|
|
4
|
-
/** Global ID of this Organization */
|
|
5
|
-
private readonly _id?;
|
|
6
|
-
/** Name of the organization */
|
|
7
|
-
private _name?;
|
|
8
|
-
/** Namespace of this organization */
|
|
9
|
-
private readonly _namespace?;
|
|
10
|
-
/** Time when this Organization was last updated */
|
|
11
|
-
private readonly _updatedAt?;
|
|
12
|
-
/** Abilities for the current user on this Organization */
|
|
13
|
-
private readonly _userAbilities?;
|
|
14
|
-
constructor(payload: Organization);
|
|
15
|
-
get createdAt(): Maybe<Scalars["Time"]["output"]> | undefined;
|
|
16
|
-
get id(): Maybe<Scalars["OrganizationID"]["output"] | undefined>;
|
|
17
|
-
get name(): Maybe<Scalars["String"]["output"]> | undefined;
|
|
18
|
-
get namespace(): Maybe<Namespace> | undefined;
|
|
19
|
-
get updatedAt(): Maybe<Scalars["Time"]["output"]> | undefined;
|
|
20
|
-
get userAbilities(): Maybe<OrganizationUserAbilities> | undefined;
|
|
21
|
-
set name(value: Maybe<Scalars["String"]["output"]>);
|
|
22
|
-
json(): Organization;
|
|
23
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
function i(t, e, r) {
|
|
2
|
-
return (e = n(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
3
|
-
}
|
|
4
|
-
function n(t) {
|
|
5
|
-
var e = a(t, "string");
|
|
6
|
-
return typeof e == "symbol" ? e : e + "";
|
|
7
|
-
}
|
|
8
|
-
function a(t, e) {
|
|
9
|
-
if (typeof t != "object" || !t) return t;
|
|
10
|
-
var r = t[Symbol.toPrimitive];
|
|
11
|
-
if (r !== void 0) {
|
|
12
|
-
var s = r.call(t, e);
|
|
13
|
-
if (typeof s != "object") return s;
|
|
14
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15
|
-
}
|
|
16
|
-
return (e === "string" ? String : Number)(t);
|
|
17
|
-
}
|
|
18
|
-
class u {
|
|
19
|
-
constructor(e) {
|
|
20
|
-
i(this, "_createdAt", void 0), i(this, "_id", void 0), i(this, "_name", void 0), i(this, "_namespace", void 0), i(this, "_updatedAt", void 0), i(this, "_userAbilities", void 0), this._createdAt = e.createdAt, this._id = e.id, this._name = e.name, this._namespace = e.namespace, this._updatedAt = e.updatedAt, this._userAbilities = e.userAbilities;
|
|
21
|
-
}
|
|
22
|
-
get createdAt() {
|
|
23
|
-
return this._createdAt;
|
|
24
|
-
}
|
|
25
|
-
get id() {
|
|
26
|
-
return this._id;
|
|
27
|
-
}
|
|
28
|
-
get name() {
|
|
29
|
-
return this._name;
|
|
30
|
-
}
|
|
31
|
-
get namespace() {
|
|
32
|
-
return this._namespace;
|
|
33
|
-
}
|
|
34
|
-
get updatedAt() {
|
|
35
|
-
return this._updatedAt;
|
|
36
|
-
}
|
|
37
|
-
get userAbilities() {
|
|
38
|
-
return this._userAbilities;
|
|
39
|
-
}
|
|
40
|
-
set name(e) {
|
|
41
|
-
this._name = e;
|
|
42
|
-
}
|
|
43
|
-
json() {
|
|
44
|
-
return {
|
|
45
|
-
createdAt: this._createdAt,
|
|
46
|
-
id: this._id,
|
|
47
|
-
name: this._name,
|
|
48
|
-
namespace: this._namespace,
|
|
49
|
-
updatedAt: this._updatedAt
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
export {
|
|
54
|
-
u as DOrganizationView
|
|
55
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Code0Component } from '../../utils';
|
|
3
|
-
import { Scalars } from '@code0-tech/sagittarius-graphql-types';
|
|
4
|
-
import { DOrganizationView } from './DOrganization.view';
|
|
5
|
-
export interface DOrganizationCardProps extends Code0Component<HTMLDivElement> {
|
|
6
|
-
organizationId: Scalars['OrganizationID']['output'];
|
|
7
|
-
onSetting?: (organization: DOrganizationView) => void;
|
|
8
|
-
onLeave?: (organization: DOrganizationView) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const DOrganizationCard: React.FC<DOrganizationCardProps>;
|
|
11
|
-
export default DOrganizationCard;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../_virtual/compiler-runtime.js";
|
|
3
|
-
import { Card as s } from "../card/Card.js";
|
|
4
|
-
import { DOrganizationContent as c } from "./DOrganizatonContent.js";
|
|
5
|
-
const g = (a) => {
|
|
6
|
-
const o = m.c(4), {
|
|
7
|
-
organizationId: r,
|
|
8
|
-
onLeave: n,
|
|
9
|
-
onSetting: i
|
|
10
|
-
} = a;
|
|
11
|
-
let t;
|
|
12
|
-
return o[0] !== n || o[1] !== i || o[2] !== r ? (t = /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(c, { onLeave: n, onSetting: i, organizationId: r }) }), o[0] = n, o[1] = i, o[2] = r, o[3] = t) : t = o[3], t;
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
g as default
|
|
16
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Card } from '../card/Card';
|
|
3
|
-
import { DOrganizationView } from './DOrganization.view';
|
|
4
|
-
export interface DOrganizationListProps extends Omit<Card, "children" | "onSelect"> {
|
|
5
|
-
filter?: (organizations: DOrganizationView, index: number) => boolean;
|
|
6
|
-
onSetting?: (organization: DOrganizationView) => void;
|
|
7
|
-
onLeave?: (organization: DOrganizationView) => void;
|
|
8
|
-
onSelect?: (organization: DOrganizationView) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const DOrganizationList: React.FC<DOrganizationListProps>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import d from "react";
|
|
3
|
-
import { Card as u } from "../card/Card.js";
|
|
4
|
-
import { useService as S, useStore as l } from "../../utils/contextStore.js";
|
|
5
|
-
import "merge-props";
|
|
6
|
-
import "js-md5";
|
|
7
|
-
import { DOrganizationReactiveService as e } from "./DOrganization.service.js";
|
|
8
|
-
import v from "../card/CardSection.js";
|
|
9
|
-
import { DOrganizationContent as g } from "./DOrganizatonContent.js";
|
|
10
|
-
const j = (i) => {
|
|
11
|
-
const n = S(e), m = l(e), a = d.useMemo(() => n.values(), [m]), {
|
|
12
|
-
filter: c = () => !0,
|
|
13
|
-
onLeave: s,
|
|
14
|
-
onSetting: p,
|
|
15
|
-
onSelect: t,
|
|
16
|
-
...f
|
|
17
|
-
} = i;
|
|
18
|
-
return /* @__PURE__ */ o(u, { ...f, children: a.filter(c).map((r) => r.id && /* @__PURE__ */ o(v, { border: !0, hover: !0, onClick: () => {
|
|
19
|
-
t && t(r);
|
|
20
|
-
}, children: /* @__PURE__ */ o(g, { onLeave: s, onSetting: p, organizationId: r?.id }) }, r.id)) });
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
j as DOrganizationList
|
|
24
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { MenuProps } from '../menu/Menu';
|
|
3
|
-
import { Scalars } from '@code0-tech/sagittarius-graphql-types';
|
|
4
|
-
export interface DOrganizationMenuProps extends MenuProps {
|
|
5
|
-
organizationId: Scalars["OrganizationID"]["input"];
|
|
6
|
-
onOrganizationSelect: (id: Scalars["OrganizationID"]["input"]) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const DOrganizationMenu: React.FC<DOrganizationMenuProps>;
|
|
9
|
-
export default DOrganizationMenu;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import s from "react";
|
|
3
|
-
import { Menu as u, MenuTrigger as d, MenuPortal as l, MenuContent as g, MenuItem as f } from "../menu/Menu.js";
|
|
4
|
-
import { Button as h } from "../button/Button.js";
|
|
5
|
-
import { DOrganizationReactiveService as i } from "./DOrganization.service.js";
|
|
6
|
-
import { useService as o } from "../../utils/contextStore.js";
|
|
7
|
-
const x = (n) => {
|
|
8
|
-
const r = o(i), a = o(i), c = r.getById(n.organizationId);
|
|
9
|
-
return s.useMemo(() => /* @__PURE__ */ m(u, { ...n, children: [
|
|
10
|
-
/* @__PURE__ */ e(d, { asChild: !0, children: /* @__PURE__ */ e(h, { variant: "none", style: {
|
|
11
|
-
background: "transparent"
|
|
12
|
-
}, children: c?.name }) }),
|
|
13
|
-
/* @__PURE__ */ e(l, { children: /* @__PURE__ */ e(g, { side: "bottom", align: "start", sideOffset: 0, children: r.values().map((t) => /* @__PURE__ */ e(f, { onSelect: () => n.onOrganizationSelect(t.id), children: t.name }, t.id)) }) })
|
|
14
|
-
] }), [a]);
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
x as default
|
|
18
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Code0Component } from '../../utils';
|
|
3
|
-
import { Organization } from '@code0-tech/sagittarius-graphql-types';
|
|
4
|
-
import { DOrganizationView } from './DOrganization.view';
|
|
5
|
-
export interface DOrganizationCardProps extends Code0Component<HTMLDivElement> {
|
|
6
|
-
organizationId: Organization['id'];
|
|
7
|
-
onSetting?: (organization: DOrganizationView) => void;
|
|
8
|
-
onLeave?: (organization: DOrganizationView) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const DOrganizationContent: React.FC<DOrganizationCardProps>;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import n from "react";
|
|
3
|
-
import { useStore as c, useService as s } from "../../utils/contextStore.js";
|
|
4
|
-
import "merge-props";
|
|
5
|
-
import "js-md5";
|
|
6
|
-
import { Text as m } from "../text/Text.js";
|
|
7
|
-
import { DOrganizationReactiveService as v } from "./DOrganization.service.js";
|
|
8
|
-
import { IconFolders as k, IconUsers as L, IconServer as N, IconEdit as w, IconLogout as F } from "@tabler/icons-react";
|
|
9
|
-
import { Flex as t } from "../flex/Flex.js";
|
|
10
|
-
import { Button as S } from "../button/Button.js";
|
|
11
|
-
import { Spacing as P } from "../spacing/Spacing.js";
|
|
12
|
-
import { Avatar as E } from "../avatar/Avatar.js";
|
|
13
|
-
import { DUserReactiveService as b } from "../d-user/DUser.service.js";
|
|
14
|
-
import "../../_virtual/compiler-runtime.js";
|
|
15
|
-
import '../../assets/components/dialog/Dialog.style.css';import '../../assets/components/tooltip/Tooltip.style.css';import '../../assets/components/form/Input.style.css';import '../../assets/components/card/Card.style.css';import '../../assets/components/menu/Menu.style.css';/* empty css */
|
|
16
|
-
import "@radix-ui/react-dropdown-menu";
|
|
17
|
-
/* empty css */
|
|
18
|
-
import { useUserSession as T } from "../d-user/DUser.session.hook.js";
|
|
19
|
-
import { Badge as d } from "../badge/Badge.js";
|
|
20
|
-
import "@radix-ui/react-checkbox";
|
|
21
|
-
/* empty css */
|
|
22
|
-
import "../form/EmailInput.js";
|
|
23
|
-
import "../form/Input.js";
|
|
24
|
-
import "../form/InputSuggestion.js";
|
|
25
|
-
import "../form/NumberInput.js";
|
|
26
|
-
import "../form/PasswordInput.js";
|
|
27
|
-
import "@radix-ui/react-one-time-password-field";
|
|
28
|
-
import "@radix-ui/react-radio-group";
|
|
29
|
-
import "../form/SwitchInput.js";
|
|
30
|
-
import "../form/TextInput.js";
|
|
31
|
-
import { DNamespaceReactiveService as z } from "../d-namespace/DNamespace.service.js";
|
|
32
|
-
import { DNamespaceMemberReactiveService as x } from "../d-member/DNamespaceMember.service.js";
|
|
33
|
-
import "@radix-ui/react-tooltip";
|
|
34
|
-
/* empty css */
|
|
35
|
-
import "@radix-ui/react-dialog";
|
|
36
|
-
/* empty css */
|
|
37
|
-
const Me = (I) => {
|
|
38
|
-
const {
|
|
39
|
-
organizationId: a,
|
|
40
|
-
onLeave: M = () => {
|
|
41
|
-
},
|
|
42
|
-
onSetting: j = () => {
|
|
43
|
-
}
|
|
44
|
-
} = I, B = c(v), C = s(v), D = c(z), $ = s(z), A = c(x), R = s(x), U = s(b), O = c(b), u = T(), p = n.useMemo(() => U.getById(u?.user?.id), [O, u]), r = n.useMemo(() => a ? C.getById(a) : null, [B, a]), o = n.useMemo(() => r ? $.getById(r.namespace?.id) : null, [D, r]), g = n.useMemo(() => o && p ? R.getByNamespaceIdAndUserId(o.id, p.id) : null, [A, o, p]), h = o?.projects?.count, y = o?.members?.count, f = o?.runtimes?.count;
|
|
45
|
-
return /* @__PURE__ */ i(t, { align: "center", style: {
|
|
46
|
-
gap: "1.3rem"
|
|
47
|
-
}, justify: "space-between", children: [
|
|
48
|
-
/* @__PURE__ */ i(t, { align: "center", style: {
|
|
49
|
-
gap: "1.3rem"
|
|
50
|
-
}, children: [
|
|
51
|
-
/* @__PURE__ */ e(E, { bg: "transparent", identifier: r?.name ?? "" }),
|
|
52
|
-
/* @__PURE__ */ i(t, { style: {
|
|
53
|
-
flexDirection: "column"
|
|
54
|
-
}, children: [
|
|
55
|
-
/* @__PURE__ */ e(m, { size: "lg", hierarchy: "primary", display: "block", children: r?.name }),
|
|
56
|
-
/* @__PURE__ */ e(P, { spacing: "xxs" }),
|
|
57
|
-
/* @__PURE__ */ i(t, { align: "center", style: {
|
|
58
|
-
gap: "0.35rem",
|
|
59
|
-
flexWrap: "wrap"
|
|
60
|
-
}, children: [
|
|
61
|
-
/* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ i(t, { align: "center", style: {
|
|
62
|
-
gap: "0.35rem"
|
|
63
|
-
}, children: [
|
|
64
|
-
/* @__PURE__ */ e(k, { size: 16 }),
|
|
65
|
-
/* @__PURE__ */ e(m, { size: "xs", hierarchy: "tertiary", children: `${h ?? 0} project${(h ?? 0) !== 1 ? "s" : ""}` })
|
|
66
|
-
] }) }),
|
|
67
|
-
/* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ i(t, { align: "center", style: {
|
|
68
|
-
gap: "0.35rem"
|
|
69
|
-
}, children: [
|
|
70
|
-
/* @__PURE__ */ e(L, { size: 16 }),
|
|
71
|
-
/* @__PURE__ */ i(m, { size: "xs", hierarchy: "tertiary", children: [
|
|
72
|
-
" ",
|
|
73
|
-
`${y ?? 0} member${(y ?? 0) !== 1 ? "s" : ""}`
|
|
74
|
-
] })
|
|
75
|
-
] }) }),
|
|
76
|
-
/* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ i(t, { align: "center", style: {
|
|
77
|
-
gap: "0.35rem"
|
|
78
|
-
}, children: [
|
|
79
|
-
/* @__PURE__ */ e(N, { size: 16 }),
|
|
80
|
-
/* @__PURE__ */ e(m, { size: "xs", hierarchy: "tertiary", children: `${f ?? 0} runtime${(f ?? 0) !== 1 ? "s" : ""}` })
|
|
81
|
-
] }) })
|
|
82
|
-
] })
|
|
83
|
-
] })
|
|
84
|
-
] }),
|
|
85
|
-
/* @__PURE__ */ i(t, { align: "center", style: {
|
|
86
|
-
gap: "0.7rem"
|
|
87
|
-
}, children: [
|
|
88
|
-
r?.userAbilities?.deleteOrganization || r?.userAbilities?.updateOrganization ? /* @__PURE__ */ e(S, { variant: "filled", color: "secondary", onClick: (l) => {
|
|
89
|
-
l.stopPropagation(), j(r);
|
|
90
|
-
}, children: /* @__PURE__ */ e(w, { size: 16 }) }) : null,
|
|
91
|
-
g && g.userAbilities?.deleteMember ? /* @__PURE__ */ i(S, { variant: "filled", color: "error", onClick: (l) => {
|
|
92
|
-
l.stopPropagation(), r && M(r);
|
|
93
|
-
}, children: [
|
|
94
|
-
/* @__PURE__ */ e(F, { size: 16 }),
|
|
95
|
-
" Leave"
|
|
96
|
-
] }) : null
|
|
97
|
-
] })
|
|
98
|
-
] });
|
|
99
|
-
};
|
|
100
|
-
export {
|
|
101
|
-
Me as DOrganizationContent
|
|
102
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { DOrganizationReactiveService as C } from "./DOrganization.service.js";
|
|
2
|
-
import { DOrganizationView as F } from "./DOrganization.view.js";
|
|
3
|
-
import "react/jsx-runtime";
|
|
4
|
-
import "../../_virtual/compiler-runtime.js";
|
|
5
|
-
import '../../assets/components/dialog/Dialog.style.css';import '../../assets/components/tooltip/Tooltip.style.css';import '../../assets/components/form/Input.style.css';import '../../assets/components/badge/Badge.style.css';import '../../assets/components/menu/Menu.style.css';import '../../assets/components/avatar/Avatar.style.css';import '../../assets/components/spacing/Spacing.style.css';import '../../assets/components/flex/Flex.style.css';import '../../assets/components/text/Text.style.css';import '../../assets/components/card/Card.style.css';/* empty css */
|
|
6
|
-
import "merge-props";
|
|
7
|
-
import "js-md5";
|
|
8
|
-
import "react";
|
|
9
|
-
import "../../utils/contextStore.js";
|
|
10
|
-
/* empty css */
|
|
11
|
-
import "@tabler/icons-react";
|
|
12
|
-
/* empty css */
|
|
13
|
-
import "../button/Button.js";
|
|
14
|
-
/* empty css */
|
|
15
|
-
/* empty css */
|
|
16
|
-
import "avvvatars-react";
|
|
17
|
-
/* empty css */
|
|
18
|
-
import "@radix-ui/react-dropdown-menu";
|
|
19
|
-
/* empty css */
|
|
20
|
-
import "@radix-ui/react-checkbox";
|
|
21
|
-
/* empty css */
|
|
22
|
-
import "../form/EmailInput.js";
|
|
23
|
-
import "../form/Input.js";
|
|
24
|
-
import "../form/InputSuggestion.js";
|
|
25
|
-
import "../form/NumberInput.js";
|
|
26
|
-
import "../form/PasswordInput.js";
|
|
27
|
-
import "@radix-ui/react-one-time-password-field";
|
|
28
|
-
import "@radix-ui/react-radio-group";
|
|
29
|
-
import "../form/SwitchInput.js";
|
|
30
|
-
import "../form/TextInput.js";
|
|
31
|
-
import "@radix-ui/react-tooltip";
|
|
32
|
-
/* empty css */
|
|
33
|
-
import "@radix-ui/react-dialog";
|
|
34
|
-
/* empty css */
|
|
35
|
-
import { DOrganizationList as H } from "./DOrganizationList.js";
|
|
36
|
-
export {
|
|
37
|
-
H as DOrganizationList,
|
|
38
|
-
C as DOrganizationReactiveService,
|
|
39
|
-
F as DOrganizationView
|
|
40
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Namespace, NamespaceProject, NamespacesProjectsAssignRuntimesInput, NamespacesProjectsAssignRuntimesPayload, NamespacesProjectsCreateInput, NamespacesProjectsCreatePayload, NamespacesProjectsDeleteInput, NamespacesProjectsDeletePayload, NamespacesProjectsUpdateInput, NamespacesProjectsUpdatePayload } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
-
import { DNamespaceProjectView } from './DNamespaceProject.view';
|
|
3
|
-
import { ReactiveArrayService } from '../../utils';
|
|
4
|
-
export type DProjectDependencies = {
|
|
5
|
-
namespaceId: Namespace['id'];
|
|
6
|
-
};
|
|
7
|
-
export declare abstract class DNamespaceProjectReactiveService extends ReactiveArrayService<DNamespaceProjectView, DProjectDependencies> {
|
|
8
|
-
getById(id: NamespaceProject['id'], dependencies?: DProjectDependencies): DNamespaceProjectView | undefined;
|
|
9
|
-
abstract projectAssignRuntimes(payload: NamespacesProjectsAssignRuntimesInput): Promise<NamespacesProjectsAssignRuntimesPayload | undefined>;
|
|
10
|
-
abstract projectUpdate(payload: NamespacesProjectsUpdateInput): Promise<NamespacesProjectsUpdatePayload | undefined>;
|
|
11
|
-
abstract projectCreate(payload: NamespacesProjectsCreateInput): Promise<NamespacesProjectsCreatePayload | undefined>;
|
|
12
|
-
abstract projectDelete(payload: NamespacesProjectsDeleteInput): Promise<NamespacesProjectsDeletePayload | undefined>;
|
|
13
|
-
}
|
|
@@ -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(r, i) {
|
|
8
|
-
return this.values(i).find((e) => e && e.id === r);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
v as DNamespaceProjectReactiveService
|
|
13
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Flow, FlowConnection, Maybe, Namespace, NamespaceProject, NamespaceProjectUserAbilities, NamespaceRoleConnection, Runtime, RuntimeConnection, Scalars } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
-
export declare class DNamespaceProjectView {
|
|
3
|
-
/** Time when this NamespaceProject was created */
|
|
4
|
-
private readonly _createdAt?;
|
|
5
|
-
/** Description of the project */
|
|
6
|
-
private readonly _description?;
|
|
7
|
-
/** Fetches an flow given by its ID */
|
|
8
|
-
private readonly _flow?;
|
|
9
|
-
/** Fetches all flows in this project */
|
|
10
|
-
private readonly _flows?;
|
|
11
|
-
/** Global ID of this NamespaceProject */
|
|
12
|
-
private readonly _id?;
|
|
13
|
-
/** Name of the project */
|
|
14
|
-
private readonly _name?;
|
|
15
|
-
/** The namespace where this project belongs to */
|
|
16
|
-
private readonly _namespace?;
|
|
17
|
-
/** The primary runtime for the project */
|
|
18
|
-
private readonly _primaryRuntime?;
|
|
19
|
-
/** Roles assigned to this project */
|
|
20
|
-
private readonly _roles?;
|
|
21
|
-
/** Runtimes assigned to this project */
|
|
22
|
-
private readonly _runtimes?;
|
|
23
|
-
/** Slug of the project used in URLs to identify flows */
|
|
24
|
-
private readonly _slug?;
|
|
25
|
-
/** Time when this NamespaceProject was last updated */
|
|
26
|
-
private readonly _updatedAt?;
|
|
27
|
-
/** Abilities for the current user on this NamespaceProject */
|
|
28
|
-
private readonly _userAbilities?;
|
|
29
|
-
constructor(payload: NamespaceProject);
|
|
30
|
-
get createdAt(): Maybe<Scalars["Time"]["output"]> | undefined;
|
|
31
|
-
get description(): Maybe<Scalars["String"]["output"]> | undefined;
|
|
32
|
-
get flow(): Maybe<Flow> | undefined;
|
|
33
|
-
get flows(): Maybe<FlowConnection> | undefined;
|
|
34
|
-
get id(): Maybe<Scalars["NamespaceProjectID"]["output"]> | undefined;
|
|
35
|
-
get name(): Maybe<Scalars["String"]["output"]> | undefined;
|
|
36
|
-
get namespace(): Maybe<Namespace> | undefined;
|
|
37
|
-
get primaryRuntime(): Maybe<Runtime> | undefined;
|
|
38
|
-
get roles(): Maybe<NamespaceRoleConnection> | undefined;
|
|
39
|
-
get runtimes(): Maybe<RuntimeConnection> | undefined;
|
|
40
|
-
get slug(): Maybe<Scalars["String"]["output"]> | undefined;
|
|
41
|
-
get updatedAt(): Maybe<Scalars["Time"]["output"]> | undefined;
|
|
42
|
-
get userAbilities(): Maybe<NamespaceProjectUserAbilities> | undefined;
|
|
43
|
-
json(): NamespaceProject;
|
|
44
|
-
}
|