@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
|
@@ -3,13 +3,13 @@ import type FlexCommand from 'sap/ui/rta/command/FlexCommand';
|
|
|
3
3
|
import type {
|
|
4
4
|
NestedQuickActionDefinition,
|
|
5
5
|
QuickActionContext
|
|
6
|
-
} from '../../../cpe/quick-actions/quick-action-definition';
|
|
6
|
+
} from '../../../cpe/quick-actions/quick-action-definition.js';
|
|
7
7
|
import type Table from 'sap/ui/mdc/Table';
|
|
8
|
-
import { TableQuickActionDefinitionBase } from '../table-quick-action-base';
|
|
9
|
-
import { getRelevantControlFromActivePage } from '../../../cpe/quick-actions/utils';
|
|
10
|
-
import { createManifestPropertyChange } from '../../../utils/fe-v4';
|
|
11
|
-
import { getUi5Version, isLowerThanMinimalUi5Version } from '../../../utils/version';
|
|
12
|
-
import { MDC_TABLE_TYPE } from '../control-types';
|
|
8
|
+
import { TableQuickActionDefinitionBase } from '../table-quick-action-base.js';
|
|
9
|
+
import { getRelevantControlFromActivePage } from '../../../cpe/quick-actions/utils.js';
|
|
10
|
+
import { createManifestPropertyChange } from '../../../utils/fe-v4.js';
|
|
11
|
+
import { getUi5Version, isLowerThanMinimalUi5Version } from '../../../utils/version.js';
|
|
12
|
+
import { MDC_TABLE_TYPE } from '../control-types.js';
|
|
13
13
|
|
|
14
14
|
export const ENABLE_TABLE_FILTERING = 'enable-table-filtering';
|
|
15
15
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["../../../cpe/quick-actions/utils", "../../../utils/core", "./utils", "../simple-quick-action-base"], function (
|
|
3
|
+
sap.ui.define(["../../../cpe/quick-actions/utils", "../../../utils/core", "./utils", "../simple-quick-action-base"], function (_____cpe_quick_actions_utilsjs, _____utils_corejs, ___utilsjs, ___simple_quick_action_basejs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const pageHasControlId =
|
|
7
|
-
const getControlById =
|
|
8
|
-
const executeToggleAction =
|
|
9
|
-
const SimpleQuickActionDefinitionBase =
|
|
6
|
+
const pageHasControlId = _____cpe_quick_actions_utilsjs["pageHasControlId"];
|
|
7
|
+
const getControlById = _____utils_corejs["getControlById"];
|
|
8
|
+
const executeToggleAction = ___utilsjs["executeToggleAction"];
|
|
9
|
+
const SimpleQuickActionDefinitionBase = ___simple_quick_action_basejs["SimpleQuickActionDefinitionBase"];
|
|
10
10
|
const ENABLE_CLEAR_FILTER_BAR_TYPE = 'enable-clear-filter-bar';
|
|
11
11
|
const PROPERTY_NAME = 'showClearButton';
|
|
12
12
|
const PROPERTY_PATH = `controlConfiguration/@com.sap.vocabularies.UI.v1.SelectionFields/${PROPERTY_NAME}`;
|
|
@@ -4,11 +4,11 @@ import type FilterBar from 'sap/ui/mdc/FilterBar';
|
|
|
4
4
|
import type {
|
|
5
5
|
QuickActionContext,
|
|
6
6
|
SimpleQuickActionDefinition
|
|
7
|
-
} from '../../../cpe/quick-actions/quick-action-definition';
|
|
8
|
-
import { pageHasControlId } from '../../../cpe/quick-actions/utils';
|
|
9
|
-
import { getControlById } from '../../../utils/core';
|
|
10
|
-
import { executeToggleAction } from './utils';
|
|
11
|
-
import { SimpleQuickActionDefinitionBase } from '../simple-quick-action-base';
|
|
7
|
+
} from '../../../cpe/quick-actions/quick-action-definition.js';
|
|
8
|
+
import { pageHasControlId } from '../../../cpe/quick-actions/utils.js';
|
|
9
|
+
import { getControlById } from '../../../utils/core.js';
|
|
10
|
+
import { executeToggleAction } from './utils.js';
|
|
11
|
+
import { SimpleQuickActionDefinitionBase } from '../simple-quick-action-base.js';
|
|
12
12
|
|
|
13
13
|
export const ENABLE_CLEAR_FILTER_BAR_TYPE = 'enable-clear-filter-bar';
|
|
14
14
|
const PROPERTY_NAME = 'showClearButton';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["../../../utils/fe-v4", "../simple-quick-action-base", "../common/op-add-custom-section", "../dialog-enablement-validator", "../../../cpe/quick-actions/utils", "sap/ui/dt/OverlayRegistry", "../../dialog-factory"], function (
|
|
3
|
+
sap.ui.define(["../../../utils/fe-v4", "../simple-quick-action-base", "../common/op-add-custom-section", "../dialog-enablement-validator", "../../../cpe/quick-actions/utils", "sap/ui/dt/OverlayRegistry", "../../dialog-factory"], function (_____utils_fe_v4js, ___simple_quick_action_basejs, ___common_op_add_custom_sectionjs, ___dialog_enablement_validatorjs, _____cpe_quick_actions_utilsjs, OverlayRegistry, ____dialog_factoryjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const getV4AppComponent =
|
|
7
|
-
const SimpleQuickActionDefinitionBase =
|
|
8
|
-
const OP_ADD_CUSTOM_SECTION =
|
|
9
|
-
const DIALOG_ENABLEMENT_VALIDATOR =
|
|
10
|
-
const getRelevantControlFromActivePage =
|
|
11
|
-
const DialogFactory =
|
|
12
|
-
const DialogNames =
|
|
6
|
+
const getV4AppComponent = _____utils_fe_v4js["getV4AppComponent"];
|
|
7
|
+
const SimpleQuickActionDefinitionBase = ___simple_quick_action_basejs["SimpleQuickActionDefinitionBase"];
|
|
8
|
+
const OP_ADD_CUSTOM_SECTION = ___common_op_add_custom_sectionjs["OP_ADD_CUSTOM_SECTION"];
|
|
9
|
+
const DIALOG_ENABLEMENT_VALIDATOR = ___dialog_enablement_validatorjs["DIALOG_ENABLEMENT_VALIDATOR"];
|
|
10
|
+
const getRelevantControlFromActivePage = _____cpe_quick_actions_utilsjs["getRelevantControlFromActivePage"];
|
|
11
|
+
const DialogFactory = ____dialog_factoryjs["DialogFactory"];
|
|
12
|
+
const DialogNames = ____dialog_factoryjs["DialogNames"];
|
|
13
13
|
const OP_PAGE_LAYOUT = ['sap.uxap.ObjectPageLayout'];
|
|
14
14
|
/**
|
|
15
15
|
* Quick Action for adding a custom page action.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { getV4AppComponent } from '../../../utils/fe-v4';
|
|
2
|
-
import { PageDescriptorV4 } from '../../controllers/types';
|
|
3
|
-
import { SimpleQuickActionDefinitionBase } from '../simple-quick-action-base';
|
|
4
|
-
import { QuickActionContext, SimpleQuickActionDefinition } from '../../../cpe/quick-actions/quick-action-definition';
|
|
5
|
-
import { OP_ADD_CUSTOM_SECTION } from '../common/op-add-custom-section';
|
|
6
|
-
import { DIALOG_ENABLEMENT_VALIDATOR } from '../dialog-enablement-validator';
|
|
1
|
+
import { getV4AppComponent } from '../../../utils/fe-v4.js';
|
|
2
|
+
import { PageDescriptorV4 } from '../../controllers/types.js';
|
|
3
|
+
import { SimpleQuickActionDefinitionBase } from '../simple-quick-action-base.js';
|
|
4
|
+
import { QuickActionContext, SimpleQuickActionDefinition } from '../../../cpe/quick-actions/quick-action-definition.js';
|
|
5
|
+
import { OP_ADD_CUSTOM_SECTION } from '../common/op-add-custom-section.js';
|
|
6
|
+
import { DIALOG_ENABLEMENT_VALIDATOR } from '../dialog-enablement-validator.js';
|
|
7
7
|
import FlexCommand from 'sap/ui/rta/command/FlexCommand';
|
|
8
|
-
import { getRelevantControlFromActivePage } from '../../../cpe/quick-actions/utils';
|
|
8
|
+
import { getRelevantControlFromActivePage } from '../../../cpe/quick-actions/utils.js';
|
|
9
9
|
import ObjectPageLayout from 'sap/uxap/ObjectPageLayout';
|
|
10
10
|
import OverlayRegistry from 'sap/ui/dt/OverlayRegistry';
|
|
11
|
-
import { DialogFactory, DialogNames } from '../../dialog-factory';
|
|
11
|
+
import { DialogFactory, DialogNames } from '../../dialog-factory.js';
|
|
12
12
|
|
|
13
13
|
const OP_PAGE_LAYOUT = ['sap.uxap.ObjectPageLayout'];
|
|
14
14
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["../../../utils/fe-v4", "../../../utils/version", "../control-types", "../table-quick-action-base", "../../../utils/core", "../common/utils", "../fe-v2/create-table-custom-column"], function (
|
|
3
|
+
sap.ui.define(["../../../utils/fe-v4", "../../../utils/version", "../control-types", "../table-quick-action-base", "../../../utils/core", "../common/utils", "../fe-v2/create-table-custom-column"], function (_____utils_fe_v4js, _____utils_versionjs, ___control_typesjs, ___table_quick_action_basejs, _____utils_corejs, ___common_utilsjs, ___fe_v2_create_table_custom_columnjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const createManifestPropertyChange =
|
|
7
|
-
const getUi5Version =
|
|
8
|
-
const isLowerThanMinimalUi5Version =
|
|
9
|
-
const ANALYTICAL_TABLE_TYPE =
|
|
10
|
-
const GRID_TABLE_TYPE =
|
|
11
|
-
const MDC_TABLE_TYPE =
|
|
12
|
-
const TREE_TABLE_TYPE =
|
|
13
|
-
const TableQuickActionDefinitionBase =
|
|
14
|
-
const isA =
|
|
15
|
-
const getTooltipsForTableEmptyRowModeAction =
|
|
16
|
-
const preprocessActionExecution =
|
|
6
|
+
const createManifestPropertyChange = _____utils_fe_v4js["createManifestPropertyChange"];
|
|
7
|
+
const getUi5Version = _____utils_versionjs["getUi5Version"];
|
|
8
|
+
const isLowerThanMinimalUi5Version = _____utils_versionjs["isLowerThanMinimalUi5Version"];
|
|
9
|
+
const ANALYTICAL_TABLE_TYPE = ___control_typesjs["ANALYTICAL_TABLE_TYPE"];
|
|
10
|
+
const GRID_TABLE_TYPE = ___control_typesjs["GRID_TABLE_TYPE"];
|
|
11
|
+
const MDC_TABLE_TYPE = ___control_typesjs["MDC_TABLE_TYPE"];
|
|
12
|
+
const TREE_TABLE_TYPE = ___control_typesjs["TREE_TABLE_TYPE"];
|
|
13
|
+
const TableQuickActionDefinitionBase = ___table_quick_action_basejs["TableQuickActionDefinitionBase"];
|
|
14
|
+
const isA = _____utils_corejs["isA"];
|
|
15
|
+
const getTooltipsForTableEmptyRowModeAction = ___common_utilsjs["getTooltipsForTableEmptyRowModeAction"];
|
|
16
|
+
const preprocessActionExecution = ___fe_v2_create_table_custom_columnjs["preprocessActionExecution"];
|
|
17
17
|
const ENABLE_TABLE_EMPTY_ROW_MODE = 'enable-table-empty-row-mode';
|
|
18
18
|
const CONTROL_TYPES = [MDC_TABLE_TYPE, GRID_TABLE_TYPE, ANALYTICAL_TABLE_TYPE, TREE_TABLE_TYPE];
|
|
19
19
|
const UNSUPPORTED_TABLES = [ANALYTICAL_TABLE_TYPE, TREE_TABLE_TYPE];
|
|
@@ -3,15 +3,15 @@ import type FlexCommand from 'sap/ui/rta/command/FlexCommand';
|
|
|
3
3
|
import type {
|
|
4
4
|
NestedQuickActionDefinition,
|
|
5
5
|
QuickActionContext
|
|
6
|
-
} from '../../../cpe/quick-actions/quick-action-definition';
|
|
7
|
-
import { createManifestPropertyChange } from '../../../utils/fe-v4';
|
|
8
|
-
import { getUi5Version, isLowerThanMinimalUi5Version } from '../../../utils/version';
|
|
9
|
-
import { ANALYTICAL_TABLE_TYPE, GRID_TABLE_TYPE, MDC_TABLE_TYPE, TREE_TABLE_TYPE } from '../control-types';
|
|
10
|
-
import { TableQuickActionDefinitionBase } from '../table-quick-action-base';
|
|
11
|
-
import { isA } from '../../../utils/core';
|
|
12
|
-
import { getTooltipsForTableEmptyRowModeAction } from '../common/utils';
|
|
6
|
+
} from '../../../cpe/quick-actions/quick-action-definition.js';
|
|
7
|
+
import { createManifestPropertyChange } from '../../../utils/fe-v4.js';
|
|
8
|
+
import { getUi5Version, isLowerThanMinimalUi5Version } from '../../../utils/version.js';
|
|
9
|
+
import { ANALYTICAL_TABLE_TYPE, GRID_TABLE_TYPE, MDC_TABLE_TYPE, TREE_TABLE_TYPE } from '../control-types.js';
|
|
10
|
+
import { TableQuickActionDefinitionBase } from '../table-quick-action-base.js';
|
|
11
|
+
import { isA } from '../../../utils/core.js';
|
|
12
|
+
import { getTooltipsForTableEmptyRowModeAction } from '../common/utils.js';
|
|
13
13
|
import type { NestedQuickActionChild } from '@sap-ux-private/control-property-editor-common';
|
|
14
|
-
import { preprocessActionExecution } from '../fe-v2/create-table-custom-column';
|
|
14
|
+
import { preprocessActionExecution } from '../fe-v2/create-table-custom-column.js';
|
|
15
15
|
|
|
16
16
|
export const ENABLE_TABLE_EMPTY_ROW_MODE = 'enable-table-empty-row-mode';
|
|
17
17
|
const CONTROL_TYPES = [MDC_TABLE_TYPE, GRID_TABLE_TYPE, ANALYTICAL_TABLE_TYPE, TREE_TABLE_TYPE];
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["../../../cpe/quick-actions/registry", "../common/add-controller-to-page", "./lr-toggle-clear-filter-bar", "./change-table-columns", "../common/op-add-header-field", "./op-add-custom-section", "./create-page-action", "./lr-enable-table-filtering", "./lr-enable-semantic-date-range-filter-bar", "./op-enable-empty-row-mode", "../common/add-new-annotation-file", "./enable-variant-management", "../fe-v4/add-new-subpage", "../fe-v4/change-table-actions", "./create-table-action-config-change", "./create-table-custom-column-config-change"], function (
|
|
3
|
+
sap.ui.define(["../../../cpe/quick-actions/registry", "../common/add-controller-to-page", "./lr-toggle-clear-filter-bar", "./change-table-columns", "../common/op-add-header-field", "./op-add-custom-section", "./create-page-action", "./lr-enable-table-filtering", "./lr-enable-semantic-date-range-filter-bar", "./op-enable-empty-row-mode", "../common/add-new-annotation-file", "./enable-variant-management", "../fe-v4/add-new-subpage", "../fe-v4/change-table-actions", "./create-table-action-config-change", "./create-table-custom-column-config-change"], function (_____cpe_quick_actions_registryjs, ___common_add_controller_to_pagejs, ___lr_toggle_clear_filter_barjs, ___change_table_columnsjs, ___common_op_add_header_fieldjs, ___op_add_custom_sectionjs, ___create_page_actionjs, ___lr_enable_table_filteringjs, ___lr_enable_semantic_date_range_filter_barjs, ___op_enable_empty_row_modejs, ___common_add_new_annotation_filejs, ___enable_variant_managementjs, ___fe_v4_add_new_subpagejs, ___fe_v4_change_table_actionsjs, ___create_table_action_config_changejs, ___create_table_custom_column_config_changejs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const QuickActionDefinitionRegistry =
|
|
7
|
-
const AddControllerToPageQuickAction =
|
|
8
|
-
const ToggleClearFilterBarQuickAction =
|
|
9
|
-
const ChangeTableColumnsQuickAction =
|
|
10
|
-
const AddHeaderFieldQuickAction =
|
|
11
|
-
const AddCustomSectionQuickAction =
|
|
12
|
-
const AddPageActionQuickAction =
|
|
13
|
-
const EnableTableFilteringQuickAction =
|
|
14
|
-
const ToggleSemanticDateRangeFilterBar =
|
|
15
|
-
const EnableTableEmptyRowModeQuickAction =
|
|
16
|
-
const AddNewAnnotationFile =
|
|
17
|
-
const EnableVariantManagementQuickAction =
|
|
18
|
-
const AddNewSubpage =
|
|
19
|
-
const ChangeTableActionsQuickAction =
|
|
20
|
-
const AddTableActionQuickAction =
|
|
21
|
-
const AddTableCustomColumnQuickAction =
|
|
6
|
+
const QuickActionDefinitionRegistry = _____cpe_quick_actions_registryjs["QuickActionDefinitionRegistry"];
|
|
7
|
+
const AddControllerToPageQuickAction = ___common_add_controller_to_pagejs["AddControllerToPageQuickAction"];
|
|
8
|
+
const ToggleClearFilterBarQuickAction = ___lr_toggle_clear_filter_barjs["ToggleClearFilterBarQuickAction"];
|
|
9
|
+
const ChangeTableColumnsQuickAction = ___change_table_columnsjs["ChangeTableColumnsQuickAction"];
|
|
10
|
+
const AddHeaderFieldQuickAction = ___common_op_add_header_fieldjs["AddHeaderFieldQuickAction"];
|
|
11
|
+
const AddCustomSectionQuickAction = ___op_add_custom_sectionjs["AddCustomSectionQuickAction"];
|
|
12
|
+
const AddPageActionQuickAction = ___create_page_actionjs["AddPageActionQuickAction"];
|
|
13
|
+
const EnableTableFilteringQuickAction = ___lr_enable_table_filteringjs["EnableTableFilteringQuickAction"];
|
|
14
|
+
const ToggleSemanticDateRangeFilterBar = ___lr_enable_semantic_date_range_filter_barjs["ToggleSemanticDateRangeFilterBar"];
|
|
15
|
+
const EnableTableEmptyRowModeQuickAction = ___op_enable_empty_row_modejs["EnableTableEmptyRowModeQuickAction"];
|
|
16
|
+
const AddNewAnnotationFile = ___common_add_new_annotation_filejs["AddNewAnnotationFile"];
|
|
17
|
+
const EnableVariantManagementQuickAction = ___enable_variant_managementjs["EnableVariantManagementQuickAction"];
|
|
18
|
+
const AddNewSubpage = ___fe_v4_add_new_subpagejs["AddNewSubpage"];
|
|
19
|
+
const ChangeTableActionsQuickAction = ___fe_v4_change_table_actionsjs["ChangeTableActionsQuickAction"];
|
|
20
|
+
const AddTableActionQuickAction = ___create_table_action_config_changejs["AddTableActionQuickAction"];
|
|
21
|
+
const AddTableCustomColumnQuickAction = ___create_table_custom_column_config_changejs["AddTableCustomColumnQuickAction"];
|
|
22
22
|
const LIST_REPORT_TYPE = 'sap.fe.templates.ListReport.ListReport';
|
|
23
23
|
const OBJECT_PAGE_TYPE = 'sap.fe.templates.ObjectPage.ObjectPage';
|
|
24
24
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
QuickActionActivationContext,
|
|
3
3
|
QuickActionDefinitionGroup
|
|
4
|
-
} from '../../../cpe/quick-actions/quick-action-definition';
|
|
5
|
-
import { QuickActionDefinitionRegistry } from '../../../cpe/quick-actions/registry';
|
|
4
|
+
} from '../../../cpe/quick-actions/quick-action-definition.js';
|
|
5
|
+
import { QuickActionDefinitionRegistry } from '../../../cpe/quick-actions/registry.js';
|
|
6
6
|
|
|
7
|
-
import { AddControllerToPageQuickAction } from '../common/add-controller-to-page';
|
|
8
|
-
import { ToggleClearFilterBarQuickAction } from './lr-toggle-clear-filter-bar';
|
|
9
|
-
import { ChangeTableColumnsQuickAction } from './change-table-columns';
|
|
10
|
-
import { AddHeaderFieldQuickAction } from '../common/op-add-header-field';
|
|
11
|
-
import { AddCustomSectionQuickAction } from './op-add-custom-section';
|
|
12
|
-
import { AddPageActionQuickAction } from './create-page-action';
|
|
13
|
-
import { EnableTableFilteringQuickAction } from './lr-enable-table-filtering';
|
|
14
|
-
import { ToggleSemanticDateRangeFilterBar } from './lr-enable-semantic-date-range-filter-bar';
|
|
15
|
-
import { EnableTableEmptyRowModeQuickAction } from './op-enable-empty-row-mode';
|
|
16
|
-
import { AddNewAnnotationFile } from '../common/add-new-annotation-file';
|
|
17
|
-
import { EnableVariantManagementQuickAction } from './enable-variant-management';
|
|
18
|
-
import { AddNewSubpage } from '../fe-v4/add-new-subpage';
|
|
19
|
-
import { ChangeTableActionsQuickAction } from '../fe-v4/change-table-actions';
|
|
20
|
-
import { AddTableActionQuickAction } from './create-table-action-config-change';
|
|
21
|
-
import { AddTableCustomColumnQuickAction } from './create-table-custom-column-config-change';
|
|
7
|
+
import { AddControllerToPageQuickAction } from '../common/add-controller-to-page.js';
|
|
8
|
+
import { ToggleClearFilterBarQuickAction } from './lr-toggle-clear-filter-bar.js';
|
|
9
|
+
import { ChangeTableColumnsQuickAction } from './change-table-columns.js';
|
|
10
|
+
import { AddHeaderFieldQuickAction } from '../common/op-add-header-field.js';
|
|
11
|
+
import { AddCustomSectionQuickAction } from './op-add-custom-section.js';
|
|
12
|
+
import { AddPageActionQuickAction } from './create-page-action.js';
|
|
13
|
+
import { EnableTableFilteringQuickAction } from './lr-enable-table-filtering.js';
|
|
14
|
+
import { ToggleSemanticDateRangeFilterBar } from './lr-enable-semantic-date-range-filter-bar.js';
|
|
15
|
+
import { EnableTableEmptyRowModeQuickAction } from './op-enable-empty-row-mode.js';
|
|
16
|
+
import { AddNewAnnotationFile } from '../common/add-new-annotation-file.js';
|
|
17
|
+
import { EnableVariantManagementQuickAction } from './enable-variant-management.js';
|
|
18
|
+
import { AddNewSubpage } from '../fe-v4/add-new-subpage.js';
|
|
19
|
+
import { ChangeTableActionsQuickAction } from '../fe-v4/change-table-actions.js';
|
|
20
|
+
import { AddTableActionQuickAction } from './create-table-action-config-change.js';
|
|
21
|
+
import { AddTableCustomColumnQuickAction } from './create-table-custom-column-config-change.js';
|
|
22
22
|
|
|
23
23
|
type PageName = 'listReport' | 'objectPage';
|
|
24
24
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["../../../utils/core", "sap/ui/rta/command/CommandFactory", "../../../utils/fe-v4"], function (
|
|
3
|
+
sap.ui.define(["../../../utils/core", "sap/ui/rta/command/CommandFactory", "../../../utils/fe-v4"], function (_____utils_corejs, CommandFactory, _____utils_fe_v4js) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const getControlById =
|
|
7
|
-
const getV4AppComponent =
|
|
8
|
-
const getPageName =
|
|
9
|
-
const getReference =
|
|
10
|
-
const isMacroTable =
|
|
6
|
+
const getControlById = _____utils_corejs["getControlById"];
|
|
7
|
+
const getV4AppComponent = _____utils_fe_v4js["getV4AppComponent"];
|
|
8
|
+
const getPageName = _____utils_fe_v4js["getPageName"];
|
|
9
|
+
const getReference = _____utils_fe_v4js["getReference"];
|
|
10
|
+
const isMacroTable = _____utils_fe_v4js["isMacroTable"];
|
|
11
11
|
async function executeToggleAction(context, isButtonEnabled, controlType, propertyPath) {
|
|
12
12
|
const controls = context.controlIndex[controlType] ?? [];
|
|
13
13
|
const control = controls[0];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getControlById } from '../../../utils/core';
|
|
1
|
+
import { getControlById } from '../../../utils/core.js';
|
|
2
2
|
import type FlexCommand from 'sap/ui/rta/command/FlexCommand';
|
|
3
|
-
import type { QuickActionContext } from '../../../cpe/quick-actions/quick-action-definition';
|
|
3
|
+
import type { QuickActionContext } from '../../../cpe/quick-actions/quick-action-definition.js';
|
|
4
4
|
import CommandFactory from 'sap/ui/rta/command/CommandFactory';
|
|
5
|
-
import { getV4AppComponent, getPageName, getReference, isMacroTable } from '../../../utils/fe-v4';
|
|
5
|
+
import { getV4AppComponent, getPageName, getReference, isMacroTable } from '../../../utils/fe-v4.js';
|
|
6
6
|
import UI5Element from 'sap/ui/core/Element';
|
|
7
7
|
|
|
8
8
|
export async function executeToggleAction(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { QuickActionDefinitionRegistry } from '../../cpe/quick-actions/registry';
|
|
2
|
-
import type { ApplicationType } from '../../utils/application';
|
|
1
|
+
import type { QuickActionDefinitionRegistry } from '../../cpe/quick-actions/registry.js';
|
|
2
|
+
import type { ApplicationType } from '../../utils/application.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Loads the appropriate Quick Action registries for the given application type.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["./dialog-enablement-validator"], function (
|
|
3
|
+
sap.ui.define(["./dialog-enablement-validator"], function (___dialog_enablement_validatorjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const DIALOG_ENABLEMENT_VALIDATOR =
|
|
6
|
+
const DIALOG_ENABLEMENT_VALIDATOR = ___dialog_enablement_validatorjs["DIALOG_ENABLEMENT_VALIDATOR"];
|
|
7
7
|
/**
|
|
8
8
|
* Base class for all quick actions.
|
|
9
9
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { QuickActionContext } from '../../cpe/quick-actions/quick-action-definition';
|
|
1
|
+
import type { QuickActionContext } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
2
2
|
|
|
3
|
-
import { EnablementValidator, EnablementValidatorError, EnablementValidatorResult } from './enablement-validator';
|
|
4
|
-
import { DIALOG_ENABLEMENT_VALIDATOR } from './dialog-enablement-validator';
|
|
3
|
+
import { EnablementValidator, EnablementValidatorError, EnablementValidatorResult } from './enablement-validator.js';
|
|
4
|
+
import { DIALOG_ENABLEMENT_VALIDATOR } from './dialog-enablement-validator.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Base class for all quick actions.
|
|
@@ -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", "../../cpe/quick-actions/utils", "./quick-action-base"], function (___sap_ux_private_control_property_editor_common,
|
|
3
|
+
sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../../cpe/quick-actions/utils", "./quick-action-base"], function (___sap_ux_private_control_property_editor_common, ____cpe_quick_actions_utilsjs, ___quick_action_basejs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
const SIMPLE_QUICK_ACTION_KIND = ___sap_ux_private_control_property_editor_common["SIMPLE_QUICK_ACTION_KIND"];
|
|
7
|
-
const getRelevantControlFromActivePage =
|
|
8
|
-
const QuickActionDefinitionBase =
|
|
7
|
+
const getRelevantControlFromActivePage = ____cpe_quick_actions_utilsjs["getRelevantControlFromActivePage"];
|
|
8
|
+
const QuickActionDefinitionBase = ___quick_action_basejs["QuickActionDefinitionBase"];
|
|
9
9
|
/**
|
|
10
10
|
* Base class for all simple quick actions.
|
|
11
11
|
*/
|
|
@@ -3,10 +3,10 @@ import type UI5Element from 'sap/ui/core/Element';
|
|
|
3
3
|
import type { SimpleQuickAction } from '@sap-ux-private/control-property-editor-common';
|
|
4
4
|
import { SIMPLE_QUICK_ACTION_KIND } from '@sap-ux-private/control-property-editor-common';
|
|
5
5
|
|
|
6
|
-
import { getRelevantControlFromActivePage } from '../../cpe/quick-actions/utils';
|
|
7
|
-
import type { QuickActionContext } from '../../cpe/quick-actions/quick-action-definition';
|
|
8
|
-
import type { EnablementValidator } from './enablement-validator';
|
|
9
|
-
import { QuickActionDefinitionBase } from './quick-action-base';
|
|
6
|
+
import { getRelevantControlFromActivePage } from '../../cpe/quick-actions/utils.js';
|
|
7
|
+
import type { QuickActionContext } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
8
|
+
import type { EnablementValidator } from './enablement-validator.js';
|
|
9
|
+
import { QuickActionDefinitionBase } from './quick-action-base.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Base class for all simple quick actions.
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/ui/dt/OverlayUtil", "../../cpe/quick-actions/utils", "../../utils/core", "../../utils/version", "./quick-action-base", "./control-types", "./fe-v2/utils", "../../utils/fe-v4"], function (___sap_ux_private_control_property_editor_common, OverlayUtil,
|
|
3
|
+
sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "sap/ui/dt/OverlayUtil", "../../cpe/quick-actions/utils", "../../utils/core", "../../utils/version", "./quick-action-base", "./control-types", "./fe-v2/utils", "../../utils/fe-v4"], function (___sap_ux_private_control_property_editor_common, OverlayUtil, ____cpe_quick_actions_utilsjs, ____utils_corejs, ____utils_versionjs, ___quick_action_basejs, ___control_typesjs, ___fe_v2_utilsjs, ____utils_fe_v4js) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
const NESTED_QUICK_ACTION_KIND = ___sap_ux_private_control_property_editor_common["NESTED_QUICK_ACTION_KIND"];
|
|
7
|
-
const getParentContainer =
|
|
8
|
-
const getRelevantControlFromActivePage =
|
|
9
|
-
const getControlById =
|
|
10
|
-
const isA =
|
|
11
|
-
const isManagedObject =
|
|
12
|
-
const getUi5Version =
|
|
13
|
-
const isLowerThanMinimalUi5Version =
|
|
14
|
-
const QuickActionDefinitionBase =
|
|
15
|
-
const ANALYTICAL_TABLE_TYPE =
|
|
16
|
-
const GRID_TABLE_TYPE =
|
|
17
|
-
const M_TABLE_TYPE =
|
|
18
|
-
const MDC_TABLE_TYPE =
|
|
19
|
-
const SMART_TABLE_TYPE =
|
|
20
|
-
const TREE_TABLE_TYPE =
|
|
21
|
-
const isVariantManagementEnabledOPPage =
|
|
22
|
-
const isMacroTable =
|
|
7
|
+
const getParentContainer = ____cpe_quick_actions_utilsjs["getParentContainer"];
|
|
8
|
+
const getRelevantControlFromActivePage = ____cpe_quick_actions_utilsjs["getRelevantControlFromActivePage"];
|
|
9
|
+
const getControlById = ____utils_corejs["getControlById"];
|
|
10
|
+
const isA = ____utils_corejs["isA"];
|
|
11
|
+
const isManagedObject = ____utils_corejs["isManagedObject"];
|
|
12
|
+
const getUi5Version = ____utils_versionjs["getUi5Version"];
|
|
13
|
+
const isLowerThanMinimalUi5Version = ____utils_versionjs["isLowerThanMinimalUi5Version"];
|
|
14
|
+
const QuickActionDefinitionBase = ___quick_action_basejs["QuickActionDefinitionBase"];
|
|
15
|
+
const ANALYTICAL_TABLE_TYPE = ___control_typesjs["ANALYTICAL_TABLE_TYPE"];
|
|
16
|
+
const GRID_TABLE_TYPE = ___control_typesjs["GRID_TABLE_TYPE"];
|
|
17
|
+
const M_TABLE_TYPE = ___control_typesjs["M_TABLE_TYPE"];
|
|
18
|
+
const MDC_TABLE_TYPE = ___control_typesjs["MDC_TABLE_TYPE"];
|
|
19
|
+
const SMART_TABLE_TYPE = ___control_typesjs["SMART_TABLE_TYPE"];
|
|
20
|
+
const TREE_TABLE_TYPE = ___control_typesjs["TREE_TABLE_TYPE"];
|
|
21
|
+
const isVariantManagementEnabledOPPage = ___fe_v2_utilsjs["isVariantManagementEnabledOPPage"];
|
|
22
|
+
const isMacroTable = ____utils_fe_v4js["isMacroTable"];
|
|
23
23
|
const SMART_TABLE_ACTION_ID = 'CTX_COMP_VARIANT_CONTENT';
|
|
24
24
|
const M_TABLE_ACTION_ID = 'CTX_ADD_ELEMENTS_AS_CHILD';
|
|
25
25
|
const SETTINGS_ID = 'CTX_SETTINGS';
|
|
@@ -5,18 +5,18 @@ import type IconTabFilter from 'sap/m/IconTabFilter';
|
|
|
5
5
|
import type Table from 'sap/m/Table';
|
|
6
6
|
import type MdcTable from 'sap/ui/mdc/Table';
|
|
7
7
|
import type SmartTable from 'sap/ui/comp/smarttable/SmartTable';
|
|
8
|
-
import type { QuickActionContext } from '../../cpe/quick-actions/quick-action-definition';
|
|
8
|
+
import type { QuickActionContext } from '../../cpe/quick-actions/quick-action-definition.js';
|
|
9
9
|
import OverlayUtil from 'sap/ui/dt/OverlayUtil';
|
|
10
10
|
import type { NestedQuickActionChild, NestedQuickAction } from '@sap-ux-private/control-property-editor-common';
|
|
11
|
-
import { getParentContainer, getRelevantControlFromActivePage } from '../../cpe/quick-actions/utils';
|
|
12
|
-
import { getControlById, isA, isManagedObject } from '../../utils/core';
|
|
13
|
-
import { getUi5Version, isLowerThanMinimalUi5Version } from '../../utils/version';
|
|
11
|
+
import { getParentContainer, getRelevantControlFromActivePage } from '../../cpe/quick-actions/utils.js';
|
|
12
|
+
import { getControlById, isA, isManagedObject } from '../../utils/core.js';
|
|
13
|
+
import { getUi5Version, isLowerThanMinimalUi5Version } from '../../utils/version.js';
|
|
14
14
|
import type ObjectPageSection from 'sap/uxap/ObjectPageSection';
|
|
15
15
|
import type ObjectPageSubSection from 'sap/uxap/ObjectPageSubSection';
|
|
16
16
|
import type ObjectPageLayout from 'sap/uxap/ObjectPageLayout';
|
|
17
17
|
import type ManagedObject from 'sap/ui/base/ManagedObject';
|
|
18
|
-
import type { EnablementValidator } from './enablement-validator';
|
|
19
|
-
import { QuickActionDefinitionBase } from './quick-action-base';
|
|
18
|
+
import type { EnablementValidator } from './enablement-validator.js';
|
|
19
|
+
import { QuickActionDefinitionBase } from './quick-action-base.js';
|
|
20
20
|
import {
|
|
21
21
|
ANALYTICAL_TABLE_TYPE,
|
|
22
22
|
GRID_TABLE_TYPE,
|
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
MDC_TABLE_TYPE,
|
|
25
25
|
SMART_TABLE_TYPE,
|
|
26
26
|
TREE_TABLE_TYPE
|
|
27
|
-
} from './control-types';
|
|
28
|
-
import { isVariantManagementEnabledOPPage } from './fe-v2/utils';
|
|
29
|
-
import { isMacroTable } from '../../utils/fe-v4';
|
|
27
|
+
} from './control-types.js';
|
|
28
|
+
import { isVariantManagementEnabledOPPage } from './fe-v2/utils.js';
|
|
29
|
+
import { isMacroTable } from '../../utils/fe-v4.js';
|
|
30
30
|
|
|
31
31
|
const SMART_TABLE_ACTION_ID = 'CTX_COMP_VARIANT_CONTENT';
|
|
32
32
|
const M_TABLE_ACTION_ID = 'CTX_ADD_ELEMENTS_AS_CHILD';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/base/Log", "sap/ui/core/Element", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/error", "../utils/info-center-message", "../utils/version"], function (Log, Element, ___sap_ux_private_control_property_editor_common,
|
|
3
|
+
sap.ui.define(["sap/base/Log", "sap/ui/core/Element", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "../utils/error", "../utils/info-center-message", "../utils/version"], function (Log, Element, ___sap_ux_private_control_property_editor_common, ___utils_errorjs, ___utils_info_center_messagejs, ___utils_versionjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function __ui5_require_async(path) {
|
|
@@ -21,9 +21,9 @@ sap.ui.define(["sap/base/Log", "sap/ui/core/Element", "open/ux/preview/client/th
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
const MessageBarType = ___sap_ux_private_control_property_editor_common["MessageBarType"];
|
|
24
|
-
const getError =
|
|
25
|
-
const sendInfoCenterMessage =
|
|
26
|
-
const isLowerThanMinimalUi5Version =
|
|
24
|
+
const getError = ___utils_errorjs["getError"];
|
|
25
|
+
const sendInfoCenterMessage = ___utils_info_center_messagejs["sendInfoCenterMessage"];
|
|
26
|
+
const isLowerThanMinimalUi5Version = ___utils_versionjs["isLowerThanMinimalUi5Version"];
|
|
27
27
|
const syncViews = new Set();
|
|
28
28
|
let warningShown = false;
|
|
29
29
|
|
|
@@ -3,9 +3,9 @@ import Element from 'sap/ui/core/Element';
|
|
|
3
3
|
import type DTElement from 'sap/ui/dt/Element';
|
|
4
4
|
|
|
5
5
|
import { MessageBarType } from '@sap-ux-private/control-property-editor-common';
|
|
6
|
-
import { getError } from '../utils/error';
|
|
7
|
-
import { sendInfoCenterMessage } from '../utils/info-center-message';
|
|
8
|
-
import { isLowerThanMinimalUi5Version, Ui5VersionInfo } from '../utils/version';
|
|
6
|
+
import { getError } from '../utils/error.js';
|
|
7
|
+
import { sendInfoCenterMessage } from '../utils/info-center-message.js';
|
|
8
|
+
import { isLowerThanMinimalUi5Version, Ui5VersionInfo } from '../utils/version.js';
|
|
9
9
|
|
|
10
10
|
const syncViews = new Set<string>();
|
|
11
11
|
let warningShown = false;
|
package/dist/client/adp/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/fl/Utils", "../utils/core", "../utils/version"], function (FlexUtils,
|
|
3
|
+
sap.ui.define(["sap/ui/fl/Utils", "../utils/core", "../utils/version"], function (FlexUtils, ___utils_corejs, ___utils_versionjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
function __ui5_require_async(path) {
|
|
@@ -20,8 +20,8 @@ sap.ui.define(["sap/ui/fl/Utils", "../utils/core", "../utils/version"], function
|
|
|
20
20
|
});
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
const getControlById =
|
|
24
|
-
const isLowerThanMinimalUi5Version =
|
|
23
|
+
const getControlById = ___utils_corejs["getControlById"];
|
|
24
|
+
const isLowerThanMinimalUi5Version = ___utils_versionjs["isLowerThanMinimalUi5Version"];
|
|
25
25
|
let reuseComponentChecker;
|
|
26
26
|
|
|
27
27
|
/**
|
package/dist/client/adp/utils.ts
CHANGED
|
@@ -3,11 +3,11 @@ import type ManagedObject from 'sap/ui/base/ManagedObject';
|
|
|
3
3
|
import type ElementOverlay from 'sap/ui/dt/ElementOverlay';
|
|
4
4
|
import FlexUtils from 'sap/ui/fl/Utils';
|
|
5
5
|
import IsReuseComponentApi from 'sap/ui/rta/util/isReuseComponent';
|
|
6
|
-
import { getControlById } from '../utils/core';
|
|
6
|
+
import { getControlById } from '../utils/core.js';
|
|
7
7
|
import type { Manifest } from 'sap/ui/rta/RuntimeAuthoring';
|
|
8
8
|
import RuntimeAuthoring from 'sap/ui/rta/RuntimeAuthoring';
|
|
9
9
|
|
|
10
|
-
import { isLowerThanMinimalUi5Version, Ui5VersionInfo } from '../utils/version';
|
|
10
|
+
import { isLowerThanMinimalUi5Version, Ui5VersionInfo } from '../utils/version.js';
|
|
11
11
|
|
|
12
12
|
export interface Deferred<T> {
|
|
13
13
|
promise: Promise<T>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["../../utils/core", "../../adp/quick-actions/control-types"], function (
|
|
3
|
+
sap.ui.define(["../../utils/core", "../../adp/quick-actions/control-types"], function (____utils_corejs, ____adp_quick_actions_control_typesjs) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
const getControlBySelector =
|
|
7
|
-
const findViewByControl =
|
|
8
|
-
const ANALYTICAL_TABLE_TYPE =
|
|
9
|
-
const GRID_TABLE_TYPE =
|
|
10
|
-
const MDC_TABLE_TYPE =
|
|
11
|
-
const TREE_TABLE_TYPE =
|
|
6
|
+
const getControlBySelector = ____utils_corejs["getControlBySelector"];
|
|
7
|
+
const findViewByControl = ____utils_corejs["findViewByControl"];
|
|
8
|
+
const ANALYTICAL_TABLE_TYPE = ____adp_quick_actions_control_typesjs["ANALYTICAL_TABLE_TYPE"];
|
|
9
|
+
const GRID_TABLE_TYPE = ____adp_quick_actions_control_typesjs["GRID_TABLE_TYPE"];
|
|
10
|
+
const MDC_TABLE_TYPE = ____adp_quick_actions_control_typesjs["MDC_TABLE_TYPE"];
|
|
11
|
+
const TREE_TABLE_TYPE = ____adp_quick_actions_control_typesjs["TREE_TABLE_TYPE"];
|
|
12
12
|
function getAddXMLAdditionalInfo(change, appComponent) {
|
|
13
13
|
const selector = change.getSelector();
|
|
14
14
|
const targetAggregation = change.getContent()?.targetAggregation ?? '';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import FlexChange from 'sap/ui/fl/Change';
|
|
2
|
-
import { getControlBySelector, findViewByControl } from '../../utils/core';
|
|
2
|
+
import { getControlBySelector, findViewByControl } from '../../utils/core.js';
|
|
3
3
|
import {
|
|
4
4
|
ANALYTICAL_TABLE_TYPE,
|
|
5
5
|
GRID_TABLE_TYPE,
|
|
6
6
|
MDC_TABLE_TYPE,
|
|
7
7
|
TREE_TABLE_TYPE
|
|
8
|
-
} from '../../adp/quick-actions/control-types';
|
|
8
|
+
} from '../../adp/quick-actions/control-types.js';
|
|
9
9
|
import Element from 'sap/ui/core/Element';
|
|
10
10
|
import type Component from 'sap/ui/core/Component';
|
|
11
11
|
import type Selector from 'sap/ui/fl/Selector';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
sap.ui.define(["sap/ui/rta/command/CommandFactory", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "./validator", "../../utils/fe-v4"], function (CommandFactory, ___sap_ux_private_control_property_editor_common,
|
|
3
|
+
sap.ui.define(["sap/ui/rta/command/CommandFactory", "open/ux/preview/client/thirdparty/@sap-ux-private/control-property-editor-common", "./validator", "../../utils/fe-v4"], function (CommandFactory, ___sap_ux_private_control_property_editor_common, ___validatorjs, ____utils_fe_v4js) {
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
6
|
const PropertyType = ___sap_ux_private_control_property_editor_common["PropertyType"];
|
|
7
|
-
const validateBindingModel =
|
|
8
|
-
const createManifestPropertyChange =
|
|
7
|
+
const validateBindingModel = ___validatorjs["validateBindingModel"];
|
|
8
|
+
const createManifestPropertyChange = ____utils_fe_v4js["createManifestPropertyChange"];
|
|
9
9
|
/**
|
|
10
10
|
* Function to check a give value is a binding expression.
|
|
11
11
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type FlexCommand from 'sap/ui/rta/command/FlexCommand';
|
|
2
2
|
import CommandFactory from 'sap/ui/rta/command/CommandFactory';
|
|
3
3
|
import { PropertyType, type PropertyChange } from '@sap-ux-private/control-property-editor-common';
|
|
4
|
-
import type { UI5AdaptationOptions } from '../types';
|
|
5
|
-
import { validateBindingModel } from './validator';
|
|
6
|
-
import { createManifestPropertyChange } from '../../utils/fe-v4';
|
|
4
|
+
import type { UI5AdaptationOptions } from '../types.js';
|
|
5
|
+
import { validateBindingModel } from './validator.js';
|
|
6
|
+
import { createManifestPropertyChange } from '../../utils/fe-v4.js';
|
|
7
7
|
/**
|
|
8
8
|
* Function to check a give value is a binding expression.
|
|
9
9
|
*
|