@egen-civitas/esm-styleguide 1.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/README.md +7 -0
- package/dist/_all.scss +29 -0
- package/dist/_carbon-bridge.scss +194 -0
- package/dist/_glass.scss +75 -0
- package/dist/_overrides.scss +767 -0
- package/dist/_panel.scss +123 -0
- package/dist/_vars.scss +111 -0
- package/dist/brand.d.ts +8 -0
- package/dist/brand.d.ts.map +1 -0
- package/dist/brand.js +18 -0
- package/dist/breakpoints/index.d.ts +12 -0
- package/dist/breakpoints/index.d.ts.map +1 -0
- package/dist/breakpoints/index.js +28 -0
- package/dist/cards/card-header.component.d.ts +12 -0
- package/dist/cards/card-header.component.d.ts.map +1 -0
- package/dist/cards/card-header.component.js +22 -0
- package/dist/cards/card-header.module.scss +45 -0
- package/dist/cards/card-header.stories.js +32 -0
- package/dist/cards/decorated-card/_decoration-bleed.scss +26 -0
- package/dist/cards/decorated-card/card-decorations.d.ts +9 -0
- package/dist/cards/decorated-card/card-decorations.d.ts.map +1 -0
- package/dist/cards/decorated-card/card-decorations.js +106 -0
- package/dist/cards/decorated-card/decorated-card.component.d.ts +25 -0
- package/dist/cards/decorated-card/decorated-card.component.d.ts.map +1 -0
- package/dist/cards/decorated-card/decorated-card.component.js +134 -0
- package/dist/cards/decorated-card/decorated-card.module.scss +357 -0
- package/dist/cards/decorated-card/decorated-card.types.d.ts +26 -0
- package/dist/cards/decorated-card/decorated-card.types.d.ts.map +1 -0
- package/dist/cards/decorated-card/decorated-card.types.js +1 -0
- package/dist/cards/decorated-card/index.d.ts +3 -0
- package/dist/cards/decorated-card/index.d.ts.map +1 -0
- package/dist/cards/decorated-card/index.js +2 -0
- package/dist/cards/index.d.ts +3 -0
- package/dist/cards/index.d.ts.map +1 -0
- package/dist/cards/index.js +2 -0
- package/dist/carousel/circular-gallery/circular-gallery.component.d.ts +21 -0
- package/dist/carousel/circular-gallery/circular-gallery.component.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/circular-gallery.component.js +130 -0
- package/dist/carousel/circular-gallery/circular-gallery.module.scss +165 -0
- package/dist/carousel/circular-gallery/circular-gallery.types.d.ts +17 -0
- package/dist/carousel/circular-gallery/circular-gallery.types.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/circular-gallery.types.js +1 -0
- package/dist/carousel/circular-gallery/gallery-image.component.d.ts +23 -0
- package/dist/carousel/circular-gallery/gallery-image.component.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/gallery-image.component.js +151 -0
- package/dist/carousel/circular-gallery/gallery-tabs.component.d.ts +10 -0
- package/dist/carousel/circular-gallery/gallery-tabs.component.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/gallery-tabs.component.js +54 -0
- package/dist/carousel/circular-gallery/index.d.ts +3 -0
- package/dist/carousel/circular-gallery/index.d.ts.map +1 -0
- package/dist/carousel/circular-gallery/index.js +2 -0
- package/dist/carousel/image-swiper/image-swiper.component.d.ts +18 -0
- package/dist/carousel/image-swiper/image-swiper.component.d.ts.map +1 -0
- package/dist/carousel/image-swiper/image-swiper.component.js +200 -0
- package/dist/carousel/image-swiper/image-swiper.module.scss +43 -0
- package/dist/carousel/image-swiper/image-swiper.types.d.ts +17 -0
- package/dist/carousel/image-swiper/image-swiper.types.d.ts.map +1 -0
- package/dist/carousel/image-swiper/image-swiper.types.js +1 -0
- package/dist/carousel/image-swiper/index.d.ts +3 -0
- package/dist/carousel/image-swiper/index.d.ts.map +1 -0
- package/dist/carousel/image-swiper/index.js +2 -0
- package/dist/carousel/index.d.ts +5 -0
- package/dist/carousel/index.d.ts.map +1 -0
- package/dist/carousel/index.js +9 -0
- package/dist/carousel/slider/carousel.component.d.ts +29 -0
- package/dist/carousel/slider/carousel.component.d.ts.map +1 -0
- package/dist/carousel/slider/carousel.component.js +108 -0
- package/dist/carousel/slider/index.d.ts +9 -0
- package/dist/carousel/slider/index.d.ts.map +1 -0
- package/dist/carousel/slider/index.js +7 -0
- package/dist/carousel/slider/slider-container.component.d.ts +11 -0
- package/dist/carousel/slider/slider-container.component.d.ts.map +1 -0
- package/dist/carousel/slider/slider-container.component.js +21 -0
- package/dist/carousel/slider/slider-dot-button.component.d.ts +12 -0
- package/dist/carousel/slider/slider-dot-button.component.d.ts.map +1 -0
- package/dist/carousel/slider/slider-dot-button.component.js +29 -0
- package/dist/carousel/slider/slider.component.d.ts +11 -0
- package/dist/carousel/slider/slider.component.d.ts.map +1 -0
- package/dist/carousel/slider/slider.component.js +17 -0
- package/dist/carousel/slider/slider.context.d.ts +16 -0
- package/dist/carousel/slider/slider.context.d.ts.map +1 -0
- package/dist/carousel/slider/slider.context.js +9 -0
- package/dist/carousel/slider/slider.module.scss +176 -0
- package/dist/carousel/slider/slider.types.d.ts +40 -0
- package/dist/carousel/slider/slider.types.d.ts.map +1 -0
- package/dist/carousel/slider/slider.types.js +1 -0
- package/dist/carousel/slider/thumbs-slider.component.d.ts +16 -0
- package/dist/carousel/slider/thumbs-slider.component.d.ts.map +1 -0
- package/dist/carousel/slider/thumbs-slider.component.js +45 -0
- package/dist/carousel/testimonial-card/index.d.ts +4 -0
- package/dist/carousel/testimonial-card/index.d.ts.map +1 -0
- package/dist/carousel/testimonial-card/index.js +3 -0
- package/dist/carousel/testimonial-card/testimonial-card-stack.component.d.ts +29 -0
- package/dist/carousel/testimonial-card/testimonial-card-stack.component.d.ts.map +1 -0
- package/dist/carousel/testimonial-card/testimonial-card-stack.component.js +79 -0
- package/dist/carousel/testimonial-card/testimonial-card-stack.module.scss +18 -0
- package/dist/carousel/testimonial-card/testimonial-card.component.d.ts +36 -0
- package/dist/carousel/testimonial-card/testimonial-card.component.d.ts.map +1 -0
- package/dist/carousel/testimonial-card/testimonial-card.component.js +98 -0
- package/dist/carousel/testimonial-card/testimonial-card.module.scss +73 -0
- package/dist/carousel/testimonial-card/testimonial-card.types.d.ts +65 -0
- package/dist/carousel/testimonial-card/testimonial-card.types.d.ts.map +1 -0
- package/dist/carousel/testimonial-card/testimonial-card.types.js +1 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.component.d.ts +33 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.component.d.ts.map +1 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.component.js +195 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.module.scss +210 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.types.d.ts +36 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.types.d.ts.map +1 -0
- package/dist/cascading-nav-dropdown/cascading-nav-dropdown.types.js +1 -0
- package/dist/cascading-nav-dropdown/column-with-search.component.d.ts +15 -0
- package/dist/cascading-nav-dropdown/column-with-search.component.d.ts.map +1 -0
- package/dist/cascading-nav-dropdown/column-with-search.component.js +99 -0
- package/dist/cascading-nav-dropdown/index.d.ts +4 -0
- package/dist/cascading-nav-dropdown/index.d.ts.map +1 -0
- package/dist/cascading-nav-dropdown/index.js +3 -0
- package/dist/classification-tags/classification-tags.component.d.ts +32 -0
- package/dist/classification-tags/classification-tags.component.d.ts.map +1 -0
- package/dist/classification-tags/classification-tags.component.js +40 -0
- package/dist/classification-tags/index.d.ts +2 -0
- package/dist/classification-tags/index.d.ts.map +1 -0
- package/dist/classification-tags/index.js +1 -0
- package/dist/components/_breadcrumbs.scss +11 -0
- package/dist/components/_canvas.scss +8 -0
- package/dist/components/_general.scss +121 -0
- package/dist/components/_main-content.scss +24 -0
- package/dist/components/_panel-overrides.scss +150 -0
- package/dist/config-schema.d.ts +43 -0
- package/dist/config-schema.d.ts.map +1 -0
- package/dist/config-schema.js +107 -0
- package/dist/containers/folder-gallery/folder-gallery.component.d.ts +24 -0
- package/dist/containers/folder-gallery/folder-gallery.component.d.ts.map +1 -0
- package/dist/containers/folder-gallery/folder-gallery.component.js +168 -0
- package/dist/containers/folder-gallery/folder-gallery.module.scss +201 -0
- package/dist/containers/folder-gallery/folder-gallery.types.d.ts +27 -0
- package/dist/containers/folder-gallery/folder-gallery.types.d.ts.map +1 -0
- package/dist/containers/folder-gallery/folder-gallery.types.js +1 -0
- package/dist/containers/folder-gallery/index.d.ts +3 -0
- package/dist/containers/folder-gallery/index.d.ts.map +1 -0
- package/dist/containers/folder-gallery/index.js +2 -0
- package/dist/containers/index.d.ts +3 -0
- package/dist/containers/index.d.ts.map +1 -0
- package/dist/containers/index.js +8 -0
- package/dist/containers/layout-grid/index.d.ts +3 -0
- package/dist/containers/layout-grid/index.d.ts.map +1 -0
- package/dist/containers/layout-grid/index.js +2 -0
- package/dist/containers/layout-grid/layout-grid.component.d.ts +30 -0
- package/dist/containers/layout-grid/layout-grid.component.d.ts.map +1 -0
- package/dist/containers/layout-grid/layout-grid.component.js +152 -0
- package/dist/containers/layout-grid/layout-grid.module.scss +143 -0
- package/dist/containers/layout-grid/layout-grid.types.d.ts +19 -0
- package/dist/containers/layout-grid/layout-grid.types.d.ts.map +1 -0
- package/dist/containers/layout-grid/layout-grid.types.js +1 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.component.d.ts +24 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.component.d.ts.map +1 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.component.js +133 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.module.scss +38 -0
- package/dist/custom-overflow-menu/custom-overflow-menu.stories.js +64 -0
- package/dist/custom-overflow-menu/index.d.ts +2 -0
- package/dist/custom-overflow-menu/index.d.ts.map +1 -0
- package/dist/custom-overflow-menu/index.js +1 -0
- package/dist/dashboard-extension/dashboard.module.scss +13 -0
- package/dist/dashboard-extension/index.d.ts +13 -0
- package/dist/dashboard-extension/index.d.ts.map +1 -0
- package/dist/dashboard-extension/index.js +59 -0
- package/dist/data-table-batch-actions/data-table-batch-actions.component.d.ts +5 -0
- package/dist/data-table-batch-actions/data-table-batch-actions.component.d.ts.map +1 -0
- package/dist/data-table-batch-actions/data-table-batch-actions.component.js +24 -0
- package/dist/data-table-batch-actions/index.d.ts +2 -0
- package/dist/data-table-batch-actions/index.d.ts.map +1 -0
- package/dist/data-table-batch-actions/index.js +1 -0
- package/dist/datepicker/auto-close-dialog.component.d.ts +7 -0
- package/dist/datepicker/auto-close-dialog.component.d.ts.map +1 -0
- package/dist/datepicker/auto-close-dialog.component.js +16 -0
- package/dist/datepicker/calendar-popover.component.d.ts +28 -0
- package/dist/datepicker/calendar-popover.component.d.ts.map +1 -0
- package/dist/datepicker/calendar-popover.component.js +68 -0
- package/dist/datepicker/date-picker-icon.component.d.ts +9 -0
- package/dist/datepicker/date-picker-icon.component.d.ts.map +1 -0
- package/dist/datepicker/date-picker-icon.component.js +23 -0
- package/dist/datepicker/date-picker-input.component.d.ts +12 -0
- package/dist/datepicker/date-picker-input.component.d.ts.map +1 -0
- package/dist/datepicker/date-picker-input.component.js +70 -0
- package/dist/datepicker/date-range-picker.stories.js +44 -0
- package/dist/datepicker/date-segment.component.d.ts +11 -0
- package/dist/datepicker/date-segment.component.d.ts.map +1 -0
- package/dist/datepicker/date-segment.component.js +53 -0
- package/dist/datepicker/datepicker.module.scss +502 -0
- package/dist/datepicker/datepicker.stories.js +47 -0
- package/dist/datepicker/defaults.d.ts +10 -0
- package/dist/datepicker/defaults.d.ts.map +1 -0
- package/dist/datepicker/defaults.js +8 -0
- package/dist/datepicker/egen-date-picker.component.d.ts +27 -0
- package/dist/datepicker/egen-date-picker.component.d.ts.map +1 -0
- package/dist/datepicker/egen-date-picker.component.js +142 -0
- package/dist/datepicker/egen-date-range-picker.component.d.ts +22 -0
- package/dist/datepicker/egen-date-range-picker.component.d.ts.map +1 -0
- package/dist/datepicker/egen-date-range-picker.component.js +172 -0
- package/dist/datepicker/hooks.d.ts +911 -0
- package/dist/datepicker/hooks.d.ts.map +1 -0
- package/dist/datepicker/hooks.js +103 -0
- package/dist/datepicker/i18n-wrapper.component.d.ts +7 -0
- package/dist/datepicker/i18n-wrapper.component.d.ts.map +1 -0
- package/dist/datepicker/i18n-wrapper.component.js +8 -0
- package/dist/datepicker/index.d.ts +3 -0
- package/dist/datepicker/index.d.ts.map +1 -0
- package/dist/datepicker/index.js +2 -0
- package/dist/datepicker/month-year.component.d.ts +11 -0
- package/dist/datepicker/month-year.component.d.ts.map +1 -0
- package/dist/datepicker/month-year.component.js +80 -0
- package/dist/datepicker/types.d.ts +31 -0
- package/dist/datepicker/types.d.ts.map +1 -0
- package/dist/datepicker/types.js +3 -0
- package/dist/datepicker/utils.d.ts +16 -0
- package/dist/datepicker/utils.d.ts.map +1 -0
- package/dist/datepicker/utils.js +35 -0
- package/dist/declarations.d.js +0 -0
- package/dist/dialogs/card-modal/card-modal.animations.d.ts +5 -0
- package/dist/dialogs/card-modal/card-modal.animations.d.ts.map +1 -0
- package/dist/dialogs/card-modal/card-modal.animations.js +102 -0
- package/dist/dialogs/card-modal/card-modal.component.d.ts +40 -0
- package/dist/dialogs/card-modal/card-modal.component.d.ts.map +1 -0
- package/dist/dialogs/card-modal/card-modal.component.js +284 -0
- package/dist/dialogs/card-modal/card-modal.module.scss +103 -0
- package/dist/dialogs/card-modal/card-modal.types.d.ts +64 -0
- package/dist/dialogs/card-modal/card-modal.types.d.ts.map +1 -0
- package/dist/dialogs/card-modal/card-modal.types.js +1 -0
- package/dist/dialogs/card-modal/index.d.ts +4 -0
- package/dist/dialogs/card-modal/index.d.ts.map +1 -0
- package/dist/dialogs/card-modal/index.js +3 -0
- package/dist/dialogs/index.d.ts +2 -0
- package/dist/dialogs/index.d.ts.map +1 -0
- package/dist/dialogs/index.js +12 -0
- package/dist/empty-card/empty-card-registration.d.ts +2 -0
- package/dist/empty-card/empty-card-registration.d.ts.map +1 -0
- package/dist/empty-card/empty-card-registration.js +5 -0
- package/dist/empty-card/empty-card.component.d.ts +18 -0
- package/dist/empty-card/empty-card.component.d.ts.map +1 -0
- package/dist/empty-card/empty-card.component.js +52 -0
- package/dist/empty-card/empty-card.module.scss +27 -0
- package/dist/empty-card/empty-card.stories.js +23 -0
- package/dist/empty-card/empty-data-illustration.svg +1 -0
- package/dist/empty-card/index.d.ts +2 -0
- package/dist/empty-card/index.d.ts.map +1 -0
- package/dist/empty-card/index.js +1 -0
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.d.ts +19 -0
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.d.ts.map +1 -0
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.js +137 -0
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.module.scss +23 -0
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.d.ts +9 -0
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.js +207 -0
- package/dist/entity-banner/contact-details/entity-banner-contact-details.module.scss +47 -0
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.d.ts +12 -0
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.js +15 -0
- package/dist/entity-banner/contact-details/types.d.ts +48 -0
- package/dist/entity-banner/contact-details/types.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/types.js +1 -0
- package/dist/entity-banner/contact-details/useEntityAttributes.d.ts +14 -0
- package/dist/entity-banner/contact-details/useEntityAttributes.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/useEntityAttributes.js +12 -0
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.d.ts +11 -0
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.js +9 -0
- package/dist/entity-banner/contact-details/useRelationships.d.ts +35 -0
- package/dist/entity-banner/contact-details/useRelationships.d.ts.map +1 -0
- package/dist/entity-banner/contact-details/useRelationships.js +37 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.d.ts +9 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.d.ts.map +1 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.js +77 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.d.ts +9 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.d.ts.map +1 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.js +72 -0
- package/dist/entity-banner/entity-info/entity-banner-entity-info.module.scss +165 -0
- package/dist/entity-banner/index.d.ts +5 -0
- package/dist/entity-banner/index.d.ts.map +1 -0
- package/dist/entity-banner/index.js +4 -0
- package/dist/entity-photo/entity-photo.component.d.ts +21 -0
- package/dist/entity-photo/entity-photo.component.d.ts.map +1 -0
- package/dist/entity-photo/entity-photo.component.js +111 -0
- package/dist/entity-photo/entity-photo.module.scss +21 -0
- package/dist/entity-photo/index.d.ts +3 -0
- package/dist/entity-photo/index.d.ts.map +1 -0
- package/dist/entity-photo/index.js +2 -0
- package/dist/entity-photo/placeholder-icon.component.d.ts +9 -0
- package/dist/entity-photo/placeholder-icon.component.d.ts.map +1 -0
- package/dist/entity-photo/placeholder-icon.component.js +26 -0
- package/dist/entity-photo/useEntityPhoto.d.ts +29 -0
- package/dist/entity-photo/useEntityPhoto.d.ts.map +1 -0
- package/dist/entity-photo/useEntityPhoto.js +37 -0
- package/dist/error-state/error-state.component.d.ts +11 -0
- package/dist/error-state/error-state.component.d.ts.map +1 -0
- package/dist/error-state/error-state.component.js +32 -0
- package/dist/error-state/error-state.module.scss +21 -0
- package/dist/error-state/error-state.stories.js +32 -0
- package/dist/error-state/index.d.ts +2 -0
- package/dist/error-state/index.d.ts.map +1 -0
- package/dist/error-state/index.js +1 -0
- package/dist/fields/dynamic-field.component.d.ts +39 -0
- package/dist/fields/dynamic-field.component.d.ts.map +1 -0
- package/dist/fields/dynamic-field.component.js +169 -0
- package/dist/fields/dynamic-field.module.scss +474 -0
- package/dist/fields/dynamic-field.stories.js +103 -0
- package/dist/fields/dynamic-field.types.d.ts +70 -0
- package/dist/fields/dynamic-field.types.d.ts.map +1 -0
- package/dist/fields/dynamic-field.types.js +7 -0
- package/dist/fields/field-icon.component.d.ts +11 -0
- package/dist/fields/field-icon.component.d.ts.map +1 -0
- package/dist/fields/field-icon.component.js +16 -0
- package/dist/fields/index.d.ts +3 -0
- package/dist/fields/index.d.ts.map +1 -0
- package/dist/fields/index.js +2 -0
- package/dist/fields/kinetic-label.component.d.ts +16 -0
- package/dist/fields/kinetic-label.component.d.ts.map +1 -0
- package/dist/fields/kinetic-label.component.js +53 -0
- package/dist/fields/use-field-validation.hook.d.ts +12 -0
- package/dist/fields/use-field-validation.hook.d.ts.map +1 -0
- package/dist/fields/use-field-validation.hook.js +72 -0
- package/dist/fields/validation-icon.component.d.ts +10 -0
- package/dist/fields/validation-icon.component.d.ts.map +1 -0
- package/dist/fields/validation-icon.component.js +40 -0
- package/dist/glass-card/index.d.ts +3 -0
- package/dist/glass-card/index.d.ts.map +1 -0
- package/dist/glass-card/index.js +2 -0
- package/dist/glass-card/liquid-glass-card.component.d.ts +23 -0
- package/dist/glass-card/liquid-glass-card.component.d.ts.map +1 -0
- package/dist/glass-card/liquid-glass-card.component.js +175 -0
- package/dist/glass-card/liquid-glass-card.module.scss +154 -0
- package/dist/glass-card/liquid-glass-card.types.d.ts +27 -0
- package/dist/glass-card/liquid-glass-card.types.d.ts.map +1 -0
- package/dist/glass-card/liquid-glass-card.types.js +1 -0
- package/dist/icons/error-filled.icon.d.ts +18 -0
- package/dist/icons/error-filled.icon.d.ts.map +1 -0
- package/dist/icons/error-filled.icon.js +22 -0
- package/dist/icons/icon-registration.d.ts +2 -0
- package/dist/icons/icon-registration.d.ts.map +1 -0
- package/dist/icons/icon-registration.js +191 -0
- package/dist/icons/icons.d.ts +334 -0
- package/dist/icons/icons.d.ts.map +1 -0
- package/dist/icons/icons.js +916 -0
- package/dist/icons/icons.module.scss +5 -0
- package/dist/icons/icons.stories.js +61 -0
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +2 -0
- package/dist/icons/svgs/activity.svg +1 -0
- package/dist/icons/svgs/add.svg +1 -0
- package/dist/icons/svgs/arrow-down.svg +1 -0
- package/dist/icons/svgs/arrow-left.svg +1 -0
- package/dist/icons/svgs/arrow-right.svg +1 -0
- package/dist/icons/svgs/arrow-up.svg +1 -0
- package/dist/icons/svgs/baby.svg +1 -0
- package/dist/icons/svgs/calendar--heat-map.svg +1 -0
- package/dist/icons/svgs/calendar.svg +1 -0
- package/dist/icons/svgs/caret-down.svg +1 -0
- package/dist/icons/svgs/caret-left.svg +1 -0
- package/dist/icons/svgs/caret-right.svg +1 -0
- package/dist/icons/svgs/caret-up.svg +1 -0
- package/dist/icons/svgs/chart-average.svg +1 -0
- package/dist/icons/svgs/chart-line.svg +1 -0
- package/dist/icons/svgs/checkmark--filled.svg +1 -0
- package/dist/icons/svgs/checkmark--outline.svg +1 -0
- package/dist/icons/svgs/chemistry.svg +1 -0
- package/dist/icons/svgs/chevron-down.svg +1 -0
- package/dist/icons/svgs/chevron-left.svg +1 -0
- package/dist/icons/svgs/chevron-right.svg +1 -0
- package/dist/icons/svgs/chevron-up.svg +1 -0
- package/dist/icons/svgs/close--filled.svg +1 -0
- package/dist/icons/svgs/close--outline.svg +1 -0
- package/dist/icons/svgs/close.svg +1 -0
- package/dist/icons/svgs/document-attachment.svg +1 -0
- package/dist/icons/svgs/document.svg +1 -0
- package/dist/icons/svgs/download.svg +1 -0
- package/dist/icons/svgs/drug-order.svg +1 -0
- package/dist/icons/svgs/edit.svg +1 -0
- package/dist/icons/svgs/event-schedule.svg +1 -0
- package/dist/icons/svgs/events.svg +1 -0
- package/dist/icons/svgs/gender-female.svg +1 -0
- package/dist/icons/svgs/gender-male.svg +1 -0
- package/dist/icons/svgs/gender-other.svg +1 -0
- package/dist/icons/svgs/gender-unknown.svg +1 -0
- package/dist/icons/svgs/generic-order-type.svg +1 -0
- package/dist/icons/svgs/group-access.svg +1 -0
- package/dist/icons/svgs/group.svg +1 -0
- package/dist/icons/svgs/hospital-bed.svg +1 -0
- package/dist/icons/svgs/image-medical.svg +1 -0
- package/dist/icons/svgs/information--filled.svg +1 -0
- package/dist/icons/svgs/information--square.svg +1 -0
- package/dist/icons/svgs/information.svg +1 -0
- package/dist/icons/svgs/inventory-management.svg +1 -0
- package/dist/icons/svgs/lab-order.svg +1 -0
- package/dist/icons/svgs/list-checked.svg +1 -0
- package/dist/icons/svgs/location.svg +1 -0
- package/dist/icons/svgs/material-order.svg +1 -0
- package/dist/icons/svgs/maximize.svg +1 -0
- package/dist/icons/svgs/medication.svg +1 -0
- package/dist/icons/svgs/message-queue.svg +1 -0
- package/dist/icons/svgs/microscope.svg +1 -0
- package/dist/icons/svgs/money.svg +1 -0
- package/dist/icons/svgs/mother.svg +1 -0
- package/dist/icons/svgs/movement.svg +1 -0
- package/dist/icons/svgs/overflow-menu--horizontal.svg +1 -0
- package/dist/icons/svgs/overflow-menu--vertical.svg +1 -0
- package/dist/icons/svgs/password.svg +1 -0
- package/dist/icons/svgs/pedestrian-family.svg +1 -0
- package/dist/icons/svgs/pen.svg +1 -0
- package/dist/icons/svgs/printer.svg +1 -0
- package/dist/icons/svgs/procedure-order.svg +1 -0
- package/dist/icons/svgs/programs.svg +1 -0
- package/dist/icons/svgs/referral-order.svg +1 -0
- package/dist/icons/svgs/renew.svg +1 -0
- package/dist/icons/svgs/report.svg +1 -0
- package/dist/icons/svgs/reset.svg +1 -0
- package/dist/icons/svgs/save.svg +1 -0
- package/dist/icons/svgs/search.svg +1 -0
- package/dist/icons/svgs/settings.svg +1 -0
- package/dist/icons/svgs/shopping-cart--arrow-down.svg +1 -0
- package/dist/icons/svgs/shopping-cart.svg +1 -0
- package/dist/icons/svgs/sticky-note-add.svg +1 -0
- package/dist/icons/svgs/switcher.svg +1 -0
- package/dist/icons/svgs/syringe.svg +1 -0
- package/dist/icons/svgs/table-of-contents.svg +1 -0
- package/dist/icons/svgs/table.svg +1 -0
- package/dist/icons/svgs/time.svg +1 -0
- package/dist/icons/svgs/tools.svg +1 -0
- package/dist/icons/svgs/translate.svg +1 -0
- package/dist/icons/svgs/trash-can.svg +1 -0
- package/dist/icons/svgs/tree-view--alt.svg +1 -0
- package/dist/icons/svgs/user-avatar.svg +1 -0
- package/dist/icons/svgs/user-follow.svg +1 -0
- package/dist/icons/svgs/user-xray.svg +1 -0
- package/dist/icons/svgs/user.svg +1 -0
- package/dist/icons/svgs/view-off.svg +1 -0
- package/dist/icons/svgs/view.svg +1 -0
- package/dist/icons/svgs/warning.svg +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +26 -0
- package/dist/internal.d.ts +43 -0
- package/dist/internal.d.ts.map +1 -0
- package/dist/internal.js +42 -0
- package/dist/left-nav/index.d.ts +24 -0
- package/dist/left-nav/index.d.ts.map +1 -0
- package/dist/left-nav/index.js +58 -0
- package/dist/left-nav/left-nav.module.scss +43 -0
- package/dist/location-picker/index.d.ts +2 -0
- package/dist/location-picker/index.d.ts.map +1 -0
- package/dist/location-picker/index.js +1 -0
- package/dist/location-picker/location-picker.component.d.ts +11 -0
- package/dist/location-picker/location-picker.component.d.ts.map +1 -0
- package/dist/location-picker/location-picker.component.js +114 -0
- package/dist/location-picker/location-picker.module.scss +71 -0
- package/dist/location-picker/location-picker.resource.d.ts +53 -0
- package/dist/location-picker/location-picker.resource.d.ts.map +1 -0
- package/dist/location-picker/location-picker.resource.js +98 -0
- package/dist/logo/_logo.scss +34 -0
- package/dist/logo/egen-logo-full.svg +1 -0
- package/dist/logo/egen-logo-icon.svg +1 -0
- package/dist/logo/egen-logo-partial.svg +1 -0
- package/dist/logo/egen-logo-white.svg +1 -0
- package/dist/logo/index.d.ts +8 -0
- package/dist/logo/index.d.ts.map +1 -0
- package/dist/logo/index.js +22 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.component.d.ts +30 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.component.d.ts.map +1 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.component.js +327 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.module.scss +335 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.types.d.ts +37 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.types.d.ts.map +1 -0
- package/dist/master-detail/entity-detail-browser/entity-detail-browser.types.js +1 -0
- package/dist/master-detail/entity-detail-browser/gradient-blur.component.d.ts +9 -0
- package/dist/master-detail/entity-detail-browser/gradient-blur.component.d.ts.map +1 -0
- package/dist/master-detail/entity-detail-browser/gradient-blur.component.js +16 -0
- package/dist/master-detail/entity-detail-browser/index.d.ts +4 -0
- package/dist/master-detail/entity-detail-browser/index.d.ts.map +1 -0
- package/dist/master-detail/entity-detail-browser/index.js +3 -0
- package/dist/master-detail/index.d.ts +2 -0
- package/dist/master-detail/index.d.ts.map +1 -0
- package/dist/master-detail/index.js +7 -0
- package/dist/modals/_modals.scss +13 -0
- package/dist/modals/index.d.ts +26 -0
- package/dist/modals/index.d.ts.map +1 -0
- package/dist/modals/index.js +173 -0
- package/dist/notifications/_actionable-notifications.scss +23 -0
- package/dist/notifications/_notifications.scss +22 -0
- package/dist/notifications/actionable-notification.component.d.ts +21 -0
- package/dist/notifications/actionable-notification.component.d.ts.map +1 -0
- package/dist/notifications/actionable-notification.component.js +26 -0
- package/dist/notifications/actionable-notification.stories.js +48 -0
- package/dist/notifications/active-actionable-notifications.component.d.ts +9 -0
- package/dist/notifications/active-actionable-notifications.component.d.ts.map +1 -0
- package/dist/notifications/active-actionable-notifications.component.js +21 -0
- package/dist/notifications/active-notifications.component.d.ts +9 -0
- package/dist/notifications/active-notifications.component.d.ts.map +1 -0
- package/dist/notifications/active-notifications.component.js +21 -0
- package/dist/notifications/index.d.ts +20 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.js +78 -0
- package/dist/notifications/notification.component.d.ts +20 -0
- package/dist/notifications/notification.component.d.ts.map +1 -0
- package/dist/notifications/notification.component.js +15 -0
- package/dist/notifications/notification.stories.js +54 -0
- package/dist/numeric-datapoint/index.d.ts +4 -0
- package/dist/numeric-datapoint/index.d.ts.map +1 -0
- package/dist/numeric-datapoint/index.js +3 -0
- package/dist/numeric-datapoint/interpretation-utils.d.ts +27 -0
- package/dist/numeric-datapoint/interpretation-utils.d.ts.map +1 -0
- package/dist/numeric-datapoint/interpretation-utils.js +66 -0
- package/dist/numeric-datapoint/numeric-datapoint.component.d.ts +44 -0
- package/dist/numeric-datapoint/numeric-datapoint.component.d.ts.map +1 -0
- package/dist/numeric-datapoint/numeric-datapoint.component.js +110 -0
- package/dist/numeric-datapoint/numeric-datapoint.module.scss +141 -0
- package/dist/numeric-datapoint/use-concept-reference-range.d.ts +13 -0
- package/dist/numeric-datapoint/use-concept-reference-range.d.ts.map +1 -0
- package/dist/numeric-datapoint/use-concept-reference-range.js +31 -0
- package/dist/page-header/index.d.ts +2 -0
- package/dist/page-header/index.d.ts.map +1 -0
- package/dist/page-header/index.js +1 -0
- package/dist/page-header/page-header.component.d.ts +61 -0
- package/dist/page-header/page-header.component.d.ts.map +1 -0
- package/dist/page-header/page-header.component.js +89 -0
- package/dist/page-header/page-header.module.scss +28 -0
- package/dist/page-header/page-header.stories.js +21 -0
- package/dist/pagination/index.d.ts +2 -0
- package/dist/pagination/index.d.ts.map +1 -0
- package/dist/pagination/index.js +1 -0
- package/dist/pagination/pagination.component.d.ts +23 -0
- package/dist/pagination/pagination.component.d.ts.map +1 -0
- package/dist/pagination/pagination.component.js +49 -0
- package/dist/pagination/pagination.module.scss +66 -0
- package/dist/pagination/pagination.stories.js +45 -0
- package/dist/pictograms/index.d.ts +2 -0
- package/dist/pictograms/index.d.ts.map +1 -0
- package/dist/pictograms/index.js +1 -0
- package/dist/pictograms/pictogram-registration.d.ts +2 -0
- package/dist/pictograms/pictogram-registration.d.ts.map +1 -0
- package/dist/pictograms/pictogram-registration.js +62 -0
- package/dist/pictograms/pictograms.d.ts +66 -0
- package/dist/pictograms/pictograms.d.ts.map +1 -0
- package/dist/pictograms/pictograms.js +281 -0
- package/dist/pictograms/pictograms.module.scss +5 -0
- package/dist/pictograms/pictograms.stories.js +47 -0
- package/dist/pictograms/svgs/appointments.svg +1 -0
- package/dist/pictograms/svgs/assessment-1.svg +1 -0
- package/dist/pictograms/svgs/assessment-2.svg +1 -0
- package/dist/pictograms/svgs/blood-bank.svg +1 -0
- package/dist/pictograms/svgs/cardiology.svg +1 -0
- package/dist/pictograms/svgs/ct-scan.svg +1 -0
- package/dist/pictograms/svgs/dentistry.svg +1 -0
- package/dist/pictograms/svgs/emergency-department.svg +1 -0
- package/dist/pictograms/svgs/facility.svg +1 -0
- package/dist/pictograms/svgs/geriatrics.svg +1 -0
- package/dist/pictograms/svgs/gynaecology.svg +1 -0
- package/dist/pictograms/svgs/in-patient.svg +1 -0
- package/dist/pictograms/svgs/inventory.svg +1 -0
- package/dist/pictograms/svgs/labs-2.svg +1 -0
- package/dist/pictograms/svgs/labs.svg +1 -0
- package/dist/pictograms/svgs/obstetrics.svg +1 -0
- package/dist/pictograms/svgs/patient-search.svg +1 -0
- package/dist/pictograms/svgs/patients.svg +1 -0
- package/dist/pictograms/svgs/payments-desk.svg +1 -0
- package/dist/pictograms/svgs/pharmacy-1.svg +1 -0
- package/dist/pictograms/svgs/pharmacy-2.svg +1 -0
- package/dist/pictograms/svgs/registration.svg +1 -0
- package/dist/pictograms/svgs/service-queues.svg +1 -0
- package/dist/pictograms/svgs/transfer.svg +1 -0
- package/dist/pictograms/svgs/triage.svg +1 -0
- package/dist/pictograms/svgs/x-ray.svg +1 -0
- package/dist/public.d.ts +38 -0
- package/dist/public.d.ts.map +1 -0
- package/dist/public.js +34 -0
- package/dist/responsive-wrapper/index.d.ts +2 -0
- package/dist/responsive-wrapper/index.d.ts.map +1 -0
- package/dist/responsive-wrapper/index.js +1 -0
- package/dist/responsive-wrapper/responsive-wrapper.component.d.ts +12 -0
- package/dist/responsive-wrapper/responsive-wrapper.component.d.ts.map +1 -0
- package/dist/responsive-wrapper/responsive-wrapper.component.js +20 -0
- package/dist/responsive-wrapper/responsive-wrapper.stories.js +28 -0
- package/dist/selections/index.d.ts +3 -0
- package/dist/selections/index.d.ts.map +1 -0
- package/dist/selections/index.js +8 -0
- package/dist/selections/interactive-selector/index.d.ts +3 -0
- package/dist/selections/interactive-selector/index.d.ts.map +1 -0
- package/dist/selections/interactive-selector/index.js +2 -0
- package/dist/selections/interactive-selector/interactive-selector.component.d.ts +37 -0
- package/dist/selections/interactive-selector/interactive-selector.component.d.ts.map +1 -0
- package/dist/selections/interactive-selector/interactive-selector.component.js +154 -0
- package/dist/selections/interactive-selector/interactive-selector.module.scss +212 -0
- package/dist/selections/interactive-selector/interactive-selector.types.d.ts +32 -0
- package/dist/selections/interactive-selector/interactive-selector.types.d.ts.map +1 -0
- package/dist/selections/interactive-selector/interactive-selector.types.js +1 -0
- package/dist/selections/select-popover/index.d.ts +5 -0
- package/dist/selections/select-popover/index.d.ts.map +1 -0
- package/dist/selections/select-popover/index.js +4 -0
- package/dist/selections/select-popover/select-avatar.component.d.ts +9 -0
- package/dist/selections/select-popover/select-avatar.component.d.ts.map +1 -0
- package/dist/selections/select-popover/select-avatar.component.js +19 -0
- package/dist/selections/select-popover/select-content.component.d.ts +5 -0
- package/dist/selections/select-popover/select-content.component.d.ts.map +1 -0
- package/dist/selections/select-popover/select-content.component.js +198 -0
- package/dist/selections/select-popover/select-popover.module.scss +230 -0
- package/dist/selections/select-popover/select-popover.types.d.ts +56 -0
- package/dist/selections/select-popover/select-popover.types.d.ts.map +1 -0
- package/dist/selections/select-popover/select-popover.types.js +9 -0
- package/dist/selections/select-popover/select-trigger.component.d.ts +5 -0
- package/dist/selections/select-popover/select-trigger.component.d.ts.map +1 -0
- package/dist/selections/select-popover/select-trigger.component.js +46 -0
- package/dist/selections/select-popover/select.component.d.ts +19 -0
- package/dist/selections/select-popover/select.component.d.ts.map +1 -0
- package/dist/selections/select-popover/select.component.js +61 -0
- package/dist/sheet/index.d.ts +15 -0
- package/dist/sheet/index.d.ts.map +1 -0
- package/dist/sheet/index.js +13 -0
- package/dist/sheet/sheet-content.component.d.ts +21 -0
- package/dist/sheet/sheet-content.component.d.ts.map +1 -0
- package/dist/sheet/sheet-content.component.js +224 -0
- package/dist/sheet/sheet-overlay.component.d.ts +8 -0
- package/dist/sheet/sheet-overlay.component.d.ts.map +1 -0
- package/dist/sheet/sheet-overlay.component.js +36 -0
- package/dist/sheet/sheet-parts.component.d.ts +23 -0
- package/dist/sheet/sheet-parts.component.d.ts.map +1 -0
- package/dist/sheet/sheet-parts.component.js +20 -0
- package/dist/sheet/sheet-portal.component.d.ts +9 -0
- package/dist/sheet/sheet-portal.component.d.ts.map +1 -0
- package/dist/sheet/sheet-portal.component.js +17 -0
- package/dist/sheet/sheet-root.component.d.ts +25 -0
- package/dist/sheet/sheet-root.component.d.ts.map +1 -0
- package/dist/sheet/sheet-root.component.js +36 -0
- package/dist/sheet/sheet-trigger.component.d.ts +15 -0
- package/dist/sheet/sheet-trigger.component.d.ts.map +1 -0
- package/dist/sheet/sheet-trigger.component.js +45 -0
- package/dist/sheet/sheet.context.d.ts +16 -0
- package/dist/sheet/sheet.context.d.ts.map +1 -0
- package/dist/sheet/sheet.context.js +9 -0
- package/dist/sheet/sheet.module.scss +143 -0
- package/dist/snackbars/_snackbars.scss +31 -0
- package/dist/snackbars/active-snackbar.component.d.ts +10 -0
- package/dist/snackbars/active-snackbar.component.d.ts.map +1 -0
- package/dist/snackbars/active-snackbar.component.js +25 -0
- package/dist/snackbars/index.d.ts +14 -0
- package/dist/snackbars/index.d.ts.map +1 -0
- package/dist/snackbars/index.js +37 -0
- package/dist/snackbars/snackbar.component.d.ts +23 -0
- package/dist/snackbars/snackbar.component.d.ts.map +1 -0
- package/dist/snackbars/snackbar.component.js +64 -0
- package/dist/snackbars/snackbar.module.scss +30 -0
- package/dist/snackbars/snackbar.stories.js +68 -0
- package/dist/spinner/_spinner.scss +14 -0
- package/dist/spinner/index.d.ts +3 -0
- package/dist/spinner/index.d.ts.map +1 -0
- package/dist/spinner/index.js +10 -0
- package/dist/staggered-menu/index.d.ts +3 -0
- package/dist/staggered-menu/index.d.ts.map +1 -0
- package/dist/staggered-menu/index.js +2 -0
- package/dist/staggered-menu/menu-toggle-button.component.d.ts +22 -0
- package/dist/staggered-menu/menu-toggle-button.component.d.ts.map +1 -0
- package/dist/staggered-menu/menu-toggle-button.component.js +235 -0
- package/dist/staggered-menu/staggered-menu-panel.component.d.ts +57 -0
- package/dist/staggered-menu/staggered-menu-panel.component.d.ts.map +1 -0
- package/dist/staggered-menu/staggered-menu-panel.component.js +389 -0
- package/dist/svg-utils.d.ts +17 -0
- package/dist/svg-utils.d.ts.map +1 -0
- package/dist/svg-utils.js +69 -0
- package/dist/test-utils.d.ts +7 -0
- package/dist/test-utils.d.ts.map +1 -0
- package/dist/test-utils.js +17 -0
- package/dist/toasts/_toasts.scss +22 -0
- package/dist/toasts/active-toasts.component.d.ts +10 -0
- package/dist/toasts/active-toasts.component.d.ts.map +1 -0
- package/dist/toasts/active-toasts.component.js +27 -0
- package/dist/toasts/index.d.ts +14 -0
- package/dist/toasts/index.d.ts.map +1 -0
- package/dist/toasts/index.js +39 -0
- package/dist/toasts/toast-kind.config.d.ts +15 -0
- package/dist/toasts/toast-kind.config.d.ts.map +1 -0
- package/dist/toasts/toast-kind.config.js +33 -0
- package/dist/toasts/toast-progress-bar.component.d.ts +13 -0
- package/dist/toasts/toast-progress-bar.component.d.ts.map +1 -0
- package/dist/toasts/toast-progress-bar.component.js +36 -0
- package/dist/toasts/toast.component.d.ts +24 -0
- package/dist/toasts/toast.component.d.ts.map +1 -0
- package/dist/toasts/toast.component.js +175 -0
- package/dist/toasts/toast.module.scss +181 -0
- package/dist/toasts/toast.stories.js +112 -0
- package/dist/toasts/toast.types.d.ts +45 -0
- package/dist/toasts/toast.types.d.ts.map +1 -0
- package/dist/toasts/toast.types.js +1 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +17 -0
- package/dist/workspaces/action-menu-button/action-menu-button.component.d.ts +16 -0
- package/dist/workspaces/action-menu-button/action-menu-button.component.d.ts.map +1 -0
- package/dist/workspaces/action-menu-button/action-menu-button.component.js +79 -0
- package/dist/workspaces/action-menu-button/action-menu-button.module.scss +111 -0
- package/dist/workspaces/container/action-menu.component.d.ts +10 -0
- package/dist/workspaces/container/action-menu.component.d.ts.map +1 -0
- package/dist/workspaces/container/action-menu.component.js +40 -0
- package/dist/workspaces/container/action-menu.module.scss +89 -0
- package/dist/workspaces/container/workspace-container.component.d.ts +68 -0
- package/dist/workspaces/container/workspace-container.component.d.ts.map +1 -0
- package/dist/workspaces/container/workspace-container.component.js +227 -0
- package/dist/workspaces/container/workspace-renderer.component.d.ts +9 -0
- package/dist/workspaces/container/workspace-renderer.component.d.ts.map +1 -0
- package/dist/workspaces/container/workspace-renderer.component.js +46 -0
- package/dist/workspaces/container/workspace.module.scss +276 -0
- package/dist/workspaces/index.d.ts +6 -0
- package/dist/workspaces/index.d.ts.map +1 -0
- package/dist/workspaces/index.js +5 -0
- package/dist/workspaces/notification/workspace-notification.component.d.ts +7 -0
- package/dist/workspaces/notification/workspace-notification.component.d.ts.map +1 -0
- package/dist/workspaces/notification/workspace-notification.component.js +89 -0
- package/dist/workspaces/notification/workspace-notification.module.scss +5 -0
- package/dist/workspaces/public.d.ts +5 -0
- package/dist/workspaces/public.d.ts.map +1 -0
- package/dist/workspaces/public.js +3 -0
- package/dist/workspaces/workspace-sidebar-store/useWorkspaceGroupStore.d.ts +12 -0
- package/dist/workspaces/workspace-sidebar-store/useWorkspaceGroupStore.d.ts.map +1 -0
- package/dist/workspaces/workspace-sidebar-store/useWorkspaceGroupStore.js +38 -0
- package/dist/workspaces/workspaces.d.ts +254 -0
- package/dist/workspaces/workspaces.d.ts.map +1 -0
- package/dist/workspaces/workspaces.js +504 -0
- package/dist/workspaces2/action-menu2/action-menu-button2.component.d.ts +38 -0
- package/dist/workspaces2/action-menu2/action-menu-button2.component.d.ts.map +1 -0
- package/dist/workspaces2/action-menu2/action-menu-button2.component.js +112 -0
- package/dist/workspaces2/action-menu2/action-menu-button2.module.scss +113 -0
- package/dist/workspaces2/action-menu2/action-menu2.component.d.ts +17 -0
- package/dist/workspaces2/action-menu2/action-menu2.component.d.ts.map +1 -0
- package/dist/workspaces2/action-menu2/action-menu2.component.js +46 -0
- package/dist/workspaces2/action-menu2/action-menu2.module.scss +87 -0
- package/dist/workspaces2/active-workspace-window.component.d.ts +12 -0
- package/dist/workspaces2/active-workspace-window.component.d.ts.map +1 -0
- package/dist/workspaces2/active-workspace-window.component.js +150 -0
- package/dist/workspaces2/index.d.ts +4 -0
- package/dist/workspaces2/index.d.ts.map +1 -0
- package/dist/workspaces2/index.js +3 -0
- package/dist/workspaces2/scope-utils.d.ts +10 -0
- package/dist/workspaces2/scope-utils.d.ts.map +1 -0
- package/dist/workspaces2/scope-utils.js +30 -0
- package/dist/workspaces2/workspace-windows-and-menu.component.d.ts +2 -0
- package/dist/workspaces2/workspace-windows-and-menu.component.d.ts.map +1 -0
- package/dist/workspaces2/workspace-windows-and-menu.component.js +82 -0
- package/dist/workspaces2/workspace-windows-and-menu.module.scss +32 -0
- package/dist/workspaces2/workspace2-close-prompt.modal.d.ts +12 -0
- package/dist/workspaces2/workspace2-close-prompt.modal.d.ts.map +1 -0
- package/dist/workspaces2/workspace2-close-prompt.modal.js +45 -0
- package/dist/workspaces2/workspace2-close-prompt.module.scss +8 -0
- package/dist/workspaces2/workspace2.component.d.ts +51 -0
- package/dist/workspaces2/workspace2.component.d.ts.map +1 -0
- package/dist/workspaces2/workspace2.component.js +160 -0
- package/dist/workspaces2/workspace2.d.ts +187 -0
- package/dist/workspaces2/workspace2.d.ts.map +1 -0
- package/dist/workspaces2/workspace2.js +566 -0
- package/dist/workspaces2/workspace2.module.scss +228 -0
- package/mock-jest.tsx +220 -0
- package/mock.tsx +222 -0
- package/package.json +146 -0
- package/src/_vars.scss +111 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/** @module @category UI */
|
|
3
|
+
export interface NotificationProps {
|
|
4
|
+
notification: InlineNotificationMeta;
|
|
5
|
+
}
|
|
6
|
+
export interface NotificationDescriptor {
|
|
7
|
+
description: string;
|
|
8
|
+
action?: string;
|
|
9
|
+
kind?: InlineNotificationType;
|
|
10
|
+
critical?: boolean;
|
|
11
|
+
millis?: number;
|
|
12
|
+
title?: string;
|
|
13
|
+
onAction?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export interface InlineNotificationMeta extends NotificationDescriptor {
|
|
16
|
+
id: number;
|
|
17
|
+
}
|
|
18
|
+
export type InlineNotificationType = 'error' | 'info' | 'info-square' | 'success' | 'warning' | 'warning-alt';
|
|
19
|
+
export declare const Notification: React.FC<NotificationProps>;
|
|
20
|
+
//# sourceMappingURL=notification.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.component.d.ts","sourceRoot":"","sources":["../../src/notifications/notification.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,2BAA2B;AAE3B,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,sBAAsB,CAAC;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,sBAAuB,SAAQ,sBAAsB;IACpE,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAE9G,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAcpD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ActionableNotification } from "@carbon/react";
|
|
4
|
+
export const Notification = ({ notification })=>{
|
|
5
|
+
const { description, action, kind, critical, title, onAction } = notification;
|
|
6
|
+
return /*#__PURE__*/ _jsx(ActionableNotification, {
|
|
7
|
+
actionButtonLabel: action,
|
|
8
|
+
kind: kind || 'info',
|
|
9
|
+
lowContrast: critical,
|
|
10
|
+
subtitle: description,
|
|
11
|
+
title: title || '',
|
|
12
|
+
inline: true,
|
|
13
|
+
onActionButtonClick: onAction
|
|
14
|
+
});
|
|
15
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Notification } from "./notification.component.js";
|
|
3
|
+
const notificationMeta = {
|
|
4
|
+
title: 'Components/Notification',
|
|
5
|
+
component: Notification,
|
|
6
|
+
tags: [
|
|
7
|
+
'autodocs'
|
|
8
|
+
],
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: 'padded'
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export default notificationMeta;
|
|
14
|
+
export const Info = {
|
|
15
|
+
args: {
|
|
16
|
+
notification: {
|
|
17
|
+
id: 1,
|
|
18
|
+
title: 'Note',
|
|
19
|
+
description: 'This patient has an active visit.',
|
|
20
|
+
kind: 'info'
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
export const Error = {
|
|
25
|
+
args: {
|
|
26
|
+
notification: {
|
|
27
|
+
id: 2,
|
|
28
|
+
title: 'Error',
|
|
29
|
+
description: 'Failed to load patient data.',
|
|
30
|
+
kind: 'error'
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export const Warning = {
|
|
35
|
+
args: {
|
|
36
|
+
notification: {
|
|
37
|
+
id: 3,
|
|
38
|
+
title: 'Warning',
|
|
39
|
+
description: 'This form has unsaved changes.',
|
|
40
|
+
kind: 'warning'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
export const WithAction = {
|
|
45
|
+
args: {
|
|
46
|
+
notification: {
|
|
47
|
+
id: 4,
|
|
48
|
+
title: 'Allergies',
|
|
49
|
+
description: 'No allergies have been recorded for this patient.',
|
|
50
|
+
kind: 'info',
|
|
51
|
+
action: 'Record allergies'
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/numeric-datapoint/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const backendDataPointInterpretations: readonly ["NORMAL", "HIGH", "CRITICALLY_HIGH", "OFF_SCALE_HIGH", "LOW", "CRITICALLY_LOW", "OFF_SCALE_LOW"];
|
|
2
|
+
declare const observationInterpretations: readonly ["critically_low", "critically_high", "high", "low", "normal", "off_scale_low", "off_scale_high"];
|
|
3
|
+
export type DATAPOINT_INTERPRETATION = (typeof backendDataPointInterpretations)[number];
|
|
4
|
+
export type DataPointInterpretation = (typeof observationInterpretations)[number];
|
|
5
|
+
/**
|
|
6
|
+
* Reference range values for calculating interpretation
|
|
7
|
+
*/
|
|
8
|
+
export type ReferenceRangeValue = number | null | undefined;
|
|
9
|
+
export interface DataPointReferenceRanges {
|
|
10
|
+
hiAbsolute: ReferenceRangeValue;
|
|
11
|
+
hiCritical: ReferenceRangeValue;
|
|
12
|
+
hiNormal: ReferenceRangeValue;
|
|
13
|
+
lowNormal: ReferenceRangeValue;
|
|
14
|
+
lowCritical: ReferenceRangeValue;
|
|
15
|
+
lowAbsolute: ReferenceRangeValue;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Normalizes interpretation between lowercase (DataPointInterpretation) and uppercase (DATAPOINT_INTERPRETATION) formats
|
|
19
|
+
*/
|
|
20
|
+
export declare function normalizeInterpretation(interpretation: DataPointInterpretation | DATAPOINT_INTERPRETATION | '--' | undefined): DataPointInterpretation | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Calculates interpretation from a numeric value and reference range
|
|
23
|
+
* Returns lowercase DataPointInterpretation format
|
|
24
|
+
*/
|
|
25
|
+
export declare function calculateInterpretation(value: string | number | undefined, range?: DataPointReferenceRanges): DataPointInterpretation;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=interpretation-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpretation-utils.d.ts","sourceRoot":"","sources":["../../src/numeric-datapoint/interpretation-utils.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,+BAA+B,4GAQ3B,CAAC;AAEX,QAAA,MAAM,0BAA0B,4GAQtB,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAC;AAExF,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAElF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAE5D,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,mBAAmB,CAAC;IAChC,UAAU,EAAE,mBAAmB,CAAC;IAChC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,WAAW,EAAE,mBAAmB,CAAC;IACjC,WAAW,EAAE,mBAAmB,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,uBAAuB,GAAG,wBAAwB,GAAG,IAAI,GAAG,SAAS,GACpF,uBAAuB,GAAG,SAAS,CAkBrC;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAClC,KAAK,CAAC,EAAE,wBAAwB,GAC/B,uBAAuB,CAoCzB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
const backendDataPointInterpretations = [
|
|
2
|
+
'NORMAL',
|
|
3
|
+
'HIGH',
|
|
4
|
+
'CRITICALLY_HIGH',
|
|
5
|
+
'OFF_SCALE_HIGH',
|
|
6
|
+
'LOW',
|
|
7
|
+
'CRITICALLY_LOW',
|
|
8
|
+
'OFF_SCALE_LOW'
|
|
9
|
+
];
|
|
10
|
+
const observationInterpretations = [
|
|
11
|
+
'critically_low',
|
|
12
|
+
'critically_high',
|
|
13
|
+
'high',
|
|
14
|
+
'low',
|
|
15
|
+
'normal',
|
|
16
|
+
'off_scale_low',
|
|
17
|
+
'off_scale_high'
|
|
18
|
+
];
|
|
19
|
+
/**
|
|
20
|
+
* Normalizes interpretation between lowercase (DataPointInterpretation) and uppercase (DATAPOINT_INTERPRETATION) formats
|
|
21
|
+
*/ export function normalizeInterpretation(interpretation) {
|
|
22
|
+
if (!interpretation) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (interpretation === '--') {
|
|
26
|
+
return 'normal';
|
|
27
|
+
}
|
|
28
|
+
if (backendDataPointInterpretations.includes(interpretation)) {
|
|
29
|
+
return interpretation.toLowerCase();
|
|
30
|
+
}
|
|
31
|
+
if (observationInterpretations.includes(interpretation)) {
|
|
32
|
+
return interpretation;
|
|
33
|
+
}
|
|
34
|
+
return 'normal';
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Calculates interpretation from a numeric value and reference range
|
|
38
|
+
* Returns lowercase DataPointInterpretation format
|
|
39
|
+
*/ export function calculateInterpretation(value, range) {
|
|
40
|
+
if (!range || value === undefined || value === null || value === '') {
|
|
41
|
+
return 'normal';
|
|
42
|
+
}
|
|
43
|
+
const numericValue = typeof value === 'string' ? Number.parseFloat(value) : value;
|
|
44
|
+
if (Number.isNaN(numericValue)) {
|
|
45
|
+
return 'normal';
|
|
46
|
+
}
|
|
47
|
+
if (range.hiAbsolute !== null && range.hiAbsolute !== undefined && numericValue > range.hiAbsolute) {
|
|
48
|
+
return 'off_scale_high';
|
|
49
|
+
}
|
|
50
|
+
if (range.hiCritical !== null && range.hiCritical !== undefined && numericValue >= range.hiCritical) {
|
|
51
|
+
return 'critically_high';
|
|
52
|
+
}
|
|
53
|
+
if (range.hiNormal !== null && range.hiNormal !== undefined && numericValue > range.hiNormal) {
|
|
54
|
+
return 'high';
|
|
55
|
+
}
|
|
56
|
+
if (range.lowAbsolute !== null && range.lowAbsolute !== undefined && numericValue < range.lowAbsolute) {
|
|
57
|
+
return 'off_scale_low';
|
|
58
|
+
}
|
|
59
|
+
if (range.lowCritical !== null && range.lowCritical !== undefined && numericValue <= range.lowCritical) {
|
|
60
|
+
return 'critically_low';
|
|
61
|
+
}
|
|
62
|
+
if (range.lowNormal !== null && range.lowNormal !== undefined && numericValue < range.lowNormal) {
|
|
63
|
+
return 'low';
|
|
64
|
+
}
|
|
65
|
+
return 'normal';
|
|
66
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** @module @category UI */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { type DataPointInterpretation, type DATAPOINT_INTERPRETATION, type DataPointReferenceRanges } from './interpretation-utils.js';
|
|
4
|
+
export interface NumericDataPointProps {
|
|
5
|
+
/** The data point value to display */
|
|
6
|
+
value: string | number;
|
|
7
|
+
/** Unit of measurement */
|
|
8
|
+
unit?: string;
|
|
9
|
+
/** Label for the data point (only shown for card variant) */
|
|
10
|
+
label?: string;
|
|
11
|
+
/** Pre-calculated interpretation */
|
|
12
|
+
interpretation?: DataPointInterpretation | DATAPOINT_INTERPRETATION;
|
|
13
|
+
/** Reference range for calculating interpretation */
|
|
14
|
+
referenceRange?: DataPointReferenceRanges;
|
|
15
|
+
/** Concept UUID to fetch reference range from */
|
|
16
|
+
conceptUuid?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Display style variant, defaults to 'card'
|
|
19
|
+
* - 'card': Card-style container with colored borders and backgrounds
|
|
20
|
+
* - 'cell': Table cell styling with background colors
|
|
21
|
+
*/
|
|
22
|
+
variant?: 'card' | 'cell';
|
|
23
|
+
entityUuid: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Generic numeric data point component for displaying numeric values
|
|
27
|
+
* with interpretation-based styling (normal / high / low / critical).
|
|
28
|
+
*
|
|
29
|
+
* Can be used for any domain: metrics, KPIs, sensor readings, test results, etc.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* import { NumericDataPoint } from '@egen-civitas/esm-framework';
|
|
34
|
+
* <NumericDataPoint
|
|
35
|
+
* value={98.5}
|
|
36
|
+
* unit="%"
|
|
37
|
+
* label="Completion Rate"
|
|
38
|
+
* entityUuid="abc-123"
|
|
39
|
+
* conceptUuid="concept-uuid"
|
|
40
|
+
* />
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare const NumericDataPoint: React.FC<NumericDataPointProps>;
|
|
44
|
+
//# sourceMappingURL=numeric-datapoint.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numeric-datapoint.component.d.ts","sourceRoot":"","sources":["../../src/numeric-datapoint/numeric-datapoint.component.tsx"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,KAAyB,MAAM,OAAO,CAAC;AAG9C,OAAO,EAGL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC9B,MAAM,2BAA2B,CAAC;AAInC,MAAM,WAAW,qBAAqB;IACpC,sCAAsC;IACtC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oCAAoC;IACpC,cAAc,CAAC,EAAE,uBAAuB,GAAG,wBAAwB,CAAC;IACpE,qDAAqD;IACrD,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAwG5D,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/** @module @category UI */ import React, { useMemo, useId } from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { getCoreTranslation } from "@egen-civitas/esm-translations";
|
|
5
|
+
import { calculateInterpretation, normalizeInterpretation } from "./interpretation-utils.js";
|
|
6
|
+
import { useConceptReferenceRange } from "./use-concept-reference-range.js";
|
|
7
|
+
import styles from "./numeric-datapoint.module.scss";
|
|
8
|
+
/**
|
|
9
|
+
* Generic numeric data point component for displaying numeric values
|
|
10
|
+
* with interpretation-based styling (normal / high / low / critical).
|
|
11
|
+
*
|
|
12
|
+
* Can be used for any domain: metrics, KPIs, sensor readings, test results, etc.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* import { NumericDataPoint } from '@egen-civitas/esm-framework';
|
|
17
|
+
* <NumericDataPoint
|
|
18
|
+
* value={98.5}
|
|
19
|
+
* unit="%"
|
|
20
|
+
* label="Completion Rate"
|
|
21
|
+
* entityUuid="abc-123"
|
|
22
|
+
* conceptUuid="concept-uuid"
|
|
23
|
+
* />
|
|
24
|
+
* ```
|
|
25
|
+
*/ export const NumericDataPoint = ({ value, unit, label, interpretation: providedInterpretation, referenceRange: providedReferenceRange, conceptUuid, variant = 'card', entityUuid })=>{
|
|
26
|
+
const generatedId = useId();
|
|
27
|
+
const { referenceRange: fetchedReferenceRange, isLoading: isLoadingConcept } = useConceptReferenceRange(providedReferenceRange || providedInterpretation ? undefined : conceptUuid, entityUuid);
|
|
28
|
+
const referenceRange = providedReferenceRange ?? fetchedReferenceRange;
|
|
29
|
+
const calculatedInterpretation = useMemo(()=>{
|
|
30
|
+
if (providedInterpretation) return normalizeInterpretation(providedInterpretation);
|
|
31
|
+
if (referenceRange && !isLoadingConcept) return calculateInterpretation(value, referenceRange);
|
|
32
|
+
return 'normal';
|
|
33
|
+
}, [
|
|
34
|
+
providedInterpretation,
|
|
35
|
+
referenceRange,
|
|
36
|
+
value,
|
|
37
|
+
isLoadingConcept
|
|
38
|
+
]);
|
|
39
|
+
const interpretation = calculatedInterpretation ?? 'normal';
|
|
40
|
+
const flaggedCritical = interpretation === 'critically_low' || interpretation === 'critically_high' || interpretation === 'off_scale_low' || interpretation === 'off_scale_high';
|
|
41
|
+
const flaggedAbnormal = interpretation !== 'normal';
|
|
42
|
+
const labelId = label ? `egen-numeric-dp-label-${label.replaceAll(/\s+/g, '-').toLowerCase()}-${generatedId}` : undefined;
|
|
43
|
+
const valueId = `egen-numeric-dp-value-${generatedId}`;
|
|
44
|
+
const unitId = `egen-numeric-dp-unit-${generatedId}`;
|
|
45
|
+
const hasValue = value != null && value !== '';
|
|
46
|
+
const displayValue = hasValue ? value : getCoreTranslation('notAvailable', 'Not available');
|
|
47
|
+
const interpretationClasses = classNames({
|
|
48
|
+
[styles['critically-low']]: interpretation === 'critically_low' || interpretation === 'off_scale_low',
|
|
49
|
+
[styles['critically-high']]: interpretation === 'critically_high' || interpretation === 'off_scale_high',
|
|
50
|
+
[styles.low]: interpretation === 'low',
|
|
51
|
+
[styles.high]: interpretation === 'high',
|
|
52
|
+
[styles['off-scale-low']]: interpretation === 'off_scale_low',
|
|
53
|
+
[styles['off-scale-high']]: interpretation === 'off_scale_high'
|
|
54
|
+
});
|
|
55
|
+
const cardContainerClasses = classNames({
|
|
56
|
+
[styles.container]: true,
|
|
57
|
+
[styles.card]: true,
|
|
58
|
+
[styles['critical-value']]: flaggedCritical,
|
|
59
|
+
[styles['abnormal-value']]: flaggedAbnormal && !flaggedCritical
|
|
60
|
+
});
|
|
61
|
+
const cellClasses = classNames({
|
|
62
|
+
[styles.cell]: true,
|
|
63
|
+
[interpretationClasses]: true
|
|
64
|
+
});
|
|
65
|
+
if (variant === 'cell') {
|
|
66
|
+
return /*#__PURE__*/ _jsxs("div", {
|
|
67
|
+
className: cellClasses,
|
|
68
|
+
children: [
|
|
69
|
+
displayValue,
|
|
70
|
+
hasValue && unit ? ` ${unit}` : ''
|
|
71
|
+
]
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return /*#__PURE__*/ _jsxs("section", {
|
|
75
|
+
className: cardContainerClasses,
|
|
76
|
+
"data-testid": "numeric-datapoint-card",
|
|
77
|
+
children: [
|
|
78
|
+
label && /*#__PURE__*/ _jsxs("div", {
|
|
79
|
+
className: styles['label-container'],
|
|
80
|
+
children: [
|
|
81
|
+
/*#__PURE__*/ _jsx("span", {
|
|
82
|
+
id: labelId,
|
|
83
|
+
className: styles.label,
|
|
84
|
+
children: label
|
|
85
|
+
}),
|
|
86
|
+
flaggedAbnormal && /*#__PURE__*/ _jsx("span", {
|
|
87
|
+
className: styles[interpretation.replace('_', '-')],
|
|
88
|
+
title: getCoreTranslation('abnormalValue', 'Abnormal value')
|
|
89
|
+
})
|
|
90
|
+
]
|
|
91
|
+
}),
|
|
92
|
+
/*#__PURE__*/ _jsxs("div", {
|
|
93
|
+
className: styles['value-container'],
|
|
94
|
+
children: [
|
|
95
|
+
/*#__PURE__*/ _jsx("span", {
|
|
96
|
+
id: valueId,
|
|
97
|
+
"aria-labelledby": labelId && unitId ? `${labelId} ${unitId}` : labelId || unitId || undefined,
|
|
98
|
+
className: styles.value,
|
|
99
|
+
children: displayValue
|
|
100
|
+
}),
|
|
101
|
+
hasValue && unit && /*#__PURE__*/ _jsx("span", {
|
|
102
|
+
id: unitId,
|
|
103
|
+
className: styles.units,
|
|
104
|
+
children: unit
|
|
105
|
+
})
|
|
106
|
+
]
|
|
107
|
+
})
|
|
108
|
+
]
|
|
109
|
+
});
|
|
110
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
@use '@carbon/colors';
|
|
2
|
+
@use '@carbon/type';
|
|
3
|
+
@use '@carbon/layout';
|
|
4
|
+
@use '../vars' as *;
|
|
5
|
+
|
|
6
|
+
.container {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-flow: row wrap;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
margin: layout.$spacing-03 0 0;
|
|
11
|
+
min-inline-size: max-content;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.card {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
width: fit-content;
|
|
19
|
+
gap: layout.$spacing-02;
|
|
20
|
+
padding: layout.$spacing-02;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.card.abnormal-value {
|
|
24
|
+
border: solid 1px colors.$orange-20-hover;
|
|
25
|
+
background-color: colors.$orange-10;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.card.critical-value {
|
|
29
|
+
border: 1px solid colors.$red-60;
|
|
30
|
+
background-color: colors.$red-20;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.cell {
|
|
34
|
+
display: block;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
padding-top: 0.4375rem;
|
|
38
|
+
padding-bottom: 0.375rem;
|
|
39
|
+
padding-left: layout.$spacing-05;
|
|
40
|
+
padding-right: layout.$spacing-05;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.cell.critically-high,
|
|
44
|
+
.cell.critically-low {
|
|
45
|
+
background-color: colors.$red-20 !important;
|
|
46
|
+
border-top: 1px solid colors.$red-20-hover !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.cell.high,
|
|
50
|
+
.cell.low {
|
|
51
|
+
background-color: colors.$orange-10 !important;
|
|
52
|
+
border-top: 1px solid colors.$orange-20 !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.label-container {
|
|
56
|
+
flex-grow: 0;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
justify-content: flex-start;
|
|
59
|
+
align-items: center;
|
|
60
|
+
display: flex;
|
|
61
|
+
gap: layout.$spacing-02;
|
|
62
|
+
padding: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.value-container {
|
|
66
|
+
@extend .label-container;
|
|
67
|
+
margin-top: layout.$spacing-02;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.label {
|
|
71
|
+
@include type.type-style('label-01');
|
|
72
|
+
color: $text-02;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.value {
|
|
76
|
+
@include type.type-style('body-compact-02');
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.units {
|
|
80
|
+
@include type.type-style('body-compact-01');
|
|
81
|
+
color: $text-02;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.pad-right {
|
|
85
|
+
margin-right: layout.$spacing-01;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.critically-low,
|
|
89
|
+
.critically-high,
|
|
90
|
+
.low,
|
|
91
|
+
.high,
|
|
92
|
+
.off-scale-low,
|
|
93
|
+
.off-scale-high {
|
|
94
|
+
font-weight: bold;
|
|
95
|
+
|
|
96
|
+
&::after {
|
|
97
|
+
@include type.type-style('heading-compact-01');
|
|
98
|
+
color: $text-02;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.arrow {
|
|
103
|
+
color: colors.$gray-100;
|
|
104
|
+
font-weight: bold;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.low::after {
|
|
108
|
+
@extend .arrow;
|
|
109
|
+
content: ' ↓';
|
|
110
|
+
font-weight: bold;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.critically-low::after {
|
|
114
|
+
@extend .arrow;
|
|
115
|
+
content: ' ↓↓';
|
|
116
|
+
font-weight: bold;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.off-scale-low::after {
|
|
120
|
+
@extend .arrow;
|
|
121
|
+
content: ' ↓↓↓';
|
|
122
|
+
font-weight: bold;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.high::after {
|
|
126
|
+
@extend .arrow;
|
|
127
|
+
content: ' ↑';
|
|
128
|
+
font-weight: bold;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.critically-high::after {
|
|
132
|
+
@extend .arrow;
|
|
133
|
+
content: ' ↑↑';
|
|
134
|
+
font-weight: bold;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.off-scale-high::after {
|
|
138
|
+
@extend .arrow;
|
|
139
|
+
content: ' ↑↑↑';
|
|
140
|
+
font-weight: bold;
|
|
141
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DataPointReferenceRanges } from './interpretation-utils.js';
|
|
2
|
+
export interface UseConceptReferenceRangeResult {
|
|
3
|
+
referenceRange: DataPointReferenceRanges | undefined;
|
|
4
|
+
error?: Error;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Hook to fetch concept reference range from Egen REST API
|
|
9
|
+
* @param conceptUuid - The UUID of the concept to fetch reference range for
|
|
10
|
+
* @returns Reference range data, loading state, and error
|
|
11
|
+
*/
|
|
12
|
+
export declare function useConceptReferenceRange(conceptUuid: string | undefined, entityUuid: string | undefined): UseConceptReferenceRangeResult;
|
|
13
|
+
//# sourceMappingURL=use-concept-reference-range.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-concept-reference-range.d.ts","sourceRoot":"","sources":["../../src/numeric-datapoint/use-concept-reference-range.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAE1E,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACrD,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;CACpB;AAgBD;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,UAAU,EAAE,MAAM,GAAG,SAAS,GAC7B,8BAA8B,CAiChC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** @module @category UI */ import useSWRImmutable from "swr/immutable";
|
|
2
|
+
import { egenFetch, restBaseUrl } from "@egen-civitas/esm-api";
|
|
3
|
+
/**
|
|
4
|
+
* Hook to fetch concept reference range from Egen REST API
|
|
5
|
+
* @param conceptUuid - The UUID of the concept to fetch reference range for
|
|
6
|
+
* @returns Reference range data, loading state, and error
|
|
7
|
+
*/ export function useConceptReferenceRange(conceptUuid, entityUuid) {
|
|
8
|
+
let apiUrl = null;
|
|
9
|
+
if (conceptUuid) {
|
|
10
|
+
if (entityUuid) {
|
|
11
|
+
apiUrl = `${restBaseUrl}/conceptreferencerange/?entity=${entityUuid}&concept=${conceptUuid}&v=full`;
|
|
12
|
+
} else {
|
|
13
|
+
apiUrl = `${restBaseUrl}/conceptreferencerange/?concept=${conceptUuid}&v=full`;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
const { data, error, isLoading } = useSWRImmutable(apiUrl, egenFetch);
|
|
17
|
+
const conceptData = data?.data?.results?.[0];
|
|
18
|
+
const referenceRange = conceptData ? {
|
|
19
|
+
hiNormal: conceptData.hiNormal ?? null,
|
|
20
|
+
hiAbsolute: conceptData.hiAbsolute ?? null,
|
|
21
|
+
hiCritical: conceptData.hiCritical ?? null,
|
|
22
|
+
lowNormal: conceptData.lowNormal ?? null,
|
|
23
|
+
lowAbsolute: conceptData.lowAbsolute ?? null,
|
|
24
|
+
lowCritical: conceptData.lowCritical ?? null
|
|
25
|
+
} : undefined;
|
|
26
|
+
return {
|
|
27
|
+
referenceRange,
|
|
28
|
+
error,
|
|
29
|
+
isLoading
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/page-header/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./page-header.component.js";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/** @module @category UI */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface PageHeaderContentProps {
|
|
4
|
+
title: string | JSX.Element;
|
|
5
|
+
illustration: React.ReactElement;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface PageHeaderWrapperProps {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type ExcludeOptionalKeys<T, U> = {
|
|
14
|
+
[K in keyof T]: K extends keyof U ? never : K;
|
|
15
|
+
}[keyof T];
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type XOR<T, U> = (T & {
|
|
18
|
+
[K in ExcludeOptionalKeys<U, T>]?: never;
|
|
19
|
+
}) | (U & {
|
|
20
|
+
[K in ExcludeOptionalKeys<T, U>]?: never;
|
|
21
|
+
});
|
|
22
|
+
export type PageHeaderProps = XOR<PageHeaderWrapperProps, PageHeaderContentProps>;
|
|
23
|
+
/**
|
|
24
|
+
* The page header is typically located at the top of a dashboard. It includes a pictogram on the left,
|
|
25
|
+
* the name of the dashboard or page, and the `implementationName` from the configuration, which is typically
|
|
26
|
+
* the name of the clinic or the authority that is using the implementation. It can also include interactive
|
|
27
|
+
* content on the right-hand side. It can be used in two ways:
|
|
28
|
+
*
|
|
29
|
+
* 1. Alone, in order to render just the page header, with no content on the right side:
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <PageHeader title="My Dashboard" illustration={<Illustration />} />
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* 2. Wrapped around the [[PageHeaderContent]] component, in order to render the page header on the left
|
|
36
|
+
* and some other content on the right side:
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* <PageHeader>
|
|
40
|
+
* <PageHeaderContent title="My Dashboard" illustration={<Illustration />} />
|
|
41
|
+
* <Button>Click me</Button>
|
|
42
|
+
* </PageHeader>
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare const PageHeader: React.FC<PageHeaderProps>;
|
|
46
|
+
/**
|
|
47
|
+
* The PageHeaderContent component should be used inside the [[PageHeader]] component. It is used if the page
|
|
48
|
+
* header should include some content on the right side, in addition to the pictogram and the name of the page.
|
|
49
|
+
* If only the page header is needed, without any additional content, the [[PageHeader]] component can be used
|
|
50
|
+
* on its own, and the PageHeaderContent component is not needed.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```tsx
|
|
54
|
+
* <PageHeader>
|
|
55
|
+
* <PageHeaderContent title="My Dashboard" illustration={<Illustration />} />
|
|
56
|
+
* <Button>Click me</Button>
|
|
57
|
+
* </PageHeader>
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare const PageHeaderContent: React.FC<PageHeaderContentProps>;
|
|
61
|
+
//# sourceMappingURL=page-header.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-header.component.d.ts","sourceRoot":"","sources":["../../src/page-header/page-header.component.tsx"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,gBAAgB;AAChB,MAAM,MAAM,mBAAmB,CAAC,CAAC,EAAE,CAAC,IAAI;KACrC,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,KAAK,GAAG,CAAC;CAC9C,CAAC,MAAM,CAAC,CAAC,CAAC;AAEX,gBAAgB;AAChB,MAAM,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,IAChB,CAAC,CAAC,GAAG;KAAG,CAAC,IAAI,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;CAAE,CAAC,GAClD,CAAC,CAAC,GAAG;KAAG,CAAC,IAAI,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;CAAE,CAAC,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,sBAAsB,EAAE,sBAAsB,CAAC,CAAC;AAMlF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgBhD,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkB9D,CAAC"}
|