@crystaltech/hsms-shared-ui 0.7.4 → 0.7.5
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/dist/components/GlobalHospitalSelectDialog.d.ts +2 -0
- package/dist/components/HospitalSelect.d.ts +27 -0
- package/dist/components/banner/Banner.d.ts +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +7513 -7353
- package/dist/index.js +71 -71
- package/dist/sw.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface IHospital {
|
|
3
|
+
id: string;
|
|
4
|
+
facilityId: string;
|
|
5
|
+
hospitalName: string;
|
|
6
|
+
address: string;
|
|
7
|
+
division: string;
|
|
8
|
+
district: string;
|
|
9
|
+
upazila: string;
|
|
10
|
+
city: string;
|
|
11
|
+
zip: string;
|
|
12
|
+
country: string;
|
|
13
|
+
phone: string;
|
|
14
|
+
email: string;
|
|
15
|
+
website: string;
|
|
16
|
+
logoUrl: string;
|
|
17
|
+
bannerUrl: string;
|
|
18
|
+
backgroundImageUrl: string;
|
|
19
|
+
}
|
|
20
|
+
export interface FacilitySelectProps {
|
|
21
|
+
selectedValue?: IHospital | null;
|
|
22
|
+
onChange?: (selectedFacility: IHospital | null) => void;
|
|
23
|
+
label?: string;
|
|
24
|
+
size?: "small" | "medium";
|
|
25
|
+
}
|
|
26
|
+
declare const HospitalSelect: React.FC<FacilitySelectProps>;
|
|
27
|
+
export default HospitalSelect;
|
|
@@ -14,10 +14,10 @@ interface HospitalInfoProps {
|
|
|
14
14
|
division: string;
|
|
15
15
|
country: string;
|
|
16
16
|
zip: string;
|
|
17
|
-
logoUrl: string;
|
|
18
|
-
bannerUrl: string;
|
|
19
|
-
backgroundImageUrl: string;
|
|
20
|
-
|
|
17
|
+
logoUrl: string | null;
|
|
18
|
+
bannerUrl: string | null;
|
|
19
|
+
backgroundImageUrl: string | null;
|
|
20
|
+
bannerWithImage: boolean;
|
|
21
21
|
status: string | null;
|
|
22
22
|
reasonToDelete: string | null;
|
|
23
23
|
reasonToUpdate: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as ThemeSetting } from './components/ThemeSetting';
|
|
2
2
|
export { default as Banner } from './components/banner/Banner';
|
|
3
|
+
export { default as GlobalHospitalSelectDialog } from './components/GlobalHospitalSelectDialog';
|
|
3
4
|
export { default as MainLayout } from './components/layout/MainLayout';
|
|
4
5
|
export { default as MainlayoutWithWrapper } from './components/layout/MainlayoutWithWrapper';
|
|
5
6
|
export { default as MultiDynamicTable } from './components/MultiDynamicTable/MultiDynamicTable';
|