@epigraph/solutions 0.18.4-alpha.1 → 0.18.4-alpha.3
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.
|
@@ -5980,7 +5980,7 @@ Arguments: [`+R+"]"}},s.fz.prototype={k(n){return"Unsupported operation: "+this.
|
|
|
5980
5980
|
full-width="true"
|
|
5981
5981
|
left-icon=""
|
|
5982
5982
|
right-icon=""
|
|
5983
|
-
label="Launch AR"
|
|
5983
|
+
label="Launch AR NOW"
|
|
5984
5984
|
></epg-button-primary>
|
|
5985
5985
|
</div>
|
|
5986
5986
|
`}}window.customElements.get(sw)||window.customElements.define(sw,Q$);const rw="epg-modal-qr";var q$=Object.defineProperty,j$=(o,e,t,i)=>{for(var a=void 0,l=o.length-1,u;l>=0;l--)(u=o[l])&&(a=u(e,t,a)||a);return a&&q$(e,t,a),a};class MC extends hr{constructor(){super(...arguments),this.qrCodeImage=c_.sampleQrCode}static{this.styles=[super.styles,ht`
|
|
@@ -8288,9 +8288,10 @@ void main() {
|
|
|
8288
8288
|
}
|
|
8289
8289
|
|
|
8290
8290
|
.model-viewer.hide {
|
|
8291
|
-
|
|
8291
|
+
visibility: hidden;
|
|
8292
|
+
pointer-events: none;
|
|
8292
8293
|
}
|
|
8293
|
-
`]}static{this.MODEL_VIEWER_CONSTANTS=fz}__registerModelViewerWebComponent(){this.canLaunchAr()&&(window.customElements.get("model-viewer")||window.customElements.define("model-viewer",VG))}static setupWebComponent(){window.customElements.get(Gd.webComponentName)||window.customElements.define(Gd.webComponentName,Gd)}get arLink(){return this.__arLink}showArModal(){this.arModalElem.showModal();const e=new ir(!0,ir.PANEL_TYPE.AR,ir.TRIGGER_SOURCE.BUTTON,[]);this.epigraphAnalytics.sendEvent(e)}showQrModal(){this.qrModalElem.showModal();const e=new ir(!0,ir.PANEL_TYPE.QR,ir.TRIGGER_SOURCE.BUTTON,[]);this.epigraphAnalytics.sendEvent(e)}async onArModalPermissionsClicked(){
|
|
8294
|
+
`]}static{this.MODEL_VIEWER_CONSTANTS=fz}__registerModelViewerWebComponent(){this.canLaunchAr()&&(window.customElements.get("model-viewer")||window.customElements.define("model-viewer",VG))}static setupWebComponent(){window.customElements.get(Gd.webComponentName)||window.customElements.define(Gd.webComponentName,Gd)}get arLink(){return this.__arLink}showArModal(){this.arModalElem.showModal();const e=new ir(!0,ir.PANEL_TYPE.AR,ir.TRIGGER_SOURCE.BUTTON,[]);this.epigraphAnalytics.sendEvent(e)}showQrModal(){this.qrModalElem.showModal();const e=new ir(!0,ir.PANEL_TYPE.QR,ir.TRIGGER_SOURCE.BUTTON,[]);this.epigraphAnalytics.sendEvent(e)}async onArModalPermissionsClicked(){await this.modelViewerElem.activateAR()}canLaunchAr(){return t0&&(tp||wf||Ef)}isARSessionActive(){return this.modelViewerElem.getAttribute("ar-status")==="presenting"}getMinimumRequirementsString(){let e="";return t0&&(Yu?e="iOS 16 and above":wf&&(e="Android 12 and above")),e}onArModalClose(){const e=new nr(!0,nr.PANEL_TYPE.AR,nr.TRIGGER_SOURCE.BUTTON,[]);this.epigraphAnalytics.sendEvent(e)}__renderArModal(){return Ee`<epg-modal-ar
|
|
8294
8295
|
id="arModal"
|
|
8295
8296
|
powered-by-epigraph
|
|
8296
8297
|
@epgOnLaunchArClicked=${this.onArModalPermissionsClicked.bind(this)}
|