@coveops/abi 1.0.2 → 1.0.4

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.
Files changed (32) hide show
  1. package/dist/abi/abi.css +1 -1
  2. package/dist/abi/abi.esm.js +1 -1
  3. package/dist/abi/index.esm.js +1 -1
  4. package/dist/abi/{p-1fd19815.entry.js → p-53221f92.entry.js} +1 -1
  5. package/dist/abi/p-7f068cc3.entry.js +1 -0
  6. package/dist/abi/p-8c974da8.entry.js +1 -0
  7. package/dist/abi/{p-ddacae1a.js → p-b984457f.js} +2 -2
  8. package/dist/bundle/index.css +1 -1
  9. package/dist/bundle/index.html +3 -1
  10. package/dist/bundle/index.js +17 -17
  11. package/dist/cjs/faq-popup-component.cjs.entry.js +2 -4
  12. package/dist/cjs/{index-8f6652e1.js → index-20ac4bdb.js} +2 -1
  13. package/dist/cjs/index.cjs.js +4 -1
  14. package/dist/cjs/sample-component.cjs.entry.js +1 -1
  15. package/dist/cjs/standalone-searchbox-listener.cjs.entry.js +7 -6
  16. package/dist/collection/components/faq-popup-component/faq-popup-component.js +1 -3
  17. package/dist/collection/components/standalone-searchbox-listener/standalone-searchbox-listener.js +7 -6
  18. package/dist/collection/index.js +3 -0
  19. package/dist/components/index.js +12 -10
  20. package/dist/esm/faq-popup-component.entry.js +2 -4
  21. package/dist/esm/{index-886ab6f0.js → index-4e0bf5cd.js} +2 -2
  22. package/dist/esm/index.js +4 -1
  23. package/dist/esm/sample-component.entry.js +1 -1
  24. package/dist/esm/standalone-searchbox-listener.entry.js +7 -6
  25. package/package.json +1 -1
  26. package/src/components/faq-popup-component/faq-popup-component.tsx +1 -3
  27. package/src/components/standalone-searchbox-listener/standalone-searchbox-listener.tsx +5 -2
  28. package/src/index.ts +7 -0
  29. package/src/pages/index.html +3 -1
  30. package/src/style/index.css +23 -1
  31. package/dist/abi/p-50003f11.entry.js +0 -1
  32. package/dist/abi/p-cd8cdf0e.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement, H as Host } from './index-3c594d24.js';
2
- import { i as initializeBindings, F as Fde } from './index-886ab6f0.js';
2
+ import { i as initializeBindings, F as Fde } from './index-4e0bf5cd.js';
3
3
  import { r as resultContext } from './result-template-decorators-881a4c8e-ed85ad21.js';
4
4
  import './headless.esm-085e70ed-c4dfb380.js';
5
5
 
@@ -48,7 +48,7 @@ const FaqPopupComponent = class {
48
48
  const tableEl = document.createElement('table');
49
49
  const questionElement = document.createElement("tr");
50
50
  questionElement.className = "question-row";
51
- questionElement.innerHTML = '<td>Question: </td> <td>' + (((_a = this.result) === null || _a === void 0 ? void 0 : _a.title) || '') + '</td>'
51
+ questionElement.innerHTML = '<td>Question: <a href="https://anheuserbuschinbev.sharepoint.com" autofocus="true" style="display:none;"></a></td> <td>' + (((_a = this.result) === null || _a === void 0 ? void 0 : _a.title) || '') + '</td>'
52
52
  + '<div id="faq-modal-close-button"><svg width="48" height="49" viewBox="0 0 48 49" fill="black" xmlns="http://www.w3.org/2000/svg"><rect y="0.5" width="48" height="48" rx="24" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22.5382 24.5L15 16.9618L16.4618 15.5L24 23.0382L31.5382 15.5L33 16.9618L25.4618 24.5L33 32.0382L31.5382 33.5L24 25.9618L16.4618 33.5L15 32.0382L22.5382 24.5Z" fill="#17171A"/></svg></div>';
53
53
  tableEl.appendChild(questionElement);
54
54
  const answerElement = document.createElement('tr');
@@ -58,7 +58,6 @@ const FaqPopupComponent = class {
58
58
  answerElement.appendChild(answerTitleElement);
59
59
  // Create a new element to contain the answer content
60
60
  const answerContentElement = document.createElement('td');
61
- debugger;
62
61
  if ((_c = (_b = this.result) === null || _b === void 0 ? void 0 : _b.raw) === null || _c === void 0 ? void 0 : _c.answer) {
63
62
  let value = (_e = (_d = this.result) === null || _d === void 0 ? void 0 : _d.raw) === null || _e === void 0 ? void 0 : _e.answer;
64
63
  try {
@@ -66,7 +65,6 @@ const FaqPopupComponent = class {
66
65
  var html = '';
67
66
  Array.from(els.children).forEach(el => {
68
67
  var _a;
69
- debugger;
70
68
  el.querySelectorAll('a').forEach(a => {
71
69
  if (a.href.startsWith(window.location.origin) && a.href.indexOf('/sites/') > -1) {
72
70
  a.href = a.href.replace(window.location.origin, 'https://anheuserbuschinbev.sharepoint.com');