@openmrs/esm-appointments-app 4.3.1-pre.1410 → 4.3.1-pre.1413
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 +6 -6
- package/dist/210.js +1 -0
- package/dist/210.js.map +1 -0
- package/dist/437.js +1 -1
- package/dist/437.js.map +1 -1
- package/dist/574.js +1 -1
- package/dist/905.js +1 -1
- package/dist/905.js.map +1 -1
- package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +32 -32
- package/package.json +2 -2
- package/src/appointments/common-components/appointments-base-table.component.tsx +4 -0
- package/src/appointments/scheduled/scheduled-appointments.component.tsx +5 -1
- package/src/appointments-calendar/{appointments-calendar-list-view.scss → appointments-calendar-view-view.scss} +5 -1
- package/src/appointments-calendar/appointments-calendar-view.component.tsx +30 -0
- package/src/appointments-calendar/{appointments-calendar-list.test.tsx → appointments-calendar-view.test.tsx} +3 -5
- package/src/appointments-calendar/calendar-view.component.tsx +31 -0
- package/src/appointments-calendar/{daily-calendar-view.component.tsx → daily/daily-calendar-view.component.tsx} +2 -2
- package/src/appointments-calendar/{daily-header.component.tsx → daily/daily-header.component.tsx} +1 -2
- package/src/appointments-calendar/{daily-view-workload.component.tsx → daily/daily-view-workload.component.tsx} +3 -3
- package/src/appointments-calendar/header/calendar-header.component.tsx +75 -0
- package/src/appointments-calendar/{monthly-calendar-view.component.tsx → monthly/monthly-calendar-view.component.tsx} +9 -8
- package/src/appointments-calendar/{monthly-header.module.tsx → monthly/monthly-header.module.tsx} +2 -2
- package/src/appointments-calendar/monthly/monthly-view-workload.component.tsx +60 -0
- package/src/appointments-calendar/{calendar-patient-list → patient-list}/calendar-patient-list.component.tsx +7 -14
- package/src/appointments-calendar/{weekly-calendar-view.component.tsx → weekly/weekly-calendar-view.component.tsx} +2 -2
- package/src/appointments-calendar/{weekly-header.component.tsx → weekly/weekly-header.component.tsx} +2 -2
- package/src/appointments-calendar/{weekly-view-workload.component.tsx → weekly/weekly-view-workload.component.tsx} +6 -5
- package/src/appointments-metrics/appointments-metrics.component.tsx +15 -13
- package/src/appointments-metrics/metrics-card.component.tsx +1 -1
- package/src/appointments.component.tsx +2 -2
- package/src/hooks/useAppointmentList.tsx +4 -1
- package/src/hooks/useAppointmentsCalendar.tsx +1 -0
- package/src/hooks/useOverlay.tsx +15 -13
- package/src/hooks/useUnscheduledAppointments.tsx +1 -1
- package/src/overlay.component.tsx +13 -11
- package/translations/en.json +0 -9
- package/dist/120.js +0 -1
- package/dist/120.js.map +0 -1
- package/src/appointments-calendar/appointments-calendar-list-view.component.tsx +0 -52
- package/src/appointments-calendar/calendar-header.component.tsx +0 -54
- package/src/appointments-calendar/monthly-view-workload.component.tsx +0 -64
- package/src/patient-search/patient-scheduled-visits.component.tsx +0 -193
- package/src/patient-search/patient-scheduled-visits.scss +0 -122
- /package/src/appointments-calendar/{daily-calendar.scss → daily/daily-calendar.scss} +0 -0
- /package/src/appointments-calendar/{daily-header.scss → daily/daily-header.scss} +0 -0
- /package/src/appointments-calendar/{daily-workload-module.scss → daily/daily-workload-module.scss} +0 -0
- /package/src/appointments-calendar/{days-of-week.component.tsx → daily/days-of-week.component.tsx} +0 -0
- /package/src/appointments-calendar/{days-of-week.scss → daily/days-of-week.scss} +0 -0
- /package/src/appointments-calendar/{calendar-header.scss → header/calendar-header.scss} +0 -0
- /package/src/appointments-calendar/{monthly-header.module.scss → monthly/monthly-header.module.scss} +0 -0
- /package/src/appointments-calendar/{monthly-view-workload.scss → monthly/monthly-view-workload.scss} +0 -0
- /package/src/appointments-calendar/{calendar-patient-list → patient-list}/calenar-patient-list.scss +0 -0
- /package/src/appointments-calendar/{weekly-calendar.scss → weekly/weekly-calendar.scss} +0 -0
- /package/src/appointments-calendar/{weekly-header.scss → weekly/weekly-header.scss} +0 -0
- /package/src/appointments-calendar/{weekly-workload-module.scss → weekly/weekly-workload-module.scss} +0 -0
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/spacing';
|
|
2
|
-
@use '@carbon/styles/scss/type';
|
|
3
|
-
@import '~@openmrs/esm-styleguide/src/vars';
|
|
4
|
-
|
|
5
|
-
.container {
|
|
6
|
-
background-color: $ui-background;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
height: calc(100vh);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.grid {
|
|
14
|
-
padding: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.visitTile {
|
|
18
|
-
margin: spacing.$spacing-05;
|
|
19
|
-
|
|
20
|
-
&:global(.cds--tile--is-selected:focus) {
|
|
21
|
-
background-color: $color-blue-10;
|
|
22
|
-
color: $color-blue-10;
|
|
23
|
-
border: 1px solid $color-blue-60-2;
|
|
24
|
-
outline: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:global(.cds--tile--is-selected:hover) {
|
|
28
|
-
background-color: $color-blue-10;
|
|
29
|
-
color: $color-blue-10;
|
|
30
|
-
border: 1px solid $color-blue-60-2;
|
|
31
|
-
outline: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:global(.cds--tile--is-selected:hover .cds--tile__checkmark svg) {
|
|
35
|
-
fill: $color-blue-60-2;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.row {
|
|
40
|
-
margin: 0 spacing.$spacing-05 spacing.$spacing-05 spacing.$spacing-05;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.backButton {
|
|
44
|
-
align-items: center;
|
|
45
|
-
display: flex;
|
|
46
|
-
justify-content: flex-start;
|
|
47
|
-
margin: spacing.$spacing-03 0 spacing.$spacing-03 0rem;
|
|
48
|
-
padding: 0;
|
|
49
|
-
@include type.type-style('body-compact-01');
|
|
50
|
-
|
|
51
|
-
button {
|
|
52
|
-
display: flex;
|
|
53
|
-
|
|
54
|
-
svg {
|
|
55
|
-
order: 1;
|
|
56
|
-
margin-right: 0.5rem;
|
|
57
|
-
margin-left: 0rem !important;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
span {
|
|
61
|
-
order: 2;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.heading {
|
|
67
|
-
@include type.type-style('body-02');
|
|
68
|
-
color: $text-02;
|
|
69
|
-
margin-left: 1.2rem;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.primaryText {
|
|
73
|
-
@include type.type-style('heading-compact-02');
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.secondaryText {
|
|
77
|
-
@include type.type-style('body-01');
|
|
78
|
-
color: $text-02;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.button {
|
|
82
|
-
height: 4rem;
|
|
83
|
-
display: flex;
|
|
84
|
-
align-content: flex-start;
|
|
85
|
-
align-items: baseline;
|
|
86
|
-
min-width: 50%;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.text-divider {
|
|
90
|
-
display: flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
margin: spacing.$spacing-06 25%;
|
|
93
|
-
@include type.type-style('heading-compact-02');
|
|
94
|
-
color: $text-02;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.text-divider::before,
|
|
98
|
-
.text-divider::after {
|
|
99
|
-
content: '';
|
|
100
|
-
height: 1px;
|
|
101
|
-
background-color: $text-03;
|
|
102
|
-
flex-grow: 1;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.text-divider::before {
|
|
106
|
-
margin-right: spacing.$spacing-05;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.text-divider::after {
|
|
110
|
-
margin-left: spacing.$spacing-05;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.buttonContainer {
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
margin-bottom: spacing.$spacing-03;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.prioritySwitcher {
|
|
121
|
-
margin: spacing.$spacing-03 0 spacing.$spacing-03;
|
|
122
|
-
}
|
|
File without changes
|
|
File without changes
|
/package/src/appointments-calendar/{daily-workload-module.scss → daily/daily-workload-module.scss}
RENAMED
|
File without changes
|
/package/src/appointments-calendar/{days-of-week.component.tsx → daily/days-of-week.component.tsx}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/appointments-calendar/{monthly-header.module.scss → monthly/monthly-header.module.scss}
RENAMED
|
File without changes
|
/package/src/appointments-calendar/{monthly-view-workload.scss → monthly/monthly-view-workload.scss}
RENAMED
|
File without changes
|
/package/src/appointments-calendar/{calendar-patient-list → patient-list}/calenar-patient-list.scss
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|