@gooddata/code-cli 0.39.0-alpha.1 → 0.39.0-alpha.3

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.
Files changed (3) hide show
  1. package/NOTICE +6 -446
  2. package/dist/index.js +310 -98
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -36724,7 +36724,7 @@ var require_operators = /* @__PURE__ */ __commonJSMin(((exports) => {
36724
36724
  });
36725
36725
  }));
36726
36726
  //#endregion
36727
- //#region ../../../common/temp/aac/node_modules/.pnpm/inquirer-autocomplete-prompt@3.0.1_inquirer@9.3.8/node_modules/inquirer-autocomplete-prompt/index.js
36727
+ //#region ../../../common/temp/aac/node_modules/.pnpm/inquirer-autocomplete-prompt@3.0.1_inquirer@9.3.8_@types+node@24.12.0_/node_modules/inquirer-autocomplete-prompt/index.js
36728
36728
  /**
36729
36729
  * `autocomplete` type prompt
36730
36730
  */
@@ -36944,7 +36944,7 @@ function isPromise(value) {
36944
36944
  //#endregion
36945
36945
  //#region package.json
36946
36946
  var name$1 = "@gooddata/code-cli";
36947
- var version$1 = "0.39.0-alpha.1";
36947
+ var version$1 = "0.39.0-alpha.3";
36948
36948
  //#endregion
36949
36949
  //#region ../code/esm/features/references/types.js
36950
36950
  var UpdateReferencesType;
@@ -40186,6 +40186,134 @@ const metadata_v1 = {
40186
40186
  "line_style_excluded_metrics": {
40187
40187
  "type": "array",
40188
40188
  "items": { "type": "string" }
40189
+ },
40190
+ "conditional_formatting": {
40191
+ "type": "object",
40192
+ "description": "Conditional formatting rules that color cells or rows based on their values.",
40193
+ "additionalProperties": false,
40194
+ "properties": {
40195
+ "version": {
40196
+ "type": "string",
40197
+ "description": "Conditional-formatting model version. \"1\" (default if omitted) — initial shape: discrete rules, one column per rule with stacked conditions. Readers must tolerate omission (treat as \"1\") and evolve under the same backward-compat contract as the dashboard model version, so server-side consumers (e.g. XLSX export) stay forward-compatible."
40198
+ },
40199
+ "enabled": {
40200
+ "type": "boolean",
40201
+ "description": "Master toggle for all conditional formatting rules."
40202
+ },
40203
+ "rules": {
40204
+ "type": "array",
40205
+ "description": "Ordered list of rules; the first matching rule wins.",
40206
+ "items": {
40207
+ "type": "object",
40208
+ "additionalProperties": false,
40209
+ "required": [
40210
+ "id",
40211
+ "target",
40212
+ "conditions"
40213
+ ],
40214
+ "properties": {
40215
+ "id": {
40216
+ "type": "string",
40217
+ "description": "Stable, table-unique rule id."
40218
+ },
40219
+ "target": {
40220
+ "type": "object",
40221
+ "description": "The measure or attribute the rule targets — exactly one of measure/attribute.",
40222
+ "oneOf": [{
40223
+ "type": "object",
40224
+ "additionalProperties": false,
40225
+ "required": ["measure"],
40226
+ "properties": { "measure": {
40227
+ "type": "string",
40228
+ "description": "Local identifier of the targeted measure."
40229
+ } }
40230
+ }, {
40231
+ "type": "object",
40232
+ "additionalProperties": false,
40233
+ "required": ["attribute"],
40234
+ "properties": { "attribute": {
40235
+ "type": "string",
40236
+ "description": "Local identifier of the targeted attribute."
40237
+ } }
40238
+ }]
40239
+ },
40240
+ "conditions": {
40241
+ "type": "array",
40242
+ "description": "Stacked conditions; the first matching condition wins.",
40243
+ "items": {
40244
+ "type": "object",
40245
+ "additionalProperties": false,
40246
+ "required": [
40247
+ "id",
40248
+ "operator",
40249
+ "format"
40250
+ ],
40251
+ "properties": {
40252
+ "id": { "type": "string" },
40253
+ "operator": {
40254
+ "type": "string",
40255
+ "enum": [
40256
+ "all",
40257
+ "equal_to",
40258
+ "not_equal_to",
40259
+ "less_than",
40260
+ "less_than_or_equal_to",
40261
+ "greater_than",
40262
+ "greater_than_or_equal_to",
40263
+ "between",
40264
+ "not_between",
40265
+ "contains",
40266
+ "not_contains",
40267
+ "starts_with",
40268
+ "not_starts_with",
40269
+ "ends_with",
40270
+ "not_ends_with",
40271
+ "is_empty",
40272
+ "is_not_empty"
40273
+ ]
40274
+ },
40275
+ "value": {
40276
+ "description": "Literal (number or string); a {from,to} range for between/not_between; omitted for all/is_empty/is_not_empty.",
40277
+ "oneOf": [
40278
+ { "type": "number" },
40279
+ { "type": "string" },
40280
+ {
40281
+ "type": "object",
40282
+ "additionalProperties": false,
40283
+ "required": ["from", "to"],
40284
+ "properties": {
40285
+ "from": { "type": "number" },
40286
+ "to": { "type": "number" }
40287
+ }
40288
+ }
40289
+ ]
40290
+ },
40291
+ "format": {
40292
+ "type": "object",
40293
+ "additionalProperties": false,
40294
+ "required": ["scope"],
40295
+ "properties": {
40296
+ "text": {
40297
+ "type": "string",
40298
+ "description": "Text color as hex (e.g. #FFFFFF)."
40299
+ },
40300
+ "fill": {
40301
+ "type": "string",
40302
+ "description": "Background color as hex (e.g. #E54D40)."
40303
+ },
40304
+ "scope": {
40305
+ "type": "string",
40306
+ "enum": ["cell", "row"]
40307
+ }
40308
+ }
40309
+ }
40310
+ }
40311
+ }
40312
+ }
40313
+ }
40314
+ }
40315
+ }
40316
+ }
40189
40317
  }
40190
40318
  },
40191
40319
  "$defs": {}
@@ -92684,7 +92812,11 @@ const DEFAULTS$2 = {
92684
92812
  pagination: { enabled: false },
92685
92813
  pageSize: 100,
92686
92814
  enableAccessibility: false,
92687
- grandTotalsPosition: "pinnedBottom"
92815
+ grandTotalsPosition: "pinnedBottom",
92816
+ conditionalFormatting: {
92817
+ enabled: false,
92818
+ rules: []
92819
+ }
92688
92820
  };
92689
92821
  function loadTextWrapping(value) {
92690
92822
  if (!value) return;
@@ -92729,6 +92861,84 @@ function saveTextWrapping(value) {
92729
92861
  }))
92730
92862
  };
92731
92863
  }
