blob: 047f60f85d961320f4f33a7f3da3705bb322712c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/**
* Actions for Guided Search Feature
*/
import * as actions from "../actions";
/**
* @public
* An action that toggles a specified guided search token on and off.
*
* @note
* The same instance of this object must handle both selection and deselection
* as it can fire multiple times without JS refresh
*/
export class GuidedSearchTokenToggleAction extends actions.Action {
constructor(targetToken, searchOrigin) {
super("GuidedSearchTokenToggleAction");
this.targetToken = targetToken;
this.searchOrigin = searchOrigin;
}
}
/**
* @public
* An action that changes the selected search entity (replacing existing, if any)
*/
export class SearchEntityChangeAction extends actions.Action {
constructor(entity, searchOrigin) {
super("SearchEntityChangeAction");
this.entity = entity;
this.searchOrigin = searchOrigin;
}
}
//# sourceMappingURL=guided-search-actions.js.map
|