@openui5/sap.ui.rta 1.120.6 → 1.121.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 (164) hide show
  1. package/.reuse/dep5 +23 -21
  2. package/THIRDPARTY.txt +6 -43
  3. package/package.json +6 -6
  4. package/src/sap/ui/rta/.library +1 -1
  5. package/src/sap/ui/rta/Client.js +1 -1
  6. package/src/sap/ui/rta/RuntimeAuthoring.js +507 -759
  7. package/src/sap/ui/rta/Utils.js +1 -146
  8. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +1 -1
  9. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  10. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +3 -3
  11. package/src/sap/ui/rta/appVariant/Utils.js +3 -3
  12. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +5 -3
  13. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_bg.properties +1 -1
  14. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_en_US_saprigi.properties +27 -27
  15. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_et.properties +1 -1
  16. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fi.properties +1 -1
  17. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_fr.properties +1 -1
  18. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_kk.properties +1 -1
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_lv.properties +1 -1
  20. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_mk.properties +1 -1
  21. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_ru.properties +1 -1
  22. package/src/sap/ui/rta/appVariant/manageApps/webapp/i18n/i18n_th.properties +1 -1
  23. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  24. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  25. package/src/sap/ui/rta/command/AddXML.js +1 -1
  26. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +3 -3
  27. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  28. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  29. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  30. package/src/sap/ui/rta/command/Combine.js +1 -1
  31. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  32. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  33. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  34. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  35. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +7 -5
  36. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  37. package/src/sap/ui/rta/command/ControlVariantSwitch.js +10 -4
  38. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  39. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  40. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  41. package/src/sap/ui/rta/command/LREPSerializer.js +4 -3
  42. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  43. package/src/sap/ui/rta/command/Move.js +1 -1
  44. package/src/sap/ui/rta/command/Property.js +1 -1
  45. package/src/sap/ui/rta/command/Remove.js +1 -1
  46. package/src/sap/ui/rta/command/Rename.js +1 -1
  47. package/src/sap/ui/rta/command/Resize.js +1 -1
  48. package/src/sap/ui/rta/command/Reveal.js +1 -1
  49. package/src/sap/ui/rta/command/Settings.js +1 -1
  50. package/src/sap/ui/rta/command/Split.js +1 -1
  51. package/src/sap/ui/rta/command/Stack.js +23 -1
  52. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  53. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  54. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  55. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  56. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  57. package/src/sap/ui/rta/enablement/elementActionTest.js +180 -258
  58. package/src/sap/ui/rta/library.js +3 -2
  59. package/src/sap/ui/rta/messagebundle.properties +8 -0
  60. package/src/sap/ui/rta/messagebundle_ar.properties +4 -0
  61. package/src/sap/ui/rta/messagebundle_bg.properties +5 -1
  62. package/src/sap/ui/rta/messagebundle_ca.properties +4 -0
  63. package/src/sap/ui/rta/messagebundle_cnr.properties +5 -1
  64. package/src/sap/ui/rta/messagebundle_cs.properties +4 -0
  65. package/src/sap/ui/rta/messagebundle_cy.properties +8 -4
  66. package/src/sap/ui/rta/messagebundle_da.properties +4 -0
  67. package/src/sap/ui/rta/messagebundle_de.properties +5 -1
  68. package/src/sap/ui/rta/messagebundle_el.properties +4 -0
  69. package/src/sap/ui/rta/messagebundle_en.properties +4 -0
  70. package/src/sap/ui/rta/messagebundle_en_GB.properties +4 -0
  71. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +322 -318
  72. package/src/sap/ui/rta/messagebundle_es.properties +4 -0
  73. package/src/sap/ui/rta/messagebundle_es_MX.properties +5 -1
  74. package/src/sap/ui/rta/messagebundle_et.properties +6 -2
  75. package/src/sap/ui/rta/messagebundle_fi.properties +4 -0
  76. package/src/sap/ui/rta/messagebundle_fr.properties +5 -1
  77. package/src/sap/ui/rta/messagebundle_fr_CA.properties +4 -0
  78. package/src/sap/ui/rta/messagebundle_hi.properties +4 -0
  79. package/src/sap/ui/rta/messagebundle_hr.properties +6 -2
  80. package/src/sap/ui/rta/messagebundle_hu.properties +4 -0
  81. package/src/sap/ui/rta/messagebundle_id.properties +5 -1
  82. package/src/sap/ui/rta/messagebundle_it.properties +10 -6
  83. package/src/sap/ui/rta/messagebundle_iw.properties +9 -5
  84. package/src/sap/ui/rta/messagebundle_ja.properties +4 -0
  85. package/src/sap/ui/rta/messagebundle_kk.properties +4 -0
  86. package/src/sap/ui/rta/messagebundle_ko.properties +4 -0
  87. package/src/sap/ui/rta/messagebundle_lt.properties +5 -1
  88. package/src/sap/ui/rta/messagebundle_lv.properties +11 -7
  89. package/src/sap/ui/rta/messagebundle_mk.properties +15 -11
  90. package/src/sap/ui/rta/messagebundle_ms.properties +5 -1
  91. package/src/sap/ui/rta/messagebundle_nl.properties +4 -0
  92. package/src/sap/ui/rta/messagebundle_no.properties +4 -0
  93. package/src/sap/ui/rta/messagebundle_pl.properties +5 -1
  94. package/src/sap/ui/rta/messagebundle_pt.properties +4 -0
  95. package/src/sap/ui/rta/messagebundle_pt_PT.properties +4 -0
  96. package/src/sap/ui/rta/messagebundle_ro.properties +8 -4
  97. package/src/sap/ui/rta/messagebundle_ru.properties +5 -1
  98. package/src/sap/ui/rta/messagebundle_sh.properties +5 -1
  99. package/src/sap/ui/rta/messagebundle_sk.properties +4 -0
  100. package/src/sap/ui/rta/messagebundle_sl.properties +7 -3
  101. package/src/sap/ui/rta/messagebundle_sr.properties +6 -2
  102. package/src/sap/ui/rta/messagebundle_sv.properties +4 -0
  103. package/src/sap/ui/rta/messagebundle_th.properties +9 -5
  104. package/src/sap/ui/rta/messagebundle_tr.properties +7 -3
  105. package/src/sap/ui/rta/messagebundle_uk.properties +5 -1
  106. package/src/sap/ui/rta/messagebundle_vi.properties +4 -0
  107. package/src/sap/ui/rta/messagebundle_zh_CN.properties +5 -1
  108. package/src/sap/ui/rta/messagebundle_zh_TW.properties +6 -2
  109. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +16 -11
  110. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  111. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  112. package/src/sap/ui/rta/plugin/CompVariant.js +43 -1
  113. package/src/sap/ui/rta/plugin/ControlVariant.js +3 -2
  114. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  115. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  116. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  117. package/src/sap/ui/rta/plugin/EasyAdd.js +2 -2
  118. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  119. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  120. package/src/sap/ui/rta/plugin/Plugin.js +18 -10
  121. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  122. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  123. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  124. package/src/sap/ui/rta/plugin/RenameHandler.js +2 -2
  125. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  126. package/src/sap/ui/rta/plugin/Selection.js +24 -9
  127. package/src/sap/ui/rta/plugin/Settings.js +17 -15
  128. package/src/sap/ui/rta/plugin/Split.js +1 -1
  129. package/src/sap/ui/rta/plugin/Stretch.js +14 -13
  130. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  131. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  132. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +134 -67
  133. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  134. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +6 -2
  135. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
  136. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +57 -47
  137. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +21 -8
  138. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +56 -41
  139. package/src/sap/ui/rta/service/Action.js +1 -1
  140. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  141. package/src/sap/ui/rta/service/Outline.js +22 -18
  142. package/src/sap/ui/rta/service/Property.js +1 -1
  143. package/src/sap/ui/rta/service/Selection.js +1 -1
  144. package/src/sap/ui/rta/service/SupportTools.js +23 -19
  145. package/src/sap/ui/rta/toolbar/Adaptation.js +16 -18
  146. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  147. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  148. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  149. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  150. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  151. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  152. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
  153. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  154. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +12 -5
  155. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  156. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  157. package/src/sap/ui/rta/util/ReloadManager.js +19 -59
  158. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  159. package/src/sap/ui/rta/util/ServiceManager.js +193 -0
  160. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  161. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +90 -45
  162. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +32 -25
  163. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +98 -132
  164. package/LICENSES/BSD-2-Clause.txt +0 -22
