@openui5/sap.ui.integration 1.96.2 → 1.98.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 +26 -31
- package/THIRDPARTY.txt +15 -21
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +16 -22
- package/src/sap/ui/integration/ActionDefinition.js +2 -2
- package/src/sap/ui/integration/Designtime.js +2 -2
- package/src/sap/ui/integration/Extension.js +2 -2
- package/src/sap/ui/integration/Host.js +38 -2
- package/src/sap/ui/integration/bindingFeatures/DateRange.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +16 -50
- package/src/sap/ui/integration/cards/AnalyticalContent.js +8 -9
- package/src/sap/ui/integration/cards/AnalyticalContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +5 -3
- package/src/sap/ui/integration/cards/AnalyticsCloudContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +56 -6
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/BaseListContent.js +39 -69
- package/src/sap/ui/integration/cards/CalendarContent.js +16 -12
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +2 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +3 -2
- package/src/sap/ui/integration/cards/ComponentContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +2 -2
- package/src/sap/ui/integration/cards/Header.js +3 -3
- package/src/sap/ui/integration/cards/ListContent.js +67 -23
- package/src/sap/ui/integration/cards/ListContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/NumericHeader.js +3 -3
- package/src/sap/ui/integration/cards/ObjectContent.js +353 -228
- package/src/sap/ui/integration/cards/ObjectContentRenderer.js +28 -0
- package/src/sap/ui/integration/cards/TableContent.js +6 -10
- package/src/sap/ui/integration/cards/TableContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +10 -14
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +6 -2
- package/src/sap/ui/integration/cards/WebPageContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/actions/BaseAction.js +89 -0
- package/src/sap/ui/integration/cards/actions/CardActions.js +472 -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/MonthChangeAction.js +20 -0
- package/src/sap/ui/integration/cards/actions/NavigationAction.js +63 -0
- package/src/sap/ui/integration/cards/actions/SubmitAction.js +89 -0
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +10 -10
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +3 -3
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +7 -12
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputTime.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +3 -3
- package/src/sap/ui/integration/cards/adaptivecards/elements/hostConfig.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/overwrites/ActionRender.js +1 -1
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +63 -58
- package/src/sap/ui/integration/cards/filters/FilterBar.js +91 -0
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +34 -13
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +95 -0
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +34 -4
- package/src/sap/ui/integration/controls/ActionsStrip.js +3 -3
- package/src/sap/ui/integration/controls/ActionsToolbar.js +4 -5
- package/src/sap/ui/integration/controls/ActionsToolbarRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +2 -2
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +2 -2
- package/src/sap/ui/integration/controls/MicrochartLegend.js +2 -2
- package/src/sap/ui/integration/controls/MicrochartLegendRenderer.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementBase.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementCard.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementCardEditor.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_sappsd.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saprigi.properties +13 -19
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saptrc.properties +16 -12
- package/src/sap/ui/integration/designtime/baseEditor/layout/Form.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +2 -2
- 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 +7 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +2 -2
- 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 +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/util/BaseDefaultValidatorModules.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/StylesheetManager.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/resolveBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/cleanupDesigntimeMetadata.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/createPromise.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/escapeParameter.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/findClosestInstance.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/hasTag.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/isTemplate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/isValidBindingString.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsPatternMatch.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +18 -3
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/CardEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/AppConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/HeaderConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/ListCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/ObjectCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/TableCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateActionConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateDataConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +13 -2
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n.properties +57 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ar.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_bg.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ca.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_cs.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_cy.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_da.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_de.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_el.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_GB.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_sappsd.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saprigi.properties +0 -4
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saptrc.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_es.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_es_MX.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_et.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fi.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr_CA.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hi.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hr.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hu.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_id.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_it.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_iw.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ja.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_kk.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ko.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_lt.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_lv.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ms.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_nl.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_no.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pl.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pt.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pt_PT.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ro.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ru.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sh.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sk.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sl.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sv.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_th.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_tr.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_uk.properties +41 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_vi.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_zh_CN.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_zh_TW.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +62 -4
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +218 -0
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/util/CommonPatterns.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/validator/IsPatternMatchList.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +53 -4
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +31 -11
- package/src/sap/ui/integration/designtime/editor/css/CardPreview.css +18 -1
- package/src/sap/ui/integration/editor/Editor.js +219 -209
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +43 -32
- package/src/sap/ui/integration/editor/Extension.js +2 -2
- package/src/sap/ui/integration/editor/Manifest.js +3 -3
- package/src/sap/ui/integration/editor/Merger.js +1 -19
- package/src/sap/ui/integration/editor/Settings.js +10 -6
- package/src/sap/ui/integration/editor/css/Editor.css +22 -0
- package/src/sap/ui/integration/editor/fields/BaseField.js +9 -12
- package/src/sap/ui/integration/editor/fields/BooleanField.js +4 -2
- package/src/sap/ui/integration/editor/fields/DateField.js +2 -2
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +2 -2
- package/src/sap/ui/integration/editor/fields/DestinationField.js +2 -2
- package/src/sap/ui/integration/editor/fields/IntegerField.js +5 -2
- package/src/sap/ui/integration/editor/fields/ListField.js +274 -62
- package/src/sap/ui/integration/editor/fields/NumberField.js +2 -2
- package/src/sap/ui/integration/editor/fields/StringField.js +85 -53
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +10 -30
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +2 -4
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +2 -4
- package/src/sap/ui/integration/editor/languages.json +2 -2
- package/src/sap/ui/integration/formatters/DateTimeFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/IconFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/NumberFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/TextFormatter.js +1 -1
- package/src/sap/ui/integration/library-bootstrap.js +1 -1
- package/src/sap/ui/integration/library.js +21 -4
- package/src/sap/ui/integration/messagebundle_ar.properties +4 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ca.properties +4 -0
- package/src/sap/ui/integration/messagebundle_cs.properties +4 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +4 -0
- package/src/sap/ui/integration/messagebundle_da.properties +4 -0
- package/src/sap/ui/integration/messagebundle_de.properties +4 -0
- package/src/sap/ui/integration/messagebundle_el.properties +4 -0
- package/src/sap/ui/integration/messagebundle_en.properties +4 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +4 -0
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +4 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +55 -81
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +4 -0
- package/src/sap/ui/integration/messagebundle_es.properties +4 -0
- package/src/sap/ui/integration/messagebundle_es_MX.properties +4 -0
- package/src/sap/ui/integration/messagebundle_et.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +4 -0
- package/src/sap/ui/integration/messagebundle_id.properties +4 -0
- package/src/sap/ui/integration/messagebundle_it.properties +4 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +4 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ko.properties +4 -0
- package/src/sap/ui/integration/messagebundle_lt.properties +4 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +4 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +4 -0
- package/src/sap/ui/integration/messagebundle_no.properties +4 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +4 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +4 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sv.properties +4 -0
- package/src/sap/ui/integration/messagebundle_th.properties +4 -0
- package/src/sap/ui/integration/messagebundle_tr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_vi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +4 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +4 -0
- package/src/sap/ui/integration/model/ContextModel.js +3 -3
- package/src/sap/ui/integration/model/ObservableModel.js +2 -2
- package/src/sap/ui/integration/sap-ui-integration-config.js +1 -1
- package/src/sap/ui/integration/sap-ui-integration-define-nojQuery.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +195 -8
- package/src/sap/ui/integration/services/Data.js +1 -1
- package/src/sap/ui/integration/services/Navigation.js +1 -1
- package/src/sap/ui/integration/services/Service.js +1 -1
- package/src/sap/ui/integration/themes/base/CalendarContent.less +31 -4
- package/src/sap/ui/integration/themes/base/ObjectContent.less +57 -9
- package/src/sap/ui/integration/themes/base/library.source.less +1 -1
- package/src/sap/ui/integration/themes/sap_hcb/library.source.less +1 -1
- 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 +2 -2
- package/src/sap/ui/integration/util/BindingHelper.js +6 -4
- package/src/sap/ui/integration/util/BindingResolver.js +6 -5
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/CardMerger.js +7 -18
- package/src/sap/ui/integration/util/CardObserver.js +2 -2
- package/src/sap/ui/integration/util/ContentFactory.js +5 -9
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +296 -0
- package/src/sap/ui/integration/util/DataProvider.js +11 -2
- package/src/sap/ui/integration/util/DataProviderFactory.js +49 -12
- package/src/sap/ui/integration/util/Destinations.js +2 -2
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +2 -2
- package/src/sap/ui/integration/util/HeaderFactory.js +3 -3
- package/src/sap/ui/integration/util/JSONBindingHelper.js +3 -3
- package/src/sap/ui/integration/util/LoadingProvider.js +2 -2
- package/src/sap/ui/integration/util/Manifest.js +4 -4
- package/src/sap/ui/integration/util/ManifestResolver.js +99 -0
- package/src/sap/ui/integration/util/ParameterMap.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +88 -50
- package/src/sap/ui/integration/util/ServiceDataProvider.js +2 -2
- package/src/sap/ui/integration/util/ServiceManager.js +2 -2
- package/src/sap/ui/integration/util/SkeletonCard.js +50 -0
- package/src/sap/ui/integration/util/Utils.js +74 -2
- package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +67 -20
- package/src/sap/ui/integration/widgets/CardRenderer.js +1 -7
- package/src/sap-ui-integration-card-editor.js +1 -1
- package/src/sap-ui-integration-editor.js +1 -1
- package/src/sap-ui-integration.js +1 -1
- package/ui5.yaml +288 -1
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -30,6 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
"sap/base/Log",
|
|
31
31
|
"sap/ui/core/Popup",
|
|
32
32
|
"sap/base/i18n/ResourceBundle",
|
|
33
|
+
"sap/ui/integration/editor/EditorResourceBundles",
|
|
33
34
|
"sap/ui/thirdparty/URI",
|
|
34
35
|
"sap/ui/dom/includeStylesheet",
|
|
35
36
|
"sap/base/util/LoaderExtensions",
|
|
@@ -72,6 +73,7 @@ sap.ui.define([
|
|
|
72
73
|
Log,
|
|
73
74
|
Popup,
|
|
74
75
|
ResourceBundle,
|
|
76
|
+
EditorResourceBundles,
|
|
75
77
|
URI,
|
|
76
78
|
includeStylesheet,
|
|
77
79
|
LoaderExtensions,
|
|
@@ -134,7 +136,7 @@ sap.ui.define([
|
|
|
134
136
|
* @extends sap.ui.core.Control
|
|
135
137
|
*
|
|
136
138
|
* @author SAP SE
|
|
137
|
-
* @version 1.
|
|
139
|
+
* @version 1.98.0
|
|
138
140
|
* @constructor
|
|
139
141
|
* @since 1.94
|
|
140
142
|
* @private
|
|
@@ -257,8 +259,6 @@ sap.ui.define([
|
|
|
257
259
|
if (oControl.getMode() !== "translation") {
|
|
258
260
|
oRm.addClass("settingsButtonSpace");
|
|
259
261
|
}
|
|
260
|
-
|
|
261
|
-
oRm.writeClasses();
|
|
262
262
|
oRm.openEnd();
|
|
263
263
|
if (oControl.getMode() !== "translation") {
|
|
264
264
|
oRm.renderControl(oControl.getAggregation("_messageStrip"));
|
|
@@ -607,6 +607,7 @@ sap.ui.define([
|
|
|
607
607
|
this.setAggregation("_messageStrip", new MessageStrip({
|
|
608
608
|
showIcon: false
|
|
609
609
|
}));
|
|
610
|
+
this.setLanguage(Core.getConfiguration().getLanguage());
|
|
610
611
|
/**
|
|
611
612
|
* Facade of the {@link sap.ui.integration.editor.Editor} control.
|
|
612
613
|
* @interface
|
|
@@ -614,7 +615,7 @@ sap.ui.define([
|
|
|
614
615
|
* @experimental since 1.94
|
|
615
616
|
* @public
|
|
616
617
|
* @author SAP SE
|
|
617
|
-
* @version 1.
|
|
618
|
+
* @version 1.98.0
|
|
618
619
|
* @borrows sap.ui.integration.editor.Editor#getParameters as getParameters
|
|
619
620
|
* @borrows sap.ui.integration.editor.Editor#resolveDestination as resolveDestination
|
|
620
621
|
* @borrows sap.ui.integration.editor.Editor#request as request
|
|
@@ -755,17 +756,22 @@ sap.ui.define([
|
|
|
755
756
|
this._registerManifestModulePath();
|
|
756
757
|
this._oInitialManifestModel = new JSONModel(this._oEditorManifest._oInitialJson);
|
|
757
758
|
this.setProperty("json", this._oEditorManifest._oInitialJson, bSuppress);
|
|
758
|
-
var oManifestJson = this._oEditorManifest.
|
|
759
|
+
var oManifestJson = this._oEditorManifest.oJson;
|
|
759
760
|
var _beforeCurrentLayer = merge({}, oManifestJson);
|
|
760
761
|
this._beforeManifestModel = new JSONModel(_beforeCurrentLayer);
|
|
761
762
|
if (iCurrentModeIndex < Merger.layers["translation"] && this._currentLayerManifestChanges) {
|
|
762
763
|
//merge if not translation
|
|
763
|
-
oManifestJson = Merger.mergeDelta(oManifestJson, [this._currentLayerManifestChanges]);
|
|
764
|
+
oManifestJson = Merger.mergeDelta(oManifestJson, [this._currentLayerManifestChanges], this.getSection());
|
|
764
765
|
}
|
|
765
766
|
//create a manifest model after the changes are merged
|
|
766
767
|
this._manifestModel = new JSONModel(oManifestJson);
|
|
767
768
|
this._isManifestReady = true;
|
|
768
769
|
this.fireManifestReady();
|
|
770
|
+
var vI18n = this._oEditorManifest.get("/sap.app/i18n");
|
|
771
|
+
var sResourceBundleURL = this.getBaseUrl() + vI18n;
|
|
772
|
+
if (vI18n && EditorResourceBundles.getResourceBundleURL() !== sResourceBundleURL) {
|
|
773
|
+
EditorResourceBundles.setResourceBundleURL(sResourceBundleURL);
|
|
774
|
+
}
|
|
769
775
|
//use the translations
|
|
770
776
|
this._loadDefaultTranslations();
|
|
771
777
|
//add a context model
|
|
@@ -773,7 +779,6 @@ sap.ui.define([
|
|
|
773
779
|
if (this._oEditorManifest.getResourceBundle()) {
|
|
774
780
|
this._enhanceI18nModel(this._oEditorManifest.getResourceBundle());
|
|
775
781
|
}
|
|
776
|
-
|
|
777
782
|
return this._loadExtension().then(function() {
|
|
778
783
|
this._initInternal();
|
|
779
784
|
}.bind(this));
|
|
@@ -801,27 +806,21 @@ sap.ui.define([
|
|
|
801
806
|
}
|
|
802
807
|
|
|
803
808
|
var oResourceBundle = Core.getLibraryResourceBundle("sap.ui.integration");
|
|
804
|
-
|
|
809
|
+
var oResourceModel = new ResourceModel({
|
|
810
|
+
bundle: oResourceBundle
|
|
811
|
+
});
|
|
812
|
+
|
|
813
|
+
this.setModel(oResourceModel, "i18n");
|
|
814
|
+
this._oResourceBundle = oResourceBundle;
|
|
805
815
|
this._defaultTranslationsLoaded = true;
|
|
806
816
|
};
|
|
807
817
|
|
|
808
818
|
Editor.prototype._enhanceI18nModel = function (oResourceBundle) {
|
|
809
819
|
var oResourceModel = this.getModel("i18n");
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
oResourceModel.enhance(oResourceBundle);
|
|
814
|
-
this._oResourceBundle = oResourceModel.getResourceBundle();
|
|
815
|
-
}
|
|
816
|
-
return;
|
|
820
|
+
if (oResourceModel.getResourceBundle().oUrlInfo.url !== oResourceBundle.oUrlInfo.url) {
|
|
821
|
+
oResourceModel.enhance(oResourceBundle);
|
|
822
|
+
this._oResourceBundle = oResourceModel.getResourceBundle();
|
|
817
823
|
}
|
|
818
|
-
|
|
819
|
-
oResourceModel = new ResourceModel({
|
|
820
|
-
bundle: oResourceBundle
|
|
821
|
-
});
|
|
822
|
-
|
|
823
|
-
this.setModel(oResourceModel, "i18n");
|
|
824
|
-
this._oResourceBundle = oResourceBundle;
|
|
825
824
|
};
|
|
826
825
|
|
|
827
826
|
Editor.prototype._loadExtension = function () {
|
|
@@ -894,7 +893,11 @@ sap.ui.define([
|
|
|
894
893
|
this._oDataProviderFactory.destroy();
|
|
895
894
|
}
|
|
896
895
|
var oExtension = this.getAggregation("_extension");
|
|
897
|
-
this._oDataProviderFactory = new DataProviderFactory(
|
|
896
|
+
this._oDataProviderFactory = new DataProviderFactory({
|
|
897
|
+
destinations: this._oDestinations,
|
|
898
|
+
extension: oExtension,
|
|
899
|
+
editor: this
|
|
900
|
+
});
|
|
898
901
|
};
|
|
899
902
|
|
|
900
903
|
/**
|
|
@@ -981,8 +984,7 @@ sap.ui.define([
|
|
|
981
984
|
this._language = sValue.replaceAll('_', '-');
|
|
982
985
|
if (this.getLanguage() != sValue) {
|
|
983
986
|
//reload resource bundler if language changed
|
|
984
|
-
|
|
985
|
-
this._enhanceI18nModel(oResourceBundle);
|
|
987
|
+
this._loadDefaultTranslations();
|
|
986
988
|
}
|
|
987
989
|
this.setProperty("language", sValue, bSuppress);
|
|
988
990
|
if (!Editor._languages[this._language]) {
|
|
@@ -1012,44 +1014,36 @@ sap.ui.define([
|
|
|
1012
1014
|
*/
|
|
1013
1015
|
Editor.prototype._filterManifestChangesByLayer = function (oManifestSettings) {
|
|
1014
1016
|
var aChanges = [],
|
|
1017
|
+
that = this,
|
|
1018
|
+
oBeforeLayerChanges = {},
|
|
1015
1019
|
oCurrentLayerChanges = { ":layer": Merger.layers[this.getMode()] },
|
|
1016
|
-
iCurrentModeIndex = Merger.layers[
|
|
1017
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
1018
|
-
var sEditorLanguage = this._language || this.getLanguage() || Core.getConfiguration().getLanguage().replaceAll('_', '-');
|
|
1019
|
-
*/
|
|
1020
|
+
iCurrentModeIndex = Merger.layers[that.getMode()];
|
|
1020
1021
|
oManifestSettings.manifestChanges.forEach(function (oChange) {
|
|
1021
1022
|
//filter manifest changes. only the changes before the current layer are needed
|
|
1022
1023
|
//editor will merge the last layer locally to allow "reset" or properties
|
|
1023
1024
|
//also for translation layer, the "original" value is needed
|
|
1024
1025
|
var iLayer = oChange.hasOwnProperty(":layer") ? oChange[":layer"] : 1000;
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
var oChangeTransfered = {};
|
|
1030
|
-
var aKeys = Object.keys(oChange);
|
|
1031
|
-
for (var j = 0; j < aKeys.length; j++) {
|
|
1032
|
-
if (aKeys[j].endsWith("/value") && typeof oChange[aKeys[j]] === "string") {
|
|
1033
|
-
var sValueTranslationsPath = aKeys[j].substring(0, aKeys[j].lastIndexOf("/")) + "/valueTranslations";
|
|
1034
|
-
if (!includes(aKeys, sValueTranslationsPath)) {
|
|
1035
|
-
var oValueTranslation = {};
|
|
1036
|
-
if (iLayer === Merger.layers["translation"]) {
|
|
1037
|
-
oValueTranslation[sEditorLanguage] = oChange[aKeys[j]];
|
|
1038
|
-
} else {
|
|
1039
|
-
for (var p in Editor._languages) {
|
|
1040
|
-
oValueTranslation[p] = oChange[aKeys[j]];
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
oChangeTransfered[sValueTranslationsPath] = oValueTranslation;
|
|
1044
|
-
continue;
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
oChangeTransfered[aKeys[j]] = oChange[aKeys[j]];
|
|
1026
|
+
if (iLayer === Merger.layers["translation"]) {
|
|
1027
|
+
var sLanguage = that._language;
|
|
1028
|
+
if (sLanguage === "") {
|
|
1029
|
+
sLanguage = Core.getConfiguration().getLanguage().replaceAll('_', '-');
|
|
1048
1030
|
}
|
|
1049
|
-
|
|
1050
|
-
|
|
1031
|
+
var oTranslationChange = {
|
|
1032
|
+
"texts": {}
|
|
1033
|
+
};
|
|
1034
|
+
oTranslationChange.texts[sLanguage] = {};
|
|
1035
|
+
Object.keys(oChange).forEach(function (s) {
|
|
1036
|
+
if (s.charAt(0) === "/") {
|
|
1037
|
+
oTranslationChange.texts[sLanguage][s] = oChange[s];
|
|
1038
|
+
} else {
|
|
1039
|
+
oTranslationChange[s] = oChange[s];
|
|
1040
|
+
}
|
|
1041
|
+
});
|
|
1042
|
+
oChange = oTranslationChange;
|
|
1043
|
+
}
|
|
1051
1044
|
if (iLayer < iCurrentModeIndex) {
|
|
1052
1045
|
aChanges.push(oChange);
|
|
1046
|
+
oBeforeLayerChanges = merge(oBeforeLayerChanges, oChange);
|
|
1053
1047
|
} else if (iLayer === iCurrentModeIndex) {
|
|
1054
1048
|
//store the current layer changes locally for later processing
|
|
1055
1049
|
oCurrentLayerChanges = oChange;
|
|
@@ -1057,6 +1051,7 @@ sap.ui.define([
|
|
|
1057
1051
|
});
|
|
1058
1052
|
oManifestSettings.manifestChanges = aChanges;
|
|
1059
1053
|
this._currentLayerManifestChanges = oCurrentLayerChanges;
|
|
1054
|
+
this._beforeLayerManifestChanges = oBeforeLayerChanges;
|
|
1060
1055
|
};
|
|
1061
1056
|
/**
|
|
1062
1057
|
* Initializes the editor after the json is set
|
|
@@ -1187,43 +1182,19 @@ sap.ui.define([
|
|
|
1187
1182
|
for (var n in oSettings.form.items) {
|
|
1188
1183
|
var oItem = oSettings.form.items[n];
|
|
1189
1184
|
if (oItem.editable && oItem.visible) {
|
|
1190
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
1191
|
-
var oValueTranslations;
|
|
1192
|
-
var sLanguage = this.getMode() !== "translation" ? Core.getConfiguration().getLanguage().replaceAll('_', '-') : this._language || this.getLanguage();
|
|
1193
|
-
*/
|
|
1194
|
-
var sValueTranslationsPath = "";
|
|
1195
|
-
if (oItem.manifestpath) {
|
|
1196
|
-
sValueTranslationsPath = oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueTranslations";
|
|
1197
|
-
}
|
|
1198
1185
|
if (this.getMode() !== "translation") {
|
|
1199
|
-
if (oItem.translatable && !oItem._changed && oItem._translatedPlaceholder && !this._currentLayerManifestChanges[oItem.manifestpath]
|
|
1186
|
+
if (oItem.translatable && !oItem._changed && oItem._translatedPlaceholder && !this._currentLayerManifestChanges[oItem.manifestpath]) {
|
|
1200
1187
|
//do not save a value that was not changed and comes from a translated default value
|
|
1201
1188
|
//mResult[oItem.manifestpath] = oItem._translatedPlaceholder;
|
|
1202
1189
|
//if we would save it
|
|
1203
1190
|
continue;
|
|
1204
1191
|
} else {
|
|
1205
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
1206
|
-
* need to remove below line later if we want release multi language function again
|
|
1207
|
-
*/
|
|
1208
|
-
mResult[oItem.manifestpath] = oItem.value;
|
|
1209
1192
|
if (oItem.valueItems) {
|
|
1210
1193
|
mResult[oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueItems"] = oItem.valueItems;
|
|
1211
1194
|
}
|
|
1212
|
-
|
|
1213
|
-
//if current parameter is string and translatable, create or merge valueTranslations property of it.
|
|
1214
|
-
//set the current change to current language in valueTranslations.
|
|
1215
|
-
if (oItem.type === "string" && oItem.translatable) {
|
|
1216
|
-
if (!oItem.valueTranslations) {
|
|
1217
|
-
oValueTranslations = {};
|
|
1218
|
-
} else {
|
|
1219
|
-
oValueTranslations = deepClone(oItem.valueTranslations, 500);
|
|
1220
|
-
}
|
|
1221
|
-
oValueTranslations[sLanguage] = oItem.value;
|
|
1222
|
-
oItem.valueTranslations = oValueTranslations;
|
|
1223
|
-
mResult[sValueTranslationsPath] = oItem.valueTranslations;
|
|
1224
|
-
} else {
|
|
1195
|
+
if (oItem.type !== "string" || !oItem.translatable) {
|
|
1225
1196
|
mResult[oItem.manifestpath] = oItem.value;
|
|
1226
|
-
}
|
|
1197
|
+
}
|
|
1227
1198
|
}
|
|
1228
1199
|
} else if (oItem.translatable && oItem.value) {
|
|
1229
1200
|
//in translation mode create an entry if there is a value
|
|
@@ -1252,6 +1223,15 @@ sap.ui.define([
|
|
|
1252
1223
|
}
|
|
1253
1224
|
}
|
|
1254
1225
|
}
|
|
1226
|
+
if (oSettings.texts) {
|
|
1227
|
+
mResult.texts = {};
|
|
1228
|
+
for (var language in oSettings.texts) {
|
|
1229
|
+
mResult.texts[language] = {};
|
|
1230
|
+
for (var translation in oSettings.texts[language]) {
|
|
1231
|
+
mResult.texts[language][translation] = oSettings.texts[language][translation];
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1255
1235
|
//add a property ":multipleLanguage" for backward compatibility of multiple language feature
|
|
1256
1236
|
if (this.getMode() !== "translation") {
|
|
1257
1237
|
mResult[":multipleLanguage"] = true;
|
|
@@ -1696,16 +1676,25 @@ sap.ui.define([
|
|
|
1696
1676
|
oSuggestValueBinding.attachChange(function () {
|
|
1697
1677
|
var oConfigTemp = merge({}, oConfig);
|
|
1698
1678
|
oConfigTemp._cancel = false;
|
|
1699
|
-
this._addValueListModel(oConfigTemp, oField
|
|
1679
|
+
this._addValueListModel(oConfigTemp, oField);
|
|
1700
1680
|
}.bind(this));
|
|
1701
1681
|
}
|
|
1702
|
-
|
|
1682
|
+
if (oConfig.values) {
|
|
1683
|
+
// for MultiInput used in string[] field with filter backend, do not request data when creating it
|
|
1684
|
+
if (oConfig.type === "string[]" && oField.isFilterBackend() && oConfig.visualization && oConfig.visualization.type === "MultiInput") {
|
|
1685
|
+
oField.setModel(new JSONModel({}), undefined);
|
|
1686
|
+
} else {
|
|
1687
|
+
this._addValueListModel(oConfig, oField);
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
this._createDependentFields(oConfig, oField);
|
|
1703
1691
|
oField._cols = oConfig.cols || 2; //by default 2 cols
|
|
1704
1692
|
if (oConfig.layout) {
|
|
1705
1693
|
oField._layout = oConfig.layout;
|
|
1706
1694
|
}
|
|
1707
1695
|
oField._oDataProviderFactory = this._oDataProviderFactory;
|
|
1708
1696
|
oField.setAssociation("_messageStrip", this.getAggregation("_messageStrip"));
|
|
1697
|
+
oField._previewPostion = this.getPreviewPosition();
|
|
1709
1698
|
return oField;
|
|
1710
1699
|
};
|
|
1711
1700
|
|
|
@@ -1725,7 +1714,7 @@ sap.ui.define([
|
|
|
1725
1714
|
for (var i = 0; i < aDependentFields.length; i++) {
|
|
1726
1715
|
var o = aDependentFields[i];
|
|
1727
1716
|
o.config._cancel = false;
|
|
1728
|
-
this._addValueListModel(o.config, o.field,
|
|
1717
|
+
this._addValueListModel(o.config, o.field, 500 * i);
|
|
1729
1718
|
}
|
|
1730
1719
|
this._bIgnoreUpdates = false;
|
|
1731
1720
|
}
|
|
@@ -1984,7 +1973,7 @@ sap.ui.define([
|
|
|
1984
1973
|
* @param {object} oConfig
|
|
1985
1974
|
* @param {BaseField} oField
|
|
1986
1975
|
*/
|
|
1987
|
-
Editor.prototype._addValueListModel = function (oConfig, oField,
|
|
1976
|
+
Editor.prototype._addValueListModel = function (oConfig, oField, nTimeout) {
|
|
1988
1977
|
if (oConfig.values) {
|
|
1989
1978
|
var oValueModel;
|
|
1990
1979
|
if (oConfig.values.data) {
|
|
@@ -2041,44 +2030,60 @@ sap.ui.define([
|
|
|
2041
2030
|
//to carry the values.
|
|
2042
2031
|
oField.setModel(oValueModel, undefined);
|
|
2043
2032
|
}
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
if (sData) {
|
|
2047
|
-
var destParamRegExp = /parameters\.([^\}\}]+)|destinations\.([^\}\}]+)|\{items\>[\/?\w+]+\}/g,
|
|
2048
|
-
aResult = sData.match(destParamRegExp);
|
|
2049
|
-
if (aResult) {
|
|
2050
|
-
//add the field to dependency to either the parameter or destination
|
|
2051
|
-
for (var i = 0; i < aResult.length; i++) {
|
|
2052
|
-
var sValueKey = "/value";
|
|
2053
|
-
var sDependentPath = this.getConfigurationPath();
|
|
2054
|
-
if (aResult[i].indexOf("destinations.") === 0 || aResult[i].indexOf("parameters.") === 0) {
|
|
2055
|
-
if (aResult[i].indexOf("destinations.") === 0) {
|
|
2056
|
-
sValueKey = "/name";
|
|
2057
|
-
}
|
|
2058
|
-
sDependentPath = sDependentPath + aResult[i].replace(".", "/") + "/" + sValueKey;
|
|
2059
|
-
} else if (aResult[i].indexOf("{items>") === 0) {
|
|
2060
|
-
sDependentPath = sDependentPath + "/parameters/" + aResult[i].slice(7, -1);
|
|
2061
|
-
}
|
|
2062
|
-
var oItem = this._mItemsByPaths[sDependentPath];
|
|
2063
|
-
if (oItem) {
|
|
2064
|
-
//DIGITALWORKPLACE-4802
|
|
2065
|
-
//clone the config since the item may dependent to itself in filter backend feature
|
|
2066
|
-
if (oItem._settingspath === oConfig._settingspath) {
|
|
2067
|
-
oConfig = merge({}, oConfig);
|
|
2068
|
-
}
|
|
2069
|
-
oItem._dependentFields = oItem._dependentFields || [];
|
|
2070
|
-
oItem._dependentFields.push({
|
|
2071
|
-
field: oField,
|
|
2072
|
-
config: oConfig
|
|
2073
|
-
});
|
|
2033
|
+
}
|
|
2034
|
+
};
|
|
2074
2035
|
|
|
2036
|
+
Editor.prototype._createDependentFields = function (oConfig, oField) {
|
|
2037
|
+
if (oConfig.values) {
|
|
2038
|
+
var sData = JSON.stringify(oConfig.values.data);
|
|
2039
|
+
if (sData) {
|
|
2040
|
+
var destParamRegExp = /parameters\.([^\}\}]+)|destinations\.([^\}\}]+)|\{items\>[\/?\w+]+\}/g,
|
|
2041
|
+
aResult = sData.match(destParamRegExp);
|
|
2042
|
+
if (aResult) {
|
|
2043
|
+
//add the field to dependency to either the parameter or destination
|
|
2044
|
+
for (var i = 0; i < aResult.length; i++) {
|
|
2045
|
+
var sValueKey = "/value";
|
|
2046
|
+
var sDependentPath = this.getConfigurationPath();
|
|
2047
|
+
if (aResult[i].indexOf("destinations.") === 0 || aResult[i].indexOf("parameters.") === 0) {
|
|
2048
|
+
if (aResult[i].indexOf("destinations.") === 0) {
|
|
2049
|
+
sValueKey = "/name";
|
|
2075
2050
|
}
|
|
2051
|
+
sDependentPath = sDependentPath + aResult[i].replace(".", "/") + "/" + sValueKey;
|
|
2052
|
+
} else if (aResult[i].indexOf("{items>") === 0) {
|
|
2053
|
+
sDependentPath = sDependentPath + "/parameters/" + aResult[i].slice(7, -1);
|
|
2054
|
+
}
|
|
2055
|
+
var oItem = this._mItemsByPaths[sDependentPath];
|
|
2056
|
+
if (oItem) {
|
|
2057
|
+
//DIGITALWORKPLACE-4802
|
|
2058
|
+
//clone the config since the item may dependent to itself in filter backend feature
|
|
2059
|
+
if (oItem._settingspath === oConfig._settingspath) {
|
|
2060
|
+
oConfig = merge({}, oConfig);
|
|
2061
|
+
}
|
|
2062
|
+
oItem._dependentFields = oItem._dependentFields || [];
|
|
2063
|
+
oItem._dependentFields.push({
|
|
2064
|
+
field: oField,
|
|
2065
|
+
config: oConfig
|
|
2066
|
+
});
|
|
2076
2067
|
}
|
|
2077
2068
|
}
|
|
2078
2069
|
}
|
|
2079
2070
|
}
|
|
2080
2071
|
}
|
|
2081
2072
|
};
|
|
2073
|
+
|
|
2074
|
+
Editor.prototype.getBeforeLayerChange = function (sKey) {
|
|
2075
|
+
if (!this._beforeLayerManifestChanges) {
|
|
2076
|
+
this._beforeLayerManifestChanges = {};
|
|
2077
|
+
}
|
|
2078
|
+
return this._beforeLayerManifestChanges[sKey];
|
|
2079
|
+
};
|
|
2080
|
+
|
|
2081
|
+
Editor.prototype.getTranslationValueInTexts = function (sLanguage, sKey) {
|
|
2082
|
+
var sTranslationPath = "/texts/" + sLanguage;
|
|
2083
|
+
var oProperty = this._settingsModel.getProperty(sTranslationPath) || {};
|
|
2084
|
+
return oProperty[sKey];
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2082
2087
|
/**
|
|
2083
2088
|
* Adds an item to the _formContent aggregation based on the config settings
|
|
2084
2089
|
* @param {} oConfig
|
|
@@ -2134,6 +2139,14 @@ sap.ui.define([
|
|
|
2134
2139
|
if (oConfig.hint) {
|
|
2135
2140
|
this._addHint(oConfig.hint);
|
|
2136
2141
|
}
|
|
2142
|
+
//add "aria-label" for each panel to make the landmark uniquely
|
|
2143
|
+
var oDelegate = {
|
|
2144
|
+
onAfterRendering: function() {
|
|
2145
|
+
var ePanel = document.getElementById(oPanel.getId());
|
|
2146
|
+
ePanel.setAttribute("aria-label", oConfig.label);
|
|
2147
|
+
}
|
|
2148
|
+
};
|
|
2149
|
+
oPanel.addEventDelegate(oDelegate);
|
|
2137
2150
|
return;
|
|
2138
2151
|
}
|
|
2139
2152
|
if (oConfig.type === "separator") {
|
|
@@ -2144,6 +2157,7 @@ sap.ui.define([
|
|
|
2144
2157
|
return;
|
|
2145
2158
|
}
|
|
2146
2159
|
var oNewLabel = null;
|
|
2160
|
+
var sLanguage = Core.getConfiguration().getLanguage().replaceAll('_', '-');
|
|
2147
2161
|
if (sMode === "translation") {
|
|
2148
2162
|
if ((typeof oConfig.value === "string" && oConfig.value.indexOf("{") === 0) || typeof oConfig.values !== "undefined") {
|
|
2149
2163
|
//do not show dynamic values for translation
|
|
@@ -2161,63 +2175,68 @@ sap.ui.define([
|
|
|
2161
2175
|
delete oConfig.values;
|
|
2162
2176
|
|
|
2163
2177
|
//create a configuration clone. map the _settingspath setting to _language, and set it to not editable
|
|
2164
|
-
var
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
} else if (sLanguage.indexOf"-") > -1) {
|
|
2177
|
-
sLanguage = sLanguage.substring(0, sLanguage.indexOf("-"));
|
|
2178
|
-
if (Editor._languages[sLanguage]) {
|
|
2179
|
-
if (origLangField.valueTranslations[sLanguage]) {
|
|
2180
|
-
origLangField.value = origLangField.valueTranslations[sLanguage];
|
|
2181
|
-
}
|
|
2182
|
-
}
|
|
2178
|
+
var origLangFieldConfig = deepClone(oConfig, 500);
|
|
2179
|
+
origLangFieldConfig._settingspath += "/_language";
|
|
2180
|
+
origLangFieldConfig.editable = false;
|
|
2181
|
+
origLangFieldConfig.required = false;
|
|
2182
|
+
//if has value transaltions, get value via language setting in core
|
|
2183
|
+
if (!Editor._languages[sLanguage] && sLanguage.indexOf("-") > -1) {
|
|
2184
|
+
sLanguage = sLanguage.substring(0, sLanguage.indexOf("-"));
|
|
2185
|
+
}
|
|
2186
|
+
if (Editor._languages[sLanguage]) {
|
|
2187
|
+
var sTranslateText = this.getTranslationValueInTexts(sLanguage, oConfig.manifestpath);
|
|
2188
|
+
if (sTranslateText) {
|
|
2189
|
+
origLangFieldConfig.value = sTranslateText;
|
|
2183
2190
|
}
|
|
2184
|
-
}
|
|
2185
|
-
if (!
|
|
2191
|
+
}
|
|
2192
|
+
if (!origLangFieldConfig.value) {
|
|
2186
2193
|
//the original language field shows only a text control. If empty we show a dash to avoid empty text.
|
|
2187
|
-
|
|
2194
|
+
origLangFieldConfig.value = "-";
|
|
2188
2195
|
}
|
|
2189
|
-
var oLabel = this._createLabel(
|
|
2196
|
+
var oLabel = this._createLabel(origLangFieldConfig);
|
|
2190
2197
|
this.addAggregation("_formContent",
|
|
2191
2198
|
oLabel
|
|
2192
2199
|
);
|
|
2193
|
-
var
|
|
2194
|
-
|
|
2195
|
-
this.addAggregation("_formContent",
|
|
2200
|
+
var oOrigLanguageField = this._createField(origLangFieldConfig);
|
|
2201
|
+
oOrigLanguageField.isOrigLangField = true;
|
|
2202
|
+
this.addAggregation("_formContent", oOrigLanguageField);
|
|
2196
2203
|
|
|
2197
|
-
oConfig.value = oConfig._translatedValue || "";
|
|
2198
2204
|
//even if a item is not visible or not editable by another layer for translations it should always be editable and visible
|
|
2199
2205
|
oConfig.editable = oConfig.visible = oConfig.translatable;
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2206
|
+
sLanguage = this._language;
|
|
2207
|
+
if (!this.getBeforeLayerChange(oConfig.manifestpath)) {
|
|
2208
|
+
oConfig.value = oConfig._translatedValue || "";
|
|
2209
|
+
}
|
|
2210
|
+
var sTranslateText = this.getTranslationValueInTexts(sLanguage, oConfig.manifestpath);
|
|
2211
|
+
if (sTranslateText) {
|
|
2212
|
+
oConfig.value = sTranslateText;
|
|
2204
2213
|
}
|
|
2205
2214
|
//change the label for the translation field
|
|
2206
2215
|
oConfig.label = oConfig._translatedLabel || "";
|
|
2207
2216
|
oConfig.required = false; //translation is never required
|
|
2208
|
-
var
|
|
2217
|
+
var oTranslateLanguageField = this._createField(oConfig);
|
|
2209
2218
|
this.addAggregation("_formContent",
|
|
2210
|
-
|
|
2219
|
+
oTranslateLanguageField
|
|
2211
2220
|
);
|
|
2212
2221
|
} else {
|
|
2213
2222
|
oNewLabel = this._createLabel(oConfig);
|
|
2214
2223
|
this.addAggregation("_formContent",
|
|
2215
2224
|
oNewLabel
|
|
2216
2225
|
);
|
|
2226
|
+
var sBeforeLayerChange = this.getBeforeLayerChange(oConfig.manifestpath);
|
|
2227
|
+
if (sBeforeLayerChange) {
|
|
2228
|
+
oConfig._beforeLayerChange = sBeforeLayerChange;
|
|
2229
|
+
}
|
|
2217
2230
|
//if there are changes for the current layer, read the already translated value from there
|
|
2218
2231
|
//now merge these changes for translation into the item configs
|
|
2219
|
-
if (this._currentLayerManifestChanges) {
|
|
2220
|
-
oConfig.value = this._currentLayerManifestChanges[oConfig.manifestpath]
|
|
2232
|
+
if (this._currentLayerManifestChanges && this._currentLayerManifestChanges[oConfig.manifestpath]) {
|
|
2233
|
+
oConfig.value = this._currentLayerManifestChanges[oConfig.manifestpath];
|
|
2234
|
+
oConfig._beforeLayerChange = oConfig.value;
|
|
2235
|
+
}
|
|
2236
|
+
sLanguage = this._language;
|
|
2237
|
+
var sTranslateText = this.getTranslationValueInTexts(sLanguage, oConfig.manifestpath);
|
|
2238
|
+
if (sTranslateText) {
|
|
2239
|
+
oConfig.value = sTranslateText;
|
|
2221
2240
|
}
|
|
2222
2241
|
var oField = this._createField(oConfig);
|
|
2223
2242
|
this.addAggregation("_formContent",
|
|
@@ -2335,28 +2354,12 @@ sap.ui.define([
|
|
|
2335
2354
|
//force a label setting, set it to the name of the item
|
|
2336
2355
|
oItem.label = oItem.label || n;
|
|
2337
2356
|
//what is the current value from the change?
|
|
2338
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
2339
|
-
var sCurrentLayerValue, sValueTranslationsPath, aTranslationLayerValueChanges;
|
|
2340
|
-
* remove below line if release this feature again
|
|
2341
|
-
*/
|
|
2342
2357
|
var sCurrentLayerValue;
|
|
2343
2358
|
if (oItem.manifestpath) {
|
|
2344
2359
|
this._mItemsByPaths[oItem.manifestpath] = oItem;
|
|
2345
|
-
|
|
2346
|
-
sValueTranslationsPath = oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueTranslations";
|
|
2347
|
-
if (this.getMode() === "translation") {
|
|
2348
|
-
if (this._currentLayerManifestChanges
|
|
2349
|
-
&& this._currentLayerManifestChanges[sValueTranslationsPath]) {
|
|
2350
|
-
//get valueTranslations from current layer changes if current mode is translation
|
|
2351
|
-
aTranslationLayerValueChanges = this._currentLayerManifestChanges[sValueTranslationsPath];
|
|
2352
|
-
}
|
|
2353
|
-
} else {
|
|
2360
|
+
if (this.getMode() !== "translation") {
|
|
2354
2361
|
sCurrentLayerValue = this._currentLayerManifestChanges[oItem.manifestpath];
|
|
2355
|
-
}
|
|
2356
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
2357
|
-
* need to remove below line later if release multi language function again
|
|
2358
|
-
*/
|
|
2359
|
-
sCurrentLayerValue = this._currentLayerManifestChanges[oItem.manifestpath];
|
|
2362
|
+
}
|
|
2360
2363
|
}
|
|
2361
2364
|
//if not changed it should be undefined, and ignore changes in tranlation layer
|
|
2362
2365
|
oItem._changed = sCurrentLayerValue !== undefined && this.getMode() !== "translation";
|
|
@@ -2370,19 +2373,6 @@ sap.ui.define([
|
|
|
2370
2373
|
//check if the provided value from the parameter or designtime default value is a translated value
|
|
2371
2374
|
//restrict this to string types for now
|
|
2372
2375
|
if (oItem.type === "string") {
|
|
2373
|
-
/* hide multi language function since there has a translation issue in Portal
|
|
2374
|
-
//get i18n path of the editor, and set it to item for initializing EditorResourceBundles
|
|
2375
|
-
var vI18n = this._oEditorManifest.get("/sap.app/i18n");
|
|
2376
|
-
if (!vI18n) {
|
|
2377
|
-
vI18n = "";
|
|
2378
|
-
}
|
|
2379
|
-
oItem._resourceBundleURL = this.getBaseUrl() + vI18n;
|
|
2380
|
-
if (oItem.manifestpath) {
|
|
2381
|
-
//merge valueTranslations in current mainfest mode and current layer changes
|
|
2382
|
-
var oValueTranslationsInManifest = this._manifestModel.getProperty(sValueTranslationsPath);
|
|
2383
|
-
oItem.valueTranslations = merge(oValueTranslationsInManifest, aTranslationLayerValueChanges);
|
|
2384
|
-
aTranslationLayerValueChanges = undefined;
|
|
2385
|
-
}*/
|
|
2386
2376
|
//check if is translatable via default value, if default value match "{{sTranslationTextKey}}" or "{i18n>sTranslationTextKey}", it is translatable
|
|
2387
2377
|
oItem._translatedDefaultPlaceholder = this._getManifestDefaultValue(oItem.manifestpath);
|
|
2388
2378
|
var sTranslationTextKey = null,
|
|
@@ -2392,7 +2382,7 @@ sap.ui.define([
|
|
|
2392
2382
|
if (this._isValueWithParameterSyntax(sPlaceholder)) {
|
|
2393
2383
|
oItem.translatable = false;
|
|
2394
2384
|
}
|
|
2395
|
-
//parameter translated value
|
|
2385
|
+
//parameter translated value
|
|
2396
2386
|
if (this._isValueWithHandlebarsTranslation(sPlaceholder)) {
|
|
2397
2387
|
sTranslationTextKey = sPlaceholder.substring(2, sPlaceholder.length - 2);
|
|
2398
2388
|
} else if (sPlaceholder.startsWith("{i18n>")) {
|
|
@@ -2402,11 +2392,15 @@ sap.ui.define([
|
|
|
2402
2392
|
if (sTranslationTextKey) {
|
|
2403
2393
|
//force translatable, even if it was not explicitly set already
|
|
2404
2394
|
oItem.translatable = true;
|
|
2395
|
+
} else if (oItem.translatable && this.getMode() === "translation" && !this.getBeforeLayerChange(oItem.manifestpath)) {
|
|
2396
|
+
//if no translation key which means item defined as string value directly.
|
|
2397
|
+
//set the _translatedValue with item manifest value.
|
|
2398
|
+
oItem._translatedValue = oItem._translatedDefaultPlaceholder;
|
|
2399
|
+
oItem.value = oItem._translatedValue;
|
|
2405
2400
|
}
|
|
2406
2401
|
}
|
|
2407
2402
|
//check if before value still has tranlation key
|
|
2408
2403
|
oItem._translatedPlaceholder = oItem._beforeValue;
|
|
2409
|
-
sTranslationTextKey = null;
|
|
2410
2404
|
sPlaceholder = oItem._translatedPlaceholder;
|
|
2411
2405
|
if (sPlaceholder) {
|
|
2412
2406
|
//value with parameter syntax will not be translated
|
|
@@ -2419,35 +2413,33 @@ sap.ui.define([
|
|
|
2419
2413
|
} else if (sPlaceholder.startsWith("{i18n>")) {
|
|
2420
2414
|
sTranslationTextKey = sPlaceholder.substring(6, sPlaceholder.length - 1);
|
|
2421
2415
|
}
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
if
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2416
|
+
}
|
|
2417
|
+
var sTranslationValueinTexts = this.getTranslationValueInTexts(sLanguage, oItem.manifestpath);
|
|
2418
|
+
//only if there is a translation key
|
|
2419
|
+
if (sTranslationTextKey) {
|
|
2420
|
+
oItem._translatedValue = this.getModel("i18n").getResourceBundle().getText(sTranslationTextKey);
|
|
2421
|
+
if (oItem._changed) {
|
|
2422
|
+
//item was changed, take the current value
|
|
2423
|
+
oItem.value = sCurrentLayerValue;
|
|
2424
|
+
} else if (oItem.value === oItem._translatedDefaultPlaceholder) {
|
|
2425
|
+
oItem.value = oItem._translatedValue;
|
|
2426
|
+
}
|
|
2427
|
+
if (this.getMode() === "translation") {
|
|
2428
|
+
//if we are in translation mode the default value differs and depends on the language
|
|
2429
|
+
//TODO this does not work in SWZ, the base path is not taken into account...
|
|
2430
|
+
//get the translated default value for the language we want to translate this.getLanguage()
|
|
2431
|
+
//if the value is "", which means the i18n setting is not correct, do not use it as translated value
|
|
2432
|
+
var sCurrentLanguageSpecificText = this._getCurrentLanguageSpecificText(sTranslationTextKey);
|
|
2433
|
+
if (sCurrentLanguageSpecificText !== "") {
|
|
2434
|
+
oItem._translatedValue = sCurrentLanguageSpecificText;
|
|
2439
2435
|
}
|
|
2440
|
-
} else if (
|
|
2441
|
-
|
|
2442
|
-
//set the _translatedValue with item manifest value or default value.
|
|
2443
|
-
oItem._translatedValue = oItem._translatedPlaceholder;
|
|
2444
|
-
oItem.value = oItem._beforeValue;
|
|
2436
|
+
} else if (sTranslationValueinTexts) {
|
|
2437
|
+
oItem.value = sTranslationValueinTexts;
|
|
2445
2438
|
}
|
|
2439
|
+
} else if (this.getMode() !== "translation" && oItem.translatable && sTranslationValueinTexts) {
|
|
2440
|
+
oItem.value = sTranslationValueinTexts;
|
|
2446
2441
|
}
|
|
2447
2442
|
if (this.getMode() === "translation") {
|
|
2448
|
-
if (oItem.valueTranslations && oItem.valueTranslations[sLanguage]) {
|
|
2449
|
-
oItem._translatedValue = oItem.valueTranslations[sLanguage];
|
|
2450
|
-
}
|
|
2451
2443
|
if (this._isValueWithHandlebarsTranslation(oItem.label)) {
|
|
2452
2444
|
oItem._translatedLabel = this._getCurrentLanguageSpecificText(oItem.label.substring(2, oItem.label.length - 2), true);
|
|
2453
2445
|
} else if (oItem.label && oItem.label.startsWith("{i18n>")) {
|
|
@@ -2462,6 +2454,12 @@ sap.ui.define([
|
|
|
2462
2454
|
if (oValueItems) {
|
|
2463
2455
|
oItem.valueItems = oValueItems;
|
|
2464
2456
|
}
|
|
2457
|
+
// get value tokens of MultiInput from manifest change for current item
|
|
2458
|
+
var sValueTokensPath = oItem.manifestpath.substring(0, oItem.manifestpath.lastIndexOf("/")) + "/valueTokens";
|
|
2459
|
+
var oValueTokens = this._manifestModel.getProperty(sValueTokensPath);
|
|
2460
|
+
if (oValueTokens) {
|
|
2461
|
+
oItem.valueTokens = oValueTokens;
|
|
2462
|
+
}
|
|
2465
2463
|
}
|
|
2466
2464
|
|
|
2467
2465
|
//translate label if it is {{KEY}}
|
|
@@ -2589,6 +2587,7 @@ sap.ui.define([
|
|
|
2589
2587
|
* Applies previous layer designtime settings that were changed
|
|
2590
2588
|
*/
|
|
2591
2589
|
Editor.prototype._applyDesigntimeLayers = function (oSettings) {
|
|
2590
|
+
var oTexts = {};
|
|
2592
2591
|
//pull current values
|
|
2593
2592
|
if (this._appliedLayerManifestChanges && Array.isArray(this._appliedLayerManifestChanges)) {
|
|
2594
2593
|
for (var i = 0; i < this._appliedLayerManifestChanges.length; i++) {
|
|
@@ -2599,6 +2598,10 @@ sap.ui.define([
|
|
|
2599
2598
|
this._settingsModel.setProperty(aKeys[j], oChanges[aKeys[j]]);
|
|
2600
2599
|
}
|
|
2601
2600
|
}
|
|
2601
|
+
var oAppliedLayerManifestChangeTexts = this._appliedLayerManifestChanges[i]["texts"];
|
|
2602
|
+
if (oAppliedLayerManifestChangeTexts) {
|
|
2603
|
+
oTexts = merge(oTexts, oAppliedLayerManifestChangeTexts);
|
|
2604
|
+
}
|
|
2602
2605
|
}
|
|
2603
2606
|
}
|
|
2604
2607
|
if (this._currentLayerManifestChanges) {
|
|
@@ -2619,6 +2622,13 @@ sap.ui.define([
|
|
|
2619
2622
|
this._settingsModel.setProperty(sNext + "/" + sProp, oChanges[aKeys[j]]);
|
|
2620
2623
|
}
|
|
2621
2624
|
}
|
|
2625
|
+
var ocurrentLayerManifestChangeTexts = this._currentLayerManifestChanges["texts"];
|
|
2626
|
+
if (ocurrentLayerManifestChangeTexts) {
|
|
2627
|
+
oTexts = merge(oTexts, ocurrentLayerManifestChangeTexts);
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
if (!deepEqual(oTexts, {})) {
|
|
2631
|
+
this._settingsModel.setProperty("/texts", oTexts);
|
|
2622
2632
|
}
|
|
2623
2633
|
};
|
|
2624
2634
|
/**
|