@openmrs/esm-appointments-app 5.2.2-pre.2402 → 5.2.2-pre.2408

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.
@@ -80,10 +80,10 @@
80
80
  "initial": true,
81
81
  "entry": true,
82
82
  "recorded": false,
83
- "size": 4554486,
83
+ "size": 4537825,
84
84
  "sizes": {
85
85
  "consume-shared": 252,
86
- "javascript": 4533564,
86
+ "javascript": 4516903,
87
87
  "share-init": 252,
88
88
  "runtime": 20418
89
89
  },
@@ -100,7 +100,7 @@
100
100
  "auxiliaryFiles": [
101
101
  "main.js.map"
102
102
  ],
103
- "hash": "19e9fdbd1fa9d5af",
103
+ "hash": "bbc341828b398088",
104
104
  "childrenByOrder": {}
105
105
  },
106
106
  {
@@ -422,9 +422,9 @@
422
422
  "initial": false,
423
423
  "entry": false,
424
424
  "recorded": false,
425
- "size": 496039,
425
+ "size": 479378,
426
426
  "sizes": {
427
- "javascript": 495871,
427
+ "javascript": 479210,
428
428
  "consume-shared": 168
429
429
  },
430
430
  "names": [],
@@ -438,7 +438,7 @@
438
438
  "auxiliaryFiles": [
439
439
  "755.js.map"
440
440
  ],
441
- "hash": "0f35a34da06ecae3",
441
+ "hash": "5c7cfbbc3a83fc81",
442
442
  "childrenByOrder": {}
443
443
  },
444
444
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"early-appointments-panel","component":"earlyAppointments"}],"version":"5.2.2-pre.2402"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"early-appointments-panel","component":"earlyAppointments"}],"version":"5.2.2-pre.2408"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-appointments-app",
3
- "version": "5.2.2-pre.2402",
3
+ "version": "5.2.2-pre.2408",
4
4
  "description": "Appointments front-end module for the OpenMRS SPA",
5
5
  "browser": "dist/openmrs-esm-appointments-app.js",
6
6
  "main": "src/index.ts",
@@ -1,13 +1,12 @@
1
1
  @use '@carbon/colors';
2
- @use '@carbon/styles/scss/spacing';
2
+ @use '@carbon/layout';
3
+ @use '@carbon/type';
3
4
  @import '~@openmrs/esm-styleguide/src/vars';
4
- @import '~carbon-components/src/globals/scss/vars';
5
- @import '~carbon-components/src/globals/scss/mixins';
6
5
 
7
6
  .cardContainer {
8
7
  background-color: $ui-02;
9
8
  display: flex;
10
- height: spacing.$spacing-12;
9
+ height: layout.$spacing-12;
11
10
  }
12
11
 
