@sap-ux/preview-middleware 0.26.12 → 1.0.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 (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
@@ -5,10 +5,10 @@ import type RTAOutlineService from 'sap/ui/rta/command/OutlineService';
5
5
  import type { ExternalAction } from '@sap-ux-private/control-property-editor-common';
6
6
  import { outlineChanged } from '@sap-ux-private/control-property-editor-common';
7
7
 
8
- import { getError } from '../../utils/error';
9
- import { ChangeService } from '../changes';
10
- import { ControlTreeIndex } from '../types';
11
- import { transformNodes } from './nodes';
8
+ import { getError } from '../../utils/error.js';
9
+ import { ChangeService } from '../changes/index.js';
10
+ import { ControlTreeIndex } from '../types.js';
11
+ import { transformNodes } from './nodes.js';
12
12
 
13
13
  export const OUTLINE_CHANGE_EVENT = 'OUTLINE_CHANGED';
14
14
 
@@ -1,6 +1,6 @@
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", "../../i18n", "../../adp/dialog-factory", "../../utils/application", "../../utils/version"], function (Log, ___sap_ux_private_control_property_editor_common, ____i18n, ____adp_dialog_factory, ____utils_application, ____utils_version) {
3
+ sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../i18n", "../../adp/dialog-factory", "../../utils/application", "../../utils/version"], function (Log, ___sap_ux_private_control_property_editor_common, ____i18njs, ____adp_dialog_factoryjs, ____utils_applicationjs, ____utils_versionjs) {
4
4
  "use strict";
5
5
 
6
6
  const executeQuickAction = ___sap_ux_private_control_property_editor_common["executeQuickAction"];
@@ -10,10 +10,10 @@ sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-privat
10
10
  const updateQuickAction = ___sap_ux_private_control_property_editor_common["updateQuickAction"];
11
11
  const externalFileChange = ___sap_ux_private_control_property_editor_common["externalFileChange"];
12
12
  const reportTelemetry = ___sap_ux_private_control_property_editor_common["reportTelemetry"];
13
- const getTextBundle = ____i18n["getTextBundle"];
14
- const DialogFactory = ____adp_dialog_factory["DialogFactory"];
15
- const getApplicationType = ____utils_application["getApplicationType"];
16
- const getUi5Version = ____utils_version["getUi5Version"];
13
+ const getTextBundle = ____i18njs["getTextBundle"];
14
+ const DialogFactory = ____adp_dialog_factoryjs["DialogFactory"];
15
+ const getApplicationType = ____utils_applicationjs["getApplicationType"];
16
+ const getUi5Version = ____utils_versionjs["getUi5Version"];
17
17
  /**
18
18
  * Service providing Quick Actions.
19
19
  */
@@ -17,21 +17,21 @@ import {
17
17
  reportTelemetry
18
18
  } from '@sap-ux-private/control-property-editor-common';
19
19
 
20
- import type { ActionSenderFunction, ControlTreeIndex, Service, SubscribeFunction } from '../types';
20
+ import type { ActionSenderFunction, ControlTreeIndex, Service, SubscribeFunction } from '../types.js';
21
21
 
22
22
  import type {
23
23
  QuickActionActivationContext,
24
24
  QuickActionContext,
25
25
  QuickActionDefinition
26
- } from './quick-action-definition';
27
- import type { QuickActionDefinitionRegistry } from './registry';
28
- import type { OutlineService } from '../outline/service';
29
- import type { TextBundle } from '../../i18n';
30
- import { getTextBundle } from '../../i18n';
31
- import type { ChangeService } from '../changes';
32
- import { DialogFactory } from '../../adp/dialog-factory';
33
- import { getApplicationType } from '../../utils/application';
34
- import { getUi5Version } from '../../utils/version';
26
+ } from './quick-action-definition.js';
27
+ import type { QuickActionDefinitionRegistry } from './registry.js';
28
+ import type { OutlineService } from '../outline/service.js';
29
+ import type { TextBundle } from '../../i18n.js';
30
+ import { getTextBundle } from '../../i18n.js';
31
+ import type { ChangeService } from '../changes/index.js';
32
+ import { DialogFactory } from '../../adp/dialog-factory.js';
33
+ import { getApplicationType } from '../../utils/application.js';
34
+ import { getUi5Version } from '../../utils/version.js';
35
35
 
