@sap-ux/preview-middleware 0.26.12 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/base/cdm.d.ts +2 -2
  2. package/dist/base/cdm.js +10 -11
  3. package/dist/base/config.d.ts +1 -1
  4. package/dist/base/config.js +60 -72
  5. package/dist/base/flex.js +16 -23
  6. package/dist/base/flp.d.ts +2 -2
  7. package/dist/base/flp.js +96 -96
  8. package/dist/base/index.d.ts +3 -3
  9. package/dist/base/index.js +3 -12
  10. package/dist/base/remote-url.js +14 -24
  11. package/dist/base/test.d.ts +1 -1
  12. package/dist/base/test.js +2 -6
  13. package/dist/base/utils/cards.d.ts +1 -1
  14. package/dist/base/utils/cards.js +3 -9
  15. package/dist/client/adp/add-fragment.js +4 -4
  16. package/dist/client/adp/add-fragment.ts +2 -2
  17. package/dist/client/adp/api-handler.js +2 -2
  18. package/dist/client/adp/api-handler.ts +1 -1
  19. package/dist/client/adp/command-executor.js +3 -3
  20. package/dist/client/adp/command-executor.ts +2 -2
  21. package/dist/client/adp/controllers/AddActionFragment.controller.js +5 -5
  22. package/dist/client/adp/controllers/AddActionFragment.controller.ts +7 -7
  23. package/dist/client/adp/controllers/AddCustomFragment.controller.js +7 -7
  24. package/dist/client/adp/controllers/AddCustomFragment.controller.ts +9 -9
  25. package/dist/client/adp/controllers/AddFragment.controller.js +7 -7
  26. package/dist/client/adp/controllers/AddFragment.controller.ts +11 -11
  27. package/dist/client/adp/controllers/AddSubpage.controller.js +4 -4
  28. package/dist/client/adp/controllers/AddSubpage.controller.ts +7 -7
  29. package/dist/client/adp/controllers/AddTableColumnFragments.controller.js +7 -7
  30. package/dist/client/adp/controllers/AddTableColumnFragments.controller.ts +11 -11
  31. package/dist/client/adp/controllers/BaseDialog.controller.js +3 -3
  32. package/dist/client/adp/controllers/BaseDialog.controller.ts +6 -6
  33. package/dist/client/adp/controllers/ControllerExtension.controller.js +14 -14
  34. package/dist/client/adp/controllers/ControllerExtension.controller.ts +12 -12
  35. package/dist/client/adp/controllers/ExtensionPoint.controller.js +4 -4
  36. package/dist/client/adp/controllers/ExtensionPoint.controller.ts +5 -5
  37. package/dist/client/adp/controllers/FileExistsDialog.controller.js +2 -2
  38. package/dist/client/adp/controllers/FileExistsDialog.controller.ts +2 -2
  39. package/dist/client/adp/dialog-factory.js +2 -2
  40. package/dist/client/adp/dialog-factory.ts +16 -16
  41. package/dist/client/adp/extend-controller.js +4 -4
  42. package/dist/client/adp/extend-controller.ts +2 -2
  43. package/dist/client/adp/extension-point.js +5 -5
  44. package/dist/client/adp/extension-point.ts +4 -4
  45. package/dist/client/adp/init-dialogs.js +6 -6
  46. package/dist/client/adp/init-dialogs.ts +6 -6
  47. package/dist/client/adp/init.js +13 -13
  48. package/dist/client/adp/init.ts +9 -9
  49. package/dist/client/adp/quick-actions/add-new-subpage-quick-action-base.js +8 -8
  50. package/dist/client/adp/quick-actions/add-new-subpage-quick-action-base.ts +10 -10
  51. package/dist/client/adp/quick-actions/common/add-controller-to-page.js +13 -13
  52. package/dist/client/adp/quick-actions/common/add-controller-to-page.ts +11 -11
  53. package/dist/client/adp/quick-actions/common/add-new-annotation-file.js +11 -11
  54. package/dist/client/adp/quick-actions/common/add-new-annotation-file.ts +10 -10
  55. package/dist/client/adp/quick-actions/common/create-page-action.js +8 -8
  56. package/dist/client/adp/quick-actions/common/create-page-action.ts +7 -7
  57. package/dist/client/adp/quick-actions/common/op-add-custom-section.js +6 -6
  58. package/dist/client/adp/quick-actions/common/op-add-custom-section.ts +5 -5
  59. package/dist/client/adp/quick-actions/common/op-add-header-field.js +7 -7
  60. package/dist/client/adp/quick-actions/common/op-add-header-field.ts +7 -7
  61. package/dist/client/adp/quick-actions/common/utils.ts +1 -1
  62. package/dist/client/adp/quick-actions/dialog-enablement-validator.js +3 -3
  63. package/dist/client/adp/quick-actions/dialog-enablement-validator.ts +3 -3
  64. package/dist/client/adp/quick-actions/fe-v2/add-new-subpage.js +6 -6
  65. package/dist/client/adp/quick-actions/fe-v2/add-new-subpage.ts +5 -5
  66. package/dist/client/adp/quick-actions/fe-v2/change-table-actions.js +5 -5
  67. package/dist/client/adp/quick-actions/fe-v2/change-table-actions.ts +5 -5
  68. package/dist/client/adp/quick-actions/fe-v2/change-table-columns.js +7 -7
  69. package/dist/client/adp/quick-actions/fe-v2/change-table-columns.ts +5 -5
  70. package/dist/client/adp/quick-actions/fe-v2/create-table-action.js +11 -11
  71. package/dist/client/adp/quick-actions/fe-v2/create-table-action.ts +6 -6
  72. package/dist/client/adp/quick-actions/fe-v2/create-table-custom-column.js +13 -13
  73. package/dist/client/adp/quick-actions/fe-v2/create-table-custom-column.ts +7 -7
  74. package/dist/client/adp/quick-actions/fe-v2/lr-enable-semantic-date-range-filter-bar.js +9 -9
  75. package/dist/client/adp/quick-actions/fe-v2/lr-enable-semantic-date-range-filter-bar.ts +6 -6
  76. package/dist/client/adp/quick-actions/fe-v2/lr-enable-table-filtering.js +11 -11
  77. package/dist/client/adp/quick-actions/fe-v2/lr-enable-table-filtering.ts +6 -6
  78. package/dist/client/adp/quick-actions/fe-v2/lr-enable-variant-management.js +4 -4
  79. package/dist/client/adp/quick-actions/fe-v2/lr-enable-variant-management.ts +3 -3
  80. package/dist/client/adp/quick-actions/fe-v2/lr-toggle-clear-filter-bar.js +4 -4
  81. package/dist/client/adp/quick-actions/fe-v2/lr-toggle-clear-filter-bar.ts +4 -4
  82. package/dist/client/adp/quick-actions/fe-v2/op-enable-empty-row-mode.js +12 -12
  83. package/dist/client/adp/quick-actions/fe-v2/op-enable-empty-row-mode.ts +8 -8
  84. package/dist/client/adp/quick-actions/fe-v2/op-enable-variant-management.js +6 -6
  85. package/dist/client/adp/quick-actions/fe-v2/op-enable-variant-management.ts +5 -5
  86. package/dist/client/adp/quick-actions/fe-v2/registry.js +18 -18
  87. package/dist/client/adp/quick-actions/fe-v2/registry.ts +18 -18
  88. package/dist/client/adp/quick-actions/fe-v2/utils.js +4 -4
  89. package/dist/client/adp/quick-actions/fe-v2/utils.ts +2 -2
  90. package/dist/client/adp/quick-actions/fe-v4/add-new-subpage.js +7 -7
  91. package/dist/client/adp/quick-actions/fe-v4/add-new-subpage.ts +5 -5
  92. package/dist/client/adp/quick-actions/fe-v4/change-table-actions.js +9 -9
  93. package/dist/client/adp/quick-actions/fe-v4/change-table-actions.ts +7 -7
  94. package/dist/client/adp/quick-actions/fe-v4/change-table-columns.js +6 -6
  95. package/dist/client/adp/quick-actions/fe-v4/change-table-columns.ts +6 -6
  96. package/dist/client/adp/quick-actions/fe-v4/create-page-action.js +11 -11
  97. package/dist/client/adp/quick-actions/fe-v4/create-page-action.ts +9 -9
  98. package/dist/client/adp/quick-actions/fe-v4/create-table-action-config-change.js +13 -13
  99. package/dist/client/adp/quick-actions/fe-v4/create-table-action-config-change.ts +11 -11
  100. package/dist/client/adp/quick-actions/fe-v4/create-table-custom-column-config-change.js +16 -16
  101. package/dist/client/adp/quick-actions/fe-v4/create-table-custom-column-config-change.ts +9 -9
  102. package/dist/client/adp/quick-actions/fe-v4/enable-variant-management.js +5 -5
  103. package/dist/client/adp/quick-actions/fe-v4/enable-variant-management.ts +4 -4
  104. package/dist/client/adp/quick-actions/fe-v4/lr-enable-semantic-date-range-filter-bar.js +5 -5
  105. package/dist/client/adp/quick-actions/fe-v4/lr-enable-semantic-date-range-filter-bar.ts +5 -5
  106. package/dist/client/adp/quick-actions/fe-v4/lr-enable-table-filtering.js +7 -7
  107. package/dist/client/adp/quick-actions/fe-v4/lr-enable-table-filtering.ts +6 -6
  108. package/dist/client/adp/quick-actions/fe-v4/lr-toggle-clear-filter-bar.js +5 -5
  109. package/dist/client/adp/quick-actions/fe-v4/lr-toggle-clear-filter-bar.ts +5 -5
  110. package/dist/client/adp/quick-actions/fe-v4/op-add-custom-section.js +8 -8
  111. package/dist/client/adp/quick-actions/fe-v4/op-add-custom-section.ts +8 -8
  112. package/dist/client/adp/quick-actions/fe-v4/op-enable-empty-row-mode.js +12 -12
  113. package/dist/client/adp/quick-actions/fe-v4/op-enable-empty-row-mode.ts +8 -8
  114. package/dist/client/adp/quick-actions/fe-v4/registry.js +17 -17
  115. package/dist/client/adp/quick-actions/fe-v4/registry.ts +17 -17
  116. package/dist/client/adp/quick-actions/fe-v4/utils.js +6 -6
  117. package/dist/client/adp/quick-actions/fe-v4/utils.ts +3 -3
  118. package/dist/client/adp/quick-actions/load.ts +2 -2
  119. package/dist/client/adp/quick-actions/quick-action-base.js +2 -2
  120. package/dist/client/adp/quick-actions/quick-action-base.ts +3 -3
  121. package/dist/client/adp/quick-actions/simple-quick-action-base.js +3 -3
  122. package/dist/client/adp/quick-actions/simple-quick-action-base.ts +4 -4
  123. package/dist/client/adp/quick-actions/table-quick-action-base.js +17 -17
  124. package/dist/client/adp/quick-actions/table-quick-action-base.ts +9 -9
  125. package/dist/client/adp/sync-views-utils.js +4 -4
  126. package/dist/client/adp/sync-views-utils.ts +3 -3
  127. package/dist/client/adp/utils.js +3 -3
  128. package/dist/client/adp/utils.ts +2 -2
  129. package/dist/client/cpe/additional-change-info/add-xml-additional-info.js +7 -7
  130. package/dist/client/cpe/additional-change-info/add-xml-additional-info.ts +2 -2
  131. package/dist/client/cpe/changes/flex-change.js +3 -3
  132. package/dist/client/cpe/changes/flex-change.ts +3 -3
  133. package/dist/client/cpe/changes/generic-change.js +5 -5
  134. package/dist/client/cpe/changes/generic-change.ts +4 -4
  135. package/dist/client/cpe/changes/index.js +2 -2
  136. package/dist/client/cpe/changes/index.ts +1 -1
  137. package/dist/client/cpe/changes/service.js +12 -12
  138. package/dist/client/cpe/changes/service.ts +9 -9
  139. package/dist/client/cpe/changes/validator.js +2 -2
  140. package/dist/client/cpe/changes/validator.ts +1 -1
  141. package/dist/client/cpe/communication-service.js +2 -2
  142. package/dist/client/cpe/communication-service.ts +2 -2
  143. package/dist/client/cpe/connector-service.js +3 -3
  144. package/dist/client/cpe/connector-service.ts +3 -3
  145. package/dist/client/cpe/context-menu-service.js +6 -6
  146. package/dist/client/cpe/context-menu-service.ts +6 -6
  147. package/dist/client/cpe/control-data.js +3 -3
  148. package/dist/client/cpe/control-data.ts +5 -5
  149. package/dist/client/cpe/documentation.js +4 -4
  150. package/dist/client/cpe/documentation.ts +5 -5
  151. package/dist/client/cpe/init.js +15 -15
  152. package/dist/client/cpe/init.ts +16 -16
  153. package/dist/client/cpe/odata-health/odata-health-checker.js +5 -5
  154. package/dist/client/cpe/odata-health/odata-health-checker.ts +10 -10
  155. package/dist/client/cpe/outline/editable.js +4 -4
  156. package/dist/client/cpe/outline/editable.ts +4 -4
  157. package/dist/client/cpe/outline/nodes.js +7 -7
  158. package/dist/client/cpe/outline/nodes.ts +7 -7
  159. package/dist/client/cpe/outline/service.js +3 -3
  160. package/dist/client/cpe/outline/service.ts +4 -4
  161. package/dist/client/cpe/quick-actions/quick-action-service.js +5 -5
  162. package/dist/client/cpe/quick-actions/quick-action-service.ts +10 -10
  163. package/dist/client/cpe/quick-actions/registry.js +3 -3
  164. package/dist/client/cpe/quick-actions/registry.ts +4 -4
  165. package/dist/client/cpe/quick-actions/utils.js +3 -3
  166. package/dist/client/cpe/quick-actions/utils.ts +2 -2
  167. package/dist/client/cpe/rta-service.ts +1 -1
  168. package/dist/client/cpe/selection.js +8 -8
  169. package/dist/client/cpe/selection.ts +7 -7
  170. package/dist/client/cpe/utils.js +2 -2
  171. package/dist/client/cpe/utils.ts +2 -2
  172. package/dist/client/flp/WorkspaceConnector.js +6 -6
  173. package/dist/client/flp/WorkspaceConnector.ts +4 -4
  174. package/dist/client/flp/enableFakeConnector.js +4 -4
  175. package/dist/client/flp/enableFakeConnector.ts +3 -3
  176. package/dist/client/flp/init.js +6 -6
  177. package/dist/client/flp/init.ts +5 -5
  178. package/dist/client/flp/initConnectors.js +3 -3
  179. package/dist/client/flp/initConnectors.ts +1 -1
  180. package/dist/client/thirdparty/@sap-ux-private/control-property-editor-common.js +397 -477
  181. package/dist/client/utils/additional-change-info.js +2 -2
  182. package/dist/client/utils/additional-change-info.ts +2 -2
  183. package/dist/client/utils/core.js +2 -2
  184. package/dist/client/utils/core.ts +1 -1
  185. package/dist/client/utils/fe-v4.js +3 -3
  186. package/dist/client/utils/fe-v4.ts +2 -2
  187. package/dist/client/utils/info-center-message.js +3 -3
  188. package/dist/client/utils/info-center-message.ts +2 -2
  189. package/dist/client/utils/version.js +2 -2
  190. package/dist/client/utils/version.ts +1 -1
  191. package/dist/index.d.ts +3 -3
  192. package/dist/index.js +2 -25
  193. package/dist/types/index.js +1 -4
  194. package/dist/ui5/middleware.d.ts +11 -1
  195. package/dist/ui5/middleware.js +13 -15
  196. package/package.json +18 -16
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["../../utils/version", "sap/ui/core/util/reflection/JsControlTreeModifier", "sap/base/Log", "../../utils/error", "../../utils/fe-v4"], function (____utils_version, JsControlTreeModifier, Log, ____utils_error, ____utils_fe_v4) {
3
+ sap.ui.define(["../../utils/version", "sap/ui/core/util/reflection/JsControlTreeModifier", "sap/base/Log", "../../utils/error", "../../utils/fe-v4"], function (____utils_versionjs, JsControlTreeModifier, Log, ____utils_errorjs, ____utils_fe_v4js) {
4
4
  "use strict";
5
5
 
6
6
  function __ui5_require_async(path) {
@@ -20,10 +20,10 @@ sap.ui.define(["../../utils/version", "sap/ui/core/util/reflection/JsControlTree
20
20
  });
21
21
  });
22
22
  }
23
- const getUi5Version = ____utils_version["getUi5Version"];
24
- const isLowerThanMinimalUi5Version = ____utils_version["isLowerThanMinimalUi5Version"];
25
- const getError = ____utils_error["getError"];
26
- const getConfigMapControlIdMap = ____utils_fe_v4["getConfigMapControlIdMap"];
23
+ const getUi5Version = ____utils_versionjs["getUi5Version"];
24
+ const isLowerThanMinimalUi5Version = ____utils_versionjs["isLowerThanMinimalUi5Version"];
25
+ const getError = ____utils_errorjs["getError"];
26
+ const getConfigMapControlIdMap = ____utils_fe_v4js["getConfigMapControlIdMap"];
27
27
  const ADD_NEW_ANNOTATION_FILE_CHANGE = 'appdescr_app_addAnnotationsToOData';
28
28
  const RENAME_CHANGE = 'rename';
29
29
  const MOVE_CHANGE = 'moveControls';
@@ -1,12 +1,12 @@
1
1
  import type { ChangeDefinition } from 'sap/ui/fl/Change';
2
- import { TextBundle } from '../../i18n';
3
- import { getUi5Version, isLowerThanMinimalUi5Version } from '../../utils/version';
2
+ import { TextBundle } from '../../i18n.js';
3
+ import { getUi5Version, isLowerThanMinimalUi5Version } from '../../utils/version.js';
4
4
  import FlexChange from 'sap/ui/fl/Change';
5
5
  import JsControlTreeModifier from 'sap/ui/core/util/reflection/JsControlTreeModifier';
6
6
  import Log from 'sap/base/Log';
7
- import { getError } from '../../utils/error';
7
+ import { getError } from '../../utils/error.js';
8
8
  import { AppComponent } from 'sap/ui/rta/RuntimeAuthoring';
9
- import { getConfigMapControlIdMap } from '../../utils/fe-v4';
9
+ import { getConfigMapControlIdMap } from '../../utils/fe-v4.js';
10
10
  import { PropertyValue } from '@sap-ux-private/control-property-editor-common';
11
11
 
12
12
  export const ADD_NEW_ANNOTATION_FILE_CHANGE = 'appdescr_app_addAnnotationsToOData';
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["./service"], function (___service) {
3
+ sap.ui.define(["./service"], function (___servicejs) {
4
4
  "use strict";
5
5
 
6
6
  var __exports = {
7
7
  __esModule: true
8
8
  };
9
- __exports.ChangeService = ___service.ChangeService;
9
+ __exports.ChangeService = ___servicejs.ChangeService;
10
10
  return __exports;
11
11
  });
12
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export { ChangeService } from './service';
1
+ export { ChangeService } from './service.js';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/base/Log", "../../i18n", "../../utils/additional-change-info", "../../utils/core", "../../utils/error", "../../utils/info-center-message", "../rta-service", "./flex-change", "./generic-change"], function (___sap_ux_private_control_property_editor_common, Log, ____i18n, ____utils_additional_change_info, ____utils_core, ____utils_error, ____utils_info_center_message, ___rta_service, ___flex_change, ___generic_change) {
3
+ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/base/Log", "../../i18n", "../../utils/additional-change-info", "../../utils/core", "../../utils/error", "../../utils/info-center-message", "../rta-service", "./flex-change", "./generic-change"], function (___sap_ux_private_control_property_editor_common, Log, ____i18njs, ____utils_additional_change_infojs, ____utils_corejs, ____utils_errorjs, ____utils_info_center_messagejs, ___rta_servicejs, ___flex_changejs, ___generic_changejs) {
4
4
  "use strict";
5
5
 
6
6
  const changeProperty = ___sap_ux_private_control_property_editor_common["changeProperty"];
@@ -15,17 +15,17 @@ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-proper
15
15
  const save = ___sap_ux_private_control_property_editor_common["save"];
16
16
  const setApplicationRequiresReload = ___sap_ux_private_control_property_editor_common["setApplicationRequiresReload"];
17
17
  const UNKNOWN_CHANGE_KIND = ___sap_ux_private_control_property_editor_common["UNKNOWN_CHANGE_KIND"];
18
- const getTextBundle = ____i18n["getTextBundle"];
19
- const setAdditionalChangeInfo = ____utils_additional_change_info["setAdditionalChangeInfo"];
20
- const getControlById = ____utils_core["getControlById"];
21
- const isA = ____utils_core["isA"];
22
- const getError = ____utils_error["getError"];
23
- const sendInfoCenterMessage = ____utils_info_center_message["sendInfoCenterMessage"];
24
- const modeAndStackChangeHandler = ___rta_service["modeAndStackChangeHandler"];
25
- const applyChange = ___flex_change["applyChange"];
26
- const GENERIC_CHANGE_HANDLER = ___generic_change["GENERIC_CHANGE_HANDLER"];
27
- const getControlIdByChange = ___generic_change["getControlIdByChange"];
28
- const getFlexObject = ___generic_change["getFlexObject"];
18
+ const getTextBundle = ____i18njs["getTextBundle"];
19
+ const setAdditionalChangeInfo = ____utils_additional_change_infojs["setAdditionalChangeInfo"];
20
+ const getControlById = ____utils_corejs["getControlById"];
21
+ const isA = ____utils_corejs["isA"];
22
+ const getError = ____utils_errorjs["getError"];
23
+ const sendInfoCenterMessage = ____utils_info_center_messagejs["sendInfoCenterMessage"];
24
+ const modeAndStackChangeHandler = ___rta_servicejs["modeAndStackChangeHandler"];
25
+ const applyChange = ___flex_changejs["applyChange"];
26
+ const GENERIC_CHANGE_HANDLER = ___generic_changejs["GENERIC_CHANGE_HANDLER"];
27
+ const getControlIdByChange = ___generic_changejs["getControlIdByChange"];
28
+ const getFlexObject = ___generic_changejs["getFlexObject"];
29
29
  const TITLE_MAP = {
30
30
  appdescr_app_addAnnotationsToOData: 'Add New Annotation File'
31
31
  };
@@ -27,14 +27,14 @@ import type Event from 'sap/ui/base/Event';
27
27
  import UI5Element from 'sap/ui/core/Element';
28
28
  import { ChangeDefinition } from 'sap/ui/fl/Change';
29
29
  import type FlexCommand from 'sap/ui/rta/command/FlexCommand';
30
- import { getTextBundle } from '../../i18n';
31
- import { setAdditionalChangeInfo } from '../../utils/additional-change-info';
32
- import { getControlById, isA } from '../../utils/core';
33
- import { getError } from '../../utils/error';
34
- import { sendInfoCenterMessage } from '../../utils/info-center-message';
35
- import { modeAndStackChangeHandler } from '../rta-service';
36
- import type { ActionSenderFunction, SubscribeFunction, UI5AdaptationOptions } from '../types';
37
- import { applyChange } from './flex-change';
30
+ import { getTextBundle } from '../../i18n.js';
31
+ import { setAdditionalChangeInfo } from '../../utils/additional-change-info.js';
32
+ import { getControlById, isA } from '../../utils/core.js';
33
+ import { getError } from '../../utils/error.js';
34
+ import { sendInfoCenterMessage } from '../../utils/info-center-message.js';
35
+ import { modeAndStackChangeHandler } from '../rta-service.js';
36
+ import type { ActionSenderFunction, SubscribeFunction, UI5AdaptationOptions } from '../types.js';
37
+ import { applyChange } from './flex-change.js';
38
38
  import {
39
39
  ChangeHandler,
40
40
  ChangeType,
@@ -43,7 +43,7 @@ import {
43
43
  getControlIdByChange,
44
44
  getFlexObject,
45
45
  type GenericChange
46
- } from './generic-change';
46
+ } from './generic-change.js';
47
47
 
48
48
  const TITLE_MAP: { [key: string]: string } = {
49
49
  appdescr_app_addAnnotationsToOData: 'Add New Annotation File'
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["../../i18n"], function (____i18n) {
3
+ sap.ui.define(["../../i18n"], function (____i18njs) {
4
4
  "use strict";
5
5
 
6
- const getTextBundle = ____i18n["getTextBundle"];
6
+ const getTextBundle = ____i18njs["getTextBundle"];
7
7
  /**
8
8
  * Function to validate if a given value is a valid binding model.
9
9
  *
@@ -1,7 +1,7 @@
1
1
  import type ResourceBundle from 'sap/base/i18n/ResourceBundle';
2
2
  import type ResourceModel from 'sap/ui/model/resource/ResourceModel';
3
3
  import type UI5Element from 'sap/ui/core/Element';
4
- import { getTextBundle } from '../../i18n';
4
+ import { getTextBundle } from '../../i18n.js';
5
5
 
6
6
  /**
7
7
  * Function to validate if a given value is a valid binding model.
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/error"], function (Log, ___sap_ux_private_control_property_editor_common, ___utils_error) {
3
+ sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/error"], function (Log, ___sap_ux_private_control_property_editor_common, ___utils_errorjs) {
4
4
  "use strict";
5
5
 
6
6
  const startPostMessageCommunication = ___sap_ux_private_control_property_editor_common["startPostMessageCommunication"];
7
- const getError = ___utils_error["getError"];
7
+ const getError = ___utils_errorjs["getError"];
8
8
  class CommunicationService {
9
9
  /**
10
10
  * Sends an action to the CPE.
@@ -3,9 +3,9 @@ import Log from 'sap/base/Log';
3
3
  import type { ExternalAction } from '@sap-ux-private/control-property-editor-common';
4
4
  import { startPostMessageCommunication } from '@sap-ux-private/control-property-editor-common';
5
5
 
6
- import { getError } from '../utils/error';
6
+ import { getError } from '../utils/error.js';
7
7
 
8
- import type { ActionHandler } from './types';
8
+ import type { ActionHandler } from './types.js';
9
9
 
10
10
  export class CommunicationService {
11
11
  /**
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/version"], function (___sap_ux_private_control_property_editor_common, ___utils_version) {
3
+ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/version"], function (___sap_ux_private_control_property_editor_common, ___utils_versionjs) {
4
4
  "use strict";
5
5
 
6
6
  function __ui5_require_async(path) {
@@ -22,8 +22,8 @@ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-proper
22
22
  }
23
23
  const reloadApplication = ___sap_ux_private_control_property_editor_common["reloadApplication"];
24
24
  const storageFileChanged = ___sap_ux_private_control_property_editor_common["storageFileChanged"];
25
- const getUi5Version = ___utils_version["getUi5Version"];
26
- const isLowerThanMinimalUi5Version = ___utils_version["isLowerThanMinimalUi5Version"];
25
+ const getUi5Version = ___utils_versionjs["getUi5Version"];
26
+ const isLowerThanMinimalUi5Version = ___utils_versionjs["isLowerThanMinimalUi5Version"];
27
27
  /**
28
28
  * A Class of WorkspaceConnectorService
29
29
  */
@@ -1,8 +1,8 @@
1
1
  import type { ExternalAction } from '@sap-ux-private/control-property-editor-common';
2
2
  import { reloadApplication, storageFileChanged } from '@sap-ux-private/control-property-editor-common';
3
- import type { ActionSenderFunction, SubscribeFunction } from './types';
4
- import { getUi5Version, isLowerThanMinimalUi5Version } from '../utils/version';
5
- import { AdditionalChangeInfo } from '../utils/additional-change-info';
3
+ import type { ActionSenderFunction, SubscribeFunction } from './types.js';
4
+ import { getUi5Version, isLowerThanMinimalUi5Version } from '../utils/version.js';
5
+ import { AdditionalChangeInfo } from '../utils/additional-change-info.js';
6
6
  /**
7
7
  * A Class of WorkspaceConnectorService
8
8
  */
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../adp/dialog-factory", "../i18n", "sap/base/Log", "../utils/core", "../utils/version", "../utils/application"], function (___sap_ux_private_control_property_editor_common, ___adp_dialog_factory, ___i18n, Log, ___utils_core, ___utils_version, ___utils_application) {
3
+ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../adp/dialog-factory", "../i18n", "sap/base/Log", "../utils/core", "../utils/version", "../utils/application"], function (___sap_ux_private_control_property_editor_common, ___adp_dialog_factoryjs, ___i18njs, Log, ___utils_corejs, ___utils_versionjs, ___utils_applicationjs) {
4
4
  "use strict";
5
5
 
6
6
  const executeContextMenuAction = ___sap_ux_private_control_property_editor_common["executeContextMenuAction"];
7
7
  const reportTelemetry = ___sap_ux_private_control_property_editor_common["reportTelemetry"];
8
8
  const requestControlContextMenu = ___sap_ux_private_control_property_editor_common["requestControlContextMenu"];
9
- const DialogFactory = ___adp_dialog_factory["DialogFactory"];
10
- const getTextBundle = ___i18n["getTextBundle"];
11
- const getControlById = ___utils_core["getControlById"];
12
- const getUi5Version = ___utils_version["getUi5Version"];
13
- const getApplicationType = ___utils_application["getApplicationType"];
9
+ const DialogFactory = ___adp_dialog_factoryjs["DialogFactory"];
10
+ const getTextBundle = ___i18njs["getTextBundle"];
11
+ const getControlById = ___utils_corejs["getControlById"];
12
+ const getUi5Version = ___utils_versionjs["getUi5Version"];
13
+ const getApplicationType = ___utils_applicationjs["getApplicationType"];
14
14
  /**
15
15
  * A Class of ContextMenuService
16
16
  */
@@ -4,15 +4,15 @@ import {
4
4
  reportTelemetry,
5
5
  requestControlContextMenu
6
6
  } from '@sap-ux-private/control-property-editor-common';
7
- import { ActionSenderFunction, SubscribeFunction } from './types';
7
+ import { ActionSenderFunction, SubscribeFunction } from './types.js';
8
8
  import RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
9
9
  import { ActionService } from 'sap/ui/rta/service/Action';
10
- import { DialogFactory } from '../adp/dialog-factory';
11
- import { getTextBundle } from '../i18n';
10
+ import { DialogFactory } from '../adp/dialog-factory.js';
11
+ import { getTextBundle } from '../i18n.js';
12
12
  import Log from 'sap/base/Log';
13
- import { getControlById } from '../utils/core';
14
- import { getUi5Version } from '../utils/version';
15
- import { getApplicationType } from '../utils/application';
13
+ import { getControlById } from '../utils/core.js';
14
+ import { getUi5Version } from '../utils/version.js';
15
+ import { getApplicationType } from '../utils/application.js';
16
16
 
17
17
  /**
18
18
  * A Class of ContextMenuService
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/ui/fl/Utils", "./utils", "sap/ui/base/DataType", "../utils/fe-v4"], function (___sap_ux_private_control_property_editor_common, Utils, ___utils, DataType, ___utils_fe_v4) {
3
+ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/ui/fl/Utils", "./utils", "sap/ui/base/DataType", "../utils/fe-v4"], function (___sap_ux_private_control_property_editor_common, Utils, ___utilsjs, DataType, ___utils_fe_v4js) {
4
4
  "use strict";
5
5
 
6
6
  const BOOLEAN_VALUE_TYPE = ___sap_ux_private_control_property_editor_common["BOOLEAN_VALUE_TYPE"];
@@ -12,8 +12,8 @@ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-proper
12
12
  const PropertyType = ___sap_ux_private_control_property_editor_common["PropertyType"];
13
13
  const STRING_VALUE_TYPE = ___sap_ux_private_control_property_editor_common["STRING_VALUE_TYPE"];
14
14
  const convertCamelCaseToPascalCase = ___sap_ux_private_control_property_editor_common["convertCamelCaseToPascalCase"];
15
- const getManifestProperties = ___utils["getManifestProperties"];
16
- const getV4PageType = ___utils_fe_v4["getV4PageType"];
15
+ const getManifestProperties = ___utilsjs["getManifestProperties"];
16
+ const getV4PageType = ___utils_fe_v4js["getV4PageType"];
17
17
  /**
18
18
  * A property is disabled if it is an array or the type is 'any'
19
19
  * - since we currently don't have a good editor for it Otherwise, it is enabled.
@@ -14,12 +14,12 @@ import {
14
14
  import Utils from 'sap/ui/fl/Utils';
15
15
  import type ManagedObject from 'sap/ui/base/ManagedObject';
16
16
  import type ElementOverlay from 'sap/ui/dt/ElementOverlay';
17
- import type { MergedSetting, ManagedObjectMetadataProperties } from './utils';
18
- import { getManifestProperties } from './utils';
19
- import type { UI5ControlProperty } from './types';
17
+ import type { MergedSetting, ManagedObjectMetadataProperties } from './utils.js';
18
+ import { getManifestProperties } from './utils.js';
19
+ import type { UI5ControlProperty } from './types.js';
20
20
  import DataType from 'sap/ui/base/DataType';
21
- import { getV4PageType } from '../utils/fe-v4';
22
- import type { ChangeService } from './changes';
21
+ import { getV4PageType } from '../utils/fe-v4.js';
22
+ import type { ChangeService } from './changes/index.js';
23
23
  import type { TemplateType } from 'sap/ui/dt/DesignTimeMetadata';
24
24
 
25
25
  type AnalyzedType = Pick<UI5ControlProperty, 'isArray' | 'primitiveType' | 'ui5Type' | 'enumValues'>;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["./utils", "sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/info-center-message", "../utils/error"], function (___utils, Log, ___sap_ux_private_control_property_editor_common, ___utils_info_center_message, ___utils_error) {
3
+ sap.ui.define(["./utils", "sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/info-center-message", "../utils/error"], function (___utilsjs, Log, ___sap_ux_private_control_property_editor_common, ___utils_info_center_messagejs, ___utils_errorjs) {
4
4
  "use strict";
5
5
 
6
- const getLibrary = ___utils["getLibrary"];
6
+ const getLibrary = ___utilsjs["getLibrary"];
7
7
  const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
8
- const sendInfoCenterMessage = ___utils_info_center_message["sendInfoCenterMessage"];
9
- const FetchError = ___utils_error["FetchError"];
8
+ const sendInfoCenterMessage = ___utils_info_center_messagejs["sendInfoCenterMessage"];
9
+ const FetchError = ___utils_errorjs["FetchError"];
10
10
  /**
11
11
  * Get ui5 metadata of given library name.
12
12
  *
@@ -1,10 +1,10 @@
1
- import { getLibrary } from './utils';
2
- import type { SchemaForApiJsonFiles, Ui5Metadata, Ui5Property } from './api-json';
3
- import type { Properties } from './utils';
1
+ import { getLibrary } from './utils.js';
2
+ import type { SchemaForApiJsonFiles, Ui5Metadata, Ui5Property } from './api-json.js';
3
+ import type { Properties } from './utils.js';
4
4
  import Log from 'sap/base/Log';
5
5
  import { MessageBarType, PropertiesInfo } from '@sap-ux-private/control-property-editor-common';
6
- import { sendInfoCenterMessage } from '../utils/info-center-message';
7
- import { FetchError } from '../utils/error';
6
+ import { sendInfoCenterMessage } from '../utils/info-center-message.js';
7
+ import { FetchError } from '../utils/error.js';
8
8
 
9
9
  export interface ControlMetadata {
10
10
  baseType: string | undefined;
@@ -1,26 +1,26 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/error", "./changes/service", "./communication-service", "./connector-service", "./context-menu-service", "./documentation", "./outline/service", "./quick-actions/quick-action-service", "./rta-service", "./selection", "./ui5-utils", "./odata-health/odata-health-checker", "../utils/info-center-message", "./odata-health/odata-health-status"], function (Log, ___sap_ux_private_control_property_editor_common, ___utils_error, ___changes_service, ___communication_service, ___connector_service, ___context_menu_service, ___documentation, ___outline_service, ___quick_actions_quick_action_service, ___rta_service, ___selection, ___ui5_utils, ___odata_health_odata_health_checker, ___utils_info_center_message, ___odata_health_odata_health_status) {
3
+ sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/error", "./changes/service", "./communication-service", "./connector-service", "./context-menu-service", "./documentation", "./outline/service", "./quick-actions/quick-action-service", "./rta-service", "./selection", "./ui5-utils", "./odata-health/odata-health-checker", "../utils/info-center-message", "./odata-health/odata-health-status"], function (Log, ___sap_ux_private_control_property_editor_common, ___utils_errorjs, ___changes_servicejs, ___communication_servicejs, ___connector_servicejs, ___context_menu_servicejs, ___documentationjs, ___outline_servicejs, ___quick_actions_quick_action_servicejs, ___rta_servicejs, ___selectionjs, ___ui5_utilsjs, ___odata_health_odata_health_checkerjs, ___utils_info_center_messagejs, ___odata_health_odata_health_statusjs) {
4
4
  "use strict";
5
5
 
6
6
  const appLoaded = ___sap_ux_private_control_property_editor_common["appLoaded"];
7
7
  const enableTelemetry = ___sap_ux_private_control_property_editor_common["enableTelemetry"];
8
8
  const iconsLoaded = ___sap_ux_private_control_property_editor_common["iconsLoaded"];
9
9
  const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
10
- const getError = ___utils_error["getError"];
11
- const ChangeService = ___changes_service["ChangeService"];
12
- const CommunicationService = ___communication_service["CommunicationService"];
13
- const WorkspaceConnectorService = ___connector_service["WorkspaceConnectorService"];
14
- const ContextMenuService = ___context_menu_service["ContextMenuService"];
15
- const loadDefaultLibraries = ___documentation["loadDefaultLibraries"];
16
- const OutlineService = ___outline_service["OutlineService"];
17
- const QuickActionService = ___quick_actions_quick_action_service["QuickActionService"];
18
- const RtaService = ___rta_service["RtaService"];
19
- const SelectionService = ___selection["SelectionService"];
20
- const getIcons = ___ui5_utils["getIcons"];
21
- const ODataHealthChecker = ___odata_health_odata_health_checker["ODataHealthChecker"];
22
- const sendInfoCenterMessage = ___utils_info_center_message["sendInfoCenterMessage"];
23
- const ODataUpStatus = ___odata_health_odata_health_status["ODataUpStatus"];
10
+ const getError = ___utils_errorjs["getError"];
11
+ const ChangeService = ___changes_servicejs["ChangeService"];
12
+ const CommunicationService = ___communication_servicejs["CommunicationService"];
13
+ const WorkspaceConnectorService = ___connector_servicejs["WorkspaceConnectorService"];
14
+ const ContextMenuService = ___context_menu_servicejs["ContextMenuService"];
15
+ const loadDefaultLibraries = ___documentationjs["loadDefaultLibraries"];
16
+ const OutlineService = ___outline_servicejs["OutlineService"];
17
+ const QuickActionService = ___quick_actions_quick_action_servicejs["QuickActionService"];
18
+ const RtaService = ___rta_servicejs["RtaService"];
19
+ const SelectionService = ___selectionjs["SelectionService"];
20
+ const getIcons = ___ui5_utilsjs["getIcons"];
21
+ const ODataHealthChecker = ___odata_health_odata_health_checkerjs["ODataHealthChecker"];
22
+ const sendInfoCenterMessage = ___utils_info_center_messagejs["sendInfoCenterMessage"];
23
+ const ODataUpStatus = ___odata_health_odata_health_statusjs["ODataUpStatus"];
24
24
  /**
25
25
  * Subscribes a handler to the CommunicationService
26
26
  *
@@ -8,22 +8,22 @@ import {
8
8
  MessageBarType
9
9
  } from '@sap-ux-private/control-property-editor-common';
10
10
 
11
- import { getError } from '../utils/error';
12
- import { ChangeService } from './changes/service';
13
- import { CommunicationService } from './communication-service';
14
- import { WorkspaceConnectorService } from './connector-service';
15
- import { ContextMenuService } from './context-menu-service';
16
- import { loadDefaultLibraries } from './documentation';
17
- import { OutlineService } from './outline/service';
18
- import { QuickActionService } from './quick-actions/quick-action-service';
19
- import type { QuickActionDefinitionRegistry } from './quick-actions/registry';
20
- import { RtaService } from './rta-service';
21
- import { SelectionService } from './selection';
22
- import type { ActionHandler, Service } from './types';
23
- import { getIcons } from './ui5-utils';
24
- import { ODataHealthChecker } from './odata-health/odata-health-checker';
25
- import { sendInfoCenterMessage } from '../utils/info-center-message';
26
- import { ODataUpStatus } from './odata-health/odata-health-status';
11
+ import { getError } from '../utils/error.js';
12
+ import { ChangeService } from './changes/service.js';
13
+ import { CommunicationService } from './communication-service.js';
14
+ import { WorkspaceConnectorService } from './connector-service.js';
15
+ import { ContextMenuService } from './context-menu-service.js';
16
+ import { loadDefaultLibraries } from './documentation.js';
17
+ import { OutlineService } from './outline/service.js';
18
+ import { QuickActionService } from './quick-actions/quick-action-service.js';
19
+ import type { QuickActionDefinitionRegistry } from './quick-actions/registry.js';
20
+ import { RtaService } from './rta-service.js';
21
+ import { SelectionService } from './selection.js';
22
+ import type { ActionHandler, Service } from './types.js';
23
+ import { getIcons } from './ui5-utils.js';
24
+ import { ODataHealthChecker } from './odata-health/odata-health-checker.js';
25
+ import { sendInfoCenterMessage } from '../utils/info-center-message.js';
26
+ import { ODataUpStatus } from './odata-health/odata-health-status.js';
27
27
 
28
28
  /**
29
29
  * Subscribes a handler to the CommunicationService
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/base/Log", "sap/ui/model/odata/v2/ODataModel", "sap/ui/model/odata/v4/ODataModel", "./odata-health-status"], function (Log, ODataModelV2, ODataModelV4, ___odata_health_status) {
3
+ sap.ui.define(["sap/base/Log", "sap/ui/model/odata/v2/ODataModel", "sap/ui/model/odata/v4/ODataModel", "./odata-health-status"], function (Log, ODataModelV2, ODataModelV4, ___odata_health_statusjs) {
4
4
  "use strict";
5
5
 
6
- const ODataDownStatus = ___odata_health_status["ODataDownStatus"];
7
- const ODataUpStatus = ___odata_health_status["ODataUpStatus"];
6
+ const ODataDownStatus = ___odata_health_statusjs["ODataDownStatus"];
7
+ const ODataUpStatus = ___odata_health_statusjs["ODataUpStatus"];
8
8
  /**
9
9
  * The OData version type.
10
10
  */
@@ -41,7 +41,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/model/odata/v2/ODataModel", "sap/ui/model
41
41
  * @returns The OData service info object.
42
42
  */
43
43
  toOdataServiceInfo = src => ({
44
- serviceUrl: src.uri,
44
+ serviceUrl: src.uri ?? '',
45
45
  oDataVersion: src.settings?.odataVersion ?? ODataHealthChecker.DEFAULT_ODATA_VERSION
46
46
  });
47
47
  constructor(rta) {
@@ -120,7 +120,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/model/odata/v2/ODataModel", "sap/ui/model
120
120
  if (isCloudFoundry) {
121
121
  const manifestObject = rootControl.getManifestObject();
122
122
  return odataServices.map(src => ({
123
- serviceUrl: manifestObject.resolveUri(src.uri),
123
+ serviceUrl: manifestObject.resolveUri(src.uri ?? ''),
124
124
  oDataVersion: src.settings?.odataVersion ?? ODataHealthChecker.DEFAULT_ODATA_VERSION
125
125
  }));
126
126
  }
@@ -1,12 +1,12 @@
1
- import type * as ManifestNamespace from '@ui5/manifest/types/manifest';
1
+ import type { SAPJSONSchemaForWebApplicationManifestFile, DataSource } from '@ui5/manifest';
2
2
  import Log from 'sap/base/Log';
3
3
  import ODataModelV2 from 'sap/ui/model/odata/v2/ODataModel';
4
4
  import ODataModelV4 from 'sap/ui/model/odata/v4/ODataModel';
5
5
  import RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
6
- import { ODataDownStatus, ODataHealthStatus, ODataMetadata, ODataUpStatus } from './odata-health-status';
6
+ import { ODataDownStatus, ODataHealthStatus, ODataMetadata, ODataUpStatus } from './odata-health-status.js';
7
7
 
8
- type Manifest = ManifestNamespace.SAPJSONSchemaForWebApplicationManifestFile;
9
- type DataSource = ManifestNamespace.DataSource;
8
+ type Manifest = SAPJSONSchemaForWebApplicationManifestFile;
9
+ type DataSourceType = DataSource;
10
10
 
11
11
  /**
12
12
  * The OData version type.
@@ -48,7 +48,7 @@ export class ODataHealthChecker {
48
48
  * @param src The service data source.
49
49
  * @returns True if the data source represents an OData service.
50
50
  */
51
- private readonly isOdataService = (src: DataSource): boolean => src.type === ODataHealthChecker.ODATA_TYPE;
51
+ private readonly isOdataService = (src: DataSourceType): boolean => src.type === ODataHealthChecker.ODATA_TYPE;
52
52
 
53
53
  /**
54
54
  * Use this helper function to map the OData data source to the internal structure
@@ -56,9 +56,9 @@ export class ODataHealthChecker {
56
56
  * @param src The OData service data source.
57
57
  * @returns The OData service info object.
58
58
  */
59
- private readonly toOdataServiceInfo = (src: DataSource): ODataServiceInfo => ({
60
- serviceUrl: src.uri,
61
- oDataVersion: src.settings?.odataVersion ?? ODataHealthChecker.DEFAULT_ODATA_VERSION
59
+ private readonly toOdataServiceInfo = (src: DataSourceType): ODataServiceInfo => ({
60
+ serviceUrl: src.uri ?? '',
61
+ oDataVersion: (src.settings?.odataVersion as ODataVersion) ?? ODataHealthChecker.DEFAULT_ODATA_VERSION
62
62
  });
63
63
 
64
64
  constructor(private readonly rta: RuntimeAuthoring) {}
@@ -150,8 +150,8 @@ export class ODataHealthChecker {
150
150
  if (isCloudFoundry) {
151
151
  const manifestObject = rootControl.getManifestObject();
152
152
  return odataServices.map((src) => ({
153
- serviceUrl: manifestObject.resolveUri(src.uri),
154
- oDataVersion: (src.settings?.odataVersion ?? ODataHealthChecker.DEFAULT_ODATA_VERSION)
153
+ serviceUrl: manifestObject.resolveUri(src.uri ?? ''),
154
+ oDataVersion: ((src.settings?.odataVersion as ODataVersion) ?? ODataHealthChecker.DEFAULT_ODATA_VERSION)
155
155
  }));
156
156
  }
157
157
 
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["../control-data", "../utils", "sap/ui/dt/OverlayUtil", "sap/ui/dt/OverlayRegistry", "../../utils/core"], function (___control_data, ___utils, OverlayUtil, OverlayRegistry, ____utils_core) {
3
+ sap.ui.define(["../control-data", "../utils", "sap/ui/dt/OverlayUtil", "sap/ui/dt/OverlayRegistry", "../../utils/core"], function (___control_datajs, ___utilsjs, OverlayUtil, OverlayRegistry, ____utils_corejs) {
4
4
  "use strict";
5
5
 
6
- const buildControlData = ___control_data["buildControlData"];
7
- const getRuntimeControl = ___utils["getRuntimeControl"];
8
- const getComponent = ____utils_core["getComponent"];
6
+ const buildControlData = ___control_datajs["buildControlData"];
7
+ const getRuntimeControl = ___utilsjs["getRuntimeControl"];
8
+ const getComponent = ____utils_corejs["getComponent"];
9
9
  const isEditable = (changeService, id = '') => {
10
10
  let editable = false;
11
11
  const control = sap.ui.getCore().byId(id);
@@ -1,9 +1,9 @@
1
- import { buildControlData } from '../control-data';
2
- import { getRuntimeControl } from '../utils';
1
+ import { buildControlData } from '../control-data.js';
2
+ import { getRuntimeControl } from '../utils.js';
3
3
  import OverlayUtil from 'sap/ui/dt/OverlayUtil';
4
4
  import OverlayRegistry from 'sap/ui/dt/OverlayRegistry';
5
- import { getComponent } from '../../utils/core';
6
- import type { ChangeService } from '../changes';
5
+ import { getComponent } from '../../utils/core.js';
6
+ import type { ChangeService } from '../changes/index.js';
7
7
 
8
8
  export const isEditable = (changeService: ChangeService, id = ''): boolean => {
9
9
  let editable = false;
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/base/Log", "../../utils/core", "../../utils/error", "../utils", "./editable", "../../utils/fe-v4"], function (Log, ____utils_core, ____utils_error, ___utils, ___editable, ____utils_fe_v4) {
3
+ sap.ui.define(["sap/base/Log", "../../utils/core", "../../utils/error", "../utils", "./editable", "../../utils/fe-v4"], function (Log, ____utils_corejs, ____utils_errorjs, ___utilsjs, ___editablejs, ____utils_fe_v4js) {
4
4
  "use strict";
5
5
 
6
- const getControlById = ____utils_core["getControlById"];
7
- const getError = ____utils_error["getError"];
8
- const getOverlay = ___utils["getOverlay"];
9
- const isEditable = ___editable["isEditable"];
10
- const getConfigMapControlIdMap = ____utils_fe_v4["getConfigMapControlIdMap"];
11
- const getPageName = ____utils_fe_v4["getPageName"];
6
+ const getControlById = ____utils_corejs["getControlById"];
7
+ const getError = ____utils_errorjs["getError"];
8
+ const getOverlay = ___utilsjs["getOverlay"];
9
+ const isEditable = ___editablejs["isEditable"];
10
+ const getConfigMapControlIdMap = ____utils_fe_v4js["getConfigMapControlIdMap"];
11
+ const getPageName = ____utils_fe_v4js["getPageName"];
12
12
  /**
13
13
  * Retrieves additional data for a given control ID.
14
14
  *
@@ -3,15 +3,15 @@ import type { OutlineViewNode } from 'sap/ui/rta/command/OutlineService';
3
3
  import type { Scenario } from 'sap/ui/fl/Scenario';
4
4
  import Log from 'sap/base/Log';
5
5
 
6
- import { getControlById } from '../../utils/core';
7
- import { getError } from '../../utils/error';
6
+ import { getControlById } from '../../utils/core.js';
7
+ import { getError } from '../../utils/error.js';
8
8
 
9
- import type { ControlTreeIndex } from '../types';
10
- import { getOverlay } from '../utils';
9
+ import type { ControlTreeIndex } from '../types.js';
10
+ import { getOverlay } from '../utils.js';
11
11
 
12
- import { isEditable } from './editable';
13
- import type { ChangeService } from '../changes';
14
- import { getConfigMapControlIdMap, getPageName } from '../../utils/fe-v4';
12
+ import { isEditable } from './editable.js';
13
+ import type { ChangeService } from '../changes/index.js';
14
+ import { getConfigMapControlIdMap, getPageName } from '../../utils/fe-v4.js';
15
15
 
16
16
  interface AdditionalData {
17
17
  text?: string;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../utils/error", "./nodes"], function (Log, ___sap_ux_private_control_property_editor_common, ____utils_error, ___nodes) {
3
+ sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../utils/error", "./nodes"], function (Log, ___sap_ux_private_control_property_editor_common, ____utils_errorjs, ___nodesjs) {
4
4
  "use strict";
5
5
 
6
6
  const outlineChanged = ___sap_ux_private_control_property_editor_common["outlineChanged"];
7
- const getError = ____utils_error["getError"];
8
- const transformNodes = ___nodes["transformNodes"];
7
+ const getError = ____utils_errorjs["getError"];
8
+ const transformNodes = ___nodesjs["transformNodes"];
9
9
  const OUTLINE_CHANGE_EVENT = 'OUTLINE_CHANGED';
10
10
  /**
11
11
  * A Class of WorkspaceConnectorService