@fluxhub/fluxhub-lib 11.0.96 → 11.0.97
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 +10 -6
- 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/fhupload.js +2 -5
- package/esm2015/lib/controls/fhwinupload.js +11 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhwinupload.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3189,6 +3189,7 @@
|
|
|
3189
3189
|
this.app_s = app_s;
|
|
3190
3190
|
this.enabled = true;
|
|
3191
3191
|
this.show_descri = true;
|
|
3192
|
+
this.close_auto = false;
|
|
3192
3193
|
this.App = '';
|
|
3193
3194
|
this.label = '';
|
|
3194
3195
|
this.K = '';
|
|
@@ -3205,11 +3206,17 @@
|
|
|
3205
3206
|
this.show_descri = data.show_descri;
|
|
3206
3207
|
if (data.label != null)
|
|
3207
3208
|
this.label = data.label;
|
|
3209
|
+
if (data.close_auto != null)
|
|
3210
|
+
this.close_auto = data.close_auto;
|
|
3208
3211
|
}
|
|
3209
3212
|
}
|
|
3210
3213
|
fh_win_upload.prototype.close = function () {
|
|
3211
3214
|
this.dialogRef.close(null);
|
|
3212
3215
|
};
|
|
3216
|
+
fh_win_upload.prototype.upload_ended = function () {
|
|
3217
|
+
if (this.close_auto)
|
|
3218
|
+
this.close();
|
|
3219
|
+
};
|
|
3213
3220
|
fh_win_upload.prototype.ngAfterViewInit = function () {
|
|
3214
3221
|
var _this = this;
|
|
3215
3222
|
setTimeout(function () {
|
|
@@ -3230,8 +3237,8 @@
|
|
|
3230
3237
|
}());
|
|
3231
3238
|
fh_win_upload.decorators = [
|
|
3232
3239
|
{ type: i0.Component, args: [{
|
|
3233
|
-
selector: '
|
|
3234
|
-
template: "\n <div fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div fxFlex=\"100\" fxLayout=\"row\" class=\"dialog_header\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" style=\"width:50%\">\n {{ title | translate }}\n </div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-dialog-content style=\"font-size:12px\">\n <br /><br />\n <FHUpload\n [enabled]=\"enabled\"\n #upc\n [show_descri]=\"show_descri\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n
|
|
3240
|
+
selector: 'fh_win_upload',
|
|
3241
|
+
template: "\n <div fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div fxFlex=\"100\" fxLayout=\"row\" class=\"dialog_header\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" style=\"width:50%\">\n {{ title | translate }}\n </div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-dialog-content style=\"font-size:12px\">\n <br /><br />\n <FHUpload\n [enabled]=\"enabled\"\n #upc\n (upload_ended)=\"upload_ended()\"\n [show_descri]=\"show_descri\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n ></FHUpload>\n </mat-dialog-content>\n <br /><br />\n <div style=\"width:100%;text-align:center;\" [hidden]=\"close_auto\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{ 'CHIUDI' | translate }}\n </button>\n </div>\n </div>\n ",
|
|
3235
3242
|
styles: [""]
|
|
3236
3243
|
},] }
|
|
3237
3244
|
];
|
|
@@ -5158,9 +5165,7 @@
|
|
|
5158
5165
|
p.sql = 'DELETE_ALLEGATO';
|
|
5159
5166
|
p.types = ['int', 'string'];
|
|
5160
5167
|
p.values = [_this.id, _this.app_s.user];
|
|
5161
|
-
var ok_op = false;
|
|
5162
5168
|
_this._dataService.doQuery(p).subscribe(function (data) {
|
|
5163
|
-
var ok_op = false;
|
|
5164
5169
|
if (data != null)
|
|
5165
5170
|
if (data.result_msg == 'OK') {
|
|
5166
5171
|
// this.arr_g = data.result_data;
|
|
@@ -5169,9 +5174,8 @@
|
|
|
5169
5174
|
timeOut: 1000,
|
|
5170
5175
|
progressBar: true,
|
|
5171
5176
|
});
|
|
5172
|
-
ok_op = true;
|
|
5173
5177
|
}
|
|
5174
|
-
}
|
|
5178
|
+
});
|
|
5175
5179
|
}
|
|
5176
5180
|
});
|
|
5177
5181
|
};
|