@epigraph/solutions 0.18.4-alpha → 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,7 +8288,8 @@ void main() {
|
|
|
8288
8288
|
}
|
|
8289
8289
|
|
|
8290
8290
|
.model-viewer.hide {
|
|
8291
|
-
|
|
8291
|
+
visibility: hidden;
|
|
8292
|
+
pointer-events: none;
|
|
8292
8293
|
}
|
|
8293
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"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epigraph/solutions",
|
|
3
|
-
"version": "0.18.4-alpha",
|
|
3
|
+
"version": "0.18.4-alpha.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/epigraph-solutions.js",
|
|
6
6
|
"files": [
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"component:create": "node ./npm-scripts/createNewUiComponent.js",
|
|
11
11
|
"dev": "vite --force",
|
|
12
12
|
"build": "cross-env NODE_ENV=production && tsc && vite build",
|
|
13
|
+
"build:demo-pages": "cross-env NODE_ENV=production && tsc && vite build --config demo-pages-vite.config.ts",
|
|
13
14
|
"build:ui-components": "cross-env NODE_ENV=production && tsc && vite build --config ui-components-vite.config.ts",
|
|
14
15
|
"build:model-viewer": "cross-env NODE_ENV=production && tsc && vite build --config model-viewer-vite.config.ts",
|
|
15
16
|
"build:all": "npm run build && npm run build:ui-components && npm run build:model-viewer",
|