@openmrs/esm-patient-chart-app 11.3.1-pre.9294 → 11.3.1-pre.9304
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 +9 -9
- package/dist/1119.js +1 -1
- package/dist/1197.js +1 -1
- package/dist/2146.js +1 -1
- package/dist/2690.js +1 -1
- package/dist/276.js +1 -1
- package/dist/276.js.map +1 -1
- package/dist/2761.js +1 -1
- package/dist/2761.js.map +1 -1
- package/dist/2859.js +1 -1
- package/dist/2859.js.map +1 -1
- package/dist/3099.js +1 -1
- package/dist/3119.js +1 -1
- package/dist/3119.js.map +1 -1
- package/dist/3584.js +1 -1
- package/dist/4055.js +1 -1
- package/dist/4132.js +1 -1
- package/dist/4300.js +1 -1
- package/dist/4335.js +1 -1
- package/dist/4618.js +1 -1
- package/dist/4652.js +1 -1
- package/dist/4727.js +1 -1
- package/dist/4727.js.map +1 -1
- package/dist/4944.js +1 -1
- package/dist/5048.js +1 -1
- package/dist/5048.js.map +1 -1
- package/dist/5173.js +1 -1
- package/dist/5241.js +1 -1
- package/dist/5442.js +1 -1
- package/dist/5661.js +1 -1
- package/dist/6022.js +1 -1
- package/dist/6468.js +1 -1
- package/dist/6568.js +1 -0
- package/dist/6568.js.map +1 -0
- package/dist/6679.js +1 -1
- package/dist/6840.js +1 -1
- package/dist/6859.js +1 -1
- package/dist/7097.js +1 -1
- package/dist/7159.js +1 -1
- package/dist/723.js +1 -1
- package/dist/7617.js +1 -1
- package/dist/795.js +1 -1
- package/dist/8163.js +1 -1
- package/dist/8260.js +1 -0
- package/dist/8260.js.map +1 -0
- package/dist/8349.js +1 -1
- package/dist/8454.js +1 -1
- package/dist/8454.js.map +1 -1
- package/dist/8618.js +1 -1
- package/dist/890.js +1 -1
- package/dist/9214.js +1 -1
- package/dist/9329.js +1 -0
- package/dist/9329.js.map +1 -0
- package/dist/9538.js +1 -1
- package/dist/9569.js +1 -1
- package/dist/986.js +1 -1
- package/dist/9879.js +1 -1
- package/dist/9895.js +1 -1
- package/dist/9900.js +1 -1
- package/dist/9913.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-patient-chart-app.js +1 -1
- package/dist/openmrs-esm-patient-chart-app.js.buildmanifest.json +214 -214
- package/dist/openmrs-esm-patient-chart-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/actions-buttons/delete-visit.component.tsx +8 -3
- package/src/actions-buttons/stop-visit.component.tsx +1 -1
- package/src/clinical-views/encounter-list/{encounter-list-tabs.component.tsx → encounter-list-tabs.extension.tsx} +10 -6
- package/src/index.ts +4 -4
- package/src/mark-patient-deceased/mark-patient-deceased-form.test.tsx +2 -0
- package/src/patient-banner-tags/{visit-attribute-tags.component.tsx → visit-attribute-tags.extension.tsx} +6 -4
- package/src/patient-chart/patient-chart.component.tsx +39 -65
- package/src/patient-chart/patient-chart.resources.ts +108 -0
- package/src/visit/hooks/useDeleteVisit.test.tsx +39 -42
- package/src/visit/hooks/useDeleteVisit.tsx +33 -17
- package/src/visit/visit-form/visit-form.test.tsx +3 -9
- package/src/visit/visit-form/visit-form.workspace.tsx +17 -7
- package/src/visit/visit-prompt/delete-visit-dialog.component.tsx +10 -4
- package/src/visit/visit-prompt/delete-visit-dialog.test.tsx +20 -2
- package/src/visit/visit-prompt/end-visit-dialog.component.tsx +7 -1
- package/src/visit/visit-prompt/end-visit-dialog.test.tsx +19 -0
- package/src/visit/visits-widget/active-visit-buttons/active-visit-buttons.tsx +7 -6
- package/src/visit/visits-widget/{current-visit-summary.component.tsx → current-visit-summary.extension.tsx} +13 -20
- package/src/visit/visits-widget/current-visit-summary.test.tsx +45 -25
- package/src/visit/visits-widget/past-visits-components/encounters-table/encounters-table.component.tsx +4 -3
- package/src/visit/visits-widget/past-visits-components/encounters-table/encounters-table.resource.ts +0 -1
- package/src/visit/visits-widget/visit-context/retrospective-data-date-time-picker/retrospective-date-time-picker.component.tsx +6 -8
- package/src/visit/visits-widget/visit-context/{visit-context-header.component.tsx → visit-context-header.extension.tsx} +17 -15
- package/src/visit/visits-widget/visit-context/visit-context-header.test.tsx +35 -29
- package/src/visit/visits-widget/visit-context/visit-context-switcher.modal.tsx +13 -11
- package/src/visit/visits-widget/visit-context/visit-context-switcher.test.tsx +50 -30
- package/src/visit/visits-widget/visit.resource.tsx +1 -1
- package/translations/am.json +1 -3
- package/translations/ar.json +1 -3
- package/translations/ar_SY.json +1 -3
- package/translations/bn.json +1 -3
- package/translations/de.json +1 -3
- package/translations/en.json +1 -3
- package/translations/en_US.json +1 -3
- package/translations/es.json +1 -3
- package/translations/es_MX.json +1 -3
- package/translations/fr.json +1 -3
- package/translations/he.json +1 -3
- package/translations/hi.json +1 -3
- package/translations/hi_IN.json +1 -3
- package/translations/id.json +1 -3
- package/translations/it.json +1 -3
- package/translations/ka.json +1 -3
- package/translations/km.json +1 -3
- package/translations/ku.json +1 -3
- package/translations/ky.json +1 -3
- package/translations/lg.json +1 -3
- package/translations/ne.json +1 -3
- package/translations/pl.json +1 -3
- package/translations/pt.json +1 -3
- package/translations/pt_BR.json +1 -3
- package/translations/qu.json +1 -3
- package/translations/ro_RO.json +1 -3
- package/translations/ru_RU.json +1 -3
- package/translations/si.json +1 -3
- package/translations/sw.json +1 -3
- package/translations/sw_KE.json +1 -3
- package/translations/tr.json +1 -3
- package/translations/tr_TR.json +1 -3
- package/translations/uk.json +1 -3
- package/translations/uz.json +1 -3
- package/translations/uz@Latn.json +1 -3
- package/translations/uz_UZ.json +1 -3
- package/translations/vi.json +1 -3
- package/translations/zh.json +1 -3
- package/translations/zh_CN.json +1 -3
- package/dist/2442.js +0 -1
- package/dist/2442.js.map +0 -1
- package/dist/3042.js +0 -1
- package/dist/3042.js.map +0 -1
- package/dist/4713.js +0 -1
- package/dist/4713.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -8,20 +8,20 @@ assets by path [1m[32m*.js[39m[22m 4.8 MiB
|
|
|
8
8
|
asset [1m[33m7816.js[39m[22m [1m[33m643 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (id hint: vendors) 2 related assets
|
|
9
9
|
+ 13 assets
|
|
10
10
|
+ 71 assets
|
|
11
|
-
assets by path [1m[32m*.json[39m[22m
|
|
11
|
+
assets by path [1m[32m*.json[39m[22m 47 KiB
|
|
12
12
|
asset [1m[32mopenmrs-esm-patient-chart-app.js.buildmanifest.json[39m[22m 42.4 KiB [1m[32m[emitted][39m[22m
|
|
13
13
|
asset [1m[32mroutes.json[39m[22m 4.56 KiB [1m[32m[emitted][39m[22m [from: src/routes.json] [1m[32m[copied][39m[22m
|
|
14
|
-
orphan modules 9.
|
|
14
|
+
orphan modules 9.68 MiB [1m[33m[orphan][39m[22m 3182 modules
|
|
15
15
|
runtime modules 47.6 KiB 28 modules
|
|
16
16
|
built modules 11.2 MiB (javascript) 588 bytes (share-init) 588 bytes (consume-shared) [1m[33m[built][39m[22m
|
|
17
17
|
modules by path [1m../../node_modules/[39m[22m 9.6 MiB 559 modules
|
|
18
18
|
modules by path [1m./[39m[22m 1.33 MiB
|
|
19
19
|
javascript modules 1.02 MiB 54 modules
|
|
20
|
-
optional modules
|
|
20
|
+
optional modules 317 KiB [1m[33m[optional][39m[22m 39 modules
|
|
21
21
|
provide-module modules 588 bytes 14 modules
|
|
22
22
|
consume-shared-module modules 588 bytes 14 modules
|
|
23
|
-
modules by path [1m../esm-patient-common-lib/src/[39m[22m
|
|
24
|
-
[1m../esm-patient-common-lib/src/index.ts + 37 modules[39m[22m
|
|
23
|
+
modules by path [1m../esm-patient-common-lib/src/[39m[22m 228 KiB
|
|
24
|
+
[1m../esm-patient-common-lib/src/index.ts + 37 modules[39m[22m 100 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
25
25
|
../../node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]![1m../esm-patient-common-lib/src/cards/card-header.scss[39m[22m 31.4 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
26
26
|
+ 3 modules
|
|
27
27
|
[1mcontainer entry[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
@@ -29,15 +29,15 @@ built modules 11.2 MiB (javascript) 588 bytes (share-init) 588 bytes (consume-sh
|
|
|
29
29
|
[1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
30
30
|
This can impact web performance.
|
|
31
31
|
Assets:
|
|
32
|
-
main.js (
|
|
32
|
+
main.js (350 KiB)
|
|
33
33
|
7816.js (643 KiB)
|
|
34
|
-
|
|
34
|
+
9329.js (338 KiB)
|
|
35
35
|
1815.js (1.94 MiB)[39m[22m
|
|
36
36
|
|
|
37
37
|
[1m[33mWARNING[39m[22m in [1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
38
38
|
Entrypoints:
|
|
39
|
-
main (
|
|
39
|
+
main (350 KiB)
|
|
40
40
|
main.js
|
|
41
41
|
[39m[22m
|
|
42
42
|
|
|
43
|
-
webpack 5.99.9 compiled with [1m[33m2 warnings[39m[22m in
|
|
43
|
+
webpack 5.99.9 compiled with [1m[33m2 warnings[39m[22m in 166143 ms
|
package/dist/1119.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[1119],{41119:e=>{e.exports=JSON.parse('{"actions":"Actions","addingToVisit":"Adding to:","additionalVisitInformationUpdatedSuccessfully":"Additional visit information updated successfully","addVisit":"Add visit","all":"All","allEncounters":"All encounters","AM":"AM","cancel":"Cancel","causeOfDeath":"Cause of death","causeOfDeath_lower":"cause of death concepts configured in the system","causeOfDeathIsRequired":"Please select the cause of death","change":"Change","checkFilters":"Check the filters above","confirm":"Confirm","confirmDeleteVisitText":"Deleting this {{visit}} will delete its associated encounters.","confirmModifyingVisitDateToAccomodateEncounter":"The encounter date falls outside the designated visit date range. Would you like to modify the visit date to accommodate the new encounter date?","continue":"Continue","createNewVisit":"Create new visit...","currentActiveVisit":"Current active visit","currentVisit":"Current visit","date":"Date","dateAndTime":"Date & time","dateOfDeath":"Date of death","deathDateRequired":"Please select the date of death","delete":"Delete","deleteActiveVisit":"Delete active visit","deleteEncounter":"Delete encounter","deleteEncounterConfirmationText":"Are you sure you want to delete this encounter? This action can\'t be undone.","deleteThisEncounter":"Delete this encounter","deleteVisit":"Delete visit","deleteVisitDialogHeader":"Are you sure you want to delete this visit?","deletingVisit":"Deleting visit","diagnoses":"Diagnoses","discard":"Discard","discontinued":"Discontinued","dose":"Dose","dosingInstructions":"Dosing Instructions","editEncounter":"Edit","editThisEncounter":"Edit this encounter","editVisitDetails":"Edit visit details","emptyStateText":"There are no {{displayText}} to display for this patient","enable":"Enable","encounter":"Encounter","encounterDeleted":"Encounter deleted","encounters_title":"Encounters","encountersForThisVisit":"encounters for this visit","encounterSuccessfullyDeleted":"The encounter has been deleted successfully","encounterTableActionsMenu":"Encounter table actions menu","encounterType":"Encounter type","encounterWithError":"The encounter could not be deleted successfully. If the error persists, please contact your system administrator.","endActiveVisit":"End active visit","endActiveVisitConfirmation":"Are you sure you want to end this active visit?","endDate":"End date","endDate_title":"End date","endDateTimeRequired":"End date and time are required","ended":"Ended","endTime":"End time","endTimeFormat":"End time format","endTimeMustBeAfterMostRecentEncounter":"End time must be on or after {{lastEncounterDatetime}}","endTimeMustBeAfterStartTime":"End time must be after start time","endVisit_title":"End Visit","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorCreatingVisitAttribute":"Could not delete {{attributeName}} attribute","errorDeletingVisit":"Error deleting visit","errorDeletingVisitAttribute":"Could not delete {{attributeName}} attribute","errorEndingVisit":"Error ending visit","errorMarkingPatientAlive":"Error marking patient alive","errorMarkingPatientDeceased":"Error marking patient deceased","errorOccurredDeletingVisit":"An error occurred when deleting visit","errorStartingVisit":"Error starting visit","errorStartingVisitDescription":"An error occurred while starting the visit","errorUpdatingVisitAttribute":"Could not update {{attributeName}} attribute","errorUpdatingVisitDetails":"Error updating visit details","errorWhenRestoringVisit":"Error occurred when restoring {{visit}}","
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[1119],{41119:e=>{e.exports=JSON.parse('{"actions":"Actions","activeVisits__lower":"active visits","addingToVisit":"Adding to:","additionalVisitInformationUpdatedSuccessfully":"Additional visit information updated successfully","addVisit":"Add visit","all":"All","allEncounters":"All encounters","AM":"AM","cancel":"Cancel","causeOfDeath":"Cause of death","causeOfDeath_lower":"cause of death concepts configured in the system","causeOfDeathIsRequired":"Please select the cause of death","change":"Change","checkFilters":"Check the filters above","confirm":"Confirm","confirmDeleteVisitText":"Deleting this {{visit}} will delete its associated encounters.","confirmModifyingVisitDateToAccomodateEncounter":"The encounter date falls outside the designated visit date range. Would you like to modify the visit date to accommodate the new encounter date?","continue":"Continue","createNewVisit":"Create new visit...","currentActiveVisit":"Current active visit","currentVisit":"Current visit","date":"Date","dateAndTime":"Date & time","dateOfDeath":"Date of death","deathDateRequired":"Please select the date of death","delete":"Delete","deleteActiveVisit":"Delete active visit","deleteEncounter":"Delete encounter","deleteEncounterConfirmationText":"Are you sure you want to delete this encounter? This action can\'t be undone.","deleteThisEncounter":"Delete this encounter","deleteVisit":"Delete visit","deleteVisitDialogHeader":"Are you sure you want to delete this visit?","deletingVisit":"Deleting visit","diagnoses":"Diagnoses","discard":"Discard","discontinued":"Discontinued","dose":"Dose","dosingInstructions":"Dosing Instructions","editEncounter":"Edit","editThisEncounter":"Edit this encounter","editVisitDetails":"Edit visit details","emptyStateText":"There are no {{displayText}} to display for this patient","enable":"Enable","encounter":"Encounter","encounterDeleted":"Encounter deleted","encounters_title":"Encounters","encountersForThisVisit":"encounters for this visit","encounterSuccessfullyDeleted":"The encounter has been deleted successfully","encounterTableActionsMenu":"Encounter table actions menu","encounterType":"Encounter type","encounterWithError":"The encounter could not be deleted successfully. If the error persists, please contact your system administrator.","endActiveVisit":"End active visit","endActiveVisitConfirmation":"Are you sure you want to end this active visit?","endDate":"End date","endDate_title":"End date","endDateTimeRequired":"End date and time are required","ended":"Ended","endTime":"End time","endTimeFormat":"End time format","endTimeMustBeAfterMostRecentEncounter":"End time must be on or after {{lastEncounterDatetime}}","endTimeMustBeAfterStartTime":"End time must be after start time","endVisit_title":"End Visit","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorCreatingVisitAttribute":"Could not delete {{attributeName}} attribute","errorDeletingVisit":"Error deleting visit","errorDeletingVisitAttribute":"Could not delete {{attributeName}} attribute","errorEndingVisit":"Error ending visit","errorMarkingPatientAlive":"Error marking patient alive","errorMarkingPatientDeceased":"Error marking patient deceased","errorOccurredDeletingVisit":"An error occurred when deleting visit","errorStartingVisit":"Error starting visit","errorStartingVisitDescription":"An error occurred while starting the visit","errorUpdatingVisitAttribute":"Could not update {{attributeName}} attribute","errorUpdatingVisitDetails":"Error updating visit details","errorWhenRestoringVisit":"Error occurred when restoring {{visit}}","fieldRequired":"This field is required","filterByEncounterType":"Filter by encounter type","form":"Form name","fromDateToDate":"{{fromDate}} - {{toDate}}","futureEndTime":"End time cannot be in the future","futureStartTime":"Start time cannot be in the future","indication":"Indication","inThePast":"In the past","loading":"Loading","markAliveSuccessfully":"Patient marked alive successfully","markDeceasedWarning":"Marking the patient as deceased will end any active visits for this patient","markPatientAlive":"Mark patient alive","markPatientAliveConfirmation":"Are you sure you want to mark this patient alive?","markPatientDeceased":"Mark patient deceased","medications":"Medications","medications__lower":"medications","missingVisitType":"Missing visit type","modifyVisitDate":"Modify visit date","new":"New","nextPage":"Next page","no":"No","noActiveVisit":"No Active Visit","noActiveVisitNoRDEText":"You can\'t add data to the patient chart without an active visit. Would you like to start a new visit?","noDiagnosesFound":"No diagnoses found","noEncountersToDisplay":"No encounters to display","noMatchingCodedCausesOfDeath":"No matching coded causes of death","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Please enter the non-coded cause of death","noObservationsFound":"No observations found","noProvider":"No provider","notes":"Notes","notes__lower":"notes","noVisitsToDisplay":"No visits to display","noVisitTypesToDisplay":"No visit types to display","offlineVisit":"Offline Visit","On scheduled date":"On scheduled date","ongoing":"Ongoing","optional":"optional","orderDurationAndUnit":"for {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Indefinite duration","paginationItemsCount_one":"{{pageItemsCount}} / {{count}} item","paginationItemsCount_other":"{{pageItemsCount}} / {{count}} items","paginationPageText_one":"of {{count}} page","paginationPageText_other":"of {{count}} pages","partOfFormDidntLoad":"Part of the form did not load","pastVisits":"Past visits","Patient Summary":"Patient summary","PM":"PM","previousPage":"Previous page","program":"Program","provider":"Provider","quantity":"Quantity","recommended":"Recommended","record":"Record","refills":"Refills","refreshToTryAgain":"Please refresh to try again","required":"Required","Routine":"Routine","saveAndClose":"Save and close","saving":"Saving","searchForAVisitType":"Search for a visit type","searchForCauseOfDeath":"Search for a cause of death","seeAll":"See all","selectAnOption":"Select an option","selectAVisit":"Select a visit","selectLocation":"Select a location","selectProgramType":"Select program type","selectVisitType":"Please select a visit type","showVisitWithStartDateOnOrPriorTo":"Show visit with start date on or prior to:","startDate":"Start date","startingVisit":"Starting visit","startNewVisit":"Start new visit","startTime":"Start time","startTimeFormat":"Start time format","startVisit":"Start visit","startVisitError":"Error starting visit","startVisitWorkspaceTitle":"Start a visit","Stat":"Stat","tests":"Tests","theVisitIs":"The visit is","time":"Time","timeCompleted":"Time completed","timeFormat ":"Time Format","timeline":"Timeline","timeStarted":"Time started","undo":"Undo","unknownError":"Unknown error","updateVisit":"Update visit","updatingVisit":"Updating visit","viewEncounter":"View","visitAttributes":"Visit attributes","visitDeleted":"{{visit}} deleted","visitDeletedSuccessfully":"{{visit}} deleted successfully","visitDetailsUpdated":"Visit details updated","visitDetailsUpdatedSuccessfully":"{{visit}} updated successfully","visitEnded":"Visit ended","visitEndSuccessfully":"Ended current visit successfully","visitLocation":"Visit location","visitLocationRequired":"Visit location is required","visitNotRestored":"Visit couldn\'t be restored","visitRestored":"Visit restored","visitRestoredSuccessfully":"{{visit}} restored successfully","visits":"visits","Visits":"Visits","visitStartAndEndDate":"Visit start and end date","visitStartDate":"Visit start date","visitStartDateMustBeBeforeEarliestEncounter":"Start time must be on or before {{firstEncounterDatetime}}","visitStartDateTimeRequired":"Start date and time are required","visitStarted":"Visit started","visitStartedSuccessfully":"{{visit}} started successfully","visitType":"Visit type","visitType_title":"Visit Type","visitTypeRequired":"Visit type is required","warning":"Warning","yes":"Yes","youCanAddAdditionalEncounters":"You can add additional encounters to this visit in the visit summary."}')}}]);
|
package/dist/1197.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[1197],{81197:e=>{e.exports=JSON.parse('{"actions":"Actions","addingToVisit":"Adding to:","additionalVisitInformationUpdatedSuccessfully":"Additional visit information updated successfully","addVisit":"Add visit","all":"All","allEncounters":"All encounters","AM":"AM","cancel":"Cancel","causeOfDeath":"Cause of death","causeOfDeath_lower":"cause of death concepts configured in the system","causeOfDeathIsRequired":"Please select the cause of death","change":"Change","checkFilters":"Check the filters above","confirm":"Confirm","confirmDeleteVisitText":"Deleting this {{visit}} will delete its associated encounters.","confirmModifyingVisitDateToAccomodateEncounter":"The encounter date falls outside the designated visit date range. Would you like to modify the visit date to accommodate the new encounter date?","continue":"Continue","createNewVisit":"Create new visit...","currentActiveVisit":"Current active visit","currentVisit":"Current visit","date":"Date","dateAndTime":"Date & time","dateOfDeath":"Date of death","deathDateRequired":"Please select the date of death","delete":"Delete","deleteActiveVisit":"Delete active visit","deleteEncounter":"Delete encounter","deleteEncounterConfirmationText":"Are you sure you want to delete this encounter? This action can\'t be undone.","deleteThisEncounter":"Delete this encounter","deleteVisit":"Delete visit","deleteVisitDialogHeader":"Are you sure you want to delete this visit?","deletingVisit":"Deleting visit","diagnoses":"Diagnoses","discard":"Discard","discontinued":"Discontinued","dose":"Dose","dosingInstructions":"Dosing Instructions","editEncounter":"Edit","editThisEncounter":"Edit this encounter","editVisitDetails":"Edit visit details","emptyStateText":"There are no {{displayText}} to display for this patient","enable":"Enable","encounter":"Encounter","encounterDeleted":"Encounter deleted","encounters_title":"Encounters","encountersForThisVisit":"encounters for this visit","encounterSuccessfullyDeleted":"The encounter has been deleted successfully","encounterTableActionsMenu":"Encounter table actions menu","encounterType":"Encounter type","encounterWithError":"The encounter could not be deleted successfully. If the error persists, please contact your system administrator.","endActiveVisit":"End active visit","endActiveVisitConfirmation":"Are you sure you want to end this active visit?","endDate":"End date","endDate_title":"End date","endDateTimeRequired":"End date and time are required","ended":"Ended","endTime":"End time","endTimeFormat":"End time format","endTimeMustBeAfterMostRecentEncounter":"End time must be on or after {{lastEncounterDatetime}}","endTimeMustBeAfterStartTime":"End time must be after start time","endVisit_title":"End Visit","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorCreatingVisitAttribute":"Could not delete {{attributeName}} attribute","errorDeletingVisit":"Error deleting visit","errorDeletingVisitAttribute":"Could not delete {{attributeName}} attribute","errorEndingVisit":"Error ending visit","errorMarkingPatientAlive":"Error marking patient alive","errorMarkingPatientDeceased":"Error marking patient deceased","errorOccurredDeletingVisit":"An error occurred when deleting visit","errorStartingVisit":"Error starting visit","errorStartingVisitDescription":"An error occurred while starting the visit","errorUpdatingVisitAttribute":"Could not update {{attributeName}} attribute","errorUpdatingVisitDetails":"Error updating visit details","errorWhenRestoringVisit":"Error occurred when restoring {{visit}}","
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[1197],{81197:e=>{e.exports=JSON.parse('{"actions":"Actions","activeVisits__lower":"active visits","addingToVisit":"Adding to:","additionalVisitInformationUpdatedSuccessfully":"Additional visit information updated successfully","addVisit":"Add visit","all":"All","allEncounters":"All encounters","AM":"AM","cancel":"Cancel","causeOfDeath":"Cause of death","causeOfDeath_lower":"cause of death concepts configured in the system","causeOfDeathIsRequired":"Please select the cause of death","change":"Change","checkFilters":"Check the filters above","confirm":"Confirm","confirmDeleteVisitText":"Deleting this {{visit}} will delete its associated encounters.","confirmModifyingVisitDateToAccomodateEncounter":"The encounter date falls outside the designated visit date range. Would you like to modify the visit date to accommodate the new encounter date?","continue":"Continue","createNewVisit":"Create new visit...","currentActiveVisit":"Current active visit","currentVisit":"Current visit","date":"Date","dateAndTime":"Date & time","dateOfDeath":"Date of death","deathDateRequired":"Please select the date of death","delete":"Delete","deleteActiveVisit":"Delete active visit","deleteEncounter":"Delete encounter","deleteEncounterConfirmationText":"Are you sure you want to delete this encounter? This action can\'t be undone.","deleteThisEncounter":"Delete this encounter","deleteVisit":"Delete visit","deleteVisitDialogHeader":"Are you sure you want to delete this visit?","deletingVisit":"Deleting visit","diagnoses":"Diagnoses","discard":"Discard","discontinued":"Discontinued","dose":"Dose","dosingInstructions":"Dosing Instructions","editEncounter":"Edit","editThisEncounter":"Edit this encounter","editVisitDetails":"Edit visit details","emptyStateText":"There are no {{displayText}} to display for this patient","enable":"Enable","encounter":"Encounter","encounterDeleted":"Encounter deleted","encounters_title":"Encounters","encountersForThisVisit":"encounters for this visit","encounterSuccessfullyDeleted":"The encounter has been deleted successfully","encounterTableActionsMenu":"Encounter table actions menu","encounterType":"Encounter type","encounterWithError":"The encounter could not be deleted successfully. If the error persists, please contact your system administrator.","endActiveVisit":"End active visit","endActiveVisitConfirmation":"Are you sure you want to end this active visit?","endDate":"End date","endDate_title":"End date","endDateTimeRequired":"End date and time are required","ended":"Ended","endTime":"End time","endTimeFormat":"End time format","endTimeMustBeAfterMostRecentEncounter":"End time must be on or after {{lastEncounterDatetime}}","endTimeMustBeAfterStartTime":"End time must be after start time","endVisit_title":"End Visit","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorCreatingVisitAttribute":"Could not delete {{attributeName}} attribute","errorDeletingVisit":"Error deleting visit","errorDeletingVisitAttribute":"Could not delete {{attributeName}} attribute","errorEndingVisit":"Error ending visit","errorMarkingPatientAlive":"Error marking patient alive","errorMarkingPatientDeceased":"Error marking patient deceased","errorOccurredDeletingVisit":"An error occurred when deleting visit","errorStartingVisit":"Error starting visit","errorStartingVisitDescription":"An error occurred while starting the visit","errorUpdatingVisitAttribute":"Could not update {{attributeName}} attribute","errorUpdatingVisitDetails":"Error updating visit details","errorWhenRestoringVisit":"Error occurred when restoring {{visit}}","fieldRequired":"This field is required","filterByEncounterType":"Filter by encounter type","form":"Form name","fromDateToDate":"{{fromDate}} - {{toDate}}","futureEndTime":"End time cannot be in the future","futureStartTime":"Start time cannot be in the future","indication":"Indication","inThePast":"In the past","loading":"Loading","markAliveSuccessfully":"Patient marked alive successfully","markDeceasedWarning":"Marking the patient as deceased will end any active visits for this patient","markPatientAlive":"Mark patient alive","markPatientAliveConfirmation":"Are you sure you want to mark this patient alive?","markPatientDeceased":"Mark patient deceased","medications":"Medications","medications__lower":"medications","missingVisitType":"Missing visit type","modifyVisitDate":"Modify visit date","new":"New","nextPage":"Next page","no":"No","noActiveVisit":"No active visit","noActiveVisitNoRDEText":"You can\'t add data to the patient chart without an active visit. Would you like to start a new visit?","noDiagnosesFound":"No diagnoses found","noEncountersToDisplay":"No encounters to display","noMatchingCodedCausesOfDeath":"No matching coded causes of death","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Please enter the non-coded cause of death","noObservationsFound":"No observations found","noProvider":"No provider","notes":"Notes","notes__lower":"notes","noVisitsToDisplay":"No visits to display","noVisitTypesToDisplay":"No visit types to display","offlineVisit":"Offline Visit","On scheduled date":"On scheduled date","ongoing":"Ongoing","optional":"optional","orderDurationAndUnit":"for {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Indefinite duration","paginationItemsCount_one":"{{pageItemsCount}} / {{count}} item","paginationItemsCount_other":"{{pageItemsCount}} / {{count}} items","paginationPageText_one":"of {{count}} page","paginationPageText_other":"of {{count}} pages","partOfFormDidntLoad":"Part of the form did not load","pastVisits":"Past visits","Patient Summary":"Patient summary","PM":"PM","previousPage":"Previous page","program":"Program","provider":"Provider","quantity":"Quantity","recommended":"Recommended","record":"Record","refills":"Refills","refreshToTryAgain":"Please refresh to try again","required":"Required","Routine":"Routine","saveAndClose":"Save and close","saving":"Saving","searchForAVisitType":"Search for a visit type","searchForCauseOfDeath":"Search for a cause of death","seeAll":"See all","selectAnOption":"Select an option","selectAVisit":"Select a visit","selectLocation":"Select a location","selectProgramType":"Select program type","selectVisitType":"Please select a visit type","showVisitWithStartDateOnOrPriorTo":"Show visit with start date on or prior to:","startDate":"Start date","startingVisit":"Starting visit","startNewVisit":"Start new visit","startTime":"Start time","startTimeFormat":"Start time format","startVisit":"Start visit","startVisitError":"Error starting visit","startVisitWorkspaceTitle":"Start a visit","Stat":"Stat","tests":"Tests","theVisitIs":"The visit is","time":"Time","timeCompleted":"Time completed","timeFormat ":"Time Format","timeline":"Timeline","timeStarted":"Time started","undo":"Undo","unknownError":"Unknown error","updateVisit":"Update visit","updatingVisit":"Updating visit","viewEncounter":"View","visitAttributes":"Visit attributes","visitDeleted":"{{visit}} deleted","visitDeletedSuccessfully":"{{visit}} deleted successfully","visitDetailsUpdated":"Visit details updated","visitDetailsUpdatedSuccessfully":"{{visit}} updated successfully","visitEnded":"Visit ended","visitEndSuccessfully":"visitEndSuccessfully","visitLocation":"Visit location","visitLocationRequired":"Visit location is required","visitNotRestored":"Visit couldn\'t be restored","visitRestored":"Visit restored","visitRestoredSuccessfully":"{{visit}} restored successfully","visits":"visits","Visits":"Visits","visitStartAndEndDate":"Visit start and end date","visitStartDate":"Visit start date","visitStartDateMustBeBeforeEarliestEncounter":"Start time must be on or before {{firstEncounterDatetime}}","visitStartDateTimeRequired":"Start date and time are required","visitStarted":"Visit started","visitStartedSuccessfully":"{{visit}} started successfully","visitType":"Visit type","visitType_title":"Visit Type","visitTypeRequired":"Visit type is required","warning":"Warning","yes":"Yes","youCanAddAdditionalEncounters":"You can add additional encounters to this visit in the visit summary."}')}}]);
|
package/dist/2146.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[2146],{12146:e=>{e.exports=JSON.parse('{"actions":"Actions","addingToVisit":"Adding to:","additionalVisitInformationUpdatedSuccessfully":"Additional visit information updated successfully","addVisit":"Add visit","all":"All","allEncounters":"All encounters","AM":"AM","cancel":"Cancel","causeOfDeath":"Cause of death","causeOfDeath_lower":"cause of death concepts configured in the system","causeOfDeathIsRequired":"Please select the cause of death","change":"Change","checkFilters":"Check the filters above","confirm":"Confirm","confirmDeleteVisitText":"Deleting this {{visit}} will delete its associated encounters.","confirmModifyingVisitDateToAccomodateEncounter":"The encounter date falls outside the designated visit date range. Would you like to modify the visit date to accommodate the new encounter date?","continue":"Continue","createNewVisit":"Create new visit...","currentActiveVisit":"Current active visit","currentVisit":"Current visit","date":"Date","dateAndTime":"Date & time","dateOfDeath":"Date of death","deathDateRequired":"Please select the date of death","delete":"Delete","deleteActiveVisit":"Delete active visit","deleteEncounter":"Delete encounter","deleteEncounterConfirmationText":"Are you sure you want to delete this encounter? This action can\'t be undone.","deleteThisEncounter":"Delete this encounter","deleteVisit":"Delete visit","deleteVisitDialogHeader":"Are you sure you want to delete this visit?","deletingVisit":"Deleting visit","diagnoses":"Diagnoses","discard":"Discard","discontinued":"Discontinued","dose":"Dose","dosingInstructions":"Dosing Instructions","editEncounter":"Edit","editThisEncounter":"Edit this encounter","editVisitDetails":"Edit visit details","emptyStateText":"There are no {{displayText}} to display for this patient","enable":"Enable","encounter":"Encounter","encounterDeleted":"Encounter deleted","encounters_title":"Encounters","encountersForThisVisit":"encounters for this visit","encounterSuccessfullyDeleted":"The encounter has been deleted successfully","encounterTableActionsMenu":"Encounter table actions menu","encounterType":"Encounter type","encounterWithError":"The encounter could not be deleted successfully. If the error persists, please contact your system administrator.","endActiveVisit":"End active visit","endActiveVisitConfirmation":"Are you sure you want to end this active visit?","endDate":"End date","endDate_title":"End date","endDateTimeRequired":"End date and time are required","ended":"Ended","endTime":"End time","endTimeFormat":"End time format","endTimeMustBeAfterMostRecentEncounter":"End time must be on or after {{lastEncounterDatetime}}","endTimeMustBeAfterStartTime":"End time must be after start time","endVisit_title":"End Visit","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorCreatingVisitAttribute":"Could not delete {{attributeName}} attribute","errorDeletingVisit":"Error deleting visit","errorDeletingVisitAttribute":"Could not delete {{attributeName}} attribute","errorEndingVisit":"Error ending visit","errorMarkingPatientAlive":"Error marking patient alive","errorMarkingPatientDeceased":"Error marking patient deceased","errorOccurredDeletingVisit":"An error occurred when deleting visit","errorStartingVisit":"Error starting visit","errorStartingVisitDescription":"An error occurred while starting the visit","errorUpdatingVisitAttribute":"Could not update {{attributeName}} attribute","errorUpdatingVisitDetails":"Error updating visit details","errorWhenRestoringVisit":"Error occurred when restoring {{visit}}","
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[2146],{12146:e=>{e.exports=JSON.parse('{"actions":"Actions","activeVisits__lower":"active visits","addingToVisit":"Adding to:","additionalVisitInformationUpdatedSuccessfully":"Additional visit information updated successfully","addVisit":"Add visit","all":"All","allEncounters":"All encounters","AM":"AM","cancel":"Cancel","causeOfDeath":"Cause of death","causeOfDeath_lower":"cause of death concepts configured in the system","causeOfDeathIsRequired":"Please select the cause of death","change":"Change","checkFilters":"Check the filters above","confirm":"Confirm","confirmDeleteVisitText":"Deleting this {{visit}} will delete its associated encounters.","confirmModifyingVisitDateToAccomodateEncounter":"The encounter date falls outside the designated visit date range. Would you like to modify the visit date to accommodate the new encounter date?","continue":"Continue","createNewVisit":"Create new visit...","currentActiveVisit":"Current active visit","currentVisit":"Current visit","date":"Date","dateAndTime":"Date & time","dateOfDeath":"Date of death","deathDateRequired":"Please select the date of death","delete":"Delete","deleteActiveVisit":"Delete active visit","deleteEncounter":"Delete encounter","deleteEncounterConfirmationText":"Are you sure you want to delete this encounter? This action can\'t be undone.","deleteThisEncounter":"Delete this encounter","deleteVisit":"Delete visit","deleteVisitDialogHeader":"Are you sure you want to delete this visit?","deletingVisit":"Deleting visit","diagnoses":"Diagnoses","discard":"Discard","discontinued":"Discontinued","dose":"Dose","dosingInstructions":"Dosing Instructions","editEncounter":"Edit","editThisEncounter":"Edit this encounter","editVisitDetails":"Edit visit details","emptyStateText":"There are no {{displayText}} to display for this patient","enable":"Enable","encounter":"Encounter","encounterDeleted":"Encounter deleted","encounters_title":"Encounters","encountersForThisVisit":"encounters for this visit","encounterSuccessfullyDeleted":"The encounter has been deleted successfully","encounterTableActionsMenu":"Encounter table actions menu","encounterType":"Encounter type","encounterWithError":"The encounter could not be deleted successfully. If the error persists, please contact your system administrator.","endActiveVisit":"End active visit","endActiveVisitConfirmation":"Are you sure you want to end this active visit?","endDate":"End date","endDate_title":"End date","endDateTimeRequired":"End date and time are required","ended":"Ended","endTime":"End time","endTimeFormat":"End time format","endTimeMustBeAfterMostRecentEncounter":"End time must be on or after {{lastEncounterDatetime}}","endTimeMustBeAfterStartTime":"End time must be after start time","endVisit_title":"End Visit","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorCreatingVisitAttribute":"Could not delete {{attributeName}} attribute","errorDeletingVisit":"Error deleting visit","errorDeletingVisitAttribute":"Could not delete {{attributeName}} attribute","errorEndingVisit":"Error ending visit","errorMarkingPatientAlive":"Error marking patient alive","errorMarkingPatientDeceased":"Error marking patient deceased","errorOccurredDeletingVisit":"An error occurred when deleting visit","errorStartingVisit":"Error starting visit","errorStartingVisitDescription":"An error occurred while starting the visit","errorUpdatingVisitAttribute":"Could not update {{attributeName}} attribute","errorUpdatingVisitDetails":"Error updating visit details","errorWhenRestoringVisit":"Error occurred when restoring {{visit}}","fieldRequired":"This field is required","filterByEncounterType":"Filter by encounter type","form":"Form name","fromDateToDate":"{{fromDate}} - {{toDate}}","futureEndTime":"End time cannot be in the future","futureStartTime":"Start time cannot be in the future","indication":"Indication","inThePast":"In the past","loading":"Loading","markAliveSuccessfully":"Patient marked alive successfully","markDeceasedWarning":"Marking the patient as deceased will end any active visits for this patient","markPatientAlive":"Mark patient alive","markPatientAliveConfirmation":"Are you sure you want to mark this patient alive?","markPatientDeceased":"Mark patient deceased","medications":"Medications","medications__lower":"medications","missingVisitType":"Missing visit type","modifyVisitDate":"Modify visit date","new":"New","nextPage":"Next page","no":"No","noActiveVisit":"No Active Visit","noActiveVisitNoRDEText":"You can\'t add data to the patient chart without an active visit. Would you like to start a new visit?","noDiagnosesFound":"No diagnoses found","noEncountersToDisplay":"No encounters to display","noMatchingCodedCausesOfDeath":"No matching coded causes of death","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Please enter the non-coded cause of death","noObservationsFound":"No observations found","noProvider":"No provider","notes":"Notes","notes__lower":"notes","noVisitsToDisplay":"No visits to display","noVisitTypesToDisplay":"No visit types to display","offlineVisit":"Offline Visit","On scheduled date":"On scheduled date","ongoing":"Ongoing","optional":"optional","orderDurationAndUnit":"for {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Indefinite duration","paginationItemsCount_one":"{{pageItemsCount}} / {{count}} item","paginationItemsCount_other":"{{pageItemsCount}} / {{count}} items","paginationPageText_one":"of {{count}} page","paginationPageText_other":"of {{count}} pages","partOfFormDidntLoad":"Part of the form did not load","pastVisits":"Past visits","Patient Summary":"Patient summary","PM":"PM","previousPage":"Previous page","program":"Program","provider":"Provider","quantity":"Quantity","recommended":"Recommended","record":"Record","refills":"Refills","refreshToTryAgain":"Please refresh to try again","required":"Required","Routine":"Routine","saveAndClose":"Save and close","saving":"Saving","searchForAVisitType":"Search for a visit type","searchForCauseOfDeath":"Search for a cause of death","seeAll":"See all","selectAnOption":"Select an option","selectAVisit":"Select a visit","selectLocation":"Select a location","selectProgramType":"Select program type","selectVisitType":"Please select a visit type","showVisitWithStartDateOnOrPriorTo":"Show visit with start date on or prior to:","startDate":"Start date","startingVisit":"Starting visit","startNewVisit":"Start new visit","startTime":"Start time","startTimeFormat":"Start time format","startVisit":"Start visit","startVisitError":"Error starting visit","startVisitWorkspaceTitle":"Start a visit","Stat":"Stat","tests":"Tests","theVisitIs":"The visit is","time":"Time","timeCompleted":"Time completed","timeFormat ":"Time Format","timeline":"Timeline","timeStarted":"Time started","undo":"Undo","unknownError":"Unknown error","updateVisit":"Update visit","updatingVisit":"Updating visit","viewEncounter":"View","visitAttributes":"Visit attributes","visitDeleted":"{{visit}} deleted","visitDeletedSuccessfully":"{{visit}} deleted successfully","visitDetailsUpdated":"Visit details updated","visitDetailsUpdatedSuccessfully":"{{visit}} updated successfully","visitEnded":"Visit ended","visitEndSuccessfully":"Ended current visit successfully","visitLocation":"Visit location","visitLocationRequired":"Visit location is required","visitNotRestored":"Visit couldn\'t be restored","visitRestored":"Visit restored","visitRestoredSuccessfully":"{{visit}} restored successfully","visits":"visits","Visits":"Visits","visitStartAndEndDate":"Visit start and end date","visitStartDate":"Visit start date","visitStartDateMustBeBeforeEarliestEncounter":"Start time must be on or before {{firstEncounterDatetime}}","visitStartDateTimeRequired":"Start date and time are required","visitStarted":"Visit started","visitStartedSuccessfully":"{{visit}} started successfully","visitType":"Visit type","visitType_title":"Visit Type","visitTypeRequired":"Visit type is required","warning":"Warning","yes":"Yes","youCanAddAdditionalEncounters":"You can add additional encounters to this visit in the visit summary."}')}}]);
|
package/dist/2690.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[2690],{72690:a=>{a.exports=JSON.parse('{"actions":"Tindakan","addingToVisit":"Menambahkan ke:","additionalVisitInformationUpdatedSuccessfully":"Informasi kunjungan tambahan berhasil diperbarui","addVisit":"Tambahkan kunjungan","all":"Semua","allEncounters":"Semua pertemuan","AM":"AM","cancel":"Batal","causeOfDeath":"Penyebab kematian","causeOfDeath_lower":"konsep penyebab kematian yang dikonfigurasi dalam sistem","causeOfDeathIsRequired":"Silakan pilih penyebab kematian","change":"Ubah","checkFilters":"Periksa filter di atas","confirm":"Konfirmasi","confirmDeleteVisitText":"Menghapus {{visit}} ini akan menghapus pertemuan yang terkait.","confirmModifyingVisitDateToAccomodateEncounter":"Tanggal pertemuan berada di luar rentang tanggal kunjungan yang ditentukan. Apakah Anda ingin mengubah tanggal kunjungan untuk menampung tanggal pertemuan baru?","continue":"Lanjutkan","createNewVisit":"Buat kunjungan baru...","currentActiveVisit":"Kunjungan aktif saat ini","currentVisit":"Kunjungan saat ini","date":"Tanggal","dateAndTime":"Tanggal & waktu","dateOfDeath":"Tanggal kematian","deathDateRequired":"Silakan pilih tanggal kematian","delete":"Hapus","deleteActiveVisit":"Hapus kunjungan aktif","deleteEncounter":"Hapus pertemuan","deleteEncounterConfirmationText":"Apakah Anda yakin ingin menghapus pertemuan ini? Tindakan ini tidak dapat dibatalkan.","deleteThisEncounter":"Hapus pertemuan ini","deleteVisit":"Hapus kunjungan","deleteVisitDialogHeader":"Apakah Anda yakin ingin menghapus kunjungan ini?","deletingVisit":"Menghapus kunjungan","diagnoses":"Diagnosis","discard":"Buang","discontinued":"Discontinued","dose":"Dosis","dosingInstructions":"Dosing Instructions","editEncounter":"Edit","editThisEncounter":"Edit pertemuan ini","editVisitDetails":"Edit detail kunjungan","emptyStateText":"Tidak ada {{displayText}} untuk ditampilkan untuk pasien ini","enable":"Enable","encounter":"Encounter","encounterDeleted":"Pertemuan dihapus","encounters_title":"Pertemuan","encountersForThisVisit":"encounters for this visit","encounterSuccessfullyDeleted":"Pertemuan telah berhasil dihapus","encounterTableActionsMenu":"Menu tindakan tabel pertemuan","encounterType":"Jenis pertemuan","encounterWithError":"Pertemuan tidak dapat dihapus dengan sukses. Jika kesalahan berlanjut, silakan hubungi administrator sistem Anda.","endActiveVisit":"Akhiri kunjungan aktif","endActiveVisitConfirmation":"Apakah Anda yakin ingin mengakhiri kunjungan aktif ini?","endDate":"Tanggal berakhir","endDate_title":"Tanggal berakhir","endDateTimeRequired":"End date and time are required","ended":"Berakhir","endTime":"Waktu berakhir","endTimeFormat":"Format waktu berakhir","endTimeMustBeAfterMostRecentEncounter":"End time must be on or after {{lastEncounterDatetime}}","endTimeMustBeAfterStartTime":"End time must be after start time","endVisit_title":"Akhiri Kunjungan","enterNonCodedCauseOfDeath":"Masukkan penyebab kematian non-kode","error":"Kesalahan","errorCopy":"Maaf, ada masalah menampilkan informasi ini. Anda dapat mencoba memuat ulang halaman ini, atau menghubungi administrator situs dan menyebutkan kode kesalahan di atas.","errorCreatingVisitAttribute":"Tidak dapat menghapus atribut {{attributeName}}","errorDeletingVisit":"Kesalahan menghapus kunjungan","errorDeletingVisitAttribute":"Tidak dapat menghapus atribut {{attributeName}}","errorEndingVisit":"Kesalahan mengakhiri kunjungan","errorMarkingPatientAlive":"Kesalahan menandai pasien hidup","errorMarkingPatientDeceased":"Kesalahan menandai pasien meninggal","errorOccurredDeletingVisit":"Terjadi kesalahan saat menghapus kunjungan","errorStartingVisit":"Kesalahan memulai kunjungan","errorStartingVisitDescription":"Terjadi kesalahan saat memulai kunjungan","errorUpdatingVisitAttribute":"Tidak dapat memperbarui atribut {{attributeName}}","errorUpdatingVisitDetails":"Kesalahan memperbarui detail kunjungan","errorWhenRestoringVisit":"Terjadi kesalahan saat memulihkan {{visit}}","
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[2690],{72690:a=>{a.exports=JSON.parse('{"actions":"Tindakan","activeVisits__lower":"active visits","addingToVisit":"Menambahkan ke:","additionalVisitInformationUpdatedSuccessfully":"Informasi kunjungan tambahan berhasil diperbarui","addVisit":"Tambahkan kunjungan","all":"Semua","allEncounters":"Semua pertemuan","AM":"AM","cancel":"Batal","causeOfDeath":"Penyebab kematian","causeOfDeath_lower":"konsep penyebab kematian yang dikonfigurasi dalam sistem","causeOfDeathIsRequired":"Silakan pilih penyebab kematian","change":"Ubah","checkFilters":"Periksa filter di atas","confirm":"Konfirmasi","confirmDeleteVisitText":"Menghapus {{visit}} ini akan menghapus pertemuan yang terkait.","confirmModifyingVisitDateToAccomodateEncounter":"Tanggal pertemuan berada di luar rentang tanggal kunjungan yang ditentukan. Apakah Anda ingin mengubah tanggal kunjungan untuk menampung tanggal pertemuan baru?","continue":"Lanjutkan","createNewVisit":"Buat kunjungan baru...","currentActiveVisit":"Kunjungan aktif saat ini","currentVisit":"Kunjungan saat ini","date":"Tanggal","dateAndTime":"Tanggal & waktu","dateOfDeath":"Tanggal kematian","deathDateRequired":"Silakan pilih tanggal kematian","delete":"Hapus","deleteActiveVisit":"Hapus kunjungan aktif","deleteEncounter":"Hapus pertemuan","deleteEncounterConfirmationText":"Apakah Anda yakin ingin menghapus pertemuan ini? Tindakan ini tidak dapat dibatalkan.","deleteThisEncounter":"Hapus pertemuan ini","deleteVisit":"Hapus kunjungan","deleteVisitDialogHeader":"Apakah Anda yakin ingin menghapus kunjungan ini?","deletingVisit":"Menghapus kunjungan","diagnoses":"Diagnosis","discard":"Buang","discontinued":"Discontinued","dose":"Dosis","dosingInstructions":"Dosing Instructions","editEncounter":"Edit","editThisEncounter":"Edit pertemuan ini","editVisitDetails":"Edit detail kunjungan","emptyStateText":"Tidak ada {{displayText}} untuk ditampilkan untuk pasien ini","enable":"Enable","encounter":"Encounter","encounterDeleted":"Pertemuan dihapus","encounters_title":"Pertemuan","encountersForThisVisit":"encounters for this visit","encounterSuccessfullyDeleted":"Pertemuan telah berhasil dihapus","encounterTableActionsMenu":"Menu tindakan tabel pertemuan","encounterType":"Jenis pertemuan","encounterWithError":"Pertemuan tidak dapat dihapus dengan sukses. Jika kesalahan berlanjut, silakan hubungi administrator sistem Anda.","endActiveVisit":"Akhiri kunjungan aktif","endActiveVisitConfirmation":"Apakah Anda yakin ingin mengakhiri kunjungan aktif ini?","endDate":"Tanggal berakhir","endDate_title":"Tanggal berakhir","endDateTimeRequired":"End date and time are required","ended":"Berakhir","endTime":"Waktu berakhir","endTimeFormat":"Format waktu berakhir","endTimeMustBeAfterMostRecentEncounter":"End time must be on or after {{lastEncounterDatetime}}","endTimeMustBeAfterStartTime":"End time must be after start time","endVisit_title":"Akhiri Kunjungan","enterNonCodedCauseOfDeath":"Masukkan penyebab kematian non-kode","error":"Kesalahan","errorCopy":"Maaf, ada masalah menampilkan informasi ini. Anda dapat mencoba memuat ulang halaman ini, atau menghubungi administrator situs dan menyebutkan kode kesalahan di atas.","errorCreatingVisitAttribute":"Tidak dapat menghapus atribut {{attributeName}}","errorDeletingVisit":"Kesalahan menghapus kunjungan","errorDeletingVisitAttribute":"Tidak dapat menghapus atribut {{attributeName}}","errorEndingVisit":"Kesalahan mengakhiri kunjungan","errorMarkingPatientAlive":"Kesalahan menandai pasien hidup","errorMarkingPatientDeceased":"Kesalahan menandai pasien meninggal","errorOccurredDeletingVisit":"Terjadi kesalahan saat menghapus kunjungan","errorStartingVisit":"Kesalahan memulai kunjungan","errorStartingVisitDescription":"Terjadi kesalahan saat memulai kunjungan","errorUpdatingVisitAttribute":"Tidak dapat memperbarui atribut {{attributeName}}","errorUpdatingVisitDetails":"Kesalahan memperbarui detail kunjungan","errorWhenRestoringVisit":"Terjadi kesalahan saat memulihkan {{visit}}","fieldRequired":"This field is required","filterByEncounterType":"Filter berdasarkan jenis pertemuan","form":"Nama formulir","fromDateToDate":"{{fromDate}} - {{toDate}}","futureEndTime":"End time cannot be in the future","futureStartTime":"Start time cannot be in the future","indication":"Indikasi","inThePast":"Di masa lalu","loading":"Memuat","markAliveSuccessfully":"Pasien berhasil ditandai hidup","markDeceasedWarning":"Menandai pasien sebagai meninggal akan mengakhiri semua kunjungan aktif untuk pasien ini","markPatientAlive":"Tandai pasien hidup","markPatientAliveConfirmation":"Apakah Anda yakin ingin menandai pasien ini hidup?","markPatientDeceased":"Tandai pasien meninggal","medications":"Obat-obatan","medications__lower":"obat-obatan","missingVisitType":"Jenis kunjungan tidak ada","modifyVisitDate":"Ubah tanggal kunjungan","new":"Baru","nextPage":"Halaman berikutnya","no":"Tidak","noActiveVisit":"Tidak Ada Kunjungan Aktif","noActiveVisitNoRDEText":"Anda tidak dapat menambahkan data ke bagan pasien tanpa kunjungan aktif. Apakah Anda ingin memulai kunjungan baru?","noDiagnosesFound":"Tidak ada diagnosis ditemukan","noEncountersToDisplay":"Tidak ada pertemuan untuk ditampilkan","noMatchingCodedCausesOfDeath":"Tidak ada penyebab kematian berkode yang cocok","nonCodedCauseOfDeath":"Penyebab kematian non-kode","nonCodedCauseOfDeathRequired":"Silakan masukkan penyebab kematian non-kode","noObservationsFound":"Tidak ada observasi ditemukan","noProvider":"No provider","notes":"Catatan","notes__lower":"catatan","noVisitsToDisplay":"Tidak ada kunjungan untuk ditampilkan","noVisitTypesToDisplay":"Tidak ada jenis kunjungan untuk ditampilkan","offlineVisit":"Offline Visit","On scheduled date":"Pada tanggal terjadwal","ongoing":"Berlangsung","optional":"opsional","orderDurationAndUnit":"untuk {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Durasi tidak terbatas","paginationItemsCount_one":"{{pageItemsCount}} / {{count}} item","paginationItemsCount_other":"{{pageItemsCount}} / {{count}} item","paginationPageText_one":"dari {{count}} halaman","paginationPageText_other":"dari {{count}} halaman","partOfFormDidntLoad":"Bagian formulir tidak dimuat","pastVisits":"Kunjungan sebelumnya","Patient Summary":"Ringkasan Pasien","PM":"PM","previousPage":"Halaman sebelumnya","program":"Program","provider":"Penyedia","quantity":"Kuantitas","recommended":"Direkomendasikan","record":"Rekam","refills":"Isi ulang","refreshToTryAgain":"Silakan segarkan untuk mencoba lagi","required":"Diperlukan","Routine":"Rutin","saveAndClose":"Simpan dan tutup","saving":"Menyimpan","searchForAVisitType":"Cari jenis kunjungan","searchForCauseOfDeath":"Cari penyebab kematian","seeAll":"Lihat semua","selectAnOption":"Pilih opsi","selectAVisit":"Pilih kunjungan","selectLocation":"Pilih lokasi","selectProgramType":"Pilih jenis program","selectVisitType":"Silakan pilih jenis kunjungan","showVisitWithStartDateOnOrPriorTo":"Show visit with start date on or prior to:","startDate":"Tanggal mulai","startingVisit":"Memulai kunjungan","startNewVisit":"Mulai kunjungan baru","startTime":"Waktu mulai","startTimeFormat":"Format waktu mulai","startVisit":"Mulai kunjungan","startVisitError":"Kesalahan memulai kunjungan","startVisitWorkspaceTitle":"Mulai kunjungan","Stat":"Stat","tests":"Tes","theVisitIs":"Kunjungan ini","time":"Time","timeCompleted":"Time completed","timeFormat ":"Time Format","timeline":"Timeline","timeStarted":"Time started","undo":"Batalkan","unknownError":"Unknown error","updateVisit":"Perbarui kunjungan","updatingVisit":"Memperbarui kunjungan","viewEncounter":"Lihat","visitAttributes":"Atribut kunjungan","visitDeleted":"{{visit}} dihapus","visitDeletedSuccessfully":"{{visit}} berhasil dihapus","visitDetailsUpdated":"Detail kunjungan diperbarui","visitDetailsUpdatedSuccessfully":"{{visit}} berhasil diperbarui","visitEnded":"Kunjungan berakhir","visitEndSuccessfully":"Kunjungan saat ini berhasil diakhiri","visitLocation":"Lokasi kunjungan","visitLocationRequired":"Visit location is required","visitNotRestored":"Kunjungan tidak dapat dipulihkan","visitRestored":"Kunjungan dipulihkan","visitRestoredSuccessfully":"{{visit}} berhasil dipulihkan","visits":"kunjungan","Visits":"Kunjungan","visitStartAndEndDate":"Tanggal mulai dan berakhir kunjungan","visitStartDate":"Tanggal mulai kunjungan","visitStartDateMustBeBeforeEarliestEncounter":"Start time must be on or before {{firstEncounterDatetime}}","visitStartDateTimeRequired":"Start date and time are required","visitStarted":"Kunjungan dimulai","visitStartedSuccessfully":"{{visit}} berhasil dimulai","visitType":"Jenis kunjungan","visitType_title":"Jenis Kunjungan","visitTypeRequired":"Visit type is required","warning":"Peringatan","yes":"Ya","youCanAddAdditionalEncounters":"Anda dapat menambahkan pertemuan tambahan ke kunjungan ini di ringkasan kunjungan."}')}}]);
|
package/dist/276.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[276],{10276:(n,e,t)=>{t.r(e),t.d(e,{default:()=>x});var a=t(1343),i=t.n(a),o=t(72339),s=t(75198),l=t(54440),p=t(72591),r=t.n(p),c=t(1740),d=t.n(c),f=t(88128),u=t.n(f),h=t(30855),g=t.n(h),y=t(93051),b=t.n(y),$=t(73656),m=t.n($),v=t(29533),w={};w.styleTagTransform=m(),w.setAttributes=g(),w.insert=u().bind(null,"head"),w.domAPI=d(),w.insertStyleElement=b(),r()(v.A,w);const k=v.A&&v.A.locals?v.A.locals:void 0,x=function(n){var e=n.patientUuid,t=n.closeModal,a=(0,o.useTranslation)().t,p=(0,l.useVisit)(e),r=p.activeVisit,c=p.mutate;return i().createElement("div",null,i().createElement(s.ModalHeader,{closeModal:t,title:a("endActiveVisitConfirmation","Are you sure you want to end this active visit?")}),i().createElement(s.ModalBody,null,i().createElement("p",{className:k.bodyShort02},a("youCanAddAdditionalEncounters","You can add additional encounters to this visit in the visit summary."))),i().createElement(s.ModalFooter,null,i().createElement(s.Button,{kind:"secondary",onClick:t},a("cancel","Cancel")),i().createElement(s.Button,{kind:"danger",onClick:function(){if(r){var n={stopDatetime:new Date},e=new AbortController;(0,l.updateVisit)(r.uuid,n,e).then((function(n){var e,i;c(),window.dispatchEvent(new CustomEvent("queue-entry-updated")),t(),(0,l.showSnackbar)({isLowContrast:!0,kind:"success",subtitle:a("visitEndSuccessfully","".concat(null==n||null===(i=n.data)||void 0===i||null===(e=i.visitType)||void 0===e?void 0:e.display," ended successfully")),title:a("visitEnded","Visit ended")})})).catch((function(n){(0,l.showSnackbar)({title:a("errorEndingVisit","Error ending visit"),kind:"error",isLowContrast:!1,subtitle:null==n?void 0:n.message})}))}}},a("endVisit_title","End Visit"))))}},29533:(n,e,t)=>{t.d(e,{A:()=>l});var a=t(30977),i=t.n(a),o=t(95924),s=t.n(o)()(i());s.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-chart__end-visit-dialog__bodyShort02___XB3Mu{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0);color:#161616}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/visit/visit-prompt/end-visit-dialog.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,2DC+1BI,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD71BF,aDCM",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.bodyShort02 {\n @include type.type-style('body-compact-02');\n color: $ui-05;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),s.locals={bodyShort02:"-esm-patient-chart__end-visit-dialog__bodyShort02___XB3Mu"};const l=s}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[276],{10276:(n,e,t)=>{t.r(e),t.d(e,{default:()=>z});var a=t(1343),i=t.n(a),o=t(72339),s=t(75198),l=t(54440),p=t(63276),r=t(72591),c=t.n(r),d=t(1740),u=t.n(d),f=t(88128),h=t.n(f),g=t(30855),y=t.n(g),b=t(93051),$=t.n(b),m=t(73656),v=t.n(m),w=t(29533),k={};k.styleTagTransform=v(),k.setAttributes=y(),k.insert=h().bind(null,"head"),k.domAPI=u(),k.insertStyleElement=$(),c()(w.A,k);const x=w.A&&w.A.locals?w.A.locals:void 0,z=function(n){var e=n.patientUuid,t=n.closeModal,a=(0,o.useTranslation)().t,r=(0,l.useVisit)(e),c=r.activeVisit,d=r.mutate,u=(0,p.usePatientChartStore)(e),f=u.visitContext,h=u.setVisitContext;return i().createElement("div",null,i().createElement(s.ModalHeader,{closeModal:t,title:a("endActiveVisitConfirmation","Are you sure you want to end this active visit?")}),i().createElement(s.ModalBody,null,i().createElement("p",{className:x.bodyShort02},a("youCanAddAdditionalEncounters","You can add additional encounters to this visit in the visit summary."))),i().createElement(s.ModalFooter,null,i().createElement(s.Button,{kind:"secondary",onClick:t},a("cancel","Cancel")),i().createElement(s.Button,{kind:"danger",onClick:function(){if(c){var n={stopDatetime:new Date},e=new AbortController;(0,l.updateVisit)(c.uuid,n,e).then((function(n){var e,i;d(),window.dispatchEvent(new CustomEvent("queue-entry-updated")),t(),(null==f?void 0:f.uuid)===c.uuid&&h(null,null),(0,l.showSnackbar)({isLowContrast:!0,kind:"success",subtitle:a("visitEndSuccessfully","".concat(null==n||null===(i=n.data)||void 0===i||null===(e=i.visitType)||void 0===e?void 0:e.display," ended successfully")),title:a("visitEnded","Visit ended")})})).catch((function(n){(0,l.showSnackbar)({title:a("errorEndingVisit","Error ending visit"),kind:"error",isLowContrast:!1,subtitle:null==n?void 0:n.message})}))}}},a("endVisit_title","End Visit"))))}},29533:(n,e,t)=>{t.d(e,{A:()=>l});var a=t(30977),i=t.n(a),o=t(95924),s=t.n(o)()(i());s.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-chart__end-visit-dialog__bodyShort02___XB3Mu{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0);color:#161616}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/visit/visit-prompt/end-visit-dialog.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,2DC+1BI,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD71BF,aDCM",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.bodyShort02 {\n @include type.type-style('body-compact-02');\n color: $ui-05;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),s.locals={bodyShort02:"-esm-patient-chart__end-visit-dialog__bodyShort02___XB3Mu"};const l=s}}]);
|
package/dist/276.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"276.js","mappings":"
|
|
1
|
+
{"version":3,"file":"276.js","mappings":"+XAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQM,OAAS,IAAQA,YAASC,ECuDnE,EA9DsD,Y,IAAGC,EAAAA,EAAAA,YAAaC,EAAAA,EAAAA,WAC9D,GAAQC,EAAAA,EAAAA,kBAANC,EACwBC,GAAAA,EAAAA,EAAAA,UAASJ,GAAjCK,EAAwBD,EAAxBC,YAAaC,EAAWF,EAAXE,OACqBC,GAAAA,EAAAA,EAAAA,sBAAqBP,GAAvDQ,EAAkCD,EAAlCC,aAAcC,EAAoBF,EAApBE,gBAoCtB,OACE,kBAACC,MAAAA,KACC,kBAACC,EAAAA,YAAWA,CACVV,WAAYA,EACZW,MAAOT,EAAE,6BAA8B,qDAEzC,kBAACU,EAAAA,UAASA,KACR,kBAACC,IAAAA,CAAEC,UAAWC,EAAOC,aAClBd,EAAE,gCAAiC,2EAGxC,kBAACe,EAAAA,YAAWA,KACV,kBAACC,EAAAA,OAAMA,CAACC,KAAK,YAAYC,QAASpB,GAC/BE,EAAE,SAAU,WAEf,kBAACgB,EAAAA,OAAMA,CAACC,KAAK,SAASC,QAjDL,WACrB,GAAIhB,EAAa,CACf,IAAMiB,EAAkB,CACtBC,aAAc,IAAIC,MAGdC,EAAkB,IAAIC,iBAE5BC,EAAAA,EAAAA,aAAYtB,EAAYuB,KAAMN,EAAiBG,GAC5CI,MAAK,SAACC,G,IAUoCA,EAAAA,EATzCxB,IACAyB,OAAOC,cAAc,IAAIC,YAAY,wBACrChC,KACIO,aAAAA,EAAAA,EAAcoB,QAASvB,EAAYuB,MACrCnB,EAAgB,KAAM,OAExByB,EAAAA,EAAAA,cAAa,CACXC,eAAe,EACff,KAAM,UACNgB,SAAUjC,EAAE,uBAAwB,GAAsC,OAAnC2B,SAAc,QAAdA,EAAAA,EAAUO,YAAVP,IAAAA,GAAyB,QAAzBA,EAAAA,EAAgBQ,iBAAhBR,IAAAA,OAAAA,EAAAA,EAA2BS,QAAQ,wBAC1E3B,MAAOT,EAAE,aAAc,gBAE3B,IACCqC,OAAM,SAACC,IACNP,EAAAA,EAAAA,cAAa,CACXtB,MAAOT,EAAE,mBAAoB,sBAC7BiB,KAAM,QACNe,eAAe,EACfC,SAAUK,aAAAA,EAAAA,EAAOC,SAErB,GACJ,CACF,GAkBSvC,EAAE,iBAAkB,eAK/B,C,sEC5EIwC,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,4nBAA6nB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,2DAA2D,iEAAiE,MAAQ,GAAG,SAAW,sJAAsJ,eAAiB,CAAC,g/DAAg/D,+JAA+J,w8uBAAw8uB,WAAa,MAEvq1BH,EAAwB7C,OAAS,CAChC,YAAe,6DAEhB,S","sources":["webpack://@openmrs/esm-patient-chart-app/./src/visit/visit-prompt/end-visit-dialog.scss?0b7a","webpack://@openmrs/esm-patient-chart-app/./src/visit/visit-prompt/end-visit-dialog.component.tsx","webpack://@openmrs/esm-patient-chart-app/./src/visit/visit-prompt/end-visit-dialog.scss"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","undefined","patientUuid","closeModal","useTranslation","t","useVisit","activeVisit","mutate","usePatientChartStore","visitContext","setVisitContext","div","ModalHeader","title","ModalBody","p","className","styles","bodyShort02","ModalFooter","Button","kind","onClick","endVisitPayload","stopDatetime","Date","abortController","AbortController","updateVisit","uuid","then","response","window","dispatchEvent","CustomEvent","showSnackbar","isLowContrast","subtitle","data","visitType","display","catch","error","message","___CSS_LOADER_EXPORT___","push","module","id"],"sourceRoot":""}
|
package/dist/2761.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[2761],{2761:(e,t,n)=>{n.r(t),n.d(t,{default:()=>w});var r=n(75198),a=n(54440),i=n(1343),c=n.n(i),s=n(80824),o=n(72339),p=n(72591),l=n.n(p),u=n(1740),m=n.n(u),g=n(88128),d=n.n(g),_=n(30855),b=n.n(_),y=n(93051),f=n.n(y),v=n(73656),h=n.n(v),A=n(73299),k={};k.styleTagTransform=h(),k.setAttributes=b(),k.insert=d().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=f(),l()(A.A,k);const C=A.A&&A.A.locals?A.A.locals:void 0;function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const w=function(e){var t,n,p=e.
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[2761],{2761:(e,t,n)=>{n.r(t),n.d(t,{default:()=>w});var r=n(75198),a=n(54440),i=n(1343),c=n.n(i),s=n(80824),o=n(72339),p=n(72591),l=n.n(p),u=n(1740),m=n.n(u),g=n(88128),d=n.n(g),_=n(30855),b=n.n(_),y=n(93051),f=n.n(y),v=n(73656),h=n.n(v),A=n(73299),k={};k.styleTagTransform=h(),k.setAttributes=b(),k.insert=d().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=f(),l()(A.A,k);const C=A.A&&A.A.locals?A.A.locals:void 0;function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const w=function(e){var t,n,p=e.visitContext,l=e.control,u=e.onChange,m=(0,o.useTranslation)().t,g=(0,a.useFeatureFlag)("rde"),d=!Boolean(p&&p.stopDatetime),_=null==p?void 0:p.stopDatetime,b=null==p?void 0:p.startDatetime,y=(t=(0,i.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],c=!0,s=!1;try{for(n=n.call(e);!(c=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{c||null==n.return||n.return()}finally{if(s)throw a}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=y[0],v=y[1],h=d&&!f,A=(0,s.mN)(),k=A.watch("retrospectiveDate"),w=A.watch("retrospectiveTime"),P=A.watch("retrospectiveTimeFormat"),x=l||A.control;return(0,i.useEffect)((function(){u&&u({retrospectiveDate:k,retrospectiveTime:w,retrospectiveTimeFormat:P})}),[u,k,w,P]),g?c().createElement("section",{className:C.wrapper},c().createElement("h4",{className:C.heading},"Encounter time"),d&&c().createElement(r.Checkbox,{checked:f,className:C.checkbox,id:"enable-date-time-picker",labelText:m("enable","Enable"),onChange:function(e,t){var n=t.checked;t.id,v(n)}}),c().createElement("div",{className:C.pickerWrapper},c().createElement(s.xI,{name:"retrospectiveDate",control:x,render:function(e){var t,n,r,i,s=e.field,o=e.fieldState;return c().createElement(a.ResponsiveWrapper,null,c().createElement(a.OpenmrsDatePicker,(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){$(e,t,n[t])}))}return e}({},s),i=null!=(i={id:"retrospective-date-picker-input",labelText:m("date","Date"),invalid:Boolean(null==o||null===(t=o.error)||void 0===t?void 0:t.message),invalidText:null==o||null===(n=o.error)||void 0===n?void 0:n.message,isDisabled:h,maxDate:_,minDate:b,className:C.datePicker})?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))})),r)))}}),c().createElement(a.ResponsiveWrapper,null,c().createElement(s.xI,{name:"retrospectiveTime",control:x,render:function(e){var t=e.field,n=t.onBlur,a=t.onChange,i=t.value;return c().createElement("div",{className:C.timePickerWrapper},c().createElement(r.TimePicker,{id:"retrospective-time-picker-input",labelText:m("time","Time"),onBlur:n,onChange:function(e){return a(e.target.value)},pattern:"^(0[1-9]|1[0-2]):([0-5][0-9])$",value:i,disabled:h,className:C.timePicker},c().createElement(s.xI,{name:"retrospectiveTimeFormat",control:x,render:function(e){var t=e.field,n=t.onChange,a=t.value;return c().createElement(r.TimePickerSelect,{"aria-label":m("timeFormat ","Time Format"),id:"am-pm-input",onChange:function(e){return n(e.target.value)},value:a,disabled:h},c().createElement(r.SelectItem,{value:"",text:""}),c().createElement(r.SelectItem,{value:"AM",text:m("AM","AM")}),c().createElement(r.SelectItem,{value:"PM",text:m("PM","PM")}))}})))}})))):null}},73299:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(30977),a=n.n(r),i=n(95924),c=n.n(i)()(a());c.push([e.id,".-esm-patient-chart__restrospective-date-time-picker__wrapper___DDuZ5{padding:0 1rem}.-esm-patient-chart__restrospective-date-time-picker__heading___v5Ok9{font-weight:600;margin-bottom:.5rem}.-esm-patient-chart__restrospective-date-time-picker__pickerWrapper___ZxXgo{display:flex;align-items:center}.-esm-patient-chart__restrospective-date-time-picker__datePicker___ZQAPs .cds--date-picker-input__wrapper{inline-size:10rem}.-esm-patient-chart__restrospective-date-time-picker__timePicker___WfTYR{display:flex;align-items:baseline}.-esm-patient-chart__restrospective-date-time-picker__timePicker___WfTYR .cds--form-requirement{max-width:6rem;max-height:0 !important}.-esm-patient-chart__restrospective-date-time-picker__checkBox___MDLgt{margin-bottom:1rem}","",{version:3,sources:["webpack://./src/visit/visits-widget/visit-context/retrospective-data-date-time-picker/restrospective-date-time-picker.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAEA,sEACE,cAAA,CAGF,sEACE,eAAA,CACA,mBCaW,CDVb,4EACE,YAAA,CACA,kBAAA,CAIA,0GACE,iBCqDS,CDjDb,yEACE,YAAA,CACA,oBAAA,CAEA,gGACE,cCuCS,CDtCT,uBAAA,CAIJ,uEACE,kBCFW",sourcesContent:["@use '@carbon/layout';\n\n.wrapper {\n padding: 0 layout.$spacing-05;\n}\n\n.heading {\n font-weight: 600;\n margin-bottom: layout.$spacing-03;\n}\n\n.pickerWrapper {\n display: flex;\n align-items: center;\n}\n\n.datePicker {\n :global(.cds--date-picker-input__wrapper) {\n inline-size: layout.$spacing-13;\n }\n}\n\n.timePicker {\n display: flex;\n align-items: baseline;\n\n :global(.cds--form-requirement) {\n max-width: layout.$spacing-12;\n max-height: 0 !important;\n }\n}\n\n.checkBox {\n margin-bottom: layout.$spacing-05;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),c.locals={wrapper:"-esm-patient-chart__restrospective-date-time-picker__wrapper___DDuZ5",heading:"-esm-patient-chart__restrospective-date-time-picker__heading___v5Ok9",pickerWrapper:"-esm-patient-chart__restrospective-date-time-picker__pickerWrapper___ZxXgo",datePicker:"-esm-patient-chart__restrospective-date-time-picker__datePicker___ZQAPs",timePicker:"-esm-patient-chart__restrospective-date-time-picker__timePicker___WfTYR",checkBox:"-esm-patient-chart__restrospective-date-time-picker__checkBox___MDLgt"};const s=c}}]);
|
package/dist/2761.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2761.js","mappings":"+XAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQM,OAAS,IAAQA,YAASC,E,
|
|
1
|
+
{"version":3,"file":"2761.js","mappings":"+XAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQM,OAAS,IAAQA,YAASC,E,kOCgHnE,QAvHoC,Y,QAClCC,EAAAA,EAAAA,aACAC,EAAAA,EAAAA,QACAC,EAAAA,EAAAA,SAEM,GAAQC,EAAAA,EAAAA,kBAANC,EACFC,GAAeC,EAAAA,EAAAA,gBAAe,OAE9BC,GAAiBC,QAAQR,GAAgBA,EAAaS,cACtDC,EAAUV,aAAAA,EAAAA,EAAcS,aACxBE,EAAUX,aAAAA,EAAAA,EAAcY,cAE0CC,G,GAAAA,EAAAA,EAAAA,WAAkB,G,EAAA,E,+zBAAnFC,EAAiED,EAAAA,GAAnCE,EAAmCF,EAAAA,GAGlEG,EAAgBT,IAAkBO,EAKlCG,GAAOC,EAAAA,EAAAA,MAEPC,EAAoBF,EAAKG,MAAM,qBAC/BC,EAAoBJ,EAAKG,MAAM,qBAC/BE,EAA0BL,EAAKG,MAAM,2BAErCnB,EAAUsB,GAAeN,EAAKhB,QAYpC,OAVAuB,EAAAA,EAAAA,YAAU,WACJtB,GACFA,EAAS,CACPiB,kBAAmBA,EACnBE,kBAAmBA,EACnBC,wBAAyBA,GAG/B,GAAG,CAACpB,EAAUiB,EAAmBE,EAAmBC,IAE/CjB,EAKH,kBAACoB,UAAAA,CAAQC,UAAWC,EAAOC,SACzB,kBAACC,KAAAA,CAAGH,UAAWC,EAAOG,SAAS,kBAC9BvB,GACC,kBAACwB,EAAAA,SAAQA,CACPC,QAASlB,EACTY,UAAWC,EAAOM,SAClBC,GAAI,0BACJC,UAAW/B,EAAE,SAAU,UACvBF,SAAU,SAACkC,EAAG,G,IAAEJ,EAAAA,EAAAA,QAASE,EAAAA,GACvBnB,EAAgCiB,EAClC,IAGJ,kBAACK,MAAAA,CAAIX,UAAWC,EAAOW,eACrB,kBAACC,EAAAA,GAAUA,CACTC,KAAM,oBACNvC,QAASA,EACTwC,OAAQ,Y,IAMeC,EACJA,E,IAPRC,EAAAA,EAAAA,MAAOD,EAAAA,EAAAA,W,OAChB,kBAACE,EAAAA,kBAAiBA,KAChB,kBAACC,EAAAA,mB,wUAAiBA,CAAAA,CAAAA,EACZF,G,WAAAA,CACJT,GAAI,kCACJC,UAAW/B,EAAE,OAAQ,QACrB0C,QAAStC,QAAQkC,SAAiB,QAAjBA,EAAAA,EAAYK,aAAZL,IAAAA,OAAAA,EAAAA,EAAmBM,SACpCC,YAAaP,SAAiB,QAAjBA,EAAAA,EAAYK,aAAZL,IAAAA,OAAAA,EAAAA,EAAmBM,QAChCE,WAAYlC,EACZN,QAASA,EACTC,QAASA,EACTe,UAAWC,EAAOwB,a,oVAK1B,kBAACP,EAAAA,kBAAiBA,KAChB,kBAACL,EAAAA,GAAUA,CACTC,KAAM,oBACNvC,QAASA,EACTwC,OAAQ,Y,QAAGE,MAASS,EAAAA,EAAAA,OAAQlD,EAAAA,EAAAA,SAAUmD,EAAAA,EAAAA,M,OACpC,kBAAChB,MAAAA,CAAIX,UAAWC,EAAO2B,mBACrB,kBAACC,EAAAA,WAAUA,CACTrB,GAAI,kCACJC,UAAW/B,EAAE,OAAQ,QACrBgD,OAAQA,EACRlD,SAAU,SAACsD,G,OAAUtD,EAASsD,EAAMC,OAAOJ,M,EAC3CK,QAAQ,iCACRL,MAAOA,EACPM,SAAU3C,EACVU,UAAWC,EAAOiC,YAElB,kBAACrB,EAAAA,GAAUA,CACTC,KAAM,0BACNvC,QAASA,EACTwC,OAAQ,Y,QAAGE,MAASzC,EAAAA,EAAAA,SAAUmD,EAAAA,EAAAA,M,OAC5B,kBAACQ,EAAAA,iBAAgBA,CACfC,aAAY1D,EAAE,cAAe,eAC7B8B,GAAK,cACLhC,SAAU,SAACsD,G,OAAUtD,EAASsD,EAAMC,OAAOJ,M,EAC3CA,MAAOA,EACPM,SAAU3C,GAEV,kBAAC+C,EAAAA,WAAUA,CAACV,MAAM,GAAGW,KAAK,KAC1B,kBAACD,EAAAA,WAAUA,CAACV,MAAM,KAAKW,KAAM5D,EAAE,KAAM,QACrC,kBAAC2D,EAAAA,WAAUA,CAACV,MAAM,KAAKW,KAAM5D,EAAE,KAAM,Q,YAlElD,IA8EX,C,sECrII6D,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOjC,GAAI,svBAAuvB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,6HAA6H,8EAA8E,MAAQ,GAAG,SAAW,oKAAoK,eAAiB,CAAC,gjBAAgjB,25DAA25D,WAAa,MAE1qH+B,EAAwBnE,OAAS,CAChC,QAAW,uEACX,QAAW,uEACX,cAAiB,6EACjB,WAAc,0EACd,WAAc,0EACd,SAAY,yEAEb,S","sources":["webpack://@openmrs/esm-patient-chart-app/./src/visit/visits-widget/visit-context/retrospective-data-date-time-picker/restrospective-date-time-picker.scss?faeb","webpack://@openmrs/esm-patient-chart-app/./src/visit/visits-widget/visit-context/retrospective-data-date-time-picker/retrospective-date-time-picker.component.tsx","webpack://@openmrs/esm-patient-chart-app/./src/visit/visits-widget/visit-context/retrospective-data-date-time-picker/restrospective-date-time-picker.scss"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","undefined","visitContext","control","onChange","useTranslation","t","isRdeEnabled","useFeatureFlag","isActiveVisit","Boolean","stopDatetime","maxDate","minDate","startDatetime","useState","manuallyEnableDateTimePicker","setManuallyEnableDateTimePicker","disableInputs","form","useForm","retrospectiveDate","watch","retrospectiveTime","retrospectiveTimeFormat","propControl","useEffect","section","className","styles","wrapper","h4","heading","Checkbox","checked","checkbox","id","labelText","_","div","pickerWrapper","Controller","name","render","fieldState","field","ResponsiveWrapper","OpenmrsDatePicker","invalid","error","message","invalidText","isDisabled","datePicker","onBlur","value","timePickerWrapper","TimePicker","event","target","pattern","disabled","timePicker","TimePickerSelect","aria-label","SelectItem","text","___CSS_LOADER_EXPORT___","push","module"],"sourceRoot":""}
|