@sap/ux-ui5-tooling 1.17.4 → 1.17.5
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 +13 -0
- package/dist/cli/index.js +280 -124
- package/dist/middlewares/fiori-tools-preview.js +184 -110
- package/dist/middlewares/fiori-tools-proxy.js +183 -109
- package/dist/tasks/cf-deploy/index.js +198 -124
- package/dist/tasks/deploy/index.js +280 -124
- package/package.json +15 -15
|
@@ -65444,15 +65444,26 @@ var require_middlewares = __commonJS({
|
|
|
65444
65444
|
}
|
|
65445
65445
|
};
|
|
65446
65446
|
}
|
|
65447
|
-
function getPreviewMiddlewareConfig(appId,
|
|
65448
|
-
|
|
65447
|
+
function getPreviewMiddlewareConfig({ ui5Theme, appId, flpAction, localStartFile }) {
|
|
65448
|
+
const fioriPreviewConfig = {
|
|
65449
65449
|
name: "fiori-tools-preview",
|
|
65450
65450
|
afterMiddleware: "fiori-tools-appreload",
|
|
65451
65451
|
configuration: {
|
|
65452
|
-
|
|
65453
|
-
|
|
65452
|
+
flp: {
|
|
65453
|
+
theme: ui5Theme
|
|
65454
|
+
}
|
|
65454
65455
|
}
|
|
65455
65456
|
};
|
|
65457
|
+
if (localStartFile) {
|
|
65458
|
+
fioriPreviewConfig.configuration.flp.path = localStartFile;
|
|
65459
|
+
}
|
|
65460
|
+
if (appId && flpAction) {
|
|
65461
|
+
fioriPreviewConfig.configuration.flp.intent = {
|
|
65462
|
+
object: appId.replace(/[._-]/g, ""),
|
|
65463
|
+
action: flpAction
|
|
65464
|
+
};
|
|
65465
|
+
}
|
|
65466
|
+
return fioriPreviewConfig;
|
|
65456
65467
|
}
|
|
65457
65468
|
function getBackendComments(backend, index) {
|
|
65458
65469
|
const comment = [];
|
|
@@ -74955,14 +74966,17 @@ var require_ui5config = __commonJS({
|
|
|
74955
74966
|
* Adds the Fiori Tools preview middleware configuration to the UI5 server configuration.
|
|
74956
74967
|
* This middleware is used to preview the Fiori application with the specified UI5 theme.
|
|
74957
74968
|
*
|
|
74958
|
-
* @param
|
|
74959
|
-
* @param {string} ui5Theme - The UI5 theme to be used.
|
|
74969
|
+
* @param previewMiddlewareOpts - options for configuring the fiori tools preview middleware.
|
|
74970
|
+
* @param {string} previewMiddlewareOpts.ui5Theme - The UI5 theme to be used.
|
|
74971
|
+
* @param {string} previewMiddlewareOpts.appId - The ID of the application for which the preview middleware is configured.
|
|
74972
|
+
* @param {string} previewMiddlewareOpts.flpAction - The FLP action to be used for the preview.
|
|
74973
|
+
* @param {string} [previewMiddlewareOpts.localStartFile] - The local start file to be used for the preview.
|
|
74960
74974
|
* @returns {UI5Config} The updated UI5 configuration object.
|
|
74961
74975
|
*/
|
|
74962
|
-
addFioriToolsPreviewMiddleware(appId, ui5Theme) {
|
|
74976
|
+
addFioriToolsPreviewMiddleware({ appId, ui5Theme, flpAction, localStartFile }) {
|
|
74963
74977
|
this.document.appendTo({
|
|
74964
74978
|
path: "server.customMiddleware",
|
|
74965
|
-
value: (0, middlewares_1.getPreviewMiddlewareConfig)(appId,
|
|
74979
|
+
value: (0, middlewares_1.getPreviewMiddlewareConfig)({ ui5Theme, appId, flpAction, localStartFile })
|
|
74966
74980
|
});
|
|
74967
74981
|
return this;
|
|
74968
74982
|
}
|
|
@@ -75235,17 +75249,6 @@ var require_ui5config = __commonJS({
|
|
|
75235
75249
|
path: "builder.resources.excludes",
|
|
75236
75250
|
value: "/localService/**"
|
|
75237
75251
|
});
|
|
75238
|
-
this.document.appendTo({
|
|
75239
|
-
path: "builder.customTasks",
|
|
75240
|
-
value: {
|
|
75241
|
-
name: "webide-extension-task-updateManifestJson",
|
|
75242
|
-
afterTask: "replaceVersion",
|
|
75243
|
-
configuration: {
|
|
75244
|
-
appFolder: "webapp",
|
|
75245
|
-
destDir: "dist"
|
|
75246
|
-
}
|
|
75247
|
-
}
|
|
75248
|
-
});
|
|
75249
75252
|
this.document.appendTo({
|
|
75250
75253
|
path: "builder.customTasks",
|
|
75251
75254
|
value: {
|
|
@@ -75253,6 +75256,7 @@ var require_ui5config = __commonJS({
|
|
|
75253
75256
|
afterTask: "generateCachebusterInfo",
|
|
75254
75257
|
configuration: {
|
|
75255
75258
|
archiveName,
|
|
75259
|
+
relativePaths: true,
|
|
75256
75260
|
additionalFiles: ["xs-app.json"]
|
|
75257
75261
|
}
|
|
75258
75262
|
}
|
|
@@ -77429,7 +77433,7 @@ var require_dist6 = __commonJS({
|
|
|
77429
77433
|
"../../node_modules/@sap-ux/ui5-config/dist/index.js"(exports2) {
|
|
77430
77434
|
"use strict";
|
|
77431
77435
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
77432
|
-
exports2.YAMLError = exports2.yamlErrorCode = exports2.replaceEnvVariables = exports2.getTypesPackage = exports2.getTypesVersion = exports2.getEsmTypesVersion = exports2.mergeObjects = exports2.UI5Config = void 0;
|
|
77436
|
+
exports2.fioriToolsProxy = exports2.YAMLError = exports2.yamlErrorCode = exports2.replaceEnvVariables = exports2.getTypesPackage = exports2.getTypesVersion = exports2.getEsmTypesVersion = exports2.mergeObjects = exports2.UI5Config = void 0;
|
|
77433
77437
|
var ui5config_1 = require_ui5config();
|
|
77434
77438
|
Object.defineProperty(exports2, "UI5Config", { enumerable: true, get: function() {
|
|
77435
77439
|
return ui5config_1.UI5Config;
|
|
@@ -77457,12 +77461,16 @@ var require_dist6 = __commonJS({
|
|
|
77457
77461
|
Object.defineProperty(exports2, "YAMLError", { enumerable: true, get: function() {
|
|
77458
77462
|
return yaml_1.YAMLError;
|
|
77459
77463
|
} });
|
|
77464
|
+
var constants_1 = require_constants2();
|
|
77465
|
+
Object.defineProperty(exports2, "fioriToolsProxy", { enumerable: true, get: function() {
|
|
77466
|
+
return constants_1.fioriToolsProxy;
|
|
77467
|
+
} });
|
|
77460
77468
|
}
|
|
77461
77469
|
});
|
|
77462
77470
|
|
|
77463
|
-
// node_modules/@sap-ux/guided-answers-helper/dist/guided-answers-icon_svg_base64.js
|
|
77471
|
+
// ../../node_modules/@sap-ux/guided-answers-helper/dist/guided-answers-icon_svg_base64.js
|
|
77464
77472
|
var require_guided_answers_icon_svg_base64 = __commonJS({
|
|
77465
|
-
"node_modules/@sap-ux/guided-answers-helper/dist/guided-answers-icon_svg_base64.js"(exports2) {
|
|
77473
|
+
"../../node_modules/@sap-ux/guided-answers-helper/dist/guided-answers-icon_svg_base64.js"(exports2) {
|
|
77466
77474
|
"use strict";
|
|
77467
77475
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
77468
77476
|
exports2.GUIDED_ANSWERS_ICON = void 0;
|
|
@@ -77470,9 +77478,9 @@ var require_guided_answers_icon_svg_base64 = __commonJS({
|
|
|
77470
77478
|
}
|
|
77471
77479
|
});
|
|
77472
77480
|
|
|
77473
|
-
// node_modules/@sap-ux/guided-answers-helper/dist/index.js
|
|
77481
|
+
// ../../node_modules/@sap-ux/guided-answers-helper/dist/index.js
|
|
77474
77482
|
var require_dist7 = __commonJS({
|
|
77475
|
-
"node_modules/@sap-ux/guided-answers-helper/dist/index.js"(exports2) {
|
|
77483
|
+
"../../node_modules/@sap-ux/guided-answers-helper/dist/index.js"(exports2) {
|
|
77476
77484
|
"use strict";
|
|
77477
77485
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
77478
77486
|
exports2.GUIDED_ANSWERS_LAUNCH_CMD_ID = exports2.GUIDED_ANSWERS_EXTENSION_ID = exports2.HELP_NODES = exports2.HELP_TREE = exports2.GUIDED_ANSWERS_ICON = void 0;
|
|
@@ -77514,8 +77522,10 @@ var require_dist7 = __commonJS({
|
|
|
77514
77522
|
// Non specific destination connection error help page, currently this is mapped to the same node as BAS_CATALOG_SERVICES_REQUEST_FAILED which will be updated in the future (and the entry here removed)
|
|
77515
77523
|
UI_SERVICE_GENERATOR: 63068,
|
|
77516
77524
|
// UI Service generator
|
|
77517
|
-
DESTINATION_GATEWAY_TIMEOUT: 57914
|
|
77525
|
+
DESTINATION_GATEWAY_TIMEOUT: 57914,
|
|
77518
77526
|
// Gateway timeout 504
|
|
77527
|
+
ADT_APP_NOT_FOUND_ERROR: 63911
|
|
77528
|
+
// Error when the ADT app is not found in the UI5 ABAP repository
|
|
77519
77529
|
};
|
|
77520
77530
|
exports2.GUIDED_ANSWERS_EXTENSION_ID = "saposs.sap-guided-answers-extension";
|
|
77521
77531
|
exports2.GUIDED_ANSWERS_LAUNCH_CMD_ID = "sap.ux.guidedAnswer.openGuidedAnswer";
|
|
@@ -77726,9 +77736,9 @@ var require_is_wsl = __commonJS({
|
|
|
77726
77736
|
}
|
|
77727
77737
|
});
|
|
77728
77738
|
|
|
77729
|
-
// ../../node_modules
|
|
77739
|
+
// ../../node_modules/open/index.js
|
|
77730
77740
|
var require_open = __commonJS({
|
|
77731
|
-
"../../node_modules
|
|
77741
|
+
"../../node_modules/open/index.js"(exports2, module2) {
|
|
77732
77742
|
"use strict";
|
|
77733
77743
|
var { promisify: promisify2 } = require("util");
|
|
77734
77744
|
var path4 = require("path");
|
|
@@ -81347,6 +81357,9 @@ var require_ui5_abap_repository_service = __commonJS({
|
|
|
81347
81357
|
isDest: this.isDest
|
|
81348
81358
|
}, false);
|
|
81349
81359
|
}
|
|
81360
|
+
if (!!info && info.Package !== bsp.package) {
|
|
81361
|
+
this.log.warn(`Cannot change package assignment from ${info.Package} to ${bsp.package}.`);
|
|
81362
|
+
}
|
|
81350
81363
|
return response;
|
|
81351
81364
|
} catch (error3) {
|
|
81352
81365
|
(0, message_1.logError)({ error: error3, host: frontendUrl, log: this.log, isDest: this.isDest });
|
|
@@ -94939,7 +94952,11 @@ var require_constants5 = __commonJS({
|
|
|
94939
94952
|
Ui5LocalYaml: "ui5-local.yaml",
|
|
94940
94953
|
Ui5MockYaml: "ui5-mock.yaml",
|
|
94941
94954
|
UI5DeployYaml: "ui5-deploy.yaml",
|
|
94942
|
-
PackageLock: "package-lock.json"
|
|
94955
|
+
PackageLock: "package-lock.json",
|
|
94956
|
+
XSAppJson: "xs-app.json",
|
|
94957
|
+
XSSecurityJson: "xs-security.json",
|
|
94958
|
+
DotGitIgnore: ".gitignore",
|
|
94959
|
+
MtaExtYaml: "mta-ext.mtaext"
|
|
94943
94960
|
};
|
|
94944
94961
|
exports2.DirName = {
|
|
94945
94962
|
Changes: "changes",
|
|
@@ -95563,15 +95580,25 @@ var require_module_loader = __commonJS({
|
|
|
95563
95580
|
} : function(o, v) {
|
|
95564
95581
|
o["default"] = v;
|
|
95565
95582
|
});
|
|
95566
|
-
var __importStar = exports2 && exports2.__importStar || function(
|
|
95567
|
-
|
|
95568
|
-
|
|
95569
|
-
|
|
95570
|
-
|
|
95571
|
-
|
|
95572
|
-
|
|
95573
|
-
|
|
95574
|
-
|
|
95583
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
95584
|
+
var ownKeys = function(o) {
|
|
95585
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
95586
|
+
var ar = [];
|
|
95587
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
95588
|
+
return ar;
|
|
95589
|
+
};
|
|
95590
|
+
return ownKeys(o);
|
|
95591
|
+
};
|
|
95592
|
+
return function(mod) {
|
|
95593
|
+
if (mod && mod.__esModule) return mod;
|
|
95594
|
+
var result2 = {};
|
|
95595
|
+
if (mod != null) {
|
|
95596
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result2, mod, k[i]);
|
|
95597
|
+
}
|
|
95598
|
+
__setModuleDefault(result2, mod);
|
|
95599
|
+
return result2;
|
|
95600
|
+
};
|
|
95601
|
+
}();
|
|
95575
95602
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
95576
95603
|
exports2.getModulePath = getModulePath;
|
|
95577
95604
|
exports2.loadModuleFromProject = loadModuleFromProject;
|
|
@@ -100228,9 +100255,9 @@ var require_merge22 = __commonJS({
|
|
|
100228
100255
|
}
|
|
100229
100256
|
});
|
|
100230
100257
|
|
|
100231
|
-
// ../../node_modules/
|
|
100258
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/array.js
|
|
100232
100259
|
var require_array2 = __commonJS({
|
|
100233
|
-
"../../node_modules/
|
|
100260
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/array.js"(exports2) {
|
|
100234
100261
|
"use strict";
|
|
100235
100262
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
100236
100263
|
exports2.splitWhen = exports2.flatten = void 0;
|
|
@@ -100255,9 +100282,9 @@ var require_array2 = __commonJS({
|
|
|
100255
100282
|
}
|
|
100256
100283
|
});
|
|
100257
100284
|
|
|
100258
|
-
// ../../node_modules/
|
|
100285
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/errno.js
|
|
100259
100286
|
var require_errno = __commonJS({
|
|
100260
|
-
"../../node_modules/
|
|
100287
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/errno.js"(exports2) {
|
|
100261
100288
|
"use strict";
|
|
100262
100289
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
100263
100290
|
exports2.isEnoentCodeError = void 0;
|
|
@@ -100268,9 +100295,9 @@ var require_errno = __commonJS({
|
|
|
100268
100295
|
}
|
|
100269
100296
|
});
|
|
100270
100297
|
|
|
100271
|
-
// ../../node_modules/
|
|
100298
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/fs.js
|
|
100272
100299
|
var require_fs2 = __commonJS({
|
|
100273
|
-
"../../node_modules/
|
|
100300
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/fs.js"(exports2) {
|
|
100274
100301
|
"use strict";
|
|
100275
100302
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
100276
100303
|
exports2.createDirentFromStats = void 0;
|
|
@@ -100293,9 +100320,9 @@ var require_fs2 = __commonJS({
|
|
|
100293
100320
|
}
|
|
100294
100321
|
});
|
|
100295
100322
|
|
|
100296
|
-
// ../../node_modules/
|
|
100323
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/path.js
|
|
100297
100324
|
var require_path = __commonJS({
|
|
100298
|
-
"../../node_modules/
|
|
100325
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/path.js"(exports2) {
|
|
100299
100326
|
"use strict";
|
|
100300
100327
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
100301
100328
|
exports2.convertPosixPathToPattern = exports2.convertWindowsPathToPattern = exports2.convertPathToPattern = exports2.escapePosixPath = exports2.escapeWindowsPath = exports2.escape = exports2.removeLeadingDotSegment = exports2.makeAbsolute = exports2.unixify = void 0;
|
|
@@ -103305,9 +103332,9 @@ var require_micromatch = __commonJS({
|
|
|
103305
103332
|
}
|
|
103306
103333
|
});
|
|
103307
103334
|
|
|
103308
|
-
// ../../node_modules/
|
|
103335
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/pattern.js
|
|
103309
103336
|
var require_pattern2 = __commonJS({
|
|
103310
|
-
"../../node_modules/
|
|
103337
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/pattern.js"(exports2) {
|
|
103311
103338
|
"use strict";
|
|
103312
103339
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103313
103340
|
exports2.isAbsolute = exports2.partitionAbsoluteAndRelative = exports2.removeDuplicateSlashes = exports2.matchAny = exports2.convertPatternsToRe = exports2.makeRe = exports2.getPatternParts = exports2.expandBraceExpansion = exports2.expandPatternsWithBraceExpansion = exports2.isAffectDepthOfReadingPattern = exports2.endsWithSlashGlobStar = exports2.hasGlobStar = exports2.getBaseDirectory = exports2.isPatternRelatedToParentDirectory = exports2.getPatternsOutsideCurrentDirectory = exports2.getPatternsInsideCurrentDirectory = exports2.getPositivePatterns = exports2.getNegativePatterns = exports2.isPositivePattern = exports2.isNegativePattern = exports2.convertToNegativePattern = exports2.convertToPositivePattern = exports2.isDynamicPattern = exports2.isStaticPattern = void 0;
|
|
@@ -103470,9 +103497,9 @@ var require_pattern2 = __commonJS({
|
|
|
103470
103497
|
}
|
|
103471
103498
|
});
|
|
103472
103499
|
|
|
103473
|
-
// ../../node_modules/
|
|
103500
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/stream.js
|
|
103474
103501
|
var require_stream6 = __commonJS({
|
|
103475
|
-
"../../node_modules/
|
|
103502
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/stream.js"(exports2) {
|
|
103476
103503
|
"use strict";
|
|
103477
103504
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103478
103505
|
exports2.merge = void 0;
|
|
@@ -103493,9 +103520,9 @@ var require_stream6 = __commonJS({
|
|
|
103493
103520
|
}
|
|
103494
103521
|
});
|
|
103495
103522
|
|
|
103496
|
-
// ../../node_modules/
|
|
103523
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/string.js
|
|
103497
103524
|
var require_string2 = __commonJS({
|
|
103498
|
-
"../../node_modules/
|
|
103525
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/string.js"(exports2) {
|
|
103499
103526
|
"use strict";
|
|
103500
103527
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103501
103528
|
exports2.isEmpty = exports2.isString = void 0;
|
|
@@ -103510,9 +103537,9 @@ var require_string2 = __commonJS({
|
|
|
103510
103537
|
}
|
|
103511
103538
|
});
|
|
103512
103539
|
|
|
103513
|
-
// ../../node_modules/
|
|
103540
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/index.js
|
|
103514
103541
|
var require_utils11 = __commonJS({
|
|
103515
|
-
"../../node_modules/
|
|
103542
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/index.js"(exports2) {
|
|
103516
103543
|
"use strict";
|
|
103517
103544
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103518
103545
|
exports2.string = exports2.stream = exports2.pattern = exports2.path = exports2.fs = exports2.errno = exports2.array = void 0;
|
|
@@ -103533,9 +103560,9 @@ var require_utils11 = __commonJS({
|
|
|
103533
103560
|
}
|
|
103534
103561
|
});
|
|
103535
103562
|
|
|
103536
|
-
// ../../node_modules/
|
|
103563
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/managers/tasks.js
|
|
103537
103564
|
var require_tasks = __commonJS({
|
|
103538
|
-
"../../node_modules/
|
|
103565
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/managers/tasks.js"(exports2) {
|
|
103539
103566
|
"use strict";
|
|
103540
103567
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103541
103568
|
exports2.convertPatternGroupToTask = exports2.convertPatternGroupsToTasks = exports2.groupPatternsByBaseDirectory = exports2.getNegativePatternsAsPositive = exports2.getPositivePatterns = exports2.convertPatternsToTasks = exports2.generate = void 0;
|
|
@@ -104683,9 +104710,9 @@ var require_out3 = __commonJS({
|
|
|
104683
104710
|
}
|
|
104684
104711
|
});
|
|
104685
104712
|
|
|
104686
|
-
// ../../node_modules/
|
|
104713
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/reader.js
|
|
104687
104714
|
var require_reader2 = __commonJS({
|
|
104688
|
-
"../../node_modules/
|
|
104715
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/reader.js"(exports2) {
|
|
104689
104716
|
"use strict";
|
|
104690
104717
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104691
104718
|
var path4 = require("path");
|
|
@@ -104722,9 +104749,9 @@ var require_reader2 = __commonJS({
|
|
|
104722
104749
|
}
|
|
104723
104750
|
});
|
|
104724
104751
|
|
|
104725
|
-
// ../../node_modules/
|
|
104752
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/stream.js
|
|
104726
104753
|
var require_stream8 = __commonJS({
|
|
104727
|
-
"../../node_modules/
|
|
104754
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/stream.js"(exports2) {
|
|
104728
104755
|
"use strict";
|
|
104729
104756
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104730
104757
|
var stream_1 = require("stream");
|
|
@@ -104779,9 +104806,9 @@ var require_stream8 = __commonJS({
|
|
|
104779
104806
|
}
|
|
104780
104807
|
});
|
|
104781
104808
|
|
|
104782
|
-
// ../../node_modules/
|
|
104809
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/async.js
|
|
104783
104810
|
var require_async6 = __commonJS({
|
|
104784
|
-
"../../node_modules/
|
|
104811
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/async.js"(exports2) {
|
|
104785
104812
|
"use strict";
|
|
104786
104813
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104787
104814
|
var fsWalk = require_out3();
|
|
@@ -104818,9 +104845,9 @@ var require_async6 = __commonJS({
|
|
|
104818
104845
|
}
|
|
104819
104846
|
});
|
|
104820
104847
|
|
|
104821
|
-
// ../../node_modules/
|
|
104848
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/matchers/matcher.js
|
|
104822
104849
|
var require_matcher = __commonJS({
|
|
104823
|
-
"../../node_modules/
|
|
104850
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports2) {
|
|
104824
104851
|
"use strict";
|
|
104825
104852
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104826
104853
|
var utils = require_utils11();
|
|
@@ -104869,9 +104896,9 @@ var require_matcher = __commonJS({
|
|
|
104869
104896
|
}
|
|
104870
104897
|
});
|
|
104871
104898
|
|
|
104872
|
-
// ../../node_modules/
|
|
104899
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/matchers/partial.js
|
|
104873
104900
|
var require_partial = __commonJS({
|
|
104874
|
-
"../../node_modules/
|
|
104901
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/matchers/partial.js"(exports2) {
|
|
104875
104902
|
"use strict";
|
|
104876
104903
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104877
104904
|
var matcher_1 = require_matcher();
|
|
@@ -104906,9 +104933,9 @@ var require_partial = __commonJS({
|
|
|
104906
104933
|
}
|
|
104907
104934
|
});
|
|
104908
104935
|
|
|
104909
|
-
// ../../node_modules/
|
|
104936
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/deep.js
|
|
104910
104937
|
var require_deep = __commonJS({
|
|
104911
|
-
"../../node_modules/
|
|
104938
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/deep.js"(exports2) {
|
|
104912
104939
|
"use strict";
|
|
104913
104940
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104914
104941
|
var utils = require_utils11();
|
|
@@ -104971,9 +104998,9 @@ var require_deep = __commonJS({
|
|
|
104971
104998
|
}
|
|
104972
104999
|
});
|
|
104973
105000
|
|
|
104974
|
-
// ../../node_modules/
|
|
105001
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/entry.js
|
|
104975
105002
|
var require_entry = __commonJS({
|
|
104976
|
-
"../../node_modules/
|
|
105003
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/entry.js"(exports2) {
|
|
104977
105004
|
"use strict";
|
|
104978
105005
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104979
105006
|
var utils = require_utils11();
|
|
@@ -105059,9 +105086,9 @@ var require_entry = __commonJS({
|
|
|
105059
105086
|
}
|
|
105060
105087
|
});
|
|
105061
105088
|
|
|
105062
|
-
// ../../node_modules/
|
|
105089
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/error.js
|
|
105063
105090
|
var require_error2 = __commonJS({
|
|
105064
|
-
"../../node_modules/
|
|
105091
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/error.js"(exports2) {
|
|
105065
105092
|
"use strict";
|
|
105066
105093
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105067
105094
|
var utils = require_utils11();
|
|
@@ -105080,9 +105107,9 @@ var require_error2 = __commonJS({
|
|
|
105080
105107
|
}
|
|
105081
105108
|
});
|
|
105082
105109
|
|
|
105083
|
-
// ../../node_modules/
|
|
105110
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/transformers/entry.js
|
|
105084
105111
|
var require_entry2 = __commonJS({
|
|
105085
|
-
"../../node_modules/
|
|
105112
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/transformers/entry.js"(exports2) {
|
|
105086
105113
|
"use strict";
|
|
105087
105114
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105088
105115
|
var utils = require_utils11();
|
|
@@ -105112,9 +105139,9 @@ var require_entry2 = __commonJS({
|
|
|
105112
105139
|
}
|
|
105113
105140
|
});
|
|
105114
105141
|
|
|
105115
|
-
// ../../node_modules/
|
|
105142
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/provider.js
|
|
105116
105143
|
var require_provider = __commonJS({
|
|
105117
|
-
"../../node_modules/
|
|
105144
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/provider.js"(exports2) {
|
|
105118
105145
|
"use strict";
|
|
105119
105146
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105120
105147
|
var path4 = require("path");
|
|
@@ -105166,9 +105193,9 @@ var require_provider = __commonJS({
|
|
|
105166
105193
|
}
|
|
105167
105194
|
});
|
|
105168
105195
|
|
|
105169
|
-
// ../../node_modules/
|
|
105196
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/async.js
|
|
105170
105197
|
var require_async7 = __commonJS({
|
|
105171
|
-
"../../node_modules/
|
|
105198
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/async.js"(exports2) {
|
|
105172
105199
|
"use strict";
|
|
105173
105200
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105174
105201
|
var async_1 = require_async6();
|
|
@@ -105195,9 +105222,9 @@ var require_async7 = __commonJS({
|
|
|
105195
105222
|
}
|
|
105196
105223
|
});
|
|
105197
105224
|
|
|
105198
|
-
// ../../node_modules/
|
|
105225
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/stream.js
|
|
105199
105226
|
var require_stream9 = __commonJS({
|
|
105200
|
-
"../../node_modules/
|
|
105227
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/stream.js"(exports2) {
|
|
105201
105228
|
"use strict";
|
|
105202
105229
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105203
105230
|
var stream_1 = require("stream");
|
|
@@ -105229,9 +105256,9 @@ var require_stream9 = __commonJS({
|
|
|
105229
105256
|
}
|
|
105230
105257
|
});
|
|
105231
105258
|
|
|
105232
|
-
// ../../node_modules/
|
|
105259
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/sync.js
|
|
105233
105260
|
var require_sync5 = __commonJS({
|
|
105234
|
-
"../../node_modules/
|
|
105261
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/sync.js"(exports2) {
|
|
105235
105262
|
"use strict";
|
|
105236
105263
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105237
105264
|
var fsStat = require_out();
|
|
@@ -105277,9 +105304,9 @@ var require_sync5 = __commonJS({
|
|
|
105277
105304
|
}
|
|
105278
105305
|
});
|
|
105279
105306
|
|
|
105280
|
-
// ../../node_modules/
|
|
105307
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/sync.js
|
|
105281
105308
|
var require_sync6 = __commonJS({
|
|
105282
|
-
"../../node_modules/
|
|
105309
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/sync.js"(exports2) {
|
|
105283
105310
|
"use strict";
|
|
105284
105311
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105285
105312
|
var sync_1 = require_sync5();
|
|
@@ -105306,9 +105333,9 @@ var require_sync6 = __commonJS({
|
|
|
105306
105333
|
}
|
|
105307
105334
|
});
|
|
105308
105335
|
|
|
105309
|
-
// ../../node_modules/
|
|
105336
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/settings.js
|
|
105310
105337
|
var require_settings4 = __commonJS({
|
|
105311
|
-
"../../node_modules/
|
|
105338
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/settings.js"(exports2) {
|
|
105312
105339
|
"use strict";
|
|
105313
105340
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105314
105341
|
exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
@@ -105366,9 +105393,9 @@ var require_settings4 = __commonJS({
|
|
|
105366
105393
|
}
|
|
105367
105394
|
});
|
|
105368
105395
|
|
|
105369
|
-
// ../../node_modules/
|
|
105396
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/index.js
|
|
105370
105397
|
var require_out4 = __commonJS({
|
|
105371
|
-
"../../node_modules/
|
|
105398
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/index.js"(exports2, module2) {
|
|
105372
105399
|
"use strict";
|
|
105373
105400
|
var taskManager = require_tasks();
|
|
105374
105401
|
var async_1 = require_async7();
|
|
@@ -105572,9 +105599,9 @@ var require_dir_glob = __commonJS({
|
|
|
105572
105599
|
}
|
|
105573
105600
|
});
|
|
105574
105601
|
|
|
105575
|
-
// ../../node_modules/
|
|
105602
|
+
// ../../node_modules/mem-fs-editor/node_modules/ignore/index.js
|
|
105576
105603
|
var require_ignore = __commonJS({
|
|
105577
|
-
"../../node_modules/
|
|
105604
|
+
"../../node_modules/mem-fs-editor/node_modules/ignore/index.js"(exports2, module2) {
|
|
105578
105605
|
function makeArray(subject) {
|
|
105579
105606
|
return Array.isArray(subject) ? subject : [subject];
|
|
105580
105607
|
}
|
|
@@ -105944,9 +105971,9 @@ var require_slash = __commonJS({
|
|
|
105944
105971
|
}
|
|
105945
105972
|
});
|
|
105946
105973
|
|
|
105947
|
-
// ../../node_modules/globby/gitignore.js
|
|
105974
|
+
// ../../node_modules/mem-fs-editor/node_modules/globby/gitignore.js
|
|
105948
105975
|
var require_gitignore = __commonJS({
|
|
105949
|
-
"../../node_modules/globby/gitignore.js"(exports2, module2) {
|
|
105976
|
+
"../../node_modules/mem-fs-editor/node_modules/globby/gitignore.js"(exports2, module2) {
|
|
105950
105977
|
"use strict";
|
|
105951
105978
|
var { promisify: promisify2 } = require("util");
|
|
105952
105979
|
var fs4 = require("fs");
|
|
@@ -106041,9 +106068,9 @@ var require_gitignore = __commonJS({
|
|
|
106041
106068
|
}
|
|
106042
106069
|
});
|
|
106043
106070
|
|
|
106044
|
-
// ../../node_modules/globby/stream-utils.js
|
|
106071
|
+
// ../../node_modules/mem-fs-editor/node_modules/globby/stream-utils.js
|
|
106045
106072
|
var require_stream_utils = __commonJS({
|
|
106046
|
-
"../../node_modules/globby/stream-utils.js"(exports2, module2) {
|
|
106073
|
+
"../../node_modules/mem-fs-editor/node_modules/globby/stream-utils.js"(exports2, module2) {
|
|
106047
106074
|
"use strict";
|
|
106048
106075
|
var { Transform: Transform2 } = require("stream");
|
|
106049
106076
|
var ObjectTransform = class extends Transform2 {
|
|
@@ -106085,9 +106112,9 @@ var require_stream_utils = __commonJS({
|
|
|
106085
106112
|
}
|
|
106086
106113
|
});
|
|
106087
106114
|
|
|
106088
|
-
// ../../node_modules/globby/index.js
|
|
106115
|
+
// ../../node_modules/mem-fs-editor/node_modules/globby/index.js
|
|
106089
106116
|
var require_globby = __commonJS({
|
|
106090
|
-
"../../node_modules/globby/index.js"(exports2, module2) {
|
|
106117
|
+
"../../node_modules/mem-fs-editor/node_modules/globby/index.js"(exports2, module2) {
|
|
106091
106118
|
"use strict";
|
|
106092
106119
|
var fs4 = require("fs");
|
|
106093
106120
|
var arrayUnion = require_array_union();
|
|
@@ -113840,9 +113867,9 @@ var require_read3 = __commonJS({
|
|
|
113840
113867
|
}
|
|
113841
113868
|
});
|
|
113842
113869
|
|
|
113843
|
-
// ../../node_modules/vscode-languageserver-textdocument/lib/umd/main.js
|
|
113870
|
+
// ../../node_modules/@sap-ux/i18n/node_modules/vscode-languageserver-textdocument/lib/umd/main.js
|
|
113844
113871
|
var require_main = __commonJS({
|
|
113845
|
-
"../../node_modules/vscode-languageserver-textdocument/lib/umd/main.js"(exports2, module2) {
|
|
113872
|
+
"../../node_modules/@sap-ux/i18n/node_modules/vscode-languageserver-textdocument/lib/umd/main.js"(exports2, module2) {
|
|
113846
113873
|
var __spreadArray9 = exports2 && exports2.__spreadArray || function(to, from, pack) {
|
|
113847
113874
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
113848
113875
|
if (ar || !(i in from)) {
|
|
@@ -144424,7 +144451,7 @@ var require_package8 = __commonJS({
|
|
|
144424
144451
|
"../../node_modules/@sap-ux/telemetry/package.json"(exports2, module2) {
|
|
144425
144452
|
module2.exports = {
|
|
144426
144453
|
name: "@sap-ux/telemetry",
|
|
144427
|
-
version: "0.5.
|
|
144454
|
+
version: "0.5.77",
|
|
144428
144455
|
description: "Library for sending usage telemetry data",
|
|
144429
144456
|
repository: {
|
|
144430
144457
|
type: "git",
|
|
@@ -144443,9 +144470,9 @@ var require_package8 = __commonJS({
|
|
|
144443
144470
|
"performance-now": "2.1.0",
|
|
144444
144471
|
yaml: "2.3.3",
|
|
144445
144472
|
"@sap-ux/store": "1.0.0",
|
|
144473
|
+
"@sap-ux/project-access": "1.29.21",
|
|
144446
144474
|
"@sap-ux/btp-utils": "1.0.3",
|
|
144447
|
-
"@sap-ux/ui5-config": "0.
|
|
144448
|
-
"@sap-ux/project-access": "1.29.18",
|
|
144475
|
+
"@sap-ux/ui5-config": "0.27.2",
|
|
144449
144476
|
"@sap-ux/logger": "0.6.0"
|
|
144450
144477
|
},
|
|
144451
144478
|
devDependencies: {
|
|
@@ -162397,6 +162424,30 @@ var require_ui5_version_fallback = __commonJS({
|
|
|
162397
162424
|
skipped: "Skipped"
|
|
162398
162425
|
};
|
|
162399
162426
|
exports2.ui5VersionFallbacks = [
|
|
162427
|
+
{
|
|
162428
|
+
version: "1.135.*",
|
|
162429
|
+
support: exports2.supportState.maintenance
|
|
162430
|
+
},
|
|
162431
|
+
{
|
|
162432
|
+
version: "1.134.*",
|
|
162433
|
+
support: exports2.supportState.maintenance
|
|
162434
|
+
},
|
|
162435
|
+
{
|
|
162436
|
+
version: "1.133.*",
|
|
162437
|
+
support: exports2.supportState.maintenance
|
|
162438
|
+
},
|
|
162439
|
+
{
|
|
162440
|
+
version: "1.132.*",
|
|
162441
|
+
support: exports2.supportState.outOfMaintenance
|
|
162442
|
+
},
|
|
162443
|
+
{
|
|
162444
|
+
version: "1.131.*",
|
|
162445
|
+
support: exports2.supportState.outOfMaintenance
|
|
162446
|
+
},
|
|
162447
|
+
{
|
|
162448
|
+
version: "1.130.*",
|
|
162449
|
+
support: exports2.supportState.maintenance
|
|
162450
|
+
},
|
|
162400
162451
|
{
|
|
162401
162452
|
version: "1.129.*",
|
|
162402
162453
|
support: exports2.supportState.maintenance
|
|
@@ -163012,19 +163063,24 @@ var require_ui5_theme_info = __commonJS({
|
|
|
163012
163063
|
"../../node_modules/@sap-ux/ui5-info/dist/ui5-theme-info.js"(exports2) {
|
|
163013
163064
|
"use strict";
|
|
163014
163065
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
163066
|
+
exports2.ui5Themes = void 0;
|
|
163015
163067
|
exports2.getDefaultUI5Theme = getDefaultUI5Theme;
|
|
163016
163068
|
exports2.getUi5Themes = getUi5Themes;
|
|
163017
163069
|
var constants_1 = require_constants12();
|
|
163018
163070
|
var semver_1 = require_semver2();
|
|
163019
163071
|
var MIN_UI5_VER_DARK_THEME = "1.72.0";
|
|
163020
163072
|
var MIN_UI5_VER_HORIZON_THEME = "1.102.0";
|
|
163021
|
-
var
|
|
163073
|
+
var MAX_UI5_VER_BELIZE_THEME = "1.136.0";
|
|
163074
|
+
var MIN_UI5_VER_BELIZE_DEPRECATED = "1.120.0";
|
|
163075
|
+
exports2.ui5Themes = {
|
|
163022
163076
|
[
|
|
163023
163077
|
"sap_belize"
|
|
163024
163078
|
/* ui5ThemeIds.SAP_BELIZE */
|
|
163025
163079
|
]: {
|
|
163026
163080
|
id: "sap_belize",
|
|
163027
|
-
label: "Belize"
|
|
163081
|
+
label: "Belize",
|
|
163082
|
+
supportUntil: MAX_UI5_VER_BELIZE_THEME,
|
|
163083
|
+
deprecateSince: MIN_UI5_VER_BELIZE_DEPRECATED
|
|
163028
163084
|
},
|
|
163029
163085
|
[
|
|
163030
163086
|
"sap_fiori_3"
|
|
@@ -163039,7 +163095,7 @@ var require_ui5_theme_info = __commonJS({
|
|
|
163039
163095
|
]: {
|
|
163040
163096
|
id: "sap_fiori_3_dark",
|
|
163041
163097
|
label: "Quartz Dark",
|
|
163042
|
-
|
|
163098
|
+
supportSince: MIN_UI5_VER_DARK_THEME
|
|
163043
163099
|
},
|
|
163044
163100
|
[
|
|
163045
163101
|
"sap_horizon"
|
|
@@ -163047,7 +163103,7 @@ var require_ui5_theme_info = __commonJS({
|
|
|
163047
163103
|
]: {
|
|
163048
163104
|
id: "sap_horizon",
|
|
163049
163105
|
label: "Morning Horizon",
|
|
163050
|
-
|
|
163106
|
+
supportSince: MIN_UI5_VER_HORIZON_THEME
|
|
163051
163107
|
},
|
|
163052
163108
|
[
|
|
163053
163109
|
"sap_horizon_dark"
|
|
@@ -163055,7 +163111,7 @@ var require_ui5_theme_info = __commonJS({
|
|
|
163055
163111
|
]: {
|
|
163056
163112
|
id: "sap_horizon_dark",
|
|
163057
163113
|
label: "Evening Horizon",
|
|
163058
|
-
|
|
163114
|
+
supportSince: MIN_UI5_VER_HORIZON_THEME
|
|
163059
163115
|
}
|
|
163060
163116
|
};
|
|
163061
163117
|
function getDefaultUI5Theme(ui5Version) {
|
|
@@ -163067,13 +163123,28 @@ var require_ui5_theme_info = __commonJS({
|
|
|
163067
163123
|
}
|
|
163068
163124
|
return "sap_horizon";
|
|
163069
163125
|
}
|
|
163126
|
+
function isSupported2(theme, cleanSemVer) {
|
|
163127
|
+
const isSupportedSince = theme.supportSince ? (0, semver_1.gte)(cleanSemVer, theme.supportSince) : true;
|
|
163128
|
+
const isSupportedUntil = theme.supportUntil ? (0, semver_1.lt)(cleanSemVer, theme.supportUntil) : true;
|
|
163129
|
+
return isSupportedSince && isSupportedUntil;
|
|
163130
|
+
}
|
|
163070
163131
|
function getUi5Themes(ui5Version = constants_1.defaultVersion) {
|
|
163071
163132
|
const ui5VersionSince = ui5Version.replace("snapshot-", "");
|
|
163072
163133
|
const cleanSemVer = (0, semver_1.coerce)(ui5VersionSince);
|
|
163073
|
-
if (cleanSemVer) {
|
|
163074
|
-
return Object.values(ui5Themes)
|
|
163134
|
+
if (!cleanSemVer) {
|
|
163135
|
+
return Object.values(exports2.ui5Themes);
|
|
163136
|
+
}
|
|
163137
|
+
const filteredThemes = {};
|
|
163138
|
+
for (const [id, theme] of Object.entries(exports2.ui5Themes)) {
|
|
163139
|
+
if (isSupported2(theme, cleanSemVer)) {
|
|
163140
|
+
const isDeprecated = theme.deprecateSince && (0, semver_1.gte)(cleanSemVer, theme.deprecateSince);
|
|
163141
|
+
filteredThemes[id] = {
|
|
163142
|
+
...theme,
|
|
163143
|
+
label: isDeprecated ? `${theme.label} (deprecated)` : theme.label
|
|
163144
|
+
};
|
|
163145
|
+
}
|
|
163075
163146
|
}
|
|
163076
|
-
return Object.values(
|
|
163147
|
+
return Object.values(filteredThemes);
|
|
163077
163148
|
}
|
|
163078
163149
|
}
|
|
163079
163150
|
});
|
|
@@ -163117,7 +163188,7 @@ var require_dist22 = __commonJS({
|
|
|
163117
163188
|
"../../node_modules/@sap-ux/ui5-info/dist/index.js"(exports2) {
|
|
163118
163189
|
"use strict";
|
|
163119
163190
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
163120
|
-
exports2.getSapSystemUI5Version = exports2.getUi5Themes = exports2.getDefaultUI5Theme = exports2.supportedUi5VersionFallbacks = exports2.getLatestUI5Version = exports2.getUI5Versions = exports2.defaultMinUi5Version = exports2.ui5VersionRequestInfo = exports2.latestVersionString = exports2.minUI5VersionForLocalDev = exports2.minUi5VersionV4Template = exports2.minUi5VersionSupportingCodeAssist = exports2.defaultVersion = void 0;
|
|
163191
|
+
exports2.getSapSystemUI5Version = exports2.ui5Themes = exports2.getUi5Themes = exports2.getDefaultUI5Theme = exports2.supportedUi5VersionFallbacks = exports2.getLatestUI5Version = exports2.getUI5Versions = exports2.defaultMinUi5Version = exports2.ui5VersionRequestInfo = exports2.latestVersionString = exports2.minUI5VersionForLocalDev = exports2.minUi5VersionV4Template = exports2.minUi5VersionSupportingCodeAssist = exports2.defaultVersion = void 0;
|
|
163121
163192
|
var constants_1 = require_constants12();
|
|
163122
163193
|
Object.defineProperty(exports2, "defaultVersion", { enumerable: true, get: function() {
|
|
163123
163194
|
return constants_1.defaultVersion;
|
|
@@ -163158,6 +163229,9 @@ var require_dist22 = __commonJS({
|
|
|
163158
163229
|
Object.defineProperty(exports2, "getUi5Themes", { enumerable: true, get: function() {
|
|
163159
163230
|
return ui5_theme_info_1.getUi5Themes;
|
|
163160
163231
|
} });
|
|
163232
|
+
Object.defineProperty(exports2, "ui5Themes", { enumerable: true, get: function() {
|
|
163233
|
+
return ui5_theme_info_1.ui5Themes;
|
|
163234
|
+
} });
|
|
163161
163235
|
var ui5_version_backend_1 = require_ui5_version_backend();
|
|
163162
163236
|
Object.defineProperty(exports2, "getSapSystemUI5Version", { enumerable: true, get: function() {
|
|
163163
163237
|
return ui5_version_backend_1.getSapSystemUI5Version;
|
|
@@ -168578,6 +168652,18 @@ var require_project_input_validator_i18n = __commonJS({
|
|
|
168578
168652
|
invalidValueForSpecialChars: "Input must contain only Latin alphanumeric characters or the following symbols: '-','_','$' and '.'",
|
|
168579
168653
|
maxLength: "Maximum length: {{maxLength}} characters",
|
|
168580
168654
|
supportedFormats: "Only alphanumeric and '{{allowedCharacters}}' characters are allowed"
|
|
168655
|
+
},
|
|
168656
|
+
adp: {
|
|
168657
|
+
projectNameUppercaseError: "The name cannot contain uppercase letters.",
|
|
168658
|
+
projectNameLengthErrorExt: "The name cannot contain more than 61 characters or end with the word 'component'.",
|
|
168659
|
+
projectNameValidationErrorExt: "The name must contain only latin alphanumeric characters. Different parts can be separated by a period and every part must start with a letter.",
|
|
168660
|
+
projectNameLengthErrorInt: "The name cannot start with the word 'customer', or contain more than 61 characters, or end with the word 'component'.",
|
|
168661
|
+
projectNameValidationErrorInt: "The name must contain only latin alphanumeric characters and it must have at least two parts. The different parts must be separated by a period and every part must start with a letter.",
|
|
168662
|
+
duplicatedProjectName: "A project with this name already exists in your workspace. Please choose another name.",
|
|
168663
|
+
differentNamespaceThanProjectName: "The namespace must be the same as the project name.",
|
|
168664
|
+
namespaceSameAsProjectNameError: "The namespace must be the same as the project name.",
|
|
168665
|
+
namespaceLengthError: "The namespace cannot contain more than 61 characters or end with the word 'component'.",
|
|
168666
|
+
namespaceValidationError: "The namespace must contain only latin alphanumeric characters. Different parts can be separated by a period and every part must start with a letter."
|
|
168581
168667
|
}
|
|
168582
168668
|
};
|
|
168583
168669
|
}
|
|
@@ -169111,6 +169197,15 @@ var require_validators4 = __commonJS({
|
|
|
169111
169197
|
exports2.hasContentDuplication = hasContentDuplication;
|
|
169112
169198
|
exports2.hasCustomerPrefix = hasCustomerPrefix;
|
|
169113
169199
|
exports2.isDataSourceURI = isDataSourceURI;
|
|
169200
|
+
exports2.validateProjectName = validateProjectName;
|
|
169201
|
+
exports2.validateProjectNameExternal = validateProjectNameExternal;
|
|
169202
|
+
exports2.validateProjectNameInternal = validateProjectNameInternal;
|
|
169203
|
+
exports2.validateDuplicateProjectName = validateDuplicateProjectName;
|
|
169204
|
+
exports2.validateNamespaceAdp = validateNamespaceAdp;
|
|
169205
|
+
var path_1 = require("path");
|
|
169206
|
+
var fs_1 = require("fs");
|
|
169207
|
+
var i18n_1 = require_i18n5();
|
|
169208
|
+
var validators_1 = require_validators3();
|
|
169114
169209
|
function hasContentDuplication(value, propertyName, changeFiles) {
|
|
169115
169210
|
return changeFiles.some(({ content }) => {
|
|
169116
169211
|
const contentProperty = content[propertyName];
|
|
@@ -169123,6 +169218,67 @@ var require_validators4 = __commonJS({
|
|
|
169123
169218
|
function isDataSourceURI(uri) {
|
|
169124
169219
|
return /^(?!.*\/\/)\/([^\s]*)\/$/.test(uri);
|
|
169125
169220
|
}
|
|
169221
|
+
var projectNamePattern = /^(\w\.\w|[a-zA-Z0-9]){1,61}$/;
|
|
169222
|
+
function validateProjectName(value, destinationPath, isCustomerBase) {
|
|
169223
|
+
const validationResult = (0, validators_1.validateEmptyString)(value);
|
|
169224
|
+
if (typeof validationResult === "string") {
|
|
169225
|
+
return validationResult;
|
|
169226
|
+
}
|
|
169227
|
+
if (/[A-Z]/.test(value)) {
|
|
169228
|
+
return (0, i18n_1.t)("adp.projectNameUppercaseError");
|
|
169229
|
+
}
|
|
169230
|
+
if (!isCustomerBase) {
|
|
169231
|
+
return validateProjectNameInternal(value, destinationPath);
|
|
169232
|
+
} else {
|
|
169233
|
+
return validateProjectNameExternal(value, destinationPath);
|
|
169234
|
+
}
|
|
169235
|
+
}
|
|
169236
|
+
function validateProjectNameExternal(value, destinationPath) {
|
|
169237
|
+
if (value.length > 61 || value.toLocaleLowerCase().endsWith("component")) {
|
|
169238
|
+
return (0, i18n_1.t)("adp.projectNameLengthErrorExt");
|
|
169239
|
+
}
|
|
169240
|
+
const projectNamePattern2 = /^(\w\.\w|[a-zA-Z0-9]){1,61}$/;
|
|
169241
|
+
if (!projectNamePattern2.test(value)) {
|
|
169242
|
+
return (0, i18n_1.t)("adp.projectNameValidationErrorExt");
|
|
169243
|
+
}
|
|
169244
|
+
return validateDuplicateProjectName(value, destinationPath);
|
|
169245
|
+
}
|
|
169246
|
+
function validateProjectNameInternal(value, destinationPath) {
|
|
169247
|
+
if (value.toLowerCase().startsWith("customer") || value.length > 61 || value.toLocaleLowerCase().endsWith("component")) {
|
|
169248
|
+
return (0, i18n_1.t)("adp.projectNameLengthErrorInt");
|
|
169249
|
+
}
|
|
169250
|
+
if (!projectNamePattern.test(value)) {
|
|
169251
|
+
return (0, i18n_1.t)("adp.projectNameValidationErrorInt");
|
|
169252
|
+
}
|
|
169253
|
+
return validateDuplicateProjectName(value, destinationPath);
|
|
169254
|
+
}
|
|
169255
|
+
function validateDuplicateProjectName(value, destinationPath) {
|
|
169256
|
+
if ((0, fs_1.existsSync)((0, path_1.join)(destinationPath, value))) {
|
|
169257
|
+
return (0, i18n_1.t)("adp.duplicatedProjectName");
|
|
169258
|
+
}
|
|
169259
|
+
return true;
|
|
169260
|
+
}
|
|
169261
|
+
function validateNamespaceAdp(namespace, projectName, isCustomerBase) {
|
|
169262
|
+
const validationResult = (0, validators_1.validateEmptyString)(namespace);
|
|
169263
|
+
if (typeof validationResult === "string") {
|
|
169264
|
+
return validationResult;
|
|
169265
|
+
}
|
|
169266
|
+
if (!isCustomerBase) {
|
|
169267
|
+
if (namespace !== projectName) {
|
|
169268
|
+
return (0, i18n_1.t)("adp.differentNamespaceThanProjectName");
|
|
169269
|
+
}
|
|
169270
|
+
} else if (namespace.toLowerCase().startsWith("customer.") !== true) {
|
|
169271
|
+
return (0, i18n_1.t)("adp.namespaceSameAsProjectNameError");
|
|
169272
|
+
} else {
|
|
169273
|
+
namespace = namespace.slice("customer.".length, namespace.length);
|
|
169274
|
+
}
|
|
169275
|
+
if (namespace.length > 61 || namespace.toLowerCase().endsWith("component") === true) {
|
|
169276
|
+
return (0, i18n_1.t)("adp.namespaceLengthError");
|
|
169277
|
+
} else if (namespace !== "" && projectNamePattern.test(namespace) === false) {
|
|
169278
|
+
return (0, i18n_1.t)("adp.namespaceValidationError");
|
|
169279
|
+
}
|
|
169280
|
+
return true;
|
|
169281
|
+
}
|
|
169126
169282
|
}
|
|
169127
169283
|
});
|
|
169128
169284
|
|
|
@@ -175783,7 +175939,7 @@ async function updateTransportDeployConfig(transport, config, log4 = console) {
|
|
|
175783
175939
|
var package_default = {
|
|
175784
175940
|
name: "@sap/ux-ui5-tooling",
|
|
175785
175941
|
displayName: "SAP Fiori Tools \u2013 UI5 Tooling",
|
|
175786
|
-
version: "1.17.
|
|
175942
|
+
version: "1.17.5",
|
|
175787
175943
|
description: "SAP Fiori Tools \u2013 UI5 Tooling",
|
|
175788
175944
|
publisher: "SAPSE",
|
|
175789
175945
|
license: "SEE LICENSE IN LICENSE",
|
|
@@ -175818,7 +175974,7 @@ var package_default = {
|
|
|
175818
175974
|
madge: "madge --warning --circular --extensions ts ./"
|
|
175819
175975
|
},
|
|
175820
175976
|
dependencies: {
|
|
175821
|
-
"@sap-ux/preview-middleware": "0.19.
|
|
175977
|
+
"@sap-ux/preview-middleware": "0.19.38",
|
|
175822
175978
|
"@ui5/fs": "3.0.4",
|
|
175823
175979
|
"connect-livereload": "0.6.1",
|
|
175824
175980
|
debug: "4.3.7",
|
|
@@ -175833,28 +175989,28 @@ var package_default = {
|
|
|
175833
175989
|
},
|
|
175834
175990
|
devDependencies: {
|
|
175835
175991
|
"@playwright/test": "1.51.1",
|
|
175836
|
-
"@sap-ux/adp-tooling": "0.13.
|
|
175837
|
-
"@sap-ux/axios-extension": "1.20.
|
|
175838
|
-
"@sap-ux/backend-proxy-middleware": "0.8.
|
|
175992
|
+
"@sap-ux/adp-tooling": "0.13.38",
|
|
175993
|
+
"@sap-ux/axios-extension": "1.20.1",
|
|
175994
|
+
"@sap-ux/backend-proxy-middleware": "0.8.42",
|
|
175839
175995
|
"@sap-ux/btp-utils": "1.0.3",
|
|
175840
|
-
"@sap-ux/deploy-tooling": "0.15.
|
|
175996
|
+
"@sap-ux/deploy-tooling": "0.15.58",
|
|
175841
175997
|
"@sap-ux/feature-toggle": "0.2.3",
|
|
175842
|
-
"@sap-ux/guided-answers-helper": "0.2.
|
|
175998
|
+
"@sap-ux/guided-answers-helper": "0.2.2",
|
|
175843
175999
|
"@sap-ux/logger": "0.6.0",
|
|
175844
|
-
"@sap-ux/project-access": "1.29.
|
|
176000
|
+
"@sap-ux/project-access": "1.29.21",
|
|
175845
176001
|
"@sap-ux/reload-middleware": "0.2.21",
|
|
175846
176002
|
"@sap-ux/serve-static-middleware": "0.2.3",
|
|
175847
176003
|
"@sap-ux/store": "1.0.0",
|
|
175848
|
-
"@sap-ux/telemetry": "0.5.
|
|
175849
|
-
"@sap-ux/ui5-config": "0.
|
|
175850
|
-
"@sap-ux/ui5-info": "0.
|
|
175851
|
-
"@sap-ux/ui5-proxy-middleware": "1.4.
|
|
175852
|
-
"@sap/ux-app-templates": "1.17.
|
|
176004
|
+
"@sap-ux/telemetry": "0.5.77",
|
|
176005
|
+
"@sap-ux/ui5-config": "0.27.2",
|
|
176006
|
+
"@sap-ux/ui5-info": "0.10.1",
|
|
176007
|
+
"@sap-ux/ui5-proxy-middleware": "1.4.26",
|
|
176008
|
+
"@sap/ux-app-templates": "1.17.5",
|
|
175853
176009
|
"@types/fs-extra": "11.0.4",
|
|
175854
176010
|
"@types/jest-dev-server": "5.0.3",
|
|
175855
176011
|
"@types/marked": "4.0.1",
|
|
175856
176012
|
"@types/prompts": "2.0.14",
|
|
175857
|
-
"@types/supertest": "6.0.
|
|
176013
|
+
"@types/supertest": "6.0.3",
|
|
175858
176014
|
"@types/yazl": "2.4.2",
|
|
175859
176015
|
"async-retry": "1.3.1",
|
|
175860
176016
|
axios: "1.8.3",
|
|
@@ -175874,7 +176030,7 @@ var package_default = {
|
|
|
175874
176030
|
portfinder: "1.0.32",
|
|
175875
176031
|
prompts: "2.4.2",
|
|
175876
176032
|
"serve-static": "1.16.2",
|
|
175877
|
-
supertest: "
|
|
176033
|
+
supertest: "7.1.0",
|
|
175878
176034
|
"tree-kill": "1.2.2",
|
|
175879
176035
|
typescript: "5.8.2",
|
|
175880
176036
|
"wait-for-expect": "3.0.2",
|