@influenzanet/case-web-app-core 2.7.4-staging.5 → 2.7.4-staging.7
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/build/index.es.js +7 -6
- package/build/index.es.js.map +1 -1
- package/build/index.js +7 -6
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -16013,8 +16013,6 @@ class ModalManager {
|
|
|
16013
16013
|
|
|
16014
16014
|
}
|
|
16015
16015
|
|
|
16016
|
-
var ModalManager$1 = ModalManager;
|
|
16017
|
-
|
|
16018
16016
|
const resolveContainerRef = (ref, document) => {
|
|
16019
16017
|
if (!canUseDOM) return null;
|
|
16020
16018
|
if (ref == null) return (document || ownerDocument()).body;
|
|
@@ -16053,7 +16051,7 @@ function _objectWithoutPropertiesLoose$4(source, excluded) { if (source == null)
|
|
|
16053
16051
|
let manager;
|
|
16054
16052
|
|
|
16055
16053
|
function getManager(window) {
|
|
16056
|
-
if (!manager) manager = new ModalManager
|
|
16054
|
+
if (!manager) manager = new ModalManager({
|
|
16057
16055
|
ownerDocument: window == null ? void 0 : window.document
|
|
16058
16056
|
});
|
|
16059
16057
|
return manager;
|
|
@@ -16286,7 +16284,7 @@ const Modal = /*#__PURE__*/forwardRef$2((_ref, ref) => {
|
|
|
16286
16284
|
});
|
|
16287
16285
|
Modal.displayName = 'Modal';
|
|
16288
16286
|
var BaseModal = Object.assign(Modal, {
|
|
16289
|
-
Manager: ModalManager
|
|
16287
|
+
Manager: ModalManager
|
|
16290
16288
|
});
|
|
16291
16289
|
|
|
16292
16290
|
/**
|
|
@@ -16337,7 +16335,7 @@ const Selector = {
|
|
|
16337
16335
|
STICKY_CONTENT: '.sticky-top',
|
|
16338
16336
|
NAVBAR_TOGGLER: '.navbar-toggler'
|
|
16339
16337
|
};
|
|
16340
|
-
class BootstrapModalManager extends ModalManager
|
|
16338
|
+
class BootstrapModalManager extends ModalManager {
|
|
16341
16339
|
adjustAndStore(prop, element, adjust) {
|
|
16342
16340
|
const actual = element.style[prop];
|
|
16343
16341
|
// TODO: DOMStringMap and CSSStyleDeclaration aren't strictly compatible
|
|
@@ -24983,6 +24981,9 @@ var ContentRenderer = function (props) {
|
|
|
24983
24981
|
else if (action_1.type === 'navigate') {
|
|
24984
24982
|
history.push(action_1.value);
|
|
24985
24983
|
}
|
|
24984
|
+
else if (action_1.type === 'navigateExternal') {
|
|
24985
|
+
window.open(action_1.value, '_blank');
|
|
24986
|
+
}
|
|
24986
24987
|
} }, item.itemKey);
|
|
24987
24988
|
case 'actionCard':
|
|
24988
24989
|
var actionCardAction_1 = item.config.action;
|
|
@@ -26332,7 +26333,7 @@ var SurveyPage = function (props) {
|
|
|
26332
26333
|
manageProfiles: t('surveyPage:profileSelectionDialog.manageProfilesBtn'),
|
|
26333
26334
|
}, avatars: avatars, profiles: currentUser.profiles, onSelectProfile: function (p) {
|
|
26334
26335
|
setSelectedProfileID(p.id);
|
|
26335
|
-
|
|
26336
|
+
setDialogOpen(undefined);
|
|
26336
26337
|
}, onOpenProfileManager: function () {
|
|
26337
26338
|
dispatch(dialogActions.openDialogWithoutPayload({ type: 'manageProfiles', origin: 'surveyFlow' }));
|
|
26338
26339
|
} }, void 0), jsx(SuccessDialog, { open: dialogOpen === 'SubmitSuccessDialog', texts: {
|