@inera/ids-angular 8.1.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/classes/form/IDErrorMessageBase.d.ts +8 -0
- package/common/classes/form/IDFormBase.d.ts +27 -10
- package/common/context/header-context.d.ts +5 -0
- package/common/directives/click-outside.directive.d.ts +11 -0
- package/common/public-api.d.ts +7 -0
- package/common/services/input-label-linker.service.d.ts +10 -0
- package/common/services/tooltip-category.service.d.ts +7 -0
- package/common/services/use-id.service.ts.d.ts +7 -0
- package/common/utilities/useEscKey.d.ts +1 -0
- package/components/accordion/accordion-header.component.d.ts +7 -0
- package/components/accordion/accordion.component.d.ts +21 -9
- package/components/accordion/public-api.d.ts +1 -1
- package/components/action-link/action-link.component.d.ts +5 -0
- package/components/action-link/index.d.ts +5 -0
- package/components/action-link/public-api.d.ts +1 -0
- 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 -3
- 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 +32 -0
- package/esm2022/components/action-link/inera-ids-angular-components-action-link.mjs +5 -0
- package/esm2022/components/action-link/public-api.mjs +2 -0
- package/esm2022/components/alert/alert-header.component.mjs +25 -0
- package/esm2022/components/alert/alert.component.mjs +93 -33
- package/esm2022/components/alert/public-api.mjs +2 -2
- package/esm2022/components/badge/badge.component.mjs +13 -6
- package/esm2022/components/badge/public-api.mjs +1 -2
- package/esm2022/components/box-link/box-link-button.component.mjs +25 -0
- package/esm2022/components/box-link/box-link.component.mjs +14 -6
- package/esm2022/components/box-link/public-api.mjs +2 -2
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +16 -7
- package/esm2022/components/breadcrumbs/crumb.component.mjs +10 -11
- package/esm2022/components/breadcrumbs/public-api.mjs +1 -2
- package/esm2022/components/button/button.directive.mjs +140 -0
- package/esm2022/components/button/public-api.mjs +2 -3
- package/esm2022/components/button-group/button-group.component.mjs +22 -6
- package/esm2022/components/button-group/public-api.mjs +1 -2
- package/esm2022/components/card/card-link.directive.mjs +17 -0
- package/esm2022/components/card/card.component.mjs +35 -20
- package/esm2022/components/card/public-api.mjs +2 -2
- package/esm2022/components/carousel/carousel-item/carousel-item.component.mjs +21 -9
- package/esm2022/components/carousel/carousel.component.mjs +62 -9
- package/esm2022/components/carousel/public-api.mjs +1 -2
- package/esm2022/components/date-label/date-label.component.mjs +105 -25
- package/esm2022/components/date-label/public-api.mjs +1 -2
- package/esm2022/components/dialog/dialog-close.component.mjs +24 -0
- package/esm2022/components/dialog/dialog-content.component.mjs +15 -0
- package/esm2022/components/dialog/dialog-footer.component.mjs +18 -0
- package/esm2022/components/dialog/dialog-header.component.mjs +15 -0
- package/esm2022/components/dialog/dialog-trigger.component.mjs +15 -0
- package/esm2022/components/dialog/dialog.component.mjs +134 -28
- package/esm2022/components/dialog/public-api.mjs +6 -2
- package/esm2022/components/dropdown/dropdown-item.directive.mjs +18 -0
- package/esm2022/components/dropdown/dropdown-trigger.component.mjs +16 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +83 -35
- package/esm2022/components/dropdown/dropdown.module.mjs +30 -0
- package/esm2022/components/dropdown/public-api.mjs +4 -2
- package/esm2022/components/footer-1177/footer-1177-col.component.mjs +42 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-text.component.mjs +29 -0
- package/esm2022/components/footer-1177/footer-1177.component.mjs +30 -16
- package/esm2022/components/footer-1177/footer-1177.module.mjs +45 -0
- package/esm2022/components/footer-1177/public-api.mjs +7 -1
- package/esm2022/components/footer-1177-admin/footer-1177-admin-col.component.mjs +42 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-text.component.mjs +29 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin.component.mjs +29 -14
- package/esm2022/components/footer-1177-admin/footer-1177-admin.module.mjs +45 -0
- package/esm2022/components/footer-1177-admin/public-api.mjs +7 -1
- package/esm2022/components/footer-1177-pro/footer-1177-pro-col.component.mjs +42 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-text.component.mjs +29 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro.component.mjs +29 -14
- package/esm2022/components/footer-1177-pro/footer-1177-pro.module.mjs +45 -0
- package/esm2022/components/footer-1177-pro/public-api.mjs +7 -1
- package/esm2022/components/footer-inera/footer-inera-col.component.mjs +42 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-text.component.mjs +29 -0
- package/esm2022/components/footer-inera/footer-inera.component.mjs +29 -14
- package/esm2022/components/footer-inera/footer-inera.module.mjs +45 -0
- package/esm2022/components/footer-inera/public-api.mjs +7 -1
- package/esm2022/components/footer-inera-admin/footer-inera-admin-col.component.mjs +46 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-text.component.mjs +29 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin.component.mjs +29 -14
- package/esm2022/components/footer-inera-admin/footer-inera-admin.module.mjs +45 -0
- package/esm2022/components/footer-inera-admin/public-api.mjs +8 -2
- package/esm2022/components/form/check-button/check-button.component.mjs +11 -8
- package/esm2022/components/form/check-button/public-api.mjs +1 -2
- package/esm2022/components/form/checkbox/checkbox.component.mjs +39 -19
- package/esm2022/components/form/checkbox/public-api.mjs +1 -2
- package/esm2022/components/form/checkbox-group/checkbox-group.component.mjs +34 -16
- package/esm2022/components/form/checkbox-group/public-api.mjs +1 -2
- package/esm2022/components/form/darkmode-toggle/darkmode-toggle.component.mjs +12 -0
- package/esm2022/components/form/darkmode-toggle/inera-ids-angular-components-form-darkmode-toggle.mjs +5 -0
- package/esm2022/components/form/darkmode-toggle/public-api.mjs +2 -0
- package/esm2022/components/form/error-message/error-message.component.mjs +40 -15
- package/esm2022/components/form/error-message/public-api.mjs +1 -2
- package/esm2022/components/form/input/input-hint.component.mjs +18 -0
- package/esm2022/components/form/input/input-icon.component.mjs +23 -0
- package/esm2022/components/form/input/input.component.mjs +35 -14
- package/esm2022/components/form/input/public-api.mjs +3 -2
- package/esm2022/components/form/radio/public-api.mjs +1 -2
- package/esm2022/components/form/radio/radio-group.component.mjs +44 -17
- package/esm2022/components/form/radio/radio.component.mjs +18 -8
- package/esm2022/components/form/radio-button/public-api.mjs +1 -2
- package/esm2022/components/form/radio-button/radio-button-group.component.mjs +35 -7
- package/esm2022/components/form/radio-button/radio-button.component.mjs +13 -5
- package/esm2022/components/form/range/public-api.mjs +1 -2
- package/esm2022/components/form/range/range.component.mjs +65 -8
- package/esm2022/components/form/select/public-api.mjs +1 -2
- package/esm2022/components/form/select/select.component.mjs +9 -5
- package/esm2022/components/form/select-multiple/public-api.mjs +1 -2
- package/esm2022/components/form/select-multiple/select-multiple.component.mjs +86 -23
- package/esm2022/components/form/spinner/public-api.mjs +1 -2
- package/esm2022/components/form/spinner/spinner.component.mjs +15 -11
- package/esm2022/components/form/textarea/public-api.mjs +2 -2
- package/esm2022/components/form/textarea/textarea-hint.component.mjs +18 -0
- package/esm2022/components/form/textarea/textarea.component.mjs +46 -14
- package/esm2022/components/form/time/public-api.mjs +1 -2
- package/esm2022/components/form/time/time.component.mjs +7 -4
- package/esm2022/components/form/toggle/public-api.mjs +1 -2
- package/esm2022/components/form/toggle/toggle.component.mjs +6 -4
- package/esm2022/components/global-alert/global-alert-actions.component.mjs +26 -0
- package/esm2022/components/global-alert/global-alert-header.component.mjs +26 -0
- package/esm2022/components/global-alert/global-alert.component.mjs +73 -23
- package/esm2022/components/global-alert/public-api.mjs +3 -2
- package/esm2022/components/grid/column/column.component.mjs +41 -23
- package/esm2022/components/grid/column/public-api.mjs +1 -2
- package/esm2022/components/grid/container/container.component.mjs +18 -6
- 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 +39 -0
- package/fesm2022/inera-ids-angular-components-action-link.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-alert.mjs +115 -54
- package/fesm2022/inera-ids-angular-components-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-badge.mjs +13 -25
- package/fesm2022/inera-ids-angular-components-badge.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-box-link.mjs +36 -21
- package/fesm2022/inera-ids-angular-components-box-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +23 -42
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-button-group.mjs +22 -25
- package/fesm2022/inera-ids-angular-components-button-group.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-button.mjs +122 -71
- package/fesm2022/inera-ids-angular-components-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-card.mjs +45 -34
- package/fesm2022/inera-ids-angular-components-card.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-carousel.mjs +80 -39
- package/fesm2022/inera-ids-angular-components-carousel.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-date-label.mjs +105 -44
- package/fesm2022/inera-ids-angular-components-date-label.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dialog.mjs +204 -42
- package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dropdown.mjs +138 -60
- package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177.mjs +181 -16
- package/fesm2022/inera-ids-angular-components-footer-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +184 -14
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-check-button.mjs +10 -22
- package/fesm2022/inera-ids-angular-components-form-check-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs +34 -38
- package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-checkbox.mjs +38 -37
- package/fesm2022/inera-ids-angular-components-form-checkbox.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-darkmode-toggle.mjs +19 -0
- package/fesm2022/inera-ids-angular-components-form-darkmode-toggle.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-form-error-message.mjs +38 -32
- package/fesm2022/inera-ids-angular-components-form-error-message.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-input.mjs +66 -30
- package/fesm2022/inera-ids-angular-components-form-input.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-radio-button.mjs +46 -27
- package/fesm2022/inera-ids-angular-components-form-radio-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-radio.mjs +65 -55
- package/fesm2022/inera-ids-angular-components-form-radio.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-range.mjs +64 -26
- package/fesm2022/inera-ids-angular-components-form-range.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs +86 -46
- package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-select.mjs +8 -23
- package/fesm2022/inera-ids-angular-components-form-select.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-spinner.mjs +15 -30
- package/fesm2022/inera-ids-angular-components-form-spinner.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-textarea.mjs +56 -29
- package/fesm2022/inera-ids-angular-components-form-textarea.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-time.mjs +7 -23
- package/fesm2022/inera-ids-angular-components-form-time.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-toggle.mjs +6 -23
- package/fesm2022/inera-ids-angular-components-form-toggle.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-global-alert.mjs +118 -39
- package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid-column.mjs +41 -42
- package/fesm2022/inera-ids-angular-components-grid-column.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid-container.mjs +18 -25
- 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 -101
- 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 +112 -71
- package/components/accordion/accordion.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/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
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
const generateDeprecatedSlotText = (oldSlot, newComponent) => `slot="${oldSlot}" is deprecated. Use <${newComponent}> instead.`;
|
|
2
|
+
|
|
3
|
+
const deprecatedSlots = {
|
|
4
|
+
"id-accordion": [
|
|
5
|
+
{ slot: "image", message: generateDeprecatedSlotText("image", "id-accordion-image") }
|
|
6
|
+
],
|
|
7
|
+
"id-action-link": [
|
|
8
|
+
{ slot: "headline", message: 'slot="image" is deprecated. Use idLinkImage directive instead.' }
|
|
9
|
+
],
|
|
10
|
+
"id-alert": [
|
|
11
|
+
{ slot: "headline", message: generateDeprecatedSlotText("headline", "id-alert-header") }
|
|
12
|
+
],
|
|
13
|
+
"id-global-alert": [
|
|
14
|
+
{ slot: "headline", message: generateDeprecatedSlotText("headline", "id-global-alert-header") }
|
|
15
|
+
],
|
|
16
|
+
"id-badge": [
|
|
17
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use icon property instead.' }
|
|
18
|
+
],
|
|
19
|
+
"id-box-link": [
|
|
20
|
+
{ slot: "button", message: generateDeprecatedSlotText("button", "id-box-link-button") }
|
|
21
|
+
],
|
|
22
|
+
"id-dialog": [
|
|
23
|
+
{ slot: "headline", message: generateDeprecatedSlotText("headline", "id-dialog-header") },
|
|
24
|
+
{ slot: "trigger", message: generateDeprecatedSlotText("trigger", "id-dialog-trigger") },
|
|
25
|
+
{ slot: "actions", message: generateDeprecatedSlotText("actions", "id-dialog-footer") }
|
|
26
|
+
],
|
|
27
|
+
"id-footer-1177": [
|
|
28
|
+
{ slot: "link-col-1", message: generateDeprecatedSlotText("link-col-1", "id-footer-1177-col") },
|
|
29
|
+
{ slot: "link-col-2", message: generateDeprecatedSlotText("link-col-2", "id-footer-1177-col") },
|
|
30
|
+
{ slot: "link-col-3", message: generateDeprecatedSlotText("link-col-3", "id-footer-1177-col") },
|
|
31
|
+
{ slot: "link-col-4", message: generateDeprecatedSlotText("link-col-4", "id-footer-1177-col") },
|
|
32
|
+
{ slot: "sub-footer-left", message: generateDeprecatedSlotText("sub-footer-left", "id-footer-1177-sub-footer-left") },
|
|
33
|
+
{ slot: "sub-footer-right", message: generateDeprecatedSlotText("sub-footer-right", "id-footer-1177-sub-footer-right") },
|
|
34
|
+
{ slot: "sub-footer-mobile", message: generateDeprecatedSlotText("sub-footer-mobile", "id-footer-1177-sub-footer-mobile") },
|
|
35
|
+
{ slot: "mobile-menu", message: 'slot="mobile-menu" is deprecated. No slot required.' },
|
|
36
|
+
],
|
|
37
|
+
"id-footer-1177-admin": [
|
|
38
|
+
{ slot: "link-col-1", message: generateDeprecatedSlotText("link-col-1", "id-footer-1177-admin-col") },
|
|
39
|
+
{ slot: "link-col-2", message: generateDeprecatedSlotText("link-col-2", "id-footer-1177-admin-col") },
|
|
40
|
+
{ slot: "link-col-3", message: generateDeprecatedSlotText("link-col-3", "id-footer-1177-admin-col") },
|
|
41
|
+
{ slot: "link-col-4", message: generateDeprecatedSlotText("link-col-4", "id-footer-1177-admin-col") },
|
|
42
|
+
{ slot: "sub-footer-left", message: generateDeprecatedSlotText("sub-footer-left", "id-footer-1177-admin-sub-footer-left") },
|
|
43
|
+
{ slot: "sub-footer-right", message: generateDeprecatedSlotText("sub-footer-right", "id-footer-1177-admin-sub-footer-right") },
|
|
44
|
+
{ slot: "sub-footer-mobile", message: generateDeprecatedSlotText("sub-footer-mobile", "id-footer-1177-admin-sub-footer-mobile") },
|
|
45
|
+
{ slot: "mobile-menu", message: 'slot="mobile-menu" is deprecated. No slot required.' },
|
|
46
|
+
],
|
|
47
|
+
"id-footer-1177-pro": [
|
|
48
|
+
{ slot: "link-col-1", message: generateDeprecatedSlotText("link-col-1", "id-footer-1177-pro-col") },
|
|
49
|
+
{ slot: "link-col-2", message: generateDeprecatedSlotText("link-col-2", "id-footer-1177-pro-col") },
|
|
50
|
+
{ slot: "link-col-3", message: generateDeprecatedSlotText("link-col-3", "id-footer-1177-pro-col") },
|
|
51
|
+
{ slot: "link-col-4", message: generateDeprecatedSlotText("link-col-4", "id-footer-1177-pro-col") },
|
|
52
|
+
{ slot: "sub-footer-left", message: generateDeprecatedSlotText("sub-footer-left", "id-footer-1177-pro-sub-footer-left") },
|
|
53
|
+
{ slot: "sub-footer-right", message: generateDeprecatedSlotText("sub-footer-right", "id-footer-1177-pro-sub-footer-right") },
|
|
54
|
+
{ slot: "sub-footer-mobile", message: generateDeprecatedSlotText("sub-footer-mobile", "id-footer-1177-pro-sub-footer-mobile") },
|
|
55
|
+
{ slot: "mobile-menu", message: 'slot="mobile-menu" is deprecated. No slot required.' },
|
|
56
|
+
],
|
|
57
|
+
"id-footer-inera": [
|
|
58
|
+
{ slot: "link-col-1", message: generateDeprecatedSlotText("link-col-1", "id-footer-inera-col") },
|
|
59
|
+
{ slot: "link-col-2", message: generateDeprecatedSlotText("link-col-2", "id-footer-inera-col") },
|
|
60
|
+
{ slot: "link-col-3", message: generateDeprecatedSlotText("link-col-3", "id-footer-inera-col") },
|
|
61
|
+
{ slot: "link-col-4", message: generateDeprecatedSlotText("link-col-4", "id-footer-inera-col") },
|
|
62
|
+
{ slot: "sub-footer-left", message: generateDeprecatedSlotText("sub-footer-left", "id-footer-inera-sub-footer-left") },
|
|
63
|
+
{ slot: "sub-footer-right", message: generateDeprecatedSlotText("sub-footer-right", "id-footer-inera-sub-footer-right") },
|
|
64
|
+
{ slot: "sub-footer-mobile", message: generateDeprecatedSlotText("sub-footer-mobile", "id-footer-inera-sub-footer-mobile") },
|
|
65
|
+
{ slot: "mobile-menu", message: 'slot="mobile-menu" is deprecated. No slot required.' },
|
|
66
|
+
],
|
|
67
|
+
"id-footer-inera-admin": [
|
|
68
|
+
{ slot: "link-col-1", message: generateDeprecatedSlotText("link-col-1", "id-footer-inera-admin-col") },
|
|
69
|
+
{ slot: "link-col-2", message: generateDeprecatedSlotText("link-col-2", "id-footer-inera-admin-col") },
|
|
70
|
+
{ slot: "link-col-3", message: generateDeprecatedSlotText("link-col-3", "id-footer-inera-admin-col") },
|
|
71
|
+
{ slot: "link-col-4", message: generateDeprecatedSlotText("link-col-4", "id-footer-inera-admin-col") },
|
|
72
|
+
{ slot: "sub-footer-left", message: generateDeprecatedSlotText("sub-footer-left", "id-footer-inera-admin-sub-footer-left") },
|
|
73
|
+
{ slot: "sub-footer-right", message: generateDeprecatedSlotText("sub-footer-right", "id-footer-inera-admin-sub-footer-right") },
|
|
74
|
+
{ slot: "sub-footer-mobile", message: generateDeprecatedSlotText("sub-footer-mobile", "id-footer-iner-admin-sub-footer-mobile") },
|
|
75
|
+
{ slot: "mobile-menu", message: 'slot="mobile-menu" is deprecated. No slot required.' },
|
|
76
|
+
],
|
|
77
|
+
// Header 1177
|
|
78
|
+
"id-header-1177": [
|
|
79
|
+
{ slot: "region-picker", message: generateDeprecatedSlotText("region-picker", "id-header-1177-region-picker") },
|
|
80
|
+
{ slot: "logo", message: 'slot="logo" is deprecated. Use idBrand1177Link directive instead.' },
|
|
81
|
+
{ slot: "skip-to-content", message: generateDeprecatedSlotText("skip-to-content", "id-header-1177-skip-to-content") },
|
|
82
|
+
{ slot: "nav", message: 'slot="nav" is deprecated. No slot required.' },
|
|
83
|
+
],
|
|
84
|
+
"id-header-1177-item": [
|
|
85
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use icon property instead.' },
|
|
86
|
+
],
|
|
87
|
+
"id-header-1177-region-picker": [
|
|
88
|
+
{ slot: "region-icon", message: 'slot="region-icon" is deprecated. Use icon property instead.' },
|
|
89
|
+
],
|
|
90
|
+
"id-header-1177-avatar": [
|
|
91
|
+
{ slot: "mobile-menu", message: 'slot="mobile-menu" is deprecated. No slots needed.'},
|
|
92
|
+
{ slot: "avatar-links", message: 'slot="avatar-links" is deprecated. No slots needed.' },
|
|
93
|
+
{ slot: "avatar-agent", message: generateDeprecatedSlotText("avatar-agent", "id-header-1177-avatar-agent") },
|
|
94
|
+
|
|
95
|
+
],
|
|
96
|
+
"id-header-1177-nav-item": [
|
|
97
|
+
{ slot: "col-1", message: 'slot="col-1" is deprecated. Use #col1 supplied with <id-header-1177-nav-item-menu-link>.'},
|
|
98
|
+
{ slot: "col-2", message: 'slot="col-2" is deprecated. Use #col2 supplied with <id-header-1177-nav-item-menu-link>.'},
|
|
99
|
+
{ slot: "col-3", message: 'slot="col-3" is deprecated. Use #col3 supplied with <id-header-1177-nav-item-menu-link>.'},
|
|
100
|
+
{ slot: "col-4", message: 'slot="col-4" is deprecated. Use #col4 supplied with <id-header-1177-nav-item-menu-link>.'}
|
|
101
|
+
],
|
|
102
|
+
"id-header-1177-nav-item-mobile": [
|
|
103
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use property instead.' },
|
|
104
|
+
],
|
|
105
|
+
// Header 1177-admin
|
|
106
|
+
"id-header-1177-admin": [
|
|
107
|
+
{ slot: "logo", message: 'slot="logo" is deprecated. Use idBrand1177AdminLink directive instead.' },
|
|
108
|
+
{ slot: "skip-to-content", message: generateDeprecatedSlotText("skip-to-content", "id-header-1177-admin-skip-to-content") },
|
|
109
|
+
{ slot: "nav", message: 'slot="nav" is deprecated. No slot required.' },
|
|
110
|
+
],
|
|
111
|
+
"id-header-1177-admin-item": [
|
|
112
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use icon property instead.' },
|
|
113
|
+
],
|
|
114
|
+
"id-header-1177-admin-avatar": [
|
|
115
|
+
{ slot: "avatar-links", message: 'slot="avatar-links" is deprecated. No slots needed.' },
|
|
116
|
+
],
|
|
117
|
+
"id-header-1177-admin-nav-item": [
|
|
118
|
+
{ slot: "col-1", message: generateDeprecatedSlotText("col-1", "id-header-1177-admin-nav-item-menu-link") },
|
|
119
|
+
{ slot: "col-2", message: generateDeprecatedSlotText("col-2", "id-header-1177-admin-nav-item-menu-link") },
|
|
120
|
+
{ slot: "col-3", message: generateDeprecatedSlotText("col-3", "id-header-1177-admin-nav-item-menu-link") },
|
|
121
|
+
{ slot: "col-4", message: generateDeprecatedSlotText("col-4", "id-header-1177-admin-nav-item-menu-link") }
|
|
122
|
+
],
|
|
123
|
+
"id-header-1177-admin-nav-item-mobile": [
|
|
124
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use property instead.' },
|
|
125
|
+
],
|
|
126
|
+
// Header 1177-pro
|
|
127
|
+
"id-header-1177-pro": [
|
|
128
|
+
{ slot: "region-picker", message: generateDeprecatedSlotText("region-picker", "id-header-1177-pro-region-picker") },
|
|
129
|
+
{ slot: "logo", message: 'slot="logo" is deprecated. Use idBrand1177Proink directive instead.' },
|
|
130
|
+
{ slot: "skip-to-content", message: generateDeprecatedSlotText("skip-to-content", "id-header-1177-admin-skip-to-content") },
|
|
131
|
+
{ slot: "nav", message: 'slot="nav" is deprecated. No slot required.' },
|
|
132
|
+
],
|
|
133
|
+
"id-header-1177-pro-item": [
|
|
134
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use icon property instead.' },
|
|
135
|
+
],
|
|
136
|
+
"id-header-1177-pro-avatar": [
|
|
137
|
+
{ slot: "avatar-links", message: 'slot="avatar-links" is deprecated. No slots needed.' },
|
|
138
|
+
],
|
|
139
|
+
"id-header-1177-pro-nav-item": [
|
|
140
|
+
{ slot: "col-1", message: generateDeprecatedSlotText("col-1", "id-header-1177-pro-nav-item-menu-link") },
|
|
141
|
+
{ slot: "col-2", message: generateDeprecatedSlotText("col-2", "id-header-1177-pro-nav-item-menu-link") },
|
|
142
|
+
{ slot: "col-3", message: generateDeprecatedSlotText("col-3", "id-header-1177-pro-nav-item-menu-link") },
|
|
143
|
+
{ slot: "col-4", message: generateDeprecatedSlotText("col-4", "id-header-1177-pro-nav-item-menu-link") }
|
|
144
|
+
],
|
|
145
|
+
"id-header-1177-pro-nav-item-mobile": [
|
|
146
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use property instead.' },
|
|
147
|
+
],
|
|
148
|
+
// Header inera
|
|
149
|
+
"id-header-inera": [
|
|
150
|
+
{ slot: "region-picker", message: generateDeprecatedSlotText("region-picker", "id-header-inera-region-picker") },
|
|
151
|
+
{ slot: "logo", message: 'slot="logo" is deprecated. Use idBrandIneraLink directive instead.' },
|
|
152
|
+
{ slot: "skip-to-content", message: generateDeprecatedSlotText("skip-to-content", "id-header-inera-skip-to-content") },
|
|
153
|
+
{ slot: "nav", message: 'slot="nav" is deprecated. No slot required.' },
|
|
154
|
+
],
|
|
155
|
+
"id-header-inera-item": [
|
|
156
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use icon property instead.' },
|
|
157
|
+
],
|
|
158
|
+
"id-header-inera-avatar": [
|
|
159
|
+
{ slot: "avatar-links", message: 'slot="avatar-links" is deprecated. No slots needed.' },
|
|
160
|
+
],
|
|
161
|
+
"id-header-inera-nav-item": [
|
|
162
|
+
{ slot: "col-1", message: generateDeprecatedSlotText("col-1", "id-header-inera-nav-item-menu-link") },
|
|
163
|
+
{ slot: "col-2", message: generateDeprecatedSlotText("col-2", "id-header-inera-nav-item-menu-link") },
|
|
164
|
+
{ slot: "col-3", message: generateDeprecatedSlotText("col-3", "id-header-inera-nav-item-menu-link") },
|
|
165
|
+
{ slot: "col-4", message: generateDeprecatedSlotText("col-4", "id-header-inera-nav-item-menu-link") }
|
|
166
|
+
],
|
|
167
|
+
"id-header-inera-nav-item-mobile": [
|
|
168
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use property instead.' },
|
|
169
|
+
],
|
|
170
|
+
// Header inera-admin
|
|
171
|
+
"id-header-inera-admin": [
|
|
172
|
+
{ slot: "region-picker", message: generateDeprecatedSlotText("region-picker", "id-header-inera-admin-region-picker") },
|
|
173
|
+
{ slot: "logo", message: 'slot="logo" is deprecated. Use idBrandIneraAdminLink directive instead.' },
|
|
174
|
+
{ slot: "skip-to-content", message: generateDeprecatedSlotText("skip-to-content", "id-header-inera-admin-skip-to-content") },
|
|
175
|
+
{ slot: "nav", message: 'slot="nav" is deprecated. No slot required.' },
|
|
176
|
+
],
|
|
177
|
+
"id-header-inera-admin-item": [
|
|
178
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use icon property instead.' },
|
|
179
|
+
],
|
|
180
|
+
"id-header-inera-admin-avatar": [
|
|
181
|
+
{ slot: "avatar-links", message: 'slot="avatar-links" is deprecated. No slots required.' },
|
|
182
|
+
],
|
|
183
|
+
"id-header-inera-admin-nav-item": [
|
|
184
|
+
{ slot: "col-1", message: generateDeprecatedSlotText("col-1", "id-header-inera-admin-nav-item-menu-link") },
|
|
185
|
+
{ slot: "col-2", message: generateDeprecatedSlotText("col-2", "id-header-inera-admin-nav-item-menu-link") },
|
|
186
|
+
{ slot: "col-3", message: generateDeprecatedSlotText("col-3", "id-header-inera-admin-nav-item-menu-link") },
|
|
187
|
+
{ slot: "col-4", message: generateDeprecatedSlotText("col-4", "id-header-inera-admin-nav-item-menu-link") }
|
|
188
|
+
],
|
|
189
|
+
"id-header-inera-admin-nav-item-mobile": [
|
|
190
|
+
{ slot: "icon", message: 'slot="icon" is deprecated. Use property instead.' },
|
|
191
|
+
],
|
|
192
|
+
"id-mobile-menu-item ": [
|
|
193
|
+
{ slot: "sub-item", message: 'slot="sub-item" is deprecated. No slot required.' },
|
|
194
|
+
],
|
|
195
|
+
"id-data-pagination": [
|
|
196
|
+
{ slot: "pagination-select", message: generateDeprecatedSlotText("pagination-select", "id-data-pagination-select") },
|
|
197
|
+
{ slot: "prev-button", message: 'slot="prev-button" is deprecated. Replaced by idPrev attr.' },
|
|
198
|
+
{ slot: "next-button", message: 'slot="next-button" is deprecated. Replaced by idNext attr.' },
|
|
199
|
+
{ slot: "first-page-button", message: 'slot="first-page-button" is deprecated. Replaced by idFirst attr.' },
|
|
200
|
+
{ slot: "last-page-button", message: 'slot="last-page-button" is deprecated. Replaced by idLast attr.' },
|
|
201
|
+
],
|
|
202
|
+
"id-popover": [
|
|
203
|
+
{ slot: "headline", message: generateDeprecatedSlotText("headline", "id-popover-content/id-popover-header") },
|
|
204
|
+
],
|
|
205
|
+
"id-puff-list-item": [
|
|
206
|
+
{ slot: "header", message: generateDeprecatedSlotText("header", "id-puff-list-item-header") },
|
|
207
|
+
],
|
|
208
|
+
"id-side-menu": [
|
|
209
|
+
{ slot: "link", message: 'slot="link" is deprecated. Use property instead.' },
|
|
210
|
+
],
|
|
211
|
+
"id-tooltip": [
|
|
212
|
+
{ slot: "tooltip", message: 'slot="tooltip" is deprecated. No slot required.' },
|
|
213
|
+
]
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
module.exports = {
|
|
217
|
+
meta: {
|
|
218
|
+
type: "problem",
|
|
219
|
+
schema: [],
|
|
220
|
+
messages: {
|
|
221
|
+
deprecatedSlot: "{{message}}"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
create(context) {
|
|
225
|
+
const elementStack = [];
|
|
226
|
+
return {
|
|
227
|
+
"Element": function(node) {
|
|
228
|
+
const attrs = node.attributes || (node.startTag && node.startTag.attributes) || [];
|
|
229
|
+
const slotAttr = attrs.find(attr =>
|
|
230
|
+
(attr.name?.name || attr.name) === "slot"
|
|
231
|
+
);
|
|
232
|
+
if (slotAttr) {
|
|
233
|
+
const slotValue = slotAttr.value?.value || slotAttr.value || "";
|
|
234
|
+
const parent = elementStack[elementStack.length - 1];
|
|
235
|
+
if (parent && deprecatedSlots[parent.name]) {
|
|
236
|
+
const config = deprecatedSlots[parent.name].find(s => s.slot === slotValue);
|
|
237
|
+
if (config) {
|
|
238
|
+
context.report({
|
|
239
|
+
node: slotAttr,
|
|
240
|
+
messageId: "deprecatedSlot",
|
|
241
|
+
data: { message: config.message }
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
elementStack.push(node);
|
|
247
|
+
},
|
|
248
|
+
|
|
249
|
+
"Element:exit": function() {
|
|
250
|
+
elementStack.pop();
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Directive, HostBinding, inject, Input } from '@angular/core';
|
|
2
|
+
import { IDUseIdService } from '../../services/use-id.service.ts';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class IDErrorMessageBase {
|
|
5
|
+
show = false;
|
|
6
|
+
idService = inject(IDUseIdService);
|
|
7
|
+
id = this.idService.generateId('error-message');
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDErrorMessageBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: IDErrorMessageBase, inputs: { show: "show" }, host: { properties: { "class.ids-error-message--show": "this.show" } }, ngImport: i0 });
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDErrorMessageBase, decorators: [{
|
|
12
|
+
type: Directive
|
|
13
|
+
}], propDecorators: { show: [{
|
|
14
|
+
type: HostBinding,
|
|
15
|
+
args: ['class.ids-error-message--show']
|
|
16
|
+
}, {
|
|
17
|
+
type: Input
|
|
18
|
+
}] } });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSURFcnJvck1lc3NhZ2VCYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaWRzLWFuZ3VsYXIvY29tbW9uL2NsYXNzZXMvZm9ybS9JREVycm9yTWVzc2FnZUJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRS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
|
1
|
+
import { ContentChild, Directive, ElementRef, EventEmitter, inject, Input, Output, Renderer2, } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { EMPTY, merge } from 'rxjs';
|
|
4
|
+
import { auditTime } from 'rxjs/operators';
|
|
5
|
+
import { IDInputLabelLinker } from '../../services/input-label-linker.service';
|
|
6
|
+
import { IDErrorMessageBase } from './IDErrorMessageBase';
|
|
2
7
|
import * as i0 from "@angular/core";
|
|
3
8
|
export class IDFormBase {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
novalidation = false;
|
|
8
|
-
onValid = new EventEmitter();
|
|
9
|
-
onInvalid = new EventEmitter();
|
|
9
|
+
ngControl;
|
|
10
|
+
errorMessage;
|
|
11
|
+
validateOn = 'dirty';
|
|
10
12
|
invalidChange = new EventEmitter();
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this.invalid
|
|
18
|
-
this.
|
|
19
|
-
this.invalidChange.emit(
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
_invalid = false;
|
|
14
|
+
get invalid() {
|
|
15
|
+
return this._invalid;
|
|
16
|
+
}
|
|
17
|
+
set invalid(value) {
|
|
18
|
+
this._invalid = value;
|
|
19
|
+
this.toggleInputArias({ invalid: this._invalid });
|
|
20
|
+
this.toggleErrorMessage();
|
|
21
|
+
this.invalidChange.emit(value);
|
|
22
|
+
}
|
|
23
|
+
srof = 'av';
|
|
24
|
+
light = false;
|
|
25
|
+
inputLabelLinker = inject(IDInputLabelLinker);
|
|
26
|
+
blurEvent;
|
|
27
|
+
get input() {
|
|
28
|
+
return (this.host.nativeElement.querySelector('input') ||
|
|
29
|
+
this.host.nativeElement.querySelector('textarea') ||
|
|
30
|
+
this.host.nativeElement.querySelector('select'));
|
|
31
|
+
}
|
|
32
|
+
get label() {
|
|
33
|
+
return this.host.nativeElement.querySelector('label');
|
|
34
|
+
}
|
|
35
|
+
get checkbox() {
|
|
36
|
+
return this.host.nativeElement.querySelector('input[type=checkbox]');
|
|
37
|
+
}
|
|
38
|
+
host = inject(ElementRef);
|
|
39
|
+
renderer = inject(Renderer2);
|
|
40
|
+
ngAfterContentInit() {
|
|
41
|
+
if (!this.input) {
|
|
42
|
+
throw new Error('IDS ERROR - Input missing in ' + this.host.nativeElement.tagName);
|
|
43
|
+
}
|
|
44
|
+
if (this.validateOn === 'immediate') {
|
|
45
|
+
this._updateErrorState();
|
|
46
|
+
}
|
|
47
|
+
if (this.validateOn === 'touched' || this.validateOn === 'blur') {
|
|
48
|
+
this.blurEvent = this.renderer.listen(this.input, 'blur', () => {
|
|
49
|
+
this._updateErrorState();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
if (this.ngControl && this.validateOn !== 'blur') {
|
|
53
|
+
merge(...[this.ngControl.statusChanges ?? EMPTY, this.ngControl.valueChanges ?? EMPTY])
|
|
54
|
+
.pipe(auditTime(0))
|
|
55
|
+
.subscribe(() => this._updateErrorState());
|
|
56
|
+
}
|
|
57
|
+
this.inputLabelLinker.link(this.host);
|
|
58
|
+
this.renderer.addClass(this.label, 'ids-label');
|
|
59
|
+
if (this.light) {
|
|
60
|
+
this.renderer.addClass(this.input, 'ids-input--light');
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
_updateErrorState() {
|
|
64
|
+
if (!this.ngControl || this.validateOn === 'none')
|
|
65
|
+
return;
|
|
66
|
+
switch (this.validateOn) {
|
|
67
|
+
case 'immediate':
|
|
68
|
+
this.invalid = Boolean(this.ngControl.invalid);
|
|
69
|
+
break;
|
|
70
|
+
case 'touched':
|
|
71
|
+
this.invalid = Boolean(this.ngControl.invalid) && Boolean(this.ngControl.touched);
|
|
72
|
+
break;
|
|
73
|
+
case 'dirty':
|
|
74
|
+
this.invalid = Boolean(this.ngControl.invalid) && Boolean(this.ngControl.dirty);
|
|
75
|
+
break;
|
|
76
|
+
case 'blur':
|
|
77
|
+
this.invalid = Boolean(this.ngControl.invalid);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
toggleErrorMessage() {
|
|
81
|
+
if (!this.errorMessage)
|
|
82
|
+
return;
|
|
83
|
+
this.errorMessage.show = this.invalid;
|
|
84
|
+
}
|
|
85
|
+
toggleInputArias({ invalid }) {
|
|
86
|
+
if (this.checkbox) {
|
|
87
|
+
this.renderer.setAttribute(this.input, 'aria-checked', this.checkbox.checked);
|
|
88
|
+
}
|
|
89
|
+
this.renderer.setAttribute(this.input, 'aria-required', this.input.required);
|
|
90
|
+
if (invalid) {
|
|
91
|
+
this.renderer.addClass(this.input, 'ids-input--invalid');
|
|
92
|
+
this.renderer.setAttribute(this.input, 'aria-invalid', 'true');
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
this.renderer.removeClass(this.input, 'ids-input--invalid');
|
|
96
|
+
this.renderer.removeAttribute(this.input, 'aria-invalid');
|
|
97
|
+
}
|
|
98
|
+
if (this.errorMessage) {
|
|
99
|
+
this.renderer.setAttribute(this.input, 'aria-describedby', this.errorMessage.id);
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.renderer.removeAttribute(this.input, 'aria-describedby');
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
ngOnDestroy() {
|
|
106
|
+
this.blurEvent?.();
|
|
107
|
+
}
|
|
108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDFormBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
109
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: IDFormBase, inputs: { validateOn: "validateOn", invalid: "invalid", srof: "srof", light: "light" }, outputs: { invalidChange: "invalidChange" }, queries: [{ propertyName: "ngControl", first: true, predicate: NgControl, descendants: true, read: NgControl }, { propertyName: "errorMessage", first: true, predicate: IDErrorMessageBase, descendants: true }], ngImport: i0 });
|
|
23
110
|
}
|
|
24
111
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDFormBase, decorators: [{
|
|
25
|
-
type:
|
|
26
|
-
|
|
27
|
-
|
|
112
|
+
type: Directive
|
|
113
|
+
}], propDecorators: { ngControl: [{
|
|
114
|
+
type: ContentChild,
|
|
115
|
+
args: [NgControl, { read: NgControl }]
|
|
116
|
+
}], errorMessage: [{
|
|
117
|
+
type: ContentChild,
|
|
118
|
+
args: [IDErrorMessageBase]
|
|
119
|
+
}], validateOn: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], invalidChange: [{
|
|
122
|
+
type: Output
|
|
123
|
+
}], invalid: [{
|
|
28
124
|
type: Input
|
|
29
125
|
}], srof: [{
|
|
30
126
|
type: Input
|
|
31
127
|
}], light: [{
|
|
32
128
|
type: Input
|
|
33
|
-
}], novalidation: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}], onValid: [{
|
|
36
|
-
type: Output
|
|
37
|
-
}], onInvalid: [{
|
|
38
|
-
type: Output
|
|
39
|
-
}], invalidChange: [{
|
|
40
|
-
type: Output
|
|
41
129
|
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSURGb3JtQmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL2NvbW1vbi9jbGFzc2VzL2Zvcm0vSURGb3JtQmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUd2RSxNQUFNLE9BQU8sVUFBVTtJQUdyQixPQUFPLEdBQW1CLEtBQUssQ0FBQztJQUdoQyxJQUFJ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Token } from '@angular/core';
|
|
2
|
+
export const ID_HEADER_CONTEXT = new InjectionToken('ID_HEADER_CONTEXT');
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLWNvbnRleHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21tb24vY29udGV4dC9oZWFkZXItY29udGV4dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBTS9DLE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLElBQUksY0FBYyxDQUFrQixtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IGludGVyZmFjZSBJREhlYWRlckNvbnRleHQge1xuICB1bnJlc3BvbnNpdmU6IGJvb2xlYW47XG59XG5cbmV4cG9ydCBjb25zdCBJRF9IRUFERVJfQ09OVEVYVCA9IG5ldyBJbmplY3Rpb25Ub2tlbjxJREhlYWRlckNvbnRleHQ+KCdJRF9IRUFERVJfQ09OVEVYVCcpOyJdfQ==
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Directive, Output, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDClickOutsideDirective {
|
|
4
|
+
elementRef;
|
|
5
|
+
idClickOutside = new EventEmitter();
|
|
6
|
+
constructor(elementRef) {
|
|
7
|
+
this.elementRef = elementRef;
|
|
8
|
+
document.addEventListener('click', this.onDocumentClick.bind(this), true);
|
|
9
|
+
}
|
|
10
|
+
ngOnDestroy() {
|
|
11
|
+
document.removeEventListener('click', this.onDocumentClick.bind(this), true);
|
|
12
|
+
}
|
|
13
|
+
onDocumentClick(event) {
|
|
14
|
+
if (!this.elementRef.nativeElement.contains(event.target)) {
|
|
15
|
+
this.idClickOutside.emit(event);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDClickOutsideDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: IDClickOutsideDirective, isStandalone: true, selector: "[idClickOutside]", outputs: { idClickOutside: "idClickOutside" }, ngImport: i0 });
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDClickOutsideDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[idClickOutside]',
|
|
25
|
+
standalone: true
|
|
26
|
+
}]
|
|
27
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { idClickOutside: [{
|
|
28
|
+
type: Output
|
|
29
|
+
}] } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpY2stb3V0c2lkZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21tb24vZGlyZWN0aXZlcy9jbGljay1vdXRzaWRlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLE1BQU0sRUFBRSxZQUFZLEVBQWEsTUFBTSxlQUFlLENBQUM7O0FBTXZGLE1BQU0sT0FBTyx1QkFBdUI7SUFHZDtJQUZWLGNBQWMsR0FBRyx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b3J0IGNsYXNzIElEQ2xpY2tPdXRzaWRlRGlyZWN0aXZlIGltcGxlbWVudHMgT25EZXN0cm95IHtcbiAgQE91dHB1dCgpIGlkQ2xpY2tPdXRzaWRlID0gbmV3IEV2ZW50RW1pdHRlcjxFdmVudD4oKTtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWYpIHtcbiAgICBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCdjbGljaycsIHRoaXMub25Eb2N1bWVudENsaWNrLmJpbmQodGhpcyksIHRydWUpO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgZG9jdW1lbnQucmVtb3ZlRXZlbnRMaXN0ZW5lcignY2xpY2snLCB0aGlzLm9uRG9jdW1lbnRDbGljay5iaW5kKHRoaXMpLCB0cnVlKTtcbiAgfVxuXG4gIHByaXZhdGUgb25Eb2N1bWVudENsaWNrKGV2ZW50OiBNb3VzZUV2ZW50KSB7XG4gICAgaWYgKCF0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5jb250YWlucyhldmVudC50YXJnZXQpKSB7XG4gICAgICB0aGlzLmlkQ2xpY2tPdXRzaWRlLmVtaXQoZXZlbnQpO1xuICAgIH1cbiAgfVxufSJdfQ==
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
export { IDFormBase } from "./classes/form/IDFormBase";
|
|
2
|
-
|
|
2
|
+
export { IDUseIdService } from "./services/use-id.service.ts";
|
|
3
|
+
export { IDInputLabelLinker } from "./services/input-label-linker.service";
|
|
4
|
+
export { IDClickOutsideDirective } from "./directives/click-outside.directive";
|
|
5
|
+
export { IDTooltipCategoryService } from "./services/tooltip-category.service";
|
|
6
|
+
export { ID_HEADER_CONTEXT } from "./context/header-context";
|
|
7
|
+
export { IDErrorMessageBase } from "./classes/form/IDErrorMessageBase";
|
|
8
|
+
export { useEscapeKey } from "./utilities/useEscKey";
|
|
9
|
+
//# sourceMappingURL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RzaWRlLmRpcmVjdGl2ZVwiXG5leHBvcnQgeyBJRFRvb2x0aXBDYXRlZ29yeVNlcnZpY2UgfSBmcm9tIFwiLi9zZXJ2aWNlcy90b29sdGlwLWNhdGVnb3J5LnNlcnZpY2VcIlxuZXhwb3J0IHsgSURfSEVBREVSX0NPTlRFWFQsIElESGVhZGVyQ29udGV4dCB9IGZyb20gXCIuL2NvbnRleHQvaGVhZGVyLWNvbnRleHRcIlxuZXhwb3J0IHsgSURFcnJvck1lc3NhZ2VCYXNlIH0gZnJvbSBcIi4vY2xhc3Nlcy9mb3JtL0lERXJyb3JNZXNzYWdlQmFzZVwiO1xuZXhwb3J0IHsgdXNlRXNjYXBlS2V5IH0gZnJvbSBcIi4vdXRpbGl0aWVzL3VzZUVzY0tleVwiO1xuIl19
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDInputLabelLinker {
|
|
4
|
+
static nextId = 0;
|
|
5
|
+
renderer;
|
|
6
|
+
constructor(rendererFactory) {
|
|
7
|
+
this.renderer = rendererFactory.createRenderer(null, null);
|
|
8
|
+
}
|
|
9
|
+
link(host) {
|
|
10
|
+
const el = host.nativeElement;
|
|
11
|
+
const label = el.querySelector('label');
|
|
12
|
+
const input = el.querySelector('input, textarea, select');
|
|
13
|
+
if (!input || !label)
|
|
14
|
+
return;
|
|
15
|
+
const id = input.id || `ids-form-element-${IDInputLabelLinker.nextId++}`;
|
|
16
|
+
this.renderer.setAttribute(input, 'id', id);
|
|
17
|
+
this.renderer.setAttribute(label, 'for', id);
|
|
18
|
+
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDInputLabelLinker, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDInputLabelLinker, providedIn: 'root' });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDInputLabelLinker, decorators: [{
|
|
23
|
+
type: Injectable,
|
|
24
|
+
args: [{ providedIn: 'root' }]
|
|
25
|
+
}], ctorParameters: () => [{ type: i0.RendererFactory2 }] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbGFiZWwtbGlua2VyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21tb24vc2VydmljZXMvaW5wdXQtbGFiZWwtbGlua2VyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBMkMsTUFBTSxlQUFlLENBQUM7O0FBR3BGLE1BQU0sT0FBTyxrQkFBa0I7SUFDckIsTUFBTSxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUM7SUFDbEIsUUFBUSxDQUFZO0lBRTVCLFlBQVksZUFBaUM7UUFDM0MsSUFBSSxDQUFDLFFBQVEsR0FBRyxlQUFlLENBQUMsY0FBYyxDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQztJQUM3RCxDQUFDO0lBRUQsSUFBSSxDQUFDLElBQTZCO1FBQ2hDLE1BQU0sRUFBRSxHQUFHLElBQUksQ0FBQyxhQUFhLENBQUM7UUFDOUIsTUFBTSxLQUFLLEdBQUcsRUFBRSxDQUFDLGFBQWEsQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUN4QyxNQUFNLEtBQUssR0FBRyxFQUFFLENBQUMsYUFBYSxDQUFDLHlCQUF5QixDQUFDLENBQUM7UUFFMUQsSUFBSSxDQUFDLEtBQUssSUFBSSx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WJlbCA9IGVsLnF1ZXJ5U2VsZWN0b3IoJ2xhYmVsJyk7XG4gICAgY29uc3QgaW5wdXQgPSBlbC5xdWVyeVNlbGVjdG9yKCdpbnB1dCwgdGV4dGFyZWEsIHNlbGVjdCcpO1xuXG4gICAgaWYgKCFpbnB1dCB8fCAhbGFiZWwpIHJldHVybjtcblxuICAgIGNvbnN0IGlkID0gaW5wdXQuaWQgfHwgYGlkcy1mb3JtLWVsZW1lbnQtJHtJRElucHV0TGFiZWxMaW5rZXIubmV4dElkKyt9YDtcbiAgICB0aGlzLnJlbmRlcmVyLnNldEF0dHJpYnV0ZShpbnB1dCwgJ2lkJywgaWQpO1xuICAgIHRoaXMucmVuZGVyZXIuc2V0QXR0cmlidXRlKGxhYmVsLCAnZm9yJywgaWQpO1xuICB9XG59Il19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Injectable, signal } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDTooltipCategoryService {
|
|
4
|
+
closeCategory = signal(null);
|
|
5
|
+
requestClose(category) {
|
|
6
|
+
this.closeCategory.set(null);
|
|
7
|
+
this.closeCategory.set(category);
|
|
8
|
+
}
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDTooltipCategoryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDTooltipCategoryService, providedIn: 'root' });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDTooltipCategoryService, decorators: [{
|
|
13
|
+
type: Injectable,
|
|
14
|
+
args: [{ providedIn: 'root' }]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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gdGhpcy5jbG9zZUNhdGVnb3J5LnNldChjYXRlZ29yeSk7XG4gIH1cbn0iXX0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDUseIdService {
|
|
4
|
+
static componentCounters = {};
|
|
5
|
+
generateId(componentName) {
|
|
6
|
+
if (!IDUseIdService.componentCounters[componentName]) {
|
|
7
|
+
IDUseIdService.componentCounters[componentName] = 0;
|
|
8
|
+
}
|
|
9
|
+
IDUseIdService.componentCounters[componentName]++;
|
|
10
|
+
return `ids-${componentName}-${IDUseIdService.componentCounters[componentName]}`;
|
|
11
|
+
}
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDUseIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDUseIdService, providedIn: 'root' });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDUseIdService, decorators: [{
|
|
16
|
+
type: Injectable,
|
|
17
|
+
args: [{ providedIn: 'root' }]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlLWlkLnNlcnZpY2UudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9jb21tb24vc2VydmljZXMvdXNlLWlkLnNlcnZpY2UudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHM0MsTUFBTSxPQUFPLGNBQWM7SUFD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Vyc1tjb21wb25lbnROYW1lXSsrO1xuICAgIHJldHVybiBgaWRzLSR7Y29tcG9uZW50TmFtZX0tJHtJRFVzZUlkU2VydmljZS5jb21wb25lbnRDb3VudGVyc1tjb21wb25lbnROYW1lXX1gO1xuICB9XG59Il19
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { inject, DestroyRef } from '@angular/core';
|
|
2
|
+
import { fromEvent } from 'rxjs';
|
|
3
|
+
import { filter } from 'rxjs/operators';
|
|
4
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
5
|
+
export function useEscapeKey(callback, condition) {
|
|
6
|
+
const destroyRef = inject(DestroyRef);
|
|
7
|
+
fromEvent(window, 'keydown')
|
|
8
|
+
.pipe(filter(event => event.key === 'Escape' && condition()), takeUntilDestroyed(destroyRef))
|
|
9
|
+
.subscribe(() => callback());
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlRXNjS2V5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaWRzLWFuZ3VsYXIvY29tbW9uL3V0aWxpdGllcy91c2VFc2NLZXkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNqQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDeEMsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFFaEUsTUFBTSxVQUFVLFlBQVksQ0FBQyxRQUFvQixFQUFFLFNBQXdCO0lBQ3pFLE1BQU0sVUFBVSxHQUFHLE1BQU0sQ0FBQyxVQUFVLEN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