@elliemae/ssf-host 2.8.0 → 2.9.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.
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
6
10
  var __copyProps = (to, from, except, desc) => {
7
11
  if (from && typeof from === "object" || typeof from === "function") {
8
12
  for (let key of __getOwnPropNames(from))
@@ -13,4 +17,50 @@ var __copyProps = (to, from, except, desc) => {
13
17
  };
14
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
19
  var appObjects_exports = {};
20
+ __export(appObjects_exports, {
21
+ APPLICATION_SERVICE_OBJECT: () => APPLICATION_SERVICE_OBJECT,
22
+ applicationScriptingObject: () => applicationScriptingObject,
23
+ authScriptingObject: () => authScriptingObject
24
+ });
16
25
  module.exports = __toCommonJS(appObjects_exports);
26
+ const applicationScriptingObject = {
27
+ object: {
28
+ events: [],
29
+ functions: [
30
+ "closeModal",
31
+ "extend",
32
+ "getApplicationContext",
33
+ "getCapabilities",
34
+ "getCompanySettings",
35
+ "getDescriptor",
36
+ "getPersonaAccess",
37
+ "getPoliciesDetails",
38
+ "getUserAccessRights",
39
+ "hideSpinner",
40
+ "keepSessionAlive",
41
+ "log",
42
+ "navigate",
43
+ "open",
44
+ "openModal",
45
+ "performAction",
46
+ "print",
47
+ "showError",
48
+ "showSpinner",
49
+ "supportsAction",
50
+ "supportsNavigateTo"
51
+ ],
52
+ objectId: "application",
53
+ objectType: "Object"
54
+ },
55
+ type: "object"
56
+ };
57
+ const APPLICATION_SERVICE_OBJECT = "application";
58
+ const authScriptingObject = {
59
+ object: {
60
+ events: [],
61
+ functions: ["getAccessToken", "createAuthCode", "getUser"],
62
+ objectId: "Auth",
63
+ objectType: "Object"
64
+ },
65
+ type: "object"
66
+ };
@@ -83,8 +83,6 @@ class AppraisalService extends import_microfe_common.ScriptingObject {
83
83
  delete = () => {
84
84
  throw new Error("Not implemented");
85
85
  };
86
- // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
87
- showDialog = (options) => Promise.resolve("");
88
86
  unload = async () => {
89
87
  };
90
88
  }
@@ -50,8 +50,6 @@ class FloodService extends import_microfe_common.ScriptingObject {
50
50
  getParameters = () => Promise.resolve({
51
51
  moduleId: "floodService"
52
52
  });
53
- // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
54
- showDialog = (options) => Promise.resolve("");
55
53
  unload = () => Promise.resolve();
56
54
  _dispose = () => {
57
55
  };
@@ -0,0 +1,46 @@
1
+ const applicationScriptingObject = {
2
+ object: {
3
+ events: [],
4
+ functions: [
5
+ "closeModal",
6
+ "extend",
7
+ "getApplicationContext",
8
+ "getCapabilities",
9
+ "getCompanySettings",
10
+ "getDescriptor",
11
+ "getPersonaAccess",
12
+ "getPoliciesDetails",
13
+ "getUserAccessRights",
14
+ "hideSpinner",
15
+ "keepSessionAlive",
16
+ "log",
17
+ "navigate",
18
+ "open",
19
+ "openModal",
20
+ "performAction",
21
+ "print",
22
+ "showError",
23
+ "showSpinner",
24
+ "supportsAction",
25
+ "supportsNavigateTo"
26
+ ],
27
+ objectId: "application",
28
+ objectType: "Object"
29
+ },
30
+ type: "object"
31
+ };
32
+ const APPLICATION_SERVICE_OBJECT = "application";
33
+ const authScriptingObject = {
34
+ object: {
35
+ events: [],
36
+ functions: ["getAccessToken", "createAuthCode", "getUser"],
37
+ objectId: "Auth",
38
+ objectType: "Object"
39
+ },
40
+ type: "object"
41
+ };
42
+ export {
43
+ APPLICATION_SERVICE_OBJECT,
44
+ applicationScriptingObject,
45
+ authScriptingObject
46
+ };
@@ -62,8 +62,6 @@ class AppraisalService extends ScriptingObject {
62
62
  delete = () => {
63
63
  throw new Error("Not implemented");
64
64
  };
65
- // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
66
- showDialog = (options) => Promise.resolve("");
67
65
  unload = async () => {
68
66
  };
69
67
  }
@@ -26,8 +26,6 @@ class FloodService extends ScriptingObject {
26
26
  getParameters = () => Promise.resolve({
27
27
  moduleId: "floodService"
28
28
  });
29
- // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
30
- showDialog = (options) => Promise.resolve("");
31
29
  unload = () => Promise.resolve();
32
30
  _dispose = () => {
33
31
  };
@@ -5,3 +5,22 @@ export type AppObjects = {
5
5
  AppraisalService: AppraisalService;
6
6
  FloodService: FloodService;
7
7
  } & ScriptingObjectTypes;
8
+ export declare const applicationScriptingObject: {
9
+ object: {
10
+ events: never[];
11
+ functions: string[];
12
+ objectId: string;
13
+ objectType: string;
14
+ };
15
+ type: string;
16
+ };
17
+ export declare const APPLICATION_SERVICE_OBJECT = "application";
18
+ export declare const authScriptingObject: {
19
+ object: {
20
+ events: never[];
21
+ functions: string[];
22
+ objectId: string;
23
+ objectType: string;
24
+ };
25
+ type: string;
26
+ };
@@ -1,4 +1,4 @@
1
- import { IModule, Listener, Events, DialogOptions } from '@elliemae/pui-scripting-object';
1
+ import { IModule, Listener, Events } from '@elliemae/pui-scripting-object';
2
2
  import { ScriptingObject, Event } from '@elliemae/microfe-common';
3
3
  export declare const APPRAISAL_SERVICE_OBJECT = "AppraisalService";
4
4
  export type LoanInfo = {
@@ -35,7 +35,6 @@ export declare class AppraisalService extends ScriptingObject implements IModule
35
35
  saveLoan: () => Promise<void>;
36
36
  commit: () => Promise<unknown>;
37
37
  delete: () => never;
38
- showDialog: (options: DialogOptions) => Promise<string>;
39
38
  unload: () => Promise<void>;
40
39
  }
41
40
  export declare const appraisalServiceObject: {
@@ -1,4 +1,4 @@
1
- import type { IModule, Events, DialogOptions } from '@elliemae/pui-scripting-object';
1
+ import type { IModule, Events } from '@elliemae/pui-scripting-object';
2
2
  import { ScriptingObject, Event } from '@elliemae/microfe-common';
3
3
  export declare const FLOOD_SERVICE_OBJECT = "FloodService";
4
4
  export declare class FloodService extends ScriptingObject implements IModule {
@@ -15,7 +15,6 @@ export declare class FloodService extends ScriptingObject implements IModule {
15
15
  getParameters: () => Promise<{
16
16
  moduleId: string;
17
17
  }>;
18
- showDialog: (options: DialogOptions) => Promise<string>;
19
18
  unload: () => Promise<void>;
20
19
  _dispose: () => void;
21
20
  }