@sapui5/sap.ui.export 1.109.0 → 1.110.0

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.
Files changed (77) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ui/export/.library +2 -2
  3. package/src/sap/ui/export/ExportBase.js +2 -2
  4. package/src/sap/ui/export/ExportDialog.js +1 -1
  5. package/src/sap/ui/export/ExportHandler.js +55 -40
  6. package/src/sap/ui/export/ExportUtils.js +75 -94
  7. package/src/sap/ui/export/PortableDocument.js +12 -6
  8. package/src/sap/ui/export/Spreadsheet.js +10 -6
  9. package/src/sap/ui/export/SpreadsheetExport.js +2 -2
  10. package/src/sap/ui/export/library.js +3 -3
  11. package/src/sap/ui/export/messagebundle.properties +6 -0
  12. package/src/sap/ui/export/messagebundle_ar.properties +5 -1
  13. package/src/sap/ui/export/messagebundle_bg.properties +5 -1
  14. package/src/sap/ui/export/messagebundle_ca.properties +5 -1
  15. package/src/sap/ui/export/messagebundle_cs.properties +5 -1
  16. package/src/sap/ui/export/messagebundle_cy.properties +5 -1
  17. package/src/sap/ui/export/messagebundle_da.properties +5 -1
  18. package/src/sap/ui/export/messagebundle_de.properties +5 -1
  19. package/src/sap/ui/export/messagebundle_el.properties +5 -1
  20. package/src/sap/ui/export/messagebundle_en.properties +5 -1
  21. package/src/sap/ui/export/messagebundle_en_GB.properties +5 -1
  22. package/src/sap/ui/export/messagebundle_en_US_sappsd.properties +4 -0
  23. package/src/sap/ui/export/messagebundle_en_US_saprigi.properties +4 -0
  24. package/src/sap/ui/export/messagebundle_en_US_saptrc.properties +4 -0
  25. package/src/sap/ui/export/messagebundle_es.properties +4 -0
  26. package/src/sap/ui/export/messagebundle_es_MX.properties +4 -0
  27. package/src/sap/ui/export/messagebundle_et.properties +4 -0
  28. package/src/sap/ui/export/messagebundle_fi.properties +5 -1
  29. package/src/sap/ui/export/messagebundle_fr.properties +5 -1
  30. package/src/sap/ui/export/messagebundle_fr_CA.properties +7 -3
  31. package/src/sap/ui/export/messagebundle_hi.properties +5 -1
  32. package/src/sap/ui/export/messagebundle_hr.properties +4 -0
  33. package/src/sap/ui/export/messagebundle_hu.properties +5 -1
  34. package/src/sap/ui/export/messagebundle_id.properties +5 -1
  35. package/src/sap/ui/export/messagebundle_it.properties +5 -1
  36. package/src/sap/ui/export/messagebundle_iw.properties +4 -0
  37. package/src/sap/ui/export/messagebundle_ja.properties +5 -1
  38. package/src/sap/ui/export/messagebundle_kk.properties +5 -1
  39. package/src/sap/ui/export/messagebundle_ko.properties +4 -0
  40. package/src/sap/ui/export/messagebundle_lt.properties +4 -0
  41. package/src/sap/ui/export/messagebundle_lv.properties +5 -1
  42. package/src/sap/ui/export/messagebundle_ms.properties +5 -1
  43. package/src/sap/ui/export/messagebundle_nl.properties +5 -1
  44. package/src/sap/ui/export/messagebundle_no.properties +5 -1
  45. package/src/sap/ui/export/messagebundle_pl.properties +5 -1
  46. package/src/sap/ui/export/messagebundle_pt.properties +5 -1
  47. package/src/sap/ui/export/messagebundle_pt_PT.properties +5 -1
  48. package/src/sap/ui/export/messagebundle_ro.properties +5 -1
  49. package/src/sap/ui/export/messagebundle_ru.properties +4 -0
  50. package/src/sap/ui/export/messagebundle_sh.properties +5 -1
  51. package/src/sap/ui/export/messagebundle_sk.properties +5 -1
  52. package/src/sap/ui/export/messagebundle_sl.properties +5 -1
  53. package/src/sap/ui/export/messagebundle_sv.properties +5 -1
  54. package/src/sap/ui/export/messagebundle_th.properties +5 -1
  55. package/src/sap/ui/export/messagebundle_tr.properties +5 -1
  56. package/src/sap/ui/export/messagebundle_uk.properties +5 -1
  57. package/src/sap/ui/export/messagebundle_vi.properties +5 -1
  58. package/src/sap/ui/export/messagebundle_zh_CN.properties +5 -1
  59. package/src/sap/ui/export/messagebundle_zh_TW.properties +5 -1
  60. package/src/sap/ui/export/provider/DataProviderBase.js +1 -1
  61. package/src/sap/ui/export/themes/base/ExportUtils.less +1 -1
  62. package/src/sap/ui/export/themes/base/library.source.less +1 -1
  63. package/src/sap/ui/export/themes/sap_belize/library.source.less +1 -1
  64. package/src/sap/ui/export/themes/sap_belize_hcb/library.source.less +1 -1
  65. package/src/sap/ui/export/themes/sap_belize_hcw/library.source.less +1 -1
  66. package/src/sap/ui/export/themes/sap_belize_plus/library.source.less +1 -1
  67. package/src/sap/ui/export/themes/sap_bluecrystal/library.source.less +1 -1
  68. package/src/sap/ui/export/themes/sap_fiori_3/library.source.less +1 -1
  69. package/src/sap/ui/export/themes/sap_fiori_3_dark/library.source.less +1 -1
  70. package/src/sap/ui/export/themes/sap_fiori_3_hcb/library.source.less +1 -1
  71. package/src/sap/ui/export/themes/sap_fiori_3_hcw/library.source.less +1 -1
  72. package/src/sap/ui/export/themes/sap_hcb/library.source.less +1 -1
  73. package/src/sap/ui/export/themes/sap_horizon/library.source.less +1 -1
  74. package/src/sap/ui/export/themes/sap_horizon_dark/library.source.less +1 -1
  75. package/src/sap/ui/export/themes/sap_horizon_hcb/library.source.less +1 -1
  76. package/src/sap/ui/export/themes/sap_horizon_hcw/library.source.less +1 -1
  77. package/src/sap/ui/export/util/Filter.js +207 -0
