@inera/ids-angular 8.2.0 → 9.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/classes/form/IDErrorMessageBase.d.ts +8 -0
- package/common/classes/form/IDFormBase.d.ts +27 -10
- package/common/context/header-context.d.ts +5 -0
- package/common/directives/click-outside.directive.d.ts +11 -0
- package/common/public-api.d.ts +7 -0
- package/common/services/input-label-linker.service.d.ts +10 -0
- package/common/services/tooltip-category.service.d.ts +7 -0
- package/common/services/use-id.service.ts.d.ts +7 -0
- package/common/utilities/useEscKey.d.ts +1 -0
- package/components/accordion/accordion-header.component.d.ts +7 -0
- package/components/accordion/accordion.component.d.ts +21 -9
- package/components/accordion/public-api.d.ts +1 -1
- package/components/action-link/action-link.component.d.ts +1 -2
- package/components/action-link/public-api.d.ts +1 -2
- package/components/alert/alert-header.component.d.ts +7 -0
- package/components/alert/alert.component.d.ts +29 -14
- package/components/alert/public-api.d.ts +1 -1
- package/components/badge/badge.component.d.ts +3 -2
- package/components/badge/public-api.d.ts +0 -1
- package/components/box-link/box-link-button.component.d.ts +7 -0
- package/components/box-link/box-link.component.d.ts +3 -2
- package/components/box-link/public-api.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.component.d.ts +5 -2
- package/components/breadcrumbs/crumb.component.d.ts +2 -3
- package/components/breadcrumbs/public-api.d.ts +0 -1
- package/components/button/button.directive.d.ts +42 -0
- package/components/button/public-api.d.ts +1 -2
- package/components/button-group/button-group.component.d.ts +4 -1
- package/components/button-group/public-api.d.ts +0 -1
- package/components/card/card-link.directive.d.ts +5 -0
- package/components/card/card.component.d.ts +12 -6
- package/components/card/public-api.d.ts +1 -1
- package/components/carousel/carousel-item/carousel-item.component.d.ts +6 -2
- package/components/carousel/carousel.component.d.ts +17 -5
- package/components/carousel/public-api.d.ts +0 -1
- package/components/date-label/date-label.component.d.ts +25 -13
- package/components/date-label/public-api.d.ts +0 -1
- package/components/dialog/dialog-close.component.d.ts +8 -0
- package/components/dialog/dialog-content.component.d.ts +5 -0
- package/components/dialog/dialog-footer.component.d.ts +5 -0
- package/components/dialog/dialog-header.component.d.ts +5 -0
- package/components/dialog/dialog-trigger.component.d.ts +5 -0
- package/components/dialog/dialog.component.d.ts +39 -11
- package/components/dialog/public-api.d.ts +5 -1
- package/components/dropdown/dropdown-item.directive.d.ts +5 -0
- package/components/dropdown/dropdown-trigger.component.d.ts +6 -0
- package/components/dropdown/dropdown.component.d.ts +27 -15
- package/components/dropdown/dropdown.module.d.ts +9 -0
- package/components/dropdown/public-api.d.ts +3 -1
- package/components/footer-1177/footer-1177-col.component.d.ts +12 -0
- package/components/footer-1177/footer-1177-sub-footer-left.component.d.ts +5 -0
- package/components/footer-1177/footer-1177-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-1177/footer-1177-sub-footer-right.component.d.ts +5 -0
- package/components/footer-1177/footer-1177-text.component.d.ts +6 -0
- package/components/footer-1177/footer-1177.component.d.ts +7 -6
- package/components/footer-1177/footer-1177.module.d.ts +12 -0
- package/components/footer-1177/public-api.d.ts +6 -0
- package/components/footer-1177-admin/footer-1177-admin-col.component.d.ts +12 -0
- package/components/footer-1177-admin/footer-1177-admin-sub-footer-left.component.d.ts +5 -0
- package/components/footer-1177-admin/footer-1177-admin-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-1177-admin/footer-1177-admin-sub-footer-right.component.d.ts +5 -0
- package/components/footer-1177-admin/footer-1177-admin-text.component.d.ts +6 -0
- package/components/footer-1177-admin/footer-1177-admin.component.d.ts +7 -6
- package/components/footer-1177-admin/footer-1177-admin.module.d.ts +12 -0
- package/components/footer-1177-admin/public-api.d.ts +6 -0
- package/components/footer-1177-pro/footer-1177-pro-col.component.d.ts +12 -0
- package/components/footer-1177-pro/footer-1177-pro-sub-footer-left.component.d.ts +5 -0
- package/components/footer-1177-pro/footer-1177-pro-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-1177-pro/footer-1177-pro-sub-footer-right.component.d.ts +5 -0
- package/components/footer-1177-pro/footer-1177-pro-text.component.d.ts +6 -0
- package/components/footer-1177-pro/footer-1177-pro.component.d.ts +6 -5
- package/components/footer-1177-pro/footer-1177-pro.module.d.ts +12 -0
- package/components/footer-1177-pro/public-api.d.ts +6 -0
- package/components/footer-inera/footer-inera-col.component.d.ts +12 -0
- package/components/footer-inera/footer-inera-sub-footer-left.component.d.ts +5 -0
- package/components/footer-inera/footer-inera-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-inera/footer-inera-sub-footer-right.component.d.ts +5 -0
- package/components/footer-inera/footer-inera-text.component.d.ts +6 -0
- package/components/footer-inera/footer-inera.component.d.ts +6 -5
- package/components/footer-inera/footer-inera.module.d.ts +12 -0
- package/components/footer-inera/public-api.d.ts +6 -0
- package/components/footer-inera-admin/footer-inera-admin-col.component.d.ts +14 -0
- package/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.d.ts +5 -0
- package/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.d.ts +5 -0
- package/components/footer-inera-admin/footer-inera-admin-text.component.d.ts +6 -0
- package/components/footer-inera-admin/footer-inera-admin.component.d.ts +6 -5
- package/components/footer-inera-admin/footer-inera-admin.module.d.ts +12 -0
- package/components/footer-inera-admin/public-api.d.ts +7 -1
- package/components/form/check-button/check-button.component.d.ts +4 -3
- package/components/form/check-button/public-api.d.ts +0 -1
- package/components/form/checkbox/checkbox.component.d.ts +14 -8
- package/components/form/checkbox/public-api.d.ts +0 -1
- package/components/form/checkbox-group/checkbox-group.component.d.ts +13 -9
- package/components/form/checkbox-group/public-api.d.ts +0 -1
- package/components/form/darkmode-toggle/darkmode-toggle.component.d.ts +6 -0
- package/components/form/darkmode-toggle/index.d.ts +5 -0
- package/components/form/darkmode-toggle/public-api.d.ts +1 -0
- package/components/form/error-message/error-message.component.d.ts +6 -7
- package/components/form/error-message/public-api.d.ts +0 -1
- package/components/form/input/input-hint.component.d.ts +5 -0
- package/components/form/input/input-icon.component.d.ts +7 -0
- package/components/form/input/input.component.d.ts +13 -6
- package/components/form/input/public-api.d.ts +2 -1
- package/components/form/radio/public-api.d.ts +0 -1
- package/components/form/radio/radio-group.component.d.ts +14 -7
- package/components/form/radio/radio.component.d.ts +4 -2
- package/components/form/radio-button/public-api.d.ts +0 -1
- package/components/form/radio-button/radio-button-group.component.d.ts +9 -3
- package/components/form/radio-button/radio-button.component.d.ts +5 -3
- package/components/form/range/public-api.d.ts +0 -1
- package/components/form/range/range.component.d.ts +14 -4
- package/components/form/select/public-api.d.ts +0 -1
- package/components/form/select/select.component.d.ts +5 -3
- package/components/form/select-multiple/public-api.d.ts +0 -1
- package/components/form/select-multiple/select-multiple.component.d.ts +29 -9
- package/components/form/spinner/public-api.d.ts +0 -1
- package/components/form/spinner/spinner.component.d.ts +4 -4
- package/components/form/textarea/public-api.d.ts +1 -1
- package/components/form/textarea/textarea-hint.component.d.ts +5 -0
- package/components/form/textarea/textarea.component.d.ts +14 -6
- package/components/form/time/public-api.d.ts +0 -1
- package/components/form/time/time.component.d.ts +4 -2
- package/components/form/toggle/public-api.d.ts +0 -1
- package/components/form/toggle/toggle.component.d.ts +1 -1
- package/components/global-alert/global-alert-actions.component.d.ts +8 -0
- package/components/global-alert/global-alert-header.component.d.ts +8 -0
- package/components/global-alert/global-alert.component.d.ts +21 -9
- package/components/global-alert/public-api.d.ts +2 -1
- package/components/grid/column/column.component.d.ts +6 -9
- package/components/grid/column/public-api.d.ts +0 -1
- package/components/grid/container/container.component.d.ts +4 -4
- package/components/grid/container/public-api.d.ts +0 -1
- package/components/grid/public-api.d.ts +0 -3
- package/components/grid/row/public-api.d.ts +0 -1
- package/components/grid/row/row.component.d.ts +6 -9
- package/components/grid-layout/grid-column/grid-column.component.d.ts +18 -0
- package/components/grid-layout/grid-column/index.d.ts +5 -0
- package/components/grid-layout/grid-column/public-api.d.ts +1 -0
- package/components/grid-layout/grid-container/grid-container.component.d.ts +10 -0
- package/components/grid-layout/grid-container/index.d.ts +5 -0
- package/components/grid-layout/grid-container/public-api.d.ts +1 -0
- package/components/grid-layout/grid-row/grid-row.component.d.ts +11 -0
- package/components/grid-layout/grid-row/index.d.ts +5 -0
- package/components/grid-layout/grid-row/public-api.d.ts +1 -0
- package/components/grid-layout/index.d.ts +5 -0
- package/components/grid-layout/public-api.d.ts +3 -0
- package/components/header-1177/avatar/header-1177-avatar-agent.component.d.ts +5 -0
- package/components/header-1177/avatar/header-1177-avatar.component.d.ts +14 -4
- package/components/header-1177/brand-link/header-1177-brand-link.directive.d.ts +5 -0
- package/components/header-1177/header-1177.component.d.ts +12 -15
- package/components/header-1177/header-1177.module.d.ts +19 -0
- package/components/header-1177/item/header-1177-item.component.d.ts +7 -4
- package/components/header-1177/menu-mobile/header-1177-menu-mobile.component.d.ts +6 -2
- package/components/header-1177/nav/header-1177-nav.component.d.ts +4 -18
- package/components/header-1177/nav-item/header-1177-nav-item.component.d.ts +18 -3
- package/components/header-1177/nav-item-menu-link/header-1177-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-1177/nav-item-mobile/header-1177-nav-item-mobile.component.d.ts +4 -3
- package/components/header-1177/public-api.d.ts +5 -0
- package/components/header-1177/region-picker/header-1177-region-picker.component.d.ts +11 -4
- package/components/header-1177/region-picker-mobile/header-1177-region-picker-mobile.component.d.ts +12 -5
- package/components/header-1177/skip-to-content/header-1177-skip-to-content.component.d.ts +5 -0
- package/components/header-1177-admin/avatar/header-1177-admin-avatar.component.d.ts +16 -4
- package/components/header-1177-admin/avatar-mobile/header-1177-admin-avatar-mobile.component.d.ts +18 -5
- package/components/header-1177-admin/brand-link/header-1177-admin-brand-link.directive.d.ts +5 -0
- package/components/header-1177-admin/header-1177-admin.component.d.ts +12 -20
- package/components/header-1177-admin/header-1177-admin.module.d.ts +17 -0
- package/components/header-1177-admin/item/header-1177-admin-item.component.d.ts +5 -3
- package/components/header-1177-admin/menu-mobile/header-1177-admin-menu-mobile.component.d.ts +6 -2
- package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +4 -12
- package/components/header-1177-admin/nav-item/header-1177-admin-nav-item.component.d.ts +20 -5
- package/components/header-1177-admin/nav-item-menu-link/header-1177-admin-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-1177-admin/nav-item-mobile/header-1177-admin-nav-item-mobile.d.ts +8 -0
- package/components/header-1177-admin/public-api.d.ts +5 -0
- package/components/header-1177-admin/skip-to-content/header-1177-admin-skip-to-content.component.d.ts +5 -0
- package/components/header-1177-pro/avatar/header-1177-pro-avatar.component.d.ts +18 -6
- package/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.d.ts +18 -5
- package/components/header-1177-pro/brand-link/header-1177-pro-brand-link.directive.d.ts +5 -0
- package/components/header-1177-pro/header-1177-pro.component.d.ts +10 -22
- package/components/header-1177-pro/header-1177-pro.module.d.ts +19 -0
- package/components/header-1177-pro/item/header-1177-pro-item.component.d.ts +5 -3
- package/components/header-1177-pro/menu-mobile/header-1177-pro-menu-mobile.component.d.ts +6 -3
- package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +4 -15
- package/components/header-1177-pro/nav-item/header-1177-pro-nav-item.component.d.ts +19 -5
- package/components/header-1177-pro/nav-item-menu-link/header-1177-pro-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-1177-pro/nav-item-mobile/header-1177-pro-nav-item-mobile.d.ts +8 -0
- package/components/header-1177-pro/public-api.d.ts +5 -0
- package/components/header-1177-pro/region-picker/header-1177-pro-region-picker.component.d.ts +11 -4
- package/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.d.ts +12 -5
- package/components/header-1177-pro/skip-to-content/header-1177-pro-skip-to-content.component.d.ts +5 -0
- package/components/header-inera/brand-link/header-inera-brand-link.directive.d.ts +5 -0
- package/components/header-inera/header-inera.component.d.ts +13 -16
- package/components/header-inera/header-inera.module.d.ts +14 -0
- package/components/header-inera/item/header-inera-item.component.d.ts +5 -3
- package/components/header-inera/menu-mobile/header-inera-menu-mobile.component.d.ts +5 -5
- package/components/header-inera/nav/header-inera-nav.component.d.ts +4 -9
- package/components/header-inera/nav-item/header-inera-nav-item.component.d.ts +25 -0
- package/components/header-inera/nav-item-menu-link/header-inera-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-inera/public-api.d.ts +5 -1
- package/components/header-inera/skip-to-content/header-inera-skip-to-content.component.d.ts +5 -0
- package/components/header-inera-admin/avatar/header-inera-admin-avatar.component.d.ts +18 -6
- package/components/header-inera-admin/avatar-mobile/header-inera-admin-avatar-mobile.component.d.ts +18 -5
- package/components/header-inera-admin/brand-link/header-inera-admin-brand-link.directive.d.ts +5 -0
- package/components/header-inera-admin/header-inera-admin.component.d.ts +16 -16
- package/components/header-inera-admin/header-inera-admin.module.d.ts +17 -0
- package/components/header-inera-admin/item/header-inera-admin-item.component.d.ts +7 -4
- package/components/header-inera-admin/menu-mobile/header-inera-admin-menu-mobile.component.d.ts +6 -3
- package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +4 -11
- package/components/header-inera-admin/nav-item/header-inera-admin-nav-item.component.d.ts +19 -5
- package/components/header-inera-admin/nav-item-menu-link/header-inera-admin-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-inera-admin/nav-item-mobile/header-inera-admin-nav-item-mobile.d.ts +8 -0
- package/components/header-inera-admin/public-api.d.ts +5 -0
- package/components/header-inera-admin/skip-to-content/header-inera-admin-skip-to-content.component.d.ts +5 -0
- package/components/header-patient/header-patient-actions.component.d.ts +5 -0
- package/components/header-patient/header-patient.component.d.ts +5 -5
- package/components/header-patient/public-api.d.ts +1 -1
- package/components/link/link.directive.d.ts +22 -0
- package/components/link/public-api.d.ts +1 -2
- package/components/mobile/menu/item/mobile-menu-item.component.d.ts +22 -4
- package/components/mobile/menu/item/public-api.d.ts +0 -1
- package/components/mobile/menu/mobile-menu.component.d.ts +5 -3
- package/components/mobile/menu/public-api.d.ts +0 -1
- package/components/navigation/content/navigation-content-link.component.d.ts +7 -0
- package/components/navigation/content/navigation-content.component.d.ts +6 -4
- package/components/navigation/content/public-api.d.ts +1 -1
- package/components/navigation/local/navigation-local-link.component.d.ts +7 -0
- package/components/navigation/local/navigation-local.component.d.ts +5 -3
- package/components/navigation/local/public-api.d.ts +1 -1
- package/components/{notification/badge → notification-badge}/index.d.ts +1 -1
- package/components/{notification/badge → notification-badge}/notification-badge.component.d.ts +4 -3
- package/components/{notification/badge → notification-badge}/public-api.d.ts +0 -1
- package/components/pagination/data-pagination/data-pagination-select.component.d.ts +5 -0
- package/components/pagination/data-pagination/data-pagination.component.d.ts +3 -3
- package/components/pagination/data-pagination/public-api.d.ts +1 -1
- package/components/pagination/list-pagination/list-pagination.component.d.ts +21 -15
- package/components/pagination/list-pagination/public-api.d.ts +0 -1
- package/components/popover/popover-close.component.d.ts +8 -0
- package/components/popover/popover-content.component.d.ts +17 -0
- package/components/popover/popover-header.component.d.ts +5 -0
- package/components/popover/popover-trigger.component.d.ts +5 -0
- package/components/popover/popover.component.d.ts +29 -9
- package/components/popover/popover.module.d.ts +5 -2
- package/components/popover/public-api.d.ts +5 -1
- package/components/progressbar/progressbar.component.d.ts +4 -4
- package/components/progressbar/public-api.d.ts +0 -1
- package/components/puff-list/public-api.d.ts +7 -4
- package/components/puff-list/puff-list-item-content-info.component.d.ts +5 -0
- package/components/puff-list/puff-list-item-content.component.d.ts +5 -0
- package/components/puff-list/puff-list-item-date-label.component.d.ts +5 -0
- package/components/puff-list/puff-list-item-extra-content.component.d.ts +5 -0
- package/components/puff-list/{puff-item/puff-header/puff-list-item-header.component.d.ts → puff-list-item-header.component.d.ts} +1 -3
- package/components/puff-list/puff-list-item.component.d.ts +12 -0
- package/components/puff-list/puff-list.component.d.ts +4 -1
- package/components/puff-list/puff-list.module.d.ts +7 -5
- package/components/region-icon/public-api.d.ts +0 -1
- package/components/region-icon/region-icon.component.d.ts +5 -3
- package/components/side-menu/public-api.d.ts +3 -1
- package/components/side-menu/side-menu-icon.component.d.ts +7 -0
- package/components/side-menu/side-menu-link.component.d.ts +5 -0
- package/components/side-menu/side-menu.component.d.ts +15 -7
- package/components/side-menu/side-menu.module.d.ts +3 -2
- package/components/side-panel/public-api.d.ts +3 -1
- package/components/side-panel/side-panel-footer.component.d.ts +5 -0
- package/components/side-panel/side-panel-provider.component.d.ts +9 -0
- package/components/side-panel/side-panel.component.d.ts +30 -12
- package/components/side-panel/side-panel.module.d.ts +3 -2
- package/components/stepper/public-api.d.ts +3 -2
- package/components/stepper/step-header.component.d.ts +5 -0
- package/components/stepper/step.component.d.ts +20 -0
- package/components/stepper/stepper.component.d.ts +6 -5
- package/components/stepper/stepper.module.d.ts +3 -3
- package/components/tabs/public-api.d.ts +2 -4
- package/components/tabs/tab-group.component.d.ts +21 -0
- package/components/tabs/tab.component.d.ts +14 -0
- package/components/tag/public-api.d.ts +1 -1
- package/components/tag/tag.component.d.ts +4 -5
- package/components/tag/tag.directive.d.ts +5 -0
- package/components/tooltip/public-api.d.ts +1 -0
- package/components/tooltip/tooltip-trigger.directive.d.ts +8 -0
- package/components/tooltip/tooltip.component.d.ts +18 -5
- package/components/tooltip/tooltip.module.d.ts +2 -2
- package/eslint/index.js +6 -0
- package/eslint/rules/no-old-components.js +39 -0
- package/eslint/rules/no-slots.js +254 -0
- package/esm2022/common/classes/form/IDErrorMessageBase.mjs +19 -0
- package/esm2022/common/classes/form/IDFormBase.mjs +119 -31
- package/esm2022/common/context/header-context.mjs +3 -0
- package/esm2022/common/directives/click-outside.directive.mjs +30 -0
- package/esm2022/common/public-api.mjs +8 -1
- package/esm2022/common/services/input-label-linker.service.mjs +26 -0
- package/esm2022/common/services/tooltip-category.service.mjs +16 -0
- package/esm2022/common/services/use-id.service.ts.mjs +19 -0
- package/esm2022/common/utilities/useEscKey.mjs +11 -0
- package/esm2022/components/accordion/accordion-header.component.mjs +25 -0
- package/esm2022/components/accordion/accordion.component.mjs +78 -25
- package/esm2022/components/accordion/public-api.mjs +2 -2
- package/esm2022/components/action-link/action-link.component.mjs +25 -5
- package/esm2022/components/action-link/public-api.mjs +2 -3
- package/esm2022/components/alert/alert-header.component.mjs +25 -0
- package/esm2022/components/alert/alert.component.mjs +93 -33
- package/esm2022/components/alert/public-api.mjs +2 -2
- package/esm2022/components/badge/badge.component.mjs +13 -6
- package/esm2022/components/badge/public-api.mjs +1 -2
- package/esm2022/components/box-link/box-link-button.component.mjs +25 -0
- package/esm2022/components/box-link/box-link.component.mjs +14 -6
- package/esm2022/components/box-link/public-api.mjs +2 -2
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +16 -7
- package/esm2022/components/breadcrumbs/crumb.component.mjs +10 -11
- package/esm2022/components/breadcrumbs/public-api.mjs +1 -2
- package/esm2022/components/button/button.directive.mjs +140 -0
- package/esm2022/components/button/public-api.mjs +2 -3
- package/esm2022/components/button-group/button-group.component.mjs +22 -6
- package/esm2022/components/button-group/public-api.mjs +1 -2
- package/esm2022/components/card/card-link.directive.mjs +17 -0
- package/esm2022/components/card/card.component.mjs +35 -20
- package/esm2022/components/card/public-api.mjs +2 -2
- package/esm2022/components/carousel/carousel-item/carousel-item.component.mjs +21 -9
- package/esm2022/components/carousel/carousel.component.mjs +62 -9
- package/esm2022/components/carousel/public-api.mjs +1 -2
- package/esm2022/components/date-label/date-label.component.mjs +105 -25
- package/esm2022/components/date-label/public-api.mjs +1 -2
- package/esm2022/components/dialog/dialog-close.component.mjs +24 -0
- package/esm2022/components/dialog/dialog-content.component.mjs +15 -0
- package/esm2022/components/dialog/dialog-footer.component.mjs +18 -0
- package/esm2022/components/dialog/dialog-header.component.mjs +15 -0
- package/esm2022/components/dialog/dialog-trigger.component.mjs +15 -0
- package/esm2022/components/dialog/dialog.component.mjs +134 -28
- package/esm2022/components/dialog/public-api.mjs +6 -2
- package/esm2022/components/dropdown/dropdown-item.directive.mjs +18 -0
- package/esm2022/components/dropdown/dropdown-trigger.component.mjs +16 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +82 -35
- package/esm2022/components/dropdown/dropdown.module.mjs +30 -0
- package/esm2022/components/dropdown/public-api.mjs +4 -2
- package/esm2022/components/footer-1177/footer-1177-col.component.mjs +42 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177/footer-1177-text.component.mjs +29 -0
- package/esm2022/components/footer-1177/footer-1177.component.mjs +30 -16
- package/esm2022/components/footer-1177/footer-1177.module.mjs +45 -0
- package/esm2022/components/footer-1177/public-api.mjs +7 -1
- package/esm2022/components/footer-1177-admin/footer-1177-admin-col.component.mjs +42 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin-text.component.mjs +29 -0
- package/esm2022/components/footer-1177-admin/footer-1177-admin.component.mjs +29 -14
- package/esm2022/components/footer-1177-admin/footer-1177-admin.module.mjs +45 -0
- package/esm2022/components/footer-1177-admin/public-api.mjs +7 -1
- package/esm2022/components/footer-1177-pro/footer-1177-pro-col.component.mjs +42 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro-text.component.mjs +29 -0
- package/esm2022/components/footer-1177-pro/footer-1177-pro.component.mjs +29 -14
- package/esm2022/components/footer-1177-pro/footer-1177-pro.module.mjs +45 -0
- package/esm2022/components/footer-1177-pro/public-api.mjs +7 -1
- package/esm2022/components/footer-inera/footer-inera-col.component.mjs +42 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-inera/footer-inera-text.component.mjs +29 -0
- package/esm2022/components/footer-inera/footer-inera.component.mjs +29 -14
- package/esm2022/components/footer-inera/footer-inera.module.mjs +45 -0
- package/esm2022/components/footer-inera/public-api.mjs +7 -1
- package/esm2022/components/footer-inera-admin/footer-inera-admin-col.component.mjs +46 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.mjs +18 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin-text.component.mjs +29 -0
- package/esm2022/components/footer-inera-admin/footer-inera-admin.component.mjs +29 -14
- package/esm2022/components/footer-inera-admin/footer-inera-admin.module.mjs +45 -0
- package/esm2022/components/footer-inera-admin/public-api.mjs +8 -2
- package/esm2022/components/form/check-button/check-button.component.mjs +11 -8
- package/esm2022/components/form/check-button/public-api.mjs +1 -2
- package/esm2022/components/form/checkbox/checkbox.component.mjs +39 -19
- package/esm2022/components/form/checkbox/public-api.mjs +1 -2
- package/esm2022/components/form/checkbox-group/checkbox-group.component.mjs +34 -16
- package/esm2022/components/form/checkbox-group/public-api.mjs +1 -2
- package/esm2022/components/form/darkmode-toggle/darkmode-toggle.component.mjs +12 -0
- package/esm2022/components/form/darkmode-toggle/inera-ids-angular-components-form-darkmode-toggle.mjs +5 -0
- package/esm2022/components/form/darkmode-toggle/public-api.mjs +2 -0
- package/esm2022/components/form/error-message/error-message.component.mjs +40 -15
- package/esm2022/components/form/error-message/public-api.mjs +1 -2
- package/esm2022/components/form/input/input-hint.component.mjs +18 -0
- package/esm2022/components/form/input/input-icon.component.mjs +23 -0
- package/esm2022/components/form/input/input.component.mjs +35 -14
- package/esm2022/components/form/input/public-api.mjs +3 -2
- package/esm2022/components/form/radio/public-api.mjs +1 -2
- package/esm2022/components/form/radio/radio-group.component.mjs +44 -17
- package/esm2022/components/form/radio/radio.component.mjs +18 -8
- package/esm2022/components/form/radio-button/public-api.mjs +1 -2
- package/esm2022/components/form/radio-button/radio-button-group.component.mjs +35 -7
- package/esm2022/components/form/radio-button/radio-button.component.mjs +13 -5
- package/esm2022/components/form/range/public-api.mjs +1 -2
- package/esm2022/components/form/range/range.component.mjs +65 -8
- package/esm2022/components/form/select/public-api.mjs +1 -2
- package/esm2022/components/form/select/select.component.mjs +9 -5
- package/esm2022/components/form/select-multiple/public-api.mjs +1 -2
- package/esm2022/components/form/select-multiple/select-multiple.component.mjs +86 -23
- package/esm2022/components/form/spinner/public-api.mjs +1 -2
- package/esm2022/components/form/spinner/spinner.component.mjs +15 -11
- package/esm2022/components/form/textarea/public-api.mjs +2 -2
- package/esm2022/components/form/textarea/textarea-hint.component.mjs +18 -0
- package/esm2022/components/form/textarea/textarea.component.mjs +46 -14
- package/esm2022/components/form/time/public-api.mjs +1 -2
- package/esm2022/components/form/time/time.component.mjs +7 -4
- package/esm2022/components/form/toggle/public-api.mjs +1 -2
- package/esm2022/components/form/toggle/toggle.component.mjs +6 -4
- package/esm2022/components/global-alert/global-alert-actions.component.mjs +26 -0
- package/esm2022/components/global-alert/global-alert-header.component.mjs +26 -0
- package/esm2022/components/global-alert/global-alert.component.mjs +73 -23
- package/esm2022/components/global-alert/public-api.mjs +3 -2
- package/esm2022/components/grid/column/column.component.mjs +41 -23
- package/esm2022/components/grid/column/public-api.mjs +1 -2
- package/esm2022/components/grid/container/container.component.mjs +18 -9
- package/esm2022/components/grid/container/public-api.mjs +1 -2
- package/esm2022/components/grid/public-api.mjs +1 -4
- package/esm2022/components/grid/row/public-api.mjs +1 -2
- package/esm2022/components/grid/row/row.component.mjs +31 -19
- package/esm2022/components/grid-layout/grid-column/grid-column.component.mjs +72 -0
- package/esm2022/components/grid-layout/grid-column/inera-ids-angular-components-grid-layout-grid-column.mjs +5 -0
- package/esm2022/components/grid-layout/grid-column/public-api.mjs +2 -0
- package/esm2022/components/grid-layout/grid-container/grid-container.component.mjs +35 -0
- package/esm2022/components/grid-layout/grid-container/inera-ids-angular-components-grid-layout-grid-container.mjs +5 -0
- package/esm2022/components/grid-layout/grid-container/public-api.mjs +2 -0
- package/esm2022/components/grid-layout/grid-row/grid-row.component.mjs +43 -0
- package/esm2022/components/grid-layout/grid-row/inera-ids-angular-components-grid-layout-grid-row.mjs +5 -0
- package/esm2022/components/grid-layout/grid-row/public-api.mjs +2 -0
- package/esm2022/components/grid-layout/inera-ids-angular-components-grid-layout.mjs +5 -0
- package/esm2022/components/grid-layout/public-api.mjs +4 -0
- package/esm2022/components/header-1177/avatar/header-1177-avatar-agent.component.mjs +20 -0
- package/esm2022/components/header-1177/avatar/header-1177-avatar.component.mjs +102 -14
- package/esm2022/components/header-1177/brand-link/header-1177-brand-link.directive.mjs +17 -0
- package/esm2022/components/header-1177/header-1177.component.mjs +34 -42
- package/esm2022/components/header-1177/header-1177.module.mjs +80 -0
- package/esm2022/components/header-1177/item/header-1177-item.component.mjs +42 -11
- package/esm2022/components/header-1177/menu-mobile/header-1177-menu-mobile.component.mjs +50 -7
- package/esm2022/components/header-1177/nav/header-1177-nav.component.mjs +45 -57
- package/esm2022/components/header-1177/nav-item/header-1177-nav-item.component.mjs +141 -11
- package/esm2022/components/header-1177/nav-item-menu-link/header-1177-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-1177/nav-item-mobile/header-1177-nav-item-mobile.component.mjs +29 -8
- package/esm2022/components/header-1177/public-api.mjs +6 -1
- package/esm2022/components/header-1177/region-picker/header-1177-region-picker.component.mjs +69 -11
- package/esm2022/components/header-1177/region-picker-mobile/header-1177-region-picker-mobile.component.mjs +64 -12
- package/esm2022/components/header-1177/skip-to-content/header-1177-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-1177-admin/avatar/header-1177-admin-avatar.component.mjs +116 -13
- package/esm2022/components/header-1177-admin/avatar-mobile/header-1177-admin-avatar-mobile.component.mjs +113 -12
- package/esm2022/components/header-1177-admin/brand-link/header-1177-admin-brand-link.directive.mjs +17 -0
- package/esm2022/components/header-1177-admin/header-1177-admin.component.mjs +36 -54
- package/esm2022/components/header-1177-admin/header-1177-admin.module.mjs +70 -0
- package/esm2022/components/header-1177-admin/item/header-1177-admin-item.component.mjs +29 -8
- package/esm2022/components/header-1177-admin/menu-mobile/header-1177-admin-menu-mobile.component.mjs +58 -7
- package/esm2022/components/header-1177-admin/nav/header-1177-admin-nav.component.mjs +28 -37
- package/esm2022/components/header-1177-admin/nav-item/header-1177-admin-nav-item.component.mjs +143 -13
- package/esm2022/components/header-1177-admin/nav-item-menu-link/header-1177-admin-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-1177-admin/nav-item-mobile/header-1177-admin-nav-item-mobile.mjs +36 -0
- package/esm2022/components/header-1177-admin/public-api.mjs +6 -1
- package/esm2022/components/header-1177-admin/skip-to-content/header-1177-admin-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-1177-pro/avatar/header-1177-pro-avatar.component.mjs +118 -15
- package/esm2022/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.mjs +113 -12
- package/esm2022/components/header-1177-pro/brand-link/header-1177-pro-brand-link.directive.mjs +17 -0
- package/esm2022/components/header-1177-pro/header-1177-pro.component.mjs +32 -62
- package/esm2022/components/header-1177-pro/header-1177-pro.module.mjs +80 -0
- package/esm2022/components/header-1177-pro/item/header-1177-pro-item.component.mjs +29 -8
- package/esm2022/components/header-1177-pro/menu-mobile/header-1177-pro-menu-mobile.component.mjs +58 -8
- package/esm2022/components/header-1177-pro/nav/header-1177-pro-nav.component.mjs +25 -46
- package/esm2022/components/header-1177-pro/nav-item/header-1177-pro-nav-item.component.mjs +142 -15
- package/esm2022/components/header-1177-pro/nav-item-menu-link/header-1177-pro-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-1177-pro/nav-item-mobile/header-1177-pro-nav-item-mobile.mjs +36 -0
- package/esm2022/components/header-1177-pro/public-api.mjs +6 -1
- package/esm2022/components/header-1177-pro/region-picker/header-1177-pro-region-picker.component.mjs +69 -11
- package/esm2022/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.mjs +64 -12
- package/esm2022/components/header-1177-pro/skip-to-content/header-1177-pro-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-inera/brand-link/header-inera-brand-link.directive.mjs +14 -0
- package/esm2022/components/header-inera/header-inera.component.mjs +38 -45
- package/esm2022/components/header-inera/header-inera.module.mjs +55 -0
- package/esm2022/components/header-inera/item/header-inera-item.component.mjs +29 -8
- package/esm2022/components/header-inera/menu-mobile/header-inera-menu-mobile.component.mjs +64 -16
- package/esm2022/components/header-inera/nav/header-inera-nav.component.mjs +25 -31
- package/esm2022/components/header-inera/nav-item/header-inera-nav-item.component.mjs +154 -0
- package/esm2022/components/header-inera/nav-item-menu-link/header-inera-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-inera/public-api.mjs +6 -2
- package/esm2022/components/header-inera/skip-to-content/header-inera-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-inera-admin/avatar/header-inera-admin-avatar.component.mjs +118 -15
- package/esm2022/components/header-inera-admin/avatar-mobile/header-inera-admin-avatar-mobile.component.mjs +113 -12
- package/esm2022/components/header-inera-admin/brand-link/header-inera-admin-brand-link.directive.mjs +17 -0
- package/esm2022/components/header-inera-admin/header-inera-admin.component.mjs +45 -46
- package/esm2022/components/header-inera-admin/header-inera-admin.module.mjs +70 -0
- package/esm2022/components/header-inera-admin/item/header-inera-admin-item.component.mjs +34 -11
- package/esm2022/components/header-inera-admin/menu-mobile/header-inera-admin-menu-mobile.component.mjs +64 -8
- package/esm2022/components/header-inera-admin/nav/header-inera-admin-nav.component.mjs +24 -35
- package/esm2022/components/header-inera-admin/nav-item/header-inera-admin-nav-item.component.mjs +142 -15
- package/esm2022/components/header-inera-admin/nav-item-menu-link/header-inera-admin-nav-item-menu-link.component.mjs +18 -0
- package/esm2022/components/header-inera-admin/nav-item-mobile/header-inera-admin-nav-item-mobile.mjs +36 -0
- package/esm2022/components/header-inera-admin/public-api.mjs +6 -1
- package/esm2022/components/header-inera-admin/skip-to-content/header-inera-admin-skip-to-content.component.mjs +18 -0
- package/esm2022/components/header-patient/header-patient-actions.component.mjs +22 -0
- package/esm2022/components/header-patient/header-patient.component.mjs +64 -13
- package/esm2022/components/header-patient/public-api.mjs +2 -2
- package/esm2022/components/link/link.directive.mjs +64 -0
- package/esm2022/components/link/public-api.mjs +2 -3
- package/esm2022/components/mobile/menu/item/mobile-menu-item.component.mjs +74 -8
- package/esm2022/components/mobile/menu/item/public-api.mjs +1 -2
- package/esm2022/components/mobile/menu/mobile-menu.component.mjs +32 -8
- package/esm2022/components/mobile/menu/public-api.mjs +1 -2
- package/esm2022/components/navigation/content/navigation-content-link.component.mjs +29 -0
- package/esm2022/components/navigation/content/navigation-content.component.mjs +15 -9
- package/esm2022/components/navigation/content/public-api.mjs +2 -2
- package/esm2022/components/navigation/local/navigation-local-link.component.mjs +27 -0
- package/esm2022/components/navigation/local/navigation-local.component.mjs +13 -7
- package/esm2022/components/navigation/local/public-api.mjs +2 -2
- package/esm2022/components/notification-badge/inera-ids-angular-components-notification-badge.mjs +5 -0
- package/esm2022/components/notification-badge/notification-badge.component.mjs +39 -0
- package/esm2022/components/notification-badge/public-api.mjs +2 -0
- package/esm2022/components/pagination/data-pagination/data-pagination-select.component.mjs +20 -0
- package/esm2022/components/pagination/data-pagination/data-pagination.component.mjs +61 -13
- package/esm2022/components/pagination/data-pagination/public-api.mjs +2 -2
- package/esm2022/components/pagination/list-pagination/list-pagination.component.mjs +168 -34
- package/esm2022/components/pagination/list-pagination/public-api.mjs +1 -2
- package/esm2022/components/popover/popover-close.component.mjs +24 -0
- package/esm2022/components/popover/popover-content.component.mjs +91 -0
- package/esm2022/components/popover/popover-header.component.mjs +18 -0
- package/esm2022/components/popover/popover-trigger.component.mjs +15 -0
- package/esm2022/components/popover/popover.component.mjs +139 -23
- package/esm2022/components/popover/popover.module.mjs +27 -9
- package/esm2022/components/popover/public-api.mjs +6 -2
- package/esm2022/components/progressbar/progressbar.component.mjs +11 -11
- package/esm2022/components/progressbar/public-api.mjs +1 -2
- package/esm2022/components/puff-list/public-api.mjs +8 -5
- package/esm2022/components/puff-list/puff-list-item-content-info.component.mjs +18 -0
- package/esm2022/components/puff-list/puff-list-item-content.component.mjs +15 -0
- package/esm2022/components/puff-list/puff-list-item-date-label.component.mjs +18 -0
- package/esm2022/components/puff-list/puff-list-item-extra-content.component.mjs +18 -0
- package/esm2022/components/puff-list/puff-list-item-header.component.mjs +18 -0
- package/esm2022/components/puff-list/puff-list-item.component.mjs +161 -0
- package/esm2022/components/puff-list/puff-list.component.mjs +33 -5
- package/esm2022/components/puff-list/puff-list.module.mjs +32 -18
- package/esm2022/components/region-icon/public-api.mjs +1 -2
- package/esm2022/components/region-icon/region-icon.component.mjs +31 -10
- package/esm2022/components/side-menu/public-api.mjs +4 -2
- package/esm2022/components/side-menu/side-menu-icon.component.mjs +24 -0
- package/esm2022/components/side-menu/side-menu-link.component.mjs +18 -0
- package/esm2022/components/side-menu/side-menu.component.mjs +190 -17
- package/esm2022/components/side-menu/side-menu.module.mjs +19 -7
- package/esm2022/components/side-panel/public-api.mjs +4 -2
- package/esm2022/components/side-panel/side-panel-footer.component.mjs +50 -0
- package/esm2022/components/side-panel/side-panel-provider.component.mjs +73 -0
- package/esm2022/components/side-panel/side-panel.component.mjs +176 -29
- package/esm2022/components/side-panel/side-panel.module.mjs +21 -8
- package/esm2022/components/stepper/public-api.mjs +4 -3
- package/esm2022/components/stepper/step-header.component.mjs +18 -0
- package/esm2022/components/stepper/step.component.mjs +133 -0
- package/esm2022/components/stepper/stepper.component.mjs +22 -9
- package/esm2022/components/stepper/stepper.module.mjs +14 -11
- package/esm2022/components/tabs/public-api.mjs +3 -5
- package/esm2022/components/tabs/tab-group.component.mjs +51 -0
- package/esm2022/components/tabs/tab.component.mjs +41 -0
- package/esm2022/components/tag/public-api.mjs +2 -2
- package/esm2022/components/tag/tag.component.mjs +13 -14
- package/esm2022/components/tag/tag.directive.mjs +17 -0
- package/esm2022/components/tooltip/public-api.mjs +2 -1
- package/esm2022/components/tooltip/tooltip-trigger.directive.mjs +18 -0
- package/esm2022/components/tooltip/tooltip.component.mjs +75 -9
- package/esm2022/components/tooltip/tooltip.module.mjs +12 -9
- package/fesm2022/inera-ids-angular-common.mjs +225 -30
- package/fesm2022/inera-ids-angular-common.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-accordion.mjs +100 -40
- package/fesm2022/inera-ids-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-action-link.mjs +23 -18
- package/fesm2022/inera-ids-angular-components-action-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-alert.mjs +115 -54
- package/fesm2022/inera-ids-angular-components-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-badge.mjs +13 -25
- package/fesm2022/inera-ids-angular-components-badge.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-box-link.mjs +36 -21
- package/fesm2022/inera-ids-angular-components-box-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +23 -42
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-button-group.mjs +22 -25
- package/fesm2022/inera-ids-angular-components-button-group.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-button.mjs +122 -71
- package/fesm2022/inera-ids-angular-components-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-card.mjs +45 -34
- package/fesm2022/inera-ids-angular-components-card.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-carousel.mjs +80 -39
- package/fesm2022/inera-ids-angular-components-carousel.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-date-label.mjs +105 -44
- package/fesm2022/inera-ids-angular-components-date-label.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dialog.mjs +204 -42
- package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dropdown.mjs +137 -60
- package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177.mjs +181 -16
- package/fesm2022/inera-ids-angular-components-footer-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +184 -14
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs +180 -14
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-check-button.mjs +10 -22
- package/fesm2022/inera-ids-angular-components-form-check-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs +34 -38
- package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-checkbox.mjs +38 -37
- package/fesm2022/inera-ids-angular-components-form-checkbox.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-darkmode-toggle.mjs +19 -0
- package/fesm2022/inera-ids-angular-components-form-darkmode-toggle.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-form-error-message.mjs +38 -32
- package/fesm2022/inera-ids-angular-components-form-error-message.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-input.mjs +66 -30
- package/fesm2022/inera-ids-angular-components-form-input.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-radio-button.mjs +46 -27
- package/fesm2022/inera-ids-angular-components-form-radio-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-radio.mjs +65 -55
- package/fesm2022/inera-ids-angular-components-form-radio.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-range.mjs +64 -26
- package/fesm2022/inera-ids-angular-components-form-range.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs +86 -46
- package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-select.mjs +8 -23
- package/fesm2022/inera-ids-angular-components-form-select.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-spinner.mjs +15 -30
- package/fesm2022/inera-ids-angular-components-form-spinner.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-textarea.mjs +56 -29
- package/fesm2022/inera-ids-angular-components-form-textarea.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-time.mjs +7 -23
- package/fesm2022/inera-ids-angular-components-form-time.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-toggle.mjs +6 -23
- package/fesm2022/inera-ids-angular-components-form-toggle.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-global-alert.mjs +118 -39
- package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid-column.mjs +41 -42
- package/fesm2022/inera-ids-angular-components-grid-column.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid-container.mjs +18 -28
- package/fesm2022/inera-ids-angular-components-grid-container.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-column.mjs +79 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-column.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-container.mjs +42 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-container.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-row.mjs +50 -0
- package/fesm2022/inera-ids-angular-components-grid-layout-grid-row.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-grid-layout.mjs +153 -0
- package/fesm2022/inera-ids-angular-components-grid-layout.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-grid-row.mjs +31 -38
- package/fesm2022/inera-ids-angular-components-grid-row.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-grid.mjs +86 -104
- package/fesm2022/inera-ids-angular-components-grid.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +673 -159
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +803 -197
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177.mjs +711 -181
- package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +672 -140
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera.mjs +388 -117
- package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-patient.mjs +79 -27
- package/fesm2022/inera-ids-angular-components-header-patient.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-link.mjs +49 -48
- package/fesm2022/inera-ids-angular-components-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs +74 -25
- package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-mobile-menu.mjs +107 -36
- package/fesm2022/inera-ids-angular-components-mobile-menu.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-navigation-content.mjs +41 -28
- package/fesm2022/inera-ids-angular-components-navigation-content.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-navigation-local.mjs +37 -22
- package/fesm2022/inera-ids-angular-components-navigation-local.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-notification-badge.mjs +30 -25
- package/fesm2022/inera-ids-angular-components-notification-badge.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-pagination-data-pagination.mjs +73 -23
- package/fesm2022/inera-ids-angular-components-pagination-data-pagination.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-pagination-list-pagination.mjs +168 -49
- package/fesm2022/inera-ids-angular-components-pagination-list-pagination.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-popover.mjs +297 -29
- package/fesm2022/inera-ids-angular-components-popover.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-progressbar.mjs +11 -30
- package/fesm2022/inera-ids-angular-components-progressbar.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-puff-list.mjs +277 -89
- package/fesm2022/inera-ids-angular-components-puff-list.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-region-icon.mjs +31 -25
- package/fesm2022/inera-ids-angular-components-region-icon.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-side-menu.mjs +243 -22
- package/fesm2022/inera-ids-angular-components-side-menu.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-side-panel.mjs +310 -35
- package/fesm2022/inera-ids-angular-components-side-panel.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-stepper.mjs +151 -40
- package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tabs.mjs +66 -97
- package/fesm2022/inera-ids-angular-components-tabs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tag.mjs +23 -28
- package/fesm2022/inera-ids-angular-components-tag.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tooltip.mjs +98 -15
- package/fesm2022/inera-ids-angular-components-tooltip.mjs.map +1 -1
- package/package.json +105 -70
- package/components/accordion/accordion.module.d.ts +0 -8
- package/components/action-link/action-link.module.d.ts +0 -8
- package/components/alert/alert.module.d.ts +0 -9
- package/components/badge/badge.module.d.ts +0 -8
- package/components/box-link/box-link.module.d.ts +0 -8
- package/components/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/components/button/button.component.d.ts +0 -25
- package/components/button/button.module.d.ts +0 -9
- package/components/button-group/button-group.module.d.ts +0 -8
- package/components/card/card.module.d.ts +0 -8
- package/components/carousel/carousel.module.d.ts +0 -9
- package/components/date-label/date-label.module.d.ts +0 -8
- package/components/dialog/dialog.module.d.ts +0 -8
- package/components/dropdown/dropdown-content.component.d.ts +0 -9
- package/components/form/check-button/check-button.module.d.ts +0 -8
- package/components/form/checkbox/checkbox.module.d.ts +0 -8
- package/components/form/checkbox-group/checkbox-group.module.d.ts +0 -10
- package/components/form/error-message/error-message.module.d.ts +0 -8
- package/components/form/input/input.module.d.ts +0 -9
- package/components/form/radio/radio.module.d.ts +0 -10
- package/components/form/radio-button/radio-button.module.d.ts +0 -10
- package/components/form/range/range.module.d.ts +0 -8
- package/components/form/select/select.module.d.ts +0 -8
- package/components/form/select-multiple/select-multiple.module.d.ts +0 -9
- package/components/form/spinner/spinner.module.d.ts +0 -8
- package/components/form/textarea/textarea.module.d.ts +0 -9
- package/components/form/time/time.module.d.ts +0 -8
- package/components/form/toggle/toggle.module.d.ts +0 -8
- package/components/global-alert/global-alert.module.d.ts +0 -9
- package/components/grid/column/column.module.d.ts +0 -8
- package/components/grid/container/container.module.d.ts +0 -8
- package/components/grid/row/row.module.d.ts +0 -8
- package/components/header-inera/nav/header-inera-nav-item.component.d.ts +0 -11
- package/components/header-patient/header-patient.module.d.ts +0 -8
- package/components/link/link.component.d.ts +0 -15
- package/components/link/link.module.d.ts +0 -9
- package/components/mobile/menu/item/mobile-menu-item.module.d.ts +0 -9
- package/components/mobile/menu/mobile-menu.module.d.ts +0 -10
- package/components/navigation/content/navigation-content.module.d.ts +0 -8
- package/components/navigation/local/navigation-local.module.d.ts +0 -8
- package/components/notification/badge/notification-badge.module.d.ts +0 -8
- package/components/pagination/data-pagination/data-pagination.module.d.ts +0 -8
- package/components/pagination/list-pagination/list-pagination.module.d.ts +0 -8
- package/components/progressbar/progressbar.module.d.ts +0 -8
- package/components/puff-list/puff-item/puff-info/puff-list-item-info.component.d.ts +0 -7
- package/components/puff-list/puff-item/puff-list-item.component.d.ts +0 -22
- package/components/region-icon/region-icon.module.d.ts +0 -8
- package/components/stepper/step/step.component.d.ts +0 -19
- package/components/tabs/panel/tab-panel.component.d.ts +0 -9
- package/components/tabs/tab/tab.component.d.ts +0 -11
- package/components/tabs/tabs.component.d.ts +0 -20
- package/components/tabs/tabs.module.d.ts +0 -11
- package/components/tag/tag.module.d.ts +0 -8
- package/esm2022/components/accordion/accordion.module.mjs +0 -18
- package/esm2022/components/action-link/action-link.module.mjs +0 -18
- package/esm2022/components/alert/alert.module.mjs +0 -24
- package/esm2022/components/badge/badge.module.mjs +0 -22
- package/esm2022/components/box-link/box-link.module.mjs +0 -18
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +0 -31
- package/esm2022/components/button/button.component.mjs +0 -68
- package/esm2022/components/button/button.module.mjs +0 -24
- package/esm2022/components/button-group/button-group.module.mjs +0 -22
- package/esm2022/components/card/card.module.mjs +0 -22
- package/esm2022/components/carousel/carousel.module.mjs +0 -27
- package/esm2022/components/date-label/date-label.module.mjs +0 -22
- package/esm2022/components/dialog/dialog.module.mjs +0 -22
- package/esm2022/components/dropdown/dropdown-content.component.mjs +0 -29
- package/esm2022/components/form/check-button/check-button.module.mjs +0 -18
- package/esm2022/components/form/checkbox/checkbox.module.mjs +0 -22
- package/esm2022/components/form/checkbox-group/checkbox-group.module.mjs +0 -25
- package/esm2022/components/form/error-message/error-message.module.mjs +0 -22
- package/esm2022/components/form/input/input.module.mjs +0 -24
- package/esm2022/components/form/radio/radio.module.mjs +0 -31
- package/esm2022/components/form/radio-button/radio-button.module.mjs +0 -21
- package/esm2022/components/form/range/range.module.mjs +0 -22
- package/esm2022/components/form/select/select.module.mjs +0 -22
- package/esm2022/components/form/select-multiple/select-multiple.module.mjs +0 -26
- package/esm2022/components/form/spinner/spinner.module.mjs +0 -22
- package/esm2022/components/form/textarea/textarea.module.mjs +0 -24
- package/esm2022/components/form/time/time.module.mjs +0 -22
- package/esm2022/components/form/toggle/toggle.module.mjs +0 -22
- package/esm2022/components/global-alert/global-alert.module.mjs +0 -20
- package/esm2022/components/grid/column/column.module.mjs +0 -22
- package/esm2022/components/grid/container/container.module.mjs +0 -22
- package/esm2022/components/grid/row/row.module.mjs +0 -22
- package/esm2022/components/header-inera/nav/header-inera-nav-item.component.mjs +0 -27
- package/esm2022/components/header-patient/header-patient.module.mjs +0 -22
- package/esm2022/components/link/link.component.mjs +0 -42
- package/esm2022/components/link/link.module.mjs +0 -24
- package/esm2022/components/mobile/menu/item/mobile-menu-item.module.mjs +0 -20
- package/esm2022/components/mobile/menu/mobile-menu.module.mjs +0 -21
- package/esm2022/components/navigation/content/navigation-content.module.mjs +0 -22
- package/esm2022/components/navigation/local/navigation-local.module.mjs +0 -18
- package/esm2022/components/notification/badge/inera-ids-angular-components-notification-badge.mjs +0 -5
- package/esm2022/components/notification/badge/notification-badge.component.mjs +0 -15
- package/esm2022/components/notification/badge/notification-badge.module.mjs +0 -22
- package/esm2022/components/notification/badge/public-api.mjs +0 -3
- package/esm2022/components/pagination/data-pagination/data-pagination.module.mjs +0 -18
- package/esm2022/components/pagination/list-pagination/list-pagination.module.mjs +0 -18
- package/esm2022/components/progressbar/progressbar.module.mjs +0 -22
- package/esm2022/components/puff-list/puff-item/puff-header/puff-list-item-header.component.mjs +0 -15
- package/esm2022/components/puff-list/puff-item/puff-info/puff-list-item-info.component.mjs +0 -15
- package/esm2022/components/puff-list/puff-item/puff-list-item.component.mjs +0 -60
- package/esm2022/components/region-icon/region-icon.module.mjs +0 -18
- package/esm2022/components/stepper/step/step.component.mjs +0 -52
- package/esm2022/components/tabs/panel/tab-panel.component.mjs +0 -21
- package/esm2022/components/tabs/tab/tab.component.mjs +0 -26
- package/esm2022/components/tabs/tabs.component.mjs +0 -50
- package/esm2022/components/tabs/tabs.module.mjs +0 -34
- package/esm2022/components/tag/tag.module.mjs +0 -22
|
@@ -1,49 +1,244 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Output,
|
|
2
|
+
import { Injectable, inject, HostBinding, Input, Directive, EventEmitter, ElementRef, Renderer2, Output, ContentChild, signal, InjectionToken, DestroyRef } from '@angular/core';
|
|
3
|
+
import { NgControl } from '@angular/forms';
|
|
4
|
+
import { merge, EMPTY, fromEvent } from 'rxjs';
|
|
5
|
+
import { auditTime, filter } from 'rxjs/operators';
|
|
6
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
7
|
+
|
|
8
|
+
class IDInputLabelLinker {
|
|
9
|
+
static nextId = 0;
|
|
10
|
+
renderer;
|
|
11
|
+
constructor(rendererFactory) {
|
|
12
|
+
this.renderer = rendererFactory.createRenderer(null, null);
|
|
13
|
+
}
|
|
14
|
+
link(host) {
|
|
15
|
+
const el = host.nativeElement;
|
|
16
|
+
const label = el.querySelector('label');
|
|
17
|
+
const input = el.querySelector('input, textarea, select');
|
|
18
|
+
if (!input || !label)
|
|
19
|
+
return;
|
|
20
|
+
const id = input.id || `ids-form-element-${IDInputLabelLinker.nextId++}`;
|
|
21
|
+
this.renderer.setAttribute(input, 'id', id);
|
|
22
|
+
this.renderer.setAttribute(label, 'for', id);
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDInputLabelLinker, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDInputLabelLinker, providedIn: 'root' });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDInputLabelLinker, decorators: [{
|
|
28
|
+
type: Injectable,
|
|
29
|
+
args: [{ providedIn: 'root' }]
|
|
30
|
+
}], ctorParameters: () => [{ type: i0.RendererFactory2 }] });
|
|
31
|
+
|
|
32
|
+
class IDUseIdService {
|
|
33
|
+
static componentCounters = {};
|
|
34
|
+
generateId(componentName) {
|
|
35
|
+
if (!IDUseIdService.componentCounters[componentName]) {
|
|
36
|
+
IDUseIdService.componentCounters[componentName] = 0;
|
|
37
|
+
}
|
|
38
|
+
IDUseIdService.componentCounters[componentName]++;
|
|
39
|
+
return `ids-${componentName}-${IDUseIdService.componentCounters[componentName]}`;
|
|
40
|
+
}
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDUseIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
42
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDUseIdService, providedIn: 'root' });
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDUseIdService, decorators: [{
|
|
45
|
+
type: Injectable,
|
|
46
|
+
args: [{ providedIn: 'root' }]
|
|
47
|
+
}] });
|
|
48
|
+
|
|
49
|
+
class IDErrorMessageBase {
|
|
50
|
+
show = false;
|
|
51
|
+
idService = inject(IDUseIdService);
|
|
52
|
+
id = this.idService.generateId('error-message');
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDErrorMessageBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
+
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 });
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDErrorMessageBase, decorators: [{
|
|
57
|
+
type: Directive
|
|
58
|
+
}], propDecorators: { show: [{
|
|
59
|
+
type: HostBinding,
|
|
60
|
+
args: ['class.ids-error-message--show']
|
|
61
|
+
}, {
|
|
62
|
+
type: Input
|
|
63
|
+
}] } });
|
|
3
64
|
|
|
4
65
|
class IDFormBase {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
novalidation = false;
|
|
9
|
-
onValid = new EventEmitter();
|
|
10
|
-
onInvalid = new EventEmitter();
|
|
66
|
+
ngControl;
|
|
67
|
+
errorMessage;
|
|
68
|
+
validateOn = 'dirty';
|
|
11
69
|
invalidChange = new EventEmitter();
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
this.invalid
|
|
19
|
-
this.
|
|
20
|
-
this.invalidChange.emit(
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
70
|
+
_invalid = false;
|
|
71
|
+
get invalid() {
|
|
72
|
+
return this._invalid;
|
|
73
|
+
}
|
|
74
|
+
set invalid(value) {
|
|
75
|
+
this._invalid = value;
|
|
76
|
+
this.toggleInputArias({ invalid: this._invalid });
|
|
77
|
+
this.toggleErrorMessage();
|
|
78
|
+
this.invalidChange.emit(value);
|
|
79
|
+
}
|
|
80
|
+
srof = 'av';
|
|
81
|
+
light = false;
|
|
82
|
+
inputLabelLinker = inject(IDInputLabelLinker);
|
|
83
|
+
blurEvent;
|
|
84
|
+
get input() {
|
|
85
|
+
return (this.host.nativeElement.querySelector('input') ||
|
|
86
|
+
this.host.nativeElement.querySelector('textarea') ||
|
|
87
|
+
this.host.nativeElement.querySelector('select'));
|
|
88
|
+
}
|
|
89
|
+
get label() {
|
|
90
|
+
return this.host.nativeElement.querySelector('label');
|
|
91
|
+
}
|
|
92
|
+
get checkbox() {
|
|
93
|
+
return this.host.nativeElement.querySelector('input[type=checkbox]');
|
|
94
|
+
}
|
|
95
|
+
host = inject(ElementRef);
|
|
96
|
+
renderer = inject(Renderer2);
|
|
97
|
+
ngAfterContentInit() {
|
|
98
|
+
if (!this.input) {
|
|
99
|
+
throw new Error('IDS ERROR - Input missing in ' + this.host.nativeElement.tagName);
|
|
100
|
+
}
|
|
101
|
+
if (this.validateOn === 'immediate') {
|
|
102
|
+
this._updateErrorState();
|
|
103
|
+
}
|
|
104
|
+
if (this.validateOn === 'touched' || this.validateOn === 'blur') {
|
|
105
|
+
this.blurEvent = this.renderer.listen(this.input, 'blur', () => {
|
|
106
|
+
this._updateErrorState();
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
if (this.ngControl && this.validateOn !== 'blur') {
|
|
110
|
+
merge(...[this.ngControl.statusChanges ?? EMPTY, this.ngControl.valueChanges ?? EMPTY])
|
|
111
|
+
.pipe(auditTime(0))
|
|
112
|
+
.subscribe(() => this._updateErrorState());
|
|
113
|
+
}
|
|
114
|
+
this.inputLabelLinker.link(this.host);
|
|
115
|
+
this.renderer.addClass(this.label, 'ids-label');
|
|
116
|
+
if (this.light) {
|
|
117
|
+
this.renderer.addClass(this.input, 'ids-input--light');
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
_updateErrorState() {
|
|
121
|
+
if (!this.ngControl || this.validateOn === 'none')
|
|
122
|
+
return;
|
|
123
|
+
switch (this.validateOn) {
|
|
124
|
+
case 'immediate':
|
|
125
|
+
this.invalid = Boolean(this.ngControl.invalid);
|
|
126
|
+
break;
|
|
127
|
+
case 'touched':
|
|
128
|
+
this.invalid = Boolean(this.ngControl.invalid) && Boolean(this.ngControl.touched);
|
|
129
|
+
break;
|
|
130
|
+
case 'dirty':
|
|
131
|
+
this.invalid = Boolean(this.ngControl.invalid) && Boolean(this.ngControl.dirty);
|
|
132
|
+
break;
|
|
133
|
+
case 'blur':
|
|
134
|
+
this.invalid = Boolean(this.ngControl.invalid);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
toggleErrorMessage() {
|
|
138
|
+
if (!this.errorMessage)
|
|
139
|
+
return;
|
|
140
|
+
this.errorMessage.show = this.invalid;
|
|
141
|
+
}
|
|
142
|
+
toggleInputArias({ invalid }) {
|
|
143
|
+
if (this.checkbox) {
|
|
144
|
+
this.renderer.setAttribute(this.input, 'aria-checked', this.checkbox.checked);
|
|
145
|
+
}
|
|
146
|
+
this.renderer.setAttribute(this.input, 'aria-required', this.input.required);
|
|
147
|
+
if (invalid) {
|
|
148
|
+
this.renderer.addClass(this.input, 'ids-input--invalid');
|
|
149
|
+
this.renderer.setAttribute(this.input, 'aria-invalid', 'true');
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
this.renderer.removeClass(this.input, 'ids-input--invalid');
|
|
153
|
+
this.renderer.removeAttribute(this.input, 'aria-invalid');
|
|
154
|
+
}
|
|
155
|
+
if (this.errorMessage) {
|
|
156
|
+
this.renderer.setAttribute(this.input, 'aria-describedby', this.errorMessage.id);
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
this.renderer.removeAttribute(this.input, 'aria-describedby');
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
ngOnDestroy() {
|
|
163
|
+
this.blurEvent?.();
|
|
164
|
+
}
|
|
165
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDFormBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
166
|
+
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 });
|
|
24
167
|
}
|
|
25
168
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDFormBase, decorators: [{
|
|
26
|
-
type:
|
|
27
|
-
|
|
28
|
-
|
|
169
|
+
type: Directive
|
|
170
|
+
}], propDecorators: { ngControl: [{
|
|
171
|
+
type: ContentChild,
|
|
172
|
+
args: [NgControl, { read: NgControl }]
|
|
173
|
+
}], errorMessage: [{
|
|
174
|
+
type: ContentChild,
|
|
175
|
+
args: [IDErrorMessageBase]
|
|
176
|
+
}], validateOn: [{
|
|
177
|
+
type: Input
|
|
178
|
+
}], invalidChange: [{
|
|
179
|
+
type: Output
|
|
180
|
+
}], invalid: [{
|
|
29
181
|
type: Input
|
|
30
182
|
}], srof: [{
|
|
31
183
|
type: Input
|
|
32
184
|
}], light: [{
|
|
33
185
|
type: Input
|
|
34
|
-
}]
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
186
|
+
}] } });
|
|
187
|
+
|
|
188
|
+
class IDClickOutsideDirective {
|
|
189
|
+
elementRef;
|
|
190
|
+
idClickOutside = new EventEmitter();
|
|
191
|
+
constructor(elementRef) {
|
|
192
|
+
this.elementRef = elementRef;
|
|
193
|
+
document.addEventListener('click', this.onDocumentClick.bind(this), true);
|
|
194
|
+
}
|
|
195
|
+
ngOnDestroy() {
|
|
196
|
+
document.removeEventListener('click', this.onDocumentClick.bind(this), true);
|
|
197
|
+
}
|
|
198
|
+
onDocumentClick(event) {
|
|
199
|
+
if (!this.elementRef.nativeElement.contains(event.target)) {
|
|
200
|
+
this.idClickOutside.emit(event);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDClickOutsideDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
204
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: IDClickOutsideDirective, isStandalone: true, selector: "[idClickOutside]", outputs: { idClickOutside: "idClickOutside" }, ngImport: i0 });
|
|
205
|
+
}
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDClickOutsideDirective, decorators: [{
|
|
207
|
+
type: Directive,
|
|
208
|
+
args: [{
|
|
209
|
+
selector: '[idClickOutside]',
|
|
210
|
+
standalone: true
|
|
211
|
+
}]
|
|
212
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { idClickOutside: [{
|
|
41
213
|
type: Output
|
|
42
214
|
}] } });
|
|
43
215
|
|
|
216
|
+
class IDTooltipCategoryService {
|
|
217
|
+
closeCategory = signal(null);
|
|
218
|
+
requestClose(category) {
|
|
219
|
+
this.closeCategory.set(null);
|
|
220
|
+
this.closeCategory.set(category);
|
|
221
|
+
}
|
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDTooltipCategoryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
223
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDTooltipCategoryService, providedIn: 'root' });
|
|
224
|
+
}
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDTooltipCategoryService, decorators: [{
|
|
226
|
+
type: Injectable,
|
|
227
|
+
args: [{ providedIn: 'root' }]
|
|
228
|
+
}] });
|
|
229
|
+
|
|
230
|
+
const ID_HEADER_CONTEXT = new InjectionToken('ID_HEADER_CONTEXT');
|
|
231
|
+
|
|
232
|
+
function useEscapeKey(callback, condition) {
|
|
233
|
+
const destroyRef = inject(DestroyRef);
|
|
234
|
+
fromEvent(window, 'keydown')
|
|
235
|
+
.pipe(filter(event => event.key === 'Escape' && condition()), takeUntilDestroyed(destroyRef))
|
|
236
|
+
.subscribe(() => callback());
|
|
237
|
+
}
|
|
238
|
+
|
|
44
239
|
/**
|
|
45
240
|
* Generated bundle index. Do not edit.
|
|
46
241
|
*/
|
|
47
242
|
|
|
48
|
-
export { IDFormBase };
|
|
243
|
+
export { IDClickOutsideDirective, IDErrorMessageBase, IDFormBase, IDInputLabelLinker, IDTooltipCategoryService, IDUseIdService, ID_HEADER_CONTEXT, useEscapeKey };
|
|
49
244
|
//# sourceMappingURL=inera-ids-angular-common.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-common.mjs","sources":["../../../projects/ids-angular/common/classes/form/IDFormBase.ts","../../../projects/ids-angular/common/inera-ids-angular-common.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({template:''})\nexport class IDFormBase {\n\n @Input()\n invalid: boolean | null = false;\n\n @Input()\n srof: string = \"av\";\n\n @Input()\n light: boolean = false;\n\n @Input()\n novalidation: boolean = false;\n\n @Output()\n onValid: EventEmitter<Event> = new EventEmitter();\n\n @Output()\n onInvalid: EventEmitter<Event> = new EventEmitter();\n\n @Output()\n invalidChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n\n emitOnValid (event: Event) {\n this.invalid = false;\n this.onValid.emit(event);\n this.invalidChange.emit(this.invalid);\n }\n emitOnInvalid (event: Event) {\n this.invalid = true;\n this.onInvalid.emit(event);\n this.invalidChange.emit(this.invalid);\n }\n \n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAGa,UAAU,CAAA;IAGrB,OAAO,GAAmB,KAAK;IAG/B,IAAI,GAAW,IAAI;IAGnB,KAAK,GAAY,KAAK;IAGtB,YAAY,GAAY,KAAK;AAG7B,IAAA,OAAO,GAAwB,IAAI,YAAY,EAAE;AAGjD,IAAA,SAAS,GAAwB,IAAI,YAAY,EAAE;AAGnD,IAAA,aAAa,GAA0B,IAAI,YAAY,EAAW;AAGlE,IAAA,WAAW,CAAE,KAAY,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK;AACpB,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;QACxB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;IACvC;AACA,IAAA,aAAa,CAAE,KAAY,EAAA;AACzB,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI;AACnB,QAAA,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;IACvC;wGAjCW,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAV,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,UAAU,yOADF,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FACV,UAAU,EAAA,UAAA,EAAA,CAAA;kBADtB,SAAS;mBAAC,EAAC,QAAQ,EAAC,EAAE,EAAC;8BAItB,OAAO,EAAA,CAAA;sBADN;gBAID,IAAI,EAAA,CAAA;sBADH;gBAID,KAAK,EAAA,CAAA;sBADJ;gBAID,YAAY,EAAA,CAAA;sBADX;gBAID,OAAO,EAAA,CAAA;sBADN;gBAID,SAAS,EAAA,CAAA;sBADR;gBAID,aAAa,EAAA,CAAA;sBADZ;;;ACvBH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-common.mjs","sources":["../../../projects/ids-angular/common/services/input-label-linker.service.ts","../../../projects/ids-angular/common/services/use-id.service.ts.ts","../../../projects/ids-angular/common/classes/form/IDErrorMessageBase.ts","../../../projects/ids-angular/common/classes/form/IDFormBase.ts","../../../projects/ids-angular/common/directives/click-outside.directive.ts","../../../projects/ids-angular/common/services/tooltip-category.service.ts","../../../projects/ids-angular/common/context/header-context.ts","../../../projects/ids-angular/common/utilities/useEscKey.ts","../../../projects/ids-angular/common/inera-ids-angular-common.ts"],"sourcesContent":["import { Injectable, ElementRef, Renderer2, RendererFactory2 } from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class IDInputLabelLinker {\n private static nextId = 0;\n private renderer: Renderer2;\n\n constructor(rendererFactory: RendererFactory2) {\n this.renderer = rendererFactory.createRenderer(null, null);\n }\n\n link(host: ElementRef<HTMLElement>) {\n const el = host.nativeElement;\n const label = el.querySelector('label');\n const input = el.querySelector('input, textarea, select');\n\n if (!input || !label) return;\n\n const id = input.id || `ids-form-element-${IDInputLabelLinker.nextId++}`;\n this.renderer.setAttribute(input, 'id', id);\n this.renderer.setAttribute(label, 'for', id);\n }\n}","import { Injectable } from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class IDUseIdService {\n private static componentCounters: Record<string, number> = {};\n\n generateId(componentName: string): string {\n if (!IDUseIdService.componentCounters[componentName]) {\n IDUseIdService.componentCounters[componentName] = 0;\n }\n IDUseIdService.componentCounters[componentName]++;\n return `ids-${componentName}-${IDUseIdService.componentCounters[componentName]}`;\n }\n}","import { Directive, HostBinding, inject, Input} from '@angular/core';\nimport { IDUseIdService } from '../../services/use-id.service.ts';\n\n@Directive()\nexport abstract class IDErrorMessageBase {\n\n @HostBinding('class.ids-error-message--show')\n @Input()\n show: boolean = false;\n\n private idService = inject(IDUseIdService);\n id = this.idService.generateId('error-message');\n \n}\n","import {\n AfterContentInit,\n ContentChild,\n Directive,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n Output,\n Renderer2,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { EMPTY, merge } from 'rxjs';\nimport { auditTime } from 'rxjs/operators';\nimport { IDInputLabelLinker } from '../../services/input-label-linker.service';\nimport { IDErrorMessageBase } from './IDErrorMessageBase';\n\n@Directive()\nexport abstract class IDFormBase implements AfterContentInit {\n @ContentChild(NgControl, { read: NgControl }) ngControl?: NgControl;\n\n @ContentChild(IDErrorMessageBase)\n errorMessage!: IDErrorMessageBase;\n\n @Input()\n validateOn: 'immediate' | 'touched' | 'dirty' | 'blur' | 'none' = 'dirty';\n\n @Output()\n invalidChange = new EventEmitter<boolean>();\n\n private _invalid = false;\n\n @Input()\n get invalid(): boolean {\n return this._invalid;\n }\n set invalid(value: boolean) {\n this._invalid = value;\n this.toggleInputArias({ invalid: this._invalid });\n this.toggleErrorMessage();\n this.invalidChange.emit(value);\n }\n\n @Input()\n srof: string = 'av';\n\n @Input()\n light: boolean = false;\n\n protected inputLabelLinker = inject(IDInputLabelLinker);\n\n private blurEvent?: () => void;\n\n get input() {\n return (\n this.host.nativeElement.querySelector('input') ||\n this.host.nativeElement.querySelector('textarea') ||\n this.host.nativeElement.querySelector('select')\n );\n }\n\n get label() {\n return this.host.nativeElement.querySelector('label');\n }\n\n get checkbox() {\n return this.host.nativeElement.querySelector('input[type=checkbox]');\n }\n\n protected host = inject(ElementRef);\n protected renderer = inject(Renderer2);\n\n ngAfterContentInit() {\n if (!this.input) {\n throw new Error('IDS ERROR - Input missing in ' + this.host.nativeElement.tagName);\n }\n if (this.validateOn === 'immediate') {\n this._updateErrorState();\n }\n if (this.validateOn === 'touched' || this.validateOn === 'blur') {\n this.blurEvent = this.renderer.listen(this.input, 'blur', () => {\n this._updateErrorState();\n });\n }\n if (this.ngControl && this.validateOn !== 'blur') {\n merge(...[this.ngControl.statusChanges ?? EMPTY, this.ngControl.valueChanges ?? EMPTY])\n .pipe(auditTime(0))\n .subscribe(() => this._updateErrorState());\n }\n this.inputLabelLinker.link(this.host);\n this.renderer.addClass(this.label, 'ids-label');\n if (this.light) {\n this.renderer.addClass(this.input, 'ids-input--light');\n }\n }\n\n protected _updateErrorState() {\n if (!this.ngControl || this.validateOn === 'none') return;\n switch (this.validateOn) {\n case 'immediate':\n this.invalid = Boolean(this.ngControl.invalid);\n break;\n case 'touched':\n this.invalid = Boolean(this.ngControl.invalid) && Boolean(this.ngControl.touched);\n break;\n case 'dirty':\n this.invalid = Boolean(this.ngControl.invalid) && Boolean(this.ngControl.dirty);\n break;\n case 'blur':\n this.invalid = Boolean(this.ngControl.invalid);\n }\n }\n\n toggleErrorMessage(): void {\n if (!this.errorMessage) return;\n this.errorMessage.show = this.invalid;\n }\n\n toggleInputArias({ invalid }: { invalid: boolean }) {\n if (this.checkbox) {\n this.renderer.setAttribute(this.input, 'aria-checked', this.checkbox.checked);\n }\n this.renderer.setAttribute(this.input, 'aria-required', this.input.required);\n if (invalid) {\n this.renderer.addClass(this.input, 'ids-input--invalid');\n this.renderer.setAttribute(this.input, 'aria-invalid', 'true');\n } else {\n this.renderer.removeClass(this.input, 'ids-input--invalid');\n this.renderer.removeAttribute(this.input, 'aria-invalid');\n }\n if (this.errorMessage) {\n this.renderer.setAttribute(this.input, 'aria-describedby', this.errorMessage.id);\n } else {\n this.renderer.removeAttribute(this.input, 'aria-describedby');\n }\n }\n\n ngOnDestroy() {\n this.blurEvent?.();\n }\n}\n","import { Directive, ElementRef, Output, EventEmitter, OnDestroy } from '@angular/core';\n\n@Directive({\n selector: '[idClickOutside]',\n standalone: true\n})\nexport class IDClickOutsideDirective implements OnDestroy {\n @Output() idClickOutside = new EventEmitter<Event>();\n\n constructor(private elementRef: ElementRef) {\n document.addEventListener('click', this.onDocumentClick.bind(this), true);\n }\n\n ngOnDestroy() {\n document.removeEventListener('click', this.onDocumentClick.bind(this), true);\n }\n\n private onDocumentClick(event: MouseEvent) {\n if (!this.elementRef.nativeElement.contains(event.target)) {\n this.idClickOutside.emit(event);\n }\n }\n}","import { Injectable, signal } from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class IDTooltipCategoryService {\n closeCategory = signal<string | null>(null);\n\n requestClose(category: string) {\n this.closeCategory.set(null);\n this.closeCategory.set(category);\n }\n}","import { InjectionToken } from '@angular/core';\n\nexport interface IDHeaderContext {\n unresponsive: boolean;\n}\n\nexport const ID_HEADER_CONTEXT = new InjectionToken<IDHeaderContext>('ID_HEADER_CONTEXT');","import { inject, DestroyRef } from '@angular/core';\nimport { fromEvent } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nexport function useEscapeKey(callback: () => void, condition: () => boolean) {\n const destroyRef = inject(DestroyRef);\n\n fromEvent<KeyboardEvent>(window, 'keydown')\n .pipe(\n filter(event => event.key === 'Escape' && condition()),\n takeUntilDestroyed(destroyRef)\n )\n .subscribe(() => callback());\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAGa,kBAAkB,CAAA;AACrB,IAAA,OAAO,MAAM,GAAG,CAAC;AACjB,IAAA,QAAQ;AAEhB,IAAA,WAAA,CAAY,eAAiC,EAAA;QAC3C,IAAI,CAAC,QAAQ,GAAG,eAAe,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;IAC5D;AAEA,IAAA,IAAI,CAAC,IAA6B,EAAA;AAChC,QAAA,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa;QAC7B,MAAM,KAAK,GAAG,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC;QACvC,MAAM,KAAK,GAAG,EAAE,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAEzD,QAAA,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK;YAAE;AAEtB,QAAA,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,IAAI,CAAA,iBAAA,EAAoB,kBAAkB,CAAC,MAAM,EAAE,CAAA,CAAE;QACxE,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC;QAC3C,IAAI,CAAC,QAAQ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,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;MCIrB,iBAAiB,GAAG,IAAI,cAAc,CAAkB,mBAAmB;;ACDlF,SAAU,YAAY,CAAC,QAAoB,EAAE,SAAwB,EAAA;AACzE,IAAA,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAErC,IAAA,SAAS,CAAgB,MAAM,EAAE,SAAS;SACvC,IAAI,CACH,MAAM,CAAC,KAAK,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,IAAI,SAAS,EAAE,CAAC,EACtD,kBAAkB,CAAC,UAAU,CAAC;AAE/B,SAAA,SAAS,CAAC,MAAM,QAAQ,EAAE,CAAC;AAChC;;ACdA;;AAEG;;;;"}
|
|
@@ -1,68 +1,128 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
1
3
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter,
|
|
3
|
-
import '@inera/ids-
|
|
4
|
+
import { TemplateRef, ViewChild, Component, EventEmitter, inject, DestroyRef, booleanAttribute, Output, Input, ContentChild, ContentChildren } from '@angular/core';
|
|
5
|
+
import { IDUseIdService } from '@inera/ids-angular/common';
|
|
6
|
+
|
|
7
|
+
class IDAccordionHeaderComponent {
|
|
8
|
+
template;
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDAccordionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: IDAccordionHeaderComponent, isStandalone: true, selector: "id-accordion-header", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
|
|
11
|
+
<ng-template>
|
|
12
|
+
<ng-content></ng-content>
|
|
13
|
+
</ng-template>`, isInline: true });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDAccordionHeaderComponent, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{
|
|
18
|
+
selector: 'id-accordion-header',
|
|
19
|
+
standalone: true,
|
|
20
|
+
template: `
|
|
21
|
+
<ng-template>
|
|
22
|
+
<ng-content></ng-content>
|
|
23
|
+
</ng-template>`
|
|
24
|
+
}]
|
|
25
|
+
}], propDecorators: { template: [{
|
|
26
|
+
type: ViewChild,
|
|
27
|
+
args: [TemplateRef, { static: true }]
|
|
28
|
+
}] } });
|
|
4
29
|
|
|
5
30
|
class IDAccordionComponent {
|
|
6
|
-
|
|
31
|
+
nestedAccordions;
|
|
32
|
+
header;
|
|
7
33
|
lean = false;
|
|
8
|
-
|
|
9
|
-
headlinesize = "m";
|
|
34
|
+
noBorder = false;
|
|
10
35
|
expanded = false;
|
|
11
36
|
level = 1;
|
|
12
|
-
|
|
13
|
-
|
|
37
|
+
size = 'm';
|
|
38
|
+
closed = new EventEmitter();
|
|
39
|
+
opened = new EventEmitter();
|
|
14
40
|
expandedChange = new EventEmitter();
|
|
15
|
-
|
|
16
|
-
this.
|
|
17
|
-
|
|
18
|
-
|
|
41
|
+
get hasChildren() {
|
|
42
|
+
return (this.nestedAccordions?.length ?? 0) > 0;
|
|
43
|
+
}
|
|
44
|
+
get isChild() {
|
|
45
|
+
return this.level > 1;
|
|
46
|
+
}
|
|
47
|
+
idService = inject(IDUseIdService);
|
|
48
|
+
destroyRef = inject(DestroyRef);
|
|
49
|
+
contentId = this.idService.generateId('accordion');
|
|
50
|
+
ngAfterContentInit() {
|
|
51
|
+
this.updateNestedAccordionLevels();
|
|
52
|
+
this.nestedAccordions?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
|
|
53
|
+
this.updateNestedAccordionLevels();
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
updateNestedAccordionLevels() {
|
|
57
|
+
this.nestedAccordions?.forEach(accordion => {
|
|
58
|
+
accordion.level = this.level + 1;
|
|
59
|
+
switch (this.size) {
|
|
60
|
+
case 'm':
|
|
61
|
+
accordion.size = 's';
|
|
62
|
+
break;
|
|
63
|
+
case 's':
|
|
64
|
+
accordion.size = 'xs';
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
accordion.updateNestedAccordionLevels();
|
|
68
|
+
});
|
|
19
69
|
}
|
|
20
|
-
|
|
21
|
-
this.expanded
|
|
22
|
-
|
|
70
|
+
toggleExpansion(event) {
|
|
71
|
+
this.setExpanded(!this.expanded, event);
|
|
72
|
+
}
|
|
73
|
+
setExpanded(expanded, event) {
|
|
74
|
+
this.expanded = expanded;
|
|
75
|
+
if (expanded) {
|
|
76
|
+
this.opened.emit(event);
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
this.closed.emit(event);
|
|
80
|
+
}
|
|
23
81
|
this.expandedChange.emit(this.expanded);
|
|
24
82
|
}
|
|
25
83
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
84
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: IDAccordionComponent, isStandalone: true, selector: "id-accordion", inputs: { lean: ["lean", "lean", booleanAttribute], noBorder: ["noBorder", "noBorder", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute], level: "level", size: "size" }, outputs: { closed: "closed", opened: "opened", expandedChange: "expandedChange" }, host: { properties: { "class.ids-accordion--expanded": "expanded", "class.ids-accordion--no-border": "noBorder", "class.ids-accordion--lean": "lean", "class.ids-accordion--has-children": "hasChildren", "class.ids-accordion--is-child": "isChild" }, classAttribute: "ids-accordion" }, queries: [{ propertyName: "header", first: true, predicate: IDAccordionHeaderComponent, descendants: true }, { propertyName: "nestedAccordions", predicate: IDAccordionComponent }], ngImport: i0, template: "<button \n [class]=\"'ids-accordion__button ids-accordion__button--' + size\" \n (click)=\"toggleExpansion($event)\"\n [attr.aria-expanded]=\"expanded\" \n [attr.aria-controls]=\"contentId\">\n <div [class]=\"'ids-accordion__headline ids-accordion__headline-' + level + ' ids-accordion__headline--' + size + (expanded ? ' ids-accordion__headline--expanded' : '')\">\n <ng-container [ngTemplateOutlet]=\"header.template\"></ng-container>\n </div>\n</button>\n\n<div [id]=\"contentId\" class=\"ids-accordion__content\" [hidden]=\"!expanded\">\n <ng-content select=\":not(id-accordion-header)\"></ng-content>\n</div>", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
27
85
|
}
|
|
28
86
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDAccordionComponent, decorators: [{
|
|
29
87
|
type: Component,
|
|
30
|
-
args: [{ selector: "id-accordion",
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
88
|
+
args: [{ selector: "id-accordion", host: {
|
|
89
|
+
'class': 'ids-accordion',
|
|
90
|
+
'[class.ids-accordion--expanded]': 'expanded',
|
|
91
|
+
'[class.ids-accordion--no-border]': 'noBorder',
|
|
92
|
+
'[class.ids-accordion--lean]': 'lean',
|
|
93
|
+
'[class.ids-accordion--has-children]': 'hasChildren',
|
|
94
|
+
'[class.ids-accordion--is-child]': 'isChild',
|
|
95
|
+
}, imports: [NgTemplateOutlet], standalone: true, template: "<button \n [class]=\"'ids-accordion__button ids-accordion__button--' + size\" \n (click)=\"toggleExpansion($event)\"\n [attr.aria-expanded]=\"expanded\" \n [attr.aria-controls]=\"contentId\">\n <div [class]=\"'ids-accordion__headline ids-accordion__headline-' + level + ' ids-accordion__headline--' + size + (expanded ? ' ids-accordion__headline--expanded' : '')\">\n <ng-container [ngTemplateOutlet]=\"header.template\"></ng-container>\n </div>\n</button>\n\n<div [id]=\"contentId\" class=\"ids-accordion__content\" [hidden]=\"!expanded\">\n <ng-content select=\":not(id-accordion-header)\"></ng-content>\n</div>" }]
|
|
96
|
+
}], propDecorators: { nestedAccordions: [{
|
|
97
|
+
type: ContentChildren,
|
|
98
|
+
args: [IDAccordionComponent]
|
|
99
|
+
}], header: [{
|
|
100
|
+
type: ContentChild,
|
|
101
|
+
args: [IDAccordionHeaderComponent]
|
|
102
|
+
}], lean: [{
|
|
103
|
+
type: Input,
|
|
104
|
+
args: [{ transform: booleanAttribute }]
|
|
105
|
+
}], noBorder: [{
|
|
106
|
+
type: Input,
|
|
107
|
+
args: [{ transform: booleanAttribute }]
|
|
37
108
|
}], expanded: [{
|
|
38
|
-
type: Input
|
|
109
|
+
type: Input,
|
|
110
|
+
args: [{ transform: booleanAttribute }]
|
|
39
111
|
}], level: [{
|
|
40
112
|
type: Input
|
|
41
|
-
}],
|
|
113
|
+
}], size: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], closed: [{
|
|
42
116
|
type: Output
|
|
43
|
-
}],
|
|
117
|
+
}], opened: [{
|
|
44
118
|
type: Output
|
|
45
119
|
}], expandedChange: [{
|
|
46
120
|
type: Output
|
|
47
121
|
}] } });
|
|
48
122
|
|
|
49
|
-
class IDAccordionModule {
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
51
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: IDAccordionModule, declarations: [IDAccordionComponent], exports: [IDAccordionComponent] });
|
|
52
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDAccordionModule });
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDAccordionModule, decorators: [{
|
|
55
|
-
type: NgModule,
|
|
56
|
-
args: [{
|
|
57
|
-
declarations: [IDAccordionComponent],
|
|
58
|
-
exports: [IDAccordionComponent],
|
|
59
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
60
|
-
}]
|
|
61
|
-
}] });
|
|
62
|
-
|
|
63
123
|
/**
|
|
64
124
|
* Generated bundle index. Do not edit.
|
|
65
125
|
*/
|
|
66
126
|
|
|
67
|
-
export { IDAccordionComponent,
|
|
127
|
+
export { IDAccordionComponent, IDAccordionHeaderComponent };
|
|
68
128
|
//# sourceMappingURL=inera-ids-angular-components-accordion.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-accordion.mjs","sources":["../../../projects/ids-angular/components/accordion/accordion.component.ts","../../../projects/ids-angular/components/accordion/accordion.component.
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-accordion.mjs","sources":["../../../projects/ids-angular/components/accordion/accordion-header.component.ts","../../../projects/ids-angular/components/accordion/accordion.component.ts","../../../projects/ids-angular/components/accordion/accordion.component.html","../../../projects/ids-angular/components/accordion/inera-ids-angular-components-accordion.ts"],"sourcesContent":["import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'id-accordion-header',\n standalone: true,\n template: `\n <ng-template>\n <ng-content></ng-content>\n </ng-template>`\n})\nexport class IDAccordionHeaderComponent {\n\n @ViewChild(TemplateRef, { static: true })\n template!: TemplateRef<unknown>;\n\n}\n","import { NgTemplateOutlet } from \"@angular/common\";\nimport { takeUntilDestroyed } from \"@angular/core/rxjs-interop\";\nimport { Component, ContentChild, ContentChildren, DestroyRef, EventEmitter, Input, Output, QueryList, booleanAttribute, inject } from \"@angular/core\";\nimport { IDAccordionHeaderComponent } from \"./accordion-header.component\";\nimport { IDUseIdService } from \"@inera/ids-angular/common\";\n\n@Component({\n selector: \"id-accordion\",\n templateUrl: \"./accordion.component.html\",\n host: {\n 'class': 'ids-accordion',\n '[class.ids-accordion--expanded]': 'expanded',\n '[class.ids-accordion--no-border]': 'noBorder',\n '[class.ids-accordion--lean]': 'lean',\n '[class.ids-accordion--has-children]': 'hasChildren',\n '[class.ids-accordion--is-child]': 'isChild',\n },\n imports: [NgTemplateOutlet],\n standalone: true,\n})\nexport class IDAccordionComponent {\n \n @ContentChildren(IDAccordionComponent)\n nestedAccordions: QueryList<IDAccordionComponent>;\n\n @ContentChild(IDAccordionHeaderComponent)\n header: IDAccordionHeaderComponent;\n\n @Input({ transform: booleanAttribute }) lean: boolean = false;\n @Input({ transform: booleanAttribute }) noBorder: boolean = false;\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n @Input() level: number = 1;\n @Input() size: 'xs' | 's' | 'm' = 'm';\n\n @Output() closed: EventEmitter<Event> = new EventEmitter();\n @Output() opened: EventEmitter<Event> = new EventEmitter();\n @Output() expandedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n get hasChildren(): boolean {\n return (this.nestedAccordions?.length ?? 0) > 0;\n }\n\n get isChild(): boolean {\n return this.level > 1;\n }\n\n private idService = inject(IDUseIdService);\n private destroyRef = inject(DestroyRef);\n contentId = this.idService.generateId('accordion');\n\n ngAfterContentInit() {\n this.updateNestedAccordionLevels();\n this.nestedAccordions?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateNestedAccordionLevels();\n });\n }\n\n updateNestedAccordionLevels() {\n this.nestedAccordions?.forEach(accordion => {\n accordion.level = this.level + 1;\n switch (this.size) {\n case 'm':\n accordion.size = 's';\n break;\n case 's':\n accordion.size = 'xs';\n break;\n }\n accordion.updateNestedAccordionLevels();\n });\n }\n\n toggleExpansion(event: Event) {\n this.setExpanded(!this.expanded, event);\n }\n\n private setExpanded(expanded: boolean, event: Event) {\n this.expanded = expanded;\n if (expanded) {\n this.opened.emit(event);\n } else {\n this.closed.emit(event);\n }\n this.expandedChange.emit(this.expanded);\n }\n}\n","<button \n [class]=\"'ids-accordion__button ids-accordion__button--' + size\" \n (click)=\"toggleExpansion($event)\"\n [attr.aria-expanded]=\"expanded\" \n [attr.aria-controls]=\"contentId\">\n <div [class]=\"'ids-accordion__headline ids-accordion__headline-' + level + ' ids-accordion__headline--' + size + (expanded ? ' ids-accordion__headline--expanded' : '')\">\n <ng-container [ngTemplateOutlet]=\"header.template\"></ng-container>\n </div>\n</button>\n\n<div [id]=\"contentId\" class=\"ids-accordion__content\" [hidden]=\"!expanded\">\n <ng-content select=\":not(id-accordion-header)\"></ng-content>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAUa,0BAA0B,CAAA;AAGrC,IAAA,QAAQ;wGAHG,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAE1B,WAAW,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAPZ;;;AAGO,kBAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAEN,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBARtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE;;;AAGO,kBAAA;AAClB,iBAAA;8BAIC,QAAQ,EAAA,CAAA;sB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EAAA,CAAA;sBAA/C,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBACE,QAAQ,EAAA,CAAA;sBAA/C,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAC7B,KAAK,EAAA,CAAA;sBAAb;gBACQ,IAAI,EAAA,CAAA;sBAAZ;gBAES,MAAM,EAAA,CAAA;sBAAf;gBACS,MAAM,EAAA,CAAA;sBAAf;gBACS,cAAc,EAAA,CAAA;sBAAvB;;;AEpCH;;AAEG;;;;"}
|
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component
|
|
3
|
-
import '@inera/ids-core/components/action-link/register';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
4
3
|
|
|
5
4
|
class IDActionLinkComponent {
|
|
6
|
-
constructor() { }
|
|
7
5
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDActionLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: IDActionLinkComponent, selector: "id-action-link",
|
|
6
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: IDActionLinkComponent, isStandalone: true, selector: "id-action-link", host: { classAttribute: "ids-action-link" }, ngImport: i0, template: `
|
|
7
|
+
<div class="ids-action-link__inner">
|
|
8
|
+
<div class="ids-action-link__image">
|
|
9
|
+
<ng-content select="[idLinkImage]"></ng-content>
|
|
10
|
+
</div>
|
|
11
|
+
<ng-content></ng-content>
|
|
12
|
+
<div class="ids-action-link__icon" aria-hidden="true"></div>
|
|
13
|
+
</div>`, isInline: true });
|
|
9
14
|
}
|
|
10
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDActionLinkComponent, decorators: [{
|
|
11
16
|
type: Component,
|
|
12
|
-
args: [{ selector: "id-action-link", template: "<ids-action-link>\n <ng-content></ng-content>\n</ids-action-link>\n" }]
|
|
13
|
-
}], ctorParameters: () => [] });
|
|
14
|
-
|
|
15
|
-
class IDActionLinkModule {
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDActionLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: IDActionLinkModule, declarations: [IDActionLinkComponent], exports: [IDActionLinkComponent] });
|
|
18
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDActionLinkModule });
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: IDActionLinkModule, decorators: [{
|
|
21
|
-
type: NgModule,
|
|
22
17
|
args: [{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
selector: "id-action-link",
|
|
19
|
+
template: `
|
|
20
|
+
<div class="ids-action-link__inner">
|
|
21
|
+
<div class="ids-action-link__image">
|
|
22
|
+
<ng-content select="[idLinkImage]"></ng-content>
|
|
23
|
+
</div>
|
|
24
|
+
<ng-content></ng-content>
|
|
25
|
+
<div class="ids-action-link__icon" aria-hidden="true"></div>
|
|
26
|
+
</div>`,
|
|
27
|
+
standalone: true,
|
|
28
|
+
host: {
|
|
29
|
+
class: 'ids-action-link'
|
|
30
|
+
}
|
|
26
31
|
}]
|
|
27
32
|
}] });
|
|
28
33
|
|
|
@@ -30,5 +35,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
30
35
|
* Generated bundle index. Do not edit.
|
|
31
36
|
*/
|
|
32
37
|
|
|
33
|
-
export { IDActionLinkComponent
|
|
38
|
+
export { IDActionLinkComponent };
|
|
34
39
|
//# sourceMappingURL=inera-ids-angular-components-action-link.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-action-link.mjs","sources":["../../../projects/ids-angular/components/action-link/action-link.component.ts","../../../projects/ids-angular/components/action-link/
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-action-link.mjs","sources":["../../../projects/ids-angular/components/action-link/action-link.component.ts","../../../projects/ids-angular/components/action-link/inera-ids-angular-components-action-link.ts"],"sourcesContent":["import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-action-link\",\n template:`\n <div class=\"ids-action-link__inner\">\n <div class=\"ids-action-link__image\">\n <ng-content select=\"[idLinkImage]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"ids-action-link__icon\" aria-hidden=\"true\"></div>\n </div>`,\n standalone: true,\n host: {\n class: 'ids-action-link'\n }\n})\nexport class IDActionLinkComponent {\n}\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAiBa,qBAAqB,CAAA;wGAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAArB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,iBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAbvB;;;;;;;AAOA,UAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAME,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAfjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,QAAQ,EAAC;;;;;;;AAOA,UAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE;AACR;AACF,iBAAA;;;AChBD;;AAEG;;;;"}
|