@@ -6,7 +6,7 @@
6
6
  xmlns:layout="sap.ui.layout">
7
7
  <Dialog
8
8
  id="sapUiRtaAddIFrameDialog"
9
- title="{/text/dialogTitle}"
9
+ title="{dialogInfo>/text/dialogTitle}"
10
10
  verticalScrolling="true"
11
11
  resizable="false"
12
12
  class="sapUiRtaAddIFrameDialog"
@@ -24,11 +24,11 @@
24
24
  id="sapUiRtaAddIFrameDialog_VL"
25
25
  width="100%"
26
26
  class="sapUiRtaAddIFrameDialogVlWrapper">
27
- <VBox visible="{/asContainer/value}" class="sapUiRtaAddIFrameDialogContainerTitleVBox" renderType="Bare">
27
+ <VBox visible="{dialogInfo>/asContainer/value}" class="sapUiRtaAddIFrameDialogContainerTitleVBox" renderType="Bare">
28
28
  <items>
29
29
  <Label
30
30
  id="sapUiRtaAddIFrameDialog_ContainerTitleLabel"
31
- text="{/text/containerTitleLabel}"
31
+ text="{dialogInfo>/text/containerTitleLabel}"
32
32
  class="sapUiRtaAddIFrameDialogContainerTitleLabel"
33
33
  design="Bold"
34
34
  />
@@ -36,18 +36,18 @@
36
36
  id="sapUiRtaAddIFrameDialog_ContainerTitle_TitleInput"
37
37
  class="sapUiRtaAddIFrameDialogContainerTitleInput"
38
38
  value="{
39
- path : '/title/value',
39
+ path : 'dialogInfo>/title/value',
40
40
  type : 'sap.ui.model.type.String'
41
41
  }"
42
42
  liveChange=".onContainerTitleChange"
43
43
  valueLiveUpdate="true"
44
- valueState="{/title/valueState}"
44
+ valueState="{dialogInfo>/title/valueState}"
45
45
  />
46
46
  </items>
47
47
  </VBox>
48
48
  <VBox>
49
49
  <items>
50
- <Label id="sapUiRtaAddIFrameDialog_SizeTitle" text="{/text/sizeTitle}" class="sapUiRtaAddIFrameDialogSizeTitle" design="Bold"/>
50
+ <Label id="sapUiRtaAddIFrameDialog_SizeTitle" text="{dialogInfo>/text/sizeTitle}" class="sapUiRtaAddIFrameDialogSizeTitle" design="Bold"/>
51
51
  <layout:Grid
52
52
  id="sapUiRtaAddIFrameDialog_SizeGrid"
53
53
  containerQuery="true" position="Center"
@@ -61,22 +61,22 @@
61
61
  >
62
62
  <form:content>
63
63
  <Label id="sapUiRtaAddIFrameDialog_WidthLabel" class="sapUiRtaAddIFrameDialogWidthLabel" labelFor="sapUiRtaAddIFrameDialog_WidthInput"
64
- text="{/text/widthLabel}">
64
+ text="{dialogInfo>/text/widthLabel}">
65
65
  </Label>
