@coveops/abi 0.5.1 → 0.6.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/index.esm.js +1 -1
- package/dist/abi/p-1cbc472e.entry.js +1 -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/bundle/index.css +1 -1
- package/dist/bundle/index.html +3 -4
- package/dist/bundle/index.js +448 -290
- package/dist/cjs/faq-popup-component.cjs.entry.js +8 -0
- package/dist/cjs/index.cjs.js +12 -1
- 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/collection/index.js +11 -0
- package/dist/components/index.js +31 -12
- package/dist/esm/faq-popup-component.entry.js +8 -0
- package/dist/esm/index.js +12 -1
- 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/index.ts +11 -0
- package/src/pages/index.html +3 -4
- package/src/style/index.css +24 -9
- package/stencil.config.ts +5 -0
- package/dist/abi/p-5a5f74eb.entry.js +0 -1
- package/dist/abi/p-f23dd119.entry.js +0 -1
| @@ -8,40 +8,50 @@ | |
| 8 8 | 
             
                font-weight: bold;
         | 
| 9 9 | 
             
                margin-right: 0.25rem;
         | 
| 10 10 | 
             
              }
         | 
| 11 | 
            -
              atomic-result-section-excerpt{
         | 
| 12 | 
            -
                 | 
| 11 | 
            +
              atomic-result-section-excerpt {
         | 
| 12 | 
            +
                font-size: 1.3rem !important;
         | 
| 13 | 
            +
                margin-top: 2px !important;
         | 
| 14 | 
            +
                max-height: unset !important;
         | 
| 15 | 
            +
                line-height: normal !important;
         | 
| 13 16 | 
             
              }
         | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
              }
         | 
| 17 | 
            -
              atomic-result-section-bottom-metadata{
         | 
| 17 | 
            +
             | 
| 18 | 
            +
              atomic-result-section-bottom-metadata {
         | 
| 18 19 | 
             
                margin-top: 2px;
         | 
| 20 | 
            +
                font-size: 1rem !important;
         | 
| 21 | 
            +
                color: #A6A6A6 !important;
         | 
| 19 22 | 
             
              }
         | 
| 20 23 |  | 
| 24 | 
            +
             | 
| 21 25 | 
             
              atomic-result-section-title a {
         | 
| 22 | 
            -
                color: # | 
| 23 | 
            -
                font-size:  | 
| 24 | 
            -
             | 
| 26 | 
            +
                color: #CAA144 !important;
         | 
| 27 | 
            +
                font-size: 1.7rem !important;
         | 
| 28 | 
            +
                    max-height: unset !important;
         | 
| 29 | 
            +
                line-height: normal !important;
         | 
| 25 30 | 
             
              }
         | 
| 26 31 |  | 
| 27 | 
            -
              atomic-result- | 
| 28 | 
            -
                color:  | 
| 32 | 
            +
              atomic-result-section-title a:visited {
         | 
| 33 | 
            +
                color: black !important;
         | 
| 29 34 | 
             
              }
         | 
| 30 35 | 
             
              atomic-result-section-visual {
         | 
| 31 | 
            -
                    width:  | 
| 36 | 
            +
                    width: 3rem !important;
         | 
| 32 37 | 
             
                    height: 5rem !important;
         | 
| 38 | 
            +
                    display: grid;
         | 
| 39 | 
            +
                    align-items: center;
         | 
| 40 | 
            +
                    justify-content: center;
         | 
| 33 41 |  | 
| 34 42 | 
             
                }
         | 
| 35 43 | 
             
            </style>
         | 
| 36 44 |  | 
| 37 45 | 
             
            <atomic-result-section-visual>
         | 
| 38 46 | 
             
              <atomic-field-condition class="field" must-match-filetype="mp4,wmv,avi,MOV,flv,mkv,webm,ogg,ogv,m4v">
         | 
| 39 | 
            -
                < | 
| 40 | 
            -
                < | 
| 47 | 
            +
                <img src="../images/Images.png" alt="Image" />
         | 
| 48 | 
            +
                <!-- <atomic-icon class="icon"></atomic-icon>
         | 
| 49 | 
            +
                <img src="https://abiglobal--c.vf.force.com/resource/PP_Coveo/img/Movies.png" class="thumbnail"> -->
         | 
| 41 50 | 
             
              </atomic-field-condition>
         | 
| 42 51 | 
             
              <atomic-field-condition class="field" must-match-filetype="gif,jpeg,jpg,png,bmp,Image,mp3,mp4,wmv,avi,MOV,flv,mkv,webm,ogg,ogv,m4v">
         | 
| 43 | 
            -
                < | 
| 44 | 
            -
                < | 
| 52 | 
            +
                <img src="../images/Movies.png" alt="Image" />
         | 
| 53 | 
            +
                <!-- <atomic-icon class="icon"></atomic-icon>
         | 
| 54 | 
            +
                <img src="https://abiglobal--c.vf.force.com/resource/PP_Coveo/img/Images.png" class="thumbnail"> -->
         | 
| 45 55 | 
             
              </atomic-field-condition>
         | 
| 46 56 |  | 
| 47 57 | 
             
            </atomic-result-section-visual>
         | 
| @@ -9,22 +9,27 @@ | |
| 9 9 | 
             
                margin-right: 0.25rem;
         | 
| 10 10 | 
             
              }
         | 
