@meetelise/chat 1.27.0 → 1.27.1
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/package.json +1 -1
- package/public/dist/index.js +8 -7
package/package.json
CHANGED
package/public/dist/index.js
CHANGED
|
@@ -3629,7 +3629,7 @@ xmlns="http://www.w3.org/2000/svg"
|
|
|
3629
3629
|
</clipPath>
|
|
3630
3630
|
</defs>
|
|
3631
3631
|
</svg>
|
|
3632
|
-
`;var Do=function(e,t,i,n){var o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,i,a):o(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a};let Uo=class extends oe{constructor(){super(...arguments),this.onClickMinimize=()=>{},this.onClickEmailOption=()=>{},this.onClickPhoneOption=()=>{},this.onClickSSTOption=()=>{},this.onClickApplyNowOption=()=>{},this.onClickPriceCalculatorOption=()=>{},this.onChatTapped=()=>{},this.hideChat=!1,this.isMobileDesign=!1,this.primaryColor=Ie,this.backgroundColor=De,this.hasChatEnabled=!1,this.hasEmailEnabled=!1,this.hasCallUsEnabled=!1,this.hasTextUsEnabled=!1,this.hasSSTEnabled=!1,this.hasApplyNowEnabled=!1,this.hasPricingCalculatorEnabled=!1,this.applicationLink="",this.overrideRentgrata=!1,this.renderListElement=(e,t,i)=>e?L` <li
|
|
3632
|
+
`;var Do=function(e,t,i,n){var o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,i,a):o(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a};let Uo=class extends oe{constructor(){super(...arguments),this.onClickMinimize=()=>{},this.onClickEmailOption=()=>{},this.onClickPhoneOption=()=>{},this.onClickSSTOption=()=>{},this.onClickApplyNowOption=()=>{},this.onClickPriceCalculatorOption=()=>{},this.onChatTapped=()=>{},this.hideChat=!1,this.isMobileDesign=!1,this.primaryColor=Ie,this.backgroundColor=De,this.hasChatEnabled=!1,this.hasEmailEnabled=!1,this.hasCallUsEnabled=!1,this.hasTextUsEnabled=!1,this.hasSSTEnabled=!1,this.hasApplyNowEnabled=!1,this.hasPricingCalculatorEnabled=!1,this.applicationLink="",this.overrideRentgrata=!1,this.foregroundColorOnSecondaryBackgroundColor="black",this.renderListElement=(e,t,i)=>e?L` <li
|
|
3633
3633
|
@click=${t}
|
|
3634
3634
|
class="typeMobile-bttn"
|
|
3635
3635
|
style=${Me({background:`${this.primaryColor}`})}
|
|
@@ -3642,12 +3642,12 @@ xmlns="http://www.w3.org/2000/svg"
|
|
|
3642
3642
|
</div>
|
|
3643
3643
|
</li>`:""}render(){return L`<div class="typeMobile-list">
|
|
3644
3644
|
<ul>
|
|
3645
|
-
${this.renderListElement(!(!this.hasApplyNowEnabled||!this.applicationLink),this.onClickApplyNowOption,Mo(
|
|
3645
|
+
${this.renderListElement(!(!this.hasApplyNowEnabled||!this.applicationLink),this.onClickApplyNowOption,Mo(this.foregroundColorOnSecondaryBackgroundColor))}
|
|
3646
3646
|
${this.renderListElement(this.hasPricingCalculatorEnabled,this.onClickPriceCalculatorOption,Io("black"))}
|
|
3647
|
-
${this.renderListElement(this.hasEmailEnabled,this.onClickEmailOption,Oo(
|
|
3648
|
-
${this.renderListElement(this.hasCallUsEnabled||this.hasTextUsEnabled,this.onClickPhoneOption,$n(
|
|
3649
|
-
${this.renderListElement(this.hasSSTEnabled,this.onClickSSTOption,Po(
|
|
3650
|
-
${this.renderListElement(this.hasChatEnabled&&!this.hideChat,this.onChatTapped,No(
|
|
3647
|
+
${this.renderListElement(this.hasEmailEnabled,this.onClickEmailOption,Oo(this.foregroundColorOnSecondaryBackgroundColor))}
|
|
3648
|
+
${this.renderListElement(this.hasCallUsEnabled||this.hasTextUsEnabled,this.onClickPhoneOption,$n(this.foregroundColorOnSecondaryBackgroundColor))}
|
|
3649
|
+
${this.renderListElement(this.hasSSTEnabled,this.onClickSSTOption,Po(this.foregroundColorOnSecondaryBackgroundColor))}
|
|
3650
|
+
${this.renderListElement(this.hasChatEnabled&&!this.hideChat,this.onChatTapped,No(this.foregroundColorOnSecondaryBackgroundColor))}
|
|
3651
3651
|
${this.isMobileDesign||this.hideChat?"":L`
|
|
3652
3652
|
<li>
|
|
3653
3653
|
<minimize-expand-button
|
|
@@ -3658,7 +3658,7 @@ xmlns="http://www.w3.org/2000/svg"
|
|
|
3658
3658
|
</li>
|
|
3659
3659
|
`}
|
|
3660
3660
|
</ul>
|
|
3661
|
-
</div>`}};Uo.styles=[_o],Do([le({attribute:!0})],Uo.prototype,"onClickMinimize",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickEmailOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickPhoneOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickSSTOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickApplyNowOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickPriceCalculatorOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onChatTapped",void 0),Do([le({attribute:!0})],Uo.prototype,"hideChat",void 0),Do([le({attribute:!0})],Uo.prototype,"isMobileDesign",void 0),Do([le({attribute:!0})],Uo.prototype,"primaryColor",void 0),Do([le({attribute:!0})],Uo.prototype,"backgroundColor",void 0),Do([le({attribute:!0})],Uo.prototype,"hasChatEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasEmailEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasCallUsEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasTextUsEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasSSTEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasApplyNowEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasPricingCalculatorEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"applicationLink",void 0),Do([le({attribute:!0})],Uo.prototype,"overrideRentgrata",void 0),Uo=Do([ae("mobile-launcher")],Uo);const Bo=(e="white")=>R`<svg xmlns="http://www.w3.org/2000/svg" width="5" height="8" viewBox="0 0 5 8" fill="none">
|
|
3661
|
+
</div>`}};Uo.styles=[_o],Do([le({attribute:!0})],Uo.prototype,"onClickMinimize",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickEmailOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickPhoneOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickSSTOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickApplyNowOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onClickPriceCalculatorOption",void 0),Do([le({attribute:!0})],Uo.prototype,"onChatTapped",void 0),Do([le({attribute:!0})],Uo.prototype,"hideChat",void 0),Do([le({attribute:!0})],Uo.prototype,"isMobileDesign",void 0),Do([le({attribute:!0})],Uo.prototype,"primaryColor",void 0),Do([le({attribute:!0})],Uo.prototype,"backgroundColor",void 0),Do([le({attribute:!0})],Uo.prototype,"hasChatEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasEmailEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasCallUsEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasTextUsEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasSSTEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasApplyNowEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"hasPricingCalculatorEnabled",void 0),Do([le({attribute:!0})],Uo.prototype,"applicationLink",void 0),Do([le({attribute:!0})],Uo.prototype,"overrideRentgrata",void 0),Do([le({attribute:!0})],Uo.prototype,"foregroundColorOnSecondaryBackgroundColor",void 0),Uo=Do([ae("mobile-launcher")],Uo);const Bo=(e="white")=>R`<svg xmlns="http://www.w3.org/2000/svg" width="5" height="8" viewBox="0 0 5 8" fill="none">
|
|
3662
3662
|
<path d="M1.31812 7L4.31812 4L1.31811 1" stroke="${e}" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3663
3663
|
</svg>`;var Lo=function(e,t,i,n){var o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,i,a):o(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a};let Ro=class extends oe{constructor(){super(...arguments),this.onClick=()=>{},this.primaryColor=Ie,this.toExpand=!1}render(){return L`
|
|
3664
3664
|
<div class=${"button-container"} @click=${this.onClick}>
|
|
@@ -3732,6 +3732,7 @@ xmlns="http://www.w3.org/2000/svg"
|
|
|
3732
3732
|
.hasApplyNowEnabled=${hi()?!(this.hasHideMobileFeatures&&!this.isMobileFeaturesExpanded)&&this.hasApplyNowEnabledMobile:this.hasApplyNowEnabledDesktop}
|
|
3733
3733
|
.applicationLink=${this.applicationLink}
|
|
3734
3734
|
.hasPricingCalculatorEnabled=${hi()?!(this.hasHideMobileFeatures&&!this.isMobileFeaturesExpanded)&&this.hasPricingCalculatorEnabledMobile:this.hasPricingCalculatorEnabledDesktop}
|
|
3735
|
+
.foregroundColorOnSecondaryBackgroundColor=${this.foregroundColorOnSecondaryBackgroundColor}
|
|
3735
3736
|
></mobile-launcher>`:this.designConcept===Tn.EMOJI?this.emojiPillList():this.verticalPillList(),this.emojiPillList=()=>{const e=[{pillKey:"Email",pill:this.hasEmailEnabledDesktop?L` <div
|
|
3736
3737
|
class="type-hey__pill"
|
|
3737
3738
|
@click=${this.onClickEmailOption}
|