2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2020 TechMahindra
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=========================================================
21 <!--Sources Options-->
23 <div class="card sourceOptions">
24 <h5>Sources Options</h5>
25 <div class="searchBox">
26 <input class="searchText" [(ngModel)]="searchText" type="input" placeholder="Search">
28 <div class="row sourceOtionsScroll">
30 <div class="sourceOption" *ngFor="let item of option| search :searchText">
31 <!-- <input type="checkbox" class="checkbox" [(ngModel)]="checked"
32 (change)="onChange(item, $event.target.checked)">
34 <div class="custom-control custom-checkbox">
35 <input type="checkbox" class="custom-control-input" id="customControlValidation1" required>
36 <label class="custom-control-label" for="customControlValidation1">{{item.name}}</label>
41 <div class="row sourceOptionActions">
46 <button class="btn">Add to list</button>
53 <div class="card sourceList">
56 <div class="accordion sourceListItems" id="accordionExample">
58 <div class="card-header" id="headingOne">
60 <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne"
61 aria-expanded="true" aria-controls="collapseOne">
62 <div class="custom-control custom-checkbox">
63 <input type="checkbox" class="custom-control-input" id="customControlValidation1" required>
64 <label class="custom-control-label" for="customControlValidation1"></label>
66 Collapsible Group Item #1
71 <div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample">
72 <div class="card-body">
73 Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf
74 moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.
75 Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda
76 shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea
77 proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim
78 aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
83 <div class="card-header" id="headingTwo">
85 <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo"
86 aria-expanded="false" aria-controls="collapseTwo">
87 Collapsible Group Item #2
91 <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
92 <div class="card-body">
93 Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf
94 moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.
95 Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda
96 shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea
97 proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim
98 aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
103 <div class="card-header" id="headingThree">
105 <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseThree"
106 aria-expanded="false" aria-controls="collapseThree">
107 Collapsible Group Item #3
111 <div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
112 <div class="card-body">
113 Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf
114 moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.
115 Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda
116 shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea
117 proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim
118 aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
124 <!-- <div cdkDropList #doneList="cdkDropList" [cdkDropListData]="sourcesOptions" [cdkDropListConnectedTo]="[todoList]"
125 class="example-list1 sourceListScroll" (cdkDropListDropped)="drop($event)">
126 <div class="example-box1" *ngFor="let item of sourcesOptions" cdkDrag>
127 <input type="checkbox" value="item.name">
128 <mat-expansion-panel class="expansion-panel">
129 <mat-expansion-panel-header [collapsedHeight]="'23px'" [expandedHeight]="'23px'">
133 </mat-expansion-panel-header>
135 <ace-editor [(text)]=item.value [mode]="'javascript'" [autoUpdateContent]="true"
136 [durationBeforeCallback]="1000" (textChanged)="textChanged($event,item)" [theme]="'tomorrow_night_bright'"
137 #editor style="height:300px;">
139 </mat-expansion-panel>
142 <div class="row deleteSource">
144 <a type="submit" class="">Delete Source</a>