@fluxhub/fluxhub-lib 1.0.350 → 1.0.352
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 +23 -23
- 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/esm2015/lib/controls/app_manager/win_manage_values.js +9 -9
- package/esm2015/lib/controls/fhautocomplete.js +5 -5
- package/esm2015/lib/controls/fhcombobox.js +5 -5
- package/esm2015/lib/controls/fhcurrencyfield.js +5 -5
- package/esm2015/lib/controls/fhdatepicker.js +3 -3
- package/esm2015/lib/controls/fhfieldpicklist.js +3 -3
- package/esm2015/lib/controls/fhgrid_json.js +4 -3
- package/esm2015/lib/controls/fhnumeric.js +3 -3
- package/esm2015/lib/controls/fhupload.js +9 -5
- package/esm2015/lib/controls/fhuploadpanel.js +2 -2
- package/esm2015/lib/controls/fhuserfield.js +5 -5
- package/esm2015/lib/controls/grid_editors/textarea-editor.component.js +3 -3
- package/esm2015/lib/controls/win_ask_number.js +3 -3
- package/esm2015/lib/controls/win_ask_text.js +3 -3
- package/esm2015/lib/controls/win_ask_textbig.js +3 -3
- package/esm2015/lib/controls/win_combo_select.js +3 -3
- package/esm2015/lib/form_builder/form_builder.js +17 -17
- package/esm2015/lib/form_builder/form_executer.js +9 -8
- package/esm2015/lib/wkf_engine/win_assegna.js +3 -3
- package/esm2015/lib/wkf_engine/win_commenti.js +3 -3
- package/esm2015/lib/wkf_engine/win_conferma.js +3 -3
- package/esm2015/lib/wkf_engine/win_log.js +3 -3
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +3 -3
- package/esm5/lib/controls/app_manager/win_manage_values.js +2 -2
- package/esm5/lib/controls/fhautocomplete.js +2 -2
- package/esm5/lib/controls/fhcombobox.js +2 -2
- package/esm5/lib/controls/fhcurrencyfield.js +2 -2
- package/esm5/lib/controls/fhdatepicker.js +2 -2
- package/esm5/lib/controls/fhfieldpicklist.js +2 -2
- package/esm5/lib/controls/fhgrid_json.js +2 -2
- package/esm5/lib/controls/fhnumeric.js +2 -2
- package/esm5/lib/controls/fhupload.js +2 -2
- package/esm5/lib/controls/fhuploadpanel.js +2 -2
- package/esm5/lib/controls/fhuserfield.js +2 -2
- package/esm5/lib/controls/grid_editors/textarea-editor.component.js +2 -2
- package/esm5/lib/controls/win_ask_number.js +2 -2
- package/esm5/lib/controls/win_ask_text.js +2 -2
- package/esm5/lib/controls/win_ask_textbig.js +2 -2
- package/esm5/lib/controls/win_combo_select.js +2 -2
- package/esm5/lib/form_builder/form_builder.js +2 -2
- package/esm5/lib/form_builder/form_executer.js +2 -2
- package/esm5/lib/wkf_engine/win_assegna.js +2 -2
- package/esm5/lib/wkf_engine/win_commenti.js +2 -2
- package/esm5/lib/wkf_engine/win_conferma.js +2 -2
- package/esm5/lib/wkf_engine/win_log.js +2 -2
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +86 -80
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +23 -23
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2968,12 +2968,16 @@ FHUploadComponent.decorators = [
|
|
|
2968
2968
|
<div *ngIf="loading" fxLayout="row">
|
|
2969
2969
|
WAIT
|
|
2970
2970
|
</div>
|
|
2971
|
-
<div *ngIf="enabled && !loading" fxLayout="row">
|
|
2972
|
-
<mat-form-field class="field_style">
|
|
2971
|
+
<div *ngIf="enabled && !loading" fxLayout="row" fxLayoutAlign="start center">
|
|
2972
|
+
<mat-form-field class="field_style" appearance="outline" floatLabel="always"><mat-label>{{label}} {{fixed_label}}</mat-label>
|
|
2973
2973
|
<input matInput type="text" name="descrizione" [(ngModel)]="descrizione"
|
|
2974
|
-
|
|
2974
|
+
>
|
|
2975
2975
|
</mat-form-field>
|
|
2976
|
-
|
|
2976
|
+
|
|
2977
|
+
<div style="width:190px">
|
|
2978
|
+
<input type="file" ng2FileSelect [uploader]="uploader" name="file-fh[]" id="file-fh" class="inputfile inputfile-fh" data-multiple-caption="{count} files selected" multiple />
|
|
2979
|
+
<label for="file-fh"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg><span>Upload</span></label>
|
|
2980
|
+
</div>
|
|
2977
2981
|
<div>
|
|
2978
2982
|
<button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button>
|
|
2979
2983
|
</div>
|
|
@@ -3399,8 +3403,8 @@ WinAskTextBigComponent.decorators = [
|
|
|
3399
3403
|
|
|
3400
3404
|
<h2 mat-dialog-title>{{title}}</h2>
|
|
3401
3405
|
<mat-dialog-content style="width:600px">
|
|
3402
|
-
<mat-form-field>
|
|
3403
|
-
<textarea matInput [readonly]="readonly"
|
|
3406
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
3407
|
+
<textarea matInput [readonly]="readonly" [(ngModel)]="valore" style="min-width:600px" rows="15"
|
|
3404
3408
|
required></textarea>
|
|
3405
3409
|
</mat-form-field>
|
|
3406
3410
|
</mat-dialog-content>
|
|
@@ -3668,7 +3672,7 @@ FHUploadPanelComponent.decorators = [
|
|
|
3668
3672
|
<div fxLayout="column">
|
|
3669
3673
|
<div [hidden]="!enabled">
|
|
3670
3674
|
<FHUpload [single]="b_False" [lista_allegati]="arr_g" (change)="ref_allegato()" #upc></FHUpload>
|
|
3671
|
-
|
|
3675
|
+
</div>
|
|
3672
3676
|
<table width="98%" class="fh_table">
|
|
3673
3677
|
<thead *ngIf="!b_mobile">
|
|
3674
3678
|
<tr class="header">
|
|
@@ -4276,15 +4280,15 @@ class FHComboboxComponent {
|
|
|
4276
4280
|
FHComboboxComponent.decorators = [
|
|
4277
4281
|
{ type: Component, args: [{
|
|
4278
4282
|
selector: 'FHComboBox', template: `
|
|
4279
|
-
<mat-form-field [hidden]="!enabled || hidden">
|
|
4280
|
-
<mat-select
|
|
4283
|
+
<mat-form-field [hidden]="!enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
4284
|
+
<mat-select #cmb [(ngModel)]="selval" (selectionChange)="sc()" [required]="required">
|
|
4281
4285
|
<mat-option value="-1">{{sel_label}}</mat-option>
|
|
4282
4286
|
<mat-option value="{{app.valore}}" *ngFor="let app of myData">{{app.descrizione_valore}}</mat-option>
|
|
4283
4287
|
</mat-select>
|
|
4284
4288
|
</mat-form-field>
|
|
4285
4289
|
|
|
4286
|
-
<mat-form-field [hidden]="enabled || hidden">
|
|
4287
|
-
<input type="text" #el1 matInput [disabled]="true"
|
|
4290
|
+
<mat-form-field [hidden]="enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
4291
|
+
<input type="text" #el1 matInput [disabled]="true" [(ngModel)]="dis_value">
|
|
4288
4292
|
</mat-form-field>
|
|
4289
4293
|
`,
|
|
4290
4294
|
styles: [`
|
|
@@ -4373,8 +4377,8 @@ WinAskTextComponent.decorators = [
|
|
|
4373
4377
|
|
|
4374
4378
|
<h2 mat-dialog-title>{{title}}</h2>
|
|
4375
4379
|
<mat-dialog-content>
|
|
4376
|
-
<mat-form-field>
|
|
4377
|
-
<input matInput
|
|
4380
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}} (min {{min_chars}} - max {{max_chars}} caratteri)</mat-label>
|
|
4381
|
+
<input matInput type="text"
|
|
4378
4382
|
[(ngModel)]="valore" required>
|
|
4379
4383
|
</mat-form-field>
|
|
4380
4384
|
</mat-dialog-content>
|
|
@@ -4998,8 +5002,8 @@ win_riassegna_select_user.decorators = [
|
|
|
4998
5002
|
</div>
|
|
4999
5003
|
<br>
|
|
5000
5004
|
<br><br>
|
|
5001
|
-
<mat-form-field [hidden]="commento_hidden" >
|
|
5002
|
-
<textarea matInput
|
|
5005
|
+
<mat-form-field [hidden]="commento_hidden" appearance="outline" floatLabel="always"><mat-label>Commento {{nota_commento}}</mat-label>
|
|
5006
|
+
<textarea matInput [(ngModel)]="nota"
|
|
5003
5007
|
rows="6"></textarea>
|
|
5004
5008
|
|
|
5005
5009
|
</mat-form-field>
|
|
@@ -8170,9 +8174,9 @@ FHAutoCompleteComponent.decorators = [
|
|
|
8170
8174
|
{ type: Component, args: [{
|
|
8171
8175
|
selector: 'FHAutoComplete',
|
|
8172
8176
|
template: `
|
|
8173
|
-
<mat-form-field class="field_style" [hidden]="!enabled || hidden">
|
|
8177
|
+
<mat-form-field class="field_style" [hidden]="!enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
8174
8178
|
<input matInput
|
|
8175
|
-
class="field_style" [disabled]="!enabled || hidden" [matAutocomplete]="auto"
|
|
8179
|
+
class="field_style" [disabled]="!enabled || hidden" [matAutocomplete]="auto" [required]="required"
|
|
8176
8180
|
(keyup)="onChange($event)" [(ngModel)]="sItem" (focus)="fi_search()" (focusout)="fo_search($event)"
|
|
8177
8181
|
#searchp>
|
|
8178
8182
|
</mat-form-field>
|
|
@@ -8189,8 +8193,8 @@ FHAutoCompleteComponent.decorators = [
|
|
|
8189
8193
|
{{errorMsg}}
|
|
8190
8194
|
</div>
|
|
8191
8195
|
</div>
|
|
8192
|
-
<mat-form-field [hidden]="enabled || hidden">
|
|
8193
|
-
<input type="text" #el1 matInput [disabled]="true"
|
|
8196
|
+
<mat-form-field [hidden]="enabled || hidden" appearance="outline" floatLabel="always"><mat-label>label</mat-label>
|
|
8197
|
+
<input type="text" #el1 matInput [disabled]="true" [(ngModel)]="sItem"
|
|
8194
8198
|
>
|
|
8195
8199
|
</mat-form-field>
|
|
8196
8200
|
`,
|
|
@@ -8697,9 +8701,9 @@ FHDatePickerComponent.decorators = [
|
|
|
8697
8701
|
<button mat-raised-button (click)="fin_year()">Fine Anno</button>
|
|
8698
8702
|
</div>
|
|
8699
8703
|
|
|
8700
|
-
<mat-form-field (click)="chxx($event)">
|
|
8704
|
+
<mat-form-field (click)="chxx($event)" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
8701
8705
|
<input [disabled]="!enabled" #pickerId (dateChange)="ch( $event)" (focusout)="dt_chg($event.target.value)"
|
|
8702
|
-
(click)="chxx($event)" [(ngModel)]="date_sel" matInput [matDatepicker]="picker"
|
|
8706
|
+
(click)="chxx($event)" [(ngModel)]="date_sel" matInput [matDatepicker]="picker" >
|
|
8703
8707
|
<mat-datepicker-toggle matSuffix [for]="picker" (click)="chxx($event)"></mat-datepicker-toggle>
|
|
8704
8708
|
<mat-datepicker (click)="chxx($event)" #picker></mat-datepicker>
|
|
8705
8709
|
</mat-form-field>
|
|
@@ -9147,9 +9151,9 @@ TextAreaEditor.decorators = [
|
|
|
9147
9151
|
template: `
|
|
9148
9152
|
<div #container class="mood">
|
|
9149
9153
|
<div fxLayout="row" (keydown)="onKeyDown($event)">
|
|
9150
|
-
<mat-form-field>
|
|
9154
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
9151
9155
|
<textarea matInput style="min-height:180px;min-width:400px" [(ngModel)]="text" #appdt
|
|
9152
|
-
|
|
9156
|
+
></textarea>
|
|
9153
9157
|
</mat-form-field>
|
|
9154
9158
|
</div>
|
|
9155
9159
|
|
|
@@ -9406,8 +9410,8 @@ FHWinComboSelect.decorators = [
|
|
|
9406
9410
|
<div [style.width]="width">
|
|
9407
9411
|
<FHComboBox #cmb_sel [init_fill]="false"></FHComboBox>
|
|
9408
9412
|
</div>
|
|
9409
|
-
<mat-form-field *ngIf="nota" >
|
|
9410
|
-
<textarea matInput
|
|
9413
|
+
<mat-form-field *ngIf="nota" appearance="outline" floatLabel="always"><mat-label>Nota</mat-label>
|
|
9414
|
+
<textarea matInput [(ngModel)]="nota_val" rows="12"></textarea>
|
|
9411
9415
|
</mat-form-field>
|
|
9412
9416
|
|
|
9413
9417
|
</mat-dialog-content>
|
|
@@ -10055,8 +10059,8 @@ WinAskNumberComponent.decorators = [
|
|
|
10055
10059
|
|
|
10056
10060
|
<h2 mat-dialog-title>{{title}}</h2>
|
|
10057
10061
|
<mat-dialog-content>
|
|
10058
|
-
<mat-form-field>
|
|
10059
|
-
<input matInput
|
|
10062
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
10063
|
+
<input matInput type="number" [(ngModel)]="valore" required>
|
|
10060
10064
|
</mat-form-field>
|
|
10061
10065
|
</mat-dialog-content>
|
|
10062
10066
|
<mat-dialog-actions>
|
|
@@ -10446,16 +10450,16 @@ FHCurrencyFieldComponent.decorators = [
|
|
|
10446
10450
|
selector: 'FHCurrencyField',
|
|
10447
10451
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
|
|
10448
10452
|
template: `
|
|
10449
|
-
<mat-form-field [hidden]="!enabled || hidden">
|
|
10453
|
+
<mat-form-field [hidden]="!enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
10450
10454
|
<input type="text" style="text-align:right" #el matInput
|
|
10451
|
-
[disabled]="!enabled"
|
|
10455
|
+
[disabled]="!enabled" [(ngModel)]="formattedAmount"
|
|
10452
10456
|
(blur)="transformAmount($event)" [style.color]="getStyle_color()" (keydown)="kd($event)"
|
|
10453
10457
|
(focus)="removeCurrencyPipeFormat($event)" (keyup)="chg()"
|
|
10454
10458
|
pattern="[0-9]+">
|
|
10455
10459
|
</mat-form-field>
|
|
10456
|
-
<mat-form-field [hidden]="enabled || hidden">
|
|
10460
|
+
<mat-form-field [hidden]="enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
10457
10461
|
<input type="text" style="text-align:right" [style.color]="getStyle_color()" #el1 matInput [disabled]="true"
|
|
10458
|
-
|
|
10462
|
+
[(ngModel)]="formattedAmount"
|
|
10459
10463
|
>
|
|
10460
10464
|
</mat-form-field>
|
|
10461
10465
|
`,
|
|
@@ -10857,9 +10861,9 @@ FHNumericFieldComponent.decorators = [
|
|
|
10857
10861
|
selector: 'FHNumericField',
|
|
10858
10862
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
|
|
10859
10863
|
template: `
|
|
10860
|
-
<mat-form-field [hidden]="hidden">
|
|
10864
|
+
<mat-form-field [hidden]="hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
10861
10865
|
<input type="text" style="text-align:right" [style.background-color]="getStyle()" #el matInput
|
|
10862
|
-
[disabled]="!enabled"
|
|
10866
|
+
[disabled]="!enabled" [(ngModel)]="formattedAmount"
|
|
10863
10867
|
(blur)="chg()"
|
|
10864
10868
|
(focus)="removeCurrencyPipeFormat($event)"
|
|
10865
10869
|
pattern="[0-9]+">
|
|
@@ -11267,11 +11271,11 @@ FHUserFieldComponent.decorators = [
|
|
|
11267
11271
|
selector: 'FHUserField', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
|
|
11268
11272
|
template: `
|
|
11269
11273
|
<div fxLayout="row" [hidden]="!enabled || hidden">
|
|
11270
|
-
<mat-form-field style="clickable-field" (click)="open_pick()">
|
|
11274
|
+
<mat-form-field style="clickable-field" (click)="open_pick()" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
11271
11275
|
|
|
11272
11276
|
<input matInput
|
|
11273
11277
|
[hidden]="hidden"
|
|
11274
|
-
|
|
11278
|
+
|
|
11275
11279
|
type="text"
|
|
11276
11280
|
[ngModel]="userName"
|
|
11277
11281
|
[disabled]="false" readonly>
|
|
@@ -11283,8 +11287,8 @@ FHUserFieldComponent.decorators = [
|
|
|
11283
11287
|
<mat-icon>clear</mat-icon>
|
|
11284
11288
|
</button>
|
|
11285
11289
|
</div>
|
|
11286
|
-
<mat-form-field [hidden]="enabled || hidden">
|
|
11287
|
-
<input type="text" #el1 matInput [disabled]="true"
|
|
11290
|
+
<mat-form-field [hidden]="enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
11291
|
+
<input type="text" #el1 matInput [disabled]="true" [(ngModel)]="userName"
|
|
11288
11292
|
>
|
|
11289
11293
|
</mat-form-field>
|
|
11290
11294
|
`,
|
|
@@ -11455,8 +11459,8 @@ win_assegna.decorators = [
|
|
|
11455
11459
|
</div>
|
|
11456
11460
|
<div *ngIf="comm_notrequired!=1">
|
|
11457
11461
|
<br><br><br>
|
|
11458
|
-
<mat-form-field>
|
|
11459
|
-
<textarea matInput
|
|
11462
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>Commento {{nota_commento}}</mat-label>
|
|
11463
|
+
<textarea matInput [(ngModel)]="nota" rows="6"></textarea>
|
|
11460
11464
|
</mat-form-field>
|
|
11461
11465
|
</div>
|
|
11462
11466
|
|
|
@@ -11553,8 +11557,8 @@ win_conferma.decorators = [
|
|
|
11553
11557
|
<div *ngIf="mobile" style="font-size:10px">Assegnata a: {{utenti}}</div>
|
|
11554
11558
|
<h3 *ngIf="!mobile">Assegnata a: {{utenti}}</h3>
|
|
11555
11559
|
<br>
|
|
11556
|
-
<mat-form-field [hidden]="comm_notrequired==1">
|
|
11557
|
-
<textarea matInput
|
|
11560
|
+
<mat-form-field [hidden]="comm_notrequired==1" appearance="outline" floatLabel="always"><mat-label>Commento {{nota_commento}}</mat-label>
|
|
11561
|
+
<textarea matInput [(ngModel)]="nota" rows="6"></textarea>
|
|
11558
11562
|
</mat-form-field>
|
|
11559
11563
|
|
|
11560
11564
|
|
|
@@ -12593,8 +12597,8 @@ win_commenti.decorators = [
|
|
|
12593
12597
|
<br>
|
|
12594
12598
|
<div mat-dialog-content style="min-width:800px">
|
|
12595
12599
|
|
|
12596
|
-
<mat-form-field *ngIf="b_edit" >
|
|
12597
|
-
<textarea matInput
|
|
12600
|
+
<mat-form-field *ngIf="b_edit" appearance="outline" floatLabel="always"><mat-label>Commento</mat-label>
|
|
12601
|
+
<textarea matInput [(ngModel)]="nota" rows="12"></textarea>
|
|
12598
12602
|
</mat-form-field>
|
|
12599
12603
|
|
|
12600
12604
|
|
|
@@ -13139,8 +13143,8 @@ win_log.decorators = [
|
|
|
13139
13143
|
<div mat-dialog-content>
|
|
13140
13144
|
<section class="bs" *ngIf="b_edit">
|
|
13141
13145
|
<br>
|
|
13142
|
-
<mat-form-field *ngIf="b_edit">
|
|
13143
|
-
<textarea matInput
|
|
13146
|
+
<mat-form-field *ngIf="b_edit" appearance="outline" floatLabel="always"><mat-label>Commento</mat-label>
|
|
13147
|
+
<textarea matInput [(ngModel)]="nota" rows="12"></textarea>
|
|
13144
13148
|
</mat-form-field>
|
|
13145
13149
|
|
|
13146
13150
|
<div *ngIf="b_edit">
|
|
@@ -14474,8 +14478,9 @@ FHGridJSONComponent.decorators = [
|
|
|
14474
14478
|
<td [hidden]='this.m_appService.getState().pageFullscreen'><h5>{{num_r + label_elementi}}</h5>
|
|
14475
14479
|
|
|
14476
14480
|
</td>
|
|
14477
|
-
<td style="vertical-align:'bottom'">  
|
|
14478
|
-
<
|
|
14481
|
+
<td style="vertical-align:'bottom'">
|
|
14482
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>{{trova_label}}</mat-label>
|
|
14483
|
+
<input matInput (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera"
|
|
14479
14484
|
style="width:200px">
|
|
14480
14485
|
</mat-form-field>
|
|
14481
14486
|
</td>
|
|
@@ -16791,13 +16796,13 @@ FormBuilderComponent.decorators = [
|
|
|
16791
16796
|
<div style="width:100%">
|
|
16792
16797
|
|
|
16793
16798
|
<div style="width: 90%">
|
|
16794
|
-
<mat-form-field *ngIf="item.type=='text_field'" style="max-width: 350px" >
|
|
16795
|
-
<input matInput
|
|
16799
|
+
<mat-form-field *ngIf="item.type=='text_field'" style="max-width: 350px" appearance="outline" floatLabel="always"><mat-label>{{item.label}}</mat-label>
|
|
16800
|
+
<input matInput [required]="item.required" type="text" [(ngModel)]="item.default_value">
|
|
16796
16801
|
</mat-form-field>
|
|
16797
16802
|
|
|
16798
16803
|
|
|
16799
|
-
<mat-form-field *ngIf="item.type=='numeric_field'" style="max-width: 220px" >
|
|
16800
|
-
<input matInput
|
|
16804
|
+
<mat-form-field *ngIf="item.type=='numeric_field'" style="max-width: 220px" appearance="outline" floatLabel="always"><mat-label>{{item.label}}</mat-label>
|
|
16805
|
+
<input matInput [required]="item.required" type="number" [(ngModel)]="item.default_value">
|
|
16801
16806
|
</mat-form-field>
|
|
16802
16807
|
|
|
16803
16808
|
|
|
@@ -16813,8 +16818,8 @@ FormBuilderComponent.decorators = [
|
|
|
16813
16818
|
</mat-radio-group>
|
|
16814
16819
|
</section>
|
|
16815
16820
|
|
|
16816
|
-
<mat-form-field *ngIf="item.type=='select'" style="max-width: 400px" >
|
|
16817
|
-
<mat-select [required]="item.required"
|
|
16821
|
+
<mat-form-field *ngIf="item.type=='select'" style="max-width: 400px" appearance="outline" floatLabel="always"><mat-label>{{item.label}}</mat-label>
|
|
16822
|
+
<mat-select [required]="item.required" [(ngModel)]="item.default_value">
|
|
16818
16823
|
<mat-option *ngFor="let opt of item.opts" value="{{opt}}">{{opt}}</mat-option>
|
|
16819
16824
|
</mat-select>
|
|
16820
16825
|
</mat-form-field>
|
|
@@ -16843,26 +16848,26 @@ FormBuilderComponent.decorators = [
|
|
|
16843
16848
|
<mat-card-title>Properties</mat-card-title>
|
|
16844
16849
|
<mat-card-content>
|
|
16845
16850
|
<div fxLayout="column">
|
|
16846
|
-
<mat-form-field>
|
|
16847
|
-
<input matInput
|
|
16851
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>Label</mat-label>
|
|
16852
|
+
<input matInput type="text" [(ngModel)]="edit_obj.label">
|
|
16848
16853
|
</mat-form-field>
|
|
16849
16854
|
<mat-checkbox [(ngModel)]="edit_obj.required">Required</mat-checkbox>
|
|
16850
16855
|
|
|
16851
|
-
<mat-form-field *ngIf="edit_obj.type=='numeric_field_tobe'">
|
|
16852
|
-
<input matInput
|
|
16856
|
+
<mat-form-field *ngIf="edit_obj.type=='numeric_field_tobe'" appearance="outline" floatLabel="always"><mat-label>Decimal Places</mat-label>
|
|
16857
|
+
<input matInput type="text" [(ngModel)]="edit_obj.decimali">
|
|
16853
16858
|
</mat-form-field>
|
|
16854
|
-
<mat-form-field *ngIf="edit_obj.type=='text_field'">
|
|
16855
|
-
<input matInput
|
|
16859
|
+
<mat-form-field *ngIf="edit_obj.type=='text_field'" appearance="outline" floatLabel="always"><mat-label>Default Value</mat-label>
|
|
16860
|
+
<input matInput type="text" [(ngModel)]="edit_obj.default_value" >
|
|
16856
16861
|
</mat-form-field>
|
|
16857
16862
|
|
|
16858
16863
|
|
|
16859
16864
|
<mat-checkbox *ngIf="edit_obj.type=='checkbox'" [(ngModel)]="edit_obj.default_value">Default Value</mat-checkbox>
|
|
16860
16865
|
|
|
16861
|
-
<mat-form-field *ngIf="edit_obj.type=='radiobutton' || edit_obj.type=='select'">
|
|
16862
|
-
<input matInput
|
|
16866
|
+
<mat-form-field *ngIf="edit_obj.type=='radiobutton' || edit_obj.type=='select'" appearance="outline" floatLabel="always"><mat-label>Values</mat-label>
|
|
16867
|
+
<input matInput type="text" [(ngModel)]="radio_values" (ngModelChange)="edit_obj.opts=$event.split(',');" >
|
|
16863
16868
|
</mat-form-field>
|
|
16864
|
-
<mat-form-field *ngIf="edit_obj.type=='radiobutton' || edit_obj.type=='select'">
|
|
16865
|
-
<input matInput
|
|
16869
|
+
<mat-form-field *ngIf="edit_obj.type=='radiobutton' || edit_obj.type=='select'" appearance="outline" floatLabel="always"><mat-label>Default Value</mat-label>
|
|
16870
|
+
<input matInput type="text" [(ngModel)]="edit_obj.default_value" >
|
|
16866
16871
|
</mat-form-field>
|
|
16867
16872
|
|
|
16868
16873
|
<button mat-raised-button (click)="ok_panel()" color="primary">OK</button>
|
|
@@ -16950,16 +16955,17 @@ FormExecuterComponent.decorators = [
|
|
|
16950
16955
|
<div fxLayout="row" *ngFor="let item of items" [ngStyle]="setStyles(item.uiid)" fxLayoutAlign="start center">
|
|
16951
16956
|
|
|
16952
16957
|
<div style="width: 90%">
|
|
16953
|
-
<mat-form-field *ngIf="item.type=='text_field'" style="max-width: 350px" >
|
|
16954
|
-
<input matInput
|
|
16958
|
+
<mat-form-field *ngIf="item.type=='text_field'" style="max-width: 350px" appearance="outline" floatLabel="always"><mat-label>{{item.label}}</mat-label>
|
|
16959
|
+
<input matInput [required]="item.required" [disabled]="!enabled" type="text" [(ngModel)]="item.default_value">
|
|
16955
16960
|
</mat-form-field>
|
|
16956
16961
|
|
|
16957
16962
|
|
|
16958
|
-
|
|
16959
|
-
|
|
16963
|
+
|
|
16964
|
+
<mat-form-field *ngIf="item.type=='numeric_field'" style="max-width: 220px" appearance="outline" floatLabel="always"><mat-label>{{item.label}}</mat-label>
|
|
16965
|
+
<input matInput [required]="item.required" [disabled]="!enabled" type="number" [(ngModel)]="item.default_value">
|
|
16960
16966
|
</mat-form-field>
|
|
16961
16967
|
|
|
16962
|
-
|
|
16968
|
+
|
|
16963
16969
|
<FHRichText *ngIf="item.type=='textarea'" [label]="item.label" [required]="item.required" [(ngModel)]="item.default_value" height="15'" enabled="false"></FHRichText>
|
|
16964
16970
|
|
|
16965
16971
|
<mat-checkbox *ngIf="item.type=='checkbox'" [required]="item.required" [disabled]="!enabled" [(ngModel)]="item.default_value"><b>{{item.label}}</b></mat-checkbox>
|
|
@@ -16973,8 +16979,8 @@ FormExecuterComponent.decorators = [
|
|
|
16973
16979
|
</mat-radio-group>
|
|
16974
16980
|
</section>
|
|
16975
16981
|
|
|
16976
|
-
<mat-form-field *ngIf="item.type=='select'">
|
|
16977
|
-
<mat-select [required]="item.required"
|
|
16982
|
+
<mat-form-field *ngIf="item.type=='select'" appearance="outline" floatLabel="always"><mat-label>{{item.label}}</mat-label>
|
|
16983
|
+
<mat-select [required]="item.required" [(ngModel)]="item.default_value">
|
|
16978
16984
|
<mat-option *ngFor="let opt of item.opts" [disabled]="!enabled" value="{{opt}}">{{opt}}</mat-option>
|
|
16979
16985
|
</mat-select>
|
|
16980
16986
|
</mat-form-field>
|
|
@@ -17819,8 +17825,8 @@ FHFieldPickListComponent.decorators = [
|
|
|
17819
17825
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
|
|
17820
17826
|
selector: 'FHFieldPickList', template: `
|
|
17821
17827
|
<div fxLayout="row" style="width: 100%" fxLayoutAlign="start center" [hidden]="hidden">
|
|
17822
|
-
<mat-form-field>
|
|
17823
|
-
<input type="text" #el1 matInput [readonly]="!enabled || only_in_list"
|
|
17828
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
17829
|
+
<input type="text" #el1 matInput [readonly]="!enabled || only_in_list" [(ngModel)]="value">
|
|
17824
17830
|
</mat-form-field>
|
|
17825
17831
|
<div style="min-width: 170px;text-align: right"> <button mat-raised-button color="primary" (click)="open_pick_list()" [disabled]="!enabled">SELEZIONA</button>
|
|
17826
17832
|
</div></div>
|
|
@@ -17992,8 +17998,8 @@ win_manage_values.decorators = [
|
|
|
17992
17998
|
|
|
17993
17999
|
<div fxLayout="column" style="height: 520px">
|
|
17994
18000
|
<div fxLayout="row" style="width: 90%">
|
|
17995
|
-
<mat-form-field>
|
|
17996
|
-
<input matInput
|
|
18001
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>Descrizione</mat-label>
|
|
18002
|
+
<input matInput [(ngModel)]="nValori.descrizione" style="min-width:500px">
|
|
17997
18003
|
</mat-form-field>
|
|
17998
18004
|
<div>
|
|
17999
18005
|
<button mat-raised-button color="primary" (click)="update_tassoc_ins(nValori)">Inserisci</button>
|
|
@@ -18015,27 +18021,27 @@ win_manage_values.decorators = [
|
|
|
18015
18021
|
<tbody>
|
|
18016
18022
|
<tr *ngFor="let u of valoris;let odd=odd; let even=even;" [ngClass]="{ odd: odd, even: even }">
|
|
18017
18023
|
<td style="width:70%;">
|
|
18018
|
-
<mat-form-field>
|
|
18019
|
-
<input matInput
|
|
18024
|
+
<mat-form-field appearance="outline" floatLabel="always">
|
|
18025
|
+
<input matInput [(ngModel)]="u.descrizione" (focusout)="update_tassoc(u)">
|
|
18020
18026
|
</mat-form-field>
|
|
18021
18027
|
</td>
|
|
18022
18028
|
<td style="width:5%;">
|
|
18023
|
-
<mat-form-field>
|
|
18029
|
+
<mat-form-field appearance="outline" floatLabel="always">
|
|
18024
18030
|
<input matInput type="text" [(ngModel)]="u.v1" (focusout)="update_tassoc(u)">
|
|
18025
18031
|
</mat-form-field>
|
|
18026
18032
|
</td>
|
|
18027
18033
|
<td style="width:5%;">
|
|
18028
|
-
<mat-form-field>
|
|
18034
|
+
<mat-form-field appearance="outline" floatLabel="always">
|
|
18029
18035
|
<input matInput type="text" [(ngModel)]="u.v2" (focusout)="update_tassoc(u)">
|
|
18030
18036
|
</mat-form-field>
|
|
18031
18037
|
</td>
|
|
18032
18038
|
<td style="width:5%;">
|
|
18033
|
-
<mat-form-field>
|
|
18039
|
+
<mat-form-field appearance="outline" floatLabel="always">
|
|
18034
18040
|
<input matInput type="text" [(ngModel)]="u.v3" (focusout)="update_tassoc(u)">
|
|
18035
18041
|
</mat-form-field>
|
|
18036
18042
|
</td>
|
|
18037
18043
|
<td style="width:10%;">
|
|
18038
|
-
<mat-form-field>
|
|
18044
|
+
<mat-form-field appearance="outline" floatLabel="always">
|
|
18039
18045
|
<input matInput type="text" [(ngModel)]="u.lingua" (focusout)="update_tassoc(u)">
|
|
18040
18046
|
</mat-form-field>
|
|
18041
18047
|
</td>
|