@openmrs/esm-fast-data-entry-app 1.0.1-pre.99 → 1.1.0
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/__mocks__/react-i18next.js +9 -14
- package/dist/12.js +1 -0
- package/dist/12.js.map +1 -0
- package/dist/132.js +1 -0
- package/dist/151.js +2 -0
- package/dist/151.js.map +1 -0
- package/dist/195.js +1 -0
- package/dist/195.js.map +1 -0
- package/dist/197.js +1 -0
- package/dist/221.js +1 -0
- package/dist/221.js.map +1 -0
- package/dist/259.js +1 -0
- package/dist/259.js.map +1 -0
- package/dist/265.js +1 -0
- package/dist/265.js.map +1 -0
- package/dist/269.js +1 -0
- package/dist/269.js.map +1 -0
- package/dist/{574.js → 300.js} +1 -1
- package/dist/335.js +1 -0
- package/dist/367.js +1 -0
- package/dist/367.js.map +1 -0
- package/dist/384.js +1 -0
- package/dist/384.js.map +1 -0
- package/dist/{294.js → 540.js} +2 -2
- package/dist/{294.js.map → 540.js.map} +1 -1
- package/dist/55.js +1 -0
- package/dist/579.js +1 -0
- package/dist/579.js.map +1 -0
- package/dist/595.js +2 -0
- package/dist/{409.js.LICENSE.txt → 595.js.LICENSE.txt} +14 -6
- package/dist/595.js.map +1 -0
- package/dist/602.js +1 -0
- package/dist/602.js.map +1 -0
- package/dist/616.js +1 -0
- package/dist/616.js.map +1 -0
- package/dist/626.js +2 -0
- package/dist/626.js.map +1 -0
- package/dist/652.js +1 -0
- package/dist/77.js +1 -0
- package/dist/77.js.map +1 -0
- package/dist/773.js +2 -0
- package/dist/{897.js.LICENSE.txt → 773.js.LICENSE.txt} +13 -2
- package/dist/773.js.map +1 -0
- package/dist/88.js +1 -0
- package/dist/88.js.map +1 -0
- package/dist/930.js +1 -0
- package/dist/930.js.map +1 -0
- package/dist/961.js +2 -0
- package/dist/961.js.map +1 -0
- package/dist/983.js +1 -0
- package/dist/983.js.map +1 -0
- package/dist/99.js +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-fast-data-entry-app.js +1 -1
- package/dist/openmrs-esm-fast-data-entry-app.js.buildmanifest.json +386 -154
- package/dist/openmrs-esm-fast-data-entry-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/jest.config.json +2 -1
- package/package.json +39 -36
- package/prettier.config.js +8 -0
- package/src/CancelModal.tsx +9 -15
- package/src/CompleteModal.tsx +7 -18
- package/src/FormBootstrap.tsx +31 -18
- package/src/Root.tsx +7 -12
- package/src/add-group-modal/AddGroupModal.tsx +73 -112
- package/src/add-group-modal/styles.scss +7 -3
- package/src/config-schema.ts +63 -24
- package/src/constant.ts +1 -1
- package/src/context/FormWorkflowContext.tsx +26 -39
- package/src/context/FormWorkflowReducer.ts +50 -74
- package/src/context/GroupFormWorkflowContext.tsx +40 -59
- package/src/context/GroupFormWorkflowReducer.ts +84 -109
- package/src/declarations.d.ts +3 -0
- package/src/empty-state/EmptyDataIllustration.tsx +4 -16
- package/src/empty-state/EmptyState.tsx +8 -13
- package/src/empty-state/styles.scss +14 -14
- package/src/form-entry-workflow/FormEntryWorkflow.tsx +43 -55
- package/src/form-entry-workflow/form-review-card/FormReviewCard.tsx +7 -7
- package/src/form-entry-workflow/form-review-card/index.ts +1 -1
- package/src/form-entry-workflow/form-review-card/styles.scss +9 -11
- package/src/form-entry-workflow/index.ts +1 -1
- package/src/form-entry-workflow/patient-banner/PatientBanner.test.tsx +5 -5
- package/src/form-entry-workflow/patient-banner/PatientBanner.tsx +14 -27
- package/src/form-entry-workflow/patient-banner/index.ts +1 -1
- package/src/form-entry-workflow/patient-banner/styles.scss +11 -12
- package/src/form-entry-workflow/patient-search-header/PatientSearchHeader.tsx +19 -28
- package/src/form-entry-workflow/patient-search-header/index.ts +1 -1
- package/src/form-entry-workflow/patient-search-header/styles.scss +13 -10
- package/src/form-entry-workflow/styles.scss +11 -13
- package/src/form-entry-workflow/workflow-review/WorkflowReview.tsx +13 -11
- package/src/form-entry-workflow/workflow-review/index.ts +1 -1
- package/src/form-entry-workflow/workflow-review/styles.scss +0 -4
- package/src/forms-app-menu-link.tsx +4 -6
- package/src/forms-page/FormsPage.tsx +23 -51
- package/src/forms-page/forms-table/FormsTable.tsx +22 -42
- package/src/forms-page/forms-table/index.ts +1 -1
- package/src/forms-page/forms-table/styles.scss +4 -5
- package/src/forms-page/index.ts +1 -1
- package/src/forms-page/styles.scss +3 -5
- package/src/group-form-entry-workflow/GroupFormEntryWorkflow.tsx +9 -9
- package/src/group-form-entry-workflow/GroupSessionWorkspace.tsx +77 -117
- package/src/group-form-entry-workflow/SessionDetailsForm.tsx +73 -50
- package/src/group-form-entry-workflow/SessionMetaWorkspace.tsx +20 -28
- package/src/group-form-entry-workflow/attendance-table/AttendanceTable.tsx +15 -29
- package/src/group-form-entry-workflow/attendance-table/index.ts +1 -1
- package/src/group-form-entry-workflow/configurable-questions/ConfigurableQuestionsSection.tsx +45 -0
- package/src/group-form-entry-workflow/group-display-header/GroupDisplayHeader.test.tsx +5 -5
- package/src/group-form-entry-workflow/group-display-header/GroupDisplayHeader.tsx +13 -21
- package/src/group-form-entry-workflow/group-display-header/index.ts +1 -1
- package/src/group-form-entry-workflow/group-display-header/styles.scss +20 -20
- package/src/group-form-entry-workflow/group-search/CompactGroupResults.tsx +24 -35
- package/src/group-form-entry-workflow/group-search/CompactGroupSearch.tsx +13 -15
- package/src/group-form-entry-workflow/group-search/GroupSearch.tsx +22 -38
- package/src/group-form-entry-workflow/group-search/compact-group-result.scss +16 -17
- package/src/group-form-entry-workflow/group-search/compact-group-search.scss +7 -8
- package/src/group-form-entry-workflow/group-search/group-search.scss +20 -23
- package/src/group-form-entry-workflow/group-search-header/GroupSearchHeader.tsx +20 -21
- package/src/group-form-entry-workflow/group-search-header/index.ts +1 -1
- package/src/group-form-entry-workflow/group-search-header/styles.scss +8 -8
- package/src/group-form-entry-workflow/index.ts +1 -1
- package/src/group-form-entry-workflow/styles.scss +13 -16
- package/src/hooks/index.ts +7 -6
- package/src/hooks/useFormState.ts +3 -3
- package/src/hooks/useGetAllForms.ts +7 -15
- package/src/hooks/useGetEncounter.ts +3 -3
- package/src/hooks/useGetPatient.ts +2 -2
- package/src/hooks/useGetPatients.ts +4 -6
- package/src/hooks/useGetSystemSetting.ts +3 -5
- package/src/hooks/useKeyPress.ts +5 -5
- package/src/hooks/usePostEndpoint.ts +10 -10
- package/src/hooks/useSearchEndpoint.ts +23 -40
- package/src/hooks/useSpecificQuestions.ts +75 -0
- package/src/hooks/useStartVisit.ts +18 -28
- package/src/index.ts +8 -20
- package/src/patient-card/PatientCard.tsx +8 -20
- package/src/patient-card/index.ts +1 -1
- package/src/patient-card/styles.scss +2 -4
- package/src/routes.json +2 -2
- package/src/setup-tests.ts +1 -1
- package/src/types.ts +25 -0
- package/tools/i18next-parser.config.js +19 -19
- package/translations/am.json +75 -0
- package/translations/ar.json +75 -0
- package/translations/en.json +7 -1
- package/translations/es.json +75 -0
- package/translations/fr.json +33 -8
- package/translations/he.json +75 -0
- package/translations/km.json +75 -0
- package/tsconfig.json +2 -1
- package/turbo.json +18 -0
- package/webpack.config.js +1 -1
- package/dist/136.js +0 -1
- package/dist/136.js.map +0 -1
- package/dist/141.js +0 -2
- package/dist/141.js.map +0 -1
- package/dist/233.js +0 -2
- package/dist/233.js.map +0 -1
- package/dist/242.js +0 -1
- package/dist/242.js.map +0 -1
- package/dist/327.js +0 -1
- package/dist/327.js.map +0 -1
- package/dist/387.js +0 -1
- package/dist/387.js.map +0 -1
- package/dist/405.js +0 -1
- package/dist/405.js.map +0 -1
- package/dist/409.js +0 -2
- package/dist/409.js.map +0 -1
- package/dist/431.js +0 -1
- package/dist/431.js.map +0 -1
- package/dist/559.js +0 -1
- package/dist/559.js.map +0 -1
- package/dist/757.js +0 -1
- package/dist/820.js +0 -1
- package/dist/820.js.map +0 -1
- package/dist/846.js +0 -1
- package/dist/846.js.map +0 -1
- package/dist/885.js +0 -1
- package/dist/885.js.map +0 -1
- package/dist/897.js +0 -2
- package/dist/897.js.map +0 -1
- package/dist/92.js +0 -1
- package/dist/92.js.map +0 -1
- package/dist/935.js +0 -2
- package/dist/935.js.map +0 -1
- package/src/declarations.d.tsx +0 -2
- /package/dist/{141.js.LICENSE.txt → 151.js.LICENSE.txt} +0 -0
- /package/dist/{294.js.LICENSE.txt → 540.js.LICENSE.txt} +0 -0
- /package/dist/{233.js.LICENSE.txt → 626.js.LICENSE.txt} +0 -0
- /package/dist/{935.js.LICENSE.txt → 961.js.LICENSE.txt} +0 -0
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
/** At present, this entire mock is boilerplate. */
|
|
2
2
|
|
|
3
|
-
const React = require(
|
|
4
|
-
const reactI18next = require(
|
|
3
|
+
const React = require('react');
|
|
4
|
+
const reactI18next = require('react-i18next');
|
|
5
5
|
|
|
6
|
-
const hasChildren = (node) =>
|
|
7
|
-
node && (node.children || (node.props && node.props.children));
|
|
6
|
+
const hasChildren = (node) => node && (node.children || (node.props && node.props.children));
|
|
8
7
|
|
|
9
|
-
const getChildren = (node) =>
|
|
10
|
-
node && node.children ? node.children : node.props && node.props.children;
|
|
8
|
+
const getChildren = (node) => (node && node.children ? node.children : node.props && node.props.children);
|
|
11
9
|
|
|
12
10
|
const renderNodes = (reactNodes) => {
|
|
13
|
-
if (typeof reactNodes ===
|
|
11
|
+
if (typeof reactNodes === 'string') {
|
|
14
12
|
return reactNodes;
|
|
15
13
|
}
|
|
16
14
|
|
|
@@ -18,18 +16,15 @@ const renderNodes = (reactNodes) => {
|
|
|
18
16
|
const child = reactNodes[key];
|
|
19
17
|
const isElement = React.isValidElement(child);
|
|
20
18
|
|
|
21
|
-
if (typeof child ===
|
|
19
|
+
if (typeof child === 'string') {
|
|
22
20
|
return child;
|
|
23
21
|
}
|
|
24
22
|
if (hasChildren(child)) {
|
|
25
23
|
const inner = renderNodes(getChildren(child));
|
|
26
24
|
return React.cloneElement(child, { ...child.props, key: i }, inner);
|
|
27
25
|
}
|
|
28
|
-
if (typeof child ===
|
|
29
|
-
return Object.keys(child).reduce(
|
|
30
|
-
(str, childKey) => `${str}${child[childKey]}`,
|
|
31
|
-
""
|
|
32
|
-
);
|
|
26
|
+
if (typeof child === 'object' && !isElement) {
|
|
27
|
+
return Object.keys(child).reduce((str, childKey) => `${str}${child[childKey]}`, '');
|
|
33
28
|
}
|
|
34
29
|
|
|
35
30
|
return child;
|
|
@@ -37,7 +32,7 @@ const renderNodes = (reactNodes) => {
|
|
|
37
32
|
};
|
|
38
33
|
|
|
39
34
|
const useMock = [(k) => k, {}];
|
|
40
|
-
useMock.t = (k, o) => (o && o.defaultValue) || (typeof o ===
|
|
35
|
+
useMock.t = (k, o) => (o && o.defaultValue) || (typeof o === 'string' ? o : k);
|
|
41
36
|
useMock.i18n = {};
|
|
42
37
|
|
|
43
38
|
module.exports = {
|
package/dist/12.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_fast_data_entry_app=globalThis.webpackChunk_openmrs_esm_fast_data_entry_app||[]).push([[12],{5594:(t,e,r)=>{r.d(e,{Vn:()=>u,zH:()=>f});var n,o,a,i=r(6072),l=r.n(i),c=r(7707);const f=l().forwardRef((function(t,e){let{children:r,size:a=16,...i}=t;return l().createElement(c.A,{width:a,height:a,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},n||(n=l().createElement("path",{d:"M12 12H14V24H12zM18 12H20V24H18z"})),o||(o=l().createElement("path",{d:"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z"})),r)})),u=l().forwardRef((function(t,e){let{children:r,size:n=16,...o}=t;return l().createElement(c.A,{width:n,height:n,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},a||(a=l().createElement("path",{d:"M20,10H7.8149l3.5874-3.5859L10,5,4,11,10,17l1.4023-1.4146L7.8179,12H20a6,6,0,0,1,0,12H12v2h8a8,8,0,0,0,0-16Z"})),r)}))},42:(t,e,r)=>{r.d(e,{$D:()=>g,ff:()=>m,sV:()=>z,x:()=>A});var n,o,a,i,l,c,f,u,h,s,d,p=r(6072),w=r.n(p),v=r(7707);const m=w().forwardRef((function(t,e){let{children:r,size:o=16,...a}=t;return w().createElement(v.A,{width:o,height:o,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},n||(n=w().createElement("path",{d:"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"})),r)})),g=w().forwardRef((function(t,e){let{children:r,size:n=16,...a}=t;return w().createElement(v.A,{width:n,height:n,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},o||(o=w().createElement("path",{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"})),r)})),A=w().forwardRef((function(t,e){let{children:r,size:n=16,...o}=t;return 16===n||"16"===n||"16px"===n?w().createElement(v.A,{width:n,height:n,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...o},a||(a=w().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"})),i||(i=w().createElement("path",{fill:"none",d:"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z","data-icon-path":"inner-path",opacity:"0"})),r):20===n||"20"===n||"20px"===n?w().createElement(v.A,{width:n,height:n,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...o},l||(l=w().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"})),c||(c=w().createElement("path",{d:"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z","data-icon-path":"inner-path",opacity:"0"})),r):24===n||"24"===n||"24px"===n?w().createElement(v.A,{width:n,height:n,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...o},f||(f=w().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z"})),u||(u=w().createElement("path",{fill:"none",d:"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z","data-icon-path":"inner-path",opacity:"0"})),r):w().createElement(v.A,{width:n,height:n,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},h||(h=w().createElement("path",{fill:"none",d:"M14.9 7.2H17.1V24.799H14.9z","data-icon-path":"inner-path",transform:"rotate(-45 16 16)"})),s||(s=w().createElement("path",{d:"M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"})),r)})),z=w().forwardRef((function(t,e){let{children:r,size:n=16,...o}=t;return w().createElement(v.A,{width:n,height:n,ref:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},d||(d=w().createElement("path",{d:"M26 14H24v2h2a3.0033 3.0033 0 013 3v4h2V19A5.0058 5.0058 0 0026 14zM24 4a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0024 2zM23 30H21V28a3.0033 3.0033 0 00-3-3H14a3.0033 3.0033 0 00-3 3v2H9V28a5.0059 5.0059 0 015-5h4a5.0059 5.0059 0 015 5zM16 13a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0016 11zM8 14H6a5.0059 5.0059 0 00-5 5v4H3V19a3.0033 3.0033 0 013-3H8zM8 4A3 3 0 115 7 3 3 0 018 4M8 2a5 5 0 105 5A5 5 0 008 2z"})),r)}))},241:(t,e,r)=>{r.d(e,{A:()=>n});const n=r(1917).A.Symbol},8496:(t,e,r)=>{r.d(e,{A:()=>u});var n=r(241),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,l=n.A?n.A.toStringTag:void 0;var c=Object.prototype.toString;var f=n.A?n.A.toStringTag:void 0;const u=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":f&&f in Object(t)?function(t){var e=a.call(t,l),r=t[l];try{t[l]=void 0;var n=!0}catch(t){}var o=i.call(t);return n&&(e?t[l]=r:delete t[l]),o}(t):function(t){return c.call(t)}(t)}},2136:(t,e,r)=>{r.d(e,{A:()=>n});const n="object"==typeof global&&global&&global.Object===Object&&global},1917:(t,e,r)=>{r.d(e,{A:()=>a});var n=r(2136),o="object"==typeof self&&self&&self.Object===Object&&self;const a=n.A||o||Function("return this")()},3366:(t,e,r)=>{r.d(e,{A:()=>f});var n=r(3149),o=r(1917);const a=function(){return o.A.Date.now()};var i=r(1733),l=Math.max,c=Math.min;const f=function(t,e,r){var o,f,u,h,s,d,p=0,w=!1,v=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=o,n=f;return o=f=void 0,p=e,h=t.apply(n,r)}function A(t){var r=t-d;return void 0===d||r>=e||r<0||v&&t-p>=u}function z(){var t=a();if(A(t))return M(t);s=setTimeout(z,function(t){var r=e-(t-d);return v?c(r,u-(t-p)):r}(t))}function M(t){return s=void 0,m&&o?g(t):(o=f=void 0,h)}function b(){var t=a(),r=A(t);if(o=arguments,f=this,d=t,r){if(void 0===s)return function(t){return p=t,s=setTimeout(z,e),w?g(t):h}(d);if(v)return clearTimeout(s),s=setTimeout(z,e),g(d)}return void 0===s&&(s=setTimeout(z,e)),h}return e=(0,i.A)(e)||0,(0,n.A)(r)&&(w=!!r.leading,u=(v="maxWait"in r)?l((0,i.A)(r.maxWait)||0,e):u,m="trailing"in r?!!r.trailing:m),b.cancel=function(){void 0!==s&&clearTimeout(s),p=0,o=d=f=s=void 0},b.flush=function(){return void 0===s?h:M(a())},b}},3149:(t,e,r)=>{r.d(e,{A:()=>n});const n=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3098:(t,e,r)=>{r.d(e,{A:()=>n});const n=function(t){return null!=t&&"object"==typeof t}},1882:(t,e,r)=>{r.d(e,{A:()=>a});var n=r(8496),o=r(3098);const a=function(t){return"symbol"==typeof t||(0,o.A)(t)&&"[object Symbol]"==(0,n.A)(t)}},1733:(t,e,r)=>{r.d(e,{A:()=>s});var n=/\s/;var o=/^\s+/;const a=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}(t)+1).replace(o,""):t};var i=r(3149),l=r(1882),c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,u=/^0o[0-7]+$/i,h=parseInt;const s=function(t){if("number"==typeof t)return t;if((0,l.A)(t))return NaN;if((0,i.A)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,i.A)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=a(t);var r=f.test(t);return r||u.test(t)?h(t.slice(2),r?2:8):c.test(t)?NaN:+t}}}]);
|
package/dist/12.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"12.js","mappings":"6LAco2BA,EAASC,EAAqgBC,E,6BAqqCl3C,MAAMC,EAAwB,gBAAiB,SAAkBC,EAAQC,GACvE,IAAI,SACFC,EAAQ,KACRC,EAAO,MACJC,GACDJ,EACJ,OAAoB,kBAAoB,IAAM,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D,GAC/B,OAAQuE,GAAYN,EAAUL,KAAK5D,GAC/BkE,EAAalE,EAAMyD,MAAM,GAAIc,EAAW,EAAI,GAC3CR,EAAWH,KAAK5D,GAvDb,KAuD6BA,CACvC,C","sources":["webpack://@openmrs/esm-fast-data-entry-app/./node_modules/@carbon/react/node_modules/@carbon/icons-react/es/generated/bucket-17.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/@carbon/react/node_modules/@carbon/icons-react/es/generated/bucket-6.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/_Symbol.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/_getRawTag.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/_objectToString.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/_baseGetTag.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/_freeGlobal.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/_root.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/now.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/debounce.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/isObject.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/isObjectLike.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/isSymbol.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/_trimmedEndIndex.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/_baseTrim.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/lodash-es/toNumber.js"],"names":["_path96","_path97","_path149","TrashCan","_ref52","ref","children","size","rest","width","height","xmlns","viewBox","fill","d","Undo","_ref87","_path30","_path50","_path51","_path52","_path53","_path54","_path55","_path56","_path57","_path58","_path76","Edit","_ref19","Error","_ref34","ErrorFilled","_ref35","opacity","transform","Events","_ref42","Symbol","objectProto","Object","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","undefined","value","isOwn","call","tag","unmasked","e","result","global","freeSelf","self","Function","Date","now","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","timeWaiting","remainingWait","debounced","isInvoking","arguments","this","leadingEdge","clearTimeout","toNumber","isObject","cancel","flush","type","reWhitespace","reTrimStart","string","slice","index","length","test","charAt","replace","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","isSymbol","other","valueOf","isBinary"],"sourceRoot":""}
|
package/dist/132.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_fast_data_entry_app=globalThis.webpackChunk_openmrs_esm_fast_data_entry_app||[]).push([[132],{4132:e=>{e.exports=JSON.parse('{"actions":"الإجراءات","allFieldsRequired":"جميع الحقول مطلوبة ما لم يتم التأشير عليها بأنها اختيارية","allForms":"جميع النماذج","areYouSure":"هل أنت متأكد؟","cancel":"إلغاء","cancelExplanation":"سوف تفقد أي تغييرات لم يتم حفظها في النموذج الحالي. هل ترغب في التخلص من الجلسة الحالية؟","changeGroup":"اختر مجموعة مختلفة","chooseGroupError":"الرجاء اختيار مجموعة.","clearSearch":"مسح","complete":"اكتمال","createGroup":"إنشاء مجموعة","createNewGroup":"إنشاء مجموعة جديدة","createNewPatient":"إنشاء مريض جديد","createNewSession":"إنشاء جلسة جديدة","discard":"تجاهل","editGroup":"تعديل المجموعة","error":"خطأ","errorCopy":"عذرًا، حدث خطأ. يمكنك محاولة إعادة تحميل هذه الصفحة، أو الاتصال بمسؤول الموقع واقتباس رمز الخطأ أعلاه.","errorLoadingData":"خطأ في تحميل البيانات","fastDataEntry":"إدخال البيانات السريع","fillForm":"املأ النموذج","findGroup":"ابحث عن مجموعة","formName":"اسم النموذج","formsAppMenuLink":"إدخال البيانات السريع","formsFilled":"النماذج المملوءة","goToForm":"اذهب إلى النموذج","groupNameError":"الرجاء إدخال اسم المجموعة.","identifier":"هوية المريض","markAbsentPatients":"المرضى في هذه المجموعة. يجب وضع علامة على المرضى الذين ليسوا موجودين في الجلسة كغائبين.","members":"أعضاء","name":"الاسم","newGroupName":"اسم المجموعة الجديد","newGroupSession":"جلسة المجموعة الجديدة","nextPatient":"المريض التالي","noFormsFound":"لا توجد نماذج للعرض","noFormsFoundMessage":"لم يتم العثور على نماذج لهذه الفئة. يرجى التحقق مرة أخرى من uuids مفهوم النموذج وأذونات الوصول.","noGroupsFoundMessage":"عذرًا، لم يتم العثور على مجموعات","noMoreResults":"نهاية نتائج البحث","noPatientError":"الرجاء إدخال مريض واحد على الأقل.","or":"أو","orLabelName":"أو اسم العلامة","patientIsPresent":"المريض موجود","patientsInGroup":"المرضى في المجموعة","postError":"خطأ POST","practitionerName":"اسم الممارس","remove":"إزالة","requiredField":"This field is required","resumeGroupSession":"استئناف جلسة المجموعة","resumeSession":"استئناف الجلسة","review":"Review","save":"حفظ","save&close":"Save & Close","saveAndComplete":"حفظ واكتمال","saveExplanation":"هل ترغب في حفظ النموذج الحالي والخروج من العملية؟","saveForm":"حفظ النموذج","saveSession":"حفظ الجلسة","search":"بحث","searchForGroup":"ابحث عن مجموعة بالاسم","searchForPatientsToAddToGroup":"Search for patients to add to group","searchResultsText":"نتيجة (نتائج) البحث","selectGroupFirst":"الرجاء اختيار مجموعة أولاً","selectPatientFirst":"الرجاء اختيار مريض أولاً","sessionDate":"تاريخ الجلسة","sessionDetails":"1. تفاصيل الجلسة","sessionName":"اسم الجلسة","sessionNotes":"ملاحظات الجلسة","sessionParticipants":"2. المشاركون في الجلسة","sessionSpecificDetails":"3. Specific details","sessionSpecificDetailsDescription":"They will be mapped to form responses for all patients as pre-filled data.","startGroupSession":"بدء جلسة المجموعة","trySearchWithPatientUniqueID":"حاول البحث باستخدام وصف الفوج","unknown":"غير معروف","unknownPostError":"حدث خطأ غير معروف أثناء حفظ البيانات"}')}}]);
|