@openui5/sap.ui.rta 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 (218) hide show
  1. package/.reuse/dep5 +26 -31
  2. package/THIRDPARTY.txt +15 -21
  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 +217 -171
  7. package/src/sap/ui/rta/Utils.js +2 -2
  8. package/src/sap/ui/rta/api/startAdaptation.js +1 -2
  9. package/src/sap/ui/rta/api/startKeyUserAdaptation.js +2 -2
  10. package/src/sap/ui/rta/appContexts/AppContextsOverviewDialog.js +76 -0
  11. package/src/sap/ui/rta/appContexts/Component.js +31 -0
  12. package/src/sap/ui/rta/appContexts/controller/ManageContexts.controller.js +323 -0
  13. package/src/sap/ui/rta/appContexts/controller/RestAPIConnector.js +22 -0
  14. package/src/sap/ui/rta/appContexts/i18n/i18n.properties +47 -0
  15. package/src/sap/ui/rta/appContexts/i18n/i18n_ar.properties +23 -0
  16. package/src/sap/ui/rta/appContexts/i18n/i18n_bg.properties +23 -0
  17. package/src/sap/ui/rta/appContexts/i18n/i18n_ca.properties +23 -0
  18. package/src/sap/ui/rta/appContexts/i18n/i18n_cs.properties +23 -0
  19. package/src/sap/ui/rta/appContexts/i18n/i18n_cy.properties +23 -0
  20. package/src/sap/ui/rta/appContexts/i18n/i18n_da.properties +23 -0
  21. package/src/sap/ui/rta/appContexts/i18n/i18n_de.properties +23 -0
  22. package/src/sap/ui/rta/appContexts/i18n/i18n_el.properties +23 -0
  23. package/src/sap/ui/rta/appContexts/i18n/i18n_en.properties +23 -0
  24. package/src/sap/ui/rta/appContexts/i18n/i18n_en_GB.properties +23 -0
  25. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_sappsd.properties +23 -0
  26. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_saprigi.properties +23 -0
  27. package/src/sap/ui/rta/appContexts/i18n/i18n_en_US_saptrc.properties +23 -0
  28. package/src/sap/ui/rta/appContexts/i18n/i18n_es.properties +23 -0
  29. package/src/sap/ui/rta/appContexts/i18n/i18n_es_MX.properties +23 -0
  30. package/src/sap/ui/rta/appContexts/i18n/i18n_et.properties +23 -0
  31. package/src/sap/ui/rta/appContexts/i18n/i18n_fi.properties +23 -0
  32. package/src/sap/ui/rta/appContexts/i18n/i18n_fr.properties +23 -0
  33. package/src/sap/ui/rta/appContexts/i18n/i18n_fr_CA.properties +23 -0
  34. package/src/sap/ui/rta/appContexts/i18n/i18n_hi.properties +23 -0
  35. package/src/sap/ui/rta/appContexts/i18n/i18n_hr.properties +23 -0
  36. package/src/sap/ui/rta/appContexts/i18n/i18n_hu.properties +23 -0
  37. package/src/sap/ui/rta/appContexts/i18n/i18n_id.properties +23 -0
  38. package/src/sap/ui/rta/appContexts/i18n/i18n_it.properties +23 -0
  39. package/src/sap/ui/rta/appContexts/i18n/i18n_iw.properties +23 -0
  40. package/src/sap/ui/rta/appContexts/i18n/i18n_ja.properties +23 -0
  41. package/src/sap/ui/rta/appContexts/i18n/i18n_kk.properties +23 -0
  42. package/src/sap/ui/rta/appContexts/i18n/i18n_ko.properties +23 -0
  43. package/src/sap/ui/rta/appContexts/i18n/i18n_lt.properties +23 -0
  44. package/src/sap/ui/rta/appContexts/i18n/i18n_lv.properties +23 -0
  45. package/src/sap/ui/rta/appContexts/i18n/i18n_ms.properties +23 -0
  46. package/src/sap/ui/rta/appContexts/i18n/i18n_nl.properties +23 -0
  47. package/src/sap/ui/rta/appContexts/i18n/i18n_no.properties +23 -0
  48. package/src/sap/ui/rta/appContexts/i18n/i18n_pl.properties +23 -0
  49. package/src/sap/ui/rta/appContexts/i18n/i18n_pt.properties +23 -0
  50. package/src/sap/ui/rta/appContexts/i18n/i18n_pt_PT.properties +23 -0
  51. package/src/sap/ui/rta/appContexts/i18n/i18n_ro.properties +23 -0
  52. package/src/sap/ui/rta/appContexts/i18n/i18n_ru.properties +23 -0
  53. package/src/sap/ui/rta/appContexts/i18n/i18n_sh.properties +23 -0
  54. package/src/sap/ui/rta/appContexts/i18n/i18n_sk.properties +23 -0
  55. package/src/sap/ui/rta/appContexts/i18n/i18n_sl.properties +23 -0
  56. package/src/sap/ui/rta/appContexts/i18n/i18n_sv.properties +23 -0
  57. package/src/sap/ui/rta/appContexts/i18n/i18n_th.properties +23 -0
  58. package/src/sap/ui/rta/appContexts/i18n/i18n_tr.properties +23 -0
  59. package/src/sap/ui/rta/appContexts/i18n/i18n_uk.properties +23 -0
  60. package/src/sap/ui/rta/appContexts/i18n/i18n_vi.properties +23 -0
  61. package/src/sap/ui/rta/appContexts/i18n/i18n_zh_CN.properties +23 -0
  62. package/src/sap/ui/rta/appContexts/i18n/i18n_zh_TW.properties +23 -0
  63. package/src/sap/ui/rta/appContexts/index.html +25 -0
  64. package/src/sap/ui/rta/appContexts/manifest.json +52 -0
  65. package/src/sap/ui/rta/appContexts/view/EditContextsDialog.fragment.xml +76 -0
  66. package/src/sap/ui/rta/appContexts/view/ManageContexts.view.xml +103 -0
  67. package/src/sap/ui/rta/appContexts/view/SaveAsContextsDialog.fragment.xml +76 -0
  68. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +7 -2
  69. package/src/sap/ui/rta/appVariant/AppVariantManager.js +13 -15
  70. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +4 -11
  71. package/src/sap/ui/rta/appVariant/Feature.js +22 -11
  72. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +2 -1
  73. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  74. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  75. package/src/sap/ui/rta/command/AddXML.js +1 -1
  76. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  77. package/src/sap/ui/rta/command/AppDescriptorCommand.js +4 -3
  78. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  79. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  80. package/src/sap/ui/rta/command/Combine.js +5 -1
  81. package/src/sap/ui/rta/command/CommandFactory.js +15 -11
  82. package/src/sap/ui/rta/command/CompositeCommand.js +5 -5
  83. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  84. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  85. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  86. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  87. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -6
  88. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  89. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  90. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  91. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  92. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  93. package/src/sap/ui/rta/command/Move.js +1 -1
  94. package/src/sap/ui/rta/command/Property.js +1 -1
  95. package/src/sap/ui/rta/command/Remove.js +1 -1
  96. package/src/sap/ui/rta/command/Rename.js +1 -1
  97. package/src/sap/ui/rta/command/Reveal.js +1 -1
  98. package/src/sap/ui/rta/command/Settings.js +1 -1
  99. package/src/sap/ui/rta/command/Split.js +1 -1
  100. package/src/sap/ui/rta/command/Stack.js +15 -21
  101. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  102. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  103. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  104. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  105. package/src/sap/ui/rta/enablement/elementActionTest.js +2 -2
  106. package/src/sap/ui/rta/library.js +2 -2
  107. package/src/sap/ui/rta/messagebundle.properties +43 -23
  108. package/src/sap/ui/rta/messagebundle_ar.properties +25 -13
  109. package/src/sap/ui/rta/messagebundle_bg.properties +27 -15
  110. package/src/sap/ui/rta/messagebundle_ca.properties +24 -12
  111. package/src/sap/ui/rta/messagebundle_cs.properties +25 -13
  112. package/src/sap/ui/rta/messagebundle_cy.properties +25 -13
  113. package/src/sap/ui/rta/messagebundle_da.properties +25 -13
  114. package/src/sap/ui/rta/messagebundle_de.properties +24 -12
  115. package/src/sap/ui/rta/messagebundle_el.properties +25 -13
  116. package/src/sap/ui/rta/messagebundle_en.properties +25 -13
  117. package/src/sap/ui/rta/messagebundle_en_GB.properties +25 -13
  118. package/src/sap/ui/rta/messagebundle_en_US_sappsd.properties +25 -13
  119. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +25 -13
  120. package/src/sap/ui/rta/messagebundle_en_US_saptrc.properties +27 -15
  121. package/src/sap/ui/rta/messagebundle_es.properties +25 -13
  122. package/src/sap/ui/rta/messagebundle_es_MX.properties +29 -17
  123. package/src/sap/ui/rta/messagebundle_et.properties +26 -14
  124. package/src/sap/ui/rta/messagebundle_fi.properties +24 -12
  125. package/src/sap/ui/rta/messagebundle_fr.properties +25 -13
  126. package/src/sap/ui/rta/messagebundle_fr_CA.properties +25 -13
  127. package/src/sap/ui/rta/messagebundle_hi.properties +25 -13
  128. package/src/sap/ui/rta/messagebundle_hr.properties +25 -13
  129. package/src/sap/ui/rta/messagebundle_hu.properties +24 -12
  130. package/src/sap/ui/rta/messagebundle_id.properties +29 -17
  131. package/src/sap/ui/rta/messagebundle_it.properties +26 -14
  132. package/src/sap/ui/rta/messagebundle_iw.properties +25 -13
  133. package/src/sap/ui/rta/messagebundle_ja.properties +25 -13
  134. package/src/sap/ui/rta/messagebundle_kk.properties +25 -13
  135. package/src/sap/ui/rta/messagebundle_ko.properties +25 -13
  136. package/src/sap/ui/rta/messagebundle_lt.properties +25 -13
  137. package/src/sap/ui/rta/messagebundle_lv.properties +24 -12
  138. package/src/sap/ui/rta/messagebundle_ms.properties +25 -13
  139. package/src/sap/ui/rta/messagebundle_nl.properties +25 -13
  140. package/src/sap/ui/rta/messagebundle_no.properties +25 -13
  141. package/src/sap/ui/rta/messagebundle_pl.properties +25 -13
  142. package/src/sap/ui/rta/messagebundle_pt.properties +24 -12
  143. package/src/sap/ui/rta/messagebundle_pt_PT.properties +24 -12
  144. package/src/sap/ui/rta/messagebundle_ro.properties +25 -13
  145. package/src/sap/ui/rta/messagebundle_ru.properties +24 -12
  146. package/src/sap/ui/rta/messagebundle_sh.properties +25 -13
  147. package/src/sap/ui/rta/messagebundle_sk.properties +25 -13
  148. package/src/sap/ui/rta/messagebundle_sl.properties +25 -13
  149. package/src/sap/ui/rta/messagebundle_sv.properties +25 -13
  150. package/src/sap/ui/rta/messagebundle_th.properties +30 -18
  151. package/src/sap/ui/rta/messagebundle_tr.properties +25 -13
  152. package/src/sap/ui/rta/messagebundle_uk.properties +27 -15
  153. package/src/sap/ui/rta/messagebundle_vi.properties +25 -13
  154. package/src/sap/ui/rta/messagebundle_zh_CN.properties +25 -13
  155. package/src/sap/ui/rta/messagebundle_zh_TW.properties +25 -13
  156. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  157. package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
  158. package/src/sap/ui/rta/plugin/Combine.js +10 -3
  159. package/src/sap/ui/rta/plugin/ControlVariant.js +5 -6
  160. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  161. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  162. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  163. package/src/sap/ui/rta/plugin/EasyAdd.js +1 -1
  164. package/src/sap/ui/rta/plugin/EasyRemove.js +1 -1
  165. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  166. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  167. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  168. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  169. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  170. package/src/sap/ui/rta/plugin/RenameHandler.js +1 -14
  171. package/src/sap/ui/rta/plugin/Selection.js +35 -33
  172. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  173. package/src/sap/ui/rta/plugin/Split.js +2 -1
  174. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  175. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +53 -121
  176. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  177. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +0 -67
  178. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +9 -10
  179. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +3 -4
  180. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +17 -47
  181. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  182. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  183. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +1 -16
  184. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  185. package/src/sap/ui/rta/service/Action.js +1 -1
  186. package/src/sap/ui/rta/service/ControllerExtension.js +5 -6
  187. package/src/sap/ui/rta/service/Outline.js +83 -30
  188. package/src/sap/ui/rta/service/Property.js +1 -3
  189. package/src/sap/ui/rta/service/Selection.js +2 -1
  190. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +57 -75
  191. package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +54 -35
  192. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +1 -0
  193. package/src/sap/ui/rta/toolbar/Adaptation.js +12 -12
  194. package/src/sap/ui/rta/toolbar/Base.js +3 -3
  195. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  196. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  197. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +4 -4
  198. package/src/sap/ui/rta/toolbar/Personalization.js +1 -1
  199. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  200. package/src/sap/ui/rta/toolbar/translation/DownloadTranslationDialog.fragment.xml +19 -10
  201. package/src/sap/ui/rta/toolbar/translation/Translation.js +146 -56
  202. package/src/sap/ui/rta/toolbar/translation/TranslationPopover.fragment.xml +8 -13
  203. package/src/sap/ui/rta/toolbar/translation/UploadTranslationDialog.fragment.xml +41 -0
  204. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  205. package/src/sap/ui/rta/util/PopupManager.js +3 -11
  206. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  207. package/src/sap/ui/rta/util/adaptationStarter.js +41 -3
  208. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +122 -132
  209. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorPopover.fragment.xml +19 -40
  210. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -2
  211. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +106 -115
  212. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +37 -0
  213. package/src/sap/ui/rta/util/changeVisualization/categories/MoveVisualization.js +33 -0
  214. package/src/sap/ui/rta/util/changeVisualization/categories/RenameVisualization.js +16 -3
  215. package/src/sap/ui/rta/util/changeVisualization/categories/SplitVisualization.js +33 -0
  216. package/src/sap/ui/rta/util/changeVisualization/categories/getVisualizationCategory.js +9 -3
  217. package/src/sap/ui/rta/util/showMessageBox.js +4 -3
  218. package/src/sap/ui/rta/util/validateFlexEnabled.js +6 -5
