@fluxhub/fluxhub-lib 19.0.171 → 19.0.173
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.
|
@@ -1646,7 +1646,12 @@ class QueryService {
|
|
|
1646
1646
|
console.error(err);
|
|
1647
1647
|
if (displayError) {
|
|
1648
1648
|
console.error(queryp.sql + ' ' + err.message);
|
|
1649
|
-
|
|
1649
|
+
const sql_lc = (queryp.sql || '').toLowerCase();
|
|
1650
|
+
const is_write = sql_lc.indexOf('insert') != -1 || sql_lc.indexOf('update') != -1;
|
|
1651
|
+
if (err.message.indexOf('ORA-50012') == -1
|
|
1652
|
+
&& (is_write
|
|
1653
|
+
|| (err.message.indexOf('Failed to connect') == -1
|
|
1654
|
+
&& err.message.indexOf('Could not connect (sequence)') == -1)))
|
|
1650
1655
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
1651
1656
|
}
|
|
1652
1657
|
throw new Error();
|
|
@@ -1855,7 +1860,12 @@ class OdbcService {
|
|
|
1855
1860
|
if (err) {
|
|
1856
1861
|
console.error(err);
|
|
1857
1862
|
if (displayError) {
|
|
1858
|
-
|
|
1863
|
+
const sql_lc = (queryp.sql || '').toLowerCase();
|
|
1864
|
+
const is_write = sql_lc.indexOf('insert') != -1 || sql_lc.indexOf('update') != -1;
|
|
1865
|
+
if (is_write
|
|
1866
|
+
|| (err.message.indexOf('Failed to connect') == -1
|
|
1867
|
+
&& err.message.indexOf('Could not connect (sequence)') == -1))
|
|
1868
|
+
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
1859
1869
|
}
|
|
1860
1870
|
throw new Error();
|
|
1861
1871
|
}
|
|
@@ -4026,7 +4036,7 @@ class FHTextAreaComponent {
|
|
|
4026
4036
|
></textarea>
|
|
4027
4037
|
<mat-error *ngIf="error==null">{{ error }}</mat-error>
|
|
4028
4038
|
</mat-form-field>
|
|
4029
|
-
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i6$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }] });
|
|
4039
|
+
`, isInline: true, styles: [":host ::ng-deep .mdc-floating-label,:host ::ng-deep .mat-mdc-floating-label{line-height:1.4!important}:host ::ng-deep .mat-mdc-form-field-infix{padding-top:6px}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i6$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }] });
|
|
4030
4040
|
}
|
|
4031
4041
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHTextAreaComponent, decorators: [{
|
|
4032
4042
|
type: Component,
|
|
@@ -4053,7 +4063,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
4053
4063
|
></textarea>
|
|
4054
4064
|
<mat-error *ngIf="error==null">{{ error }}</mat-error>
|
|
4055
4065
|
</mat-form-field>
|
|
4056
|
-
|
|
4066
|
+
`, styles: [":host ::ng-deep .mdc-floating-label,:host ::ng-deep .mat-mdc-floating-label{line-height:1.4!important}:host ::ng-deep .mat-mdc-form-field-infix{padding-top:6px}\n"] }]
|
|
4057
4067
|
}], ctorParameters: () => [], propDecorators: { hidden: [{
|
|
4058
4068
|
type: Input
|
|
4059
4069
|
}], label: [{
|
|
@@ -11176,14 +11186,15 @@ class FHFormToolBarComponent {
|
|
|
11176
11186
|
</button>
|
|
11177
11187
|
</div>
|
|
11178
11188
|
</div>
|
|
11179
|
-
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
11189
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i9$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i9$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
|
|
11180
11190
|
}
|
|
11181
11191
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHFormToolBarComponent, decorators: [{
|
|
11182
11192
|
type: Component,
|
|
11183
11193
|
args: [{ selector: 'FHFormToolBar', imports: [
|
|
11184
11194
|
TranslateModule,
|
|
11185
11195
|
MatButtonModule,
|
|
11186
|
-
MatIconModule
|
|
11196
|
+
MatIconModule,
|
|
11197
|
+
FlexLayoutModule
|
|
11187
11198
|
], template: `
|
|
11188
11199
|
<div fxLayout="row" fxLayoutGap="5px">
|
|
11189
11200
|
<div
|
|
@@ -15039,7 +15050,12 @@ class WkfService {
|
|
|
15039
15050
|
if (err) {
|
|
15040
15051
|
console.error(err);
|
|
15041
15052
|
if (displayError) {
|
|
15042
|
-
|
|
15053
|
+
const sql_lc = (queryp.sql || '').toLowerCase();
|
|
15054
|
+
const is_write = sql_lc.indexOf('insert') != -1 || sql_lc.indexOf('update') != -1;
|
|
15055
|
+
if (is_write
|
|
15056
|
+
|| (err.message.indexOf('Failed to connect') == -1
|
|
15057
|
+
&& err.message.indexOf('Could not connect (sequence)') == -1))
|
|
15058
|
+
this.toastr.error(err.message);
|
|
15043
15059
|
}
|
|
15044
15060
|
throw new Error();
|
|
15045
15061
|
}
|
|
@@ -28800,9 +28816,9 @@ class win_commenti_v2 {
|
|
|
28800
28816
|
<td style="text-align:center">
|
|
28801
28817
|
<mat-icon
|
|
28802
28818
|
*ngIf="
|
|
28803
|
-
i == 0 &&
|
|
28804
28819
|
app.creatore ==
|
|
28805
|
-
m_appService.getState().wkf_doc_info.curr_user
|
|
28820
|
+
m_appService.getState().wkf_doc_info.curr_user &&
|
|
28821
|
+
(app.tipo === 'N' || i == 0)
|
|
28806
28822
|
"
|
|
28807
28823
|
(click)="edit_comm(app)"
|
|
28808
28824
|
>edit
|
|
@@ -28917,9 +28933,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
28917
28933
|
<td style="text-align:center">
|
|
28918
28934
|
<mat-icon
|
|
28919
28935
|
*ngIf="
|
|
28920
|
-
i == 0 &&
|
|
28921
28936
|
app.creatore ==
|
|
28922
|
-
m_appService.getState().wkf_doc_info.curr_user
|
|
28937
|
+
m_appService.getState().wkf_doc_info.curr_user &&
|
|
28938
|
+
(app.tipo === 'N' || i == 0)
|
|
28923
28939
|
"
|
|
28924
28940
|
(click)="edit_comm(app)"
|
|
28925
28941
|
>edit
|
|
@@ -34086,7 +34102,12 @@ class QueryOpenService {
|
|
|
34086
34102
|
console.error(err);
|
|
34087
34103
|
if (displayError) {
|
|
34088
34104
|
console.error(queryp.sql + ' ' + err.message);
|
|
34089
|
-
|
|
34105
|
+
const sql_lc = (queryp.sql || '').toLowerCase();
|
|
34106
|
+
const is_write = sql_lc.indexOf('insert') != -1 || sql_lc.indexOf('update') != -1;
|
|
34107
|
+
if (err.message.indexOf('ORA-50012') == -1
|
|
34108
|
+
&& (is_write
|
|
34109
|
+
|| (err.message.indexOf('Failed to connect') == -1
|
|
34110
|
+
&& err.message.indexOf('Could not connect (sequence)') == -1)))
|
|
34090
34111
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
34091
34112
|
}
|
|
34092
34113
|
throw new Error();
|