aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>2020-12-20 10:47:47 +0200
committerAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>2020-12-20 10:49:23 +0200
commit8836e4b122cfffc8af1ee1e3ec367b77e43554aa (patch)
tree879a195ff65eaa1134ffaad41e74a3a5511db1ea
parent61c951f47d1237617a5adccc05e91589ae80e28e (diff)
add new build script
add highlighting for action output selection Issue-ID: CCSDK-3042 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I630776b256fa35c588fb45d69da0281b9d0aa575
-rw-r--r--cds-ui/designer-client/package.json1
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html10
2 files changed, 6 insertions, 5 deletions
diff --git a/cds-ui/designer-client/package.json b/cds-ui/designer-client/package.json
index 6d8c31ad4..6b636c4c8 100644
--- a/cds-ui/designer-client/package.json
+++ b/cds-ui/designer-client/package.json
@@ -5,6 +5,7 @@
"ng": "ng",
"start": "npm run lint && ng serve --proxy-config proxy.conf.json && ng build --prod --aot ",
"build": "npm run lint && ng build --prod --aot ",
+ "build:local": "ng build --prod --aot",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html
index 2c611134b..178f8f098 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html
@@ -250,22 +250,22 @@
<label class="col-form-label col-sm-3 pt-0">Type <span>*</span></label>
<div class="col-sm-9">
<div class="list-group list-group-horizontal">
- <button type="button" class="list-group-item list-group-item-action"
+ <button type="button" class="list-group-item list-group-item-action" [class.active]="this.outputActionAttribute.type === 'string'"
(click)="setOutputType('string')">String
</button>
- <button type="button" class="list-group-item list-group-item-action"
+ <button type="button" class="list-group-item list-group-item-action" [class.active]="this.outputActionAttribute.type === 'integer'"
(click)="setOutputType('integer')">
Integer
</button>
- <button type="button" class="list-group-item list-group-item-action"
+ <button type="button" class="list-group-item list-group-item-action" [class.active]="this.outputActionAttribute.type === 'boolean'"
(click)="setOutputType('boolean')">
Boolean
</button>
- <button type="button" class="list-group-item list-group-item-action"
+ <button type="button" class="list-group-item list-group-item-action" [class.active]="this.outputActionAttribute.type === 'list'"
(click)="setOutputType('list')">
List
</button>
- <button type="button" class="list-group-item list-group-item-action"
+ <button type="button" class="list-group-item list-group-item-action" [class.active]="this.outputActionAttribute.type === 'Other'"
(click)="setOutputType('Other')">
Other
</button>