@inera/ids-angular 8.2.0 → 9.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/common/classes/form/IDErrorMessageBase.d.ts +8 -0
- package/common/classes/form/IDFormBase.d.ts +27 -10
- package/common/context/header-context.d.ts +5 -0
- package/common/directives/click-outside.directive.d.ts +11 -0
- package/common/public-api.d.ts +7 -0
- package/common/services/input-label-linker.service.d.ts +10 -0
- package/common/services/tooltip-category.service.d.ts +7 -0
- package/common/services/use-id.service.ts.d.ts +7 -0
- package/common/utilities/useEscKey.d.ts +1 -0
- package/components/accordion/accordion-header.component.d.ts +7 -0
- package/components/accordion/accordion.component.d.ts +21 -9
- package/components/accordion/public-api.d.ts +1 -1
- package/components/action-link/action-link.component.d.ts +1 -2
- package/components/action-link/public-api.d.ts +1 -2
- package/components/alert/alert-header.component.d.ts +7 -0
- package/components/alert/alert.component.d.ts +29 -14
- package/components/alert/public-api.d.ts +1 -1
- package/components/badge/badge.component.d.ts +3 -2
- package/components/badge/public-api.d.ts +0 -1
- package/components/box-link/box-link-button.component.d.ts +7 -0
- package/components/box-link/box-link.component.d.ts +3 -2
- package/components/box-link/public-api.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.component.d.ts +5 -2
- package/components/breadcrumbs/crumb.component.d.ts +2 -3
- package/components/breadcrumbs/public-api.d.ts +0 -1
- package/components/button/button.directive.d.ts +42 -0
- package/components/button/public-api.d.ts +1 -2
- package/components/button-group/button-group.component.d.ts +4 -1
- package/components/button-group/public-api.d.ts +0 -1
- package/components/card/card-link.directive.d.ts +5 -0
- package/components/card/card.component.d.ts +12 -6
- package/components/card/public-api.d.ts +1 -1
- package/components/carousel/carousel-item/carousel-item.component.d.ts +6 -2
- package/components/carousel/carousel.component.d.ts +17 -5
- package/components/carousel/public-api.d.ts +0 -1
- package/components/date-label/date-label.component.d.ts +25 -13
- package/components/date-label/public-api.d.ts +0 -1
- package/components/dialog/dialog-close.component.d.ts +8 -0
- package/components/dialog/dialog-content.component.d.ts +5 -0
- package/components/dialog/dialog-footer.component.d.ts +5 -0
- package/components/dialog/dialog-header.component.d.ts +5 -0
- package/components/dialog/dialog-trigger.component.d.ts +5 -0
- package/components/dialog/dialog.component.d.ts +39 -11
- package/components/dialog/public-api.d.ts +5 -1
- package/components/dropdown/dropdown-item.directive.d.ts +5 -0
- package/components/dropdown/dropdown-trigger.component.d.ts +6 -0
- package/components/dropdown/dropdown.component.d.ts +27 -15
- package/components/dropdown/dropdown.module.d.ts +9 -0
- package/components/dropdown/public-api.d.ts +3 -1
- package/components/footer-1177/footer-1177-col.component.d.ts +12 -0
- package/components/footer-1177/footer-1177-sub-footer-left.component.d.ts +5 -0
- package/components/footer-1177/footer-1177-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-1177/footer-1177-sub-footer-right.component.d.ts +5 -0
- package/components/footer-1177/footer-1177-text.component.d.ts +6 -0
- package/components/footer-1177/footer-1177.component.d.ts +7 -6
- package/components/footer-1177/footer-1177.module.d.ts +12 -0
- package/components/footer-1177/public-api.d.ts +6 -0
- package/components/footer-1177-admin/footer-1177-admin-col.component.d.ts +12 -0
- package/components/footer-1177-admin/footer-1177-admin-sub-footer-left.component.d.ts +5 -0
- package/components/footer-1177-admin/footer-1177-admin-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-1177-admin/footer-1177-admin-sub-footer-right.component.d.ts +5 -0
- package/components/footer-1177-admin/footer-1177-admin-text.component.d.ts +6 -0
- package/components/footer-1177-admin/footer-1177-admin.component.d.ts +7 -6
- package/components/footer-1177-admin/footer-1177-admin.module.d.ts +12 -0
- package/components/footer-1177-admin/public-api.d.ts +6 -0
- package/components/footer-1177-pro/footer-1177-pro-col.component.d.ts +12 -0
- package/components/footer-1177-pro/footer-1177-pro-sub-footer-left.component.d.ts +5 -0
- package/components/footer-1177-pro/footer-1177-pro-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-1177-pro/footer-1177-pro-sub-footer-right.component.d.ts +5 -0
- package/components/footer-1177-pro/footer-1177-pro-text.component.d.ts +6 -0
- package/components/footer-1177-pro/footer-1177-pro.component.d.ts +6 -5
- package/components/footer-1177-pro/footer-1177-pro.module.d.ts +12 -0
- package/components/footer-1177-pro/public-api.d.ts +6 -0
- package/components/footer-inera/footer-inera-col.component.d.ts +12 -0
- package/components/footer-inera/footer-inera-sub-footer-left.component.d.ts +5 -0
- package/components/footer-inera/footer-inera-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-inera/footer-inera-sub-footer-right.component.d.ts +5 -0
- package/components/footer-inera/footer-inera-text.component.d.ts +6 -0
- package/components/footer-inera/footer-inera.component.d.ts +6 -5
- package/components/footer-inera/footer-inera.module.d.ts +12 -0
- package/components/footer-inera/public-api.d.ts +6 -0
- package/components/footer-inera-admin/footer-inera-admin-col.component.d.ts +14 -0
- package/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.d.ts +5 -0
- package/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.d.ts +5 -0
- package/components/footer-inera-admin/footer-inera-admin-text.component.d.ts +6 -0
- package/components/footer-inera-admin/footer-inera-admin.component.d.ts +6 -5
- package/components/footer-inera-admin/footer-inera-admin.module.d.ts +12 -0
- package/components/footer-inera-admin/public-api.d.ts +7 -1
- package/components/form/check-button/check-button.component.d.ts +4 -3
- package/components/form/check-button/public-api.d.ts +0 -1
- package/components/form/checkbox/checkbox.component.d.ts +14 -8
- package/components/form/checkbox/public-api.d.ts +0 -1
- package/components/form/checkbox-group/checkbox-group.component.d.ts +13 -9
- package/components/form/checkbox-group/public-api.d.ts +0 -1
- package/components/form/darkmode-toggle/darkmode-toggle.component.d.ts +6 -0
- package/components/form/darkmode-toggle/index.d.ts +5 -0
- package/components/form/darkmode-toggle/public-api.d.ts +1 -0
- package/components/form/error-message/error-message.component.d.ts +6 -7
- package/components/form/error-message/public-api.d.ts +0 -1
- package/components/form/input/input-hint.component.d.ts +5 -0
- package/components/form/input/input-icon.component.d.ts +7 -0
- package/components/form/input/input.component.d.ts +13 -6
- package/components/form/input/public-api.d.ts +2 -1
- package/components/form/radio/public-api.d.ts +0 -1
- package/components/form/radio/radio-group.component.d.ts +14 -7
- package/components/form/radio/radio.component.d.ts +4 -2
- package/components/form/radio-button/public-api.d.ts +0 -1
- package/components/form/radio-button/radio-button-group.component.d.ts +9 -3
- package/components/form/radio-button/radio-button.component.d.ts +5 -3
- package/components/form/range/public-api.d.ts +0 -1
- package/components/form/range/range.component.d.ts +14 -4
- package/components/form/select/public-api.d.ts +0 -1
- package/components/form/select/select.component.d.ts +5 -3
- package/components/form/select-multiple/public-api.d.ts +0 -1
- package/components/form/select-multiple/select-multiple.component.d.ts +29 -9
- package/components/form/spinner/public-api.d.ts +0 -1
- package/components/form/spinner/spinner.component.d.ts +4 -4
- package/components/form/textarea/public-api.d.ts +1 -1
- package/components/form/textarea/textarea-hint.component.d.ts +5 -0
- package/components/form/textarea/textarea.component.d.ts +14 -6
- package/components/form/time/public-api.d.ts +0 -1
- package/components/form/time/time.component.d.ts +4 -2
- package/components/form/toggle/public-api.d.ts +0 -1
- package/components/form/toggle/toggle.component.d.ts +1 -1
- package/components/global-alert/global-alert-actions.component.d.ts +8 -0
- package/components/global-alert/global-alert-header.component.d.ts +8 -0
- package/components/global-alert/global-alert.component.d.ts +21 -9
- package/components/global-alert/public-api.d.ts +2 -1
- package/components/grid/column/column.component.d.ts +6 -9
- package/components/grid/column/public-api.d.ts +0 -1
- package/components/grid/container/container.component.d.ts +4 -4
- package/components/grid/container/public-api.d.ts +0 -1
- package/components/grid/public-api.d.ts +0 -3
- package/components/grid/row/public-api.d.ts +0 -1
- package/components/grid/row/row.component.d.ts +6 -9
- package/components/grid-layout/grid-column/grid-column.component.d.ts +18 -0
- package/components/grid-layout/grid-column/index.d.ts +5 -0
- package/components/grid-layout/grid-column/public-api.d.ts +1 -0
- package/components/grid-layout/grid-container/grid-container.component.d.ts +10 -0
- package/components/grid-layout/grid-container/index.d.ts +5 -0
- package/components/grid-layout/grid-container/public-api.d.ts +1 -0
- package/components/grid-layout/grid-row/grid-row.component.d.ts +11 -0
- package/components/grid-layout/grid-row/index.d.ts +5 -0
- package/components/grid-layout/grid-row/public-api.d.ts +1 -0
- package/components/grid-layout/index.d.ts +5 -0
- package/components/grid-layout/public-api.d.ts +3 -0
- package/components/header-1177/avatar/header-1177-avatar-agent.component.d.ts +5 -0
- package/components/header-1177/avatar/header-1177-avatar.component.d.ts +14 -4
- package/components/header-1177/brand-link/header-1177-brand-link.directive.d.ts +5 -0
- package/components/header-1177/header-1177.component.d.ts +12 -15
- package/components/header-1177/header-1177.module.d.ts +19 -0
- package/components/header-1177/item/header-1177-item.component.d.ts +7 -4
- package/components/header-1177/menu-mobile/header-1177-menu-mobile.component.d.ts +6 -2
- package/components/header-1177/nav/header-1177-nav.component.d.ts +4 -18
- package/components/header-1177/nav-item/header-1177-nav-item.component.d.ts +18 -3
- package/components/header-1177/nav-item-menu-link/header-1177-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-1177/nav-item-mobile/header-1177-nav-item-mobile.component.d.ts +4 -3
- package/components/header-1177/public-api.d.ts +5 -0
- package/components/header-1177/region-picker/header-1177-region-picker.component.d.ts +11 -4
- package/components/header-1177/region-picker-mobile/header-1177-region-picker-mobile.component.d.ts +12 -5
- package/components/header-1177/skip-to-content/header-1177-skip-to-content.component.d.ts +5 -0
- package/components/header-1177-admin/avatar/header-1177-admin-avatar.component.d.ts +16 -4
- package/components/header-1177-admin/avatar-mobile/header-1177-admin-avatar-mobile.component.d.ts +18 -5
- package/components/header-1177-admin/brand-link/header-1177-admin-brand-link.directive.d.ts +5 -0
- package/components/header-1177-admin/header-1177-admin.component.d.ts +12 -20
- package/components/header-1177-admin/header-1177-admin.module.d.ts +17 -0
- package/components/header-1177-admin/item/header-1177-admin-item.component.d.ts +5 -3
- package/components/header-1177-admin/menu-mobile/header-1177-admin-menu-mobile.component.d.ts +6 -2
- package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +4 -12
- package/components/header-1177-admin/nav-item/header-1177-admin-nav-item.component.d.ts +20 -5
- package/components/header-1177-admin/nav-item-menu-link/header-1177-admin-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-1177-admin/nav-item-mobile/header-1177-admin-nav-item-mobile.d.ts +8 -0
- package/components/header-1177-admin/public-api.d.ts +5 -0
- package/components/header-1177-admin/skip-to-content/header-1177-admin-skip-to-content.component.d.ts +5 -0
- package/components/header-1177-pro/avatar/header-1177-pro-avatar.component.d.ts +18 -6
- package/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.d.ts +18 -5
- package/components/header-1177-pro/brand-link/header-1177-pro-brand-link.directive.d.ts +5 -0
- package/components/header-1177-pro/header-1177-pro.component.d.ts +10 -22
- package/components/header-1177-pro/header-1177-pro.module.d.ts +19 -0
- package/components/header-1177-pro/item/header-1177-pro-item.component.d.ts +5 -3
- package/components/header-1177-pro/menu-mobile/header-1177-pro-menu-mobile.component.d.ts +6 -3
- package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +4 -15
- package/components/header-1177-pro/nav-item/header-1177-pro-nav-item.component.d.ts +19 -5
- package/components/header-1177-pro/nav-item-menu-link/header-1177-pro-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-1177-pro/nav-item-mobile/header-1177-pro-nav-item-mobile.d.ts +8 -0
- package/components/header-1177-pro/public-api.d.ts +5 -0
- package/components/header-1177-pro/region-picker/header-1177-pro-region-picker.component.d.ts +11 -4
- package/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.d.ts +12 -5
- package/components/header-1177-pro/skip-to-content/header-1177-pro-skip-to-content.component.d.ts +5 -0
- package/components/header-inera/brand-link/header-inera-brand-link.directive.d.ts +5 -0
- package/components/header-inera/header-inera.component.d.ts +13 -16
- package/components/header-inera/header-inera.module.d.ts +14 -0
- package/components/header-inera/item/header-inera-item.component.d.ts +5 -3
- package/components/header-inera/menu-mobile/header-inera-menu-mobile.component.d.ts +5 -5
- package/components/header-inera/nav/header-inera-nav.component.d.ts +4 -9
- package/components/header-inera/nav-item/header-inera-nav-item.component.d.ts +25 -0
- package/components/header-inera/nav-item-menu-link/header-inera-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-inera/public-api.d.ts +5 -1
- package/components/header-inera/skip-to-content/header-inera-skip-to-content.component.d.ts +5 -0
- package/components/header-inera-admin/avatar/header-inera-admin-avatar.component.d.ts +18 -6
- package/components/header-inera-admin/avatar-mobile/header-inera-admin-avatar-mobile.component.d.ts +18 -5
- package/components/header-inera-admin/brand-link/header-inera-admin-brand-link.directive.d.ts +5 -0
- package/components/header-inera-admin/header-inera-admin.component.d.ts +16 -16
- package/components/header-inera-admin/header-inera-admin.module.d.ts +17 -0
- package/components/header-inera-admin/item/header-inera-admin-item.component.d.ts +7 -4
- package/components/header-inera-admin/menu-mobile/header-inera-admin-menu-mobile.component.d.ts +6 -3
- package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +4 -11
- package/components/header-inera-admin/nav-item/header-inera-admin-nav-item.component.d.ts +19 -5
- package/components/header-inera-admin/nav-item-menu-link/header-inera-admin-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-inera-admin/nav-item-mobile/header-inera-admin-nav-item-mobile.d.ts +8 -0
- package/components/header-inera-admin/public-api.d.ts +5 -0
- package/components/header-inera-admin/skip-to-content/header-inera-admin-skip-to-content.component.d.ts +5 -0
- package/components/header-patient/header-patient-actions.component.d.ts +5 -0
- package/components/header-patient/header-patient.component.d.ts +5 -5
- package/components/header-patient/public-api.d.ts +1 -1
- package/components/link/link.directive.d.ts +22 -0
- package/components/link/public-api.d.ts +1 -2
- package/components/mobile/menu/item/mobile-menu-item.component.d.ts +22 -4
- package/components/mobile/menu/item/public-api.d.ts +0 -1
- package/components/mobile/menu/mobile-menu.component.d.ts +5 -3
- package/components/mobile/menu/public-api.d.ts +0 -1
- package/components/navigation/content/navigation-content-link.component.d.ts +7 -0
- package/components/navigation/content/navigation-content.component.d.ts +6 -4
- package/components/navigation/content/public-api.d.ts +1 -1
- package/components/navigation/local/navigation-local-link.component.d.ts +7 -0
- package/components/navigation/local/navigation-local.component.d.ts +5 -3
- package/components/navigation/local/public-api.d.ts +1 -1
- package/components/{notification/badge → notification-badge}/index.d.ts +1 -1
- package/components/{notification/badge → notification-badge}/notification-badge.component.d.ts +4 -3
- package/components/{notification/badge → notification-badge}/public-api.d.ts +0 -1
- package/components/pagination/data-pagination/data-pagination-select.component.d.ts +5 -0
- package/components/pagination/data-pagination/data-pagination.component.d.ts +3 -3
- package/components/pagination/data-pagination/public-api.d.ts +1 -1
- package/components/pagination/list-pagination/list-pagination.component.d.ts +21 -15
- package/components/pagination/list-pagination/public-api.d.ts +0 -1
- package/components/popover/popover-close.component.d.ts +8 -0
- package/components/popover/popover-content.component.d.ts +17 -0
- package/components/popover/popover-header.component.d.ts +5 -0
- package/components/popover/popover-trigger.component.d.ts +5 -0
- package/components/popover/popover.component.d.ts +29 -9
- package/components/popover/popover.module.d.ts +5 -2
- package/components/popover/public-api.d.ts +5 -1
- package/components/progressbar/progressbar.component.d.ts +4 -4
- package/components/progressbar/public-api.d.ts +0 -1
- package/components/puff-list/public-api.d.ts +7 -4
- package/components/puff-list/puff-list-item-content-info.component.d.ts +5 -0
- package/components/puff-list/puff-list-item-content.component.d.ts +5 -0
- package/components/puff-list/puff-list-item-date-label.component.d.ts +5 -0
- package/components/puff-list/puff-list-item-extra-content.component.d.ts +5 -0
- package/components/puff-list/{puff-item/puff-header/puff-list-item-header.component.d.ts → puff-list-item-header.component.d.ts} +1 -3
- package/components/puff-list/puff-list-item.component.d.ts +12 -0
- package/components/puff-list/puff-list.component.d.ts +4 -1
- package/components/puff-list/puff-list.module.d.ts +7 -5
- package/components/region-icon/public-api.d.ts +0 -1
- package/components/region-icon/region-icon.component.d.ts +5 -3
- package/components/side-menu/public-api.d.ts +3 -1
- package/components/side-menu/side-menu-icon.component.d.ts +7 -0
- package/components/side-menu/side-menu-link.component.d.ts +5 -0
- package/components/side-menu/side-menu.component.d.ts +15 -7
- package/components/side-menu/side-menu.module.d.ts +3 -2
- package/components/side-panel/public-api.d.ts +3 -1
- package/components/side-panel/side-panel-footer.component.d.ts +5 -0
- package/components/side-panel/side-panel-provider.component.d.ts +9 -0
- package/components/side-panel/side-panel.component.d.ts +30 -12
- package/components/side-panel/side-panel.module.d.ts +3 -2
- package/components/stepper/public-api.d.ts +3 -2
- package/components/stepper/step-header.component.d.ts +5 -0
- package/components/stepper/step.component.d.ts +20 -0
- package/components/stepper/stepper.component.d.ts +6 -5
- package/components/stepper/stepper.module.d.ts +3 -3
- package/components/tabs/public-api.d.ts +2 -4
- package/components/tabs/tab-group.component.d.ts +21 -0
- package/components/tabs/tab.component.d.ts +14 -0
- package/components/tag/public-api.d.ts +1 -1
- package/components/tag/tag.component.d.ts +4 -5
- package/components/tag/tag.directive.d.ts +5 -0
- package/components/tooltip/public-api.d.ts +1 -0
- package/components/tooltip/tooltip-trigger.directive.d.ts +8 -0
- package/components/tooltip/tooltip.component.d.ts +18 -5
- package/components/tooltip/tooltip.module.d.ts +2 -2
- package/eslint/index.js +6 -0
- package/eslint/rules/no-old-components.js +39 -0
- package/eslint/rules/no-slots.js +254 -0
- package/esm2022/common/classes/form/IDErrorMessageBase.mjs +19 -0
- package/esm2022/common/classes/form/IDFormBase.mjs +119 -31
- package/esm2022/common/context/header-context.mjs +3 -0
- package/esm2022/common/directives/click-outside.directive.mjs +30 -0
- package/esm2022/common/public-api.mjs +8 -1
- package/esm2022/common/services/input-label-linker.service.mjs +26 -0
- package/esm2022/common/services/tooltip-category.service.mjs +16 -0
- package/esm2022/common/services/use-id.service.ts.mjs +19 -0
- package/esm2022/common/utilities/useEscKey.mjs +11 -0
- package/esm2022/components/accordion/accordion-header.component.mjs +25 -0
- package/esm2022/components/accordion/accordion.component.mjs +78 -25
- package/esm2022/components/accordion/public-api.mjs +2 -2
- package/esm2022/components/action-link/action-link.component.mjs +25 -5
- package/esm2022/components/action-link/public-api.mjs +2 -3
- package/esm2022/components/alert/alert-header.component.mjs +25 -0
- package/esm2022/components/alert/alert.component.mjs +93 -33
- package/esm2022/components/alert/public-api.mjs +2 -2
- package/esm2022/components/badge/badge.component.mjs +13 -6
- package/esm2022/components/badge/public-api.mjs +1 -2
- package/esm2022/components/box-link/box-link-button.component.mjs +25 -0
- package/esm2022/components/box-link/box-link.component.mjs +14 -6
- package/esm2022/components/box-link/public-api.mjs +2 -2
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +16 -7
- package/esm2022/components/breadcrumbs/crumb.component.mjs +10 -11
- package/esm2022/components/breadcrumbs/public-api.mjs +1 -2
- package/esm2022/components/button/button.directive.mjs +140 -0
- package/esm2022/components/button/public-api.mjs +2 -3
- package/esm2022/components/button-group/button-group.component.mjs +22 -6
- package/esm2022/components/button-group/public-api.mjs +1 -2
- package/esm2022/components/card/card-link.directive.mjs +17 -0
- package/esm2022/components/card/card.component.mjs +35 -20
- package/esm2022/components/card/public-api.mjs +2 -2
- package/esm2022/components/carousel/carousel-item/carousel-item.component.mjs +21 -9
- package/esm2022/components/carousel/carousel.component.mjs +62 -9
- package/esm2022/components/carousel/public-api.mjs +1 -2
- package/esm2022/components/date-label/date-label.component.mjs +105 -25
- package/esm2022/components/date-label/public-api.mjs +1 -2
- package/esm2022/components/dialog/dialog-close.component.mjs +24 -0
- package/esm2022/components/dialog/dialog-content.component.mjs +15 -0
- package/esm2022/components/dialog/dialog-footer.component.mjs +18 -0
- package/esm2022/components/dialog/dialog-header.component.mjs +15 -0
- package/esm2022/components/dialog/dialog-trigger.component.mjs +15 -0
- package/esm2022/components/dialog/dialog.component.mjs +134 -28
- package/esm2022/components/dialog/public-api.mjs +6 -2
- package/esm2022/components/dropdown/dropdown-item.directive.mjs +18 -0
- package/esm2022/components/dropdown/dropdown-trigger.component.mjs +16 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +83 -35
- package/esm2022/components/dropdown/dropdown.module.mjs +30 -0
- package/esm2022/components/dropdown/public-api.mjs +4 -2
- package/esm2022/components/footer-1177/footer-1177-col.component.mjs +42 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-text.component.mjs +29 -0
- package/esm2022/components/footer-1177/footer-1177.component.mjs +30 -16
- package/esm2022/components/footer-1177/footer-1177.module.mjs +45 -0
- package/esm2022/components/footer-1177/public-api.mjs +7 -1
- package/esm2022/components/footer-1177-admin/footer-1177-admin-col.component.mjs +42 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-text.component.mjs +29 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin.component.mjs +29 -14
- package/esm2022/components/footer-1177-admin/footer-1177-admin.module.mjs +45 -0
- package/esm2022/components/footer-1177-admin/public-api.mjs +7 -1
- package/esm2022/components/footer-1177-pro/footer-1177-pro-col.component.mjs +42 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-text.component.mjs +29 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro.component.mjs +29 -14
- package/esm2022/components/footer-1177-pro/footer-1177-pro.module.mjs +45 -0
- package/esm2022/components/footer-1177-pro/public-api.mjs +7 -1
- package/esm2022/components/footer-inera/footer-inera-col.component.mjs +42 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-text.component.mjs +29 -0
- package/esm2022/components/footer-inera/footer-inera.component.mjs +29 -14
- package/esm2022/components/footer-inera/footer-inera.module.mjs +45 -0
- package/esm2022/components/footer-inera/public-api.mjs +7 -1
- package/esm2022/components/footer-inera-admin/footer-inera-admin-col.component.mjs +46 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-text.component.mjs +29 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin.component.mjs +29 -14
- package/esm2022/components/footer-inera-admin/footer-inera-admin.module.mjs +45 -0
- package/esm2022/components/footer-inera-admin/public-api.mjs +8 -2
- package/esm2022/components/form/check-button/check-button.component.mjs +11 -8
- package/esm2022/components/form/check-button/public-api.mjs +1 -2
- package/esm2022/components/form/checkbox/checkbox.component.mjs +39 -19
- package/esm2022/components/form/checkbox/public-api.mjs +1 -2
- package/esm2022/components/form/checkbox-group/checkbox-group.component.mjs +34 -16
- package/esm2022/components/form/checkbox-group/public-api.mjs +1 -2
- package/esm2022/components/form/darkmode-toggle/darkmode-toggle.component.mjs +12 -0
- package/esm2022/components/form/darkmode-toggle/inera-ids-angular-components-form-darkmode-toggle.mjs +5 -0
- package/esm2022/components/form/darkmode-toggle/public-api.mjs +2 -0
- package/esm2022/components/form/error-message/error-message.component.mjs +40 -15
- package/esm2022/components/form/error-message/public-api.mjs +1 -2
- package/esm2022/components/form/input/input-hint.component.mjs +18 -0
- package/esm2022/components/form/input/input-icon.component.mjs +23 -0
- package/esm2022/components/form/input/input.component.mjs +35 -14
- package/esm2022/components/form/input/public-api.mjs +3 -2
- package/esm2022/components/form/radio/public-api.mjs +1 -2
- package/esm2022/components/form/radio/radio-group.component.mjs +44 -17
- package/esm2022/components/form/radio/radio.component.mjs +18 -8
- package/esm2022/components/form/radio-button/public-api.mjs +1 -2
- package/esm2022/components/form/radio-button/radio-button-group.component.mjs +35 -7
- package/esm2022/components/form/radio-button/radio-button.component.mjs +13 -5
- package/esm2022/components/form/range/public-api.mjs +1 -2
- package/esm2022/components/form/range/range.component.mjs +65 -8
- package/esm2022/components/form/select/public-api.mjs +1 -2
- package/esm2022/components/form/select/select.component.mjs +9 -5
- package/esm2022/components/form/select-multiple/public-api.mjs +1 -2
- package/esm2022/components/form/select-multiple/select-multiple.component.mjs +86 -23
- package/esm2022/components/form/spinner/public-api.mjs +1 -2
- package/esm2022/components/form/spinner/spinner.component.mjs +15 -11
- package/esm2022/components/form/textarea/public-api.mjs +2 -2
- package/esm2022/components/form/textarea/textarea-hint.component.mjs +18 -0
- package/esm2022/components/form/textarea/textarea.component.mjs +46 -14
- package/esm2022/components/form/time/public-api.mjs +1 -2
- package/esm2022/components/form/time/time.component.mjs +7 -4
- package/esm2022/components/form/toggle/public-api.mjs +1 -2
- package/esm2022/components/form/toggle/toggle.component.mjs +6 -4
- package/esm2022/components/global-alert/global-alert-actions.component.mjs +26 -0
- package/esm2022/components/global-alert/global-alert-header.component.mjs +26 -0
- package/esm2022/components/global-alert/global-alert.component.mjs +73 -23
- package/esm2022/components/global-alert/public-api.mjs +3 -2
- package/esm2022/components/grid/column/column.component.mjs +41 -23
- package/esm2022/components/grid/column/public-api.mjs +1 -2
- package/esm2022/components/grid/container/container.component.mjs +18 -9
- package/esm2022/components/grid/container/public-api.mjs +1 -2
- package/esm2022/components/grid/public-api.mjs +1 -4
- package/esm2022/components/grid/row/public-api.mjs +1 -2
- package/esm2022/components/grid/row/row.component.mjs +31 -19
- package/esm2022/components/grid-layout/grid-column/grid-column.component.mjs +72 -0
- package/esm2022/components/grid-layout/grid-column/inera-ids-angular-components-grid-layout-grid-column.mjs +5 -0
- package/esm2022/components/grid-layout/grid-column/public-api.mjs +2 -0
- package/esm2022/components/grid-layout/grid-container/grid-container.component.mjs +35 -0
- package/esm2022/components/grid-layout/grid-container/inera-ids-angular-components-grid-layout-grid-container.mjs +5 -0
- package/esm2022/components/grid-layout/grid-container/public-api.mjs +2 -0
- package/esm2022/components/grid-layout/grid-row/grid-row.component.mjs +43 -0
- package/esm2022/components/grid-layout/grid-row/inera-ids-angular-components-grid-layout-grid-row.mjs +5 -0
- package/esm2022/components/grid-layout/grid-row/public-api.mjs +2 -0
- package/esm2022/components/grid-layout/inera-ids-angular-components-grid-layout.mjs +5 -0
- package/esm2022/components/grid-layout/public-api.mjs +4 -0
- package/esm2022/components/header-1177/avatar/header-1177-avatar-agent.component.mjs +20 -0
- package/esm2022/components/header-1177/avatar/header-1177-avatar.component.mjs +102 -14
- package/esm2022/components/header-1177/brand-link/header-1177-brand-link.directive.mjs +17 -0
- package/esm2022/components/header-1177/header-1177.component.mjs +34 -42
- package/esm2022/components/header-1177/header-1177.module.mjs +80 -0
- package/esm2022/components/header-1177/item/header-1177-item.component.mjs +42 -11
- package/esm2022/components/header-1177/menu-mobile/header-1177-menu-mobile.component.mjs +50 -7
- package/esm2022/components/header-1177/nav/header-1177-nav.component.mjs +45 -57
- package/esm2022/components/header-1177/nav-item/header-1177-nav-item.component.mjs +141 -11
- package/esm2022/components/header-1177/nav-item-menu-link/header-1177-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-1177/nav-item-mobile/header-1177-nav-item-mobile.component.mjs +29 -8
- package/esm2022/components/header-1177/public-api.mjs +6 -1
- package/esm2022/components/header-1177/region-picker/header-1177-region-picker.component.mjs +69 -11
- package/esm2022/components/header-1177/region-picker-mobile/header-1177-region-picker-mobile.component.mjs +64 -12
- package/esm2022/components/header-1177/skip-to-content/header-1177-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-1177-admin/avatar/header-1177-admin-avatar.component.mjs +116 -13
- package/esm2022/components/header-1177-admin/avatar-mobile/header-1177-admin-avatar-mobile.component.mjs +113 -12
- package/esm2022/components/header-1177-admin/brand-link/header-1177-admin-brand-link.directive.mjs +17 -0
- package/esm2022/components/header-1177-admin/header-1177-admin.component.mjs +36 -54
- package/esm2022/components/header-1177-admin/header-1177-admin.module.mjs +70 -0
- package/esm2022/components/header-1177-admin/item/header-1177-admin-item.component.mjs +29 -8
- package/esm2022/components/header-1177-admin/menu-mobile/header-1177-admin-menu-mobile.component.mjs +58 -7
- package/esm2022/components/header-1177-admin/nav/header-1177-admin-nav.component.mjs +28 -37
- package/esm2022/components/header-1177-admin/nav-item/header-1177-admin-nav-item.component.mjs +143 -13
- package/esm2022/components/header-1177-admin/nav-item-menu-link/header-1177-admin-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-1177-admin/nav-item-mobile/header-1177-admin-nav-item-mobile.mjs +36 -0
- package/esm2022/components/header-1177-admin/public-api.mjs +6 -1
- package/esm2022/components/header-1177-admin/skip-to-content/header-1177-admin-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-1177-pro/avatar/header-1177-pro-avatar.component.mjs +118 -15
- package/esm2022/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.mjs +113 -12
- package/esm2022/components/header-1177-pro/brand-link/header-1177-pro-brand-link.directive.mjs +17 -0
- package/esm2022/components/header-1177-pro/header-1177-pro.component.mjs +32 -62
- package/esm2022/components/header-1177-pro/header-1177-pro.module.mjs +80 -0
- package/esm2022/components/header-1177-pro/item/header-1177-pro-item.component.mjs +29 -8
- package/esm2022/components/header-1177-pro/menu-mobile/header-1177-pro-menu-mobile.component.mjs +58 -8
- package/esm2022/components/header-1177-pro/nav/header-1177-pro-nav.component.mjs +25 -46
- package/esm2022/components/header-1177-pro/nav-item/header-1177-pro-nav-item.component.mjs +142 -15
- package/esm2022/components/header-1177-pro/nav-item-menu-link/header-1177-pro-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-1177-pro/nav-item-mobile/header-1177-pro-nav-item-mobile.mjs +36 -0
- package/esm2022/components/header-1177-pro/public-api.mjs +6 -1
- package/esm2022/components/header-1177-pro/region-picker/header-1177-pro-region-picker.component.mjs +69 -11
- package/esm2022/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.mjs +64 -12
- package/esm2022/components/header-1177-pro/skip-to-content/header-1177-pro-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-inera/brand-link/header-inera-brand-link.directive.mjs +14 -0
- package/esm2022/components/header-inera/header-inera.component.mjs +38 -45
- package/esm2022/components/header-inera/header-inera.module.mjs +55 -0
- package/esm2022/components/header-inera/item/header-inera-item.component.mjs +29 -8
- package/esm2022/components/header-inera/menu-mobile/header-inera-menu-mobile.component.mjs +64 -16
- package/esm2022/components/header-inera/nav/header-inera-nav.component.mjs +25 -31
- package/esm2022/components/header-inera/nav-item/header-inera-nav-item.component.mjs +154 -0
- package/esm2022/components/header-inera/nav-item-menu-link/header-inera-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-inera/public-api.mjs +6 -2
- package/esm2022/components/header-inera/skip-to-content/header-inera-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-inera-admin/avatar/header-inera-admin-avatar.component.mjs +118 -15
- package/esm2022/components/header-inera-admin/avatar-mobile/header-inera-admin-avatar-mobile.component.mjs +113 -12
- package/esm2022/components/header-inera-admin/brand-link/header-inera-admin-brand-link.directive.mjs +17 -0
- package/esm2022/components/header-inera-admin/header-inera-admin.component.mjs +45 -46
- package/esm2022/components/header-inera-admin/header-inera-admin.module.mjs +70 -0
- package/esm2022/components/header-inera-admin/item/header-inera-admin-item.component.mjs +34 -11
- package/esm2022/components/header-inera-admin/menu-mobile/header-inera-admin-menu-mobile.component.mjs +64 -8
- package/esm2022/components/header-inera-admin/nav/header-inera-admin-nav.component.mjs +24 -35
- package/esm2022/components/header-inera-admin/nav-item/header-inera-admin-nav-item.component.mjs +142 -15
- package/esm2022/components/header-inera-admin/nav-item-menu-link/header-inera-admin-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-inera-admin/nav-item-mobile/header-inera-admin-nav-item-mobile.mjs +36 -0
- package/esm2022/components/header-inera-admin/public-api.mjs +6 -1
- package/esm2022/components/header-inera-admin/skip-to-content/header-inera-admin-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-patient/header-patient-actions.component.mjs +22 -0
- package/esm2022/components/header-patient/header-patient.component.mjs +64 -13
- package/esm2022/components/header-patient/public-api.mjs +2 -2
- package/esm2022/components/link/link.directive.mjs +64 -0
- package/esm2022/components/link/public-api.mjs +2 -3
- package/esm2022/components/mobile/menu/item/mobile-menu-item.component.mjs +74 -8
- package/esm2022/components/mobile/menu/item/public-api.mjs +1 -2
- package/esm2022/components/mobile/menu/mobile-menu.component.mjs +32 -8
- package/esm2022/components/mobile/menu/public-api.mjs +1 -2
- package/esm2022/components/navigation/content/navigation-content-link.component.mjs +29 -0
- package/esm2022/components/navigation/content/navigation-content.component.mjs +15 -9
- package/esm2022/components/navigation/content/public-api.mjs +2 -2
- package/esm2022/components/navigation/local/navigation-local-link.component.mjs +27 -0
- package/esm2022/components/navigation/local/navigation-local.component.mjs +13 -7
- package/esm2022/components/navigation/local/public-api.mjs +2 -2
- package/esm2022/components/notification-badge/inera-ids-angular-components-notification-badge.mjs +5 -0
- package/esm2022/components/notification-badge/notification-badge.component.mjs +39 -0
- package/esm2022/components/notification-badge/public-api.mjs +2 -0
- package/esm2022/components/pagination/data-pagination/data-pagination-select.component.mjs +20 -0
- package/esm2022/components/pagination/data-pagination/data-pagination.component.mjs +61 -13
- package/esm2022/components/pagination/data-pagination/public-api.mjs +2 -2
- package/esm2022/components/pagination/list-pagination/list-pagination.component.mjs +168 -34
- package/esm2022/components/pagination/list-pagination/public-api.mjs +1 -2
- package/esm2022/components/popover/popover-close.component.mjs +24 -0
- package/esm2022/components/popover/popover-content.component.mjs +91 -0
- package/esm2022/components/popover/popover-header.component.mjs +18 -0
- package/esm2022/components/popover/popover-trigger.component.mjs +15 -0
- package/esm2022/components/popover/popover.component.mjs +139 -23
- package/esm2022/components/popover/popover.module.mjs +27 -9
- package/esm2022/components/popover/public-api.mjs +6 -2
- package/esm2022/components/progressbar/progressbar.component.mjs +11 -11
- package/esm2022/components/progressbar/public-api.mjs +1 -2
- package/esm2022/components/puff-list/public-api.mjs +8 -5
- package/esm2022/components/puff-list/puff-list-item-content-info.component.mjs +18 -0
- package/esm2022/components/puff-list/puff-list-item-content.component.mjs +15 -0
- package/esm2022/components/puff-list/puff-list-item-date-label.component.mjs +18 -0
- package/esm2022/components/puff-list/puff-list-item-extra-content.component.mjs +18 -0
- package/esm2022/components/puff-list/puff-list-item-header.component.mjs +18 -0
- package/esm2022/components/puff-list/puff-list-item.component.mjs +161 -0
- package/esm2022/components/puff-list/puff-list.component.mjs +33 -5
- package/esm2022/components/puff-list/puff-list.module.mjs +32 -18
- package/esm2022/components/region-icon/public-api.mjs +1 -2
- package/esm2022/components/region-icon/region-icon.component.mjs +31 -10
- package/esm2022/components/side-menu/public-api.mjs +4 -2
- package/esm2022/components/side-menu/side-menu-icon.component.mjs +24 -0
- package/esm2022/components/side-menu/side-menu-link.component.mjs +18 -0
- package/esm2022/components/side-menu/side-menu.component.mjs +190 -17
- package/esm2022/components/side-menu/side-menu.module.mjs +19 -7
- package/esm2022/components/side-panel/public-api.mjs +4 -2
- package/esm2022/components/side-panel/side-panel-footer.component.mjs +50 -0
- package/esm2022/components/side-panel/side-panel-provider.component.mjs +73 -0
- package/esm2022/components/side-panel/side-panel.component.mjs +176 -29
- package/esm2022/components/side-panel/side-panel.module.mjs +21 -8
- package/esm2022/components/stepper/public-api.mjs +4 -3
- package/esm2022/components/stepper/step-header.component.mjs +18 -0
- package/esm2022/components/stepper/step.component.mjs +133 -0
- package/esm2022/components/stepper/stepper.component.mjs +22 -9
- package/esm2022/components/stepper/stepper.module.mjs +14 -11
- package/esm2022/components/tabs/public-api.mjs +3 -5
- package/esm2022/components/tabs/tab-group.component.mjs +51 -0
- package/esm2022/components/tabs/tab.component.mjs +41 -0
- package/esm2022/components/tag/public-api.mjs +2 -2
- package/esm2022/components/tag/tag.component.mjs +13 -14
- package/esm2022/components/tag/tag.directive.mjs +17 -0
- package/esm2022/components/tooltip/public-api.mjs +2 -1
- package/esm2022/components/tooltip/tooltip-trigger.directive.mjs +18 -0
- package/esm2022/components/tooltip/tooltip.component.mjs +75 -9
- package/esm2022/components/tooltip/tooltip.module.mjs +12 -9
- package/fesm2022/inera-ids-angular-common.mjs +225 -30
- package/fesm2022/inera-ids-angular-common.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-accordion.mjs +100 -40
- package/fesm2022/inera-ids-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-action-link.mjs +23 -18
- package/fesm2022/inera-ids-angular-components-action-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-alert.mjs +115 -54
- package/fesm2022/inera-ids-angular-components-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-badge.mjs +13 -25
- package/fesm2022/inera-ids-angular-components-badge.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-box-link.mjs +36 -21
- package/fesm2022/inera-ids-angular-components-box-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +23 -42
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-button-group.mjs +22 -25
- package/fesm2022/inera-ids-angular-components-button-group.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-button.mjs +122 -71
- package/fesm2022/inera-ids-angular-components-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-card.mjs +45 -34
- package/fesm2022/inera-ids-angular-components-card.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-carousel.mjs +80 -39
- package/fesm2022/inera-ids-angular-components-carousel.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-date-label.mjs +105 -44
- package/fesm2022/inera-ids-angular-components-date-label.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dialog.mjs +204 -42
- package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dropdown.mjs +138 -60
- package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177.mjs +181 -16
- package/fesm2022/inera-ids-angular-components-footer-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +184 -14
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-check-button.mjs +10 -22
- package/fesm2022/inera-ids-angular-components-form-check-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs +34 -38
- package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-checkbox.mjs +38 -37
- package/fesm2022/inera-ids-angular-components-form-checkbox.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-darkmode-toggle.mjs +19 -0
- package/fesm2022/inera-ids-angular-components-form-darkmode-toggle.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-form-error-message.mjs +38 -32
- package/fesm2022/inera-ids-angular-components-form-error-message.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-input.mjs +66 -30
- package/fesm2022/inera-ids-angular-components-form-input.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-radio-button.mjs +46 -27
- package/fesm2022/inera-ids-angular-components-form-radio-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-radio.mjs +65 -55
- package/fesm2022/inera-ids-angular-components-form-radio.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-range.mjs +64 -26
- package/fesm2022/inera-ids-angular-components-form-range.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs +86 -46
- package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-select.mjs +8 -23
- package/fesm2022/inera-ids-angular-components-form-select.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-spinner.mjs +15 -30
- package/fesm2022/inera-ids-angular-components-form-spinner.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-textarea.mjs +56 -29
- package/fesm2022/inera-ids-angular-components-form-textarea.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-time.mjs +7 -23
- package/fesm2022/inera-ids-angular-components-form-time.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-toggle.mjs +6 -23
- package/fesm2022/inera-ids-angular-components-form-toggle.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-global-alert.mjs +118 -39
- package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid-column.mjs +41 -42
- package/fesm2022/inera-ids-angular-components-grid-column.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid-container.mjs +18 -28
- package/fesm2022/inera-ids-angular-components-grid-container.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-column.mjs +79 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-column.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-container.mjs +42 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-container.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-row.mjs +50 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-row.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-grid-layout.mjs +153 -0
- package/fesm2022/inera-ids-angular-components-grid-layout.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-grid-row.mjs +31 -38
- package/fesm2022/inera-ids-angular-components-grid-row.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid.mjs +86 -104
- package/fesm2022/inera-ids-angular-components-grid.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +673 -159
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +803 -197
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177.mjs +711 -181
- package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +672 -140
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera.mjs +388 -117
- package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-patient.mjs +79 -27
- package/fesm2022/inera-ids-angular-components-header-patient.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-link.mjs +49 -48
- package/fesm2022/inera-ids-angular-components-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs +74 -25
- package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-mobile-menu.mjs +107 -36
- package/fesm2022/inera-ids-angular-components-mobile-menu.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-navigation-content.mjs +41 -28
- package/fesm2022/inera-ids-angular-components-navigation-content.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-navigation-local.mjs +37 -22
- package/fesm2022/inera-ids-angular-components-navigation-local.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-notification-badge.mjs +30 -25
- package/fesm2022/inera-ids-angular-components-notification-badge.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-pagination-data-pagination.mjs +73 -23
- package/fesm2022/inera-ids-angular-components-pagination-data-pagination.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-pagination-list-pagination.mjs +168 -49
- package/fesm2022/inera-ids-angular-components-pagination-list-pagination.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-popover.mjs +297 -29
- package/fesm2022/inera-ids-angular-components-popover.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-progressbar.mjs +11 -30
- package/fesm2022/inera-ids-angular-components-progressbar.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-puff-list.mjs +277 -89
- package/fesm2022/inera-ids-angular-components-puff-list.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-region-icon.mjs +31 -25
- package/fesm2022/inera-ids-angular-components-region-icon.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-side-menu.mjs +243 -22
- package/fesm2022/inera-ids-angular-components-side-menu.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-side-panel.mjs +310 -35
- package/fesm2022/inera-ids-angular-components-side-panel.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-stepper.mjs +151 -40
- package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tabs.mjs +66 -97
- package/fesm2022/inera-ids-angular-components-tabs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tag.mjs +23 -28
- package/fesm2022/inera-ids-angular-components-tag.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tooltip.mjs +98 -15
- package/fesm2022/inera-ids-angular-components-tooltip.mjs.map +1 -1
- package/package.json +95 -60
- package/components/accordion/accordion.module.d.ts +0 -8
- package/components/action-link/action-link.module.d.ts +0 -8
- package/components/alert/alert.module.d.ts +0 -9
- package/components/badge/badge.module.d.ts +0 -8
- package/components/box-link/box-link.module.d.ts +0 -8
- package/components/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/components/button/button.component.d.ts +0 -25
- package/components/button/button.module.d.ts +0 -9
- package/components/button-group/button-group.module.d.ts +0 -8
- package/components/card/card.module.d.ts +0 -8
- package/components/carousel/carousel.module.d.ts +0 -9
- package/components/date-label/date-label.module.d.ts +0 -8
- package/components/dialog/dialog.module.d.ts +0 -8
- package/components/dropdown/dropdown-content.component.d.ts +0 -9
- package/components/form/check-button/check-button.module.d.ts +0 -8
- package/components/form/checkbox/checkbox.module.d.ts +0 -8
- package/components/form/checkbox-group/checkbox-group.module.d.ts +0 -10
- package/components/form/error-message/error-message.module.d.ts +0 -8
- package/components/form/input/input.module.d.ts +0 -9
- package/components/form/radio/radio.module.d.ts +0 -10
- package/components/form/radio-button/radio-button.module.d.ts +0 -10
- package/components/form/range/range.module.d.ts +0 -8
- package/components/form/select/select.module.d.ts +0 -8
- package/components/form/select-multiple/select-multiple.module.d.ts +0 -9
- package/components/form/spinner/spinner.module.d.ts +0 -8
- package/components/form/textarea/textarea.module.d.ts +0 -9
- package/components/form/time/time.module.d.ts +0 -8
- package/components/form/toggle/toggle.module.d.ts +0 -8
- package/components/global-alert/global-alert.module.d.ts +0 -9
- package/components/grid/column/column.module.d.ts +0 -8
- package/components/grid/container/container.module.d.ts +0 -8
- package/components/grid/row/row.module.d.ts +0 -8
- package/components/header-inera/nav/header-inera-nav-item.component.d.ts +0 -11
- package/components/header-patient/header-patient.module.d.ts +0 -8
- package/components/link/link.component.d.ts +0 -15
- package/components/link/link.module.d.ts +0 -9
- package/components/mobile/menu/item/mobile-menu-item.module.d.ts +0 -9
- package/components/mobile/menu/mobile-menu.module.d.ts +0 -10
- package/components/navigation/content/navigation-content.module.d.ts +0 -8
- package/components/navigation/local/navigation-local.module.d.ts +0 -8
- package/components/notification/badge/notification-badge.module.d.ts +0 -8
- package/components/pagination/data-pagination/data-pagination.module.d.ts +0 -8
- package/components/pagination/list-pagination/list-pagination.module.d.ts +0 -8
- package/components/progressbar/progressbar.module.d.ts +0 -8
- package/components/puff-list/puff-item/puff-info/puff-list-item-info.component.d.ts +0 -7
- package/components/puff-list/puff-item/puff-list-item.component.d.ts +0 -22
- package/components/region-icon/region-icon.module.d.ts +0 -8
- package/components/stepper/step/step.component.d.ts +0 -19
- package/components/tabs/panel/tab-panel.component.d.ts +0 -9
- package/components/tabs/tab/tab.component.d.ts +0 -11
- package/components/tabs/tabs.component.d.ts +0 -20
- package/components/tabs/tabs.module.d.ts +0 -11
- package/components/tag/tag.module.d.ts +0 -8
- package/esm2022/components/accordion/accordion.module.mjs +0 -18
- package/esm2022/components/action-link/action-link.module.mjs +0 -18
- package/esm2022/components/alert/alert.module.mjs +0 -24
- package/esm2022/components/badge/badge.module.mjs +0 -22
- package/esm2022/components/box-link/box-link.module.mjs +0 -18
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +0 -31
- package/esm2022/components/button/button.component.mjs +0 -68
- package/esm2022/components/button/button.module.mjs +0 -24
- package/esm2022/components/button-group/button-group.module.mjs +0 -22
- package/esm2022/components/card/card.module.mjs +0 -22
- package/esm2022/components/carousel/carousel.module.mjs +0 -27
- package/esm2022/components/date-label/date-label.module.mjs +0 -22
- package/esm2022/components/dialog/dialog.module.mjs +0 -22
- package/esm2022/components/dropdown/dropdown-content.component.mjs +0 -29
- package/esm2022/components/form/check-button/check-button.module.mjs +0 -18
- package/esm2022/components/form/checkbox/checkbox.module.mjs +0 -22
- package/esm2022/components/form/checkbox-group/checkbox-group.module.mjs +0 -25
- package/esm2022/components/form/error-message/error-message.module.mjs +0 -22
- package/esm2022/components/form/input/input.module.mjs +0 -24
- package/esm2022/components/form/radio/radio.module.mjs +0 -31
- package/esm2022/components/form/radio-button/radio-button.module.mjs +0 -21
- package/esm2022/components/form/range/range.module.mjs +0 -22
- package/esm2022/components/form/select/select.module.mjs +0 -22
- package/esm2022/components/form/select-multiple/select-multiple.module.mjs +0 -26
- package/esm2022/components/form/spinner/spinner.module.mjs +0 -22
- package/esm2022/components/form/textarea/textarea.module.mjs +0 -24
- package/esm2022/components/form/time/time.module.mjs +0 -22
- package/esm2022/components/form/toggle/toggle.module.mjs +0 -22
- package/esm2022/components/global-alert/global-alert.module.mjs +0 -20
- package/esm2022/components/grid/column/column.module.mjs +0 -22
- package/esm2022/components/grid/container/container.module.mjs +0 -22
- package/esm2022/components/grid/row/row.module.mjs +0 -22
- package/esm2022/components/header-inera/nav/header-inera-nav-item.component.mjs +0 -27
- package/esm2022/components/header-patient/header-patient.module.mjs +0 -22
- package/esm2022/components/link/link.component.mjs +0 -42
- package/esm2022/components/link/link.module.mjs +0 -24
- package/esm2022/components/mobile/menu/item/mobile-menu-item.module.mjs +0 -20
- package/esm2022/components/mobile/menu/mobile-menu.module.mjs +0 -21
- package/esm2022/components/navigation/content/navigation-content.module.mjs +0 -22
- package/esm2022/components/navigation/local/navigation-local.module.mjs +0 -18
- package/esm2022/components/notification/badge/inera-ids-angular-components-notification-badge.mjs +0 -5
- package/esm2022/components/notification/badge/notification-badge.component.mjs +0 -15
- package/esm2022/components/notification/badge/notification-badge.module.mjs +0 -22
- package/esm2022/components/notification/badge/public-api.mjs +0 -3
- package/esm2022/components/pagination/data-pagination/data-pagination.module.mjs +0 -18
- package/esm2022/components/pagination/list-pagination/list-pagination.module.mjs +0 -18
- package/esm2022/components/progressbar/progressbar.module.mjs +0 -22
- package/esm2022/components/puff-list/puff-item/puff-header/puff-list-item-header.component.mjs +0 -15
- package/esm2022/components/puff-list/puff-item/puff-info/puff-list-item-info.component.mjs +0 -15
- package/esm2022/components/puff-list/puff-item/puff-list-item.component.mjs +0 -60
- package/esm2022/components/region-icon/region-icon.module.mjs +0 -18
- package/esm2022/components/stepper/step/step.component.mjs +0 -52
- package/esm2022/components/tabs/panel/tab-panel.component.mjs +0 -21
- package/esm2022/components/tabs/tab/tab.component.mjs +0 -26
- package/esm2022/components/tabs/tabs.component.mjs +0 -50
- package/esm2022/components/tabs/tabs.module.mjs +0 -34
- package/esm2022/components/tag/tag.module.mjs +0 -22
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
import { Component,
|
|
2
|
-
import { IDHeaderIneraNavItemComponent } from "./header-inera-nav-item.component";
|
|
3
|
-
import { CommonModule } from "@angular/common";
|
|
1
|
+
import { Component, Input, ViewChild, booleanAttribute } from "@angular/core";
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
3
|
export class IDHeaderIneraNavComponent {
|
|
7
|
-
|
|
8
|
-
constructor(cdRef) {
|
|
9
|
-
this.cdRef = cdRef;
|
|
10
|
-
}
|
|
4
|
+
hideOnTablet = false;
|
|
11
5
|
template;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
updateNavItemsArray() {
|
|
21
|
-
setTimeout(() => {
|
|
22
|
-
this.navItems = this.navItemList.toArray();
|
|
23
|
-
this.cdRef.detectChanges();
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraNavComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: IDHeaderIneraNavComponent, isStandalone: true, selector: "id-header-inera-nav", queries: [{ propertyName: "navItemList", predicate: IDHeaderIneraNavItemComponent }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <ids-header-inera-nav-item\n *ngFor=\"let navItem of navItems\"\n [label]=\"navItem.label\"\n [notifications]=\"navItem.notifications\"\n [active]=\"navItem.active\"\n [expanded]=\"navItem.expanded\">\n <ng-container *ngTemplateOutlet=\"navItem.template\"></ng-container>\n </ids-header-inera-nav-item>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: IDHeaderIneraNavComponent, isStandalone: true, selector: "id-header-inera-nav", inputs: { hideOnTablet: ["hideOnTablet", "hideOnTablet", booleanAttribute] }, viewQueries: [{ propertyName: "template", first: true, predicate: ["nav"], descendants: true }], ngImport: i0, template: `
|
|
8
|
+
<ng-template #nav>
|
|
9
|
+
<div class="ids-header-inera-nav__nav-items">
|
|
10
|
+
<ng-content></ng-content>
|
|
11
|
+
</div>
|
|
12
|
+
</ng-template>`, isInline: true });
|
|
28
13
|
}
|
|
29
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraNavComponent, decorators: [{
|
|
30
15
|
type: Component,
|
|
31
|
-
args: [{
|
|
32
|
-
|
|
16
|
+
args: [{
|
|
17
|
+
selector: "id-header-inera-nav",
|
|
18
|
+
template: `
|
|
19
|
+
<ng-template #nav>
|
|
20
|
+
<div class="ids-header-inera-nav__nav-items">
|
|
21
|
+
<ng-content></ng-content>
|
|
22
|
+
</div>
|
|
23
|
+
</ng-template>`,
|
|
24
|
+
standalone: true
|
|
25
|
+
}]
|
|
26
|
+
}], propDecorators: { hideOnTablet: [{
|
|
27
|
+
type: Input,
|
|
28
|
+
args: [{ transform: booleanAttribute }]
|
|
29
|
+
}], template: [{
|
|
33
30
|
type: ViewChild,
|
|
34
|
-
args: [
|
|
35
|
-
}], navItemList: [{
|
|
36
|
-
type: ContentChildren,
|
|
37
|
-
args: [IDHeaderIneraNavItemComponent]
|
|
31
|
+
args: ['nav']
|
|
38
32
|
}] } });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLW5hdi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21wb25lbnRzL2hlYWRlci1pbmVyYS9uYXYvaGVhZGVyLWluZXJhLW5hdi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQWUsU0FBUyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVkzRixNQUFNLE9BQU8seUJBQXlCO0lBQ0ksWUFBWSxHQUFZLEtBQUssQ0FBQztJQUVwRCxRQUFRLENBQW1CO3dHQUhsQyx5QkFBeUI7NEZBQXpCLHlCQUF5QixnSEFDaEIsZ0JBQWdCLDhIQVQxQjs7Ozs7bUJBS087OzRGQUdOLHlCQUF5QjtrQkFWckMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUscUJBQXFCO29CQUMvQixRQUFRLEVBQUU7Ozs7O21CQUtPO29CQUNqQixVQUFVLEVBQUUsSUFBSTtpQkFDakI7OEJBRXlDLFlBQVk7c0JBQW5ELEtBQUs7dUJBQUMsRUFBRSxTQUFTLEVBQUUsZ0JBQWdCLEVBQUU7Z0JBRXBCLFFBQVE7c0JBQXpCLFNBQVM7dUJBQUMsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQsIFRlbXBsYXRlUmVmLCBWaWV3Q2hpbGQsIGJvb2xlYW5BdHRyaWJ1dGUgfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6IFwiaWQtaGVhZGVyLWluZXJhLW5hdlwiLFxuICB0ZW1wbGF0ZTogYFxuICAgIDxuZy10ZW1wbGF0ZSAjbmF2PlxuICAgICAgPGRpdiBjbGFzcz1cImlkcy1oZWFkZXItaW5lcmEtbmF2X19uYXYtaXRlbXNcIj4gICAgICBcbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgICAgPC9kaXY+XG4gICAgPC9uZy10ZW1wbGF0ZT5gLFxuICBzdGFuZGFsb25lOiB0cnVlXG59KVxuZXhwb3J0IGNsYXNzIElESGVhZGVySW5lcmFOYXZDb21wb25lbnQge1xuICBASW5wdXQoeyB0cmFuc2Zvcm06IGJvb2xlYW5BdHRyaWJ1dGUgfSkgaGlkZU9uVGFibGV0OiBib29sZWFuID0gZmFsc2U7XG5cbiAgQFZpZXdDaGlsZCgnbmF2JykgdGVtcGxhdGU6IFRlbXBsYXRlUmVmPGFueT47XG59XG4iXX0=
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import { Component, ContentChild, EventEmitter, Input, Output, booleanAttribute, inject } from "@angular/core";
|
|
3
|
+
import { ID_HEADER_CONTEXT, IDUseIdService, IDClickOutsideDirective, useEscapeKey } from "@inera/ids-angular/common";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class IDHeaderIneraNavItemComponent {
|
|
6
|
+
label;
|
|
7
|
+
active = false;
|
|
8
|
+
activeChange = new EventEmitter();
|
|
9
|
+
expanded = false;
|
|
10
|
+
expandedChange = new EventEmitter();
|
|
11
|
+
col1 = null;
|
|
12
|
+
col2 = null;
|
|
13
|
+
col3 = null;
|
|
14
|
+
col4 = null;
|
|
15
|
+
idService = inject(IDUseIdService);
|
|
16
|
+
contentId = this.idService.generateId('header-inera-nav-item');
|
|
17
|
+
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
18
|
+
constructor() {
|
|
19
|
+
useEscapeKey(() => this.closeItem(), () => this.expanded);
|
|
20
|
+
}
|
|
21
|
+
toggleExpansion() {
|
|
22
|
+
if (this.expanded) {
|
|
23
|
+
this.closeItem();
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
this.expandItem();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
expandItem() {
|
|
30
|
+
this.active = true;
|
|
31
|
+
this.expanded = true;
|
|
32
|
+
this.expandedChange.emit(true);
|
|
33
|
+
this.activeChange.emit(true);
|
|
34
|
+
}
|
|
35
|
+
closeItem() {
|
|
36
|
+
this.active = false;
|
|
37
|
+
this.expanded = false;
|
|
38
|
+
this.expandedChange.emit(false);
|
|
39
|
+
this.activeChange.emit(false);
|
|
40
|
+
}
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: IDHeaderIneraNavItemComponent, isStandalone: true, selector: "id-header-inera-nav-item", inputs: { label: "label", active: ["active", "active", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { activeChange: "activeChange", expandedChange: "expandedChange" }, host: { properties: { "class.ids-header-inera-nav-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-nav-item--active": "active", "attr.aria-current": "active", "class.ids-header-inera-nav-item--expanded": "expanded" }, classAttribute: "ids-header-inera-nav-item" }, queries: [{ propertyName: "col1", first: true, predicate: ["col1"], descendants: true }, { propertyName: "col2", first: true, predicate: ["col2"], descendants: true }, { propertyName: "col3", first: true, predicate: ["col3"], descendants: true }, { propertyName: "col4", first: true, predicate: ["col4"], descendants: true }], ngImport: i0, template: `
|
|
43
|
+
<div
|
|
44
|
+
idClickOutside
|
|
45
|
+
(idClickOutside)="closeItem()">
|
|
46
|
+
@if (this.label) {
|
|
47
|
+
<button
|
|
48
|
+
[attr.aria-controls]="contentId"
|
|
49
|
+
[attr.aria-expanded]="expanded"
|
|
50
|
+
class="ids-header-inera-nav-item__button"
|
|
51
|
+
(click)="toggleExpansion()">
|
|
52
|
+
{{label}}
|
|
53
|
+
</button>
|
|
54
|
+
} @else {
|
|
55
|
+
<span class="ids-header-inera-nav-item__link">
|
|
56
|
+
<ng-content select="[link]"></ng-content>
|
|
57
|
+
</span>
|
|
58
|
+
}
|
|
59
|
+
<div [attr.id]="contentId"
|
|
60
|
+
class="ids-header-inera-nav-item__menu"
|
|
61
|
+
[class.ids-header-inera-nav-item__menu--expanded]="expanded">
|
|
62
|
+
<div class="ids-header-inera-nav-item__menu-content">
|
|
63
|
+
<div class="ids-header-inera-nav-item__menu-col-1">
|
|
64
|
+
<ng-container *ngTemplateOutlet="col1"></ng-container>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="ids-header-inera-nav-item__menu-col-2">
|
|
67
|
+
<ng-container *ngTemplateOutlet="col2"></ng-container>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="ids-header-inera-nav-item__menu-col-3">
|
|
70
|
+
<ng-container *ngTemplateOutlet="col3"></ng-container>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="ids-header-inera-nav-item__menu-col-4">
|
|
73
|
+
<ng-container *ngTemplateOutlet="col4"></ng-container>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>`, isInline: true, dependencies: [{ kind: "directive", type: IDClickOutsideDirective, selector: "[idClickOutside]", outputs: ["idClickOutside"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
78
|
+
}
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraNavItemComponent, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{
|
|
82
|
+
selector: "id-header-inera-nav-item",
|
|
83
|
+
template: `
|
|
84
|
+
<div
|
|
85
|
+
idClickOutside
|
|
86
|
+
(idClickOutside)="closeItem()">
|
|
87
|
+
@if (this.label) {
|
|
88
|
+
<button
|
|
89
|
+
[attr.aria-controls]="contentId"
|
|
90
|
+
[attr.aria-expanded]="expanded"
|
|
91
|
+
class="ids-header-inera-nav-item__button"
|
|
92
|
+
(click)="toggleExpansion()">
|
|
93
|
+
{{label}}
|
|
94
|
+
</button>
|
|
95
|
+
} @else {
|
|
96
|
+
<span class="ids-header-inera-nav-item__link">
|
|
97
|
+
<ng-content select="[link]"></ng-content>
|
|
98
|
+
</span>
|
|
99
|
+
}
|
|
100
|
+
<div [attr.id]="contentId"
|
|
101
|
+
class="ids-header-inera-nav-item__menu"
|
|
102
|
+
[class.ids-header-inera-nav-item__menu--expanded]="expanded">
|
|
103
|
+
<div class="ids-header-inera-nav-item__menu-content">
|
|
104
|
+
<div class="ids-header-inera-nav-item__menu-col-1">
|
|
105
|
+
<ng-container *ngTemplateOutlet="col1"></ng-container>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="ids-header-inera-nav-item__menu-col-2">
|
|
108
|
+
<ng-container *ngTemplateOutlet="col2"></ng-container>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="ids-header-inera-nav-item__menu-col-3">
|
|
111
|
+
<ng-container *ngTemplateOutlet="col3"></ng-container>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="ids-header-inera-nav-item__menu-col-4">
|
|
114
|
+
<ng-container *ngTemplateOutlet="col4"></ng-container>
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
</div>`,
|
|
119
|
+
standalone: true,
|
|
120
|
+
imports: [IDClickOutsideDirective, NgTemplateOutlet],
|
|
121
|
+
host: {
|
|
122
|
+
class: 'ids-header-inera-nav-item',
|
|
123
|
+
'[class.ids-header-inera-nav-item--unresponsive]': 'header?.unresponsive',
|
|
124
|
+
'[class.ids-header-inera-nav-item--active]': 'active',
|
|
125
|
+
'[attr.aria-current]': 'active',
|
|
126
|
+
'[class.ids-header-inera-nav-item--expanded]': 'expanded'
|
|
127
|
+
}
|
|
128
|
+
}]
|
|
129
|
+
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
130
|
+
type: Input
|
|
131
|
+
}], active: [{
|
|
132
|
+
type: Input,
|
|
133
|
+
args: [{ transform: booleanAttribute }]
|
|
134
|
+
}], activeChange: [{
|
|
135
|
+
type: Output
|
|
136
|
+
}], expanded: [{
|
|
137
|
+
type: Input,
|
|
138
|
+
args: [{ transform: booleanAttribute }]
|
|
139
|
+
}], expandedChange: [{
|
|
140
|
+
type: Output
|
|
141
|
+
}], col1: [{
|
|
142
|
+
type: ContentChild,
|
|
143
|
+
args: ['col1']
|
|
144
|
+
}], col2: [{
|
|
145
|
+
type: ContentChild,
|
|
146
|
+
args: ['col2']
|
|
147
|
+
}], col3: [{
|
|
148
|
+
type: ContentChild,
|
|
149
|
+
args: ['col3']
|
|
150
|
+
}], col4: [{
|
|
151
|
+
type: ContentChild,
|
|
152
|
+
args: ['col4']
|
|
153
|
+
}] } });
|
|
154
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLW5hdi1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy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dmUgPSBmYWxzZTtcbiAgICB0aGlzLmV4cGFuZGVkID0gZmFsc2U7XG4gICAgdGhpcy5leHBhbmRlZENoYW5nZS5lbWl0KGZhbHNlKTtcbiAgICB0aGlzLmFjdGl2ZUNoYW5nZS5lbWl0KGZhbHNlKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component, } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDHeaderIneraNavItemMenuLinkComponent {
|
|
4
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraNavItemMenuLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: IDHeaderIneraNavItemMenuLinkComponent, isStandalone: true, selector: "id-header-inera-nav-item-menu-link", host: { classAttribute: "ids-header-inera-nav__menu-item-wrapper" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraNavItemMenuLinkComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: "id-header-inera-nav-item-menu-link",
|
|
11
|
+
template: `<ng-content></ng-content>`,
|
|
12
|
+
standalone: true,
|
|
13
|
+
host: {
|
|
14
|
+
class: 'ids-header-inera-nav__menu-item-wrapper'
|
|
15
|
+
}
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLW5hdi1pdGVtLW1lbnUtbGluay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21wb25lbnRzL2hlYWRlci1pbmVyYS9uYXYtaXRlbS1tZW51LWxpbmsvaGVhZGVyLWluZXJhLW5hdi1pdGVtLW1lbnUtbGluay5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsR0FDVixNQUFNLGVBQWUsQ0FBQzs7QUFVdkIsTUFBTSxPQUFPLHFDQUFxQzt3R0FBckMscUNBQXFDOzRGQUFyQyxxQ0FBcUMsbUtBTnRDLDJCQUEyQjs7NEZBTTFCLHFDQUFxQztrQkFSakQsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsb0NBQW9DO29CQUM5QyxRQUFRLEVBQUUsMkJBQTJCO29CQUNyQyxVQUFVLEVBQUUsSUFBSTtvQkFDaEIsSUFBSSxFQUFFO3dCQUNKLEtBQUssRUFBRSx5Q0FBeUM7cUJBQ2pEO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQ29tcG9uZW50LFxufSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6IFwiaWQtaGVhZGVyLWluZXJhLW5hdi1pdGVtLW1lbnUtbGlua1wiLFxuICB0ZW1wbGF0ZTogYDxuZy1jb250ZW50PjwvbmctY29udGVudD5gLFxuICBzdGFuZGFsb25lOiB0cnVlLFxuICBob3N0OiB7XG4gICAgY2xhc3M6ICdpZHMtaGVhZGVyLWluZXJhLW5hdl9fbWVudS1pdGVtLXdyYXBwZXInXG4gIH1cbn0pXG5leHBvcnQgY2xhc3MgSURIZWFkZXJJbmVyYU5hdkl0ZW1NZW51TGlua0NvbXBvbmVudCB7XG59XG4iXX0=
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
export { IDHeaderIneraModule } from "./header-inera.module";
|
|
1
2
|
export { IDHeaderIneraComponent } from "./header-inera.component";
|
|
2
3
|
export { IDHeaderIneraItemComponent } from "./item/header-inera-item.component";
|
|
3
4
|
export { IDHeaderIneraNavComponent } from "./nav/header-inera-nav.component";
|
|
4
|
-
export { IDHeaderIneraNavItemComponent } from "./nav/header-inera-nav-item.component";
|
|
5
|
+
export { IDHeaderIneraNavItemComponent } from "./nav-item/header-inera-nav-item.component";
|
|
5
6
|
export { IDHeaderIneraMenuMobileComponent } from "./menu-mobile/header-inera-menu-mobile.component";
|
|
6
|
-
|
|
7
|
+
export { IDHeaderIneraSkipToContent } from "./skip-to-content/header-inera-skip-to-content.component";
|
|
8
|
+
export { IDHeaderIneraNavItemMenuLinkComponent } from "./nav-item-menu-link/header-inera-nav-item-menu-link.component";
|
|
9
|
+
export { IDHeaderIneraBrandLinkDirective } from "./brand-link/header-inera-brand-link.directive";
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL2NvbXBvbmVudHMvaGVhZGVyLWluZXJhL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFNUQsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDbEUsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDaEYsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDN0UsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sNENBQTRDLENBQUM7QUFDM0YsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sa0RBQWtELENBQUM7QUFDcEcsT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l0ZW0tbWVudS1saW5rL2hlYWRlci1pbmVyYS1uYXYtaXRlbS1tZW51LWxpbmsuY29tcG9uZW50XCI7XG5cbmV4cG9ydCB7IElESGVhZGVySW5lcmFCcmFuZExpbmtEaXJlY3RpdmUgfSBmcm9tIFwiLi9icmFuZC1saW5rL2hlYWRlci1pbmVyYS1icmFuZC1saW5rLmRpcmVjdGl2ZVwiOyJdfQ==
|
package/esm2022/components/header-inera/skip-to-content/header-inera-skip-to-content.component.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDHeaderIneraSkipToContent {
|
|
4
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraSkipToContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: IDHeaderIneraSkipToContent, isStandalone: true, selector: "id-header-inera-skip-to-content", host: { classAttribute: "ids-header-inera__skip-to-content" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraSkipToContent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: "id-header-inera-skip-to-content",
|
|
11
|
+
template: `<ng-content></ng-content>`,
|
|
12
|
+
standalone: true,
|
|
13
|
+
host: {
|
|
14
|
+
class: 'ids-header-inera__skip-to-content'
|
|
15
|
+
}
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLXNraXAtdG8tY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21wb25lbnRzL2hlYWRlci1pbmVyYS9za2lwLXRvLWNvbnRlbnQvaGVhZGVyLWluZXJhLXNraXAtdG8tY29udGVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFVMUMsTUFBTSxPQUFPLDBCQUEwQjt3R0FBMUIsMEJBQTBCOzRGQUExQiwwQkFBMEIsMEpBTjNCLDJCQUEyQjs7NEZBTTFCLDBCQUEwQjtrQkFSdEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsaUNBQWlDO29CQUMzQyxRQUFRLEVBQUUsMkJBQTJCO29CQUNyQyxVQUFVLEVBQUUsSUFBSTtvQkFDaEIsSUFBSSxFQUFFO3dCQUNKLEtBQUssRUFBRSxtQ0FBbUM7cUJBQzNDO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiBcImlkLWhlYWRlci1pbmVyYS1za2lwLXRvLWNvbnRlbnRcIixcbiAgdGVtcGxhdGU6IGA8bmctY29udGVudD48L25nLWNvbnRlbnQ+YCxcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgaG9zdDoge1xuICAgIGNsYXNzOiAnaWRzLWhlYWRlci1pbmVyYV9fc2tpcC10by1jb250ZW50J1xuICB9XG59KVxuZXhwb3J0IGNsYXNzIElESGVhZGVySW5lcmFTa2lwVG9Db250ZW50IHt9XG4iXX0=
|
package/esm2022/components/header-inera-admin/avatar/header-inera-admin-avatar.component.mjs
CHANGED
|
@@ -1,27 +1,130 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, EventEmitter, Input, Output, booleanAttribute, inject } from "@angular/core";
|
|
2
|
+
import { ID_HEADER_CONTEXT, IDClickOutsideDirective, IDUseIdService, useEscapeKey } from "@inera/ids-angular/common";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export class IDHeaderIneraAdminAvatarComponent {
|
|
4
|
-
username
|
|
5
|
-
unit
|
|
6
|
-
expanded = false;
|
|
5
|
+
username;
|
|
6
|
+
unit;
|
|
7
7
|
persistent = false;
|
|
8
|
-
|
|
8
|
+
expanded = false;
|
|
9
|
+
expandedChange = new EventEmitter();
|
|
10
|
+
opened = new EventEmitter();
|
|
11
|
+
closed = new EventEmitter();
|
|
12
|
+
idService = inject(IDUseIdService);
|
|
13
|
+
contentId = this.idService.generateId('header-inera-admin-avatar');
|
|
14
|
+
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
15
|
+
constructor() {
|
|
16
|
+
useEscapeKey(() => this.handleCloseEvent(), () => this.expanded);
|
|
17
|
+
}
|
|
18
|
+
handleCloseEvent() {
|
|
19
|
+
if (!this.persistent) {
|
|
20
|
+
this.closeAvatar();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
closeAvatar() {
|
|
24
|
+
this.expanded = false;
|
|
25
|
+
this.expandedChange.emit(false);
|
|
26
|
+
this.closed.emit();
|
|
27
|
+
}
|
|
28
|
+
toggleAvatar() {
|
|
29
|
+
this.expanded = !this.expanded;
|
|
30
|
+
this.expandedChange.emit(this.expanded);
|
|
31
|
+
if (this.expanded) {
|
|
32
|
+
this.opened.emit();
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
this.closed.emit();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
9
38
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraAdminAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
39
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: IDHeaderIneraAdminAvatarComponent, isStandalone: true, selector: "id-header-inera-admin-avatar", inputs: { username: "username", unit: "unit", persistent: ["persistent", "persistent", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { expandedChange: "expandedChange", opened: "opened", closed: "closed" }, host: { properties: { "class.ids-header-inera-admin-avatar--unresponsive": "header?.unresponsive" }, classAttribute: "ids-header-inera-admin-avatar" }, ngImport: i0, template: `
|
|
40
|
+
<div class="ids-header-inera-admin-avatar__avatar"
|
|
41
|
+
idClickOutside
|
|
42
|
+
(idClickOutside)="handleCloseEvent()">
|
|
43
|
+
<div class="ids-header-inera-admin-avatar__menu-wrapper">
|
|
44
|
+
<button
|
|
45
|
+
(click)="toggleAvatar()"
|
|
46
|
+
[attr.aria-controls]="contentId"
|
|
47
|
+
class="ids-header-inera-admin-avatar__button"
|
|
48
|
+
[class.ids-header-inera-admin-avatar__button--expanded]="expanded"
|
|
49
|
+
[attr.aria-expanded]="expanded">
|
|
50
|
+
<div class="ids-header-inera-admin-avatar__name" [attr.title]="username">
|
|
51
|
+
{{username}}
|
|
52
|
+
@if(unit) {
|
|
53
|
+
<span class="ids-header-inera-admin-avatar__unit-separator">|</span>
|
|
54
|
+
<span [attr.title]="unit" class="ids-header-inera-admin-avatar__unit">{{unit}} </span>
|
|
55
|
+
}
|
|
56
|
+
</div>
|
|
57
|
+
</button>
|
|
58
|
+
@if(expanded){
|
|
59
|
+
<div [attr.id]="contentId"
|
|
60
|
+
class="ids-header-inera-admin-avatar__menu ids-header-inera-admin-avatar__menu--mobile-menu"
|
|
61
|
+
[class.ids-header-inera-admin-avatar__menu--expanded]="expanded">
|
|
62
|
+
<ng-content select="id-header-inera-admin-avatar-agent"></ng-content>
|
|
63
|
+
<div class="ids-header-inera-admin-avatar__menu-links">
|
|
64
|
+
<ng-content></ng-content>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
}
|
|
68
|
+
</div>
|
|
69
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: IDClickOutsideDirective, selector: "[idClickOutside]", outputs: ["idClickOutside"] }] });
|
|
11
70
|
}
|
|
12
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraAdminAvatarComponent, decorators: [{
|
|
13
72
|
type: Component,
|
|
14
|
-
args: [{
|
|
15
|
-
|
|
73
|
+
args: [{
|
|
74
|
+
selector: "id-header-inera-admin-avatar",
|
|
75
|
+
template: `
|
|
76
|
+
<div class="ids-header-inera-admin-avatar__avatar"
|
|
77
|
+
idClickOutside
|
|
78
|
+
(idClickOutside)="handleCloseEvent()">
|
|
79
|
+
<div class="ids-header-inera-admin-avatar__menu-wrapper">
|
|
80
|
+
<button
|
|
81
|
+
(click)="toggleAvatar()"
|
|
82
|
+
[attr.aria-controls]="contentId"
|
|
83
|
+
class="ids-header-inera-admin-avatar__button"
|
|
84
|
+
[class.ids-header-inera-admin-avatar__button--expanded]="expanded"
|
|
85
|
+
[attr.aria-expanded]="expanded">
|
|
86
|
+
<div class="ids-header-inera-admin-avatar__name" [attr.title]="username">
|
|
87
|
+
{{username}}
|
|
88
|
+
@if(unit) {
|
|
89
|
+
<span class="ids-header-inera-admin-avatar__unit-separator">|</span>
|
|
90
|
+
<span [attr.title]="unit" class="ids-header-inera-admin-avatar__unit">{{unit}} </span>
|
|
91
|
+
}
|
|
92
|
+
</div>
|
|
93
|
+
</button>
|
|
94
|
+
@if(expanded){
|
|
95
|
+
<div [attr.id]="contentId"
|
|
96
|
+
class="ids-header-inera-admin-avatar__menu ids-header-inera-admin-avatar__menu--mobile-menu"
|
|
97
|
+
[class.ids-header-inera-admin-avatar__menu--expanded]="expanded">
|
|
98
|
+
<ng-content select="id-header-inera-admin-avatar-agent"></ng-content>
|
|
99
|
+
<div class="ids-header-inera-admin-avatar__menu-links">
|
|
100
|
+
<ng-content></ng-content>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
}
|
|
104
|
+
</div>
|
|
105
|
+
`,
|
|
106
|
+
standalone: true,
|
|
107
|
+
imports: [IDClickOutsideDirective],
|
|
108
|
+
host: {
|
|
109
|
+
class: 'ids-header-inera-admin-avatar',
|
|
110
|
+
'[class.ids-header-inera-admin-avatar--unresponsive]': 'header?.unresponsive'
|
|
111
|
+
}
|
|
112
|
+
}]
|
|
113
|
+
}], ctorParameters: () => [], propDecorators: { username: [{
|
|
16
114
|
type: Input
|
|
17
115
|
}], unit: [{
|
|
18
116
|
type: Input
|
|
19
|
-
}], expanded: [{
|
|
20
|
-
type: Input
|
|
21
117
|
}], persistent: [{
|
|
22
|
-
type: Input
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
118
|
+
type: Input,
|
|
119
|
+
args: [{ transform: booleanAttribute }]
|
|
120
|
+
}], expanded: [{
|
|
121
|
+
type: Input,
|
|
122
|
+
args: [{ transform: booleanAttribute }]
|
|
123
|
+
}], expandedChange: [{
|
|
124
|
+
type: Output
|
|
125
|
+
}], opened: [{
|
|
126
|
+
type: Output
|
|
127
|
+
}], closed: [{
|
|
128
|
+
type: Output
|
|
26
129
|
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
130
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLWFkbWluLWF2YXRhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21wb25lbnRzL2hlYWRlci1pbmVyYS1hZG1pbi9hdmF0YXIvaGVhZGVyLWluZXJhLWFkbWluLWF2YXRhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQV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gICAgIHRoaXMub3BlbmVkLmVtaXQoKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5jbG9zZWQuZW1pdCgpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -1,24 +1,125 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, EventEmitter, Input, Output, booleanAttribute, inject } from "@angular/core";
|
|
2
|
+
import { ID_HEADER_CONTEXT, IDUseIdService, IDClickOutsideDirective, useEscapeKey } from "@inera/ids-angular/common";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export class IDHeaderIneraAdminAvatarMobileComponent {
|
|
4
|
-
username
|
|
5
|
-
unit
|
|
5
|
+
username;
|
|
6
|
+
unit;
|
|
6
7
|
expanded = false;
|
|
7
|
-
|
|
8
|
+
persistent = false;
|
|
9
|
+
expandedChange = new EventEmitter();
|
|
10
|
+
opened = new EventEmitter();
|
|
11
|
+
closed = new EventEmitter();
|
|
12
|
+
idService = inject(IDUseIdService);
|
|
13
|
+
contentId = this.idService.generateId('header-inera-admin-avatar');
|
|
14
|
+
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
15
|
+
constructor() {
|
|
16
|
+
useEscapeKey(() => this.handleCloseEvent(), () => this.expanded);
|
|
17
|
+
}
|
|
18
|
+
handleCloseEvent() {
|
|
19
|
+
if (!this.persistent) {
|
|
20
|
+
this.closeAvatar();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
closeAvatar() {
|
|
24
|
+
this.expanded = false;
|
|
25
|
+
this.expandedChange.emit(false);
|
|
26
|
+
this.closed.emit();
|
|
27
|
+
}
|
|
28
|
+
toggleAvatar() {
|
|
29
|
+
this.expanded = !this.expanded;
|
|
30
|
+
this.expandedChange.emit(this.expanded);
|
|
31
|
+
if (this.expanded) {
|
|
32
|
+
this.opened.emit();
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
this.closed.emit();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
8
38
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraAdminAvatarMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
39
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: IDHeaderIneraAdminAvatarMobileComponent, isStandalone: true, selector: "id-header-inera-admin-avatar-mobile", inputs: { username: "username", unit: "unit", expanded: ["expanded", "expanded", booleanAttribute], persistent: ["persistent", "persistent", booleanAttribute] }, outputs: { expandedChange: "expandedChange", opened: "opened", closed: "closed" }, host: { classAttribute: "ids-header-inera-admin-avatar-mobile" }, ngImport: i0, template: `
|
|
40
|
+
<div class="ids-header-inera-admin-avatar-mobile__menu-wrapper"
|
|
41
|
+
idClickOutside
|
|
42
|
+
(idClickOutside)="handleCloseEvent()">
|
|
43
|
+
<button
|
|
44
|
+
class="ids-header-inera-admin-avatar-mobile__button"
|
|
45
|
+
(click)="toggleAvatar()"
|
|
46
|
+
[attr.aria-controls]="contentId"
|
|
47
|
+
[class.ids-header-inera-admin-avatar-mobile__button--expanded]="expanded"
|
|
48
|
+
[attr.aria-expanded]="expanded">
|
|
49
|
+
<div
|
|
50
|
+
class="ids-header-inera-admin-avatar-mobile-content__name"
|
|
51
|
+
[attr.title]="username">
|
|
52
|
+
{{username}}
|
|
53
|
+
</div>
|
|
54
|
+
</button>
|
|
55
|
+
<div
|
|
56
|
+
class="ids-header-inera-admin-avatar-mobile__menu"
|
|
57
|
+
[attr.id]="contentId"
|
|
58
|
+
[class.ids-header-inera-admin-avatar-mobile__menu--expanded]="expanded">
|
|
59
|
+
@if(unit) {
|
|
60
|
+
<div class="ids-header-inera-admin-avatar-mobile__unit">{{unit}}</div>
|
|
61
|
+
}
|
|
62
|
+
<div class="ids-header-inera-admin-avatar-mobile__menu-links">
|
|
63
|
+
<ng-content></ng-content>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: IDClickOutsideDirective, selector: "[idClickOutside]", outputs: ["idClickOutside"] }] });
|
|
10
68
|
}
|
|
11
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraAdminAvatarMobileComponent, decorators: [{
|
|
12
70
|
type: Component,
|
|
13
|
-
args: [{
|
|
14
|
-
|
|
71
|
+
args: [{
|
|
72
|
+
selector: "id-header-inera-admin-avatar-mobile",
|
|
73
|
+
template: `
|
|
74
|
+
<div class="ids-header-inera-admin-avatar-mobile__menu-wrapper"
|
|
75
|
+
idClickOutside
|
|
76
|
+
(idClickOutside)="handleCloseEvent()">
|
|
77
|
+
<button
|
|
78
|
+
class="ids-header-inera-admin-avatar-mobile__button"
|
|
79
|
+
(click)="toggleAvatar()"
|
|
80
|
+
[attr.aria-controls]="contentId"
|
|
81
|
+
[class.ids-header-inera-admin-avatar-mobile__button--expanded]="expanded"
|
|
82
|
+
[attr.aria-expanded]="expanded">
|
|
83
|
+
<div
|
|
84
|
+
class="ids-header-inera-admin-avatar-mobile-content__name"
|
|
85
|
+
[attr.title]="username">
|
|
86
|
+
{{username}}
|
|
87
|
+
</div>
|
|
88
|
+
</button>
|
|
89
|
+
<div
|
|
90
|
+
class="ids-header-inera-admin-avatar-mobile__menu"
|
|
91
|
+
[attr.id]="contentId"
|
|
92
|
+
[class.ids-header-inera-admin-avatar-mobile__menu--expanded]="expanded">
|
|
93
|
+
@if(unit) {
|
|
94
|
+
<div class="ids-header-inera-admin-avatar-mobile__unit">{{unit}}</div>
|
|
95
|
+
}
|
|
96
|
+
<div class="ids-header-inera-admin-avatar-mobile__menu-links">
|
|
97
|
+
<ng-content></ng-content>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
`,
|
|
102
|
+
standalone: true,
|
|
103
|
+
imports: [IDClickOutsideDirective],
|
|
104
|
+
host: {
|
|
105
|
+
class: 'ids-header-inera-admin-avatar-mobile'
|
|
106
|
+
}
|
|
107
|
+
}]
|
|
108
|
+
}], ctorParameters: () => [], propDecorators: { username: [{
|
|
15
109
|
type: Input
|
|
16
110
|
}], unit: [{
|
|
17
111
|
type: Input
|
|
18
112
|
}], expanded: [{
|
|
19
|
-
type: Input
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
113
|
+
type: Input,
|
|
114
|
+
args: [{ transform: booleanAttribute }]
|
|
115
|
+
}], persistent: [{
|
|
116
|
+
type: Input,
|
|
117
|
+
args: [{ transform: booleanAttribute }]
|
|
118
|
+
}], expandedChange: [{
|
|
119
|
+
type: Output
|
|
120
|
+
}], opened: [{
|
|
121
|
+
type: Output
|
|
122
|
+
}], closed: [{
|
|
123
|
+
type: Output
|
|
23
124
|
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
125
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLWFkbWluLWF2YXRhci1tb2JpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaWRzLWFuZ3VsYXIvY29tcG9uZW50cy9oZWFkZXItaW5lcmEtYWRtaW4vYXZhdGFyLW1vYmlsZS9oZWFkZXItaW5lcmEtYWRtaW4tYXZhdGFyLW1vYmlsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakcsT0FBTyxFQUFFLGlCQUFpQixFQUFtQixjQUFjLEVBQUUsdUJ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