@gooddata/sdk-ui-ext 9.9.2-beta.8 → 9.9.2

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.
@@ -1,4 +1,4 @@
1
- // (C) 2019-2022 GoodData Corporation
1
+ // (C) 2019-2024 GoodData Corporation
2
2
  import cloneDeep from "lodash/cloneDeep.js";
3
3
  import { EmptyAfmSdkError, isEmptyAfm, } from "../../interfaces/Visualization.js";
4
4
  import { findDerivedBucketItem, hasDerivedBucketItems, isDerivedBucketItem, } from "../../utils/bucketHelper.js";
@@ -1,4 +1,4 @@
1
- // (C) 2019-2023 GoodData Corporation
1
+ // (C) 2019-2024 GoodData Corporation
2
2
  import { addIntersectionFiltersToInsight, modifyBucketsAttributesForDrillDown, sanitizeTableProperties, } from "../drillDownUtil.js";
3
3
  import cloneDeep from "lodash/cloneDeep.js";
4
4
  import flatMap from "lodash/flatMap.js";
@@ -240,7 +240,7 @@
240
240
  "properties.metrics.position": "Position",
241
241
  "properties.metrics.position.columns": "columns (default)",
242
242
  "properties.metrics.position.rows": "rows",
243
- "properties.column.headers.title": "Column Headings",
243
+ "properties.column.headers.title": "Column Headers",
244
244
  "properties.column.headers.position": "Position",
245
245
  "properties.column.headers.position.top": "top (default)",
246
246
  "properties.column.headers.position.left": "left",
@@ -277,15 +277,15 @@
277
277
  "properties.comparison.measureNumber.format.preset.rounded": "Rounded",
278
278
  "properties.comparison.measureNumber.format.preset.decimal1": "Decimal (1)",
279
279
  "properties.comparison.measureNumber.format.preset.decimal2": "Decimal (2)",
280
- "properties.comparison.measureNumber.format.preset.percentRounded": "Percentage (rounded)",
281
- "properties.comparison.measureNumber.format.preset.percent1": "Percent (1)",
282
- "properties.comparison.measureNumber.format.preset.percent2": "Percent (2)",
280
+ "properties.comparison.measureNumber.format.preset.percentRounded": "Per cent (rounded)",
281
+ "properties.comparison.measureNumber.format.preset.percent1": "Per cent (1)",
282
+ "properties.comparison.measureNumber.format.preset.percent2": "Per cent (2)",
283
283
  "properties.comparison.measureNumber.format.template.rounded": "Rounded",
284
284
  "properties.comparison.measureNumber.format.template.decimal1": "Decimal (1)",
285
285
  "properties.comparison.measureNumber.format.template.decimal2": "Decimal (2)",
286
- "properties.comparison.measureNumber.format.template.percentRounded": "Percentage (rounded)",
287
- "properties.comparison.measureNumber.format.template.percent1": "Percent (1)",
288
- "properties.comparison.measureNumber.format.template.percent2": "Percent (2)",
286
+ "properties.comparison.measureNumber.format.template.percentRounded": "Per cent (rounded)",
287
+ "properties.comparison.measureNumber.format.template.percent1": "Per cent (1)",
288
+ "properties.comparison.measureNumber.format.template.percent2": "Per cent (2)",
289
289
  "properties.comparison.measureNumber.format.template.currency": "Currency",
290
290
  "properties.comparison.measureNumber.format.template.currencyShortened": "Currency shortened",
291
291
  "properties.comparison.measureNumber.format.template.largeNumbersShortened": "Large numbers abbreviated",
@@ -35,7 +35,7 @@
35
35
  "dashboard.bucket.attribute_title.scatter": "Attribute",
36
36
  "dashboard.bucket.measures_title.combo._measure": "Measurements",
37
37
  "dashboard.bucket.measures_title.combo._metric": "Metrics",
38
- "dashboard.bucket.measures_subtitle.combo": "Pillar",
38
+ "dashboard.bucket.measures_subtitle.combo": "Column",
39
39
  "dashboard.bucket.secondary_measures_title.combo._measure": "Measurements",
40
40
  "dashboard.bucket.secondary_measures_title.combo._metric": "Metrics",
41
41
  "dashboard.bucket.secondary_measures_subtitle.combo": "Queue",
@@ -52,7 +52,7 @@
52
52
  "dashboard.bucket.attribute_from_subtitle.dependencywheel": "from",
53
53
  "dashboard.bucket.attribute_to_title.dependencywheel": "Attribute",
54
54
  "dashboard.bucket.attribute_to_subtitle.dependencywheel": "to",
55
- "dashboard.bucket.combo.subtitle.column": "as pillars",
55
+ "dashboard.bucket.combo.subtitle.column": "as columns",
56
56
  "dashboard.bucket.combo.subtitle.line": "as queues",
57
57
  "dashboard.bucket.combo.subtitle.area": "as regions",
58
58
  "dashboard.bucket.measures_title.bubble._measure": "Measure",