36
36
  /**
37
37
  * Service providing Quick Actions.
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/m/NavContainer", "sap/f/FlexibleColumnLayout", "sap/f/library", "sap/base/Log", "sap/ui/core/ComponentContainer", "../../utils/core", "../utils"], function (NavContainer, FlexibleColumnLayout, sap_f_library, Log, ComponentContainer, ____utils_core, ___utils) {
3
+ sap.ui.define(["sap/m/NavContainer", "sap/f/FlexibleColumnLayout", "sap/f/library", "sap/base/Log", "sap/ui/core/ComponentContainer", "../../utils/core", "../utils"], function (NavContainer, FlexibleColumnLayout, sap_f_library, Log, ComponentContainer, ____utils_corejs, ___utilsjs) {
4
4
  "use strict";
5
5
 
6
6
  const LayoutType = sap_f_library["LayoutType"];
7
- const getControlById = ____utils_core["getControlById"];
8
- const getRootControlFromComponentContainer = ___utils["getRootControlFromComponentContainer"];
7
+ const getControlById = ____utils_corejs["getControlById"];
8
+ const getRootControlFromComponentContainer = ___utilsjs["getRootControlFromComponentContainer"];
9
9
  const NAV_CONTAINER_CONTROL_TYPE = 'sap.m.NavContainer';
10
10
  const FLEXIBLE_COLUMN_LAYOUT_CONTROL_TYPE = 'sap.f.FlexibleColumnLayout';
11
11
  /**
@@ -6,11 +6,11 @@ import type XMLView from 'sap/ui/core/mvc/XMLView';
6
6
  import Log from 'sap/base/Log';
7
7
  import ComponentContainer from 'sap/ui/core/ComponentContainer';
8
8
 
9
- import type { QuickActionActivationContext, QuickActionDefinitionGroup } from './quick-action-definition';
9
+ import type { QuickActionActivationContext, QuickActionDefinitionGroup } from './quick-action-definition.js';
10
10
 
11
- import type { ControlTreeIndex } from '../types';
12
- import { getControlById } from '../../utils/core';
13
- import { getRootControlFromComponentContainer } from '../utils';
11
+ import type { ControlTreeIndex } from '../types.js';
12
+ import { getControlById } from '../../utils/core.js';
13
+ import { getRootControlFromComponentContainer } from '../utils.js';
14
14
 
15
15
  const NAV_CONTAINER_CONTROL_TYPE = 'sap.m.NavContainer';
16
16
  const FLEXIBLE_COLUMN_LAYOUT_CONTROL_TYPE = 'sap.f.FlexibleColumnLayout';
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["../../utils/core"], function (____utils_core) {
3
+ sap.ui.define(["../../utils/core"], function (____utils_corejs) {
4
4
  "use strict";
5
5
 
6
- const getControlById = ____utils_core["getControlById"];
7
- const isA = ____utils_core["isA"];
6
+ const getControlById = ____utils_corejs["getControlById"];
7
+ const isA = ____utils_corejs["isA"];
8
8
  /**
9
9
  * Checks if control is visible in the page.
10
10
  *
@@ -3,9 +3,9 @@ import type Control from 'sap/ui/core/Control';
3
3
  import type ManagedObject from 'sap/ui/base/ManagedObject';
4
4
  import type { FEAppPage } from 'sap/ui/rta/RuntimeAuthoring';
5
5
 
6
- import { getControlById, isA } from '../../utils/core';
6
+ import { getControlById, isA } from '../../utils/core.js';
7
7
 
8
- import type { ControlTreeIndex } from '../types';
8
+ import type { ControlTreeIndex } from '../types.js';
9
9
  import type Component from 'sap/ui/core/Component';
10
10
 
11
11
  export interface FEAppPageInfo {
@@ -9,7 +9,7 @@ import {
9
9
  reloadApplication,
10
10
  applicationModeChanged
11
11
  } from '@sap-ux-private/control-property-editor-common';
12
- import type { ActionSenderFunction, SubscribeFunction } from './types';
12
+ import type { ActionSenderFunction, SubscribeFunction } from './types.js';
13
13
  import type RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
14
14
 
15
15
  /**
@@ -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", "./control-data", "./utils", "sap/base/Log", "sap/ui/dt/OverlayRegistry", "sap/ui/dt/OverlayUtil", "../utils/core", "../utils/error", "./documentation"], function (___sap_ux_private_control_property_editor_common, ___control_data, ___utils, Log, OverlayRegistry, OverlayUtil, ___utils_core, ___utils_error, ___documentation) {
3
+ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "./control-data", "./utils", "sap/base/Log", "sap/ui/dt/OverlayRegistry", "sap/ui/dt/OverlayUtil", "../utils/core", "../utils/error", "./documentation"], function (___sap_ux_private_control_property_editor_common, ___control_datajs, ___utilsjs, Log, OverlayRegistry, OverlayUtil, ___utils_corejs, ___utils_errorjs, ___documentationjs) {
4
4
  "use strict";
5
5
 
6
6
  const changeProperty = ___sap_ux_private_control_property_editor_common["changeProperty"];
@@ -9,13 +9,13 @@ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-proper
9
9
  const PropertyType = ___sap_ux_private_control_property_editor_common["PropertyType"];
10
10
  const reportTelemetry = ___sap_ux_private_control_property_editor_common["reportTelemetry"];
11
11
  const selectControl = ___sap_ux_private_control_property_editor_common["selectControl"];
12
- const buildControlData = ___control_data["buildControlData"];
13
- const getOverlay = ___utils["getOverlay"];
14
- const getRuntimeControl = ___utils["getRuntimeControl"];
15
- const getComponent = ___utils_core["getComponent"];
16
- const getControlById = ___utils_core["getControlById"];
17
- const getError = ___utils_error["getError"];
18
- const getDocumentation = ___documentation["getDocumentation"];
12
+ const buildControlData = ___control_datajs["buildControlData"];
13
+ const getOverlay = ___utilsjs["getOverlay"];
14
+ const getRuntimeControl = ___utilsjs["getRuntimeControl"];
15
+ const getComponent = ___utils_corejs["getComponent"];
16
+ const getControlById = ___utils_corejs["getControlById"];
17
+ const getError = ___utils_errorjs["getError"];
18
+ const getDocumentation = ___documentationjs["getDocumentation"];
19
19
  /**
20
20
  * Change id is a combination of controlId and propertyName.
21
21
  *
@@ -7,9 +7,9 @@ import {
7
7
  reportTelemetry,
8
8
  selectControl
9
9
  } from '@sap-ux-private/control-property-editor-common';
10
- import { buildControlData } from './control-data';
11
- import type { ActionSenderFunction, Service, SubscribeFunction } from './types';
12
- import { getOverlay, getRuntimeControl, ManagedObjectMetadataProperties, PropertiesInfo } from './utils';
10
+ import { buildControlData } from './control-data.js';
11
+ import type { ActionSenderFunction, Service, SubscribeFunction } from './types.js';
12
+ import { getOverlay, getRuntimeControl, ManagedObjectMetadataProperties, PropertiesInfo } from './utils.js';
13
13
 
14
14
  import Log from 'sap/base/Log';
15
15
  import type Event from 'sap/ui/base/Event';
@@ -19,10 +19,10 @@ import OverlayRegistry from 'sap/ui/dt/OverlayRegistry';
19
19
  import OverlayUtil from 'sap/ui/dt/OverlayUtil';
20
20
  import type RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
21
21
  import type { SelectionChangeEvent } from 'sap/ui/rta/RuntimeAuthoring';
22
- import { getComponent, getControlById } from '../utils/core';
23
- import { getError } from '../utils/error';
24
- import { ChangeService } from './changes';
25
- import { getDocumentation } from './documentation';
22
+ import { getComponent, getControlById } from '../utils/core.js';
23
+ import { getError } from '../utils/error.js';
24
+ import { ChangeService } from './changes/index.js';
25
+ import { getDocumentation } from './documentation.js';
26
26
 
27
27
  export interface PropertyChangeParams {
28
28
  name: string;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/ui/core/mvc/XMLView", "sap/ui/core/UIComponent", "../utils/core", "sap/ui/dt/OverlayRegistry", "sap/ui/dt/OverlayUtil"], function (XMLView, UIComponent, ___utils_core, OverlayRegistry, OverlayUtil) {
3
+ sap.ui.define(["sap/ui/core/mvc/XMLView", "sap/ui/core/UIComponent", "../utils/core", "sap/ui/dt/OverlayRegistry", "sap/ui/dt/OverlayUtil"], function (XMLView, UIComponent, ___utils_corejs, OverlayRegistry, OverlayUtil) {
4
4
  "use strict";
5
5
 
6
- const getComponent = ___utils_core["getComponent"];
6
+ const getComponent = ___utils_corejs["getComponent"];
7
7
  /**
8
8
  * Get runtime control.
9
9
  *
@@ -6,9 +6,9 @@ import ComponentContainer from 'sap/ui/core/ComponentContainer';
6
6
  import XMLView from 'sap/ui/core/mvc/XMLView';
7
7
  import UIComponent from 'sap/ui/core/UIComponent';
8
8
 
9
- import { getComponent } from '../utils/core';
9
+ import { getComponent } from '../utils/core.js';
10
10
  import { DesigntimeSetting } from 'sap/ui/dt/DesignTimeMetadata';
11
- import { ChangeService } from './changes';
11
+ import { ChangeService } from './changes/index.js';
12
12
  import UI5Element from 'sap/ui/core/Element';
13
13
  import OverlayRegistry from 'sap/ui/dt/OverlayRegistry';
14
14
  import OverlayUtil from 'sap/ui/dt/OverlayUtil';
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/base/util/merge", "sap/ui/fl/write/api/connectors/ObjectStorageConnector", "sap/ui/fl/Layer", "./common", "../utils/version", "../utils/additional-change-info"], function (merge, ObjectStorageConnector, Layer, ___common, ___utils_version, ___utils_additional_change_info) {
3
+ sap.ui.define(["sap/base/util/merge", "sap/ui/fl/write/api/connectors/ObjectStorageConnector", "sap/ui/fl/Layer", "./common", "../utils/version", "../utils/additional-change-info"], function (merge, ObjectStorageConnector, Layer, ___commonjs, ___utils_versionjs, ___utils_additional_change_infojs) {
4
4
  "use strict";
5
5
 
6
- const CHANGES_API_PATH_STATIC = ___common["CHANGES_API_PATH"];
7
- const getFlexSettings = ___common["getFlexSettings"];
8
- const getUi5Version = ___utils_version["getUi5Version"];
9
- const isLowerThanMinimalUi5Version = ___utils_version["isLowerThanMinimalUi5Version"];
10
- const getAdditionalChangeInfo = ___utils_additional_change_info["getAdditionalChangeInfo"];
6
+ const CHANGES_API_PATH_STATIC = ___commonjs["CHANGES_API_PATH"];
7
+ const getFlexSettings = ___commonjs["getFlexSettings"];
8
+ const getUi5Version = ___utils_versionjs["getUi5Version"];
9
+ const isLowerThanMinimalUi5Version = ___utils_versionjs["isLowerThanMinimalUi5Version"];
10
+ const getAdditionalChangeInfo = ___utils_additional_change_infojs["getAdditionalChangeInfo"];
11
11
  const baseUrl = document.getElementById('sap-ui-bootstrap')?.dataset.openUxPreviewBaseUrl ?? '';
12
12
  const changesApiPath = `${baseUrl}${CHANGES_API_PATH_STATIC}`;
13
13
  const connector = merge({}, ObjectStorageConnector, {
@@ -1,10 +1,10 @@
1
1
  import merge from 'sap/base/util/merge';
2
2
  import ObjectStorageConnector from 'sap/ui/fl/write/api/connectors/ObjectStorageConnector';
3
3
  import Layer from 'sap/ui/fl/Layer';
4
- import type { FlexChange } from './common';
5
- import { CHANGES_API_PATH as CHANGES_API_PATH_STATIC, getFlexSettings } from './common';
6
- import { getUi5Version, isLowerThanMinimalUi5Version } from '../utils/version';
7
- import { getAdditionalChangeInfo } from '../utils/additional-change-info';
4
+ import type { FlexChange } from './common.js';
5
+ import { CHANGES_API_PATH as CHANGES_API_PATH_STATIC, getFlexSettings } from './common.js';
6
+ import { getUi5Version, isLowerThanMinimalUi5Version } from '../utils/version.js';
7
+ import { getAdditionalChangeInfo } from '../utils/additional-change-info.js';
8
8
 
9
9
  const baseUrl = document.getElementById('sap-ui-bootstrap')?.dataset.openUxPreviewBaseUrl ?? '';
10
10
  const changesApiPath = `${baseUrl}${CHANGES_API_PATH_STATIC}`;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["sap/ui/fl/LrepConnector", "sap/ui/fl/FakeLrepConnector", "../utils/additional-change-info", "./common"], function (LrepConnector, FakeLrepConnector, ___utils_additional_change_info, ___common) {
3
+ sap.ui.define(["sap/ui/fl/LrepConnector", "sap/ui/fl/FakeLrepConnector", "../utils/additional-change-info", "./common"], function (LrepConnector, FakeLrepConnector, ___utils_additional_change_infojs, ___commonjs) {
4
4
  "use strict";
5
5
 
6
- const getAdditionalChangeInfo = ___utils_additional_change_info["getAdditionalChangeInfo"];
7
- const CHANGES_API_PATH_STATIC = ___common["CHANGES_API_PATH"];
8
- const getFlexSettings = ___common["getFlexSettings"];
6
+ const getAdditionalChangeInfo = ___utils_additional_change_infojs["getAdditionalChangeInfo"];
7
+ const CHANGES_API_PATH_STATIC = ___commonjs["CHANGES_API_PATH"];
8
+ const getFlexSettings = ___commonjs["getFlexSettings"];
9
9
  const baseUrl = document.getElementById('sap-ui-bootstrap')?.dataset.openUxPreviewBaseUrl ?? '';
10
10
  const changesApiPath = `${baseUrl}${CHANGES_API_PATH_STATIC}`;
11
11
 
@@ -1,9 +1,9 @@
1
1
  import LrepConnector from 'sap/ui/fl/LrepConnector';
2
2
  import FakeLrepConnector from 'sap/ui/fl/FakeLrepConnector';
3
- import { getAdditionalChangeInfo } from '../utils/additional-change-info';
3
+ import { getAdditionalChangeInfo } from '../utils/additional-change-info.js';
4
4
 
5
- import type { FlexChange } from './common';
6
- import { CHANGES_API_PATH as CHANGES_API_PATH_STATIC, getFlexSettings } from './common';
5
+ import type { FlexChange } from './common.js';
6
+ import { CHANGES_API_PATH as CHANGES_API_PATH_STATIC, getFlexSettings } from './common.js';
7
7
 
8
8
  interface FetchedChanges {
9
9
  [key: string]: FlexChange;
@@ -1,6 +1,6 @@
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", "sap/ui/core/IconPool", "sap/base/i18n/ResourceBundle", "../adp/api-handler", "../utils/error", "./initConnectors", "../utils/version", "../utils/info-center-message"], function (Log, ___sap_ux_private_control_property_editor_common, IconPool, ResourceBundle, ___adp_api_handler, ___utils_error, __initConnectors, ___utils_version, ___utils_info_center_message) {
3
+ sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/ui/core/IconPool", "sap/base/i18n/ResourceBundle", "../adp/api-handler", "../utils/error", "./initConnectors", "../utils/version", "../utils/info-center-message"], function (Log, ___sap_ux_private_control_property_editor_common, IconPool, ResourceBundle, ___adp_api_handlerjs, ___utils_errorjs, __initConnectors, ___utils_versionjs, ___utils_info_center_messagejs) {
4
4
  "use strict";
5
5
 
6
6
  function _interopRequireDefault(obj) {
@@ -25,12 +25,12 @@ sap.ui.define(["sap/base/Log", "open/ux/preview/client/thirdparty/@sap-ux-privat
25
25
  }
26
26
  const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
27
27
  const SCENARIO = ___sap_ux_private_control_property_editor_common["SCENARIO"];
28
- const getManifestAppdescr = ___adp_api_handler["getManifestAppdescr"];
29
- const getError = ___utils_error["getError"];
28
+ const getManifestAppdescr = ___adp_api_handlerjs["getManifestAppdescr"];
29
+ const getError = ___utils_errorjs["getError"];
30
30
  const initConnectors = _interopRequireDefault(__initConnectors);
31
- const getUi5Version = ___utils_version["getUi5Version"];
32
- const isLowerThanMinimalUi5Version = ___utils_version["isLowerThanMinimalUi5Version"];
33
- const sendInfoCenterMessage = ___utils_info_center_message["sendInfoCenterMessage"];
31
+ const getUi5Version = ___utils_versionjs["getUi5Version"];
32
+ const isLowerThanMinimalUi5Version = ___utils_versionjs["isLowerThanMinimalUi5Version"];
33
+ const sendInfoCenterMessage = ___utils_info_center_messagejs["sendInfoCenterMessage"];
34
34
  /**
35
35
  * SAPUI5 delivered namespaces from https://ui5.sap.com/#/api/sap
36
36
  */
