@fluxhub/fluxhub-lib 1.0.126 → 1.0.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/fluxhub-fluxhub-lib.umd.js +143 -9
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/components/ApprovaGridComponent.html +1 -1
- package/docs/components/ComboBoxEditor.html +1 -1
- package/docs/components/CurrencyComponent.html +1 -1
- package/docs/components/DateComponent.html +1 -1
- package/docs/components/DtPick.html +1 -1
- package/docs/components/FHAutoCompleteComponent.html +1 -1
- package/docs/components/FHComboboxComponent.html +1 -1
- package/docs/components/FHConfirmComponent.html +1 -1
- package/docs/components/FHCurrencyFieldComponent.html +1 -1
- package/docs/components/FHDatePickerComponent.html +1 -1
- package/docs/components/FHGridComponent.html +1 -1
- package/docs/components/FHGridJSONComponent.html +1 -1
- package/docs/components/FHGridToolBarComponent.html +1 -1
- package/docs/components/FHListComponent.html +1 -1
- package/docs/components/FHListPick.html +1 -1
- package/docs/components/FHLogPanelComponent.html +1 -1
- package/docs/components/FHMdReader.html +1 -1
- package/docs/components/FHNumericFieldComponent.html +1 -1
- package/docs/components/FHPickListComponent.html +1 -1
- package/docs/components/FHRichText.html +26 -3
- package/docs/components/FHTimePickerComponent.html +1 -1
- package/docs/components/FHUploadComponent.html +1 -1
- package/docs/components/FHUploadPanelComponent.html +1 -1
- package/docs/components/FHUserFieldComponent.html +1 -1
- package/docs/components/FHUserPickerComponent.html +1 -1
- package/docs/components/FHWinComboSelect.html +1 -1
- package/docs/components/FSInput.html +1 -1
- package/docs/components/FSResult.html +1 -1
- package/docs/components/FormBuilderComponent.html +920 -0
- package/docs/components/NumericEditorComponent.html +1 -1
- package/docs/components/QGParam.html +1 -1
- package/docs/components/QGResult.html +1 -1
- package/docs/components/QParam.html +1 -1
- package/docs/components/QResult.html +1 -1
- package/docs/components/TextAreaEditor.html +1 -1
- package/docs/components/WinAskNumberComponent.html +1 -1
- package/docs/components/WinAskTextBigComponent.html +1 -1
- package/docs/components/WinAskTextComponent.html +1 -1
- package/docs/components/WinOutputComponent.html +1 -1
- package/docs/components/WinWait.html +1 -1
- package/docs/components/win_assegna.html +1 -1
- package/docs/components/win_commenti.html +1 -1
- package/docs/components/win_commento_sel_notif.html +1 -1
- package/docs/components/win_conferma.html +1 -1
- package/docs/components/win_grid_help.html +1 -1
- package/docs/components/win_info_doc.html +1 -1
- package/docs/components/win_log.html +1 -1
- package/docs/components/win_mappa.html +1 -1
- package/docs/components/win_recupera_doc.html +1 -1
- package/docs/components/win_riassegna_select_level.html +1 -1
- package/docs/components/win_riassegna_select_user.html +1 -1
- package/docs/components/win_salva_annulla.html +1 -1
- package/docs/components/win_select_canale.html +1 -1
- package/docs/components/win_select_level.html +1 -1
- package/docs/components/win_time_slider.html +1 -1
- package/docs/components/win_uploads.html +1 -1
- package/docs/components/wkf_header_bar.html +1 -1
- package/docs/coverage.html +17 -1
- package/docs/dependencies.html +2 -2
- package/docs/graph/dependencies.svg +566 -548
- package/docs/js/menu-wc.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/modules/FluxhubLibModule/dependencies.svg +566 -548
- package/docs/modules/FluxhubLibModule.html +572 -548
- package/docs/overview.html +567 -549
- package/esm2015/fluxhub-fluxhub-lib.js +2 -2
- package/esm2015/lib/controls/fhrichtext.js +6 -1
- package/esm2015/lib/fluxhub-lib.module.js +6 -4
- package/esm2015/lib/form_builder/form_builder.js +242 -0
- package/esm2015/public_api.js +2 -1
- package/esm5/fluxhub-fluxhub-lib.js +2 -2
- package/esm5/lib/controls/fhrichtext.js +6 -2
- package/esm5/lib/fluxhub-lib.module.js +6 -4
- package/esm5/lib/form_builder/form_builder.js +148 -0
- package/esm5/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +234 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +139 -7
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhrichtext.d.ts +1 -0
- package/lib/form_builder/form_builder.d.ts +24 -0
- package/package.json +2 -1
- package/public_api.d.ts +1 -0
|
@@ -0,0 +1,920 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>fluxhub-lib</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
<link rel="stylesheet" href="../styles/Vagrant.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
|
|
16
|
+
<div class="navbar navbar-default navbar-fixed-top visible-xs">
|
|
17
|
+
<a href="../" class="navbar-brand">fluxhub-lib</a>
|
|
18
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
22
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div class="container-fluid main">
|
|
26
|
+
<div class="row main">
|
|
27
|
+
<div class="hidden-xs menu">
|
|
28
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
29
|
+
</div>
|
|
30
|
+
<!-- START CONTENT -->
|
|
31
|
+
<div class="content component">
|
|
32
|
+
<div class="content-data">
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<ol class="breadcrumb">
|
|
38
|
+
<li>Components</li>
|
|
39
|
+
<li>FormBuilderComponent</li>
|
|
40
|
+
</ol>
|
|
41
|
+
|
|
42
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
43
|
+
<li class="active">
|
|
44
|
+
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a>
|
|
45
|
+
</li>
|
|
46
|
+
<li >
|
|
47
|
+
<a href="#styleData" role="tab" id="styleData-tab" data-toggle="tab" data-link="style">Styles</a>
|
|
48
|
+
</li>
|
|
49
|
+
<li >
|
|
50
|
+
<a href="#tree" role="tab" id="tree-tab" data-toggle="tab" data-link="dom-tree">DOM Tree</a>
|
|
51
|
+
</li>
|
|
52
|
+
</ul>
|
|
53
|
+
|
|
54
|
+
<div class="tab-content">
|
|
55
|
+
<div class="tab-pane fade active in" id="c-info"><p class="comment">
|
|
56
|
+
<h3>File</h3>
|
|
57
|
+
</p>
|
|
58
|
+
<p class="comment">
|
|
59
|
+
<code>projects/fluxhub-lib/src/lib/form_builder/form_builder.ts</code>
|
|
60
|
+
</p>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
<p class="comment">
|
|
65
|
+
<h3>Implements</h3>
|
|
66
|
+
</p>
|
|
67
|
+
<p class="comment">
|
|
68
|
+
<code><a href="https://angular.io/api/core/OnInit" target="_blank" >OnInit</a></code>
|
|
69
|
+
</p>
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
<section>
|
|
73
|
+
<h3>Metadata</h3>
|
|
74
|
+
<table class="table table-sm table-hover">
|
|
75
|
+
<tbody>
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
<tr>
|
|
88
|
+
<td class="col-md-3">selector</td>
|
|
89
|
+
<td class="col-md-9"><code>FHFormBuilder</code></td>
|
|
90
|
+
</tr>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<tr>
|
|
94
|
+
<td class="col-md-3">styles</td>
|
|
95
|
+
<td class="col-md-9"><code>
|
|
96
|
+
|
|
97
|
+
</code></td>
|
|
98
|
+
</tr>
|
|
99
|
+
|
|
100
|
+
<tr>
|
|
101
|
+
<td class="col-md-3">template</td>
|
|
102
|
+
<td class="col-md-9"><pre class="line-numbers"><code class="language-html"><div fxLayout="row" style="width: 100%;height:100%">
|
|
103
|
+
<mat-toolbar color="primary" style="max-width: 200px;height:100%;" >
|
|
104
|
+
<mat-toolbar-row (click)="add_component(1)">
|
|
105
|
+
<mat-icon>text_fields</mat-icon>&nbsp;&nbsp;&nbsp;<span>Text Field</span>
|
|
106
|
+
</mat-toolbar-row>
|
|
107
|
+
<mat-toolbar-row (click)="add_component(2)">
|
|
108
|
+
<mat-icon>filter_1</mat-icon>&nbsp;&nbsp;&nbsp;<span>Number</span>
|
|
109
|
+
</mat-toolbar-row>
|
|
110
|
+
<mat-toolbar-row (click)="add_component(3)">
|
|
111
|
+
<mat-icon>filter_none</mat-icon>&nbsp;&nbsp;&nbsp;<span>Text Area</span>
|
|
112
|
+
</mat-toolbar-row>
|
|
113
|
+
<mat-toolbar-row (click)="add_component(4)">
|
|
114
|
+
<mat-icon>check_box</mat-icon>&nbsp;&nbsp;&nbsp;<span>Check Box</span>
|
|
115
|
+
</mat-toolbar-row>
|
|
116
|
+
<mat-toolbar-row (click)="add_component(5)">
|
|
117
|
+
<mat-icon>radio_button_checked</mat-icon>&nbsp;&nbsp;&nbsp;<span>Radio</span>
|
|
118
|
+
</mat-toolbar-row>
|
|
119
|
+
<mat-toolbar-row (click)="add_component(6)">
|
|
120
|
+
<mat-icon>dehaze</mat-icon>&nbsp;&nbsp;&nbsp;<span>Select</span>
|
|
121
|
+
</mat-toolbar-row>
|
|
122
|
+
<mat-toolbar-row (click)="add_component(7)">
|
|
123
|
+
<mat-icon>today</mat-icon>&nbsp;&nbsp;&nbsp;<span>Date</span>
|
|
124
|
+
</mat-toolbar-row>
|
|
125
|
+
|
|
126
|
+
</mat-toolbar>
|
|
127
|
+
<div fxLayout="column" fxFlex="100" style="width:100%;border:1px solid #004040;height:100%;overflow:auto;background-color: #a6aec4">
|
|
128
|
+
<div fxLayout="row" style="width:90%;width:100%;height:5000px;">
|
|
129
|
+
|
|
130
|
+
<ul [dragula]='"bag-items"' [(dragulaModel)]='items' style="width:100%;">
|
|
131
|
+
<li fxLayout="row" *ngFor="let item of items" [ngStyle]="setStyles(item.uiid)" fxLayoutAlign="start center">
|
|
132
|
+
<div style="width:100%">
|
|
133
|
+
|
|
134
|
+
<div style="width: 90%">
|
|
135
|
+
<mat-form-field *ngIf="item.type=='text_field'" style="max-width: 350px" >
|
|
136
|
+
<input matInput [placeholder]="item.label" [required]="item.required" type="text" [(ngModel)]="item.default_value">
|
|
137
|
+
</mat-form-field>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
<mat-form-field *ngIf="item.type=='numeric_field'" style="max-width: 220px" >
|
|
141
|
+
<input matInput [placeholder]="item.label" [required]="item.required" type="number" [(ngModel)]="item.default_value">
|
|
142
|
+
</mat-form-field>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<FHRichText *ngIf="item.type=='textarea'" [label]="item.label" [required]="item.required" [(ngModel)]="item.default_value" height="15'" enabled="false"></FHRichText>
|
|
146
|
+
|
|
147
|
+
<mat-checkbox *ngIf="item.type=='checkbox'" [required]="item.required" [(ngModel)]="item.default_value"><b>{{item.label}}</b></mat-checkbox>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<section class="custom-section" *ngIf="item.type=='radiobutton'" >
|
|
151
|
+
<label class="custom-margin">{{item.label}}:</label>
|
|
152
|
+
<mat-radio-group [(ngModel)]="item.default_value" [required]="item.required" >
|
|
153
|
+
<mat-radio-button *ngFor="let opt of item.opts" class="custom-margin" value="{{opt}}"><b>{{opt}}</b></mat-radio-button>
|
|
154
|
+
</mat-radio-group>
|
|
155
|
+
</section>
|
|
156
|
+
|
|
157
|
+
<mat-form-field *ngIf="item.type=='select'" style="max-width: 400px" >
|
|
158
|
+
<mat-select [required]="item.required" [placeholder]="item.label" [(ngModel)]="item.default_value">
|
|
159
|
+
<mat-option *ngFor="let opt of item.opts" value="{{opt}}">{{opt}}</mat-option>
|
|
160
|
+
</mat-select>
|
|
161
|
+
</mat-form-field>
|
|
162
|
+
<div style="width: 220px" *ngIf="item.type=='date_field'">
|
|
163
|
+
<FHDatePicker [required]="item.required" [(ngModel)]="item.default_value" [label]="item.label" ></FHDatePicker>&nbsp;&nbsp;
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
</div></div>
|
|
167
|
+
<div fxLayout="column" style="width:70px" fxLayoutGap="10px">
|
|
168
|
+
<button mat-raised-button (click)="edit_item(item.uiid)" color="primary"><mat-icon>edit</mat-icon></button>
|
|
169
|
+
<button mat-raised-button (click)="del_item(item.uiid)" color="warn"><mat-icon>delete</mat-icon></button>
|
|
170
|
+
</div>
|
|
171
|
+
</li>
|
|
172
|
+
</ul>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
</div>
|
|
176
|
+
<mat-form-field [hidden]="true">
|
|
177
|
+
<input matInput #bottoml>
|
|
178
|
+
</mat-form-field>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
<div style="width:400px;height:100%;background-color: #3F51B5" fxLayoutAlign="start center" fxLayout="column" *ngIf="edit_obj!=null">
|
|
182
|
+
<br><br>
|
|
183
|
+
<mat-card style="width: 96%">
|
|
184
|
+
<mat-card-title>Properties</mat-card-title>
|
|
185
|
+
<mat-card-content>
|
|
186
|
+
<div fxLayout="column">
|
|
187
|
+
<mat-form-field>
|
|
188
|
+
<input matInput placeholder="Label" type="text" [(ngModel)]="edit_obj.label">
|
|
189
|
+
</mat-form-field>
|
|
190
|
+
<mat-checkbox [(ngModel)]="edit_obj.required">Required</mat-checkbox>
|
|
191
|
+
|
|
192
|
+
<mat-form-field *ngIf="edit_obj.type=='numeric_field_tobe'">
|
|
193
|
+
<input matInput placeholder="Decimal Places" type="text" [(ngModel)]="edit_obj.decimali">
|
|
194
|
+
</mat-form-field>
|
|
195
|
+
<mat-form-field *ngIf="edit_obj.type=='text_field'">
|
|
196
|
+
<input matInput placeholder="Default Value" type="text" [(ngModel)]="edit_obj.default_value" >
|
|
197
|
+
</mat-form-field>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
<mat-checkbox *ngIf="edit_obj.type=='checkbox'" [(ngModel)]="edit_obj.default_value">Default Value</mat-checkbox>
|
|
201
|
+
|
|
202
|
+
<mat-form-field *ngIf="edit_obj.type=='radiobutton' || edit_obj.type=='select'">
|
|
203
|
+
<input matInput placeholder="Values" type="text" [(ngModel)]="radio_values" (ngModelChange)="edit_obj.opts=$event.split(',');" >
|
|
204
|
+
</mat-form-field>
|
|
205
|
+
<mat-form-field *ngIf="edit_obj.type=='radiobutton' || edit_obj.type=='select'">
|
|
206
|
+
<input matInput placeholder="Default Value" type="text" [(ngModel)]="edit_obj.default_value" >
|
|
207
|
+
</mat-form-field>
|
|
208
|
+
|
|
209
|
+
<button mat-raised-button (click)="ok_panel()" color="primary">OK</button>
|
|
210
|
+
</div></mat-card-content>
|
|
211
|
+
</mat-card>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</code></pre></td>
|
|
215
|
+
</tr>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</tbody>
|
|
226
|
+
</table>
|
|
227
|
+
</section>
|
|
228
|
+
|
|
229
|
+
<section>
|
|
230
|
+
<h3 id="index">Index</h3>
|
|
231
|
+
<table class="table table-sm table-bordered index-table">
|
|
232
|
+
<tbody>
|
|
233
|
+
<tr>
|
|
234
|
+
<td class="col-md-4">
|
|
235
|
+
<h6><b>Properties</b></h6>
|
|
236
|
+
</td>
|
|
237
|
+
</tr>
|
|
238
|
+
<tr>
|
|
239
|
+
<td class="col-md-4">
|
|
240
|
+
<ul class="index-list">
|
|
241
|
+
<li>
|
|
242
|
+
<a href="#bottoml">bottoml</a>
|
|
243
|
+
</li>
|
|
244
|
+
<li>
|
|
245
|
+
<a href="#edit_obj">edit_obj</a>
|
|
246
|
+
</li>
|
|
247
|
+
<li>
|
|
248
|
+
<a href="#items">items</a>
|
|
249
|
+
</li>
|
|
250
|
+
<li>
|
|
251
|
+
<a href="#radio_values">radio_values</a>
|
|
252
|
+
</li>
|
|
253
|
+
</ul>
|
|
254
|
+
</td>
|
|
255
|
+
</tr>
|
|
256
|
+
|
|
257
|
+
<tr>
|
|
258
|
+
<td class="col-md-4">
|
|
259
|
+
<h6><b>Methods</b></h6>
|
|
260
|
+
</td>
|
|
261
|
+
</tr>
|
|
262
|
+
<tr>
|
|
263
|
+
<td class="col-md-4">
|
|
264
|
+
<ul class="index-list">
|
|
265
|
+
<li>
|
|
266
|
+
<a href="#add_component">add_component</a>
|
|
267
|
+
</li>
|
|
268
|
+
<li>
|
|
269
|
+
<a href="#del_item">del_item</a>
|
|
270
|
+
</li>
|
|
271
|
+
<li>
|
|
272
|
+
<a href="#edit_item">edit_item</a>
|
|
273
|
+
</li>
|
|
274
|
+
<li>
|
|
275
|
+
<a href="#ngOnInit">ngOnInit</a>
|
|
276
|
+
</li>
|
|
277
|
+
<li>
|
|
278
|
+
<a href="#ok_panel">ok_panel</a>
|
|
279
|
+
</li>
|
|
280
|
+
<li>
|
|
281
|
+
<a href="#setStyles">setStyles</a>
|
|
282
|
+
</li>
|
|
283
|
+
</ul>
|
|
284
|
+
</td>
|
|
285
|
+
</tr>
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
</tbody>
|
|
292
|
+
</table>
|
|
293
|
+
</section>
|
|
294
|
+
|
|
295
|
+
<section>
|
|
296
|
+
<h3 id="constructor">Constructor</h3>
|
|
297
|
+
<table class="table table-sm table-bordered">
|
|
298
|
+
<tbody>
|
|
299
|
+
<tr>
|
|
300
|
+
<td class="col-md-4">
|
|
301
|
+
<code>constructor(fhutility: <a href="../injectables/UtilityService.html">UtilityService</a>, _dialog: MatDialog)</code>
|
|
302
|
+
</td>
|
|
303
|
+
</tr>
|
|
304
|
+
|
|
305
|
+
<tr>
|
|
306
|
+
<td class="col-md-4">
|
|
307
|
+
<div>
|
|
308
|
+
<b>Parameters :</b>
|
|
309
|
+
<table class="params">
|
|
310
|
+
<thead>
|
|
311
|
+
<tr>
|
|
312
|
+
<td>Name</td>
|
|
313
|
+
<td>Type</td>
|
|
314
|
+
<td>Optional</td>
|
|
315
|
+
</tr>
|
|
316
|
+
</thead>
|
|
317
|
+
<tbody>
|
|
318
|
+
<tr>
|
|
319
|
+
<td>fhutility</td>
|
|
320
|
+
|
|
321
|
+
<td>
|
|
322
|
+
<code><a href="../injectables/UtilityService.html" target="_self" >UtilityService</a></code>
|
|
323
|
+
</td>
|
|
324
|
+
|
|
325
|
+
<td>
|
|
326
|
+
No
|
|
327
|
+
</td>
|
|
328
|
+
|
|
329
|
+
</tr>
|
|
330
|
+
<tr>
|
|
331
|
+
<td>_dialog</td>
|
|
332
|
+
|
|
333
|
+
<td>
|
|
334
|
+
<code>MatDialog</code>
|
|
335
|
+
</td>
|
|
336
|
+
|
|
337
|
+
<td>
|
|
338
|
+
No
|
|
339
|
+
</td>
|
|
340
|
+
|
|
341
|
+
</tr>
|
|
342
|
+
</tbody>
|
|
343
|
+
</table>
|
|
344
|
+
</div>
|
|
345
|
+
</td>
|
|
346
|
+
</tr>
|
|
347
|
+
</tbody>
|
|
348
|
+
</table>
|
|
349
|
+
</section>
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
<section>
|
|
356
|
+
|
|
357
|
+
<h3 id="methods">
|
|
358
|
+
Methods
|
|
359
|
+
</h3>
|
|
360
|
+
<table class="table table-sm table-bordered">
|
|
361
|
+
<tbody>
|
|
362
|
+
<tr>
|
|
363
|
+
<td class="col-md-4">
|
|
364
|
+
<a name="add_component"></a>
|
|
365
|
+
<span class="name">
|
|
366
|
+
<b>
|
|
367
|
+
add_component
|
|
368
|
+
</b>
|
|
369
|
+
<a href="#add_component"><span class="icon ion-ios-link"></span></a>
|
|
370
|
+
</span>
|
|
371
|
+
</td>
|
|
372
|
+
</tr>
|
|
373
|
+
<tr>
|
|
374
|
+
<td class="col-md-4">
|
|
375
|
+
<code>add_component(o)</code>
|
|
376
|
+
</td>
|
|
377
|
+
</tr>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
<tr>
|
|
383
|
+
<td class="col-md-4">
|
|
384
|
+
|
|
385
|
+
<div class="io-description">
|
|
386
|
+
<b>Parameters :</b>
|
|
387
|
+
<table class="params">
|
|
388
|
+
<thead>
|
|
389
|
+
<tr>
|
|
390
|
+
<td>Name</td>
|
|
391
|
+
<td>Optional</td>
|
|
392
|
+
</tr>
|
|
393
|
+
</thead>
|
|
394
|
+
<tbody>
|
|
395
|
+
<tr>
|
|
396
|
+
<td>o</td>
|
|
397
|
+
|
|
398
|
+
<td>
|
|
399
|
+
No
|
|
400
|
+
</td>
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
</tr>
|
|
404
|
+
</tbody>
|
|
405
|
+
</table>
|
|
406
|
+
</div>
|
|
407
|
+
<div>
|
|
408
|
+
</div>
|
|
409
|
+
<div class="io-description">
|
|
410
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
411
|
+
|
|
412
|
+
</div>
|
|
413
|
+
<div class="io-description">
|
|
414
|
+
|
|
415
|
+
</div>
|
|
416
|
+
</td>
|
|
417
|
+
</tr>
|
|
418
|
+
</tbody>
|
|
419
|
+
</table>
|
|
420
|
+
<table class="table table-sm table-bordered">
|
|
421
|
+
<tbody>
|
|
422
|
+
<tr>
|
|
423
|
+
<td class="col-md-4">
|
|
424
|
+
<a name="del_item"></a>
|
|
425
|
+
<span class="name">
|
|
426
|
+
<b>
|
|
427
|
+
del_item
|
|
428
|
+
</b>
|
|
429
|
+
<a href="#del_item"><span class="icon ion-ios-link"></span></a>
|
|
430
|
+
</span>
|
|
431
|
+
</td>
|
|
432
|
+
</tr>
|
|
433
|
+
<tr>
|
|
434
|
+
<td class="col-md-4">
|
|
435
|
+
<code>del_item(uiid_obj)</code>
|
|
436
|
+
</td>
|
|
437
|
+
</tr>
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
<tr>
|
|
443
|
+
<td class="col-md-4">
|
|
444
|
+
|
|
445
|
+
<div class="io-description">
|
|
446
|
+
<b>Parameters :</b>
|
|
447
|
+
<table class="params">
|
|
448
|
+
<thead>
|
|
449
|
+
<tr>
|
|
450
|
+
<td>Name</td>
|
|
451
|
+
<td>Optional</td>
|
|
452
|
+
</tr>
|
|
453
|
+
</thead>
|
|
454
|
+
<tbody>
|
|
455
|
+
<tr>
|
|
456
|
+
<td>uiid_obj</td>
|
|
457
|
+
|
|
458
|
+
<td>
|
|
459
|
+
No
|
|
460
|
+
</td>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
</tr>
|
|
464
|
+
</tbody>
|
|
465
|
+
</table>
|
|
466
|
+
</div>
|
|
467
|
+
<div>
|
|
468
|
+
</div>
|
|
469
|
+
<div class="io-description">
|
|
470
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
471
|
+
|
|
472
|
+
</div>
|
|
473
|
+
<div class="io-description">
|
|
474
|
+
|
|
475
|
+
</div>
|
|
476
|
+
</td>
|
|
477
|
+
</tr>
|
|
478
|
+
</tbody>
|
|
479
|
+
</table>
|
|
480
|
+
<table class="table table-sm table-bordered">
|
|
481
|
+
<tbody>
|
|
482
|
+
<tr>
|
|
483
|
+
<td class="col-md-4">
|
|
484
|
+
<a name="edit_item"></a>
|
|
485
|
+
<span class="name">
|
|
486
|
+
<b>
|
|
487
|
+
edit_item
|
|
488
|
+
</b>
|
|
489
|
+
<a href="#edit_item"><span class="icon ion-ios-link"></span></a>
|
|
490
|
+
</span>
|
|
491
|
+
</td>
|
|
492
|
+
</tr>
|
|
493
|
+
<tr>
|
|
494
|
+
<td class="col-md-4">
|
|
495
|
+
<code>edit_item(uiid_obj)</code>
|
|
496
|
+
</td>
|
|
497
|
+
</tr>
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
<tr>
|
|
503
|
+
<td class="col-md-4">
|
|
504
|
+
|
|
505
|
+
<div class="io-description">
|
|
506
|
+
<b>Parameters :</b>
|
|
507
|
+
<table class="params">
|
|
508
|
+
<thead>
|
|
509
|
+
<tr>
|
|
510
|
+
<td>Name</td>
|
|
511
|
+
<td>Optional</td>
|
|
512
|
+
</tr>
|
|
513
|
+
</thead>
|
|
514
|
+
<tbody>
|
|
515
|
+
<tr>
|
|
516
|
+
<td>uiid_obj</td>
|
|
517
|
+
|
|
518
|
+
<td>
|
|
519
|
+
No
|
|
520
|
+
</td>
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
</tr>
|
|
524
|
+
</tbody>
|
|
525
|
+
</table>
|
|
526
|
+
</div>
|
|
527
|
+
<div>
|
|
528
|
+
</div>
|
|
529
|
+
<div class="io-description">
|
|
530
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
531
|
+
|
|
532
|
+
</div>
|
|
533
|
+
<div class="io-description">
|
|
534
|
+
|
|
535
|
+
</div>
|
|
536
|
+
</td>
|
|
537
|
+
</tr>
|
|
538
|
+
</tbody>
|
|
539
|
+
</table>
|
|
540
|
+
<table class="table table-sm table-bordered">
|
|
541
|
+
<tbody>
|
|
542
|
+
<tr>
|
|
543
|
+
<td class="col-md-4">
|
|
544
|
+
<a name="ngOnInit"></a>
|
|
545
|
+
<span class="name">
|
|
546
|
+
<b>
|
|
547
|
+
ngOnInit
|
|
548
|
+
</b>
|
|
549
|
+
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
|
|
550
|
+
</span>
|
|
551
|
+
</td>
|
|
552
|
+
</tr>
|
|
553
|
+
<tr>
|
|
554
|
+
<td class="col-md-4">
|
|
555
|
+
<code>ngOnInit()</code>
|
|
556
|
+
</td>
|
|
557
|
+
</tr>
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
<tr>
|
|
563
|
+
<td class="col-md-4">
|
|
564
|
+
|
|
565
|
+
<div class="io-description">
|
|
566
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
567
|
+
|
|
568
|
+
</div>
|
|
569
|
+
</td>
|
|
570
|
+
</tr>
|
|
571
|
+
</tbody>
|
|
572
|
+
</table>
|
|
573
|
+
<table class="table table-sm table-bordered">
|
|
574
|
+
<tbody>
|
|
575
|
+
<tr>
|
|
576
|
+
<td class="col-md-4">
|
|
577
|
+
<a name="ok_panel"></a>
|
|
578
|
+
<span class="name">
|
|
579
|
+
<b>
|
|
580
|
+
ok_panel
|
|
581
|
+
</b>
|
|
582
|
+
<a href="#ok_panel"><span class="icon ion-ios-link"></span></a>
|
|
583
|
+
</span>
|
|
584
|
+
</td>
|
|
585
|
+
</tr>
|
|
586
|
+
<tr>
|
|
587
|
+
<td class="col-md-4">
|
|
588
|
+
<code>ok_panel()</code>
|
|
589
|
+
</td>
|
|
590
|
+
</tr>
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
<tr>
|
|
596
|
+
<td class="col-md-4">
|
|
597
|
+
|
|
598
|
+
<div class="io-description">
|
|
599
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
600
|
+
|
|
601
|
+
</div>
|
|
602
|
+
</td>
|
|
603
|
+
</tr>
|
|
604
|
+
</tbody>
|
|
605
|
+
</table>
|
|
606
|
+
<table class="table table-sm table-bordered">
|
|
607
|
+
<tbody>
|
|
608
|
+
<tr>
|
|
609
|
+
<td class="col-md-4">
|
|
610
|
+
<a name="setStyles"></a>
|
|
611
|
+
<span class="name">
|
|
612
|
+
<b>
|
|
613
|
+
setStyles
|
|
614
|
+
</b>
|
|
615
|
+
<a href="#setStyles"><span class="icon ion-ios-link"></span></a>
|
|
616
|
+
</span>
|
|
617
|
+
</td>
|
|
618
|
+
</tr>
|
|
619
|
+
<tr>
|
|
620
|
+
<td class="col-md-4">
|
|
621
|
+
<code>setStyles(o)</code>
|
|
622
|
+
</td>
|
|
623
|
+
</tr>
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
<tr>
|
|
629
|
+
<td class="col-md-4">
|
|
630
|
+
|
|
631
|
+
<div class="io-description">
|
|
632
|
+
<b>Parameters :</b>
|
|
633
|
+
<table class="params">
|
|
634
|
+
<thead>
|
|
635
|
+
<tr>
|
|
636
|
+
<td>Name</td>
|
|
637
|
+
<td>Optional</td>
|
|
638
|
+
</tr>
|
|
639
|
+
</thead>
|
|
640
|
+
<tbody>
|
|
641
|
+
<tr>
|
|
642
|
+
<td>o</td>
|
|
643
|
+
|
|
644
|
+
<td>
|
|
645
|
+
No
|
|
646
|
+
</td>
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
</tr>
|
|
650
|
+
</tbody>
|
|
651
|
+
</table>
|
|
652
|
+
</div>
|
|
653
|
+
<div>
|
|
654
|
+
</div>
|
|
655
|
+
<div class="io-description">
|
|
656
|
+
<b>Returns : </b> <code><a href="../classes/dt.html" target="_self" >{ width: string; padding: string; margin: string; border: string; 'background-color': string; }</a></code>
|
|
657
|
+
|
|
658
|
+
</div>
|
|
659
|
+
<div class="io-description">
|
|
660
|
+
|
|
661
|
+
</div>
|
|
662
|
+
</td>
|
|
663
|
+
</tr>
|
|
664
|
+
</tbody>
|
|
665
|
+
</table>
|
|
666
|
+
</section>
|
|
667
|
+
|
|
668
|
+
<section>
|
|
669
|
+
|
|
670
|
+
<h3 id="inputs">
|
|
671
|
+
Properties
|
|
672
|
+
</h3>
|
|
673
|
+
<table class="table table-sm table-bordered">
|
|
674
|
+
<tbody>
|
|
675
|
+
<tr>
|
|
676
|
+
<td class="col-md-4">
|
|
677
|
+
<a name="bottoml"></a>
|
|
678
|
+
<span class="name">
|
|
679
|
+
<b>
|
|
680
|
+
bottoml
|
|
681
|
+
</b>
|
|
682
|
+
<a href="#bottoml"><span class="icon ion-ios-link"></span></a>
|
|
683
|
+
</span>
|
|
684
|
+
</td>
|
|
685
|
+
</tr>
|
|
686
|
+
<tr>
|
|
687
|
+
<td class="col-md-4">
|
|
688
|
+
<code>bottoml: <code><a href="https://angular.io/api/core/ElementRef" target="_blank" >ElementRef</a></code>
|
|
689
|
+
</code>
|
|
690
|
+
</td>
|
|
691
|
+
</tr>
|
|
692
|
+
<tr>
|
|
693
|
+
<td class="col-md-4">
|
|
694
|
+
<i>Type : </i> <code><a href="https://angular.io/api/core/ElementRef" target="_blank" >ElementRef</a></code>
|
|
695
|
+
|
|
696
|
+
</td>
|
|
697
|
+
</tr>
|
|
698
|
+
<tr>
|
|
699
|
+
<td class="col-md-4">
|
|
700
|
+
<b>Decorators : </b>
|
|
701
|
+
<br />
|
|
702
|
+
<code>
|
|
703
|
+
@ViewChild('bottoml')<br />
|
|
704
|
+
</code>
|
|
705
|
+
</td>
|
|
706
|
+
</tr>
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
</tbody>
|
|
710
|
+
</table>
|
|
711
|
+
<table class="table table-sm table-bordered">
|
|
712
|
+
<tbody>
|
|
713
|
+
<tr>
|
|
714
|
+
<td class="col-md-4">
|
|
715
|
+
<a name="edit_obj"></a>
|
|
716
|
+
<span class="name">
|
|
717
|
+
<b>
|
|
718
|
+
edit_obj
|
|
719
|
+
</b>
|
|
720
|
+
<a href="#edit_obj"><span class="icon ion-ios-link"></span></a>
|
|
721
|
+
</span>
|
|
722
|
+
</td>
|
|
723
|
+
</tr>
|
|
724
|
+
<tr>
|
|
725
|
+
<td class="col-md-4">
|
|
726
|
+
<code>edit_obj: <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
727
|
+
</code>
|
|
728
|
+
</td>
|
|
729
|
+
</tr>
|
|
730
|
+
<tr>
|
|
731
|
+
<td class="col-md-4">
|
|
732
|
+
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
733
|
+
|
|
734
|
+
</td>
|
|
735
|
+
</tr>
|
|
736
|
+
<tr>
|
|
737
|
+
<td class="col-md-4">
|
|
738
|
+
<i>Default value : </i><code>null</code>
|
|
739
|
+
</td>
|
|
740
|
+
</tr>
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
</tbody>
|
|
744
|
+
</table>
|
|
745
|
+
<table class="table table-sm table-bordered">
|
|
746
|
+
<tbody>
|
|
747
|
+
<tr>
|
|
748
|
+
<td class="col-md-4">
|
|
749
|
+
<a name="items"></a>
|
|
750
|
+
<span class="name">
|
|
751
|
+
<b>
|
|
752
|
+
items
|
|
753
|
+
</b>
|
|
754
|
+
<a href="#items"><span class="icon ion-ios-link"></span></a>
|
|
755
|
+
</span>
|
|
756
|
+
</td>
|
|
757
|
+
</tr>
|
|
758
|
+
<tr>
|
|
759
|
+
<td class="col-md-4">
|
|
760
|
+
<code>items: <code>[]</code>
|
|
761
|
+
</code>
|
|
762
|
+
</td>
|
|
763
|
+
</tr>
|
|
764
|
+
<tr>
|
|
765
|
+
<td class="col-md-4">
|
|
766
|
+
<i>Type : </i> <code>[]</code>
|
|
767
|
+
|
|
768
|
+
</td>
|
|
769
|
+
</tr>
|
|
770
|
+
<tr>
|
|
771
|
+
<td class="col-md-4">
|
|
772
|
+
<i>Default value : </i><code>[]</code>
|
|
773
|
+
</td>
|
|
774
|
+
</tr>
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
</tbody>
|
|
778
|
+
</table>
|
|
779
|
+
<table class="table table-sm table-bordered">
|
|
780
|
+
<tbody>
|
|
781
|
+
<tr>
|
|
782
|
+
<td class="col-md-4">
|
|
783
|
+
<a name="radio_values"></a>
|
|
784
|
+
<span class="name">
|
|
785
|
+
<b>
|
|
786
|
+
radio_values
|
|
787
|
+
</b>
|
|
788
|
+
<a href="#radio_values"><span class="icon ion-ios-link"></span></a>
|
|
789
|
+
</span>
|
|
790
|
+
</td>
|
|
791
|
+
</tr>
|
|
792
|
+
<tr>
|
|
793
|
+
<td class="col-md-4">
|
|
794
|
+
<code>radio_values: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
795
|
+
</code>
|
|
796
|
+
</td>
|
|
797
|
+
</tr>
|
|
798
|
+
<tr>
|
|
799
|
+
<td class="col-md-4">
|
|
800
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
801
|
+
|
|
802
|
+
</td>
|
|
803
|
+
</tr>
|
|
804
|
+
<tr>
|
|
805
|
+
<td class="col-md-4">
|
|
806
|
+
<i>Default value : </i><code>''</code>
|
|
807
|
+
</td>
|
|
808
|
+
</tr>
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
</tbody>
|
|
812
|
+
</table>
|
|
813
|
+
</section>
|
|
814
|
+
|
|
815
|
+
</div>
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
<div class="tab-pane fade " id="c-styleData">
|
|
821
|
+
<pre class="line-numbers"><code class="language-scss">
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
</code></pre>
|
|
825
|
+
</div>
|
|
826
|
+
|
|
827
|
+
<div class="tab-pane fade " id="c-tree">
|
|
828
|
+
<div id="tree-container"></div>
|
|
829
|
+
<div class="tree-legend">
|
|
830
|
+
<div class="title">
|
|
831
|
+
<b>Legend</b>
|
|
832
|
+
</div>
|
|
833
|
+
<div>
|
|
834
|
+
<div class="color htmlelement"></div><span>Html element</span>
|
|
835
|
+
</div>
|
|
836
|
+
<div>
|
|
837
|
+
<div class="color component"></div><span>Component</span>
|
|
838
|
+
</div>
|
|
839
|
+
<div>
|
|
840
|
+
<div class="color directive"></div><span>Html element with directive</span>
|
|
841
|
+
</div>
|
|
842
|
+
</div>
|
|
843
|
+
</div>
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
</div>
|
|
847
|
+
|
|
848
|
+
<script src="../js/libs/vis.min.js"></script>
|
|
849
|
+
<script src="../js/libs/htmlparser.js"></script>
|
|
850
|
+
<script src="../js/libs/deep-iterator.js"></script>
|
|
851
|
+
<script>
|
|
852
|
+
var COMPONENT_TEMPLATE = '<div><div fxLayout="row" style="width: 100%;height:100%"> <mat-toolbar color="primary" style="max-width: 200px;height:100%;" > <mat-toolbar-row (click)="add_component(1)"> <mat-icon>text_fields</mat-icon> <span>Text Field</span> </mat-toolbar-row> <mat-toolbar-row (click)="add_component(2)"> <mat-icon>filter_1</mat-icon> <span>Number</span> </mat-toolbar-row> <mat-toolbar-row (click)="add_component(3)"> <mat-icon>filter_none</mat-icon> <span>Text Area</span> </mat-toolbar-row> <mat-toolbar-row (click)="add_component(4)"> <mat-icon>check_box</mat-icon> <span>Check Box</span> </mat-toolbar-row> <mat-toolbar-row (click)="add_component(5)"> <mat-icon>radio_button_checked</mat-icon> <span>Radio</span> </mat-toolbar-row> <mat-toolbar-row (click)="add_component(6)"> <mat-icon>dehaze</mat-icon> <span>Select</span> </mat-toolbar-row> <mat-toolbar-row (click)="add_component(7)"> <mat-icon>today</mat-icon> <span>Date</span> </mat-toolbar-row> </mat-toolbar> <div fxLayout="column" fxFlex="100" style="width:100%;border:1px solid #004040;height:100%;overflow:auto;background-color: #a6aec4"> <div fxLayout="row" style="width:90%;width:100%;height:5000px;"> <ul [dragula]=\'"bag-items"\' [(dragulaModel)]=\'items\' style="width:100%;"> <li fxLayout="row" *ngFor="let item of items" [ngStyle]="setStyles(item.uiid)" fxLayoutAlign="start center"> <div style="width:100%"> <div style="width: 90%"> <mat-form-field *ngIf="item.type==\'text_field\'" style="max-width: 350px" > <input matInput [placeholder]="item.label" [required]="item.required" type="text" [(ngModel)]="item.default_value"> </mat-form-field> <mat-form-field *ngIf="item.type==\'numeric_field\'" style="max-width: 220px" > <input matInput [placeholder]="item.label" [required]="item.required" type="number" [(ngModel)]="item.default_value"> </mat-form-field> <FHRichText *ngIf="item.type==\'textarea\'" [label]="item.label" [required]="item.required" [(ngModel)]="item.default_value" height="15\'" enabled="false"></FHRichText> <mat-checkbox *ngIf="item.type==\'checkbox\'" [required]="item.required" [(ngModel)]="item.default_value"><b>{{item.label}}</b></mat-checkbox> <section class="custom-section" *ngIf="item.type==\'radiobutton\'" > <label class="custom-margin">{{item.label}}:</label> <mat-radio-group [(ngModel)]="item.default_value" [required]="item.required" > <mat-radio-button *ngFor="let opt of item.opts" class="custom-margin" value="{{opt}}"><b>{{opt}}</b></mat-radio-button> </mat-radio-group> </section> <mat-form-field *ngIf="item.type==\'select\'" style="max-width: 400px" > <mat-select [required]="item.required" [placeholder]="item.label" [(ngModel)]="item.default_value"> <mat-option *ngFor="let opt of item.opts" value="{{opt}}">{{opt}}</mat-option> </mat-select> </mat-form-field> <div style="width: 220px" *ngIf="item.type==\'date_field\'"> <FHDatePicker [required]="item.required" [(ngModel)]="item.default_value" [label]="item.label" ></FHDatePicker> </div> </div></div> <div fxLayout="column" style="width:70px" fxLayoutGap="10px"> <button mat-raised-button (click)="edit_item(item.uiid)" color="primary"><mat-icon>edit</mat-icon></button> <button mat-raised-button (click)="del_item(item.uiid)" color="warn"><mat-icon>delete</mat-icon></button> </div> </li> </ul> </div> <mat-form-field [hidden]="true"> <input matInput #bottoml> </mat-form-field> </div> <div style="width:400px;height:100%;background-color: #3F51B5" fxLayoutAlign="start center" fxLayout="column" *ngIf="edit_obj!=null"> <br><br> <mat-card style="width: 96%"> <mat-card-title>Properties</mat-card-title> <mat-card-content> <div fxLayout="column"> <mat-form-field> <input matInput placeholder="Label" type="text" [(ngModel)]="edit_obj.label"> </mat-form-field> <mat-checkbox [(ngModel)]="edit_obj.required">Required</mat-checkbox> <mat-form-field *ngIf="edit_obj.type==\'numeric_field_tobe\'"> <input matInput placeholder="Decimal Places" type="text" [(ngModel)]="edit_obj.decimali"> </mat-form-field> <mat-form-field *ngIf="edit_obj.type==\'text_field\'"> <input matInput placeholder="Default Value" type="text" [(ngModel)]="edit_obj.default_value" > </mat-form-field> <mat-checkbox *ngIf="edit_obj.type==\'checkbox\'" [(ngModel)]="edit_obj.default_value">Default Value</mat-checkbox> <mat-form-field *ngIf="edit_obj.type==\'radiobutton\' || edit_obj.type==\'select\'"> <input matInput placeholder="Values" type="text" [(ngModel)]="radio_values" (ngModelChange)="edit_obj.opts=$event.split(\',\');" > </mat-form-field> <mat-form-field *ngIf="edit_obj.type==\'radiobutton\' || edit_obj.type==\'select\'"> <input matInput placeholder="Default Value" type="text" [(ngModel)]="edit_obj.default_value" > </mat-form-field> <button mat-raised-button (click)="ok_panel()" color="primary">OK</button> </div></mat-card-content> </mat-card> </div></div></div>'
|
|
853
|
+
var COMPONENTS = [{'name': 'ApprovaGridComponent', 'selector': 'approva-cell'},{'name': 'ComboBoxEditor', 'selector': 'editor-cell'},{'name': 'CurrencyComponent', 'selector': 'currency-cell'},{'name': 'DateComponent', 'selector': 'editor-cell'},{'name': 'DtPick', 'selector': 'DtPicker'},{'name': 'FHAutoCompleteComponent', 'selector': 'FHAutoComplete'},{'name': 'FHComboboxComponent', 'selector': 'FHComboBox'},{'name': 'FHConfirmComponent', 'selector': ''},{'name': 'FHCurrencyFieldComponent', 'selector': 'FHCurrencyField'},{'name': 'FHDatePickerComponent', 'selector': 'FHDatePicker'},{'name': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'name': 'FHListComponent', 'selector': 'FHList'},{'name': 'FHListPick', 'selector': 'fhwincomboselect'},{'name': 'FHLogPanelComponent', 'selector': 'FHLogPanel'},{'name': 'FHMdReader', 'selector': 'FHMdReader'},{'name': 'FHNumericFieldComponent', 'selector': 'FHNumericField'},{'name': 'FHPickListComponent', 'selector': 'FHPickList'},{'name': 'FHRichText', 'selector': 'FHRichText'},{'name': 'FHTimePickerComponent', 'selector': 'FHTimePicker'},{'name': 'FHUploadComponent', 'selector': 'FHUpload'},{'name': 'FHUploadPanelComponent', 'selector': 'FHUploadPanel'},{'name': 'FHUserFieldComponent', 'selector': 'FHUserField'},{'name': 'FHUserPickerComponent', 'selector': 'FHPickUsers'},{'name': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'NumericEditorComponent', 'selector': 'numeric-cell'},{'name': 'QGParam', 'selector': ''},{'name': 'QGResult', 'selector': ''},{'name': 'QParam', 'selector': ''},{'name': 'QResult', 'selector': ''},{'name': 'TextAreaEditor', 'selector': 'editor-cell'},{'name': 'win_assegna', 'selector': ''},{'name': 'win_commenti', 'selector': ''},{'name': 'win_commento_sel_notif', 'selector': ''},{'name': 'win_conferma', 'selector': ''},{'name': 'win_grid_help', 'selector': ''},{'name': 'win_info_doc', 'selector': ''},{'name': 'win_log', 'selector': ''},{'name': 'win_mappa', 'selector': ''},{'name': 'win_recupera_doc', 'selector': ''},{'name': 'win_riassegna_select_level', 'selector': ''},{'name': 'win_riassegna_select_user', 'selector': ''},{'name': 'win_salva_annulla', 'selector': ''},{'name': 'win_select_canale', 'selector': ''},{'name': 'win_select_level', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskNumberComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextBigComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextComponent', 'selector': 'app-win_ask_text'},{'name': 'WinOutputComponent', 'selector': 'app-win_output'},{'name': 'WinWait', 'selector': 'fhwincomboselect'},{'name': 'wkf_header_bar', 'selector': 'wkf_header_bar'}];
|
|
854
|
+
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
|
|
855
|
+
var ACTUAL_COMPONENT = {'name': 'FormBuilderComponent'};
|
|
856
|
+
</script>
|
|
857
|
+
<script src="../js/tree.js"></script>
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
</div><div class="search-results">
|
|
873
|
+
<div class="has-results">
|
|
874
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
|
|
875
|
+
<ul class="search-results-list"></ul>
|
|
876
|
+
</div>
|
|
877
|
+
<div class="no-results">
|
|
878
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
879
|
+
</div>
|
|
880
|
+
</div>
|
|
881
|
+
</div>
|
|
882
|
+
<!-- END CONTENT -->
|
|
883
|
+
</div>
|
|
884
|
+
</div>
|
|
885
|
+
|
|
886
|
+
<script>
|
|
887
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
888
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'component';
|
|
889
|
+
var COMPODOC_CURRENT_PAGE_URL = 'FormBuilderComponent.html';
|
|
890
|
+
</script>
|
|
891
|
+
|
|
892
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
893
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
894
|
+
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
|
|
895
|
+
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
|
|
896
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
897
|
+
|
|
898
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
899
|
+
|
|
900
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
901
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
902
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
903
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
904
|
+
|
|
905
|
+
<script src="../js/compodoc.js"></script>
|
|
906
|
+
|
|
907
|
+
<script src="../js/tabs.js"></script>
|
|
908
|
+
<script src="../js/menu.js"></script>
|
|
909
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
910
|
+
<script src="../js/libs/prism.js"></script>
|
|
911
|
+
<script src="../js/sourceCode.js"></script>
|
|
912
|
+
<script src="../js/search/search.js"></script>
|
|
913
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
914
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
915
|
+
<script src="../js/search/search_index.js"></script>
|
|
916
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
</body>
|
|
920
|
+
</html>
|