@@ -46,7 +46,7 @@ function(
46
46
  * @class Utility functionality to work with controls, e.g. iterate through aggregations, find parents, etc.
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.96.5
49
+ * @version 1.99.0
50
50
  *
51
51
  * @private
52
52
  * @static
@@ -344,7 +344,7 @@ function(
344
344
  * @param {sap.ui.core.Element} oChildElement - Element which position is being looked for
345
345
  * @param {string} sAggregationName - Aggregation name
346
346
  * @param {Function} [fnGetIndex] - Custom handler for retreiving index
347
- * @returns {Number} index of the element
347
+ * @returns {int} index of the element
348
348
  */
349
349
  Utils.getIndex = function(oParentElement, oChildElement, sAggregationName, fnGetIndex) {
350
350
  var iIndex;
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @alias module:sap/ui/rta/api/startAdaptation
33
33
  *
34
34
  * @param {object} mOptions - Object with properties
35
- * @param {sap.ui.core.Element|sap.ui.core.UIComponent} mOptions.rootControl - Control instance from where UI adaptation should be started
35
+ * @param {sap.ui.core.Control|sap.ui.core.UIComponent} mOptions.rootControl - Control instance to get the AppComponent. This then is used to start UI adaptation.
36
36
  * @param {object} [mOptions.flexSettings] - Map with flex-related settings
37
37
  * @param {string} [mOptions.flexSettings.layer] - The Layer in which RTA should be started. Default: "CUSTOMER"
38
38
  * @param {boolean} [mOptions.flexSettings.developerMode] - Whether RTA is started in developerMode mode. Default: <code>false</code>
@@ -41,7 +41,6 @@ sap.ui.define([
41
41
  * @param {function} [onFailed] - Event handler function called on failed event
42
42
  * @param {function} [onStop] - Event handler function called on stop event
43
43
  * @returns {Promise} Resolves when UI adaptation was successfully started
44
- * @ui5-restricted
45
44
  * @public
46
45
  */
47
46
  function startAdaptation(mOptions, loadPlugins, onStart, onFailed, onStop) {
@@ -22,9 +22,9 @@ sap.ui.define([
22
22
  * @alias module:sap/ui/rta/api/startKeyUserAdaptation
23
23
  *
24
24
  * @param {object} mPropertyBag - Object with properties
25
- * @param {sap.ui.core.Element|sap.ui.core.UIComponent} mPropertyBag.rootControl - Control instance from where key user adaptation should be started
25
+ * @param {sap.ui.core.Control|sap.ui.core.UIComponent} mPropertyBag.rootControl - Control instance to get the AppComponent. This then is used to start UI adaptation.
26
26
  *
27
- * @returns {Promise} Resolves when adaptation was successfully started
27
+ * @returns {Promise} Resolves when UI adaptation was successfully started
28
28
  * @public
29
29
  */
30
30
  function startKeyUserAdaptation(mPropertyBag) {
@@ -0,0 +1,76 @@
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
+ // Provides the <code>sap.ui.rta.appContexts.AppContextsOverviewDialog</code> control.
8
+ sap.ui.define([
9
+ "sap/ui/core/ComponentContainer",
10
+ "sap/m/Button",
11
+ "sap/m/Dialog",
12
+ "sap/m/DialogRenderer",
13
+ "sap/ui/rta/appContexts/Component",
14
+ "sap/ui/rta/Utils"
15
+ ], function (
16
+ ComponentContainer,
17
+ Button,
18
+ Dialog,
19
+ DialogRenderer,
20
+ ManageAppContextsComponent,
21
+ RtaUtils
22
+ ) {
23
+ "use strict";
24
+
25
+ var AppContextsOverviewDialog = Dialog.extend("sap.ui.rta.appContexts.AppVariantOverviewDialog", {
26
+ metadata: {
27
+ library: "sap.ui.rta",
28
+ events: {
29
+ cancel: {}
30
+ },
31
+ properties: {
32
+ layer: "string"
33
+ }
34
+ },
35
+ constructor: function () {
36
+ Dialog.prototype.constructor.apply(this, arguments);
37
+ this._oTextResources = sap.ui.getCore().getLibraryResourceBundle("sap.ui.rta");
38
+
39
+ // Create manage apps component
40
+ this._oManageAppContextsComponent = new ManageAppContextsComponent("sap.ui.rta.appContexts", { layer: this.getLayer() });
41
+
42
+ // Place component in container and display
43
+ this._oManageAppsComponentContainer = new ComponentContainer({
44
+ component: this._oManageAppContextsComponent
45
+ });
46
+
47
+ this.addContent(this._oManageAppsComponentContainer);
48
+ this._createButton();
49
+
50
+ this.setContentWidth("650px");
51
+ this.setContentHeight("450px");
52
+
53
+ this.setHorizontalScrolling(false);
54
+ this.setTitle(this._oTextResources.getText("APP_CONTEXTS_OVERVIEW_DIALOG_TITLE"));
55
+
56
+ this.addStyleClass(RtaUtils.getRtaStyleClassName());
57
+ },
58
+ destroy: function () {
59
+ Dialog.prototype.destroy.apply(this, arguments);
60
+ },
61
+ renderer: DialogRenderer
62
+ });
63
+
64
+ AppContextsOverviewDialog.prototype._createButton = function () {
65
+ this.addButton(new Button({
66
+ text: this._oTextResources.getText("APP_VARIANT_DIALOG_CLOSE"),
67
+ press: function () {
68
+ this.close();
69
+ this.fireCancel();
70
+ }.bind(this)
71
+ }));
72
+ };
73
+
74
+
75
+ return AppContextsOverviewDialog;
76
+ });
@@ -0,0 +1,31 @@
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
+ sap.ui.define([
7
+ "sap/ui/core/UIComponent"
8
+ ], function (UIComponent) {
9
+ "use strict";
10
+
11
+ return UIComponent.extend("sap.ui.rta.appContexts.Component", {
12
+
13
+ metadata: {
14
+ manifest: "json",
15
+ library: "sap.ui.rta",
16
+ properties: {
17
+ layer: "string"
18
+ }
19
+ },
20
+
21
+ /**
22
+ * Component is automatically initialized by UI5 at startup of the app and calls the init method once.
23
+ * @public
24
+ * @override
25
+ */
26
+ init: function () {
27
+ // call the base component's init function
28
+ UIComponent.prototype.init.apply(this, arguments);
29
+ }
30
+ });
31
+ });
@@ -0,0 +1,323 @@
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
+ sap.ui.define([
7
+ "sap/ui/core/mvc/Controller",
8
+ "sap/m/MessageBox",
9
+ "sap/m/MessageToast",
10
+ "sap/ui/fl/write/api/ContextSharingAPI",
11
+ "sap/m/ColumnListItem",
12
+ "sap/ui/core/Fragment",
13
+ "sap/base/util/uid",
14
+ "sap/ui/rta/appContexts/controller/RestAPIConnector"
15
+ ], function (
16
+ Controller,
17
+ MessageBox,
18
+ MessageToast,
19
+ ContextSharingAPI,
20
+ ColumnListItem,
21
+ Fragment,
22
+ uid,
23
+ RestAPIConnector
24
+ ) {
25
+ "use strict";
26
+
27
+ var _sLayer;
28
+ var oContextVisibilityComponent;
29
+
30
+ var oRanking = {
31
+ Initial: 0,
32
+ Default: 1024,
33
+ Before: function (iRank) {
34
+ return iRank + 1024;
35
+ },
36
+ Between: function (iRank1, iRank2) {
37
+ // limited to 53 rows
38
+ return (iRank1 + iRank2) / 2;
39
+ },
40
+ After: function (iRank) {
41
+ return iRank + 0.5;
42
+ }
43
+ };
44
+
45
+
46
+ function onSelectionChange(oEvent) {
47
+ if (oEvent.getParameter("selected") === true) {
48
+ var oUpButton = this.byId("moveUpButton");
49
+ var oDownButton = this.byId("moveDownButton");
50
+ oUpButton.setEnabled(true);
51
+ oDownButton.setEnabled(true);
52
+ }
53
+ }
54
+
55
+ function initializeRanks(oModel) {
56
+ var aContexts = oModel.getProperty("/appContexts") || [];
57
+ aContexts.forEach(function (oContext, iIndex) {
58
+ oContext.rank = iIndex + 1;
59
+ });
60
+ oModel.setProperty("/appContexts", aContexts);
61
+ }
62
+
63
+ function compareRanks(oContextA, oContextB) {
64
+ return oContextA.rank - oContextB.rank;
65
+ }
66
+
67
+ function sortByRank(oModel) {
68
+ var aContexts = oModel.getProperty("/appContexts") || [];
69
+ aContexts.sort(compareRanks);
70
+ oModel.setProperty("/appContexts", aContexts);
71
+ oModel.refresh(true);
72
+ }
73
+
74
+ function createFragment(sFragmentName) {
75
+ return Fragment.load({
76
+ id: this.getView().getId(),
77
+ name: "sap.ui.rta.appContexts.view." + sFragmentName,
78
+ controller: this
79
+ }).then(function (oDialog) {
80
+ oDialog.setModel(this.oAppContextsModel);
81
+ this.getView().addDependent(oDialog);
82
+ return oDialog;
83
+ }.bind(this));
84
+ }
85
+
86
+ function prefillFragment(oBindingContext) {
87
+ var aRoles = this.oAppContextsModel.getProperty("types/role", oBindingContext) || [];
88
+ this.oComponent.setSelectedContexts({ role: aRoles });
89
+ }
90
+
91
+ function createAndAddNewContext(bEmpty, oBindingContext) {
92
+ var aAllContexts = this.oAppContextsModel.getProperty("/appContexts");
93
+ var oNewContext = bEmpty ? { types: { role: [] } } : Object.assign({}, this.oAppContextsModel.getProperty("", oBindingContext));
94
+ oNewContext.id = uid();
95
+ oNewContext.title = "";
96
+ oNewContext.description = "";
97
+ oNewContext.rank = aAllContexts.length + 1;
98
+ aAllContexts.push(oNewContext);
99
+ this.oAppContextsModel.setProperty("/appContexts", aAllContexts);
100
+ return oNewContext;
101
+ }
102
+
103
+ return Controller.extend("sap.ui.rta.appContexts.controller.ManageContexts", {
104
+ onInit: function () {
105
+ this.oAppContextsModel = this.getView().getModel("appContexts");
106
+ this.oI18n = this.getView().getModel("i18n").getResourceBundle();
107
+
108
+ _sLayer = this.getOwnerComponent().getLayer();
109
+
110
+ var oTable = this.byId("manageContexts");
111
+ oTable.attachSelectionChange(onSelectionChange.bind(this));
112
+
113
+ this.oAppContextsModel.setData(RestAPIConnector.getAppContextData());
114
+ // initializeRanks must be called after setData(...), to correctly initialize ranks on app contexts retrieved by RestAPIConnector
115
+ initializeRanks(this.oAppContextsModel);
116
+
117
+ return ContextSharingAPI.createComponent({ layer: _sLayer }).then(function (oContextSharingComponent) {
118
+ oContextVisibilityComponent = oContextSharingComponent;
119
+ this.oComponent = oContextVisibilityComponent.getComponentInstance();
120
+ }.bind(this));
121
+ },
122
+
123
+ formatContextColumnCell: function (aRoles) {
124
+ var sRoleMessage = aRoles.length + " " + this.oI18n.getText("TXT_TABLE_CONTEXT_CELL_ROLE");
125
+ sRoleMessage += aRoles.length === 1 ? "" : "s";
126
+ return sRoleMessage;
127
+ },
128
+
129
+ formatEnabled: function () {
130
+ var oTable = this.byId("manageContexts");
131
+ return oTable.getSelectedItems().length !== 0;
132
+ },
133
+
134
+ formatContextTooltip: function (aRoles) {
135
+ return (this.oI18n.getText("TXT_TABLE_CONTEXT_CELL_ROLE") + (aRoles.length === 1 ? "" : "s")).toUpperCase() + " - \n" + aRoles.join("\n");
136
+ },
137
+
138
+ moveUp: function (oEvent) {
139
+ this.moveSelectedItem("Up");
140
+ oEvent.getSource().focus();
141
+ },
142
+
143
+ moveDown: function (oEvent) {
144
+ this.moveSelectedItem("Down");
145
+ oEvent.getSource().focus();
146
+ },
147
+
148
+ moveSelectedItem: function (sDirection) {
149
+ var oTable = this.byId("manageContexts");
150
+ var oSelectedItem = oTable.getSelectedItem(0);
151
+ var oSelectedItemContext = oSelectedItem.getBindingContext("appContexts");
152
+
153
+ var iSiblingItemIndex = oTable.indexOfItem(oSelectedItem) + (sDirection === "Up" ? -1 : 1);
154
+ var oSiblingItem = oTable.getItems()[iSiblingItemIndex];
155
+ var oSiblingItemContext = oSiblingItem ? oSiblingItem.getBindingContext("appContexts") : undefined;
156
+ if (!oSiblingItemContext) {
157
+ return;
158
+ }
159
+
160
+ // swap the selected and the siblings rank
161
+ var iSiblingItemRank = oSiblingItemContext.getProperty("rank");
162
+ var iSelectedItemRank = oSelectedItemContext.getProperty("rank");
163
+
164
+ this.oAppContextsModel.setProperty("rank", iSiblingItemRank, oSelectedItemContext);
165
+ this.oAppContextsModel.setProperty("rank", iSelectedItemRank, oSiblingItemContext);
166
+
167
+ sortByRank(this.oAppContextsModel);
168
+ // after move select the sibling
169
+ oTable.getItems()[iSiblingItemIndex].setSelected(true).focus();
170
+ },
171
+
172
+ onDropSelectedProductsTable: function (oEvent) {
173
+ var oDraggedItem = oEvent.getParameter("draggedControl");
174
+ var oDraggedItemContext = oDraggedItem.getBindingContext("appContexts");
175
+ if (!oDraggedItemContext) {
176
+ return;
177
+ }
178
+
179
+ var iNewRank = oRanking.Default;
180
+ var oDroppedItem = oEvent.getParameter("droppedControl");
181
+
182
+ if (oDroppedItem instanceof ColumnListItem) {
183
+ // get the dropped row data
184
+ var sDropPosition = oEvent.getParameter("dropPosition");
185
+ var oDroppedItemContext = oDroppedItem.getBindingContext("appContexts");
186
+ var iDroppedItemRank = oDroppedItemContext.getProperty("rank");
187
+ var oDroppedTable = oDroppedItem.getParent();
188
+ var iDroppedItemIndex = oDroppedTable.indexOfItem(oDroppedItem);
189
+
190
+ // find the new index of the dragged row depending on the drop position
191
+ var iNewItemIndex = iDroppedItemIndex + (sDropPosition === "After" ? 1 : -1);
192
+ var oNewItem = oDroppedTable.getItems()[iNewItemIndex];
193
+ if (!oNewItem) {
194
+ // dropped before the first row or after the last row
195
+ iNewRank = oRanking[sDropPosition](iDroppedItemRank);
196
+ } else {
197
+ // dropped between first and the last row
198
+ var oNewItemContext = oNewItem.getBindingContext("appContexts");
199
+ iNewRank = oRanking.Between(iDroppedItemRank, oNewItemContext.getProperty("rank"));
200
+ }
201
+ }
202
+ // set the rank property and update the model to refresh the bindings
203
+ this.oAppContextsModel.setProperty("rank", iNewRank, oDraggedItemContext);
204
+ sortByRank(this.oAppContextsModel);
205
+ initializeRanks(this.oAppContextsModel);
206
+ },
207
+
208
+ onMenuAction: function (oEvent) {
209
+ var oItem = oEvent.getParameter("item");
210
+ var sItemPath = oItem.getText();
211
+
212
+ switch (sItemPath) {
213
+ case this.oI18n.getText("MAA_DIALOG_ADAPT_UI"):
214
+ return this.handleUiAdaptation(oEvent);
215
+ case this.oI18n.getText("MENU_BTN_EDIT"):
216
+ return this.edit(oEvent);
217
+ case this.oI18n.getText("MENU_BTN_SHARE"):
218
+ return this.share(oEvent);
219
+ case this.oI18n.getText("MAA_DIALOG_DELETE"):
220
+ return this.deleteContext(oEvent);
221
+ case this.oI18n.getText("MAA_DIALOG_SAVE_AS_APP"):
222
+ return this.save(oEvent);
223
+ default:
224
+ return undefined;
225
+ }
226
+ },
227
+
228
+ edit: function (oEvent) {
229
+ var oBindingContext = oEvent.getSource().getBindingContext("appContexts");
230
+ prefillFragment.call(this, oBindingContext);
231
+
232
+ if (!this._pEditDialog) {
233
+ this._pEditDialog = createFragment.call(this, "EditContextsDialog");
234
+ }
235
+
236
+ this._pEditDialog.then(function (oDialog) {
237
+ oDialog.addContent(oContextVisibilityComponent);
238
+ this.oEditedContext = Object.assign({}, this.oAppContextsModel.getProperty("", oBindingContext));
239
+ oDialog.bindElement(oBindingContext.getPath());
240
+ oDialog.open();
241
+ }.bind(this));
242
+ },
243
+
244
+ editSelect: function (oEvent) {
245
+ var oBindingContext = oEvent.getSource().getBindingContext();
246
+ var aSelected = this.oComponent.getSelectedContexts();
247
+ this.oAppContextsModel.setProperty("types/role", aSelected.role, oBindingContext);
248
+ oEvent.getSource().getParent().close();
249
+ },
250
+
251
+ editClose: function (oEvent) {
252
+ var oBindingContext = oEvent.getSource().getBindingContext();
253
+ this.oAppContextsModel.setProperty("", this.oEditedContext, oBindingContext);
254
+ oEvent.getSource().getParent().close();
255
+ },
256
+
257
+ save: function (oEvent) {
258
+ var oBindingContext = oEvent.getSource().getBindingContext("appContexts");
259
+
260
+ prefillFragment.call(this, oBindingContext);
261
+ if (!this._pSaveAsDialog) {
262
+ this._pSaveAsDialog = createFragment.call(this, "SaveAsContextsDialog");
263
+ }
264
+
265
+ var bCreateEmptyContext = oEvent.getSource().getId().endsWith("manageContexts-newContextButton");
266
+ var oNewContext = createAndAddNewContext.call(this, bCreateEmptyContext, oBindingContext);
267
+
268
+ this._pSaveAsDialog.then(function (oDialog) {
269
+ oDialog.addContent(oContextVisibilityComponent);
270
+ oDialog.bindElement("/appContexts/".concat(oNewContext.rank - 1));
271
+ oDialog.open();
272
+ });
273
+ },
274
+
275
+ saveSelect: function (oEvent) {
276
+ var oBindingContext = oEvent.getSource().getBindingContext();
277
+ var sTitle = this.oAppContextsModel.getProperty("title", oBindingContext);
278
+ if (sTitle === "") {
279
+ return this.byId("savecontextdialog-title-input").setValueState("Error");
280
+ }
281
+ var aSelected = this.oComponent.getSelectedContexts();
282
+ this.oAppContextsModel.setProperty("types/role", aSelected.role, oBindingContext);
283
+ oEvent.getSource().getParent().close();
284
+ },
285
+
286
+ saveClose: function (oEvent) {
287
+ var aAllContexts = this.oAppContextsModel.getProperty("/appContexts");
288
+ aAllContexts.pop();
289
+ this.oAppContextsModel.setProperty("/appContexts", aAllContexts);
290
+ oEvent.getSource().getParent().close();
291
+ },
292
+
293
+ share: function () {
294
+ // TODO: not implemented yet
295
+ var oTable = this.byId("manageContexts");
296
+ var oSelectedItemContext = oTable.getSelectedItem(0).getBindingContext("appContexts");
297
+ var sSharedContextTitle = this.oAppContextsModel.getProperty("title", oSelectedItemContext);
298
+ MessageToast.show("Context '" + sSharedContextTitle + "' shared!");
299
+ },
300
+
301
+ deleteContext: function (oEvent) {
302
+ var oBindingContext = oEvent.getSource().getBindingContext("appContexts");
303
+ var sToBeDeletedId = this.oAppContextsModel.getProperty("id", oBindingContext);
304
+ var aAllContexts = this.oAppContextsModel.getProperty("/appContexts");
305
+ var aNewContexts = aAllContexts.filter(function (oContext) {
306
+ return oContext.id !== sToBeDeletedId;
307
+ });
308
+ this.oAppContextsModel.setProperty("/appContexts", aNewContexts);
309
+ initializeRanks(this.oAppContextsModel);
310
+ },
311
+
312
+ pressColumnListItem: function (oEvent) {
313
+ var oBindingContext = oEvent.getSource().getBindingContext("appContexts");
314
+ var sTitle = this.oAppContextsModel.getProperty("title", oBindingContext);
315
+ MessageBox.confirm("Do you want to adapt context '" + sTitle + "'?");
316
+ },
317
+
318
+ handleUiAdaptation: function () {
319
+ // TODO: not implemented yet
320
+ return false;
321
+ }
322
+ });
323
+ });
@@ -0,0 +1,22 @@
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
+ sap.ui.define([
7
+
8
+ ], function (
9
+
10
+ ) {
11
+ "use strict";
12
+
13
+ var RestAPIConnector = {
14
+ getAppContextData: function () {
15
+ //TODO: logic to retrieve backend data is missing here
16
+ return { appContext: [] };
17
+ }
18
+
19
+ };
20
+
21
+ return RestAPIConnector;
22
+ });
@@ -0,0 +1,47 @@
1
+ #This is the resource bundle for the sap.ui.rta library
2
+ # __ldi.translation.uuid=0cf38ca9-9ae5-42bb-aa78-ca7b4b7e985c
3
+
4
+ #XFLD: button in table header toolbar to add a new row to the table
5
+ BTN_NEW_CONTEXT=New Context
6
+ #XFLD: button in table header toolbar to adapt default app that is context-free
7
+ BTN_ADAPT_DEFAULT=Adapt Default App
8
+ #XTOL: tooltip for button in table header toolbar to move row up
9
+ BTN_TOOLTIP_MOVE_UP=Move Up
10
+ #XTOL: tooltip for button in table header toolbar to move row down
11
+ BTN_TOOLTIP_MOVE_DOWN=Move Down
12
+ #XFLD: column header for column on the far left
13
+ CLM_HEADER_PRIORITY=Priority
14
+ #XFLD: column or dialog header for information
15
+ HEADER_INFORMATION=Information
16
+ #XFLD: column header for column on the far left
17
+ CLM_HEADER_CONTEXT=Context
18
+ #XFLD: menu bar item for available actions
19
+ MENU_BTN_EDIT=Edit
20
+ #XFLD: menu bar item for available actions
21
+ MENU_BTN_SHARE=Share
22
+ #XFLD: dialog header for edit new context dialog
23
+ EAC_DIALOG_HEADER=Edit App Context
24
+ #XFLD: dialog header for save new context dialog
25
+ SAC_DIALOG_HEADER=Save As New App Context
26
+ #XFLD: delete app contexts button
27
+ MAA_DIALOG_DELETE=Delete
28
+ #XFLD: cancel edit button
29
+ EAC_DIALOG_CANCEL=Cancel
30
+ #XFLD: placeholder for input field
31
+ PLACEHOLDER_INPUT_TITLE=Enter title
32
+ #XFLD: placeholder for description field
33
+ PLACEHOLDER_INPUT_DESCRIPTION=Enter description
34
+ #XFLD: error message in case input for title is empty
35
+ VALUE_STATE_INPUT_TITLE=Enter an app title.
36
+ #XFLD: title of a new artefact
37
+ APP_CONTEXT_TITLE=Title
38
+ #XFLD: actions that can be performed on new artefact
39
+ APP_CONTEXT_ACTIONS=Actions
40
+ #XFLD: postfix for context table cell
41
+ TXT_TABLE_CONTEXT_CELL_ROLE=role
42
+ #XFLD: description of a new artefact
43
+ MAA_DIALOG_DESCRIPTION=Description
44
+ #XBTN: save as new artefact
45
+ MAA_DIALOG_SAVE_AS_APP=Save as
46
+ #XBTN: button to adapt the UI
47
+ MAA_DIALOG_ADAPT_UI=Adapt UI
@@ -0,0 +1,23 @@
1
+
2
+ BTN_NEW_CONTEXT=\u0633\u064A\u0627\u0642 \u062C\u062F\u064A\u062F
3
+ BTN_ADAPT_DEFAULT=\u062A\u0647\u064A\u0626\u0629 \u0627\u0644\u062A\u0637\u0628\u064A\u0642 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A
4
+ BTN_TOOLTIP_MOVE_UP=\u062A\u062D\u0631\u064A\u0643 \u0644\u0623\u0639\u0644\u0649
5
+ BTN_TOOLTIP_MOVE_DOWN=\u062A\u062D\u0631\u064A\u0643 \u0644\u0623\u0633\u0641\u0644
6
+ CLM_HEADER_PRIORITY=\u0627\u0644\u0623\u0641\u0636\u0644\u064A\u0629
7
+ HEADER_INFORMATION=\u0645\u0639\u0644\u0648\u0645\u0627\u062A
8
+ CLM_HEADER_CONTEXT=\u0627\u0644\u0633\u064A\u0627\u0642
9
+ MENU_BTN_EDIT=\u062A\u062D\u0631\u064A\u0631
10
+ MENU_BTN_SHARE=\u0645\u0634\u0627\u0631\u0643\u0629
11
+ EAC_DIALOG_HEADER=\u062A\u062D\u0631\u064A\u0631 \u0633\u064A\u0627\u0642 \u0627\u0644\u062A\u0637\u0628\u064A\u0642
12
+ SAC_DIALOG_HEADER=\u062D\u0641\u0638 \u0643\u0633\u064A\u0627\u0642 \u062A\u0637\u0628\u064A\u0642 \u062C\u062F\u064A\u062F
13
+ MAA_DIALOG_DELETE=\u062D\u0630\u0641
14
+ EAC_DIALOG_CANCEL=\u0625\u0644\u063A\u0627\u0621
15
+ PLACEHOLDER_INPUT_TITLE=\u0625\u062F\u062E\u0627\u0644 \u0639\u0646\u0648\u0627\u0646
16
+ PLACEHOLDER_INPUT_DESCRIPTION=\u0625\u062F\u062E\u0627\u0644 \u0627\u0644\u0648\u0635\u0641
17
+ VALUE_STATE_INPUT_TITLE=\u0625\u062F\u062E\u0627\u0644 \u0639\u0646\u0648\u0627\u0646 \u0646\u0634\u0627\u0637
18
+ APP_CONTEXT_TITLE=\u0627\u0644\u0639\u0646\u0648\u0627\u0646
19
+ APP_CONTEXT_ACTIONS=\u0627\u0644\u0625\u062C\u0631\u0627\u0621\u0627\u062A
20
+ TXT_TABLE_CONTEXT_CELL_ROLE=\u0627\u0644\u062F\u0648\u0631
21
+ MAA_DIALOG_DESCRIPTION=\u0627\u0644\u0648\u0635\u0641
22
+ MAA_DIALOG_SAVE_AS_APP=\u062D\u0641\u0638 \u0628\u0627\u0633\u0645
23
+ MAA_DIALOG_ADAPT_UI=\u062A\u0647\u064A\u0626\u0629 \u0648\u0627\u062C\u0647\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645
@@ -0,0 +1,23 @@
1
+
2
+ BTN_NEW_CONTEXT=\u041D\u043E\u0432 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442
3
+ BTN_ADAPT_DEFAULT=\u0430\u0434\u0430\u043F\u0442\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E \u043F\u043E\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043D\u0435
4
+ BTN_TOOLTIP_MOVE_UP=\u041F\u0440\u0435\u043C\u0435\u0441\u0442\u0432\u0430\u043D\u0435 \u043D\u0430\u0433\u043E\u0440\u0435
5
+ BTN_TOOLTIP_MOVE_DOWN=\u041F\u0440\u0435\u043C\u0435\u0441\u0442\u0432\u0430\u043D\u0435 \u043D\u0430\u0434\u043E\u043B\u0443
6
+ CLM_HEADER_PRIORITY=\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442
7
+ HEADER_INFORMATION=\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F
8
+ CLM_HEADER_CONTEXT=\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442
9
+ MENU_BTN_EDIT=\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u043D\u0435
10
+ MENU_BTN_SHARE=\u0421\u043F\u043E\u0434\u0435\u043B\u044F\u043D\u0435
11
+ EAC_DIALOG_HEADER=\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u043D\u0435 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435
12
+ SAC_DIALOG_HEADER=\u0417\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435 \u043A\u0430\u0442\u043E \u043D\u043E\u0432 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435
13
+ MAA_DIALOG_DELETE=\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043D\u0435
14
+ EAC_DIALOG_CANCEL=\u041E\u0442\u043A\u0430\u0437
15
+ PLACEHOLDER_INPUT_TITLE=\u0412\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u0437\u0430\u0433\u043B\u0430\u0432\u0438\u0435
16
+ PLACEHOLDER_INPUT_DESCRIPTION=\u0412\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435
17
+ VALUE_STATE_INPUT_TITLE=\u0432\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u0437\u0430\u0433\u043B\u0430\u0432\u0438\u0435 \u043D\u0430 \u0434\u0435\u0439\u043D\u043E\u0441\u0442
18
+ APP_CONTEXT_TITLE=\u0417\u0430\u0433\u043B\u0430\u0432\u0438\u0435
19
+ APP_CONTEXT_ACTIONS=\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F
20
+ TXT_TABLE_CONTEXT_CELL_ROLE=\u0420\u043E\u043B\u044F
21
+ MAA_DIALOG_DESCRIPTION=\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435
22
+ MAA_DIALOG_SAVE_AS_APP=\u0417\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435 \u043A\u0430\u0442\u043E
23
+ MAA_DIALOG_ADAPT_UI=\u0410\u0434\u0430\u043F\u0442\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u0441\u043A\u0438\u044F \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441
@@ -0,0 +1,23 @@
1
+
2
+ BTN_NEW_CONTEXT=Context nou
3
+ BTN_ADAPT_DEFAULT=Adaptar aplicaci\u00F3 est\u00E0ndard
4
+ BTN_TOOLTIP_MOVE_UP=Moure cap amunt
5
+ BTN_TOOLTIP_MOVE_DOWN=Moure cap avall
6
+ CLM_HEADER_PRIORITY=Prioritat
7
+ HEADER_INFORMATION=Informaci\u00F3
8
+ CLM_HEADER_CONTEXT=Context
9
+ MENU_BTN_EDIT=Editar
10
+ MENU_BTN_SHARE=Compartir
11
+ EAC_DIALOG_HEADER=Editar context d\u2019aplicaci\u00F3
12
+ SAC_DIALOG_HEADER=Desar com a nou context d\u2019aplicaci\u00F3
13
+ MAA_DIALOG_DELETE=Suprimir
14
+ EAC_DIALOG_CANCEL=Cancel\u00B7lar
15
+ PLACEHOLDER_INPUT_TITLE=Introduir t\u00EDtol
16
+ PLACEHOLDER_INPUT_DESCRIPTION=Introduir descripci\u00F3
17
+ VALUE_STATE_INPUT_TITLE=Introduir un t\u00EDtol d\u2019activitat
18
+ APP_CONTEXT_TITLE=T\u00EDtol
19
+ APP_CONTEXT_ACTIONS=Accions
20
+ TXT_TABLE_CONTEXT_CELL_ROLE=Rol
21
+ MAA_DIALOG_DESCRIPTION=Descripci\u00F3
22
+ MAA_DIALOG_SAVE_AS_APP=Anomena i desa
23
+ MAA_DIALOG_ADAPT_UI=Adaptar IU
@@ -0,0 +1,23 @@
1
+
2
+ BTN_NEW_CONTEXT=Nov\u00FD kontext
3
+ BTN_ADAPT_DEFAULT=Upravit standardn\u00ED aplikaci
4
+ BTN_TOOLTIP_MOVE_UP=P\u0159esunout nahoru
5
+ BTN_TOOLTIP_MOVE_DOWN=P\u0159esunout dol\u016F
6
+ CLM_HEADER_PRIORITY=Priorita
7
+ HEADER_INFORMATION=Informace
8
+ CLM_HEADER_CONTEXT=Kontext
9
+ MENU_BTN_EDIT=Upravit
10
+ MENU_BTN_SHARE=Sd\u00EDlet
11
+ EAC_DIALOG_HEADER=Kontext aplikace
12
+ SAC_DIALOG_HEADER=Ulo\u017Eit jako nov\u00FD kontext aplikace
13
+ MAA_DIALOG_DELETE=Odstranit
14
+ EAC_DIALOG_CANCEL=Zru\u0161it
15
+ PLACEHOLDER_INPUT_TITLE=Zadat titulek
16
+ PLACEHOLDER_INPUT_DESCRIPTION=Zadat popis
17
+ VALUE_STATE_INPUT_TITLE=Zadejte titulek \u010Dinnosti
18
+ APP_CONTEXT_TITLE=Titulek
19
+ APP_CONTEXT_ACTIONS=Akce
20
+ TXT_TABLE_CONTEXT_CELL_ROLE=Role
21
+ MAA_DIALOG_DESCRIPTION=Popis
22
+ MAA_DIALOG_SAVE_AS_APP=Ulo\u017Eit jako
23
+ MAA_DIALOG_ADAPT_UI=P\u0159izp\u016Fsobit u\u017Eivatelsk\u00E9 rozhran\u00ED
@@ -0,0 +1,23 @@
1
+
2
+ BTN_NEW_CONTEXT=Cyd-destun Newydd
3
+ BTN_ADAPT_DEFAULT=Addasu Ap Diofyn
4
+ BTN_TOOLTIP_MOVE_UP=Symud i Fyny
5
+ BTN_TOOLTIP_MOVE_DOWN=Symud i Lawr
6
+ CLM_HEADER_PRIORITY=Blaenoriaeth
7
+ HEADER_INFORMATION=Gwybodaeth
8
+ CLM_HEADER_CONTEXT=Cyd-destun
9
+ MENU_BTN_EDIT=Golygu
10
+ MENU_BTN_SHARE=Rhannu
11
+ EAC_DIALOG_HEADER=Golygu Cyd-destun Ap
12
+ SAC_DIALOG_HEADER=Cadw fel Cyd-destun Ap Newydd
13
+ MAA_DIALOG_DELETE=Dileu
14
+ EAC_DIALOG_CANCEL=Canslo
15
+ PLACEHOLDER_INPUT_TITLE=Rhoi Teitl
16
+ PLACEHOLDER_INPUT_DESCRIPTION=Rhoi Disgrifiad
17
+ VALUE_STATE_INPUT_TITLE=Rhowch deitl gweithgaredd
18
+ APP_CONTEXT_TITLE=Teitl
19
+ APP_CONTEXT_ACTIONS=Gweithredoedd
20
+ TXT_TABLE_CONTEXT_CELL_ROLE=R\u00F4l
21
+ MAA_DIALOG_DESCRIPTION=Disgrifiad
22
+ MAA_DIALOG_SAVE_AS_APP=Cadw fel
23
+ MAA_DIALOG_ADAPT_UI=Addasu UI