@sap/ux-ui5-tooling 1.6.7 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,9 @@
1
1
  var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
- var __defProps = Object.defineProperties;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
5
  var __getProtoOf = Object.getPrototypeOf;
9
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
- var __spreadValues = (a, b) => {
13
- for (var prop in b || (b = {}))
14
- if (__hasOwnProp.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- if (__getOwnPropSymbols)
17
- for (var prop of __getOwnPropSymbols(b)) {
18
- if (__propIsEnum.call(b, prop))
19
- __defNormalProp(a, prop, b[prop]);
20
- }
21
- return a;
22
- };
23
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
7
  var __esm = (fn, res) => function __init() {
25
8
  return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
26
9
  };
@@ -210,6 +193,7 @@ var require_EventName = __commonJS({
210
193
  EventName3["DISABLE_TELEMETRY"] = "DISABLE_TELEMETRY";
211
194
  EventName3["GUIDE_ACTION"] = "GUIDE_ACTION";
212
195
  EventName3["PANEL_LOAD"] = "PANEL_LOAD";
196
+ EventName3["LAUNCH_GD"] = "LAUNCH_GD";
213
197
  EventName3["PAGEMAP"] = "PAGEMAP";
214
198
  EventName3["APP_ACTIONS"] = "ACTIONS";
215
199
  EventName3["PAGE_EDITOR"] = "PAGE_EDITOR";
@@ -240,6 +224,7 @@ var require_EventName = __commonJS({
240
224
  EventName3["DEPLOY_FAIL"] = "DEPLOY_FAIL";
241
225
  EventName3["DATA_EDITOR_EVENT"] = "DATA_EDITOR_EVENT";
242
226
  EventName3["CPE_EVENT"] = "CONTROL_PROPERTY_EDITOR_EVENT";
227
+ EventName3["SYSTEM_DETAILS_VIEW_EVENT"] = "SYSTEM_DETAILS_VIEW_EVENT";
243
228
  })(EventName2 = exports2.EventName || (exports2.EventName = {}));
244
229
  }
245
230
  });