| 11 11 |  | 
| 12 | 
            -
              atomic-result-section-bottom-metadata{
         | 
| 12 | 
            +
              atomic-result-section-bottom-metadata {
         | 
| 13 13 | 
             
                display: grid;
         | 
| 14 14 | 
             
                grid-template-columns: 1fr 1fr;
         | 
| 15 | 
            +
                font-size: 1.3rem;
         | 
| 15 16 | 
             
                width: 100%;
         | 
| 16 17 | 
             
                margin-top: 2px;
         | 
| 17 18 | 
             
                max-height: 25rem !important;
         | 
| 18 19 | 
             
              }
         | 
| 19 | 
            -
             | 
| 20 | 
            -
                margin-top:2px !important;
         | 
| 21 | 
            -
              }
         | 
| 20 | 
            +
             | 
| 22 21 | 
             
              atomic-result-section-title{
         | 
| 23 | 
            -
                color: # | 
| 24 | 
            -
                font-size:  | 
| 25 | 
            -
                 | 
| 22 | 
            +
                color: #CAA144 !important;
         | 
| 23 | 
            +
                font-size: 1.7rem !important;
         | 
| 24 | 
            +
                max-height: unset !important;
         | 
| 25 | 
            +
                line-height: normal !important;
         | 
| 26 26 | 
             
              }
         | 
| 27 | 
            -
             | 
| 27 | 
            +
              atomic-result-section-visual {
         | 
| 28 | 
            +
                    width: 3rem !important;
         | 
| 29 | 
            +
                    height: 5rem !important;
         | 
| 30 | 
            +
                    display: grid;
         | 
| 31 | 
            +
                    align-items: center;
         | 
| 32 | 
            +
                }
         | 
| 28 33 | 
             
            </style>
         | 
| 29 34 |  | 
| 30 35 | 
             
            <atomic-result-section-visual>
         | 
| @@ -15,9 +15,10 @@ | |
| 15 15 | 
             
              }
         | 
| 16 16 |  | 
| 17 17 | 
             
              atomic-result-section-title a {
         | 
| 18 | 
            -
                color: # | 
| 19 | 
            -
                font-size:  | 
| 20 | 
            -
                 | 
| 18 | 
            +
                color: #CAA144 !important;
         | 
| 19 | 
            +
                font-size: 1.7rem !important;
         | 
| 20 | 
            +
                max-height: unset !important;
         | 
| 21 | 
            +
                line-height: normal !important;
         | 
| 21 22 | 
             
              }
         | 
| 22 23 |  | 
| 23 24 | 
             
              atomic-result-section-excerpt {
         | 
| @@ -25,15 +26,11 @@ | |
| 25 26 | 
             
                margin-top: 2px !important;
         | 
| 26 27 | 
             
              }
         | 
| 27 28 |  | 
| 28 | 
            -
              atomic-result- | 
| 29 | 
            -
                color:  | 
| 29 | 
            +
              atomic-result-section-title a:visited {
         | 
| 30 | 
            +
                color: black !important;
         | 
| 30 31 |  | 
| 31 32 | 
             
              }
         | 
| 32 33 |  | 
| 33 | 
            -
              atomic-result-link a:visited {
         | 
| 34 | 
            -
                color: #45130f !important;
         | 
| 35 | 
            -
             | 
| 36 | 
            -
              }
         | 
| 37 34 |  | 
| 38 35 | 
             
              atomic-result-section-visual {
         | 
| 39 36 | 
             
                width: 4rem;
         | 
| @@ -42,22 +39,25 @@ | |
| 42 39 | 
             
              }
         | 
| 43 40 |  | 
| 44 41 | 
             
              atomic-result-section-visual {
         | 
| 45 | 
            -
                    width:  | 
| 42 | 
            +
                    width: 3rem !important;
         | 
| 46 43 | 
             
                    height: 5rem !important;
         | 
| 47 | 
            -
             | 
| 44 | 
            +
                    display: grid;
         | 
| 45 | 
            +
                    align-items: center;
         | 
| 48 46 | 
             
                }
         | 
| 49 47 | 
             
            </style>
         | 
| 50 48 |  | 
| 51 49 | 
             
            <atomic-result-section-visual>
         | 
| 52 | 
            -
              <atomic-icon class="icon"></atomic-icon>
         | 
| 53 | 
            -
              <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="38" height="35" viewBox="0 0 60 50">
         | 
| 50 | 
            +
              <!-- <atomic-icon class="icon"></atomic-icon> -->
         | 
| 51 | 
            +
              <!-- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="38" height="35" viewBox="0 0 60 50">
         | 