92864
+ function loadConditionalFormattingValue(value) {
92865
+ if (value.kind === "literal") return { value: value.value };
92866
+ if (value.kind === "literalRange") return { value: {
92867
+ from: value.from,
92868
+ to: value.to
92869
+ } };
92870
+ return {};
92871
+ }
92872
+ function loadConditionalFormattingCondition(condition) {
92873
+ return {
92874
+ id: condition.id,
92875
+ operator: condition.operator.toLowerCase(),
92876
+ ...loadConditionalFormattingValue(condition.value),
92877
+ format: {
92878
+ ...condition.format.color ? { text: condition.format.color } : {},
92879
+ ...condition.format.backgroundColor ? { fill: condition.format.backgroundColor } : {},
92880
+ scope: condition.format.scope
92881
+ }
92882
+ };
92883
+ }
92884
+ function loadConditionalFormattingRule(rule) {
92885
+ return {
92886
+ id: rule.id,
92887
+ target: rule.target.kind === "measure" ? { measure: rule.target.measureIdentifier } : { attribute: rule.target.attributeIdentifier },
92888
+ conditions: rule.conditions.map(loadConditionalFormattingCondition)
92889
+ };
92890
+ }
92891
+ function loadConditionalFormatting(value) {
92892
+ if (!value || value.rules.length === 0 && !value.enabled) return;
92893
+ return {
92894
+ ...value.version ? { version: value.version } : {},
92895
+ enabled: value.enabled,
92896
+ rules: value.rules.map(loadConditionalFormattingRule)
92897
+ };
92898
+ }
92899
+ function saveConditionalFormattingValue(value) {
92900
+ if (value === null || value === void 0) return { kind: "none" };
92901
+ if (typeof value === "object" && "from" in value) return {
92902
+ kind: "literalRange",
92903
+ from: value.from,
92904
+ to: value.to
92905
+ };
92906
+ return {
92907
+ kind: "literal",
92908
+ value
92909
+ };
92910
+ }
92911
+ function saveConditionalFormattingRule(rule) {
92912
+ return {
92913
+ id: rule.id,
92914
+ target: rule.target.measure === void 0 ? {
92915
+ kind: "attribute",
92916
+ attributeIdentifier: rule.target.attribute ?? ""
92917
+ } : {
92918
+ kind: "measure",
92919
+ measureIdentifier: rule.target.measure
92920
+ },
92921
+ conditions: rule.conditions.map((condition) => ({
92922
+ id: condition.id,
92923
+ operator: condition.operator.toUpperCase(),
92924
+ value: saveConditionalFormattingValue(condition.value),
92925
+ format: {
92926
+ ...condition.format.text ? { color: condition.format.text } : {},
92927
+ ...condition.format.fill ? { backgroundColor: condition.format.fill } : {},
92928
+ scope: condition.format.scope
92929
+ }
92930
+ }))
92931
+ };
92932
+ }
92933
+ function saveConditionalFormatting(value) {
92934
+ const rules = value?.rules ?? [];
92935
+ if (!value || rules.length === 0 && !value.enabled) return;
92936
+ return {
92937
+ ...value.version ? { version: value.version } : {},
92938
+ enabled: value.enabled ?? false,
92939
+ rules: rules.map(saveConditionalFormattingRule)
92940
+ };
92941
+ }
92732
92942
  /** @internal */
92733
92943
  function tableLoad(props) {
92734
92944
  return loadConfig(props, (key, value) => {
@@ -92746,6 +92956,7 @@ function tableLoad(props) {
92746
92956
  case "pageSize": return [["page_size", getValueOrDefault(value, DEFAULTS$2.pageSize, "number")]];
92747
92957
  case "enableAccessibility": return [["enable_accessibility", getValueOrDefault(value, DEFAULTS$2.enableAccessibility, "bool")]];
92748
92958
  case "grandTotalsPosition": return [["grand_totals_position", getValueOrDefault(value, DEFAULTS$2.grandTotalsPosition)]];
92959
+ case "conditionalFormatting": return [["conditional_formatting", loadConditionalFormatting(value)]];
92749
92960
  default: return [];
92750
92961
  }
92751
92962
  });
@@ -92766,7 +92977,8 @@ function tableSave(fields, config) {
92766
92977
  enableAccessibility: getValueOrDefault(config.enable_accessibility, DEFAULTS$2.enableAccessibility, "bool"),
92767
92978
  pagination: savePagination(config.pagination),
92768
92979
  pageSize: getValueOrDefault(config.page_size, DEFAULTS$2.pageSize, "number"),
92769
- grandTotalsPosition: getValueOrDefault(config.grand_totals_position, DEFAULTS$2.grandTotalsPosition)
92980
+ grandTotalsPosition: getValueOrDefault(config.grand_totals_position, DEFAULTS$2.grandTotalsPosition),
92981
+ conditionalFormatting: saveConditionalFormatting(config.conditional_formatting)
92770
92982
  });
92771
92983
  }
92772
92984
  /**
@@ -142984,7 +143196,7 @@ var require_call_bound = /* @__PURE__ */ __commonJSMin(((exports, module) => {
142984
143196
  };
142985
143197
  }));
142986
143198
  //#endregion
142987
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+sdk+libs+sdk-model/node_modules/@gooddata/sdk-model/esm/objRef/index.js
143199
+ //#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-model@file+..+..+..+sdk+libs+sdk-model/node_modules/@gooddata/sdk-model/esm/objRef/index.js
142988
143200
  var import_json_stable_stringify = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
142989
143201
  /** @type {typeof JSON.stringify} */
142990
143202
  var jsonStringify = (typeof JSON !== "undefined" ? JSON : require_jsonify()).stringify;
@@ -144421,7 +144633,7 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
144421
144633
  module.exports.wrap = wrap;
144422
144634
  }));
144423
144635
  //#endregion
144424
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+sdk+libs+sdk-backend-tiger_debug@4.4.3/node_modules/@gooddata/sdk-backend-tiger/esm/types/refTypeMapping.js
144636
+ //#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-backend-tiger@file+..+..+..+sdk+libs+sdk-backend-tiger_debug@4.4.3/node_modules/@gooddata/sdk-backend-tiger/esm/types/refTypeMapping.js
144425
144637
  /**
144426
144638
  * @alpha
144427
144639
  */
@@ -144451,7 +144663,7 @@ const isTigerType = (obj) => {
144451
144663
  return !isEmpty(obj) && validTigerTypes.some((type) => type === obj);
144452
144664
  };
144453
144665
  //#endregion
144454
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/tokenRanges.js
144666
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/tokenRanges.js
144455
144667
  function isMaqlObject(obj) {
144456
144668
  return "actualType" in obj;
144457
144669
  }
@@ -144511,7 +144723,7 @@ var AntlrRange = class AntlrRange {
144511
144723
  }
144512
144724
  };
144513
144725
  //#endregion
144514
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/labelElements.js
144726
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/labelElements.js
144515
144727
  var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);
144516
144728
  const { AbstractAstVisitor: AbstractAstVisitor$3, positionInRange: positionInRange$1 } = import_dist.default;
144517
144729
  /**
@@ -144684,7 +144896,7 @@ var LabelElementsFinder = class extends LabelContextMarker {
144684
144896
  }
144685
144897
  };
144686
144898
  //#endregion
144687
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/parseMaql.js
144899
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/parseMaql.js
144688
144900
  var import_antlr4ts = require_antlr4ts();
144689
144901
  const { CaseInsensitiveCharStream, MaqlAstVisitor, MaqlLexer: MaqlLexer$3, MaqlParser: MaqlParser$5 } = import_dist.default;
144690
144902
  /**
@@ -144773,7 +144985,7 @@ function getTokenIdFromName(name) {
144773
144985
  return new MaqlLexer$3(new CaseInsensitiveCharStream(name)).nextToken().type;
144774
144986
  }
144775
144987
  //#endregion
144776
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/types/hierarchy.js
144988
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/types/hierarchy.js
144777
144989
  var MaqlType;
144778
144990
  (function(MaqlType) {
144779
144991
  /** Top type (supertype of all types) */
@@ -144914,10 +145126,10 @@ function withSupertypes(type) {
144914
145126
  return [type, ...sups.length > 0 ? sups : [MaqlType.ANY]];
144915
145127
  }
144916
145128
  //#endregion
144917
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/constants.js
145129
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/constants.js
144918
145130
  const LanguageId = "maql";
144919
145131
  //#endregion