66
66
  <Input id="sapUiRtaAddIFrameDialog_WidthInput" class="sapUiRtaAddIFrameDialogWidthInput"
67
- value="{path: '/frameWidth/value', type: 'FloatType', constraints: {minimum: 1}}"
68
- valueState="{/frameWidth/valueState}"/>
67
+ value="{path: 'dialogInfo>/frameWidth/value', type: 'FloatType', constraints: {minimum: 1}}"
68
+ valueState="{dialogInfo>/frameWidth/valueState}"/>
69
69
  <Select
70
70
  id="sapUiRtaAddIFrameDialog_WidthUnit"
71
71
  class="sapUiRtaAddIFrameDialogWidthUnit"
72
72
  ariaLabelledBy="sapUiRtaAddIFrameDialog_WidthUnitLabel"
73
- selectedKey="{/frameWidthUnit/value}"
74
- items="{/unitsOfWidthMeasure}"
73
+ selectedKey="{dialogInfo>/frameWidthUnit/value}"
74
+ items="{dialogInfo>/unitsOfWidthMeasure}"
75
75
  showSecondaryValues= "true"
76
76
  columnRatio="1:5"
77
77
  width="auto"
78
78
  maxWidth="400px">
79
- <core:ListItem key="{unit}" text="{unit}" additionalText="{descriptionText}"/>
79
+ <core:ListItem key="{dialogInfo>unit}" text="{dialogInfo>unit}" additionalText="{dialogInfo>descriptionText}"/>
80
80
  </Select>
81
81
  </form:content>
82
82
  </form:SimpleForm>
@@ -88,22 +88,22 @@
88
88
  >
89
89
  <form:content>
90
90
  <Label id="sapUiRtaAddIFrameDialog_HeightLabel" class="sapUiRtaAddIFrameDialogHeightLabel" labelFor="sapUiRtaAddIFrameDialog_HeightInput"
91
- text="{/text/heightLabel}"/>
91
+ text="{dialogInfo>/text/heightLabel}"/>
92
92
  <Input id="sapUiRtaAddIFrameDialog_HeightInput" class="sapUiRtaAddIFrameDialogHeightInput"
93
- value="{path: '/frameHeight/value', type: 'FloatType', constraints: {minimum: 1}}"
94
- valueState="{/frameHeight/valueState}"/>
93
+ value="{path: 'dialogInfo>/frameHeight/value', type: 'FloatType', constraints: {minimum: 1}}"
94
+ valueState="{dialogInfo>/frameHeight/valueState}"/>
95
95
  <Select
96
96
  id="sapUiRtaAddIFrameDialog_HeightUnit"
97
97
  class="sapUiRtaAddIFrameDialogHeightUnit"
98
98
  ariaLabelledBy="sapUiRtaAddIFrameDialog_HeightUnitLabel"
99
- selectedKey="{/frameHeightUnit/value}"
99
+ selectedKey="{dialogInfo>/frameHeightUnit/value}"
100
100
  forceSelection="false"
101
- items="{/unitsOfHeightMeasure}"
101
+ items="{dialogInfo>/unitsOfHeightMeasure}"
102
102
  showSecondaryValues= "true"
103
103
  columnRatio="1:5"
104
104
  width="auto"
105
105
  maxWidth="400px">
106
- <core:ListItem key="{unit}" text="{= ${unit} === 'vh' ? '%' : ${unit}}" additionalText="{descriptionText}"/>
106
+ <core:ListItem key="{dialogInfo>unit}" text="{= ${dialogInfo>unit} === 'vh' ? '%' : ${dialogInfo>unit}}" additionalText="{dialogInfo>descriptionText}"/>
107
107
  </Select>
108
108
  </form:content>
109
109
  </form:SimpleForm>
@@ -116,7 +116,7 @@
116
116
  containerQuery="true"
117
117
  position="Right"
118
118
  defaultSpan="XL12 L12 M12 S12">
119
- <Text id="sapUiRtaAddIFrameDialog_PercentText" text="{/text/percentUseLabel}" class="sapUiRtaAddIFrameDialogPercentText"/>
119
+ <Text id="sapUiRtaAddIFrameDialog_PercentText" text="{dialogInfo>/text/percentUseLabel}" class="sapUiRtaAddIFrameDialogPercentText"/>
120
120
  </layout:Grid>
121
121
  <layout:Grid
122
122
  id="sapUiRtaAddIFrameDialog_EditGrid"
@@ -125,7 +125,7 @@
125
125
  defaultSpan="XL6 L6 M6 S12">
126
126
  <VBox id="sapUiRtaAddIFrameDialog_Parameters" class="sapUiRtaAddIFrameDialogParameters" renderType="Bare">
127
127
  <items>
128
- <Label id="sapUiRtaAddIFrameDialog_ParametersLabel" text="{/text/parametersLabel}" labelFor="sapUiRtaAddIFrameDialog_ParameterTable"
128
+ <Label id="sapUiRtaAddIFrameDialog_ParametersLabel" text="{dialogInfo>/text/parametersLabel}" labelFor="sapUiRtaAddIFrameDialog_ParameterTable"
129
129
  class="sapUiRtaAddIFrameDialogParametersLabel" design="Bold"/>
130
130
  <SearchField
131
131
  id="sapUiRtaAddIFrameDialog_ParametersSearch"
@@ -135,25 +135,25 @@
135
135
  showSearchButton="false"
136
136
  />
137
137
  <ScrollContainer height="12rem" vertical="true" >
138
- <Table id="sapUiRtaAddIFrameDialog_ParameterTable" items="{/parameters/value}" ariaLabelledBy="sapUiRtaAddIFrameDialog_ParametersLabel"
138
+ <Table id="sapUiRtaAddIFrameDialog_ParameterTable" items="{dialogInfo>/parameters/value}" ariaLabelledBy="sapUiRtaAddIFrameDialog_ParametersLabel"
139
139
  class="sapUiSizeCompact sapUiRtaAddIFrameDialogParameterTable" sticky="ColumnHeaders">
