@openmrs/esm-patient-immunizations-app 7.0.2-pre.3821 → 7.0.2-pre.3834
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/.turbo/turbo-build.log +4 -4
- package/dist/253.js +1 -1
- package/dist/253.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/openmrs-esm-patient-immunizations-app.js +1 -1
- package/dist/openmrs-esm-patient-immunizations-app.js.buildmanifest.json +5 -5
- package/dist/routes.json +1 -1
- package/package.json +3 -3
- package/src/immunizations/immunizations-detailed-summary.scss +1 -1
- package/src/immunizations/immunizations-form.component.tsx +8 -12
- package/src/immunizations/immunizations-form.scss +2 -2
- package/src/immunizations/immunizations-overview.scss +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var _openmrs_esm_patient_immunizations_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,m,h,c,v,g,b={6278:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(255),t.e(614),t.e(268),t.e(325),t.e(576),t.e(444)]).then((()=>()=>t(6444)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},y={};function w(e){var r=y[e];if(void 0!==r)return r.exports;var t=y[e]={id:e,loaded:!1,exports:{}};return b[e].call(t.exports,t,t.exports,w),t.loaded=!0,t.exports}w.m=b,w.c=y,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce(((r,t)=>(w.f[t](e,r),r)),[])),w.u=e=>e+".js",w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-patient-immunizations-app:",w.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},w.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{w.S={};var e={},r={};w.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];w.o(w.S,t)||(w.S[t]={});var a=w.S[t],i="@openmrs/esm-patient-immunizations-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","5.4.1-pre.1567",(()=>Promise.all([w.e(130),w.e(268)]).then((()=>()=>w(130))))),l("@openmrs/esm-patient-common-lib","7.0.2-pre.
|
|
1
|
+
var _openmrs_esm_patient_immunizations_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,m,h,c,v,g,b={6278:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(255),t.e(614),t.e(268),t.e(325),t.e(576),t.e(444)]).then((()=>()=>t(6444)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},y={};function w(e){var r=y[e];if(void 0!==r)return r.exports;var t=y[e]={id:e,loaded:!1,exports:{}};return b[e].call(t.exports,t,t.exports,w),t.loaded=!0,t.exports}w.m=b,w.c=y,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce(((r,t)=>(w.f[t](e,r),r)),[])),w.u=e=>e+".js",w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-patient-immunizations-app:",w.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},w.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{w.S={};var e={},r={};w.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];w.o(w.S,t)||(w.S[t]={});var a=w.S[t],i="@openmrs/esm-patient-immunizations-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","5.4.1-pre.1567",(()=>Promise.all([w.e(130),w.e(268)]).then((()=>()=>w(130))))),l("@openmrs/esm-patient-common-lib","7.0.2-pre.3834",(()=>Promise.all([w.e(255),w.e(614),w.e(268),w.e(325),w.e(449),w.e(576)]).then((()=>()=>w(2449))))),l("dayjs","1.11.10",(()=>w.e(879).then((()=>()=>w(8879))))),l("react-i18next","11.18.6",(()=>Promise.all([w.e(268),w.e(301)]).then((()=>()=>w(4301))))),l("react-router-dom","6.16.0",(()=>Promise.all([w.e(591),w.e(268)]).then((()=>()=>w(6591))))),l("react","18.2.0",(()=>w.e(784).then((()=>()=>w(2784))))),l("rxjs","7.8.1",(()=>Promise.all([w.e(410),w.e(970)]).then((()=>()=>w(8410))))),l("swr/_internal","2.2.4",(()=>Promise.all([w.e(729),w.e(268)]).then((()=>()=>w(4729))))),l("swr/immutable","2.2.4",(()=>Promise.all([w.e(255),w.e(268),w.e(325),w.e(303)]).then((()=>()=>w(2303)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;w.g.importScripts&&(e=w.g.location+"");var r=w.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),w.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():o(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!o:""==f!=o);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(o?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(o||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=o)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],m=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?m()|m():2==h?m()&m():h?a(h,r):!m())}return!!m()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",s=(e,r,t,n)=>{var o=i(e,t);return f(e[t][o])},u=(e,r,t,n)=>{var o=i(e,t);return a(n,o)||p(l(e,t,o,n)),f(e[t][o])},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},f=e=>(e.loaded=1,e.get()),m=(d=e=>function(r,t,n,o){var a=w.I(r);return a&&a.then?a.then(e.bind(e,r,w.S[r],t,n,o)):e(r,w.S[r],t,n,o)})(((e,r,t,n)=>r&&w.o(r,t)?s(r,0,t):n())),h=d(((e,r,t,n,o)=>r&&w.o(r,t)?u(r,0,t,n):o())),c={},v={268:()=>h("default","react",[1,18],(()=>w.e(784).then((()=>()=>w(2784))))),3325:()=>h("default","swr/_internal",[1,2],(()=>w.e(729).then((()=>()=>w(4729))))),6081:()=>m("default","@openmrs/esm-framework/src/internal",(()=>w.e(130).then((()=>()=>w(130))))),8744:()=>h("default","react-router-dom",[1,6],(()=>w.e(591).then((()=>()=>w(6591))))),9198:()=>h("default","swr/immutable",[1,2],(()=>w.e(152).then((()=>()=>w(2303))))),2821:()=>h("default","@openmrs/esm-patient-common-lib",[1,7],(()=>w.e(449).then((()=>()=>w(2449))))),2870:()=>h("default","@openmrs/esm-framework",[1,5],(()=>w.e(130).then((()=>()=>w(130))))),4924:()=>h("default","react-i18next",[1,11],(()=>w.e(36).then((()=>()=>w(4301))))),7486:()=>h("default","rxjs",[1,6],(()=>w.e(410).then((()=>()=>w(8410))))),3565:()=>h("default","dayjs",[1,1],(()=>w.e(879).then((()=>()=>w(8879)))))},g={253:[3565],268:[268],325:[3325],444:[7486],449:[6081,8744,9198],576:[2821,2870,4924]},w.f.consumes=(e,r)=>{w.o(g,e)&&g[e].forEach((e=>{if(w.o(c,e))return r.push(c[e]);var t=r=>{c[e]=0,w.m[e]=t=>{delete w.c[e],t.exports=r()}},n=r=>{delete c[e],w.m[e]=t=>{throw delete w.c[e],r}};try{var o=v[e]();o.then?r.push(c[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={537:0};w.f.j=(r,t)=>{var n=w.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|325|576)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=w.p+w.u(r),i=new Error;w.l(a,(t=>{if(w.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,s=0;if(a.some((r=>0!==e[r]))){for(n in i)w.o(i,n)&&(w.m[n]=i[n]);l&&l(w)}for(r&&r(t);s<a.length;s++)o=a[s],w.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_patient_immunizations_app=globalThis.webpackChunk_openmrs_esm_patient_immunizations_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),w.nc=void 0;var _=w(6278);_openmrs_esm_patient_immunizations_app=_})();
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"auxiliaryFiles": [
|
|
101
101
|
"main.js.map"
|
|
102
102
|
],
|
|
103
|
-
"hash": "
|
|
103
|
+
"hash": "b0cb0c9e978ecf96",
|
|
104
104
|
"childrenByOrder": {}
|
|
105
105
|
},
|
|
106
106
|
{
|
|
@@ -108,9 +108,9 @@
|
|
|
108
108
|
"initial": false,
|
|
109
109
|
"entry": false,
|
|
110
110
|
"recorded": false,
|
|
111
|
-
"size":
|
|
111
|
+
"size": 28237,
|
|
112
112
|
"sizes": {
|
|
113
|
-
"javascript":
|
|
113
|
+
"javascript": 28195,
|
|
114
114
|
"consume-shared": 42
|
|
115
115
|
},
|
|
116
116
|
"names": [],
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"auxiliaryFiles": [
|
|
126
126
|
"253.js.map"
|
|
127
127
|
],
|
|
128
|
-
"hash": "
|
|
128
|
+
"hash": "7d69e302675d61d0",
|
|
129
129
|
"childrenByOrder": {}
|
|
130
130
|
},
|
|
131
131
|
{
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"auxiliaryFiles": [
|
|
413
413
|
"openmrs-esm-patient-immunizations-app.js.map"
|
|
414
414
|
],
|
|
415
|
-
"hash": "
|
|
415
|
+
"hash": "56b40485702edcb2",
|
|
416
416
|
"childrenByOrder": {}
|
|
417
417
|
},
|
|
418
418
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"immunization-overview-widget","component":"immunizationsOverview","meta":{"columnSpan":4},"order":8},{"name":"immunization-details-widget","component":"immunizationsDetailedSummary","slot":"patient-chart-immunizations-dashboard-slot","meta":{"columnSpan":1}},{"name":"immunization-summary-dashboard","component":"immunizationsDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"slot":"patient-chart-immunizations-dashboard-slot","columns":1,"path":"Immunizations"},"order":8}],"pages":[],"version":"7.0.2-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"immunization-overview-widget","component":"immunizationsOverview","meta":{"columnSpan":4},"order":8},{"name":"immunization-details-widget","component":"immunizationsDetailedSummary","slot":"patient-chart-immunizations-dashboard-slot","meta":{"columnSpan":1}},{"name":"immunization-summary-dashboard","component":"immunizationsDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"slot":"patient-chart-immunizations-dashboard-slot","columns":1,"path":"Immunizations"},"order":8}],"pages":[],"version":"7.0.2-pre.3834"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-patient-immunizations-app",
|
|
3
|
-
"version": "7.0.2-pre.
|
|
3
|
+
"version": "7.0.2-pre.3834",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Patient immunizations microfrontend for the OpenMRS SPA",
|
|
6
6
|
"browser": "dist/openmrs-esm-patient-immunizations-app.js",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"swr": "2.x"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@openmrs/esm-patient-common-lib": "7.0.2-pre.
|
|
57
|
+
"@openmrs/esm-patient-common-lib": "7.0.2-pre.3834",
|
|
58
58
|
"webpack": "^5.88.2"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "c02be06e5eba3d8145bda7fbd3d867f040a7b6cd"
|
|
61
61
|
}
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
Dropdown,
|
|
9
9
|
Form,
|
|
10
10
|
InlineNotification,
|
|
11
|
-
Layer,
|
|
12
11
|
SelectItem,
|
|
13
12
|
Stack,
|
|
14
13
|
TextInput,
|
|
@@ -23,6 +22,7 @@ import {
|
|
|
23
22
|
toOmrsIsoString,
|
|
24
23
|
toDateObjectStrict,
|
|
25
24
|
showSnackbar,
|
|
25
|
+
ResponsiveWrapper,
|
|
26
26
|
} from '@openmrs/esm-framework';
|
|
27
27
|
import { useForm, Controller, FormProvider } from 'react-hook-form';
|
|
28
28
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
@@ -227,7 +227,7 @@ const ImmunizationsForm: React.FC<DefaultWorkspaceProps> = ({
|
|
|
227
227
|
<Stack gap={1} className={styles.container}>
|
|
228
228
|
<section className={` ${styles.row}`}>
|
|
229
229
|
<div className={styles.dateTimeSection}>
|
|
230
|
-
<ResponsiveWrapper
|
|
230
|
+
<ResponsiveWrapper>
|
|
231
231
|
<Controller
|
|
232
232
|
name="vaccinationDate"
|
|
233
233
|
control={control}
|
|
@@ -254,7 +254,7 @@ const ImmunizationsForm: React.FC<DefaultWorkspaceProps> = ({
|
|
|
254
254
|
)}
|
|
255
255
|
/>
|
|
256
256
|
</ResponsiveWrapper>
|
|
257
|
-
<ResponsiveWrapper
|
|
257
|
+
<ResponsiveWrapper>
|
|
258
258
|
<Controller
|
|
259
259
|
name="vaccinationTime"
|
|
260
260
|
control={control}
|
|
@@ -290,7 +290,7 @@ const ImmunizationsForm: React.FC<DefaultWorkspaceProps> = ({
|
|
|
290
290
|
</div>
|
|
291
291
|
</section>
|
|
292
292
|
<section>
|
|
293
|
-
<ResponsiveWrapper
|
|
293
|
+
<ResponsiveWrapper>
|
|
294
294
|
<Controller
|
|
295
295
|
name="vaccineUuid"
|
|
296
296
|
control={control}
|
|
@@ -329,7 +329,7 @@ const ImmunizationsForm: React.FC<DefaultWorkspaceProps> = ({
|
|
|
329
329
|
)}
|
|
330
330
|
{vaccineUuid && (
|
|
331
331
|
<section>
|
|
332
|
-
<ResponsiveWrapper
|
|
332
|
+
<ResponsiveWrapper>
|
|
333
333
|
<DoseInput
|
|
334
334
|
vaccine={vaccineUuid}
|
|
335
335
|
sequences={immunizationsConfig.sequenceDefinitions}
|
|
@@ -339,7 +339,7 @@ const ImmunizationsForm: React.FC<DefaultWorkspaceProps> = ({
|
|
|
339
339
|
</section>
|
|
340
340
|
)}
|
|
341
341
|
<section>
|
|
342
|
-
<ResponsiveWrapper
|
|
342
|
+
<ResponsiveWrapper>
|
|
343
343
|
<Controller
|
|
344
344
|
name="manufacturer"
|
|
345
345
|
control={control}
|
|
@@ -358,7 +358,7 @@ const ImmunizationsForm: React.FC<DefaultWorkspaceProps> = ({
|
|
|
358
358
|
</ResponsiveWrapper>
|
|
359
359
|
</section>
|
|
360
360
|
<section>
|
|
361
|
-
<ResponsiveWrapper
|
|
361
|
+
<ResponsiveWrapper>
|
|
362
362
|
<Controller
|
|
363
363
|
name="lotNumber"
|
|
364
364
|
control={control}
|
|
@@ -377,7 +377,7 @@ const ImmunizationsForm: React.FC<DefaultWorkspaceProps> = ({
|
|
|
377
377
|
</ResponsiveWrapper>
|
|
378
378
|
</section>
|
|
379
379
|
<section>
|
|
380
|
-
<ResponsiveWrapper
|
|
380
|
+
<ResponsiveWrapper>
|
|
381
381
|
<Controller
|
|
382
382
|
name="expirationDate"
|
|
383
383
|
control={control}
|
|
@@ -418,8 +418,4 @@ const ImmunizationsForm: React.FC<DefaultWorkspaceProps> = ({
|
|
|
418
418
|
);
|
|
419
419
|
};
|
|
420
420
|
|
|
421
|
-
function ResponsiveWrapper({ children, isTablet }: ResponsiveWrapperProps) {
|
|
422
|
-
return isTablet ? <Layer className={styles.layer}>{children} </Layer> : <Fragment>{children}</Fragment>;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
421
|
export default ImmunizationsForm;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '@carbon/styles/scss/spacing';
|
|
2
2
|
@use '@carbon/styles/scss/type';
|
|
3
|
-
@import '
|
|
3
|
+
@import '@openmrs/esm-styleguide/src/vars';
|
|
4
4
|
|
|
5
5
|
.container {
|
|
6
6
|
margin: spacing.$spacing-05;
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
.dateTimeSection {
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
}
|
|
45
|
-
}
|
|
45
|
+
}
|