@elliemae/pui-app-sdk 2.12.3 → 2.13.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/analytics/appdynamics.js +36 -0
- package/dist/cjs/analytics/index.js +15 -13
- package/dist/cjs/analytics/page-view-event.js +16 -19
- package/dist/cjs/analytics/user-session-event.js +13 -14
- package/dist/cjs/analytics/user-wait-event.js +4 -4
- package/dist/cjs/analytics/{ba-event-parameters.js → web-analytics.js} +2 -2
- package/dist/cjs/api/auth/index.js +13 -20
- package/dist/cjs/api/helpers.js +4 -16
- package/dist/cjs/api/users/index.js +4 -5
- package/dist/cjs/communication/http-client/index.js +16 -21
- package/dist/cjs/communication/http-client/retry-axios.js +0 -2
- package/dist/cjs/communication/http-client/tests/index.test-disable.js +5 -6
- package/dist/cjs/data/auth/actions.js +22 -28
- package/dist/cjs/data/breakpoint/index.js +1 -3
- package/dist/cjs/data/live-message/index.js +8 -11
- package/dist/cjs/data/reducers.js +1 -2
- package/dist/cjs/data/store.js +4 -8
- package/dist/cjs/data/wait-message/actions.js +6 -9
- package/dist/cjs/data/wait-message/reducer.js +13 -17
- package/dist/cjs/index.js +21 -15
- package/dist/cjs/route/index.js +23 -12
- package/dist/cjs/route/{usePageView.js → page-view.js} +12 -22
- package/dist/cjs/route/private-route/index.js +9 -10
- package/dist/cjs/sideeffect/auth/index.js +6 -10
- package/dist/cjs/utils/app-config/config.js +3 -14
- package/dist/cjs/utils/app-config/index.js +11 -15
- package/dist/cjs/utils/app-host-integration/react.js +7 -10
- package/dist/cjs/utils/auth/index.js +40 -44
- package/dist/cjs/utils/font-size.js +1 -1
- package/dist/cjs/utils/helpers.js +0 -6
- package/dist/cjs/utils/log-records.js +7 -7
- package/dist/cjs/utils/micro-frontend/guest.js +31 -8
- package/dist/cjs/utils/micro-frontend/host.js +14 -7
- package/dist/cjs/utils/micro-frontend/index.js +2 -4
- package/dist/cjs/utils/redact-pii.js +39 -0
- package/dist/cjs/utils/service-worker.js +2 -5
- package/dist/cjs/utils/session.js +2 -8
- package/dist/cjs/utils/storybook/theme.js +9 -12
- package/dist/cjs/utils/testing/index.js +9 -18
- package/dist/cjs/utils/testing/render-with-redux.js +11 -14
- package/dist/cjs/utils/testing/render-with-router-redux.js +17 -20
- package/dist/cjs/utils/testing/render-with-router.js +13 -16
- package/dist/cjs/utils/testing/render-with-state-addons.js +7 -16
- package/dist/cjs/utils/url.js +0 -8
- package/dist/cjs/utils/web-storage.js +1 -7
- package/dist/cjs/utils/window.js +0 -2
- package/dist/cjs/view/app-root/hosted-app.js +5 -8
- package/dist/cjs/view/app-root/index.js +20 -23
- package/dist/cjs/view/app-root/stand-alone-app.js +5 -8
- package/dist/cjs/view/app-root/style.js +5 -12
- package/dist/cjs/view/error-toast/index.stories.js +22 -31
- package/dist/cjs/view/fetch-host-app-data/store.js +1 -5
- package/dist/cjs/view/fields/check-box/index.js +20 -32
- package/dist/cjs/view/fields/check-box/index.stories.js +20 -24
- package/dist/cjs/view/fields/check-box/set-value.stories.js +17 -21
- package/dist/cjs/view/fields/combo-box/index.js +22 -28
- package/dist/cjs/view/fields/connect-form.js +3 -4
- package/dist/cjs/view/fields/date-input/index.js +15 -21
- package/dist/cjs/view/fields/date-picker/index.js +15 -21
- package/dist/cjs/view/fields/form-item-layout/index.js +16 -20
- package/dist/cjs/view/fields/input-mask/index.js +16 -28
- package/dist/cjs/view/fields/large-text-box/index.js +15 -21
- package/dist/cjs/view/fields/radio/index.js +20 -26
- package/dist/cjs/view/fields/radio/index.stories.js +17 -21
- package/dist/cjs/view/fields/radio/set-value.stories.js +15 -19
- package/dist/cjs/view/fields/radio-group/index.js +16 -22
- package/dist/cjs/view/fields/radio-group/index.stories.js +37 -44
- package/dist/cjs/view/fields/text-box/index.js +15 -21
- package/dist/cjs/view/fields/watch-value.js +4 -5
- package/dist/cjs/view/form/index.js +9 -10
- package/dist/cjs/view/form/index.stories.js +3 -6
- package/dist/cjs/view/form/submit-button/index.js +2 -3
- package/dist/cjs/view/form/usecases.stories.js +3 -6
- package/dist/cjs/view/guest-unload-handlers/index.js +1 -2
- package/dist/cjs/view/header/center-region/index.js +8 -20
- package/dist/cjs/view/header/index.js +8 -11
- package/dist/cjs/view/host-binding-events/index.js +2 -2
- package/dist/cjs/view/live-message/index.stories.js +0 -6
- package/dist/cjs/view/loadable/index.js +1 -2
- package/dist/cjs/view/login/index.js +5 -6
- package/dist/cjs/view/media-breakpoint/index.js +1 -1
- package/dist/cjs/view/message-to-host-app/index.js +1 -2
- package/dist/cjs/view/micro-app/app-factory/index.js +30 -48
- package/dist/cjs/view/micro-app/index.js +1 -1
- package/dist/cjs/view/micro-app/resources/manifest.js +27 -39
- package/dist/cjs/view/micro-app/resources/script.js +22 -35
- package/dist/cjs/view/micro-app/resources/style.js +20 -33
- package/dist/cjs/view/micro-app/use-app-will-render.js +12 -12
- package/dist/cjs/view/micro-app/utils.js +0 -6
- package/dist/cjs/view/micro-iframe-app/app.js +6 -9
- package/dist/cjs/view/micro-iframe-app/iframe/index.js +8 -9
- package/dist/cjs/view/micro-iframe-app/index.js +4 -7
- package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +5 -12
- package/dist/cjs/view/modals/error/index.js +6 -13
- package/dist/cjs/view/modals/navigation-prompt/index.js +4 -11
- package/dist/cjs/view/modals/session-expiry/customHooks.js +3 -5
- package/dist/cjs/view/modals/session-expiry/index.js +6 -13
- package/dist/cjs/view/modals/wait-message/html-wait-message.js +3 -4
- package/dist/cjs/view/modals/wait-message/index.js +8 -9
- package/dist/cjs/view/modals/wait-message/index.stories.js +4 -5
- package/dist/cjs/view/render-with-delay/index.js +3 -6
- package/dist/cjs/view/render-with-host-data/index.js +0 -2
- package/dist/cjs/view/session-timeout/index.js +0 -2
- package/dist/cjs/view/useMediaBreakpoints/index.js +0 -12
- package/dist/es/analytics/appdynamics.js +18 -0
- package/dist/es/analytics/index.js +14 -13
- package/dist/es/analytics/page-view-event.js +16 -19
- package/dist/es/analytics/user-session-event.js +12 -13
- package/dist/es/analytics/user-wait-event.js +4 -4
- package/dist/es/analytics/{ba-event-parameters.js → web-analytics.js} +2 -2
- package/dist/es/api/auth/index.js +13 -18
- package/dist/es/api/helpers.js +4 -14
- package/dist/es/api/users/index.js +4 -5
- package/dist/es/communication/http-client/index.js +16 -20
- package/dist/es/communication/http-client/retry-axios.js +0 -2
- package/dist/es/communication/http-client/tests/index.test-disable.js +5 -6
- package/dist/es/data/auth/actions.js +22 -28
- package/dist/es/data/breakpoint/index.js +1 -3
- package/dist/es/data/live-message/index.js +8 -11
- package/dist/es/data/reducers.js +1 -2
- package/dist/es/data/store.js +4 -8
- package/dist/es/data/wait-message/actions.js +6 -9
- package/dist/es/data/wait-message/reducer.js +12 -16
- package/dist/es/index.js +4 -1
- package/dist/es/route/index.js +23 -13
- package/dist/es/route/page-view.js +15 -0
- package/dist/es/route/private-route/index.js +9 -10
- package/dist/es/sideeffect/auth/index.js +6 -10
- package/dist/es/utils/app-config/config.js +3 -14
- package/dist/es/utils/app-config/index.js +11 -15
- package/dist/es/utils/app-host-integration/react.js +7 -10
- package/dist/es/utils/auth/index.js +39 -41
- package/dist/es/utils/font-size.js +1 -1
- package/dist/es/utils/helpers.js +0 -3
- package/dist/es/utils/log-records.js +7 -7
- package/dist/es/utils/micro-frontend/guest.js +29 -6
- package/dist/es/utils/micro-frontend/host.js +13 -7
- package/dist/es/utils/micro-frontend/index.js +2 -3
- package/dist/es/utils/redact-pii.js +31 -0
- package/dist/es/utils/service-worker.js +2 -4
- package/dist/es/utils/session.js +2 -8
- package/dist/es/utils/storybook/theme.js +9 -12
- package/dist/es/utils/testing/index.js +9 -12
- package/dist/es/utils/testing/render-with-redux.js +11 -14
- package/dist/es/utils/testing/render-with-router-redux.js +17 -20
- package/dist/es/utils/testing/render-with-router.js +13 -16
- package/dist/es/utils/testing/render-with-state-addons.js +7 -12
- package/dist/es/utils/url.js +0 -4
- package/dist/es/utils/web-storage.js +1 -4
- package/dist/es/utils/window.js +0 -1
- package/dist/es/view/app-root/hosted-app.js +5 -8
- package/dist/es/view/app-root/index.js +20 -23
- package/dist/es/view/app-root/stand-alone-app.js +5 -8
- package/dist/es/view/app-root/style.js +5 -10
- package/dist/es/view/error-toast/index.stories.js +22 -30
- package/dist/es/view/fetch-host-app-data/store.js +1 -5
- package/dist/es/view/fields/check-box/index.js +20 -26
- package/dist/es/view/fields/check-box/index.stories.js +20 -24
- package/dist/es/view/fields/check-box/set-value.stories.js +17 -21
- package/dist/es/view/fields/combo-box/index.js +22 -28
- package/dist/es/view/fields/connect-form.js +3 -4
- package/dist/es/view/fields/date-input/index.js +15 -21
- package/dist/es/view/fields/date-picker/index.js +15 -21
- package/dist/es/view/fields/form-item-layout/index.js +16 -20
- package/dist/es/view/fields/input-mask/index.js +16 -22
- package/dist/es/view/fields/large-text-box/index.js +15 -21
- package/dist/es/view/fields/radio/index.js +20 -26
- package/dist/es/view/fields/radio/index.stories.js +17 -21
- package/dist/es/view/fields/radio/set-value.stories.js +15 -19
- package/dist/es/view/fields/radio-group/index.js +16 -22
- package/dist/es/view/fields/radio-group/index.stories.js +37 -44
- package/dist/es/view/fields/text-box/index.js +15 -21
- package/dist/es/view/fields/watch-value.js +4 -5
- package/dist/es/view/form/index.js +9 -10
- package/dist/es/view/form/index.stories.js +3 -6
- package/dist/es/view/form/submit-button/index.js +2 -3
- package/dist/es/view/form/usecases.stories.js +3 -6
- package/dist/es/view/guest-unload-handlers/index.js +1 -2
- package/dist/es/view/header/center-region/index.js +8 -17
- package/dist/es/view/header/index.js +8 -11
- package/dist/es/view/host-binding-events/index.js +2 -2
- package/dist/es/view/live-message/index.stories.js +0 -1
- package/dist/es/view/loadable/index.js +1 -2
- package/dist/es/view/login/index.js +5 -6
- package/dist/es/view/media-breakpoint/index.js +1 -1
- package/dist/es/view/message-to-host-app/index.js +1 -2
- package/dist/es/view/micro-app/app-factory/index.js +30 -42
- package/dist/es/view/micro-app/index.js +1 -1
- package/dist/es/view/micro-app/resources/manifest.js +26 -31
- package/dist/es/view/micro-app/resources/script.js +21 -31
- package/dist/es/view/micro-app/resources/style.js +20 -30
- package/dist/es/view/micro-app/use-app-will-render.js +12 -12
- package/dist/es/view/micro-app/utils.js +0 -3
- package/dist/es/view/micro-iframe-app/app.js +6 -8
- package/dist/es/view/micro-iframe-app/iframe/index.js +8 -9
- package/dist/es/view/micro-iframe-app/index.js +4 -6
- package/dist/es/view/micro-iframe-app/use-frame-loaded.js +5 -9
- package/dist/es/view/modals/error/index.js +6 -8
- package/dist/es/view/modals/navigation-prompt/index.js +4 -5
- package/dist/es/view/modals/session-expiry/customHooks.js +3 -4
- package/dist/es/view/modals/session-expiry/index.js +6 -8
- package/dist/es/view/modals/wait-message/html-wait-message.js +3 -4
- package/dist/es/view/modals/wait-message/index.js +8 -9
- package/dist/es/view/modals/wait-message/index.stories.js +4 -5
- package/dist/es/view/render-with-delay/index.js +3 -5
- package/dist/es/view/render-with-host-data/index.js +0 -1
- package/dist/es/view/session-timeout/index.js +0 -1
- package/dist/es/view/useMediaBreakpoints/index.js +0 -6
- package/dist/types/analytics/appdynamics.d.ts +9 -0
- package/dist/types/analytics/index.d.ts +2 -2
- package/dist/types/analytics/web-analytics.d.ts +8 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/route/page-view.d.ts +1 -0
- package/dist/types/utils/micro-frontend/guest.d.ts +1 -0
- package/dist/types/utils/micro-frontend/host.d.ts +1 -1
- package/dist/types/utils/redact-pii.d.ts +1 -0
- package/dist/types/view/visually-hidden/index.d.ts +1 -1
- package/package.json +7 -3
- package/dist/es/route/usePageView.js +0 -18
- package/dist/public/app.config.json +0 -129
- package/dist/public/assets/index.ad459dcebaa616bff55e77d860405729.svg +0 -1
- package/dist/public/assets/index.dae17c8817fd9c5ab29e7c3a8925a1f4.svg +0 -1
- package/dist/public/assets/logo.0cbd33c5006f8ea6d106f8ab13f6e6dc.svg +0 -1
- package/dist/public/iframe.b3911eaf1a99a53ef7b10a1e1f0bdfc4.html +0 -8
- package/dist/public/index.html +0 -5
- package/dist/public/js/emuiAppSdk.e28a62497e211b4c6132.js +0 -3
- package/dist/public/js/emuiAppSdk.e28a62497e211b4c6132.js.LICENSE.txt +0 -95
- package/dist/public/js/emuiAppSdk.e28a62497e211b4c6132.js.gz +0 -0
- package/dist/public/js/emuiAppSdk.e28a62497e211b4c6132.js.map +0 -1
- package/dist/types/analytics/ba-event-parameters.d.ts +0 -8
- package/dist/types/route/usePageView.d.ts +0 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import "core-js/modules/web.dom-collections.iterator.js";
|
|
2
1
|
import { useEffect, useState, memo } from 'react';
|
|
3
2
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
4
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
export const RenderWithDelay = /*#__PURE__*/memo(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} = _ref;
|
|
4
|
+
export const RenderWithDelay = /*#__PURE__*/memo(({
|
|
5
|
+
render
|
|
6
|
+
}) => {
|
|
9
7
|
const [show, showComponents] = useState(false);
|
|
10
8
|
useEffect(() => {
|
|
11
9
|
const timeoutId = setTimeout(showComponents.bind(null, true), 0);
|
|
@@ -2,7 +2,6 @@ import _jsx from "@babel/runtime/helpers/jsx";
|
|
|
2
2
|
|
|
3
3
|
var _WaitMessageLauncher;
|
|
4
4
|
|
|
5
|
-
import "core-js/modules/web.dom-collections.iterator.js";
|
|
6
5
|
import { useState, useEffect } from 'react';
|
|
7
6
|
import { fetchHostAppData } from "../fetch-host-app-data/index.js";
|
|
8
7
|
import { WaitMessageLauncher } from "../modals/wait-message/wait-message-launcher.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _jsx from "@babel/runtime/helpers/jsx";
|
|
2
|
-
import "core-js/modules/web.dom-collections.iterator.js";
|
|
3
2
|
import { useEffect, useState } from 'react';
|
|
4
3
|
import { useAppDispatch } from "../../data/react-redux.js";
|
|
5
4
|
import { logout } from "../../data/logout/actions.js";
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/esnext.async-iterator.map.js";
|
|
2
|
-
import "core-js/modules/esnext.iterator.map.js";
|
|
3
|
-
import "core-js/modules/web.dom-collections.iterator.js";
|
|
4
|
-
import "core-js/modules/esnext.async-iterator.for-each.js";
|
|
5
|
-
import "core-js/modules/esnext.iterator.constructor.js";
|
|
6
|
-
import "core-js/modules/esnext.iterator.for-each.js";
|
|
7
1
|
import { useState, useEffect, useCallback } from 'react';
|
|
8
2
|
export const useMediaBreakpoints = (queries, values, defaultValue) => {
|
|
9
3
|
const mediaQueryLists = queries.map(q => window.matchMedia(q));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface AppDynamicsUserData {
|
|
2
|
+
subAppId: string;
|
|
3
|
+
instanceId?: string;
|
|
4
|
+
userId?: string;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export declare const getAppDynamicsUserData: () => AppDynamicsUserData;
|
|
8
|
+
export declare const setAppDynamicsUserData: <T extends Record<string, any>>(params: T) => void;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface BAEventParameters {
|
|
2
|
+
instanceId?: string;
|
|
3
|
+
userId?: string;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const getBAEventParameters: () => BAEventParameters;
|
|
7
|
+
export declare const updateBAEventParameters: <T extends Record<string, any>>(params: T) => void;
|
|
8
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -67,8 +67,10 @@ export { MicroIFrameApp } from './view/micro-iframe-app';
|
|
|
67
67
|
export { getNavigationLinks } from './view/micro-app/utils';
|
|
68
68
|
export { getStore } from './data/store';
|
|
69
69
|
export { RegisterService } from './utils/guest-with-service';
|
|
70
|
+
export { setAppDynamicsUserData } from './analytics/appdynamics';
|
|
70
71
|
export { sendBAEvent } from './analytics';
|
|
71
|
-
export { updateBAEventParameters } from './analytics/
|
|
72
|
+
export { updateBAEventParameters } from './analytics/web-analytics';
|
|
73
|
+
export { redactPii } from './utils/redact-pii';
|
|
72
74
|
export type { EMUI } from './utils/window';
|
|
73
75
|
export type { Await } from './utils/await';
|
|
74
76
|
export type { RootState, AppStore } from './data/store';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const onPageView: (pageTitle: string) => void;
|
|
@@ -36,6 +36,7 @@ export declare class CMicroAppGuest implements IMicroAppGuest {
|
|
|
36
36
|
getHost(): IMicroAppHost;
|
|
37
37
|
getLogger(): MicroFrontEndLogger;
|
|
38
38
|
getProps(): GuestProps;
|
|
39
|
+
private getSessionStorageItem;
|
|
39
40
|
private getSSFHost;
|
|
40
41
|
init(this: CMicroAppGuest, options: InitOptions): Promise<void>;
|
|
41
42
|
mount(this: CMicroAppGuest, options?: MountOptions): Promise<void>;
|
|
@@ -49,6 +49,6 @@ export declare class CMicroAppHost implements IMicroAppHost {
|
|
|
49
49
|
onResizeEvent(eventHandler: ResizeEventHandler): string;
|
|
50
50
|
onBreakpointChangeEvent(eventHandler: BreakpointChangeEventHandler): string;
|
|
51
51
|
setSystemVersion(version?: string): void;
|
|
52
|
-
sendBAEvent(this: void,
|
|
52
|
+
sendBAEvent(this: void, data: BAEvent): void;
|
|
53
53
|
}
|
|
54
54
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const redactPii: <T>(data: T) => T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare type SpanProps = React.HTMLProps<HTMLSpanElement>;
|
|
3
|
-
declare const VisuallyHidden: import("react").ForwardRefExoticComponent<Pick<SpanProps, "headers" | "method" | "data" | "min" | "max" | "width" | "size" | "value" | "type" | "id" | "scope" | "href" | "title" | "children" | "
|
|
3
|
+
declare const VisuallyHidden: import("react").ForwardRefExoticComponent<Pick<SpanProps, "headers" | "method" | "data" | "min" | "max" | "width" | "size" | "value" | "type" | "id" | "scope" | "href" | "title" | "children" | "cite" | "form" | "label" | "slot" | "span" | "style" | "summary" | "pattern" | "async" | "defer" | "key" | "color" | "hidden" | "list" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "start" | "content" | "default" | "wrap" | "open" | "multiple" | "disabled" | "media" | "aria-live" | "name" | "className" | "height" | "lang" | "target" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "classID" | "useMap" | "wmode" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "maxLength" | "minLength" | "readOnly" | "required" | "src" | "step" | "download" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "dateTime" | "acceptCharset" | "action" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "rowSpan" | "cols" | "rows" | "kind" | "srcLang" | "poster"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
4
4
|
export { VisuallyHidden };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.2",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
"./http-client": {
|
|
30
30
|
"import": "./dist/es/communication/http-client/index.js",
|
|
31
31
|
"require": "./dist/cjs/communication/http-client/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./analytics": {
|
|
34
|
+
"import": "./dist/es/analytics/index.js",
|
|
35
|
+
"require": "./dist/cjs/analytics/index.js"
|
|
32
36
|
}
|
|
33
37
|
},
|
|
34
38
|
"files": [
|
|
@@ -49,8 +53,8 @@
|
|
|
49
53
|
"author": "ICE MT",
|
|
50
54
|
"license": "MIT",
|
|
51
55
|
"scripts": {
|
|
52
|
-
"build": "pui-cli pack -p",
|
|
53
|
-
"build:dev": "pui-cli pack",
|
|
56
|
+
"build": "pui-cli pack -p -t node",
|
|
57
|
+
"build:dev": "pui-cli pack -t node",
|
|
54
58
|
"e2e:test:functional": "cross-env CI=true e2e-test-sdk run --targets desktop mobile --suite functional",
|
|
55
59
|
"e2e:test:visual": "cross-env CI=true e2e-test-sdk run --targets desktop mobile --suite visual",
|
|
56
60
|
"e2e:test": "e2e-test-sdk run",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
|
-
import * as brum from '@elliemae/pui-user-monitoring';
|
|
3
|
-
import { pageViewEvent } from "../analytics/page-view-event.js";
|
|
4
|
-
export const usePageView = title => {
|
|
5
|
-
useEffect(() => {
|
|
6
|
-
try {
|
|
7
|
-
if (brum && title) {
|
|
8
|
-
brum.setCustomVirtualPageName(title);
|
|
9
|
-
brum.startVirtualPageMonitoringWithAutoEnd(title);
|
|
10
|
-
}
|
|
11
|
-
} catch {// eslint-disable-next-line no-empty
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
pageViewEvent({
|
|
15
|
-
pageTitle: title
|
|
16
|
-
});
|
|
17
|
-
}, [title]);
|
|
18
|
-
};
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"appId": "app-sdk",
|
|
3
|
-
"brand": "primary",
|
|
4
|
-
"activeEnv": "localhost",
|
|
5
|
-
"hosted": true,
|
|
6
|
-
"sessionTimeoutWarnInterval": "60000",
|
|
7
|
-
"sessionTimeoutInterval": "70000",
|
|
8
|
-
"serviceEndpoints": {
|
|
9
|
-
"api": "",
|
|
10
|
-
"idp": ""
|
|
11
|
-
},
|
|
12
|
-
"walkMeUrl": "https://cdn.walkme.com/users/897bcebc13fd48038c790e2866e6a9fb/test/walkme_897bcebc13fd48038c790e2866e6a9fb_https.js",
|
|
13
|
-
"env": {
|
|
14
|
-
"localhost": {
|
|
15
|
-
"serviceEndpoints": {
|
|
16
|
-
"api": "",
|
|
17
|
-
"idp": ""
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"dev": {
|
|
21
|
-
"serviceEndpoints": {
|
|
22
|
-
"api": "https://dev-api.appsdk.rd.elliemae.io",
|
|
23
|
-
"idp": "https://int.idp.ellielabs.com"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"dev2": {
|
|
27
|
-
"serviceEndpoints": {
|
|
28
|
-
"api": "https://int.api.ellielabs.com",
|
|
29
|
-
"idp": "https://int.idp.ellielabs.com"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"qa": {
|
|
33
|
-
"serviceEndpoints": {
|
|
34
|
-
"api": "https://qa-api.appsdk.rd.elliemae.io",
|
|
35
|
-
"idp": "https://int.idp.ellielabs.com"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"qa2": {
|
|
39
|
-
"serviceEndpoints": {
|
|
40
|
-
"api": "https://int.api.ellielabs.com",
|
|
41
|
-
"idp": "https://int.idp.ellielabs.com"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"qa3": {
|
|
45
|
-
"serviceEndpoints": {
|
|
46
|
-
"api": "https://int.api.ellielabs.com",
|
|
47
|
-
"idp": "https://int.idp.ellielabs.com"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"int": {
|
|
51
|
-
"serviceEndpoints": {
|
|
52
|
-
"api": "https://int.api.ellielabs.com",
|
|
53
|
-
"idp": "https://int.idp.ellielabs.com"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"peg-osb1": {
|
|
57
|
-
"serviceEndpoints": {
|
|
58
|
-
"api": "https://encompass-peg-api.elliemae.com",
|
|
59
|
-
"idp": "https://peg.idp.ellielabs.com/authorize"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"peg-osb2": {
|
|
63
|
-
"serviceEndpoints": {
|
|
64
|
-
"api": "https://encompass-peg2-api.elliemae.com",
|
|
65
|
-
"idp": "https://peg.idp.ellielabs.com/authorize"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"peg": {
|
|
69
|
-
"serviceEndpoints": {
|
|
70
|
-
"api": "https://peg2-west.api.ellielabs.com",
|
|
71
|
-
"idp": "https://peg.idp.ellielabs.com/authorize"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"peg-oapi-west": {
|
|
75
|
-
"serviceEndpoints": {
|
|
76
|
-
"api": "https://peg2-west.api.ellielabs.com",
|
|
77
|
-
"idp": "https://peg.idp.ellielabs.com/authorize"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"peg-oapi-east": {
|
|
81
|
-
"serviceEndpoints": {
|
|
82
|
-
"api": "https://peg2-east.api.ellielabs.com",
|
|
83
|
-
"idp": "https://peg.idp.ellielabs.com/authorize"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"peg2-oapi-east": {
|
|
87
|
-
"serviceEndpoints": {
|
|
88
|
-
"api": "https://peg2-east.api.ellielabs.com",
|
|
89
|
-
"idp": "https://peg.idp.ellielabs.com/authorize"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"peg3": {
|
|
93
|
-
"serviceEndpoints": {
|
|
94
|
-
"api": "https://pel1.api.ellielabs.com",
|
|
95
|
-
"idp": "https://peg3.idp.ellielabs.com/authorize"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"stage": {
|
|
99
|
-
"serviceEndpoints": {
|
|
100
|
-
"api": "https://stg.api.elliemae.com",
|
|
101
|
-
"idp": "https://stg.idp.elliemae.com/authorize"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"beta": {
|
|
105
|
-
"serviceEndpoints": {
|
|
106
|
-
"api": "https://concept.api.elliemae.com",
|
|
107
|
-
"idp": "https://concept.idp.elliemae.com/authorize"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"demo": {
|
|
111
|
-
"serviceEndpoints": {
|
|
112
|
-
"api": "https://concept.api.elliemae.com",
|
|
113
|
-
"idp": "https://concept.idp.elliemae.com/authorize"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"epc": {
|
|
117
|
-
"serviceEndpoints": {
|
|
118
|
-
"api": "https://concept.api.elliemae.com",
|
|
119
|
-
"idp": "https://concept.idp.elliemae.com/authorize"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"prod": {
|
|
123
|
-
"serviceEndpoints": {
|
|
124
|
-
"api": "https://api.elliemae.com",
|
|
125
|
-
"idp": "https://idp.elliemae.com/authorize"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><g fill="#fff"><path data-color="color-2" d="M10 14H6c0 1.1.9 2 2 2s2-.9 2-2z"/><path d="M15 11h-.5c-.7-.7-1.5-1.7-1.5-3V5c0-2.8-2.2-5-5-5S3 2.2 3 5v3c0 1.3-.8 2.3-1.5 3H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><g fill="#fff"><path d="M8 2c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2s-2-.9-2-2V4c0-1.1.9-2 2-2m0-2C5.8 0 4 1.8 4 4v1c0 2.2 1.8 4 4 4s4-1.8 4-4V4c0-2.2-1.8-4-4-4z"/><path data-color="color-2" d="M9 12c1.5 0 2.8.8 3.5 2H3.6c.7-1.2 2-2 3.5-2H9m0-2H7c-3.3 0-6 2.7-6 6h14c0-3.3-2.7-6-6-6z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" width="195" height="28"><style>.st0{fill:#dee3e0}</style><g id="Page-1_2_"><g id="brand-assets" transform="translate(-107 -187)"><g id="logo-enc-em-inline-dark" transform="translate(107 187)"><g id="Group-3"><g id="Group" transform="translate(143 14)"><path id="Fill-27" class="st0" d="M1.8 1.9c-.6 0-.9.6-.9 1.1s.3 1.1.9 1.1c.6 0 .8-.7.8-1.1.1-.5-.2-1.1-.8-1.1zM.4.1h.5v1.8c.2-.3.5-.5 1-.5.9 0 1.3.7 1.3 1.5s-.4 1.6-1.3 1.6c-.5 0-.9-.3-1-.5v.4H.4V.1z"/><path id="Fill-29" class="st0" d="M3.7 5.3H4c.5 0 .7-.7.7-.7 0-.1-.1-.2-.1-.3l-1-2.8h.6L5 4l.8-2.5h.6l-1.1 3c-.2.6-.4 1.2-1.1 1.2h-.4l-.1-.4z"/><path id="Fill-31" class="st0" d="M50.5 1.8h.2c.1 0 .2 0 .2-.2 0-.1-.1-.2-.2-.2h-.2v.4zm-.2-.5h.4c.3 0 .4.1.4.3 0 .2-.1.3-.3.3l.3.5h-.2l-.3-.5h-.2v.5h-.2V1.3h.1zm.3 1.4c.5 0 .8-.4.8-.8 0-.5-.3-.8-.8-.8s-.8.4-.8.8.4.8.8.8zm0-1.8c.5 0 1 .4 1 1 0 .5-.4 1-1 1s-1-.4-1-1c.1-.6.5-1 1-1z"/><path id="Fill-33" class="st0" d="M8.8.1h4.8v1.1H10v2.5h3.2v1H10v2.9h3.6v1H8.8z"/><path id="Fill-35" class="st0" d="M14.6 8.6h1.1V0h-1.1z"/><path id="Fill-37" class="st0" d="M17 8.6h1.1V0H17z"/><path id="Fill-38" class="st0" d="M19.4 8.6h1.2V2.3h-1.2v6.3zm-.1-7.2h1.2V0h-1.2v1.4z"/><path id="Fill-39" class="st0" d="M25.7 4.9c0-1-.6-1.7-1.6-1.7-1.1 0-1.6.9-1.7 1.7h3.3zm.7 3.5c-.4.2-.9.4-2 .4-2.2 0-3.2-1.3-3.2-3.4 0-1.9 1.2-3.2 2.9-3.2 2.1 0 2.8 1.5 2.8 3.5h-4.5c0 1.2 1 2.1 2.1 2.1.8 0 1.6-.4 1.9-.6v1.2z"/><path id="Fill-40" class="st0" d="M27.9.1H30l2.6 7.1L35.3.1h2v8.5h-1.2V1.2l-2.9 7.4H32l-2.8-7.4v7.4h-1.3z"/><path id="Fill-41" class="st0" d="M48.2 4.9c0-1-.6-1.7-1.6-1.7-1.1 0-1.6.9-1.7 1.7h3.3zm.8 3.5c-.4.2-.9.4-2 .4-2.2 0-3.2-1.3-3.2-3.4 0-1.9 1.2-3.2 2.9-3.2 2.1 0 2.8 1.5 2.8 3.5H45c0 1.2 1 2.1 2.1 2.1.8 0 1.6-.4 1.9-.6v1.2z"/><path id="Fill-42" class="st0" d="M42.2 5.6h-.7c-.6 0-2.2.1-2.2 1.2 0 .7.6 1 1.2 1 1.1 0 1.7-.7 1.7-1.6v-.6zm-3-1.5-.9-.2c.3-1.4 1.6-1.7 2.4-1.7 1.8 0 2.5.9 2.5 2.6v2.6c0 .7 0 1 .1 1.2h-1.2v-.8c-.3.4-.9 1-1.9 1-1.3 0-2.3-.6-2.3-1.9 0-1.6 1.7-2.1 2.9-2.1H42c0-1.1-.4-1.8-1.5-1.7-1 .1-1.3 1-1.3 1z"/></g><g id="Page-1"><path id="Fill-1" d="M28 14c0 7.7-6.3 14-14 14S0 21.7 0 14 6.3 0 14 0s14 6.3 14 14" style="fill:#fff"/><path id="Fill-3" d="M14.1 2.3v-.5H14C7.2 1.8 1.8 7.3 1.8 14h.6c6.5.1 11.7-5.2 11.7-11.7" style="fill:#408a90"/><path id="Fill-5" d="M2.3 14.1h-.6c.1 6.7 5.5 12.2 12.2 12.2h.1v-.4c.1-6.5-5.1-11.8-11.7-11.8" style="fill:#00acdc"/><path id="Fill-7" d="M25.9 14.1h.3V14c0-6.7-5.4-12.2-12.1-12.2v.5c0 6.5 5.3 11.8 11.8 11.8" style="fill:#f7911e"/><path id="Fill-9" d="M14.1 25.9v.4c6.7-.1 12-5.5 12.1-12.2h-.3c-6.5 0-11.8 5.3-11.8 11.8" style="fill:#0067ab"/></g><path id="Page-1_1_" d="M131.1 20.1c.8.5 2 .8 2.6.8.9 0 2.1-.4 2.1-1.6 0-2-4.9-1.9-4.9-5 0-2.3 1.7-3.5 4-3.5 1 0 1.8.2 2.6.4l-.2 1.8c-.5-.3-1.7-.6-2.2-.6-1.1 0-2 .4-2 1.4 0 2.3 4.9 1.6 4.9 5.2 0 2.4-1.9 3.5-3.9 3.5-1.1 0-2.1-.1-3.1-.6l.1-1.8zm9.4-9.7h.3c.2 0 .4 0 .4-.3 0-.2-.2-.3-.4-.3h-.3v.6zm-.3-.8h.7c.4 0 .6.2.6.5s-.2.5-.5.5l.5.8h-.3l-.5-.8h-.2v.8h-.3V9.6zm.6 2.2c.7 0 1.2-.6 1.2-1.3 0-.7-.5-1.3-1.2-1.3s-1.2.6-1.2 1.3c0 .8.5 1.3 1.2 1.3zm0-2.8c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zM123 20.1c.8.5 2 .8 2.6.8.9 0 2.1-.4 2.1-1.6 0-2-4.9-1.9-4.9-5 0-2.3 1.7-3.5 4-3.5 1 0 1.8.2 2.6.4l-.2 1.8c-.5-.3-1.7-.6-2.2-.6-1.1 0-2 .4-2 1.4 0 2.3 4.9 1.6 4.9 5.2 0 2.4-1.9 3.5-3.9 3.5-1.1 0-2.1-.1-3.1-.6l.1-1.8zm-3.8-3.1h-1.3c-1.1 0-3.9.2-3.9 2.2 0 1.2 1.1 1.8 2.1 1.8 2 0 3.1-1.3 3.1-2.9V17zm-6.2-5.1c1-.6 2.3-1.1 3.7-1.1 3.2 0 4.5 1.6 4.5 4.6V20c0 1.3 0 1.9.1 2.2h-1.9v-1.5c-.5.7-1.6 1.7-3.5 1.7-2.4 0-4.1-1.1-4.1-3.5 0-2.8 3.1-3.7 5.2-3.7h2.2c0-1.9-.7-2.9-2.8-2.9-1.2 0-2.4.4-3.3 1.1l-.1-1.5zm-7.7.6c-2.2 0-3.3 2.1-3.3 4.2 0 1.9 1 4.2 3.3 4.2 2.2 0 3.1-2.5 3.1-4.2 0-2-.8-4.2-3.1-4.2zm-5.4-1.4h2v1.6c.5-.8 1.8-1.8 3.8-1.8 3.3 0 4.8 2.7 4.8 5.7 0 3.1-1.4 6.1-4.8 6.1-2 0-3.1-.8-3.7-1.8V26h-2.1V11.1zm-17.3 0h1.9v1.6c.8-1.3 1.9-1.9 3.6-1.9 1.3 0 2.6.7 3.2 2.2.8-1.6 2.5-2.2 3.5-2.2 2.9 0 3.9 1.8 3.9 4.3v7.2h-2.1v-6.7c0-1.4-.3-3.1-2-3.1-2.1 0-2.9 2.1-2.9 4.2v5.7h-2.1v-6.7c0-1.4-.3-3.1-2-3.1-2.1 0-2.9 2.1-2.9 4.2v5.7h-2.1V11.1zm-8 9.8c2.4 0 3.5-2.2 3.5-4.2 0-2.1-1.3-4.2-3.5-4.2s-3.5 2.1-3.5 4.2c-.1 2 1 4.2 3.5 4.2zm0-10c3.4 0 5.7 2.5 5.7 5.9 0 3.2-2.3 5.9-5.7 5.9s-5.7-2.7-5.7-5.9c-.1-3.5 2.2-5.9 5.7-5.9zM67.4 13c-.8-.3-1.6-.5-2.2-.5-2.3 0-3.6 2.1-3.6 4.2 0 2 1.1 4.2 3.7 4.2.7 0 1.6-.2 2.2-.6l.2 1.8c-.9.4-1.8.5-2.6.5-3.4 0-5.7-2.7-5.7-5.9 0-3.4 2.3-5.9 5.7-5.9.8 0 1.9.2 2.5.4l-.2 1.8zm-19.2-1.9h2v1.8c.6-1.3 2.1-2 3.7-2 2.9 0 4.2 1.8 4.2 4.8v6.7H56v-5.8c0-2.6-.6-3.9-2.4-4-2.4 0-3.4 1.9-3.4 4.6v5.2h-2.1V11.1h.1zM38 7h8.6v1.9h-6.4v4.5H46v1.9h-5.8v5.1h6.4v1.9H38V7z" style="fill:#fefefe"/></g></g></g></g></svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Imports
|
|
2
|
-
import ___HTML_LOADER_GET_SOURCE_FROM_IMPORT___ from "../../../../node_modules/html-loader/dist/runtime/getUrl.js";
|
|
3
|
-
var ___HTML_LOADER_IMPORT_0___ = new URL("/favicon.ico", import.meta.url);
|
|
4
|
-
// Module
|
|
5
|
-
var ___HTML_LOADER_REPLACEMENT_0___ = ___HTML_LOADER_GET_SOURCE_FROM_IMPORT___(___HTML_LOADER_IMPORT_0___);
|
|
6
|
-
var code = "<!DOCTYPE html> <html lang=\"en\"> <head> <meta charset=\"utf-8\"/> <meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"/> <meta name=\"mobile-web-app-capable\" content=\"yes\"/> <link rel=\"icon\" href=\"" + ___HTML_LOADER_REPLACEMENT_0___ + "\"/> <title>Application</title> <script>!function(e,a,t,n,c,g,o){e.GoogleAnalyticsObject=c,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,g=a.createElement(t),o=a.getElementsByTagName(t)[0],g.async=1,g.src=\"https://www.google-analytics.com/analytics.js\",o.parentNode.insertBefore(g,o)}(window,document,\"script\",0,\"ga\")</script> <style>.full-width{width:100%}.full-height{height:100%}</style> </head> <body class=\"full-width full-height\"> <noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript> <div id=\"pui-app-container-\" class=\"full-width full-height\"></div> </body> </html> ";
|
|
7
|
-
// Exports
|
|
8
|
-
export default code;
|
package/dist/public/index.html
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<!doctype html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>emuiAppSdk</title><script defer="defer" src="/js/emuiAppSdk.e28a62497e211b4c6132.js"></script></head><p>This library emuiAppSdk exposes the following properties</p><ul id="libraryAttributes"></ul><script lang="javascript">window.onload = () => {
|
|
2
|
-
const attribNode = document.getElementById('libraryAttributes');
|
|
3
|
-
if (attribNode) {
|
|
4
|
-
attribNode.innerHTML = Object.keys(window['emuiAppSdk'] || {}).reduce((value, attribute) => value += `<li>${attribute}</li>`, '');
|
|
5
|
-
}</script>
|