144920
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/findObjects.js
145132
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/findObjects.js
144921
145133
  var import_tree = require_tree();
144922
145134
  const { AttributeTypeContext: AttributeTypeContext$1, MaqlParser: MaqlParser$4, NumericTypeContext: NumericTypeContext$1 } = import_dist.default;
144923
145135
  function findAllObjects(metric) {
@@ -144966,7 +145178,7 @@ var ObjectFinder = class {
144966
145178
  }
144967
145179
  };
144968
145180
  //#endregion
144969
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/types/signatures.js
145181
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/types/signatures.js
144970
145182
  const { functionDefinitions: functionDefinitions$1, isMaqlFunctionName } = import_dist.default;
144971
145183
  var CallNotation;
144972
145184
  (function(CallNotation) {
@@ -145071,7 +145283,7 @@ function toMaqlType(type) {
145071
145283
  }
145072
145284
  }
145073
145285
  //#endregion
145074
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/types/typeChecking.js
145286
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/types/typeChecking.js
145075
145287
  const { AbstractAstVisitor: AbstractAstVisitor$2 } = import_dist.default;
145076
145288
  var TypedAstNode = class {
145077
145289
  type;
@@ -145295,7 +145507,7 @@ var AstTypeChecker = class extends AbstractAstVisitor$2 {
145295
145507
  }
145296
145508
  };
145297
145509
  //#endregion
145298
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/types/typeModel.js
145510
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/types/typeModel.js
145299
145511
  /**
145300
145512
  * Simplified logical model which holds MAQL type information
145301
145513
  */
@@ -145352,7 +145564,7 @@ var DatetimeGranularities = class {
145352
145564
  }
145353
145565
  };
145354
145566
  //#endregion
145355
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/diagnostics.js
145567
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/diagnostics.js
145356
145568
  var import_main$1 = require_main();
145357
145569
  const { AbstractAstVisitor: AbstractAstVisitor$1, MaqlLexer: MaqlLexer$2, SyntaxErrorListener } = import_dist.default;
145358
145570
  var ErrorCodes;
@@ -145487,7 +145699,7 @@ function handleErrorToken(token) {
145487
145699
  return import_main$1.Diagnostic.create(tokenRange(token), errorDescription.message(token.text), import_main$1.DiagnosticSeverity.Error, errorDescription.code, diagnosticsSource);
145488
145700
  }
145489
145701
  //#endregion
145490
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/functionDescriptions.js
145702
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/functionDescriptions.js
145491
145703
  const { MaqlParser: MaqlParser$3, functionDefinitions } = import_dist.default;
