@egen-civitas/esm-styleguide 2.3.0 → 3.0.0
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/CHANGELOG.md +46 -0
- package/dist/_all.scss +0 -1
- package/dist/_vars.scss +4 -4
- package/dist/assistant/index.d.ts +7 -0
- package/dist/assistant/index.d.ts.map +1 -1
- package/dist/assistant/index.js +5 -0
- package/dist/assistant/live-orb.component.d.ts +6 -0
- package/dist/assistant/live-orb.component.d.ts.map +1 -1
- package/dist/assistant/live-orb.component.js +15 -3
- package/dist/assistant/robot/README.md +47 -0
- package/dist/assistant/robot/Robot.d.ts +16 -0
- package/dist/assistant/robot/Robot.d.ts.map +1 -0
- package/dist/assistant/robot/Robot.js +159 -0
- package/dist/assistant/robot/RobotStage.d.ts +31 -0
- package/dist/assistant/robot/RobotStage.d.ts.map +1 -0
- package/dist/assistant/robot/RobotStage.js +250 -0
- package/dist/assistant/robot/clips.d.ts +62 -0
- package/dist/assistant/robot/clips.d.ts.map +1 -0
- package/dist/assistant/robot/clips.js +179 -0
- package/dist/assistant/robot/controller.d.ts +133 -0
- package/dist/assistant/robot/controller.d.ts.map +1 -0
- package/dist/assistant/robot/controller.js +522 -0
- package/dist/assistant/robot/gestures.d.ts +23 -0
- package/dist/assistant/robot/gestures.d.ts.map +1 -0
- package/dist/assistant/robot/gestures.js +1301 -0
- package/dist/assistant/robot/hands.d.ts +55 -0
- package/dist/assistant/robot/hands.d.ts.map +1 -0
- package/dist/assistant/robot/hands.js +121 -0
- package/dist/assistant/robot/ik.d.ts +34 -0
- package/dist/assistant/robot/ik.d.ts.map +1 -0
- package/dist/assistant/robot/ik.js +57 -0
- package/dist/assistant/robot/index.d.ts +18 -0
- package/dist/assistant/robot/index.d.ts.map +1 -0
- package/dist/assistant/robot/index.js +9 -0
- package/dist/assistant/robot/lazy.d.ts +8 -0
- package/dist/assistant/robot/lazy.d.ts.map +1 -0
- package/dist/assistant/robot/lazy.js +33 -0
- package/dist/assistant/robot/materials.d.ts +46 -0
- package/dist/assistant/robot/materials.d.ts.map +1 -0
- package/dist/assistant/robot/materials.js +101 -0
- package/dist/assistant/robot/parts/Body.d.ts +28 -0
- package/dist/assistant/robot/parts/Body.d.ts.map +1 -0
- package/dist/assistant/robot/parts/Body.js +368 -0
- package/dist/assistant/robot/parts/Head.d.ts +11 -0
- package/dist/assistant/robot/parts/Head.d.ts.map +1 -0
- package/dist/assistant/robot/parts/Head.js +210 -0
- package/dist/assistant/robot/parts/primitives.d.ts +36 -0
- package/dist/assistant/robot/parts/primitives.d.ts.map +1 -0
- package/dist/assistant/robot/parts/primitives.js +127 -0
- package/dist/assistant/robot/skeleton.d.ts +66 -0
- package/dist/assistant/robot/skeleton.d.ts.map +1 -0
- package/dist/assistant/robot/skeleton.js +266 -0
- package/dist/cards/card-header.component.d.ts +1 -1
- package/dist/cards/card-header.component.js +1 -1
- package/dist/cards/card-header.stories.js +1 -1
- package/dist/components/_general.scss +3 -3
- package/dist/config-schema.d.ts +0 -17
- package/dist/config-schema.d.ts.map +1 -1
- package/dist/config-schema.js +0 -25
- package/dist/datepicker/datepicker.stories.js +1 -1
- package/dist/empty-card/empty-card.stories.js +2 -2
- package/dist/error-state/error-state.stories.js +2 -2
- package/dist/icons/icon-registration.d.ts.map +1 -1
- package/dist/icons/icon-registration.js +0 -30
- package/dist/icons/icons.d.ts +4 -32
- package/dist/icons/icons.d.ts.map +1 -1
- package/dist/icons/icons.js +18 -148
- package/dist/index.js +0 -2
- package/dist/internal.d.ts +0 -3
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +0 -3
- package/dist/notifications/actionable-notification.stories.js +5 -5
- package/dist/notifications/notification.stories.js +5 -5
- package/dist/page-header/page-header.component.d.ts +1 -1
- package/dist/page-header/page-header.component.js +1 -1
- package/dist/pagination/pagination.stories.js +2 -2
- package/dist/pictograms/pictogram-registration.d.ts.map +1 -1
- package/dist/pictograms/pictogram-registration.js +2 -36
- package/dist/pictograms/pictograms.d.ts +2 -20
- package/dist/pictograms/pictograms.d.ts.map +1 -1
- package/dist/pictograms/pictograms.js +2 -139
- package/dist/public.d.ts +0 -3
- package/dist/public.d.ts.map +1 -1
- package/dist/public.js +0 -3
- package/dist/responsive-wrapper/responsive-wrapper.stories.js +1 -1
- package/dist/snackbars/snackbar.stories.js +1 -1
- package/dist/toasts/toast.stories.js +1 -1
- package/dist/workbench/splitter.component.d.ts +14 -0
- package/dist/workbench/splitter.component.d.ts.map +1 -1
- package/dist/workbench/splitter.component.js +52 -0
- package/dist/workbench/tool-window-rail.component.d.ts.map +1 -1
- package/dist/workbench/tool-window-rail.component.js +9 -1
- package/dist/workbench/tool-window-zone.component.d.ts.map +1 -1
- package/dist/workbench/tool-window-zone.component.js +9 -1
- package/dist/workbench/workbench.module.scss +64 -1
- package/dist/workbench/workbench.store.d.ts +2 -0
- package/dist/workbench/workbench.store.d.ts.map +1 -1
- package/dist/workbench/workbench.store.js +9 -0
- package/dist/workspaces/container/workspace-container.component.d.ts +8 -8
- package/dist/workspaces/container/workspace-container.component.js +9 -9
- package/dist/workspaces2/workspace2.d.ts +3 -3
- package/dist/workspaces2/workspace2.js +3 -3
- package/mock-jest.tsx +0 -41
- package/mock.tsx +0 -41
- package/package.json +26 -23
- package/src/_vars.scss +4 -4
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.d.ts +0 -19
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.d.ts.map +0 -1
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.js +0 -137
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.module.scss +0 -23
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.d.ts +0 -9
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.js +0 -207
- package/dist/entity-banner/contact-details/entity-banner-contact-details.module.scss +0 -47
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.d.ts +0 -12
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.js +0 -15
- package/dist/entity-banner/contact-details/types.d.ts +0 -48
- package/dist/entity-banner/contact-details/types.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/types.js +0 -1
- package/dist/entity-banner/contact-details/useEntityAttributes.d.ts +0 -14
- package/dist/entity-banner/contact-details/useEntityAttributes.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/useEntityAttributes.js +0 -12
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.d.ts +0 -11
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.js +0 -9
- package/dist/entity-banner/contact-details/useRelationships.d.ts +0 -35
- package/dist/entity-banner/contact-details/useRelationships.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/useRelationships.js +0 -37
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.d.ts +0 -9
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.d.ts.map +0 -1
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.js +0 -77
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.d.ts +0 -9
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.d.ts.map +0 -1
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.js +0 -72
- package/dist/entity-banner/entity-info/entity-banner-entity-info.module.scss +0 -165
- package/dist/entity-banner/index.d.ts +0 -5
- package/dist/entity-banner/index.d.ts.map +0 -1
- package/dist/entity-banner/index.js +0 -4
- package/dist/entity-photo/entity-photo.component.d.ts +0 -21
- package/dist/entity-photo/entity-photo.component.d.ts.map +0 -1
- package/dist/entity-photo/entity-photo.component.js +0 -111
- package/dist/entity-photo/entity-photo.module.scss +0 -21
- package/dist/entity-photo/index.d.ts +0 -3
- package/dist/entity-photo/index.d.ts.map +0 -1
- package/dist/entity-photo/index.js +0 -2
- package/dist/entity-photo/placeholder-icon.component.d.ts +0 -9
- package/dist/entity-photo/placeholder-icon.component.d.ts.map +0 -1
- package/dist/entity-photo/placeholder-icon.component.js +0 -26
- package/dist/entity-photo/useEntityPhoto.d.ts +0 -29
- package/dist/entity-photo/useEntityPhoto.d.ts.map +0 -1
- package/dist/entity-photo/useEntityPhoto.js +0 -37
- package/dist/icons/svgs/baby.svg +0 -1
- package/dist/icons/svgs/chemistry.svg +0 -1
- package/dist/icons/svgs/drug-order.svg +0 -1
- package/dist/icons/svgs/generic-order-type.svg +0 -1
- package/dist/icons/svgs/hospital-bed.svg +0 -1
- package/dist/icons/svgs/image-medical.svg +0 -1
- package/dist/icons/svgs/lab-order.svg +0 -1
- package/dist/icons/svgs/material-order.svg +0 -1
- package/dist/icons/svgs/medication.svg +0 -1
- package/dist/icons/svgs/microscope.svg +0 -1
- package/dist/icons/svgs/mother.svg +0 -1
- package/dist/icons/svgs/procedure-order.svg +0 -1
- package/dist/icons/svgs/referral-order.svg +0 -1
- package/dist/icons/svgs/syringe.svg +0 -1
- package/dist/logo/_logo.scss +0 -34
- package/dist/logo/egen-logo-full.svg +0 -1
- package/dist/logo/egen-logo-icon.svg +0 -1
- package/dist/logo/egen-logo-partial.svg +0 -1
- package/dist/logo/egen-logo-white.svg +0 -1
- package/dist/logo/index.d.ts +0 -8
- package/dist/logo/index.d.ts.map +0 -1
- package/dist/logo/index.js +0 -22
- package/dist/numeric-datapoint/index.d.ts +0 -4
- package/dist/numeric-datapoint/index.d.ts.map +0 -1
- package/dist/numeric-datapoint/index.js +0 -3
- package/dist/numeric-datapoint/interpretation-utils.d.ts +0 -27
- package/dist/numeric-datapoint/interpretation-utils.d.ts.map +0 -1
- package/dist/numeric-datapoint/interpretation-utils.js +0 -66
- package/dist/numeric-datapoint/numeric-datapoint.component.d.ts +0 -44
- package/dist/numeric-datapoint/numeric-datapoint.component.d.ts.map +0 -1
- package/dist/numeric-datapoint/numeric-datapoint.component.js +0 -110
- package/dist/numeric-datapoint/numeric-datapoint.module.scss +0 -141
- package/dist/numeric-datapoint/use-concept-reference-range.d.ts +0 -13
- package/dist/numeric-datapoint/use-concept-reference-range.d.ts.map +0 -1
- package/dist/numeric-datapoint/use-concept-reference-range.js +0 -31
- package/dist/pictograms/svgs/blood-bank.svg +0 -1
- package/dist/pictograms/svgs/cardiology.svg +0 -1
- package/dist/pictograms/svgs/ct-scan.svg +0 -1
- package/dist/pictograms/svgs/dentistry.svg +0 -1
- package/dist/pictograms/svgs/emergency-department.svg +0 -1
- package/dist/pictograms/svgs/geriatrics.svg +0 -1
- package/dist/pictograms/svgs/gynaecology.svg +0 -1
- package/dist/pictograms/svgs/in-patient.svg +0 -1
- package/dist/pictograms/svgs/labs-2.svg +0 -1
- package/dist/pictograms/svgs/labs.svg +0 -1
- package/dist/pictograms/svgs/obstetrics.svg +0 -1
- package/dist/pictograms/svgs/patient-search.svg +0 -1
- package/dist/pictograms/svgs/patients.svg +0 -1
- package/dist/pictograms/svgs/pharmacy-1.svg +0 -1
- package/dist/pictograms/svgs/pharmacy-2.svg +0 -1
- package/dist/pictograms/svgs/triage.svg +0 -1
- package/dist/pictograms/svgs/x-ray.svg +0 -1
package/dist/icons/icons.js
CHANGED
|
@@ -10,7 +10,6 @@ import style from "./icons.module.scss";
|
|
|
10
10
|
'egen-icon-arrow-left',
|
|
11
11
|
'egen-icon-arrow-right',
|
|
12
12
|
'egen-icon-arrow-up',
|
|
13
|
-
'egen-icon-baby',
|
|
14
13
|
'egen-icon-calendar-heat-map',
|
|
15
14
|
'egen-icon-calendar',
|
|
16
15
|
'egen-icon-caret-down',
|
|
@@ -21,7 +20,6 @@ import style from "./icons.module.scss";
|
|
|
21
20
|
'egen-icon-chart-line',
|
|
22
21
|
'egen-icon-checkmark-filled',
|
|
23
22
|
'egen-icon-checkmark-outline',
|
|
24
|
-
'egen-icon-chemistry',
|
|
25
23
|
'egen-icon-chevron-down',
|
|
26
24
|
'egen-icon-chevron-left',
|
|
27
25
|
'egen-icon-chevron-right',
|
|
@@ -32,7 +30,6 @@ import style from "./icons.module.scss";
|
|
|
32
30
|
'egen-icon-document',
|
|
33
31
|
'egen-icon-document-attachment',
|
|
34
32
|
'egen-icon-download',
|
|
35
|
-
'egen-icon-drug-order',
|
|
36
33
|
'egen-icon-edit',
|
|
37
34
|
'egen-icon-event-schedule',
|
|
38
35
|
'egen-icon-events',
|
|
@@ -40,25 +37,17 @@ import style from "./icons.module.scss";
|
|
|
40
37
|
'egen-icon-gender-male',
|
|
41
38
|
'egen-icon-gender-other',
|
|
42
39
|
'egen-icon-gender-unknown',
|
|
43
|
-
'egen-icon-generic-order-type',
|
|
44
40
|
'egen-icon-group',
|
|
45
41
|
'egen-icon-group-access',
|
|
46
|
-
'egen-icon-hospital-bed',
|
|
47
|
-
'egen-icon-image-medical',
|
|
48
42
|
'egen-icon-information',
|
|
49
43
|
'egen-icon-information-filled',
|
|
50
44
|
'egen-icon-information-square',
|
|
51
45
|
'egen-icon-inventory-management',
|
|
52
|
-
'egen-icon-lab-order',
|
|
53
46
|
'egen-icon-list-checked',
|
|
54
47
|
'egen-icon-location',
|
|
55
|
-
'egen-icon-material-order',
|
|
56
48
|
'egen-icon-maximize',
|
|
57
|
-
'egen-icon-medication',
|
|
58
49
|
'egen-icon-message-queue',
|
|
59
|
-
'egen-icon-microscope',
|
|
60
50
|
'egen-icon-money',
|
|
61
|
-
'egen-icon-mother',
|
|
62
51
|
'egen-icon-movement',
|
|
63
52
|
'egen-icon-overflow-menu--horizontal',
|
|
64
53
|
'egen-icon-overflow-menu--vertical',
|
|
@@ -66,10 +55,8 @@ import style from "./icons.module.scss";
|
|
|
66
55
|
'egen-icon-pedestrian-family',
|
|
67
56
|
'egen-icon-pen',
|
|
68
57
|
'egen-icon-printer',
|
|
69
|
-
'egen-icon-procedure-order',
|
|
70
58
|
'egen-icon-programs',
|
|
71
59
|
'egen-icon-renew',
|
|
72
|
-
'egen-icon-referral-order',
|
|
73
60
|
'egen-icon-report',
|
|
74
61
|
'egen-icon-reset',
|
|
75
62
|
'egen-icon-save',
|
|
@@ -79,7 +66,6 @@ import style from "./icons.module.scss";
|
|
|
79
66
|
'egen-icon-shopping-cart--arrow-down',
|
|
80
67
|
'egen-icon-sticky-note-add',
|
|
81
68
|
'egen-icon-switcher',
|
|
82
|
-
'egen-icon-syringe',
|
|
83
69
|
'egen-icon-table-of-contents',
|
|
84
70
|
'egen-icon-table',
|
|
85
71
|
'egen-icon-time',
|
|
@@ -89,7 +75,6 @@ import style from "./icons.module.scss";
|
|
|
89
75
|
'egen-icon-tree-view--alt',
|
|
90
76
|
'egen-icon-user-avatar',
|
|
91
77
|
'egen-icon-user-follow',
|
|
92
|
-
'egen-icon-user-xray',
|
|
93
78
|
'egen-icon-user',
|
|
94
79
|
'egen-icon-view-off',
|
|
95
80
|
'egen-icon-view',
|
|
@@ -144,14 +129,7 @@ import style from "./icons.module.scss";
|
|
|
144
129
|
});
|
|
145
130
|
}));
|
|
146
131
|
/**
|
|
147
|
-
*/
|
|
148
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
149
|
-
ref: ref,
|
|
150
|
-
icon: "egen-icon-baby",
|
|
151
|
-
iconProps: props
|
|
152
|
-
});
|
|
153
|
-
}));
|
|
154
|
-
/**
|
|
132
|
+
*/ /**
|
|
155
133
|
*/ export const CalendarHeatMapIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function CalendarHeatMap(props, ref) {
|
|
156
134
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
157
135
|
ref: ref,
|
|
@@ -232,14 +210,7 @@ import style from "./icons.module.scss";
|
|
|
232
210
|
});
|
|
233
211
|
}));
|
|
234
212
|
/**
|
|
235
|
-
*/
|
|
236
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
237
|
-
ref: ref,
|
|
238
|
-
icon: "egen-icon-chemistry",
|
|
239
|
-
iconProps: props
|
|
240
|
-
});
|
|
241
|
-
}));
|
|
242
|
-
/**
|
|
213
|
+
*/ /**
|
|
243
214
|
*/ export const ChevronDownIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function ChevronDownIcon(props, ref) {
|
|
244
215
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
245
216
|
ref: ref,
|
|
@@ -320,14 +291,7 @@ import style from "./icons.module.scss";
|
|
|
320
291
|
});
|
|
321
292
|
}));
|
|
322
293
|
/**
|
|
323
|
-
*/
|
|
324
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
325
|
-
ref: ref,
|
|
326
|
-
icon: "egen-icon-drug-order",
|
|
327
|
-
iconProps: props
|
|
328
|
-
});
|
|
329
|
-
}));
|
|
330
|
-
/**
|
|
294
|
+
*/ /**
|
|
331
295
|
*/ export const EditIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function EditIcon(props, ref) {
|
|
332
296
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
333
297
|
ref: ref,
|
|
@@ -384,14 +348,7 @@ import style from "./icons.module.scss";
|
|
|
384
348
|
});
|
|
385
349
|
}));
|
|
386
350
|
/**
|
|
387
|
-
*/
|
|
388
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
389
|
-
ref: ref,
|
|
390
|
-
icon: "egen-icon-generic-order-type",
|
|
391
|
-
iconProps: props
|
|
392
|
-
});
|
|
393
|
-
}));
|
|
394
|
-
/**
|
|
351
|
+
*/ /**
|
|
395
352
|
*/ export const GroupIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function GroupIcon(props, ref) {
|
|
396
353
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
397
354
|
ref: ref,
|
|
@@ -408,22 +365,8 @@ import style from "./icons.module.scss";
|
|
|
408
365
|
});
|
|
409
366
|
}));
|
|
410
367
|
/**
|
|
411
|
-
*/
|
|
412
|
-
|
|
413
|
-
ref: ref,
|
|
414
|
-
icon: "egen-icon-hospital-bed",
|
|
415
|
-
iconProps: props
|
|
416
|
-
});
|
|
417
|
-
}));
|
|
418
|
-
/**
|
|
419
|
-
*/ export const ImageMedicalIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function ImageMedicalIcon(props, ref) {
|
|
420
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
421
|
-
ref: ref,
|
|
422
|
-
icon: "egen-icon-image-medical",
|
|
423
|
-
iconProps: props
|
|
424
|
-
});
|
|
425
|
-
}));
|
|
426
|
-
/**
|
|
368
|
+
*/ /**
|
|
369
|
+
*/ /**
|
|
427
370
|
*/ export const InformationIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function InformationIcon(props, ref) {
|
|
428
371
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
429
372
|
ref: ref,
|
|
@@ -456,14 +399,7 @@ import style from "./icons.module.scss";
|
|
|
456
399
|
});
|
|
457
400
|
}));
|
|
458
401
|
/**
|
|
459
|
-
*/
|
|
460
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
461
|
-
ref: ref,
|
|
462
|
-
icon: "egen-icon-lab-order",
|
|
463
|
-
iconProps: props
|
|
464
|
-
});
|
|
465
|
-
}));
|
|
466
|
-
/**
|
|
402
|
+
*/ /**
|
|
467
403
|
*/ export const ListCheckedIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function ListCheckedIcon(props, ref) {
|
|
468
404
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
469
405
|
ref: ref,
|
|
@@ -480,14 +416,7 @@ import style from "./icons.module.scss";
|
|
|
480
416
|
});
|
|
481
417
|
}));
|
|
482
418
|
/**
|
|
483
|
-
*/
|
|
484
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
485
|
-
ref: ref,
|
|
486
|
-
icon: "egen-icon-material-order",
|
|
487
|
-
iconProps: props
|
|
488
|
-
});
|
|
489
|
-
}));
|
|
490
|
-
/**
|
|
419
|
+
*/ /**
|
|
491
420
|
*/ export const MaximizeIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function MaximizeIcon(props, ref) {
|
|
492
421
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
493
422
|
ref: ref,
|
|
@@ -496,14 +425,7 @@ import style from "./icons.module.scss";
|
|
|
496
425
|
});
|
|
497
426
|
}));
|
|
498
427
|
/**
|
|
499
|
-
*/
|
|
500
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
501
|
-
ref: ref,
|
|
502
|
-
icon: "egen-icon-medication",
|
|
503
|
-
iconProps: props
|
|
504
|
-
});
|
|
505
|
-
}));
|
|
506
|
-
/**
|
|
428
|
+
*/ /**
|
|
507
429
|
*/ export const MessageQueueIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function MessageQueueIcon(props, ref) {
|
|
508
430
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
509
431
|
ref: ref,
|
|
@@ -512,14 +434,7 @@ import style from "./icons.module.scss";
|
|
|
512
434
|
});
|
|
513
435
|
}));
|
|
514
436
|
/**
|
|
515
|
-
*/
|
|
516
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
517
|
-
ref: ref,
|
|
518
|
-
icon: "egen-icon-microscope",
|
|
519
|
-
iconProps: props
|
|
520
|
-
});
|
|
521
|
-
}));
|
|
522
|
-
/**
|
|
437
|
+
*/ /**
|
|
523
438
|
* Billing
|
|
524
439
|
*/ export const MoneyIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function MoneyIcon(props, ref) {
|
|
525
440
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
@@ -529,14 +444,7 @@ import style from "./icons.module.scss";
|
|
|
529
444
|
});
|
|
530
445
|
}));
|
|
531
446
|
/**
|
|
532
|
-
*/
|
|
533
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
534
|
-
ref: ref,
|
|
535
|
-
icon: "egen-icon-mother",
|
|
536
|
-
iconProps: props
|
|
537
|
-
});
|
|
538
|
-
}));
|
|
539
|
-
/**
|
|
447
|
+
*/ /**
|
|
540
448
|
*/ export const MovementIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function MovementIcon(props, ref) {
|
|
541
449
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
542
450
|
ref: ref,
|
|
@@ -592,14 +500,7 @@ export const PasswordIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function
|
|
|
592
500
|
});
|
|
593
501
|
}));
|
|
594
502
|
/**
|
|
595
|
-
*/
|
|
596
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
597
|
-
ref: ref,
|
|
598
|
-
icon: "egen-icon-procedure-order",
|
|
599
|
-
iconProps: props
|
|
600
|
-
});
|
|
601
|
-
}));
|
|
602
|
-
/**
|
|
503
|
+
*/ /**
|
|
603
504
|
*/ export const ProgramsIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function ProgramsIcon(props, ref) {
|
|
604
505
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
605
506
|
ref: ref,
|
|
@@ -608,14 +509,7 @@ export const PasswordIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function
|
|
|
608
509
|
});
|
|
609
510
|
}));
|
|
610
511
|
/**
|
|
611
|
-
*/
|
|
612
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
613
|
-
ref: ref,
|
|
614
|
-
icon: "egen-icon-referral-order",
|
|
615
|
-
iconProps: props
|
|
616
|
-
});
|
|
617
|
-
}));
|
|
618
|
-
/**
|
|
512
|
+
*/ /**
|
|
619
513
|
*/ export const RenewIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function RenewIcon(props, ref) {
|
|
620
514
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
621
515
|
ref: ref,
|
|
@@ -690,7 +584,7 @@ export const PasswordIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function
|
|
|
690
584
|
});
|
|
691
585
|
}));
|
|
692
586
|
/**
|
|
693
|
-
* Used as action button to open
|
|
587
|
+
* Used as action button to open note workspace
|
|
694
588
|
*/ export const StickyNoteAddIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function StickyNoteAddIcon(props, ref) {
|
|
695
589
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
696
590
|
ref: ref,
|
|
@@ -699,14 +593,7 @@ export const PasswordIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function
|
|
|
699
593
|
});
|
|
700
594
|
}));
|
|
701
595
|
/**
|
|
702
|
-
*/
|
|
703
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
704
|
-
ref: ref,
|
|
705
|
-
icon: "egen-icon-syringe",
|
|
706
|
-
iconProps: props
|
|
707
|
-
});
|
|
708
|
-
}));
|
|
709
|
-
/**
|
|
596
|
+
*/ /**
|
|
710
597
|
* Used as a button to add an item to the Order basket from a search
|
|
711
598
|
*/ export const TableOfContentsIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function TableOfContentsIcon(props, ref) {
|
|
712
599
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
@@ -785,14 +672,7 @@ export const PasswordIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function
|
|
|
785
672
|
* UserXray Icon
|
|
786
673
|
*
|
|
787
674
|
* `UserXrayIcon` is also used for imaging orders
|
|
788
|
-
*/
|
|
789
|
-
return /*#__PURE__*/ _jsx(Icon, {
|
|
790
|
-
ref: ref,
|
|
791
|
-
icon: "egen-icon-user-xray",
|
|
792
|
-
iconProps: props
|
|
793
|
-
});
|
|
794
|
-
}));
|
|
795
|
-
/**
|
|
675
|
+
*/ /**
|
|
796
676
|
*/ export const UserIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function UserIcon(props, ref) {
|
|
797
677
|
return /*#__PURE__*/ _jsx(Icon, {
|
|
798
678
|
ref: ref,
|
|
@@ -826,21 +706,11 @@ export const PasswordIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function
|
|
|
826
706
|
}));
|
|
827
707
|
// Icon aliases that are a little more aligned to specific use-cases
|
|
828
708
|
// should all resolve to a defined React icon
|
|
829
|
-
/**
|
|
830
|
-
*/ export const AllergiesIcon = WarningIcon;
|
|
831
709
|
/**
|
|
832
710
|
*
|
|
833
711
|
*/ export const AttachmentIcon = DocumentAttachmentIcon;
|
|
834
712
|
/**
|
|
835
|
-
*
|
|
836
|
-
*
|
|
837
|
-
* Note this is an alias for ListCheckedIcon
|
|
838
|
-
*/ export const ConditionsIcon = ListCheckedIcon;
|
|
839
|
-
/**
|
|
840
|
-
*
|
|
841
|
-
*/ export const RadiologyIcon = ImageMedicalIcon;
|
|
842
|
-
/**
|
|
843
|
-
* Used as a button to add an item to the Order basket from a search
|
|
713
|
+
* Used as a button to add an item to a basket from a search
|
|
844
714
|
*
|
|
845
715
|
* Note this is an alias for ShoppingCartArrowDownIcon
|
|
846
716
|
*/ export const ShoppingCartAddItemIcon = ShoppingCartArrowDownIcon;
|
|
@@ -850,7 +720,7 @@ export const PasswordIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function
|
|
|
850
720
|
*
|
|
851
721
|
* @example
|
|
852
722
|
* ```tsx
|
|
853
|
-
* <MaybeIcon icon='egen-icon-
|
|
723
|
+
* <MaybeIcon icon='egen-icon-user' className={styles.myIconStyles} />
|
|
854
724
|
* ```
|
|
855
725
|
*/ export const MaybeIcon = /*#__PURE__*/ memo(/*#__PURE__*/ forwardRef(function MaybeIcon({ icon, fallback, ...iconProps }, ref) {
|
|
856
726
|
const iconRef = useRef(icon ? document.getElementById(icon) : undefined);
|
package/dist/index.js
CHANGED
|
@@ -5,13 +5,11 @@ import { setupBranding } from "./brand.js";
|
|
|
5
5
|
import { esmStyleGuideSchema } from "./config-schema.js";
|
|
6
6
|
import { setupEmptyCard } from "./empty-card/empty-card-registration.js";
|
|
7
7
|
import { setupIcons } from "./icons/icon-registration.js";
|
|
8
|
-
import { setupLogo } from "./logo/index.js";
|
|
9
8
|
import { setupPictograms } from "./pictograms/pictogram-registration.js";
|
|
10
9
|
import { flushSvgs } from "./svg-utils.js";
|
|
11
10
|
import Workspace2ClosePromptModal from "./workspaces2/workspace2-close-prompt.modal.js";
|
|
12
11
|
defineConfigSchema('@egen-civitas/esm-styleguide', esmStyleGuideSchema);
|
|
13
12
|
setupBranding();
|
|
14
|
-
setupLogo();
|
|
15
13
|
setupIcons();
|
|
16
14
|
setupPictograms();
|
|
17
15
|
setupEmptyCard();
|
package/dist/internal.d.ts
CHANGED
|
@@ -14,12 +14,9 @@ export * from './modals/index.js';
|
|
|
14
14
|
export * from './notifications/index.js';
|
|
15
15
|
export * from './notifications/actionable-notification.component.js';
|
|
16
16
|
export * from './notifications/notification.component.js';
|
|
17
|
-
export * from './numeric-datapoint/numeric-datapoint.component.js';
|
|
18
17
|
export * from './page-background/index.js';
|
|
19
18
|
export * from './page-header/index.js';
|
|
20
19
|
export * from './pagination/index.js';
|
|
21
|
-
export * from './entity-banner/index.js';
|
|
22
|
-
export * from './entity-photo/index.js';
|
|
23
20
|
export * from './pictograms/pictograms.js';
|
|
24
21
|
export * from './responsive-wrapper/index.js';
|
|
25
22
|
export * from './snackbars/index.js';
|
package/dist/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uDAAuD,CAAC;AACtE,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
|
package/dist/internal.js
CHANGED
|
@@ -14,12 +14,9 @@ export * from "./modals/index.js";
|
|
|
14
14
|
export * from "./notifications/index.js";
|
|
15
15
|
export * from "./notifications/actionable-notification.component.js";
|
|
16
16
|
export * from "./notifications/notification.component.js";
|
|
17
|
-
export * from "./numeric-datapoint/numeric-datapoint.component.js";
|
|
18
17
|
export * from "./page-background/index.js";
|
|
19
18
|
export * from "./page-header/index.js";
|
|
20
19
|
export * from "./pagination/index.js";
|
|
21
|
-
export * from "./entity-banner/index.js";
|
|
22
|
-
export * from "./entity-photo/index.js";
|
|
23
20
|
export * from "./pictograms/pictograms.js";
|
|
24
21
|
export * from "./responsive-wrapper/index.js";
|
|
25
22
|
export * from "./snackbars/index.js";
|
|
@@ -15,9 +15,9 @@ export const Default = {
|
|
|
15
15
|
args: {
|
|
16
16
|
notification: {
|
|
17
17
|
id: 1,
|
|
18
|
-
title: '
|
|
19
|
-
subtitle: 'No
|
|
20
|
-
actionButtonLabel: 'Record
|
|
18
|
+
title: 'Documents',
|
|
19
|
+
subtitle: 'No documents have been recorded for this entity.',
|
|
20
|
+
actionButtonLabel: 'Record documents',
|
|
21
21
|
onActionButtonClick: ()=>{}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -26,8 +26,8 @@ export const WithProgressLabel = {
|
|
|
26
26
|
args: {
|
|
27
27
|
notification: {
|
|
28
28
|
id: 2,
|
|
29
|
-
title: '
|
|
30
|
-
subtitle: 'The current
|
|
29
|
+
title: 'Session ended',
|
|
30
|
+
subtitle: 'The current session has been ended.',
|
|
31
31
|
actionButtonLabel: 'Undo',
|
|
32
32
|
progressActionLabel: 'Undoing...',
|
|
33
33
|
onActionButtonClick: ()=>{}
|
|
@@ -16,7 +16,7 @@ export const Info = {
|
|
|
16
16
|
notification: {
|
|
17
17
|
id: 1,
|
|
18
18
|
title: 'Note',
|
|
19
|
-
description: 'This
|
|
19
|
+
description: 'This entity has an active session.',
|
|
20
20
|
kind: 'info'
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -26,7 +26,7 @@ export const Error = {
|
|
|
26
26
|
notification: {
|
|
27
27
|
id: 2,
|
|
28
28
|
title: 'Error',
|
|
29
|
-
description: 'Failed to load
|
|
29
|
+
description: 'Failed to load entity data.',
|
|
30
30
|
kind: 'error'
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -45,10 +45,10 @@ export const WithAction = {
|
|
|
45
45
|
args: {
|
|
46
46
|
notification: {
|
|
47
47
|
id: 4,
|
|
48
|
-
title: '
|
|
49
|
-
description: 'No
|
|
48
|
+
title: 'Documents',
|
|
49
|
+
description: 'No documents have been recorded for this entity.',
|
|
50
50
|
kind: 'info',
|
|
51
|
-
action: 'Record
|
|
51
|
+
action: 'Record documents'
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
};
|
|
@@ -23,7 +23,7 @@ export type PageHeaderProps = XOR<PageHeaderWrapperProps, PageHeaderContentProps
|
|
|
23
23
|
/**
|
|
24
24
|
* The page header is typically located at the top of a dashboard. It includes a pictogram on the left,
|
|
25
25
|
* the name of the dashboard or page, and the `implementationName` from the configuration, which is typically
|
|
26
|
-
* the name of the
|
|
26
|
+
* the name of the office or the authority that is using the implementation. It can also include interactive
|
|
27
27
|
* content on the right-hand side. It can be used in two ways:
|
|
28
28
|
*
|
|
29
29
|
* 1. Alone, in order to render just the page header, with no content on the right side:
|
|
@@ -10,7 +10,7 @@ const isPageHeaderWrapperProps = (props)=>{
|
|
|
10
10
|
/**
|
|
11
11
|
* The page header is typically located at the top of a dashboard. It includes a pictogram on the left,
|
|
12
12
|
* the name of the dashboard or page, and the `implementationName` from the configuration, which is typically
|
|
13
|
-
* the name of the
|
|
13
|
+
* the name of the office or the authority that is using the implementation. It can also include interactive
|
|
14
14
|
* content on the right-hand side. It can be used in two ways:
|
|
15
15
|
*
|
|
16
16
|
* 1. Alone, in order to render just the page header, with no content on the right side:
|
|
@@ -39,7 +39,7 @@ export const WithDashboardLink = {
|
|
|
39
39
|
pageSize: 5,
|
|
40
40
|
pageNumber: 1,
|
|
41
41
|
currentItems: 5,
|
|
42
|
-
dashboardLinkUrl: '/dashboard/
|
|
43
|
-
dashboardLinkLabel: 'View all
|
|
42
|
+
dashboardLinkUrl: '/dashboard/metrics',
|
|
43
|
+
dashboardLinkLabel: 'View all metrics'
|
|
44
44
|
}
|
|
45
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pictogram-registration.d.ts","sourceRoot":"","sources":["../../src/pictograms/pictogram-registration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pictogram-registration.d.ts","sourceRoot":"","sources":["../../src/pictograms/pictogram-registration.ts"],"names":[],"mappings":"AAYA,wBAAgB,eAAe,SAU9B"}
|
|
@@ -2,56 +2,22 @@ import { addSvg } from "../svg-utils.js";
|
|
|
2
2
|
import appointments from "./svgs/appointments.svg";
|
|
3
3
|
import assessment1 from "./svgs/assessment-1.svg";
|
|
4
4
|
import assessment2 from "./svgs/assessment-2.svg";
|
|
5
|
-
import bloodBank from "./svgs/blood-bank.svg";
|
|
6
|
-
import cardiology from "./svgs/cardiology.svg";
|
|
7
|
-
import ctScan from "./svgs/ct-scan.svg";
|
|
8
|
-
import dentistry from "./svgs/dentistry.svg";
|
|
9
|
-
import emergencyDepartment from "./svgs/emergency-department.svg";
|
|
10
5
|
import facility from "./svgs/facility.svg";
|
|
11
|
-
import geriatrics from "./svgs/geriatrics.svg";
|
|
12
|
-
import gynaecology from "./svgs/gynaecology.svg";
|
|
13
|
-
import inPatient from "./svgs/in-patient.svg";
|
|
14
6
|
import stockManagement from "./svgs/inventory.svg";
|
|
15
|
-
import labs from "./svgs/labs.svg";
|
|
16
|
-
import labs2 from "./svgs/labs-2.svg";
|
|
17
|
-
import obstetrics from "./svgs/obstetrics.svg";
|
|
18
|
-
import patientSearch from "./svgs/patient-search.svg";
|
|
19
|
-
import patients from "./svgs/patients.svg";
|
|
20
7
|
import paymentsDesk from "./svgs/payments-desk.svg";
|
|
21
|
-
import
|
|
22
|
-
import pharmacy2 from "./svgs/pharmacy-2.svg";
|
|
23
|
-
import patientRegistration from "./svgs/registration.svg";
|
|
8
|
+
import registration from "./svgs/registration.svg";
|
|
24
9
|
import serviceQueues from "./svgs/service-queues.svg";
|
|
25
10
|
import transfer from "./svgs/transfer.svg";
|
|
26
|
-
import triage from "./svgs/triage.svg";
|
|
27
|
-
import xray from "./svgs/x-ray.svg";
|
|
28
11
|
export function setupPictograms() {
|
|
29
12
|
addPictogramSvg('egen-pict-appointments', appointments);
|
|
30
13
|
addPictogramSvg('egen-pict-assessment-1', assessment1);
|
|
31
14
|
addPictogramSvg('egen-pict-assessment-2', assessment2);
|
|
32
|
-
addPictogramSvg('egen-pict-blood-bank', bloodBank);
|
|
33
|
-
addPictogramSvg('egen-pict-cardiology', cardiology);
|
|
34
|
-
addPictogramSvg('egen-pict-ct-scan', ctScan);
|
|
35
|
-
addPictogramSvg('egen-pict-dentistry', dentistry);
|
|
36
|
-
addPictogramSvg('egen-pict-emergency-department', emergencyDepartment);
|
|
37
15
|
addPictogramSvg('egen-pict-facility', facility);
|
|
38
|
-
addPictogramSvg('egen-pict-geriatrics', geriatrics);
|
|
39
|
-
addPictogramSvg('egen-pict-gynaecology', gynaecology);
|
|
40
|
-
addPictogramSvg('egen-pict-in-patient', inPatient);
|
|
41
|
-
addPictogramSvg('egen-pict-laboratory', labs);
|
|
42
|
-
addPictogramSvg('egen-pict-labs-2', labs2);
|
|
43
|
-
addPictogramSvg('egen-pict-obstetrics', obstetrics);
|
|
44
|
-
addPictogramSvg('egen-pict-patient-search', patientSearch);
|
|
45
|
-
addPictogramSvg('egen-pict-patients', patients);
|
|
46
16
|
addPictogramSvg('egen-pict-payments-desk', paymentsDesk);
|
|
47
|
-
addPictogramSvg('egen-pict-
|
|
48
|
-
addPictogramSvg('egen-pict-pharmacy-2', pharmacy2);
|
|
49
|
-
addPictogramSvg('egen-pict-registration', patientRegistration);
|
|
17
|
+
addPictogramSvg('egen-pict-registration', registration);
|
|
50
18
|
addPictogramSvg('egen-pict-service-queues', serviceQueues);
|
|
51
19
|
addPictogramSvg('egen-pict-stock-management', stockManagement);
|
|
52
20
|
addPictogramSvg('egen-pict-transfer', transfer);
|
|
53
|
-
addPictogramSvg('egen-pict-triage', triage);
|
|
54
|
-
addPictogramSvg('egen-pict-x-ray', xray);
|
|
55
21
|
}
|
|
56
22
|
/**
|
|
57
23
|
* A type-safe wrapper around addSvg
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { type Argument } from 'classnames';
|
|
4
4
|
/** Array of all available Egen pictogram IDs that can be used with the Pictogram component. */
|
|
5
|
-
export declare const pictogramIds: readonly ["egen-pict-appointments", "egen-pict-assessment-1", "egen-pict-assessment-2", "egen-pict-
|
|
5
|
+
export declare const pictogramIds: readonly ["egen-pict-appointments", "egen-pict-assessment-1", "egen-pict-assessment-2", "egen-pict-facility", "egen-pict-payments-desk", "egen-pict-registration", "egen-pict-service-queues", "egen-pict-stock-management", "egen-pict-transfer"];
|
|
6
6
|
export type PictogramId = (typeof pictogramIds)[number];
|
|
7
7
|
export type PictogramProps = {
|
|
8
8
|
className?: Argument;
|
|
@@ -15,38 +15,20 @@ export declare const AppointmentsPictogram: React.MemoExoticComponent<React.Forw
|
|
|
15
15
|
export declare const AppointmentsAltPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
16
16
|
export declare const Assessment1Pictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
17
17
|
export declare const Assessment2Pictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
18
|
-
export declare const BloodBankPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
19
|
-
export declare const CardiologyPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
20
|
-
export declare const CtScanPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
21
|
-
export declare const DentistryPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
22
|
-
export declare const EmergencyDepartmentPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
23
18
|
export declare const FacilityPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
24
|
-
export declare const GeriatricsPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
25
|
-
export declare const GynaecologyPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
26
|
-
export declare const InPatientPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
27
|
-
export declare const LaboratoryPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
28
|
-
export declare const Labs2Pictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
29
|
-
export declare const ObstetricsPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
30
|
-
export declare const PatientSearchPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
31
|
-
export declare const PatientsPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
32
19
|
export declare const PaymentsDeskPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
33
|
-
export declare const PharmacyPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
34
|
-
export declare const Pharmacy2Pictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
35
20
|
export declare const RegistrationPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
36
21
|
export declare const ServiceQueuesPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
37
22
|
export declare const StockManagementPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
38
23
|
export declare const TransferPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
39
|
-
export declare const TriagePictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
40
|
-
export declare const XrayPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
41
24
|
export declare const HomePictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
42
|
-
export declare const PatientListsPictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<PictogramProps & React.RefAttributes<SVGSVGElement>>>;
|
|
43
25
|
/**
|
|
44
26
|
* This is a utility component that takes an `pictogram` and render it if the sprite for the pictogram
|
|
45
27
|
* is available. The goal is to make it easier to conditionally render configuration-specified pictograms.
|
|
46
28
|
*
|
|
47
29
|
* @example
|
|
48
30
|
* ```tsx
|
|
49
|
-
* <MaybePictogram pictogram='egen-icon-
|
|
31
|
+
* <MaybePictogram pictogram='egen-icon-user' className={styles.myPictogramStyles} />
|
|
50
32
|
* ```
|
|
51
33
|
*/
|
|
52
34
|
export declare const MaybePictogram: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pictograms.d.ts","sourceRoot":"","sources":["../../src/pictograms/pictograms.tsx"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,KAA8C,MAAM,OAAO,CAAC;AACnE,OAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAIvD,+FAA+F;AAC/F,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"pictograms.d.ts","sourceRoot":"","sources":["../../src/pictograms/pictograms.tsx"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,KAA8C,MAAM,OAAO,CAAC;AACnE,OAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAIvD,+FAA+F;AAC/F,eAAO,MAAM,YAAY,oPAUf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,qBAAqB,iHAIjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,iHAAwB,CAAC;AAE9D,eAAO,MAAM,oBAAoB,iHAIhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,iHAIhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,iHAI7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,iHAIjC,CAAC;AAEF,eAAO,MAAM,qBAAqB,iHAIjC,CAAC;AAEF,eAAO,MAAM,sBAAsB,iHAIlC,CAAC;AAEF,eAAO,MAAM,wBAAwB,iHAIpC,CAAC;AAEF,eAAO,MAAM,iBAAiB,iHAI7B,CAAC;AAKF,eAAO,MAAM,aAAa,iHAAoB,CAAC;AAE/C;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;eACc,MAAM;eAAa,KAAK,CAAC,SAAS;yDA8B1E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,+BAA+B;IAC/B,SAAS,EAAE,WAAW,CAAC;IACvB,2CAA2C;IAC3C,cAAc,EAAE,cAAc,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,oHAcrB,CAAC"}
|