@sap/ux-ui5-tooling 1.23.0 → 1.24.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/CHANGELOG.md +22 -0
- package/dist/cli/index.cjs +16861 -16550
- package/dist/middlewares/fiori-tools-appreload.js +855 -463
- package/dist/middlewares/fiori-tools-preview.js +9080 -25650
- package/dist/middlewares/fiori-tools-proxy.js +26089 -42272
- package/dist/middlewares/fiori-tools-servestatic.js +385 -8787
- package/dist/preview-middleware/dist/client/adp/quick-actions/fe-v4/create-table-custom-column-config-change.js +3 -6
- package/dist/preview-middleware/dist/client/adp/quick-actions/fe-v4/create-table-custom-column-config-change.ts +5 -6
- package/dist/preview-middleware/dist/client/cpe/control-data.js +1 -1
- package/dist/preview-middleware/dist/client/cpe/control-data.ts +1 -1
- package/dist/tasks/cf-deploy/index.js +1361 -893
- package/dist/tasks/deploy/index.js +2159 -1561
- package/package.json +19 -20
- package/prebuilds/keyring.darwin-arm64.node +0 -0
- package/prebuilds/keyring.darwin-x64.node +0 -0
- package/prebuilds/keyring.linux-arm-gnueabihf.node +0 -0
- package/prebuilds/keyring.linux-arm64-gnu.node +0 -0
- package/prebuilds/keyring.linux-arm64-musl.node +0 -0
- package/prebuilds/keyring.linux-ia32-gnu.node +0 -0
- package/prebuilds/keyring.linux-x64-gnu.node +0 -0
- package/prebuilds/keyring.linux-x64-musl.node +0 -0
- package/prebuilds/keyring.win32-arm64-msvc.node +0 -0
- package/prebuilds/keyring.win32-ia32-msvc.node +0 -0
- package/prebuilds/keyring.win32-x64-msvc.node +0 -0
|
@@ -83,15 +83,12 @@ sap.ui.define(["sap/ui/dt/OverlayRegistry", "../../dialog-factory", "../control-
|
|
|
83
83
|
const macroTable = table.getParent();
|
|
84
84
|
let anchor = '';
|
|
85
85
|
if (isMacroTable(macroTable)) {
|
|
86
|
-
|
|
87
|
-
if (macroTable.metaPath.includes('LineItem')) {
|
|
88
|
-
metaPath = macroTable.metaPath;
|
|
89
|
-
} else {
|
|
86
|
+
const metaPath = macroTable.metaPath.includes('LineItem') ? macroTable.metaPath : (() => {
|
|
90
87
|
const segments = macroTable.metaPath.split('/');
|
|
91
88
|
segments.pop();
|
|
92
89
|
const path = segments.join('/');
|
|
93
|
-
|
|
94
|
-
}
|
|
90
|
+
return `${path}/${getLineItemAnnotation(macroTable)}`;
|
|
91
|
+
})();
|
|
95
92
|
if (!metaPath) {
|
|
96
93
|
return '';
|
|
97
94
|
}
|
|
@@ -103,15 +103,14 @@ function findAnchor(table: UI5Element): string {
|
|
|
103
103
|
const macroTable = table.getParent();
|
|
104
104
|
let anchor: string = '';
|
|
105
105
|
if (isMacroTable(macroTable)) {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
} else {
|
|
106
|
+
const metaPath = macroTable.metaPath.includes('LineItem')
|
|
107
|
+
? macroTable.metaPath
|
|
108
|
+
: (() => {
|
|
110
109
|
const segments = macroTable.metaPath.split('/');
|
|
111
110
|
segments.pop();
|
|
112
111
|
const path = segments.join('/');
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
return `${path}/${getLineItemAnnotation(macroTable)}`;
|
|
113
|
+
})();
|
|
115
114
|
if (!metaPath) {
|
|
116
115
|
return '';
|
|
117
116
|
}
|
|
@@ -196,7 +196,7 @@ sap.ui.define(["open/ux/preview/client/thirdparty/@sap-ux-private/control-proper
|
|
|
196
196
|
for (const propertyName of propertyNames) {
|
|
197
197
|
const property = allProperties[propertyName];
|
|
198
198
|
let analyzedType;
|
|
199
|
-
let isEnabled
|
|
199
|
+
let isEnabled;
|
|
200
200
|
let value;
|
|
201
201
|
if (property && 'configuration' in property) {
|
|
202
202
|
propertyType = PropertyType.Configuration;
|
|
@@ -234,7 +234,7 @@ export function buildControlData(
|
|
|
234
234
|
for (const propertyName of propertyNames) {
|
|
235
235
|
const property = allProperties[propertyName];
|
|
236
236
|
let analyzedType;
|
|
237
|
-
let isEnabled
|
|
237
|
+
let isEnabled: boolean;
|
|
238
238
|
let value: unknown;
|
|
239
239
|
if (property && 'configuration' in property) {
|
|
240
240
|
propertyType = PropertyType.Configuration;
|