145492
145704
  /**
145493
145705
  * Tags for functions to resolve correct documentation
@@ -145582,7 +145794,7 @@ function labelArgs(args, prefix = "(", suffix = ")", separator = ", ") {
145582
145794
  return prefix + args.join(separator) + suffix;
145583
145795
  }
145584
145796
  //#endregion
145585
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/descriptions.js
145797
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/descriptions.js
145586
145798
  const { MaqlParser: MaqlParser$2 } = import_dist.default;
145587
145799
  /**
145588
145800
  * Maps concepts from MAQL to completionItemKind values
@@ -145832,7 +146044,7 @@ function objectDesc(type, id = void 0, detail = void 0, resolveTag = void 0, rul
145832
146044
  };
145833
146045
  }
145834
146046
  //#endregion
145835
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/findContext.js
146047
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/findContext.js
145836
146048
  const { AbstractAstVisitor, MaqlParser: MaqlParser$1, positionInRange } = import_dist.default;
145837
146049
  function findContext(metric, caretPosition, offset) {
145838
146050
  const finder = new AstContextFinder(caretPosition);
@@ -145980,7 +146192,7 @@ function isFinal(token) {
145980
146192
  return finalTokens.has(token.type);
145981
146193
  }
145982
146194
  //#endregion
145983
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/sort.js
146195
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/sort.js
145984
146196
  const defaultPrefix = "90__";
145985
146197
  const sortPrefixes = {
145986
146198
  [Kind.LabelElement]: "00__",
@@ -146086,7 +146298,7 @@ function adjustSortText(list, context) {
146086
146298
  return list;
146087
146299
  }
146088
146300
  //#endregion
146089
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/complete.js
146301
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/completions/complete.js
146090
146302
  var import_out = require_out();
146091
146303
  const { MaqlLexer: MaqlLexer$1, MaqlParser, escapeString } = import_dist.default;
146092
146304
  const [tokenCompletions, ruleCompletions] = getTokenAndRuleCompletions(descriptions);
@@ -146304,7 +146516,7 @@ function getTokenAndRuleCompletions(descriptions) {
146304
146516
  return [tokenDescriptions, ruleDescriptions];
146305
146517
  }
146306
146518
  //#endregion
146307
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/metadata/model.js
146519
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/metadata/model.js
146308
146520
  function isITigerAttribute(object) {
146309
146521
  return object.tigerType === "attribute";
146310
146522
  }
@@ -146406,7 +146618,7 @@ var LdmObjects = class LdmObjects {
146406
146618
  }
146407
146619
  };
146408
146620
  //#endregion
146409
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/decorations.js
146621
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/decorations.js
146410
146622
  function decorate(query, ldmObjects) {
146411
146623
  const metric = new MaqlMetric(query);
146412
146624
  return ldmObjects ? decorateBusinessNames(metric, ldmObjects) : [];
@@ -146436,7 +146648,7 @@ function createDecoration(range, label, type) {
146436
146648
  };
146437
146649
  }
146438
146650
  //#endregion
146439
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.js
146651
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.js
146440
146652
  const content$65 = `# APPROXIMATE_COUNT
146441
146653
  Use APPROXIMATE_COUNT to return the approximate number of unique values for an attribute. Because the returned value is a statistical estimate and not an exact figure, this function can increase the processing speed when analyzing large datasets. You can use APPROXIMATE_COUNT anywhere you can use COUNT. The smaller the amount of data to process, the more likely that the returned results of APPROXIMATE_COUNT will match the results of COUNT.
146442
146654
 
@@ -146498,7 +146710,7 @@ can also use an attribute from the \`Purchase Date\` dataset in the USING clause
146498
146710
  the context because the \`Sales\` dataset has no relationships to \`Purchase Date\`:
146499
146711
  \`SELECT COUNT({label/inventory.productid}) USING {label/purchasedate.year}\``;
146500
146712
  //#endregion
146501
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/avg.js
146713
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/avg.js
146502
146714
  const content$64 = `# AVG
146503
146715
  The AVG function returns the average value of all numbers in the set (e.g., Salary paid). Null values are ignored.
146504
146716
 
@@ -146518,7 +146730,7 @@ together and dividing by the number of payment transactions:
146518
146730
  SELECT AVG({fact/payment})
146519
146731
  \`\`\``;
146520
146732
  //#endregion
146521
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/count.js
146733
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/count.js
146522
146734
  const content$63 = `# COUNT
146523
146735
  Use COUNT to return the number of unique values for an attribute or the number of dataset records.
146524
146736
  - For large amounts of data where complete accuracy is not a priority, consider using APPROXIMATE_COUNT to increase the processing speed. APPROXIMATE_COUNT is available only for workspaces that use [Vertica](https://www.gooddata.com/developers/cloud-native/doc/hosted/connect-data/create-data-sources/vertica/) as a data source.
@@ -146591,7 +146803,7 @@ can also use an attribute from the \`Purchase Date\` dataset in the USING clause
146591
146803
  the context because the \`Sales\` dataset has no relationships to \`Purchase Date\`:
146592
146804
  \`SELECT COUNT({label/inventory.productid}) USING {label/purchasedate.year}\``;
146593
146805
  //#endregion
146594
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/first.js
146806
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/first.js
146595
146807
  const content$62 = `# FIRST_VALUE
146596
146808
  The \`FIRST_VALUE\` function returns the first value of a sequence.
146597
146809
 
@@ -146633,7 +146845,7 @@ SELECT FIRST_VALUE(SUM({fact/snapshot_value})) ORDER BY {attribute/date.day}
146633
146845
 
146634
146846
  For a more complex example, see also [LAST_VALUE](https://www.gooddata.com/developers/cloud-native/doc/hosted/create-metrics/maql/aggregation/last/).`;
146635
146847
  //#endregion
146636
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/last.js
146848
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/last.js
146637
146849
  const content$61 = `# LAST_VALUE
146638
146850
  The \`LAST_VALUE\` function returns the last value of a sequence.
146639
146851
 
@@ -146703,7 +146915,7 @@ The result may look as follows:
146703
146915
  |2023-02|14,000|12,000|+16.7%|
146704
146916
  |2023-03|15,000|12,000|+25%|`;
146705
146917
  //#endregion
146706
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/max.js
146918
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/max.js
146707
146919
  const content$60 = `# MAX
146708
146920
  ## Metrics
146709
146921
 
@@ -146765,7 +146977,7 @@ WHERE {attribute/snapshot_date.day} =
146765
146977
  (SELECT MAX({attribute/snapshot_date.day},{dataset/fact_dataset}) BY ALL OTHER)
146766
146978
  \`\`\``;
146767
146979
  //#endregion
146768
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/median.js
146980
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/median.js
146769
146981
  const content$59 = `# MEDIAN
146770
146982
  The MEDIAN function counts the statistical median - an order statistic
146771
146983
  that gives the middle value of a sample. If the middle falls between two
@@ -146791,7 +147003,7 @@ SELECT MEDIAN({fact/cost}) BY ALL OTHER
146791
147003
  SELECT MEDIAN({metric/payment}) BY {attribute/customer}
146792
147004
  \`\`\``;
146793
147005
  //#endregion
146794
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/min.js
147006
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/min.js
146795
147007
  const content$58 = `# MIN
146796
147008
  ## Metrics
146797
147009
 
@@ -146855,7 +147067,7 @@ WHERE {attribute/snapshot_date.day} =
146855
147067
  (SELECT MIN({attribute/snapshot_date.day},{dataset/fact_dataset}) BY ALL OTHER)
146856
147068
  \`\`\``;
146857
147069
  //#endregion
146858
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/sum.js
147070
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/sum.js
146859
147071
  const content$57 = `# SUM
146860
147072
  The SUM function returns a sum of all numbers in the set (e.g., Salary
146861
147073
  Paid).
@@ -146876,7 +147088,7 @@ adding revenue earned from all individual sales transactions:
146876
147088
  SELECT SUM({fact/sales})
146877
147089
  \`\`\``;
146878
147090
  //#endregion
146879
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/conditionals/case.js
147091
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/conditionals/case.js
146880
147092
  const content$56 = `# CASE
146881
147093
  CASE is a conditional statement that performs logical tests on a series
146882
147094
  of conditions and returns values when a condition is met. The CASE
@@ -146950,7 +147162,7 @@ inside the SUM aggregation instead:
146950
147162
  SELECT SUM(SELECT CASE WHEN {attribute/customer_state} IN ("AR", "NY") THEN {fact/price} ELSE {fact/price} * {fact/quantity} END)
146951
147163
  \`\`\``;
146952
147164
  //#endregion
146953
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/conditionals/if-then-else.js
147165
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/conditionals/if-then-else.js
146954
147166
  const content$55 = `# IF THEN ELSE
146955
147167
  IF THEN ELSE construct is a simplified version of CASE statement:
146956
147168
 
@@ -146980,7 +147192,7 @@ SELECT IF SUM({fact/duration}) - AVG({fact/duration}) > 2000 THEN 0 ELSE 1 END
146980
147192
  SELECT IF AVG({fact/probability}) > 0.5 THEN SUM({fact/amount}) * 10 ELSE SUM({fact/amount}) / 10 END
146981
147193
  \`\`\``;
146982
147194
  //#endregion
146983
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/conditionals/ifnull.js
147195
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/conditionals/ifnull.js
146984
147196
  const content$54 = `# IFNULL
146985
147197
  IFNULL statement allows you to control replacement of missing values that are returned by an expression.
146986
147198
 
@@ -147077,7 +147289,7 @@ SELECT IFNULL({metric/no_of_payments},0) - IFNULL({metric/no_of_refunds},0)
147077
147289
  \`\`\`
147078
147290
  If a refund was not processed for the day, the calculation can still be performed.`;
147079
147291
  //#endregion
147080
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-ranking-filters.js
147292
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-ranking-filters.js
147081
147293
  const content$53 = `# Using Ranking Filters
147082
147294
  In this article, you will learn how to use the MAQL's TOP and BOTTOM ranking filters.
147083
147295
 
@@ -147149,7 +147361,7 @@ WHERE (SELECT (SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue})) BY
147149
147361
  We will leave the BOTTOM keyword up to the kind reader as homework and
147150
147362
  focus on yet another feature of the ranking metrics.`;
147151
147363
  //#endregion
147152
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-having-clause.js
147364
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-having-clause.js
147153
147365
  const content$52 = `# Filtering with the HAVING Clause
147154
147366
  Using the HAVING filter enables you to apply filtration to a metric
147155
147367
  after all containing metrics and aggregation functions have been
@@ -147215,7 +147427,7 @@ The last MAQL statement above returns values for amount for the quarter
147215
147427
  before this one, displaying only results from 2014. No parent filters
147216
147428
  are applied.`;
147217
147429
  //#endregion
147218
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-like-clause.js
147430
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-like-clause.js
147219
147431
  const content$51 = `# Filtering with the LIKE Clause
147220
147432
  The LIKE clause is a filtering condition designed to search
147221
147433
  attribute-label string values to match a specified pattern.
@@ -147252,7 +147464,7 @@ SELECT SUM({metric/revenue}) WHERE {label/product_name} LIKE "%red%"
147252
147464
  The revenue comes from products containing \"red\" in the Product Name
147253
147465
  label of attribute Product.`;
147254
147466
  //#endregion
147255
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-where-clause.js
147467
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-where-clause.js
147256
147468
  const content$50 = `# Filtering with the WHERE Clause
147257
147469
  After you have aggregated a fact to form the foundations of a metric,
147258
147470
  you can use MAQL syntax to add filters to your metric definition.
@@ -147289,7 +147501,7 @@ filters:
147289
147501
  SELECT {metric/revenue} WHERE {label/date.year} = "2006" AND {label/date.month} = "5"
147290
147502
  \`\`\``;
147291
147503
  //#endregion
147292
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions-except-for-attribute.js
147504
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions-except-for-attribute.js
147293
147505
  const content$49 = `# BY ALL IN ALL OTHER DIMENSIONS EXCEPT FOR attribute
147294
147506
  This keyword clause overrides all attributes except for those attributes
147295
147507
  within the dimension of the attribute that is specified.
@@ -147311,7 +147523,7 @@ SELECT {metric/payment} BY ALL IN ALL OTHER DIMENSIONS EXCEPT FOR {attribute/dat
147311
147523
 
147312
147524
  In this example, Payment could be broken down by any date in the Date(Opportunity Closed) date dimension, such as \`Month/Year(Opportunity Closed)\`, \`Quarter/Year(Opportunity Closed)\`, or \`Year(Opportunity Closed)\`.`;
147313
147525
  //#endregion
147314
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions.js
147526
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions.js
147315
147527
  const content$48 = `# BY ALL IN ALL OTHER DIMENSIONS
147316
147528
  This clause overrides all attributes - keeping the metric from being
147317
147529
  broken down at all. As a result, the associated metric will remain
@@ -147339,7 +147551,7 @@ down with a Month attribute. The above metric would show the percent
147339
147551
  share of each month's payments relative to the sum of all payments
147340
147552
  across all time and all other dimensions.`;
147341
147553
  //#endregion
147342
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all.js
147554
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all.js
147343
147555
  const content$47 = `# BY ALL
147344
147556
  The BY ALL keyword is used to override a specified attribute dimension.
147345
147557
 
@@ -147404,7 +147616,7 @@ and industry attribute dimensions.
147404
147616
 
147405
147617
  ![Both Year and Industry are overridden, so the metric is not broken down.](https://www.gooddata.com/developers/cloud-native/doc/maql/by-all-overridden.jpg)`;
147406
147618
  //#endregion
147407
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-attribute-all-in-all-other-dimensions.js
147619
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-attribute-all-in-all-other-dimensions.js
147408
147620
  const content$46 = `# BY attribute ALL IN ALL OTHER DIMENSIONS
147409
147621
  The first part of this keyword serves a similar role as the BY
147410
147622
  statement, defining an aggregation floor at the granularity level of the
@@ -147427,7 +147639,7 @@ SELECT metric BY attribute ALL IN ALL OTHER DIMENSIONS
147427
147639
  SELECT SUM(metric/resolution_time) BY {label/date.quarter} ALL IN ALL OTHER DIMENSIONS
147428
147640
  \`\`\``;
147429
147641
  //#endregion
147430
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by.js
147642
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by.js
147431
147643
  const content$45 = `# BY
147432
147644
  The BY keyword is used to set a minimum level of granularity by which a
147433
147645
  metric can be broken down. BY effectively sets an **aggregation floor**,
@@ -147513,7 +147725,7 @@ The \`order_amount\` metric multiplies price by quantity.
147513
147725
 
147514
147726
  The metric described above calculates the average of \`order_amount\` per each record of the \`order_lines\` dataset.`;
147515
147727
  //#endregion
147516
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-except.js
147728
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-except.js
147517
147729
  const content$44 = `Includes all parent filters, except for any filters specified as a
147518
147730
  comma-separated list of attributes.
147519
147731
 
@@ -147551,7 +147763,7 @@ SELECT ... WITH PARENT FILTER EXCEPT Attribute1,...
147551
147763
  SELECT ... WITH PF EXCEPT Attribute1,...
147552
147764
  \`\`\``;
147553
147765
  //#endregion
147554
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-filter.js
147766
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-filter.js
147555
147767
  const content$43 = `Applies all parent filters to the metric. All parent filters specified
147556
147768
  in visualizations, dashboards, and any metrics in which this metric is nested
147557
147769
  are applied to the calculation.
@@ -147594,7 +147806,7 @@ SELECT ... WITH PARENT FILTER
147594
147806
  SELECT ... WITH PF
147595
147807
  \`\`\``;
147596
147808
  //#endregion
147597
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-except.js
147809
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-except.js
147598
147810
  const content$42 = `Remove parent filters, except for any filters specified as a comma-separated list of attributes.
147599
147811
 
147600
147812
  This clause can be shortened to WITHOUT PF EXCEPT.
@@ -147689,7 +147901,7 @@ version in the second row.
147689
147901
  - M2 is filtered by group, date.
147690
147902
  - M1 is filtered by date and the numeric range in the \`WHERE\` part.`;
147691
147903
  //#endregion
147692
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-filter.js
147904
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-filter.js
147693
147905
  const content$41 = `Removes parent filters from being applied to the metric. All parent
147694
147906
  filters specified in visualization, dashboards, and any metrics in which this
147695
147907
  metric is nested are ignored.
@@ -147723,7 +147935,7 @@ SELECT ... WITHOUT PARENT FILTER
147723
147935
  SELECT ... WITHOUT PF
147724
147936
  \`\`\``;
147725
147937
  //#endregion
147726
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/logical-operators/and.js
147938
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/logical-operators/and.js
147727
147939
  const content$40 = `# AND
147728
147940
  AND logical operator works in the following way:
147729
147941
 
@@ -147761,7 +147973,7 @@ SELECT SUM({metric/payment}) WHERE ({label/date.year} = "2006" OR {label/date.mo
147761
147973
  Payment values that come from 2006 or the first four months of 2007 but
147762
147974
  are less than 10,000 will be excluded.`;
147763
147975
  //#endregion
147764
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/logical-operators/not.js
147976
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/logical-operators/not.js
147765
147977
  const content$39 = `# NOT
147766
147978
  NOT is a logical operator that negates the filter it precedes.
147767
147979
 
@@ -147774,7 +147986,7 @@ specified by the filter is excluded from the computation.
147774
147986
  SELECT {metric/profit} WHERE NOT ({label/date_ordered.year} = "2006" AND {label/date_ordered.month} = "5")
147775
147987
  \`\`\``;
147776
147988
  //#endregion
147777
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/logical-operators/or.js
147989
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/logical-operators/or.js
147778
147990
  const content$38 = `# OR
147779
147991
  OR logical operator works in the following way:
147780
147992
 
@@ -147797,7 +148009,7 @@ year 2006 and the first four months of 2007:
147797
148009
  SELECT SUM({metric/payment}) WHERE {label/date_ordered.year} = "2006" OR {label/date_ordered.month} IN ("2007-01", "2007-02", "2007-03", "2007-04")
147798
148010
  \`\`\``;
147799
148011
  //#endregion
147800
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/maql-and-multidimensionality.js
148012
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/maql-and-multidimensionality.js
147801
148013
  const content$37 = `# MAQL and Multidimensionality
147802
148014
  Multidimensionality is a fundamental principle of GoodData's MAQL (Multi-Dimension Analytical Query Language).
147803
148015
 
@@ -147857,7 +148069,7 @@ The dimensionality of the main (result) metric is different from dimensionality
147857
148069
  |Amount Sold 25+ | Product |Total sales of each product with more than 25 sold items.|
147858
148070
  |Amount Sold 25+ | Product, Year |Sales of each product and year for products with more than 25 sold items.|`;
147859
148071
  //#endregion
147860
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/abs.js
148072
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/abs.js
147861
148073
  const content$36 = `# ABS
147862
148074
  The absolute value function (ABS) returns an absolute value of a number
147863
148075
  (e.g., Revenue) as a positive number:
@@ -147881,7 +148093,7 @@ SELECT ABS(10) returns the value "10"
147881
148093
  SELECT ABS(({metric/total_amount})-(SELECT {metric/total_amount} WITHOUT PF))
147882
148094
  \`\`\``;
147883
148095
  //#endregion
147884
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/arithmetic-operations.js
148096
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/arithmetic-operations.js
147885
148097
  const content$35 = `# Arithmetic Operations
147886
148098
  Predefined metrics can be manipulated with any basic arithmetic
147887
148099
  operation: addition (+), subtraction (-), multiplication (*), and
@@ -147911,7 +148123,7 @@ SELECT {metric/profit} * 0.03
147911
148123
  SELECT {metric/new_revenue} / {metric/revenue_last_year}
147912
148124
  \`\`\``;
147913
148125
  //#endregion
147914
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/ceiling.js
148126
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/ceiling.js
147915
148127
  const content$34 = `# CEILING
147916
148128
  The CEILING function rounds an input value to the nearest integer that
147917
148129
  is greater than it.
@@ -147933,7 +148145,7 @@ SELECT CEILING(12.2) = 13
147933
148145
  SELECT CEILING(12.7) = 13
147934
148146
  \`\`\``;
147935
148147
  //#endregion
147936
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/exp.js
148148
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/exp.js
147937
148149
  const content$33 = `# EXP
147938
148150
  The exponential function EXP returns *e* raised to the power of a number
147939
148151
  (e.g., Annual rate).
@@ -147961,7 +148173,7 @@ SELECT EXP(1.5)
147961
148173
  SELECT EXP(SUM({fact/amount}))
147962
148174
  \`\`\``;
147963
148175
  //#endregion
147964
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/floor.js
148176
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/floor.js
147965
148177
  const content$32 = `# FLOOR
147966
148178
  The FLOOR function rounds an input value to the nearest integer that is
147967
148179
  less than it.
@@ -147983,7 +148195,7 @@ SELECT FLOOR(12.2) = 12
147983
148195
  SELECT FLOOR(12.7) = 12
147984
148196
  \`\`\``;
147985
148197
  //#endregion
147986
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/greatest.js
148198
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/greatest.js
147987
148199
  const content$31 = `# GREATEST
147988
148200
  The GREATEST function identifies the highest value from a selection of
147989
148201
  facts or metrics within one row.
@@ -147997,7 +148209,7 @@ SELECT GREATEST(metric, metric)
147997
148209
  SELECT GREATEST(fact, metric, metric, fact)
147998
148210
  \`\`\``;
147999
148211
  //#endregion
148000
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/least.js
148212
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/least.js
148001
148213
  const content$30 = `# LEAST
148002
148214
  The LEAST function identifies the lowest value from a selection of facts
148003
148215
  or metrics within one row.
@@ -148011,7 +148223,7 @@ SELECT LEAST(metric, metric)
148011
148223
  SELECT LEAST(fact, metric, metric, fact)
148012
148224
  \`\`\``;
148013
148225
  //#endregion
148014
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/ln.js
148226
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/ln.js
148015
148227
  const content$29 = `# LN
148016
148228
  The LN function returns the natural logarithm of a number with base e,
148017
148229
  the constant equal to 2.71828182845904. The LN function returns NULL if
@@ -148045,7 +148257,7 @@ SELECT LN(1.5)
148045
148257
  SELECT LN(SUM({fact/amount}))
148046
148258
  \`\`\``;
148047
148259
  //#endregion
148048
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/log.js
148260
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/log.js
148049
148261
  const content$28 = `# LOG
148050
148262
  The LOG function returns the logarithm of a number for the given base
148051
148263
  specified in second parameter of the LOG function. If the base value is
@@ -148075,7 +148287,7 @@ SELECT LOG(SUM({fact/amount}), 2)
148075
148287
  SELECT LOG({metric/amount_max} * 400, {metric/amount_Max})
148076
148288
  \`\`\``;
148077
148289
  //#endregion
148078
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/power.js
148290
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/power.js
148079
148291
  const content$27 = `# POWER
148080
148292
  The POWER function returns a number raised to the base specified as the
148081
148293
  second parameter of the POWER function (e.g., Interest rate, Revenue).
@@ -148109,7 +148321,7 @@ SELECT POWER(1, SUM({fact/amount}))
148109
148321
  SELECT POWER({metric/total_amount} * (1/2), {metric/total_amount})
148110
148322
  \`\`\``;
148111
148323
  //#endregion
148112
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/round.js
148324
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/round.js
148113
148325
  const content$26 = `# ROUND
148114
148326
  The ROUND() function rounds a fact or metric to the number of decimal
148115
148327
  places specified in the second parameter. If the second parameter is not
@@ -148144,7 +148356,7 @@ SELECT ROUND(12.257,2) = 12.26
148144
148356
  SELECT ROUND (12.257,-1) = 10
148145
148357
  \`\`\``;
148146
148358
  //#endregion
148147
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/sign.js
148359
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/sign.js
148148
148360
  const content$25 = `# SIGN
148149
148361
  The signum (SIGN) function returns a number or metric input as one of
148150
148362
  the following three values:
@@ -148175,7 +148387,7 @@ SELECT SIGN(3) returns the value 1
148175
148387
  SELECT SIGN(0) returns the value 0
148176
148388
  \`\`\``;
148177
148389
  //#endregion
148178
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/sqrt.js
148390
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/sqrt.js
148179
148391
  const content$24 = `# SQRT
148180
148392
  The square root function (SQRT) returns a square root of a number (e.g.,
148181
148393
  Revenue). If the number is negative, SQRT returns NULL.
@@ -148208,7 +148420,7 @@ SELECT SQRT(SELECT SUM({fact/sales}))
148208
148420
 
148209
148421
  returns the square root of a Total Sales metric.`;
148210
148422
  //#endregion
148211
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/trunc.js
148423
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/math/trunc.js
148212
148424
  const content$23 = `# TRUNC
148213
148425
  The TRUNC functions truncates a number based on the number of decimal
148214
148426
  places specified in the second parameter.
@@ -148245,7 +148457,7 @@ SELECT TRUNC(12.257,2) = 12.25
148245
148457
  SELECT TRUNC(1255.257,-2) = 1200
148246
148458
  \`\`\``;
148247
148459
  //#endregion
148248
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/percentile.js
148460
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/percentile.js
148249
148461
  const content$22 = `# PERCENTILE
148250
148462
  The PERCENTILE( ) function returns the specified percentile out of a set of values. This could be useful for establishing a threshold of
148251
148463
  acceptance, such as for candidates who score above the 90th percentile
@@ -148303,7 +148515,7 @@ SELECT PERCENTILE({metric/Amount}, 0.75)
148303
148515
  SELECT PERCENTILE({metric/Amount}, 75%)
148304
148516
  \`\`\``;
148305
148517
  //#endregion
148306
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/rank-variations.js
148518
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/rank-variations.js
148307
148519
  const content$21 = `# Rank Variations
148308
148520
  MAQL includes the following ranking functions that sequentially rank all values in a visualization.
148309
148521
 
@@ -148394,7 +148606,7 @@ The following statements clarify how they differ.
148394
148606
 
148395
148607
  ![Comparison of CUME_DIST and PERCENT_RANK](https://www.gooddata.com/developers/cloud-native/doc/maql/cume-dist-percent-rank.png)`;
148396
148608
  //#endregion
148397
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-in.js
148609
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-in.js
148398
148610
  const content$20 = `# TOP or BOTTOM(n) IN
148399
148611
  WHERE TOP|BOTTOM IN is a ranking filter. It limits the inputs into a
148400
148612
  metric's computations to those values that are the top or bottom *n*
@@ -148448,7 +148660,7 @@ keyword).
148448
148660
 
148449
148661
  See also [TOP or BOTTOM(n) OF](https://www.gooddata.com/developers/cloud-native/doc/hosted/create-metrics/maql/ranking/where-top-or-bottom-of/).`;
148450
148662
  //#endregion
148451
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-of.js
148663
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-of.js
148452
148664
  const content$19 = `# TOP or BOTTOM(n) OF
148453
148665
  Similar to [WHERE TOP or BOTTOM(n) IN](https://www.gooddata.com/developers/cloud-native/doc/hosted/create-metrics/maql/ranking/where-top-or-bottom-in/), WHERE TOP or
148454
148666
  BOTTOM OF can serve as a filter that limits the values included in the
@@ -148478,7 +148690,7 @@ SELECT metric1 WHERE [TOP|BOTTOM](n) OF ( metric2 , ...) WITHIN ( ... )
148478
148690
  SELECT {metric/amount} WHERE TOP(5%) OF ({metric/Amount}) AND {label/product} = "Explorer"
148479
148691
  \`\`\``;
148480
148692
  //#endregion
148481
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/within-clause.js
148693
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/ranking/within-clause.js
148482
148694
  const content$18 = `# WITHIN Clause
148483
148695
  You can add variations of the WITHIN clause to any supported [Rank Variations](https://www.gooddata.com/developers/cloud-native/doc/hosted/create-metrics/maql/ranking/rank-variations/). This syntax lets you rank
148484
148696
  values within subgroups defined by a visualization's attribute values.
@@ -148580,7 +148792,7 @@ the PERCENT_RANK function. That combination would return the percentage
148580
148792
  of metric values that are less than the current value, which is
148581
148793
  necessarily zero in a single-value \"group.\"`;
148582
148794
  //#endregion
148583
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/relational-operators.js
148795
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/relational-operators.js
148584
148796
  const content$17 = `# Relational Operators
148585
148797
  Relational operators can be used with facts, metrics, or date labels to
148586
148798
  define filter conditions on a metric.
@@ -148631,7 +148843,7 @@ SELECT {metric/payment} WHERE {label/region} NOT IN ("America", "EU", NULL)
148631
148843
  \`\`\`
148632
148844
  >A comparison of attribute values with NULL using MAQL relational operators translates to semantics of \`\`IS NULL\`\`/ \`\`IS NOT NULL\`\` operators in SQL.`;
148633
148845
  //#endregion
148634
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/runing-totals/rolling-window.js
148846
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/runing-totals/rolling-window.js
148635
148847
  const content$16 = `# Rolling Window
148636
148848
  Use the ROWS BETWEEN keyword to specify a rolling window over which
148637
148849
  running total functions (for example RUNAVG) are computed.
@@ -148703,7 +148915,7 @@ Define everything before the current month:
148703
148915
  SELECT RUNAVG({metric/m}) WITHIN {attribute/year} ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING
148704
148916
  \`\`\``;
148705
148917
  //#endregion
148706
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/runing-totals/running-total-statistical-functions.js
148918
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/runing-totals/running-total-statistical-functions.js
148707
148919
  const content$15 = `# Running Total Statistical Functions
148708
148920
  Running Total Statistical Functions calculate the standard deviation or
148709
148921
  variance using all values up to the current date for a fact or metric.
@@ -148758,7 +148970,7 @@ SELECT RUNVARP({metric/returns}) WHERE {metric/amount} > 500000
148758
148970
  SELECT RUNSTDEV({metric/opportunities}) WITHIN ({label/date_ordered.quarter_year})
148759
148971
  \`\`\``;
148760
148972
  //#endregion
148761
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/runing-totals/running-totals-for-core-functions.js
148973
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/runing-totals/running-totals-for-core-functions.js
148762
148974
  const content$14 = `# Running Totals for Core Functions
148763
148975
  Running Totals for Core Functions take the running sum, average,
148764
148976
  minimum, or maximum of a project fact or metric. In a table broken down
@@ -148796,7 +149008,7 @@ SELECT RUNMAX({fact/opportunity}) BY {label/date.quarter_year}
148796
149008
  SELECT RUNMAX({fact/sales}) WITHIN ({label/date.year}) WITHOUT PARENT FILTER
148797
149009
  \`\`\``;
148798
149010
  //#endregion
148799
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/correl.js
149011
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/correl.js
148800
149012
  const content$13 = `# CORREL
148801
149013
  Correlation indicates the degree of association between two sets of
148802
149014
  values. The CORREL function returns correlation coefficient that varies
@@ -148844,7 +149056,7 @@ SELECT CORREL({metric/production_volume}, {metric/rate_of_defects})
148844
149056
  SELECT CORREL({metric/gross_tonnage}, {metric/gross_profit})
148845
149057
  \`\`\``;
148846
149058
  //#endregion
148847
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/covariance-functions.js
149059
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/covariance-functions.js
148848
149060
  const content$12 = `# Covariance Functions
148849
149061
  Covariance functions return the statistical covariance - how much two
148850
149062
  sets of values change together based on a sample of the population
@@ -148891,7 +149103,7 @@ SELECT COVAR({metric/total_cost_of_inputs}, {metric/gross_margin})
148891
149103
  SELECT COVARP({fact/height}, {fact/height})
148892
149104
  \`\`\``;
148893
149105
  //#endregion
148894
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/least-squares-functions.js
149106
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/least-squares-functions.js
148895
149107
  const content$11 = `# Least-Squares Functions
148896
149108
  The **least-squares method** of linear regression attempts to fit a
148897
149109
  linear regression trend line as closely as possible. This line has the
@@ -148936,7 +149148,7 @@ SELECT RSQ(fact1, fact2)
148936
149148
  SELECT RSQ({metric/count_of_defects}, {metric/production_volume})
148937
149149
  \`\`\``;
148938
149150
  //#endregion
148939
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/standard-deviation-functions.js
149151
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/standard-deviation-functions.js
148940
149152
  const content$10 = `# Standard Deviation Functions
148941
149153
  Standard deviation function return the statistical standard deviation of
148942
149154
  all values in the set based on a sample of the population (STDEV), or
@@ -149025,7 +149237,7 @@ individual transactions (X axis) and where they fall within bands of
149025
149237
 
149026
149238
  ![Transaction amounts compared to standard deviations](https://www.gooddata.com/developers/cloud-native/doc/maql/stdev-transaction-accounts.png)`;
149027
149239
  //#endregion
149028
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/variance-functions.js
149240
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/statistic/variance-functions.js
149029
149241
  const content$9 = `# Variance Functions
149030
149242
  Returns the statistical variance - how far a set of values is spread out based on a sample of the population (VAR), or based on a biased population (VARP). Variance is non-negative, zero indicates that all values are identical.
149031
149243
 
@@ -149080,7 +149292,7 @@ SELECT VAR({metric/internal_rate_of_return})
149080
149292
  SELECT VARP({metric/gross_weight})
149081
149293
  \`\`\``;
149082
149294
  //#endregion
149083
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-add.js
149295
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-add.js
149084
149296
  const content$8 = `# DATETIME_ADD
149085
149297
  The \`DATETIME_ADD\` function adds a specified amount of intervals based on the granularity.
149086
149298
 
@@ -149134,7 +149346,7 @@ Return the sum of the shipping prices in the 7 days before the last returned loa
149134
149346
  SELECT SUM({fact/l_shippingprice}) WHERE {label/l_returned.day} >= DATETIME_ADD(MAX({label/l_returned.day}, {dataset/loan}), -7)
149135
149347
  \`\`\``;
149136
149348
  //#endregion
149137
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-diff.js
149349
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-diff.js
149138
149350
  const content$7 = `# DATETIME_DIFF
149139
149351
  The \`DATETIME_DIFF\` function calculates the difference between two timestamps or dates. The resulting number is the difference between the two specified timestamps/dates based on the granularity.
149140
149352
 
@@ -149190,7 +149402,7 @@ Filter data where the duration is greater than the specified amount:
149190
149402
  SELECT COUNT({dataset/item}) WHERE DATETIME_DIFF({label/i_decommisioned.day}, THIS(DAY)) > 10
149191
149403
  \`\`\``;
149192
149404
  //#endregion
149193
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time-macros.js
149405
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time-macros.js
149194
149406
  const content$6 = `# Time Macros
149195
149407
  Time macros or time macro functions are \"floating\" references to day, month, week, and other date-related attribute values, relative to the present.
149196
149408
  MAQL supports the following time macro functions:
@@ -149270,7 +149482,7 @@ Example:
149270
149482
  SELECT {metric/payment} WHERE {attribute/month} = PREVIOUS(Month)
149271
149483
  \`\`\``;
149272
149484
  //#endregion
149273
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-each.js
149485
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-each.js
149274
149486
  const content$5 = `# FOR EACH
149275
149487
  The **FOR EACH** clause allows you to display all attribute values in your visualization, even if they are missing.
149276
149488
 
@@ -149367,7 +149579,7 @@ Other data sources fully support FOR EACH for all attributes.
149367
149579
  You can create metrics with FOR EACH even if your data source does not support it. If you add such metric to a visualization, Analytical Designer will display an error.
149368
149580
  {{% /alert %}}`;
149369
149581
  //#endregion
149370
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-next-period.js
149582
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-next-period.js
149371
149583
  const content$4 = `# FOR NextPeriod
149372
149584
  FOR NextPeriod function allows you to compute a metric for a future time
149373
149585
  period the granularity of which is determined contextually by the most
@@ -149406,7 +149618,7 @@ attribute.
149406
149618
 
149407
149619
  ![iThe Next( ) function strictly follows the date attribute specified within the functions parentheses.](https://www.gooddata.com/developers/cloud-native/doc/maql/for-next-period.jpg)`;
149408
149620
  //#endregion
149409
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-next.js
149621
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-next.js
149410
149622
  const content$3 = `# FOR Next
149411
149623
  By default, the FOR Next function refers to values from one time period
149412
149624
  in the future. This can be customized by adding a second parameter to
@@ -149434,7 +149646,7 @@ below).
149434
149646
  SELECT {metric/payment} FOR Next({attribute/quarter},3)
149435
149647
  \`\`\``;
149436
149648
  //#endregion
149437
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-previous-period.js
149649
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-previous-period.js
149438
149650
  const content$2 = `# FOR PreviousPeriod
149439
149651
  The FOR PreviousPeriod function is similar to FOR Previous functions
149440
149652
  unless the adaptable functions adapt to the context of the visualization by
@@ -149461,7 +149673,7 @@ SELECT {metric/payment} FOR PreviousPeriod({attribute/quarter}, 2)
149461
149673
  For differences between FOR Previous and FOR PreviousPeriod,
149462
149674
  see [Functions For Referring to Past Time Periods](https://www.gooddata.com/developers/cloud-native/doc/hosted/create-metrics/maql/time/functions-for-referring-to-past-time-periods/).`;
149463
149675
  //#endregion
149464
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-previous.js
149676
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/for-previous.js
149465
149677
  const content$1 = `# FOR Previous
149466
149678
  By default, the FOR Previous function refers to values from one time
149467
149679
  period ago. You can customize FOR Previous by adding a second parameter
@@ -149492,7 +149704,7 @@ SELECT {metric/revenues} FOR Previous({attribute/quarter} , 3)
149492
149704
  For differences between FOR Previous and FOR PreviousPeriod,
149493
149705
  see [Functions For Referring to Past Time Periods](https://www.gooddata.com/developers/cloud-native/doc/hosted/create-metrics/maql/time/functions-for-referring-to-past-time-periods/).`;
149494
149706
  //#endregion
149495
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/functions-for-referring-to-past-time-periods.js
149707
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/en/docs/create-metrics/maql/time/functions-for-referring-to-past-time-periods.js
149496
149708
  const content = `# Functions For Referring to Past Time Periods
149497
149709
  The following MAQL functions allow you to create metrics showing a time
149498
149710
  over time comparison (for example, month over month, or quarter over
@@ -149529,7 +149741,7 @@ specifying the date dimension of interest. This is because workspaces
149529
149741
  often have multiple date dimensions, such as Date(Lead Created),
149530
149742
  Date(MQL Qualified), or Date(Snapshot).`;
149531
149743
  //#endregion
149532
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/index.js
149744
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/docs/index.js
149533
149745
  /**
149534
149746
  * IETF BCP 47 language tags for supported locales in documentation
149535
149747
  */