| 54 52 | 
             
                <path d="M0 0 C0.8245166 -0.00478363 1.6490332 -0.00956726 2.49853516 -0.01449585 C4.23667313 -0.01788872 5.97487544 -0.00872903 7.71289062 0.01220703 C10.36733825 0.03898521 13.01755825 0.01244254 15.671875 -0.01953125 C17.36459263 -0.01622704 19.05730763 -0.00982056 20.75 0 C21.93456787 -0.01518173 21.93456787 -0.01518173 23.14306641 -0.03067017 C27.11276955 0.05339275 28.99170918 0.40801499 32.37255859 2.66650391 C35.0441572 6.66575868 35.09944932 9.57732793 35.0390625 14.2890625 C35.04384613 15.1135791 35.04862976 15.9380957 35.05355835 16.78759766 C35.05695122 18.52573563 35.04779153 20.26393794 35.02685547 22.00195312 C35.00007729 24.65640075 35.02661996 27.30662075 35.05859375 29.9609375 C35.05528954 31.65365513 35.04888306 33.34637013 35.0390625 35.0390625 C35.04918365 35.82877441 35.05930481 36.61848633 35.06973267 37.43212891 C34.98566975 41.40183205 34.63104751 43.28077168 32.37255859 46.66162109 C28.37330382 49.3332197 25.46173457 49.38851182 20.75 49.328125 C19.5132251 49.33530045 19.5132251 49.33530045 18.25146484 49.34262085 C16.51332687 49.34601372 14.77512456 49.33685403 13.03710938 49.31591797 C10.38266175 49.28913979 7.73244175 49.31568246 5.078125 49.34765625 C3.38540737 49.34435204 1.69269237 49.33794556 0 49.328125 C-0.78971191 49.33824615 -1.57942383 49.34836731 -2.39306641 49.35879517 C-6.36276955 49.27473225 -8.24170918 48.92011001 -11.62255859 46.66162109 C-14.2941572 42.66236632 -14.34944932 39.75079707 -14.2890625 35.0390625 C-14.29384613 34.2145459 -14.29862976 33.3900293 -14.30355835 32.54052734 C-14.30695122 30.80238937 -14.29779153 29.06418706 -14.27685547 27.32617188 C-14.25007729 24.67172425 -14.27661996 22.02150425 -14.30859375 19.3671875 C-14.30528954 17.67446987 -14.29888306 15.98175487 -14.2890625 14.2890625 C-14.29918365 13.49935059 -14.30930481 12.70963867 -14.31973267 11.89599609 C-14.23566975 7.92629295 -13.88104751 6.04735332 -11.62255859 2.66650391 C-7.62330382 -0.0050947 -4.71173457 -0.06038682 0 0 Z " fill="#090909" transform="translate(13.625,-0.6640625)"></path>
         | 
| 55 53 | 
             
                <path d="M0 0 C5.60625406 3.00563431 11.18661116 6.05492007 16.6875 9.25 C17.51636719 9.72953125 18.34523438 10.2090625 19.19921875 10.703125 C19.79347656 11.13109375 20.38773438 11.5590625 21 12 C21 12.66 21 13.32 21 14 C19.02 14.99 19.02 14.99 17 16 C18.32 17.32 19.64 18.64 21 20 C19.95125002 22.62187494 19.35068687 23.79371361 16.875 25.25 C16.25625 25.4975 15.6375 25.745 15 26 C13.02 24.35 11.04 22.7 9 21 C8.34 21.99 7.68 22.98 7 24 C6.34 24 5.68 24 5 24 C4.35284867 21.9170757 3.70732834 19.83364461 3.0625 17.75 C2.70285156 16.58984375 2.34320312 15.4296875 1.97265625 14.234375 C0.46331884 9.2153735 -0.10177317 5.29220494 0 0 Z " fill="#DCDCDC" transform="translate(19,16)"></path>
         | 
| 56 54 | 
             
                <path d="M0 0 C3.81275879 1.52510352 6.86017055 3.00757127 10.3125 5.125 C11.19550781 5.66382813 12.07851563 6.20265625 12.98828125 6.7578125 C13.65214844 7.16773438 14.31601562 7.57765625 15 8 C13.02 8.99 13.02 8.99 11 10 C11.845625 10.928125 12.69125 11.85625 13.5625 12.8125 C15.00390625 14.39453125 15.00390625 14.39453125 16 16 C15.67 16.99 15.34 17.98 15 19 C12.33333333 17.66666667 9.66666667 16.33333333 7 15 C6.01 15.66 5.02 16.32 4 17 C2.68 11.39 1.36 5.78 0 0 Z " fill="#070707" transform="translate(21,20)"></path>
         | 
| 57 55 | 
             
                <path d="M0 0 C1.98 0.99 1.98 0.99 4 2 C3.8040625 2.53625 3.608125 3.0725 3.40625 3.625 C2.86836562 6.76955484 3.61487629 8.94784926 4.5 12 C6.33802817 18.33802817 6.33802817 18.33802817 5 22 C0.80891282 15.71336924 -0.50995408 7.47932645 0 0 Z " fill="#C9C9C9" transform="translate(19,16)"></path>
         | 