@@ -88,7 +88,7 @@
88
88
  "dashboard.bucket.stack_title.column": "Stack BY",
89
89
  "dashboard.bucket.stack_title.bar": "Stack BY",
90
90
  "dashboard.bucket.stack_title.area": "Stack BY",
91
- "dashboard.bucket.stack_title.heatmap": "Pillars",
91
+ "dashboard.bucket.stack_title.heatmap": "Columns",
92
92
  "dashboard.bucket.segment_title.line": "Segment BY",
93
93
  "dashboard.bucket.segment_title.treemap": "Segment BY",
94
94
  "dashboard.bucket.segment_title.pushpin": "Segment BY",
@@ -120,7 +120,7 @@
120
120
  "dashboard.bucket.measures_title.dependencywheel._measure": "MEASURE",
121
121
  "dashboard.bucket.measures_title.dependencywheel._metric": "METRIC",
122
122
  "dashboard.bucket.attribute_title.table": "Rows",
123
- "dashboard.bucket.columns_title.table": "Pillars",
123
+ "dashboard.bucket.columns_title.table": "Columns",
124
124
  "dashboard.error.missing_primary_bucket_item.heading._measure": "No main metric in your understanding",
125
125
  "dashboard.error.missing_primary_bucket_item.heading._metric": "No primary metric in your insight",
126
126
  "dashboard.error.missing_primary_bucket_item.text._measure": "Add a main measure to your insight, or switch to table.\nOnce completed, you'll be able to save it.",
@@ -131,8 +131,8 @@
131
131
  "properties.unsupported": "This visualisation doesn't support configuration",
132
132
  "properties.config.not_applicable": "Settings Panel is not applicable for this configuration of the insight.",
133
133
  "properties.not_applicable": "Property is not applicable for this configuration of the insight.",
134
- "properties.auto_placeholder": "car",
135
- "properties.auto_default": "car (default)",
134
+ "properties.auto_placeholder": "auto",
135
+ "properties.auto_default": "auto (default)",
136
136
  "properties.legend.title": "Legend",
137
137
  "properties.legend.position": "Post",
138
138
  "properties.total.title": "Total",
@@ -150,15 +150,15 @@
150
150
  "properties.canvas.continuousLine.label": "Continuous line",
151
151
  "properties.canvas.continuousLine.tooltip": "Draw a line between points with missing values.",
152
152
  "properties.canvas.dataLabels": "Data Labels",
153
- "properties.canvas.dataLabels.auto": "car (default)",
153
+ "properties.canvas.dataLabels.auto": "auto (default)",
154
154
  "properties.canvas.dataLabels.show": "display",
155
155
  "properties.canvas.dataLabels.hide": "hide",
156
156
  "properties.canvas.totalLabels": "Total Labels",
157
- "properties.canvas.totalLabels.auto": "car (default)",
157
+ "properties.canvas.totalLabels.auto": "auto (default)",
158
158
  "properties.canvas.totalLabels.show": "display",
159
159
  "properties.canvas.totalLabels.hide": "hide",
160
160
  "properties.canvas.dataPoints": "Data Points",
161
- "properties.canvas.dataPoints.auto": "car (default)",
161
+ "properties.canvas.dataPoints.auto": "auto (default)",
162
162
  "properties.canvas.dataPoints.show": "display",
163
163
  "properties.canvas.dataPoints.hide": "hide",
164
164
  "properties.yaxis.title": "Y-axis",
@@ -240,7 +240,7 @@
240
240
  "properties.metrics.position": "Post",
241
241
  "properties.metrics.position.columns": "columns (default)",
242
242
  "properties.metrics.position.rows": "rows",
243
- "properties.column.headers.title": "Column Headings",
243
+ "properties.column.headers.title": "Column Headers",
244
244
  "properties.column.headers.position": "Post",
245
245
  "properties.column.headers.position.top": "top (default)",
246
246
  "properties.column.headers.position.left": "left",
@@ -277,13 +277,13 @@
277
277
  "properties.comparison.measureNumber.format.preset.rounded": "Rounded",
278
278
  "properties.comparison.measureNumber.format.preset.decimal1": "Decimal (1)",
279
279
  "properties.comparison.measureNumber.format.preset.decimal2": "Decimal (2)",
280
- "properties.comparison.measureNumber.format.preset.percentRounded": "Percentage (rounded)",
280
+ "properties.comparison.measureNumber.format.preset.percentRounded": "Per cent (rounded)",
281
281
  "properties.comparison.measureNumber.format.preset.percent1": "Per cent (1)",
282
282
  "properties.comparison.measureNumber.format.preset.percent2": "Per cent (2)",
283
283
  "properties.comparison.measureNumber.format.template.rounded": "Rounded",
284
284
  "properties.comparison.measureNumber.format.template.decimal1": "Decimal (1)",
285
285
  "properties.comparison.measureNumber.format.template.decimal2": "Decimal (2)",
