@openui5/sap.ui.integration 1.97.1 → 1.100.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.
- package/.reuse/dep5 +25 -30
- package/THIRDPARTY.txt +15 -22
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +15 -21
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +17 -3
- package/src/sap/ui/integration/cards/AdaptiveContent.js +19 -73
- package/src/sap/ui/integration/cards/AnalyticalContent.js +13 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +82 -7
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +8 -3
- package/src/sap/ui/integration/cards/BaseListContent.js +80 -69
- package/src/sap/ui/integration/cards/CalendarContent.js +20 -14
- package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +25 -8
- package/src/sap/ui/integration/cards/Header.js +2 -2
- package/src/sap/ui/integration/cards/ListContent.js +47 -27
- package/src/sap/ui/integration/cards/ListContentRenderer.js +9 -5
- package/src/sap/ui/integration/cards/NumericHeader.js +2 -2
- package/src/sap/ui/integration/cards/ObjectContent.js +369 -193
- package/src/sap/ui/integration/cards/ObjectContentRenderer.js +28 -0
- package/src/sap/ui/integration/cards/TableContent.js +3 -3
- package/src/sap/ui/integration/cards/TableContentRenderer.js +5 -4
- package/src/sap/ui/integration/cards/TimelineContent.js +5 -6
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +4 -7
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/BaseAction.js +89 -0
- package/src/sap/ui/integration/cards/actions/CardActions.js +480 -0
- package/src/sap/ui/integration/cards/actions/CustomAction.js +31 -0
- package/src/sap/ui/integration/cards/actions/DateChangeAction.js +20 -0
- package/src/sap/ui/integration/cards/actions/HideCardAction.js +36 -0
- package/src/sap/ui/integration/cards/actions/MonthChangeAction.js +20 -0
- package/src/sap/ui/integration/cards/actions/NavigationAction.js +63 -0
- package/src/sap/ui/integration/cards/actions/ShowCardAction.js +74 -0
- package/src/sap/ui/integration/cards/actions/SubmitAction.js +89 -0
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +52 -10
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +39 -4
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +41 -13
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +41 -4
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputTime.js +27 -116
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +37 -3
- package/src/sap/ui/integration/cards/adaptivecards/overwrites/ActionRender.js +6 -0
- package/src/sap/ui/integration/cards/adaptivecards/overwrites/inputsGeneralOverwrites.js +115 -0
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +19 -2
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +56 -47
- package/src/sap/ui/integration/cards/filters/FilterBar.js +91 -0
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +33 -12
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +104 -0
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +7 -2
- package/src/sap/ui/integration/controls/ActionsStrip.js +6 -2
- package/src/sap/ui/integration/controls/ActionsToolbar.js +6 -6
- package/src/sap/ui/integration/controls/ActionsToolbarRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +1 -1
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/controls/Paginator.js +173 -0
- package/src/sap/ui/integration/controls/PaginatorRenderer.js +113 -0
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +6 -4
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n.properties +11 -2
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ar.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_bg.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ca.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cs.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cy.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_da.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_de.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_el.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_GB.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_sappsd.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saprigi.properties +25 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saptrc.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es_MX.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_et.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fi.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr_CA.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hi.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hr.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hu.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_id.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_it.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_iw.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ja.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_kk.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ko.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lt.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lv.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ms.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_nl.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_no.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pl.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt_PT.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ro.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ru.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sh.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sk.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sl.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sv.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_th.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_tr.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_uk.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_vi.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_CN.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_TW.properties +7 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.fragment.xml +1 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +6 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +11 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.fragment.xml +15 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +116 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.fragment.xml +14 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +102 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +5 -2
- package/src/sap/ui/integration/designtime/baseEditor/util/StylesheetManager.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/createPromise.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +17 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +22 -21
- package/src/sap/ui/integration/designtime/cardEditor/CardEditor.js +4 -4
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +15 -2
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n.properties +66 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ar.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_bg.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ca.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_cs.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_cy.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_da.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_de.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_el.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_GB.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_sappsd.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saprigi.properties +48 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saptrc.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_es.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_es_MX.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_et.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fi.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr_CA.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hi.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hr.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hu.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_id.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_it.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_iw.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ja.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_kk.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ko.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_lt.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_lv.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ms.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_nl.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_no.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pl.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pt.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pt_PT.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ro.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ru.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sh.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sk.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sl.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sv.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_th.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_tr.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_uk.properties +45 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_vi.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_zh_CN.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_zh_TW.properties +44 -0
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +61 -3
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +218 -0
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +34 -3
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +53 -4
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +5 -7
- package/src/sap/ui/integration/editor/Editor.js +933 -284
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +42 -31
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +2 -2
- package/src/sap/ui/integration/editor/Merger.js +0 -18
- package/src/sap/ui/integration/editor/Settings.js +9 -5
- package/src/sap/ui/integration/editor/css/Editor.css +156 -11
- package/src/sap/ui/integration/editor/fields/BaseField.js +13 -13
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/IntegerField.js +16 -2
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectField.js +1239 -0
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +360 -0
- package/src/sap/ui/integration/editor/fields/StringField.js +86 -51
- package/src/sap/ui/integration/editor/fields/{ListField.js → StringListField.js} +74 -59
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +9 -29
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +1 -3
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -3
- package/src/sap/ui/integration/editor/languages.json +2 -2
- package/src/sap/ui/integration/formatters/InitialsFormatter.js +38 -0
- package/src/sap/ui/integration/library.js +35 -4
- package/src/sap/ui/integration/messagebundle.properties +87 -0
- package/src/sap/ui/integration/messagebundle_ar.properties +58 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +60 -2
- package/src/sap/ui/integration/messagebundle_ca.properties +58 -0
- package/src/sap/ui/integration/messagebundle_cs.properties +58 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +58 -0
- package/src/sap/ui/integration/messagebundle_da.properties +58 -0
- package/src/sap/ui/integration/messagebundle_de.properties +58 -0
- package/src/sap/ui/integration/messagebundle_el.properties +58 -0
- package/src/sap/ui/integration/messagebundle_en.properties +58 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +58 -0
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +58 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +139 -55
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +58 -0
- package/src/sap/ui/integration/messagebundle_es.properties +58 -0
- package/src/sap/ui/integration/messagebundle_es_MX.properties +58 -0
- package/src/sap/ui/integration/messagebundle_et.properties +58 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +58 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +58 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +58 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +58 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +58 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +58 -0
- package/src/sap/ui/integration/messagebundle_id.properties +58 -0
- package/src/sap/ui/integration/messagebundle_it.properties +58 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +58 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +58 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +58 -0
- package/src/sap/ui/integration/messagebundle_ko.properties +58 -0
- package/src/sap/ui/integration/messagebundle_lt.properties +58 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +58 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +58 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +58 -0
- package/src/sap/ui/integration/messagebundle_no.properties +58 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +58 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +58 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +58 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +58 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +58 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +58 -0
- package/src/sap/ui/integration/messagebundle_sk.properties +58 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +58 -0
- package/src/sap/ui/integration/messagebundle_sv.properties +58 -0
- package/src/sap/ui/integration/messagebundle_th.properties +58 -0
- package/src/sap/ui/integration/messagebundle_tr.properties +58 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +61 -3
- package/src/sap/ui/integration/messagebundle_vi.properties +58 -0
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +58 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +58 -0
- package/src/sap/ui/integration/model/ContextModel.js +2 -2
- package/src/sap/ui/integration/model/ObservableModel.js +14 -5
- package/src/sap/ui/integration/model/PagingModelListBinding.js +40 -0
- package/src/sap/ui/integration/sap-ui-integration-define-nojQuery.js +2 -1
- package/src/sap/ui/integration/schemas/sap-card.json +294 -24
- package/src/sap/ui/integration/themes/base/ActionsStrip.less +15 -0
- package/src/sap/ui/integration/themes/base/Footer.less +10 -0
- package/src/sap/ui/integration/themes/base/ObjectContent.less +73 -9
- package/src/sap/ui/integration/themes/base/Paginator.less +58 -0
- package/src/sap/ui/integration/themes/base/library.source.less +3 -0
- package/src/sap/ui/integration/thirdparty/adaptive-expressions.js +1 -0
- package/src/sap/ui/integration/thirdparty/adaptivecards-templating.js +660 -952
- package/src/sap/ui/integration/thirdparty/markdown-it.js +8340 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/bundle.esm.js +27 -102
- package/src/sap/ui/integration/thirdparty/webcomponents/bundle.esm.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar-8f9ad94e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar-8f9ad94e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar-f6792d81.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar-f6792d81.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg-39f4bd50.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg-39f4bd50.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg-884d46bd.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg-884d46bd.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca-5b6cc3e2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca-5b6cc3e2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca-d12c1ceb.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca-d12c1ceb.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs-307b7f69.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs-307b7f69.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs-c7ed5c29.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs-c7ed5c29.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy-0f578e7e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy-0f578e7e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy-9889d6f0.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy-9889d6f0.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da-53593542.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da-53593542.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da-6bb7d77b.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da-6bb7d77b.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de-0376c479.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de-0376c479.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de-eb501c07.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de-eb501c07.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el-45d1c326.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el-45d1c326.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el-e1955d32.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el-e1955d32.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en-3bc10a88.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en-3bc10a88.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en-e41c44ec.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en-e41c44ec.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_GB-963f5beb.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_GB-963f5beb.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_GB-a4723c29.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_GB-a4723c29.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_sappsd-10d3b264.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_sappsd-10d3b264.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_sappsd-9cf5ba75.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_sappsd-9cf5ba75.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saprigi-00c865df.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saprigi-00c865df.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saprigi-8a51ede2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saprigi-8a51ede2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saptrc-ac48007a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saptrc-ac48007a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saptrc-ae1a6e4a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saptrc-ae1a6e4a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es-1fe90167.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es-1fe90167.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es-288d5c23.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es-288d5c23.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX-4f1305df.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX-4f1305df.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX-b984b6dc.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX-b984b6dc.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et-a0061a71.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et-a0061a71.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et-c96b504c.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et-c96b504c.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi-27edc9b8.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi-27edc9b8.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi-c943134b.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi-c943134b.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr-16c1c577.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr-16c1c577.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr-6265990a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr-6265990a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA-60f6fce4.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA-60f6fce4.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA-c0eae649.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA-c0eae649.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi-3c753818.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi-3c753818.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi-c4029409.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi-c4029409.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr-49952683.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr-49952683.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr-f5eadd90.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr-f5eadd90.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu-9eaeaf2e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu-9eaeaf2e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu-d57d2bfc.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu-d57d2bfc.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in-5f15c5a1.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in-5f15c5a1.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in-69efcc93.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in-69efcc93.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it-0b408aea.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it-0b408aea.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it-51d189db.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it-51d189db.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw-6db571be.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw-6db571be.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw-71f66463.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw-71f66463.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja-5b3dd502.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja-5b3dd502.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja-9c40042d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja-9c40042d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk-b620a07a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk-b620a07a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk-c393c4a9.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk-c393c4a9.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko-4be67a77.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko-4be67a77.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko-632e4f9f.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko-632e4f9f.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt-56b41ac8.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt-56b41ac8.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt-daa86622.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt-daa86622.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv-54381557.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv-54381557.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv-c58db769.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv-c58db769.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms-536227b5.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms-536227b5.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms-54fe878e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms-54fe878e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl-56e48e33.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl-56e48e33.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl-71b1c190.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl-71b1c190.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no-5ae816d9.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no-5ae816d9.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no-eecb1eec.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no-eecb1eec.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl-bd30a402.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl-bd30a402.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl-dd8107e1.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl-dd8107e1.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt-026877c7.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt-026877c7.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt-9e9f924f.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt-9e9f924f.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT-2c6cce63.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT-2c6cce63.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT-a24258d4.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT-a24258d4.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro-0dbe572d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro-0dbe572d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro-767b0e99.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro-767b0e99.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru-4291aa7d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru-4291aa7d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru-b3537542.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru-b3537542.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh-4047dcd1.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh-4047dcd1.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh-806e8ca0.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh-806e8ca0.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk-57daf6b1.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk-57daf6b1.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk-fd3049d8.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk-fd3049d8.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl-586b310b.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl-586b310b.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl-71a84189.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl-71a84189.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv-1796a5d2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv-1796a5d2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv-d6d000eb.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv-d6d000eb.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th-63398540.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th-63398540.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th-79715cf0.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th-79715cf0.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr-c378e505.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr-c378e505.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr-f32e601b.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr-f32e601b.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk-70daf763.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk-70daf763.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk-99b5589a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk-99b5589a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi-3f36f453.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi-3f36f453.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi-c9a9277d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi-c9a9277d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN-2420a6e9.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN-2420a6e9.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN-748178a2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN-748178a2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW-91e89b06.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW-91e89b06.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW-ffef9f6e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW-ffef9f6e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-0c3377c5.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-0c3377c5.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-16ed5ab0.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-16ed5ab0.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-2b80e11c.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-2b80e11c.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-324b2fcc.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-324b2fcc.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-4809f843.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-4809f843.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-5338149e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-5338149e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-55dcf53d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-55dcf53d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-55e683ed.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-55e683ed.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-5bc2c0de.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-5bc2c0de.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-7bc1fa16.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-7bc1fa16.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-7f593c6e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-7f593c6e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-826107f5.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-826107f5.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-8b95ce95.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-8b95ce95.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-a003a2e2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-a003a2e2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-ab3e8649.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-ab3e8649.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-bfa33d93.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-bfa33d93.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-dec4feca.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-dec4feca.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-fb5a25ab.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-fb5a25ab.js.map +1 -0
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +16 -7
- package/src/sap/ui/integration/util/BindingResolver.js +5 -4
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +4 -30
- package/src/sap/ui/integration/util/CardMerger.js +6 -17
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +2 -2
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +62 -78
- package/src/sap/ui/integration/util/DataProvider.js +1 -1
- package/src/sap/ui/integration/util/DataProviderFactory.js +8 -1
- package/src/sap/ui/integration/util/Destinations.js +4 -2
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +7 -2
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +16 -6
- package/src/sap/ui/integration/util/Manifest.js +8 -4
- package/src/sap/ui/integration/{ManifestResolver.js → util/ManifestResolver.js} +17 -19
- package/src/sap/ui/integration/util/RequestDataProvider.js +33 -7
- package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/SkeletonCard.js +50 -0
- package/src/sap/ui/integration/util/Utils.js +48 -4
- package/src/sap/ui/integration/widgets/Card.js +381 -100
- package/src/sap/ui/integration/widgets/CardRenderer.js +0 -6
- package/ui5.yaml +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt +0 -27
- package/src/sap/ui/integration/thirdparty/webcomponents/ar.43441c1da168c24d.json +0 -5906
- package/src/sap/ui/integration/thirdparty/webcomponents/ar_EG.2c9d7bc8c6cc480e.json +0 -5906
- package/src/sap/ui/integration/thirdparty/webcomponents/ar_SA.5a58dac7851f3491.json +0 -5906
- package/src/sap/ui/integration/thirdparty/webcomponents/bg.ed8d32010cf321a6.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/bundle.es5.js +0 -212
- package/src/sap/ui/integration/thirdparty/webcomponents/ca.e7ad42298985cd11.json +0 -4996
- package/src/sap/ui/integration/thirdparty/webcomponents/cs.9c679acdc4b03e38.json +0 -5498
- package/src/sap/ui/integration/thirdparty/webcomponents/da.ba9951ef39b201a6.json +0 -4888
- package/src/sap/ui/integration/thirdparty/webcomponents/de.6caccc36abcd1ecf.json +0 -4916
- package/src/sap/ui/integration/thirdparty/webcomponents/de_AT.0f4ffe37737725a0.json +0 -4917
- package/src/sap/ui/integration/thirdparty/webcomponents/de_CH.c148cbc7ceb1a7a5.json +0 -4915
- package/src/sap/ui/integration/thirdparty/webcomponents/el.11c4c67dcb9fadcc.json +0 -4883
- package/src/sap/ui/integration/thirdparty/webcomponents/el_CY.ed3bddd6e79dc343.json +0 -4883
- package/src/sap/ui/integration/thirdparty/webcomponents/en.c4465af466100b5b.json +0 -4970
- package/src/sap/ui/integration/thirdparty/webcomponents/en_AU.5cb9fccc9ce24663.json +0 -4962
- package/src/sap/ui/integration/thirdparty/webcomponents/en_GB.e31daeeb57c2f1d1.json +0 -4971
- package/src/sap/ui/integration/thirdparty/webcomponents/en_HK.0a22405bb092bec2.json +0 -4977
- package/src/sap/ui/integration/thirdparty/webcomponents/en_IE.6a062df10dabdb1c.json +0 -4971
- package/src/sap/ui/integration/thirdparty/webcomponents/en_IN.bfd20b07e9079267.json +0 -4972
- package/src/sap/ui/integration/thirdparty/webcomponents/en_NZ.18303e8298e4752a.json +0 -4971
- package/src/sap/ui/integration/thirdparty/webcomponents/en_PG.9f604c968f3ab77e.json +0 -4972
- package/src/sap/ui/integration/thirdparty/webcomponents/en_SG.cc59a6a409e1617e.json +0 -4973
- package/src/sap/ui/integration/thirdparty/webcomponents/en_ZA.198f9641a502d660.json +0 -4972
- package/src/sap/ui/integration/thirdparty/webcomponents/es.c10bf80f473caf30.json +0 -4912
- package/src/sap/ui/integration/thirdparty/webcomponents/es_AR.7708d7dd7a6d2a15.json +0 -4914
- package/src/sap/ui/integration/thirdparty/webcomponents/es_BO.4a1616d9f3425fba.json +0 -4913
- package/src/sap/ui/integration/thirdparty/webcomponents/es_CL.5637126713317a15.json +0 -4914
- package/src/sap/ui/integration/thirdparty/webcomponents/es_CO.c9436572ca8f4da8.json +0 -4913
- package/src/sap/ui/integration/thirdparty/webcomponents/es_MX.b4bce7dc951eb8f4.json +0 -4915
- package/src/sap/ui/integration/thirdparty/webcomponents/es_PE.65f448fde1f0de13.json +0 -4913
- package/src/sap/ui/integration/thirdparty/webcomponents/es_UY.9ec44031491e9b95.json +0 -4915
- package/src/sap/ui/integration/thirdparty/webcomponents/es_VE.152233c7f57ecdab.json +0 -4914
- package/src/sap/ui/integration/thirdparty/webcomponents/et.bbc93e8a17832e8f.json +0 -4967
- package/src/sap/ui/integration/thirdparty/webcomponents/fa.083b927b3586b3a3.json +0 -4883
- package/src/sap/ui/integration/thirdparty/webcomponents/fi.1b4c89f38783556e.json +0 -5008
- package/src/sap/ui/integration/thirdparty/webcomponents/fr.ddbb9df1e0bdb6ac.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/fr_BE.bf3609280b7b93ee.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/fr_CA.b64d0bcd23a5cd3e.json +0 -4973
- package/src/sap/ui/integration/thirdparty/webcomponents/fr_CH.349b221a02887244.json +0 -4997
- package/src/sap/ui/integration/thirdparty/webcomponents/fr_LU.ef7d7c8bb3328d28.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/he.d628e8bf13a8a2c8.json +0 -5378
- package/src/sap/ui/integration/thirdparty/webcomponents/hi.cc34df8229f656f5.json +0 -4829
- package/src/sap/ui/integration/thirdparty/webcomponents/hr.c920290f50173516.json +0 -4919
- package/src/sap/ui/integration/thirdparty/webcomponents/hu.2d9fa4a9163cd7c0.json +0 -4856
- package/src/sap/ui/integration/thirdparty/webcomponents/id.163fdd2a7dbd1dd3.json +0 -4658
- package/src/sap/ui/integration/thirdparty/webcomponents/it.b5acbefdd6794dfc.json +0 -4950
- package/src/sap/ui/integration/thirdparty/webcomponents/it_CH.ade4cbfb2e49424a.json +0 -4950
- package/src/sap/ui/integration/thirdparty/webcomponents/ja.d882fade5c3e04b5.json +0 -4830
- package/src/sap/ui/integration/thirdparty/webcomponents/kk.ab96b18c66676a99.json +0 -4725
- package/src/sap/ui/integration/thirdparty/webcomponents/ko.a0d63a1580dcbefd.json +0 -4738
- package/src/sap/ui/integration/thirdparty/webcomponents/lt.93bb00f91a74d613.json +0 -5481
- package/src/sap/ui/integration/thirdparty/webcomponents/lv.3c272216d7d4d61c.json +0 -5112
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar.d20c665dc46a6f9b.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg.38428028ff3b1869.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca.c46423cc94896604.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs.d9d68b2690954b4e.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy.facf33e921a1a902.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da.1189e997523b89f6.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de.1edf86f620dd657a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el.b0d02877b9366e9a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es.43fc364a8be37449.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX.ebf2828c83c4821a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et.8f9abcfab5eb10c2.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi.6fc14fd0d16cc223.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr.c686ab9036b91d78.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA.fb1250c736f2ac8c.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi.8b8cbc4fb282adf6.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr.bb811aa76359724a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu.18417ced7dce8cf7.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in.e3c5681fc8917143.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it.554f904c106ab069.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw.487febe0c5c504ff.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja.68cf1fa9f03cd6c3.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk.36e63b8f9e1fd98f.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko.fb000c7a35009d21.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt.6acd357e3eb3f54e.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv.3ffdda1a20bc15ec.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms.218aa30a3e8f58fa.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl.f753744c7e08b3a5.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no.385f0fc9f2e49ab5.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl.6c42672479ad9687.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt.ede162cbf79f7fca.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT.dcaa871d6b8eec75.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro.d3f32654c57588ea.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru.0ec083b64484a12d.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh.98cd3e4299919a30.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk.fddb8b9e7b70fc1d.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl.c55d5f817482ea06.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv.6d855a11d20b4335.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th.e791b9a81f16120c.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr.ce83741e39606b55.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk.e1ea822764025a5a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi.7ee7339211750379.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN.0cfd71faba640211.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW.bc718e0187728a16.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/ms.e26b54937e5d1516.json +0 -4515
- package/src/sap/ui/integration/thirdparty/webcomponents/nb.a6e9993590a73989.json +0 -4977
- package/src/sap/ui/integration/thirdparty/webcomponents/nl.cac914c3529b7b01.json +0 -4884
- package/src/sap/ui/integration/thirdparty/webcomponents/nl_BE.a3ac6f9f99feba7b.json +0 -4884
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.34f9ef46a8f6a852.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.52d78e00faad9126.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.6c6e759e0d3534d0.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.8cc66e917327b7a4.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.966b2e43c0966351.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.97725b2cf4e77494.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.b1bf75f0b850363c.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.d164773ecb392b28.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.def3978aa5de7b11.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.dfd19a1252497415.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.e19065174fdd4592.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.e2ac94de83159e1e.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/pl.2cc1c94da23f8c37.json +0 -5176
- package/src/sap/ui/integration/thirdparty/webcomponents/pt.fc8dd9656bc363a4.json +0 -4805
- package/src/sap/ui/integration/thirdparty/webcomponents/pt_PT.be31b641eedfdb48.json +0 -4940
- package/src/sap/ui/integration/thirdparty/webcomponents/ro.fc6a48bc63cf435e.json +0 -5090
- package/src/sap/ui/integration/thirdparty/webcomponents/ru.77f0de46b3b490b1.json +0 -5407
- package/src/sap/ui/integration/thirdparty/webcomponents/ru_UA.4c4e0034fbd799c6.json +0 -5407
- package/src/sap/ui/integration/thirdparty/webcomponents/sk.0d62a8cca83c1dec.json +0 -5370
- package/src/sap/ui/integration/thirdparty/webcomponents/sl.7b303551cc238560.json +0 -5340
- package/src/sap/ui/integration/thirdparty/webcomponents/sr.7fb9ac6ed054ff7d.json +0 -5126
- package/src/sap/ui/integration/thirdparty/webcomponents/sv.6ea04dfd8d1c331b.json +0 -5011
- package/src/sap/ui/integration/thirdparty/webcomponents/th.8e8d734a66ed1c51.json +0 -4797
- package/src/sap/ui/integration/thirdparty/webcomponents/tr.dbb9aa836fc4e3f5.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/uk.4854089f0c12f77c.json +0 -5353
- package/src/sap/ui/integration/thirdparty/webcomponents/vi.e6ffbde0643d7d75.json +0 -4673
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-ce.js +0 -73
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -336
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -221
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd.js +0 -169
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/webcomponents-loader.js +0 -185
- package/src/sap/ui/integration/thirdparty/webcomponents/zh_CN.6607a3e9e0901e53.json +0 -4632
- package/src/sap/ui/integration/thirdparty/webcomponents/zh_HK.1c2563d3e4dad56e.json +0 -4640
- package/src/sap/ui/integration/thirdparty/webcomponents/zh_SG.db7f1334eecf894d.json +0 -4640
- package/src/sap/ui/integration/thirdparty/webcomponents/zh_TW.a1d00dd87c58d8f0.json +0 -4728
- package/src/sap/ui/integration/util/CardActions.js +0 -551
|
@@ -15,6 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/base/Interface",
|
|
16
16
|
"sap/ui/integration/Designtime",
|
|
17
17
|
"sap/ui/model/json/JSONModel",
|
|
18
|
+
"sap/ui/model/odata/v4/ODataModel",
|
|
18
19
|
"sap/ui/integration/util/Utils",
|
|
19
20
|
"sap/ui/integration/util/Destinations",
|
|
20
21
|
"sap/ui/integration/util/DataProviderFactory",
|
|
@@ -30,6 +31,7 @@ sap.ui.define([
|
|
|
30
31
|
"sap/base/Log",
|
|
31
32
|
"sap/ui/core/Popup",
|
|
32
33
|
"sap/base/i18n/ResourceBundle",
|
|
34
|
+
"sap/ui/integration/editor/EditorResourceBundles",
|
|
33
35
|
"sap/ui/thirdparty/URI",
|
|
34
36
|
"sap/ui/dom/includeStylesheet",
|
|
35
37
|
"sap/base/util/LoaderExtensions",
|
|
@@ -45,7 +47,10 @@ sap.ui.define([
|
|
|
45
47
|
"./Settings",
|
|
46
48
|
"sap/m/FlexItemData",
|
|
47
49
|
"sap/m/FlexBox",
|
|
48
|
-
"sap/m/Button"
|
|
50
|
+
"sap/m/Button",
|
|
51
|
+
"sap/m/OverflowToolbar",
|
|
52
|
+
"sap/m/IconTabBar",
|
|
53
|
+
"sap/m/IconTabFilter"
|
|
49
54
|
], function (
|
|
50
55
|
ui5loader,
|
|
51
56
|
Control,
|
|
@@ -57,6 +62,7 @@ sap.ui.define([
|
|
|
57
62
|
Interface,
|
|
58
63
|
Designtime,
|
|
59
64
|
JSONModel,
|
|
65
|
+
ODataModel,
|
|
60
66
|
Utils,
|
|
61
67
|
Destinations,
|
|
62
68
|
DataProviderFactory,
|
|
@@ -72,6 +78,7 @@ sap.ui.define([
|
|
|
72
78
|
Log,
|
|
73
79
|
Popup,
|
|
74
80
|
ResourceBundle,
|
|
81
|
+
EditorResourceBundles,
|
|
75
82
|
URI,
|
|
76
83
|
includeStylesheet,
|
|
77
84
|
LoaderExtensions,
|
|
@@ -87,7 +94,10 @@ sap.ui.define([
|
|
|
87
94
|
Settings,
|
|
88
95
|
FlexItemData,
|
|
89
96
|
FlexBox,
|
|
90
|
-
Button
|
|
97
|
+
Button,
|
|
98
|
+
OverflowToolbar,
|
|
99
|
+
IconTabBar,
|
|
100
|
+
IconTabFilter
|
|
91
101
|
) {
|
|
92
102
|
"use strict";
|
|
93
103
|
|
|
@@ -134,7 +144,7 @@ sap.ui.define([
|
|
|
134
144
|
* @extends sap.ui.core.Control
|
|
135
145
|
*
|
|
136
146
|
* @author SAP SE
|
|
137
|
-
* @version 1.
|
|
147
|
+
* @version 1.100.0
|
|
138
148
|
* @constructor
|
|
139
149
|
* @since 1.94
|
|
140
150
|
* @private
|
|
@@ -187,6 +197,14 @@ sap.ui.define([
|
|
|
187
197
|
previewPosition:{
|
|
188
198
|
type: "string",
|
|
189
199
|
defaultValue: "right" // value can be "top", "bottom", "left", "right"
|
|
200
|
+
},
|
|
201
|
+
width: {
|
|
202
|
+
type: "sap.ui.core.CSSSize",
|
|
203
|
+
defaultValue: ""
|
|
204
|
+
},
|
|
205
|
+
height: {
|
|
206
|
+
type: "sap.ui.core.CSSSize",
|
|
207
|
+
defaultValue: ""
|
|
190
208
|
}
|
|
191
209
|
},
|
|
192
210
|
aggregations: {
|
|
@@ -257,8 +275,6 @@ sap.ui.define([
|
|
|
257
275
|
if (oControl.getMode() !== "translation") {
|
|
258
276
|
oRm.addClass("settingsButtonSpace");
|
|
259
277
|
}
|
|
260
|
-
|
|
261
|
-
oRm.writeClasses();
|
|
262
278
|
oRm.openEnd();
|
|
263
279
|
if (oControl.getMode() !== "translation") {
|
|
264
280
|
oRm.renderControl(oControl.getAggregation("_messageStrip"));
|
|
@@ -267,9 +283,11 @@ sap.ui.define([
|
|
|
267
283
|
//render items
|
|
268
284
|
if (aItems) {
|
|
269
285
|
var oPanel;
|
|
286
|
+
var oSubGroup;
|
|
270
287
|
var oLanguagePanel;
|
|
271
288
|
var oLabelItemForNotWrapping;
|
|
272
289
|
var oColFields = [];
|
|
290
|
+
var oColFieldsOfSubGroup = [];
|
|
273
291
|
var oOriginalField;
|
|
274
292
|
var addColFields = function () {
|
|
275
293
|
if (oColFields.length > 0) {
|
|
@@ -285,38 +303,154 @@ sap.ui.define([
|
|
|
285
303
|
oColFields = [];
|
|
286
304
|
}
|
|
287
305
|
};
|
|
306
|
+
var addColFieldsOfSubGroup = function () {
|
|
307
|
+
if (oColFieldsOfSubGroup.length > 0) {
|
|
308
|
+
var iLess = 2 - oColFieldsOfSubGroup.length;
|
|
309
|
+
for (var n = 0; n < iLess; n++) {
|
|
310
|
+
oColFieldsOfSubGroup.push(new VBox());
|
|
311
|
+
}
|
|
312
|
+
oSubGroup.addContent(new FlexBox({
|
|
313
|
+
alignItems: "Start",
|
|
314
|
+
justifyContent: "SpaceBetween",
|
|
315
|
+
items: oColFieldsOfSubGroup
|
|
316
|
+
}));
|
|
317
|
+
oColFieldsOfSubGroup = [];
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
var renderPanel = function (oPanel) {
|
|
321
|
+
if (oPanel.getContent().length > 0) {
|
|
322
|
+
var aContents = oPanel.getContent();
|
|
323
|
+
if (aContents.length === 1 && aContents[0].isA("sap.m.MessageStrip")) {
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
if (aContents[0].isA("sap.m.MessageStrip")) {
|
|
327
|
+
oPanel.removeContent(0);
|
|
328
|
+
oPanel.addContent(aContents[0]);
|
|
329
|
+
}
|
|
330
|
+
oRm.renderControl(oPanel);
|
|
331
|
+
if (oPanel._messageStrip) {
|
|
332
|
+
oRm.renderControl(oPanel._messageStrip);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
var addSubPanel = function (oPanel, oSubGroup) {
|
|
337
|
+
if (oPanel && oSubGroup.getContent().length > 0) {
|
|
338
|
+
var aContents = oSubGroup.getContent();
|
|
339
|
+
if (aContents[0].isA("sap.m.MessageStrip")) {
|
|
340
|
+
oSubGroup.removeContent(0);
|
|
341
|
+
oSubGroup.addContent(aContents[0]);
|
|
342
|
+
}
|
|
343
|
+
oPanel.addContent(oSubGroup);
|
|
344
|
+
if (oSubGroup._messageStrip) {
|
|
345
|
+
oPanel.addContent(oSubGroup._messageStrip);
|
|
346
|
+
}
|
|
347
|
+
} else {
|
|
348
|
+
oSubGroup = null;
|
|
349
|
+
}
|
|
350
|
+
};
|
|
351
|
+
var addSubTab = function (oPanel, oSubGroup) {
|
|
352
|
+
var oSubItems = oPanel.getContent(),
|
|
353
|
+
oIconTabBar;
|
|
354
|
+
if (oSubItems.length > 0) {
|
|
355
|
+
for (var m = 0; m < oSubItems.length; m++) {
|
|
356
|
+
if (oSubItems[m].isA("sap.m.IconTabBar")) {
|
|
357
|
+
oIconTabBar = oSubItems[m];
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
if (oIconTabBar && oSubGroup.getContent().length > 0) {
|
|
362
|
+
oIconTabBar.addItem(oSubGroup);
|
|
363
|
+
}
|
|
364
|
+
};
|
|
288
365
|
for (var i = 0; i < aItems.length; i++) {
|
|
289
366
|
var oItem = aItems[i];
|
|
290
367
|
if (oControl.getMode() !== "translation") {
|
|
291
|
-
if (oItem.isA("sap.m.Panel")) {
|
|
292
|
-
if (
|
|
293
|
-
//add current col fields to previous panel, then empty the col fields list
|
|
294
|
-
|
|
295
|
-
//
|
|
296
|
-
if (
|
|
297
|
-
|
|
368
|
+
if (oItem.isA("sap.m.Panel") || oItem.isA("sap.m.IconTabBar")) {
|
|
369
|
+
if (oSubGroup) {
|
|
370
|
+
//add current col fields to previous sub panel, then empty the col fields list
|
|
371
|
+
addColFieldsOfSubGroup();
|
|
372
|
+
//add sub group to panel
|
|
373
|
+
if (oItem.isA("sap.m.Panel") && oSubGroup.isA("sap.m.Panel")) {
|
|
374
|
+
addSubPanel(oPanel, oSubGroup);
|
|
375
|
+
} else {
|
|
376
|
+
addSubTab(oPanel, oSubGroup);
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
var oItemLevel = 0;
|
|
380
|
+
if (oItem.isA("sap.m.Panel")) {
|
|
381
|
+
oItemLevel = oItem._level;
|
|
382
|
+
} else if (oItem.isA("sap.m.IconTabBar")) {
|
|
383
|
+
oItemLevel = oItem.getItems()[0]._level;
|
|
384
|
+
}
|
|
385
|
+
if (oItemLevel === "1") {
|
|
386
|
+
if (oColFields.length > 0) {
|
|
387
|
+
addColFields();
|
|
388
|
+
// renderPanel(oPanel);
|
|
389
|
+
}
|
|
390
|
+
if (oItem.isA("sap.m.IconTabBar")) {
|
|
391
|
+
var subItems = oPanel.getContent(),
|
|
392
|
+
iconTabBarExist = false;
|
|
393
|
+
if (subItems.length > 0) {
|
|
394
|
+
for (var j = 0; j < subItems.length; j++) {
|
|
395
|
+
if (subItems[j].isA("sap.m.IconTabBar")) {
|
|
396
|
+
iconTabBarExist = true;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
if (!iconTabBarExist) {
|
|
401
|
+
oSubGroup = oItem.getItems()[0];
|
|
402
|
+
oSubGroup._subItems = [];
|
|
403
|
+
oItem.removeItem(oItem.getItems()[0]);
|
|
404
|
+
if (oItem.isA("sap.m.IconTabBar") && oItem._messageStrip) {
|
|
405
|
+
oPanel.addContent(oItem._messageStrip);
|
|
406
|
+
}
|
|
407
|
+
oItem.addStyleClass("sapUiIntegrationEditorSubTab");
|
|
408
|
+
oPanel.addContent(oItem);
|
|
409
|
+
} else {
|
|
410
|
+
oSubGroup = oItem.getItems()[0];
|
|
411
|
+
oSubGroup._subItems = [];
|
|
412
|
+
}
|
|
413
|
+
} else {
|
|
414
|
+
oSubGroup = oItem;
|
|
415
|
+
oSubGroup._subItems = [];
|
|
416
|
+
oSubGroup.addStyleClass("sapUiIntegrationEditorSubGroup");
|
|
298
417
|
}
|
|
418
|
+
} else {
|
|
419
|
+
if (oPanel) {
|
|
420
|
+
//add current col fields to previous panel, then empty the col fields list
|
|
421
|
+
addColFields();
|
|
422
|
+
//render previous panel
|
|
423
|
+
renderPanel(oPanel);
|
|
424
|
+
oSubGroup = null;
|
|
425
|
+
}
|
|
426
|
+
oPanel = oItem;
|
|
427
|
+
oPanel._subItems = [];
|
|
428
|
+
oPanel.addStyleClass("sapUiIntegrationEditorItem");
|
|
299
429
|
}
|
|
300
|
-
oPanel = oItem;
|
|
301
|
-
oPanel.addStyleClass("sapUiIntegrationEditorItem");
|
|
302
430
|
if (i === aItems.length - 1) {
|
|
303
431
|
//add current col fields to panel, then empty the col fields list
|
|
304
432
|
addColFields();
|
|
305
|
-
|
|
306
|
-
oRm.renderControl(oPanel);
|
|
307
|
-
}
|
|
433
|
+
renderPanel(oPanel);
|
|
308
434
|
}
|
|
309
435
|
continue;
|
|
310
436
|
}
|
|
311
437
|
// add style class for the hint under group and checkbox/toggle
|
|
312
438
|
if (oItem.isA("sap.m.FormattedText")) {
|
|
313
|
-
|
|
439
|
+
if (oSubGroup) {
|
|
440
|
+
oSubGroup.addContent(oItem.addStyleClass("sapUiIntegrationEditorHint"));
|
|
441
|
+
} else {
|
|
442
|
+
oPanel.addContent(oItem.addStyleClass("sapUiIntegrationEditorHint"));
|
|
443
|
+
}
|
|
314
444
|
if (i === aItems.length - 1) {
|
|
445
|
+
if (oSubGroup) {
|
|
446
|
+
//add current col fields to previous sub panel, then empty the col fields list
|
|
447
|
+
addColFieldsOfSubGroup();
|
|
448
|
+
//add sub panel to panel
|
|
449
|
+
addSubPanel(oPanel, oSubGroup);
|
|
450
|
+
}
|
|
315
451
|
//add current col fields to panel, then empty the col fields list
|
|
316
452
|
addColFields();
|
|
317
|
-
|
|
318
|
-
oRm.renderControl(oPanel);
|
|
319
|
-
}
|
|
453
|
+
renderPanel(oPanel);
|
|
320
454
|
}
|
|
321
455
|
continue;
|
|
322
456
|
}
|
|
@@ -332,19 +466,36 @@ sap.ui.define([
|
|
|
332
466
|
} else {
|
|
333
467
|
//if cols === 1 and reach the col size, add the col fields to panel, then empty the col fields list
|
|
334
468
|
//if cols === 2, add the col fields to panel, then empty the col fields list
|
|
335
|
-
if (oItem._cols === 2
|
|
469
|
+
if (oItem._cols === 2) {
|
|
470
|
+
if (oSubGroup) {
|
|
471
|
+
addColFieldsOfSubGroup();
|
|
472
|
+
} else {
|
|
473
|
+
addColFields();
|
|
474
|
+
}
|
|
475
|
+
} else if (oColFieldsOfSubGroup.length === 2) {
|
|
476
|
+
addColFieldsOfSubGroup();
|
|
477
|
+
} else if (oColFields.length === 2) {
|
|
336
478
|
addColFields();
|
|
337
479
|
}
|
|
338
|
-
|
|
480
|
+
if (oSubGroup) {
|
|
481
|
+
oSubGroup.addContent(oItem);
|
|
482
|
+
} else {
|
|
483
|
+
oPanel.addContent(oItem);
|
|
484
|
+
}
|
|
339
485
|
}
|
|
340
486
|
} else if (oItem.isA("sap.m.ToolbarSpacer")) {
|
|
341
|
-
addColFields();
|
|
342
487
|
if (oItem._hasLine) {
|
|
343
488
|
oItem.addStyleClass("sapUiIntegrationEditorSpacerWithLine");
|
|
344
489
|
} else {
|
|
345
490
|
oItem.addStyleClass("sapUiIntegrationEditorSpacerWithoutLine");
|
|
346
491
|
}
|
|
347
|
-
|
|
492
|
+
if (oSubGroup) {
|
|
493
|
+
addColFieldsOfSubGroup();
|
|
494
|
+
oSubGroup.addContent(oItem);
|
|
495
|
+
} else {
|
|
496
|
+
addColFields();
|
|
497
|
+
oPanel.addContent(oItem);
|
|
498
|
+
}
|
|
348
499
|
} else {
|
|
349
500
|
var oConfig = oItem.getConfiguration(),
|
|
350
501
|
aInfoHBox = new HBox(),
|
|
@@ -460,32 +611,60 @@ sap.ui.define([
|
|
|
460
611
|
]
|
|
461
612
|
});
|
|
462
613
|
}
|
|
463
|
-
//render
|
|
614
|
+
//render label and field for NotWrapping parameter
|
|
464
615
|
if (oItem._cols === 1) {
|
|
465
|
-
if (
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
616
|
+
if (oSubGroup) {
|
|
617
|
+
if (oColFieldsOfSubGroup.length === 2) {
|
|
618
|
+
addColFieldsOfSubGroup();
|
|
619
|
+
}
|
|
620
|
+
if (oConfig.hint) {
|
|
621
|
+
var oHint = oControl._createHint(oConfig.hint);
|
|
622
|
+
var oColVBox = new VBox({
|
|
623
|
+
items: [
|
|
624
|
+
oHBox,
|
|
625
|
+
oHint.addStyleClass("sapUiIntegrationEditorHint")
|
|
626
|
+
]
|
|
627
|
+
});
|
|
628
|
+
oColVBox.addStyleClass("col1");
|
|
629
|
+
oColFieldsOfSubGroup.push(oColVBox);
|
|
630
|
+
} else {
|
|
631
|
+
oHBox.addStyleClass("col1");
|
|
632
|
+
oColFieldsOfSubGroup.push(oHBox);
|
|
633
|
+
}
|
|
478
634
|
} else {
|
|
479
|
-
|
|
480
|
-
|
|
635
|
+
if (oColFields.length === 2) {
|
|
636
|
+
addColFields();
|
|
637
|
+
}
|
|
638
|
+
if (oConfig.hint) {
|
|
639
|
+
var oHint = oControl._createHint(oConfig.hint);
|
|
640
|
+
var oColVBox = new VBox({
|
|
641
|
+
items: [
|
|
642
|
+
oHBox,
|
|
643
|
+
oHint.addStyleClass("sapUiIntegrationEditorHint")
|
|
644
|
+
]
|
|
645
|
+
});
|
|
646
|
+
oColVBox.addStyleClass("col1");
|
|
647
|
+
oColFields.push(oColVBox);
|
|
648
|
+
} else {
|
|
649
|
+
oHBox.addStyleClass("col1");
|
|
650
|
+
oColFields.push(oHBox);
|
|
651
|
+
}
|
|
481
652
|
}
|
|
653
|
+
} else if (oSubGroup) {
|
|
654
|
+
addColFieldsOfSubGroup();
|
|
655
|
+
oSubGroup.addContent(oHBox);
|
|
482
656
|
} else {
|
|
483
657
|
addColFields();
|
|
484
658
|
oPanel.addContent(oHBox);
|
|
485
659
|
}
|
|
486
660
|
oLabelItemForNotWrapping = null;
|
|
487
661
|
} else {
|
|
488
|
-
var oLabel
|
|
662
|
+
var oLabel;
|
|
663
|
+
if (oSubGroup) {
|
|
664
|
+
oLabel = oSubGroup.getContent().pop();
|
|
665
|
+
} else {
|
|
666
|
+
oLabel = oPanel.getContent().pop();
|
|
667
|
+
}
|
|
489
668
|
oLabel.setLayoutData(oFlexItemDataForInfo);
|
|
490
669
|
if (aInfoHBox.getItems().length > 0) {
|
|
491
670
|
oLabel.addStyleClass("sapUiIntegrationEditorItemLabelWithInfo");
|
|
@@ -519,19 +698,44 @@ sap.ui.define([
|
|
|
519
698
|
oColVBox.addItem(oHint.addStyleClass("sapUiIntegrationEditorHint"));
|
|
520
699
|
}
|
|
521
700
|
oColVBox.addStyleClass("col1");
|
|
522
|
-
|
|
701
|
+
if (oSubGroup) {
|
|
702
|
+
oColFieldsOfSubGroup.push(oColVBox);
|
|
703
|
+
} else {
|
|
704
|
+
oColFields.push(oColVBox);
|
|
705
|
+
}
|
|
706
|
+
} else if (oSubGroup) {
|
|
707
|
+
oSubGroup.addContent(oLabelFlexBox);
|
|
708
|
+
oSubGroup.addContent(oItem);
|
|
523
709
|
} else {
|
|
524
710
|
oPanel.addContent(oLabelFlexBox);
|
|
525
711
|
oPanel.addContent(oItem);
|
|
526
712
|
}
|
|
527
713
|
}
|
|
714
|
+
if (oSubGroup) {
|
|
715
|
+
oSubGroup._subItems.push({
|
|
716
|
+
"settingspath": oItem.getConfiguration()._settingspath,
|
|
717
|
+
"itemId": oItem.getId()
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
oPanel._subItems.push({
|
|
721
|
+
"settingspath": oItem.getConfiguration()._settingspath,
|
|
722
|
+
"itemId": oItem.getId()
|
|
723
|
+
});
|
|
528
724
|
}
|
|
529
725
|
if (i === aItems.length - 1) {
|
|
726
|
+
if (oSubGroup) {
|
|
727
|
+
//add current col fields to previous sub panel, then empty the col fields list
|
|
728
|
+
addColFieldsOfSubGroup();
|
|
729
|
+
//add sub panel to panel
|
|
730
|
+
if (oSubGroup.isA("sap.m.Panel")) {
|
|
731
|
+
addSubPanel(oPanel, oSubGroup);
|
|
732
|
+
} else {
|
|
733
|
+
addSubTab(oPanel, oSubGroup);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
530
736
|
//add current col fields to panel, then empty the col fields list
|
|
531
737
|
addColFields();
|
|
532
|
-
|
|
533
|
-
oRm.renderControl(oPanel);
|
|
534
|
-
}
|
|
738
|
+
renderPanel(oPanel);
|
|
535
739
|
}
|
|
536
740
|
} else {
|
|
537
741
|
if (i === 0) {
|
|
@@ -541,13 +745,61 @@ sap.ui.define([
|
|
|
541
745
|
oLanguagePanel.addStyleClass("sapUiIntegrationEditorTranslationPanel");
|
|
542
746
|
continue;
|
|
543
747
|
}
|
|
544
|
-
if (oItem.isA("sap.m.Panel")) {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
748
|
+
if (oItem.isA("sap.m.Panel") || oItem.isA("sap.m.IconTabBar")) {
|
|
749
|
+
if (oSubGroup) {
|
|
750
|
+
//add sub panel to panel
|
|
751
|
+
if (oItem.isA("sap.m.Panel") && oSubGroup.isA("sap.m.Panel")) {
|
|
752
|
+
addSubPanel(oPanel, oSubGroup);
|
|
753
|
+
} else {
|
|
754
|
+
addSubTab(oPanel, oSubGroup);
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
var tItemLevel = 0;
|
|
758
|
+
if (oItem.isA("sap.m.Panel")) {
|
|
759
|
+
tItemLevel = oItem._level;
|
|
760
|
+
} else if (oItem.isA("sap.m.IconTabBar")) {
|
|
761
|
+
if (oItem.getItems().length > 0 && oItem.getItems()[0]._level) {
|
|
762
|
+
tItemLevel = oItem.getItems()[0]._level;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
if (tItemLevel === "1") {
|
|
766
|
+
if (oItem.isA("sap.m.IconTabBar")) {
|
|
767
|
+
if (i !== aItems.length - 1 || (i < aItems.length && (aItems[i].isA("sap.m.IconTabBar") || aItems[i].isA("sap.m.Panel")))) {
|
|
768
|
+
var tSubItems = oPanel.getContent(),
|
|
769
|
+
tIconTabBarExist = false;
|
|
770
|
+
if (tSubItems.length > 0) {
|
|
771
|
+
for (var l = 0; l < tSubItems.length; l++) {
|
|
772
|
+
if (tSubItems[l].isA("sap.m.IconTabBar")) {
|
|
773
|
+
tIconTabBarExist = true;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
if (!tIconTabBarExist) {
|
|
778
|
+
oSubGroup = oItem.getItems()[0];
|
|
779
|
+
oItem.removeItem(oItem.getItems()[0]);
|
|
780
|
+
oPanel.addContent(oItem);
|
|
781
|
+
} else {
|
|
782
|
+
oSubGroup = oItem.getItems()[0];
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
} else {
|
|
786
|
+
oSubGroup = oItem;
|
|
787
|
+
oSubGroup.addStyleClass("sapUiIntegrationEditorSubGroup");
|
|
788
|
+
}
|
|
789
|
+
} else {
|
|
790
|
+
oSubGroup = null;
|
|
791
|
+
//add sub panel if it has content into top panel
|
|
792
|
+
if (oPanel && oPanel.getContent().length > 0) {
|
|
793
|
+
oLanguagePanel.addContent(oPanel);
|
|
794
|
+
}
|
|
795
|
+
oPanel = oItem;
|
|
796
|
+
oPanel.addStyleClass("sapUiIntegrationEditorSubGroup");
|
|
797
|
+
}
|
|
798
|
+
if (i === aItems.length - 1) {
|
|
799
|
+
//add current col fields to panel, then empty the col fields list
|
|
800
|
+
addColFields();
|
|
801
|
+
renderPanel(oPanel);
|
|
548
802
|
}
|
|
549
|
-
oPanel = oItem;
|
|
550
|
-
oPanel.addStyleClass("sapUiIntegrationEditorTranslationSubPanel");
|
|
551
803
|
continue;
|
|
552
804
|
}
|
|
553
805
|
if (oItem.isA("sap.m.ToolbarSpacer")) {
|
|
@@ -557,7 +809,11 @@ sap.ui.define([
|
|
|
557
809
|
continue;
|
|
558
810
|
}
|
|
559
811
|
if (oItem.isA("sap.m.Label")) {
|
|
560
|
-
|
|
812
|
+
if (oSubGroup) {
|
|
813
|
+
oSubGroup.addContent(oItem);
|
|
814
|
+
} else {
|
|
815
|
+
oPanel.addContent(oItem);
|
|
816
|
+
}
|
|
561
817
|
continue;
|
|
562
818
|
}
|
|
563
819
|
//oItem.addStyleClass("language");
|
|
@@ -573,8 +829,20 @@ sap.ui.define([
|
|
|
573
829
|
oItem
|
|
574
830
|
]
|
|
575
831
|
}).addStyleClass("notWrappingRow");
|
|
576
|
-
|
|
832
|
+
if (oSubGroup) {
|
|
833
|
+
oSubGroup.addContent(oHBox);
|
|
834
|
+
} else {
|
|
835
|
+
oPanel.addContent(oHBox);
|
|
836
|
+
}
|
|
577
837
|
if (i === aItems.length - 1) {
|
|
838
|
+
if (oSubGroup) {
|
|
839
|
+
//add sub panel to panel
|
|
840
|
+
if (oSubGroup.isA("sap.m.Panel")) {
|
|
841
|
+
addSubPanel(oPanel, oSubGroup);
|
|
842
|
+
} else {
|
|
843
|
+
addSubTab(oPanel, oSubGroup);
|
|
844
|
+
}
|
|
845
|
+
}
|
|
578
846
|
oLanguagePanel.addContent(oPanel);
|
|
579
847
|
}
|
|
580
848
|
}
|
|
@@ -604,9 +872,13 @@ sap.ui.define([
|
|
|
604
872
|
this._appliedLayerManifestChanges = [];
|
|
605
873
|
this._currentLayerManifestChanges = {};
|
|
606
874
|
this._mDestinationDataProviders = {};
|
|
607
|
-
|
|
875
|
+
var oMessageStrip = new MessageStrip({
|
|
608
876
|
showIcon: false
|
|
609
|
-
})
|
|
877
|
+
});
|
|
878
|
+
oMessageStrip.addStyleClass("sapUiIntegrationEditorFieldMessageStrip");
|
|
879
|
+
this.setAggregation("_messageStrip", oMessageStrip);
|
|
880
|
+
MessageStripId = oMessageStrip.getId();
|
|
881
|
+
this.setLanguage(Core.getConfiguration().getLanguage());
|
|
610
882
|
/**
|
|
611
883
|
* Facade of the {@link sap.ui.integration.editor.Editor} control.
|
|
612
884
|
* @interface
|
|
@@ -614,7 +886,7 @@ sap.ui.define([
|
|
|
614
886
|
* @experimental since 1.94
|
|
615
887
|
* @public
|
|
616
888
|
* @author SAP SE
|
|
617
|
-
* @version 1.
|
|
889
|
+
* @version 1.100.0
|
|
618
890
|
* @borrows sap.ui.integration.editor.Editor#getParameters as getParameters
|
|
619
891
|
* @borrows sap.ui.integration.editor.Editor#resolveDestination as resolveDestination
|
|
620
892
|
* @borrows sap.ui.integration.editor.Editor#request as request
|
|
@@ -755,17 +1027,22 @@ sap.ui.define([
|
|
|
755
1027
|
this._registerManifestModulePath();
|
|
756
1028
|
this._oInitialManifestModel = new JSONModel(this._oEditorManifest._oInitialJson);
|
|
757
1029
|
this.setProperty("json", this._oEditorManifest._oInitialJson, bSuppress);
|
|
758
|
-
var oManifestJson = this._oEditorManifest.
|
|
1030
|
+
var oManifestJson = this._oEditorManifest.oJson;
|
|
759
1031
|
var _beforeCurrentLayer = merge({}, oManifestJson);
|
|
760
1032
|
this._beforeManifestModel = new JSONModel(_beforeCurrentLayer);
|
|
761
1033
|
if (iCurrentModeIndex < Merger.layers["translation"] && this._currentLayerManifestChanges) {
|
|
762
1034
|
//merge if not translation
|
|
763
|
-
oManifestJson = Merger.mergeDelta(oManifestJson, [this._currentLayerManifestChanges]);
|
|
1035
|
+
oManifestJson = Merger.mergeDelta(oManifestJson, [this._currentLayerManifestChanges], this.getSection());
|
|
764
1036
|
}
|
|
765
1037
|
//create a manifest model after the changes are merged
|
|
766
1038
|
this._manifestModel = new JSONModel(oManifestJson);
|
|
767
1039
|
this._isManifestReady = true;
|
|
768
1040
|
this.fireManifestReady();
|
|
1041
|
+
var vI18n = this._oEditorManifest.get("/sap.app/i18n");
|
|
1042
|
+
var sResourceBundleURL = this.getBaseUrl() + vI18n;
|
|
1043
|
+
if (vI18n && EditorResourceBundles.getResourceBundleURL() !== sResourceBundleURL) {
|
|
1044
|
+
EditorResourceBundles.setResourceBundleURL(sResourceBundleURL);
|
|
1045
|
+
}
|
|
769
1046
|
//use the translations
|
|
770
1047
|
this._loadDefaultTranslations();
|
|
771
1048
|
//add a context model
|
|
@@ -773,7 +1050,6 @@ sap.ui.define([
|
|
|
773
1050
|
if (this._oEditorManifest.getResourceBundle()) {
|
|
774
1051
|
this._enhanceI18nModel(this._oEditorManifest.getResourceBundle());
|
|
775
1052
|
}
|
|
776
|
-
|
|
777
1053
|
return this._loadExtension().then(function() {
|
|
778
1054
|
this._initInternal();
|
|
779
1055
|
}.bind(this));
|
|
@@ -801,27 +1077,21 @@ sap.ui.define([
|
|
|
801
1077
|
}
|
|
802
1078
|
|
|
803
1079
|
var oResourceBundle = Core.getLibraryResourceBundle("sap.ui.integration");
|
|
804
|
-
|
|
1080
|
+
var oResourceModel = new ResourceModel({
|
|
1081
|
+
bundle: oResourceBundle
|
|
1082
|
+
});
|
|
1083
|
+
|
|
1084
|
+
this.setModel(oResourceModel, "i18n");
|
|
1085
|
+
this._oResourceBundle = oResourceBundle;
|
|
805
1086
|
this._defaultTranslationsLoaded = true;
|
|
806
1087
|
};
|
|
807
1088
|
|
|
808
1089
|
Editor.prototype._enhanceI18nModel = function (oResourceBundle) {
|
|
809
1090
|
var oResourceModel = this.getModel("i18n");
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
oResourceModel.enhance(oResourceBundle);
|
|
814
|
-
this._oResourceBundle = oResourceModel.getResourceBundle();
|
|
815
|
-
}
|
|
816
|
-
return;
|
|
1091
|
+
if (oResourceModel.getResourceBundle().oUrlInfo.url !== oResourceBundle.oUrlInfo.url) {
|
|
1092
|
+
oResourceModel.enhance(oResourceBundle);
|
|
1093
|
+
this._oResourceBundle = oResourceModel.getResourceBundle();
|
|
817
1094
|
}
|
|
818
|
-
|
|
819
|
-
oResourceModel = new ResourceModel({
|
|
820
|
-
bundle: oResourceBundle
|
|
821
|
-
});
|
|
822
|
-
|
|
823
|
-
this.setModel(oResourceModel, "i18n");
|
|
824
|
-
this._oResourceBundle = oResourceBundle;
|
|
825
1095
|
};
|
|
826
1096
|
|
|
827
1097
|
Editor.prototype._loadExtension = function () {
|
|
@@ -985,8 +1255,7 @@ sap.ui.define([
|
|
|
985
1255
|
this._language = sValue.replaceAll('_', '-');
|
|
986
1256
|
if (this.getLanguage() != sValue) {
|
|
987
1257
|
//reload resource bundler if language changed
|
|
988
|
-
|
|
989
|
-
this._enhanceI18nModel(oResourceBundle);
|
|
1258
|
+
this._loadDefaultTranslations();
|
|
990
1259
|
}
|
|
991
1260
|
this.setProperty("language", sValue, bSuppress);
|
|
992
1261
|
if (!Editor._languages[this._language]) {
|
|
@@ -1016,44 +1285,36 @@ sap.ui.define([
|
|
|
1016
1285
|
*/
|
|
1017
1286
|
Editor.prototype._filterManifestChangesByLayer = function (oManifestSettings) {
|
|
1018
1287
|
var aChanges = [],
|
|
1288
|
+
that = this,
|
|
1289
|
+
oBeforeLayerChanges = {},
|
|
1019
1290
|
oCurrentLayerChanges = { ":layer": Merger.layers[this.getMode()] },
|
|
1020
|
-
iCurrentModeIndex = Merger.layers[
|
|
1021
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
1022
|
-
var sEditorLanguage = this._language || this.getLanguage() || Core.getConfiguration().getLanguage().replaceAll('_', '-');
|
|
1023
|
-
*/
|
|
1291
|
+
iCurrentModeIndex = Merger.layers[that.getMode()];
|
|
1024
1292
|
oManifestSettings.manifestChanges.forEach(function (oChange) {
|
|
1025
1293
|
//filter manifest changes. only the changes before the current layer are needed
|
|
1026
1294
|
//editor will merge the last layer locally to allow "reset" or properties
|
|
1027
1295
|
//also for translation layer, the "original" value is needed
|
|
1028
1296
|
var iLayer = oChange.hasOwnProperty(":layer") ? oChange[":layer"] : 1000;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
var oChangeTransfered = {};
|
|
1034
|
-
var aKeys = Object.keys(oChange);
|
|
1035
|
-
for (var j = 0; j < aKeys.length; j++) {
|
|
1036
|
-
if (aKeys[j].endsWith("/value") && typeof oChange[aKeys[j]] === "string") {
|
|
1037
|
-
var sValueTranslationsPath = aKeys[j].substring(0, aKeys[j].lastIndexOf("/")) + "/valueTranslations";
|
|
1038
|
-
if (!includes(aKeys, sValueTranslationsPath)) {
|
|
1039
|
-
var oValueTranslation = {};
|
|
1040
|
-
if (iLayer === Merger.layers["translation"]) {
|
|
1041
|
-
oValueTranslation[sEditorLanguage] = oChange[aKeys[j]];
|
|
1042
|
-
} else {
|
|
1043
|
-
for (var p in Editor._languages) {
|
|
1044
|
-
oValueTranslation[p] = oChange[aKeys[j]];
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
oChangeTransfered[sValueTranslationsPath] = oValueTranslation;
|
|
1048
|
-
continue;
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
oChangeTransfered[aKeys[j]] = oChange[aKeys[j]];
|
|
1297
|
+
if (iLayer === Merger.layers["translation"]) {
|
|
1298
|
+
var sLanguage = that._language;
|
|
1299
|
+
if (sLanguage === "") {
|
|
1300
|
+
sLanguage = Core.getConfiguration().getLanguage().replaceAll('_', '-');
|
|
1052
1301
|
}
|
|
1053
|
-
|
|
1054
|
-
|
|
1302
|
+
var oTranslationChange = {
|
|
1303
|
+
"texts": {}
|
|
1304
|
+
};
|
|
1305
|
+
oTranslationChange.texts[sLanguage] = {};
|
|
1306
|
+
Object.keys(oChange).forEach(function (s) {
|
|
1307
|
+
if (s.charAt(0) === "/") {
|
|
1308
|
+
oTranslationChange.texts[sLanguage][s] = oChange[s];
|
|
1309
|
+
} else {
|
|
1310
|
+
oTranslationChange[s] = oChange[s];
|
|
1311
|
+
}
|
|
1312
|
+
});
|
|
1313
|
+
oChange = oTranslationChange;
|
|
1314
|
+
}
|
|
1055
1315
|
if (iLayer < iCurrentModeIndex) {
|
|
1056
1316
|
aChanges.push(oChange);
|
|
1317
|
+
oBeforeLayerChanges = merge(oBeforeLayerChanges, oChange);
|
|
1057
1318
|
} else if (iLayer === iCurrentModeIndex) {
|
|
1058
1319
|
//store the current layer changes locally for later processing
|
|
1059
1320
|
oCurrentLayerChanges = oChange;
|
|
@@ -1061,6 +1322,7 @@ sap.ui.define([
|
|
|
1061
1322
|
});
|
|
1062
1323
|
oManifestSettings.manifestChanges = aChanges;
|
|
1063
1324
|
this._currentLayerManifestChanges = oCurrentLayerChanges;
|
|
1325
|
+
this._beforeLayerManifestChanges = oBeforeLayerChanges;
|
|
1064
1326
|
};
|
|
1065
1327
|
/**
|
|
1066
1328
|
* Initializes the editor after the json is set
|
|
@@ -1191,47 +1453,33 @@ sap.ui.define([
|
|
|
1191
1453
|
for (var n in oSettings.form.items) {
|
|
1192
1454
|
var oItem = oSettings.form.items[n];
|
|
1193
1455
|
if (oItem.editable && oItem.visible) {
|
|
1194
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
1195
|
-
var oValueTranslations;
|
|
1196
|
-
var sLanguage = this.getMode() !== "translation" ? Core.getConfiguration().getLanguage().replaceAll('_', '-') : this._language || this.getLanguage();
|
|
1197
|
-
*/
|
|
1198
|
-
var sValueTranslationsPath = "";
|
|
1199
|
-
if (oItem.manifestpath) {
|
|
1200
|
-
sValueTranslationsPath = oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueTranslations";
|
|
1201
|
-
}
|
|
1202
1456
|
if (this.getMode() !== "translation") {
|
|
1203
|
-
if (oItem.translatable && !oItem._changed && oItem._translatedPlaceholder && !this._currentLayerManifestChanges[oItem.manifestpath]
|
|
1457
|
+
if (oItem.translatable && !oItem._changed && oItem._translatedPlaceholder && !this._currentLayerManifestChanges[oItem.manifestpath]) {
|
|
1204
1458
|
//do not save a value that was not changed and comes from a translated default value
|
|
1205
1459
|
//mResult[oItem.manifestpath] = oItem._translatedPlaceholder;
|
|
1206
1460
|
//if we would save it
|
|
1207
1461
|
continue;
|
|
1208
1462
|
} else {
|
|
1209
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
1210
|
-
* need to remove below line later if we want release multi language function again
|
|
1211
|
-
*/
|
|
1212
|
-
mResult[oItem.manifestpath] = oItem.value;
|
|
1213
1463
|
if (oItem.valueItems) {
|
|
1214
1464
|
mResult[oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueItems"] = oItem.valueItems;
|
|
1215
1465
|
}
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1466
|
+
switch (oItem.type) {
|
|
1467
|
+
case "string":
|
|
1468
|
+
if (!oItem.translatable) {
|
|
1469
|
+
mResult[oItem.manifestpath] = oItem.value;
|
|
1470
|
+
}
|
|
1471
|
+
break;
|
|
1472
|
+
case "group":
|
|
1473
|
+
break;
|
|
1474
|
+
case "object":
|
|
1475
|
+
case "object[]":
|
|
1476
|
+
if (oItem.value && oItem.value !== "") {
|
|
1477
|
+
mResult[oItem.manifestpath] = oItem.value;
|
|
1478
|
+
}
|
|
1479
|
+
break;
|
|
1480
|
+
default:
|
|
1481
|
+
mResult[oItem.manifestpath] = oItem.value;
|
|
1219
1482
|
}
|
|
1220
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
1221
|
-
//if current parameter is string and translatable, create or merge valueTranslations property of it.
|
|
1222
|
-
//set the current change to current language in valueTranslations.
|
|
1223
|
-
if (oItem.type === "string" && oItem.translatable) {
|
|
1224
|
-
if (!oItem.valueTranslations) {
|
|
1225
|
-
oValueTranslations = {};
|
|
1226
|
-
} else {
|
|
1227
|
-
oValueTranslations = deepClone(oItem.valueTranslations, 500);
|
|
1228
|
-
}
|
|
1229
|
-
oValueTranslations[sLanguage] = oItem.value;
|
|
1230
|
-
oItem.valueTranslations = oValueTranslations;
|
|
1231
|
-
mResult[sValueTranslationsPath] = oItem.valueTranslations;
|
|
1232
|
-
} else {
|
|
1233
|
-
mResult[oItem.manifestpath] = oItem.value;
|
|
1234
|
-
}*/
|
|
1235
1483
|
}
|
|
1236
1484
|
} else if (oItem.translatable && oItem.value) {
|
|
1237
1485
|
//in translation mode create an entry if there is a value
|
|
@@ -1260,6 +1508,15 @@ sap.ui.define([
|
|
|
1260
1508
|
}
|
|
1261
1509
|
}
|
|
1262
1510
|
}
|
|
1511
|
+
if (oSettings.texts) {
|
|
1512
|
+
mResult.texts = {};
|
|
1513
|
+
for (var language in oSettings.texts) {
|
|
1514
|
+
mResult.texts[language] = {};
|
|
1515
|
+
for (var translation in oSettings.texts[language]) {
|
|
1516
|
+
mResult.texts[language][translation] = oSettings.texts[language][translation];
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1263
1520
|
//add a property ":multipleLanguage" for backward compatibility of multiple language feature
|
|
1264
1521
|
if (this.getMode() !== "translation") {
|
|
1265
1522
|
mResult[":multipleLanguage"] = true;
|
|
@@ -1461,12 +1718,14 @@ sap.ui.define([
|
|
|
1461
1718
|
//map editors for a specific type
|
|
1462
1719
|
Editor.fieldMap = {
|
|
1463
1720
|
"string": "sap/ui/integration/editor/fields/StringField",
|
|
1721
|
+
"string[]": "sap/ui/integration/editor/fields/StringListField",
|
|
1464
1722
|
"integer": "sap/ui/integration/editor/fields/IntegerField",
|
|
1465
1723
|
"number": "sap/ui/integration/editor/fields/NumberField",
|
|
1466
1724
|
"boolean": "sap/ui/integration/editor/fields/BooleanField",
|
|
1467
1725
|
"date": "sap/ui/integration/editor/fields/DateField",
|
|
1468
1726
|
"datetime": "sap/ui/integration/editor/fields/DateTimeField",
|
|
1469
|
-
"
|
|
1727
|
+
"object": "sap/ui/integration/editor/fields/ObjectField",
|
|
1728
|
+
"object[]": "sap/ui/integration/editor/fields/ObjectListField",
|
|
1470
1729
|
"destination": "sap/ui/integration/editor/fields/DestinationField"
|
|
1471
1730
|
};
|
|
1472
1731
|
Editor.Fields = null;
|
|
@@ -1708,6 +1967,10 @@ sap.ui.define([
|
|
|
1708
1967
|
}.bind(this));
|
|
1709
1968
|
}
|
|
1710
1969
|
if (oConfig.values) {
|
|
1970
|
+
// load metadata
|
|
1971
|
+
if (oConfig.values.metadata) {
|
|
1972
|
+
this._addMetadataModel(oConfig, oField);
|
|
1973
|
+
}
|
|
1711
1974
|
// for MultiInput used in string[] field with filter backend, do not request data when creating it
|
|
1712
1975
|
if (oConfig.type === "string[]" && oField.isFilterBackend() && oConfig.visualization && oConfig.visualization.type === "MultiInput") {
|
|
1713
1976
|
oField.setModel(new JSONModel({}), undefined);
|
|
@@ -1721,7 +1984,8 @@ sap.ui.define([
|
|
|
1721
1984
|
oField._layout = oConfig.layout;
|
|
1722
1985
|
}
|
|
1723
1986
|
oField._oDataProviderFactory = this._oDataProviderFactory;
|
|
1724
|
-
oField.setAssociation("_messageStrip",
|
|
1987
|
+
oField.setAssociation("_messageStrip", MessageStripId);
|
|
1988
|
+
oField._previewPostion = this.getPreviewPosition();
|
|
1725
1989
|
return oField;
|
|
1726
1990
|
};
|
|
1727
1991
|
|
|
@@ -1797,6 +2061,11 @@ sap.ui.define([
|
|
|
1797
2061
|
} else {
|
|
1798
2062
|
tResult = oData;
|
|
1799
2063
|
}
|
|
2064
|
+
if (oConfig.type === "object" || oConfig.type === "object[]") {
|
|
2065
|
+
tResult.forEach(function (oResult) {
|
|
2066
|
+
oResult._editable = false;
|
|
2067
|
+
});
|
|
2068
|
+
}
|
|
1800
2069
|
if (this.getMode() === "content" && oConfig.pageAdminValues && oConfig.pageAdminValues.length > 0) {
|
|
1801
2070
|
var paValues = oConfig.pageAdminValues,
|
|
1802
2071
|
selValues = oConfig.value,
|
|
@@ -1844,7 +2113,7 @@ sap.ui.define([
|
|
|
1844
2113
|
oData = results;
|
|
1845
2114
|
}
|
|
1846
2115
|
}
|
|
1847
|
-
//add group property "Selected" to each record for MultiComboBox in
|
|
2116
|
+
//add group property "Selected" to each record for MultiComboBox in StringListField
|
|
1848
2117
|
//user configration of the field since its value maybe changed
|
|
1849
2118
|
var oFieldConfig = oField.getConfiguration();
|
|
1850
2119
|
if (oConfig.type === "string[]") {
|
|
@@ -1887,6 +2156,9 @@ sap.ui.define([
|
|
|
1887
2156
|
oValueModel.firePropertyChange();
|
|
1888
2157
|
this._settingsModel.setProperty(oConfig._settingspath + "/_loading", false);
|
|
1889
2158
|
oField._hideValueState(true, true);
|
|
2159
|
+
if (oConfig.type === "object" || oConfig.type === "object[]") {
|
|
2160
|
+
oField.mergeValueWithRequestResult(tResult);
|
|
2161
|
+
}
|
|
1890
2162
|
}.bind(this)).catch(function (oError) {
|
|
1891
2163
|
this._settingsModel.setProperty(oConfig._settingspath + "/_loading", false);
|
|
1892
2164
|
var sError = this._oResourceBundle.getText("EDITOR_BAD_REQUEST");
|
|
@@ -1913,6 +2185,9 @@ sap.ui.define([
|
|
|
1913
2185
|
}
|
|
1914
2186
|
var oValueModel = oField.getModel();
|
|
1915
2187
|
oValueModel.firePropertyChange();
|
|
2188
|
+
if (oConfig.type === "object" || oConfig.type === "object[]") {
|
|
2189
|
+
oField.mergeValueWithRequestResult();
|
|
2190
|
+
}
|
|
1916
2191
|
oField._showValueState("error", sError, true);
|
|
1917
2192
|
}.bind(this));
|
|
1918
2193
|
};
|
|
@@ -2060,6 +2335,48 @@ sap.ui.define([
|
|
|
2060
2335
|
}
|
|
2061
2336
|
};
|
|
2062
2337
|
|
|
2338
|
+
/**
|
|
2339
|
+
* Creates a meta model if a values.metadata section exists in the configuration
|
|
2340
|
+
* @param {object} oConfig
|
|
2341
|
+
* @param {BaseField} oField
|
|
2342
|
+
*/
|
|
2343
|
+
Editor.prototype._addMetadataModel = function (oConfig, oField) {
|
|
2344
|
+
if (oConfig.values && oConfig.values.metadata) {
|
|
2345
|
+
var oRequestDefaultParameters = {
|
|
2346
|
+
"synchronizationMode": "None"
|
|
2347
|
+
};
|
|
2348
|
+
oRequestDefaultParameters = merge(oRequestDefaultParameters, oConfig.values.metadata.request);
|
|
2349
|
+
|
|
2350
|
+
var oRequest = {
|
|
2351
|
+
url: oRequestDefaultParameters.serviceUrl
|
|
2352
|
+
};
|
|
2353
|
+
var pRequestChain = Promise.resolve(oRequest);
|
|
2354
|
+
if (this._oDestinations) {
|
|
2355
|
+
pRequestChain = this._oDestinations.process(oRequest);
|
|
2356
|
+
}
|
|
2357
|
+
pRequestChain.then(function(oData) {
|
|
2358
|
+
if (!oData.url.endsWith("/")) {
|
|
2359
|
+
oData.url = oData.url + "/";
|
|
2360
|
+
}
|
|
2361
|
+
oRequestDefaultParameters.serviceUrl = oData.url;
|
|
2362
|
+
var oMetaDataModel = new ODataModel(oRequestDefaultParameters);
|
|
2363
|
+
oMetaDataModel.oMetaModel.fetchData().then(function(oMetaData) {
|
|
2364
|
+
if (oConfig.type === "object" || oConfig.type === "object[]") {
|
|
2365
|
+
var sPath = oConfig.values.metadata.namespace + "." + oConfig.values.metadata.entityTypeName;
|
|
2366
|
+
oMetaData[sPath] = Object.assign(oMetaData[sPath], {
|
|
2367
|
+
_Actions: {
|
|
2368
|
+
$kind: 'Property',
|
|
2369
|
+
$Type: 'Actions',
|
|
2370
|
+
$MaxLength: 15
|
|
2371
|
+
}
|
|
2372
|
+
});
|
|
2373
|
+
}
|
|
2374
|
+
oField.setModel(new JSONModel(oMetaData), "meta");
|
|
2375
|
+
});
|
|
2376
|
+
});
|
|
2377
|
+
}
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2063
2380
|
Editor.prototype._createDependentFields = function (oConfig, oField) {
|
|
2064
2381
|
if (oConfig.values) {
|
|
2065
2382
|
var sData = JSON.stringify(oConfig.values.data);
|
|
@@ -2075,7 +2392,7 @@ sap.ui.define([
|
|
|
2075
2392
|
if (aResult[i].indexOf("destinations.") === 0) {
|
|
2076
2393
|
sValueKey = "/name";
|
|
2077
2394
|
}
|
|
2078
|
-
sDependentPath = sDependentPath + aResult[i].replace(".", "/") +
|
|
2395
|
+
sDependentPath = sDependentPath + "/" + aResult[i].replace(".", "/") + sValueKey;
|
|
2079
2396
|
} else if (aResult[i].indexOf("{items>") === 0) {
|
|
2080
2397
|
sDependentPath = sDependentPath + "/parameters/" + aResult[i].slice(7, -1);
|
|
2081
2398
|
}
|
|
@@ -2097,12 +2414,76 @@ sap.ui.define([
|
|
|
2097
2414
|
}
|
|
2098
2415
|
}
|
|
2099
2416
|
};
|
|
2417
|
+
|
|
2418
|
+
Editor.prototype.getBeforeLayerChange = function (sKey) {
|
|
2419
|
+
if (!this._beforeLayerManifestChanges) {
|
|
2420
|
+
this._beforeLayerManifestChanges = {};
|
|
2421
|
+
}
|
|
2422
|
+
return this._beforeLayerManifestChanges[sKey];
|
|
2423
|
+
};
|
|
2424
|
+
|
|
2425
|
+
Editor.prototype.getTranslationValueInTexts = function (sLanguage, sKey) {
|
|
2426
|
+
var sTranslationPath = "/texts/" + sLanguage;
|
|
2427
|
+
var oProperty = this._settingsModel.getProperty(sTranslationPath) || {};
|
|
2428
|
+
return oProperty[sKey];
|
|
2429
|
+
};
|
|
2430
|
+
|
|
2431
|
+
Editor.prototype._handleITBValidation = function (oEditor, sItem, sErrorType) {
|
|
2432
|
+
var oResourceBundle = oEditor._oResourceBundle;
|
|
2433
|
+
if (sItem.getItems().length > 0 && sItem._oExpandButton) {
|
|
2434
|
+
var expandBTN = sItem._oExpandButton;
|
|
2435
|
+
var errorMSG = null;
|
|
2436
|
+
if (sErrorType === "Error") {
|
|
2437
|
+
errorMSG = oResourceBundle.getText("EDITOR_GROUP_ERRORS");
|
|
2438
|
+
expandBTN.setIcon("sap-icon://message-error");
|
|
2439
|
+
expandBTN.addStyleClass("errorBTNImage");
|
|
2440
|
+
} else if (sErrorType === "Warning") {
|
|
2441
|
+
errorMSG = oResourceBundle.getText("EDITOR_GROUP_WARNINGS");
|
|
2442
|
+
expandBTN.setIcon("sap-icon://message-warning");
|
|
2443
|
+
expandBTN.addStyleClass("warningBTNImage");
|
|
2444
|
+
}
|
|
2445
|
+
//remove expandButton addtional information
|
|
2446
|
+
expandBTN.setTooltip(null);
|
|
2447
|
+
expandBTN.addEventDelegate({
|
|
2448
|
+
onAfterRendering: function(oEvent) {
|
|
2449
|
+
var eExpandBTN = document.getElementById(expandBTN.getId());
|
|
2450
|
+
eExpandBTN.setAttribute("aria-label", "With validation errors");
|
|
2451
|
+
eExpandBTN.setAttribute("title", "");
|
|
2452
|
+
}
|
|
2453
|
+
});
|
|
2454
|
+
expandBTN.setEnabled(false);
|
|
2455
|
+
expandBTN.addStyleClass("errorBTN").addStyleClass("errorBTNDisabled");
|
|
2456
|
+
var iITBar = expandBTN.getParent().getParent().getParent();
|
|
2457
|
+
var iMessageStrip = Core.byId(iITBar.getId() + "_strip");
|
|
2458
|
+
expandBTN.addEventDelegate({
|
|
2459
|
+
onmouseover: function() {
|
|
2460
|
+
iMessageStrip.setVisible(true);
|
|
2461
|
+
iMessageStrip.setType(sErrorType);
|
|
2462
|
+
iMessageStrip.setText(errorMSG);
|
|
2463
|
+
},
|
|
2464
|
+
onmouseout: function() {
|
|
2465
|
+
iMessageStrip.setVisible(false);
|
|
2466
|
+
}
|
|
2467
|
+
}, oEditor);
|
|
2468
|
+
}
|
|
2469
|
+
};
|
|
2470
|
+
|
|
2471
|
+
Editor.prototype._delayHandleITBValidation = function(oEditor,oItem, sErrorType) {
|
|
2472
|
+
var checkExpandBTNExist = setInterval(function() {
|
|
2473
|
+
if (oItem._oExpandButton) {
|
|
2474
|
+
oEditor._handleITBValidation(oEditor, oItem, sErrorType);
|
|
2475
|
+
clearInterval(checkExpandBTNExist);
|
|
2476
|
+
}
|
|
2477
|
+
}, 50);
|
|
2478
|
+
};
|
|
2479
|
+
|
|
2100
2480
|
/**
|
|
2101
2481
|
* Adds an item to the _formContent aggregation based on the config settings
|
|
2102
2482
|
* @param {} oConfig
|
|
2103
2483
|
*/
|
|
2104
|
-
|
|
2105
|
-
var sMode = this.getMode()
|
|
2484
|
+
Editor.prototype._addItem = function (oConfig) {
|
|
2485
|
+
var sMode = this.getMode(),
|
|
2486
|
+
that = this;
|
|
2106
2487
|
//force to turn off features for settings and dynamic values and set the default if not configured
|
|
2107
2488
|
if (this.getAllowDynamicValues() === false || !oConfig.allowDynamicValues) {
|
|
2108
2489
|
oConfig.allowDynamicValues = false;
|
|
@@ -2116,43 +2497,275 @@ sap.ui.define([
|
|
|
2116
2497
|
if (oConfig.visible === false || (!oConfig.translatable && sMode === "translation" && oConfig.type !== "group")) {
|
|
2117
2498
|
return;
|
|
2118
2499
|
}
|
|
2500
|
+
//display subPanel as iconTabBar or Panel
|
|
2119
2501
|
if (oConfig.type === "group") {
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2502
|
+
oConfig.expanded = oConfig.expanded !== false;
|
|
2503
|
+
if (oConfig.visualization && oConfig.visualization.type === "Tab") {
|
|
2504
|
+
var oIconTabBar = new IconTabBar({
|
|
2505
|
+
expandable: oConfig.expandable !== false,
|
|
2506
|
+
expanded: "{currentSettings>expanded}",
|
|
2507
|
+
objectBindings: {
|
|
2508
|
+
currentSettings: {
|
|
2509
|
+
path: "currentSettings>" + oConfig._settingspath
|
|
2510
|
+
},
|
|
2511
|
+
items: {
|
|
2512
|
+
path: "items>/form/items"
|
|
2513
|
+
},
|
|
2514
|
+
context: {
|
|
2515
|
+
path: "context>/"
|
|
2516
|
+
}
|
|
2133
2517
|
},
|
|
2134
|
-
|
|
2135
|
-
|
|
2518
|
+
select: function (oEvent) {
|
|
2519
|
+
var oControl = oEvent.getSource(),
|
|
2520
|
+
oSelectITFKey = oControl.getSelectedKey(),
|
|
2521
|
+
aItems = oControl.getItems(),
|
|
2522
|
+
vExpanded = oControl.getExpanded(),
|
|
2523
|
+
vShowErrors = false;
|
|
2524
|
+
for (var n = 0; n < aItems.length; n++) {
|
|
2525
|
+
if (!vExpanded) {
|
|
2526
|
+
vShowErrors = true;
|
|
2527
|
+
} else if (aItems[n].getId() !== oSelectITFKey) {
|
|
2528
|
+
vShowErrors = true;
|
|
2529
|
+
} else if (aItems[n].getId() === oSelectITFKey) {
|
|
2530
|
+
vShowErrors = false;
|
|
2531
|
+
}
|
|
2532
|
+
if (vShowErrors) {
|
|
2533
|
+
var bHasError = false,
|
|
2534
|
+
sErrorType = "None";
|
|
2535
|
+
if (aItems[n]._subItems && aItems[n]._subItems.length > 0) {
|
|
2536
|
+
var oCurrentSettingsModel = aItems[n].getModel("currentSettings");
|
|
2537
|
+
for (var i = 0; i < aItems[n]._subItems.length; i++) {
|
|
2538
|
+
var sSettingsPath = aItems[n]._subItems[i].settingspath;
|
|
2539
|
+
var oItem = Core.byId(aItems[n]._subItems[i].itemId);
|
|
2540
|
+
if (oCurrentSettingsModel.getProperty(sSettingsPath + "/hasError") === true && oItem.getVisible()) {
|
|
2541
|
+
bHasError = true;
|
|
2542
|
+
var sType = oCurrentSettingsModel.getProperty(sSettingsPath + "/errorType");
|
|
2543
|
+
if (sType === "Error") {
|
|
2544
|
+
sErrorType = "Error";
|
|
2545
|
+
break;
|
|
2546
|
+
} else if (sType === "Warning" && sErrorType !== "Error") {
|
|
2547
|
+
sErrorType = "Warning";
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
oCurrentSettingsModel.setProperty("hasError", bHasError, oControl.getBindingContext("currentSettings"));
|
|
2552
|
+
oCurrentSettingsModel.setProperty("errorType", sErrorType, oControl.getBindingContext("currentSettings"));
|
|
2553
|
+
}
|
|
2554
|
+
if (bHasError) {
|
|
2555
|
+
var vITF = new IconTabFilter(),
|
|
2556
|
+
aItem = aItems[n];
|
|
2557
|
+
if (aItem.getItems().length > 0) {
|
|
2558
|
+
aItem.removeAllItems();
|
|
2559
|
+
}
|
|
2560
|
+
aItem.addItem(vITF);
|
|
2561
|
+
that._handleITBValidation(that, aItem, sErrorType);
|
|
2562
|
+
if (aItem._oExpandButton === undefined) {
|
|
2563
|
+
that._delayHandleITBValidation(that, aItem, sErrorType);
|
|
2564
|
+
} else {
|
|
2565
|
+
that._handleITBValidation(that, aItem, sErrorType);
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
} else if (aItems[n].getItems().length > 0) {
|
|
2569
|
+
aItems[n].removeItem(aItems[n].getItems()[0]);
|
|
2570
|
+
if (aItems[n]._oExpandButton) {
|
|
2571
|
+
aItems[n]._oExpandButton.visible = false;
|
|
2572
|
+
}
|
|
2573
|
+
//handle error message for fields
|
|
2574
|
+
var tMessageStrip = oControl.getParent().getParent().getAggregation("_messageStrip");
|
|
2575
|
+
if (tMessageStrip === null) {
|
|
2576
|
+
tMessageStrip = Core.byId(MessageStripId);
|
|
2577
|
+
}
|
|
2578
|
+
aItems[n].addContent(tMessageStrip);
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2136
2581
|
}
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2582
|
+
});
|
|
2583
|
+
var oIconTabFilter = new IconTabFilter({
|
|
2584
|
+
text: oConfig.label,
|
|
2585
|
+
visible: oConfig.visible,
|
|
2586
|
+
objectBindings: {
|
|
2587
|
+
currentSettings: {
|
|
2588
|
+
path: "currentSettings>" + oConfig._settingspath
|
|
2589
|
+
},
|
|
2590
|
+
items: {
|
|
2591
|
+
path: "items>/form/items"
|
|
2592
|
+
},
|
|
2593
|
+
context: {
|
|
2594
|
+
path: "context>/"
|
|
2595
|
+
}
|
|
2142
2596
|
}
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2597
|
+
});
|
|
2598
|
+
oIconTabBar.addItem(oIconTabFilter);
|
|
2599
|
+
oIconTabBar.setBackgroundDesign("Transparent");
|
|
2600
|
+
oIconTabBar.setHeaderBackgroundDesign("Transparent");
|
|
2601
|
+
// oIconTabBar.setHeaderBackgroundDesign("Solid");
|
|
2602
|
+
oIconTabBar.addStyleClass("sapUiIntegrationEditorSubGroup");
|
|
2603
|
+
// oIconTabBar.addStyleClass("sapUiIntegrationEditorSubGroup").addStyleClass("cardEditorIconTabBarBG");
|
|
2604
|
+
// handle messageStrip for tab filter
|
|
2605
|
+
if (sMode !== "translation") {
|
|
2606
|
+
var oMessageStripOfTab = new MessageStrip({
|
|
2607
|
+
id: oIconTabBar.getId() + "_strip",
|
|
2608
|
+
showIcon: false,
|
|
2609
|
+
visible: false
|
|
2610
|
+
});
|
|
2611
|
+
oMessageStripOfTab.addStyleClass("sapUiIntegrationEditorTabMessageStrip");
|
|
2612
|
+
oIconTabBar._messageStrip = oMessageStripOfTab;
|
|
2613
|
+
}
|
|
2614
|
+
this.addAggregation("_formContent", oIconTabBar);
|
|
2615
|
+
// oIconTabFilter._cols = oConfig.cols || 2; //by default 2 cols
|
|
2616
|
+
oIconTabFilter._level = oConfig.level || 0; //by default 0 level
|
|
2617
|
+
if (oConfig.hint) {
|
|
2618
|
+
this._addHint(oConfig.hint);
|
|
2619
|
+
}
|
|
2620
|
+
return;
|
|
2621
|
+
} else {
|
|
2622
|
+
var oPanel = new Panel({
|
|
2623
|
+
headerText: oConfig.label,
|
|
2624
|
+
visible: oConfig.visible,
|
|
2625
|
+
expandable: oConfig.expandable !== false,
|
|
2626
|
+
expanded: "{currentSettings>expanded}",
|
|
2627
|
+
width: "auto",
|
|
2628
|
+
backgroundDesign: "Transparent",
|
|
2629
|
+
objectBindings: {
|
|
2630
|
+
currentSettings: {
|
|
2631
|
+
path: "currentSettings>" + oConfig._settingspath
|
|
2632
|
+
},
|
|
2633
|
+
items: {
|
|
2634
|
+
path: "items>/form/items"
|
|
2635
|
+
},
|
|
2636
|
+
context: {
|
|
2637
|
+
path: "context>/"
|
|
2638
|
+
}
|
|
2639
|
+
},
|
|
2640
|
+
expand: function (oEvent) {
|
|
2641
|
+
var oControl = oEvent.getSource();
|
|
2642
|
+
var bExpand = oEvent.getParameter("expand");
|
|
2643
|
+
// handle error message strip for field
|
|
2644
|
+
var oMessageStrip = oControl._level === "1" ? oControl.getParent().getParent().getAggregation("_messageStrip") : oControl.getParent().getAggregation("_messageStrip");
|
|
2645
|
+
if (oMessageStrip === null) {
|
|
2646
|
+
oMessageStrip = Core.byId(MessageStripId);
|
|
2647
|
+
}
|
|
2648
|
+
if (!bExpand && oControl._level === "1") {
|
|
2649
|
+
oControl.getParent().addContent(oMessageStrip);
|
|
2650
|
+
oControl.getParent().focus();
|
|
2651
|
+
} else {
|
|
2652
|
+
oControl.addContent(oMessageStrip);
|
|
2653
|
+
oControl.focus();
|
|
2654
|
+
}
|
|
2655
|
+
// handle error message for panel
|
|
2656
|
+
if (!bExpand && oControl._subItems && oControl._subItems.length > 0) {
|
|
2657
|
+
var oCurrentSettingsModel = oControl.getModel("currentSettings");
|
|
2658
|
+
var bHasError = false;
|
|
2659
|
+
var sErrorType = "None";
|
|
2660
|
+
for (var i = 0; i < oControl._subItems.length; i++) {
|
|
2661
|
+
var sSettingsPath = oControl._subItems[i].settingspath;
|
|
2662
|
+
var oItem = Core.byId(oControl._subItems[i].itemId);
|
|
2663
|
+
if (oCurrentSettingsModel.getProperty(sSettingsPath + "/hasError") === true && oItem.getVisible()) {
|
|
2664
|
+
bHasError = true;
|
|
2665
|
+
var sType = oCurrentSettingsModel.getProperty(sSettingsPath + "/errorType");
|
|
2666
|
+
if (sType === "Error") {
|
|
2667
|
+
sErrorType = "Error";
|
|
2668
|
+
break;
|
|
2669
|
+
} else if (sType === "Warning" && sErrorType !== "Error") {
|
|
2670
|
+
sErrorType = "Warning";
|
|
2671
|
+
}
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
oCurrentSettingsModel.setProperty("hasError", bHasError, oControl.getBindingContext("currentSettings"));
|
|
2675
|
+
oCurrentSettingsModel.setProperty("errorType", sErrorType, oControl.getBindingContext("currentSettings"));
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
});
|
|
2679
|
+
if (sMode !== "translation") {
|
|
2680
|
+
/*
|
|
2681
|
+
var oMessage = new MessageStrip({
|
|
2682
|
+
showIcon: false,
|
|
2683
|
+
text: {
|
|
2684
|
+
path: 'currentSettings>errorType',
|
|
2685
|
+
formatter: function (errorType) {
|
|
2686
|
+
var sPanelTitle = "";
|
|
2687
|
+
switch (errorType) {
|
|
2688
|
+
case "Error":
|
|
2689
|
+
sPanelTitle = oResourceBundle.getText("EDITOR_GROUP_ERRORS");
|
|
2690
|
+
break;
|
|
2691
|
+
case "Warning":
|
|
2692
|
+
sPanelTitle = oResourceBundle.getText("EDITOR_GROUP_WARNINGS");
|
|
2693
|
+
break;
|
|
2694
|
+
default:
|
|
2695
|
+
}
|
|
2696
|
+
return sPanelTitle;
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
type: "{currentSettings>errorType}",
|
|
2700
|
+
visible: "{= !${currentSettings>expanded} && ${currentSettings>hasError} === true}"
|
|
2701
|
+
}).addStyleClass("sapUiIntegrationEditorPanelMessageStrip");
|
|
2702
|
+
var oHeaderToolbar = new OverflowToolbar({
|
|
2703
|
+
content: [
|
|
2704
|
+
new Title({
|
|
2705
|
+
text: oConfig.label
|
|
2706
|
+
}),
|
|
2707
|
+
new Separator(),
|
|
2708
|
+
oMessage
|
|
2709
|
+
]
|
|
2710
|
+
}).addStyleClass("sapUiIntegrationEditorPanelHeader");
|
|
2711
|
+
oPanel.setHeaderToolbar(oHeaderToolbar);
|
|
2712
|
+
*/
|
|
2713
|
+
var oResourceBundle = this._oResourceBundle;
|
|
2714
|
+
var oMessageStripOfPanel = new MessageStrip({
|
|
2715
|
+
showIcon: false,
|
|
2716
|
+
visible: "{= !${currentSettings>expanded} && ${currentSettings>hasError} === true}",
|
|
2717
|
+
text: {
|
|
2718
|
+
path: 'currentSettings>errorType',
|
|
2719
|
+
formatter: function (errorType) {
|
|
2720
|
+
var sPanelTitle = "";
|
|
2721
|
+
switch (errorType) {
|
|
2722
|
+
case "Error":
|
|
2723
|
+
sPanelTitle = oResourceBundle.getText("EDITOR_GROUP_ERRORS");
|
|
2724
|
+
break;
|
|
2725
|
+
case "Warning":
|
|
2726
|
+
sPanelTitle = oResourceBundle.getText("EDITOR_GROUP_WARNINGS");
|
|
2727
|
+
break;
|
|
2728
|
+
default:
|
|
2729
|
+
}
|
|
2730
|
+
return sPanelTitle;
|
|
2731
|
+
}
|
|
2732
|
+
},
|
|
2733
|
+
type: "{currentSettings>errorType}",
|
|
2734
|
+
objectBindings: {
|
|
2735
|
+
currentSettings: {
|
|
2736
|
+
path: "currentSettings>" + oConfig._settingspath
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
});
|
|
2740
|
+
if (oConfig.level !== "1") {
|
|
2741
|
+
oMessageStripOfPanel.setModel(this._settingsModel, "currentSettings");
|
|
2147
2742
|
}
|
|
2743
|
+
oMessageStripOfPanel.addStyleClass("sapUiIntegrationEditorPanelMessageStrip");
|
|
2744
|
+
oPanel._messageStrip = oMessageStripOfPanel;
|
|
2745
|
+
}/* else {
|
|
2746
|
+
oPanel.setHeaderText(oConfig.label);
|
|
2747
|
+
}*/
|
|
2748
|
+
this.addAggregation("_formContent", oPanel);
|
|
2749
|
+
oPanel._cols = oConfig.cols || 2; //by default 2 cols
|
|
2750
|
+
oPanel._level = oConfig.level || 0; //by default 0 level
|
|
2751
|
+
if (oConfig.hint) {
|
|
2752
|
+
this._addHint(oConfig.hint);
|
|
2148
2753
|
}
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2754
|
+
//add "aria-label" for each panel to make the landmark uniquely
|
|
2755
|
+
var oDelegate = {
|
|
2756
|
+
onAfterRendering: function(oEvent) {
|
|
2757
|
+
var ePanel = document.getElementById(oPanel.getId());
|
|
2758
|
+
ePanel.setAttribute("aria-label", oConfig.label);
|
|
2759
|
+
var oControl = oEvent.srcControl;
|
|
2760
|
+
var oMessageStrip = oControl._messageStrip;
|
|
2761
|
+
if (oControl._level !== "1" && oMessageStrip) {
|
|
2762
|
+
oMessageStrip.rerender();
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
};
|
|
2766
|
+
oPanel.addEventDelegate(oDelegate);
|
|
2767
|
+
return;
|
|
2154
2768
|
}
|
|
2155
|
-
return;
|
|
2156
2769
|
}
|
|
2157
2770
|
if (oConfig.type === "separator") {
|
|
2158
2771
|
var oSeparator = new Separator();
|
|
@@ -2162,6 +2775,7 @@ sap.ui.define([
|
|
|
2162
2775
|
return;
|
|
2163
2776
|
}
|
|
2164
2777
|
var oNewLabel = null;
|
|
2778
|
+
var sLanguage = Core.getConfiguration().getLanguage().replaceAll('_', '-');
|
|
2165
2779
|
if (sMode === "translation") {
|
|
2166
2780
|
if ((typeof oConfig.value === "string" && oConfig.value.indexOf("{") === 0) || typeof oConfig.values !== "undefined") {
|
|
2167
2781
|
//do not show dynamic values for translation
|
|
@@ -2179,63 +2793,68 @@ sap.ui.define([
|
|
|
2179
2793
|
delete oConfig.values;
|
|
2180
2794
|
|
|
2181
2795
|
//create a configuration clone. map the _settingspath setting to _language, and set it to not editable
|
|
2182
|
-
var
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
} else if (sLanguage.indexOf"-") > -1) {
|
|
2195
|
-
sLanguage = sLanguage.substring(0, sLanguage.indexOf("-"));
|
|
2196
|
-
if (Editor._languages[sLanguage]) {
|
|
2197
|
-
if (origLangField.valueTranslations[sLanguage]) {
|
|
2198
|
-
origLangField.value = origLangField.valueTranslations[sLanguage];
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2796
|
+
var origLangFieldConfig = deepClone(oConfig, 500);
|
|
2797
|
+
origLangFieldConfig._settingspath += "/_language";
|
|
2798
|
+
origLangFieldConfig.editable = false;
|
|
2799
|
+
origLangFieldConfig.required = false;
|
|
2800
|
+
//if has value transaltions, get value via language setting in core
|
|
2801
|
+
if (!Editor._languages[sLanguage] && sLanguage.indexOf("-") > -1) {
|
|
2802
|
+
sLanguage = sLanguage.substring(0, sLanguage.indexOf("-"));
|
|
2803
|
+
}
|
|
2804
|
+
if (Editor._languages[sLanguage]) {
|
|
2805
|
+
var sTranslateText = this.getTranslationValueInTexts(sLanguage, oConfig.manifestpath);
|
|
2806
|
+
if (sTranslateText) {
|
|
2807
|
+
origLangFieldConfig.value = sTranslateText;
|
|
2201
2808
|
}
|
|
2202
|
-
}
|
|
2203
|
-
if (!
|
|
2809
|
+
}
|
|
2810
|
+
if (!origLangFieldConfig.value) {
|
|
2204
2811
|
//the original language field shows only a text control. If empty we show a dash to avoid empty text.
|
|
2205
|
-
|
|
2812
|
+
origLangFieldConfig.value = "-";
|
|
2206
2813
|
}
|
|
2207
|
-
var oLabel = this._createLabel(
|
|
2814
|
+
var oLabel = this._createLabel(origLangFieldConfig);
|
|
2208
2815
|
this.addAggregation("_formContent",
|
|
2209
2816
|
oLabel
|
|
2210
2817
|
);
|
|
2211
|
-
var
|
|
2212
|
-
|
|
2213
|
-
this.addAggregation("_formContent",
|
|
2818
|
+
var oOrigLanguageField = this._createField(origLangFieldConfig);
|
|
2819
|
+
oOrigLanguageField.isOrigLangField = true;
|
|
2820
|
+
this.addAggregation("_formContent", oOrigLanguageField);
|
|
2214
2821
|
|
|
2215
|
-
oConfig.value = oConfig._translatedValue || "";
|
|
2216
2822
|
//even if a item is not visible or not editable by another layer for translations it should always be editable and visible
|
|
2217
2823
|
oConfig.editable = oConfig.visible = oConfig.translatable;
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2824
|
+
sLanguage = this._language;
|
|
2825
|
+
if (!this.getBeforeLayerChange(oConfig.manifestpath)) {
|
|
2826
|
+
oConfig.value = oConfig._translatedValue || "";
|
|
2827
|
+
}
|
|
2828
|
+
var sTranslateText = this.getTranslationValueInTexts(sLanguage, oConfig.manifestpath);
|
|
2829
|
+
if (sTranslateText) {
|
|
2830
|
+
oConfig.value = sTranslateText;
|
|
2222
2831
|
}
|
|
2223
2832
|
//change the label for the translation field
|
|
2224
2833
|
oConfig.label = oConfig._translatedLabel || "";
|
|
2225
2834
|
oConfig.required = false; //translation is never required
|
|
2226
|
-
var
|
|
2835
|
+
var oTranslateLanguageField = this._createField(oConfig);
|
|
2227
2836
|
this.addAggregation("_formContent",
|
|
2228
|
-
|
|
2837
|
+
oTranslateLanguageField
|
|
2229
2838
|
);
|
|
2230
2839
|
} else {
|
|
2231
2840
|
oNewLabel = this._createLabel(oConfig);
|
|
2232
2841
|
this.addAggregation("_formContent",
|
|
2233
2842
|
oNewLabel
|
|
2234
2843
|
);
|
|
2844
|
+
var sBeforeLayerChange = this.getBeforeLayerChange(oConfig.manifestpath);
|
|
2845
|
+
if (sBeforeLayerChange) {
|
|
2846
|
+
oConfig._beforeLayerChange = sBeforeLayerChange;
|
|
2847
|
+
}
|
|
2235
2848
|
//if there are changes for the current layer, read the already translated value from there
|
|
2236
2849
|
//now merge these changes for translation into the item configs
|
|
2237
|
-
if (this._currentLayerManifestChanges) {
|
|
2238
|
-
oConfig.value = this._currentLayerManifestChanges[oConfig.manifestpath]
|
|
2850
|
+
if (this._currentLayerManifestChanges && this._currentLayerManifestChanges[oConfig.manifestpath]) {
|
|
2851
|
+
oConfig.value = this._currentLayerManifestChanges[oConfig.manifestpath];
|
|
2852
|
+
oConfig._beforeLayerChange = oConfig.value;
|
|
2853
|
+
}
|
|
2854
|
+
sLanguage = this._language;
|
|
2855
|
+
var sTranslateText = this.getTranslationValueInTexts(sLanguage, oConfig.manifestpath);
|
|
2856
|
+
if (sTranslateText) {
|
|
2857
|
+
oConfig.value = sTranslateText;
|
|
2239
2858
|
}
|
|
2240
2859
|
var oField = this._createField(oConfig);
|
|
2241
2860
|
this.addAggregation("_formContent",
|
|
@@ -2312,26 +2931,16 @@ sap.ui.define([
|
|
|
2312
2931
|
if (oContents && oContents.length > 0) {
|
|
2313
2932
|
this.destroyAggregation("_formContent");
|
|
2314
2933
|
}
|
|
2315
|
-
|
|
2934
|
+
|
|
2935
|
+
var oSettingsData = this._settingsModel.getData();
|
|
2316
2936
|
var aItems;
|
|
2317
|
-
if (
|
|
2318
|
-
aItems =
|
|
2319
|
-
//get current language
|
|
2320
|
-
var sLanguage = this._language || this.getLanguage() || Core.getConfiguration().getLanguage().replaceAll('_', '-');
|
|
2321
|
-
if (this.getMode() === "translation") {
|
|
2322
|
-
//add top panel of translation editor
|
|
2323
|
-
this._addItem({
|
|
2324
|
-
type: "group",
|
|
2325
|
-
translatable: true,
|
|
2326
|
-
expandable: false,
|
|
2327
|
-
label: this._oResourceBundle.getText("EDITOR_ORIGINALLANG") + ": " + Editor._languages[sLanguage]
|
|
2328
|
-
});
|
|
2329
|
-
}
|
|
2937
|
+
if (oSettingsData.form && oSettingsData.form.items) {
|
|
2938
|
+
aItems = oSettingsData.form.items;
|
|
2330
2939
|
//add general configuration group
|
|
2331
2940
|
var bAddGeneralSettingsPanel = false;
|
|
2332
2941
|
for (var m in aItems) {
|
|
2333
2942
|
var oItem = aItems[m];
|
|
2334
|
-
if (oItem.type === "group") {
|
|
2943
|
+
if (oItem.type === "group" && oItem.level !== "1") {
|
|
2335
2944
|
break;
|
|
2336
2945
|
} else if (oItem.visible) {
|
|
2337
2946
|
bAddGeneralSettingsPanel = true;
|
|
@@ -2340,41 +2949,50 @@ sap.ui.define([
|
|
|
2340
2949
|
}
|
|
2341
2950
|
if (bAddGeneralSettingsPanel) {
|
|
2342
2951
|
//add general settings panel
|
|
2952
|
+
aItems = merge(
|
|
2953
|
+
{
|
|
2954
|
+
generalPanel : {
|
|
2955
|
+
type: "group",
|
|
2956
|
+
translatable: true,
|
|
2957
|
+
expanded: true,
|
|
2958
|
+
label: this._oResourceBundle.getText("EDITOR_PARAMETERS_GENERALSETTINGS"),
|
|
2959
|
+
_settingspath: "/form/items/generalPanel"
|
|
2960
|
+
}
|
|
2961
|
+
}, aItems
|
|
2962
|
+
);
|
|
2963
|
+
oSettingsData.form.items = aItems;
|
|
2964
|
+
this._settingsModel.setData(oSettingsData);
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
var oSettings = this._settingsModel.getProperty("/");
|
|
2969
|
+
this._mItemsByPaths = {};
|
|
2970
|
+
if (oSettings.form && oSettings.form.items) {
|
|
2971
|
+
aItems = oSettings.form.items;
|
|
2972
|
+
//get current language
|
|
2973
|
+
var sLanguage = this._language || this.getLanguage() || Core.getConfiguration().getLanguage().replaceAll('_', '-');
|
|
2974
|
+
if (this.getMode() === "translation") {
|
|
2975
|
+
//add top panel of translation editor
|
|
2343
2976
|
this._addItem({
|
|
2344
2977
|
type: "group",
|
|
2345
2978
|
translatable: true,
|
|
2346
|
-
|
|
2979
|
+
expandable: false,
|
|
2980
|
+
expanded: true,
|
|
2981
|
+
label: this._oResourceBundle.getText("EDITOR_ORIGINALLANG") + ": " + Editor._languages[sLanguage]
|
|
2347
2982
|
});
|
|
2348
2983
|
}
|
|
2349
|
-
this._mItemsByPaths = {};
|
|
2350
2984
|
for (var n in aItems) {
|
|
2351
2985
|
var oItem = aItems[n];
|
|
2352
2986
|
if (oItem) {
|
|
2353
2987
|
//force a label setting, set it to the name of the item
|
|
2354
2988
|
oItem.label = oItem.label || n;
|
|
2355
2989
|
//what is the current value from the change?
|
|
2356
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
2357
|
-
var sCurrentLayerValue, sValueTranslationsPath, aTranslationLayerValueChanges;
|
|
2358
|
-
* remove below line if release this feature again
|
|
2359
|
-
*/
|
|
2360
2990
|
var sCurrentLayerValue;
|
|
2361
2991
|
if (oItem.manifestpath) {
|
|
2362
2992
|
this._mItemsByPaths[oItem.manifestpath] = oItem;
|
|
2363
|
-
|
|
2364
|
-
sValueTranslationsPath = oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueTranslations";
|
|
2365
|
-
if (this.getMode() === "translation") {
|
|
2366
|
-
if (this._currentLayerManifestChanges
|
|
2367
|
-
&& this._currentLayerManifestChanges[sValueTranslationsPath]) {
|
|
2368
|
-
//get valueTranslations from current layer changes if current mode is translation
|
|
2369
|
-
aTranslationLayerValueChanges = this._currentLayerManifestChanges[sValueTranslationsPath];
|
|
2370
|
-
}
|
|
2371
|
-
} else {
|
|
2993
|
+
if (this.getMode() !== "translation") {
|
|
2372
2994
|
sCurrentLayerValue = this._currentLayerManifestChanges[oItem.manifestpath];
|
|
2373
|
-
}
|
|
2374
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
2375
|
-
* need to remove below line later if release multi language function again
|
|
2376
|
-
*/
|
|
2377
|
-
sCurrentLayerValue = this._currentLayerManifestChanges[oItem.manifestpath];
|
|
2995
|
+
}
|
|
2378
2996
|
}
|
|
2379
2997
|
//if not changed it should be undefined, and ignore changes in tranlation layer
|
|
2380
2998
|
oItem._changed = sCurrentLayerValue !== undefined && this.getMode() !== "translation";
|
|
@@ -2388,19 +3006,6 @@ sap.ui.define([
|
|
|
2388
3006
|
//check if the provided value from the parameter or designtime default value is a translated value
|
|
2389
3007
|
//restrict this to string types for now
|
|
2390
3008
|
if (oItem.type === "string") {
|
|
2391
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
2392
|
-
//get i18n path of the editor, and set it to item for initializing EditorResourceBundles
|
|
2393
|
-
var vI18n = this._oEditorManifest.get("/sap.app/i18n");
|
|
2394
|
-
if (!vI18n) {
|
|
2395
|
-
vI18n = "";
|
|
2396
|
-
}
|
|
2397
|
-
oItem._resourceBundleURL = this.getBaseUrl() + vI18n;
|
|
2398
|
-
if (oItem.manifestpath) {
|
|
2399
|
-
//merge valueTranslations in current mainfest mode and current layer changes
|
|
2400
|
-
var oValueTranslationsInManifest = this._manifestModel.getProperty(sValueTranslationsPath);
|
|
2401
|
-
oItem.valueTranslations = merge(oValueTranslationsInManifest, aTranslationLayerValueChanges);
|
|
2402
|
-
aTranslationLayerValueChanges = undefined;
|
|
2403
|
-
}*/
|
|
2404
3009
|
//check if is translatable via default value, if default value match "{{sTranslationTextKey}}" or "{i18n>sTranslationTextKey}", it is translatable
|
|
2405
3010
|
oItem._translatedDefaultPlaceholder = this._getManifestDefaultValue(oItem.manifestpath);
|
|
2406
3011
|
var sTranslationTextKey = null,
|
|
@@ -2410,7 +3015,7 @@ sap.ui.define([
|
|
|
2410
3015
|
if (this._isValueWithParameterSyntax(sPlaceholder)) {
|
|
2411
3016
|
oItem.translatable = false;
|
|
2412
3017
|
}
|
|
2413
|
-
//parameter translated value
|
|
3018
|
+
//parameter translated value
|
|
2414
3019
|
if (this._isValueWithHandlebarsTranslation(sPlaceholder)) {
|
|
2415
3020
|
sTranslationTextKey = sPlaceholder.substring(2, sPlaceholder.length - 2);
|
|
2416
3021
|
} else if (sPlaceholder.startsWith("{i18n>")) {
|
|
@@ -2420,11 +3025,15 @@ sap.ui.define([
|
|
|
2420
3025
|
if (sTranslationTextKey) {
|
|
2421
3026
|
//force translatable, even if it was not explicitly set already
|
|
2422
3027
|
oItem.translatable = true;
|
|
3028
|
+
} else if (oItem.translatable && this.getMode() === "translation" && !this.getBeforeLayerChange(oItem.manifestpath)) {
|
|
3029
|
+
//if no translation key which means item defined as string value directly.
|
|
3030
|
+
//set the _translatedValue with item manifest value.
|
|
3031
|
+
oItem._translatedValue = oItem._translatedDefaultPlaceholder;
|
|
3032
|
+
oItem.value = oItem._translatedValue;
|
|
2423
3033
|
}
|
|
2424
3034
|
}
|
|
2425
3035
|
//check if before value still has tranlation key
|
|
2426
3036
|
oItem._translatedPlaceholder = oItem._beforeValue;
|
|
2427
|
-
sTranslationTextKey = null;
|
|
2428
3037
|
sPlaceholder = oItem._translatedPlaceholder;
|
|
2429
3038
|
if (sPlaceholder) {
|
|
2430
3039
|
//value with parameter syntax will not be translated
|
|
@@ -2437,35 +3046,33 @@ sap.ui.define([
|
|
|
2437
3046
|
} else if (sPlaceholder.startsWith("{i18n>")) {
|
|
2438
3047
|
sTranslationTextKey = sPlaceholder.substring(6, sPlaceholder.length - 1);
|
|
2439
3048
|
}
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
if
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
3049
|
+
}
|
|
3050
|
+
var sTranslationValueinTexts = this.getTranslationValueInTexts(sLanguage, oItem.manifestpath);
|
|
3051
|
+
//only if there is a translation key
|
|
3052
|
+
if (sTranslationTextKey) {
|
|
3053
|
+
oItem._translatedValue = this.getModel("i18n").getResourceBundle().getText(sTranslationTextKey);
|
|
3054
|
+
if (oItem._changed) {
|
|
3055
|
+
//item was changed, take the current value
|
|
3056
|
+
oItem.value = sCurrentLayerValue;
|
|
3057
|
+
} else if (oItem.value === oItem._translatedDefaultPlaceholder) {
|
|
3058
|
+
oItem.value = oItem._translatedValue;
|
|
3059
|
+
}
|
|
3060
|
+
if (this.getMode() === "translation") {
|
|
3061
|
+
//if we are in translation mode the default value differs and depends on the language
|
|
3062
|
+
//TODO this does not work in SWZ, the base path is not taken into account...
|
|
3063
|
+
//get the translated default value for the language we want to translate this.getLanguage()
|
|
3064
|
+
//if the value is "", which means the i18n setting is not correct, do not use it as translated value
|
|
3065
|
+
var sCurrentLanguageSpecificText = this._getCurrentLanguageSpecificText(sTranslationTextKey);
|
|
3066
|
+
if (sCurrentLanguageSpecificText !== "") {
|
|
3067
|
+
oItem._translatedValue = sCurrentLanguageSpecificText;
|
|
2457
3068
|
}
|
|
2458
|
-
} else if (
|
|
2459
|
-
|
|
2460
|
-
//set the _translatedValue with item manifest value or default value.
|
|
2461
|
-
oItem._translatedValue = oItem._translatedPlaceholder;
|
|
2462
|
-
oItem.value = oItem._beforeValue;
|
|
3069
|
+
} else if (sTranslationValueinTexts) {
|
|
3070
|
+
oItem.value = sTranslationValueinTexts;
|
|
2463
3071
|
}
|
|
3072
|
+
} else if (this.getMode() !== "translation" && oItem.translatable && sTranslationValueinTexts) {
|
|
3073
|
+
oItem.value = sTranslationValueinTexts;
|
|
2464
3074
|
}
|
|
2465
3075
|
if (this.getMode() === "translation") {
|
|
2466
|
-
if (oItem.valueTranslations && oItem.valueTranslations[sLanguage]) {
|
|
2467
|
-
oItem._translatedValue = oItem.valueTranslations[sLanguage];
|
|
2468
|
-
}
|
|
2469
3076
|
if (this._isValueWithHandlebarsTranslation(oItem.label)) {
|
|
2470
3077
|
oItem._translatedLabel = this._getCurrentLanguageSpecificText(oItem.label.substring(2, oItem.label.length - 2), true);
|
|
2471
3078
|
} else if (oItem.label && oItem.label.startsWith("{i18n>")) {
|
|
@@ -2503,6 +3110,17 @@ sap.ui.define([
|
|
|
2503
3110
|
var oItem = aItems[n];
|
|
2504
3111
|
this._addItem(oItem);
|
|
2505
3112
|
}
|
|
3113
|
+
// customize the size of card editor, define the size in dt.js
|
|
3114
|
+
var cardHeight = this._settingsModel.getProperty("/form/height") !== undefined ? this._settingsModel.getProperty("/form/height") : "350px",
|
|
3115
|
+
cardWidth = this._settingsModel.getProperty("/form/width") !== undefined ? this._settingsModel.getProperty("/form/width") : "100%";
|
|
3116
|
+
if (this.getProperty("height") === "") {
|
|
3117
|
+
this.setProperty("height", cardHeight);
|
|
3118
|
+
document.body.style.setProperty("--sapUiIntegrationEditorFormHeight", cardHeight);
|
|
3119
|
+
}
|
|
3120
|
+
if (this.getProperty("width") === "") {
|
|
3121
|
+
this.setProperty("width", cardWidth);
|
|
3122
|
+
document.body.style.setProperty("--sapUiIntegrationEditorFormWidth", cardWidth);
|
|
3123
|
+
}
|
|
2506
3124
|
//add additional content
|
|
2507
3125
|
if (this.getMode() !== "translation") {
|
|
2508
3126
|
Promise.resolve(this._initPreview()).then(function() {
|
|
@@ -2518,6 +3136,21 @@ sap.ui.define([
|
|
|
2518
3136
|
}.bind(this));
|
|
2519
3137
|
}
|
|
2520
3138
|
};
|
|
3139
|
+
|
|
3140
|
+
Editor.prototype.setHeight = function(sValue) {
|
|
3141
|
+
if (sValue) {
|
|
3142
|
+
this.setProperty("height", sValue);
|
|
3143
|
+
document.body.style.setProperty("--sapUiIntegrationEditorFormHeight", sValue);
|
|
3144
|
+
}
|
|
3145
|
+
};
|
|
3146
|
+
|
|
3147
|
+
Editor.prototype.setWidth = function(sValue) {
|
|
3148
|
+
if (sValue) {
|
|
3149
|
+
this.setProperty("width", sValue);
|
|
3150
|
+
document.body.style.setProperty("--sapUiIntegrationEditorFormWidth", sValue);
|
|
3151
|
+
}
|
|
3152
|
+
};
|
|
3153
|
+
|
|
2521
3154
|
/**
|
|
2522
3155
|
* Destroy the editor and the internal instances that it created
|
|
2523
3156
|
*/
|
|
@@ -2598,6 +3231,8 @@ sap.ui.define([
|
|
|
2598
3231
|
case "integer":
|
|
2599
3232
|
case "number": oItem.value = 0; break;
|
|
2600
3233
|
case "string[]": oItem.value = []; break;
|
|
3234
|
+
case "object": oItem.value = undefined; break;
|
|
3235
|
+
case "object[]": oItem.value = undefined; break;
|
|
2601
3236
|
default: oItem.value = "";
|
|
2602
3237
|
}
|
|
2603
3238
|
}
|
|
@@ -2613,6 +3248,7 @@ sap.ui.define([
|
|
|
2613
3248
|
* Applies previous layer designtime settings that were changed
|
|
2614
3249
|
*/
|
|
2615
3250
|
Editor.prototype._applyDesigntimeLayers = function (oSettings) {
|
|
3251
|
+
var oTexts = {};
|
|
2616
3252
|
//pull current values
|
|
2617
3253
|
if (this._appliedLayerManifestChanges && Array.isArray(this._appliedLayerManifestChanges)) {
|
|
2618
3254
|
for (var i = 0; i < this._appliedLayerManifestChanges.length; i++) {
|
|
@@ -2623,6 +3259,10 @@ sap.ui.define([
|
|
|
2623
3259
|
this._settingsModel.setProperty(aKeys[j], oChanges[aKeys[j]]);
|
|
2624
3260
|
}
|
|
2625
3261
|
}
|
|
3262
|
+
var oAppliedLayerManifestChangeTexts = this._appliedLayerManifestChanges[i]["texts"];
|
|
3263
|
+
if (oAppliedLayerManifestChangeTexts) {
|
|
3264
|
+
oTexts = merge(oTexts, oAppliedLayerManifestChangeTexts);
|
|
3265
|
+
}
|
|
2626
3266
|
}
|
|
2627
3267
|
}
|
|
2628
3268
|
if (this._currentLayerManifestChanges) {
|
|
@@ -2643,6 +3283,13 @@ sap.ui.define([
|
|
|
2643
3283
|
this._settingsModel.setProperty(sNext + "/" + sProp, oChanges[aKeys[j]]);
|
|
2644
3284
|
}
|
|
2645
3285
|
}
|
|
3286
|
+
var ocurrentLayerManifestChangeTexts = this._currentLayerManifestChanges["texts"];
|
|
3287
|
+
if (ocurrentLayerManifestChangeTexts) {
|
|
3288
|
+
oTexts = merge(oTexts, ocurrentLayerManifestChangeTexts);
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
if (!deepEqual(oTexts, {})) {
|
|
3292
|
+
this._settingsModel.setProperty("/texts", oTexts);
|
|
2646
3293
|
}
|
|
2647
3294
|
};
|
|
2648
3295
|
/**
|
|
@@ -2689,7 +3336,9 @@ sap.ui.define([
|
|
|
2689
3336
|
oSettings.form.items["destination.group"] = {
|
|
2690
3337
|
label: this._oResourceBundle.getText("EDITOR_DESTINATIONS") || "Destinations",
|
|
2691
3338
|
type: "group",
|
|
2692
|
-
|
|
3339
|
+
expanded: true,
|
|
3340
|
+
visible: true,
|
|
3341
|
+
_settingspath: "/form/items/destination.group"
|
|
2693
3342
|
};
|
|
2694
3343
|
}
|
|
2695
3344
|
var oItems = oSettings.form.items,
|