@fluxhub/fluxhub-lib 11.0.93 → 11.0.95
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 +65 -0
- 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/fhwinupload.js +101 -0
- package/esm2015/lib/fluxhub-lib.module.js +4 -1
- package/esm2015/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +100 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhwinupload.d.ts +22 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -3182,6 +3182,68 @@
|
|
|
3182
3182
|
upc: [{ type: i0.ViewChild, args: ['upc',] }]
|
|
3183
3183
|
};
|
|
3184
3184
|
|
|
3185
|
+
var fh_win_upload = /** @class */ (function () {
|
|
3186
|
+
function fh_win_upload(data, dialogRef, app_s) {
|
|
3187
|
+
this.data = data;
|
|
3188
|
+
this.dialogRef = dialogRef;
|
|
3189
|
+
this.app_s = app_s;
|
|
3190
|
+
this.enabled = true;
|
|
3191
|
+
this.show_descri = true;
|
|
3192
|
+
this.App = '';
|
|
3193
|
+
this.label = '';
|
|
3194
|
+
this.K = '';
|
|
3195
|
+
this.title = 'ALLEGATI';
|
|
3196
|
+
this.admin_role = '[ZZZ_DIS_CC]';
|
|
3197
|
+
this.sovrascrivi_path = '';
|
|
3198
|
+
console.log('data ', data);
|
|
3199
|
+
if (data != null) {
|
|
3200
|
+
if (data.App != null)
|
|
3201
|
+
this.App = data.App;
|
|
3202
|
+
if (data.K != null)
|
|
3203
|
+
this.K = data.K;
|
|
3204
|
+
if (data.show_descri != null)
|
|
3205
|
+
this.show_descri = data.show_descri;
|
|
3206
|
+
if (data.label != null)
|
|
3207
|
+
this.label = data.label;
|
|
3208
|
+
}
|
|
3209
|
+
}
|
|
3210
|
+
fh_win_upload.prototype.close = function () {
|
|
3211
|
+
this.dialogRef.close(null);
|
|
3212
|
+
};
|
|
3213
|
+
fh_win_upload.prototype.ngAfterViewInit = function () {
|
|
3214
|
+
var _this = this;
|
|
3215
|
+
setTimeout(function () {
|
|
3216
|
+
if (_this.App == '') {
|
|
3217
|
+
_this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
|
|
3218
|
+
_this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
|
|
3219
|
+
}
|
|
3220
|
+
_this.init(_this.App, _this.K);
|
|
3221
|
+
});
|
|
3222
|
+
};
|
|
3223
|
+
fh_win_upload.prototype.init = function (p_app, p_k) {
|
|
3224
|
+
this.App = p_app;
|
|
3225
|
+
this.K = p_k;
|
|
3226
|
+
if (this.upc)
|
|
3227
|
+
this.upc.init(this.App, this.K, this.label);
|
|
3228
|
+
};
|
|
3229
|
+
return fh_win_upload;
|
|
3230
|
+
}());
|
|
3231
|
+
fh_win_upload.decorators = [
|
|
3232
|
+
{ type: i0.Component, args: [{
|
|
3233
|
+
selector: 'wkf_win_upload',
|
|
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\n ></FHUpload>\n </mat-dialog-content>\n <br /><br />\n <div style=\"width:100%;text-align:center;\">\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
|
+
styles: [""]
|
|
3236
|
+
},] }
|
|
3237
|
+
];
|
|
3238
|
+
fh_win_upload.ctorParameters = function () { return [
|
|
3239
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
|
|
3240
|
+
{ type: dialog.MatDialogRef },
|
|
3241
|
+
{ type: AppService }
|
|
3242
|
+
]; };
|
|
3243
|
+
fh_win_upload.propDecorators = {
|
|
3244
|
+
upc: [{ type: i0.ViewChild, args: ['upc',] }]
|
|
3245
|
+
};
|
|
3246
|
+
|
|
3185
3247
|
var fh_win_app_logs = /** @class */ (function () {
|
|
3186
3248
|
function fh_win_app_logs(dialogRef, m_dialogRef, m_appService, uti, datax) {
|
|
3187
3249
|
var _this = this;
|
|
@@ -20040,6 +20102,7 @@
|
|
|
20040
20102
|
fh_win_show_image,
|
|
20041
20103
|
fh_win_ask_buttons,
|
|
20042
20104
|
fh_win_time_slider,
|
|
20105
|
+
fh_win_upload,
|
|
20043
20106
|
FHTimePickerComponent,
|
|
20044
20107
|
CurrencyComponent,
|
|
20045
20108
|
FHUploadPanelComponent,
|
|
@@ -20085,6 +20148,7 @@
|
|
|
20085
20148
|
wkf_header_bar_v2
|
|
20086
20149
|
],
|
|
20087
20150
|
declarations: [
|
|
20151
|
+
fh_win_upload,
|
|
20088
20152
|
fh_win_show_log_dett,
|
|
20089
20153
|
win_show_log_info_dett,
|
|
20090
20154
|
fh_win_show_log,
|
|
@@ -26743,6 +26807,7 @@
|
|
|
26743
26807
|
exports.fh_win_show_log = fh_win_show_log;
|
|
26744
26808
|
exports.fh_win_show_log_dett = fh_win_show_log_dett;
|
|
26745
26809
|
exports.fh_win_time_slider = fh_win_time_slider;
|
|
26810
|
+
exports.fh_win_upload = fh_win_upload;
|
|
26746
26811
|
exports.fh_win_uploads = fh_win_uploads;
|
|
26747
26812
|
exports.fh_win_user_info = fh_win_user_info;
|
|
26748
26813
|
exports.fh_win_user_picker = fh_win_user_picker;
|