@gooddata/sdk-ui-dashboard 11.41.0-alpha.2 → 11.41.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1294 -1498
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.js +4 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js +5 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js +5 -0
- package/esm/model/commandHandlers/widgets/exportImageInsightWidgetHandler.js +5 -0
- package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js +5 -0
- package/esm/model/commands/executionResults.d.ts +2 -2
- package/esm/model/commands/executionResults.js +5 -2
- package/esm/model/react/useWidgetExecutionsHandler.d.ts +2 -2
- package/esm/model/react/useWidgetExecutionsHandler.js +8 -3
- package/esm/model/store/config/configSelectors.js +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts +18 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js +16 -0
- package/esm/model/store/executionResults/types.d.ts +7 -1
- package/esm/model/store/executionResults/types.js +1 -1
- package/esm/model/store/tabs/filterContext/filterContextUtils.js +5 -2
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +4 -5
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +2 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.js +2 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationFiltersSelect.js +1 -1
- package/esm/presentation/automations/shared/automationFilters/utils.d.ts +1 -1
- package/esm/presentation/automations/shared/automationFilters/utils.js +4 -2
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +64 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +64 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +1 -1
- package/esm/presentation/topBar/buttonBar/DefaultButtonBar.d.ts +1 -1
- package/esm/presentation/topBar/buttonBar/DefaultButtonBar.js +2 -2
- package/esm/presentation/topBar/buttonBar/types.d.ts +2 -0
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +8 -0
- package/esm/presentation/widget/widget/InsightWidget/useInsightWarning.d.ts +5 -0
- package/esm/presentation/widget/widget/InsightWidget/useInsightWarning.js +11 -0
- package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.d.ts +13 -0
- package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.js +108 -0
- package/esm/sdk-ui-dashboard.d.ts +34 -5
- package/esm/tsdoc-metadata.json +1 -1
- package/package.json +21 -21
- package/styles/css/main.css +129 -0
- package/styles/css/main.css.map +1 -1
- package/styles/css/warningPartialResult.css +16 -0
- package/styles/css/warningPartialResult.css.map +1 -0
- package/styles/scss/main.scss +1 -0
- package/styles/scss/warningPartialResult.scss +16 -0
|
@@ -1261,6 +1261,70 @@ export const en_US = {
|
|
|
1261
1261
|
"text": "Untitled visualization",
|
|
1262
1262
|
"crowdinContext": "Default title for exported file"
|
|
1263
1263
|
},
|
|
1264
|
+
"partial_data_warning.title": {
|
|
1265
|
+
"text": "Partial results only.",
|
|
1266
|
+
"crowdinContext": "Title of a warning displayed when a visualization shows partial data because result limits were exceeded."
|
|
1267
|
+
},
|
|
1268
|
+
"partial_data_warning.show_details": {
|
|
1269
|
+
"text": "Show details",
|
|
1270
|
+
"crowdinContext": "Link to expand partial data warning details."
|
|
1271
|
+
},
|
|
1272
|
+
"partial_data_warning.hide_details": {
|
|
1273
|
+
"text": "Hide details",
|
|
1274
|
+
"crowdinContext": "Link to collapse partial data warning details."
|
|
1275
|
+
},
|
|
1276
|
+
"partial_data_warning.close": {
|
|
1277
|
+
"text": "Dismiss partial data warning",
|
|
1278
|
+
"crowdinContext": "Accessibility label for the close button in partial data warning."
|
|
1279
|
+
},
|
|
1280
|
+
"partial_data_warning.export_raw": {
|
|
1281
|
+
"text": "Export full result as Raw (.csv)",
|
|
1282
|
+
"crowdinContext": "Action link in partial data warning that exports the full raw CSV result."
|
|
1283
|
+
},
|
|
1284
|
+
"partial_data_warning.description": {
|
|
1285
|
+
"text": "The result exceeds a result size limit.",
|
|
1286
|
+
"crowdinContext": "Generic detail text for partial data warning."
|
|
1287
|
+
},
|
|
1288
|
+
"partial_data_warning.rows.description": {
|
|
1289
|
+
"text": "The result exceeds the {rowLimit} row limit by {rowOverflow} rows.",
|
|
1290
|
+
"crowdinContext": "Partial data warning detail when the row limit is exceeded."
|
|
1291
|
+
},
|
|
1292
|
+
"partial_data_warning.rows.description.unknown_total": {
|
|
1293
|
+
"text": "The result exceeds the {rowLimit} row limit.",
|
|
1294
|
+
"crowdinContext": "Partial data warning detail when the row limit is exceeded and the exact total is unknown."
|
|
1295
|
+
},
|
|
1296
|
+
"partial_data_warning.columns.description": {
|
|
1297
|
+
"text": "The result exceeds the {columnLimit} columns limit by {columnOverflow} columns.",
|
|
1298
|
+
"crowdinContext": "Partial data warning detail when the column limit is exceeded."
|
|
1299
|
+
},
|
|
1300
|
+
"partial_data_warning.columns.description.unknown_total": {
|
|
1301
|
+
"text": "The result exceeds the {columnLimit} columns limit.",
|
|
1302
|
+
"crowdinContext": "Partial data warning detail when the column limit is exceeded and the exact total is unknown."
|
|
1303
|
+
},
|
|
1304
|
+
"partial_data_warning.rows_columns.description": {
|
|
1305
|
+
"text": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit by {columnOverflow} columns and {rowOverflow} rows.",
|
|
1306
|
+
"crowdinContext": "Partial data warning detail when both row and column limits are exceeded."
|
|
1307
|
+
},
|
|
1308
|
+
"partial_data_warning.rows_columns.description.unknown_column_total": {
|
|
1309
|
+
"text": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit. It exceeds the row limit by {rowOverflow} rows.",
|
|
1310
|
+
"crowdinContext": "Partial data warning detail when both row and column limits are exceeded, but only the row overflow is known."
|
|
1311
|
+
},
|
|
1312
|
+
"partial_data_warning.rows_columns.description.unknown_row_total": {
|
|
1313
|
+
"text": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit. It exceeds the columns limit by {columnOverflow} columns.",
|
|
1314
|
+
"crowdinContext": "Partial data warning detail when both row and column limits are exceeded, but only the column overflow is known."
|
|
1315
|
+
},
|
|
1316
|
+
"partial_data_warning.rows_columns.description.unknown_total": {
|
|
1317
|
+
"text": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit.",
|
|
1318
|
+
"crowdinContext": "Partial data warning detail when both row and column limits are exceeded and exact totals are unknown."
|
|
1319
|
+
},
|
|
1320
|
+
"partial_data_warning.cells.description": {
|
|
1321
|
+
"text": "The result exceeds the {cellLimit} datapoint limit by {cellOverflow} datapoints.",
|
|
1322
|
+
"crowdinContext": "Partial data warning detail when the datapoint limit is exceeded."
|
|
1323
|
+
},
|
|
1324
|
+
"partial_data_warning.cells.description.unknown_total": {
|
|
1325
|
+
"text": "The result exceeds the {cellLimit} datapoint limit.",
|
|
1326
|
+
"crowdinContext": "Partial data warning detail when the datapoint limit is exceeded and the exact total is unknown."
|
|
1327
|
+
},
|
|
1264
1328
|
"export_unsupported.disabled": {
|
|
1265
1329
|
"text": "Export is not supported",
|
|
1266
1330
|
"crowdinContext": "Export to the file not supported."
|
|
@@ -439,7 +439,7 @@ export const es_419 = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "El filtro no se puede aplicar a esta visualización.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Este filtro no se puede aplicar porque la visualización usa un filtro de valores superiores/inferiores. Quite el filtro de valores superiores/inferiores para aplicar este filtro.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "La métrica usada en este filtro ya no existe en el espacio de trabajo.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "La métrica usada en este filtro ya no existe en el espacio de trabajo.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Error: La métrica usada en este filtro ya no existe en el espacio de trabajo.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "El KPI no se puede filtrar por fecha. Desmarque la casilla de verificación.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" ya no se puede aplicar a la visualización. Seleccione una dimensión diferente o edite la visualización.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" ya no se puede aplicar al KPI. Seleccione otra dimensión o edite el KPI.",
|
|
@@ -439,7 +439,7 @@ export const es_ES = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "El filtro no se puede aplicar a esta visualización.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Este filtro no se puede aplicar porque la visualización usa un filtro de valores superiores/inferiores. Quite el filtro de valores superiores/inferiores para aplicar este filtro.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "La métrica usada en este filtro ya no existe en el espacio de trabajo.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "La métrica usada en este filtro ya no existe en el espacio de trabajo.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Error: La métrica usada en este filtro ya no existe en el espacio de trabajo.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "El KPI no se puede filtrar por fecha. Desmarque la casilla de verificación.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" ya no se puede aplicar a la visualización. Seleccione una dimensión diferente o edite la visualización.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" ya no se puede aplicar al KPI. Seleccione una dimensión diferente o edite el KPI.",
|
|
@@ -439,7 +439,7 @@ export const fi_FI = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Suodatin ei sovellu tähän visualisointiin.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Tätä suodatinta ei voi käyttää, koska visualisointi käyttää Ylä-/ala-arvojen suodatinta. Poista Ylä-/ala-arvojen suodatin, jotta voit käyttää tätä suodatinta.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "Tässä suodattimessa käytettyä metriikkaa ei enää ole työtilassa.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "Tässä suodattimessa käytettyä
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Virhe: Tässä suodattimessa käytettyä metrikkaa ei enää ole työtilassa.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI:ta ei voi suodattaa päivämäärällä. Poista valintamerkki.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" ei voida enää soveltaa visualisointiin. Valitse toinen ulottuvuus tai muokkaa visualisointia.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" ei voi enää soveltaa KPI:hin. Valitse eri ulottuvuus tai muokkaa KPI:tä.",
|
|
@@ -439,7 +439,7 @@ export const fr_CA = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Le filtre ne s’applique pas à cette visualisation.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Ce filtre ne peut pas être appliqué, car la visualisation utilise un filtre des valeurs supérieures/inférieures. Supprimez le filtre des valeurs supérieures/inférieures pour appliquer ce filtre.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "La métrique utilisée dans ce filtre n’existe plus dans l’espace de travail.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "La métrique utilisée dans ce filtre n’existe plus dans l’espace de travail.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Erreur : La métrique utilisée dans ce filtre n’existe plus dans l’espace de travail.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "Le KPI ne peut pas être filtré par Date. Décochez la case.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" ne peut plus être appliqué à la visualisation. Sélectionnez une dimension différente ou modifiez la visualisation.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" ne peut plus être appliqué au KPI. Sélectionnez une dimension différente ou modifiez le KPI.",
|
|
@@ -439,7 +439,7 @@ export const fr_FR = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Le filtre ne peut pas être appliqué à cette visualisation.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Ce filtre ne peut pas être appliqué, car la visualisation utilise un filtre de valeurs Top/Bottom. Supprimez le filtre de valeurs Top/Bottom pour appliquer ce filtre.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "La métrique utilisée dans ce filtre n’existe plus dans l’espace de travail.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "La métrique utilisée dans ce filtre n’existe plus dans l’espace de travail.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Erreur : La métrique utilisée dans ce filtre n’existe plus dans l’espace de travail.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "Le KPI ne peut pas être filtré par date. Décochez la case.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" ne peut plus être appliqué à la visualisation. Sélectionnez une autre dimension ou modifiez la visualisation.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" ne peut plus être appliqué au KPI. Sélectionnez une autre dimension ou modifiez le KPI.",
|
|
@@ -439,7 +439,7 @@ export const id_ID = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Filter tidak dapat diterapkan pada visualisasi ini.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Filter ini tidak dapat diterapkan karena visualisasi menggunakan filter nilai Teratas/Terbawah. Hapus filter nilai Teratas/Terbawah untuk menerapkan filter ini.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "Metrik yang digunakan dalam filter ini tidak lagi ada di ruang kerja.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "Metrik yang digunakan dalam filter ini tidak lagi ada di ruang kerja.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Error: Metrik yang digunakan dalam filter ini tidak lagi ada di ruang kerja.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "kpi tidak dapat difilter oleh Tanggal. Batalkan pilihan kotak centang.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" tidak dapat lagi diterapkan pada visualisasi. Pilih dimensi lain atau edit visualisasi.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" tidak dapat lagi diterapkan pada kpi. Pilih dimensi lain atau edit kpi.",
|
|
@@ -439,7 +439,7 @@ export const it_IT = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Il filtro non può essere applicato a questa visualizzazione.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Questo filtro non può essere applicato perché la visualizzazione usa un filtro Valori superiori/inferiori. Rimuovi il filtro Valori superiori/inferiori per applicare questo filtro.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "La metrica usata in questo filtro non esiste più nell'area di lavoro.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "La metrica usata in questo filtro non esiste più nell'area di lavoro.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Errore: La metrica usata in questo filtro non esiste più nell'area di lavoro.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "Il KPI non può essere filtrato per Data. Deselezionare la casella di controllo.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" non può più essere applicato alla visualizzazione. Selezionare una dimensione diversa o modificare la visualizzazione.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" non può più essere applicato al KPI. Selezionare una dimensione diversa o modificare il KPI.",
|
|
@@ -439,7 +439,7 @@ export const ja_JP = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "この可視化にはフィルターを適用できません。",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "このフィルターは、可視化で上位/下位値フィルターが使用されているため適用できません。このフィルターを適用するには、上位/下位値フィルターを削除してください。",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "このフィルターで使用されているメトリックは、ワークスペースに存在しなくなりました。",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "このフィルターで使用されているメトリックは、ワークスペースに存在しなくなりました。",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "エラー: このフィルターで使用されているメトリックは、ワークスペースに存在しなくなりました。",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPIは日付でフィルターできません。チェックボックスの選択を解除してください。",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" はビジュアライゼーションに適用できなくなりました。別の次元を選択するか、ビジュアライゼーションを編集してください。",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\"はKPIに適用できなくなりました。別のディメンションを選ぶか、KPIを編集してください。",
|
|
@@ -439,7 +439,7 @@ export const ko_KR = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "이 시각화에는 필터를 적용할 수 없습니다.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "이 필터는 시각화에서 상위/하위 값 필터를 사용하므로 적용할 수 없습니다. 이 필터를 적용하려면 상위/하위 값 필터를 제거하세요.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "이 필터에 사용된 메트릭이 더 이상 작업 공간에 존재하지 않습니다.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "이 필터에 사용된 메트릭이 더 이상 작업 공간에 존재하지 않습니다.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "오류: 이 필터에 사용된 메트릭이 더 이상 작업 공간에 존재하지 않습니다.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI는 날짜로 필터링할 수 없습니다. 체크박스를 선택 해제하세요.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\"을/를 더 이상 시각화에 적용할 수 없습니다. 다른 차원을 선택하거나 시각화를 편집하세요.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\"은/는 더 이상 KPI에 적용할 수 없습니다. 다른 차원을 선택하거나 KPI를 편집하세요.",
|
|
@@ -439,7 +439,7 @@ export const nl_NL = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Filter is niet van toepassing op deze visualisatie.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Dit filter kan niet worden toegepast omdat de visualisatie een filter voor Top-/onderste waarden gebruikt. Verwijder het filter voor Top-/onderste waarden om dit filter toe te passen.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "De metriek die in dit filter wordt gebruikt, bestaat niet meer in de werkruimte.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "De metriek die in dit filter wordt gebruikt, bestaat niet meer in de werkruimte.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Fout: De metriek die in dit filter wordt gebruikt, bestaat niet meer in de werkruimte.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "De KPI kan niet worden gefilterd op Datum. Vink het selectievakje af.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" kan niet langer worden toegepast op de visualisatie. Selecteer een andere dimensie of bewerk de visualisatie.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" kan niet langer op de KPI worden toegepast. Selecteer een andere dimensie of bewerk de KPI.",
|
|
@@ -439,7 +439,7 @@ export const pl_PL = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Filtr nie ma zastosowania do tej wizualizacji.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Tego filtra nie można zastosować, ponieważ wizualizacja używa filtra Top/bottom values. Usuń filtr Top/bottom values, aby zastosować ten filtr.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "Metryka używana w tym filtrze już nie istnieje w przestrzeni roboczej.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "Metryka używana w tym filtrze już nie istnieje w przestrzeni roboczej.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Błąd: Metryka używana w tym filtrze już nie istnieje w przestrzeni roboczej.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI nie może być filtrowane wg daty. Odznacz pole wyboru.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" nie może być już zastosowany do wizualizacji. Wybierz inny wymiar lub edytuj wizualizację.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" nie może być już zastosowany do KPI. Wybierz inny wymiar lub edytuj KPI.",
|
|
@@ -439,7 +439,7 @@ export const pt_BR = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "O filtro não é aplicável a esta visualização.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Este filtro não pode ser aplicado porque a visualização usa um filtro de valores Top/bottom. Remova o filtro de valores Top/bottom para aplicar este filtro.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "A métrica usada neste filtro não existe mais no espaço de trabalho.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "A métrica usada neste filtro não existe mais no espaço de trabalho.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Erro: A métrica usada neste filtro não existe mais no espaço de trabalho.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "O KPI não pode ser filtrado por Data. Desmarque a caixa de seleção.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" não pode mais ser aplicado à visualização. Selecione uma dimensão diferente ou edite a visualização.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "Não é possível aplicar \"{dateDataSet}\" ao KPI. Selecione uma dimensão diferente ou edite o KPI.",
|
|
@@ -439,7 +439,7 @@ export const pt_PT = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "O filtro não é aplicável a esta visualização.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Este filtro não pode ser aplicado porque a visualização utiliza um filtro de Valores superiores/inferiores. Remova o filtro de Valores superiores/inferiores para aplicar este filtro.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "A métrica usada neste filtro não existe mais no espaço de trabalho.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "A métrica usada neste filtro não existe mais no espaço de trabalho.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Erro: A métrica usada neste filtro não existe mais no espaço de trabalho.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "Não é possível filtrar o kpi por Data. Desmarque a caixa de verificação.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" não pode mais ser aplicado à visualização. Selecione uma dimensão diferente ou edite a visualização.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" já não pode ser aplicado ao kpi. Selecione uma dimensão diferente ou edite o kpi.",
|
|
@@ -439,7 +439,7 @@ export const ru_RU = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Фильтр неприменим к этой визуализации.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Этот фильтр нельзя применить, потому что в визуализации используется фильтр значений Top/bottom. Чтобы применить этот фильтр, удалите фильтр значений Top/bottom.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "Показатель, используемый в этом фильтре, больше не существует в рабочей области.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "Показатель, используемый в этом фильтре, больше не существует в рабочей области.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Ошибка: Показатель, используемый в этом фильтре, больше не существует в рабочей области.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "Этот КПЭ нельзя фильтровать по дате. Снимите флажок.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" больше нельзя применять к визуализации. Выберите другое измерение или отредактируйте визуализацию.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" больше нельзя применять к КПЭ. Выберите другое измерение или отредактируйте анализ.",
|
|
@@ -439,7 +439,7 @@ export const sl_SI = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Filter ni uporaben za to vizualizacijo.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Tega filtra ni mogoče uporabiti, ker vizualizacija uporablja filter Najvišje/najnižje vrednosti. Odstranite filter Najvišje/najnižje vrednosti, da uporabite ta filter.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "Metrika, uporabljena v tem filtru, ne obstaja več v delovnem prostoru.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "Metrika, uporabljena v tem filtru, ne obstaja več v delovnem prostoru.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Napaka: Metrika, uporabljena v tem filtru, ne obstaja več v delovnem prostoru.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI-ja ni mogoče filtrirati po datumu. Odznačite potrditveno polje.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" se ne more več uporabljati pri vizualizaciji. Izberite drugo dimenzijo ali uredite vizualizacijo.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" se ne more več uporabljati pri KPI-ju. Izberite drugo dimenzijo ali uredite KPI.",
|
|
@@ -439,7 +439,7 @@ export const th_TH = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "ตัวกรองไม่สามารถใช้ได้กับการแสดงภาพข้อมูลนี้",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "ไม่สามารถใช้ตัวกรองนี้ได้ เนื่องจากการแสดงภาพข้อมูลใช้ตัวกรองค่าบนสุด/ล่างสุด นำตัวกรองค่าบนสุด/ล่างสุดออกเพื่อใช้ตัวกรองนี้",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "เมตริกที่ใช้ในตัวกรองนี้ไม่มีอยู่ในพื้นที่ทำงานอีกต่อไป",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "เมตริกที่ใช้ในตัวกรองนี้ไม่มีอยู่ในพื้นที่ทำงานอีกต่อไป",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "ข้อผิดพลาด: เมตริกที่ใช้ในตัวกรองนี้ไม่มีอยู่ในพื้นที่ทำงานอีกต่อไป",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI ไม่สามารถถูกกรองตามวันที่ได้ ยกเลิกการเลือกช่องทำเครื่องหมาย",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "ไม่สามารถนำ \"{dateDataSet}\" ไปใช้กับการแสดงภาพข้อมูลได้อีกต่อไป เลือกมิติอื่นหรือแก้ไขการแสดงภาพข้อมูล",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "ไม่สามารถนำ \"{dateDataSet}\" ไปใช้กับ kpi ได้อีกต่อไป เลือกมิติอื่นหรือแก้ไข kpi",
|
|
@@ -439,7 +439,7 @@ export const tr_TR = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Filtre bu görselleştirme için uygulanamaz.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Bu filtre, görselleştirme bir En üst/En alt değerler filtresi kullandığı için uygulanamaz. Bu filtreyi uygulamak için En üst/En alt değerler filtresini kaldırın.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "Bu filtrede kullanılan metrik artık çalışma alanında mevcut değil.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "Bu filtrede kullanılan metrik artık çalışma alanında mevcut değil.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Hata: Bu filtrede kullanılan metrik artık çalışma alanında mevcut değil.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI, Tarihe göre filtrelenemez. Onay kutusunun işaretini kaldırın.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" artık görselleştirmeye uygulanamaz. Farklı bir boyut seçin veya görselleştirmeyi düzenleyin.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" artık KPI'ya uygulanamaz. Farklı bir boyut seçin veya KPI'yı düzenleyin.",
|
|
@@ -439,7 +439,7 @@ export const uk_UA = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Фільтр не можна застосувати до цієї візуалізації.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Цей фільтр не можна застосувати, оскільки візуалізація використовує фільтр верхніх/нижніх значень. Видаліть фільтр верхніх/нижніх значень, щоб застосувати цей фільтр.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "Метрика, яка використовується в цьому фільтрі, більше не існує в робочій області.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "Метрика, яка використовується в цьому фільтрі, більше не існує в робочій області.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Помилка: Метрика, яка використовується в цьому фільтрі, більше не існує в робочій області.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI не можна фільтрувати за датою. Зніміть прапорець.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" більше не можна застосувати до візуалізації. Виберіть інший вимір або відредагуйте візуалізацію.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" більше не можна застосувати до KPI. Виберіть інший вимір або відредагуйте KPI.",
|
|
@@ -439,7 +439,7 @@ export const vi_VN = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "Bộ lọc không áp dụng được cho trực quan hóa này.",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "Không thể áp dụng bộ lọc này vì trực quan hóa sử dụng bộ lọc giá trị Trên cùng/dưới cùng. Hãy xóa bộ lọc giá trị Trên cùng/dưới cùng để áp dụng bộ lọc này.",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "Thước đo được dùng trong bộ lọc này không còn tồn tại trong không gian làm việc.",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "Thước đo được dùng trong bộ lọc này không còn tồn tại trong không gian làm việc.",
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "Lỗi: Thước đo được dùng trong bộ lọc này không còn tồn tại trong không gian làm việc.",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI không thể được lọc theo Ngày. Bỏ chọn hộp kiểm.",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\" không còn có thể áp dụng cho trực quan hóa. Chọn một chiều khác hoặc chỉnh sửa trực quan hóa.",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" không thể áp dụng cho KPI nữa. Hãy chọn một chiều dữ liệu khác hoặc chỉnh sửa KPI.",
|
|
@@ -439,7 +439,7 @@ export const zh_HK = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "篩選器不適用於此可視化。",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "無法套用此篩選器,因為此可視化使用了熱門/冷門值篩選器。請移除熱門/冷門值篩選器以套用此篩選器。",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "此篩選器中使用的指標已不再存在於工作區中。",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "錯誤:此篩選器中使用的指標已不再存在於工作區中。",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI唔可以按日期篩選。 取消選中該複選框。",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "“{dateDataSet}”無法再應用於可視化效果。 選擇其他維度或編輯可視化效果。",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "“{dateDataSet}”唔可以再應用於KPI。 選擇其他維度或編輯KPI。",
|
|
@@ -439,7 +439,7 @@ export const zh_Hans = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "筛选器不适用于此可视化。",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "无法应用此筛选器,因为该可视化使用了 Top/bottom values 筛选器。请移除 Top/bottom values 筛选器以应用此筛选器。",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "此筛选器中使用的指标在工作区中已不存在。",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "错误:此筛选器中使用的指标在工作区中已不存在。",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "KPI 无法按日期筛选。请取消选中该复选框。",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "\"{dateDataSet}\"无法再应用于该可视化。请选择其他范围或编辑该可视化。",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\"无法再应用于该 KPI。请选择其他范围或编辑该 KPI。",
|
|
@@ -439,7 +439,7 @@ export const zh_Hant = {
|
|
|
439
439
|
"configurationPanel.vizCantBeFilteredByMeasureValueFilter": "篩選不適用於此視覺化。",
|
|
440
440
|
"configurationPanel.mvfBlockedByRankingFilter": "無法套用此篩選,因為該視覺化使用了前/後值篩選。請移除前/後值篩選以套用此篩選。",
|
|
441
441
|
"configurationPanel.mvfMissingMeasure": "此篩選器中使用的指標已不存在於工作區中。",
|
|
442
|
-
"filters.mvf.missingMetric.tooltip": "
|
|
442
|
+
"filters.mvf.missingMetric.tooltip": "錯誤:此篩選器中使用的指標已不存在於工作區中。",
|
|
443
443
|
"configurationPanel.kpiCantBeFilteredByDate": "kpi 無法按日期過濾。取消選取該複選框。",
|
|
444
444
|
"configurationPanel.unrelatedVizDateInfo": "」{dateDataSet} \" 無法再套用於視覺化。選擇不同的維度或編輯視覺化。",
|
|
445
445
|
"configurationPanel.unrelatedKpiDateInfo": "\"{dateDataSet}\" 無法再套用於 kpi。選擇其他維度或編輯 kpi。",
|
|
@@ -3,4 +3,4 @@ import { type IButtonBarProps } from "./types.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* @alpha
|
|
5
5
|
*/
|
|
6
|
-
export declare function DefaultButtonBar({ children, cancelButtonProps, saveButtonProps, settingButtonProps, editButtonProps, saveAsNewButtonProps, shareButtonProps, childContentPosition }: IButtonBarProps): ReactElement;
|
|
6
|
+
export declare function DefaultButtonBar({ children, cancelButtonProps, saveButtonProps, settingButtonProps, editButtonProps, saveAsNewButtonProps, shareButtonProps, childContentPosition, left, right }: IButtonBarProps): ReactElement;
|
|
@@ -8,7 +8,7 @@ import { ShareButton } from "./button/shareButton/ShareButton.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* @alpha
|
|
10
10
|
*/
|
|
11
|
-
export function DefaultButtonBar({ children, cancelButtonProps, saveButtonProps, settingButtonProps, editButtonProps, saveAsNewButtonProps, shareButtonProps, childContentPosition = "left", }) {
|
|
11
|
+
export function DefaultButtonBar({ children, cancelButtonProps, saveButtonProps, settingButtonProps, editButtonProps, saveAsNewButtonProps, shareButtonProps, childContentPosition = "left", left, right, }) {
|
|
12
12
|
// TODO INE allow customization of buttons via getter from props
|
|
13
|
-
return (_jsxs("div", { className: "dash-control-buttons", children: [childContentPosition === "left" && children, _jsx(CancelButton, { ...cancelButtonProps }), _jsx(SaveButton, { ...saveButtonProps }), _jsx(SettingButton, { ...settingButtonProps }), _jsx(EditButton, { ...editButtonProps }), _jsx(SaveAsNewButton, { ...saveAsNewButtonProps }), _jsx(ShareButton, { ...shareButtonProps }), childContentPosition === "right" && children] }));
|
|
13
|
+
return (_jsxs("div", { className: "dash-control-buttons", children: [left, childContentPosition === "left" && children, _jsx(CancelButton, { ...cancelButtonProps }), _jsx(SaveButton, { ...saveButtonProps }), _jsx(SettingButton, { ...settingButtonProps }), _jsx(EditButton, { ...editButtonProps }), _jsx(SaveAsNewButton, { ...saveAsNewButtonProps }), _jsx(ShareButton, { ...shareButtonProps }), childContentPosition === "right" && children, right] }));
|
|
14
14
|
}
|
|
@@ -25,9 +25,11 @@ import { getGeoDefaultDisplayFormRefs } from "../../insight/geoDefaultDisplayFor
|
|
|
25
25
|
import { canConvertToTable, convertInsightToTableDefinition, supportsShowAsTable, } from "../../insight/insightToTable.js";
|
|
26
26
|
import { ShowAsTableButton } from "../../showAsTableButton/ShowAsTableButton.js";
|
|
27
27
|
import { useShowAsTable } from "../../showAsTableButton/useShowAsTable.js";
|
|
28
|
+
import { InsightWidgetWarningPartialResult } from "../warningPartialResult/InsightWidgetWarningPartialResult.js";
|
|
28
29
|
import { DashboardWidgetInsightGuard } from "./DashboardWidgetInsightGuard.js";
|
|
29
30
|
import { useAlertingAndScheduling } from "./useAlertingAndScheduling.js";
|
|
30
31
|
import { useInsightMenu } from "./useInsightMenu.js";
|
|
32
|
+
import { useInsightWarning } from "./useInsightWarning.js";
|
|
31
33
|
export function DefaultDashboardInsightWidget(props) {
|
|
32
34
|
return _jsx(DashboardWidgetInsightGuard, { ...props, Component: DefaultDashboardInsightWidgetCore });
|
|
33
35
|
}
|
|
@@ -120,6 +122,7 @@ function DefaultDashboardInsightWidgetCore({ widget, insight, screen, onError, o
|
|
|
120
122
|
: insight.insight.summary
|
|
121
123
|
: "";
|
|
122
124
|
const titleId = useId();
|
|
125
|
+
const { limitBreaks, executionResult } = useInsightWarning(widget.ref);
|
|
123
126
|
const { isWidgetAsTable, toggleWidgetAsTable } = useShowAsTable(widget);
|
|
124
127
|
const accessibilityTableInsight = useMemo(() => {
|
|
125
128
|
if (!isExportMode)
|
|
@@ -155,5 +158,10 @@ function DefaultDashboardInsightWidgetCore({ widget, insight, screen, onError, o
|
|
|
155
158
|
return null;
|
|
156
159
|
}
|
|
157
160
|
return (_jsx(InsightMenuComponent, { insight: insight, widget: widget, isOpen: isMenuOpen, onClose: closeMenu, items: menuItems }));
|
|
161
|
+
}, renderAfterVisualization: () => {
|
|
162
|
+
if (limitBreaks.length > 0) {
|
|
163
|
+
return (_jsx(InsightWidgetWarningPartialResult, { className: "gd-warning-partial-result", limitBreaks: limitBreaks, onExportRawCSV: onExportRawCSV, isExporting: !exportCSVRawEnabled, isExportRawVisible: isExportRawVisible, executionResult: executionResult, isLoading: executionResult?.isLoading }));
|
|
164
|
+
}
|
|
165
|
+
return null;
|
|
158
166
|
}, children: ({ clientHeight, clientWidth }) => (_jsx(DashboardInsight, { clientHeight: clientHeight, clientWidth: clientWidth, insight: insight, widget: widget, onExportReady: onExportReady, onLoadingChanged: onLoadingChanged, onError: onError, ErrorComponent: ErrorComponent, LoadingComponent: LoadingComponent, exportData: exportData?.widget })) }) }), accessibilityTableInsight ? (_jsx("div", { className: "accessibility-data-table", "data-widget-id": widget.identifier, "data-export-type": "accessibility-table", "aria-hidden": "true", children: _jsx(DashboardInsight, { insight: accessibilityTableInsight, widget: widget, onExportReady: onExportReady, onLoadingChanged: onLoadingChanged, onError: onError, ErrorComponent: ErrorComponent, LoadingComponent: LoadingComponent, exportData: exportData?.widget }) })) : null] }));
|
|
159
167
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ObjRef } from "@gooddata/sdk-model";
|
|
2
|
+
export declare const useInsightWarning: (ref: ObjRef) => {
|
|
3
|
+
limitBreaks: import("@gooddata/sdk-model").IExecutionResultLimitBreak<import("@gooddata/sdk-model").ExecutionResultLimitType | (string & {})>[];
|
|
4
|
+
executionResult: import("../../../../index.js").IExecutionResultEnvelope | undefined;
|
|
5
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
|
|
3
|
+
import { selectExecutionResultByRef, selectExecutionResultLimitBreaksByRef, } from "../../../../model/store/executionResults/executionResultsSelectors.js";
|
|
4
|
+
export const useInsightWarning = (ref) => {
|
|
5
|
+
const executionResult = useDashboardSelector(selectExecutionResultByRef(ref));
|
|
6
|
+
const limitBreaks = useDashboardSelector(selectExecutionResultLimitBreaksByRef(ref));
|
|
7
|
+
return {
|
|
8
|
+
limitBreaks,
|
|
9
|
+
executionResult,
|
|
10
|
+
};
|
|
11
|
+
};
|
package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type IExecutionResultLimitBreak } from "@gooddata/sdk-model";
|
|
2
|
+
import { type IExecutionResultEnvelope } from "../../../../model/store/executionResults/types.js";
|
|
3
|
+
interface IInsightWidgetWarningPartialResultProps {
|
|
4
|
+
className: string;
|
|
5
|
+
limitBreaks: IExecutionResultLimitBreak[];
|
|
6
|
+
isExporting: boolean;
|
|
7
|
+
isExportRawVisible: boolean;
|
|
8
|
+
executionResult: IExecutionResultEnvelope;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
onExportRawCSV: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function InsightWidgetWarningPartialResult({ className, limitBreaks, isLoading, isExporting, isExportRawVisible, executionResult, onExportRawCSV }: IInsightWidgetWarningPartialResultProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.js
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2022-2026 GoodData Corporation
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import noop from "lodash-es/noop.js";
|
|
5
|
+
import { FormattedMessage, defineMessage, useIntl, } from "react-intl";
|
|
6
|
+
import { executionResultLimitTypeToKind } from "@gooddata/sdk-model";
|
|
7
|
+
import { DialogBase, UiLink, WidgetNotice } from "@gooddata/sdk-ui-kit";
|
|
8
|
+
const COMPACT_FORMAT_THRESHOLD = 10000;
|
|
9
|
+
const COMPACT_FORMATTING_OPTIONS = { style: "decimal", notation: "compact" };
|
|
10
|
+
export function InsightWidgetWarningPartialResult({ className, limitBreaks, isLoading, isExporting, isExportRawVisible, executionResult, onExportRawCSV, }) {
|
|
11
|
+
const intl = useIntl();
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
setIsOpen(true);
|
|
14
|
+
}, [executionResult]);
|
|
15
|
+
const [isOpen, setIsOpen] = useState(true);
|
|
16
|
+
const handleCloseOverlay = () => {
|
|
17
|
+
setIsOpen(false);
|
|
18
|
+
};
|
|
19
|
+
const exportFullResult = (event) => {
|
|
20
|
+
event.preventDefault();
|
|
21
|
+
onExportRawCSV();
|
|
22
|
+
};
|
|
23
|
+
return (_jsx(_Fragment, { children: isOpen && isLoading === false ? (_jsx(DialogBase, { className: className, onMouseUp: noop, submitOnEnterKey: false, isModal: false, autofocusOnOpen: false, children: _jsx(WidgetNotice, { type: "warning", message: _jsx(FormattedMessage, { id: "partial_data_warning.title" }), detail: getDetailMessage(limitBreaks, intl), detailAction: isExportRawVisible ? (_jsx(UiLink, { isDisabled: isExporting, variant: "primary", href: "#", onClick: exportFullResult, children: _jsx(FormattedMessage, { id: "partial_data_warning.export_raw" }) })) : undefined, expandLabel: _jsx(FormattedMessage, { id: "partial_data_warning.show_details" }), collapseLabel: _jsx(FormattedMessage, { id: "partial_data_warning.hide_details" }), onClose: handleCloseOverlay, closeButtonLabel: intl.formatMessage(defineMessage({ id: "partial_data_warning.close" })) }) })) : null }));
|
|
24
|
+
}
|
|
25
|
+
function getLimitBreakKind(limitBreak) {
|
|
26
|
+
return executionResultLimitTypeToKind(limitBreak.limitType);
|
|
27
|
+
}
|
|
28
|
+
function formatLimit(limitBreak, intl) {
|
|
29
|
+
return formatLimitValue(limitBreak.limit, intl);
|
|
30
|
+
}
|
|
31
|
+
function formatOverflow(limitBreak, intl) {
|
|
32
|
+
if (typeof limitBreak.value !== "number") {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
const overflow = limitBreak.value - limitBreak.limit;
|
|
36
|
+
return overflow > 0 ? formatLimitValue(overflow, intl) : undefined;
|
|
37
|
+
}
|
|
38
|
+
function formatLimitValue(value, intl) {
|
|
39
|
+
return value >= COMPACT_FORMAT_THRESHOLD
|
|
40
|
+
? intl.formatNumber(value, COMPACT_FORMATTING_OPTIONS)
|
|
41
|
+
: intl.formatNumber(value);
|
|
42
|
+
}
|
|
43
|
+
function getLimitBreaksByKind(limitBreaks) {
|
|
44
|
+
return limitBreaks.reduce((result, limitBreak) => {
|
|
45
|
+
const kind = getLimitBreakKind(limitBreak);
|
|
46
|
+
if (kind !== "unknown" && !result[kind]) {
|
|
47
|
+
result[kind] = limitBreak;
|
|
48
|
+
}
|
|
49
|
+
return result;
|
|
50
|
+
}, {});
|
|
51
|
+
}
|
|
52
|
+
function getRowsAndColumnsDetailMessage(rowLimitBreak, columnLimitBreak, intl) {
|
|
53
|
+
const values = {
|
|
54
|
+
rowLimit: formatLimit(rowLimitBreak, intl),
|
|
55
|
+
columnLimit: formatLimit(columnLimitBreak, intl),
|
|
56
|
+
rowOverflow: formatOverflow(rowLimitBreak, intl),
|
|
57
|
+
columnOverflow: formatOverflow(columnLimitBreak, intl),
|
|
58
|
+
};
|
|
59
|
+
if (values.rowOverflow && values.columnOverflow) {
|
|
60
|
+
return _jsx(FormattedMessage, { id: "partial_data_warning.rows_columns.description", values: values });
|
|
61
|
+
}
|
|
62
|
+
if (values.rowOverflow) {
|
|
63
|
+
return (_jsx(FormattedMessage, { id: "partial_data_warning.rows_columns.description.unknown_column_total", values: values }));
|
|
64
|
+
}
|
|
65
|
+
if (values.columnOverflow) {
|
|
66
|
+
return (_jsx(FormattedMessage, { id: "partial_data_warning.rows_columns.description.unknown_row_total", values: values }));
|
|
67
|
+
}
|
|
68
|
+
return (_jsx(FormattedMessage, { id: "partial_data_warning.rows_columns.description.unknown_total", values: values }));
|
|
69
|
+
}
|
|
70
|
+
function getRowsDetailMessage(rowLimitBreak, intl) {
|
|
71
|
+
const values = {
|
|
72
|
+
rowLimit: formatLimit(rowLimitBreak, intl),
|
|
73
|
+
rowOverflow: formatOverflow(rowLimitBreak, intl),
|
|
74
|
+
};
|
|
75
|
+
return values.rowOverflow ? (_jsx(FormattedMessage, { id: "partial_data_warning.rows.description", values: values })) : (_jsx(FormattedMessage, { id: "partial_data_warning.rows.description.unknown_total", values: values }));
|
|
76
|
+
}
|
|
77
|
+
function getColumnsDetailMessage(columnLimitBreak, intl) {
|
|
78
|
+
const values = {
|
|
79
|
+
columnLimit: formatLimit(columnLimitBreak, intl),
|
|
80
|
+
columnOverflow: formatOverflow(columnLimitBreak, intl),
|
|
81
|
+
};
|
|
82
|
+
return values.columnOverflow ? (_jsx(FormattedMessage, { id: "partial_data_warning.columns.description", values: values })) : (_jsx(FormattedMessage, { id: "partial_data_warning.columns.description.unknown_total", values: values }));
|
|
83
|
+
}
|
|
84
|
+
function getCellsDetailMessage(cellLimitBreak, intl) {
|
|
85
|
+
const values = {
|
|
86
|
+
cellLimit: formatLimit(cellLimitBreak, intl),
|
|
87
|
+
cellOverflow: formatOverflow(cellLimitBreak, intl),
|
|
88
|
+
};
|
|
89
|
+
return values.cellOverflow ? (_jsx(FormattedMessage, { id: "partial_data_warning.cells.description", values: values })) : (_jsx(FormattedMessage, { id: "partial_data_warning.cells.description.unknown_total", values: values }));
|
|
90
|
+
}
|
|
91
|
+
function getDetailMessage(limitBreaks, intl) {
|
|
92
|
+
const byKind = getLimitBreaksByKind(limitBreaks);
|
|
93
|
+
const rowLimitBreak = byKind.rows;
|
|
94
|
+
const columnLimitBreak = byKind.columns;
|
|
95
|
+
if (rowLimitBreak) {
|
|
96
|
+
return columnLimitBreak
|
|
97
|
+
? getRowsAndColumnsDetailMessage(rowLimitBreak, columnLimitBreak, intl)
|
|
98
|
+
: getRowsDetailMessage(rowLimitBreak, intl);
|
|
99
|
+
}
|
|
100
|
+
if (columnLimitBreak) {
|
|
101
|
+
return getColumnsDetailMessage(columnLimitBreak, intl);
|
|
102
|
+
}
|
|
103
|
+
const cellLimitBreak = byKind.cells;
|
|
104
|
+
if (cellLimitBreak) {
|
|
105
|
+
return getCellsDetailMessage(cellLimitBreak, intl);
|
|
106
|
+
}
|
|
107
|
+
return _jsx(FormattedMessage, { id: "partial_data_warning.description" });
|
|
108
|
+
}
|