@openui5/sap.ui.core 1.119.1 → 1.120.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +6 -6
- package/package.json +1 -1
- package/src/jquery.sap.global.js +40 -111
- package/src/jquery.sap.properties.js +7 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +5 -3
- package/src/jquery.sap.storage.js +6 -3
- package/src/sap/base/Event.js +32 -78
- package/src/sap/base/Eventing.js +114 -271
- package/src/sap/base/Log.js +21 -1
- package/src/sap/base/config.js +14 -9
- package/src/sap/base/i18n/Formatting.js +400 -256
- package/src/sap/base/i18n/LanguageTag.js +64 -66
- package/src/sap/base/i18n/Localization.js +125 -87
- package/src/sap/base/i18n/ResourceBundle.js +1 -1
- package/src/sap/base/i18n/date/CalendarType.js +2 -2
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +2 -2
- package/src/sap/base/i18n/date/TimezoneUtils.js +43 -6
- package/src/sap/base/util/LoaderExtensions.js +8 -2
- package/src/sap/base/util/mixedFetch.js +1 -0
- package/src/sap/base/util/resolveReference.js +31 -13
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/base/util/syncFetch.js +1 -0
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +6 -7
- package/src/sap/ui/base/BindingInfo.js +3 -3
- package/src/sap/ui/base/BindingParser.js +5 -2
- package/src/sap/ui/base/DataType.js +57 -1
- package/src/sap/ui/base/DesignTime.js +69 -0
- package/src/sap/ui/base/Event.js +2 -2
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/ExpressionParser.js +25 -4
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +102 -85
- package/src/sap/ui/base/ManagedObjectMetadata.js +53 -31
- package/src/sap/ui/base/ManagedObjectObserver.js +1 -0
- package/src/sap/ui/base/Metadata.js +3 -3
- package/src/sap/ui/base/Object.js +19 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +3 -3
- package/src/sap/ui/core/AnimationMode.js +2 -2
- package/src/sap/ui/core/AppCacheBuster.js +30 -18
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/CalendarType.js +6 -0
- package/src/sap/ui/core/Component.js +175 -86
- package/src/sap/ui/core/ComponentContainer.js +6 -5
- package/src/sap/ui/core/ComponentMetadata.js +3 -4
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +395 -709
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/ControlBehavior.js +37 -28
- package/src/sap/ui/core/Core.js +338 -216
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +3 -1
- package/src/sap/ui/core/Element.js +24 -10
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +3 -2
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +3 -3
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +13 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +2 -3
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +17 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +8 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/Lib.js +253 -57
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +118 -32
- package/src/sap/ui/core/Manifest.js +4 -2
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Placeholder.js +18 -0
- package/src/sap/ui/core/Popup.js +5 -0
- package/src/sap/ui/core/RenderManager.js +21 -17
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.js +51 -47
- package/src/sap/ui/core/ResizeHandler.js +2 -2
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Shortcut.js +5 -3
- package/src/sap/ui/core/Supportability.js +146 -0
- package/src/sap/ui/core/Theming.js +130 -88
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +4 -3
- package/src/sap/ui/core/UIArea.js +5 -4
- package/src/sap/ui/core/UIComponent.js +38 -12
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +1 -1
- package/src/sap/ui/core/VariantLayoutData.js +1 -1
- package/src/sap/ui/core/XMLComposite.js +1 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/XMLTemplateProcessor.js +3 -3
- package/src/sap/ui/core/_IconRegistry.js +13 -6
- package/src/sap/ui/core/cldr/ar.json +143 -137
- package/src/sap/ui/core/cldr/ar_EG.json +143 -137
- package/src/sap/ui/core/cldr/ar_SA.json +143 -137
- package/src/sap/ui/core/cldr/bg.json +423 -423
- package/src/sap/ui/core/cldr/ca.json +541 -494
- package/src/sap/ui/core/cldr/cs.json +475 -364
- package/src/sap/ui/core/cldr/cy.json +656 -477
- package/src/sap/ui/core/cldr/da.json +334 -275
- package/src/sap/ui/core/cldr/de.json +388 -291
- package/src/sap/ui/core/cldr/de_AT.json +388 -291
- package/src/sap/ui/core/cldr/de_CH.json +394 -297
- package/src/sap/ui/core/cldr/el.json +169 -166
- package/src/sap/ui/core/cldr/el_CY.json +169 -166
- package/src/sap/ui/core/cldr/en.json +558 -521
- package/src/sap/ui/core/cldr/en_AU.json +558 -520
- package/src/sap/ui/core/cldr/en_GB.json +476 -439
- package/src/sap/ui/core/cldr/en_HK.json +520 -482
- package/src/sap/ui/core/cldr/en_IE.json +486 -448
- package/src/sap/ui/core/cldr/en_IN.json +466 -428
- package/src/sap/ui/core/cldr/en_NZ.json +506 -468
- package/src/sap/ui/core/cldr/en_PG.json +506 -468
- package/src/sap/ui/core/cldr/en_SG.json +506 -468
- package/src/sap/ui/core/cldr/en_ZA.json +486 -448
- package/src/sap/ui/core/cldr/es.json +473 -468
- package/src/sap/ui/core/cldr/es_AR.json +445 -440
- package/src/sap/ui/core/cldr/es_BO.json +479 -474
- package/src/sap/ui/core/cldr/es_CL.json +469 -464
- package/src/sap/ui/core/cldr/es_CO.json +387 -381
- package/src/sap/ui/core/cldr/es_MX.json +502 -497
- package/src/sap/ui/core/cldr/es_PE.json +455 -450
- package/src/sap/ui/core/cldr/es_UY.json +479 -474
- package/src/sap/ui/core/cldr/es_VE.json +499 -494
- package/src/sap/ui/core/cldr/et.json +378 -320
- package/src/sap/ui/core/cldr/fa.json +104 -104
- package/src/sap/ui/core/cldr/fi.json +401 -315
- package/src/sap/ui/core/cldr/fr.json +391 -385
- package/src/sap/ui/core/cldr/fr_BE.json +391 -385
- package/src/sap/ui/core/cldr/fr_CA.json +499 -493
- package/src/sap/ui/core/cldr/fr_CH.json +334 -328
- package/src/sap/ui/core/cldr/fr_LU.json +391 -385
- package/src/sap/ui/core/cldr/he.json +291 -159
- package/src/sap/ui/core/cldr/hi.json +157 -128
- package/src/sap/ui/core/cldr/hr.json +514 -461
- package/src/sap/ui/core/cldr/hu.json +287 -257
- package/src/sap/ui/core/cldr/id.json +463 -416
- package/src/sap/ui/core/cldr/it.json +468 -413
- package/src/sap/ui/core/cldr/it_CH.json +468 -413
- package/src/sap/ui/core/cldr/ja.json +98 -61
- package/src/sap/ui/core/cldr/kk.json +631 -571
- package/src/sap/ui/core/cldr/ko.json +79 -71
- package/src/sap/ui/core/cldr/lt.json +361 -270
- package/src/sap/ui/core/cldr/lv.json +234 -242
- package/src/sap/ui/core/cldr/ms.json +463 -408
- package/src/sap/ui/core/cldr/nb.json +176 -143
- package/src/sap/ui/core/cldr/nl.json +463 -393
- package/src/sap/ui/core/cldr/nl_BE.json +463 -393
- package/src/sap/ui/core/cldr/pl.json +633 -344
- package/src/sap/ui/core/cldr/pt.json +447 -336
- package/src/sap/ui/core/cldr/pt_PT.json +488 -449
- package/src/sap/ui/core/cldr/ro.json +477 -383
- package/src/sap/ui/core/cldr/ru.json +367 -332
- package/src/sap/ui/core/cldr/ru_UA.json +361 -326
- package/src/sap/ui/core/cldr/sk.json +502 -537
- package/src/sap/ui/core/cldr/sl.json +168 -161
- package/src/sap/ui/core/cldr/sr.json +276 -225
- package/src/sap/ui/core/cldr/sr_Latn.json +972 -907
- package/src/sap/ui/core/cldr/sv.json +420 -346
- package/src/sap/ui/core/cldr/th.json +117 -94
- package/src/sap/ui/core/cldr/tr.json +413 -359
- package/src/sap/ui/core/cldr/uk.json +395 -368
- package/src/sap/ui/core/cldr/vi.json +392 -379
- package/src/sap/ui/core/cldr/zh_CN.json +91 -33
- package/src/sap/ui/core/cldr/zh_HK.json +90 -32
- package/src/sap/ui/core/cldr/zh_SG.json +90 -32
- package/src/sap/ui/core/cldr/zh_TW.json +75 -51
- package/src/sap/ui/core/date/CalendarWeekNumbering.js +6 -0
- package/src/sap/ui/core/date/Islamic.js +4 -4
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/date/_Calendars.js +5 -2
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragAndDrop.js +3 -2
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +33 -21
- package/src/sap/ui/core/format/NumberFormat.js +3 -2
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.js +2 -2
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +128 -8
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +2 -2
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/message/MessageType.js +2 -1
- package/src/sap/ui/core/messagebundle.properties +24 -0
- package/src/sap/ui/core/messagebundle_ar.properties +15 -3
- package/src/sap/ui/core/messagebundle_bg.properties +14 -2
- package/src/sap/ui/core/messagebundle_ca.properties +13 -1
- package/src/sap/ui/core/messagebundle_cs.properties +15 -3
- package/src/sap/ui/core/messagebundle_cy.properties +16 -4
- package/src/sap/ui/core/messagebundle_da.properties +15 -3
- package/src/sap/ui/core/messagebundle_de.properties +15 -3
- package/src/sap/ui/core/messagebundle_el.properties +16 -4
- package/src/sap/ui/core/messagebundle_en.properties +12 -0
- package/src/sap/ui/core/messagebundle_en_GB.properties +16 -4
- package/src/sap/ui/core/messagebundle_es.properties +15 -3
- package/src/sap/ui/core/messagebundle_es_MX.properties +15 -3
- package/src/sap/ui/core/messagebundle_et.properties +15 -3
- package/src/sap/ui/core/messagebundle_fi.properties +15 -3
- package/src/sap/ui/core/messagebundle_fr.properties +15 -3
- package/src/sap/ui/core/messagebundle_fr_CA.properties +14 -2
- package/src/sap/ui/core/messagebundle_hi.properties +16 -4
- package/src/sap/ui/core/messagebundle_hr.properties +14 -2
- package/src/sap/ui/core/messagebundle_hu.properties +16 -4
- package/src/sap/ui/core/messagebundle_id.properties +15 -3
- package/src/sap/ui/core/messagebundle_it.properties +17 -5
- package/src/sap/ui/core/messagebundle_iw.properties +15 -3
- package/src/sap/ui/core/messagebundle_ja.properties +25 -13
- package/src/sap/ui/core/messagebundle_kk.properties +15 -3
- package/src/sap/ui/core/messagebundle_ko.properties +14 -2
- package/src/sap/ui/core/messagebundle_lt.properties +15 -3
- package/src/sap/ui/core/messagebundle_lv.properties +15 -3
- package/src/sap/ui/core/messagebundle_mk.properties +352 -0
- package/src/sap/ui/core/messagebundle_ms.properties +15 -3
- package/src/sap/ui/core/messagebundle_nl.properties +15 -3
- package/src/sap/ui/core/messagebundle_no.properties +14 -2
- package/src/sap/ui/core/messagebundle_pl.properties +15 -3
- package/src/sap/ui/core/messagebundle_pt.properties +15 -3
- package/src/sap/ui/core/messagebundle_pt_PT.properties +14 -2
- package/src/sap/ui/core/messagebundle_ro.properties +15 -3
- package/src/sap/ui/core/messagebundle_ru.properties +15 -3
- package/src/sap/ui/core/messagebundle_sh.properties +43 -31
- package/src/sap/ui/core/messagebundle_sk.properties +16 -4
- package/src/sap/ui/core/messagebundle_sl.properties +15 -3
- package/src/sap/ui/core/messagebundle_sv.properties +22 -10
- package/src/sap/ui/core/messagebundle_th.properties +15 -3
- package/src/sap/ui/core/messagebundle_tr.properties +15 -3
- package/src/sap/ui/core/messagebundle_uk.properties +18 -6
- package/src/sap/ui/core/messagebundle_vi.properties +18 -6
- package/src/sap/ui/core/messagebundle_zh_CN.properties +15 -3
- package/src/sap/ui/core/messagebundle_zh_TW.properties +15 -3
- package/src/sap/ui/core/mvc/Controller.js +22 -16
- package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +1 -1
- package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -15
- package/src/sap/ui/core/mvc/HTMLView.js +2 -2
- package/src/sap/ui/core/mvc/JSONView.js +4 -1
- package/src/sap/ui/core/mvc/JSONViewRenderer.js +1 -0
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/OverrideExecution.js +4 -4
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +25 -15
- package/src/sap/ui/core/mvc/ViewType.js +2 -0
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +2 -1
- package/src/sap/ui/core/plugin/LessSupport.js +3 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/routing/Router.js +2 -4
- package/src/sap/ui/core/routing/Target.js +1 -3
- package/src/sap/ui/core/routing/Targets.js +2 -3
- package/src/sap/ui/core/routing/Views.js +2 -3
- package/src/sap/ui/core/routing/async/Target.js +1 -1
- package/src/sap/ui/core/rules/Config.support.js +11 -17
- package/src/sap/ui/core/search/OpenSearchProvider.js +2 -1
- package/src/sap/ui/core/search/SearchProvider.js +2 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Hotkeys.js +5 -3
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/RuleEngineOpaExtension.js +1 -3
- package/src/sap/ui/core/support/Support.js +3 -5
- package/src/sap/ui/core/support/ToolsAPI.js +15 -11
- package/src/sap/ui/core/support/plugins/ControlTree.js +2 -2
- package/src/sap/ui/core/support/plugins/Interaction.js +4 -4
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +7 -5
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +3 -1
- package/src/sap/ui/core/syncStyleClass.js +2 -2
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/sap/ui/core/themes/base/global.less +9 -9
- package/src/sap/ui/core/theming/Parameters.js +18 -19
- package/src/sap/ui/core/theming/ThemeManager.js +23 -4
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/XMLPreprocessor.js +3 -0
- package/src/sap/ui/core/util/_LocalizationHelper.js +122 -0
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +4 -4
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +29 -7
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/ClientListBinding.js +9 -4
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientTreeBinding.js +9 -4
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +2 -2
- package/src/sap/ui/model/Filter.js +39 -1
- package/src/sap/ui/model/FilterProcessor.js +15 -5
- package/src/sap/ui/model/ListBinding.js +5 -0
- package/src/sap/ui/model/ManagedObjectBindingSupport.js +4 -4
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +14 -8
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/TreeBinding.js +3 -0
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +3 -1
- package/src/sap/ui/model/json/JSONListBinding.js +3 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/json/JSONTreeBinding.js +3 -2
- package/src/sap/ui/model/message/MessageListBinding.js +3 -0
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/AnnotationHelper.js +9 -3
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataListBinding.js +8 -2
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +9 -5
- package/src/sap/ui/model/odata/ODataPropertyBinding.js +1 -2
- package/src/sap/ui/model/odata/ODataTreeBinding.js +2 -0
- package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +9 -14
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +40 -15
- package/src/sap/ui/model/odata/v2/ODataModel.js +26 -62
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +38 -4
- package/src/sap/ui/model/odata/v4/Context.js +81 -7
- package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -0
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +217 -75
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataModel.js +6 -6
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +406 -199
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +12 -7
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +53 -30
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +6 -4
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +6 -6
- package/src/sap/ui/model/resource/ResourceModel.js +5 -6
- package/src/sap/ui/model/type/Boolean.js +1 -1
- package/src/sap/ui/model/type/Currency.js +1 -1
- package/src/sap/ui/model/type/Date.js +1 -1
- package/src/sap/ui/model/type/DateInterval.js +1 -1
- package/src/sap/ui/model/type/DateTime.js +1 -1
- package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
- package/src/sap/ui/model/type/FileSize.js +1 -1
- package/src/sap/ui/model/type/Float.js +1 -1
- package/src/sap/ui/model/type/Integer.js +1 -1
- package/src/sap/ui/model/type/String.js +1 -1
- package/src/sap/ui/model/type/Time.js +1 -1
- package/src/sap/ui/model/type/TimeInterval.js +1 -1
- package/src/sap/ui/model/type/Unit.js +1 -1
- package/src/sap/ui/model/xml/XMLListBinding.js +3 -0
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/model/xml/XMLTreeBinding.js +3 -0
- package/src/sap/ui/performance/BeaconRequest.js +2 -2
- package/src/sap/ui/performance/trace/Interaction.js +20 -16
- package/src/sap/ui/qunit/QUnitUtils.js +64 -45
- package/src/sap/ui/qunit/qunit-coverage.js +6 -0
- package/src/sap/ui/qunit/utils/ControlIterator.js +31 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/security/Security.js +128 -0
- package/src/sap/ui/test/BlanketReporter.js +2 -3
- package/src/sap/ui/test/BlanketReporterUI.view.xml +1 -1
- package/src/sap/ui/test/BranchTracking.js +2 -3
- package/src/sap/ui/test/ModuleTracking.js +48 -20
- package/src/sap/ui/test/OpaExtension.js +3 -3
- package/src/sap/ui/test/OpaPlugin.js +16 -6
- package/src/sap/ui/test/TestUtils.js +7 -4
- package/src/sap/ui/test/_BrowserLogCollector.js +1 -0
- package/src/sap/ui/test/_ControlFinder.js +3 -2
- package/src/sap/ui/test/_LogCollector.js +1 -0
- package/src/sap/ui/test/_UsageReport.js +115 -114
- package/src/sap/ui/test/actions/EnterText.js +24 -2
- package/src/sap/ui/test/autowaiter/WaiterBase.js +1 -0
- package/src/sap/ui/test/autowaiter/_moduleWaiter.js +1 -2
- package/src/sap/ui/test/autowaiter/_timeoutWaiter.js +1 -1
- package/src/sap/ui/test/generic/GenericTestCollection.js +5 -0
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/generic/Utils.js +1 -1
- package/src/sap/ui/test/matchers/LabelFor.js +2 -12
- package/src/sap/ui/test/matchers/Matcher.js +1 -1
- package/src/sap/ui/test/pipelines/PipelineFactory.js +1 -0
- package/src/sap/ui/test/selectors/_Selector.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +84 -11
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/manifest.json +3 -10
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/localService/mockserver.js +3 -4
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/ChartAnnotation.fragment.xml +7 -7
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Component.js +2 -3
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Detail.view.xml +12 -13
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Facets.fragment.xml +4 -4
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Field.fragment.xml +8 -8
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/FormFacet.fragment.xml +3 -5
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/LabeledField.fragment.xml +3 -3
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Table.fragment.xml +10 -10
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/TableFacet.fragment.xml +3 -3
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/extension/HeaderInfo.fragment.xml +1 -1
- package/test/sap/ui/core/demokit/sample/ViewTemplate/tiny/Field.fragment.xml +2 -2
- package/test/sap/ui/core/demokit/sample/ViewTemplate/tiny/Template.view.xml +19 -21
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/TemplateV4.view.xml +2 -2
- package/test/sap/ui/core/demokit/sample/ViewTemplate/valuelist/Component.js +2 -3
- package/test/sap/ui/core/demokit/sample/common/SandboxModelHelper.js +2 -3
- package/test/sap/ui/core/demokit/sample/common/ValueHelp.js +2 -3
- package/test/sap/ui/core/demokit/sample/common/pages/Any.js +7 -8
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/manifest.json +3 -11
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/Component.js +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/manifest.json +3 -11
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/manifest.json +3 -11
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/manifest.json +3 -11
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.controller.js +15 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/DataAggregation.controller.js +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.controller.js +3 -4
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +39 -16
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +18 -21
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/all.json +509 -395
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +586 -422
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/manifest.json +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Main.controller.js +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Facets.fragment.xml +22 -23
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/FormattedText.fragment.xml +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Main.view.xml +7 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +0 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +54 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +34 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +156 -23
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.view.xml +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Facets.fragment.xml +22 -23
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/FormattedText.fragment.xml +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Main.view.xml +5 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Main.controller.js +2 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/01/Component.js +9 -25
- package/test/sap/ui/core/demokit/tutorial/databinding/01/manifest.json +20 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/Component.js +9 -25
- package/test/sap/ui/core/demokit/tutorial/databinding/02/manifest.json +20 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/Component.js +9 -25
- package/test/sap/ui/core/demokit/tutorial/databinding/03/manifest.json +20 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/04/Component.js +9 -26
- package/test/sap/ui/core/demokit/tutorial/databinding/04/manifest.json +21 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/05/Component.js +9 -26
- package/test/sap/ui/core/demokit/tutorial/databinding/05/manifest.json +21 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/06/Component.js +9 -27
- package/test/sap/ui/core/demokit/tutorial/databinding/06/manifest.json +22 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/Component.js +9 -28
- package/test/sap/ui/core/demokit/tutorial/databinding/07/manifest.json +23 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/Component.js +9 -28
- package/test/sap/ui/core/demokit/tutorial/databinding/08/manifest.json +23 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/Component.js +9 -29
- package/test/sap/ui/core/demokit/tutorial/databinding/09/manifest.json +24 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/Component.js +9 -29
- package/test/sap/ui/core/demokit/tutorial/databinding/10/manifest.json +24 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/Component.js +9 -29
- package/test/sap/ui/core/demokit/tutorial/databinding/11/manifest.json +24 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/Component.js +9 -30
- package/test/sap/ui/core/demokit/tutorial/databinding/12/manifest.json +25 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/Component.js +9 -30
- package/test/sap/ui/core/demokit/tutorial/databinding/13/manifest.json +25 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/Component.js +9 -30
- package/test/sap/ui/core/demokit/tutorial/databinding/14/manifest.json +25 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/Component.js +9 -32
- package/test/sap/ui/core/demokit/tutorial/databinding/15/manifest.json +27 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/Component.js +9 -30
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/manifest.json +24 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/Component.js +9 -33
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/manifest.json +27 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/Component.js +9 -33
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/manifest.json +27 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/Component.js +9 -33
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/manifest.json +27 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/01/Component.js +9 -33
- package/test/sap/ui/core/demokit/tutorial/navigation/01/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/02/Component.js +9 -35
- package/test/sap/ui/core/demokit/tutorial/navigation/02/manifest.json +30 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/03/Component.js +9 -37
- package/test/sap/ui/core/demokit/tutorial/navigation/03/manifest.json +32 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/04/Component.js +9 -38
- package/test/sap/ui/core/demokit/tutorial/navigation/04/manifest.json +33 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/05/Component.js +9 -38
- package/test/sap/ui/core/demokit/tutorial/navigation/05/manifest.json +33 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/06/Component.js +9 -40
- package/test/sap/ui/core/demokit/tutorial/navigation/06/manifest.json +35 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/07/Component.js +9 -42
- package/test/sap/ui/core/demokit/tutorial/navigation/07/manifest.json +37 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/08/Component.js +9 -45
- package/test/sap/ui/core/demokit/tutorial/navigation/08/manifest.json +40 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/09/Component.js +9 -45
- package/test/sap/ui/core/demokit/tutorial/navigation/09/manifest.json +40 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/10/Component.js +9 -47
- package/test/sap/ui/core/demokit/tutorial/navigation/10/manifest.json +42 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/11/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/11/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/12/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/12/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/13/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/13/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/14/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/14/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/15/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/15/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/16/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/16/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/17/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/17/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/Component.js +9 -29
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/manifest.json +25 -0
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +2 -2
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +2 -3
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.view.xml +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/SandboxModel.js +2 -3
- package/test/sap/ui/core/qunit/ClientModel.qunit.js +28 -28
- package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +18 -0
- package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +4 -3
- package/test/sap/ui/core/qunit/Core.qunit.js +5 -14
- package/test/sap/ui/core/qunit/Core_libraryPreloadFiles.qunit.js +4 -4
- package/test/sap/ui/core/qunit/Core_libraryPreloadFiles_unavoidablyUsingEval.qunit.js +6 -6
- package/test/sap/ui/core/qunit/Core_unavoidablyUsingEval.qunit.js +31 -30
- package/test/sap/ui/core/qunit/DataState.qunit.js +7 -4
- package/test/sap/ui/core/qunit/DuplicateIds.qunit.js +3 -0
- package/test/sap/ui/core/qunit/DuplicateIds_noError.qunit.js +4 -0
- package/test/sap/ui/core/qunit/Element_metadata_renderer.qunit.js +6 -0
- package/test/sap/ui/core/qunit/ExpressionParser.qunit.js +144 -85
- package/test/sap/ui/core/qunit/HTML.qunit.js +87 -84
- package/test/sap/ui/core/qunit/InvisibleText.qunit.js +22 -1
- package/test/sap/ui/core/qunit/LRUPersistentCache.qunit.js +4 -4
- package/test/sap/ui/core/qunit/Lib.qunit.js +64 -1
- package/test/sap/ui/core/qunit/ListBinding.qunit.js +14 -1
- package/test/sap/ui/core/qunit/ManagedObject.qunit.js +90 -4
- package/test/sap/ui/core/qunit/ManagedObjectMetadata.qunit.js +41 -40
- package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +2 -1
- package/test/sap/ui/core/qunit/{ManagedObject_noBoot.qunit.js → ManagedObject_BindingParser.qunit.js} +10 -9
- package/test/sap/ui/core/qunit/Object.qunit.js +36 -0
- package/test/sap/ui/core/qunit/RenderManager.qunit.js +86 -94
- package/test/sap/ui/core/qunit/ShortcutHints.qunit.js +11 -97
- package/test/sap/ui/core/qunit/StaticBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/UIArea.qunit.js +34 -35
- package/test/sap/ui/core/qunit/analytics/AnalyticalTreeBindingAdapter.qunit.js +3 -0
- package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +3 -0
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +3 -0
- package/test/sap/ui/core/qunit/app/DesignMode_controllerDeactivated.qunit.js +5 -6
- package/test/sap/ui/core/qunit/app/DesignMode_suppressedDeactivation.qunit.js +5 -6
- package/test/sap/ui/core/qunit/app/MessageListBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/app/_createDesignModeTests_legacyAPIs.qunit.js +8 -10
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +2 -2
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +49 -30
- package/test/sap/ui/core/qunit/base/i18n/ResourceBundle.qunit.js +123 -10
- package/test/sap/ui/core/qunit/base/util/resolveReference.qunit.js +9 -0
- package/test/sap/ui/core/qunit/base/util/testdata/MyModule.js +5 -0
- package/test/sap/ui/core/qunit/bootstrap/BootstrapCustomBootTaskPreloadCss.beforeBootstrap.qunit.js +4 -2
- package/test/sap/ui/core/qunit/bootstrap/BootstrapMinimal.qunit.html +1 -0
- package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload.qunit.js +9 -10
- package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload_legacyAPIs.qunit.js +0 -2
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithinBody.qunit.html +2 -1
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithinHead.qunit.html +2 -1
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +122 -266
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibConfigured.qunit.html +22 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibConfigured.qunit.js +22 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibLoaded.qunit.html +22 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibLoaded.qunit.js +16 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibNotLoaded.qunit.html +22 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibNotLoaded.qunit.js +14 -0
- package/test/sap/ui/core/qunit/bootstrap/ControlBehavior.qunit.js +110 -0
- package/test/sap/ui/core/qunit/bootstrap/PreloadCfg.qunit.js +4 -3
- package/test/sap/ui/core/qunit/bootstrap/ResourceRoot_ResourcesURL_Standard.qunit.html +1 -1
- package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.beforeBootstrap.qunit.js +2 -3
- package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted.qunit.js +39 -34
- package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted_legacyAPIs.qunit.js +5 -1
- package/test/sap/ui/core/qunit/bootstrap/testsuite.bootstrap.qunit.js +51 -15
- package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery-compat.qunit.html +23 -0
- package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery-compat.qunit.js +1 -1
- package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery.sap.stubs.qunit.js +16 -20
- package/test/sap/ui/core/qunit/compat_legacyAPIs/testsuite.compat.qunit.js +1 -4
- package/test/sap/ui/core/qunit/component/Component.qunit.js +100 -7
- package/test/sap/ui/core/qunit/component/Models.qunit.js +3 -1
- package/test/sap/ui/core/qunit/component/Preloading.qunit.js +8 -12
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +8 -2
- package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Component.js +23 -0
- package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Main.view.xml +8 -0
- package/test/sap/ui/core/qunit/component/testdata/routerPreloading/manifest.json +34 -0
- package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Component.js +23 -0
- package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Main.view.xml +8 -0
- package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/manifest.json +28 -0
- package/test/sap/ui/core/qunit/date/_Calendars.qunit.js +52 -0
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +18 -0
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaksUsingIterator.qunit.js +3 -4
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +18 -0
- package/test/sap/ui/core/qunit/generic/legacy/SettersContextReturn.qunit.js +15 -0
- package/test/sap/ui/core/qunit/generic/testsuite.generic.qunit.js +21 -0
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessAmbiguous.js +2 -3
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessDuplicate.js +2 -3
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessFailing.js +2 -3
- package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.html +16 -0
- package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.js +1 -1
- package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.html +16 -0
- package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.js +1 -1
- package/test/sap/ui/core/qunit/gherkin/testsuite.gherkin.qunit.js +3 -2
- package/test/sap/ui/core/qunit/i18n/Buddhist.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/GenericLocaleData.qunit.js +217 -114
- package/test/sap/ui/core/qunit/i18n/Islamic.qunit.js +7 -4
- package/test/sap/ui/core/qunit/i18n/Japanese.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +341 -7
- package/test/sap/ui/core/qunit/i18n/Persian.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/UniversalDateUtils.qunit.js +10 -1
- package/test/sap/ui/core/qunit/i18n/helper/_timezones.js +17 -11
- package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +7 -1
- package/test/sap/ui/core/qunit/internal/1Ring.qunit.html +5 -1
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.html +2 -2
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +1 -0
- package/test/sap/ui/core/qunit/internal/AnnotationParser.qunit.html +1 -2
- package/test/sap/ui/core/qunit/internal/ODataV4.qunit.html +6 -1
- package/test/sap/ui/core/qunit/internal/testsuite.feature-odata-v4.qunit.js +2 -1
- package/test/sap/ui/core/qunit/jquery.sap.global-config.qunit.html +24 -0
- package/test/sap/ui/core/qunit/jquery.sap.global-config.qunit.js +12 -6
- package/test/sap/ui/core/qunit/jquery.sap.global-config_beforeBootstrap.qunit.js +1 -1
- package/test/sap/ui/core/qunit/json/JSONListBinding.qunit.js +30 -0
- package/test/sap/ui/core/qunit/loader/exposeAsAMDLoader.qunit.html +1 -0
- package/test/sap/ui/core/qunit/model/Binding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +5 -2
- package/test/sap/ui/core/qunit/model/ClientPropertyBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +5 -2
- package/test/sap/ui/core/qunit/model/ClientTreeBindingAdapter.qunit.js +6 -0
- package/test/sap/ui/core/qunit/model/CompositeDataState.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/Context.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/ContextBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/Filter.qunit.js +49 -0
- package/test/sap/ui/core/qunit/model/FilterProcessor.qunit.js +68 -1
- package/test/sap/ui/core/qunit/model/ListBinding.qunit.js +23 -5
- package/test/sap/ui/core/qunit/model/Model.qunit.js +46 -2
- package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/Sorter.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/TreeBinding.qunit.js +43 -3
- package/test/sap/ui/core/qunit/model/TreeBindingAdapter.qunit.js +3 -0
- package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +107 -93
- package/test/sap/ui/core/qunit/mvc/View.qunit.js +3 -0
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +17 -14
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +23 -12
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +29 -82
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML_unavoidablySync.qunit.js +123 -0
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +4 -0
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +4 -0
- package/test/sap/ui/core/qunit/mvc/testsuite.mvc.qunit.js +16 -0
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +408 -419
- package/test/sap/ui/core/qunit/odata/AnnotationHelper.qunit.js +6 -4
- package/test/sap/ui/core/qunit/odata/ODataAnnotations.qunit.js +16 -0
- package/test/sap/ui/core/qunit/odata/ODataMetaModel.qunit.js +8 -1
- package/test/sap/ui/core/qunit/odata/ODataModel_legacyAPIs.qunit.js +22 -22
- package/test/sap/ui/core/qunit/odata/ODataTreeBindingAdapter.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/ODataUtils.qunit.js +5 -1
- package/test/sap/ui/core/qunit/odata/type/DateTimeBase.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/type/DateTimeWithTimezone.qunit.js +6 -6
- package/test/sap/ui/core/qunit/odata/type/Time.qunit.js +3 -4
- package/test/sap/ui/core/qunit/odata/type/TimeOfDay.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +52 -29
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +952 -292
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +8 -15
- package/test/sap/ui/core/qunit/odata/v2/ODataPropertyBindingNoFakeService.qunit.js +6 -7
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +215 -1
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +211 -20
- package/test/sap/ui/core/qunit/odata/v2/ODataV2Model.qunit.js +32 -36
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +3 -2
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +69 -2
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +19 -9
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +601 -99
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +5 -5
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1896 -407
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +7 -5
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +909 -422
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +21 -6
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +104 -33
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +8 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_MetadataRequestor.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +9 -9
- package/test/sap/ui/core/qunit/odata/v4/lib/_V2MetadataConverter.qunit.js +3 -3
- package/test/sap/ui/core/qunit/odata/v4/lib/_V4MetadataConverter.qunit.js +3 -3
- package/test/sap/ui/core/qunit/opa/OpaPlugin.qunit.js +16 -0
- package/test/sap/ui/core/qunit/opa/_LogCollector.qunit.js +17 -9
- package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +66 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssAnimationWaiter.js +3 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssTransitionWaiter.js +3 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_jsAnimationWaiter.js +3 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_timeoutWaiter.js +11 -0
- package/test/sap/ui/core/qunit/opa/fixture/miniUI5Site.js +14 -8
- package/test/sap/ui/core/qunit/opa/fixture/uncaughtError.js +18 -12
- package/test/sap/ui/core/qunit/performance/BeaconRequest.qunit.js +18 -2
- package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +11 -2
- package/test/sap/ui/core/qunit/performance/trace/Interaction.qunit.js +4 -7
- package/test/sap/ui/core/qunit/resource/ResourceBinding.qunit.js +1 -0
- package/test/sap/ui/core/qunit/resource/ResourceModel.qunit.js +5 -4
- package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +20 -18
- package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +1 -4
- package/test/sap/ui/core/qunit/routing/fixture/routingConfig/Component.js +2 -25
- package/test/sap/ui/core/qunit/routing/fixture/routingConfig/manifest.json +28 -0
- package/test/sap/ui/core/qunit/rule/misc/silentEventBus.qunit.js +1 -2
- package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/library.js +11 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library-preload.js +3 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library.js +3 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library-preload.js +3 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library.js +3 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library-preload.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library-preload.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library-preload.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library-preload.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/lib/library-preload.js +1 -1
- package/test/sap/ui/core/qunit/testdata/shortcutHints/Component.js +9 -0
- package/test/sap/ui/core/qunit/testdata/shortcutHints/RootView.controller.js +8 -0
- package/test/sap/ui/core/qunit/testdata/shortcutHints/RootView.view.xml +16 -0
- package/test/sap/ui/core/qunit/testdata/shortcutHints/lib/MyControl.js +27 -0
- package/test/sap/ui/core/qunit/testdata/shortcutHints/manifest.json +26 -0
- package/test/sap/ui/core/qunit/testdata/uilib-custom-theme-fallback/library.js +4 -5
- package/test/sap/ui/core/qunit/testdata/uilib-failing-css-import/library.js +5 -6
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.controller.js +2 -1
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.view.xml +18 -1
- package/test/sap/ui/core/qunit/testsuite.core.framework.qunit.js +3 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +0 -4
- package/test/sap/ui/core/qunit/testsuites/testsuite.foundation.enablement.qunit.js +6 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.managed.object.qunit.js +4 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.modular.core.qunit.js +1 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.security.qunit.js +3 -9
- package/test/sap/ui/core/qunit/types/DataType.qunit.js +14 -3
- package/test/sap/ui/core/qunit/types/Date.qunit.js +3 -0
- package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +391 -147
- package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +32 -29
- package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +7 -4
- package/test/sap/ui/core/qunit/types/FileSizeFormat.qunit.js +5 -1
- package/test/sap/ui/core/qunit/types/ListFormat.qunit.js +3 -0
- package/test/sap/ui/core/qunit/types/NumberFormat.qunit.js +4 -3
- package/test/sap/ui/core/qunit/types/NumberFormatCurrencies.qunit.js +5 -4
- package/test/sap/ui/core/qunit/types/NumberFormatCurrenciesTrailing.qunit.js +4 -3
- package/test/sap/ui/core/qunit/types/SimpleType.qunit.js +3 -0
- package/test/sap/ui/core/qunit/types/TimezoneUtil.qunit.js +23 -0
- package/test/sap/ui/core/qunit/types/Types.qunit.js +44 -10
- package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +3 -0
- package/test/sap/ui/core/qunit/util/InvisibleMessage.qunit.js +4 -4
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +592 -83
- package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-allowlist.js +7 -0
- package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-frameOptions.js +7 -0
- package/test/sap/ui/core/qunit/{bootstrap/CfgFromGlobalObject.qunit.html → util/jQuery.sap.FrameOptions-meta-tag-override-mode.qunit.html} +7 -11
- package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-mode.qunit.js +3 -4
- package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-service.qunit.html +26 -0
- package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-service.qunit.js +3 -4
- package/test/sap/ui/core/qunit/{bootstrap/CfgDefaults.qunit.html → util/jQuery.sap.FrameOptions-meta-tag.qunit.html} +5 -8
- package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag.qunit.js +3 -4
- package/test/sap/ui/core/qunit/util/jQuery.sap.Version.qunit.js +10 -10
- package/test/sap/ui/core/qunit/util/jquery.sap.logger.qunit.html +18 -0
- package/test/sap/ui/core/qunit/util/jquery.sap.resources.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/testsuite.util.qunit.js +1 -3
- package/test/sap/ui/core/qunit/xml/XMLListBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/xml/XMLModel.qunit.js +3 -0
- package/test/sap/ui/core/qunit/xml/XMLPropertyBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/xml/XMLTreeBinding.qunit.js +3 -0
- package/test/sap/ui/core/relnotes/changes-1.119.json +1 -12
- package/test/sap/ui/core/relnotes/changes-1.120.json +442 -0
- package/test/sap/ui/core/terminologies/App.controller.js +2 -3
- package/test/sap/ui/core/terminologies/main.js +2 -3
- package/test/sap/ui/test/qunit/TestUtils.qunit.js +3 -3
- package/src/sap/ui/core/ConfigTest.js +0 -17
- package/src/sap/ui/core/_ConfigurationProvider.js +0 -187
- package/test/sap/ui/core/ComponentExtensibility_CustomizingDisabled.html +0 -57
- package/test/sap/ui/core/qunit/bootstrap/CfgDefaults.qunit.js +0 -71
- package/test/sap/ui/core/qunit/bootstrap/CfgFromConfigAttribute.qunit.html +0 -29
- package/test/sap/ui/core/qunit/bootstrap/CfgFromConfigAttribute.qunit.js +0 -40
- package/test/sap/ui/core/qunit/bootstrap/CfgFromGlobalObject.beforeBootstrap.qunit.js +0 -20
- package/test/sap/ui/core/qunit/bootstrap/CfgFromGlobalObject.qunit.js +0 -40
- package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.html +0 -42
- package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.js +0 -49
- package/test/sap/ui/core/qunit/util/BusyIndicatorNoCore.qunit.js +0 -96
- package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-meta-tag.js +0 -10
- package/test/sap/ui/core/samples/mvc/JSONView.html +0 -65
|
@@ -27,24 +27,24 @@ sap.ui.define([
|
|
|
27
27
|
var oDate = UI5Date.getInstance("2021-10-13T13:22:33Z");
|
|
28
28
|
|
|
29
29
|
oDateFormat = DateFormat.getDateTimeInstance({});
|
|
30
|
-
assert.strictEqual(oDateFormat.format(oDate, "America/New_York"), "Oct 13, 2021, 1:22:33
|
|
30
|
+
assert.strictEqual(oDateFormat.format(oDate, "America/New_York"), "Oct 13, 2021, 1:22:33\u202FPM",
|
|
31
31
|
"showTimezone parameter is ignored and bUTC parameter is truthy.");
|
|
32
32
|
|
|
33
33
|
oDateFormat = DateFormat.getDateTimeInstance({showTimezone: false});
|
|
34
|
-
assert.strictEqual(oDateFormat.format(oDate, "America/New_York"), "Oct 13, 2021, 1:22:33
|
|
34
|
+
assert.strictEqual(oDateFormat.format(oDate, "America/New_York"), "Oct 13, 2021, 1:22:33\u202FPM",
|
|
35
35
|
"showTimezone parameter is ignored and bUTC parameter is truthy..");
|
|
36
36
|
|
|
37
37
|
oDateFormat = DateFormat.getDateTimeInstance({
|
|
38
38
|
showDate: false,
|
|
39
39
|
showTime: false
|
|
40
40
|
});
|
|
41
|
-
assert.strictEqual(oDateFormat.format(oDate, "America/New_York"), "Oct 13, 2021, 1:22:33
|
|
41
|
+
assert.strictEqual(oDateFormat.format(oDate, "America/New_York"), "Oct 13, 2021, 1:22:33\u202FPM",
|
|
42
42
|
"showTimezone parameter is ignored and bUTC parameter is truthy.");
|
|
43
43
|
|
|
44
44
|
oDateFormat = DateFormat.getDateTimeInstance({
|
|
45
45
|
showDate: false
|
|
46
46
|
});
|
|
47
|
-
assert.strictEqual(oDateFormat.format(oDate, "America/New_York"), "Oct 13, 2021, 1:22:33
|
|
47
|
+
assert.strictEqual(oDateFormat.format(oDate, "America/New_York"), "Oct 13, 2021, 1:22:33\u202FPM",
|
|
48
48
|
"showTimezone parameter is ignored and bUTC parameter is truthy.");
|
|
49
49
|
});
|
|
50
50
|
|
|
@@ -82,23 +82,23 @@ sap.ui.define([
|
|
|
82
82
|
|
|
83
83
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({});
|
|
84
84
|
assert.strictEqual(oDateFormat.format(oDateEDT, "America/New_York"),
|
|
85
|
-
"Oct 13, 2021, 9:22:33
|
|
85
|
+
"Oct 13, 2021, 9:22:33\u202FAM Americas, New York", "date was converted and timezone name was added.");
|
|
86
86
|
|
|
87
87
|
// style medium/short
|
|
88
88
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({style: "medium/short"});
|
|
89
89
|
assert.strictEqual(oDateFormat.format(oDateEDT, "America/New_York"),
|
|
90
|
-
"Oct 13, 2021, 9:22
|
|
90
|
+
"Oct 13, 2021, 9:22\u202FAM Americas, New York",
|
|
91
91
|
"date medium and time short were converted and timezone name was added.");
|
|
92
92
|
|
|
93
93
|
// style short/medium
|
|
94
94
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({style: "short/medium"});
|
|
95
95
|
assert.strictEqual(oDateFormat.format(oDateEDT, "America/New_York"),
|
|
96
|
-
"10/13/21, 9:22:33
|
|
96
|
+
"10/13/21, 9:22:33\u202FAM Americas, New York",
|
|
97
97
|
"date short and time medium were converted and timezone name was added.");
|
|
98
98
|
|
|
99
99
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({showTimezone: false});
|
|
100
100
|
assert.strictEqual(oDateFormat.format(oDateEDT, "America/New_York"),
|
|
101
|
-
"Oct 13, 2021, 9:22:33
|
|
101
|
+
"Oct 13, 2021, 9:22:33\u202FAM", "date was converted and timezone name isn't shown.");
|
|
102
102
|
|
|
103
103
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({
|
|
104
104
|
showDate: false,
|
|
@@ -114,12 +114,12 @@ sap.ui.define([
|
|
|
114
114
|
// Timezone difference UTC-4 (Eastern Daylight Time - EDT), UTC Zulu, EDT Eastern Daylight Time
|
|
115
115
|
var oDateEDT = UI5Date.getInstance("2021-10-13T02:22:33Z");
|
|
116
116
|
assert.strictEqual(oDateFormat.format(oDateEDT, "America/New_York"),
|
|
117
|
-
"Oct 12, 2021, 10:22:33
|
|
117
|
+
"Oct 12, 2021, 10:22:33\u202FPM Americas, New York", "date was converted and timezone name was added.");
|
|
118
118
|
|
|
119
119
|
// Timezone difference UTC-5 (Eastern Standard Time - EST), UTC Zulu, EST Eastern Standard Time
|
|
120
120
|
var oDateEST = UI5Date.getInstance("2021-11-13T13:22:33Z");
|
|
121
121
|
assert.strictEqual(oDateFormat.format(oDateEST, "America/New_York"),
|
|
122
|
-
"Nov 13, 2021, 8:22:33
|
|
122
|
+
"Nov 13, 2021, 8:22:33\u202FAM Americas, New York", "date was converted and timezone name was added.");
|
|
123
123
|
});
|
|
124
124
|
|
|
125
125
|
QUnit.test("Custom format 'yMMMhVV'", function (assert) {
|
|
@@ -128,16 +128,19 @@ sap.ui.define([
|
|
|
128
128
|
// Timezone difference UTC-5 (Eastern Standard Time - EST), UTC Zulu
|
|
129
129
|
var oDateEST = UI5Date.getInstance("2021-11-13T13:22:33Z");
|
|
130
130
|
assert.strictEqual(oDateFormat.format(oDateEST, "America/New_York"),
|
|
131
|
-
"Nov 2021, 8
|
|
131
|
+
"Nov 2021, 8\u202FAM Americas, New York", "New timezone should be be applied.");
|
|
132
132
|
});
|
|
133
133
|
|
|
134
134
|
QUnit.test("Timezone parameter is empty string, null or undefined", function (assert) {
|
|
135
135
|
var oDateTimeWithTimezoneFormat = DateFormat.getDateTimeWithTimezoneInstance();
|
|
136
136
|
var oDateEDT = UI5Date.getInstance("2021-10-13T13:22:33Z");
|
|
137
137
|
|
|
138
|
-
assert.strictEqual(oDateTimeWithTimezoneFormat.format(oDateEDT, ""),
|
|
139
|
-
|
|
140
|
-
assert.strictEqual(oDateTimeWithTimezoneFormat.format(oDateEDT,
|
|
138
|
+
assert.strictEqual(oDateTimeWithTimezoneFormat.format(oDateEDT, ""),
|
|
139
|
+
"Oct 13, 2021, 3:22:33\u202FPM Europe, Berlin", "default to Europe, Berlin");
|
|
140
|
+
assert.strictEqual(oDateTimeWithTimezoneFormat.format(oDateEDT, null),
|
|
141
|
+
"Oct 13, 2021, 3:22:33\u202FPM Europe, Berlin", "default to Europe, Berlin");
|
|
142
|
+
assert.strictEqual(oDateTimeWithTimezoneFormat.format(oDateEDT, undefined),
|
|
143
|
+
"Oct 13, 2021, 3:22:33\u202FPM Europe, Berlin", "default to Europe, Berlin");
|
|
141
144
|
});
|
|
142
145
|
|
|
143
146
|
QUnit.module("DateTimeWithTimezone format de-DE", {
|
|
@@ -928,7 +931,7 @@ sap.ui.define([
|
|
|
928
931
|
|
|
929
932
|
var sFormatted = oDateFormat.format(oDate, "Etc/GMT+3");
|
|
930
933
|
// offset is negative (GMT-03:00) while IANA timezone ID is positive (Etc/GMT+3)
|
|
931
|
-
assert.strictEqual(sFormatted, "3. Oktober 2021
|
|
934
|
+
assert.strictEqual(sFormatted, "3. Oktober 2021, 23:22:33 GMT-03:00 Etc/GMT+3");
|
|
932
935
|
var oParsed = oDateFormat.parse(sFormatted, "Etc/GMT+3");
|
|
933
936
|
assert.deepEqual(oParsed, [oDate, "Etc/GMT+3"], "parsed date and timezone match for IANA timezone ID 'Etc/GMT+3'");
|
|
934
937
|
|
|
@@ -1058,7 +1061,7 @@ sap.ui.define([
|
|
|
1058
1061
|
var oDateEDT = UI5Date.getInstance("2021-10-13T02:22:33Z");
|
|
1059
1062
|
sFormatted = oDateFormat.format(oDateEDT, "America/New_York");
|
|
1060
1063
|
assert.strictEqual(sFormatted,
|
|
1061
|
-
"10:22:33
|
|
1064
|
+
"10:22:33\u202FPM Americas, New York", "date was converted and timezone name was added.");
|
|
1062
1065
|
assert.throws(function () {
|
|
1063
1066
|
oDateFormat.parse(sFormatted, "America/New_York");
|
|
1064
1067
|
}, new TypeError("The input can only be parsed back to date if both date and time are supplied."));
|
|
@@ -1067,7 +1070,7 @@ sap.ui.define([
|
|
|
1067
1070
|
var oDateEST = UI5Date.getInstance("2021-11-13T13:22:33Z");
|
|
1068
1071
|
sFormatted = oDateFormat.format(oDateEST, "America/New_York");
|
|
1069
1072
|
assert.strictEqual(sFormatted,
|
|
1070
|
-
"8:22:33
|
|
1073
|
+
"8:22:33\u202FAM Americas, New York", "date was converted and timezone name was added.");
|
|
1071
1074
|
assert.throws(function () {
|
|
1072
1075
|
oDateFormat.parse(sFormatted, "America/New_York");
|
|
1073
1076
|
}, new TypeError("The input can only be parsed back to date if both date and time are supplied."));
|
|
@@ -1178,9 +1181,9 @@ sap.ui.define([
|
|
|
1178
1181
|
QUnit.test("Fallback instances patterns (backward compatible case)", function (assert) {
|
|
1179
1182
|
var oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({});
|
|
1180
1183
|
assert.strictEqual(oDateFormat.aFallbackFormats.length, 4, "Should contain 4 instances.");
|
|
1181
|
-
assert.strictEqual(oDateFormat.aFallbackFormats[0].oFormatOptions.pattern, "M/d/yy, h:mm
|
|
1184
|
+
assert.strictEqual(oDateFormat.aFallbackFormats[0].oFormatOptions.pattern, "M/d/yy, h:mm\u202Fa VV",
|
|
1182
1185
|
"Short pattern should contain timezone symbol.");
|
|
1183
|
-
assert.strictEqual(oDateFormat.aFallbackFormats[1].oFormatOptions.pattern, "MMM d, y, h:mm:ss
|
|
1186
|
+
assert.strictEqual(oDateFormat.aFallbackFormats[1].oFormatOptions.pattern, "MMM d, y, h:mm:ss\u202Fa VV",
|
|
1184
1187
|
"Medium pattern should contain timezone symbol.");
|
|
1185
1188
|
assert.strictEqual(oDateFormat.aFallbackFormats[2].oFormatOptions.pattern, "yyyy-MM-dd'T'HH:mm:ss VV",
|
|
1186
1189
|
"Default pattern should contain timezone symbol.");
|
|
@@ -1203,9 +1206,9 @@ sap.ui.define([
|
|
|
1203
1206
|
|
|
1204
1207
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({showTimezone: false});
|
|
1205
1208
|
assert.strictEqual(oDateFormat.aFallbackFormats.length, 4, "Should contain 4 instances.");
|
|
1206
|
-
assert.strictEqual(oDateFormat.aFallbackFormats[0].oFormatOptions.pattern, "M/d/yy, h:mm
|
|
1209
|
+
assert.strictEqual(oDateFormat.aFallbackFormats[0].oFormatOptions.pattern, "M/d/yy, h:mm\u202Fa",
|
|
1207
1210
|
"Short pattern should not contain timezone symbol.");
|
|
1208
|
-
assert.strictEqual(oDateFormat.aFallbackFormats[1].oFormatOptions.pattern, "MMM d, y, h:mm:ss
|
|
1211
|
+
assert.strictEqual(oDateFormat.aFallbackFormats[1].oFormatOptions.pattern, "MMM d, y, h:mm:ss\u202Fa",
|
|
1209
1212
|
"Medium pattern should not contain timezone symbol.");
|
|
1210
1213
|
assert.strictEqual(oDateFormat.aFallbackFormats[2].oFormatOptions.pattern, "yyyy-MM-dd'T'HH:mm:ss",
|
|
1211
1214
|
"Default pattern should not contain timezone symbol.");
|
|
@@ -1223,8 +1226,8 @@ sap.ui.define([
|
|
|
1223
1226
|
// Date, time and timezone (default)
|
|
1224
1227
|
var oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({});
|
|
1225
1228
|
assert.deepEqual(extractPatterns(oDateFormat.aFallbackFormats), [
|
|
1226
|
-
"M/d/yy, h:mm
|
|
1227
|
-
"MMM d, y, h:mm:ss
|
|
1229
|
+
"M/d/yy, h:mm\u202Fa VV",
|
|
1230
|
+
"MMM d, y, h:mm:ss\u202Fa VV",
|
|
1228
1231
|
"yyyy-MM-dd'T'HH:mm:ss VV",
|
|
1229
1232
|
"yyyyMMdd HHmmss VV"
|
|
1230
1233
|
], "Date, time and timezone fallback patterns should match");
|
|
@@ -1244,8 +1247,8 @@ sap.ui.define([
|
|
|
1244
1247
|
// Date and time only
|
|
1245
1248
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({showTimezone: false});
|
|
1246
1249
|
assert.deepEqual(extractPatterns(oDateFormat.aFallbackFormats), [
|
|
1247
|
-
"M/d/yy, h:mm
|
|
1248
|
-
"MMM d, y, h:mm:ss
|
|
1250
|
+
"M/d/yy, h:mm\u202Fa",
|
|
1251
|
+
"MMM d, y, h:mm:ss\u202Fa",
|
|
1249
1252
|
"yyyy-MM-dd'T'HH:mm:ss",
|
|
1250
1253
|
"yyyyMMdd HHmmss"
|
|
1251
1254
|
], "Date and time only fallback patterns should match");
|
|
@@ -1275,8 +1278,8 @@ sap.ui.define([
|
|
|
1275
1278
|
// Time only
|
|
1276
1279
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({showDate: false, showTimezone: false});
|
|
1277
1280
|
assert.deepEqual(extractPatterns(oDateFormat.aFallbackFormats), [
|
|
1278
|
-
"h:mm
|
|
1279
|
-
"h:mm:ss
|
|
1281
|
+
"h:mm\u202Fa",
|
|
1282
|
+
"h:mm:ss\u202Fa",
|
|
1280
1283
|
"HH:mm:ss",
|
|
1281
1284
|
"HHmmss"
|
|
1282
1285
|
], "Time only fallback patterns should match");
|
|
@@ -1284,8 +1287,8 @@ sap.ui.define([
|
|
|
1284
1287
|
// Time with timezone
|
|
1285
1288
|
oDateFormat = DateFormat.getDateTimeWithTimezoneInstance({showDate: false});
|
|
1286
1289
|
assert.deepEqual(extractPatterns(oDateFormat.aFallbackFormats), [
|
|
1287
|
-
"h:mm
|
|
1288
|
-
"h:mm:ss
|
|
1290
|
+
"h:mm\u202Fa VV",
|
|
1291
|
+
"h:mm:ss\u202Fa VV",
|
|
1289
1292
|
"HH:mm:ss VV",
|
|
1290
1293
|
"HHmmss VV"
|
|
1291
1294
|
], "Time with timezone fallback patterns should match");
|
|
@@ -82,6 +82,9 @@ sap.ui.define([
|
|
|
82
82
|
|
|
83
83
|
//*********************************************************************************************
|
|
84
84
|
QUnit.module("sap.ui.model.type.DateInterval", {
|
|
85
|
+
before() {
|
|
86
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
87
|
+
},
|
|
85
88
|
beforeEach : function () {
|
|
86
89
|
this.oLogMock = this.mock(Log);
|
|
87
90
|
this.oLogMock.expects("error").never();
|
|
@@ -100,9 +103,9 @@ sap.ui.define([
|
|
|
100
103
|
oDateInterval = new DateInterval({format: "yMMMd"});
|
|
101
104
|
|
|
102
105
|
assert.strictEqual(oDateInterval.formatValue([oDate1, oDate2], "string"),
|
|
103
|
-
"Nov 6
|
|
106
|
+
"Nov 6\u2009\u2013\u2009Dec 6, 2003", "dates can be formatted as interval");
|
|
104
107
|
assert.strictEqual(oDateInterval.formatValue([UI5Date.getInstance(1970, 0, 1), oDate2], "string"),
|
|
105
|
-
"Jan 1, 1970
|
|
108
|
+
"Jan 1, 1970\u2009\u2013\u2009Dec 6, 2003");
|
|
106
109
|
checkFormatException(assert, oDateInterval, oDate1, "string",
|
|
107
110
|
"Cannot format date interval: " + oDate1 + " is expected as an Array but given the wrong format");
|
|
108
111
|
assert.strictEqual(oDateInterval.formatValue([oDate1], "string"), "", "format type with invalid parameter");
|
|
@@ -114,9 +117,9 @@ sap.ui.define([
|
|
|
114
117
|
oDateInterval = new DateInterval({format: "yMMMd", source: {pattern: "timestamp"}});
|
|
115
118
|
|
|
116
119
|
assert.strictEqual(oDateInterval.formatValue([oDate1.getTime(), oDate2.getTime()], "string"),
|
|
117
|
-
"Nov 6
|
|
120
|
+
"Nov 6\u2009\u2013\u2009Dec 6, 2003", "timestamps can be formatted as interval");
|
|
118
121
|
assert.strictEqual(oDateInterval.formatValue([String(oDate1.getTime()), oDate2.getTime()], "string"),
|
|
119
|
-
"Nov 6
|
|
122
|
+
"Nov 6\u2009\u2013\u2009Dec 6, 2003", "timestamps can be formatted as interval");
|
|
120
123
|
checkFormatException(assert, oDateInterval, ["a", "a"], "string",
|
|
121
124
|
"Cannot format date: a is not a valid Timestamp");
|
|
122
125
|
|
|
@@ -88,7 +88,11 @@ sap.ui.define(["sap/ui/core/format/FileSizeFormat", "sap/ui/core/Locale"], funct
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
//*********************************************************************************************
|
|
91
|
-
QUnit.module("sap.ui.core.format.FileSizeFormat"
|
|
91
|
+
QUnit.module("sap.ui.core.format.FileSizeFormat", {
|
|
92
|
+
before() {
|
|
93
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
92
96
|
|
|
93
97
|
QUnit.test("format binary", function (assert) {
|
|
94
98
|
for (var i = 1; i < 9; i++) {
|
|
@@ -3,6 +3,9 @@ sap.ui.define(['sap/ui/core/format/ListFormat', 'sap/ui/core/Locale', "sap/base/
|
|
|
3
3
|
"use strict";
|
|
4
4
|
|
|
5
5
|
QUnit.module("ListFormat", {
|
|
6
|
+
before() {
|
|
7
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
8
|
+
},
|
|
6
9
|
beforeEach: function () {
|
|
7
10
|
this.oLocale = new Locale("de-DE");
|
|
8
11
|
this.LogErrorSpy = this.spy(Log, "error");
|
|
@@ -4,8 +4,9 @@ sap.ui.define([
|
|
|
4
4
|
"sap/ui/core/Locale",
|
|
5
5
|
"sap/ui/core/LocaleData",
|
|
6
6
|
"sap/base/Log",
|
|
7
|
-
"sap/ui/core/Configuration"
|
|
8
|
-
|
|
7
|
+
"sap/ui/core/Configuration",
|
|
8
|
+
"sap/ui/core/Supportability"
|
|
9
|
+
], function (NumberFormat, Locale, LocaleData, Log, Configuration, Supportability) {
|
|
9
10
|
"use strict";
|
|
10
11
|
|
|
11
12
|
/*eslint no-floating-decimal:0 */
|
|
@@ -3569,7 +3570,7 @@ sap.ui.define([
|
|
|
3569
3570
|
QUnit.module("General");
|
|
3570
3571
|
|
|
3571
3572
|
QUnit.test("origin info", function (assert) {
|
|
3572
|
-
var oOriginInfoStub = this.stub(
|
|
3573
|
+
var oOriginInfoStub = this.stub(Supportability, "collectOriginInfo").returns(true);
|
|
3573
3574
|
var oOriginNumber = NumberFormat.getIntegerInstance(),
|
|
3574
3575
|
sValue = oOriginNumber.format(123),
|
|
3575
3576
|
oInfo = sValue.originInfo;
|
|
@@ -211,8 +211,8 @@ sap.ui.define([
|
|
|
211
211
|
var oLocale = new Locale("he_IL");
|
|
212
212
|
var oFormat = getCurrencyInstance({ currencyCode: true }, oLocale);
|
|
213
213
|
|
|
214
|
-
assert.strictEqual(oFormat.format(-123456.789, "EUR"), "\u200f\u200e-123,456.79\
|
|
215
|
-
assert.strictEqual(oFormat.format(-123456.789, "JPY"), "\u200f\u200e-123,457\
|
|
214
|
+
assert.strictEqual(oFormat.format(-123456.789, "EUR"), "\u200f\u200e-123,456.79\u00a0\u200fEUR\u200e");
|
|
215
|
+
assert.strictEqual(oFormat.format(-123456.789, "JPY"), "\u200f\u200e-123,457\u00a0\u200fJPY\u200e");
|
|
216
216
|
});
|
|
217
217
|
|
|
218
218
|
QUnit.test("Currency format with different parameters undefined", function (assert) {
|
|
@@ -1700,7 +1700,8 @@ sap.ui.define([
|
|
|
1700
1700
|
|
|
1701
1701
|
// execution
|
|
1702
1702
|
var sFormatted = oFormat.format(iExpectedNumber);
|
|
1703
|
-
assert.strictEqual(sFormatted, "
|
|
1703
|
+
assert.strictEqual(sFormatted, "\u200f50,000.00\u00a0\u200f\u200e",
|
|
1704
|
+
"can be formatted '" + sFormatted + "' (contains RTL character)");
|
|
1704
1705
|
|
|
1705
1706
|
var aParsed = oFormat.parse(sFormatted);
|
|
1706
1707
|
assert.deepEqual(aParsed, [50000, undefined], "should match input number " + iExpectedNumber);
|
|
@@ -1988,7 +1989,7 @@ sap.ui.define([
|
|
|
1988
1989
|
QUnit.test("getScale", function (assert) {
|
|
1989
1990
|
var oLocale = new Locale("en");
|
|
1990
1991
|
var oFormat = getCurrencyInstance({style: "short", shortRefNumber: 1234}, oLocale);
|
|
1991
|
-
assert.strictEqual(oFormat.getScale(), "\
|
|
1992
|
+
assert.strictEqual(oFormat.getScale(), "\u00a4\u00a0K", "scale is correctly retrieved");
|
|
1992
1993
|
|
|
1993
1994
|
oFormat = getCurrencyInstance({style: "short"}, oLocale);
|
|
1994
1995
|
assert.strictEqual(oFormat.getScale(), undefined, "scale not retrieved");
|
|
@@ -46,11 +46,11 @@ sap.ui.define([
|
|
|
46
46
|
var oLocale = new Locale("en-US");
|
|
47
47
|
var oFormat = getCurrencyInstance({style: "long"}, oLocale);
|
|
48
48
|
assert.strictEqual(oFormat.format(123456.789, "EUR"), "123K" + "\xa0" + "EUR", "123456.789 EUR");
|
|
49
|
-
assert.strictEqual(oFormat.format(123456.789, "£"), "
|
|
49
|
+
assert.strictEqual(oFormat.format(123456.789, "£"), "£\u00a0123K", "£123456.789 - Not trailing because it's not a valid currency code.");
|
|
50
50
|
|
|
51
51
|
oFormat = getCurrencyInstance({style: "short"}, oLocale);
|
|
52
52
|
assert.strictEqual(oFormat.format(123456.789, "EUR"), "123K" + "\xa0" + "EUR", "123456.789 EUR");
|
|
53
|
-
assert.strictEqual(oFormat.format(123456.789, "£"), "
|
|
53
|
+
assert.strictEqual(oFormat.format(123456.789, "£"), "£\u00a0123K", "£123456.789 - Not trailing because it's not a valid currency code.");
|
|
54
54
|
|
|
55
55
|
oFormat = getCurrencyInstance({style: "standard"}, oLocale);
|
|
56
56
|
assert.strictEqual(oFormat.format(123456.789, "EUR"), "123,456.79" + "\xa0" + "EUR", "123456.789 EUR");
|
|
@@ -1523,7 +1523,8 @@ sap.ui.define([
|
|
|
1523
1523
|
|
|
1524
1524
|
// execution
|
|
1525
1525
|
var sFormatted = oFormat.format(iExpectedNumber);
|
|
1526
|
-
assert.strictEqual(sFormatted, "
|
|
1526
|
+
assert.strictEqual(sFormatted, "\u200f50,000.00\u00a0\u200f\u200e",
|
|
1527
|
+
"can be formatted '" + sFormatted + "' (contains RTL character)");
|
|
1527
1528
|
|
|
1528
1529
|
var aParsed = oFormat.parse(sFormatted);
|
|
1529
1530
|
assert.deepEqual(aParsed, [50000, undefined], "should match input number " + iExpectedNumber);
|
|
@@ -11,6 +11,9 @@ sap.ui.define([
|
|
|
11
11
|
|
|
12
12
|
//*********************************************************************************************
|
|
13
13
|
QUnit.module("sap.ui.model.SimpleType", {
|
|
14
|
+
before() {
|
|
15
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
16
|
+
},
|
|
14
17
|
beforeEach : function () {
|
|
15
18
|
this.oLogMock = this.mock(Log);
|
|
16
19
|
this.oLogMock.expects("warning").never();
|
|
@@ -531,6 +531,29 @@ sap.ui.define([
|
|
|
531
531
|
"Local timezone should be in list: " + sLocalTimezone);
|
|
532
532
|
});
|
|
533
533
|
|
|
534
|
+
QUnit.test("convert CLDR to ABAP", function (assert) {
|
|
535
|
+
const oDateTimeFormatMock = this.mock(Intl.DateTimeFormat.prototype);
|
|
536
|
+
|
|
537
|
+
for (const [sCLDR_ID, sABAP_ID] of Object.entries(TimezoneUtil.mCLDR2ABAPTimezones)) {
|
|
538
|
+
TimezoneUtil._clearLocalTimezoneCache();
|
|
539
|
+
oDateTimeFormatMock.expects("resolvedOptions").returns({timeZone: sCLDR_ID});
|
|
540
|
+
|
|
541
|
+
// code under test
|
|
542
|
+
assert.strictEqual(TimezoneUtil.getLocalTimezone(), sABAP_ID, sCLDR_ID + " -> " + sABAP_ID);
|
|
543
|
+
}
|
|
544
|
+
});
|
|
545
|
+
|
|
546
|
+
QUnit.test("only retrieve timezone if cache is empty (string)", function (assert) {
|
|
547
|
+
TimezoneUtil._clearLocalTimezoneCache();
|
|
548
|
+
// the browser's Intl.DateTimeFormat implementation may return undefined in case of OS default timezone
|
|
549
|
+
this.mock(Intl.DateTimeFormat.prototype).expects("resolvedOptions").returns({timeZone: undefined});
|
|
550
|
+
|
|
551
|
+
// code under test
|
|
552
|
+
assert.strictEqual(TimezoneUtil.getLocalTimezone(), undefined);
|
|
553
|
+
assert.strictEqual(TimezoneUtil.getLocalTimezone(), undefined,
|
|
554
|
+
"second call uses cache, does not call Intl.DateTimeFormat API again");
|
|
555
|
+
});
|
|
556
|
+
|
|
534
557
|
QUnit.module("Fixed date with end of January", {
|
|
535
558
|
beforeEach: function () {
|
|
536
559
|
this.clock = sinon.useFakeTimers(UI5Date.getInstance("2022-01-31T15:22:33Z").getTime());
|
|
@@ -81,6 +81,9 @@ sap.ui.define([
|
|
|
81
81
|
|
|
82
82
|
//*********************************************************************************************
|
|
83
83
|
QUnit.module("sap.ui.model.type.Boolean", {
|
|
84
|
+
before() {
|
|
85
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
86
|
+
},
|
|
84
87
|
beforeEach : function() {
|
|
85
88
|
Configuration.setLanguage("en-US");
|
|
86
89
|
},
|
|
@@ -122,6 +125,9 @@ sap.ui.define([
|
|
|
122
125
|
|
|
123
126
|
//*********************************************************************************************
|
|
124
127
|
QUnit.module("sap.ui.model.type.Currency", {
|
|
128
|
+
before() {
|
|
129
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
130
|
+
},
|
|
125
131
|
beforeEach : function() {
|
|
126
132
|
Configuration.setLanguage("en-US");
|
|
127
133
|
},
|
|
@@ -740,7 +746,7 @@ sap.ui.define([
|
|
|
740
746
|
|
|
741
747
|
var dateType = new DateTimeType();
|
|
742
748
|
|
|
743
|
-
assert.strictEqual(dateType.formatValue(dateValue, "string"), "Feb 1, 2003, 4:05:06
|
|
749
|
+
assert.strictEqual(dateType.formatValue(dateValue, "string"), "Feb 1, 2003, 4:05:06\u202FAM", "format test");
|
|
744
750
|
|
|
745
751
|
dateType = new DateTimeType({ pattern: "yy-MM-dd '/' hh:mm" });
|
|
746
752
|
assert.strictEqual(dateType.formatValue(dateValue, "string"), "03-02-01 / 04:05", "format test with pattern");
|
|
@@ -821,12 +827,17 @@ sap.ui.define([
|
|
|
821
827
|
var oDateTime1 = UI5Date.getInstance(2003, 1, 1, 4, 5, 6);
|
|
822
828
|
var oDateTime2 = UI5Date.getInstance(2003, 1, 2, 5, 6, 7);
|
|
823
829
|
|
|
824
|
-
assert.strictEqual(oDateTimeIntervalType.formatValue([oDateTime1, oDateTime2], "string"),
|
|
830
|
+
assert.strictEqual(oDateTimeIntervalType.formatValue([oDateTime1, oDateTime2], "string"),
|
|
831
|
+
"Feb 1, 2003, 4:05:06\u202FAM\u2009\u2013\u2009Feb 2, 2003, 5:06:07\u202FAM",
|
|
832
|
+
"dates can be formatted as interval");
|
|
825
833
|
|
|
826
834
|
oDateTimeIntervalType = new DateTimeIntervalType({
|
|
827
835
|
source: {}
|
|
828
836
|
});
|
|
829
|
-
assert.strictEqual(
|
|
837
|
+
assert.strictEqual(
|
|
838
|
+
oDateTimeIntervalType.formatValue(["Feb 1, 2003, 4:05:06 AM", "Feb 2, 2003, 5:06:07 AM"], "string"),
|
|
839
|
+
"Feb 1, 2003, 4:05:06\u202FAM\u2009\u2013\u2009Feb 2, 2003, 5:06:07\u202FAM",
|
|
840
|
+
"dates can be formatted as interval");
|
|
830
841
|
});
|
|
831
842
|
|
|
832
843
|
QUnit.test("DateTimeInterval parseValue", function (assert) {
|
|
@@ -835,13 +846,18 @@ sap.ui.define([
|
|
|
835
846
|
var oDateTime1 = UI5Date.getInstance(2003, 1, 1, 4, 5, 6);
|
|
836
847
|
var oDateTime2 = UI5Date.getInstance(2003, 1, 2, 5, 6, 7);
|
|
837
848
|
|
|
838
|
-
assert.deepEqual(
|
|
849
|
+
assert.deepEqual(
|
|
850
|
+
oDateTimeIntervalType.parseValue("Feb 1, 2003, 4:05:06 AM \u2013 Feb 2, 2003, 5:06:07 AM", "string"),
|
|
851
|
+
[oDateTime1, oDateTime2], "Interval string can be parsed into an array of dates");
|
|
839
852
|
|
|
840
853
|
oDateTimeIntervalType = new DateTimeIntervalType({
|
|
841
854
|
source: {}
|
|
842
855
|
});
|
|
843
856
|
|
|
844
|
-
assert.deepEqual(
|
|
857
|
+
assert.deepEqual(
|
|
858
|
+
oDateTimeIntervalType.parseValue("Feb 1, 2003, 4:05:06 AM \u2013 Feb 2, 2003, 5:06:07 AM", "string"),
|
|
859
|
+
["Feb 1, 2003, 4:05:06\u202FAM", "Feb 2, 2003, 5:06:07\u202FAM"],
|
|
860
|
+
"Interval string can be parsed into an array of formatted dates");
|
|
845
861
|
});
|
|
846
862
|
|
|
847
863
|
QUnit.test("DateTimeInterval validateValue", function (assert) {
|
|
@@ -872,6 +888,9 @@ sap.ui.define([
|
|
|
872
888
|
|
|
873
889
|
//*********************************************************************************************
|
|
874
890
|
QUnit.module("sap.ui.model.type.FileSize", {
|
|
891
|
+
before() {
|
|
892
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
893
|
+
},
|
|
875
894
|
beforeEach : function() {
|
|
876
895
|
Configuration.setLanguage("en-US");
|
|
877
896
|
},
|
|
@@ -1048,6 +1067,9 @@ sap.ui.define([
|
|
|
1048
1067
|
|
|
1049
1068
|
//*********************************************************************************************
|
|
1050
1069
|
QUnit.module("sap.ui.model.type.Float", {
|
|
1070
|
+
before() {
|
|
1071
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
1072
|
+
},
|
|
1051
1073
|
beforeEach : function() {
|
|
1052
1074
|
Configuration.setLanguage("en-US");
|
|
1053
1075
|
},
|
|
@@ -1256,6 +1278,9 @@ sap.ui.define([
|
|
|
1256
1278
|
|
|
1257
1279
|
//*********************************************************************************************
|
|
1258
1280
|
QUnit.module("sap.ui.model.type.Integer", {
|
|
1281
|
+
before() {
|
|
1282
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
1283
|
+
},
|
|
1259
1284
|
beforeEach : function() {
|
|
1260
1285
|
Configuration.setLanguage("en-US");
|
|
1261
1286
|
},
|
|
@@ -1426,6 +1451,9 @@ sap.ui.define([
|
|
|
1426
1451
|
|
|
1427
1452
|
//*********************************************************************************************
|
|
1428
1453
|
QUnit.module("sap.ui.model.type.String", {
|
|
1454
|
+
before() {
|
|
1455
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
1456
|
+
},
|
|
1429
1457
|
beforeEach : function() {
|
|
1430
1458
|
Configuration.setLanguage("en-US");
|
|
1431
1459
|
},
|
|
@@ -1583,7 +1611,7 @@ sap.ui.define([
|
|
|
1583
1611
|
// as date object is locale dependend fill it manually
|
|
1584
1612
|
var timeValue = UI5Date.getInstance(2003, 1, 1, 16, 58, 49);
|
|
1585
1613
|
|
|
1586
|
-
assert.strictEqual(timeType.formatValue(timeValue, "string"), "4:58:49
|
|
1614
|
+
assert.strictEqual(timeType.formatValue(timeValue, "string"), "4:58:49\u202FPM", "format test");
|
|
1587
1615
|
|
|
1588
1616
|
timeType = new TimeType({ pattern: "HH:mm:ss" });
|
|
1589
1617
|
assert.strictEqual(timeType.formatValue(timeValue, "string"), "16:58:49", "format test with pattern");
|
|
@@ -1663,12 +1691,14 @@ sap.ui.define([
|
|
|
1663
1691
|
var oTime1 = UI5Date.getInstance(2003, 1, 1, 16, 58, 49);
|
|
1664
1692
|
var oTime2 = UI5Date.getInstance(2003, 1, 1, 17, 0, 0);
|
|
1665
1693
|
|
|
1666
|
-
assert.strictEqual(oTimeIntervalType.formatValue([oTime1, oTime2], "string"),
|
|
1694
|
+
assert.strictEqual(oTimeIntervalType.formatValue([oTime1, oTime2], "string"),
|
|
1695
|
+
"4:58:49\u202FPM\u2009\u2013\u20095:00:00\u202FPM", "dates can be formatted as interval");
|
|
1667
1696
|
|
|
1668
1697
|
oTimeIntervalType = new TimeIntervalType({
|
|
1669
1698
|
source: {}
|
|
1670
1699
|
});
|
|
1671
|
-
assert.strictEqual(oTimeIntervalType.formatValue(["4:58:49 PM", "5:00:00 PM"], "string"),
|
|
1700
|
+
assert.strictEqual(oTimeIntervalType.formatValue(["4:58:49 PM", "5:00:00 PM"], "string"),
|
|
1701
|
+
"4:58:49\u202FPM\u2009\u2013\u20095:00:00\u202FPM", "dates can be formatted as interval");
|
|
1672
1702
|
});
|
|
1673
1703
|
|
|
1674
1704
|
QUnit.test("TimeInterval parseValue", function (assert) {
|
|
@@ -1676,7 +1706,7 @@ sap.ui.define([
|
|
|
1676
1706
|
var oTime1 = UI5Date.getInstance(1970, 0, 1, 16, 58, 49);
|
|
1677
1707
|
var oTime2 = UI5Date.getInstance(1970, 0, 1, 17, 0, 0);
|
|
1678
1708
|
|
|
1679
|
-
var aTimeIntervalResult = oTimeIntervalType.parseValue("4:58:49 PM
|
|
1709
|
+
var aTimeIntervalResult = oTimeIntervalType.parseValue("4:58:49 PM \u2013 5:00:00 PM", "string");
|
|
1680
1710
|
|
|
1681
1711
|
assert.deepEqual([aTimeIntervalResult[0].getTime(), aTimeIntervalResult[1].getTime()], [oTime1.getTime(), oTime2.getTime()], "Interval string can be parsed into an array of dates");
|
|
1682
1712
|
|
|
@@ -1684,7 +1714,8 @@ sap.ui.define([
|
|
|
1684
1714
|
source: {}
|
|
1685
1715
|
});
|
|
1686
1716
|
|
|
1687
|
-
assert.deepEqual(oTimeIntervalType.parseValue("4:58:49 PM
|
|
1717
|
+
assert.deepEqual(oTimeIntervalType.parseValue("4:58:49 PM \u2013 5:00:00 PM", "string"),
|
|
1718
|
+
["4:58:49\u202FPM", "5:00:00\u202FPM"], "Interval string can be parsed into an array of formatted dates");
|
|
1688
1719
|
});
|
|
1689
1720
|
|
|
1690
1721
|
QUnit.test("TimeInterval validateValue", function (assert) {
|
|
@@ -1714,6 +1745,9 @@ sap.ui.define([
|
|
|
1714
1745
|
|
|
1715
1746
|
//*********************************************************************************************
|
|
1716
1747
|
QUnit.module("sap.ui.model.type.Unit", {
|
|
1748
|
+
before() {
|
|
1749
|
+
this.__ignoreIsolatedCoverage__ = true;
|
|
1750
|
+
},
|
|
1717
1751
|
beforeEach : function() {
|
|
1718
1752
|
Configuration.setLanguage("en-US");
|
|
1719
1753
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*global QUnit */
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
|
-
"sap/ui/core/Core",
|
|
5
4
|
"sap/ui/core/library",
|
|
6
5
|
"sap/ui/core/InvisibleMessage",
|
|
6
|
+
"sap/ui/core/StaticArea",
|
|
7
7
|
"sap/base/Log",
|
|
8
8
|
"sap/ui/thirdparty/sinon",
|
|
9
9
|
"sap/ui/qunit/utils/nextUIUpdate",
|
|
10
10
|
"sap/ui/thirdparty/sinon-qunit"
|
|
11
|
-
], function (
|
|
11
|
+
], function (coreLibrary, InvisibleMessage, StaticArea, Log, sinon, nextUIUpdate) {
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
var InvisibleMessageMode = coreLibrary.InvisibleMessageMode;
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
QUnit.test("Element announcing", function(assert) {
|
|
27
27
|
// Arrange
|
|
28
28
|
var oInvisibleMessage = InvisibleMessage.getInstance(),
|
|
29
|
-
oStatic =
|
|
29
|
+
oStatic = StaticArea.getDomRef(),
|
|
30
30
|
fnInfoSpy = this.spy(Log, "info"),
|
|
31
31
|
oPoliteMarkup, oAssertiveMarkup;
|
|
32
32
|
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
QUnit.test("Clearing of element content", async function(assert) {
|
|
48
48
|
// Arrange
|
|
49
49
|
var oInvisibleMessage = InvisibleMessage.getInstance(),
|
|
50
|
-
oStatic =
|
|
50
|
+
oStatic = StaticArea.getDomRef(),
|
|
51
51
|
oAssertiveMarkup;
|
|
52
52
|
|
|
53
53
|
this.clock = sinon.useFakeTimers();
|