@empathyco/x-components 3.0.0-alpha.140 → 3.0.0-alpha.141
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/CHANGELOG.md +13 -0
- package/design-system/default-theme.css +49 -49
- package/design-system/full-theme.css +15 -14
- package/docs/API-reference/api/x-components.fetchandsavenextquerypreviewwire.md +13 -0
- package/docs/API-reference/api/x-components.md +2 -0
- package/docs/API-reference/api/x-components.nextqueriesactions.fetchandsavenextquerypreview.md +24 -0
- package/docs/API-reference/api/x-components.nextqueriesactions.fetchnextquerypreview.md +26 -0
- package/docs/API-reference/api/x-components.nextqueriesactions.md +2 -0
- package/docs/API-reference/api/x-components.nextqueriesconfig.maxpreviewitemstorequest.md +13 -0
- package/docs/API-reference/api/x-components.nextqueriesconfig.md +1 -0
- package/docs/API-reference/api/x-components.nextqueriesmutations.md +2 -0
- package/docs/API-reference/api/x-components.nextqueriesmutations.resetresultspreview.md +17 -0
- package/docs/API-reference/api/x-components.nextqueriesmutations.setresultspreview.md +24 -0
- package/docs/API-reference/api/x-components.nextqueriesstate.md +1 -0
- package/docs/API-reference/api/x-components.nextqueriesstate.resultspreview.md +13 -0
- package/docs/API-reference/api/x-components.nextqueriesxevents.md +1 -0
- package/docs/API-reference/api/x-components.nextqueriesxevents.nextquerypreviewmounted.md +13 -0
- package/docs/API-reference/api/x-components.resetresultspreviewwire.md +13 -0
- package/docs/API-reference/api/x-types.md +1 -0
- package/docs/API-reference/api/x-types.previewresults.items.md +13 -0
- package/docs/API-reference/api/x-types.previewresults.md +22 -0
- package/docs/API-reference/api/x-types.previewresults.query.md +13 -0
- package/docs/API-reference/api/x-types.previewresults.totalresults.md +13 -0
- package/js/index.js +1 -1
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.js +22 -0
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.js.map +1 -0
- package/js/x-modules/next-queries/store/actions/fetch-next-query-preview.action.js +26 -0
- package/js/x-modules/next-queries/store/actions/fetch-next-query-preview.action.js.map +1 -0
- package/js/x-modules/next-queries/store/module.js +15 -3
- package/js/x-modules/next-queries/store/module.js.map +1 -1
- package/js/x-modules/next-queries/wiring.js +24 -2
- package/js/x-modules/next-queries/wiring.js.map +1 -1
- package/next-queries/index.js +1 -1
- package/package.json +4 -4
- package/report/x-components.api.json +327 -0
- package/report/x-components.api.md +21 -1
- package/report/x-types.api.json +99 -0
- package/types/x-modules/next-queries/config.types.d.ts +4 -0
- package/types/x-modules/next-queries/config.types.d.ts.map +1 -1
- package/types/x-modules/next-queries/events.types.d.ts +5 -0
- package/types/x-modules/next-queries/events.types.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts +3 -0
- package/types/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts.map +1 -0
- package/types/x-modules/next-queries/store/actions/fetch-next-query-preview.action.d.ts +12 -0
- package/types/x-modules/next-queries/store/actions/fetch-next-query-preview.action.d.ts.map +1 -0
- package/types/x-modules/next-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/types.d.ts +28 -1
- package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/wiring.d.ts +18 -0
- package/types/x-modules/next-queries/wiring.d.ts.map +1 -1
package/report/x-types.api.json
CHANGED
|
@@ -3348,6 +3348,105 @@
|
|
|
3348
3348
|
],
|
|
3349
3349
|
"extendsTokenRanges": []
|
|
3350
3350
|
},
|
|
3351
|
+
{
|
|
3352
|
+
"kind": "Interface",
|
|
3353
|
+
"canonicalReference": "@empathyco/x-types!PreviewResults:interface",
|
|
3354
|
+
"docComment": "/**\n * Interface to type the query preview objects.\n */\n",
|
|
3355
|
+
"excerptTokens": [
|
|
3356
|
+
{
|
|
3357
|
+
"kind": "Content",
|
|
3358
|
+
"text": "export interface PreviewResults "
|
|
3359
|
+
}
|
|
3360
|
+
],
|
|
3361
|
+
"releaseTag": "Public",
|
|
3362
|
+
"name": "PreviewResults",
|
|
3363
|
+
"members": [
|
|
3364
|
+
{
|
|
3365
|
+
"kind": "PropertySignature",
|
|
3366
|
+
"canonicalReference": "@empathyco/x-types!PreviewResults#items:member",
|
|
3367
|
+
"docComment": "/**\n * The results to preview the search request.\n */\n",
|
|
3368
|
+
"excerptTokens": [
|
|
3369
|
+
{
|
|
3370
|
+
"kind": "Content",
|
|
3371
|
+
"text": "items: "
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"kind": "Reference",
|
|
3375
|
+
"text": "Result",
|
|
3376
|
+
"canonicalReference": "@empathyco/x-types!Result:interface"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "Content",
|
|
3380
|
+
"text": "[]"
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
"kind": "Content",
|
|
3384
|
+
"text": ";"
|
|
3385
|
+
}
|
|
3386
|
+
],
|
|
3387
|
+
"isOptional": false,
|
|
3388
|
+
"releaseTag": "Public",
|
|
3389
|
+
"name": "items",
|
|
3390
|
+
"propertyTypeTokenRange": {
|
|
3391
|
+
"startIndex": 1,
|
|
3392
|
+
"endIndex": 3
|
|
3393
|
+
}
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"kind": "PropertySignature",
|
|
3397
|
+
"canonicalReference": "@empathyco/x-types!PreviewResults#query:member",
|
|
3398
|
+
"docComment": "/**\n * The searched query.\n */\n",
|
|
3399
|
+
"excerptTokens": [
|
|
3400
|
+
{
|
|
3401
|
+
"kind": "Content",
|
|
3402
|
+
"text": "query: "
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "Content",
|
|
3406
|
+
"text": "string"
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "Content",
|
|
3410
|
+
"text": ";"
|
|
3411
|
+
}
|
|
3412
|
+
],
|
|
3413
|
+
"isOptional": false,
|
|
3414
|
+
"releaseTag": "Public",
|
|
3415
|
+
"name": "query",
|
|
3416
|
+
"propertyTypeTokenRange": {
|
|
3417
|
+
"startIndex": 1,
|
|
3418
|
+
"endIndex": 2
|
|
3419
|
+
}
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
"kind": "PropertySignature",
|
|
3423
|
+
"canonicalReference": "@empathyco/x-types!PreviewResults#totalResults:member",
|
|
3424
|
+
"docComment": "/**\n * The number of results of the query.\n */\n",
|
|
3425
|
+
"excerptTokens": [
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "Content",
|
|
3428
|
+
"text": "totalResults: "
|
|
3429
|
+
},
|
|
3430
|
+
{
|
|
3431
|
+
"kind": "Content",
|
|
3432
|
+
"text": "number"
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
"kind": "Content",
|
|
3436
|
+
"text": ";"
|
|
3437
|
+
}
|
|
3438
|
+
],
|
|
3439
|
+
"isOptional": false,
|
|
3440
|
+
"releaseTag": "Public",
|
|
3441
|
+
"name": "totalResults",
|
|
3442
|
+
"propertyTypeTokenRange": {
|
|
3443
|
+
"startIndex": 1,
|
|
3444
|
+
"endIndex": 2
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
],
|
|
3448
|
+
"extendsTokenRanges": []
|
|
3449
|
+
},
|
|
3351
3450
|
{
|
|
3352
3451
|
"kind": "Interface",
|
|
3353
3452
|
"canonicalReference": "@empathyco/x-types!Promoted:interface",
|
|
@@ -34,5 +34,9 @@ export interface NextQueriesConfig {
|
|
|
34
34
|
* Loads the next queries with the last searched query.
|
|
35
35
|
*/
|
|
36
36
|
loadOnInit: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Number of results that will be requested to preview the next queries.
|
|
39
|
+
*/
|
|
40
|
+
maxPreviewItemsToRequest: number;
|
|
37
41
|
}
|
|
38
42
|
//# sourceMappingURL=config.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/next-queries/config.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"config.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/next-queries/config.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
|
|
@@ -27,5 +27,10 @@ export interface NextQueriesXEvents {
|
|
|
27
27
|
* Payload: The next query that has been selected by the user.
|
|
28
28
|
*/
|
|
29
29
|
UserSelectedANextQuery: NextQuery;
|
|
30
|
+
/**
|
|
31
|
+
* The component to show a next query preview has been mounted.
|
|
32
|
+
* Payload: The next query to preview.
|
|
33
|
+
*/
|
|
34
|
+
NextQueryPreviewMounted: string;
|
|
30
35
|
}
|
|
31
36
|
//# sourceMappingURL=events.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/next-queries/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,kBAAkB,EAAE,SAAS,EAAE,CAAC;IAChC;;;OAGG;IACH,oBAAoB,EAAE,SAAS,EAAE,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACrD;;;OAGG;IACH,sBAAsB,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/next-queries/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,kBAAkB,EAAE,SAAS,EAAE,CAAC;IAChC;;;OAGG;IACH,oBAAoB,EAAE,SAAS,EAAE,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACrD;;;OAGG;IACH,sBAAsB,EAAE,SAAS,CAAC;IAClC;;;OAGG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC"}
|
package/types/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-and-save-next-query-preview.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAGnD,eAAO,MAAM,4BAA4B,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,8BAA8B,CAkBzG,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NextQueriesXStoreModule } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Default implementation for the {@link NextQueriesActions.fetchNextQueryPreview}.
|
|
4
|
+
*
|
|
5
|
+
* @param state - The state of the store, used to retrieve the rows and the extraParams to be sent
|
|
6
|
+
* in the request.
|
|
7
|
+
* @param query - The next query to send in the request.
|
|
8
|
+
* @returns A Promise of a SearchResponse when it fetches the results, `null` if the request was
|
|
9
|
+
* not made.
|
|
10
|
+
*/
|
|
11
|
+
export declare const fetchNextQueryPreview: NextQueriesXStoreModule['actions']['fetchNextQueryPreview'];
|
|
12
|
+
//# sourceMappingURL=fetch-next-query-preview.action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-next-query-preview.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/next-queries/store/actions/fetch-next-query-preview.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAGnD;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAiB7F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/module.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,uBA+CrC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HistoryQuery, NextQuery, NextQueriesRequest } from '@empathyco/x-types';
|
|
1
|
+
import { HistoryQuery, NextQuery, NextQueriesRequest, SearchResponse, PreviewResults } from '@empathyco/x-types';
|
|
2
2
|
import { Dictionary } from '@empathyco/x-utils';
|
|
3
3
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
4
|
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
@@ -21,6 +21,8 @@ export interface NextQueriesState extends StatusState, QueryState {
|
|
|
21
21
|
config: NextQueriesConfig;
|
|
22
22
|
/** The extra params property of the state. */
|
|
23
23
|
params: Dictionary<unknown>;
|
|
24
|
+
/** Results of the next queries requests. */
|
|
25
|
+
resultsPreview: Dictionary<PreviewResults>;
|
|
24
26
|
}
|
|
25
27
|
/**
|
|
26
28
|
* Next queries module getters.
|
|
@@ -66,6 +68,17 @@ export interface NextQueriesMutations extends StatusMutations, QueryMutations {
|
|
|
66
68
|
* @param params - The new extra params.
|
|
67
69
|
*/
|
|
68
70
|
setParams(params: Dictionary<unknown>): void;
|
|
71
|
+
/**
|
|
72
|
+
* Adds a new entry to the result's dictionary.
|
|
73
|
+
*
|
|
74
|
+
* @param resultsPreview - Object containing the next query,
|
|
75
|
+
* the totalResults and the results to add.
|
|
76
|
+
*/
|
|
77
|
+
setResultsPreview(resultsPreview: Dictionary<PreviewResults>): void;
|
|
78
|
+
/**
|
|
79
|
+
* Resets the result's dictionary.
|
|
80
|
+
*/
|
|
81
|
+
resetResultsPreview(): void;
|
|
69
82
|
}
|
|
70
83
|
/**
|
|
71
84
|
* Next queries module actions.
|
|
@@ -97,6 +110,20 @@ export interface NextQueriesActions {
|
|
|
97
110
|
* @param urlParams - List of params from the url.
|
|
98
111
|
*/
|
|
99
112
|
setUrlParams(urlParams: UrlParams): void;
|
|
113
|
+
/**
|
|
114
|
+
* Requests the results to preview a next query,
|
|
115
|
+
* limited by {@link NextQueriesConfig.maxPreviewItemsToRequest}.
|
|
116
|
+
*
|
|
117
|
+
* @param query - The next query to retrieve the results.
|
|
118
|
+
* @returns A search response based on the next query.
|
|
119
|
+
*/
|
|
120
|
+
fetchNextQueryPreview(query: string): SearchResponse | null;
|
|
121
|
+
/**
|
|
122
|
+
* Requests the results to preview a next query and saves them in the state.
|
|
123
|
+
*
|
|
124
|
+
* @param query - The next query to retrieve the results.
|
|
125
|
+
*/
|
|
126
|
+
fetchAndSaveNextQueryPreview(query: string): void;
|
|
100
127
|
}
|
|
101
128
|
/**
|
|
102
129
|
* Next queries store module.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/types.ts"],"names":[],"mappings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 export declare const fetchAndSaveNextQueriesWire: import("../..").Wire<import("@
|
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
24
|
export declare const setQueryFromLastHistoryQueryWire: import("../..").Wire<import("@empathyco/x-types").HistoryQuery[]>;
|
|
25
|
+
/**
|
|
26
|
+
* Requests and store the next query preview results.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export declare const fetchAndSaveNextQueryPreviewWire: import("../..").Wire<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Resets the next query preview results.
|
|
33
|
+
*
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare const resetResultsPreviewWire: import("../..").AnyWire;
|
|
25
37
|
/**
|
|
26
38
|
* Sets the next queries state `searchedQueries` with the list of history queries.
|
|
27
39
|
*
|
|
@@ -37,6 +49,9 @@ export declare const nextQueriesWiring: {
|
|
|
37
49
|
ParamsLoadedFromUrl: {
|
|
38
50
|
setUrlParams: import("../..").Wire<import("../..").UrlParams>;
|
|
39
51
|
};
|
|
52
|
+
NextQueriesChanged: {
|
|
53
|
+
resetResultsPreviewWire: import("../..").AnyWire;
|
|
54
|
+
};
|
|
40
55
|
UserAcceptedAQuery: {
|
|
41
56
|
setNextQueriesQuery: import("../..").Wire<string>;
|
|
42
57
|
};
|
|
@@ -50,5 +65,8 @@ export declare const nextQueriesWiring: {
|
|
|
50
65
|
ExtraParamsChanged: {
|
|
51
66
|
setNextQueriesExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
52
67
|
};
|
|
68
|
+
NextQueryPreviewMounted: {
|
|
69
|
+
fetchAndSaveNextQueryPreviewWire: import("../..").Wire<string>;
|
|
70
|
+
};
|
|
53
71
|
};
|
|
54
72
|
//# sourceMappingURL=wiring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/next-queries/wiring.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/next-queries/wiring.ts"],"names":[],"mappings":"AAuCA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,8BAAyB,CAAC;AAS1D;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,wEAA0B,CAAC;AAEjE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,8EAA0C,CAAC;AAEnF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,mEAA+C,CAAC;AAE7F;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,8BAA+C,CAAC;AAE7F;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,yBAAkD,CAAC;AAEvF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,mEAAmC,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;CAwB5B,CAAC"}
|