@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
package/dist/cli/index.js
CHANGED
|
@@ -37530,7 +37530,11 @@ var require_constants2 = __commonJS({
|
|
|
37530
37530
|
Ui5LocalYaml: "ui5-local.yaml",
|
|
37531
37531
|
Ui5MockYaml: "ui5-mock.yaml",
|
|
37532
37532
|
UI5DeployYaml: "ui5-deploy.yaml",
|
|
37533
|
-
PackageLock: "package-lock.json"
|
|
37533
|
+
PackageLock: "package-lock.json",
|
|
37534
|
+
XSAppJson: "xs-app.json",
|
|
37535
|
+
XSSecurityJson: "xs-security.json",
|
|
37536
|
+
DotGitIgnore: ".gitignore",
|
|
37537
|
+
MtaExtYaml: "mta-ext.mtaext"
|
|
37534
37538
|
};
|
|
37535
37539
|
exports2.DirName = {
|
|
37536
37540
|
Changes: "changes",
|
|
@@ -38154,15 +38158,25 @@ var require_module_loader = __commonJS({
|
|
|
38154
38158
|
} : function(o, v) {
|
|
38155
38159
|
o["default"] = v;
|
|
38156
38160
|
});
|
|
38157
|
-
var __importStar = exports2 && exports2.__importStar || function(
|
|
38158
|
-
|
|
38159
|
-
|
|
38160
|
-
|
|
38161
|
-
|
|
38162
|
-
|
|
38163
|
-
|
|
38164
|
-
|
|
38165
|
-
|
|
38161
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
38162
|
+
var ownKeys = function(o) {
|
|
38163
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
38164
|
+
var ar = [];
|
|
38165
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
38166
|
+
return ar;
|
|
38167
|
+
};
|
|
38168
|
+
return ownKeys(o);
|
|
38169
|
+
};
|
|
38170
|
+
return function(mod) {
|
|
38171
|
+
if (mod && mod.__esModule) return mod;
|
|
38172
|
+
var result2 = {};
|
|
38173
|
+
if (mod != null) {
|
|
38174
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result2, mod, k[i]);
|
|
38175
|
+
}
|
|
38176
|
+
__setModuleDefault(result2, mod);
|
|
38177
|
+
return result2;
|
|
38178
|
+
};
|
|
38179
|
+
}();
|
|
38166
38180
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
38167
38181
|
exports2.getModulePath = getModulePath;
|
|
38168
38182
|
exports2.loadModuleFromProject = loadModuleFromProject;
|
|
@@ -40299,15 +40313,26 @@ var require_middlewares = __commonJS({
|
|
|
40299
40313
|
}
|
|
40300
40314
|
};
|
|
40301
40315
|
}
|
|
40302
|
-
function getPreviewMiddlewareConfig(appId,
|
|
40303
|
-
|
|
40316
|
+
function getPreviewMiddlewareConfig({ ui5Theme, appId, flpAction, localStartFile }) {
|
|
40317
|
+
const fioriPreviewConfig = {
|
|
40304
40318
|
name: "fiori-tools-preview",
|
|
40305
40319
|
afterMiddleware: "fiori-tools-appreload",
|
|
40306
40320
|
configuration: {
|
|
40307
|
-
|
|
40308
|
-
|
|
40321
|
+
flp: {
|
|
40322
|
+
theme: ui5Theme
|
|
40323
|
+
}
|
|
40309
40324
|
}
|
|
40310
40325
|
};
|
|
40326
|
+
if (localStartFile) {
|
|
40327
|
+
fioriPreviewConfig.configuration.flp.path = localStartFile;
|
|
40328
|
+
}
|
|
40329
|
+
if (appId && flpAction) {
|
|
40330
|
+
fioriPreviewConfig.configuration.flp.intent = {
|
|
40331
|
+
object: appId.replace(/[._-]/g, ""),
|
|
40332
|
+
action: flpAction
|
|
40333
|
+
};
|
|
40334
|
+
}
|
|
40335
|
+
return fioriPreviewConfig;
|
|
40311
40336
|
}
|
|
40312
40337
|
function getBackendComments(backend, index2) {
|
|
40313
40338
|
const comment = [];
|
|
@@ -49810,14 +49835,17 @@ var require_ui5config = __commonJS({
|
|
|
49810
49835
|
* Adds the Fiori Tools preview middleware configuration to the UI5 server configuration.
|
|
49811
49836
|
* This middleware is used to preview the Fiori application with the specified UI5 theme.
|
|
49812
49837
|
*
|
|
49813
|
-
* @param
|
|
49814
|
-
* @param {string} ui5Theme - The UI5 theme to be used.
|
|
49838
|
+
* @param previewMiddlewareOpts - options for configuring the fiori tools preview middleware.
|
|
49839
|
+
* @param {string} previewMiddlewareOpts.ui5Theme - The UI5 theme to be used.
|
|
49840
|
+
* @param {string} previewMiddlewareOpts.appId - The ID of the application for which the preview middleware is configured.
|
|
49841
|
+
* @param {string} previewMiddlewareOpts.flpAction - The FLP action to be used for the preview.
|
|
49842
|
+
* @param {string} [previewMiddlewareOpts.localStartFile] - The local start file to be used for the preview.
|
|
49815
49843
|
* @returns {UI5Config} The updated UI5 configuration object.
|
|
49816
49844
|
*/
|
|
49817
|
-
addFioriToolsPreviewMiddleware(appId, ui5Theme) {
|
|
49845
|
+
addFioriToolsPreviewMiddleware({ appId, ui5Theme, flpAction, localStartFile }) {
|
|
49818
49846
|
this.document.appendTo({
|
|
49819
49847
|
path: "server.customMiddleware",
|
|
49820
|
-
value: (0, middlewares_1.getPreviewMiddlewareConfig)(appId,
|
|
49848
|
+
value: (0, middlewares_1.getPreviewMiddlewareConfig)({ ui5Theme, appId, flpAction, localStartFile })
|
|
49821
49849
|
});
|
|
49822
49850
|
return this;
|
|
49823
49851
|
}
|
|
@@ -50090,17 +50118,6 @@ var require_ui5config = __commonJS({
|
|
|
50090
50118
|
path: "builder.resources.excludes",
|
|
50091
50119
|
value: "/localService/**"
|
|
50092
50120
|
});
|
|
50093
|
-
this.document.appendTo({
|
|
50094
|
-
path: "builder.customTasks",
|
|
50095
|
-
value: {
|
|
50096
|
-
name: "webide-extension-task-updateManifestJson",
|
|
50097
|
-
afterTask: "replaceVersion",
|
|
50098
|
-
configuration: {
|
|
50099
|
-
appFolder: "webapp",
|
|
50100
|
-
destDir: "dist"
|
|
50101
|
-
}
|
|
50102
|
-
}
|
|
50103
|
-
});
|
|
50104
50121
|
this.document.appendTo({
|
|
50105
50122
|
path: "builder.customTasks",
|
|
50106
50123
|
value: {
|
|
@@ -50108,6 +50125,7 @@ var require_ui5config = __commonJS({
|
|
|
50108
50125
|
afterTask: "generateCachebusterInfo",
|
|
50109
50126
|
configuration: {
|
|
50110
50127
|
archiveName,
|
|
50128
|
+
relativePaths: true,
|
|
50111
50129
|
additionalFiles: ["xs-app.json"]
|
|
50112
50130
|
}
|
|
50113
50131
|
}
|
|
@@ -50436,7 +50454,7 @@ var require_dist4 = __commonJS({
|
|
|
50436
50454
|
"../../node_modules/@sap-ux/ui5-config/dist/index.js"(exports2) {
|
|
50437
50455
|
"use strict";
|
|
50438
50456
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
50439
|
-
exports2.YAMLError = exports2.yamlErrorCode = exports2.replaceEnvVariables = exports2.getTypesPackage = exports2.getTypesVersion = exports2.getEsmTypesVersion = exports2.mergeObjects = exports2.UI5Config = void 0;
|
|
50457
|
+
exports2.fioriToolsProxy = exports2.YAMLError = exports2.yamlErrorCode = exports2.replaceEnvVariables = exports2.getTypesPackage = exports2.getTypesVersion = exports2.getEsmTypesVersion = exports2.mergeObjects = exports2.UI5Config = void 0;
|
|
50440
50458
|
var ui5config_1 = require_ui5config();
|
|
50441
50459
|
Object.defineProperty(exports2, "UI5Config", { enumerable: true, get: function() {
|
|
50442
50460
|
return ui5config_1.UI5Config;
|
|
@@ -50464,6 +50482,10 @@ var require_dist4 = __commonJS({
|
|
|
50464
50482
|
Object.defineProperty(exports2, "YAMLError", { enumerable: true, get: function() {
|
|
50465
50483
|
return yaml_1.YAMLError;
|
|
50466
50484
|
} });
|
|
50485
|
+
var constants_1 = require_constants3();
|
|
50486
|
+
Object.defineProperty(exports2, "fioriToolsProxy", { enumerable: true, get: function() {
|
|
50487
|
+
return constants_1.fioriToolsProxy;
|
|
50488
|
+
} });
|
|
50467
50489
|
}
|
|
50468
50490
|
});
|
|
50469
50491
|
|
|
@@ -55027,9 +55049,9 @@ var require_merge22 = __commonJS({
|
|
|
55027
55049
|
}
|
|
55028
55050
|
});
|
|
55029
55051
|
|
|
55030
|
-
// ../../node_modules/
|
|
55052
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/array.js
|
|
55031
55053
|
var require_array = __commonJS({
|
|
55032
|
-
"../../node_modules/
|
|
55054
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/array.js"(exports2) {
|
|
55033
55055
|
"use strict";
|
|
55034
55056
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55035
55057
|
exports2.splitWhen = exports2.flatten = void 0;
|
|
@@ -55054,9 +55076,9 @@ var require_array = __commonJS({
|
|
|
55054
55076
|
}
|
|
55055
55077
|
});
|
|
55056
55078
|
|
|
55057
|
-
// ../../node_modules/
|
|
55079
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/errno.js
|
|
55058
55080
|
var require_errno = __commonJS({
|
|
55059
|
-
"../../node_modules/
|
|
55081
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/errno.js"(exports2) {
|
|
55060
55082
|
"use strict";
|
|
55061
55083
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55062
55084
|
exports2.isEnoentCodeError = void 0;
|
|
@@ -55067,9 +55089,9 @@ var require_errno = __commonJS({
|
|
|
55067
55089
|
}
|
|
55068
55090
|
});
|
|
55069
55091
|
|
|
55070
|
-
// ../../node_modules/
|
|
55092
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/fs.js
|
|
55071
55093
|
var require_fs = __commonJS({
|
|
55072
|
-
"../../node_modules/
|
|
55094
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/fs.js"(exports2) {
|
|
55073
55095
|
"use strict";
|
|
55074
55096
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55075
55097
|
exports2.createDirentFromStats = void 0;
|
|
@@ -55092,9 +55114,9 @@ var require_fs = __commonJS({
|
|
|
55092
55114
|
}
|
|
55093
55115
|
});
|
|
55094
55116
|
|
|
55095
|
-
// ../../node_modules/
|
|
55117
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/path.js
|
|
55096
55118
|
var require_path = __commonJS({
|
|
55097
|
-
"../../node_modules/
|
|
55119
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/path.js"(exports2) {
|
|
55098
55120
|
"use strict";
|
|
55099
55121
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
55100
55122
|
exports2.convertPosixPathToPattern = exports2.convertWindowsPathToPattern = exports2.convertPathToPattern = exports2.escapePosixPath = exports2.escapeWindowsPath = exports2.escape = exports2.removeLeadingDotSegment = exports2.makeAbsolute = exports2.unixify = void 0;
|
|
@@ -58104,9 +58126,9 @@ var require_micromatch = __commonJS({
|
|
|
58104
58126
|
}
|
|
58105
58127
|
});
|
|
58106
58128
|
|
|
58107
|
-
// ../../node_modules/
|
|
58129
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/pattern.js
|
|
58108
58130
|
var require_pattern2 = __commonJS({
|
|
58109
|
-
"../../node_modules/
|
|
58131
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/pattern.js"(exports2) {
|
|
58110
58132
|
"use strict";
|
|
58111
58133
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58112
58134
|
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;
|
|
@@ -58269,9 +58291,9 @@ var require_pattern2 = __commonJS({
|
|
|
58269
58291
|
}
|
|
58270
58292
|
});
|
|
58271
58293
|
|
|
58272
|
-
// ../../node_modules/
|
|
58294
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/stream.js
|
|
58273
58295
|
var require_stream2 = __commonJS({
|
|
58274
|
-
"../../node_modules/
|
|
58296
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/stream.js"(exports2) {
|
|
58275
58297
|
"use strict";
|
|
58276
58298
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58277
58299
|
exports2.merge = void 0;
|
|
@@ -58292,9 +58314,9 @@ var require_stream2 = __commonJS({
|
|
|
58292
58314
|
}
|
|
58293
58315
|
});
|
|
58294
58316
|
|
|
58295
|
-
// ../../node_modules/
|
|
58317
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/string.js
|
|
58296
58318
|
var require_string2 = __commonJS({
|
|
58297
|
-
"../../node_modules/
|
|
58319
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/string.js"(exports2) {
|
|
58298
58320
|
"use strict";
|
|
58299
58321
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58300
58322
|
exports2.isEmpty = exports2.isString = void 0;
|
|
@@ -58309,9 +58331,9 @@ var require_string2 = __commonJS({
|
|
|
58309
58331
|
}
|
|
58310
58332
|
});
|
|
58311
58333
|
|
|
58312
|
-
// ../../node_modules/
|
|
58334
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/index.js
|
|
58313
58335
|
var require_utils8 = __commonJS({
|
|
58314
|
-
"../../node_modules/
|
|
58336
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/utils/index.js"(exports2) {
|
|
58315
58337
|
"use strict";
|
|
58316
58338
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58317
58339
|
exports2.string = exports2.stream = exports2.pattern = exports2.path = exports2.fs = exports2.errno = exports2.array = void 0;
|
|
@@ -58332,9 +58354,9 @@ var require_utils8 = __commonJS({
|
|
|
58332
58354
|
}
|
|
58333
58355
|
});
|
|
58334
58356
|
|
|
58335
|
-
// ../../node_modules/
|
|
58357
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/managers/tasks.js
|
|
58336
58358
|
var require_tasks = __commonJS({
|
|
58337
|
-
"../../node_modules/
|
|
58359
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/managers/tasks.js"(exports2) {
|
|
58338
58360
|
"use strict";
|
|
58339
58361
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58340
58362
|
exports2.convertPatternGroupToTask = exports2.convertPatternGroupsToTasks = exports2.groupPatternsByBaseDirectory = exports2.getNegativePatternsAsPositive = exports2.getPositivePatterns = exports2.convertPatternsToTasks = exports2.generate = void 0;
|
|
@@ -59482,9 +59504,9 @@ var require_out3 = __commonJS({
|
|
|
59482
59504
|
}
|
|
59483
59505
|
});
|
|
59484
59506
|
|
|
59485
|
-
// ../../node_modules/
|
|
59507
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/reader.js
|
|
59486
59508
|
var require_reader2 = __commonJS({
|
|
59487
|
-
"../../node_modules/
|
|
59509
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/reader.js"(exports2) {
|
|
59488
59510
|
"use strict";
|
|
59489
59511
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59490
59512
|
var path6 = require("path");
|
|
@@ -59521,9 +59543,9 @@ var require_reader2 = __commonJS({
|
|
|
59521
59543
|
}
|
|
59522
59544
|
});
|
|
59523
59545
|
|
|
59524
|
-
// ../../node_modules/
|
|
59546
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/stream.js
|
|
59525
59547
|
var require_stream4 = __commonJS({
|
|
59526
|
-
"../../node_modules/
|
|
59548
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/stream.js"(exports2) {
|
|
59527
59549
|
"use strict";
|
|
59528
59550
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59529
59551
|
var stream_1 = require("stream");
|
|
@@ -59578,9 +59600,9 @@ var require_stream4 = __commonJS({
|
|
|
59578
59600
|
}
|
|
59579
59601
|
});
|
|
59580
59602
|
|
|
59581
|
-
// ../../node_modules/
|
|
59603
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/async.js
|
|
59582
59604
|
var require_async6 = __commonJS({
|
|
59583
|
-
"../../node_modules/
|
|
59605
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/async.js"(exports2) {
|
|
59584
59606
|
"use strict";
|
|
59585
59607
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59586
59608
|
var fsWalk = require_out3();
|
|
@@ -59617,9 +59639,9 @@ var require_async6 = __commonJS({
|
|
|
59617
59639
|
}
|
|
59618
59640
|
});
|
|
59619
59641
|
|
|
59620
|
-
// ../../node_modules/
|
|
59642
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/matchers/matcher.js
|
|
59621
59643
|
var require_matcher = __commonJS({
|
|
59622
|
-
"../../node_modules/
|
|
59644
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports2) {
|
|
59623
59645
|
"use strict";
|
|
59624
59646
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59625
59647
|
var utils = require_utils8();
|
|
@@ -59668,9 +59690,9 @@ var require_matcher = __commonJS({
|
|
|
59668
59690
|
}
|
|
59669
59691
|
});
|
|
59670
59692
|
|
|
59671
|
-
// ../../node_modules/
|
|
59693
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/matchers/partial.js
|
|
59672
59694
|
var require_partial = __commonJS({
|
|
59673
|
-
"../../node_modules/
|
|
59695
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/matchers/partial.js"(exports2) {
|
|
59674
59696
|
"use strict";
|
|
59675
59697
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59676
59698
|
var matcher_1 = require_matcher();
|
|
@@ -59705,9 +59727,9 @@ var require_partial = __commonJS({
|
|
|
59705
59727
|
}
|
|
59706
59728
|
});
|
|
59707
59729
|
|
|
59708
|
-
// ../../node_modules/
|
|
59730
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/deep.js
|
|
59709
59731
|
var require_deep = __commonJS({
|
|
59710
|
-
"../../node_modules/
|
|
59732
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/deep.js"(exports2) {
|
|
59711
59733
|
"use strict";
|
|
59712
59734
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59713
59735
|
var utils = require_utils8();
|
|
@@ -59770,9 +59792,9 @@ var require_deep = __commonJS({
|
|
|
59770
59792
|
}
|
|
59771
59793
|
});
|
|
59772
59794
|
|
|
59773
|
-
// ../../node_modules/
|
|
59795
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/entry.js
|
|
59774
59796
|
var require_entry = __commonJS({
|
|
59775
|
-
"../../node_modules/
|
|
59797
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/entry.js"(exports2) {
|
|
59776
59798
|
"use strict";
|
|
59777
59799
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59778
59800
|
var utils = require_utils8();
|
|
@@ -59858,9 +59880,9 @@ var require_entry = __commonJS({
|
|
|
59858
59880
|
}
|
|
59859
59881
|
});
|
|
59860
59882
|
|
|
59861
|
-
// ../../node_modules/
|
|
59883
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/error.js
|
|
59862
59884
|
var require_error = __commonJS({
|
|
59863
|
-
"../../node_modules/
|
|
59885
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/filters/error.js"(exports2) {
|
|
59864
59886
|
"use strict";
|
|
59865
59887
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59866
59888
|
var utils = require_utils8();
|
|
@@ -59879,9 +59901,9 @@ var require_error = __commonJS({
|
|
|
59879
59901
|
}
|
|
59880
59902
|
});
|
|
59881
59903
|
|
|
59882
|
-
// ../../node_modules/
|
|
59904
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/transformers/entry.js
|
|
59883
59905
|
var require_entry2 = __commonJS({
|
|
59884
|
-
"../../node_modules/
|
|
59906
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/transformers/entry.js"(exports2) {
|
|
59885
59907
|
"use strict";
|
|
59886
59908
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59887
59909
|
var utils = require_utils8();
|
|
@@ -59911,9 +59933,9 @@ var require_entry2 = __commonJS({
|
|
|
59911
59933
|
}
|
|
59912
59934
|
});
|
|
59913
59935
|
|
|
59914
|
-
// ../../node_modules/
|
|
59936
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/provider.js
|
|
59915
59937
|
var require_provider = __commonJS({
|
|
59916
|
-
"../../node_modules/
|
|
59938
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/provider.js"(exports2) {
|
|
59917
59939
|
"use strict";
|
|
59918
59940
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59919
59941
|
var path6 = require("path");
|
|
@@ -59965,9 +59987,9 @@ var require_provider = __commonJS({
|
|
|
59965
59987
|
}
|
|
59966
59988
|
});
|
|
59967
59989
|
|
|
59968
|
-
// ../../node_modules/
|
|
59990
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/async.js
|
|
59969
59991
|
var require_async7 = __commonJS({
|
|
59970
|
-
"../../node_modules/
|
|
59992
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/async.js"(exports2) {
|
|
59971
59993
|
"use strict";
|
|
59972
59994
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59973
59995
|
var async_1 = require_async6();
|
|
@@ -59994,9 +60016,9 @@ var require_async7 = __commonJS({
|
|
|
59994
60016
|
}
|
|
59995
60017
|
});
|
|
59996
60018
|
|
|
59997
|
-
// ../../node_modules/
|
|
60019
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/stream.js
|
|
59998
60020
|
var require_stream5 = __commonJS({
|
|
59999
|
-
"../../node_modules/
|
|
60021
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/stream.js"(exports2) {
|
|
60000
60022
|
"use strict";
|
|
60001
60023
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
60002
60024
|
var stream_1 = require("stream");
|
|
@@ -60028,9 +60050,9 @@ var require_stream5 = __commonJS({
|
|
|
60028
60050
|
}
|
|
60029
60051
|
});
|
|
60030
60052
|
|
|
60031
|
-
// ../../node_modules/
|
|
60053
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/sync.js
|
|
60032
60054
|
var require_sync5 = __commonJS({
|
|
60033
|
-
"../../node_modules/
|
|
60055
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/readers/sync.js"(exports2) {
|
|
60034
60056
|
"use strict";
|
|
60035
60057
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
60036
60058
|
var fsStat = require_out();
|
|
@@ -60076,9 +60098,9 @@ var require_sync5 = __commonJS({
|
|
|
60076
60098
|
}
|
|
60077
60099
|
});
|
|
60078
60100
|
|
|
60079
|
-
// ../../node_modules/
|
|
60101
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/sync.js
|
|
60080
60102
|
var require_sync6 = __commonJS({
|
|
60081
|
-
"../../node_modules/
|
|
60103
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/providers/sync.js"(exports2) {
|
|
60082
60104
|
"use strict";
|
|
60083
60105
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
60084
60106
|
var sync_1 = require_sync5();
|
|
@@ -60105,9 +60127,9 @@ var require_sync6 = __commonJS({
|
|
|
60105
60127
|
}
|
|
60106
60128
|
});
|
|
60107
60129
|
|
|
60108
|
-
// ../../node_modules/
|
|
60130
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/settings.js
|
|
60109
60131
|
var require_settings4 = __commonJS({
|
|
60110
|
-
"../../node_modules/
|
|
60132
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/settings.js"(exports2) {
|
|
60111
60133
|
"use strict";
|
|
60112
60134
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
60113
60135
|
exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
@@ -60165,9 +60187,9 @@ var require_settings4 = __commonJS({
|
|
|
60165
60187
|
}
|
|
60166
60188
|
});
|
|
60167
60189
|
|
|
60168
|
-
// ../../node_modules/
|
|
60190
|
+
// ../../node_modules/mem-fs-editor/node_modules/fast-glob/out/index.js
|
|
60169
60191
|
var require_out4 = __commonJS({
|
|
60170
|
-
"../../node_modules/
|
|
60192
|
+
"../../node_modules/mem-fs-editor/node_modules/fast-glob/out/index.js"(exports2, module2) {
|
|
60171
60193
|
"use strict";
|
|
60172
60194
|
var taskManager = require_tasks();
|
|
60173
60195
|
var async_1 = require_async7();
|
|
@@ -60371,9 +60393,9 @@ var require_dir_glob = __commonJS({
|
|
|
60371
60393
|
}
|
|
60372
60394
|
});
|
|
60373
60395
|
|
|
60374
|
-
// ../../node_modules/
|
|
60396
|
+
// ../../node_modules/mem-fs-editor/node_modules/ignore/index.js
|
|
60375
60397
|
var require_ignore = __commonJS({
|
|
60376
|
-
"../../node_modules/
|
|
60398
|
+
"../../node_modules/mem-fs-editor/node_modules/ignore/index.js"(exports2, module2) {
|
|
60377
60399
|
function makeArray(subject) {
|
|
60378
60400
|
return Array.isArray(subject) ? subject : [subject];
|
|
60379
60401
|
}
|
|
@@ -60743,9 +60765,9 @@ var require_slash = __commonJS({
|
|
|
60743
60765
|
}
|
|
60744
60766
|
});
|
|
60745
60767
|
|
|
60746
|
-
// ../../node_modules/globby/gitignore.js
|
|
60768
|
+
// ../../node_modules/mem-fs-editor/node_modules/globby/gitignore.js
|
|
60747
60769
|
var require_gitignore = __commonJS({
|
|
60748
|
-
"../../node_modules/globby/gitignore.js"(exports2, module2) {
|
|
60770
|
+
"../../node_modules/mem-fs-editor/node_modules/globby/gitignore.js"(exports2, module2) {
|
|
60749
60771
|
"use strict";
|
|
60750
60772
|
var { promisify: promisify2 } = require("util");
|
|
60751
60773
|
var fs6 = require("fs");
|
|
@@ -60840,9 +60862,9 @@ var require_gitignore = __commonJS({
|
|
|
60840
60862
|
}
|
|
60841
60863
|
});
|
|
60842
60864
|
|
|
60843
|
-
// ../../node_modules/globby/stream-utils.js
|
|
60865
|
+
// ../../node_modules/mem-fs-editor/node_modules/globby/stream-utils.js
|
|
60844
60866
|
var require_stream_utils = __commonJS({
|
|
60845
|
-
"../../node_modules/globby/stream-utils.js"(exports2, module2) {
|
|
60867
|
+
"../../node_modules/mem-fs-editor/node_modules/globby/stream-utils.js"(exports2, module2) {
|
|
60846
60868
|
"use strict";
|
|
60847
60869
|
var { Transform: Transform2 } = require("stream");
|
|
60848
60870
|
var ObjectTransform = class extends Transform2 {
|
|
@@ -60884,9 +60906,9 @@ var require_stream_utils = __commonJS({
|
|
|
60884
60906
|
}
|
|
60885
60907
|
});
|
|
60886
60908
|
|
|
60887
|
-
// ../../node_modules/globby/index.js
|
|
60909
|
+
// ../../node_modules/mem-fs-editor/node_modules/globby/index.js
|
|
60888
60910
|
var require_globby = __commonJS({
|
|
60889
|
-
"../../node_modules/globby/index.js"(exports2, module2) {
|
|
60911
|
+
"../../node_modules/mem-fs-editor/node_modules/globby/index.js"(exports2, module2) {
|
|
60890
60912
|
"use strict";
|
|
60891
60913
|
var fs6 = require("fs");
|
|
60892
60914
|
var arrayUnion = require_array_union();
|
|
@@ -68639,9 +68661,9 @@ var require_read3 = __commonJS({
|
|
|
68639
68661
|
}
|
|
68640
68662
|
});
|
|
68641
68663
|
|
|
68642
|
-
// ../../node_modules/vscode-languageserver-textdocument/lib/umd/main.js
|
|
68664
|
+
// ../../node_modules/@sap-ux/i18n/node_modules/vscode-languageserver-textdocument/lib/umd/main.js
|
|
68643
68665
|
var require_main = __commonJS({
|
|
68644
|
-
"../../node_modules/vscode-languageserver-textdocument/lib/umd/main.js"(exports2, module2) {
|
|
68666
|
+
"../../node_modules/@sap-ux/i18n/node_modules/vscode-languageserver-textdocument/lib/umd/main.js"(exports2, module2) {
|
|
68645
68667
|
var __spreadArray9 = exports2 && exports2.__spreadArray || function(to, from, pack) {
|
|
68646
68668
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
68647
68669
|
if (ar || !(i in from)) {
|
|
@@ -72541,9 +72563,9 @@ var init_types = __esm({
|
|
|
72541
72563
|
}
|
|
72542
72564
|
});
|
|
72543
72565
|
|
|
72544
|
-
// node_modules/@sap-ux/guided-answers-helper/dist/guided-answers-icon_svg_base64.js
|
|
72566
|
+
// ../../node_modules/@sap-ux/guided-answers-helper/dist/guided-answers-icon_svg_base64.js
|
|
72545
72567
|
var require_guided_answers_icon_svg_base64 = __commonJS({
|
|
72546
|
-
"node_modules/@sap-ux/guided-answers-helper/dist/guided-answers-icon_svg_base64.js"(exports2) {
|
|
72568
|
+
"../../node_modules/@sap-ux/guided-answers-helper/dist/guided-answers-icon_svg_base64.js"(exports2) {
|
|
72547
72569
|
"use strict";
|
|
72548
72570
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
72549
72571
|
exports2.GUIDED_ANSWERS_ICON = void 0;
|
|
@@ -72551,9 +72573,9 @@ var require_guided_answers_icon_svg_base64 = __commonJS({
|
|
|
72551
72573
|
}
|
|
72552
72574
|
});
|
|
72553
72575
|
|
|
72554
|
-
// node_modules/@sap-ux/guided-answers-helper/dist/index.js
|
|
72576
|
+
// ../../node_modules/@sap-ux/guided-answers-helper/dist/index.js
|
|
72555
72577
|
var require_dist8 = __commonJS({
|
|
72556
|
-
"node_modules/@sap-ux/guided-answers-helper/dist/index.js"(exports2) {
|
|
72578
|
+
"../../node_modules/@sap-ux/guided-answers-helper/dist/index.js"(exports2) {
|
|
72557
72579
|
"use strict";
|
|
72558
72580
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
72559
72581
|
exports2.GUIDED_ANSWERS_LAUNCH_CMD_ID = exports2.GUIDED_ANSWERS_EXTENSION_ID = exports2.HELP_NODES = exports2.HELP_TREE = exports2.GUIDED_ANSWERS_ICON = void 0;
|
|
@@ -72595,8 +72617,10 @@ var require_dist8 = __commonJS({
|
|
|
72595
72617
|
// 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)
|
|
72596
72618
|
UI_SERVICE_GENERATOR: 63068,
|
|
72597
72619
|
// UI Service generator
|
|
72598
|
-
DESTINATION_GATEWAY_TIMEOUT: 57914
|
|
72620
|
+
DESTINATION_GATEWAY_TIMEOUT: 57914,
|
|
72599
72621
|
// Gateway timeout 504
|
|
72622
|
+
ADT_APP_NOT_FOUND_ERROR: 63911
|
|
72623
|
+
// Error when the ADT app is not found in the UI5 ABAP repository
|
|
72600
72624
|
};
|
|
72601
72625
|
exports2.GUIDED_ANSWERS_EXTENSION_ID = "saposs.sap-guided-answers-extension";
|
|
72602
72626
|
exports2.GUIDED_ANSWERS_LAUNCH_CMD_ID = "sap.ux.guidedAnswer.openGuidedAnswer";
|
|
@@ -91600,9 +91624,9 @@ var require_is_wsl = __commonJS({
|
|
|
91600
91624
|
}
|
|
91601
91625
|
});
|
|
91602
91626
|
|
|
91603
|
-
// ../../node_modules
|
|
91627
|
+
// ../../node_modules/open/index.js
|
|
91604
91628
|
var require_open = __commonJS({
|
|
91605
|
-
"../../node_modules
|
|
91629
|
+
"../../node_modules/open/index.js"(exports2, module2) {
|
|
91606
91630
|
"use strict";
|
|
91607
91631
|
var { promisify: promisify2 } = require("util");
|
|
91608
91632
|
var path6 = require("path");
|
|
@@ -95221,6 +95245,9 @@ var require_ui5_abap_repository_service = __commonJS({
|
|
|
95221
95245
|
isDest: this.isDest
|
|
95222
95246
|
}, false);
|
|
95223
95247
|
}
|
|
95248
|
+
if (!!info && info.Package !== bsp.package) {
|
|
95249
|
+
this.log.warn(`Cannot change package assignment from ${info.Package} to ${bsp.package}.`);
|
|
95250
|
+
}
|
|
95224
95251
|
return response;
|
|
95225
95252
|
} catch (error3) {
|
|
95226
95253
|
(0, message_1.logError)({ error: error3, host: frontendUrl, log: this.log, isDest: this.isDest });
|
|
@@ -156726,7 +156753,7 @@ var require_package8 = __commonJS({
|
|
|
156726
156753
|
"../../node_modules/@sap-ux/telemetry/package.json"(exports2, module2) {
|
|
156727
156754
|
module2.exports = {
|
|
156728
156755
|
name: "@sap-ux/telemetry",
|
|
156729
|
-
version: "0.5.
|
|
156756
|
+
version: "0.5.77",
|
|
156730
156757
|
description: "Library for sending usage telemetry data",
|
|
156731
156758
|
repository: {
|
|
156732
156759
|
type: "git",
|
|
@@ -156745,9 +156772,9 @@ var require_package8 = __commonJS({
|
|
|
156745
156772
|
"performance-now": "2.1.0",
|
|
156746
156773
|
yaml: "2.3.3",
|
|
156747
156774
|
"@sap-ux/store": "1.0.0",
|
|
156775
|
+
"@sap-ux/project-access": "1.29.21",
|
|
156748
156776
|
"@sap-ux/btp-utils": "1.0.3",
|
|
156749
|
-
"@sap-ux/ui5-config": "0.
|
|
156750
|
-
"@sap-ux/project-access": "1.29.18",
|
|
156777
|
+
"@sap-ux/ui5-config": "0.27.2",
|
|
156751
156778
|
"@sap-ux/logger": "0.6.0"
|
|
156752
156779
|
},
|
|
156753
156780
|
devDependencies: {
|
|
@@ -174705,6 +174732,30 @@ var require_ui5_version_fallback = __commonJS({
|
|
|
174705
174732
|
skipped: "Skipped"
|
|
174706
174733
|
};
|
|
174707
174734
|
exports2.ui5VersionFallbacks = [
|
|
174735
|
+
{
|
|
174736
|
+
version: "1.135.*",
|
|
174737
|
+
support: exports2.supportState.maintenance
|
|
174738
|
+
},
|
|
174739
|
+
{
|
|
174740
|
+
version: "1.134.*",
|
|
174741
|
+
support: exports2.supportState.maintenance
|
|
174742
|
+
},
|
|
174743
|
+
{
|
|
174744
|
+
version: "1.133.*",
|
|
174745
|
+
support: exports2.supportState.maintenance
|
|
174746
|
+
},
|
|
174747
|
+
{
|
|
174748
|
+
version: "1.132.*",
|
|
174749
|
+
support: exports2.supportState.outOfMaintenance
|
|
174750
|
+
},
|
|
174751
|
+
{
|
|
174752
|
+
version: "1.131.*",
|
|
174753
|
+
support: exports2.supportState.outOfMaintenance
|
|
174754
|
+
},
|
|
174755
|
+
{
|
|
174756
|
+
version: "1.130.*",
|
|
174757
|
+
support: exports2.supportState.maintenance
|
|
174758
|
+
},
|
|
174708
174759
|
{
|
|
174709
174760
|
version: "1.129.*",
|
|
174710
174761
|
support: exports2.supportState.maintenance
|
|
@@ -175320,19 +175371,24 @@ var require_ui5_theme_info = __commonJS({
|
|
|
175320
175371
|
"../../node_modules/@sap-ux/ui5-info/dist/ui5-theme-info.js"(exports2) {
|
|
175321
175372
|
"use strict";
|
|
175322
175373
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
175374
|
+
exports2.ui5Themes = void 0;
|
|
175323
175375
|
exports2.getDefaultUI5Theme = getDefaultUI5Theme;
|
|
175324
175376
|
exports2.getUi5Themes = getUi5Themes;
|
|
175325
175377
|
var constants_1 = require_constants12();
|
|
175326
175378
|
var semver_1 = require_semver2();
|
|
175327
175379
|
var MIN_UI5_VER_DARK_THEME = "1.72.0";
|
|
175328
175380
|
var MIN_UI5_VER_HORIZON_THEME = "1.102.0";
|
|
175329
|
-
var
|
|
175381
|
+
var MAX_UI5_VER_BELIZE_THEME = "1.136.0";
|
|
175382
|
+
var MIN_UI5_VER_BELIZE_DEPRECATED = "1.120.0";
|
|
175383
|
+
exports2.ui5Themes = {
|
|
175330
175384
|
[
|
|
175331
175385
|
"sap_belize"
|
|
175332
175386
|
/* ui5ThemeIds.SAP_BELIZE */
|
|
175333
175387
|
]: {
|
|
175334
175388
|
id: "sap_belize",
|
|
175335
|
-
label: "Belize"
|
|
175389
|
+
label: "Belize",
|
|
175390
|
+
supportUntil: MAX_UI5_VER_BELIZE_THEME,
|
|
175391
|
+
deprecateSince: MIN_UI5_VER_BELIZE_DEPRECATED
|
|
175336
175392
|
},
|
|
175337
175393
|
[
|
|
175338
175394
|
"sap_fiori_3"
|
|
@@ -175347,7 +175403,7 @@ var require_ui5_theme_info = __commonJS({
|
|
|
175347
175403
|
]: {
|
|
175348
175404
|
id: "sap_fiori_3_dark",
|
|
175349
175405
|
label: "Quartz Dark",
|
|
175350
|
-
|
|
175406
|
+
supportSince: MIN_UI5_VER_DARK_THEME
|
|
175351
175407
|
},
|
|
175352
175408
|
[
|
|
175353
175409
|
"sap_horizon"
|
|
@@ -175355,7 +175411,7 @@ var require_ui5_theme_info = __commonJS({
|
|
|
175355
175411
|
]: {
|
|
175356
175412
|
id: "sap_horizon",
|
|
175357
175413
|
label: "Morning Horizon",
|
|
175358
|
-
|
|
175414
|
+
supportSince: MIN_UI5_VER_HORIZON_THEME
|
|
175359
175415
|
},
|
|
175360
175416
|
[
|
|
175361
175417
|
"sap_horizon_dark"
|
|
@@ -175363,7 +175419,7 @@ var require_ui5_theme_info = __commonJS({
|
|
|
175363
175419
|
]: {
|
|
175364
175420
|
id: "sap_horizon_dark",
|
|
175365
175421
|
label: "Evening Horizon",
|
|
175366
|
-
|
|
175422
|
+
supportSince: MIN_UI5_VER_HORIZON_THEME
|
|
175367
175423
|
}
|
|
175368
175424
|
};
|
|
175369
175425
|
function getDefaultUI5Theme(ui5Version) {
|
|
@@ -175375,13 +175431,28 @@ var require_ui5_theme_info = __commonJS({
|
|
|
175375
175431
|
}
|
|
175376
175432
|
return "sap_horizon";
|
|
175377
175433
|
}
|
|
175434
|
+
function isSupported2(theme, cleanSemVer) {
|
|
175435
|
+
const isSupportedSince = theme.supportSince ? (0, semver_1.gte)(cleanSemVer, theme.supportSince) : true;
|
|
175436
|
+
const isSupportedUntil = theme.supportUntil ? (0, semver_1.lt)(cleanSemVer, theme.supportUntil) : true;
|
|
175437
|
+
return isSupportedSince && isSupportedUntil;
|
|
175438
|
+
}
|
|
175378
175439
|
function getUi5Themes(ui5Version = constants_1.defaultVersion) {
|
|
175379
175440
|
const ui5VersionSince = ui5Version.replace("snapshot-", "");
|
|
175380
175441
|
const cleanSemVer = (0, semver_1.coerce)(ui5VersionSince);
|
|
175381
|
-
if (cleanSemVer) {
|
|
175382
|
-
return Object.values(ui5Themes)
|
|
175442
|
+
if (!cleanSemVer) {
|
|
175443
|
+
return Object.values(exports2.ui5Themes);
|
|
175444
|
+
}
|
|
175445
|
+
const filteredThemes = {};
|
|
175446
|
+
for (const [id, theme] of Object.entries(exports2.ui5Themes)) {
|
|
175447
|
+
if (isSupported2(theme, cleanSemVer)) {
|
|
175448
|
+
const isDeprecated = theme.deprecateSince && (0, semver_1.gte)(cleanSemVer, theme.deprecateSince);
|
|
175449
|
+
filteredThemes[id] = {
|
|
175450
|
+
...theme,
|
|
175451
|
+
label: isDeprecated ? `${theme.label} (deprecated)` : theme.label
|
|
175452
|
+
};
|
|
175453
|
+
}
|
|
175383
175454
|
}
|
|
175384
|
-
return Object.values(
|
|
175455
|
+
return Object.values(filteredThemes);
|
|
175385
175456
|
}
|
|
175386
175457
|
}
|
|
175387
175458
|
});
|
|
@@ -175425,7 +175496,7 @@ var require_dist22 = __commonJS({
|
|
|
175425
175496
|
"../../node_modules/@sap-ux/ui5-info/dist/index.js"(exports2) {
|
|
175426
175497
|
"use strict";
|
|
175427
175498
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
175428
|
-
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;
|
|
175499
|
+
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;
|
|
175429
175500
|
var constants_1 = require_constants12();
|
|
175430
175501
|
Object.defineProperty(exports2, "defaultVersion", { enumerable: true, get: function() {
|
|
175431
175502
|
return constants_1.defaultVersion;
|
|
@@ -175466,6 +175537,9 @@ var require_dist22 = __commonJS({
|
|
|
175466
175537
|
Object.defineProperty(exports2, "getUi5Themes", { enumerable: true, get: function() {
|
|
175467
175538
|
return ui5_theme_info_1.getUi5Themes;
|
|
175468
175539
|
} });
|
|
175540
|
+
Object.defineProperty(exports2, "ui5Themes", { enumerable: true, get: function() {
|
|
175541
|
+
return ui5_theme_info_1.ui5Themes;
|
|
175542
|
+
} });
|
|
175469
175543
|
var ui5_version_backend_1 = require_ui5_version_backend();
|
|
175470
175544
|
Object.defineProperty(exports2, "getSapSystemUI5Version", { enumerable: true, get: function() {
|
|
175471
175545
|
return ui5_version_backend_1.getSapSystemUI5Version;
|
|
@@ -190141,6 +190215,18 @@ var require_project_input_validator_i18n = __commonJS({
|
|
|
190141
190215
|
invalidValueForSpecialChars: "Input must contain only Latin alphanumeric characters or the following symbols: '-','_','$' and '.'",
|
|
190142
190216
|
maxLength: "Maximum length: {{maxLength}} characters",
|
|
190143
190217
|
supportedFormats: "Only alphanumeric and '{{allowedCharacters}}' characters are allowed"
|
|
190218
|
+
},
|
|
190219
|
+
adp: {
|
|
190220
|
+
projectNameUppercaseError: "The name cannot contain uppercase letters.",
|
|
190221
|
+
projectNameLengthErrorExt: "The name cannot contain more than 61 characters or end with the word 'component'.",
|
|
190222
|
+
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.",
|
|
190223
|
+
projectNameLengthErrorInt: "The name cannot start with the word 'customer', or contain more than 61 characters, or end with the word 'component'.",
|
|
190224
|
+
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.",
|
|
190225
|
+
duplicatedProjectName: "A project with this name already exists in your workspace. Please choose another name.",
|
|
190226
|
+
differentNamespaceThanProjectName: "The namespace must be the same as the project name.",
|
|
190227
|
+
namespaceSameAsProjectNameError: "The namespace must be the same as the project name.",
|
|
190228
|
+
namespaceLengthError: "The namespace cannot contain more than 61 characters or end with the word 'component'.",
|
|
190229
|
+
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."
|
|
190144
190230
|
}
|
|
190145
190231
|
};
|
|
190146
190232
|
}
|
|
@@ -190674,6 +190760,15 @@ var require_validators4 = __commonJS({
|
|
|
190674
190760
|
exports2.hasContentDuplication = hasContentDuplication;
|
|
190675
190761
|
exports2.hasCustomerPrefix = hasCustomerPrefix;
|
|
190676
190762
|
exports2.isDataSourceURI = isDataSourceURI;
|
|
190763
|
+
exports2.validateProjectName = validateProjectName;
|
|
190764
|
+
exports2.validateProjectNameExternal = validateProjectNameExternal;
|
|
190765
|
+
exports2.validateProjectNameInternal = validateProjectNameInternal;
|
|
190766
|
+
exports2.validateDuplicateProjectName = validateDuplicateProjectName;
|
|
190767
|
+
exports2.validateNamespaceAdp = validateNamespaceAdp;
|
|
190768
|
+
var path_1 = require("path");
|
|
190769
|
+
var fs_1 = require("fs");
|
|
190770
|
+
var i18n_1 = require_i18n5();
|
|
190771
|
+
var validators_1 = require_validators3();
|
|
190677
190772
|
function hasContentDuplication(value, propertyName, changeFiles) {
|
|
190678
190773
|
return changeFiles.some(({ content }) => {
|
|
190679
190774
|
const contentProperty = content[propertyName];
|
|
@@ -190686,6 +190781,67 @@ var require_validators4 = __commonJS({
|
|
|
190686
190781
|
function isDataSourceURI(uri) {
|
|
190687
190782
|
return /^(?!.*\/\/)\/([^\s]*)\/$/.test(uri);
|
|
190688
190783
|
}
|
|
190784
|
+
var projectNamePattern = /^(\w\.\w|[a-zA-Z0-9]){1,61}$/;
|
|
190785
|
+
function validateProjectName(value, destinationPath, isCustomerBase) {
|
|
190786
|
+
const validationResult = (0, validators_1.validateEmptyString)(value);
|
|
190787
|
+
if (typeof validationResult === "string") {
|
|
190788
|
+
return validationResult;
|
|
190789
|
+
}
|
|
190790
|
+
if (/[A-Z]/.test(value)) {
|
|
190791
|
+
return (0, i18n_1.t)("adp.projectNameUppercaseError");
|
|
190792
|
+
}
|
|
190793
|
+
if (!isCustomerBase) {
|
|
190794
|
+
return validateProjectNameInternal(value, destinationPath);
|
|
190795
|
+
} else {
|
|
190796
|
+
return validateProjectNameExternal(value, destinationPath);
|
|
190797
|
+
}
|
|
190798
|
+
}
|
|
190799
|
+
function validateProjectNameExternal(value, destinationPath) {
|
|
190800
|
+
if (value.length > 61 || value.toLocaleLowerCase().endsWith("component")) {
|
|
190801
|
+
return (0, i18n_1.t)("adp.projectNameLengthErrorExt");
|
|
190802
|
+
}
|
|
190803
|
+
const projectNamePattern2 = /^(\w\.\w|[a-zA-Z0-9]){1,61}$/;
|
|
190804
|
+
if (!projectNamePattern2.test(value)) {
|
|
190805
|
+
return (0, i18n_1.t)("adp.projectNameValidationErrorExt");
|
|
190806
|
+
}
|
|
190807
|
+
return validateDuplicateProjectName(value, destinationPath);
|
|
190808
|
+
}
|
|
190809
|
+
function validateProjectNameInternal(value, destinationPath) {
|
|
190810
|
+
if (value.toLowerCase().startsWith("customer") || value.length > 61 || value.toLocaleLowerCase().endsWith("component")) {
|
|
190811
|
+
return (0, i18n_1.t)("adp.projectNameLengthErrorInt");
|
|
190812
|
+
}
|
|
190813
|
+
if (!projectNamePattern.test(value)) {
|
|
190814
|
+
return (0, i18n_1.t)("adp.projectNameValidationErrorInt");
|
|
190815
|
+
}
|
|
190816
|
+
return validateDuplicateProjectName(value, destinationPath);
|
|
190817
|
+
}
|
|
190818
|
+
function validateDuplicateProjectName(value, destinationPath) {
|
|
190819
|
+
if ((0, fs_1.existsSync)((0, path_1.join)(destinationPath, value))) {
|
|
190820
|
+
return (0, i18n_1.t)("adp.duplicatedProjectName");
|
|
190821
|
+
}
|
|
190822
|
+
return true;
|
|
190823
|
+
}
|
|
190824
|
+
function validateNamespaceAdp(namespace, projectName, isCustomerBase) {
|
|
190825
|
+
const validationResult = (0, validators_1.validateEmptyString)(namespace);
|
|
190826
|
+
if (typeof validationResult === "string") {
|
|
190827
|
+
return validationResult;
|
|
190828
|
+
}
|
|
190829
|
+
if (!isCustomerBase) {
|
|
190830
|
+
if (namespace !== projectName) {
|
|
190831
|
+
return (0, i18n_1.t)("adp.differentNamespaceThanProjectName");
|
|
190832
|
+
}
|
|
190833
|
+
} else if (namespace.toLowerCase().startsWith("customer.") !== true) {
|
|
190834
|
+
return (0, i18n_1.t)("adp.namespaceSameAsProjectNameError");
|
|
190835
|
+
} else {
|
|
190836
|
+
namespace = namespace.slice("customer.".length, namespace.length);
|
|
190837
|
+
}
|
|
190838
|
+
if (namespace.length > 61 || namespace.toLowerCase().endsWith("component") === true) {
|
|
190839
|
+
return (0, i18n_1.t)("adp.namespaceLengthError");
|
|
190840
|
+
} else if (namespace !== "" && projectNamePattern.test(namespace) === false) {
|
|
190841
|
+
return (0, i18n_1.t)("adp.namespaceValidationError");
|
|
190842
|
+
}
|
|
190843
|
+
return true;
|
|
190844
|
+
}
|
|
190689
190845
|
}
|
|
190690
190846
|
});
|
|
190691
190847
|
|
|
@@ -194814,7 +194970,7 @@ var init_package = __esm({
|
|
|
194814
194970
|
package_default = {
|
|
194815
194971
|
name: "@sap/ux-ui5-tooling",
|
|
194816
194972
|
displayName: "SAP Fiori Tools \u2013 UI5 Tooling",
|
|
194817
|
-
version: "1.17.
|
|
194973
|
+
version: "1.17.5",
|
|
194818
194974
|
description: "SAP Fiori Tools \u2013 UI5 Tooling",
|
|
194819
194975
|
publisher: "SAPSE",
|
|
194820
194976
|
license: "SEE LICENSE IN LICENSE",
|
|
@@ -194849,7 +195005,7 @@ var init_package = __esm({
|
|
|
194849
195005
|
madge: "madge --warning --circular --extensions ts ./"
|
|
194850
195006
|
},
|
|
194851
195007
|
dependencies: {
|
|
194852
|
-
"@sap-ux/preview-middleware": "0.19.
|
|
195008
|
+
"@sap-ux/preview-middleware": "0.19.38",
|
|
194853
195009
|
"@ui5/fs": "3.0.4",
|
|
194854
195010
|
"connect-livereload": "0.6.1",
|
|
194855
195011
|
debug: "4.3.7",
|
|
@@ -194864,28 +195020,28 @@ var init_package = __esm({
|
|
|
194864
195020
|
},
|
|
194865
195021
|
devDependencies: {
|
|
194866
195022
|
"@playwright/test": "1.51.1",
|
|
194867
|
-
"@sap-ux/adp-tooling": "0.13.
|
|
194868
|
-
"@sap-ux/axios-extension": "1.20.
|
|
194869
|
-
"@sap-ux/backend-proxy-middleware": "0.8.
|
|
195023
|
+
"@sap-ux/adp-tooling": "0.13.38",
|
|
195024
|
+
"@sap-ux/axios-extension": "1.20.1",
|
|
195025
|
+
"@sap-ux/backend-proxy-middleware": "0.8.42",
|
|
194870
195026
|
"@sap-ux/btp-utils": "1.0.3",
|
|
194871
|
-
"@sap-ux/deploy-tooling": "0.15.
|
|
195027
|
+
"@sap-ux/deploy-tooling": "0.15.58",
|
|
194872
195028
|
"@sap-ux/feature-toggle": "0.2.3",
|
|
194873
|
-
"@sap-ux/guided-answers-helper": "0.2.
|
|
195029
|
+
"@sap-ux/guided-answers-helper": "0.2.2",
|
|
194874
195030
|
"@sap-ux/logger": "0.6.0",
|
|
194875
|
-
"@sap-ux/project-access": "1.29.
|
|
195031
|
+
"@sap-ux/project-access": "1.29.21",
|
|
194876
195032
|
"@sap-ux/reload-middleware": "0.2.21",
|
|
194877
195033
|
"@sap-ux/serve-static-middleware": "0.2.3",
|
|
194878
195034
|
"@sap-ux/store": "1.0.0",
|
|
194879
|
-
"@sap-ux/telemetry": "0.5.
|
|
194880
|
-
"@sap-ux/ui5-config": "0.
|
|
194881
|
-
"@sap-ux/ui5-info": "0.
|
|
194882
|
-
"@sap-ux/ui5-proxy-middleware": "1.4.
|
|
194883
|
-
"@sap/ux-app-templates": "1.17.
|
|
195035
|
+
"@sap-ux/telemetry": "0.5.77",
|
|
195036
|
+
"@sap-ux/ui5-config": "0.27.2",
|
|
195037
|
+
"@sap-ux/ui5-info": "0.10.1",
|
|
195038
|
+
"@sap-ux/ui5-proxy-middleware": "1.4.26",
|
|
195039
|
+
"@sap/ux-app-templates": "1.17.5",
|
|
194884
195040
|
"@types/fs-extra": "11.0.4",
|
|
194885
195041
|
"@types/jest-dev-server": "5.0.3",
|
|
194886
195042
|
"@types/marked": "4.0.1",
|
|
194887
195043
|
"@types/prompts": "2.0.14",
|
|
194888
|
-
"@types/supertest": "6.0.
|
|
195044
|
+
"@types/supertest": "6.0.3",
|
|
194889
195045
|
"@types/yazl": "2.4.2",
|
|
194890
195046
|
"async-retry": "1.3.1",
|
|
194891
195047
|
axios: "1.8.3",
|
|
@@ -194905,7 +195061,7 @@ var init_package = __esm({
|
|
|
194905
195061
|
portfinder: "1.0.32",
|
|
194906
195062
|
prompts: "2.4.2",
|
|
194907
195063
|
"serve-static": "1.16.2",
|
|
194908
|
-
supertest: "
|
|
195064
|
+
supertest: "7.1.0",
|
|
194909
195065
|
"tree-kill": "1.2.2",
|
|
194910
195066
|
typescript: "5.8.2",
|
|
194911
195067
|
"wait-for-expect": "3.0.2",
|