@inera/ids-angular 8.2.0 → 9.0.1
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 +82 -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 +137 -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 +105 -70
- 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
package/esm2022/components/header-1177-pro/region-picker/header-1177-pro-region-picker.component.mjs
CHANGED
|
@@ -1,27 +1,85 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, ContentChild, EventEmitter, Input, Output, TemplateRef, ViewChild, booleanAttribute } from "@angular/core";
|
|
2
|
+
import { IDRegionIconComponent } from "@inera/ids-angular/components/region-icon";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export class IDHeader1177ProRegionPickerComponent {
|
|
4
|
-
text =
|
|
5
|
-
mobile = false;
|
|
5
|
+
text = "Välj region";
|
|
6
6
|
expanded = false;
|
|
7
|
-
|
|
7
|
+
regionSelected = false;
|
|
8
|
+
expandedChange = new EventEmitter();
|
|
9
|
+
opened = new EventEmitter();
|
|
10
|
+
closed = new EventEmitter();
|
|
11
|
+
regionIcon;
|
|
8
12
|
template;
|
|
13
|
+
toggleRegion() {
|
|
14
|
+
this.expanded = !this.expanded;
|
|
15
|
+
this.expandedChange.emit(this.expanded);
|
|
16
|
+
if (this.expanded) {
|
|
17
|
+
this.opened.emit();
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
this.closed.emit();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
9
23
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeader1177ProRegionPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
24
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: IDHeader1177ProRegionPickerComponent, isStandalone: true, selector: "id-header-1177-pro-region-picker", inputs: { text: "text", expanded: ["expanded", "expanded", booleanAttribute], regionSelected: ["regionSelected", "regionSelected", booleanAttribute] }, outputs: { expandedChange: "expandedChange", opened: "opened", closed: "closed" }, host: { classAttribute: "ids-header-1177__region-picker" }, queries: [{ propertyName: "regionIcon", first: true, predicate: IDRegionIconComponent, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: `
|
|
25
|
+
<div class="ids-header-1177-pro-region-picker"
|
|
26
|
+
[class.ids-header-1177-pro-region-picker--selected-region]="regionIcon || regionSelected">
|
|
27
|
+
<div class="ids-header-1177-pro-region-picker__region-icon">
|
|
28
|
+
<ng-content></ng-content>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="ids-header-1177-pro-region-picker__selector">
|
|
31
|
+
<button
|
|
32
|
+
(click)="toggleRegion()"
|
|
33
|
+
class="ids-header-1177-pro-region-picker__button"
|
|
34
|
+
[class.ids-header-1177-pro-region-picker__button--expanded]="expanded">
|
|
35
|
+
{{text}}
|
|
36
|
+
</button>
|
|
37
|
+
</div>
|
|
38
|
+
</div>`, isInline: true });
|
|
11
39
|
}
|
|
12
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeader1177ProRegionPickerComponent, decorators: [{
|
|
13
41
|
type: Component,
|
|
14
|
-
args: [{
|
|
42
|
+
args: [{
|
|
43
|
+
selector: "id-header-1177-pro-region-picker",
|
|
44
|
+
template: `
|
|
45
|
+
<div class="ids-header-1177-pro-region-picker"
|
|
46
|
+
[class.ids-header-1177-pro-region-picker--selected-region]="regionIcon || regionSelected">
|
|
47
|
+
<div class="ids-header-1177-pro-region-picker__region-icon">
|
|
48
|
+
<ng-content></ng-content>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="ids-header-1177-pro-region-picker__selector">
|
|
51
|
+
<button
|
|
52
|
+
(click)="toggleRegion()"
|
|
53
|
+
class="ids-header-1177-pro-region-picker__button"
|
|
54
|
+
[class.ids-header-1177-pro-region-picker__button--expanded]="expanded">
|
|
55
|
+
{{text}}
|
|
56
|
+
</button>
|
|
57
|
+
</div>
|
|
58
|
+
</div>`,
|
|
59
|
+
standalone: true,
|
|
60
|
+
host: {
|
|
61
|
+
class: 'ids-header-1177__region-picker'
|
|
62
|
+
}
|
|
63
|
+
}]
|
|
15
64
|
}], propDecorators: { text: [{
|
|
16
65
|
type: Input
|
|
17
|
-
}], mobile: [{
|
|
18
|
-
type: Input
|
|
19
66
|
}], expanded: [{
|
|
20
|
-
type: Input
|
|
21
|
-
|
|
67
|
+
type: Input,
|
|
68
|
+
args: [{ transform: booleanAttribute }]
|
|
69
|
+
}], regionSelected: [{
|
|
70
|
+
type: Input,
|
|
71
|
+
args: [{ transform: booleanAttribute }]
|
|
72
|
+
}], expandedChange: [{
|
|
73
|
+
type: Output
|
|
74
|
+
}], opened: [{
|
|
75
|
+
type: Output
|
|
76
|
+
}], closed: [{
|
|
22
77
|
type: Output
|
|
78
|
+
}], regionIcon: [{
|
|
79
|
+
type: ContentChild,
|
|
80
|
+
args: [IDRegionIconComponent]
|
|
23
81
|
}], template: [{
|
|
24
82
|
type: ViewChild,
|
|
25
83
|
args: [TemplateRef]
|
|
26
84
|
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLTExNzctcHJvLXJlZ2lvbi1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaWRzLWFuZ3VsYXIvY29tcG9uZW50cy9oZWFkZXItMTE3Ny1wcm8vcmVnaW9uLXBpY2tlci9oZWFkZXItMTE3Ny1wcm8tcmVnaW9uLXBpY2tlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYX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WJ1dGUgfSkgZXhwYW5kZWQ6IGJvb2xlYW4gPSBmYWxzZTtcbiAgQElucHV0KHsgdHJhbnNmb3JtOiBib29sZWFuQXR0cmlidXRlIH0pIHJlZ2lvblNlbGVjdGVkOiBib29sZWFuID0gZmFsc2U7XG4gIFxuICBAT3V0cHV0KCkgZXhwYW5kZWRDaGFuZ2U6IEV2ZW50RW1pdHRlcjxib29sZWFuPiA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgQE91dHB1dCgpIG9wZW5lZDogRXZlbnRFbWl0dGVyPHZvaWQ+ID0gbmV3IEV2ZW50RW1pdHRlcigpO1xuICBAT3V0cHV0KCkgY2xvc2VkOiBFdmVudEVtaXR0ZXI8dm9pZD4gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG5cbiAgQENvbnRlbnRDaGlsZChJRFJlZ2lvbkljb25Db21wb25lbnQpXG4gIHJlZ2lvbkljb246IElEUmVnaW9uSWNvbkNvbXBvbmVudDtcbiAgQFZpZXdDaGlsZChUZW1wbGF0ZVJlZikgdGVtcGxhdGU6IFRlbXBsYXRlUmVmPGFueT47XG5cbiAgdG9nZ2xlUmVnaW9uKCkge1xuICAgIHRoaXMuZXhwYW5kZWQgPSAhdGhpcy5leHBhbmRlZDtcbiAgICB0aGlzLmV4cGFuZGVkQ2hhbmdlLmVtaXQodGhpcy5leHBhbmRlZCk7XG4gICAgaWYodGhpcy5leHBhbmRlZCkge1xuICAgICAgdGhpcy5vcGVuZWQuZW1pdCgpO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLmNsb3NlZC5lbWl0KCk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,24 +1,76 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, ContentChild, EventEmitter, Input, Output, booleanAttribute } from "@angular/core";
|
|
2
|
+
import { IDRegionIconComponent } from "@inera/ids-angular/components/region-icon";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export class IDHeader1177ProRegionPickerMobileComponent {
|
|
4
|
-
text =
|
|
5
|
+
text = "Välj region";
|
|
5
6
|
expanded = false;
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
regionSelected = false;
|
|
8
|
+
regionIcon;
|
|
9
|
+
expandedChange = new EventEmitter();
|
|
10
|
+
opened = new EventEmitter();
|
|
11
|
+
closed = new EventEmitter();
|
|
12
|
+
toggleExpansion() {
|
|
13
|
+
this.expanded = !this.expanded;
|
|
14
|
+
this.expandedChange.emit(this.expanded);
|
|
15
|
+
if (this.expanded) {
|
|
16
|
+
this.opened.emit();
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
this.closed.emit();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
8
22
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeader1177ProRegionPickerMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: IDHeader1177ProRegionPickerMobileComponent, isStandalone: true, selector: "id-header-1177-pro-region-picker-mobile", inputs: { text: "text", expanded: ["expanded", "expanded", booleanAttribute], regionSelected: ["regionSelected", "regionSelected", booleanAttribute] }, outputs: { expandedChange: "expandedChange", opened: "opened", closed: "closed" }, queries: [{ propertyName: "regionIcon", first: true, predicate: IDRegionIconComponent, descendants: true }], ngImport: i0, template: `
|
|
24
|
+
<div class="ids-header-1177-pro-region-picker-mobile"
|
|
25
|
+
[class.ids-header-1177-pro-region-picker-mobile--selected-region]="regionIcon || regionSelected">
|
|
26
|
+
<button
|
|
27
|
+
(click)="toggleExpansion()"
|
|
28
|
+
class="ids-header-1177-pro-region-picker-mobile__button"
|
|
29
|
+
[class.ids-header-1177-pro-region-picker-mobile__button--expanded]="expanded"
|
|
30
|
+
[attr.aria-label]="text">
|
|
31
|
+
<div class="ids-header-1177-pro-region-picker-mobile__region-icon">
|
|
32
|
+
<ng-content></ng-content>
|
|
33
|
+
</div>
|
|
34
|
+
<span class="ids-header-1177-pro-region-picker-mobile__button-text"> {{text}}</span>
|
|
35
|
+
</button>
|
|
36
|
+
</div>`, isInline: true });
|
|
10
37
|
}
|
|
11
38
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeader1177ProRegionPickerMobileComponent, decorators: [{
|
|
12
39
|
type: Component,
|
|
13
|
-
args: [{
|
|
40
|
+
args: [{
|
|
41
|
+
selector: "id-header-1177-pro-region-picker-mobile",
|
|
42
|
+
template: `
|
|
43
|
+
<div class="ids-header-1177-pro-region-picker-mobile"
|
|
44
|
+
[class.ids-header-1177-pro-region-picker-mobile--selected-region]="regionIcon || regionSelected">
|
|
45
|
+
<button
|
|
46
|
+
(click)="toggleExpansion()"
|
|
47
|
+
class="ids-header-1177-pro-region-picker-mobile__button"
|
|
48
|
+
[class.ids-header-1177-pro-region-picker-mobile__button--expanded]="expanded"
|
|
49
|
+
[attr.aria-label]="text">
|
|
50
|
+
<div class="ids-header-1177-pro-region-picker-mobile__region-icon">
|
|
51
|
+
<ng-content></ng-content>
|
|
52
|
+
</div>
|
|
53
|
+
<span class="ids-header-1177-pro-region-picker-mobile__button-text"> {{text}}</span>
|
|
54
|
+
</button>
|
|
55
|
+
</div>`,
|
|
56
|
+
standalone: true
|
|
57
|
+
}]
|
|
14
58
|
}], propDecorators: { text: [{
|
|
15
59
|
type: Input
|
|
16
60
|
}], expanded: [{
|
|
17
|
-
type: Input
|
|
18
|
-
|
|
61
|
+
type: Input,
|
|
62
|
+
args: [{ transform: booleanAttribute }]
|
|
63
|
+
}], regionSelected: [{
|
|
64
|
+
type: Input,
|
|
65
|
+
args: [{ transform: booleanAttribute }]
|
|
66
|
+
}], regionIcon: [{
|
|
67
|
+
type: ContentChild,
|
|
68
|
+
args: [IDRegionIconComponent]
|
|
69
|
+
}], expandedChange: [{
|
|
70
|
+
type: Output
|
|
71
|
+
}], opened: [{
|
|
72
|
+
type: Output
|
|
73
|
+
}], closed: [{
|
|
19
74
|
type: Output
|
|
20
|
-
}], template: [{
|
|
21
|
-
type: ViewChild,
|
|
22
|
-
args: [TemplateRef]
|
|
23
75
|
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLTExNzctcHJvLXJlZ2lvbi1waWNrZXItbW9iaWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL2NvbXBvbmVudHMvaGVhZGVyLTExNzctcHJvL3JlZ2lvbi1waWNrZXItbW9iaWxlL2hlYWRlci0xMTc3LXByby1yZWdpb24tcGlja2VyLW1vYmlsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkcsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7O0FBb0JsRixNQUFNLE9BQU8sMENBQTBDO0lBQzVDLElBQUksR0FBVyxhQUFhLENBQUM7SUFDRSxRQUFRLEdBQVksS0FBSyxDQUFDO0lBQzFCLGNBQWMsR0FBWSxLQUFLLENBQUM7SUFHeEUsVUFBVSxDQUF3QjtJQUV4QixjQUFjLEdBQTBCLElBQUksWUFBWSxFQUFFLENBQUM7SUFDM0QsTUFBTSxHQUF1QixJQUFJLFlBQVksRUFBRSxDQUFDO0lBQ2hELE1BQU0sR0FBdUIsSUFBSSxZQUFZLEV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ZW1pdCgpO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLmNsb3NlZC5lbWl0KCk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDHeader1177ProSkipToContent {
|
|
4
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeader1177ProSkipToContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: IDHeader1177ProSkipToContent, isStandalone: true, selector: "id-header-1177-pro-skip-to-content", host: { classAttribute: "ids-header-1177-pro__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: IDHeader1177ProSkipToContent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: "id-header-1177-pro-skip-to-content",
|
|
11
|
+
template: `<ng-content></ng-content>`,
|
|
12
|
+
standalone: true,
|
|
13
|
+
host: {
|
|
14
|
+
class: 'ids-header-1177-pro__skip-to-content'
|
|
15
|
+
}
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLTExNzctcHJvLXNraXAtdG8tY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21wb25lbnRzL2hlYWRlci0xMTc3LXByby9za2lwLXRvLWNvbnRlbnQvaGVhZGVyLTExNzctcHJvLXNraXAtdG8tY29udGVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFVMUMsTUFBTSxPQUFPLDRCQUE0Qjt3R0FBNUIsNEJBQTRCOzRGQUE1Qiw0QkFBNEIsZ0tBTjdCLDJCQUEyQjs7NEZBTTFCLDRCQUE0QjtrQkFSeEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsb0NBQW9DO29CQUM5QyxRQUFRLEVBQUUsMkJBQTJCO29CQUNyQyxVQUFVLEVBQUUsSUFBSTtvQkFDaEIsSUFBSSxFQUFFO3dCQUNKLEtBQUssRUFBRSxzQ0FBc0M7cUJBQzlDO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiBcImlkLWhlYWRlci0xMTc3LXByby1za2lwLXRvLWNvbnRlbnRcIixcbiAgdGVtcGxhdGU6IGA8bmctY29udGVudD48L25nLWNvbnRlbnQ+YCxcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgaG9zdDoge1xuICAgIGNsYXNzOiAnaWRzLWhlYWRlci0xMTc3LXByb19fc2tpcC10by1jb250ZW50J1xuICB9XG59KVxuZXhwb3J0IGNsYXNzIElESGVhZGVyMTE3N1Byb1NraXBUb0NvbnRlbnQge31cbiJdfQ==
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Directive } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDHeaderIneraBrandLinkDirective {
|
|
4
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraBrandLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: IDHeaderIneraBrandLinkDirective, isStandalone: true, selector: "a[idBrandIneraLink]", ngImport: i0 });
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraBrandLinkDirective, decorators: [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: "a[idBrandIneraLink]",
|
|
11
|
+
standalone: true,
|
|
12
|
+
}]
|
|
13
|
+
}] });
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLWJyYW5kLWxpbmsuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaWRzLWFuZ3VsYXIvY29tcG9uZW50cy9oZWFkZXItaW5lcmEvYnJhbmQtbGluay9oZWFkZXItaW5lcmEtYnJhbmQtbGluay5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNMUMsTUFBTSxPQUFPLCtCQUErQjt3R0FBL0IsK0JBQStCOzRGQUEvQiwrQkFBK0I7OzRGQUEvQiwrQkFBK0I7a0JBSjNDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHFCQUFxQjtvQkFDL0IsVUFBVSxFQUFFLElBQUk7aUJBQ2pCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiBcImFbaWRCcmFuZEluZXJhTGlua11cIixcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcbn0pXG5leHBvcnQgY2xhc3MgSURIZWFkZXJJbmVyYUJyYW5kTGlua0RpcmVjdGl2ZSB7fVxuIl19
|
|
@@ -1,60 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Component, ContentChild, ContentChildren,
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import { Component, ContentChild, ContentChildren, Input, booleanAttribute } from "@angular/core";
|
|
3
3
|
import { IDHeaderIneraItemComponent } from "./item/header-inera-item.component";
|
|
4
4
|
import { IDHeaderIneraNavComponent } from "./nav/header-inera-nav.component";
|
|
5
|
-
import {
|
|
6
|
-
import "@inera/ids-
|
|
5
|
+
import { IDHeaderIneraSkipToContent } from "./skip-to-content/header-inera-skip-to-content.component";
|
|
6
|
+
import { ID_HEADER_CONTEXT } from "@inera/ids-angular/common";
|
|
7
|
+
import { IDHeaderIneraBrandLinkDirective } from "./brand-link/header-inera-brand-link.directive";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common";
|
|
9
9
|
export class IDHeaderIneraComponent {
|
|
10
|
-
cdRef;
|
|
11
|
-
logohref = "";
|
|
12
|
-
srlogotext = "";
|
|
13
10
|
unresponsive = false;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
// Navbar
|
|
18
|
-
navbar;
|
|
19
|
-
// Mobile Menu
|
|
20
|
-
navMobile;
|
|
21
|
-
// Items
|
|
22
|
-
itemList;
|
|
11
|
+
brandHref = "#";
|
|
12
|
+
srBrandLabel = "Logotyp";
|
|
23
13
|
items;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
this.cdRef.detectChanges();
|
|
35
|
-
this.itemsDone = true;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: IDHeaderIneraComponent, isStandalone: true, selector: "id-header-inera", inputs: { logohref: "logohref", srlogotext: "srlogotext", unresponsive: "unresponsive" }, queries: [{ propertyName: "navbar", first: true, predicate: IDHeaderIneraNavComponent, descendants: true }, { propertyName: "navMobile", first: true, predicate: IDHeaderIneraMenuMobileComponent, descendants: true }, { propertyName: "itemList", predicate: IDHeaderIneraItemComponent }], ngImport: i0, template: "<ids-header-inera [attr.unresponsive]=\"unresponsive ? 'true' : null\" [logohref]=\"logohref\" [srlogotext]=\"srlogotext\">\n <ids-header-inera-item *ngFor=\"let item of items\" [mobile]=\"item.mobile ? true : null\">\n <ng-container *ngTemplateOutlet=\"item.template\"></ng-container>\n </ids-header-inera-item>\n\n <ids-header-inera-nav *ngIf=\"itemsDone && navbar\">\n <ng-container *ngTemplateOutlet=\"navbar.template\"></ng-container>\n </ids-header-inera-nav>\n\n <ids-header-inera-menu-mobile *ngIf=\"itemsDone && navMobile\" [expanded]=\"navMobile.expanded\">\n <ng-container *ngTemplateOutlet=\"navMobile.template\"></ng-container>\n </ids-header-inera-menu-mobile>\n\n <ng-content></ng-content>\n</ids-header-inera>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
14
|
+
nav;
|
|
15
|
+
brandLink;
|
|
16
|
+
skipToContent;
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: IDHeaderIneraComponent, isStandalone: true, selector: "id-header-inera", inputs: { unresponsive: ["unresponsive", "unresponsive", booleanAttribute], brandHref: "brandHref", srBrandLabel: "srBrandLabel" }, providers: [
|
|
19
|
+
{
|
|
20
|
+
provide: ID_HEADER_CONTEXT,
|
|
21
|
+
useExisting: IDHeaderIneraComponent,
|
|
22
|
+
},
|
|
23
|
+
], queries: [{ propertyName: "nav", first: true, predicate: IDHeaderIneraNavComponent, descendants: true }, { propertyName: "brandLink", first: true, predicate: IDHeaderIneraBrandLinkDirective, descendants: true }, { propertyName: "skipToContent", first: true, predicate: IDHeaderIneraSkipToContent, descendants: true }, { propertyName: "items", predicate: IDHeaderIneraItemComponent }], ngImport: i0, template: "<header class=\"ids-header-inera\"\n [class.ids-header-inera--unresponsive]=\"unresponsive\">\n <ng-content select=\"id-header-inera-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera__container\">\n <div class=\"ids-header-inera__inner\">\n <div class=\"ids-header-inera__main\">\n @if(brandLink) {\n <div class=\"ids-header-inera__logo-custom\">\n <ng-content select=\"[idBrandIneraLink]\"></ng-content>\n </div>\n } @else {\n <a class=\"ids-header-inera__logo\" [attr.href]=\"brandHref\" [attr.aria-label]=\"srBrandLabel\"> </a>\n }\n @if(items) {\n <div class=\"ids-header-inera__items\">\n <ng-content select=\"id-header-inera-item\"></ng-content>\n <ng-content select=\"id-header-inera-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if(nav) {\n <nav class=\"ids-header-inera-nav\"\n [class.ids-header-inera-nav--unresponsive]=\"unresponsive\"\n [class.ids-header-inera-nav--hide-on-tablet]=\"nav.hideOnTablet\">\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
40
24
|
}
|
|
41
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraComponent, decorators: [{
|
|
42
26
|
type: Component,
|
|
43
|
-
args: [{ selector: "id-header-inera", standalone: true,
|
|
44
|
-
|
|
27
|
+
args: [{ selector: "id-header-inera", standalone: true, providers: [
|
|
28
|
+
{
|
|
29
|
+
provide: ID_HEADER_CONTEXT,
|
|
30
|
+
useExisting: IDHeaderIneraComponent,
|
|
31
|
+
},
|
|
32
|
+
], imports: [NgTemplateOutlet], template: "<header class=\"ids-header-inera\"\n [class.ids-header-inera--unresponsive]=\"unresponsive\">\n <ng-content select=\"id-header-inera-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera__container\">\n <div class=\"ids-header-inera__inner\">\n <div class=\"ids-header-inera__main\">\n @if(brandLink) {\n <div class=\"ids-header-inera__logo-custom\">\n <ng-content select=\"[idBrandIneraLink]\"></ng-content>\n </div>\n } @else {\n <a class=\"ids-header-inera__logo\" [attr.href]=\"brandHref\" [attr.aria-label]=\"srBrandLabel\"> </a>\n }\n @if(items) {\n <div class=\"ids-header-inera__items\">\n <ng-content select=\"id-header-inera-item\"></ng-content>\n <ng-content select=\"id-header-inera-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if(nav) {\n <nav class=\"ids-header-inera-nav\"\n [class.ids-header-inera-nav--unresponsive]=\"unresponsive\"\n [class.ids-header-inera-nav--hide-on-tablet]=\"nav.hideOnTablet\">\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>" }]
|
|
33
|
+
}], propDecorators: { unresponsive: [{
|
|
34
|
+
type: Input,
|
|
35
|
+
args: [{ transform: booleanAttribute }]
|
|
36
|
+
}], brandHref: [{
|
|
45
37
|
type: Input
|
|
46
|
-
}],
|
|
38
|
+
}], srBrandLabel: [{
|
|
47
39
|
type: Input
|
|
48
|
-
}],
|
|
49
|
-
type:
|
|
50
|
-
|
|
40
|
+
}], items: [{
|
|
41
|
+
type: ContentChildren,
|
|
42
|
+
args: [IDHeaderIneraItemComponent]
|
|
43
|
+
}], nav: [{
|
|
51
44
|
type: ContentChild,
|
|
52
45
|
args: [IDHeaderIneraNavComponent]
|
|
53
|
-
}],
|
|
46
|
+
}], brandLink: [{
|
|
54
47
|
type: ContentChild,
|
|
55
|
-
args: [
|
|
56
|
-
}],
|
|
57
|
-
type:
|
|
58
|
-
args: [
|
|
48
|
+
args: [IDHeaderIneraBrandLinkDirective]
|
|
49
|
+
}], skipToContent: [{
|
|
50
|
+
type: ContentChild,
|
|
51
|
+
args: [IDHeaderIneraSkipToContent]
|
|
59
52
|
}] } });
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL2NvbXBvbmVudHMvaGVhZGVyLWluZXJhL2hlYWRlci1pbmVyYS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21wb25lbnRzL2hlYWRlci1pbmVyYS9oZWFkZXItaW5lcmEuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDbkQsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsZ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9faXRlbXNcIj5cbiAgICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImlkLWhlYWRlci1pbmVyYS1pdGVtXCI+PC9uZy1jb250ZW50PlxuICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiaWQtaGVhZGVyLWluZXJhLW1lbnUtbW9iaWxlXCI+PC9uZy1jb250ZW50PlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICB9XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIEBpZihuYXYpIHtcbiAgICA8bmF2IGNsYXNzPVwiaWRzLWhlYWRlci1pbmVyYS1uYXZcIlxuICAgICAgW2NsYXNzLmlkcy1oZWFkZXItaW5lcmEtbmF2LS11bnJlc3BvbnNpdmVdPVwidW5yZXNwb25zaXZlXCJcbiAgICAgIFtjbGFzcy5pZHMtaGVhZGVyLWluZXJhLW5hdi0taGlkZS1vbi10YWJsZXRdPVwibmF2LmhpZGVPblRhYmxldFwiPlxuICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cIm5hdi50ZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxuICAgIDwvbmF2PlxuICB9XG48L2hlYWRlcj4iXX0=
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { IDHeaderIneraComponent } from "./header-inera.component";
|
|
3
|
+
import { IDHeaderIneraItemComponent } from "./item/header-inera-item.component";
|
|
4
|
+
import { IDHeaderIneraNavComponent } from "./nav/header-inera-nav.component";
|
|
5
|
+
import { IDHeaderIneraNavItemComponent } from "./nav-item/header-inera-nav-item.component";
|
|
6
|
+
import { IDHeaderIneraMenuMobileComponent } from "./menu-mobile/header-inera-menu-mobile.component";
|
|
7
|
+
import { IDHeaderIneraSkipToContent } from "./skip-to-content/header-inera-skip-to-content.component";
|
|
8
|
+
import { IDHeaderIneraNavItemMenuLinkComponent } from "./nav-item-menu-link/header-inera-nav-item-menu-link.component";
|
|
9
|
+
import { IDHeaderIneraBrandLinkDirective } from "./brand-link/header-inera-brand-link.directive";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export class IDHeaderIneraModule {
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraModule, imports: [IDHeaderIneraComponent,
|
|
14
|
+
IDHeaderIneraItemComponent,
|
|
15
|
+
IDHeaderIneraNavComponent,
|
|
16
|
+
IDHeaderIneraNavItemComponent,
|
|
17
|
+
IDHeaderIneraMenuMobileComponent,
|
|
18
|
+
IDHeaderIneraSkipToContent,
|
|
19
|
+
IDHeaderIneraNavItemMenuLinkComponent,
|
|
20
|
+
IDHeaderIneraBrandLinkDirective], exports: [IDHeaderIneraComponent,
|
|
21
|
+
IDHeaderIneraItemComponent,
|
|
22
|
+
IDHeaderIneraNavComponent,
|
|
23
|
+
IDHeaderIneraNavItemComponent,
|
|
24
|
+
IDHeaderIneraMenuMobileComponent,
|
|
25
|
+
IDHeaderIneraSkipToContent,
|
|
26
|
+
IDHeaderIneraNavItemMenuLinkComponent,
|
|
27
|
+
IDHeaderIneraBrandLinkDirective] });
|
|
28
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraModule });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraModule, decorators: [{
|
|
31
|
+
type: NgModule,
|
|
32
|
+
args: [{
|
|
33
|
+
imports: [
|
|
34
|
+
IDHeaderIneraComponent,
|
|
35
|
+
IDHeaderIneraItemComponent,
|
|
36
|
+
IDHeaderIneraNavComponent,
|
|
37
|
+
IDHeaderIneraNavItemComponent,
|
|
38
|
+
IDHeaderIneraMenuMobileComponent,
|
|
39
|
+
IDHeaderIneraSkipToContent,
|
|
40
|
+
IDHeaderIneraNavItemMenuLinkComponent,
|
|
41
|
+
IDHeaderIneraBrandLinkDirective,
|
|
42
|
+
],
|
|
43
|
+
exports: [
|
|
44
|
+
IDHeaderIneraComponent,
|
|
45
|
+
IDHeaderIneraItemComponent,
|
|
46
|
+
IDHeaderIneraNavComponent,
|
|
47
|
+
IDHeaderIneraNavItemComponent,
|
|
48
|
+
IDHeaderIneraMenuMobileComponent,
|
|
49
|
+
IDHeaderIneraSkipToContent,
|
|
50
|
+
IDHeaderIneraNavItemMenuLinkComponent,
|
|
51
|
+
IDHeaderIneraBrandLinkDirective,
|
|
52
|
+
],
|
|
53
|
+
}]
|
|
54
|
+
}] });
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL2NvbXBvbmVudHMvaGVhZGVyLWluZXJhL2hlYWRlci1pbmVyYS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNoRixPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUM3RSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQUMzR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ZVwiO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgSURIZWFkZXJJbmVyYUNvbXBvbmVudCxcbiAgICBJREhlYWRlckluZXJhSXRlbUNvbXBvbmVudCxcbiAgICBJREhlYWRlckluZXJhTmF2Q29tcG9uZW50LFxuICAgIElESGVhZGVySW5lcmFOYXZJdGVtQ29tcG9uZW50LFxuICAgIElESGVhZGVySW5lcmFNZW51TW9iaWxlQ29tcG9uZW50LFxuICAgIElESGVhZGVySW5lcmFTa2lwVG9Db250ZW50LFxuICAgIElESGVhZGVySW5lcmFOYXZJdGVtTWVudUxpbmtDb21wb25lbnQsXG4gICAgSURIZWFkZXJJbmVyYUJyYW5kTGlua0RpcmVjdGl2ZSxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIElESGVhZGVySW5lcmFDb21wb25lbnQsXG4gICAgSURIZWFkZXJJbmVyYUl0ZW1Db21wb25lbnQsXG4gICAgSURIZWFkZXJJbmVyYU5hdkNvbXBvbmVudCxcbiAgICBJREhlYWRlckluZXJhTmF2SXRlbUNvbXBvbmVudCxcbiAgICBJREhlYWRlckluZXJhTWVudU1vYmlsZUNvbXBvbmVudCxcbiAgICBJREhlYWRlckluZXJhU2tpcFRvQ29udGVudCxcbiAgICBJREhlYWRlckluZXJhTmF2SXRlbU1lbnVMaW5rQ29tcG9uZW50LFxuICAgIElESGVhZGVySW5lcmFCcmFuZExpbmtEaXJlY3RpdmUsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIElESGVhZGVySW5lcmFNb2R1bGUge30iXX0=
|
|
@@ -1,18 +1,39 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, Input, booleanAttribute, inject } from '@angular/core';
|
|
2
|
+
import { ID_HEADER_CONTEXT } from '@inera/ids-angular/common';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export class IDHeaderIneraItemComponent {
|
|
4
5
|
mobile = false;
|
|
5
|
-
|
|
6
|
+
icon;
|
|
7
|
+
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
6
8
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: IDHeaderIneraItemComponent, isStandalone: true, selector: "id-header-inera-item", inputs: { mobile: ["mobile", "mobile", booleanAttribute], icon: "icon" }, host: { properties: { "class.ids-header-inera-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-item--mobile": "mobile" }, classAttribute: "ids-header-inera-item" }, ngImport: i0, template: `
|
|
10
|
+
<div class="ids-header-inera-item__icon">
|
|
11
|
+
<ng-content name=[icon]></ng-content>
|
|
12
|
+
<span class="ids-icon-{{icon}}" aria-hidden="true"></span>
|
|
13
|
+
</div>
|
|
14
|
+
<ng-content></ng-content>`, isInline: true });
|
|
8
15
|
}
|
|
9
16
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraItemComponent, decorators: [{
|
|
10
17
|
type: Component,
|
|
11
|
-
args: [{
|
|
18
|
+
args: [{
|
|
19
|
+
selector: 'id-header-inera-item',
|
|
20
|
+
template: `
|
|
21
|
+
<div class="ids-header-inera-item__icon">
|
|
22
|
+
<ng-content name=[icon]></ng-content>
|
|
23
|
+
<span class="ids-icon-{{icon}}" aria-hidden="true"></span>
|
|
24
|
+
</div>
|
|
25
|
+
<ng-content></ng-content>`,
|
|
26
|
+
standalone: true,
|
|
27
|
+
host: {
|
|
28
|
+
class: 'ids-header-inera-item',
|
|
29
|
+
'[class.ids-header-inera-item--unresponsive]': 'header?.unresponsive',
|
|
30
|
+
'[class.ids-header-inera-item--mobile]': 'mobile'
|
|
31
|
+
}
|
|
32
|
+
}]
|
|
12
33
|
}], propDecorators: { mobile: [{
|
|
34
|
+
type: Input,
|
|
35
|
+
args: [{ transform: booleanAttribute }]
|
|
36
|
+
}], icon: [{
|
|
13
37
|
type: Input
|
|
14
|
-
}], template: [{
|
|
15
|
-
type: ViewChild,
|
|
16
|
-
args: [TemplateRef]
|
|
17
38
|
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaWRzLWFuZ3VsYXIvY29tcG9uZW50cy9oZWFkZXItaW5lcmEvaXRlbS9oZWFkZXItaW5lcmEtaXRlbS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNFLE9BQU8sRUFBRSxpQkFBaUIsRUFBbUIsTUFBTSwyQkFBMkIsQ0FBQzs7QUFpQi9FLE1BQU0sT0FBTywwQkFBMEI7SUFFRyxNQUFNLEdBQVksS0FBSyxDQUFDO0lBQ3ZELElBQUksQ0FBVTtJQUV2QixNQUFNLEdBQUcsTUFBTSxDQUF5QixpQkFBaUIsRUFBRSxFQUFFLFFBQVEsRUFBRSxJQUFJLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7d0dBTGhGLDBCQUEwQjs0RkFBMUIsMEJBQTBCLCtGQUVqQixnQkFBZ0Isb09BZjFCOzs7Ozs4QkFLa0I7OzRGQVFqQiwwQkFBMEI7a0JBZnRDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHNCQUFzQjtvQk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5yZXNwb25zaXZlXSc6ICdoZWFkZXI/LnVucmVzcG9uc2l2ZScsXG4gICAgJ1tjbGFzcy5pZHMtaGVhZGVyLWluZXJhLWl0ZW0tLW1vYmlsZV0nOiAnbW9iaWxlJ1xuICB9XG59KVxuZXhwb3J0IGNsYXNzIElESGVhZGVySW5lcmFJdGVtQ29tcG9uZW50IHtcblxuICBASW5wdXQoeyB0cmFuc2Zvcm06IGJvb2xlYW5BdHRyaWJ1dGUgfSkgbW9iaWxlOiBib29sZWFuID0gZmFsc2U7XG4gIEBJbnB1dCgpIGljb24/OiBzdHJpbmc7XG5cbiAgaGVhZGVyID0gaW5qZWN0PElESGVhZGVyQ29udGV4dCB8IG51bGw+KElEX0hFQURFUl9DT05URVhULCB7IG9wdGlvbmFsOiB0cnVlLCBob3N0OiB0cnVlIH0pO1xufVxuICAiXX0=
|
|
@@ -1,23 +1,71 @@
|
|
|
1
|
-
import { Component,
|
|
2
|
-
import {
|
|
1
|
+
import { Component, Input, booleanAttribute, inject } from '@angular/core';
|
|
2
|
+
import { ID_HEADER_CONTEXT } from '@inera/ids-angular/common';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class IDHeaderIneraMenuMobileComponent {
|
|
5
|
-
cdRef;
|
|
6
|
-
constructor(cdRef) {
|
|
7
|
-
this.cdRef = cdRef;
|
|
8
|
-
}
|
|
9
5
|
expanded = false;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
7
|
+
toggleExpansion() {
|
|
8
|
+
this.expanded = !this.expanded;
|
|
9
|
+
}
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraMenuMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: IDHeaderIneraMenuMobileComponent, isStandalone: true, selector: "id-header-inera-menu-mobile", inputs: { expanded: ["expanded", "expanded", booleanAttribute] }, host: { classAttribute: "ids-header-inera__mobile-menu" }, ngImport: i0, template: `
|
|
12
|
+
<div
|
|
13
|
+
class="ids-header-inera-menu-mobile"
|
|
14
|
+
[class.ids-header-inera-menu-mobile--unresponsive]="header?.unresponsive"
|
|
15
|
+
[class.ids-header-inera-menu-mobile--expanded]="expanded"
|
|
16
|
+
>
|
|
17
|
+
<button
|
|
18
|
+
(click)="toggleExpansion()"
|
|
19
|
+
aria-label="Meny"
|
|
20
|
+
[attr.aria-expanded]="expanded"
|
|
21
|
+
class="ids-header-inera-menu-mobile__button"
|
|
22
|
+
>
|
|
23
|
+
<div class="ids-hamburger">
|
|
24
|
+
<span class="ids-hamburger__lines"></span>
|
|
25
|
+
</div>
|
|
26
|
+
</button>
|
|
27
|
+
@if (expanded) {
|
|
28
|
+
<nav class="ids-header-inera-menu-mobile__items">
|
|
29
|
+
<ng-content select="id-mobile-menu"></ng-content>
|
|
30
|
+
</nav>
|
|
31
|
+
}
|
|
32
|
+
</div>
|
|
33
|
+
`, isInline: true });
|
|
13
34
|
}
|
|
14
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDHeaderIneraMenuMobileComponent, decorators: [{
|
|
15
36
|
type: Component,
|
|
16
|
-
args: [{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
37
|
+
args: [{
|
|
38
|
+
selector: 'id-header-inera-menu-mobile',
|
|
39
|
+
template: `
|
|
40
|
+
<div
|
|
41
|
+
class="ids-header-inera-menu-mobile"
|
|
42
|
+
[class.ids-header-inera-menu-mobile--unresponsive]="header?.unresponsive"
|
|
43
|
+
[class.ids-header-inera-menu-mobile--expanded]="expanded"
|
|
44
|
+
>
|
|
45
|
+
<button
|
|
46
|
+
(click)="toggleExpansion()"
|
|
47
|
+
aria-label="Meny"
|
|
48
|
+
[attr.aria-expanded]="expanded"
|
|
49
|
+
class="ids-header-inera-menu-mobile__button"
|
|
50
|
+
>
|
|
51
|
+
<div class="ids-hamburger">
|
|
52
|
+
<span class="ids-hamburger__lines"></span>
|
|
53
|
+
</div>
|
|
54
|
+
</button>
|
|
55
|
+
@if (expanded) {
|
|
56
|
+
<nav class="ids-header-inera-menu-mobile__items">
|
|
57
|
+
<ng-content select="id-mobile-menu"></ng-content>
|
|
58
|
+
</nav>
|
|
59
|
+
}
|
|
60
|
+
</div>
|
|
61
|
+
`,
|
|
62
|
+
standalone: true,
|
|
63
|
+
host: {
|
|
64
|
+
class: 'ids-header-inera__mobile-menu',
|
|
65
|
+
},
|
|
66
|
+
}]
|
|
67
|
+
}], propDecorators: { expanded: [{
|
|
68
|
+
type: Input,
|
|
69
|
+
args: [{ transform: booleanAttribute }]
|
|
22
70
|
}] } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWluZXJhLW1lbnUtbW9iaWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL2NvbXBvbmVudHMvaGVhZGVyLWluZXJhL21lbnUtbW9iaWxlL2hlYWRlci1pbmVyYS1tZW51LW1vYmlsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNFLE9BQU8sRUFBRSxpQkFBaUIsRUFBbUIsTUFBTSwyQkFBMkIsQ0FBQzs7QUFnQy9FLE1BQU0sT0FBTyxnQ0FBZ0M7SUFDSCxRQUFRLEdBQVksS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