@fundamental-ngx/core 0.40.4-rc.6 → 0.40.5
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/esm2020/action-bar/action-bar-actions/action-bar-actions.directive.mjs +3 -3
- package/esm2020/action-bar/action-bar-back/action-bar-back.directive.mjs +3 -3
- package/esm2020/action-bar/action-bar-description/action-bar-description.directive.mjs +3 -3
- package/esm2020/action-bar/action-bar-header/action-bar-header.directive.mjs +3 -3
- package/esm2020/action-bar/action-bar-mobile/action-bar-mobile.directive.mjs +3 -3
- package/esm2020/action-bar/action-bar-title/action-bar-title.component.mjs +3 -3
- package/esm2020/action-bar/action-bar.component.mjs +3 -3
- package/esm2020/action-bar/action-bar.module.mjs +4 -4
- package/esm2020/action-sheet/action-sheet-body/action-sheet-body.component.mjs +3 -3
- package/esm2020/action-sheet/action-sheet-control/action-sheet-control.component.mjs +3 -3
- package/esm2020/action-sheet/action-sheet-item/action-sheet-item.component.mjs +3 -3
- package/esm2020/action-sheet/action-sheet-mobile/action-sheet-mobile.component.mjs +3 -3
- package/esm2020/action-sheet/action-sheet-mobile/action-sheet-mobile.module.mjs +4 -4
- package/esm2020/action-sheet/action-sheet.component.mjs +3 -3
- package/esm2020/action-sheet/action-sheet.module.mjs +4 -4
- package/esm2020/action-sheet/deprecated-action-sheet-compact.directive.mjs +3 -3
- package/esm2020/alert/alert-service/alert.service.mjs +3 -3
- package/esm2020/alert/alert-utils/alert-container.component.mjs +3 -3
- package/esm2020/alert/alert.component.mjs +3 -3
- package/esm2020/alert/alert.module.mjs +4 -4
- package/esm2020/avatar/avatar.component.mjs +3 -3
- package/esm2020/avatar/avatar.module.mjs +4 -4
- package/esm2020/avatar-group/avatar-group.component.mjs +3 -3
- package/esm2020/avatar-group/avatar-group.module.mjs +4 -4
- package/esm2020/avatar-group/directives/avatar-group-focusable-avatar.directive.mjs +3 -3
- package/esm2020/avatar-group/directives/avatar-group-item.directive.mjs +3 -3
- package/esm2020/avatar-group/directives/avatar-group-overflow-body.directive.mjs +3 -3
- package/esm2020/avatar-group/directives/avatar-group-overflow-button-text.directive.mjs +3 -3
- package/esm2020/avatar-group/directives/avatar-group-overflow-button.directive.mjs +3 -3
- package/esm2020/avatar-group/directives/avatar-group-overflow-item.directive.mjs +3 -3
- package/esm2020/avatar-group/directives/avatar-group-popover-control.directive.mjs +3 -3
- package/esm2020/bar/bar.component.mjs +3 -3
- package/esm2020/bar/bar.module.mjs +4 -4
- package/esm2020/bar/button-bar/button-bar.component.mjs +3 -3
- package/esm2020/bar/deprecated-bar-button-content-density.directive.mjs +3 -3
- package/esm2020/bar/deprecated-bar-content-density.directive.mjs +3 -3
- package/esm2020/bar/directives/bar-element.directive.mjs +3 -3
- package/esm2020/bar/directives/bar-left.directive.mjs +3 -3
- package/esm2020/bar/directives/bar-middle.directive.mjs +3 -3
- package/esm2020/bar/directives/bar-right.directive.mjs +3 -3
- package/esm2020/breadcrumb/breadcrumb-item.component.mjs +3 -3
- package/esm2020/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2020/breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2020/breadcrumb/deprecated-breadcrumbs-compact.directive.mjs +3 -3
- package/esm2020/busy-indicator/busy-indicator-extended/busy-indicator-extended.directive.mjs +3 -3
- package/esm2020/busy-indicator/busy-indicator.component.mjs +3 -3
- package/esm2020/busy-indicator/busy-indicator.module.mjs +4 -4
- package/esm2020/button/base-button.mjs +3 -3
- package/esm2020/button/button.component.mjs +3 -3
- package/esm2020/button/button.module.mjs +4 -4
- package/esm2020/button/deprecated-button-content-density.directive.mjs +3 -3
- package/esm2020/calendar/calendar-directives.mjs +3 -3
- package/esm2020/calendar/calendar-header/calendar-header.component.mjs +3 -3
- package/esm2020/calendar/calendar-views/calendar-aggregated-year-view/calendar-aggregated-year-view.component.mjs +3 -3
- package/esm2020/calendar/calendar-views/calendar-day-view/calendar-day-view.component.mjs +3 -3
- package/esm2020/calendar/calendar-views/calendar-month-view/calendar-month-view.component.mjs +3 -3
- package/esm2020/calendar/calendar-views/calendar-year-view/calendar-year-view.component.mjs +3 -3
- package/esm2020/calendar/calendar.component.mjs +3 -3
- package/esm2020/calendar/calendar.module.mjs +4 -4
- package/esm2020/calendar/calendar.service.mjs +3 -3
- package/esm2020/calendar/deprecated-calendar-content-density.directive.mjs +3 -3
- package/esm2020/calendar/i18n/calendar-i18n-labels.mjs +3 -3
- package/esm2020/card/card-content.component.mjs +3 -3
- package/esm2020/card/card-counter.directive.mjs +3 -3
- package/esm2020/card/card-footer-action-item.directive.mjs +3 -3
- package/esm2020/card/card-footer.component.mjs +3 -3
- package/esm2020/card/card-header.component.mjs +3 -3
- package/esm2020/card/card-loader.component.mjs +3 -3
- package/esm2020/card/card-second-subtitle.directive.mjs +3 -3
- package/esm2020/card/card-subtitle.directive.mjs +3 -3
- package/esm2020/card/card-title.directive.mjs +3 -3
- package/esm2020/card/card.component.mjs +3 -3
- package/esm2020/card/card.module.mjs +4 -4
- package/esm2020/card/deprecated-card-content-density.directive.mjs +3 -3
- package/esm2020/card/kpi/card-kpi-analytics-content.directive.mjs +3 -3
- package/esm2020/card/kpi/card-kpi-analytics-label.directive.mjs +3 -3
- package/esm2020/card/kpi/card-kpi-analytics.directive.mjs +3 -3
- package/esm2020/card/kpi/card-kpi-header.component.mjs +3 -3
- package/esm2020/card/kpi/card-kpi-scale-icon.directive.mjs +3 -3
- package/esm2020/card/kpi/card-kpi-scale-text.directive.mjs +3 -3
- package/esm2020/card/kpi/card-kpi-value.directive.mjs +3 -3
- package/esm2020/carousel/carousel-item/carousel-item.component.mjs +3 -3
- package/esm2020/carousel/carousel-item.directive.mjs +3 -3
- package/esm2020/carousel/carousel.component.mjs +3 -3
- package/esm2020/carousel/carousel.directive.mjs +3 -3
- package/esm2020/carousel/carousel.module.mjs +4 -4
- package/esm2020/carousel/carousel.service.mjs +3 -3
- package/esm2020/checkbox/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/checkbox/checkbox.module.mjs +4 -4
- package/esm2020/checkbox/deprecated-checkbox-content-density.directive.mjs +3 -3
- package/esm2020/combobox/combobox-mobile/combobox-mobile.component.mjs +3 -3
- package/esm2020/combobox/combobox-mobile/combobox-mobile.module.mjs +4 -4
- package/esm2020/combobox/combobox.component.mjs +3 -3
- package/esm2020/combobox/combobox.module.mjs +4 -4
- package/esm2020/combobox/deprecated-combobox-content-density.directive.mjs +3 -3
- package/esm2020/combobox/list-group.pipe.mjs +3 -3
- package/esm2020/content-density/classes/deprecated-compact.directive.mjs +3 -3
- package/esm2020/content-density/classes/deprecated-condensed.directive.mjs +3 -3
- package/esm2020/content-density/classes/deprecated-content-density.directive.mjs +3 -3
- package/esm2020/content-density/classes/deprecated-cozy.directive.mjs +3 -3
- package/esm2020/content-density/content-density.module.mjs +4 -4
- package/esm2020/content-density/directives/content-density.directive.mjs +3 -3
- package/esm2020/content-density/providers/local-content-density-storage.mjs +3 -3
- package/esm2020/content-density/providers/memory-content-density-storage.mjs +3 -3
- package/esm2020/content-density/providers/url-content-density-storage.mjs +3 -3
- package/esm2020/content-density/services/content-density-observer.service.mjs +3 -3
- package/esm2020/content-density/services/deprecated-content-density.service.mjs +3 -3
- package/esm2020/content-density/services/global-content-density.service.mjs +3 -3
- package/esm2020/date-picker/date-picker.component.mjs +3 -3
- package/esm2020/date-picker/date-picker.module.mjs +4 -4
- package/esm2020/date-picker/deprecated-date-picker-compact.directive.mjs +3 -3
- package/esm2020/datetime/datetime-format.pipes.mjs +9 -9
- package/esm2020/datetime/fd-datetime-adapter.mjs +3 -3
- package/esm2020/datetime/fd-datetime-pipes.module.mjs +4 -4
- package/esm2020/datetime/fd-datetime.module.mjs +8 -8
- package/esm2020/datetime-picker/datetime-picker.component.mjs +3 -3
- package/esm2020/datetime-picker/datetime-picker.module.mjs +4 -4
- package/esm2020/datetime-picker/deprecated-date-time-picker-content-density.directive.mjs +3 -3
- package/esm2020/dialog/base/dialog-base.class.mjs +3 -3
- package/esm2020/dialog/base/dialog-base.service.mjs +3 -3
- package/esm2020/dialog/base/dialog-footer-base.class.mjs +3 -3
- package/esm2020/dialog/base/dialog-header-base.class.mjs +3 -3
- package/esm2020/dialog/dialog-body/dialog-body.component.mjs +3 -3
- package/esm2020/dialog/dialog-close-button/dialog-close-button.component.mjs +3 -3
- package/esm2020/dialog/dialog-container/dialog-container.component.mjs +3 -3
- package/esm2020/dialog/dialog-default/dialog-default.component.mjs +3 -3
- package/esm2020/dialog/dialog-footer/dialog-footer.component.mjs +3 -3
- package/esm2020/dialog/dialog-footer-button/dialog-footer-button.component.mjs +3 -3
- package/esm2020/dialog/dialog-header/dialog-header.component.mjs +3 -3
- package/esm2020/dialog/dialog-service/dialog.service.mjs +3 -3
- package/esm2020/dialog/dialog.component.mjs +3 -3
- package/esm2020/dialog/dialog.module.mjs +4 -4
- package/esm2020/dialog/directives/dialog-decisive-button.directive.mjs +3 -3
- package/esm2020/dialog/directives/dialog-title.directive.mjs +3 -3
- package/esm2020/dialog/utils/dialog-config.class.mjs +3 -3
- package/esm2020/dialog/utils/dialog-overlay.container.mjs +3 -3
- package/esm2020/dialog/utils/dialog-ref.class.mjs +3 -3
- package/esm2020/dynamic-page/deprecated-dynamic-page-compact.directive.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page-content/dynamic-page-content.component.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page-footer/dynamic-page-footer.component.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page-header/actions/dynamic-page-base-actions.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page-header/actions/dynamic-page-global-actions.component.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page-header/actions/dynamic-page-layout-actions.component.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page-header/actions/dynamic-page-title-content.component.mjs +4 -4
- package/esm2020/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page-header/subheader/dynamic-page-subheader.component.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page-wrapper.directive.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page.component.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page.config.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page.module.mjs +4 -4
- package/esm2020/dynamic-page/dynamic-page.service.mjs +3 -3
- package/esm2020/dynamic-side-content/dynamic-side-content-main.component.mjs +3 -3
- package/esm2020/dynamic-side-content/dynamic-side-content-side.component.mjs +3 -3
- package/esm2020/dynamic-side-content/dynamic-side-content.component.mjs +3 -3
- package/esm2020/dynamic-side-content/dynamic-side-content.module.mjs +4 -4
- package/esm2020/facets/content/facet-content.component.mjs +3 -3
- package/esm2020/facets/facet/facet.component.mjs +3 -3
- package/esm2020/facets/facet-group.component.mjs +3 -3
- package/esm2020/facets/facet.module.mjs +4 -4
- package/esm2020/feed-input/directives/feed-input-avatar.directive.mjs +3 -3
- package/esm2020/feed-input/directives/feed-input-button.directive.mjs +3 -3
- package/esm2020/feed-input/directives/feed-input-textarea.directive.mjs +3 -3
- package/esm2020/feed-input/feed-input.component.mjs +3 -3
- package/esm2020/feed-input/feed-input.module.mjs +4 -4
- package/esm2020/feed-list-item/components/feed-list-action/feed-list-action.component.mjs +3 -3
- package/esm2020/feed-list-item/components/feed-list-avatar/feed-list-avatar.component.mjs +3 -3
- package/esm2020/feed-list-item/components/feed-list-footer/feed-list-footer.component.mjs +3 -3
- package/esm2020/feed-list-item/components/item/feed-list-item.component.mjs +3 -3
- package/esm2020/feed-list-item/components/list/feed-list.component.mjs +3 -3
- package/esm2020/feed-list-item/directives/byline.directive.mjs +3 -3
- package/esm2020/feed-list-item/feed-list-item.module.mjs +4 -4
- package/esm2020/file-uploader/deprecated-file-uploader-content-density.directive.mjs +3 -3
- package/esm2020/file-uploader/directives/file-uploader-dragndrop.directive.mjs +3 -3
- package/esm2020/file-uploader/directives/file-uploader-select.directive.mjs +3 -3
- package/esm2020/file-uploader/file-uploader.component.mjs +3 -3
- package/esm2020/file-uploader/file-uploader.module.mjs +4 -4
- package/esm2020/file-uploader/file-uploader.service.mjs +3 -3
- package/esm2020/fixed-card-layout/fixed-card-layout-item/fixed-card-layout-item.component.mjs +3 -3
- package/esm2020/fixed-card-layout/fixed-card-layout.component.mjs +6 -6
- package/esm2020/fixed-card-layout/fixed-card-layout.module.mjs +4 -4
- package/esm2020/flexible-column-layout/flexible-column-layout.component.mjs +3 -3
- package/esm2020/flexible-column-layout/flexible-column-layout.module.mjs +4 -4
- package/esm2020/form/fieldset/fieldset.component.mjs +3 -3
- package/esm2020/form/fieldset/fieldset.module.mjs +4 -4
- package/esm2020/form/form-control/deprecated-form-control-content-density.directive.mjs +3 -3
- package/esm2020/form/form-control/form-control.component.mjs +3 -3
- package/esm2020/form/form-control/form-control.module.mjs +4 -4
- package/esm2020/form/form-control/input-form-control.directive.mjs +3 -3
- package/esm2020/form/form-control/textarea-form-control.directive.mjs +3 -3
- package/esm2020/form/form-group/form-group.component.mjs +3 -3
- package/esm2020/form/form-group/form-group.module.mjs +4 -4
- package/esm2020/form/form-header/form-header.component.mjs +3 -3
- package/esm2020/form/form-header/form-header.module.mjs +4 -4
- package/esm2020/form/form-input-message-group/form-input-message-group.component.mjs +3 -3
- package/esm2020/form/form-input-message-group/form-input-message-group.module.mjs +4 -4
- package/esm2020/form/form-item/form-item.component.mjs +3 -3
- package/esm2020/form/form-item/form-item.module.mjs +4 -4
- package/esm2020/form/form-label/form-label.component.mjs +3 -3
- package/esm2020/form/form-label/form-label.module.mjs +4 -4
- package/esm2020/form/form-legend/form-legend.directive.mjs +3 -3
- package/esm2020/form/form-legend/form-legend.module.mjs +4 -4
- package/esm2020/form/form-message/form-message.component.mjs +3 -3
- package/esm2020/form/form-message/form-message.module.mjs +4 -4
- package/esm2020/form/form-message/popover-form-message.service.mjs +3 -3
- package/esm2020/form/form.module.mjs +4 -4
- package/esm2020/formatted-text/formatted-text.component.mjs +3 -3
- package/esm2020/formatted-text/formatted-text.module.mjs +4 -4
- package/esm2020/fundamental-ngx.module.mjs +4 -4
- package/esm2020/grid-list/components/grid-list/grid-list-base.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list/grid-list.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-filter-bar/grid-list-filter-bar.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-footer/grid-list-footer.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-group-header/grid-list-group-header.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-item/grid-list-item.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-item-footer-bar/grid-list-item-footer-bar.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-item-toolbar/grid-list-item-toolbar.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-more-btn/grid-list-more-btn.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-title-bar/grid-list-title-bar.component.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-title-bar/grid-list-title-bar.directive.mjs +3 -3
- package/esm2020/grid-list/components/grid-list-title-bar-spacer/grid-list-title-bar-spacer.component.mjs +6 -6
- package/esm2020/grid-list/directives/grid-list-item-body.directive.mjs +3 -3
- package/esm2020/grid-list/directives/grid-list-item-image.directive.mjs +3 -3
- package/esm2020/grid-list/grid-list.module.mjs +4 -4
- package/esm2020/icon/icon.component.mjs +3 -3
- package/esm2020/icon/icon.module.mjs +4 -4
- package/esm2020/illustrated-message/components/illustrated-message-actions/illustrated-message-actions.component.mjs +3 -3
- package/esm2020/illustrated-message/components/illustrated-message-figcaption/illustrated-message-figcaption.component.mjs +3 -3
- package/esm2020/illustrated-message/directives/illustrated-message-text/illustrated-message-text.directive.mjs +3 -3
- package/esm2020/illustrated-message/directives/illustrated-message-title/illustrated-message-title.directive.mjs +3 -3
- package/esm2020/illustrated-message/illustrated-message.component.mjs +3 -3
- package/esm2020/illustrated-message/illustrated-message.module.mjs +4 -4
- package/esm2020/infinite-scroll/infinite-scroll.directive.mjs +3 -3
- package/esm2020/infinite-scroll/infinite-scroll.module.mjs +4 -4
- package/esm2020/info-label/info-label.component.mjs +3 -3
- package/esm2020/info-label/info-label.module.mjs +4 -4
- package/esm2020/inline-help/inline-help.directive.mjs +4 -11
- package/esm2020/inline-help/inline-help.module.mjs +4 -4
- package/esm2020/input-group/deprecated-input-group-compact.directive.mjs +3 -3
- package/esm2020/input-group/input-group-directives.mjs +12 -12
- package/esm2020/input-group/input-group.component.mjs +3 -3
- package/esm2020/input-group/input-group.module.mjs +4 -4
- package/esm2020/layout-grid/directives/layout-grid-col.directive.mjs +3 -3
- package/esm2020/layout-grid/directives/layout-grid-row.directive.mjs +3 -3
- package/esm2020/layout-grid/layout-grid.component.mjs +3 -3
- package/esm2020/layout-grid/layout-grid.module.mjs +4 -4
- package/esm2020/layout-panel/layout-panel-actions/layout-panel-actions.component.mjs +3 -3
- package/esm2020/layout-panel/layout-panel-body/layout-panel-body.component.mjs +3 -3
- package/esm2020/layout-panel/layout-panel-description/layout-panel-description.component.mjs +3 -3
- package/esm2020/layout-panel/layout-panel-filters/layout-panel-filters.component.mjs +3 -3
- package/esm2020/layout-panel/layout-panel-footer/layout-panel-footer.component.mjs +3 -3
- package/esm2020/layout-panel/layout-panel-head/layout-panel-head.component.mjs +3 -3
- package/esm2020/layout-panel/layout-panel-header/layout-panel-header.component.mjs +3 -3
- package/esm2020/layout-panel/layout-panel-title/layout-panel-title.directive.mjs +3 -3
- package/esm2020/layout-panel/layout-panel.component.mjs +3 -3
- package/esm2020/layout-panel/layout-panel.module.mjs +4 -4
- package/esm2020/link/link.component.mjs +3 -3
- package/esm2020/link/link.module.mjs +4 -4
- package/esm2020/list/deprecated-list-content-density,directive.mjs +3 -3
- package/esm2020/list/directives/byline/list-byline-left.directive.mjs +3 -3
- package/esm2020/list/directives/byline/list-byline-right.directive.mjs +3 -3
- package/esm2020/list/directives/byline/list-byline.directive.mjs +3 -3
- package/esm2020/list/directives/byline/list-content.directive.mjs +3 -3
- package/esm2020/list/directives/byline/list-thumbnail.directive.mjs +3 -3
- package/esm2020/list/directives/list-footer.directive.mjs +3 -3
- package/esm2020/list/directives/list-group-header.directive.mjs +3 -3
- package/esm2020/list/directives/list-icon.directive.mjs +3 -3
- package/esm2020/list/directives/list-link.directive.mjs +3 -3
- package/esm2020/list/directives/list-navigation-item-arrow.directive.mjs +7 -13
- package/esm2020/list/directives/list-navigation-item-text.directive.mjs +3 -3
- package/esm2020/list/directives/list-secondary.directive.mjs +3 -3
- package/esm2020/list/directives/list-title-text.directive.mjs +3 -3
- package/esm2020/list/directives/list-title.directive.mjs +3 -3
- package/esm2020/list/list-focus-item.model.mjs +3 -3
- package/esm2020/list/list-item/list-item.component.mjs +3 -3
- package/esm2020/list/list-message.directive.mjs +3 -3
- package/esm2020/list/list-navigation-item/list-navigation-item.component.mjs +5 -10
- package/esm2020/list/list.component.mjs +3 -3
- package/esm2020/list/list.module.mjs +4 -4
- package/esm2020/menu/directives/deprecated-menu-compact.directive.mjs +3 -3
- package/esm2020/menu/directives/menu-addon.directive.mjs +3 -3
- package/esm2020/menu/directives/menu-interactive.directive.mjs +3 -3
- package/esm2020/menu/directives/menu-shortcut.directive.mjs +3 -3
- package/esm2020/menu/directives/menu-title.directive.mjs +3 -3
- package/esm2020/menu/directives/menu-trigger.directive.mjs +3 -3
- package/esm2020/menu/menu-item/menu-item.component.mjs +6 -6
- package/esm2020/menu/menu-keyboard.service.mjs +3 -3
- package/esm2020/menu/menu-mobile/menu-mobile.component.mjs +3 -3
- package/esm2020/menu/menu-mobile/menu-mobile.module.mjs +4 -4
- package/esm2020/menu/menu-separator/menu-separator.component.mjs +3 -3
- package/esm2020/menu/menu.component.mjs +3 -3
- package/esm2020/menu/menu.module.mjs +4 -4
- package/esm2020/menu/services/menu.service.mjs +3 -3
- package/esm2020/message-box/directives/message-box-decisive-button.directive.mjs +3 -3
- package/esm2020/message-box/message-box-body/message-box-body.component.mjs +3 -3
- package/esm2020/message-box/message-box-container/message-box-container.component.mjs +3 -3
- package/esm2020/message-box/message-box-default/message-box-default.component.mjs +3 -3
- package/esm2020/message-box/message-box-footer/message-box-footer.component.mjs +3 -3
- package/esm2020/message-box/message-box-footer-button/message-box-footer-button.component.mjs +3 -3
- package/esm2020/message-box/message-box-header/message-box-header.component.mjs +3 -3
- package/esm2020/message-box/message-box-semantic-icon/message-box-semantic-icon.component.mjs +3 -3
- package/esm2020/message-box/message-box.component.mjs +3 -3
- package/esm2020/message-box/message-box.module.mjs +4 -4
- package/esm2020/message-box/services/message-box.service.mjs +3 -3
- package/esm2020/message-box/utils/message-box-config.class.mjs +3 -3
- package/esm2020/message-box/utils/message-box-ref.class.mjs +3 -3
- package/esm2020/message-page/message-page-actions/message-page-actions.component.mjs +3 -3
- package/esm2020/message-page/message-page-more/message-page-more.component.mjs +3 -3
- package/esm2020/message-page/message-page-subtitle/message-page-subtitle.component.mjs +3 -3
- package/esm2020/message-page/message-page-title/message-page-title.component.mjs +3 -3
- package/esm2020/message-page/message-page.component.mjs +3 -3
- package/esm2020/message-page/message-page.module.mjs +4 -4
- package/esm2020/message-strip/message-strip.component.mjs +3 -3
- package/esm2020/message-strip/message-strip.module.mjs +4 -4
- package/esm2020/message-toast/message-toast-service/message-toast.service.mjs +3 -3
- package/esm2020/message-toast/message-toast-utils/message-toast-container.component.mjs +3 -3
- package/esm2020/message-toast/message-toast.component.mjs +3 -3
- package/esm2020/message-toast/message-toast.module.mjs +4 -4
- package/esm2020/micro-process-flow/components/micro-process-flow/deprecated-micro-process-flow-content-density.directive.mjs +3 -3
- package/esm2020/micro-process-flow/components/micro-process-flow/micro-process-flow.component.mjs +3 -3
- package/esm2020/micro-process-flow/components/micro-process-flow-icon/micro-process-flow-icon.component.mjs +3 -3
- package/esm2020/micro-process-flow/components/micro-process-flow-item/micro-process-flow-item.component.mjs +3 -3
- package/esm2020/micro-process-flow/micro-process-flow-focusable-item.directive.mjs +3 -3
- package/esm2020/micro-process-flow/micro-process-flow-intermediary-item.directive.mjs +3 -3
- package/esm2020/micro-process-flow/micro-process-flow.module.mjs +4 -4
- package/esm2020/multi-combobox/base-multi-combobox.class.mjs +3 -3
- package/esm2020/multi-combobox/mobile/mobile-multi-combobox.component.mjs +3 -3
- package/esm2020/multi-combobox/mobile/mobile-multi-combobox.module.mjs +4 -4
- package/esm2020/multi-combobox/multi-combobox-config.mjs +3 -3
- package/esm2020/multi-combobox/multi-combobox.component.mjs +6 -11
- package/esm2020/multi-combobox/multi-combobox.module.mjs +4 -4
- package/esm2020/multi-input/deprecated-multi-input-compact.directive.mjs +3 -3
- package/esm2020/multi-input/multi-input-mobile/multi-input-mobile.component.mjs +3 -3
- package/esm2020/multi-input/multi-input-mobile/multi-input-mobile.module.mjs +4 -4
- package/esm2020/multi-input/multi-input.component.mjs +3 -3
- package/esm2020/multi-input/multi-input.module.mjs +4 -4
- package/esm2020/nested-list/deprecated-nested-list-compact.directive.mjs +3 -3
- package/esm2020/nested-list/nested-content/nested-list-content.directive.mjs +3 -3
- package/esm2020/nested-list/nested-item/nested-item.directive.mjs +3 -3
- package/esm2020/nested-list/nested-link/nested-link.directive.mjs +3 -3
- package/esm2020/nested-list/nested-list/nested-list.directive.mjs +3 -3
- package/esm2020/nested-list/nested-list-directives.mjs +12 -12
- package/esm2020/nested-list/nested-list-keyboard.service.mjs +3 -3
- package/esm2020/nested-list/nested-list-popover/nested-list-popover.component.mjs +3 -3
- package/esm2020/nested-list/nested-list-state.service.mjs +3 -3
- package/esm2020/nested-list/nested-list.module.mjs +4 -4
- package/esm2020/nested-list/prepared-nested-list/prepared-nested-list.component.mjs +3 -3
- package/esm2020/notification/directives/notification-footer-content.directive.mjs +3 -3
- package/esm2020/notification/directives/notification-indicator.directive.mjs +3 -3
- package/esm2020/notification/directives/notification-limit-description.directive.mjs +3 -3
- package/esm2020/notification/directives/notification-limit-title.directive.mjs +3 -3
- package/esm2020/notification/directives/notification-paragraph.directive.mjs +3 -3
- package/esm2020/notification/directives/notification-separator.directive.mjs +3 -3
- package/esm2020/notification/directives/notification-title.directive.mjs +3 -3
- package/esm2020/notification/notification/notification.component.mjs +3 -3
- package/esm2020/notification/notification-actions/notification-actions.component.mjs +3 -3
- package/esm2020/notification/notification-body/notification-body.component.mjs +3 -3
- package/esm2020/notification/notification-content/notification-content.component.mjs +3 -3
- package/esm2020/notification/notification-footer/notification-footer.component.mjs +3 -3
- package/esm2020/notification/notification-group/notification-group.component.mjs +3 -3
- package/esm2020/notification/notification-group-header/notification-group-header.component.mjs +3 -3
- package/esm2020/notification/notification-group-list/notification-group-list.component.mjs +3 -3
- package/esm2020/notification/notification-header/notification-header.component.mjs +3 -3
- package/esm2020/notification/notification-limit/notification-limit.component.mjs +3 -3
- package/esm2020/notification/notification-service/notification.service.mjs +3 -3
- package/esm2020/notification/notification-utils/notification-container.mjs +3 -3
- package/esm2020/notification/notification-utils/notification-group-base.mjs +3 -3
- package/esm2020/notification/notification.module.mjs +4 -4
- package/esm2020/object-identifier/object-identifier.component.mjs +3 -3
- package/esm2020/object-identifier/object-identifier.module.mjs +4 -4
- package/esm2020/object-marker/object-marker.component.mjs +3 -3
- package/esm2020/object-marker/object-marker.module.mjs +4 -4
- package/esm2020/object-number/object-number.component.mjs +3 -3
- package/esm2020/object-number/object-number.module.mjs +4 -4
- package/esm2020/object-status/object-status.component.mjs +3 -3
- package/esm2020/object-status/object-status.module.mjs +4 -4
- package/esm2020/overflow-layout/directives/overflow-expand.directive.mjs +3 -3
- package/esm2020/overflow-layout/directives/overflow-item-container-ref.directive.mjs +3 -3
- package/esm2020/overflow-layout/directives/overflow-item-ref.directive.mjs +3 -3
- package/esm2020/overflow-layout/directives/overflow-layout-focusable-item.directive.mjs +3 -3
- package/esm2020/overflow-layout/directives/overflow-layout-item-container.directive.mjs +3 -3
- package/esm2020/overflow-layout/directives/overflow-layout-item.directive.mjs +3 -3
- package/esm2020/overflow-layout/directives/overflow-layout-popover-content.directive.mjs +3 -3
- package/esm2020/overflow-layout/overflow-layout.component.mjs +3 -3
- package/esm2020/overflow-layout/overflow-layout.module.mjs +4 -4
- package/esm2020/overflow-layout/overflow-layout.service.mjs +22 -18
- package/esm2020/pagination/deprecated-pagination-compact.directive.mjs +3 -3
- package/esm2020/pagination/pagination.component.mjs +3 -3
- package/esm2020/pagination/pagination.module.mjs +4 -4
- package/esm2020/pagination/pagination.service.mjs +3 -3
- package/esm2020/panel/deprecated-panel-compact.directive.mjs +3 -3
- package/esm2020/panel/panel-content/panel-content.directive.mjs +3 -3
- package/esm2020/panel/panel-title/panel-title.directive.mjs +3 -3
- package/esm2020/panel/panel.component.mjs +3 -3
- package/esm2020/panel/panel.module.mjs +4 -4
- package/esm2020/popover/base/base-popover.class.mjs +4 -8
- package/esm2020/popover/popover-body/popover-body-directives/popover-body-footer.directive.mjs +3 -3
- package/esm2020/popover/popover-body/popover-body-directives/popover-body-header.directive.mjs +3 -3
- package/esm2020/popover/popover-body/popover-body.component.mjs +5 -9
- package/esm2020/popover/popover-container/popover-container.directive.mjs +3 -3
- package/esm2020/popover/popover-control/popover-control.component.mjs +3 -3
- package/esm2020/popover/popover-mobile/popover-mobile.component.mjs +3 -3
- package/esm2020/popover/popover-mobile/popover-mobile.module.mjs +4 -4
- package/esm2020/popover/popover-service/popover.service.mjs +4 -6
- package/esm2020/popover/popover-trigger.directive.mjs +3 -3
- package/esm2020/popover/popover.component.mjs +3 -3
- package/esm2020/popover/popover.module.mjs +4 -4
- package/esm2020/product-switch/product-switch/product-switch.component.mjs +3 -3
- package/esm2020/product-switch/product-switch-body/product-switch-body.component.mjs +3 -3
- package/esm2020/product-switch/product-switch.module.mjs +4 -4
- package/esm2020/progress-indicator/progress-indicator.component.mjs +3 -3
- package/esm2020/progress-indicator/progress-indicator.module.mjs +4 -4
- package/esm2020/quick-view/quick-view/quick-view.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-group/quick-view-group.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-group-item/quick-view-group-item.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-group-item-content/quick-view-group-item-content-element.directive.mjs +3 -3
- package/esm2020/quick-view/quick-view-group-item-content/quick-view-group-item-content.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-group-item-label/quick-view-group-item-label.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-group-title/quick-view-group-title.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-subheader/quick-view-subheader.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-subheader-subtitle/quick-view-subheader-subtitle.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-subheader-title/quick-view-subheader-title.component.mjs +3 -3
- package/esm2020/quick-view/quick-view-title/quick-view-title.component.mjs +3 -3
- package/esm2020/quick-view/quick-view.module.mjs +4 -4
- package/esm2020/radio/deprecated-radio-button-compact.directive.mjs +3 -3
- package/esm2020/radio/radio-button/radio-button.component.mjs +3 -3
- package/esm2020/radio/radio.module.mjs +4 -4
- package/esm2020/rating-indicator/components/rating-indicator.component.mjs +3 -3
- package/esm2020/rating-indicator/pipes/rating-star-label.pipe.mjs +3 -3
- package/esm2020/rating-indicator/rating-indicator.module.mjs +4 -4
- package/esm2020/resizable-card-layout/resizable-card-layout/resizable-card-item/resizable-card-item.component.mjs +3 -3
- package/esm2020/resizable-card-layout/resizable-card-layout/resizable-card-layout.component.mjs +3 -3
- package/esm2020/resizable-card-layout/resizable-card-layout.module.mjs +4 -4
- package/esm2020/scroll-spy/scroll-spy.directive.mjs +3 -3
- package/esm2020/scroll-spy/scroll-spy.module.mjs +4 -4
- package/esm2020/scrollbar/scrollbar.directive.mjs +3 -3
- package/esm2020/scrollbar/scrollbar.module.mjs +4 -4
- package/esm2020/segmented-button/segmented-button.component.mjs +3 -3
- package/esm2020/segmented-button/segmented-button.module.mjs +4 -4
- package/esm2020/select/deprecated-select-compact.directive.mjs +3 -3
- package/esm2020/select/option/option.component.mjs +3 -3
- package/esm2020/select/select-key-manager.service.mjs +3 -3
- package/esm2020/select/select-mobile/select-mobile.component.mjs +3 -3
- package/esm2020/select/select-mobile/select-mobile.module.mjs +4 -4
- package/esm2020/select/select.component.mjs +6 -7
- package/esm2020/select/select.module.mjs +4 -4
- package/esm2020/shared/services/value-state-message.service.mjs +3 -3
- package/esm2020/shellbar/deprecated-shellbar-compact.directive.mjs +3 -3
- package/esm2020/shellbar/product-menu/product-menu.component.mjs +3 -3
- package/esm2020/shellbar/shellbar-action/shellbar-action.component.mjs +3 -3
- package/esm2020/shellbar/shellbar-actions/shellbar-actions.component.mjs +3 -3
- package/esm2020/shellbar/shellbar-actions-mobile/shellbar-actions-mobile.component.mjs +3 -3
- package/esm2020/shellbar/shellbar-logo/shellbar-logo.component.mjs +3 -3
- package/esm2020/shellbar/shellbar-sidenav.directive.mjs +3 -3
- package/esm2020/shellbar/shellbar-subtitle/shellbar-subtitle.component.mjs +3 -3
- package/esm2020/shellbar/shellbar-title/shellbar-title.component.mjs +3 -3
- package/esm2020/shellbar/shellbar.component.mjs +3 -3
- package/esm2020/shellbar/shellbar.module.mjs +4 -4
- package/esm2020/shellbar/user-menu/shellbar-user-menu.component.mjs +3 -3
- package/esm2020/side-navigation/side-navigation-main.directive.mjs +3 -3
- package/esm2020/side-navigation/side-navigation-utility.directive.mjs +3 -3
- package/esm2020/side-navigation/side-navigation.component.mjs +3 -3
- package/esm2020/side-navigation/side-navigation.module.mjs +4 -4
- package/esm2020/skeleton/components/skeleton.component.mjs +3 -3
- package/esm2020/skeleton/skeleton.module.mjs +4 -4
- package/esm2020/slider/deprecated-slider-cozy.directive.mjs +3 -3
- package/esm2020/slider/slider-position.directive.mjs +3 -3
- package/esm2020/slider/slider.component.mjs +3 -3
- package/esm2020/slider/slider.module.mjs +4 -4
- package/esm2020/split-button/deprecated-split-button-compact.directive.mjs +3 -3
- package/esm2020/split-button/split-button-utils/split-button.directives.mjs +3 -3
- package/esm2020/split-button/split-button.component.mjs +3 -3
- package/esm2020/split-button/split-button.module.mjs +4 -4
- package/esm2020/splitter/splitter-pagination/splitter-pagination.component.mjs +3 -3
- package/esm2020/splitter/splitter-pane-container/splitter-pane-container.component.mjs +6 -6
- package/esm2020/splitter/splitter-resizer/splitter-resizer.component.mjs +3 -3
- package/esm2020/splitter/splitter-split-pane/splitter-split-pane.component.mjs +3 -3
- package/esm2020/splitter/splitter.component.mjs +3 -3
- package/esm2020/splitter/splitter.module.mjs +4 -4
- package/esm2020/status-indicator/status-indicator.component.mjs +3 -3
- package/esm2020/status-indicator/status-indicator.module.mjs +4 -4
- package/esm2020/step-input/deprecated-step-input-compact.directive.mjs +3 -3
- package/esm2020/step-input/step-input.component.mjs +3 -3
- package/esm2020/step-input/step-input.module.mjs +4 -4
- package/esm2020/switch/deprecated-switch-compact.directive.mjs +3 -3
- package/esm2020/switch/switch.component.mjs +3 -3
- package/esm2020/switch/switch.module.mjs +4 -4
- package/esm2020/table/deprecated-table-compact.directive.mjs +3 -3
- package/esm2020/table/deprecated-table-condensed.directive.mjs +3 -3
- package/esm2020/table/directives/table-body.directive.mjs +3 -3
- package/esm2020/table/directives/table-cell.directive.mjs +3 -3
- package/esm2020/table/directives/table-fixed.directive.mjs +3 -3
- package/esm2020/table/directives/table-footer.directive.mjs +3 -3
- package/esm2020/table/directives/table-header.directive.mjs +3 -3
- package/esm2020/table/directives/table-icon.directive.mjs +3 -3
- package/esm2020/table/directives/table-inner.directive.mjs +3 -3
- package/esm2020/table/directives/table-popover.directive.mjs +3 -3
- package/esm2020/table/directives/table-responsive-wrapper.directive.mjs +3 -3
- package/esm2020/table/directives/table-row.directive.mjs +3 -3
- package/esm2020/table/directives/table-status-indicator.directive.mjs +3 -3
- package/esm2020/table/directives/table-text.directive.mjs +3 -3
- package/esm2020/table/table-wrapper.component.mjs +3 -3
- package/esm2020/table/table.component.mjs +3 -3
- package/esm2020/table/table.module.mjs +7 -8
- package/esm2020/tabs/deprecated-tabs-compact.directive.mjs +3 -3
- package/esm2020/tabs/tab-item/tab-item.directive.mjs +3 -3
- package/esm2020/tabs/tab-item-expand/tab-item-expand.component.mjs +3 -3
- package/esm2020/tabs/tab-link/tab-link.directive.mjs +3 -3
- package/esm2020/tabs/tab-list.component.mjs +3 -3
- package/esm2020/tabs/tab-nav/tab-nav.component.mjs +3 -3
- package/esm2020/tabs/tab-panel/tab-panel.component.mjs +3 -3
- package/esm2020/tabs/tab-utils/tab-directives.mjs +30 -30
- package/esm2020/tabs/tabs.module.mjs +4 -4
- package/esm2020/text/text.component.mjs +3 -3
- package/esm2020/text/text.module.mjs +4 -4
- package/esm2020/theming/theming.module.mjs +4 -4
- package/esm2020/theming/theming.service.mjs +3 -3
- package/esm2020/tile/directives/numeric-content.directives.mjs +27 -27
- package/esm2020/tile/directives/tile.directives.mjs +69 -69
- package/esm2020/tile/tile.component.mjs +3 -3
- package/esm2020/tile/tile.module.mjs +4 -4
- package/esm2020/time/deprecated-time-content-density.directive.mjs +3 -3
- package/esm2020/time/i18n/time-i18n.mjs +3 -3
- package/esm2020/time/time-column/time-column.component.mjs +3 -3
- package/esm2020/time/time.component.mjs +3 -3
- package/esm2020/time/time.module.mjs +4 -4
- package/esm2020/time-picker/deprecated-timepicker-compact.directive.mjs +3 -3
- package/esm2020/time-picker/time-picker.component.mjs +3 -3
- package/esm2020/time-picker/time-picker.module.mjs +4 -4
- package/esm2020/timeline/components/timeline-node/timeline-node.component.mjs +3 -3
- package/esm2020/timeline/components/timeline-node-body/timeline-node-body.component.mjs +3 -3
- package/esm2020/timeline/components/timeline-node-footer/timeline-node-footer.component.mjs +3 -3
- package/esm2020/timeline/components/timeline-node-header/timeline-node-header-info/timeline-node-header-info.component.mjs +3 -3
- package/esm2020/timeline/components/timeline-node-header/timeline-node-header.component.mjs +3 -3
- package/esm2020/timeline/directives/class-bindings/timeline-header-info-sub-title.directive.mjs +3 -3
- package/esm2020/timeline/directives/class-bindings/timeline-node-header-info-text.directive.mjs +3 -3
- package/esm2020/timeline/directives/class-bindings/timeline-node-header-info-title.directive.mjs +3 -3
- package/esm2020/timeline/directives/timeline-first-list-outlet.directive.mjs +3 -3
- package/esm2020/timeline/directives/timeline-node-def.directive.mjs +3 -3
- package/esm2020/timeline/directives/timeline-second-list-outlet.directive.mjs +3 -3
- package/esm2020/timeline/services/timeline-position-control.service.mjs +3 -3
- package/esm2020/timeline/timeline.component.mjs +3 -3
- package/esm2020/timeline/timeline.module.mjs +4 -4
- package/esm2020/title/title.component.mjs +3 -3
- package/esm2020/title/title.module.mjs +4 -4
- package/esm2020/token/deprecated-tokenizer-content-density.directive.mjs +3 -3
- package/esm2020/token/token-input.directive.mjs +3 -3
- package/esm2020/token/token.component.mjs +3 -3
- package/esm2020/token/token.module.mjs +4 -4
- package/esm2020/token/tokenizer.component.mjs +3 -3
- package/esm2020/toolbar/deprecated-toolbar-size.directive.mjs +3 -3
- package/esm2020/toolbar/public_api.mjs +4 -3
- package/esm2020/toolbar/toolbar-form-label.directive.mjs +3 -3
- package/esm2020/toolbar/toolbar-item.directive.mjs +8 -43
- package/esm2020/toolbar/toolbar-label.directive.mjs +3 -3
- package/esm2020/toolbar/toolbar-overflow-button-menu.directive.mjs +3 -3
- package/esm2020/toolbar/toolbar-overflow-button.directive.mjs +3 -3
- package/esm2020/toolbar/toolbar-overflow-group.directive.mjs +27 -0
- package/esm2020/toolbar/toolbar-overflow-priority.directive.mjs +29 -0
- package/esm2020/toolbar/toolbar-separator.component.mjs +3 -3
- package/esm2020/toolbar/toolbar-spacer.component.mjs +47 -0
- package/esm2020/toolbar/toolbar.component.mjs +277 -159
- package/esm2020/toolbar/toolbar.module.mjs +19 -12
- package/esm2020/tree/tree-child.component.mjs +3 -3
- package/esm2020/tree/tree.component.mjs +3 -3
- package/esm2020/tree/tree.module.mjs +4 -4
- package/esm2020/upload-collection/upload-collection-button-group/upload-collection-button-group.component.mjs +3 -3
- package/esm2020/upload-collection/upload-collection-form-item/upload-collection-form-item.component.mjs +3 -3
- package/esm2020/upload-collection/upload-collection-item.directive.mjs +3 -3
- package/esm2020/upload-collection/upload-collection-simple.directives.mjs +21 -21
- package/esm2020/upload-collection/upload-collection.component.mjs +3 -3
- package/esm2020/upload-collection/upload-collection.module.mjs +4 -4
- package/esm2020/vertical-navigation/vertical-navigation-group-header.directive.mjs +3 -3
- package/esm2020/vertical-navigation/vertical-navigation-main-navigation.component.mjs +3 -3
- package/esm2020/vertical-navigation/vertical-navigation.component.mjs +3 -3
- package/esm2020/vertical-navigation/vertical-navigation.module.mjs +4 -4
- package/esm2020/wizard/deprecated-wizard-compact.directive.mjs +3 -3
- package/esm2020/wizard/wizard-content/wizard-content.component.mjs +3 -3
- package/esm2020/wizard/wizard-navigation/wizard-navigation.component.mjs +3 -3
- package/esm2020/wizard/wizard-next-step/wizard-next-step.component.mjs +3 -3
- package/esm2020/wizard/wizard-progress-bar/wizard-progress-bar.directive.mjs +3 -3
- package/esm2020/wizard/wizard-step/wizard-step.component.mjs +3 -3
- package/esm2020/wizard/wizard-step-indicator/wizard-step-indicator.component.mjs +3 -3
- package/esm2020/wizard/wizard.component.mjs +3 -3
- package/esm2020/wizard/wizard.module.mjs +4 -4
- package/esm2020/wizard/wizard.service.mjs +3 -3
- package/fesm2015/fundamental-ngx-core-action-bar.mjs +25 -25
- package/fesm2015/fundamental-ngx-core-action-sheet.mjs +26 -26
- package/fesm2015/fundamental-ngx-core-alert.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-avatar-group.mjs +28 -28
- package/fesm2015/fundamental-ngx-core-avatar.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-bar.mjs +28 -28
- package/fesm2015/fundamental-ngx-core-breadcrumb.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-busy-indicator.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-button.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-calendar.mjs +34 -34
- package/fesm2015/fundamental-ngx-core-card.mjs +58 -58
- package/fesm2015/fundamental-ngx-core-carousel.mjs +19 -19
- package/fesm2015/fundamental-ngx-core-checkbox.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-combobox.mjs +20 -20
- package/fesm2015/fundamental-ngx-core-content-density.mjs +37 -37
- package/fesm2015/fundamental-ngx-core-date-picker.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-datetime-picker.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-datetime.mjs +24 -24
- package/fesm2015/fundamental-ngx-core-dialog.mjs +58 -58
- package/fesm2015/fundamental-ngx-core-dynamic-page.mjs +44 -44
- package/fesm2015/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-dynamic-side-content.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-facets.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-feed-input.mjs +16 -16
- package/fesm2015/fundamental-ngx-core-feed-list-item.mjs +22 -22
- package/fesm2015/fundamental-ngx-core-file-uploader.mjs +19 -19
- package/fesm2015/fundamental-ngx-core-fixed-card-layout.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-flexible-column-layout.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-form.mjs +79 -79
- package/fesm2015/fundamental-ngx-core-formatted-text.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-grid-list.mjs +48 -48
- package/fesm2015/fundamental-ngx-core-grid-list.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-icon.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-illustrated-message.mjs +19 -19
- package/fesm2015/fundamental-ngx-core-infinite-scroll.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-info-label.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-inline-help.mjs +7 -14
- package/fesm2015/fundamental-ngx-core-inline-help.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-input-group.mjs +22 -22
- package/fesm2015/fundamental-ngx-core-layout-grid.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-layout-panel.mjs +31 -31
- package/fesm2015/fundamental-ngx-core-link.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-list.mjs +67 -79
- package/fesm2015/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-menu.mjs +47 -47
- package/fesm2015/fundamental-ngx-core-message-box.mjs +40 -40
- package/fesm2015/fundamental-ngx-core-message-page.mjs +19 -19
- package/fesm2015/fundamental-ngx-core-message-strip.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-message-toast.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-micro-process-flow.mjs +22 -22
- package/fesm2015/fundamental-ngx-core-multi-combobox.mjs +23 -28
- package/fesm2015/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-multi-input.mjs +17 -17
- package/fesm2015/fundamental-ngx-core-nested-list.mjs +43 -43
- package/fesm2015/fundamental-ngx-core-notification.mjs +64 -64
- package/fesm2015/fundamental-ngx-core-object-identifier.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-object-marker.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-object-number.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-object-status.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-overflow-layout.mjs +49 -45
- package/fesm2015/fundamental-ngx-core-overflow-layout.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-pagination.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-panel.mjs +16 -16
- package/fesm2015/fundamental-ngx-core-popover.mjs +39 -49
- package/fesm2015/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-product-switch.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-progress-indicator.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-quick-view.mjs +37 -37
- package/fesm2015/fundamental-ngx-core-radio.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-rating-indicator.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-resizable-card-layout.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-scroll-spy.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-scrollbar.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-segmented-button.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-select.mjs +24 -25
- package/fesm2015/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-shared.mjs +3 -3
- package/fesm2015/fundamental-ngx-core-shellbar.mjs +37 -37
- package/fesm2015/fundamental-ngx-core-side-navigation.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-skeleton.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-slider.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-split-button.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-splitter.mjs +22 -22
- package/fesm2015/fundamental-ngx-core-status-indicator.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-step-input.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-switch.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-table.mjs +55 -55
- package/fesm2015/fundamental-ngx-core-table.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-tabs.mjs +55 -55
- package/fesm2015/fundamental-ngx-core-text.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-theming.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-tile.mjs +103 -103
- package/fesm2015/fundamental-ngx-core-time-picker.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-time.mjs +16 -16
- package/fesm2015/fundamental-ngx-core-timeline.mjs +43 -43
- package/fesm2015/fundamental-ngx-core-title.mjs +7 -7
- package/fesm2015/fundamental-ngx-core-token.mjs +16 -16
- package/fesm2015/fundamental-ngx-core-toolbar.mjs +416 -276
- package/fesm2015/fundamental-ngx-core-toolbar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-tree.mjs +10 -10
- package/fesm2015/fundamental-ngx-core-upload-collection.mjs +37 -37
- package/fesm2015/fundamental-ngx-core-vertical-navigation.mjs +13 -13
- package/fesm2015/fundamental-ngx-core-wizard.mjs +31 -31
- package/fesm2015/fundamental-ngx-core.mjs +4 -4
- package/fesm2020/fundamental-ngx-core-action-bar.mjs +25 -25
- package/fesm2020/fundamental-ngx-core-action-sheet.mjs +26 -26
- package/fesm2020/fundamental-ngx-core-alert.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-avatar-group.mjs +28 -28
- package/fesm2020/fundamental-ngx-core-avatar.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-bar.mjs +28 -28
- package/fesm2020/fundamental-ngx-core-breadcrumb.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-busy-indicator.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-button.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-calendar.mjs +34 -34
- package/fesm2020/fundamental-ngx-core-card.mjs +58 -58
- package/fesm2020/fundamental-ngx-core-carousel.mjs +19 -19
- package/fesm2020/fundamental-ngx-core-checkbox.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-combobox.mjs +20 -20
- package/fesm2020/fundamental-ngx-core-content-density.mjs +37 -37
- package/fesm2020/fundamental-ngx-core-date-picker.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-datetime-picker.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-datetime.mjs +24 -24
- package/fesm2020/fundamental-ngx-core-dialog.mjs +58 -58
- package/fesm2020/fundamental-ngx-core-dynamic-page.mjs +44 -44
- package/fesm2020/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-dynamic-side-content.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-facets.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-feed-input.mjs +16 -16
- package/fesm2020/fundamental-ngx-core-feed-list-item.mjs +22 -22
- package/fesm2020/fundamental-ngx-core-file-uploader.mjs +19 -19
- package/fesm2020/fundamental-ngx-core-fixed-card-layout.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-flexible-column-layout.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-form.mjs +79 -79
- package/fesm2020/fundamental-ngx-core-formatted-text.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-grid-list.mjs +48 -48
- package/fesm2020/fundamental-ngx-core-grid-list.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-icon.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-illustrated-message.mjs +19 -19
- package/fesm2020/fundamental-ngx-core-infinite-scroll.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-info-label.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-inline-help.mjs +7 -14
- package/fesm2020/fundamental-ngx-core-inline-help.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-input-group.mjs +22 -22
- package/fesm2020/fundamental-ngx-core-layout-grid.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-layout-panel.mjs +31 -31
- package/fesm2020/fundamental-ngx-core-link.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-list.mjs +67 -78
- package/fesm2020/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-menu.mjs +47 -47
- package/fesm2020/fundamental-ngx-core-message-box.mjs +40 -40
- package/fesm2020/fundamental-ngx-core-message-page.mjs +19 -19
- package/fesm2020/fundamental-ngx-core-message-strip.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-message-toast.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-micro-process-flow.mjs +22 -22
- package/fesm2020/fundamental-ngx-core-multi-combobox.mjs +22 -27
- package/fesm2020/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-multi-input.mjs +17 -17
- package/fesm2020/fundamental-ngx-core-nested-list.mjs +43 -43
- package/fesm2020/fundamental-ngx-core-notification.mjs +64 -64
- package/fesm2020/fundamental-ngx-core-object-identifier.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-object-marker.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-object-number.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-object-status.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-overflow-layout.mjs +49 -45
- package/fesm2020/fundamental-ngx-core-overflow-layout.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-pagination.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-panel.mjs +16 -16
- package/fesm2020/fundamental-ngx-core-popover.mjs +39 -49
- package/fesm2020/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-product-switch.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-progress-indicator.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-quick-view.mjs +37 -37
- package/fesm2020/fundamental-ngx-core-radio.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-rating-indicator.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-resizable-card-layout.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-scroll-spy.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-scrollbar.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-segmented-button.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-select.mjs +24 -25
- package/fesm2020/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-shared.mjs +3 -3
- package/fesm2020/fundamental-ngx-core-shellbar.mjs +37 -37
- package/fesm2020/fundamental-ngx-core-side-navigation.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-skeleton.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-slider.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-split-button.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-splitter.mjs +22 -22
- package/fesm2020/fundamental-ngx-core-status-indicator.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-step-input.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-switch.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-table.mjs +55 -55
- package/fesm2020/fundamental-ngx-core-table.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-tabs.mjs +55 -55
- package/fesm2020/fundamental-ngx-core-text.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-theming.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-tile.mjs +103 -103
- package/fesm2020/fundamental-ngx-core-time-picker.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-time.mjs +16 -16
- package/fesm2020/fundamental-ngx-core-timeline.mjs +43 -43
- package/fesm2020/fundamental-ngx-core-title.mjs +7 -7
- package/fesm2020/fundamental-ngx-core-token.mjs +16 -16
- package/fesm2020/fundamental-ngx-core-toolbar.mjs +416 -275
- package/fesm2020/fundamental-ngx-core-toolbar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-tree.mjs +10 -10
- package/fesm2020/fundamental-ngx-core-upload-collection.mjs +37 -37
- package/fesm2020/fundamental-ngx-core-vertical-navigation.mjs +13 -13
- package/fesm2020/fundamental-ngx-core-wizard.mjs +31 -31
- package/fesm2020/fundamental-ngx-core.mjs +4 -4
- package/fundamental-ngx-core-v0.40.5.tgz +0 -0
- package/grid-list/components/grid-list-title-bar-spacer/grid-list-title-bar-spacer.component.d.ts +2 -2
- package/inline-help/inline-help.directive.d.ts +0 -2
- package/list/directives/list-navigation-item-arrow.directive.d.ts +0 -6
- package/overflow-layout/overflow-layout.service.d.ts +4 -4
- package/package.json +4 -4
- package/popover/base/base-popover.class.d.ts +0 -4
- package/popover/popover-body/popover-body.component.d.ts +0 -4
- package/schematics/add-dependencies/index.js +4 -4
- package/table/table.module.d.ts +1 -2
- package/toolbar/public_api.d.ts +3 -2
- package/toolbar/toolbar-item.directive.d.ts +2 -20
- package/toolbar/toolbar-overflow-group.directive.d.ts +14 -0
- package/toolbar/toolbar-overflow-priority.directive.d.ts +17 -0
- package/toolbar/{toolbar-spacer.directive.d.ts → toolbar-spacer.component.d.ts} +3 -3
- package/toolbar/toolbar.component.d.ts +70 -33
- package/toolbar/toolbar.module.d.ts +9 -8
- package/esm2020/toolbar/abstract-toolbar-item.class.mjs +0 -3
- package/esm2020/toolbar/toolbar-spacer.directive.mjs +0 -45
- package/fundamental-ngx-core-v0.40.4-rc.6.tgz +0 -0
- package/toolbar/abstract-toolbar-item.class.d.ts +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive,
|
|
2
|
+
import { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, SkipSelf, Inject, Input, ViewChild, ContentChildren, forwardRef, ContentChild, HostBinding, isDevMode, NgModule } from '@angular/core';
|
|
3
3
|
import * as i3 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i4 from '@fundamental-ngx/core/button';
|
|
@@ -9,108 +9,56 @@ import { PopoverModule } from '@fundamental-ngx/core/popover';
|
|
|
9
9
|
import { __decorate, __metadata } from 'tslib';
|
|
10
10
|
import { DYNAMIC_PAGE_HEADER_TOKEN } from '@fundamental-ngx/core/shared';
|
|
11
11
|
import * as i2 from '@fundamental-ngx/cdk/utils';
|
|
12
|
-
import { OVERFLOW_PRIORITY_SCORE, DestroyedService, applyCssClass
|
|
13
|
-
import {
|
|
12
|
+
import { OVERFLOW_PRIORITY_SCORE, DestroyedService, applyCssClass } from '@fundamental-ngx/cdk/utils';
|
|
13
|
+
import { of, Subscription, fromEvent, BehaviorSubject } from 'rxjs';
|
|
14
|
+
import { filter, debounceTime, distinctUntilChanged, takeUntil, delay } from 'rxjs/operators';
|
|
14
15
|
import { TitleToken } from '@fundamental-ngx/core/title';
|
|
15
16
|
import * as i1 from '@fundamental-ngx/core/content-density';
|
|
16
17
|
import { contentDensityObserverProviders, ContentDensityMode, CONTENT_DENSITY_DIRECTIVE, ContentDensityModule } from '@fundamental-ngx/core/content-density';
|
|
17
18
|
|
|
18
|
-
class
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
class ToolbarSpacerDirective {
|
|
22
|
-
constructor() {
|
|
23
|
-
/** Determines the width of spacer when fixed property is set to true
|
|
24
|
-
* Allowed values: absolute and relative metrics
|
|
25
|
-
* Default value: 0px
|
|
26
|
-
*/
|
|
27
|
-
this.width = '0px';
|
|
28
|
-
/** Property allows user to pass additional class
|
|
29
|
-
*/
|
|
30
|
-
this.class = '';
|
|
31
|
-
/** Determines if spacer should take only size taken from width property
|
|
32
|
-
* Default value: false
|
|
33
|
-
* Default behaviour: spacer takes remaining space automatically
|
|
34
|
-
*/
|
|
35
|
-
this.fixed = false;
|
|
36
|
-
}
|
|
19
|
+
class ToolbarItemDirective {
|
|
37
20
|
/** @hidden */
|
|
38
|
-
|
|
39
|
-
|
|
21
|
+
constructor(elementRef) {
|
|
22
|
+
this.elementRef = elementRef;
|
|
40
23
|
}
|
|
41
24
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
25
|
+
ToolbarItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
26
|
+
ToolbarItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarItemDirective, selector: "[fd-toolbar-item]", ngImport: i0 });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarItemDirective, decorators: [{
|
|
45
28
|
type: Directive,
|
|
46
29
|
args: [{
|
|
47
30
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
48
|
-
selector: 'fd-toolbar-
|
|
49
|
-
}]
|
|
50
|
-
}], propDecorators: { width: [{
|
|
51
|
-
type: HostBinding,
|
|
52
|
-
args: ['style.width']
|
|
53
|
-
}, {
|
|
54
|
-
type: Input
|
|
55
|
-
}], class: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], fixed: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], css: [{
|
|
60
|
-
type: HostBinding,
|
|
61
|
-
args: ['attr.class']
|
|
62
|
-
}] } });
|
|
63
|
-
|
|
64
|
-
class ToolbarSeparatorComponent {
|
|
65
|
-
}
|
|
66
|
-
ToolbarSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToolbarSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
67
|
-
ToolbarSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ToolbarSeparatorComponent, selector: "fd-toolbar-separator", host: { classAttribute: "fd-toolbar__separator" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToolbarSeparatorComponent, decorators: [{
|
|
69
|
-
type: Component,
|
|
70
|
-
args: [{
|
|
71
|
-
selector: 'fd-toolbar-separator',
|
|
72
|
-
template: '',
|
|
73
|
-
encapsulation: ViewEncapsulation.None,
|
|
74
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
75
|
-
host: {
|
|
76
|
-
class: 'fd-toolbar__separator'
|
|
77
|
-
}
|
|
31
|
+
selector: '[fd-toolbar-item]'
|
|
78
32
|
}]
|
|
79
|
-
}] });
|
|
33
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
80
34
|
|
|
81
35
|
const ELEMENT_MARGIN = 8;
|
|
82
36
|
const OVERFLOW_SPACE = 50 + 2 * ELEMENT_MARGIN;
|
|
83
37
|
const MAX_CONTENT_SIZE = 99999999;
|
|
84
38
|
class ToolbarComponent {
|
|
85
|
-
/** Determines if overflow button should be visible
|
|
86
|
-
* Default value: false
|
|
87
|
-
*/
|
|
88
|
-
set shouldOverflow(val) {
|
|
89
|
-
this._shouldOverflow = val;
|
|
90
|
-
this.shouldOverflow$.next(val);
|
|
91
|
-
}
|
|
92
|
-
get shouldOverflow() {
|
|
93
|
-
return this._shouldOverflow;
|
|
94
|
-
}
|
|
95
39
|
/** @hidden */
|
|
96
|
-
|
|
97
|
-
this.
|
|
40
|
+
get _toolbarWidth() {
|
|
41
|
+
return this.toolbar.nativeElement.clientWidth - OVERFLOW_SPACE;
|
|
98
42
|
}
|
|
99
|
-
|
|
100
|
-
|
|
43
|
+
/** @hidden */
|
|
44
|
+
get _overflowBody() {
|
|
45
|
+
return this.overflowBody && this.overflowBody.nativeElement;
|
|
101
46
|
}
|
|
102
47
|
/** @hidden */
|
|
103
|
-
get
|
|
104
|
-
return this.toolbar.nativeElement
|
|
48
|
+
get _toolbar() {
|
|
49
|
+
return this.toolbar.nativeElement;
|
|
105
50
|
}
|
|
106
51
|
/** @hidden */
|
|
107
|
-
constructor(_cd, _contentDensityObserver, _destroy$,
|
|
52
|
+
constructor(_cd, _renderer, _contentDensityObserver, _destroy$, _dynamicPageHeader) {
|
|
108
53
|
this._cd = _cd;
|
|
54
|
+
this._renderer = _renderer;
|
|
109
55
|
this._contentDensityObserver = _contentDensityObserver;
|
|
110
56
|
this._destroy$ = _destroy$;
|
|
111
|
-
this.resizeObserverService = resizeObserverService;
|
|
112
|
-
this.ngZone = ngZone;
|
|
113
57
|
this._dynamicPageHeader = _dynamicPageHeader;
|
|
58
|
+
/** Determines if overflow button should be visible
|
|
59
|
+
* Default value: false
|
|
60
|
+
*/
|
|
61
|
+
this.shouldOverflow = false;
|
|
114
62
|
/** Determines the type of toolbar
|
|
115
63
|
* Available options: 'solid' | 'transparent' | 'auto' | 'info'
|
|
116
64
|
* Default value: 'solid'
|
|
@@ -131,75 +79,36 @@ class ToolbarComponent {
|
|
|
131
79
|
/** Tabindex of the toolbar element, to be used when fdType="info" */
|
|
132
80
|
this.tabindex = -1;
|
|
133
81
|
/** @hidden */
|
|
134
|
-
this.
|
|
82
|
+
this.titleComponent = null;
|
|
135
83
|
/** @hidden */
|
|
136
|
-
this.
|
|
84
|
+
this.overflowVisibility = of(false);
|
|
137
85
|
/** @hidden */
|
|
138
|
-
this.
|
|
86
|
+
this._subscriptions = new Subscription();
|
|
139
87
|
/** @hidden */
|
|
140
|
-
this.
|
|
88
|
+
this._overflowElements = [];
|
|
141
89
|
/** @hidden */
|
|
142
|
-
this.
|
|
90
|
+
this._normalElements = [];
|
|
91
|
+
/** @hidden */
|
|
92
|
+
this._disappearElements = [];
|
|
143
93
|
/** @hidden */
|
|
144
|
-
this.
|
|
94
|
+
this._initialised = false;
|
|
145
95
|
_contentDensityObserver.subscribe();
|
|
146
96
|
}
|
|
147
97
|
/** @hidden */
|
|
98
|
+
ngOnInit() {
|
|
99
|
+
fromEvent(window, 'resize')
|
|
100
|
+
.pipe(filter(() => this.shouldOverflow), debounceTime(50), distinctUntilChanged(), takeUntil(this._destroy$))
|
|
101
|
+
.subscribe(() => this._onResize());
|
|
102
|
+
}
|
|
103
|
+
/** @hidden */
|
|
148
104
|
ngAfterViewInit() {
|
|
149
|
-
this.
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
if (!titleComponent) {
|
|
155
|
-
return (_a = this.titleElement) === null || _a === void 0 ? void 0 : _a.nativeElement;
|
|
156
|
-
}
|
|
157
|
-
return titleComponent.elementRef.nativeElement;
|
|
158
|
-
})),
|
|
159
|
-
this.shouldOverflow$,
|
|
160
|
-
this._refreshOverflow$
|
|
161
|
-
]).pipe(map(([toolbarWidth, toolbarItems, titleElement, shouldOverflow]) => {
|
|
162
|
-
if (shouldOverflow) {
|
|
163
|
-
const _sortedByPriorityAndGroupItems = this._getSortedByPriorityAndGroupItems(toolbarItems);
|
|
164
|
-
const overflowItems = [];
|
|
165
|
-
_sortedByPriorityAndGroupItems.reduce((_contentWidth, toolbarItem) => {
|
|
166
|
-
const itemWidth = toolbarItem.width;
|
|
167
|
-
const itemPriority = toolbarItem.priority;
|
|
168
|
-
const shouldItemBeRemovedByWidth = itemWidth + _contentWidth > toolbarWidth;
|
|
169
|
-
const shouldAlwaysBeInOverflow = itemPriority === "always" /* OverflowPriorityEnum.ALWAYS */ || this.forceOverflow;
|
|
170
|
-
const shouldNeverBeInOverflow = itemPriority === "never" /* OverflowPriorityEnum.NEVER */;
|
|
171
|
-
if ((shouldItemBeRemovedByWidth && !shouldNeverBeInOverflow) || shouldAlwaysBeInOverflow) {
|
|
172
|
-
overflowItems.push(toolbarItem);
|
|
173
|
-
return shouldAlwaysBeInOverflow ? _contentWidth : MAX_CONTENT_SIZE;
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
return _contentWidth + itemWidth;
|
|
177
|
-
}
|
|
178
|
-
}, (titleElement === null || titleElement === void 0 ? void 0 : titleElement.clientWidth) || 0);
|
|
179
|
-
// Hide orphans
|
|
180
|
-
for (const toolbarItem of overflowItems) {
|
|
181
|
-
const groupedCollection = this._getGroupedCollection(toolbarItems);
|
|
182
|
-
const groupedCollectionPriorities = this._getGroupedCollectionPriority(groupedCollection);
|
|
183
|
-
const group = toolbarItem.group;
|
|
184
|
-
const itemPriority = toolbarItem.priority;
|
|
185
|
-
if (group !== 0 && itemPriority !== "disappear" /* OverflowPriorityEnum.DISAPPEAR */) {
|
|
186
|
-
const itemsFromCurrentGroup = this._getElementsFromCurrentGroup(group, groupedCollection, groupedCollectionPriorities) || [];
|
|
187
|
-
itemsFromCurrentGroup.forEach((i) => {
|
|
188
|
-
if (overflowItems.indexOf(i) === -1) {
|
|
189
|
-
overflowItems.push(i);
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
return overflowItems.sort((a, b) => this._sortPriorities(a.priority, b.priority));
|
|
195
|
-
}
|
|
196
|
-
return [];
|
|
197
|
-
}), takeUntil(this._destroy$));
|
|
198
|
-
this.overflowItems$.subscribe((items) => {
|
|
199
|
-
this.overflownItems = items;
|
|
200
|
-
this._cd.detectChanges();
|
|
201
|
-
});
|
|
105
|
+
if (this.shouldOverflow) {
|
|
106
|
+
of(true)
|
|
107
|
+
.pipe(delay(5), takeUntil(this._destroy$))
|
|
108
|
+
.subscribe(() => this._collapseItems());
|
|
109
|
+
}
|
|
202
110
|
this._initialised = true;
|
|
111
|
+
this._listenForItemChanges();
|
|
203
112
|
this.buildComponentCssClass();
|
|
204
113
|
}
|
|
205
114
|
/** @hidden */
|
|
@@ -214,6 +123,10 @@ class ToolbarComponent {
|
|
|
214
123
|
this.buildComponentCssClass();
|
|
215
124
|
}
|
|
216
125
|
}
|
|
126
|
+
/** @hidden */
|
|
127
|
+
ngOnDestroy() {
|
|
128
|
+
this._subscriptions.unsubscribe();
|
|
129
|
+
}
|
|
217
130
|
/** Change detection reference */
|
|
218
131
|
detectChanges() {
|
|
219
132
|
this._cd.detectChanges();
|
|
@@ -235,81 +148,117 @@ class ToolbarComponent {
|
|
|
235
148
|
}
|
|
236
149
|
/** Method triggering collapsible toolbar */
|
|
237
150
|
updateCollapsibleItems() {
|
|
238
|
-
this.
|
|
151
|
+
if (this._initialised) {
|
|
152
|
+
this._onResize();
|
|
153
|
+
}
|
|
239
154
|
}
|
|
240
|
-
/** @hidden
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
if (!priority || !OVERFLOW_PRIORITY_SCORE.get(priority[itemGroup])) {
|
|
246
|
-
return itemGroup;
|
|
155
|
+
/** @hidden */
|
|
156
|
+
_onResize() {
|
|
157
|
+
this._reset();
|
|
158
|
+
if (this.shouldOverflow) {
|
|
159
|
+
this._collapseItems();
|
|
247
160
|
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
161
|
+
this._cd.detectChanges();
|
|
162
|
+
}
|
|
163
|
+
// shouldOverflow items
|
|
164
|
+
/** @hidden */
|
|
165
|
+
_collapseItems() {
|
|
166
|
+
this._groupedCollection = this._getGroupedCollection();
|
|
167
|
+
this._groupedCollectionPriority = this._getGroupedCollectionPriority();
|
|
168
|
+
const _sortedByPriorityAndGroupItems = this._getSortedByPriorityAndGroupItems();
|
|
169
|
+
_sortedByPriorityAndGroupItems.reduce((_contentWidth, toolbarItem) => {
|
|
170
|
+
const itemWidth = this._getElementWidthWithMargin(toolbarItem);
|
|
171
|
+
const itemGroup = this._getElementGroup(toolbarItem);
|
|
172
|
+
const itemPriority = this._getElementPriority(toolbarItem);
|
|
173
|
+
const shouldItemBeRemovedByWidth = this._shouldToolbarItemBeRemovedByWidth(itemWidth, _contentWidth);
|
|
174
|
+
const shouldAlwaysBeInOverflow = itemPriority === "always" /* OverflowPriorityEnum.ALWAYS */ || this.forceOverflow;
|
|
175
|
+
const shouldNeverBeInOverflow = itemPriority === "never" /* OverflowPriorityEnum.NEVER */;
|
|
176
|
+
if ((shouldItemBeRemovedByWidth && !shouldNeverBeInOverflow) || shouldAlwaysBeInOverflow) {
|
|
177
|
+
if (itemGroup) {
|
|
178
|
+
this._hideElementsFromCurrentGroup(itemGroup);
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
this._hideElementWithoutGroup(toolbarItem, itemPriority);
|
|
182
|
+
}
|
|
183
|
+
return shouldAlwaysBeInOverflow ? _contentWidth : MAX_CONTENT_SIZE;
|
|
254
184
|
}
|
|
255
|
-
|
|
256
|
-
|
|
185
|
+
else {
|
|
186
|
+
this._normalElements.push(toolbarItem);
|
|
187
|
+
return _contentWidth + itemWidth;
|
|
188
|
+
}
|
|
189
|
+
}, 0);
|
|
190
|
+
this._collapseLastSpacerElement(this._overflowElements, this._normalElements);
|
|
191
|
+
this._addToolbarItemToOverflow(this._overflowElements);
|
|
192
|
+
this._disappearElements.forEach(this._removeToolbarItemFromDOM.bind(this));
|
|
193
|
+
this._normalElements = [...this._getOrderedItemsFollowingQuery(this._normalElements)];
|
|
194
|
+
this._overflowElements = [...this._getOrderedItemsFollowingQuery(this._overflowElements)];
|
|
195
|
+
this.toolbarItems.forEach((item) => this._changeItemVisibilityState(item.elementRef.nativeElement, true));
|
|
196
|
+
this._changeOverflowVisibleState(this._overflowElements.length > 0);
|
|
197
|
+
this._cd.markForCheck();
|
|
198
|
+
}
|
|
199
|
+
/** @hidden */
|
|
200
|
+
_shouldToolbarItemBeRemovedByWidth(itemWidth, contentWidth) {
|
|
201
|
+
return contentWidth + itemWidth > this._toolbarWidth;
|
|
202
|
+
}
|
|
203
|
+
/** @hidden */
|
|
204
|
+
_getElementWidthWithMargin(toolbarItem) {
|
|
205
|
+
return (toolbarItem.elementRef.nativeElement && toolbarItem.elementRef.nativeElement.offsetWidth + ELEMENT_MARGIN);
|
|
257
206
|
}
|
|
258
207
|
/** @hidden */
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
208
|
+
_listenForItemChanges() {
|
|
209
|
+
this.toolbarItems.changes.pipe(filter(() => this.shouldOverflow)).subscribe(() => this._onResize());
|
|
210
|
+
}
|
|
211
|
+
/** @hidden */
|
|
212
|
+
_getElementPriority(toolbarItem) {
|
|
213
|
+
const priority = toolbarItem.elementRef.nativeElement && toolbarItem.elementRef.nativeElement.attributes.fdOverflowPriority;
|
|
214
|
+
return (priority && priority.value) || "high" /* OverflowPriorityEnum.HIGH */;
|
|
215
|
+
}
|
|
216
|
+
/** @hidden */
|
|
217
|
+
_getElementGroup(toolbarItem) {
|
|
218
|
+
const itemGroup = toolbarItem.elementRef.nativeElement && toolbarItem.elementRef.nativeElement.attributes.fdOverflowGroup;
|
|
219
|
+
return (itemGroup && itemGroup.value) || 0;
|
|
220
|
+
}
|
|
221
|
+
/** @hidden */
|
|
222
|
+
_hideElementsFromCurrentGroup(itemGroup) {
|
|
223
|
+
const lowestPriorityFromGroup = this._getLowestPriorityFromGroup(itemGroup);
|
|
224
|
+
if (!this._groupedCollection || !this._groupedCollectionPriority) {
|
|
225
|
+
return;
|
|
263
226
|
}
|
|
264
|
-
let itemsToRemove =
|
|
265
|
-
delete
|
|
266
|
-
delete
|
|
227
|
+
let itemsToRemove = this._groupedCollection[lowestPriorityFromGroup];
|
|
228
|
+
delete this._groupedCollection[lowestPriorityFromGroup];
|
|
229
|
+
delete this._groupedCollectionPriority[lowestPriorityFromGroup];
|
|
267
230
|
if (lowestPriorityFromGroup !== itemGroup) {
|
|
268
|
-
itemsToRemove = [...itemsToRemove, ...
|
|
269
|
-
delete
|
|
270
|
-
delete
|
|
231
|
+
itemsToRemove = [...itemsToRemove, ...this._groupedCollection[itemGroup]];
|
|
232
|
+
delete this._groupedCollection[itemGroup];
|
|
233
|
+
delete this._groupedCollectionPriority[itemGroup];
|
|
271
234
|
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
const itemPrio = item.priority;
|
|
278
|
-
const itemGroup = item.group;
|
|
279
|
-
if (itemPrio === "never" /* OverflowPriorityEnum.NEVER */ ||
|
|
280
|
-
itemPrio === "always" /* OverflowPriorityEnum.ALWAYS */ ||
|
|
281
|
-
itemGroup === 0) {
|
|
282
|
-
return acc;
|
|
235
|
+
itemsToRemove === null || itemsToRemove === void 0 ? void 0 : itemsToRemove.forEach((item) => {
|
|
236
|
+
this._removeItemFromArray(this._normalElements, item);
|
|
237
|
+
const isDisappear = this._getElementPriority(item) === "disappear" /* OverflowPriorityEnum.DISAPPEAR */;
|
|
238
|
+
if (isDisappear) {
|
|
239
|
+
this._disappearElements.push(item);
|
|
283
240
|
}
|
|
284
|
-
if (!
|
|
285
|
-
|
|
241
|
+
if (this._overflowElements.indexOf(item) === -1 && !isDisappear) {
|
|
242
|
+
this._overflowElements.push(item);
|
|
286
243
|
}
|
|
287
|
-
|
|
288
|
-
return acc;
|
|
289
|
-
}, {});
|
|
290
|
-
}
|
|
291
|
-
/** @hidden Get the object with the highest priority for each group of elements. */
|
|
292
|
-
_getGroupedCollectionPriority(groupedCollection) {
|
|
293
|
-
const groups = Object.keys(groupedCollection);
|
|
294
|
-
return groups.reduce((acc, itemGroup) => {
|
|
295
|
-
const sortedPriorities = groupedCollection[itemGroup]
|
|
296
|
-
.map((i) => i.priority)
|
|
297
|
-
.filter((prio) => prio !== "always" /* OverflowPriorityEnum.ALWAYS */ && prio !== "never" /* OverflowPriorityEnum.NEVER */)
|
|
298
|
-
.sort(this._sortPriorities);
|
|
299
|
-
acc[itemGroup] = sortedPriorities[0];
|
|
300
|
-
return acc;
|
|
301
|
-
}, {});
|
|
244
|
+
});
|
|
302
245
|
}
|
|
303
|
-
/** @hidden
|
|
304
|
-
|
|
305
|
-
|
|
246
|
+
/** @hidden */
|
|
247
|
+
_hideElementWithoutGroup(toolbarItem, itemPriority) {
|
|
248
|
+
const isDisappear = itemPriority === "disappear" /* OverflowPriorityEnum.DISAPPEAR */;
|
|
249
|
+
if (isDisappear) {
|
|
250
|
+
this._disappearElements.push(toolbarItem);
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
this._overflowElements.push(toolbarItem);
|
|
254
|
+
}
|
|
306
255
|
}
|
|
307
256
|
/** @hidden Sort by group and priority and initial position */
|
|
308
|
-
_getSortedByPriorityAndGroupItems(
|
|
309
|
-
const notSorted = toolbarItems.map((element, index) => ({ element, index }));
|
|
257
|
+
_getSortedByPriorityAndGroupItems() {
|
|
258
|
+
const notSorted = this.toolbarItems.toArray().map((element, index) => ({ element, index }));
|
|
310
259
|
const groups = notSorted.reduce((gr, item) => {
|
|
311
|
-
let groupId = item.element
|
|
312
|
-
const itemPrio = item.element
|
|
260
|
+
let groupId = this._getElementGroup(item.element);
|
|
261
|
+
const itemPrio = this._getElementPriority(item.element);
|
|
313
262
|
if (itemPrio === "never" /* OverflowPriorityEnum.NEVER */ || itemPrio === "always" /* OverflowPriorityEnum.ALWAYS */) {
|
|
314
263
|
groupId = 0;
|
|
315
264
|
}
|
|
@@ -329,7 +278,7 @@ class ToolbarComponent {
|
|
|
329
278
|
let maxPriority = 0;
|
|
330
279
|
for (const item of groups[g]) {
|
|
331
280
|
minIndex = Math.min(minIndex, item.index);
|
|
332
|
-
maxPriority = Math.max(maxPriority, (_a = OVERFLOW_PRIORITY_SCORE.get(item.element
|
|
281
|
+
maxPriority = Math.max(maxPriority, (_a = OVERFLOW_PRIORITY_SCORE.get(this._getElementPriority(item.element))) !== null && _a !== void 0 ? _a : -Infinity);
|
|
333
282
|
}
|
|
334
283
|
return { group: groups[g].map(({ element }) => element), minIndex, maxPriority };
|
|
335
284
|
})
|
|
@@ -337,36 +286,158 @@ class ToolbarComponent {
|
|
|
337
286
|
? []
|
|
338
287
|
: groups[0].map((item) => ({
|
|
339
288
|
group: [item.element],
|
|
340
|
-
maxPriority: OVERFLOW_PRIORITY_SCORE.get(item.element
|
|
289
|
+
maxPriority: OVERFLOW_PRIORITY_SCORE.get(this._getElementPriority(item.element)),
|
|
341
290
|
minIndex: item.index
|
|
342
291
|
})))
|
|
343
292
|
.sort((a, b) => b.maxPriority - a.maxPriority || a.minIndex - b.minIndex)
|
|
344
293
|
.reduce((arr, i) => arr.concat(i.group), []);
|
|
345
294
|
}
|
|
295
|
+
/** @hidden Get the object with grouped arrays of elements. */
|
|
296
|
+
_getGroupedCollection() {
|
|
297
|
+
const collection = (this.toolbarItems &&
|
|
298
|
+
this.toolbarItems.reduce((acc, item) => {
|
|
299
|
+
const itemPrio = this._getElementPriority(item);
|
|
300
|
+
if (itemPrio === "never" /* OverflowPriorityEnum.NEVER */ || itemPrio === "always" /* OverflowPriorityEnum.ALWAYS */) {
|
|
301
|
+
return acc;
|
|
302
|
+
}
|
|
303
|
+
const itemGroup = this._getElementGroup(item);
|
|
304
|
+
acc[itemGroup] && acc[itemGroup].length ? acc[itemGroup].push(item) : (acc[itemGroup] = [item]);
|
|
305
|
+
return acc;
|
|
306
|
+
}, {})) ||
|
|
307
|
+
{};
|
|
308
|
+
delete collection[0];
|
|
309
|
+
return collection;
|
|
310
|
+
}
|
|
311
|
+
/** @hidden Get the object with the highest priority for each group of elements. */
|
|
312
|
+
_getGroupedCollectionPriority() {
|
|
313
|
+
if (!this._groupedCollection) {
|
|
314
|
+
return {};
|
|
315
|
+
}
|
|
316
|
+
const groups = Object.keys(this._groupedCollection);
|
|
317
|
+
return groups.reduce((acc, itemGroup) => {
|
|
318
|
+
const sortedPriorities = this._groupedCollection[itemGroup].map(this._getElementPriority)
|
|
319
|
+
.filter((prio) => prio !== "always" /* OverflowPriorityEnum.ALWAYS */ && prio !== "never" /* OverflowPriorityEnum.NEVER */)
|
|
320
|
+
.sort(this._sortPriorities.bind(this));
|
|
321
|
+
acc[itemGroup] = sortedPriorities[0];
|
|
322
|
+
return acc;
|
|
323
|
+
}, {});
|
|
324
|
+
}
|
|
325
|
+
/** @hidden Get group number with the lowest priority.
|
|
326
|
+
* Uses for detecting a group of elements which would be hidden from the toolbar.
|
|
327
|
+
* */
|
|
328
|
+
_getLowestPriorityFromGroup(itemGroup) {
|
|
329
|
+
const priority = this._groupedCollectionPriority;
|
|
330
|
+
if (!priority || !OVERFLOW_PRIORITY_SCORE.get(priority[itemGroup])) {
|
|
331
|
+
return itemGroup;
|
|
332
|
+
}
|
|
333
|
+
const groups = Object.keys(priority);
|
|
334
|
+
return groups.reduce((lowestGroup, currentGroup) => {
|
|
335
|
+
const lowestGroupPriority = priority[lowestGroup];
|
|
336
|
+
const currentGroupPriority = priority[currentGroup];
|
|
337
|
+
if (OVERFLOW_PRIORITY_SCORE.get(currentGroupPriority) < OVERFLOW_PRIORITY_SCORE.get(lowestGroupPriority)) {
|
|
338
|
+
return +currentGroup;
|
|
339
|
+
}
|
|
340
|
+
return lowestGroup;
|
|
341
|
+
}, itemGroup);
|
|
342
|
+
}
|
|
343
|
+
/** @hidden */
|
|
344
|
+
_removeItemFromArray(toolbarItems, toolbarItem) {
|
|
345
|
+
const itemIndex = toolbarItems.indexOf(toolbarItem);
|
|
346
|
+
return itemIndex >= 0 ? toolbarItems.splice(itemIndex, 1)[0] : null;
|
|
347
|
+
}
|
|
348
|
+
/** @hidden */
|
|
349
|
+
_removeToolbarItemFromDOM(toolbarItem) {
|
|
350
|
+
if (toolbarItem.elementRef.nativeElement && toolbarItem.elementRef.nativeElement.parentNode) {
|
|
351
|
+
// IE11 workaround element.remove() is not supported
|
|
352
|
+
this._renderer.removeChild(this.elementRef().nativeElement, toolbarItem.elementRef.nativeElement);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
/** @hidden */
|
|
356
|
+
_addToolbarItemToOverflow(toolbarItems) {
|
|
357
|
+
toolbarItems.forEach((x) => {
|
|
358
|
+
if (this._overflowBody) {
|
|
359
|
+
this._overflowBody.appendChild(x.elementRef.nativeElement);
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
/** @hidden */
|
|
364
|
+
_reset() {
|
|
365
|
+
this._normalElements.forEach(this._removeToolbarItemFromDOM.bind(this));
|
|
366
|
+
this._overflowElements.forEach(this._removeToolbarItemFromDOM.bind(this));
|
|
367
|
+
if (this.overflowSpacer) {
|
|
368
|
+
this.toolbarItems.map((x) => {
|
|
369
|
+
this._renderer.insertBefore(this._toolbar, x.elementRef.nativeElement, this.overflowSpacer.nativeElement);
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
this._overflowElements = [];
|
|
373
|
+
this._normalElements = [];
|
|
374
|
+
this._disappearElements = [];
|
|
375
|
+
this._groupedCollection = null;
|
|
376
|
+
this._groupedCollectionPriority = null;
|
|
377
|
+
this._changeOverflowVisibleState(false);
|
|
378
|
+
}
|
|
379
|
+
/** @hidden */
|
|
380
|
+
_changeOverflowVisibleState(visible) {
|
|
381
|
+
this.overflowVisibility = of(visible).pipe(debounceTime(1));
|
|
382
|
+
}
|
|
383
|
+
/** @hidden */
|
|
384
|
+
_changeItemVisibilityState(element, visible) {
|
|
385
|
+
const fadeIn = 'fd-toolbar-fade-in';
|
|
386
|
+
const fadeOut = 'fd-toolbar-fade-out';
|
|
387
|
+
if (visible) {
|
|
388
|
+
element.classList.add(fadeIn);
|
|
389
|
+
element.classList.remove(fadeOut);
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
element.classList.add(fadeOut);
|
|
393
|
+
element.classList.remove(fadeIn);
|
|
394
|
+
}
|
|
395
|
+
/** @hidden Sort priorities of elements/groups. */
|
|
396
|
+
_sortPriorities(a, b) {
|
|
397
|
+
return OVERFLOW_PRIORITY_SCORE.get(b) - OVERFLOW_PRIORITY_SCORE.get(a);
|
|
398
|
+
}
|
|
399
|
+
/** @hidden */
|
|
400
|
+
_collapseLastSpacerElement(overflowElements, normalElements) {
|
|
401
|
+
if (!normalElements || normalElements.length < 1) {
|
|
402
|
+
return;
|
|
403
|
+
}
|
|
404
|
+
const isSpacer = (element) => element.elementRef.nativeElement.classList.contains('fd-toolbar__spacer');
|
|
405
|
+
let lastItem = normalElements[normalElements.length - 1];
|
|
406
|
+
while (isSpacer(lastItem) && normalElements.length > 0) {
|
|
407
|
+
overflowElements.push(normalElements.pop());
|
|
408
|
+
lastItem = normalElements[normalElements.length - 1];
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
/** @hidden */
|
|
412
|
+
_getOrderedItemsFollowingQuery(toolbarItems) {
|
|
413
|
+
const queryArray = this.toolbarItems.toArray();
|
|
414
|
+
const sortMethod = (a, b) => queryArray.findIndex((_item) => _item === a) > queryArray.findIndex((_item) => _item === b) ? 1 : -1;
|
|
415
|
+
return toolbarItems.sort(sortMethod);
|
|
416
|
+
}
|
|
346
417
|
}
|
|
347
|
-
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
348
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
418
|
+
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.ContentDensityObserver }, { token: i2.DestroyedService }, { token: DYNAMIC_PAGE_HEADER_TOKEN, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
419
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarComponent, selector: "fd-toolbar", inputs: { class: "class", shouldOverflow: "shouldOverflow", fdType: "fdType", hasTitle: "hasTitle", title: "title", active: "active", clearBorder: "clearBorder", forceOverflow: "forceOverflow", tabindex: "tabindex" }, providers: [
|
|
349
420
|
contentDensityObserverProviders({
|
|
350
421
|
defaultContentDensity: ContentDensityMode.COMPACT
|
|
351
422
|
}),
|
|
352
423
|
DestroyedService
|
|
353
|
-
], queries: [{ propertyName: "titleComponent", first: true, predicate: TitleToken, descendants: true }, { propertyName: "toolbarItems", predicate: i0.forwardRef(function () { return ToolbarItem; }) }], viewQueries: [{ propertyName: "toolbar", first: true, predicate: ["toolbar"], descendants: true }, { propertyName: "titleElement", first: true, predicate: ["titleElement"], descendants: true }], ngImport: i0, template: "<div #toolbar [tabindex]=\"tabindex\" [class.fd-toolbar--cozy]=\"_contentDensityObserver.isCozy$ | async\">\n <h4 *ngIf=\"title\" class=\"fd-title fd-title--h4 fd-toolbar__title\" [id]=\"titleId\" #titleElement>{{ title }}</h4>\n\n <ng-content></ng-content>\n\n <ng-container *ngIf=\"overflownItems.length > 0\">\n <fd-toolbar-spacer></fd-toolbar-spacer>\n <fd-toolbar-separator></fd-toolbar-separator>\n <fd-popover placement=\"bottom-end\" [noArrow]=\"true\" class=\"fd-popover\">\n <fd-popover-control>\n <button\n fd-button\n title=\"More\"\n aria-label=\"More\"\n aria-haspopup=\"true\"\n fdType=\"transparent\"\n glyph=\"overflow\"\n ></button>\n </fd-popover-control>\n\n <fd-popover-body>\n <div class=\"fd-toolbar__overflow\">\n <ng-container *ngFor=\"let overflowedItem of overflownItems\">\n <fdk-dynamic-portal\n [domElement]=\"overflowedItem.element\"\n [style.display]=\"overflowedItem.priority === 'disappear' ? 'none' : 'flex'\"\n [style.flex-direction]=\"overflowedItem.priority === 'disappear' ? undefined : 'column'\"\n >\n </fdk-dynamic-portal>\n </ng-container>\n </div>\n </fd-popover-body>\n </fd-popover>\n </ng-container>\n</div>\n", styles: ["/*!\n * Fundamental Library Styles v0.28.3\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-toolbar>*~:not(.fd-toolbar__spacer){margin-left:.5rem}.fd-toolbar>*~[dir=rtl]:not(.fd-toolbar__spacer),[dir=rtl] .fd-toolbar>*~:not(.fd-toolbar__spacer){margin-left:0;margin-right:.5rem}.fd-toolbar{-webkit-box-sizing:border-box;align-items:center;border:0;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:2rem;line-height:var(--sapContent_LineHeight);margin:0;padding:0 .5rem}.fd-toolbar:after,.fd-toolbar:before{box-sizing:inherit;font-size:inherit}.fd-toolbar>.fd-toolbar__spacer+:not(.fd-toolbar__spacer){margin-left:0;margin-right:0}.fd-toolbar--title{background-color:var(--sapGroup_TitleBackground)!important;height:2.75rem;padding:0 .5rem 0 1rem}.fd-toolbar--clear{border-bottom:none}.fd-toolbar--auto{background-color:var(--fdToolbar_Auto_Background)}.fd-toolbar--solid{background-color:var(--fdToolbar_Solid_Background)}.fd-toolbar--transparent{background-color:var(--sapToolbar_Background)}.fd-toolbar--fade-in{-webkit-transition:visibility 0s linear 0s,opacity 1s;opacity:1;transition:visibility 0s linear 0s,opacity 1s;visibility:visible}.fd-toolbar--fade-out{-webkit-transition:visibility 0s linear 1s,opacity 1ms;opacity:0;transition:visibility 0s linear 1s,opacity 1ms;visibility:hidden}.fd-toolbar--info{background-color:var(--sapInfobar_NonInteractive_Background);color:var(--sapList_TextColor);outline:none;padding-left:.5rem;padding-right:1rem;position:relative}.fd-toolbar--info.fd-toolbar--active{background-color:var(--sapInfobar_Background);color:var(--sapInfobar_TextColor)}.fd-toolbar--info.fd-toolbar--active.is-hover,.fd-toolbar--info.fd-toolbar--active:hover{background-color:var(--sapInfobar_Hover_Background)}.fd-toolbar--info.fd-toolbar--active.is-active,.fd-toolbar--info.fd-toolbar--active:active{background-color:var(--sapInfobar_Active_Background)}.fd-toolbar--info[dir=rtl],[dir=rtl] .fd-toolbar--info{padding-left:1rem;padding-right:.5rem}.fd-toolbar--info.is-focus:after,.fd-toolbar--info:focus:after{border-color:var(--sapContent_FocusColor);border-style:var(--sapContent_FocusStyle);border-width:var(--sapContent_FocusWidth);content:\"\";inset:.0625rem;pointer-events:none;position:absolute}.fd-toolbar--info.is-focus,.fd-toolbar--info:focus{z-index:5}.fd-toolbar--info.is-focus:after,.fd-toolbar--info:focus:after{border-color:var(--fdToolbar_Info_Outline_Color)}.fd-toolbar--info [class*=sap-icon]{color:var(--sapInfobar_TextColor);font-size:1rem;height:1rem;line-height:1rem}.fd-toolbar__spacer{-webkit-box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1 auto;border:0;box-sizing:border-box;color:var(--sapTextColor);flex:1 auto;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:100%;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-toolbar__spacer:after,.fd-toolbar__spacer:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__spacer--fixed{-webkit-box-flex:0;-ms-flex:none;display:inline-block;flex:none}.fd-toolbar__separator{-webkit-box-sizing:border-box;background-color:var(--sapToolbar_SeparatorColor);border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:1.5rem;line-height:var(--sapContent_LineHeight);margin:0;padding:0;width:.0625rem}.fd-toolbar__separator:after,.fd-toolbar__separator:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-height:50vh;max-width:20rem;overflow:auto;padding:.1875rem .375rem}.fd-toolbar__overflow:after,.fd-toolbar__overflow:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-button{justify-content:flex-start;margin:.1875rem 0;text-align:left;width:auto}.fd-toolbar__overflow .fd-toolbar__overflow-button[dir=rtl],[dir=rtl] .fd-toolbar__overflow .fd-toolbar__overflow-button{text-align:right}.fd-toolbar__overflow .fd-toolbar__overflow-button--menu{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;display:flex;justify-content:center;justify-content:space-between;max-width:100%}.fd-toolbar__overflow .fd-toolbar__separator{-webkit-box-sizing:border-box;background-color:var(--sapToolbar_SeparatorColor);border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:.0625rem;line-height:var(--sapContent_LineHeight);margin:.1875rem;padding:0;width:auto}.fd-toolbar__overflow .fd-toolbar__separator:after,.fd-toolbar__overflow .fd-toolbar__separator:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-form-label,.fd-toolbar__overflow .fd-toolbar__overflow-label{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.fd-toolbar__overflow .fd-toolbar__overflow-form-label:after,.fd-toolbar__overflow .fd-toolbar__overflow-form-label:before,.fd-toolbar__overflow .fd-toolbar__overflow-label:after,.fd-toolbar__overflow .fd-toolbar__overflow-label:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-form-label--text,.fd-toolbar__overflow .fd-toolbar__overflow-label--text{margin-top:.4375rem}.fd-toolbar__title{color:var(--sapGroup_TitleTextColor);font-size:var(--sapGroup_Title_FontSize)}.fd-toolbar--cozy{height:2.75rem;min-height:2.75rem}.fd-toolbar--cozy.fd-toolbar--info{height:2rem;min-height:2rem}.fd-toolbar--cozy .fd-toolbar__overflow{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:.25rem .5rem}.fd-toolbar--cozy .fd-toolbar__overflow:after,.fd-toolbar--cozy .fd-toolbar__overflow:before{box-sizing:inherit;font-size:inherit}.fd-toolbar>*{flex-shrink:0}fdk-dynamic-portal:not(:last-of-type) [fd-toolbar-item]{margin-bottom:.25rem}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "component", type: i5.PopoverControlComponent, selector: "fd-popover-control" }, { kind: "component", type: i5.PopoverBodyComponent, selector: "fd-popover-body" }, { kind: "component", type: i5.PopoverComponent, selector: "fd-popover", inputs: ["title", "trigger", "fixedPosition", "id", "mobile", "mobileConfig"] }, { kind: "component", type: i2.DynamicPortalComponent, selector: "fdk-dynamic-portal", inputs: ["domElement", "component", "template"] }, { kind: "directive", type: ToolbarSpacerDirective, selector: "fd-toolbar-spacer", inputs: ["width", "class", "fixed"] }, { kind: "component", type: ToolbarSeparatorComponent, selector: "fd-toolbar-separator" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
424
|
+
], queries: [{ propertyName: "titleComponent", first: true, predicate: TitleToken, descendants: true }, { propertyName: "toolbarItems", predicate: i0.forwardRef(function () { return ToolbarItemDirective; }) }], viewQueries: [{ propertyName: "toolbar", first: true, predicate: ["toolbar"], descendants: true }, { propertyName: "overflowBody", first: true, predicate: ["overflowBody"], descendants: true }, { propertyName: "overflowSpacer", first: true, predicate: ["overflowSpacer"], descendants: true }], ngImport: i0, template: "<div #toolbar [tabindex]=\"tabindex\" [class.fd-toolbar--cozy]=\"_contentDensityObserver.isCozy$ | async\">\n <h4 *ngIf=\"title\" class=\"fd-title fd-title--h4 fd-toolbar__title\">{{ title }}</h4>\n\n <ng-content></ng-content>\n\n <ng-container *ngIf=\"shouldOverflow\">\n <span #overflowSpacer class=\"fd-toolbar__spacer\"></span>\n\n <span class=\"fd-toolbar__separator\" *ngIf=\"overflowVisibility | async\"></span>\n\n <fd-popover placement=\"bottom-end\" [noArrow]=\"true\" class=\"fd-popover\">\n <fd-popover-control>\n <button\n *ngIf=\"overflowVisibility | async\"\n fd-button\n title=\"More\"\n aria-label=\"More\"\n aria-haspopup=\"true\"\n fdType=\"transparent\"\n glyph=\"overflow\"\n ></button>\n </fd-popover-control>\n\n <fd-popover-body>\n <div class=\"fd-toolbar__overflow\" #overflowBody></div>\n </fd-popover-body>\n </fd-popover>\n </ng-container>\n</div>\n", styles: ["/*!\n * Fundamental Library Styles v0.28.3\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-toolbar>*~:not(.fd-toolbar__spacer){margin-left:.5rem}.fd-toolbar>*~[dir=rtl]:not(.fd-toolbar__spacer),[dir=rtl] .fd-toolbar>*~:not(.fd-toolbar__spacer){margin-left:0;margin-right:.5rem}.fd-toolbar{-webkit-box-sizing:border-box;align-items:center;border:0;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:2rem;line-height:var(--sapContent_LineHeight);margin:0;padding:0 .5rem}.fd-toolbar:after,.fd-toolbar:before{box-sizing:inherit;font-size:inherit}.fd-toolbar>.fd-toolbar__spacer+:not(.fd-toolbar__spacer){margin-left:0;margin-right:0}.fd-toolbar--title{background-color:var(--sapGroup_TitleBackground)!important;height:2.75rem;padding:0 .5rem 0 1rem}.fd-toolbar--clear{border-bottom:none}.fd-toolbar--auto{background-color:var(--fdToolbar_Auto_Background)}.fd-toolbar--solid{background-color:var(--fdToolbar_Solid_Background)}.fd-toolbar--transparent{background-color:var(--sapToolbar_Background)}.fd-toolbar--fade-in{-webkit-transition:visibility 0s linear 0s,opacity 1s;opacity:1;transition:visibility 0s linear 0s,opacity 1s;visibility:visible}.fd-toolbar--fade-out{-webkit-transition:visibility 0s linear 1s,opacity 1ms;opacity:0;transition:visibility 0s linear 1s,opacity 1ms;visibility:hidden}.fd-toolbar--info{background-color:var(--sapInfobar_NonInteractive_Background);color:var(--sapList_TextColor);outline:none;padding-left:.5rem;padding-right:1rem;position:relative}.fd-toolbar--info.fd-toolbar--active{background-color:var(--sapInfobar_Background);color:var(--sapInfobar_TextColor)}.fd-toolbar--info.fd-toolbar--active.is-hover,.fd-toolbar--info.fd-toolbar--active:hover{background-color:var(--sapInfobar_Hover_Background)}.fd-toolbar--info.fd-toolbar--active.is-active,.fd-toolbar--info.fd-toolbar--active:active{background-color:var(--sapInfobar_Active_Background)}.fd-toolbar--info[dir=rtl],[dir=rtl] .fd-toolbar--info{padding-left:1rem;padding-right:.5rem}.fd-toolbar--info.is-focus:after,.fd-toolbar--info:focus:after{border-color:var(--sapContent_FocusColor);border-style:var(--sapContent_FocusStyle);border-width:var(--sapContent_FocusWidth);content:\"\";inset:.0625rem;pointer-events:none;position:absolute}.fd-toolbar--info.is-focus,.fd-toolbar--info:focus{z-index:5}.fd-toolbar--info.is-focus:after,.fd-toolbar--info:focus:after{border-color:var(--fdToolbar_Info_Outline_Color)}.fd-toolbar--info [class*=sap-icon]{color:var(--sapInfobar_TextColor);font-size:1rem;height:1rem;line-height:1rem}.fd-toolbar__spacer{-webkit-box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1 auto;border:0;box-sizing:border-box;color:var(--sapTextColor);flex:1 auto;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:100%;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-toolbar__spacer:after,.fd-toolbar__spacer:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__spacer--fixed{-webkit-box-flex:0;-ms-flex:none;display:inline-block;flex:none}.fd-toolbar__separator{-webkit-box-sizing:border-box;background-color:var(--sapToolbar_SeparatorColor);border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:1.5rem;line-height:var(--sapContent_LineHeight);margin:0;padding:0;width:.0625rem}.fd-toolbar__separator:after,.fd-toolbar__separator:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-height:50vh;max-width:20rem;overflow:auto;padding:.1875rem .375rem}.fd-toolbar__overflow:after,.fd-toolbar__overflow:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-button{justify-content:flex-start;margin:.1875rem 0;text-align:left;width:auto}.fd-toolbar__overflow .fd-toolbar__overflow-button[dir=rtl],[dir=rtl] .fd-toolbar__overflow .fd-toolbar__overflow-button{text-align:right}.fd-toolbar__overflow .fd-toolbar__overflow-button--menu{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;display:flex;justify-content:center;justify-content:space-between;max-width:100%}.fd-toolbar__overflow .fd-toolbar__separator{-webkit-box-sizing:border-box;background-color:var(--sapToolbar_SeparatorColor);border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:.0625rem;line-height:var(--sapContent_LineHeight);margin:.1875rem;padding:0;width:auto}.fd-toolbar__overflow .fd-toolbar__separator:after,.fd-toolbar__overflow .fd-toolbar__separator:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-form-label,.fd-toolbar__overflow .fd-toolbar__overflow-label{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.fd-toolbar__overflow .fd-toolbar__overflow-form-label:after,.fd-toolbar__overflow .fd-toolbar__overflow-form-label:before,.fd-toolbar__overflow .fd-toolbar__overflow-label:after,.fd-toolbar__overflow .fd-toolbar__overflow-label:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-form-label--text,.fd-toolbar__overflow .fd-toolbar__overflow-label--text{margin-top:.4375rem}.fd-toolbar__title{color:var(--sapGroup_TitleTextColor);font-size:var(--sapGroup_Title_FontSize)}.fd-toolbar--cozy{height:2.75rem;min-height:2.75rem}.fd-toolbar--cozy.fd-toolbar--info{height:2rem;min-height:2rem}.fd-toolbar--cozy .fd-toolbar__overflow{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:.25rem .5rem}.fd-toolbar--cozy .fd-toolbar__overflow:after,.fd-toolbar--cozy .fd-toolbar__overflow:before{box-sizing:inherit;font-size:inherit}.fd-toolbar>*{flex-shrink:0}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "component", type: i5.PopoverControlComponent, selector: "fd-popover-control" }, { kind: "component", type: i5.PopoverBodyComponent, selector: "fd-popover-body" }, { kind: "component", type: i5.PopoverComponent, selector: "fd-popover", inputs: ["title", "trigger", "fixedPosition", "id", "mobile", "mobileConfig"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
354
425
|
__decorate([
|
|
355
426
|
applyCssClass,
|
|
356
427
|
__metadata("design:type", Function),
|
|
357
428
|
__metadata("design:paramtypes", []),
|
|
358
429
|
__metadata("design:returntype", Array)
|
|
359
430
|
], ToolbarComponent.prototype, "buildComponentCssClass", null);
|
|
360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
361
432
|
type: Component,
|
|
362
433
|
args: [{ selector: 'fd-toolbar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
363
434
|
contentDensityObserverProviders({
|
|
364
435
|
defaultContentDensity: ContentDensityMode.COMPACT
|
|
365
436
|
}),
|
|
366
437
|
DestroyedService
|
|
367
|
-
], template: "<div #toolbar [tabindex]=\"tabindex\" [class.fd-toolbar--cozy]=\"_contentDensityObserver.isCozy$ | async\">\n <h4 *ngIf=\"title\" class=\"fd-title fd-title--h4 fd-toolbar__title\"
|
|
438
|
+
], template: "<div #toolbar [tabindex]=\"tabindex\" [class.fd-toolbar--cozy]=\"_contentDensityObserver.isCozy$ | async\">\n <h4 *ngIf=\"title\" class=\"fd-title fd-title--h4 fd-toolbar__title\">{{ title }}</h4>\n\n <ng-content></ng-content>\n\n <ng-container *ngIf=\"shouldOverflow\">\n <span #overflowSpacer class=\"fd-toolbar__spacer\"></span>\n\n <span class=\"fd-toolbar__separator\" *ngIf=\"overflowVisibility | async\"></span>\n\n <fd-popover placement=\"bottom-end\" [noArrow]=\"true\" class=\"fd-popover\">\n <fd-popover-control>\n <button\n *ngIf=\"overflowVisibility | async\"\n fd-button\n title=\"More\"\n aria-label=\"More\"\n aria-haspopup=\"true\"\n fdType=\"transparent\"\n glyph=\"overflow\"\n ></button>\n </fd-popover-control>\n\n <fd-popover-body>\n <div class=\"fd-toolbar__overflow\" #overflowBody></div>\n </fd-popover-body>\n </fd-popover>\n </ng-container>\n</div>\n", styles: ["/*!\n * Fundamental Library Styles v0.28.3\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-toolbar>*~:not(.fd-toolbar__spacer){margin-left:.5rem}.fd-toolbar>*~[dir=rtl]:not(.fd-toolbar__spacer),[dir=rtl] .fd-toolbar>*~:not(.fd-toolbar__spacer){margin-left:0;margin-right:.5rem}.fd-toolbar{-webkit-box-sizing:border-box;align-items:center;border:0;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:2rem;line-height:var(--sapContent_LineHeight);margin:0;padding:0 .5rem}.fd-toolbar:after,.fd-toolbar:before{box-sizing:inherit;font-size:inherit}.fd-toolbar>.fd-toolbar__spacer+:not(.fd-toolbar__spacer){margin-left:0;margin-right:0}.fd-toolbar--title{background-color:var(--sapGroup_TitleBackground)!important;height:2.75rem;padding:0 .5rem 0 1rem}.fd-toolbar--clear{border-bottom:none}.fd-toolbar--auto{background-color:var(--fdToolbar_Auto_Background)}.fd-toolbar--solid{background-color:var(--fdToolbar_Solid_Background)}.fd-toolbar--transparent{background-color:var(--sapToolbar_Background)}.fd-toolbar--fade-in{-webkit-transition:visibility 0s linear 0s,opacity 1s;opacity:1;transition:visibility 0s linear 0s,opacity 1s;visibility:visible}.fd-toolbar--fade-out{-webkit-transition:visibility 0s linear 1s,opacity 1ms;opacity:0;transition:visibility 0s linear 1s,opacity 1ms;visibility:hidden}.fd-toolbar--info{background-color:var(--sapInfobar_NonInteractive_Background);color:var(--sapList_TextColor);outline:none;padding-left:.5rem;padding-right:1rem;position:relative}.fd-toolbar--info.fd-toolbar--active{background-color:var(--sapInfobar_Background);color:var(--sapInfobar_TextColor)}.fd-toolbar--info.fd-toolbar--active.is-hover,.fd-toolbar--info.fd-toolbar--active:hover{background-color:var(--sapInfobar_Hover_Background)}.fd-toolbar--info.fd-toolbar--active.is-active,.fd-toolbar--info.fd-toolbar--active:active{background-color:var(--sapInfobar_Active_Background)}.fd-toolbar--info[dir=rtl],[dir=rtl] .fd-toolbar--info{padding-left:1rem;padding-right:.5rem}.fd-toolbar--info.is-focus:after,.fd-toolbar--info:focus:after{border-color:var(--sapContent_FocusColor);border-style:var(--sapContent_FocusStyle);border-width:var(--sapContent_FocusWidth);content:\"\";inset:.0625rem;pointer-events:none;position:absolute}.fd-toolbar--info.is-focus,.fd-toolbar--info:focus{z-index:5}.fd-toolbar--info.is-focus:after,.fd-toolbar--info:focus:after{border-color:var(--fdToolbar_Info_Outline_Color)}.fd-toolbar--info [class*=sap-icon]{color:var(--sapInfobar_TextColor);font-size:1rem;height:1rem;line-height:1rem}.fd-toolbar__spacer{-webkit-box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1 auto;border:0;box-sizing:border-box;color:var(--sapTextColor);flex:1 auto;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:100%;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-toolbar__spacer:after,.fd-toolbar__spacer:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__spacer--fixed{-webkit-box-flex:0;-ms-flex:none;display:inline-block;flex:none}.fd-toolbar__separator{-webkit-box-sizing:border-box;background-color:var(--sapToolbar_SeparatorColor);border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:1.5rem;line-height:var(--sapContent_LineHeight);margin:0;padding:0;width:.0625rem}.fd-toolbar__separator:after,.fd-toolbar__separator:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex-direction:column;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-height:50vh;max-width:20rem;overflow:auto;padding:.1875rem .375rem}.fd-toolbar__overflow:after,.fd-toolbar__overflow:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-button{justify-content:flex-start;margin:.1875rem 0;text-align:left;width:auto}.fd-toolbar__overflow .fd-toolbar__overflow-button[dir=rtl],[dir=rtl] .fd-toolbar__overflow .fd-toolbar__overflow-button{text-align:right}.fd-toolbar__overflow .fd-toolbar__overflow-button--menu{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;display:flex;justify-content:center;justify-content:space-between;max-width:100%}.fd-toolbar__overflow .fd-toolbar__separator{-webkit-box-sizing:border-box;background-color:var(--sapToolbar_SeparatorColor);border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:.0625rem;line-height:var(--sapContent_LineHeight);margin:.1875rem;padding:0;width:auto}.fd-toolbar__overflow .fd-toolbar__separator:after,.fd-toolbar__overflow .fd-toolbar__separator:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-form-label,.fd-toolbar__overflow .fd-toolbar__overflow-label{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.fd-toolbar__overflow .fd-toolbar__overflow-form-label:after,.fd-toolbar__overflow .fd-toolbar__overflow-form-label:before,.fd-toolbar__overflow .fd-toolbar__overflow-label:after,.fd-toolbar__overflow .fd-toolbar__overflow-label:before{box-sizing:inherit;font-size:inherit}.fd-toolbar__overflow .fd-toolbar__overflow-form-label--text,.fd-toolbar__overflow .fd-toolbar__overflow-label--text{margin-top:.4375rem}.fd-toolbar__title{color:var(--sapGroup_TitleTextColor);font-size:var(--sapGroup_Title_FontSize)}.fd-toolbar--cozy{height:2.75rem;min-height:2.75rem}.fd-toolbar--cozy.fd-toolbar--info{height:2rem;min-height:2rem}.fd-toolbar--cozy .fd-toolbar__overflow{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:.25rem .5rem}.fd-toolbar--cozy .fd-toolbar__overflow:after,.fd-toolbar--cozy .fd-toolbar__overflow:before{box-sizing:inherit;font-size:inherit}.fd-toolbar>*{flex-shrink:0}\n"] }]
|
|
368
439
|
}], ctorParameters: function () {
|
|
369
|
-
return [{ type: i0.ChangeDetectorRef }, { type:
|
|
440
|
+
return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1.ContentDensityObserver }, { type: i2.DestroyedService }, { type: undefined, decorators: [{
|
|
370
441
|
type: Optional
|
|
371
442
|
}, {
|
|
372
443
|
type: SkipSelf
|
|
@@ -374,9 +445,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
374
445
|
type: Inject,
|
|
375
446
|
args: [DYNAMIC_PAGE_HEADER_TOKEN]
|
|
376
447
|
}] }];
|
|
377
|
-
}, propDecorators: {
|
|
378
|
-
type: Input
|
|
379
|
-
}], class: [{
|
|
448
|
+
}, propDecorators: { class: [{
|
|
380
449
|
type: Input
|
|
381
450
|
}], shouldOverflow: [{
|
|
382
451
|
type: Input
|
|
@@ -397,72 +466,87 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
397
466
|
}], toolbar: [{
|
|
398
467
|
type: ViewChild,
|
|
399
468
|
args: ['toolbar']
|
|
400
|
-
}],
|
|
469
|
+
}], overflowBody: [{
|
|
470
|
+
type: ViewChild,
|
|
471
|
+
args: ['overflowBody']
|
|
472
|
+
}], overflowSpacer: [{
|
|
401
473
|
type: ViewChild,
|
|
402
|
-
args: ['
|
|
474
|
+
args: ['overflowSpacer']
|
|
403
475
|
}], toolbarItems: [{
|
|
404
476
|
type: ContentChildren,
|
|
405
|
-
args: [forwardRef(() =>
|
|
477
|
+
args: [forwardRef(() => ToolbarItemDirective)]
|
|
406
478
|
}], titleComponent: [{
|
|
407
479
|
type: ContentChild,
|
|
408
480
|
args: [TitleToken]
|
|
409
481
|
}], buildComponentCssClass: [] } });
|
|
410
482
|
|
|
411
|
-
class
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
483
|
+
class ToolbarSeparatorComponent {
|
|
484
|
+
}
|
|
485
|
+
ToolbarSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
486
|
+
ToolbarSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarSeparatorComponent, selector: "fd-toolbar-separator", host: { classAttribute: "fd-toolbar__separator" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarSeparatorComponent, decorators: [{
|
|
488
|
+
type: Component,
|
|
489
|
+
args: [{
|
|
490
|
+
selector: 'fd-toolbar-separator',
|
|
491
|
+
template: '',
|
|
492
|
+
encapsulation: ViewEncapsulation.None,
|
|
493
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
494
|
+
host: {
|
|
495
|
+
class: 'fd-toolbar__separator'
|
|
496
|
+
}
|
|
497
|
+
}]
|
|
498
|
+
}] });
|
|
499
|
+
|
|
500
|
+
class ToolbarSpacerComponent {
|
|
501
|
+
constructor() {
|
|
502
|
+
/** Determines the width of spacer when fixed property is set to true
|
|
503
|
+
* Allowed values: absolute and relative metrics
|
|
504
|
+
* Default value: 0px
|
|
505
|
+
*/
|
|
506
|
+
this.width = '0px';
|
|
507
|
+
/** Property allows user to pass additional class
|
|
508
|
+
*/
|
|
509
|
+
this.class = '';
|
|
510
|
+
/** Determines if spacer should take only size taken from width property
|
|
511
|
+
* Default value: false
|
|
512
|
+
* Default behaviour: spacer takes remaining space automatically
|
|
513
|
+
*/
|
|
514
|
+
this.fixed = false;
|
|
435
515
|
}
|
|
436
516
|
/** @hidden */
|
|
437
|
-
|
|
438
|
-
this.
|
|
439
|
-
/** @hidden */
|
|
440
|
-
this.lastWidth = 0;
|
|
441
|
-
/** The priority of the item. */
|
|
442
|
-
this.fdOverflowPriority = "high" /* OverflowPriorityEnum.HIGH */;
|
|
443
|
-
/** The group number of the item. */
|
|
444
|
-
this.fdOverflowGroup = 0;
|
|
517
|
+
get css() {
|
|
518
|
+
return `fd-toolbar__spacer ${this.fixed ? 'fd-toolbar__spacer--fixed' : ''} ${this.class}`;
|
|
445
519
|
}
|
|
446
520
|
}
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
450
|
-
type:
|
|
521
|
+
ToolbarSpacerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
522
|
+
ToolbarSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarSpacerComponent, selector: "fd-toolbar-spacer", inputs: { width: "width", class: "class", fixed: "fixed" }, host: { properties: { "style.width": "this.width", "attr.class": "this.css" } }, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarSpacerComponent, decorators: [{
|
|
524
|
+
type: Component,
|
|
451
525
|
args: [{
|
|
452
|
-
selector: '
|
|
453
|
-
|
|
526
|
+
selector: 'fd-toolbar-spacer',
|
|
527
|
+
template: ``,
|
|
528
|
+
encapsulation: ViewEncapsulation.None,
|
|
529
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
454
530
|
}]
|
|
455
|
-
}],
|
|
531
|
+
}], propDecorators: { width: [{
|
|
532
|
+
type: HostBinding,
|
|
533
|
+
args: ['style.width']
|
|
534
|
+
}, {
|
|
535
|
+
type: Input
|
|
536
|
+
}], class: [{
|
|
456
537
|
type: Input
|
|
457
|
-
}],
|
|
538
|
+
}], fixed: [{
|
|
458
539
|
type: Input
|
|
540
|
+
}], css: [{
|
|
541
|
+
type: HostBinding,
|
|
542
|
+
args: ['attr.class']
|
|
459
543
|
}] } });
|
|
460
544
|
|
|
461
545
|
class ToolbarLabelDirective extends ToolbarItemDirective {
|
|
462
546
|
}
|
|
463
|
-
ToolbarLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
464
|
-
ToolbarLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
547
|
+
ToolbarLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarLabelDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
548
|
+
ToolbarLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarLabelDirective, selector: "[fd-toolbar-label]", host: { classAttribute: "fd-label fd-toolbar__overflow-label" }, usesInheritance: true, ngImport: i0 });
|
|
549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarLabelDirective, decorators: [{
|
|
466
550
|
type: Directive,
|
|
467
551
|
args: [{
|
|
468
552
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -475,9 +559,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
475
559
|
|
|
476
560
|
class ToolbarOverflowButtonDirective extends ToolbarItemDirective {
|
|
477
561
|
}
|
|
478
|
-
ToolbarOverflowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
479
|
-
ToolbarOverflowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
562
|
+
ToolbarOverflowButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarOverflowButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
563
|
+
ToolbarOverflowButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarOverflowButtonDirective, selector: "[fdToolbarOverflowButton], [fd-toolbar-overflow-button]", host: { classAttribute: "fd-toolbar__overflow-button" }, usesInheritance: true, ngImport: i0 });
|
|
564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarOverflowButtonDirective, decorators: [{
|
|
481
565
|
type: Directive,
|
|
482
566
|
args: [{
|
|
483
567
|
selector: '[fdToolbarOverflowButton], [fd-toolbar-overflow-button]',
|
|
@@ -489,9 +573,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
489
573
|
|
|
490
574
|
class ToolbarOverflowButtonMenuDirective extends ToolbarItemDirective {
|
|
491
575
|
}
|
|
492
|
-
ToolbarOverflowButtonMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
493
|
-
ToolbarOverflowButtonMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
576
|
+
ToolbarOverflowButtonMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarOverflowButtonMenuDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
577
|
+
ToolbarOverflowButtonMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarOverflowButtonMenuDirective, selector: "[fdToolbarOverflowButtonMenu], [fd-toolbar-overflow-button-menu]", host: { classAttribute: "fd-toolbar__overflow-button--menu" }, usesInheritance: true, ngImport: i0 });
|
|
578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarOverflowButtonMenuDirective, decorators: [{
|
|
495
579
|
type: Directive,
|
|
496
580
|
args: [{
|
|
497
581
|
selector: '[fdToolbarOverflowButtonMenu], [fd-toolbar-overflow-button-menu]',
|
|
@@ -503,9 +587,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
503
587
|
|
|
504
588
|
class ToolbarFormLabelDirective extends ToolbarItemDirective {
|
|
505
589
|
}
|
|
506
|
-
ToolbarFormLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
507
|
-
ToolbarFormLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
590
|
+
ToolbarFormLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarFormLabelDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
591
|
+
ToolbarFormLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarFormLabelDirective, selector: "[fd-toolbar-form-label]", host: { classAttribute: "fd-form-label fd-toolbar__overflow-form-label fd-toolbar__overflow-form-label--text" }, usesInheritance: true, ngImport: i0 });
|
|
592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarFormLabelDirective, decorators: [{
|
|
509
593
|
type: Directive,
|
|
510
594
|
args: [{
|
|
511
595
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -516,6 +600,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
516
600
|
}]
|
|
517
601
|
}] });
|
|
518
602
|
|
|
603
|
+
/** Individual child elements can be "prioritized" for the overflow behavior using the `fdOverflowPriority` attribute directive.
|
|
604
|
+
* The values for prioritization are as follows:
|
|
605
|
+
* `always` - This element will always be positioned in the overflow menu.
|
|
606
|
+
* `never` - This element will never be added to the overflow. It will always be visible in the toolbar.
|
|
607
|
+
* `low` - The element has low priority and will be consider first for moving to overflow menu.
|
|
608
|
+
* `high` (default) - This element has high priority and will be considered last for moving to overflow menu.
|
|
609
|
+
* `disappear` - This element is not important and will be removed from the toolbar, and will not be added to the overflow menu.
|
|
610
|
+
* */
|
|
611
|
+
class ToolbarOverflowPriorityDirective extends ToolbarItemDirective {
|
|
612
|
+
constructor() {
|
|
613
|
+
super(...arguments);
|
|
614
|
+
/** The priority of the item. */
|
|
615
|
+
this.fdOverflowPriority = 'high';
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
ToolbarOverflowPriorityDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarOverflowPriorityDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
619
|
+
ToolbarOverflowPriorityDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarOverflowPriorityDirective, selector: "[fdOverflowPriority]", inputs: { fdOverflowPriority: "fdOverflowPriority" }, usesInheritance: true, ngImport: i0 });
|
|
620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarOverflowPriorityDirective, decorators: [{
|
|
621
|
+
type: Directive,
|
|
622
|
+
args: [{
|
|
623
|
+
selector: '[fdOverflowPriority]'
|
|
624
|
+
}]
|
|
625
|
+
}], propDecorators: { fdOverflowPriority: [{
|
|
626
|
+
type: Input
|
|
627
|
+
}] } });
|
|
628
|
+
|
|
629
|
+
/** Child elements can be grouped so that they can "overflow" together.
|
|
630
|
+
* Setting the attribute directive `fdOverflowGroup` to the same number will allow child elements to be grouped.
|
|
631
|
+
* Child elements which are grouped, will enter (or leave) the overflow menu together.
|
|
632
|
+
* Child elements grouped in this manner cannot have the `fdOverflowPriority` values of `always` or `never`.
|
|
633
|
+
* When the value of the property is 0, the element does not belong to any group.
|
|
634
|
+
* */
|
|
635
|
+
class ToolbarOverflowGroupDirective extends ToolbarItemDirective {
|
|
636
|
+
constructor() {
|
|
637
|
+
super(...arguments);
|
|
638
|
+
/** The group number of the item. */
|
|
639
|
+
this.fdOverflowGroup = 0;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
ToolbarOverflowGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarOverflowGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
643
|
+
ToolbarOverflowGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ToolbarOverflowGroupDirective, selector: "[fdOverflowGroup]", inputs: { fdOverflowGroup: "fdOverflowGroup" }, usesInheritance: true, ngImport: i0 });
|
|
644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarOverflowGroupDirective, decorators: [{
|
|
645
|
+
type: Directive,
|
|
646
|
+
args: [{
|
|
647
|
+
selector: '[fdOverflowGroup]'
|
|
648
|
+
}]
|
|
649
|
+
}], propDecorators: { fdOverflowGroup: [{
|
|
650
|
+
type: Input
|
|
651
|
+
}] } });
|
|
652
|
+
|
|
519
653
|
class DeprecatedToolbarSizeDirective extends BehaviorSubject {
|
|
520
654
|
/** Size of the toolbar. */
|
|
521
655
|
set size(value) {
|
|
@@ -551,14 +685,14 @@ class DeprecatedToolbarSizeDirective extends BehaviorSubject {
|
|
|
551
685
|
this.complete();
|
|
552
686
|
}
|
|
553
687
|
}
|
|
554
|
-
DeprecatedToolbarSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
555
|
-
DeprecatedToolbarSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
688
|
+
DeprecatedToolbarSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: DeprecatedToolbarSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
689
|
+
DeprecatedToolbarSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: DeprecatedToolbarSizeDirective, selector: "fd-toolbar[size]", inputs: { size: "size" }, providers: [
|
|
556
690
|
{
|
|
557
691
|
provide: CONTENT_DENSITY_DIRECTIVE,
|
|
558
692
|
useExisting: forwardRef(() => DeprecatedToolbarSizeDirective)
|
|
559
693
|
}
|
|
560
694
|
], usesInheritance: true, ngImport: i0 });
|
|
561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: DeprecatedToolbarSizeDirective, decorators: [{
|
|
562
696
|
type: Directive,
|
|
563
697
|
args: [{
|
|
564
698
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -577,40 +711,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
577
711
|
const components = [
|
|
578
712
|
ToolbarComponent,
|
|
579
713
|
ToolbarItemDirective,
|
|
580
|
-
|
|
714
|
+
ToolbarSpacerComponent,
|
|
581
715
|
ToolbarSeparatorComponent,
|
|
582
716
|
ToolbarFormLabelDirective,
|
|
583
717
|
ToolbarLabelDirective,
|
|
584
718
|
ToolbarOverflowButtonDirective,
|
|
585
719
|
ToolbarOverflowButtonMenuDirective,
|
|
720
|
+
ToolbarOverflowPriorityDirective,
|
|
721
|
+
ToolbarOverflowGroupDirective,
|
|
586
722
|
DeprecatedToolbarSizeDirective
|
|
587
723
|
];
|
|
588
724
|
class ToolbarModule {
|
|
589
725
|
}
|
|
590
|
-
ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
591
|
-
ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
726
|
+
ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
727
|
+
ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: ToolbarModule, declarations: [ToolbarComponent,
|
|
592
728
|
ToolbarItemDirective,
|
|
593
|
-
|
|
729
|
+
ToolbarSpacerComponent,
|
|
594
730
|
ToolbarSeparatorComponent,
|
|
595
731
|
ToolbarFormLabelDirective,
|
|
596
732
|
ToolbarLabelDirective,
|
|
597
733
|
ToolbarOverflowButtonDirective,
|
|
598
734
|
ToolbarOverflowButtonMenuDirective,
|
|
599
|
-
|
|
735
|
+
ToolbarOverflowPriorityDirective,
|
|
736
|
+
ToolbarOverflowGroupDirective,
|
|
737
|
+
DeprecatedToolbarSizeDirective], imports: [CommonModule, ButtonModule, PopoverModule, ContentDensityModule], exports: [ToolbarComponent,
|
|
600
738
|
ToolbarItemDirective,
|
|
601
|
-
|
|
739
|
+
ToolbarSpacerComponent,
|
|
602
740
|
ToolbarSeparatorComponent,
|
|
603
741
|
ToolbarFormLabelDirective,
|
|
604
742
|
ToolbarLabelDirective,
|
|
605
743
|
ToolbarOverflowButtonDirective,
|
|
606
744
|
ToolbarOverflowButtonMenuDirective,
|
|
745
|
+
ToolbarOverflowPriorityDirective,
|
|
746
|
+
ToolbarOverflowGroupDirective,
|
|
607
747
|
DeprecatedToolbarSizeDirective, ContentDensityModule] });
|
|
608
|
-
ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
748
|
+
ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarModule, imports: [CommonModule, ButtonModule, PopoverModule, ContentDensityModule, ContentDensityModule] });
|
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ToolbarModule, decorators: [{
|
|
610
750
|
type: NgModule,
|
|
611
751
|
args: [{
|
|
612
752
|
declarations: [...components],
|
|
613
|
-
imports: [CommonModule, ButtonModule, PopoverModule, ContentDensityModule
|
|
753
|
+
imports: [CommonModule, ButtonModule, PopoverModule, ContentDensityModule],
|
|
614
754
|
exports: [...components, ContentDensityModule]
|
|
615
755
|
}]
|
|
616
756
|
}] });
|
|
@@ -619,5 +759,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
619
759
|
* Generated bundle index. Do not edit.
|
|
620
760
|
*/
|
|
621
761
|
|
|
622
|
-
export { DeprecatedToolbarSizeDirective, ToolbarComponent, ToolbarFormLabelDirective,
|
|
762
|
+
export { DeprecatedToolbarSizeDirective, ToolbarComponent, ToolbarFormLabelDirective, ToolbarItemDirective, ToolbarLabelDirective, ToolbarModule, ToolbarOverflowButtonDirective, ToolbarOverflowButtonMenuDirective, ToolbarOverflowGroupDirective, ToolbarOverflowPriorityDirective, ToolbarSeparatorComponent, ToolbarSpacerComponent };
|
|
623
763
|
//# sourceMappingURL=fundamental-ngx-core-toolbar.mjs.map
|