blob: 7f9d539f5e01a64dc16e1e38b5def3398f8943e8 [file]
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
-->
<div fxLayout="column" fxFlex="100" class="pipeline-editor-outer">
@if (!allElementsLoaded) {
<div fxFlex="100" fxLayout="column" fxLayoutAlign="center center">
<sp-spinner
[diameter]="30"
[text]="'Preparing pipeline editor...' | translate"
></sp-spinner>
</div>
} @else {
<div fxLayout="row" fxFlex="100">
<sp-basic-view
style="width: 250px"
[hideNavbar]="true"
margin="10px 0 0 10px"
>
@if (allElementsLoaded) {
<sp-pipeline-element-icon-stand
id="shepherd-test"
[allElements]="allElements"
>
</sp-pipeline-element-icon-stand>
}
</sp-basic-view>
@if (allElementsLoaded && allMetadataLoaded) {
<sp-pipeline-assembly
fxFlex="100"
class="w-100"
style="margin-left: 10px"
[rawPipelineModel]="rawPipelineModel"
[allElements]="allElements"
[originalPipeline]="originalPipeline"
[cloneMode]="cloneMode"
[pipelineCanvasMetadata]="pipelineCanvasMetadata"
[pipelineCanvasMetadataAvailable]="
pipelineCanvasMetadataAvailable
"
>
</sp-pipeline-assembly>
}
</div>
}
</div>