@@ -43,7 +43,7 @@ FILTER_HEADER=Filtro
43
43
 
44
44
  ADD_DATE_TIME=Adicionar data e hora atuais ao nome do arquivo
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=Motivo
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF sendo gerado
77
77
 
78
+ PDF_GENERATION_ERROR=Ocorreu um erro durante a exporta\u00E7\u00E3o do PDF.
79
+
80
+ PDF_GENERIC_ERROR=Erro durante a exporta\u00E7\u00E3o do PDF
81
+
78
82
  FILENAME_ERROR=Voc\u00EA n\u00E3o pode utilizar nenhum dos seguintes caracteres em um nome do arquivo\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=Gerando arquivo...
@@ -43,7 +43,7 @@ FILTER_HEADER=Filtro
43
43
 
44
44
  ADD_DATE_TIME=Adicionar data e hora ao nome do ficheiro
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=Motivo
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF a ser gerado
77
77
 
78
+ PDF_GENERATION_ERROR=Ocorreu um erro durante a exporta\u00E7\u00E3o do PDF.
79
+
80
+ PDF_GENERIC_ERROR=Erro durante a exporta\u00E7\u00E3o do PDF
81
+
78
82
  FILENAME_ERROR=N\u00E3o pode utilizar nenhum dos seguintes carateres num nome de ficheiro\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=A gerar ficheiro...
