@devops-flow/devops-flow-pipeline-detail 0.0.37
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/README.md +1 -0
- package/dist/1.css +1 -0
- package/dist/1.js +24 -0
- package/dist/2.css +1 -0
- package/dist/2.js +1 -0
- package/dist/PipelineFlowDetail.css +1 -0
- package/dist/PipelineFlowDetail.js +72 -0
- package/dist/assets/012298127fd56d8e39cc5f8c78ca8a3f.ttf +0 -0
- package/dist/assets/02991164b5a38f9e2d5cdef951e0b0f0.ttf +0 -0
- package/dist/assets/0797e1d82e895e8ff5300e5080764bf6.woff +0 -0
- package/dist/assets/08b3a2c97fe1fea813bc50c273efcdee.eot +0 -0
- package/dist/assets/2e7ded00f078fd4ec6492110af6d0a14.otf +0 -0
- package/dist/assets/3cdb30d2423385c8dfb4dba0492eb726.woff +0 -0
- package/dist/assets/41a03f9f5cf65cde8d930d1bdaeb7aea.woff2 +0 -0
- package/dist/assets/59eea939288f45071c05df4c6e9bece4.woff +0 -0
- package/dist/assets/5d347415be35ebffd15afab8652d96c1.ttf +0 -0
- package/dist/assets/7a33cfe474846a73787c1533cfb19d80.svg +1 -0
- package/dist/assets/957dc9f6161ba0abec83ddf3f8450579.eot +0 -0
- package/dist/assets/c11f19b06005bc320624fa44c8785aff.svg +1028 -0
- package/dist/assets/db5ebea034541d557ce613bb8fbaaa86.svg +1 -0
- package/dist/assets/e29f8463847bbccbe42f64812705f829.eot +0 -0
- package/es/assets/font/DINPro-Medium.otf +0 -0
- package/es/assets/images/403.png +0 -0
- package/es/assets/images/404.png +0 -0
- package/es/assets/images/Aliyun.jpg +0 -0
- package/es/assets/images/Aone.png +0 -0
- package/es/assets/images/Bitbucket.jpg +0 -0
- package/es/assets/images/CMD.jpg +0 -0
- package/es/assets/images/Check.png +0 -0
- package/es/assets/images/Codeup.png +0 -0
- package/es/assets/images/Coding.jpg +0 -0
- package/es/assets/images/Docker.jpg +0 -0
- package/es/assets/images/ECS.jpg +0 -0
- package/es/assets/images/Empty.jpg +0 -0
- package/es/assets/images/Gerrit.jpg +0 -0
- package/es/assets/images/Git.jpg +0 -0
- package/es/assets/images/GitSample.png +0 -0
- package/es/assets/images/GitTag.png +0 -0
- package/es/assets/images/Gitee.jpg +0 -0
- package/es/assets/images/Github.jpg +0 -0
- package/es/assets/images/Gitlab.jpg +0 -0
- package/es/assets/images/Golang.jpg +0 -0
- package/es/assets/images/Gradle.jpg +0 -0
- package/es/assets/images/History.png +0 -0
- package/es/assets/images/Java.jpg +0 -0
- package/es/assets/images/Jenkins.jpg +0 -0
- package/es/assets/images/Kubernetes.jpg +0 -0
- package/es/assets/images/Maven.jpg +0 -0
- package/es/assets/images/Merge.jpg +0 -0
- package/es/assets/images/Node.jpg +0 -0
- package/es/assets/images/OSS.jpg +0 -0
- package/es/assets/images/PHP.jpg +0 -0
- package/es/assets/images/Phpmetrics.jpg +0 -0
- package/es/assets/images/Pipeline.png +0 -0
- package/es/assets/images/Project.png +0 -0
- package/es/assets/images/Python.jpg +0 -0
- package/es/assets/images/React.png +0 -0
- package/es/assets/images/Search.png +0 -0
- package/es/assets/images/Star.png +0 -0
- package/es/assets/images/Subversion.jpg +0 -0
- package/es/assets/images/TbPipeline.png +0 -0
- package/es/assets/images/Typescript.jpg +0 -0
- package/es/assets/images/Verify.jpg +0 -0
- package/es/assets/images/android.png +0 -0
- package/es/assets/images/error.png +0 -0
- package/es/assets/images/favicon.ico +0 -0
- package/es/assets/images/favicon.png +0 -0
- package/es/assets/images/helm.png +0 -0
- package/es/assets/img-src/index.d.ts +54 -0
- package/es/assets/img-src/index.js +41 -0
- package/es/assets/img-src/roles.d.ts +6 -0
- package/es/assets/img-src/roles.js +5 -0
- package/es/assets/img-src/source.d.ts +18 -0
- package/es/assets/img-src/source.js +18 -0
- package/es/components/FullScreenDialog/index.d.ts +10 -0
- package/es/components/FullScreenDialog/index.js +51 -0
- package/es/components/FullScreenDialog/index.module.scss +32 -0
- package/es/components/InlineCode/index.d.ts +12 -0
- package/es/components/InlineCode/index.js +26 -0
- package/es/components/InlineCode/index.module.scss +11 -0
- package/es/components/PipelineFlowEdit/CodeEditor/GoTemplateEditor.d.ts +9 -0
- package/es/components/PipelineFlowEdit/CodeEditor/GoTemplateEditor.js +221 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Guide.d.ts +3 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Guide.js +118 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/Nav/index.d.ts +13 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/Nav/index.js +39 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/Nav/index.scss +38 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/Panel/index.d.ts +18 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/Panel/index.js +101 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/Panel/index.scss +102 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/Breadcrumb.d.ts +3 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/Breadcrumb.js +28 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/MdContent.d.ts +7 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/MdContent.js +94 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/Search.d.ts +16 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/Search.js +150 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/Welcome.d.ts +2 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/Welcome.js +93 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/index.d.ts +20 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/index.js +551 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/index.scss +11 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/search.scss +73 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/style.module.scss +135 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/utils.d.ts +2 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/utils.js +13 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Docs/welcome.module.scss +55 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Tasks/index.d.ts +3 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Tasks/index.js +189 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/components/Tasks/index.scss +67 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/getSyntaxDetail.d.ts +6 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/getSyntaxDetail.js +83 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/index.d.ts +10 -0
- package/es/components/PipelineFlowEdit/CodeEditor/Helper/index.js +99 -0
- package/es/components/PipelineFlowEdit/CodeEditor/PreviewVariables/index.d.ts +6 -0
- package/es/components/PipelineFlowEdit/CodeEditor/PreviewVariables/index.js +217 -0
- package/es/components/PipelineFlowEdit/CodeEditor/PreviewVariables/style.module.scss +7 -0
- package/es/components/PipelineFlowEdit/CodeEditor/ProblemsPanel/index.d.ts +16 -0
- package/es/components/PipelineFlowEdit/CodeEditor/ProblemsPanel/index.js +322 -0
- package/es/components/PipelineFlowEdit/CodeEditor/ProblemsPanel/index.scss +168 -0
- package/es/components/PipelineFlowEdit/CodeEditor/cursorTarget.d.ts +9 -0
- package/es/components/PipelineFlowEdit/CodeEditor/cursorTarget.js +185 -0
- package/es/components/PipelineFlowEdit/CodeEditor/hack.scss +9 -0
- package/es/components/PipelineFlowEdit/CodeEditor/index.d.ts +39 -0
- package/es/components/PipelineFlowEdit/CodeEditor/index.js +394 -0
- package/es/components/PipelineFlowEdit/CodeEditor/index.scss +97 -0
- package/es/components/PipelineFlowEdit/CodeEditor/types.d.ts +5 -0
- package/es/components/PipelineFlowEdit/CodeEditor/types.js +1 -0
- package/es/components/PipelineFlowEdit/CodeEditor/wasm_exec.js +601 -0
- package/es/components/PipelineFlowEdit/FlowDocument/DefService.d.ts +10 -0
- package/es/components/PipelineFlowEdit/FlowDocument/DefService.js +409 -0
- package/es/components/PipelineFlowEdit/FlowDocument/EditingDocument.d.ts +14 -0
- package/es/components/PipelineFlowEdit/FlowDocument/EditingDocument.js +151 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowDocument.d.ts +8 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowDocument.js +84 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowJobEntry.d.ts +21 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowJobEntry.js +388 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowJobs.d.ts +10 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowJobs.js +70 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowNodeBase.d.ts +17 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowNodeBase.js +86 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowSourceEntry.d.ts +170 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowSourceEntry.js +492 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowSources.d.ts +12 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowSources.js +82 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowStageEntry.d.ts +15 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowStageEntry.js +69 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowStages.d.ts +12 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowStages.js +84 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowStepEntry.d.ts +17 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowStepEntry.js +89 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowSteps.d.ts +10 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowSteps.js +73 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowVariableGroups.d.ts +17 -0
- package/es/components/PipelineFlowEdit/FlowDocument/FlowVariableGroups.js +73 -0
- package/es/components/PipelineFlowEdit/FlowDocument/cache.d.ts +8 -0
- package/es/components/PipelineFlowEdit/FlowDocument/cache.js +41 -0
- package/es/components/PipelineFlowEdit/FlowDocument/jsonSchema.d.ts +79 -0
- package/es/components/PipelineFlowEdit/FlowDocument/jsonSchema.js +1 -0
- package/es/components/PipelineFlowEdit/FlowDocument/types.d.ts +14 -0
- package/es/components/PipelineFlowEdit/FlowDocument/types.js +1 -0
- package/es/components/PipelineFlowEdit/IngredientsContext.d.ts +11 -0
- package/es/components/PipelineFlowEdit/IngredientsContext.js +2 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/ItemList/index.d.ts +16 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/ItemList/index.js +97 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/ItemList/style.module.scss +53 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/Job.d.ts +8 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/Job.js +122 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/JobCard/JobCard.d.ts +12 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/JobCard/JobCard.js +89 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/JobCard/style.module.scss +139 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/JobDrawer/index.d.ts +8 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/JobDrawer/index.js +62 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/JobDrawer/style.module.scss +36 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/PipelineSource/Source.d.ts +2 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/PipelineSource/Source.js +44 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/PipelineSource/Source.style.module.scss +3 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/PipelineSource/index.d.ts +2 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/PipelineSource/index.js +17 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/PipelineSource/sources/Codeup.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/PipelineSource/sources/Codeup.js +48 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/EmptySource.d.ts +2 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/EmptySource.js +25 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/EmptySource.module.scss +21 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/SourceWrapper.d.ts +2 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/SourceWrapper.js +7 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/SourceWrapper.module.scss +11 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/index.d.ts +12 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/index.js +52 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/SourceCard/style.module.scss +54 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/Step.d.ts +10 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/Step.js +66 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/StepsList.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/StepsList.js +139 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/TaskTpl.d.ts +2 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/TaskTpl.js +150 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/Template.d.ts +15 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/Template.js +73 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/UIEditor.d.ts +2 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/UIEditor.js +559 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/config.d.ts +3 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/config.js +81 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/AddMembers.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/AddMembers.js +180 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Checkbox.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Checkbox.js +14 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Input.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Input.js +35 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Links.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Links.js +22 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Number.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Number.js +30 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Password.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Password.js +32 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/RadioGroup.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/RadioGroup.js +62 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Select.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Select.js +195 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Select.module.scss +3 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Shell.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Shell.js +32 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Textarea.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Textarea.js +30 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Tip.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/Tip.js +16 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/common.d.ts +5 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/fields/common.js +1 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/viewPortRender.d.ts +2 -0
- package/es/components/PipelineFlowEdit/UIEditor-deprecated/viewPortRender.js +47 -0
- package/es/components/PipelineFlowEdit/_DetailDialog.d.ts +2 -0
- package/es/components/PipelineFlowEdit/_DetailDialog.js +9 -0
- package/es/components/PipelineFlowEdit/_hotkey.js +0 -0
- package/es/components/PipelineFlowEdit/const.d.ts +3 -0
- package/es/components/PipelineFlowEdit/const.js +3 -0
- package/es/components/PipelineFlowEdit/index.d.ts +21 -0
- package/es/components/PipelineFlowEdit/index.js +254 -0
- package/es/components/PipelineFlowEdit/types.d.ts +28 -0
- package/es/components/PipelineFlowEdit/types.js +6 -0
- package/es/components/PipelineFlowEdit/utils.d.ts +7 -0
- package/es/components/PipelineFlowEdit/utils.js +62 -0
- package/es/components/PipelineGraph/AnimatedContainer.d.ts +5 -0
- package/es/components/PipelineGraph/AnimatedContainer.js +28 -0
- package/es/components/PipelineGraph/AnimatedContainer.scss +12 -0
- package/es/components/PipelineGraph/Guide.d.ts +3 -0
- package/es/components/PipelineGraph/Guide.js +133 -0
- package/es/components/PipelineGraph/PipelineBoard.d.ts +10 -0
- package/es/components/PipelineGraph/PipelineBoard.js +153 -0
- package/es/components/PipelineGraph/PipelineCanvas.d.ts +69 -0
- package/es/components/PipelineGraph/PipelineCanvas.js +544 -0
- package/es/components/PipelineGraph/PipelineCanvas.scss +114 -0
- package/es/components/PipelineGraph/PipelineDAG.d.ts +53 -0
- package/es/components/PipelineGraph/PipelineDAG.js +174 -0
- package/es/components/PipelineGraph/PipelineJobs.d.ts +7 -0
- package/es/components/PipelineGraph/PipelineJobs.js +310 -0
- package/es/components/PipelineGraph/PipelineJobs.module.scss +16 -0
- package/es/components/PipelineGraph/PipelineRunGraph.d.ts +68 -0
- package/es/components/PipelineGraph/PipelineRunGraph.js +341 -0
- package/es/components/PipelineGraph/Rect.d.ts +29 -0
- package/es/components/PipelineGraph/Rect.js +91 -0
- package/es/components/PipelineGraph/StageHeader.d.ts +13 -0
- package/es/components/PipelineGraph/StageHeader.js +44 -0
- package/es/components/PipelineGraph/ViewPortCanvas.d.ts +8 -0
- package/es/components/PipelineGraph/ViewPortCanvas.js +132 -0
- package/es/components/PipelineGraph/ViewPortStatusBar.d.ts +12 -0
- package/es/components/PipelineGraph/ViewPortStatusBar.js +129 -0
- package/es/components/PipelineGraph/createProjection.d.ts +7 -0
- package/es/components/PipelineGraph/createProjection.js +49 -0
- package/es/components/PipelineGraph/getCanvasContentRect.d.ts +7 -0
- package/es/components/PipelineGraph/getCanvasContentRect.js +58 -0
- package/es/components/PipelineGraph/hack.scss +6 -0
- package/es/components/PipelineGraph/sizes.d.ts +10 -0
- package/es/components/PipelineGraph/sizes.js +11 -0
- package/es/components/PipelineGraph/transformOldPipelineRun.d.ts +3 -0
- package/es/components/PipelineGraph/transformOldPipelineRun.js +42 -0
- package/es/components/PipelineGraph/utils.d.ts +3 -0
- package/es/components/PipelineGraph/utils.js +16 -0
- package/es/components/RangeDatePicker/index.d.ts +12 -0
- package/es/components/RangeDatePicker/index.js +170 -0
- package/es/components/RangeDatePicker/index.module.scss +7 -0
- package/es/components/SVG/CardCheckSVG/index.d.ts +5 -0
- package/es/components/SVG/CardCheckSVG/index.js +22 -0
- package/es/components/SelectPipeline/index.d.ts +7 -0
- package/es/components/SelectPipeline/index.js +98 -0
- package/es/components/SelectPipeline/index.module.scss +17 -0
- package/es/components/SyntaxHighlighter/index.d.ts +5 -0
- package/es/components/SyntaxHighlighter/index.js +20 -0
- package/es/components/Tooltip/index.js +169 -0
- package/es/components/Tooltip/index.module.scss +60 -0
- package/es/components/common/at-design.scss +288 -0
- package/es/components/common/at-dialog-nav-scroll.scss +53 -0
- package/es/components/common/at-dialog-nav.scss +45 -0
- package/es/components/common/index.scss +8 -0
- package/es/components/common/teambition/ErrorBoundaryCommon/index.d.ts +15 -0
- package/es/components/common/teambition/ErrorBoundaryCommon/index.js +69 -0
- package/es/components/common/teambition/ErrorBoundaryCommon/style.module.scss +8 -0
- package/es/components/common/teambition/avatar/index.d.ts +12 -0
- package/es/components/common/teambition/avatar/index.js +146 -0
- package/es/components/common/teambition/avatar/index.scss +27 -0
- package/es/components/common/teambition/bem.scss +46 -0
- package/es/components/common/teambition/change-info-dialog/index.d.ts +4 -0
- package/es/components/common/teambition/change-info-dialog/index.js +152 -0
- package/es/components/common/teambition/change-info-dialog/index.scss +19 -0
- package/es/components/common/teambition/click-button/index.d.ts +3 -0
- package/es/components/common/teambition/click-button/index.js +43 -0
- package/es/components/common/teambition/custom-tab/index.d.ts +4 -0
- package/es/components/common/teambition/custom-tab/index.js +55 -0
- package/es/components/common/teambition/custom-tab/index.scss +26 -0
- package/es/components/common/teambition/deploy-group-dialog/add-host/index.d.ts +3 -0
- package/es/components/common/teambition/deploy-group-dialog/add-host/index.js +994 -0
- package/es/components/common/teambition/deploy-group-dialog/add-host/index.scss +128 -0
- package/es/components/common/teambition/deploy-group-dialog/config.d.ts +57 -0
- package/es/components/common/teambition/deploy-group-dialog/config.js +71 -0
- package/es/components/common/teambition/deploy-group-dialog/edit-host-group/index.d.ts +15 -0
- package/es/components/common/teambition/deploy-group-dialog/edit-host-group/index.js +292 -0
- package/es/components/common/teambition/deploy-group-dialog/edit-host-group/index.scss +29 -0
- package/es/components/common/teambition/deploy-group-dialog/host-info/index.d.ts +13 -0
- package/es/components/common/teambition/deploy-group-dialog/host-info/index.js +122 -0
- package/es/components/common/teambition/deploy-group-dialog/host-info/index.scss +21 -0
- package/es/components/common/teambition/deploy-group-dialog/host-list/index.d.ts +3 -0
- package/es/components/common/teambition/deploy-group-dialog/host-list/index.js +61 -0
- package/es/components/common/teambition/deploy-group-dialog/host-list/index.scss +13 -0
- package/es/components/common/teambition/deploy-group-dialog/host-table/index.d.ts +3 -0
- package/es/components/common/teambition/deploy-group-dialog/host-table/index.js +261 -0
- package/es/components/common/teambition/deploy-group-dialog/host-table/index.scss +42 -0
- package/es/components/common/teambition/deploy-group-dialog/host-type/index.d.ts +3 -0
- package/es/components/common/teambition/deploy-group-dialog/host-type/index.js +205 -0
- package/es/components/common/teambition/deploy-group-dialog/host-type/index.scss +109 -0
- package/es/components/common/teambition/deploy-group-dialog/index.d.ts +6 -0
- package/es/components/common/teambition/deploy-group-dialog/index.js +1225 -0
- package/es/components/common/teambition/deploy-group-dialog/index.scss +33 -0
- package/es/components/common/teambition/deploy-group-dialog/store/index.d.ts +3 -0
- package/es/components/common/teambition/deploy-group-dialog/store/index.js +243 -0
- package/es/components/common/teambition/docs/index.d.ts +5 -0
- package/es/components/common/teambition/docs/index.js +45 -0
- package/es/components/common/teambition/duration/index.d.ts +12 -0
- package/es/components/common/teambition/duration/index.js +105 -0
- package/es/components/common/teambition/editable-label/index.d.ts +10 -0
- package/es/components/common/teambition/editable-label/index.js +86 -0
- package/es/components/common/teambition/editable-label/index.scss +34 -0
- package/es/components/common/teambition/empty/index.d.ts +6 -0
- package/es/components/common/teambition/empty/index.js +21 -0
- package/es/components/common/teambition/empty/index.scss +19 -0
- package/es/components/common/teambition/flow/error-hint/index.d.ts +4 -0
- package/es/components/common/teambition/flow/error-hint/index.js +46 -0
- package/es/components/common/teambition/flow/error-hint/index.scss +112 -0
- package/es/components/common/teambition/flow/index.d.ts +4 -0
- package/es/components/common/teambition/flow/index.js +545 -0
- package/es/components/common/teambition/flow/index.scss +13 -0
- package/es/components/common/teambition/flow-engine/AdvancedSetting.d.ts +10 -0
- package/es/components/common/teambition/flow-engine/AdvancedSetting.js +137 -0
- package/es/components/common/teambition/flow-engine/DebouncedInput.d.ts +3 -0
- package/es/components/common/teambition/flow-engine/DebouncedInput.js +23 -0
- package/es/components/common/teambition/flow-engine/config.d.ts +4 -0
- package/es/components/common/teambition/flow-engine/config.js +106 -0
- package/es/components/common/teambition/flow-engine/dialogs/addServiceConnection.d.ts +16 -0
- package/es/components/common/teambition/flow-engine/dialogs/addServiceConnection.js +233 -0
- package/es/components/common/teambition/flow-engine/dialogs/asm-connection/index.d.ts +12 -0
- package/es/components/common/teambition/flow-engine/dialogs/asm-connection/index.js +179 -0
- package/es/components/common/teambition/flow-engine/dialogs/asm-connection/index.scss +42 -0
- package/es/components/common/teambition/flow-engine/dialogs/asm-connection/types/custom.d.ts +6 -0
- package/es/components/common/teambition/flow-engine/dialogs/asm-connection/types/custom.js +78 -0
- package/es/components/common/teambition/flow-engine/dialogs/asm-connection/types/index.d.ts +16 -0
- package/es/components/common/teambition/flow-engine/dialogs/asm-connection/types/index.js +54 -0
- package/es/components/common/teambition/flow-engine/dialogs/black.d.ts +7 -0
- package/es/components/common/teambition/flow-engine/dialogs/black.js +29 -0
- package/es/components/common/teambition/flow-engine/dialogs/createAcrRepository/index.d.ts +3 -0
- package/es/components/common/teambition/flow-engine/dialogs/createAcrRepository/index.js +175 -0
- package/es/components/common/teambition/flow-engine/dialogs/createJenkinsCredential/index.d.ts +4 -0
- package/es/components/common/teambition/flow-engine/dialogs/createJenkinsCredential/index.js +179 -0
- package/es/components/common/teambition/flow-engine/dialogs/createJenkinsCredential/index.scss +32 -0
- package/es/components/common/teambition/flow-engine/dialogs/dialog.d.ts +8 -0
- package/es/components/common/teambition/flow-engine/dialogs/dialog.js +59 -0
- package/es/components/common/teambition/flow-engine/dialogs/emas-app/index.d.ts +18 -0
- package/es/components/common/teambition/flow-engine/dialogs/emas-app/index.js +377 -0
- package/es/components/common/teambition/flow-engine/dialogs/emas-app/index.scss +26 -0
- package/es/components/common/teambition/flow-engine/dialogs/emas-product/index.d.ts +9 -0
- package/es/components/common/teambition/flow-engine/dialogs/emas-product/index.js +116 -0
- package/es/components/common/teambition/flow-engine/dialogs/index.d.ts +5 -0
- package/es/components/common/teambition/flow-engine/dialogs/index.js +25 -0
- package/es/components/common/teambition/flow-engine/dialogs/index.scss +40 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/index.d.ts +29 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/index.js +421 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/index.scss +64 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/types/ack.d.ts +8 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/types/ack.js +240 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/types/custom.d.ts +8 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/types/custom.js +143 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/types/index.d.ts +35 -0
- package/es/components/common/teambition/flow-engine/dialogs/kubeconfig-connection/types/index.js +113 -0
- package/es/components/common/teambition/flow-engine/dialogs/shell-magnifying/index.d.ts +4 -0
- package/es/components/common/teambition/flow-engine/dialogs/shell-magnifying/index.js +40 -0
- package/es/components/common/teambition/flow-engine/dialogs/shell-magnifying/index.scss +13 -0
- package/es/components/common/teambition/flow-engine/fetch.d.ts +10 -0
- package/es/components/common/teambition/flow-engine/fetch.js +145 -0
- package/es/components/common/teambition/flow-engine/fields/AddMembers.d.ts +12 -0
- package/es/components/common/teambition/flow-engine/fields/AddMembers.js +164 -0
- package/es/components/common/teambition/flow-engine/fields/appstackImage.d.ts +3 -0
- package/es/components/common/teambition/flow-engine/fields/appstackImage.js +386 -0
- package/es/components/common/teambition/flow-engine/fields/appstackImage.scss +75 -0
- package/es/components/common/teambition/flow-engine/fields/base.d.ts +16 -0
- package/es/components/common/teambition/flow-engine/fields/base.js +61 -0
- package/es/components/common/teambition/flow-engine/fields/build-setting/index.d.ts +15 -0
- package/es/components/common/teambition/flow-engine/fields/build-setting/index.js +75 -0
- package/es/components/common/teambition/flow-engine/fields/checkbox.d.ts +5 -0
- package/es/components/common/teambition/flow-engine/fields/checkbox.js +20 -0
- package/es/components/common/teambition/flow-engine/fields/customVariable.d.ts +3 -0
- package/es/components/common/teambition/flow-engine/fields/customVariable.js +408 -0
- package/es/components/common/teambition/flow-engine/fields/customVariable.scss +95 -0
- package/es/components/common/teambition/flow-engine/fields/dropdown.d.ts +61 -0
- package/es/components/common/teambition/flow-engine/fields/dropdown.js +1093 -0
- package/es/components/common/teambition/flow-engine/fields/field_common.scss +93 -0
- package/es/components/common/teambition/flow-engine/fields/index.scss +115 -0
- package/es/components/common/teambition/flow-engine/fields/input.d.ts +10 -0
- package/es/components/common/teambition/flow-engine/fields/input.js +166 -0
- package/es/components/common/teambition/flow-engine/fields/inputList.d.ts +10 -0
- package/es/components/common/teambition/flow-engine/fields/inputList.js +79 -0
- package/es/components/common/teambition/flow-engine/fields/inputList.scss +21 -0
- package/es/components/common/teambition/flow-engine/fields/links.d.ts +5 -0
- package/es/components/common/teambition/flow-engine/fields/links.js +22 -0
- package/es/components/common/teambition/flow-engine/fields/machineGroupSelect.d.ts +25 -0
- package/es/components/common/teambition/flow-engine/fields/machineGroupSelect.js +657 -0
- package/es/components/common/teambition/flow-engine/fields/machineGroupSelect.scss +55 -0
- package/es/components/common/teambition/flow-engine/fields/machineGroupSelectNew.d.ts +32 -0
- package/es/components/common/teambition/flow-engine/fields/machineGroupSelectNew.js +475 -0
- package/es/components/common/teambition/flow-engine/fields/machineGroupSelectNew.scss +33 -0
- package/es/components/common/teambition/flow-engine/fields/mavenSettingSelector.d.ts +4 -0
- package/es/components/common/teambition/flow-engine/fields/mavenSettingSelector.js +141 -0
- package/es/components/common/teambition/flow-engine/fields/mavenSettingSelector.scss +11 -0
- package/es/components/common/teambition/flow-engine/fields/member.scss +7 -0
- package/es/components/common/teambition/flow-engine/fields/multiKeyValue/index.d.ts +9 -0
- package/es/components/common/teambition/flow-engine/fields/multiKeyValue/index.js +104 -0
- package/es/components/common/teambition/flow-engine/fields/multiKeyValue/index.scss +17 -0
- package/es/components/common/teambition/flow-engine/fields/multiUpstream.d.ts +19 -0
- package/es/components/common/teambition/flow-engine/fields/multiUpstream.js +396 -0
- package/es/components/common/teambition/flow-engine/fields/multiUpstream.scss +67 -0
- package/es/components/common/teambition/flow-engine/fields/none.d.ts +5 -0
- package/es/components/common/teambition/flow-engine/fields/none.js +18 -0
- package/es/components/common/teambition/flow-engine/fields/packagesConnection.d.ts +10 -0
- package/es/components/common/teambition/flow-engine/fields/packagesConnection.js +330 -0
- package/es/components/common/teambition/flow-engine/fields/packagesConnection.scss +31 -0
- package/es/components/common/teambition/flow-engine/fields/password.d.ts +6 -0
- package/es/components/common/teambition/flow-engine/fields/password.js +25 -0
- package/es/components/common/teambition/flow-engine/fields/radioGroup.d.ts +15 -0
- package/es/components/common/teambition/flow-engine/fields/radioGroup.js +180 -0
- package/es/components/common/teambition/flow-engine/fields/radioGroup.scss +3 -0
- package/es/components/common/teambition/flow-engine/fields/readline.d.ts +13 -0
- package/es/components/common/teambition/flow-engine/fields/readline.js +296 -0
- package/es/components/common/teambition/flow-engine/fields/redline.scss +69 -0
- package/es/components/common/teambition/flow-engine/fields/sourceSelect.d.ts +3 -0
- package/es/components/common/teambition/flow-engine/fields/sourceSelect.js +54 -0
- package/es/components/common/teambition/flow-engine/fields/sourcesSelect.d.ts +3 -0
- package/es/components/common/teambition/flow-engine/fields/sourcesSelect.js +69 -0
- package/es/components/common/teambition/flow-engine/fields/step.d.ts +20 -0
- package/es/components/common/teambition/flow-engine/fields/step.js +456 -0
- package/es/components/common/teambition/flow-engine/fields/step.scss +31 -0
- package/es/components/common/teambition/flow-engine/fields/steps.d.ts +17 -0
- package/es/components/common/teambition/flow-engine/fields/steps.js +719 -0
- package/es/components/common/teambition/flow-engine/fields/text_label.d.ts +5 -0
- package/es/components/common/teambition/flow-engine/fields/text_label.js +16 -0
- package/es/components/common/teambition/flow-engine/fields/tip.d.ts +6 -0
- package/es/components/common/teambition/flow-engine/fields/tip.js +39 -0
- package/es/components/common/teambition/flow-engine/fields/upstream.d.ts +12 -0
- package/es/components/common/teambition/flow-engine/fields/upstream.js +169 -0
- package/es/components/common/teambition/flow-engine/fields/upstreamSourcesUtils.d.ts +11 -0
- package/es/components/common/teambition/flow-engine/fields/upstreamSourcesUtils.js +144 -0
- package/es/components/common/teambition/flow-engine/globalContext.d.ts +5 -0
- package/es/components/common/teambition/flow-engine/globalContext.js +7 -0
- package/es/components/common/teambition/flow-engine/index.scss +190 -0
- package/es/components/common/teambition/flow-engine/job.d.ts +26 -0
- package/es/components/common/teambition/flow-engine/job.js +567 -0
- package/es/components/common/teambition/flow-engine/jobInitializer.d.ts +15 -0
- package/es/components/common/teambition/flow-engine/jobInitializer.js +64 -0
- package/es/components/common/teambition/flow-engine/plugins.d.ts +10 -0
- package/es/components/common/teambition/flow-engine/plugins.js +324 -0
- package/es/components/common/teambition/flow-engine/rules.d.ts +5 -0
- package/es/components/common/teambition/flow-engine/rules.js +633 -0
- package/es/components/common/teambition/flow-engine/template.d.ts +35 -0
- package/es/components/common/teambition/flow-engine/template.js +617 -0
- package/es/components/common/teambition/flow-engine/toolbars/index.d.ts +8 -0
- package/es/components/common/teambition/flow-engine/toolbars/index.js +32 -0
- package/es/components/common/teambition/flow-engine/toolbars/shortcutAcrCreate.d.ts +10 -0
- package/es/components/common/teambition/flow-engine/toolbars/shortcutAcrCreate.js +356 -0
- package/es/components/common/teambition/flow-group/index.d.ts +39 -0
- package/es/components/common/teambition/flow-group/index.js +201 -0
- package/es/components/common/teambition/flow-group/index.scss +136 -0
- package/es/components/common/teambition/flow-job-btn/app-deploy-order/index.d.ts +9 -0
- package/es/components/common/teambition/flow-job-btn/app-deploy-order/index.js +177 -0
- package/es/components/common/teambition/flow-job-btn/app-deploy-order/index.scss +12 -0
- package/es/components/common/teambition/flow-job-btn/aui-test-summary/index.d.ts +16 -0
- package/es/components/common/teambition/flow-job-btn/aui-test-summary/index.js +80 -0
- package/es/components/common/teambition/flow-job-btn/aui-test-summary/index.scss +180 -0
- package/es/components/common/teambition/flow-job-btn/batch-conflict-merge-btn/index.d.ts +11 -0
- package/es/components/common/teambition/flow-job-btn/batch-conflict-merge-btn/index.js +178 -0
- package/es/components/common/teambition/flow-job-btn/batch-conflict-merge-btn/index.scss +20 -0
- package/es/components/common/teambition/flow-job-btn/cardsMap.d.ts +13 -0
- package/es/components/common/teambition/flow-job-btn/cardsMap.js +215 -0
- package/es/components/common/teambition/flow-job-btn/change-info-btn/index.d.ts +6 -0
- package/es/components/common/teambition/flow-job-btn/change-info-btn/index.js +48 -0
- package/es/components/common/teambition/flow-job-btn/conflict-merge-btn/index.d.ts +12 -0
- package/es/components/common/teambition/flow-job-btn/conflict-merge-btn/index.js +151 -0
- package/es/components/common/teambition/flow-job-btn/conflict-merge-btn/index.scss +20 -0
- package/es/components/common/teambition/flow-job-btn/debug-button/index.d.ts +15 -0
- package/es/components/common/teambition/flow-job-btn/debug-button/index.js +142 -0
- package/es/components/common/teambition/flow-job-btn/debug-button/index.scss +27 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/deployChannel.d.ts +3 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/deployChannel.js +3 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/deployOrderDetail.d.ts +4 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/deployOrderDetail.js +700 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/deployOrderLogDialog.d.ts +4 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/deployOrderLogDialog.js +218 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/deployOrderLogs.d.ts +4 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/deployOrderLogs.js +296 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/index.d.ts +12 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/index.js +45 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/index.scss +286 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/machineStatus.d.ts +8 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/machineStatus.js +8 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/orderStatus.d.ts +6 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/orderStatus.js +6 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/pauseStrategy.d.ts +3 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/pauseStrategy.js +3 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/utils.d.ts +20 -0
- package/es/components/common/teambition/flow-job-btn/deploy-order/utils.js +158 -0
- package/es/components/common/teambition/flow-job-btn/emas-artifact/index.d.ts +7 -0
- package/es/components/common/teambition/flow-job-btn/emas-artifact/index.js +77 -0
- package/es/components/common/teambition/flow-job-btn/emas-artifact/index.scss +4 -0
- package/es/components/common/teambition/flow-job-btn/execute-button/index.d.ts +24 -0
- package/es/components/common/teambition/flow-job-btn/execute-button/index.js +176 -0
- package/es/components/common/teambition/flow-job-btn/index.d.ts +12 -0
- package/es/components/common/teambition/flow-job-btn/index.js +207 -0
- package/es/components/common/teambition/flow-job-btn/istio-conflict-merge-btn/index.d.ts +12 -0
- package/es/components/common/teambition/flow-job-btn/istio-conflict-merge-btn/index.js +193 -0
- package/es/components/common/teambition/flow-job-btn/istio-conflict-merge-btn/index.scss +20 -0
- package/es/components/common/teambition/flow-job-btn/link/index.d.ts +11 -0
- package/es/components/common/teambition/flow-job-btn/link/index.js +29 -0
- package/es/components/common/teambition/flow-job-btn/link-with-qrcode/index.d.ts +7 -0
- package/es/components/common/teambition/flow-job-btn/link-with-qrcode/index.js +25 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/AI.d.ts +9 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/AI.js +339 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/ai.module.scss +182 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/ai.scss +153 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/aiFeedback.d.ts +4 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/aiFeedback.js +149 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/aiFeedback.scss +61 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/index.d.ts +17 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/index.js +598 -0
- package/es/components/common/teambition/flow-job-btn/log-btn/index.scss +231 -0
- package/es/components/common/teambition/flow-job-btn/none/index.d.ts +11 -0
- package/es/components/common/teambition/flow-job-btn/none/index.js +24 -0
- package/es/components/common/teambition/flow-job-btn/package-download/index.d.ts +9 -0
- package/es/components/common/teambition/flow-job-btn/package-download/index.js +91 -0
- package/es/components/common/teambition/flow-job-btn/package-download/index.scss +48 -0
- package/es/components/common/teambition/flow-job-btn/package-link/index.d.ts +8 -0
- package/es/components/common/teambition/flow-job-btn/package-link/index.js +54 -0
- package/es/components/common/teambition/flow-job-btn/package-link/index.scss +0 -0
- package/es/components/common/teambition/flow-job-btn/release-branch/index.d.ts +6 -0
- package/es/components/common/teambition/flow-job-btn/release-branch/index.js +78 -0
- package/es/components/common/teambition/flow-job-btn/release-order/index.d.ts +12 -0
- package/es/components/common/teambition/flow-job-btn/release-order/index.js +49 -0
- package/es/components/common/teambition/flow-job-btn/release-order/index.scss +11 -0
- package/es/components/common/teambition/flow-job-btn/replaceHost.d.ts +1 -0
- package/es/components/common/teambition/flow-job-btn/replaceHost.js +7 -0
- package/es/components/common/teambition/flow-job-btn/stat-info-s-common/RememberConfirm.d.ts +5 -0
- package/es/components/common/teambition/flow-job-btn/stat-info-s-common/RememberConfirm.js +152 -0
- package/es/components/common/teambition/flow-job-btn/stat-info-s-common/common.d.ts +12 -0
- package/es/components/common/teambition/flow-job-btn/stat-info-s-common/common.js +70 -0
- package/es/components/common/teambition/flow-job-btn/state-info/index.d.ts +11 -0
- package/es/components/common/teambition/flow-job-btn/state-info/index.js +715 -0
- package/es/components/common/teambition/flow-job-btn/state-info/index.scss +78 -0
- package/es/components/common/teambition/flow-job-btn/state-info-with-redline/index.d.ts +11 -0
- package/es/components/common/teambition/flow-job-btn/state-info-with-redline/index.js +621 -0
- package/es/components/common/teambition/flow-job-btn/state-info-with-redline/index.scss +61 -0
- package/es/components/common/teambition/flow-job-btn/state-info-with-redline-new/index.d.ts +14 -0
- package/es/components/common/teambition/flow-job-btn/state-info-with-redline-new/index.js +706 -0
- package/es/components/common/teambition/flow-job-btn/state-info-with-redline-new/index.scss +99 -0
- package/es/components/common/teambition/flow-job-btn/summary-info/index.d.ts +12 -0
- package/es/components/common/teambition/flow-job-btn/summary-info/index.js +38 -0
- package/es/components/common/teambition/flow-job-btn/summary-info/index.scss +9 -0
- package/es/components/common/teambition/flow-job-btn/view/index.d.ts +11 -0
- package/es/components/common/teambition/flow-job-btn/view/index.js +27 -0
- package/es/components/common/teambition/flow-job-edit-menu/index.d.ts +24 -0
- package/es/components/common/teambition/flow-job-edit-menu/index.js +155 -0
- package/es/components/common/teambition/flow-job-edit-menu/index.scss +40 -0
- package/es/components/common/teambition/flow-job-new/FlowJobGraphNode.d.ts +22 -0
- package/es/components/common/teambition/flow-job-new/FlowJobGraphNode.js +52 -0
- package/es/components/common/teambition/flow-job-new/FlowJobGraphNode.module.scss +7 -0
- package/es/components/common/teambition/flow-job-new/avatar-group/index.d.ts +6 -0
- package/es/components/common/teambition/flow-job-new/avatar-group/index.js +57 -0
- package/es/components/common/teambition/flow-job-new/avatar-group/index.scss +59 -0
- package/es/components/common/teambition/flow-job-new/cardInner.module.scss +183 -0
- package/es/components/common/teambition/flow-job-new/componentDisplayText.d.ts +2 -0
- package/es/components/common/teambition/flow-job-new/componentDisplayText.js +36 -0
- package/es/components/common/teambition/flow-job-new/hack.module.scss +50 -0
- package/es/components/common/teambition/flow-job-new/index.d.ts +28 -0
- package/es/components/common/teambition/flow-job-new/index.js +732 -0
- package/es/components/common/teambition/flow-job-new/index.scss +37 -0
- package/es/components/common/teambition/flow-job-new/style.module.scss +145 -0
- package/es/components/common/teambition/flow-job-new/themes/card.scss +195 -0
- package/es/components/common/teambition/flow-job-new/useScroll.d.ts +2 -0
- package/es/components/common/teambition/flow-job-new/useScroll.js +16 -0
- package/es/components/common/teambition/flow-job-new/utils/index.d.ts +2 -0
- package/es/components/common/teambition/flow-job-new/utils/index.js +109 -0
- package/es/components/common/teambition/flow-job-runtime-menu/index.d.ts +16 -0
- package/es/components/common/teambition/flow-job-runtime-menu/index.js +89 -0
- package/es/components/common/teambition/flow-job-runtime-menu/index.scss +51 -0
- package/es/components/common/teambition/flow-new/error-hint/index.d.ts +4 -0
- package/es/components/common/teambition/flow-new/error-hint/index.js +46 -0
- package/es/components/common/teambition/flow-new/error-hint/index.scss +112 -0
- package/es/components/common/teambition/flow-new/flow.d.ts +3 -0
- package/es/components/common/teambition/flow-new/flow.js +48 -0
- package/es/components/common/teambition/flow-new/index.d.ts +10 -0
- package/es/components/common/teambition/flow-new/index.js +60 -0
- package/es/components/common/teambition/flow-stage/index.d.ts +25 -0
- package/es/components/common/teambition/flow-stage/index.js +90 -0
- package/es/components/common/teambition/flow-stage/index.scss +117 -0
- package/es/components/common/teambition/flow-stage-new/index.d.ts +23 -0
- package/es/components/common/teambition/flow-stage-new/index.js +76 -0
- package/es/components/common/teambition/flow-stage-new/index.scss +53 -0
- package/es/components/common/teambition/form-error-tooltip/index.d.ts +5 -0
- package/es/components/common/teambition/form-error-tooltip/index.js +25 -0
- package/es/components/common/teambition/globalParams/index.d.ts +21 -0
- package/es/components/common/teambition/globalParams/index.js +351 -0
- package/es/components/common/teambition/globalParams/index.scss +98 -0
- package/es/components/common/teambition/group-status/index.d.ts +7 -0
- package/es/components/common/teambition/group-status/index.js +83 -0
- package/es/components/common/teambition/group-status/index.scss +107 -0
- package/es/components/common/teambition/guide-hint/index.d.ts +4 -0
- package/es/components/common/teambition/guide-hint/index.js +55 -0
- package/es/components/common/teambition/guide-hint/index.scss +103 -0
- package/es/components/common/teambition/help-link/index.d.ts +3 -0
- package/es/components/common/teambition/help-link/index.js +28 -0
- package/es/components/common/teambition/help-link/index.scss +7 -0
- package/es/components/common/teambition/icon-font/index.d.ts +17 -0
- package/es/components/common/teambition/icon-font/index.js +81 -0
- package/es/components/common/teambition/icon-image/index.d.ts +12 -0
- package/es/components/common/teambition/icon-image/index.js +28 -0
- package/es/components/common/teambition/index.scss +331 -0
- package/es/components/common/teambition/input-placeholder-tip/index.d.ts +5 -0
- package/es/components/common/teambition/input-placeholder-tip/index.js +38 -0
- package/es/components/common/teambition/input-placeholder-tip/index.scss +7 -0
- package/es/components/common/teambition/instance-flow/index.d.ts +11 -0
- package/es/components/common/teambition/instance-flow/index.js +54 -0
- package/es/components/common/teambition/instance-flow/index.scss +1 -0
- package/es/components/common/teambition/instance-releases/index.d.ts +7 -0
- package/es/components/common/teambition/instance-releases/index.js +50 -0
- package/es/components/common/teambition/instance-releases/index.scss +52 -0
- package/es/components/common/teambition/instance-sources/index.d.ts +12 -0
- package/es/components/common/teambition/instance-sources/index.js +252 -0
- package/es/components/common/teambition/instance-sources/index.scss +143 -0
- package/es/components/common/teambition/instance-status/index.d.ts +10 -0
- package/es/components/common/teambition/instance-status/index.js +35 -0
- package/es/components/common/teambition/instance-status/index.scss +36 -0
- package/es/components/common/teambition/instance-status-icon/index.d.ts +91 -0
- package/es/components/common/teambition/instance-status-icon/index.js +239 -0
- package/es/components/common/teambition/instance-status-icon/index.scss +92 -0
- package/es/components/common/teambition/instance-trigger-info/index.d.ts +8 -0
- package/es/components/common/teambition/instance-trigger-info/index.js +278 -0
- package/es/components/common/teambition/instance-trigger-info/index.scss +109 -0
- package/es/components/common/teambition/instance-trigger-mode/index.d.ts +4 -0
- package/es/components/common/teambition/instance-trigger-mode/index.js +42 -0
- package/es/components/common/teambition/manage-nav-bar/index.d.ts +15 -0
- package/es/components/common/teambition/manage-nav-bar/index.js +99 -0
- package/es/components/common/teambition/manage-nav-bar/index.scss +104 -0
- package/es/components/common/teambition/menu-wrapper/index.d.ts +15 -0
- package/es/components/common/teambition/menu-wrapper/index.js +126 -0
- package/es/components/common/teambition/menu-wrapper/index.scss +65 -0
- package/es/components/common/teambition/message/index.d.ts +8 -0
- package/es/components/common/teambition/message/index.js +31 -0
- package/es/components/common/teambition/message/index.scss +43 -0
- package/es/components/common/teambition/message-page/index.d.ts +14 -0
- package/es/components/common/teambition/message-page/index.js +34 -0
- package/es/components/common/teambition/message-page/index.scss +16 -0
- package/es/components/common/teambition/operation-panel/index.d.ts +4 -0
- package/es/components/common/teambition/operation-panel/index.js +43 -0
- package/es/components/common/teambition/operation-panel/index.scss +33 -0
- package/es/components/common/teambition/pipeline-configuration/index.d.ts +3 -0
- package/es/components/common/teambition/pipeline-configuration/index.js +482 -0
- package/es/components/common/teambition/pipeline-configuration/index.scss +136 -0
- package/es/components/common/teambition/pipeline-configuration/utils.d.ts +546 -0
- package/es/components/common/teambition/pipeline-configuration/utils.js +1195 -0
- package/es/components/common/teambition/pipeline-flow-dialog/appstack-wrap.d.ts +11 -0
- package/es/components/common/teambition/pipeline-flow-dialog/appstack-wrap.js +50 -0
- package/es/components/common/teambition/pipeline-flow-dialog/index.d.ts +120 -0
- package/es/components/common/teambition/pipeline-flow-dialog/index.js +2612 -0
- package/es/components/common/teambition/pipeline-flow-dialog/index.scss +111 -0
- package/es/components/common/teambition/pipeline-flow-dialog/type.d.ts +14 -0
- package/es/components/common/teambition/pipeline-flow-dialog/utils.d.ts +18 -0
- package/es/components/common/teambition/pipeline-flow-dialog/utils.js +167 -0
- package/es/components/common/teambition/pipeline-flow-dialog/validate.d.ts +11 -0
- package/es/components/common/teambition/pipeline-flow-dialog/validate.js +43 -0
- package/es/components/common/teambition/pipeline-flow-info/flow-info/index.d.ts +3 -0
- package/es/components/common/teambition/pipeline-flow-info/flow-info/index.js +346 -0
- package/es/components/common/teambition/pipeline-flow-info/index.d.ts +11 -0
- package/es/components/common/teambition/pipeline-flow-info/index.js +60 -0
- package/es/components/common/teambition/pipeline-flow-info/index.scss +0 -0
- package/es/components/common/teambition/pipeline-flow-info/member-info/index.d.ts +3 -0
- package/es/components/common/teambition/pipeline-flow-info/member-info/index.js +70 -0
- package/es/components/common/teambition/pipeline-flow-info/member-info/index.scss +48 -0
- package/es/components/common/teambition/pipeline-flow-info/member-info/member-table.d.ts +4 -0
- package/es/components/common/teambition/pipeline-flow-info/member-info/member-table.js +179 -0
- package/es/components/common/teambition/pipeline-flow-info/member-info/utils.d.ts +16 -0
- package/es/components/common/teambition/pipeline-flow-info/member-info/utils.js +245 -0
- package/es/components/common/teambition/pipeline-flow-orchestrator/editor/index.d.ts +5 -0
- package/es/components/common/teambition/pipeline-flow-orchestrator/editor/index.js +8 -0
- package/es/components/common/teambition/pipeline-flow-orchestrator/index.d.ts +73 -0
- package/es/components/common/teambition/pipeline-flow-orchestrator/index.js +1010 -0
- package/es/components/common/teambition/pipeline-flow-orchestrator/index.scss +215 -0
- package/es/components/common/teambition/pipeline-flow-orchestrator/utils.d.ts +60 -0
- package/es/components/common/teambition/pipeline-flow-orchestrator/utils.js +225 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/concurrency/index.d.ts +9 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/concurrency/index.js +102 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/index.d.ts +16 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/index.js +250 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/index.scss +11 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/timer/index.d.ts +5 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/timer/index.js +375 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/timer/index.scss +46 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/webhook/index.d.ts +3 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/webhook/index.js +90 -0
- package/es/components/common/teambition/pipeline-flow-scheduler/webhook/index.module.scss +5 -0
- package/es/components/common/teambition/pipeline-flow-setting-layout/index.d.ts +8 -0
- package/es/components/common/teambition/pipeline-flow-setting-layout/index.js +15 -0
- package/es/components/common/teambition/pipeline-flow-setting-layout/index.scss +58 -0
- package/es/components/common/teambition/pipeline-flow-var/cache-table/add-cache-dialog/index.d.ts +9 -0
- package/es/components/common/teambition/pipeline-flow-var/cache-table/add-cache-dialog/index.js +131 -0
- package/es/components/common/teambition/pipeline-flow-var/cache-table/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-flow-var/cache-table/index.js +417 -0
- package/es/components/common/teambition/pipeline-flow-var/cache-table/index.scss +17 -0
- package/es/components/common/teambition/pipeline-flow-var/cache-table/mountCard.module.scss +47 -0
- package/es/components/common/teambition/pipeline-flow-var/cache-table/pmLocalMount.d.ts +5 -0
- package/es/components/common/teambition/pipeline-flow-var/cache-table/pmLocalMount.js +167 -0
- package/es/components/common/teambition/pipeline-flow-var/index.d.ts +11 -0
- package/es/components/common/teambition/pipeline-flow-var/index.js +101 -0
- package/es/components/common/teambition/pipeline-flow-var/index.scss +51 -0
- package/es/components/common/teambition/pipeline-flow-var/table-editable-pane/index.d.ts +11 -0
- package/es/components/common/teambition/pipeline-flow-var/table-editable-pane/index.js +146 -0
- package/es/components/common/teambition/pipeline-flow-var/table-editable-pane/index.scss +26 -0
- package/es/components/common/teambition/pipeline-flow-var/var-group-table/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-flow-var/var-group-table/index.js +550 -0
- package/es/components/common/teambition/pipeline-flow-var/var-group-table/index.scss +17 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/add-var-dialog/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/add-var-dialog/index.js +324 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/add-var-dialog/index.scss +53 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/add-var-dialog-option/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/add-var-dialog-option/index.js +373 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/add-var-dialog-option/index.scss +31 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/index.js +665 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/index.scss +21 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/util.d.ts +5 -0
- package/es/components/common/teambition/pipeline-flow-var/var-table/util.js +36 -0
- package/es/components/common/teambition/pipeline-graph/index.d.ts +7 -0
- package/es/components/common/teambition/pipeline-graph/index.js +41 -0
- package/es/components/common/teambition/pipeline-graph/index.scss +187 -0
- package/es/components/common/teambition/pipeline-graph/parent-graph.d.ts +59 -0
- package/es/components/common/teambition/pipeline-graph/parent-graph.js +161 -0
- package/es/components/common/teambition/pipeline-graph/stage-card.d.ts +8 -0
- package/es/components/common/teambition/pipeline-graph/stage-card.js +79 -0
- package/es/components/common/teambition/pipeline-graph/stage-graph.d.ts +7 -0
- package/es/components/common/teambition/pipeline-graph/stage-graph.js +61 -0
- package/es/components/common/teambition/pipeline-graph/svg-graph.d.ts +8 -0
- package/es/components/common/teambition/pipeline-graph/svg-graph.js +75 -0
- package/es/components/common/teambition/pipeline-info/appstack-wrap.d.ts +5 -0
- package/es/components/common/teambition/pipeline-info/appstack-wrap.js +24 -0
- package/es/components/common/teambition/pipeline-info/baseInfo.d.ts +8 -0
- package/es/components/common/teambition/pipeline-info/baseInfo.js +273 -0
- package/es/components/common/teambition/pipeline-info/index.d.ts +16 -0
- package/es/components/common/teambition/pipeline-info/index.js +313 -0
- package/es/components/common/teambition/pipeline-info/index.scss +56 -0
- package/es/components/common/teambition/pipeline-info/tagSelect.d.ts +10 -0
- package/es/components/common/teambition/pipeline-info/tagSelect.js +291 -0
- package/es/components/common/teambition/pipeline-instance/folding/index.d.ts +8 -0
- package/es/components/common/teambition/pipeline-instance/folding/index.js +45 -0
- package/es/components/common/teambition/pipeline-instance/folding/index.scss +43 -0
- package/es/components/common/teambition/pipeline-instance/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-instance/index.js +397 -0
- package/es/components/common/teambition/pipeline-instance/index.scss +249 -0
- package/es/components/common/teambition/pipeline-instance/package/packages.d.ts +8 -0
- package/es/components/common/teambition/pipeline-instance/package/packages.js +247 -0
- package/es/components/common/teambition/pipeline-instance/package/tree.d.ts +12 -0
- package/es/components/common/teambition/pipeline-instance/package/tree.js +104 -0
- package/es/components/common/teambition/pipeline-instance/readme.md +1 -0
- package/es/components/common/teambition/pipeline-instance/source.d.ts +3 -0
- package/es/components/common/teambition/pipeline-instance/source.js +198 -0
- package/es/components/common/teambition/pipeline-instance-new/SourceElement.d.ts +1 -0
- package/es/components/common/teambition/pipeline-instance-new/SourceElement.js +53 -0
- package/es/components/common/teambition/pipeline-instance-new/StatusBar.d.ts +1 -0
- package/es/components/common/teambition/pipeline-instance-new/StatusBar.js +273 -0
- package/es/components/common/teambition/pipeline-instance-new/commits/index.d.ts +7 -0
- package/es/components/common/teambition/pipeline-instance-new/commits/index.js +277 -0
- package/es/components/common/teambition/pipeline-instance-new/commits/index.scss +75 -0
- package/es/components/common/teambition/pipeline-instance-new/constants.d.ts +2 -0
- package/es/components/common/teambition/pipeline-instance-new/constants.js +2 -0
- package/es/components/common/teambition/pipeline-instance-new/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-instance-new/index.js +124 -0
- package/es/components/common/teambition/pipeline-instance-new/index.scss +500 -0
- package/es/components/common/teambition/pipeline-instance-new/package/packages.d.ts +8 -0
- package/es/components/common/teambition/pipeline-instance-new/package/packages.js +256 -0
- package/es/components/common/teambition/pipeline-instance-new/package/tree.d.ts +12 -0
- package/es/components/common/teambition/pipeline-instance-new/package/tree.js +114 -0
- package/es/components/common/teambition/pipeline-instance-new/source.d.ts +22 -0
- package/es/components/common/teambition/pipeline-instance-new/source.js +376 -0
- package/es/components/common/teambition/pipeline-instance-new/status/index.d.ts +9 -0
- package/es/components/common/teambition/pipeline-instance-new/status/index.js +172 -0
- package/es/components/common/teambition/pipeline-instance-new/status/index.scss +45 -0
- package/es/components/common/teambition/pipeline-instance-new/variable/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-instance-new/variable/index.js +108 -0
- package/es/components/common/teambition/pipeline-instance-new/variable/index.scss +5 -0
- package/es/components/common/teambition/pipeline-menu/index.d.ts +14 -0
- package/es/components/common/teambition/pipeline-menu/index.js +340 -0
- package/es/components/common/teambition/pipeline-menu/index.scss +122 -0
- package/es/components/common/teambition/pipeline-params/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-params/index.js +108 -0
- package/es/components/common/teambition/pipeline-params/index.scss +78 -0
- package/es/components/common/teambition/pipeline-recode-diff/index.d.ts +12 -0
- package/es/components/common/teambition/pipeline-recode-diff/index.js +276 -0
- package/es/components/common/teambition/pipeline-recode-diff/index.module.scss +27 -0
- package/es/components/common/teambition/pipeline-roll-back/index.d.ts +13 -0
- package/es/components/common/teambition/pipeline-roll-back/index.js +189 -0
- package/es/components/common/teambition/pipeline-roll-back/index.module.scss +23 -0
- package/es/components/common/teambition/pipeline-run-confirm/index.d.ts +13 -0
- package/es/components/common/teambition/pipeline-run-confirm/index.js +83 -0
- package/es/components/common/teambition/pipeline-run-confirm/index.scss +16 -0
- package/es/components/common/teambition/pipeline-save-diff/index.d.ts +12 -0
- package/es/components/common/teambition/pipeline-save-diff/index.js +98 -0
- package/es/components/common/teambition/pipeline-save-diff/index.module.scss +9 -0
- package/es/components/common/teambition/pipeline-source/BranchesFilter.d.ts +8 -0
- package/es/components/common/teambition/pipeline-source/BranchesFilter.js +93 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/acr-sign.d.ts +8 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/acr-sign.js +87 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/acr-webhook.d.ts +8 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/acr-webhook.js +174 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/acr.d.ts +8 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/acr.js +381 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/index.d.ts +15 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/index.js +63 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/index.scss +71 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/packages.d.ts +8 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/packages.js +467 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/utils.d.ts +2 -0
- package/es/components/common/teambition/pipeline-source/artifact-source/utils.js +20 -0
- package/es/components/common/teambition/pipeline-source/branch-mode/index.d.ts +9 -0
- package/es/components/common/teambition/pipeline-source/branch-mode/index.js +79 -0
- package/es/components/common/teambition/pipeline-source/branch-mode/index.scss +11 -0
- package/es/components/common/teambition/pipeline-source/code-source/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-source/code-source/index.js +148 -0
- package/es/components/common/teambition/pipeline-source/code-source/index.scss +218 -0
- package/es/components/common/teambition/pipeline-source/code-source/utils.d.ts +71 -0
- package/es/components/common/teambition/pipeline-source/code-source/utils.js +182 -0
- package/es/components/common/teambition/pipeline-source/credential/index.d.ts +13 -0
- package/es/components/common/teambition/pipeline-source/credential/index.js +430 -0
- package/es/components/common/teambition/pipeline-source/credential/index.scss +9 -0
- package/es/components/common/teambition/pipeline-source/credential-form-item/index.d.ts +20 -0
- package/es/components/common/teambition/pipeline-source/credential-form-item/index.js +397 -0
- package/es/components/common/teambition/pipeline-source/credential-form-item/index.scss +90 -0
- package/es/components/common/teambition/pipeline-source/credential-form-item/keypair.d.ts +6 -0
- package/es/components/common/teambition/pipeline-source/credential-form-item/keypair.js +80 -0
- package/es/components/common/teambition/pipeline-source/credential-form-item/newItem.d.ts +15 -0
- package/es/components/common/teambition/pipeline-source/credential-form-item/newItem.js +368 -0
- package/es/components/common/teambition/pipeline-source/fetch-depth/index.d.ts +6 -0
- package/es/components/common/teambition/pipeline-source/fetch-depth/index.js +67 -0
- package/es/components/common/teambition/pipeline-source/index.d.ts +37 -0
- package/es/components/common/teambition/pipeline-source/index.js +213 -0
- package/es/components/common/teambition/pipeline-source/index.scss +40 -0
- package/es/components/common/teambition/pipeline-source/jenkins/index.d.ts +4 -0
- package/es/components/common/teambition/pipeline-source/jenkins/index.js +1071 -0
- package/es/components/common/teambition/pipeline-source/jenkins/index.scss +34 -0
- package/es/components/common/teambition/pipeline-source/jenkins/layout.d.ts +3 -0
- package/es/components/common/teambition/pipeline-source/jenkins/layout.js +169 -0
- package/es/components/common/teambition/pipeline-source/jenkins/utils.d.ts +19 -0
- package/es/components/common/teambition/pipeline-source/jenkins/utils.js +288 -0
- package/es/components/common/teambition/pipeline-source/pipeline-event/index.d.ts +5 -0
- package/es/components/common/teambition/pipeline-source/pipeline-event/index.js +122 -0
- package/es/components/common/teambition/pipeline-source/pipeline-event/index.scss +40 -0
- package/es/components/common/teambition/pipeline-source/scms/aliyun.d.ts +11 -0
- package/es/components/common/teambition/pipeline-source/scms/aliyun.js +337 -0
- package/es/components/common/teambition/pipeline-source/scms/appstack.d.ts +10 -0
- package/es/components/common/teambition/pipeline-source/scms/appstack.js +211 -0
- package/es/components/common/teambition/pipeline-source/scms/atomGit.d.ts +10 -0
- package/es/components/common/teambition/pipeline-source/scms/atomGit.js +382 -0
- package/es/components/common/teambition/pipeline-source/scms/bitbucket.d.ts +10 -0
- package/es/components/common/teambition/pipeline-source/scms/bitbucket.js +131 -0
- package/es/components/common/teambition/pipeline-source/scms/branchTips.d.ts +3 -0
- package/es/components/common/teambition/pipeline-source/scms/branchTips.js +30 -0
- package/es/components/common/teambition/pipeline-source/scms/code_alibaba.d.ts +3 -0
- package/es/components/common/teambition/pipeline-source/scms/code_alibaba.js +503 -0
- package/es/components/common/teambition/pipeline-source/scms/codeup.d.ts +3 -0
- package/es/components/common/teambition/pipeline-source/scms/codeup.js +507 -0
- package/es/components/common/teambition/pipeline-source/scms/coding.d.ts +11 -0
- package/es/components/common/teambition/pipeline-source/scms/coding.js +141 -0
- package/es/components/common/teambition/pipeline-source/scms/flow.d.ts +10 -0
- package/es/components/common/teambition/pipeline-source/scms/flow.js +243 -0
- package/es/components/common/teambition/pipeline-source/scms/force.d.ts +10 -0
- package/es/components/common/teambition/pipeline-source/scms/force.js +121 -0
- package/es/components/common/teambition/pipeline-source/scms/git.d.ts +4 -0
- package/es/components/common/teambition/pipeline-source/scms/git.js +160 -0
- package/es/components/common/teambition/pipeline-source/scms/gitSample.d.ts +8 -0
- package/es/components/common/teambition/pipeline-source/scms/gitSample.js +230 -0
- package/es/components/common/teambition/pipeline-source/scms/gitee.d.ts +10 -0
- package/es/components/common/teambition/pipeline-source/scms/gitee.js +291 -0
- package/es/components/common/teambition/pipeline-source/scms/github.d.ts +9 -0
- package/es/components/common/teambition/pipeline-source/scms/github.js +122 -0
- package/es/components/common/teambition/pipeline-source/scms/githubOAuth.d.ts +10 -0
- package/es/components/common/teambition/pipeline-source/scms/githubOAuth.js +428 -0
- package/es/components/common/teambition/pipeline-source/scms/gitlab.d.ts +4 -0
- package/es/components/common/teambition/pipeline-source/scms/gitlab.js +159 -0
- package/es/components/common/teambition/pipeline-source/scms/hooks/useBranchDisabled.d.ts +5 -0
- package/es/components/common/teambition/pipeline-source/scms/hooks/useBranchDisabled.js +25 -0
- package/es/components/common/teambition/pipeline-source/scms/index.d.ts +83 -0
- package/es/components/common/teambition/pipeline-source/scms/index.js +35 -0
- package/es/components/common/teambition/pipeline-source/scms/index.scss +13 -0
- package/es/components/common/teambition/pipeline-source/scms/jenkins.d.ts +5 -0
- package/es/components/common/teambition/pipeline-source/scms/jenkins.js +113 -0
- package/es/components/common/teambition/pipeline-source/scms/svn.d.ts +4 -0
- package/es/components/common/teambition/pipeline-source/scms/svn.js +134 -0
- package/es/components/common/teambition/pipeline-source/submodule/submodule.d.ts +7 -0
- package/es/components/common/teambition/pipeline-source/submodule/submodule.js +58 -0
- package/es/components/common/teambition/pipeline-source/util.d.ts +15 -0
- package/es/components/common/teambition/pipeline-source/util.js +26 -0
- package/es/components/common/teambition/pipeline-source/webhook/index.scss +57 -0
- package/es/components/common/teambition/pipeline-source/webhook/jenkins-webhook.d.ts +11 -0
- package/es/components/common/teambition/pipeline-source/webhook/jenkins-webhook.js +171 -0
- package/es/components/common/teambition/pipeline-source/webhook/webhook.d.ts +5 -0
- package/es/components/common/teambition/pipeline-source/webhook/webhook.js +448 -0
- package/es/components/common/teambition/pipeline-source/workspace/index.d.ts +8 -0
- package/es/components/common/teambition/pipeline-source/workspace/index.js +100 -0
- package/es/components/common/teambition/pipeline-tag/empty.d.ts +2 -0
- package/es/components/common/teambition/pipeline-tag/empty.js +39 -0
- package/es/components/common/teambition/pipeline-tag/index.d.ts +23 -0
- package/es/components/common/teambition/pipeline-tag/index.js +25 -0
- package/es/components/common/teambition/pipeline-tag/index.scss +16 -0
- package/es/components/common/teambition/pipeline-template-card/GraphPreview/index.d.ts +5 -0
- package/es/components/common/teambition/pipeline-template-card/GraphPreview/index.js +209 -0
- package/es/components/common/teambition/pipeline-template-card/GraphPreview/style.module.scss +21 -0
- package/es/components/common/teambition/pipeline-template-card/getGraphContentArys.d.ts +6 -0
- package/es/components/common/teambition/pipeline-template-card/getGraphContentArys.js +70 -0
- package/es/components/common/teambition/pipeline-template-card/groups.d.ts +54 -0
- package/es/components/common/teambition/pipeline-template-card/groups.js +87 -0
- package/es/components/common/teambition/pipeline-template-card/index.d.ts +18 -0
- package/es/components/common/teambition/pipeline-template-card/index.js +211 -0
- package/es/components/common/teambition/pipeline-template-card/style.module.scss +111 -0
- package/es/components/common/teambition/pipeline-variable-group/index.scss +103 -0
- package/es/components/common/teambition/pipeline-variable-group/variable.d.ts +7 -0
- package/es/components/common/teambition/pipeline-variable-group/variable.js +42 -0
- package/es/components/common/teambition/pipeline-variable-group/variableGroup.d.ts +28 -0
- package/es/components/common/teambition/pipeline-variable-group/variableGroup.js +468 -0
- package/es/components/common/teambition/pipeline-version-record/index.d.ts +11 -0
- package/es/components/common/teambition/pipeline-version-record/index.js +302 -0
- package/es/components/common/teambition/pipeline-version-record/index.scss +46 -0
- package/es/components/common/teambition/pipeline-view-version/index.d.ts +10 -0
- package/es/components/common/teambition/pipeline-view-version/index.js +140 -0
- package/es/components/common/teambition/pipeline-view-version/index.module.scss +32 -0
- package/es/components/common/teambition/pipelineVersionBadge/index.d.ts +5 -0
- package/es/components/common/teambition/pipelineVersionBadge/index.js +42 -0
- package/es/components/common/teambition/relate-pipeline-dialog/index.d.ts +3 -0
- package/es/components/common/teambition/relate-pipeline-dialog/index.js +348 -0
- package/es/components/common/teambition/relate-pipeline-dialog/index.scss +56 -0
- package/es/components/common/teambition/release-info-dialog/index.d.ts +4 -0
- package/es/components/common/teambition/release-info-dialog/index.js +158 -0
- package/es/components/common/teambition/release-info-dialog/index.scss +52 -0
- package/es/components/common/teambition/run-param-config-dialog/context.d.ts +4 -0
- package/es/components/common/teambition/run-param-config-dialog/context.js +18 -0
- package/es/components/common/teambition/run-param-config-dialog/files/acr.d.ts +6 -0
- package/es/components/common/teambition/run-param-config-dialog/files/acr.js +138 -0
- package/es/components/common/teambition/run-param-config-dialog/files/add-branch.d.ts +3 -0
- package/es/components/common/teambition/run-param-config-dialog/files/add-branch.js +204 -0
- package/es/components/common/teambition/run-param-config-dialog/files/appstack-change.d.ts +8 -0
- package/es/components/common/teambition/run-param-config-dialog/files/appstack-change.js +494 -0
- package/es/components/common/teambition/run-param-config-dialog/files/appstack-changerun.d.ts +4 -0
- package/es/components/common/teambition/run-param-config-dialog/files/appstack-changerun.js +163 -0
- package/es/components/common/teambition/run-param-config-dialog/files/appstack-changerun.scss +31 -0
- package/es/components/common/teambition/run-param-config-dialog/files/appstack-release.d.ts +35 -0
- package/es/components/common/teambition/run-param-config-dialog/files/appstack-release.js +426 -0
- package/es/components/common/teambition/run-param-config-dialog/files/appstack-release.scss +54 -0
- package/es/components/common/teambition/run-param-config-dialog/files/artifact-source.d.ts +8 -0
- package/es/components/common/teambition/run-param-config-dialog/files/artifact-source.js +21 -0
- package/es/components/common/teambition/run-param-config-dialog/files/branch-status.d.ts +7 -0
- package/es/components/common/teambition/run-param-config-dialog/files/branch-status.js +61 -0
- package/es/components/common/teambition/run-param-config-dialog/files/branch.d.ts +8 -0
- package/es/components/common/teambition/run-param-config-dialog/files/branch.js +66 -0
- package/es/components/common/teambition/run-param-config-dialog/files/code-source.d.ts +4 -0
- package/es/components/common/teambition/run-param-config-dialog/files/code-source.js +702 -0
- package/es/components/common/teambition/run-param-config-dialog/files/common-footer.d.ts +4 -0
- package/es/components/common/teambition/run-param-config-dialog/files/common-footer.js +11 -0
- package/es/components/common/teambition/run-param-config-dialog/files/flow.d.ts +4 -0
- package/es/components/common/teambition/run-param-config-dialog/files/flow.js +119 -0
- package/es/components/common/teambition/run-param-config-dialog/files/index.scss +87 -0
- package/es/components/common/teambition/run-param-config-dialog/files/jenkins.d.ts +3 -0
- package/es/components/common/teambition/run-param-config-dialog/files/jenkins.js +138 -0
- package/es/components/common/teambition/run-param-config-dialog/files/packages.d.ts +4 -0
- package/es/components/common/teambition/run-param-config-dialog/files/packages.js +142 -0
- package/es/components/common/teambition/run-param-config-dialog/index.d.ts +6 -0
- package/es/components/common/teambition/run-param-config-dialog/index.js +373 -0
- package/es/components/common/teambition/run-param-config-dialog/index.scss +40 -0
- package/es/components/common/teambition/run-param-config-dialog/utils.d.ts +12 -0
- package/es/components/common/teambition/run-param-config-dialog/utils.js +54 -0
- package/es/components/common/teambition/run-pipeline-btn/index.d.ts +18 -0
- package/es/components/common/teambition/run-pipeline-btn/index.js +826 -0
- package/es/components/common/teambition/run-pipeline-btn/index.scss +48 -0
- package/es/components/common/teambition/scheduler/index.d.ts +9 -0
- package/es/components/common/teambition/scheduler/index.js +92 -0
- package/es/components/common/teambition/scheduler/index.scss +117 -0
- package/es/components/common/teambition/scheduler/timer.d.ts +14 -0
- package/es/components/common/teambition/scheduler/timer.js +309 -0
- package/es/components/common/teambition/scheduler/webhook.d.ts +6 -0
- package/es/components/common/teambition/scheduler/webhook.js +107 -0
- package/es/components/common/teambition/service-connection/OAuth2/index.d.ts +11 -0
- package/es/components/common/teambition/service-connection/OAuth2/index.js +537 -0
- package/es/components/common/teambition/service-connection/OAuth2/index.scss +5 -0
- package/es/components/common/teambition/service-connection/aliyun/index.d.ts +24 -0
- package/es/components/common/teambition/service-connection/aliyun/index.js +292 -0
- package/es/components/common/teambition/service-connection/aliyun/index.scss +5 -0
- package/es/components/common/teambition/service-connection/aliyun/legacy.d.ts +15 -0
- package/es/components/common/teambition/service-connection/aliyun/legacy.js +272 -0
- package/es/components/common/teambition/service-connection/aliyun.d.ts +11 -0
- package/es/components/common/teambition/service-connection/aliyun.js +264 -0
- package/es/components/common/teambition/service-connection/code_alibaba/index.d.ts +11 -0
- package/es/components/common/teambition/service-connection/code_alibaba/index.js +203 -0
- package/es/components/common/teambition/service-connection/codeup/index.d.ts +11 -0
- package/es/components/common/teambition/service-connection/codeup/index.js +380 -0
- package/es/components/common/teambition/service-connection/gitee.d.ts +9 -0
- package/es/components/common/teambition/service-connection/gitee.js +292 -0
- package/es/components/common/teambition/service-connection/github.d.ts +8 -0
- package/es/components/common/teambition/service-connection/github.js +272 -0
- package/es/components/common/teambition/service-connection/index.d.ts +45 -0
- package/es/components/common/teambition/service-connection/index.js +13 -0
- package/es/components/common/teambition/service-connection/index.scss +306 -0
- package/es/components/common/teambition/service-connection/packages/index.d.ts +11 -0
- package/es/components/common/teambition/service-connection/packages/index.js +219 -0
- package/es/components/common/teambition/service-connection/ram.d.ts +9 -0
- package/es/components/common/teambition/service-connection/ram.js +225 -0
- package/es/components/common/teambition/service-connection/tips.d.ts +6 -0
- package/es/components/common/teambition/service-connection/tips.js +14 -0
- package/es/components/common/teambition/service-connection-create/index.d.ts +3 -0
- package/es/components/common/teambition/service-connection-create/index.js +24 -0
- package/es/components/common/teambition/splitline/index.d.ts +4 -0
- package/es/components/common/teambition/splitline/index.js +8 -0
- package/es/components/common/teambition/splitline/index.scss +12 -0
- package/es/components/common/teambition/tag-panel/index.d.ts +4 -0
- package/es/components/common/teambition/tag-panel/index.js +202 -0
- package/es/components/common/teambition/tag-panel/index.scss +53 -0
- package/es/components/common/teambition/task-template/index.d.ts +4 -0
- package/es/components/common/teambition/task-template/index.js +442 -0
- package/es/components/common/teambition/task-template/index.scss +207 -0
- package/es/components/common/teambition/task-template/utils.d.ts +28 -0
- package/es/components/common/teambition/task-template/utils.js +271 -0
- package/es/components/common/teambition/terminal/index.d.ts +18 -0
- package/es/components/common/teambition/terminal/index.js +105 -0
- package/es/components/common/teambition/terminal/index.scss +3 -0
- package/es/components/common/teambition/yunxiao-member/index.d.ts +5 -0
- package/es/components/common/teambition/yunxiao-member/index.js +974 -0
- package/es/components/common/teambition/yunxiao-member/utils.d.ts +55 -0
- package/es/components/common/teambition/yunxiao-member/utils.js +340 -0
- package/es/components/common/variable.scss +6 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/detail/index.d.ts +7 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/detail/index.js +616 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/detail/index.scss +88 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/detail/machines-table.d.ts +9 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/detail/machines-table.js +632 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/detail/operation.d.ts +6 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/detail/operation.js +21 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/group-dialog/ecs-label-form-items/index.d.ts +9 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/group-dialog/ecs-label-form-items/index.js +449 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/group-dialog/ecs-label-form-items/style.module.scss +16 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/group-dialog/index.d.ts +16 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/group-dialog/index.js +391 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/group-dialog/tagSelect.d.ts +10 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/group-dialog/tagSelect.js +291 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/demo-form/DemoForm.d.ts +4 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/demo-form/DemoForm.js +172 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/ecs-form-items/host-table/index.d.ts +3 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/ecs-form-items/host-table/index.js +163 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/ecs-form-items/host-table/index.scss +42 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/ecs-form-items/index.d.ts +8 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/ecs-form-items/index.js +834 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/ecs-form-items/index.scss +33 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/index.d.ts +13 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/index.js +365 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/os-type-card/index.d.ts +11 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/os-type-card/index.js +37 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/os-type-card/index.scss +52 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/runner-form-items/index.d.ts +7 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/runner-form-items/index.js +178 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/host-dialog/runner-form-items/index.scss +63 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/log-dialog/index.d.ts +12 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/log-dialog/index.js +37 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/dialog/log-dialog/index.scss +18 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/index.d.ts +9 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/index.js +349 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/default-groups.d.ts +3 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/default-groups.js +106 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/deploy-groups.d.ts +8 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/deploy-groups.js +109 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/group-card/index.d.ts +10 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/group-card/index.js +76 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/group-card/index.scss +110 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/private-groups.d.ts +9 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/list/private-groups.js +105 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/operations.d.ts +3 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/operations.js +175 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/permissions.d.ts +11 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/permissions.js +11 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/types.d.ts +16 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/types.js +22 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/utils.d.ts +2 -0
- package/es/components/dashboardMain/components/build-and-deploy-setting-new/utils.js +30 -0
- package/es/components/dashboardMain/components/build-setting/build-group-table.d.ts +15 -0
- package/es/components/dashboardMain/components/build-setting/build-group-table.js +448 -0
- package/es/components/dashboardMain/components/build-setting/index.d.ts +5 -0
- package/es/components/dashboardMain/components/build-setting/index.js +517 -0
- package/es/components/dashboardMain/components/build-setting/operations.d.ts +3 -0
- package/es/components/dashboardMain/components/build-setting/operations.js +234 -0
- package/es/components/dashboardMain/components/build-setting/permissions.d.ts +11 -0
- package/es/components/dashboardMain/components/build-setting/permissions.js +11 -0
- package/es/components/dashboardMain/components/build-setting/tableColumns.d.ts +4 -0
- package/es/components/dashboardMain/components/build-setting/tableColumns.js +169 -0
- package/es/components/dashboardMain/components/build-setting-entry/index.d.ts +5 -0
- package/es/components/dashboardMain/components/build-setting-entry/index.js +65 -0
- package/es/components/dashboardMain/components/common.scss +218 -0
- package/es/components/dashboardMain/components/deploy-setting/index.scss +11 -0
- package/es/components/dashboardMain/components/deploy-setting/machineGroupTable.d.ts +20 -0
- package/es/components/dashboardMain/components/deploy-setting/machineGroupTable.js +620 -0
- package/es/components/dashboardMain/components/deploy-setting/main.d.ts +6 -0
- package/es/components/dashboardMain/components/deploy-setting/main.js +599 -0
- package/es/components/dashboardMain/components/deploy-setting/operations.d.ts +3 -0
- package/es/components/dashboardMain/components/deploy-setting/operations.js +266 -0
- package/es/components/dashboardMain/components/deploy-setting/permissions.d.ts +9 -0
- package/es/components/dashboardMain/components/deploy-setting/permissions.js +9 -0
- package/es/components/dashboardMain/components/deploy-setting/tableColumns.d.ts +6 -0
- package/es/components/dashboardMain/components/deploy-setting/tableColumns.js +205 -0
- package/es/components/dashboardMain/components/deploy-setting-entry/index.d.ts +5 -0
- package/es/components/dashboardMain/components/deploy-setting-entry/index.js +60 -0
- package/es/components/dashboardMain/components/dropdown-panel/index.d.ts +4 -0
- package/es/components/dashboardMain/components/dropdown-panel/index.js +176 -0
- package/es/components/dashboardMain/components/dropdown-panel/index.scss +111 -0
- package/es/components/dashboardMain/components/empty/index.d.ts +4 -0
- package/es/components/dashboardMain/components/empty/index.js +35 -0
- package/es/components/dashboardMain/components/empty/index.scss +17 -0
- package/es/components/dashboardMain/components/header/index.d.ts +3 -0
- package/es/components/dashboardMain/components/header/index.js +28 -0
- package/es/components/dashboardMain/components/kubernetes-manage/index.d.ts +3 -0
- package/es/components/dashboardMain/components/kubernetes-manage/index.js +438 -0
- package/es/components/dashboardMain/components/kubernetes-manage/index.scss +14 -0
- package/es/components/dashboardMain/components/kubernetes-manage/kubernetes-edit-dialog.d.ts +16 -0
- package/es/components/dashboardMain/components/kubernetes-manage/kubernetes-edit-dialog.js +215 -0
- package/es/components/dashboardMain/components/kubernetes-manage/operations.d.ts +3 -0
- package/es/components/dashboardMain/components/kubernetes-manage/operations.js +176 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/Capsule.d.ts +18 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/Capsule.js +190 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/Capsule.module.scss +39 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/ConfirmDialog.d.ts +14 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/ConfirmDialog.js +226 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/MachineUpgradingDisabledTip.d.ts +10 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/MachineUpgradingDisabledTip.js +50 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/card.module.scss +22 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/context.d.ts +1 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/context.js +5 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/getMachineUpgradeStatusIcon.d.ts +2 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/getMachineUpgradeStatusIcon.js +60 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/index.d.ts +6 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/index.js +339 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/statusTable.d.ts +14 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/statusTable.js +493 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/style.module.scss +29 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/type.d.ts +39 -0
- package/es/components/dashboardMain/components/machineGroupUpgrade/type.js +1 -0
- package/es/components/dashboardMain/components/maven-setting/NpmSelectRepoDialog.d.ts +8 -0
- package/es/components/dashboardMain/components/maven-setting/NpmSelectRepoDialog.js +148 -0
- package/es/components/dashboardMain/components/maven-setting/index-old.d.ts +4 -0
- package/es/components/dashboardMain/components/maven-setting/index-old.js +331 -0
- package/es/components/dashboardMain/components/maven-setting/index.d.ts +4 -0
- package/es/components/dashboardMain/components/maven-setting/index.js +726 -0
- package/es/components/dashboardMain/components/maven-setting/index.scss +19 -0
- package/es/components/dashboardMain/components/maven-setting/style.module.scss +51 -0
- package/es/components/dashboardMain/components/operation-panel/index.d.ts +4 -0
- package/es/components/dashboardMain/components/operation-panel/index.js +604 -0
- package/es/components/dashboardMain/components/operation-panel/index.scss +80 -0
- package/es/components/dashboardMain/components/pipeline-empty/index.d.ts +3 -0
- package/es/components/dashboardMain/components/pipeline-empty/index.js +102 -0
- package/es/components/dashboardMain/components/pipeline-empty/index.scss +8 -0
- package/es/components/dashboardMain/components/pipeline-list/index.d.ts +3 -0
- package/es/components/dashboardMain/components/pipeline-list/index.js +235 -0
- package/es/components/dashboardMain/components/pipeline-list/index.scss +108 -0
- package/es/components/dashboardMain/components/pipeline-not-fonud/index.d.ts +4 -0
- package/es/components/dashboardMain/components/pipeline-not-fonud/index.js +43 -0
- package/es/components/dashboardMain/components/pipeline-not-fonud/index.scss +46 -0
- package/es/components/dashboardMain/components/pipeline-operation/index.d.ts +18 -0
- package/es/components/dashboardMain/components/pipeline-operation/index.js +461 -0
- package/es/components/dashboardMain/components/pipeline-operation/index.scss +68 -0
- package/es/components/dashboardMain/components/pipeline-panel/index.d.ts +3 -0
- package/es/components/dashboardMain/components/pipeline-panel/index.js +350 -0
- package/es/components/dashboardMain/components/pipeline-panel/index.scss +209 -0
- package/es/components/dashboardMain/components/pipeline-table/columns.d.ts +2 -0
- package/es/components/dashboardMain/components/pipeline-table/columns.js +296 -0
- package/es/components/dashboardMain/components/pipeline-table/index.d.ts +3 -0
- package/es/components/dashboardMain/components/pipeline-table/index.js +248 -0
- package/es/components/dashboardMain/components/pipeline-table/index.scss +71 -0
- package/es/components/dashboardMain/components/region-config/index.d.ts +3 -0
- package/es/components/dashboardMain/components/region-config/index.js +194 -0
- package/es/components/dashboardMain/components/region-config/index.scss +48 -0
- package/es/components/dashboardMain/components/roles-setting/index.d.ts +3 -0
- package/es/components/dashboardMain/components/roles-setting/index.js +334 -0
- package/es/components/dashboardMain/components/roles-setting/index.scss +23 -0
- package/es/components/dashboardMain/components/roles-setting/role-create-popup/index.d.ts +3 -0
- package/es/components/dashboardMain/components/roles-setting/role-create-popup/index.js +85 -0
- package/es/components/dashboardMain/components/roles-setting/role-create-popup/index.scss +38 -0
- package/es/components/dashboardMain/components/roles-setting/roles-card/index.d.ts +3 -0
- package/es/components/dashboardMain/components/roles-setting/roles-card/index.js +175 -0
- package/es/components/dashboardMain/components/roles-setting/roles-card/index.scss +72 -0
- package/es/components/dashboardMain/components/roles-setting/roles-popup/index.d.ts +3 -0
- package/es/components/dashboardMain/components/roles-setting/roles-popup/index.js +247 -0
- package/es/components/dashboardMain/components/roles-setting/roles-popup/index.scss +93 -0
- package/es/components/dashboardMain/components/roles-setting/utils.d.ts +25 -0
- package/es/components/dashboardMain/components/roles-setting/utils.js +409 -0
- package/es/components/dashboardMain/components/search-panel/index.d.ts +3 -0
- package/es/components/dashboardMain/components/search-panel/index.js +228 -0
- package/es/components/dashboardMain/components/search-panel/index.scss +141 -0
- package/es/components/dashboardMain/components/service-auth-manage/index.d.ts +3 -0
- package/es/components/dashboardMain/components/service-auth-manage/index.js +368 -0
- package/es/components/dashboardMain/components/service-auth-manage/index.scss +1 -0
- package/es/components/dashboardMain/components/service-auth-manage/service-auth-dialog/AliyunRam.d.ts +15 -0
- package/es/components/dashboardMain/components/service-auth-manage/service-auth-dialog/AliyunRam.js +422 -0
- package/es/components/dashboardMain/components/service-auth-manage/service-auth-dialog/CodeRepo.d.ts +29 -0
- package/es/components/dashboardMain/components/service-auth-manage/service-auth-dialog/CodeRepo.js +316 -0
- package/es/components/dashboardMain/components/service-auth-manage/service-auth-dialog/index.d.ts +10 -0
- package/es/components/dashboardMain/components/service-auth-manage/service-auth-dialog/index.js +231 -0
- package/es/components/dashboardMain/components/service-auth-manage/service-auth-dialog/index.scss +84 -0
- package/es/components/dashboardMain/components/service-auth-manage/utils.d.ts +8 -0
- package/es/components/dashboardMain/components/service-auth-manage/utils.js +167 -0
- package/es/components/dashboardMain/components/service-connection/index.d.ts +9 -0
- package/es/components/dashboardMain/components/service-connection/index.js +44 -0
- package/es/components/dashboardMain/components/service-connection/index.scss +9 -0
- package/es/components/dashboardMain/components/step-setting/index.d.ts +3 -0
- package/es/components/dashboardMain/components/step-setting/index.js +395 -0
- package/es/components/dashboardMain/components/step-setting/index.scss +40 -0
- package/es/components/dashboardMain/components/step-setting/step-card/index.d.ts +3 -0
- package/es/components/dashboardMain/components/step-setting/step-card/index.js +113 -0
- package/es/components/dashboardMain/components/step-setting/step-card/index.scss +72 -0
- package/es/components/dashboardMain/components/step-setting/utils.d.ts +21 -0
- package/es/components/dashboardMain/components/step-setting/utils.js +172 -0
- package/es/components/dashboardMain/components/table-title-add-ons/index.d.ts +3 -0
- package/es/components/dashboardMain/components/table-title-add-ons/index.js +832 -0
- package/es/components/dashboardMain/components/table-title-add-ons/index.scss +44 -0
- package/es/components/dashboardMain/components/tag-setting/add-tag-dialog.d.ts +4 -0
- package/es/components/dashboardMain/components/tag-setting/add-tag-dialog.js +218 -0
- package/es/components/dashboardMain/components/tag-setting/add-tag-group-dialog.d.ts +10 -0
- package/es/components/dashboardMain/components/tag-setting/add-tag-group-dialog.js +150 -0
- package/es/components/dashboardMain/components/tag-setting/color-group.d.ts +8 -0
- package/es/components/dashboardMain/components/tag-setting/color-group.js +33 -0
- package/es/components/dashboardMain/components/tag-setting/index.d.ts +35 -0
- package/es/components/dashboardMain/components/tag-setting/index.js +632 -0
- package/es/components/dashboardMain/components/tag-setting/index.scss +152 -0
- package/es/components/dashboardMain/components/task-setting/create-pac-task/index.d.ts +24 -0
- package/es/components/dashboardMain/components/task-setting/create-pac-task/index.js +340 -0
- package/es/components/dashboardMain/components/task-setting/create-pac-task/index.scss +59 -0
- package/es/components/dashboardMain/components/task-setting/create-task/index.d.ts +22 -0
- package/es/components/dashboardMain/components/task-setting/create-task/index.js +331 -0
- package/es/components/dashboardMain/components/task-setting/create-task/index.scss +59 -0
- package/es/components/dashboardMain/components/task-setting/edit-task/index.d.ts +18 -0
- package/es/components/dashboardMain/components/task-setting/edit-task/index.js +232 -0
- package/es/components/dashboardMain/components/task-setting/edit-task/index.scss +48 -0
- package/es/components/dashboardMain/components/task-setting/index.d.ts +3 -0
- package/es/components/dashboardMain/components/task-setting/index.js +746 -0
- package/es/components/dashboardMain/components/task-setting/index.scss +39 -0
- package/es/components/dashboardMain/components/task-setting/task-card/index.d.ts +3 -0
- package/es/components/dashboardMain/components/task-setting/task-card/index.js +207 -0
- package/es/components/dashboardMain/components/task-setting/task-card/index.scss +93 -0
- package/es/components/dashboardMain/components/task-setting/task-card-new/index.d.ts +2 -0
- package/es/components/dashboardMain/components/task-setting/task-card-new/index.js +178 -0
- package/es/components/dashboardMain/components/task-setting/task-card-new/index.scss +86 -0
- package/es/components/dashboardMain/components/task-setting/task-card-new/style.module.scss +39 -0
- package/es/components/dashboardMain/components/task-setting/utils.d.ts +25 -0
- package/es/components/dashboardMain/components/task-setting/utils.js +262 -0
- package/es/components/dashboardMain/components/template-setting/CreateTypeDialog.d.ts +11 -0
- package/es/components/dashboardMain/components/template-setting/CreateTypeDialog.js +86 -0
- package/es/components/dashboardMain/components/template-setting/CreateTypeDialog.module.scss +84 -0
- package/es/components/dashboardMain/components/template-setting/index.d.ts +3 -0
- package/es/components/dashboardMain/components/template-setting/index.js +564 -0
- package/es/components/dashboardMain/components/template-setting/index.scss +41 -0
- package/es/components/dashboardMain/components/template-setting/template-card/index.d.ts +3 -0
- package/es/components/dashboardMain/components/template-setting/template-card/index.js +173 -0
- package/es/components/dashboardMain/components/template-setting/template-card/index.scss +87 -0
- package/es/components/dashboardMain/components/template-setting/utils.d.ts +25 -0
- package/es/components/dashboardMain/components/template-setting/utils.js +228 -0
- package/es/components/dashboardMain/components/variable-setting/index.d.ts +24 -0
- package/es/components/dashboardMain/components/variable-setting/index.js +562 -0
- package/es/components/dashboardMain/config.json +53 -0
- package/es/components/dashboardMain/enterprise-price/SideBarContent.d.ts +3 -0
- package/es/components/dashboardMain/enterprise-price/SideBarContent.js +171 -0
- package/es/components/dashboardMain/enterprise-price/StatisticsCharts.d.ts +9 -0
- package/es/components/dashboardMain/enterprise-price/StatisticsCharts.js +93 -0
- package/es/components/dashboardMain/enterprise-price/StatisticsContent.d.ts +3 -0
- package/es/components/dashboardMain/enterprise-price/StatisticsContent.js +90 -0
- package/es/components/dashboardMain/enterprise-price/TableContent.d.ts +3 -0
- package/es/components/dashboardMain/enterprise-price/TableContent.js +303 -0
- package/es/components/dashboardMain/enterprise-price/index.d.ts +4 -0
- package/es/components/dashboardMain/enterprise-price/index.js +99 -0
- package/es/components/dashboardMain/enterprise-price/index.scss +139 -0
- package/es/components/dashboardMain/enterprise-setting/index.d.ts +3 -0
- package/es/components/dashboardMain/enterprise-setting/index.js +114 -0
- package/es/components/dashboardMain/enterprise-setting/utils.d.ts +1 -0
- package/es/components/dashboardMain/enterprise-setting/utils.js +335 -0
- package/es/components/dashboardMain/index.d.ts +4 -0
- package/es/components/dashboardMain/index.js +688 -0
- package/es/components/dashboardMain/index.scss +73 -0
- package/es/components/dashboardMain/pipelines/copyPipeline.d.ts +13 -0
- package/es/components/dashboardMain/pipelines/copyPipeline.js +77 -0
- package/es/components/dashboardMain/pipelines/copyPipeline.scss +45 -0
- package/es/components/dashboardMain/pipelines/index.d.ts +9 -0
- package/es/components/dashboardMain/pipelines/index.js +1061 -0
- package/es/components/dashboardMain/pipelines/index.scss +24 -0
- package/es/components/dashboardMain/pipelines/util.d.ts +11 -0
- package/es/components/dashboardMain/pipelines/util.js +120 -0
- package/es/components/dashboardMain/setting/role/access.js +0 -0
- package/es/components/dashboardNav/index.d.ts +4 -0
- package/es/components/dashboardNav/index.js +1150 -0
- package/es/components/dashboardNav/index.scss +305 -0
- package/es/components/dashboardNav/util.d.ts +1 -0
- package/es/components/dashboardNav/util.js +21 -0
- package/es/components/detailMain/build/index.d.ts +10 -0
- package/es/components/detailMain/build/index.js +134 -0
- package/es/components/detailMain/current/index.d.ts +8 -0
- package/es/components/detailMain/current/index.js +129 -0
- package/es/components/detailMain/current/index.scss +0 -0
- package/es/components/detailMain/deployments/index.d.ts +8 -0
- package/es/components/detailMain/deployments/index.js +805 -0
- package/es/components/detailMain/deployments/index.scss +205 -0
- package/es/components/detailMain/deployments/release/index.d.ts +7 -0
- package/es/components/detailMain/deployments/release/index.js +57 -0
- package/es/components/detailMain/deployments/release/index.scss +35 -0
- package/es/components/detailMain/histories/columns.d.ts +5 -0
- package/es/components/detailMain/histories/columns.js +39 -0
- package/es/components/detailMain/histories/filter.d.ts +6 -0
- package/es/components/detailMain/histories/filter.js +196 -0
- package/es/components/detailMain/histories/index.d.ts +9 -0
- package/es/components/detailMain/histories/index.js +414 -0
- package/es/components/detailMain/histories/index.scss +73 -0
- package/es/components/detailMain/index.d.ts +12 -0
- package/es/components/detailMain/index.js +31 -0
- package/es/components/detailMain/metrics/index.d.ts +2 -0
- package/es/components/detailMain/metrics/index.js +50 -0
- package/es/components/detailMain/recent/index.d.ts +10 -0
- package/es/components/detailMain/recent/index.js +113 -0
- package/es/components/detailMain/recent/index.scss +0 -0
- package/es/components/detailNav/index.d.ts +8 -0
- package/es/components/detailNav/index.js +352 -0
- package/es/components/detailNav/index.scss +18 -0
- package/es/components/detailNav/link.d.ts +6 -0
- package/es/components/detailNav/link.js +24 -0
- package/es/components/diffViewer/index.d.ts +12 -0
- package/es/components/diffViewer/index.js +46 -0
- package/es/components/diffViewer/index.module.scss +22 -0
- package/es/components/go-template-wasm/go.mod +18 -0
- package/es/components/go-template-wasm/go.sum +58 -0
- package/es/components/go-template-wasm/index.html +185 -0
- package/es/components/go-template-wasm/main.go +64 -0
- package/es/components/go-template-wasm/readme.md +8 -0
- package/es/components/homeNewVersionGuidance/index.d.ts +4 -0
- package/es/components/homeNewVersionGuidance/index.js +69 -0
- package/es/components/homeNewVersionGuidance/index.scss +43 -0
- package/es/components/loading/index.d.ts +3 -0
- package/es/components/loading/index.js +23 -0
- package/es/components/log-dialog/index.js +37 -0
- package/es/components/log-dialog/index.scss +18 -0
- package/es/components/newbieTask/index.d.ts +30 -0
- package/es/components/newbieTask/index.js +647 -0
- package/es/components/newbieTask/index.scss +165 -0
- package/es/components/newbieTask/util.d.ts +45 -0
- package/es/components/newbieTask/util.js +365 -0
- package/es/components/pipeline/new/buildPipeline.d.ts +2 -0
- package/es/components/pipeline/new/buildPipeline.js +70 -0
- package/es/components/pipeline/new/defaultSettings.d.ts +1 -0
- package/es/components/pipeline/new/defaultSettings.js +48 -0
- package/es/components/pipeline/new/index.d.ts +72 -0
- package/es/components/pipeline/new/index.js +606 -0
- package/es/components/pipeline/new/index.scss +472 -0
- package/es/components/pipeline/new/pipelineTplView.d.ts +14 -0
- package/es/components/pipeline/new/pipelineTplView.js +244 -0
- package/es/components/pipeline/new/scroll-component/CategoryNav.d.ts +2 -0
- package/es/components/pipeline/new/scroll-component/CategoryNav.js +83 -0
- package/es/components/pipeline/new/scroll-component/Elements.d.ts +11 -0
- package/es/components/pipeline/new/scroll-component/Elements.js +248 -0
- package/es/components/pipeline/new/scroll-component/index.module.scss +93 -0
- package/es/components/pipeline/new/tsconfig.json +7 -0
- package/es/components/pluginLogTable/index.d.ts +7 -0
- package/es/components/pluginLogTable/index.js +91 -0
- package/es/components/pluginLogTable/index.scss +36 -0
- package/es/components/quotaNotifyCard/index.d.ts +6 -0
- package/es/components/quotaNotifyCard/index.js +147 -0
- package/es/components/quotaNotifyCard/index.scss +35 -0
- package/es/components/tbDetailLayout/index.d.ts +4 -0
- package/es/components/tbDetailLayout/index.js +32 -0
- package/es/components/tbDetailLayout/index.scss +25 -0
- package/es/components/tbPageHeader/index.d.ts +10 -0
- package/es/components/tbPageHeader/index.js +129 -0
- package/es/components/tbPageHeader/index.scss +126 -0
- package/es/components/variableGroup/deleteVariableGroupDialog.d.ts +8 -0
- package/es/components/variableGroup/deleteVariableGroupDialog.js +90 -0
- package/es/components/variableGroup/index.scss +30 -0
- package/es/components/variableGroup/newVariableGroupDialog.d.ts +11 -0
- package/es/components/variableGroup/newVariableGroupDialog.js +240 -0
- package/es/config.d.ts +8 -0
- package/es/config.js +11 -0
- package/es/contexts/index.d.ts +1 -0
- package/es/contexts/index.js +2 -0
- package/es/contexts/pipeline.d.ts +20 -0
- package/es/contexts/pipeline.js +478 -0
- package/es/index.d.ts +13 -0
- package/es/index.js +85 -0
- package/es/locale/index.d.ts +23 -0
- package/es/locale/index.js +81 -0
- package/es/locale/locale.json +6212 -0
- package/es/locale/strings/en-US.json +7900 -0
- package/es/locale/strings/index.js +1 -0
- package/es/locale/strings/zh-CN.json +7902 -0
- package/es/locale/unprocessed-code.js.txt +71 -0
- package/es/locale/unprocessed-code.txt +128 -0
- package/es/pages/403/index.d.ts +3 -0
- package/es/pages/403/index.js +33 -0
- package/es/pages/404/index.d.ts +3 -0
- package/es/pages/404/index.js +28 -0
- package/es/pages/bind/index.d.ts +2 -0
- package/es/pages/bind/index.js +13 -0
- package/es/pages/callback/error.d.ts +6 -0
- package/es/pages/callback/error.js +26 -0
- package/es/pages/callback/index.scss +4 -0
- package/es/pages/callback/success.d.ts +5 -0
- package/es/pages/callback/success.js +45 -0
- package/es/pages/dashboard/NewFeatureLead.d.ts +3 -0
- package/es/pages/dashboard/NewFeatureLead.js +66 -0
- package/es/pages/dashboard/Survey.d.ts +2 -0
- package/es/pages/dashboard/Survey.js +66 -0
- package/es/pages/dashboard/index.d.ts +5 -0
- package/es/pages/dashboard/index.js +280 -0
- package/es/pages/dashboard/index.scss +57 -0
- package/es/pages/dashboard/lead.hack.scss +13 -0
- package/es/pages/dashboard/types.d.ts +10 -0
- package/es/pages/dashboard/types.js +1 -0
- package/es/pages/dashboard/useAllowUpgradeState.d.ts +3 -0
- package/es/pages/dashboard/useAllowUpgradeState.js +77 -0
- package/es/pages/dashboard/useAnnouncement.d.ts +2 -0
- package/es/pages/dashboard/useAnnouncement.js +125 -0
- package/es/pages/detail/appstack-wrap.d.ts +8 -0
- package/es/pages/detail/appstack-wrap.js +79 -0
- package/es/pages/detail/appstack.scss +4 -0
- package/es/pages/detail/index.d.ts +4 -0
- package/es/pages/detail/index.js +133 -0
- package/es/pages/detail/index.scss +7 -0
- package/es/pages/detailSwitch/index.d.ts +2 -0
- package/es/pages/detailSwitch/index.js +6 -0
- package/es/pages/error/index.d.ts +3 -0
- package/es/pages/error/index.js +38 -0
- package/es/pages/migration/index.d.ts +4 -0
- package/es/pages/migration/index.js +276 -0
- package/es/pages/migration/index.scss +15 -0
- package/es/pages/new-detail/appstack-wrap.d.ts +7 -0
- package/es/pages/new-detail/appstack-wrap.js +61 -0
- package/es/pages/new-detail/index.d.ts +4 -0
- package/es/pages/new-detail/index.js +100 -0
- package/es/pages/new-detail/index.scss +112 -0
- package/es/pages/new-detail/operationBar/GoBackAndFeedback.d.ts +2 -0
- package/es/pages/new-detail/operationBar/GoBackAndFeedback.js +110 -0
- package/es/pages/new-detail/operationBar/index.d.ts +8 -0
- package/es/pages/new-detail/operationBar/index.js +382 -0
- package/es/pages/new-detail/operationBar/index.scss +21 -0
- package/es/pages/project/index.d.ts +5 -0
- package/es/pages/project/index.js +471 -0
- package/es/pages/project/index.scss +74 -0
- package/es/pages/project/operations.d.ts +3 -0
- package/es/pages/project/operations.js +347 -0
- package/es/pages/tbNavigationInit/Invite/index.d.ts +3 -0
- package/es/pages/tbNavigationInit/Invite/index.js +44 -0
- package/es/pages/tbNavigationInit/Invite/index.scss +20 -0
- package/es/pages/tbNavigationInit/contextSwitcher/contextMenu.d.ts +10 -0
- package/es/pages/tbNavigationInit/contextSwitcher/contextMenu.js +105 -0
- package/es/pages/tbNavigationInit/contextSwitcher/index.d.ts +6 -0
- package/es/pages/tbNavigationInit/contextSwitcher/index.js +27 -0
- package/es/pages/tbNavigationInit/contextSwitcher/index.scss +34 -0
- package/es/pages/tbNavigationInit/create/index.d.ts +2 -0
- package/es/pages/tbNavigationInit/create/index.js +34 -0
- package/es/pages/tbNavigationInit/detail.d.ts +7 -0
- package/es/pages/tbNavigationInit/detail.js +110 -0
- package/es/pages/tbNavigationInit/help/index.d.ts +2 -0
- package/es/pages/tbNavigationInit/help/index.js +26 -0
- package/es/pages/tbNavigationInit/index.d.ts +1 -0
- package/es/pages/tbNavigationInit/index.js +69 -0
- package/es/pages/tbNavigationInit/operation/index.d.ts +2 -0
- package/es/pages/tbNavigationInit/operation/index.js +98 -0
- package/es/pages/tbNavigationInit/serviceMessager/index.d.ts +5 -0
- package/es/pages/tbNavigationInit/serviceMessager/index.js +36 -0
- package/es/pages/tbNavigationInit/star/index.d.ts +3 -0
- package/es/pages/tbNavigationInit/star/index.js +56 -0
- package/es/pages/tools/jenkins/import/cp2flow/index.d.ts +15 -0
- package/es/pages/tools/jenkins/import/cp2flow/index.js +461 -0
- package/es/pages/tools/jenkins/import/guide/index.d.ts +8 -0
- package/es/pages/tools/jenkins/import/guide/index.js +51 -0
- package/es/pages/tools/jenkins/import/index.d.ts +7 -0
- package/es/pages/tools/jenkins/import/index.js +26 -0
- package/es/pages/tools/jenkins/import/index.scss +50 -0
- package/es/pages/tools/jenkins/import/main/index.d.ts +5 -0
- package/es/pages/tools/jenkins/import/main/index.js +67 -0
- package/es/pages/tools/jenkins/import/step-line/index.d.ts +5 -0
- package/es/pages/tools/jenkins/import/step-line/index.js +29 -0
- package/es/pages/tools/jenkins/import/xml2flow/index.d.ts +14 -0
- package/es/pages/tools/jenkins/import/xml2flow/index.js +137 -0
- package/es/pages/tour/dataSource.d.ts +105 -0
- package/es/pages/tour/dataSource.js +605 -0
- package/es/pages/tour/index.d.ts +2 -0
- package/es/pages/tour/index.js +8 -0
- package/es/resources_hack.d.ts +1 -0
- package/es/resources_hack.js +1 -0
- package/es/socket.d.ts +2 -0
- package/es/socket.js +50 -0
- package/es/style.js +14 -0
- package/es/types/CustomPipelineTemplate.d.ts +27 -0
- package/es/types/CustomPipelineTemplate.js +1 -0
- package/es/types/Pipeline.d.ts +34 -0
- package/es/types/Pipeline.js +1 -0
- package/es/types/PipelineConfigVo.d.ts +28 -0
- package/es/types/PipelineConfigVo.js +1 -0
- package/es/types/PipelineRun.d.ts +179 -0
- package/es/types/PipelineRun.js +1 -0
- package/es/types/PipelineStageTemplate.d.ts +33 -0
- package/es/types/PipelineStageTemplate.js +1 -0
- package/es/types/PipelineVo.d.ts +26 -0
- package/es/types/PipelineVo.js +1 -0
- package/es/types/PresetPipelineTemplate.d.ts +30 -0
- package/es/types/PresetPipelineTemplate.js +1 -0
- package/es/types/flowStep.js +0 -0
- package/es/types/index.d.ts +6 -0
- package/es/types/job.d.ts +60 -0
- package/es/types/job.js +1 -0
- package/es/types/pac.d.ts +4 -0
- package/es/types/pac.js +1 -0
- package/es/types/sources.d.ts +15 -0
- package/es/types/sources.js +16 -0
- package/es/types/steps.d.ts +26 -0
- package/es/types/steps.js +1 -0
- package/es/utils/aliyunRegions.d.ts +4 -0
- package/es/utils/aliyunRegions.js +176 -0
- package/es/utils/api/index.d.ts +32 -0
- package/es/utils/api/index.js +214 -0
- package/es/utils/apimap/index.d.ts +20 -0
- package/es/utils/apimap/index.js +342 -0
- package/es/utils/apimap/maps/access.d.ts +6 -0
- package/es/utils/apimap/maps/access.js +46 -0
- package/es/utils/apimap/maps/ack.d.ts +6 -0
- package/es/utils/apimap/maps/ack.js +6 -0
- package/es/utils/apimap/maps/acr.d.ts +10 -0
- package/es/utils/apimap/maps/acr.js +22 -0
- package/es/utils/apimap/maps/aone_code.d.ts +6 -0
- package/es/utils/apimap/maps/aone_code.js +32 -0
- package/es/utils/apimap/maps/appstack.d.ts +8 -0
- package/es/utils/apimap/maps/appstack.js +8 -0
- package/es/utils/apimap/maps/atomgit.d.ts +6 -0
- package/es/utils/apimap/maps/atomgit.js +18 -0
- package/es/utils/apimap/maps/cd-pipeline.d.ts +23 -0
- package/es/utils/apimap/maps/cd-pipeline.js +53 -0
- package/es/utils/apimap/maps/codeup.d.ts +6 -0
- package/es/utils/apimap/maps/codeup.js +26 -0
- package/es/utils/apimap/maps/credentials.d.ts +6 -0
- package/es/utils/apimap/maps/credentials.js +30 -0
- package/es/utils/apimap/maps/emas.d.ts +12 -0
- package/es/utils/apimap/maps/emas.js +15 -0
- package/es/utils/apimap/maps/git-oauth2.d.ts +10 -0
- package/es/utils/apimap/maps/git-oauth2.js +27 -0
- package/es/utils/apimap/maps/index.d.ts +253 -0
- package/es/utils/apimap/maps/index.js +54 -0
- package/es/utils/apimap/maps/jenkins.d.ts +6 -0
- package/es/utils/apimap/maps/jenkins.js +26 -0
- package/es/utils/apimap/maps/machine-group.d.ts +17 -0
- package/es/utils/apimap/maps/machine-group.js +133 -0
- package/es/utils/apimap/maps/packages.d.ts +10 -0
- package/es/utils/apimap/maps/packages.js +30 -0
- package/es/utils/apimap/maps/pipeline.d.ts +42 -0
- package/es/utils/apimap/maps/pipeline.js +382 -0
- package/es/utils/apimap/maps/pipeline2.d.ts +17 -0
- package/es/utils/apimap/maps/pipeline2.js +50 -0
- package/es/utils/apimap/maps/quota.d.ts +7 -0
- package/es/utils/apimap/maps/quota.js +31 -0
- package/es/utils/apimap/maps/region.d.ts +7 -0
- package/es/utils/apimap/maps/region.js +15 -0
- package/es/utils/apimap/maps/resource.d.ts +6 -0
- package/es/utils/apimap/maps/resource.js +30 -0
- package/es/utils/apimap/maps/service-connection.d.ts +6 -0
- package/es/utils/apimap/maps/service-connection.js +50 -0
- package/es/utils/apimap/maps/tag.d.ts +6 -0
- package/es/utils/apimap/maps/tag.js +26 -0
- package/es/utils/apimap/maps/tools.d.ts +10 -0
- package/es/utils/apimap/maps/tools.js +19 -0
- package/es/utils/apimap/maps/uiless.d.ts +12 -0
- package/es/utils/apimap/maps/uiless.js +46 -0
- package/es/utils/apimap/maps/user.d.ts +10 -0
- package/es/utils/apimap/maps/user.js +38 -0
- package/es/utils/apimap/maps/variable-group.d.ts +16 -0
- package/es/utils/apimap/maps/variable-group.js +20 -0
- package/es/utils/apimap/maps/webhook.d.ts +5 -0
- package/es/utils/apimap/maps/webhook.js +5 -0
- package/es/utils/appSDK.d.ts +1 -0
- package/es/utils/appSDK.js +51 -0
- package/es/utils/codeupRootPath.d.ts +1 -0
- package/es/utils/codeupRootPath.js +11 -0
- package/es/utils/contextPathUtil.d.ts +16 -0
- package/es/utils/contextPathUtil.js +40 -0
- package/es/utils/debug.d.ts +1 -0
- package/es/utils/debug.js +4 -0
- package/es/utils/download.d.ts +1 -0
- package/es/utils/download.js +13 -0
- package/es/utils/dplusUtil.d.ts +1 -0
- package/es/utils/dplusUtil.js +5 -0
- package/es/utils/embedMark.js +1 -0
- package/es/utils/features/aliyun.d.ts +29 -0
- package/es/utils/features/aliyun.js +70 -0
- package/es/utils/features/index.d.ts +2 -0
- package/es/utils/features/index.js +19 -0
- package/es/utils/features/vpc.d.ts +417 -0
- package/es/utils/features/vpc.js +27 -0
- package/es/utils/helplink/index.d.ts +5 -0
- package/es/utils/helplink/index.js +30 -0
- package/es/utils/hooks/index.d.ts +7 -0
- package/es/utils/hooks/index.js +7 -0
- package/es/utils/hooks/useAsyncData.d.ts +14 -0
- package/es/utils/hooks/useAsyncData.js +36 -0
- package/es/utils/hooks/useBackupState.d.ts +2 -0
- package/es/utils/hooks/useBackupState.js +31 -0
- package/es/utils/hooks/useBoxSize.d.ts +8 -0
- package/es/utils/hooks/useBoxSize.js +33 -0
- package/es/utils/hooks/useDidMount.d.ts +2 -0
- package/es/utils/hooks/useDidMount.js +17 -0
- package/es/utils/hooks/useEvent.d.ts +3 -0
- package/es/utils/hooks/useEvent.js +69 -0
- package/es/utils/hooks/useEventListener.d.ts +2 -0
- package/es/utils/hooks/useEventListener.js +25 -0
- package/es/utils/hooks/usePrevious.d.ts +4 -0
- package/es/utils/hooks/usePrevious.js +13 -0
- package/es/utils/hooks/useResize.d.ts +2 -0
- package/es/utils/hooks/useResize.js +21 -0
- package/es/utils/hooks/useUnmount.d.ts +2 -0
- package/es/utils/hooks/useUnmount.js +10 -0
- package/es/utils/index.d.ts +77 -0
- package/es/utils/index.js +544 -0
- package/es/utils/initYunxiaoCommon.js +231 -0
- package/es/utils/loadable/index.d.ts +2 -0
- package/es/utils/loadable/index.js +13 -0
- package/es/utils/locale.json +8 -0
- package/es/utils/md.style.css +811 -0
- package/es/utils/monitor/init.d.ts +5 -0
- package/es/utils/monitor/init.js +38 -0
- package/es/utils/permissionUtil.d.ts +5 -0
- package/es/utils/permissionUtil.js +42 -0
- package/es/utils/pinyinTools.d.ts +3 -0
- package/es/utils/pinyinTools.js +13 -0
- package/es/utils/pipelineTools.d.ts +19 -0
- package/es/utils/pipelineTools.js +167 -0
- package/es/utils/route-utils.d.ts +1 -0
- package/es/utils/route-utils.js +5 -0
- package/es/utils/schema-pac-vpc.d.ts +403 -0
- package/es/utils/schema-pac-vpc.js +924 -0
- package/es/utils/schema-pac.d.ts +3 -0
- package/es/utils/schema-pac.js +1126 -0
- package/es/utils/schema-shared.d.ts +3 -0
- package/es/utils/schema-shared.js +169 -0
- package/es/utils/track/index.d.ts +28 -0
- package/es/utils/track/index.js +38 -0
- package/es/utils/track/init.d.ts +10 -0
- package/es/utils/track/init.js +94 -0
- package/package.json +51 -0
|
@@ -0,0 +1,1225 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
+
import React, { useState, useContext, useEffect, Fragment, useCallback, useRef } from 'react';
|
|
5
|
+
import { Dialog, Button, Message, Loading, Field } from '@teamix/ui';
|
|
6
|
+
import { YunxiaoIcon } from '@alife/devops-ui';
|
|
7
|
+
import exceed from "../../../../utils/apimap";
|
|
8
|
+
import track from "../../../../utils/track";
|
|
9
|
+
import { intervalEnterTime, pureObjs, getFeature } from "../../../../utils";
|
|
10
|
+
import HostType from "./host-type";
|
|
11
|
+
import AddHost from "./add-host";
|
|
12
|
+
import HostInfo from "./host-info";
|
|
13
|
+
import EditHostGroup from "./edit-host-group";
|
|
14
|
+
import { DeployGroupContext, Provider } from "./store";
|
|
15
|
+
import { StepDialog, StepView } from '@alife/teamix-step-dialog';
|
|
16
|
+
import { DEPLOY_GROUP_HOST_TYPE, DEPLOY_GROUP_ADD_HOST, DEPLOY_GROUP_HOST_INFO, CHANGE_CURRENT, CHANGE_TYPE, CHANGE_HOST_INSTANCE_ID, CHANGE_CONNECTIONS, CHANGE_REGIONS, CHANGE_CONNECTION_ID, CHANGE_REGION_ID, CHANGE_MACHINE_TITLE_LIST, EMPTY_DATA, CHANGE_LOADING, CHANGE_HOST_INFO_FORM_DATA, CHANGE_EDIT_HOST_BASE_DATA, DEFAULT_OBJECT_TYPE, CHANGE_EDIT_MEMBER_LIST, CHANGE_EDIT_HOST_GROUP_CURRENT, CHANGE_EDIT_HOST_LIST, CHANGE_EDIT_ADD_HOST_LOADING, CHANGE_EDIT_HOST_TABLE_LOADING, CHANGE_HOST_INFO_NAME, CHANGE_ECS_ADD_TYPE, CHANGE_ECS_LABEL_KEY, CHANGE_ECS_LABEL_VALUE, CHANGE_ECS_LABEL_KEY_LIST, CHANGE_ECS_LABEL_VALUE_LIST, EDIT_HOST_GROUP_LIST, footerMap } from "./config";
|
|
17
|
+
import intl from "../../../../locale";
|
|
18
|
+
import cx from 'classnames';
|
|
19
|
+
import "./index.scss";
|
|
20
|
+
var scGrayEnable = window.YUNXIAO_COMMON.serviceConnectionGrayRegion === 'true'; // 是否灰度
|
|
21
|
+
var sleep = function sleep(ms) {
|
|
22
|
+
return new Promise(function (resolve) {
|
|
23
|
+
return setTimeout(resolve, ms);
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var timer = null;
|
|
27
|
+
export var PREFIX = 'deploy-group-dialog';
|
|
28
|
+
var ECS_MANAGED = 'ECS_MANAGED';
|
|
29
|
+
|
|
30
|
+
// 这里的代码已经乱的没法看了
|
|
31
|
+
|
|
32
|
+
var DeployGroupDialog = function DeployGroupDialog(props) {
|
|
33
|
+
var visible = props.visible,
|
|
34
|
+
groupId = props.groupId,
|
|
35
|
+
newly = props.newly,
|
|
36
|
+
purpose = props.purpose,
|
|
37
|
+
_props$mode = props.mode,
|
|
38
|
+
mode = _props$mode === void 0 ? 'new' : _props$mode,
|
|
39
|
+
_props$trackConfig = props.trackConfig,
|
|
40
|
+
trackConfig = _props$trackConfig === void 0 ? {} : _props$trackConfig;
|
|
41
|
+
var _onClose = props.onClose,
|
|
42
|
+
onRefresh = props.onRefresh;
|
|
43
|
+
var _useState = useState(getFeature('app.public.machine') ? '' : intl.get({
|
|
44
|
+
id: 'rdc-tb-cd-assets.dashboardMain.build-manage.tableColumns.AlibabaCloudEcs',
|
|
45
|
+
defaultMessage: '阿里云ECS'
|
|
46
|
+
})),
|
|
47
|
+
hostTitle = _useState[0],
|
|
48
|
+
setHostTitle = _useState[1];
|
|
49
|
+
var _ref = useContext(DeployGroupContext) || {},
|
|
50
|
+
state = _ref.state,
|
|
51
|
+
dispatch = _ref.dispatch;
|
|
52
|
+
var _useState2 = useState(false),
|
|
53
|
+
editAddHostVisible = _useState2[0],
|
|
54
|
+
setEditAddHostVisible = _useState2[1];
|
|
55
|
+
var _useState3 = useState([]),
|
|
56
|
+
editAddHostData = _useState3[0],
|
|
57
|
+
setEditAddHostData = _useState3[1];
|
|
58
|
+
var infoRef = useRef(null);
|
|
59
|
+
var _ref2 = state || {},
|
|
60
|
+
current = _ref2.current,
|
|
61
|
+
type = _ref2.type,
|
|
62
|
+
hostInstanceIds = _ref2.hostInstanceIds,
|
|
63
|
+
nowHostInstanceIds = _ref2.nowHostInstanceIds,
|
|
64
|
+
connections = _ref2.connections,
|
|
65
|
+
regions = _ref2.regions,
|
|
66
|
+
serviceConnectionId = _ref2.serviceConnectionId,
|
|
67
|
+
aliyunRegionId = _ref2.aliyunRegionId,
|
|
68
|
+
_ref2$allHostDataObj = _ref2.allHostDataObj,
|
|
69
|
+
allHostDataObj = _ref2$allHostDataObj === void 0 ? {} : _ref2$allHostDataObj,
|
|
70
|
+
name = _ref2.name,
|
|
71
|
+
envId = _ref2.envId,
|
|
72
|
+
uuid = _ref2.uuid,
|
|
73
|
+
tagIdList = _ref2.tagIdList,
|
|
74
|
+
memberList = _ref2.memberList,
|
|
75
|
+
editCurrent = _ref2.editCurrent,
|
|
76
|
+
editHostTableList = _ref2.editHostTableList,
|
|
77
|
+
machineInfos = _ref2.machineInfos,
|
|
78
|
+
loading = _ref2.loading,
|
|
79
|
+
editAddHostLoading = _ref2.editAddHostLoading,
|
|
80
|
+
editHostTableLiading = _ref2.editHostTableLiading,
|
|
81
|
+
ecsAddType = _ref2.ecsAddType,
|
|
82
|
+
ecsLabelKey = _ref2.ecsLabelKey,
|
|
83
|
+
ecsLabelValue = _ref2.ecsLabelValue,
|
|
84
|
+
ecsLabelKeyList = _ref2.ecsLabelKeyList,
|
|
85
|
+
ecsLabelValueList = _ref2.ecsLabelValueList;
|
|
86
|
+
var demoEcsField = Field.useField();
|
|
87
|
+
var changeLoading = function changeLoading(status) {
|
|
88
|
+
return dispatch({
|
|
89
|
+
type: CHANGE_LOADING,
|
|
90
|
+
data: status
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
var cheangeHostInfoFormData = function cheangeHostInfoFormData(_name, value) {
|
|
94
|
+
dispatch({
|
|
95
|
+
type: CHANGE_HOST_INFO_FORM_DATA,
|
|
96
|
+
data: {
|
|
97
|
+
name: _name,
|
|
98
|
+
value: value
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
var saveMembers = /*#__PURE__*/function () {
|
|
103
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(objId) {
|
|
104
|
+
var config;
|
|
105
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
106
|
+
while (1) switch (_context.prev = _context.next) {
|
|
107
|
+
case 0:
|
|
108
|
+
config = {
|
|
109
|
+
api: 'Member.batchOverrideResourceMembers',
|
|
110
|
+
data: {
|
|
111
|
+
objType: DEFAULT_OBJECT_TYPE,
|
|
112
|
+
objId: objId,
|
|
113
|
+
purpose: purpose || 'DEPLOY_GROUP',
|
|
114
|
+
members: JSON.stringify(memberList.map(function (it) {
|
|
115
|
+
return _extends({}, it, {
|
|
116
|
+
objectId: objId
|
|
117
|
+
});
|
|
118
|
+
}))
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
_context.next = 3;
|
|
122
|
+
return exceed.fetch(config);
|
|
123
|
+
case 3:
|
|
124
|
+
case "end":
|
|
125
|
+
return _context.stop();
|
|
126
|
+
}
|
|
127
|
+
}, _callee);
|
|
128
|
+
}));
|
|
129
|
+
return function saveMembers(_x) {
|
|
130
|
+
return _ref3.apply(this, arguments);
|
|
131
|
+
};
|
|
132
|
+
}();
|
|
133
|
+
var onSave = /*#__PURE__*/function () {
|
|
134
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
135
|
+
var _infoRef$current, _infoRef$current$base;
|
|
136
|
+
var _ref5, errors, resutObj, respErrorCode, ignoredCode, _yield$demoEcsField$v, errors1, values, fetchConfig, _yield$exceed$fetch, successful, object, i, createResult, params, machineGroupStr, _fetchConfig, _yield$exceed$fetch2, errorCode, _successful, _object, statusText, target;
|
|
137
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
138
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
139
|
+
case 0:
|
|
140
|
+
_context2.next = 2;
|
|
141
|
+
return (_infoRef$current = infoRef.current) === null || _infoRef$current === void 0 ? void 0 : (_infoRef$current$base = _infoRef$current.baseInfoField) === null || _infoRef$current$base === void 0 ? void 0 : _infoRef$current$base.validatePromise();
|
|
142
|
+
case 2:
|
|
143
|
+
_context2.t0 = _context2.sent;
|
|
144
|
+
if (_context2.t0) {
|
|
145
|
+
_context2.next = 5;
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
_context2.t0 = {};
|
|
149
|
+
case 5:
|
|
150
|
+
_ref5 = _context2.t0;
|
|
151
|
+
errors = _ref5.errors;
|
|
152
|
+
if (!(errors !== null && errors !== undefined)) {
|
|
153
|
+
_context2.next = 9;
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
return _context2.abrupt("return");
|
|
157
|
+
case 9:
|
|
158
|
+
// https://devops.aliyun.com/projex/bug/3272c4ccea1956630b8d28c4bf
|
|
159
|
+
// 《构建集群实例安装失败,但是构建集群是创建成功的,这时应该关闭新建窗口》
|
|
160
|
+
// 忽略这个错误码
|
|
161
|
+
ignoredCode = '3000005';
|
|
162
|
+
if (!(type === 'DEMO_ECS')) {
|
|
163
|
+
_context2.next = 52;
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
_context2.next = 13;
|
|
167
|
+
return demoEcsField.validatePromise();
|
|
168
|
+
case 13:
|
|
169
|
+
_yield$demoEcsField$v = _context2.sent;
|
|
170
|
+
errors1 = _yield$demoEcsField$v.errors;
|
|
171
|
+
values = _yield$demoEcsField$v.values;
|
|
172
|
+
if (!(errors1 !== null && errors1 !== undefined)) {
|
|
173
|
+
_context2.next = 18;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
return _context2.abrupt("return");
|
|
177
|
+
case 18:
|
|
178
|
+
changeLoading(true);
|
|
179
|
+
fetchConfig = {
|
|
180
|
+
api: 'Machine.group.demoEcs.save',
|
|
181
|
+
data: values
|
|
182
|
+
};
|
|
183
|
+
_context2.next = 22;
|
|
184
|
+
return exceed.fetch(fetchConfig);
|
|
185
|
+
case 22:
|
|
186
|
+
_yield$exceed$fetch = _context2.sent;
|
|
187
|
+
successful = _yield$exceed$fetch.successful;
|
|
188
|
+
object = _yield$exceed$fetch.object;
|
|
189
|
+
resutObj = object;
|
|
190
|
+
if (successful) {
|
|
191
|
+
_context2.next = 29;
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
changeLoading(false);
|
|
195
|
+
return _context2.abrupt("return");
|
|
196
|
+
case 29:
|
|
197
|
+
if (object) {
|
|
198
|
+
_context2.next = 50;
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
i = 0; // 循环去检查结果
|
|
202
|
+
case 31:
|
|
203
|
+
if (!true) {
|
|
204
|
+
_context2.next = 50;
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
207
|
+
if (!(i > 20)) {
|
|
208
|
+
_context2.next = 36;
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
Message.warning({
|
|
212
|
+
title: intl.get({
|
|
213
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.demo-ecs.error',
|
|
214
|
+
defaultMessage: '创建失败,请稍后重试,或查看页面帮助文档解决'
|
|
215
|
+
})
|
|
216
|
+
});
|
|
217
|
+
changeLoading(false);
|
|
218
|
+
return _context2.abrupt("return");
|
|
219
|
+
case 36:
|
|
220
|
+
_context2.next = 38;
|
|
221
|
+
return sleep(1000);
|
|
222
|
+
case 38:
|
|
223
|
+
_context2.next = 40;
|
|
224
|
+
return exceed.fetch({
|
|
225
|
+
api: 'Machine.group.demoEcs.result',
|
|
226
|
+
data: {
|
|
227
|
+
instanceId: values.instanceId
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
case 40:
|
|
231
|
+
createResult = _context2.sent;
|
|
232
|
+
if (createResult.successful) {
|
|
233
|
+
_context2.next = 44;
|
|
234
|
+
break;
|
|
235
|
+
}
|
|
236
|
+
changeLoading(false);
|
|
237
|
+
return _context2.abrupt("return");
|
|
238
|
+
case 44:
|
|
239
|
+
i++;
|
|
240
|
+
if (!(createResult.successful && createResult.object)) {
|
|
241
|
+
_context2.next = 48;
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
resutObj = createResult.object;
|
|
245
|
+
return _context2.abrupt("break", 50);
|
|
246
|
+
case 48:
|
|
247
|
+
_context2.next = 31;
|
|
248
|
+
break;
|
|
249
|
+
case 50:
|
|
250
|
+
_context2.next = 68;
|
|
251
|
+
break;
|
|
252
|
+
case 52:
|
|
253
|
+
params = {
|
|
254
|
+
type: type,
|
|
255
|
+
id: groupId,
|
|
256
|
+
envId: envId,
|
|
257
|
+
uuid: uuid,
|
|
258
|
+
name: name,
|
|
259
|
+
tagIds: tagIdList.join(','),
|
|
260
|
+
serviceConnectionId: serviceConnectionId,
|
|
261
|
+
purpose: purpose || 'DEPLOY_GROUP',
|
|
262
|
+
ecsType: ecsAddType || 'ECS_ALIYUN',
|
|
263
|
+
ecsLabelKey: ecsLabelKey,
|
|
264
|
+
ecsLabelValue: ecsLabelValue,
|
|
265
|
+
aliyunRegion: aliyunRegionId
|
|
266
|
+
}; // 防止实例id被清空
|
|
267
|
+
params.machineInfos = (hostInstanceIds.length ? hostInstanceIds : nowHostInstanceIds).map(function (k) {
|
|
268
|
+
return allHostDataObj[k];
|
|
269
|
+
}).filter(function (v) {
|
|
270
|
+
return !!v;
|
|
271
|
+
}).map(function (_ref6) {
|
|
272
|
+
var instanceId = _ref6.instanceId,
|
|
273
|
+
instanceName = _ref6.instanceName,
|
|
274
|
+
ipAddress = _ref6.ipAddress,
|
|
275
|
+
_uuid = _ref6.uuid;
|
|
276
|
+
return pureObjs(_extends({
|
|
277
|
+
machineSn: instanceId,
|
|
278
|
+
instanceName: instanceName,
|
|
279
|
+
ip: ipAddress,
|
|
280
|
+
aliyunRegionId: aliyunRegionId
|
|
281
|
+
}, _uuid ? {
|
|
282
|
+
uuid: _uuid
|
|
283
|
+
} : {}));
|
|
284
|
+
});
|
|
285
|
+
machineGroupStr = JSON.stringify(params);
|
|
286
|
+
_fetchConfig = {
|
|
287
|
+
api: 'Machine.group.save',
|
|
288
|
+
params: {
|
|
289
|
+
purpose: purpose === 'BUILD_GROUP' ? 'build' : 'deploy'
|
|
290
|
+
},
|
|
291
|
+
data: {
|
|
292
|
+
machineGroupStr: machineGroupStr
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
changeLoading(true);
|
|
296
|
+
_context2.next = 59;
|
|
297
|
+
return exceed.fetch(_fetchConfig);
|
|
298
|
+
case 59:
|
|
299
|
+
_yield$exceed$fetch2 = _context2.sent;
|
|
300
|
+
errorCode = _yield$exceed$fetch2.errorCode;
|
|
301
|
+
_successful = _yield$exceed$fetch2.successful;
|
|
302
|
+
_object = _yield$exceed$fetch2.object;
|
|
303
|
+
resutObj = _object;
|
|
304
|
+
respErrorCode = errorCode;
|
|
305
|
+
if (!(!_successful && errorCode !== ignoredCode)) {
|
|
306
|
+
_context2.next = 68;
|
|
307
|
+
break;
|
|
308
|
+
}
|
|
309
|
+
changeLoading(false);
|
|
310
|
+
return _context2.abrupt("return");
|
|
311
|
+
case 68:
|
|
312
|
+
if (!(memberList.length && !purpose && resutObj)) {
|
|
313
|
+
_context2.next = 71;
|
|
314
|
+
break;
|
|
315
|
+
}
|
|
316
|
+
_context2.next = 71;
|
|
317
|
+
return saveMembers(resutObj);
|
|
318
|
+
case 71:
|
|
319
|
+
statusText = groupId ? intl.get({
|
|
320
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.Save',
|
|
321
|
+
defaultMessage: '保存'
|
|
322
|
+
}) : intl.get({
|
|
323
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.Create',
|
|
324
|
+
defaultMessage: '创建'
|
|
325
|
+
});
|
|
326
|
+
target = purpose === 'BUILD_GROUP' ? intl.get({
|
|
327
|
+
id: 'rdc-tb-cd-assets.teambition.build-group.Title',
|
|
328
|
+
defaultMessage: '构建集群'
|
|
329
|
+
}) : intl.get({
|
|
330
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group.Title',
|
|
331
|
+
defaultMessage: '主机组'
|
|
332
|
+
});
|
|
333
|
+
if (respErrorCode !== ignoredCode) {
|
|
334
|
+
Message.success({
|
|
335
|
+
title: intl.get({
|
|
336
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.HostGroupNameStatustextSucceeded',
|
|
337
|
+
defaultMessage: '{target} {name} {statusText}成功'
|
|
338
|
+
}, {
|
|
339
|
+
target: target,
|
|
340
|
+
name: name,
|
|
341
|
+
statusText: statusText
|
|
342
|
+
})
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
changeLoading(false);
|
|
346
|
+
onRefresh && onRefresh(resutObj, '', true);
|
|
347
|
+
_onClose && _onClose();
|
|
348
|
+
timer && clearInterval(timer);
|
|
349
|
+
case 78:
|
|
350
|
+
case "end":
|
|
351
|
+
return _context2.stop();
|
|
352
|
+
}
|
|
353
|
+
}, _callee2);
|
|
354
|
+
}));
|
|
355
|
+
return function onSave() {
|
|
356
|
+
return _ref4.apply(this, arguments);
|
|
357
|
+
};
|
|
358
|
+
}();
|
|
359
|
+
var onStepChange = function onStepChange(cur) {
|
|
360
|
+
dispatch({
|
|
361
|
+
type: CHANGE_CURRENT,
|
|
362
|
+
data: cur
|
|
363
|
+
});
|
|
364
|
+
if (cur === DEPLOY_GROUP_HOST_TYPE) {
|
|
365
|
+
dispatch({
|
|
366
|
+
type: CHANGE_TYPE,
|
|
367
|
+
data: ''
|
|
368
|
+
});
|
|
369
|
+
timer && clearInterval(timer);
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
var selectHostType = function selectHostType(_ref7) {
|
|
373
|
+
var title = _ref7.title,
|
|
374
|
+
_type = _ref7.type;
|
|
375
|
+
dispatch({
|
|
376
|
+
type: CHANGE_TYPE,
|
|
377
|
+
data: _type
|
|
378
|
+
});
|
|
379
|
+
onStepChange(DEPLOY_GROUP_ADD_HOST);
|
|
380
|
+
setHostTitle(title);
|
|
381
|
+
track(_extends({
|
|
382
|
+
action: 'select host type',
|
|
383
|
+
page: 'add host page',
|
|
384
|
+
hosttype: "" + (_type === 'DEMO_ECS' ? 'free_try_machine' : type).toLocaleLowerCase(),
|
|
385
|
+
daysinceenterflow: intervalEnterTime()
|
|
386
|
+
}, trackConfig));
|
|
387
|
+
};
|
|
388
|
+
var setHostInstanceIds = function setHostInstanceIds(keys) {
|
|
389
|
+
dispatch({
|
|
390
|
+
type: CHANGE_HOST_INSTANCE_ID,
|
|
391
|
+
data: keys
|
|
392
|
+
});
|
|
393
|
+
};
|
|
394
|
+
var selectEcsAddType = function selectEcsAddType(addType) {
|
|
395
|
+
if (newly && hostInstanceIds.length && ecsAddType === 'ECS_LABEL') setHostInstanceIds([]);
|
|
396
|
+
if (ECS_MANAGED === addType) {
|
|
397
|
+
timer && clearInterval(timer);
|
|
398
|
+
dispatch({
|
|
399
|
+
type: CHANGE_MACHINE_TITLE_LIST,
|
|
400
|
+
data: []
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
dispatch({
|
|
404
|
+
type: CHANGE_ECS_ADD_TYPE,
|
|
405
|
+
data: addType
|
|
406
|
+
});
|
|
407
|
+
setTimeout(function () {
|
|
408
|
+
state.aliyunRegionId && getMachineTableList(state.aliyunRegionId);
|
|
409
|
+
}, 100);
|
|
410
|
+
};
|
|
411
|
+
var getMachineTableList = /*#__PURE__*/function () {
|
|
412
|
+
var _ref8 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(regionId, setloading) {
|
|
413
|
+
var config, conf, _ref9, object, successful, data, res, _res$object;
|
|
414
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
415
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
416
|
+
case 0:
|
|
417
|
+
if (setloading === void 0) {
|
|
418
|
+
setloading = true;
|
|
419
|
+
}
|
|
420
|
+
if (newly && setloading) changeLoading(true);
|
|
421
|
+
config = {
|
|
422
|
+
ECS: {
|
|
423
|
+
api: 'Aliyun.ecs.list',
|
|
424
|
+
data: {
|
|
425
|
+
scId: serviceConnectionId,
|
|
426
|
+
aliyunRegionId: regionId,
|
|
427
|
+
purpose: purpose || 'DEPLOY_GROUP',
|
|
428
|
+
checkAllEcsMachine: !newly
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
ManagedECS: {
|
|
432
|
+
api: 'Aliyun.ecs.managed.list',
|
|
433
|
+
data: {
|
|
434
|
+
scId: serviceConnectionId,
|
|
435
|
+
aliyunRegionId: regionId,
|
|
436
|
+
purpose: purpose || 'DEPLOY_GROUP',
|
|
437
|
+
checkAllEcsMachine: !newly
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
PUBLIC_MACHINE: {
|
|
441
|
+
api: 'SaMachine.list',
|
|
442
|
+
data: {
|
|
443
|
+
purpose: purpose || 'DEPLOY_GROUP'
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
};
|
|
447
|
+
conf = {};
|
|
448
|
+
if (ecsAddType == ECS_MANAGED) {
|
|
449
|
+
conf = config.ManagedECS;
|
|
450
|
+
} else {
|
|
451
|
+
conf = config[type];
|
|
452
|
+
}
|
|
453
|
+
_context3.next = 7;
|
|
454
|
+
return exceed.fetch(conf);
|
|
455
|
+
case 7:
|
|
456
|
+
_context3.t0 = _context3.sent;
|
|
457
|
+
if (_context3.t0) {
|
|
458
|
+
_context3.next = 10;
|
|
459
|
+
break;
|
|
460
|
+
}
|
|
461
|
+
_context3.t0 = {};
|
|
462
|
+
case 10:
|
|
463
|
+
_ref9 = _context3.t0;
|
|
464
|
+
object = _ref9.object;
|
|
465
|
+
successful = _ref9.successful;
|
|
466
|
+
if (successful) {
|
|
467
|
+
_context3.next = 17;
|
|
468
|
+
break;
|
|
469
|
+
}
|
|
470
|
+
changeLoading(false);
|
|
471
|
+
dispatch({
|
|
472
|
+
type: CHANGE_EDIT_HOST_TABLE_LOADING,
|
|
473
|
+
data: false
|
|
474
|
+
});
|
|
475
|
+
return _context3.abrupt("return");
|
|
476
|
+
case 17:
|
|
477
|
+
data = object.aliyunEcsList || object;
|
|
478
|
+
if (newly) {
|
|
479
|
+
_context3.next = 27;
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
conf.data.checkAllEcsMachine = false;
|
|
483
|
+
_context3.next = 22;
|
|
484
|
+
return exceed.fetch(conf);
|
|
485
|
+
case 22:
|
|
486
|
+
_context3.t1 = _context3.sent;
|
|
487
|
+
if (_context3.t1) {
|
|
488
|
+
_context3.next = 25;
|
|
489
|
+
break;
|
|
490
|
+
}
|
|
491
|
+
_context3.t1 = {};
|
|
492
|
+
case 25:
|
|
493
|
+
res = _context3.t1;
|
|
494
|
+
if (res.successful) {
|
|
495
|
+
setEditAddHostData(((_res$object = res.object) === null || _res$object === void 0 ? void 0 : _res$object.aliyunEcsList) || res.object || []);
|
|
496
|
+
}
|
|
497
|
+
case 27:
|
|
498
|
+
dispatch({
|
|
499
|
+
type: CHANGE_MACHINE_TITLE_LIST,
|
|
500
|
+
data: data
|
|
501
|
+
});
|
|
502
|
+
dispatch({
|
|
503
|
+
type: CHANGE_EDIT_HOST_TABLE_LOADING,
|
|
504
|
+
data: false
|
|
505
|
+
});
|
|
506
|
+
if (newly) changeLoading(false);
|
|
507
|
+
case 30:
|
|
508
|
+
case "end":
|
|
509
|
+
return _context3.stop();
|
|
510
|
+
}
|
|
511
|
+
}, _callee3);
|
|
512
|
+
}));
|
|
513
|
+
return function getMachineTableList(_x2, _x3) {
|
|
514
|
+
return _ref8.apply(this, arguments);
|
|
515
|
+
};
|
|
516
|
+
}();
|
|
517
|
+
var getEcsLabelKey = /*#__PURE__*/function () {
|
|
518
|
+
var _ref10 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(regionId) {
|
|
519
|
+
var _yield$exceed$fetch3, _yield$exceed$fetch3$, object, successful, formatData;
|
|
520
|
+
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
521
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
522
|
+
case 0:
|
|
523
|
+
_context4.next = 2;
|
|
524
|
+
return exceed.fetch({
|
|
525
|
+
api: 'Aliyun.tag.key.list',
|
|
526
|
+
data: {
|
|
527
|
+
scId: serviceConnectionId,
|
|
528
|
+
aliyunRegionId: regionId
|
|
529
|
+
}
|
|
530
|
+
});
|
|
531
|
+
case 2:
|
|
532
|
+
_yield$exceed$fetch3 = _context4.sent;
|
|
533
|
+
_yield$exceed$fetch3$ = _yield$exceed$fetch3.object;
|
|
534
|
+
object = _yield$exceed$fetch3$ === void 0 ? [] : _yield$exceed$fetch3$;
|
|
535
|
+
successful = _yield$exceed$fetch3.successful;
|
|
536
|
+
if (successful) {
|
|
537
|
+
_context4.next = 8;
|
|
538
|
+
break;
|
|
539
|
+
}
|
|
540
|
+
return _context4.abrupt("return");
|
|
541
|
+
case 8:
|
|
542
|
+
formatData = object.keys.length ? object.keys.map(function (_ref11) {
|
|
543
|
+
var key = _ref11.key;
|
|
544
|
+
return {
|
|
545
|
+
label: key,
|
|
546
|
+
value: key
|
|
547
|
+
};
|
|
548
|
+
}) : [];
|
|
549
|
+
dispatch({
|
|
550
|
+
type: CHANGE_ECS_LABEL_KEY_LIST,
|
|
551
|
+
data: formatData
|
|
552
|
+
});
|
|
553
|
+
changeLoading(false);
|
|
554
|
+
case 11:
|
|
555
|
+
case "end":
|
|
556
|
+
return _context4.stop();
|
|
557
|
+
}
|
|
558
|
+
}, _callee4);
|
|
559
|
+
}));
|
|
560
|
+
return function getEcsLabelKey(_x4) {
|
|
561
|
+
return _ref10.apply(this, arguments);
|
|
562
|
+
};
|
|
563
|
+
}();
|
|
564
|
+
var getEcsLabelValue = /*#__PURE__*/function () {
|
|
565
|
+
var _ref12 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_ecsLabelKey) {
|
|
566
|
+
var _yield$exceed$fetch4, _yield$exceed$fetch4$, object, successful, formatData;
|
|
567
|
+
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
568
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
569
|
+
case 0:
|
|
570
|
+
_context5.next = 2;
|
|
571
|
+
return exceed.fetch({
|
|
572
|
+
api: 'Aliyun.tag.value.list',
|
|
573
|
+
data: {
|
|
574
|
+
scId: serviceConnectionId,
|
|
575
|
+
aliyunRegionId: aliyunRegionId,
|
|
576
|
+
ecsTagKey: _ecsLabelKey
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
case 2:
|
|
580
|
+
_yield$exceed$fetch4 = _context5.sent;
|
|
581
|
+
_yield$exceed$fetch4$ = _yield$exceed$fetch4.object;
|
|
582
|
+
object = _yield$exceed$fetch4$ === void 0 ? [] : _yield$exceed$fetch4$;
|
|
583
|
+
successful = _yield$exceed$fetch4.successful;
|
|
584
|
+
if (successful) {
|
|
585
|
+
_context5.next = 8;
|
|
586
|
+
break;
|
|
587
|
+
}
|
|
588
|
+
return _context5.abrupt("return");
|
|
589
|
+
case 8:
|
|
590
|
+
formatData = object.values.length ? object.values.map(function (key) {
|
|
591
|
+
return {
|
|
592
|
+
label: key,
|
|
593
|
+
value: key
|
|
594
|
+
};
|
|
595
|
+
}) : [];
|
|
596
|
+
dispatch({
|
|
597
|
+
type: CHANGE_ECS_LABEL_VALUE_LIST,
|
|
598
|
+
data: formatData
|
|
599
|
+
});
|
|
600
|
+
changeLoading(false);
|
|
601
|
+
case 11:
|
|
602
|
+
case "end":
|
|
603
|
+
return _context5.stop();
|
|
604
|
+
}
|
|
605
|
+
}, _callee5);
|
|
606
|
+
}));
|
|
607
|
+
return function getEcsLabelValue(_x5) {
|
|
608
|
+
return _ref12.apply(this, arguments);
|
|
609
|
+
};
|
|
610
|
+
}();
|
|
611
|
+
var cheangeRegionId = function cheangeRegionId(regionId) {
|
|
612
|
+
if (newly && hostInstanceIds.length) setHostInstanceIds([]);
|
|
613
|
+
dispatch({
|
|
614
|
+
type: CHANGE_REGION_ID,
|
|
615
|
+
data: regionId
|
|
616
|
+
});
|
|
617
|
+
if (regionId && newly && ecsAddType === 'ECS_ALIYUN' || ecsAddType === ECS_MANAGED) getMachineTableList(regionId);
|
|
618
|
+
if (newly && ecsAddType === 'ECS_LABEL') {
|
|
619
|
+
changeEcsLabelKey('');
|
|
620
|
+
dispatch({
|
|
621
|
+
type: CHANGE_ECS_LABEL_KEY_LIST,
|
|
622
|
+
data: []
|
|
623
|
+
});
|
|
624
|
+
if (regionId) {
|
|
625
|
+
getEcsLabelKey(regionId);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
if (ecsAddType === 'ECS_LABEL' && ecsLabelKey && !newly) {
|
|
629
|
+
getEcsLabelValue(ecsLabelKey);
|
|
630
|
+
}
|
|
631
|
+
};
|
|
632
|
+
var changeEcsLabelKey = function changeEcsLabelKey(_ecsLabelKey) {
|
|
633
|
+
dispatch({
|
|
634
|
+
type: CHANGE_ECS_LABEL_KEY,
|
|
635
|
+
data: _ecsLabelKey
|
|
636
|
+
});
|
|
637
|
+
dispatch({
|
|
638
|
+
type: CHANGE_ECS_LABEL_VALUE,
|
|
639
|
+
data: ''
|
|
640
|
+
});
|
|
641
|
+
dispatch({
|
|
642
|
+
type: CHANGE_ECS_LABEL_VALUE_LIST,
|
|
643
|
+
data: []
|
|
644
|
+
});
|
|
645
|
+
if (_ecsLabelKey) {
|
|
646
|
+
getEcsLabelValue(_ecsLabelKey);
|
|
647
|
+
}
|
|
648
|
+
};
|
|
649
|
+
var changeEcsLabelValue = function changeEcsLabelValue(_ecsLabelValue) {
|
|
650
|
+
dispatch({
|
|
651
|
+
type: CHANGE_ECS_LABEL_VALUE,
|
|
652
|
+
data: _ecsLabelValue
|
|
653
|
+
});
|
|
654
|
+
};
|
|
655
|
+
var getRegions = /*#__PURE__*/function () {
|
|
656
|
+
var _ref13 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id) {
|
|
657
|
+
var _yield$exceed$fetch$c, _yield$exceed$fetch$c2, object, successful, formatData;
|
|
658
|
+
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
659
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
660
|
+
case 0:
|
|
661
|
+
_context6.next = 2;
|
|
662
|
+
return exceed.fetch({
|
|
663
|
+
api: 'Aliyun.region.list',
|
|
664
|
+
data: {
|
|
665
|
+
scId: id,
|
|
666
|
+
purpose: purpose || 'DEPLOY_GROUP'
|
|
667
|
+
}
|
|
668
|
+
})["catch"](function () {
|
|
669
|
+
changeLoading(false);
|
|
670
|
+
});
|
|
671
|
+
case 2:
|
|
672
|
+
_yield$exceed$fetch$c = _context6.sent;
|
|
673
|
+
_yield$exceed$fetch$c2 = _yield$exceed$fetch$c.object;
|
|
674
|
+
object = _yield$exceed$fetch$c2 === void 0 ? [] : _yield$exceed$fetch$c2;
|
|
675
|
+
successful = _yield$exceed$fetch$c.successful;
|
|
676
|
+
if (successful) {
|
|
677
|
+
_context6.next = 9;
|
|
678
|
+
break;
|
|
679
|
+
}
|
|
680
|
+
changeLoading(false);
|
|
681
|
+
return _context6.abrupt("return");
|
|
682
|
+
case 9:
|
|
683
|
+
formatData = object.length ? object.map(function (_ref14) {
|
|
684
|
+
var regionName = _ref14.regionName,
|
|
685
|
+
regionId = _ref14.regionId;
|
|
686
|
+
return {
|
|
687
|
+
label: regionName,
|
|
688
|
+
value: regionId
|
|
689
|
+
};
|
|
690
|
+
}) : [];
|
|
691
|
+
changeLoading(false);
|
|
692
|
+
dispatch({
|
|
693
|
+
type: CHANGE_REGIONS,
|
|
694
|
+
data: formatData
|
|
695
|
+
});
|
|
696
|
+
if (!newly) cheangeRegionId(aliyunRegionId);
|
|
697
|
+
case 13:
|
|
698
|
+
case "end":
|
|
699
|
+
return _context6.stop();
|
|
700
|
+
}
|
|
701
|
+
}, _callee6);
|
|
702
|
+
}));
|
|
703
|
+
return function getRegions(_x6) {
|
|
704
|
+
return _ref13.apply(this, arguments);
|
|
705
|
+
};
|
|
706
|
+
}();
|
|
707
|
+
var cheangeConnectionId = function cheangeConnectionId(id, empty) {
|
|
708
|
+
if (empty === void 0) {
|
|
709
|
+
empty = false;
|
|
710
|
+
}
|
|
711
|
+
if (newly) {
|
|
712
|
+
changeLoading(true);
|
|
713
|
+
if (hostInstanceIds.length) setHostInstanceIds([]);
|
|
714
|
+
}
|
|
715
|
+
dispatch({
|
|
716
|
+
type: CHANGE_CONNECTION_ID,
|
|
717
|
+
data: id
|
|
718
|
+
});
|
|
719
|
+
if (serviceConnectionId !== id) {
|
|
720
|
+
dispatch({
|
|
721
|
+
type: CHANGE_REGIONS,
|
|
722
|
+
data: []
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
if (aliyunRegionId) cheangeRegionId('');
|
|
726
|
+
if (empty) {
|
|
727
|
+
dispatch({
|
|
728
|
+
type: CHANGE_MACHINE_TITLE_LIST,
|
|
729
|
+
data: []
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
};
|
|
733
|
+
var getConnections = useCallback(/*#__PURE__*/function () {
|
|
734
|
+
var _ref15 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(useServiceConnection) {
|
|
735
|
+
var config, _yield$exceed$fetch5, _yield$exceed$fetch5$, object, successful, formatData, dataLen;
|
|
736
|
+
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
737
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
738
|
+
case 0:
|
|
739
|
+
if (newly) {
|
|
740
|
+
changeLoading(true);
|
|
741
|
+
if (hostInstanceIds.length) setHostInstanceIds([]);
|
|
742
|
+
}
|
|
743
|
+
config = scGrayEnable ? {
|
|
744
|
+
api: 'service-connection.list',
|
|
745
|
+
data: {
|
|
746
|
+
pageOrder: 'DESC',
|
|
747
|
+
scType: 'ecs',
|
|
748
|
+
userId: window.AK_GLOBAL.currentUser.workid,
|
|
749
|
+
version: 'v2'
|
|
750
|
+
}
|
|
751
|
+
} : {
|
|
752
|
+
api: 'Service.connection.list',
|
|
753
|
+
data: {
|
|
754
|
+
scType: type === 'PUBLIC_MACHINE' ? 'ECS' : type,
|
|
755
|
+
purpose: purpose || 'DEPLOY_GROUP'
|
|
756
|
+
}
|
|
757
|
+
};
|
|
758
|
+
_context7.next = 4;
|
|
759
|
+
return exceed.fetch(config);
|
|
760
|
+
case 4:
|
|
761
|
+
_yield$exceed$fetch5 = _context7.sent;
|
|
762
|
+
_yield$exceed$fetch5$ = _yield$exceed$fetch5.object;
|
|
763
|
+
object = _yield$exceed$fetch5$ === void 0 ? [] : _yield$exceed$fetch5$;
|
|
764
|
+
successful = _yield$exceed$fetch5.successful;
|
|
765
|
+
if (successful) {
|
|
766
|
+
_context7.next = 11;
|
|
767
|
+
break;
|
|
768
|
+
}
|
|
769
|
+
changeLoading(false);
|
|
770
|
+
return _context7.abrupt("return");
|
|
771
|
+
case 11:
|
|
772
|
+
if (scGrayEnable) {
|
|
773
|
+
formatData = object.map(function (item) {
|
|
774
|
+
return _extends({}, item, {
|
|
775
|
+
label: item.connectionName,
|
|
776
|
+
value: item.id
|
|
777
|
+
});
|
|
778
|
+
});
|
|
779
|
+
} else {
|
|
780
|
+
formatData = object.length ? object.map(function (_ref16) {
|
|
781
|
+
var connectionName = _ref16.connectionName,
|
|
782
|
+
id = _ref16.id;
|
|
783
|
+
return {
|
|
784
|
+
label: connectionName,
|
|
785
|
+
value: id
|
|
786
|
+
};
|
|
787
|
+
}) : [];
|
|
788
|
+
}
|
|
789
|
+
dispatch({
|
|
790
|
+
type: CHANGE_CONNECTIONS,
|
|
791
|
+
data: formatData
|
|
792
|
+
});
|
|
793
|
+
dataLen = object.length;
|
|
794
|
+
if ((!serviceConnectionId || useServiceConnection) && newly && dataLen) {
|
|
795
|
+
cheangeConnectionId(formatData[0].value);
|
|
796
|
+
}
|
|
797
|
+
changeLoading(false);
|
|
798
|
+
case 16:
|
|
799
|
+
case "end":
|
|
800
|
+
return _context7.stop();
|
|
801
|
+
}
|
|
802
|
+
}, _callee7);
|
|
803
|
+
}));
|
|
804
|
+
return function (_x7) {
|
|
805
|
+
return _ref15.apply(this, arguments);
|
|
806
|
+
};
|
|
807
|
+
}(), [newly, type, hostInstanceIds, purpose, serviceConnectionId]);
|
|
808
|
+
var cheangeHostInstanceIds = function cheangeHostInstanceIds(instanceId) {
|
|
809
|
+
var keys = hostInstanceIds.filter(function (_instanceId) {
|
|
810
|
+
return _instanceId !== instanceId;
|
|
811
|
+
});
|
|
812
|
+
setHostInstanceIds(keys);
|
|
813
|
+
};
|
|
814
|
+
var onChangeMemberList = function onChangeMemberList(list) {
|
|
815
|
+
dispatch({
|
|
816
|
+
type: CHANGE_EDIT_MEMBER_LIST,
|
|
817
|
+
data: list
|
|
818
|
+
});
|
|
819
|
+
};
|
|
820
|
+
var refreshPublicMachIne = function refreshPublicMachIne() {
|
|
821
|
+
timer && clearInterval(timer);
|
|
822
|
+
timer = setInterval(function () {
|
|
823
|
+
getMachineTableList('', false)["catch"](function (error) {
|
|
824
|
+
// 登录失效等接口异常情况,停止轮序
|
|
825
|
+
timer && clearInterval(timer);
|
|
826
|
+
|
|
827
|
+
// eslint-disable-next-line no-console
|
|
828
|
+
console.error(error);
|
|
829
|
+
});
|
|
830
|
+
}, 5000);
|
|
831
|
+
};
|
|
832
|
+
useEffect(function () {
|
|
833
|
+
if (newly) dispatch({
|
|
834
|
+
type: EMPTY_DATA
|
|
835
|
+
});
|
|
836
|
+
if (purpose && newly) {
|
|
837
|
+
dispatch({
|
|
838
|
+
type: CHANGE_HOST_INFO_NAME,
|
|
839
|
+
data: intl.get({
|
|
840
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.NewClusterBuilding',
|
|
841
|
+
defaultMessage: '新的构建集群'
|
|
842
|
+
})
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
if (type === 'ECS' || ecsAddType === ECS_MANAGED || ecsAddType === 'ECS_ALIYUN') {
|
|
846
|
+
getConnections(true);
|
|
847
|
+
}
|
|
848
|
+
if (type === 'PUBLIC_MACHINE' && ecsAddType != ECS_MANAGED) {
|
|
849
|
+
getMachineTableList();
|
|
850
|
+
}
|
|
851
|
+
}, [type]);
|
|
852
|
+
useEffect(function () {
|
|
853
|
+
if (type === 'ECS' || ecsAddType === ECS_MANAGED || ecsAddType === 'ECS_ALIYUN') {
|
|
854
|
+
getConnections();
|
|
855
|
+
}
|
|
856
|
+
if (type === 'PUBLIC_MACHINE' && ecsAddType != ECS_MANAGED) {
|
|
857
|
+
getMachineTableList();
|
|
858
|
+
}
|
|
859
|
+
}, [ecsAddType]);
|
|
860
|
+
// ECS服务授权切换
|
|
861
|
+
useEffect(function () {
|
|
862
|
+
if (serviceConnectionId && type) getRegions(serviceConnectionId);
|
|
863
|
+
}, [serviceConnectionId]);
|
|
864
|
+
useEffect(function () {
|
|
865
|
+
if (type !== 'PUBLIC_MACHINE' || ecsAddType === ECS_MANAGED) return;
|
|
866
|
+
if (current === DEPLOY_GROUP_ADD_HOST || editCurrent === EDIT_HOST_GROUP_LIST) {
|
|
867
|
+
refreshPublicMachIne();
|
|
868
|
+
} else {
|
|
869
|
+
clearTimeout(timer);
|
|
870
|
+
}
|
|
871
|
+
}, [current, editCurrent, type]);
|
|
872
|
+
useEffect(function () {
|
|
873
|
+
// 控制添加主机loading和过滤编辑主机列表数据
|
|
874
|
+
if (!editHostTableLiading && !newly) {
|
|
875
|
+
dispatch({
|
|
876
|
+
type: CHANGE_EDIT_ADD_HOST_LOADING,
|
|
877
|
+
data: false
|
|
878
|
+
});
|
|
879
|
+
dispatch({
|
|
880
|
+
type: CHANGE_EDIT_HOST_LIST,
|
|
881
|
+
data: hostInstanceIds.map(function (k) {
|
|
882
|
+
if (allHostDataObj[k]) {
|
|
883
|
+
return allHostDataObj[k];
|
|
884
|
+
}
|
|
885
|
+
// 有些主机在 allHostDataObj 接口数据里不存在,用原数据填充一下
|
|
886
|
+
var originMachineInfo = (machineInfos || []).find(function (v) {
|
|
887
|
+
return v.machineSn === k;
|
|
888
|
+
});
|
|
889
|
+
if (originMachineInfo) {
|
|
890
|
+
return {
|
|
891
|
+
instanceId: k,
|
|
892
|
+
instanceName: originMachineInfo.instanceName,
|
|
893
|
+
ipAddress: originMachineInfo === null || originMachineInfo === void 0 ? void 0 : originMachineInfo.ip,
|
|
894
|
+
status: 'offline'
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
return undefined;
|
|
898
|
+
})
|
|
899
|
+
});
|
|
900
|
+
dispatch({
|
|
901
|
+
type: CHANGE_EDIT_HOST_TABLE_LOADING,
|
|
902
|
+
data: false
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
}, [Object.values(allHostDataObj).length, editHostTableLiading]);
|
|
906
|
+
|
|
907
|
+
// 编辑类型为ECS时加载
|
|
908
|
+
useEffect(function () {
|
|
909
|
+
if (!newly && serviceConnectionId && aliyunRegionId) {
|
|
910
|
+
if (aliyunRegionId && ecsAddType === 'ECS_ALIYUN') getMachineTableList(aliyunRegionId);
|
|
911
|
+
if (aliyunRegionId && ecsAddType === 'ECS_LABEL') getEcsLabelKey(aliyunRegionId);
|
|
912
|
+
}
|
|
913
|
+
}, [newly, serviceConnectionId, aliyunRegionId]);
|
|
914
|
+
var getAddHost = function getAddHost(others) {
|
|
915
|
+
return /*#__PURE__*/React.createElement(AddHost, _extends({
|
|
916
|
+
type: type,
|
|
917
|
+
mode: mode,
|
|
918
|
+
groupId: groupId,
|
|
919
|
+
setHostInstanceIds: setHostInstanceIds,
|
|
920
|
+
hostInstanceIds: hostInstanceIds,
|
|
921
|
+
connections: connections,
|
|
922
|
+
serviceConnectionId: serviceConnectionId,
|
|
923
|
+
regions: regions,
|
|
924
|
+
aliyunRegionId: aliyunRegionId,
|
|
925
|
+
cheangeRegionId: cheangeRegionId,
|
|
926
|
+
cheangeConnectionId: cheangeConnectionId,
|
|
927
|
+
hostTableList: Object.values(allHostDataObj),
|
|
928
|
+
getConnections: getConnections,
|
|
929
|
+
newly: newly,
|
|
930
|
+
purpose: purpose,
|
|
931
|
+
trackConfig: trackConfig,
|
|
932
|
+
ecsAddType: ecsAddType,
|
|
933
|
+
ecsLabelKey: ecsLabelKey,
|
|
934
|
+
ecsLabelValue: ecsLabelValue,
|
|
935
|
+
selectEcsAddType: selectEcsAddType,
|
|
936
|
+
ecsLabelKeyList: ecsLabelKeyList,
|
|
937
|
+
ecsLabelValueList: ecsLabelValueList,
|
|
938
|
+
changeEcsLabelKey: changeEcsLabelKey,
|
|
939
|
+
changeEcsLabelValue: changeEcsLabelValue,
|
|
940
|
+
demoEcsField: demoEcsField
|
|
941
|
+
}, others));
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
// 编辑逻辑
|
|
945
|
+
if (!newly) {
|
|
946
|
+
var getMachineGroup = /*#__PURE__*/function () {
|
|
947
|
+
var _ref17 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {
|
|
948
|
+
var config, _yield$exceed$fetch6, successful, object;
|
|
949
|
+
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
950
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
951
|
+
case 0:
|
|
952
|
+
config = {
|
|
953
|
+
api: 'Machine.group.get',
|
|
954
|
+
params: {
|
|
955
|
+
purpose: purpose === 'BUILD_GROUP' ? 'build' : 'deploy'
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
_context8.next = 3;
|
|
959
|
+
return exceed.fetch(config);
|
|
960
|
+
case 3:
|
|
961
|
+
_yield$exceed$fetch6 = _context8.sent;
|
|
962
|
+
successful = _yield$exceed$fetch6.successful;
|
|
963
|
+
object = _yield$exceed$fetch6.object;
|
|
964
|
+
if (successful) {
|
|
965
|
+
_context8.next = 8;
|
|
966
|
+
break;
|
|
967
|
+
}
|
|
968
|
+
return _context8.abrupt("return");
|
|
969
|
+
case 8:
|
|
970
|
+
dispatch({
|
|
971
|
+
type: CHANGE_EDIT_HOST_BASE_DATA,
|
|
972
|
+
data: object
|
|
973
|
+
});
|
|
974
|
+
changeLoading(false);
|
|
975
|
+
case 10:
|
|
976
|
+
case "end":
|
|
977
|
+
return _context8.stop();
|
|
978
|
+
}
|
|
979
|
+
}, _callee8);
|
|
980
|
+
}));
|
|
981
|
+
return function getMachineGroup() {
|
|
982
|
+
return _ref17.apply(this, arguments);
|
|
983
|
+
};
|
|
984
|
+
}();
|
|
985
|
+
var onEditStepChange = function onEditStepChange(cur) {
|
|
986
|
+
dispatch({
|
|
987
|
+
type: CHANGE_EDIT_HOST_GROUP_CURRENT,
|
|
988
|
+
data: cur
|
|
989
|
+
});
|
|
990
|
+
};
|
|
991
|
+
var addHostSave = function addHostSave() {
|
|
992
|
+
dispatch({
|
|
993
|
+
type: CHANGE_EDIT_HOST_LIST,
|
|
994
|
+
data: hostInstanceIds.map(function (k) {
|
|
995
|
+
return allHostDataObj[k];
|
|
996
|
+
})
|
|
997
|
+
});
|
|
998
|
+
setEditAddHostVisible(false);
|
|
999
|
+
};
|
|
1000
|
+
var deleteHostSave = function deleteHostSave(_ref18) {
|
|
1001
|
+
var instanceId = _ref18.instanceId;
|
|
1002
|
+
if (editHostTableList.length === 1) {
|
|
1003
|
+
Message.warning({
|
|
1004
|
+
title: intl.get({
|
|
1005
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.RetainAtLeastOneHost',
|
|
1006
|
+
defaultMessage: '至少保留一台主机'
|
|
1007
|
+
})
|
|
1008
|
+
});
|
|
1009
|
+
return;
|
|
1010
|
+
}
|
|
1011
|
+
var res = editHostTableList.filter(function (_ref19) {
|
|
1012
|
+
var _instanceId = _ref19.instanceId;
|
|
1013
|
+
return _instanceId !== instanceId;
|
|
1014
|
+
});
|
|
1015
|
+
cheangeHostInstanceIds(instanceId);
|
|
1016
|
+
dispatch({
|
|
1017
|
+
type: CHANGE_EDIT_HOST_LIST,
|
|
1018
|
+
data: res
|
|
1019
|
+
});
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
1023
|
+
useEffect(function () {
|
|
1024
|
+
changeLoading(true);
|
|
1025
|
+
if (groupId) getMachineGroup();
|
|
1026
|
+
}, [groupId]);
|
|
1027
|
+
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(EditHostGroup, {
|
|
1028
|
+
name: name,
|
|
1029
|
+
purpose: purpose,
|
|
1030
|
+
envId: envId,
|
|
1031
|
+
uuid: uuid,
|
|
1032
|
+
tagIdList: tagIdList,
|
|
1033
|
+
type: type,
|
|
1034
|
+
loading: loading,
|
|
1035
|
+
groupId: groupId,
|
|
1036
|
+
editCurrent: editCurrent,
|
|
1037
|
+
visible: visible,
|
|
1038
|
+
newly: newly,
|
|
1039
|
+
mode: mode,
|
|
1040
|
+
onClose: function onClose() {
|
|
1041
|
+
_onClose();
|
|
1042
|
+
dispatch({
|
|
1043
|
+
type: EMPTY_DATA
|
|
1044
|
+
});
|
|
1045
|
+
dispatch({
|
|
1046
|
+
type: CHANGE_TYPE,
|
|
1047
|
+
data: ''
|
|
1048
|
+
});
|
|
1049
|
+
timer && clearInterval(timer);
|
|
1050
|
+
},
|
|
1051
|
+
onSave: onSave,
|
|
1052
|
+
cheangeHostInfoFormData: cheangeHostInfoFormData,
|
|
1053
|
+
// onChangeMemberList,
|
|
1054
|
+
onEditStepChange: onEditStepChange,
|
|
1055
|
+
hostTableList: editHostTableList,
|
|
1056
|
+
setEditAddHostVisible: setEditAddHostVisible,
|
|
1057
|
+
deleteHostSave: deleteHostSave,
|
|
1058
|
+
editHostTableLiading: editHostTableLiading,
|
|
1059
|
+
aliyunRegionId: aliyunRegionId,
|
|
1060
|
+
ecsAddType: ecsAddType,
|
|
1061
|
+
ecsLabelKey: ecsLabelKey,
|
|
1062
|
+
ecsLabelValue: ecsLabelValue,
|
|
1063
|
+
getAddHost: getAddHost,
|
|
1064
|
+
getEcsLabelKey: getEcsLabelKey
|
|
1065
|
+
}), editAddHostVisible && /*#__PURE__*/React.createElement(Dialog, {
|
|
1066
|
+
title: intl.get({
|
|
1067
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.AddHost',
|
|
1068
|
+
defaultMessage: '添加主机'
|
|
1069
|
+
}),
|
|
1070
|
+
visible: editAddHostVisible,
|
|
1071
|
+
onClose: function onClose() {
|
|
1072
|
+
return setEditAddHostVisible(false);
|
|
1073
|
+
},
|
|
1074
|
+
onCancel: function onCancel() {
|
|
1075
|
+
return setEditAddHostVisible(false);
|
|
1076
|
+
},
|
|
1077
|
+
noBodyPadding: true,
|
|
1078
|
+
okProps: {
|
|
1079
|
+
children: intl.get({
|
|
1080
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.Save',
|
|
1081
|
+
defaultMessage: '保存'
|
|
1082
|
+
}),
|
|
1083
|
+
disabled: (ecsAddType === 'ECS_ALIYUN' || ecsAddType === 'ECS_MANAGED') && !hostInstanceIds.length || ecsAddType === 'ECS_LABEL' && !ecsLabelValue
|
|
1084
|
+
},
|
|
1085
|
+
onOk: addHostSave,
|
|
1086
|
+
className: "edit-add-host",
|
|
1087
|
+
loading: editAddHostLoading
|
|
1088
|
+
}, getAddHost({
|
|
1089
|
+
disabled: true,
|
|
1090
|
+
setHostInstanceIds: setHostInstanceIds,
|
|
1091
|
+
hostTableList: editAddHostData
|
|
1092
|
+
})));
|
|
1093
|
+
}
|
|
1094
|
+
var getFooter = function getFooter(config) {
|
|
1095
|
+
return [(type === 'ECS' || ecsAddType === 'ECS_MANAGED') && /*#__PURE__*/React.createElement("div", {
|
|
1096
|
+
style: {
|
|
1097
|
+
"float": 'left',
|
|
1098
|
+
fontSize: 14,
|
|
1099
|
+
color: 'var(--color-text1-7, #8b8b8b)',
|
|
1100
|
+
marginTop: 8
|
|
1101
|
+
}
|
|
1102
|
+
}, (config.buildHint || config.hint) && /*#__PURE__*/React.createElement(YunxiaoIcon, {
|
|
1103
|
+
type: "info-fill",
|
|
1104
|
+
style: {
|
|
1105
|
+
color: 'var(--color-brand1-6, #1b9aee)',
|
|
1106
|
+
marginRight: 5
|
|
1107
|
+
}
|
|
1108
|
+
}), purpose === 'BUILD_GROUP' ? config.buildHint || config.hint : config.hint), config.nextVisible && /*#__PURE__*/React.createElement(Button, {
|
|
1109
|
+
key: "last",
|
|
1110
|
+
type: "normal",
|
|
1111
|
+
onClick: function onClick() {
|
|
1112
|
+
onStepChange(config.last);
|
|
1113
|
+
track(_extends({}, config.trackInfo, trackConfig));
|
|
1114
|
+
}
|
|
1115
|
+
}, intl.get({
|
|
1116
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.PreviousStep',
|
|
1117
|
+
defaultMessage: '上一步'
|
|
1118
|
+
})), /*#__PURE__*/React.createElement(Button, {
|
|
1119
|
+
key: "next",
|
|
1120
|
+
type: "primary",
|
|
1121
|
+
loading: loading,
|
|
1122
|
+
onClick: function onClick() {
|
|
1123
|
+
if (config.next) {
|
|
1124
|
+
onStepChange(config.next);
|
|
1125
|
+
track(_extends({
|
|
1126
|
+
action: 'add host next step',
|
|
1127
|
+
page: 'add host list page',
|
|
1128
|
+
daysinceenterflow: intervalEnterTime()
|
|
1129
|
+
}, trackConfig));
|
|
1130
|
+
return;
|
|
1131
|
+
}
|
|
1132
|
+
onSave();
|
|
1133
|
+
track(_extends({
|
|
1134
|
+
action: 'save host group',
|
|
1135
|
+
page: 'save host group page',
|
|
1136
|
+
daysinceenterflow: intervalEnterTime()
|
|
1137
|
+
}, trackConfig));
|
|
1138
|
+
},
|
|
1139
|
+
disabled: ((ecsAddType === 'ECS_ALIYUN' || ecsAddType === 'ECS_MANAGED') && !(hostInstanceIds || []).length || ecsAddType === 'ECS_LABEL' && !ecsLabelValue) && type != 'DEMO_ECS' || type == 'DEMO_ECS' && loading
|
|
1140
|
+
}, config.text || intl.get({
|
|
1141
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.Next',
|
|
1142
|
+
defaultMessage: '下一步'
|
|
1143
|
+
}))].filter(Boolean);
|
|
1144
|
+
};
|
|
1145
|
+
var hostInfoTitle = purpose ? intl.get({
|
|
1146
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.BuildClusterInformation',
|
|
1147
|
+
defaultMessage: '构建集群信息'
|
|
1148
|
+
}) : intl.get({
|
|
1149
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.HostInformation',
|
|
1150
|
+
defaultMessage: '主机信息'
|
|
1151
|
+
});
|
|
1152
|
+
var cls = cx(PREFIX, {
|
|
1153
|
+
'hide-back-btn': !getFeature('app.public.machine')
|
|
1154
|
+
});
|
|
1155
|
+
return /*#__PURE__*/React.createElement(StepDialog, {
|
|
1156
|
+
visible: visible,
|
|
1157
|
+
current: current,
|
|
1158
|
+
onStepChange: onStepChange,
|
|
1159
|
+
onClose: function onClose() {
|
|
1160
|
+
timer && clearInterval(timer);
|
|
1161
|
+
dispatch({
|
|
1162
|
+
type: EMPTY_DATA
|
|
1163
|
+
});
|
|
1164
|
+
dispatch({
|
|
1165
|
+
type: CHANGE_TYPE,
|
|
1166
|
+
data: ''
|
|
1167
|
+
});
|
|
1168
|
+
_onClose();
|
|
1169
|
+
},
|
|
1170
|
+
className: cls,
|
|
1171
|
+
width: 735,
|
|
1172
|
+
loading: loading,
|
|
1173
|
+
id: PREFIX,
|
|
1174
|
+
prefix: "next-"
|
|
1175
|
+
}, /*#__PURE__*/React.createElement(StepView, {
|
|
1176
|
+
id: DEPLOY_GROUP_HOST_TYPE,
|
|
1177
|
+
title: intl.get({
|
|
1178
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.SelectAHostType',
|
|
1179
|
+
defaultMessage: '选择主机类型'
|
|
1180
|
+
}),
|
|
1181
|
+
footer: false
|
|
1182
|
+
}, /*#__PURE__*/React.createElement(HostType, {
|
|
1183
|
+
purpose: purpose,
|
|
1184
|
+
itemClick: selectHostType
|
|
1185
|
+
})), /*#__PURE__*/React.createElement(StepView, {
|
|
1186
|
+
id: DEPLOY_GROUP_ADD_HOST,
|
|
1187
|
+
title: intl.get({
|
|
1188
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.HosttitleAddAHost',
|
|
1189
|
+
defaultMessage: '{hostTitle} · 添加主机'
|
|
1190
|
+
}, {
|
|
1191
|
+
hostTitle: hostTitle
|
|
1192
|
+
}),
|
|
1193
|
+
footer: type == 'DEMO_ECS' ? getFooter(footerMap[DEPLOY_GROUP_HOST_INFO]) : getFooter(footerMap[DEPLOY_GROUP_ADD_HOST])
|
|
1194
|
+
}, /*#__PURE__*/React.createElement(Loading, {
|
|
1195
|
+
visible: loading,
|
|
1196
|
+
inline: false,
|
|
1197
|
+
tip: type == 'DEMO_ECS' && demoEcsField.getValue('accessKeyId') ? intl.get({
|
|
1198
|
+
id: 'rdc-tb-cd-assets.teambition.deploy-group-dialog.PleaseWaitAMomentAdding',
|
|
1199
|
+
defaultMessage: '请稍等,正在添加体验主机…'
|
|
1200
|
+
}) : ''
|
|
1201
|
+
}, getAddHost())), /*#__PURE__*/React.createElement(StepView, {
|
|
1202
|
+
id: DEPLOY_GROUP_HOST_INFO,
|
|
1203
|
+
title: hostTitle + " \xB7 " + hostInfoTitle,
|
|
1204
|
+
footer: getFooter(footerMap[DEPLOY_GROUP_HOST_INFO])
|
|
1205
|
+
}, /*#__PURE__*/React.createElement(HostInfo, {
|
|
1206
|
+
type: type,
|
|
1207
|
+
name: name,
|
|
1208
|
+
envId: envId,
|
|
1209
|
+
purpose: purpose,
|
|
1210
|
+
groupId: groupId,
|
|
1211
|
+
tagIdList: tagIdList,
|
|
1212
|
+
hostTableData: hostInstanceIds.map(function (k) {
|
|
1213
|
+
return allHostDataObj[k];
|
|
1214
|
+
}),
|
|
1215
|
+
onStepChange: onStepChange,
|
|
1216
|
+
deleteSelectHost: cheangeHostInstanceIds,
|
|
1217
|
+
cheangeHostInfoFormData: cheangeHostInfoFormData,
|
|
1218
|
+
onChangeMemberList: onChangeMemberList,
|
|
1219
|
+
ref: infoRef
|
|
1220
|
+
})));
|
|
1221
|
+
};
|
|
1222
|
+
export var DeployGroupDialogConnect = function DeployGroupDialogConnect(props) {
|
|
1223
|
+
return /*#__PURE__*/React.createElement(Provider, null, /*#__PURE__*/React.createElement(DeployGroupDialog, props));
|
|
1224
|
+
};
|
|
1225
|
+
export default /*#__PURE__*/React.memo(DeployGroupDialog);
|