@gooddata/sdk-ui 8.10.0-alpha.3 → 8.10.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/localization/bundles/de-DE.json +12 -1
- package/dist/base/localization/bundles/en-US.json +29 -9
- package/dist/base/localization/bundles/es-ES.json +12 -1
- package/dist/base/localization/bundles/fr-FR.json +12 -1
- package/dist/base/localization/bundles/ja-JP.json +12 -1
- package/dist/base/localization/bundles/nl-NL.json +12 -1
- package/dist/base/localization/bundles/pt-BR.json +12 -1
- package/dist/base/localization/bundles/pt-PT.json +12 -1
- package/dist/base/localization/bundles/ru-RU.json +12 -1
- package/dist/base/localization/bundles/zh-Hans.json +12 -1
- package/dist/base/results/internal/dataAccessDigest.d.ts +1 -1
- package/dist/base/results/internal/dataAccessDigest.js +1 -1
- package/dist/base/results/internal/dataAccessImpl.d.ts +1 -1
- package/dist/base/results/internal/dataAccessImpl.js +2 -2
- package/dist/execution/createExecution.d.ts.map +1 -1
- package/dist/execution/createExecution.js +3 -5
- package/dist/execution/createExecution.js.map +1 -1
- package/esm/base/localization/bundles/de-DE.json +12 -1
- package/esm/base/localization/bundles/en-US.json +29 -9
- package/esm/base/localization/bundles/es-ES.json +12 -1
- package/esm/base/localization/bundles/fr-FR.json +12 -1
- package/esm/base/localization/bundles/ja-JP.json +12 -1
- package/esm/base/localization/bundles/nl-NL.json +12 -1
- package/esm/base/localization/bundles/pt-BR.json +12 -1
- package/esm/base/localization/bundles/pt-PT.json +12 -1
- package/esm/base/localization/bundles/ru-RU.json +12 -1
- package/esm/base/localization/bundles/zh-Hans.json +12 -1
- package/esm/base/results/internal/dataAccessDigest.d.ts +1 -1
- package/esm/base/results/internal/dataAccessDigest.js +1 -1
- package/esm/base/results/internal/dataAccessImpl.d.ts +1 -1
- package/esm/base/results/internal/dataAccessImpl.js +2 -2
- package/esm/execution/createExecution.d.ts.map +1 -1
- package/esm/execution/createExecution.js +4 -6
- package/esm/execution/createExecution.js.map +1 -1
- package/package.json +7 -7
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Alle Benutzer",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Inaktiver Benutzer",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "Der Benutzer wurde von diesem Workspace gelöscht.",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Von Auswahl entfernen."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Von Auswahl entfernen.",
|
|
241
|
+
"sorting.dropdown.header": "Betrachtung sortieren",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A bis Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z bis A",
|
|
244
|
+
"sorting.type.date.asc": "Älteste zuerst",
|
|
245
|
+
"sorting.type.date.desc": "Neueste zuerst",
|
|
246
|
+
"sorting.type.default": "Standard",
|
|
247
|
+
"sorting.type.numerical.asc": "Aufsteigende Größe",
|
|
248
|
+
"sorting.type.numerical.desc": "Absteigende Größe",
|
|
249
|
+
"sorting.by": "nach",
|
|
250
|
+
"sorting.sum.of.all.measure": "Summen",
|
|
251
|
+
"sorting.default.tooltip": "Verwenden Sie die Sortierung, die im Attribut definiert ist."
|
|
241
252
|
}
|
|
@@ -1261,32 +1261,52 @@
|
|
|
1261
1261
|
},
|
|
1262
1262
|
"sorting.type.alphabetical.asc": {
|
|
1263
1263
|
"value": "A to Z",
|
|
1264
|
-
"comment": "Title of sort option when is sorted alphabetically and in ascending order.",
|
|
1264
|
+
"comment": "Title of sort option when insight is sorted alphabetically and in ascending order.",
|
|
1265
1265
|
"limit": 0
|
|
1266
1266
|
},
|
|
1267
1267
|
"sorting.type.alphabetical.desc": {
|
|
1268
1268
|
"value": "Z to A",
|
|
1269
|
-
"comment": "Title of sort option when is sorted alphabetically and in
|
|
1269
|
+
"comment": "Title of sort option when insight is sorted alphabetically and in descending order.",
|
|
1270
|
+
"limit": 0
|
|
1271
|
+
},
|
|
1272
|
+
"sorting.type.date.asc": {
|
|
1273
|
+
"value": "Oldest to newest",
|
|
1274
|
+
"comment": "Title of sort option when insight is sorted by date and in ascending order.",
|
|
1275
|
+
"limit": 0
|
|
1276
|
+
},
|
|
1277
|
+
"sorting.type.date.desc": {
|
|
1278
|
+
"value": "Newest to oldest",
|
|
1279
|
+
"comment": "Title of sort option when insight is sorted by date and in descending order.",
|
|
1280
|
+
"limit": 0
|
|
1281
|
+
},
|
|
1282
|
+
"sorting.type.default": {
|
|
1283
|
+
"value": "Default",
|
|
1284
|
+
"comment": "Title of sort option when insight is sorted by default order.",
|
|
1270
1285
|
"limit": 0
|
|
1271
1286
|
},
|
|
1272
1287
|
"sorting.type.numerical.asc": {
|
|
1273
1288
|
"value": "Smallest to largest",
|
|
1274
|
-
"comment": "Title of sort option when is sorted numerically and in ascending order.",
|
|
1289
|
+
"comment": "Title of sort option when insight is sorted numerically and in ascending order.",
|
|
1275
1290
|
"limit": 0
|
|
1276
1291
|
},
|
|
1277
1292
|
"sorting.type.numerical.desc": {
|
|
1278
1293
|
"value": "Largest to smallest",
|
|
1279
|
-
"comment": "Title of sort option when is sorted
|
|
1294
|
+
"comment": "Title of sort option when insight is sorted numerically and in descending order.",
|
|
1295
|
+
"limit": 0
|
|
1296
|
+
},
|
|
1297
|
+
"sorting.by": {
|
|
1298
|
+
"value": "by",
|
|
1299
|
+
"comment": "Text that will appear before the measures from which attribute will be sorted.",
|
|
1280
1300
|
"limit": 0
|
|
1281
1301
|
},
|
|
1282
|
-
"sorting.sum.of.all.measure
|
|
1283
|
-
"value": "
|
|
1302
|
+
"sorting.sum.of.all.measure": {
|
|
1303
|
+
"value": "Total",
|
|
1284
1304
|
"comment": "Title of sort option when is sorted by sum of all measures.",
|
|
1285
1305
|
"limit": 0
|
|
1286
1306
|
},
|
|
1287
|
-
"sorting.
|
|
1288
|
-
"value": "
|
|
1289
|
-
"comment": "
|
|
1307
|
+
"sorting.default.tooltip": {
|
|
1308
|
+
"value": "Use the order defined in the attribute.",
|
|
1309
|
+
"comment": "Tooltip that explains user that default sorting of the selected attribute will be applied on the insight.",
|
|
1290
1310
|
"limit": 0
|
|
1291
1311
|
}
|
|
1292
1312
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Todos los usuarios",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Usuario inactivo",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "Se eliminó al usuario de este espacio de trabajo",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Eliminar de la selección."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Eliminar de la selección.",
|
|
241
|
+
"sorting.dropdown.header": "Ordenar perspectiva",
|
|
242
|
+
"sorting.type.alphabetical.asc": "De la A a la Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "De la Z a la A",
|
|
244
|
+
"sorting.type.date.asc": "De más antiguo a más reciente",
|
|
245
|
+
"sorting.type.date.desc": "De más reciente a más antiguo",
|
|
246
|
+
"sorting.type.default": "Predeterminado",
|
|
247
|
+
"sorting.type.numerical.asc": "De menor a mayor",
|
|
248
|
+
"sorting.type.numerical.desc": "De mayor a menor",
|
|
249
|
+
"sorting.by": "por",
|
|
250
|
+
"sorting.sum.of.all.measure": "Total",
|
|
251
|
+
"sorting.default.tooltip": "Use el orden definido en el atributo."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Tous les utilisateurs",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Utilisateur inactif",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "L'utilisateur a été supprimé de cet espace de travail",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Retirer de la sélection."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Retirer de la sélection.",
|
|
241
|
+
"sorting.dropdown.header": "Trier la perception",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A à Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z à A",
|
|
244
|
+
"sorting.type.date.asc": "Ordre chronologique",
|
|
245
|
+
"sorting.type.date.desc": "Ordre antéchronologique",
|
|
246
|
+
"sorting.type.default": "Par défaut",
|
|
247
|
+
"sorting.type.numerical.asc": "Du plus petit au plus grand",
|
|
248
|
+
"sorting.type.numerical.desc": "Du plus grand au plus petit",
|
|
249
|
+
"sorting.by": "par",
|
|
250
|
+
"sorting.sum.of.all.measure": "Total",
|
|
251
|
+
"sorting.default.tooltip": "Utilisez l'ordre défini dans l'attribut."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "すべてのユーザー",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "非アクティブなユーザー",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "ユーザーはこのワークスペースから削除されています",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "この選択範囲から削除。"
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "この選択範囲から削除。",
|
|
241
|
+
"sorting.dropdown.header": "インサイトの並べ替え",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A から Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z から A",
|
|
244
|
+
"sorting.type.date.asc": "昇順で並べ替え",
|
|
245
|
+
"sorting.type.date.desc": "降順で並べ替え",
|
|
246
|
+
"sorting.type.default": "既定",
|
|
247
|
+
"sorting.type.numerical.asc": "最小から最大の順",
|
|
248
|
+
"sorting.type.numerical.desc": "最大から最小の順",
|
|
249
|
+
"sorting.by": "別",
|
|
250
|
+
"sorting.sum.of.all.measure": "合計",
|
|
251
|
+
"sorting.default.tooltip": "属性で定義された順序を使用します。"
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Alle gebruikers",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Inactieve gebruiker",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "Gebruiker is verwijderd uit deze werkruimte",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Verwijderen uit sectie."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Verwijderen uit sectie.",
|
|
241
|
+
"sorting.dropdown.header": "Inzicht sorteren",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A tot Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z tot A",
|
|
244
|
+
"sorting.type.date.asc": "Van oud naar nieuw",
|
|
245
|
+
"sorting.type.date.desc": "Van nieuw naar oud",
|
|
246
|
+
"sorting.type.default": "Standaard",
|
|
247
|
+
"sorting.type.numerical.asc": "Kleinst naar grootst",
|
|
248
|
+
"sorting.type.numerical.desc": "Grootst naar kleinst",
|
|
249
|
+
"sorting.by": "met",
|
|
250
|
+
"sorting.sum.of.all.measure": "Totaal",
|
|
251
|
+
"sorting.default.tooltip": "Gebruik de volgorde zoals gedefinieerd in het attribuut."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Todos os usuários",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Usuário inativo",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "O usuário foi excluído deste espaço de trabalho",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Remover da seleção."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Remover da seleção.",
|
|
241
|
+
"sorting.dropdown.header": "Classificar insight",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A a Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z a A",
|
|
244
|
+
"sorting.type.date.asc": "Mais antigo ao mais atual",
|
|
245
|
+
"sorting.type.date.desc": "Mais atual ao mais antigo",
|
|
246
|
+
"sorting.type.default": "Predefinido",
|
|
247
|
+
"sorting.type.numerical.asc": "Do menor para o maior",
|
|
248
|
+
"sorting.type.numerical.desc": "Do maior para o menor",
|
|
249
|
+
"sorting.by": "por",
|
|
250
|
+
"sorting.sum.of.all.measure": "Total",
|
|
251
|
+
"sorting.default.tooltip": "Use a ordem definida no atributo."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Todos os utilizadores",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Utilizador inativo",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "O utilizador foi eliminado desta área de trabalho",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Remover da seleção."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Remover da seleção.",
|
|
241
|
+
"sorting.dropdown.header": "Ordenar insight",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A a Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z a A",
|
|
244
|
+
"sorting.type.date.asc": "Mais antigo para mais recente",
|
|
245
|
+
"sorting.type.date.desc": "Mais recente para mais antigo",
|
|
246
|
+
"sorting.type.default": "Predefinido",
|
|
247
|
+
"sorting.type.numerical.asc": "Menor para maior",
|
|
248
|
+
"sorting.type.numerical.desc": "Maior para menor",
|
|
249
|
+
"sorting.by": "por",
|
|
250
|
+
"sorting.sum.of.all.measure": "Total",
|
|
251
|
+
"sorting.default.tooltip": "Utilizar a ordem definida no atributo."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Все пользователи",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Неактивный пользователь",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "Пользователь удален из этой рабочей области",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Удалить из выбора."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Удалить из выбора.",
|
|
241
|
+
"sorting.dropdown.header": "Сортировка анализа",
|
|
242
|
+
"sorting.type.alphabetical.asc": "От А до Я",
|
|
243
|
+
"sorting.type.alphabetical.desc": "От Я до А",
|
|
244
|
+
"sorting.type.date.asc": "От старого к новому",
|
|
245
|
+
"sorting.type.date.desc": "От нового к старому",
|
|
246
|
+
"sorting.type.default": "По умолчанию",
|
|
247
|
+
"sorting.type.numerical.asc": "От меньшего к большему",
|
|
248
|
+
"sorting.type.numerical.desc": "От большего к меньшему",
|
|
249
|
+
"sorting.by": "по",
|
|
250
|
+
"sorting.sum.of.all.measure": "всего",
|
|
251
|
+
"sorting.default.tooltip": "Использовать порядок, определенный в атрибуте."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "全部用户",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "非活跃用户",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "用户已从此工作区中删除",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "从选择中删除。"
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "从选择中删除。",
|
|
241
|
+
"sorting.dropdown.header": "排序洞察",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A 到 Z。",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z到A",
|
|
244
|
+
"sorting.type.date.asc": "最早到最新",
|
|
245
|
+
"sorting.type.date.desc": "最新到最早",
|
|
246
|
+
"sorting.type.default": "默认",
|
|
247
|
+
"sorting.type.numerical.asc": "从最小到最大",
|
|
248
|
+
"sorting.type.numerical.desc": "从最大到最小",
|
|
249
|
+
"sorting.by": "通过",
|
|
250
|
+
"sorting.sum.of.all.measure": "总计",
|
|
251
|
+
"sorting.default.tooltip": "使用属性中定义的顺序。"
|
|
241
252
|
}
|
|
@@ -32,7 +32,7 @@ export declare type DataSeriesDigest = {
|
|
|
32
32
|
*/
|
|
33
33
|
allAttributeHeaders: IResultAttributeHeader[][];
|
|
34
34
|
/**
|
|
35
|
-
* Index of measure local id
|
|
35
|
+
* Index of measure local id → index into the series dimension
|
|
36
36
|
*/
|
|
37
37
|
measureIndexes: {
|
|
38
38
|
[localId: string]: number[];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createDataAccessDigest = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
// (C) 2019-
|
|
5
|
+
// (C) 2019-2022 GoodData Corporation
|
|
6
6
|
var sdk_backend_spi_1 = require("@gooddata/sdk-backend-spi");
|
|
7
7
|
var utils_1 = require("./utils");
|
|
8
8
|
var sdk_model_1 = require("@gooddata/sdk-model");
|
|
@@ -10,7 +10,7 @@ import { DataAccessConfig } from "../dataAccessConfig";
|
|
|
10
10
|
* The responsibilities of this class is to operate on top of digest & data stored in the data view and
|
|
11
11
|
* from information therein create descriptors for series, slices and then series and slices itself. It also
|
|
12
12
|
* makes access to underlying data transparent - hiding the detail whether series and slices have their
|
|
13
|
-
* data organized in row
|
|
13
|
+
* data organized in row→col or col→row.
|
|
14
14
|
*/
|
|
15
15
|
export declare class DataAccessImpl {
|
|
16
16
|
private readonly dataView;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// (C) 2019-
|
|
2
|
+
// (C) 2019-2022 GoodData Corporation
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.DataAccessImpl = void 0;
|
|
5
5
|
var tslib_1 = require("tslib");
|
|
@@ -205,7 +205,7 @@ function illegalState(message) {
|
|
|
205
205
|
* The responsibilities of this class is to operate on top of digest & data stored in the data view and
|
|
206
206
|
* from information therein create descriptors for series, slices and then series and slices itself. It also
|
|
207
207
|
* makes access to underlying data transparent - hiding the detail whether series and slices have their
|
|
208
|
-
* data organized in row
|
|
208
|
+
* data organized in row→col or col→row.
|
|
209
209
|
*/
|
|
210
210
|
var DataAccessImpl = /** @class */ (function () {
|
|
211
211
|
function DataAccessImpl(dataView, config) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createExecution.d.ts","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"createExecution.d.ts","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,mBAAmB,EAEnB,eAAe,EAEf,SAAS,EACT,MAAM,EAIT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAInF;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACjC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAErB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AA2BF;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,kBAAkB,CA2BnF"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createExecution = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
// (C) 2019-
|
|
5
|
+
// (C) 2019-2022 GoodData Corporation
|
|
6
6
|
var sdk_model_1 = require("@gooddata/sdk-model");
|
|
7
7
|
var isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
|
|
8
8
|
var ts_invariant_1 = tslib_1.__importDefault(require("ts-invariant"));
|
|
@@ -10,7 +10,7 @@ var ts_invariant_1 = tslib_1.__importDefault(require("ts-invariant"));
|
|
|
10
10
|
* When caller desires just data series and no slicing, create a single-dim result.
|
|
11
11
|
*/
|
|
12
12
|
function seriesOnlyDim(seriesBy) {
|
|
13
|
-
return [sdk_model_1.newDimension(seriesBy.filter(sdk_model_1.isAttribute)
|
|
13
|
+
return [sdk_model_1.newDimension(tslib_1.__spread(seriesBy.filter(sdk_model_1.isAttribute), [sdk_model_1.MeasureGroupIdentifier]))];
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* When caller desires data series to be sliced further by some attributes (and perhaps with totals as well)
|
|
@@ -20,9 +20,7 @@ function seriesOnlyDim(seriesBy) {
|
|
|
20
20
|
* - measures & scoping attributes will be in columns (second dim)
|
|
21
21
|
*/
|
|
22
22
|
function seriesAndSlicesDim(seriesBy, slices, totals) {
|
|
23
|
-
|
|
24
|
-
firstDimItems.push.apply(firstDimItems, tslib_1.__spread(totals));
|
|
25
|
-
return sdk_model_1.newTwoDimensional(firstDimItems, seriesBy.filter(sdk_model_1.isAttribute).map(sdk_model_1.attributeLocalId).concat(sdk_model_1.MeasureGroupIdentifier));
|
|
23
|
+
return sdk_model_1.newTwoDimensional(tslib_1.__spread(slices, totals), tslib_1.__spread(seriesBy.filter(sdk_model_1.isAttribute), [sdk_model_1.MeasureGroupIdentifier]));
|
|
26
24
|
}
|
|
27
25
|
/**
|
|
28
26
|
* Given execute props, this will prepare execution to send to backend.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createExecution.js","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"createExecution.js","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,iDAW6B;AAE7B,mEAAqC;AACrC,sEAAqC;AA0DrC;;GAEG;AACH,SAAS,aAAa,CAAC,QAA+B;IAClD,OAAO,CAAC,wBAAY,kBAAK,QAAQ,CAAC,MAAM,CAAC,uBAAW,CAAC,GAAE,kCAAsB,GAAE,CAAC,CAAC;AACrF,CAAC;AAED;;;;;;GAMG;AACH,SAAS,kBAAkB,CACvB,QAA+B,EAC/B,MAAoB,EACpB,MAAgB;IAEhB,OAAO,6BAAiB,kBAChB,MAAM,EAAK,MAAM,oBACjB,QAAQ,CAAC,MAAM,CAAC,uBAAW,CAAC,GAAE,kCAAsB,GAC3D,CAAC;AACN,CAAC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,OAA+B;;IAEvD,IAAA,OAAO,GAQP,OAAO,QARA,EACP,SAAS,GAOT,OAAO,UAPE,EACT,QAAQ,GAMR,OAAO,SANC,EACR,KAKA,OAAO,SALM,EAAb,QAAQ,mBAAG,EAAE,KAAA,EACb,KAIA,OAAO,QAJK,EAAZ,OAAO,mBAAG,EAAE,KAAA,EACZ,KAGA,OAAO,OAHI,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,KAEA,OAAO,OAFI,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,KACA,OAAO,cADoB,EAA3B,aAAa,mBAAG,WAAW,KAAA,CACnB;IACZ,sBAAS,CACL,OAAO,IAAI,SAAS,EACpB,qFAAqF,CACxF,CAAC;IAEF,IAAM,UAAU,GAAG,iBAAO,CAAC,QAAQ,CAAC;QAChC,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC;QACzB,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IAErD,OAAO,CAAA,KAAA,CAAA,KAAA,OAAO;SACT,aAAa,CAAC,aAAa,EAAE,OAAO,CAAC;SACrC,SAAS,CAAC,SAAS,CAAC;SACpB,SAAS,EAAE;SACX,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAA;SAC5C,WAAW,4BAAI,MAAM,EAAC,CAAA;SACtB,cAAc,4BAAI,UAAU,GAAE;AACvC,CAAC;AA3BD,0CA2BC"}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Alle Benutzer",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Inaktiver Benutzer",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "Der Benutzer wurde von diesem Workspace gelöscht.",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Von Auswahl entfernen."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Von Auswahl entfernen.",
|
|
241
|
+
"sorting.dropdown.header": "Betrachtung sortieren",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A bis Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z bis A",
|
|
244
|
+
"sorting.type.date.asc": "Älteste zuerst",
|
|
245
|
+
"sorting.type.date.desc": "Neueste zuerst",
|
|
246
|
+
"sorting.type.default": "Standard",
|
|
247
|
+
"sorting.type.numerical.asc": "Aufsteigende Größe",
|
|
248
|
+
"sorting.type.numerical.desc": "Absteigende Größe",
|
|
249
|
+
"sorting.by": "nach",
|
|
250
|
+
"sorting.sum.of.all.measure": "Summen",
|
|
251
|
+
"sorting.default.tooltip": "Verwenden Sie die Sortierung, die im Attribut definiert ist."
|
|
241
252
|
}
|
|
@@ -1261,32 +1261,52 @@
|
|
|
1261
1261
|
},
|
|
1262
1262
|
"sorting.type.alphabetical.asc": {
|
|
1263
1263
|
"value": "A to Z",
|
|
1264
|
-
"comment": "Title of sort option when is sorted alphabetically and in ascending order.",
|
|
1264
|
+
"comment": "Title of sort option when insight is sorted alphabetically and in ascending order.",
|
|
1265
1265
|
"limit": 0
|
|
1266
1266
|
},
|
|
1267
1267
|
"sorting.type.alphabetical.desc": {
|
|
1268
1268
|
"value": "Z to A",
|
|
1269
|
-
"comment": "Title of sort option when is sorted alphabetically and in
|
|
1269
|
+
"comment": "Title of sort option when insight is sorted alphabetically and in descending order.",
|
|
1270
|
+
"limit": 0
|
|
1271
|
+
},
|
|
1272
|
+
"sorting.type.date.asc": {
|
|
1273
|
+
"value": "Oldest to newest",
|
|
1274
|
+
"comment": "Title of sort option when insight is sorted by date and in ascending order.",
|
|
1275
|
+
"limit": 0
|
|
1276
|
+
},
|
|
1277
|
+
"sorting.type.date.desc": {
|
|
1278
|
+
"value": "Newest to oldest",
|
|
1279
|
+
"comment": "Title of sort option when insight is sorted by date and in descending order.",
|
|
1280
|
+
"limit": 0
|
|
1281
|
+
},
|
|
1282
|
+
"sorting.type.default": {
|
|
1283
|
+
"value": "Default",
|
|
1284
|
+
"comment": "Title of sort option when insight is sorted by default order.",
|
|
1270
1285
|
"limit": 0
|
|
1271
1286
|
},
|
|
1272
1287
|
"sorting.type.numerical.asc": {
|
|
1273
1288
|
"value": "Smallest to largest",
|
|
1274
|
-
"comment": "Title of sort option when is sorted numerically and in ascending order.",
|
|
1289
|
+
"comment": "Title of sort option when insight is sorted numerically and in ascending order.",
|
|
1275
1290
|
"limit": 0
|
|
1276
1291
|
},
|
|
1277
1292
|
"sorting.type.numerical.desc": {
|
|
1278
1293
|
"value": "Largest to smallest",
|
|
1279
|
-
"comment": "Title of sort option when is sorted
|
|
1294
|
+
"comment": "Title of sort option when insight is sorted numerically and in descending order.",
|
|
1295
|
+
"limit": 0
|
|
1296
|
+
},
|
|
1297
|
+
"sorting.by": {
|
|
1298
|
+
"value": "by",
|
|
1299
|
+
"comment": "Text that will appear before the measures from which attribute will be sorted.",
|
|
1280
1300
|
"limit": 0
|
|
1281
1301
|
},
|
|
1282
|
-
"sorting.sum.of.all.measure
|
|
1283
|
-
"value": "
|
|
1302
|
+
"sorting.sum.of.all.measure": {
|
|
1303
|
+
"value": "Total",
|
|
1284
1304
|
"comment": "Title of sort option when is sorted by sum of all measures.",
|
|
1285
1305
|
"limit": 0
|
|
1286
1306
|
},
|
|
1287
|
-
"sorting.
|
|
1288
|
-
"value": "
|
|
1289
|
-
"comment": "
|
|
1307
|
+
"sorting.default.tooltip": {
|
|
1308
|
+
"value": "Use the order defined in the attribute.",
|
|
1309
|
+
"comment": "Tooltip that explains user that default sorting of the selected attribute will be applied on the insight.",
|
|
1290
1310
|
"limit": 0
|
|
1291
1311
|
}
|
|
1292
1312
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Todos los usuarios",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Usuario inactivo",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "Se eliminó al usuario de este espacio de trabajo",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Eliminar de la selección."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Eliminar de la selección.",
|
|
241
|
+
"sorting.dropdown.header": "Ordenar perspectiva",
|
|
242
|
+
"sorting.type.alphabetical.asc": "De la A a la Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "De la Z a la A",
|
|
244
|
+
"sorting.type.date.asc": "De más antiguo a más reciente",
|
|
245
|
+
"sorting.type.date.desc": "De más reciente a más antiguo",
|
|
246
|
+
"sorting.type.default": "Predeterminado",
|
|
247
|
+
"sorting.type.numerical.asc": "De menor a mayor",
|
|
248
|
+
"sorting.type.numerical.desc": "De mayor a menor",
|
|
249
|
+
"sorting.by": "por",
|
|
250
|
+
"sorting.sum.of.all.measure": "Total",
|
|
251
|
+
"sorting.default.tooltip": "Use el orden definido en el atributo."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Tous les utilisateurs",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Utilisateur inactif",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "L'utilisateur a été supprimé de cet espace de travail",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Retirer de la sélection."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Retirer de la sélection.",
|
|
241
|
+
"sorting.dropdown.header": "Trier la perception",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A à Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z à A",
|
|
244
|
+
"sorting.type.date.asc": "Ordre chronologique",
|
|
245
|
+
"sorting.type.date.desc": "Ordre antéchronologique",
|
|
246
|
+
"sorting.type.default": "Par défaut",
|
|
247
|
+
"sorting.type.numerical.asc": "Du plus petit au plus grand",
|
|
248
|
+
"sorting.type.numerical.desc": "Du plus grand au plus petit",
|
|
249
|
+
"sorting.by": "par",
|
|
250
|
+
"sorting.sum.of.all.measure": "Total",
|
|
251
|
+
"sorting.default.tooltip": "Utilisez l'ordre défini dans l'attribut."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "すべてのユーザー",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "非アクティブなユーザー",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "ユーザーはこのワークスペースから削除されています",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "この選択範囲から削除。"
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "この選択範囲から削除。",
|
|
241
|
+
"sorting.dropdown.header": "インサイトの並べ替え",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A から Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z から A",
|
|
244
|
+
"sorting.type.date.asc": "昇順で並べ替え",
|
|
245
|
+
"sorting.type.date.desc": "降順で並べ替え",
|
|
246
|
+
"sorting.type.default": "既定",
|
|
247
|
+
"sorting.type.numerical.asc": "最小から最大の順",
|
|
248
|
+
"sorting.type.numerical.desc": "最大から最小の順",
|
|
249
|
+
"sorting.by": "別",
|
|
250
|
+
"sorting.sum.of.all.measure": "合計",
|
|
251
|
+
"sorting.default.tooltip": "属性で定義された順序を使用します。"
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Alle gebruikers",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Inactieve gebruiker",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "Gebruiker is verwijderd uit deze werkruimte",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Verwijderen uit sectie."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Verwijderen uit sectie.",
|
|
241
|
+
"sorting.dropdown.header": "Inzicht sorteren",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A tot Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z tot A",
|
|
244
|
+
"sorting.type.date.asc": "Van oud naar nieuw",
|
|
245
|
+
"sorting.type.date.desc": "Van nieuw naar oud",
|
|
246
|
+
"sorting.type.default": "Standaard",
|
|
247
|
+
"sorting.type.numerical.asc": "Kleinst naar grootst",
|
|
248
|
+
"sorting.type.numerical.desc": "Grootst naar kleinst",
|
|
249
|
+
"sorting.by": "met",
|
|
250
|
+
"sorting.sum.of.all.measure": "Totaal",
|
|
251
|
+
"sorting.default.tooltip": "Gebruik de volgorde zoals gedefinieerd in het attribuut."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Todos os usuários",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Usuário inativo",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "O usuário foi excluído deste espaço de trabalho",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Remover da seleção."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Remover da seleção.",
|
|
241
|
+
"sorting.dropdown.header": "Classificar insight",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A a Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z a A",
|
|
244
|
+
"sorting.type.date.asc": "Mais antigo ao mais atual",
|
|
245
|
+
"sorting.type.date.desc": "Mais atual ao mais antigo",
|
|
246
|
+
"sorting.type.default": "Predefinido",
|
|
247
|
+
"sorting.type.numerical.asc": "Do menor para o maior",
|
|
248
|
+
"sorting.type.numerical.desc": "Do maior para o menor",
|
|
249
|
+
"sorting.by": "por",
|
|
250
|
+
"sorting.sum.of.all.measure": "Total",
|
|
251
|
+
"sorting.default.tooltip": "Use a ordem definida no atributo."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Todos os utilizadores",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Utilizador inativo",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "O utilizador foi eliminado desta área de trabalho",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Remover da seleção."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Remover da seleção.",
|
|
241
|
+
"sorting.dropdown.header": "Ordenar insight",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A a Z",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z a A",
|
|
244
|
+
"sorting.type.date.asc": "Mais antigo para mais recente",
|
|
245
|
+
"sorting.type.date.desc": "Mais recente para mais antigo",
|
|
246
|
+
"sorting.type.default": "Predefinido",
|
|
247
|
+
"sorting.type.numerical.asc": "Menor para maior",
|
|
248
|
+
"sorting.type.numerical.desc": "Maior para menor",
|
|
249
|
+
"sorting.by": "por",
|
|
250
|
+
"sorting.sum.of.all.measure": "Total",
|
|
251
|
+
"sorting.default.tooltip": "Utilizar a ordem definida no atributo."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "Все пользователи",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "Неактивный пользователь",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "Пользователь удален из этой рабочей области",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "Удалить из выбора."
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "Удалить из выбора.",
|
|
241
|
+
"sorting.dropdown.header": "Сортировка анализа",
|
|
242
|
+
"sorting.type.alphabetical.asc": "От А до Я",
|
|
243
|
+
"sorting.type.alphabetical.desc": "От Я до А",
|
|
244
|
+
"sorting.type.date.asc": "От старого к новому",
|
|
245
|
+
"sorting.type.date.desc": "От нового к старому",
|
|
246
|
+
"sorting.type.default": "По умолчанию",
|
|
247
|
+
"sorting.type.numerical.asc": "От меньшего к большему",
|
|
248
|
+
"sorting.type.numerical.desc": "От большего к меньшему",
|
|
249
|
+
"sorting.by": "по",
|
|
250
|
+
"sorting.sum.of.all.measure": "всего",
|
|
251
|
+
"sorting.default.tooltip": "Использовать порядок, определенный в атрибуте."
|
|
241
252
|
}
|
|
@@ -237,5 +237,16 @@
|
|
|
237
237
|
"shareDialog.share.grantee.item.user.all": "全部用户",
|
|
238
238
|
"shareDialog.share.grantee.item.user.inactive": "非活跃用户",
|
|
239
239
|
"shareDialog.share.grantee.item.user.inactive.description": "用户已从此工作区中删除",
|
|
240
|
-
"shareDialog.share.grantee.item.remove.selection": "从选择中删除。"
|
|
240
|
+
"shareDialog.share.grantee.item.remove.selection": "从选择中删除。",
|
|
241
|
+
"sorting.dropdown.header": "排序洞察",
|
|
242
|
+
"sorting.type.alphabetical.asc": "A 到 Z。",
|
|
243
|
+
"sorting.type.alphabetical.desc": "Z到A",
|
|
244
|
+
"sorting.type.date.asc": "最早到最新",
|
|
245
|
+
"sorting.type.date.desc": "最新到最早",
|
|
246
|
+
"sorting.type.default": "默认",
|
|
247
|
+
"sorting.type.numerical.asc": "从最小到最大",
|
|
248
|
+
"sorting.type.numerical.desc": "从最大到最小",
|
|
249
|
+
"sorting.by": "通过",
|
|
250
|
+
"sorting.sum.of.all.measure": "总计",
|
|
251
|
+
"sorting.default.tooltip": "使用属性中定义的顺序。"
|
|
241
252
|
}
|
|
@@ -32,7 +32,7 @@ export declare type DataSeriesDigest = {
|
|
|
32
32
|
*/
|
|
33
33
|
allAttributeHeaders: IResultAttributeHeader[][];
|
|
34
34
|
/**
|
|
35
|
-
* Index of measure local id
|
|
35
|
+
* Index of measure local id → index into the series dimension
|
|
36
36
|
*/
|
|
37
37
|
measureIndexes: {
|
|
38
38
|
[localId: string]: number[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __read, __values } from "tslib";
|
|
2
|
-
// (C) 2019-
|
|
2
|
+
// (C) 2019-2022 GoodData Corporation
|
|
3
3
|
import { isAttributeDescriptor, isMeasureGroupDescriptor, isResultAttributeHeader, isResultMeasureHeader, } from "@gooddata/sdk-backend-spi";
|
|
4
4
|
import { dataViewDimensionItems, dataViewHeaders, measureGroupItems } from "./utils";
|
|
5
5
|
import { attributeLocalId, measureLocalId } from "@gooddata/sdk-model";
|
|
@@ -10,7 +10,7 @@ import { DataAccessConfig } from "../dataAccessConfig";
|
|
|
10
10
|
* The responsibilities of this class is to operate on top of digest & data stored in the data view and
|
|
11
11
|
* from information therein create descriptors for series, slices and then series and slices itself. It also
|
|
12
12
|
* makes access to underlying data transparent - hiding the detail whether series and slices have their
|
|
13
|
-
* data organized in row
|
|
13
|
+
* data organized in row→col or col→row.
|
|
14
14
|
*/
|
|
15
15
|
export declare class DataAccessImpl {
|
|
16
16
|
private readonly dataView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2019-
|
|
1
|
+
// (C) 2019-2022 GoodData Corporation
|
|
2
2
|
import { isResultTotalHeader, resultHeaderName, } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { createDataAccessDigest } from "./dataAccessDigest";
|
|
4
4
|
import { LazyInitArray } from "./lazyInitArray";
|
|
@@ -201,7 +201,7 @@ function illegalState(message) {
|
|
|
201
201
|
* The responsibilities of this class is to operate on top of digest & data stored in the data view and
|
|
202
202
|
* from information therein create descriptors for series, slices and then series and slices itself. It also
|
|
203
203
|
* makes access to underlying data transparent - hiding the detail whether series and slices have their
|
|
204
|
-
* data organized in row
|
|
204
|
+
* data organized in row→col or col→row.
|
|
205
205
|
*/
|
|
206
206
|
var DataAccessImpl = /** @class */ (function () {
|
|
207
207
|
function DataAccessImpl(dataView, config) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createExecution.d.ts","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"createExecution.d.ts","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,mBAAmB,EAEnB,eAAe,EAEf,SAAS,EACT,MAAM,EAIT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAInF;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACjC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAErB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AA2BF;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,kBAAkB,CA2BnF"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __read, __spread } from "tslib";
|
|
2
|
-
// (C) 2019-
|
|
3
|
-
import {
|
|
2
|
+
// (C) 2019-2022 GoodData Corporation
|
|
3
|
+
import { isAttribute, MeasureGroupIdentifier, newDimension, newTwoDimensional, } from "@gooddata/sdk-model";
|
|
4
4
|
import isEmpty from "lodash/isEmpty";
|
|
5
5
|
import invariant from "ts-invariant";
|
|
6
6
|
/**
|
|
7
7
|
* When caller desires just data series and no slicing, create a single-dim result.
|
|
8
8
|
*/
|
|
9
9
|
function seriesOnlyDim(seriesBy) {
|
|
10
|
-
return [newDimension(seriesBy.filter(isAttribute)
|
|
10
|
+
return [newDimension(__spread(seriesBy.filter(isAttribute), [MeasureGroupIdentifier]))];
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* When caller desires data series to be sliced further by some attributes (and perhaps with totals as well)
|
|
@@ -17,9 +17,7 @@ function seriesOnlyDim(seriesBy) {
|
|
|
17
17
|
* - measures & scoping attributes will be in columns (second dim)
|
|
18
18
|
*/
|
|
19
19
|
function seriesAndSlicesDim(seriesBy, slices, totals) {
|
|
20
|
-
|
|
21
|
-
firstDimItems.push.apply(firstDimItems, __spread(totals));
|
|
22
|
-
return newTwoDimensional(firstDimItems, seriesBy.filter(isAttribute).map(attributeLocalId).concat(MeasureGroupIdentifier));
|
|
20
|
+
return newTwoDimensional(__spread(slices, totals), __spread(seriesBy.filter(isAttribute), [MeasureGroupIdentifier]));
|
|
23
21
|
}
|
|
24
22
|
/**
|
|
25
23
|
* Given execute props, this will prepare execution to send to backend.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createExecution.js","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":";AAAA,qCAAqC;AACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"createExecution.js","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":";AAAA,qCAAqC;AACrC,OAAO,EAKH,WAAW,EAGX,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,GACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,SAAS,MAAM,cAAc,CAAC;AA0DrC;;GAEG;AACH,SAAS,aAAa,CAAC,QAA+B;IAClD,OAAO,CAAC,YAAY,UAAK,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,GAAE,sBAAsB,GAAE,CAAC,CAAC;AACrF,CAAC;AAED;;;;;;GAMG;AACH,SAAS,kBAAkB,CACvB,QAA+B,EAC/B,MAAoB,EACpB,MAAgB;IAEhB,OAAO,iBAAiB,UAChB,MAAM,EAAK,MAAM,YACjB,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,GAAE,sBAAsB,GAC3D,CAAC;AACN,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,OAA+B;;IAEvD,IAAA,OAAO,GAQP,OAAO,QARA,EACP,SAAS,GAOT,OAAO,UAPE,EACT,QAAQ,GAMR,OAAO,SANC,EACR,KAKA,OAAO,SALM,EAAb,QAAQ,mBAAG,EAAE,KAAA,EACb,KAIA,OAAO,QAJK,EAAZ,OAAO,mBAAG,EAAE,KAAA,EACZ,KAGA,OAAO,OAHI,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,KAEA,OAAO,OAFI,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,KACA,OAAO,cADoB,EAA3B,aAAa,mBAAG,WAAW,KAAA,CACnB;IACZ,SAAS,CACL,OAAO,IAAI,SAAS,EACpB,qFAAqF,CACxF,CAAC;IAEF,IAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,CAAC;QAChC,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC;QACzB,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IAErD,OAAO,CAAA,KAAA,CAAA,KAAA,OAAO;SACT,aAAa,CAAC,aAAa,EAAE,OAAO,CAAC;SACrC,SAAS,CAAC,SAAS,CAAC;SACpB,SAAS,EAAE;SACX,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAA;SAC5C,WAAW,oBAAI,MAAM,EAAC,CAAA;SACtB,cAAc,oBAAI,UAAU,GAAE;AACvC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui",
|
|
3
|
-
"version": "8.10.0-alpha.
|
|
3
|
+
"version": "8.10.0-alpha.30",
|
|
4
4
|
"description": "GoodData.UI SDK - Core",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@formatjs/intl-pluralrules": "~1.3.7",
|
|
39
39
|
"@gooddata/numberjs": "^4.0.1",
|
|
40
|
-
"@gooddata/sdk-backend-spi": "^8.10.0-alpha.
|
|
41
|
-
"@gooddata/sdk-model": "^8.10.0-alpha.
|
|
42
|
-
"@gooddata/util": "^8.10.0-alpha.
|
|
40
|
+
"@gooddata/sdk-backend-spi": "^8.10.0-alpha.30",
|
|
41
|
+
"@gooddata/sdk-model": "^8.10.0-alpha.30",
|
|
42
|
+
"@gooddata/util": "^8.10.0-alpha.30",
|
|
43
43
|
"custom-event": "^1.0.1",
|
|
44
44
|
"hoist-non-react-statics": "^3.3.0",
|
|
45
45
|
"http-status-codes": "^2.1.4",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@gooddata/eslint-config": "^2.1.0",
|
|
60
|
-
"@gooddata/reference-workspace": "^8.10.0-alpha.
|
|
61
|
-
"@gooddata/sdk-backend-base": "^8.10.0-alpha.
|
|
62
|
-
"@gooddata/sdk-backend-mockingbird": "^8.10.0-alpha.
|
|
60
|
+
"@gooddata/reference-workspace": "^8.10.0-alpha.30",
|
|
61
|
+
"@gooddata/sdk-backend-base": "^8.10.0-alpha.30",
|
|
62
|
+
"@gooddata/sdk-backend-mockingbird": "^8.10.0-alpha.30",
|
|
63
63
|
"@gooddata/stylelint-config": "^5.0.0",
|
|
64
64
|
"@microsoft/api-documenter": "^7.12.13",
|
|
65
65
|
"@microsoft/api-extractor": "^7.18.4",
|