@openmrs/esm-stock-management-app 1.0.1-pre.559 → 1.0.1-pre.581
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/769.js +1 -0
- package/dist/769.js.map +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-stock-management-app.js +1 -1
- package/dist/openmrs-esm-stock-management-app.js.buildmanifest.json +28 -28
- package/dist/openmrs-esm-stock-management-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/core/api/types/stockItem/StockItemInventory.ts +1 -0
- package/src/core/components/card/metrics-card.scss +7 -7
- package/src/core/components/overlay/overlay.scss +6 -6
- package/src/core/components/privilages-component/privilages.scss +6 -5
- package/src/core/components/side-nav/side-nav.scss +12 -12
- package/src/core/components/table/table.scss +16 -16
- package/src/core/components/tabs/vertical-tabs.scss +15 -15
- package/src/dashboard/home-dashboard.scss +1 -1
- package/src/stock-home/stock-home-detail-card.scss +7 -7
- package/src/stock-home/stock-home.scss +7 -7
- package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.component.tsx +2 -4
- package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.scss +33 -4
- package/src/stock-items/stock-items-table.scss +8 -9
- package/src/stock-management-header/stock-management-header.scss +5 -5
- package/src/stock-operations/add-stock-operation/add-stock-operation.component.tsx +6 -2
- package/src/stock-operations/add-stock-operation/add-stock-operation.scss +5 -5
- package/src/stock-operations/add-stock-operation/base-operation-details.component.tsx +2 -4
- package/src/stock-operations/add-stock-operation/base-operation-details.scss +30 -0
- package/src/stock-operations/add-stock-operation/stock-items-addition-row.component.tsx +149 -25
- package/src/stock-operations/add-stock-operation/stock-items-addition.component.tsx +2 -0
- package/src/stock-operations/batch-no-selector/batch-no-selector.component.tsx +8 -4
- package/src/stock-operations/stock-item-selector/stock-item-selector.component.tsx +1 -1
- package/src/stock-operations/stock-operations-dialog/stock-operations-dialog.scss +5 -5
- package/src/stock-operations/stock-operations-table.scss +8 -9
- package/src/stock-operations/stock-operations.resource.ts +1 -1
- package/src/stock-reports/report-list/stock-reports.scss +2 -1
- package/src/stock-settings/stock-settings.component.tsx +1 -1
- package/src/stock-settings/stock-settings.scss +7 -4
- package/src/stock-sources/add-stock-sources/add-stock-sources.scss +6 -6
- package/src/stock-sources/delete-stock-modal.component.tsx +3 -3
- package/src/stock-sources/delete-stock-modal.scss +11 -0
- package/src/stock-sources/stock-sources-filter/stock-sources-filter.scss +3 -1
- package/src/stock-sources/stock-sources.scss +9 -9
- package/src/stock-user-role-scopes/delete-stock-user-scope-modal.component.tsx +1 -1
- package/src/stock-user-role-scopes/delete-stock-user-scope-modal.scss +11 -0
- package/src/stock-user-role-scopes/stock-user-role-scopes.scss +8 -7
- package/dist/281.js +0 -1
- package/dist/281.js.map +0 -1
- package/src/root.scss +0 -108
@@ -10,7 +10,7 @@ function StockSettings() {
|
|
10
10
|
|
11
11
|
return (
|
12
12
|
<div className={styles.StockSettings}>
|
13
|
-
<div className={styles.
|
13
|
+
<div className={styles.tableHeader}>
|
14
14
|
{t(
|
15
15
|
"comingSoonUnderDev",
|
16
16
|
"Exciting updates are on the way! In the meantime, use the link below to access Admin UI settings."
|
@@ -1,6 +1,8 @@
|
|
1
1
|
@use '@carbon/colors';
|
2
2
|
@use '@carbon/layout';
|
3
|
-
@use
|
3
|
+
@use '@carbon/type';
|
4
|
+
@use '@openmrs/esm-styleguide/src/vars' as *;
|
5
|
+
|
4
6
|
|
5
7
|
.StockSettings {
|
6
8
|
display: flex;
|
@@ -18,6 +20,7 @@
|
|
18
20
|
}
|
19
21
|
}
|
20
22
|
|
21
|
-
.
|
22
|
-
@
|
23
|
-
|
23
|
+
.tableHeader {
|
24
|
+
@include type.type-style('heading-compact-01');
|
25
|
+
color: $text-02;
|
26
|
+
}
|
@@ -1,18 +1,18 @@
|
|
1
|
-
@use '@carbon/
|
2
|
-
@use '@carbon/
|
3
|
-
@
|
1
|
+
@use '@carbon/layout';
|
2
|
+
@use '@carbon/type';
|
3
|
+
@use '~@openmrs/esm-styleguide/src/vars' as *;
|
4
4
|
|
5
5
|
.section {
|
6
|
-
margin:
|
6
|
+
margin: layout.$spacing-03;
|
7
7
|
}
|
8
8
|
|
9
9
|
.sectionTitle {
|
10
10
|
@include type.type-style('heading-compact-02');
|
11
11
|
color: $text-02;
|
12
|
-
margin-bottom:
|
12
|
+
margin-bottom: layout.$spacing-04;
|
13
13
|
}
|
14
14
|
|
15
15
|
.modalBody {
|
16
|
-
padding-bottom:
|
16
|
+
padding-bottom: layout.$spacing-05;
|
17
17
|
}
|
18
18
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { useTranslation } from "react-i18next";
|
3
3
|
import { Button, ModalHeader, ModalBody, ModalFooter } from "@carbon/react";
|
4
|
-
import styles from "
|
4
|
+
import styles from "./delete-stock-modal.scss";
|
5
5
|
|
6
6
|
interface DeleteConfirmationProps {
|
7
7
|
uuid?: string;
|
@@ -20,11 +20,11 @@ const DeleteConfirmation: React.FC<DeleteConfirmationProps> = ({
|
|
20
20
|
|
21
21
|
return (
|
22
22
|
<>
|
23
|
-
<ModalHeader closeModal={close} className={styles.
|
23
|
+
<ModalHeader closeModal={close} className={styles.modalHeader}>
|
24
24
|
{t("deleteStock", "Delete Stock source")}?
|
25
25
|
</ModalHeader>
|
26
26
|
<ModalBody>
|
27
|
-
<p className={styles.
|
27
|
+
<p className={styles.bodyText}>
|
28
28
|
{t(
|
29
29
|
"deleteConfirmationText",
|
30
30
|
`Are you sure you want to delete this source? This action can't be undone.`,
|
@@ -1,10 +1,12 @@
|
|
1
|
+
@use '@carbon/layout';
|
2
|
+
|
1
3
|
.filterContainer {
|
2
4
|
:global(.cds--dropdown__wrapper--inline) {
|
3
5
|
gap: 0;
|
4
6
|
}
|
5
7
|
|
6
8
|
:global(.cds--list-box__menu-icon) {
|
7
|
-
height:
|
9
|
+
height: layout.$spacing-05;
|
8
10
|
}
|
9
11
|
|
10
12
|
:global(.cds--dropdown--inline) :global(.cds--list-box__field) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@use '@carbon/styles/scss/colors';
|
2
|
-
@use '@carbon/
|
2
|
+
@use '@carbon/layout';
|
3
3
|
@use '@carbon/styles/scss/type';
|
4
4
|
@import '~@openmrs/esm-styleguide/src/vars';
|
5
5
|
|
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
.tableContainer {
|
66
66
|
background-color: $ui-01;
|
67
|
-
margin: 0
|
67
|
+
margin: 0 layout.$spacing-05;
|
68
68
|
padding: 0;
|
69
69
|
|
70
70
|
a {
|
@@ -80,8 +80,8 @@
|
|
80
80
|
}
|
81
81
|
|
82
82
|
.toolbarContent {
|
83
|
-
height:
|
84
|
-
margin-bottom:
|
83
|
+
height: layout.$spacing-07;
|
84
|
+
margin-bottom: layout.$spacing-02;
|
85
85
|
}
|
86
86
|
}
|
87
87
|
|
@@ -142,7 +142,7 @@
|
|
142
142
|
.tileContainer {
|
143
143
|
background-color: $ui-02;
|
144
144
|
border-top: 1px solid $ui-03;
|
145
|
-
padding:
|
145
|
+
padding: layout.$spacing-11 0;
|
146
146
|
}
|
147
147
|
|
148
148
|
.tile {
|
@@ -178,7 +178,7 @@
|
|
178
178
|
.tabletHeading {
|
179
179
|
text-align: left;
|
180
180
|
text-transform: capitalize;
|
181
|
-
margin-bottom:
|
181
|
+
margin-bottom: layout.$spacing-05;
|
182
182
|
|
183
183
|
h4:after {
|
184
184
|
content: '';
|
@@ -204,13 +204,13 @@
|
|
204
204
|
|
205
205
|
.headerBtnContainer {
|
206
206
|
background-color: $ui-background;
|
207
|
-
padding:
|
207
|
+
padding: layout.$spacing-05;
|
208
208
|
text-align: right;
|
209
209
|
}
|
210
210
|
|
211
211
|
.addPatientToListBtn {
|
212
|
-
margin-left:
|
213
|
-
height:
|
212
|
+
margin-left: layout.$spacing-05;
|
213
|
+
height: layout.$spacing-09;
|
214
214
|
}
|
215
215
|
|
216
216
|
.editIcon {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { useTranslation } from "react-i18next";
|
3
3
|
import { Button, ModalHeader, ModalBody, ModalFooter } from "@carbon/react";
|
4
|
-
import styles from "
|
4
|
+
import styles from "./delete-stock-user-scope-modal.scss";
|
5
5
|
|
6
6
|
interface DeleteConfirmationProps {
|
7
7
|
uuid?: string;
|
@@ -1,6 +1,7 @@
|
|
1
|
-
@use '@carbon/
|
2
|
-
@use '@carbon/
|
3
|
-
@
|
1
|
+
@use '@carbon/colors';
|
2
|
+
@use '@carbon/layout';
|
3
|
+
@use '@carbon/type';
|
4
|
+
@use '~@openmrs/esm-styleguide/src/vars' as *;
|
4
5
|
|
5
6
|
.content {
|
6
7
|
@include type.type-style('heading-compact-02');
|
@@ -17,7 +18,7 @@
|
|
17
18
|
@include type.type-style('body-compact-02');
|
18
19
|
color: $text-02;
|
19
20
|
width: 80%;
|
20
|
-
margin:
|
21
|
+
margin: layout.$spacing-06 auto;
|
21
22
|
overflow: hidden;
|
22
23
|
text-align: center;
|
23
24
|
|
@@ -33,12 +34,12 @@
|
|
33
34
|
}
|
34
35
|
|
35
36
|
&::before {
|
36
|
-
right:
|
37
|
+
right: layout.$spacing-03;
|
37
38
|
margin-left: -50%;
|
38
39
|
}
|
39
40
|
|
40
41
|
&::after {
|
41
|
-
left:
|
42
|
+
left: layout.$spacing-03;;
|
42
43
|
margin-right: -50%;
|
43
44
|
}
|
44
45
|
}
|
@@ -46,7 +47,7 @@
|
|
46
47
|
.tileContainer {
|
47
48
|
background-color: $ui-02;
|
48
49
|
border-top: 1px solid $ui-03;
|
49
|
-
padding:
|
50
|
+
padding: layout.$spacing-11 0;
|
50
51
|
}
|
51
52
|
|
52
53
|
.tile {
|