@fluxhub/fluxhub-lib 1.0.233 → 1.0.235

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.
@@ -3051,6 +3051,8 @@
3051
3051
  this.b_False = false;
3052
3052
  this.b_mobile = false;
3053
3053
  this.b_ini = false;
3054
+ this.m_p_tipo = "";
3055
+ this.m_programma_da_eseguire = "";
3054
3056
  }
3055
3057
  /**
3056
3058
  * @param {?} ax
@@ -3120,29 +3122,40 @@
3120
3122
  * @return {?}
3121
3123
  */
3122
3124
  function () {
3123
- console.log('INIT1');
3124
3125
  this.upc.single = false;
3125
3126
  this.b_mobile = this._appservice.getState().pageFullscreen;
3126
3127
  this
3127
3128
  .upc
3128
- .init(this.App, this.K, 'Descrizione Allegato');
3129
+ .init(this.App, this.K, 'Descrizione Allegato', this.m_p_tipo, this.m_programma_da_eseguire);
3129
3130
  this.ref_allegato();
3130
3131
  };
3131
3132
  /**
3132
3133
  * @param {?} p_app
3133
3134
  * @param {?} p_k
3135
+ * @param {?=} p_tipo
3136
+ * @param {?=} programma_da_eseguire
3134
3137
  * @return {?}
3135
3138
  */
3136
3139
  FHUploadPanelComponent.prototype.init = /**
3137
3140
  * @param {?} p_app
3138
3141
  * @param {?} p_k
3142
+ * @param {?=} p_tipo
3143
+ * @param {?=} programma_da_eseguire
3139
3144
  * @return {?}
3140
3145
  */
3141
- function (p_app, p_k) {
3146
+ function (p_app, p_k, p_tipo, programma_da_eseguire) {
3147
+ if (p_tipo === void 0) {
3148
+ p_tipo = "";
3149
+ }
3150
+ if (programma_da_eseguire === void 0) {
3151
+ programma_da_eseguire = "";
3152
+ }
3142
3153
  this.App = p_app;
3143
3154
  this.K = p_k;
3144
3155
  this.b_ini = true;
3145
3156
  this.b_edit_loaded = false;
3157
+ this.m_p_tipo = p_tipo;
3158
+ this.m_programma_da_eseguire = programma_da_eseguire;
3146
3159
  this.ngOnInit();
3147
3160
  };
3148
3161
  /**
@@ -3324,7 +3337,6 @@
3324
3337
  */
3325
3338
  function () {
3326
3339
  var _this = this;
3327
- console.log('INIT');
3328
3340
  /** @type {?} */
3329
3341
  var uo = {};
3330
3342
  uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
@@ -13655,6 +13667,38 @@
13655
13667
  var image_preview = /** @class */ (function () {
13656
13668
  function image_preview() {
13657
13669
  this._preview = true;
13670
+ this.config = {
13671
+ btnClass: 'default',
13672
+ // The CSS class(es) that will apply to the buttons
13673
+ zoomFactor: 0.1,
13674
+ // The amount that the scale will be increased by
13675
+ containerBackgroundColor: '#ccc',
13676
+ // The color to use for the background. This can provided in hex, or rgb(a).
13677
+ wheelZoom: true,
13678
+ // If true, the mouse wheel can be used to zoom in
13679
+ allowFullscreen: false,
13680
+ // If true, the fullscreen button will be shown, allowing the user to entr fullscreen mode
13681
+ allowKeyboardNavigation: true,
13682
+ // If true, the left / right arrow keys can be used for navigation
13683
+ btnIcons: {
13684
+ // The icon classes that will apply to the buttons. By default, font-awesome is used.
13685
+ zoomIn: 'fa fa-plus',
13686
+ zoomOut: 'fa fa-minus',
13687
+ rotateClockwise: 'fa fa-repeat',
13688
+ rotateCounterClockwise: 'fa fa-undo',
13689
+ next: 'fa fa-arrow-right',
13690
+ prev: 'fa fa-arrow-left',
13691
+ fullscreen: 'fa fa-arrows-alt',
13692
+ },
13693
+ btnShow: {
13694
+ zoomIn: false,
13695
+ zoomOut: false,
13696
+ rotateClockwise: false,
13697
+ rotateCounterClockwise: false,
13698
+ next: false,
13699
+ prev: false
13700
+ }
13701
+ };
13658
13702
  this.u = null;
13659
13703
  this.already_open = false;
13660
13704
  this.config_photo = {