@sapui5/sap.suite.ui.generic.template 1.135.0 → 1.136.1
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/package.json +1 -1
- package/src/sap/suite/ui/generic/template/.library +2 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/Component.js +9 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/SmartKpiTag.js +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +9 -7
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n.properties +4 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ar.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_bg.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ca.properties +4 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cnr.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cs.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cy.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_da.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_de.properties +8 -6
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_el.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_GB.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es_MX.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_et.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fi.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr_CA.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hi.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hr.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hu.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_id.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_it.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_iw.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ja.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_kk.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ko.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lt.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lv.properties +4 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_mk.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ms.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_nl.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_no.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pl.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt_PT.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ro.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ru.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sh.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sl.properties +6 -4
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sr.properties +2 -0
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sv.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_th.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_tr.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_uk.properties +4 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_vi.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_CN.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_TW.properties +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +6 -5
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/AnalyticalListPage.view.xml +1 -1
- package/src/sap/suite/ui/generic/template/Canvas/extensionAPI/ExtensionAPI.js +6 -4
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +2 -3
- package/src/sap/suite/ui/generic/template/ListReport/Component.js +12 -1
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +19 -1
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +3 -1
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +3 -1
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +8 -6
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +4 -2
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +8 -9
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultiEditDialog.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +14 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/Component.js +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +35 -7
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +82 -18
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +14 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +12 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +3 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +10 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +10 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +10 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +8 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +10 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +9 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +15 -14
- package/src/sap/suite/ui/generic/template/ObjectPage/templateSpecificPreparationHelper.js +6 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/Details.view.xml +13 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/PageLevelCommands.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Sections.fragment.xml +4 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +6 -3
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/designtime/controls/DynamicPage.designtime.js +13 -12
- package/src/sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime.js +9 -8
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartFilterBar.designtime.js +12 -10
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +61 -22
- package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js +2 -11
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ListReport.designtime.js +2 -11
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ObjectPage.designtime.js +2 -11
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeHelper.js +6 -2
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeUtils.js +6 -5
- package/src/sap/suite/ui/generic/template/fragments/EasyFilter.fragment.xml +8 -7
- package/src/sap/suite/ui/generic/template/fragments/MessagePage.view.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +4 -4
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +27 -27
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +36 -2
- package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +39 -2
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +6 -5
- package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +25 -13
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +5 -5
- package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +4 -0
- package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +3 -1
- package/src/sap/suite/ui/generic/template/lib/RestoreFocusHelper.js +66 -0
- package/src/sap/suite/ui/generic/template/lib/StatePreserver.js +5 -2
- package/src/sap/suite/ui/generic/template/lib/TemplateAssembler.js +5 -4
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +193 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +163 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +109 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +109 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +109 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +109 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +108 -1
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +37 -35
- package/src/sap/suite/ui/generic/template/lib/navigation/startupParameterHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/library.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/controller/SmartChartController.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +6 -3
- package/src/sap/suite/ui/generic/template/themes/base/ALPConstants.less +3 -4
- package/src/sap/suite/ui/generic/template/themes/base/AnalyticalListPage.less +12 -213
- package/src/sap/suite/ui/generic/template/themes/base/ListReport.less +1 -6
- package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +15 -27
- package/src/sap/suite/ui/generic/template/themes/sap_belize/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ALPConstants.less +3 -4
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/AnalyticalListPage.less +12 -212
- package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ListReport.less +1 -6
- package/src/sap/suite/ui/generic/template/themes/sap_belize_hcb/AnalyticalListPage.less +0 -6
- package/src/sap/suite/ui/generic/template/themes/sap_belize_hcb/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_belize_hcw/AnalyticalListPage.less +0 -6
- package/src/sap/suite/ui/generic/template/themes/sap_belize_hcw/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ALPConstants.less +3 -4
- package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/AnalyticalListPage.less +14 -213
- package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ListReport.less +1 -7
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3/ObjectPage.less +1 -2
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_dark/ObjectPage.less +1 -2
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/AnalyticalListPage.less +1 -6
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/ObjectPage.less +2 -2
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/AnalyticalListPage.less +1 -6
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/ObjectPage.less +2 -2
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_hcb/ALPConstants.less +3 -4
- package/src/sap/suite/ui/generic/template/themes/sap_hcb/AnalyticalListPage.less +1 -33
- package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_AnalyticalListPage.less +15 -214
- package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ListReport.less +1 -6
- package/src/sap/suite/ui/generic/template/themes/sap_hcb/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_horizon/ObjectPage.less +1 -2
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_dark/ObjectPage.less +1 -2
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/AnalyticalListPage.less +0 -6
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/ObjectPage.less +2 -2
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/AnalyticalListPage.less +0 -6
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/ObjectPage.less +2 -2
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/library.source.less +0 -1
- package/src/sap/suite/ui/generic/template/themes/sap_belize/ListReport.less +0 -3
- package/src/sap/suite/ui/generic/template/themes/sap_belize_hcb/ListReport.less +0 -8
- package/src/sap/suite/ui/generic/template/themes/sap_belize_hcw/ListReport.less +0 -8
- package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal/ListReport.less +0 -3
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/ListReport.less +0 -8
- package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/ListReport.less +0 -8
- package/src/sap/suite/ui/generic/template/themes/sap_hcb/ListReport.less +0 -3
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/ListReport.less +0 -8
- package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/ListReport.less +0 -8
|
@@ -155,6 +155,12 @@ sap.ui.define([
|
|
|
155
155
|
case "selectionLimit":
|
|
156
156
|
mPropertyValues[sProperty] = oTableSettings.selectionLimit ?? oSetting.value;
|
|
157
157
|
break;
|
|
158
|
+
case "threshold":
|
|
159
|
+
mPropertyValues[sProperty] = oTableSettings.threshold ?? oSetting.value;
|
|
160
|
+
break;
|
|
161
|
+
case "scrollThreshold":
|
|
162
|
+
mPropertyValues[sProperty] = oTableSettings.scrollThreshold ?? oSetting.value;
|
|
163
|
+
break;
|
|
158
164
|
default:
|
|
159
165
|
break;
|
|
160
166
|
}
|
|
@@ -170,12 +176,11 @@ sap.ui.define([
|
|
|
170
176
|
if (!oSmartTable.isA("sap.ui.comp.smarttable.SmartTable")) {
|
|
171
177
|
throw new Error("The SmartTable control could not be found");
|
|
172
178
|
}
|
|
173
|
-
|
|
174
179
|
const oResourceModel = oSmartTable.getModel("i18n");
|
|
175
180
|
const oComponent = designtimeUtils.getOwnerComponentFor(oSmartTable);
|
|
176
181
|
const sComponentName = oComponent.getMetadata().getComponentName();
|
|
177
182
|
// Get the allowed designtime settings for the SmartTable
|
|
178
|
-
const aAllDesigntimeSettings = getAllDesigntimeSettings(oSmartTable);
|
|
183
|
+
const aAllDesigntimeSettings = getAllDesigntimeSettings(oSmartTable, oControl);
|
|
179
184
|
|
|
180
185
|
/**
|
|
181
186
|
* @type {DesigntimeSetting[]}
|
|
@@ -215,8 +220,8 @@ sap.ui.define([
|
|
|
215
220
|
};
|
|
216
221
|
const aChangeScopeOption = [
|
|
217
222
|
{
|
|
218
|
-
label: "
|
|
219
|
-
tooltip:
|
|
223
|
+
label: oResourceModel.getResourceBundle().getText("RTA_SCOPE_OF_THE_CHANGES"),
|
|
224
|
+
tooltip: oResourceModel.getResourceBundle().getText("RTA_SCOPE_OF_THE_CHANGES_TOOLTIP"),
|
|
220
225
|
control: [
|
|
221
226
|
oScopeControlData
|
|
222
227
|
]
|
|
@@ -312,17 +317,20 @@ sap.ui.define([
|
|
|
312
317
|
|
|
313
318
|
/**
|
|
314
319
|
* Retrieves the designtime settings for the SmartTable.
|
|
315
|
-
* @param {
|
|
320
|
+
* @param {sap.ui.core.Control} oControl - The control for which the dialog should be opened.
|
|
321
|
+
* @param {object} oSmartTable
|
|
316
322
|
* @returns {DesigntimeSetting[]} - The designtime settings for the SmartTable.
|
|
317
323
|
*/
|
|
318
|
-
let getAllDesigntimeSettings = function getAllDesigntimeSettings(oSmartTable) {
|
|
324
|
+
let getAllDesigntimeSettings = function getAllDesigntimeSettings(oSmartTable, oControl) {
|
|
325
|
+
let oResourceBundle = oControl.getModel("i18n").getResourceBundle();
|
|
326
|
+
|
|
319
327
|
/**
|
|
320
328
|
* @type {DesigntimeSetting}
|
|
321
329
|
*/
|
|
322
330
|
const tableType = {
|
|
323
331
|
id: "type",
|
|
324
|
-
name:
|
|
325
|
-
description:
|
|
332
|
+
name: oResourceBundle.getText('RTA_TABLE_TYPE_CONFIG'),
|
|
333
|
+
description: oResourceBundle.getText('RTA_TABLE_TYPE_DESC_CONFIG'),
|
|
326
334
|
value: "ResponsiveTable",
|
|
327
335
|
type: "string",
|
|
328
336
|
getPath: getPathForTableSettings("type"),
|
|
@@ -342,8 +350,8 @@ sap.ui.define([
|
|
|
342
350
|
|
|
343
351
|
const selectionMode = {
|
|
344
352
|
id: "multiSelect",
|
|
345
|
-
name:
|
|
346
|
-
description:
|
|
353
|
+
name: oResourceBundle.getText('RTA_SELECTION_MODE'),
|
|
354
|
+
description: oResourceBundle.getText('RTA_SELECTION_MODE_DESC'),
|
|
347
355
|
value: false,
|
|
348
356
|
type: "booleanOrString",
|
|
349
357
|
getPath: getPathForTableSettings("multiSelect"),
|
|
@@ -360,8 +368,8 @@ sap.ui.define([
|
|
|
360
368
|
*/
|
|
361
369
|
const selectAll = {
|
|
362
370
|
id: "selectAll",
|
|
363
|
-
name:
|
|
364
|
-
description:
|
|
371
|
+
name: oResourceBundle.getText('RTA_SELECT_ALL'),
|
|
372
|
+
description: oResourceBundle.getText('RTA_SELECT_ALL_DESC'),
|
|
365
373
|
value: false,
|
|
366
374
|
type: "boolean",
|
|
367
375
|
getPath: getPathForTableSettings("selectAll"),
|
|
@@ -374,8 +382,8 @@ sap.ui.define([
|
|
|
374
382
|
*/
|
|
375
383
|
const createMode = {
|
|
376
384
|
id: "createMode",
|
|
377
|
-
name:
|
|
378
|
-
description:
|
|
385
|
+
name: oResourceBundle.getText('RTA_CREATE_MODE'),
|
|
386
|
+
description: oResourceBundle.getText('RTA_CREATE_MODE_DESC'),
|
|
379
387
|
value: "creationRows",
|
|
380
388
|
type: "string",
|
|
381
389
|
getPath: (mSmartTableInfo) => `component/settings/sections/${mSmartTableInfo.sSectionKey}/createMode`,
|
|
@@ -395,8 +403,8 @@ sap.ui.define([
|
|
|
395
403
|
*/
|
|
396
404
|
const condensedTableLayout = {
|
|
397
405
|
id: "condensedTableLayout",
|
|
398
|
-
name:
|
|
399
|
-
description:
|
|
406
|
+
name: oResourceBundle.getText('RTA_CONDENSED_TABLE_LAYOUT'),
|
|
407
|
+
description: oResourceBundle.getText('RTA_CONDENSED_TABLE_LAYOUT_DESC'),
|
|
400
408
|
value: false,
|
|
401
409
|
type: "boolean",
|
|
402
410
|
getPath: () => "component/settings/condensedTableLayout",
|
|
@@ -409,8 +417,8 @@ sap.ui.define([
|
|
|
409
417
|
*/
|
|
410
418
|
const widthIncludingColumnHeader = {
|
|
411
419
|
id: "widthIncludingColumnHeader",
|
|
412
|
-
name:
|
|
413
|
-
description:
|
|
420
|
+
name: oResourceBundle.getText('RTA_WIDTH_INCLUDING_COLUMN_HEADER'),
|
|
421
|
+
description: oResourceBundle.getText('RTA_WIDTH_INCLUDING_COLUMN_HEADER_DESC'),
|
|
414
422
|
value: false,
|
|
415
423
|
type: "boolean",
|
|
416
424
|
getPath: getPathForTableSettings("widthIncludingColumnHeader"),
|
|
@@ -424,8 +432,8 @@ sap.ui.define([
|
|
|
424
432
|
*/
|
|
425
433
|
const addCardtoInsightsHidden = {
|
|
426
434
|
id: "addCardtoInsightsHidden",
|
|
427
|
-
name:
|
|
428
|
-
description:
|
|
435
|
+
name: oResourceBundle.getText('RTA_DISABLE_ADD_CARD_TO_INSIGHTS'),
|
|
436
|
+
description: oResourceBundle.getText('RTA_DISABLE_ADD_CARD_TO_INSIGHTS_DESC'),
|
|
429
437
|
value: false,
|
|
430
438
|
type: "boolean",
|
|
431
439
|
getPath: getPathForTableSettings("addCardtoInsightsHidden"),
|
|
@@ -438,14 +446,43 @@ sap.ui.define([
|
|
|
438
446
|
*/
|
|
439
447
|
const selectionLimit = {
|
|
440
448
|
id: "selectionLimit",
|
|
441
|
-
name:
|
|
442
|
-
description:
|
|
449
|
+
name: oResourceBundle.getText('RTA_SELECTION_LIMIT'),
|
|
450
|
+
description: oResourceBundle.getText('RTA_SELECTION_LIMIT_DESC'),
|
|
443
451
|
value: 300,
|
|
444
452
|
type: "number",
|
|
445
453
|
getPath: getPathForTableSettings("selectionLimit"),
|
|
446
454
|
keyUser: true
|
|
447
455
|
};
|
|
448
456
|
|
|
457
|
+
/**
|
|
458
|
+
* @type {DesigntimeSetting}
|
|
459
|
+
*/
|
|
460
|
+
const threshold = {
|
|
461
|
+
id: "threshold",
|
|
462
|
+
name: oResourceBundle.getText('RTA_THRESHOLD_FOR_TABLE_CONFIG'),
|
|
463
|
+
description: oResourceBundle.getText('RTA_THRESHOLD_DESC_FOR_TABLE_CONFIG'),
|
|
464
|
+
value: 100,
|
|
465
|
+
type: "number",
|
|
466
|
+
getPath: getPathForTableSettings("threshold"),
|
|
467
|
+
// bSupportsGlobalScope: true,
|
|
468
|
+
// bGlobalSettingsOnly: true,
|
|
469
|
+
keyUser: true
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* @type {DesigntimeSetting}
|
|
474
|
+
*/
|
|
475
|
+
const scrollThreshold = {
|
|
476
|
+
id: "scrollThreshold",
|
|
477
|
+
name: oResourceBundle.getText('RTA_SCROLLTHRESHOLD_FOR_TABLE_CONFIG'),
|
|
478
|
+
description: oResourceBundle.getText('RTA_SCROLLTHRESHOLD_DESC_FOR_TABLE_CONFIG'),
|
|
479
|
+
value: 300,
|
|
480
|
+
type: "number",
|
|
481
|
+
getPath: getPathForTableSettings("scrollThreshold"),
|
|
482
|
+
// bSupportsGlobalScope: true,
|
|
483
|
+
// bGlobalSettingsOnly: true,
|
|
484
|
+
keyUser: true
|
|
485
|
+
};
|
|
449
486
|
const designtimeSettings = [
|
|
450
487
|
tableType,
|
|
451
488
|
condensedTableLayout,
|
|
@@ -454,6 +491,8 @@ sap.ui.define([
|
|
|
454
491
|
selectAll,
|
|
455
492
|
createMode,
|
|
456
493
|
selectionLimit,
|
|
494
|
+
threshold,
|
|
495
|
+
scrollThreshold,
|
|
457
496
|
addCardtoInsightsHidden
|
|
458
497
|
];
|
|
459
498
|
|
package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js
CHANGED
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
},
|
|
27
27
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
28
28
|
properties: ["useExportToExcel", "showRowCount", "exportType", "showTablePersonalisation"],
|
|
29
|
-
actions: ["settings"]
|
|
29
|
+
actions: ["settings", "annotation"]
|
|
30
30
|
},
|
|
31
31
|
"sap.ui.table.AnalyticalColumn": {
|
|
32
32
|
properties: ["visible", "width", "autoResizable", "inResult", "resizable", "showSortMenuEntry", "sortOrder", "sorted", "summed"]
|
|
@@ -52,15 +52,6 @@ sap.ui.define([
|
|
|
52
52
|
},
|
|
53
53
|
"sap.ui.table.Column": {
|
|
54
54
|
properties: ["width", "hAlign"]
|
|
55
|
-
},
|
|
56
|
-
"sap.ui.table.Table": {
|
|
57
|
-
properties: ["scrollThreshold"]
|
|
58
|
-
},
|
|
59
|
-
"sap.ui.table.AnalyticalTable": {
|
|
60
|
-
properties: ["scrollThreshold"]
|
|
61
|
-
},
|
|
62
|
-
"sap.ui.table.TreeTable": {
|
|
63
|
-
properties: ["scrollThreshold"]
|
|
64
55
|
}
|
|
65
56
|
};
|
|
66
57
|
|
|
@@ -97,7 +88,7 @@ sap.ui.define([
|
|
|
97
88
|
actions: ["compVariant", "annotation"]
|
|
98
89
|
},
|
|
99
90
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
100
|
-
actions: ["compVariant"] // allows table personalization (same as for end user)
|
|
91
|
+
actions: ["compVariant", "annotation"] // allows table personalization (same as for end user)
|
|
101
92
|
},
|
|
102
93
|
"sap.ui.comp.smartchart.SmartChart": {
|
|
103
94
|
actions: ["compVariant"] // allows table personalization (same as for end user)
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
},
|
|
24
24
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
25
25
|
properties: ["useExportToExcel"],
|
|
26
|
-
actions: ["settings"]
|
|
26
|
+
actions: ["settings", "annotation"]
|
|
27
27
|
},
|
|
28
28
|
"sap.m.Table": {
|
|
29
29
|
properties: ["popinLayout", "includeItemInSelection", "growingThreshold", "rememberSelections"]
|
|
@@ -54,15 +54,6 @@ sap.ui.define([
|
|
|
54
54
|
},
|
|
55
55
|
"sap.m.IconTabFilter": {
|
|
56
56
|
properties: ["text"]
|
|
57
|
-
},
|
|
58
|
-
"sap.ui.table.Table": {
|
|
59
|
-
properties: ["scrollThreshold"]
|
|
60
|
-
},
|
|
61
|
-
"sap.ui.table.AnalyticalTable": {
|
|
62
|
-
properties: ["scrollThreshold"]
|
|
63
|
-
},
|
|
64
|
-
"sap.ui.table.TreeTable": {
|
|
65
|
-
properties: ["scrollThreshold"]
|
|
66
57
|
}
|
|
67
58
|
};
|
|
68
59
|
|
|
@@ -162,7 +153,7 @@ sap.ui.define([
|
|
|
162
153
|
actions: ["compVariant", "annotation"]
|
|
163
154
|
},
|
|
164
155
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
165
|
-
actions: ["compVariant"] // allows table personalization (same as for end user)
|
|
156
|
+
actions: ["compVariant", "annotation"] // allows table personalization (same as for end user)
|
|
166
157
|
},
|
|
167
158
|
"sap.ui.comp.smartchart.SmartChart": {
|
|
168
159
|
actions: ["compVariant"] // allows table personalization (same as for end user)
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
},
|
|
41
41
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
42
42
|
properties: ["useExportToExcel", "editable", "showPasteButton"],
|
|
43
|
-
actions: ["settings"]
|
|
43
|
+
actions: ["settings", "annotation"]
|
|
44
44
|
},
|
|
45
45
|
"sap.m.Table": {
|
|
46
46
|
properties: ["growingThreshold", "popinLayout", "includeItemInSelection", "rememberSelections"] // growingThreshold should not be possible in single section with single subsection
|
|
@@ -64,15 +64,6 @@ sap.ui.define([
|
|
|
64
64
|
actions: ["move"]
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
},
|
|
68
|
-
"sap.ui.table.Table": {
|
|
69
|
-
properties: ["scrollThreshold"]
|
|
70
|
-
},
|
|
71
|
-
"sap.ui.table.AnalyticalTable": {
|
|
72
|
-
properties: ["scrollThreshold"]
|
|
73
|
-
},
|
|
74
|
-
"sap.ui.table.TreeTable": {
|
|
75
|
-
properties: ["scrollThreshold"]
|
|
76
67
|
}
|
|
77
68
|
};
|
|
78
69
|
|
|
@@ -250,7 +241,7 @@ sap.ui.define([
|
|
|
250
241
|
actions: ["compVariant"] // allows to adapt filters (same as adapt filters for end user)
|
|
251
242
|
},
|
|
252
243
|
"sap.ui.comp.smarttable.SmartTable": {
|
|
253
|
-
actions: ["compVariant"] // allows table personalization (same as for end user)
|
|
244
|
+
actions: ["compVariant", "annotation"] // allows table personalization (same as for end user)
|
|
254
245
|
},
|
|
255
246
|
"sap.ui.comp.smartchart.SmartChart": {
|
|
256
247
|
actions: ["compVariant"] // allows table personalization (same as for end user)
|
|
@@ -334,10 +334,14 @@ sap.ui.define([
|
|
|
334
334
|
propagateMetadata: function (oElement) {
|
|
335
335
|
// propagateMetadata is also called for (reuse) components - but they don't have a method getElementName. Anyway, no need to provide (modified) designtime in this case, so just
|
|
336
336
|
// ignore.
|
|
337
|
-
|
|
337
|
+
if (!oElement.getMetadata().getElementName) {
|
|
338
|
+
return null;
|
|
339
|
+
}
|
|
340
|
+
var sElementName = oElement.getMetadata().getElementName();
|
|
341
|
+
var oReducedDesigntime = getReducedDesignTime(oElement, mAllow[sElementName]);
|
|
338
342
|
|
|
339
343
|
var oCustomDesigntime = {};
|
|
340
|
-
switch (
|
|
344
|
+
switch (sElementName) {
|
|
341
345
|
case "sap.uxap.ObjectPageLayout":
|
|
342
346
|
oCustomDesigntime = ObjectPageLayoutDesigntimeHelper.getDesigntime(
|
|
343
347
|
oElement
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/base/util/ObjectPath",
|
|
10
10
|
"sap/ui/core/Component",
|
|
11
|
+
"sap/ui/core/message/MessageType",
|
|
11
12
|
"sap/suite/ui/generic/template/genericUtilities/testableHelper"
|
|
12
|
-
], function (ObjectPath, Component, testableHelper) {
|
|
13
|
+
], function (ObjectPath, Component, MessageType, testableHelper) {
|
|
13
14
|
"use strict";
|
|
14
15
|
/**
|
|
15
16
|
* Creates the adaptation dialog content based on the provided settings, property values, and unchanged data.
|
|
@@ -301,17 +302,17 @@ sap.ui.define([
|
|
|
301
302
|
"sap/m/Button",
|
|
302
303
|
"sap/m/MessageStrip"
|
|
303
304
|
], function (Dialog, Button, MessageStrip) {
|
|
304
|
-
const
|
|
305
|
-
type:
|
|
305
|
+
const warningText = new MessageStrip({
|
|
306
|
+
type: MessageType.Warning,
|
|
306
307
|
showIcon: true,
|
|
307
308
|
text: "{i18n>RTA_CONFIGURATION_INFO_MESSAGE}"
|
|
308
309
|
});
|
|
309
|
-
|
|
310
|
+
warningText.addStyleClass("sapUiSmallMarginBottom");
|
|
310
311
|
const dialog = new Dialog({
|
|
311
312
|
title: title,
|
|
312
313
|
contentWidth: size ? size.width : "550px",
|
|
313
314
|
contentHeight: size ? size.height : "300px",
|
|
314
|
-
content: [
|
|
315
|
+
content: [warningText, list],
|
|
315
316
|
resizable: true,
|
|
316
317
|
buttons: [
|
|
317
318
|
new Button({
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
<!-- to check how to use a common model property instead of listReport/filterMode which is specific to LR-->
|
|
3
3
|
<VBox visible="{= ${_templPriv>/listReport/filterMode} === 'easyFilter'}">
|
|
4
4
|
<feControls:EasyFilterBarContainer id="template::easyFilterContainer"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
showValueHelp="._templateEventHandlers.onEasyFilterShowValueHelp"
|
|
6
|
+
queryChanged="._templateEventHandlers.onEasyFilterQueryChanged"
|
|
7
|
+
tokensChanged="._templateEventHandlers.onEasyFilterTokensChanged"
|
|
8
|
+
beforeQueryProcessing="._templateEventHandlers.onEasyFilterBeforeQueryProcessing"
|
|
9
|
+
afterQueryProcessing="._templateEventHandlers.onEasyFilterAfterQueryProcessing"
|
|
10
|
+
clearFilters="._templateEventHandlers.onEasyFilterClearFilters"
|
|
11
|
+
dataFetcher="._templateEventHandlers.onEasyFilterDataFetcher"
|
|
12
|
+
/>
|
|
12
13
|
</VBox>
|
|
13
14
|
</core:FragmentDefinition>
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
id="messagePage"
|
|
4
4
|
title="{_templPrivGlobal>/generic/messagePage/text}"
|
|
5
5
|
description="{_templPrivGlobal>/generic/messagePage/description}"
|
|
6
|
-
illustrationSize="
|
|
6
|
+
illustrationSize="Large"
|
|
7
7
|
illustrationType="{_templPrivGlobal>/generic/messagePage/messageType}"/>
|
|
8
8
|
</mvc:View>
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
ariaLabelledBy="{columnId>id}"/>
|
|
61
61
|
</template:else>
|
|
62
62
|
</template:if>
|
|
63
|
-
<FormattedText
|
|
64
|
-
core:require="{
|
|
65
|
-
htmlText="<em>{path:'i18n>NEW_OBJECT', formatter:'
|
|
66
|
-
visible="{parts: [{path: 'dataFieldValue>'}, {path: 'dataField>'}, {path: 'entityType>'}], formatter: 'AH.getHeaderVisibility'}"/>
|
|
63
|
+
<FormattedText
|
|
64
|
+
core:require="{RuntimeFormatters: 'sap/suite/ui/generic/template/js/RuntimeFormatters'}"
|
|
65
|
+
htmlText="<em>{parts:[{path:'HasActiveEntity'},{path:'IsActiveEntity'},{path:'i18n>NEW_OBJECT'},{path:'i18n>UNNAMED_OBJECT'}], formatter:'RuntimeFormatters.getDraftObjectDisplayText.bind($control)'}</em>"
|
|
66
|
+
visible="{parts: [{path: 'dataFieldValue>'}, {path: 'dataField>'}, {path: 'entityType>'}], formatter: 'AH.getHeaderVisibility'}" />
|
|
67
67
|
<Text class="sapUiTinyMarginTop"
|
|
68
68
|
renderWhitespace="true"
|
|
69
69
|
text="{parts: [{path: 'dataFieldValue>'}, {path: 'dataField>'}, {path: 'entityType>'}], formatter: 'AH.getColumnCellSecondText'}"
|
|
@@ -4,22 +4,22 @@ sap.ui.define([
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Constructor for SmartVariantManagementWrapper
|
|
7
|
-
* @param {sap.ui.comp.smartvariants.SmartVariantManagement} vTarget - The SmartVariantManagement control
|
|
7
|
+
* @param {sap.ui.comp.smartvariants.SmartVariantManagement} vTarget - The SmartVariantManagement control
|
|
8
8
|
* or the Id of control for which this wrapper is created
|
|
9
|
-
* @param {object} oController - the controller of the current component
|
|
9
|
+
* @param {object} oController - the controller of the current component
|
|
10
10
|
* @param {object} oFactory - the controlStateWrapperFactory
|
|
11
|
-
* @param {object} mParams
|
|
12
|
-
* @param {array} mParams.managedControlWrappers - array of controlStateWrappers for controls handled by the SVM
|
|
13
|
-
* (currently also including SFB wrapper - to be removed)
|
|
11
|
+
* @param {object} mParams
|
|
12
|
+
* @param {array} mParams.managedControlWrappers - array of controlStateWrappers for controls handled by the SVM
|
|
13
|
+
* (currently also including SFB wrapper - to be removed)
|
|
14
14
|
* @param {Object} mParams.dynamicPageWrapper - dynamicPageWrapper instance handled by SVM
|
|
15
15
|
* @returns {object}
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
function SmartVariantManagementWrapper(vTarget, oController, oFactory, mParams) {
|
|
19
19
|
// Special handling of SmartFilterBarWrapper for several reasons:
|
|
20
20
|
// - Suppress selection when restoring a variant. Selection is solely triggered according to information in appState. Otherwise, erroneous selection could be triggered in
|
|
21
21
|
// a few situations:
|
|
22
|
-
// - Variant marked as execute on select, but no data selected in appState (execute on select marked when saving variant without selecting, or changed after state was
|
|
22
|
+
// - Variant marked as execute on select, but no data selected in appState (execute on select marked when saving variant without selecting, or changed after state was
|
|
23
23
|
// stored)
|
|
24
24
|
// - Fallback to standard variant in case of dirty variant in state
|
|
25
25
|
// - Fallback to standard variant if variant cannot be read (logic of SVM)
|
|
@@ -42,11 +42,11 @@ sap.ui.define([
|
|
|
42
42
|
// - not available at this point in time, and no corresponding event to attach to available
|
|
43
43
|
// - provides only those controls with directly connection to SVM implemented (i.e. with wrappers marked with bVMConnection)
|
|
44
44
|
|
|
45
|
-
// ensure managed state wrappers do not trigger change event when applying state to them.
|
|
45
|
+
// ensure managed state wrappers do not trigger change event when applying state to them.
|
|
46
46
|
// Todo: rethink, whether this is the right place to do this (or rather when the wrappers get created)
|
|
47
47
|
mParams.managedControlWrappers = mParams.managedControlWrappers.map(oFactory.getSuppressChangeEventWhenApplyingWrapper);
|
|
48
48
|
|
|
49
|
-
// Any change of managed control should also mark variant as modified. However, this is not true for controls with direct connection to SVM (SFB, SmartTable, SmartChart).
|
|
49
|
+
// Any change of managed control should also mark variant as modified. However, this is not true for controls with direct connection to SVM (SFB, SmartTable, SmartChart).
|
|
50
50
|
// For these controls, a real user changes are already handled by the direct connection. On the other hand, these controls also fire their change events, if their state is
|
|
51
51
|
// changed from SVM (by the same connection) - setting variant dirty here would be wrong.
|
|
52
52
|
mParams.managedControlWrappers.forEach(function(oWrapper){
|
|
@@ -56,18 +56,18 @@ sap.ui.define([
|
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
|
|
60
|
+
|
|
61
61
|
|
|
62
62
|
function fnSetControl(oControl) {
|
|
63
63
|
oSmartVariantManagement = oControl;
|
|
64
64
|
fnResolveControlAssigned(oSmartVariantManagement);
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
var oSmartFilterBarWrapper = mParams.managedControlWrappers.find(function(oWrapper){
|
|
68
68
|
return oWrapper.setSVMWrapperCallbacks;
|
|
69
69
|
});
|
|
70
|
-
|
|
70
|
+
|
|
71
71
|
// provide callbacks needed for SFB wrapper to store/restore extnesion state with variant
|
|
72
72
|
if (oSmartFilterBarWrapper){
|
|
73
73
|
oSmartFilterBarWrapper.setSVMWrapperCallbacks({
|
|
@@ -105,28 +105,28 @@ sap.ui.define([
|
|
|
105
105
|
oControl.attachAfterVariantInitialise(function() {
|
|
106
106
|
//set currentVariantId only when sVariantId is not standard (as it might be overriding existing
|
|
107
107
|
//different currentVariantId) or smartTable's (oControl) currentVariantId is not equal to sVariantId.
|
|
108
|
-
if (sVariantId !== '*standard*') {
|
|
108
|
+
if (sVariantId !== '*standard*' && sVariantId !== '') {
|
|
109
109
|
if (oControl.getCurrentVariantId && oControl.getCurrentVariantId() !== sVariantId) {
|
|
110
110
|
oControl.setCurrentVariantId(sVariantId);
|
|
111
111
|
}
|
|
112
112
|
oSmartVariantManagement.setModified(false);
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
}
|
|
115
|
+
}
|
|
116
116
|
oSmartVariantManagement.setCurrentVariantId(sVariantId);
|
|
117
117
|
if (oSmartFilterBarWrapper){
|
|
118
118
|
oSmartFilterBarWrapper.suppressSelection(false);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
// Restore state of all managed controls
|
|
122
|
+
// Restore state of all managed controls
|
|
123
123
|
function fnSetManagedControlStates(oState){
|
|
124
|
-
// Usually, looping through mParams.managedControlWrappers or through oState.managedControlStates should be equivalent, but in exceptional cases, their might be
|
|
125
|
-
// differences, if application has changed (changing the controls managed by the SVM - in LR, this could be achieved by changing setting SmartVariantManagement).
|
|
124
|
+
// Usually, looping through mParams.managedControlWrappers or through oState.managedControlStates should be equivalent, but in exceptional cases, their might be
|
|
125
|
+
// differences, if application has changed (changing the controls managed by the SVM - in LR, this could be achieved by changing setting SmartVariantManagement).
|
|
126
126
|
// mParams.managedControlWrappers reflects current state, while oState.managedControlStates reflects state at the time iAppState was written
|
|
127
127
|
// - when adding a control (in LR changing setting SmartVariantManagement from false to true), state for that control would not be contained - calling the wrapper with
|
|
128
128
|
// undefined to ensure initial state
|
|
129
|
-
// - when removing a control, state would be contained that should not be applied here
|
|
129
|
+
// - when removing a control, state would be contained that should not be applied here
|
|
130
130
|
mParams.managedControlWrappers.forEach(function(oWrapper){
|
|
131
131
|
oWrapper.setState(oState.managedControlStates[oWrapper.getLocalId()]);
|
|
132
132
|
});
|
|
@@ -164,8 +164,8 @@ sap.ui.define([
|
|
|
164
164
|
// set (which is achieved by empty string)
|
|
165
165
|
fnSetVariant("");
|
|
166
166
|
// Usually restoring the state of any of the managed controls should mark the variant as dirty, but there might be edge cases (state from an old release not containing information for any
|
|
167
|
-
// managed control now relevant), so to be on the safe side, we set modified=true explicitly.
|
|
168
|
-
oSmartVariantManagement.currentVariantSetModified(true);
|
|
167
|
+
// managed control now relevant), so to be on the safe side, we set modified=true explicitly.
|
|
168
|
+
oSmartVariantManagement.currentVariantSetModified(true);
|
|
169
169
|
fnSetManagedControlStates(oPreliminaryState);
|
|
170
170
|
} else {
|
|
171
171
|
fnSetVariant(oPreliminaryState.variantId);
|
|
@@ -177,7 +177,7 @@ sap.ui.define([
|
|
|
177
177
|
oSmartFilterBarWrapper.setState(oPreliminaryState.managedControlStates[oSmartFilterBarWrapper.getLocalId()]);
|
|
178
178
|
}
|
|
179
179
|
if (oPreliminaryState.variantId !== oSmartVariantManagement.getCurrentVariantId()){
|
|
180
|
-
// variant could not be set because it is not known, i.e. it could be private and URL was shared, or could be deleted after page was bookmarked. In this case,
|
|
180
|
+
// variant could not be set because it is not known, i.e. it could be private and URL was shared, or could be deleted after page was bookmarked. In this case,
|
|
181
181
|
// standard variant is set (by VM). Additionally, it should be marked as modified.
|
|
182
182
|
oSmartVariantManagement.currentVariantSetModified(true);
|
|
183
183
|
}
|
|
@@ -193,19 +193,19 @@ sap.ui.define([
|
|
|
193
193
|
oControlAssignedPromise.then(function() {
|
|
194
194
|
// state change when user selects a different variant
|
|
195
195
|
oSmartVariantManagement.attachSelect(fnHandler);
|
|
196
|
-
|
|
196
|
+
|
|
197
197
|
// when user saves current state as a new variant, this is also a state change (as the variant id is part of the state)
|
|
198
198
|
// note: Even if new (SFB) variant is marked as execute on select, and currently no data is selected, no need to select data here (and thus also not to collapse header).
|
|
199
|
-
// This is one of the possible ways to get into a state with a clean variant with execute on select, but no data loaded - see also comment to identify SFB wrapper.
|
|
199
|
+
// This is one of the possible ways to get into a state with a clean variant with execute on select, but no data loaded - see also comment to identify SFB wrapper.
|
|
200
200
|
oSmartVariantManagement.attachAfterSave(fnHandler);
|
|
201
|
-
|
|
201
|
+
|
|
202
202
|
// any change of a managed control is state change
|
|
203
203
|
mParams.managedControlWrappers.forEach(function(oWrapper){
|
|
204
204
|
oWrapper.attachStateChanged(fnHandler);
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
|
|
208
|
+
|
|
209
209
|
return {
|
|
210
210
|
getState : getState,
|
|
211
211
|
setState : setState,
|
|
@@ -215,4 +215,4 @@ sap.ui.define([
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
return SmartVariantManagementWrapper;
|
|
218
|
-
});
|
|
218
|
+
});
|
|
@@ -3041,6 +3041,37 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
|
|
|
3041
3041
|
}
|
|
3042
3042
|
return sTextArrangement;
|
|
3043
3043
|
},
|
|
3044
|
+
getTextArrangementPath: function (oField) {
|
|
3045
|
+
return oField["com.sap.vocabularies.Common.v1.Text"] && oField["com.sap.vocabularies.Common.v1.Text"].Path;
|
|
3046
|
+
},
|
|
3047
|
+
isValueHelpTableAvailable: function (oField) {
|
|
3048
|
+
return !!oField.extensions?.find((extension)=> extension.name === "value-list");
|
|
3049
|
+
},
|
|
3050
|
+
getTextArrangementFinalString: function(result,idPath,descriptionPath,textArrangementType) {
|
|
3051
|
+
var id = result[idPath];
|
|
3052
|
+
var description = result[descriptionPath];
|
|
3053
|
+
|
|
3054
|
+
if (description) {
|
|
3055
|
+
var result = "";
|
|
3056
|
+
switch (textArrangementType) {
|
|
3057
|
+
case "descriptionAndId":
|
|
3058
|
+
result = `${description} (${id})`;
|
|
3059
|
+
break;
|
|
3060
|
+
case "idAndDescription":
|
|
3061
|
+
result = `${id} (${description})`;
|
|
3062
|
+
break;
|
|
3063
|
+
case "descriptionOnly":
|
|
3064
|
+
result = `${description}`;
|
|
3065
|
+
break;
|
|
3066
|
+
default:
|
|
3067
|
+
result = `${id}`;
|
|
3068
|
+
break;
|
|
3069
|
+
}
|
|
3070
|
+
return result;
|
|
3071
|
+
} else {
|
|
3072
|
+
return id;
|
|
3073
|
+
}
|
|
3074
|
+
},
|
|
3044
3075
|
getTitleTextArrangementBindingPath: function (sTextArrangement, sPropertyPath, sTextPath) {
|
|
3045
3076
|
var sPropertyBinding = "{" + sPropertyPath + "}";
|
|
3046
3077
|
var sTextBinding = "{" + sTextPath + "}";
|
|
@@ -3447,8 +3478,8 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
|
|
|
3447
3478
|
},
|
|
3448
3479
|
|
|
3449
3480
|
// applicable for both types of action i.e., standard and custom actions
|
|
3450
|
-
getActionCommandVisibility: function (sButtonId) {
|
|
3451
|
-
return !sButtonId || "{= " + oAnnotationHelper.getControlVisibleTerm(sButtonId) + " && " + oAnnotationHelper.getControlEnabledTerm(sButtonId) + "}";
|
|
3481
|
+
getActionCommandVisibility: function (sButtonId, bVisible) {
|
|
3482
|
+
return !sButtonId || bVisible || "{= " + oAnnotationHelper.getControlVisibleTerm(sButtonId) + " && " + oAnnotationHelper.getControlEnabledTerm(sButtonId) + "}";
|
|
3452
3483
|
},
|
|
3453
3484
|
|
|
3454
3485
|
buildVisibilityExprOfDataFieldForIntentBasedNaviButton: function (oDataField) {
|
|
@@ -4541,6 +4572,9 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
|
|
|
4541
4572
|
oAnnotationHelper.getLinkTextForDFwithEmail.requiresIContext = true;
|
|
4542
4573
|
oAnnotationHelper.checkIsEmailAddress.requiresIContext = true;
|
|
4543
4574
|
oAnnotationHelper.isEmailAddressAndMuliplicity.requiresIContext = true;
|
|
4575
|
+
oAnnotationHelper.getTextArrangementPath.requiresIContext = true;
|
|
4576
|
+
oAnnotationHelper.isValueHelpTableAvailable.requiresIContext = true;
|
|
4577
|
+
oAnnotationHelper.getTextArrangementFinalString.requiresIContext = true;
|
|
4544
4578
|
|
|
4545
4579
|
return oAnnotationHelper;
|
|
4546
4580
|
}, /* bExport= */ true);
|
|
@@ -7,7 +7,8 @@ sap.ui.define([
|
|
|
7
7
|
"sap/m/RatingIndicator",
|
|
8
8
|
"sap/suite/ui/generic/template/genericUtilities/FeLogger",
|
|
9
9
|
"sap/suite/ui/generic/template/genericUtilities/testableHelper",
|
|
10
|
-
"sap/suite/ui/generic/template/genericUtilities/utils"
|
|
10
|
+
"sap/suite/ui/generic/template/genericUtilities/utils",
|
|
11
|
+
"sap/base/security/encodeXML"
|
|
11
12
|
], function (
|
|
12
13
|
Formatting,
|
|
13
14
|
Locale,
|
|
@@ -17,7 +18,8 @@ sap.ui.define([
|
|
|
17
18
|
RatingIndicator,
|
|
18
19
|
FeLogger,
|
|
19
20
|
testableHelper,
|
|
20
|
-
utils
|
|
21
|
+
utils,
|
|
22
|
+
encodeXML
|
|
21
23
|
) {
|
|
22
24
|
"use strict";
|
|
23
25
|
|
|
@@ -308,7 +310,42 @@ sap.ui.define([
|
|
|
308
310
|
*/
|
|
309
311
|
formatCurrency: function (vAmount, sCurrency) {
|
|
310
312
|
return getCurrencyFormatter().format(vAmount, sCurrency);
|
|
313
|
+
},
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Determines what text to be displayed for draft objects without title
|
|
317
|
+
*
|
|
318
|
+
* @param {boolean} hasActiveEntity
|
|
319
|
+
* @param {boolean} isActiveEntity
|
|
320
|
+
* @param {boolean} newObject , i18n text for newly created draft object
|
|
321
|
+
* @param {boolean} unnamedObject , i18n text for active object
|
|
322
|
+
* @returns {string}
|
|
323
|
+
*/
|
|
324
|
+
|
|
325
|
+
getDraftObjectDisplayText: function (hasActiveEntity, isActiveEntity, newObject, unnamedObject) {
|
|
326
|
+
var oComponent = sap.ui.core.Component.getOwnerComponentFor(this);
|
|
327
|
+
// When both HasActiveEntity and IsActiveEntity are false, it indicates a new object.
|
|
328
|
+
// In this case, display the text 'New Object' or the app-specific override text for the key 'NEW_OBJECT' if available.
|
|
329
|
+
// Otherwise, if it's an active entity, display 'Unnamed Object' or the override text for the key 'UNNAMED_OBJECT' if provided by the app.
|
|
330
|
+
var text = (!hasActiveEntity && !isActiveEntity) ? newObject : unnamedObject;
|
|
331
|
+
|
|
332
|
+
// As a fallback to maintain backward compatibility, if the app already defines the 'NEW_OBJECT' key (from previous behavior),
|
|
333
|
+
// use the app-specific overridden text for both newly created objects and active objects.
|
|
334
|
+
if (oComponent) {
|
|
335
|
+
var oModelApplicationListReport = oComponent.getAppComponent().getModel("i18n|" + oComponent.getMetadata().getComponentName() + "|" + oComponent.getEntitySet());
|
|
336
|
+
var oModelApplication = oComponent.getAppComponent().getModel("i18n");
|
|
337
|
+
var bHasAppNewObjectText = ((oModelApplication ? oModelApplication.getResourceBundle().hasText("NEW_OBJECT") : false) || (oModelApplicationListReport ? oModelApplicationListReport.getResourceBundle().hasText("NEW_OBJECT") : false));
|
|
338
|
+
var bHasAppUnnamedObjectText = ((oModelApplication ? oModelApplication.getResourceBundle().hasText("UNNAMED_OBJECT") : false) || (oModelApplicationListReport ? oModelApplicationListReport.getResourceBundle().hasText("UNNAMED_OBJECT") : false));
|
|
339
|
+
if (bHasAppNewObjectText && !bHasAppUnnamedObjectText) {
|
|
340
|
+
var text = newObject;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
}
|
|
344
|
+
// Encode the text to ensure HTML special characters are escaped
|
|
345
|
+
// This prevents XSS and rendering issues in HTML context
|
|
346
|
+
return encodeXML(text);
|
|
311
347
|
}
|
|
348
|
+
|
|
312
349
|
};
|
|
313
350
|
|
|
314
351
|
return oRuntimeFormatters;
|