@openmrs/esm-patient-allergies-app 11.3.0 → 11.3.1-patch.9310
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 +28 -25
- 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/3099.js +1 -1
- package/dist/3357.js +1 -0
- package/dist/3357.js.map +1 -0
- package/dist/3584.js +1 -1
- package/dist/3753.js +2 -0
- package/dist/3753.js.map +1 -0
- 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/4341.js +1 -0
- package/dist/4341.js.map +1 -0
- package/dist/4618.js +1 -1
- package/dist/4652.js +1 -1
- package/dist/4944.js +1 -1
- package/dist/5173.js +1 -1
- package/dist/5241.js +1 -1
- package/dist/5442.js +1 -1
- package/dist/5563.js +1 -1
- package/dist/5563.js.map +1 -1
- package/dist/5661.js +1 -1
- package/dist/5670.js +1 -0
- package/dist/5670.js.map +1 -0
- package/dist/6022.js +1 -1
- package/dist/6336.js +1 -0
- package/dist/6336.js.map +1 -0
- package/dist/6468.js +1 -1
- package/dist/6679.js +1 -1
- package/dist/6840.js +1 -1
- package/dist/6859.js +1 -1
- package/dist/6884.js +1 -1
- package/dist/6884.js.map +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/8349.js +1 -1
- package/dist/8618.js +1 -1
- package/dist/890.js +1 -1
- package/dist/9214.js +1 -1
- package/dist/9538.js +1 -1
- package/dist/9540.js +2 -0
- package/dist/9540.js.map +1 -0
- 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-allergies-app.js +1 -1
- package/dist/openmrs-esm-patient-allergies-app.js.buildmanifest.json +236 -308
- package/dist/openmrs-esm-patient-allergies-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +5 -4
- package/src/allergies/allergies-action-menu.component.tsx +5 -6
- package/src/allergies/allergies-detailed-summary.component.tsx +2 -2
- package/src/allergies/allergies-form/allergy-form.test.tsx +29 -12
- package/src/allergies/allergies-form/allergy-form.workspace.tsx +204 -193
- package/src/allergies/allergies-list.extension.tsx +60 -0
- package/src/allergies/allergies-list.scss +39 -0
- package/src/allergies/allergies-list.test.tsx +131 -0
- package/src/allergies/allergies-overview.component.tsx +2 -2
- package/src/allergies/{allergies-tile.component.tsx → allergies-tile.extension.tsx} +7 -5
- package/src/allergies/allergies-tile.scss +5 -0
- package/src/allergies/allergies-tile.test.tsx +16 -7
- package/src/allergies/allergy-intolerance.resource.ts +3 -3
- package/src/allergies/delete-allergy.modal.tsx +2 -2
- package/src/dashboard.meta.ts +3 -1
- package/src/index.ts +6 -8
- package/src/routes.json +20 -8
- package/src/utils.ts +5 -0
- package/translations/am.json +2 -1
- package/translations/ar.json +2 -1
- package/translations/ar_SY.json +2 -1
- package/translations/bn.json +2 -1
- package/translations/de.json +2 -1
- package/translations/en.json +2 -1
- package/translations/en_US.json +2 -1
- package/translations/es.json +2 -1
- package/translations/es_MX.json +2 -1
- package/translations/fr.json +2 -1
- package/translations/he.json +2 -1
- package/translations/hi.json +2 -1
- package/translations/hi_IN.json +2 -1
- package/translations/id.json +2 -1
- package/translations/it.json +2 -1
- package/translations/ka.json +2 -1
- package/translations/km.json +2 -1
- package/translations/ku.json +2 -1
- package/translations/ky.json +2 -1
- package/translations/lg.json +2 -1
- package/translations/ne.json +2 -1
- package/translations/pl.json +2 -1
- package/translations/pt.json +2 -1
- package/translations/pt_BR.json +2 -1
- package/translations/qu.json +2 -1
- package/translations/ro_RO.json +2 -1
- package/translations/ru_RU.json +2 -1
- package/translations/si.json +2 -1
- package/translations/sw.json +2 -1
- package/translations/sw_KE.json +2 -1
- package/translations/tr.json +2 -1
- package/translations/tr_TR.json +2 -1
- package/translations/uk.json +2 -1
- package/translations/uz.json +2 -1
- package/translations/uz@Latn.json +2 -1
- package/translations/uz_UZ.json +2 -1
- package/translations/vi.json +2 -1
- package/translations/zh.json +2 -1
- package/translations/zh_CN.json +2 -1
- package/dist/2537.js +0 -1
- package/dist/2537.js.map +0 -1
- package/dist/4051.js +0 -1
- package/dist/4051.js.map +0 -1
- package/dist/4130.js +0 -2
- package/dist/4130.js.map +0 -1
- package/dist/4918.js +0 -1
- package/dist/4918.js.map +0 -1
- package/dist/5048.js +0 -1
- package/dist/5048.js.map +0 -1
- package/dist/5421.js +0 -2
- package/dist/5421.js.map +0 -1
- package/dist/6432.js +0 -1
- package/dist/6432.js.map +0 -1
- package/dist/717.js +0 -1
- package/dist/717.js.map +0 -1
- package/dist/8170.js +0 -1
- package/dist/8170.js.map +0 -1
- /package/dist/{4130.js.LICENSE.txt → 3753.js.LICENSE.txt} +0 -0
- /package/dist/{5421.js.LICENSE.txt → 9540.js.LICENSE.txt} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,29 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
Browserslist: browsers data (caniuse-lite) is 6 months old. Please run:
|
|
2
|
+
npx update-browserslist-db@latest
|
|
3
|
+
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
4
|
+
assets by path [1m[32m*.js[39m[22m 3.62 MiB
|
|
5
|
+
assets by chunk 2.65 MiB (id hint: vendors)
|
|
6
|
+
assets by status [1m[33m2.4 MiB[39m[22m [1m[33m[big][39m[22m
|
|
7
|
+
asset [1m[33m9540.js[39m[22m [1m[33m2.01 MiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (id hint: vendors) 2 related assets
|
|
8
|
+
asset [1m[33m3753.js[39m[22m [1m[33m398 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (id hint: vendors) 2 related assets
|
|
6
9
|
asset [1m[32m7038.js[39m[22m 84 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
7
10
|
asset [1m[32m2913.js[39m[22m 67.8 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 2 related assets
|
|
8
|
-
asset [1m[32m717.js[39m[22m 47.1 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
9
11
|
asset [1m[32m2457.js[39m[22m 45.4 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 2 related assets
|
|
12
|
+
asset [1m[32m5670.js[39m[22m 44.7 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
13
|
+
asset [1m[32m6336.js[39m[22m 13.6 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
10
14
|
asset [1m[32m2372.js[39m[22m 6.1 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
asset [1m[
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
modules by path [1m
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
javascript modules 164 KiB 9 modules
|
|
15
|
+
+ 51 assets
|
|
16
|
+
assets by path [1m[32m*.json[39m[22m 30.6 KiB
|
|
17
|
+
asset [1m[32mopenmrs-esm-patient-allergies-app.js.buildmanifest.json[39m[22m 29.5 KiB [1m[32m[emitted][39m[22m
|
|
18
|
+
asset [1m[32mroutes.json[39m[22m 1.04 KiB [1m[32m[emitted][39m[22m [from: src/routes.json] [1m[32m[copied][39m[22m
|
|
19
|
+
orphan modules 9.98 MiB [1m[33m[orphan][39m[22m 3181 modules
|
|
20
|
+
runtime modules 44 KiB 28 modules
|
|
21
|
+
built modules 8.09 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-shared) [1m[33m[built][39m[22m
|
|
22
|
+
modules by path [1m../../node_modules/[39m[22m 7.56 MiB 583 modules
|
|
23
|
+
modules by path [1m./[39m[22m 291 KiB
|
|
24
|
+
optional modules 79.2 KiB [1m[33m[optional][39m[22m 39 modules
|
|
25
|
+
javascript modules 212 KiB 10 modules
|
|
23
26
|
provide-module modules 420 bytes 10 modules
|
|
24
27
|
consume-shared-module modules 420 bytes 10 modules
|
|
25
|
-
modules by path [1m../esm-patient-common-lib/src/[39m[22m
|
|
26
|
-
[1m../esm-patient-common-lib/src/index.ts +
|
|
28
|
+
modules by path [1m../esm-patient-common-lib/src/[39m[22m 251 KiB
|
|
29
|
+
[1m../esm-patient-common-lib/src/index.ts + 62 modules[39m[22m 122 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
27
30
|
../../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
|
|
28
31
|
+ 3 modules
|
|
29
32
|
[1mcontainer entry[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
@@ -31,14 +34,14 @@ built modules 7.57 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-sh
|
|
|
31
34
|
[1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
32
35
|
This can impact web performance.
|
|
33
36
|
Assets:
|
|
34
|
-
main.js (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
main.js (517 KiB)
|
|
38
|
+
9540.js (2.01 MiB)
|
|
39
|
+
3753.js (398 KiB)[39m[22m
|
|
37
40
|
|
|
38
41
|
[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.
|
|
39
42
|
Entrypoints:
|
|
40
|
-
main (
|
|
43
|
+
main (517 KiB)
|
|
41
44
|
main.js
|
|
42
45
|
[39m[22m
|
|
43
46
|
|
|
44
|
-
webpack 5.99.9 compiled with [1m[33m2 warnings[39m[22m in
|
|
47
|
+
webpack 5.99.9 compiled with [1m[33m2 warnings[39m[22m in 137318 ms
|
package/dist/1119.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[1119],{41119:e=>{e.exports=JSON.parse('{"add":"Add","allergen":"Allergen","allergenRequired":"Allergen is required","allergies":"Allergies","Allergies":"Allergies","allergyDeleted":"Allergy deleted","allergyIntolerances":"allergy intolerances","allergyNowVisible":"It is now visible on the Allergies page","allergySaved":"Allergy saved","allergySaveError":"Error saving allergy","allergyUpdated":"Allergy updated","atLeastOneReactionRequired":"At least one reaction is required","cancel":"Cancel","comments":"Comments","delete":"Delete","deleteModalConfirmationText":"Are you sure you want to delete this allergy?","deletePatientAllergy":"Delete allergy","deleting":"Deleting","discard":"Discard","edit":"Edit","editAllergy":"Edit an Allergy","editOrDeleteAllergy":"Edit or delete allergy","errorDeletingAllergy":"Error deleting allergy","loading":"Loading","mild":"Mild","moderate":"Moderate","name":"Name","nonCodedAllergenRequired":"Please specify the non-coded allergen","nonCodedAllergenWarningDescription":"Adding a custom allergen may impact system-wide allergy notifications. It\'s recommended to choose from the provided list for accurate alerts. Custom entries may not trigger notifications in all relevant contexts.","nonCodedAllergenWarningTitle":"Warning: Custom Allergen Entry","nonCodedAllergicReactionRequired":"Please specify the non-coded allergic reaction","other":"Other","otherNonCodedAllergen":"Other non-coded allergen","otherNonCodedAllergicReaction":"Other non-coded allergic reaction","reaction":"Reaction","reactions":"Reactions","recordNewAllergy":"Record a new allergy","saveAndClose":"Save and close","saving":"Saving","seeAll":"See all","selectAllergen":"Select the allergen","selectReactions":"Select the reactions","severe":"Severe","severityandReaction":"Severity","severityOfWorstReaction":"Severity of worst reaction","severityRequired":"Severity is required","typeAdditionalComments":"Type any additional comments here","typeAllergenName":"Please type in the name of the allergen","typeAllergicReactionName":"Please type in the name of the allergic reaction"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[1119],{41119:e=>{e.exports=JSON.parse('{"add":"Add","allergen":"Allergen","allergenRequired":"Allergen is required","allergies":"Allergies","Allergies":"Allergies","allergyDeleted":"Allergy deleted","allergyIntolerances":"allergy intolerances","allergyNowVisible":"It is now visible on the Allergies page","allergySaved":"Allergy saved","allergySaveError":"Error saving allergy","allergyUpdated":"Allergy updated","atLeastOneReactionRequired":"At least one reaction is required","cancel":"Cancel","comments":"Comments","delete":"Delete","deleteModalConfirmationText":"Are you sure you want to delete this allergy?","deletePatientAllergy":"Delete allergy","deleting":"Deleting","discard":"Discard","edit":"Edit","editAllergy":"Edit an Allergy","editOrDeleteAllergy":"Edit or delete allergy","errorDeletingAllergy":"Error deleting allergy","loading":"Loading","mild":"Mild","moderate":"Moderate","name":"Name","nonCodedAllergenRequired":"Please specify the non-coded allergen","nonCodedAllergenWarningDescription":"Adding a custom allergen may impact system-wide allergy notifications. It\'s recommended to choose from the provided list for accurate alerts. Custom entries may not trigger notifications in all relevant contexts.","nonCodedAllergenWarningTitle":"Warning: Custom Allergen Entry","nonCodedAllergicReactionRequired":"Please specify the non-coded allergic reaction","other":"Other","otherNonCodedAllergen":"Other non-coded allergen","otherNonCodedAllergicReaction":"Other non-coded allergic reaction","reaction":"Reaction","reactions":"Reactions","recordNewAllergy":"Record a new allergy","saveAndClose":"Save and close","saving":"Saving","seeAll":"See all","selectAllergen":"Select the allergen","selectReactions":"Select the reactions","severe":"Severe","severityandReaction":"Severity","severityOfWorstReaction":"Severity of worst reaction","severityRequired":"Severity is required","typeAdditionalComments":"Type any additional comments here","typeAllergenName":"Please type in the name of the allergen","typeAllergicReactionName":"Please type in the name of the allergic reaction","unknown":"Unknown"}')}}]);
|
package/dist/1197.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[1197],{81197:e=>{e.exports=JSON.parse('{"add":"Add","allergen":"Allergen","allergenRequired":"Allergen is required","allergies":"Allergies","Allergies":"Allergies","allergyDeleted":"Allergy deleted","allergyIntolerances":"allergy intolerances","allergyNowVisible":"It is now visible on the Allergies page","allergySaved":"Allergy saved","allergySaveError":"Error saving allergy","allergyUpdated":"Allergy updated","atLeastOneReactionRequired":"At least one reaction is required","cancel":"Cancel","comments":"Comments","delete":"Delete","deleteModalConfirmationText":"Are you sure you want to delete this allergy?","deletePatientAllergy":"Delete allergy","deleting":"Deleting","discard":"Discard","edit":"Edit","editAllergy":"Edit an Allergy","editOrDeleteAllergy":"Edit or delete allergy","errorDeletingAllergy":"Error deleting allergy","loading":"Loading","mild":"Mild","moderate":"Moderate","name":"Name","nonCodedAllergenRequired":"Please specify the non-coded allergen","nonCodedAllergenWarningDescription":"Adding a custom allergen may impact system-wide allergy notifications. It\'s recommended to choose from the provided list for accurate alerts. Custom entries may not trigger notifications in all relevant contexts.","nonCodedAllergenWarningTitle":"Warning: Custom Allergen Entry","nonCodedAllergicReactionRequired":"Please specify the non-coded allergic reaction","other":"Other","otherNonCodedAllergen":"Other non-coded allergen","otherNonCodedAllergicReaction":"Other non-coded allergic reaction","reaction":"Reaction","reactions":"Reactions","recordNewAllergy":"Record a new allergy","saveAndClose":"Save and close","saving":"Saving","seeAll":"See all","selectAllergen":"Select the allergen","selectReactions":"Select the reactions","severe":"Severe","severityandReaction":"Severity","severityOfWorstReaction":"Severity of worst reaction","severityRequired":"Severity is required","typeAdditionalComments":"Type any additional comments here","typeAllergenName":"Please type in the name of the allergen","typeAllergicReactionName":"Please type in the name of the allergic reaction"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[1197],{81197:e=>{e.exports=JSON.parse('{"add":"Add","allergen":"Allergen","allergenRequired":"Allergen is required","allergies":"Allergies","Allergies":"Allergies","allergyDeleted":"Allergy deleted","allergyIntolerances":"allergy intolerances","allergyNowVisible":"It is now visible on the Allergies page","allergySaved":"Allergy saved","allergySaveError":"Error saving allergy","allergyUpdated":"Allergy updated","atLeastOneReactionRequired":"At least one reaction is required","cancel":"Cancel","comments":"Comments","delete":"Delete","deleteModalConfirmationText":"Are you sure you want to delete this allergy?","deletePatientAllergy":"Delete allergy","deleting":"Deleting","discard":"Discard","edit":"Edit","editAllergy":"Edit an Allergy","editOrDeleteAllergy":"Edit or delete allergy","errorDeletingAllergy":"Error deleting allergy","loading":"Loading","mild":"Mild","moderate":"Moderate","name":"Name","nonCodedAllergenRequired":"Please specify the non-coded allergen","nonCodedAllergenWarningDescription":"Adding a custom allergen may impact system-wide allergy notifications. It\'s recommended to choose from the provided list for accurate alerts. Custom entries may not trigger notifications in all relevant contexts.","nonCodedAllergenWarningTitle":"Warning: Custom Allergen Entry","nonCodedAllergicReactionRequired":"Please specify the non-coded allergic reaction","other":"Other","otherNonCodedAllergen":"Other non-coded allergen","otherNonCodedAllergicReaction":"Other non-coded allergic reaction","reaction":"Reaction","reactions":"Reactions","recordNewAllergy":"Record a new allergy","saveAndClose":"Save and close","saving":"Saving","seeAll":"See all","selectAllergen":"Select the allergen","selectReactions":"Select the reactions","severe":"Severe","severityandReaction":"Severity","severityOfWorstReaction":"Severity of worst reaction","severityRequired":"Severity is required","typeAdditionalComments":"Type any additional comments here","typeAllergenName":"Please type in the name of the allergen","typeAllergicReactionName":"Please type in the name of the allergic reaction","unknown":"Unknown"}')}}]);
|
package/dist/2146.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[2146],{12146:e=>{e.exports=JSON.parse('{"add":"Add","allergen":"Allergen","allergenRequired":"Allergen is required","allergies":"Allergies","Allergies":"Allergies","allergyDeleted":"Allergy deleted","allergyIntolerances":"allergy intolerances","allergyNowVisible":"It is now visible on the Allergies page","allergySaved":"Allergy saved","allergySaveError":"Error saving allergy","allergyUpdated":"Allergy updated","atLeastOneReactionRequired":"At least one reaction is required","cancel":"Cancel","comments":"Comments","delete":"Delete","deleteModalConfirmationText":"Are you sure you want to delete this allergy?","deletePatientAllergy":"Delete allergy","deleting":"Deleting","discard":"Discard","edit":"Edit","editAllergy":"Edit an Allergy","editOrDeleteAllergy":"Edit or delete allergy","errorDeletingAllergy":"Error deleting allergy","loading":"Loading","mild":"Mild","moderate":"Moderate","name":"Name","nonCodedAllergenRequired":"Please specify the non-coded allergen","nonCodedAllergenWarningDescription":"Adding a custom allergen may impact system-wide allergy notifications. It\'s recommended to choose from the provided list for accurate alerts. Custom entries may not trigger notifications in all relevant contexts.","nonCodedAllergenWarningTitle":"Warning: Custom Allergen Entry","nonCodedAllergicReactionRequired":"Please specify the non-coded allergic reaction","other":"Other","otherNonCodedAllergen":"Other non-coded allergen","otherNonCodedAllergicReaction":"Other non-coded allergic reaction","reaction":"Reaction","reactions":"Reactions","recordNewAllergy":"Record a new allergy","saveAndClose":"Save and close","saving":"Saving","seeAll":"See all","selectAllergen":"Select the allergen","selectReactions":"Select the reactions","severe":"Severe","severityandReaction":"Severity","severityOfWorstReaction":"Severity of worst reaction","severityRequired":"Severity is required","typeAdditionalComments":"Type any additional comments here","typeAllergenName":"Please type in the name of the allergen","typeAllergicReactionName":"Please type in the name of the allergic reaction"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[2146],{12146:e=>{e.exports=JSON.parse('{"add":"Add","allergen":"Allergen","allergenRequired":"Allergen is required","allergies":"Allergies","Allergies":"Allergies","allergyDeleted":"Allergy deleted","allergyIntolerances":"allergy intolerances","allergyNowVisible":"It is now visible on the Allergies page","allergySaved":"Allergy saved","allergySaveError":"Error saving allergy","allergyUpdated":"Allergy updated","atLeastOneReactionRequired":"At least one reaction is required","cancel":"Cancel","comments":"Comments","delete":"Delete","deleteModalConfirmationText":"Are you sure you want to delete this allergy?","deletePatientAllergy":"Delete allergy","deleting":"Deleting","discard":"Discard","edit":"Edit","editAllergy":"Edit an Allergy","editOrDeleteAllergy":"Edit or delete allergy","errorDeletingAllergy":"Error deleting allergy","loading":"Loading","mild":"Mild","moderate":"Moderate","name":"Name","nonCodedAllergenRequired":"Please specify the non-coded allergen","nonCodedAllergenWarningDescription":"Adding a custom allergen may impact system-wide allergy notifications. It\'s recommended to choose from the provided list for accurate alerts. Custom entries may not trigger notifications in all relevant contexts.","nonCodedAllergenWarningTitle":"Warning: Custom Allergen Entry","nonCodedAllergicReactionRequired":"Please specify the non-coded allergic reaction","other":"Other","otherNonCodedAllergen":"Other non-coded allergen","otherNonCodedAllergicReaction":"Other non-coded allergic reaction","reaction":"Reaction","reactions":"Reactions","recordNewAllergy":"Record a new allergy","saveAndClose":"Save and close","saving":"Saving","seeAll":"See all","selectAllergen":"Select the allergen","selectReactions":"Select the reactions","severe":"Severe","severityandReaction":"Severity","severityOfWorstReaction":"Severity of worst reaction","severityRequired":"Severity is required","typeAdditionalComments":"Type any additional comments here","typeAllergenName":"Please type in the name of the allergen","typeAllergicReactionName":"Please type in the name of the allergic reaction","unknown":"Unknown"}')}}]);
|
package/dist/2690.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[2690],{72690:e=>{e.exports=JSON.parse('{"add":"Tambah","allergen":"Alergen","allergenRequired":"Alergen diperlukan","allergies":"Alergi","Allergies":"Alergi","allergyDeleted":"Alergi dihapus","allergyIntolerances":"intoleransi alergi","allergyNowVisible":"Sekarang terlihat di halaman Alergi","allergySaved":"Alergi disimpan","allergySaveError":"Kesalahan menyimpan alergi","allergyUpdated":"Alergi diperbarui","atLeastOneReactionRequired":"Setidaknya satu reaksi diperlukan","cancel":"Batal","comments":"Komentar","delete":"Hapus","deleteModalConfirmationText":"Apakah Anda yakin ingin menghapus alergi ini?","deletePatientAllergy":"Hapus alergi","deleting":"Menghapus","discard":"Buang","edit":"Edit","editAllergy":"Edit Alergi","editOrDeleteAllergy":"Edit atau hapus alergi","errorDeletingAllergy":"Kesalahan menghapus alergi","loading":"Memuat","mild":"Ringan","moderate":"Sedang","name":"Nama","nonCodedAllergenRequired":"Silakan tentukan alergen non-kode","nonCodedAllergenWarningDescription":"Menambahkan alergen kustom dapat memengaruhi notifikasi alergi di seluruh sistem. Disarankan untuk memilih dari daftar yang disediakan untuk peringatan yang akurat. Entri kustom mungkin tidak memicu notifikasi di semua konteks yang relevan.","nonCodedAllergenWarningTitle":"Peringatan: Entri Alergen Kustom","nonCodedAllergicReactionRequired":"Silakan tentukan reaksi alergi non-kode","other":"Lainnya","otherNonCodedAllergen":"Alergen non-kode lainnya","otherNonCodedAllergicReaction":"Reaksi alergi non-kode lainnya","reaction":"Reaksi","reactions":"Reaksi","recordNewAllergy":"Rekam alergi baru","saveAndClose":"Simpan & tutup","saving":"Menyimpan","seeAll":"Lihat semua","selectAllergen":"Pilih alergen","selectReactions":"Pilih reaksi","severe":"Berat","severityandReaction":"Tingkat Keparahan","severityOfWorstReaction":"Tingkat keparahan reaksi terburuk","severityRequired":"Tingkat keparahan diperlukan","typeAdditionalComments":"Ketik komentar tambahan di sini","typeAllergenName":"Silakan ketik nama alergen","typeAllergicReactionName":"Silakan ketik nama reaksi alergi"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[2690],{72690:e=>{e.exports=JSON.parse('{"add":"Tambah","allergen":"Alergen","allergenRequired":"Alergen diperlukan","allergies":"Alergi","Allergies":"Alergi","allergyDeleted":"Alergi dihapus","allergyIntolerances":"intoleransi alergi","allergyNowVisible":"Sekarang terlihat di halaman Alergi","allergySaved":"Alergi disimpan","allergySaveError":"Kesalahan menyimpan alergi","allergyUpdated":"Alergi diperbarui","atLeastOneReactionRequired":"Setidaknya satu reaksi diperlukan","cancel":"Batal","comments":"Komentar","delete":"Hapus","deleteModalConfirmationText":"Apakah Anda yakin ingin menghapus alergi ini?","deletePatientAllergy":"Hapus alergi","deleting":"Menghapus","discard":"Buang","edit":"Edit","editAllergy":"Edit Alergi","editOrDeleteAllergy":"Edit atau hapus alergi","errorDeletingAllergy":"Kesalahan menghapus alergi","loading":"Memuat","mild":"Ringan","moderate":"Sedang","name":"Nama","nonCodedAllergenRequired":"Silakan tentukan alergen non-kode","nonCodedAllergenWarningDescription":"Menambahkan alergen kustom dapat memengaruhi notifikasi alergi di seluruh sistem. Disarankan untuk memilih dari daftar yang disediakan untuk peringatan yang akurat. Entri kustom mungkin tidak memicu notifikasi di semua konteks yang relevan.","nonCodedAllergenWarningTitle":"Peringatan: Entri Alergen Kustom","nonCodedAllergicReactionRequired":"Silakan tentukan reaksi alergi non-kode","other":"Lainnya","otherNonCodedAllergen":"Alergen non-kode lainnya","otherNonCodedAllergicReaction":"Reaksi alergi non-kode lainnya","reaction":"Reaksi","reactions":"Reaksi","recordNewAllergy":"Rekam alergi baru","saveAndClose":"Simpan & tutup","saving":"Menyimpan","seeAll":"Lihat semua","selectAllergen":"Pilih alergen","selectReactions":"Pilih reaksi","severe":"Berat","severityandReaction":"Tingkat Keparahan","severityOfWorstReaction":"Tingkat keparahan reaksi terburuk","severityRequired":"Tingkat keparahan diperlukan","typeAdditionalComments":"Ketik komentar tambahan di sini","typeAllergenName":"Silakan ketik nama alergen","typeAllergicReactionName":"Silakan ketik nama reaksi alergi","unknown":"Unknown"}')}}]);
|
package/dist/3099.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[3099],{93099:e=>{e.exports=JSON.parse('{"add":"Agregar","allergen":"Alérgeno","allergenRequired":"Alérgeno requerido","allergies":"Alergias","Allergies":"Alergias","allergyDeleted":"Alergia eliminada","allergyIntolerances":"alergias e intolerancias","allergyNowVisible":"Ahora es visible en la página de Alergias","allergySaved":"Alergia guardada","allergySaveError":"Error al guardar alergia","allergyUpdated":"Alergia actualizada","atLeastOneReactionRequired":"Se requiere al menos una reacción","cancel":"Cancelar","comments":"Comentarios","delete":"Eliminar","deleteModalConfirmationText":"¿Está seguro de que desea eliminar esta alergia?","deletePatientAllergy":"Eliminar alergia","deleting":"Eliminando","discard":"Descartar","edit":"Editar","editAllergy":"Editar una Alergia","editOrDeleteAllergy":"Editar o eliminar alergia","errorDeletingAllergy":"Error al eliminar alergia","loading":"Cargando","mild":"Leve","moderate":"Moderada","name":"Nombre","nonCodedAllergenRequired":"Especifique el alérgeno no codificado","nonCodedAllergenWarningDescription":"Agregar un alérgeno personalizado puede afectar las notificaciones de alergias en todo el sistema. Se recomienda elegir de la lista proporcionada para recibir alertas precisas. Las entradas personalizadas podrían no activar notificaciones en todos los contextos relevantes.","nonCodedAllergenWarningTitle":"Advertencia: Entrada Personalizada de Alérgenos","nonCodedAllergicReactionRequired":"Especifique la reacción alérgica no codificada","other":"Otro","otherNonCodedAllergen":"Otro alérgeno no codificado","otherNonCodedAllergicReaction":"Otra reacción alérgica no codificada","reaction":"Reacción","reactions":"Reacciones","recordNewAllergy":"Registrar una nueva alergia","saveAndClose":"Guardar y cerrar","saving":"Guardando","seeAll":"Ver todo","selectAllergen":"Seleccione el alérgeno","selectReactions":"Seleccione las reacciones","severe":"Grave","severityandReaction":"Gravedad","severityOfWorstReaction":"Gravedad de la peor reacción","severityRequired":"La severidad es obligatoria","typeAdditionalComments":"Escriba cualquier comentario adicional aquí","typeAllergenName":"Por favor, escriba el nombre del alérgeno","typeAllergicReactionName":"Por favor, escriba el nombre de la reacción alérgica"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[3099],{93099:e=>{e.exports=JSON.parse('{"add":"Agregar","allergen":"Alérgeno","allergenRequired":"Alérgeno requerido","allergies":"Alergias","Allergies":"Alergias","allergyDeleted":"Alergia eliminada","allergyIntolerances":"alergias e intolerancias","allergyNowVisible":"Ahora es visible en la página de Alergias","allergySaved":"Alergia guardada","allergySaveError":"Error al guardar alergia","allergyUpdated":"Alergia actualizada","atLeastOneReactionRequired":"Se requiere al menos una reacción","cancel":"Cancelar","comments":"Comentarios","delete":"Eliminar","deleteModalConfirmationText":"¿Está seguro de que desea eliminar esta alergia?","deletePatientAllergy":"Eliminar alergia","deleting":"Eliminando","discard":"Descartar","edit":"Editar","editAllergy":"Editar una Alergia","editOrDeleteAllergy":"Editar o eliminar alergia","errorDeletingAllergy":"Error al eliminar alergia","loading":"Cargando","mild":"Leve","moderate":"Moderada","name":"Nombre","nonCodedAllergenRequired":"Especifique el alérgeno no codificado","nonCodedAllergenWarningDescription":"Agregar un alérgeno personalizado puede afectar las notificaciones de alergias en todo el sistema. Se recomienda elegir de la lista proporcionada para recibir alertas precisas. Las entradas personalizadas podrían no activar notificaciones en todos los contextos relevantes.","nonCodedAllergenWarningTitle":"Advertencia: Entrada Personalizada de Alérgenos","nonCodedAllergicReactionRequired":"Especifique la reacción alérgica no codificada","other":"Otro","otherNonCodedAllergen":"Otro alérgeno no codificado","otherNonCodedAllergicReaction":"Otra reacción alérgica no codificada","reaction":"Reacción","reactions":"Reacciones","recordNewAllergy":"Registrar una nueva alergia","saveAndClose":"Guardar y cerrar","saving":"Guardando","seeAll":"Ver todo","selectAllergen":"Seleccione el alérgeno","selectReactions":"Seleccione las reacciones","severe":"Grave","severityandReaction":"Gravedad","severityOfWorstReaction":"Gravedad de la peor reacción","severityRequired":"La severidad es obligatoria","typeAdditionalComments":"Escriba cualquier comentario adicional aquí","typeAllergenName":"Por favor, escriba el nombre del alérgeno","typeAllergicReactionName":"Por favor, escriba el nombre de la reacción alérgica","unknown":"Unknown"}')}}]);
|
package/dist/3357.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[3357],{2964:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var a=t(30977),i=t.n(a),l=t(95924),o=t.n(l)()(i());o.push([e.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-allergies__allergies-list__container___\\+YZmR{margin:.5rem 1rem}.-esm-patient-allergies__allergies-list__label___\\+Ac-Y{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);color:#525252;display:flex;flex-wrap:wrap;column-gap:.25rem;align-items:center}.-esm-patient-allergies__allergies-list__allergyLabel___ZaTs7{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);display:inline-block;background-color:#e0e0e0;border-radius:1rem;padding:.25rem;margin:.25rem;text-align:center}.-esm-patient-allergies__allergies-list__allergyLabel___ZaTs7[data-severity=moderate]{background-color:#ffd9be}.-esm-patient-allergies__allergies-list__allergyLabel___ZaTs7[data-severity=mild]{background-color:#fddc69}.-esm-patient-allergies__allergies-list__allergyLabel___ZaTs7[data-severity=severe]{background-color:#ffd7d9}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/allergies/allergies-list.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,4DACE,iBAAA,CAGF,wDCy1BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CDv1BF,aDJQ,CCKR,YAAA,CACA,cAAA,CACA,iBEEW,CFDX,kBAAA,CAGF,8DCg1BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CD90BF,oBAAA,CACA,wBGsBQ,CHrBR,kBESW,CFRX,cEPW,CFQX,aERW,CFSX,iBAAA,CAEA,sFACE,wBG6CQ,CH1CV,kFACE,wBG4FQ,CHzFV,oFACE,wBGyDK",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/layout';\n@use '@carbon/colors';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n margin: layout.$spacing-03 layout.$spacing-05;\n}\n\n.label {\n @include type.type-style('label-01');\n color: $text-02;\n display: flex;\n flex-wrap: wrap;\n column-gap: layout.$spacing-02;\n align-items: center;\n}\n\n.allergyLabel {\n @include type.type-style('label-01');\n display: inline-block;\n background-color: colors.$gray-20;\n border-radius: layout.$spacing-05;\n padding: layout.$spacing-02;\n margin: layout.$spacing-02;\n text-align: center;\n\n &[data-severity='moderate'] {\n background-color: colors.$orange-20;\n }\n\n &[data-severity='mild'] {\n background-color: colors.$yellow-20;\n }\n\n &[data-severity='severe'] {\n background-color: colors.$red-20;\n }\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","// 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","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),o.locals={container:"-esm-patient-allergies__allergies-list__container___+YZmR",label:"-esm-patient-allergies__allergies-list__label___+Ac-Y",allergyLabel:"-esm-patient-allergies__allergies-list__allergyLabel___ZaTs7"};const r=o},12970:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var a=t(30977),i=t.n(a),l=t(95924),o=t.n(l)()(i());o.push([e.id,".-esm-patient-allergies__allergies-action-menu__layer___YeAoi{height:100%}.-esm-patient-allergies__allergies-action-menu__layer___YeAoi .cds--overflow-menu{min-height:unset}.-esm-patient-allergies__allergies-action-menu__menuItem___FO-gf{max-width:none}","",{version:3,sources:["webpack://./src/allergies/allergies-action-menu.scss"],names:[],mappings:"AAAA,8DACE,WAAA,CAEA,kFACE,gBAAA,CAIJ,iEACE,cAAA",sourcesContent:[".layer {\n height: 100%;\n\n :global(.cds--overflow-menu) {\n min-height: unset;\n }\n}\n\n.menuItem {\n max-width: none;\n}\n"],sourceRoot:""}]),o.locals={layer:"-esm-patient-allergies__allergies-action-menu__layer___YeAoi",menuItem:"-esm-patient-allergies__allergies-action-menu__menuItem___FO-gf"};const r=o},14358:(e,n,t)=>{"use strict";t.d(n,{Nk:()=>r,i2:()=>l});var a=t(71123),i=t(54440);function l(e){var n,t="".concat(i.fhirBaseUrl,"/AllergyIntolerance?patient=").concat(e),l=(0,a.Ay)(e?t:null,i.openmrsFetch),r=l.data,s=l.error,p=l.isLoading,c=l.isValidating,d=l.mutate,f=(null==r||null===(n=r.data)||void 0===n?void 0:n.total)>0?null==r?void 0:r.data.entry.map((function(e){var n;return null!==(n=e.resource)&&void 0!==n?n:[]})).map(o).sort((function(e,n){return n.lastUpdated>e.lastUpdated?1:-1})):null;return{allergies:r?f:null,error:s,isLoading:p,isValidating:c,mutate:d}}function o(e){var n,t,a,i,l,o,r,s,p,c,d,f,u,g,h,y,b=null==e||null===(t=e.reaction[0])||void 0===t||null===(n=t.manifestation)||void 0===n?void 0:n.map((function(e){return null==e?void 0:e.text}));return{id:null==e?void 0:e.id,clinicalStatus:null==e||null===(i=e.clinicalStatus)||void 0===i||null===(a=i.coding[0])||void 0===a?void 0:a.display,criticality:null==e?void 0:e.criticality,display:null!==(y=null==e||null===(l=e.code)||void 0===l?void 0:l.text)&&void 0!==y?y:null==e||null===(r=e.code)||void 0===r||null===(o=r.coding[0])||void 0===o?void 0:o.display,recordedDate:null==e?void 0:e.recordedDate,recordedBy:null==e||null===(s=e.recorder)||void 0===s?void 0:s.display,recorderType:null==e||null===(p=e.recorder)||void 0===p?void 0:p.type,note:null==e||null===(d=e.note)||void 0===d||null===(c=d[0])||void 0===c?void 0:c.text,reactionToSubstance:null==e||null===(u=e.reaction[0])||void 0===u||null===(f=u.substance)||void 0===f?void 0:f.text,reactionManifestations:b,reactionSeverity:null==e||null===(g=e.reaction[0])||void 0===g?void 0:g.severity,lastUpdated:null==e||null===(h=e.meta)||void 0===h?void 0:h.lastUpdated}}function r(e,n,t){return(0,i.openmrsFetch)("".concat(i.restBaseUrl,"/patient/").concat(e,"/allergy/").concat(n),{method:"DELETE",signal:t.signal})}},14828:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var a=t(30977),i=t.n(a),l=t(95924),o=t.n(l)()(i());o.push([e.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-allergies__allergies-tile__label___jX9jv{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);color:#525252;display:flex;gap:.25rem;align-items:center}.-esm-patient-allergies__allergies-tile__content___zRs1\\+{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);color:#525252;margin-top:5px}.-esm-patient-allergies__allergies-tile__value___FthnT{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/allergies/allergies-tile.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,uDC61BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CD31BF,aAAA,CACA,YAAA,CACA,UEOW,CFNX,kBAAA,CAGF,0DCq1BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CDn1BF,aDRQ,CCSR,cAAA,CAGF,uDC+0BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA",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 '@carbon/colors';\n@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.label {\n @include type.type-style('label-01');\n color: $text-02;\n display: flex;\n gap: layout.$spacing-02;\n align-items: center;\n}\n\n.content {\n @include type.type-style('body-compact-01');\n color: $text-02;\n margin-top: 5px;\n}\n\n.value {\n @include type.type-style('body-compact-01');\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","// 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:""}]),o.locals={label:"-esm-patient-allergies__allergies-tile__label___jX9jv",content:"-esm-patient-allergies__allergies-tile__content___zRs1+",value:"-esm-patient-allergies__allergies-tile__value___FthnT"};const r=o},53357:(e,n,t)=>{"use strict";t.r(n),t.d(n,{allergiesDashboardLink:()=>X,allergiesDetailedSummary:()=>Y,allergiesList:()=>K,allergiesTile:()=>V,allergyFormWorkspace:()=>Z,deleteAllergyModal:()=>J,importTranslation:()=>H,startupApp:()=>Q});var a=t(54440),i=t(36274),l={concepts:{drugAllergenUuid:{_type:a.Type.ConceptUuid,_default:"162552AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},environmentalAllergenUuid:{_type:a.Type.ConceptUuid,_default:"162554AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},foodAllergenUuid:{_type:a.Type.ConceptUuid,_default:"162553AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},mildReactionUuid:{_type:a.Type.ConceptUuid,_default:"1498AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},moderateReactionUuid:{_type:a.Type.ConceptUuid,_default:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},severeReactionUuid:{_type:a.Type.ConceptUuid,_default:"1500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},allergyReactionUuid:{_type:a.Type.ConceptUuid,_default:"162555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},otherConceptUuid:{_type:a.Type.ConceptUuid,_default:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}}},o=t(75641),r=t.n(o),s=t(72339),p=t(76533),c="patient-allergy-form-workspace",d=t(14358),f=t(72591),u=t.n(f),g=t(1740),h=t.n(g),y=t(88128),b=t.n(y),$=t(30855),m=t.n($),v=t(93051),A=t.n(v),w=t(73656),k=t.n(w),x=t(12970),z={};z.styleTagTransform=k(),z.setAttributes=m(),z.insert=b().bind(null,"head"),z.domAPI=h(),z.insertStyleElement=A(),u()(x.A,z);const _=x.A&&x.A.locals?x.A.locals:void 0;var M=function(e){var n=e.allergy,t=e.patientUuid,i=(0,s.useTranslation)().t,l="tablet"===(0,a.useLayoutType)(),d=(0,o.useCallback)((function(){(0,a.launchWorkspace2)(c,{allergy:n,formContext:"editing"})}),[n]);return r().createElement(p.Wdr,{className:_.layer},r().createElement(p.obU,{"aria-label":i("editOrDeleteAllergy","Edit or delete allergy"),size:l?"lg":"sm",flipped:!0},r().createElement(p.XSD,{className:_.menuItem,id:"editAllergy",onClick:d,itemText:i("edit","Edit")}),r().createElement(p.XSD,{className:_.menuItem,id:"deleteAllergy",itemText:i("delete","Delete"),onClick:function(){return e=n.id,void(i=(0,a.showModal)("delete-allergy-modal",{closeDeleteModal:function(){return i()},allergyId:e,patientUuid:t}));var e,i},isDelete:!0,hasDivider:!0})))},C=t(59689),E={};E.styleTagTransform=k(),E.setAttributes=m(),E.insert=b().bind(null,"head"),E.domAPI=h(),E.insertStyleElement=A(),u()(C.A,E);const T=C.A&&C.A.locals?C.A.locals:void 0;function D(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){D(e,n,t[n])}))}return e}var S=t(14828),N={};N.styleTagTransform=k(),N.setAttributes=m(),N.insert=b().bind(null,"head"),N.domAPI=h(),N.insertStyleElement=A(),u()(S.A,N);const I=S.A&&S.A.locals?S.A.locals:void 0;var O=t(53373),B=t.n(O),F={severe:1,moderate:2,mild:3},q=t(2964),U={};U.styleTagTransform=k(),U.setAttributes=m(),U.insert=b().bind(null,"head"),U.domAPI=h(),U.insertStyleElement=A(),u()(q.A,U);const L=q.A&&q.A.locals?q.A.locals:void 0;var P="@openmrs/esm-patient-allergies-app";function R(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var W="@openmrs/esm-patient-allergies-app",G={featureName:"patient-allergies",moduleName:W},H=t(84767);function Q(){(0,a.messageOmrsServiceWorker)({type:"registerDynamicRoute",pattern:".+".concat(a.restBaseUrl,"/concept.+")}),(0,a.messageOmrsServiceWorker)({type:"registerDynamicRoute",pattern:".+".concat(a.restBaseUrl,"/patient/.+/allergy.+")}),(0,a.messageOmrsServiceWorker)({type:"registerDynamicRoute",pattern:".+".concat(a.fhirBaseUrl,"/AllergyIntolerance.+")}),(0,a.defineConfigSchema)(W,l)}var Y=(0,a.getSyncLifecycle)((function(e){var n=e.patient,t=(0,s.useTranslation)().t,l=(0,a.useLayoutType)(),f=(0,d.i2)(n.id),u=f.allergies,g=f.error,h=f.isLoading,y=f.isValidating,b="tablet"===l,$="small-desktop"===l||"large-desktop"===l,m=t("allergyIntolerances","allergy intolerances"),v=t("allergies","Allergies"),A=(0,o.useCallback)((function(){return(0,a.launchWorkspace2)(c)}),[]),w=[{key:"display",header:t("allergen","Allergen")},{key:"reactionSeverity",header:t("severityandReaction","Severity")},{key:"reaction",header:t("reaction","Reaction")},{key:"note",header:t("comments","Comments")}],k=(0,o.useMemo)((function(){return null==u?void 0:u.map((function(e){var n,i,l,o,r,s,p;return s=j({},e),p=null!=(p={lastUpdated:e.lastUpdated?(0,a.formatDate)((0,a.parseDate)(e.lastUpdated),{time:!1}):"--",note:null!==(l=null==e?void 0:e.note)&&void 0!==l?l:"--",reaction:null!==(o=null===(i=e.reactionManifestations)||void 0===i||null===(n=i.sort((function(e,n){return e.localeCompare(n)})))||void 0===n?void 0:n.join(", "))&&void 0!==o?o:"--",reactionSeverity:null!==(r=t(e.reactionSeverity))&&void 0!==r?r:"--"})?p:{},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(p)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(p)).forEach((function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(p,e))})),s}))}),[u,t]);return h?r().createElement(p.OOb,{role:"progressbar",compact:$,zebra:!0}):g?r().createElement(i.ErrorState,{error:g,headerTitle:v}):(null==u?void 0:u.length)?r().createElement("div",{className:T.widgetCard},r().createElement(i.CardHeader,{title:v},r().createElement("span",null,y?r().createElement(p.OuH,null):null),r().createElement(p.$nd,{kind:"ghost",renderIcon:function(e){return r().createElement(a.AddIcon,j({size:16},e))},iconDescription:"Add allergies",onClick:A},t("add","Add"))),r().createElement(p.bQt,{rows:k,headers:w,isSortable:!0,useZebraStyles:!0,size:b?"lg":"sm"},(function(e){var t=e.rows,a=e.headers,i=e.getHeaderProps,l=e.getTableProps;return r().createElement(p.K3K,null,r().createElement(p.XIK,j({"aria-label":"allergies summary"},l()),r().createElement(p.ndF,null,r().createElement(p.Hjg,null,a.map((function(e){return r().createElement(p.A0N,j({className:T.tableHeader},i({header:e})),e.header)})),r().createElement(p.A0N,null))),r().createElement(p.BFY,null,t.map((function(e){return r().createElement(p.Hjg,{key:e.id},e.cells.map((function(e){var n,t;return r().createElement(p.nA6,{key:e.id},null!==(t=null===(n=e.value)||void 0===n?void 0:n.content)&&void 0!==t?t:e.value)})),r().createElement(p.nA6,{className:"cds--table-column-menu"},r().createElement(M,{patientUuid:n.id,allergy:u.find((function(n){return n.id==e.id}))})))})))))}))):r().createElement(i.EmptyState,{displayText:m,headerTitle:v,launchForm:A})}),G),X=(0,a.getSyncLifecycle)((0,i.createDashboardLink)(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){R(e,n,t[n])}))}return e}({},{slot:"patient-chart-allergies-dashboard-slot",path:"Allergies",title:"Allergies",icon:"omrs-icon-warning"})),G),Z=(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(7038),t.e(8010),t.e(5563)]).then(t.bind(t,35563))}),G),V=(0,a.getSyncLifecycle)((function(e){var n=e.patientUuid,t=(0,s.useTranslation)().t,a=(0,d.i2)(n),i=a.allergies;return a.isLoading?r().createElement(p.yQP,null):(null==i?void 0:i.length)?r().createElement("div",null,r().createElement("p",{className:I.label},t("allergies","Allergies")),r().createElement("p",{className:I.content},r().createElement("span",{className:I.value},null==i?void 0:i.map((function(e){return null==e?void 0:e.display})).join(", ")))):r().createElement("div",null,r().createElement("p",{className:I.label},t("allergies","Allergies")),r().createElement("p",{className:I.content},t("unknown","Unknown")))}),G),K=(0,a.getSyncLifecycle)((function(e){var n=e.patientUuid,t=(0,d.i2)(n),i=t.allergies,l=t.isLoading,o=null==i?void 0:i.sort((function(e,n){return F[e.reactionSeverity]-F[n.reactionSeverity]}));return l?r().createElement("div",{className:L.container},r().createElement(p.yQP,null)):(null==o?void 0:o.length)?r().createElement("div",{className:B()(L.label,L.container)},r().createElement("span",null,(0,a.translateFrom)(P,"allergies","Allergies"),":"),o.map((function(e){var n,t;return r().createElement(p.m_M,{align:"bottom",key:e.id,label:"".concat(e.reactionToSubstance," - ").concat(e.reactionSeverity?(0,a.translateFrom)(P,e.reactionSeverity):(0,a.getCoreTranslation)("unknown"))},r().createElement(p.vwO,{className:L.allergyLabel,"data-severity":null===(n=e.reactionSeverity)||void 0===n?void 0:n.toLowerCase(),"data-testid":"allergy-tag-".concat(null===(t=e.reactionSeverity)||void 0===t?void 0:t.toLowerCase())},e.reactionToSubstance))}))):r().createElement("div",{className:B()(L.label,L.container)},(0,a.translateFrom)(P,"allergies","Allergies"),": ",(0,a.getCoreTranslation)("unknown"))}),G),J=(0,a.getAsyncLifecycle)((function(){return t.e(6884).then(t.bind(t,36884))}),G)},59689:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var a=t(30977),i=t.n(a),l=t(95924),o=t.n(l)()(i());o.push([e.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-allergies__allergies-detailed-summary__widgetCard___jMxZg{border:1px solid #e0e0e0;border-bottom:none}.-esm-patient-allergies__allergies-detailed-summary__allergyCriticality___7nrQE{display:flex;align-items:center;text-transform:uppercase}.-esm-patient-allergies__allergies-detailed-summary__allergySeverityHigh___nif7I{font-weight:800}.-esm-patient-allergies__allergies-detailed-summary__tableHeader___n0-\\+W{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/allergies/allergies-detailed-summary.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,wEACE,wBAAA,CACA,kBAAA,CAGF,gFACE,YAAA,CACA,kBAAA,CACA,wBAAA,CAGF,iFACE,eAAA,CAGF,0ECg1BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD90BF,aDbQ",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.widgetCard {\n border: 1px solid $ui-03;\n border-bottom: none;\n}\n\n.allergyCriticality {\n display: flex;\n align-items: center;\n text-transform: uppercase;\n}\n\n.allergySeverityHigh {\n font-weight: 800;\n}\n\n.tableHeader {\n @include type.type-style('heading-compact-01');\n color: $text-02;\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:""}]),o.locals={widgetCard:"-esm-patient-allergies__allergies-detailed-summary__widgetCard___jMxZg",allergyCriticality:"-esm-patient-allergies__allergies-detailed-summary__allergyCriticality___7nrQE",allergySeverityHigh:"-esm-patient-allergies__allergies-detailed-summary__allergySeverityHigh___nif7I",tableHeader:"-esm-patient-allergies__allergies-detailed-summary__tableHeader___n0-+W"};const r=o},84767:(e,n,t)=>{var a={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function i(e){if(!t.o(a,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],i=n[0];return t.e(n[1]).then((()=>t(i)))}i.keys=()=>Object.keys(a),i.id=84767,e.exports=i}}]);
|
package/dist/3357.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3357.js","mappings":"wNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,87CAA+7C,GAAG,CAAC,QAAU,EAA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O,mBACH2K,KAIR,IAAIE,EAAM9L,EAAIsL,GAAMtM,EAAK8M,EAAI,GAC7B,OAAOP,EAAoBK,EAAEE,EAAI,IAAIH,MAAK,IAClCJ,EAAoBvM,IAE7B,CACAqM,EAAoBU,KAAO,IAAOC,OAAOD,KAAK/L,GAC9CqL,EAAoBrM,GAAK,MACzBD,EAAOkN,QAAUZ,C","sources":["webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-list.scss","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-action-menu.scss","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergy-intolerance.resource.ts","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-tile.scss","webpack://@openmrs/esm-patient-allergies-app/./src/config-schema.ts","webpack://@openmrs/esm-patient-allergies-app/./src/constants.ts","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-action-menu.scss?2a05","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-action-menu.component.tsx","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-detailed-summary.scss?c68f","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-tile.scss?0a90","webpack://@openmrs/esm-patient-allergies-app/./src/utils.ts","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-list.scss?17c9","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-list.extension.tsx","webpack://@openmrs/esm-patient-allergies-app/./src/index.ts","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-detailed-summary.component.tsx","webpack://@openmrs/esm-patient-allergies-app/./src/dashboard.meta.ts","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-tile.extension.tsx","webpack://@openmrs/esm-patient-allergies-app/./src/allergies/allergies-detailed-summary.scss","webpack://@openmrs/esm-patient-allergies-app/./translations/ lazy nonrecursive .json$"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","useAllergies","patientUuid","data","allergiesUrl","fhirBaseUrl","useSWR","openmrsFetch","error","isLoading","isValidating","mutate","formattedAllergies","total","entry","map","resource","mapAllergyProperties","sort","a","b","lastUpdated","allergies","allergy","manifestations","reaction","manifestation","coding","text","clinicalStatus","display","criticality","code","recordedDate","recordedBy","recorder","recorderType","type","note","reactionToSubstance","substance","reactionManifestations","reactionSeverity","severity","meta","deletePatientAllergy","allergyUuid","abortController","restBaseUrl","method","signal","configSchema","concepts","drugAllergenUuid","_type","Type","ConceptUuid","_default","environmentalAllergenUuid","foodAllergenUuid","mildReactionUuid","moderateReactionUuid","severeReactionUuid","allergyReactionUuid","otherConceptUuid","patientAllergiesFormWorkspace","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","AllergiesActionMenu","useTranslation","t","isTablet","useLayoutType","launchEditAllergiesForm","useCallback","launchWorkspace2","formContext","Layer","className","styles","layer","OverflowMenu","aria-label","size","flipped","OverflowMenuItem","menuItem","onClick","itemText","allergyId","dispose","showModal","closeDeleteModal","isDelete","hasDivider","severityOrder","severe","moderate","mild","moduleName","featureName","importTranslation","require","startupApp","messageOmrsServiceWorker","pattern","defineConfigSchema","allergiesDetailedSummary","getSyncLifecycle","patient","layout","isDesktop","displayText","headerTitle","launchAllergiesForm","tableHeaders","key","header","tableRows","useMemo","formatDate","parseDate","time","localeCompare","join","DataTableSkeleton","role","compact","zebra","ErrorState","length","div","widgetCard","CardHeader","title","span","InlineLoading","Button","kind","renderIcon","props","AddIcon","iconDescription","DataTable","rows","headers","isSortable","useZebraStyles","getHeaderProps","getTableProps","TableContainer","Table","TableHead","TableRow","TableHeader","tableHeader","TableBody","row","cells","cell","TableCell","value","content","find","EmptyState","launchForm","allergiesDashboardLink","createDashboardLink","slot","path","icon","allergyFormWorkspace","getAsyncLifecycle","allergiesTile","TagSkeleton","p","label","allergiesList","sortedAllergies","container","classNames","translateFrom","Tooltip","align","getCoreTranslation","Tag","allergyLabel","data-severity","toLowerCase","data-testid","deleteAllergyModal","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","ids","keys","Object","exports"],"sourceRoot":""}
|
package/dist/3584.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[3584],{43584:e=>{e.exports=JSON.parse('{"add":"Add","allergen":"Allergen","allergenRequired":"Allergen is required","allergies":"Allergies","Allergies":"Allergies","allergyDeleted":"Allergy deleted","allergyIntolerances":"allergy intolerances","allergyNowVisible":"It is now visible on the Allergies page","allergySaved":"Allergy saved","allergySaveError":"Error saving allergy","allergyUpdated":"Allergy updated","atLeastOneReactionRequired":"At least one reaction is required","cancel":"Cancel","comments":"Comments","delete":"Delete","deleteModalConfirmationText":"Are you sure you want to delete this allergy?","deletePatientAllergy":"Delete allergy","deleting":"Deleting","discard":"Discard","edit":"Edit","editAllergy":"Edit an Allergy","editOrDeleteAllergy":"Edit or delete allergy","errorDeletingAllergy":"Error deleting allergy","loading":"Loading","mild":"Mild","moderate":"Moderate","name":"Name","nonCodedAllergenRequired":"Please specify the non-coded allergen","nonCodedAllergenWarningDescription":"Adding a custom allergen may impact system-wide allergy notifications. It\'s recommended to choose from the provided list for accurate alerts. Custom entries may not trigger notifications in all relevant contexts.","nonCodedAllergenWarningTitle":"Warning: Custom Allergen Entry","nonCodedAllergicReactionRequired":"Please specify the non-coded allergic reaction","other":"Other","otherNonCodedAllergen":"Other non-coded allergen","otherNonCodedAllergicReaction":"Other non-coded allergic reaction","reaction":"Reaction","reactions":"Reactions","recordNewAllergy":"Record a new allergy","saveAndClose":"Save and close","saving":"Saving","seeAll":"See all","selectAllergen":"Select the allergen","selectReactions":"Select the reactions","severe":"Severe","severityandReaction":"Severity","severityOfWorstReaction":"Severity of worst reaction","severityRequired":"Severity is required","typeAdditionalComments":"Type any additional comments here","typeAllergenName":"Please type in the name of the allergen","typeAllergicReactionName":"Please type in the name of the allergic reaction"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_allergies_app=globalThis.webpackChunk_openmrs_esm_patient_allergies_app||[]).push([[3584],{43584:e=>{e.exports=JSON.parse('{"add":"Add","allergen":"Allergen","allergenRequired":"Allergen is required","allergies":"Allergies","Allergies":"Allergies","allergyDeleted":"Allergy deleted","allergyIntolerances":"allergy intolerances","allergyNowVisible":"It is now visible on the Allergies page","allergySaved":"Allergy saved","allergySaveError":"Error saving allergy","allergyUpdated":"Allergy updated","atLeastOneReactionRequired":"At least one reaction is required","cancel":"Cancel","comments":"Comments","delete":"Delete","deleteModalConfirmationText":"Are you sure you want to delete this allergy?","deletePatientAllergy":"Delete allergy","deleting":"Deleting","discard":"Discard","edit":"Edit","editAllergy":"Edit an Allergy","editOrDeleteAllergy":"Edit or delete allergy","errorDeletingAllergy":"Error deleting allergy","loading":"Loading","mild":"Mild","moderate":"Moderate","name":"Name","nonCodedAllergenRequired":"Please specify the non-coded allergen","nonCodedAllergenWarningDescription":"Adding a custom allergen may impact system-wide allergy notifications. It\'s recommended to choose from the provided list for accurate alerts. Custom entries may not trigger notifications in all relevant contexts.","nonCodedAllergenWarningTitle":"Warning: Custom Allergen Entry","nonCodedAllergicReactionRequired":"Please specify the non-coded allergic reaction","other":"Other","otherNonCodedAllergen":"Other non-coded allergen","otherNonCodedAllergicReaction":"Other non-coded allergic reaction","reaction":"Reaction","reactions":"Reactions","recordNewAllergy":"Record a new allergy","saveAndClose":"Save and close","saving":"Saving","seeAll":"See all","selectAllergen":"Select the allergen","selectReactions":"Select the reactions","severe":"Severe","severityandReaction":"Severity","severityOfWorstReaction":"Severity of worst reaction","severityRequired":"Severity is required","typeAdditionalComments":"Type any additional comments here","typeAllergenName":"Please type in the name of the allergen","typeAllergicReactionName":"Please type in the name of the allergic reaction","unknown":"Unknown"}')}}]);
|