sap-ux-sap-systems-ext 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/extension.js CHANGED
@@ -47,9 +47,9 @@ var require_constants = __commonJS({
47
47
  }
48
48
  });
49
49
 
50
- // ../../node_modules/.pnpm/i18next@25.8.0_typescript@5.9.3/node_modules/i18next/dist/cjs/i18next.js
50
+ // ../../node_modules/.pnpm/i18next@25.8.12_typescript@5.9.3/node_modules/i18next/dist/cjs/i18next.js
51
51
  var require_i18next = __commonJS({
52
- "../../node_modules/.pnpm/i18next@25.8.0_typescript@5.9.3/node_modules/i18next/dist/cjs/i18next.js"(exports2, module2) {
52
+ "../../node_modules/.pnpm/i18next@25.8.12_typescript@5.9.3/node_modules/i18next/dist/cjs/i18next.js"(exports2, module2) {
53
53
  "use strict";
54
54
  var isString2 = (obj) => typeof obj === "string";
55
55
  var defer2 = () => {
@@ -1074,7 +1074,7 @@ var require_i18next = __commonJS({
1074
1074
  type
1075
1075
  });
1076
1076
  } catch (err) {
1077
- if (!Intl) {
1077
+ if (typeof Intl === "undefined") {
1078
1078
  this.logger.error("No Intl support, please use an Intl polyfill!");
1079
1079
  return dummyRule2;
1080
1080
  }
@@ -1254,13 +1254,13 @@ var require_i18next = __commonJS({
1254
1254
  const handleHasOptions = (key, inheritedOptions) => {
1255
1255
  const sep2 = this.nestingOptionsSeparator;
1256
1256
  if (key.indexOf(sep2) < 0) return key;
1257
- const c = key.split(new RegExp(`${sep2}[ ]*{`));
1257
+ const c = key.split(new RegExp(`${regexEscape3(sep2)}[ ]*{`));
1258
1258
  let optionsString = `{${c[1]}`;
1259
1259
  key = c[0];
1260
1260
  optionsString = this.interpolate(optionsString, clonedOptions);
1261
1261
  const matchedSingleQuotes = optionsString.match(/'/g);
1262
1262
  const matchedDoubleQuotes = optionsString.match(/"/g);
1263
- if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || matchedDoubleQuotes.length % 2 !== 0) {
1263
+ if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || (matchedDoubleQuotes?.length ?? 0) % 2 !== 0) {
1264
1264
  optionsString = optionsString.replace(/'/g, '"');
1265
1265
  }
1266
1266
  try {
@@ -1741,6 +1741,19 @@ var require_i18next = __commonJS({
1741
1741
  }
1742
1742
  });
1743
1743
  };
1744
+ var SUPPORT_NOTICE_KEY2 = "__i18next_supportNoticeShown";
1745
+ var getSupportNoticeShown2 = () => typeof globalThis !== "undefined" && !!globalThis[SUPPORT_NOTICE_KEY2];
1746
+ var setSupportNoticeShown2 = () => {
1747
+ if (typeof globalThis !== "undefined") globalThis[SUPPORT_NOTICE_KEY2] = true;
1748
+ };
1749
+ var usesLocize2 = (inst) => {
1750
+ if (inst?.modules?.backend?.name?.indexOf("Locize") > 0) return true;
1751
+ if (inst?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0) return true;
1752
+ if (inst?.options?.backend?.backends) {
1753
+ if (inst.options.backend.backends.some((b) => b?.name?.indexOf("Locize") > 0 || b?.constructor?.name?.indexOf("Locize") > 0)) return true;
1754
+ }
1755
+ return false;
1756
+ };
1744
1757
  var I18n2 = class _I18n extends EventEmitter3 {
1745
1758
  constructor(options = {}, callback) {
1746
1759
  super();
@@ -1793,8 +1806,9 @@ var require_i18next = __commonJS({
1793
1806
  if (typeof this.options.overloadTranslationOptionHandler !== "function") {
1794
1807
  this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
1795
1808
  }
1796
- if (this.options.debug === true) {
1797
- if (typeof console !== "undefined") console.warn("i18next is maintained with support from locize.com \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");
1809
+ if (this.options.showSupportNotice !== false && !usesLocize2(this) && !getSupportNoticeShown2()) {
1810
+ if (typeof console !== "undefined" && typeof console.info !== "undefined") console.info("\u{1F310} i18next is maintained with support from Locize \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \u{1F499}");
1811
+ setSupportNoticeShown2();
1798
1812
  }
1799
1813
  const createClassOnDemand = (ClassOrObject) => {
1800
1814
  if (!ClassOrObject) return null;
@@ -54310,7 +54324,7 @@ var require_package6 = __commonJS({
54310
54324
  "../telemetry/package.json"(exports2, module2) {
54311
54325
  module2.exports = {
54312
54326
  name: "@sap-ux/telemetry",
54313
- version: "0.6.76",
54327
+ version: "0.6.78",
54314
54328
  description: "Library for sending usage telemetry data",
54315
54329
  repository: {
54316
54330
  type: "git",
@@ -108823,9 +108837,9 @@ var require_constants9 = __commonJS({
108823
108837
  }
108824
108838
  });
108825
108839
 
108826
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/code.js
108840
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
108827
108841
  var require_code = __commonJS({
108828
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
108842
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
108829
108843
  "use strict";
108830
108844
  Object.defineProperty(exports2, "__esModule", { value: true });
108831
108845
  exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = void 0;
@@ -108977,9 +108991,9 @@ var require_code = __commonJS({
108977
108991
  }
108978
108992
  });
108979
108993
 
108980
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/scope.js
108994
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
108981
108995
  var require_scope = __commonJS({
108982
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
108996
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
108983
108997
  "use strict";
108984
108998
  Object.defineProperty(exports2, "__esModule", { value: true });
108985
108999
  exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
@@ -109122,9 +109136,9 @@ var require_scope = __commonJS({
109122
109136
  }
109123
109137
  });
109124
109138
 
109125
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/index.js
109139
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
109126
109140
  var require_codegen = __commonJS({
109127
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
109141
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
109128
109142
  "use strict";
109129
109143
  Object.defineProperty(exports2, "__esModule", { value: true });
109130
109144
  exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = void 0;
@@ -109842,9 +109856,9 @@ var require_codegen = __commonJS({
109842
109856
  }
109843
109857
  });
109844
109858
 
109845
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/util.js
109859
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
109846
109860
  var require_util3 = __commonJS({
109847
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/util.js"(exports2) {
109861
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js"(exports2) {
109848
109862
  "use strict";
109849
109863
  Object.defineProperty(exports2, "__esModule", { value: true });
109850
109864
  exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = void 0;
@@ -110009,9 +110023,9 @@ var require_util3 = __commonJS({
110009
110023
  }
110010
110024
  });
110011
110025
 
110012
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/names.js
110026
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
110013
110027
  var require_names = __commonJS({
110014
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/names.js"(exports2) {
110028
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js"(exports2) {
110015
110029
  "use strict";
110016
110030
  Object.defineProperty(exports2, "__esModule", { value: true });
110017
110031
  var codegen_1 = require_codegen();
@@ -110048,9 +110062,9 @@ var require_names = __commonJS({
110048
110062
  }
110049
110063
  });
110050
110064
 
110051
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/errors.js
110065
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
110052
110066
  var require_errors5 = __commonJS({
110053
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/errors.js"(exports2) {
110067
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js"(exports2) {
110054
110068
  "use strict";
110055
110069
  Object.defineProperty(exports2, "__esModule", { value: true });
110056
110070
  exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
@@ -110170,9 +110184,9 @@ var require_errors5 = __commonJS({
110170
110184
  }
110171
110185
  });
110172
110186
 
110173
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/boolSchema.js
110187
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
110174
110188
  var require_boolSchema = __commonJS({
110175
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
110189
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
110176
110190
  "use strict";
110177
110191
  Object.defineProperty(exports2, "__esModule", { value: true });
110178
110192
  exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = void 0;
@@ -110221,9 +110235,9 @@ var require_boolSchema = __commonJS({
110221
110235
  }
110222
110236
  });
110223
110237
 
110224
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/rules.js
110238
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
110225
110239
  var require_rules = __commonJS({
110226
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/rules.js"(exports2) {
110240
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js"(exports2) {
110227
110241
  "use strict";
110228
110242
  Object.defineProperty(exports2, "__esModule", { value: true });
110229
110243
  exports2.getRules = exports2.isJSONType = void 0;
@@ -110252,9 +110266,9 @@ var require_rules = __commonJS({
110252
110266
  }
110253
110267
  });
110254
110268
 
110255
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/applicability.js
110269
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
110256
110270
  var require_applicability = __commonJS({
110257
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
110271
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
110258
110272
  "use strict";
110259
110273
  Object.defineProperty(exports2, "__esModule", { value: true });
110260
110274
  exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = void 0;
@@ -110275,9 +110289,9 @@ var require_applicability = __commonJS({
110275
110289
  }
110276
110290
  });
110277
110291
 
110278
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/dataType.js
110292
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
110279
110293
  var require_dataType = __commonJS({
110280
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
110294
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
110281
110295
  "use strict";
110282
110296
  Object.defineProperty(exports2, "__esModule", { value: true });
110283
110297
  exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = void 0;
@@ -110459,9 +110473,9 @@ var require_dataType = __commonJS({
110459
110473
  }
110460
110474
  });
110461
110475
 
110462
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/defaults.js
110476
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
110463
110477
  var require_defaults2 = __commonJS({
110464
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
110478
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
110465
110479
  "use strict";
110466
110480
  Object.defineProperty(exports2, "__esModule", { value: true });
110467
110481
  exports2.assignDefaults = void 0;
@@ -110496,9 +110510,9 @@ var require_defaults2 = __commonJS({
110496
110510
  }
110497
110511
  });
110498
110512
 
110499
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/code.js
110513
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
110500
110514
  var require_code2 = __commonJS({
110501
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
110515
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
110502
110516
  "use strict";
110503
110517
  Object.defineProperty(exports2, "__esModule", { value: true });
110504
110518
  exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = void 0;
@@ -110629,9 +110643,9 @@ var require_code2 = __commonJS({
110629
110643
  }
110630
110644
  });
110631
110645
 
110632
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/keyword.js
110646
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
110633
110647
  var require_keyword2 = __commonJS({
110634
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
110648
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
110635
110649
  "use strict";
110636
110650
  Object.defineProperty(exports2, "__esModule", { value: true });
110637
110651
  exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = void 0;
@@ -110747,9 +110761,9 @@ var require_keyword2 = __commonJS({
110747
110761
  }
110748
110762
  });
110749
110763
 
110750
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/subschema.js
110764
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
110751
110765
  var require_subschema = __commonJS({
110752
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
110766
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
110753
110767
  "use strict";
110754
110768
  Object.defineProperty(exports2, "__esModule", { value: true });
110755
110769
  exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = void 0;
@@ -110953,9 +110967,9 @@ var require_json_schema_traverse = __commonJS({
110953
110967
  }
110954
110968
  });
110955
110969
 
110956
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/resolve.js
110970
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
110957
110971
  var require_resolve2 = __commonJS({
110958
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/resolve.js"(exports2) {
110972
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js"(exports2) {
110959
110973
  "use strict";
110960
110974
  Object.defineProperty(exports2, "__esModule", { value: true });
110961
110975
  exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = void 0;
@@ -111109,9 +111123,9 @@ var require_resolve2 = __commonJS({
111109
111123
  }
111110
111124
  });
111111
111125
 
111112
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/index.js
111126
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
111113
111127
  var require_validate = __commonJS({
111114
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
111128
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
111115
111129
  "use strict";
111116
111130
  Object.defineProperty(exports2, "__esModule", { value: true });
111117
111131
  exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = void 0;
@@ -111617,9 +111631,9 @@ var require_validate = __commonJS({
111617
111631
  }
111618
111632
  });
111619
111633
 
111620
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/validation_error.js
111634
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
111621
111635
  var require_validation_error = __commonJS({
111622
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
111636
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
111623
111637
  "use strict";
111624
111638
  Object.defineProperty(exports2, "__esModule", { value: true });
111625
111639
  var ValidationError = class extends Error {
@@ -111633,9 +111647,9 @@ var require_validation_error = __commonJS({
111633
111647
  }
111634
111648
  });
111635
111649
 
111636
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/ref_error.js
111650
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
111637
111651
  var require_ref_error = __commonJS({
111638
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
111652
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
111639
111653
  "use strict";
111640
111654
  Object.defineProperty(exports2, "__esModule", { value: true });
111641
111655
  var resolve_1 = require_resolve2();
@@ -111650,9 +111664,9 @@ var require_ref_error = __commonJS({
111650
111664
  }
111651
111665
  });
111652
111666
 
111653
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/index.js
111667
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
111654
111668
  var require_compile2 = __commonJS({
111655
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/index.js"(exports2) {
111669
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js"(exports2) {
111656
111670
  "use strict";
111657
111671
  Object.defineProperty(exports2, "__esModule", { value: true });
111658
111672
  exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = void 0;
@@ -111874,9 +111888,9 @@ var require_compile2 = __commonJS({
111874
111888
  }
111875
111889
  });
111876
111890
 
111877
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/data.json
111891
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
111878
111892
  var require_data = __commonJS({
111879
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
111893
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
111880
111894
  module2.exports = {
111881
111895
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
111882
111896
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -112560,9 +112574,9 @@ var require_fast_uri = __commonJS({
112560
112574
  }
112561
112575
  });
112562
112576
 
112563
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/uri.js
112577
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
112564
112578
  var require_uri2 = __commonJS({
112565
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/uri.js"(exports2) {
112579
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js"(exports2) {
112566
112580
  "use strict";
112567
112581
  Object.defineProperty(exports2, "__esModule", { value: true });
112568
112582
  var uri = require_fast_uri();
@@ -112571,9 +112585,9 @@ var require_uri2 = __commonJS({
112571
112585
  }
112572
112586
  });
112573
112587
 
112574
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/core.js
112588
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js
112575
112589
  var require_core4 = __commonJS({
112576
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/core.js"(exports2) {
112590
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js"(exports2) {
112577
112591
  "use strict";
112578
112592
  Object.defineProperty(exports2, "__esModule", { value: true });
112579
112593
  exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
@@ -113182,9 +113196,9 @@ var require_core4 = __commonJS({
113182
113196
  }
113183
113197
  });
113184
113198
 
113185
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/id.js
113199
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
113186
113200
  var require_id = __commonJS({
113187
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
113201
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
113188
113202
  "use strict";
113189
113203
  Object.defineProperty(exports2, "__esModule", { value: true });
113190
113204
  var def = {
@@ -113197,9 +113211,9 @@ var require_id = __commonJS({
113197
113211
  }
113198
113212
  });
113199
113213
 
113200
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/ref.js
113214
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
113201
113215
  var require_ref2 = __commonJS({
113202
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
113216
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
113203
113217
  "use strict";
113204
113218
  Object.defineProperty(exports2, "__esModule", { value: true });
113205
113219
  exports2.callRef = exports2.getValidate = void 0;
@@ -113319,9 +113333,9 @@ var require_ref2 = __commonJS({
113319
113333
  }
113320
113334
  });
113321
113335
 
113322
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/index.js
113336
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
113323
113337
  var require_core5 = __commonJS({
113324
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
113338
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
113325
113339
  "use strict";
113326
113340
  Object.defineProperty(exports2, "__esModule", { value: true });
113327
113341
  var id_1 = require_id();
@@ -113340,9 +113354,9 @@ var require_core5 = __commonJS({
113340
113354
  }
113341
113355
  });
113342
113356
 
113343
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
113357
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
113344
113358
  var require_limitNumber = __commonJS({
113345
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
113359
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
113346
113360
  "use strict";
113347
113361
  Object.defineProperty(exports2, "__esModule", { value: true });
113348
113362
  var codegen_1 = require_codegen();
@@ -113372,9 +113386,9 @@ var require_limitNumber = __commonJS({
113372
113386
  }
113373
113387
  });
113374
113388
 
113375
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
113389
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
113376
113390
  var require_multipleOf = __commonJS({
113377
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
113391
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
113378
113392
  "use strict";
113379
113393
  Object.defineProperty(exports2, "__esModule", { value: true });
113380
113394
  var codegen_1 = require_codegen();
@@ -113400,9 +113414,9 @@ var require_multipleOf = __commonJS({
113400
113414
  }
113401
113415
  });
113402
113416
 
113403
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/ucs2length.js
113417
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
113404
113418
  var require_ucs2length = __commonJS({
113405
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
113419
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
113406
113420
  "use strict";
113407
113421
  Object.defineProperty(exports2, "__esModule", { value: true });
113408
113422
  function ucs2length(str) {
@@ -113426,9 +113440,9 @@ var require_ucs2length = __commonJS({
113426
113440
  }
113427
113441
  });
113428
113442
 
113429
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitLength.js
113443
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
113430
113444
  var require_limitLength = __commonJS({
113431
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
113445
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
113432
113446
  "use strict";
113433
113447
  Object.defineProperty(exports2, "__esModule", { value: true });
113434
113448
  var codegen_1 = require_codegen();
@@ -113458,12 +113472,13 @@ var require_limitLength = __commonJS({
113458
113472
  }
113459
113473
  });
113460
113474
 
113461
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/pattern.js
113475
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
113462
113476
  var require_pattern2 = __commonJS({
113463
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
113477
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
113464
113478
  "use strict";
113465
113479
  Object.defineProperty(exports2, "__esModule", { value: true });
113466
113480
  var code_1 = require_code2();
113481
+ var util_1 = require_util3();
113467
113482
  var codegen_1 = require_codegen();
113468
113483
  var error = {
113469
113484
  message: ({ schemaCode }) => (0, codegen_1.str)`must match pattern "${schemaCode}"`,
@@ -113476,19 +113491,27 @@ var require_pattern2 = __commonJS({
113476
113491
  $data: true,
113477
113492
  error,
113478
113493
  code(cxt) {
113479
- const { data, $data, schema, schemaCode, it } = cxt;
113494
+ const { gen, data, $data, schema, schemaCode, it } = cxt;
113480
113495
  const u = it.opts.unicodeRegExp ? "u" : "";
113481
- const regExp = $data ? (0, codegen_1._)`(new RegExp(${schemaCode}, ${u}))` : (0, code_1.usePattern)(cxt, schema);
113482
- cxt.fail$data((0, codegen_1._)`!${regExp}.test(${data})`);
113496
+ if ($data) {
113497
+ const { regExp } = it.opts.code;
113498
+ const regExpCode = regExp.code === "new RegExp" ? (0, codegen_1._)`new RegExp` : (0, util_1.useFunc)(gen, regExp);
113499
+ const valid = gen.let("valid");
113500
+ gen.try(() => gen.assign(valid, (0, codegen_1._)`${regExpCode}(${schemaCode}, ${u}).test(${data})`), () => gen.assign(valid, false));
113501
+ cxt.fail$data((0, codegen_1._)`!${valid}`);
113502
+ } else {
113503
+ const regExp = (0, code_1.usePattern)(cxt, schema);
113504
+ cxt.fail$data((0, codegen_1._)`!${regExp}.test(${data})`);
113505
+ }
113483
113506
  }
113484
113507
  };
113485
113508
  exports2.default = def;
113486
113509
  }
113487
113510
  });
113488
113511
 
113489
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
113512
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
113490
113513
  var require_limitProperties = __commonJS({
113491
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
113514
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
113492
113515
  "use strict";
113493
113516
  Object.defineProperty(exports2, "__esModule", { value: true });
113494
113517
  var codegen_1 = require_codegen();
@@ -113515,9 +113538,9 @@ var require_limitProperties = __commonJS({
113515
113538
  }
113516
113539
  });
113517
113540
 
113518
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/required.js
113541
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
113519
113542
  var require_required = __commonJS({
113520
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
113543
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
113521
113544
  "use strict";
113522
113545
  Object.defineProperty(exports2, "__esModule", { value: true });
113523
113546
  var code_1 = require_code2();
@@ -113597,9 +113620,9 @@ var require_required = __commonJS({
113597
113620
  }
113598
113621
  });
113599
113622
 
113600
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitItems.js
113623
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
113601
113624
  var require_limitItems = __commonJS({
113602
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
113625
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
113603
113626
  "use strict";
113604
113627
  Object.defineProperty(exports2, "__esModule", { value: true });
113605
113628
  var codegen_1 = require_codegen();
@@ -113626,9 +113649,9 @@ var require_limitItems = __commonJS({
113626
113649
  }
113627
113650
  });
113628
113651
 
113629
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/equal.js
113652
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
113630
113653
  var require_equal = __commonJS({
113631
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/equal.js"(exports2) {
113654
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js"(exports2) {
113632
113655
  "use strict";
113633
113656
  Object.defineProperty(exports2, "__esModule", { value: true });
113634
113657
  var equal = require_fast_deep_equal();
@@ -113637,9 +113660,9 @@ var require_equal = __commonJS({
113637
113660
  }
113638
113661
  });
113639
113662
 
113640
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
113663
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
113641
113664
  var require_uniqueItems = __commonJS({
113642
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
113665
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
113643
113666
  "use strict";
113644
113667
  Object.defineProperty(exports2, "__esModule", { value: true });
113645
113668
  var dataType_1 = require_dataType();
@@ -113704,9 +113727,9 @@ var require_uniqueItems = __commonJS({
113704
113727
  }
113705
113728
  });
113706
113729
 
113707
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/const.js
113730
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
113708
113731
  var require_const = __commonJS({
113709
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
113732
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
113710
113733
  "use strict";
113711
113734
  Object.defineProperty(exports2, "__esModule", { value: true });
113712
113735
  var codegen_1 = require_codegen();
@@ -113733,9 +113756,9 @@ var require_const = __commonJS({
113733
113756
  }
113734
113757
  });
113735
113758
 
113736
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/enum.js
113759
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
113737
113760
  var require_enum = __commonJS({
113738
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
113761
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
113739
113762
  "use strict";
113740
113763
  Object.defineProperty(exports2, "__esModule", { value: true });
113741
113764
  var codegen_1 = require_codegen();
@@ -113782,9 +113805,9 @@ var require_enum = __commonJS({
113782
113805
  }
113783
113806
  });
113784
113807
 
113785
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/index.js
113808
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
113786
113809
  var require_validation2 = __commonJS({
113787
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
113810
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
113788
113811
  "use strict";
113789
113812
  Object.defineProperty(exports2, "__esModule", { value: true });
113790
113813
  var limitNumber_1 = require_limitNumber();
@@ -113820,9 +113843,9 @@ var require_validation2 = __commonJS({
113820
113843
  }
113821
113844
  });
113822
113845
 
113823
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
113846
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
113824
113847
  var require_additionalItems = __commonJS({
113825
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
113848
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
113826
113849
  "use strict";
113827
113850
  Object.defineProperty(exports2, "__esModule", { value: true });
113828
113851
  exports2.validateAdditionalItems = void 0;
@@ -113873,9 +113896,9 @@ var require_additionalItems = __commonJS({
113873
113896
  }
113874
113897
  });
113875
113898
 
113876
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items.js
113899
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
113877
113900
  var require_items = __commonJS({
113878
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
113901
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
113879
113902
  "use strict";
113880
113903
  Object.defineProperty(exports2, "__esModule", { value: true });
113881
113904
  exports2.validateTuple = void 0;
@@ -113930,9 +113953,9 @@ var require_items = __commonJS({
113930
113953
  }
113931
113954
  });
113932
113955
 
113933
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
113956
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
113934
113957
  var require_prefixItems = __commonJS({
113935
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
113958
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
113936
113959
  "use strict";
113937
113960
  Object.defineProperty(exports2, "__esModule", { value: true });
113938
113961
  var items_1 = require_items();
@@ -113947,9 +113970,9 @@ var require_prefixItems = __commonJS({
113947
113970
  }
113948
113971
  });
113949
113972
 
113950
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items2020.js
113973
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
113951
113974
  var require_items2020 = __commonJS({
113952
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
113975
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
113953
113976
  "use strict";
113954
113977
  Object.defineProperty(exports2, "__esModule", { value: true });
113955
113978
  var codegen_1 = require_codegen();
@@ -113982,9 +114005,9 @@ var require_items2020 = __commonJS({
113982
114005
  }
113983
114006
  });
113984
114007
 
113985
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/contains.js
114008
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
113986
114009
  var require_contains = __commonJS({
113987
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
114010
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
113988
114011
  "use strict";
113989
114012
  Object.defineProperty(exports2, "__esModule", { value: true });
113990
114013
  var codegen_1 = require_codegen();
@@ -114076,9 +114099,9 @@ var require_contains = __commonJS({
114076
114099
  }
114077
114100
  });
114078
114101
 
114079
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
114102
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
114080
114103
  var require_dependencies = __commonJS({
114081
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
114104
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
114082
114105
  "use strict";
114083
114106
  Object.defineProperty(exports2, "__esModule", { value: true });
114084
114107
  exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
@@ -114170,9 +114193,9 @@ var require_dependencies = __commonJS({
114170
114193
  }
114171
114194
  });
114172
114195
 
114173
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
114196
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
114174
114197
  var require_propertyNames = __commonJS({
114175
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
114198
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
114176
114199
  "use strict";
114177
114200
  Object.defineProperty(exports2, "__esModule", { value: true });
114178
114201
  var codegen_1 = require_codegen();
@@ -114213,9 +114236,9 @@ var require_propertyNames = __commonJS({
114213
114236
  }
114214
114237
  });
114215
114238
 
114216
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
114239
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
114217
114240
  var require_additionalProperties = __commonJS({
114218
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
114241
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
114219
114242
  "use strict";
114220
114243
  Object.defineProperty(exports2, "__esModule", { value: true });
114221
114244
  var code_1 = require_code2();
@@ -114319,9 +114342,9 @@ var require_additionalProperties = __commonJS({
114319
114342
  }
114320
114343
  });
114321
114344
 
114322
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/properties.js
114345
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
114323
114346
  var require_properties = __commonJS({
114324
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
114347
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
114325
114348
  "use strict";
114326
114349
  Object.defineProperty(exports2, "__esModule", { value: true });
114327
114350
  var validate_1 = require_validate();
@@ -114377,9 +114400,9 @@ var require_properties = __commonJS({
114377
114400
  }
114378
114401
  });
114379
114402
 
114380
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
114403
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
114381
114404
  var require_patternProperties = __commonJS({
114382
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
114405
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
114383
114406
  "use strict";
114384
114407
  Object.defineProperty(exports2, "__esModule", { value: true });
114385
114408
  var code_1 = require_code2();
@@ -114451,9 +114474,9 @@ var require_patternProperties = __commonJS({
114451
114474
  }
114452
114475
  });
114453
114476
 
114454
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/not.js
114477
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
114455
114478
  var require_not = __commonJS({
114456
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
114479
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
114457
114480
  "use strict";
114458
114481
  Object.defineProperty(exports2, "__esModule", { value: true });
114459
114482
  var util_1 = require_util3();
@@ -114482,9 +114505,9 @@ var require_not = __commonJS({
114482
114505
  }
114483
114506
  });
114484
114507
 
114485
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
114508
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
114486
114509
  var require_anyOf = __commonJS({
114487
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
114510
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
114488
114511
  "use strict";
114489
114512
  Object.defineProperty(exports2, "__esModule", { value: true });
114490
114513
  var code_1 = require_code2();
@@ -114499,9 +114522,9 @@ var require_anyOf = __commonJS({
114499
114522
  }
114500
114523
  });
114501
114524
 
114502
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
114525
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
114503
114526
  var require_oneOf = __commonJS({
114504
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
114527
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
114505
114528
  "use strict";
114506
114529
  Object.defineProperty(exports2, "__esModule", { value: true });
114507
114530
  var codegen_1 = require_codegen();
@@ -114557,9 +114580,9 @@ var require_oneOf = __commonJS({
114557
114580
  }
114558
114581
  });
114559
114582
 
114560
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/allOf.js
114583
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
114561
114584
  var require_allOf = __commonJS({
114562
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
114585
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
114563
114586
  "use strict";
114564
114587
  Object.defineProperty(exports2, "__esModule", { value: true });
114565
114588
  var util_1 = require_util3();
@@ -114584,9 +114607,9 @@ var require_allOf = __commonJS({
114584
114607
  }
114585
114608
  });
114586
114609
 
114587
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/if.js
114610
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
114588
114611
  var require_if = __commonJS({
114589
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
114612
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
114590
114613
  "use strict";
114591
114614
  Object.defineProperty(exports2, "__esModule", { value: true });
114592
114615
  var codegen_1 = require_codegen();
@@ -114653,9 +114676,9 @@ var require_if = __commonJS({
114653
114676
  }
114654
114677
  });
114655
114678
 
114656
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
114679
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
114657
114680
  var require_thenElse = __commonJS({
114658
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
114681
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
114659
114682
  "use strict";
114660
114683
  Object.defineProperty(exports2, "__esModule", { value: true });
114661
114684
  var util_1 = require_util3();
@@ -114671,9 +114694,9 @@ var require_thenElse = __commonJS({
114671
114694
  }
114672
114695
  });
114673
114696
 
114674
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/index.js
114697
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
114675
114698
  var require_applicator = __commonJS({
114676
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
114699
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
114677
114700
  "use strict";
114678
114701
  Object.defineProperty(exports2, "__esModule", { value: true });
114679
114702
  var additionalItems_1 = require_additionalItems();
@@ -114719,9 +114742,9 @@ var require_applicator = __commonJS({
114719
114742
  }
114720
114743
  });
114721
114744
 
114722
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/format.js
114745
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
114723
114746
  var require_format3 = __commonJS({
114724
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
114747
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
114725
114748
  "use strict";
114726
114749
  Object.defineProperty(exports2, "__esModule", { value: true });
114727
114750
  var codegen_1 = require_codegen();
@@ -114809,9 +114832,9 @@ var require_format3 = __commonJS({
114809
114832
  }
114810
114833
  });
114811
114834
 
114812
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/index.js
114835
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
114813
114836
  var require_format4 = __commonJS({
114814
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
114837
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
114815
114838
  "use strict";
114816
114839
  Object.defineProperty(exports2, "__esModule", { value: true });
114817
114840
  var format_1 = require_format3();
@@ -114820,9 +114843,9 @@ var require_format4 = __commonJS({
114820
114843
  }
114821
114844
  });
114822
114845
 
114823
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/metadata.js
114846
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
114824
114847
  var require_metadata2 = __commonJS({
114825
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
114848
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
114826
114849
  "use strict";
114827
114850
  Object.defineProperty(exports2, "__esModule", { value: true });
114828
114851
  exports2.contentVocabulary = exports2.metadataVocabulary = void 0;
@@ -114843,9 +114866,9 @@ var require_metadata2 = __commonJS({
114843
114866
  }
114844
114867
  });
114845
114868
 
114846
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/draft7.js
114869
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
114847
114870
  var require_draft7 = __commonJS({
114848
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
114871
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
114849
114872
  "use strict";
114850
114873
  Object.defineProperty(exports2, "__esModule", { value: true });
114851
114874
  var core_1 = require_core5();
@@ -114865,9 +114888,9 @@ var require_draft7 = __commonJS({
114865
114888
  }
114866
114889
  });
114867
114890
 
114868
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/types.js
114891
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
114869
114892
  var require_types5 = __commonJS({
114870
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
114893
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
114871
114894
  "use strict";
114872
114895
  Object.defineProperty(exports2, "__esModule", { value: true });
114873
114896
  exports2.DiscrError = void 0;
@@ -114879,9 +114902,9 @@ var require_types5 = __commonJS({
114879
114902
  }
114880
114903
  });
114881
114904
 
114882
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/index.js
114905
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
114883
114906
  var require_discriminator = __commonJS({
114884
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
114907
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
114885
114908
  "use strict";
114886
114909
  Object.defineProperty(exports2, "__esModule", { value: true });
114887
114910
  var codegen_1 = require_codegen();
@@ -114984,9 +115007,9 @@ var require_discriminator = __commonJS({
114984
115007
  }
114985
115008
  });
114986
115009
 
114987
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/json-schema-draft-07.json
115010
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
114988
115011
  var require_json_schema_draft_07 = __commonJS({
114989
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
115012
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
114990
115013
  module2.exports = {
114991
115014
  $schema: "http://json-schema.org/draft-07/schema#",
114992
115015
  $id: "http://json-schema.org/draft-07/schema#",
@@ -115141,9 +115164,9 @@ var require_json_schema_draft_07 = __commonJS({
115141
115164
  }
115142
115165
  });
115143
115166
 
115144
- // ../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/ajv.js
115167
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js
115145
115168
  var require_ajv = __commonJS({
115146
- "../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/ajv.js"(exports2, module2) {
115169
+ "../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js"(exports2, module2) {
115147
115170
  "use strict";
115148
115171
  Object.defineProperty(exports2, "__esModule", { value: true });
115149
115172
  exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
@@ -161367,7 +161390,7 @@ async function getBackendSystem(system) {
161367
161390
  return backendSystem;
161368
161391
  }
161369
161392
 
161370
- // ../../node_modules/.pnpm/i18next@25.8.0_typescript@5.9.3/node_modules/i18next/dist/esm/i18next.js
161393
+ // ../../node_modules/.pnpm/i18next@25.8.12_typescript@5.9.3/node_modules/i18next/dist/esm/i18next.js
161371
161394
  var isString = (obj) => typeof obj === "string";
161372
161395
  var defer = () => {
161373
161396
  let res;
@@ -162391,7 +162414,7 @@ var PluralResolver = class {
162391
162414
  type
162392
162415
  });
162393
162416
  } catch (err) {
162394
- if (!Intl) {
162417
+ if (typeof Intl === "undefined") {
162395
162418
  this.logger.error("No Intl support, please use an Intl polyfill!");
162396
162419
  return dummyRule;
162397
162420
  }
@@ -162571,13 +162594,13 @@ var Interpolator = class {
162571
162594
  const handleHasOptions = (key, inheritedOptions) => {
162572
162595
  const sep2 = this.nestingOptionsSeparator;
162573
162596
  if (key.indexOf(sep2) < 0) return key;
162574
- const c = key.split(new RegExp(`${sep2}[ ]*{`));
162597
+ const c = key.split(new RegExp(`${regexEscape2(sep2)}[ ]*{`));
162575
162598
  let optionsString = `{${c[1]}`;
162576
162599
  key = c[0];
162577
162600
  optionsString = this.interpolate(optionsString, clonedOptions);
162578
162601
  const matchedSingleQuotes = optionsString.match(/'/g);
162579
162602
  const matchedDoubleQuotes = optionsString.match(/"/g);
162580
- if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || matchedDoubleQuotes.length % 2 !== 0) {
162603
+ if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || (matchedDoubleQuotes?.length ?? 0) % 2 !== 0) {
162581
162604
  optionsString = optionsString.replace(/'/g, '"');
162582
162605
  }
162583
162606
  try {
@@ -163058,6 +163081,19 @@ var bindMemberFunctions = (inst) => {
163058
163081
  }
163059
163082
  });
163060
163083
  };
163084
+ var SUPPORT_NOTICE_KEY = "__i18next_supportNoticeShown";
163085
+ var getSupportNoticeShown = () => typeof globalThis !== "undefined" && !!globalThis[SUPPORT_NOTICE_KEY];
163086
+ var setSupportNoticeShown = () => {
163087
+ if (typeof globalThis !== "undefined") globalThis[SUPPORT_NOTICE_KEY] = true;
163088
+ };
163089
+ var usesLocize = (inst) => {
163090
+ if (inst?.modules?.backend?.name?.indexOf("Locize") > 0) return true;
163091
+ if (inst?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0) return true;
163092
+ if (inst?.options?.backend?.backends) {
163093
+ if (inst.options.backend.backends.some((b) => b?.name?.indexOf("Locize") > 0 || b?.constructor?.name?.indexOf("Locize") > 0)) return true;
163094
+ }
163095
+ return false;
163096
+ };
163061
163097
  var I18n = class _I18n extends EventEmitter {
163062
163098
  constructor(options = {}, callback) {
163063
163099
  super();
@@ -163110,8 +163146,9 @@ var I18n = class _I18n extends EventEmitter {
163110
163146
  if (typeof this.options.overloadTranslationOptionHandler !== "function") {
163111
163147
  this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
163112
163148
  }
163113
- if (this.options.debug === true) {
163114
- if (typeof console !== "undefined") console.warn("i18next is maintained with support from locize.com \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");
163149
+ if (this.options.showSupportNotice !== false && !usesLocize(this) && !getSupportNoticeShown()) {
163150
+ if (typeof console !== "undefined" && typeof console.info !== "undefined") console.info("\u{1F310} i18next is maintained with support from Locize \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \u{1F499}");
163151
+ setSupportNoticeShown();
163115
163152
  }
163116
163153
  const createClassOnDemand = (ClassOrObject) => {
163117
163154
  if (!ClassOrObject) return null;
@@ -163588,47 +163625,46 @@ var i18n_en_default = {
163588
163625
  }
163589
163626
  },
163590
163627
  commands: {
163591
- openSystemDetails: "Open System Details",
163628
+ openSystemDetails: "Open Connection Manager for SAP Systems",
163592
163629
  quickpickPlaceholder: "Select an SAP system to view details"
163593
163630
  },
163594
163631
  confirmationPrompt: {
163595
163632
  yes: "Yes",
163596
163633
  no: "No",
163597
163634
  delete: "Delete [{{- system}}]? Your Fiori application may not run locally anymore.",
163598
- overwrite: "System already exists with name [{{- system}}]. Do you want to overwrite?"
163635
+ overwrite: "A connection with the same name [{{- system}}] already exists. Do you want to overwrite it?"
163599
163636
  },
163600
163637
  info: {
163601
163638
  numServices: "This SAP System [{{- system}}] returned {{v2}} OData V2 and {{v4}} OData V4 services.",
163602
- refreshingSystems: "Refreshing stored systems view.",
163603
- systemInfoUpdated: "System information updated.",
163604
- systemDeleted: "System [{{- system}}] deleted.",
163605
- systemExported: "System [{{- system}}] exported.",
163606
- systemSaved: "System [{{- system}}] saved.",
163607
- systemUpdated: "System [{{- system}}] updated.",
163639
+ refreshingConnections: "Refreshing stored connections view.",
163640
+ connectionInfoUpdated: "Connection information updated.",
163641
+ connectionDeleted: "Connection [{{- system}}] deleted.",
163642
+ connectionExported: "Connection [{{- system}}] exported.",
163643
+ connectionSaved: "Connection [{{- system}}] saved.",
163644
+ connectionUpdated: "Connection [{{- system}}] updated.",
163608
163645
  serviceMetadata: "Service metadata retrieved successfully.",
163609
163646
  noServiceMetadata: "Service metadata not available.",
163610
163647
  serviceRequestCheckLogs: "{{- url}} returned service data. Check the debug logs for the full metadata."
163611
163648
  },
163612
163649
  warn: {
163613
- deletionCancelled: "Deletion cancelled for system: [{{- system}}].",
163650
+ deletionCancelled: "Deletion cancelled for connection: [{{- system}}].",
163614
163651
  importCancelled: "Import cancelled."
163615
163652
  },
163616
163653
  error: {
163617
- deletingSystem: "Error deleting system: [{{- system}}].",
163618
- importConfigFailed: "Failed to import system configuration.",
163619
- noSystemsDefined: "No systems defined in configuration file: {{- filePath}}",
163620
- incompleteConfig: "System configuration is incomplete. A URL is required.",
163621
- loadingSystems: "Failed to load stored systems.",
163622
- unknownAction: "Unknown action type: {{- actionType}}",
163623
- systemNotFound: "System [{{- backendKey}}] not found in the secure store. Please ensure the system is saved correctly.",
163624
- exportFailure: "Failed to export system information: {{- error}}.",
163625
- urlMissing: "This saved SAP system is missing a URL and cannot be displayed.",
163626
- systemInfo: "Error during processing of system information: {{- error}}",
163627
- systemKeyExists: "System (URL + Client) already exists",
163628
- systemUpdateFailure: "Failed to update system information: {{- error}}",
163654
+ deletingConnection: "An error occurred when deleting connection: [{{- system}}].",
163655
+ importConfigFailed: "Failed to import the connection configuration.",
163656
+ noConnectionsDefined: "No connections defined in the configuration file: {{- filePath}}",
163657
+ incompleteConfig: "Connection configuration is incomplete. A URL is required.",
163658
+ loadingConnections: "Failed to load stored connections.",
163659
+ connectionNotFound: "Connection [{{- backendKey}}] not found in the secure store. Please ensure the connection is saved correctly.",
163660
+ exportFailure: "Failed to export connection information: {{- error}}.",
163661
+ connectionInfo: "An error occurred during processing of the connection information: {{- error}}",
163662
+ keyExists: "Connection (URL + Client) already exists",
163663
+ updateFailure: "Failed to update the connection information: {{- error}}",
163664
+ creationFailure: "Failed to create the connection information: {{- error}}",
163629
163665
  noServices: "This SAP system failed to return any services.",
163630
163666
  cert: {
163631
- urlValidation: "The system URL is using {{certError}} security certificate.",
163667
+ urlValidation: "The connection URL uses {{certError}} security certificate.",
163632
163668
  expired: "an expired",
163633
163669
  selfSigned: "a self-signed",
163634
163670
  unknownOrInvalid: "an unknown or invalid",
@@ -163640,11 +163676,10 @@ var i18n_en_default = {
163640
163676
  launchAppGen: "Failed to launch the SAP Fiori application generator for [{{- systemName}}].",
163641
163677
  catalogRequest: "The V{{version}} request failed with error: {{error}}.",
163642
163678
  guidedAnswersCmd: "Error executing command to open the Guided Answers extension: {{- error}}",
163643
- viewSystemDetails: "Error executing command to view system details.",
163679
+ viewConnectionDetails: "An error occurred when executing the command to view the connection details.",
163644
163680
  noFileSelected: "No file selected for import.",
163645
163681
  panelActionDispatch: "Error dispatching panel action: {{- error}}",
163646
163682
  noneSelected: "No SAP system selected.",
163647
- testConnection: "An error occurred when testing the connection: {{- error}}",
163648
163683
  systemInfoUpdate: "Failed to add the system information to the backend system: {{- error}}",
163649
163684
  serviceRequest: "An error occurred while requesting the service metadata: {{- error}}"
163650
163685
  },
@@ -163654,8 +163689,8 @@ var i18n_en_default = {
163654
163689
  },
163655
163690
  validation: {
163656
163691
  provideUrl: "Please provide a valid URL to test the connection.",
163657
- systemNameExists: "System name is already in use",
163658
- systemUrlInvalid: "The URL '{{- url}}' provided is invalid"
163692
+ connectionNameExists: "This connection name already exists. Choose a different name.",
163693
+ urlInvalid: "The URL '{{- url}}' provided is invalid"
163659
163694
  },
163660
163695
  telemetry: {
163661
163696
  unknownOs: "Unknown",
@@ -163740,7 +163775,7 @@ function shouldStoreSystemInfo(system) {
163740
163775
  var import_telemetry = __toESM(require_dist15());
163741
163776
 
163742
163777
  // package.json
163743
- var version = "0.3.2";
163778
+ var version = "0.3.4";
163744
163779
 
163745
163780
  // src/utils/telemetryHelper.ts
163746
163781
  var import_feature_toggle = __toESM(require_dist16());
@@ -163864,7 +163899,12 @@ var SapSystemsProvider = class {
163864
163899
  async getChildren() {
163865
163900
  const systems = await this.loadSystems();
163866
163901
  return systems.map((s) => {
163867
- return { name: getDisplayName(s), url: s.url, client: s.client };
163902
+ return {
163903
+ name: getDisplayName(s),
163904
+ url: s.url,
163905
+ client: s.client,
163906
+ connectionType: s.connectionType
163907
+ };
163868
163908
  })?.sort((a, b) => a.name.localeCompare(b.name, void 0, { numeric: true, caseFirst: "lower" }));
163869
163909
  }
163870
163910
  /**
@@ -163879,7 +163919,7 @@ var SapSystemsProvider = class {
163879
163919
  const systemTreeItem = {
163880
163920
  ...item,
163881
163921
  ...props,
163882
- contextValue: "sapSystem"
163922
+ contextValue: `sapSystem-${system.connectionType}`
163883
163923
  };
163884
163924
  return systemTreeItem;
163885
163925
  }
@@ -163931,7 +163971,7 @@ var SapSystemsProvider = class {
163931
163971
  });
163932
163972
  return systems;
163933
163973
  } catch (error) {
163934
- SystemsLogger.logger.error(t2("error.loadingSystems"));
163974
+ SystemsLogger.logger.error(t2("error.loadingConnections"));
163935
163975
  SystemsLogger.logger.debug(error.message);
163936
163976
  return [];
163937
163977
  } finally {
@@ -164057,13 +164097,16 @@ function validateSystemInfo(input) {
164057
164097
  }
164058
164098
  async function validateSystemName(newName, currentName) {
164059
164099
  const systemService = await getBackendSystemService();
164060
- const allSystems = await systemService.getAll({ includeSensitiveData: false });
164100
+ const allSystems = await systemService.getAll({
164101
+ includeSensitiveData: false,
164102
+ backendSystemFilter: { connectionType: ["abap_catalog", "odata_service"] }
164103
+ });
164061
164104
  const newSystemName = newName.trim();
164062
164105
  const nameExists = allSystems.some(
164063
164106
  (sys) => sys.name.toLowerCase() === newSystemName.toLowerCase() && sys.name !== currentName
164064
164107
  );
164065
164108
  if (nameExists) {
164066
- throw t2("validation.systemNameExists");
164109
+ throw t2("validation.connectionNameExists");
164067
164110
  }
164068
164111
  return true;
164069
164112
  }
@@ -164072,7 +164115,7 @@ function validateSystemUrl(url) {
164072
164115
  new URL(url);
164073
164116
  return true;
164074
164117
  } catch {
164075
- throw t2("validation.systemUrlInvalid", { url });
164118
+ throw t2("validation.urlInvalid", { url });
164076
164119
  }
164077
164120
  }
164078
164121
 
@@ -164097,7 +164140,7 @@ var import_normalize_path = __toESM(require_normalize_path());
164097
164140
  var import_fast_glob = __toESM(require_out4());
164098
164141
  async function createWebviewPanel(webappDirPath, disposeCallback, onMessage) {
164099
164142
  const viewRootUri = import_vscode5.Uri.file(webappDirPath);
164100
- const webviewPanel = import_vscode5.window.createWebviewPanel("sap.ux.tools.sapSystems.show", `SAP Systems`, import_vscode5.ViewColumn.One, {
164143
+ const webviewPanel = import_vscode5.window.createWebviewPanel("sap.ux.tools.sapSystems.show", `SAP System`, import_vscode5.ViewColumn.One, {
164101
164144
  enableCommandUris: true,
164102
164145
  enableScripts: true,
164103
164146
  retainContextWhenHidden: true,
@@ -164110,7 +164153,7 @@ async function createWebviewPanel(webappDirPath, disposeCallback, onMessage) {
164110
164153
  if (onMessage) {
164111
164154
  webviewPanel.webview.onDidReceiveMessage((action) => {
164112
164155
  onMessage(action).catch((e) => {
164113
- SystemsLogger.logger.error(t2("error.systemInfo", { error: e }));
164156
+ SystemsLogger.logger.error(t2("error.connectionInfo", { error: e }));
164114
164157
  });
164115
164158
  });
164116
164159
  }
@@ -164140,7 +164183,7 @@ async function getSystemPanelHtmlForWebview({
164140
164183
  <head>
164141
164184
  <meta charset="utf-8">
164142
164185
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
164143
- <title>SAP Systems</title>
164186
+ <title>SAP System</title>
164144
164187
  <base href="./">
164145
164188
  <link rel="stylesheet" type="text/css" href="${viewRootUri}/${storeCss}">
164146
164189
  </head>
@@ -164260,7 +164303,7 @@ var exportSystem = async (_context, action) => {
164260
164303
  const system = action.payload.system;
164261
164304
  const backendSystem = await getBackendSystem({ url: system.url, client: system.client });
164262
164305
  if (!backendSystem) {
164263
- SystemsLogger.logger.error(t2("error.systemNotFound", { systemName: system.name }));
164306
+ SystemsLogger.logger.error(t2("error.connectionNotFound", { systemName: system.name }));
164264
164307
  return;
164265
164308
  }
164266
164309
  try {
@@ -164278,7 +164321,7 @@ var exportSystem = async (_context, action) => {
164278
164321
  if (filePath?.fsPath) {
164279
164322
  const data = JSON.stringify(systemDetails, null, 2);
164280
164323
  (0, import_node_fs.writeFileSync)(filePath.fsPath, data);
164281
- import_vscode6.window.showInformationMessage(t2("info.systemExported", geti18nOpts(backendSystem.name)));
164324
+ import_vscode6.window.showInformationMessage(t2("info.connectionExported", geti18nOpts(backendSystem.name)));
164282
164325
  logTelemetry("EXPORT_SUCCESS" /* EXPORT_SUCCESS */);
164283
164326
  }
164284
164327
  } catch (e) {
@@ -164380,36 +164423,37 @@ async function updateHandler(context4, newSystem, systemExistsInStore) {
164380
164423
  let newPanelMsg;
164381
164424
  if (panelViewType === 0 /* Create */ || panelViewType === 2 /* Import */) {
164382
164425
  if (systemExistsInStore) {
164383
- throw t2("error.systemKeyExists");
164426
+ throw t2("error.keyExists");
164384
164427
  }
164385
164428
  context4.disposePanel();
164386
- newPanelMsg = t2("info.systemSaved", { system: newSystem.name });
164429
+ newPanelMsg = t2("info.connectionSaved", { system: newSystem.name });
164387
164430
  }
164388
164431
  if (panelViewType === 1 /* View */ && systemExistsInStore) {
164389
164432
  if (compareSystems(context4.backendSystem, newSystem)) {
164390
164433
  context4.updateBackendSystem(newSystem);
164391
164434
  await context4.postMessage(
164392
164435
  updateSystemStatus({
164393
- message: t2("info.systemInfoUpdated"),
164436
+ message: t2("info.connectionInfoUpdated"),
164394
164437
  updateSuccess: true
164395
164438
  })
164396
164439
  );
164397
164440
  } else {
164398
- throw t2("error.systemKeyExists");
164441
+ throw t2("error.keyExists");
164399
164442
  }
164400
164443
  }
164401
164444
  if (panelViewType === 1 /* View */ && !systemExistsInStore && context4.backendSystem) {
164402
164445
  context4.disposePanel();
164403
164446
  const systemService = await getBackendSystemService();
164404
164447
  await systemService.delete(context4.backendSystem);
164405
- newPanelMsg = t2("info.systemUpdated", { system: newSystem.name });
164448
+ newPanelMsg = t2("info.connectionUpdated", { system: newSystem.name });
164406
164449
  }
164407
164450
  return newPanelMsg;
164408
164451
  }
164409
164452
  async function postSavingError(errorMsg, postMessage, systemExistsInStore, systemType = "unknown") {
164453
+ const message = t2(systemExistsInStore ? "error.updateFailure" : "error.creationFailure", { error: errorMsg });
164410
164454
  postMessage(
164411
164455
  updateSystemStatus({
164412
- message: t2("error.systemUpdateFailure", { error: errorMsg }),
164456
+ message,
164413
164457
  updateSuccess: false
164414
164458
  })
164415
164459
  );
@@ -164428,7 +164472,7 @@ async function saveSystem(backendSystem, systemExistsInStore, systemPanelViewTyp
164428
164472
  await systemService.write(newBackendSystem, {
164429
164473
  force: systemExistsInStore
164430
164474
  });
164431
- const i18nKey = systemPanelViewType === 0 /* Create */ ? "info.systemSaved" : "info.systemUpdated";
164475
+ const i18nKey = systemPanelViewType === 0 /* Create */ ? "info.connectionSaved" : "info.connectionUpdated";
164432
164476
  import_vscode7.window.showInformationMessage(t2(i18nKey, geti18nOpts(backendSystem.name)));
164433
164477
  TelemetryHelper.sendTelemetry(SYSTEMS_EVENT, {
164434
164478
  action: "SYSTEM" /* SYSTEM */,
@@ -164818,13 +164862,13 @@ var showSystemsCommandHandler = (context4) => async (system, statusMsg) => {
164818
164862
  const backendSystemKey = await getBackendSystemKey(systemService, system);
164819
164863
  const storedBackendSystem = await systemService.read(backendSystemKey);
164820
164864
  if (!storedBackendSystem) {
164821
- import_vscode10.window.showErrorMessage(t2("error.systemNotFound", { backendKey: backendSystemKey.getId() }));
164865
+ import_vscode10.window.showErrorMessage(t2("error.connectionNotFound", { backendKey: backendSystemKey.getId() }));
164822
164866
  return;
164823
164867
  }
164824
164868
  openSystemPanel(context4, backendSystemKey, storedBackendSystem, statusMsg);
164825
164869
  } catch (e) {
164826
164870
  const errorMessage = e instanceof Error ? e.message : void 0;
164827
- import_vscode10.window.showErrorMessage(errorMessage ?? t2("error.viewSystemDetails"));
164871
+ import_vscode10.window.showErrorMessage(errorMessage ?? t2("error.viewConnectionDetails"));
164828
164872
  logTelemetryFailure();
164829
164873
  }
164830
164874
  };
@@ -164836,7 +164880,10 @@ async function getBackendSystemKey(systemService, system) {
164836
164880
  }
164837
164881
  }
164838
164882
  async function sapSystemDropdownPicker(systemService) {
164839
- const allBackendSystems = await systemService.getAll({ includeSensitiveData: false });
164883
+ const allBackendSystems = await systemService.getAll({
164884
+ includeSensitiveData: false,
164885
+ backendSystemFilter: { connectionType: ["abap_catalog", "odata_service"] }
164886
+ });
164840
164887
  const quickPickItems = allBackendSystems.map((system) => ({
164841
164888
  label: system.name,
164842
164889
  systemKey: new import_store5.BackendSystemKey({ url: system.url, client: system.client })
@@ -164883,7 +164930,7 @@ var deleteSystemCommandHandler = (context4) => async (system) => {
164883
164930
  const systemService = await getBackendSystemService();
164884
164931
  const backendSystem = await systemService.read(backendSystemKey);
164885
164932
  if (!backendSystem) {
164886
- import_vscode11.window.showErrorMessage(t2("error.systemNotFound", { backendKey: backendSystemKey.getId() }));
164933
+ import_vscode11.window.showErrorMessage(t2("error.connectionNotFound", { backendKey: backendSystemKey.getId() }));
164887
164934
  return;
164888
164935
  }
164889
164936
  if (!await confirmPrompt(1 /* Delete */, backendSystem.name)) {
@@ -164900,10 +164947,10 @@ var deleteSystemCommandHandler = (context4) => async (system) => {
164900
164947
  function deletionSuccessHandler(panelManager, panelKey, backendSystem) {
164901
164948
  panelManager.deleteAndDispose(panelKey);
164902
164949
  logTelemetry2("DELETED_SUCCESS" /* DELETED_SUCCESS */, backendSystem.systemType);
164903
- import_vscode11.window.showInformationMessage(t2("info.systemDeleted", geti18nOpts(backendSystem.name)));
164950
+ import_vscode11.window.showInformationMessage(t2("info.connectionDeleted", geti18nOpts(backendSystem.name)));
164904
164951
  }
164905
164952
  function deletionFailureHandler(system) {
164906
- import_vscode11.window.showWarningMessage(t2("error.deletingSystem", geti18nOpts(system.name)));
164953
+ import_vscode11.window.showWarningMessage(t2("error.deletingConnection", geti18nOpts(system.name)));
164907
164954
  logTelemetry2("DELETED_FAIL" /* DELETED_FAIL */, system.systemType);
164908
164955
  }
164909
164956
  function logTelemetry2(status, systemType = "") {
@@ -164916,7 +164963,7 @@ function logTelemetry2(status, systemType = "") {
164916
164963
 
164917
164964
  // src/commands/system/refresh.ts
164918
164965
  var refreshSystemsCommandHandler = (commandContext) => async () => {
164919
- SystemsLogger.logger.info(t2("info.refreshingSystems"));
164966
+ SystemsLogger.logger.info(t2("info.refreshingConnections"));
164920
164967
  commandContext.extContext.systemsTreeDataProvider?.refresh();
164921
164968
  };
164922
164969
 
@@ -165001,7 +165048,7 @@ function readConfig(filePath) {
165001
165048
  const raw = (0, import_node_fs2.readFileSync)(filePath, "utf8");
165002
165049
  const [systemConfig] = JSON.parse(raw).systems ?? [];
165003
165050
  if (!systemConfig) {
165004
- throw new Error(t2("error.noSystemsDefined", { filePath }));
165051
+ throw new Error(t2("error.noConnectionsDefined", { filePath }));
165005
165052
  }
165006
165053
  return systemConfig;
165007
165054
  }