@fundamental-ngx/core 0.38.2-rc.8 → 0.38.2
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.component.mjs +2 -2
- package/esm2020/action-sheet/action-sheet.component.mjs +2 -2
- package/esm2020/alert/alert.component.mjs +3 -3
- package/esm2020/avatar/avatar.component.mjs +2 -2
- package/esm2020/avatar-group/avatar-group.component.mjs +2 -2
- package/esm2020/bar/bar.component.mjs +2 -2
- package/esm2020/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2020/busy-indicator/busy-indicator.component.mjs +2 -2
- package/esm2020/button/button.component.mjs +3 -3
- package/esm2020/calendar/calendar.component.mjs +2 -2
- package/esm2020/card/card.component.mjs +2 -2
- package/esm2020/carousel/carousel.component.mjs +2 -2
- package/esm2020/checkbox/checkbox/checkbox.component.mjs +2 -2
- package/esm2020/dialog/dialog.component.mjs +3 -3
- package/esm2020/dynamic-page/dynamic-page.component.mjs +2 -2
- package/esm2020/dynamic-side-content/dynamic-side-content.component.mjs +2 -2
- package/esm2020/facets/facet/facet.component.mjs +2 -2
- package/esm2020/feed-input/feed-input.component.mjs +2 -2
- package/esm2020/feed-list-item/components/list/feed-list.component.mjs +2 -2
- package/esm2020/file-uploader/file-uploader.component.mjs +2 -2
- package/esm2020/fixed-card-layout/fixed-card-layout.component.mjs +2 -2
- package/esm2020/flexible-column-layout/flexible-column-layout.component.mjs +2 -2
- package/esm2020/form/fieldset/fieldset.component.mjs +2 -2
- package/esm2020/form/form-control/form-control.component.mjs +2 -2
- package/esm2020/form/form-group/form-group.component.mjs +2 -2
- package/esm2020/form/form-header/form-header.component.mjs +2 -2
- package/esm2020/form/form-item/form-item.component.mjs +2 -2
- package/esm2020/form/form-label/form-label.component.mjs +2 -2
- package/esm2020/form/form-message/form-message.component.mjs +2 -2
- package/esm2020/grid-list/components/grid-list/grid-list.component.mjs +2 -2
- package/esm2020/icon/icon.component.mjs +2 -2
- package/esm2020/illustrated-message/illustrated-message.component.mjs +2 -2
- package/esm2020/info-label/info-label.component.mjs +2 -2
- package/esm2020/input-group/input-group.component.mjs +2 -2
- package/esm2020/layout-grid/layout-grid.component.mjs +2 -2
- package/esm2020/layout-panel/layout-panel.component.mjs +2 -2
- package/esm2020/link/link.component.mjs +2 -2
- package/esm2020/list/list-navigation-item/list-navigation-item.component.mjs +2 -2
- package/esm2020/list/list.component.mjs +2 -2
- package/esm2020/menu/menu.component.mjs +3 -3
- package/esm2020/message-box/message-box.component.mjs +3 -3
- package/esm2020/message-page/message-page.component.mjs +2 -2
- package/esm2020/message-strip/message-strip.component.mjs +2 -2
- package/esm2020/message-toast/message-toast.component.mjs +2 -2
- package/esm2020/notification/notification/notification.component.mjs +2 -2
- package/esm2020/object-identifier/object-identifier.component.mjs +2 -2
- package/esm2020/object-marker/object-marker.component.mjs +2 -2
- package/esm2020/object-number/object-number.component.mjs +2 -2
- package/esm2020/object-status/object-status.component.mjs +2 -2
- package/esm2020/pagination/pagination.component.mjs +2 -2
- package/esm2020/panel/panel.component.mjs +2 -2
- package/esm2020/popover/popover-body/popover-body.component.mjs +2 -2
- package/esm2020/product-switch/product-switch-body/product-switch-body.component.mjs +2 -2
- package/esm2020/progress-indicator/progress-indicator.component.mjs +2 -2
- package/esm2020/quick-view/quick-view/quick-view.component.mjs +2 -2
- package/esm2020/radio/radio-button/radio-button.component.mjs +2 -2
- package/esm2020/rating-indicator/components/rating-indicator.component.mjs +2 -2
- package/esm2020/resizable-card-layout/resizable-card-layout/resizable-card-item/resizable-card-item.component.mjs +2 -2
- package/esm2020/resizable-card-layout/resizable-card-layout/resizable-card-layout.component.mjs +2 -2
- package/esm2020/scrollbar/scrollbar.component.mjs +2 -2
- package/esm2020/segmented-button/segmented-button.component.mjs +2 -2
- package/esm2020/select/select.component.mjs +3 -3
- package/esm2020/shellbar/shellbar.component.mjs +2 -2
- package/esm2020/side-navigation/side-navigation.component.mjs +2 -2
- package/esm2020/skeleton/components/skeleton.component.mjs +2 -2
- package/esm2020/slider/slider.component.mjs +2 -2
- package/esm2020/split-button/split-button.component.mjs +2 -2
- package/esm2020/splitter/splitter.component.mjs +2 -2
- package/esm2020/status-indicator/status-indicator.component.mjs +2 -2
- package/esm2020/step-input/step-input.component.mjs +2 -2
- package/esm2020/switch/switch.component.mjs +2 -2
- package/esm2020/table/table-wrapper.component.mjs +2 -2
- package/esm2020/table/table.component.mjs +2 -2
- package/esm2020/tabs/tab-list.component.mjs +2 -2
- package/esm2020/tabs/tab-nav/tab-nav.component.mjs +2 -2
- package/esm2020/text/text.component.mjs +2 -2
- package/esm2020/tile/tile.component.mjs +2 -2
- package/esm2020/time/time.component.mjs +2 -2
- package/esm2020/title/title.component.mjs +2 -2
- package/esm2020/token/token.component.mjs +2 -2
- package/esm2020/token/tokenizer.component.mjs +2 -2
- package/esm2020/toolbar/toolbar.component.mjs +2 -2
- package/esm2020/tree/tree.component.mjs +2 -2
- package/esm2020/upload-collection/upload-collection.component.mjs +2 -2
- package/esm2020/vertical-navigation/vertical-navigation-main-navigation.component.mjs +2 -2
- package/esm2020/vertical-navigation/vertical-navigation.component.mjs +2 -2
- package/esm2020/wizard/wizard.component.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-action-bar.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-action-bar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-action-sheet.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-action-sheet.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-alert.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-alert.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-avatar-group.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-avatar-group.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-avatar.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-avatar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-bar.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-bar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-breadcrumb.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-busy-indicator.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-busy-indicator.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-button.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-button.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-calendar.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-calendar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-card.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-card.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-carousel.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-carousel.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-checkbox.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-checkbox.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-dialog.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-dialog.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-dynamic-page.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-dynamic-side-content.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-dynamic-side-content.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-facets.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-facets.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-feed-input.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-feed-input.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-feed-list-item.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-feed-list-item.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-file-uploader.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-file-uploader.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-fixed-card-layout.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-fixed-card-layout.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-flexible-column-layout.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-flexible-column-layout.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-form.mjs +14 -14
- package/fesm2015/fundamental-ngx-core-form.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-grid-list.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-grid-list.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-icon.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-icon.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-illustrated-message.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-illustrated-message.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-info-label.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-info-label.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-input-group.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-input-group.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-layout-grid.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-layout-grid.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-layout-panel.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-layout-panel.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-link.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-link.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-list.mjs +4 -4
- package/fesm2015/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-menu.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-menu.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-message-box.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-message-box.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-message-page.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-message-page.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-message-strip.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-message-strip.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-message-toast.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-message-toast.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-notification.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-notification.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-object-identifier.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-object-identifier.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-object-marker.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-object-marker.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-object-number.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-object-number.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-object-status.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-object-status.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-pagination.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-pagination.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-panel.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-panel.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-popover.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-product-switch.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-product-switch.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-progress-indicator.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-progress-indicator.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-quick-view.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-quick-view.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-radio.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-radio.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-rating-indicator.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-rating-indicator.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-resizable-card-layout.mjs +4 -4
- package/fesm2015/fundamental-ngx-core-resizable-card-layout.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-scrollbar.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-scrollbar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-segmented-button.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-segmented-button.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-select.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-shellbar.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-side-navigation.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-side-navigation.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-skeleton.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-skeleton.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-slider.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-slider.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-split-button.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-split-button.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-splitter.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-splitter.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-status-indicator.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-status-indicator.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-step-input.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-step-input.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-switch.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-switch.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-table.mjs +4 -4
- package/fesm2015/fundamental-ngx-core-table.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-tabs.mjs +4 -4
- package/fesm2015/fundamental-ngx-core-tabs.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-text.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-text.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-tile.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-tile.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-time.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-time.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-title.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-title.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-token.mjs +4 -4
- package/fesm2015/fundamental-ngx-core-token.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-toolbar.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-toolbar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-tree.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-tree.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-upload-collection.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-upload-collection.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-vertical-navigation.mjs +4 -4
- package/fesm2015/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-wizard.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-wizard.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-action-bar.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-action-bar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-action-sheet.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-action-sheet.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-alert.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-alert.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-avatar-group.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-avatar-group.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-avatar.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-avatar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-bar.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-bar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-breadcrumb.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-busy-indicator.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-busy-indicator.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-button.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-button.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-calendar.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-calendar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-card.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-card.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-carousel.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-carousel.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-checkbox.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-checkbox.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-dialog.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-dialog.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-dynamic-page.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-dynamic-side-content.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-dynamic-side-content.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-facets.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-facets.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-feed-input.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-feed-input.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-feed-list-item.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-feed-list-item.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-file-uploader.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-file-uploader.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-fixed-card-layout.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-fixed-card-layout.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-flexible-column-layout.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-flexible-column-layout.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-form.mjs +14 -14
- package/fesm2020/fundamental-ngx-core-form.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-grid-list.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-grid-list.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-icon.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-icon.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-illustrated-message.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-illustrated-message.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-info-label.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-info-label.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-input-group.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-input-group.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-layout-grid.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-layout-grid.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-layout-panel.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-layout-panel.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-link.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-link.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-list.mjs +4 -4
- package/fesm2020/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-menu.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-menu.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-message-box.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-message-box.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-message-page.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-message-page.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-message-strip.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-message-strip.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-message-toast.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-message-toast.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-notification.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-notification.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-object-identifier.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-object-identifier.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-object-marker.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-object-marker.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-object-number.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-object-number.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-object-status.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-object-status.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-pagination.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-pagination.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-panel.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-panel.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-popover.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-product-switch.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-product-switch.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-progress-indicator.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-progress-indicator.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-quick-view.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-quick-view.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-radio.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-radio.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-rating-indicator.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-rating-indicator.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-resizable-card-layout.mjs +4 -4
- package/fesm2020/fundamental-ngx-core-resizable-card-layout.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-scrollbar.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-scrollbar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-segmented-button.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-segmented-button.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-select.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-shellbar.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-side-navigation.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-side-navigation.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-skeleton.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-skeleton.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-slider.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-slider.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-split-button.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-split-button.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-splitter.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-splitter.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-status-indicator.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-status-indicator.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-step-input.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-step-input.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-switch.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-switch.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-table.mjs +4 -4
- package/fesm2020/fundamental-ngx-core-table.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-tabs.mjs +4 -4
- package/fesm2020/fundamental-ngx-core-tabs.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-text.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-text.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-tile.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-tile.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-time.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-time.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-title.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-title.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-token.mjs +4 -4
- package/fesm2020/fundamental-ngx-core-token.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-toolbar.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-toolbar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-tree.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-tree.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-upload-collection.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-upload-collection.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-vertical-navigation.mjs +4 -4
- package/fesm2020/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-wizard.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-wizard.mjs.map +1 -1
- package/fundamental-ngx-core-v0.38.2.tgz +0 -0
- package/package.json +8 -8
- package/schematics/add-dependencies/index.js +14 -4
- package/schematics/add-dependencies/index.js.map +1 -1
- package/schematics/add-dependencies/index.ts +13 -0
- package/fundamental-ngx-core-v0.38.2-rc.8.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-core-message-strip.mjs","sources":["../../../../libs/core/src/lib/message-strip/message-strip.component.ts","../../../../libs/core/src/lib/message-strip/message-strip.component.html","../../../../libs/core/src/lib/message-strip/message-strip.module.ts","../../../../libs/core/src/lib/message-strip/fundamental-ngx-core-message-strip.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n OnChanges,\n OnInit,\n ViewEncapsulation,\n EventEmitter,\n Output\n} from '@angular/core';\nimport { applyCssClass, CssClassBuilder } from '@fundamental-ngx/core/utils';\nimport { Nullable } from '@fundamental-ngx/core/shared';\n\nlet messageStripUniqueId = 0;\n\n/**\n * The component that represents a message-strip. It can only be used inline.\n */\n@Component({\n selector: 'fd-message-strip',\n templateUrl: './message-strip.component.html',\n styleUrls: ['./message-strip.component.scss'],\n host: {\n '[attr.aria-labelledby]': 'ariaLabelledBy',\n '[attr.aria-label]': 'ariaLabel',\n '[style.width]': 'width',\n '[style.min-width]': 'minWidth',\n '[style.margin-bottom]': 'marginBottom',\n role: 'alert',\n '[attr.id]': 'id'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessageStripComponent implements OnInit, OnChanges, CssClassBuilder {\n /** User's custom classes */\n @Input()\n class = '';\n\n /** Whether the message strip is dismissible. */\n @Input()\n dismissible = true;\n\n /** The default message strip does not have an icon.\n * The other types (warning, success, information and error) have icons by default.\n * To remove the icon set the property to true.\n */\n @Input()\n noIcon = false;\n\n /** The type of the message strip.\n * Can be one of *warning*, *success*, *information*, *error* or null.\n */\n @Input()\n type: string;\n\n /** Id for the message-strip component. If omitted, a unique one is generated. */\n @Input()\n id: string = 'fd-message-strip-' + messageStripUniqueId++;\n\n /** Id of the element that labels the message-strip. */\n @Input()\n ariaLabelledBy: Nullable<string>;\n\n /** Aria label for the message-strip component element. */\n @Input()\n ariaLabel: Nullable<string>;\n\n /**\n * @deprecated use i18n capabilities instead\n * Aria label for the dismiss button.\n */\n @Input()\n dismissLabel: string;\n\n /** Width of the message-strip. */\n @Input()\n width: string;\n\n /** Minimum width of the message-strip. */\n @Input()\n minWidth: string;\n\n /** Margin bottom of the message-strip. */\n @Input()\n marginBottom: string;\n\n /** Event fired when the message-strip is dismissed. */\n @Output()\n // eslint-disable-next-line @angular-eslint/no-output-on-prefix\n onDismiss: EventEmitter<void> = new EventEmitter<void>();\n\n /** @hidden */\n constructor(private _elementRef: ElementRef) {}\n\n /** @hidden */\n ngOnInit(): void {\n this.buildComponentCssClass();\n }\n\n /** @hidden */\n ngOnChanges(): void {\n this.buildComponentCssClass();\n }\n\n /** @hidden */\n elementRef(): ElementRef<any> {\n return this._elementRef;\n }\n\n /**\n * Dismisses the message-strip.\n */\n dismiss(): void {\n this._elementRef.nativeElement.classList.add('fd-has-display-none');\n this._elementRef.nativeElement.classList.remove('fd-has-display-block');\n this.onDismiss.emit();\n }\n\n /** @hidden\n * CssClassBuilder interface implementation\n * function must return single string\n * function is responsible for order which css classes are applied\n */\n @applyCssClass\n buildComponentCssClass(): string[] {\n return [\n 'fd-message-strip',\n this.type ? `fd-message-strip--${this.type}` : '',\n this.dismissible ? 'fd-message-strip--dismissible' : '',\n this.noIcon ? 'fd-message-strip--no-icon' : '',\n this.class\n ];\n }\n}\n","<button\n class=\"fd-message-strip__close\"\n fd-button\n glyph=\"decline\"\n fdType=\"transparent\"\n fdCompact\n *ngIf=\"dismissible\"\n (click)=\"dismiss()\"\n [attr.aria-controls]=\"id\"\n [attr.aria-label]=\"dismissLabel || ('coreMessageStrip.dismissLabel' | fdTranslate)\"\n [attr.title]=\"dismissLabel || ('coreMessageStrip.dismissLabel' | fdTranslate)\"\n></button>\n<p class=\"fd-message-strip__text\">\n <ng-content></ng-content>\n</p>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MessageStripComponent } from './message-strip.component';\nimport { ButtonModule } from '@fundamental-ngx/core/button';\nimport { I18nModule } from '@fundamental-ngx/i18n';\n\n@NgModule({\n declarations: [MessageStripComponent],\n imports: [CommonModule, ButtonModule, I18nModule],\n exports: [MessageStripComponent]\n})\nexport class MessageStripMod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AC,MAAM,GAAG,2BAA2B,GAAG,EAAE;AAC9C,YAAA,IAAI,CAAC,KAAK;SACb,CAAC;KACL;;kHAnGQ,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,omBCnClC,keAeA,EAAA,MAAA,EAAA,CAAA
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-core-message-strip.mjs","sources":["../../../../libs/core/src/lib/message-strip/message-strip.component.ts","../../../../libs/core/src/lib/message-strip/message-strip.component.html","../../../../libs/core/src/lib/message-strip/message-strip.module.ts","../../../../libs/core/src/lib/message-strip/fundamental-ngx-core-message-strip.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n OnChanges,\n OnInit,\n ViewEncapsulation,\n EventEmitter,\n Output\n} from '@angular/core';\nimport { applyCssClass, CssClassBuilder } from '@fundamental-ngx/core/utils';\nimport { Nullable } from '@fundamental-ngx/core/shared';\n\nlet messageStripUniqueId = 0;\n\n/**\n * The component that represents a message-strip. It can only be used inline.\n */\n@Component({\n selector: 'fd-message-strip',\n templateUrl: './message-strip.component.html',\n styleUrls: ['./message-strip.component.scss'],\n host: {\n '[attr.aria-labelledby]': 'ariaLabelledBy',\n '[attr.aria-label]': 'ariaLabel',\n '[style.width]': 'width',\n '[style.min-width]': 'minWidth',\n '[style.margin-bottom]': 'marginBottom',\n role: 'alert',\n '[attr.id]': 'id'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessageStripComponent implements OnInit, OnChanges, CssClassBuilder {\n /** User's custom classes */\n @Input()\n class = '';\n\n /** Whether the message strip is dismissible. */\n @Input()\n dismissible = true;\n\n /** The default message strip does not have an icon.\n * The other types (warning, success, information and error) have icons by default.\n * To remove the icon set the property to true.\n */\n @Input()\n noIcon = false;\n\n /** The type of the message strip.\n * Can be one of *warning*, *success*, *information*, *error* or null.\n */\n @Input()\n type: string;\n\n /** Id for the message-strip component. If omitted, a unique one is generated. */\n @Input()\n id: string = 'fd-message-strip-' + messageStripUniqueId++;\n\n /** Id of the element that labels the message-strip. */\n @Input()\n ariaLabelledBy: Nullable<string>;\n\n /** Aria label for the message-strip component element. */\n @Input()\n ariaLabel: Nullable<string>;\n\n /**\n * @deprecated use i18n capabilities instead\n * Aria label for the dismiss button.\n */\n @Input()\n dismissLabel: string;\n\n /** Width of the message-strip. */\n @Input()\n width: string;\n\n /** Minimum width of the message-strip. */\n @Input()\n minWidth: string;\n\n /** Margin bottom of the message-strip. */\n @Input()\n marginBottom: string;\n\n /** Event fired when the message-strip is dismissed. */\n @Output()\n // eslint-disable-next-line @angular-eslint/no-output-on-prefix\n onDismiss: EventEmitter<void> = new EventEmitter<void>();\n\n /** @hidden */\n constructor(private _elementRef: ElementRef) {}\n\n /** @hidden */\n ngOnInit(): void {\n this.buildComponentCssClass();\n }\n\n /** @hidden */\n ngOnChanges(): void {\n this.buildComponentCssClass();\n }\n\n /** @hidden */\n elementRef(): ElementRef<any> {\n return this._elementRef;\n }\n\n /**\n * Dismisses the message-strip.\n */\n dismiss(): void {\n this._elementRef.nativeElement.classList.add('fd-has-display-none');\n this._elementRef.nativeElement.classList.remove('fd-has-display-block');\n this.onDismiss.emit();\n }\n\n /** @hidden\n * CssClassBuilder interface implementation\n * function must return single string\n * function is responsible for order which css classes are applied\n */\n @applyCssClass\n buildComponentCssClass(): string[] {\n return [\n 'fd-message-strip',\n this.type ? `fd-message-strip--${this.type}` : '',\n this.dismissible ? 'fd-message-strip--dismissible' : '',\n this.noIcon ? 'fd-message-strip--no-icon' : '',\n this.class\n ];\n }\n}\n","<button\n class=\"fd-message-strip__close\"\n fd-button\n glyph=\"decline\"\n fdType=\"transparent\"\n fdCompact\n *ngIf=\"dismissible\"\n (click)=\"dismiss()\"\n [attr.aria-controls]=\"id\"\n [attr.aria-label]=\"dismissLabel || ('coreMessageStrip.dismissLabel' | fdTranslate)\"\n [attr.title]=\"dismissLabel || ('coreMessageStrip.dismissLabel' | fdTranslate)\"\n></button>\n<p class=\"fd-message-strip__text\">\n <ng-content></ng-content>\n</p>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MessageStripComponent } from './message-strip.component';\nimport { ButtonModule } from '@fundamental-ngx/core/button';\nimport { I18nModule } from '@fundamental-ngx/i18n';\n\n@NgModule({\n declarations: [MessageStripComponent],\n imports: [CommonModule, ButtonModule, I18nModule],\n exports: [MessageStripComponent]\n})\nexport class MessageStripModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAcA,IAAI,oBAAoB,GAAG,CAAC,CAAC;AAE7B;;AAEG;MAiBU,qBAAqB,CAAA;;AA2D9B,IAAA,WAAA,CAAoB,WAAuB,EAAA;AAAvB,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;;AAxD3C,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;;AAIX,QAAA,IAAW,CAAA,WAAA,GAAG,IAAI,CAAC;AAEnB;;;AAGG;AAEH,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;;AAUf,QAAA,IAAA,CAAA,EAAE,GAAW,mBAAmB,GAAG,oBAAoB,EAAE,CAAC;;;AAgC1D,QAAA,IAAA,CAAA,SAAS,GAAuB,IAAI,YAAY,EAAQ,CAAC;KAGV;;IAG/C,QAAQ,GAAA;QACJ,IAAI,CAAC,sBAAsB,EAAE,CAAC;KACjC;;IAGD,WAAW,GAAA;QACP,IAAI,CAAC,sBAAsB,EAAE,CAAC;KACjC;;IAGD,UAAU,GAAA;QACN,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177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
MessageToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: MessageToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i0.NgZone }, { token: MessageToastConfig, optional: true }, { token: MessageToastRef, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
180
|
-
MessageToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: MessageToastComponent, selector: "fd-message-toast", inputs: { id: "id", duration: "duration", mousePersist: "mousePersist", ariaLabel: "ariaLabel", message: "message", width: "width", minWidth: "minWidth", maxWidth: "maxWidth" }, outputs: { onHide: "onHide" }, host: { listeners: { "mouseenter": "handleMessageToastMouseEnterEvent()", "mouseleave": "handleMessageToastMouseLeaveEvent()" }, properties: { "attr.aria-label": "ariaLabel", "attr.aria-live": "\"polite\"", "attr.id": "id", "style.width": "width", "style.min-width": "minWidth", "style.max-width": "maxWidth", "class.fd-message-toast": "this.messageToastClass" } }, viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: `<ng-container #container>{{ message }}</ng-container>`, isInline: true, styles: ["/*!\n * Fundamental Library Styles v0.26.
|
|
180
|
+
MessageToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: MessageToastComponent, selector: "fd-message-toast", inputs: { id: "id", duration: "duration", mousePersist: "mousePersist", ariaLabel: "ariaLabel", message: "message", width: "width", minWidth: "minWidth", maxWidth: "maxWidth" }, outputs: { onHide: "onHide" }, host: { listeners: { "mouseenter": "handleMessageToastMouseEnterEvent()", "mouseleave": "handleMessageToastMouseLeaveEvent()" }, properties: { "attr.aria-label": "ariaLabel", "attr.aria-live": "\"polite\"", "attr.id": "id", "style.width": "width", "style.min-width": "minWidth", "style.max-width": "maxWidth", "class.fd-message-toast": "this.messageToastClass" } }, viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: `<ng-container #container>{{ message }}</ng-container>`, isInline: true, styles: ["/*!\n * Fundamental Library Styles v0.26.4\n * Copyright (c) 2022 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-message-toast{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapList_Background);border:0;border-radius:var(--sapElement_BorderCornerRadius);box-shadow:var(--sapContent_Shadow2);box-sizing:border-box;color:var(--sapTextColor);color:var(--sapList_TextColor);display:inline-flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-width:15rem;padding:1rem;text-align:center;width:auto}.fd-message-toast:after,.fd-message-toast:before{box-sizing:inherit;font-size:inherit}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.fd-message-toast,.fd-has-display-block{display:block}.fd-has-display-none{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
181
181
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: MessageToastComponent, decorators: [{
|
|
182
182
|
type: Component,
|
|
183
183
|
args: [{ selector: 'fd-message-toast', template: `<ng-container #container>{{ message }}</ng-container>`, host: {
|
|
@@ -187,7 +187,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
187
187
|
'[style.width]': 'width',
|
|
188
188
|
'[style.min-width]': 'minWidth',
|
|
189
189
|
'[style.max-width]': 'maxWidth'
|
|
190
|
-
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["/*!\n * Fundamental Library Styles v0.26.
|
|
190
|
+
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["/*!\n * Fundamental Library Styles v0.26.4\n * Copyright (c) 2022 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-message-toast{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapList_Background);border:0;border-radius:var(--sapElement_BorderCornerRadius);box-shadow:var(--sapContent_Shadow2);box-sizing:border-box;color:var(--sapTextColor);color:var(--sapList_TextColor);display:inline-flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-width:15rem;padding:1rem;text-align:center;width:auto}.fd-message-toast:after,.fd-message-toast:before{box-sizing:inherit;font-size:inherit}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.fd-message-toast,.fd-has-display-block{display:block}.fd-has-display-none{display:none}\n"] }]
|
|
191
191
|
}], ctorParameters: function () {
|
|
192
192
|
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.ComponentFactoryResolver }, { type: i0.NgZone }, { type: MessageToastConfig, decorators: [{
|
|
193
193
|
type: Optional
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-core-message-toast.mjs","sources":["../../../../libs/core/src/lib/message-toast/constants.ts","../../../../libs/core/src/lib/message-toast/message-toast-utils/message-toast-config.ts","../../../../libs/core/src/lib/message-toast/message-toast-utils/message-toast-ref.ts","../../../../libs/core/src/lib/message-toast/message-toast.component.ts","../../../../libs/core/src/lib/message-toast/message-toast-utils/message-toast-container.component.ts","../../../../libs/core/src/lib/message-toast/message-toast-service/message-toast.service.ts","../../../../libs/core/src/lib/message-toast/message-toast.module.ts","../../../../libs/core/src/lib/message-toast/fundamental-ngx-core-message-toast.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { MessageToastConfig } from './message-toast-utils/message-toast-config';\n\nexport const MESSAGE_TOAST_CONFIG = new InjectionToken<MessageToastConfig>('MessageToastConfig');\n","/* eslint-disable @typescript-eslint/no-inferrable-types */\nimport { DynamicComponentConfig } from '@fundamental-ngx/core/utils';\nimport { Nullable } from '@fundamental-ngx/core/shared';\n\n/**\n * Configuration for opening a message toast with the MessageToastService.\n */\nexport class MessageToastConfig implements DynamicComponentConfig {\n /** Id for the message toast component. If omitted, a unique one is generated. */\n id?: string;\n\n /** Data being injected into the child component or template. */\n data?: any;\n\n /** Duration of time *in milliseconds* that the message toast will be visible. Set to -1 for indefinite. */\n duration?: number = 3000;\n\n /** Whether the message toast should stay visible if the cursor is over it. */\n mousePersist?: boolean = false;\n\n /** Aria label for the message toast component element. */\n ariaLabel?: Nullable<string>;\n\n /** Width of the message toast. */\n width?: string;\n\n /** Minimum width of the message toast. */\n minWidth?: string;\n\n /** Maximum width of the message toast. */\n maxWidth?: string;\n\n /** The container that the message toast is appended to. By default, it is appended to the body. */\n container?: HTMLElement | 'body' = 'body';\n}\n","import { Subject } from 'rxjs';\n/**\n * Reference to a message toast component generated via the MessageToastService.\n * It can be injected into the content component in the same way a service would be injected.\n * For a template, add let-messageToast to your ng-template tag. Now using *messageToast* in the template refers to this class.\n */\nexport class MessageToastRef {\n /** @hidden */\n private readonly _afterTimeout = new Subject<void>();\n\n /** Observable that is triggered when the message toast has timed out. */\n afterTimeout = this._afterTimeout.asObservable();\n\n /** Data passed from the service open method. */\n data: any;\n\n /**\n * Hides the message toast.\n */\n timeout(): void {\n this._afterTimeout.next();\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n ComponentRef,\n ElementRef,\n EmbeddedViewRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n NgZone,\n OnInit,\n Optional,\n Output,\n TemplateRef,\n Type,\n ViewChild,\n ViewContainerRef,\n ViewEncapsulation\n} from '@angular/core';\n\nimport { Nullable } from '@fundamental-ngx/core/shared';\nimport { MessageToastConfig } from './message-toast-utils/message-toast-config';\nimport { MessageToastRef } from './message-toast-utils/message-toast-ref';\n\nlet messageToastUniqueId = 0;\n\n/**\n * The component that represents a message toast.\n */\n@Component({\n selector: 'fd-message-toast',\n template: `<ng-container #container>{{ message }}</ng-container>`,\n styleUrls: ['./message-toast.component.scss'],\n host: {\n '[attr.aria-label]': 'ariaLabel',\n '[attr.aria-live]': '\"polite\"',\n '[attr.id]': 'id',\n '[style.width]': 'width',\n '[style.min-width]': 'minWidth',\n '[style.max-width]': 'maxWidth'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessageToastComponent implements OnInit, AfterViewInit {\n /** @hidden */\n constructor(\n private _elRef: ElementRef,\n private cdRef: ChangeDetectorRef,\n private componentFactoryResolver: ComponentFactoryResolver,\n private ngZone: NgZone,\n @Optional() private messageToastConfig: MessageToastConfig,\n @Optional() private messageToastRef: MessageToastRef\n ) {\n this._setMessageToastConfig(messageToastConfig);\n }\n\n /** @hidden */\n @ViewChild('container', { read: ViewContainerRef })\n containerRef: ViewContainerRef;\n\n /** Id of the message toast. If omitted, a unique one is generated. */\n @Input()\n id: string = 'fd-message-toast-' + messageToastUniqueId++;\n\n /**\n * Duration of time *in milliseconds* that the message toast will be visible.\n * The standard value is 3000 ms.\n * The duration can be set to more than 3000 ms,\n * but it's not recommended to set it to less than 3000 ms.\n * Set to -1 for indefinite.\n */\n @Input()\n duration = 3000;\n\n /** Whether the message toast should stay open if the cursor is over it. */\n @Input()\n mousePersist = false;\n\n /** Aria label for the message toast component element. */\n @Input()\n ariaLabel: Nullable<string>;\n\n /** Alternative way of passing in a message to the message toast. */\n @Input()\n message: string;\n\n /** Width of the message toast. */\n @Input()\n width: string;\n\n /** Minimum width of the message toast. */\n @Input()\n minWidth: string;\n\n /**\n * Maximum width of the message toast.\n * The standard maximum width is 15rem.\n * It's not recommended to extend the width to more than 35rem.\n */\n @Input()\n maxWidth: string;\n\n /** Event fired when the message toast is timeout. */\n @Output()\n // eslint-disable-next-line @angular-eslint/no-output-on-prefix\n onHide: EventEmitter<undefined> = new EventEmitter<undefined>();\n\n /** @hidden */\n mouseOverMessageToast = false;\n\n /** @hidden */\n componentRef: ComponentRef<any> | EmbeddedViewRef<any>;\n\n /** @hidden */\n childContent: Type<any> | TemplateRef<any> | string | undefined = undefined;\n\n /** @hidden */\n @HostBinding('class.fd-message-toast')\n messageToastClass = true;\n\n /** @hidden */\n ngOnInit(): void {\n if (this.messageToastRef) {\n this.open();\n }\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n if (this.childContent) {\n if (this.childContent instanceof Type) {\n this._loadFromComponent(this.childContent);\n } else if (this.childContent instanceof TemplateRef) {\n this._loadFromTemplate(this.childContent);\n } else {\n this._loadFromString(this.childContent);\n }\n this.cdRef.detectChanges();\n }\n }\n\n /**\n * Closes the message toast\n */\n close(): void {\n if (this.messageToastRef) {\n this.messageToastRef.timeout();\n } else {\n this._elRef.nativeElement.classList.add('fd-has-display-none');\n this._elRef.nativeElement.classList.remove('fd-has-display-block');\n }\n this.onHide.emit();\n }\n\n /**\n * Opens the message toast.\n */\n open(): void {\n if (!this.messageToastRef) {\n if (this._elRef.nativeElement.style.display === 'block') {\n return;\n }\n this._elRef.nativeElement.classList.remove('fd-has-display-none');\n this._elRef.nativeElement.classList.add('fd-has-display-block');\n }\n if (this.duration >= 0) {\n this.ngZone.runOutsideAngular(() => {\n setTimeout(() => {\n if (!this.mousePersist) {\n this.ngZone.run(() => this.close());\n return;\n }\n const wait = (): void => {\n if (this.mouseOverMessageToast === true) {\n setTimeout(wait, 500);\n } else {\n this.ngZone.run(() => this.close());\n }\n };\n wait();\n }, this.duration);\n });\n }\n }\n\n /** @hidden */\n @HostListener('mouseenter')\n handleMessageToastMouseEnterEvent(): void {\n this.mouseOverMessageToast = true;\n }\n\n /** @hidden */\n @HostListener('mouseleave')\n handleMessageToastMouseLeaveEvent(): void {\n this.mouseOverMessageToast = false;\n }\n\n /** @hidden */\n private _loadFromTemplate(template: TemplateRef<any>): void {\n const context = {\n $implicit: this.messageToastRef\n };\n this.componentRef = this.containerRef.createEmbeddedView(template, context);\n }\n\n /** @hidden */\n private _loadFromComponent(componentType: Type<any>): void {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(componentType);\n this.containerRef.clear();\n this.componentRef = this.containerRef.createComponent(componentFactory);\n }\n\n /** @hidden */\n private _loadFromString(contentString: string): void {\n this.containerRef.clear();\n this.message = contentString;\n }\n\n /** @hidden */\n private _setMessageToastConfig(messageToastConfig: MessageToastConfig): void {\n Object.keys(messageToastConfig || {})\n .filter((key) => key !== 'data' && key !== 'container')\n .forEach((key) => (this[key] = messageToastConfig[key]));\n }\n}\n","import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'fd-message-toast-container',\n template: ``,\n styles: [\n `\n .fd-message-toast-container {\n position: fixed;\n display: flex;\n flex-direction: column;\n z-index: 5000;\n align-items: center;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n }\n `\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessageToastContainerComponent {\n /** @hidden */\n @HostBinding('class.fd-message-toast-container')\n fdMessageToastContainerClass = true;\n\n /** Role attribute */\n @Input()\n @HostBinding('attr.role')\n role = 'alert';\n}\n","import { LiveAnnouncer } from '@angular/cdk/a11y';\nimport { Injectable, ComponentRef, TemplateRef, Type, Inject } from '@angular/core';\nimport { MESSAGE_TOAST_CONFIG } from '../constants';\nimport { MessageToastComponent } from '../message-toast.component';\nimport { MessageToastContainerComponent } from '../message-toast-utils/message-toast-container.component';\nimport { MessageToastRef } from '../message-toast-utils/message-toast-ref';\nimport { MessageToastConfig } from '../message-toast-utils/message-toast-config';\nimport { DynamicComponentService } from '@fundamental-ngx/core/utils';\n\n/**\n * Service for generating message toasts dynamically.\n */\n@Injectable()\nexport class MessageToastService {\n /** @hidden */\n private _messageToasts: ComponentRef<MessageToastComponent>[] = [];\n\n /** @hidden */\n private _messageToastContainerRef: ComponentRef<MessageToastContainerComponent> | undefined;\n\n /** @hidden */\n constructor(\n private _dynamicComponentService: DynamicComponentService,\n private _liveAnnouncer: LiveAnnouncer,\n @Inject(MESSAGE_TOAST_CONFIG) private _defaultConfig: MessageToastConfig\n ) {}\n\n /**\n * Returns true if there are some message toasts currently open. False otherwise.\n */\n hasOpenMessageToasts(): boolean {\n return this._messageToasts && this._messageToasts.length > 0;\n }\n\n /**\n * Opens a message toast component with a content of type TemplateRef, Component Type or String.\n * @param content Content of the message toast component.\n * @param messageToastConfig Configuration of the message toast component.\n */\n open(content: TemplateRef<any> | Type<any> | string, messageToastConfig: MessageToastConfig = {}): MessageToastRef {\n // Get default values from message toast model\n const mergedConfig = { ...this._defaultConfig, ...messageToastConfig };\n\n // We need MessageToastConfig instance for correct DI in the component.\n messageToastConfig = Object.assign(new MessageToastConfig(), mergedConfig);\n\n // Instantiate message toast ref service\n const service: MessageToastRef = new MessageToastRef();\n service.data = messageToastConfig.data;\n\n // If empty or undefined message toast array, create container\n if (!this._messageToasts || this._messageToasts.length === 0 || !this._messageToastContainerRef) {\n this._messageToastContainerRef =\n this._dynamicComponentService.createDynamicComponent<MessageToastContainerComponent>(\n content,\n MessageToastContainerComponent,\n messageToastConfig\n );\n }\n\n // Define Container to put backdrop and component to container\n messageToastConfig.container = this._messageToastContainerRef.location.nativeElement;\n\n const component = this._dynamicComponentService.createDynamicComponent<MessageToastComponent>(\n content,\n MessageToastComponent,\n messageToastConfig,\n { services: [service, messageToastConfig] }\n );\n\n component.location.nativeElement.style.marginBottom = '10px';\n\n // Subscription to close message toast from ref\n const refSub = service.afterTimeout.subscribe(() => {\n this._destroyMessageToastComponent(component);\n refSub.unsubscribe();\n });\n\n this._messageToasts.push(component);\n\n return service;\n }\n\n /**\n * Hides all message toasts opened by the service.\n */\n hideAll(): void {\n this._messageToasts.forEach((ref) => {\n this._destroyMessageToastComponent(ref);\n });\n }\n\n /** @hidden */\n private _destroyMessageToastComponent(messageToast: ComponentRef<MessageToastComponent>): void {\n this._messageToasts = this._messageToasts.filter((item) => item && item !== messageToast);\n this._dynamicComponentService.destroyComponent(messageToast);\n\n if (this._messageToastContainerRef && (!this._messageToasts || this._messageToasts.length === 0)) {\n this._destroyMessageToastContainer();\n }\n }\n\n /** @hidden */\n private _destroyMessageToastContainer(): void {\n if (this._messageToastContainerRef) {\n this._dynamicComponentService.destroyComponent(this._messageToastContainerRef);\n this._messageToastContainerRef = undefined;\n }\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MESSAGE_TOAST_CONFIG } from './constants';\nimport { MessageToastConfig } from './message-toast-utils/message-toast-config';\n\nimport { MessageToastComponent } from './message-toast.component';\nimport { MessageToastService } from './message-toast-service/message-toast.service';\nimport { MessageToastContainerComponent } from './message-toast-utils/message-toast-container.component';\nimport { DynamicComponentService } from '@fundamental-ngx/core/utils';\n\n/**\n * Adds Message Toast functionality to your application.\n *\n * Can be imported in two ways:\n * * Plain MessageToastModule with default configuration\n * * With `withConfig()` method which allows passing custom default configuration.\n */\n@NgModule({\n declarations: [MessageToastComponent, MessageToastContainerComponent],\n imports: [CommonModule],\n exports: [MessageToastComponent, MessageToastContainerComponent],\n providers: [\n MessageToastService,\n DynamicComponentService,\n // Provide default configuration which user can later override.\n {\n provide: MESSAGE_TOAST_CONFIG,\n useValue: new MessageToastConfig()\n }\n ]\n})\nexport class MessageToastModule {\n /**\n * Allows configuring module on a global level with custom configuration.\n * @param config User's custom configuration.\n */\n static withConfig(config: MessageToastConfig): ModuleWithProviders<MessageToastModule> {\n return {\n ngModule: MessageToastModule,\n providers: [\n {\n provide: MESSAGE_TOAST_CONFIG,\n useValue: config\n }\n ]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.MessageToastConfig","i2.MessageToastRef"],"mappings":";;;;;;;;MAGa,oBAAoB,GAAG,IAAI,cAAc,CAAqB,oBAAoB;;ACC/F;;AAEG;MACU,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;;AAQI,QAAA,IAAQ,CAAA,QAAA,GAAY,IAAI,CAAC;;AAGzB,QAAA,IAAY,CAAA,YAAA,GAAa,KAAK,CAAC;;AAe/B,QAAA,IAAS,CAAA,SAAA,GAA0B,MAAM,CAAC;KAC7C;AAAA;;ACjCD;;;;AAIG;MACU,eAAe,CAAA;AAA5B,IAAA,WAAA,GAAA;;AAEqB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,OAAO,EAAQ,CAAC;;QAGrD,IAAA,CAAA,YAAY,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,CAAC;KAWpD;AANG;;AAEG;IACH,OAAO,GAAA;AACH,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;KAC7B;AACJ;;ACMD,IAAI,oBAAoB,GAAG,CAAC,CAAC;AAE7B;;AAEG;MAgBU,qBAAqB,CAAA;;IAE9B,WACY,CAAA,MAAkB,EAClB,KAAwB,EACxB,wBAAkD,EAClD,MAAc,EACF,kBAAsC,EACtC,eAAgC,EAAA;AAL5C,QAAA,IAAM,CAAA,MAAA,GAAN,MAAM,CAAY;AAClB,QAAA,IAAK,CAAA,KAAA,GAAL,KAAK,CAAmB;AACxB,QAAA,IAAwB,CAAA,wBAAA,GAAxB,wBAAwB,CAA0B;AAClD,QAAA,IAAM,CAAA,MAAA,GAAN,MAA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AE;AACrC,SAAA;AACJ,KAAA,EAAA,OAAA,EAAA,CAVS,YAAY,CAAA,EAAA,CAAA,CAAA;2FAYb,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAd9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,qBAAqB,EAAE,8BAA8B,CAAC;oBACrE,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,qBAAqB,EAAE,8BAA8B,CAAC;AAChE,oBAAA,SAAS,EAAE;wBACP,mBAAmB;wBACnB,uBAAuB;;AAEvB,wBAAA;AACI,4BAAA,OAAO,EAAE,oBAAoB;4BAC7B,QAAQ,EAAE,IAAI,kBAAkB,EAAE;AACrC,yBAAA;AACJ,qBAAA;iBACJ,CAAA;;;AC9BD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-core-message-toast.mjs","sources":["../../../../libs/core/src/lib/message-toast/constants.ts","../../../../libs/core/src/lib/message-toast/message-toast-utils/message-toast-config.ts","../../../../libs/core/src/lib/message-toast/message-toast-utils/message-toast-ref.ts","../../../../libs/core/src/lib/message-toast/message-toast.component.ts","../../../../libs/core/src/lib/message-toast/message-toast-utils/message-toast-container.component.ts","../../../../libs/core/src/lib/message-toast/message-toast-service/message-toast.service.ts","../../../../libs/core/src/lib/message-toast/message-toast.module.ts","../../../../libs/core/src/lib/message-toast/fundamental-ngx-core-message-toast.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { MessageToastConfig } from './message-toast-utils/message-toast-config';\n\nexport const MESSAGE_TOAST_CONFIG = new InjectionToken<MessageToastConfig>('MessageToastConfig');\n","/* eslint-disable @typescript-eslint/no-inferrable-types */\nimport { DynamicComponentConfig } from '@fundamental-ngx/core/utils';\nimport { Nullable } from '@fundamental-ngx/core/shared';\n\n/**\n * Configuration for opening a message toast with the MessageToastService.\n */\nexport class MessageToastConfig implements DynamicComponentConfig {\n /** Id for the message toast component. If omitted, a unique one is generated. */\n id?: string;\n\n /** Data being injected into the child component or template. */\n data?: any;\n\n /** Duration of time *in milliseconds* that the message toast will be visible. Set to -1 for indefinite. */\n duration?: number = 3000;\n\n /** Whether the message toast should stay visible if the cursor is over it. */\n mousePersist?: boolean = false;\n\n /** Aria label for the message toast component element. */\n ariaLabel?: Nullable<string>;\n\n /** Width of the message toast. */\n width?: string;\n\n /** Minimum width of the message toast. */\n minWidth?: string;\n\n /** Maximum width of the message toast. */\n maxWidth?: string;\n\n /** The container that the message toast is appended to. By default, it is appended to the body. */\n container?: HTMLElement | 'body' = 'body';\n}\n","import { Subject } from 'rxjs';\n/**\n * Reference to a message toast component generated via the MessageToastService.\n * It can be injected into the content component in the same way a service would be injected.\n * For a template, add let-messageToast to your ng-template tag. Now using *messageToast* in the template refers to this class.\n */\nexport class MessageToastRef {\n /** @hidden */\n private readonly _afterTimeout = new Subject<void>();\n\n /** Observable that is triggered when the message toast has timed out. */\n afterTimeout = this._afterTimeout.asObservable();\n\n /** Data passed from the service open method. */\n data: any;\n\n /**\n * Hides the message toast.\n */\n timeout(): void {\n this._afterTimeout.next();\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n ComponentRef,\n ElementRef,\n EmbeddedViewRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n NgZone,\n OnInit,\n Optional,\n Output,\n TemplateRef,\n Type,\n ViewChild,\n ViewContainerRef,\n ViewEncapsulation\n} from '@angular/core';\n\nimport { Nullable } from '@fundamental-ngx/core/shared';\nimport { MessageToastConfig } from './message-toast-utils/message-toast-config';\nimport { MessageToastRef } from './message-toast-utils/message-toast-ref';\n\nlet messageToastUniqueId = 0;\n\n/**\n * The component that represents a message toast.\n */\n@Component({\n selector: 'fd-message-toast',\n template: `<ng-container #container>{{ message }}</ng-container>`,\n styleUrls: ['./message-toast.component.scss'],\n host: {\n '[attr.aria-label]': 'ariaLabel',\n '[attr.aria-live]': '\"polite\"',\n '[attr.id]': 'id',\n '[style.width]': 'width',\n '[style.min-width]': 'minWidth',\n '[style.max-width]': 'maxWidth'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessageToastComponent implements OnInit, AfterViewInit {\n /** @hidden */\n constructor(\n private _elRef: ElementRef,\n private cdRef: ChangeDetectorRef,\n private componentFactoryResolver: ComponentFactoryResolver,\n private ngZone: NgZone,\n @Optional() private messageToastConfig: MessageToastConfig,\n @Optional() private messageToastRef: MessageToastRef\n ) {\n this._setMessageToastConfig(messageToastConfig);\n }\n\n /** @hidden */\n @ViewChild('container', { read: ViewContainerRef })\n containerRef: ViewContainerRef;\n\n /** Id of the message toast. If omitted, a unique one is generated. */\n @Input()\n id: string = 'fd-message-toast-' + messageToastUniqueId++;\n\n /**\n * Duration of time *in milliseconds* that the message toast will be visible.\n * The standard value is 3000 ms.\n * The duration can be set to more than 3000 ms,\n * but it's not recommended to set it to less than 3000 ms.\n * Set to -1 for indefinite.\n */\n @Input()\n duration = 3000;\n\n /** Whether the message toast should stay open if the cursor is over it. */\n @Input()\n mousePersist = false;\n\n /** Aria label for the message toast component element. */\n @Input()\n ariaLabel: Nullable<string>;\n\n /** Alternative way of passing in a message to the message toast. */\n @Input()\n message: string;\n\n /** Width of the message toast. */\n @Input()\n width: string;\n\n /** Minimum width of the message toast. */\n @Input()\n minWidth: string;\n\n /**\n * Maximum width of the message toast.\n * The standard maximum width is 15rem.\n * It's not recommended to extend the width to more than 35rem.\n */\n @Input()\n maxWidth: string;\n\n /** Event fired when the message toast is timeout. */\n @Output()\n // eslint-disable-next-line @angular-eslint/no-output-on-prefix\n onHide: EventEmitter<undefined> = new EventEmitter<undefined>();\n\n /** @hidden */\n mouseOverMessageToast = false;\n\n /** @hidden */\n componentRef: ComponentRef<any> | EmbeddedViewRef<any>;\n\n /** @hidden */\n childContent: Type<any> | TemplateRef<any> | string | undefined = undefined;\n\n /** @hidden */\n @HostBinding('class.fd-message-toast')\n messageToastClass = true;\n\n /** @hidden */\n ngOnInit(): void {\n if (this.messageToastRef) {\n this.open();\n }\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n if (this.childContent) {\n if (this.childContent instanceof Type) {\n this._loadFromComponent(this.childContent);\n } else if (this.childContent instanceof TemplateRef) {\n this._loadFromTemplate(this.childContent);\n } else {\n this._loadFromString(this.childContent);\n }\n this.cdRef.detectChanges();\n }\n }\n\n /**\n * Closes the message toast\n */\n close(): void {\n if (this.messageToastRef) {\n this.messageToastRef.timeout();\n } else {\n this._elRef.nativeElement.classList.add('fd-has-display-none');\n this._elRef.nativeElement.classList.remove('fd-has-display-block');\n }\n this.onHide.emit();\n }\n\n /**\n * Opens the message toast.\n */\n open(): void {\n if (!this.messageToastRef) {\n if (this._elRef.nativeElement.style.display === 'block') {\n return;\n }\n this._elRef.nativeElement.classList.remove('fd-has-display-none');\n this._elRef.nativeElement.classList.add('fd-has-display-block');\n }\n if (this.duration >= 0) {\n this.ngZone.runOutsideAngular(() => {\n setTimeout(() => {\n if (!this.mousePersist) {\n this.ngZone.run(() => this.close());\n return;\n }\n const wait = (): void => {\n if (this.mouseOverMessageToast === true) {\n setTimeout(wait, 500);\n } else {\n this.ngZone.run(() => this.close());\n }\n };\n wait();\n }, this.duration);\n });\n }\n }\n\n /** @hidden */\n @HostListener('mouseenter')\n handleMessageToastMouseEnterEvent(): void {\n this.mouseOverMessageToast = true;\n }\n\n /** @hidden */\n @HostListener('mouseleave')\n handleMessageToastMouseLeaveEvent(): void {\n this.mouseOverMessageToast = false;\n }\n\n /** @hidden */\n private _loadFromTemplate(template: TemplateRef<any>): void {\n const context = {\n $implicit: this.messageToastRef\n };\n this.componentRef = this.containerRef.createEmbeddedView(template, context);\n }\n\n /** @hidden */\n private _loadFromComponent(componentType: Type<any>): void {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(componentType);\n this.containerRef.clear();\n this.componentRef = this.containerRef.createComponent(componentFactory);\n }\n\n /** @hidden */\n private _loadFromString(contentString: string): void {\n this.containerRef.clear();\n this.message = contentString;\n }\n\n /** @hidden */\n private _setMessageToastConfig(messageToastConfig: MessageToastConfig): void {\n Object.keys(messageToastConfig || {})\n .filter((key) => key !== 'data' && key !== 'container')\n .forEach((key) => (this[key] = messageToastConfig[key]));\n }\n}\n","import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'fd-message-toast-container',\n template: ``,\n styles: [\n `\n .fd-message-toast-container {\n position: fixed;\n display: flex;\n flex-direction: column;\n z-index: 5000;\n align-items: center;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n }\n `\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessageToastContainerComponent {\n /** @hidden */\n @HostBinding('class.fd-message-toast-container')\n fdMessageToastContainerClass = true;\n\n /** Role attribute */\n @Input()\n @HostBinding('attr.role')\n role = 'alert';\n}\n","import { LiveAnnouncer } from '@angular/cdk/a11y';\nimport { Injectable, ComponentRef, TemplateRef, Type, Inject } from '@angular/core';\nimport { MESSAGE_TOAST_CONFIG } from '../constants';\nimport { MessageToastComponent } from '../message-toast.component';\nimport { MessageToastContainerComponent } from '../message-toast-utils/message-toast-container.component';\nimport { MessageToastRef } from '../message-toast-utils/message-toast-ref';\nimport { MessageToastConfig } from '../message-toast-utils/message-toast-config';\nimport { DynamicComponentService } from '@fundamental-ngx/core/utils';\n\n/**\n * Service for generating message toasts dynamically.\n */\n@Injectable()\nexport class MessageToastService {\n /** @hidden */\n private _messageToasts: ComponentRef<MessageToastComponent>[] = [];\n\n /** @hidden */\n private _messageToastContainerRef: ComponentRef<MessageToastContainerComponent> | undefined;\n\n /** @hidden */\n constructor(\n private _dynamicComponentService: DynamicComponentService,\n private _liveAnnouncer: LiveAnnouncer,\n @Inject(MESSAGE_TOAST_CONFIG) private _defaultConfig: MessageToastConfig\n ) {}\n\n /**\n * Returns true if there are some message toasts currently open. False otherwise.\n */\n hasOpenMessageToasts(): boolean {\n return this._messageToasts && this._messageToasts.length > 0;\n }\n\n /**\n * Opens a message toast component with a content of type TemplateRef, Component Type or String.\n * @param content Content of the message toast component.\n * @param messageToastConfig Configuration of the message toast component.\n */\n open(content: TemplateRef<any> | Type<any> | string, messageToastConfig: MessageToastConfig = {}): MessageToastRef {\n // Get default values from message toast model\n const mergedConfig = { ...this._defaultConfig, ...messageToastConfig };\n\n // We need MessageToastConfig instance for correct DI in the component.\n messageToastConfig = Object.assign(new MessageToastConfig(), mergedConfig);\n\n // Instantiate message toast ref service\n const service: MessageToastRef = new MessageToastRef();\n service.data = messageToastConfig.data;\n\n // If empty or undefined message toast array, create container\n if (!this._messageToasts || this._messageToasts.length === 0 || !this._messageToastContainerRef) {\n this._messageToastContainerRef =\n this._dynamicComponentService.createDynamicComponent<MessageToastContainerComponent>(\n content,\n MessageToastContainerComponent,\n messageToastConfig\n );\n }\n\n // Define Container to put backdrop and component to container\n messageToastConfig.container = this._messageToastContainerRef.location.nativeElement;\n\n const component = this._dynamicComponentService.createDynamicComponent<MessageToastComponent>(\n content,\n MessageToastComponent,\n messageToastConfig,\n { services: [service, messageToastConfig] }\n );\n\n component.location.nativeElement.style.marginBottom = '10px';\n\n // Subscription to close message toast from ref\n const refSub = service.afterTimeout.subscribe(() => {\n this._destroyMessageToastComponent(component);\n refSub.unsubscribe();\n });\n\n this._messageToasts.push(component);\n\n return service;\n }\n\n /**\n * Hides all message toasts opened by the service.\n */\n hideAll(): void {\n this._messageToasts.forEach((ref) => {\n this._destroyMessageToastComponent(ref);\n });\n }\n\n /** @hidden */\n private _destroyMessageToastComponent(messageToast: ComponentRef<MessageToastComponent>): void {\n this._messageToasts = this._messageToasts.filter((item) => item && item !== messageToast);\n this._dynamicComponentService.destroyComponent(messageToast);\n\n if (this._messageToastContainerRef && (!this._messageToasts || this._messageToasts.length === 0)) {\n this._destroyMessageToastContainer();\n }\n }\n\n /** @hidden */\n private _destroyMessageToastContainer(): void {\n if (this._messageToastContainerRef) {\n this._dynamicComponentService.destroyComponent(this._messageToastContainerRef);\n this._messageToastContainerRef = undefined;\n }\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MESSAGE_TOAST_CONFIG } from './constants';\nimport { MessageToastConfig } from './message-toast-utils/message-toast-config';\n\nimport { MessageToastComponent } from './message-toast.component';\nimport { MessageToastService } from './message-toast-service/message-toast.service';\nimport { MessageToastContainerComponent } from './message-toast-utils/message-toast-container.component';\nimport { DynamicComponentService } from '@fundamental-ngx/core/utils';\n\n/**\n * Adds Message Toast functionality to your application.\n *\n * Can be imported in two ways:\n * * Plain MessageToastModule with default configuration\n * * With `withConfig()` method which allows passing custom default configuration.\n */\n@NgModule({\n declarations: [MessageToastComponent, MessageToastContainerComponent],\n imports: [CommonModule],\n exports: [MessageToastComponent, MessageToastContainerComponent],\n providers: [\n MessageToastService,\n DynamicComponentService,\n // Provide default configuration which user can later override.\n {\n provide: MESSAGE_TOAST_CONFIG,\n useValue: new MessageToastConfig()\n }\n ]\n})\nexport class MessageToastModule {\n /**\n * Allows configuring module on a global level with custom configuration.\n * @param config User's custom configuration.\n */\n static withConfig(config: MessageToastConfig): ModuleWithProviders<MessageToastModule> {\n return {\n ngModule: MessageToastModule,\n providers: [\n {\n provide: MESSAGE_TOAST_CONFIG,\n useValue: config\n }\n ]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.MessageToastConfig","i2.MessageToastRef"],"mappings":";;;;;;;;MAGa,oBAAoB,GAAG,IAAI,cAAc,CAAqB,oBAAoB;;ACC/F;;AAEG;MACU,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;;AAQI,QAAA,IAAQ,CAAA,QAAA,GAAY,IAAI,CAAC;;AAGzB,QAAA,IAAY,CAAA,YAAA,GAAa,KAAK,CAAC;;AAe/B,QAAA,IAAS,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;AAEG;;;;"}
|
|
@@ -196,7 +196,7 @@ NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ve
|
|
|
196
196
|
NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: NotificationComponent, selector: "fd-notification", inputs: { width: "width", mobile: "mobile" }, host: { attributes: { "role": "alertdialog" }, listeners: { "window:keyup": "_closeNotificationEsc($event)" }, properties: { "attr.aria-labelledby": "ariaLabelledBy", "attr.aria-label": "ariaLabel", "attr.dir": "_dir", "attr.id": "id", "style.width": "this.width", "class.fd-notification--in-dialog": "this._inDialog" } }, viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["vc"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: `
|
|
197
197
|
<ng-content></ng-content>
|
|
198
198
|
<ng-container #vc></ng-container>
|
|
199
|
-
`, isInline: true, styles: ["@charset \"UTF-8\";/*!\n * Fundamental Library Styles v0.26.0-rc.45\n * Copyright (c) 2022 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-notification{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow0);background-color:var(--sapList_Background);border:0;border-radius:.25rem;box-shadow:var(--sapContent_Shadow0);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 0 1.25rem;max-width:40rem;padding:1rem .5rem 1rem 1rem;width:100%}.fd-notification:after,.fd-notification:before{box-sizing:inherit;font-size:inherit}.fd-notification[dir=rtl],[dir=rtl] .fd-notification{padding-left:.5rem;padding-right:1rem}.fd-notification__body{-webkit-box-sizing:border-box;-webkit-box-pack:justify;-ms-flex-pack:justify;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;justify-content:space-between;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-notification__body:after,.fd-notification__body:before{box-sizing:inherit;font-size:inherit}.fd-notification__body--message{padding-top:1rem}.fd-notification__content{-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 0 0 1rem;overflow:auto;padding:0;width:100%}.fd-notification__content:after,.fd-notification__content:before{box-sizing:inherit;font-size:inherit}.fd-notification__content[dir=rtl],[dir=rtl] .fd-notification__content{margin-left:0;margin-right:1rem}.fd-notification__content:first-child{margin-left:0}.fd-notification__content:first-child[dir=rtl],[dir=rtl] .fd-notification__content:first-child{margin-right:0}.fd-notification .fd-notification__title{-webkit-box-sizing:border-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader6Size);font-weight:400;font-weight:var(--sapFontHeaderWeight);forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0 0 .25rem;max-height:2.5rem;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:normal}.fd-notification .fd-notification__title:after,.fd-notification .fd-notification__title:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__title--unread{font-weight:700}.fd-notification .fd-notification__paragraph{-webkit-box-sizing:border-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:.5rem 0 0;max-height:2.75rem;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:normal}.fd-notification .fd-notification__paragraph:after,.fd-notification .fd-notification__paragraph:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__footer{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:.5rem 0 0;padding:0}.fd-notification .fd-notification__footer:after,.fd-notification .fd-notification__footer:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__footer-content{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fd-notification .fd-notification__footer-content:only-child{max-width:100%}.fd-notification .fd-notification__separator{-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 .5rem;padding:0}.fd-notification .fd-notification__separator:after,.fd-notification .fd-notification__separator:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__separator:before{content:\"\\b7\"}.fd-notification__header{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-notification__header:after,.fd-notification__header:before{box-sizing:inherit;font-size:inherit}.fd-notification__actions{-webkit-box-sizing:border-box;-webkit-box-align:start;-ms-flex-align:start;-webkit-box-flex:1;-ms-flex:1 0 auto;align-items:flex-start;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex:1 0 auto;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0 0 0 1rem}.fd-notification__actions:after,.fd-notification__actions:before{box-sizing:inherit;font-size:inherit}.fd-notification__actions[dir=rtl],[dir=rtl] .fd-notification__actions{padding-left:0;padding-right:1rem}.fd-notification__actions>*{margin-left:.5rem}.fd-notification__actions>:first-child{margin-left:0}.fd-notification__actions>[dir=rtl],[dir=rtl] .fd-notification__actions>*{margin-left:0;margin-right:.5rem}.fd-notification__limit{-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:1rem;text-align:center}.fd-notification__limit:after,.fd-notification__limit:before{box-sizing:inherit;font-size:inherit}.fd-notification__limit--title{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader5Size);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;white-space:break-spaces}.fd-notification__limit--title:after,.fd-notification__limit--title:before{box-sizing:inherit;font-size:inherit}.fd-notification__limit--description{-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:.5rem 0 0;padding:0;white-space:break-spaces}.fd-notification__limit--description:after,.fd-notification__limit--description:before{box-sizing:inherit;font-size:inherit}.fd-notification__indicator{-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:0 .5rem 0 0}.fd-notification__indicator:after,.fd-notification__indicator:before{box-sizing:inherit;font-size:inherit}.fd-notification__indicator[dir=rtl],[dir=rtl] .fd-notification__indicator{padding-left:.5rem;padding-right:0}.fd-notification__indicator--error{color:var(--sapErrorColor)}.fd-notification__indicator--error:before{content:\"\\e0b1\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--success{color:var(--sapSuccessColor)}.fd-notification__indicator--success:before{content:\"\\e203\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--warning{color:var(--sapWarningColor)}.fd-notification__indicator--warning:before{content:\"\\e201\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--information{color:var(--sapInformationColor)}.fd-notification__indicator--information:before{content:\"\\e202\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification--group{-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;height:100%;line-height:var(--sapContent_LineHeight);margin:0;overflow:hidden;padding:0}.fd-notification--group:after,.fd-notification--group:before{box-sizing:inherit;font-size:inherit}.fd-notification--group .fd-notification__body:last-of-type{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.fd-notification--group .fd-notification__body{border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);padding:1rem .5rem 1rem 1rem}.fd-notification--group .fd-notification__body[dir=rtl],[dir=rtl] .fd-notification--group .fd-notification__body{padding-left:.5rem;padding-right:1rem}.fd-notification--group .fd-notification__group-header{-webkit-box-sizing:border-box;align-items:baseline;border:0;border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:.75rem .5rem .25rem 1rem}.fd-notification--group .fd-notification__group-header:after,.fd-notification--group .fd-notification__group-header:before{box-sizing:inherit;font-size:inherit}.fd-notification--group .fd-notification__group-header[dir=rtl],[dir=rtl] .fd-notification--group .fd-notification__group-header{padding-left:.5rem;padding-right:1rem}.fd-notification--group[dir=rtl],[dir=rtl] .fd-notification--group{padding-left:0;padding-right:0}.fd-notification--mobile{padding:0}.fd-notification--mobile .fd-notification__body:last-of-type{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.fd-notification--mobile .fd-notification__indicator{padding-right:.25rem}.fd-notification--mobile .fd-notification__indicator[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__indicator{padding-left:.75rem;padding-right:0}.fd-notification--mobile .fd-notification__group-header{padding:.5rem .5rem 0}.fd-notification--mobile .fd-notification__body{padding:1rem .5rem 1rem .75rem}.fd-notification--mobile .fd-notification__body[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__body{padding-left:.5rem;padding-right:.75rem}.fd-notification--mobile .fd-notification__content{margin-left:.75rem}.fd-notification--mobile .fd-notification__content[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__content{margin-left:0;margin-right:.75rem}.fd-notification--in-dialog{-webkit-box-shadow:none;border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;margin-bottom:0}.fd-notification--in-dialog:last-of-type{border-bottom:none}.fd-notification-custom-block{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
199
|
+
`, isInline: true, styles: ["@charset \"UTF-8\";/*!\n * Fundamental Library Styles v0.26.4\n * Copyright (c) 2022 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-notification{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow0);background-color:var(--sapList_Background);border:0;border-radius:.25rem;box-shadow:var(--sapContent_Shadow0);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 0 1.25rem;max-width:40rem;padding:1rem .5rem 1rem 1rem;width:100%}.fd-notification:after,.fd-notification:before{box-sizing:inherit;font-size:inherit}.fd-notification[dir=rtl],[dir=rtl] .fd-notification{padding-left:.5rem;padding-right:1rem}.fd-notification__body{-webkit-box-sizing:border-box;-webkit-box-pack:justify;-ms-flex-pack:justify;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;justify-content:space-between;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-notification__body:after,.fd-notification__body:before{box-sizing:inherit;font-size:inherit}.fd-notification__body--message{padding-top:1rem}.fd-notification__content{-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 0 0 1rem;overflow:auto;padding:0;width:100%}.fd-notification__content:after,.fd-notification__content:before{box-sizing:inherit;font-size:inherit}.fd-notification__content[dir=rtl],[dir=rtl] .fd-notification__content{margin-left:0;margin-right:1rem}.fd-notification__content:first-child{margin-left:0}.fd-notification__content:first-child[dir=rtl],[dir=rtl] .fd-notification__content:first-child{margin-right:0}.fd-notification .fd-notification__title{-webkit-box-sizing:border-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader6Size);font-weight:400;font-weight:var(--sapFontHeaderWeight);forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0 0 .25rem;max-height:2.5rem;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:normal}.fd-notification .fd-notification__title:after,.fd-notification .fd-notification__title:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__title--unread{font-weight:700}.fd-notification .fd-notification__paragraph{-webkit-box-sizing:border-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:.5rem 0 0;max-height:2.75rem;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:normal}.fd-notification .fd-notification__paragraph:after,.fd-notification .fd-notification__paragraph:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__footer{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:.5rem 0 0;padding:0}.fd-notification .fd-notification__footer:after,.fd-notification .fd-notification__footer:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__footer-content{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fd-notification .fd-notification__footer-content:only-child{max-width:100%}.fd-notification .fd-notification__separator{-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 .5rem;padding:0}.fd-notification .fd-notification__separator:after,.fd-notification .fd-notification__separator:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__separator:before{content:\"\\b7\"}.fd-notification__header{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-notification__header:after,.fd-notification__header:before{box-sizing:inherit;font-size:inherit}.fd-notification__actions{-webkit-box-sizing:border-box;-webkit-box-align:start;-ms-flex-align:start;-webkit-box-flex:1;-ms-flex:1 0 auto;align-items:flex-start;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex:1 0 auto;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0 0 0 1rem}.fd-notification__actions:after,.fd-notification__actions:before{box-sizing:inherit;font-size:inherit}.fd-notification__actions[dir=rtl],[dir=rtl] .fd-notification__actions{padding-left:0;padding-right:1rem}.fd-notification__actions>*{margin-left:.5rem}.fd-notification__actions>:first-child{margin-left:0}.fd-notification__actions>[dir=rtl],[dir=rtl] .fd-notification__actions>*{margin-left:0;margin-right:.5rem}.fd-notification__limit{-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:1rem;text-align:center}.fd-notification__limit:after,.fd-notification__limit:before{box-sizing:inherit;font-size:inherit}.fd-notification__limit--title{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader5Size);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;white-space:break-spaces}.fd-notification__limit--title:after,.fd-notification__limit--title:before{box-sizing:inherit;font-size:inherit}.fd-notification__limit--description{-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:.5rem 0 0;padding:0;white-space:break-spaces}.fd-notification__limit--description:after,.fd-notification__limit--description:before{box-sizing:inherit;font-size:inherit}.fd-notification__indicator{-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:0 .5rem 0 0}.fd-notification__indicator:after,.fd-notification__indicator:before{box-sizing:inherit;font-size:inherit}.fd-notification__indicator[dir=rtl],[dir=rtl] .fd-notification__indicator{padding-left:.5rem;padding-right:0}.fd-notification__indicator--error{color:var(--sapErrorColor)}.fd-notification__indicator--error:before{content:\"\\e0b1\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--success{color:var(--sapSuccessColor)}.fd-notification__indicator--success:before{content:\"\\e203\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--warning{color:var(--sapWarningColor)}.fd-notification__indicator--warning:before{content:\"\\e201\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--information{color:var(--sapInformationColor)}.fd-notification__indicator--information:before{content:\"\\e202\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification--group{-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;height:100%;line-height:var(--sapContent_LineHeight);margin:0;overflow:hidden;padding:0}.fd-notification--group:after,.fd-notification--group:before{box-sizing:inherit;font-size:inherit}.fd-notification--group .fd-notification__body:last-of-type{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.fd-notification--group .fd-notification__body{border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);padding:1rem .5rem 1rem 1rem}.fd-notification--group .fd-notification__body[dir=rtl],[dir=rtl] .fd-notification--group .fd-notification__body{padding-left:.5rem;padding-right:1rem}.fd-notification--group .fd-notification__group-header{-webkit-box-sizing:border-box;align-items:baseline;border:0;border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:.75rem .5rem .25rem 1rem}.fd-notification--group .fd-notification__group-header:after,.fd-notification--group .fd-notification__group-header:before{box-sizing:inherit;font-size:inherit}.fd-notification--group .fd-notification__group-header[dir=rtl],[dir=rtl] .fd-notification--group .fd-notification__group-header{padding-left:.5rem;padding-right:1rem}.fd-notification--group[dir=rtl],[dir=rtl] .fd-notification--group{padding-left:0;padding-right:0}.fd-notification--mobile{padding:0}.fd-notification--mobile .fd-notification__body:last-of-type{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.fd-notification--mobile .fd-notification__indicator{padding-right:.25rem}.fd-notification--mobile .fd-notification__indicator[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__indicator{padding-left:.75rem;padding-right:0}.fd-notification--mobile .fd-notification__group-header{padding:.5rem .5rem 0}.fd-notification--mobile .fd-notification__body{padding:1rem .5rem 1rem .75rem}.fd-notification--mobile .fd-notification__body[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__body{padding-left:.5rem;padding-right:.75rem}.fd-notification--mobile .fd-notification__content{margin-left:.75rem}.fd-notification--mobile .fd-notification__content[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__content{margin-left:0;margin-right:.75rem}.fd-notification--in-dialog{-webkit-box-shadow:none;border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;margin-bottom:0}.fd-notification--in-dialog:last-of-type{border-bottom:none}.fd-notification-custom-block{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
200
200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
201
201
|
type: Component,
|
|
202
202
|
args: [{ selector: 'fd-notification', template: `
|
|
@@ -208,7 +208,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
208
208
|
'[attr.dir]': '_dir',
|
|
209
209
|
role: 'alertdialog',
|
|
210
210
|
'[attr.id]': 'id'
|
|
211
|
-
}, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["@charset \"UTF-8\";/*!\n * Fundamental Library Styles v0.26.0-rc.45\n * Copyright (c) 2022 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-notification{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow0);background-color:var(--sapList_Background);border:0;border-radius:.25rem;box-shadow:var(--sapContent_Shadow0);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 0 1.25rem;max-width:40rem;padding:1rem .5rem 1rem 1rem;width:100%}.fd-notification:after,.fd-notification:before{box-sizing:inherit;font-size:inherit}.fd-notification[dir=rtl],[dir=rtl] .fd-notification{padding-left:.5rem;padding-right:1rem}.fd-notification__body{-webkit-box-sizing:border-box;-webkit-box-pack:justify;-ms-flex-pack:justify;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;justify-content:space-between;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-notification__body:after,.fd-notification__body:before{box-sizing:inherit;font-size:inherit}.fd-notification__body--message{padding-top:1rem}.fd-notification__content{-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 0 0 1rem;overflow:auto;padding:0;width:100%}.fd-notification__content:after,.fd-notification__content:before{box-sizing:inherit;font-size:inherit}.fd-notification__content[dir=rtl],[dir=rtl] .fd-notification__content{margin-left:0;margin-right:1rem}.fd-notification__content:first-child{margin-left:0}.fd-notification__content:first-child[dir=rtl],[dir=rtl] .fd-notification__content:first-child{margin-right:0}.fd-notification .fd-notification__title{-webkit-box-sizing:border-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader6Size);font-weight:400;font-weight:var(--sapFontHeaderWeight);forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0 0 .25rem;max-height:2.5rem;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:normal}.fd-notification .fd-notification__title:after,.fd-notification .fd-notification__title:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__title--unread{font-weight:700}.fd-notification .fd-notification__paragraph{-webkit-box-sizing:border-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:.5rem 0 0;max-height:2.75rem;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:normal}.fd-notification .fd-notification__paragraph:after,.fd-notification .fd-notification__paragraph:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__footer{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:.5rem 0 0;padding:0}.fd-notification .fd-notification__footer:after,.fd-notification .fd-notification__footer:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__footer-content{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fd-notification .fd-notification__footer-content:only-child{max-width:100%}.fd-notification .fd-notification__separator{-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 .5rem;padding:0}.fd-notification .fd-notification__separator:after,.fd-notification .fd-notification__separator:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__separator:before{content:\"\\b7\"}.fd-notification__header{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-notification__header:after,.fd-notification__header:before{box-sizing:inherit;font-size:inherit}.fd-notification__actions{-webkit-box-sizing:border-box;-webkit-box-align:start;-ms-flex-align:start;-webkit-box-flex:1;-ms-flex:1 0 auto;align-items:flex-start;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex:1 0 auto;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0 0 0 1rem}.fd-notification__actions:after,.fd-notification__actions:before{box-sizing:inherit;font-size:inherit}.fd-notification__actions[dir=rtl],[dir=rtl] .fd-notification__actions{padding-left:0;padding-right:1rem}.fd-notification__actions>*{margin-left:.5rem}.fd-notification__actions>:first-child{margin-left:0}.fd-notification__actions>[dir=rtl],[dir=rtl] .fd-notification__actions>*{margin-left:0;margin-right:.5rem}.fd-notification__limit{-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:1rem;text-align:center}.fd-notification__limit:after,.fd-notification__limit:before{box-sizing:inherit;font-size:inherit}.fd-notification__limit--title{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader5Size);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;white-space:break-spaces}.fd-notification__limit--title:after,.fd-notification__limit--title:before{box-sizing:inherit;font-size:inherit}.fd-notification__limit--description{-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:.5rem 0 0;padding:0;white-space:break-spaces}.fd-notification__limit--description:after,.fd-notification__limit--description:before{box-sizing:inherit;font-size:inherit}.fd-notification__indicator{-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:0 .5rem 0 0}.fd-notification__indicator:after,.fd-notification__indicator:before{box-sizing:inherit;font-size:inherit}.fd-notification__indicator[dir=rtl],[dir=rtl] .fd-notification__indicator{padding-left:.5rem;padding-right:0}.fd-notification__indicator--error{color:var(--sapErrorColor)}.fd-notification__indicator--error:before{content:\"\\e0b1\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--success{color:var(--sapSuccessColor)}.fd-notification__indicator--success:before{content:\"\\e203\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--warning{color:var(--sapWarningColor)}.fd-notification__indicator--warning:before{content:\"\\e201\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--information{color:var(--sapInformationColor)}.fd-notification__indicator--information:before{content:\"\\e202\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification--group{-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;height:100%;line-height:var(--sapContent_LineHeight);margin:0;overflow:hidden;padding:0}.fd-notification--group:after,.fd-notification--group:before{box-sizing:inherit;font-size:inherit}.fd-notification--group .fd-notification__body:last-of-type{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.fd-notification--group .fd-notification__body{border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);padding:1rem .5rem 1rem 1rem}.fd-notification--group .fd-notification__body[dir=rtl],[dir=rtl] .fd-notification--group .fd-notification__body{padding-left:.5rem;padding-right:1rem}.fd-notification--group .fd-notification__group-header{-webkit-box-sizing:border-box;align-items:baseline;border:0;border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:.75rem .5rem .25rem 1rem}.fd-notification--group .fd-notification__group-header:after,.fd-notification--group .fd-notification__group-header:before{box-sizing:inherit;font-size:inherit}.fd-notification--group .fd-notification__group-header[dir=rtl],[dir=rtl] .fd-notification--group .fd-notification__group-header{padding-left:.5rem;padding-right:1rem}.fd-notification--group[dir=rtl],[dir=rtl] .fd-notification--group{padding-left:0;padding-right:0}.fd-notification--mobile{padding:0}.fd-notification--mobile .fd-notification__body:last-of-type{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.fd-notification--mobile .fd-notification__indicator{padding-right:.25rem}.fd-notification--mobile .fd-notification__indicator[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__indicator{padding-left:.75rem;padding-right:0}.fd-notification--mobile .fd-notification__group-header{padding:.5rem .5rem 0}.fd-notification--mobile .fd-notification__body{padding:1rem .5rem 1rem .75rem}.fd-notification--mobile .fd-notification__body[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__body{padding-left:.5rem;padding-right:.75rem}.fd-notification--mobile .fd-notification__content{margin-left:.75rem}.fd-notification--mobile .fd-notification__content[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__content{margin-left:0;margin-right:.75rem}.fd-notification--in-dialog{-webkit-box-shadow:none;border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;margin-bottom:0}.fd-notification--in-dialog:last-of-type{border-bottom:none}.fd-notification-custom-block{display:block}\n"] }]
|
|
211
|
+
}, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["@charset \"UTF-8\";/*!\n * Fundamental Library Styles v0.26.4\n * Copyright (c) 2022 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-notification{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow0);background-color:var(--sapList_Background);border:0;border-radius:.25rem;box-shadow:var(--sapContent_Shadow0);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 0 1.25rem;max-width:40rem;padding:1rem .5rem 1rem 1rem;width:100%}.fd-notification:after,.fd-notification:before{box-sizing:inherit;font-size:inherit}.fd-notification[dir=rtl],[dir=rtl] .fd-notification{padding-left:.5rem;padding-right:1rem}.fd-notification__body{-webkit-box-sizing:border-box;-webkit-box-pack:justify;-ms-flex-pack:justify;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;justify-content:space-between;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-notification__body:after,.fd-notification__body:before{box-sizing:inherit;font-size:inherit}.fd-notification__body--message{padding-top:1rem}.fd-notification__content{-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 0 0 1rem;overflow:auto;padding:0;width:100%}.fd-notification__content:after,.fd-notification__content:before{box-sizing:inherit;font-size:inherit}.fd-notification__content[dir=rtl],[dir=rtl] .fd-notification__content{margin-left:0;margin-right:1rem}.fd-notification__content:first-child{margin-left:0}.fd-notification__content:first-child[dir=rtl],[dir=rtl] .fd-notification__content:first-child{margin-right:0}.fd-notification .fd-notification__title{-webkit-box-sizing:border-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader6Size);font-weight:400;font-weight:var(--sapFontHeaderWeight);forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0 0 .25rem;max-height:2.5rem;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:normal}.fd-notification .fd-notification__title:after,.fd-notification .fd-notification__title:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__title--unread{font-weight:700}.fd-notification .fd-notification__paragraph{-webkit-box-sizing:border-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:.5rem 0 0;max-height:2.75rem;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:normal}.fd-notification .fd-notification__paragraph:after,.fd-notification .fd-notification__paragraph:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__footer{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:.5rem 0 0;padding:0}.fd-notification .fd-notification__footer:after,.fd-notification .fd-notification__footer:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__footer-content{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fd-notification .fd-notification__footer-content:only-child{max-width:100%}.fd-notification .fd-notification__separator{-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 .5rem;padding:0}.fd-notification .fd-notification__separator:after,.fd-notification .fd-notification__separator:before{box-sizing:inherit;font-size:inherit}.fd-notification .fd-notification__separator:before{content:\"\\b7\"}.fd-notification__header{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-notification__header:after,.fd-notification__header:before{box-sizing:inherit;font-size:inherit}.fd-notification__actions{-webkit-box-sizing:border-box;-webkit-box-align:start;-ms-flex-align:start;-webkit-box-flex:1;-ms-flex:1 0 auto;align-items:flex-start;border:0;box-sizing:border-box;color:var(--sapTextColor);display:flex;flex:1 0 auto;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0 0 0 1rem}.fd-notification__actions:after,.fd-notification__actions:before{box-sizing:inherit;font-size:inherit}.fd-notification__actions[dir=rtl],[dir=rtl] .fd-notification__actions{padding-left:0;padding-right:1rem}.fd-notification__actions>*{margin-left:.5rem}.fd-notification__actions>:first-child{margin-left:0}.fd-notification__actions>[dir=rtl],[dir=rtl] .fd-notification__actions>*{margin-left:0;margin-right:.5rem}.fd-notification__limit{-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:1rem;text-align:center}.fd-notification__limit:after,.fd-notification__limit:before{box-sizing:inherit;font-size:inherit}.fd-notification__limit--title{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader5Size);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:0;white-space:break-spaces}.fd-notification__limit--title:after,.fd-notification__limit--title:before{box-sizing:inherit;font-size:inherit}.fd-notification__limit--description{-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:.5rem 0 0;padding:0;white-space:break-spaces}.fd-notification__limit--description:after,.fd-notification__limit--description:before{box-sizing:inherit;font-size:inherit}.fd-notification__indicator{-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:0 .5rem 0 0}.fd-notification__indicator:after,.fd-notification__indicator:before{box-sizing:inherit;font-size:inherit}.fd-notification__indicator[dir=rtl],[dir=rtl] .fd-notification__indicator{padding-left:.5rem;padding-right:0}.fd-notification__indicator--error{color:var(--sapErrorColor)}.fd-notification__indicator--error:before{content:\"\\e0b1\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--success{color:var(--sapSuccessColor)}.fd-notification__indicator--success:before{content:\"\\e203\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--warning{color:var(--sapWarningColor)}.fd-notification__indicator--warning:before{content:\"\\e201\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification__indicator--information{color:var(--sapInformationColor)}.fd-notification__indicator--information:before{content:\"\\e202\";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-rendering:optimizeLegibility;text-transform:none}.fd-notification--group{-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;height:100%;line-height:var(--sapContent_LineHeight);margin:0;overflow:hidden;padding:0}.fd-notification--group:after,.fd-notification--group:before{box-sizing:inherit;font-size:inherit}.fd-notification--group .fd-notification__body:last-of-type{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.fd-notification--group .fd-notification__body{border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);padding:1rem .5rem 1rem 1rem}.fd-notification--group .fd-notification__body[dir=rtl],[dir=rtl] .fd-notification--group .fd-notification__body{padding-left:.5rem;padding-right:1rem}.fd-notification--group .fd-notification__group-header{-webkit-box-sizing:border-box;align-items:baseline;border:0;border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);box-sizing:border-box;color:var(--sapTextColor);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;padding:.75rem .5rem .25rem 1rem}.fd-notification--group .fd-notification__group-header:after,.fd-notification--group .fd-notification__group-header:before{box-sizing:inherit;font-size:inherit}.fd-notification--group .fd-notification__group-header[dir=rtl],[dir=rtl] .fd-notification--group .fd-notification__group-header{padding-left:.5rem;padding-right:1rem}.fd-notification--group[dir=rtl],[dir=rtl] .fd-notification--group{padding-left:0;padding-right:0}.fd-notification--mobile{padding:0}.fd-notification--mobile .fd-notification__body:last-of-type{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.fd-notification--mobile .fd-notification__indicator{padding-right:.25rem}.fd-notification--mobile .fd-notification__indicator[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__indicator{padding-left:.75rem;padding-right:0}.fd-notification--mobile .fd-notification__group-header{padding:.5rem .5rem 0}.fd-notification--mobile .fd-notification__body{padding:1rem .5rem 1rem .75rem}.fd-notification--mobile .fd-notification__body[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__body{padding-left:.5rem;padding-right:.75rem}.fd-notification--mobile .fd-notification__content{margin-left:.75rem}.fd-notification--mobile .fd-notification__content[dir=rtl],[dir=rtl] .fd-notification--mobile .fd-notification__content{margin-left:0;margin-right:.75rem}.fd-notification--in-dialog{-webkit-box-shadow:none;border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;margin-bottom:0}.fd-notification--in-dialog:last-of-type{border-bottom:none}.fd-notification-custom-block{display:block}\n"] }]
|
|
212
212
|
}], ctorParameters: function () {
|
|
213
213
|
return [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: i1.Router }, { type: i2.ConfigurableFocusTrapFactory }, { type: NotificationConfig, decorators: [{
|
|
214
214
|
type: Optional
|