140
140
  <columns>
141
141
  <Column>
142
142
  <header>
143
- <Label id="sapUiRtaAddIFrameDialog_ParameterLabel" class="sapUiRtaAddIFrameDialogParameterLabel" text="{/text/columnParameterLabel}"/>
143
+ <Label id="sapUiRtaAddIFrameDialog_ParameterLabel" class="sapUiRtaAddIFrameDialogParameterLabel" text="{dialogInfo>/text/columnParameterLabel}"/>
144
144
  </header>
145
145
  </Column>
146
146
  <Column>
147
147
  <header>
148
- <Label id="sapUiRtaAddIFrameDialog_ValueLabel" class="sapUiRtaAddIFrameDialog_ValueLabel" text="{/text/columnUiValueLabel}"/>
148
+ <Label id="sapUiRtaAddIFrameDialog_ValueLabel" class="sapUiRtaAddIFrameDialog_ValueLabel" text="{dialogInfo>/text/columnUiValueLabel}"/>
149
149
  </header>
150
150
  </Column>
151
151
  </columns>
152
152
  <items>
153
153
  <ColumnListItem type="Active" press="onParameterPress">
154
154
  <cells>
155
- <Text text="{label}"/>
156
- <Text text="{value}" wrapping="false"/>
155
+ <Text text="{dialogInfo>label}"/>
156
+ <Text text="{dialogInfo>value}" wrapping="false"/>
157
157
  </cells>
158
158
  </ColumnListItem>
159
159
  </items>
@@ -164,10 +164,19 @@
164
164
  <VBox id="sapUiRtaAddIFrameDialog_EditUrl" class="sapUiRtaAddIFrameDialogEditUrl" renderType="Bare">
165
165
  <items>
166
166
  <Label id="sapUiRtaAddIFrameDialog_EditUrlLabel" labelFor="sapUiRtaAddIFrameDialog_EditUrlTA"
167
- class="sapUiRtaAddIFrameDialogEditUrlLabel" text="{/text/editUrlLabel}" design="Bold" />
168
- <TextArea id="sapUiRtaAddIFrameDialog_EditUrlTA" ariaLabelledBy="sapUiRtaAddIFrameDialog_EditUrlLabel"
169
- class="sapUiRtaAddIFrameDialog_EditUrlTA"
170
- valueLiveUpdate="true" value="{/frameUrl/value}" liveChange="onUrlChange" rows="11" width="100%" />
167
+ class="sapUiRtaAddIFrameDialogEditUrlLabel" text="{dialogInfo>/text/editUrlLabel}" design="Bold" />
168
+ <TextArea
169
+ id="sapUiRtaAddIFrameDialog_EditUrlTA"
170
+ fieldGroupIds = "sapUiRtaAddIFrameDialog_EditUrlTA"
171
+ ariaLabelledBy="sapUiRtaAddIFrameDialog_EditUrlLabel"
172
+ class="sapUiRtaAddIFrameDialog_EditUrlTA"
173
+ valueLiveUpdate="true"
174
+ value="{dialogInfo>/frameUrl/value}"
175
+ valueState="{= !!${dialogInfo>/frameUrlError/value} ? 'Error' : 'None'}"
176
+ valueStateText="{dialogInfo>/frameUrlError/value}"
177
+ validateFieldGroup="onValidateUrl"
178
+ rows="11"
179
+ width="100%" />
171
180
  </items>
172
181
  </VBox>
173
182
  </layout:Grid>
@@ -178,7 +187,7 @@
178
187
  defaultSpan="XL12 L12 M12 S12">
179
188
  <FormattedText
180
189
  id="sapUiRtaAddIFrameDialog_DocumentationLink"
181
- htmlText="{/documentationLink/HTML}" class="sapUiRtaAddIFrameDialogDocumentationLink"/>
190
+ htmlText="{dialogInfo>/documentationLink/HTML}" class="sapUiRtaAddIFrameDialogDocumentationLink"/>
182
191
  </layout:Grid>
183
192
  <layout:Grid
184
193
  id="sapUiRtaAddIFrameDialog_PreviewLinkGrid"
@@ -195,21 +204,22 @@
195
204
  <Title
196
205
  id="sapUiRtaAddIFrameDialog_PreviewLinkTitle"
197
206
  class="sapUiRtaAddIFrameDialogPreviewLinkTitle"
198
- text="{/text/previewUrlLabel}" />
207
+ text="{dialogInfo>/text/previewUrlLabel}" />
199
208
  <ToolbarSpacer />
200
209
  <Button
201
210
  id="sapUiRtaAddIFrameDialog_PreviewButton"
202
- enabled="{=${/previewUrl/value} !== ${/frameUrl/value} || ${/previewUseLegacyNavigation/value} !== ${/useLegacyNavigation/value}}"
203
- text="{=${/previewUrl/value} === '' ? ${/text/showPreviewButton} : ${/text/updatePreviewButton} }"
211
+ enabled="{= !${dialogInfo>/frameUrlError/value} &amp;&amp; ${dialogInfo>/previousFrameUrl/value} !== ${dialogInfo>/frameUrl/value} || ${dialogInfo>/previewUseLegacyNavigation/value} !== ${dialogInfo>/useLegacyNavigation/value}}"
212
+ text="{=${dialogInfo>/previewUrl/value} === '' ? ${dialogInfo>/text/showPreviewButton} : ${dialogInfo>/text/updatePreviewButton} }"
204
213
  press="onShowPreview"
205
214
  class="sapUiTinyMarginTop sapUiRtaAddIFrameDialogPreviewButton" />
206
215
  </OverflowToolbar>
207
216
  </headerToolbar>
208
217
  <content>