@@ -43,7 +43,7 @@ FILTER_HEADER=Filtrare
43
43
 
44
44
  ADD_DATE_TIME=Ad\u0103ugare dat\u0103 \u0219i or\u0103 curent\u0103 la nume fi\u0219ier
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=Motiv
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF este \u00EEn curs de generare
77
77
 
78
+ PDF_GENERATION_ERROR=A ap\u0103rut o eroare la exportul PDF.
79
+
80
+ PDF_GENERIC_ERROR=Eroare la export PDF
81
+
78
82
  FILENAME_ERROR=Nu pute\u021Bi utiliza niciunul dintre urm\u0103toarele caractere \u00EEntr-un nume de fi\u0219ier\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=Generare fi\u0219ier...
@@ -75,6 +75,10 @@ SIGNATURE_REASON=\u041F\u0440\u0438\u0447\u0438\u043D\u0430
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044F
77
77
 
78
+ PDF_GENERATION_ERROR=\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0435 PDF.
79
+
80
+ PDF_GENERIC_ERROR=\u041E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0435 PDF
81
+
78
82
  FILENAME_ERROR=\u0412 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430 \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=\u0413\u0435\u043D\u0435\u0440\u0430\u0446\u0438\u044F \u0444\u0430\u0439\u043B\u0430...
@@ -43,7 +43,7 @@ FILTER_HEADER=Filter
43
43
 
44
44
  ADD_DATE_TIME=Dodaj teku\u0107i datum i vreme u naziv fajla
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=Razlog
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF se generi\u0161e
77
77
 
78
+ PDF_GENERATION_ERROR=Do\u0161lo je do gre\u0161ke tokom PDF izvoza.
79
+
80
+ PDF_GENERIC_ERROR=Gre\u0161ka tokom PDF izvoza
81
+
78
82
  FILENAME_ERROR=Ne mo\u017Eete koristiti nijedan od slede\u0107ih znakova u nazivu fajla\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=Generisanje fajla...
@@ -43,7 +43,7 @@ FILTER_HEADER=Filtrova\u0165
43
43
 
44
44
  ADD_DATE_TIME=Prida\u0165 aktu\u00E1lny d\u00E1tum a \u010Das k n\u00E1zvu s\u00FAboru
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Tabu\u013Eky Google
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=D\u00F4vod
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF sa generuje
77
77
 
78
+ PDF_GENERATION_ERROR=Po\u010Das exportu PDF sa vyskytla chyba.
79
+
80
+ PDF_GENERIC_ERROR=Chyba po\u010Das exportu PDF
81
+
78
82
  FILENAME_ERROR=V n\u00E1zve s\u00FAboru nem\u00F4\u017Eete pou\u017Ei\u0165 \u017Eiadny z nasledovn\u00FDch znakov\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=S\u00FAbor sa generuje...
@@ -43,7 +43,7 @@ FILTER_HEADER=Filter
43
43
 
44
44
  ADD_DATE_TIME=Dodajanje trenutnega datuma in \u010Dasa imenu datoteke
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=Razlog
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=Generiranje PDF-a poteka
77
77
 
78
+ PDF_GENERATION_ERROR=Pri\u0161lo je do napake pri izvozu v PDF.
79
+
80
+ PDF_GENERIC_ERROR=Napaka pri izvozu v PDF
81
+
78
82
  FILENAME_ERROR=V imenu datoteke ni dovoljeno uporabljati naslednjih znakov\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=Generiranje datoteke\u00A0...
@@ -43,7 +43,7 @@ FILTER_HEADER=Filter
43
43
 