@@ -149603,7 +149815,7 @@ const docsIndex = { "en-us": {
149603
149815
  "functions-for-referring-to-past-time-periods": content
149604
149816
  } };
149605
149817
  //#endregion
149606
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/highlight/semanticsHighlight.js
149818
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/highlight/semanticsHighlight.js
149607
149819
  const { AttributeTypeContext, MaqlLexer, NumericTypeContext } = import_dist.default;
149608
149820
  var TokenTypes;
149609
149821
  (function(TokenTypes) {
@@ -149899,7 +150111,7 @@ var SemanticTokenizer = class {
149899
150111
  }
149900
150112
  };
149901
150113
  //#endregion
149902
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/format.js
150114
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/format.js
149903
150115
  function format(query, options) {
149904
150116
  const metric = new MaqlMetric(query);
149905
150117
  return new MaqlFormatter(options, metric).visit(metric.tree);
@@ -150389,7 +150601,7 @@ function formatTransFunction(func) {
150389
150601
  }
150390
150602
  }
150391
150603
  //#endregion
150392
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/highlight/utils.js
150604
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/highlight/utils.js
150393
150605
  function getType$1(typeList, current) {
150394
150606
  return typeList.indexOf(current);
150395
150607
  }
@@ -150401,7 +150613,7 @@ function getModifiers(modifiersList, current) {
150401
150613
  }, 0);