@@ -6,14 +6,14 @@ import type { FlexSettings, RTAOptions } from 'sap/ui/rta/RuntimeAuthoring';
6
6
  import IconPool from 'sap/ui/core/IconPool';
7
7
  import ResourceBundle from 'sap/base/i18n/ResourceBundle';
8
8
  import type AppState from 'sap/ushell/services/AppState';
9
- import { getManifestAppdescr } from '../adp/api-handler';
10
- import { getError } from '../utils/error';
11
- import initConnectors from './initConnectors';
12
- import { getUi5Version, isLowerThanMinimalUi5Version, Ui5VersionInfo } from '../utils/version';
9
+ import { getManifestAppdescr } from '../adp/api-handler.js';
10
+ import { getError } from '../utils/error.js';
11
+ import initConnectors from './initConnectors.js';
12
+ import { getUi5Version, isLowerThanMinimalUi5Version, Ui5VersionInfo } from '../utils/version.js';
13
13
  import type Component from 'sap/ui/core/Component';
14
14
  import type Extension from 'sap/ushell/services/Extension';
15
15
  import type { CardGeneratorType } from 'sap/cards/ap/generator';
16
- import { sendInfoCenterMessage } from '../utils/info-center-message';
16
+ import { sendInfoCenterMessage } from '../utils/info-center-message.js';
17
17
 
18
18
  /**
19
19
  * SAPUI5 delivered namespaces from https://ui5.sap.com/#/api/sap
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
 
3
- sap.ui.define(["../utils/version"], function (___utils_version) {
3
+ sap.ui.define(["../utils/version"], function (___utils_versionjs) {
4
4
  "use strict";
5
5
 
6
- const getUi5Version = ___utils_version["getUi5Version"];
7
- const isLowerThanMinimalUi5Version = ___utils_version["isLowerThanMinimalUi5Version"];
6
+ const getUi5Version = ___utils_versionjs["getUi5Version"];
7
+ const isLowerThanMinimalUi5Version = ___utils_versionjs["isLowerThanMinimalUi5Version"];
8
8
  /**
9
9
  * Initializes UI5 connectors based on the current UI5 version.
10
10
  *
@@ -1,4 +1,4 @@
1
- import { getUi5Version, isLowerThanMinimalUi5Version } from '../utils/version';
1
+ import { getUi5Version, isLowerThanMinimalUi5Version } from '../utils/version.js';
2
2
 
3
3
  /**
4
4
  * Initializes UI5 connectors based on the current UI5 version.