@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
|
@@ -27,53 +27,46 @@ var _DSRadio, _DSRadio2;
|
|
|
27
27
|
|
|
28
28
|
const radioName = 'gender';
|
|
29
29
|
|
|
30
|
-
const Gender =
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
const Gender = ({
|
|
31
|
+
feedbackMessage,
|
|
32
|
+
...rest
|
|
33
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.RadioGroup, {
|
|
34
|
+
name: radioName,
|
|
35
|
+
labelProps: {
|
|
36
|
+
labelText: 'Gender',
|
|
37
|
+
required: true,
|
|
38
|
+
feedbackMessage
|
|
39
|
+
},
|
|
40
|
+
orientation: "horizontal",
|
|
41
|
+
...rest,
|
|
42
|
+
children: [_DSRadio || (_DSRadio = /*#__PURE__*/(0, _jsx3.default)(_Radio.default, {
|
|
36
43
|
name: radioName,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
feedbackMessage
|
|
41
|
-
},
|
|
42
|
-
orientation: "horizontal",
|
|
43
|
-
...rest,
|
|
44
|
-
children: [_DSRadio || (_DSRadio = /*#__PURE__*/(0, _jsx3.default)(_Radio.default, {
|
|
45
|
-
name: radioName,
|
|
46
|
-
value: "male",
|
|
47
|
-
labelText: "Male"
|
|
48
|
-
})), _DSRadio2 || (_DSRadio2 = /*#__PURE__*/(0, _jsx3.default)(_Radio.default, {
|
|
49
|
-
name: radioName,
|
|
50
|
-
value: "female",
|
|
51
|
-
labelText: "Female"
|
|
52
|
-
}))]
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
const Template = _ref2 => {
|
|
57
|
-
let {
|
|
58
|
-
props
|
|
59
|
-
} = _ref2;
|
|
60
|
-
return /*#__PURE__*/(0, _jsx3.default)(_index2.Form, {}, void 0, /*#__PURE__*/(0, _jsx3.default)(_connectForm.ConnectForm, {}, void 0, _ref3 => {
|
|
61
|
-
let {
|
|
62
|
-
formState: {
|
|
63
|
-
errors
|
|
64
|
-
}
|
|
65
|
-
} = _ref3;
|
|
66
|
-
const errField = (0, _reactHookForm.get)(errors, radioName);
|
|
67
|
-
const feedbackMessage = errField === null || errField === void 0 ? void 0 : errField.message;
|
|
68
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Gender, {
|
|
69
|
-
feedbackMessage: feedbackMessage,
|
|
70
|
-
...props
|
|
71
|
-
});
|
|
72
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_watchValue.WatchValue, {
|
|
44
|
+
value: "male",
|
|
45
|
+
labelText: "Male"
|
|
46
|
+
})), _DSRadio2 || (_DSRadio2 = /*#__PURE__*/(0, _jsx3.default)(_Radio.default, {
|
|
73
47
|
name: radioName,
|
|
48
|
+
value: "female",
|
|
49
|
+
labelText: "Female"
|
|
50
|
+
}))]
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
const Template = ({
|
|
54
|
+
props
|
|
55
|
+
}) => /*#__PURE__*/(0, _jsx3.default)(_index2.Form, {}, void 0, /*#__PURE__*/(0, _jsx3.default)(_connectForm.ConnectForm, {}, void 0, ({
|
|
56
|
+
formState: {
|
|
57
|
+
errors
|
|
58
|
+
}
|
|
59
|
+
}) => {
|
|
60
|
+
const errField = (0, _reactHookForm.get)(errors, radioName);
|
|
61
|
+
const feedbackMessage = errField === null || errField === void 0 ? void 0 : errField.message;
|
|
62
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Gender, {
|
|
63
|
+
feedbackMessage: feedbackMessage,
|
|
74
64
|
...props
|
|
75
|
-
})
|
|
76
|
-
}
|
|
65
|
+
});
|
|
66
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_watchValue.WatchValue, {
|
|
67
|
+
name: radioName,
|
|
68
|
+
...props
|
|
69
|
+
}));
|
|
77
70
|
|
|
78
71
|
var _default = {
|
|
79
72
|
title: 'Components/Form/Controls/RadioGroup',
|
|
@@ -15,26 +15,20 @@ var _reactHookForm = require("react-hook-form");
|
|
|
15
15
|
|
|
16
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
17
|
|
|
18
|
-
const TextBox =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextBox.default, { ...rest,
|
|
34
|
-
...field
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
};
|
|
18
|
+
const TextBox = ({
|
|
19
|
+
name,
|
|
20
|
+
defaultValue = '',
|
|
21
|
+
rules = {},
|
|
22
|
+
...rest
|
|
23
|
+
}) => /*#__PURE__*/(0, _jsx3.default)(_reactHookForm.Controller, {
|
|
24
|
+
name: name,
|
|
25
|
+
defaultValue: defaultValue,
|
|
26
|
+
rules: rules,
|
|
27
|
+
render: ({
|
|
28
|
+
field
|
|
29
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextBox.default, { ...rest,
|
|
30
|
+
...field
|
|
31
|
+
})
|
|
32
|
+
});
|
|
39
33
|
|
|
40
34
|
exports.TextBox = TextBox;
|
|
@@ -15,11 +15,10 @@ var _reactHookForm = require("react-hook-form");
|
|
|
15
15
|
|
|
16
16
|
var _h;
|
|
17
17
|
|
|
18
|
-
const WatchValue =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} = _ref;
|
|
18
|
+
const WatchValue = ({
|
|
19
|
+
name,
|
|
20
|
+
labelText
|
|
21
|
+
}) => {
|
|
23
22
|
const {
|
|
24
23
|
watch
|
|
25
24
|
} = (0, _reactHookForm.useFormContext)();
|
|
@@ -13,16 +13,15 @@ var _reactHookForm = require("react-hook-form");
|
|
|
13
13
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
|
|
16
|
-
const Form =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} = _ref;
|
|
16
|
+
const Form = ({
|
|
17
|
+
/* eslint-disable indent */
|
|
18
|
+
classname,
|
|
19
|
+
reactHookFormProps = {
|
|
20
|
+
mode: 'onBlur'
|
|
21
|
+
},
|
|
22
|
+
children,
|
|
23
|
+
onSubmit
|
|
24
|
+
}) => {
|
|
26
25
|
const methods = (0, _reactHookForm.useForm)(reactHookFormProps);
|
|
27
26
|
const formProps = {};
|
|
28
27
|
if (onSubmit) formProps.onSubmit = methods.handleSubmit(onSubmit);
|
|
@@ -37,12 +37,9 @@ var _default = {
|
|
|
37
37
|
exports.default = _default;
|
|
38
38
|
const StyledButton = /*#__PURE__*/(0, _styledComponents.default)(_index.FormSubmitButton).withConfig({
|
|
39
39
|
componentId: "sc-1mzmcta-0"
|
|
40
|
-
})(["margin-top:", ";"],
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} = _ref;
|
|
44
|
-
return theme.space.xs;
|
|
45
|
-
});
|
|
40
|
+
})(["margin-top:", ";"], ({
|
|
41
|
+
theme
|
|
42
|
+
}) => theme.space.xs);
|
|
46
43
|
|
|
47
44
|
const WatchDashBoard = () => {
|
|
48
45
|
const {
|
|
@@ -13,9 +13,8 @@ var _Button = _interopRequireDefault(require("@elliemae/ds-basic/Button"));
|
|
|
13
13
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
|
|
16
|
-
const FormSubmitButton =
|
|
17
|
-
|
|
18
|
-
} = _ref;
|
|
16
|
+
const FormSubmitButton = ({ ...rest
|
|
17
|
+
}) => {
|
|
19
18
|
const {
|
|
20
19
|
formState,
|
|
21
20
|
formProps: {
|
|
@@ -35,12 +35,9 @@ var _default = {
|
|
|
35
35
|
exports.default = _default;
|
|
36
36
|
const StyledButton = /*#__PURE__*/(0, _styledComponents.default)(_index.FormSubmitButton).withConfig({
|
|
37
37
|
componentId: "sc-1wwguuk-0"
|
|
38
|
-
})(["margin-top:", ";"],
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} = _ref;
|
|
42
|
-
return theme.space.xs;
|
|
43
|
-
});
|
|
38
|
+
})(["margin-top:", ";"], ({
|
|
39
|
+
theme
|
|
40
|
+
}) => theme.space.xs);
|
|
44
41
|
|
|
45
42
|
const Template = args => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.Form, { ...args,
|
|
46
43
|
children: [_FirstName || (_FirstName = /*#__PURE__*/(0, _jsx3.default)(_personalInfoSection.FirstName, {})), _DOB || (_DOB = /*#__PURE__*/(0, _jsx3.default)(_personalInfoSection.DOB, {})), _State || (_State = /*#__PURE__*/(0, _jsx3.default)(_personalInfoSection.State, {})), _MaritalStatus || (_MaritalStatus = /*#__PURE__*/(0, _jsx3.default)(_personalInfoSection.MaritalStatus, {})), /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledButton, { ...btnProps
|
|
@@ -17,8 +17,7 @@ const onGuestUnloadStart = () => new Promise(resolve => {
|
|
|
17
17
|
|
|
18
18
|
exports.onGuestUnloadStart = onGuestUnloadStart;
|
|
19
19
|
|
|
20
|
-
const notifyGuestUnloadComplete =
|
|
21
|
-
let unloadType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'close_loan';
|
|
20
|
+
const notifyGuestUnloadComplete = (guestAppConfirmation, guestAppId, unloadType = 'close_loan') => {
|
|
22
21
|
(0, _index.sendMessageToHost)({
|
|
23
22
|
guestAppId,
|
|
24
23
|
message: {
|
|
@@ -9,12 +9,6 @@ exports.CenterRegion = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _jsx2 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
11
11
|
|
|
12
|
-
require("core-js/modules/es.string.replace.js");
|
|
13
|
-
|
|
14
|
-
require("core-js/modules/esnext.async-iterator.map.js");
|
|
15
|
-
|
|
16
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
17
|
-
|
|
18
12
|
var _reactRouterDom = require("react-router-dom");
|
|
19
13
|
|
|
20
14
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
@@ -35,19 +29,13 @@ const StyledNavLink = /*#__PURE__*/(0, _styledComponents.default)(_reactRouterDo
|
|
|
35
29
|
})(["display:flex;align-items:center;color:", ";text-decoration:none;text-transform:uppercase;height:100%;padding:0 ", " 0 ", ";&.", "{background-color:#48acff;}"], props => props.theme.colors.neutral['000'], props => props.theme.space.xs, props => props.theme.space.xs, activeClassName);
|
|
36
30
|
const publicPath = (process.env.ASSET_PATH || '/').replace(/\/?$/, '');
|
|
37
31
|
|
|
38
|
-
const CenterRegion =
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} = _ref2;
|
|
47
|
-
return /*#__PURE__*/(0, _jsx2.default)(NavListItem, {}, path, /*#__PURE__*/(0, _jsx2.default)(StyledNavLink, {
|
|
48
|
-
to: "".concat(publicPath).concat(path.replace(/^\/?/, '/'))
|
|
49
|
-
}, void 0, name));
|
|
50
|
-
}));
|
|
51
|
-
};
|
|
32
|
+
const CenterRegion = ({
|
|
33
|
+
links = []
|
|
34
|
+
}) => /*#__PURE__*/(0, _jsx2.default)(NavList, {}, void 0, links.map(({
|
|
35
|
+
name = '',
|
|
36
|
+
path = ''
|
|
37
|
+
}) => /*#__PURE__*/(0, _jsx2.default)(NavListItem, {}, path, /*#__PURE__*/(0, _jsx2.default)(StyledNavLink, {
|
|
38
|
+
to: `${publicPath}${path.replace(/^\/?/, '/')}`
|
|
39
|
+
}, void 0, name))));
|
|
52
40
|
|
|
53
41
|
exports.CenterRegion = CenterRegion;
|
|
@@ -25,16 +25,13 @@ const HeaderContainer = /*#__PURE__*/_styledComponents.default.header.withConfig
|
|
|
25
25
|
componentId: "sc-cvwjlr-0"
|
|
26
26
|
})(["display:flex;height:56px;background-color:#2080cd;padding:0px ", " 0px ", ";"], props => props.theme.space.xs, props => props.theme.space.xxs);
|
|
27
27
|
|
|
28
|
-
const Header =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
links: links
|
|
37
|
-
}), _NavRegion || (_NavRegion = /*#__PURE__*/(0, _jsx2.default)(_index4.NavRegion, {}))) : null;
|
|
38
|
-
};
|
|
28
|
+
const Header = ({
|
|
29
|
+
links = [],
|
|
30
|
+
show = false
|
|
31
|
+
}) => (0, _index.isStandAloneGuest)() || (0, _index.isHost)() || show ? /*#__PURE__*/(0, _jsx2.default)(HeaderContainer, {
|
|
32
|
+
role: "banner"
|
|
33
|
+
}, void 0, _LogoRegion || (_LogoRegion = /*#__PURE__*/(0, _jsx2.default)(_index2.LogoRegion, {})), /*#__PURE__*/(0, _jsx2.default)(_index3.CenterRegion, {
|
|
34
|
+
links: links
|
|
35
|
+
}), _NavRegion || (_NavRegion = /*#__PURE__*/(0, _jsx2.default)(_index4.NavRegion, {}))) : null;
|
|
39
36
|
|
|
40
37
|
exports.Header = Header;
|
|
@@ -9,7 +9,7 @@ const bindEvent = (element, eventName, eventHandler) => {
|
|
|
9
9
|
if (element.addEventListener) {
|
|
10
10
|
element.addEventListener(eventName, eventHandler, false);
|
|
11
11
|
} else if (element.attachEvent) {
|
|
12
|
-
element.attachEvent(
|
|
12
|
+
element.attachEvent(`on${eventName}`, eventHandler);
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ const removeEvent = (element, eventName, eventHandler) => {
|
|
|
19
19
|
if (element.removeEventListener) {
|
|
20
20
|
element.removeEventListener(eventName, eventHandler);
|
|
21
21
|
} else if (element.detachEvent) {
|
|
22
|
-
element.detachEvent(
|
|
22
|
+
element.detachEvent(`on${eventName}`, eventHandler);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
4
|
-
|
|
5
|
-
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
6
|
-
|
|
7
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
8
4
|
|
|
9
5
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11,8 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
11
7
|
});
|
|
12
8
|
exports.default = exports.Basic = void 0;
|
|
13
9
|
|
|
14
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
15
|
-
|
|
16
10
|
var _jsx2 = _interopRequireDefault(require("@babel/runtime/helpers/jsx"));
|
|
17
11
|
|
|
18
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
@@ -18,8 +18,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
18
18
|
var _WaitMessageLauncher;
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
21
|
-
const loadable =
|
|
22
|
-
let fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _WaitMessageLauncher || (_WaitMessageLauncher = /*#__PURE__*/(0, _jsx3.default)(_waitMessageLauncher.WaitMessageLauncher, {}));
|
|
21
|
+
const loadable = (importFunc, fallback = _WaitMessageLauncher || (_WaitMessageLauncher = /*#__PURE__*/(0, _jsx3.default)(_waitMessageLauncher.WaitMessageLauncher, {}))) => {
|
|
23
22
|
const LazyComponent = /*#__PURE__*/(0, _react.lazy)(importFunc); // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
24
23
|
|
|
25
24
|
return props => /*#__PURE__*/(0, _jsx3.default)(_react.Suspense, {
|
|
@@ -15,12 +15,11 @@ var _actions = require("../../data/auth/actions.js");
|
|
|
15
15
|
|
|
16
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
17
|
|
|
18
|
-
const Login =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} = _ref;
|
|
18
|
+
const Login = ({
|
|
19
|
+
clientId,
|
|
20
|
+
scope,
|
|
21
|
+
responseType
|
|
22
|
+
}) => {
|
|
24
23
|
const dispatch = (0, _reactRedux.useAppDispatch)();
|
|
25
24
|
(0, _react.useEffect)(() => {
|
|
26
25
|
(0, _index.login)({
|
|
@@ -23,7 +23,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
23
23
|
|
|
24
24
|
const MediaBreakpoint = () => {
|
|
25
25
|
const theme = (0, _react.useContext)(_styledComponents.ThemeContext);
|
|
26
|
-
const currentBreakpoint = (0, _index2.useMediaBreakpoints)([
|
|
26
|
+
const currentBreakpoint = (0, _index2.useMediaBreakpoints)([`(max-width: ${theme.breakpoints.small})`, `(max-width: ${theme.breakpoints.medium})`, `(max-width: ${theme.breakpoints.large})`], ['small', 'medium', 'large'], 'large');
|
|
27
27
|
const dispatch = (0, _reactRedux.useAppDispatch)();
|
|
28
28
|
(0, _react.useEffect)(() => {
|
|
29
29
|
dispatch({
|
|
@@ -20,8 +20,7 @@ const getHostAppData = (action, resolve) => event => {
|
|
|
20
20
|
|
|
21
21
|
exports.getHostAppData = getHostAppData;
|
|
22
22
|
|
|
23
|
-
const sendMessageToHost =
|
|
24
|
-
let hostedAppUrl = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.referrer;
|
|
23
|
+
const sendMessageToHost = (message, hostedAppUrl = document.referrer) => {
|
|
25
24
|
window.parent.postMessage(message, hostedAppUrl);
|
|
26
25
|
};
|
|
27
26
|
|
|
@@ -5,18 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.unmountApp = exports.unloadApp = exports.mountApp = exports.loadApp = void 0;
|
|
7
7
|
|
|
8
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
9
|
-
|
|
10
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
11
|
-
|
|
12
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
13
|
-
|
|
14
|
-
require("core-js/modules/esnext.iterator.for-each.js");
|
|
15
|
-
|
|
16
|
-
require("core-js/modules/esnext.async-iterator.map.js");
|
|
17
|
-
|
|
18
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
19
|
-
|
|
20
8
|
var _webStorage = require("../../../utils/web-storage.js");
|
|
21
9
|
|
|
22
10
|
var _host = require("../../../utils/micro-frontend/host.js");
|
|
@@ -42,23 +30,22 @@ const isCss = fileName => cssType.test(fileName);
|
|
|
42
30
|
|
|
43
31
|
const activeApps = {};
|
|
44
32
|
|
|
45
|
-
const initApplication = async
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} = _ref;
|
|
33
|
+
const initApplication = async ({
|
|
34
|
+
id,
|
|
35
|
+
name,
|
|
36
|
+
hostUrl,
|
|
37
|
+
history,
|
|
38
|
+
theme,
|
|
39
|
+
manifestPath,
|
|
40
|
+
homeRoute
|
|
41
|
+
}) => {
|
|
55
42
|
const app = (window.emui || {})[id] || {}; // eslint-disable-next-line @typescript-eslint/unbound-method
|
|
56
43
|
|
|
57
44
|
const {
|
|
58
45
|
init
|
|
59
46
|
} = app;
|
|
60
|
-
if (!init || typeof init !== 'function') throw new Error(
|
|
61
|
-
const prevState = await _webStorage.persistentStorage.get(
|
|
47
|
+
if (!init || typeof init !== 'function') throw new Error(`Application ${name} with id ${id} doesn't expose init method.`);
|
|
48
|
+
const prevState = await _webStorage.persistentStorage.get(`state-${id}`);
|
|
62
49
|
return init({
|
|
63
50
|
host: _host.CMicroAppHost.getInstance(),
|
|
64
51
|
hostUrl,
|
|
@@ -72,19 +59,18 @@ const initApplication = async _ref => {
|
|
|
72
59
|
});
|
|
73
60
|
};
|
|
74
61
|
|
|
75
|
-
const mountApp = async
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} = _ref2;
|
|
62
|
+
const mountApp = async ({
|
|
63
|
+
id,
|
|
64
|
+
name
|
|
65
|
+
}) => {
|
|
80
66
|
const app = (window.emui || {})[id] || {}; // eslint-disable-next-line @typescript-eslint/unbound-method
|
|
81
67
|
|
|
82
68
|
const {
|
|
83
69
|
mount
|
|
84
70
|
} = app;
|
|
85
|
-
if (!mount || typeof mount !== 'function') throw new Error(
|
|
71
|
+
if (!mount || typeof mount !== 'function') throw new Error(`Application ${name} with id ${id} doesn't expose mount method.`);
|
|
86
72
|
return mount({
|
|
87
|
-
containerId:
|
|
73
|
+
containerId: `${_const.APP_CONTAINER_ID_PREFIX}${id}`,
|
|
88
74
|
hostBreakpoint: (0, _window.getCurrentBreakpoint)(),
|
|
89
75
|
hostViewportSize: (0, _window.getViewportSize)()
|
|
90
76
|
});
|
|
@@ -92,11 +78,10 @@ const mountApp = async _ref2 => {
|
|
|
92
78
|
|
|
93
79
|
exports.mountApp = mountApp;
|
|
94
80
|
|
|
95
|
-
const unmountApp = async
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
} = _ref3;
|
|
81
|
+
const unmountApp = async ({
|
|
82
|
+
id,
|
|
83
|
+
name
|
|
84
|
+
}) => {
|
|
100
85
|
const app = (window.emui || {})[id];
|
|
101
86
|
if (!app) return null; // eslint-disable-next-line @typescript-eslint/unbound-method
|
|
102
87
|
|
|
@@ -104,13 +89,13 @@ const unmountApp = async _ref3 => {
|
|
|
104
89
|
unmount
|
|
105
90
|
} = app;
|
|
106
91
|
if (!unmount) return null;
|
|
107
|
-
if (typeof unmount !== 'function') throw new Error(
|
|
92
|
+
if (typeof unmount !== 'function') throw new Error(`unmount failed for application ${name} with id ${id}. unmount is not a valid function`);
|
|
108
93
|
const currentState = await unmount({
|
|
109
|
-
containerId:
|
|
94
|
+
containerId: `${_const.APP_CONTAINER_ID_PREFIX}${id}`
|
|
110
95
|
});
|
|
111
96
|
|
|
112
97
|
if (currentState) {
|
|
113
|
-
await _webStorage.persistentStorage.set(
|
|
98
|
+
await _webStorage.persistentStorage.set(`state-${id}`, currentState);
|
|
114
99
|
}
|
|
115
100
|
|
|
116
101
|
return Promise.resolve();
|
|
@@ -144,9 +129,7 @@ Promise.all(requests).then(addAppToActiveAppList.bind(null, appConfig.id)).then(
|
|
|
144
129
|
throw new Error(logRecord.msg);
|
|
145
130
|
});
|
|
146
131
|
|
|
147
|
-
const removeAssetsFromDOM =
|
|
148
|
-
let documentEle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
|
|
149
|
-
|
|
132
|
+
const removeAssetsFromDOM = (id, documentEle = document) => {
|
|
150
133
|
const host = _host.CMicroAppHost.getInstance();
|
|
151
134
|
|
|
152
135
|
if (host) delete host.activeGuests[id];
|
|
@@ -187,12 +170,11 @@ const loadApp = async appConfig => {
|
|
|
187
170
|
|
|
188
171
|
exports.loadApp = loadApp;
|
|
189
172
|
|
|
190
|
-
const unloadApp =
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
} = _ref4;
|
|
173
|
+
const unloadApp = ({
|
|
174
|
+
id,
|
|
175
|
+
hostUrl,
|
|
176
|
+
documentEle
|
|
177
|
+
}) => {
|
|
196
178
|
(0, _index.getLogger)().info(_logRecords.logRecords.APP_UNLOADING(id));
|
|
197
179
|
const app = (window.emui || {})[id];
|
|
198
180
|
if (!app) return;
|
|
@@ -20,7 +20,7 @@ var _useAppWillRender = require("./use-app-will-render.js");
|
|
|
20
20
|
const MicroApp = /*#__PURE__*/(0, _react.memo)(props => {
|
|
21
21
|
(0, _useAppWillRender.useAppWillRender)(props);
|
|
22
22
|
return /*#__PURE__*/(0, _jsx2.default)(_StyledDiv, {
|
|
23
|
-
id:
|
|
23
|
+
id: `${_const.APP_CONTAINER_ID_PREFIX}${props.id}`
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
26
|
exports.MicroApp = MicroApp;
|
|
@@ -5,20 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getFullFileNameofAssetsFromManifest = exports.getAppManifest = void 0;
|
|
7
7
|
|
|
8
|
-
require("core-js/modules/es.string.replace.js");
|
|
9
|
-
|
|
10
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
11
|
-
|
|
12
|
-
require("core-js/modules/web.url.js");
|
|
13
|
-
|
|
14
|
-
require("core-js/modules/web.url-search-params.js");
|
|
15
|
-
|
|
16
|
-
require("core-js/modules/esnext.async-iterator.reduce.js");
|
|
17
|
-
|
|
18
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
19
|
-
|
|
20
|
-
require("core-js/modules/esnext.iterator.reduce.js");
|
|
21
|
-
|
|
22
8
|
var _index = require("../../../communication/http-client/index.js");
|
|
23
9
|
|
|
24
10
|
var _url = require("../../../utils/url.js");
|
|
@@ -27,40 +13,42 @@ var _index2 = require("../../../utils/micro-frontend/index.js");
|
|
|
27
13
|
|
|
28
14
|
var _logRecords = require("../../../utils/log-records.js");
|
|
29
15
|
|
|
30
|
-
const getUnVersionedManifestPath = path => path.replace(/\/\d+\.\d
|
|
16
|
+
const getUnVersionedManifestPath = path => path.replace(/\/\d+\.\d+/, '/latest');
|
|
31
17
|
|
|
32
|
-
const getAppManifest = async
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
const url = new URL("".concat(manifestPath.replace(/\/?$/, '/'), "manifest.json"), hostUrl);
|
|
18
|
+
const getAppManifest = async ({
|
|
19
|
+
hostUrl,
|
|
20
|
+
manifestPath
|
|
21
|
+
}) => {
|
|
22
|
+
const url = new URL(`${manifestPath.replace(/\/?$/, '/')}manifest.json`, hostUrl);
|
|
38
23
|
const response = await (0, _index.getHTTPClient)().get((0, _url.removeDoubleSlash)(url.href));
|
|
39
24
|
const {
|
|
40
25
|
headers
|
|
41
26
|
} = response;
|
|
42
27
|
if (headers['content-type'] && headers['content-type'].includes('application/json')) return response.data;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
28
|
+
const unVersionedManifestPath = getUnVersionedManifestPath(manifestPath);
|
|
29
|
+
|
|
30
|
+
if (manifestPath !== unVersionedManifestPath) {
|
|
31
|
+
return getAppManifest({
|
|
32
|
+
hostUrl,
|
|
33
|
+
manifestPath: getUnVersionedManifestPath(manifestPath)
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
throw new Error('manifest.json is not available for the application');
|
|
47
38
|
};
|
|
48
39
|
|
|
49
40
|
exports.getAppManifest = getAppManifest;
|
|
50
41
|
|
|
51
|
-
const getFullFileNameofAssetsFromManifest =
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return assets;
|
|
63
|
-
}, []);
|
|
64
|
-
};
|
|
42
|
+
const getFullFileNameofAssetsFromManifest = (manifest, assetNames = []) => assetNames.reduce((assets, assetName) => {
|
|
43
|
+
const fullFileName = manifest[assetName];
|
|
44
|
+
if (fullFileName) assets.push(fullFileName); // eslint-disable-next-line no-console
|
|
45
|
+
else {
|
|
46
|
+
const logRecord = _logRecords.logRecords.ASSET_NOT_FOUND_IN_MANIFEST(assetName);
|
|
47
|
+
|
|
48
|
+
(0, _index2.getLogger)().error(logRecord);
|
|
49
|
+
throw new Error(logRecord.msg);
|
|
50
|
+
}
|
|
51
|
+
return assets;
|
|
52
|
+
}, []);
|
|
65
53
|
|
|
66
54
|
exports.getFullFileNameofAssetsFromManifest = getFullFileNameofAssetsFromManifest;
|