@coveops/abi 0.5.2 → 0.7.0
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/dist/abi/abi.css +1 -1
- package/dist/abi/abi.esm.js +1 -1
- package/dist/abi/images/Default.png +0 -0
- package/dist/abi/images/Documents.png +0 -0
- package/dist/abi/images/FAQ.png +0 -0
- package/dist/abi/images/Images.png +0 -0
- package/dist/abi/images/Link.png +0 -0
- package/dist/abi/images/Movies.png +0 -0
- package/dist/abi/images/ProcessPeople.png +0 -0
- package/dist/abi/{p-b62c5f66.entry.js → p-24a5774b.entry.js} +1 -1
- package/dist/abi/p-3d7bc0f4.entry.js +1 -0
- package/dist/abi/p-5581aa22.entry.js +1 -0
- package/dist/bundle/index.css +1 -1
- package/dist/bundle/index.html +2 -2
- package/dist/bundle/index.js +441 -283
- package/dist/cjs/faq-popup-component.cjs.entry.js +8 -0
- package/dist/cjs/results-manager.cjs.entry.js +10 -10
- package/dist/cjs/strip-html-component.cjs.entry.js +1 -1
- package/dist/collection/components/faq-popup-component/faq-popup-component.css +0 -12
- package/dist/collection/components/faq-popup-component/faq-popup-component.js +8 -0
- package/dist/collection/components/strip-html-component/strip-html-component.js +1 -1
- package/dist/collection/images/Default.png +0 -0
- package/dist/collection/images/Documents.png +0 -0
- package/dist/collection/images/FAQ.png +0 -0
- package/dist/collection/images/Images.png +0 -0
- package/dist/collection/images/Link.png +0 -0
- package/dist/collection/images/Movies.png +0 -0
- package/dist/collection/images/ProcessPeople.png +0 -0
- package/dist/components/index.js +19 -11
- package/dist/esm/faq-popup-component.entry.js +8 -0
- package/dist/esm/results-manager.entry.js +10 -10
- package/dist/esm/strip-html-component.entry.js +1 -1
- package/package.json +1 -1
- package/src/components/faq-popup-component/faq-popup-component.css +0 -12
- package/src/components/faq-popup-component/faq-popup-component.tsx +12 -0
- package/src/components/results-manager/AppTemplate.html +18 -12
- package/src/components/results-manager/DocumentsTemplate.html +63 -27
- package/src/components/results-manager/ELearningTemplate.html +23 -14
- package/src/components/results-manager/FAQTemplate.html +48 -30
- package/src/components/results-manager/KATemplate.html +42 -27
- package/src/components/results-manager/MediaTemplate.html +26 -16
- package/src/components/results-manager/PeopleTemplate.html +13 -8
- package/src/components/results-manager/QuickLinksTemplate.html +14 -14
- package/src/components/results-manager/SitePagesTemplate.html +40 -18
- package/src/components/results-manager/template-1.html +21 -22
- package/src/components/strip-html-component/strip-html-component.tsx +1 -1
- package/src/images/Default.png +0 -0
- package/src/images/Documents.png +0 -0
- package/src/images/FAQ.png +0 -0
- package/src/images/Images.png +0 -0
- package/src/images/Link.png +0 -0
- package/src/images/Movies.png +0 -0
- package/src/images/ProcessPeople.png +0 -0
- package/src/pages/index.html +2 -2
- package/src/style/index.css +4 -1
- package/stencil.config.ts +5 -0
- package/dist/abi/p-5a5f74eb.entry.js +0 -1
- package/dist/abi/p-f23dd119.entry.js +0 -1
|
@@ -51,7 +51,7 @@ const StripHtmlComponent = class {
|
|
|
51
51
|
if (typeof description === 'string') {
|
|
52
52
|
strippedString = this.stripHtmlAndEntities(description);
|
|
53
53
|
}
|
|
54
|
-
return (index.h("div", { style: { fontSize: "
|
|
54
|
+
return (index.h("div", { style: { fontSize: "1.3rem", maxHeight: "none", lineHeight: "normal" } }, strippedString));
|
|
55
55
|
}
|
|
56
56
|
get host() { return index.getElement(this); }
|
|
57
57
|
};
|
|
@@ -16,6 +16,9 @@ export class FaqPopupComponent {
|
|
|
16
16
|
this.bindings = await initializeBindings(this.host);
|
|
17
17
|
this.result = await resultContext(this.host);
|
|
18
18
|
this.modalElement = (_a = this.bindings) === null || _a === void 0 ? void 0 : _a.interfaceElement.querySelector('#faq-modal');
|
|
19
|
+
if (this.result && localStorage.getItem(`visited-${this.result.title}`)) {
|
|
20
|
+
this.host.classList.add('visited-title');
|
|
21
|
+
}
|
|
19
22
|
}
|
|
20
23
|
catch (error) {
|
|
21
24
|
console.error(error);
|
|
@@ -64,6 +67,11 @@ export class FaqPopupComponent {
|
|
|
64
67
|
bodySlot.appendChild(linkElement);
|
|
65
68
|
this.modalElement.querySelector('#faq-modal-close').addEventListener('click', this.closeFAQModal);
|
|
66
69
|
this.modalElement.setAttribute('is-open', 'true');
|
|
70
|
+
if (this.result) {
|
|
71
|
+
localStorage.setItem(`visited-${this.result.title}`, 'true');
|
|
72
|
+
}
|
|
73
|
+
// Add the class to change color
|
|
74
|
+
this.host.classList.add('visited-title');
|
|
67
75
|
}
|
|
68
76
|
render() {
|
|
69
77
|
if (!this.result) {
|
|
@@ -47,7 +47,7 @@ export class StripHtmlComponent {
|
|
|
47
47
|
if (typeof description === 'string') {
|
|
48
48
|
strippedString = this.stripHtmlAndEntities(description);
|
|
49
49
|
}
|
|
50
|
-
return (h("div", { style: { fontSize: "
|
|
50
|
+
return (h("div", { style: { fontSize: "1.3rem", maxHeight: "none", lineHeight: "normal" } }, strippedString));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "strip-html-component"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|