44
44
  ADD_DATE_TIME=L\u00E4gg till aktuellt datum och klockslag till filnamnet
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel(.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google kalkylark
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=Orsak
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF genereras
77
77
 
78
+ PDF_GENERATION_ERROR=Ett fel intr\u00E4ffade vid PDF-export.
79
+
80
+ PDF_GENERIC_ERROR=Fel vid PDF-export
81
+
78
82
  FILENAME_ERROR=F\u00F6ljande tecken kan inte anv\u00E4ndas i filnamn\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=Genererar fil...
@@ -43,7 +43,7 @@ FILTER_HEADER=\u0E1F\u0E34\u0E25\u0E40\u0E15\u0E2D\u0E23\u0E4C
43
43
 
44
44
  ADD_DATE_TIME=\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E25\u0E30\u0E40\u0E27\u0E25\u0E32\u0E1B\u0E31\u0E08\u0E08\u0E38\u0E1A\u0E31\u0E19\u0E43\u0E19\u0E0A\u0E37\u0E48\u0E2D\u0E44\u0E1F\u0E25\u0E4C
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=\u0E40\u0E2B\u0E15\u0E38\u0E1C\u0E25
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E23\u0E49\u0E32\u0E07 PDF
77
77
 
78
+ PDF_GENERATION_ERROR=\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E40\u0E01\u0E34\u0E14\u0E02\u0E36\u0E49\u0E19\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15 PDF
79
+
80
+ PDF_GENERIC_ERROR=\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E47\u0E01\u0E0B\u0E4C\u0E1B\u0E2D\u0E23\u0E4C\u0E15 PDF
81
+
78
82
  FILENAME_ERROR=\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E43\u0E0A\u0E49\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E43\u0E14\u0E46\u0E15\u0E48\u0E2D\u0E44\u0E1B\u0E19\u0E35\u0E49\u0E43\u0E19\u0E0A\u0E37\u0E48\u0E2D\u0E44\u0E1F\u0E25\u0E4C\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E44\u0E1F\u0E25\u0E4C...
@@ -43,7 +43,7 @@ FILTER_HEADER=Filtrele
43
43
 
44
44
  ADD_DATE_TIME=Dosya ad\u0131na ge\u00E7erli tarih ve saat ekle
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google E-Tablolar
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=Neden
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF \u00FCretiliyor
77
77
 
78
+ PDF_GENERATION_ERROR=PDF d\u0131\u015Fa aktar\u0131m\u0131 s\u0131ras\u0131nda hata olu\u015Ftu
79
+
80
+ PDF_GENERIC_ERROR=PDF d\u0131\u015Fa aktar\u0131m\u0131 s\u0131ras\u0131nda hata
81
+
78
82
  FILENAME_ERROR=\u015Eu karakterleri dosya ad\u0131nda kullanamazs\u0131n\u0131z\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=Dosya \u00FCretiliyor...
@@ -43,7 +43,7 @@ FILTER_HEADER=\u0424\u0456\u043B\u044C\u0442\u0440
43
43
 
44
44
  ADD_DATE_TIME=\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u043E\u0442\u043E\u0447\u043D\u0443 \u0434\u0430\u0442\u0443 \u0456 \u0447\u0430\u0441 \u0434\u043E \u0456\u043C\u0435\u043D\u0456 \u0444\u0430\u0439\u043B\u0443
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=\u041F\u0440\u0438\u0447\u0438\u043D\u0430
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=PDF \u0433\u0435\u043D\u0435\u0440\u0443\u0454\u0442\u044C\u0441\u044F
77
77
 
78
+ PDF_GENERATION_ERROR=\u0421\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430 \u043F\u0456\u0434 \u0447\u0430\u0441 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0443 PDF.
79
+
80
+ PDF_GENERIC_ERROR=\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u043F\u0456\u0434 \u0447\u0430\u0441 \u0435\u043A\u0441\u043F\u043E\u0440\u0442\u0443 PDF
81
+
78
82
  FILENAME_ERROR=\u041D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0436\u043E\u0434\u043D\u0456 \u0437 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432 \u0432 \u0456\u043C\u0435\u043D\u0456 \u0444\u0430\u0439\u043B\u0443\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=\u0413\u0435\u043D\u0435\u0440\u0443\u0432\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0443...
@@ -43,7 +43,7 @@ FILTER_HEADER=B\u00F4\u0323 lo\u0323c
43
43
 
44
44
  ADD_DATE_TIME=Th\u00EAm nga\u0300y va\u0300 gi\u01A1\u0300 hi\u00EA\u0323n ta\u0323i va\u0300o t\u00EAn t\u00E2\u0323p tin
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=Ly\u0301 do
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=\u0110ang ta\u0323o PDF
77
77
 
78
+ PDF_GENERATION_ERROR=\u0110a\u0303 co\u0301 l\u00F4\u0303i trong lu\u0301c xu\u00E2\u0301t PDF.
79
+
80
+ PDF_GENERIC_ERROR=L\u00F4\u0303i trong lu\u0301c xu\u00E2\u0301t PDF
81
+
78
82
  FILENAME_ERROR=Ba\u0323n kh\u00F4ng th\u00EA\u0309 s\u01B0\u0309 du\u0323ng b\u00E2\u0301t ky\u0300 ky\u0301 t\u01B0\u0323 na\u0300o sau \u0111\u00E2y trong t\u00EAn t\u00E2\u0323p tin\: \\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=\u0110ang ta\u0323o t\u00E2\u0323p tin...
@@ -43,7 +43,7 @@ FILTER_HEADER=\u8FC7\u6EE4\u5668
43
43
 
44
44
  ADD_DATE_TIME=\u7ED9\u6587\u4EF6\u540D\u6DFB\u52A0\u5F53\u524D\u65E5\u671F\u548C\u65F6\u95F4
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=\u539F\u56E0
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=\u6B63\u5728\u751F\u6210 PDF
77
77
 
78
+ PDF_GENERATION_ERROR=PDF \u5BFC\u51FA\u671F\u95F4\u6709\u9519\u8BEF\u3002
79
+
80
+ PDF_GENERIC_ERROR=PDF \u5BFC\u51FA\u671F\u95F4\u51FA\u9519
81
+
78
82
  FILENAME_ERROR=\u4E0D\u80FD\u5728\u6587\u4EF6\u540D\u79F0\u4E2D\u4F7F\u7528\u4EE5\u4E0B\u4EFB\u4F55\u5B57\u7B26\uFF1A\\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=\u6B63\u5728\u751F\u6210\u6587\u4EF6...
@@ -43,7 +43,7 @@ FILTER_HEADER=\u7BE9\u9078
43
43
 
44
44
  ADD_DATE_TIME=\u5C07\u76EE\u524D\u65E5\u671F\u548C\u6642\u9593\u52A0\u5230\u6A94\u6848\u540D\u7A31
45
45
 
46
- XLSX_FILETYPE=Microsoft Excel (.xlsx)
46
+ XLSX_FILETYPE=Microsoft Excel (*.xlsx)
47
47
 
48
48
  GSHEET_FILETYPE=Google Sheets
49
49
 
@@ -75,6 +75,10 @@ SIGNATURE_REASON=\u539F\u56E0
75
75
 
76
76
  PDF_GENERATION_IN_PROGRESS=\u6B63\u5728\u7522\u751F PDF
77
77
 
78
+ PDF_GENERATION_ERROR=PDF \u532F\u51FA\u671F\u9593\u767C\u751F\u932F\u8AA4\u3002
79
+
80
+ PDF_GENERIC_ERROR=PDF \u532F\u51FA\u671F\u9593\u767C\u751F\u932F\u8AA4
81
+
78
82
  FILENAME_ERROR=\u60A8\u4E0D\u80FD\u5728\u6A94\u6848\u540D\u7A31\u4E2D\u4F7F\u7528\u4E0B\u5217\u4EFB\u4F55\u4E00\u500B\u5B57\u5143\uFF1A\\ / \: * ? " < > |
79
83
 
80
84
  PROGRESS_BUNDLE_MSG=\u6B63\u5728\u7522\u751F\u6A94\u6848...
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  (function(fClass) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  .sapUiExportSettings .sapUiExportSettingsLabel > .sapMLabel::after {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../../../../../sap/ui/core/themes/base/base.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../sap_belize/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  @import "../base/library.source.less";
@@ -0,0 +1,207 @@
1
+ /*!
2
+ * SAPUI5
3
+ * (c) Copyright 2009-2023 SAP SE. All rights reserved.
4
+ */
5
+ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
6
+ 'use strict';
7
+
8
+ /**
9
+ * Representation of filter settings that are used for exporting.
10
+ *
11
+ * @param {string} sProperty Name of the technical filter property
12
+ * @param {object|object[]} vRawFilter Raw filter object
13
+ * @param {string} vRawFilter.operator Filter operator
14
+ * @param {string|string[]} vRawFilter.value Filter value(s)
15
+ * @param {boolean} [vRawFilter.exclude] Defines whether it is an exclude filter
16
+ * @param {string} [sLabel] Optional label for the filter property
17
+ *
18
+ * @constructor The <code>sap.ui.export.util.Filter</code> class represents filter settings that are used for the export.
19
+ * It provides the capability to have a visual representation of the filters in the exported document and offers
20
+ * convenience functions like <code>sap.ui.export.util.Filter#setType</code> to improve the result.
21
+ *
22
+ * @author SAP SE
23
+ * @version 1.110.0
24
+ *
25
+ * @since 1.110
26
+ * @name sap.ui.export.util.Filter
27
+ * @extends sap.ui.base.Object
28
+ * @public
29
+ */
30
+ var Filter = BaseObject.extend('sap.ui.export.util.Filter', {
31
+ constructor: function(sProperty, vRawFilter, sLabel) {
32
+ this.property = sProperty;
33
+ this.rawValues = Array.isArray(vRawFilter) ? vRawFilter : [vRawFilter];
34
+ this.label = typeof sLabel === 'string' ? sLabel : undefined;
35
+ }
36
+ });
37
+
38
+ /**
39
+ * Returns the technical name of the property on which the filter
40
+ * is applied.
41
+ *
42
+ * @returns {string} Name of the property
43
+ *
44
+ * @since 1.110
45
+ * @public
46
+ */
47
+ Filter.prototype.getProperty = function() {
48
+ return this.property;
49
+ };
50
+
51
+ /**
52
+ * Returns the filter label if available. Otherwise the name
53
+ * of the filter property will be returned.
54
+ *
55
+ * @returns {string} Filter label
56
+ *
57
+ * @since 1.110
58
+ * @public
59
+ */
60
+ Filter.prototype.getLabel = function() {
61
+ return this.label || this.property;
62
+ };
63
+
64
+ /**
65
+ * Returns the formatted filter value(s) as string. If there are
66
+ * multiple filters for the same property, which are combined via
67
+ * <code>OR</code>, it will return a semicolon-separated list of the
68
+ * filter values including their operators.
69
+ *
70
+ * @returns {string} Formatted and semicolon-separated filter settings
71
+ *
72
+ * @since 1.110
73
+ * @public
74
+ */
75
+ Filter.prototype.getValue = function() {
76
+ var aFormattedValues, fnFormat;
77
+
78
+ aFormattedValues = [];
79
+ fnFormat = this.type ? this.format || this.type.formatValue.bind(this.type) : this.format;
80
+
81
+ this.getRawValues().forEach(function(oRawFilter) {
82
+ var vValue = oRawFilter.value;
83
+
84
+ /* Apply format */
85
+ if (typeof fnFormat === 'function') {
86
+ if (Array.isArray(oRawFilter.value)) {
87
+ vValue = [];
88
+ oRawFilter.value.forEach(function(sVal) {
89
+ try {
90
+ vValue.push(fnFormat(sVal, 'string')); // Pass output type in case SimpleType.formatValue is being used
91
+ } catch (oError) {
92
+ vValue.push(sVal); // Ignore error and use raw value instead
93
+ }
94
+ });
95
+ } else {
96
+ try {
97
+ vValue = fnFormat(oRawFilter.value, 'string'); // Pass output type in case SimpleType.formatValue is being used
98
+ } catch (oError) { /* No action */}
99
+ }
100
+ }
101
+
102
+ /* Append filter operator */
103
+ switch (oRawFilter.operator) {
104
+ case '==':
105
+ vValue = '=' + vValue;
106
+ break;
107
+ case 'between':
108
+ vValue = vValue[0] + '...' + vValue[1];
109
+ break;
110
+ case 'contains':
111
+ vValue = '*' + vValue + '*';
112
+ break;
113
+ case 'endswith':
114
+ vValue = '*' + vValue;
115
+ break;
116
+ case 'startswith':
117
+ vValue += '*';
118
+ break;
119
+ default:
120
+ vValue = oRawFilter.operator + vValue;
121
+ }
122
+
123
+ if (oRawFilter.exclude) {
124
+ vValue = '!' + vValue;
125
+ }
126
+
127
+ aFormattedValues.push(vValue);
128
+ });
129
+
130
+ return aFormattedValues.join('; ');
131
+ };
132
+
133
+ /**
134
+ * Returns an Array of raw filter settings
135
+ *
136
+ * @returns {Array} The raw filter settings
137
+ *
138
+ * @private
139
+ */
140
+ Filter.prototype.getRawValues = function() {
141
+ return this.rawValues;
142
+ };
143
+
144
+ /**
145
+ * Uses the given format function to format all filter values.
146
+ * The function has to accept a single parameter of type <code>string</code>
147
+ * and needs to return a string value. The function will be called
148
+ * for every single raw value without the corresponding filter
149
+ * operator.
150
+ *
151
+ * If there is a "between" filter, the function will be called
152
+ * twice. In case of an error, the function call will be skipped,
153
+ * and the raw value will be taken instead.
154
+ *
155
+ * The format function has priority over the type-dependent format.
156
+ * To reset the format function and return to type-dependent
157
+ * formatting, the format function needs to be set to <code>null</code>.
158
+ *
159
+ * @param {function} fnFormat Format function that will be applied to the raw values
160
+ *
161
+ * @since 1.110
162
+ * @public
163
+ */
164
+ Filter.prototype.setFormat = function(fnFormat) {
165
+ if (typeof fnFormat !== 'function' && fnFormat !== null) {
166
+ return;
167
+ }
168
+
169
+ this.format = fnFormat;
170
+ };
171
+
172
+ /**
173
+ * Takes the given string as label of the filter.
174
+ *
175
+ * @param {string} sLabel Filter label
176
+ *
177
+ * @since 1.110
178
+ * @public
179
+ *
180
+ */
181
+ Filter.prototype.setLabel = function(sLabel) {
182
+ if (typeof sLabel !== 'string' || !sLabel) {
183
+ return;
184
+ }
185
+
186
+ this.label = sLabel;
187
+ };
188
+
189
+ /**
190
+ * Uses the given <code>sap.ui.model.SimpleType</code> instance
191
+ * to format the filter values accordingly.
192
+ *
193
+ * @param {sap.ui.model.SimpleType} oType Type instance that is used for formatting
194
+ *
195
+ * @since 1.110
196
+ * @public
197
+ */
198
+ Filter.prototype.setType = function(oType) {
199
+ if (!oType || typeof oType.isA !== 'function' || !oType.isA('sap.ui.model.SimpleType')) {
200
+ return;
201
+ }
202
+
203
+ this.type = oType;
204
+ };
205
+
206
+ return Filter;
207
+ }, /* bExport= */ true);