@openui5/sap.ui.integration 1.143.1 → 1.145.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.toml +40 -16
- package/THIRDPARTY.txt +22 -1
- package/package.json +6 -6
- package/src/sap/ui/integration/.library +2 -2
- 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 +2 -2
- package/src/sap/ui/integration/bindingFeatures/DateRange.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +2 -2
- package/src/sap/ui/integration/cards/AnalyticalContent.js +86 -13
- package/src/sap/ui/integration/cards/AnalyticalContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +2 -2
- package/src/sap/ui/integration/cards/AnalyticsCloudContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +26 -5
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +2 -2
- package/src/sap/ui/integration/cards/BaseListContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContent.js +2 -2
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +2 -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 +2 -2
- package/src/sap/ui/integration/cards/ListContent.js +3 -3
- package/src/sap/ui/integration/cards/ListContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/NumericHeader.js +2 -2
- package/src/sap/ui/integration/cards/ObjectContent.js +68 -7
- package/src/sap/ui/integration/cards/ObjectContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +6 -3
- package/src/sap/ui/integration/cards/TableContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +2 -2
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +2 -2
- package/src/sap/ui/integration/cards/WebPageContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/actions/BaseAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/CardActions.js +24 -18
- package/src/sap/ui/integration/cards/actions/CustomAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/DateChangeAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/HideCardAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/MonthChangeAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/NavigationAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/ShowCardAction.js +1 -1
- package/src/sap/ui/integration/cards/actions/SubmitAction.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputTime.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +2 -2
- 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/adaptivecards/overwrites/inputsGeneralOverwrites.js +1 -1
- package/src/sap/ui/integration/cards/data/CsrfToken.js +1 -1
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/FilterBar.js +2 -2
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +2 -2
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +2 -2
- package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +2 -2
- package/src/sap/ui/integration/controls/ActionsStrip.js +2 -2
- package/src/sap/ui/integration/controls/ActionsToolbar.js +3 -3
- package/src/sap/ui/integration/controls/ActionsToolbarRenderer.js +1 -1
- package/src/sap/ui/integration/controls/BlockingMessage.js +2 -2
- package/src/sap/ui/integration/controls/ComboBox.js +2 -2
- package/src/sap/ui/integration/controls/HeaderInfoSectionColumn.js +2 -2
- package/src/sap/ui/integration/controls/HeaderInfoSectionColumnRenderer.js +1 -1
- package/src/sap/ui/integration/controls/HeaderInfoSectionRow.js +2 -2
- package/src/sap/ui/integration/controls/HeaderInfoSectionRowRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +2 -2
- package/src/sap/ui/integration/controls/ImageWithOverlayRenderer.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/controls/MicrochartRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ObjectStatus.js +3 -3
- 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/delegate/OverflowHandler.js +2 -2
- package/src/sap/ui/integration/delegate/Paginator.js +18 -16
- package/src/sap/ui/integration/delegate/PreventKeyboardScrolling.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +20 -17
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +10 -7
- 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/codeEditor/CodeEditor.fragment.xml +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.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.js +2 -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.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.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/EvalUtils.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 +2 -2
- 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/FooterConfig.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/generateFooterActionsStripConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr.properties +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +2 -2
- 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/Card.js +2 -2
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +78 -22
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +18 -11
- package/src/sap/ui/integration/designtime/editor/CardRenderer.js +1 -1
- package/src/sap/ui/integration/editor/Constants.js +1 -1
- package/src/sap/ui/integration/editor/Editor.js +630 -169
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +2 -2
- package/src/sap/ui/integration/editor/Extension.js +2 -2
- package/src/sap/ui/integration/editor/Manifest.js +2 -2
- package/src/sap/ui/integration/editor/Merger.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +7 -7
- package/src/sap/ui/integration/editor/css/Editor.css +28 -0
- package/src/sap/ui/integration/editor/fields/BaseField.js +12 -12
- package/src/sap/ui/integration/editor/fields/BooleanField.js +2 -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/GroupField.js +19 -5
- package/src/sap/ui/integration/editor/fields/IntegerField.js +2 -2
- package/src/sap/ui/integration/editor/fields/NumberField.js +2 -2
- package/src/sap/ui/integration/editor/fields/ObjectField.js +26 -11
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +2 -2
- package/src/sap/ui/integration/editor/fields/StringField.js +22 -15
- package/src/sap/ui/integration/editor/fields/StringListField.js +2 -2
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +3 -3
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +2 -2
- package/src/sap/ui/integration/extensions/OAuth3LO.js +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/InitialsFormatter.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 +3 -3
- package/src/sap/ui/integration/messagebundle.properties +3 -0
- package/src/sap/ui/integration/messagebundle_ar.properties +2 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ca.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cnr.properties +3 -1
- package/src/sap/ui/integration/messagebundle_cs.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +2 -0
- package/src/sap/ui/integration/messagebundle_da.properties +2 -0
- package/src/sap/ui/integration/messagebundle_de.properties +2 -0
- package/src/sap/ui/integration/messagebundle_el.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/integration/messagebundle_et.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +2 -0
- package/src/sap/ui/integration/messagebundle_id.properties +3 -1
- package/src/sap/ui/integration/messagebundle_it.properties +2 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +2 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ko.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_mk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +2 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_no.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +3 -1
- package/src/sap/ui/integration/messagebundle_sk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sr.properties +3 -1
- package/src/sap/ui/integration/messagebundle_sv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_th.properties +2 -0
- package/src/sap/ui/integration/messagebundle_tr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_vi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/integration/model/ContextModel.js +2 -2
- 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 +38 -1
- 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/ListContentItem.less +7 -7
- package/src/sap/ui/integration/themes/base/ObjectContent.less +4 -0
- 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/types/HeaderInfoSectionJustifyContent.js +1 -1
- package/src/sap/ui/integration/util/AnalyticsCloudHelper.js +2 -2
- package/src/sap/ui/integration/util/BaseFactory.js +2 -2
- package/src/sap/ui/integration/util/BindingHelper.js +2 -2
- package/src/sap/ui/integration/util/BindingResolver.js +2 -2
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/CardMerger.js +1 -1
- package/src/sap/ui/integration/util/CardObserver.js +2 -2
- package/src/sap/ui/integration/util/ComboBoxHelper.js +2 -2
- package/src/sap/ui/integration/util/ContentFactory.js +2 -2
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +2 -2
- package/src/sap/ui/integration/util/DataProvider.js +2 -2
- package/src/sap/ui/integration/util/DataProviderFactory.js +2 -2
- package/src/sap/ui/integration/util/DateRangeHelper.js +15 -6
- package/src/sap/ui/integration/util/Destinations.js +2 -2
- package/src/sap/ui/integration/util/DisplayVariants.js +2 -2
- package/src/sap/ui/integration/util/Duration.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +2 -2
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +2 -2
- package/src/sap/ui/integration/util/Form.js +50 -21
- package/src/sap/ui/integration/util/HeaderFactory.js +2 -2
- package/src/sap/ui/integration/util/JSONBindingHelper.js +2 -2
- package/src/sap/ui/integration/util/LoadingProvider.js +2 -2
- package/src/sap/ui/integration/util/Manifest.js +2 -2
- package/src/sap/ui/integration/util/ManifestResolver.js +1 -1
- package/src/sap/ui/integration/util/Measurement.js +1 -1
- package/src/sap/ui/integration/util/OAuth3LOHelper.js +2 -2
- package/src/sap/ui/integration/util/ObjectStatusFactory.js +2 -2
- package/src/sap/ui/integration/util/ParameterMap.js +1 -1
- package/src/sap/ui/integration/util/RadioButtonHelper.js +71 -0
- package/src/sap/ui/integration/util/RequestDataProvider.js +2 -2
- 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 +2 -2
- package/src/sap/ui/integration/util/SorterHelper.js +2 -2
- package/src/sap/ui/integration/util/Utils.js +3 -3
- package/src/sap/ui/integration/util/Validators.js +8 -2
- package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
- package/src/sap/ui/integration/util/openCardDialog.js +1 -1
- package/src/sap/ui/integration/util/openCardShowMore.js +1 -1
- package/src/sap/ui/integration/util/subtitleToSubTitle.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +25 -10
- package/src/sap/ui/integration/widgets/CardRenderer.js +1 -1
- 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 +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -14,7 +14,8 @@ sap.ui.define([
|
|
|
14
14
|
"./BindingResolver",
|
|
15
15
|
"./DateRangeHelper",
|
|
16
16
|
"./Duration",
|
|
17
|
-
"./ComboBoxHelper"
|
|
17
|
+
"./ComboBoxHelper",
|
|
18
|
+
"./RadioButtonHelper"
|
|
18
19
|
], function (
|
|
19
20
|
ManagedObject,
|
|
20
21
|
Library,
|
|
@@ -26,7 +27,8 @@ sap.ui.define([
|
|
|
26
27
|
BindingResolver,
|
|
27
28
|
DateRangeHelper,
|
|
28
29
|
Duration,
|
|
29
|
-
ComboBoxHelper
|
|
30
|
+
ComboBoxHelper,
|
|
31
|
+
RadioButtonHelper
|
|
30
32
|
) {
|
|
31
33
|
"use strict";
|
|
32
34
|
|
|
@@ -36,7 +38,7 @@ sap.ui.define([
|
|
|
36
38
|
* Utility class for handling forms in the cards.
|
|
37
39
|
*
|
|
38
40
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
41
|
+
* @version 1.145.0
|
|
40
42
|
*
|
|
41
43
|
* @private
|
|
42
44
|
* @ui5-restricted
|
|
@@ -122,17 +124,19 @@ sap.ui.define([
|
|
|
122
124
|
switch (oItem.type) {
|
|
123
125
|
case "ComboBox":
|
|
124
126
|
oResolved.selectedKey = vValue.key;
|
|
125
|
-
|
|
127
|
+
oResolved.value = vValue.value;
|
|
126
128
|
break;
|
|
127
129
|
case "DateRange":
|
|
128
|
-
|
|
130
|
+
oResolved.value = vValue.value;
|
|
131
|
+
break;
|
|
132
|
+
case "RadioButtonGroup":
|
|
133
|
+
oResolved.selectedIndex = vValue.selectedIndex;
|
|
134
|
+
oResolved.selectedKey = vValue.selectedKey;
|
|
129
135
|
break;
|
|
130
136
|
default:
|
|
131
|
-
|
|
137
|
+
oResolved.value = vValue;
|
|
132
138
|
break;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
oResolved.value = vValue;
|
|
139
|
+
}
|
|
136
140
|
|
|
137
141
|
return oResolved;
|
|
138
142
|
};
|
|
@@ -154,14 +158,14 @@ sap.ui.define([
|
|
|
154
158
|
|
|
155
159
|
if (oControl.isA("sap.m.ComboBox")) {
|
|
156
160
|
ComboBoxHelper.setValueAndKey(oControl, oFormControlData.key, oFormControlData.value);
|
|
157
|
-
} else if (
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
} else if (oControl.isA("sap.m.RadioButtonGroup")) {
|
|
162
|
+
RadioButtonHelper.setSelectedIndexAndKey(oControl, oFormControlData.selectedIndex, oFormControlData.key);
|
|
163
|
+
} else if (oControl.isA("sap.m.DatePicker") || oControl.isA("sap.m.DynamicDateRange")) {
|
|
164
|
+
DateRangeHelper.setValue(oControl, vValue, this._oCard);
|
|
165
|
+
} else if (oControl.isA("sap.m.TimePicker")) {
|
|
166
|
+
oControl.setValue(Duration.fromISO(vValue));
|
|
167
|
+
} else {
|
|
168
|
+
oControl.setValue(vValue);
|
|
165
169
|
}
|
|
166
170
|
|
|
167
171
|
this._validateAndUpdate(oControl);
|
|
@@ -232,11 +236,30 @@ sap.ui.define([
|
|
|
232
236
|
}
|
|
233
237
|
|
|
234
238
|
if (oControl.isA("sap.m.ComboBox")) {
|
|
235
|
-
if ("value" in oData
|
|
239
|
+
if (!("value" in oData) && !("key" in oData)) {
|
|
240
|
+
Log.error("Form data for control ID - '" + sId + "' requires properties 'key' or 'value'." , "sap.ui.integration.widgets.Card");
|
|
241
|
+
return false;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
if (oControl.isA("sap.m.DatePicker") || oControl.isA("sap.m.DynamicDateRange")) {
|
|
246
|
+
if (!("value" in oData)) {
|
|
247
|
+
Log.error("Form data for control ID - '" + sId + "' is missing property 'value'." , "sap.ui.integration.widgets.Card");
|
|
248
|
+
return false;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
if (oData.value !== null && (!("option" in oData.value) || !("values" in oData.value))) {
|
|
252
|
+
Log.error("Form data for control ID - '" + sId + "' requires property 'value' to contain 'option' and 'values'." , "sap.ui.integration.widgets.Card");
|
|
253
|
+
return false;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
if (oControl.isA("sap.m.RadioButtonGroup")) {
|
|
258
|
+
if ("selectedIndex" in oData || "key" in oData) {
|
|
236
259
|
return true;
|
|
237
260
|
}
|
|
238
261
|
|
|
239
|
-
Log.error("Form data for control ID - '" + sId + "' requires
|
|
262
|
+
Log.error("Form data for control ID - '" + sId + "' requires property 'selectedIndex' or 'selectedKey'." , "sap.ui.integration.widgets.Card");
|
|
240
263
|
return false;
|
|
241
264
|
}
|
|
242
265
|
|
|
@@ -362,7 +385,9 @@ sap.ui.define([
|
|
|
362
385
|
if (bShowValueState || oControl._bShowValueState) {
|
|
363
386
|
oControl._bShowValueState = true; // control has been touched once. mark it "dirty"
|
|
364
387
|
oControl.setValueState(oMessage.type);
|
|
365
|
-
oControl.setValueStateText
|
|
388
|
+
if (oControl.setValueStateText) {
|
|
389
|
+
oControl.setValueStateText(oMessage.message);
|
|
390
|
+
}
|
|
366
391
|
}
|
|
367
392
|
|
|
368
393
|
this._updateMessageModel();
|
|
@@ -450,6 +475,8 @@ sap.ui.define([
|
|
|
450
475
|
return "keyValuePair";
|
|
451
476
|
case "DateRange":
|
|
452
477
|
return "dateRange";
|
|
478
|
+
case "RadioButtonGroup":
|
|
479
|
+
return "radioButtonGroup";
|
|
453
480
|
default:
|
|
454
481
|
return "string";
|
|
455
482
|
}
|
|
@@ -462,6 +489,8 @@ sap.ui.define([
|
|
|
462
489
|
key: oControl.getSelectedKey(),
|
|
463
490
|
value: oControl.getValue()
|
|
464
491
|
};
|
|
492
|
+
} else if (oControl.isA("sap.m.RadioButtonGroup")) {
|
|
493
|
+
return RadioButtonHelper.getValueForModel(oControl);
|
|
465
494
|
} else if (oControl.isA("sap.m.DynamicDateRange") || oControl.isA("sap.m.DatePicker")) {
|
|
466
495
|
return DateRangeHelper.getValueForModel(oControl);
|
|
467
496
|
} else if (oControl.isA("sap.m.TimePicker")) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @extends sap.ui.integration.util.BaseFactory
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.145.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* Helper class for working with bindings for json objects.
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.145.0
|
|
31
31
|
*
|
|
32
32
|
* @private
|
|
33
33
|
* @ui5-restricted sap.ui.integration, shell-toolkit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @extends sap.ui.core.Element
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.145.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -68,7 +68,7 @@ sap.ui.define([
|
|
|
68
68
|
* @extends sap.ui.base.Object
|
|
69
69
|
*
|
|
70
70
|
* @author SAP SE
|
|
71
|
-
* @version 1.
|
|
71
|
+
* @version 1.145.0
|
|
72
72
|
*
|
|
73
73
|
* @constructor
|
|
74
74
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ sap.ui.define([], function () {
|
|
|
18
18
|
* Utility class helping with OAuth 3LO flow handling.
|
|
19
19
|
*
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.145.0
|
|
22
22
|
*
|
|
23
23
|
* @private
|
|
24
24
|
* @alias sap.ui.integration.util.OAuth3LOHelper
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* Utility class for creating objects.
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.145.0
|
|
23
23
|
*
|
|
24
24
|
* @private
|
|
25
25
|
* @alias sap.ui.integration.util.ObjectFactory
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([], function () {
|
|
7
|
+
"use strict";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Utility class for handling RadioButton and RadioButtonGroup operations in forms.
|
|
11
|
+
*
|
|
12
|
+
* @author SAP SE
|
|
13
|
+
* @version 1.145.0
|
|
14
|
+
*
|
|
15
|
+
* @private
|
|
16
|
+
* @alias sap.ui.integration.util.RadioButtonHelper
|
|
17
|
+
*/
|
|
18
|
+
const RadioButtonHelper = {};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Extracts RadioButtonGroup selection data including index, key, text, and required status.
|
|
22
|
+
* @param {sap.m.RadioButtonGroup} oControl RadioButtonGroup control.
|
|
23
|
+
* @returns {object} Object containing selectedIndex, selectedKey, selectedText, and required properties.
|
|
24
|
+
* @private
|
|
25
|
+
*/
|
|
26
|
+
RadioButtonHelper.getValueForModel = function (oControl) {
|
|
27
|
+
const iSelectedIndex = oControl.getSelectedIndex(),
|
|
28
|
+
aButtons = oControl.getButtons();
|
|
29
|
+
let sSelectedText = null,
|
|
30
|
+
sSelectedKey = null;
|
|
31
|
+
|
|
32
|
+
if (iSelectedIndex >= 0 && aButtons && aButtons[iSelectedIndex]) {
|
|
33
|
+
const oSelectedButton = aButtons[iSelectedIndex];
|
|
34
|
+
sSelectedText = oSelectedButton.getText() || null;
|
|
35
|
+
sSelectedKey = oSelectedButton.data("key");
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
return {
|
|
39
|
+
selectedIndex: iSelectedIndex,
|
|
40
|
+
selectedKey: sSelectedKey,
|
|
41
|
+
selectedText: sSelectedText
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Sets the selected index of a RadioButtonGroup control.
|
|
47
|
+
* @param {sap.m.RadioButtonGroup} oControl The RadioButtonGroup control.
|
|
48
|
+
* @param {number} iSelectedIndex The index to select.
|
|
49
|
+
* @param {string} sSelectedKey The key to select.
|
|
50
|
+
*/
|
|
51
|
+
RadioButtonHelper.setSelectedIndexAndKey = function (oControl, iSelectedIndex, sSelectedKey) {
|
|
52
|
+
if (iSelectedIndex !== undefined) {
|
|
53
|
+
oControl.setSelectedIndex(iSelectedIndex);
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (sSelectedKey !== undefined) {
|
|
58
|
+
const aButtons = oControl.getButtons();
|
|
59
|
+
const sTargetKey = sSelectedKey;
|
|
60
|
+
|
|
61
|
+
const iFoundIndex = aButtons.findIndex(function(oButton) {
|
|
62
|
+
const sKey = oButton.data("key");
|
|
63
|
+
return sKey && sKey.toString() === sTargetKey;
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
oControl.setSelectedIndex(iFoundIndex);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
return RadioButtonHelper;
|
|
71
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
* @extends sap.ui.integration.util.DataProvider
|
|
75
75
|
*
|
|
76
76
|
* @author SAP SE
|
|
77
|
-
* @version 1.
|
|
77
|
+
* @version 1.145.0
|
|
78
78
|
*
|
|
79
79
|
* @constructor
|
|
80
80
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define(["sap/ui/integration/util/DataProvider"], function (DataProvider) {
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/integration/util/DataProvider"], function (DataProvider)
|
|
|
17
17
|
* @extends sap.ui.integration.util.DataProvider
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.145.0
|
|
21
21
|
*
|
|
22
22
|
* @constructor
|
|
23
23
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @extends sap.ui.base.EventProvider
|
|
38
38
|
*
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.145.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @param {Object} mServiceFactoryReferences A map with service descriptions.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @extends sap.ui.integration.widgets.Card
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.145.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* Utility class helping with sap.ui.model.Sorter control.
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.145.0
|
|
21
21
|
*
|
|
22
22
|
* @private
|
|
23
23
|
* @alias sap.ui.integration.util.SorterHelper
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* Utility class helping with JSON strings and formatters.
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.145.0
|
|
35
35
|
*
|
|
36
36
|
* @private
|
|
37
37
|
* @alias sap.ui.integration.util.Utils
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @returns {string} language code
|
|
66
66
|
*/
|
|
67
67
|
Utils.getLocalizationLanguage = function() {
|
|
68
|
-
var language = Localization.
|
|
68
|
+
var language = Localization.getLanguageTag().toString();
|
|
69
69
|
return Utils.languageMapping[language] || language;
|
|
70
70
|
};
|
|
71
71
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ sap.ui.define([], function () {
|
|
|
11
11
|
* Utility class helping with input validations.
|
|
12
12
|
*
|
|
13
13
|
* @author SAP SE
|
|
14
|
-
* @version 1.
|
|
14
|
+
* @version 1.145.0
|
|
15
15
|
*
|
|
16
16
|
* @private
|
|
17
17
|
* @alias sap.ui.integration.util.Validators
|
|
@@ -124,6 +124,12 @@ sap.ui.define([], function () {
|
|
|
124
124
|
return !b || !!v.value;
|
|
125
125
|
},
|
|
126
126
|
requiredTxt: "EDITOR_VAL_FIELDREQ"
|
|
127
|
+
},
|
|
128
|
+
radioButtonGroup: {
|
|
129
|
+
required: function (v, b) {
|
|
130
|
+
return !b || v.selectedIndex !== -1 || !!v.selectedKey;
|
|
131
|
+
},
|
|
132
|
+
requiredTxt: "EDITOR_VAL_FIELDREQ"
|
|
127
133
|
}
|
|
128
134
|
};
|
|
129
135
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -191,7 +191,7 @@ sap.ui.define([
|
|
|
191
191
|
* @extends sap.f.CardBase
|
|
192
192
|
*
|
|
193
193
|
* @author SAP SE
|
|
194
|
-
* @version 1.
|
|
194
|
+
* @version 1.145.0
|
|
195
195
|
* @public
|
|
196
196
|
* @constructor
|
|
197
197
|
* @see {@link topic:5b46b03f024542ba802d99d67bc1a3f4 Cards}
|
|
@@ -647,7 +647,7 @@ sap.ui.define([
|
|
|
647
647
|
* @name sap.ui.integration.widgets.CardFacade
|
|
648
648
|
* @public
|
|
649
649
|
* @author SAP SE
|
|
650
|
-
* @version 1.
|
|
650
|
+
* @version 1.145.0
|
|
651
651
|
* @borrows sap.ui.integration.widgets.Card#getId as getId
|
|
652
652
|
* @borrows sap.ui.integration.widgets.Card#getCombinedParameters as getCombinedParameters
|
|
653
653
|
* @borrows sap.ui.integration.widgets.Card#getManifestEntry as getManifestEntry
|
|
@@ -1040,8 +1040,6 @@ sap.ui.define([
|
|
|
1040
1040
|
Card.prototype.createManifest = function (vManifest, sBaseUrl) {
|
|
1041
1041
|
var mOptions = {};
|
|
1042
1042
|
|
|
1043
|
-
this._isManifestReady = false;
|
|
1044
|
-
|
|
1045
1043
|
if (typeof vManifest === "string") {
|
|
1046
1044
|
mOptions.manifestUrl = vManifest;
|
|
1047
1045
|
vManifest = null;
|
|
@@ -1337,20 +1335,35 @@ sap.ui.define([
|
|
|
1337
1335
|
|
|
1338
1336
|
/**
|
|
1339
1337
|
* Sets the values of form fields in the Object card.
|
|
1340
|
-
* Each value in the aFormValues array must have
|
|
1341
|
-
*
|
|
1338
|
+
* Each value in the aFormValues array must have an
|
|
1339
|
+
* id and the respective value for ObjectGroupItems as defined in the card's manifest:
|
|
1342
1340
|
* <code>[
|
|
1343
1341
|
* {
|
|
1344
1342
|
* "id": "textAreaItemId",
|
|
1345
1343
|
* "value": "New value"
|
|
1346
1344
|
* },
|
|
1347
1345
|
* {
|
|
1348
|
-
* "id": "
|
|
1349
|
-
* "value": "New value"
|
|
1346
|
+
* "id": "inputItemId",
|
|
1347
|
+
* "value": "New input value"
|
|
1350
1348
|
* },
|
|
1351
1349
|
* {
|
|
1352
1350
|
* "id": "comboBoxItemId",
|
|
1353
|
-
* "
|
|
1351
|
+
* "key": "key"
|
|
1352
|
+
* },
|
|
1353
|
+
* {
|
|
1354
|
+
* "id": "radioButtonGroupId",
|
|
1355
|
+
* "key": "radioButtonKey"
|
|
1356
|
+
* },
|
|
1357
|
+
* {
|
|
1358
|
+
* "id": "dateRangeItemId",
|
|
1359
|
+
* "value": {
|
|
1360
|
+
* "option": "date",
|
|
1361
|
+
* "values": ["2024-01-01"]
|
|
1362
|
+
* }
|
|
1363
|
+
* },
|
|
1364
|
+
* {
|
|
1365
|
+
* "id": "durationItemId",
|
|
1366
|
+
* "value": "PT11H12M"
|
|
1354
1367
|
* }
|
|
1355
1368
|
* ]</code>
|
|
1356
1369
|
*
|
|
@@ -1516,6 +1529,8 @@ sap.ui.define([
|
|
|
1516
1529
|
* @param {boolean} [bResetInternalModels=true] If true, the internal models will be reset.
|
|
1517
1530
|
*/
|
|
1518
1531
|
Card.prototype._cleanupOldManifest = function(bResetInternalModels = true) {
|
|
1532
|
+
this._isManifestReady = false;
|
|
1533
|
+
|
|
1519
1534
|
if (this._fnOnModelChange) {
|
|
1520
1535
|
this.getModel().detachEvent("change", this._fnOnModelChange, this);
|
|
1521
1536
|
delete this._fnOnModelChange;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
window.sap.ui.require(["
|
|
107
|
+
window.sap.ui.require(["ui5loader-autoconfig", "sap/ui/core/Core", "sap/ui/core/Lib"],
|
|
108
108
|
function (config, _Core, _Lib) {
|
|
109
109
|
Core = _Core;
|
|
110
110
|
Lib = _Lib;
|