@coreui/angular-pro 4.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +4 -0
- package/README.md +153 -0
- package/bundles/coreui-angular-pro.umd.js +11697 -0
- package/bundles/coreui-angular-pro.umd.js.map +1 -0
- package/coreui-angular-pro.d.ts +5 -0
- package/esm2015/coreui-angular-pro.js +5 -0
- package/esm2015/lib/accordion/accordion/accordion.component.js +46 -0
- package/esm2015/lib/accordion/accordion-button/accordion-button.directive.js +30 -0
- package/esm2015/lib/accordion/accordion-item/accordion-item.component.js +60 -0
- package/esm2015/lib/accordion/accordion.module.js +50 -0
- package/esm2015/lib/accordion/accordion.service.js +36 -0
- package/esm2015/lib/accordion/index.js +2 -0
- package/esm2015/lib/accordion/public_api.js +5 -0
- package/esm2015/lib/alert/alert-heading.directive.js +22 -0
- package/esm2015/lib/alert/alert-link.directive.js +22 -0
- package/esm2015/lib/alert/alert.component.js +176 -0
- package/esm2015/lib/alert/alert.module.js +40 -0
- package/esm2015/lib/alert/index.js +2 -0
- package/esm2015/lib/alert/public_api.js +5 -0
- package/esm2015/lib/avatar/avatar.component.js +53 -0
- package/esm2015/lib/avatar/avatar.module.js +26 -0
- package/esm2015/lib/avatar/index.js +2 -0
- package/esm2015/lib/avatar/public_api.js +3 -0
- package/esm2015/lib/backdrop/backdrop.service.js +52 -0
- package/esm2015/lib/badge/badge.component.js +47 -0
- package/esm2015/lib/badge/badge.module.js +26 -0
- package/esm2015/lib/badge/index.js +2 -0
- package/esm2015/lib/badge/public_api.js +3 -0
- package/esm2015/lib/breadcrumb/breadcrumb/breadcrumb.component.js +47 -0
- package/esm2015/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.js +41 -0
- package/esm2015/lib/breadcrumb/breadcrumb-item/breadcrumb-item.js +2 -0
- package/esm2015/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.js +45 -0
- package/esm2015/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.js +53 -0
- package/esm2015/lib/breadcrumb/breadcrumb.module.js +37 -0
- package/esm2015/lib/breadcrumb/index.js +2 -0
- package/esm2015/lib/breadcrumb/public_api.js +5 -0
- package/esm2015/lib/button/button-close.directive.js +43 -0
- package/esm2015/lib/button/button.directive.js +109 -0
- package/esm2015/lib/button/button.module.js +31 -0
- package/esm2015/lib/button/index.js +2 -0
- package/esm2015/lib/button/public_api.js +4 -0
- package/esm2015/lib/button-group/button-group/button-group.component.js +41 -0
- package/esm2015/lib/button-group/button-group.module.js +31 -0
- package/esm2015/lib/button-group/button-toolbar/button-toolbar.component.js +35 -0
- package/esm2015/lib/button-group/index.js +2 -0
- package/esm2015/lib/button-group/public_api.js +4 -0
- package/esm2015/lib/callout/callout.component.js +27 -0
- package/esm2015/lib/callout/callout.module.js +22 -0
- package/esm2015/lib/callout/index.js +2 -0
- package/esm2015/lib/callout/public_api.js +3 -0
- package/esm2015/lib/card/card-body.component.js +22 -0
- package/esm2015/lib/card/card-footer.component.js +22 -0
- package/esm2015/lib/card/card-group.component.js +22 -0
- package/esm2015/lib/card/card-header-actions.component.js +20 -0
- package/esm2015/lib/card/card-header.component.js +22 -0
- package/esm2015/lib/card/card-img-overlay/card-img-overlay.component.js +23 -0
- package/esm2015/lib/card/card-img.directive.js +25 -0
- package/esm2015/lib/card/card-link.directive.js +21 -0
- package/esm2015/lib/card/card-subtitle.directive.js +21 -0
- package/esm2015/lib/card/card-text.directive.js +21 -0
- package/esm2015/lib/card/card-title.directive.js +21 -0
- package/esm2015/lib/card/card.component.js +29 -0
- package/esm2015/lib/card/card.module.js +81 -0
- package/esm2015/lib/card/index.js +2 -0
- package/esm2015/lib/card/public_api.js +14 -0
- package/esm2015/lib/carousel/carousel/carousel.component.js +140 -0
- package/esm2015/lib/carousel/carousel-caption/carousel-caption.component.js +21 -0
- package/esm2015/lib/carousel/carousel-control/carousel-control.component.js +88 -0
- package/esm2015/lib/carousel/carousel-indicators/carousel-indicators.component.js +51 -0
- package/esm2015/lib/carousel/carousel-inner/carousel-inner.component.js +53 -0
- package/esm2015/lib/carousel/carousel-item/carousel-item.component.js +65 -0
- package/esm2015/lib/carousel/carousel-state.js +72 -0
- package/esm2015/lib/carousel/carousel-state.type.js +2 -0
- package/esm2015/lib/carousel/carousel.animation.js +70 -0
- package/esm2015/lib/carousel/carousel.config.js +22 -0
- package/esm2015/lib/carousel/carousel.module.js +54 -0
- package/esm2015/lib/carousel/carousel.service.js +18 -0
- package/esm2015/lib/carousel/index.js +2 -0
- package/esm2015/lib/carousel/public_api.js +9 -0
- package/esm2015/lib/chart/chart.module.js +26 -0
- package/esm2015/lib/chart/index.js +2 -0
- package/esm2015/lib/chart/no-zone-basechart.directive.js +26 -0
- package/esm2015/lib/chart/public_api.js +3 -0
- package/esm2015/lib/collapse/collapse.animations.js +11 -0
- package/esm2015/lib/collapse/collapse.directive.js +125 -0
- package/esm2015/lib/collapse/collapse.module.js +25 -0
- package/esm2015/lib/collapse/index.js +2 -0
- package/esm2015/lib/collapse/public_api.js +3 -0
- package/esm2015/lib/coreui.types.js +10 -0
- package/esm2015/lib/dropdown/dropdown/dropdown.component.js +304 -0
- package/esm2015/lib/dropdown/dropdown-divider/dropdown-divider.directive.js +23 -0
- package/esm2015/lib/dropdown/dropdown-header/dropdown-header.directive.js +23 -0
- package/esm2015/lib/dropdown/dropdown-item/dropdown-item-plain.directive.js +23 -0
- package/esm2015/lib/dropdown/dropdown-item/dropdown-item.directive.js +68 -0
- package/esm2015/lib/dropdown/dropdown-menu/dropdown-menu.directive.js +81 -0
- package/esm2015/lib/dropdown/dropdown.module.js +61 -0
- package/esm2015/lib/dropdown/dropdown.service.js +18 -0
- package/esm2015/lib/dropdown/index.js +2 -0
- package/esm2015/lib/dropdown/public_api.js +9 -0
- package/esm2015/lib/footer/footer.component.js +38 -0
- package/esm2015/lib/footer/footer.module.js +26 -0
- package/esm2015/lib/footer/index.js +2 -0
- package/esm2015/lib/footer/public_api.js +3 -0
- package/esm2015/lib/form/form/form.directive.js +38 -0
- package/esm2015/lib/form/form-check/form-check-input.directive.js +60 -0
- package/esm2015/lib/form/form-check/form-check-label.directive.js +21 -0
- package/esm2015/lib/form/form-check/form-check.component.js +75 -0
- package/esm2015/lib/form/form-control/form-control.directive.js +71 -0
- package/esm2015/lib/form/form-feedback/form-feedback.component.js +42 -0
- package/esm2015/lib/form/form-floating/form-floating.directive.js +38 -0
- package/esm2015/lib/form/form-label/form-label.directive.js +39 -0
- package/esm2015/lib/form/form-select/form-select.directive.js +34 -0
- package/esm2015/lib/form/form-text/form-text.directive.js +22 -0
- package/esm2015/lib/form/form.module.js +77 -0
- package/esm2015/lib/form/index.js +2 -0
- package/esm2015/lib/form/input-group/input-group.component.js +31 -0
- package/esm2015/lib/form/input-group-text/input-group-text.directive.js +22 -0
- package/esm2015/lib/form/public_api.js +14 -0
- package/esm2015/lib/grid/col.component.js +16 -0
- package/esm2015/lib/grid/col.directive.js +151 -0
- package/esm2015/lib/grid/col.type.js +2 -0
- package/esm2015/lib/grid/container.component.js +47 -0
- package/esm2015/lib/grid/container.type.js +2 -0
- package/esm2015/lib/grid/grid.module.js +48 -0
- package/esm2015/lib/grid/gutter.directive.js +56 -0
- package/esm2015/lib/grid/gutter.type.js +2 -0
- package/esm2015/lib/grid/index.js +2 -0
- package/esm2015/lib/grid/public_api.js +8 -0
- package/esm2015/lib/grid/row.component.js +16 -0
- package/esm2015/lib/grid/row.directive.js +45 -0
- package/esm2015/lib/grid/row.type.js +2 -0
- package/esm2015/lib/header/header/header.component.js +50 -0
- package/esm2015/lib/header/header-brand/header-brand.component.js +31 -0
- package/esm2015/lib/header/header-divider/header-divider.component.js +20 -0
- package/esm2015/lib/header/header-nav/header-nav.component.js +32 -0
- package/esm2015/lib/header/header-text/header-text.component.js +20 -0
- package/esm2015/lib/header/header-toggler/header-toggler.directive.js +54 -0
- package/esm2015/lib/header/header.module.js +51 -0
- package/esm2015/lib/header/index.js +2 -0
- package/esm2015/lib/header/public_api.js +8 -0
- package/esm2015/lib/image/img.directive.js +91 -0
- package/esm2015/lib/image/img.module.js +26 -0
- package/esm2015/lib/image/index.js +2 -0
- package/esm2015/lib/image/public_api.js +3 -0
- package/esm2015/lib/list-group/index.js +2 -0
- package/esm2015/lib/list-group/list-group-item.directive.js +73 -0
- package/esm2015/lib/list-group/list-group.directive.js +44 -0
- package/esm2015/lib/list-group/list-group.module.js +27 -0
- package/esm2015/lib/list-group/public_api.js +4 -0
- package/esm2015/lib/loading-button/index.js +2 -0
- package/esm2015/lib/loading-button/loading-button.component.js +90 -0
- package/esm2015/lib/loading-button/loading-button.module.js +30 -0
- package/esm2015/lib/loading-button/public_api.js +3 -0
- package/esm2015/lib/modal/index.js +2 -0
- package/esm2015/lib/modal/modal/modal.component.js +309 -0
- package/esm2015/lib/modal/modal-body/modal-body.component.js +23 -0
- package/esm2015/lib/modal/modal-content/modal-content.component.js +37 -0
- package/esm2015/lib/modal/modal-dialog/modal-dialog.component.js +36 -0
- package/esm2015/lib/modal/modal-dismiss/modal-toggle.directive.js +27 -0
- package/esm2015/lib/modal/modal-footer/modal-footer.component.js +22 -0
- package/esm2015/lib/modal/modal-header/modal-header.component.js +24 -0
- package/esm2015/lib/modal/modal-title/modal-title.directive.js +21 -0
- package/esm2015/lib/modal/modal.module.js +71 -0
- package/esm2015/lib/modal/modal.service.js +21 -0
- package/esm2015/lib/modal/public_api.js +11 -0
- package/esm2015/lib/nav/index.js +2 -0
- package/esm2015/lib/nav/nav-item.component.js +23 -0
- package/esm2015/lib/nav/nav-link.directive.js +81 -0
- package/esm2015/lib/nav/nav.component.js +31 -0
- package/esm2015/lib/nav/nav.module.js +24 -0
- package/esm2015/lib/nav/public_api.js +5 -0
- package/esm2015/lib/navbar/index.js +2 -0
- package/esm2015/lib/navbar/navbar-brand/navbar-brand.directive.js +23 -0
- package/esm2015/lib/navbar/navbar-nav/navbar-nav.component.js +40 -0
- package/esm2015/lib/navbar/navbar-text/navbar-text.component.js +20 -0
- package/esm2015/lib/navbar/navbar-toggler/navbar-toggler.directive.js +64 -0
- package/esm2015/lib/navbar/navbar.component.js +88 -0
- package/esm2015/lib/navbar/navbar.module.js +50 -0
- package/esm2015/lib/navbar/public_api.js +7 -0
- package/esm2015/lib/offcanvas/index.js +2 -0
- package/esm2015/lib/offcanvas/offcanvas/offcanvas.component.js +251 -0
- package/esm2015/lib/offcanvas/offcanvas-body/offcanvas-body.component.js +23 -0
- package/esm2015/lib/offcanvas/offcanvas-header/offcanvas-header.component.js +23 -0
- package/esm2015/lib/offcanvas/offcanvas-title/offcanvas-title.directive.js +21 -0
- package/esm2015/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.js +27 -0
- package/esm2015/lib/offcanvas/offcanvas.module.js +59 -0
- package/esm2015/lib/offcanvas/offcanvas.service.js +21 -0
- package/esm2015/lib/offcanvas/public_api.js +8 -0
- package/esm2015/lib/pagination/index.js +2 -0
- package/esm2015/lib/pagination/page-item/page-item.component.js +16 -0
- package/esm2015/lib/pagination/page-item/page-item.directive.js +62 -0
- package/esm2015/lib/pagination/page-link/page-link.directive.js +21 -0
- package/esm2015/lib/pagination/pagination/pagination.component.js +45 -0
- package/esm2015/lib/pagination/pagination.module.js +41 -0
- package/esm2015/lib/pagination/public_api.js +6 -0
- package/esm2015/lib/popover/index.js +2 -0
- package/esm2015/lib/popover/popover/popover.component.js +96 -0
- package/esm2015/lib/popover/popover.directive.js +193 -0
- package/esm2015/lib/popover/popover.module.js +31 -0
- package/esm2015/lib/popover/public_api.js +4 -0
- package/esm2015/lib/progress/index.js +2 -0
- package/esm2015/lib/progress/progress-bar.component.js +112 -0
- package/esm2015/lib/progress/progress-bar.js +2 -0
- package/esm2015/lib/progress/progress.component.js +72 -0
- package/esm2015/lib/progress/progress.module.js +27 -0
- package/esm2015/lib/progress/public_api.js +4 -0
- package/esm2015/lib/services/class-toggle.service.js +30 -0
- package/esm2015/lib/services/index.js +2 -0
- package/esm2015/lib/services/listeners.service.js +44 -0
- package/esm2015/lib/services/public_api.js +2 -0
- package/esm2015/lib/shared/html-attr.directive.js +52 -0
- package/esm2015/lib/shared/index.js +2 -0
- package/esm2015/lib/shared/public_api.js +4 -0
- package/esm2015/lib/shared/shared.module.js +48 -0
- package/esm2015/lib/shared/template-id.directive.js +19 -0
- package/esm2015/lib/sidebar/index.js +2 -0
- package/esm2015/lib/sidebar/public_api.js +10 -0
- package/esm2015/lib/sidebar/sidebar/sidebar.component.js +220 -0
- package/esm2015/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.js +60 -0
- package/esm2015/lib/sidebar/sidebar-brand/sidebar-brand.component.js +33 -0
- package/esm2015/lib/sidebar/sidebar-footer/sidebar-footer.component.js +24 -0
- package/esm2015/lib/sidebar/sidebar-header/sidebar-header.component.js +24 -0
- package/esm2015/lib/sidebar/sidebar-nav/index.js +2 -0
- package/esm2015/lib/sidebar/sidebar-nav/public_api.js +14 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.js +24 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.js +18 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.js +21 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.js +33 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-label.component.js +46 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-link.component.js +99 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.js +24 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-title.component.js +68 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav.component.js +147 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav.js +2 -0
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav.service.js +54 -0
- package/esm2015/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.js +40 -0
- package/esm2015/lib/sidebar/sidebar-toggler/sidebar-toggler.component.js +26 -0
- package/esm2015/lib/sidebar/sidebar.module.js +98 -0
- package/esm2015/lib/sidebar/sidebar.service.js +21 -0
- package/esm2015/lib/spinner/index.js +2 -0
- package/esm2015/lib/spinner/public_api.js +3 -0
- package/esm2015/lib/spinner/spinner.component.js +52 -0
- package/esm2015/lib/spinner/spinner.module.js +30 -0
- package/esm2015/lib/table/index.js +2 -0
- package/esm2015/lib/table/public_api.js +5 -0
- package/esm2015/lib/table/table-active.directive.js +40 -0
- package/esm2015/lib/table/table-color.directive.js +24 -0
- package/esm2015/lib/table/table.directive.js +131 -0
- package/esm2015/lib/table/table.module.js +36 -0
- package/esm2015/lib/tabs/index.js +2 -0
- package/esm2015/lib/tabs/public_api.js +6 -0
- package/esm2015/lib/tabs/tab-content/tab-content.component.js +101 -0
- package/esm2015/lib/tabs/tab-content-ref.directive.js +130 -0
- package/esm2015/lib/tabs/tab-pane/tab-pane.component.js +62 -0
- package/esm2015/lib/tabs/tab.service.js +21 -0
- package/esm2015/lib/tabs/tabs.module.js +42 -0
- package/esm2015/lib/toast/index.js +2 -0
- package/esm2015/lib/toast/public_api.js +9 -0
- package/esm2015/lib/toast/toast/toast.component.js +244 -0
- package/esm2015/lib/toast/toast-body/toast-body.component.js +26 -0
- package/esm2015/lib/toast/toast-close.directive.js +28 -0
- package/esm2015/lib/toast/toast-header/toast-header.component.js +36 -0
- package/esm2015/lib/toast/toast.module.js +50 -0
- package/esm2015/lib/toast/toaster/toaster-host.directive.js +17 -0
- package/esm2015/lib/toast/toaster/toaster.component.js +149 -0
- package/esm2015/lib/toast/toaster/toaster.service.js +21 -0
- package/esm2015/lib/tooltip/index.js +2 -0
- package/esm2015/lib/tooltip/public_api.js +4 -0
- package/esm2015/lib/tooltip/tooltip/tooltip.component.js +92 -0
- package/esm2015/lib/tooltip/tooltip.directive.js +188 -0
- package/esm2015/lib/tooltip/tooltip.module.js +31 -0
- package/esm2015/lib/utilities/align.directive.js +24 -0
- package/esm2015/lib/utilities/bg-color.directive.js +33 -0
- package/esm2015/lib/utilities/border.directive.js +66 -0
- package/esm2015/lib/utilities/border.type.js +2 -0
- package/esm2015/lib/utilities/index.js +2 -0
- package/esm2015/lib/utilities/public_api.js +7 -0
- package/esm2015/lib/utilities/rounded.directive.js +56 -0
- package/esm2015/lib/utilities/rounded.type.js +2 -0
- package/esm2015/lib/utilities/text-color.directive.js +32 -0
- package/esm2015/lib/utilities/utilities.module.js +46 -0
- package/esm2015/lib/widget/index.js +2 -0
- package/esm2015/lib/widget/public_api.js +8 -0
- package/esm2015/lib/widget/widget-stat-a/widget-stat-a.component.js +54 -0
- package/esm2015/lib/widget/widget-stat-b/widget-stat-b.component.js +57 -0
- package/esm2015/lib/widget/widget-stat-c/widget-stat-c.component.js +85 -0
- package/esm2015/lib/widget/widget-stat-d/widget-stat-d.component.js +44 -0
- package/esm2015/lib/widget/widget-stat-e/widget-stat-e.component.js +35 -0
- package/esm2015/lib/widget/widget-stat-f/widget-stat-f.component.js +101 -0
- package/esm2015/lib/widget/widget.module.js +59 -0
- package/esm2015/public-api.js +42 -0
- package/fesm2015/coreui-angular-pro.js +9632 -0
- package/fesm2015/coreui-angular-pro.js.map +1 -0
- package/lib/accordion/accordion/accordion.component.d.ts +22 -0
- package/lib/accordion/accordion-button/accordion-button.directive.d.ts +12 -0
- package/lib/accordion/accordion-item/accordion-item.component.d.ts +26 -0
- package/lib/accordion/accordion.module.d.ts +12 -0
- package/lib/accordion/accordion.service.d.ts +13 -0
- package/lib/accordion/index.d.ts +1 -0
- package/lib/accordion/public_api.d.ts +4 -0
- package/lib/alert/alert-heading.directive.d.ts +7 -0
- package/lib/alert/alert-link.directive.d.ts +7 -0
- package/lib/alert/alert.component.d.ts +62 -0
- package/lib/alert/alert.module.d.ts +11 -0
- package/lib/alert/index.d.ts +1 -0
- package/lib/alert/public_api.d.ts +4 -0
- package/lib/avatar/avatar.component.d.ts +40 -0
- package/lib/avatar/avatar.module.d.ts +8 -0
- package/lib/avatar/index.d.ts +1 -0
- package/lib/avatar/public_api.d.ts +2 -0
- package/lib/backdrop/backdrop.service.d.ts +16 -0
- package/lib/badge/badge.component.d.ts +32 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/index.d.ts +1 -0
- package/lib/badge/public_api.d.ts +2 -0
- package/lib/breadcrumb/breadcrumb/breadcrumb.component.d.ts +21 -0
- package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.d.ts +28 -0
- package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +9 -0
- package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.d.ts +21 -0
- package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.d.ts +14 -0
- package/lib/breadcrumb/breadcrumb.module.d.ts +12 -0
- package/lib/breadcrumb/index.d.ts +1 -0
- package/lib/breadcrumb/public_api.d.ts +5 -0
- package/lib/button/button-close.directive.d.ts +16 -0
- package/lib/button/button.directive.d.ts +54 -0
- package/lib/button/button.module.d.ts +9 -0
- package/lib/button/index.d.ts +1 -0
- package/lib/button/public_api.d.ts +3 -0
- package/lib/button-group/button-group/button-group.component.d.ts +23 -0
- package/lib/button-group/button-group.module.d.ts +9 -0
- package/lib/button-group/button-toolbar/button-toolbar.component.d.ts +13 -0
- package/lib/button-group/index.d.ts +1 -0
- package/lib/button-group/public_api.d.ts +3 -0
- package/lib/callout/callout.component.d.ts +13 -0
- package/lib/callout/callout.module.d.ts +8 -0
- package/lib/callout/index.d.ts +1 -0
- package/lib/callout/public_api.d.ts +2 -0
- package/lib/card/card-body.component.d.ts +6 -0
- package/lib/card/card-footer.component.d.ts +6 -0
- package/lib/card/card-group.component.d.ts +6 -0
- package/lib/card/card-header-actions.component.d.ts +6 -0
- package/lib/card/card-header.component.d.ts +6 -0
- package/lib/card/card-img-overlay/card-img-overlay.component.d.ts +6 -0
- package/lib/card/card-img.directive.d.ts +11 -0
- package/lib/card/card-link.directive.d.ts +6 -0
- package/lib/card/card-subtitle.directive.d.ts +6 -0
- package/lib/card/card-text.directive.d.ts +6 -0
- package/lib/card/card-title.directive.d.ts +6 -0
- package/lib/card/card.component.d.ts +18 -0
- package/lib/card/card.module.d.ts +19 -0
- package/lib/card/index.d.ts +1 -0
- package/lib/card/public_api.d.ts +13 -0
- package/lib/carousel/carousel/carousel.component.d.ts +60 -0
- package/lib/carousel/carousel-caption/carousel-caption.component.d.ts +7 -0
- package/lib/carousel/carousel-control/carousel-control.component.d.ts +31 -0
- package/lib/carousel/carousel-indicators/carousel-indicators.component.d.ts +18 -0
- package/lib/carousel/carousel-inner/carousel-inner.component.d.ts +21 -0
- package/lib/carousel/carousel-item/carousel-item.component.d.ts +24 -0
- package/lib/carousel/carousel-state.d.ts +16 -0
- package/lib/carousel/carousel-state.type.d.ts +15 -0
- package/lib/carousel/carousel.animation.d.ts +4 -0
- package/lib/carousel/carousel.config.d.ts +10 -0
- package/lib/carousel/carousel.module.d.ts +15 -0
- package/lib/carousel/carousel.service.d.ts +12 -0
- package/lib/carousel/index.d.ts +1 -0
- package/lib/carousel/public_api.d.ts +8 -0
- package/lib/chart/chart.module.d.ts +8 -0
- package/lib/chart/index.d.ts +1 -0
- package/lib/chart/no-zone-basechart.directive.d.ts +9 -0
- package/lib/chart/public_api.d.ts +2 -0
- package/lib/collapse/collapse.animations.d.ts +2 -0
- package/lib/collapse/collapse.directive.d.ts +52 -0
- package/lib/collapse/collapse.module.d.ts +10 -0
- package/lib/collapse/index.d.ts +1 -0
- package/lib/collapse/public_api.d.ts +2 -0
- package/lib/coreui.types.d.ts +43 -0
- package/lib/dropdown/dropdown/dropdown.component.d.ts +111 -0
- package/lib/dropdown/dropdown-divider/dropdown-divider.directive.d.ts +7 -0
- package/lib/dropdown/dropdown-header/dropdown-header.directive.d.ts +7 -0
- package/lib/dropdown/dropdown-item/dropdown-item-plain.directive.d.ts +7 -0
- package/lib/dropdown/dropdown-item/dropdown-item.directive.d.ts +27 -0
- package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +36 -0
- package/lib/dropdown/dropdown.module.d.ts +13 -0
- package/lib/dropdown/dropdown.service.d.ts +13 -0
- package/lib/dropdown/index.d.ts +1 -0
- package/lib/dropdown/public_api.d.ts +8 -0
- package/lib/footer/footer.component.d.ts +18 -0
- package/lib/footer/footer.module.d.ts +8 -0
- package/lib/footer/index.d.ts +1 -0
- package/lib/footer/public_api.d.ts +2 -0
- package/lib/form/form/form.directive.d.ts +17 -0
- package/lib/form/form-check/form-check-input.directive.d.ts +31 -0
- package/lib/form/form-check/form-check-label.directive.d.ts +6 -0
- package/lib/form/form-check/form-check.component.d.ts +36 -0
- package/lib/form/form-control/form-control.directive.d.ts +34 -0
- package/lib/form/form-feedback/form-feedback.component.d.ts +18 -0
- package/lib/form/form-floating/form-floating.directive.d.ts +16 -0
- package/lib/form/form-label/form-label.directive.d.ts +16 -0
- package/lib/form/form-select/form-select.directive.d.ts +16 -0
- package/lib/form/form-text/form-text.directive.d.ts +7 -0
- package/lib/form/form.module.d.ts +19 -0
- package/lib/form/index.d.ts +1 -0
- package/lib/form/input-group/input-group.component.d.ts +11 -0
- package/lib/form/input-group-text/input-group-text.directive.d.ts +7 -0
- package/lib/form/public_api.d.ts +13 -0
- package/lib/grid/col.component.d.ts +6 -0
- package/lib/grid/col.directive.d.ts +73 -0
- package/lib/grid/col.type.d.ts +11 -0
- package/lib/grid/container.component.d.ts +20 -0
- package/lib/grid/container.type.d.ts +5 -0
- package/lib/grid/grid.module.d.ts +13 -0
- package/lib/grid/gutter.directive.d.ts +13 -0
- package/lib/grid/gutter.type.d.ts +13 -0
- package/lib/grid/index.d.ts +1 -0
- package/lib/grid/public_api.d.ts +7 -0
- package/lib/grid/row.component.d.ts +6 -0
- package/lib/grid/row.directive.d.ts +37 -0
- package/lib/grid/row.type.d.ts +9 -0
- package/lib/header/header/header.component.d.ts +25 -0
- package/lib/header/header-brand/header-brand.component.d.ts +12 -0
- package/lib/header/header-divider/header-divider.component.d.ts +6 -0
- package/lib/header/header-nav/header-nav.component.d.ts +12 -0
- package/lib/header/header-text/header-text.component.d.ts +6 -0
- package/lib/header/header-toggler/header-toggler.directive.d.ts +25 -0
- package/lib/header/header.module.d.ts +13 -0
- package/lib/header/index.d.ts +1 -0
- package/lib/header/public_api.d.ts +7 -0
- package/lib/image/img.directive.d.ts +42 -0
- package/lib/image/img.module.d.ts +8 -0
- package/lib/image/index.d.ts +1 -0
- package/lib/image/public_api.d.ts +2 -0
- package/lib/list-group/index.d.ts +1 -0
- package/lib/list-group/list-group-item.directive.d.ts +33 -0
- package/lib/list-group/list-group.directive.d.ts +21 -0
- package/lib/list-group/list-group.module.d.ts +9 -0
- package/lib/list-group/public_api.d.ts +3 -0
- package/lib/loading-button/index.d.ts +1 -0
- package/lib/loading-button/loading-button.component.d.ts +43 -0
- package/lib/loading-button/loading-button.module.d.ts +9 -0
- package/lib/loading-button/public_api.d.ts +2 -0
- package/lib/modal/index.d.ts +1 -0
- package/lib/modal/modal/modal.component.d.ts +102 -0
- package/lib/modal/modal-body/modal-body.component.d.ts +6 -0
- package/lib/modal/modal-content/modal-content.component.d.ts +12 -0
- package/lib/modal/modal-dialog/modal-dialog.component.d.ts +25 -0
- package/lib/modal/modal-dismiss/modal-toggle.directive.d.ts +13 -0
- package/lib/modal/modal-footer/modal-footer.component.d.ts +6 -0
- package/lib/modal/modal-header/modal-header.component.d.ts +6 -0
- package/lib/modal/modal-title/modal-title.directive.d.ts +6 -0
- package/lib/modal/modal.module.d.ts +16 -0
- package/lib/modal/modal.service.d.ts +15 -0
- package/lib/modal/public_api.d.ts +10 -0
- package/lib/nav/index.d.ts +1 -0
- package/lib/nav/nav-item.component.d.ts +6 -0
- package/lib/nav/nav-link.directive.d.ts +33 -0
- package/lib/nav/nav.component.d.ts +16 -0
- package/lib/nav/nav.module.d.ts +10 -0
- package/lib/nav/public_api.d.ts +4 -0
- package/lib/navbar/index.d.ts +1 -0
- package/lib/navbar/navbar-brand/navbar-brand.directive.d.ts +7 -0
- package/lib/navbar/navbar-nav/navbar-nav.component.d.ts +15 -0
- package/lib/navbar/navbar-text/navbar-text.component.d.ts +6 -0
- package/lib/navbar/navbar-toggler/navbar-toggler.directive.d.ts +33 -0
- package/lib/navbar/navbar.component.d.ts +39 -0
- package/lib/navbar/navbar.module.d.ts +13 -0
- package/lib/navbar/public_api.d.ts +6 -0
- package/lib/offcanvas/index.d.ts +1 -0
- package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +82 -0
- package/lib/offcanvas/offcanvas-body/offcanvas-body.component.d.ts +6 -0
- package/lib/offcanvas/offcanvas-header/offcanvas-header.component.d.ts +6 -0
- package/lib/offcanvas/offcanvas-title/offcanvas-title.directive.d.ts +6 -0
- package/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.d.ts +14 -0
- package/lib/offcanvas/offcanvas.module.d.ts +13 -0
- package/lib/offcanvas/offcanvas.service.d.ts +15 -0
- package/lib/offcanvas/public_api.d.ts +7 -0
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/page-item/page-item.component.d.ts +6 -0
- package/lib/pagination/page-item/page-item.directive.d.ts +24 -0
- package/lib/pagination/page-link/page-link.directive.d.ts +6 -0
- package/lib/pagination/pagination/pagination.component.d.ts +22 -0
- package/lib/pagination/pagination.module.d.ts +11 -0
- package/lib/pagination/public_api.d.ts +5 -0
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/popover/popover.component.d.ts +30 -0
- package/lib/popover/popover.directive.d.ts +58 -0
- package/lib/popover/popover.module.d.ts +9 -0
- package/lib/popover/public_api.d.ts +3 -0
- package/lib/progress/index.d.ts +1 -0
- package/lib/progress/progress-bar.component.d.ts +52 -0
- package/lib/progress/progress-bar.d.ts +10 -0
- package/lib/progress/progress.component.d.ts +32 -0
- package/lib/progress/progress.module.d.ts +9 -0
- package/lib/progress/public_api.d.ts +4 -0
- package/lib/services/class-toggle.service.d.ts +11 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/listeners.service.d.ts +19 -0
- package/lib/services/public_api.d.ts +1 -0
- package/lib/shared/html-attr.directive.d.ts +16 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/public_api.d.ts +3 -0
- package/lib/shared/shared.module.d.ts +11 -0
- package/lib/shared/template-id.directive.d.ts +9 -0
- package/lib/sidebar/index.d.ts +1 -0
- package/lib/sidebar/public_api.d.ts +9 -0
- package/lib/sidebar/sidebar/sidebar.component.d.ts +91 -0
- package/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.d.ts +16 -0
- package/lib/sidebar/sidebar-brand/sidebar-brand.component.d.ts +12 -0
- package/lib/sidebar/sidebar-footer/sidebar-footer.component.d.ts +7 -0
- package/lib/sidebar/sidebar-header/sidebar-header.component.d.ts +7 -0
- package/lib/sidebar/sidebar-nav/index.d.ts +1 -0
- package/lib/sidebar/sidebar-nav/public_api.d.ts +12 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.d.ts +7 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.d.ts +7 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.d.ts +7 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.d.ts +10 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-label.component.d.ts +18 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-link.component.d.ts +34 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.d.ts +7 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-title.component.d.ts +15 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +50 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav.d.ts +51 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav.service.d.ts +20 -0
- package/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.d.ts +25 -0
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +7 -0
- package/lib/sidebar/sidebar.module.d.ts +25 -0
- package/lib/sidebar/sidebar.service.d.ts +19 -0
- package/lib/spinner/index.d.ts +1 -0
- package/lib/spinner/public_api.d.ts +2 -0
- package/lib/spinner/spinner.component.d.ts +31 -0
- package/lib/spinner/spinner.module.d.ts +9 -0
- package/lib/table/index.d.ts +1 -0
- package/lib/table/public_api.d.ts +4 -0
- package/lib/table/table-active.directive.d.ts +16 -0
- package/lib/table/table-color.directive.d.ts +12 -0
- package/lib/table/table.directive.d.ts +80 -0
- package/lib/table/table.module.d.ts +10 -0
- package/lib/tabs/index.d.ts +1 -0
- package/lib/tabs/public_api.d.ts +5 -0
- package/lib/tabs/tab-content/tab-content.component.d.ts +33 -0
- package/lib/tabs/tab-content-ref.directive.d.ts +50 -0
- package/lib/tabs/tab-pane/tab-pane.component.d.ts +26 -0
- package/lib/tabs/tab.service.d.ts +14 -0
- package/lib/tabs/tabs.module.d.ts +10 -0
- package/lib/toast/index.d.ts +1 -0
- package/lib/toast/public_api.d.ts +8 -0
- package/lib/toast/toast/toast.component.d.ts +84 -0
- package/lib/toast/toast-body/toast-body.component.d.ts +9 -0
- package/lib/toast/toast-close.directive.d.ts +10 -0
- package/lib/toast/toast-header/toast-header.component.d.ts +14 -0
- package/lib/toast/toast.module.d.ts +14 -0
- package/lib/toast/toaster/toaster-host.directive.d.ts +8 -0
- package/lib/toast/toaster/toaster.component.d.ts +55 -0
- package/lib/toast/toaster/toaster.service.d.ts +16 -0
- package/lib/tooltip/index.d.ts +1 -0
- package/lib/tooltip/public_api.d.ts +3 -0
- package/lib/tooltip/tooltip/tooltip.component.d.ts +30 -0
- package/lib/tooltip/tooltip.directive.d.ts +58 -0
- package/lib/tooltip/tooltip.module.d.ts +9 -0
- package/lib/utilities/align.directive.d.ts +12 -0
- package/lib/utilities/bg-color.directive.d.ts +17 -0
- package/lib/utilities/border.directive.d.ts +12 -0
- package/lib/utilities/border.type.d.ts +15 -0
- package/lib/utilities/index.d.ts +1 -0
- package/lib/utilities/public_api.d.ts +6 -0
- package/lib/utilities/rounded.directive.d.ts +12 -0
- package/lib/utilities/rounded.type.d.ts +12 -0
- package/lib/utilities/text-color.directive.d.ts +13 -0
- package/lib/utilities/utilities.module.d.ts +12 -0
- package/lib/widget/index.d.ts +1 -0
- package/lib/widget/public_api.d.ts +7 -0
- package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +37 -0
- package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +47 -0
- package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +58 -0
- package/lib/widget/widget-stat-d/widget-stat-d.component.d.ts +31 -0
- package/lib/widget/widget-stat-e/widget-stat-e.component.d.ts +24 -0
- package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +77 -0
- package/lib/widget/widget.module.d.ts +15 -0
- package/package.json +53 -0
- package/public-api.d.ts +38 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SidebarService } from '../sidebar.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Allows the sidebar to be toggled/folded via click on host element.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SidebarToggleDirective {
|
|
7
|
+
private sidebarService;
|
|
8
|
+
/**
|
|
9
|
+
* Id of sidebar for toggle action. [docs]
|
|
10
|
+
*
|
|
11
|
+
* @type string
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Sidebar property name for toggle action. [docs]
|
|
16
|
+
*
|
|
17
|
+
* @type 'visible' | 'unfoldable'
|
|
18
|
+
* @default 'visible'
|
|
19
|
+
*/
|
|
20
|
+
toggle: 'visible' | 'unfoldable';
|
|
21
|
+
constructor(sidebarService: SidebarService);
|
|
22
|
+
toggleOpen($event: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarToggleDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarToggleDirective, "[cSidebarToggle]", ["cSidebarToggle"], { "id": "cSidebarToggle"; "toggle": "toggle"; }, {}, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SidebarTogglerComponent {
|
|
3
|
+
role: string;
|
|
4
|
+
sidebarTogglerClass: boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarTogglerComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarTogglerComponent, "c-sidebar-toggler", never, { "role": "role"; }, {}, never, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sidebar/sidebar.component";
|
|
3
|
+
import * as i2 from "./sidebar-toggler/sidebar-toggler.component";
|
|
4
|
+
import * as i3 from "./sidebar-toggle/sidebar-toggle.directive";
|
|
5
|
+
import * as i4 from "./sidebar-brand/sidebar-brand.component";
|
|
6
|
+
import * as i5 from "./sidebar-nav/sidebar-nav-badge.pipe";
|
|
7
|
+
import * as i6 from "./sidebar-nav/sidebar-nav.component";
|
|
8
|
+
import * as i7 from "./sidebar-nav/sidebar-nav-divider.component";
|
|
9
|
+
import * as i8 from "./sidebar-nav/sidebar-nav-icon.pipe";
|
|
10
|
+
import * as i9 from "./sidebar-nav/sidebar-nav-item-class.pipe";
|
|
11
|
+
import * as i10 from "./sidebar-nav/sidebar-nav-label.component";
|
|
12
|
+
import * as i11 from "./sidebar-nav/sidebar-nav-link.component";
|
|
13
|
+
import * as i12 from "./sidebar-nav/sidebar-nav-link.pipe";
|
|
14
|
+
import * as i13 from "./sidebar-nav/sidebar-nav-title.component";
|
|
15
|
+
import * as i14 from "./sidebar-header/sidebar-header.component";
|
|
16
|
+
import * as i15 from "./sidebar-footer/sidebar-footer.component";
|
|
17
|
+
import * as i16 from "@angular/common";
|
|
18
|
+
import * as i17 from "@angular/router";
|
|
19
|
+
import * as i18 from "../shared/shared.module";
|
|
20
|
+
import * as i19 from "@coreui/icons-angular";
|
|
21
|
+
export declare class SidebarModule {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SidebarModule, [typeof i1.SidebarComponent, typeof i2.SidebarTogglerComponent, typeof i3.SidebarToggleDirective, typeof i4.SidebarBrandComponent, typeof i5.SidebarNavBadgePipe, typeof i6.SidebarNavComponent, typeof i7.SidebarNavDividerComponent, typeof i6.SidebarNavGroupComponent, typeof i8.SidebarNavIconPipe, typeof i9.SidebarNavItemClassPipe, typeof i10.SidebarNavLabelComponent, typeof i11.SidebarNavLinkComponent, typeof i11.SidebarNavLinkContentComponent, typeof i12.SidebarNavLinkPipe, typeof i13.SidebarNavTitleComponent, typeof i14.SidebarHeaderComponent, typeof i15.SidebarFooterComponent], [typeof i16.CommonModule, typeof i17.RouterModule, typeof i18.SharedModule, typeof i19.IconModule], [typeof i1.SidebarComponent, typeof i3.SidebarToggleDirective, typeof i2.SidebarTogglerComponent, typeof i4.SidebarBrandComponent, typeof i6.SidebarNavComponent, typeof i14.SidebarHeaderComponent, typeof i15.SidebarFooterComponent]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SidebarModule>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SidebarComponent } from './sidebar/sidebar.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ISidebarAction {
|
|
4
|
+
unfoldable?: boolean | 'toggle';
|
|
5
|
+
visible?: boolean | 'toggle';
|
|
6
|
+
toggle?: 'visible' | 'unfoldable';
|
|
7
|
+
narrow?: boolean;
|
|
8
|
+
mobile?: boolean;
|
|
9
|
+
sidebar?: SidebarComponent;
|
|
10
|
+
id?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class SidebarService {
|
|
13
|
+
private sidebarState;
|
|
14
|
+
sidebarState$: import("rxjs").Observable<ISidebarAction>;
|
|
15
|
+
constructor();
|
|
16
|
+
toggle(action: ISidebarAction): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SidebarService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Colors } from '../coreui.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SpinnerComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
6
|
+
* @type Colors
|
|
7
|
+
*/
|
|
8
|
+
color?: Colors;
|
|
9
|
+
/**
|
|
10
|
+
* Label for accessibility.
|
|
11
|
+
* @type string
|
|
12
|
+
* @default 'Loading...'
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Size the component small.
|
|
17
|
+
* @type string
|
|
18
|
+
* @values 'sm'
|
|
19
|
+
*/
|
|
20
|
+
size?: 'sm';
|
|
21
|
+
/**
|
|
22
|
+
* Set the button variant to an outlined button or a ghost button.
|
|
23
|
+
* @values 'border' | 'grow'
|
|
24
|
+
* @default 'border'
|
|
25
|
+
*/
|
|
26
|
+
variant?: 'border' | 'grow';
|
|
27
|
+
role: string;
|
|
28
|
+
get hostClasses(): any;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "c-spinner", never, { "color": "color"; "label": "label"; "size": "size"; "variant": "variant"; "role": "role"; }, {}, never, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./spinner.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../shared/shared.module";
|
|
5
|
+
export declare class SpinnerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpinnerModule, [typeof i1.SpinnerComponent], [typeof i2.CommonModule, typeof i3.SharedModule], [typeof i1.SpinnerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SpinnerModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TableActiveDirective {
|
|
4
|
+
static ngAcceptInputType_active: BooleanInput;
|
|
5
|
+
/**
|
|
6
|
+
* Highlight a table row or cell
|
|
7
|
+
* @type boolean
|
|
8
|
+
*/
|
|
9
|
+
set active(value: boolean);
|
|
10
|
+
get active(): boolean;
|
|
11
|
+
private _active;
|
|
12
|
+
get hostClasses(): any;
|
|
13
|
+
constructor();
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableActiveDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableActiveDirective, "[cTableActive]", never, { "active": "cTableActive"; }, {}, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Colors } from '../coreui.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TableColorDirective {
|
|
4
|
+
/**
|
|
5
|
+
* Use contextual color for tables, table rows or individual cells.
|
|
6
|
+
* @type Colors
|
|
7
|
+
*/
|
|
8
|
+
color?: Colors;
|
|
9
|
+
get hostClasses(): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColorDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColorDirective, "[cTableColor]", never, { "color": "cTableColor"; }, {}, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { Breakpoints, Colors } from '../coreui.types';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TableDirective implements OnInit {
|
|
6
|
+
private renderer;
|
|
7
|
+
private hostElement;
|
|
8
|
+
static ngAcceptInputType_bordered: BooleanInput;
|
|
9
|
+
static ngAcceptInputType_borderless: BooleanInput;
|
|
10
|
+
static ngAcceptInputType_hover: BooleanInput;
|
|
11
|
+
static ngAcceptInputType_small: BooleanInput;
|
|
12
|
+
static ngAcceptInputType_striped: BooleanInput;
|
|
13
|
+
/**
|
|
14
|
+
* Set the vertical alignment.
|
|
15
|
+
* @type string
|
|
16
|
+
* @values 'bottom' | 'middle' | 'top'
|
|
17
|
+
*/
|
|
18
|
+
align?: 'bottom' | 'middle' | 'top';
|
|
19
|
+
/**
|
|
20
|
+
* Sets the border color of the component to one of CoreUI’s themed colors.
|
|
21
|
+
* @type Colors
|
|
22
|
+
*/
|
|
23
|
+
borderColor?: Colors;
|
|
24
|
+
/**
|
|
25
|
+
* Add borders on all sides of the table and cells.
|
|
26
|
+
* @type boolean
|
|
27
|
+
*/
|
|
28
|
+
set bordered(value: boolean);
|
|
29
|
+
get bordered(): boolean;
|
|
30
|
+
private _bordered;
|
|
31
|
+
/**
|
|
32
|
+
* Remove borders on all sides of the table and cells.
|
|
33
|
+
* @type boolean
|
|
34
|
+
*/
|
|
35
|
+
set borderless(value: boolean);
|
|
36
|
+
get borderless(): boolean;
|
|
37
|
+
private _borderless;
|
|
38
|
+
/**
|
|
39
|
+
* Put the `<caption>` on the top of the table.
|
|
40
|
+
* @values 'top'
|
|
41
|
+
*/
|
|
42
|
+
caption?: 'top';
|
|
43
|
+
/**
|
|
44
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
45
|
+
* @type Colors
|
|
46
|
+
*/
|
|
47
|
+
color?: Colors;
|
|
48
|
+
/**
|
|
49
|
+
* Enable a hover state on table rows within table body.
|
|
50
|
+
* @type boolean
|
|
51
|
+
*/
|
|
52
|
+
set hover(value: boolean);
|
|
53
|
+
get hover(): boolean;
|
|
54
|
+
private _hover;
|
|
55
|
+
/**
|
|
56
|
+
* Make table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to.
|
|
57
|
+
* @type: {boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'}
|
|
58
|
+
*/
|
|
59
|
+
responsive?: boolean | Omit<Breakpoints, 'xs'>;
|
|
60
|
+
/**
|
|
61
|
+
* Make table more compact by cutting all cell `padding` in half.
|
|
62
|
+
* @type boolean
|
|
63
|
+
*/
|
|
64
|
+
set small(value: boolean);
|
|
65
|
+
get small(): boolean;
|
|
66
|
+
private _small;
|
|
67
|
+
/**
|
|
68
|
+
* Add zebra-striping to any table row within the table body`.
|
|
69
|
+
* @type boolean
|
|
70
|
+
*/
|
|
71
|
+
set striped(value: boolean);
|
|
72
|
+
get striped(): boolean;
|
|
73
|
+
private _striped;
|
|
74
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
75
|
+
get hostClasses(): any;
|
|
76
|
+
ngOnInit(): void;
|
|
77
|
+
setResponsiveWrapper(): void;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableDirective, never>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableDirective, "[cTable]", never, { "align": "align"; "borderColor": "borderColor"; "bordered": "bordered"; "borderless": "borderless"; "caption": "caption"; "color": "color"; "hover": "hover"; "responsive": "responsive"; "small": "small"; "striped": "striped"; }, {}, never>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table.directive";
|
|
3
|
+
import * as i2 from "./table-color.directive";
|
|
4
|
+
import * as i3 from "./table-active.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class TableModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableDirective, typeof i2.TableColorDirective, typeof i3.TableActiveDirective], [typeof i4.CommonModule], [typeof i1.TableDirective, typeof i2.TableColorDirective, typeof i3.TableActiveDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { TabPaneComponent } from './tab-pane/tab-pane.component';
|
|
2
|
+
export { TabContentComponent } from './tab-content/tab-content.component';
|
|
3
|
+
export { TabContentRefDirective } from './tab-content-ref.directive';
|
|
4
|
+
export { TabService } from './tab.service';
|
|
5
|
+
export { TabsModule } from './tabs.module';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TabPaneComponent } from '../tab-pane/tab-pane.component';
|
|
3
|
+
import { TabService } from '../tab.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TabContentComponent implements AfterContentChecked, AfterContentInit, OnChanges, OnDestroy {
|
|
6
|
+
private changeDetectorRef;
|
|
7
|
+
private tabService;
|
|
8
|
+
/**
|
|
9
|
+
* Set active tabPane index
|
|
10
|
+
* @type number
|
|
11
|
+
*/
|
|
12
|
+
set activeTabPaneIdx(value: number);
|
|
13
|
+
get activeTabPaneIdx(): number;
|
|
14
|
+
private _activeTabPaneIdx;
|
|
15
|
+
/**
|
|
16
|
+
* Event emited on the active tab pane index change.
|
|
17
|
+
*/
|
|
18
|
+
activeTabPaneIdxChange: EventEmitter<number>;
|
|
19
|
+
panes: QueryList<TabPaneComponent>;
|
|
20
|
+
private tabServiceSubscription;
|
|
21
|
+
constructor(changeDetectorRef: ChangeDetectorRef, tabService: TabService);
|
|
22
|
+
get hostClasses(): {
|
|
23
|
+
'tab-content': boolean;
|
|
24
|
+
};
|
|
25
|
+
ngAfterContentInit(): void;
|
|
26
|
+
ngAfterContentChecked(): void;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
subscribeTabService(subscribe?: boolean): void;
|
|
30
|
+
refreshTabPaneActive(idx: number): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabContentComponent, "c-tab-content", ["cTabContent"], { "activeTabPaneIdx": "activeTabPaneIdx"; }, { "activeTabPaneIdxChange": "activeTabPaneIdxChange"; }, ["panes"], ["*"]>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import { TabService } from './tab.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TabContentRefDirective implements OnChanges, OnDestroy, OnInit {
|
|
6
|
+
private changeDetectorRef;
|
|
7
|
+
private tabService;
|
|
8
|
+
constructor(changeDetectorRef: ChangeDetectorRef, tabService: TabService);
|
|
9
|
+
static ngAcceptInputType_disabled: BooleanInput;
|
|
10
|
+
private tabServiceSubscription;
|
|
11
|
+
/**
|
|
12
|
+
* Template Ref
|
|
13
|
+
* @type TemplateRef
|
|
14
|
+
*/
|
|
15
|
+
tabContentRef: any;
|
|
16
|
+
/**
|
|
17
|
+
* Set active state of tab content
|
|
18
|
+
* @type boolean
|
|
19
|
+
*/
|
|
20
|
+
set active(value: boolean);
|
|
21
|
+
get active(): boolean;
|
|
22
|
+
private _active;
|
|
23
|
+
/**
|
|
24
|
+
* Set disabled state of tab content
|
|
25
|
+
* @type boolean
|
|
26
|
+
*/
|
|
27
|
+
set disabled(value: boolean);
|
|
28
|
+
get disabled(): boolean;
|
|
29
|
+
private _disabled;
|
|
30
|
+
/**
|
|
31
|
+
* c-tab-pane index respectively
|
|
32
|
+
* @type number
|
|
33
|
+
*/
|
|
34
|
+
tabPaneIdx: number;
|
|
35
|
+
get hostClasses(): {
|
|
36
|
+
active: boolean;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
};
|
|
39
|
+
get isDisabled(): boolean | null;
|
|
40
|
+
get attrDisabled(): "" | null;
|
|
41
|
+
get getTabindex(): string | null;
|
|
42
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
+
toggleOpen($event: any): void;
|
|
44
|
+
setActiveTabPane(): void;
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
subscribeTabService(subscribe?: boolean): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentRefDirective, never>;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentRefDirective, "[cTabContent]", never, { "tabContentRef": "cTabContent"; "active": "active"; "disabled": "disabled"; "tabPaneIdx": "tabPaneIdx"; }, {}, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { TabContentComponent } from '../tab-content/tab-content.component';
|
|
3
|
+
import { TabService } from '../tab.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TabPaneComponent implements OnDestroy, OnInit {
|
|
6
|
+
private changeDetectorRef;
|
|
7
|
+
private tabService;
|
|
8
|
+
constructor(changeDetectorRef: ChangeDetectorRef, tabService: TabService);
|
|
9
|
+
tabPaneIdx: number;
|
|
10
|
+
tabContent: TabContentComponent;
|
|
11
|
+
private tabServiceSubscription;
|
|
12
|
+
set active(value: boolean);
|
|
13
|
+
get active(): boolean;
|
|
14
|
+
private _active;
|
|
15
|
+
get hostClasses(): {
|
|
16
|
+
'tab-pane': boolean;
|
|
17
|
+
fade: boolean;
|
|
18
|
+
show: boolean;
|
|
19
|
+
active: boolean;
|
|
20
|
+
};
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
subscribeTabService(subscribe?: boolean): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabPaneComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabPaneComponent, "c-tab-pane", ["cTabPane"], {}, {}, never, ["*"]>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TabContentComponent } from './tab-content/tab-content.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ITabContentState {
|
|
4
|
+
activeIdx: number;
|
|
5
|
+
tabContent: TabContentComponent;
|
|
6
|
+
}
|
|
7
|
+
export declare class TabService {
|
|
8
|
+
private activeTabPaneIdx;
|
|
9
|
+
activeTabPaneIdx$: import("rxjs").Observable<ITabContentState>;
|
|
10
|
+
constructor();
|
|
11
|
+
setActiveTabIdx(tabContentState: ITabContentState): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TabService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tab-content/tab-content.component";
|
|
3
|
+
import * as i2 from "./tab-pane/tab-pane.component";
|
|
4
|
+
import * as i3 from "./tab-content-ref.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class TabsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TabsModule, [typeof i1.TabContentComponent, typeof i2.TabPaneComponent, typeof i3.TabContentRefDirective], [typeof i4.CommonModule], [typeof i1.TabContentComponent, typeof i2.TabPaneComponent, typeof i3.TabContentRefDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TabsModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { ToastComponent } from './toast/toast.component';
|
|
2
|
+
export { ToastBodyComponent } from './toast-body/toast-body.component';
|
|
3
|
+
export { ToastHeaderComponent } from './toast-header/toast-header.component';
|
|
4
|
+
export { ToasterComponent, TToasterPlacement, ToasterPlacement } from './toaster/toaster.component';
|
|
5
|
+
export { ToasterService } from './toaster/toaster.service';
|
|
6
|
+
export { ToasterHostDirective } from './toaster/toaster-host.directive';
|
|
7
|
+
export { ToastCloseDirective } from './toast-close.directive';
|
|
8
|
+
export { ToastModule } from './toast.module';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { AnimationEvent } from '@angular/animations';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import { ToasterService } from '../toaster/toaster.service';
|
|
5
|
+
import { TToasterPlacement } from '../toaster/toaster.component';
|
|
6
|
+
import { Colors } from '../../coreui.types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
declare type AnimateType = ('hide' | 'show');
|
|
9
|
+
export declare class ToastComponent implements OnInit, OnDestroy {
|
|
10
|
+
hostElement: ElementRef;
|
|
11
|
+
renderer: Renderer2;
|
|
12
|
+
toasterService: ToasterService;
|
|
13
|
+
changeDetectorRef: ChangeDetectorRef;
|
|
14
|
+
static ngAcceptInputType_visible: BooleanInput;
|
|
15
|
+
dynamic: boolean;
|
|
16
|
+
placement: TToasterPlacement;
|
|
17
|
+
hide: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Auto hide the toast.
|
|
20
|
+
* @type boolean
|
|
21
|
+
*/
|
|
22
|
+
autohide: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
25
|
+
* @type Colors
|
|
26
|
+
*/
|
|
27
|
+
color?: Colors;
|
|
28
|
+
/**
|
|
29
|
+
* Delay hiding the toast (ms).
|
|
30
|
+
* @type number
|
|
31
|
+
*/
|
|
32
|
+
delay: number;
|
|
33
|
+
/**
|
|
34
|
+
* Apply fade transition to the toast.
|
|
35
|
+
* @type boolean
|
|
36
|
+
*/
|
|
37
|
+
fade: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Toggle the visibility of component.
|
|
40
|
+
* @type boolean
|
|
41
|
+
*/
|
|
42
|
+
set visible(value: boolean);
|
|
43
|
+
get visible(): boolean;
|
|
44
|
+
private _visible;
|
|
45
|
+
/**
|
|
46
|
+
* @ignore
|
|
47
|
+
*/
|
|
48
|
+
index?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Event emitted on visibility change. [docs]
|
|
51
|
+
* @type boolean
|
|
52
|
+
*/
|
|
53
|
+
visibleChange: EventEmitter<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* Event emitted on timer tick. [docs]
|
|
56
|
+
* @type number
|
|
57
|
+
*/
|
|
58
|
+
timer: EventEmitter<number>;
|
|
59
|
+
private timerId;
|
|
60
|
+
private clockId;
|
|
61
|
+
private clockTimerId;
|
|
62
|
+
constructor(hostElement: ElementRef, renderer: Renderer2, toasterService: ToasterService, changeDetectorRef: ChangeDetectorRef);
|
|
63
|
+
private _clock;
|
|
64
|
+
get clock(): number;
|
|
65
|
+
set clock(value: number);
|
|
66
|
+
get animationDisabled(): boolean;
|
|
67
|
+
get animateType(): AnimateType;
|
|
68
|
+
onAnimationStart($event: AnimationEvent): void;
|
|
69
|
+
onAnimationDone($event: AnimationEvent): void;
|
|
70
|
+
onMouseOver(): void;
|
|
71
|
+
onMouseOut(): void;
|
|
72
|
+
get hostClasses(): any;
|
|
73
|
+
ngOnInit(): void;
|
|
74
|
+
ngOnDestroy(): void;
|
|
75
|
+
setTimer(): void;
|
|
76
|
+
clearTimer(): void;
|
|
77
|
+
onClose(): void;
|
|
78
|
+
setClock(): void;
|
|
79
|
+
clearClock(): void;
|
|
80
|
+
onAnimationEvent(event: AnimationEvent): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "c-toast", ["cToast"], { "autohide": "autohide"; "color": "color"; "delay": "delay"; "fade": "fade"; "visible": "visible"; "index": "index"; }, { "visibleChange": "visibleChange"; "timer": "timer"; }, never, ["*"]>;
|
|
83
|
+
}
|
|
84
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ToastComponent } from '../toast/toast.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToastBodyComponent {
|
|
4
|
+
toast?: ToastComponent | undefined;
|
|
5
|
+
toastBodyClass: boolean;
|
|
6
|
+
constructor(toast?: ToastComponent | undefined);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastBodyComponent, [{ optional: true; }]>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastBodyComponent, "c-toast-body", ["cToastBody"], {}, {}, never, ["*"]>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ToasterService } from './toaster/toaster.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToastCloseDirective {
|
|
4
|
+
private toasterService;
|
|
5
|
+
toast: any;
|
|
6
|
+
constructor(toasterService: ToasterService);
|
|
7
|
+
toggleOpen($event: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastCloseDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToastCloseDirective, "[cToastClose]", ["cToastClose"], { "toast": "cToastClose"; }, {}, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ToastComponent } from '../toast/toast.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToastHeaderComponent {
|
|
4
|
+
toast?: ToastComponent | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Add close button to a toast header
|
|
7
|
+
* @type boolean
|
|
8
|
+
*/
|
|
9
|
+
closeButton: boolean;
|
|
10
|
+
toastHeaderClass: boolean;
|
|
11
|
+
constructor(toast?: ToastComponent | undefined);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastHeaderComponent, [{ optional: true; }]>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastHeaderComponent, "c-toast-header", ["cToastHeader"], { "closeButton": "closeButton"; }, {}, never, ["*"]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./toast/toast.component";
|
|
3
|
+
import * as i2 from "./toast-header/toast-header.component";
|
|
4
|
+
import * as i3 from "./toast-body/toast-body.component";
|
|
5
|
+
import * as i4 from "./toaster/toaster.component";
|
|
6
|
+
import * as i5 from "./toaster/toaster-host.directive";
|
|
7
|
+
import * as i6 from "./toast-close.directive";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "../button/button.module";
|
|
10
|
+
export declare class ToastModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToastModule, [typeof i1.ToastComponent, typeof i2.ToastHeaderComponent, typeof i3.ToastBodyComponent, typeof i4.ToasterComponent, typeof i5.ToasterHostDirective, typeof i6.ToastCloseDirective], [typeof i7.CommonModule, typeof i8.ButtonModule], [typeof i1.ToastComponent, typeof i2.ToastHeaderComponent, typeof i3.ToastBodyComponent, typeof i4.ToasterComponent, typeof i5.ToasterHostDirective, typeof i6.ToastCloseDirective]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToastModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToasterHostDirective {
|
|
4
|
+
viewContainerRef: ViewContainerRef;
|
|
5
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterHostDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToasterHostDirective, "[cToasterHost]", ["cToasterHost"], {}, {}, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AfterContentChecked, ComponentFactoryResolver, ComponentRef, ElementRef, Injector, NgModuleRef, OnDestroy, OnInit, QueryList, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { IToasterAction, ToasterService } from './toaster.service';
|
|
4
|
+
import { ToasterHostDirective } from './toaster-host.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare enum ToasterPlacement {
|
|
7
|
+
Static = "static",
|
|
8
|
+
TopStart = "top-start",
|
|
9
|
+
TopCenter = "top-center",
|
|
10
|
+
TopEnd = "top-end",
|
|
11
|
+
MiddleStart = "middle-start",
|
|
12
|
+
MiddleCenter = "middle-center",
|
|
13
|
+
MiddleEnd = "middle-end",
|
|
14
|
+
BottomStart = "bottom-start",
|
|
15
|
+
BottomCenter = "bottom-center",
|
|
16
|
+
BottomEnd = "bottom-end"
|
|
17
|
+
}
|
|
18
|
+
export declare type TToasterPlacement = ToasterPlacement.Static | ToasterPlacement.TopStart | ToasterPlacement.TopCenter | ToasterPlacement.TopEnd | ToasterPlacement.MiddleStart | ToasterPlacement.MiddleCenter | ToasterPlacement.MiddleEnd | ToasterPlacement.BottomStart | ToasterPlacement.BottomCenter | ToasterPlacement.BottomEnd | string;
|
|
19
|
+
export declare class ToasterComponent implements OnDestroy, OnInit, AfterContentChecked {
|
|
20
|
+
private componentFactoryResolver;
|
|
21
|
+
private hostElement;
|
|
22
|
+
private renderer;
|
|
23
|
+
private toasterService;
|
|
24
|
+
stateToasterSubscription: Subscription;
|
|
25
|
+
placements: ToasterPlacement[];
|
|
26
|
+
toasts: QueryList<ViewContainerRef>;
|
|
27
|
+
toastsDynamic: any[];
|
|
28
|
+
/**
|
|
29
|
+
* Toaster placement
|
|
30
|
+
* @type TToasterPlacement
|
|
31
|
+
*/
|
|
32
|
+
placement: TToasterPlacement;
|
|
33
|
+
/**
|
|
34
|
+
* Toaster position
|
|
35
|
+
* @type (string | 'absolute' | 'fixed' | 'static')
|
|
36
|
+
*/
|
|
37
|
+
position: (string | 'absolute' | 'fixed' | 'static');
|
|
38
|
+
toasterHost: ToasterHostDirective;
|
|
39
|
+
contentToasts: QueryList<ViewContainerRef>;
|
|
40
|
+
constructor(componentFactoryResolver: ComponentFactoryResolver, hostElement: ElementRef, renderer: Renderer2, toasterService: ToasterService);
|
|
41
|
+
get hostClasses(): any;
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
ngAfterContentChecked(): void;
|
|
45
|
+
addToast(toast: any, props: any, options?: {
|
|
46
|
+
index?: number;
|
|
47
|
+
injector?: Injector;
|
|
48
|
+
ngModuleRef?: NgModuleRef<unknown>;
|
|
49
|
+
projectableNodes?: Node[][];
|
|
50
|
+
}): ComponentRef<any>;
|
|
51
|
+
removeToast(state: IToasterAction): void;
|
|
52
|
+
private stateToasterSubscribe;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "c-toaster", ["cToaster"], { "placement": "placement"; "position": "position"; }, {}, ["contentToasts"], ["*"]>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TToasterPlacement } from './toaster.component';
|
|
2
|
+
import { ToastComponent } from '../toast/toast.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface IToasterAction {
|
|
5
|
+
placement?: TToasterPlacement;
|
|
6
|
+
toast?: ToastComponent;
|
|
7
|
+
show?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class ToasterService {
|
|
10
|
+
private toasterState;
|
|
11
|
+
toasterState$: import("rxjs").Observable<IToasterAction>;
|
|
12
|
+
constructor();
|
|
13
|
+
setState(state: IToasterAction): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
16
|
+
}
|