@unite-us/app-create-referral 0.1.5 → 0.1.6
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/pages/supporting_info/AboutGroupedReferralsModal.js +58 -0
- package/dist/pages/supporting_info/AboutGroupedReferralsModal.js.map +1 -0
- package/dist/pages/supporting_info/SupportingInfo.js +79 -9
- package/dist/pages/supporting_info/SupportingInfo.js.map +1 -1
- package/dist/pages/supporting_info/constants.js +18 -0
- package/dist/pages/supporting_info/constants.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.AboutGroupedReferralsModal = AboutGroupedReferralsModal;
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
11
|
+
var _react = _interopRequireDefault(require("react"));
|
|
12
|
+
var _constants = require("./constants");
|
|
13
|
+
var _Dialog = _interopRequireDefault(require("../../components/modal/Dialog"));
|
|
14
|
+
function AboutGroupedReferralsModal(_ref) {
|
|
15
|
+
var refModal = _ref.refModal,
|
|
16
|
+
onCloseModal = _ref.onCloseModal;
|
|
17
|
+
var closeDialog = function closeDialog() {
|
|
18
|
+
refModal.current.closeDialog();
|
|
19
|
+
onCloseModal();
|
|
20
|
+
};
|
|
21
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Dialog.default, {
|
|
22
|
+
onCloseModal: closeDialog,
|
|
23
|
+
onRequestClose: closeDialog,
|
|
24
|
+
ref: refModal,
|
|
25
|
+
title: "Grouped Referrals",
|
|
26
|
+
customSize: {
|
|
27
|
+
width: '800px',
|
|
28
|
+
height: '700px'
|
|
29
|
+
},
|
|
30
|
+
dialogContentStyles: {
|
|
31
|
+
overflow: 'hidden'
|
|
32
|
+
}
|
|
33
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
34
|
+
className: "min-h-full"
|
|
35
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
36
|
+
className: "mb-10"
|
|
37
|
+
}, /*#__PURE__*/_react.default.createElement("h1", {
|
|
38
|
+
className: "text-3xl mb-2 font-bold"
|
|
39
|
+
}, "About Grouped Referrals"), _constants.ABOUT_GROUPED_REFERRALS, /*#__PURE__*/_react.default.createElement("div", {
|
|
40
|
+
className: "grid grid-cols-2 gap-4 m-4"
|
|
41
|
+
}, (0, _map.default)(_constants.GROUPED_REFERRAL_MUST_HAVE_SAME).call(_constants.GROUPED_REFERRAL_MUST_HAVE_SAME, function (item) {
|
|
42
|
+
return /*#__PURE__*/_react.default.createElement("li", null, item);
|
|
43
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
44
|
+
className: "mb-10"
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement("h1", {
|
|
46
|
+
className: "text-3xl mb-2 font-bold"
|
|
47
|
+
}, "Grouped Referrals vs Individual Referrals"), _constants.GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS), /*#__PURE__*/_react.default.createElement("div", {
|
|
48
|
+
className: "mb-10"
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement("h1", {
|
|
50
|
+
className: "text-3xl mb-2 font-bold"
|
|
51
|
+
}, "Editing Referral Groupings"), /*#__PURE__*/_react.default.createElement("div", {
|
|
52
|
+
className: "whitespace-pre-line"
|
|
53
|
+
}, _constants.EDITING_REFERRAL_GROUPINGS)))));
|
|
54
|
+
}
|
|
55
|
+
;
|
|
56
|
+
var _default = AboutGroupedReferralsModal;
|
|
57
|
+
exports.default = _default;
|
|
58
|
+
//# sourceMappingURL=AboutGroupedReferralsModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AboutGroupedReferralsModal.js","names":["_react","_interopRequireDefault","require","_constants","_Dialog","AboutGroupedReferralsModal","_ref","refModal","onCloseModal","closeDialog","current","default","createElement","Fragment","onRequestClose","ref","title","customSize","width","height","dialogContentStyles","overflow","className","ABOUT_GROUPED_REFERRALS","_map","GROUPED_REFERRAL_MUST_HAVE_SAME","call","item","GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS","EDITING_REFERRAL_GROUPINGS","_default","exports"],"sources":["../../../src/pages/supporting_info/AboutGroupedReferralsModal.js"],"sourcesContent":["import React from 'react';\nimport {\n ABOUT_GROUPED_REFERRALS,\n GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS,\n EDITING_REFERRAL_GROUPINGS,\n GROUPED_REFERRAL_MUST_HAVE_SAME\n} from './constants';\nimport Dialog from '../../components/modal/Dialog';\n\nexport function AboutGroupedReferralsModal({ refModal, onCloseModal }) {\n const closeDialog = () => {\n refModal.current.closeDialog();\n onCloseModal();\n };\n\n return (\n <>\n <Dialog\n onCloseModal={closeDialog}\n onRequestClose={closeDialog}\n ref={refModal}\n title=\"Grouped Referrals\"\n customSize={{\n width: '800px',\n height: '700px'\n }}\n dialogContentStyles={{\n overflow: 'hidden',\n }}\n >\n <div className='min-h-full'>\n <div className='mb-10'>\n <h1 className='text-3xl mb-2 font-bold'>About Grouped Referrals</h1>\n {ABOUT_GROUPED_REFERRALS}\n <div className='grid grid-cols-2 gap-4 m-4'>\n {GROUPED_REFERRAL_MUST_HAVE_SAME.map((item) => (\n <li>{item}</li>\n ))}\n </div>\n </div>\n <div className='mb-10'>\n <h1 className='text-3xl mb-2 font-bold'>Grouped Referrals vs Individual Referrals</h1>\n {GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS}\n </div>\n <div className='mb-10'>\n <h1 className='text-3xl mb-2 font-bold'>Editing Referral Groupings</h1>\n <div className='whitespace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0CAA+B,EAAAC,IAAA,CAA/BD,0CAA+B,EAAK,UAACE,IAAI;IAAA,oBACxC3B,MAAA,CAAAW,OAAA,CAAAC,aAAA,aAAKe,IAAI,CAAM;EAAA,CAChB,CAAC,CACE,CACF,eACN3B,MAAA,CAAAW,OAAA,CAAAC,aAAA;IAAKU,SAAS,EAAC;EAAO,gBACpBtB,MAAA,CAAAW,OAAA,CAAAC,aAAA;IAAIU,SAAS,EAAC;EAAyB,GAAC,2CAAyC,CAAK,EACrFM,oDAAyC,CACtC,eACN5B,MAAA,CAAAW,OAAA,CAAAC,aAAA;IAAKU,SAAS,EAAC;EAAO,gBACpBtB,MAAA,CAAAW,OAAA,CAAAC,aAAA;IAAIU,SAAS,EAAC;EAAyB,GAAC,4BAA0B,CAAK,eACvEtB,MAAA,CAAAW,OAAA,CAAAC,aAAA;IAAKU,SAAS,EAAC;EAAqB,GAAEO,qCAA0B,CAAO,CACnE,CACF,CACC,CACR;AAEP;AAAC;AAAC,IAAAC,QAAA,GAEazB,0BAA0B;AAAA0B,OAAA,CAAApB,OAAA,GAAAmB,QAAA"}
|
|
@@ -1,39 +1,109 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _typeof = require("@babel/runtime-corejs3/helpers/typeof");
|
|
4
|
+
var _WeakMap = require("@babel/runtime-corejs3/core-js-stable/weak-map");
|
|
3
5
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
6
|
+
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
|
|
4
7
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
8
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
9
|
value: true
|
|
7
10
|
});
|
|
8
11
|
exports.default = SupportingInfo;
|
|
9
12
|
var _stringify = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/json/stringify"));
|
|
10
|
-
var
|
|
13
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
|
|
14
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
+
var _propTypes = require("prop-types");
|
|
11
16
|
var _getBaseUrl = _interopRequireDefault(require("../../utils/getBaseUrl"));
|
|
12
17
|
var _api = require("../../config/api");
|
|
13
18
|
var _Stepper = _interopRequireDefault(require("../../components/Stepper"));
|
|
14
19
|
var _ui = require("@unite-us/ui");
|
|
15
20
|
var _AppCreateReferralProvider = require("../../context/AppCreateReferralProvider");
|
|
21
|
+
var _constants = require("./constants");
|
|
22
|
+
var _AboutGroupedReferralsModal = _interopRequireDefault(require("./AboutGroupedReferralsModal"));
|
|
23
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
25
|
function SupportingInfo(props) {
|
|
17
|
-
var location = props.location
|
|
26
|
+
var location = props.location,
|
|
27
|
+
style = props.style;
|
|
18
28
|
var _useAppCreateReferral = (0, _AppCreateReferralProvider.useAppCreateReferralContext)(),
|
|
19
29
|
state = _useAppCreateReferral.state;
|
|
30
|
+
var _useState = (0, _react.useState)(false),
|
|
31
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
32
|
+
aboutGroupedReferralsModalIsOpen = _useState2[0],
|
|
33
|
+
setAboutGroupedReferralsModalIsOpen = _useState2[1];
|
|
34
|
+
var onLearnMoreClick = function onLearnMoreClick() {
|
|
35
|
+
setAboutGroupedReferralsModalIsOpen(true);
|
|
36
|
+
};
|
|
37
|
+
var onCloseModal = function onCloseModal() {
|
|
38
|
+
setAboutGroupedReferralsModalIsOpen(false);
|
|
39
|
+
};
|
|
40
|
+
var refModal = (0, _react.useRef)(null);
|
|
41
|
+
(0, _react.useEffect)(function () {
|
|
42
|
+
if (aboutGroupedReferralsModalIsOpen) {
|
|
43
|
+
refModal.current.openDialog();
|
|
44
|
+
}
|
|
45
|
+
}, [aboutGroupedReferralsModalIsOpen]);
|
|
20
46
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Stepper.default, {
|
|
21
47
|
location: location
|
|
22
|
-
}), /*#__PURE__*/_react.default.createElement("
|
|
23
|
-
className: "
|
|
24
|
-
},
|
|
48
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
49
|
+
className: "px-12"
|
|
50
|
+
}, /*#__PURE__*/_react.default.createElement("h1", {
|
|
51
|
+
className: "text-4xl my-5 text-center font-bold"
|
|
52
|
+
}, "Referral Builder"), /*#__PURE__*/_react.default.createElement("div", {
|
|
53
|
+
className: "grid place-items-center"
|
|
54
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
55
|
+
className: "w-1/2 text-center"
|
|
56
|
+
}, _constants.REFERRAL_BUILDER_DESCRIPTION, /*#__PURE__*/_react.default.createElement("button", {
|
|
57
|
+
className: "text-current-blue",
|
|
58
|
+
type: "button",
|
|
59
|
+
onClick: onLearnMoreClick
|
|
60
|
+
}, "Learn more about grouped referrals."))), /*#__PURE__*/_react.default.createElement(_AboutGroupedReferralsModal.default, {
|
|
61
|
+
refModal: refModal,
|
|
62
|
+
onCloseModal: onCloseModal
|
|
63
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
64
|
+
className: "flex justify-between"
|
|
65
|
+
}, /*#__PURE__*/_react.default.createElement(_ui.Button, {
|
|
25
66
|
id: "back",
|
|
26
67
|
onClick: function onClick() {
|
|
27
68
|
_api.browserHistory.goBack();
|
|
28
69
|
},
|
|
29
|
-
label: "Back"
|
|
30
|
-
|
|
70
|
+
label: "Back",
|
|
71
|
+
iconLeft: /*#__PURE__*/_react.default.createElement(_ui.Icon, {
|
|
72
|
+
icon: "V2ChevronLeft",
|
|
73
|
+
color: "#182A44"
|
|
74
|
+
})
|
|
75
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
76
|
+
className: "flex"
|
|
77
|
+
}, /*#__PURE__*/_react.default.createElement("button", {
|
|
78
|
+
className: "mr-10 text-current-blue font-bold"
|
|
79
|
+
}, /*#__PURE__*/_react.default.createElement(_ui.Icon, {
|
|
80
|
+
icon: "V2Save",
|
|
81
|
+
color: "#4467AB",
|
|
82
|
+
className: "mr-2"
|
|
83
|
+
}), "Save Referral Draft"), /*#__PURE__*/_react.default.createElement(_ui.Button, {
|
|
31
84
|
id: "next",
|
|
85
|
+
disabled: false // change
|
|
86
|
+
,
|
|
32
87
|
onClick: function onClick() {
|
|
33
88
|
_api.browserHistory.push("".concat((0, _getBaseUrl.default)(), "/review"));
|
|
34
89
|
},
|
|
35
|
-
|
|
90
|
+
style: style,
|
|
91
|
+
label: "Next",
|
|
92
|
+
iconLeft: /*#__PURE__*/_react.default.createElement(_ui.Icon, {
|
|
93
|
+
icon: "V2Referrall",
|
|
94
|
+
color: "#FFFFFF",
|
|
95
|
+
className: "w-6 h-6 pr-2"
|
|
96
|
+
}),
|
|
36
97
|
primary: true
|
|
37
|
-
}));
|
|
98
|
+
}))), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("h1", null, "Context State:"), /*#__PURE__*/_react.default.createElement("code", null, (0, _stringify.default)(state)))));
|
|
38
99
|
}
|
|
100
|
+
SupportingInfo.propTypes = {
|
|
101
|
+
location: _propTypes.PropTypes.shape.isRequired,
|
|
102
|
+
style: _propTypes.PropTypes.shape
|
|
103
|
+
};
|
|
104
|
+
SupportingInfo.defaultProps = {
|
|
105
|
+
style: {
|
|
106
|
+
width: '15rem'
|
|
107
|
+
}
|
|
108
|
+
};
|
|
39
109
|
//# sourceMappingURL=SupportingInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupportingInfo.js","names":["_react","
|
|
1
|
+
{"version":3,"file":"SupportingInfo.js","names":["_react","_interopRequireWildcard","require","_propTypes","_getBaseUrl","_interopRequireDefault","_api","_Stepper","_ui","_AppCreateReferralProvider","_constants","_AboutGroupedReferralsModal","_getRequireWildcardCache","nodeInterop","_WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","_Object$defineProperty","_Object$getOwnPropertyDescriptor","key","Object","prototype","hasOwnProperty","call","desc","set","SupportingInfo","props","location","style","_useAppCreateReferral","useAppCreateReferralContext","state","_useState","useState","_useState2","_slicedToArray2","aboutGroupedReferralsModalIsOpen","setAboutGroupedReferralsModalIsOpen","onLearnMoreClick","onCloseModal","refModal","useRef","useEffect","current","openDialog","createElement","Fragment","className","REFERRAL_BUILDER_DESCRIPTION","type","onClick","Button","id","browserHistory","goBack","label","iconLeft","Icon","icon","color","disabled","push","concat","getBaseUrl","primary","_stringify","propTypes","PropTypes","shape","isRequired","defaultProps","width"],"sources":["../../../src/pages/supporting_info/SupportingInfo.js"],"sourcesContent":["import React, { useEffect, useState, useRef } from 'react';\nimport { PropTypes } from 'prop-types';\nimport getBaseUrl from '../../utils/getBaseUrl';\nimport { browserHistory } from \"../../config/api\";\nimport Stepper from '../../components/Stepper';\nimport { Button, Icon } from '@unite-us/ui';\nimport { useAppCreateReferralContext } from '../../context/AppCreateReferralProvider';\nimport { REFERRAL_BUILDER_DESCRIPTION } from './constants';\nimport AboutGroupedReferralsModal from './AboutGroupedReferralsModal';\n\nexport default function SupportingInfo(props) {\n const {\n location,\n style,\n } = props;\n\n const { state } = useAppCreateReferralContext();\n\n const [aboutGroupedReferralsModalIsOpen, setAboutGroupedReferralsModalIsOpen] = useState(false);\n\n const onLearnMoreClick = () => {\n setAboutGroupedReferralsModalIsOpen(true);\n };\n\n const onCloseModal = () => {\n setAboutGroupedReferralsModalIsOpen(false);\n }\n\n const refModal = useRef(null);\n useEffect(() => {\n if (aboutGroupedReferralsModalIsOpen) {\n refModal.current.openDialog();\n }\n }, [aboutGroupedReferralsModalIsOpen]);\n\n return (\n <>\n <Stepper location={location} />\n <div className=\"px-12\">\n <h1 className='text-4xl my-5 text-center font-bold'>Referral Builder</h1>\n <div className='grid place-items-center'>\n <div className='w-1/2 text-center'>\n {REFERRAL_BUILDER_DESCRIPTION}\n <button\n className=\"text-current-blue\"\n type=\"button\"\n onClick={onLearnMoreClick}\n >\n Learn more about grouped referrals.\n </button>\n </div>\n </div>\n\n <AboutGroupedReferralsModal refModal={refModal} onCloseModal={onCloseModal} />\n\n <div className=\"flex justify-between\">\n <Button\n id=\"back\"\n onClick={() => {\n browserHistory.goBack()\n }}\n label=\"Back\"\n iconLeft={<Icon icon=\"V2ChevronLeft\" color=\"#182A44\" />}\n />\n\n\n <div className=\"flex\">\n <button className=\"mr-10 text-current-blue font-bold\">\n <Icon icon=\"V2Save\" color=\"#4467AB\" className=\"mr-2\" />\n Save Referral Draft\n </button>\n <Button\n id=\"next\"\n disabled={false} // change\n onClick={() => {\n browserHistory.push(`${getBaseUrl()}/review`)\n }}\n style={style}\n label=\"Next\"\n iconLeft={<Icon icon=\"V2Referrall\" color=\"#FFFFFF\" className=\"w-6 h-6 pr-2\" />}\n primary\n />\n </div>\n </div>\n\n <div>\n <h1>Context State:</h1>\n <code>{JSON.stringify(state)}</code>\n </div>\n </div>\n </>\n )\n}\n\nSupportingInfo.propTypes = {\n location: PropTypes.shape.isRequired,\n style: PropTypes.shape,\n}\n\nSupportingInfo.defaultProps = {\n style: {\n width: '15rem',\n },\n};\n"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,GAAA,GAAAN,OAAA;AACA,IAAAO,0BAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA,GAAAR,OAAA;AACA,IAAAS,2BAAA,GAAAN,sBAAA,CAAAH,OAAA;AAAsE,SAAAU,yBAAAC,WAAA,eAAAC,QAAA,kCAAAC,iBAAA,OAAAD,QAAA,QAAAE,gBAAA,OAAAF,QAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAZ,wBAAAgB,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAE,OAAA,CAAAF,GAAA,yBAAAA,GAAA,4BAAAG,OAAA,EAAAH,GAAA,UAAAI,KAAA,GAAAT,wBAAA,CAAAC,WAAA,OAAAQ,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAL,GAAA,YAAAI,KAAA,CAAAE,GAAA,CAAAN,GAAA,SAAAO,MAAA,WAAAC,qBAAA,GAAAC,sBAAA,IAAAC,gCAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAC,MAAA,CAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAf,GAAA,EAAAW,GAAA,SAAAK,IAAA,GAAAR,q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
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.REFERRAL_BUILDER_DESCRIPTION = exports.GROUPED_REFERRAL_MUST_HAVE_SAME = exports.GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS = exports.EDITING_REFERRAL_GROUPINGS = exports.ABOUT_GROUPED_REFERRALS = void 0;
|
|
8
|
+
var REFERRAL_BUILDER_DESCRIPTION = "Organize referrals according to your client's needs,\n then add referral descriptions and upload any necessary attachements.\n We group compatible referrals by defaults. ";
|
|
9
|
+
exports.REFERRAL_BUILDER_DESCRIPTION = REFERRAL_BUILDER_DESCRIPTION;
|
|
10
|
+
var ABOUT_GROUPED_REFERRALS = "Grouped referrals allow you to send referrals to several organizations at once.\n Whoever accepts the referral first works with the client and the rest of the referrals are recalled.\n We automatically group referrals for you. To be in a group, referrals must have the same:";
|
|
11
|
+
exports.ABOUT_GROUPED_REFERRALS = ABOUT_GROUPED_REFERRALS;
|
|
12
|
+
var GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS = "Unite Us groups compatible referrals by default in order to optimize network resources.\n If you wish to change the default grouping behavior, go to the settings page and select \u201CGroup Referrals Individually by default\u201D.";
|
|
13
|
+
exports.GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS = GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS;
|
|
14
|
+
var EDITING_REFERRAL_GROUPINGS = "To remove a resource from a group and send it as an individual referral, click the three dots to the right of the resource and select \u201CMove to a new referral.\u201D\n\n To move a referral into another compatible group, click the three dots to the right of the resource and select a group. You cannot group incompatible referrals (e.g. in-network referrals and out-of-network referrals, food pantry referrals and ride assistance referrals, etc.).";
|
|
15
|
+
exports.EDITING_REFERRAL_GROUPINGS = EDITING_REFERRAL_GROUPINGS;
|
|
16
|
+
var GROUPED_REFERRAL_MUST_HAVE_SAME = ['Service Type', 'Network Status (in or out of network)', 'Coordination Center', 'Cost (free or paid)'];
|
|
17
|
+
exports.GROUPED_REFERRAL_MUST_HAVE_SAME = GROUPED_REFERRAL_MUST_HAVE_SAME;
|
|
18
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","names":["REFERRAL_BUILDER_DESCRIPTION","exports","ABOUT_GROUPED_REFERRALS","GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS","EDITING_REFERRAL_GROUPINGS","GROUPED_REFERRAL_MUST_HAVE_SAME"],"sources":["../../../src/pages/supporting_info/constants.js"],"sourcesContent":["export const REFERRAL_BUILDER_DESCRIPTION = `Organize referrals according to your client's needs,\n then add referral descriptions and upload any necessary attachements.\n We group compatible referrals by defaults. `;\n\nexport const ABOUT_GROUPED_REFERRALS = `Grouped referrals allow you to send referrals to several organizations at once.\n Whoever accepts the referral first works with the client and the rest of the referrals are recalled.\n We automatically group referrals for you. To be in a group, referrals must have the same:`;\n\nexport const GROUPED_REFERRALS_VS_INDIVIDUAL_REFERRALS = `Unite Us groups compatible referrals by default in order to optimize network resources.\n If you wish to change the default grouping behavior, go to the settings page and select “Group Referrals Individually by default”.`;\n\nexport const EDITING_REFERRAL_GROUPINGS = `To remove a resource from a group and send it as an individual referral, click the three dots to the right of the resource and select “Move to a new referral.”\n\n To move a referral into another compatible group, click the three dots to the right of the resource and select a group. You cannot group incompatible referrals (e.g. in-network referrals and out-of-network referrals, food pantry referrals and ride assistance referrals, etc.).`;\n\nexport const GROUPED_REFERRAL_MUST_HAVE_SAME = ['Service Type', 'Network Status (in or out of network)', 'Coordination Center', 'Cost (free or paid)'];\n"],"mappings":";;;;;;;AAAO,IAAMA,4BAA4B,iLAEK;AAACC,OAAA,CAAAD,4BAAA,GAAAA,4BAAA;AAExC,IAAME,uBAAuB,yRAEwD;AAACD,OAAA,CAAAC,uBAAA,GAAAA,uBAAA;AAEtF,IAAMC,yCAAyC,4OAC+E;AAACF,OAAA,CAAAE,yCAAA,GAAAA,yCAAA;AAE/H,IAAMC,0BAA0B,wcAEgP;AAACH,OAAA,CAAAG,0BAAA,GAAAA,0BAAA;AAEjR,IAAMC,+BAA+B,GAAG,CAAC,cAAc,EAAE,uCAAuC,EAAE,qBAAqB,EAAE,qBAAqB,CAAC;AAACJ,OAAA,CAAAI,+BAAA,GAAAA,+BAAA"}
|