@fluid-topics/ft-search-context 2.2.33 → 2.2.35
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/build/registration.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Constructor, FtLitElementRedux } from "@fluid-topics/ft-wc-utils";
|
|
1
|
+
import { Constructor, FtContextRegistrationEvent, FtContextRegistrationEventDetails, FtLitElementRedux } from "@fluid-topics/ft-wc-utils";
|
|
2
2
|
import { FtSearchStateManager } from "./store/FtSearchStateManager";
|
|
3
3
|
import { FtSearchStateResourceRequest } from "./store/model";
|
|
4
4
|
export * from "./store/model";
|
|
@@ -6,8 +6,13 @@ export { FtSearchStateManager } from "./store/FtSearchStateManager";
|
|
|
6
6
|
export interface RegisterSearchComponentEventDetail {
|
|
7
7
|
registrationId?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare class RegisterSearchComponentEvent extends
|
|
10
|
-
constructor(
|
|
9
|
+
export declare class RegisterSearchComponentEvent extends FtContextRegistrationEvent<FtSearchComponentInterface> {
|
|
10
|
+
constructor(detail: FtContextRegistrationEventDetails<FtSearchComponentInterface>);
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementEventMap {
|
|
14
|
+
"register-ft-search-component": RegisterSearchComponentEvent;
|
|
15
|
+
}
|
|
11
16
|
}
|
|
12
17
|
export interface FtSearchComponentInterface {
|
|
13
18
|
stateManager?: FtSearchStateManager;
|
package/build/registration.js
CHANGED
|
@@ -4,17 +4,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { applyMixinOnce, FtLitElementRedux, hasChanged, } from "@fluid-topics/ft-wc-utils";
|
|
7
|
+
import { applyMixinOnce, FtContextRegistrationEvent, FtLitElementRedux, hasChanged, } from "@fluid-topics/ft-wc-utils";
|
|
8
8
|
import { property, state, } from "lit/decorators.js";
|
|
9
9
|
export * from "./store/model";
|
|
10
10
|
export { FtSearchStateManager } from "./store/FtSearchStateManager";
|
|
11
|
-
export class RegisterSearchComponentEvent extends
|
|
12
|
-
constructor(
|
|
13
|
-
super("register-ft-search-component",
|
|
14
|
-
bubbles: true, composed: true, detail: {
|
|
15
|
-
registrationId: searchRegistrationId,
|
|
16
|
-
},
|
|
17
|
-
});
|
|
11
|
+
export class RegisterSearchComponentEvent extends FtContextRegistrationEvent {
|
|
12
|
+
constructor(detail) {
|
|
13
|
+
super("register-ft-search-component", detail);
|
|
18
14
|
}
|
|
19
15
|
}
|
|
20
16
|
const registerInterval = Symbol("registerInterval");
|
|
@@ -60,7 +56,7 @@ export const toFtSearchComponent = applyMixinOnce(Symbol("toFtSearchComponent"),
|
|
|
60
56
|
}
|
|
61
57
|
else {
|
|
62
58
|
this[registerAttempts]++;
|
|
63
|
-
this.dispatchEvent(new RegisterSearchComponentEvent(this.searchRegistrationId));
|
|
59
|
+
this.dispatchEvent(new RegisterSearchComponentEvent({ target: this, registrationId: this.searchRegistrationId }));
|
|
64
60
|
}
|
|
65
61
|
}
|
|
66
62
|
disconnectedCallback() {
|
|
@@ -70,7 +70,7 @@ export declare class FtSearchStateManager extends FtStateManager {
|
|
|
70
70
|
private updateLocales;
|
|
71
71
|
private searchDebouncer;
|
|
72
72
|
launchSearch: (request?: FtSearchRequest) => Promise<boolean>;
|
|
73
|
-
|
|
73
|
+
buildSearchRequest: (searchState?: FtSearchPageState) => FtSearchRequest;
|
|
74
74
|
private cancelableSearch;
|
|
75
75
|
private fetchSearchData;
|
|
76
76
|
private suggestDebouncer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-context",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.35",
|
|
4
4
|
"description": "Context block for integrated search components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-app-context": "2.2.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "2.2.
|
|
22
|
+
"@fluid-topics/ft-app-context": "2.2.35",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "2.2.35",
|
|
24
24
|
"@reduxjs/toolkit": "2.13.0",
|
|
25
25
|
"lit": "3.3.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@fluid-topics/public-api": "1.0.
|
|
28
|
+
"@fluid-topics/public-api": "1.0.147"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "040e8142a897fe04b0ecceb7b2de59d1e6ec3fb7"
|
|
31
31
|
}
|