@openmrs/esm-patient-programs-app 3.0.0-pre.587 → 3.0.0-pre.588

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.
@@ -175,9 +175,9 @@
175
175
  "entry": false,
176
176
  "recorded": false,
177
177
  "reason": "reused as split chunk (cache group: default)",
178
- "size": 102568,
178
+ "size": 102177,
179
179
  "sizes": {
180
- "javascript": 102568
180
+ "javascript": 102177
181
181
  },
182
182
  "names": [],
183
183
  "idHints": [],
@@ -190,7 +190,7 @@
190
190
  "auxiliaryFiles": [
191
191
  "839.openmrs-esm-patient-programs-app.js.map"
192
192
  ],
193
- "hash": "8bb72f7c56febd7e7f0f",
193
+ "hash": "acf8d14d16d1cb608a38",
194
194
  "childrenByOrder": {}
195
195
  },
196
196
  {
@@ -198,9 +198,9 @@
198
198
  "initial": false,
199
199
  "entry": false,
200
200
  "recorded": false,
201
- "size": 117693,
201
+ "size": 117477,
202
202
  "sizes": {
203
- "javascript": 117693
203
+ "javascript": 117477
204
204
  },
205
205
  "names": [],
206
206
  "idHints": [],
@@ -213,7 +213,7 @@
213
213
  "auxiliaryFiles": [
214
214
  "972.openmrs-esm-patient-programs-app.js.map"
215
215
  ],
216
- "hash": "9c505d04ed080254e237",
216
+ "hash": "b87db41a93c69ade070d",
217
217
  "childrenByOrder": {}
218
218
  }
219
219
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-patient-programs-app",
3
- "version": "3.0.0-pre.587",
3
+ "version": "3.0.0-pre.588",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Patient programs microfrontend for the OpenMRS SPA",
6
6
  "browser": "dist/openmrs-esm-patient-programs-app.js",
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "@carbon/charts-react": "^0.41.14",
38
38
  "@carbon/icons-react": "^10.18.0",
39
- "@openmrs/esm-patient-common-lib": "^3.0.0-pre.587",
39
+ "@openmrs/esm-patient-common-lib": "^3.0.0-pre.588",
40
40
  "carbon-components-react": "^7.25.0",
41
41
  "d3": "^5.16.0",
42
42
  "lodash-es": "^4.17.15"
@@ -51,5 +51,5 @@
51
51
  "react-router-dom": "5.x",
52
52
  "rxjs": "6.x"
53
53
  },
54
- "gitHead": "a78668ff6f21bcc3abe1fa2bbccd06b798911683"
54
+ "gitHead": "48304c8ca5811228408a926ca0681c4710b6638c"
55
55
  }
@@ -1,16 +1,21 @@
1
1
  import React, { SyntheticEvent } from 'react';
2
2
  import dayjs from 'dayjs';
3
- import { filter, includes, map } from 'lodash-es';
3
+ import filter from 'lodash-es/filter';
4
+ import includes from 'lodash-es/includes';
5
+ import map from 'lodash-es/map';
6
+ import styles from './programs-form.scss';
4
7
  import { useTranslation } from 'react-i18next';
5
8
  import { createErrorHandler, detach, showNotification, showToast, useSessionUser } from '@openmrs/esm-framework';
6
- import Button from 'carbon-components-react/es/components/Button';
7
- import DatePicker from 'carbon-components-react/es/components/DatePicker';
8
- import DatePickerInput from 'carbon-components-react/es/components/DatePickerInput';
9
- import InlineLoading from 'carbon-components-react/es/components/InlineLoading';
10
- import Select from 'carbon-components-react/es/components/Select';
11
- import SelectItem from 'carbon-components-react/es/components/SelectItem';
12
- import Form from 'carbon-components-react/es/components/Form';
13
- import FormGroup from 'carbon-components-react/es/components/FormGroup';
9
+ import {
10
+ Button,
11
+ DatePicker,
12
+ DatePickerInput,
13
+ InlineLoading,
14
+ Select,
15
+ SelectItem,
16
+ Form,
17
+ FormGroup,
18
+ } from 'carbon-components-react';
14
19
  import {
15
20
  createProgramEnrollment,
16
21
  fetchEnrolledPrograms,
@@ -18,7 +23,6 @@ import {
18
23
  fetchAvailablePrograms,
19
24
  } from './programs.resource';
20
25
  import { Program } from '../types';
21
- import styles from './programs-form.scss';
22
26
 
23
27
  interface Idle {
24
28
  type: ActionTypes.idle;
@@ -1,10 +1,13 @@
1
1
  import React from 'react';
2
2
  import dayjs from 'dayjs';
3
3
  import Add16 from '@carbon/icons-react/es/add/16';
4
- import Button from 'carbon-components-react/es/components/Button';
5
- import Pagination from 'carbon-components-react/es/components/Pagination';
6
- import DataTableSkeleton from 'carbon-components-react/es/components/DataTableSkeleton';
7
- import DataTable, {
4
+ import styles from './programs-overview.scss';
5
+ import { attach } from '@openmrs/esm-framework';
6
+ import {
7
+ DataTable,
8
+ Pagination,
9
+ DataTableSkeleton,
10
+ Button,
8
11
  Table,
9
12
  TableCell,
10
13
  TableContainer,
@@ -12,13 +15,11 @@ import DataTable, {
12
15
  TableHead,
13
16
  TableHeader,
14
17
  TableRow,
15
- } from 'carbon-components-react/es/components/DataTable';
16
- import styles from './programs-overview.scss';
18
+ } from 'carbon-components-react';
17
19
  import { EmptyState, ErrorState } from '@openmrs/esm-patient-common-lib';
18
20
  import { useTranslation } from 'react-i18next';
19
21
  import { fetchActiveEnrollments } from './programs.resource';
20
22
  import { PatientProgram } from '../types';
21
- import { attach } from '@openmrs/esm-framework';
22
23
 
23
24
  interface ProgramsOverviewProps {
24
25
  basePath: string;