sap-ux-sap-systems-ext 0.3.3 → 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 +202 -183
- package/dist/webapp/store.css +1 -1
- package/dist/webapp/store.js +37 -37
- package/package.json +7 -7
package/dist/extension.js
CHANGED
|
@@ -54324,7 +54324,7 @@ var require_package6 = __commonJS({
|
|
|
54324
54324
|
"../telemetry/package.json"(exports2, module2) {
|
|
54325
54325
|
module2.exports = {
|
|
54326
54326
|
name: "@sap-ux/telemetry",
|
|
54327
|
-
version: "0.6.
|
|
54327
|
+
version: "0.6.78",
|
|
54328
54328
|
description: "Library for sending usage telemetry data",
|
|
54329
54329
|
repository: {
|
|
54330
54330
|
type: "git",
|
|
@@ -108837,9 +108837,9 @@ var require_constants9 = __commonJS({
|
|
|
108837
108837
|
}
|
|
108838
108838
|
});
|
|
108839
108839
|
|
|
108840
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
108840
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
108841
108841
|
var require_code = __commonJS({
|
|
108842
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
108842
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
|
|
108843
108843
|
"use strict";
|
|
108844
108844
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
108845
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;
|
|
@@ -108991,9 +108991,9 @@ var require_code = __commonJS({
|
|
|
108991
108991
|
}
|
|
108992
108992
|
});
|
|
108993
108993
|
|
|
108994
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
108994
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
108995
108995
|
var require_scope = __commonJS({
|
|
108996
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
108996
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
|
|
108997
108997
|
"use strict";
|
|
108998
108998
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
108999
108999
|
exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
|
|
@@ -109136,9 +109136,9 @@ var require_scope = __commonJS({
|
|
|
109136
109136
|
}
|
|
109137
109137
|
});
|
|
109138
109138
|
|
|
109139
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
109139
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
109140
109140
|
var require_codegen = __commonJS({
|
|
109141
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
109141
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
|
|
109142
109142
|
"use strict";
|
|
109143
109143
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
109144
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;
|
|
@@ -109856,9 +109856,9 @@ var require_codegen = __commonJS({
|
|
|
109856
109856
|
}
|
|
109857
109857
|
});
|
|
109858
109858
|
|
|
109859
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
109859
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
|
|
109860
109860
|
var require_util3 = __commonJS({
|
|
109861
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
109861
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js"(exports2) {
|
|
109862
109862
|
"use strict";
|
|
109863
109863
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
109864
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;
|
|
@@ -110023,9 +110023,9 @@ var require_util3 = __commonJS({
|
|
|
110023
110023
|
}
|
|
110024
110024
|
});
|
|
110025
110025
|
|
|
110026
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110026
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
|
|
110027
110027
|
var require_names = __commonJS({
|
|
110028
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110028
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js"(exports2) {
|
|
110029
110029
|
"use strict";
|
|
110030
110030
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110031
110031
|
var codegen_1 = require_codegen();
|
|
@@ -110062,9 +110062,9 @@ var require_names = __commonJS({
|
|
|
110062
110062
|
}
|
|
110063
110063
|
});
|
|
110064
110064
|
|
|
110065
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110065
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
|
|
110066
110066
|
var require_errors5 = __commonJS({
|
|
110067
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110067
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js"(exports2) {
|
|
110068
110068
|
"use strict";
|
|
110069
110069
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110070
110070
|
exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
|
|
@@ -110184,9 +110184,9 @@ var require_errors5 = __commonJS({
|
|
|
110184
110184
|
}
|
|
110185
110185
|
});
|
|
110186
110186
|
|
|
110187
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110187
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
110188
110188
|
var require_boolSchema = __commonJS({
|
|
110189
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110189
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
|
|
110190
110190
|
"use strict";
|
|
110191
110191
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110192
110192
|
exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = void 0;
|
|
@@ -110235,9 +110235,9 @@ var require_boolSchema = __commonJS({
|
|
|
110235
110235
|
}
|
|
110236
110236
|
});
|
|
110237
110237
|
|
|
110238
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110238
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
|
|
110239
110239
|
var require_rules = __commonJS({
|
|
110240
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110240
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js"(exports2) {
|
|
110241
110241
|
"use strict";
|
|
110242
110242
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110243
110243
|
exports2.getRules = exports2.isJSONType = void 0;
|
|
@@ -110266,9 +110266,9 @@ var require_rules = __commonJS({
|
|
|
110266
110266
|
}
|
|
110267
110267
|
});
|
|
110268
110268
|
|
|
110269
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110269
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
110270
110270
|
var require_applicability = __commonJS({
|
|
110271
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110271
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
|
|
110272
110272
|
"use strict";
|
|
110273
110273
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110274
110274
|
exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = void 0;
|
|
@@ -110289,9 +110289,9 @@ var require_applicability = __commonJS({
|
|
|
110289
110289
|
}
|
|
110290
110290
|
});
|
|
110291
110291
|
|
|
110292
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110292
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
110293
110293
|
var require_dataType = __commonJS({
|
|
110294
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110294
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
|
|
110295
110295
|
"use strict";
|
|
110296
110296
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110297
110297
|
exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = void 0;
|
|
@@ -110473,9 +110473,9 @@ var require_dataType = __commonJS({
|
|
|
110473
110473
|
}
|
|
110474
110474
|
});
|
|
110475
110475
|
|
|
110476
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110476
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
110477
110477
|
var require_defaults2 = __commonJS({
|
|
110478
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110478
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
|
|
110479
110479
|
"use strict";
|
|
110480
110480
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110481
110481
|
exports2.assignDefaults = void 0;
|
|
@@ -110510,9 +110510,9 @@ var require_defaults2 = __commonJS({
|
|
|
110510
110510
|
}
|
|
110511
110511
|
});
|
|
110512
110512
|
|
|
110513
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110513
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
|
|
110514
110514
|
var require_code2 = __commonJS({
|
|
110515
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110515
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
|
|
110516
110516
|
"use strict";
|
|
110517
110517
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110518
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;
|
|
@@ -110643,9 +110643,9 @@ var require_code2 = __commonJS({
|
|
|
110643
110643
|
}
|
|
110644
110644
|
});
|
|
110645
110645
|
|
|
110646
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110646
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
110647
110647
|
var require_keyword2 = __commonJS({
|
|
110648
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110648
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
|
|
110649
110649
|
"use strict";
|
|
110650
110650
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110651
110651
|
exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = void 0;
|
|
@@ -110761,9 +110761,9 @@ var require_keyword2 = __commonJS({
|
|
|
110761
110761
|
}
|
|
110762
110762
|
});
|
|
110763
110763
|
|
|
110764
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110764
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
110765
110765
|
var require_subschema = __commonJS({
|
|
110766
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110766
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
|
|
110767
110767
|
"use strict";
|
|
110768
110768
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110769
110769
|
exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = void 0;
|
|
@@ -110967,9 +110967,9 @@ var require_json_schema_traverse = __commonJS({
|
|
|
110967
110967
|
}
|
|
110968
110968
|
});
|
|
110969
110969
|
|
|
110970
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
110970
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
|
|
110971
110971
|
var require_resolve2 = __commonJS({
|
|
110972
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
110972
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js"(exports2) {
|
|
110973
110973
|
"use strict";
|
|
110974
110974
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110975
110975
|
exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = void 0;
|
|
@@ -111123,9 +111123,9 @@ var require_resolve2 = __commonJS({
|
|
|
111123
111123
|
}
|
|
111124
111124
|
});
|
|
111125
111125
|
|
|
111126
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
111126
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
|
|
111127
111127
|
var require_validate = __commonJS({
|
|
111128
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
111128
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
|
|
111129
111129
|
"use strict";
|
|
111130
111130
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
111131
111131
|
exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = void 0;
|
|
@@ -111631,9 +111631,9 @@ var require_validate = __commonJS({
|
|
|
111631
111631
|
}
|
|
111632
111632
|
});
|
|
111633
111633
|
|
|
111634
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
111634
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
111635
111635
|
var require_validation_error = __commonJS({
|
|
111636
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
111636
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
|
|
111637
111637
|
"use strict";
|
|
111638
111638
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
111639
111639
|
var ValidationError = class extends Error {
|
|
@@ -111647,9 +111647,9 @@ var require_validation_error = __commonJS({
|
|
|
111647
111647
|
}
|
|
111648
111648
|
});
|
|
111649
111649
|
|
|
111650
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
111650
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
|
|
111651
111651
|
var require_ref_error = __commonJS({
|
|
111652
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
111652
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
|
|
111653
111653
|
"use strict";
|
|
111654
111654
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
111655
111655
|
var resolve_1 = require_resolve2();
|
|
@@ -111664,9 +111664,9 @@ var require_ref_error = __commonJS({
|
|
|
111664
111664
|
}
|
|
111665
111665
|
});
|
|
111666
111666
|
|
|
111667
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
111667
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
|
|
111668
111668
|
var require_compile2 = __commonJS({
|
|
111669
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
111669
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js"(exports2) {
|
|
111670
111670
|
"use strict";
|
|
111671
111671
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
111672
111672
|
exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = void 0;
|
|
@@ -111888,9 +111888,9 @@ var require_compile2 = __commonJS({
|
|
|
111888
111888
|
}
|
|
111889
111889
|
});
|
|
111890
111890
|
|
|
111891
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
111891
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
|
|
111892
111892
|
var require_data = __commonJS({
|
|
111893
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
111893
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
|
|
111894
111894
|
module2.exports = {
|
|
111895
111895
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
111896
111896
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -112574,9 +112574,9 @@ var require_fast_uri = __commonJS({
|
|
|
112574
112574
|
}
|
|
112575
112575
|
});
|
|
112576
112576
|
|
|
112577
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
112577
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
|
|
112578
112578
|
var require_uri2 = __commonJS({
|
|
112579
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
112579
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js"(exports2) {
|
|
112580
112580
|
"use strict";
|
|
112581
112581
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
112582
112582
|
var uri = require_fast_uri();
|
|
@@ -112585,9 +112585,9 @@ var require_uri2 = __commonJS({
|
|
|
112585
112585
|
}
|
|
112586
112586
|
});
|
|
112587
112587
|
|
|
112588
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
112588
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js
|
|
112589
112589
|
var require_core4 = __commonJS({
|
|
112590
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
112590
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js"(exports2) {
|
|
112591
112591
|
"use strict";
|
|
112592
112592
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
112593
112593
|
exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
|
|
@@ -113196,9 +113196,9 @@ var require_core4 = __commonJS({
|
|
|
113196
113196
|
}
|
|
113197
113197
|
});
|
|
113198
113198
|
|
|
113199
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113199
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
113200
113200
|
var require_id = __commonJS({
|
|
113201
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113201
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
|
|
113202
113202
|
"use strict";
|
|
113203
113203
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113204
113204
|
var def = {
|
|
@@ -113211,9 +113211,9 @@ var require_id = __commonJS({
|
|
|
113211
113211
|
}
|
|
113212
113212
|
});
|
|
113213
113213
|
|
|
113214
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113214
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
113215
113215
|
var require_ref2 = __commonJS({
|
|
113216
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113216
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
|
|
113217
113217
|
"use strict";
|
|
113218
113218
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113219
113219
|
exports2.callRef = exports2.getValidate = void 0;
|
|
@@ -113333,9 +113333,9 @@ var require_ref2 = __commonJS({
|
|
|
113333
113333
|
}
|
|
113334
113334
|
});
|
|
113335
113335
|
|
|
113336
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113336
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
113337
113337
|
var require_core5 = __commonJS({
|
|
113338
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113338
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
|
|
113339
113339
|
"use strict";
|
|
113340
113340
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113341
113341
|
var id_1 = require_id();
|
|
@@ -113354,9 +113354,9 @@ var require_core5 = __commonJS({
|
|
|
113354
113354
|
}
|
|
113355
113355
|
});
|
|
113356
113356
|
|
|
113357
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113357
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
113358
113358
|
var require_limitNumber = __commonJS({
|
|
113359
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113359
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
|
|
113360
113360
|
"use strict";
|
|
113361
113361
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113362
113362
|
var codegen_1 = require_codegen();
|
|
@@ -113386,9 +113386,9 @@ var require_limitNumber = __commonJS({
|
|
|
113386
113386
|
}
|
|
113387
113387
|
});
|
|
113388
113388
|
|
|
113389
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113389
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
113390
113390
|
var require_multipleOf = __commonJS({
|
|
113391
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113391
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
|
|
113392
113392
|
"use strict";
|
|
113393
113393
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113394
113394
|
var codegen_1 = require_codegen();
|
|
@@ -113414,9 +113414,9 @@ var require_multipleOf = __commonJS({
|
|
|
113414
113414
|
}
|
|
113415
113415
|
});
|
|
113416
113416
|
|
|
113417
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113417
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
113418
113418
|
var require_ucs2length = __commonJS({
|
|
113419
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113419
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
|
|
113420
113420
|
"use strict";
|
|
113421
113421
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113422
113422
|
function ucs2length(str) {
|
|
@@ -113440,9 +113440,9 @@ var require_ucs2length = __commonJS({
|
|
|
113440
113440
|
}
|
|
113441
113441
|
});
|
|
113442
113442
|
|
|
113443
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113443
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
113444
113444
|
var require_limitLength = __commonJS({
|
|
113445
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113445
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
|
|
113446
113446
|
"use strict";
|
|
113447
113447
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113448
113448
|
var codegen_1 = require_codegen();
|
|
@@ -113472,12 +113472,13 @@ var require_limitLength = __commonJS({
|
|
|
113472
113472
|
}
|
|
113473
113473
|
});
|
|
113474
113474
|
|
|
113475
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113475
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
113476
113476
|
var require_pattern2 = __commonJS({
|
|
113477
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113477
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
|
|
113478
113478
|
"use strict";
|
|
113479
113479
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113480
113480
|
var code_1 = require_code2();
|
|
113481
|
+
var util_1 = require_util3();
|
|
113481
113482
|
var codegen_1 = require_codegen();
|
|
113482
113483
|
var error = {
|
|
113483
113484
|
message: ({ schemaCode }) => (0, codegen_1.str)`must match pattern "${schemaCode}"`,
|
|
@@ -113490,19 +113491,27 @@ var require_pattern2 = __commonJS({
|
|
|
113490
113491
|
$data: true,
|
|
113491
113492
|
error,
|
|
113492
113493
|
code(cxt) {
|
|
113493
|
-
const { data, $data, schema, schemaCode, it } = cxt;
|
|
113494
|
+
const { gen, data, $data, schema, schemaCode, it } = cxt;
|
|
113494
113495
|
const u = it.opts.unicodeRegExp ? "u" : "";
|
|
113495
|
-
|
|
113496
|
-
|
|
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
|
+
}
|
|
113497
113506
|
}
|
|
113498
113507
|
};
|
|
113499
113508
|
exports2.default = def;
|
|
113500
113509
|
}
|
|
113501
113510
|
});
|
|
113502
113511
|
|
|
113503
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113512
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
113504
113513
|
var require_limitProperties = __commonJS({
|
|
113505
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113514
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
|
|
113506
113515
|
"use strict";
|
|
113507
113516
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113508
113517
|
var codegen_1 = require_codegen();
|
|
@@ -113529,9 +113538,9 @@ var require_limitProperties = __commonJS({
|
|
|
113529
113538
|
}
|
|
113530
113539
|
});
|
|
113531
113540
|
|
|
113532
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113541
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
113533
113542
|
var require_required = __commonJS({
|
|
113534
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113543
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
|
|
113535
113544
|
"use strict";
|
|
113536
113545
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113537
113546
|
var code_1 = require_code2();
|
|
@@ -113611,9 +113620,9 @@ var require_required = __commonJS({
|
|
|
113611
113620
|
}
|
|
113612
113621
|
});
|
|
113613
113622
|
|
|
113614
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113623
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
113615
113624
|
var require_limitItems = __commonJS({
|
|
113616
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113625
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
|
|
113617
113626
|
"use strict";
|
|
113618
113627
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113619
113628
|
var codegen_1 = require_codegen();
|
|
@@ -113640,9 +113649,9 @@ var require_limitItems = __commonJS({
|
|
|
113640
113649
|
}
|
|
113641
113650
|
});
|
|
113642
113651
|
|
|
113643
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113652
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
|
|
113644
113653
|
var require_equal = __commonJS({
|
|
113645
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113654
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
113646
113655
|
"use strict";
|
|
113647
113656
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113648
113657
|
var equal = require_fast_deep_equal();
|
|
@@ -113651,9 +113660,9 @@ var require_equal = __commonJS({
|
|
|
113651
113660
|
}
|
|
113652
113661
|
});
|
|
113653
113662
|
|
|
113654
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113663
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
113655
113664
|
var require_uniqueItems = __commonJS({
|
|
113656
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113665
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
|
|
113657
113666
|
"use strict";
|
|
113658
113667
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113659
113668
|
var dataType_1 = require_dataType();
|
|
@@ -113718,9 +113727,9 @@ var require_uniqueItems = __commonJS({
|
|
|
113718
113727
|
}
|
|
113719
113728
|
});
|
|
113720
113729
|
|
|
113721
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113730
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
113722
113731
|
var require_const = __commonJS({
|
|
113723
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113732
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
|
|
113724
113733
|
"use strict";
|
|
113725
113734
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113726
113735
|
var codegen_1 = require_codegen();
|
|
@@ -113747,9 +113756,9 @@ var require_const = __commonJS({
|
|
|
113747
113756
|
}
|
|
113748
113757
|
});
|
|
113749
113758
|
|
|
113750
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113759
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
113751
113760
|
var require_enum = __commonJS({
|
|
113752
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113761
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
|
|
113753
113762
|
"use strict";
|
|
113754
113763
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113755
113764
|
var codegen_1 = require_codegen();
|
|
@@ -113796,9 +113805,9 @@ var require_enum = __commonJS({
|
|
|
113796
113805
|
}
|
|
113797
113806
|
});
|
|
113798
113807
|
|
|
113799
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113808
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
113800
113809
|
var require_validation2 = __commonJS({
|
|
113801
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113810
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
|
|
113802
113811
|
"use strict";
|
|
113803
113812
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113804
113813
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -113834,9 +113843,9 @@ var require_validation2 = __commonJS({
|
|
|
113834
113843
|
}
|
|
113835
113844
|
});
|
|
113836
113845
|
|
|
113837
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113846
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
113838
113847
|
var require_additionalItems = __commonJS({
|
|
113839
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113848
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
|
|
113840
113849
|
"use strict";
|
|
113841
113850
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113842
113851
|
exports2.validateAdditionalItems = void 0;
|
|
@@ -113887,9 +113896,9 @@ var require_additionalItems = __commonJS({
|
|
|
113887
113896
|
}
|
|
113888
113897
|
});
|
|
113889
113898
|
|
|
113890
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113899
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
113891
113900
|
var require_items = __commonJS({
|
|
113892
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113901
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
|
|
113893
113902
|
"use strict";
|
|
113894
113903
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113895
113904
|
exports2.validateTuple = void 0;
|
|
@@ -113944,9 +113953,9 @@ var require_items = __commonJS({
|
|
|
113944
113953
|
}
|
|
113945
113954
|
});
|
|
113946
113955
|
|
|
113947
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113956
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
113948
113957
|
var require_prefixItems = __commonJS({
|
|
113949
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113958
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
|
|
113950
113959
|
"use strict";
|
|
113951
113960
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113952
113961
|
var items_1 = require_items();
|
|
@@ -113961,9 +113970,9 @@ var require_prefixItems = __commonJS({
|
|
|
113961
113970
|
}
|
|
113962
113971
|
});
|
|
113963
113972
|
|
|
113964
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
113973
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
113965
113974
|
var require_items2020 = __commonJS({
|
|
113966
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
113975
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
|
|
113967
113976
|
"use strict";
|
|
113968
113977
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113969
113978
|
var codegen_1 = require_codegen();
|
|
@@ -113996,9 +114005,9 @@ var require_items2020 = __commonJS({
|
|
|
113996
114005
|
}
|
|
113997
114006
|
});
|
|
113998
114007
|
|
|
113999
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114008
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
114000
114009
|
var require_contains = __commonJS({
|
|
114001
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114010
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
|
|
114002
114011
|
"use strict";
|
|
114003
114012
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114004
114013
|
var codegen_1 = require_codegen();
|
|
@@ -114090,9 +114099,9 @@ var require_contains = __commonJS({
|
|
|
114090
114099
|
}
|
|
114091
114100
|
});
|
|
114092
114101
|
|
|
114093
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114102
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
114094
114103
|
var require_dependencies = __commonJS({
|
|
114095
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114104
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
|
|
114096
114105
|
"use strict";
|
|
114097
114106
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114098
114107
|
exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
|
|
@@ -114184,9 +114193,9 @@ var require_dependencies = __commonJS({
|
|
|
114184
114193
|
}
|
|
114185
114194
|
});
|
|
114186
114195
|
|
|
114187
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114196
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
114188
114197
|
var require_propertyNames = __commonJS({
|
|
114189
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114198
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
|
|
114190
114199
|
"use strict";
|
|
114191
114200
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114192
114201
|
var codegen_1 = require_codegen();
|
|
@@ -114227,9 +114236,9 @@ var require_propertyNames = __commonJS({
|
|
|
114227
114236
|
}
|
|
114228
114237
|
});
|
|
114229
114238
|
|
|
114230
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114239
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
114231
114240
|
var require_additionalProperties = __commonJS({
|
|
114232
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114241
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
|
|
114233
114242
|
"use strict";
|
|
114234
114243
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114235
114244
|
var code_1 = require_code2();
|
|
@@ -114333,9 +114342,9 @@ var require_additionalProperties = __commonJS({
|
|
|
114333
114342
|
}
|
|
114334
114343
|
});
|
|
114335
114344
|
|
|
114336
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114345
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
114337
114346
|
var require_properties = __commonJS({
|
|
114338
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114347
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
|
|
114339
114348
|
"use strict";
|
|
114340
114349
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114341
114350
|
var validate_1 = require_validate();
|
|
@@ -114391,9 +114400,9 @@ var require_properties = __commonJS({
|
|
|
114391
114400
|
}
|
|
114392
114401
|
});
|
|
114393
114402
|
|
|
114394
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114403
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
114395
114404
|
var require_patternProperties = __commonJS({
|
|
114396
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114405
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
|
|
114397
114406
|
"use strict";
|
|
114398
114407
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114399
114408
|
var code_1 = require_code2();
|
|
@@ -114465,9 +114474,9 @@ var require_patternProperties = __commonJS({
|
|
|
114465
114474
|
}
|
|
114466
114475
|
});
|
|
114467
114476
|
|
|
114468
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114477
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
114469
114478
|
var require_not = __commonJS({
|
|
114470
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114479
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
|
|
114471
114480
|
"use strict";
|
|
114472
114481
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114473
114482
|
var util_1 = require_util3();
|
|
@@ -114496,9 +114505,9 @@ var require_not = __commonJS({
|
|
|
114496
114505
|
}
|
|
114497
114506
|
});
|
|
114498
114507
|
|
|
114499
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114508
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
114500
114509
|
var require_anyOf = __commonJS({
|
|
114501
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114510
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
|
|
114502
114511
|
"use strict";
|
|
114503
114512
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114504
114513
|
var code_1 = require_code2();
|
|
@@ -114513,9 +114522,9 @@ var require_anyOf = __commonJS({
|
|
|
114513
114522
|
}
|
|
114514
114523
|
});
|
|
114515
114524
|
|
|
114516
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114525
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
114517
114526
|
var require_oneOf = __commonJS({
|
|
114518
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114527
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
|
|
114519
114528
|
"use strict";
|
|
114520
114529
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114521
114530
|
var codegen_1 = require_codegen();
|
|
@@ -114571,9 +114580,9 @@ var require_oneOf = __commonJS({
|
|
|
114571
114580
|
}
|
|
114572
114581
|
});
|
|
114573
114582
|
|
|
114574
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114583
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
114575
114584
|
var require_allOf = __commonJS({
|
|
114576
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114585
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
|
|
114577
114586
|
"use strict";
|
|
114578
114587
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114579
114588
|
var util_1 = require_util3();
|
|
@@ -114598,9 +114607,9 @@ var require_allOf = __commonJS({
|
|
|
114598
114607
|
}
|
|
114599
114608
|
});
|
|
114600
114609
|
|
|
114601
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114610
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
114602
114611
|
var require_if = __commonJS({
|
|
114603
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114612
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
|
|
114604
114613
|
"use strict";
|
|
114605
114614
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114606
114615
|
var codegen_1 = require_codegen();
|
|
@@ -114667,9 +114676,9 @@ var require_if = __commonJS({
|
|
|
114667
114676
|
}
|
|
114668
114677
|
});
|
|
114669
114678
|
|
|
114670
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114679
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
114671
114680
|
var require_thenElse = __commonJS({
|
|
114672
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114681
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
|
|
114673
114682
|
"use strict";
|
|
114674
114683
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114675
114684
|
var util_1 = require_util3();
|
|
@@ -114685,9 +114694,9 @@ var require_thenElse = __commonJS({
|
|
|
114685
114694
|
}
|
|
114686
114695
|
});
|
|
114687
114696
|
|
|
114688
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114697
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
114689
114698
|
var require_applicator = __commonJS({
|
|
114690
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114699
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
|
|
114691
114700
|
"use strict";
|
|
114692
114701
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114693
114702
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -114733,9 +114742,9 @@ var require_applicator = __commonJS({
|
|
|
114733
114742
|
}
|
|
114734
114743
|
});
|
|
114735
114744
|
|
|
114736
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114745
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
114737
114746
|
var require_format3 = __commonJS({
|
|
114738
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114747
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
|
|
114739
114748
|
"use strict";
|
|
114740
114749
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114741
114750
|
var codegen_1 = require_codegen();
|
|
@@ -114823,9 +114832,9 @@ var require_format3 = __commonJS({
|
|
|
114823
114832
|
}
|
|
114824
114833
|
});
|
|
114825
114834
|
|
|
114826
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114835
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
114827
114836
|
var require_format4 = __commonJS({
|
|
114828
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114837
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
|
|
114829
114838
|
"use strict";
|
|
114830
114839
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114831
114840
|
var format_1 = require_format3();
|
|
@@ -114834,9 +114843,9 @@ var require_format4 = __commonJS({
|
|
|
114834
114843
|
}
|
|
114835
114844
|
});
|
|
114836
114845
|
|
|
114837
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114846
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
114838
114847
|
var require_metadata2 = __commonJS({
|
|
114839
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114848
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
|
|
114840
114849
|
"use strict";
|
|
114841
114850
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114842
114851
|
exports2.contentVocabulary = exports2.metadataVocabulary = void 0;
|
|
@@ -114857,9 +114866,9 @@ var require_metadata2 = __commonJS({
|
|
|
114857
114866
|
}
|
|
114858
114867
|
});
|
|
114859
114868
|
|
|
114860
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114869
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
114861
114870
|
var require_draft7 = __commonJS({
|
|
114862
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114871
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
|
|
114863
114872
|
"use strict";
|
|
114864
114873
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114865
114874
|
var core_1 = require_core5();
|
|
@@ -114879,9 +114888,9 @@ var require_draft7 = __commonJS({
|
|
|
114879
114888
|
}
|
|
114880
114889
|
});
|
|
114881
114890
|
|
|
114882
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114891
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
114883
114892
|
var require_types5 = __commonJS({
|
|
114884
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114893
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
|
|
114885
114894
|
"use strict";
|
|
114886
114895
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114887
114896
|
exports2.DiscrError = void 0;
|
|
@@ -114893,9 +114902,9 @@ var require_types5 = __commonJS({
|
|
|
114893
114902
|
}
|
|
114894
114903
|
});
|
|
114895
114904
|
|
|
114896
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
114905
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
114897
114906
|
var require_discriminator = __commonJS({
|
|
114898
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
114907
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
|
|
114899
114908
|
"use strict";
|
|
114900
114909
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
114901
114910
|
var codegen_1 = require_codegen();
|
|
@@ -114998,9 +115007,9 @@ var require_discriminator = __commonJS({
|
|
|
114998
115007
|
}
|
|
114999
115008
|
});
|
|
115000
115009
|
|
|
115001
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
115010
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
115002
115011
|
var require_json_schema_draft_07 = __commonJS({
|
|
115003
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
115012
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
|
|
115004
115013
|
module2.exports = {
|
|
115005
115014
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
115006
115015
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -115155,9 +115164,9 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
115155
115164
|
}
|
|
115156
115165
|
});
|
|
115157
115166
|
|
|
115158
|
-
// ../../node_modules/.pnpm/ajv@8.
|
|
115167
|
+
// ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js
|
|
115159
115168
|
var require_ajv = __commonJS({
|
|
115160
|
-
"../../node_modules/.pnpm/ajv@8.
|
|
115169
|
+
"../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js"(exports2, module2) {
|
|
115161
115170
|
"use strict";
|
|
115162
115171
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
115163
115172
|
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
|
|
@@ -163616,47 +163625,46 @@ var i18n_en_default = {
|
|
|
163616
163625
|
}
|
|
163617
163626
|
},
|
|
163618
163627
|
commands: {
|
|
163619
|
-
openSystemDetails: "Open
|
|
163628
|
+
openSystemDetails: "Open Connection Manager for SAP Systems",
|
|
163620
163629
|
quickpickPlaceholder: "Select an SAP system to view details"
|
|
163621
163630
|
},
|
|
163622
163631
|
confirmationPrompt: {
|
|
163623
163632
|
yes: "Yes",
|
|
163624
163633
|
no: "No",
|
|
163625
163634
|
delete: "Delete [{{- system}}]? Your Fiori application may not run locally anymore.",
|
|
163626
|
-
overwrite: "
|
|
163635
|
+
overwrite: "A connection with the same name [{{- system}}] already exists. Do you want to overwrite it?"
|
|
163627
163636
|
},
|
|
163628
163637
|
info: {
|
|
163629
163638
|
numServices: "This SAP System [{{- system}}] returned {{v2}} OData V2 and {{v4}} OData V4 services.",
|
|
163630
|
-
|
|
163631
|
-
|
|
163632
|
-
|
|
163633
|
-
|
|
163634
|
-
|
|
163635
|
-
|
|
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.",
|
|
163636
163645
|
serviceMetadata: "Service metadata retrieved successfully.",
|
|
163637
163646
|
noServiceMetadata: "Service metadata not available.",
|
|
163638
163647
|
serviceRequestCheckLogs: "{{- url}} returned service data. Check the debug logs for the full metadata."
|
|
163639
163648
|
},
|
|
163640
163649
|
warn: {
|
|
163641
|
-
deletionCancelled: "Deletion cancelled for
|
|
163650
|
+
deletionCancelled: "Deletion cancelled for connection: [{{- system}}].",
|
|
163642
163651
|
importCancelled: "Import cancelled."
|
|
163643
163652
|
},
|
|
163644
163653
|
error: {
|
|
163645
|
-
|
|
163646
|
-
importConfigFailed: "Failed to import
|
|
163647
|
-
|
|
163648
|
-
incompleteConfig: "
|
|
163649
|
-
|
|
163650
|
-
|
|
163651
|
-
|
|
163652
|
-
|
|
163653
|
-
|
|
163654
|
-
|
|
163655
|
-
|
|
163656
|
-
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}}",
|
|
163657
163665
|
noServices: "This SAP system failed to return any services.",
|
|
163658
163666
|
cert: {
|
|
163659
|
-
urlValidation: "The
|
|
163667
|
+
urlValidation: "The connection URL uses {{certError}} security certificate.",
|
|
163660
163668
|
expired: "an expired",
|
|
163661
163669
|
selfSigned: "a self-signed",
|
|
163662
163670
|
unknownOrInvalid: "an unknown or invalid",
|
|
@@ -163668,11 +163676,10 @@ var i18n_en_default = {
|
|
|
163668
163676
|
launchAppGen: "Failed to launch the SAP Fiori application generator for [{{- systemName}}].",
|
|
163669
163677
|
catalogRequest: "The V{{version}} request failed with error: {{error}}.",
|
|
163670
163678
|
guidedAnswersCmd: "Error executing command to open the Guided Answers extension: {{- error}}",
|
|
163671
|
-
|
|
163679
|
+
viewConnectionDetails: "An error occurred when executing the command to view the connection details.",
|
|
163672
163680
|
noFileSelected: "No file selected for import.",
|
|
163673
163681
|
panelActionDispatch: "Error dispatching panel action: {{- error}}",
|
|
163674
163682
|
noneSelected: "No SAP system selected.",
|
|
163675
|
-
testConnection: "An error occurred when testing the connection: {{- error}}",
|
|
163676
163683
|
systemInfoUpdate: "Failed to add the system information to the backend system: {{- error}}",
|
|
163677
163684
|
serviceRequest: "An error occurred while requesting the service metadata: {{- error}}"
|
|
163678
163685
|
},
|
|
@@ -163682,8 +163689,8 @@ var i18n_en_default = {
|
|
|
163682
163689
|
},
|
|
163683
163690
|
validation: {
|
|
163684
163691
|
provideUrl: "Please provide a valid URL to test the connection.",
|
|
163685
|
-
|
|
163686
|
-
|
|
163692
|
+
connectionNameExists: "This connection name already exists. Choose a different name.",
|
|
163693
|
+
urlInvalid: "The URL '{{- url}}' provided is invalid"
|
|
163687
163694
|
},
|
|
163688
163695
|
telemetry: {
|
|
163689
163696
|
unknownOs: "Unknown",
|
|
@@ -163768,7 +163775,7 @@ function shouldStoreSystemInfo(system) {
|
|
|
163768
163775
|
var import_telemetry = __toESM(require_dist15());
|
|
163769
163776
|
|
|
163770
163777
|
// package.json
|
|
163771
|
-
var version = "0.3.
|
|
163778
|
+
var version = "0.3.4";
|
|
163772
163779
|
|
|
163773
163780
|
// src/utils/telemetryHelper.ts
|
|
163774
163781
|
var import_feature_toggle = __toESM(require_dist16());
|
|
@@ -163892,7 +163899,12 @@ var SapSystemsProvider = class {
|
|
|
163892
163899
|
async getChildren() {
|
|
163893
163900
|
const systems = await this.loadSystems();
|
|
163894
163901
|
return systems.map((s) => {
|
|
163895
|
-
return {
|
|
163902
|
+
return {
|
|
163903
|
+
name: getDisplayName(s),
|
|
163904
|
+
url: s.url,
|
|
163905
|
+
client: s.client,
|
|
163906
|
+
connectionType: s.connectionType
|
|
163907
|
+
};
|
|
163896
163908
|
})?.sort((a, b) => a.name.localeCompare(b.name, void 0, { numeric: true, caseFirst: "lower" }));
|
|
163897
163909
|
}
|
|
163898
163910
|
/**
|
|
@@ -163907,7 +163919,7 @@ var SapSystemsProvider = class {
|
|
|
163907
163919
|
const systemTreeItem = {
|
|
163908
163920
|
...item,
|
|
163909
163921
|
...props,
|
|
163910
|
-
contextValue:
|
|
163922
|
+
contextValue: `sapSystem-${system.connectionType}`
|
|
163911
163923
|
};
|
|
163912
163924
|
return systemTreeItem;
|
|
163913
163925
|
}
|
|
@@ -163959,7 +163971,7 @@ var SapSystemsProvider = class {
|
|
|
163959
163971
|
});
|
|
163960
163972
|
return systems;
|
|
163961
163973
|
} catch (error) {
|
|
163962
|
-
SystemsLogger.logger.error(t2("error.
|
|
163974
|
+
SystemsLogger.logger.error(t2("error.loadingConnections"));
|
|
163963
163975
|
SystemsLogger.logger.debug(error.message);
|
|
163964
163976
|
return [];
|
|
163965
163977
|
} finally {
|
|
@@ -164085,13 +164097,16 @@ function validateSystemInfo(input) {
|
|
|
164085
164097
|
}
|
|
164086
164098
|
async function validateSystemName(newName, currentName) {
|
|
164087
164099
|
const systemService = await getBackendSystemService();
|
|
164088
|
-
const allSystems = await systemService.getAll({
|
|
164100
|
+
const allSystems = await systemService.getAll({
|
|
164101
|
+
includeSensitiveData: false,
|
|
164102
|
+
backendSystemFilter: { connectionType: ["abap_catalog", "odata_service"] }
|
|
164103
|
+
});
|
|
164089
164104
|
const newSystemName = newName.trim();
|
|
164090
164105
|
const nameExists = allSystems.some(
|
|
164091
164106
|
(sys) => sys.name.toLowerCase() === newSystemName.toLowerCase() && sys.name !== currentName
|
|
164092
164107
|
);
|
|
164093
164108
|
if (nameExists) {
|
|
164094
|
-
throw t2("validation.
|
|
164109
|
+
throw t2("validation.connectionNameExists");
|
|
164095
164110
|
}
|
|
164096
164111
|
return true;
|
|
164097
164112
|
}
|
|
@@ -164100,7 +164115,7 @@ function validateSystemUrl(url) {
|
|
|
164100
164115
|
new URL(url);
|
|
164101
164116
|
return true;
|
|
164102
164117
|
} catch {
|
|
164103
|
-
throw t2("validation.
|
|
164118
|
+
throw t2("validation.urlInvalid", { url });
|
|
164104
164119
|
}
|
|
164105
164120
|
}
|
|
164106
164121
|
|
|
@@ -164125,7 +164140,7 @@ var import_normalize_path = __toESM(require_normalize_path());
|
|
|
164125
164140
|
var import_fast_glob = __toESM(require_out4());
|
|
164126
164141
|
async function createWebviewPanel(webappDirPath, disposeCallback, onMessage) {
|
|
164127
164142
|
const viewRootUri = import_vscode5.Uri.file(webappDirPath);
|
|
164128
|
-
const webviewPanel = import_vscode5.window.createWebviewPanel("sap.ux.tools.sapSystems.show", `SAP
|
|
164143
|
+
const webviewPanel = import_vscode5.window.createWebviewPanel("sap.ux.tools.sapSystems.show", `SAP System`, import_vscode5.ViewColumn.One, {
|
|
164129
164144
|
enableCommandUris: true,
|
|
164130
164145
|
enableScripts: true,
|
|
164131
164146
|
retainContextWhenHidden: true,
|
|
@@ -164138,7 +164153,7 @@ async function createWebviewPanel(webappDirPath, disposeCallback, onMessage) {
|
|
|
164138
164153
|
if (onMessage) {
|
|
164139
164154
|
webviewPanel.webview.onDidReceiveMessage((action) => {
|
|
164140
164155
|
onMessage(action).catch((e) => {
|
|
164141
|
-
SystemsLogger.logger.error(t2("error.
|
|
164156
|
+
SystemsLogger.logger.error(t2("error.connectionInfo", { error: e }));
|
|
164142
164157
|
});
|
|
164143
164158
|
});
|
|
164144
164159
|
}
|
|
@@ -164168,7 +164183,7 @@ async function getSystemPanelHtmlForWebview({
|
|
|
164168
164183
|
<head>
|
|
164169
164184
|
<meta charset="utf-8">
|
|
164170
164185
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
164171
|
-
<title>SAP
|
|
164186
|
+
<title>SAP System</title>
|
|
164172
164187
|
<base href="./">
|
|
164173
164188
|
<link rel="stylesheet" type="text/css" href="${viewRootUri}/${storeCss}">
|
|
164174
164189
|
</head>
|
|
@@ -164288,7 +164303,7 @@ var exportSystem = async (_context, action) => {
|
|
|
164288
164303
|
const system = action.payload.system;
|
|
164289
164304
|
const backendSystem = await getBackendSystem({ url: system.url, client: system.client });
|
|
164290
164305
|
if (!backendSystem) {
|
|
164291
|
-
SystemsLogger.logger.error(t2("error.
|
|
164306
|
+
SystemsLogger.logger.error(t2("error.connectionNotFound", { systemName: system.name }));
|
|
164292
164307
|
return;
|
|
164293
164308
|
}
|
|
164294
164309
|
try {
|
|
@@ -164306,7 +164321,7 @@ var exportSystem = async (_context, action) => {
|
|
|
164306
164321
|
if (filePath?.fsPath) {
|
|
164307
164322
|
const data = JSON.stringify(systemDetails, null, 2);
|
|
164308
164323
|
(0, import_node_fs.writeFileSync)(filePath.fsPath, data);
|
|
164309
|
-
import_vscode6.window.showInformationMessage(t2("info.
|
|
164324
|
+
import_vscode6.window.showInformationMessage(t2("info.connectionExported", geti18nOpts(backendSystem.name)));
|
|
164310
164325
|
logTelemetry("EXPORT_SUCCESS" /* EXPORT_SUCCESS */);
|
|
164311
164326
|
}
|
|
164312
164327
|
} catch (e) {
|
|
@@ -164408,36 +164423,37 @@ async function updateHandler(context4, newSystem, systemExistsInStore) {
|
|
|
164408
164423
|
let newPanelMsg;
|
|
164409
164424
|
if (panelViewType === 0 /* Create */ || panelViewType === 2 /* Import */) {
|
|
164410
164425
|
if (systemExistsInStore) {
|
|
164411
|
-
throw t2("error.
|
|
164426
|
+
throw t2("error.keyExists");
|
|
164412
164427
|
}
|
|
164413
164428
|
context4.disposePanel();
|
|
164414
|
-
newPanelMsg = t2("info.
|
|
164429
|
+
newPanelMsg = t2("info.connectionSaved", { system: newSystem.name });
|
|
164415
164430
|
}
|
|
164416
164431
|
if (panelViewType === 1 /* View */ && systemExistsInStore) {
|
|
164417
164432
|
if (compareSystems(context4.backendSystem, newSystem)) {
|
|
164418
164433
|
context4.updateBackendSystem(newSystem);
|
|
164419
164434
|
await context4.postMessage(
|
|
164420
164435
|
updateSystemStatus({
|
|
164421
|
-
message: t2("info.
|
|
164436
|
+
message: t2("info.connectionInfoUpdated"),
|
|
164422
164437
|
updateSuccess: true
|
|
164423
164438
|
})
|
|
164424
164439
|
);
|
|
164425
164440
|
} else {
|
|
164426
|
-
throw t2("error.
|
|
164441
|
+
throw t2("error.keyExists");
|
|
164427
164442
|
}
|
|
164428
164443
|
}
|
|
164429
164444
|
if (panelViewType === 1 /* View */ && !systemExistsInStore && context4.backendSystem) {
|
|
164430
164445
|
context4.disposePanel();
|
|
164431
164446
|
const systemService = await getBackendSystemService();
|
|
164432
164447
|
await systemService.delete(context4.backendSystem);
|
|
164433
|
-
newPanelMsg = t2("info.
|
|
164448
|
+
newPanelMsg = t2("info.connectionUpdated", { system: newSystem.name });
|
|
164434
164449
|
}
|
|
164435
164450
|
return newPanelMsg;
|
|
164436
164451
|
}
|
|
164437
164452
|
async function postSavingError(errorMsg, postMessage, systemExistsInStore, systemType = "unknown") {
|
|
164453
|
+
const message = t2(systemExistsInStore ? "error.updateFailure" : "error.creationFailure", { error: errorMsg });
|
|
164438
164454
|
postMessage(
|
|
164439
164455
|
updateSystemStatus({
|
|
164440
|
-
message
|
|
164456
|
+
message,
|
|
164441
164457
|
updateSuccess: false
|
|
164442
164458
|
})
|
|
164443
164459
|
);
|
|
@@ -164456,7 +164472,7 @@ async function saveSystem(backendSystem, systemExistsInStore, systemPanelViewTyp
|
|
|
164456
164472
|
await systemService.write(newBackendSystem, {
|
|
164457
164473
|
force: systemExistsInStore
|
|
164458
164474
|
});
|
|
164459
|
-
const i18nKey = systemPanelViewType === 0 /* Create */ ? "info.
|
|
164475
|
+
const i18nKey = systemPanelViewType === 0 /* Create */ ? "info.connectionSaved" : "info.connectionUpdated";
|
|
164460
164476
|
import_vscode7.window.showInformationMessage(t2(i18nKey, geti18nOpts(backendSystem.name)));
|
|
164461
164477
|
TelemetryHelper.sendTelemetry(SYSTEMS_EVENT, {
|
|
164462
164478
|
action: "SYSTEM" /* SYSTEM */,
|
|
@@ -164846,13 +164862,13 @@ var showSystemsCommandHandler = (context4) => async (system, statusMsg) => {
|
|
|
164846
164862
|
const backendSystemKey = await getBackendSystemKey(systemService, system);
|
|
164847
164863
|
const storedBackendSystem = await systemService.read(backendSystemKey);
|
|
164848
164864
|
if (!storedBackendSystem) {
|
|
164849
|
-
import_vscode10.window.showErrorMessage(t2("error.
|
|
164865
|
+
import_vscode10.window.showErrorMessage(t2("error.connectionNotFound", { backendKey: backendSystemKey.getId() }));
|
|
164850
164866
|
return;
|
|
164851
164867
|
}
|
|
164852
164868
|
openSystemPanel(context4, backendSystemKey, storedBackendSystem, statusMsg);
|
|
164853
164869
|
} catch (e) {
|
|
164854
164870
|
const errorMessage = e instanceof Error ? e.message : void 0;
|
|
164855
|
-
import_vscode10.window.showErrorMessage(errorMessage ?? t2("error.
|
|
164871
|
+
import_vscode10.window.showErrorMessage(errorMessage ?? t2("error.viewConnectionDetails"));
|
|
164856
164872
|
logTelemetryFailure();
|
|
164857
164873
|
}
|
|
164858
164874
|
};
|
|
@@ -164864,7 +164880,10 @@ async function getBackendSystemKey(systemService, system) {
|
|
|
164864
164880
|
}
|
|
164865
164881
|
}
|
|
164866
164882
|
async function sapSystemDropdownPicker(systemService) {
|
|
164867
|
-
const allBackendSystems = await systemService.getAll({
|
|
164883
|
+
const allBackendSystems = await systemService.getAll({
|
|
164884
|
+
includeSensitiveData: false,
|
|
164885
|
+
backendSystemFilter: { connectionType: ["abap_catalog", "odata_service"] }
|
|
164886
|
+
});
|
|
164868
164887
|
const quickPickItems = allBackendSystems.map((system) => ({
|
|
164869
164888
|
label: system.name,
|
|
164870
164889
|
systemKey: new import_store5.BackendSystemKey({ url: system.url, client: system.client })
|
|
@@ -164911,7 +164930,7 @@ var deleteSystemCommandHandler = (context4) => async (system) => {
|
|
|
164911
164930
|
const systemService = await getBackendSystemService();
|
|
164912
164931
|
const backendSystem = await systemService.read(backendSystemKey);
|
|
164913
164932
|
if (!backendSystem) {
|
|
164914
|
-
import_vscode11.window.showErrorMessage(t2("error.
|
|
164933
|
+
import_vscode11.window.showErrorMessage(t2("error.connectionNotFound", { backendKey: backendSystemKey.getId() }));
|
|
164915
164934
|
return;
|
|
164916
164935
|
}
|
|
164917
164936
|
if (!await confirmPrompt(1 /* Delete */, backendSystem.name)) {
|
|
@@ -164928,10 +164947,10 @@ var deleteSystemCommandHandler = (context4) => async (system) => {
|
|
|
164928
164947
|
function deletionSuccessHandler(panelManager, panelKey, backendSystem) {
|
|
164929
164948
|
panelManager.deleteAndDispose(panelKey);
|
|
164930
164949
|
logTelemetry2("DELETED_SUCCESS" /* DELETED_SUCCESS */, backendSystem.systemType);
|
|
164931
|
-
import_vscode11.window.showInformationMessage(t2("info.
|
|
164950
|
+
import_vscode11.window.showInformationMessage(t2("info.connectionDeleted", geti18nOpts(backendSystem.name)));
|
|
164932
164951
|
}
|
|
164933
164952
|
function deletionFailureHandler(system) {
|
|
164934
|
-
import_vscode11.window.showWarningMessage(t2("error.
|
|
164953
|
+
import_vscode11.window.showWarningMessage(t2("error.deletingConnection", geti18nOpts(system.name)));
|
|
164935
164954
|
logTelemetry2("DELETED_FAIL" /* DELETED_FAIL */, system.systemType);
|
|
164936
164955
|
}
|
|
164937
164956
|
function logTelemetry2(status, systemType = "") {
|
|
@@ -164944,7 +164963,7 @@ function logTelemetry2(status, systemType = "") {
|
|
|
164944
164963
|
|
|
164945
164964
|
// src/commands/system/refresh.ts
|
|
164946
164965
|
var refreshSystemsCommandHandler = (commandContext) => async () => {
|
|
164947
|
-
SystemsLogger.logger.info(t2("info.
|
|
164966
|
+
SystemsLogger.logger.info(t2("info.refreshingConnections"));
|
|
164948
164967
|
commandContext.extContext.systemsTreeDataProvider?.refresh();
|
|
164949
164968
|
};
|
|
164950
164969
|
|
|
@@ -165029,7 +165048,7 @@ function readConfig(filePath) {
|
|
|
165029
165048
|
const raw = (0, import_node_fs2.readFileSync)(filePath, "utf8");
|
|
165030
165049
|
const [systemConfig] = JSON.parse(raw).systems ?? [];
|
|
165031
165050
|
if (!systemConfig) {
|
|
165032
|
-
throw new Error(t2("error.
|
|
165051
|
+
throw new Error(t2("error.noConnectionsDefined", { filePath }));
|
|
165033
165052
|
}
|
|
165034
165053
|
return systemConfig;
|
|
165035
165054
|
}
|