@fluxhub/fluxhub-lib 11.0.93 → 11.0.94

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.
@@ -3182,6 +3182,65 @@
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.access_control = true;
3192
+ this.App = '';
3193
+ this.K = '';
3194
+ this.title = 'ALLEGATI';
3195
+ this.admin_role = '[ZZZ_DIS_CC]';
3196
+ this.sovrascrivi_path = '';
3197
+ console.log('data ', data);
3198
+ if (data != null) {
3199
+ if (data.App != null)
3200
+ this.App = data.App;
3201
+ if (data.K != null)
3202
+ this.K = data.K;
3203
+ if (data.admin_role != null)
3204
+ this.admin_role = data.admin_role;
3205
+ }
3206
+ }
3207
+ fh_win_upload.prototype.close = function () {
3208
+ this.dialogRef.close(null);
3209
+ };
3210
+ fh_win_upload.prototype.ngAfterViewInit = function () {
3211
+ var _this = this;
3212
+ setTimeout(function () {
3213
+ if (_this.App == '') {
3214
+ _this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
3215
+ _this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
3216
+ }
3217
+ _this.init(_this.App, _this.K);
3218
+ });
3219
+ };
3220
+ fh_win_upload.prototype.init = function (p_app, p_k) {
3221
+ this.App = p_app;
3222
+ this.K = p_k;
3223
+ if (this.upc)
3224
+ this.upc.init(this.App, this.K);
3225
+ };
3226
+ return fh_win_upload;
3227
+ }());
3228
+ fh_win_upload.decorators = [
3229
+ { type: i0.Component, args: [{
3230
+ selector: 'wkf_win_upload',
3231
+ 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 <FHUploadPanel\n [enabled]=\"enabled\"\n #upc\n [access_control]=\"access_control\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n [ruolo_supervisore]=\"admin_role\"\n ></FHUploadPanel>\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 ",
3232
+ styles: [""]
3233
+ },] }
3234
+ ];
3235
+ fh_win_upload.ctorParameters = function () { return [
3236
+ { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
3237
+ { type: dialog.MatDialogRef },
3238
+ { type: AppService }
3239
+ ]; };
3240
+ fh_win_upload.propDecorators = {
3241
+ upc: [{ type: i0.ViewChild, args: ['upc',] }]
3242
+ };
3243
+
3185
3244
  var fh_win_app_logs = /** @class */ (function () {
3186
3245
  function fh_win_app_logs(dialogRef, m_dialogRef, m_appService, uti, datax) {
3187
3246
  var _this = this;
@@ -20040,6 +20099,7 @@
20040
20099
  fh_win_show_image,
20041
20100
  fh_win_ask_buttons,
20042
20101
  fh_win_time_slider,
20102
+ fh_win_upload,
20043
20103
  FHTimePickerComponent,
20044
20104
  CurrencyComponent,
20045
20105
  FHUploadPanelComponent,
@@ -20085,6 +20145,7 @@
20085
20145
  wkf_header_bar_v2
20086
20146
  ],
20087
20147
  declarations: [
20148
+ fh_win_upload,
20088
20149
  fh_win_show_log_dett,
20089
20150
  win_show_log_info_dett,
20090
20151
  fh_win_show_log,
@@ -26743,6 +26804,7 @@
26743
26804
  exports.fh_win_show_log = fh_win_show_log;
26744
26805
  exports.fh_win_show_log_dett = fh_win_show_log_dett;
26745
26806
  exports.fh_win_time_slider = fh_win_time_slider;
26807
+ exports.fh_win_upload = fh_win_upload;
26746
26808
  exports.fh_win_uploads = fh_win_uploads;
26747
26809
  exports.fh_win_user_info = fh_win_user_info;
26748
26810
  exports.fh_win_user_picker = fh_win_user_picker;