@sap-ux/preview-middleware 0.26.11 → 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.
- package/dist/base/cdm.d.ts +2 -2
- package/dist/base/cdm.js +10 -11
- package/dist/base/config.d.ts +1 -1
- package/dist/base/config.js +60 -72
- package/dist/base/flex.js +16 -23
- package/dist/base/flp.d.ts +2 -2
- package/dist/base/flp.js +96 -96
- package/dist/base/index.d.ts +3 -3
- package/dist/base/index.js +3 -12
- package/dist/base/remote-url.js +14 -24
- package/dist/base/test.d.ts +1 -1
- package/dist/base/test.js +2 -6
- package/dist/base/utils/cards.d.ts +1 -1
- package/dist/base/utils/cards.js +3 -9
- package/dist/client/adp/add-fragment.js +4 -4
- package/dist/client/adp/add-fragment.ts +2 -2
- package/dist/client/adp/api-handler.js +2 -2
- package/dist/client/adp/api-handler.ts +1 -1
- package/dist/client/adp/command-executor.js +3 -3
- package/dist/client/adp/command-executor.ts +2 -2
- package/dist/client/adp/controllers/AddActionFragment.controller.js +5 -5
- package/dist/client/adp/controllers/AddActionFragment.controller.ts +7 -7
- package/dist/client/adp/controllers/AddCustomFragment.controller.js +7 -7
- package/dist/client/adp/controllers/AddCustomFragment.controller.ts +9 -9
- package/dist/client/adp/controllers/AddFragment.controller.js +7 -7
- package/dist/client/adp/controllers/AddFragment.controller.ts +11 -11
- package/dist/client/adp/controllers/AddSubpage.controller.js +4 -4
- package/dist/client/adp/controllers/AddSubpage.controller.ts +7 -7
- package/dist/client/adp/controllers/AddTableColumnFragments.controller.js +7 -7
- package/dist/client/adp/controllers/AddTableColumnFragments.controller.ts +11 -11
- package/dist/client/adp/controllers/BaseDialog.controller.js +3 -3
- package/dist/client/adp/controllers/BaseDialog.controller.ts +6 -6
- package/dist/client/adp/controllers/ControllerExtension.controller.js +14 -14
- package/dist/client/adp/controllers/ControllerExtension.controller.ts +12 -12
- package/dist/client/adp/controllers/ExtensionPoint.controller.js +4 -4
- package/dist/client/adp/controllers/ExtensionPoint.controller.ts +5 -5
- package/dist/client/adp/controllers/FileExistsDialog.controller.js +2 -2
- package/dist/client/adp/controllers/FileExistsDialog.controller.ts +2 -2
- package/dist/client/adp/dialog-factory.js +2 -2
- package/dist/client/adp/dialog-factory.ts +16 -16
- package/dist/client/adp/extend-controller.js +4 -4
- package/dist/client/adp/extend-controller.ts +2 -2
- package/dist/client/adp/extension-point.js +5 -5
- package/dist/client/adp/extension-point.ts +4 -4
- package/dist/client/adp/init-dialogs.js +6 -6
- package/dist/client/adp/init-dialogs.ts +6 -6
- package/dist/client/adp/init.js +13 -13
- package/dist/client/adp/init.ts +9 -9
- package/dist/client/adp/quick-actions/add-new-subpage-quick-action-base.js +8 -8
- package/dist/client/adp/quick-actions/add-new-subpage-quick-action-base.ts +10 -10
- package/dist/client/adp/quick-actions/common/add-controller-to-page.js +13 -13
- package/dist/client/adp/quick-actions/common/add-controller-to-page.ts +11 -11
- package/dist/client/adp/quick-actions/common/add-new-annotation-file.js +11 -11
- package/dist/client/adp/quick-actions/common/add-new-annotation-file.ts +10 -10
- package/dist/client/adp/quick-actions/common/create-page-action.js +8 -8
- package/dist/client/adp/quick-actions/common/create-page-action.ts +7 -7
- package/dist/client/adp/quick-actions/common/op-add-custom-section.js +6 -6
- package/dist/client/adp/quick-actions/common/op-add-custom-section.ts +5 -5
- package/dist/client/adp/quick-actions/common/op-add-header-field.js +7 -7
- package/dist/client/adp/quick-actions/common/op-add-header-field.ts +7 -7
- package/dist/client/adp/quick-actions/common/utils.ts +1 -1
- package/dist/client/adp/quick-actions/dialog-enablement-validator.js +3 -3
- package/dist/client/adp/quick-actions/dialog-enablement-validator.ts +3 -3
- package/dist/client/adp/quick-actions/fe-v2/add-new-subpage.js +6 -6
- package/dist/client/adp/quick-actions/fe-v2/add-new-subpage.ts +5 -5
- package/dist/client/adp/quick-actions/fe-v2/change-table-actions.js +5 -5
- package/dist/client/adp/quick-actions/fe-v2/change-table-actions.ts +5 -5
- package/dist/client/adp/quick-actions/fe-v2/change-table-columns.js +7 -7
- package/dist/client/adp/quick-actions/fe-v2/change-table-columns.ts +5 -5
- package/dist/client/adp/quick-actions/fe-v2/create-table-action.js +11 -11
- package/dist/client/adp/quick-actions/fe-v2/create-table-action.ts +6 -6
- package/dist/client/adp/quick-actions/fe-v2/create-table-custom-column.js +13 -13
- package/dist/client/adp/quick-actions/fe-v2/create-table-custom-column.ts +7 -7
- package/dist/client/adp/quick-actions/fe-v2/lr-enable-semantic-date-range-filter-bar.js +9 -9
- package/dist/client/adp/quick-actions/fe-v2/lr-enable-semantic-date-range-filter-bar.ts +6 -6
- package/dist/client/adp/quick-actions/fe-v2/lr-enable-table-filtering.js +11 -11
- package/dist/client/adp/quick-actions/fe-v2/lr-enable-table-filtering.ts +6 -6
- package/dist/client/adp/quick-actions/fe-v2/lr-enable-variant-management.js +4 -4
- package/dist/client/adp/quick-actions/fe-v2/lr-enable-variant-management.ts +3 -3
- package/dist/client/adp/quick-actions/fe-v2/lr-toggle-clear-filter-bar.js +4 -4
- package/dist/client/adp/quick-actions/fe-v2/lr-toggle-clear-filter-bar.ts +4 -4
- package/dist/client/adp/quick-actions/fe-v2/op-enable-empty-row-mode.js +12 -12
- package/dist/client/adp/quick-actions/fe-v2/op-enable-empty-row-mode.ts +8 -8
- package/dist/client/adp/quick-actions/fe-v2/op-enable-variant-management.js +6 -6
- package/dist/client/adp/quick-actions/fe-v2/op-enable-variant-management.ts +5 -5
- package/dist/client/adp/quick-actions/fe-v2/registry.js +18 -18
- package/dist/client/adp/quick-actions/fe-v2/registry.ts +18 -18
- package/dist/client/adp/quick-actions/fe-v2/utils.js +4 -4
- package/dist/client/adp/quick-actions/fe-v2/utils.ts +2 -2
- package/dist/client/adp/quick-actions/fe-v4/add-new-subpage.js +7 -7
- package/dist/client/adp/quick-actions/fe-v4/add-new-subpage.ts +5 -5
- package/dist/client/adp/quick-actions/fe-v4/change-table-actions.js +9 -9
- package/dist/client/adp/quick-actions/fe-v4/change-table-actions.ts +7 -7
- package/dist/client/adp/quick-actions/fe-v4/change-table-columns.js +6 -6
- package/dist/client/adp/quick-actions/fe-v4/change-table-columns.ts +6 -6
- package/dist/client/adp/quick-actions/fe-v4/create-page-action.js +11 -11
- package/dist/client/adp/quick-actions/fe-v4/create-page-action.ts +9 -9
- package/dist/client/adp/quick-actions/fe-v4/create-table-action-config-change.js +13 -13
- package/dist/client/adp/quick-actions/fe-v4/create-table-action-config-change.ts +11 -11
- package/dist/client/adp/quick-actions/fe-v4/create-table-custom-column-config-change.js +16 -16
- package/dist/client/adp/quick-actions/fe-v4/create-table-custom-column-config-change.ts +9 -9
- package/dist/client/adp/quick-actions/fe-v4/enable-variant-management.js +5 -5
- package/dist/client/adp/quick-actions/fe-v4/enable-variant-management.ts +4 -4
- package/dist/client/adp/quick-actions/fe-v4/lr-enable-semantic-date-range-filter-bar.js +5 -5
- package/dist/client/adp/quick-actions/fe-v4/lr-enable-semantic-date-range-filter-bar.ts +5 -5
- package/dist/client/adp/quick-actions/fe-v4/lr-enable-table-filtering.js +7 -7
- package/dist/client/adp/quick-actions/fe-v4/lr-enable-table-filtering.ts +6 -6
- package/dist/client/adp/quick-actions/fe-v4/lr-toggle-clear-filter-bar.js +5 -5
- package/dist/client/adp/quick-actions/fe-v4/lr-toggle-clear-filter-bar.ts +5 -5
- package/dist/client/adp/quick-actions/fe-v4/op-add-custom-section.js +8 -8
- package/dist/client/adp/quick-actions/fe-v4/op-add-custom-section.ts +8 -8
- package/dist/client/adp/quick-actions/fe-v4/op-enable-empty-row-mode.js +12 -12
- package/dist/client/adp/quick-actions/fe-v4/op-enable-empty-row-mode.ts +8 -8
- package/dist/client/adp/quick-actions/fe-v4/registry.js +17 -17
- package/dist/client/adp/quick-actions/fe-v4/registry.ts +17 -17
- package/dist/client/adp/quick-actions/fe-v4/utils.js +6 -6
- package/dist/client/adp/quick-actions/fe-v4/utils.ts +3 -3
- package/dist/client/adp/quick-actions/load.ts +2 -2
- package/dist/client/adp/quick-actions/quick-action-base.js +2 -2
- package/dist/client/adp/quick-actions/quick-action-base.ts +3 -3
- package/dist/client/adp/quick-actions/simple-quick-action-base.js +3 -3
- package/dist/client/adp/quick-actions/simple-quick-action-base.ts +4 -4
- package/dist/client/adp/quick-actions/table-quick-action-base.js +17 -17
- package/dist/client/adp/quick-actions/table-quick-action-base.ts +9 -9
- package/dist/client/adp/sync-views-utils.js +4 -4
- package/dist/client/adp/sync-views-utils.ts +3 -3
- package/dist/client/adp/utils.js +3 -3
- package/dist/client/adp/utils.ts +2 -2
- package/dist/client/cpe/additional-change-info/add-xml-additional-info.js +7 -7
- package/dist/client/cpe/additional-change-info/add-xml-additional-info.ts +2 -2
- package/dist/client/cpe/changes/flex-change.js +3 -3
- package/dist/client/cpe/changes/flex-change.ts +3 -3
- package/dist/client/cpe/changes/generic-change.js +5 -5
- package/dist/client/cpe/changes/generic-change.ts +4 -4
- package/dist/client/cpe/changes/index.js +2 -2
- package/dist/client/cpe/changes/index.ts +1 -1
- package/dist/client/cpe/changes/service.js +12 -12
- package/dist/client/cpe/changes/service.ts +9 -9
- package/dist/client/cpe/changes/validator.js +2 -2
- package/dist/client/cpe/changes/validator.ts +1 -1
- package/dist/client/cpe/communication-service.js +2 -2
- package/dist/client/cpe/communication-service.ts +2 -2
- package/dist/client/cpe/connector-service.js +3 -3
- package/dist/client/cpe/connector-service.ts +3 -3
- package/dist/client/cpe/context-menu-service.js +6 -6
- package/dist/client/cpe/context-menu-service.ts +6 -6
- package/dist/client/cpe/control-data.js +3 -3
- package/dist/client/cpe/control-data.ts +5 -5
- package/dist/client/cpe/documentation.js +4 -4
- package/dist/client/cpe/documentation.ts +5 -5
- package/dist/client/cpe/init.js +15 -15
- package/dist/client/cpe/init.ts +16 -16
- package/dist/client/cpe/odata-health/odata-health-checker.js +5 -5
- package/dist/client/cpe/odata-health/odata-health-checker.ts +10 -10
- package/dist/client/cpe/outline/editable.js +4 -4
- package/dist/client/cpe/outline/editable.ts +4 -4
- package/dist/client/cpe/outline/nodes.js +7 -7
- package/dist/client/cpe/outline/nodes.ts +7 -7
- package/dist/client/cpe/outline/service.js +3 -3
- package/dist/client/cpe/outline/service.ts +4 -4
- package/dist/client/cpe/quick-actions/quick-action-service.js +5 -5
- package/dist/client/cpe/quick-actions/quick-action-service.ts +10 -10
- package/dist/client/cpe/quick-actions/registry.js +3 -3
- package/dist/client/cpe/quick-actions/registry.ts +4 -4
- package/dist/client/cpe/quick-actions/utils.js +3 -3
- package/dist/client/cpe/quick-actions/utils.ts +2 -2
- package/dist/client/cpe/rta-service.ts +1 -1
- package/dist/client/cpe/selection.js +8 -8
- package/dist/client/cpe/selection.ts +7 -7
- package/dist/client/cpe/utils.js +2 -2
- package/dist/client/cpe/utils.ts +2 -2
- package/dist/client/flp/WorkspaceConnector.js +6 -6
- package/dist/client/flp/WorkspaceConnector.ts +4 -4
- package/dist/client/flp/enableFakeConnector.js +4 -4
- package/dist/client/flp/enableFakeConnector.ts +3 -3
- package/dist/client/flp/init.js +6 -6
- package/dist/client/flp/init.ts +5 -5
- package/dist/client/flp/initConnectors.js +3 -3
- package/dist/client/flp/initConnectors.ts +1 -1
- package/dist/client/thirdparty/@sap-ux-private/control-property-editor-common.js +397 -477
- package/dist/client/utils/additional-change-info.js +2 -2
- package/dist/client/utils/additional-change-info.ts +2 -2
- package/dist/client/utils/core.js +2 -2
- package/dist/client/utils/core.ts +1 -1
- package/dist/client/utils/fe-v4.js +3 -3
- package/dist/client/utils/fe-v4.ts +2 -2
- package/dist/client/utils/info-center-message.js +3 -3
- package/dist/client/utils/info-center-message.ts +2 -2
- package/dist/client/utils/version.js +2 -2
- package/dist/client/utils/version.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -25
- package/dist/types/index.js +1 -4
- package/dist/ui5/middleware.d.ts +11 -1
- package/dist/ui5/middleware.js +13 -15
- package/package.json +18 -16
package/dist/base/test.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mergeTestConfigDefaults = mergeTestConfigDefaults;
|
|
4
|
-
exports.generateImportList = generateImportList;
|
|
5
1
|
const DEFAULTS = {
|
|
6
2
|
qunit: {
|
|
7
3
|
path: '/test/unitTests.qunit.html',
|
|
@@ -28,7 +24,7 @@ const DEFAULTS = {
|
|
|
28
24
|
* @param config test configuration
|
|
29
25
|
* @returns merged test configuration
|
|
30
26
|
*/
|
|
31
|
-
function mergeTestConfigDefaults(config) {
|
|
27
|
+
export function mergeTestConfigDefaults(config) {
|
|
32
28
|
const defaults = DEFAULTS[config.framework.toLowerCase()] ?? {};
|
|
33
29
|
const merged = { ...defaults, ...config };
|
|
34
30
|
if (!merged.path.startsWith('/')) {
|
|
@@ -46,7 +42,7 @@ function mergeTestConfigDefaults(config) {
|
|
|
46
42
|
* @param resourceList list of resources representing test files
|
|
47
43
|
* @returns array of strings representing the tests
|
|
48
44
|
*/
|
|
49
|
-
function generateImportList(ns, resourceList) {
|
|
45
|
+
export function generateImportList(ns, resourceList) {
|
|
50
46
|
return resourceList
|
|
51
47
|
? resourceList.map((file) => {
|
|
52
48
|
const path = file.getPath().split('.');
|
package/dist/base/utils/cards.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getIntegrationCard = getIntegrationCard;
|
|
7
|
-
const package_json_1 = __importDefault(require("../../../package.json"));
|
|
1
|
+
import packageJson from '../../../package.json' with { type: 'json' };
|
|
8
2
|
const CARD_TYPES = {
|
|
9
3
|
INTEGRATION: 'integration',
|
|
10
4
|
ADAPTIVE: 'adaptive'
|
|
@@ -16,7 +10,7 @@ const CARD_TYPES = {
|
|
|
16
10
|
* @returns {void}
|
|
17
11
|
*/
|
|
18
12
|
function prepareIntegrationCardForSaving(cardManifest) {
|
|
19
|
-
const version =
|
|
13
|
+
const version = packageJson.version;
|
|
20
14
|
const insights = cardManifest?.['sap.insights'];
|
|
21
15
|
if (!insights.versions) {
|
|
22
16
|
insights.versions = {
|
|
@@ -33,7 +27,7 @@ function prepareIntegrationCardForSaving(cardManifest) {
|
|
|
33
27
|
* @param {MultiCardsPayload[]} multipleCard - The payload containing multiple card manifests.
|
|
34
28
|
* @returns {MultiCardsPayload} The integration card manifest.
|
|
35
29
|
*/
|
|
36
|
-
function getIntegrationCard(multipleCard) {
|
|
30
|
+
export function getIntegrationCard(multipleCard) {
|
|
37
31
|
const integrationCard = multipleCard.find((card) => card.type === CARD_TYPES.INTEGRATION) ?? {
|
|
38
32
|
type: CARD_TYPES.INTEGRATION,
|
|
39
33
|
manifest: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/rta/command/CommandFactory", "./utils", "./dialog-factory", "sap/ui/rta/plugin/AddXMLPlugin"], function (CommandFactory,
|
|
3
|
+
sap.ui.define(["sap/ui/rta/command/CommandFactory", "./utils", "./dialog-factory", "sap/ui/rta/plugin/AddXMLPlugin"], function (CommandFactory, ___utilsjs, ___dialog_factoryjs, AddXMLPlugin) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const createDeferred =
|
|
7
|
-
const DialogFactory =
|
|
8
|
-
const DialogNames =
|
|
6
|
+
const createDeferred = ___utilsjs["createDeferred"];
|
|
7
|
+
const DialogFactory = ___dialog_factoryjs["DialogFactory"];
|
|
8
|
+
const DialogNames = ___dialog_factoryjs["DialogNames"];
|
|
9
9
|
/**
|
|
10
10
|
* Initializes the AddXMLPlugin and includes it in the Runtime Authoring (RTA) plugins.
|
|
11
11
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
|
|
2
2
|
import type UI5Element from 'sap/ui/core/Element';
|
|
3
3
|
import CommandFactory from 'sap/ui/rta/command/CommandFactory';
|
|
4
|
-
import { Deferred, createDeferred } from './utils';
|
|
5
|
-
import { DialogFactory, DialogNames } from './dialog-factory';
|
|
4
|
+
import { Deferred, createDeferred } from './utils.js';
|
|
5
|
+
import { DialogFactory, DialogNames } from './dialog-factory.js';
|
|
6
6
|
import AddXMLPlugin from 'sap/ui/rta/plugin/AddXMLPlugin';
|
|
7
7
|
|
|
8
8
|
export interface AddFragmentData {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["../utils/error"], function (
|
|
3
|
+
sap.ui.define(["../utils/error"], function (___utils_errorjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const getError =
|
|
6
|
+
const getError = ___utils_errorjs["getError"];
|
|
7
7
|
var ApiEndpoints = /*#__PURE__*/function (ApiEndpoints) {
|
|
8
8
|
ApiEndpoints["CHANGES"] = "/preview/api/changes";
|
|
9
9
|
ApiEndpoints["FRAGMENT"] = "/adp/api/fragment";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/ui/rta/command/CommandFactory", "../utils/error", "../utils/info-center-message"], function (___sap_ux_private_control_property_editor_common, CommandFactory,
|
|
3
|
+
sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/ui/rta/command/CommandFactory", "../utils/error", "../utils/info-center-message"], function (___sap_ux_private_control_property_editor_common, CommandFactory, ___utils_errorjs, ___utils_info_center_messagejs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
|
|
7
|
-
const getError =
|
|
8
|
-
const sendInfoCenterMessage =
|
|
7
|
+
const getError = ___utils_errorjs["getError"];
|
|
8
|
+
const sendInfoCenterMessage = ___utils_info_center_messagejs["sendInfoCenterMessage"];
|
|
9
9
|
/**
|
|
10
10
|
* Class responsible for handling rta calls
|
|
11
11
|
*/
|
|
@@ -6,8 +6,8 @@ import type CompositeCommand from 'sap/ui/rta/command/CompositeCommand';
|
|
|
6
6
|
import type FlexCommand from 'sap/ui/rta/command/FlexCommand';
|
|
7
7
|
import type RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
|
|
8
8
|
import type { FlexSettings } from 'sap/ui/rta/RuntimeAuthoring';
|
|
9
|
-
import { getError } from '../utils/error';
|
|
10
|
-
import { sendInfoCenterMessage } from '../utils/info-center-message';
|
|
9
|
+
import { getError } from '../utils/error.js';
|
|
10
|
+
import { sendInfoCenterMessage } from '../utils/info-center-message.js';
|
|
11
11
|
type CommandNames = 'addXML' | 'codeExt' | 'appDescriptor';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["./BaseDialog.controller", "sap/ui/model/json/JSONModel", "../../i18n", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../utils/info-center-message", "../command-executor", "../../utils/error", "sap/ui/core/library"], function (__BaseDialog, JSONModel,
|
|
3
|
+
sap.ui.define(["./BaseDialog.controller", "sap/ui/model/json/JSONModel", "../../i18n", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../utils/info-center-message", "../command-executor", "../../utils/error", "sap/ui/core/library"], function (__BaseDialog, JSONModel, ____i18njs, ___sap_ux_private_control_property_editor_common, ____utils_info_center_messagejs, __CommandExecutor, ____utils_errorjs, sap_ui_core_library) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function _interopRequireDefault(obj) {
|
|
7
7
|
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
8
|
}
|
|
9
9
|
const BaseDialog = _interopRequireDefault(__BaseDialog);
|
|
10
|
-
const getResourceModel =
|
|
11
|
-
const getTextBundle =
|
|
10
|
+
const getResourceModel = ____i18njs["getResourceModel"];
|
|
11
|
+
const getTextBundle = ____i18njs["getTextBundle"];
|
|
12
12
|
const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
|
|
13
|
-
const sendInfoCenterMessage =
|
|
13
|
+
const sendInfoCenterMessage = ____utils_info_center_messagejs["sendInfoCenterMessage"];
|
|
14
14
|
const CommandExecutor = _interopRequireDefault(__CommandExecutor);
|
|
15
|
-
const getError =
|
|
15
|
+
const getError = ____utils_errorjs["getError"];
|
|
16
16
|
const ValueState = sap_ui_core_library["ValueState"];
|
|
17
17
|
/**
|
|
18
18
|
* Validates Action ID input.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
|
|
2
|
-
import { PageDescriptorV4 } from './types';
|
|
2
|
+
import { PageDescriptorV4 } from './types.js';
|
|
3
3
|
import UI5Element from 'sap/ui/core/Element';
|
|
4
|
-
import BaseDialog from './BaseDialog.controller';
|
|
5
|
-
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition';
|
|
4
|
+
import BaseDialog from './BaseDialog.controller.js';
|
|
5
|
+
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
6
6
|
import JSONModel from 'sap/ui/model/json/JSONModel';
|
|
7
7
|
import Dialog from 'sap/m/Dialog';
|
|
8
|
-
import { getResourceModel, getTextBundle, TextBundle } from '../../i18n';
|
|
8
|
+
import { getResourceModel, getTextBundle, TextBundle } from '../../i18n.js';
|
|
9
9
|
import { MessageBarType } from '@sap-ux-private/control-property-editor-common';
|
|
10
10
|
import Button from 'sap/m/Button';
|
|
11
|
-
import { sendInfoCenterMessage } from '../../utils/info-center-message';
|
|
11
|
+
import { sendInfoCenterMessage } from '../../utils/info-center-message.js';
|
|
12
12
|
import Input from 'sap/m/Input';
|
|
13
|
-
import CommandExecutor from '../command-executor';
|
|
13
|
+
import CommandExecutor from '../command-executor.js';
|
|
14
14
|
import Event from 'sap/ui/base/Event';
|
|
15
|
-
import { getError } from '../../utils/error';
|
|
15
|
+
import { getError } from '../../utils/error.js';
|
|
16
16
|
import { ValueState } from 'sap/ui/core/library';
|
|
17
17
|
import FlexCommand from 'sap/ui/rta/command/FlexCommand';
|
|
18
18
|
import SimpleForm from 'sap/ui/layout/form';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/model/json/JSONModel", "../../i18n", "../command-executor", "./BaseDialog.controller", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../cpe/communication-service", "../../utils/info-center-message", "../../utils/error", "sap/ui/core/library", "../api-handler"], function (JSONModel,
|
|
3
|
+
sap.ui.define(["sap/ui/model/json/JSONModel", "../../i18n", "../command-executor", "./BaseDialog.controller", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../cpe/communication-service", "../../utils/info-center-message", "../../utils/error", "sap/ui/core/library", "../api-handler"], function (JSONModel, ____i18njs, __CommandExecutor, __BaseDialog, ___sap_ux_private_control_property_editor_common, ____cpe_communication_servicejs, ____utils_info_center_messagejs, ____utils_errorjs, sap_ui_core_library, ___api_handlerjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function _interopRequireDefault(obj) {
|
|
7
7
|
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
8
|
}
|
|
9
|
-
const getResourceModel =
|
|
10
|
-
const getTextBundle =
|
|
9
|
+
const getResourceModel = ____i18njs["getResourceModel"];
|
|
10
|
+
const getTextBundle = ____i18njs["getTextBundle"];
|
|
11
11
|
const CommandExecutor = _interopRequireDefault(__CommandExecutor);
|
|
12
12
|
const BaseDialog = _interopRequireDefault(__BaseDialog);
|
|
13
13
|
const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
|
|
14
14
|
const setApplicationRequiresReload = ___sap_ux_private_control_property_editor_common["setApplicationRequiresReload"];
|
|
15
|
-
const CommunicationService =
|
|
16
|
-
const sendInfoCenterMessage =
|
|
17
|
-
const getError =
|
|
15
|
+
const CommunicationService = ____cpe_communication_servicejs["CommunicationService"];
|
|
16
|
+
const sendInfoCenterMessage = ____utils_info_center_messagejs["sendInfoCenterMessage"];
|
|
17
|
+
const getError = ____utils_errorjs["getError"];
|
|
18
18
|
const ValueState = sap_ui_core_library["ValueState"];
|
|
19
|
-
const getFragments =
|
|
19
|
+
const getFragments = ___api_handlerjs["getFragments"];
|
|
20
20
|
/**
|
|
21
21
|
* Validates Control ID input.
|
|
22
22
|
*
|
|
@@ -14,21 +14,21 @@ import JSONModel from 'sap/ui/model/json/JSONModel';
|
|
|
14
14
|
/** sap.ui.rta */
|
|
15
15
|
import type RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
|
|
16
16
|
|
|
17
|
-
import { getResourceModel, getTextBundle, TextBundle } from '../../i18n';
|
|
18
|
-
import CommandExecutor from '../command-executor';
|
|
19
|
-
import BaseDialog from './BaseDialog.controller';
|
|
20
|
-
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition';
|
|
17
|
+
import { getResourceModel, getTextBundle, TextBundle } from '../../i18n.js';
|
|
18
|
+
import CommandExecutor from '../command-executor.js';
|
|
19
|
+
import BaseDialog from './BaseDialog.controller.js';
|
|
20
|
+
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
21
21
|
import { MessageBarType, setApplicationRequiresReload } from '@sap-ux-private/control-property-editor-common';
|
|
22
|
-
import { CommunicationService } from '../../cpe/communication-service';
|
|
22
|
+
import { CommunicationService } from '../../cpe/communication-service.js';
|
|
23
23
|
import FlexCommand from 'sap/ui/rta/command/FlexCommand';
|
|
24
|
-
import { sendInfoCenterMessage } from '../../utils/info-center-message';
|
|
25
|
-
import { getError } from '../../utils/error';
|
|
26
|
-
import { PageDescriptorV4 } from './types';
|
|
24
|
+
import { sendInfoCenterMessage } from '../../utils/info-center-message.js';
|
|
25
|
+
import { getError } from '../../utils/error.js';
|
|
26
|
+
import { PageDescriptorV4 } from './types.js';
|
|
27
27
|
import Input from 'sap/m/Input';
|
|
28
28
|
import { ValueState } from 'sap/ui/core/library';
|
|
29
29
|
import SimpleForm from 'sap/ui/layout/form';
|
|
30
30
|
import Control from 'sap/ui/core/Control';
|
|
31
|
-
import { getFragments } from '../api-handler';
|
|
31
|
+
import { getFragments } from '../api-handler.js';
|
|
32
32
|
|
|
33
33
|
export type AddFragmentModel = JSONModel & {
|
|
34
34
|
getProperty(sPath: '/title'): string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/model/json/JSONModel", "sap/ui/dt/OverlayRegistry", "../../i18n", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../cpe/additional-change-info/add-xml-additional-info", "../../cpe/communication-service", "../../utils/error", "../../utils/info-center-message", "../api-handler", "../command-executor", "../control-utils", "./BaseDialog.controller"], function (JSONModel, OverlayRegistry,
|
|
3
|
+
sap.ui.define(["sap/ui/model/json/JSONModel", "sap/ui/dt/OverlayRegistry", "../../i18n", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../cpe/additional-change-info/add-xml-additional-info", "../../cpe/communication-service", "../../utils/error", "../../utils/info-center-message", "../api-handler", "../command-executor", "../control-utils", "./BaseDialog.controller"], function (JSONModel, OverlayRegistry, ____i18njs, ___sap_ux_private_control_property_editor_common, ____cpe_additional_change_info_add_xml_additional_infojs, ____cpe_communication_servicejs, ____utils_errorjs, ____utils_info_center_messagejs, ___api_handlerjs, __CommandExecutor, __ControlUtils, __BaseDialog) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function _interopRequireDefault(obj) {
|
|
7
7
|
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
8
|
}
|
|
9
|
-
const getResourceModel =
|
|
9
|
+
const getResourceModel = ____i18njs["getResourceModel"];
|
|
10
10
|
const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
|
|
11
11
|
const setApplicationRequiresReload = ___sap_ux_private_control_property_editor_common["setApplicationRequiresReload"];
|
|
12
|
-
const getFragmentTemplateName =
|
|
13
|
-
const CommunicationService =
|
|
14
|
-
const getError =
|
|
15
|
-
const sendInfoCenterMessage =
|
|
16
|
-
const getFragments =
|
|
12
|
+
const getFragmentTemplateName = ____cpe_additional_change_info_add_xml_additional_infojs["getFragmentTemplateName"];
|
|
13
|
+
const CommunicationService = ____cpe_communication_servicejs["CommunicationService"];
|
|
14
|
+
const getError = ____utils_errorjs["getError"];
|
|
15
|
+
const sendInfoCenterMessage = ____utils_info_center_messagejs["sendInfoCenterMessage"];
|
|
16
|
+
const getFragments = ___api_handlerjs["getFragments"];
|
|
17
17
|
const CommandExecutor = _interopRequireDefault(__CommandExecutor);
|
|
18
18
|
const ControlUtils = _interopRequireDefault(__ControlUtils);
|
|
19
19
|
const BaseDialog = _interopRequireDefault(__BaseDialog);
|
|
@@ -22,19 +22,19 @@ import OverlayRegistry from 'sap/ui/dt/OverlayRegistry';
|
|
|
22
22
|
import { type AddFragmentChangeContentType } from 'sap/ui/fl/Change';
|
|
23
23
|
import type Selector from 'sap/ui/fl/Selector';
|
|
24
24
|
|
|
25
|
-
import { getResourceModel } from '../../i18n';
|
|
25
|
+
import { getResourceModel } from '../../i18n.js';
|
|
26
26
|
|
|
27
27
|
import { MessageBarType, setApplicationRequiresReload } from '@sap-ux-private/control-property-editor-common';
|
|
28
|
-
import { getFragmentTemplateName } from '../../cpe/additional-change-info/add-xml-additional-info';
|
|
29
|
-
import { CommunicationService } from '../../cpe/communication-service';
|
|
30
|
-
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition';
|
|
31
|
-
import { getError } from '../../utils/error';
|
|
32
|
-
import { sendInfoCenterMessage } from '../../utils/info-center-message';
|
|
33
|
-
import type { AddFragmentData, DeferredXmlFragmentData } from '../add-fragment';
|
|
34
|
-
import { getFragments } from '../api-handler';
|
|
35
|
-
import CommandExecutor from '../command-executor';
|
|
36
|
-
import ControlUtils from '../control-utils';
|
|
37
|
-
import BaseDialog from './BaseDialog.controller';
|
|
28
|
+
import { getFragmentTemplateName } from '../../cpe/additional-change-info/add-xml-additional-info.js';
|
|
29
|
+
import { CommunicationService } from '../../cpe/communication-service.js';
|
|
30
|
+
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
31
|
+
import { getError } from '../../utils/error.js';
|
|
32
|
+
import { sendInfoCenterMessage } from '../../utils/info-center-message.js';
|
|
33
|
+
import type { AddFragmentData, DeferredXmlFragmentData } from '../add-fragment.js';
|
|
34
|
+
import { getFragments } from '../api-handler.js';
|
|
35
|
+
import CommandExecutor from '../command-executor.js';
|
|
36
|
+
import ControlUtils from '../control-utils.js';
|
|
37
|
+
import BaseDialog from './BaseDialog.controller.js';
|
|
38
38
|
|
|
39
39
|
const radix = 10;
|
|
40
40
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/model/json/JSONModel", "../../i18n", "../command-executor", "./BaseDialog.controller", "sap/ui/rta/command/CommandFactory", "../../cpe/communication-service", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../quick-actions/fe-v4/utils"], function (JSONModel,
|
|
3
|
+
sap.ui.define(["sap/ui/model/json/JSONModel", "../../i18n", "../command-executor", "./BaseDialog.controller", "sap/ui/rta/command/CommandFactory", "../../cpe/communication-service", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../quick-actions/fe-v4/utils"], function (JSONModel, ____i18njs, __CommandExecutor, __BaseDialog, CommandFactory, ____cpe_communication_servicejs, ___sap_ux_private_control_property_editor_common, ___quick_actions_fe_v4_utilsjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function _interopRequireDefault(obj) {
|
|
7
7
|
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
8
|
}
|
|
9
|
-
const getResourceModel =
|
|
9
|
+
const getResourceModel = ____i18njs["getResourceModel"];
|
|
10
10
|
const CommandExecutor = _interopRequireDefault(__CommandExecutor);
|
|
11
11
|
const BaseDialog = _interopRequireDefault(__BaseDialog);
|
|
12
|
-
const CommunicationService =
|
|
12
|
+
const CommunicationService = ____cpe_communication_servicejs["CommunicationService"];
|
|
13
13
|
const setApplicationRequiresReload = ___sap_ux_private_control_property_editor_common["setApplicationRequiresReload"];
|
|
14
|
-
const generateRoutePattern =
|
|
14
|
+
const generateRoutePattern = ___quick_actions_fe_v4_utilsjs["generateRoutePattern"];
|
|
15
15
|
/**
|
|
16
16
|
* @namespace open.ux.preview.client.adp.controllers
|
|
17
17
|
*/
|
|
@@ -18,18 +18,18 @@ import type RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
|
|
|
18
18
|
/** sap.suite.ui.generic */
|
|
19
19
|
import type AppComponentV2 from 'sap/suite/ui/generic/template/lib/AppComponent';
|
|
20
20
|
|
|
21
|
-
import { getResourceModel } from '../../i18n';
|
|
21
|
+
import { getResourceModel } from '../../i18n.js';
|
|
22
22
|
|
|
23
|
-
import CommandExecutor from '../command-executor';
|
|
23
|
+
import CommandExecutor from '../command-executor.js';
|
|
24
24
|
|
|
25
|
-
import BaseDialog from './BaseDialog.controller';
|
|
25
|
+
import BaseDialog from './BaseDialog.controller.js';
|
|
26
26
|
|
|
27
27
|
import CommandFactory from 'sap/ui/rta/command/CommandFactory';
|
|
28
|
-
import { CommunicationService } from '../../cpe/communication-service';
|
|
28
|
+
import { CommunicationService } from '../../cpe/communication-service.js';
|
|
29
29
|
import { setApplicationRequiresReload } from '@sap-ux-private/control-property-editor-common';
|
|
30
|
-
import { generateRoutePattern } from '../quick-actions/fe-v4/utils';
|
|
31
|
-
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition';
|
|
32
|
-
import { PageDescriptorV4 } from './types';
|
|
30
|
+
import { generateRoutePattern } from '../quick-actions/fe-v4/utils.js';
|
|
31
|
+
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
32
|
+
import { PageDescriptorV4 } from './types.js';
|
|
33
33
|
|
|
34
34
|
type SubpageType = 'ObjectPage' | 'CustomPage';
|
|
35
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/model/json/JSONModel", "sap/ui/dt/OverlayRegistry", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../cpe/communication-service", "../../i18n", "sap/ui/core/library", "../../utils/additional-change-info", "../../utils/error", "../../utils/info-center-message", "../api-handler", "../command-executor", "../control-utils", "./BaseDialog.controller"], function (JSONModel, OverlayRegistry, ___sap_ux_private_control_property_editor_common,
|
|
3
|
+
sap.ui.define(["sap/ui/model/json/JSONModel", "sap/ui/dt/OverlayRegistry", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../cpe/communication-service", "../../i18n", "sap/ui/core/library", "../../utils/additional-change-info", "../../utils/error", "../../utils/info-center-message", "../api-handler", "../command-executor", "../control-utils", "./BaseDialog.controller"], function (JSONModel, OverlayRegistry, ___sap_ux_private_control_property_editor_common, ____cpe_communication_servicejs, ____i18njs, sap_ui_core_library, ____utils_additional_change_infojs, ____utils_errorjs, ____utils_info_center_messagejs, ___api_handlerjs, __CommandExecutor, __ControlUtils, __BaseDialog) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function _interopRequireDefault(obj) {
|
|
@@ -8,13 +8,13 @@ sap.ui.define(["sap/ui/model/json/JSONModel", "sap/ui/dt/OverlayRegistry", "open
|
|
|
8
8
|
}
|
|
9
9
|
const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
|
|
10
10
|
const setApplicationRequiresReload = ___sap_ux_private_control_property_editor_common["setApplicationRequiresReload"];
|
|
11
|
-
const CommunicationService =
|
|
12
|
-
const getResourceModel =
|
|
11
|
+
const CommunicationService = ____cpe_communication_servicejs["CommunicationService"];
|
|
12
|
+
const getResourceModel = ____i18njs["getResourceModel"];
|
|
13
13
|
const ValueState = sap_ui_core_library["ValueState"];
|
|
14
|
-
const setAdditionalChangeInfoForChangeFile =
|
|
15
|
-
const getError =
|
|
16
|
-
const sendInfoCenterMessage =
|
|
17
|
-
const getFragments =
|
|
14
|
+
const setAdditionalChangeInfoForChangeFile = ____utils_additional_change_infojs["setAdditionalChangeInfoForChangeFile"];
|
|
15
|
+
const getError = ____utils_errorjs["getError"];
|
|
16
|
+
const sendInfoCenterMessage = ____utils_info_center_messagejs["sendInfoCenterMessage"];
|
|
17
|
+
const getFragments = ___api_handlerjs["getFragments"];
|
|
18
18
|
const CommandExecutor = _interopRequireDefault(__CommandExecutor);
|
|
19
19
|
const ControlUtils = _interopRequireDefault(__ControlUtils);
|
|
20
20
|
const BaseDialog = _interopRequireDefault(__BaseDialog);
|
|
@@ -25,22 +25,22 @@ import { type SimpleForm } from 'sap/ui/layout/form';
|
|
|
25
25
|
|
|
26
26
|
import { MessageBarType, setApplicationRequiresReload } from '@sap-ux-private/control-property-editor-common';
|
|
27
27
|
|
|
28
|
-
import { CommunicationService } from '../../cpe/communication-service';
|
|
29
|
-
import { getResourceModel } from '../../i18n';
|
|
28
|
+
import { CommunicationService } from '../../cpe/communication-service.js';
|
|
29
|
+
import { getResourceModel } from '../../i18n.js';
|
|
30
30
|
|
|
31
31
|
import Input from 'sap/m/Input';
|
|
32
32
|
import ManagedObject from 'sap/ui/base/ManagedObject';
|
|
33
33
|
import Control from 'sap/ui/core/Control';
|
|
34
34
|
import { ValueState } from 'sap/ui/core/library';
|
|
35
|
-
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition';
|
|
36
|
-
import { setAdditionalChangeInfoForChangeFile } from '../../utils/additional-change-info';
|
|
37
|
-
import { getError } from '../../utils/error';
|
|
38
|
-
import { sendInfoCenterMessage } from '../../utils/info-center-message';
|
|
39
|
-
import { getFragments } from '../api-handler';
|
|
40
|
-
import CommandExecutor from '../command-executor';
|
|
41
|
-
import ControlUtils from '../control-utils';
|
|
42
|
-
import { type AddFragmentModel, type AddFragmentOptions } from './AddFragment.controller';
|
|
43
|
-
import BaseDialog from './BaseDialog.controller';
|
|
35
|
+
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
36
|
+
import { setAdditionalChangeInfoForChangeFile } from '../../utils/additional-change-info.js';
|
|
37
|
+
import { getError } from '../../utils/error.js';
|
|
38
|
+
import { sendInfoCenterMessage } from '../../utils/info-center-message.js';
|
|
39
|
+
import { getFragments } from '../api-handler.js';
|
|
40
|
+
import CommandExecutor from '../command-executor.js';
|
|
41
|
+
import ControlUtils from '../control-utils.js';
|
|
42
|
+
import { type AddFragmentModel, type AddFragmentOptions } from './AddFragment.controller.js';
|
|
43
|
+
import BaseDialog from './BaseDialog.controller.js';
|
|
44
44
|
|
|
45
45
|
const radix = 10;
|
|
46
46
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/core/library", "sap/ui/core/mvc/Controller", "../utils", "../../utils/core", "../control-utils", "sap/ui/dt/OverlayRegistry", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/base/Log"], function (sap_ui_core_library, Controller,
|
|
3
|
+
sap.ui.define(["sap/ui/core/library", "sap/ui/core/mvc/Controller", "../utils", "../../utils/core", "../control-utils", "sap/ui/dt/OverlayRegistry", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/base/Log"], function (sap_ui_core_library, Controller, ___utilsjs, ____utils_corejs, __ControlUtils, OverlayRegistry, ___sap_ux_private_control_property_editor_common, Log) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function _interopRequireDefault(obj) {
|
|
7
7
|
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
8
|
}
|
|
9
9
|
const ValueState = sap_ui_core_library["ValueState"];
|
|
10
|
-
const checkForExistingChange =
|
|
11
|
-
const getControlById =
|
|
10
|
+
const checkForExistingChange = ___utilsjs["checkForExistingChange"];
|
|
11
|
+
const getControlById = ____utils_corejs["getControlById"];
|
|
12
12
|
const ControlUtils = _interopRequireDefault(__ControlUtils);
|
|
13
13
|
const reportTelemetry = ___sap_ux_private_control_property_editor_common["reportTelemetry"];
|
|
14
14
|
/**
|
|
@@ -7,15 +7,15 @@ import { ValueState } from 'sap/ui/core/library';
|
|
|
7
7
|
import Controller from 'sap/ui/core/mvc/Controller';
|
|
8
8
|
import JSONModel from 'sap/ui/model/json/JSONModel';
|
|
9
9
|
import RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
|
|
10
|
-
import CommandExecutor from '../command-executor';
|
|
11
|
-
import { checkForExistingChange } from '../utils';
|
|
12
|
-
import type { Fragments } from '../api-handler';
|
|
10
|
+
import CommandExecutor from '../command-executor.js';
|
|
11
|
+
import { checkForExistingChange } from '../utils.js';
|
|
12
|
+
import type { Fragments } from '../api-handler.js';
|
|
13
13
|
import ManagedObjectMetadata from 'sap/ui/base/ManagedObjectMetadata';
|
|
14
|
-
import { getControlById } from '../../utils/core';
|
|
15
|
-
import ControlUtils from '../control-utils';
|
|
14
|
+
import { getControlById } from '../../utils/core.js';
|
|
15
|
+
import ControlUtils from '../control-utils.js';
|
|
16
16
|
import type ElementOverlay from 'sap/ui/dt/ElementOverlay';
|
|
17
17
|
import OverlayRegistry from 'sap/ui/dt/OverlayRegistry';
|
|
18
|
-
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition';
|
|
18
|
+
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
19
19
|
import { reportTelemetry } from '@sap-ux-private/control-property-editor-common';
|
|
20
20
|
import Log from 'sap/base/Log';
|
|
21
21
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/core/library", "sap/ui/model/json/JSONModel", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../i18n", "../../utils/core", "../../utils/error", "../../utils/info-center-message", "../../utils/version", "../api-handler", "../command-executor", "../utils", "./BaseDialog.controller"], function (sap_ui_core_library, JSONModel, ___sap_ux_private_control_property_editor_common,
|
|
3
|
+
sap.ui.define(["sap/ui/core/library", "sap/ui/model/json/JSONModel", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../i18n", "../../utils/core", "../../utils/error", "../../utils/info-center-message", "../../utils/version", "../api-handler", "../command-executor", "../utils", "./BaseDialog.controller"], function (sap_ui_core_library, JSONModel, ___sap_ux_private_control_property_editor_common, ____i18njs, ____utils_corejs, ____utils_errorjs, ____utils_info_center_messagejs, ____utils_versionjs, ___api_handlerjs, __CommandExecutor, ___utilsjs, __BaseDialog) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function _interopRequireDefault(obj) {
|
|
@@ -11,20 +11,20 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/model/json/JSONModel", "open/ux/pr
|
|
|
11
11
|
const ValueState = sap_ui_core_library["ValueState"];
|
|
12
12
|
/** sap.ui.base */
|
|
13
13
|
const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
|
|
14
|
-
const getResourceModel =
|
|
15
|
-
const getTextBundle =
|
|
16
|
-
const getControlById =
|
|
17
|
-
const getError =
|
|
18
|
-
const sendInfoCenterMessage =
|
|
19
|
-
const getUi5Version =
|
|
20
|
-
const isLowerThanMinimalUi5Version =
|
|
21
|
-
const getExistingController =
|
|
22
|
-
const readControllers =
|
|
23
|
-
const writeChange =
|
|
24
|
-
const writeController =
|
|
14
|
+
const getResourceModel = ____i18njs["getResourceModel"];
|
|
15
|
+
const getTextBundle = ____i18njs["getTextBundle"];
|
|
16
|
+
const getControlById = ____utils_corejs["getControlById"];
|
|
17
|
+
const getError = ____utils_errorjs["getError"];
|
|
18
|
+
const sendInfoCenterMessage = ____utils_info_center_messagejs["sendInfoCenterMessage"];
|
|
19
|
+
const getUi5Version = ____utils_versionjs["getUi5Version"];
|
|
20
|
+
const isLowerThanMinimalUi5Version = ____utils_versionjs["isLowerThanMinimalUi5Version"];
|
|
21
|
+
const getExistingController = ___api_handlerjs["getExistingController"];
|
|
22
|
+
const readControllers = ___api_handlerjs["readControllers"];
|
|
23
|
+
const writeChange = ___api_handlerjs["writeChange"];
|
|
24
|
+
const writeController = ___api_handlerjs["writeController"];
|
|
25
25
|
const CommandExecutor = _interopRequireDefault(__CommandExecutor);
|
|
26
|
-
const checkForExistingChange =
|
|
27
|
-
const getControllerInfo =
|
|
26
|
+
const checkForExistingChange = ___utilsjs["checkForExistingChange"];
|
|
27
|
+
const getControllerInfo = ___utilsjs["getControllerInfo"];
|
|
28
28
|
const BaseDialog = _interopRequireDefault(__BaseDialog);
|
|
29
29
|
/**
|
|
30
30
|
* @namespace open.ux.preview.client.adp.controllers
|
|
@@ -20,18 +20,18 @@ import type RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
|
|
|
20
20
|
import type ElementOverlay from 'sap/ui/dt/ElementOverlay';
|
|
21
21
|
|
|
22
22
|
import { MessageBarType } from '@sap-ux-private/control-property-editor-common';
|
|
23
|
-
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition';
|
|
24
|
-
import { getResourceModel, getTextBundle, TextBundle } from '../../i18n';
|
|
25
|
-
import { getControlById } from '../../utils/core';
|
|
26
|
-
import { getError } from '../../utils/error';
|
|
27
|
-
import { sendInfoCenterMessage } from '../../utils/info-center-message';
|
|
28
|
-
import { getUi5Version, isLowerThanMinimalUi5Version } from '../../utils/version';
|
|
29
|
-
import type { CodeExtResponse, ControllersResponse } from '../api-handler';
|
|
30
|
-
import { getExistingController, readControllers, writeChange, writeController } from '../api-handler';
|
|
31
|
-
import CommandExecutor from '../command-executor';
|
|
32
|
-
import type { DeferredExtendControllerData, ExtendControllerData } from '../extend-controller';
|
|
33
|
-
import { checkForExistingChange, getControllerInfo } from '../utils';
|
|
34
|
-
import BaseDialog from './BaseDialog.controller';
|
|
23
|
+
import { QuickActionTelemetryData } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
24
|
+
import { getResourceModel, getTextBundle, TextBundle } from '../../i18n.js';
|
|
25
|
+
import { getControlById } from '../../utils/core.js';
|
|
26
|
+
import { getError } from '../../utils/error.js';
|
|
27
|
+
import { sendInfoCenterMessage } from '../../utils/info-center-message.js';
|
|
28
|
+
import { getUi5Version, isLowerThanMinimalUi5Version } from '../../utils/version.js';
|
|
29
|
+
import type { CodeExtResponse, ControllersResponse } from '../api-handler.js';
|
|
30
|
+
import { getExistingController, readControllers, writeChange, writeController } from '../api-handler.js';
|
|
31
|
+
import CommandExecutor from '../command-executor.js';
|
|
32
|
+
import type { DeferredExtendControllerData, ExtendControllerData } from '../extend-controller.js';
|
|
33
|
+
import { checkForExistingChange, getControllerInfo } from '../utils.js';
|
|
34
|
+
import BaseDialog from './BaseDialog.controller.js';
|
|
35
35
|
|
|
36
36
|
interface ControllerExtensionService {
|
|
37
37
|
add: (codeRef: string, viewId: string) => Promise<{ creation: string }>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/model/json/JSONModel", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../utils/error", "../../utils/info-center-message", "../api-handler", "./BaseDialog.controller"], function (JSONModel, ___sap_ux_private_control_property_editor_common,
|
|
3
|
+
sap.ui.define(["sap/ui/model/json/JSONModel", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../utils/error", "../../utils/info-center-message", "../api-handler", "./BaseDialog.controller"], function (JSONModel, ___sap_ux_private_control_property_editor_common, ____utils_errorjs, ____utils_info_center_messagejs, ___api_handlerjs, __BaseDialog) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function _interopRequireDefault(obj) {
|
|
7
7
|
return obj && obj.__esModule && typeof obj.default !== "undefined" ? obj.default : obj;
|
|
8
8
|
}
|
|
9
9
|
const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
|
|
10
|
-
const getError =
|
|
11
|
-
const sendInfoCenterMessage =
|
|
12
|
-
const getFragments =
|
|
10
|
+
const getError = ____utils_errorjs["getError"];
|
|
11
|
+
const sendInfoCenterMessage = ____utils_info_center_messagejs["sendInfoCenterMessage"];
|
|
12
|
+
const getFragments = ___api_handlerjs["getFragments"];
|
|
13
13
|
const BaseDialog = _interopRequireDefault(__BaseDialog);
|
|
14
14
|
/**
|
|
15
15
|
* @namespace open.ux.preview.client.adp.controllers
|