13
12
  .tileContainer {
@@ -32,28 +31,28 @@
32
31
  .tileHeader {
33
32
  display: flex;
34
33
  justify-content: space-between;
35
- padding-bottom: spacing.$spacing-05;
34
+ padding-bottom: layout.$spacing-05;
36
35
  }
37
36
 
38
37
  .headerLabel {
39
- @include carbon--type-style('productive-heading-01');
38
+ @include type.type-style('heading-compact-01');
40
39
  color: $text-02;
41
40
  }
42
41
 
43
42
  .totalsLabel {
44
- @include carbon--type-style('label-01');
43
+ @include type.type-style('label-01');
45
44
  color: $text-02;
46
45
  }
47
46
 
48
47
  .totalsValue {
49
- @include carbon--type-style('productive-heading-04');
48
+ @include type.type-style('heading-04');
50
49
  color: $ui-05;
51
50
  }
52
51
 
53
52
  .headerLabelContainer {
54
53
  display: flex;
55
54
  align-items: center;
56
- height: $spacing-07;
55
+ height: layout.$spacing-07;
57
56
  }
58
57
 
59
58
  .link {
@@ -1,9 +1,8 @@
1
1
  @use '@carbon/colors';
2
- @use '@carbon/styles/scss/spacing';
3
2
  @use '@carbon/layout';
3
+ @use '@carbon/type';
4
4
  @import '~@openmrs/esm-styleguide/src/vars';
5
- @import '~carbon-components/src/globals/scss/vars';
6
- @import '~carbon-components/src/globals/scss/mixins';
5
+
7
6
  .container {
8
7
  display: flex;
9
8
  justify-content: space-between;
@@ -25,7 +24,7 @@
25
24
  border: 1px solid colors.$gray-20;
26
25
 
27
26
  & > span {
28
- font-size: spacing.$spacing-05;
27
+ font-size: layout.$spacing-05;
29
28
  color: colors.$gray-70;
30
29
  }
31
30
  }
@@ -36,11 +35,11 @@
36
35
  .tileHeader {
37
36
  display: flex;
38
37
  justify-content: space-between;
39
- padding-bottom: spacing.$spacing-05;
38
+ padding-bottom: layout.$spacing-05;
40
39
  }
41
40
 
42
41
  .headerLabel {
43
- @include carbon--type-style('productive-heading-01');
42
+ @include type.type-style('heading-compact-01');
44
43
  color: $text-02;
45
44
  }
46
45
  .dayDate {
@@ -1,9 +1,7 @@
1
1
  @use '@carbon/colors';
2
- @use '@carbon/styles/scss/spacing';
3
2
  @use '@carbon/layout';
3
+ @use '@carbon/type';
4
4
  @import '~@openmrs/esm-styleguide/src/vars';
5
- @import '~carbon-components/src/globals/scss/vars';
6
- @import '~carbon-components/src/globals/scss/mixins';
7
5
 
8
6
  .tileContainer {
9
7
  height: layout.$spacing-10;
@@ -14,7 +12,7 @@
14
12
  border: 1px solid colors.$gray-20;
15
13
 
16
14
  & > span {
17
- font-size: spacing.$spacing-05;
15
+ font-size: layout.$spacing-05;
18
16
  color: colors.$gray-70;
19
17
  }
20
18
  }
@@ -26,10 +24,10 @@
26
24
  .tileHeader {
27
25
  display: flex;
28
26
  justify-content: space-between;
29
- padding-bottom: spacing.$spacing-05;
27
+ padding-bottom: layout.$spacing-05;
30
28
  }
31
29
 
32
30
  .headerLabel {
33
- @include carbon--type-style('productive-heading-01');
31
+ @include type.type-style('heading-compact-01');
34
32
  color: $text-02;
35
33
  }
@@ -1,9 +1,8 @@
1
1
  @use '@carbon/colors';
2
- @use '@carbon/styles/scss/spacing';
3
2
  @use '@carbon/layout';
3
+ @use '@carbon/type';
4
4
  @import '~@openmrs/esm-styleguide/src/vars';
5
- @import '~carbon-components/src/globals/scss/vars';
6
- @import '~carbon-components/src/globals/scss/mixins';
5
+
7
6
  .container {
8
7
  display: flex;
9
8
  justify-content: space-between;
@@ -25,7 +24,7 @@
25
24
  border: 1px solid colors.$gray-20;
26
25
 
27
26
  & > span {
28
- font-size: spacing.$spacing-05;
27
+ font-size: layout.$spacing-05;
29
28
  color: colors.$gray-70;
30
29
  }
31
30
  }
@@ -36,11 +35,11 @@
36
35
  .tileHeader {
37
36
  display: flex;
38
37
  justify-content: space-between;
39
- padding-bottom: spacing.$spacing-05;
38
+ padding-bottom: layout.$spacing-05;
40
39
  }
41
40
 
42
41
  .headerLabel {
43
- @include carbon--type-style('productive-heading-01');
42
+ @include type.type-style('heading-compact-01');
44
43
  color: $text-02;
45
44
  }
46
45
 
@@ -35,16 +35,16 @@ import {
35
35
  useConfig,
36
36
  useLocations,
37
37
  } from '@openmrs/esm-framework';
38
+ import isEmpty from 'lodash-es/isEmpty';
38
39
  import BaseVisitType from './base-visit-type.component';
39
40
  import { amPm, convertTime12to24, useAppointmentDate } from '../../helpers';
40
41
  import { closeOverlay } from '../../hooks/useOverlay';
41
42
  import { saveQueueEntry } from './queue.resource';
42
43
  import { MappedAppointment } from '../../types';
43
- import styles from './visit-form.scss';
44
44
  import { useAppointments } from '../../appointments/appointments-table.resource';
45
45
  import { useDefaultLoginLocation } from '../../hooks/useDefaultLocation';
46
46
  import { useVisits } from '../../hooks/useVisits';
47
- import isEmpty from 'lodash-es/isEmpty';
47
+ import styles from './visit-form.scss';
48
48
 
49
49
  interface VisitFormProps {
50
50
  patientUuid: string;