| 58 56 | 
             
                <path d="M0 0 C3.43595166 1.52708963 6.11912454 3.59927045 9 6 C8.01 6.66 7.02 7.32 6 8 C4.02 6.35 2.04 4.7 0 3 C-0.99 4.485 -0.99 4.485 -2 6 C-2.66 6 -3.32 6 -4 6 C-4 5.01 -4 4.02 -4 3 C-2 1.3125 -2 1.3125 0 0 Z " fill="#DFDFDF" transform="translate(28,34)"></path>
         | 
| 59 57 | 
             
                <path d="M0 0 C1 3 1 3 1 5 C2.45833358 6.62514468 2.45833358 6.62514468 4 8 C3.34 9.32 2.68 10.64 2 12 C0.00449854 10.00449854 -0.81376393 8.52075165 -2 6 C-2.37125 5.2575 -2.7425 4.515 -3.125 3.75 C-3.41375 3.1725 -3.7025 2.595 -4 2 C-2.68 1.34 -1.36 0.68 0 0 Z " fill="#C6C6C6" transform="translate(36,28)"></path>
         | 
| 60 | 
            -
                </svg>
         | 
| 58 | 
            +
                </svg> -->
         | 
| 59 | 
            +
                <img src="../images/ProcessPeople.png" alt="Image" />
         | 
| 60 | 
            +
             | 
| 61 61 | 
             
            </atomic-result-section-visual>
         | 
| 62 62 |  | 
| 63 63 | 
             
            <atomic-result-section-title>
         | 
| @@ -14,24 +14,31 @@ | |
| 14 14 | 
             
                grid-template-columns: 3fr 1fr;
         | 
| 15 15 | 
             
              }
         | 
| 16 16 |  | 
| 17 | 
            +
              atomic-result-section-title a:visited {
         | 
| 18 | 
            +
                color: black !important;
         | 
| 19 | 
            +
             | 
| 20 | 
            +
              }
         | 
| 17 21 | 
             
              atomic-result-section-excerpt {
         | 
| 18 | 
            -
                font-size:  | 
| 22 | 
            +
                font-size: 1.3rem !important;
         | 
| 19 23 | 
             
                margin-top:2px !important;
         | 
| 24 | 
            +
                max-height: unset !important;
         | 
| 25 | 
            +
                line-height: normal !important;
         | 
| 20 26 | 
             
              }
         | 
| 21 27 |  | 
| 22 | 
            -
              atomic-result-link a:visited {
         | 
| 23 | 
            -
                color: #45130f !important;
         | 
| 24 | 
            -
             | 
| 25 | 
            -
              }
         | 
| 26 28 | 
             
              atomic-result-section-bottom-metadata a{
         | 
| 27 | 
            -
                color:  | 
| 29 | 
            +
                color: #A6A6A6 !important;
         | 
| 28 30 | 
             
              }
         | 
| 29 31 |  | 
| 30 32 | 
             
              atomic-result-section-bottom-metadata {
         | 
| 33 | 
            +
                color: #A6A6A6 !important;
         | 
| 31 34 | 
             
                margin-right: 3px;
         | 
| 32 35 | 
             
                margin-right: 2px;
         | 
| 33 | 
            -
                font-size:  | 
| 36 | 
            +
                font-size: 1rem !important;
         | 
| 34 37 | 
             
                line-height: 18px !important;
         | 
| 38 | 
            +
                display: grid;
         | 
| 39 | 
            +
                grid-template-columns: auto auto auto;
         | 
| 40 | 
            +
                gap: 1rem;
         | 
| 41 | 
            +
                align-items: center;
         | 
| 35 42 | 
             
              }
         | 
| 36 43 |  | 
| 37 44 | 
             
              atomic-result-date {
         | 
| @@ -40,21 +47,30 @@ | |
| 40 47 | 
             
              }
         | 
| 41 48 |  | 
| 42 49 | 
             
              atomic-result-section-title a {
         | 
| 43 | 
            -
                color: # | 
| 44 | 
            -
                font-size:  | 
| 45 | 
            -
                 | 
| 50 | 
            +
                color: #CAA144 !important;
         | 
| 51 | 
            +
                font-size: 1.7rem !important;
         | 
| 52 | 
            +
                max-height: unset !important;
         | 
| 53 | 
            +
                line-height: normal !important;
         | 
| 46 54 | 
             
              }
         | 
| 47 55 |  | 
| 48 56 |  | 
| 49 57 | 
             
              atomic-result-section-visual {
         | 
| 50 | 
            -
                    width:  | 
| 58 | 
            +
                    width: 3rem !important;
         | 
| 51 59 | 
             
                    height: 5rem !important;
         | 
| 60 | 
            +
                    display: grid;
         | 
| 61 | 
            +
                    align-items: center;
         | 
| 62 | 
            +
                    justify-content: center;
         | 
| 52 63 |  | 
| 53 64 | 
             
                }
         | 
