@openmrs/esm-patient-banner-app 11.3.1-pre.9360 → 11.3.1-pre.9365
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 +19 -20
- package/dist/1119.js +1 -1
- package/dist/1197.js +1 -1
- package/dist/2146.js +1 -1
- package/dist/2529.js +2 -0
- package/dist/2529.js.map +1 -0
- package/dist/2636.js +1 -1
- package/dist/2636.js.map +1 -1
- package/dist/2690.js +1 -1
- package/dist/3099.js +1 -1
- package/dist/3584.js +1 -1
- package/dist/4055.js +1 -1
- package/dist/4132.js +1 -1
- package/dist/4300.js +1 -1
- package/dist/4335.js +1 -1
- package/dist/439.js +1 -1
- 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/5661.js +1 -1
- package/dist/5763.js +1 -1
- package/dist/5763.js.map +1 -1
- package/dist/6022.js +1 -1
- package/dist/6468.js +1 -1
- package/dist/6589.js +1 -1
- package/dist/6679.js +1 -1
- package/dist/6840.js +1 -1
- package/dist/6859.js +1 -1
- package/dist/7097.js +1 -1
- package/dist/7159.js +1 -1
- package/dist/723.js +1 -1
- package/dist/7617.js +1 -1
- package/dist/795.js +1 -1
- package/dist/8163.js +1 -1
- package/dist/8349.js +1 -1
- package/dist/8371.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/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-banner-app.js +1 -1
- package/dist/openmrs-esm-patient-banner-app.js.buildmanifest.json +174 -270
- package/dist/openmrs-esm-patient-banner-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/config-schema.ts +0 -65
- package/src/index.ts +1 -20
- package/src/routes.json +0 -20
- package/translations/am.json +1 -9
- package/translations/ar.json +1 -9
- package/translations/ar_SY.json +1 -9
- package/translations/bn.json +1 -9
- package/translations/cs.json +1 -9
- package/translations/de.json +1 -9
- package/translations/en.json +1 -9
- package/translations/en_US.json +1 -9
- package/translations/es.json +1 -9
- package/translations/es_MX.json +1 -9
- package/translations/fr.json +1 -9
- package/translations/he.json +1 -9
- package/translations/hi.json +1 -9
- package/translations/hi_IN.json +1 -9
- package/translations/id.json +1 -9
- package/translations/it.json +1 -9
- package/translations/ka.json +1 -9
- package/translations/km.json +1 -9
- package/translations/ku.json +1 -9
- package/translations/ky.json +1 -9
- package/translations/lg.json +1 -9
- package/translations/ne.json +1 -9
- package/translations/pl.json +1 -9
- package/translations/pt.json +1 -9
- package/translations/pt_BR.json +1 -9
- package/translations/qu.json +1 -9
- package/translations/ro_RO.json +1 -9
- package/translations/ru_RU.json +1 -9
- package/translations/si.json +1 -9
- package/translations/sq.json +1 -9
- package/translations/sw.json +1 -9
- package/translations/sw_KE.json +1 -9
- package/translations/tr.json +1 -9
- package/translations/tr_TR.json +1 -9
- package/translations/uk.json +1 -9
- package/translations/uz.json +1 -9
- package/translations/uz@Latn.json +1 -9
- package/translations/uz_UZ.json +1 -9
- package/translations/vi.json +1 -9
- package/translations/zh.json +1 -9
- package/translations/zh_CN.json +1 -9
- package/translations/zh_TW.json +1 -9
- package/dist/44.js +0 -1
- package/dist/44.js.map +0 -1
- package/dist/508.js +0 -1
- package/dist/508.js.map +0 -1
- package/dist/5982.js +0 -1
- package/dist/5982.js.map +0 -1
- package/dist/8782.js +0 -2
- package/dist/8782.js.map +0 -1
- package/src/print-identifier-sticker/action-button.scss +0 -3
- package/src/print-identifier-sticker/patient-detail.component.tsx +0 -147
- package/src/print-identifier-sticker/print-identifier-sticker-action-button.component.tsx +0 -35
- package/src/print-identifier-sticker/print-identifier-sticker-modal.test.tsx +0 -131
- package/src/print-identifier-sticker/print-identifier-sticker.modal.tsx +0 -168
- package/src/print-identifier-sticker/print-identifier-sticker.resource.ts +0 -46
- package/src/print-identifier-sticker/print-identifier-sticker.scss +0 -88
- /package/dist/{8782.js.LICENSE.txt → 2529.js.LICENSE.txt} +0 -0
package/translations/lg.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/ne.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/pl.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/pt.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "Distrito",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Logotipo de implementação",
|
|
13
|
-
"patientAge": "Idade:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Data de nascimento:",
|
|
15
|
-
"patientGenderWithSeparator": "Sexo:",
|
|
16
|
-
"patientIdentifierSticker": "Etiqueta de Identificador do Utente",
|
|
17
|
-
"patientNameWithSeparator": "Nome do utente:",
|
|
18
12
|
"postalCode": "Caixa postal",
|
|
19
|
-
"printIdentifierSticker": "Imprimir etiqueta do identificador",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "Estado",
|
|
22
|
-
"stateProvince": "Estado"
|
|
23
|
-
"telephoneNumberWithSeparator": "Número de Telefone:"
|
|
15
|
+
"stateProvince": "Estado"
|
|
24
16
|
}
|
package/translations/pt_BR.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Falecido",
|
|
10
10
|
"district": "Estado",
|
|
11
11
|
"from_lower": "de",
|
|
12
|
-
"implementationLogo": "Logo de implementação",
|
|
13
|
-
"patientAge": "Idade:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Data de nascimento:",
|
|
15
|
-
"patientGenderWithSeparator": "Sexo:",
|
|
16
|
-
"patientIdentifierSticker": "Etiqueta de identificação do Paciente",
|
|
17
|
-
"patientNameWithSeparator": "Nome do Paciente:",
|
|
18
12
|
"postalCode": "Código postal CEP",
|
|
19
|
-
"printIdentifierSticker": "Imprimir etiqueta de identificação",
|
|
20
13
|
"started": "Iniciado",
|
|
21
14
|
"state": "Estado",
|
|
22
|
-
"stateProvince": "Estado"
|
|
23
|
-
"telephoneNumberWithSeparator": "Número de Telefone:"
|
|
15
|
+
"stateProvince": "Estado"
|
|
24
16
|
}
|
package/translations/qu.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/ro_RO.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Decedat",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "de la",
|
|
12
|
-
"implementationLogo": "Logo implementare",
|
|
13
|
-
"patientAge": "Vârstă:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Data nașterii:",
|
|
15
|
-
"patientGenderWithSeparator": "Sex:",
|
|
16
|
-
"patientIdentifierSticker": "Etichetă identificare pacient",
|
|
17
|
-
"patientNameWithSeparator": "Nume pacient:",
|
|
18
12
|
"postalCode": "Cod poștal",
|
|
19
|
-
"printIdentifierSticker": "Printează etichetă identificare",
|
|
20
13
|
"started": "Început",
|
|
21
14
|
"state": "Stat",
|
|
22
|
-
"stateProvince": "Stat/Provincie"
|
|
23
|
-
"telephoneNumberWithSeparator": "Număr de telefon:"
|
|
15
|
+
"stateProvince": "Stat/Provincie"
|
|
24
16
|
}
|
package/translations/ru_RU.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/si.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/sq.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/sw.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/sw_KE.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/tr.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/tr_TR.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/uk.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/uz.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/uz_UZ.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/vi.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "Huyện",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Logo triển khai",
|
|
13
|
-
"patientAge": "Tuổi\"",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Ngày sinh:",
|
|
15
|
-
"patientGenderWithSeparator": "Giới tính:",
|
|
16
|
-
"patientIdentifierSticker": "Nhãn dán nhận dạng bệnh nhân",
|
|
17
|
-
"patientNameWithSeparator": "Tên bệnh nhân:",
|
|
18
12
|
"postalCode": "Mã bưu chính",
|
|
19
|
-
"printIdentifierSticker": "In nhãn dán nhận dạng",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Số điện thoại:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/translations/zh.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "区县",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "患者标识符贴纸",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "邮政编码",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "省份",
|
|
22
|
-
"stateProvince": "省份"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "省份"
|
|
24
16
|
}
|
package/translations/zh_CN.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "已故的",
|
|
10
10
|
"district": "区县",
|
|
11
11
|
"from_lower": "从",
|
|
12
|
-
"implementationLogo": "实施图标",
|
|
13
|
-
"patientAge": "年龄",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "出生日期:",
|
|
15
|
-
"patientGenderWithSeparator": "性别:",
|
|
16
|
-
"patientIdentifierSticker": "患者标识符标签",
|
|
17
|
-
"patientNameWithSeparator": "患者姓名:",
|
|
18
12
|
"postalCode": "邮政编码",
|
|
19
|
-
"printIdentifierSticker": "患者标识符标签",
|
|
20
13
|
"started": "已开始",
|
|
21
14
|
"state": "省份",
|
|
22
|
-
"stateProvince": "省份"
|
|
23
|
-
"telephoneNumberWithSeparator": "电话号码:"
|
|
15
|
+
"stateProvince": "省份"
|
|
24
16
|
}
|
package/translations/zh_TW.json
CHANGED
|
@@ -9,16 +9,8 @@
|
|
|
9
9
|
"deceased": "Deceased",
|
|
10
10
|
"district": "District",
|
|
11
11
|
"from_lower": "from",
|
|
12
|
-
"implementationLogo": "Implementation logo",
|
|
13
|
-
"patientAge": "Age:",
|
|
14
|
-
"patientDateOfBirthWithSeparator": "Date of birth:",
|
|
15
|
-
"patientGenderWithSeparator": "Gender:",
|
|
16
|
-
"patientIdentifierSticker": "Patient identifier sticker",
|
|
17
|
-
"patientNameWithSeparator": "Patient name:",
|
|
18
12
|
"postalCode": "Postal code",
|
|
19
|
-
"printIdentifierSticker": "Print identifier sticker",
|
|
20
13
|
"started": "Started",
|
|
21
14
|
"state": "State",
|
|
22
|
-
"stateProvince": "State"
|
|
23
|
-
"telephoneNumberWithSeparator": "Telephone number:"
|
|
15
|
+
"stateProvince": "State"
|
|
24
16
|
}
|
package/dist/44.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_banner_app=globalThis.webpackChunk_openmrs_esm_patient_banner_app||[]).push([[44],{60044:(e,n,t)=>{t.r(n),t.d(n,{default:()=>W});var a=t(1343),i=t.n(a),r=t(15294),o=t.n(r),l=t(72339),s=t(30723),p=t(65348),c=t(54440),u=t(46372),d=t.n(u),g=t(72591),f=t.n(g),h=t(1740),y=t.n(h),m=t(88128),b=t.n(m),$=t(30855),A=t.n($),v=t(93051),k=t.n(v),w=t(73656),_=t.n(w),x=t(67897),C={};C.styleTagTransform=_(),C.setAttributes=A(),C.insert=b().bind(null,"head"),C.domAPI=y(),C.insertStyleElement=k(),f()(x.A,C);const z=x.A&&x.A.locals?x.A.locals:void 0;function E(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function M(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(e,n)||function(e,n){if(e){if("string"==typeof e)return E(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?E(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var N=function(e){var n=e.patient,t=(0,l.useTranslation)().t;return i().createElement("div",null,i().createElement("span",null,i().createElement("strong",{className:z.strong},t("patientNameWithSeparator","Patient name:"))),i().createElement("span",{className:z.patientDetail},(0,c.getPatientName)(n)))},B=function(e){var n=e.patient,t=(0,l.useTranslation)().t;return i().createElement("div",null,i().createElement("span",null,i().createElement("strong",{className:z.strong},t("patientAge","Age:"))),i().createElement("span",{className:z.patientDetail},(0,c.age)(n.birthDate)))},T=function(e){var n=e.patient,t=(0,l.useTranslation)().t;return i().createElement("div",null,i().createElement("span",null,i().createElement("strong",{className:z.strong},t("patientDateOfBirthWithSeparator","Date of birth:"))),i().createElement("span",{className:z.patientDetail},d()(n.birthDate).format("DD-MM-YYYY")))},D=function(e){var n=e.patient,t=(0,l.useTranslation)().t;return i().createElement("div",null,i().createElement("span",null,i().createElement("strong",{className:z.strong},t("patientGenderWithSeparator","Gender:"))),i().createElement("span",{className:z.patientDetail},function(e){switch(e){case"male":return(0,c.getCoreTranslation)("male","Male");case"female":return(0,c.getCoreTranslation)("female","Female");case"other":return(0,c.getCoreTranslation)("other","Other");case"unknown":return(0,c.getCoreTranslation)("unknown","Unknown");default:return e}}(n.gender)))},S=function(e){var n,t=e.patient,a=(0,c.useConfig)().printPatientSticker,r=(null!=a?a:{}).identifiersToDisplay,o=0===(null!=r?r:[]).length?t.identifier:null===(n=t.identifier)||void 0===n?void 0:n.filter((function(e){return r.includes(e.type.coding[0].code)}));return i().createElement("div",null,null==o?void 0:o.map((function(e){return i().createElement("div",{key:e.id},i().createElement("span",null,i().createElement("strong",{className:z.strong},e.type.text,":")),i().createElement("span",{className:z.patientDetail},e.value))})))},I=function(e){var n,t,a,r=e.patient,o=(0,l.useTranslation)().t;return(null==r||null===(n=r.telecom)||void 0===n?void 0:n.length)?i().createElement("div",null,i().createElement("span",null,i().createElement("strong",{className:z.strong},o("telephoneNumberWithSeparator","Telephone number:"))),i().createElement("span",{className:z.patientDetail},null===(a=r.telecom)||void 0===a||null===(t=a[0])||void 0===t?void 0:t.value)):null},P=function(e){var n,t=e.patient,a=null==t||null===(n=t.address)||void 0===n?void 0:n.find((function(e){return"home"===e.use})),r=function(e){return e.split("#")[1]};return i().createElement(i().Fragment,null,a?Object.entries(a).filter((function(e){var n=M(e,1)[0];return"id"!==n&&"use"!==n})).map((function(e){var n,t,o,l=M(e,2),s=l[0],p=l[1];return"extension"===s?null===(o=a.extension)||void 0===o||null===(t=o[0])||void 0===t||null===(n=t.extension)||void 0===n?void 0:n.map((function(e,n){return i().createElement("div",{key:"address-".concat(s,"-").concat(n)},i().createElement("span",{className:z.strong},(0,c.getCoreTranslation)(r(e.url),r(e.url)),":"),i().createElement("span",{className:z.patientDetail},e.valueString))})):i().createElement("div",{key:"address-".concat(s)},i().createElement("span",{className:z.strong},(0,c.getCoreTranslation)(s,s),":"),i().createElement("span",{className:z.patientDetail},p))})):i().createElement("li",null,"--"))},O={width:2,format:"CODE39",background:"#f4f4f4",displayValue:!0,renderer:"img",font:"IBM Plex Sans",textAlign:"center",textPosition:"bottom",fontSize:16};function j(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function F(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var q=function(e){var n,t,a,r,l=e.patient,s=(0,c.useConfig)().printPatientSticker,p=null==l||null===(t=l.identifier)||void 0===t||null===(n=t.find((function(e){return"official"===e.use})))||void 0===n?void 0:n.value;return i().createElement("div",{className:z.stickerContainer},i().createElement("div",{className:z.documentHeader},(null==s||null===(a=s.header)||void 0===a?void 0:a.showBarcode)&&i().createElement(o(),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){F(e,n,t[n])}))}return e}({value:p},O)),(null==s||null===(r=s.header)||void 0===r?void 0:r.showLogo)&&i().createElement("div",{className:z.implementationLogo},i().createElement(L,null))),s.fields.map((function(e){var n=function(e){switch(e){case"name":return N;case"age":return B;case"dob":return T;case"gender":return D;case"identifier":return S;case"contact":return I;case"address":return P;default:return console.error("Invalid patient field: ".concat(e)),null}}(e);return i().createElement(n,{key:e,patient:l})})))},L=function(){var e,n,t=(0,l.useTranslation)().t,a=(0,c.useConfig)().printPatientSticker;return(null==a||null===(e=a.header)||void 0===e?void 0:e.logo)?i().createElement("img",{alt:t("implementationLogo","Implementation logo"),src:null==a||null===(n=a.header)||void 0===n?void 0:n.logo}):i().createElement("svg",{"data-testid":"openmrs-logo",role:"img",viewBox:"0 0 380 119",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.29 40.328a27.755 27.755 0 0 1 19.688-8.154c7.669 0 14.613 3.102 19.647 8.116l.02-18.54A42.835 42.835 0 0 0 59.978 17c-7.089 0-13.813 1.93-19.709 4.968l.021 18.36ZM79.645 79.671a27.744 27.744 0 0 1-19.684 8.154c-7.67 0-14.614-3.101-19.651-8.116l-.02 18.54A42.857 42.857 0 0 0 59.96 103a42.833 42.833 0 0 0 19.672-4.751l.013-18.578ZM40.328 79.696c-5.038-5.037-8.154-11.995-8.154-19.685 0-7.669 3.102-14.612 8.116-19.65l-18.54-.02A42.85 42.85 0 0 0 17 60.012a42.819 42.819 0 0 0 4.752 19.672l18.576.013ZM79.634 40.289a27.753 27.753 0 0 1 8.154 19.688 27.744 27.744 0 0 1-8.117 19.646l18.542.02a42.842 42.842 0 0 0 4.749-19.666c0-7.09-1.714-13.779-4.751-19.675l-18.577-.013ZM156.184 60.002c0-8.748-6.118-15.776-15.025-15.776-8.909 0-15.025 7.028-15.025 15.776 0 8.749 6.116 15.78 15.025 15.78 8.907 0 15.025-7.031 15.025-15.78Zm-34.881 0c0-11.482 8.318-19.958 19.856-19.958 11.536 0 19.855 8.477 19.855 19.959 0 11.484-8.319 19.964-19.855 19.964-11.538 0-19.856-8.48-19.856-19.965ZM179.514 75.54c5.507 0 9.05-4.14 9.05-9.482 0-5.341-3.543-9.483-9.05-9.483-5.505 0-9.046 4.142-9.046 9.483 0 5.342 3.541 9.482 9.046 9.482ZM166.22 53.306h4.248v3.704h.11c2.344-2.725 5.449-4.36 9.154-4.36 8.014 0 13.408 5.67 13.408 13.408 0 7.63-5.613 13.406-12.752 13.406-4.58 0-8.231-2.29-9.81-5.178h-.11V90.87h-4.248V53.306ZM217.773 63.768c-.163-4.305-3-7.193-7.686-7.193-4.685 0-7.79 2.888-8.335 7.193h16.021Zm3.653 10.412c-3.001 3.868-6.596 5.284-11.339 5.284-8.01 0-12.914-5.993-12.914-13.406 0-7.901 5.559-13.407 13.08-13.407 7.196 0 12.096 4.906 12.096 13.354v1.362h-20.597c.325 4.413 3.704 8.173 8.335 8.173 3.65 0 6.105-1.307 8.12-3.868l3.219 2.508ZM227.854 59.356c0-2.346-.216-4.36-.216-6.05h4.031c0 1.363.11 2.777.11 4.195h.11c1.144-2.505 4.306-4.85 8.5-4.85 6.705 0 9.699 4.252 9.699 10.41v15.748h-4.248v-15.31c0-4.253-1.856-6.924-5.833-6.924-5.503 0-7.903 3.979-7.903 9.811V78.81h-4.25V59.356ZM259.211 41.008h6.708L278.8 70.791h.107l12.982-29.782h6.549v37.99h-4.506V47.124h-.106L280.192 79h-2.738l-13.629-31.875h-.107V79h-4.507V41.01ZM312.392 57.752h4.023c4.992 0 11.487 0 11.487-6.282 0-5.47-4.776-6.276-9.177-6.276h-6.333v12.558Zm-4.506-16.744h9.711c7.352 0 15.132 1.072 15.132 10.462 0 5.527-3.594 9.125-9.495 10.037L334.018 79h-5.525l-10.304-17.063h-5.797V79h-4.506V41.01ZM358.123 47.712c-1.506-2.413-4.187-3.486-6.926-3.486-3.973 0-8.1 1.88-8.1 6.385 0 3.49 1.931 5.047 7.994 6.98 5.903 1.878 11.377 3.809 11.377 11.267 0 7.567-6.495 11.11-13.36 11.11-4.402 0-9.125-1.45-11.7-5.262l3.862-3.165c1.61 2.794 4.83 4.24 8.105 4.24 3.862 0 8.263-2.253 8.263-6.601 0-4.669-3.165-5.474-9.928-7.728-5.366-1.771-9.442-4.134-9.442-10.463 0-7.298 6.277-10.945 12.929-10.945 4.241 0 7.836 1.178 10.625 4.45l-3.699 3.218Z"}))};const W=function(e){var n,t,r=e.closeModal,o=e.patient,u=(0,l.useTranslation)().t,d=(0,c.useConfig)().printPatientSticker,g=null!=d?d:{},f=g.pageSize,h=g.printScale,y=void 0===h?"1":h,m=(0,a.useRef)(null),b=(0,a.useRef)(null),$=(n=(0,a.useState)(!1),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(n,t)||function(e,n){if(e){if("string"==typeof e)return j(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?j(e,n):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),A=$[0],v=$[1],k=u("patientIdentifierSticker","Patient identifier sticker");(0,a.useEffect)((function(){A&&b.current&&b.current()}),[A]);var w=(0,a.useCallback)((function(){return new Promise((function(e){o&&k&&(b.current=e,v(!0))}))}),[k,o]),_=(0,a.useCallback)((function(){b.current=null,v(!1),r()}),[r]),x=(0,a.useCallback)((function(e,n){b.current=null,(0,c.showSnackbar)({isLowContrast:!1,kind:"error",title:(0,c.getCoreTranslation)("printError","Print error"),subtitle:(0,c.getCoreTranslation)("printErrorExplainer",'An error occurred in "{{errorLocation}}": ',{errorLocation:e})+n}),v(!1)}),[]),C=(0,a.useCallback)((function(e){return new Promise((function(n){if(e){var t,a,i=e.contentDocument||(null===(t=e.contentWindow)||void 0===t?void 0:t.document);i&&(i.documentElement.style.setProperty("--print-scale",y),null===(a=e.contentWindow)||void 0===a||a.print(),n())}}))}),[y]),E=(0,s.useReactToPrint)({content:function(){return m.current},documentTitle:"".concat((0,c.getPatientName)(o)," - ").concat(k),onAfterPrint:_,onBeforeGetContent:w,onPrintError:x,print:C,copyStyles:!0});return i().createElement(i().Fragment,null,i().createElement(p.rQ0,{closeModal:r,title:(0,c.getCoreTranslation)("printIdentifierSticker","Print identifier sticker")}),i().createElement(p.cwr,null,i().createElement("div",{ref:m},i().createElement("style",{type:"text/css",media:"print"},"\n @page {\n size: ".concat(f,";\n }\n ")),i().createElement(q,{patient:o}))),i().createElement(p.jlY,null,i().createElement(p.$nd,{kind:"secondary",onClick:r},(0,c.getCoreTranslation)("cancel","Cancel")),i().createElement(p.$nd,{className:z.button,disabled:A,onClick:E,kind:"primary"},A?i().createElement(p.OuH,{className:z.loader,description:(0,c.getCoreTranslation)("printing","Printing")+"..."}):(0,c.getCoreTranslation)("print","Print"))))}},67897:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(30977),i=t.n(a),r=t(95924),o=t.n(r)()(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-banner__print-identifier-sticker__stickerContainer___fACez{padding:.5rem 1rem}.-esm-patient-banner__print-identifier-sticker__documentHeader___\\+VvlP{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #005d5d;margin-bottom:1rem}.-esm-patient-banner__print-identifier-sticker__row___lOCQ5{margin:.5rem 0 0;display:flex;flex-flow:row wrap;gap:1rem}.-esm-patient-banner__print-identifier-sticker__gridRow___px0bB{padding:0px;display:flex;flex-direction:row;justify-content:space-between}.-esm-patient-banner__print-identifier-sticker__gridRow___px0bB div{margin-left:0px;margin-bottom:5px}.-esm-patient-banner__print-identifier-sticker__patientName___UB2hY{font-size:1.5rem;font-weight:bolder;margin-bottom:5px}.-esm-patient-banner__print-identifier-sticker__button___qezrM .cds--inline-loading{min-height:1rem !important}.-esm-patient-banner__print-identifier-sticker__detailsGrid___K5USL{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:.5rem 0;margin-top:.5rem}.-esm-patient-banner__print-identifier-sticker__loader___1razf .cds--inline-loading__text{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-patient-banner__print-identifier-sticker__strong___9gFNw{font-size:var(--cds-heading-04-font-size, 1.75rem);font-weight:var(--cds-heading-04-font-weight, 400);line-height:var(--cds-heading-04-line-height, 1.28572);letter-spacing:var(--cds-heading-04-letter-spacing, 0);font-weight:700;margin-inline-end:.5rem}.-esm-patient-banner__print-identifier-sticker__patientDetail___AmJVj{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}.-esm-patient-banner__print-identifier-sticker__implementationLogo___\\+ZMh6{width:40%}@media print{html,body{height:100vh;margin:0 !important;padding:0 !important;overflow:hidden}.-esm-patient-banner__print-identifier-sticker__stickerContainer___fACez{transform:scale(var(--print-scale));transform-origin:left top}}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/print-identifier-sticker/print-identifier-sticker.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.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,CCzDF,yEACE,kBAAA,CAGF,wEACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,+BAAA,CACA,kBCkBW,CDfb,4DACE,gBAAA,CACA,YAAA,CACA,kBAAA,CACA,QCWW,CDRb,gEACE,WAAA,CACA,YAAA,CACA,kBAAA,CACA,6BAAA,CAEA,oEACE,eAAA,CACA,iBAAA,CAIJ,oEACE,gBAAA,CACA,kBAAA,CACA,iBAAA,CAIA,oFACE,0BAAA,CAIJ,oEACE,YAAA,CACA,+CAAA,CACA,WAAA,CACA,gBC9BW,CDkCX,0FE2yBE,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CFtyBJ,+DEsyBI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,sDAAA,CFpyBF,eAAA,CACA,uBC1CW,CD6Cb,sEEgyBI,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CF5xBJ,4EACE,SAAA,CAGF,aACE,UAEE,YAAA,CACA,mBAAA,CACA,oBAAA,CACA,eAAA,CAGF,yEACE,mCAAA,CACA,yBAAA,CAAA",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/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.stickerContainer {\n padding: layout.$spacing-03 layout.$spacing-05;\n}\n\n.documentHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid $brand-01;\n margin-bottom: layout.$spacing-05;\n}\n\n.row {\n margin: layout.$spacing-03 0 0;\n display: flex;\n flex-flow: row wrap;\n gap: layout.$spacing-05;\n}\n\n.gridRow {\n padding: 0px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n div {\n margin-left: 0px;\n margin-bottom: 5px;\n }\n}\n\n.patientName {\n font-size: layout.$spacing-06;\n font-weight: bolder;\n margin-bottom: 5px;\n}\n\n.button {\n :global(.cds--inline-loading) {\n min-height: layout.$spacing-05 !important;\n }\n}\n\n.detailsGrid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: layout.$spacing-03 0;\n margin-top: layout.$spacing-03;\n}\n\n.loader {\n :global(.cds--inline-loading__text) {\n @include type.type-style('body-01');\n }\n}\n\n.strong {\n @include type.type-style('heading-04');\n font-weight: 700;\n margin-inline-end: layout.$spacing-03;\n}\n\n.patientDetail {\n @include type.type-style('heading-03');\n}\n\n.implementationLogo {\n width: 40%;\n}\n\n@media print {\n html,\n body {\n height: 100vh;\n margin: 0 !important;\n padding: 0 !important;\n overflow: hidden;\n }\n\n .stickerContainer {\n transform: scale(var(--print-scale));\n transform-origin: left top;\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","//\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={stickerContainer:"-esm-patient-banner__print-identifier-sticker__stickerContainer___fACez",documentHeader:"-esm-patient-banner__print-identifier-sticker__documentHeader___+VvlP",row:"-esm-patient-banner__print-identifier-sticker__row___lOCQ5",gridRow:"-esm-patient-banner__print-identifier-sticker__gridRow___px0bB",patientName:"-esm-patient-banner__print-identifier-sticker__patientName___UB2hY",button:"-esm-patient-banner__print-identifier-sticker__button___qezrM",detailsGrid:"-esm-patient-banner__print-identifier-sticker__detailsGrid___K5USL",loader:"-esm-patient-banner__print-identifier-sticker__loader___1razf",strong:"-esm-patient-banner__print-identifier-sticker__strong___9gFNw",patientDetail:"-esm-patient-banner__print-identifier-sticker__patientDetail___AmJVj",implementationLogo:"-esm-patient-banner__print-identifier-sticker__implementationLogo___+ZMh6"};const l=o}}]);
|
package/dist/44.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"44.js","mappings":"waAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQM,OAAS,IAAQA,YAASC,E,+7BCf5D,IAAMC,EAA4C,Y,IAAGC,EAAAA,EAAAA,QACpD,GAAQC,EAAAA,EAAAA,kBAANC,EACR,OACE,kBAACC,MAAAA,KACC,kBAACC,OAAAA,KACC,kBAACC,SAAAA,CAAOC,UAAWC,EAAOF,QAASH,EAAE,2BAA4B,mBAEnE,kBAACE,OAAAA,CAAKE,UAAWC,EAAOC,gBAAgBC,EAAAA,EAAAA,gBAAeT,IAG7D,EAEaU,EAA2C,Y,IAAGV,EAAAA,EAAAA,QACnD,GAAQC,EAAAA,EAAAA,kBAANC,EACR,OACE,kBAACC,MAAAA,KACC,kBAACC,OAAAA,KACC,kBAACC,SAAAA,CAAOC,UAAWC,EAAOF,QAASH,EAAE,aAAc,UAErD,kBAACE,OAAAA,CAAKE,UAAWC,EAAOC,gBAAgBG,EAAAA,EAAAA,KAAIX,EAAQY,YAG1D,EAEaC,EAA2C,Y,IAAGb,EAAAA,EAAAA,QACnD,GAAQC,EAAAA,EAAAA,kBAANC,EACR,OACE,kBAACC,MAAAA,KACC,kBAACC,OAAAA,KACC,kBAACC,SAAAA,CAAOC,UAAWC,EAAOF,QAASH,EAAE,kCAAmC,oBAE1E,kBAACE,OAAAA,CAAKE,UAAWC,EAAOC,eAAgBM,IAAMd,EAAQY,WAAWG,OAAO,eAG9E,EAEaC,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AAA,CAAIqI,IAAKzC,GACR,kBAAC4B,QAAAA,CAAM9F,KAAK,WAAW4G,MAAM,SAC1B,kDAEoB,OAAT5C,EAAS,qCAIvB,kBAAC9B,EAAAA,CAAe/D,QAASA,MAG7B,kBAAC0I,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAAC1B,KAAK,YAAY2B,QAAShD,IAC/B1E,EAAAA,EAAAA,oBAAmB,SAAU,WAEhC,kBAACyH,EAAAA,IAAMA,CAACrI,UAAWC,EAAOsI,OAAQC,SAAU3C,EAAYyC,QAASd,EAAab,KAAK,WAChFd,EACC,kBAAC4C,EAAAA,IAAaA,CAACzI,UAAWC,EAAOyI,OAAQC,aAAa/H,EAAAA,EAAAA,oBAAmB,WAAY,YAAc,SAEnGA,EAAAA,EAAAA,oBAAmB,QAAS,WAMxC,C,sECzHIgI,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOlH,GAAI,wgFAAygF,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,yEAAyE,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,uqBAAuqB,eAAiB,CAAC,g/DAAg/D,ujDAAujD,05DAA05D,w8uBAAw8uB,WAAa,MAEj9gCgH,EAAwBrJ,OAAS,CAChC,iBAAoB,0EACpB,eAAkB,wEAClB,IAAO,6DACP,QAAW,iEACX,YAAe,qEACf,OAAU,gEACV,YAAe,qEACf,OAAU,gEACV,OAAU,gEACV,cAAiB,uEACjB,mBAAsB,6EAEvB,S","sources":["webpack://@openmrs/esm-patient-banner-app/./src/print-identifier-sticker/print-identifier-sticker.scss?0e7d","webpack://@openmrs/esm-patient-banner-app/./src/print-identifier-sticker/patient-detail.component.tsx","webpack://@openmrs/esm-patient-banner-app/./src/print-identifier-sticker/print-identifier-sticker.resource.ts","webpack://@openmrs/esm-patient-banner-app/./src/print-identifier-sticker/print-identifier-sticker.modal.tsx","webpack://@openmrs/esm-patient-banner-app/./src/print-identifier-sticker/print-identifier-sticker.scss"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","undefined","PatientName","patient","useTranslation","t","div","span","strong","className","styles","patientDetail","getPatientName","PatientAge","age","birthDate","PatientDob","dayjs","format","PatientGender","gender","getCoreTranslation","getGender","PatientIdentifier","useConfig","printPatientSticker","identifiersToDisplay","patientIdentifiers","length","identifier","filter","includes","type","coding","code","map","key","id","text","value","PatientContact","telecom","PatientAddress","address","find","a","use","getAddressKey","url","split","Object","entries","extension","add","i","valueString","li","defaultBarcodeParams","width","background","displayValue","renderer","font","textAlign","textPosition","fontSize","PrintComponent","primaryIdentifierValue","stickerContainer","documentHeader","header","showBarcode","Barcode","showLogo","implementationLogo","ImplementationLogo","fields","field","Component","console","error","getPatientField","logo","img","alt","src","svg","data-testid","role","viewBox","xmlns","path","fillRule","clipRule","d","closeModal","pageSize","printScale","contentToPrintRef","useRef","onBeforeGetContentResolve","useState","isPrinting","setIsPrinting","headerTitle","useEffect","current","handleBeforeGetContent","useCallback","Promise","resolve","handleAfterPrint","handlePrintError","errorLocation","showSnackbar","isLowContrast","kind","title","subtitle","handleInitiatePrint","printWindow","printContent","contentDocument","contentWindow","document","documentElement","style","setProperty","print","handlePrint","useReactToPrint","content","documentTitle","onAfterPrint","onBeforeGetContent","onPrintError","copyStyles","ModalHeader","ModalBody","ref","media","ModalFooter","Button","onClick","button","disabled","InlineLoading","loader","description","___CSS_LOADER_EXPORT___","push","module"],"sourceRoot":""}
|
package/dist/508.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_banner_app=globalThis.webpackChunk_openmrs_esm_patient_banner_app||[]).push([[508],{22095:(n,e,t)=>{t.d(e,{A:()=>o});var i=t(30977),a=t.n(i),s=t(95924),r=t.n(s)()(a());r.push([n.id,".-esm-patient-banner__action-button__menuitem___g01w7{max-width:none}","",{version:3,sources:["webpack://./src/print-identifier-sticker/action-button.scss"],names:[],mappings:"AAAA,sDACE,cAAA",sourcesContent:[".menuitem {\n max-width: none;\n}\n"],sourceRoot:""}]),r.locals={menuitem:"-esm-patient-banner__action-button__menuitem___g01w7"};const o=r},90508:(n,e,t)=>{t.r(e),t.d(e,{default:()=>C});var i=t(1343),a=t.n(i),s=t(72339),r=t(65348),o=t(54440),c=t(72591),l=t.n(c),u=t(1740),m=t.n(u),p=t(88128),_=t.n(p),d=t(30855),b=t.n(d),A=t(93051),k=t.n(A),f=t(73656),h=t.n(f),w=t(22095),g={};g.styleTagTransform=h(),g.setAttributes=b(),g.insert=_().bind(null,"head"),g.domAPI=m(),g.insertStyleElement=k(),l()(w.A,g);const v=w.A&&w.A.locals?w.A.locals:void 0,C=function(n){var e=n.patient,t=(0,s.useTranslation)().t,c=(0,o.useFeatureFlag)("print-patient-identifier-sticker"),l=(0,i.useCallback)((function(){var n=(0,o.showModal)("print-identifier-sticker-modal",{closeModal:function(){return n()},patient:e})}),[e]);return e&&c?a().createElement(r.XSD,{className:v.menuitem,itemText:t("printIdentifierSticker","Print identifier sticker"),onClick:l}):null}}}]);
|
package/dist/508.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"508.js","mappings":"kNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,wEAAyE,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,+DAA+D,MAAQ,GAAG,SAAW,kBAAkB,eAAiB,CAAC,wCAAwC,WAAa,MAE3TH,EAAwBI,OAAS,CAChC,SAAY,wDAEb,S,0OCCIC,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQD,OAAS,IAAQA,YAASO,ECQnE,EAxBsG,Y,IAAGC,EAAAA,EAAAA,QACjG,GAAQC,EAAAA,EAAAA,kBAANC,EACFC,GAAmCC,EAAAA,EAAAA,gBAAe,oCAElDC,GAAoBC,EAAAA,EAAAA,cAAY,WACpC,IAAMC,GAAUC,EAAAA,EAAAA,WAAU,iCAAkC,CAC1DC,WAAY,W,OAAMF,G,EAClBP,QAAAA,GAEJ,GAAG,CAACA,IAEJ,OAAKA,GAAYG,EAKf,kBAACO,EAAAA,IAAgBA,CACfC,UAAWC,EAAOC,SAClBC,SAAUZ,EAAE,yBAA0B,4BACtCa,QAASV,IAPJ,IAUX,C","sources":["webpack://@openmrs/esm-patient-banner-app/./src/print-identifier-sticker/action-button.scss","webpack://@openmrs/esm-patient-banner-app/./src/print-identifier-sticker/action-button.scss?f33c","webpack://@openmrs/esm-patient-banner-app/./src/print-identifier-sticker/print-identifier-sticker-action-button.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","patient","useTranslation","t","canPrintPatientIdentifierSticker","useFeatureFlag","handleLaunchModal","useCallback","dispose","showModal","closeModal","OverflowMenuItem","className","styles","menuitem","itemText","onClick"],"sourceRoot":""}
|