@coreui/angular 4.3.4 → 4.3.8
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 +21 -21
- package/README.md +212 -212
- package/esm2020/coreui-angular.mjs +4 -4
- package/esm2020/lib/accordion/accordion/accordion.component.mjs +39 -39
- package/esm2020/lib/accordion/accordion-button/accordion-button.directive.mjs +43 -43
- package/esm2020/lib/accordion/accordion-item/accordion-item.component.mjs +72 -72
- package/esm2020/lib/accordion/accordion.module.mjs +47 -47
- package/esm2020/lib/accordion/accordion.service.mjs +36 -36
- package/esm2020/lib/accordion/index.mjs +1 -1
- package/esm2020/lib/accordion/public_api.mjs +4 -4
- package/esm2020/lib/alert/alert-heading.directive.mjs +21 -21
- package/esm2020/lib/alert/alert-link.directive.mjs +21 -21
- package/esm2020/lib/alert/alert.component.mjs +181 -181
- package/esm2020/lib/alert/alert.module.mjs +37 -37
- package/esm2020/lib/alert/index.mjs +1 -1
- package/esm2020/lib/alert/public_api.mjs +4 -4
- package/esm2020/lib/avatar/avatar.component.mjs +48 -48
- package/esm2020/lib/avatar/avatar.module.mjs +23 -23
- package/esm2020/lib/avatar/index.mjs +1 -1
- package/esm2020/lib/avatar/public_api.mjs +3 -3
- package/esm2020/lib/backdrop/backdrop.service.mjs +52 -52
- package/esm2020/lib/badge/badge.component.mjs +41 -41
- package/esm2020/lib/badge/badge.module.mjs +23 -23
- package/esm2020/lib/badge/index.mjs +1 -1
- package/esm2020/lib/badge/public_api.mjs +2 -2
- package/esm2020/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +42 -42
- package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +37 -37
- package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.mjs +1 -1
- package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +41 -41
- package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +53 -53
- package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +36 -36
- package/esm2020/lib/breadcrumb/index.mjs +1 -1
- package/esm2020/lib/breadcrumb/public_api.mjs +6 -6
- package/esm2020/lib/button/button-close.directive.mjs +44 -44
- package/esm2020/lib/button/button.directive.mjs +112 -112
- package/esm2020/lib/button/button.module.mjs +28 -28
- package/esm2020/lib/button/index.mjs +1 -1
- package/esm2020/lib/button/public_api.mjs +3 -3
- package/esm2020/lib/button-group/button-group/button-group.component.mjs +40 -40
- package/esm2020/lib/button-group/button-group.module.mjs +28 -28
- package/esm2020/lib/button-group/button-toolbar/button-toolbar.component.mjs +34 -34
- package/esm2020/lib/button-group/index.mjs +1 -1
- package/esm2020/lib/button-group/public_api.mjs +3 -3
- package/esm2020/lib/callout/callout.component.mjs +23 -23
- package/esm2020/lib/callout/callout.module.mjs +19 -19
- package/esm2020/lib/callout/index.mjs +1 -1
- package/esm2020/lib/callout/public_api.mjs +2 -2
- package/esm2020/lib/card/card-body.component.mjs +21 -21
- package/esm2020/lib/card/card-footer.component.mjs +21 -21
- package/esm2020/lib/card/card-group.component.mjs +21 -21
- package/esm2020/lib/card/card-header-actions.component.mjs +19 -19
- package/esm2020/lib/card/card-header.component.mjs +21 -21
- package/esm2020/lib/card/card-img-overlay/card-img-overlay.component.mjs +18 -18
- package/esm2020/lib/card/card-img.directive.mjs +24 -24
- package/esm2020/lib/card/card-link.directive.mjs +20 -20
- package/esm2020/lib/card/card-subtitle.directive.mjs +20 -20
- package/esm2020/lib/card/card-text.directive.mjs +20 -20
- package/esm2020/lib/card/card-title.directive.mjs +20 -20
- package/esm2020/lib/card/card.component.mjs +28 -28
- package/esm2020/lib/card/card.module.mjs +78 -78
- package/esm2020/lib/card/index.mjs +1 -1
- package/esm2020/lib/card/public_api.mjs +13 -13
- package/esm2020/lib/carousel/carousel/carousel.component.mjs +214 -214
- package/esm2020/lib/carousel/carousel-caption/carousel-caption.component.mjs +16 -16
- package/esm2020/lib/carousel/carousel-control/carousel-control.component.mjs +83 -83
- package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +44 -44
- package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +47 -47
- package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +68 -68
- package/esm2020/lib/carousel/carousel-state.mjs +77 -77
- package/esm2020/lib/carousel/carousel-state.type.mjs +1 -1
- package/esm2020/lib/carousel/carousel.animation.mjs +69 -69
- package/esm2020/lib/carousel/carousel.config.mjs +21 -21
- package/esm2020/lib/carousel/carousel.module.mjs +53 -53
- package/esm2020/lib/carousel/carousel.service.mjs +18 -18
- package/esm2020/lib/carousel/index.mjs +2 -2
- package/esm2020/lib/carousel/public_api.mjs +9 -9
- package/esm2020/lib/collapse/collapse.animations.mjs +18 -18
- package/esm2020/lib/collapse/collapse.directive.mjs +190 -190
- package/esm2020/lib/collapse/collapse.module.mjs +22 -22
- package/esm2020/lib/collapse/index.mjs +1 -1
- package/esm2020/lib/collapse/public_api.mjs +2 -2
- package/esm2020/lib/coreui.types.mjs +10 -10
- package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +374 -366
- package/esm2020/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +72 -72
- package/esm2020/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +22 -22
- package/esm2020/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +22 -22
- package/esm2020/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +22 -22
- package/esm2020/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +86 -86
- package/esm2020/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +81 -81
- package/esm2020/lib/dropdown/dropdown.module.mjs +64 -64
- package/esm2020/lib/dropdown/dropdown.service.mjs +17 -17
- package/esm2020/lib/dropdown/index.mjs +1 -1
- package/esm2020/lib/dropdown/public_api.mjs +10 -10
- package/esm2020/lib/footer/footer.component.mjs +37 -37
- package/esm2020/lib/footer/footer.module.mjs +23 -23
- package/esm2020/lib/footer/index.mjs +1 -1
- package/esm2020/lib/footer/public_api.mjs +2 -2
- package/esm2020/lib/form/form/form.directive.mjs +37 -37
- package/esm2020/lib/form/form-check/form-check-input.directive.mjs +62 -62
- package/esm2020/lib/form/form-check/form-check-label.directive.mjs +20 -20
- package/esm2020/lib/form/form-check/form-check.component.mjs +75 -75
- package/esm2020/lib/form/form-control/form-control.directive.mjs +70 -70
- package/esm2020/lib/form/form-feedback/form-feedback.component.mjs +42 -42
- package/esm2020/lib/form/form-floating/form-floating.directive.mjs +37 -37
- package/esm2020/lib/form/form-label/form-label.directive.mjs +39 -39
- package/esm2020/lib/form/form-select/form-select.directive.mjs +34 -34
- package/esm2020/lib/form/form-text/form-text.directive.mjs +21 -21
- package/esm2020/lib/form/form.module.mjs +76 -76
- package/esm2020/lib/form/index.mjs +1 -1
- package/esm2020/lib/form/input-group/input-group.component.mjs +30 -30
- package/esm2020/lib/form/input-group-text/input-group-text.directive.mjs +21 -21
- package/esm2020/lib/form/public_api.mjs +13 -13
- package/esm2020/lib/grid/col.component.mjs +11 -11
- package/esm2020/lib/grid/col.directive.mjs +156 -156
- package/esm2020/lib/grid/col.type.mjs +1 -1
- package/esm2020/lib/grid/container.component.mjs +42 -42
- package/esm2020/lib/grid/container.type.mjs +1 -1
- package/esm2020/lib/grid/grid.module.mjs +47 -47
- package/esm2020/lib/grid/gutter.directive.mjs +55 -55
- package/esm2020/lib/grid/gutter.type.mjs +1 -1
- package/esm2020/lib/grid/index.mjs +1 -1
- package/esm2020/lib/grid/public_api.mjs +7 -7
- package/esm2020/lib/grid/row.component.mjs +11 -11
- package/esm2020/lib/grid/row.directive.mjs +44 -44
- package/esm2020/lib/grid/row.type.mjs +1 -1
- package/esm2020/lib/header/header/header.component.mjs +47 -47
- package/esm2020/lib/header/header-brand/header-brand.component.mjs +30 -30
- package/esm2020/lib/header/header-divider/header-divider.component.mjs +19 -19
- package/esm2020/lib/header/header-nav/header-nav.component.mjs +27 -27
- package/esm2020/lib/header/header-text/header-text.component.mjs +19 -19
- package/esm2020/lib/header/header-toggler/header-toggler.directive.mjs +53 -53
- package/esm2020/lib/header/header.module.mjs +48 -48
- package/esm2020/lib/header/index.mjs +1 -1
- package/esm2020/lib/header/public_api.mjs +7 -7
- package/esm2020/lib/image/img.directive.mjs +91 -91
- package/esm2020/lib/image/img.module.mjs +23 -23
- package/esm2020/lib/image/index.mjs +1 -1
- package/esm2020/lib/image/public_api.mjs +2 -2
- package/esm2020/lib/list-group/index.mjs +1 -1
- package/esm2020/lib/list-group/list-group-item.directive.mjs +72 -72
- package/esm2020/lib/list-group/list-group.directive.mjs +43 -43
- package/esm2020/lib/list-group/list-group.module.mjs +24 -24
- package/esm2020/lib/list-group/public_api.mjs +3 -3
- package/esm2020/lib/modal/index.mjs +1 -1
- package/esm2020/lib/modal/modal/modal.component.mjs +311 -311
- package/esm2020/lib/modal/modal-body/modal-body.component.mjs +18 -18
- package/esm2020/lib/modal/modal-content/modal-content.component.mjs +23 -23
- package/esm2020/lib/modal/modal-dialog/modal-dialog.component.mjs +31 -31
- package/esm2020/lib/modal/modal-dismiss/modal-toggle.directive.mjs +26 -26
- package/esm2020/lib/modal/modal-footer/modal-footer.component.mjs +21 -21
- package/esm2020/lib/modal/modal-header/modal-header.component.mjs +22 -22
- package/esm2020/lib/modal/modal-title/modal-title.directive.mjs +20 -20
- package/esm2020/lib/modal/modal.module.mjs +68 -68
- package/esm2020/lib/modal/modal.service.mjs +20 -20
- package/esm2020/lib/modal/public_api.mjs +10 -10
- package/esm2020/lib/nav/index.mjs +1 -1
- package/esm2020/lib/nav/nav-item.component.mjs +18 -18
- package/esm2020/lib/nav/nav-link.directive.mjs +87 -87
- package/esm2020/lib/nav/nav.component.mjs +25 -25
- package/esm2020/lib/nav/nav.module.mjs +21 -21
- package/esm2020/lib/nav/public_api.mjs +4 -4
- package/esm2020/lib/navbar/index.mjs +1 -1
- package/esm2020/lib/navbar/navbar-brand/navbar-brand.directive.mjs +22 -22
- package/esm2020/lib/navbar/navbar-nav/navbar-nav.component.mjs +39 -39
- package/esm2020/lib/navbar/navbar-text/navbar-text.component.mjs +19 -19
- package/esm2020/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +62 -62
- package/esm2020/lib/navbar/navbar.component.mjs +84 -84
- package/esm2020/lib/navbar/navbar.module.mjs +47 -47
- package/esm2020/lib/navbar/public_api.mjs +6 -6
- package/esm2020/lib/offcanvas/index.mjs +1 -1
- package/esm2020/lib/offcanvas/offcanvas/offcanvas.component.mjs +244 -244
- package/esm2020/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +18 -18
- package/esm2020/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +18 -18
- package/esm2020/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +20 -20
- package/esm2020/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +26 -26
- package/esm2020/lib/offcanvas/offcanvas.module.mjs +56 -56
- package/esm2020/lib/offcanvas/offcanvas.service.mjs +20 -20
- package/esm2020/lib/offcanvas/public_api.mjs +7 -7
- package/esm2020/lib/pagination/index.mjs +1 -1
- package/esm2020/lib/pagination/page-item/page-item.component.mjs +11 -11
- package/esm2020/lib/pagination/page-item/page-item.directive.mjs +62 -62
- package/esm2020/lib/pagination/page-link/page-link.directive.mjs +20 -20
- package/esm2020/lib/pagination/pagination/pagination.component.mjs +40 -40
- package/esm2020/lib/pagination/pagination.module.mjs +38 -38
- package/esm2020/lib/pagination/public_api.mjs +5 -5
- package/esm2020/lib/placeholder/index.mjs +2 -2
- package/esm2020/lib/placeholder/placeholder-animation.directive.mjs +34 -34
- package/esm2020/lib/placeholder/placeholder.directive.mjs +51 -51
- package/esm2020/lib/placeholder/placeholder.module.mjs +29 -29
- package/esm2020/lib/placeholder/public_api.mjs +4 -4
- package/esm2020/lib/popover/index.mjs +1 -1
- package/esm2020/lib/popover/popover/popover.component.mjs +92 -92
- package/esm2020/lib/popover/popover.directive.mjs +196 -196
- package/esm2020/lib/popover/popover.module.mjs +28 -28
- package/esm2020/lib/popover/public_api.mjs +3 -3
- package/esm2020/lib/progress/index.mjs +1 -1
- package/esm2020/lib/progress/progress-bar.component.mjs +111 -111
- package/esm2020/lib/progress/progress-bar.mjs +1 -1
- package/esm2020/lib/progress/progress.component.mjs +71 -71
- package/esm2020/lib/progress/progress.module.mjs +24 -24
- package/esm2020/lib/progress/public_api.mjs +3 -3
- package/esm2020/lib/services/class-toggle.service.mjs +29 -29
- package/esm2020/lib/services/index.mjs +1 -1
- package/esm2020/lib/services/intersection.service.mjs +34 -34
- package/esm2020/lib/services/listeners.service.mjs +42 -42
- package/esm2020/lib/services/public_api.mjs +3 -3
- package/esm2020/lib/shared/html-attr.directive.mjs +52 -52
- package/esm2020/lib/shared/index.mjs +1 -1
- package/esm2020/lib/shared/public_api.mjs +3 -3
- package/esm2020/lib/shared/shared.module.mjs +45 -45
- package/esm2020/lib/shared/template-id.directive.mjs +18 -18
- package/esm2020/lib/sidebar/index.mjs +1 -1
- package/esm2020/lib/sidebar/public_api.mjs +9 -9
- package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +244 -244
- package/esm2020/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +59 -59
- package/esm2020/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +29 -29
- package/esm2020/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +19 -19
- package/esm2020/lib/sidebar/sidebar-header/sidebar-header.component.mjs +19 -19
- package/esm2020/lib/sidebar/sidebar-nav/index.mjs +1 -1
- package/esm2020/lib/sidebar/sidebar-nav/public_api.mjs +13 -13
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +23 -23
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +18 -18
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-group.service.mjs +18 -18
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +21 -21
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +33 -33
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +43 -43
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +94 -94
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +23 -23
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +68 -68
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +204 -204
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.mjs +2 -2
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +54 -54
- package/esm2020/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +39 -39
- package/esm2020/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +25 -25
- package/esm2020/lib/sidebar/sidebar.module.mjs +99 -99
- package/esm2020/lib/sidebar/sidebar.service.mjs +20 -20
- package/esm2020/lib/spinner/index.mjs +1 -1
- package/esm2020/lib/spinner/public_api.mjs +2 -2
- package/esm2020/lib/spinner/spinner.component.mjs +49 -49
- package/esm2020/lib/spinner/spinner.module.mjs +27 -27
- package/esm2020/lib/table/index.mjs +1 -1
- package/esm2020/lib/table/public_api.mjs +4 -4
- package/esm2020/lib/table/table-active.directive.mjs +39 -39
- package/esm2020/lib/table/table-color.directive.mjs +23 -23
- package/esm2020/lib/table/table.directive.mjs +147 -147
- package/esm2020/lib/table/table.module.mjs +33 -33
- package/esm2020/lib/tabs/index.mjs +1 -1
- package/esm2020/lib/tabs/public_api.mjs +5 -5
- package/esm2020/lib/tabs/tab-content/tab-content.component.mjs +92 -92
- package/esm2020/lib/tabs/tab-content-ref.directive.mjs +128 -128
- package/esm2020/lib/tabs/tab-pane/tab-pane.component.mjs +56 -56
- package/esm2020/lib/tabs/tab.service.mjs +20 -20
- package/esm2020/lib/tabs/tabs.module.mjs +39 -39
- package/esm2020/lib/toast/index.mjs +1 -1
- package/esm2020/lib/toast/public_api.mjs +8 -8
- package/esm2020/lib/toast/toast/toast.component.mjs +238 -238
- package/esm2020/lib/toast/toast-body/toast-body.component.mjs +20 -20
- package/esm2020/lib/toast/toast-close.directive.mjs +27 -27
- package/esm2020/lib/toast/toast-header/toast-header.component.mjs +31 -31
- package/esm2020/lib/toast/toast.module.mjs +49 -49
- package/esm2020/lib/toast/toaster/toaster-host.directive.mjs +16 -16
- package/esm2020/lib/toast/toaster/toaster.component.mjs +140 -140
- package/esm2020/lib/toast/toaster/toaster.service.mjs +20 -20
- package/esm2020/lib/tooltip/index.mjs +1 -1
- package/esm2020/lib/tooltip/public_api.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip/tooltip.component.mjs +88 -88
- package/esm2020/lib/tooltip/tooltip.directive.mjs +191 -191
- package/esm2020/lib/tooltip/tooltip.module.mjs +28 -28
- package/esm2020/lib/utilities/align.directive.mjs +23 -23
- package/esm2020/lib/utilities/bg-color.directive.mjs +32 -32
- package/esm2020/lib/utilities/border.directive.mjs +65 -65
- package/esm2020/lib/utilities/border.type.mjs +1 -1
- package/esm2020/lib/utilities/index.mjs +1 -1
- package/esm2020/lib/utilities/public_api.mjs +6 -6
- package/esm2020/lib/utilities/rounded.directive.mjs +65 -65
- package/esm2020/lib/utilities/rounded.type.mjs +1 -1
- package/esm2020/lib/utilities/text-color.directive.mjs +31 -31
- package/esm2020/lib/utilities/utilities.module.mjs +43 -43
- package/esm2020/lib/widget/index.mjs +2 -2
- package/esm2020/lib/widget/public_api.mjs +7 -7
- package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +48 -48
- package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +52 -52
- package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +79 -79
- package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +38 -38
- package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +29 -29
- package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +92 -92
- package/esm2020/lib/widget/widget.module.mjs +56 -56
- package/esm2020/public-api.mjs +41 -41
- package/fesm2015/coreui-angular.mjs +9705 -9698
- package/fesm2015/coreui-angular.mjs.map +1 -1
- package/fesm2020/coreui-angular.mjs +9639 -9632
- package/fesm2020/coreui-angular.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/accordion/accordion/accordion.component.d.ts +22 -22
- package/lib/accordion/accordion-button/accordion-button.directive.d.ts +18 -18
- package/lib/accordion/accordion-item/accordion-item.component.d.ts +33 -33
- package/lib/accordion/accordion.module.d.ts +12 -12
- package/lib/accordion/accordion.service.d.ts +13 -13
- package/lib/accordion/index.d.ts +1 -1
- package/lib/accordion/public_api.d.ts +4 -4
- package/lib/alert/alert-heading.directive.d.ts +7 -7
- package/lib/alert/alert-link.directive.d.ts +7 -7
- package/lib/alert/alert.component.d.ts +68 -68
- package/lib/alert/alert.module.d.ts +11 -11
- package/lib/alert/index.d.ts +1 -1
- package/lib/alert/public_api.d.ts +4 -4
- package/lib/avatar/avatar.component.d.ts +40 -40
- package/lib/avatar/avatar.module.d.ts +8 -8
- package/lib/avatar/index.d.ts +1 -1
- package/lib/avatar/public_api.d.ts +2 -2
- package/lib/backdrop/backdrop.service.d.ts +16 -16
- package/lib/badge/badge.component.d.ts +32 -32
- package/lib/badge/badge.module.d.ts +8 -8
- package/lib/badge/index.d.ts +1 -1
- package/lib/badge/public_api.d.ts +2 -2
- package/lib/breadcrumb/breadcrumb/breadcrumb.component.d.ts +21 -21
- package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.d.ts +28 -28
- package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +9 -9
- package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.d.ts +21 -21
- package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.d.ts +14 -14
- package/lib/breadcrumb/breadcrumb.module.d.ts +12 -12
- package/lib/breadcrumb/index.d.ts +1 -1
- package/lib/breadcrumb/public_api.d.ts +6 -6
- package/lib/button/button-close.directive.d.ts +16 -16
- package/lib/button/button.directive.d.ts +54 -54
- package/lib/button/button.module.d.ts +9 -9
- package/lib/button/index.d.ts +1 -1
- package/lib/button/public_api.d.ts +3 -3
- package/lib/button-group/button-group/button-group.component.d.ts +23 -23
- package/lib/button-group/button-group.module.d.ts +9 -9
- package/lib/button-group/button-toolbar/button-toolbar.component.d.ts +13 -13
- package/lib/button-group/index.d.ts +1 -1
- package/lib/button-group/public_api.d.ts +3 -3
- package/lib/callout/callout.component.d.ts +13 -13
- package/lib/callout/callout.module.d.ts +8 -8
- package/lib/callout/index.d.ts +1 -1
- package/lib/callout/public_api.d.ts +2 -2
- package/lib/card/card-body.component.d.ts +6 -6
- package/lib/card/card-footer.component.d.ts +6 -6
- package/lib/card/card-group.component.d.ts +6 -6
- package/lib/card/card-header-actions.component.d.ts +6 -6
- package/lib/card/card-header.component.d.ts +6 -6
- package/lib/card/card-img-overlay/card-img-overlay.component.d.ts +6 -6
- package/lib/card/card-img.directive.d.ts +11 -11
- package/lib/card/card-link.directive.d.ts +6 -6
- package/lib/card/card-subtitle.directive.d.ts +6 -6
- package/lib/card/card-text.directive.d.ts +6 -6
- package/lib/card/card-title.directive.d.ts +6 -6
- package/lib/card/card.component.d.ts +18 -18
- package/lib/card/card.module.d.ts +19 -19
- package/lib/card/index.d.ts +1 -1
- package/lib/card/public_api.d.ts +13 -13
- package/lib/carousel/carousel/carousel.component.d.ts +92 -92
- package/lib/carousel/carousel-caption/carousel-caption.component.d.ts +7 -7
- package/lib/carousel/carousel-control/carousel-control.component.d.ts +31 -31
- package/lib/carousel/carousel-indicators/carousel-indicators.component.d.ts +18 -18
- package/lib/carousel/carousel-inner/carousel-inner.component.d.ts +21 -21
- package/lib/carousel/carousel-item/carousel-item.component.d.ts +30 -30
- package/lib/carousel/carousel-state.d.ts +16 -16
- package/lib/carousel/carousel-state.type.d.ts +15 -15
- package/lib/carousel/carousel.animation.d.ts +4 -4
- package/lib/carousel/carousel.config.d.ts +10 -10
- package/lib/carousel/carousel.module.d.ts +15 -15
- package/lib/carousel/carousel.service.d.ts +14 -14
- package/lib/carousel/index.d.ts +1 -1
- package/lib/carousel/public_api.d.ts +8 -8
- package/lib/collapse/collapse.animations.d.ts +4 -4
- package/lib/collapse/collapse.directive.d.ts +65 -65
- package/lib/collapse/collapse.module.d.ts +10 -10
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse/public_api.d.ts +2 -2
- package/lib/coreui.types.d.ts +46 -46
- package/lib/dropdown/dropdown/dropdown.component.d.ts +136 -135
- package/lib/dropdown/dropdown-close/dropdown-close.directive.d.ts +26 -26
- package/lib/dropdown/dropdown-divider/dropdown-divider.directive.d.ts +7 -7
- package/lib/dropdown/dropdown-header/dropdown-header.directive.d.ts +7 -7
- package/lib/dropdown/dropdown-item/dropdown-item-plain.directive.d.ts +7 -7
- package/lib/dropdown/dropdown-item/dropdown-item.directive.d.ts +36 -36
- package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +36 -36
- package/lib/dropdown/dropdown.module.d.ts +14 -14
- package/lib/dropdown/dropdown.service.d.ts +13 -13
- package/lib/dropdown/index.d.ts +1 -1
- package/lib/dropdown/public_api.d.ts +9 -9
- package/lib/footer/footer.component.d.ts +18 -18
- package/lib/footer/footer.module.d.ts +8 -8
- package/lib/footer/index.d.ts +1 -1
- package/lib/footer/public_api.d.ts +2 -2
- package/lib/form/form/form.directive.d.ts +17 -17
- package/lib/form/form-check/form-check-input.directive.d.ts +31 -31
- package/lib/form/form-check/form-check-label.directive.d.ts +6 -6
- package/lib/form/form-check/form-check.component.d.ts +36 -36
- package/lib/form/form-control/form-control.directive.d.ts +34 -34
- package/lib/form/form-feedback/form-feedback.component.d.ts +18 -18
- package/lib/form/form-floating/form-floating.directive.d.ts +16 -16
- package/lib/form/form-label/form-label.directive.d.ts +16 -16
- package/lib/form/form-select/form-select.directive.d.ts +16 -16
- package/lib/form/form-text/form-text.directive.d.ts +7 -7
- package/lib/form/form.module.d.ts +19 -19
- package/lib/form/index.d.ts +1 -1
- package/lib/form/input-group/input-group.component.d.ts +11 -11
- package/lib/form/input-group-text/input-group-text.directive.d.ts +7 -7
- package/lib/form/public_api.d.ts +13 -13
- package/lib/grid/col.component.d.ts +6 -6
- package/lib/grid/col.directive.d.ts +75 -75
- package/lib/grid/col.type.d.ts +11 -11
- package/lib/grid/container.component.d.ts +20 -20
- package/lib/grid/container.type.d.ts +5 -5
- package/lib/grid/grid.module.d.ts +13 -13
- package/lib/grid/gutter.directive.d.ts +13 -13
- package/lib/grid/gutter.type.d.ts +13 -13
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid/public_api.d.ts +7 -7
- package/lib/grid/row.component.d.ts +6 -6
- package/lib/grid/row.directive.d.ts +37 -37
- package/lib/grid/row.type.d.ts +9 -9
- package/lib/header/header/header.component.d.ts +25 -25
- package/lib/header/header-brand/header-brand.component.d.ts +12 -12
- package/lib/header/header-divider/header-divider.component.d.ts +6 -6
- package/lib/header/header-nav/header-nav.component.d.ts +12 -12
- package/lib/header/header-text/header-text.component.d.ts +6 -6
- package/lib/header/header-toggler/header-toggler.directive.d.ts +25 -25
- package/lib/header/header.module.d.ts +13 -13
- package/lib/header/index.d.ts +1 -1
- package/lib/header/public_api.d.ts +7 -7
- package/lib/image/img.directive.d.ts +42 -42
- package/lib/image/img.module.d.ts +8 -8
- package/lib/image/index.d.ts +1 -1
- package/lib/image/public_api.d.ts +2 -2
- package/lib/list-group/index.d.ts +1 -1
- package/lib/list-group/list-group-item.directive.d.ts +33 -33
- package/lib/list-group/list-group.directive.d.ts +21 -21
- package/lib/list-group/list-group.module.d.ts +9 -9
- package/lib/list-group/public_api.d.ts +3 -3
- package/lib/modal/index.d.ts +1 -1
- package/lib/modal/modal/modal.component.d.ts +104 -104
- package/lib/modal/modal-body/modal-body.component.d.ts +6 -6
- package/lib/modal/modal-content/modal-content.component.d.ts +7 -7
- package/lib/modal/modal-dialog/modal-dialog.component.d.ts +25 -25
- package/lib/modal/modal-dismiss/modal-toggle.directive.d.ts +13 -13
- package/lib/modal/modal-footer/modal-footer.component.d.ts +6 -6
- package/lib/modal/modal-header/modal-header.component.d.ts +6 -6
- package/lib/modal/modal-title/modal-title.directive.d.ts +6 -6
- package/lib/modal/modal.module.d.ts +16 -16
- package/lib/modal/modal.service.d.ts +15 -15
- package/lib/modal/public_api.d.ts +10 -10
- package/lib/nav/index.d.ts +1 -1
- package/lib/nav/nav-item.component.d.ts +6 -6
- package/lib/nav/nav-link.directive.d.ts +34 -34
- package/lib/nav/nav.component.d.ts +16 -16
- package/lib/nav/nav.module.d.ts +10 -10
- package/lib/nav/public_api.d.ts +4 -4
- package/lib/navbar/index.d.ts +1 -1
- package/lib/navbar/navbar-brand/navbar-brand.directive.d.ts +7 -7
- package/lib/navbar/navbar-nav/navbar-nav.component.d.ts +15 -15
- package/lib/navbar/navbar-text/navbar-text.component.d.ts +6 -6
- package/lib/navbar/navbar-toggler/navbar-toggler.directive.d.ts +33 -33
- package/lib/navbar/navbar.component.d.ts +39 -39
- package/lib/navbar/navbar.module.d.ts +13 -13
- package/lib/navbar/public_api.d.ts +6 -6
- package/lib/offcanvas/index.d.ts +1 -1
- package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +82 -82
- package/lib/offcanvas/offcanvas-body/offcanvas-body.component.d.ts +6 -6
- package/lib/offcanvas/offcanvas-header/offcanvas-header.component.d.ts +6 -6
- package/lib/offcanvas/offcanvas-title/offcanvas-title.directive.d.ts +6 -6
- package/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.d.ts +14 -14
- package/lib/offcanvas/offcanvas.module.d.ts +13 -13
- package/lib/offcanvas/offcanvas.service.d.ts +15 -15
- package/lib/offcanvas/public_api.d.ts +7 -7
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/page-item/page-item.component.d.ts +6 -6
- package/lib/pagination/page-item/page-item.directive.d.ts +24 -24
- package/lib/pagination/page-link/page-link.directive.d.ts +6 -6
- package/lib/pagination/pagination/pagination.component.d.ts +22 -22
- package/lib/pagination/pagination.module.d.ts +11 -11
- package/lib/pagination/public_api.d.ts +5 -5
- package/lib/placeholder/index.d.ts +1 -1
- package/lib/placeholder/placeholder-animation.directive.d.ts +18 -18
- package/lib/placeholder/placeholder.directive.d.ts +22 -22
- package/lib/placeholder/placeholder.module.d.ts +9 -9
- package/lib/placeholder/public_api.d.ts +3 -3
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/popover/popover.component.d.ts +30 -30
- package/lib/popover/popover.directive.d.ts +58 -58
- package/lib/popover/popover.module.d.ts +9 -9
- package/lib/popover/public_api.d.ts +3 -3
- package/lib/progress/index.d.ts +1 -1
- package/lib/progress/progress-bar.component.d.ts +52 -52
- package/lib/progress/progress-bar.d.ts +10 -10
- package/lib/progress/progress.component.d.ts +32 -32
- package/lib/progress/progress.module.d.ts +9 -9
- package/lib/progress/public_api.d.ts +4 -4
- package/lib/services/class-toggle.service.d.ts +11 -11
- package/lib/services/index.d.ts +1 -1
- package/lib/services/intersection.service.d.ts +22 -22
- package/lib/services/listeners.service.d.ts +19 -19
- package/lib/services/public_api.d.ts +2 -2
- package/lib/shared/html-attr.directive.d.ts +16 -16
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/public_api.d.ts +3 -3
- package/lib/shared/shared.module.d.ts +11 -11
- package/lib/shared/template-id.directive.d.ts +9 -9
- package/lib/sidebar/index.d.ts +1 -1
- package/lib/sidebar/public_api.d.ts +9 -9
- package/lib/sidebar/sidebar/sidebar.component.d.ts +85 -85
- package/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.d.ts +16 -16
- package/lib/sidebar/sidebar-brand/sidebar-brand.component.d.ts +12 -12
- package/lib/sidebar/sidebar-footer/sidebar-footer.component.d.ts +7 -7
- package/lib/sidebar/sidebar-header/sidebar-header.component.d.ts +7 -7
- package/lib/sidebar/sidebar-nav/index.d.ts +1 -1
- package/lib/sidebar/sidebar-nav/public_api.d.ts +12 -12
- package/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.d.ts +7 -7
- package/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.d.ts +7 -7
- package/lib/sidebar/sidebar-nav/sidebar-nav-group.service.d.ts +14 -14
- package/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.d.ts +7 -7
- package/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.d.ts +10 -10
- package/lib/sidebar/sidebar-nav/sidebar-nav-label.component.d.ts +18 -18
- package/lib/sidebar/sidebar-nav/sidebar-nav-link.component.d.ts +34 -34
- package/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.d.ts +7 -7
- package/lib/sidebar/sidebar-nav/sidebar-nav-title.component.d.ts +15 -15
- package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +59 -59
- package/lib/sidebar/sidebar-nav/sidebar-nav.d.ts +53 -53
- package/lib/sidebar/sidebar-nav/sidebar-nav.service.d.ts +20 -20
- package/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.d.ts +25 -25
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +7 -7
- package/lib/sidebar/sidebar.module.d.ts +25 -25
- package/lib/sidebar/sidebar.service.d.ts +19 -19
- package/lib/spinner/index.d.ts +1 -1
- package/lib/spinner/public_api.d.ts +2 -2
- package/lib/spinner/spinner.component.d.ts +31 -31
- package/lib/spinner/spinner.module.d.ts +9 -9
- package/lib/table/index.d.ts +1 -1
- package/lib/table/public_api.d.ts +4 -4
- package/lib/table/table-active.directive.d.ts +16 -16
- package/lib/table/table-color.directive.d.ts +12 -12
- package/lib/table/table.directive.d.ts +89 -89
- package/lib/table/table.module.d.ts +10 -10
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/public_api.d.ts +5 -5
- package/lib/tabs/tab-content/tab-content.component.d.ts +33 -33
- package/lib/tabs/tab-content-ref.directive.d.ts +50 -50
- package/lib/tabs/tab-pane/tab-pane.component.d.ts +26 -26
- package/lib/tabs/tab.service.d.ts +14 -14
- package/lib/tabs/tabs.module.d.ts +10 -10
- package/lib/toast/index.d.ts +1 -1
- package/lib/toast/public_api.d.ts +8 -8
- package/lib/toast/toast/toast.component.d.ts +84 -84
- package/lib/toast/toast-body/toast-body.component.d.ts +9 -9
- package/lib/toast/toast-close.directive.d.ts +10 -10
- package/lib/toast/toast-header/toast-header.component.d.ts +14 -14
- package/lib/toast/toast.module.d.ts +14 -14
- package/lib/toast/toaster/toaster-host.directive.d.ts +8 -8
- package/lib/toast/toaster/toaster.component.d.ts +55 -55
- package/lib/toast/toaster/toaster.service.d.ts +16 -16
- package/lib/tooltip/index.d.ts +1 -1
- package/lib/tooltip/public_api.d.ts +3 -3
- package/lib/tooltip/tooltip/tooltip.component.d.ts +30 -30
- package/lib/tooltip/tooltip.directive.d.ts +58 -58
- package/lib/tooltip/tooltip.module.d.ts +9 -9
- package/lib/utilities/align.directive.d.ts +12 -12
- package/lib/utilities/bg-color.directive.d.ts +17 -17
- package/lib/utilities/border.directive.d.ts +12 -12
- package/lib/utilities/border.type.d.ts +15 -15
- package/lib/utilities/index.d.ts +1 -1
- package/lib/utilities/public_api.d.ts +6 -6
- package/lib/utilities/rounded.directive.d.ts +12 -12
- package/lib/utilities/rounded.type.d.ts +12 -12
- package/lib/utilities/text-color.directive.d.ts +13 -13
- package/lib/utilities/utilities.module.d.ts +12 -12
- package/lib/widget/index.d.ts +1 -1
- package/lib/widget/public_api.d.ts +7 -7
- package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +37 -37
- package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +47 -47
- package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +58 -58
- package/lib/widget/widget-stat-d/widget-stat-d.component.d.ts +31 -31
- package/lib/widget/widget-stat-e/widget-stat-e.component.d.ts +24 -24
- package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +77 -77
- package/lib/widget/widget.module.d.ts +15 -15
- package/package.json +1 -1
- package/public-api.d.ts +37 -37
|
@@ -1,84 +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, ["*"], false, never>;
|
|
83
|
-
}
|
|
84
|
-
export {};
|
|
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, ["*"], false, never>;
|
|
83
|
+
}
|
|
84
|
+
export {};
|
|
@@ -1,9 +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, ["*"], false, never>;
|
|
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, ["*"], false, never>;
|
|
9
|
+
}
|
|
@@ -1,10 +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, never, false, never>;
|
|
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, never, false, never>;
|
|
10
|
+
}
|
|
@@ -1,14 +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, ["*"], false, never>;
|
|
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, ["*"], false, never>;
|
|
14
|
+
}
|
|
@@ -1,14 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,8 +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, never, false, never>;
|
|
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, never, false, never>;
|
|
8
|
+
}
|
|
@@ -1,55 +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"], ["*"], false, never>;
|
|
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"], ["*"], false, never>;
|
|
55
|
+
}
|
|
@@ -1,16 +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
|
-
}
|
|
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
|
+
}
|
package/lib/tooltip/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './public_api';
|
|
1
|
+
export * from './public_api';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { TooltipComponent } from './tooltip/tooltip.component';
|
|
2
|
-
export { TooltipDirective } from './tooltip.directive';
|
|
3
|
-
export { TooltipModule } from './tooltip.module';
|
|
1
|
+
export { TooltipComponent } from './tooltip/tooltip.component';
|
|
2
|
+
export { TooltipDirective } from './tooltip.directive';
|
|
3
|
+
export { TooltipModule } from './tooltip.module';
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { AfterViewInit, OnChanges, OnDestroy, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TooltipComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
4
|
-
private renderer;
|
|
5
|
-
/**
|
|
6
|
-
* Content of tooltip
|
|
7
|
-
* @type {string | TemplateRef}
|
|
8
|
-
*/
|
|
9
|
-
content: string | TemplateRef<any>;
|
|
10
|
-
/**
|
|
11
|
-
* Toggle the visibility of popover component.
|
|
12
|
-
* @type boolean
|
|
13
|
-
*/
|
|
14
|
-
visible: boolean;
|
|
15
|
-
id?: string;
|
|
16
|
-
role: string;
|
|
17
|
-
viewContainerRef: ViewContainerRef;
|
|
18
|
-
private textNode;
|
|
19
|
-
constructor(renderer: Renderer2);
|
|
20
|
-
get hostClasses(): {
|
|
21
|
-
[klass: string]: any;
|
|
22
|
-
};
|
|
23
|
-
ngAfterViewInit(): void;
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
private clear;
|
|
27
|
-
private updateView;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "c-tooltip", never, { "content": "content"; "visible": "visible"; "id": "id"; "role": "role"; }, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TooltipComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
4
|
+
private renderer;
|
|
5
|
+
/**
|
|
6
|
+
* Content of tooltip
|
|
7
|
+
* @type {string | TemplateRef}
|
|
8
|
+
*/
|
|
9
|
+
content: string | TemplateRef<any>;
|
|
10
|
+
/**
|
|
11
|
+
* Toggle the visibility of popover component.
|
|
12
|
+
* @type boolean
|
|
13
|
+
*/
|
|
14
|
+
visible: boolean;
|
|
15
|
+
id?: string;
|
|
16
|
+
role: string;
|
|
17
|
+
viewContainerRef: ViewContainerRef;
|
|
18
|
+
private textNode;
|
|
19
|
+
constructor(renderer: Renderer2);
|
|
20
|
+
get hostClasses(): {
|
|
21
|
+
[klass: string]: any;
|
|
22
|
+
};
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
private clear;
|
|
27
|
+
private updateView;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "c-tooltip", never, { "content": "content"; "visible": "visible"; "id": "id"; "role": "role"; }, {}, never, never, false, never>;
|
|
30
|
+
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { Options } from '@popperjs/core';
|
|
3
|
-
import { Triggers } from '../coreui.types';
|
|
4
|
-
import { ListenersService } from '../services/listeners.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit {
|
|
7
|
-
private document;
|
|
8
|
-
private renderer;
|
|
9
|
-
private hostElement;
|
|
10
|
-
private viewContainerRef;
|
|
11
|
-
private listenersService;
|
|
12
|
-
private changeDetectorRef;
|
|
13
|
-
/**
|
|
14
|
-
* Content of tooltip
|
|
15
|
-
* @type {string | TemplateRef}
|
|
16
|
-
*/
|
|
17
|
-
content: string | TemplateRef<any>;
|
|
18
|
-
/**
|
|
19
|
-
* Optional popper Options object, takes precedence over cPopoverPlacement prop
|
|
20
|
-
* @type Partial<Options>
|
|
21
|
-
*/
|
|
22
|
-
set popperOptions(value: Partial<Options>);
|
|
23
|
-
get popperOptions(): Partial<Options>;
|
|
24
|
-
/**
|
|
25
|
-
* Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
|
|
26
|
-
*/
|
|
27
|
-
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
28
|
-
/**
|
|
29
|
-
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
30
|
-
* @type {'hover' | 'focus' | 'click'}
|
|
31
|
-
*/
|
|
32
|
-
trigger: Triggers | Triggers[];
|
|
33
|
-
/**
|
|
34
|
-
* Toggle the visibility of tooltip component.
|
|
35
|
-
*/
|
|
36
|
-
set visible(value: boolean);
|
|
37
|
-
get visible(): boolean;
|
|
38
|
-
private _visible;
|
|
39
|
-
get ariaDescribedBy(): string | null;
|
|
40
|
-
private tooltip;
|
|
41
|
-
private tooltipId;
|
|
42
|
-
private tooltipRef;
|
|
43
|
-
private popperInstance;
|
|
44
|
-
private _popperOptions;
|
|
45
|
-
constructor(document: Document, renderer: Renderer2, hostElement: ElementRef, viewContainerRef: ViewContainerRef, listenersService: ListenersService, changeDetectorRef: ChangeDetectorRef);
|
|
46
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
-
ngOnDestroy(): void;
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
private setListeners;
|
|
50
|
-
private clearListeners;
|
|
51
|
-
private getUID;
|
|
52
|
-
private createTooltipElement;
|
|
53
|
-
private destroyTooltipElement;
|
|
54
|
-
private addTooltipElement;
|
|
55
|
-
private removeTooltipElement;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
57
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[cTooltip]", ["cTooltip"], { "content": "cTooltip"; "popperOptions": "cTooltipOptions"; "placement": "cTooltipPlacement"; "trigger": "cTooltipTrigger"; "visible": "cTooltipVisible"; }, {}, never, never, false, never>;
|
|
58
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Options } from '@popperjs/core';
|
|
3
|
+
import { Triggers } from '../coreui.types';
|
|
4
|
+
import { ListenersService } from '../services/listeners.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit {
|
|
7
|
+
private document;
|
|
8
|
+
private renderer;
|
|
9
|
+
private hostElement;
|
|
10
|
+
private viewContainerRef;
|
|
11
|
+
private listenersService;
|
|
12
|
+
private changeDetectorRef;
|
|
13
|
+
/**
|
|
14
|
+
* Content of tooltip
|
|
15
|
+
* @type {string | TemplateRef}
|
|
16
|
+
*/
|
|
17
|
+
content: string | TemplateRef<any>;
|
|
18
|
+
/**
|
|
19
|
+
* Optional popper Options object, takes precedence over cPopoverPlacement prop
|
|
20
|
+
* @type Partial<Options>
|
|
21
|
+
*/
|
|
22
|
+
set popperOptions(value: Partial<Options>);
|
|
23
|
+
get popperOptions(): Partial<Options>;
|
|
24
|
+
/**
|
|
25
|
+
* Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
|
|
26
|
+
*/
|
|
27
|
+
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
28
|
+
/**
|
|
29
|
+
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
30
|
+
* @type {'hover' | 'focus' | 'click'}
|
|
31
|
+
*/
|
|
32
|
+
trigger: Triggers | Triggers[];
|
|
33
|
+
/**
|
|
34
|
+
* Toggle the visibility of tooltip component.
|
|
35
|
+
*/
|
|
36
|
+
set visible(value: boolean);
|
|
37
|
+
get visible(): boolean;
|
|
38
|
+
private _visible;
|
|
39
|
+
get ariaDescribedBy(): string | null;
|
|
40
|
+
private tooltip;
|
|
41
|
+
private tooltipId;
|
|
42
|
+
private tooltipRef;
|
|
43
|
+
private popperInstance;
|
|
44
|
+
private _popperOptions;
|
|
45
|
+
constructor(document: Document, renderer: Renderer2, hostElement: ElementRef, viewContainerRef: ViewContainerRef, listenersService: ListenersService, changeDetectorRef: ChangeDetectorRef);
|
|
46
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
private setListeners;
|
|
50
|
+
private clearListeners;
|
|
51
|
+
private getUID;
|
|
52
|
+
private createTooltipElement;
|
|
53
|
+
private destroyTooltipElement;
|
|
54
|
+
private addTooltipElement;
|
|
55
|
+
private removeTooltipElement;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[cTooltip]", ["cTooltip"], { "content": "cTooltip"; "popperOptions": "cTooltipOptions"; "placement": "cTooltipPlacement"; "trigger": "cTooltipTrigger"; "visible": "cTooltipVisible"; }, {}, never, never, false, never>;
|
|
58
|
+
}
|