@fluid-topics/ft-reader-feedback 1.0.54 → 1.0.56
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/ft-reader-feedback.js +8 -4
- package/build/ft-reader-feedback.light.js +226 -210
- package/build/ft-reader-feedback.min.js +365 -349
- package/build/ft-reader-map-feedback.d.ts +1 -1
- package/build/ft-reader-map-feedback.js +2 -2
- package/build/ft-reader-topic-feedback.d.ts +1 -1
- package/build/ft-reader-topic-feedback.js +2 -2
- package/package.json +8 -5
|
@@ -29,7 +29,7 @@ export declare class FtReaderMapFeedback extends FtReaderMapFeedback_base implem
|
|
|
29
29
|
constructor();
|
|
30
30
|
protected render(): import("lit-html").TemplateResult<1>;
|
|
31
31
|
private get componentVisible();
|
|
32
|
-
protected
|
|
32
|
+
protected update(props: PropertyValues): void;
|
|
33
33
|
connectedCallback(): void;
|
|
34
34
|
onStoreAvailable(name?: string): void;
|
|
35
35
|
private updateDebouncer;
|
|
@@ -76,9 +76,9 @@ class FtReaderMapFeedback extends withI18n(FtReaderComponent) {
|
|
|
76
76
|
return (!!this.user && this.user.roles.includes("FEEDBACK_USER"))
|
|
77
77
|
|| (!!this.user && this.user.roles.includes("RATING_USER") && ((_a = this.ratingSummary) === null || _a === void 0 ? void 0 : _a.type) !== "NO_RATING");
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
update(props) {
|
|
80
80
|
var _a, _b, _c;
|
|
81
|
-
super.
|
|
81
|
+
super.update(props);
|
|
82
82
|
if (props.has("map") && this.map) {
|
|
83
83
|
this.updateData();
|
|
84
84
|
}
|
|
@@ -31,7 +31,7 @@ export declare class FtReaderTopicFeedback extends FtReaderTopicFeedback_base im
|
|
|
31
31
|
constructor();
|
|
32
32
|
protected render(): import("lit-html").TemplateResult<1>;
|
|
33
33
|
private get componentVisible();
|
|
34
|
-
protected
|
|
34
|
+
protected update(props: PropertyValues): void;
|
|
35
35
|
connectedCallback(): void;
|
|
36
36
|
private updateDebouncer;
|
|
37
37
|
private updateData;
|
|
@@ -76,9 +76,9 @@ class FtReaderTopicFeedback extends withI18n(FtReaderTopicComponent) {
|
|
|
76
76
|
return (!!this.user && this.user.roles.includes("FEEDBACK_USER"))
|
|
77
77
|
|| (!!this.user && this.user.roles.includes("RATING_USER") && ((_a = this.ratingSummary) === null || _a === void 0 ? void 0 : _a.type) !== "NO_RATING");
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
update(props) {
|
|
80
80
|
var _a, _b, _c;
|
|
81
|
-
super.
|
|
81
|
+
super.update(props);
|
|
82
82
|
if (["tocNode", "user"].some(p => props.has(p)) && this.tocNode) {
|
|
83
83
|
this.updateData();
|
|
84
84
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-feedback",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.56",
|
|
4
4
|
"description": "Feedback forms for a map and its topics in an integrated reader",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,10 +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": "1.0.
|
|
23
|
-
"@fluid-topics/ft-reader-context": "1.0.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-app-context": "1.0.56",
|
|
23
|
+
"@fluid-topics/ft-reader-context": "1.0.56",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "1.0.56",
|
|
25
25
|
"lit": "2.7.2"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@fluid-topics/public-api": "1.0.45"
|
|
29
|
+
},
|
|
30
|
+
"gitHead": "da00d6ea6bfc74fef8c6687f383355e35a26289b"
|
|
28
31
|
}
|