| 65 | 
            +
                atomic-result-section-bottom-metadata span {
         | 
| 66 | 
            +
                display: flex;
         | 
| 67 | 
            +
                align-items: center;
         | 
| 68 | 
            +
              }
         | 
| 54 69 | 
             
            </style>
         | 
| 55 70 |  | 
| 56 71 | 
             
            <atomic-result-section-visual>
         | 
| 57 | 
            -
              < | 
| 72 | 
            +
              <img src="../images/Default.png" alt="Image" />
         | 
| 73 | 
            +
              <!-- <atomic-icon class="icon"></atomic-icon>
         | 
| 58 74 | 
             
              <?xml version="1.0" encoding="UTF-8"?>
         | 
| 59 75 | 
             
              <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="55px" height="55px" viewBox="0 0 65 65" version="1.1">
         | 
| 60 76 | 
             
              <g id="surface1">
         | 
| @@ -85,7 +101,7 @@ | |
| 85 101 | 
             
              <path style=" stroke:none;fill-rule:nonzero;fill:rgb(3.529412%,3.529412%,3.529412%);fill-opacity:1;" d="M 17.417969 5.542969 C 17.679688 5.542969 17.9375 5.542969 18.207031 5.542969 C 18.207031 7.371094 18.207031 9.199219 18.207031 11.082031 C 16.902344 11.082031 15.597656 11.082031 14.25 11.082031 C 15.101562 8.777344 15.65625 7.300781 17.417969 5.542969 Z M 17.417969 5.542969 "/>
         | 
| 86 102 | 
             
              <path style=" stroke:none;fill-rule:nonzero;fill:rgb(72.941176%,72.941176%,72.941176%);fill-opacity:1;" d="M 12.667969 27.707031 C 15.625 28.695312 15.980469 29.792969 17.417969 32.457031 C 16.632812 33.632812 16.632812 33.632812 15.832031 34.832031 C 15.3125 34.570312 14.789062 34.3125 14.25 34.042969 C 14.511719 33.519531 14.773438 32.996094 15.042969 32.457031 C 14.300781 30.851562 13.511719 29.265625 12.667969 27.707031 Z M 12.667969 27.707031 "/>
         | 
| 87 103 | 
             
              </g>
         | 
| 88 | 
            -
              </svg>
         | 
| 104 | 
            +
              </svg> -->
         | 
| 89 105 |  | 
| 90 106 |  | 
| 91 107 | 
             
            </atomic-result-section-visual>
         | 
| @@ -93,8 +109,7 @@ | |
| 93 109 | 
             
            <atomic-result-section-title>
         | 
| 94 110 | 
             
              <div class="title-date">
         | 
| 95 111 | 
             
                <atomic-result-link> <a slot="attributes" target="_blank"></a></atomic-result-link>
         | 
| 96 | 
            -
                 | 
| 97 | 
            -
              </div>
         | 
| 112 | 
            +
                </div>
         | 
| 98 113 | 
             
            </atomic-result-section-title>
         | 
| 99 114 |  | 
| 100 115 | 
             
            <atomic-result-section-excerpt>
         | 
| @@ -102,7 +117,14 @@ | |
| 102 117 | 
             
            </atomic-result-section-excerpt>
         | 
| 103 118 |  | 
| 104 119 | 
             
            <atomic-result-section-bottom-metadata>
         | 
| 105 | 
            -
              < | 
| 106 | 
            -
                <atomic- | 
| 107 | 
            -
             | 
| 120 | 
            +
              <span>
         | 
| 121 | 
            +
                <atomic-text value="Date:  "></atomic-text>
         | 
| 122 | 
            +
                <atomic-result-date></atomic-result-date>
         | 
| 123 | 
            +
              </span><span>
         | 
| 124 | 
            +
                <atomic-text value="Source:  "></atomic-text><atomic-result-text field="sourcetype"></atomic-result-text>
         | 
| 125 | 
            +
              </span><span> <atomic-text value="Sharepoint:  "></atomic-text>
         | 
| 126 | 
            +
                <atomic-result-link><a slot="attributes" target="_blank"></a>
         | 
| 127 | 
            +
                  <atomic-result-text field="PrintableUri"></atomic-result-text>
         | 
| 128 | 
            +
                </atomic-result-link>
         | 
| 129 | 
            +
              </span>
         | 
| 108 130 | 
             
            </atomic-result-section-bottom-metadata>
         | 
| @@ -16,9 +16,9 @@ | |
| 16 16 |  | 
| 17 17 |  | 
| 18 18 | 
             
              atomic-result-section-bottom-metadata {
         | 
| 19 | 
            -
                color:  | 
| 19 | 
            +
                color: #A6A6A6 !important;
         | 
| 20 20 | 
             
                margin-right: 3px;
         | 
| 21 | 
            -
                font-size:  | 
| 21 | 
            +
                font-size: 1rem !important;
         | 
| 22 22 | 
             
                line-height: 18px !important;
         | 
| 23 23 | 
             
              }
         | 
| 24 24 |  | 
| @@ -28,36 +28,36 @@ | |
| 28 28 | 
             
              }
         | 
