@gooddata/sdk-ui-ext 11.64.1 → 11.65.0-alpha.1
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/internal/utils/colors.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,MAAM,EACX,KAAK,iBAAiB,EASzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/internal/utils/colors.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,MAAM,EACX,KAAK,iBAAiB,EASzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAiC,MAAM,kBAAkB,CAAC;AAC7G,OAAO,EAAc,KAAK,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEjF,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAU/E,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,YAAY,EAAE,EAAE,YAAY,EAAE,MAAM,GAAG,YAAY,EAAE,CAQjG;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAa3E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAO1F;AAED,wBAAgB,oBAAoB,CAChC,MAAM,EAAE,mBAAmB,GAAG,SAAS,EACvC,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,EAC1C,YAAY,CAAC,EAAE,iBAAiB,EAAE,GACnC,YAAY,EAAE,CA4ChB;AAuBD,wBAAgB,aAAa,CACzB,UAAU,EAAE,wBAAwB,EACpC,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,MAAM,GACd,wBAAwB,CAM1B;AAED,wBAAgB,gCAAgC,CAC5C,UAAU,EAAE,wBAAwB,EACpC,EAAE,EAAE,MAAM,GACX,wBAAwB,CAU1B;AAED,wBAAgB,sBAAsB,CAClC,UAAU,EAAE,wBAAwB,EACpC,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,qBAAqB,CAAC,WAAW,CAAC,EAC7C,SAAS,EAAE,qBAAqB,CAAC,WAAW,CAAC,GAC9C,wBAAwB,CAO1B;AAED,wBAAgB,4CAA4C,CACxD,UAAU,EAAE,wBAAwB,GAAG,SAAS,EAChD,eAAe,EAAE,MAAM,EAAE,GAC1B,wBAAwB,GAAG,SAAS,CAoBtC;AAED,wBAAgB,kBAAkB,CAC9B,UAAU,EAAE,wBAAwB,EACpC,gBAAgB,EAAE,gBAAgB,EAAE,GAAG,SAAS,GACjD,wBAAwB,CAiE1B"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
// (C) 2019-2026 GoodData Corporation
|
|
2
2
|
import { cloneDeep, compact, isEmpty, isEqual, set, uniqBy } from "lodash-es";
|
|
3
3
|
import { isAttributeDescriptor, isColorDescriptor, isColorFromPalette, isMeasureDescriptor, isResultAttributeHeader, isRgbColor, isUriRef, } from "@gooddata/sdk-model";
|
|
4
|
-
import {
|
|
4
|
+
import { getMappingHeaderFormattedName } from "@gooddata/sdk-ui";
|
|
5
5
|
import { ColorUtils } from "@gooddata/sdk-ui-charts";
|
|
6
|
+
/**
|
|
7
|
+
* Name of the colored item as the list displays it, so that searching matches what the user sees: the
|
|
8
|
+
* formatted element value for dates and number-formatted attributes, the raw name otherwise.
|
|
9
|
+
*/
|
|
6
10
|
function getItemName(item) {
|
|
7
|
-
return
|
|
11
|
+
return getMappingHeaderFormattedName(item.mappingHeader) || "";
|
|
8
12
|
}
|
|
9
13
|
export function getSearchedItems(inputItems, searchString) {
|
|
10
14
|
if (isEmpty(searchString)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-ext",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.65.0-alpha.1",
|
|
4
4
|
"description": "GoodData.UI SDK - Extensions",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -63,20 +63,20 @@
|
|
|
63
63
|
"ts-invariant": "0.10.3",
|
|
64
64
|
"tslib": "2.8.1",
|
|
65
65
|
"uuid": "11.1.1",
|
|
66
|
-
"@gooddata/sdk-backend-base": "11.
|
|
67
|
-
"@gooddata/sdk-
|
|
68
|
-
"@gooddata/sdk-
|
|
69
|
-
"@gooddata/sdk-
|
|
70
|
-
"@gooddata/sdk-
|
|
71
|
-
"@gooddata/sdk-ui-charts": "11.
|
|
72
|
-
"@gooddata/sdk-ui-filters": "11.
|
|
73
|
-
"@gooddata/sdk-ui-geo": "11.
|
|
74
|
-
"@gooddata/sdk-ui-
|
|
75
|
-
"@gooddata/sdk-ui-
|
|
76
|
-
"@gooddata/sdk-ui-
|
|
77
|
-
"@gooddata/sdk-ui-
|
|
78
|
-
"@gooddata/sdk-ui-vis-commons": "11.
|
|
79
|
-
"@gooddata/util": "11.
|
|
66
|
+
"@gooddata/sdk-backend-base": "11.65.0-alpha.1",
|
|
67
|
+
"@gooddata/sdk-embedding": "11.65.0-alpha.1",
|
|
68
|
+
"@gooddata/sdk-backend-spi": "11.65.0-alpha.1",
|
|
69
|
+
"@gooddata/sdk-model": "11.65.0-alpha.1",
|
|
70
|
+
"@gooddata/sdk-ui": "11.65.0-alpha.1",
|
|
71
|
+
"@gooddata/sdk-ui-charts": "11.65.0-alpha.1",
|
|
72
|
+
"@gooddata/sdk-ui-filters": "11.65.0-alpha.1",
|
|
73
|
+
"@gooddata/sdk-ui-geo": "11.65.0-alpha.1",
|
|
74
|
+
"@gooddata/sdk-ui-pivot": "11.65.0-alpha.1",
|
|
75
|
+
"@gooddata/sdk-ui-kit": "11.65.0-alpha.1",
|
|
76
|
+
"@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.1",
|
|
77
|
+
"@gooddata/sdk-ui-semantic-search": "11.65.0-alpha.1",
|
|
78
|
+
"@gooddata/sdk-ui-vis-commons": "11.65.0-alpha.1",
|
|
79
|
+
"@gooddata/util": "11.65.0-alpha.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -120,12 +120,12 @@
|
|
|
120
120
|
"svgo": "2.8.4",
|
|
121
121
|
"typescript": "7.0.2",
|
|
122
122
|
"vitest": "5.0.4",
|
|
123
|
-
"@gooddata/eslint-config": "11.
|
|
124
|
-
"@gooddata/i18n-toolkit": "11.
|
|
125
|
-
"@gooddata/oxlint-config": "11.
|
|
126
|
-
"@gooddata/reference-workspace": "11.
|
|
127
|
-
"@gooddata/sdk-backend-mockingbird": "11.
|
|
128
|
-
"@gooddata/stylelint-config": "11.
|
|
123
|
+
"@gooddata/eslint-config": "11.65.0-alpha.1",
|
|
124
|
+
"@gooddata/i18n-toolkit": "11.65.0-alpha.1",
|
|
125
|
+
"@gooddata/oxlint-config": "11.65.0-alpha.1",
|
|
126
|
+
"@gooddata/reference-workspace": "11.65.0-alpha.1",
|
|
127
|
+
"@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.1",
|
|
128
|
+
"@gooddata/stylelint-config": "11.65.0-alpha.1"
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
131
|
"react": "^18.0.0 || ^19.0.0",
|