@epigraph/solutions 0.18.4-alpha.1 → 0.18.4-alpha.2
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.
|
@@ -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)}
|