@gooddata/code-cli 0.64.0-alpha.2 → 0.64.0-alpha.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/NOTICE +956 -2514
- package/dist/index.js +291 -225
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37445,7 +37445,7 @@ function isPromise(value) {
|
|
|
37445
37445
|
//#endregion
|
|
37446
37446
|
//#region package.json
|
|
37447
37447
|
var name$1 = "@gooddata/code-cli";
|
|
37448
|
-
var version$1 = "0.64.0-alpha.
|
|
37448
|
+
var version$1 = "0.64.0-alpha.4";
|
|
37449
37449
|
//#endregion
|
|
37450
37450
|
//#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-maql-language-server@file+..+..+..+sdk+libs+sdk-maql-language-server_debug@4.4.3/node_modules/@gooddata/sdk-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.js
|
|
37451
37451
|
const content$65 = `# APPROXIMATE_COUNT
|
|
@@ -117738,7 +117738,7 @@ const _CONFIG$1 = {
|
|
|
117738
117738
|
common: {
|
|
117739
117739
|
"X-Requested-With": "XMLHttpRequest",
|
|
117740
117740
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
117741
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.
|
|
117741
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.4"
|
|
117742
117742
|
},
|
|
117743
117743
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
117744
117744
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -155082,7 +155082,7 @@ var BucketsType;
|
|
|
155082
155082
|
BucketsType["Area"] = "area";
|
|
155083
155083
|
})(BucketsType || (BucketsType = {}));
|
|
155084
155084
|
//#endregion
|
|
155085
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155085
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js
|
|
155086
155086
|
var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155087
155087
|
const ALIAS = Symbol.for("yaml.alias");
|
|
155088
155088
|
const DOC = Symbol.for("yaml.document");
|
|
@@ -155132,7 +155132,7 @@ var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155132
155132
|
exports.isSeq = isSeq;
|
|
155133
155133
|
}));
|
|
155134
155134
|
//#endregion
|
|
155135
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155135
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js
|
|
155136
155136
|
var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155137
155137
|
var identity = require_identity();
|
|
155138
155138
|
const BREAK = Symbol("break visit");
|
|
@@ -155323,7 +155323,7 @@ var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155323
155323
|
exports.visitAsync = visitAsync;
|
|
155324
155324
|
}));
|
|
155325
155325
|
//#endregion
|
|
155326
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155326
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js
|
|
155327
155327
|
var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155328
155328
|
var identity = require_identity();
|
|
155329
155329
|
var visit = require_visit();
|
|
@@ -155487,7 +155487,7 @@ var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155487
155487
|
exports.Directives = Directives;
|
|
155488
155488
|
}));
|
|
155489
155489
|
//#endregion
|
|
155490
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155490
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js
|
|
155491
155491
|
var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155492
155492
|
var identity = require_identity();
|
|
155493
155493
|
var visit = require_visit();
|
|
@@ -155554,7 +155554,7 @@ var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155554
155554
|
exports.findNewAnchor = findNewAnchor;
|
|
155555
155555
|
}));
|
|
155556
155556
|
//#endregion
|
|
155557
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155557
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js
|
|
155558
155558
|
var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155559
155559
|
/**
|
|
155560
155560
|
* Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
|
@@ -155596,7 +155596,7 @@ var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155596
155596
|
exports.applyReviver = applyReviver;
|
|
155597
155597
|
}));
|
|
155598
155598
|
//#endregion
|
|
155599
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155599
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js
|
|
155600
155600
|
var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155601
155601
|
var identity = require_identity();
|
|
155602
155602
|
/**
|
|
@@ -155633,7 +155633,7 @@ var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155633
155633
|
exports.toJS = toJS;
|
|
155634
155634
|
}));
|
|
155635
155635
|
//#endregion
|
|
155636
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155636
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js
|
|
155637
155637
|
var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155638
155638
|
var applyReviver = require_applyReviver();
|
|
155639
155639
|
var identity = require_identity();
|
|
@@ -155667,7 +155667,7 @@ var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155667
155667
|
exports.NodeBase = NodeBase;
|
|
155668
155668
|
}));
|
|
155669
155669
|
//#endregion
|
|
155670
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155670
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js
|
|
155671
155671
|
var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155672
155672
|
var anchors = require_anchors();
|
|
155673
155673
|
var visit = require_visit();
|
|
@@ -155687,6 +155687,7 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155687
155687
|
* instance of the `source` anchor before this node.
|
|
155688
155688
|
*/
|
|
155689
155689
|
resolve(doc, ctx) {
|
|
155690
|
+
if (ctx?.maxAliasCount === 0) throw new ReferenceError("Alias resolution is disabled");
|
|
155690
155691
|
let nodes;
|
|
155691
155692
|
if (ctx?.aliasResolveCache) nodes = ctx.aliasResolveCache;
|
|
155692
155693
|
else {
|
|
@@ -155701,29 +155702,31 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155701
155702
|
if (node === this) break;
|
|
155702
155703
|
if (node.anchor === this.source) found = node;
|
|
155703
155704
|
}
|
|
155705
|
+
if (found && ctx) {
|
|
155706
|
+
const { anchors, doc, maxAliasCount } = ctx;
|
|
155707
|
+
let data = anchors.get(found);
|
|
155708
|
+
if (!data) {
|
|
155709
|
+
toJS.toJS(found, null, ctx);
|
|
155710
|
+
data = anchors.get(found);
|
|
155711
|
+
}
|
|
155712
|
+
/* istanbul ignore if */
|
|
155713
|
+
if (data?.res === void 0) throw new ReferenceError("This should not happen: Alias anchor was not resolved?");
|
|
155714
|
+
if (maxAliasCount >= 0) {
|
|
155715
|
+
data.count += 1;
|
|
155716
|
+
if (data.aliasCount === 0) data.aliasCount = getAliasCount(doc, found, anchors);
|
|
155717
|
+
if (data.count * data.aliasCount > maxAliasCount) throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");
|
|
155718
|
+
}
|
|
155719
|
+
}
|
|
155704
155720
|
return found;
|
|
155705
155721
|
}
|
|
155706
155722
|
toJSON(_arg, ctx) {
|
|
155707
155723
|
if (!ctx) return { source: this.source };
|
|
155708
|
-
const
|
|
155709
|
-
const source = this.resolve(doc, ctx);
|
|
155724
|
+
const source = this.resolve(ctx.doc, ctx);
|
|
155710
155725
|
if (!source) {
|
|
155711
155726
|
const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
|
|
155712
155727
|
throw new ReferenceError(msg);
|
|
155713
155728
|
}
|
|
155714
|
-
|
|
155715
|
-
if (!data) {
|
|
155716
|
-
toJS.toJS(source, null, ctx);
|
|
155717
|
-
data = anchors.get(source);
|
|
155718
|
-
}
|
|
155719
|
-
/* istanbul ignore if */
|
|
155720
|
-
if (data?.res === void 0) throw new ReferenceError("This should not happen: Alias anchor was not resolved?");
|
|
155721
|
-
if (maxAliasCount >= 0) {
|
|
155722
|
-
data.count += 1;
|
|
155723
|
-
if (data.aliasCount === 0) data.aliasCount = getAliasCount(doc, source, anchors);
|
|
155724
|
-
if (data.count * data.aliasCount > maxAliasCount) throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");
|
|
155725
|
-
}
|
|
155726
|
-
return data.res;
|
|
155729
|
+
return ctx.anchors.get(source).res;
|
|
155727
155730
|
}
|
|
155728
155731
|
toString(ctx, _onComment, _onChompKeep) {
|
|
155729
155732
|
const src = `*${this.source}`;
|
|
@@ -155760,7 +155763,7 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155760
155763
|
exports.Alias = Alias;
|
|
155761
155764
|
}));
|
|
155762
155765
|
//#endregion
|
|
155763
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155766
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js
|
|
155764
155767
|
var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155765
155768
|
var identity = require_identity();
|
|
155766
155769
|
var Node = require_Node();
|
|
@@ -155787,7 +155790,7 @@ var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155787
155790
|
exports.isScalarValue = isScalarValue;
|
|
155788
155791
|
}));
|
|
155789
155792
|
//#endregion
|
|
155790
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155793
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js
|
|
155791
155794
|
var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155792
155795
|
var Alias = require_Alias();
|
|
155793
155796
|
var identity = require_identity();
|
|
@@ -155850,7 +155853,7 @@ var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155850
155853
|
exports.createNode = createNode;
|
|
155851
155854
|
}));
|
|
155852
155855
|
//#endregion
|
|
155853
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155856
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js
|
|
155854
155857
|
var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155855
155858
|
var createNode = require_createNode();
|
|
155856
155859
|
var identity = require_identity();
|
|
@@ -155971,7 +155974,7 @@ var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155971
155974
|
exports.isEmptyPath = isEmptyPath;
|
|
155972
155975
|
}));
|
|
155973
155976
|
//#endregion
|
|
155974
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155977
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
155975
155978
|
var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155976
155979
|
/**
|
|
155977
155980
|
* Stringifies a comment.
|
|
@@ -155991,7 +155994,7 @@ var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
155991
155994
|
exports.stringifyComment = stringifyComment;
|
|
155992
155995
|
}));
|
|
155993
155996
|
//#endregion
|
|
155994
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
155997
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
155995
155998
|
var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
155996
155999
|
const FOLD_FLOW = "flow";
|
|
155997
156000
|
const FOLD_BLOCK = "block";
|
|
@@ -156111,7 +156114,7 @@ var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156111
156114
|
exports.foldFlowLines = foldFlowLines;
|
|
156112
156115
|
}));
|
|
156113
156116
|
//#endregion
|
|
156114
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156117
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js
|
|
156115
156118
|
var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156116
156119
|
var Scalar = require_Scalar();
|
|
156117
156120
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -156335,7 +156338,7 @@ var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156335
156338
|
exports.stringifyString = stringifyString;
|
|
156336
156339
|
}));
|
|
156337
156340
|
//#endregion
|
|
156338
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156341
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js
|
|
156339
156342
|
var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156340
156343
|
var anchors = require_anchors();
|
|
156341
156344
|
var identity = require_identity();
|
|
@@ -156443,7 +156446,7 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156443
156446
|
exports.stringify = stringify;
|
|
156444
156447
|
}));
|
|
156445
156448
|
//#endregion
|
|
156446
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156449
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
156447
156450
|
var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156448
156451
|
var identity = require_identity();
|
|
156449
156452
|
var Scalar = require_Scalar();
|
|
@@ -156540,7 +156543,7 @@ var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156540
156543
|
exports.stringifyPair = stringifyPair;
|
|
156541
156544
|
}));
|
|
156542
156545
|
//#endregion
|
|
156543
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156546
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js
|
|
156544
156547
|
var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156545
156548
|
var node_process = __require("process");
|
|
156546
156549
|
function debug(logLevel, ...messages) {
|
|
@@ -156556,7 +156559,7 @@ var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156556
156559
|
exports.warn = warn;
|
|
156557
156560
|
}));
|
|
156558
156561
|
//#endregion
|
|
156559
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156562
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
156560
156563
|
var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156561
156564
|
var identity = require_identity();
|
|
156562
156565
|
var Scalar = require_Scalar();
|
|
@@ -156571,13 +156574,13 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156571
156574
|
};
|
|
156572
156575
|
const isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
|
|
156573
156576
|
function addMergeToJSMap(ctx, map, value) {
|
|
156574
|
-
|
|
156575
|
-
if (identity.isSeq(
|
|
156576
|
-
else if (Array.isArray(
|
|
156577
|
-
else mergeValue(ctx, map,
|
|
156577
|
+
const source = resolveAliasValue(ctx, value);
|
|
156578
|
+
if (identity.isSeq(source)) for (const it of source.items) mergeValue(ctx, map, it);
|
|
156579
|
+
else if (Array.isArray(source)) for (const it of source) mergeValue(ctx, map, it);
|
|
156580
|
+
else mergeValue(ctx, map, source);
|
|
156578
156581
|
}
|
|
156579
156582
|
function mergeValue(ctx, map, value) {
|
|
156580
|
-
const source = ctx
|
|
156583
|
+
const source = resolveAliasValue(ctx, value);
|
|
156581
156584
|
if (!identity.isMap(source)) throw new Error("Merge sources must be maps or map aliases");
|
|
156582
156585
|
const srcMap = source.toJSON(null, ctx, Map);
|
|
156583
156586
|
for (const [key, value] of srcMap) if (map instanceof Map) {
|
|
@@ -156591,12 +156594,15 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156591
156594
|
});
|
|
156592
156595
|
return map;
|
|
156593
156596
|
}
|
|
156597
|
+
function resolveAliasValue(ctx, value) {
|
|
156598
|
+
return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
|
|
156599
|
+
}
|
|
156594
156600
|
exports.addMergeToJSMap = addMergeToJSMap;
|
|
156595
156601
|
exports.isMergeKey = isMergeKey;
|
|
156596
156602
|
exports.merge = merge;
|
|
156597
156603
|
}));
|
|
156598
156604
|
//#endregion
|
|
156599
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156605
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
156600
156606
|
var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156601
156607
|
var log = require_log();
|
|
156602
156608
|
var merge = require_merge();
|
|
@@ -156647,7 +156653,7 @@ var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156647
156653
|
exports.addPairToJSMap = addPairToJSMap;
|
|
156648
156654
|
}));
|
|
156649
156655
|
//#endregion
|
|
156650
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156656
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js
|
|
156651
156657
|
var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156652
156658
|
var createNode = require_createNode();
|
|
156653
156659
|
var stringifyPair = require_stringifyPair();
|
|
@@ -156680,7 +156686,7 @@ var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156680
156686
|
exports.createPair = createPair;
|
|
156681
156687
|
}));
|
|
156682
156688
|
//#endregion
|
|
156683
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156689
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
156684
156690
|
var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156685
156691
|
var identity = require_identity();
|
|
156686
156692
|
var stringify = require_stringify();
|
|
@@ -156798,7 +156804,7 @@ var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156798
156804
|
exports.stringifyCollection = stringifyCollection;
|
|
156799
156805
|
}));
|
|
156800
156806
|
//#endregion
|
|
156801
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156807
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
156802
156808
|
var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156803
156809
|
var stringifyCollection = require_stringifyCollection();
|
|
156804
156810
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -156907,7 +156913,7 @@ var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156907
156913
|
exports.findPair = findPair;
|
|
156908
156914
|
}));
|
|
156909
156915
|
//#endregion
|
|
156910
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156916
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js
|
|
156911
156917
|
var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156912
156918
|
var identity = require_identity();
|
|
156913
156919
|
var YAMLMap = require_YAMLMap();
|
|
@@ -156924,7 +156930,7 @@ var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156924
156930
|
};
|
|
156925
156931
|
}));
|
|
156926
156932
|
//#endregion
|
|
156927
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
156933
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
156928
156934
|
var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
156929
156935
|
var createNode = require_createNode();
|
|
156930
156936
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -157030,7 +157036,7 @@ var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157030
157036
|
exports.YAMLSeq = YAMLSeq;
|
|
157031
157037
|
}));
|
|
157032
157038
|
//#endregion
|
|
157033
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157039
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js
|
|
157034
157040
|
var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157035
157041
|
var identity = require_identity();
|
|
157036
157042
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -157047,7 +157053,7 @@ var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157047
157053
|
};
|
|
157048
157054
|
}));
|
|
157049
157055
|
//#endregion
|
|
157050
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157056
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js
|
|
157051
157057
|
var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157052
157058
|
var stringifyString = require_stringifyString();
|
|
157053
157059
|
exports.string = {
|
|
@@ -157062,7 +157068,7 @@ var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157062
157068
|
};
|
|
157063
157069
|
}));
|
|
157064
157070
|
//#endregion
|
|
157065
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157071
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js
|
|
157066
157072
|
var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157067
157073
|
var Scalar = require_Scalar();
|
|
157068
157074
|
const nullTag = {
|
|
@@ -157077,7 +157083,7 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157077
157083
|
exports.nullTag = nullTag;
|
|
157078
157084
|
}));
|
|
157079
157085
|
//#endregion
|
|
157080
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157086
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js
|
|
157081
157087
|
var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157082
157088
|
var Scalar = require_Scalar();
|
|
157083
157089
|
const boolTag = {
|
|
@@ -157096,14 +157102,14 @@ var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157096
157102
|
exports.boolTag = boolTag;
|
|
157097
157103
|
}));
|
|
157098
157104
|
//#endregion
|
|
157099
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157105
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
157100
157106
|
var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157101
157107
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
157102
157108
|
if (typeof value === "bigint") return String(value);
|
|
157103
157109
|
const num = typeof value === "number" ? value : Number(value);
|
|
157104
157110
|
if (!isFinite(num)) return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
|
|
157105
157111
|
let n = Object.is(value, -0) ? "-0" : JSON.stringify(value);
|
|
157106
|
-
if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") &&
|
|
157112
|
+
if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
|
|
157107
157113
|
let i = n.indexOf(".");
|
|
157108
157114
|
if (i < 0) {
|
|
157109
157115
|
i = n.length;
|
|
@@ -157117,7 +157123,7 @@ var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157117
157123
|
exports.stringifyNumber = stringifyNumber;
|
|
157118
157124
|
}));
|
|
157119
157125
|
//#endregion
|
|
157120
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157126
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js
|
|
157121
157127
|
var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157122
157128
|
var Scalar = require_Scalar();
|
|
157123
157129
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -157158,7 +157164,7 @@ var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157158
157164
|
exports.floatNaN = floatNaN;
|
|
157159
157165
|
}));
|
|
157160
157166
|
//#endregion
|
|
157161
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157167
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js
|
|
157162
157168
|
var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157163
157169
|
var stringifyNumber = require_stringifyNumber();
|
|
157164
157170
|
const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -157199,7 +157205,7 @@ var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157199
157205
|
exports.intOct = intOct;
|
|
157200
157206
|
}));
|
|
157201
157207
|
//#endregion
|
|
157202
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157208
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js
|
|
157203
157209
|
var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157204
157210
|
var map = require_map();
|
|
157205
157211
|
var _null = require_null();
|
|
@@ -157223,7 +157229,7 @@ var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157223
157229
|
];
|
|
157224
157230
|
}));
|
|
157225
157231
|
//#endregion
|
|
157226
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157232
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js
|
|
157227
157233
|
var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157228
157234
|
var Scalar = require_Scalar();
|
|
157229
157235
|
var map = require_map();
|
|
@@ -157285,7 +157291,7 @@ var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157285
157291
|
});
|
|
157286
157292
|
}));
|
|
157287
157293
|
//#endregion
|
|
157288
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157294
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
157289
157295
|
var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157290
157296
|
var node_buffer = __require("buffer");
|
|
157291
157297
|
var Scalar = require_Scalar();
|
|
@@ -157341,7 +157347,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157341
157347
|
};
|
|
157342
157348
|
}));
|
|
157343
157349
|
//#endregion
|
|
157344
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157350
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
157345
157351
|
var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157346
157352
|
var identity = require_identity();
|
|
157347
157353
|
var Pair = require_Pair();
|
|
@@ -157402,7 +157408,7 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157402
157408
|
exports.resolvePairs = resolvePairs;
|
|
157403
157409
|
}));
|
|
157404
157410
|
//#endregion
|
|
157405
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157411
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
157406
157412
|
var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157407
157413
|
var identity = require_identity();
|
|
157408
157414
|
var toJS = require_toJS();
|
|
@@ -157467,7 +157473,7 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157467
157473
|
exports.omap = omap;
|
|
157468
157474
|
}));
|
|
157469
157475
|
//#endregion
|
|
157470
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157476
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
157471
157477
|
var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157472
157478
|
var Scalar = require_Scalar();
|
|
157473
157479
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -157494,7 +157500,7 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157494
157500
|
exports.trueTag = trueTag;
|
|
157495
157501
|
}));
|
|
157496
157502
|
//#endregion
|
|
157497
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157503
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
157498
157504
|
var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157499
157505
|
var Scalar = require_Scalar();
|
|
157500
157506
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -157538,7 +157544,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157538
157544
|
exports.floatNaN = floatNaN;
|
|
157539
157545
|
}));
|
|
157540
157546
|
//#endregion
|
|
157541
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157547
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
157542
157548
|
var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157543
157549
|
var stringifyNumber = require_stringifyNumber();
|
|
157544
157550
|
const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -157611,7 +157617,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157611
157617
|
exports.intOct = intOct;
|
|
157612
157618
|
}));
|
|
157613
157619
|
//#endregion
|
|
157614
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157620
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
157615
157621
|
var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157616
157622
|
var identity = require_identity();
|
|
157617
157623
|
var Pair = require_Pair();
|
|
@@ -157680,7 +157686,7 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157680
157686
|
exports.set = set;
|
|
157681
157687
|
}));
|
|
157682
157688
|
//#endregion
|
|
157683
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157689
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
157684
157690
|
var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157685
157691
|
var stringifyNumber = require_stringifyNumber();
|
|
157686
157692
|
/** Internal types handle bigint as number, because TS can't figure it out. */
|
|
@@ -157763,7 +157769,7 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157763
157769
|
exports.timestamp = timestamp;
|
|
157764
157770
|
}));
|
|
157765
157771
|
//#endregion
|
|
157766
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157772
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
157767
157773
|
var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157768
157774
|
var map = require_map();
|
|
157769
157775
|
var _null = require_null();
|
|
@@ -157803,7 +157809,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157803
157809
|
];
|
|
157804
157810
|
}));
|
|
157805
157811
|
//#endregion
|
|
157806
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157812
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js
|
|
157807
157813
|
var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157808
157814
|
var map = require_map();
|
|
157809
157815
|
var _null = require_null();
|
|
@@ -157889,7 +157895,7 @@ var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157889
157895
|
exports.getTags = getTags;
|
|
157890
157896
|
}));
|
|
157891
157897
|
//#endregion
|
|
157892
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157898
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js
|
|
157893
157899
|
var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157894
157900
|
var identity = require_identity();
|
|
157895
157901
|
var map = require_map();
|
|
@@ -157917,7 +157923,7 @@ var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157917
157923
|
};
|
|
157918
157924
|
}));
|
|
157919
157925
|
//#endregion
|
|
157920
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157926
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
157921
157927
|
var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157922
157928
|
var identity = require_identity();
|
|
157923
157929
|
var stringify = require_stringify();
|
|
@@ -157979,7 +157985,7 @@ var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
157979
157985
|
exports.stringifyDocument = stringifyDocument;
|
|
157980
157986
|
}));
|
|
157981
157987
|
//#endregion
|
|
157982
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
157988
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js
|
|
157983
157989
|
var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
157984
157990
|
var Alias = require_Alias();
|
|
157985
157991
|
var Collection = require_Collection();
|
|
@@ -158260,7 +158266,7 @@ var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158260
158266
|
exports.Document = Document;
|
|
158261
158267
|
}));
|
|
158262
158268
|
//#endregion
|
|
158263
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158269
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js
|
|
158264
158270
|
var require_errors$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158265
158271
|
var YAMLError = class extends Error {
|
|
158266
158272
|
constructor(name, pos, code, message) {
|
|
@@ -158313,7 +158319,7 @@ var require_errors$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158313
158319
|
exports.prettifyError = prettifyError;
|
|
158314
158320
|
}));
|
|
158315
158321
|
//#endregion
|
|
158316
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158322
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js
|
|
158317
158323
|
var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158318
158324
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
158319
158325
|
let spaceBefore = false;
|
|
@@ -158420,7 +158426,7 @@ var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158420
158426
|
exports.resolveProps = resolveProps;
|
|
158421
158427
|
}));
|
|
158422
158428
|
//#endregion
|
|
158423
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158429
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
158424
158430
|
var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158425
158431
|
function containsNewline(key) {
|
|
158426
158432
|
if (!key) return null;
|
|
@@ -158449,7 +158455,7 @@ var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
158449
158455
|
exports.containsNewline = containsNewline;
|
|
158450
158456
|
}));
|
|
158451
158457
|
//#endregion
|
|
158452
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158458
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
158453
158459
|
var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158454
158460
|
var utilContainsNewline = require_util_contains_newline();
|
|
158455
158461
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -158461,7 +158467,7 @@ var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
158461
158467
|
exports.flowIndentCheck = flowIndentCheck;
|
|
158462
158468
|
}));
|
|
158463
158469
|
//#endregion
|
|
158464
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158470
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
|
|
158465
158471
|
var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158466
158472
|
var identity = require_identity();
|
|
158467
158473
|
function mapIncludes(ctx, items, search) {
|
|
@@ -158473,7 +158479,7 @@ var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158473
158479
|
exports.mapIncludes = mapIncludes;
|
|
158474
158480
|
}));
|
|
158475
158481
|
//#endregion
|
|
158476
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158482
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
158477
158483
|
var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158478
158484
|
var Pair = require_Pair();
|
|
158479
158485
|
var YAMLMap = require_YAMLMap();
|
|
@@ -158561,7 +158567,7 @@ var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158561
158567
|
exports.resolveBlockMap = resolveBlockMap;
|
|
158562
158568
|
}));
|
|
158563
158569
|
//#endregion
|
|
158564
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158570
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
158565
158571
|
var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158566
158572
|
var YAMLSeq = require_YAMLSeq();
|
|
158567
158573
|
var resolveProps = require_resolve_props();
|
|
@@ -158606,7 +158612,7 @@ var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158606
158612
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
158607
158613
|
}));
|
|
158608
158614
|
//#endregion
|
|
158609
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158615
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js
|
|
158610
158616
|
var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158611
158617
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
158612
158618
|
let comment = "";
|
|
@@ -158644,7 +158650,7 @@ var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158644
158650
|
exports.resolveEnd = resolveEnd;
|
|
158645
158651
|
}));
|
|
158646
158652
|
//#endregion
|
|
158647
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158653
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
158648
158654
|
var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158649
158655
|
var identity = require_identity();
|
|
158650
158656
|
var Pair = require_Pair();
|
|
@@ -158807,7 +158813,7 @@ var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) =
|
|
|
158807
158813
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
158808
158814
|
}));
|
|
158809
158815
|
//#endregion
|
|
158810
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158816
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js
|
|
158811
158817
|
var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158812
158818
|
var identity = require_identity();
|
|
158813
158819
|
var Scalar = require_Scalar();
|
|
@@ -158859,7 +158865,7 @@ var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
158859
158865
|
exports.composeCollection = composeCollection;
|
|
158860
158866
|
}));
|
|
158861
158867
|
//#endregion
|
|
158862
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
158868
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
158863
158869
|
var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
158864
158870
|
var Scalar = require_Scalar();
|
|
158865
158871
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -159036,7 +159042,7 @@ var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159036
159042
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
159037
159043
|
}));
|
|
159038
159044
|
//#endregion
|
|
159039
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159045
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
159040
159046
|
var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159041
159047
|
var Scalar = require_Scalar();
|
|
159042
159048
|
var resolveEnd = require_resolve_end();
|
|
@@ -159106,40 +159112,41 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159106
159112
|
case "`": badChar = `reserved character ${source[0]}`;
|
|
159107
159113
|
}
|
|
159108
159114
|
if (badChar) onError(0, "BAD_SCALAR_START", `Plain value cannot start with ${badChar}`);
|
|
159109
|
-
return
|
|
159115
|
+
return unfoldLines(source);
|
|
159110
159116
|
}
|
|
159111
159117
|
function singleQuotedValue(source, onError) {
|
|
159112
159118
|
if (source[source.length - 1] !== "'" || source.length === 1) onError(source.length, "MISSING_CHAR", "Missing closing 'quote");
|
|
159113
|
-
return
|
|
159119
|
+
return unfoldLines(source.slice(1, -1)).replace(/''/g, "'");
|
|
159114
159120
|
}
|
|
159115
|
-
function
|
|
159121
|
+
function unfoldLines(source) {
|
|
159122
|
+
const line = /(.*?)\r?\n/sy;
|
|
159123
|
+
let match = line.exec(source);
|
|
159124
|
+
if (!match) return source;
|
|
159116
159125
|
/**
|
|
159117
|
-
* The negative
|
|
159126
|
+
* The negative lookbehinds in these RegExps are to
|
|
159118
159127
|
* prevent causing a polynomial search time in certain cases.
|
|
159119
159128
|
*
|
|
159120
|
-
* The try-catch is for Safari
|
|
159129
|
+
* The try-catch is for Safari < 16.4 and other old browsers:
|
|
159121
159130
|
* https://caniuse.com/js-regexp-lookbehind
|
|
159122
159131
|
*/
|
|
159123
|
-
let
|
|
159132
|
+
let trimEnd, trimBoth;
|
|
159124
159133
|
try {
|
|
159125
|
-
|
|
159126
|
-
|
|
159134
|
+
trimEnd = new RegExp("(?<![ ])[ ]+$");
|
|
159135
|
+
trimBoth = new RegExp("^[ ]+|(?<![ ])[ ]+$", "g");
|
|
159127
159136
|
} catch {
|
|
159128
|
-
|
|
159129
|
-
|
|
159137
|
+
trimEnd = /[ \t]+$/;
|
|
159138
|
+
trimBoth = /^[ \t]+|[ \t]+$/g;
|
|
159130
159139
|
}
|
|
159131
|
-
let
|
|
159132
|
-
if (!match) return source;
|
|
159133
|
-
let res = match[1];
|
|
159140
|
+
let res = match[1].replace(trimEnd, "");
|
|
159134
159141
|
let sep = " ";
|
|
159135
|
-
let pos =
|
|
159136
|
-
line.lastIndex = pos;
|
|
159142
|
+
let pos = line.lastIndex;
|
|
159137
159143
|
while (match = line.exec(source)) {
|
|
159138
|
-
|
|
159144
|
+
const lm = match[1].replace(trimBoth, "");
|
|
159145
|
+
if (lm === "") {
|
|
159139
159146
|
if (sep === "\n") res += sep;
|
|
159140
159147
|
else sep = "\n";
|
|
159141
159148
|
} else {
|
|
159142
|
-
res += sep +
|
|
159149
|
+
res += sep + lm;
|
|
159143
159150
|
sep = " ";
|
|
159144
159151
|
}
|
|
159145
159152
|
pos = line.lastIndex;
|
|
@@ -159169,11 +159176,7 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159169
159176
|
next = source[++i + 1];
|
|
159170
159177
|
while (next === " " || next === " ") next = source[++i + 1];
|
|
159171
159178
|
} else if (next === "x" || next === "u" || next === "U") {
|
|
159172
|
-
const length =
|
|
159173
|
-
x: 2,
|
|
159174
|
-
u: 4,
|
|
159175
|
-
U: 8
|
|
159176
|
-
}[next];
|
|
159179
|
+
const length = next === "x" ? 2 : next === "u" ? 4 : 8;
|
|
159177
159180
|
res += parseCharCode(source, i + 1, length, onError);
|
|
159178
159181
|
i += length;
|
|
159179
159182
|
} else {
|
|
@@ -159233,17 +159236,18 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159233
159236
|
function parseCharCode(source, offset, length, onError) {
|
|
159234
159237
|
const cc = source.substr(offset, length);
|
|
159235
159238
|
const code = cc.length === length && /^[0-9a-fA-F]+$/.test(cc) ? parseInt(cc, 16) : NaN;
|
|
159236
|
-
|
|
159239
|
+
try {
|
|
159240
|
+
return String.fromCodePoint(code);
|
|
159241
|
+
} catch {
|
|
159237
159242
|
const raw = source.substr(offset - 2, length + 2);
|
|
159238
159243
|
onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`);
|
|
159239
159244
|
return raw;
|
|
159240
159245
|
}
|
|
159241
|
-
return String.fromCodePoint(code);
|
|
159242
159246
|
}
|
|
159243
159247
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
159244
159248
|
}));
|
|
159245
159249
|
//#endregion
|
|
159246
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159250
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js
|
|
159247
159251
|
var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159248
159252
|
var identity = require_identity();
|
|
159249
159253
|
var Scalar = require_Scalar();
|
|
@@ -159304,7 +159308,7 @@ var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159304
159308
|
exports.composeScalar = composeScalar;
|
|
159305
159309
|
}));
|
|
159306
159310
|
//#endregion
|
|
159307
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159311
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
159308
159312
|
var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159309
159313
|
function emptyScalarPosition(offset, before, pos) {
|
|
159310
159314
|
if (before) {
|
|
@@ -159331,7 +159335,7 @@ var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports
|
|
|
159331
159335
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
159332
159336
|
}));
|
|
159333
159337
|
//#endregion
|
|
159334
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159338
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js
|
|
159335
159339
|
var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159336
159340
|
var Alias = require_Alias();
|
|
159337
159341
|
var identity = require_identity();
|
|
@@ -159422,7 +159426,7 @@ var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159422
159426
|
exports.composeNode = composeNode;
|
|
159423
159427
|
}));
|
|
159424
159428
|
//#endregion
|
|
159425
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159429
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js
|
|
159426
159430
|
var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159427
159431
|
var Document = require_Document();
|
|
159428
159432
|
var composeNode = require_compose_node();
|
|
@@ -159464,7 +159468,7 @@ var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159464
159468
|
exports.composeDoc = composeDoc;
|
|
159465
159469
|
}));
|
|
159466
159470
|
//#endregion
|
|
159467
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159471
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js
|
|
159468
159472
|
var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159469
159473
|
var node_process = __require("process");
|
|
159470
159474
|
var directives = require_directives();
|
|
@@ -159548,8 +159552,8 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159548
159552
|
}
|
|
159549
159553
|
}
|
|
159550
159554
|
if (afterDoc) {
|
|
159551
|
-
|
|
159552
|
-
|
|
159555
|
+
for (let i = 0; i < this.errors.length; ++i) doc.errors.push(this.errors[i]);
|
|
159556
|
+
for (let i = 0; i < this.warnings.length; ++i) doc.warnings.push(this.warnings[i]);
|
|
159553
159557
|
} else {
|
|
159554
159558
|
doc.errors = this.errors;
|
|
159555
159559
|
doc.warnings = this.warnings;
|
|
@@ -159662,7 +159666,7 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159662
159666
|
exports.Composer = Composer;
|
|
159663
159667
|
}));
|
|
159664
159668
|
//#endregion
|
|
159665
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159669
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js
|
|
159666
159670
|
var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159667
159671
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
159668
159672
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -159929,7 +159933,7 @@ var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159929
159933
|
exports.setScalarValue = setScalarValue;
|
|
159930
159934
|
}));
|
|
159931
159935
|
//#endregion
|
|
159932
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159936
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js
|
|
159933
159937
|
var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159934
159938
|
/**
|
|
159935
159939
|
* Stringify a CST document, token, or collection item
|
|
@@ -159980,7 +159984,7 @@ var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
159980
159984
|
exports.stringify = stringify;
|
|
159981
159985
|
}));
|
|
159982
159986
|
//#endregion
|
|
159983
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
159987
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js
|
|
159984
159988
|
var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
159985
159989
|
const BREAK = Symbol("break visit");
|
|
159986
159990
|
const SKIP = Symbol("skip children");
|
|
@@ -160071,7 +160075,7 @@ var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160071
160075
|
exports.visit = visit;
|
|
160072
160076
|
}));
|
|
160073
160077
|
//#endregion
|
|
160074
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
160078
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js
|
|
160075
160079
|
var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
160076
160080
|
var cstScalar = require_cst_scalar();
|
|
160077
160081
|
var cstStringify = require_cst_stringify();
|
|
@@ -160150,7 +160154,7 @@ var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160150
160154
|
exports.tokenType = tokenType;
|
|
160151
160155
|
}));
|
|
160152
160156
|
//#endregion
|
|
160153
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
160157
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js
|
|
160154
160158
|
var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
160155
160159
|
var cst = require_cst();
|
|
160156
160160
|
function isEmpty(ch) {
|
|
@@ -160364,7 +160368,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160364
160368
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
160365
160369
|
this.indentNext = this.indentValue + 1;
|
|
160366
160370
|
this.indentValue += n;
|
|
160367
|
-
return
|
|
160371
|
+
return "block-start";
|
|
160368
160372
|
}
|
|
160369
160373
|
return "doc";
|
|
160370
160374
|
}
|
|
@@ -160610,22 +160614,34 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160610
160614
|
return 0;
|
|
160611
160615
|
}
|
|
160612
160616
|
*pushIndicators() {
|
|
160613
|
-
|
|
160614
|
-
|
|
160615
|
-
|
|
160616
|
-
|
|
160617
|
-
|
|
160618
|
-
|
|
160619
|
-
|
|
160620
|
-
|
|
160621
|
-
|
|
160622
|
-
|
|
160623
|
-
|
|
160624
|
-
|
|
160617
|
+
let n = 0;
|
|
160618
|
+
loop: while (true) {
|
|
160619
|
+
switch (this.charAt(0)) {
|
|
160620
|
+
case "!":
|
|
160621
|
+
n += yield* this.pushTag();
|
|
160622
|
+
n += yield* this.pushSpaces(true);
|
|
160623
|
+
continue loop;
|
|
160624
|
+
case "&":
|
|
160625
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
160626
|
+
n += yield* this.pushSpaces(true);
|
|
160627
|
+
continue loop;
|
|
160628
|
+
case "-":
|
|
160629
|
+
case "?":
|
|
160630
|
+
case ":": {
|
|
160631
|
+
const inFlow = this.flowLevel > 0;
|
|
160632
|
+
const ch1 = this.charAt(1);
|
|
160633
|
+
if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
|
|
160634
|
+
if (!inFlow) this.indentNext = this.indentValue + 1;
|
|
160635
|
+
else if (this.flowKey) this.flowKey = false;
|
|
160636
|
+
n += yield* this.pushCount(1);
|
|
160637
|
+
n += yield* this.pushSpaces(true);
|
|
160638
|
+
continue loop;
|
|
160639
|
+
}
|
|
160625
160640
|
}
|
|
160626
160641
|
}
|
|
160642
|
+
break loop;
|
|
160627
160643
|
}
|
|
160628
|
-
return
|
|
160644
|
+
return n;
|
|
160629
160645
|
}
|
|
160630
160646
|
*pushTag() {
|
|
160631
160647
|
if (this.charAt(1) === "<") {
|
|
@@ -160671,7 +160687,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160671
160687
|
exports.Lexer = Lexer;
|
|
160672
160688
|
}));
|
|
160673
160689
|
//#endregion
|
|
160674
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
160690
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js
|
|
160675
160691
|
var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
160676
160692
|
/**
|
|
160677
160693
|
* Tracks newlines during parsing in order to provide an efficient API for
|
|
@@ -160718,7 +160734,7 @@ var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160718
160734
|
exports.LineCounter = LineCounter;
|
|
160719
160735
|
}));
|
|
160720
160736
|
//#endregion
|
|
160721
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
160737
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js
|
|
160722
160738
|
var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
160723
160739
|
var node_process = __require("process");
|
|
160724
160740
|
var cst = require_cst();
|
|
@@ -160772,15 +160788,19 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
160772
160788
|
while (prev[++i]?.type === "space");
|
|
160773
160789
|
return prev.splice(i, prev.length);
|
|
160774
160790
|
}
|
|
160791
|
+
function arrayPushArray(target, source) {
|
|
160792
|
+
if (source.length < 1e5) Array.prototype.push.apply(target, source);
|
|
160793
|
+
else for (let i = 0; i < source.length; ++i) target.push(source[i]);
|
|
160794
|
+
}
|
|
160775
160795
|
function fixFlowSeqItems(fc) {
|
|
160776
160796
|
if (fc.start.type === "flow-seq-start") {
|
|
160777
160797
|
for (const it of fc.items) if (it.sep && !it.value && !includesToken(it.start, "explicit-key-ind") && !includesToken(it.sep, "map-value-ind")) {
|
|
160778
160798
|
if (it.key) it.value = it.key;
|
|
160779
160799
|
delete it.key;
|
|
160780
160800
|
if (isFlowToken(it.value)) {
|
|
160781
|
-
if (it.value.end)
|
|
160801
|
+
if (it.value.end) arrayPushArray(it.value.end, it.sep);
|
|
160782
160802
|
else it.value.end = it.sep;
|
|
160783
|
-
} else
|
|
160803
|
+
} else arrayPushArray(it.start, it.sep);
|
|
160784
160804
|
delete it.sep;
|
|
160785
160805
|
}
|
|
160786
160806
|
}
|
|
@@ -161152,7 +161172,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161152
161172
|
if (this.atIndentedComment(it.start, map.indent)) {
|
|
161153
161173
|
const end = map.items[map.items.length - 2]?.value?.end;
|
|
161154
161174
|
if (Array.isArray(end)) {
|
|
161155
|
-
|
|
161175
|
+
arrayPushArray(end, it.start);
|
|
161156
161176
|
end.push(this.sourceToken);
|
|
161157
161177
|
map.items.pop();
|
|
161158
161178
|
return;
|
|
@@ -161352,7 +161372,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161352
161372
|
if (this.atIndentedComment(it.start, seq.indent)) {
|
|
161353
161373
|
const end = seq.items[seq.items.length - 2]?.value?.end;
|
|
161354
161374
|
if (Array.isArray(end)) {
|
|
161355
|
-
|
|
161375
|
+
arrayPushArray(end, it.start);
|
|
161356
161376
|
end.push(this.sourceToken);
|
|
161357
161377
|
seq.items.pop();
|
|
161358
161378
|
return;
|
|
@@ -161580,7 +161600,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161580
161600
|
exports.Parser = Parser;
|
|
161581
161601
|
}));
|
|
161582
161602
|
//#endregion
|
|
161583
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
161603
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js
|
|
161584
161604
|
var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
161585
161605
|
var composer = require_composer();
|
|
161586
161606
|
var Document = require_Document();
|
|
@@ -161669,7 +161689,7 @@ var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161669
161689
|
exports.stringify = stringify;
|
|
161670
161690
|
}));
|
|
161671
161691
|
//#endregion
|
|
161672
|
-
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.
|
|
161692
|
+
//#region ../../../common/temp/aac/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js
|
|
161673
161693
|
var require_dist$5 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
161674
161694
|
var composer = require_composer();
|
|
161675
161695
|
var Document = require_Document();
|
|
@@ -163729,6 +163749,45 @@ function convertDateValues(gran, values) {
|
|
|
163729
163749
|
const granularity = gran;
|
|
163730
163750
|
return values.map((v) => parseGranularityValue$1(granularity, v)).filter((v) => v !== null && v !== void 0);
|
|
163731
163751
|
}
|
|
163752
|
+
/**
|
|
163753
|
+
* Before the date filter carried its own `empty_values`, the mode was stored as an attribute filter on the
|
|
163754
|
+
* date label with the single value `""`: `include` meant "only", `exclude` meant "exclude". Pull and AD
|
|
163755
|
+
* still read that shape; deploy must not write it, because the backend executes it next to the date
|
|
163756
|
+
* filter's default of excluding empty values, and the two cancel out.
|
|
163757
|
+
*
|
|
163758
|
+
* Returns the date filter with such a `with:` entry folded into `empty_values` and removed. An explicit
|
|
163759
|
+
* `empty_values` wins, the entry is dropped either way. A `""` mixed with other values, or on a label
|
|
163760
|
+
* that is not of the date filter's dataset, or several `""` markers, is an ordinary filter and stays.
|
|
163761
|
+
*/
|
|
163762
|
+
function foldLegacyEmptyValuesWithFilter(filter) {
|
|
163763
|
+
const withFilters = filter.with;
|
|
163764
|
+
if (!withFilters) return filter;
|
|
163765
|
+
const datasetId = filter.using.split("/").pop();
|
|
163766
|
+
const legacy = Object.entries(withFilters).flatMap(([key, withFilter]) => {
|
|
163767
|
+
const mode = legacyEmptyValuesMode(withFilter, datasetId);
|
|
163768
|
+
return mode ? [{
|
|
163769
|
+
key,
|
|
163770
|
+
mode
|
|
163771
|
+
}] : [];
|
|
163772
|
+
});
|
|
163773
|
+
if (legacy.length !== 1) return filter;
|
|
163774
|
+
const legacyKeys = new Set(legacy.map(({ key }) => key));
|
|
163775
|
+
const remaining = Object.fromEntries(Object.entries(withFilters).filter(([key]) => !legacyKeys.has(key)));
|
|
163776
|
+
const { with: _with, ...rest } = filter;
|
|
163777
|
+
return {
|
|
163778
|
+
...rest,
|
|
163779
|
+
...Object.keys(remaining).length > 0 ? { with: remaining } : {},
|
|
163780
|
+
...filter.empty_values ? {} : { empty_values: legacy[0].mode }
|
|
163781
|
+
};
|
|
163782
|
+
}
|
|
163783
|
+
function legacyEmptyValuesMode(filter, datasetId) {
|
|
163784
|
+
const labelId = filter.using.split("/").pop() ?? "";
|
|
163785
|
+
const granularity = datasetId && labelId.startsWith(`${datasetId}.`) ? labelId.slice(datasetId.length + 1) : "";
|
|
163786
|
+
if (!granularity || granularity.includes(".")) return;
|
|
163787
|
+
const isOnlyEmpty = (values) => values?.length === 1 && values[0] === "";
|
|
163788
|
+
if (isOnlyEmpty(filter.state?.include)) return "only";
|
|
163789
|
+
return isOnlyEmpty(filter.state?.exclude) ? "exclude" : void 0;
|
|
163790
|
+
}
|
|
163732
163791
|
//#endregion
|
|
163733
163792
|
//#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-code-convertors@file+..+..+..+sdk+libs+sdk-code-convertors_debug@4.4.3/node_modules/@gooddata/sdk-code-convertors/esm/utils/permissionUtils.js
|
|
163734
163793
|
/** @public */
|
|
@@ -169787,6 +169846,7 @@ function yamlRankingFilterToDeclarative(filter) {
|
|
|
169787
169846
|
} }] };
|
|
169788
169847
|
}
|
|
169789
169848
|
function yamlFilterToDeclarative(entities, key, filter, assignFilterLocalId) {
|
|
169849
|
+
if (isDateFilter$1(filter)) filter = foldLegacyEmptyValuesWithFilter(filter);
|
|
169790
169850
|
if (isAbsoluteDateFilter$1(filter)) return yamlAbsoluteDateFilterToDeclarative(entities, filter, assignFilterLocalId);
|
|
169791
169851
|
if (isRelativeDateFilter$1(filter)) return yamlRelativeDateFilterToDeclarative(entities, filter, assignFilterLocalId);
|
|
169792
169852
|
if (isPositiveAttributeFilter(filter)) return yamlPositiveAttributeFilterToDeclarative(entities, key, filter, assignFilterLocalId);
|
|
@@ -171736,7 +171796,8 @@ function buildFilters(entities, filters_by) {
|
|
|
171736
171796
|
if (!filters_by) return [];
|
|
171737
171797
|
const filters = [];
|
|
171738
171798
|
Object.keys(filters_by ?? {}).forEach((key) => {
|
|
171739
|
-
const
|
|
171799
|
+
const queryFilter = filters_by[key];
|
|
171800
|
+
const filter = isDateFilter$1(queryFilter) ? foldLegacyEmptyValuesWithFilter(queryFilter) : queryFilter;
|
|
171740
171801
|
if (isAbsoluteDateFilter$1(filter)) filters.push({ absoluteDateFilter: {
|
|
171741
171802
|
dataset: createIdentifier(filter.using, { forceType: "dataset" }),
|
|
171742
171803
|
from: filter.from,
|
|
@@ -171755,6 +171816,7 @@ function buildFilters(entities, filters_by) {
|
|
|
171755
171816
|
to: filter.to,
|
|
171756
171817
|
...dateFilterEmptyValueHandling(filter)
|
|
171757
171818
|
} });
|
|
171819
|
+
if (isDateFilter$1(filter) && filter.with) filters.push(...buildFilters(entities, filter.with));
|
|
171758
171820
|
if (isPositiveAttributeFilter(filter)) filters.push({ positiveAttributeFilter: {
|
|
171759
171821
|
label: createIdentifier(filter.using),
|
|
171760
171822
|
in: { values: parseDateValues(entities, filter.using, filter.state?.include ?? []) }
|
|
@@ -171844,7 +171906,8 @@ function buildFilters(entities, filters_by) {
|
|
|
171844
171906
|
measures: [createIdentifier(filter.using) || createLocalIdentifier(filter.using)],
|
|
171845
171907
|
...filter.attribute ? { dimensionality: [createIdentifier(filter.attribute) || createLocalIdentifier(filter.attribute)] } : {},
|
|
171846
171908
|
operator: filter.top === void 0 ? "BOTTOM" : "TOP",
|
|
171847
|
-
value: filter.top === void 0 ? filter.bottom : filter.top
|
|
171909
|
+
value: filter.top === void 0 ? filter.bottom : filter.top,
|
|
171910
|
+
...filter.strict_limit_of_rows === void 0 ? {} : { strictLimitOfRows: filter.strict_limit_of_rows }
|
|
171848
171911
|
} });
|
|
171849
171912
|
});
|
|
171850
171913
|
return filters;
|
|
@@ -175412,8 +175475,8 @@ function visitChildren(node, visitor) {
|
|
|
175412
175475
|
//#region ../code-ast/esm/nodes.js
|
|
175413
175476
|
/**
|
|
175414
175477
|
* @public
|
|
175415
|
-
* @param node
|
|
175416
|
-
* @param filters
|
|
175478
|
+
* @param node - AST node
|
|
175479
|
+
* @param filters - node types to include and/or exclude
|
|
175417
175480
|
*/
|
|
175418
175481
|
function filterChildren(node, filters) {
|
|
175419
175482
|
return node.children.filter((item) => {
|
|
@@ -175425,7 +175488,7 @@ function filterChildren(node, filters) {
|
|
|
175425
175488
|
}
|
|
175426
175489
|
/**
|
|
175427
175490
|
* @public
|
|
175428
|
-
* @param node
|
|
175491
|
+
* @param node - AST node
|
|
175429
175492
|
*/
|
|
175430
175493
|
function getPropertyKeyNode(node) {
|
|
175431
175494
|
if (node?.type === "property") return filterChildren(node, { exclude: ["comment"] })[0];
|
|
@@ -175433,7 +175496,7 @@ function getPropertyKeyNode(node) {
|
|
|
175433
175496
|
}
|
|
175434
175497
|
/**
|
|
175435
175498
|
* @public
|
|
175436
|
-
* @param node
|
|
175499
|
+
* @param node - AST node
|
|
175437
175500
|
*/
|
|
175438
175501
|
function getPropertyValueNode(node) {
|
|
175439
175502
|
if (node?.type === "property") return filterChildren(node, { exclude: ["comment"] })[1];
|
|
@@ -175441,8 +175504,8 @@ function getPropertyValueNode(node) {
|
|
|
175441
175504
|
}
|
|
175442
175505
|
/**
|
|
175443
175506
|
* @public
|
|
175444
|
-
* @param ast
|
|
175445
|
-
* @param child
|
|
175507
|
+
* @param ast - root AST node
|
|
175508
|
+
* @param child - child node
|
|
175446
175509
|
*/
|
|
175447
175510
|
function getPropertyNode(ast, child) {
|
|
175448
175511
|
if (child.type !== "property") {
|
|
@@ -175454,8 +175517,8 @@ function getPropertyNode(ast, child) {
|
|
|
175454
175517
|
}
|
|
175455
175518
|
/**
|
|
175456
175519
|
* @public
|
|
175457
|
-
* @param ast
|
|
175458
|
-
* @param node
|
|
175520
|
+
* @param ast - root AST node
|
|
175521
|
+
* @param node - AST node
|
|
175459
175522
|
*/
|
|
175460
175523
|
function getParentNode(ast, node) {
|
|
175461
175524
|
const path = calculatePath(ast, node);
|
|
@@ -175463,8 +175526,8 @@ function getParentNode(ast, node) {
|
|
|
175463
175526
|
}
|
|
175464
175527
|
/**
|
|
175465
175528
|
* @public
|
|
175466
|
-
* @param root
|
|
175467
|
-
* @param node
|
|
175529
|
+
* @param root - root AST node
|
|
175530
|
+
* @param node - AST node
|
|
175468
175531
|
*/
|
|
175469
175532
|
function getNodeParents(root, node) {
|
|
175470
175533
|
let path = [];
|
|
@@ -175481,9 +175544,9 @@ function getNodeParents(root, node) {
|
|
|
175481
175544
|
//#region ../code-ast/esm/position.js
|
|
175482
175545
|
/**
|
|
175483
175546
|
* @public
|
|
175484
|
-
* @param document
|
|
175485
|
-
* @param roots
|
|
175486
|
-
* @param point
|
|
175547
|
+
* @param document - text document
|
|
175548
|
+
* @param roots - candidate root nodes
|
|
175549
|
+
* @param point - point in the document
|
|
175487
175550
|
*/
|
|
175488
175551
|
function calculatePosition(document, roots, point) {
|
|
175489
175552
|
const root = selectValidRoot(roots, point);
|
|
@@ -175497,17 +175560,17 @@ function calculatePosition(document, roots, point) {
|
|
|
175497
175560
|
}
|
|
175498
175561
|
/**
|
|
175499
175562
|
* @public
|
|
175500
|
-
* @param root
|
|
175501
|
-
* @param node
|
|
175563
|
+
* @param root - root AST node
|
|
175564
|
+
* @param node - AST node
|
|
175502
175565
|
*/
|
|
175503
175566
|
function calculatePath(root, node) {
|
|
175504
175567
|
return node && root ? getNodeParents(root, node) : [];
|
|
175505
175568
|
}
|
|
175506
175569
|
/**
|
|
175507
175570
|
* @public
|
|
175508
|
-
* @param document
|
|
175509
|
-
* @param root
|
|
175510
|
-
* @param node
|
|
175571
|
+
* @param document - text document
|
|
175572
|
+
* @param root - root AST node
|
|
175573
|
+
* @param node - AST node
|
|
175511
175574
|
*/
|
|
175512
175575
|
function calculateValuePosition(document, root, node) {
|
|
175513
175576
|
if (!root || !node?.position) return createPosition(document, 0, 0, 0);
|
|
@@ -175525,10 +175588,10 @@ function calculateValuePosition(document, root, node) {
|
|
|
175525
175588
|
}
|
|
175526
175589
|
/**
|
|
175527
175590
|
* @public
|
|
175528
|
-
* @param document
|
|
175529
|
-
* @param startOffset
|
|
175530
|
-
* @param endOffset
|
|
175531
|
-
* @param indent
|
|
175591
|
+
* @param document - text document
|
|
175592
|
+
* @param startOffset - start offset in the document
|
|
175593
|
+
* @param endOffset - end offset in the document
|
|
175594
|
+
* @param indent - indentation level
|
|
175532
175595
|
*/
|
|
175533
175596
|
function createPosition(document, startOffset, endOffset = startOffset, indent = 0) {
|
|
175534
175597
|
const start = createPoint(document, startOffset);
|
|
@@ -175542,8 +175605,8 @@ function createPosition(document, startOffset, endOffset = startOffset, indent =
|
|
|
175542
175605
|
}
|
|
175543
175606
|
/**
|
|
175544
175607
|
* @public
|
|
175545
|
-
* @param document
|
|
175546
|
-
* @param offset
|
|
175608
|
+
* @param document - text document
|
|
175609
|
+
* @param offset - offset in the document
|
|
175547
175610
|
*/
|
|
175548
175611
|
function createPoint(document, offset) {
|
|
175549
175612
|
const position = document.positionAt(offset);
|
|
@@ -175731,30 +175794,30 @@ function getPoints(document, point) {
|
|
|
175731
175794
|
//#region ../code-ast/esm/yaml/ast/nodes.js
|
|
175732
175795
|
/**
|
|
175733
175796
|
* @public
|
|
175734
|
-
* @param document
|
|
175735
|
-
* @param start
|
|
175736
|
-
* @param end
|
|
175737
|
-
* @param indent
|
|
175797
|
+
* @param document - text document
|
|
175798
|
+
* @param start - start offset
|
|
175799
|
+
* @param end - end offset
|
|
175800
|
+
* @param indent - indentation level
|
|
175738
175801
|
*/
|
|
175739
175802
|
function newObjectNode(document, start, end = start, indent) {
|
|
175740
175803
|
return u("object", { position: createPosition(document, start, end, indent) }, []);
|
|
175741
175804
|
}
|
|
175742
175805
|
/**
|
|
175743
175806
|
* @public
|
|
175744
|
-
* @param document
|
|
175745
|
-
* @param start
|
|
175746
|
-
* @param end
|
|
175747
|
-
* @param indent
|
|
175807
|
+
* @param document - text document
|
|
175808
|
+
* @param start - start offset
|
|
175809
|
+
* @param end - end offset
|
|
175810
|
+
* @param indent - indentation level
|
|
175748
175811
|
*/
|
|
175749
175812
|
function newPropertyNode(document, start, end = start, indent) {
|
|
175750
175813
|
return u("property", { position: createPosition(document, start, end, indent) }, []);
|
|
175751
175814
|
}
|
|
175752
175815
|
/**
|
|
175753
175816
|
* @public
|
|
175754
|
-
* @param document
|
|
175755
|
-
* @param start
|
|
175756
|
-
* @param end
|
|
175757
|
-
* @param indent
|
|
175817
|
+
* @param document - text document
|
|
175818
|
+
* @param start - start offset
|
|
175819
|
+
* @param end - end offset
|
|
175820
|
+
* @param indent - indentation level
|
|
175758
175821
|
*/
|
|
175759
175822
|
function newStringNode(document, start, end = start, indent) {
|
|
175760
175823
|
return u("string", {
|
|
@@ -175766,20 +175829,20 @@ function newStringNode(document, start, end = start, indent) {
|
|
|
175766
175829
|
}
|
|
175767
175830
|
/**
|
|
175768
175831
|
* @public
|
|
175769
|
-
* @param document
|
|
175770
|
-
* @param start
|
|
175771
|
-
* @param end
|
|
175772
|
-
* @param indent
|
|
175832
|
+
* @param document - text document
|
|
175833
|
+
* @param start - start offset
|
|
175834
|
+
* @param end - end offset
|
|
175835
|
+
* @param indent - indentation level
|
|
175773
175836
|
*/
|
|
175774
175837
|
function newArrayNode(document, start, end = start, indent) {
|
|
175775
175838
|
return u("array", { position: createPosition(document, start, end, indent) }, []);
|
|
175776
175839
|
}
|
|
175777
175840
|
/**
|
|
175778
175841
|
* @public
|
|
175779
|
-
* @param document
|
|
175780
|
-
* @param start
|
|
175781
|
-
* @param end
|
|
175782
|
-
* @param indent
|
|
175842
|
+
* @param document - text document
|
|
175843
|
+
* @param start - start offset
|
|
175844
|
+
* @param end - end offset
|
|
175845
|
+
* @param indent - indentation level
|
|
175783
175846
|
*/
|
|
175784
175847
|
function newNullNode(document, start, end = start, indent) {
|
|
175785
175848
|
return u("null", {
|
|
@@ -175789,10 +175852,10 @@ function newNullNode(document, start, end = start, indent) {
|
|
|
175789
175852
|
}
|
|
175790
175853
|
/**
|
|
175791
175854
|
* @public
|
|
175792
|
-
* @param document
|
|
175793
|
-
* @param start
|
|
175794
|
-
* @param end
|
|
175795
|
-
* @param indent
|
|
175855
|
+
* @param document - text document
|
|
175856
|
+
* @param start - start offset
|
|
175857
|
+
* @param end - end offset
|
|
175858
|
+
* @param indent - indentation level
|
|
175796
175859
|
*/
|
|
175797
175860
|
function newBooleanNode(document, start, end = start, indent) {
|
|
175798
175861
|
return u("boolean", {
|
|
@@ -175803,10 +175866,10 @@ function newBooleanNode(document, start, end = start, indent) {
|
|
|
175803
175866
|
}
|
|
175804
175867
|
/**
|
|
175805
175868
|
* @public
|
|
175806
|
-
* @param document
|
|
175807
|
-
* @param start
|
|
175808
|
-
* @param end
|
|
175809
|
-
* @param indent
|
|
175869
|
+
* @param document - text document
|
|
175870
|
+
* @param start - start offset
|
|
175871
|
+
* @param end - end offset
|
|
175872
|
+
* @param indent - indentation level
|
|
175810
175873
|
*/
|
|
175811
175874
|
function newNumberNode(document, start, end = start, indent) {
|
|
175812
175875
|
return u("number", {
|
|
@@ -175818,10 +175881,10 @@ function newNumberNode(document, start, end = start, indent) {
|
|
|
175818
175881
|
}
|
|
175819
175882
|
/**
|
|
175820
175883
|
* @public
|
|
175821
|
-
* @param document
|
|
175822
|
-
* @param start
|
|
175823
|
-
* @param end
|
|
175824
|
-
* @param indent
|
|
175884
|
+
* @param document - text document
|
|
175885
|
+
* @param start - start offset
|
|
175886
|
+
* @param end - end offset
|
|
175887
|
+
* @param indent - indentation level
|
|
175825
175888
|
*/
|
|
175826
175889
|
function newCommentNode(document, start, end = start, indent) {
|
|
175827
175890
|
return u("comment", {
|
|
@@ -176497,8 +176560,8 @@ function getSchemaTypeName(schemas, schema) {
|
|
|
176497
176560
|
}
|
|
176498
176561
|
/**
|
|
176499
176562
|
* @public
|
|
176500
|
-
* @param schemas
|
|
176501
|
-
* @param schema
|
|
176563
|
+
* @param schemas - available schemas
|
|
176564
|
+
* @param schema - schema to resolve
|
|
176502
176565
|
*/
|
|
176503
176566
|
function getSchemaArray(schemas, schema) {
|
|
176504
176567
|
if (schema) {
|
|
@@ -176950,8 +177013,8 @@ const SchemaErrorMessages = {
|
|
|
176950
177013
|
//#region ../code-ast/esm/schema/completion/helpers.js
|
|
176951
177014
|
/**
|
|
176952
177015
|
* @public
|
|
176953
|
-
* @param items
|
|
176954
|
-
* @param isIncomplete
|
|
177016
|
+
* @param items - completion items
|
|
177017
|
+
* @param isIncomplete - whether the list is incomplete
|
|
176955
177018
|
*/
|
|
176956
177019
|
function createSchemaCompletionList(items, isIncomplete = false) {
|
|
176957
177020
|
return {
|
|
@@ -176961,7 +177024,7 @@ function createSchemaCompletionList(items, isIncomplete = false) {
|
|
|
176961
177024
|
}
|
|
176962
177025
|
/**
|
|
176963
177026
|
* @public
|
|
176964
|
-
* @param args
|
|
177027
|
+
* @param args - completion lists to merge
|
|
176965
177028
|
*/
|
|
176966
177029
|
function mergeSchemaCompletionLists(...args) {
|
|
176967
177030
|
return args.slice(1).reduce((prev, current) => {
|
|
@@ -177018,7 +177081,7 @@ const formats = {
|
|
|
177018
177081
|
//#region ../code-ast/esm/schema/validator/helpers.js
|
|
177019
177082
|
/**
|
|
177020
177083
|
* @public
|
|
177021
|
-
* @param diagnostics
|
|
177084
|
+
* @param diagnostics - schema diagnostics
|
|
177022
177085
|
*/
|
|
177023
177086
|
function createSchemaValidatorDiagnostics(diagnostics) {
|
|
177024
177087
|
return {
|
|
@@ -177035,7 +177098,7 @@ function createSchemaValidatorDiagnostics(diagnostics) {
|
|
|
177035
177098
|
}
|
|
177036
177099
|
/**
|
|
177037
177100
|
* @public
|
|
177038
|
-
* @param args
|
|
177101
|
+
* @param args - validator diagnostics to merge
|
|
177039
177102
|
*/
|
|
177040
177103
|
function mergeSchemaValidatorDiagnostics(...args) {
|
|
177041
177104
|
return args.reduce((prev, current) => {
|
|
@@ -177806,7 +177869,7 @@ function buildMessage$1(message, params) {
|
|
|
177806
177869
|
//#region ../code-ast/esm/value.js
|
|
177807
177870
|
/**
|
|
177808
177871
|
* @public
|
|
177809
|
-
* @param node
|
|
177872
|
+
* @param node - AST node
|
|
177810
177873
|
*/
|
|
177811
177874
|
function getNodeValue(node) {
|
|
177812
177875
|
if (!node) return;
|
|
@@ -177833,9 +177896,9 @@ function getNodeValue(node) {
|
|
|
177833
177896
|
}
|
|
177834
177897
|
/**
|
|
177835
177898
|
* @public
|
|
177836
|
-
* @param document
|
|
177837
|
-
* @param node
|
|
177838
|
-
* @param position
|
|
177899
|
+
* @param document - text document
|
|
177900
|
+
* @param node - AST node
|
|
177901
|
+
* @param position - point in the document
|
|
177839
177902
|
*/
|
|
177840
177903
|
function getValueFromPosition(document, node, position) {
|
|
177841
177904
|
if (node?.value !== void 0) {
|
|
@@ -185760,7 +185823,7 @@ const isManifestFile = (filePath) => {
|
|
|
185760
185823
|
* for the given file or for the given working dir.
|
|
185761
185824
|
*
|
|
185762
185825
|
* @public
|
|
185763
|
-
* @param folderPath An absolute path to look up the manifest for
|
|
185826
|
+
* @param folderPath - An absolute path to look up the manifest for
|
|
185764
185827
|
*/
|
|
185765
185828
|
const findManifestForPath = async (folderPath) => {
|
|
185766
185829
|
if (!path$3.isAbsolute(folderPath)) throw new Error("An absolute path is expected.");
|
|
@@ -186286,21 +186349,21 @@ function nodesFromAst(ast) {
|
|
|
186286
186349
|
//#region ../code/esm/public/FileNode.js
|
|
186287
186350
|
/**
|
|
186288
186351
|
* @public
|
|
186289
|
-
* @param node Any unist node
|
|
186352
|
+
* @param node - Any unist node
|
|
186290
186353
|
*/
|
|
186291
186354
|
function isFile$1(node) {
|
|
186292
186355
|
return isFileNode(node);
|
|
186293
186356
|
}
|
|
186294
186357
|
/**
|
|
186295
186358
|
* @public
|
|
186296
|
-
* @param descriptor File descriptor object
|
|
186359
|
+
* @param descriptor - File descriptor object
|
|
186297
186360
|
*/
|
|
186298
186361
|
function isFileDescriptor(descriptor) {
|
|
186299
186362
|
return Boolean(descriptor && isFileNode(descriptor.node) && isPathDescriptor(descriptor.path) && Array.isArray(descriptor.parents));
|
|
186300
186363
|
}
|
|
186301
186364
|
/**
|
|
186302
186365
|
* @public
|
|
186303
|
-
* @param item File descriptor
|
|
186366
|
+
* @param item - File descriptor
|
|
186304
186367
|
*/
|
|
186305
186368
|
function getContent(item) {
|
|
186306
186369
|
if (isFileDescriptor(item)) {
|
|
@@ -186311,7 +186374,7 @@ function getContent(item) {
|
|
|
186311
186374
|
}
|
|
186312
186375
|
/**
|
|
186313
186376
|
* @public
|
|
186314
|
-
* @param item File descriptor
|
|
186377
|
+
* @param item - File descriptor
|
|
186315
186378
|
*/
|
|
186316
186379
|
function getDocumentHash(item) {
|
|
186317
186380
|
if (isFileDescriptor(item)) {
|
|
@@ -186322,7 +186385,7 @@ function getDocumentHash(item) {
|
|
|
186322
186385
|
}
|
|
186323
186386
|
/**
|
|
186324
186387
|
* @public
|
|
186325
|
-
* @param item File descriptor
|
|
186388
|
+
* @param item - File descriptor
|
|
186326
186389
|
*/
|
|
186327
186390
|
function getAst(item) {
|
|
186328
186391
|
if (isFileDescriptor(item)) return nodesFromAst(findAst(item.node));
|
|
@@ -186330,7 +186393,7 @@ function getAst(item) {
|
|
|
186330
186393
|
}
|
|
186331
186394
|
/**
|
|
186332
186395
|
* @public
|
|
186333
|
-
* @param item File descriptor
|
|
186396
|
+
* @param item - File descriptor
|
|
186334
186397
|
*/
|
|
186335
186398
|
function getTextDocument(item) {
|
|
186336
186399
|
if (isFileDescriptor(item)) {
|
|
@@ -186341,8 +186404,8 @@ function getTextDocument(item) {
|
|
|
186341
186404
|
}
|
|
186342
186405
|
/**
|
|
186343
186406
|
* @public
|
|
186344
|
-
* @param node File node as template
|
|
186345
|
-
* @param content Buffer as content
|
|
186407
|
+
* @param node - File node as template
|
|
186408
|
+
* @param content - Buffer as content
|
|
186346
186409
|
*/
|
|
186347
186410
|
function createFileContent({ node, content }) {
|
|
186348
186411
|
return {
|
|
@@ -192127,7 +192190,7 @@ var DiagnosticsKind;
|
|
|
192127
192190
|
})(DiagnosticsKind || (DiagnosticsKind = {}));
|
|
192128
192191
|
/**
|
|
192129
192192
|
* @public
|
|
192130
|
-
* @param item
|
|
192193
|
+
* @param item - item to check
|
|
192131
192194
|
*/
|
|
192132
192195
|
function isFileDiagnostic(item) {
|
|
192133
192196
|
return item?.type === NodeType.Diagnostic && item.path && item.language;
|
|
@@ -196559,7 +196622,10 @@ const metadata_v1 = {
|
|
|
196559
196622
|
"type": "object",
|
|
196560
196623
|
"additionalProperties": false,
|
|
196561
196624
|
"properties": {
|
|
196562
|
-
"visible": {
|
|
196625
|
+
"visible": {
|
|
196626
|
+
"type": "boolean",
|
|
196627
|
+
"description": "When left out, a visualization's title is hidden and a takeaway's is shown."
|
|
196628
|
+
},
|
|
196563
196629
|
"text": {
|
|
196564
196630
|
"type": "string",
|
|
196565
196631
|
"minLength": 1
|
|
@@ -206326,7 +206392,7 @@ function isInsidePosition(position, pos) {
|
|
|
206326
206392
|
//#region ../code/esm/public/DirectoryNode.js
|
|
206327
206393
|
/**
|
|
206328
206394
|
* @public
|
|
206329
|
-
* @param descriptor Directory descriptor object
|
|
206395
|
+
* @param descriptor - Directory descriptor object
|
|
206330
206396
|
*/
|
|
206331
206397
|
function isDirectoryDescriptor(descriptor) {
|
|
206332
206398
|
return Boolean(descriptor && isDirectoryNode(descriptor.node) && isPathDescriptor(descriptor.path) && Array.isArray(descriptor.parents));
|
|
@@ -209705,7 +209771,7 @@ async function open(state, emitter, file) {
|
|
|
209705
209771
|
//#endregion
|
|
209706
209772
|
//#region ../code/package.json
|
|
209707
209773
|
var name = "@gooddata/code";
|
|
209708
|
-
var version = "0.64.0-alpha.
|
|
209774
|
+
var version = "0.64.0-alpha.4";
|
|
209709
209775
|
//#endregion
|
|
209710
209776
|
//#region ../code/esm/services/server/client.js
|
|
209711
209777
|
function getApiClient$1(profile, { packageName, packageVersion }) {
|
|
@@ -215208,7 +215274,7 @@ function diagnose$1(code, params) {
|
|
|
215208
215274
|
return createDiagnostic(DiagnosticsKind.Settings, DiagnosticSeverity$1.Error, void 0, "server-service", code, CoreErrorMessages[code], params);
|
|
215209
215275
|
}
|
|
215210
215276
|
/**
|
|
215211
|
-
* Since Axios throws an error when status code is
|
|
215277
|
+
* Since Axios throws an error when status code is \>= 400,
|
|
215212
215278
|
* wrap the execution to this adapter to normalize the behavior
|
|
215213
215279
|
*/
|
|
215214
215280
|
async function makeRequest(func) {
|
|
@@ -216862,8 +216928,8 @@ const createYamlListener = (_state, emitter) => {
|
|
|
216862
216928
|
//#region ../code/esm/index.js
|
|
216863
216929
|
/**
|
|
216864
216930
|
* @public
|
|
216865
|
-
* @param options Core options
|
|
216866
|
-
* @param apiClientOptions API Client options
|
|
216931
|
+
* @param options - Core options
|
|
216932
|
+
* @param apiClientOptions - API Client options
|
|
216867
216933
|
*/
|
|
216868
216934
|
function createCore(options, apiClientOptions) {
|
|
216869
216935
|
const emitter = createEmitter();
|
|
@@ -237167,7 +237233,7 @@ const _CONFIG = {
|
|
|
237167
237233
|
common: {
|
|
237168
237234
|
"X-Requested-With": "XMLHttpRequest",
|
|
237169
237235
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
237170
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.
|
|
237236
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.4"
|
|
237171
237237
|
},
|
|
237172
237238
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
237173
237239
|
put: { "Content-Type": "application/json;charset=utf8" }
|