150402
150614
  }
150403
150615
  //#endregion
150404
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/highlight/convert.js
150616
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/highlight/convert.js
150405
150617
  function convertToSemanticTokens(tokens) {
150406
150618
  const builder = new import_main$1.SemanticTokensBuilder();
150407
150619
  tokens.forEach(({ position, type, modifiers }) => {
@@ -150411,7 +150623,7 @@ function convertToSemanticTokens(tokens) {
150411
150623
  return builder.build();
150412
150624
  }
150413
150625
  //#endregion
150414
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/hover.js
150626
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/hover.js
150415
150627
  function hover(query, position, ldmObjects) {
150416
150628
  if (!ldmObjects) return null;
150417
150629
  const objAtPosition = findAllObjects(new MaqlMetric(query)).find((obj) => {
@@ -150454,7 +150666,7 @@ function objectContent(object) {
150454
150666
  return null;
150455
150667
  }
150456
150668
  //#endregion
150457
- //#region ../../../common/temp/aac/node_modules/.pnpm/file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/maqlLanguageService.js
150669
+ //#region ../../../common/temp/aac/node_modules/.pnpm/gdc-maql-language-server@file+..+..+..+libs+gdc-maql-language-server/node_modules/gdc-maql-language-server/esm/maqlLanguageService.js
150458
150670
  /**
150459
150671
  * MAQL Language Service class
150460
150672
  * A service to manage the capabilities of the MAQL language server
@@ -150591,7 +150803,7 @@ const _CONFIG = {
150591
150803
  common: {
150592
150804
  "X-Requested-With": "XMLHttpRequest",
150593
150805
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
150594
- "X-GDC-JS-PACKAGE-VERSION": "11.43.0-alpha.1"
150806
+ "X-GDC-JS-PACKAGE-VERSION": "11.43.0-alpha.3"
150595
150807
  },
150596
150808
  post: { "Content-Type": "application/json;charset=utf8" },
150597
150809
  put: { "Content-Type": "application/json;charset=utf8" }
@@ -195558,7 +195770,7 @@ async function get(state, opts) {
195558
195770
  //#endregion
195559
195771
  //#region ../code/package.json
195560
195772
  var name = "@gooddata/code";
195561
- var version = "0.39.0-alpha.1";
195773
+ var version = "0.39.0-alpha.3";
195562
195774
  //#endregion
195563
195775
  //#region ../code/esm/actions/initialize.js
195564
195776
  async function initialize(state, emitter, options) {