| 29 29 |  | 
| 30 30 | 
             
              atomic-result-section-title a {
         | 
| 31 | 
            -
                color: # | 
| 32 | 
            -
                font-size:  | 
| 33 | 
            -
                 | 
| 31 | 
            +
                color: #CAA144 !important;
         | 
| 32 | 
            +
                font-size: 1.7rem !important;;
         | 
| 33 | 
            +
                max-height: unset !important;
         | 
| 34 | 
            +
                line-height: normal !important;
         | 
| 34 35 | 
             
              }
         | 
| 35 36 |  | 
| 36 | 
            -
              atomic-result-section-visual {
         | 
| 37 | 
            -
                width: 4rem !important;
         | 
| 38 | 
            -
                height: 5rem !important;
         | 
| 39 | 
            -
             | 
| 40 | 
            -
              }
         | 
| 41 37 |  | 
| 42 38 |  | 
| 43 39 | 
             
              atomic-result-link a:visited {
         | 
| 44 | 
            -
                color:  | 
| 40 | 
            +
                color: black !important;
         | 
| 45 41 | 
             
              }
         | 
| 46 42 |  | 
| 47 43 | 
             
              atomic-result-section-excerpt {
         | 
| 48 | 
            -
                font-size:  | 
| 44 | 
            +
                font-size: 1.3rem !important;
         | 
| 49 45 | 
             
                margin-top: 2px !important;
         | 
| 46 | 
            +
                max-height: unset !important;
         | 
| 47 | 
            +
                line-height: normal !important;
         | 
| 50 48 | 
             
              }
         | 
| 51 49 |  | 
| 52 50 | 
             
              atomic-result-section-visual {
         | 
| 53 | 
            -
             | 
| 54 | 
            -
             | 
| 55 | 
            -
             | 
| 56 | 
            -
             | 
| 51 | 
            +
                    width: 3rem !important;
         | 
| 52 | 
            +
                    height: 5rem !important;
         | 
| 53 | 
            +
                    display: grid;
         | 
| 54 | 
            +
                    align-items: center;
         | 
| 55 | 
            +
                }
         | 
| 57 56 | 
             
            </style>
         | 
| 58 57 |  | 
| 59 58 | 
             
            <atomic-result-section-visual>
         | 
| 60 | 
            -
              < | 
| 59 | 
            +
              <img src="../images/Default.png" alt="Image" />
         | 
| 60 | 
            +
              <!-- <atomic-icon class="icon"></atomic-icon>
         | 
| 61 61 | 
             
              <?xml version="1.0" encoding="UTF-8"?>
         | 
| 62 62 | 
             
              <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="55px" height="55px"
         | 
| 63 63 | 
             
                viewBox="0 0 65 65" version="1.1">
         | 
| @@ -115,24 +115,23 @@ | |
| 115 115 | 
             
                  <path style=" stroke:none;fill-rule:nonzero;fill:rgb(72.941176%,72.941176%,72.941176%);fill-opacity:1;"
         | 
| 116 116 | 
             
                    d="M 12.667969 27.707031 C 15.625 28.695312 15.980469 29.792969 17.417969 32.457031 C 16.632812 33.632812 16.632812 33.632812 15.832031 34.832031 C 15.3125 34.570312 14.789062 34.3125 14.25 34.042969 C 14.511719 33.519531 14.773438 32.996094 15.042969 32.457031 C 14.300781 30.851562 13.511719 29.265625 12.667969 27.707031 Z M 12.667969 27.707031 " />
         | 
| 117 117 | 
             
                </g>
         | 
| 118 | 
            -
              </svg>
         | 
| 118 | 
            +
              </svg> -->
         | 
| 119 119 | 
             
            </atomic-result-section-visual>
         | 
| 120 120 |  | 
| 121 121 | 
             
            <atomic-result-section-title>
         | 
| 122 122 | 
             
              <div class="title-date">
         | 
| 123 123 | 
             
                <atomic-result-link> <a slot="attributes" target="_blank"></a></atomic-result-link>
         | 
| 124 | 
            -
                 | 
| 125 | 
            -
              </div>
         | 
| 124 | 
            +
                </div>
         | 
| 126 125 | 
             
            </atomic-result-section-title>
         | 
| 127 126 |  | 
| 128 127 | 
             
            <atomic-result-section-excerpt>
         | 
| 129 128 | 
             
              <atomic-result-text field="excerpt"></atomic-result-text>
         | 
| 130 129 | 
             
            </atomic-result-section-excerpt>
         | 
| 131 130 |  | 
| 132 | 
            -
            <atomic-result-section-bottom-metadata>
         | 
| 131 | 
            +
            <!-- <atomic-result-section-bottom-metadata>
         | 
| 133 132 | 
             
              <atomic-result-fields-list>
         | 
| 134 133 | 
             
                <atomic-result-link> <a slot="attributes" target="_blank"></a>
         | 
| 135 134 | 
             
                  <atomic-result-text field="PrintableUri"></atomic-result-text>
         | 
| 136 135 | 
             
                </atomic-result-link>
         | 
