@fluxhub/fluxhub-lib 9.0.140 → 9.0.142

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.
@@ -2149,7 +2149,7 @@ FHUploadS3Component = __decorate([
2149
2149
  ></FHComboBox
2150
2150
  >&nbsp;&nbsp;
2151
2151
  </div>
2152
- <mat-form-field
2152
+ <!-- <mat-form-field
2153
2153
  [hidden]="!show_descri"
2154
2154
  style="width: 100%"
2155
2155
  appearance="outline"
@@ -2161,7 +2161,7 @@ FHUploadS3Component = __decorate([
2161
2161
  name="descrizione"
2162
2162
  [(ngModel)]="descrizione"
2163
2163
  />
2164
- </mat-form-field>
2164
+ </mat-form-field>-->
2165
2165
  &nbsp;&nbsp;&nbsp;&nbsp;
2166
2166
  <div
2167
2167
  style="width:140px"
@@ -2174,11 +2174,11 @@ FHUploadS3Component = __decorate([
2174
2174
  multiple
2175
2175
  ng2FileSelect
2176
2176
  [uploader]="uploader"
2177
- name="file-fh{{ App }}"
2178
- id="file-fh{{ App }}"
2177
+ name="file-fh{{ App }}_{{ p_section }}"
2178
+ id="file-fh{{ App }}_{{ p_section }}"
2179
2179
  class="inputfile inputfile-fh"
2180
2180
  />
2181
- <label for="file-fh{{ App }}" style="width:210px"
2181
+ <label for="file-fh{{ App }}_{{ p_section }}" style="width:210px"
2182
2182
  ><svg
2183
2183
  xmlns="http://www.w3.org/2000/svg"
2184
2184
  width="20"
@@ -2678,18 +2678,15 @@ let FHUploadPanelS3Component = class FHUploadPanelS3Component {
2678
2678
  setTimeout(() => { this.init_upload(); }, 500);
2679
2679
  return;
2680
2680
  }
2681
- setTimeout(() => {
2682
- setTimeout(() => {
2683
- this.b_initt = true;
2684
- }, 700);
2685
- this.upc.single = false;
2686
- this.b_mobile = this._appservice.getState().pageFullscreen;
2687
- if (this.force_en)
2688
- this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Attachment Description', this.m_p_system_type, this.m_programma_da_eseguire);
2689
- else
2690
- this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Descrizione Allegato', this.m_p_system_type, this.m_programma_da_eseguire);
2691
- this.ref_allegato();
2692
- });
2681
+ this.upc.single = false;
2682
+ this.b_mobile = this._appservice.getState().pageFullscreen;
2683
+ console.log(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Attachment Description', this.m_p_system_type, this.m_programma_da_eseguire);
2684
+ if (this.force_en)
2685
+ this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Attachment Description', this.m_p_system_type, this.m_programma_da_eseguire);
2686
+ else
2687
+ this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Descrizione Allegato', this.m_p_system_type, this.m_programma_da_eseguire);
2688
+ this.b_initt = true;
2689
+ this.ref_allegato();
2693
2690
  }
2694
2691
  init(p_app, p_k, p_cod_doc, p_section, p_system_type, programma_da_eseguire = "") {
2695
2692
  this.App = p_app;
@@ -2729,42 +2726,9 @@ let FHUploadPanelS3Component = class FHUploadPanelS3Component {
2729
2726
  else
2730
2727
  this.arr_g[i].descrizione_vis = '';
2731
2728
  let arrf = this.arr_g[i].file_name_orig.split(".");
2732
- if (this.sovrascrivi_path == "") {
2733
- this.arr_g[i].url =
2734
- this._appservice.COMPANY_SITE_ROOT +
2735
- "/uploads/" +
2736
- this.arr_g[i].App +
2737
- "/" +
2738
- this.arr_g[i].K +
2739
- "/" +
2740
- this.arr_g[i].file_name_orig;
2741
- this.arr_g[i].url_orig =
2742
- this._appservice.COMPANY_SITE_ROOT +
2743
- "/uploads/" +
2744
- this.arr_g[i].App +
2745
- "/" +
2746
- this.arr_g[i].K +
2747
- "/" +
2748
- this.arr_g[i].file_name_orig;
2749
- }
2750
- else {
2751
- this.arr_g[i].url =
2752
- this.sovrascrivi_path +
2753
- "/uploads/" +
2754
- this.arr_g[i].App +
2755
- "/" +
2756
- this.arr_g[i].K +
2757
- "/" +
2758
- this.arr_g[i].file_name_orig;
2759
- this.arr_g[i].url_orig =
2760
- this.sovrascrivi_path +
2761
- "/uploads/" +
2762
- this.arr_g[i].App +
2763
- "/" +
2764
- this.arr_g[i].K +
2765
- "/" +
2766
- this.arr_g[i].file_name_orig;
2767
- }
2729
+ let arrpxc = this.arr_g[i].repo_params.split('|');
2730
+ this.arr_g[i].url = arrpxc[3] + '/' + arrpxc[2] + '/' + this.App + '/' + this.m_p_cod_doc + '/' + this.m_p_section + '/' + this.arr_g[i].dir + '/F_' + this.arr_g[i].uiid;
2731
+ this.arr_g[i].url_orig = arrpxc[3] + '/' + arrpxc[2] + '/' + this.App + '/' + this.m_p_cod_doc + '/' + this.m_p_section + '/' + this.arr_g[i].dir + '/F_' + this.arr_g[i].uiid;
2768
2732
  if ("3G2|3GA|3GP|7Z|AA|AAC|AC|ACCDB|ACCDT|ADN|AI|AIF|AIFC|AIFF|AIT|AMR|ANI|APK|APP|APPLESCRIPT|ASAX|ASC|ASCX|ASF|ASH|ASHX|ASMX|ASP|ASPX|ASX|AU|AUP|AVI|AXD|AZE|BAK|BASH|BAT|BIN|BLANK|BMP|BOWERRC|BPG|BROWSER|BZ2|C|CAB|CAD|CAF|CAL|CD|CER|CFG|CFM|CFML|CGI|CLASS|CMD|CODEKIT|COFFEE|COFFEELINTIGNORE|COM|COMPILE|CONF|CONFIG|CPP|CPTX|CR2|CRDOWNLOAD|CRT|CRYPT|CS|CSH|CSON|CSPROJ|CSS|CSV|CUE|DAT|DB|DBF|DEB|DGN|DIST|DIZ|DLL|DMG|DNG|DOC|DOCB|DOCM|DOCX|DOT|DOTM|DOTX|DOWNLOAD|DPJ|DS_STORE|DTD|DWG|DXF|EDITORCONFIG|EL|ENC|EOT|EPS|EPUB|ESLINTIGNORE|EXE|F4V|FAX|FB2|FLA|FLAC|FLV|FOLDER|GADGET|GDP|GEM|GIF|GITATTRIBUTES|GITIGNORE|GO|GPG|GZ|H|HANDLEBARS|HBS|HEIC|HS|HSL|HTM|HTML|IBOOKS|ICNS|ICO|ICS|IDX|IFF|IFO|IMAGE|IMG|IN|INDD|INF|INI|ISO|J2|JAR|JAVA|JPE|JPEG|JPG|JS|JSON|JSP|JSX|KEY|KF8|KMK|KSH|KUP|LESS|LEX|LICX|LISP|LIT|LNK|LOCK|LOG|LUA|M|M2V|M3U|M3U8|M4|M4A|M4R|M4V|MAP|MASTER|MC|MD|MDB|MDF|ME|MI|MID|MIDI|MK|MKV|MM|MO|MOBI|MOD|MOV|MP2|MP3|MP4|MPA|MPD|MPE|MPEG|MPG|MPGA|MPP|MPT|MSI|MSU|NEF|NES|NFO|NIX|NPMIGNORE|ODB|ODS|ODT|OGG|OGV|OST|OTF|OTT|OVA|OVF|P12|P7B|PAGES|PART|PCD|PDB|PDF|PEM|PFX|PGP|PH|PHAR|PHP|PKG|PL|PLIST|PM|PNG|PO|POM|POT|POTX|PPS|PPSX|PPT|PPTM|PPTX|PROP|PS|PS1|PSD|PSP|PST|PUB|PY|PYC|QT|RA|RAM|RAR|RAW|RB|RDF|RESX|RETRY|RM|ROM|RPM|RSA|RSS|RTF|RU|RUB|SASS|SCSS|SDF|SED|SH|SITEMAP|SKIN|SLDM|SLDX|SLN|SOL|SQL|SQLITE|STEP|STL|SVG|SWD|SWF|SWIFT|SYS|TAR|TCSH|TEX|TFIGNORE|TGA|TGZ|TIF|TIFF|TMP|TORRENT|TS|TSV|TTF|TWIG|TXT|UDF|VB|VBPROJ|VBS|VCD|VCS|VDI|VDX|VMDK|VOB|VSCODEIGNORE|VSD|VSS|VST|VSX|VTX|WAR|WAV|WBK|WEBINFO|WEBM|WEBP|WMA|WMF|WMV|WOFF|WOFF2|WPS|WSF|XAML|XCF|XLM|XLS|XLSM|XLSX|XLT|XLTM|XLTX|XML|XPI|XPS|XRB|XSD|XSL|XSPF|XZ|YAML|YML|Z|ZIP|ZSH".indexOf(arrf[arrf.length - 1].toLocaleUpperCase()) != -1)
2769
2733
  iconf = arrf[arrf.length - 1].toLocaleLowerCase();
2770
2734
  this.arr_g[i].icon = iconf + ".svg";
@@ -3026,7 +2990,7 @@ FHUploadPanelS3Component = __decorate([
3026
2990
  <th style="width:20%">
3027
2991
  {{ force_en ? "Description" : "Descrizione" }}
3028
2992
  </th>
3029
- <th *ngIf="multi_list" style="width:10%">
2993
+ <th style="width:10%">
3030
2994
  {{ force_en ? "Version" : "Versione" }}
3031
2995
  </th>
3032
2996
  <th style="width:40%"></th>