@icap-ethiopia/esm-ethiohri-intake 1.0.0-pre.8 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +400 -400
- package/README.md +46 -46
- package/dist/main.js +4914 -1
- package/dist/main.js.map +1 -1
- package/dist/node_modules_dayjs_dayjs_min_js.js +14 -0
- package/dist/node_modules_dayjs_dayjs_min_js.js.map +1 -0
- package/dist/openmrs-esm-ethio-template-app.js +4696 -1
- package/dist/openmrs-esm-ethio-template-app.js.buildmanifest.json +233 -249
- package/dist/openmrs-esm-ethio-template-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/dist/src_forms_family-information_tsx.js +934 -0
- package/dist/src_forms_family-information_tsx.js.map +1 -0
- package/dist/src_forms_intake-a-form_tsx.js +2367 -0
- package/dist/src_forms_intake-a-form_tsx.js.map +1 -0
- package/dist/src_forms_intake-b-form_tsx.js +2684 -0
- package/dist/src_forms_intake-b-form_tsx.js.map +1 -0
- package/dist/src_forms_intake-form_scss-src_forms_hooks_createEncounter_ts-src_forms_hooks_defaultValuesFr-54076e.js +2871 -0
- package/dist/src_forms_intake-form_scss-src_forms_hooks_createEncounter_ts-src_forms_hooks_defaultValuesFr-54076e.js.map +1 -0
- package/dist/src_forms_phdp-form_tsx.js +470 -0
- package/dist/src_forms_phdp-form_tsx.js.map +1 -0
- package/dist/src_index_ts.js +255 -0
- package/dist/src_index_ts.js.map +1 -0
- package/dist/src_intake_index_tsx.js +2738 -0
- package/dist/src_intake_index_tsx.js.map +1 -0
- package/dist/src_root_component_tsx.js +615 -0
- package/dist/src_root_component_tsx.js.map +1 -0
- package/dist/src_utils_Delete-Encounter_modal_tsx.js +396 -0
- package/dist/src_utils_Delete-Encounter_modal_tsx.js.map +1 -0
- package/dist/translations_am_json.js +14 -0
- package/dist/translations_en_json.js +14 -0
- package/dist/translations_es_json.js +14 -0
- package/dist/translations_fr_json.js +14 -0
- package/dist/translations_he_json.js +14 -0
- package/dist/translations_km_json.js +14 -0
- package/dist/vendors-node_modules_carbon_react_es_index_js-node_modules_swr_dist_core_index_mjs.js +132608 -0
- package/dist/vendors-node_modules_carbon_react_es_index_js-node_modules_swr_dist_core_index_mjs.js.map +1 -0
- package/dist/vendors-node_modules_openmrs_esm-framework_src_internal_ts.js +35952 -0
- package/dist/vendors-node_modules_openmrs_esm-framework_src_internal_ts.js.map +1 -0
- package/dist/vendors-node_modules_openmrs_esm-patient-common-lib_src_index_ts-node_modules_openmrs_esm-pat-24e5c8.js +4695 -0
- package/dist/vendors-node_modules_openmrs_esm-patient-common-lib_src_index_ts-node_modules_openmrs_esm-pat-24e5c8.js.map +1 -0
- package/dist/vendors-node_modules_openmrs_node_modules_css-loader_dist_runtime_api_js-node_modules_openmrs-205702.js +3059 -0
- package/dist/vendors-node_modules_openmrs_node_modules_css-loader_dist_runtime_api_js-node_modules_openmrs-205702.js.map +1 -0
- package/dist/vendors-node_modules_react-i18next_dist_es_index_js.js +1424 -0
- package/dist/vendors-node_modules_react-i18next_dist_es_index_js.js.map +1 -0
- package/dist/vendors-node_modules_react-router-dom_dist_index_js.js +6574 -0
- package/dist/vendors-node_modules_react-router-dom_dist_index_js.js.map +1 -0
- package/dist/vendors-node_modules_react_index_js.js +2770 -0
- package/dist/vendors-node_modules_react_index_js.js.map +1 -0
- package/package.json +121 -121
- package/src/index.ts +34 -34
- package/dist/151.js +0 -2
- package/dist/151.js.LICENSE.txt +0 -3
- package/dist/151.js.map +0 -1
- package/dist/159.js +0 -1
- package/dist/159.js.map +0 -1
- package/dist/197.js +0 -1
- package/dist/222.js +0 -2
- package/dist/222.js.LICENSE.txt +0 -5
- package/dist/222.js.map +0 -1
- package/dist/282.js +0 -2
- package/dist/282.js.LICENSE.txt +0 -32
- package/dist/282.js.map +0 -1
- package/dist/300.js +0 -1
- package/dist/319.js +0 -1
- package/dist/319.js.map +0 -1
- package/dist/335.js +0 -1
- package/dist/353.js +0 -1
- package/dist/353.js.map +0 -1
- package/dist/404.js +0 -2
- package/dist/404.js.LICENSE.txt +0 -45
- package/dist/404.js.map +0 -1
- package/dist/410.js +0 -1
- package/dist/410.js.map +0 -1
- package/dist/475.js +0 -1
- package/dist/475.js.map +0 -1
- package/dist/540.js +0 -2
- package/dist/540.js.LICENSE.txt +0 -9
- package/dist/540.js.map +0 -1
- package/dist/55.js +0 -1
- package/dist/652.js +0 -1
- package/dist/692.js +0 -1
- package/dist/692.js.map +0 -1
- package/dist/712.js +0 -1
- package/dist/712.js.map +0 -1
- package/dist/912.js +0 -1
- package/dist/912.js.map +0 -1
- package/dist/917.js +0 -1
- package/dist/917.js.map +0 -1
- package/dist/937.js +0 -1
- package/dist/937.js.map +0 -1
- package/dist/940.js +0 -1
- package/dist/940.js.map +0 -1
- package/dist/979.js +0 -1
- package/dist/979.js.map +0 -1
- package/dist/99.js +0 -1
|
@@ -0,0 +1,615 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
(globalThis["webpackChunk_icap_ethiopia_esm_ethiohri_intake"] = globalThis["webpackChunk_icap_ethiopia_esm_ethiohri_intake"] || []).push([["src_root_component_tsx"],{
|
|
3
|
+
|
|
4
|
+
/***/ "./node_modules/openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/root.scss":
|
|
5
|
+
/*!******************************************************************************************************************************************************************************************************!*\
|
|
6
|
+
!*** ./node_modules/openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/root.scss ***!
|
|
7
|
+
\******************************************************************************************************************************************************************************************************/
|
|
8
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
9
|
+
|
|
10
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13
|
+
/* harmony export */ });
|
|
14
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../node_modules/openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js */ "./node_modules/openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js");
|
|
15
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_openmrs_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
16
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../node_modules/openmrs/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/openmrs/node_modules/css-loader/dist/runtime/api.js");
|
|
17
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_openmrs_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
18
|
+
// Imports
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_openmrs_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_openmrs_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
22
|
+
// Module
|
|
23
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".-esm-ethiohri-intake__root__container___Q6d43 {\n padding: 2rem;\n}\n\n.-esm-ethiohri-intake__root__welcome___Zqg6i {\n font-size: var(--cds-heading-04-font-size, 1.75rem);\n font-weight: var(--cds-heading-04-font-weight, 400);\n line-height: var(--cds-heading-04-line-height, 1.28572);\n letter-spacing: var(--cds-heading-04-letter-spacing, 0);\n margin: 1rem 0;\n}\n\n.-esm-ethiohri-intake__root__explainer___DJlgz {\n margin-bottom: 2rem;\n}", "",{"version":3,"sources":["webpack://./src/root.scss","webpack://./node_modules/@carbon/styles/node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./node_modules/@carbon/styles/node_modules/@carbon/type/scss/_styles.scss"],"names":[],"mappings":"AAGA;EACE,aCqCW;ADvCb;;AAKA;EE21BI,mDAAA;EAAA,mDAAA;EAAA,uDAAA;EAAA,uDAAA;EFz1BF,cAAA;AACF;;AAEA;EACE,mBAAA;AACF","sourcesContent":["@use '@carbon/styles/scss/spacing';\r\n@use '@carbon/styles/scss/type';\r\n\r\n.container {\r\n padding: spacing.$spacing-07;\r\n}\r\n\r\n.welcome {\r\n @include type.type-style('heading-04');\r\n margin: spacing.$spacing-05 0; \r\n}\r\n\r\n.explainer {\r\n margin-bottom: 2rem;\r\n}\r\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":""}]);
|
|
24
|
+
// Exports
|
|
25
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
26
|
+
"container": "-esm-ethiohri-intake__root__container___Q6d43",
|
|
27
|
+
"welcome": "-esm-ethiohri-intake__root__welcome___Zqg6i",
|
|
28
|
+
"explainer": "-esm-ethiohri-intake__root__explainer___DJlgz"
|
|
29
|
+
};
|
|
30
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/***/ }),
|
|
34
|
+
|
|
35
|
+
/***/ "./node_modules/openmrs/node_modules/css-loader/dist/runtime/api.js":
|
|
36
|
+
/*!**************************************************************************!*\
|
|
37
|
+
!*** ./node_modules/openmrs/node_modules/css-loader/dist/runtime/api.js ***!
|
|
38
|
+
\**************************************************************************/
|
|
39
|
+
/***/ ((module) => {
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/*
|
|
44
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
45
|
+
Author Tobias Koppers @sokra
|
|
46
|
+
*/
|
|
47
|
+
// css base code, injected by the css-loader
|
|
48
|
+
// eslint-disable-next-line func-names
|
|
49
|
+
module.exports = function (cssWithMappingToString) {
|
|
50
|
+
var list = []; // return the list of modules as css string
|
|
51
|
+
|
|
52
|
+
list.toString = function toString() {
|
|
53
|
+
return this.map(function (item) {
|
|
54
|
+
var content = cssWithMappingToString(item);
|
|
55
|
+
|
|
56
|
+
if (item[2]) {
|
|
57
|
+
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return content;
|
|
61
|
+
}).join("");
|
|
62
|
+
}; // import a list of modules into the list
|
|
63
|
+
// eslint-disable-next-line func-names
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
list.i = function (modules, mediaQuery, dedupe) {
|
|
67
|
+
if (typeof modules === "string") {
|
|
68
|
+
// eslint-disable-next-line no-param-reassign
|
|
69
|
+
modules = [[null, modules, ""]];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
var alreadyImportedModules = {};
|
|
73
|
+
|
|
74
|
+
if (dedupe) {
|
|
75
|
+
for (var i = 0; i < this.length; i++) {
|
|
76
|
+
// eslint-disable-next-line prefer-destructuring
|
|
77
|
+
var id = this[i][0];
|
|
78
|
+
|
|
79
|
+
if (id != null) {
|
|
80
|
+
alreadyImportedModules[id] = true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
for (var _i = 0; _i < modules.length; _i++) {
|
|
86
|
+
var item = [].concat(modules[_i]);
|
|
87
|
+
|
|
88
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
89
|
+
// eslint-disable-next-line no-continue
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (mediaQuery) {
|
|
94
|
+
if (!item[2]) {
|
|
95
|
+
item[2] = mediaQuery;
|
|
96
|
+
} else {
|
|
97
|
+
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
list.push(item);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
return list;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/***/ }),
|
|
109
|
+
|
|
110
|
+
/***/ "./node_modules/openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js":
|
|
111
|
+
/*!*********************************************************************************************!*\
|
|
112
|
+
!*** ./node_modules/openmrs/node_modules/css-loader/dist/runtime/cssWithMappingToString.js ***!
|
|
113
|
+
\*********************************************************************************************/
|
|
114
|
+
/***/ ((module) => {
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
119
|
+
|
|
120
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
121
|
+
|
|
122
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
123
|
+
|
|
124
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
125
|
+
|
|
126
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
127
|
+
|
|
128
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
129
|
+
|
|
130
|
+
module.exports = function cssWithMappingToString(item) {
|
|
131
|
+
var _item = _slicedToArray(item, 4),
|
|
132
|
+
content = _item[1],
|
|
133
|
+
cssMapping = _item[3];
|
|
134
|
+
|
|
135
|
+
if (!cssMapping) {
|
|
136
|
+
return content;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (typeof btoa === "function") {
|
|
140
|
+
// eslint-disable-next-line no-undef
|
|
141
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
|
|
142
|
+
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
|
|
143
|
+
var sourceMapping = "/*# ".concat(data, " */");
|
|
144
|
+
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
145
|
+
return "/*# sourceURL=".concat(cssMapping.sourceRoot || "").concat(source, " */");
|
|
146
|
+
});
|
|
147
|
+
return [content].concat(sourceURLs).concat([sourceMapping]).join("\n");
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return [content].join("\n");
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/***/ }),
|
|
154
|
+
|
|
155
|
+
/***/ "./src/root.scss":
|
|
156
|
+
/*!***********************!*\
|
|
157
|
+
!*** ./src/root.scss ***!
|
|
158
|
+
\***********************/
|
|
159
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
160
|
+
|
|
161
|
+
__webpack_require__.r(__webpack_exports__);
|
|
162
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
163
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
164
|
+
/* harmony export */ });
|
|
165
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../node_modules/openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
|
|
166
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_openmrs_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
167
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../node_modules/openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js");
|
|
168
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_openmrs_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
169
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../node_modules/openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js");
|
|
170
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_openmrs_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
171
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../node_modules/openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
|
|
172
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_openmrs_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
173
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../node_modules/openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js");
|
|
174
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_openmrs_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
175
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../node_modules/openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js");
|
|
176
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_openmrs_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
177
|
+
/* harmony import */ var _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../node_modules/openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../node_modules/openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./root.scss */ "./node_modules/openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/root.scss");
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
var options = {};
|
|
190
|
+
|
|
191
|
+
options.styleTagTransform = (_node_modules_openmrs_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
|
|
192
|
+
options.setAttributes = (_node_modules_openmrs_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
193
|
+
|
|
194
|
+
options.insert = _node_modules_openmrs_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
195
|
+
|
|
196
|
+
options.domAPI = (_node_modules_openmrs_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
197
|
+
options.insertStyleElement = (_node_modules_openmrs_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
198
|
+
|
|
199
|
+
var update = _node_modules_openmrs_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
if (true) {
|
|
203
|
+
if (!_node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals || module.hot.invalidate) {
|
|
204
|
+
var isEqualLocals = function isEqualLocals(a, b, isNamedExport) {
|
|
205
|
+
if (!a && b || a && !b) {
|
|
206
|
+
return false;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
var p;
|
|
210
|
+
|
|
211
|
+
for (p in a) {
|
|
212
|
+
if (isNamedExport && p === "default") {
|
|
213
|
+
// eslint-disable-next-line no-continue
|
|
214
|
+
continue;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if (a[p] !== b[p]) {
|
|
218
|
+
return false;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
for (p in b) {
|
|
223
|
+
if (isNamedExport && p === "default") {
|
|
224
|
+
// eslint-disable-next-line no-continue
|
|
225
|
+
continue;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
if (!a[p]) {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
return true;
|
|
234
|
+
};
|
|
235
|
+
var isNamedExport = !_node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals;
|
|
236
|
+
var oldLocals = isNamedExport ? _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals;
|
|
237
|
+
|
|
238
|
+
module.hot.accept(
|
|
239
|
+
/*! !!../node_modules/openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../node_modules/openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./root.scss */ "./node_modules/openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/root.scss",
|
|
240
|
+
__WEBPACK_OUTDATED_DEPENDENCIES__ => { /* harmony import */ _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../node_modules/openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../node_modules/openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./root.scss */ "./node_modules/openmrs/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/openmrs/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/root.scss");
|
|
241
|
+
(function () {
|
|
242
|
+
if (!isEqualLocals(oldLocals, isNamedExport ? _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) {
|
|
243
|
+
module.hot.invalidate();
|
|
244
|
+
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
oldLocals = isNamedExport ? _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals;
|
|
249
|
+
|
|
250
|
+
update(_node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"]);
|
|
251
|
+
})(__WEBPACK_OUTDATED_DEPENDENCIES__); }
|
|
252
|
+
)
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
module.hot.dispose(function() {
|
|
256
|
+
update();
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_openmrs_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_node_modules_openmrs_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_2_use_2_root_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
/***/ }),
|
|
266
|
+
|
|
267
|
+
/***/ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
|
|
268
|
+
/*!*************************************************************************************************!*\
|
|
269
|
+
!*** ./node_modules/openmrs/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
|
|
270
|
+
\*************************************************************************************************/
|
|
271
|
+
/***/ ((module) => {
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
var stylesInDOM = [];
|
|
276
|
+
|
|
277
|
+
function getIndexByIdentifier(identifier) {
|
|
278
|
+
var result = -1;
|
|
279
|
+
|
|
280
|
+
for (var i = 0; i < stylesInDOM.length; i++) {
|
|
281
|
+
if (stylesInDOM[i].identifier === identifier) {
|
|
282
|
+
result = i;
|
|
283
|
+
break;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
return result;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
function modulesToDom(list, options) {
|
|
291
|
+
var idCountMap = {};
|
|
292
|
+
var identifiers = [];
|
|
293
|
+
|
|
294
|
+
for (var i = 0; i < list.length; i++) {
|
|
295
|
+
var item = list[i];
|
|
296
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
297
|
+
var count = idCountMap[id] || 0;
|
|
298
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
299
|
+
idCountMap[id] = count + 1;
|
|
300
|
+
var indexByIdentifier = getIndexByIdentifier(identifier);
|
|
301
|
+
var obj = {
|
|
302
|
+
css: item[1],
|
|
303
|
+
media: item[2],
|
|
304
|
+
sourceMap: item[3],
|
|
305
|
+
supports: item[4],
|
|
306
|
+
layer: item[5]
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
if (indexByIdentifier !== -1) {
|
|
310
|
+
stylesInDOM[indexByIdentifier].references++;
|
|
311
|
+
stylesInDOM[indexByIdentifier].updater(obj);
|
|
312
|
+
} else {
|
|
313
|
+
var updater = addElementStyle(obj, options);
|
|
314
|
+
options.byIndex = i;
|
|
315
|
+
stylesInDOM.splice(i, 0, {
|
|
316
|
+
identifier: identifier,
|
|
317
|
+
updater: updater,
|
|
318
|
+
references: 1
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
identifiers.push(identifier);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
return identifiers;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
function addElementStyle(obj, options) {
|
|
329
|
+
var api = options.domAPI(options);
|
|
330
|
+
api.update(obj);
|
|
331
|
+
|
|
332
|
+
var updater = function updater(newObj) {
|
|
333
|
+
if (newObj) {
|
|
334
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
|
|
335
|
+
return;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
api.update(obj = newObj);
|
|
339
|
+
} else {
|
|
340
|
+
api.remove();
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
return updater;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
module.exports = function (list, options) {
|
|
348
|
+
options = options || {};
|
|
349
|
+
list = list || [];
|
|
350
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
351
|
+
return function update(newList) {
|
|
352
|
+
newList = newList || [];
|
|
353
|
+
|
|
354
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
355
|
+
var identifier = lastIdentifiers[i];
|
|
356
|
+
var index = getIndexByIdentifier(identifier);
|
|
357
|
+
stylesInDOM[index].references--;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
361
|
+
|
|
362
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
363
|
+
var _identifier = lastIdentifiers[_i];
|
|
364
|
+
|
|
365
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
366
|
+
|
|
367
|
+
if (stylesInDOM[_index].references === 0) {
|
|
368
|
+
stylesInDOM[_index].updater();
|
|
369
|
+
|
|
370
|
+
stylesInDOM.splice(_index, 1);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
lastIdentifiers = newLastIdentifiers;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
/***/ }),
|
|
379
|
+
|
|
380
|
+
/***/ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js":
|
|
381
|
+
/*!*****************************************************************************************!*\
|
|
382
|
+
!*** ./node_modules/openmrs/node_modules/style-loader/dist/runtime/insertBySelector.js ***!
|
|
383
|
+
\*****************************************************************************************/
|
|
384
|
+
/***/ ((module) => {
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
var memo = {};
|
|
389
|
+
/* istanbul ignore next */
|
|
390
|
+
|
|
391
|
+
function getTarget(target) {
|
|
392
|
+
if (typeof memo[target] === "undefined") {
|
|
393
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
394
|
+
|
|
395
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
396
|
+
try {
|
|
397
|
+
// This will throw an exception if access to iframe is blocked
|
|
398
|
+
// due to cross-origin restrictions
|
|
399
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
400
|
+
} catch (e) {
|
|
401
|
+
// istanbul ignore next
|
|
402
|
+
styleTarget = null;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
memo[target] = styleTarget;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
return memo[target];
|
|
410
|
+
}
|
|
411
|
+
/* istanbul ignore next */
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
function insertBySelector(insert, style) {
|
|
415
|
+
var target = getTarget(insert);
|
|
416
|
+
|
|
417
|
+
if (!target) {
|
|
418
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
target.appendChild(style);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
module.exports = insertBySelector;
|
|
425
|
+
|
|
426
|
+
/***/ }),
|
|
427
|
+
|
|
428
|
+
/***/ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js":
|
|
429
|
+
/*!*******************************************************************************************!*\
|
|
430
|
+
!*** ./node_modules/openmrs/node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
|
|
431
|
+
\*******************************************************************************************/
|
|
432
|
+
/***/ ((module) => {
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
/* istanbul ignore next */
|
|
437
|
+
function insertStyleElement(options) {
|
|
438
|
+
var element = document.createElement("style");
|
|
439
|
+
options.setAttributes(element, options.attributes);
|
|
440
|
+
options.insert(element, options.options);
|
|
441
|
+
return element;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
module.exports = insertStyleElement;
|
|
445
|
+
|
|
446
|
+
/***/ }),
|
|
447
|
+
|
|
448
|
+
/***/ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":
|
|
449
|
+
/*!*******************************************************************************************************!*\
|
|
450
|
+
!*** ./node_modules/openmrs/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***!
|
|
451
|
+
\*******************************************************************************************************/
|
|
452
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
/* istanbul ignore next */
|
|
457
|
+
function setAttributesWithoutAttributes(styleElement) {
|
|
458
|
+
var nonce = true ? __webpack_require__.nc : 0;
|
|
459
|
+
|
|
460
|
+
if (nonce) {
|
|
461
|
+
styleElement.setAttribute("nonce", nonce);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
module.exports = setAttributesWithoutAttributes;
|
|
466
|
+
|
|
467
|
+
/***/ }),
|
|
468
|
+
|
|
469
|
+
/***/ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js":
|
|
470
|
+
/*!************************************************************************************!*\
|
|
471
|
+
!*** ./node_modules/openmrs/node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
|
|
472
|
+
\************************************************************************************/
|
|
473
|
+
/***/ ((module) => {
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
/* istanbul ignore next */
|
|
478
|
+
function apply(styleElement, options, obj) {
|
|
479
|
+
var css = "";
|
|
480
|
+
|
|
481
|
+
if (obj.supports) {
|
|
482
|
+
css += "@supports (".concat(obj.supports, ") {");
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
if (obj.media) {
|
|
486
|
+
css += "@media ".concat(obj.media, " {");
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
var needLayer = typeof obj.layer !== "undefined";
|
|
490
|
+
|
|
491
|
+
if (needLayer) {
|
|
492
|
+
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
css += obj.css;
|
|
496
|
+
|
|
497
|
+
if (needLayer) {
|
|
498
|
+
css += "}";
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
if (obj.media) {
|
|
502
|
+
css += "}";
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
if (obj.supports) {
|
|
506
|
+
css += "}";
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
var sourceMap = obj.sourceMap;
|
|
510
|
+
|
|
511
|
+
if (sourceMap && typeof btoa !== "undefined") {
|
|
512
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
513
|
+
} // For old IE
|
|
514
|
+
|
|
515
|
+
/* istanbul ignore if */
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
options.styleTagTransform(css, styleElement, options.options);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
function removeStyleElement(styleElement) {
|
|
522
|
+
// istanbul ignore if
|
|
523
|
+
if (styleElement.parentNode === null) {
|
|
524
|
+
return false;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
styleElement.parentNode.removeChild(styleElement);
|
|
528
|
+
}
|
|
529
|
+
/* istanbul ignore next */
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
function domAPI(options) {
|
|
533
|
+
var styleElement = options.insertStyleElement(options);
|
|
534
|
+
return {
|
|
535
|
+
update: function update(obj) {
|
|
536
|
+
apply(styleElement, options, obj);
|
|
537
|
+
},
|
|
538
|
+
remove: function remove() {
|
|
539
|
+
removeStyleElement(styleElement);
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
module.exports = domAPI;
|
|
545
|
+
|
|
546
|
+
/***/ }),
|
|
547
|
+
|
|
548
|
+
/***/ "./node_modules/openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js":
|
|
549
|
+
/*!******************************************************************************************!*\
|
|
550
|
+
!*** ./node_modules/openmrs/node_modules/style-loader/dist/runtime/styleTagTransform.js ***!
|
|
551
|
+
\******************************************************************************************/
|
|
552
|
+
/***/ ((module) => {
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
/* istanbul ignore next */
|
|
557
|
+
function styleTagTransform(css, styleElement) {
|
|
558
|
+
if (styleElement.styleSheet) {
|
|
559
|
+
styleElement.styleSheet.cssText = css;
|
|
560
|
+
} else {
|
|
561
|
+
while (styleElement.firstChild) {
|
|
562
|
+
styleElement.removeChild(styleElement.firstChild);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
styleElement.appendChild(document.createTextNode(css));
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
module.exports = styleTagTransform;
|
|
570
|
+
|
|
571
|
+
/***/ }),
|
|
572
|
+
|
|
573
|
+
/***/ "./src/root.component.tsx":
|
|
574
|
+
/*!********************************!*\
|
|
575
|
+
!*** ./src/root.component.tsx ***!
|
|
576
|
+
\********************************/
|
|
577
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
578
|
+
|
|
579
|
+
__webpack_require__.r(__webpack_exports__);
|
|
580
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
581
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
582
|
+
/* harmony export */ });
|
|
583
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react");
|
|
584
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
585
|
+
/* harmony import */ var react_i18next__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-i18next */ "webpack/sharing/consume/default/react-i18next/react-i18next");
|
|
586
|
+
/* harmony import */ var react_i18next__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_i18next__WEBPACK_IMPORTED_MODULE_1__);
|
|
587
|
+
/* harmony import */ var _root_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./root.scss */ "./src/root.scss");
|
|
588
|
+
/**
|
|
589
|
+
* From here, the application is pretty typical React, but with lots of
|
|
590
|
+
* support from `@openmrs/esm-framework`. Check out `Greeter` to see
|
|
591
|
+
* usage of the configuration system, and check out `PatientGetter` to
|
|
592
|
+
* see data fetching using the OpenMRS FHIR API.
|
|
593
|
+
*
|
|
594
|
+
* Check out the Config docs:
|
|
595
|
+
* https://openmrs.github.io/openmrs-esm-core/#/main/config
|
|
596
|
+
*/
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
var Root = function() {
|
|
600
|
+
var t = (0,react_i18next__WEBPACK_IMPORTED_MODULE_1__.useTranslation)().t;
|
|
601
|
+
return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
|
602
|
+
className: _root_scss__WEBPACK_IMPORTED_MODULE_2__["default"].container
|
|
603
|
+
}, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h3", {
|
|
604
|
+
className: _root_scss__WEBPACK_IMPORTED_MODULE_2__["default"].welcome
|
|
605
|
+
}, t("welcomeText", "Welcome to the O3 Template app")), /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", {
|
|
606
|
+
className: _root_scss__WEBPACK_IMPORTED_MODULE_2__["default"].explainer
|
|
607
|
+
}, t("explainer", "The following examples demonstrate some key features of the O3 framework"), "."));
|
|
608
|
+
};
|
|
609
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Root);
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
/***/ })
|
|
613
|
+
|
|
614
|
+
}]);
|
|
615
|
+
//# sourceMappingURL=src_root_component_tsx.js.map
|