@gooddata/sdk-ui-dashboard 10.7.0-alpha.17 → 10.7.0-alpha.19
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +11 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
- package/esm/model/commandHandlers/drill/common/intersectionUtils.d.ts +3 -4
- package/esm/model/commandHandlers/drill/common/intersectionUtils.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/common/intersectionUtils.js +18 -19
- package/esm/model/commandHandlers/drill/common/intersectionUtils.js.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +2 -4
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +64 -10
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +94 -18
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js.map +1 -1
- package/esm/model/commands/dashboard.d.ts +1 -1
- package/esm/model/commands/dashboard.d.ts.map +1 -1
- package/esm/model/commands/filters.d.ts +32 -1
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +27 -0
- package/esm/model/commands/filters.js.map +1 -1
- package/esm/model/commands/index.d.ts +1 -1
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +1 -1
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/events/drill.d.ts +6 -2
- package/esm/model/events/drill.d.ts.map +1 -1
- package/esm/model/events/drill.js +2 -1
- package/esm/model/events/drill.js.map +1 -1
- package/esm/model/events/filters.d.ts +2 -2
- package/esm/model/events/filters.d.ts.map +1 -1
- package/esm/model/events/filters.js.map +1 -1
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +4 -1
- package/esm/model/store/dashboardStore.js.map +1 -1
- package/esm/model/utils/filterResolver.d.ts +2 -2
- package/esm/model/utils/filterResolver.d.ts.map +1 -1
- package/esm/model/utils/filterResolver.js +2 -2
- package/esm/model/utils/filterResolver.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +38 -1
- package/package.json +15 -15
|
@@ -1119,6 +1119,35 @@ export declare interface ChangeFilterContextSelection extends IDashboardCommand
|
|
|
1119
1119
|
*/
|
|
1120
1120
|
export declare function changeFilterContextSelection(filters: (IDashboardFilter | FilterContextItem)[], resetOthers?: boolean, correlationId?: string): ChangeFilterContextSelection;
|
|
1121
1121
|
|
|
1122
|
+
/**
|
|
1123
|
+
* Creates the {@link ChangeFilterContextSelection} command.
|
|
1124
|
+
*
|
|
1125
|
+
* @remarks
|
|
1126
|
+
* Dispatching this command will result into setting provided dashboard filters to the current dashboard filter context.
|
|
1127
|
+
*
|
|
1128
|
+
* Only filters that are stored in the filter context can be applied (filters that are visible in the filter bar).
|
|
1129
|
+
* Filters will be matched via display form ref, duplicities will be omitted.
|
|
1130
|
+
* Date filter that does not match any visible option by the current date filter config will be also omitted.
|
|
1131
|
+
*
|
|
1132
|
+
* @param params - params for the command creator
|
|
1133
|
+
* @internal
|
|
1134
|
+
* TODO: next major release can remove ByParams suffix and use this implementation instead of original cmd creator + other creators can be rewriten to use params object
|
|
1135
|
+
* https://gooddata.atlassian.net/browse/STL-700
|
|
1136
|
+
*/
|
|
1137
|
+
export declare function changeFilterContextSelectionByParams(params: ChangeFilterContextSelectionParams): ChangeFilterContextSelection;
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Params for {@link changeFilterContextSelectionByParams} command.
|
|
1141
|
+
*
|
|
1142
|
+
* @public
|
|
1143
|
+
*/
|
|
1144
|
+
export declare interface ChangeFilterContextSelectionParams {
|
|
1145
|
+
filters: (IDashboardFilter | FilterContextItem)[];
|
|
1146
|
+
attributeFilterConfigs?: IDashboardAttributeFilterConfig[];
|
|
1147
|
+
resetOthers?: boolean;
|
|
1148
|
+
correlationId?: string;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1122
1151
|
/**
|
|
1123
1152
|
* Payload of the {@link ChangeFilterContextSelection} command.
|
|
1124
1153
|
* @public
|
|
@@ -1128,6 +1157,10 @@ export declare interface ChangeFilterContextSelectionPayload {
|
|
|
1128
1157
|
* Filters to apply to the current dashboard filter context.
|
|
1129
1158
|
*/
|
|
1130
1159
|
filters: (IDashboardFilter | FilterContextItem)[];
|
|
1160
|
+
/**
|
|
1161
|
+
* Attribute filter configs with additional props
|
|
1162
|
+
*/
|
|
1163
|
+
attributeFilterConfigs?: IDashboardAttributeFilterConfig[];
|
|
1131
1164
|
/**
|
|
1132
1165
|
* Should filters not mentioned in the payload reset to All items selected/All time? Defaults to false.
|
|
1133
1166
|
*/
|
|
@@ -3452,6 +3485,10 @@ export declare interface DashboardDrillToDashboardResolvedPayload {
|
|
|
3452
3485
|
* Drill intersection filters that can be applied to the target dashboard.
|
|
3453
3486
|
*/
|
|
3454
3487
|
readonly filters: (IDashboardFilter | FilterContextItem)[];
|
|
3488
|
+
/**
|
|
3489
|
+
* Attribute filter configs with additional props
|
|
3490
|
+
*/
|
|
3491
|
+
readonly attributeFilterConfigs: IDashboardAttributeFilterConfig[];
|
|
3455
3492
|
/**
|
|
3456
3493
|
* Original drill event, that triggered this particular drill interaction.
|
|
3457
3494
|
*/
|
|
@@ -16541,7 +16578,7 @@ export declare interface SetDashboardAttributeFilterConfigDisplayAsLabelPayload
|
|
|
16541
16578
|
/**
|
|
16542
16579
|
* Display as label of the attribute filter. Used to present filter in UI
|
|
16543
16580
|
*/
|
|
16544
|
-
displayAsLabel: ObjRef;
|
|
16581
|
+
displayAsLabel: ObjRef | undefined;
|
|
16545
16582
|
}
|
|
16546
16583
|
|
|
16547
16584
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "10.7.0-alpha.
|
|
3
|
+
"version": "10.7.0-alpha.19",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"ts-invariant": "^0.7.5",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2",
|
|
58
|
-
"@gooddata/sdk-backend-base": "10.7.0-alpha.
|
|
59
|
-
"@gooddata/sdk-
|
|
60
|
-
"@gooddata/sdk-
|
|
61
|
-
"@gooddata/sdk-ui": "10.7.0-alpha.
|
|
62
|
-
"@gooddata/sdk-ui-ext": "10.7.0-alpha.
|
|
63
|
-
"@gooddata/sdk-ui-
|
|
64
|
-
"@gooddata/sdk-ui-kit": "10.7.0-alpha.
|
|
65
|
-
"@gooddata/sdk-ui-
|
|
66
|
-
"@gooddata/sdk-ui-
|
|
67
|
-
"@gooddata/sdk-ui-
|
|
68
|
-
"@gooddata/util": "10.7.0-alpha.
|
|
58
|
+
"@gooddata/sdk-backend-base": "10.7.0-alpha.19",
|
|
59
|
+
"@gooddata/sdk-model": "10.7.0-alpha.19",
|
|
60
|
+
"@gooddata/sdk-backend-spi": "10.7.0-alpha.19",
|
|
61
|
+
"@gooddata/sdk-ui": "10.7.0-alpha.19",
|
|
62
|
+
"@gooddata/sdk-ui-ext": "10.7.0-alpha.19",
|
|
63
|
+
"@gooddata/sdk-ui-filters": "10.7.0-alpha.19",
|
|
64
|
+
"@gooddata/sdk-ui-kit": "10.7.0-alpha.19",
|
|
65
|
+
"@gooddata/sdk-ui-geo": "10.7.0-alpha.19",
|
|
66
|
+
"@gooddata/sdk-ui-theme-provider": "10.7.0-alpha.19",
|
|
67
|
+
"@gooddata/sdk-ui-vis-commons": "10.7.0-alpha.19",
|
|
68
|
+
"@gooddata/util": "10.7.0-alpha.19"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
"typescript": "5.3.3",
|
|
119
119
|
"vitest": "1.0.4",
|
|
120
120
|
"vitest-dom": "0.1.1",
|
|
121
|
-
"@gooddata/i18n-toolkit": "10.7.0-alpha.
|
|
122
|
-
"@gooddata/reference-workspace": "10.7.0-alpha.
|
|
123
|
-
"@gooddata/sdk-backend-mockingbird": "10.7.0-alpha.
|
|
121
|
+
"@gooddata/i18n-toolkit": "10.7.0-alpha.19",
|
|
122
|
+
"@gooddata/reference-workspace": "10.7.0-alpha.19",
|
|
123
|
+
"@gooddata/sdk-backend-mockingbird": "10.7.0-alpha.19"
|
|
124
124
|
},
|
|
125
125
|
"scripts": {
|
|
126
126
|
"clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|