isometrik-plugin-chat-sdk 2.0.7 → 2.0.9

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 (76) hide show
  1. package/dist/cjs/attachment-preview_22.cjs.entry.js +46 -15
  2. package/dist/cjs/attachment-preview_22.cjs.entry.js.map +1 -1
  3. package/dist/cjs/login-page_3.cjs.entry.js +17 -2
  4. package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
  5. package/dist/cjs/member-add.cjs.entry.js +1 -1
  6. package/dist/cjs/reaction-container.cjs.entry.js +1 -1
  7. package/dist/cjs/toast-75ef0607.js +159 -0
  8. package/dist/cjs/toast-75ef0607.js.map +1 -0
  9. package/dist/cjs/toast-notification.cjs.entry.js +21 -15
  10. package/dist/cjs/toast-notification.cjs.entry.js.map +1 -1
  11. package/dist/collection/components/ChatUIComponent/Header/WebChatHeader.js +21 -3
  12. package/dist/collection/components/ChatUIComponent/Header/WebChatHeader.js.map +1 -1
  13. package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js +14 -11
  14. package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js.map +1 -1
  15. package/dist/collection/components/ChatUIComponent/shared/contact-info/contact-info.js +10 -1
  16. package/dist/collection/components/ChatUIComponent/shared/contact-info/contact-info.js.map +1 -1
  17. package/dist/collection/components/ChatUIComponent/shared/toast-notification/toast-notification.js +32 -26
  18. package/dist/collection/components/ChatUIComponent/shared/toast-notification/toast-notification.js.map +1 -1
  19. package/dist/collection/components/my-component/web-chat/mqtt-host.js +16 -1
  20. package/dist/collection/components/my-component/web-chat/mqtt-host.js.map +1 -1
  21. package/dist/collection/lib/friendly-toast-message.js +38 -0
  22. package/dist/collection/lib/friendly-toast-message.js.map +1 -0
  23. package/dist/collection/lib/toast.js +76 -21
  24. package/dist/collection/lib/toast.js.map +1 -1
  25. package/dist/components/WebChat.js +16 -1
  26. package/dist/components/WebChat.js.map +1 -1
  27. package/dist/components/WebChatBody.js +14 -11
  28. package/dist/components/WebChatBody.js.map +1 -1
  29. package/dist/components/WebChatHeader.js +21 -3
  30. package/dist/components/WebChatHeader.js.map +1 -1
  31. package/dist/components/contact-info2.js +11 -1
  32. package/dist/components/contact-info2.js.map +1 -1
  33. package/dist/components/toast-notification.js +21 -15
  34. package/dist/components/toast-notification.js.map +1 -1
  35. package/dist/components/toast.js +112 -21
  36. package/dist/components/toast.js.map +1 -1
  37. package/dist/esm/attachment-preview_22.entry.js +47 -16
  38. package/dist/esm/attachment-preview_22.entry.js.map +1 -1
  39. package/dist/esm/login-page_3.entry.js +17 -2
  40. package/dist/esm/login-page_3.entry.js.map +1 -1
  41. package/dist/esm/member-add.entry.js +1 -1
  42. package/dist/esm/reaction-container.entry.js +1 -1
  43. package/dist/esm/toast-45ac7913.js +157 -0
  44. package/dist/esm/toast-45ac7913.js.map +1 -0
  45. package/dist/esm/toast-notification.entry.js +21 -15
  46. package/dist/esm/toast-notification.entry.js.map +1 -1
  47. package/dist/isometrik-webchat/isometrik-webchat.esm.js +1 -1
  48. package/dist/isometrik-webchat/p-0c06a021.js +2 -0
  49. package/dist/isometrik-webchat/p-0c06a021.js.map +1 -0
  50. package/dist/isometrik-webchat/{p-76341adb.entry.js → p-6024bf2a.entry.js} +2 -2
  51. package/dist/isometrik-webchat/p-63ff4eea.entry.js +2 -0
  52. package/dist/isometrik-webchat/p-63ff4eea.entry.js.map +1 -0
  53. package/dist/isometrik-webchat/p-9f036163.entry.js +2 -0
  54. package/dist/isometrik-webchat/p-9f036163.entry.js.map +1 -0
  55. package/dist/isometrik-webchat/{p-2195b0c0.entry.js → p-ba6de4e2.entry.js} +2 -2
  56. package/dist/isometrik-webchat/p-d6fd2dd7.entry.js +2 -0
  57. package/dist/isometrik-webchat/p-d6fd2dd7.entry.js.map +1 -0
  58. package/dist/types/components/ChatUIComponent/Header/WebChatHeader.d.ts +1 -0
  59. package/dist/types/components/ChatUIComponent/shared/contact-info/contact-info.d.ts +1 -0
  60. package/dist/types/lib/friendly-toast-message.d.ts +5 -0
  61. package/dist/types/lib/toast.d.ts +1 -0
  62. package/package.json +1 -1
  63. package/dist/cjs/toast-f810e550.js +0 -68
  64. package/dist/cjs/toast-f810e550.js.map +0 -1
  65. package/dist/esm/toast-533dd183.js +0 -66
  66. package/dist/esm/toast-533dd183.js.map +0 -1
  67. package/dist/isometrik-webchat/p-4cb54460.js +0 -2
  68. package/dist/isometrik-webchat/p-4cb54460.js.map +0 -1
  69. package/dist/isometrik-webchat/p-84424caa.entry.js +0 -2
  70. package/dist/isometrik-webchat/p-84424caa.entry.js.map +0 -1
  71. package/dist/isometrik-webchat/p-e1d632b0.entry.js +0 -2
  72. package/dist/isometrik-webchat/p-e1d632b0.entry.js.map +0 -1
  73. package/dist/isometrik-webchat/p-ff023d39.entry.js +0 -2
  74. package/dist/isometrik-webchat/p-ff023d39.entry.js.map +0 -1
  75. /package/dist/isometrik-webchat/{p-76341adb.entry.js.map → p-6024bf2a.entry.js.map} +0 -0
  76. /package/dist/isometrik-webchat/{p-2195b0c0.entry.js.map → p-ba6de4e2.entry.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{r as s,h as t}from"./p-17a96a2a.js";const i=class{constructor(t){s(this,t);this.bgColor="white";this.width="200px";this.height="auto";this.borderWidth="1px";this.borderColor="black";this.color="black";this.fontSize="14px";this.borderRadius="5px";this.fontWeight="normal";this.progressBarBg="white";this.progressBarHeight="5px";this.progressBarColor="var(--success)";this.progressBarBorderRadius="5px";this.toastMessage="Default message";this.padding=undefined}render(){return t("div",{key:"29d9794c50052cde03e6fbd84cd8906567e5340c",class:"toast-container",style:{backgroundColor:this.bgColor,color:this.color,width:this.width,height:this.height,border:`${this.borderWidth} solid ${this.borderColor}`,borderRadius:this.borderRadius,fontSize:this.fontSize,fontWeight:this.fontWeight}},t("div",{key:"7acd2b848a46ae3512ed15f71b537f5fecc4de19",class:"toast-message",style:{padding:this.padding}},this.toastMessage),t("div",{key:"a518972b61a8b77df6bccbec2537b06c9a7ea895",class:"progress-container",style:{height:this.progressBarHeight,borderRadius:this.progressBarBorderRadius,background:this.progressBarBg}},t("div",{key:"6735d8fb2c4fcbd1262e9a51bdcb90be6203f389",class:"progress-bar",style:{backgroundColor:this.progressBarColor}})))}};i.style=":host { display: block; }\n .toast-container { box-shadow: 0 4px 12px var(--overlay); overflow: hidden; }\n .toast-message { padding: 8px; }\n .progress-container { width: 100%; overflow: hidden; position: relative; }\n .progress-bar {\n height: 100%; width: 100%; transform-origin: left;\n animation: progress 3s linear forwards;\n }\n @keyframes progress {\n from { width: 100%; }\n to { width: 0%; }\n }";export{i as toast_notification};
2
- //# sourceMappingURL=p-e1d632b0.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["ToastNotification","render","h","key","class","style","backgroundColor","this","bgColor","color","width","height","border","borderWidth","borderColor","borderRadius","fontSize","fontWeight","padding","toastMessage","progressBarHeight","progressBarBorderRadius","background","progressBarBg","progressBarColor"],"sources":["src/components/ChatUIComponent/shared/toast-notification/toast-notification.tsx"],"sourcesContent":["import { Component, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'toast-notification',\n shadow: true,\n styles: `\n :host { display: block; }\n .toast-container { box-shadow: 0 4px 12px var(--overlay); overflow: hidden; }\n .toast-message { padding: 8px; }\n .progress-container { width: 100%; overflow: hidden; position: relative; }\n .progress-bar {\n height: 100%; width: 100%; transform-origin: left;\n animation: progress 3s linear forwards;\n }\n @keyframes progress {\n from { width: 100%; }\n to { width: 0%; }\n }\n `,\n})\nexport class ToastNotification {\n @Prop() bgColor: string = 'white';\n @Prop() width: string = '200px';\n @Prop() height: string = 'auto';\n @Prop() borderWidth: string = '1px';\n @Prop() borderColor: string = 'black';\n @Prop() color: string = 'black';\n @Prop() fontSize: string = '14px';\n @Prop() borderRadius: string = '5px';\n @Prop() fontWeight: string = 'normal';\n @Prop() progressBarBg: string = 'white';\n @Prop() progressBarHeight: string = '5px';\n @Prop() progressBarColor: string = 'var(--success)';\n @Prop() progressBarBorderRadius: string = '5px';\n @Prop() toastMessage: string = 'Default message';\n @Prop() padding: string;\n\n render() {\n return (\n <div\n class=\"toast-container\"\n style={{\n backgroundColor: this.bgColor,\n color: this.color,\n width: this.width,\n height: this.height,\n border: `${this.borderWidth} solid ${this.borderColor}`,\n borderRadius: this.borderRadius,\n fontSize: this.fontSize,\n fontWeight: this.fontWeight,\n }}\n >\n <div class=\"toast-message\" style={{ padding: this.padding }}>\n {this.toastMessage}\n </div>\n <div\n class=\"progress-container\"\n style={{ height: this.progressBarHeight, borderRadius: this.progressBarBorderRadius, background: this.progressBarBg }}\n >\n <div class=\"progress-bar\" style={{ backgroundColor: this.progressBarColor }} />\n </div>\n </div>\n );\n }\n}\n"],"mappings":"iDAoBaA,EAAiB,M,sCACF,Q,WACF,Q,YACC,O,iBACK,M,iBACA,Q,WACN,Q,cACG,O,kBACI,M,gBACF,S,mBACG,Q,uBACI,M,sBACD,iB,6BACO,M,kBACX,kB,uBAG/B,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CACEC,MAAM,kBACNC,MAAO,CACLC,gBAAiBC,KAAKC,QACtBC,MAAOF,KAAKE,MACZC,MAAOH,KAAKG,MACZC,OAAQJ,KAAKI,OACbC,OAAQ,GAAGL,KAAKM,qBAAqBN,KAAKO,cAC1CC,aAAcR,KAAKQ,aACnBC,SAAUT,KAAKS,SACfC,WAAYV,KAAKU,aAGnBf,EAAA,OAAAC,IAAA,2CAAKC,MAAM,gBAAgBC,MAAO,CAAEa,QAASX,KAAKW,UAC/CX,KAAKY,cAERjB,EAAA,OAAAC,IAAA,2CACEC,MAAM,qBACNC,MAAO,CAAEM,OAAQJ,KAAKa,kBAAmBL,aAAcR,KAAKc,wBAAyBC,WAAYf,KAAKgB,gBAEtGrB,EAAA,OAAAC,IAAA,2CAAKC,MAAM,eAAeC,MAAO,CAAEC,gBAAiBC,KAAKiB,qB","ignoreList":[]}