@openmrs/esm-stock-management-app 1.0.1-pre.342 → 1.0.1-pre.345
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/220.js +1 -1
- package/dist/220.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-stock-management-app.js.buildmanifest.json +6 -6
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/core/components/table/table.scss +1 -1
- package/src/root.component.tsx +0 -5
- package/src/root.scss +41 -112
- package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.scss +1 -1
- package/src/stock-items/add-stock-item/stock-item-rules/add-stock-rules.scss +1 -1
- package/src/stock-items/add-stock-item/stock-item-rules/stock-item-rules.scss +1 -1
- package/src/stock-operations/stock-operations-dialog/stock-operations-dialog.scss +1 -1
- package/src/stock-sources/add-stock-sources/add-stock-sources.scss +1 -1
- package/src/stock-user-role-scopes/add-stock-user-scope/add-stock-user-role-scope.scss +4 -1
@@ -112,10 +112,10 @@
|
|
112
112
|
"initial": true,
|
113
113
|
"entry": true,
|
114
114
|
"recorded": false,
|
115
|
-
"size":
|
115
|
+
"size": 4354490,
|
116
116
|
"sizes": {
|
117
117
|
"consume-shared": 252,
|
118
|
-
"javascript":
|
118
|
+
"javascript": 4332542,
|
119
119
|
"share-init": 252,
|
120
120
|
"runtime": 21444
|
121
121
|
},
|
@@ -132,7 +132,7 @@
|
|
132
132
|
"auxiliaryFiles": [
|
133
133
|
"main.js.map"
|
134
134
|
],
|
135
|
-
"hash": "
|
135
|
+
"hash": "7aee2e2d1996d07d",
|
136
136
|
"childrenByOrder": {}
|
137
137
|
},
|
138
138
|
{
|
@@ -140,9 +140,9 @@
|
|
140
140
|
"initial": false,
|
141
141
|
"entry": false,
|
142
142
|
"recorded": false,
|
143
|
-
"size":
|
143
|
+
"size": 917693,
|
144
144
|
"sizes": {
|
145
|
-
"javascript":
|
145
|
+
"javascript": 917483,
|
146
146
|
"consume-shared": 210
|
147
147
|
},
|
148
148
|
"names": [],
|
@@ -156,7 +156,7 @@
|
|
156
156
|
"auxiliaryFiles": [
|
157
157
|
"220.js.map"
|
158
158
|
],
|
159
|
-
"hash": "
|
159
|
+
"hash": "3913a34587c13a55",
|
160
160
|
"childrenByOrder": {}
|
161
161
|
},
|
162
162
|
{
|
package/dist/routes.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":"^1.2.0","webservices.rest":"^2.24.0"},"extensions":[{"name":"stock-management-dashboard","slot":"stock-management-dashboard-slot","component":"stockManagementDashboard"},{"name":"stock-management-admin-card-link","slot":"system-admin-page-card-link-slot","component":"stockManagementAdminCardLink"},{"name":"stock-operation-dialog","component":"stockOperationDialog"},{"name":"import-bulk-stock-items","component":"importBulkStockItemsDialog"},{"name":"delete-stock-modal","component":"deleteStockModal"},{"name":"delete-stock-user-scope-modal","component":"deleteUserScopeModal"},{"name":"stock-management-app-menu-item","component":"stockManagementAppMenuItem","slot":"app-menu-item-slot","meta":{"name":" Stock Management"}},{"name":"delete-stock-rule-modal","component":"deleteStockRuleModal"}],"pages":[{"component":"stockManagement","route":"stock-management"}],"version":"1.0.1-pre.
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":"^1.2.0","webservices.rest":"^2.24.0"},"extensions":[{"name":"stock-management-dashboard","slot":"stock-management-dashboard-slot","component":"stockManagementDashboard"},{"name":"stock-management-admin-card-link","slot":"system-admin-page-card-link-slot","component":"stockManagementAdminCardLink"},{"name":"stock-operation-dialog","component":"stockOperationDialog"},{"name":"import-bulk-stock-items","component":"importBulkStockItemsDialog"},{"name":"delete-stock-modal","component":"deleteStockModal"},{"name":"delete-stock-user-scope-modal","component":"deleteUserScopeModal"},{"name":"stock-management-app-menu-item","component":"stockManagementAppMenuItem","slot":"app-menu-item-slot","meta":{"name":" Stock Management"}},{"name":"delete-stock-rule-modal","component":"deleteStockRuleModal"}],"pages":[{"component":"stockManagement","route":"stock-management"}],"version":"1.0.1-pre.345"}
|
package/package.json
CHANGED
package/src/root.component.tsx
CHANGED
package/src/root.scss
CHANGED
@@ -1,10 +1,7 @@
|
|
1
1
|
@use '@carbon/styles/scss/spacing';
|
2
2
|
@use '@carbon/styles/scss/type';
|
3
|
-
@import "~carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/type/styles";
|
4
|
-
@import "~carbon-components/src/globals/scss/vendor/@carbon/layout/scss/generated/spacing";
|
5
|
-
@import "~carbon-components/src/globals/scss/vendor/@carbon/layout/scss/generated/layout";
|
6
|
-
@import "carbon-components/scss/globals/scss/typography.scss";
|
7
3
|
@import "~@openmrs/esm-styleguide/src/vars";
|
4
|
+
|
8
5
|
$ui-01: #f4f4f4;
|
9
6
|
$ui-02: #ffffff;
|
10
7
|
$ui-03: #e0e0e0;
|
@@ -20,160 +17,92 @@ $danger: #da1e28;
|
|
20
17
|
$interactive-01: #0f62fe;
|
21
18
|
$brand-teal-01: #3197D9;
|
22
19
|
$button-primary: #0078A6;
|
20
|
+
|
23
21
|
.productiveHeading01 {
|
24
|
-
|
22
|
+
@include type.type-style("heading-01");
|
25
23
|
}
|
26
24
|
|
27
25
|
.productiveHeading02 {
|
28
|
-
|
26
|
+
@include type.type-style("heading-02");
|
29
27
|
}
|
30
28
|
|
31
29
|
.productiveHeading03 {
|
32
|
-
|
30
|
+
@include type.type-style("productive-heading-03");
|
33
31
|
}
|
34
32
|
|
35
33
|
.productiveHeading04 {
|
36
|
-
|
34
|
+
@include type.type-style("productive-heading-04");
|
37
35
|
}
|
38
36
|
|
39
37
|
.productiveHeading05 {
|
40
|
-
|
38
|
+
@include type.type-style("productive-heading-05");
|
41
39
|
}
|
42
40
|
|
43
41
|
.productiveHeading06 {
|
44
|
-
|
42
|
+
@include type.type-style("productive-heading-06");
|
45
43
|
}
|
46
44
|
|
47
45
|
.bodyShort01 {
|
48
|
-
|
46
|
+
@include type.type-style("body-short-01");
|
49
47
|
}
|
50
48
|
|
51
49
|
.helperText01 {
|
52
|
-
|
50
|
+
@include type.type-style("helper-text-01");
|
53
51
|
}
|
54
52
|
|
55
53
|
.bodyShort02 {
|
56
|
-
|
54
|
+
@include type.type-style("body-short-02");
|
57
55
|
}
|
58
56
|
|
59
57
|
.bodyLong01 {
|
60
|
-
|
58
|
+
@include type.type-style("body-long-01");
|
61
59
|
}
|
62
60
|
|
63
61
|
.bodyLong02 {
|
64
|
-
|
62
|
+
@include type.type-style("body-long-02");
|
65
63
|
}
|
66
64
|
|
67
65
|
.label01 {
|
68
|
-
|
69
|
-
}
|
70
|
-
|
71
|
-
.text01 {
|
72
|
-
color: $text-01;
|
66
|
+
@include type.type-style("label-01");
|
73
67
|
}
|
74
68
|
|
75
69
|
.text02 {
|
76
|
-
|
70
|
+
color: $text-02;
|
77
71
|
}
|
78
72
|
|
79
73
|
aside {
|
80
|
-
|
81
|
-
}
|
82
|
-
|
83
|
-
// Login Overrides
|
84
|
-
div[class*='-esm-login__styles__center']>img {
|
85
|
-
width: 140px; // design has 120px
|
86
|
-
}
|
87
|
-
|
88
|
-
:global(.tab-12rem)>button {
|
89
|
-
width: 12rem !important;
|
90
|
-
}
|
91
|
-
|
92
|
-
:global(.tab-14rem)>button {
|
93
|
-
width: 14rem !important;
|
94
|
-
}
|
95
|
-
|
96
|
-
:global(.tab-16rem)>button {
|
97
|
-
width: 16rem !important;
|
98
|
-
}
|
99
|
-
|
100
|
-
:global(.bx--overflow-menu)>div {
|
101
|
-
width: 15rem !important;
|
102
|
-
}
|
103
|
-
|
104
|
-
nav :global(.bx--accordion__title) {
|
105
|
-
color: #525252;
|
106
|
-
font-weight: 600 !important;
|
107
|
-
}
|
108
|
-
|
109
|
-
nav :global(.bx--accordion__content) {
|
110
|
-
padding-bottom: 0 !important;
|
111
|
-
padding-top: 0 !important;
|
112
|
-
}
|
113
|
-
|
114
|
-
nav :global(.bx--accordion__content)>a {
|
115
|
-
background-color: #cecece !important;
|
116
|
-
color: #161616 !important;
|
117
|
-
border-left-color: var(--brand-01) !important;
|
74
|
+
background-color: $ui-02 !important;
|
118
75
|
}
|
119
76
|
|
120
77
|
.container {
|
121
|
-
|
122
|
-
}
|
123
|
-
|
124
|
-
.welcome {
|
125
|
-
@include type.type-style('heading-04');
|
126
|
-
margin: spacing.$spacing-05 0;
|
127
|
-
}
|
128
|
-
|
129
|
-
.explainer {
|
130
|
-
margin-bottom: 2rem;
|
131
|
-
}
|
132
|
-
|
133
|
-
.noMargin {
|
134
|
-
margin: 0 !important;
|
135
|
-
}
|
136
|
-
|
137
|
-
.noPadding {
|
138
|
-
margin: 0 !important;
|
139
|
-
}
|
140
|
-
|
141
|
-
.noSpacing {
|
142
|
-
margin: 0 !important;
|
143
|
-
padding: 0 !important;
|
144
|
-
}
|
145
|
-
|
146
|
-
.section {
|
147
|
-
margin: spacing.$spacing-03;
|
148
|
-
}
|
149
|
-
|
150
|
-
:global(.cds--table-sort__description) {
|
151
|
-
display: none;
|
78
|
+
padding: spacing.$spacing-07;
|
152
79
|
}
|
153
80
|
|
154
81
|
.formContainer {
|
155
|
-
|
156
|
-
|
157
|
-
|
82
|
+
height: calc(100vh - 100px) !important;
|
83
|
+
overflow: scroll;
|
84
|
+
padding: 0 1rem;
|
158
85
|
}
|
159
86
|
|
160
87
|
.verticalForm {
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
88
|
+
display: flex;
|
89
|
+
grid-row-gap: 2em;
|
90
|
+
padding-top: 1rem;
|
91
|
+
align-content: space-between;
|
92
|
+
flex-direction: column;
|
93
|
+
|
94
|
+
:global(.cds--form-item) {
|
95
|
+
flex: none !important;
|
96
|
+
}
|
97
|
+
|
98
|
+
:global(.cds--label) {
|
99
|
+
color: black;
|
100
|
+
display: inline-block;
|
101
|
+
font-size: var(--cds-label-01-font-size);
|
102
|
+
font-weight: bold;
|
103
|
+
letter-spacing: var(--cds-label-01-letter-spacing, .32px);
|
104
|
+
line-height: 1rem;
|
105
|
+
margin-bottom: 0.5rem;
|
106
|
+
vertical-align: baseline;
|
107
|
+
}
|
108
|
+
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@use '@carbon/styles/scss/type';
|
3
3
|
@import '~@openmrs/esm-styleguide/src/vars';
|
4
4
|
|
5
|
-
section {
|
5
|
+
.section {
|
6
6
|
margin: spacing.$spacing-03;
|
7
7
|
}
|
8
8
|
|
@@ -26,12 +26,15 @@ section {
|
|
26
26
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust the values as needed */
|
27
27
|
gap: 16px; /* Adjust the gap between checkboxes */
|
28
28
|
}
|
29
|
+
|
29
30
|
.hr {
|
30
31
|
border: 1px solid #000;
|
31
32
|
}
|
33
|
+
|
32
34
|
.toggle {
|
33
35
|
margin: 5px;
|
34
36
|
}
|
37
|
+
|
35
38
|
.checkbox{
|
36
39
|
width: 100%;
|
37
40
|
}
|