286
- "properties.comparison.measureNumber.format.template.percentRounded": "Percentage (rounded)",
286
+ "properties.comparison.measureNumber.format.template.percentRounded": "Per cent (rounded)",
287
287
  "properties.comparison.measureNumber.format.template.percent1": "Per cent (1)",
288
288
  "properties.comparison.measureNumber.format.template.percent2": "Per cent (2)",
289
289
  "properties.comparison.measureNumber.format.template.currency": "Currency",
@@ -18,7 +18,7 @@ import enGB from "../translations/en-GB.json";
18
18
  import enAU from "../translations/en-AU.json";
19
19
  import fiFI from "../translations/fi-FI.json";
20
20
  import zhHant from "../translations/zh-Hant.json";
21
- import zhYue from "../translations/zh-Yue.json";
21
+ import zhHK from "../translations/zh-HK.json";
22
22
  export function getTranslation(translationId, intl, values = {}) {
23
23
  return intl ? intl.formatMessage({ id: translationId }, values) : translationId;
24
24
  }
@@ -47,7 +47,7 @@ const sdkUiExtTranslations = {
47
47
  "en-AU": enAU,
48
48
  "fi-FI": fiFI,
49
49
  "zh-Hant": zhHant,
50
- yue: zhYue,
50
+ "zh-HK": zhHK,
51
51
  };
52
52
  /**
53
53
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"translations.js","sourceRoot":"","sources":["../../../src/internal/utils/translations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEpE,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,MAAM,MAAM,8BAA8B,CAAC;AAClD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OA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QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,MAAM;IACjB,OAAO,EAAE,IAAI;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAiD,KAAK,CAC3E,iBAAiB,EAAE,+EAA+E;AAClG,oBAAoB,CACvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-ext",
3
- "version": "9.9.2-beta.8",
3
+ "version": "9.9.2",
4
4
  "description": "GoodData.UI SDK - Extensions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -50,19 +50,19 @@
50
50
  "uuid": "^8.3.2",
51
51
  "debounce-promise": "^3.1.2",
52
52
  "json-stable-stringify": "^1.0.1",
53
- "@gooddata/sdk-backend-base": "9.9.2-beta.8",
54
- "@gooddata/sdk-embedding": "9.9.2-beta.8",
55
- "@gooddata/sdk-backend-spi": "9.9.2-beta.8",
56
- "@gooddata/sdk-ui": "9.9.2-beta.8",
57
- "@gooddata/sdk-ui-charts": "9.9.2-beta.8",
58
- "@gooddata/sdk-model": "9.9.2-beta.8",
59
- "@gooddata/sdk-ui-geo": "9.9.2-beta.8",
60
- "@gooddata/sdk-ui-filters": "9.9.2-beta.8",
61
- "@gooddata/sdk-ui-theme-provider": "9.9.2-beta.8",
62
- "@gooddata/sdk-ui-kit": "9.9.2-beta.8",
63
- "@gooddata/sdk-ui-vis-commons": "9.9.2-beta.8",
64
- "@gooddata/sdk-ui-pivot": "9.9.2-beta.8",
65
- "@gooddata/util": "9.9.2-beta.8"
53
+ "@gooddata/sdk-backend-base": "9.9.2",
54
+ "@gooddata/sdk-backend-spi": "9.9.2",
55
+ "@gooddata/sdk-embedding": "9.9.2",
56
+ "@gooddata/sdk-model": "9.9.2",
57
+ "@gooddata/sdk-ui-charts": "9.9.2",
58
+ "@gooddata/sdk-ui": "9.9.2",
59
+ "@gooddata/sdk-ui-filters": "9.9.2",
60
+ "@gooddata/sdk-ui-geo": "9.9.2",
61
+ "@gooddata/sdk-ui-kit": "9.9.2",
62
+ "@gooddata/sdk-ui-pivot": "9.9.2",
63
+ "@gooddata/sdk-ui-theme-provider": "9.9.2",
64
+ "@gooddata/sdk-ui-vis-commons": "9.9.2",
65
+ "@gooddata/util": "9.9.2"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
@@ -117,10 +117,10 @@
117
117
  "vitest-dom": "0.1.1",
118
118
  "@types/debounce-promise": "^3.1.4",
119
119
  "@types/json-stable-stringify": "^1.0.32",
120
- "@gooddata/i18n-toolkit": "9.9.2-beta.8",
121
- "@gooddata/live-examples-workspace": "9.9.2-beta.8",
122
- "@gooddata/sdk-backend-mockingbird": "9.9.2-beta.8",
123
- "@gooddata/reference-workspace": "9.9.2-beta.8"
120
+ "@gooddata/i18n-toolkit": "9.9.2",
121
+ "@gooddata/live-examples-workspace": "9.9.2",
122
+ "@gooddata/reference-workspace": "9.9.2",
123
+ "@gooddata/sdk-backend-mockingbird": "9.9.2"
124
124
  },
125
125
  "scripts": {
126
126
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",