@coveops/abi 1.5.5 → 1.5.6
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.esm.js +1 -1
- package/dist/abi/p-c0436bc1.entry.js +1 -0
- package/dist/bundle/index.html +1 -0
- package/dist/bundle/index.js +86 -21
- package/dist/cjs/recs-results-manager.cjs.entry.js +11 -1
- package/dist/collection/components/recs-results-manager/recs-results-manager.js +15 -0
- package/dist/components/index.js +11 -1
- package/dist/esm/recs-results-manager.entry.js +11 -1
- package/package.json +1 -1
- package/src/components/recs-results-manager/AppTemplateRec.html +14 -0
- package/src/components/recs-results-manager/DocumentsTemplateRec.html +14 -0
- package/src/components/recs-results-manager/ELearningTemplateRec.html +14 -0
- package/src/components/recs-results-manager/KATemplateRec.html +14 -0
- package/src/components/recs-results-manager/SitePagesTemplateRec.html +14 -0
- package/src/components/recs-results-manager/recs-results-manager.tsx +21 -0
- package/src/pages/index.html +1 -0
- package/dist/abi/p-46d3f7f7.entry.js +0 -1
|
@@ -11,6 +11,16 @@ const QuickLinksRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;
|
|
|
11
11
|
|
|
12
12
|
const defaultRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n</style>\n<atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n</atomic-result-section-title>";
|
|
13
13
|
|
|
14
|
+
const SitePagesTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
15
|
+
|
|
16
|
+
const KATemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
17
|
+
|
|
18
|
+
const AppTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link href-template=\"${raw.sfppcustomlinkcpplinkurlc}\"><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
19
|
+
|
|
20
|
+
const ELearningTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
21
|
+
|
|
22
|
+
const DocumentsTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
23
|
+
|
|
14
24
|
const RecsResultsManager = class {
|
|
15
25
|
constructor(hostRef) {
|
|
16
26
|
index.registerInstance(this, hostRef);
|
|
@@ -19,7 +29,7 @@ const RecsResultsManager = class {
|
|
|
19
29
|
return atomic.waitForRecsAtomic();
|
|
20
30
|
}
|
|
21
31
|
render() {
|
|
22
|
-
return (index.h("atomic-recs-list", { "number-of-recommendations": "5" }, index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'FAQ' }, index.h("template", { innerHTML: FaqTemplateRec })), index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'Quick Links' }, index.h("template", { innerHTML: QuickLinksRec })), index.h("atomic-recs-result-template", null, index.h("template", { innerHTML: defaultRec }))));
|
|
32
|
+
return (index.h("atomic-recs-list", { "number-of-recommendations": "5" }, index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'FAQ' }, index.h("template", { innerHTML: FaqTemplateRec })), index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'Quick Links' }, index.h("template", { innerHTML: QuickLinksRec })), index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'Site Pages' }, index.h("template", { innerHTML: SitePagesTemplateRec })), index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'Knowledge Article' }, index.h("template", { innerHTML: KATemplateRec })), index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'Application' }, index.h("template", { innerHTML: AppTemplateRec })), index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'eLearning' }, index.h("template", { innerHTML: ELearningTemplateRec })), index.h("atomic-recs-result-template", { "must-match-abicontenttype": 'Documents' }, index.h("template", { innerHTML: DocumentsTemplateRec })), index.h("atomic-recs-result-template", null, index.h("template", { innerHTML: defaultRec }))));
|
|
23
33
|
}
|
|
24
34
|
};
|
|
25
35
|
|
|
@@ -3,6 +3,11 @@ import { waitForRecsAtomic } from "../../utils/atomic";
|
|
|
3
3
|
import FaqTemplateRec from "./FaqTemplateRec.html";
|
|
4
4
|
import QuickLinksRec from "./QuickLinksRec.html";
|
|
5
5
|
import defaultRec from "./defaultRec.html";
|
|
6
|
+
import SitePagesTemplateRec from "./SitePagesTemplateRec.html";
|
|
7
|
+
import KATemplateRec from "./KATemplateRec.html";
|
|
8
|
+
import AppTemplateRec from "./AppTemplateRec.html";
|
|
9
|
+
import ELearningTemplateRec from "./ELearningTemplateRec.html";
|
|
10
|
+
import DocumentsTemplateRec from "./DocumentsTemplateRec.html";
|
|
6
11
|
/**
|
|
7
12
|
* Component used to manage results & result templates.
|
|
8
13
|
* See https://docs.coveo.com/en/atomic/latest/usage/create-a-result-list/
|
|
@@ -17,6 +22,16 @@ export class RecsResultsManager {
|
|
|
17
22
|
h("template", { innerHTML: FaqTemplateRec })),
|
|
18
23
|
h("atomic-recs-result-template", { "must-match-abicontenttype": 'Quick Links' },
|
|
19
24
|
h("template", { innerHTML: QuickLinksRec })),
|
|
25
|
+
h("atomic-recs-result-template", { "must-match-abicontenttype": 'Site Pages' },
|
|
26
|
+
h("template", { innerHTML: SitePagesTemplateRec })),
|
|
27
|
+
h("atomic-recs-result-template", { "must-match-abicontenttype": 'Knowledge Article' },
|
|
28
|
+
h("template", { innerHTML: KATemplateRec })),
|
|
29
|
+
h("atomic-recs-result-template", { "must-match-abicontenttype": 'Application' },
|
|
30
|
+
h("template", { innerHTML: AppTemplateRec })),
|
|
31
|
+
h("atomic-recs-result-template", { "must-match-abicontenttype": 'eLearning' },
|
|
32
|
+
h("template", { innerHTML: ELearningTemplateRec })),
|
|
33
|
+
h("atomic-recs-result-template", { "must-match-abicontenttype": 'Documents' },
|
|
34
|
+
h("template", { innerHTML: DocumentsTemplateRec })),
|
|
20
35
|
h("atomic-recs-result-template", null,
|
|
21
36
|
h("template", { innerHTML: defaultRec }))));
|
|
22
37
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -3316,6 +3316,16 @@ const QuickLinksRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;
|
|
|
3316
3316
|
|
|
3317
3317
|
const defaultRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n</style>\n<atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n</atomic-result-section-title>";
|
|
3318
3318
|
|
|
3319
|
+
const SitePagesTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
3320
|
+
|
|
3321
|
+
const KATemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
3322
|
+
|
|
3323
|
+
const AppTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link href-template=\"${raw.sfppcustomlinkcpplinkurlc}\"><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
3324
|
+
|
|
3325
|
+
const ELearningTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
3326
|
+
|
|
3327
|
+
const DocumentsTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
3328
|
+
|
|
3319
3329
|
const RecsResultsManager$1 = class extends H {
|
|
3320
3330
|
constructor() {
|
|
3321
3331
|
super();
|
|
@@ -3325,7 +3335,7 @@ const RecsResultsManager$1 = class extends H {
|
|
|
3325
3335
|
return waitForRecsAtomic();
|
|
3326
3336
|
}
|
|
3327
3337
|
render() {
|
|
3328
|
-
return (h("atomic-recs-list", { "number-of-recommendations": "5" }, h("atomic-recs-result-template", { "must-match-abicontenttype": 'FAQ' }, h("template", { innerHTML: FaqTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Quick Links' }, h("template", { innerHTML: QuickLinksRec })), h("atomic-recs-result-template", null, h("template", { innerHTML: defaultRec }))));
|
|
3338
|
+
return (h("atomic-recs-list", { "number-of-recommendations": "5" }, h("atomic-recs-result-template", { "must-match-abicontenttype": 'FAQ' }, h("template", { innerHTML: FaqTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Quick Links' }, h("template", { innerHTML: QuickLinksRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Site Pages' }, h("template", { innerHTML: SitePagesTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Knowledge Article' }, h("template", { innerHTML: KATemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Application' }, h("template", { innerHTML: AppTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'eLearning' }, h("template", { innerHTML: ELearningTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Documents' }, h("template", { innerHTML: DocumentsTemplateRec })), h("atomic-recs-result-template", null, h("template", { innerHTML: defaultRec }))));
|
|
3329
3339
|
}
|
|
3330
3340
|
};
|
|
3331
3341
|
|
|
@@ -7,6 +7,16 @@ const QuickLinksRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;
|
|
|
7
7
|
|
|
8
8
|
const defaultRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n</style>\n<atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n</atomic-result-section-title>";
|
|
9
9
|
|
|
10
|
+
const SitePagesTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
11
|
+
|
|
12
|
+
const KATemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
13
|
+
|
|
14
|
+
const AppTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link href-template=\"${raw.sfppcustomlinkcpplinkurlc}\"><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
15
|
+
|
|
16
|
+
const ELearningTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
17
|
+
|
|
18
|
+
const DocumentsTemplateRec = "<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n </style>\n <atomic-result-section-title>\n <atomic-result-link><a slot=\"attributes\" target=\"_blank\"></a>\n </atomic-result-link>\n <hr>\n </atomic-result-section-title>";
|
|
19
|
+
|
|
10
20
|
const RecsResultsManager = class {
|
|
11
21
|
constructor(hostRef) {
|
|
12
22
|
registerInstance(this, hostRef);
|
|
@@ -15,7 +25,7 @@ const RecsResultsManager = class {
|
|
|
15
25
|
return waitForRecsAtomic();
|
|
16
26
|
}
|
|
17
27
|
render() {
|
|
18
|
-
return (h("atomic-recs-list", { "number-of-recommendations": "5" }, h("atomic-recs-result-template", { "must-match-abicontenttype": 'FAQ' }, h("template", { innerHTML: FaqTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Quick Links' }, h("template", { innerHTML: QuickLinksRec })), h("atomic-recs-result-template", null, h("template", { innerHTML: defaultRec }))));
|
|
28
|
+
return (h("atomic-recs-list", { "number-of-recommendations": "5" }, h("atomic-recs-result-template", { "must-match-abicontenttype": 'FAQ' }, h("template", { innerHTML: FaqTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Quick Links' }, h("template", { innerHTML: QuickLinksRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Site Pages' }, h("template", { innerHTML: SitePagesTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Knowledge Article' }, h("template", { innerHTML: KATemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Application' }, h("template", { innerHTML: AppTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'eLearning' }, h("template", { innerHTML: ELearningTemplateRec })), h("atomic-recs-result-template", { "must-match-abicontenttype": 'Documents' }, h("template", { innerHTML: DocumentsTemplateRec })), h("atomic-recs-result-template", null, h("template", { innerHTML: defaultRec }))));
|
|
19
29
|
}
|
|
20
30
|
};
|
|
21
31
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
atomic-result-link a {
|
|
3
|
+
font-size: 1.3rem;
|
|
4
|
+
color: #626971 !important;
|
|
5
|
+
}
|
|
6
|
+
hr {
|
|
7
|
+
margin-top: 10px !important;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<atomic-result-section-title>
|
|
11
|
+
<atomic-result-link href-template='${raw.sfppcustomlinkcpplinkurlc}'><a slot="attributes" target="_blank"></a>
|
|
12
|
+
</atomic-result-link>
|
|
13
|
+
<hr/>
|
|
14
|
+
</atomic-result-section-title>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
atomic-result-link a {
|
|
3
|
+
font-size: 1.3rem;
|
|
4
|
+
color: #626971 !important;
|
|
5
|
+
}
|
|
6
|
+
hr {
|
|
7
|
+
margin-top: 10px !important;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<atomic-result-section-title>
|
|
11
|
+
<atomic-result-link><a slot="attributes" target="_blank"></a>
|
|
12
|
+
</atomic-result-link>
|
|
13
|
+
<hr/>
|
|
14
|
+
</atomic-result-section-title>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
atomic-result-link a {
|
|
3
|
+
font-size: 1.3rem;
|
|
4
|
+
color: #626971 !important;
|
|
5
|
+
}
|
|
6
|
+
hr {
|
|
7
|
+
margin-top: 10px !important;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<atomic-result-section-title>
|
|
11
|
+
<atomic-result-link><a slot="attributes" target="_blank"></a>
|
|
12
|
+
</atomic-result-link>
|
|
13
|
+
<hr/>
|
|
14
|
+
</atomic-result-section-title>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
atomic-result-link a {
|
|
3
|
+
font-size: 1.3rem;
|
|
4
|
+
color: #626971 !important;
|
|
5
|
+
}
|
|
6
|
+
hr {
|
|
7
|
+
margin-top: 10px !important;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<atomic-result-section-title>
|
|
11
|
+
<atomic-result-link><a slot="attributes" target="_blank"></a>
|
|
12
|
+
</atomic-result-link>
|
|
13
|
+
<hr/>
|
|
14
|
+
</atomic-result-section-title>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
atomic-result-link a {
|
|
3
|
+
font-size: 1.3rem;
|
|
4
|
+
color: #626971 !important;
|
|
5
|
+
}
|
|
6
|
+
hr {
|
|
7
|
+
margin-top: 10px !important;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
<atomic-result-section-title>
|
|
11
|
+
<atomic-result-link><a slot="attributes" target="_blank"></a>
|
|
12
|
+
</atomic-result-link>
|
|
13
|
+
<hr/>
|
|
14
|
+
</atomic-result-section-title>
|
|
@@ -4,7 +4,12 @@ import FaqTemplateRec from "./FaqTemplateRec.html";
|
|
|
4
4
|
import QuickLinksRec from "./QuickLinksRec.html";
|
|
5
5
|
import defaultRec from "./defaultRec.html";
|
|
6
6
|
|
|
7
|
+
import SitePagesTemplateRec from "./SitePagesTemplateRec.html";
|
|
8
|
+
import KATemplateRec from "./KATemplateRec.html";
|
|
7
9
|
|
|
10
|
+
import AppTemplateRec from "./AppTemplateRec.html";
|
|
11
|
+
import ELearningTemplateRec from "./ELearningTemplateRec.html";
|
|
12
|
+
import DocumentsTemplateRec from "./DocumentsTemplateRec.html";
|
|
8
13
|
/**
|
|
9
14
|
* Component used to manage results & result templates.
|
|
10
15
|
* See https://docs.coveo.com/en/atomic/latest/usage/create-a-result-list/
|
|
@@ -29,6 +34,22 @@ export class RecsResultsManager {
|
|
|
29
34
|
<atomic-recs-result-template must-match-abicontenttype='Quick Links'>
|
|
30
35
|
<template innerHTML={QuickLinksRec}></template>
|
|
31
36
|
</atomic-recs-result-template>
|
|
37
|
+
<atomic-recs-result-template must-match-abicontenttype='Site Pages'>
|
|
38
|
+
<template innerHTML={SitePagesTemplateRec}></template>
|
|
39
|
+
</atomic-recs-result-template>
|
|
40
|
+
<atomic-recs-result-template must-match-abicontenttype='Knowledge Article'>
|
|
41
|
+
<template innerHTML={KATemplateRec}></template>
|
|
42
|
+
</atomic-recs-result-template>
|
|
43
|
+
<atomic-recs-result-template must-match-abicontenttype='Application'>
|
|
44
|
+
<template innerHTML={AppTemplateRec}></template>
|
|
45
|
+
</atomic-recs-result-template>
|
|
46
|
+
<atomic-recs-result-template must-match-abicontenttype='eLearning'>
|
|
47
|
+
<template innerHTML={ELearningTemplateRec}></template>
|
|
48
|
+
</atomic-recs-result-template>
|
|
49
|
+
<atomic-recs-result-template must-match-abicontenttype='Documents'>
|
|
50
|
+
<template innerHTML={DocumentsTemplateRec}></template>
|
|
51
|
+
</atomic-recs-result-template>
|
|
52
|
+
|
|
32
53
|
<atomic-recs-result-template>
|
|
33
54
|
<template innerHTML={defaultRec}></template>
|
|
34
55
|
</atomic-recs-result-template>
|
package/src/pages/index.html
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as n}from"./p-c10b6b7f.js";import{a as e}from"./p-c82303fb.js";const o=class{constructor(n){t(this,n)}async componentWillLoad(){return e()}render(){return n("atomic-recs-list",{"number-of-recommendations":"5"},n("atomic-recs-result-template",{"must-match-abicontenttype":"FAQ"},n("template",{innerHTML:"\n<style>\n atomic-result-link{\n font-size: 1.3rem !important;\n color: #626971 !important;\n }\n faq-popup-component{\n font-size: 1.3rem; color: #626971 !important; \n }\n faq-popup-component:hover{\n text-decoration: underline; \n }\n hr {\n margin-top: 10px !important;\n }\n</style> \n<faq-popup-component></faq-popup-component>\n<hr>\n "})),n("atomic-recs-result-template",{"must-match-abicontenttype":"Quick Links"},n("template",{innerHTML:'<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n</style>\n\n\n<atomic-result-section-title>\n <atomic-result-link href-template="${raw.sfppcustomlinkcpplinkurlc}"><a slot="attributes" target="_blank"></a>\n </atomic-result-link>\n <hr>\n</atomic-result-section-title>'})),n("atomic-recs-result-template",null,n("template",{innerHTML:'<style>\n atomic-result-link a {\n font-size: 1.3rem;\n color: #626971 !important;\n }\n hr {\n margin-top: 10px !important;\n }\n</style>\n<atomic-result-section-title>\n <atomic-result-link><a slot="attributes" target="_blank"></a>\n </atomic-result-link>\n <hr>\n</atomic-result-section-title>'})))}};export{o as recs_results_manager}
|