@fluid-topics/ft-reader-topic-context 2.2.32 → 2.2.34
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,8 +1,13 @@
|
|
|
1
1
|
import { FtReaderTocNode } from "@fluid-topics/ft-reader-context/build/store/model";
|
|
2
|
-
import { Constructor, FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
2
|
+
import { Constructor, FtContextRegistrationEvent, FtContextRegistrationEventDetails, FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
3
3
|
import { FtReaderComponent } from "@fluid-topics/ft-reader-context/build/registration";
|
|
4
|
-
export declare class RegisterReaderTopicComponentEvent extends
|
|
5
|
-
constructor();
|
|
4
|
+
export declare class RegisterReaderTopicComponentEvent extends FtContextRegistrationEvent<FtReaderTopicComponentInterface> {
|
|
5
|
+
constructor(detail: FtContextRegistrationEventDetails<FtReaderTopicComponentInterface>);
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementEventMap {
|
|
9
|
+
"register-ft-reader-topic-component": RegisterReaderTopicComponentEvent;
|
|
10
|
+
}
|
|
6
11
|
}
|
|
7
12
|
export type FtReaderTopicComponentInterface = {
|
|
8
13
|
tocNode?: FtReaderTocNode;
|
package/build/registration.js
CHANGED
|
@@ -5,11 +5,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { state } from "lit/decorators.js";
|
|
8
|
-
import { applyMixinOnce, } from "@fluid-topics/ft-wc-utils";
|
|
8
|
+
import { applyMixinOnce, FtContextRegistrationEvent, } from "@fluid-topics/ft-wc-utils";
|
|
9
9
|
import { FtReaderComponent } from "@fluid-topics/ft-reader-context/build/registration";
|
|
10
|
-
export class RegisterReaderTopicComponentEvent extends
|
|
11
|
-
constructor() {
|
|
12
|
-
super("register-ft-reader-topic-component",
|
|
10
|
+
export class RegisterReaderTopicComponentEvent extends FtContextRegistrationEvent {
|
|
11
|
+
constructor(detail) {
|
|
12
|
+
super("register-ft-reader-topic-component", detail);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
const registerInterval = Symbol("registerInterval");
|
|
@@ -31,7 +31,7 @@ export const toFtReaderTopicComponent = applyMixinOnce(Symbol("toFtReaderTopicCo
|
|
|
31
31
|
window.clearInterval(this[registerInterval]);
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
|
-
this.dispatchEvent(new RegisterReaderTopicComponentEvent());
|
|
34
|
+
this.dispatchEvent(new RegisterReaderTopicComponentEvent({ target: this }));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
disconnectedCallback() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-topic-context",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.34",
|
|
4
4
|
"description": "Context block for integrated reader topic components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-reader-context": "2.2.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "2.2.
|
|
24
|
-
"@fluid-topics/public-api": "1.0.
|
|
22
|
+
"@fluid-topics/ft-reader-context": "2.2.34",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "2.2.34",
|
|
24
|
+
"@fluid-topics/public-api": "1.0.147",
|
|
25
25
|
"lit": "3.3.3"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "06bd1b89cf0287ac152e755f505c3467d3cd57bc"
|
|
28
28
|
}
|