2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 Fujitsu Limited. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
22 <div class="declare-list">
23 <loader [display]="isLoading" [size]="'large'" [relative]="true" [loaderDelay]="500"></loader>
24 <form class="w-sdc-form">
26 <div class="side-by-side">
27 <div class="i-sdc-form-item">
28 <label class="i-sdc-form-label required">Name</label>
29 <input class="i-sdc-form-input"
32 data-tests-id="property-name"
33 [(ngModel)]="propertyModel.name"
34 [ngModelOptions]="{ debounce: 200 }"
38 <div class="i-sdc-form-item">
39 <label class="i-sdc-form-label">Type</label>
40 <input class="i-sdc-form-input"
42 data-tests-id="property-type"
50 <div class="i-sdc-form-item">
51 <label class="i-sdc-form-label required">New Schema Type for List</label>
52 <input class="i-sdc-form-input"
55 [(ngModel)]="propertyModel.simpleType"
56 [ngModelOptions]="{ debounce: 200 }">
60 <div class="i-sdc-form-item">
61 <label class="i-sdc-form-label">Properties</label>
62 <input class="i-sdc-form-input"
65 data-tests-id="properties"
66 value="{{propertiesListString}}"
71 <div class="i-sdc-form-item">
72 <label class="i-sdc-form-label">Description</label>
73 <textarea class="i-sdc-form-textarea"
74 [pattern]="commentValidationPattern"
75 name="propertyDescription"
76 [(ngModel)]="propertyModel.description"
77 [ngModelOptions]="{ debounce: 200 }"
78 data-tests-id="property-description"