| 137 136 | 
             
              </atomic-result-fields-list>
         | 
| 138 | 
            -
            </atomic-result-section-bottom-metadata>
         | 
| 137 | 
            +
            </atomic-result-section-bottom-metadata> -->
         | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
    
        package/src/index.ts
    CHANGED
    
    | @@ -12,6 +12,17 @@ async function main() { | |
| 12 12 | 
             
                accessToken,
         | 
| 13 13 | 
             
                organizationId,
         | 
| 14 14 | 
             
                platformUrl,
         | 
| 15 | 
            +
                preprocessRequest: (request, clientOrigin, metadata) => {
         | 
| 16 | 
            +
                  if(clientOrigin == "searchApiFetch" && metadata?.method == "search") {
         | 
| 17 | 
            +
                    request.url += '&viewAllContent=1';
         | 
| 18 | 
            +
                    var body = JSON.parse(request.body as string);
         | 
| 19 | 
            +
                    body.context = {
         | 
| 20 | 
            +
                      "user_country_snow": "CZ"
         | 
| 21 | 
            +
                    };
         | 
| 22 | 
            +
                    request.body = JSON.stringify(body);
         | 
| 23 | 
            +
                  }
         | 
| 24 | 
            +
                  return request;
         | 
| 25 | 
            +
                }
         | 
| 15 26 | 
             
              });
         | 
| 16 27 |  | 
| 17 28 | 
             
              searchInterface.executeFirstSearch();
         | 
    
        package/src/pages/index.html
    CHANGED
    
    | @@ -71,16 +71,15 @@ | |
| 71 71 | 
             
                          <atomic-facet field="abicontenttype" label="Filetype"></atomic-facet>
         | 
| 72 72 | 
             
                          <atomic-facet field="source" label="Source"></atomic-facet>
         | 
| 73 73 | 
             
                        </atomic-facet-manager>
         | 
| 74 | 
            -
             | 
| 74 | 
            +
                    </atomic-layout-section> -->
         | 
| 75 75 | 
             
                    <atomic-layout-section section="main">
         | 
| 76 76 | 
             
                      <atomic-layout-section section="status">
         | 
| 77 77 | 
             
                        <atomic-breadbox></atomic-breadbox>
         | 
| 78 78 | 
             
                        <atomic-query-summary enable-duration="true"></atomic-query-summary>
         | 
| 79 79 | 
             
                        <atomic-refine-toggle></atomic-refine-toggle>
         | 
| 80 | 
            -
                         | 
| 80 | 
            +
                        <atomic-sort-dropdown>
         | 
| 81 81 | 
             
                          <atomic-sort-expression label="relevance" expression="relevancy"></atomic-sort-expression>
         | 
| 82 | 
            -
             | 
| 83 | 
            -
                        </atomic-sort-dropdown> -->
         | 
| 82 | 
            +
                        </atomic-sort-dropdown>
         | 
| 84 83 | 
             
                        <atomic-did-you-mean></atomic-did-you-mean>
         | 
| 85 84 | 
             
                      </atomic-layout-section>
         | 
| 86 85 | 
             
                      <atomic-layout-section section="results">
         | 
    
        package/src/style/index.css
    CHANGED
    
    | @@ -25,20 +25,32 @@ atomic-search-box::part(submit-icon) { | |
| 25 25 | 
             
              color: black;
         | 
| 26 26 | 
             
            }
         | 