218
+ <Label visible="false" id="sapUiRtaAddIFrameDialog_PreviewLinkResolver"/>
209
219
  <Link
210
220
  id="sapUiRtaAddIFrameDialog_PreviewLink"
211
221
  class="sapUiRtaAddIFrameDialogPreviewLink"
212
- href="{/previewUrl/value}" text="{/previewUrl/value}" wrapping="true" visible="{= !!${/previewUrl/value} }" />
222
+ href="{dialogInfo>/previewUrl/value}" text="{dialogInfo>/previewUrl/value}" wrapping="true" visible="{= !!${dialogInfo>/previewUrl/value} }" />
213
223
  </content>
214
224
  </Panel>
215
225
  </layout:Grid>
@@ -229,14 +239,14 @@
229
239
  <Label
230
240
  id="sapUiRtaAddIFrameDialog_NoPreviewLabel"
231
241
  class="sapUiRtaAddIFrameDialogNoPreviewLabel" wrapping="true"
232
- text="{/text/previewUrlMessage}" textAlign="Center" visible="{= !${/previewUrl/value} }" />
242
+ text="{dialogInfo>/text/previewUrlMessage}" textAlign="Center" visible="{= !${dialogInfo>/previewUrl/value} }" />
233
243
  <util:IFrame
234
244
  id="sapUiRtaAddIFrameDialog_PreviewFrame"
235
245
  height="100%"
236
- title="{/text/previewFrameLabel}"
237
- useLegacyNavigation="{/previewUseLegacyNavigation/value/}"
246
+ title="{dialogInfo>/text/previewFrameLabel}"
247
+ useLegacyNavigation="{dialogInfo>/previewUseLegacyNavigation/value/}"
238
248
  class="sapUiRtaAddIFrameDialogPreviewFrame"
239
- visible="{= !!${/previewUrl/value} }"/>
249
+ visible="{= !!${dialogInfo>/previewUrl/value} }"/>
240
250
  </items>
241
251
  </VBox>
242
252
  </layout:Grid>
@@ -254,7 +264,7 @@
254
264
  class="sapUiRtaAddIFrameDialogPreviewLinkToolbar" height="3rem" style="Clear">
255
265
  <Title
256
266
  class="sapUiRtaAddIFrameDialogPreviewLinkTitle"
257
- text="{/text/advancedSettingsTitle}" />
267
+ text="{dialogInfo>/text/advancedSettingsTitle}" />
258
268
  <ToolbarSpacer />
259
269
  </OverflowToolbar>
260
270
  </headerToolbar>
@@ -266,9 +276,9 @@
266
276
  id="sapUiRtaAddIFrameDialog_UseLegacyNavigationToggle"
267
277
  customTextOn=" "
268
278
  customTextOff=" "
269
- state="{/useLegacyNavigation/value}" />
279
+ state="{dialogInfo>/useLegacyNavigation/value}" />
270
280
  <Label
271
- text="{/text/useLegacyNavigationLabel}" />
281
+ text="{dialogInfo>/text/useLegacyNavigationLabel}" />
272
282
  <Button
273
283
  icon="sap-icon://hint"
274
284
  type="Transparent"
@@ -281,9 +291,9 @@
281
291
  </layout:VerticalLayout>
282
292
 
283
293
  <!-- Invisible Texts for ARIA -->
284
- <core:InvisibleText id="sapUiRtaAddIFrameDialog_WidthUnitLabel" text="{/text/widthUnitLabel}"/>
285
- <core:InvisibleText id="sapUiRtaAddIFrameDialog_HeightUnitLabel" text="{/text/heightUnitLabel}"/>
286
- <core:InvisibleText id="sapUiRtaAddIFrameDialog_ParameterSearchLabel" text="{/text/parameterSearchLabel}"/>
294
+ <core:InvisibleText id="sapUiRtaAddIFrameDialog_WidthUnitLabel" text="{dialogInfo>/text/widthUnitLabel}"/>
295
+ <core:InvisibleText id="sapUiRtaAddIFrameDialog_HeightUnitLabel" text="{dialogInfo>/text/heightUnitLabel}"/>
296
+ <core:InvisibleText id="sapUiRtaAddIFrameDialog_ParameterSearchLabel" text="{dialogInfo>/text/parameterSearchLabel}"/>
287
297
  </content>
288
298
 
289
299
  <beginButton>
@@ -291,9 +301,9 @@
291
301
  id="sapUiRtaAddIFrameDialogSaveButton"
292
302
  class="sapUiRtaAddIFrameDialogSaveButton"
293
303
  type="Emphasized"
294
- text="{/text/saveText}"
304
+ text="{dialogInfo>/text/saveText}"
295
305
  press="onSavePress"
296
- enabled="{= !!${/frameUrl/value} }"
306
+ enabled="{=!!${dialogInfo>/frameUrl/value} &amp;&amp; !${dialogInfo>/frameUrlError/value}}"
297
307
  />
298
308
  </beginButton>
299
309
  <endButton>
@@ -301,7 +311,7 @@
301
311
  id="sapUiRtaAddIFrameDialogCancelButton"
302
312
  class="sapUiRtaAddIFrameDialogCancelButton"
303
313
  type="Transparent"
304
- text="{/text/cancelText}"
314
+ text="{dialogInfo>/text/cancelText}"
305
315
  press="onCancelPress"
306
316
  />
307
317
  </endButton>
