@openui5/sap.ui.mdc 1.96.5 → 1.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/.reuse/dep5 +26 -31
  2. package/THIRDPARTY.txt +15 -21
  3. package/package.json +4 -4
  4. package/src/sap/ui/mdc/.library +1 -1
  5. package/src/sap/ui/mdc/ActionToolbar.js +7 -9
  6. package/src/sap/ui/mdc/AggregationBaseDelegate.js +2 -2
  7. package/src/sap/ui/mdc/BaseDelegate.js +1 -1
  8. package/src/sap/ui/mdc/Chart.js +1100 -1796
  9. package/src/sap/ui/mdc/ChartDelegate.js +429 -270
  10. package/src/sap/ui/mdc/ChartRenderer.js +73 -77
  11. package/src/sap/ui/mdc/Control.js +1 -1
  12. package/src/sap/ui/mdc/Element.js +1 -1
  13. package/src/sap/ui/mdc/Field.js +3 -2
  14. package/src/sap/ui/mdc/FilterBar.js +3 -2
  15. package/src/sap/ui/mdc/FilterField.js +25 -8
  16. package/src/sap/ui/mdc/Link.js +23 -4
  17. package/src/sap/ui/mdc/LinkDelegate.js +3 -3
  18. package/src/sap/ui/mdc/MultiValueField.js +21 -6
  19. package/src/sap/ui/mdc/Table.js +204 -161
  20. package/src/sap/ui/mdc/TableDelegate.js +47 -17
  21. package/src/sap/ui/mdc/ValueHelp.js +51 -15
  22. package/src/sap/ui/mdc/ValueHelpDelegate.js +20 -0
  23. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -2
  24. package/src/sap/ui/mdc/{chartNew/ChartSelectionDetailsNew.js → chart/ChartSelectionDetails.js} +8 -8
  25. package/src/sap/ui/mdc/{chartNew/ChartToolbarNew.js → chart/ChartToolbar.js} +49 -13
  26. package/src/sap/ui/mdc/chart/ChartTypeButton.js +55 -54
  27. package/src/sap/ui/mdc/{chartNew/DrillBreadcrumbsNew.js → chart/DrillBreadcrumbs.js} +3 -3
  28. package/src/sap/ui/mdc/chart/DrillStackHandler.js +38 -249
  29. package/src/sap/ui/mdc/chart/Item.js +62 -92
  30. package/src/sap/ui/mdc/{chartNew/PropertyHelperNew.js → chart/PropertyHelper.js} +3 -3
  31. package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +17 -21
  32. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  33. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  34. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  35. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  36. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +261 -44
  37. package/src/sap/ui/mdc/condition/Operator.js +9 -9
  38. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +437 -0
  39. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  40. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +80 -5
  41. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +97 -0
  42. package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +104 -0
  43. package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +22 -0
  44. package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +23 -0
  45. package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +3 -0
  46. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +60 -20
  47. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  48. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  49. package/src/sap/ui/mdc/field/ConditionType.js +9 -9
  50. package/src/sap/ui/mdc/field/ConditionsType.js +7 -7
  51. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  52. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  53. package/src/sap/ui/mdc/field/DefineConditionPanel.js +75 -27
  54. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +311 -0
  55. package/src/sap/ui/mdc/field/FieldBase.js +85 -52
  56. package/src/sap/ui/mdc/field/FieldBaseRenderer.js +0 -3
  57. package/src/sap/ui/mdc/field/FieldHelpBase.js +2 -2
  58. package/src/sap/ui/mdc/field/FieldInfoBase.js +23 -10
  59. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  60. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  61. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  62. package/src/sap/ui/mdc/field/FieldValueHelp.js +7 -7
  63. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  64. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +20 -0
  65. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
  66. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +2 -2
  67. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +7 -3
  68. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
  69. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  70. package/src/sap/ui/mdc/field/ListFieldHelp.js +10 -2
  71. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  72. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  73. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  74. package/src/sap/ui/mdc/field/TokenDisplay.js +70 -0
  75. package/src/sap/ui/mdc/field/TokenDisplayRenderer.js +24 -0
  76. package/src/sap/ui/mdc/field/TokenizerDisplay.js +80 -0
  77. package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +69 -0
  78. package/src/sap/ui/mdc/field/ValueHelpPanel.js +2 -1
  79. package/src/sap/ui/mdc/field/content/BooleanContent.js +1 -1
  80. package/src/sap/ui/mdc/field/content/ContentFactory.js +28 -26
  81. package/src/sap/ui/mdc/field/content/DateContent.js +128 -2
  82. package/src/sap/ui/mdc/field/content/DateTimeContent.js +9 -1
  83. package/src/sap/ui/mdc/field/content/DefaultContent.js +36 -14
  84. package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
  85. package/src/sap/ui/mdc/field/content/TimeContent.js +8 -1
  86. package/src/sap/ui/mdc/field/content/UnitContent.js +23 -4
  87. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +359 -142
  88. package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
  89. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  90. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +8 -2
  91. package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +3 -1
  92. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +7 -1
  93. package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +6 -6
  94. package/src/sap/ui/mdc/flexibility/AggregateFlex.js +2 -2
  95. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +6 -4
  96. package/src/sap/ui/mdc/flexibility/ColumnFlex.js +1 -1
  97. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +4 -3
  98. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  99. package/src/sap/ui/mdc/flexibility/GroupFlex.js +1 -1
  100. package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +9 -3
  101. package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +110 -0
  102. package/src/sap/ui/mdc/flexibility/SortFlex.js +2 -2
  103. package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +6 -6
  104. package/src/sap/ui/mdc/library.js +62 -43
  105. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  106. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  107. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  108. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  109. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  110. package/src/sap/ui/mdc/link/Factory.js +2 -2
  111. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  112. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  113. package/src/sap/ui/mdc/link/Log.js +1 -1
  114. package/src/sap/ui/mdc/link/Panel.js +140 -177
  115. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  116. package/src/sap/ui/mdc/link/PanelListItem.js +1 -1
  117. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  118. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  119. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  120. package/src/sap/ui/mdc/messagebundle.properties +68 -5
  121. package/src/sap/ui/mdc/messagebundle_ar.properties +47 -6
  122. package/src/sap/ui/mdc/messagebundle_bg.properties +61 -20
  123. package/src/sap/ui/mdc/messagebundle_ca.properties +45 -4
  124. package/src/sap/ui/mdc/messagebundle_cs.properties +60 -19
  125. package/src/sap/ui/mdc/messagebundle_cy.properties +45 -4
  126. package/src/sap/ui/mdc/messagebundle_da.properties +52 -11
  127. package/src/sap/ui/mdc/messagebundle_de.properties +45 -4
  128. package/src/sap/ui/mdc/messagebundle_el.properties +46 -5
  129. package/src/sap/ui/mdc/messagebundle_en.properties +45 -4
  130. package/src/sap/ui/mdc/messagebundle_en_GB.properties +45 -4
  131. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +51 -2
  132. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +45 -4
  133. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +51 -2
  134. package/src/sap/ui/mdc/messagebundle_es.properties +46 -5
  135. package/src/sap/ui/mdc/messagebundle_es_MX.properties +59 -18
  136. package/src/sap/ui/mdc/messagebundle_et.properties +45 -4
  137. package/src/sap/ui/mdc/messagebundle_fi.properties +51 -10
  138. package/src/sap/ui/mdc/messagebundle_fr.properties +50 -9
  139. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +45 -4
  140. package/src/sap/ui/mdc/messagebundle_hi.properties +46 -5
  141. package/src/sap/ui/mdc/messagebundle_hr.properties +45 -4
  142. package/src/sap/ui/mdc/messagebundle_hu.properties +45 -4
  143. package/src/sap/ui/mdc/messagebundle_id.properties +45 -4
  144. package/src/sap/ui/mdc/messagebundle_it.properties +61 -20
  145. package/src/sap/ui/mdc/messagebundle_iw.properties +46 -5
  146. package/src/sap/ui/mdc/messagebundle_ja.properties +46 -5
  147. package/src/sap/ui/mdc/messagebundle_kk.properties +45 -4
  148. package/src/sap/ui/mdc/messagebundle_ko.properties +46 -5
  149. package/src/sap/ui/mdc/messagebundle_lt.properties +45 -4
  150. package/src/sap/ui/mdc/messagebundle_lv.properties +49 -8
  151. package/src/sap/ui/mdc/messagebundle_ms.properties +45 -4
  152. package/src/sap/ui/mdc/messagebundle_nl.properties +49 -8
  153. package/src/sap/ui/mdc/messagebundle_no.properties +53 -12
  154. package/src/sap/ui/mdc/messagebundle_pl.properties +46 -5
  155. package/src/sap/ui/mdc/messagebundle_pt.properties +52 -11
  156. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +45 -4
  157. package/src/sap/ui/mdc/messagebundle_ro.properties +45 -4
  158. package/src/sap/ui/mdc/messagebundle_ru.properties +45 -4
  159. package/src/sap/ui/mdc/messagebundle_sh.properties +45 -4
  160. package/src/sap/ui/mdc/messagebundle_sk.properties +45 -4
  161. package/src/sap/ui/mdc/messagebundle_sl.properties +45 -4
  162. package/src/sap/ui/mdc/messagebundle_sv.properties +47 -6
  163. package/src/sap/ui/mdc/messagebundle_th.properties +48 -7
  164. package/src/sap/ui/mdc/messagebundle_tr.properties +45 -4
  165. package/src/sap/ui/mdc/messagebundle_uk.properties +49 -8
  166. package/src/sap/ui/mdc/messagebundle_vi.properties +45 -4
  167. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +46 -5
  168. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +45 -4
  169. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +19 -5
  170. package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -2
  171. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +16 -11
  172. package/src/sap/ui/mdc/mixin/PromiseMixin.js +2 -3
  173. package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
  174. package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +29 -483
  175. package/src/sap/ui/mdc/odata/v4/{ChartPropertyHelperNew.js → ChartPropertyHelper.js} +5 -5
  176. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +160 -116
  177. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +1 -1
  178. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
  179. package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +1 -1
  180. package/src/sap/ui/mdc/odata/v4/vizChart/{ChartDelegateNew.js → ChartDelegate.js} +215 -116
  181. package/src/sap/ui/mdc/p13n/Engine.js +61 -20
  182. package/src/sap/ui/mdc/p13n/FlexUtil.js +11 -118
  183. package/src/sap/ui/mdc/p13n/P13nBuilder.js +8 -8
  184. package/src/sap/ui/mdc/p13n/PersistenceProvider.js +21 -10
  185. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  186. package/src/sap/ui/mdc/p13n/StateUtil.js +40 -6
  187. package/src/sap/ui/mdc/p13n/UIManager.js +15 -12
  188. package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +4 -1
  189. package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +9 -6
  190. package/src/sap/ui/mdc/p13n/{DefaultProviderRegistry.js → modules/DefaultProviderRegistry.js} +2 -2
  191. package/src/sap/ui/mdc/p13n/modules/StateHandlerRegistry.js +86 -0
  192. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +19 -3
  193. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1092 -48
  194. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +72 -0
  195. package/src/sap/ui/mdc/p13n/panels/ListView.js +6 -2
  196. package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +6 -5
  197. package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +1 -1
  198. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +156 -11
  199. package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +15 -26
  200. package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +6 -5
  201. package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +14 -7
  202. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +173 -0
  203. package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +10 -17
  204. package/src/sap/ui/mdc/table/Column.js +35 -10
  205. package/src/sap/ui/mdc/table/CreationRow.js +14 -13
  206. package/src/sap/ui/mdc/table/GridTableType.js +13 -13
  207. package/src/sap/ui/mdc/table/PropertyHelper.js +64 -27
  208. package/src/sap/ui/mdc/table/ResponsiveTableType.js +26 -29
  209. package/src/sap/ui/mdc/table/RowSettings.js +7 -5
  210. package/src/sap/ui/mdc/table/TableTypeBase.js +6 -6
  211. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +15 -71
  212. package/src/sap/ui/mdc/themes/base/Chart.less +3 -0
  213. package/src/sap/ui/mdc/themes/base/FieldBase.less +0 -5
  214. package/src/sap/ui/mdc/themes/base/TokenDisplay.less +89 -0
  215. package/src/sap/ui/mdc/themes/base/TokenizerDisplay.less +90 -0
  216. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +15 -4
  217. package/src/sap/ui/mdc/themes/base/library.source.less +3 -0
  218. package/src/sap/ui/mdc/ui/Container.js +2 -2
  219. package/src/sap/ui/mdc/ui/ContainerItem.js +2 -2
  220. package/src/sap/ui/mdc/util/Common.js +1 -1
  221. package/src/sap/ui/mdc/util/DateUtil.js +1 -1
  222. package/src/sap/ui/mdc/util/FilterUtil.js +1 -1
  223. package/src/sap/ui/mdc/util/FormatUtil.js +3 -3
  224. package/src/sap/ui/mdc/util/IdentifierUtil.js +6 -6
  225. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  226. package/src/sap/ui/mdc/util/PropertyHelper.js +148 -325
  227. package/src/sap/ui/mdc/util/TypeUtil.js +5 -4
  228. package/src/sap/ui/mdc/valuehelp/Dialog.js +12 -8
  229. package/src/sap/ui/mdc/valuehelp/Popover.js +14 -2
  230. package/src/sap/ui/mdc/valuehelp/base/Container.js +33 -1
  231. package/src/sap/ui/mdc/valuehelp/base/Content.js +36 -5
  232. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +2 -1
  233. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +43 -15
  234. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -1
  235. package/src/sap/ui/mdc/valuehelp/content/Bool.js +2 -1
  236. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +28 -32
  237. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +11 -5
  238. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +50 -10
  239. package/src/sap/ui/mdc/valuehelp/content/MTable.js +57 -26
  240. package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +3 -1
  241. package/test/sap/ui/mdc/testutils/opa/actions/OpenContextMenu.js +3 -3
  242. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsBase.js +3 -3
  243. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsViz.js +0 -0
  244. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsBase.js +1 -1
  245. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsViz.js +0 -0
  246. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ChartNew.js +0 -0
  247. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +289 -0
  248. package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +7 -7
  249. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +9 -9
  250. package/test/sap/ui/mdc/testutils/opa/filterbar/Util.js +12 -11
  251. package/test/sap/ui/mdc/testutils/opa/link/Actions.js +85 -0
  252. package/test/sap/ui/mdc/testutils/opa/link/Assertions.js +79 -0
  253. package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +112 -0
  254. package/test/sap/ui/mdc/testutils/opa/link/waitForLink.js +50 -0
  255. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +362 -233
  256. package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +27 -26
  257. package/test/sap/ui/mdc/testutils/opa/valueHelp/Actions.js +54 -0
  258. package/test/sap/ui/mdc/testutils/opa/valueHelp/Assertions.js +5 -0
  259. package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +40 -0
  260. package/test/sap/ui/mdc/testutils/opa/valueHelp/Util.js +28 -0
  261. package/src/sap/ui/mdc/ChartDelegateNew.js +0 -395
  262. package/src/sap/ui/mdc/ChartNew.js +0 -1114
  263. package/src/sap/ui/mdc/ChartNewRenderer.js +0 -91
  264. package/src/sap/ui/mdc/chart/DimensionItem.js +0 -281
  265. package/src/sap/ui/mdc/chart/MeasureItem.js +0 -318
  266. package/src/sap/ui/mdc/chart/MetadataDelegate.js +0 -31
  267. package/src/sap/ui/mdc/chart/SelectionHandler.js +0 -127
  268. package/src/sap/ui/mdc/chart/ToolbarHandler.js +0 -328
  269. package/src/sap/ui/mdc/chartNew/ChartTypeButtonNew.js +0 -295
  270. package/src/sap/ui/mdc/chartNew/DrillStackHandlerNew.js +0 -212
  271. package/src/sap/ui/mdc/chartNew/ItemNew.js +0 -72
  272. package/src/sap/ui/mdc/chartNew/SelectionDetailsActionsNew.js +0 -34
  273. package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +0 -91
  274. package/src/sap/ui/mdc/link/SelectionDialog.control.xml +0 -66
  275. package/src/sap/ui/mdc/link/SelectionDialog.js +0 -213
  276. package/src/sap/ui/mdc/link/SelectionDialogItem.js +0 -86
  277. package/src/sap/ui/mdc/odata/v4/ChartDelegateNew.js +0 -35
  278. package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +0 -1171
  279. package/src/sap/ui/mdc/p13n/panels/GroupPanel.js +0 -111
  280. package/src/sap/ui/mdc/p13n/panels/QueryPanel.js +0 -322
  281. package/src/sap/ui/mdc/p13n/panels/SortQueryPanel.js +0 -133
  282. package/src/sap/ui/mdc/p13n/panels/Wrapper.js +0 -203
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @param {object} [mSettings] Initial settings for the new control
28
28
  * @class A <code>FieldInfoBase</code> element is a base class that shows any kind of information related to the <code>Field</code> control, for example, navigation targets or contact details.