@@ -4279,7 +4264,7 @@ var require_promise2 = __commonJS({
4279
4264
  const oldThen = Promise2.prototype.then;
4280
4265
  Promise2.prototype.then = wrappedThen;
4281
4266
  function makeWrappedHandler(fn, handle3, uid, isOnFulfilled) {
4282
- if (typeof fn !== "function") {
4267
+ if ("function" !== typeof fn) {
4283
4268
  return isOnFulfilled ? makeUnhandledResolutionHandler(uid) : makeUnhandledRejectionHandler(uid);
4284
4269
  }
4285
4270
  return function wrappedHandler() {
@@ -11890,7 +11875,7 @@ var require_package4 = __commonJS({
11890
11875
  "../lib/telemetry/dist/package.json"(exports2, module2) {
11891
11876
  module2.exports = {
11892
11877
  name: "@sap/ux-telemetry",
11893
- version: "1.6.7",
11878
+ version: "1.7.0",
11894
11879
  description: "SAP Fiori tools telemetry library",
11895
11880
  main: "dist/src/index.js",
11896
11881
  author: "SAP SE",
@@ -11915,10 +11900,10 @@ var require_package4 = __commonJS({
11915
11900
  },
11916
11901
  dependencies: {
11917
11902
  "@sap-ux/store": "0.3.0",
11918
- "@sap/ux-cds": "1.6.7",
11919
- "@sap/ux-common-utils": "1.6.7",
11920
- "@sap/ux-feature-toggle": "1.6.7",
11921
- "@sap/ux-project-access": "1.6.7",
11903
+ "@sap/ux-cds": "1.7.0",
11904
+ "@sap/ux-common-utils": "1.7.0",
11905
+ "@sap/ux-feature-toggle": "1.7.0",
11906
+ "@sap/ux-project-access": "1.7.0",
11922
11907
  applicationinsights: "1.4.1",
11923
11908
  "performance-now": "2.1.0",
11924
11909
  yaml: "2.0.0-10"
@@ -12052,9 +12037,10 @@ var require_reporting = __commonJS({
12052
12037
  exports2.reportEnableTelemetryOnOff = (enableTelemetry, commonProperties) => {
12053
12038
  const telemetryEvent = {
12054
12039
  name: EventName_1.EventName.DISABLE_TELEMETRY,
12055
- properties: __spreadValues({
12056
- disableTelemetry: `${!enableTelemetry}`
12057
- }, commonProperties),
12040
+ properties: {
12041
+ disableTelemetry: `${!enableTelemetry}`,
12042
+ ...commonProperties
12043
+ },
12058
12044
  measurements: {}
12059
12045
  };
12060
12046
  if (process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY !== "true") {
@@ -12355,7 +12341,11 @@ var require_toolsSuiteTelemetryClient = __commonJS({
12355
12341
  v: this.extensionVersion,
12356
12342
  datetime: date_1.localDatetimeToUTC()
12357
12343
  };
12358
- const finalProperties = __spreadValues(__spreadValues(__spreadValues({}, properties), fioriProjectCommonProperties), commonProperties);
12344
+ const finalProperties = {
12345
+ ...properties,
12346
+ ...fioriProjectCommonProperties,
12347
+ ...commonProperties
12348
+ };
12359
12349
  await super.report(eventName, finalProperties, measurements, sampleRate, telemetryHelperProperties, ignoreSettings);
12360
12350
  }
12361
12351
  async reportEvent(event, sampleRate, telemetryHelperProperties, ignoreSettings) {
@@ -12364,8 +12354,14 @@ var require_toolsSuiteTelemetryClient = __commonJS({
12364
12354
  v: this.extensionVersion,
12365
12355
  datetime: date_1.localDatetimeToUTC()
12366
12356
  };
12367
- const finalProperties = __spreadValues(__spreadValues(__spreadValues({}, event.properties), fioriProjectCommonProperties), telemetryEventCommonProperties);
12368
- const finalMeasurements = __spreadValues({}, event.measurements);
12357
+ const finalProperties = {
12358
+ ...event.properties,
12359
+ ...fioriProjectCommonProperties,
12360
+ ...telemetryEventCommonProperties
12361
+ };
12362
+ const finalMeasurements = {
12363
+ ...event.measurements
12364
+ };
12369
12365
  await super.report(event.eventName, finalProperties, finalMeasurements, sampleRate, telemetryHelperProperties, ignoreSettings);
12370
12366
  }
12371
12367
  };
@@ -23022,6 +23018,7 @@ var require_constants = __commonJS({
23022
23018
  DirName2["Csv"] = "csv";
23023
23019
  DirName2["Data"] = "data";
23024
23020
  DirName2["Mockdata"] = "mockdata";
23021
+ DirName2["Dist"] = "dist";
23025
23022
  })(DirName = exports2.DirName || (exports2.DirName = {}));
23026
23023
  var FileName;
23027
23024
  (function(FileName2) {
@@ -23038,6 +23035,7 @@ var require_constants = __commonJS({
23038
23035
  FileName2["Ui5Yaml"] = "ui5.yaml";
23039
23036
  FileName2["Ui5LocalYaml"] = "ui5-local.yaml";
23040
23037
  FileName2["Ui5MockYaml"] = "ui5-mock.yaml";
23038
+ FileName2["Ui5DeployYaml"] = "ui5-deploy.yaml";
23041
23039
  FileName2["fioriSandboxConfig"] = "fioriSandboxConfig.json";
23042
23040
  FileName2["View"] = "view.xml";
23043
23041
  })(FileName = exports2.FileName || (exports2.FileName = {}));
@@ -23232,10 +23230,11 @@ var require_p_locate = __commonJS({
23232
23230
  return false;
23233
23231
  };
23234
23232
  var pLocate = async (iterable, tester, options2) => {
23235
- options2 = __spreadValues({
23233
+ options2 = {
23236
23234
  concurrency: Infinity,
23237
- preserveOrder: true
23238
- }, options2);
23235
+ preserveOrder: true,
23236
+ ...options2
23237
+ };
23239
23238
  const limit = pLimit(options2.concurrency);
23240
23239
  const items = [...iterable].map((element) => [element, limit(testElement, element, tester)]);
23241
23240
  const checkLimit = pLimit(options2.preserveOrder ? 1 : Infinity);
@@ -23275,11 +23274,12 @@ var require_locate_path = __commonJS({
23275
23274
  }
23276
23275
  var matchType = (type, stat) => type === void 0 || stat[typeMappings[type]]();
23277
23276
  module2.exports = async (paths, options2) => {
23278
- options2 = __spreadValues({
23277
+ options2 = {
23279
23278
  cwd: process.cwd(),
23280
23279
  type: "file",
23281
- allowSymlinks: true
23282
- }, options2);
23280
+ allowSymlinks: true,
23281
+ ...options2
23282
+ };
23283
23283
  checkType(options2);
23284
23284
  const statFn = options2.allowSymlinks ? fsStat : fsLStat;
23285
23285
  return pLocate(paths, async (path_) => {
@@ -23292,11 +23292,12 @@ var require_locate_path = __commonJS({
23292
23292
  }, options2);
23293
23293
  };
23294
23294
  module2.exports.sync = (paths, options2) => {
23295
- options2 = __spreadValues({
23295
+ options2 = {
23296
23296
  cwd: process.cwd(),
23297
23297
  allowSymlinks: true,
23298
- type: "file"
23299
- }, options2);
23298
+ type: "file",
23299
+ ...options2
23300
+ };
23300
23301
  checkType(options2);
23301
23302
  const statFn = options2.allowSymlinks ? fs2.statSync : fs2.lstatSync;
23302
23303
  for (const path_ of paths) {
@@ -23361,7 +23362,7 @@ var require_find_up = __commonJS({
23361
23362
  return foundPath;
23362
23363
  };
23363
23364
  while (true) {
23364
- const foundPath = await runMatcher(__spreadProps(__spreadValues({}, options2), { cwd: directory }));
23365
+ const foundPath = await runMatcher({ ...options2, cwd: directory });
23365
23366
  if (foundPath === stop) {
23366
23367
  return;
23367
23368
  }
@@ -23389,7 +23390,7 @@ var require_find_up = __commonJS({
23389
23390
  return foundPath;
23390
23391
  };
23391
23392
  while (true) {
23392
- const foundPath = runMatcher(__spreadProps(__spreadValues({}, options2), { cwd: directory }));
23393
+ const foundPath = runMatcher({ ...options2, cwd: directory });
23393
23394
  if (foundPath === stop) {
23394
23395
  return;
23395
23396
  }
@@ -23411,10 +23412,10 @@ var require_find_up = __commonJS({
23411
23412
  // ../../node_modules/@babel/runtime/helpers/esm/typeof.js
23412
23413
  function _typeof2(obj) {
23413
23414
  "@babel/helpers - typeof";
23414
- return _typeof2 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(obj2) {
23415
+ return _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
23415
23416
  return typeof obj2;
23416
23417
  } : function(obj2) {
23417
- return obj2 && typeof Symbol == "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
23418
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
23418
23419
  }, _typeof2(obj);
23419
23420
  }
23420
23421
  var init_typeof = __esm({
@@ -26583,7 +26584,7 @@ var require_Utils = __commonJS({
26583
26584
  tz_minute = 0;
26584
26585
  }
26585
26586
  tz_offset = (tz_hour * 60 + tz_minute) * 6e4;
26586
- if (info.tz_sign === "-") {
26587
+ if ("-" === info.tz_sign) {
26587
26588
  tz_offset *= -1;
26588
26589
  }
26589
26590
  }
@@ -26970,7 +26971,7 @@ var require_Inline = __commonJS({
26970
26971
  return "";
26971
26972
  }
26972
26973
  value = Utils.trim(value);
26973
- if (value.length === 0) {
26974
+ if (0 === value.length) {
26974
26975
  return "";
26975
26976
  }
26976
26977
  context = {
@@ -27036,7 +27037,7 @@ var require_Inline = __commonJS({
27036
27037
  if (Escaper.requiresSingleQuoting(value)) {
27037
27038
  return Escaper.escapeWithSingleQuotes(value);
27038
27039
  }
27039
- if (value === "") {
27040
+ if ("" === value) {
27040
27041
  return '""';
27041
27042
  }
27042
27043
  if (Utils.PATTERN_DATE.test(value)) {
@@ -27135,7 +27136,7 @@ var require_Inline = __commonJS({
27135
27136
  throw new ParseMore("Malformed inline YAML string (" + scalar.slice(i) + ").");
27136
27137
  }
27137
27138
  output3 = match[0].substr(1, match[0].length - 2);
27138
- if (scalar.charAt(i) === '"') {
27139
+ if ('"' === scalar.charAt(i)) {
27139
27140
  output3 = Unescaper.unescapeDoubleQuotedString(output3);
27140
27141
  } else {
27141
27142
  output3 = Unescaper.unescapeSingleQuotedString(output3);
@@ -27328,7 +27329,7 @@ var require_Inline = __commonJS({
27328
27329
  }
27329
27330
  break;
27330
27331
  case "0":
27331
- if (scalar.slice(0, 2) === "0x") {
27332
+ if ("0x" === scalar.slice(0, 2)) {
27332
27333
  return Utils.hexDec(scalar);
27333
27334
  } else if (Utils.isDigits(scalar)) {
27334
27335
  return Utils.octDec(scalar);
@@ -27355,7 +27356,7 @@ var require_Inline = __commonJS({
27355
27356
  return scalar;
27356
27357
  case "-":
27357
27358
  if (Utils.isDigits(scalar.slice(1))) {
27358
- if (scalar.charAt(1) === "0") {
27359
+ if ("0" === scalar.charAt(1)) {
27359
27360
  return -Utils.octDec(scalar.slice(1));
27360
27361
  } else {
27361
27362
  raw = scalar.slice(1);
@@ -27447,7 +27448,7 @@ var require_Parser = __commonJS({
27447
27448
  if (this.isCurrentLineEmpty()) {
27448
27449
  continue;
27449
27450
  }
27450
- if (this.currentLine[0] === " ") {
27451
+ if (" " === this.currentLine[0]) {
27451
27452
  throw new ParseException("A YAML file cannot contain tabs as indentation.", this.getRealCurrentLineNb() + 1, this.currentLine);
27452
27453
  }
27453
27454
  isRef = mergeNode = false;
@@ -27463,7 +27464,7 @@ var require_Parser = __commonJS({
27463
27464
  isRef = matches.ref;
27464
27465
  values.value = matches.value;
27465
27466
  }
27466
- if (!(values.value != null) || Utils.trim(values.value, " ") === "" || Utils.ltrim(values.value, " ").indexOf("#") === 0) {
27467
+ if (!(values.value != null) || "" === Utils.trim(values.value, " ") || Utils.ltrim(values.value, " ").indexOf("#") === 0) {
27467
27468
  if (this.currentLineNb < this.lines.length - 1 && !this.isNextLineUnIndentedCollection()) {
27468
27469
  c = this.getRealCurrentLineNb() + 1;
27469
27470
  parser = new Parser2(c);
@@ -27504,7 +27505,7 @@ var require_Parser = __commonJS({
27504
27505
  e.snippet = this.currentLine;
27505
27506
  throw e;
27506
27507
  }
27507
- if (key === "<<") {
27508
+ if ("<<" === key) {
27508
27509
  mergeNode = true;
27509
27510
  allowOverwrite = true;
27510
27511
  if (((ref1 = values.value) != null ? ref1.indexOf("*") : void 0) === 0) {
@@ -27581,7 +27582,7 @@ var require_Parser = __commonJS({
27581
27582
  values.value = matches.value;
27582
27583
  }
27583
27584
  if (mergeNode) {
27584
- } else if (!(values.value != null) || Utils.trim(values.value, " ") === "" || Utils.ltrim(values.value, " ").indexOf("#") === 0) {
27585
+ } else if (!(values.value != null) || "" === Utils.trim(values.value, " ") || Utils.ltrim(values.value, " ").indexOf("#") === 0) {
27585
27586
  if (!this.isNextLineIndented() && !this.isNextLineUnIndentedCollection()) {
27586
27587
  if (allowOverwrite || data2[key] === void 0) {
27587
27588
  data2[key] = null;
@@ -27603,7 +27604,7 @@ var require_Parser = __commonJS({
27603
27604
  }
27604
27605
  } else {
27605
27606
  lineCount = this.lines.length;
27606
- if (lineCount === 1 || lineCount === 2 && Utils.isEmpty(this.lines[1])) {
27607
+ if (1 === lineCount || 2 === lineCount && Utils.isEmpty(this.lines[1])) {
27607
27608
  try {
27608
27609
  value = Inline.parse(this.lines[0], exceptionOnInvalidType, objectDecoder);
27609
27610
  } catch (error3) {
@@ -27679,7 +27680,7 @@ var require_Parser = __commonJS({
27679
27680
  if (indentation == null) {
27680
27681
  newIndent = this.getCurrentLineIndentation();
27681
27682
  unindentedEmbedBlock = this.isStringUnIndentedCollectionItem(this.currentLine);
27682
- if (!this.isCurrentLineEmpty() && newIndent === 0 && !unindentedEmbedBlock) {
27683
+ if (!this.isCurrentLineEmpty() && 0 === newIndent && !unindentedEmbedBlock) {
27683
27684
  throw new ParseException("Indentation problem.", this.getRealCurrentLineNb() + 1, this.currentLine);
27684
27685
  }
27685
27686
  } else {
@@ -27710,7 +27711,7 @@ var require_Parser = __commonJS({
27710
27711
  if (indent >= newIndent) {
27711
27712
  data2.push(this.currentLine.slice(newIndent));
27712
27713
  } else if (Utils.ltrim(this.currentLine).charAt(0) === "#") {
27713
- } else if (indent === 0) {
27714
+ } else if (0 === indent) {
27714
27715
  this.moveToPreviousLine();
27715
27716
  break;
27716
27717
  } else {
@@ -27731,7 +27732,7 @@ var require_Parser = __commonJS({
27731
27732
  };
27732
27733
  Parser2.prototype.parseValue = function(value, exceptionOnInvalidType, objectDecoder) {
27733
27734
  var e, foldedIndent, matches, modifiers, pos, ref, ref1, val;
27734
- if (value.indexOf("*") === 0) {
27735
+ if (0 === value.indexOf("*")) {
27735
27736
  pos = value.indexOf("#");
27736
27737
  if (pos !== -1) {
27737
27738
  value = value.substr(1, pos - 2);
@@ -27799,7 +27800,7 @@ var require_Parser = __commonJS({
27799
27800
  isCurrentLineBlank = this.isCurrentLineBlank();
27800
27801
  }
27801
27802
  }
27802
- if (indentation === 0) {
27803
+ if (0 === indentation) {
27803
27804
  if (matches = this.PATTERN_INDENT_SPACES.exec(this.currentLine)) {
27804
27805
  indentation = matches[0].length;
27805
27806
  }
@@ -27827,7 +27828,7 @@ var require_Parser = __commonJS({
27827
27828
  if (notEOF) {
27828
27829
  this.moveToPreviousLine();
27829
27830
  }
27830
- if (separator === ">") {
27831
+ if (">" === separator) {
27831
27832
  newText = "";
27832
27833
  ref = text.split("\n");
27833
27834
  for (j = 0, len = ref.length; j < len; j++) {
@@ -27840,12 +27841,12 @@ var require_Parser = __commonJS({
27840
27841
  }
27841
27842
  text = newText;
27842
27843
  }
27843
- if (indicator !== "+") {
27844
+ if ("+" !== indicator) {
27844
27845
  text = Utils.rtrim(text);
27845
27846
  }
27846
- if (indicator === "") {
27847
+ if ("" === indicator) {
27847
27848
  text = this.PATTERN_TRAILING_LINES.replace(text, "\n");
27848
- } else if (indicator === "-") {
27849
+ } else if ("-" === indicator) {
27849
27850
  text = this.PATTERN_TRAILING_LINES.replace(text, "");
27850
27851
  }
27851
27852
  return text;
@@ -27882,7 +27883,7 @@ var require_Parser = __commonJS({
27882
27883
  return trimmedLine.length === 0 || trimmedLine.charAt(0) === "#";
27883
27884
  };
27884
27885
  Parser2.prototype.isCurrentLineBlank = function() {
27885
- return Utils.trim(this.currentLine, " ") === "";
27886
+ return "" === Utils.trim(this.currentLine, " ");
27886
27887
  };
27887
27888
  Parser2.prototype.isCurrentLineComment = function() {
27888
27889
  var ltrimmedLine;
@@ -27941,7 +27942,7 @@ var require_Parser = __commonJS({
27941
27942
  while (notEOF && this.isCurrentLineEmpty()) {
27942
27943
  notEOF = this.moveToNextLine();
27943
27944
  }
27944
- if (notEOF === false) {
27945
+ if (false === notEOF) {
27945
27946
  return false;
27946
27947
  }
27947
27948
  ret = false;
@@ -35834,9 +35835,10 @@ var require_utils3 = __commonJS({
35834
35835
  }, {}) || void 0;
35835
35836
  };
35836
35837
  function getExtendedLogger(l) {
35837
- return __spreadProps(__spreadValues({}, l), {
35838
+ return {
35839
+ ...l,
35838
35840
  debug: exports2.newDebugLogger()
35839
- });
35841
+ };
35840
35842
  }
35841
35843
  exports2.getExtendedLogger = getExtendedLogger;
35842
35844
  }
@@ -37281,7 +37283,7 @@ var require_hybrid = __commonJS({
37281
37283
  this.logger.debug(`hybrid/read - id: [${id}]. Found sensitive data in secure store`);
37282
37284
  }
37283
37285
  if (serialized || sensitiveData) {
37284
- return __spreadValues(__spreadValues({}, serialized), sensitiveData);
37286
+ return { ...serialized, ...sensitiveData };
37285
37287
  } else {
37286
37288
  return void 0;
37287
37289
  }
@@ -37294,7 +37296,7 @@ var require_hybrid = __commonJS({
37294
37296
  const entitiesFs = await this.filesystem.readAll({ entityName }) || {};
37295
37297
  const entitiesInSecureStore = await this.secureStore.getAll(getFullyQualifiedServiceName(entityName)) || {};
37296
37298
  for (const key of /* @__PURE__ */ new Set([...Object.keys(entitiesFs), ...Object.keys(entitiesInSecureStore)])) {
37297
- const entity = __spreadValues(__spreadValues({}, entitiesFs[key]), entitiesInSecureStore[key]);
37299
+ const entity = { ...entitiesFs[key], ...entitiesInSecureStore[key] };
37298
37300
  result2[key] = entity;
37299
37301
  }
37300
37302
  return result2;
@@ -37450,7 +37452,7 @@ var require_backend_system2 = __commonJS({
37450
37452
  async write(entity) {
37451
37453
  let e;
37452
37454
  if (!(entity instanceof backend_system_1.BackendSystem)) {
37453
- e = new backend_system_1.BackendSystem(__spreadValues({}, entity));
37455
+ e = new backend_system_1.BackendSystem({ ...entity });
37454
37456
  } else {
37455
37457
  e = entity;
37456
37458
  }
@@ -37596,7 +37598,7 @@ var require_system_migration2 = __commonJS({
37596
37598
  authTypeMigrated = dirty = true;
37597
37599
  }
37598
37600
  return {
37599
- migrationStatus: __spreadProps(__spreadValues({}, this.systemMigrationStatus), { migrationDone, authTypeMigrated }),
37601
+ migrationStatus: { ...this.systemMigrationStatus, migrationDone, authTypeMigrated },
37600
37602
  dirty
37601
37603
  };
37602
37604
  }
@@ -37611,7 +37613,7 @@ var require_system_migration2 = __commonJS({
37611
37613
  if (refreshToken) {
37612
37614
  this.logger.info(i18n_1.text("info.foundRefreshToken", { systemId }));
37613
37615
  }
37614
- await this.saveBackendSystem(new backend_system_1.BackendSystem(__spreadProps(__spreadValues({}, oldSystem), { refreshToken })));
37616
+ await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...oldSystem, refreshToken }));
37615
37617
  await this.secureStore.delete(contants_1.ServiceName.OldSystemService, systemId);
37616
37618
  if (refreshToken) {
37617
37619
  await this.deleteOldRefreshToken(oldSystem, systemId);
@@ -37643,7 +37645,7 @@ var require_system_migration2 = __commonJS({
37643
37645
  const authenticationType = this.guessAuthType(existingSystem);
37644
37646
  if (authenticationType) {
37645
37647
  this.logger.info(i18n_1.text("info.authTypeDetermined", { authenticationType, systemId }));
37646
- await this.saveBackendSystem(new backend_system_1.BackendSystem(__spreadProps(__spreadValues({}, existingSystem), { authenticationType })));
37648
+ await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...existingSystem, authenticationType }));
37647
37649
  } else {
37648
37650
  this.logger.info(i18n_1.text("info.authTypeNotDetermined", { systemId }));
37649
37651
  }
@@ -37682,7 +37684,7 @@ var require_system_migration2 = __commonJS({
37682
37684
  async updateRefreshTokenInStoredSystem(system, refreshToken, systemId) {
37683
37685
  if (system.refreshToken !== refreshToken) {
37684
37686
  this.logger.info(i18n_1.text("info.updatingRefreshTokenInNewStore", { systemId }));
37685
- await this.saveBackendSystem(new backend_system_1.BackendSystem(__spreadProps(__spreadValues({}, system), { refreshToken })));
37687
+ await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...system, refreshToken }));
37686
37688
  }
37687
37689
  }
37688
37690
  async saveBackendSystem(backendSystem) {
@@ -37713,9 +37715,10 @@ var require_system_migration2 = __commonJS({
37713
37715
  });
37714
37716
  const { migrationStatus: updatedStatus, dirty } = await migration.run();
37715
37717
  if (dirty) {
37716
- await systemMigrationStatusDataProvider.write(new system_migration_status_1.SystemMigrationStatus(__spreadProps(__spreadValues({}, updatedStatus), {
37718
+ await systemMigrationStatusDataProvider.write(new system_migration_status_1.SystemMigrationStatus({
37719
+ ...updatedStatus,
37717
37720
  migrationLogs: updatedStatus.migrationLogs.slice(-200)
37718
- })));
37721
+ }));
37719
37722
  }
37720
37723
  } catch (e) {
37721
37724
  logger.warn(i18n_1.text("error.systemMigrationFailed"));
@@ -37772,11 +37775,11 @@ var require_backend_system3 = __commonJS({
37772
37775
  return this.write(updatedEntity);
37773
37776
  }
37774
37777
  mergeProperties(update, existingSystem) {
37775
- const patch = __spreadValues({}, update);
37778
+ const patch = { ...update };
37776
37779
  delete patch.url;
37777
37780
  delete patch.client;
37778
- const updatedEntity = __spreadValues(__spreadValues({}, existingSystem), patch);
37779
- return new backend_system_2.BackendSystem(__spreadValues({}, updatedEntity));
37781
+ const updatedEntity = { ...existingSystem, ...patch };
37782
+ return new backend_system_2.BackendSystem({ ...updatedEntity });
37780
37783
  }
37781
37784
  async readOrThrow(key) {
37782
37785
  const existingSystem = await this.read(key);
@@ -37921,6 +37924,11 @@ var require_config = __commonJS({
37921
37924
  return (_b = destinationAttribs && ((_a2 = destinationAttribs["WebIDEAdditionalData"]) == null ? void 0 : _a2.includes(exports2.DestinationAttributeProperty.FULL_URL))) != null ? _b : false;
37922
37925
  }
37923
37926
  exports2.hasFullUrlDestAttribute = hasFullUrlDestAttribute;
37927
+ function hasHTML5DynamicDestinationAttrib(destinationAttribs) {
37928
+ var _a2;
37929
+ return (_a2 = destinationAttribs && destinationAttribs["HTML5.DynamicDestination"] === "true") != null ? _a2 : false;
37930
+ }
37931
+ exports2.hasHTML5DynamicDestinationAttrib = hasHTML5DynamicDestinationAttrib;
37924
37932
  }
37925
37933
  });
37926
37934
 
@@ -38036,34 +38044,53 @@ var require_open = __commonJS({
38036
38044
  var isWsl = require_is_wsl();
38037
38045
  var isDocker = require_is_docker();
38038
38046
  var pAccess = promisify(fs2.access);
38039
- var pExecFile = promisify(childProcess.execFile);
38047
+ var pReadFile = promisify(fs2.readFile);
38040
38048
  var localXdgOpenPath = path.join(__dirname, "xdg-open");
38041
- var wslToWindowsPath = async (path2) => {
38042
- const { stdout } = await pExecFile("wslpath", ["-w", path2]);
38043
- return stdout.trim();
38044
- };
38049
+ var getWslDrivesMountPoint = (() => {
38050
+ const defaultMountPoint = "/mnt/";
38051
+ let mountPoint;
38052
+ return async function() {
38053
+ if (mountPoint) {
38054
+ return mountPoint;
38055
+ }
38056
+ const configFilePath = "/etc/wsl.conf";
38057
+ let isConfigFileExists = false;
38058
+ try {
38059
+ await pAccess(configFilePath, fs2.constants.F_OK);
38060
+ isConfigFileExists = true;
38061
+ } catch (_45) {
38062
+ }
38063
+ if (!isConfigFileExists) {
38064
+ return defaultMountPoint;
38065
+ }
38066
+ const configContent = await pReadFile(configFilePath, { encoding: "utf8" });
38067
+ const configMountPoint = /root\s*=\s*(.*)/g.exec(configContent);
38068
+ if (!configMountPoint) {
38069
+ return defaultMountPoint;
38070
+ }
38071
+ mountPoint = configMountPoint[1].trim();
38072
+ mountPoint = mountPoint.endsWith("/") ? mountPoint : mountPoint + "/";
38073
+ return mountPoint;
38074
+ };
38075
+ })();
38045
38076
  module2.exports = async (target, options2) => {
38046
38077
  if (typeof target !== "string") {
38047
38078
  throw new TypeError("Expected a `target`");
38048
38079
  }
38049
- options2 = __spreadValues({
38080
+ options2 = {
38050
38081
  wait: false,
38051
38082
  background: false,
38052
- url: false
38053
- }, options2);
38083
+ allowNonzeroExitCode: false,
38084
+ ...options2
38085
+ };
38054
38086
  let command;
38087
+ let { app } = options2;
38055
38088
  let appArguments = [];
38056
38089
  const cliArguments = [];
38057
38090
  const childProcessOptions = {};
38058
- if (Array.isArray(options2.app)) {
38059
- appArguments = options2.app.slice(1);
38060
- options2.app = options2.app[0];
38061
- }
38062
- if (options2.url) {
38063
- target = encodeURI(target);
38064
- if (isWsl) {
38065
- target = target.replace(/&/g, "^&");
38066
- }
38091
+ if (Array.isArray(app)) {
38092
+ appArguments = app.slice(1);
38093
+ app = app[0];
38067
38094
  }
38068
38095
  if (process.platform === "darwin") {
38069
38096
  command = "open";
@@ -38073,35 +38100,34 @@ var require_open = __commonJS({
38073
38100
  if (options2.background) {
38074
38101
  cliArguments.push("--background");
38075
38102
  }
38076
- if (options2.app) {
38077
- cliArguments.push("-a", options2.app);
38103
+ if (app) {
38104
+ cliArguments.push("-a", app);
38078
38105
  }
38079
38106
  } else if (process.platform === "win32" || isWsl && !isDocker()) {
38080
- command = "cmd" + (isWsl ? ".exe" : "");
38081
- cliArguments.push("/s", "/c", "start", '""', "/b");
38107
+ const mountPoint = await getWslDrivesMountPoint();
38108
+ command = isWsl ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
38109
+ cliArguments.push("-NoProfile", "-NonInteractive", "\u2013ExecutionPolicy", "Bypass", "-EncodedCommand");
38082
38110
  if (!isWsl) {
38083
- target = `"${target}"`;
38084
38111
  childProcessOptions.windowsVerbatimArguments = true;
38085
- if (options2.app) {
38086
- options2.app = `"${options2.app}"`;
38087
- }
38088
38112
  }
38113
+ const encodedArguments = ["Start"];
38089
38114
  if (options2.wait) {
38090
- cliArguments.push("/wait");
38115
+ encodedArguments.push("-Wait");
38091
38116
  }
38092
- if (options2.app) {
38093
- if (isWsl && options2.app.startsWith("/mnt/")) {
38094
- const windowsPath = await wslToWindowsPath(options2.app);
38095
- options2.app = windowsPath;
38096
- }
38097
- cliArguments.push(options2.app);
38117
+ if (app) {
38118
+ encodedArguments.push(`"\`"${app}\`""`, "-ArgumentList");
38119
+ appArguments.unshift(target);
38120
+ } else {
38121
+ encodedArguments.push(`"${target}"`);
38098
38122
  }
38099
38123
  if (appArguments.length > 0) {
38100
- cliArguments.push(...appArguments);
38124
+ appArguments = appArguments.map((arg) => `"\`"${arg}\`""`);
38125
+ encodedArguments.push(appArguments.join(","));
38101
38126
  }
38127
+ target = Buffer.from(encodedArguments.join(" "), "utf16le").toString("base64");
38102
38128
  } else {
38103
- if (options2.app) {
38104
- command = options2.app;
38129
+ if (app) {
38130
+ command = app;
38105
38131
  } else {
38106
38132
  const isBundled = !__dirname || __dirname === "/";
38107
38133
  let exeLocalXdgOpen = false;
@@ -38130,7 +38156,7 @@ var require_open = __commonJS({
38130
38156
  return new Promise((resolve, reject) => {
38131
38157
  subprocess.once("error", reject);
38132
38158
  subprocess.once("close", (exitCode) => {
38133
- if (exitCode > 0) {
38159
+ if (options2.allowNonzeroExitCode && exitCode > 0) {
38134
38160
  reject(new Error(`Exited with code ${exitCode}`));
38135
38161
  return;
38136
38162
  }
@@ -46944,9 +46970,10 @@ var require_parse3 = __commonJS({
46944
46970
  var parse_comments = (prefix) => {
46945
46971
  const comments = [];
46946
46972
  while (current && (is("LineComment") || is("BlockComment"))) {
46947
- const comment = __spreadProps(__spreadValues({}, current), {
46973
+ const comment = {
46974
+ ...current,
46948
46975
  inline
46949
- });
46976
+ };
46950
46977
  comments.push(comment);
46951
46978
  next();
46952
46979
  }
@@ -55413,7 +55440,8 @@ var require_source = __commonJS({
55413
55440
  };
55414
55441
  }
55415
55442
  var proto = Object.defineProperties(() => {
55416
- }, __spreadProps(__spreadValues({}, styles), {
55443
+ }, {
55444
+ ...styles,
55417
55445
  level: {
55418
55446
  enumerable: true,
55419
55447
  get() {
@@ -55423,7 +55451,7 @@ var require_source = __commonJS({
55423
55451
  this._generator.level = level;
55424
55452
  }
55425
55453
  }
55426
- }));
55454
+ });
55427
55455
  var createStyler = (open, close, parent) => {
55428
55456
  let openAll;
55429
55457
  let closeAll;
@@ -56029,7 +56057,7 @@ var require_atoCatalog = __commonJS({
56029
56057
  let systemConfig;
56030
56058
  let creds;
56031
56059
  if (systemInstance) {
56032
- systemConfig = __spreadProps(__spreadValues({}, systemInstance.config), { service: common_1.ATO_CATALOG_URL_PATH });
56060
+ systemConfig = { ...systemInstance.config, service: common_1.ATO_CATALOG_URL_PATH };
56033
56061
  const sys = systemInstance.serialize();
56034
56062
  creds = {
56035
56063
  username: sys.username,
@@ -56037,7 +56065,7 @@ var require_atoCatalog = __commonJS({
56037
56065
  serviceKeysContents: sys.serviceKeys
56038
56066
  };
56039
56067
  } else {
56040
- systemConfig = __spreadProps(__spreadValues({}, system), { service: common_1.ATO_CATALOG_URL_PATH });
56068
+ systemConfig = { ...system, service: common_1.ATO_CATALOG_URL_PATH };
56041
56069
  if (credentials) {
56042
56070
  creds = credentials;
56043
56071
  }
@@ -56466,6 +56494,9 @@ var require_sapSystem = __commonJS({
56466
56494
  isAbapCatalogDest() {
56467
56495
  return this.config.destination ? config_1.hasDestinationAttrib("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_ABAP, this.config.destinationAttributes) && !this.isFullUrlDest() : false;
56468
56496
  }
56497
+ isHTML5DynamicDestination() {
56498
+ return this.config.destination ? config_1.hasHTML5DynamicDestinationAttrib(this.config.destinationAttributes) : false;
56499
+ }
56469
56500
  toString() {
56470
56501
  var _a2;
56471
56502
  const urlString = () => {
@@ -56826,136 +56857,6 @@ var require_dist5 = __commonJS({
56826
56857
  }
56827
56858
  });
56828
56859
 
56829
- // ../lib/feature-toggle/dist/featureToggle.js
56830
- var require_featureToggle = __commonJS({
56831
- "../lib/feature-toggle/dist/featureToggle.js"(exports2) {
56832
- "use strict";
56833
- Object.defineProperty(exports2, "__esModule", { value: true });
56834
- var vscode = void 0;
56835
- try {
56836
- vscode = require("vscode");
56837
- } catch (e) {
56838
- }
56839
- var extensionConfigKeys = {
56840
- AnnotationModeler: "sap.ux.annotationModeler",
56841
- AppGenerator: "sap.ux.appGenerator",
56842
- ApplicationModeler: "sap.ux.applicationModeler",
56843
- Help: "sap.ux.help",
56844
- RequirementsGathering: "sap.ux.requirementsGathering",
56845
- ServiceModeler: "sap.ux.serviceModeler",
56846
- Internal: "sap.ux.internal"
56847
- };
56848
- var tokenToggleGuid = {
56849
- "dummy.test.testBetaFeatures.someTokenFeature": "77e0469d-1448-42bf-8d47-0944896dd9ed",
56850
- "sap.ux.applicationModeler.testBetaFeatures.enableFPMFeatures": "438b6071-479e-49b4-81bf-c8a016b71c75",
56851
- "sap.ux.help.testBetaFeatures.enableAppStudioGDContribution": "c8c52f0b-0d7d-4697-997a-d6f29814f42e",
56852
- "sap.ux.help.testBetaFeatures.enableAbapCdsSupport": "794cae98-3456-491a-ae20-3215a98b56df",
56853
- "sap.ux.help.testBetaFeatures.showTestGuides": "fbb03f42-0a86-4fd5-9fc4-8c9b38a4d1a3"
56854
- };
56855
- exports2.FeatureToggleKey = "testBetaFeatures";
56856
- exports2.ExperimentalFeatures = "sap.ux.applicationModeler.enableExperimentalFeatures";
56857
- var FeatureToggleAccess = class {
56858
- static getFeatureToggle(feature) {
56859
- var _a2;
56860
- let toggleConfigValue;
56861
- if ((feature.includes(exports2.FeatureToggleKey) || feature === exports2.ExperimentalFeatures) && FeatureToggleAccess.vscode) {
56862
- const toggleKey = feature.slice(0, feature.lastIndexOf("."));
56863
- const toggleId = feature.slice(feature.lastIndexOf(".") + 1, feature.length);
56864
- toggleConfigValue = (_a2 = FeatureToggleAccess.vscode.workspace.getConfiguration(toggleKey)) == null ? void 0 : _a2.get(toggleId);
56865
- } else {
56866
- toggleConfigValue = false;
56867
- }
56868
- if (process.env.TOOLSUITE_FEATURES) {
56869
- const envFeatures = process.env.TOOLSUITE_FEATURES.split(",");
56870
- toggleConfigValue = envFeatures.includes(feature) ? true : toggleConfigValue;
56871
- }
56872
- if (tokenToggleGuid[feature]) {
56873
- if (tokenToggleGuid[feature] === toggleConfigValue) {
56874
- toggleConfigValue = true;
56875
- } else {
56876
- toggleConfigValue = false;
56877
- }
56878
- }
56879
- const featureToggle = {
56880
- feature,
56881
- isEnabled: toggleConfigValue === true ? toggleConfigValue : false
56882
- };
56883
- return featureToggle;
56884
- }
56885
- static getAllFeatureToggles() {
56886
- const definedToggles = [];
56887
- if (FeatureToggleAccess.vscode) {
56888
- Object.keys(extensionConfigKeys).forEach((toggleConfigKey) => {
56889
- const toggleKey = `${extensionConfigKeys[toggleConfigKey]}.${exports2.FeatureToggleKey}`;
56890
- let toggles = {};
56891
- try {
56892
- toggles = JSON.parse(JSON.stringify(FeatureToggleAccess.vscode.workspace.getConfiguration(toggleKey)));
56893
- } catch (e) {
56894
- }
56895
- Object.keys(toggles).forEach((toggleId) => {
56896
- const toggleConfigValue = FeatureToggleAccess.vscode.workspace.getConfiguration(`${toggleKey}`).get(`${toggleId}`);
56897
- const toggle = {
56898
- feature: `${toggleKey}.${toggleId}`,
56899
- isEnabled: toggleConfigValue ? toggleConfigValue : false
56900
- };
56901
- definedToggles.push(toggle);
56902
- });
56903
- });
56904
- }
56905
- return definedToggles;
56906
- }
56907
- };
56908
- exports2.FeatureToggleAccess = FeatureToggleAccess;
56909
- FeatureToggleAccess.vscode = vscode;
56910
- function enableFeature(feature) {
56911
- let envFeatures = [];
56912
- if (process.env.TOOLSUITE_FEATURES) {
56913
- envFeatures = process.env.TOOLSUITE_FEATURES.split(",");
56914
- if (!envFeatures.includes(feature)) {
56915
- envFeatures.push(feature);
56916
- }
56917
- } else {
56918
- envFeatures.push(feature);
56919
- }
56920
- process.env.TOOLSUITE_FEATURES = envFeatures.join();
56921
- }
56922
- exports2.enableFeature = enableFeature;
56923
- function isFeatureEnabled(feature) {
56924
- return FeatureToggleAccess.getFeatureToggle(feature).isEnabled;
56925
- }
56926
- exports2.isFeatureEnabled = isFeatureEnabled;
56927
- function isInternalFeaturesSettingEnabled() {
56928
- var _a2;
56929
- const enableInternalFeaturesSetting = "sap.ux.internal.enableInternalFeatures";
56930
- let internalEnabled = false;
56931
- if (FeatureToggleAccess.vscode) {
56932
- const internalSetting = FeatureToggleAccess.vscode.workspace ? (_a2 = FeatureToggleAccess.vscode.workspace.getConfiguration()) == null ? void 0 : _a2.get(enableInternalFeaturesSetting) : false;
56933
- internalEnabled = internalSetting === true ? true : false;
56934
- }
56935
- if (process.env.TOOLSUITE_INTERNAL && process.env.TOOLSUITE_INTERNAL === "true") {
56936
- internalEnabled = true;
56937
- }
56938
- return internalEnabled;
56939
- }
56940
- exports2.isInternalFeaturesSettingEnabled = isInternalFeaturesSettingEnabled;
56941
- }
56942
- });
56943
-
56944
- // ../lib/feature-toggle/dist/index.js
56945
- var require_dist6 = __commonJS({
56946
- "../lib/feature-toggle/dist/index.js"(exports2) {
56947
- "use strict";
56948
- Object.defineProperty(exports2, "__esModule", { value: true });
56949
- var featureToggle_1 = require_featureToggle();
56950
- exports2.FeatureToggleAccess = featureToggle_1.FeatureToggleAccess;
56951
- exports2.FeatureToggleKey = featureToggle_1.FeatureToggleKey;
56952
- exports2.isFeatureEnabled = featureToggle_1.isFeatureEnabled;
56953
- exports2.isInternalFeaturesSettingEnabled = featureToggle_1.isInternalFeaturesSettingEnabled;
56954
- exports2.enableFeature = featureToggle_1.enableFeature;
56955
- exports2.ExperimentalFeatures = featureToggle_1.ExperimentalFeatures;
56956
- }
56957
- });
56958
-
56959
56860
  // ../lib/ui5-info/core/dist/types.js
56960
56861
  var require_types3 = __commonJS({
56961
56862
  "../lib/ui5-info/core/dist/types.js"(exports2) {
@@ -56993,7 +56894,6 @@ var require_ui5_info = __commonJS({
56993
56894
  var semver_compare_1 = __importDefault(require_semver_compare());
56994
56895
  var semver_1 = require_semver5();
56995
56896
  var ux_odata_client_1 = require_dist5();
56996
- var ux_feature_toggle_1 = require_dist6();
56997
56897
  var types_1 = require_types3();
56998
56898
  var commandRunner_1 = require_commandRunner();
56999
56899
  var axios_1 = __importDefault(require_axios2());
@@ -57006,11 +56906,30 @@ var require_ui5_info = __commonJS({
57006
56906
  exports2.MIN_UI5_VERSION_OVERVIEW_V4_TEMPLATE = "1.96.8";
57007
56907
  var MIN_UI5_VERSION_V2_TEMPLATE = "1.76.0";
57008
56908
  var MIN_UI5_DARK_THEME = "1.72.0";
57009
- var SPECIFIC_UI5_HORIZON_THEME = "1.93.3";
57010
- var MIN_UI5_HORIZON_THEME = "1.96.0";
56909
+ var MIN_UI5_VERSION_HORIZON_THEME = "1.102.0";
57011
56910
  var MIN_UI5_VERSION_CODE_ASSIST = "1.76.0";
57012
56911
  var DEFAULT_UI5_VERSIONS = [
57013
56912
  "Latest",
56913
+ "1.104.0",
56914
+ "1.103.0",
56915
+ "1.102.0",
56916
+ "1.101.0",
56917
+ "1.100.0",
56918
+ "1.99.0",
56919
+ "1.98.0",
56920
+ "1.97.0",
56921
+ "1.96.0",
56922
+ "1.95.0",
56923
+ "1.94.0",
56924
+ "1.93.0",
56925
+ "1.92.0",
56926
+ "1.91.0",
56927
+ "1.90.0",
56928
+ "1.89.0",
56929
+ "1.88.0",
56930
+ "1.87.0",
56931
+ "1.86.0",
56932
+ "1.85.0",
57014
56933
  "1.84.0",
57015
56934
  "1.82.0",
57016
56935
  "1.81.0",
@@ -57031,22 +56950,93 @@ var require_ui5_info = __commonJS({
57031
56950
  "1.66.0",
57032
56951
  exports2.MIN_UI5_VERSION
57033
56952
  ];
56953
+ var VERSION_OVERVIEW_FALLBACK = [
56954
+ { version: "1.104.*", support: "Maintenance" },
56955
+ { version: "1.103.*", support: "Out of maintenance" },
56956
+ { version: "1.102.*", support: "Maintenance" },
56957
+ { version: "1.101.*", support: "Out of maintenance" },
56958
+ { version: "1.100.*", support: "Out of maintenance" },
56959
+ { version: "1.99.*", support: "Out of maintenance" },
56960
+ { version: "1.98.*", support: "Out of maintenance" },
56961
+ { version: "1.97.*", support: "Out of maintenance" },
56962
+ { version: "1.96.*", support: "Maintenance" },
56963
+ { version: "1.95.*", support: "Out of maintenance" },
56964
+ { version: "1.94.*", support: "Out of maintenance" },
56965
+ { version: "1.93.*", support: "Out of maintenance" },
56966
+ { version: "1.92.*", support: "Out of maintenance" },
56967
+ { version: "1.91.*", support: "Out of maintenance" },
56968
+ { version: "1.90.*", support: "Out of maintenance" },
56969
+ { version: "1.89.*", support: "Out of maintenance" },
56970
+ { version: "1.88.*", support: "Out of maintenance" },
56971
+ { version: "1.87.*", support: "Out of maintenance" },
56972
+ { version: "1.86.*", support: "Out of maintenance" },
56973
+ { version: "1.85.*", support: "Out of maintenance" },
56974
+ { version: "1.84.*", support: "Maintenance" },
56975
+ { version: "1.83.*", support: "Skipped" },
56976
+ { version: "1.82.*", support: "Out of maintenance" },
56977
+ { version: "1.81.*", support: "Out of maintenance" },
56978
+ { version: "1.80.*", support: "Out of maintenance" },
56979
+ { version: "1.79.*", support: "Out of maintenance" },
56980
+ { version: "1.78.*", support: "Out of maintenance" },
56981
+ { version: "1.77.*", support: "Out of maintenance" },
56982
+ { version: "1.76.*", support: "Out of maintenance" },
56983
+ { version: "1.75.*", support: "Out of maintenance" },
56984
+ { version: "1.74.*", support: "Out of maintenance" },
56985
+ { version: "1.73.*", support: "Out of maintenance" },
56986
+ { version: "1.72.*", support: "Out of maintenance" },
56987
+ { version: "1.71.*", support: "Maintenance" },
56988
+ { version: "1.70.*", support: "Out of maintenance" },
56989
+ { version: "1.69.*", support: "Out of maintenance" },
56990
+ { version: "1.68.*", support: "Out of maintenance" },
56991
+ { version: "1.67.*", support: "Out of maintenance" },
56992
+ { version: "1.66.*", support: "Out of maintenance" },
56993
+ { version: "1.65.*", support: "Out of maintenance" },
56994
+ { version: "1.64.*", support: "Out of maintenance" },
56995
+ { version: "1.63.*", support: "Out of maintenance" },
56996
+ { version: "1.62.*", support: "Out of maintenance" },
56997
+ { version: "1.61.*", support: "Out of maintenance" },
56998
+ { version: "1.60.*", support: "Out of maintenance" },
56999
+ { version: "1.58.*", support: "Out of maintenance" },
57000
+ { version: "1.56.*", support: "Out of maintenance" },
57001
+ { version: "1.54.*", support: "Out of maintenance" },
57002
+ { version: "1.52.*", support: "Out of maintenance" },
57003
+ { version: "1.50.*", support: "Out of maintenance" },
57004
+ { version: "1.48.*", support: "Out of maintenance" },
57005
+ { version: "1.46.*", support: "Out of maintenance" },
57006
+ { version: "1.44.*", support: "Out of maintenance" },
57007
+ { version: "1.42.*", support: "Out of maintenance" },
57008
+ { version: "1.40.*", support: "Out of maintenance" },
57009
+ { version: "1.38.*", support: "Maintenance" },
57010
+ { version: "1.36.*", support: "Out of maintenance" },
57011
+ { version: "1.34.*", support: "Out of maintenance" },
57012
+ { version: "1.32.*", support: "Out of maintenance" },
57013
+ { version: "1.30.*", support: "Out of maintenance" },
57014
+ { version: "1.28.*", support: "Out of maintenance" },
57015
+ { version: "1.26.*", support: "Out of maintenance" },
57016
+ { version: "1.24.*", support: "Out of maintenance" },
57017
+ { version: "1.22.*", support: "Out of maintenance" },
57018
+ { version: "*", support: "Out of maintenance" }
57019
+ ];
57034
57020
  var THEMES = [
57035
57021
  {
57036
57022
  themeid: "sap_belize",
57037
- label: "SAP Belize"
57023
+ label: "Belize"
57038
57024
  },
57039
57025
  {
57040
57026
  themeid: "sap_fiori_3",
57041
- label: "SAP Quartz Light"
57027
+ label: "Quartz Light"
57042
57028
  },
57043
57029
  {
57044
57030
  themeid: "sap_fiori_3_dark",
57045
- label: "SAP Quartz Dark"
57031
+ label: "Quartz Dark"
57046
57032
  },
57047
57033
  {
57048
57034
  themeid: "sap_horizon",
57049
- label: "SAP Horizon (experimental)"
57035
+ label: "Morning Horizon"
57036
+ },
57037
+ {
57038
+ themeid: "sap_horizon_dark",
57039
+ label: "Evening Horizon"
57050
57040
  }
57051
57041
  ];
57052
57042
  var LATEST_MANIFEST_VERSION = "1.32.0";
@@ -57173,8 +57163,16 @@ var require_ui5_info = __commonJS({
57173
57163
  }
57174
57164
  exports2.parseUI5Versions = parseUI5Versions;
57175
57165
  async function parseUI5VersionsOverview() {
57176
- const response = await requestUI5Versions("https://ui5.sap.com", `/${"versionoverview.json"}`);
57177
- const result2 = JSON.parse(JSON.stringify(response)).versions.map((ver) => {
57166
+ let result2 = [];
57167
+ let versions = [];
57168
+ try {
57169
+ const response = await requestUI5Versions("https://ui5.sap.com", `/${"versionoverview.json"}`);
57170
+ versions = JSON.parse(JSON.stringify(response)).versions;
57171
+ } catch (error3) {
57172
+ console.warn(`Request to '${"https://ui5.sap.com"}' failed. Error was: '${error3.message}'. Fallback to default UI5 versions`);
57173
+ versions = VERSION_OVERVIEW_FALLBACK;
57174
+ }
57175
+ result2 = versions.map((ver) => {
57178
57176
  var _a2;
57179
57177
  const parsedVersion = (_a2 = semver_1.coerce(ver.version)) == null ? void 0 : _a2.version;
57180
57178
  if (parsedVersion !== void 0) {
@@ -57247,7 +57245,13 @@ var require_ui5_info = __commonJS({
57247
57245
  }
57248
57246
  exports2.retrieveUI5Versions = retrieveUI5Versions;
57249
57247
  async function getUI5VersionsEnhanced(filterOptions) {
57250
- let filteredUI5Versions = await retrieveUI5Versions(filterOptions, void 0, true);
57248
+ let filteredUI5Versions;
57249
+ try {
57250
+ filteredUI5Versions = await retrieveUI5Versions(filterOptions, void 0, true);
57251
+ } catch (error3) {
57252
+ console.warn(`Request to '${"https://ui5.sap.com"}' failed. Error was: '${error3.message}'. Fallback to default UI5 versions`);
57253
+ filteredUI5Versions = DEFAULT_UI5_VERSIONS.slice();
57254
+ }
57251
57255
  const defaultUI5Version = filteredUI5Versions[0];
57252
57256
  if (!(filterOptions == null ? void 0 : filterOptions.includeSnapshots)) {
57253
57257
  filteredUI5Versions = sortUI5Versions(filteredUI5Versions);
@@ -57290,13 +57294,23 @@ var require_ui5_info = __commonJS({
57290
57294
  (ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_DARK_THEME) >= 0) && filteredThemes.push(theme);
57291
57295
  break;
57292
57296
  case "sap_horizon":
57293
- (filteredUi5Version === SPECIFIC_UI5_HORIZON_THEME || ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_HORIZON_THEME) >= 0) && ux_feature_toggle_1.isFeatureEnabled(ux_feature_toggle_1.ExperimentalFeatures) && filteredThemes.push(theme);
57297
+ case "sap_horizon_dark":
57298
+ case "sap_horizon_hcw":
57299
+ case "sap_horizon_hcb":
57300
+ (ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_VERSION_HORIZON_THEME) >= 0) && filteredThemes.push(theme);
57294
57301
  break;
57295
57302
  }
57296
57303
  }
57297
57304
  return filteredThemes;
57298
57305
  }
57299
57306
  exports2.getUi5Themes = getUi5Themes;
57307
+ function getDefaultTheme(ui5Version) {
57308
+ if (ui5Version && semver_compare_1.default(ui5Version, MIN_UI5_VERSION_HORIZON_THEME) > -1) {
57309
+ return "sap_horizon";
57310
+ }
57311
+ return "sap_fiori_3";
57312
+ }
57313
+ exports2.getDefaultTheme = getDefaultTheme;
57300
57314
  function zeroExtendUI5Version(ui5Version) {
57301
57315
  const versionParts = ui5Version.split(".");
57302
57316
  if (versionParts.length < 3 && !ui5VersionCheck(ui5Version)) {
@@ -57395,7 +57409,7 @@ var require_ui5_info = __commonJS({
57395
57409
  });
57396
57410
 
57397
57411
  // ../lib/ui5-info/core/dist/index.js
57398
- var require_dist7 = __commonJS({
57412
+ var require_dist6 = __commonJS({
57399
57413
  "../lib/ui5-info/core/dist/index.js"(exports2) {
57400
57414
  "use strict";
57401
57415
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -57410,6 +57424,7 @@ var require_dist7 = __commonJS({
57410
57424
  exports2.MIN_UI5_VERSION_OVERVIEW_V4_TEMPLATE = ui5_info_1.MIN_UI5_VERSION_OVERVIEW_V4_TEMPLATE;
57411
57425
  exports2.retrieveUI5Versions = ui5_info_1.retrieveUI5Versions;
57412
57426
  exports2.getUi5Themes = ui5_info_1.getUi5Themes;
57427
+ exports2.getDefaultTheme = ui5_info_1.getDefaultTheme;
57413
57428
  exports2.getManifestVersion = ui5_info_1.getManifestVersion;
57414
57429
  exports2.uI5VersionsWithCodeAssist = ui5_info_1.uI5VersionsWithCodeAssist;
57415
57430
  exports2.parseUI5Versions = ui5_info_1.parseUI5Versions;
@@ -57616,7 +57631,7 @@ var require_utils9 = __commonJS({
57616
57631
  var os_1 = __importDefault(require("os"));
57617
57632
  var capProject_1 = require_capProject();
57618
57633
  var webapp_1 = require_webapp2();
57619
- var ux_ui5_info_1 = require_dist7();
57634
+ var ux_ui5_info_1 = require_dist6();
57620
57635
  var ui5Config_1 = require_ui5Config();
57621
57636
  exports2.scriptsRegEx = /fiori run|cds watch|cds run|ui5 serve|mvn spring-boot:run/;
57622
57637
  async function findProjectRoot(path, sapuxRequired = true) {
@@ -58379,6 +58394,136 @@ var require_types4 = __commonJS({
58379
58394
  }
58380
58395
  });
58381
58396
 
58397
+ // ../lib/feature-toggle/dist/featureToggle.js
58398
+ var require_featureToggle = __commonJS({
58399
+ "../lib/feature-toggle/dist/featureToggle.js"(exports2) {
58400
+ "use strict";
58401
+ Object.defineProperty(exports2, "__esModule", { value: true });
58402
+ var vscode = void 0;
58403
+ try {
58404
+ vscode = require("vscode");
58405
+ } catch (e) {
58406
+ }
58407
+ var extensionConfigKeys = {
58408
+ AnnotationModeler: "sap.ux.annotationModeler",
58409
+ AppGenerator: "sap.ux.appGenerator",
58410
+ ApplicationModeler: "sap.ux.applicationModeler",
58411
+ Help: "sap.ux.help",
58412
+ RequirementsGathering: "sap.ux.requirementsGathering",
58413
+ ServiceModeler: "sap.ux.serviceModeler",
58414
+ Internal: "sap.ux.internal"
58415
+ };
58416
+ var tokenToggleGuid = {
58417
+ "dummy.test.testBetaFeatures.someTokenFeature": "77e0469d-1448-42bf-8d47-0944896dd9ed",
58418
+ "sap.ux.applicationModeler.testBetaFeatures.enableFPMFeatures": "438b6071-479e-49b4-81bf-c8a016b71c75",
58419
+ "sap.ux.help.testBetaFeatures.enableAppStudioGDContribution": "c8c52f0b-0d7d-4697-997a-d6f29814f42e",
58420
+ "sap.ux.help.testBetaFeatures.enableAbapCdsSupport": "794cae98-3456-491a-ae20-3215a98b56df",
58421
+ "sap.ux.help.testBetaFeatures.showTestGuides": "fbb03f42-0a86-4fd5-9fc4-8c9b38a4d1a3"
58422
+ };
58423
+ exports2.FeatureToggleKey = "testBetaFeatures";
58424
+ exports2.ExperimentalFeatures = "sap.ux.applicationModeler.enableExperimentalFeatures";
58425
+ var FeatureToggleAccess = class {
58426
+ static getFeatureToggle(feature) {
58427
+ var _a2;
58428
+ let toggleConfigValue;
58429
+ if ((feature.includes(exports2.FeatureToggleKey) || feature === exports2.ExperimentalFeatures) && FeatureToggleAccess.vscode) {
58430
+ const toggleKey = feature.slice(0, feature.lastIndexOf("."));
58431
+ const toggleId = feature.slice(feature.lastIndexOf(".") + 1, feature.length);
58432
+ toggleConfigValue = (_a2 = FeatureToggleAccess.vscode.workspace.getConfiguration(toggleKey)) == null ? void 0 : _a2.get(toggleId);
58433
+ } else {
58434
+ toggleConfigValue = false;
58435
+ }
58436
+ if (process.env.TOOLSUITE_FEATURES) {
58437
+ const envFeatures = process.env.TOOLSUITE_FEATURES.split(",");
58438
+ toggleConfigValue = envFeatures.includes(feature) ? true : toggleConfigValue;
58439
+ }
58440
+ if (tokenToggleGuid[feature]) {
58441
+ if (tokenToggleGuid[feature] === toggleConfigValue) {
58442
+ toggleConfigValue = true;
58443
+ } else {
58444
+ toggleConfigValue = false;
58445
+ }
58446
+ }
58447
+ const featureToggle = {
58448
+ feature,
58449
+ isEnabled: toggleConfigValue === true ? toggleConfigValue : false
58450
+ };
58451
+ return featureToggle;
58452
+ }
58453
+ static getAllFeatureToggles() {
58454
+ const definedToggles = [];
58455
+ if (FeatureToggleAccess.vscode) {
58456
+ Object.keys(extensionConfigKeys).forEach((toggleConfigKey) => {
58457
+ const toggleKey = `${extensionConfigKeys[toggleConfigKey]}.${exports2.FeatureToggleKey}`;
58458
+ let toggles = {};
58459
+ try {
58460
+ toggles = JSON.parse(JSON.stringify(FeatureToggleAccess.vscode.workspace.getConfiguration(toggleKey)));
58461
+ } catch (e) {
58462
+ }
58463
+ Object.keys(toggles).forEach((toggleId) => {
58464
+ const toggleConfigValue = FeatureToggleAccess.vscode.workspace.getConfiguration(`${toggleKey}`).get(`${toggleId}`);
58465
+ const toggle = {
58466
+ feature: `${toggleKey}.${toggleId}`,
58467
+ isEnabled: toggleConfigValue ? toggleConfigValue : false
58468
+ };
58469
+ definedToggles.push(toggle);
58470
+ });
58471
+ });
58472
+ }
58473
+ return definedToggles;
58474
+ }
58475
+ };
58476
+ exports2.FeatureToggleAccess = FeatureToggleAccess;
58477
+ FeatureToggleAccess.vscode = vscode;
58478
+ function enableFeature(feature) {
58479
+ let envFeatures = [];
58480
+ if (process.env.TOOLSUITE_FEATURES) {
58481
+ envFeatures = process.env.TOOLSUITE_FEATURES.split(",");
58482
+ if (!envFeatures.includes(feature)) {
58483
+ envFeatures.push(feature);
58484
+ }
58485
+ } else {
58486
+ envFeatures.push(feature);
58487
+ }
58488
+ process.env.TOOLSUITE_FEATURES = envFeatures.join();
58489
+ }
58490
+ exports2.enableFeature = enableFeature;
58491
+ function isFeatureEnabled(feature) {
58492
+ return FeatureToggleAccess.getFeatureToggle(feature).isEnabled;
58493
+ }
58494
+ exports2.isFeatureEnabled = isFeatureEnabled;
58495
+ function isInternalFeaturesSettingEnabled() {
58496
+ var _a2;
58497
+ const enableInternalFeaturesSetting = "sap.ux.internal.enableInternalFeatures";
58498
+ let internalEnabled = false;
58499
+ if (FeatureToggleAccess.vscode) {
58500
+ const internalSetting = FeatureToggleAccess.vscode.workspace ? (_a2 = FeatureToggleAccess.vscode.workspace.getConfiguration()) == null ? void 0 : _a2.get(enableInternalFeaturesSetting) : false;
58501
+ internalEnabled = internalSetting === true ? true : false;
58502
+ }
58503
+ if (process.env.TOOLSUITE_INTERNAL && process.env.TOOLSUITE_INTERNAL === "true") {
58504
+ internalEnabled = true;
58505
+ }
58506
+ return internalEnabled;
58507
+ }
58508
+ exports2.isInternalFeaturesSettingEnabled = isInternalFeaturesSettingEnabled;
58509
+ }
58510
+ });
58511
+
58512
+ // ../lib/feature-toggle/dist/index.js
58513
+ var require_dist7 = __commonJS({
58514
+ "../lib/feature-toggle/dist/index.js"(exports2) {
58515
+ "use strict";
58516
+ Object.defineProperty(exports2, "__esModule", { value: true });
58517
+ var featureToggle_1 = require_featureToggle();
58518
+ exports2.FeatureToggleAccess = featureToggle_1.FeatureToggleAccess;
58519
+ exports2.FeatureToggleKey = featureToggle_1.FeatureToggleKey;
58520
+ exports2.isFeatureEnabled = featureToggle_1.isFeatureEnabled;
58521
+ exports2.isInternalFeaturesSettingEnabled = featureToggle_1.isInternalFeaturesSettingEnabled;
58522
+ exports2.enableFeature = featureToggle_1.enableFeature;
58523
+ exports2.ExperimentalFeatures = featureToggle_1.ExperimentalFeatures;
58524
+ }
58525
+ });
58526
+
58382
58527
  // ../lib/telemetry/dist/src/toolsSuiteTelemetry/toolsSuiteTelemetryDataProcessor.js
58383
58528
  var require_toolsSuiteTelemetryDataProcessor = __commonJS({
58384
58529
  "../lib/telemetry/dist/src/toolsSuiteTelemetry/toolsSuiteTelemetryDataProcessor.js"(exports2) {
@@ -58395,14 +58540,14 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
58395
58540
  var utils_1 = require_utils9();
58396
58541
  var capProject_1 = require_capProject();
58397
58542
  var types_1 = require_types4();
58398
- var ux_feature_toggle_1 = require_dist6();
58543
+ var ux_feature_toggle_1 = require_dist7();
58399
58544
  async function processToolsSuiteTelemetry(telemetryHelperProperties) {
58400
58545
  const commonProperties = await getCommonProperties();
58401
58546
  let appProperties = {};
58402
58547
  if (telemetryHelperProperties) {
58403
58548
  appProperties = await getAppProperties(telemetryHelperProperties["appPath"]);
58404
58549
  }
58405
- return __spreadValues(__spreadValues({}, commonProperties), appProperties);
58550
+ return { ...commonProperties, ...appProperties };
58406
58551
  }
58407
58552
  exports2.processToolsSuiteTelemetry = processToolsSuiteTelemetry;
58408
58553
  async function getCommonProperties() {
@@ -58421,7 +58566,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
58421
58566
  try {
58422
58567
  const h20Url = process.env.H2O_URL;
58423
58568
  const workspaceId = process.env.WORKSPACE_ID.replace("workspaces-", "");
58424
- const url = `${h20Url}/destinations/ws-manager/api/v1/workspace/${workspaceId}`;
58569
+ const url = `${h20Url}/ws-manager/api/v1/workspace/${workspaceId}`;
58425
58570
  const response = await axios_1.default.get(url);
58426
58571
  if (response.data) {
58427
58572
  const workspaceConfig = response.data;
@@ -59457,7 +59602,7 @@ var init_i18next2 = __esm({
59457
59602
  value: function hasDefaultValue(options2) {
59458
59603
  var prefix = "defaultValue";
59459
59604
  for (var option in options2) {
59460
- if (Object.prototype.hasOwnProperty.call(options2, option) && prefix === option.substring(0, prefix.length) && options2[option] !== void 0) {
59605
+ if (Object.prototype.hasOwnProperty.call(options2, option) && prefix === option.substring(0, prefix.length) && void 0 !== options2[option]) {
59461
59606
  return true;
59462
59607
  }
59463
59608
  }
@@ -67755,7 +67900,7 @@ var require_stream_readable = __commonJS({
67755
67900
  debug("ondata");
67756
67901
  increasedAwaitDrain = false;
67757
67902
  var ret = dest.write(chunk);
67758
- if (ret === false && !increasedAwaitDrain) {
67903
+ if (false === ret && !increasedAwaitDrain) {
67759
67904
  if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {
67760
67905
  debug("false write response, pause", src._readableState.awaitDrain);
67761
67906
  src._readableState.awaitDrain++;
@@ -67897,7 +68042,7 @@ var require_stream_readable = __commonJS({
67897
68042
  }
67898
68043
  Readable.prototype.pause = function() {
67899
68044
  debug("call pause flowing=%j", this._readableState.flowing);
67900
- if (this._readableState.flowing !== false) {
68045
+ if (false !== this._readableState.flowing) {
67901
68046
  debug("pause");
67902
68047
  this._readableState.flowing = false;
67903
68048
  this.emit("pause");
@@ -74026,7 +74171,7 @@ var require_enabled = __commonJS({
74026
74171
  var variables = variable.split(/[\s,]+/), i = 0;
74027
74172
  for (; i < variables.length; i++) {
74028
74173
  variable = variables[i].replace("*", ".*?");
74029
- if (variable.charAt(0) === "-") {
74174
+ if ("-" === variable.charAt(0)) {
74030
74175
  if (new RegExp("^" + variable.substr(1) + "$").test(name)) {
74031
74176
  return false;
74032
74177
  }
@@ -74745,7 +74890,8 @@ var require_http2 = __commonJS({
74745
74890
  if (auth && auth.bearer) {
74746
74891
  headers.Authorization = `Bearer ${auth.bearer}`;
74747
74892
  }
74748
- const req = (this.ssl ? https : http).request(__spreadProps(__spreadValues({}, this.options), {
74893
+ const req = (this.ssl ? https : http).request({
74894
+ ...this.options,
74749
74895
  method: "POST",
74750
74896
  host: this.host,
74751
74897
  port: this.port,
@@ -74753,7 +74899,7 @@ var require_http2 = __commonJS({
74753
74899
  headers,
74754
74900
  auth: auth && auth.username && auth.password ? `${auth.username}:${auth.password}` : "",
74755
74901
  agent: this.agent
74756
- }));
74902
+ });
74757
74903
  req.on("error", callback);
74758
74904
  req.on("response", (res) => res.on("end", () => callback(null, res)).resume());
74759
74905
  req.end(Buffer.from(JSON.stringify(options2), "utf8"));
@@ -74966,15 +75112,15 @@ var require_fn = __commonJS({
74966
75112
  "use strict";
74967
75113
  var toString = Object.prototype.toString;
74968
75114
  module2.exports = function name(fn) {
74969
- if (typeof fn.displayName === "string" && fn.constructor.name) {
75115
+ if ("string" === typeof fn.displayName && fn.constructor.name) {
74970
75116
  return fn.displayName;
74971
- } else if (typeof fn.name === "string" && fn.name) {
75117
+ } else if ("string" === typeof fn.name && fn.name) {
74972
75118
  return fn.name;
74973
75119
  }
74974
- if (typeof fn === "object" && fn.constructor && typeof fn.constructor.name === "string")
75120
+ if ("object" === typeof fn && fn.constructor && "string" === typeof fn.constructor.name)
74975
75121
  return fn.constructor.name;
74976
75122
  var named = fn.toString(), type = toString.call(fn).slice(8, -1);
74977
- if (type === "Function") {
75123
+ if ("Function" === type) {
74978
75124
  named = named.substring(named.indexOf("(") + 1, named.indexOf(")"));
74979
75125
  } else {
74980
75126
  named = type;
@@ -79003,7 +79149,8 @@ var require_source2 = __commonJS({
79003
79149
  };
79004
79150
  }
79005
79151
  var proto = Object.defineProperties(() => {
79006
- }, __spreadProps(__spreadValues({}, styles), {
79152
+ }, {
79153
+ ...styles,
79007
79154
  level: {
79008
79155
  enumerable: true,
79009
79156
  get() {
@@ -79013,7 +79160,7 @@ var require_source2 = __commonJS({
79013
79160
  this._generator.level = level;
79014
79161
  }
79015
79162
  }
79016
- }));
79163
+ });
79017
79164
  var createStyler = (open, close, parent) => {
79018
79165
  let openAll;
79019
79166
  let closeAll;
@@ -79979,8 +80126,14 @@ var require_paramProcessing = __commonJS({
79979
80126
  if (Array.isArray(instructions)) {
79980
80127
  for (const instruction of instructions) {
79981
80128
  [processedDimensions, processedMeasurements] = exports2.paramsProcessing(params, instruction);
79982
- customDimensions = __spreadValues(__spreadValues({}, customDimensions), processedDimensions);
79983
- customMeasurements = __spreadValues(__spreadValues({}, customMeasurements), processedMeasurements);
80129
+ customDimensions = {
80130
+ ...customDimensions,
80131
+ ...processedDimensions
80132
+ };
80133
+ customMeasurements = {
80134
+ ...customMeasurements,
80135
+ ...processedMeasurements
80136
+ };
79984
80137
  }
79985
80138
  } else {
79986
80139
  [customDimensions, customMeasurements] = exports2.paramsProcessing(params, instructions);
@@ -81668,7 +81821,7 @@ var require_stream_readable4 = __commonJS({
81668
81821
  debug("ondata");
81669
81822
  increasedAwaitDrain = false;
81670
81823
  var ret = dest.write(chunk);
81671
- if (ret === false && !increasedAwaitDrain) {
81824
+ if (false === ret && !increasedAwaitDrain) {
81672
81825
  if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {
81673
81826
  debug("false write response, pause", src._readableState.awaitDrain);
81674
81827
  src._readableState.awaitDrain++;
@@ -81810,7 +81963,7 @@ var require_stream_readable4 = __commonJS({
81810
81963
  }
81811
81964
  Readable.prototype.pause = function() {
81812
81965
  debug("call pause flowing=%j", this._readableState.flowing);
81813
- if (this._readableState.flowing !== false) {
81966
+ if (false !== this._readableState.flowing) {
81814
81967
  debug("pause");
81815
81968
  this._readableState.flowing = false;
81816
81969
  this.emit("pause");
@@ -82196,7 +82349,7 @@ var require_delegates = __commonJS({
82196
82349
  var target = this.target;
82197
82350
  this.fluents.push(name);
82198
82351
  proto[name] = function(val) {
82199
- if (typeof val != "undefined") {
82352
+ if ("undefined" != typeof val) {
82200
82353
  this[target][name] = val;
82201
82354
  return this;
82202
82355
  } else {
@@ -82850,7 +83003,7 @@ var require_is_fullwidth_code_point2 = __commonJS({
82850
83003
  if (numberIsNan(x)) {
82851
83004
  return false;
82852
83005
  }
82853
- if (x >= 4352 && (x <= 4447 || x === 9001 || x === 9002 || 11904 <= x && x <= 12871 && x !== 12351 || 12880 <= x && x <= 19903 || 19968 <= x && x <= 42182 || 43360 <= x && x <= 43388 || 44032 <= x && x <= 55203 || 63744 <= x && x <= 64255 || 65040 <= x && x <= 65049 || 65072 <= x && x <= 65131 || 65281 <= x && x <= 65376 || 65504 <= x && x <= 65510 || 110592 <= x && x <= 110593 || 127488 <= x && x <= 127569 || 131072 <= x && x <= 262141)) {
83006
+ if (x >= 4352 && (x <= 4447 || 9001 === x || 9002 === x || 11904 <= x && x <= 12871 && x !== 12351 || 12880 <= x && x <= 19903 || 19968 <= x && x <= 42182 || 43360 <= x && x <= 43388 || 44032 <= x && x <= 55203 || 63744 <= x && x <= 64255 || 65040 <= x && x <= 65049 || 65072 <= x && x <= 65131 || 65281 <= x && x <= 65376 || 65504 <= x && x <= 65510 || 110592 <= x && x <= 110593 || 127488 <= x && x <= 127569 || 131072 <= x && x <= 262141)) {
82854
83007
  return true;
82855
83008
  }
82856
83009
  return false;