@@ -104,6 +104,12 @@ sap.ui.define([
104
104
  value: "",
105
105
  valueState: ValueState.None
106
106
  },
107
+ previousFrameUrl: {
108
+ value: ""
109
+ },
110
+ frameUrlError: {
111
+ value: undefined
112
+ },
107
113
  previewUrl: { value: "" },
108
114
  documentationLink: {
109
115
  HTML: _sDocumentationHTML
@@ -144,7 +150,7 @@ sap.ui.define([
144
150
  * @class Context - Dialog for IFrame settings in Runtime Authoring
145
151
  * @extends sap.ui.base.ManagedObject
146
152
  * @author SAP SE
147
- * @version 1.120.6
153
+ * @version 1.121.0
148
154
  * @constructor
149
155
  * @private
150
156
  * @since 1.78
@@ -162,24 +168,26 @@ sap.ui.define([
162
168
  /**
163
169
  * Open the Add IFrame Dialog
164
170
  *
165
- * @param {object|undefined} mSettings - existing IFrame settings
166
- * @returns {Promise} promise resolving to IFrame settings
171
+ * @param {object|undefined} mSettings - Existing IFrame settings
172
+ * @param {sap.ui.core.Control} oReferenceControl - Control to take the default model from
173
+ * @returns {Promise} Promise resolving to IFrame settings
167
174
  * @public
168
175
  */
169
- AddIFrameDialog.prototype.open = function(mSettings) {
176
+ AddIFrameDialog.prototype.open = function(mSettings, oReferenceControl) {
170
177
  return new Promise(function(resolve) {
171
178
  this._fnResolve = resolve;
172
- this._createDialog(mSettings);
179
+ this._createDialog(mSettings, oReferenceControl);
173
180
  }.bind(this));
174
181
  };
175
182
 
176
183
  /**
177
184
  * Create the Add IFrame Dialog
178
185
  *
179
- * @param {object|undefined} mSettings - existing IFrame settings
186
+ * @param {object|undefined} mSettings - Existing IFrame settings
187
+ * @param {sap.ui.core.Control} oReferenceControl - Control to take the default model from
180
188
  * @private
181
189
  */
182
- AddIFrameDialog.prototype._createDialog = function(mSettings) {
190
+ AddIFrameDialog.prototype._createDialog = function(mSettings, oReferenceControl) {
183
191
  this._oJSONModel = createJSONModel(
184
192
  !!mSettings?.updateMode,
185
193
  !!mSettings?.asContainer,
@@ -194,7 +202,9 @@ sap.ui.define([
194
202
  }).then(function(oAddIFrameDialog) {
195
203
  this._oDialog = oAddIFrameDialog;
196
204
  this._oDialog.addStyleClass(RtaUtils.getRtaStyleClassName());
197
- this._oDialog.setModel(this._oJSONModel);
205
+ this._oDialog.setModel(this._oJSONModel, "dialogInfo");
206
+ this._oDialog.setModel(oReferenceControl.getModel());
207
+ this._oDialog.setBindingContext(oReferenceControl.getBindingContext());
198
208
  this._openDialog();
199
209
  }.bind(this)).catch(function(oError) {
200
210
  Log.error("Error loading fragment sap.ui.rta.plugin.iframe.AddIFrameDialog: ", oError);
@@ -209,6 +219,9 @@ sap.ui.define([
209
219
  AddIFrameDialog.prototype._openDialog = function() {
210
220
  this._oDialog.attachAfterOpen(function() {
211
221
  this._disablePanelExpand();
222
+ const oIframe = Element.getElementById("sapUiRtaAddIFrameDialog_PreviewFrame");
223
+ const oUserModel = oIframe.getModel("$user");
224
+ this._oDialog.setModel(oUserModel, "$user");
212
225
  this.fireOpened();
213
226
  }.bind(this));
214
227
 
@@ -9,9 +9,9 @@ sap.ui.define([
9
9
  "sap/m/Text",
10
10
  "sap/ui/core/mvc/Controller",
11
11
  "sap/ui/core/Element",
12
+ "sap/ui/core/Lib",
12
13
  "sap/ui/core/library",
13
14
  "sap/ui/rta/util/validateText",
14
- "sap/ui/rta/Utils",
15
15
  "sap/ui/fl/util/IFrame",
16
16
  "sap/ui/model/Filter",
17
17
  "sap/ui/model/FilterOperator",
@@ -22,9 +22,9 @@ sap.ui.define([
22
22
  Text,
23
23
  Controller,
24
24
  Element,
25
+ Lib,
25
26
  coreLibrary,
26
27
  validateText,
27
- Utils,
28
28
  IFrame,
29
29
  Filter,
30
30
  FilterOperator,
@@ -35,11 +35,22 @@ sap.ui.define([
35
35
  // shortcut for sap.ui.core.ValueState
36
36
  var {ValueState} = coreLibrary;
37
37
 
38
+ const _oTextResources = Lib.getResourceBundleFor("sap.ui.rta");
39
+
38
40
  var _aTextInputFields = ["frameUrl", "title"];
39
41
  var _aNumericInputFields = ["frameWidth", "frameHeight"];
40
42
  var _aOtherInputFields = ["frameWidthUnit", "frameHeightUnit", "useLegacyNavigation"];
41
43
 
42
44
  function isValidUrl(sUrl) {
45
+ if (
46
+ typeof sUrl !== "string"
47
+ || sUrl.trim() === ""
48
+ ) {
49
+ return {
50
+ result: false,
51
+ error: IFrame.VALIDATION_ERROR.INVALID_URL
52
+ };
53
+ }
43
54
  return IFrame.isValidUrl(encodeURI(sUrl));
44
55
  }
45
56
 
@@ -48,7 +59,6 @@ sap.ui.define([
48
59
  constructor: function(oJSONModel, mSettings) {
49
60
  this._oJSONModel = oJSONModel;
50
61
  this._importSettings(mSettings);
51
- this._mParameterHashMap = this._buildParameterHashMap(mSettings);
52
62
  },
53
63
 
54
64
  /**
@@ -75,8 +85,8 @@ sap.ui.define([
75
85
  * Event handler for save button
76
86
  */
77
87
  onSavePress() {
78
- var sUrl = this._buildPreviewURL(this._buildReturnedURL());
79
- if (isValidUrl(sUrl) && this._areAllTextFieldsValid() && this._areAllValueStateNones()) {
88
+ const sUrl = this._buildPreviewURL();
89
+ if (isValidUrl(sUrl).result && this._areAllTextFieldsValid() && this._areAllValueStateNones()) {
80
90
  this._close(this._buildReturnedSettings());
81
91
  } else {
82
92
  this._setFocusOnInvalidInput();
@@ -88,14 +98,15 @@ sap.ui.define([
88
98
  * @param {sap.ui.base.Event} oEvent - Event
89
99
  */
90
100
  onShowPreview() {
91
- var sURL = this._buildPreviewURL(this._buildReturnedURL());
92
- if (!isValidUrl(sURL)) {
101
+ const sReturnedURL = this._buildReturnedURL();
102
+ const sURL = this._buildPreviewURL();
103
+ if (!isValidUrl(sURL).result) {
93
104
  return;
94
105
  }
95
- var oIFrame = Element.getElementById("sapUiRtaAddIFrameDialog_PreviewFrame");
106
+ const oIFrame = Element.getElementById("sapUiRtaAddIFrameDialog_PreviewFrame");
96
107
  // enable/disable expanding the Panel
97
- var oPanel = Element.getElementById("sapUiRtaAddIFrameDialog_PreviewLinkPanel");
98
- var oPanelButton = oPanel.getDependents()[0];
108
+ const oPanel = Element.getElementById("sapUiRtaAddIFrameDialog_PreviewLinkPanel");
109
+ const oPanelButton = oPanel.getDependents()[0];
99
110
  if (sURL) {
100
111
  oPanelButton.setEnabled(true);
101
112
  } else {
@@ -104,11 +115,12 @@ sap.ui.define([
104
115
  }
105
116
  try {
106
117
  this._oJSONModel.setProperty("/previewUrl/value", sURL);
118
+ this._oJSONModel.setProperty("/previousFrameUrl/value", sReturnedURL);
107
119
  this._oJSONModel.setProperty(
108
120
  "/previewUseLegacyNavigation/value",
109
121
  this._oJSONModel.getProperty("/useLegacyNavigation/value")
110
122
  );
111
- oIFrame.setUrl(sURL);
123
+ oIFrame.applySettings({ url: sURL });
112
124
  } catch (oError) {
113
125
  Log.error("Error previewing the URL: ", oError);
114
126
  }
@@ -119,9 +131,9 @@ sap.ui.define([
119
131
  * @param {sap.ui.base.Event} oEvent - Event
120
132
  */
121
133
  onParameterPress(oEvent) {
122
- var sKey = oEvent.getSource().getBindingContext().getObject().key;
134
+ const sKey = oEvent.getSource().getBindingContext("dialogInfo").getObject().key;
123
135
  this._oJSONModel.setProperty("/frameUrl/value", this._addURLParameter(sKey));
124
- this.onUrlChange();
136
+ this.onValidateUrl();
125
137
  },
126
138
 
127
139
  /**
@@ -156,15 +168,20 @@ sap.ui.define([
156
168
 
157
169
  /**
158
170
  * Build preview URL
159
- *
160
- * @param {string} sEditURL - URL with parameters in braces
161
- * @returns {string} URL with parameters and values
171
+ * @returns {string} URL with resolved bindings
162
172
  * @private
163
173
  */
164
- _buildPreviewURL(sEditURL) {
165
- return sEditURL.replace(/{(.*?)}/g, function(sMatch) {
166
- return this._mParameterHashMap[sMatch];
167
- }.bind(this));
174
+ _buildPreviewURL() {
175
+ const sUrl = this._buildReturnedURL();
176
+ const oResolver = Element.getElementById("sapUiRtaAddIFrameDialog_PreviewLinkResolver");
177
+ try {
178
+ oResolver.applySettings({
179
+ text: sUrl
180
+ });
181
+ } catch (err) {
182
+ return undefined;
183
+ }
184
+ return oResolver.getText();
168
185
  },
169
186
 
170
187
  /**
@@ -175,7 +192,11 @@ sap.ui.define([
175
192
  * @private
176
193
  */
177
194
  _addURLParameter(sParameter) {
178
- return this._buildReturnedURL() + sParameter;
195
+ const oTextField = Element.getElementById("sapUiRtaAddIFrameDialog_EditUrlTA");
196
+ const iCurrentSelectionStart = oTextField.getFocusDomRef().selectionStart;
197
+ const iCurrentSelectionEnd = oTextField.getFocusDomRef().selectionEnd;
198
+ const sCurrentUrl = this._buildReturnedURL();
199
+ return `${sCurrentUrl.substring(0, iCurrentSelectionStart)}${sParameter}${sCurrentUrl.substring(iCurrentSelectionEnd)}`;
179
200
  },
180
201
 
181
202
  /**
@@ -188,28 +209,21 @@ sap.ui.define([
188
209
  return urlCleaner(this._oJSONModel.getProperty("/frameUrl/value"));
189
210
  },
190
211
 
191
- onUrlChange() {
192
- var sUrl = this._buildPreviewURL(this._buildReturnedURL());
193
- var oUrlInput = Element.getElementById("sapUiRtaAddIFrameDialog_EditUrlTA");
194
- if (isValidUrl(sUrl)) {
195
- oUrlInput.setValueState("None");
212
+ onValidateUrl() {
213
+ const sUrl = this._buildPreviewURL();
214
+ const { result: bResult, error: sError } = isValidUrl(sUrl);
215
+ if (bResult) {
216
+ this._oJSONModel.setProperty("/frameUrlError/value", "");
196
217
  } else {
197
- oUrlInput.setValueState("Error");
198
- }
199
- },
200
-
201
- /**
202
- * Build hashmap for parameters
203
- *
204
- * @param {object} mParameters - URL parameters
205
- * @returns {object} Parameter hashmap
206
- * @private
207
- */
208
- _buildParameterHashMap(mParameters) {
209
- if (mParameters && mParameters.parameters) {
210
- return Utils.buildHashMapFromArray(mParameters.parameters, "key", "value");
218
+ const sErrorKey = {
219
+ [IFrame.VALIDATION_ERROR.UNSAFE_PROTOCOL]: "IFRAME_ADDIFRAME_ERROR_UNSAFE_PROTOCOL",
220
+ [IFrame.VALIDATION_ERROR.MIXED_CONTENT]: "IFRAME_ADDIFRAME_ERROR_MIXED_CONTENT",
221
+ [IFrame.VALIDATION_ERROR.FORBIDDEN_URL]: "IFRAME_ADDIFRAME_ERROR_FORBIDDEN_URL",
222
+ [IFrame.VALIDATION_ERROR.INVALID_URL]: "IFRAME_ADDIFRAME_ERROR_INVALID_URL"
223
+ }[sError];
224
+ const sErrorText = _oTextResources.getText(sErrorKey);
225
+ this._oJSONModel.setProperty("/frameUrlError/value", sErrorText);
211
226
  }
212
- return {};
213
227
  },
214
228
 
215
229
  /**
@@ -353,6 +367,7 @@ sap.ui.define([
353
367
  oElement.focus();
354
368
  return true;
355
369
  }
370
+ return false;
356
371
  }, this);
357
372
  }
358
373
  });
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @name sap.ui.rta.service.Action
25
25
  * @author SAP SE
26
26
  * @since 1.58
27
- * @version 1.120.6
27
+ * @version 1.121.0
28
28
  * @private
29
29
  * @ui5-restricted
30
30
  *
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @name sap.ui.rta.service.ControllerExtension
33
33
  * @author SAP SE
34
34
  * @since 1.58
35
- * @version 1.120.6
35
+ * @version 1.121.0
36
36
  * @private
37
37
  * @ui5-restricted
38
38
  */
@@ -5,32 +5,32 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/dt/OverlayRegistry",
9
- "sap/ui/dt/ElementOverlay",
10
- "sap/ui/dt/AggregationOverlay",
11
- "sap/ui/dt/Util",
12
- "sap/ui/fl/Utils",
13
- "sap/ui/fl/write/api/ExtensionPointRegistryAPI",
8
+ "sap/base/Log",
14
9
  "sap/base/util/deepEqual",
15
10
  "sap/base/util/isEmptyObject",
16
11
  "sap/base/util/merge",
17
12
  "sap/base/util/restricted/_omit",
13
+ "sap/ui/dt/AggregationOverlay",
14
+ "sap/ui/dt/ElementOverlay",
15
+ "sap/ui/dt/OverlayRegistry",
16
+ "sap/ui/dt/Util",
17
+ "sap/ui/fl/apply/api/ExtensionPointRegistryAPI",
18
+ "sap/ui/fl/Utils",
18
19
  "sap/ui/core/mvc/View",
19
- "sap/base/Log",
20
20
  "sap/ui/base/DesignTime"
21
21
  ], function(
22
- OverlayRegistry,
23
- ElementOverlay,
24
- AggregationOverlay,
25
- DtUtil,
26
- FlUtils,
27
- ExtensionPointRegistryAPI,
22
+ Log,
28
23
  deepEqual,
29
24
  isEmptyObject,
30
25
  merge,
31
26
  _omit,
27
+ AggregationOverlay,
28
+ ElementOverlay,
29
+ OverlayRegistry,
30
+ DtUtil,
31
+ ExtensionPointRegistryAPI,
32
+ FlUtils,
32
33
  View,
33
- Log,
34
34
  DesignTime
35
35
  ) {
36
36
  "use strict";
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @name sap.ui.rta.service.Outline
44
44
  * @author SAP SE
45
45
  * @since 1.56
46
- * @version 1.120.6
46
+ * @version 1.121.0
47
47
  * @private
48
48
  * @ui5-restricted
49
49
  */
@@ -202,6 +202,7 @@ sap.ui.define([
202
202
  } else if (oData.bIsView) {
203
203
  return this._attachNotConsideredExtensionPoints(oOverlay, oData);
204
204
  }
205
+ return undefined;
205
206
  };
206
207
 
207
208
  function getTemplateData(oChildOverlay, mTemplateData, mInnerTemplateData) {
@@ -324,7 +325,10 @@ sap.ui.define([
324
325
  var oParentElementOverlay = oOverlay.getParentElementOverlay();
325
326
  return oParentElementOverlay
326
327
  && sParentAggregationName
327
- && oParentElementOverlay.getAggregationOverlay(sParentAggregationName, "AggregationBindingTemplateOverlays") === oParentAggregationOverlay;
328
+ && oParentElementOverlay.getAggregationOverlay(
329
+ sParentAggregationName,
330
+ "AggregationBindingTemplateOverlays"
331
+ ) === oParentAggregationOverlay;
328
332
  }
329
333
 
330
334
  function getElementOverlayData(oOverlay, oElement, oDtMetadata) {
@@ -628,8 +632,8 @@ sap.ui.define([
628
632
  exports: {
629
633
  /**
630
634
  * Returns an outline model data associated with the key user adaptation instance, starting from the passed control.
631
- * If no control is passed, the root control(s) of the respective key user adaptation instance is taken as the initial control.
632
- * Throws an error if the control ID parameter is not a valid control with a stable ID.
635
+ * If no control is passed, the root control(s) of the respective key user adaptation instance is taken as the initial
636
+ * control. Throws an error if the control ID parameter is not a valid control with a stable ID.
633
637
  *
634
638
  * @method sap.ui.rta.service.Outline.get
635
639
  * @param {string} [sId] - ID of the control to start with. If omitted the root control(s) is used.