29
29
  * @extends sap.ui.mdc.Element
30
- * @version 1.96.5
30
+ * @version 1.99.0
31
31
  * @constructor
32
32
  * @private
33
33
  * @since 1.54.0
@@ -99,17 +99,21 @@ sap.ui.define([
99
99
  if (this._oPopover && this._oPopover.isOpen()) {
100
100
  return Promise.resolve();
101
101
  }
102
- return this.createPopover().then(function(oPopover) {
103
- // Note: it is not needed to destroy this._oPopover in exit as through addDependent() the popover
104
- // instance will be automatically destroyed once the FieldInfoBase instance is destroyed.
105
- this._oPopover = oPopover;
102
+ return this.checkDirectNavigation().then(function(bNavigated) {
103
+ return bNavigated ? Promise.resolve() : this.createPopover().then(function(oPopover) {
104
+ if (oPopover) {
105
+ // Note: it is not needed to destroy this._oPopover in exit as through addDependent() the popover
106
+ // instance will be automatically destroyed once the FieldInfoBase instance is destroyed.
107
+ this._oPopover = oPopover;
106
108
 
107
- this.addDependent(this._oPopover);
109
+ this.addDependent(this._oPopover);
108
110
 
109
- this._oPopover.openBy(oControl || oParent);
111
+ this._oPopover.openBy(oControl || oParent);
110
112
 
111
- this._oPopover.attachAfterOpen(function() {
112
- this.firePopoverAfterOpen();
113
+ this._oPopover.attachAfterOpen(function() {
114
+ this.firePopoverAfterOpen();
115
+ }.bind(this));
116
+ }
113
117
  }.bind(this));
114
118
  }.bind(this));
115
119
  };
@@ -125,6 +129,15 @@ sap.ui.define([
125
129
  throw new Error("sap.ui.mdc.field.FieldInfoBase: method getContent must be redefined");
126
130
  };
127
131
 
132
+ /**
133
+ * Checks if there is a direct navigation or if there is a popover to be opened.
134
+ * @returns {Promise} Resolves a Boolean value
135
+ * @protected
136
+ */
137
+ FieldInfoBase.prototype.checkDirectNavigation = function() {
138
+ throw new Error("sap.ui.mdc.field.FieldInfoBase: method checkDirectNavigation must be redefined");
139
+ };
140
+
128
141
  // ----------------------- Protected methods --------------------------------------------
129
142
 
130
143
  /**
@@ -144,10 +157,10 @@ sap.ui.define([
144
157
  */
145
158
  FieldInfoBase.prototype.createPopover = function() {
146
159
  var oPopover;
160
+
147
161
  return this.getContent(function () {
148
162
  return oPopover;
149
163
  }).then(function(oPanel) {
150
-
151
164
  oPopover = new ResponsivePopover(this.getId() + "-popover", {
152
165
  contentWidth: "380px",
153
166
  horizontalScrolling: false,
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @param {object} [mSettings] Initial settings for the new control
24
24
  * @class The <code>FieldInput</code> control is used to render an input field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
25
25
  * @extends sap.m.Input
26
- * @version 1.96.5
26
+ * @version 1.99.0
27
27
  * @constructor
28
28
  * @abstract
29
29
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @class Functions uses in <code>FieldInputRenderer</code> and <code>FieldMultiInputRenderer</code> to adjust aria attributes.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.96.5
19
+ * @version 1.99.0
20
20
  * @since 1.86.0
21
21
  * @alias sap.ui.mdc.field.FieldInputRenderUtil
22
22
  *
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @param {object} [mSettings] Initial settings for the new control
24
24
  * @class The <code>FieldMultiInput</code> control is used to render a multi-input field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
25
25
  * @extends sap.m.MultiInput
26
- * @version 1.96.5
26
+ * @version 1.99.0
27
27
  * @constructor
28
28
  * @abstract
29
29
  * @private
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  * @param {object} [mSettings] Initial settings for the new control
75
75
  * @class A field help used in the <code>FieldHelp</code> association of controls based on {@link sap.ui.mdc.field.FieldBase FieldBase} that shows a value help dialog.
76
76
  * @extends sap.ui.mdc.field.FieldHelpBase
77
- * @version 1.96.5
77
+ * @version 1.99.0
78
78
  * @constructor
79
79
  * @private
80
80
  * @ui5-restricted sap.fe
@@ -648,11 +648,11 @@ sap.ui.define([
648
648
 
649
649
  if (oWrapper) {
650
650
  oWrapper.fieldHelpOpen(false);
651
- _updateSelectedItems.call(this);
652
- }
653
- this._aOldConditions = this.getConditions();
654
- oDialog.open();
655
- this._bDialogOpen = true; // to know already during opening animation
651
+ _updateSelectedItems.call(this);
652
+ }
653
+ this._aOldConditions = this.getConditions();
654
+ oDialog.open();
655
+ this._bDialogOpen = true; // to know already during opening animation
656
656
  } else {
657
657
  this._bOpen = true;
658
658
  }
@@ -2411,6 +2411,7 @@ sap.ui.define([
2411
2411
 
2412
2412
  function _handleDialogAfterClose(oEvent) {
2413
2413
 
2414
+ var aConditions = this.getConditions(); // get conditions here as they might be modified in a close handler
2414
2415
  this._bDialogOpen = false;
2415
2416
  this._aOldConditions = undefined;
2416
2417
 
@@ -2419,7 +2420,6 @@ sap.ui.define([
2419
2420
  if (this._bOK) {
2420
2421
  // fire select event after Dialog is closed because inside applyFocusInfo is called
2421
2422
  // that might reset cursor and selection of field -> update it after this
2422
- var aConditions = this.getConditions();
2423
2423
  this.fireSelect({conditions: aConditions, add: false, close: true});
2424
2424
  }
2425
2425
  this._bOK = undefined;
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @param {object} [mSettings] Initial settings for the new control
24
24
  * @class Base type for <code>FieldValueHelp</code> content control wrapper.
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.96.5
26
+ * @version 1.99.0
27
27
  * @constructor
28
28
  * @abstract
29
29
  * @private
@@ -75,6 +75,26 @@ sap.ui.define([
75
75
 
76
76
  };
77
77
 
78
+ /**
79
+ * Changes the search string.
80
+ *
81
+ * If <code>$search</code> is used, depending on which back-end service is used, the search string might need to be escaped.
82
+ *
83
+ * @param {object} oPayload Payload for delegate
84
+ * @param {boolean} bTypeahead <code>true</code> if the search is called for a type-ahead
85
+ * @param {string} sSearch Search string
86
+ * @returns {string} Search string to use
87
+ * @since 1.97.0
88
+ * @private
89
+ * @ui5-restricted sap.fe
90
+ * @MDC_PUBLIC_CANDIDATE
91
+ */
92
+ FieldValueHelpDelegate.adjustSearch = function(oPayload, bTypeahead, sSearch) {
93
+
94
+ return sSearch;
95
+
96
+ };
97
+
78
98
  /**
79
99
  * Executes a filter in a <code>ListBinding</code>.
80
100
  *
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @param {object} [mSettings] Initial settings for the new control
35
35
  * @class Wrapper to use a <code>sap.m.Table</code> control as content of a <code>FieldValueHelp</code> element
36
36
  * @extends sap.ui.mdc.field.FieldValueHelpTableWrapperBase
37
- * @version 1.96.5
37
+ * @version 1.99.0
38
38
  * @constructor
39
39
  * @private
40
40
  * @ui5-restricted sap.fe
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @param {object} [mSettings] Initial settings for the new control
41
41
  * @class Wrapper to use a <code>sap.m.Table</code> control as content of a <code>FieldValueHelp</code> element
42
42
  * @extends sap.ui.mdc.field.FieldValueHelpTableWrapperBase
43
- * @version 1.96.5
43
+ * @version 1.99.0
44
44
  * @constructor
45
45
  * @private
46
46
  * @ui5-restricted sap.fe
@@ -343,7 +343,7 @@ sap.ui.define([
343
343
 
344
344
  FieldValueHelpMdcTableWrapper.prototype._handleSelectionChange = function (oEvent) {
345
345
  var bIsTableReady = this._isTableReady();
346
- return this._bIsModifyingTableSelection || !bIsTableReady || this._bBusy ? undefined : this._fireSelectionChange.call(this, false);
346
+ return this._iRunningTableSelectionUpdates || !bIsTableReady || this._bBusy ? undefined : this._fireSelectionChange.call(this, false);
347
347
  };
348
348
 
349
349
  FieldValueHelpMdcTableWrapper.prototype._getTableItems = function (bSelectedOnly, bNoVirtual) {
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @param {object} [mSettings] Initial settings for the new control
48
48
  * @class Wrapper to use a table control as content of a <code>FieldValueHelp</code> element
49
49
  * @extends sap.ui.mdc.field.FieldValueHelpContentWrapperBase
50
- * @version 1.96.5
50
+ * @version 1.99.0
51
51
  * @constructor
52
52
  * @private
53
53
  * @experimental As of version 1.88
@@ -90,6 +90,7 @@ sap.ui.define([
90
90
  this._oPromises = {};
91
91
  this._oTableDelegate = {/*onfocusin: this._handleTableEvent, */onsapprevious: this._handleTableEvent, onsapnext: this._handleTableEvent, cellClick: this._handleTableEvent};
92
92
 
93
+ this._iRunningTableSelectionUpdates = 0;
93
94
  };
94
95
 
95
96
  FieldValueHelpTableWrapperBase.prototype.exit = function() {
@@ -107,6 +108,8 @@ sap.ui.define([
107
108
  delete this._oTablePromiseResolve;
108
109
  delete this._bTableResolved;
109
110
 
111
+ this._iRunningTableSelectionUpdates = null;
112
+
110
113
  FieldValueHelpContentWrapperBase.prototype.exit.apply(this, arguments);
111
114
  };
112
115
 
@@ -561,6 +564,7 @@ sap.ui.define([
561
564
  oListBinding.suspend();
562
565
  }
563
566
 
567
+ sSearch = oDelegate.delegate.adjustSearch(oDelegate.payload, this._bSuggestion, sSearch);
564
568
  oDelegate.delegate.executeSearch(oDelegate.payload, oListBinding, sSearch);
565
569
  Log.info("ValueHelp-Search: " + sSearch);
566
570
  }
@@ -800,7 +804,7 @@ sap.ui.define([
800
804
  var aTableItems = this._getTableItems();
801
805
  var bUpdate = false;
802
806
 
803
- this._bIsModifyingTableSelection = true;
807
+ this._iRunningTableSelectionUpdates = this._iRunningTableSelectionUpdates + 1 || 1;
804
808
 
805
809
  for (var j = 0; j < aTableItems.length; j++) {
806
810
  var oTableItem = aTableItems[j];
@@ -835,7 +839,7 @@ sap.ui.define([
835
839
  }
836
840
 
837
841
  this._oTableModificationPromise = Promise.all(aTableModifications).then(function () {
838
- this._bIsModifyingTableSelection = false;
842
+ this._iRunningTableSelectionUpdates = this._iRunningTableSelectionUpdates - 1;
839
843
  }.bind(this));
840
844
  }
841
845
  };
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @param {object} [mSettings] Initial settings for the new control
32
32
  * @class Wrapper to use a <code>sap.m.Table</code> control as content of a <code>FieldValueHelp</code> element
33
33
  * @extends sap.ui.mdc.field.FieldValueHelpTableWrapperBase
34
- * @version 1.96.5
34
+ * @version 1.99.0
35
35
  * @constructor
36
36
  * @private
37
37
  * @ui5-restricted sap.ui.mdc
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @param {object} [mSettings] Initial settings for the new control
21
21
  * @class The <code>InParameter</code> element is used in the {@link sap.ui.mdc.field.FieldValueHelp FieldValueHelp} element.
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.96.5
23
+ * @version 1.99.0
24
24
  * @constructor
25
25
  * @abstract
26
26
  * @private
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @param {object} [mSettings] Initial settings for the new control
40
40
  * @class A field help used in the <code>FieldHelp</code> association of controls based on {@link sap.ui.mdc.field.FieldBase FieldBase} that shows a list of items.
41
41
  * @extends sap.ui.mdc.field.FieldHelpBase
42
- * @version 1.96.5
42
+ * @version 1.99.0
43
43
  * @constructor
44
44
  * @private
45
45
  * @ui5-restricted sap.fe
@@ -257,7 +257,15 @@ sap.ui.define([
257
257
 
258
258
  ListFieldHelp.prototype.open = function(bSuggestion) {
259
259
 
260
- return FieldHelpBase.prototype.open.apply(this, arguments);
260
+ FieldHelpBase.prototype.open.apply(this, arguments);
261
+
262
+ var oPopover = this._getPopover();
263
+ var oControl = this._getControlForSuggestion();
264
+ if (oPopover && oControl) {
265
+ // make popver not smaller than Field
266
+ var sWidth = (oControl.$().outerWidth() / parseFloat(mLibrary.BaseFontSize)) + "rem"; // same logic as in ComboBox
267
+ oPopover.setContentMinWidth(sWidth);
268
+ }
261
269
 
262
270
  };
263
271
 
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.ListItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.96.5
26
+ * @version 1.99.0
27
27
  *
28
28
  * @private
29
29
  * @ui5-restricted sap.fe
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @param {object} [mSettings] Initial settings for the new control
21
21
  * @class Base type for <code>MultiValueFieldItem</code> control.
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.96.5
23
+ * @version 1.99.0
24
24
  * @constructor
25
25
  * @abstract
26
26
  * @private
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @param {object} [mSettings] Initial settings for the new control
23
23
  * @class The <code>OutParameter</code> element is used in the {@link sap.ui.mdc.field.FieldValueHelp FieldValueHelp} element.
24
24
  * @extends sap.ui.mdc.field.InParameter
25
- * @version 1.96.5
25
+ * @version 1.99.0
26
26
  * @constructor
27
27
  * @abstract
28
28
  * @private
@@ -0,0 +1,70 @@
1
+ /*
2
+ * ! OpenUI5
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ 'sap/m/Token',
9
+ 'sap/ui/mdc/field/TokenDisplayRenderer'
10
+ ], function(
11
+ Token,
12
+ TokenDisplayRenderer
13
+ ) {
14
+ "use strict";
15
+
16
+ /**
17
+ * Constructor for a new <code>TokenDisplay</code>.
18
+ *
19
+ * The <code>TokenDisplay</code> control enhances the {@link sap.m.Token Token} control to add ARIA attributes
20
+ * and other {@link sap.ui.mdc.field.FieldBase FieldBase}-specific logic.
21
+ *
22
+ * @param {string} [sId] ID for the new control, generated automatically if no ID is given
23
+ * @param {object} [mSettings] Initial settings for the new control
24
+ * @class The <code>TokenDisplay</code> control is used to render a field inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
25
+ * @extends sap.m.Token
26
+ * @version 1.99.0
27
+ * @constructor
28
+ * @abstract
29
+ * @private
30
+ * @ui5-restricted sap.ui.mdc.field.TokenDisplay
31
+ * @since 1.99.0
32
+ * @alias sap.ui.mdc.field.TokenDisplay
33
+ * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
34
+ */
35
+ var TokenDisplay = Token.extend("sap.ui.mdc.field.TokenDisplay", /** @lends sap.ui.mdc.field.TokenDisplay */
36
+ {
37
+ metadata: {
38
+ library: "sap.ui.mdc",
39
+ properties: {
40
+ _delimiter: {
41
+ type: "string",
42
+ defaultValue: "·",
43
+ visibility: "hidden"
44
+ }
45
+ }
46
+ },
47
+ renderer: TokenDisplayRenderer
48
+ });
49
+
50
+ TokenDisplay.prototype.init = function() {
51
+ Token.prototype.init.apply(this, arguments);
52
+
53
+ if (!this._oResourceBundle) {
54
+ this._oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.ui.mdc");
55
+ }
56
+ this.setProperty("_delimiter", this._oResourceBundle.getText("field.SEPARATOR").trim());
57
+ };
58
+
59
+ // make the TokenDisplay instance not selectabled
60
+ TokenDisplay.prototype.getSelected = function() {
61
+ return false;
62
+ };
63
+
64
+ TokenDisplay.prototype.focus = function() {
65
+ return;
66
+ };
67
+
68
+ return TokenDisplay;
69
+
70
+ });
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define(['sap/ui/core/Renderer', 'sap/m/TokenRenderer'],
8
+ function(Renderer, TokenRenderer) {
9
+ "use strict";
10
+
11
+ /**
12
+ * TokenDisplay renderer.
13
+ * @namespace
14
+ */
15
+ var TokenDisplayRenderer = Renderer.extend(TokenRenderer);
16
+ TokenDisplayRenderer.apiVersion = 2;
17
+
18
+ TokenDisplayRenderer._setAttributes = function(oRm, oControl) {
19
+ TokenRenderer._setAttributes(oRm, oControl);
20
+ oRm.attr("delimiter", oControl.getProperty("_delimiter"));
21
+ };
22
+
23
+ return TokenDisplayRenderer;
24
+ });
@@ -0,0 +1,80 @@
1
+ /*
2
+ * ! OpenUI5
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ 'sap/m/Tokenizer',
9
+ 'sap/ui/mdc/field/TokenizerDisplayRenderer',
10
+ 'sap/ui/events/KeyCodes',
11
+ 'sap/m/library'
12
+ ], function(
13
+ Tokenizer,
14
+ TokenizerDisplayRenderer,
15
+ KeyCodes,
16
+ mLibrary
17
+ ) {
18
+ "use strict";
19
+
20
+ var EmptyIndicatorMode = mLibrary.EmptyIndicatorMode;
21
+
22
+ /**
23
+ * Constructor for a new <code>TokenizerDisplay</code>.
24
+ *
25
+ * The <code>TokenizerDisplay</code> control enhances the {@link sap.m.Tokenizer Tokenizer} control to support diaply only tokens.
26
+ *
27
+ * @param {string} [sId] ID for the new control, generated automatically if no ID is given
28
+ * @param {object} [mSettings] Initial settings for the new control
29
+ * @class The <code>TokenizerDisplay</code> control is used to render a Tokenizer inside a control based on {@link sap.ui.mdc.field.FieldBase FieldBase}.
30
+ * @extends sap.m.Tokenizer
31
+ * @version 1.99.0
32
+ * @constructor
33
+ * @abstract
34
+ * @private
35
+ * @ui5-restricted sap.ui.mdc.field.TokenizerDisplay
36
+ * @since 1.99.0
37
+ * @alias sap.ui.mdc.field.TokenizerDisplay
38
+ * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
39
+ */
40
+ var TokenizerDisplay = Tokenizer.extend("sap.ui.mdc.field.TokenizerDisplay", /** @lends sap.ui.mdc.field.TokenizerDisplay */
41
+ {
42
+ metadata: {
43
+ library: "sap.ui.mdc",
44
+ properties: {
45
+
46
+ /**
47
+ * Specifies if an empty indicator should be displayed when there is no token.
48
+ */
49
+ emptyIndicatorMode: { type: "sap.m.EmptyIndicatorMode", group: "Appearance", defaultValue: EmptyIndicatorMode.Off }
50
+
51
+ }
52
+ },
53
+ renderer: TokenizerDisplayRenderer
54
+ });
55
+
56
+ TokenizerDisplay.prototype.init = function() {
57
+ Tokenizer.prototype.init.apply(this, arguments);
58
+
59
+ this.allowTextSelection(true);
60
+ this.addStyleClass("sapUiMdcTokenizerDisplay");
61
+ };
62
+
63
+ TokenizerDisplay.prototype.onkeydown = function(oEvent) {
64
+ Tokenizer.prototype.onkeydown.call(this, oEvent);
65
+
66
+ if (!this.getEnabled()) {
67
+ return;
68
+ }
69
+
70
+ if (oEvent.which === KeyCodes.ENTER) {
71
+ if (this.getHiddenTokensCount() > 0) {
72
+ this._handleNMoreIndicatorPress();
73
+ }
74
+ }
75
+
76
+ };
77
+
78
+ return TokenizerDisplay;
79
+
80
+ });
@@ -0,0 +1,69 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define(['sap/ui/core/Renderer', 'sap/m/TokenizerRenderer', 'sap/m/library', 'sap/ui/core/Core'],
8
+ function(Renderer, TokenizerRenderer, mLibrary, Core) {
9
+ "use strict";
10
+
11
+ var EmptyIndicatorMode = mLibrary.EmptyIndicatorMode;
12
+
13
+ // shortcut for library resource bundle
14
+ var oRb = Core.getLibraryResourceBundle("sap.m");
15
+
16
+ /**
17
+ * TokenizerDisplay renderer.
18
+ * @namespace
19
+ */
20
+ var TokenizerDisplayRenderer = Renderer.extend(TokenizerRenderer);
21
+ TokenizerDisplayRenderer.apiVersion = 2;
22
+
23
+ TokenizerDisplayRenderer._renderIndicator = function(oRm, oControl){
24
+ TokenizerRenderer._renderIndicator.apply(this, arguments);
25
+
26
+ //***** add emptyIndicator */
27
+ if (oControl.getEmptyIndicatorMode() !== EmptyIndicatorMode.Off && oControl.getTokens().length == 0) {
28
+ this._renderEmptyIndicator(oRm, oControl);
29
+ }
30
+ };
31
+
32
+ TokenizerDisplayRenderer._renderTabIndex = function(oRm, oControl) {
33
+ oRm.attr("tabindex", "-1");
34
+ };
35
+
36
+ TokenizerDisplayRenderer._renderIndicatorTabIndex = function(oRm, oControl) {
37
+ oRm.attr("tabindex", "0");
38
+ };
39
+
40
+
41
+ /**
42
+ * Renders the empty text indicator.
43
+ *
44
+ * @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
45
+ * @param {sap.ui.mdc.field.TokenizerDisplay} oControl An object representation of the control that should be rendered.
46
+ */
47
+ TokenizerDisplayRenderer._renderEmptyIndicator = function(oRm, oControl) {
48
+ oRm.openStart("span");
49
+ oRm.class("sapMEmptyIndicator");
50
+ if (oControl.getEmptyIndicatorMode() === EmptyIndicatorMode.Auto) {
51
+ oRm.class("sapMEmptyIndicatorAuto");
52
+ }
53
+ oRm.openEnd();
54
+ oRm.openStart("span");
55
+ oRm.attr("aria-hidden", true);
56
+ oRm.openEnd();
57
+ oRm.text(oRb.getText("EMPTY_INDICATOR"));
58
+ oRm.close("span");
59
+ //Empty space text to be announced by screen readers
60
+ oRm.openStart("span");
61
+ oRm.class("sapUiPseudoInvisibleText");
62
+ oRm.openEnd();
63
+ oRm.text(oRb.getText("EMPTY_INDICATOR_TEXT"));
64
+ oRm.close("span");
65
+ oRm.close("span");
66
+ };
67
+
68
+ return TokenizerDisplayRenderer;
69
+ });
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.XMLComposite
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.96.5
40
+ * @version 1.99.0
41
41
  *
42
42
  * @constructor
43
43
  * @alias sap.ui.mdc.field.ValueHelpPanel
@@ -124,6 +124,7 @@ sap.ui.define([
124
124
 
125
125
  if (!this._oTokenizer) {
126
126
  this._oTokenizer = this.byId("VHPTokenizer");
127
+ this._oTokenizer.addAriaDescribedBy( this._oTokenizer.getTokensInfoId());
127
128
  this._oTokenizer._oScroller.setHorizontal(true);
128
129
  }
129
130
  this._oTokenizerPanel = this.byId("VHPTokenizerPanel");
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  return [null];
35
35
  },
36
36
  getUseDefaultFieldHelp: function() {
37
- return { name: "bool", oneOperatorSingle: true, oneOperatorMulti: true };
37
+ return { name: "bool", oneOperatorSingle: true, oneOperatorMulti: true, single: true, multi: true };
38
38
  },
39
39
  createEditMultiValue: function() {
40
40
  throw new Error("sap.ui.mdc.field.content.BooleanContent - createEditMultiValue not defined!");