| 27 27 |  | 
| 28 | 
            -
            atomic-pager::part( | 
| 29 | 
            -
               | 
| 30 | 
            -
               | 
| 31 | 
            -
             | 
| 28 | 
            +
            atomic-pager::part(page-button) {
         | 
| 29 | 
            +
              color: #a6a6a6;
         | 
| 30 | 
            +
              border: thin solid #a6a6a6;
         | 
| 31 | 
            +
              border-radius: 0px;
         | 
| 32 32 | 
             
            }
         | 
| 33 33 |  | 
| 34 | 
            -
            atomic-pager::part(page-button) {
         | 
| 35 | 
            -
              color: # | 
| 34 | 
            +
            atomic-pager::part(active-page-button) {
         | 
| 35 | 
            +
              background-color: #caa144;
         | 
| 36 | 
            +
              color: #000;
         | 
| 36 37 | 
             
            }
         | 
| 37 38 |  | 
| 38 | 
            -
            atomic-pager::part( | 
| 39 | 
            -
             | 
| 39 | 
            +
            atomic-pager::part(next-button),
         | 
| 40 | 
            +
            atomic-pager::part(previous-button) {
         | 
| 41 | 
            +
              color: #caa144;
         | 
| 42 | 
            +
              border: thin solid #a6a6a6;
         | 
| 40 43 | 
             
              border-radius: 0px;
         | 
| 41 44 | 
             
            }
         | 
| 45 | 
            +
             | 
| 46 | 
            +
            atomic-pager::part(next-button):hover,
         | 
| 47 | 
            +
            atomic-pager::part(previous-button):hover,
         | 
| 48 | 
            +
            atomic-pager::part(page-button):hover {
         | 
| 49 | 
            +
              border-color: #caa144;
         | 
| 50 | 
            +
              color: #caa144;
         | 
| 51 | 
            +
              cursor: pointer;
         | 
| 52 | 
            +
            }
         | 
| 53 | 
            +
             | 
| 42 54 | 
             
            atomic-modal#faq-modal::part(header-wrapper) {
         | 
| 43 55 | 
             
              display: grid;
         | 
| 44 56 | 
             
              width: 100%;
         | 
| @@ -48,7 +60,7 @@ atomic-modal#faq-modal::part(header-wrapper) { | |
| 48 60 |  | 
| 49 61 | 
             
            atomic-result-section-visual {
         | 
| 50 62 | 
             
                height: 6rem !important;
         | 
| 51 | 
            -
                width:  | 
| 63 | 
            +
                width: 3rem !important;
         | 
| 52 64 | 
             
            }
         | 
| 53 65 |  | 
| 54 66 | 
             
            atomic-modal::part(backdrop){
         | 
| @@ -61,3 +73,6 @@ atomic-modal::part(body){ | |
| 61 73 | 
             
              max-width: none;
         | 
| 62 74 | 
             
              }
         | 
| 63 75 |  | 
| 76 | 
            +
              atomic-search-box::part(recent-query-text), 
         | 
| 77 | 
            +
              atomic-search-box::part(input), 
         | 
| 78 | 
            +
              atomic-search-box::part(query-suggestion-text) {font-size: 1.3rem !important}
         | 
    
        package/stencil.config.ts
    CHANGED
    
    | @@ -20,10 +20,15 @@ export const config: Config = { | |
| 20 20 | 
             
                      dest: "atomic",
         | 
| 21 21 | 
             
                      keepDirStructure: false,
         | 
| 22 22 | 
             
                    },
         | 
| 23 | 
            +
                    { src: "images", dest: "", keepDirStructure: true }, 
         | 
| 24 | 
            +
                    { src: "images", dest: "dist", keepDirStructure: true }, 
         | 
| 23 25 | 
             
                  ],
         | 
| 24 26 | 
             
                },
         | 
| 25 27 | 
             
                {
         | 
| 26 28 | 
             
                  type: "dist",
         | 
| 29 | 
            +
                  copy: [
         | 
| 30 | 
            +
                    { src: "images", dest: "", keepDirStructure: true },
         | 
| 31 | 
            +
                  ],
         | 
| 27 32 | 
             
                },
         | 
| 28 33 | 
             
                {
         | 
| 29 34 | 
             
                  type: "dist-custom-elements-bundle",
         | 
| @@ -1 +0,0 @@ | |
| 1 | 
            -
            import{r as t,h as i,g as s,H as o}from"./p-52c70e74.js";import{i as c,F as e}from"./p-0f4a7ce9.js";import{r as n}from"./p-b83bab81.js";import"./p-d20ee37c.js";const a=class{constructor(i){t(this,i),this.closeFAQModal=()=>{this.modalElement.setAttribute("is-open","false"),this.modalElement.querySelector("#btn-done").removeEventListener("click",this.closeFAQModal)}}async connectedCallback(){var t;try{this.bindings=await c(this.host),this.result=await n(this.host),this.modalElement=null===(t=this.bindings)||void 0===t?void 0:t.interfaceElement.querySelector("#faq-modal")}catch(t){console.error(t),this.host.remove()}}openFAQModal(t){var i,s,o,c;if(this.bindings){const{logClickEvent:i}=e(this.bindings.engine);this.bindings.engine.dispatch(i({evt:"documentQuickview",result:t}))}this.modalElement.source=this.host,this.modalElement.querySelector("[slot=header]").children[0].innerHTML="Question: "+((null===(i=this.result)||void 0===i?void 0:i.title)||"");const n=this.modalElement.querySelector("[slot=body]");n.innerHTML="";const a=document.createElement("div");a.style.display="flex",a.style.gap="16px";const h=document.createElement("div");h.innerText="Answer:",a.appendChild(h);const l=(null===(s=this.result)||void 0===s?void 0:s.raw.answer)||"",r=document.createElement("div");r.innerHTML=l,a.appendChild(r),n.appendChild(a);const d=document.createElement("div");d.innerHTML="Category: "+((null===(o=this.result)||void 0===o?void 0:o.raw.category)||""),n.appendChild(d);const v=document.createElement("div"),m=(null===(c=this.result)||void 0===c?void 0:c.raw.newmoreinfo)||"";v.innerHTML=`Link: <a href="${m}" target="_blank">${m}</a>`,n.appendChild(v),this.modalElement.querySelector("#faq-modal-close").addEventListener("click",this.closeFAQModal),this.modalElement.setAttribute("is-open","true")}render(){if(this.result)return i(o,{className:"clickable-host",onClick:()=>this.openFAQModal(this.result)},this.result.title)}get host(){return s(this)}};a.style="b{color:var(--atomic-primary)}";export{a as faq_popup_component}
         |