@elliemae/ssf-host 2.19.0 → 2.19.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.
- package/dist/cjs/index.js +1 -2
- package/dist/esm/index.js +1 -2
- package/dist/public/index.html +1 -1
- package/dist/public/js/{emuiSsfHost.79893a32aec21e101e20.js → emuiSsfHost.65952531844a79299a21.js} +1 -1
- package/dist/public/js/emuiSsfHost.65952531844a79299a21.js.br +0 -0
- package/dist/public/js/emuiSsfHost.65952531844a79299a21.js.gz +0 -0
- package/dist/public/js/{emuiSsfHost.79893a32aec21e101e20.js.map → emuiSsfHost.65952531844a79299a21.js.map} +1 -1
- package/dist/public/v1-guest-v2-host.html +1 -1
- package/dist/public/v2-host-v1-guest.html +1 -1
- package/dist/types/lib/index.d.ts +4 -5
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/public/js/emuiSsfHost.79893a32aec21e101e20.js.br +0 -0
- package/dist/public/js/emuiSsfHost.79893a32aec21e101e20.js.gz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Host V2 -> V1 Guest</title><style>body,html,main{height:100%;margin:4px;padding:0}iframe{width:100%;height:100%;border:none}#guest-container{height:100%}</style><script src="https://cdn.qa1.ice.com/pui-diagnostics@3"></script><script defer="defer" src="js/emuiSsfHost.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Host V2 -> V1 Guest</title><style>body,html,main{height:100%;margin:4px;padding:0}iframe{width:100%;height:100%;border:none}#guest-container{height:100%}</style><script src="https://cdn.qa1.ice.com/pui-diagnostics@3"></script><script defer="defer" src="js/emuiSsfHost.65952531844a79299a21.js"></script></head><body><main><h1>Host V2 nesting V1 Guest</h1><button id="save-btn" type="button" onclick="saveLoan()">Save Loan</button><div id="results"><p id="pre-save-feedback-result"></p></div><div id="guest-container"></div></main><script type="module">import{Loan}from"./loan-object.js";import{getGuestBaseUrl,getHost}from"./utils.js";import{Analytics}from"./analytics-object-v2.js";const analyticsObj=new Analytics,hostV2=getHost(analyticsObj),loanObj=new Loan;hostV2.addScriptingObject(loanObj);const params=new URLSearchParams(document.location.search),{id:id}=hostV2.loadGuest({id:"guestV1",url:new URL("true"!==params.get("nestV1GuestV2Host")?"./v1-guest.html":"./v1-guest-v2-host.html",window.location.href).href,searchParams:{nestHostV1:!0},title:"Guest V1",targetElement:document.getElementById("guest-container")});window.saveLoan=async()=>{const e=loanObj.getLoanDetails();(await hostV2.dispatchEvent({event:loanObj.onPreSave,eventParams:e,eventOptions:{timeout:1e3}})).some(e=>!1===e)?document.getElementById("pre-save-feedback-result").innerText="Pre save failed":document.getElementById("pre-save-feedback-result").innerText="Pre save succeeded"}</script></body></html>
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type { GuestOptions, AttachParam } from './types.js';
|
|
1
|
+
export type { GuestOptions, AttachParam, WindowFeatures } from './types.js';
|
|
3
2
|
export type { HostOption, LoadGuestParam, LoadGuestsParam } from './ihost.js';
|
|
3
|
+
export type { IScriptingObjectProxy } from '@elliemae/pui-scripting-object';
|
|
4
|
+
export { Event, ScriptingObject } from '@elliemae/microfe-common';
|
|
4
5
|
export { Guest } from './guest.js';
|
|
5
|
-
export { IFrameSandboxValues } from './types.js';
|
|
6
|
+
export { IFrameSandboxValues, OpenMode } from './types.js';
|
|
6
7
|
export { SSFHost } from './host.js';
|
|
7
|
-
export type { IScriptingObjectProxy } from '@elliemae/pui-scripting-object';
|
|
8
|
-
export { OpenMode } from './types.js';
|