@seniorsistemas/angular-components 19.7.3-bugfix-ptfgap-1271-ddfd6e7b → 19.7.4
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/accordion/README.md +1 -0
- package/accordion/lib/accordion/accordion.component.d.ts +1 -1
- package/accordion/lib/accordion/accordion.module.d.ts +1 -6
- package/accordion/lib/accordion/components/accordion-panel/accordion-panel.component.d.ts +1 -1
- package/alert/README.md +1 -1
- package/alert/lib/alert/alert.component.d.ts +1 -1
- package/alert/lib/alert/alert.module.d.ts +1 -2
- package/autocomplete/README.md +1 -1
- package/autocomplete/lib/autocomplete/autocomplete.component.d.ts +1 -1
- package/badge/lib/badge/badge.component.d.ts +1 -1
- package/badge/lib/badge/badge.module.d.ts +3 -7
- package/bignumber-input/lib/bignumber-input/bignumber-input.directive.d.ts +1 -1
- package/bignumber-input/lib/bignumber-input/bignumber-input.module.d.ts +1 -2
- package/breadcrumb/README.md +9 -5
- package/button/README.md +1 -0
- package/calendar-mask/README.md +4 -2
- package/calendar-mask/lib/calendar-mask/calendar-mask.directive.d.ts +1 -1
- package/calendar-mask/lib/calendar-mask/calendar-mask.module.d.ts +1 -2
- package/card/lib/card/card.component.d.ts +1 -1
- package/card/lib/card/card.module.d.ts +1 -3
- package/chat/lib/chat/chat.component.d.ts +2 -1
- package/chat/lib/chat/chat.module.d.ts +3 -6
- package/chat/lib/chat/components/chat-message/chat-message.component.d.ts +1 -1
- package/checkbox-list/lib/checkbox-list/checkbox-list.component.d.ts +1 -1
- package/checkbox-list/lib/checkbox-list/checkbox-list.module.d.ts +1 -3
- package/chips/lib/chips/chip-item/chip-item.component.d.ts +1 -1
- package/chips/lib/chips/chips/chips.component.d.ts +1 -1
- package/chips/lib/chips/chips.module.d.ts +1 -6
- package/code-editor/README.md +1 -1
- package/code-editor/lib/code-editor/code-editor.component.d.ts +1 -1
- package/code-editor/lib/code-editor/code-editor.module.d.ts +1 -3
- package/code-editor/lib/code-editor/core/facades/core-facade.d.ts +1 -3
- package/code-editor/lib/code-editor/infra/cores/codemirror-6/codemirror-6-core.d.ts +2 -12
- package/collapse-link/lib/collapse-link/collapse-link.component.d.ts +1 -1
- package/collapse-link/lib/collapse-link/collapse-link.module.d.ts +1 -2
- package/common/deprecated-selector/README.md +120 -47
- package/common/lib/svg-factory/components/iassist-icon/iassist-icon.component.d.ts +1 -1
- package/common/lib/svg-factory/components/senior-icon/senior-icon.component.d.ts +1 -1
- package/common/lib/svg-factory/svg-factory.directive.d.ts +1 -1
- package/common/lib/svg-factory/svg-factory.module.d.ts +1 -4
- package/confirm-dialog/README.md +3 -1
- package/content-generator/README.md +2 -2
- package/content-generator/lib/content-generator/content-generator.component.d.ts +2 -1
- package/content-generator/lib/content-generator/content-generator.module.d.ts +1 -10
- package/control-errors/lib/control-errors/control-errors.component.d.ts +2 -2
- package/control-errors/lib/control-errors/control-errors.module.d.ts +1 -3
- package/country-phone-picker/README.md +1 -1
- package/country-phone-picker/lib/country-phone-picker/country-phone-picker.component.d.ts +2 -1
- package/country-phone-picker/lib/country-phone-picker/country-phone-picker.module.d.ts +1 -5
- package/currency/README.md +1 -1
- package/custom-fields/lib/custom-fields/custom-fields.component.d.ts +1 -1
- package/custom-fields/lib/custom-fields/custom-fields.module.d.ts +1 -7
- package/datepicker/README.md +44 -11
- package/datepicker/lib/datepicker/datepicker.component.d.ts +1 -0
- package/dynamic-form/dynamic-form/dynamic-form.module.d.ts +3 -5
- package/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.d.ts +1 -0
- package/editable-overlay/lib/editable-overlay/editable-overlay.directive.d.ts +1 -1
- package/editable-overlay/lib/editable-overlay/editable-overlay.module.d.ts +1 -2
- package/editor/README.md +8 -0
- package/empty-state/lib/empty-state/empty-state.component.d.ts +1 -1
- package/empty-state/lib/empty-state/empty-state.module.d.ts +1 -3
- package/empty-state/lib/empty-state/go-back/go-back.component.d.ts +1 -1
- package/esm2022/accordion/lib/accordion/accordion.component.mjs +3 -3
- package/esm2022/accordion/lib/accordion/accordion.module.mjs +4 -10
- package/esm2022/accordion/lib/accordion/components/accordion-panel/accordion-panel.component.mjs +17 -8
- package/esm2022/alert/lib/alert/alert.component.mjs +4 -4
- package/esm2022/alert/lib/alert/alert.module.mjs +4 -6
- package/esm2022/autocomplete/lib/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/badge/lib/badge/badge.component.mjs +7 -6
- package/esm2022/badge/lib/badge/badge.module.mjs +4 -9
- package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.directive.mjs +3 -2
- package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.module.mjs +4 -7
- package/esm2022/breadcrumb/lib/breadcrumb/breadcrumb.component.mjs +6 -7
- package/esm2022/button/lib/button/button.component.mjs +3 -3
- package/esm2022/calendar-mask/lib/calendar-mask/calendar-mask.directive.mjs +3 -2
- package/esm2022/calendar-mask/lib/calendar-mask/calendar-mask.module.mjs +4 -6
- package/esm2022/card/lib/card/card.component.mjs +4 -4
- package/esm2022/card/lib/card/card.module.mjs +4 -7
- package/esm2022/chat/lib/chat/chat.component.mjs +8 -7
- package/esm2022/chat/lib/chat/chat.module.mjs +7 -11
- package/esm2022/chat/lib/chat/components/chat-message/chat-message.component.mjs +6 -6
- package/esm2022/checkbox/lib/checkbox/checkbox.component.mjs +4 -5
- package/esm2022/checkbox-list/lib/checkbox-list/checkbox-list.component.mjs +6 -7
- package/esm2022/checkbox-list/lib/checkbox-list/checkbox-list.module.mjs +4 -7
- package/esm2022/chips/lib/chips/chip-item/chip-item.component.mjs +5 -5
- package/esm2022/chips/lib/chips/chips/chips.component.mjs +7 -7
- package/esm2022/chips/lib/chips/chips.module.mjs +4 -10
- package/esm2022/code-editor/lib/code-editor/code-editor.component.mjs +4 -4
- package/esm2022/code-editor/lib/code-editor/code-editor.module.mjs +8 -11
- package/esm2022/code-editor/lib/code-editor/core/facades/core-facade.mjs +1 -7
- package/esm2022/code-editor/lib/code-editor/infra/cores/codemirror-6/codemirror-6-core.mjs +22 -47
- package/esm2022/collapse-link/lib/collapse-link/collapse-link.component.mjs +4 -4
- package/esm2022/collapse-link/lib/collapse-link/collapse-link.module.mjs +4 -6
- package/esm2022/common/lib/svg-factory/components/iassist-icon/iassist-icon.component.mjs +3 -3
- package/esm2022/common/lib/svg-factory/components/senior-icon/senior-icon.component.mjs +3 -3
- package/esm2022/common/lib/svg-factory/svg-factory.directive.mjs +4 -3
- package/esm2022/common/lib/svg-factory/svg-factory.module.mjs +4 -14
- package/esm2022/content-generator/lib/content-generator/content-generator.component.mjs +28 -16
- package/esm2022/content-generator/lib/content-generator/content-generator.module.mjs +4 -42
- package/esm2022/control-errors/lib/control-errors/control-errors.component.mjs +3 -3
- package/esm2022/control-errors/lib/control-errors/control-errors.module.mjs +6 -9
- package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.component.mjs +14 -14
- package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.module.mjs +6 -28
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.component.mjs +6 -6
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.module.mjs +9 -35
- package/esm2022/datepicker/lib/datepicker/datepicker.component.mjs +6 -3
- package/esm2022/dialog/lib/src/dialog/dialog.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.module.mjs +4 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-radio-field/boolean-field.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.mjs +5 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/radio-button/radio-button-field.component.mjs +3 -3
- package/esm2022/editable-overlay/lib/editable-overlay/editable-overlay.directive.mjs +3 -2
- package/esm2022/editable-overlay/lib/editable-overlay/editable-overlay.module.mjs +4 -6
- package/esm2022/editor/lib/editor/editor.component.mjs +4 -4
- package/esm2022/empty-state/lib/empty-state/empty-state.component.mjs +4 -4
- package/esm2022/empty-state/lib/empty-state/empty-state.module.mjs +4 -7
- package/esm2022/empty-state/lib/empty-state/go-back/go-back.component.mjs +4 -4
- package/esm2022/fieldset/lib/fieldset/fieldset.component.mjs +5 -5
- package/esm2022/fieldset/lib/fieldset/fieldset.module.mjs +4 -7
- package/esm2022/file-picker/lib/file-picker/file-picker.component.mjs +10 -11
- package/esm2022/file-picker/lib/file-picker/file-picker.module.mjs +4 -11
- package/esm2022/gantt/lib/gantt/components/side-table/side-table.component.mjs +5 -5
- package/esm2022/gantt/lib/gantt/gantt.component.mjs +4 -4
- package/esm2022/gantt/lib/gantt/gantt.module.mjs +4 -12
- package/esm2022/global-search/lib/global-search/components/dropdown/global-search-dropdown-item.component.mjs +6 -7
- package/esm2022/global-search/lib/global-search/global-search.component.mjs +17 -10
- package/esm2022/global-search/lib/global-search/global-search.module.mjs +15 -33
- package/esm2022/grid-menu/lib/grid-menu/components/grid-menu-item/grid-menu-item.component.mjs +5 -4
- package/esm2022/grid-menu/lib/grid-menu/grid-menu.component.mjs +4 -4
- package/esm2022/grid-menu/lib/grid-menu/grid-menu.module.mjs +4 -7
- package/esm2022/help-popover/lib/help-popover/help-popover/help-popover.component.mjs +5 -5
- package/esm2022/help-popover/lib/help-popover/help-popover.directive.mjs +3 -2
- package/esm2022/help-popover/lib/help-popover/help-popover.module.mjs +5 -14
- package/esm2022/image-cropper/lib/image-cropper/image-cropper.component.mjs +7 -8
- package/esm2022/image-cropper/lib/image-cropper/image-cropper.module.mjs +4 -10
- package/esm2022/infinite-scroll/lib/infinite-scroll/infinite-scroll.directive.mjs +4 -3
- package/esm2022/infinite-scroll/lib/infinite-scroll/infinite-scroll.module.mjs +4 -6
- package/esm2022/info-sign/lib/info-sign/components/info-sign/info-sign.component.mjs +6 -6
- package/esm2022/info-sign/lib/info-sign/info-sign.directive.mjs +4 -3
- package/esm2022/info-sign/lib/info-sign/info-sign.module.mjs +4 -8
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.mjs +14 -10
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-content-generator/inline-edit-content-generator.component.mjs +7 -6
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.mjs +6 -6
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.mjs +34 -20
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.mjs +6 -6
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.mjs +7 -7
- package/esm2022/inline-edit/lib/inline-edit/components/inline-edit-item/inline-edit-item.component.mjs +16 -15
- package/esm2022/inline-edit/lib/inline-edit/inline-edit.component.mjs +3 -3
- package/esm2022/inline-edit/lib/inline-edit/inline-edit.module.mjs +4 -89
- package/esm2022/insights/lib/insights/components/insights-card/components/insights-card-loader/insights-card-loader.component.mjs +6 -6
- package/esm2022/insights/lib/insights/components/insights-card/insights-card.component.mjs +11 -10
- package/esm2022/insights/lib/insights/components/insights-sidebar/insights-sidebar.component.mjs +7 -7
- package/esm2022/insights/lib/insights/insights.component.mjs +4 -5
- package/esm2022/insights/lib/insights/insights.module.mjs +4 -34
- package/esm2022/kanban/lib/kanban/components/kanban-column/kanban-column.component.mjs +18 -22
- package/esm2022/kanban/lib/kanban/components/kanban-item/kanban-item.component.mjs +9 -8
- package/esm2022/kanban/lib/kanban/components/kanban-item-dragging/kanban-item-dragging.component.mjs +6 -6
- package/esm2022/kanban/lib/kanban/kanban.component.mjs +20 -11
- package/esm2022/kanban/lib/kanban/kanban.module.mjs +4 -41
- package/esm2022/label-value/lib/label-value/label-value.component.mjs +8 -8
- package/esm2022/label-value/lib/label-value/label-value.module.mjs +4 -10
- package/esm2022/lib/locale/fallback.mjs +3 -2
- package/esm2022/loading-state/lib/loading-state/components/dots-indicator/dots-indicator.components.mjs +3 -3
- package/esm2022/loading-state/lib/loading-state/components/logo-indicator/logo-indicator.component.mjs +4 -4
- package/esm2022/loading-state/lib/loading-state/components/progress-bar-indicator/progress-bar-indicator.component.mjs +4 -4
- package/esm2022/loading-state/lib/loading-state/loading-state.component.mjs +13 -7
- package/esm2022/loading-state/lib/loading-state/loading-state.directive.mjs +3 -2
- package/esm2022/loading-state/lib/loading-state/loading-state.module.mjs +4 -20
- package/esm2022/locale/lib/locale/locale.module.mjs +6 -8
- package/esm2022/locale/lib/locale/pipes/localized-bignumber-impure.pipe.mjs +6 -5
- package/esm2022/locale/lib/locale/pipes/localized-bignumber.pipe.mjs +16 -15
- package/esm2022/locale/lib/locale/pipes/localized-currency-impure.pipe.mjs +6 -5
- package/esm2022/locale/lib/locale/pipes/localized-currency.pipe.mjs +11 -10
- package/esm2022/locale/lib/locale/pipes/localized-date-impure.pipe.mjs +6 -5
- package/esm2022/locale/lib/locale/pipes/localized-date.pipe.mjs +3 -2
- package/esm2022/locale/lib/locale/pipes/localized-number.pipe.mjs +10 -7
- package/esm2022/locale/lib/locale/pipes/localized-time-impure.pipe.mjs +6 -5
- package/esm2022/locale/lib/locale/pipes/localized-time.pipe.mjs +3 -2
- package/esm2022/localized-number-input/lib/localized-number-input/localized-number-input.directive.mjs +7 -4
- package/esm2022/localized-number-input/lib/localized-number-input/localized-number-input.module.mjs +4 -6
- package/esm2022/mask/lib/mask/mask-formatter.module.mjs +3 -3
- package/esm2022/mask/lib/mask/mask-formatter.pipe.mjs +3 -2
- package/esm2022/mouse-events/lib/mouse-events/long-press.directive.mjs +3 -2
- package/esm2022/mouse-events/lib/mouse-events/mouse-events.module.mjs +5 -7
- package/esm2022/navigation-button/lib/navigation-button/navigation-button.component.mjs +8 -8
- package/esm2022/navigation-button/lib/navigation-button/navigation-button.module.mjs +4 -8
- package/esm2022/number-input/lib/number-input/number-input.directive.mjs +3 -2
- package/esm2022/number-input/lib/number-input/number-input.module.mjs +4 -6
- package/esm2022/numeric/lib/numeric.module.mjs +4 -6
- package/esm2022/numeric/lib/numeric.pipe.mjs +6 -3
- package/esm2022/numeric-mask/lib/numeric-mask/numeric-mask.directive.mjs +8 -3
- package/esm2022/object-card/lib/object-card/elements/field/object-card-field.component.mjs +7 -8
- package/esm2022/object-card/lib/object-card/elements/main/object-card-main.component.mjs +6 -8
- package/esm2022/object-card/lib/object-card/object-card.component.mjs +6 -6
- package/esm2022/object-card/lib/object-card/object-card.module.mjs +4 -10
- package/esm2022/paginator/lib/paginator/paginator.component.mjs +3 -3
- package/esm2022/panel/lib/panel/panel.component.mjs +15 -7
- package/esm2022/panel/lib/panel/panel.module.mjs +7 -10
- package/esm2022/password-strength/lib/password-strength/password-strength.component.mjs +4 -4
- package/esm2022/password-strength/lib/password-strength/password-strength.directive.mjs +4 -3
- package/esm2022/password-strength/lib/password-strength/password-strength.module.mjs +4 -7
- package/esm2022/pin-code-field/lib/pin-code-field/pin-code-field.component.mjs +5 -6
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.component.mjs +9 -10
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.mjs +5 -11
- package/esm2022/progressbar/lib/progressbar/components/progressbar-determinate/progressbar-determinate.component.mjs +8 -6
- package/esm2022/progressbar/lib/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.mjs +4 -4
- package/esm2022/progressbar/lib/progressbar/progressbar.component.mjs +5 -5
- package/esm2022/progressbar/lib/progressbar/progressbar.module.mjs +4 -9
- package/esm2022/rating-scale/lib/rating-scale/rating-scale.component.mjs +5 -5
- package/esm2022/rating-scale/lib/rating-scale/rating-scale.module.mjs +6 -14
- package/esm2022/select/lib/select/components/select-option/select-option.component.mjs +3 -4
- package/esm2022/select/lib/select/select.component.mjs +3 -5
- package/esm2022/select-button/lib/select-button/components/select-button-item/select-button-item.component.mjs +5 -5
- package/esm2022/select-button/lib/select-button/select-button.component.mjs +6 -6
- package/esm2022/select-button/lib/select-button/select-button.module.mjs +6 -13
- package/esm2022/shared/lib/shared/border-button/border-button.component.mjs +5 -5
- package/esm2022/shared/lib/shared/border-button/border-button.module.mjs +7 -10
- package/esm2022/sidebar/lib/sidebar/sidebar.component.mjs +5 -5
- package/esm2022/sidebar/lib/sidebar/sidebar.module.mjs +4 -7
- package/esm2022/slide-in-bar/lib/slide-in-bar/slide-in-bar.component.mjs +6 -6
- package/esm2022/slide-in-bar/lib/slide-in-bar/slide-in-bar.module.mjs +7 -9
- package/esm2022/slider/lib/slider/slider.component.mjs +6 -6
- package/esm2022/slider/lib/slider/slider.module.mjs +6 -9
- package/esm2022/speech-recognition/lib/speech-recognition/speech-recognition/speech-recognition.component.mjs +4 -5
- package/esm2022/speech-recognition/lib/speech-recognition/speech-recognition.module.mjs +5 -13
- package/esm2022/split-button/lib/split-button/split-button.component.mjs +5 -5
- package/esm2022/split-button/lib/split-button/split-button.module.mjs +4 -6
- package/esm2022/star-rating/star-rating/star-rating.component.mjs +3 -3
- package/esm2022/stats-card/lib/stats-card/stats-card.component.mjs +6 -6
- package/esm2022/stats-card/lib/stats-card/stats-card.module.mjs +4 -8
- package/esm2022/stepper/lib/stepper/stepper.component.mjs +6 -6
- package/esm2022/stepper/lib/stepper/stepper.module.mjs +4 -7
- package/esm2022/structure/lib/structure/footer.component.mjs +3 -2
- package/esm2022/structure/lib/structure/header.component.mjs +5 -4
- package/esm2022/structure/lib/structure/structure.module.mjs +5 -7
- package/esm2022/switch/lib/switch/switch.component.mjs +4 -5
- package/esm2022/switch/lib/switch/switch.module.mjs +4 -6
- package/esm2022/table/lib/table/row-toggler/row-toggler.directive.mjs +6 -3
- package/esm2022/table/lib/table/table-column/table-columns.component.mjs +17 -9
- package/esm2022/table/lib/table/table-paging/table-paging.component.mjs +4 -4
- package/esm2022/table/lib/table/table.module.mjs +4 -34
- package/esm2022/table-header/lib/table-header/table-header-checkbox.component.mjs +19 -16
- package/esm2022/table-header/lib/table-header/table-header-checkox.module.mjs +4 -8
- package/esm2022/template/lib/template/template.module.mjs +4 -5
- package/esm2022/text-area/lib/text-area/text-area.component.mjs +9 -9
- package/esm2022/text-area/lib/text-area.module.mjs +5 -24
- package/esm2022/thumbnail/lib/thumbnail/thumbnail.component.mjs +5 -5
- package/esm2022/thumbnail/lib/thumbnail/thumbnail.module.mjs +7 -9
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.mjs +6 -6
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.mjs +9 -9
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/thumbnail-item.component.mjs +25 -14
- package/esm2022/thumbnails/lib/thumbnails/thumbnails.component.mjs +4 -4
- package/esm2022/thumbnails/lib/thumbnails/thumbnails.module.mjs +6 -14
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu/tiered-menu.component.mjs +7 -7
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.mjs +3 -3
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.mjs +4 -4
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.mjs +6 -6
- package/esm2022/tiered-menu/lib/tiered-menu/tiered-menu.directive.mjs +4 -3
- package/esm2022/tiered-menu/lib/tiered-menu/tiered-menu.module.mjs +4 -20
- package/esm2022/tile/lib/tile/tile.component.mjs +6 -6
- package/esm2022/tile/lib/tile/tile.module.mjs +4 -7
- package/esm2022/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.component.mjs +6 -6
- package/esm2022/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.component.mjs +5 -5
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.mjs +4 -4
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.mjs +5 -5
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/range-line/range-line.component.mjs +3 -3
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.mjs +5 -5
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.component.mjs +7 -7
- package/esm2022/timeline/lib/timeline/timeline.component.mjs +5 -6
- package/esm2022/timeline/lib/timeline/timeline.module.mjs +4 -20
- package/esm2022/toast/lib/toast/toast.component.mjs +4 -4
- package/esm2022/toast/lib/toast/toast.module.mjs +6 -7
- package/esm2022/token-list/lib/token-list/token-list.component.mjs +4 -4
- package/esm2022/token-list/lib/token-list/token-list.module.mjs +4 -6
- package/esm2022/tooltip/lib/tooltip/tooltip.module.mjs +3 -4
- package/esm2022/topbar/lib/topbar/topbar.component.mjs +3 -3
- package/esm2022/topbar/lib/topbar/topbar.module.mjs +7 -10
- package/esm2022/tree/lib/tree/components/tree-node-item/tree-node-item.component.mjs +6 -5
- package/esm2022/tree/lib/tree/tree.component.mjs +5 -5
- package/esm2022/tree/lib/tree/tree.module.mjs +4 -10
- package/esm2022/workspace-switch/lib/workspace-switch/workspace-switch.component.mjs +5 -5
- package/esm2022/workspace-switch/lib/workspace-switch/workspace-switch.module.mjs +4 -6
- package/fesm2022/seniorsistemas-angular-components-accordion.mjs +20 -17
- package/fesm2022/seniorsistemas-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-alert.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-alert.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-autocomplete.mjs +3 -3
- package/fesm2022/seniorsistemas-angular-components-autocomplete.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-badge.mjs +8 -12
- package/fesm2022/seniorsistemas-angular-components-badge.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs +5 -7
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-breadcrumb.mjs +5 -6
- package/fesm2022/seniorsistemas-angular-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-button.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-calendar-mask.mjs +5 -6
- package/fesm2022/seniorsistemas-angular-components-calendar-mask.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-card.mjs +7 -9
- package/fesm2022/seniorsistemas-angular-components-card.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-chat.mjs +15 -16
- package/fesm2022/seniorsistemas-angular-components-chat.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-checkbox-list.mjs +7 -10
- package/fesm2022/seniorsistemas-angular-components-checkbox-list.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-checkbox.mjs +3 -4
- package/fesm2022/seniorsistemas-angular-components-checkbox.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-chips.mjs +14 -18
- package/fesm2022/seniorsistemas-angular-components-chips.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-code-editor.mjs +26 -59
- package/fesm2022/seniorsistemas-angular-components-code-editor.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-collapse-link.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-collapse-link.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-common.mjs +9 -16
- package/fesm2022/seniorsistemas-angular-components-common.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-content-generator.mjs +28 -52
- package/fesm2022/seniorsistemas-angular-components-content-generator.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-control-errors.mjs +5 -8
- package/fesm2022/seniorsistemas-angular-components-control-errors.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-country-phone-picker.mjs +17 -37
- package/fesm2022/seniorsistemas-angular-components-country-phone-picker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs +12 -35
- package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-datepicker.mjs +5 -2
- package/fesm2022/seniorsistemas-angular-components-datepicker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-dialog.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-dialog.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs +12 -11
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-editable-overlay.mjs +5 -6
- package/fesm2022/seniorsistemas-angular-components-editable-overlay.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-editor.mjs +3 -3
- package/fesm2022/seniorsistemas-angular-components-editor.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-empty-state.mjs +8 -11
- package/fesm2022/seniorsistemas-angular-components-empty-state.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-fieldset.mjs +6 -9
- package/fesm2022/seniorsistemas-angular-components-fieldset.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-file-picker.mjs +11 -18
- package/fesm2022/seniorsistemas-angular-components-file-picker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-gantt.mjs +9 -16
- package/fesm2022/seniorsistemas-angular-components-gantt.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-global-search.mjs +31 -47
- package/fesm2022/seniorsistemas-angular-components-global-search.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-grid-menu.mjs +8 -10
- package/fesm2022/seniorsistemas-angular-components-grid-menu.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-help-popover.mjs +10 -17
- package/fesm2022/seniorsistemas-angular-components-help-popover.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-image-cropper.mjs +8 -14
- package/fesm2022/seniorsistemas-angular-components-image-cropper.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-infinite-scroll.mjs +5 -6
- package/fesm2022/seniorsistemas-angular-components-infinite-scroll.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-info-sign.mjs +9 -11
- package/fesm2022/seniorsistemas-angular-components-info-sign.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs +64 -121
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-insights.mjs +22 -47
- package/fesm2022/seniorsistemas-angular-components-insights.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-kanban.mjs +86 -113
- package/fesm2022/seniorsistemas-angular-components-kanban.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-label-value.mjs +10 -16
- package/fesm2022/seniorsistemas-angular-components-label-value.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-loading-state.mjs +40 -46
- package/fesm2022/seniorsistemas-angular-components-loading-state.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-locale.mjs +40 -31
- package/fesm2022/seniorsistemas-angular-components-locale.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-localized-number-input.mjs +9 -8
- package/fesm2022/seniorsistemas-angular-components-localized-number-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-mask.mjs +4 -3
- package/fesm2022/seniorsistemas-angular-components-mask.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-mouse-events.mjs +55 -56
- package/fesm2022/seniorsistemas-angular-components-mouse-events.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-navigation-button.mjs +9 -13
- package/fesm2022/seniorsistemas-angular-components-navigation-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-number-input.mjs +6 -6
- package/fesm2022/seniorsistemas-angular-components-number-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs +7 -2
- package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-numeric.mjs +8 -7
- package/fesm2022/seniorsistemas-angular-components-numeric.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-object-card.mjs +14 -21
- package/fesm2022/seniorsistemas-angular-components-object-card.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-paginator.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-paginator.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-panel.mjs +17 -11
- package/fesm2022/seniorsistemas-angular-components-panel.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-password-strength.mjs +8 -9
- package/fesm2022/seniorsistemas-angular-components-password-strength.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-pin-code-field.mjs +4 -5
- package/fesm2022/seniorsistemas-angular-components-pin-code-field.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-profile-picture-picker.mjs +11 -17
- package/fesm2022/seniorsistemas-angular-components-profile-picture-picker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-progressbar.mjs +15 -15
- package/fesm2022/seniorsistemas-angular-components-progressbar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-rating-scale.mjs +8 -15
- package/fesm2022/seniorsistemas-angular-components-rating-scale.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-select-button.mjs +9 -15
- package/fesm2022/seniorsistemas-angular-components-select-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-select.mjs +4 -6
- package/fesm2022/seniorsistemas-angular-components-select.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-shared.mjs +8 -11
- package/fesm2022/seniorsistemas-angular-components-shared.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-sidebar.mjs +7 -10
- package/fesm2022/seniorsistemas-angular-components-sidebar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-slide-in-bar.mjs +7 -9
- package/fesm2022/seniorsistemas-angular-components-slide-in-bar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-slider.mjs +8 -11
- package/fesm2022/seniorsistemas-angular-components-slider.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-speech-recognition.mjs +7 -15
- package/fesm2022/seniorsistemas-angular-components-speech-recognition.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-split-button.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-split-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-star-rating.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-star-rating.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-stats-card.mjs +8 -12
- package/fesm2022/seniorsistemas-angular-components-stats-card.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-stepper.mjs +8 -11
- package/fesm2022/seniorsistemas-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-structure.mjs +18 -18
- package/fesm2022/seniorsistemas-angular-components-structure.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-switch.mjs +6 -9
- package/fesm2022/seniorsistemas-angular-components-switch.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-table-header.mjs +20 -21
- package/fesm2022/seniorsistemas-angular-components-table-header.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-table.mjs +27 -45
- package/fesm2022/seniorsistemas-angular-components-table.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-template.mjs +3 -4
- package/fesm2022/seniorsistemas-angular-components-template.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-text-area.mjs +12 -30
- package/fesm2022/seniorsistemas-angular-components-text-area.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-thumbnail.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-thumbnail.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-thumbnails.mjs +45 -37
- package/fesm2022/seniorsistemas-angular-components-thumbnails.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs +14 -25
- package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tile.mjs +8 -12
- package/fesm2022/seniorsistemas-angular-components-tile.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-timeline.mjs +58 -124
- package/fesm2022/seniorsistemas-angular-components-timeline.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-toast.mjs +4 -5
- package/fesm2022/seniorsistemas-angular-components-toast.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-token-list.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-token-list.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tooltip.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-tooltip.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-topbar.mjs +5 -8
- package/fesm2022/seniorsistemas-angular-components-topbar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tree.mjs +10 -13
- package/fesm2022/seniorsistemas-angular-components-tree.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-workspace-switch.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-workspace-switch.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components.mjs +2 -1
- package/fesm2022/seniorsistemas-angular-components.mjs.map +1 -1
- package/fieldset/lib/fieldset/fieldset.component.d.ts +1 -1
- package/fieldset/lib/fieldset/fieldset.module.d.ts +1 -3
- package/file-picker/lib/file-picker/file-picker.component.d.ts +1 -1
- package/file-picker/lib/file-picker/file-picker.module.d.ts +1 -7
- package/gantt/lib/gantt/components/side-table/side-table.component.d.ts +1 -1
- package/gantt/lib/gantt/gantt.component.d.ts +1 -1
- package/gantt/lib/gantt/gantt.module.d.ts +1 -4
- package/global-search/README.md +12 -1
- package/global-search/lib/global-search/components/dropdown/global-search-dropdown-item.component.d.ts +1 -1
- package/global-search/lib/global-search/global-search.component.d.ts +1 -1
- package/global-search/lib/global-search/global-search.module.d.ts +8 -12
- package/grid-menu/README.md +27 -2
- package/grid-menu/lib/grid-menu/components/grid-menu-item/grid-menu-item.component.d.ts +1 -1
- package/grid-menu/lib/grid-menu/grid-menu.component.d.ts +1 -1
- package/grid-menu/lib/grid-menu/grid-menu.module.d.ts +1 -3
- package/help-popover/README.md +2 -2
- package/help-popover/lib/help-popover/help-popover/help-popover.component.d.ts +1 -1
- package/help-popover/lib/help-popover/help-popover.directive.d.ts +1 -1
- package/help-popover/lib/help-popover/help-popover.module.d.ts +2 -5
- package/ia-insight/README.md +1 -1
- package/image-cropper/README.md +2 -2
- package/image-cropper/lib/image-cropper/image-cropper.component.d.ts +1 -1
- package/image-cropper/lib/image-cropper/image-cropper.module.d.ts +3 -8
- package/infinite-scroll/lib/infinite-scroll/infinite-scroll.directive.d.ts +1 -1
- package/infinite-scroll/lib/infinite-scroll/infinite-scroll.module.d.ts +1 -2
- package/info-sign/README.md +1 -1
- package/info-sign/lib/info-sign/components/info-sign/info-sign.component.d.ts +2 -2
- package/info-sign/lib/info-sign/info-sign.directive.d.ts +1 -1
- package/info-sign/lib/info-sign/info-sign.module.d.ts +1 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.d.ts +7 -6
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-content-generator/inline-edit-content-generator.component.d.ts +4 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.d.ts +4 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.d.ts +5 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.d.ts +4 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.d.ts +4 -4
- package/inline-edit/lib/inline-edit/components/inline-edit-item/inline-edit-item.component.d.ts +5 -4
- package/inline-edit/lib/inline-edit/inline-edit.component.d.ts +1 -1
- package/inline-edit/lib/inline-edit/inline-edit.module.d.ts +1 -23
- package/insights/lib/insights/components/insights-card/components/insights-card-loader/insights-card-loader.component.d.ts +1 -1
- package/insights/lib/insights/components/insights-card/insights-card.component.d.ts +2 -1
- package/insights/lib/insights/components/insights-sidebar/insights-sidebar.component.d.ts +1 -1
- package/insights/lib/insights/insights.component.d.ts +1 -1
- package/insights/lib/insights/insights.module.d.ts +3 -12
- package/kanban/lib/kanban/components/kanban-column/kanban-column.component.d.ts +5 -5
- package/kanban/lib/kanban/components/kanban-item/kanban-item.component.d.ts +4 -4
- package/kanban/lib/kanban/components/kanban-item-dragging/kanban-item-dragging.component.d.ts +1 -1
- package/kanban/lib/kanban/kanban.component.d.ts +1 -1
- package/kanban/lib/kanban/kanban.module.d.ts +3 -13
- package/label-value/lib/label-value/label-value.component.d.ts +1 -1
- package/label-value/lib/label-value/label-value.module.d.ts +1 -6
- package/loading-state/lib/loading-state/components/dots-indicator/dots-indicator.components.d.ts +1 -1
- package/loading-state/lib/loading-state/components/logo-indicator/logo-indicator.component.d.ts +1 -1
- package/loading-state/lib/loading-state/components/progress-bar-indicator/progress-bar-indicator.component.d.ts +1 -1
- package/loading-state/lib/loading-state/loading-state.component.d.ts +1 -1
- package/loading-state/lib/loading-state/loading-state.directive.d.ts +1 -1
- package/loading-state/lib/loading-state/loading-state.module.d.ts +1 -6
- package/locale/lib/locale/locale.module.d.ts +1 -2
- package/locale/lib/locale/pipes/localized-bignumber-impure.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-bignumber.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-currency-impure.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-currency.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-date-impure.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-date.pipe.d.ts +1 -1
- package/locale/lib/locale/pipes/localized-number.pipe.d.ts +2 -2
- package/locale/lib/locale/pipes/localized-time-impure.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-time.pipe.d.ts +1 -1
- package/localized-number-input/lib/localized-number-input/localized-number-input.directive.d.ts +2 -1
- package/localized-number-input/lib/localized-number-input/localized-number-input.module.d.ts +1 -2
- package/mask/lib/mask/mask-formatter.module.d.ts +1 -1
- package/mask/lib/mask/mask-formatter.pipe.d.ts +1 -1
- package/mouse-events/lib/mouse-events/long-press.directive.d.ts +1 -1
- package/mouse-events/lib/mouse-events/mouse-events.module.d.ts +3 -4
- package/navigation-button/lib/navigation-button/navigation-button.component.d.ts +1 -1
- package/navigation-button/lib/navigation-button/navigation-button.module.d.ts +1 -4
- package/number-input/lib/number-input/number-input.directive.d.ts +1 -1
- package/number-input/lib/number-input/number-input.module.d.ts +1 -2
- package/numeric/lib/numeric.module.d.ts +1 -2
- package/numeric/lib/numeric.pipe.d.ts +1 -1
- package/numeric-mask/lib/numeric-mask/numeric-mask.directive.d.ts +1 -0
- package/object-card/README.md +13 -1
- package/object-card/lib/object-card/elements/field/object-card-field.component.d.ts +1 -1
- package/object-card/lib/object-card/elements/main/object-card-main.component.d.ts +1 -1
- package/object-card/lib/object-card/object-card.component.d.ts +1 -1
- package/object-card/lib/object-card/object-card.module.d.ts +5 -10
- package/package.json +13 -13
- package/panel/lib/panel/panel.component.d.ts +6 -1
- package/panel/lib/panel/panel.module.d.ts +2 -4
- package/password-strength/lib/password-strength/password-strength.component.d.ts +1 -1
- package/password-strength/lib/password-strength/password-strength.directive.d.ts +1 -1
- package/password-strength/lib/password-strength/password-strength.module.d.ts +2 -4
- package/picklist/README.md +74 -2
- package/product-header/README.md +1 -1
- package/profile-picture-picker/README.md +1 -1
- package/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.component.d.ts +1 -1
- package/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.d.ts +1 -7
- package/progressbar/README.md +0 -1
- package/progressbar/lib/progressbar/components/progressbar-determinate/progressbar-determinate.component.d.ts +2 -1
- package/progressbar/lib/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.d.ts +1 -1
- package/progressbar/lib/progressbar/progressbar.component.d.ts +1 -1
- package/progressbar/lib/progressbar/progressbar.module.d.ts +1 -5
- package/radio-button/README.md +0 -1
- package/rating-scale/README.md +1 -1
- package/rating-scale/lib/rating-scale/rating-scale.component.d.ts +2 -2
- package/rating-scale/lib/rating-scale/rating-scale.module.d.ts +1 -3
- package/select/lib/select/select.component.d.ts +1 -1
- package/select-button/README.md +1 -1
- package/select-button/lib/select-button/components/select-button-item/select-button-item.component.d.ts +1 -1
- package/select-button/lib/select-button/select-button.component.d.ts +1 -1
- package/select-button/lib/select-button/select-button.module.d.ts +1 -3
- package/shared/lib/shared/border-button/border-button.component.d.ts +1 -1
- package/shared/lib/shared/border-button/border-button.module.d.ts +1 -3
- package/sidebar/lib/sidebar/sidebar.component.d.ts +1 -1
- package/sidebar/lib/sidebar/sidebar.module.d.ts +2 -4
- package/slide-in-bar/README.md +1 -1
- package/slide-in-bar/lib/slide-in-bar/slide-in-bar.component.d.ts +1 -1
- package/slide-in-bar/lib/slide-in-bar/slide-in-bar.module.d.ts +1 -2
- package/slider/README.md +1 -1
- package/slider/lib/slider/slider.component.d.ts +1 -1
- package/slider/lib/slider/slider.module.d.ts +1 -3
- package/speech-recognition/README.md +1 -1
- package/speech-recognition/lib/speech-recognition/speech-recognition/speech-recognition.component.d.ts +1 -1
- package/speech-recognition/lib/speech-recognition/speech-recognition.module.d.ts +1 -3
- package/split-button/README.md +1 -1
- package/split-button/lib/split-button/split-button.component.d.ts +1 -1
- package/split-button/lib/split-button/split-button.module.d.ts +1 -2
- package/spotlight/README.md +1 -1
- package/star-rating/README.md +1 -1
- package/stats-card/README.md +1 -1
- package/stats-card/lib/stats-card/stats-card.component.d.ts +1 -1
- package/stats-card/lib/stats-card/stats-card.module.d.ts +1 -4
- package/stepper/lib/stepper/stepper.component.d.ts +1 -1
- package/stepper/lib/stepper/stepper.module.d.ts +1 -3
- package/structure/lib/structure/footer.component.d.ts +1 -1
- package/structure/lib/structure/header.component.d.ts +1 -1
- package/structure/lib/structure/structure.module.d.ts +1 -2
- package/switch/lib/switch/switch.component.d.ts +1 -1
- package/switch/lib/switch/switch.module.d.ts +1 -2
- package/table/README.md +9 -8
- package/table/lib/table/row-toggler/row-toggler.directive.d.ts +1 -1
- package/table/lib/table/table-column/table-columns.component.d.ts +1 -1
- package/table/lib/table/table-paging/table-paging.component.d.ts +1 -1
- package/table/lib/table/table.module.d.ts +5 -12
- package/table-header/lib/table-header/table-header-checkbox.component.d.ts +1 -1
- package/table-header/lib/table-header/table-header-checkox.module.d.ts +1 -4
- package/template/README.md +177 -0
- package/template/lib/template/template.module.d.ts +2 -3
- package/text-area/lib/text-area/text-area.component.d.ts +1 -1
- package/text-area/lib/text-area.module.d.ts +1 -5
- package/text-area-ia/README.md +1 -1
- package/thumbnail/lib/thumbnail/thumbnail.component.d.ts +1 -1
- package/thumbnail/lib/thumbnail/thumbnail.module.d.ts +1 -2
- package/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.d.ts +1 -1
- package/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.d.ts +2 -2
- package/thumbnails/lib/thumbnails/components/thumbnail-item/thumbnail-item.component.d.ts +5 -4
- package/thumbnails/lib/thumbnails/thumbnails.component.d.ts +1 -1
- package/thumbnails/lib/thumbnails/thumbnails.module.d.ts +1 -8
- package/tiered-menu/lib/tiered-menu/components/tiered-menu/tiered-menu.component.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/tiered-menu.directive.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/tiered-menu.module.d.ts +1 -6
- package/tile/lib/tile/tile.component.d.ts +1 -1
- package/tile/lib/tile/tile.module.d.ts +3 -5
- package/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.component.d.ts +1 -1
- package/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/components/range-line/range-line.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.component.d.ts +1 -1
- package/timeline/lib/timeline/timeline.component.d.ts +1 -1
- package/timeline/lib/timeline/timeline.module.d.ts +1 -5
- package/toast/lib/toast/toast.component.d.ts +1 -1
- package/toast/lib/toast/toast.module.d.ts +3 -3
- package/token-list/lib/token-list/token-list.component.d.ts +1 -1
- package/token-list/lib/token-list/token-list.module.d.ts +1 -2
- package/tooltip/lib/tooltip/tooltip.module.d.ts +1 -2
- package/topbar/lib/topbar/topbar.component.d.ts +1 -1
- package/topbar/lib/topbar/topbar.module.d.ts +3 -5
- package/tree/lib/tree/components/tree-node-item/tree-node-item.component.d.ts +1 -1
- package/tree/lib/tree/tree.component.d.ts +1 -1
- package/tree/lib/tree/tree.module.d.ts +1 -6
- package/workspace-switch/lib/workspace-switch/workspace-switch.component.d.ts +1 -1
- package/workspace-switch/lib/workspace-switch/workspace-switch.module.d.ts +1 -2
- package/esm2022/insights/lib/insights/components/insights-card/components/index.mjs +0 -2
- package/esm2022/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.module.mjs +0 -20
- package/esm2022/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.module.mjs +0 -19
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.module.mjs +0 -33
- package/insights/lib/insights/components/insights-card/components/index.d.ts +0 -1
- package/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.module.d.ts +0 -10
- package/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.module.d.ts +0 -9
- package/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.module.d.ts +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seniorsistemas-angular-components-tiered-menu.mjs","sources":["../../projects/angular-components/tiered-menu/src/lib/tiered-menu/services/tiered-menu.service.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/services/tiered-menu.global.service.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/services/tiered-menu.event.service.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.html","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.html","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.html","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu/tiered-menu.component.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu/tiered-menu.component.html","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/tiered-menu.directive.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/tiered-menu.module.ts","../../projects/angular-components/tiered-menu/src/seniorsistemas-angular-components-tiered-menu.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { TieredMenuItemData } from '../models/tiered-menu-item-data';\nimport { TieredMenuItemInternalData } from '../models/tiered-menu-item-internal-data';\n\n@Injectable()\nexport class TieredMenuService {\n public currentItem?: TieredMenuItemInternalData | null = null;\n public currentItems: TieredMenuItemInternalData[] = [];\n public items: TieredMenuItemInternalData[] = [];\n\n public normalizeData(\n items: TieredMenuItemData[],\n parent?: TieredMenuItemInternalData,\n ): TieredMenuItemInternalData[] {\n return items.map((i: TieredMenuItemInternalData) => {\n const item = {\n visible: true,\n ...i,\n };\n if (item.submenu) {\n item.submenu = this.normalizeData(item.submenu, item);\n }\n item.id = this._generateId();\n item.parent = parent;\n item.isOpen = false;\n return item;\n });\n }\n\n public markAllItemsAsClosed(items: TieredMenuItemInternalData[]): TieredMenuItemInternalData[] {\n return items.map((i: TieredMenuItemInternalData) => {\n const item = { ...i };\n if (item.submenu) {\n item.submenu = this.markAllItemsAsClosed(item.submenu);\n }\n item.isOpen = false;\n return item;\n });\n }\n\n public searchTheHierarchy(itemA: TieredMenuItemInternalData, itemB: TieredMenuItemInternalData) {\n let item: TieredMenuItemInternalData | null = itemB;\n while (item) {\n if (item === itemA) {\n return true;\n }\n item = item.parent ?? null;\n }\n return false;\n }\n\n public cloneItems(items: TieredMenuItemInternalData[]): TieredMenuItemInternalData[] {\n return JSON.parse(JSON.stringify(items));\n }\n\n private _generateId(): string {\n return `id-${Math.random().toString(36).substring(2, 9)}-${Math.random().toString(36).substring(2, 9)}-${Math.random().toString(36).substring(2, 9)}`;\n }\n}\n\n","import { Injectable } from '@angular/core';\nimport { TieredMenuDirective } from '../tiered-menu.directive';\n\n@Injectable()\nexport class TieredMenuGlobalService {\n public lastInstance?: TieredMenuDirective | null;\n}\n","import { Injectable, EventEmitter } from '@angular/core';\n\nimport { TieredMenuItemInternalData } from '../models/tiered-menu-item-internal-data';\n\n@Injectable()\nexport class TieredMenuEventService {\n public incrementCurrentItemEvent = new EventEmitter();\n public decrementCurrentItemEvent = new EventEmitter();\n public closeAllMenusEvent = new EventEmitter();\n public selectItemEvent =\n new EventEmitter<TieredMenuItemInternalData | null>();\n public openItemMenuEvent =\n new EventEmitter<TieredMenuItemInternalData | null>();\n public closeItemMenuEvent =\n new EventEmitter<TieredMenuItemInternalData | null>();\n public createMenuEvent =\n new EventEmitter<TieredMenuItemInternalData | null>();\n}\n","import { Component, HostListener, Input, inject } from '@angular/core';\n\nimport { TieredMenuEventService } from '../../services/tiered-menu.event.service';\nimport { TieredMenuItemInternalData } from '../../models';\n\n@Component({\n selector: 's-tiered-menu-item',\n templateUrl: './tiered-menu-item.component.html',\n styleUrls: ['./tiered-menu-item.component.scss'],\n})\nexport class TieredMenuItemComponent {\n private readonly _tieredMenuEventService = inject(TieredMenuEventService);\n\n @Input({ required: true })\n public item!: TieredMenuItemInternalData;\n\n @Input()\n public focused = false;\n\n @Input()\n public highlight? = false;\n\n @Input()\n public triggerEvent: 'click' | 'hover' = 'click';\n\n @Input()\n public closeOnClick = false;\n\n private _showTimeout?: number;\n\n @HostListener('click')\n @HostListener('touchend')\n public onClick(): void {\n if (this.item.disabled) return;\n\n if (this.item.submenu) {\n if (!this.item.isOpen) {\n this._tieredMenuEventService.openItemMenuEvent.emit(this.item);\n } else if (this.closeOnClick) {\n this._tieredMenuEventService.closeItemMenuEvent.emit(this.item);\n }\n } else {\n this._tieredMenuEventService.selectItemEvent.emit(this.item);\n }\n }\n\n @HostListener('mouseenter')\n public onMouseEnter(): void {\n if (this.item.disabled) return;\n\n if (this.triggerEvent === 'hover' && !this.item.isOpen) {\n this._showTimeout = window.setTimeout(() => {\n this._tieredMenuEventService.openItemMenuEvent.emit(this.item);\n }, 300);\n }\n }\n\n @HostListener('mouseleave')\n public onMouseLeave(): void {\n window.clearTimeout(this._showTimeout);\n }\n}\n\n","<div\n [id]=\"item.id\"\n class=\"tiered-menu-item\"\n role=\"menuitem\"\n [tabindex]=\"focused && !item.disabled ? 0 : -1\"\n [attr.aria-disabled]=\"item.disabled || null\"\n [attr.aria-haspopup]=\"item.submenu ? 'menu' : null\"\n [attr.aria-expanded]=\"item.submenu ? item.isOpen : null\"\n [attr.data-key]=\"item.dataKey\"\n [ngClass]=\"{\n 'tiered-menu-item--open': item.isOpen,\n 'tiered-menu-item--focused': focused,\n 'tiered-menu-item--disabled': item.disabled,\n }\"\n>\n <div class=\"tiered-menu-item-content\">\n <span\n class=\"icon\"\n [ngClass]=\"item.iconClass\"\n ></span>\n <span class=\"label\">{{ item.label }}</span>\n </div>\n @if (item.submenu) {\n <span\n class=\"submenu-icon fas\"\n [class.fa-chevron-left]=\"item.isOpen\"\n [class.fa-chevron-right]=\"!item.isOpen\"\n >\n </span>\n }\n</div>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 's-tiered-menu-divider',\n templateUrl: './tiered-menu-divider.component.html',\n styleUrls: ['./tiered-menu-divider.component.scss'],\n})\nexport class TieredMenuDividerComponent {}\n","<div class=\"divider\"></div>\n","import { Component, HostListener, OnDestroy, OnInit, inject } from '@angular/core';\n\nimport { Subject } from 'rxjs';\n\nimport { TieredMenuItemInternalData } from '../../models/tiered-menu-item-internal-data';\nimport { TieredMenuEventService } from '../../services/tiered-menu.event.service';\nimport { TieredMenuService } from '../../services/tiered-menu.service';\nimport { takeUntil } from 'rxjs/operators';\nimport { disableScroll, enableScroll } from '@seniorsistemas/angular-components/utils';\n\n@Component({\n templateUrl: './tiered-menu-nested.component.html',\n styleUrls: ['./tiered-menu-nested.component.scss'],\n})\nexport class TieredMenuNestedComponent implements OnInit, OnDestroy {\n readonly tieredMenuService = inject(TieredMenuService);\n private readonly _tieredMenuEventService = inject(TieredMenuEventService);\n\n public items!: TieredMenuItemInternalData[];\n public top = 0;\n public left = 0;\n // public maxHeight = 0;\n\n // Saves the last opened item to close it when a new one is opened\n private _lastOpenItem?: TieredMenuItemInternalData;\n private _unsubscribe$ = new Subject<void>();\n\n @HostListener('window:resize')\n public onResize(): void {\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n }\n\n @HostListener('document:click', ['$event'])\n public onDocumentClick(event: MouseEvent): void {\n // Closing menu when clicked outside.\n const target = event.target as Element;\n const clickedInside = target.closest('s-tiered-menu-item') || target.closest('s-tiered-menu-divider');\n if (!clickedInside) {\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n }\n }\n\n @HostListener('document:keydown', ['$event'])\n public onKeydownHandler(event: KeyboardEvent) {\n switch (event.key) {\n case 'Escape':\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n break;\n case ' ':\n case 'Enter':\n this._tieredMenuEventService.selectItemEvent.emit(this.tieredMenuService.currentItem);\n break;\n case 'ArrowLeft':\n // When nested I need a reference to the current item's parent item, otherwise just the current item.\n this._tieredMenuEventService.closeItemMenuEvent.emit(this.tieredMenuService.currentItem?.parent);\n break;\n case 'ArrowRight':\n this._tieredMenuEventService.openItemMenuEvent.emit(this.tieredMenuService.currentItem);\n break;\n case 'ArrowUp':\n this._tieredMenuEventService.decrementCurrentItemEvent.emit();\n break;\n case 'ArrowDown':\n this._tieredMenuEventService.incrementCurrentItemEvent.emit();\n break;\n }\n }\n\n public ngOnInit(): void {\n this.tieredMenuService.currentItems = this.items;\n this._subscribeEvents();\n disableScroll();\n }\n\n public ngOnDestroy(): void {\n this._unsubscribe$.next();\n this._unsubscribe$.complete();\n enableScroll();\n }\n\n private _incrementCurItem(): void {\n if (!this.tieredMenuService.currentItem) {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\n return;\n }\n\n const curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) + 1;\n\n if (curIndex < this.tieredMenuService.currentItems.length) {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];\n } else {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\n }\n\n if (this.tieredMenuService.currentItem.divider) {\n this._incrementCurItem();\n }\n }\n\n private _decrementCurItem(): void {\n if (!this.tieredMenuService.currentItem) {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\n return;\n }\n\n const curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) - 1;\n\n if (curIndex >= 0) {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];\n } else {\n this.tieredMenuService.currentItem =\n this.tieredMenuService.currentItems[this.tieredMenuService.currentItems.length - 1];\n }\n\n if (this.tieredMenuService.currentItem.divider) {\n this._decrementCurItem();\n }\n }\n\n private _closeItem(item: TieredMenuItemInternalData): void {\n let itemAux = this._lastOpenItem;\n\n while (itemAux && itemAux != item) {\n itemAux.isOpen = false;\n itemAux = itemAux.parent;\n }\n\n item.isOpen = false;\n\n this.tieredMenuService.currentItem = itemAux ?? this.tieredMenuService.items[0];\n this.tieredMenuService.currentItems = itemAux?.parent?.submenu || this.tieredMenuService.items;\n }\n\n private _openItem(item: TieredMenuItemInternalData): void {\n if (item?.submenu) {\n item.isOpen = true;\n this.tieredMenuService.currentItems = item.submenu;\n\n // Only has focus if there has already been interaction.\n if (this.tieredMenuService.currentItem) {\n this.tieredMenuService.currentItem = item.submenu[0];\n }\n\n this._lastOpenItem = item;\n }\n }\n\n private _subscribeEvents(): void {\n this._tieredMenuEventService.incrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\n this._incrementCurItem();\n });\n\n this._tieredMenuEventService.decrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\n this._decrementCurItem();\n });\n\n this._tieredMenuEventService.selectItemEvent\n .pipe(takeUntil(this._unsubscribe$))\n .subscribe((item: TieredMenuItemInternalData | null) => {\n if (item && item.command) {\n item.command();\n // Close all menus after the item was selected.\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n }\n });\n\n this._tieredMenuEventService.openItemMenuEvent\n .pipe(takeUntil(this._unsubscribe$))\n .subscribe((item: TieredMenuItemInternalData | null) => {\n if (item) {\n if (!this.tieredMenuService.currentItems.includes(item)) {\n let itemAux = this._lastOpenItem;\n\n while (itemAux?.parent?.parent) {\n itemAux = itemAux.parent;\n }\n\n this._tieredMenuEventService.closeItemMenuEvent.emit(itemAux?.parent ?? itemAux);\n }\n\n this._lastOpenItem = item;\n this._openItem(item);\n }\n });\n\n this._tieredMenuEventService.closeItemMenuEvent\n .pipe(takeUntil(this._unsubscribe$))\n .subscribe((item: TieredMenuItemInternalData | null) => {\n if (item) {\n this._closeItem(item);\n }\n });\n }\n}\n","<div\n class=\"menu menu--nested\"\n [ngStyle]=\"{\n top: top + 'px',\n left: left + 'px',\n }\"\n>\n <ng-container\n *ngTemplateOutlet=\"itemsTemplate; context: { $implicit: items }\"\n ></ng-container>\n</div>\n\n<ng-template\n #itemsTemplate\n let-items\n>\n @for (item of items; track item.id) {\n <div>\n @if (item.visible && !item.divider) {\n <s-tiered-menu-item\n [item]=\"item\"\n [focused]=\"item === tieredMenuService.currentItem\"\n [closeOnClick]=\"true\"\n >\n </s-tiered-menu-item>\n }\n @if (item.divider) {\n <s-tiered-menu-divider></s-tiered-menu-divider>\n }\n @if (item.submenu && item.isOpen) {\n <div>\n <div class=\"submenu\">\n <ng-container\n *ngTemplateOutlet=\"\n itemsTemplate;\n context: { $implicit: item.submenu }\n \"\n ></ng-container>\n </div>\n </div>\n }\n </div>\n }\n</ng-template>\n","import { ApplicationRef, ChangeDetectorRef, Component, ComponentFactoryResolver, ComponentRef, EmbeddedViewRef, EventEmitter, HostListener, Input, Injector, OnDestroy, OnInit, Output, inject } from '@angular/core';\n\nimport { Subject } from 'rxjs';\n\nimport { takeUntil } from 'rxjs/operators';\nimport { TieredMenuItemInternalData } from '../../models/tiered-menu-item-internal-data';\nimport { TieredMenuEventService } from '../../services/tiered-menu.event.service';\nimport { TieredMenuService } from '../../services/tiered-menu.service';\nimport { disableScroll, enableScroll } from '@seniorsistemas/angular-components/utils';\n\n@Component({\n selector: 's-tiered-menu',\n templateUrl: './tiered-menu.component.html',\n styleUrls: ['./tiered-menu.component.scss'],\n})\nexport class TieredMenuComponent implements OnInit, OnDestroy {\n private readonly _appRef = inject(ApplicationRef);\n private readonly _componentFactoryResolver = inject(ComponentFactoryResolver);\n private readonly _injector = inject(Injector);\n private readonly _changeDetectorRef = inject(ChangeDetectorRef);\n readonly tieredMenuService = inject(TieredMenuService);\n private readonly _tieredMenuEventService = inject(TieredMenuEventService);\n\n @Input() public ariaLabel?: string;\n public items: TieredMenuItemInternalData[] = [];\n public top = 0;\n public left = 0;\n public menuTriggerEvent: 'click' | 'hover' = 'hover';\n public isSubmenu = false;\n\n private _componentRef: ComponentRef<TieredMenuComponent> | null = null;\n private _menuDivElement?: HTMLElement | null = null;\n private _unsubscribe$ = new Subject<void>();\n\n @Output()\n public destroyRequest = new EventEmitter<boolean>();\n\n @HostListener('window:resize')\n public onResize(): void {\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n }\n\n @HostListener('document:click', ['$event'])\n public onDocumentClick(event: MouseEvent): void {\n // Closing menu when clicked outside.\n const target = event.target as Element;\n const clickedInside = target.closest('s-tiered-menu-item') || target.closest('s-tiered-menu-divider');\n if (!clickedInside) {\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n }\n }\n\n @HostListener('document:keydown', ['$event'])\n public onKeydownHandler(event: KeyboardEvent) {\n switch (event.key) {\n case 'Escape':\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n event.preventDefault();\n break;\n case 'Tab':\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n break;\n case ' ':\n case 'Enter':\n if (\n this.tieredMenuService.currentItem &&\n !this.tieredMenuService.currentItem.disabled &&\n this.items.includes(this.tieredMenuService.currentItem)\n ) {\n this._tieredMenuEventService.selectItemEvent.emit(this.tieredMenuService.currentItem);\n event.preventDefault();\n }\n break;\n case 'ArrowUp':\n this._tieredMenuEventService.decrementCurrentItemEvent.emit();\n event.preventDefault();\n event.stopImmediatePropagation();\n break;\n case 'ArrowDown':\n this._tieredMenuEventService.incrementCurrentItemEvent.emit();\n event.preventDefault();\n event.stopImmediatePropagation();\n break;\n case 'ArrowLeft':\n if (this.tieredMenuService.currentItem && this.items.includes(this.tieredMenuService.currentItem)) {\n this._tieredMenuEventService.closeItemMenuEvent.emit(this.tieredMenuService.currentItem);\n this._changeDetectorRef.detectChanges();\n event.preventDefault();\n }\n break;\n case 'ArrowRight':\n if (\n this.tieredMenuService.currentItem &&\n !this.tieredMenuService.currentItem.disabled &&\n this.items.includes(this.tieredMenuService.currentItem)\n ) {\n this._tieredMenuEventService.openItemMenuEvent.emit(this.tieredMenuService.currentItem);\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n break;\n }\n }\n\n public ngOnInit(): void {\n this._subscribeEvents();\n\n // Submenus have their focus managed by the openItemMenuEvent handler.\n if (!this.isSubmenu) {\n this.tieredMenuService.currentItems = this.items;\n this.tieredMenuService.currentItem = this.items[0] ?? null;\n disableScroll();\n\n requestAnimationFrame(() => {\n this._focusCurrentItem();\n });\n }\n }\n\n public ngOnDestroy(): void {\n this._unsubscribe$.next();\n this._unsubscribe$.complete();\n }\n\n private _focusCurrentItem(): void {\n const id = this.tieredMenuService.currentItem?.id;\n\n if (!id) {\n return;\n }\n\n document.getElementById(id)?.focus();\n }\n\n private _incrementCurItem(): void {\n if (!this.tieredMenuService.currentItem) {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\n return;\n } else if (!this.items.includes(this.tieredMenuService.currentItem)) {\n // Checking if it is the current menu.\n return;\n }\n\n const currentIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) + 1;\n\n if (currentIndex < this.tieredMenuService.currentItems.length) {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[currentIndex];\n } else {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\n }\n\n if (this.tieredMenuService.currentItem.divider) {\n this._incrementCurItem();\n }\n }\n\n private _decrementCurItem(): void {\n if (!this.tieredMenuService.currentItem) {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\n return;\n // Checking if it is the current menu.\n } else if (!this.items.includes(this.tieredMenuService.currentItem)) {\n return;\n }\n\n const curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) - 1;\n\n if (curIndex >= 0) {\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];\n } else {\n this.tieredMenuService.currentItem =\n this.tieredMenuService.currentItems[this.tieredMenuService.currentItems.length - 1];\n }\n\n if (this.tieredMenuService.currentItem.divider) {\n this._decrementCurItem();\n }\n }\n\n private _createMenu(items: TieredMenuItemInternalData[], position: any): void {\n if (!this._componentRef && items) {\n const componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuComponent);\n this._componentRef = componentFactory.create(this._injector);\n this._appRef.attachView(this._componentRef.hostView);\n const domElem = (this._componentRef.hostView as EmbeddedViewRef<any>).rootNodes[0] as HTMLElement;\n document.body.appendChild(domElem);\n\n // Setting the menu items.\n this._componentRef.instance.items = items;\n this._componentRef.instance.isSubmenu = true;\n\n // Subscribe menu events.\n this._componentRef.instance.destroyRequest.subscribe((propagate: boolean) => {\n this._destroy(propagate);\n });\n\n this._menuDivElement = domElem.querySelector('.menu');\n this._setMenuPosition(position);\n }\n }\n\n private _destroy(propagate = true): void {\n if (this._componentRef !== null) {\n this._appRef.detachView(this._componentRef.hostView);\n this._componentRef.destroy();\n this._componentRef = null;\n this._menuDivElement = null;\n }\n\n if (propagate) {\n this.destroyRequest.emit();\n }\n }\n\n private _setMenuPosition(position: any): void {\n const ITEM_HEIGHT = 37;\n const DIVIDER_HEIGHT = 5;\n const PADDING = 8;\n\n if (this._componentRef !== null) {\n const { top, right, bottom, left } = position;\n\n const itemsCount = this._componentRef.instance.items?.reduce(\n (count: number, item: TieredMenuItemInternalData) => {\n return !item.divider ? count + 1 : count;\n },\n 0,\n );\n\n const dividersCount = this._componentRef.instance.items?.reduce(\n (count: number, item: TieredMenuItemInternalData) => {\n return item.divider ? count + 1 : count;\n },\n 0,\n );\n\n // I need to calculate the height of the component because the internal elements have not been created yet.\n const menuHeight = itemsCount * ITEM_HEIGHT + dividersCount * DIVIDER_HEIGHT + PADDING + 8;\n const menuWidth = this._menuDivElement?.getBoundingClientRect().width ?? 0;\n\n const rightFreeSpace = window.innerWidth - right;\n const bottomFreeSpace = window.innerHeight - bottom;\n\n if (rightFreeSpace > menuWidth) {\n this._componentRef.instance.left = right;\n } else {\n this._componentRef.instance.left = left - menuWidth;\n }\n\n if (bottomFreeSpace <= menuHeight) {\n this._componentRef.instance.top = Math.max(window.innerHeight - menuHeight, window.scrollY);\n } else {\n this._componentRef.instance.top = window.scrollY + top;\n }\n }\n }\n\n private _subscribeEvents(): void {\n // Increment current item event.\n this._tieredMenuEventService.incrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\n this._incrementCurItem();\n this._focusCurrentItem();\n });\n // Decrement current item event.\n this._tieredMenuEventService.decrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\n this._decrementCurItem();\n this._focusCurrentItem();\n });\n // Select item event.\n this._tieredMenuEventService.selectItemEvent\n .pipe(takeUntil(this._unsubscribe$))\n .subscribe((item: TieredMenuItemInternalData | null) => {\n if (item) {\n if (item.submenu) {\n this._tieredMenuEventService.openItemMenuEvent.emit(item);\n } else if (item.command) {\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n item.command();\n }\n }\n });\n // Close all menus event.\n this._tieredMenuEventService.closeAllMenusEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\n this._destroy();\n this.tieredMenuService.currentItem = null;\n this.tieredMenuService.currentItems = this.tieredMenuService.items;\n this.tieredMenuService.markAllItemsAsClosed(this.tieredMenuService.items);\n enableScroll();\n });\n\n // Open item menu event.\n this._tieredMenuEventService.openItemMenuEvent\n .pipe(takeUntil(this._unsubscribe$))\n .subscribe((item: TieredMenuItemInternalData | null) => {\n if (this.tieredMenuService.currentItem) {\n if (this.tieredMenuService.currentItem.parent === item) {\n return;\n }\n\n if (this.tieredMenuService.currentItem?.parent) {\n if (!item) return;\n\n if (\n !this.tieredMenuService.searchTheHierarchy(this.tieredMenuService.currentItem.parent, item)\n ) {\n let current: TieredMenuItemInternalData | undefined = this.tieredMenuService.currentItem;\n\n current.isOpen = false;\n\n while (current?.parent !== item.parent) {\n this._tieredMenuEventService.closeItemMenuEvent.emit(current);\n this._changeDetectorRef.detectChanges();\n\n current = current?.parent;\n }\n\n if (current) {\n current.isOpen = false;\n }\n }\n }\n }\n\n if (item?.submenu && !item?.isOpen && this.items.includes(item)) {\n const itemEl = document.querySelector(`#${item.id}`);\n\n if (!itemEl) return;\n\n const { top, right, left, bottom } = itemEl.getBoundingClientRect();\n const position = { top, right, left, bottom };\n\n this._createMenu(item.submenu, position);\n this.tieredMenuService.currentItems = item.submenu;\n this.tieredMenuService.currentItem = item.submenu[0];\n item.isOpen = true;\n\n requestAnimationFrame(() => {\n this._focusCurrentItem();\n });\n }\n });\n\n // Close item menu event.\n this._tieredMenuEventService.closeItemMenuEvent\n .pipe(takeUntil(this._unsubscribe$))\n .subscribe((item: TieredMenuItemInternalData | null) => {\n if (item === null) return;\n if (this.items.some((i) => i.id === item.id)) {\n if (item.parent) {\n item.parent.isOpen = false;\n } else {\n enableScroll();\n }\n this.tieredMenuService.currentItems = item?.parent?.parent?.submenu || this.tieredMenuService.items;\n this.tieredMenuService.currentItem = item.parent;\n this.destroyRequest.emit(false);\n\n requestAnimationFrame(() => {\n this._focusCurrentItem();\n });\n }\n });\n }\n}\n\n","<div\n class=\"menu\"\n role=\"application\"\n [attr.aria-label]=\"ariaLabel\"\n [ngStyle]=\"{\n left: left + 'px',\n top: top + 'px',\n }\"\n>\n <!-- <div *ngFor=\"let item of items\">\n <s-tiered-menu-item\n *ngIf=\"item.visible && !item.divider\"\n [item]=\"item\"\n [focused]=\"item === tieredMenuService.currentItem\"\n [highlight]=\"item.isOpen\"\n fieldUtils.triggerEvent=\"hover\"\n [closeOnClick]=\"false\"\n >\n </s-tiered-menu-item>\n <s-tiered-menu-divider *ngIf=\"item.divider\"></s-tiered-menu-divider>\n </div> -->\n @for (item of items; track $index) {\n @if (item.visible && !item.divider) {\n <s-tiered-menu-item\n [item]=\"item\"\n [focused]=\"item === tieredMenuService.currentItem\"\n [highlight]=\"item.isOpen\"\n fieldUtils.triggerEvent=\"hover\"\n [closeOnClick]=\"false\"\n />\n }\n @if (item.divider) {\n <s-tiered-menu-divider />\n }\n }\n</div>\n","import { ApplicationRef, ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, Directive, ElementRef, EmbeddedViewRef, EventEmitter, HostListener, Injector, Input, OnChanges, OnDestroy, OnInit, Output, Type, inject } from '@angular/core';\n\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { TieredMenuNestedComponent } from './components/tiered-menu-nested/tiered-menu-nested.component';\nimport { TieredMenuComponent } from './components/tiered-menu/tiered-menu.component';\nimport { TieredMenuItemData } from './models/tiered-menu-item-data';\nimport { TieredMenuEventService } from './services/tiered-menu.event.service';\nimport { TieredMenuGlobalService } from './services/tiered-menu.global.service';\nimport { TieredMenuService } from './services/tiered-menu.service';\nimport { TieredMenuItemInternalData } from './models';\nimport { enableScroll } from '@seniorsistemas/angular-components/utils';\n\n/**\n * @description Diretiva que anexa um menu multinível (tiered menu) a qualquer elemento do DOM.\n * Ao disparar o evento configurado no elemento hospedeiro, exibe um painel flutuante\n * com itens de menu hierárquicos, suportando submenus aninhados e divisores.\n * Em telas estreitas (< 600px), o menu é exibido em modo aninhado fullscreen.\n *\n * @example\n * ```html\n * <s-button [sTieredMenu]=\"menuItems\" triggerEvent=\"click\">Abrir menu</s-button>\n * ```\n *\n * @category Navegação\n */\n@Directive({\n selector: '[sTieredMenu]',\n providers: [TieredMenuEventService, TieredMenuService],\n})\nexport class TieredMenuDirective implements OnInit, OnChanges, OnDestroy {\n private readonly _elementRef = inject(ElementRef);\n private readonly _appRef = inject(ApplicationRef);\n private readonly _componentFactoryResolver = inject(ComponentFactoryResolver);\n private readonly _injector = inject(Injector);\n private readonly _tieredMenuEventService = inject(TieredMenuEventService);\n private readonly _tieredMenuService = inject(TieredMenuService);\n private readonly _tieredMenuGlobalService = inject(TieredMenuGlobalService);\n private readonly _changeDetectorRef = inject(ChangeDetectorRef);\n\n /**\n * @description Lista de itens exibidos no menu. Cada item pode conter um array de `children`\n * para criar submenus aninhados, além de propriedades como `label`, `icon`,\n * `disabled`, `command` e `divider`.\n */\n @Input()\n public items: TieredMenuItemData[] = [];\n\n /**\n * @description Item que receberá o foco inicial ao abrir o menu.\n * Útil para destacar uma opção pré-selecionada ou contextual.\n */\n @Input()\n public focusedItem: TieredMenuItemData | undefined = undefined;\n\n /**\n * @description Define o evento do elemento hospedeiro que dispara a abertura do menu.\n * - `'click'`: abre o menu ao clicar no elemento (padrão).\n * - `'hover'`: abre o menu ao passar o mouse sobre o elemento.\n *\n * @default 'click'\n */\n @Input()\n public triggerEvent: 'click' | 'hover' = 'click';\n\n @Input()\n public ariaLabel?: string;\n\n @Output()\n public tieredMenuOpened: EventEmitter<void> = new EventEmitter<void>();\n\n @Output()\n public tieredMenuClosed: EventEmitter<void> = new EventEmitter<void>();\n\n private _componentRef: ComponentRef<any> | null = null;\n private _showTimeout?: number;\n private _isNested = false;\n private _isOpen = false;\n private _unsubscribe$ = new Subject<void>();\n private _lastActiveElement?: Element;\n private _previousItems: TieredMenuItemData[] = [];\n private _itemsAreValid?: boolean;\n private _resizeObserver = new ResizeObserver(() => {\n this._setMenuPosition();\n this._componentRef?.hostView.detectChanges();\n });\n\n public ngOnInit(): void {\n this._itemsAreValid = !!this.items?.length;\n\n if (!this._itemsAreValid) return;\n\n this._subscribeEvents();\n }\n\n public ngOnChanges(): void {\n if (!this._itemsAreValid) return;\n\n if (!this._previousItems) {\n this._previousItems = this._tieredMenuService.cloneItems(this.items);\n }\n\n let hasChanges = false;\n\n if (this.items.length !== this._previousItems.length) {\n hasChanges = true;\n } else {\n for (let i = 0; i < this.items.length; i++) {\n if (!this._compareItems(this.items[i], this._previousItems[i])) {\n hasChanges = true;\n break;\n }\n }\n }\n\n if (hasChanges) {\n this._updateServiceItems();\n this._changeDetectorRef.detectChanges();\n this._rebuildMenu();\n }\n\n this._previousItems = this._tieredMenuService.cloneItems(this.items);\n }\n\n public ngOnDestroy(): void {\n if (!this._itemsAreValid) return;\n\n this._unsubscribe$.next();\n this._unsubscribe$.complete();\n\n this._destroy();\n }\n\n @HostListener('click', ['$event'])\n public onClick(event: MouseEvent): void {\n if (!this._itemsAreValid) return;\n\n if (this.triggerEvent === 'click' && !this._isOpen) {\n this._lastActiveElement = document.activeElement as Element;\n this._createMenu();\n event.preventDefault();\n event.stopPropagation();\n }\n }\n\n private _createMenu(): void {\n this._updateServiceItems();\n\n if (!this._componentRef && this._tieredMenuService.items?.length > 0) {\n this._tieredMenuGlobalService.lastInstance?._destroy();\n this._tieredMenuGlobalService.lastInstance = this;\n\n (this._lastActiveElement as HTMLElement)?.blur();\n this._isOpen = true;\n this.tieredMenuOpened.emit();\n this._isNested = document.body.clientWidth < 600;\n\n this._isNested ? this._createNestedMenu() : this._createTieredMenu();\n }\n }\n\n private _createTieredMenu(): void {\n if (!this._componentRef && this._tieredMenuService.items?.length > 0) {\n this._componentRef = this._createComponent(TieredMenuComponent);\n this._appRef.attachView(this._componentRef.hostView);\n const domElem = this._componentRef.location.nativeElement as HTMLElement;\n document.body.appendChild(domElem);\n this._setMenuComponentProperties();\n this._componentRef.instance.destroyRequest.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\n this._destroy();\n });\n\n this._setMenuPosition();\n }\n }\n\n private _createNestedMenu(): void {\n if (!this._componentRef && this._tieredMenuService.items?.length > 0) {\n const componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuNestedComponent);\n this._componentRef = componentFactory.create(this._injector);\n this._appRef.attachView(this._componentRef.hostView);\n const domElem = (this._componentRef.hostView as EmbeddedViewRef<any>).rootNodes[0] as HTMLElement;\n document.body.appendChild(domElem);\n this._setMenuComponentProperties();\n this._setMenuPosition();\n }\n }\n\n private _createComponent<T>(componentClass: Type<T>) {\n const componentFactory = this._componentFactoryResolver.resolveComponentFactory(componentClass);\n const _componentRef = componentFactory.create(this._injector);\n this._resizeObserver.observe(_componentRef.location.nativeElement.querySelector('.menu'));\n _componentRef.onDestroy(() => {\n this._resizeObserver.disconnect();\n });\n return _componentRef;\n }\n\n private _destroy(): void {\n if (this._componentRef) {\n this._isOpen = false;\n this.tieredMenuClosed.emit();\n window.clearTimeout(this._showTimeout);\n this._appRef.detachView(this._componentRef.hostView);\n this._componentRef.destroy();\n this._componentRef = null;\n\n this._tieredMenuService.currentItems = this._tieredMenuService.items;\n this._tieredMenuService.currentItem = this._tieredMenuService.items[0];\n this._tieredMenuEventService.closeAllMenusEvent.emit();\n }\n }\n\n private _setMenuPosition(): void {\n if (!this._componentRef) {\n return;\n }\n this._changeDetectorRef.detectChanges();\n const ITEM_HEIGHT = 37;\n const ITEM_WIDTH =\n (this._componentRef.location.nativeElement as HTMLElement)?.querySelector('.menu')?.clientWidth || 176;\n const DIVIDER_HEIGHT = 5;\n const PADDING = 8;\n const MARGIN = 4;\n this._componentRef.instance.top = 8;\n let { bottom, left, right } = this._elementRef.nativeElement.getBoundingClientRect();\n\n const itemsCount = this._componentRef.instance.items?.reduce(\n (count: number, item: TieredMenuItemInternalData) => {\n return !item.divider ? count + 1 : count;\n },\n 0,\n );\n\n const dividersCount = this._componentRef.instance.items?.reduce(\n (count: number, item: TieredMenuItemInternalData) => {\n return item.divider ? count + 1 : count;\n },\n 0,\n );\n\n const menuHeight = itemsCount * ITEM_HEIGHT + dividersCount * DIVIDER_HEIGHT + PADDING + MARGIN;\n const rightFreeSpace = window.innerWidth - right;\n const bottomFreeSpace = window.innerHeight - bottom;\n\n this._componentRef.instance.top = bottom;\n this._componentRef.instance.left = left;\n\n if (bottomFreeSpace <= menuHeight) {\n this._componentRef.instance.top = Math.max(scrollY + bottom - menuHeight, 0);\n } else {\n this._componentRef.instance.top = window.scrollY + bottom + MARGIN;\n }\n\n if (rightFreeSpace > 176) {\n this._componentRef.instance.left = window.scrollX + left;\n } else {\n this._componentRef.instance.left = window.scrollX + right - ITEM_WIDTH;\n }\n\n if (this._isNested) {\n this._componentRef.instance.left = MARGIN;\n }\n }\n\n private _setMenuComponentProperties(): void {\n if (this._componentRef != null) {\n this._componentRef.instance.items = this._tieredMenuService.items;\n this._componentRef.instance.ariaLabel = this.ariaLabel;\n }\n }\n\n private _subscribeEvents(): void {\n this._tieredMenuEventService.closeAllMenusEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\n this._tieredMenuService.items = this._tieredMenuService.markAllItemsAsClosed(this._tieredMenuService.items);\n this._destroy();\n enableScroll();\n });\n }\n\n private _compareItems(item1: TieredMenuItemData, item2: TieredMenuItemData): boolean {\n return JSON.stringify(item1) === JSON.stringify(item2);\n }\n\n private _rebuildMenu(): void {\n this._destroy();\n }\n\n private _updateServiceItems(): void {\n this._tieredMenuService.items = this._tieredMenuService.normalizeData(this.items);\n this._tieredMenuService.currentItems = this._tieredMenuService.items;\n\n this._tieredMenuService.currentItem =\n this._tieredMenuService.items.find((i) => i.label === this.focusedItem?.label) ??\n this._tieredMenuService.items[0];\n }\n}\n\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { TieredMenuDividerComponent } from './components/tiered-menu-divider/tiered-menu-divider.component';\nimport { TieredMenuItemComponent } from './components/tiered-menu-item/tiered-menu-item.component';\nimport { TieredMenuNestedComponent } from './components/tiered-menu-nested/tiered-menu-nested.component';\nimport { TieredMenuComponent } from './components/tiered-menu/tiered-menu.component';\nimport { TieredMenuGlobalService } from './services/tiered-menu.global.service';\nimport { TieredMenuDirective } from './tiered-menu.directive';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n TieredMenuDirective,\n TieredMenuComponent,\n TieredMenuNestedComponent,\n TieredMenuItemComponent,\n TieredMenuDividerComponent,\n ],\n exports: [TieredMenuDirective],\n providers: [TieredMenuGlobalService],\n})\nexport class TieredMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2.TieredMenuItemComponent","i3.TieredMenu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,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBATrB,mBAAmB;YACnB,mBAAmB;YACnB,yBAAyB;YACzB,uBAAuB;YACvB,0BAA0B,CAAA,EAAA,OAAA,EAAA,CANpB,YAAY,CAAA,EAAA,OAAA,EAAA,CAQZ,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAGpB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAFd,SAAA,EAAA,CAAC,uBAAuB,CAAC,YAT1B,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAWb,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAZ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,YAAY,EAAE;wBACV,mBAAmB;wBACnB,mBAAmB;wBACnB,yBAAyB;wBACzB,uBAAuB;wBACvB,0BAA0B;AAC7B,qBAAA;oBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,SAAS,EAAE,CAAC,uBAAuB,CAAC;AACvC,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"seniorsistemas-angular-components-tiered-menu.mjs","sources":["../../projects/angular-components/tiered-menu/src/lib/tiered-menu/services/tiered-menu.service.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/services/tiered-menu.global.service.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/services/tiered-menu.event.service.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.html","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.html","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.html","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu/tiered-menu.component.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/components/tiered-menu/tiered-menu.component.html","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/tiered-menu.directive.ts","../../projects/angular-components/tiered-menu/src/lib/tiered-menu/tiered-menu.module.ts","../../projects/angular-components/tiered-menu/src/seniorsistemas-angular-components-tiered-menu.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { TieredMenuItemData } from '../models/tiered-menu-item-data';\nimport { TieredMenuItemInternalData } from '../models/tiered-menu-item-internal-data';\n\n@Injectable()\nexport class TieredMenuService {\n public currentItem?: TieredMenuItemInternalData | null = null;\n public currentItems: TieredMenuItemInternalData[] = [];\n public items: TieredMenuItemInternalData[] = [];\n\n public normalizeData(\n items: TieredMenuItemData[],\n parent?: TieredMenuItemInternalData,\n ): TieredMenuItemInternalData[] {\n return items.map((i: TieredMenuItemInternalData) => {\n const item = {\n visible: true,\n ...i,\n };\n if (item.submenu) {\n item.submenu = this.normalizeData(item.submenu, item);\n }\n item.id = this._generateId();\n item.parent = parent;\n item.isOpen = false;\n return item;\n });\n }\n\n public markAllItemsAsClosed(items: TieredMenuItemInternalData[]): TieredMenuItemInternalData[] {\n return items.map((i: TieredMenuItemInternalData) => {\n const item = { ...i };\n if (item.submenu) {\n item.submenu = this.markAllItemsAsClosed(item.submenu);\n }\n item.isOpen = false;\n return item;\n });\n }\n\n public searchTheHierarchy(itemA: TieredMenuItemInternalData, itemB: TieredMenuItemInternalData) {\n let item: TieredMenuItemInternalData | null = itemB;\n while (item) {\n if (item === itemA) {\n return true;\n }\n item = item.parent ?? null;\n }\n return false;\n }\n\n public cloneItems(items: TieredMenuItemInternalData[]): TieredMenuItemInternalData[] {\n return JSON.parse(JSON.stringify(items));\n }\n\n private _generateId(): string {\n return `id-${Math.random().toString(36).substring(2, 9)}-${Math.random().toString(36).substring(2, 9)}-${Math.random().toString(36).substring(2, 9)}`;\n }\n}\n\n","import { Injectable } from '@angular/core';\nimport { TieredMenuDirective } from '../tiered-menu.directive';\n\n@Injectable()\nexport class TieredMenuGlobalService {\n public lastInstance?: TieredMenuDirective | null;\n}\n","import { Injectable, EventEmitter } from '@angular/core';\n\nimport { TieredMenuItemInternalData } from '../models/tiered-menu-item-internal-data';\n\n@Injectable()\nexport class TieredMenuEventService {\n public incrementCurrentItemEvent = new EventEmitter();\n public decrementCurrentItemEvent = new EventEmitter();\n public closeAllMenusEvent = new EventEmitter();\n public selectItemEvent =\n new EventEmitter<TieredMenuItemInternalData | null>();\n public openItemMenuEvent =\n new EventEmitter<TieredMenuItemInternalData | null>();\n public closeItemMenuEvent =\n new EventEmitter<TieredMenuItemInternalData | null>();\n public createMenuEvent =\n new EventEmitter<TieredMenuItemInternalData | null>();\n}\n","import { Component, HostListener, Input, inject } from '@angular/core';\r\n\r\nimport { TieredMenuEventService } from '../../services/tiered-menu.event.service';\r\nimport { TieredMenuItemInternalData } from '../../models';\r\nimport { NgClass } from '@angular/common';\r\n\r\n@Component({\r\n selector: 's-tiered-menu-item',\r\n templateUrl: './tiered-menu-item.component.html',\r\n styleUrls: ['./tiered-menu-item.component.scss'],\r\n standalone: true,\r\n imports: [NgClass],\r\n})\r\nexport class TieredMenuItemComponent {\r\n private readonly _tieredMenuEventService = inject(TieredMenuEventService);\r\n\r\n @Input({ required: true })\r\n public item!: TieredMenuItemInternalData;\r\n\r\n @Input()\r\n public focused = false;\r\n\r\n @Input()\r\n public highlight? = false;\r\n\r\n @Input()\r\n public triggerEvent: 'click' | 'hover' = 'click';\r\n\r\n @Input()\r\n public closeOnClick = false;\r\n\r\n private _showTimeout?: number;\r\n\r\n @HostListener('click')\r\n @HostListener('touchend')\r\n public onClick(): void {\r\n if (this.item.disabled) return;\r\n\r\n if (this.item.submenu) {\r\n if (!this.item.isOpen) {\r\n this._tieredMenuEventService.openItemMenuEvent.emit(this.item);\r\n } else if (this.closeOnClick) {\r\n this._tieredMenuEventService.closeItemMenuEvent.emit(this.item);\r\n }\r\n } else {\r\n this._tieredMenuEventService.selectItemEvent.emit(this.item);\r\n }\r\n }\r\n\r\n @HostListener('mouseenter')\r\n public onMouseEnter(): void {\r\n if (this.item.disabled) return;\r\n\r\n if (this.triggerEvent === 'hover' && !this.item.isOpen) {\r\n this._showTimeout = window.setTimeout(() => {\r\n this._tieredMenuEventService.openItemMenuEvent.emit(this.item);\r\n }, 300);\r\n }\r\n }\r\n\r\n @HostListener('mouseleave')\r\n public onMouseLeave(): void {\r\n window.clearTimeout(this._showTimeout);\r\n }\r\n}\r\n","<div\n [id]=\"item.id\"\n class=\"tiered-menu-item\"\n role=\"menuitem\"\n [tabindex]=\"focused && !item.disabled ? 0 : -1\"\n [attr.aria-disabled]=\"item.disabled || null\"\n [attr.aria-haspopup]=\"item.submenu ? 'menu' : null\"\n [attr.aria-expanded]=\"item.submenu ? item.isOpen : null\"\n [attr.data-key]=\"item.dataKey\"\n [ngClass]=\"{\n 'tiered-menu-item--open': item.isOpen,\n 'tiered-menu-item--focused': focused,\n 'tiered-menu-item--disabled': item.disabled,\n }\"\n>\n <div class=\"tiered-menu-item-content\">\n <span\n class=\"icon\"\n [ngClass]=\"item.iconClass\"\n ></span>\n <span class=\"label\">{{ item.label }}</span>\n </div>\n @if (item.submenu) {\n <span\n class=\"submenu-icon fas\"\n [class.fa-chevron-left]=\"item.isOpen\"\n [class.fa-chevron-right]=\"!item.isOpen\"\n >\n </span>\n }\n</div>\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 's-tiered-menu-divider',\r\n templateUrl: './tiered-menu-divider.component.html',\r\n styleUrls: ['./tiered-menu-divider.component.scss'],\r\n standalone: true,\r\n})\r\nexport class TieredMenuDividerComponent {}\r\n","<div class=\"divider\"></div>\n","import { Component, HostListener, OnDestroy, OnInit, inject } from '@angular/core';\r\n\r\nimport { Subject } from 'rxjs';\r\n\r\nimport { TieredMenuItemInternalData } from '../../models/tiered-menu-item-internal-data';\r\nimport { TieredMenuEventService } from '../../services/tiered-menu.event.service';\r\nimport { TieredMenuService } from '../../services/tiered-menu.service';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { disableScroll, enableScroll } from '@seniorsistemas/angular-components/utils';\r\nimport { NgStyle, NgTemplateOutlet } from '@angular/common';\r\nimport { TieredMenuItemComponent } from '../tiered-menu-item/tiered-menu-item.component';\r\nimport { TieredMenuDividerComponent } from '../tiered-menu-divider/tiered-menu-divider.component';\r\n\r\n@Component({\r\n templateUrl: './tiered-menu-nested.component.html',\r\n styleUrls: ['./tiered-menu-nested.component.scss'],\r\n standalone: true,\r\n imports: [NgStyle, NgTemplateOutlet, TieredMenuItemComponent, TieredMenuDividerComponent],\r\n})\r\nexport class TieredMenuNestedComponent implements OnInit, OnDestroy {\r\n readonly tieredMenuService = inject(TieredMenuService);\r\n private readonly _tieredMenuEventService = inject(TieredMenuEventService);\r\n\r\n public items!: TieredMenuItemInternalData[];\r\n public top = 0;\r\n public left = 0;\r\n // public maxHeight = 0;\r\n\r\n // Saves the last opened item to close it when a new one is opened\r\n private _lastOpenItem?: TieredMenuItemInternalData;\r\n private _unsubscribe$ = new Subject<void>();\r\n\r\n @HostListener('window:resize')\r\n public onResize(): void {\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n }\r\n\r\n @HostListener('document:click', ['$event'])\r\n public onDocumentClick(event: MouseEvent): void {\r\n // Closing menu when clicked outside.\r\n const target = event.target as Element;\r\n const clickedInside = target.closest('s-tiered-menu-item') || target.closest('s-tiered-menu-divider');\r\n if (!clickedInside) {\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n }\r\n }\r\n\r\n @HostListener('document:keydown', ['$event'])\r\n public onKeydownHandler(event: KeyboardEvent) {\r\n switch (event.key) {\r\n case 'Escape':\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n break;\r\n case ' ':\r\n case 'Enter':\r\n this._tieredMenuEventService.selectItemEvent.emit(this.tieredMenuService.currentItem);\r\n break;\r\n case 'ArrowLeft':\r\n // When nested I need a reference to the current item's parent item, otherwise just the current item.\r\n this._tieredMenuEventService.closeItemMenuEvent.emit(this.tieredMenuService.currentItem?.parent);\r\n break;\r\n case 'ArrowRight':\r\n this._tieredMenuEventService.openItemMenuEvent.emit(this.tieredMenuService.currentItem);\r\n break;\r\n case 'ArrowUp':\r\n this._tieredMenuEventService.decrementCurrentItemEvent.emit();\r\n break;\r\n case 'ArrowDown':\r\n this._tieredMenuEventService.incrementCurrentItemEvent.emit();\r\n break;\r\n }\r\n }\r\n\r\n public ngOnInit(): void {\r\n this.tieredMenuService.currentItems = this.items;\r\n this._subscribeEvents();\r\n disableScroll();\r\n }\r\n\r\n public ngOnDestroy(): void {\r\n this._unsubscribe$.next();\r\n this._unsubscribe$.complete();\r\n enableScroll();\r\n }\r\n\r\n private _incrementCurItem(): void {\r\n if (!this.tieredMenuService.currentItem) {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\r\n return;\r\n }\r\n\r\n const curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) + 1;\r\n\r\n if (curIndex < this.tieredMenuService.currentItems.length) {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];\r\n } else {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\r\n }\r\n\r\n if (this.tieredMenuService.currentItem.divider) {\r\n this._incrementCurItem();\r\n }\r\n }\r\n\r\n private _decrementCurItem(): void {\r\n if (!this.tieredMenuService.currentItem) {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\r\n return;\r\n }\r\n\r\n const curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) - 1;\r\n\r\n if (curIndex >= 0) {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];\r\n } else {\r\n this.tieredMenuService.currentItem =\r\n this.tieredMenuService.currentItems[this.tieredMenuService.currentItems.length - 1];\r\n }\r\n\r\n if (this.tieredMenuService.currentItem.divider) {\r\n this._decrementCurItem();\r\n }\r\n }\r\n\r\n private _closeItem(item: TieredMenuItemInternalData): void {\r\n let itemAux = this._lastOpenItem;\r\n\r\n while (itemAux && itemAux != item) {\r\n itemAux.isOpen = false;\r\n itemAux = itemAux.parent;\r\n }\r\n\r\n item.isOpen = false;\r\n\r\n this.tieredMenuService.currentItem = itemAux ?? this.tieredMenuService.items[0];\r\n this.tieredMenuService.currentItems = itemAux?.parent?.submenu || this.tieredMenuService.items;\r\n }\r\n\r\n private _openItem(item: TieredMenuItemInternalData): void {\r\n if (item?.submenu) {\r\n item.isOpen = true;\r\n this.tieredMenuService.currentItems = item.submenu;\r\n\r\n // Only has focus if there has already been interaction.\r\n if (this.tieredMenuService.currentItem) {\r\n this.tieredMenuService.currentItem = item.submenu[0];\r\n }\r\n\r\n this._lastOpenItem = item;\r\n }\r\n }\r\n\r\n private _subscribeEvents(): void {\r\n this._tieredMenuEventService.incrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\r\n this._incrementCurItem();\r\n });\r\n\r\n this._tieredMenuEventService.decrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\r\n this._decrementCurItem();\r\n });\r\n\r\n this._tieredMenuEventService.selectItemEvent\r\n .pipe(takeUntil(this._unsubscribe$))\r\n .subscribe((item: TieredMenuItemInternalData | null) => {\r\n if (item && item.command) {\r\n item.command();\r\n // Close all menus after the item was selected.\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n }\r\n });\r\n\r\n this._tieredMenuEventService.openItemMenuEvent\r\n .pipe(takeUntil(this._unsubscribe$))\r\n .subscribe((item: TieredMenuItemInternalData | null) => {\r\n if (item) {\r\n if (!this.tieredMenuService.currentItems.includes(item)) {\r\n let itemAux = this._lastOpenItem;\r\n\r\n while (itemAux?.parent?.parent) {\r\n itemAux = itemAux.parent;\r\n }\r\n\r\n this._tieredMenuEventService.closeItemMenuEvent.emit(itemAux?.parent ?? itemAux);\r\n }\r\n\r\n this._lastOpenItem = item;\r\n this._openItem(item);\r\n }\r\n });\r\n\r\n this._tieredMenuEventService.closeItemMenuEvent\r\n .pipe(takeUntil(this._unsubscribe$))\r\n .subscribe((item: TieredMenuItemInternalData | null) => {\r\n if (item) {\r\n this._closeItem(item);\r\n }\r\n });\r\n }\r\n}\r\n","<div\n class=\"menu menu--nested\"\n [ngStyle]=\"{\n top: top + 'px',\n left: left + 'px',\n }\"\n>\n <ng-container\n *ngTemplateOutlet=\"itemsTemplate; context: { $implicit: items }\"\n ></ng-container>\n</div>\n\n<ng-template\n #itemsTemplate\n let-items\n>\n @for (item of items; track item.id) {\n <div>\n @if (item.visible && !item.divider) {\n <s-tiered-menu-item\n [item]=\"item\"\n [focused]=\"item === tieredMenuService.currentItem\"\n [closeOnClick]=\"true\"\n >\n </s-tiered-menu-item>\n }\n @if (item.divider) {\n <s-tiered-menu-divider></s-tiered-menu-divider>\n }\n @if (item.submenu && item.isOpen) {\n <div>\n <div class=\"submenu\">\n <ng-container\n *ngTemplateOutlet=\"\n itemsTemplate;\n context: { $implicit: item.submenu }\n \"\n ></ng-container>\n </div>\n </div>\n }\n </div>\n }\n</ng-template>\n","import {\r\n ApplicationRef,\r\n ChangeDetectorRef,\r\n Component,\r\n ComponentFactoryResolver,\r\n ComponentRef,\r\n EmbeddedViewRef,\r\n EventEmitter,\r\n HostListener,\r\n Input,\r\n Injector,\r\n OnDestroy,\r\n OnInit,\r\n Output,\r\n inject,\r\n} from '@angular/core';\r\n\r\nimport { Subject } from 'rxjs';\r\n\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { TieredMenuItemInternalData } from '../../models/tiered-menu-item-internal-data';\r\nimport { TieredMenuEventService } from '../../services/tiered-menu.event.service';\r\nimport { TieredMenuService } from '../../services/tiered-menu.service';\r\nimport { disableScroll, enableScroll } from '@seniorsistemas/angular-components/utils';\r\nimport { NgStyle } from '@angular/common';\r\nimport { TieredMenuItemComponent } from '../tiered-menu-item/tiered-menu-item.component';\r\nimport { TieredMenuDividerComponent } from '../tiered-menu-divider/tiered-menu-divider.component';\r\n\r\n@Component({\r\n selector: 's-tiered-menu',\r\n templateUrl: './tiered-menu.component.html',\r\n styleUrls: ['./tiered-menu.component.scss'],\r\n standalone: true,\r\n imports: [NgStyle, TieredMenuItemComponent, TieredMenuDividerComponent],\r\n})\r\nexport class TieredMenuComponent implements OnInit, OnDestroy {\r\n private readonly _appRef = inject(ApplicationRef);\r\n private readonly _componentFactoryResolver = inject(ComponentFactoryResolver);\r\n private readonly _injector = inject(Injector);\r\n private readonly _changeDetectorRef = inject(ChangeDetectorRef);\r\n readonly tieredMenuService = inject(TieredMenuService);\r\n private readonly _tieredMenuEventService = inject(TieredMenuEventService);\r\n\r\n @Input() public ariaLabel?: string;\r\n public items: TieredMenuItemInternalData[] = [];\r\n public top = 0;\r\n public left = 0;\r\n public menuTriggerEvent: 'click' | 'hover' = 'hover';\r\n public isSubmenu = false;\r\n\r\n private _componentRef: ComponentRef<TieredMenuComponent> | null = null;\r\n private _menuDivElement?: HTMLElement | null = null;\r\n private _unsubscribe$ = new Subject<void>();\r\n\r\n @Output()\r\n public destroyRequest = new EventEmitter<boolean>();\r\n\r\n @HostListener('window:resize')\r\n public onResize(): void {\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n }\r\n\r\n @HostListener('document:click', ['$event'])\r\n public onDocumentClick(event: MouseEvent): void {\r\n // Closing menu when clicked outside.\r\n const target = event.target as Element;\r\n const clickedInside = target.closest('s-tiered-menu-item') || target.closest('s-tiered-menu-divider');\r\n if (!clickedInside) {\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n }\r\n }\r\n\r\n @HostListener('document:keydown', ['$event'])\r\n public onKeydownHandler(event: KeyboardEvent) {\r\n switch (event.key) {\r\n case 'Escape':\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n event.preventDefault();\r\n break;\r\n case 'Tab':\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n break;\r\n case ' ':\r\n case 'Enter':\r\n if (\r\n this.tieredMenuService.currentItem &&\r\n !this.tieredMenuService.currentItem.disabled &&\r\n this.items.includes(this.tieredMenuService.currentItem)\r\n ) {\r\n this._tieredMenuEventService.selectItemEvent.emit(this.tieredMenuService.currentItem);\r\n event.preventDefault();\r\n }\r\n break;\r\n case 'ArrowUp':\r\n this._tieredMenuEventService.decrementCurrentItemEvent.emit();\r\n event.preventDefault();\r\n event.stopImmediatePropagation();\r\n break;\r\n case 'ArrowDown':\r\n this._tieredMenuEventService.incrementCurrentItemEvent.emit();\r\n event.preventDefault();\r\n event.stopImmediatePropagation();\r\n break;\r\n case 'ArrowLeft':\r\n if (this.tieredMenuService.currentItem && this.items.includes(this.tieredMenuService.currentItem)) {\r\n this._tieredMenuEventService.closeItemMenuEvent.emit(this.tieredMenuService.currentItem);\r\n this._changeDetectorRef.detectChanges();\r\n event.preventDefault();\r\n }\r\n break;\r\n case 'ArrowRight':\r\n if (\r\n this.tieredMenuService.currentItem &&\r\n !this.tieredMenuService.currentItem.disabled &&\r\n this.items.includes(this.tieredMenuService.currentItem)\r\n ) {\r\n this._tieredMenuEventService.openItemMenuEvent.emit(this.tieredMenuService.currentItem);\r\n event.preventDefault();\r\n event.stopImmediatePropagation();\r\n }\r\n break;\r\n }\r\n }\r\n\r\n public ngOnInit(): void {\r\n this._subscribeEvents();\r\n\r\n // Submenus have their focus managed by the openItemMenuEvent handler.\r\n if (!this.isSubmenu) {\r\n this.tieredMenuService.currentItems = this.items;\r\n this.tieredMenuService.currentItem = this.items[0] ?? null;\r\n disableScroll();\r\n\r\n requestAnimationFrame(() => {\r\n this._focusCurrentItem();\r\n });\r\n }\r\n }\r\n\r\n public ngOnDestroy(): void {\r\n this._unsubscribe$.next();\r\n this._unsubscribe$.complete();\r\n }\r\n\r\n private _focusCurrentItem(): void {\r\n const id = this.tieredMenuService.currentItem?.id;\r\n\r\n if (!id) {\r\n return;\r\n }\r\n\r\n document.getElementById(id)?.focus();\r\n }\r\n\r\n private _incrementCurItem(): void {\r\n if (!this.tieredMenuService.currentItem) {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\r\n return;\r\n } else if (!this.items.includes(this.tieredMenuService.currentItem)) {\r\n // Checking if it is the current menu.\r\n return;\r\n }\r\n\r\n const currentIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) + 1;\r\n\r\n if (currentIndex < this.tieredMenuService.currentItems.length) {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[currentIndex];\r\n } else {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\r\n }\r\n\r\n if (this.tieredMenuService.currentItem.divider) {\r\n this._incrementCurItem();\r\n }\r\n }\r\n\r\n private _decrementCurItem(): void {\r\n if (!this.tieredMenuService.currentItem) {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[0];\r\n return;\r\n // Checking if it is the current menu.\r\n } else if (!this.items.includes(this.tieredMenuService.currentItem)) {\r\n return;\r\n }\r\n\r\n const curIndex = this.tieredMenuService.currentItems.indexOf(this.tieredMenuService.currentItem) - 1;\r\n\r\n if (curIndex >= 0) {\r\n this.tieredMenuService.currentItem = this.tieredMenuService.currentItems[curIndex];\r\n } else {\r\n this.tieredMenuService.currentItem =\r\n this.tieredMenuService.currentItems[this.tieredMenuService.currentItems.length - 1];\r\n }\r\n\r\n if (this.tieredMenuService.currentItem.divider) {\r\n this._decrementCurItem();\r\n }\r\n }\r\n\r\n private _createMenu(items: TieredMenuItemInternalData[], position: any): void {\r\n if (!this._componentRef && items) {\r\n const componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuComponent);\r\n this._componentRef = componentFactory.create(this._injector);\r\n this._appRef.attachView(this._componentRef.hostView);\r\n const domElem = (this._componentRef.hostView as EmbeddedViewRef<any>).rootNodes[0] as HTMLElement;\r\n document.body.appendChild(domElem);\r\n\r\n // Setting the menu items.\r\n this._componentRef.instance.items = items;\r\n this._componentRef.instance.isSubmenu = true;\r\n\r\n // Subscribe menu events.\r\n this._componentRef.instance.destroyRequest.subscribe((propagate: boolean) => {\r\n this._destroy(propagate);\r\n });\r\n\r\n this._menuDivElement = domElem.querySelector('.menu');\r\n this._setMenuPosition(position);\r\n }\r\n }\r\n\r\n private _destroy(propagate = true): void {\r\n if (this._componentRef !== null) {\r\n this._appRef.detachView(this._componentRef.hostView);\r\n this._componentRef.destroy();\r\n this._componentRef = null;\r\n this._menuDivElement = null;\r\n }\r\n\r\n if (propagate) {\r\n this.destroyRequest.emit();\r\n }\r\n }\r\n\r\n private _setMenuPosition(position: any): void {\r\n const ITEM_HEIGHT = 37;\r\n const DIVIDER_HEIGHT = 5;\r\n const PADDING = 8;\r\n\r\n if (this._componentRef !== null) {\r\n const { top, right, bottom, left } = position;\r\n\r\n const itemsCount = this._componentRef.instance.items?.reduce(\r\n (count: number, item: TieredMenuItemInternalData) => {\r\n return !item.divider ? count + 1 : count;\r\n },\r\n 0,\r\n );\r\n\r\n const dividersCount = this._componentRef.instance.items?.reduce(\r\n (count: number, item: TieredMenuItemInternalData) => {\r\n return item.divider ? count + 1 : count;\r\n },\r\n 0,\r\n );\r\n\r\n // I need to calculate the height of the component because the internal elements have not been created yet.\r\n const menuHeight = itemsCount * ITEM_HEIGHT + dividersCount * DIVIDER_HEIGHT + PADDING + 8;\r\n const menuWidth = this._menuDivElement?.getBoundingClientRect().width ?? 0;\r\n\r\n const rightFreeSpace = window.innerWidth - right;\r\n const bottomFreeSpace = window.innerHeight - bottom;\r\n\r\n if (rightFreeSpace > menuWidth) {\r\n this._componentRef.instance.left = right;\r\n } else {\r\n this._componentRef.instance.left = left - menuWidth;\r\n }\r\n\r\n if (bottomFreeSpace <= menuHeight) {\r\n this._componentRef.instance.top = Math.max(window.innerHeight - menuHeight, window.scrollY);\r\n } else {\r\n this._componentRef.instance.top = window.scrollY + top;\r\n }\r\n }\r\n }\r\n\r\n private _subscribeEvents(): void {\r\n // Increment current item event.\r\n this._tieredMenuEventService.incrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\r\n this._incrementCurItem();\r\n this._focusCurrentItem();\r\n });\r\n // Decrement current item event.\r\n this._tieredMenuEventService.decrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\r\n this._decrementCurItem();\r\n this._focusCurrentItem();\r\n });\r\n // Select item event.\r\n this._tieredMenuEventService.selectItemEvent\r\n .pipe(takeUntil(this._unsubscribe$))\r\n .subscribe((item: TieredMenuItemInternalData | null) => {\r\n if (item) {\r\n if (item.submenu) {\r\n this._tieredMenuEventService.openItemMenuEvent.emit(item);\r\n } else if (item.command) {\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n item.command();\r\n }\r\n }\r\n });\r\n // Close all menus event.\r\n this._tieredMenuEventService.closeAllMenusEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\r\n this._destroy();\r\n this.tieredMenuService.currentItem = null;\r\n this.tieredMenuService.currentItems = this.tieredMenuService.items;\r\n this.tieredMenuService.markAllItemsAsClosed(this.tieredMenuService.items);\r\n enableScroll();\r\n });\r\n\r\n // Open item menu event.\r\n this._tieredMenuEventService.openItemMenuEvent\r\n .pipe(takeUntil(this._unsubscribe$))\r\n .subscribe((item: TieredMenuItemInternalData | null) => {\r\n if (this.tieredMenuService.currentItem) {\r\n if (this.tieredMenuService.currentItem.parent === item) {\r\n return;\r\n }\r\n\r\n if (this.tieredMenuService.currentItem?.parent) {\r\n if (!item) return;\r\n\r\n if (\r\n !this.tieredMenuService.searchTheHierarchy(this.tieredMenuService.currentItem.parent, item)\r\n ) {\r\n let current: TieredMenuItemInternalData | undefined = this.tieredMenuService.currentItem;\r\n\r\n current.isOpen = false;\r\n\r\n while (current?.parent !== item.parent) {\r\n this._tieredMenuEventService.closeItemMenuEvent.emit(current);\r\n this._changeDetectorRef.detectChanges();\r\n\r\n current = current?.parent;\r\n }\r\n\r\n if (current) {\r\n current.isOpen = false;\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (item?.submenu && !item?.isOpen && this.items.includes(item)) {\r\n const itemEl = document.querySelector(`#${item.id}`);\r\n\r\n if (!itemEl) return;\r\n\r\n const { top, right, left, bottom } = itemEl.getBoundingClientRect();\r\n const position = { top, right, left, bottom };\r\n\r\n this._createMenu(item.submenu, position);\r\n this.tieredMenuService.currentItems = item.submenu;\r\n this.tieredMenuService.currentItem = item.submenu[0];\r\n item.isOpen = true;\r\n\r\n requestAnimationFrame(() => {\r\n this._focusCurrentItem();\r\n });\r\n }\r\n });\r\n\r\n // Close item menu event.\r\n this._tieredMenuEventService.closeItemMenuEvent\r\n .pipe(takeUntil(this._unsubscribe$))\r\n .subscribe((item: TieredMenuItemInternalData | null) => {\r\n if (item === null) return;\r\n if (this.items.some((i) => i.id === item.id)) {\r\n if (item.parent) {\r\n item.parent.isOpen = false;\r\n } else {\r\n enableScroll();\r\n }\r\n this.tieredMenuService.currentItems = item?.parent?.parent?.submenu || this.tieredMenuService.items;\r\n this.tieredMenuService.currentItem = item.parent;\r\n this.destroyRequest.emit(false);\r\n\r\n requestAnimationFrame(() => {\r\n this._focusCurrentItem();\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","<div\r\n class=\"menu\"\r\n role=\"application\"\r\n [attr.aria-label]=\"ariaLabel\"\r\n [ngStyle]=\"{\r\n left: left + 'px',\r\n top: top + 'px',\r\n }\"\r\n>\r\n @for (item of items; track $index) {\r\n @if (item.visible && !item.divider) {\r\n <s-tiered-menu-item\r\n [item]=\"item\"\r\n [focused]=\"item === tieredMenuService.currentItem\"\r\n [highlight]=\"item.isOpen\"\r\n fieldUtils.triggerEvent=\"hover\"\r\n [closeOnClick]=\"false\"\r\n />\r\n }\r\n @if (item.divider) {\r\n <s-tiered-menu-divider />\r\n }\r\n }\r\n</div>\r\n","import {\r\n ApplicationRef,\r\n ChangeDetectorRef,\r\n ComponentFactoryResolver,\r\n ComponentRef,\r\n Directive,\r\n ElementRef,\r\n EmbeddedViewRef,\r\n EventEmitter,\r\n HostListener,\r\n Injector,\r\n Input,\r\n OnChanges,\r\n OnDestroy,\r\n OnInit,\r\n Output,\r\n Type,\r\n inject,\r\n} from '@angular/core';\r\n\r\nimport { Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\nimport { TieredMenuNestedComponent } from './components/tiered-menu-nested/tiered-menu-nested.component';\r\nimport { TieredMenuComponent } from './components/tiered-menu/tiered-menu.component';\r\nimport { TieredMenuItemData } from './models/tiered-menu-item-data';\r\nimport { TieredMenuEventService } from './services/tiered-menu.event.service';\r\nimport { TieredMenuGlobalService } from './services/tiered-menu.global.service';\r\nimport { TieredMenuService } from './services/tiered-menu.service';\r\nimport { TieredMenuItemInternalData } from './models';\r\nimport { enableScroll } from '@seniorsistemas/angular-components/utils';\r\n\r\n/**\r\n * @description Diretiva que anexa um menu multinível (tiered menu) a qualquer elemento do DOM.\r\n * Ao disparar o evento configurado no elemento hospedeiro, exibe um painel flutuante\r\n * com itens de menu hierárquicos, suportando submenus aninhados e divisores.\r\n * Em telas estreitas (< 600px), o menu é exibido em modo aninhado fullscreen.\r\n *\r\n * @example\r\n * ```html\r\n * <s-button [sTieredMenu]=\"menuItems\" triggerEvent=\"click\">Abrir menu</s-button>\r\n * ```\r\n *\r\n * @category Navegação\r\n */\r\n@Directive({\r\n selector: '[sTieredMenu]',\r\n providers: [TieredMenuEventService, TieredMenuService],\r\n standalone: true,\r\n})\r\nexport class TieredMenuDirective implements OnInit, OnChanges, OnDestroy {\r\n private readonly _elementRef = inject(ElementRef);\r\n private readonly _appRef = inject(ApplicationRef);\r\n private readonly _componentFactoryResolver = inject(ComponentFactoryResolver);\r\n private readonly _injector = inject(Injector);\r\n private readonly _tieredMenuEventService = inject(TieredMenuEventService);\r\n private readonly _tieredMenuService = inject(TieredMenuService);\r\n private readonly _tieredMenuGlobalService = inject(TieredMenuGlobalService);\r\n private readonly _changeDetectorRef = inject(ChangeDetectorRef);\r\n\r\n /**\r\n * @description Lista de itens exibidos no menu. Cada item pode conter um array de `children`\r\n * para criar submenus aninhados, além de propriedades como `label`, `icon`,\r\n * `disabled`, `command` e `divider`.\r\n */\r\n @Input()\r\n public items: TieredMenuItemData[] = [];\r\n\r\n /**\r\n * @description Item que receberá o foco inicial ao abrir o menu.\r\n * Útil para destacar uma opção pré-selecionada ou contextual.\r\n */\r\n @Input()\r\n public focusedItem: TieredMenuItemData | undefined = undefined;\r\n\r\n /**\r\n * @description Define o evento do elemento hospedeiro que dispara a abertura do menu.\r\n * - `'click'`: abre o menu ao clicar no elemento (padrão).\r\n * - `'hover'`: abre o menu ao passar o mouse sobre o elemento.\r\n *\r\n * @default 'click'\r\n */\r\n @Input()\r\n public triggerEvent: 'click' | 'hover' = 'click';\r\n\r\n @Input()\r\n public ariaLabel?: string;\r\n\r\n @Output()\r\n public tieredMenuOpened: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n @Output()\r\n public tieredMenuClosed: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n private _componentRef: ComponentRef<any> | null = null;\r\n private _showTimeout?: number;\r\n private _isNested = false;\r\n private _isOpen = false;\r\n private _unsubscribe$ = new Subject<void>();\r\n private _lastActiveElement?: Element;\r\n private _previousItems: TieredMenuItemData[] = [];\r\n private _itemsAreValid?: boolean;\r\n private _resizeObserver = new ResizeObserver(() => {\r\n this._setMenuPosition();\r\n this._componentRef?.hostView.detectChanges();\r\n });\r\n\r\n public ngOnInit(): void {\r\n this._itemsAreValid = !!this.items?.length;\r\n\r\n if (!this._itemsAreValid) return;\r\n\r\n this._subscribeEvents();\r\n }\r\n\r\n public ngOnChanges(): void {\r\n if (!this._itemsAreValid) return;\r\n\r\n if (!this._previousItems) {\r\n this._previousItems = this._tieredMenuService.cloneItems(this.items);\r\n }\r\n\r\n let hasChanges = false;\r\n\r\n if (this.items.length !== this._previousItems.length) {\r\n hasChanges = true;\r\n } else {\r\n for (let i = 0; i < this.items.length; i++) {\r\n if (!this._compareItems(this.items[i], this._previousItems[i])) {\r\n hasChanges = true;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (hasChanges) {\r\n this._updateServiceItems();\r\n this._changeDetectorRef.detectChanges();\r\n this._rebuildMenu();\r\n }\r\n\r\n this._previousItems = this._tieredMenuService.cloneItems(this.items);\r\n }\r\n\r\n public ngOnDestroy(): void {\r\n if (!this._itemsAreValid) return;\r\n\r\n this._unsubscribe$.next();\r\n this._unsubscribe$.complete();\r\n\r\n this._destroy();\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n public onClick(event: MouseEvent): void {\r\n if (!this._itemsAreValid) return;\r\n\r\n if (this.triggerEvent === 'click' && !this._isOpen) {\r\n this._lastActiveElement = document.activeElement as Element;\r\n this._createMenu();\r\n event.preventDefault();\r\n event.stopPropagation();\r\n }\r\n }\r\n\r\n private _createMenu(): void {\r\n this._updateServiceItems();\r\n\r\n if (!this._componentRef && this._tieredMenuService.items?.length > 0) {\r\n this._tieredMenuGlobalService.lastInstance?._destroy();\r\n this._tieredMenuGlobalService.lastInstance = this;\r\n\r\n (this._lastActiveElement as HTMLElement)?.blur();\r\n this._isOpen = true;\r\n this.tieredMenuOpened.emit();\r\n this._isNested = document.body.clientWidth < 600;\r\n\r\n this._isNested ? this._createNestedMenu() : this._createTieredMenu();\r\n }\r\n }\r\n\r\n private _createTieredMenu(): void {\r\n if (!this._componentRef && this._tieredMenuService.items?.length > 0) {\r\n this._componentRef = this._createComponent(TieredMenuComponent);\r\n this._appRef.attachView(this._componentRef.hostView);\r\n const domElem = this._componentRef.location.nativeElement as HTMLElement;\r\n document.body.appendChild(domElem);\r\n this._setMenuComponentProperties();\r\n this._componentRef.instance.destroyRequest.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\r\n this._destroy();\r\n });\r\n\r\n this._setMenuPosition();\r\n }\r\n }\r\n\r\n private _createNestedMenu(): void {\r\n if (!this._componentRef && this._tieredMenuService.items?.length > 0) {\r\n const componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuNestedComponent);\r\n this._componentRef = componentFactory.create(this._injector);\r\n this._appRef.attachView(this._componentRef.hostView);\r\n const domElem = (this._componentRef.hostView as EmbeddedViewRef<any>).rootNodes[0] as HTMLElement;\r\n document.body.appendChild(domElem);\r\n this._setMenuComponentProperties();\r\n this._setMenuPosition();\r\n }\r\n }\r\n\r\n private _createComponent<T>(componentClass: Type<T>) {\r\n const componentFactory = this._componentFactoryResolver.resolveComponentFactory(componentClass);\r\n const _componentRef = componentFactory.create(this._injector);\r\n this._resizeObserver.observe(_componentRef.location.nativeElement.querySelector('.menu'));\r\n _componentRef.onDestroy(() => {\r\n this._resizeObserver.disconnect();\r\n });\r\n return _componentRef;\r\n }\r\n\r\n private _destroy(): void {\r\n if (this._componentRef) {\r\n this._isOpen = false;\r\n this.tieredMenuClosed.emit();\r\n window.clearTimeout(this._showTimeout);\r\n this._appRef.detachView(this._componentRef.hostView);\r\n this._componentRef.destroy();\r\n this._componentRef = null;\r\n\r\n this._tieredMenuService.currentItems = this._tieredMenuService.items;\r\n this._tieredMenuService.currentItem = this._tieredMenuService.items[0];\r\n this._tieredMenuEventService.closeAllMenusEvent.emit();\r\n }\r\n }\r\n\r\n private _setMenuPosition(): void {\r\n if (!this._componentRef) {\r\n return;\r\n }\r\n this._changeDetectorRef.detectChanges();\r\n const ITEM_HEIGHT = 37;\r\n const ITEM_WIDTH =\r\n (this._componentRef.location.nativeElement as HTMLElement)?.querySelector('.menu')?.clientWidth || 176;\r\n const DIVIDER_HEIGHT = 5;\r\n const PADDING = 8;\r\n const MARGIN = 4;\r\n this._componentRef.instance.top = 8;\r\n let { bottom, left, right } = this._elementRef.nativeElement.getBoundingClientRect();\r\n\r\n const itemsCount = this._componentRef.instance.items?.reduce(\r\n (count: number, item: TieredMenuItemInternalData) => {\r\n return !item.divider ? count + 1 : count;\r\n },\r\n 0,\r\n );\r\n\r\n const dividersCount = this._componentRef.instance.items?.reduce(\r\n (count: number, item: TieredMenuItemInternalData) => {\r\n return item.divider ? count + 1 : count;\r\n },\r\n 0,\r\n );\r\n\r\n const menuHeight = itemsCount * ITEM_HEIGHT + dividersCount * DIVIDER_HEIGHT + PADDING + MARGIN;\r\n const rightFreeSpace = window.innerWidth - right;\r\n const bottomFreeSpace = window.innerHeight - bottom;\r\n\r\n this._componentRef.instance.top = bottom;\r\n this._componentRef.instance.left = left;\r\n\r\n if (bottomFreeSpace <= menuHeight) {\r\n this._componentRef.instance.top = Math.max(scrollY + bottom - menuHeight, 0);\r\n } else {\r\n this._componentRef.instance.top = window.scrollY + bottom + MARGIN;\r\n }\r\n\r\n if (rightFreeSpace > 176) {\r\n this._componentRef.instance.left = window.scrollX + left;\r\n } else {\r\n this._componentRef.instance.left = window.scrollX + right - ITEM_WIDTH;\r\n }\r\n\r\n if (this._isNested) {\r\n this._componentRef.instance.left = MARGIN;\r\n }\r\n }\r\n\r\n private _setMenuComponentProperties(): void {\r\n if (this._componentRef != null) {\r\n this._componentRef.instance.items = this._tieredMenuService.items;\r\n this._componentRef.instance.ariaLabel = this.ariaLabel;\r\n }\r\n }\r\n\r\n private _subscribeEvents(): void {\r\n this._tieredMenuEventService.closeAllMenusEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(() => {\r\n this._tieredMenuService.items = this._tieredMenuService.markAllItemsAsClosed(this._tieredMenuService.items);\r\n this._destroy();\r\n enableScroll();\r\n });\r\n }\r\n\r\n private _compareItems(item1: TieredMenuItemData, item2: TieredMenuItemData): boolean {\r\n return JSON.stringify(item1) === JSON.stringify(item2);\r\n }\r\n\r\n private _rebuildMenu(): void {\r\n this._destroy();\r\n }\r\n\r\n private _updateServiceItems(): void {\r\n this._tieredMenuService.items = this._tieredMenuService.normalizeData(this.items);\r\n this._tieredMenuService.currentItems = this._tieredMenuService.items;\r\n\r\n this._tieredMenuService.currentItem =\r\n this._tieredMenuService.items.find((i) => i.label === this.focusedItem?.label) ??\r\n this._tieredMenuService.items[0];\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { TieredMenuGlobalService } from './services/tiered-menu.global.service';\r\nimport { TieredMenuDirective } from './tiered-menu.directive';\r\n\r\n@NgModule({\r\n imports: [TieredMenuDirective],\r\n exports: [TieredMenuDirective],\r\n providers: [TieredMenuGlobalService],\r\n})\r\nexport class TieredMenuModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAMa,iBAAiB,CAAA;IACnB,WAAW,GAAuC,IAAI,CAAC;IACvD,YAAY,GAAiC,EAAE,CAAC;IAChD,KAAK,GAAiC,EAAE,CAAC;IAEzC,aAAa,CAChB,KAA2B,EAC3B,MAAmC,EAAA;AAEnC,QAAA,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAA6B,KAAI;AAC/C,YAAA,MAAM,IAAI,GAAG;AACT,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,GAAG,CAAC;aACP,CAAC;AACF,YAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AACd,gBAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;aACzD;AACD,YAAA,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;AAC7B,YAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AACrB,YAAA,IAAI,CAAC,MAAM,G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ACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA;yGAGpB,gBAAgB,EAAA,SAAA,EAFd,CAAC,uBAAuB,CAAC,EAAA,CAAA,CAAA;;4FAE3B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,SAAS,EAAE,CAAC,uBAAuB,CAAC;AACvC,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import * as i1 from '@angular/common';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
2
|
import { EventEmitter, Component, Input, Output, HostListener, NgModule } from '@angular/core';
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import { ThumbnailModule } from '@seniorsistemas/angular-components/thumbnail';
|
|
3
|
+
import { NgClass } from '@angular/common';
|
|
4
|
+
import { ThumbnailComponent, ThumbnailModule } from '@seniorsistemas/angular-components/thumbnail';
|
|
5
|
+
import { TooltipDirective } from '@seniorsistemas/angular-components/tooltip';
|
|
9
6
|
|
|
10
7
|
/**
|
|
11
8
|
* @description Card clicável que representa uma opção ou destino de navegação,
|
|
@@ -61,11 +58,11 @@ class TileComponent {
|
|
|
61
58
|
}
|
|
62
59
|
}
|
|
63
60
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: TileComponent, selector: "s-tile", inputs: { id: "id", label: "label", description: "description", iconClass: "iconClass", imageSource: "imageSource", imageAlt: "imageAlt", disabled: "disabled", tabIndex: "tabIndex", thumbnail: "thumbnail" }, outputs: { clicked: "clicked" }, host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0, template: "<div\n [id]=\"id\"\n class=\"tile\"\n [attr.tabindex]=\"disabled ? undefined : tabIndex\"\n [attr.aria-label]=\"label\"\n [attr.aria-disabled]=\"disabled\"\n role=\"button\"\n [ngClass]=\"{ 'tile--disabled': disabled }\"\n (click)=\"!disabled && clicked.emit($event)\"\n>\n\n @if(imageSource || iconClass) {\n <div class=\"thumbnail\">\n @if(imageSource) {\n @if(!thumbnail) {\n <div\n class=\"image-icon\">\n <div\n class=\"icon\"\n [style.background-image]=\"'url(' + imageSource + ')'\">\n </div>\n </div>\n\n }\n @if(thumbnail) {\n <s-thumbnail\n [id]=\"id + '-thumbnail'\"\n [imageSource]=\"imageSource\"\n [imageAlt]=\"imageAlt || label\"\n size=\"small\"\n [isTile]=\"true\"/>\n }\n }\n @if(!imageSource && iconClass) {\n <span\n [id]=\"id + '-icon'\"\n [class]=\"'icon ' + iconClass\"\n aria-hidden=\"true\">\n </span>\n }\n </div>\n }\n\n @if (!iconClass && !imageSource) {\n <div class=\"first-letter-container\">\n <div class=\"first-letter\">\n <span>{{ initialLetter }}</span>\n </div>\n </div>\n }\n\n <div class=\"info\">\n <span\n [id]=\"id + '-title'\"\n class=\"title\"\n [sTooltip]=\"label\"\n >\n {{ label }}\n </span>\n <span\n [id]=\"id + '-description'\"\n class=\"description\"\n [sTooltip]=\"description\"\n >\n {{ description }}\n </span>\n </div>\n</div>\n", styles: [".tile{align-items:center;background-color:#fff;border:1px solid #c1c1cc;cursor:pointer;display:flex;min-height:80px;overflow:hidden;padding:15px;position:relative;transition:background-color .2s ease-out,border-color .2s ease-out}.tile:hover:not(.tile--disabled),.tile:focus:not(.tile--disabled){background-color:#eeebf2;outline:none}.tile .thumbnail{display:flex;align-items:center;margin-right:15px}.tile .thumbnail .icon{color:#428bca;font-size:2.5rem}.tile .info{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.tile .info .title,.tile .info .description{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile .info .title{color:#428bca;font-size:1.25rem}.tile .info .description{color:#6e7280;font-size:.875rem}.tile .first-letter-container{float:left;margin-right:10px;position:relative;text-align:center}.tile .first-letter-container .first-letter{background-color:#428bca;border-radius:50%;color:#fff;font-size:1.375rem;height:40px;line-height:1.8em;margin:0 auto 5px;width:40px}.tile--disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}.tile--disabled,.tile--disabled *{cursor:text!important}.tile .image-icon .icon{height:32px;width:32px;background-size:cover;background-repeat:no-repeat}\n"], dependencies: [{ kind: "directive", type:
|
|
61
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: TileComponent, isStandalone: true, selector: "s-tile", inputs: { id: "id", label: "label", description: "description", iconClass: "iconClass", imageSource: "imageSource", imageAlt: "imageAlt", disabled: "disabled", tabIndex: "tabIndex", thumbnail: "thumbnail" }, outputs: { clicked: "clicked" }, host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0, template: "<div\n [id]=\"id\"\n class=\"tile\"\n [attr.tabindex]=\"disabled ? undefined : tabIndex\"\n [attr.aria-label]=\"label\"\n [attr.aria-disabled]=\"disabled\"\n role=\"button\"\n [ngClass]=\"{ 'tile--disabled': disabled }\"\n (click)=\"!disabled && clicked.emit($event)\"\n>\n\n @if(imageSource || iconClass) {\n <div class=\"thumbnail\">\n @if(imageSource) {\n @if(!thumbnail) {\n <div\n class=\"image-icon\">\n <div\n class=\"icon\"\n [style.background-image]=\"'url(' + imageSource + ')'\">\n </div>\n </div>\n\n }\n @if(thumbnail) {\n <s-thumbnail\n [id]=\"id + '-thumbnail'\"\n [imageSource]=\"imageSource\"\n [imageAlt]=\"imageAlt || label\"\n size=\"small\"\n [isTile]=\"true\"/>\n }\n }\n @if(!imageSource && iconClass) {\n <span\n [id]=\"id + '-icon'\"\n [class]=\"'icon ' + iconClass\"\n aria-hidden=\"true\">\n </span>\n }\n </div>\n }\n\n @if (!iconClass && !imageSource) {\n <div class=\"first-letter-container\">\n <div class=\"first-letter\">\n <span>{{ initialLetter }}</span>\n </div>\n </div>\n }\n\n <div class=\"info\">\n <span\n [id]=\"id + '-title'\"\n class=\"title\"\n [sTooltip]=\"label\"\n >\n {{ label }}\n </span>\n <span\n [id]=\"id + '-description'\"\n class=\"description\"\n [sTooltip]=\"description\"\n >\n {{ description }}\n </span>\n </div>\n</div>\n", styles: [".tile{align-items:center;background-color:#fff;border:1px solid #c1c1cc;cursor:pointer;display:flex;min-height:80px;overflow:hidden;padding:15px;position:relative;transition:background-color .2s ease-out,border-color .2s ease-out}.tile:hover:not(.tile--disabled),.tile:focus:not(.tile--disabled){background-color:#eeebf2;outline:none}.tile .thumbnail{display:flex;align-items:center;margin-right:15px}.tile .thumbnail .icon{color:#428bca;font-size:2.5rem}.tile .info{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.tile .info .title,.tile .info .description{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile .info .title{color:#428bca;font-size:1.25rem}.tile .info .description{color:#6e7280;font-size:.875rem}.tile .first-letter-container{float:left;margin-right:10px;position:relative;text-align:center}.tile .first-letter-container .first-letter{background-color:#428bca;border-radius:50%;color:#fff;font-size:1.375rem;height:40px;line-height:1.8em;margin:0 auto 5px;width:40px}.tile--disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}.tile--disabled,.tile--disabled *{cursor:text!important}.tile .image-icon .icon{height:32px;width:32px;background-size:cover;background-repeat:no-repeat}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ThumbnailComponent, selector: "s-thumbnail", inputs: ["id", "size", "imageSource", "imageFallback", "imageAlt", "iconClass", "hasAction", "actionIconClass", "isTile", "isBrand"] }, { kind: "directive", type: TooltipDirective, selector: "[sTooltip]", inputs: ["sTooltip", "tooltipPosition", "showDelay", "displayTime", "tooltipEvent", "escape", "visible", "mobileBehavior", "focusedInputRef", "checkTruncatedText"] }] });
|
|
65
62
|
}
|
|
66
63
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TileComponent, decorators: [{
|
|
67
64
|
type: Component,
|
|
68
|
-
args: [{ selector: 's-tile', template: "<div\n [id]=\"id\"\n class=\"tile\"\n [attr.tabindex]=\"disabled ? undefined : tabIndex\"\n [attr.aria-label]=\"label\"\n [attr.aria-disabled]=\"disabled\"\n role=\"button\"\n [ngClass]=\"{ 'tile--disabled': disabled }\"\n (click)=\"!disabled && clicked.emit($event)\"\n>\n\n @if(imageSource || iconClass) {\n <div class=\"thumbnail\">\n @if(imageSource) {\n @if(!thumbnail) {\n <div\n class=\"image-icon\">\n <div\n class=\"icon\"\n [style.background-image]=\"'url(' + imageSource + ')'\">\n </div>\n </div>\n\n }\n @if(thumbnail) {\n <s-thumbnail\n [id]=\"id + '-thumbnail'\"\n [imageSource]=\"imageSource\"\n [imageAlt]=\"imageAlt || label\"\n size=\"small\"\n [isTile]=\"true\"/>\n }\n }\n @if(!imageSource && iconClass) {\n <span\n [id]=\"id + '-icon'\"\n [class]=\"'icon ' + iconClass\"\n aria-hidden=\"true\">\n </span>\n }\n </div>\n }\n\n @if (!iconClass && !imageSource) {\n <div class=\"first-letter-container\">\n <div class=\"first-letter\">\n <span>{{ initialLetter }}</span>\n </div>\n </div>\n }\n\n <div class=\"info\">\n <span\n [id]=\"id + '-title'\"\n class=\"title\"\n [sTooltip]=\"label\"\n >\n {{ label }}\n </span>\n <span\n [id]=\"id + '-description'\"\n class=\"description\"\n [sTooltip]=\"description\"\n >\n {{ description }}\n </span>\n </div>\n</div>\n", styles: [".tile{align-items:center;background-color:#fff;border:1px solid #c1c1cc;cursor:pointer;display:flex;min-height:80px;overflow:hidden;padding:15px;position:relative;transition:background-color .2s ease-out,border-color .2s ease-out}.tile:hover:not(.tile--disabled),.tile:focus:not(.tile--disabled){background-color:#eeebf2;outline:none}.tile .thumbnail{display:flex;align-items:center;margin-right:15px}.tile .thumbnail .icon{color:#428bca;font-size:2.5rem}.tile .info{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.tile .info .title,.tile .info .description{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile .info .title{color:#428bca;font-size:1.25rem}.tile .info .description{color:#6e7280;font-size:.875rem}.tile .first-letter-container{float:left;margin-right:10px;position:relative;text-align:center}.tile .first-letter-container .first-letter{background-color:#428bca;border-radius:50%;color:#fff;font-size:1.375rem;height:40px;line-height:1.8em;margin:0 auto 5px;width:40px}.tile--disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}.tile--disabled,.tile--disabled *{cursor:text!important}.tile .image-icon .icon{height:32px;width:32px;background-size:cover;background-repeat:no-repeat}\n"] }]
|
|
65
|
+
args: [{ selector: 's-tile', standalone: true, imports: [NgClass, ThumbnailComponent, TooltipDirective], template: "<div\n [id]=\"id\"\n class=\"tile\"\n [attr.tabindex]=\"disabled ? undefined : tabIndex\"\n [attr.aria-label]=\"label\"\n [attr.aria-disabled]=\"disabled\"\n role=\"button\"\n [ngClass]=\"{ 'tile--disabled': disabled }\"\n (click)=\"!disabled && clicked.emit($event)\"\n>\n\n @if(imageSource || iconClass) {\n <div class=\"thumbnail\">\n @if(imageSource) {\n @if(!thumbnail) {\n <div\n class=\"image-icon\">\n <div\n class=\"icon\"\n [style.background-image]=\"'url(' + imageSource + ')'\">\n </div>\n </div>\n\n }\n @if(thumbnail) {\n <s-thumbnail\n [id]=\"id + '-thumbnail'\"\n [imageSource]=\"imageSource\"\n [imageAlt]=\"imageAlt || label\"\n size=\"small\"\n [isTile]=\"true\"/>\n }\n }\n @if(!imageSource && iconClass) {\n <span\n [id]=\"id + '-icon'\"\n [class]=\"'icon ' + iconClass\"\n aria-hidden=\"true\">\n </span>\n }\n </div>\n }\n\n @if (!iconClass && !imageSource) {\n <div class=\"first-letter-container\">\n <div class=\"first-letter\">\n <span>{{ initialLetter }}</span>\n </div>\n </div>\n }\n\n <div class=\"info\">\n <span\n [id]=\"id + '-title'\"\n class=\"title\"\n [sTooltip]=\"label\"\n >\n {{ label }}\n </span>\n <span\n [id]=\"id + '-description'\"\n class=\"description\"\n [sTooltip]=\"description\"\n >\n {{ description }}\n </span>\n </div>\n</div>\n", styles: [".tile{align-items:center;background-color:#fff;border:1px solid #c1c1cc;cursor:pointer;display:flex;min-height:80px;overflow:hidden;padding:15px;position:relative;transition:background-color .2s ease-out,border-color .2s ease-out}.tile:hover:not(.tile--disabled),.tile:focus:not(.tile--disabled){background-color:#eeebf2;outline:none}.tile .thumbnail{display:flex;align-items:center;margin-right:15px}.tile .thumbnail .icon{color:#428bca;font-size:2.5rem}.tile .info{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.tile .info .title,.tile .info .description{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile .info .title{color:#428bca;font-size:1.25rem}.tile .info .description{color:#6e7280;font-size:.875rem}.tile .first-letter-container{float:left;margin-right:10px;position:relative;text-align:center}.tile .first-letter-container .first-letter{background-color:#428bca;border-radius:50%;color:#fff;font-size:1.375rem;height:40px;line-height:1.8em;margin:0 auto 5px;width:40px}.tile--disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}.tile--disabled,.tile--disabled *{cursor:text!important}.tile .image-icon .icon{height:32px;width:32px;background-size:cover;background-repeat:no-repeat}\n"] }]
|
|
69
66
|
}], propDecorators: { id: [{
|
|
70
67
|
type: Input
|
|
71
68
|
}], label: [{
|
|
@@ -94,14 +91,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
94
91
|
|
|
95
92
|
class TileModule {
|
|
96
93
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
97
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: TileModule,
|
|
98
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TileModule, imports: [
|
|
94
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: TileModule, imports: [ThumbnailModule, TileComponent], exports: [TileComponent, ThumbnailModule] });
|
|
95
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TileModule, imports: [ThumbnailModule, TileComponent, ThumbnailModule] });
|
|
99
96
|
}
|
|
100
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TileModule, decorators: [{
|
|
101
98
|
type: NgModule,
|
|
102
99
|
args: [{
|
|
103
|
-
imports: [
|
|
104
|
-
declarations: [TileComponent],
|
|
100
|
+
imports: [ThumbnailModule, TileComponent],
|
|
105
101
|
exports: [TileComponent, ThumbnailModule],
|
|
106
102
|
}]
|
|
107
103
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seniorsistemas-angular-components-tile.mjs","sources":["../../projects/angular-components/tile/src/lib/tile/tile.component.ts","../../projects/angular-components/tile/src/lib/tile/tile.component.html","../../projects/angular-components/tile/src/lib/tile/tile.module.ts","../../projects/angular-components/tile/src/seniorsistemas-angular-components-tile.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output, HostListener } from '@angular/core';\n\n/**\n * @description Card clicável que representa uma opção ou destino de navegação,\n * exibindo ícone (por classe ou imagem), rótulo e descrição opcional.\n * Suporta navegação por teclado e exibe as iniciais do rótulo como fallback.\n *\n * @example\n * ```html\n * <s-tile\n * label=\"Relatórios\"\n * iconClass=\"fas fa-chart-bar\"\n * (clicked)=\"onTileClicado()\" />\n * ```\n *\n * @category Summary\n */\n@Component({\n selector: 's-tile',\n templateUrl: './tile.component.html',\n styleUrls: ['./tile.component.scss'],\n})\nexport class TileComponent {\n public static nextId = 0;\n\n /** @description Identificador único do elemento no DOM. Gerado automaticamente se não informado. */\n @Input()\n public id = `s-tile-${TileComponent.nextId++}`;\n\n /** @description Rótulo principal exibido no tile. Campo obrigatório. */\n @Input({ required: true })\n public label!: string;\n\n /** @description Texto descritivo exibido abaixo do rótulo. */\n @Input()\n public description?: string;\n\n /** @description Classe do ícone exibido no tile (ex.: `'fas fa-home'`). */\n @Input()\n public iconClass?: string;\n\n /** @description URL da imagem exibida no tile. */\n @Input()\n public imageSource?: string;\n\n /** @description Texto alternativo para a imagem (`alt`). */\n @Input()\n public imageAlt?: string;\n\n /** @description Desabilita o tile, removendo interações e aplicando estilo desativado. @default false */\n @Input()\n public disabled = false;\n\n /** @description `tabindex` do tile para navegação por teclado. @default 0 */\n @Input()\n public tabIndex = 0;\n\n /** @description Exibe o thumbnail (miniatura) no tile. @default true */\n @Input()\n public thumbnail = true;\n\n /** @description Emitido quando o usuário clica ou pressiona Enter/Espaço no tile. */\n @Output()\n public clicked = new EventEmitter();\n\n public get initialLetter(): string {\n let initialLetter = '';\n if (this.label) {\n const words = this.label.split(' ', 2);\n initialLetter = words[0].charAt(0).toUpperCase();\n if (words.length > 1) {\n initialLetter += words[1].charAt(0).toUpperCase();\n }\n }\n return initialLetter;\n }\n\n @HostListener('keydown', ['$event'])\n public onKeyDown(event: any) {\n if (!this.disabled && [13, 32].includes(event.keyCode)) {\n this.clicked.emit();\n }\n }\n}\
|
|
1
|
+
{"version":3,"file":"seniorsistemas-angular-components-tile.mjs","sources":["../../projects/angular-components/tile/src/lib/tile/tile.component.ts","../../projects/angular-components/tile/src/lib/tile/tile.component.html","../../projects/angular-components/tile/src/lib/tile/tile.module.ts","../../projects/angular-components/tile/src/seniorsistemas-angular-components-tile.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output, HostListener } from '@angular/core';\r\nimport { NgClass } from '@angular/common';\r\nimport { ThumbnailComponent } from '@seniorsistemas/angular-components/thumbnail';\r\nimport { TooltipDirective } from '@seniorsistemas/angular-components/tooltip';\r\n\r\n/**\r\n * @description Card clicável que representa uma opção ou destino de navegação,\r\n * exibindo ícone (por classe ou imagem), rótulo e descrição opcional.\r\n * Suporta navegação por teclado e exibe as iniciais do rótulo como fallback.\r\n *\r\n * @example\r\n * ```html\r\n * <s-tile\r\n * label=\"Relatórios\"\r\n * iconClass=\"fas fa-chart-bar\"\r\n * (clicked)=\"onTileClicado()\" />\r\n * ```\r\n *\r\n * @category Summary\r\n */\r\n@Component({\r\n selector: 's-tile',\r\n templateUrl: './tile.component.html',\r\n styleUrls: ['./tile.component.scss'],\r\n standalone: true,\r\n imports: [NgClass, ThumbnailComponent, TooltipDirective],\r\n})\r\nexport class TileComponent {\r\n public static nextId = 0;\r\n\r\n /** @description Identificador único do elemento no DOM. Gerado automaticamente se não informado. */\r\n @Input()\r\n public id = `s-tile-${TileComponent.nextId++}`;\r\n\r\n /** @description Rótulo principal exibido no tile. Campo obrigatório. */\r\n @Input({ required: true })\r\n public label!: string;\r\n\r\n /** @description Texto descritivo exibido abaixo do rótulo. */\r\n @Input()\r\n public description?: string;\r\n\r\n /** @description Classe do ícone exibido no tile (ex.: `'fas fa-home'`). */\r\n @Input()\r\n public iconClass?: string;\r\n\r\n /** @description URL da imagem exibida no tile. */\r\n @Input()\r\n public imageSource?: string;\r\n\r\n /** @description Texto alternativo para a imagem (`alt`). */\r\n @Input()\r\n public imageAlt?: string;\r\n\r\n /** @description Desabilita o tile, removendo interações e aplicando estilo desativado. @default false */\r\n @Input()\r\n public disabled = false;\r\n\r\n /** @description `tabindex` do tile para navegação por teclado. @default 0 */\r\n @Input()\r\n public tabIndex = 0;\r\n\r\n /** @description Exibe o thumbnail (miniatura) no tile. @default true */\r\n @Input()\r\n public thumbnail = true;\r\n\r\n /** @description Emitido quando o usuário clica ou pressiona Enter/Espaço no tile. */\r\n @Output()\r\n public clicked = new EventEmitter();\r\n\r\n public get initialLetter(): string {\r\n let initialLetter = '';\r\n if (this.label) {\r\n const words = this.label.split(' ', 2);\r\n initialLetter = words[0].charAt(0).toUpperCase();\r\n if (words.length > 1) {\r\n initialLetter += words[1].charAt(0).toUpperCase();\r\n }\r\n }\r\n return initialLetter;\r\n }\r\n\r\n @HostListener('keydown', ['$event'])\r\n public onKeyDown(event: any) {\r\n if (!this.disabled && [13, 32].includes(event.keyCode)) {\r\n this.clicked.emit();\r\n }\r\n }\r\n}\r\n","<div\n [id]=\"id\"\n class=\"tile\"\n [attr.tabindex]=\"disabled ? undefined : tabIndex\"\n [attr.aria-label]=\"label\"\n [attr.aria-disabled]=\"disabled\"\n role=\"button\"\n [ngClass]=\"{ 'tile--disabled': disabled }\"\n (click)=\"!disabled && clicked.emit($event)\"\n>\n\n @if(imageSource || iconClass) {\n <div class=\"thumbnail\">\n @if(imageSource) {\n @if(!thumbnail) {\n <div\n class=\"image-icon\">\n <div\n class=\"icon\"\n [style.background-image]=\"'url(' + imageSource + ')'\">\n </div>\n </div>\n\n }\n @if(thumbnail) {\n <s-thumbnail\n [id]=\"id + '-thumbnail'\"\n [imageSource]=\"imageSource\"\n [imageAlt]=\"imageAlt || label\"\n size=\"small\"\n [isTile]=\"true\"/>\n }\n }\n @if(!imageSource && iconClass) {\n <span\n [id]=\"id + '-icon'\"\n [class]=\"'icon ' + iconClass\"\n aria-hidden=\"true\">\n </span>\n }\n </div>\n }\n\n @if (!iconClass && !imageSource) {\n <div class=\"first-letter-container\">\n <div class=\"first-letter\">\n <span>{{ initialLetter }}</span>\n </div>\n </div>\n }\n\n <div class=\"info\">\n <span\n [id]=\"id + '-title'\"\n class=\"title\"\n [sTooltip]=\"label\"\n >\n {{ label }}\n </span>\n <span\n [id]=\"id + '-description'\"\n class=\"description\"\n [sTooltip]=\"description\"\n >\n {{ description }}\n </span>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\r\n\r\nimport { TileComponent } from './tile.component';\r\nimport { ThumbnailModule } from '@seniorsistemas/angular-components/thumbnail';\r\n\r\n@NgModule({\r\n imports: [ThumbnailModule, TileComponent],\r\n exports: [TileComponent, ThumbnailModule],\r\n})\r\nexport class TileModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;;;;;;;;;;;;AAcG;MAQU,aAAa,CAAA;AACf,IAAA,OAAO,MAAM,GAAG,CAAC,CAAC;;AAIlB,IAAA,EAAE,GAAG,CAAU,OAAA,EAAA,aAAa,CAAC,MAAM,EAAE,EAAE,CAAC;;AAIxC,IAAA,KAAK,CAAU;;AAIf,IAAA,WAAW,CAAU;;AAIrB,IAAA,SAAS,CAAU;;AAInB,IAAA,WAAW,CAAU;;AAIrB,IAAA,QAAQ,CAAU;;IAIlB,QAAQ,GAAG,KAAK,CAAC;;IAIjB,QAAQ,GAAG,CAAC,CAAC;;IAIb,SAAS,GAAG,IAAI,CAAC;;AAIjB,IAAA,OAAO,GAAG,IAAI,YAAY,EAAE,CAAC;AAEpC,IAAA,IAAW,aAAa,GAAA;QACpB,IAAI,aAAa,GAAG,EAAE,CAAC;AACvB,QAAA,IAAI,IAAI,CAAC,KAAK,EAAE;AACZ,YAAA,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;AACvC,YAAA,aAAa,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AACjD,YAAA,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;AAClB,gBAAA,aAAa,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;aACrD;SACJ;AACD,QAAA,OAAO,aAAa,CAAC;KACxB;AAGM,IAAA,SAAS,CAAC,KAAU,EAAA;AACvB,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,QAAQ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