<phase>generate-resources</phase>
<configuration>
<arguments>run build</arguments>
+ <skip>${npm.skipBuild}</skip>
+ </configuration>
+ </execution>
+ <execution>
+ <id>npm build local</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ <configuration>
+ <arguments>run build:local</arguments>
+ <skip>${npm.skipBuildLocal}</skip>
</configuration>
</execution>
</executions>
this.downloadCBAPackage(bluePrintDetailModels);
this.packageCreationStore.clear();
}
- }, err => { },
+ this.ngxService.stop();
+ }, err => {
+ this.ngxService.stop();
+ },
() => {
// this.ngxService.stop();
});
const blob = new Blob([response], { type: 'application/octet-stream' });
this.currentBlob = blob;
this.packageCreationExtractionService.extractBlobToStore(blob);
- }, err => { },
+ }, err => {
+ console.log(err);
+ this.ngxService.stop();
+ },
() => {
this.ngxService.stop();
});
import { ActionAttributesComponent } from './designer/action-attributes/action-attributes.component';
import { MatInputModule, MatPaginatorModule, MatProgressSpinnerModule, MatSortModule, MatTableModule } from '@angular/material';
import { TopologyTemplateComponent } from './package-creation/topology-template/topology-template.component';
-import {CollapseModule} from 'ngx-bootstrap/collapse';
+import { CollapseModule } from 'ngx-bootstrap/collapse';
@NgModule({
declarations: [PackagesDashboardComponent,
AceEditorModule,
DataTablesModule,
// Import NgxUiLoaderModule
- NgxUiLoaderModule,
+ NgxUiLoaderModule.forRoot({
+ bgsColor: 'red',
+ bgsOpacity: 0.5,
+ bgsPosition: 'bottom-right',
+ bgsSize: 60,
+ bgsType: 'ball-spin-clockwise',
+ blur: 5,
+ delay: 0,
+ fgsColor: '#63bdba',
+ fgsPosition: 'center-center',
+ fgsSize: 60,
+ fgsType: 'rectangle-bounce',
+ gap: 24,
+ logoPosition: 'center-center',
+ logoSize: 120,
+ logoUrl: 'assets/img/logo-icon.svg',
+ masterLoaderId: 'master',
+ overlayBorderRadius: '0',
+ overlayColor: 'rgba(40, 40, 40, 0.8)',
+ pbColor: 'red',
+ pbDirection: 'ltr',
+ pbThickness: 3,
+ hasProgressBar: true,
+ text: '',
+ textColor: '#FFFFFF',
+ textPosition: 'center-center',
+ maxTime: -1,
+ minTime: 300
+ }),
TourMatMenuModule.forRoot(),
MatInputModule,
MatTableModule,
<properties>
<npm.executable>npm</npm.executable>
+ <!-- Properties for CDS-GUI to npm run build:local -->
+ <npm.skipBuild>false</npm.skipBuild>
+ <npm.skipBuildLocal>true</npm.skipBuildLocal>
</properties>
+
+ <profiles>
+ <!-- Profile to either run npm build or npm build:local -->
+ <profile>
+ <id>npmLocal</id>
+ <activation>
+ <property>
+ <name>npmLocal</name>
+ </property>
+ </activation>
+ <properties>
+ <npm.skipBuild>true</npm.skipBuild>
+ <npm.skipBuildLocal>false</npm.skipBuildLocal>
+ </properties>
+ </profile>
+ </profiles>
</project>
<!-- Properties for POM Format -->
<format.skipValidate>false</format.skipValidate>
<format.skipExecute>true</format.skipExecute>
+
<java.version>11</java.version>
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version>