add new build script 91/116491/1
authorAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Sun, 20 Dec 2020 08:47:47 +0000 (10:47 +0200)
committerAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Sun, 20 Dec 2020 08:49:23 +0000 (10:49 +0200)
add highlighting for action output selection

Issue-ID: CCSDK-3042

Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I630776b256fa35c588fb45d69da0281b9d0aa575

cds-ui/designer-client/package.json
cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html

index 6d8c31a..6b636c4 100644 (file)
@@ -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",
index 2c61113..178f8f0 100644 (file)
                             <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>