@gooddata/sdk-ui-pivot 11.19.0-alpha.2 → 11.19.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/README.md
CHANGED
|
@@ -13,11 +13,11 @@ See the official SDK documentation for more information about the [PivotTable](h
|
|
|
13
13
|
|
|
14
14
|
## Technical notes
|
|
15
15
|
|
|
16
|
-
-
|
|
17
|
-
|
|
16
|
+
- The PivotTable is implemented using the community version of ag-grid library. The SDK adds layers of convenience to
|
|
17
|
+
construct and populate the table using results computed by an analytical backend.
|
|
18
18
|
|
|
19
|
-
-
|
|
20
|
-
|
|
19
|
+
- All Pivot Table and ag-grid styles are scoped under the `gd-table-component` namespace; if your application uses
|
|
20
|
+
ag-grid as well, GoodData.UI styles will not conflict with styles in your application.
|
|
21
21
|
|
|
22
22
|
## License
|
|
23
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drilledRowFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/drilling/drilledRowFactory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drilledRowFactory.d.ts","sourceRoot":"","sources":["../../../src/impl/drilling/drilledRowFactory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAYvE,MAAM,MAAM,kBAAkB,GAAG;IAC7B;;;;;;OAMG;IACH,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAElB;;;OAGG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;AAE/D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,QAAQ,EAAE,eAAe,EAAE,eAAe,GAAG,UAAU,CAyC5F"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2021-
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
2
|
import { invariant } from "ts-invariant";
|
|
3
3
|
import { getMappingHeaderName, getMappingHeaderUri, hasMappingHeaderFormattedName } from "@gooddata/sdk-ui";
|
|
4
4
|
/**
|
|
@@ -6,7 +6,6 @@ import { getMappingHeaderName, getMappingHeaderUri, hasMappingHeaderFormattedNam
|
|
|
6
6
|
*/
|
|
7
7
|
function extractIdsFromAttributeElementUri(uri) {
|
|
8
8
|
// no reasonable way to avoid the super-linear backtracking right now
|
|
9
|
-
// eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/no-unused-capturing-group
|
|
10
9
|
const [, attributeId, , attributeValueId = null] = uri.match(/obj\/([^/]*)(\/elements\?id=)?(.*)$/);
|
|
11
10
|
return [attributeId, attributeValueId];
|
|
12
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drilledRowFactory.js","sourceRoot":"","sources":["../../../src/impl/drilling/drilledRowFactory.ts"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"drilledRowFactory.js","sourceRoot":"","sources":["../../../src/impl/drilling/drilledRowFactory.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAK5G;;GAEG;AACH,SAAS,iCAAiC,CAAC,GAAW;IAClD,qEAAqE;IACrE,MAAM,CAAC,EAAE,WAAW,EAAE,AAAD,EAAG,gBAAgB,GAAG,IAAI,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,qCAAqC,CAAE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C,CAAC;IAEH,eAAe,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QACjD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,SAAS,wBAAwB,CAAC,EAAiB,EAAE,GAAkB,EAAE,IAAmB;IACxF,OAAO;QACH,EAAE;QACF,GAAG;QACH,IAAI;KACP,CAAC;AACN,CAAC;AAED,SAAS,cAAc,CAAC,YAA2B;IAC/C,mGAAmG;IACnG,mGAAmG;IACnG,uGAAuG;IACvG,uGAAuG;IACvG,OAAO,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC;QACnC,CAAC,CAAC,iCAAiC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QACpD,CAAC,CAAC,YAAY,CAAC;AACvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-pivot",
|
|
3
|
-
"version": "11.19.0-alpha.
|
|
3
|
+
"version": "11.19.0-alpha.4",
|
|
4
4
|
"description": "GoodData.UI SDK - Pivot Table",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,20 +38,19 @@
|
|
|
38
38
|
"ag-grid-react": "34.2.0",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"fixed-data-table-2": "^2.0.22",
|
|
41
|
-
"lodash-es": "^4.17.
|
|
41
|
+
"lodash-es": "^4.17.23",
|
|
42
42
|
"react-intl": "7.1.11",
|
|
43
43
|
"ts-invariant": "^0.7.5",
|
|
44
44
|
"tslib": "2.8.1",
|
|
45
45
|
"uuid": "^11.1.0",
|
|
46
|
-
"@gooddata/sdk-
|
|
47
|
-
"@gooddata/sdk-
|
|
48
|
-
"@gooddata/sdk-ui-kit": "11.19.0-alpha.
|
|
49
|
-
"@gooddata/sdk-ui-theme-provider": "11.19.0-alpha.
|
|
50
|
-
"@gooddata/sdk-ui
|
|
51
|
-
"@gooddata/sdk-ui": "11.19.0-alpha.
|
|
46
|
+
"@gooddata/sdk-model": "11.19.0-alpha.4",
|
|
47
|
+
"@gooddata/sdk-backend-spi": "11.19.0-alpha.4",
|
|
48
|
+
"@gooddata/sdk-ui-kit": "11.19.0-alpha.4",
|
|
49
|
+
"@gooddata/sdk-ui-theme-provider": "11.19.0-alpha.4",
|
|
50
|
+
"@gooddata/sdk-ui": "11.19.0-alpha.4",
|
|
51
|
+
"@gooddata/sdk-ui-vis-commons": "11.19.0-alpha.4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@gooddata/stylelint-config": "^5.0.0",
|
|
55
54
|
"@microsoft/api-documenter": "^7.17.0",
|
|
56
55
|
"@microsoft/api-extractor": "^7.55.2",
|
|
57
56
|
"@testing-library/dom": "10.4.1",
|
|
@@ -65,20 +64,16 @@
|
|
|
65
64
|
"@typescript-eslint/parser": "8.52.0",
|
|
66
65
|
"@vitest/eslint-plugin": "1.6.6",
|
|
67
66
|
"dependency-cruiser": "^14.1.2",
|
|
68
|
-
"eslint": "^
|
|
69
|
-
"eslint-config-prettier": "10.1.8",
|
|
67
|
+
"eslint": "^9.39.2",
|
|
70
68
|
"eslint-plugin-header": "3.1.1",
|
|
71
|
-
"eslint-plugin-import": "2.32.0",
|
|
72
69
|
"eslint-plugin-import-esm": "1.2.1",
|
|
70
|
+
"eslint-plugin-import-x": "4.16.1",
|
|
73
71
|
"eslint-plugin-jsdoc": "62.1.0",
|
|
74
72
|
"eslint-plugin-no-barrel-files": "1.2.2",
|
|
75
|
-
"eslint-plugin-no-only-tests": "
|
|
76
|
-
"eslint-plugin-prettier": "5.5.4",
|
|
73
|
+
"eslint-plugin-no-only-tests": "3.3.0",
|
|
77
74
|
"eslint-plugin-react": "7.37.5",
|
|
78
75
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
79
|
-
"eslint-plugin-regexp": "1.15.0",
|
|
80
76
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
81
|
-
"eslint-plugin-tsdoc": "0.2.14",
|
|
82
77
|
"full-icu": "^1.3.0",
|
|
83
78
|
"happy-dom": "18.0.1",
|
|
84
79
|
"npm-run-all": "^4.1.5",
|
|
@@ -87,16 +82,15 @@
|
|
|
87
82
|
"react": "19.1.1",
|
|
88
83
|
"react-dom": "19.1.1",
|
|
89
84
|
"sass": "1.70.0",
|
|
90
|
-
"stylelint": "^
|
|
91
|
-
"stylelint-checkstyle-formatter": "^0.1.2",
|
|
92
|
-
"stylelint-config-prettier": "^9.0.5",
|
|
85
|
+
"stylelint": "^16.26.1",
|
|
93
86
|
"typescript": "5.9.3",
|
|
94
87
|
"vitest": "4.0.8",
|
|
95
88
|
"vitest-dom": "0.1.1",
|
|
96
|
-
"@gooddata/eslint-config": "11.19.0-alpha.
|
|
97
|
-
"@gooddata/reference-workspace": "11.19.0-alpha.
|
|
98
|
-
"@gooddata/sdk-backend-
|
|
99
|
-
"@gooddata/sdk-backend-
|
|
89
|
+
"@gooddata/eslint-config": "11.19.0-alpha.4",
|
|
90
|
+
"@gooddata/reference-workspace": "11.19.0-alpha.4",
|
|
91
|
+
"@gooddata/sdk-backend-mockingbird": "11.19.0-alpha.4",
|
|
92
|
+
"@gooddata/sdk-backend-base": "11.19.0-alpha.4",
|
|
93
|
+
"@gooddata/stylelint-config": "11.19.0-alpha.4"
|
|
100
94
|
},
|
|
101
95
|
"peerDependencies": {
|
|
102
96
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -112,16 +106,16 @@
|
|
|
112
106
|
"build-ts": "tsc -p tsconfig.build.json",
|
|
113
107
|
"clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|
|
114
108
|
"dep-cruiser": "depcruise --validate .dependency-cruiser.cjs --output-type err-long src/",
|
|
115
|
-
"eslint": "eslint
|
|
116
|
-
"eslint-fix": "eslint
|
|
117
|
-
"prettier-check": "prettier --
|
|
118
|
-
"prettier-write": "prettier --
|
|
109
|
+
"eslint": "eslint .",
|
|
110
|
+
"eslint-fix": "eslint . --fix",
|
|
111
|
+
"prettier-check": "prettier --check .",
|
|
112
|
+
"prettier-write": "prettier --write .",
|
|
119
113
|
"scss": "sass --quiet-deps --load-path=node_modules --load-path=node_modules/fixed-data-table-2/dist styles/scss:styles/css",
|
|
120
114
|
"stylelint": "stylelint '**/*.scss'",
|
|
121
115
|
"stylelint-fix": "stylelint '**/*.scss' --fix",
|
|
122
116
|
"test": "vitest watch",
|
|
123
117
|
"test-once": "vitest run",
|
|
124
|
-
"validate": "
|
|
118
|
+
"validate": "npm run eslint && npm run dep-cruiser && npm run stylelint && npm run validate-locales && npm run prettier-check && npm run validate-theming",
|
|
125
119
|
"validate-esm": "node --input-type=module --eval 'import \"@gooddata/sdk-ui-pivot\"'",
|
|
126
120
|
"validate-locales": "cd ../sdk-ui && npm run validate-locales",
|
|
127
121
|
"validate-theming": "npm run scss && node scripts/validateCss.js"
|