@fluxhub/fluxhub-lib 10.0.403 → 10.0.405
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 +47 -7
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/win_ask_richtext.js +52 -14
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +53 -13
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_ask_richtext.d.ts +37 -1
- package/package.json +1 -1
|
@@ -23405,6 +23405,7 @@ class dati_aggiuntivi_v2 {
|
|
|
23405
23405
|
this.resp_b(true);
|
|
23406
23406
|
return;
|
|
23407
23407
|
}
|
|
23408
|
+
console.log('this.transizione_info.create_ver ', this.transizione_info.create_ver);
|
|
23408
23409
|
this.exec_wkf(o, this.nlevel, result.arrsel, result.nota);
|
|
23409
23410
|
});
|
|
23410
23411
|
}
|
|
@@ -23440,6 +23441,7 @@ class dati_aggiuntivi_v2 {
|
|
|
23440
23441
|
this.resp_b(true);
|
|
23441
23442
|
return;
|
|
23442
23443
|
}
|
|
23444
|
+
console.log('this.transizione_info.create_ver ', this.transizione_info.create_ver);
|
|
23443
23445
|
this.exec_wkf(o, this.nlevel, arrAutori, result);
|
|
23444
23446
|
});
|
|
23445
23447
|
}
|
|
@@ -24789,9 +24791,47 @@ class fh_win_ask_richtext {
|
|
|
24789
24791
|
this.dialogRef = dialogRef;
|
|
24790
24792
|
this.toastr = toastr;
|
|
24791
24793
|
this.data = data;
|
|
24794
|
+
this.config = {
|
|
24795
|
+
modules: {
|
|
24796
|
+
toolbar: [
|
|
24797
|
+
["bold", "italic", "underline", "strike", "image", "link"],
|
|
24798
|
+
[{ size: ["small", false, "large", "huge"] }],
|
|
24799
|
+
[{ header: [1, 2, 3, 4, 5, 6, false] }],
|
|
24800
|
+
[{ color: [] }, { background: [] }],
|
|
24801
|
+
[{ font: [] }],
|
|
24802
|
+
[{ align: [] }],
|
|
24803
|
+
[
|
|
24804
|
+
"code-block",
|
|
24805
|
+
"blockquote",
|
|
24806
|
+
{ list: "ordered" },
|
|
24807
|
+
{ list: "bullet" },
|
|
24808
|
+
{ indent: "-1" },
|
|
24809
|
+
{ indent: "+1" },
|
|
24810
|
+
],
|
|
24811
|
+
],
|
|
24812
|
+
keyboard: {
|
|
24813
|
+
bindings: {
|
|
24814
|
+
list: {
|
|
24815
|
+
key: "backspace",
|
|
24816
|
+
context: { format: ["list"] },
|
|
24817
|
+
handler: function (range, context) {
|
|
24818
|
+
if (range.index === 0)
|
|
24819
|
+
return;
|
|
24820
|
+
if (range.length === 0) {
|
|
24821
|
+
this.quill.deleteText(range.index - 1, 1, 1);
|
|
24822
|
+
}
|
|
24823
|
+
else {
|
|
24824
|
+
this.quill.deleteText(range, 1);
|
|
24825
|
+
}
|
|
24826
|
+
},
|
|
24827
|
+
},
|
|
24828
|
+
},
|
|
24829
|
+
},
|
|
24830
|
+
},
|
|
24831
|
+
};
|
|
24792
24832
|
this.title = "";
|
|
24793
24833
|
this.label = "";
|
|
24794
|
-
this.
|
|
24834
|
+
this.value = "";
|
|
24795
24835
|
this.readonly = false;
|
|
24796
24836
|
this.show_annulla = true;
|
|
24797
24837
|
this.show_ok = true;
|
|
@@ -24801,8 +24841,8 @@ class fh_win_ask_richtext {
|
|
|
24801
24841
|
this.title = data.title;
|
|
24802
24842
|
if (data.label != null)
|
|
24803
24843
|
this.label = data.label;
|
|
24804
|
-
if (data.
|
|
24805
|
-
this.
|
|
24844
|
+
if (data.value != null)
|
|
24845
|
+
this.value = data.value;
|
|
24806
24846
|
if (data.readonly != null)
|
|
24807
24847
|
this.readonly = data.readonly;
|
|
24808
24848
|
if (data.show_annulla != null)
|
|
@@ -24822,11 +24862,11 @@ class fh_win_ask_richtext {
|
|
|
24822
24862
|
this.dialogRef.close(null);
|
|
24823
24863
|
}
|
|
24824
24864
|
do_check() {
|
|
24825
|
-
if (this.
|
|
24826
|
-
this.toastr.error("Il
|
|
24865
|
+
if (this.value.length < this.min_chars) {
|
|
24866
|
+
this.toastr.error("Il value deve contenere almeno " + this.min_chars + " caratteri");
|
|
24827
24867
|
return;
|
|
24828
24868
|
}
|
|
24829
|
-
this.dialogRef.close(this.
|
|
24869
|
+
this.dialogRef.close(this.value);
|
|
24830
24870
|
}
|
|
24831
24871
|
chiudi() {
|
|
24832
24872
|
this.dialogRef.close(null);
|
|
@@ -24845,14 +24885,14 @@ fh_win_ask_richtext.decorators = [
|
|
|
24845
24885
|
</div>
|
|
24846
24886
|
<hr width="100%" size="0.5" color="#DDDDDD">
|
|
24847
24887
|
<mat-dialog-content style="width:630px;font-size: 15px;">
|
|
24848
|
-
|
|
24888
|
+
<b *ngIf="label != ''">{{ label }}</b>
|
|
24889
|
+
<quill-editor
|
|
24890
|
+
theme="snow"
|
|
24891
|
+
format="html"
|
|
24892
|
+
|
|
24893
|
+
[(ngModel)]="value"
|
|
24894
|
+
></quill-editor>
|
|
24849
24895
|
|
|
24850
|
-
[label]="label"
|
|
24851
|
-
[enabled]="!readonly"
|
|
24852
|
-
[(ngModel)]="valore"
|
|
24853
|
-
[required]="true"
|
|
24854
|
-
>
|
|
24855
|
-
</FHRichText>
|
|
24856
24896
|
</mat-dialog-content>
|
|
24857
24897
|
<mat-dialog-actions>
|
|
24858
24898
|
<div
|