@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,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./popover.directive";
|
|
3
|
+
import * as i2 from "./popover/popover.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class PopoverModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PopoverModule, [typeof i1.PopoverDirective, typeof i2.PopoverComponent], [typeof i3.CommonModule], [typeof i1.PopoverDirective, typeof i2.PopoverComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PopoverModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Colors } from '../coreui.types';
|
|
3
|
+
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProgressBarComponent implements OnInit, OnChanges {
|
|
6
|
+
private renderer;
|
|
7
|
+
private hostElement;
|
|
8
|
+
static ngAcceptInputType_animated: BooleanInput;
|
|
9
|
+
static ngAcceptInputType_value: NumberInput;
|
|
10
|
+
/**
|
|
11
|
+
* Use to animate the stripes right to left via CSS3 animations.
|
|
12
|
+
* @type boolean
|
|
13
|
+
*/
|
|
14
|
+
set animated(value: boolean);
|
|
15
|
+
get animated(): boolean;
|
|
16
|
+
private _animated;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
19
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
20
|
+
*/
|
|
21
|
+
color?: Colors;
|
|
22
|
+
precision: number;
|
|
23
|
+
/**
|
|
24
|
+
* The percent to progress the ProgressBar.
|
|
25
|
+
*/
|
|
26
|
+
set value(value: number);
|
|
27
|
+
get value(): number;
|
|
28
|
+
private _value;
|
|
29
|
+
/**
|
|
30
|
+
* Set the progress bar variant to optional striped.
|
|
31
|
+
* @values 'striped'
|
|
32
|
+
*/
|
|
33
|
+
variant?: 'striped';
|
|
34
|
+
/**
|
|
35
|
+
* Set default html role attribute.
|
|
36
|
+
* @type string
|
|
37
|
+
*/
|
|
38
|
+
role: string;
|
|
39
|
+
private state;
|
|
40
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
41
|
+
get min(): number;
|
|
42
|
+
set min(value: number);
|
|
43
|
+
get max(): number;
|
|
44
|
+
set max(value: number);
|
|
45
|
+
get hostClasses(): any;
|
|
46
|
+
ngOnInit(): void;
|
|
47
|
+
setPercent(): void;
|
|
48
|
+
setValues(): void;
|
|
49
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "c-progress-bar", never, { "animated": "animated"; "color": "color"; "precision": "precision"; "value": "value"; "variant": "variant"; "role": "role"; "min": "min"; "max": "max"; }, {}, never, ["*"]>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProgressComponent {
|
|
4
|
+
static ngAcceptInputType_height: NumberInput;
|
|
5
|
+
static ngAcceptInputType_thin: BooleanInput;
|
|
6
|
+
static ngAcceptInputType_white: BooleanInput;
|
|
7
|
+
/**
|
|
8
|
+
* Sets the height of the component. If you set that value the inner `<CProgressBar>` will automatically resize accordingly.
|
|
9
|
+
* @type number
|
|
10
|
+
*/
|
|
11
|
+
set height(value: number);
|
|
12
|
+
get height(): number;
|
|
13
|
+
private _height;
|
|
14
|
+
/**
|
|
15
|
+
* Displays thin progress.
|
|
16
|
+
* @type boolean
|
|
17
|
+
*/
|
|
18
|
+
set thin(value: boolean);
|
|
19
|
+
get thin(): boolean;
|
|
20
|
+
private _thin;
|
|
21
|
+
/**
|
|
22
|
+
* Change the default color to white.
|
|
23
|
+
* @type boolean
|
|
24
|
+
*/
|
|
25
|
+
get white(): boolean;
|
|
26
|
+
set white(value: boolean);
|
|
27
|
+
private _white;
|
|
28
|
+
get hostClasses(): any;
|
|
29
|
+
get hostStyle(): any;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "c-progress", never, { "height": "height"; "thin": "thin"; "white": "white"; }, {}, never, ["*"]>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./progress.component";
|
|
3
|
+
import * as i2 from "./progress-bar.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class ProgressModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressModule, [typeof i1.ProgressComponent, typeof i2.ProgressBarComponent], [typeof i3.CommonModule], [typeof i1.ProgressComponent, typeof i2.ProgressBarComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RendererFactory2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ClassToggleService {
|
|
4
|
+
private document;
|
|
5
|
+
private rendererFactory;
|
|
6
|
+
private renderer;
|
|
7
|
+
constructor(document: any, rendererFactory: RendererFactory2);
|
|
8
|
+
toggle(selector: any, className: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClassToggleService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ClassToggleService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { Triggers } from '../coreui.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface IListenersConfig {
|
|
5
|
+
hostElement: ElementRef;
|
|
6
|
+
trigger?: Triggers | Triggers[];
|
|
7
|
+
callbackOn?: () => void;
|
|
8
|
+
callbackOff?: () => void;
|
|
9
|
+
callbackToggle?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare class ListenersService {
|
|
12
|
+
private renderer;
|
|
13
|
+
private listeners;
|
|
14
|
+
constructor(renderer: Renderer2);
|
|
15
|
+
setListeners({ hostElement, trigger, callbackOn, callbackOff, callbackToggle }: IListenersConfig): void;
|
|
16
|
+
clearListeners(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListenersService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ListenersService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ClassToggleService } from './class-toggle.service';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HtmlAttributesDirective implements OnInit {
|
|
4
|
+
private renderer;
|
|
5
|
+
private el;
|
|
6
|
+
cHtmlAttr: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
constructor(renderer: Renderer2, el: ElementRef);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
private setStyle;
|
|
12
|
+
private addClass;
|
|
13
|
+
private setAttrib;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlAttributesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HtmlAttributesDirective, "[cHtmlAttr]", ["cHtmlAttr"], { "cHtmlAttr": "cHtmlAttr"; }, {}, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./html-attr.directive";
|
|
4
|
+
import * as i2 from "./template-id.directive";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
export declare class SharedModule {
|
|
7
|
+
static forRoot(): ModuleWithProviders<SharedModule>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.HtmlAttributesDirective, typeof i2.TemplateIdDirective], [typeof i3.CommonModule], [typeof i1.HtmlAttributesDirective, typeof i2.TemplateIdDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TemplateIdDirective {
|
|
4
|
+
templateRef: TemplateRef<any>;
|
|
5
|
+
id: string;
|
|
6
|
+
constructor(templateRef: TemplateRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateIdDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateIdDirective, "[cTemplateId]", never, { "id": "cTemplateId"; }, {}, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { SidebarComponent } from './sidebar/sidebar.component';
|
|
2
|
+
export { SidebarService } from './sidebar.service';
|
|
3
|
+
export { SidebarBrandComponent } from './sidebar-brand/sidebar-brand.component';
|
|
4
|
+
export { SidebarToggleDirective } from './sidebar-toggle/sidebar-toggle.directive';
|
|
5
|
+
export { SidebarTogglerComponent } from './sidebar-toggler/sidebar-toggler.component';
|
|
6
|
+
export { SidebarHeaderComponent } from './sidebar-header/sidebar-header.component';
|
|
7
|
+
export { SidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';
|
|
8
|
+
export { SidebarNavComponent, INavData } from './sidebar-nav';
|
|
9
|
+
export { SidebarModule } from './sidebar.module';
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
4
|
+
import { ISidebarAction, SidebarService } from '../sidebar.service';
|
|
5
|
+
import { SidebarBackdropService } from '../sidebar-backdrop/sidebar-backdrop.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
|
|
8
|
+
private document;
|
|
9
|
+
private renderer;
|
|
10
|
+
private breakpointObserver;
|
|
11
|
+
private sidebarService;
|
|
12
|
+
private backdropService;
|
|
13
|
+
static ngAcceptInputType_narrow: BooleanInput;
|
|
14
|
+
static ngAcceptInputType_overlaid: BooleanInput;
|
|
15
|
+
static ngAcceptInputType_unfoldable: BooleanInput;
|
|
16
|
+
static ngAcceptInputType_visible: BooleanInput;
|
|
17
|
+
private _narrow;
|
|
18
|
+
private _overlaid;
|
|
19
|
+
private _unfoldable;
|
|
20
|
+
private _visible;
|
|
21
|
+
private onMobile;
|
|
22
|
+
private layoutChangeSubscription;
|
|
23
|
+
private stateToggleSubscription;
|
|
24
|
+
state: ISidebarAction;
|
|
25
|
+
/**
|
|
26
|
+
* Sets if the color of text should be colored for a light or dark dark background. [docs]
|
|
27
|
+
*
|
|
28
|
+
* @type 'dark' | 'light'
|
|
29
|
+
*/
|
|
30
|
+
colorScheme?: 'dark' | 'light';
|
|
31
|
+
/**
|
|
32
|
+
* Sets html attribute id. [docs]
|
|
33
|
+
*
|
|
34
|
+
* @type string
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Make sidebar narrow. [docs]
|
|
39
|
+
* @type boolean
|
|
40
|
+
*/
|
|
41
|
+
set narrow(value: boolean);
|
|
42
|
+
get narrow(): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Set sidebar to overlaid variant.
|
|
45
|
+
* @type boolean
|
|
46
|
+
*/
|
|
47
|
+
set overlaid(value: boolean);
|
|
48
|
+
get overlaid(): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Components placement, there’s no default placement. [docs]
|
|
51
|
+
* @type 'start' | 'end'
|
|
52
|
+
*/
|
|
53
|
+
placement?: 'start' | 'end';
|
|
54
|
+
/**
|
|
55
|
+
* Place sidebar in non-static positions. [docs]
|
|
56
|
+
* @default 'fixed'
|
|
57
|
+
*/
|
|
58
|
+
position: 'fixed' | 'sticky';
|
|
59
|
+
/**
|
|
60
|
+
* Size the component small, large, or extra large. [docs]
|
|
61
|
+
*/
|
|
62
|
+
size?: 'sm' | 'lg' | 'xl';
|
|
63
|
+
/**
|
|
64
|
+
* Expand narrowed sidebar on hover. [docs]
|
|
65
|
+
*/
|
|
66
|
+
set unfoldable(value: boolean);
|
|
67
|
+
get unfoldable(): boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Toggle the visibility of sidebar component. [docs]
|
|
70
|
+
*/
|
|
71
|
+
set visible(value: boolean);
|
|
72
|
+
get visible(): boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Event emitted on visibility change. [docs]
|
|
75
|
+
* @type boolean
|
|
76
|
+
*/
|
|
77
|
+
visibleChange: EventEmitter<boolean>;
|
|
78
|
+
set sidebarState(value: ISidebarAction);
|
|
79
|
+
get sidebarState(): ISidebarAction;
|
|
80
|
+
get getMobileBreakpoint(): string;
|
|
81
|
+
constructor(document: any, renderer: Renderer2, breakpointObserver: BreakpointObserver, sidebarService: SidebarService, backdropService: SidebarBackdropService);
|
|
82
|
+
get getClasses(): any;
|
|
83
|
+
ngOnInit(): void;
|
|
84
|
+
ngOnDestroy(): void;
|
|
85
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
86
|
+
setInitialState(): void;
|
|
87
|
+
private stateToggleSubscribe;
|
|
88
|
+
layoutChangeSubscribe(subscribe?: boolean): void;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "c-sidebar", ["cSidebar"], { "colorScheme": "colorScheme"; "id": "id"; "narrow": "narrow"; "overlaid": "overlaid"; "placement": "placement"; "position": "position"; "size": "size"; "unfoldable": "unfoldable"; "visible": "visible"; }, { "visibleChange": "visibleChange"; }, never, ["*"]>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Renderer2 } from '@angular/core';
|
|
2
|
+
import { SidebarService } from '../sidebar.service';
|
|
3
|
+
import { SidebarComponent } from '../sidebar/sidebar.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SidebarBackdropService {
|
|
6
|
+
private document;
|
|
7
|
+
private sidebarService;
|
|
8
|
+
private backdrop;
|
|
9
|
+
renderer: Renderer2;
|
|
10
|
+
private clickListener;
|
|
11
|
+
constructor(document: any, sidebarService: SidebarService);
|
|
12
|
+
setBackdrop(sidebar: SidebarComponent): void;
|
|
13
|
+
clearBackdrop(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarBackdropService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SidebarBackdropService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SidebarBrandComponent implements OnInit {
|
|
4
|
+
brandFull?: any;
|
|
5
|
+
brandNarrow?: any;
|
|
6
|
+
routerLink?: any[] | string;
|
|
7
|
+
sidebarBrandClass: boolean;
|
|
8
|
+
brandImg: boolean;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarBrandComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarBrandComponent, "c-sidebar-brand", never, { "brandFull": "brandFull"; "brandNarrow": "brandNarrow"; "routerLink": "routerLink"; }, {}, never, ["*"]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SidebarFooterComponent {
|
|
3
|
+
constructor();
|
|
4
|
+
get hostClasses(): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarFooterComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarFooterComponent, "c-sidebar-footer", never, {}, {}, never, ["*"]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SidebarHeaderComponent {
|
|
3
|
+
constructor();
|
|
4
|
+
get hostClasses(): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarHeaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarHeaderComponent, "c-sidebar-header", never, {}, {}, never, ["*"]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { SidebarNavComponent, SidebarNavGroupComponent } from './sidebar-nav.component';
|
|
2
|
+
export { SidebarNavDividerComponent } from './sidebar-nav-divider.component';
|
|
3
|
+
export { SidebarNavLinkComponent } from './sidebar-nav-link.component';
|
|
4
|
+
export { SidebarNavLinkContentComponent } from './sidebar-nav-link.component';
|
|
5
|
+
export { SidebarNavTitleComponent } from './sidebar-nav-title.component';
|
|
6
|
+
export { SidebarNavHelper } from './sidebar-nav.service';
|
|
7
|
+
export { SidebarNavLabelComponent } from './sidebar-nav-label.component';
|
|
8
|
+
export { SidebarNavIconPipe } from './sidebar-nav-icon.pipe';
|
|
9
|
+
export { SidebarNavBadgePipe } from './sidebar-nav-badge.pipe';
|
|
10
|
+
export { SidebarNavItemClassPipe } from './sidebar-nav-item-class.pipe';
|
|
11
|
+
export { SidebarNavLinkPipe } from './sidebar-nav-link.pipe';
|
|
12
|
+
export { INavData } from './sidebar-nav';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SidebarNavBadgePipe implements PipeTransform {
|
|
4
|
+
transform(item: any, args?: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavBadgePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SidebarNavBadgePipe, "cSidebarNavBadge">;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SidebarNavDividerComponent {
|
|
3
|
+
item: any;
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavDividerComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavDividerComponent, "c-sidebar-nav-divider", never, { "item": "item"; }, {}, never, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SidebarNavIconPipe implements PipeTransform {
|
|
4
|
+
transform(item: any, args?: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavIconPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SidebarNavIconPipe, "cSidebarNavIcon">;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { SidebarNavHelper } from './sidebar-nav.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SidebarNavItemClassPipe implements PipeTransform {
|
|
5
|
+
helper: SidebarNavHelper;
|
|
6
|
+
constructor(helper: SidebarNavHelper);
|
|
7
|
+
transform(item: any, args?: any[]): any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavItemClassPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SidebarNavItemClassPipe, "cSidebarNavItemClass">;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SidebarNavHelper } from './sidebar-nav.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SidebarNavLabelComponent implements OnInit {
|
|
5
|
+
helper: SidebarNavHelper;
|
|
6
|
+
item: any;
|
|
7
|
+
private classes;
|
|
8
|
+
private iconClasses;
|
|
9
|
+
constructor(helper: SidebarNavHelper);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
getItemClass(): {
|
|
12
|
+
'c-nav-label': boolean;
|
|
13
|
+
'c-active': boolean;
|
|
14
|
+
};
|
|
15
|
+
getLabelIconClass(): {};
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavLabelComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavLabelComponent, "c-sidebar-nav-label", never, { "item": "item"; }, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { SidebarNavHelper } from './sidebar-nav.service';
|
|
4
|
+
import { INavData } from './sidebar-nav';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SidebarNavLinkContentComponent {
|
|
7
|
+
helper: SidebarNavHelper;
|
|
8
|
+
item?: INavData;
|
|
9
|
+
constructor(helper: SidebarNavHelper);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavLinkContentComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavLinkContentComponent, "c-sidebar-nav-link-content", never, { "item": "item"; }, {}, never, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare class SidebarNavLinkComponent implements OnInit, OnDestroy {
|
|
14
|
+
router: Router;
|
|
15
|
+
protected _item: INavData;
|
|
16
|
+
set item(item: INavData);
|
|
17
|
+
get item(): INavData;
|
|
18
|
+
linkClick: EventEmitter<any>;
|
|
19
|
+
linkType: string;
|
|
20
|
+
href: string;
|
|
21
|
+
linkActive: boolean;
|
|
22
|
+
private url;
|
|
23
|
+
private navigationEndObservable;
|
|
24
|
+
private navSubscription;
|
|
25
|
+
constructor(router: Router);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
getLinkType(): string;
|
|
29
|
+
isDisabled(): boolean;
|
|
30
|
+
isExternalLink(): boolean;
|
|
31
|
+
linkClicked(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavLinkComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavLinkComponent, "c-sidebar-nav-link", never, { "item": "item"; }, { "linkClick": "linkClick"; }, never, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SidebarNavLinkPipe implements PipeTransform {
|
|
4
|
+
transform(item: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavLinkPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SidebarNavLinkPipe, "cSidebarNavLink">;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SidebarNavTitleComponent implements OnInit {
|
|
4
|
+
private el;
|
|
5
|
+
private renderer;
|
|
6
|
+
item: any;
|
|
7
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
private addAttribs;
|
|
10
|
+
private setStyle;
|
|
11
|
+
private addClass;
|
|
12
|
+
private setAttrib;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavTitleComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavTitleComponent, "c-sidebar-nav-title", never, { "item": "item"; }, {}, never, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NavigationEnd, Router } from '@angular/router';
|
|
3
|
+
import { INavData } from './sidebar-nav';
|
|
4
|
+
import { SidebarNavHelper } from './sidebar-nav.service';
|
|
5
|
+
import { SidebarService } from '../sidebar.service';
|
|
6
|
+
import { SidebarComponent } from '../sidebar/sidebar.component';
|
|
7
|
+
import { Observable, Subscription } from 'rxjs';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SidebarNavComponent implements OnChanges {
|
|
10
|
+
sidebar: SidebarComponent;
|
|
11
|
+
helper: SidebarNavHelper;
|
|
12
|
+
router: Router;
|
|
13
|
+
private renderer;
|
|
14
|
+
private hostElement;
|
|
15
|
+
private sidebarService;
|
|
16
|
+
navItems?: INavData[];
|
|
17
|
+
dropdownMode?: 'closeInactive' | 'noAction' | 'openActive';
|
|
18
|
+
groupItems?: boolean;
|
|
19
|
+
compact?: boolean;
|
|
20
|
+
get hostClasses(): any;
|
|
21
|
+
get sidebarNavGroupItemsClass(): boolean;
|
|
22
|
+
role: string;
|
|
23
|
+
navItemsArray: INavData[];
|
|
24
|
+
constructor(sidebar: SidebarComponent, helper: SidebarNavHelper, router: Router, renderer: Renderer2, hostElement: ElementRef, sidebarService: SidebarService);
|
|
25
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
+
hideMobile(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavComponent, "c-sidebar-nav", never, { "navItems": "navItems"; "dropdownMode": "dropdownMode"; "groupItems": "groupItems"; "compact": "compact"; }, {}, never, ["*"]>;
|
|
29
|
+
}
|
|
30
|
+
export declare class SidebarNavGroupComponent implements OnInit, OnDestroy {
|
|
31
|
+
private router;
|
|
32
|
+
helper: SidebarNavHelper;
|
|
33
|
+
private hostElement;
|
|
34
|
+
item: any;
|
|
35
|
+
dropdownMode: 'closeInactive' | 'noAction' | 'openActive';
|
|
36
|
+
show: boolean;
|
|
37
|
+
get hostClasses(): any;
|
|
38
|
+
navigationEndObservable: Observable<NavigationEnd>;
|
|
39
|
+
navSubscription: Subscription;
|
|
40
|
+
private open;
|
|
41
|
+
navItems: INavData[];
|
|
42
|
+
constructor(router: Router, helper: SidebarNavHelper, hostElement: ElementRef);
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
samePath(url: string): boolean;
|
|
45
|
+
openGroup(open: boolean): void;
|
|
46
|
+
toggleGroup($event: any): void;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavGroupComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavGroupComponent, "c-sidebar-nav-group", never, { "item": "item"; "dropdownMode": "dropdownMode"; "show": "show"; }, {}, never, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface INavAttributes {
|
|
2
|
+
[propName: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export interface INavWrapper {
|
|
5
|
+
attributes: INavAttributes;
|
|
6
|
+
element: string;
|
|
7
|
+
}
|
|
8
|
+
export interface INavBadge {
|
|
9
|
+
text: string;
|
|
10
|
+
color: string;
|
|
11
|
+
size?: string;
|
|
12
|
+
class?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface INavLabel {
|
|
15
|
+
class?: string;
|
|
16
|
+
variant: string;
|
|
17
|
+
}
|
|
18
|
+
export interface INavLinkProps {
|
|
19
|
+
queryParams?: {
|
|
20
|
+
[k: string]: any;
|
|
21
|
+
};
|
|
22
|
+
fragment?: string;
|
|
23
|
+
queryParamsHandling?: 'merge' | 'preserve' | '';
|
|
24
|
+
preserveFragment?: boolean;
|
|
25
|
+
skipLocationChange?: boolean;
|
|
26
|
+
replaceUrl?: boolean;
|
|
27
|
+
state?: {
|
|
28
|
+
[k: string]: any;
|
|
29
|
+
};
|
|
30
|
+
routerLinkActiveOptions?: {
|
|
31
|
+
exact: boolean;
|
|
32
|
+
};
|
|
33
|
+
routerLinkActive?: string | string[];
|
|
34
|
+
}
|
|
35
|
+
export interface INavData {
|
|
36
|
+
name?: string;
|
|
37
|
+
url?: string | any[];
|
|
38
|
+
href?: string;
|
|
39
|
+
icon?: string;
|
|
40
|
+
iconComponent?: any;
|
|
41
|
+
badge?: INavBadge;
|
|
42
|
+
title?: boolean;
|
|
43
|
+
children?: INavData[];
|
|
44
|
+
variant?: string;
|
|
45
|
+
attributes?: INavAttributes;
|
|
46
|
+
divider?: boolean;
|
|
47
|
+
class?: string;
|
|
48
|
+
label?: INavLabel;
|
|
49
|
+
wrapper?: INavWrapper;
|
|
50
|
+
linkProps?: INavLinkProps;
|
|
51
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { INavData } from './sidebar-nav';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class SidebarNavService {
|
|
4
|
+
/**
|
|
5
|
+
* Returns a sidebar-nav items config NavData
|
|
6
|
+
*/
|
|
7
|
+
abstract getSidebarNavItemsConfig(): INavData[];
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SidebarNavService>;
|
|
10
|
+
}
|
|
11
|
+
export declare class SidebarNavHelper {
|
|
12
|
+
itemType(item: INavData): string;
|
|
13
|
+
isActive(router: any, item: INavData): boolean;
|
|
14
|
+
hasBadge: (item: INavData) => boolean;
|
|
15
|
+
hasIcon: (item: INavData) => boolean;
|
|
16
|
+
hasIconComponent: (item: INavData) => boolean;
|
|
17
|
+
getIconClass(item: INavData): any;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavHelper, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SidebarNavHelper>;
|
|
20
|
+
}
|