@coreui/angular 3.0.0-alpha.9 → 4.0.0-alpha.11
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 -0
- package/README.md +150 -52
- package/coreui-angular.d.ts +4 -97
- package/esm2020/coreui-angular.mjs +5 -0
- package/esm2020/lib/accordion/accordion/accordion.component.mjs +40 -0
- package/esm2020/lib/accordion/accordion-button/accordion-button.directive.mjs +43 -0
- package/esm2020/lib/accordion/accordion-item/accordion-item.component.mjs +62 -0
- package/esm2020/lib/accordion/accordion.module.mjs +50 -0
- package/esm2020/lib/accordion/accordion.service.mjs +36 -0
- package/esm2020/lib/accordion/index.mjs +2 -0
- package/esm2020/lib/accordion/public_api.mjs +5 -0
- package/esm2020/lib/alert/alert-heading.directive.mjs +22 -0
- package/esm2020/lib/alert/alert-link.directive.mjs +22 -0
- package/esm2020/lib/alert/alert.component.mjs +181 -0
- package/esm2020/lib/alert/alert.module.mjs +40 -0
- package/esm2020/lib/alert/index.mjs +2 -0
- package/esm2020/lib/alert/public_api.mjs +5 -0
- package/esm2020/lib/avatar/avatar.component.mjs +49 -0
- package/esm2020/lib/avatar/avatar.module.mjs +26 -0
- package/esm2020/lib/avatar/index.mjs +2 -0
- package/esm2020/lib/avatar/public_api.mjs +3 -0
- package/esm2020/lib/backdrop/backdrop.service.mjs +52 -0
- package/esm2020/lib/badge/badge.component.mjs +42 -0
- package/esm2020/lib/badge/badge.module.mjs +26 -0
- package/esm2020/lib/badge/index.mjs +2 -0
- package/esm2020/lib/badge/public_api.mjs +3 -0
- package/esm2020/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +43 -0
- package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +37 -0
- package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.mjs +2 -0
- package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +41 -0
- package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +53 -0
- package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +37 -0
- package/esm2020/lib/breadcrumb/index.mjs +2 -0
- package/esm2020/lib/breadcrumb/public_api.mjs +5 -0
- package/esm2020/lib/button/button-close.directive.mjs +43 -0
- package/esm2020/lib/button/button.directive.mjs +112 -0
- package/esm2020/lib/button/button.module.mjs +31 -0
- package/esm2020/lib/button/index.mjs +2 -0
- package/esm2020/lib/button/public_api.mjs +4 -0
- package/esm2020/lib/button-group/button-group/button-group.component.mjs +41 -0
- package/esm2020/lib/button-group/button-group.module.mjs +31 -0
- package/esm2020/lib/button-group/button-toolbar/button-toolbar.component.mjs +35 -0
- package/esm2020/lib/button-group/index.mjs +2 -0
- package/esm2020/lib/button-group/public_api.mjs +4 -0
- package/esm2020/lib/callout/callout.component.mjs +23 -0
- package/esm2020/lib/callout/callout.module.mjs +22 -0
- package/esm2020/lib/callout/index.mjs +2 -0
- package/esm2020/lib/callout/public_api.mjs +3 -0
- package/esm2020/lib/card/card-body.component.mjs +22 -0
- package/esm2020/lib/card/card-footer.component.mjs +22 -0
- package/esm2020/lib/card/card-group.component.mjs +22 -0
- package/esm2020/lib/card/card-header-actions.component.mjs +20 -0
- package/esm2020/lib/card/card-header.component.mjs +22 -0
- package/esm2020/lib/card/card-img-overlay/card-img-overlay.component.mjs +19 -0
- package/esm2020/lib/card/card-img.directive.mjs +25 -0
- package/esm2020/lib/card/card-link.directive.mjs +21 -0
- package/esm2020/lib/card/card-subtitle.directive.mjs +21 -0
- package/esm2020/lib/card/card-text.directive.mjs +21 -0
- package/esm2020/lib/card/card-title.directive.mjs +21 -0
- package/esm2020/lib/card/card.component.mjs +29 -0
- package/esm2020/lib/card/card.module.mjs +81 -0
- package/esm2020/lib/card/index.mjs +2 -0
- package/esm2020/lib/card/public_api.mjs +14 -0
- package/esm2020/lib/carousel/carousel/carousel.component.mjs +173 -0
- package/esm2020/lib/carousel/carousel-caption/carousel-caption.component.mjs +17 -0
- package/esm2020/lib/carousel/carousel-control/carousel-control.component.mjs +83 -0
- package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +45 -0
- package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +47 -0
- package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +68 -0
- package/esm2020/lib/carousel/carousel-state.mjs +73 -0
- package/esm2020/lib/carousel/carousel-state.type.mjs +2 -0
- package/esm2020/lib/carousel/carousel.animation.mjs +70 -0
- package/esm2020/lib/carousel/carousel.config.mjs +22 -0
- package/esm2020/lib/carousel/carousel.module.mjs +54 -0
- package/esm2020/lib/carousel/carousel.service.mjs +18 -0
- package/esm2020/lib/carousel/index.mjs +2 -0
- package/esm2020/lib/carousel/intersection.service.mjs +33 -0
- package/esm2020/lib/carousel/public_api.mjs +9 -0
- package/esm2020/lib/collapse/collapse.animations.mjs +11 -0
- package/esm2020/lib/collapse/collapse.directive.mjs +130 -0
- package/esm2020/lib/collapse/collapse.module.mjs +25 -0
- package/esm2020/lib/collapse/index.mjs +2 -0
- package/esm2020/lib/collapse/public_api.mjs +3 -0
- package/esm2020/lib/coreui.types.mjs +10 -0
- package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +296 -0
- package/esm2020/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +23 -0
- package/esm2020/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +23 -0
- package/esm2020/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +23 -0
- package/esm2020/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +68 -0
- package/esm2020/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +81 -0
- package/esm2020/lib/dropdown/dropdown.module.mjs +61 -0
- package/esm2020/lib/dropdown/dropdown.service.mjs +18 -0
- package/esm2020/lib/dropdown/index.mjs +2 -0
- package/esm2020/lib/dropdown/public_api.mjs +9 -0
- package/esm2020/lib/footer/footer.component.mjs +38 -0
- package/esm2020/lib/footer/footer.module.mjs +26 -0
- package/esm2020/lib/footer/index.mjs +2 -0
- package/esm2020/lib/footer/public_api.mjs +3 -0
- package/esm2020/lib/form/form/form.directive.mjs +38 -0
- package/esm2020/lib/form/form-check/form-check-input.directive.mjs +59 -0
- package/esm2020/lib/form/form-check/form-check-label.directive.mjs +21 -0
- package/esm2020/lib/form/form-check/form-check.component.mjs +75 -0
- package/esm2020/lib/form/form-control/form-control.directive.mjs +71 -0
- package/esm2020/lib/form/form-feedback/form-feedback.component.mjs +42 -0
- package/esm2020/lib/form/form-floating/form-floating.directive.mjs +38 -0
- package/esm2020/lib/form/form-label/form-label.directive.mjs +39 -0
- package/esm2020/lib/form/form-select/form-select.directive.mjs +34 -0
- package/esm2020/lib/form/form-text/form-text.directive.mjs +22 -0
- package/esm2020/lib/form/form.module.mjs +77 -0
- package/esm2020/lib/form/index.mjs +2 -0
- package/esm2020/lib/form/input-group/input-group.component.mjs +31 -0
- package/esm2020/lib/form/input-group-text/input-group-text.directive.mjs +22 -0
- package/esm2020/lib/form/public_api.mjs +14 -0
- package/esm2020/lib/grid/col.component.mjs +12 -0
- package/esm2020/lib/grid/col.directive.mjs +151 -0
- package/esm2020/lib/grid/col.type.mjs +2 -0
- package/esm2020/lib/grid/container.component.mjs +43 -0
- package/esm2020/lib/grid/container.type.mjs +2 -0
- package/esm2020/lib/grid/grid.module.mjs +48 -0
- package/esm2020/lib/grid/gutter.directive.mjs +56 -0
- package/esm2020/lib/grid/gutter.type.mjs +2 -0
- package/esm2020/lib/grid/index.mjs +2 -0
- package/esm2020/lib/grid/public_api.mjs +8 -0
- package/esm2020/lib/grid/row.component.mjs +12 -0
- package/esm2020/lib/grid/row.directive.mjs +45 -0
- package/esm2020/lib/grid/row.type.mjs +2 -0
- package/esm2020/lib/header/header/header.component.mjs +47 -0
- package/esm2020/lib/header/header-brand/header-brand.component.mjs +31 -0
- package/esm2020/lib/header/header-divider/header-divider.component.mjs +20 -0
- package/esm2020/lib/header/header-nav/header-nav.component.mjs +28 -0
- package/esm2020/lib/header/header-text/header-text.component.mjs +20 -0
- package/esm2020/lib/header/header-toggler/header-toggler.directive.mjs +54 -0
- package/esm2020/lib/header/header.module.mjs +51 -0
- package/esm2020/lib/header/index.mjs +2 -0
- package/esm2020/lib/header/public_api.mjs +8 -0
- package/esm2020/lib/image/img.directive.mjs +91 -0
- package/esm2020/lib/image/img.module.mjs +26 -0
- package/esm2020/lib/image/index.mjs +2 -0
- package/esm2020/lib/image/public_api.mjs +3 -0
- package/esm2020/lib/list-group/index.mjs +2 -0
- package/esm2020/lib/list-group/list-group-item.directive.mjs +73 -0
- package/esm2020/lib/list-group/list-group.directive.mjs +44 -0
- package/esm2020/lib/list-group/list-group.module.mjs +27 -0
- package/esm2020/lib/list-group/public_api.mjs +4 -0
- package/esm2020/lib/modal/index.mjs +2 -0
- package/esm2020/lib/modal/modal/modal.component.mjs +314 -0
- package/esm2020/lib/modal/modal-body/modal-body.component.mjs +19 -0
- package/esm2020/lib/modal/modal-content/modal-content.component.mjs +36 -0
- package/esm2020/lib/modal/modal-dialog/modal-dialog.component.mjs +32 -0
- package/esm2020/lib/modal/modal-dismiss/modal-toggle.directive.mjs +27 -0
- package/esm2020/lib/modal/modal-footer/modal-footer.component.mjs +22 -0
- package/esm2020/lib/modal/modal-header/modal-header.component.mjs +24 -0
- package/esm2020/lib/modal/modal-title/modal-title.directive.mjs +21 -0
- package/esm2020/lib/modal/modal.module.mjs +71 -0
- package/esm2020/lib/modal/modal.service.mjs +21 -0
- package/esm2020/lib/modal/public_api.mjs +11 -0
- package/esm2020/lib/nav/index.mjs +2 -0
- package/esm2020/lib/nav/nav-item.component.mjs +19 -0
- package/esm2020/lib/nav/nav-link.directive.mjs +87 -0
- package/esm2020/lib/nav/nav.component.mjs +27 -0
- package/esm2020/lib/nav/nav.module.mjs +24 -0
- package/esm2020/lib/nav/public_api.mjs +5 -0
- package/esm2020/lib/navbar/index.mjs +2 -0
- package/esm2020/lib/navbar/navbar-brand/navbar-brand.directive.mjs +23 -0
- package/esm2020/lib/navbar/navbar-nav/navbar-nav.component.mjs +40 -0
- package/esm2020/lib/navbar/navbar-text/navbar-text.component.mjs +20 -0
- package/esm2020/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +63 -0
- package/esm2020/lib/navbar/navbar.component.mjs +84 -0
- package/esm2020/lib/navbar/navbar.module.mjs +50 -0
- package/esm2020/lib/navbar/public_api.mjs +7 -0
- package/esm2020/lib/offcanvas/index.mjs +2 -0
- package/esm2020/lib/offcanvas/offcanvas/offcanvas.component.mjs +244 -0
- package/esm2020/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +19 -0
- package/esm2020/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +19 -0
- package/esm2020/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +21 -0
- package/esm2020/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +27 -0
- package/esm2020/lib/offcanvas/offcanvas.module.mjs +59 -0
- package/esm2020/lib/offcanvas/offcanvas.service.mjs +21 -0
- package/esm2020/lib/offcanvas/public_api.mjs +8 -0
- package/esm2020/lib/pagination/index.mjs +2 -0
- package/esm2020/lib/pagination/page-item/page-item.component.mjs +12 -0
- package/esm2020/lib/pagination/page-item/page-item.directive.mjs +62 -0
- package/esm2020/lib/pagination/page-link/page-link.directive.mjs +21 -0
- package/esm2020/lib/pagination/pagination/pagination.component.mjs +41 -0
- package/esm2020/lib/pagination/pagination.module.mjs +41 -0
- package/esm2020/lib/pagination/public_api.mjs +6 -0
- package/esm2020/lib/popover/index.mjs +2 -0
- package/esm2020/lib/popover/popover/popover.component.mjs +92 -0
- package/esm2020/lib/popover/popover.directive.mjs +191 -0
- package/esm2020/lib/popover/popover.module.mjs +31 -0
- package/esm2020/lib/popover/public_api.mjs +4 -0
- package/esm2020/lib/progress/index.mjs +2 -0
- package/esm2020/lib/progress/progress-bar.component.mjs +112 -0
- package/esm2020/lib/progress/progress-bar.mjs +2 -0
- package/esm2020/lib/progress/progress.component.mjs +72 -0
- package/esm2020/lib/progress/progress.module.mjs +27 -0
- package/esm2020/lib/progress/public_api.mjs +4 -0
- package/esm2020/lib/services/class-toggle.service.mjs +30 -0
- package/esm2020/lib/services/index.mjs +2 -0
- package/esm2020/lib/services/listeners.service.mjs +43 -0
- package/esm2020/lib/services/public_api.mjs +2 -0
- package/esm2020/lib/shared/html-attr.directive.mjs +52 -0
- package/esm2020/lib/shared/index.mjs +2 -0
- package/esm2020/lib/shared/public_api.mjs +4 -0
- package/esm2020/lib/shared/shared.module.mjs +48 -0
- package/esm2020/lib/shared/template-id.directive.mjs +19 -0
- package/esm2020/lib/sidebar/index.mjs +2 -0
- package/esm2020/lib/sidebar/public_api.mjs +10 -0
- package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +217 -0
- package/esm2020/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +60 -0
- package/esm2020/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +30 -0
- package/esm2020/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +20 -0
- package/esm2020/lib/sidebar/sidebar-header/sidebar-header.component.mjs +20 -0
- package/esm2020/lib/sidebar/sidebar-nav/index.mjs +2 -0
- package/esm2020/lib/sidebar/sidebar-nav/public_api.mjs +14 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +24 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +18 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +21 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +33 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +43 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +94 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +23 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +68 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +137 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.mjs +2 -0
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +54 -0
- package/esm2020/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +40 -0
- package/esm2020/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +26 -0
- package/esm2020/lib/sidebar/sidebar.module.mjs +98 -0
- package/esm2020/lib/sidebar/sidebar.service.mjs +21 -0
- package/esm2020/lib/spinner/index.mjs +2 -0
- package/esm2020/lib/spinner/public_api.mjs +3 -0
- package/esm2020/lib/spinner/spinner.component.mjs +49 -0
- package/esm2020/lib/spinner/spinner.module.mjs +30 -0
- package/esm2020/lib/table/index.mjs +2 -0
- package/esm2020/lib/table/public_api.mjs +5 -0
- package/esm2020/lib/table/table-active.directive.mjs +40 -0
- package/esm2020/lib/table/table-color.directive.mjs +24 -0
- package/esm2020/lib/table/table.directive.mjs +131 -0
- package/esm2020/lib/table/table.module.mjs +36 -0
- package/esm2020/lib/tabs/index.mjs +2 -0
- package/esm2020/lib/tabs/public_api.mjs +6 -0
- package/esm2020/lib/tabs/tab-content/tab-content.component.mjs +92 -0
- package/esm2020/lib/tabs/tab-content-ref.directive.mjs +128 -0
- package/esm2020/lib/tabs/tab-pane/tab-pane.component.mjs +57 -0
- package/esm2020/lib/tabs/tab.service.mjs +21 -0
- package/esm2020/lib/tabs/tabs.module.mjs +42 -0
- package/esm2020/lib/toast/index.mjs +2 -0
- package/esm2020/lib/toast/public_api.mjs +9 -0
- package/esm2020/lib/toast/toast/toast.component.mjs +238 -0
- package/esm2020/lib/toast/toast-body/toast-body.component.mjs +21 -0
- package/esm2020/lib/toast/toast-close.directive.mjs +28 -0
- package/esm2020/lib/toast/toast-header/toast-header.component.mjs +31 -0
- package/esm2020/lib/toast/toast.module.mjs +50 -0
- package/esm2020/lib/toast/toaster/toaster-host.directive.mjs +17 -0
- package/esm2020/lib/toast/toaster/toaster.component.mjs +140 -0
- package/esm2020/lib/toast/toaster/toaster.service.mjs +21 -0
- package/esm2020/lib/tooltip/index.mjs +2 -0
- package/esm2020/lib/tooltip/public_api.mjs +4 -0
- package/esm2020/lib/tooltip/tooltip/tooltip.component.mjs +88 -0
- package/esm2020/lib/tooltip/tooltip.directive.mjs +185 -0
- package/esm2020/lib/tooltip/tooltip.module.mjs +31 -0
- package/esm2020/lib/utilities/align.directive.mjs +24 -0
- package/esm2020/lib/utilities/bg-color.directive.mjs +33 -0
- package/esm2020/lib/utilities/border.directive.mjs +66 -0
- package/esm2020/lib/utilities/border.type.mjs +2 -0
- package/esm2020/lib/utilities/index.mjs +2 -0
- package/esm2020/lib/utilities/public_api.mjs +7 -0
- package/esm2020/lib/utilities/rounded.directive.mjs +65 -0
- package/esm2020/lib/utilities/rounded.type.mjs +2 -0
- package/esm2020/lib/utilities/text-color.directive.mjs +32 -0
- package/esm2020/lib/utilities/utilities.module.mjs +46 -0
- package/esm2020/lib/widget/index.mjs +2 -0
- package/esm2020/lib/widget/public_api.mjs +8 -0
- package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +49 -0
- package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +52 -0
- package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +80 -0
- package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +39 -0
- package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +30 -0
- package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +96 -0
- package/esm2020/lib/widget/widget.module.mjs +59 -0
- package/esm2020/public-api.mjs +40 -0
- package/fesm2015/coreui-angular.mjs +9397 -0
- package/fesm2015/coreui-angular.mjs.map +1 -0
- package/fesm2020/coreui-angular.mjs +9337 -0
- package/fesm2020/coreui-angular.mjs.map +1 -0
- package/lib/accordion/accordion/accordion.component.d.ts +22 -0
- package/lib/accordion/accordion-button/accordion-button.directive.d.ts +18 -0
- package/lib/accordion/accordion-item/accordion-item.component.d.ts +28 -0
- package/lib/accordion/accordion.module.d.ts +10 -0
- package/lib/accordion/accordion.service.d.ts +13 -0
- package/lib/{layout/body → accordion}/index.d.ts +0 -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 +59 -30
- package/lib/alert/alert.module.d.ts +9 -0
- package/lib/{layout/footer → alert}/index.d.ts +0 -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/{layout/header → avatar}/index.d.ts +0 -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 +30 -9
- package/lib/badge/badge.module.d.ts +6 -0
- package/lib/{layout → badge}/index.d.ts +0 -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 +10 -0
- package/lib/{layout/subheader → breadcrumb}/index.d.ts +0 -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 +52 -18
- package/lib/button/button.module.d.ts +7 -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/{layout/wrapper → button-group}/index.d.ts +0 -0
- package/lib/button-group/public_api.d.ts +3 -0
- package/lib/callout/callout.component.d.ts +9 -2
- package/lib/callout/callout.module.d.ts +6 -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 +3 -5
- package/lib/card/card-footer.component.d.ts +3 -5
- package/lib/card/card-group.component.d.ts +4 -4
- package/lib/card/card-header-actions.component.d.ts +3 -0
- package/lib/card/card-header.component.d.ts +3 -5
- 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 +15 -6
- package/lib/card/card.module.d.ts +17 -0
- package/lib/card/public_api.d.ts +6 -0
- package/lib/carousel/carousel/carousel.component.d.ts +58 -7
- package/lib/carousel/carousel-caption/carousel-caption.component.d.ts +4 -3
- package/lib/carousel/carousel-control/carousel-control.component.d.ts +20 -9
- package/lib/carousel/carousel-indicators/carousel-indicators.component.d.ts +6 -3
- package/lib/carousel/carousel-inner/carousel-inner.component.d.ts +8 -5
- package/lib/carousel/carousel-item/carousel-item.component.d.ts +22 -9
- package/lib/carousel/carousel-state.d.ts +3 -0
- package/lib/carousel/carousel-state.type.d.ts +2 -0
- package/lib/carousel/carousel.animation.d.ts +1 -0
- package/lib/carousel/carousel.config.d.ts +4 -0
- package/lib/carousel/carousel.module.d.ts +11 -0
- package/lib/carousel/carousel.service.d.ts +5 -1
- package/lib/carousel/index.d.ts +1 -0
- package/lib/carousel/intersection.service.d.ts +15 -0
- package/lib/carousel/public_api.d.ts +8 -0
- package/lib/collapse/collapse.directive.d.ts +39 -12
- package/lib/collapse/collapse.module.d.ts +6 -0
- package/lib/coreui.types.d.ts +44 -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 +11 -2
- package/lib/dropdown/dropdown.service.d.ts +8 -1
- 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/{layout/footer → footer}/public_api.d.ts +1 -0
- package/lib/form/form/form.directive.d.ts +14 -10
- 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 +35 -20
- package/lib/form/form-control/form-control.directive.d.ts +34 -0
- package/lib/form/form-feedback/form-feedback.component.d.ts +16 -9
- 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 +17 -0
- package/lib/form/index.d.ts +1 -0
- package/lib/form/input-group/input-group.component.d.ts +9 -12
- 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 +3 -0
- package/lib/grid/col.directive.d.ts +72 -18
- package/lib/grid/col.type.d.ts +11 -0
- package/lib/grid/container.component.d.ts +18 -3
- package/lib/grid/container.type.d.ts +5 -0
- package/lib/grid/grid.module.d.ts +11 -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 +3 -0
- package/lib/grid/row.directive.d.ts +36 -6
- 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 +38 -14
- package/lib/image/img.module.d.ts +6 -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 +30 -14
- package/lib/list-group/list-group.directive.d.ts +17 -4
- package/lib/list-group/list-group.module.d.ts +7 -0
- package/lib/list-group/public_api.d.ts +3 -0
- package/lib/modal/index.d.ts +1 -0
- package/lib/modal/modal/modal.component.d.ts +105 -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 +14 -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 +4 -5
- package/lib/nav/nav-link.directive.d.ts +31 -7
- package/lib/nav/nav.component.d.ts +14 -10
- package/lib/nav/nav.module.d.ts +8 -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 +14 -5
- package/lib/navbar/navbar-text/navbar-text.component.d.ts +4 -4
- package/lib/navbar/navbar-toggler/navbar-toggler.directive.d.ts +33 -0
- package/lib/navbar/navbar.component.d.ts +31 -12
- package/lib/navbar/navbar.module.d.ts +11 -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 +39 -11
- package/lib/progress/progress-bar.d.ts +10 -0
- package/lib/progress/progress.component.d.ts +29 -2
- package/lib/progress/progress.module.d.ts +7 -0
- package/lib/progress/public_api.d.ts +4 -0
- package/lib/services/class-toggle.service.d.ts +3 -0
- package/lib/services/listeners.service.d.ts +19 -0
- package/lib/shared/html-attr.directive.d.ts +3 -0
- package/lib/shared/public_api.d.ts +1 -3
- package/lib/shared/shared.module.d.ts +7 -0
- package/lib/shared/template-id.directive.d.ts +9 -0
- package/lib/sidebar/public_api.d.ts +8 -11
- package/lib/sidebar/sidebar/sidebar.component.d.ts +80 -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/public_api.d.ts +8 -10
- package/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.d.ts +3 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.d.ts +4 -3
- package/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.d.ts +3 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.d.ts +3 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-label.component.d.ts +3 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-link.component.d.ts +9 -8
- package/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.d.ts +3 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav-title.component.d.ts +3 -0
- package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +34 -8
- package/lib/sidebar/sidebar-nav/sidebar-nav.d.ts +3 -1
- package/lib/sidebar/sidebar-nav/sidebar-nav.service.d.ts +14 -7
- 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 +23 -0
- package/lib/sidebar/sidebar.service.d.ts +10 -3
- package/lib/spinner/index.d.ts +1 -0
- package/lib/spinner/public_api.d.ts +2 -0
- package/lib/spinner/spinner.component.d.ts +27 -4
- package/lib/spinner/spinner.module.d.ts +7 -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/public_api.d.ts +1 -1
- package/lib/toast/toast/toast.component.d.ts +64 -22
- package/lib/toast/toast-body/toast-body.component.d.ts +6 -5
- package/lib/toast/toast-close.directive.d.ts +4 -1
- package/lib/toast/toast-header/toast-header.component.d.ts +9 -2
- package/lib/toast/toast.module.d.ts +12 -0
- package/lib/toast/toaster/toaster-host.directive.d.ts +3 -0
- package/lib/toast/toaster/toaster.component.d.ts +33 -16
- package/lib/toast/toaster/toaster.service.d.ts +6 -3
- 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 +13 -0
- package/package.json +28 -17
- package/public-api.d.ts +33 -30
- package/bundles/coreui-angular.umd.js +0 -7499
- package/bundles/coreui-angular.umd.js.map +0 -1
- package/bundles/coreui-angular.umd.min.js +0 -17
- package/bundles/coreui-angular.umd.min.js.map +0 -1
- package/coreui-angular.metadata.json +0 -1
- package/esm2015/coreui-angular.js +0 -99
- package/esm2015/lib/accordion/accordion-group.component.js +0 -36
- package/esm2015/lib/accordion/accordion.component.js +0 -34
- package/esm2015/lib/accordion/accordion.module.js +0 -23
- package/esm2015/lib/alert/alert.animations.js +0 -14
- package/esm2015/lib/alert/alert.component.js +0 -137
- package/esm2015/lib/alert/alert.module.js +0 -19
- package/esm2015/lib/badge/badge.component.js +0 -46
- package/esm2015/lib/badge/badge.module.js +0 -19
- package/esm2015/lib/breadcrumb/breadcrumb.component.js +0 -41
- package/esm2015/lib/breadcrumb/breadcrumb.directive.js +0 -23
- package/esm2015/lib/breadcrumb/breadcrumb.js +0 -1
- package/esm2015/lib/breadcrumb/breadcrumb.module.js +0 -18
- package/esm2015/lib/breadcrumb/breadcrumb.service.js +0 -49
- package/esm2015/lib/button/button-group.component.js +0 -49
- package/esm2015/lib/button/button-radio-group.directive.js +0 -40
- package/esm2015/lib/button/button-radio.directive.js +0 -99
- package/esm2015/lib/button/button-toolbar.component.js +0 -43
- package/esm2015/lib/button/button.component.js +0 -70
- package/esm2015/lib/button/button.directive.js +0 -69
- package/esm2015/lib/button/button.module.js +0 -34
- package/esm2015/lib/callout/callout.component.js +0 -28
- package/esm2015/lib/callout/callout.module.js +0 -15
- package/esm2015/lib/card/card-body.component.js +0 -31
- package/esm2015/lib/card/card-footer.component.js +0 -31
- package/esm2015/lib/card/card-group.component.js +0 -25
- package/esm2015/lib/card/card-header-actions.component.js +0 -16
- package/esm2015/lib/card/card-header.component.js +0 -31
- package/esm2015/lib/card/card.component.js +0 -33
- package/esm2015/lib/card/card.module.js +0 -34
- package/esm2015/lib/card/index.js +0 -2
- package/esm2015/lib/card/public_api.js +0 -8
- package/esm2015/lib/carousel/carousel/carousel.component.js +0 -84
- package/esm2015/lib/carousel/carousel-caption/carousel-caption.component.js +0 -20
- package/esm2015/lib/carousel/carousel-control/carousel-control.component.js +0 -70
- package/esm2015/lib/carousel/carousel-indicators/carousel-indicators.component.js +0 -49
- package/esm2015/lib/carousel/carousel-inner/carousel-inner.component.js +0 -49
- package/esm2015/lib/carousel/carousel-item/carousel-item.component.js +0 -60
- package/esm2015/lib/carousel/carousel-state.js +0 -64
- package/esm2015/lib/carousel/carousel-state.type.js +0 -1
- package/esm2015/lib/carousel/carousel.animation.js +0 -37
- package/esm2015/lib/carousel/carousel.config.js +0 -13
- package/esm2015/lib/carousel/carousel.module.js +0 -39
- package/esm2015/lib/carousel/carousel.service.js +0 -16
- package/esm2015/lib/chart/chart.module.js +0 -19
- package/esm2015/lib/chart/no-zone-basechart.directive.js +0 -24
- package/esm2015/lib/collapse/collapse.animations.js +0 -11
- package/esm2015/lib/collapse/collapse.directive.js +0 -84
- package/esm2015/lib/collapse/collapse.module.js +0 -18
- package/esm2015/lib/collapse/index.js +0 -2
- package/esm2015/lib/collapse/public_api.js +0 -3
- package/esm2015/lib/dropdown/dropdown-divider.component.js +0 -11
- package/esm2015/lib/dropdown/dropdown-divider.directive.js +0 -16
- package/esm2015/lib/dropdown/dropdown-header.directive.js +0 -16
- package/esm2015/lib/dropdown/dropdown-item.directive.js +0 -16
- package/esm2015/lib/dropdown/dropdown-menu.directive.js +0 -64
- package/esm2015/lib/dropdown/dropdown-toggle.directive.js +0 -51
- package/esm2015/lib/dropdown/dropdown.directive.js +0 -105
- package/esm2015/lib/dropdown/dropdown.module.js +0 -49
- package/esm2015/lib/dropdown/dropdown.service.js +0 -18
- package/esm2015/lib/dropdown/dropdown.state.js +0 -23
- package/esm2015/lib/embed/embed-item.directive.js +0 -16
- package/esm2015/lib/embed/embed.component.js +0 -35
- package/esm2015/lib/embed/embed.module.js +0 -14
- package/esm2015/lib/form/form/form.directive.js +0 -27
- package/esm2015/lib/form/form-check/form-check.component.js +0 -41
- package/esm2015/lib/form/form-feedback/form-feedback.component.js +0 -29
- package/esm2015/lib/form/form-group/form-group.component.js +0 -31
- package/esm2015/lib/form/form-text/form-text.component.js +0 -32
- package/esm2015/lib/form/form.module.js +0 -55
- package/esm2015/lib/form/input/input.directive.js +0 -69
- package/esm2015/lib/form/input-group/input-group.component.js +0 -30
- package/esm2015/lib/form/input-group-addon/input-group-addon.component.js +0 -54
- package/esm2015/lib/form/input-group-text/input-group-text.component.js +0 -26
- package/esm2015/lib/form/label/label.directive.js +0 -40
- package/esm2015/lib/form/select/select.directive.js +0 -36
- package/esm2015/lib/form/textarea/textarea.directive.js +0 -37
- package/esm2015/lib/grid/col.component.js +0 -12
- package/esm2015/lib/grid/col.directive.js +0 -53
- package/esm2015/lib/grid/container.component.js +0 -29
- package/esm2015/lib/grid/grid.module.js +0 -30
- package/esm2015/lib/grid/row.component.js +0 -12
- package/esm2015/lib/grid/row.directive.js +0 -31
- package/esm2015/lib/image/img.directive.js +0 -48
- package/esm2015/lib/image/img.module.js +0 -19
- package/esm2015/lib/layout/body/body.component.js +0 -17
- package/esm2015/lib/layout/body/index.js +0 -2
- package/esm2015/lib/layout/body/public_api.js +0 -2
- package/esm2015/lib/layout/footer/footer.component.js +0 -35
- package/esm2015/lib/layout/footer/index.js +0 -2
- package/esm2015/lib/layout/footer/public_api.js +0 -2
- package/esm2015/lib/layout/header/header-brand.component.js +0 -46
- package/esm2015/lib/layout/header/header.component.js +0 -36
- package/esm2015/lib/layout/header/index.js +0 -2
- package/esm2015/lib/layout/header/public_api.js +0 -3
- package/esm2015/lib/layout/index.js +0 -2
- package/esm2015/lib/layout/layout.module.js +0 -36
- package/esm2015/lib/layout/public_api.js +0 -8
- package/esm2015/lib/layout/subheader/index.js +0 -2
- package/esm2015/lib/layout/subheader/public_api.js +0 -2
- package/esm2015/lib/layout/subheader/subheader.component.js +0 -29
- package/esm2015/lib/layout/wrapper/index.js +0 -2
- package/esm2015/lib/layout/wrapper/public_api.js +0 -2
- package/esm2015/lib/layout/wrapper/wrapper.component.js +0 -28
- package/esm2015/lib/list-group/list-group-item.directive.js +0 -55
- package/esm2015/lib/list-group/list-group.directive.js +0 -31
- package/esm2015/lib/list-group/list-group.module.js +0 -19
- package/esm2015/lib/media/media-body.component.js +0 -17
- package/esm2015/lib/media/media.component.js +0 -16
- package/esm2015/lib/media/media.directive.js +0 -15
- package/esm2015/lib/media/media.module.js +0 -15
- package/esm2015/lib/modal/modal.component.js +0 -92
- package/esm2015/lib/modal/modal.module.js +0 -15
- package/esm2015/lib/nav/nav-item.component.js +0 -28
- package/esm2015/lib/nav/nav-link.directive.js +0 -40
- package/esm2015/lib/nav/nav.component.js +0 -40
- package/esm2015/lib/nav/nav.module.js +0 -17
- package/esm2015/lib/navbar/navbar-brand/navbar-brand.component.js +0 -21
- package/esm2015/lib/navbar/navbar-nav/navbar-nav.component.js +0 -19
- package/esm2015/lib/navbar/navbar-text/navbar-text.component.js +0 -18
- package/esm2015/lib/navbar/navbar.component.js +0 -69
- package/esm2015/lib/navbar/navbar.module.js +0 -30
- package/esm2015/lib/progress/progress-bar.component.js +0 -85
- package/esm2015/lib/progress/progress.component.js +0 -26
- package/esm2015/lib/progress/progress.module.js +0 -19
- package/esm2015/lib/services/class-toggle.service.js +0 -30
- package/esm2015/lib/services/index.js +0 -2
- package/esm2015/lib/services/public_api.js +0 -2
- package/esm2015/lib/shared/check-bool-prop.js +0 -4
- package/esm2015/lib/shared/classes.js +0 -12
- package/esm2015/lib/shared/html-attr.directive.js +0 -53
- package/esm2015/lib/shared/index.js +0 -2
- package/esm2015/lib/shared/out-click.directive.js +0 -35
- package/esm2015/lib/shared/out-click.service.js +0 -20
- package/esm2015/lib/shared/public_api.js +0 -6
- package/esm2015/lib/shared/shared.module.js +0 -32
- package/esm2015/lib/sidebar/index.js +0 -2
- package/esm2015/lib/sidebar/public_api.js +0 -13
- package/esm2015/lib/sidebar/sidebar-backdrop.component.js +0 -33
- package/esm2015/lib/sidebar/sidebar-brand.component.js +0 -27
- package/esm2015/lib/sidebar/sidebar-footer.component.js +0 -20
- package/esm2015/lib/sidebar/sidebar-form.component.js +0 -20
- package/esm2015/lib/sidebar/sidebar-header.component.js +0 -20
- package/esm2015/lib/sidebar/sidebar-minimize.directive.js +0 -25
- package/esm2015/lib/sidebar/sidebar-minimizer.component.js +0 -17
- package/esm2015/lib/sidebar/sidebar-nav/index.js +0 -2
- package/esm2015/lib/sidebar/sidebar-nav/public_api.js +0 -14
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.js +0 -18
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.js +0 -16
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-dropdown.component.js +0 -75
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-dropdown.directive.js +0 -24
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.js +0 -17
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.js +0 -30
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-items.component.js +0 -68
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-label.component.js +0 -40
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-link.component.js +0 -90
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.js +0 -20
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav-title.component.js +0 -69
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav.component.js +0 -58
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav.js +0 -1
- package/esm2015/lib/sidebar/sidebar-nav/sidebar-nav.service.js +0 -47
- package/esm2015/lib/sidebar/sidebar-toggle.directive.js +0 -25
- package/esm2015/lib/sidebar/sidebar.component.js +0 -232
- package/esm2015/lib/sidebar/sidebar.module.js +0 -88
- package/esm2015/lib/sidebar/sidebar.service.js +0 -20
- package/esm2015/lib/spinkit/spinkit.component.js +0 -33
- package/esm2015/lib/spinkit/spinkit.module.js +0 -17
- package/esm2015/lib/spinner/spinner.component.js +0 -37
- package/esm2015/lib/spinner/spinner.module.js +0 -21
- package/esm2015/lib/switch/switch.component.js +0 -145
- package/esm2015/lib/switch/switch.module.js +0 -19
- package/esm2015/lib/tabset/tab/tab.component.js +0 -77
- package/esm2015/lib/tabset/tab-content/tab-content.component.js +0 -33
- package/esm2015/lib/tabset/tab-list/tab-list.component.js +0 -42
- package/esm2015/lib/tabset/tab-pane/tab-pane.component.js +0 -53
- package/esm2015/lib/tabset/tabset.component.js +0 -98
- package/esm2015/lib/tabset/tabset.module.js +0 -29
- package/esm2015/lib/tabset/tabset.service.js +0 -16
- package/esm2015/lib/toast/index.js +0 -2
- package/esm2015/lib/toast/public_api.js +0 -9
- package/esm2015/lib/toast/toast/toast.component.js +0 -134
- package/esm2015/lib/toast/toast-body/toast-body.component.js +0 -24
- package/esm2015/lib/toast/toast-close.directive.js +0 -25
- package/esm2015/lib/toast/toast-header/toast-header.component.js +0 -24
- package/esm2015/lib/toast/toast.module.js +0 -22
- package/esm2015/lib/toast/toaster/toaster-host.directive.js +0 -16
- package/esm2015/lib/toast/toaster/toaster.component.js +0 -109
- package/esm2015/lib/toast/toaster/toaster.service.js +0 -20
- package/esm2015/lib/toggler/toggler.component.js +0 -45
- package/esm2015/lib/toggler/toggler.module.js +0 -17
- package/esm2015/lib/widget/widget-brand/widget-brand.component.js +0 -44
- package/esm2015/lib/widget/widget-dropdown/widget-dropdown.component.js +0 -32
- package/esm2015/lib/widget/widget-icon/widget-icon.component.js +0 -59
- package/esm2015/lib/widget/widget-progress/widget-progress.component.js +0 -38
- package/esm2015/lib/widget/widget-progress-icon/widget-progress-icon.component.js +0 -37
- package/esm2015/lib/widget/widget-simple/widget-simple.component.js +0 -18
- package/esm2015/lib/widget/widget.module.js +0 -37
- package/esm2015/public-api.js +0 -34
- package/fesm2015/coreui-angular.js +0 -5976
- package/fesm2015/coreui-angular.js.map +0 -1
- package/lib/accordion/accordion-group.component.d.ts +0 -12
- package/lib/accordion/accordion.component.d.ts +0 -8
- package/lib/alert/alert.animations.d.ts +0 -2
- package/lib/breadcrumb/breadcrumb.component.d.ts +0 -13
- package/lib/breadcrumb/breadcrumb.d.ts +0 -8
- package/lib/breadcrumb/breadcrumb.directive.d.ts +0 -10
- package/lib/breadcrumb/breadcrumb.service.d.ts +0 -11
- package/lib/button/button-group.component.d.ts +0 -15
- package/lib/button/button-radio-group.directive.d.ts +0 -15
- package/lib/button/button-radio.directive.d.ts +0 -30
- package/lib/button/button-toolbar.component.d.ts +0 -13
- package/lib/button/button.component.d.ts +0 -20
- package/lib/chart/chart.module.d.ts +0 -2
- package/lib/chart/no-zone-basechart.directive.d.ts +0 -6
- package/lib/dropdown/dropdown-divider.component.d.ts +0 -2
- package/lib/dropdown/dropdown-divider.directive.d.ts +0 -3
- package/lib/dropdown/dropdown-header.directive.d.ts +0 -3
- package/lib/dropdown/dropdown-item.directive.d.ts +0 -3
- package/lib/dropdown/dropdown-menu.directive.d.ts +0 -19
- package/lib/dropdown/dropdown-toggle.directive.d.ts +0 -17
- package/lib/dropdown/dropdown.directive.d.ts +0 -27
- package/lib/dropdown/dropdown.state.d.ts +0 -12
- package/lib/embed/embed-item.directive.d.ts +0 -4
- package/lib/embed/embed.component.d.ts +0 -11
- package/lib/embed/embed.module.d.ts +0 -2
- package/lib/form/form-group/form-group.component.d.ts +0 -15
- package/lib/form/form-text/form-text.component.d.ts +0 -13
- package/lib/form/input/input.directive.d.ts +0 -21
- package/lib/form/input-group-addon/input-group-addon.component.d.ts +0 -18
- package/lib/form/input-group-text/input-group-text.component.d.ts +0 -11
- package/lib/form/label/label.directive.d.ts +0 -10
- package/lib/form/select/select.directive.d.ts +0 -8
- package/lib/form/textarea/textarea.directive.d.ts +0 -8
- package/lib/layout/body/body.component.d.ts +0 -3
- package/lib/layout/body/public_api.d.ts +0 -1
- package/lib/layout/footer/footer.component.d.ts +0 -11
- package/lib/layout/header/header-brand.component.d.ts +0 -14
- package/lib/layout/header/header.component.d.ts +0 -12
- package/lib/layout/header/public_api.d.ts +0 -2
- package/lib/layout/layout.module.d.ts +0 -2
- package/lib/layout/public_api.d.ts +0 -7
- package/lib/layout/subheader/public_api.d.ts +0 -1
- package/lib/layout/subheader/subheader.component.d.ts +0 -11
- package/lib/layout/wrapper/public_api.d.ts +0 -1
- package/lib/layout/wrapper/wrapper.component.d.ts +0 -5
- package/lib/media/media-body.component.d.ts +0 -3
- package/lib/media/media.component.d.ts +0 -4
- package/lib/media/media.directive.d.ts +0 -3
- package/lib/media/media.module.d.ts +0 -2
- package/lib/modal/modal.component.d.ts +0 -36
- package/lib/navbar/navbar-brand/navbar-brand.component.d.ts +0 -7
- package/lib/shared/check-bool-prop.d.ts +0 -1
- package/lib/shared/classes.d.ts +0 -3
- package/lib/shared/out-click.directive.d.ts +0 -11
- package/lib/shared/out-click.service.d.ts +0 -6
- package/lib/sidebar/sidebar-backdrop.component.d.ts +0 -10
- package/lib/sidebar/sidebar-brand.component.d.ts +0 -12
- package/lib/sidebar/sidebar-footer.component.d.ts +0 -7
- package/lib/sidebar/sidebar-form.component.d.ts +0 -7
- package/lib/sidebar/sidebar-header.component.d.ts +0 -7
- package/lib/sidebar/sidebar-minimize.directive.d.ts +0 -7
- package/lib/sidebar/sidebar-minimizer.component.d.ts +0 -4
- package/lib/sidebar/sidebar-nav/sidebar-nav-dropdown.component.d.ts +0 -25
- package/lib/sidebar/sidebar-nav/sidebar-nav-dropdown.directive.d.ts +0 -6
- package/lib/sidebar/sidebar-nav/sidebar-nav-items.component.d.ts +0 -10
- package/lib/sidebar/sidebar-toggle.directive.d.ts +0 -7
- package/lib/sidebar/sidebar.component.d.ts +0 -57
- package/lib/spinkit/spinkit.component.d.ts +0 -9
- package/lib/spinkit/spinkit.module.d.ts +0 -2
- package/lib/switch/switch.component.d.ts +0 -43
- package/lib/switch/switch.module.d.ts +0 -2
- package/lib/tabset/tab/tab.component.d.ts +0 -26
- package/lib/tabset/tab-content/tab-content.component.d.ts +0 -12
- package/lib/tabset/tab-list/tab-list.component.d.ts +0 -14
- package/lib/tabset/tab-pane/tab-pane.component.d.ts +0 -19
- package/lib/tabset/tabset.component.d.ts +0 -34
- package/lib/tabset/tabset.module.d.ts +0 -2
- package/lib/tabset/tabset.service.d.ts +0 -7
- package/lib/toggler/toggler.component.d.ts +0 -13
- package/lib/toggler/toggler.module.d.ts +0 -2
- package/lib/widget/widget-brand/widget-brand.component.d.ts +0 -14
- package/lib/widget/widget-dropdown/widget-dropdown.component.d.ts +0 -10
- package/lib/widget/widget-icon/widget-icon.component.d.ts +0 -14
- package/lib/widget/widget-progress/widget-progress.component.d.ts +0 -13
- package/lib/widget/widget-progress-icon/widget-progress-icon.component.d.ts +0 -12
- package/lib/widget/widget-simple/widget-simple.component.d.ts +0 -7
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 creativeLabs Łukasz Holeczek
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,52 +1,150 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://coreui.io/">
|
|
3
|
+
<img
|
|
4
|
+
src="https://coreui.io/images/brand/coreui-signet.svg"
|
|
5
|
+
alt="CoreUI logo"
|
|
6
|
+
width="200"
|
|
7
|
+
/>
|
|
8
|
+
</a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<h3 align="center">CoreUI for Angular</h3>
|
|
12
|
+
<h6 align="center"><small>(v4 alpha)</small></h6>
|
|
13
|
+
|
|
14
|
+
<p align="center">
|
|
15
|
+
Angular Components Library built on top of Bootstrap 5 and TypeScript.
|
|
16
|
+
<br>
|
|
17
|
+
<a href="https://coreui.io/angular/docs/4.0/"><strong>Explore CoreUI for Angular docs »</strong></a>
|
|
18
|
+
<br>
|
|
19
|
+
<br>
|
|
20
|
+
<a href="https://github.com/coreui/coreui-angular/issues/new?template=bug_report.md">Report a bug</a>
|
|
21
|
+
·
|
|
22
|
+
<a href="https://github.com/coreui/coreui-angular/issues/new?template=feature_request.md">Request a feature</a>
|
|
23
|
+
·
|
|
24
|
+
<a href="https://blog.coreui.io/">Blog</a>
|
|
25
|
+
</p>
|
|
26
|
+
|
|
27
|
+
## Status
|
|
28
|
+
|
|
29
|
+
[![npm-coreui-angular-next][npm-coreui-angular-badge-next]][npm-coreui-angular]
|
|
30
|
+
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
|
|
31
|
+

|
|
32
|
+
|
|
33
|
+
[npm-coreui-angular-badge-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square&color=red
|
|
34
|
+
[npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular
|
|
35
|
+
[npm-coreui-angular-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
|
|
36
|
+
|
|
37
|
+
## Table of contents
|
|
38
|
+
|
|
39
|
+
- [Status](#status)
|
|
40
|
+
- [Quick start](#quick-start)
|
|
41
|
+
- [Templates](#templates)
|
|
42
|
+
- [Bugs and feature requests](#bugs-and-feature-requests)
|
|
43
|
+
- [Documentation](#documentation)
|
|
44
|
+
- [Contributing](#contributing)
|
|
45
|
+
- [Community](#community)
|
|
46
|
+
- [Versioning](#versioning)
|
|
47
|
+
- [Creators](#creators)
|
|
48
|
+
- [Copyright and license](#copyright-and-license)
|
|
49
|
+
|
|
50
|
+
## Quick start
|
|
51
|
+
|
|
52
|
+
### Prerequisites
|
|
53
|
+
Before you begin, make sure your development environment includes `Node.js®` and `npm` package manager.
|
|
54
|
+
|
|
55
|
+
###### Node.js
|
|
56
|
+
[**Angular 13**](https://angular.io/guide/what-is-angular) requires `Node.js` LTS version `^12.20`, `^14` or `^16`.
|
|
57
|
+
|
|
58
|
+
- To check your version, run `node -v` in a terminal/console window.
|
|
59
|
+
- To get `Node.js`, go to [nodejs.org](https://nodejs.org/).
|
|
60
|
+
|
|
61
|
+
###### Angular CLI
|
|
62
|
+
Install the Angular CLI globally using a terminal/console window.
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npm install -g @angular/cli
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Instalation
|
|
69
|
+
Several quick start options are available (pick one):
|
|
70
|
+
|
|
71
|
+
- [Download the latest release](https://github.com/coreui/coreui-angular/)
|
|
72
|
+
- Clone the repo: `git clone https://github.com/coreui/coreui-angular.git`
|
|
73
|
+
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular`
|
|
74
|
+
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/angular`
|
|
75
|
+
|
|
76
|
+
Read the [Getting started page](https://coreui.io/angular/docs/4.0/) for information on the framework contents, templates and examples, and more.
|
|
77
|
+
|
|
78
|
+
#### CoreUI CSS files
|
|
79
|
+
|
|
80
|
+
##### Installation
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npm install @coreui/coreui --save
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
##### Basic usage
|
|
87
|
+
|
|
88
|
+
```scss
|
|
89
|
+
import '~@coreui/coreui/dist/css/coreui.min.css'
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
#### Bootstrap CSS files
|
|
93
|
+
|
|
94
|
+
##### Installation (optional)
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
npm install bootstrap
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Templates
|
|
101
|
+
|
|
102
|
+
* [CoreUI Free Angular Admin Template](https://github.com/coreui/coreui-free-angular-admin-template)
|
|
103
|
+
* 💪 [CoreUI Pro Angular Admin Template](https://coreui.io/pro/angular/)
|
|
104
|
+
|
|
105
|
+
## Bugs and feature requests
|
|
106
|
+
|
|
107
|
+
Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/coreui/coreui-angular/blob/main/.github/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/coreui/coreui-angular/issues/new).
|
|
108
|
+
|
|
109
|
+
## Documentation
|
|
110
|
+
|
|
111
|
+
The documentation for the CoreUI & CoreUI PRO is hosted at our website [CoreUI for Angular](https://coreui.io/angular/docs/4.0/)
|
|
112
|
+
|
|
113
|
+
## Contributing
|
|
114
|
+
|
|
115
|
+
Please read through our [contributing guidelines](https://github.com/coreui/coreui-angular/blob/main/.github/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
|
|
116
|
+
|
|
117
|
+
Editor preferences are available in the [editor config](https://github.com/coreui/coreui-angular/blob/main/.editorconfig) for easy use in common text editors. Read more and download plugins at <https://editorconfig.org/>.
|
|
118
|
+
|
|
119
|
+
## Community
|
|
120
|
+
|
|
121
|
+
Stay up to date on the development of CoreUI and reach out to the community with these helpful resources.
|
|
122
|
+
|
|
123
|
+
- Read and subscribe to [The Official CoreUI Blog](https://blog.coreui.io/).
|
|
124
|
+
|
|
125
|
+
You can also follow [@core_ui on Twitter](https://twitter.com/core_ui).
|
|
126
|
+
|
|
127
|
+
## Versioning
|
|
128
|
+
|
|
129
|
+
For transparency into our release cycle and in striving to maintain backward compatibility, CoreUI is maintained under [the Semantic Versioning guidelines](http://semver.org/).
|
|
130
|
+
|
|
131
|
+
See [the Releases section of our project](https://github.com/coreui/coreui-angular/releases) for changelogs for each release version.
|
|
132
|
+
|
|
133
|
+
## Creators
|
|
134
|
+
|
|
135
|
+
**Łukasz Holeczek**
|
|
136
|
+
|
|
137
|
+
- <https://twitter.com/lukaszholeczek>
|
|
138
|
+
- <https://github.com/mrholek>
|
|
139
|
+
|
|
140
|
+
**Andrzej Kopański**
|
|
141
|
+
|
|
142
|
+
- <https://github.com/xidedix>
|
|
143
|
+
|
|
144
|
+
**The CoreUI Team**
|
|
145
|
+
|
|
146
|
+
- <https://github.com/orgs/coreui/people>
|
|
147
|
+
|
|
148
|
+
## Copyright and license
|
|
149
|
+
|
|
150
|
+
Copyright 2021 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-angular/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
|
package/coreui-angular.d.ts
CHANGED
|
@@ -1,98 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@coreui/angular" />
|
|
1
5
|
export * from './public-api';
|
|
2
|
-
export { AccordionGroupComponent as ɵb } from './lib/accordion/accordion-group.component';
|
|
3
|
-
export { AccordionComponent as ɵa } from './lib/accordion/accordion.component';
|
|
4
|
-
export { AlertComponent as ɵe } from './lib/alert/alert.component';
|
|
5
|
-
export { BadgeComponent as ɵf } from './lib/badge/badge.component';
|
|
6
|
-
export { BreadcrumbComponent as ɵh } from './lib/breadcrumb/breadcrumb.component';
|
|
7
|
-
export { BreadcrumbDirective as ɵi } from './lib/breadcrumb/breadcrumb.directive';
|
|
8
|
-
export { BreadcrumbService as ɵj } from './lib/breadcrumb/breadcrumb.service';
|
|
9
|
-
export { ButtonGroupComponent as ɵm } from './lib/button/button-group.component';
|
|
10
|
-
export { ButtonRadioGroupDirective as ɵr, RADIO_CONTROL_VALUE_ACCESSOR as ɵq } from './lib/button/button-radio-group.directive';
|
|
11
|
-
export { ButtonRadioDirective as ɵp, RADIO_CONTROL_VALUE_ACCESSOR as ɵo } from './lib/button/button-radio.directive';
|
|
12
|
-
export { ButtonToolbarComponent as ɵn } from './lib/button/button-toolbar.component';
|
|
13
|
-
export { ButtonComponent as ɵk } from './lib/button/button.component';
|
|
14
|
-
export { ButtonDirective as ɵl } from './lib/button/button.directive';
|
|
15
|
-
export { CalloutComponent as ɵs } from './lib/callout/callout.component';
|
|
16
|
-
export { CardModule as ɵc } from './lib/card';
|
|
17
|
-
export { CardBodyComponent as ɵu } from './lib/card/card-body.component';
|
|
18
|
-
export { CardFooterComponent as ɵv } from './lib/card/card-footer.component';
|
|
19
|
-
export { CardGroupComponent as ɵw } from './lib/card/card-group.component';
|
|
20
|
-
export { CardHeaderActionsComponent as ɵy } from './lib/card/card-header-actions.component';
|
|
21
|
-
export { CardHeaderComponent as ɵx } from './lib/card/card-header.component';
|
|
22
|
-
export { CardComponent as ɵt } from './lib/card/card.component';
|
|
23
|
-
export { CarouselCaptionComponent as ɵbe } from './lib/carousel/carousel-caption/carousel-caption.component';
|
|
24
|
-
export { CarouselControlComponent as ɵbf } from './lib/carousel/carousel-control/carousel-control.component';
|
|
25
|
-
export { CarouselIndicatorsComponent as ɵbg } from './lib/carousel/carousel-indicators/carousel-indicators.component';
|
|
26
|
-
export { CarouselInnerComponent as ɵbh } from './lib/carousel/carousel-inner/carousel-inner.component';
|
|
27
|
-
export { CarouselItemComponent as ɵbl } from './lib/carousel/carousel-item/carousel-item.component';
|
|
28
|
-
export { CarouselState as ɵbc } from './lib/carousel/carousel-state';
|
|
29
|
-
export { slideAnimation as ɵbk, toLeft as ɵbi, toRight as ɵbj } from './lib/carousel/carousel.animation';
|
|
30
|
-
export { CarouselConfig as ɵbd } from './lib/carousel/carousel.config';
|
|
31
|
-
export { CarouselService as ɵbb } from './lib/carousel/carousel.service';
|
|
32
|
-
export { CarouselComponent as ɵba } from './lib/carousel/carousel/carousel.component';
|
|
33
|
-
export { NoZoneBaseChartDirective as ɵz } from './lib/chart/no-zone-basechart.directive';
|
|
34
|
-
export { CollapseDirective as ɵd } from './lib/collapse/collapse.directive';
|
|
35
|
-
export { DropdownDividerComponent as ɵbv } from './lib/dropdown/dropdown-divider.component';
|
|
36
|
-
export { DropdownDividerDirective as ɵbt } from './lib/dropdown/dropdown-divider.directive';
|
|
37
|
-
export { DropdownHeaderDirective as ɵbs } from './lib/dropdown/dropdown-header.directive';
|
|
38
|
-
export { DropdownItemDirective as ɵbu } from './lib/dropdown/dropdown-item.directive';
|
|
39
|
-
export { DropdownMenuDirective as ɵbr } from './lib/dropdown/dropdown-menu.directive';
|
|
40
|
-
export { DropdownToggleDirective as ɵbq } from './lib/dropdown/dropdown-toggle.directive';
|
|
41
|
-
export { DropdownDirective as ɵbm } from './lib/dropdown/dropdown.directive';
|
|
42
|
-
export { DropdownService as ɵbn } from './lib/dropdown/dropdown.service';
|
|
43
|
-
export { DropdownState as ɵbo } from './lib/dropdown/dropdown.state';
|
|
44
|
-
export { EmbedItemDirective as ɵbx } from './lib/embed/embed-item.directive';
|
|
45
|
-
export { EmbedComponent as ɵbw } from './lib/embed/embed.component';
|
|
46
|
-
export { FormCheckComponent as ɵbz } from './lib/form/form-check/form-check.component';
|
|
47
|
-
export { FormFeedbackComponent as ɵca } from './lib/form/form-feedback/form-feedback.component';
|
|
48
|
-
export { FormGroupComponent as ɵcb } from './lib/form/form-group/form-group.component';
|
|
49
|
-
export { FormTextComponent as ɵcc } from './lib/form/form-text/form-text.component';
|
|
50
|
-
export { FormDirective as ɵby } from './lib/form/form/form.directive';
|
|
51
|
-
export { InputGroupAddonComponent as ɵcg, InputGroupAppendComponent as ɵci, InputGroupPrependComponent as ɵch } from './lib/form/input-group-addon/input-group-addon.component';
|
|
52
|
-
export { InputGroupTextComponent as ɵcf } from './lib/form/input-group-text/input-group-text.component';
|
|
53
|
-
export { InputGroupComponent as ɵce } from './lib/form/input-group/input-group.component';
|
|
54
|
-
export { InputDirective as ɵcd } from './lib/form/input/input.directive';
|
|
55
|
-
export { LabelDirective as ɵcl } from './lib/form/label/label.directive';
|
|
56
|
-
export { SelectDirective as ɵck } from './lib/form/select/select.directive';
|
|
57
|
-
export { TextareaDirective as ɵcj } from './lib/form/textarea/textarea.directive';
|
|
58
|
-
export { ColComponent as ɵcp } from './lib/grid/col.component';
|
|
59
|
-
export { ColDirective as ɵcq } from './lib/grid/col.directive';
|
|
60
|
-
export { ContainerComponent as ɵcm } from './lib/grid/container.component';
|
|
61
|
-
export { RowComponent as ɵcn } from './lib/grid/row.component';
|
|
62
|
-
export { RowDirective as ɵco } from './lib/grid/row.directive';
|
|
63
|
-
export { ImgDirective as ɵcr } from './lib/image/img.directive';
|
|
64
|
-
export { ListGroupItemDirective as ɵct } from './lib/list-group/list-group-item.directive';
|
|
65
|
-
export { ListGroupDirective as ɵcs } from './lib/list-group/list-group.directive';
|
|
66
|
-
export { MediaBodyComponent as ɵcw } from './lib/media/media-body.component';
|
|
67
|
-
export { MediaComponent as ɵcu } from './lib/media/media.component';
|
|
68
|
-
export { MediaDirective as ɵcv } from './lib/media/media.directive';
|
|
69
|
-
export { ModalComponent as ɵcx } from './lib/modal/modal.component';
|
|
70
|
-
export { NavItemComponent as ɵcz } from './lib/nav/nav-item.component';
|
|
71
|
-
export { NavLinkDirective as ɵda } from './lib/nav/nav-link.directive';
|
|
72
|
-
export { NavComponent as ɵcy } from './lib/nav/nav.component';
|
|
73
|
-
export { NavbarBrandComponent as ɵdc } from './lib/navbar/navbar-brand/navbar-brand.component';
|
|
74
|
-
export { NavbarNavComponent as ɵdd } from './lib/navbar/navbar-nav/navbar-nav.component';
|
|
75
|
-
export { NavbarTextComponent as ɵde } from './lib/navbar/navbar-text/navbar-text.component';
|
|
76
|
-
export { NavbarComponent as ɵdb } from './lib/navbar/navbar.component';
|
|
77
|
-
export { ProgressBarComponent as ɵdg } from './lib/progress/progress-bar.component';
|
|
78
|
-
export { ProgressComponent as ɵdf } from './lib/progress/progress.component';
|
|
79
|
-
export { OutClickService as ɵbp, SharedModule as ɵg } from './lib/shared';
|
|
80
|
-
export { HtmlAttributesDirective as ɵdj } from './lib/shared/html-attr.directive';
|
|
81
|
-
export { OutClickDirective as ɵdh } from './lib/shared/out-click.directive';
|
|
82
|
-
export { OutClickService as ɵdi } from './lib/shared/out-click.service';
|
|
83
|
-
export { SpinkitComponent as ɵdk } from './lib/spinkit/spinkit.component';
|
|
84
|
-
export { SpinnerComponent as ɵdl } from './lib/spinner/spinner.component';
|
|
85
|
-
export { SwitchComponent as ɵdm } from './lib/switch/switch.component';
|
|
86
|
-
export { TabContentComponent as ɵds } from './lib/tabset/tab-content/tab-content.component';
|
|
87
|
-
export { TabListComponent as ɵdp } from './lib/tabset/tab-list/tab-list.component';
|
|
88
|
-
export { TabPaneComponent as ɵdr } from './lib/tabset/tab-pane/tab-pane.component';
|
|
89
|
-
export { TabComponent as ɵdq } from './lib/tabset/tab/tab.component';
|
|
90
|
-
export { TabsetComponent as ɵdn } from './lib/tabset/tabset.component';
|
|
91
|
-
export { TabsetService as ɵdo } from './lib/tabset/tabset.service';
|
|
92
|
-
export { TogglerComponent as ɵdt } from './lib/toggler/toggler.component';
|
|
93
|
-
export { WidgetBrandComponent as ɵdv } from './lib/widget/widget-brand/widget-brand.component';
|
|
94
|
-
export { WidgetDropdownComponent as ɵdx } from './lib/widget/widget-dropdown/widget-dropdown.component';
|
|
95
|
-
export { WidgetIconComponent as ɵdw } from './lib/widget/widget-icon/widget-icon.component';
|
|
96
|
-
export { WidgetProgressIconComponent as ɵdz } from './lib/widget/widget-progress-icon/widget-progress-icon.component';
|
|
97
|
-
export { WidgetProgressComponent as ɵdy } from './lib/widget/widget-progress/widget-progress.component';
|
|
98
|
-
export { WidgetSimpleComponent as ɵdu } from './lib/widget/widget-simple/widget-simple.component';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZXVpLWFuZ3VsYXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvY29yZXVpLWFuZ3VsYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Component, HostBinding, Input } from '@angular/core';
|
|
2
|
+
import { AccordionService } from '../accordion.service';
|
|
3
|
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../accordion.service";
|
|
6
|
+
export class AccordionComponent {
|
|
7
|
+
constructor(accordionService) {
|
|
8
|
+
this.accordionService = accordionService;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Make accordion items stay open when another item is opened
|
|
12
|
+
* @type boolean
|
|
13
|
+
*/
|
|
14
|
+
set alwaysOpen(value) {
|
|
15
|
+
this.accordionService.alwaysOpen = coerceBooleanProperty(value);
|
|
16
|
+
}
|
|
17
|
+
get alwaysOpen() {
|
|
18
|
+
return this.accordionService.alwaysOpen;
|
|
19
|
+
}
|
|
20
|
+
get hostClasses() {
|
|
21
|
+
return {
|
|
22
|
+
accordion: true,
|
|
23
|
+
'accordion-flush': !!this.flush
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionComponent, deps: [{ token: i1.AccordionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: AccordionComponent, selector: "c-accordion", inputs: { flush: "flush", alwaysOpen: "alwaysOpen" }, host: { properties: { "class": "this.hostClasses" } }, providers: [AccordionService], exportAs: ["cAccordionItem"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{display:block}\n"] });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{ selector: 'c-accordion', template: `<ng-content></ng-content>`, exportAs: 'cAccordionItem', providers: [AccordionService], styles: [":host{display:block}\n"] }]
|
|
32
|
+
}], ctorParameters: function () { return [{ type: i1.AccordionService }]; }, propDecorators: { flush: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], alwaysOpen: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], hostClasses: [{
|
|
37
|
+
type: HostBinding,
|
|
38
|
+
args: ['class']
|
|
39
|
+
}] } });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmV1aS1hbmd1bGFyL3NyYy9saWIvYWNjb3JkaW9uL2FjY29yZGlvbi9hY2NvcmRpb24u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ogQHR5cGUgYm9vbGVhblxuICAgKi9cbiAgQElucHV0KClcbiAgc2V0IGFsd2F5c09wZW4odmFsdWU6IGJvb2xlYW4pIHtcbiAgICB0aGlzLmFjY29yZGlvblNlcnZpY2UuYWx3YXlzT3BlbiA9IGNvZXJjZUJvb2xlYW5Qcm9wZXJ0eSh2YWx1ZSk7XG4gIH1cbiAgZ2V0IGFsd2F5c09wZW4oKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuYWNjb3JkaW9uU2VydmljZS5hbHdheXNPcGVuO1xuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gIGdldCBob3N0Q2xhc3NlcygpOiBhbnkge1xuICAgIHJldHVybiB7XG4gICAgICBhY2NvcmRpb246IHRydWUsXG4gICAgICAnYWNjb3JkaW9uLWZsdXNoJzogISF0aGlzLmZsdXNoXG4gICAgfTtcbiAgfVxuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgYWNjb3JkaW9uU2VydmljZTogQWNjb3JkaW9uU2VydmljZVxuICApIHt9XG5cbn1cbiJdfQ==
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Directive, HostBinding, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class AccordionButtonDirective {
|
|
4
|
+
constructor() {
|
|
5
|
+
/**
|
|
6
|
+
* Default type for cAccordionButton. [docs]
|
|
7
|
+
* @type string
|
|
8
|
+
* @default 'button'
|
|
9
|
+
*/
|
|
10
|
+
this.type = 'button';
|
|
11
|
+
}
|
|
12
|
+
get hostClasses() {
|
|
13
|
+
return {
|
|
14
|
+
'accordion-button': true,
|
|
15
|
+
collapsed: this.collapsed
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
get ariaExpanded() {
|
|
19
|
+
return !this.collapsed;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
AccordionButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
AccordionButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.5", type: AccordionButtonDirective, selector: "[cAccordionButton]", inputs: { collapsed: "collapsed", type: "type" }, host: { properties: { "attr.type": "this.type", "class": "this.hostClasses", "attr.aria-expanded": "this.ariaExpanded" } }, ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionButtonDirective, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: '[cAccordionButton]'
|
|
28
|
+
}]
|
|
29
|
+
}], propDecorators: { collapsed: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], type: [{
|
|
32
|
+
type: HostBinding,
|
|
33
|
+
args: ['attr.type']
|
|
34
|
+
}, {
|
|
35
|
+
type: Input
|
|
36
|
+
}], hostClasses: [{
|
|
37
|
+
type: HostBinding,
|
|
38
|
+
args: ['class']
|
|
39
|
+
}], ariaExpanded: [{
|
|
40
|
+
type: HostBinding,
|
|
41
|
+
args: ['attr.aria-expanded']
|
|
42
|
+
}] } });
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWJ1dHRvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvbGliL2FjY29yZGlvbi9hY2NvcmRpb24tYnV0dG9uL2FjY29yZGlvbi1idXR0b24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBRSxNQUFN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BJbnB1dCgpIGNvbGxhcHNlZCE6IGJvb2xlYW47XG5cbiAgLyoqXG4gICogRGVmYXVsdCB0eXBlIGZvciBjQWNjb3JkaW9uQnV0dG9uLiBbZG9jc11cbiAgICogQHR5cGUgc3RyaW5nXG4gICAqIEBkZWZhdWx0ICdidXR0b24nXG4gICAqL1xuICBASG9zdEJpbmRpbmcoJ2F0dHIudHlwZScpXG4gIEBJbnB1dCgpIHR5cGUgPSAnYnV0dG9uJztcblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzJylcbiAgZ2V0IGhvc3RDbGFzc2VzKCk6IGFueSB7XG4gICAgcmV0dXJuIHtcbiAgICAgICdhY2NvcmRpb24tYnV0dG9uJzogdHJ1ZSxcbiAgICAgIGNvbGxhcHNlZDogdGhpcy5jb2xsYXBzZWRcbiAgICB9O1xuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdhdHRyLmFyaWEtZXhwYW5kZWQnKSBnZXQgYXJpYUV4cGFuZGVkKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhdGhpcy5jb2xsYXBzZWQ7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Component, ContentChildren, HostBinding, Input, } from '@angular/core';
|
|
2
|
+
import { TemplateIdDirective } from '../../shared';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../accordion.service";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "../../collapse/collapse.directive";
|
|
7
|
+
import * as i4 from "../accordion-button/accordion-button.directive";
|
|
8
|
+
let nextId = 0;
|
|
9
|
+
export class AccordionItemComponent {
|
|
10
|
+
constructor(accordionService) {
|
|
11
|
+
this.accordionService = accordionService;
|
|
12
|
+
/**
|
|
13
|
+
* Toggle an accordion item programmatically
|
|
14
|
+
* @type boolean
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
this.visible = false;
|
|
18
|
+
this.contentId = `accordion-item-${nextId++}`;
|
|
19
|
+
this.itemContext = { $implicit: this.visible };
|
|
20
|
+
this.templates = {};
|
|
21
|
+
}
|
|
22
|
+
set open(value) {
|
|
23
|
+
console.warn('c-accordion-item "open" prop is deprecated, use "visible" prop instead.');
|
|
24
|
+
this.visible = value ?? false;
|
|
25
|
+
}
|
|
26
|
+
get hostClasses() {
|
|
27
|
+
return {
|
|
28
|
+
'accordion-item': true,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
ngOnInit() {
|
|
32
|
+
this.accordionService.addItem(this);
|
|
33
|
+
}
|
|
34
|
+
ngOnDestroy() {
|
|
35
|
+
this.accordionService.removeItem(this);
|
|
36
|
+
}
|
|
37
|
+
toggleItem() {
|
|
38
|
+
this.accordionService.toggelItem(this);
|
|
39
|
+
}
|
|
40
|
+
ngAfterContentInit() {
|
|
41
|
+
this.contentTemplates.forEach((child) => {
|
|
42
|
+
this.templates[child.id] = child.templateRef;
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
AccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionItemComponent, deps: [{ token: i1.AccordionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
AccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: AccordionItemComponent, selector: "c-accordion-item", inputs: { visible: "visible", open: "open" }, host: { properties: { "class": "this.hostClasses" } }, queries: [{ propertyName: "contentTemplates", predicate: TemplateIdDirective, descendants: true }], exportAs: ["cAccordionItem"], ngImport: i0, template: "<ng-container>\n <div class=\"accordion-header\">\n <ng-container *ngTemplateOutlet=\"templates?.accordionHeaderTemplate || defaultAccordionHeaderTemplate; context: itemContext\"></ng-container>\n </div>\n <div class=\"accordion-collapse\" cCollapse [visible]=\"visible\" [attr.aria-expanded]=\"open\" [id]=\"contentId\">\n <ng-container *ngTemplateOutlet=\"templates?.accordionBodyTemplate || defaultAccordionBodyTemplate; context: itemContext\"></ng-container>\n </div>\n</ng-container>\n\n<ng-template #defaultAccordionHeaderTemplate>\n <button cAccordionButton [collapsed]=\"!open\" [attr.aria-controls]=\"contentId\" (click)=\"toggleItem()\">\n <ng-container\n *ngTemplateOutlet=\"templates?.accordionHeader || defaultAccordionHeaderContentTemplate; context: itemContext\">\n </ng-container>\n </button>\n</ng-template>\n\n<ng-template #defaultAccordionHeaderContentTemplate>\n <ng-content></ng-content>\n</ng-template>\n\n<ng-template #defaultAccordionBodyTemplate>\n <div class=\"accordion-body\">\n <ng-container\n *ngTemplateOutlet=\"templates?.accordionBody || defaultAccordionBodyContentTemplate; context: itemContext\">\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #defaultAccordionBodyContentTemplate>\n <ng-content></ng-content>\n</ng-template>\n", styles: [":host{display:block;overflow:hidden}\n"], directives: [{ type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.CollapseDirective, selector: "[cCollapse]", inputs: ["animate", "visible", "navbar", "duration", "transition"], outputs: ["collapseChange"], exportAs: ["cCollapse"] }, { type: i4.AccordionButtonDirective, selector: "[cAccordionButton]", inputs: ["collapsed", "type"] }] });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionItemComponent, decorators: [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'c-accordion-item', exportAs: 'cAccordionItem', template: "<ng-container>\n <div class=\"accordion-header\">\n <ng-container *ngTemplateOutlet=\"templates?.accordionHeaderTemplate || defaultAccordionHeaderTemplate; context: itemContext\"></ng-container>\n </div>\n <div class=\"accordion-collapse\" cCollapse [visible]=\"visible\" [attr.aria-expanded]=\"open\" [id]=\"contentId\">\n <ng-container *ngTemplateOutlet=\"templates?.accordionBodyTemplate || defaultAccordionBodyTemplate; context: itemContext\"></ng-container>\n </div>\n</ng-container>\n\n<ng-template #defaultAccordionHeaderTemplate>\n <button cAccordionButton [collapsed]=\"!open\" [attr.aria-controls]=\"contentId\" (click)=\"toggleItem()\">\n <ng-container\n *ngTemplateOutlet=\"templates?.accordionHeader || defaultAccordionHeaderContentTemplate; context: itemContext\">\n </ng-container>\n </button>\n</ng-template>\n\n<ng-template #defaultAccordionHeaderContentTemplate>\n <ng-content></ng-content>\n</ng-template>\n\n<ng-template #defaultAccordionBodyTemplate>\n <div class=\"accordion-body\">\n <ng-container\n *ngTemplateOutlet=\"templates?.accordionBody || defaultAccordionBodyContentTemplate; context: itemContext\">\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #defaultAccordionBodyContentTemplate>\n <ng-content></ng-content>\n</ng-template>\n", styles: [":host{display:block;overflow:hidden}\n"] }]
|
|
51
|
+
}], ctorParameters: function () { return [{ type: i1.AccordionService }]; }, propDecorators: { visible: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], open: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], hostClasses: [{
|
|
56
|
+
type: HostBinding,
|
|
57
|
+
args: ['class']
|
|
58
|
+
}], contentTemplates: [{
|
|
59
|
+
type: ContentChildren,
|
|
60
|
+
args: [TemplateIdDirective, { descendants: true }]
|
|
61
|
+
}] } });
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi9hY2NvcmRpb24vYWNjb3JkaW9uLWl0ZW0vYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi9hY2NvcmRpb24vYWNjb3Jka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cbiAgPGRpdiBjbGFzcz1cImFjY29yZGlvbi1ib2R5XCI+XG4gICAgPG5nLWNvbnRhaW5lclxuICAgICAgKm5nVGVtcGxhdGVPdXRsZXQ9XCJ0ZW1wbGF0ZXM/LmFjY29yZGlvbkJvZHkgfHwgZGVmYXVsdEFjY29yZGlvbkJvZHlDb250ZW50VGVtcGxhdGU7IGNvbnRleHQ6IGl0ZW1Db250ZXh0XCI+XG4gICAgPC9uZy1jb250YWluZXI+XG4gIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cblxuPG5nLXRlbXBsYXRlICNkZWZhdWx0QWNjb3JkaW9uQm9keUNvbnRlbnRUZW1wbGF0ZT5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AccordionComponent } from './accordion/accordion.component';
|
|
4
|
+
import { AccordionButtonDirective } from './accordion-button/accordion-button.directive';
|
|
5
|
+
import { AccordionItemComponent } from './accordion-item/accordion-item.component';
|
|
6
|
+
import { AccordionService } from './accordion.service';
|
|
7
|
+
import { CollapseModule } from '../collapse';
|
|
8
|
+
import { SharedModule } from '../shared';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class AccordionModule {
|
|
11
|
+
}
|
|
12
|
+
AccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
AccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionModule, declarations: [AccordionComponent,
|
|
14
|
+
AccordionButtonDirective,
|
|
15
|
+
AccordionItemComponent], imports: [CommonModule,
|
|
16
|
+
CollapseModule,
|
|
17
|
+
SharedModule], exports: [AccordionComponent,
|
|
18
|
+
AccordionButtonDirective,
|
|
19
|
+
AccordionItemComponent] });
|
|
20
|
+
AccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionModule, providers: [
|
|
21
|
+
AccordionService
|
|
22
|
+
], imports: [[
|
|
23
|
+
CommonModule,
|
|
24
|
+
CollapseModule,
|
|
25
|
+
SharedModule
|
|
26
|
+
]] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionModule, decorators: [{
|
|
28
|
+
type: NgModule,
|
|
29
|
+
args: [{
|
|
30
|
+
declarations: [
|
|
31
|
+
AccordionComponent,
|
|
32
|
+
AccordionButtonDirective,
|
|
33
|
+
AccordionItemComponent,
|
|
34
|
+
],
|
|
35
|
+
imports: [
|
|
36
|
+
CommonModule,
|
|
37
|
+
CollapseModule,
|
|
38
|
+
SharedModule
|
|
39
|
+
],
|
|
40
|
+
exports: [
|
|
41
|
+
AccordionComponent,
|
|
42
|
+
AccordionButtonDirective,
|
|
43
|
+
AccordionItemComponent,
|
|
44
|
+
],
|
|
45
|
+
providers: [
|
|
46
|
+
AccordionService
|
|
47
|
+
]
|
|
48
|
+
}]
|
|
49
|
+
}] });
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmV1aS1hbmd1bGFyL3NyYy9saWIvYWNjb3JkaW9uL2FjY29yZGlvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFL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OiBbXG4gICAgQWNjb3JkaW9uU2VydmljZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEFjY29yZGlvbk1vZHVsZSB7XG59XG4iXX0=
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class AccordionService {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.items = [];
|
|
6
|
+
this.alwaysOpen = false;
|
|
7
|
+
}
|
|
8
|
+
addItem(item) {
|
|
9
|
+
this.items.push(item);
|
|
10
|
+
}
|
|
11
|
+
removeItem(item) {
|
|
12
|
+
const index = this.items.indexOf(item);
|
|
13
|
+
if (index !== -1) {
|
|
14
|
+
this.items.splice(index, 1);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
toggelItem(item) {
|
|
18
|
+
item.visible = !item.visible;
|
|
19
|
+
this.closeOtherItems(item);
|
|
20
|
+
}
|
|
21
|
+
closeOtherItems(openItem) {
|
|
22
|
+
if (!this.alwaysOpen) {
|
|
23
|
+
this.items.forEach((item) => {
|
|
24
|
+
if (item !== openItem) {
|
|
25
|
+
item.visible = false;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
AccordionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32
|
+
AccordionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionService });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: AccordionService, decorators: [{
|
|
34
|
+
type: Injectable
|
|
35
|
+
}], ctorParameters: function () { return []; } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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A9ICFpdGVtLnZpc2libGU7XG4gICAgdGhpcy5jbG9zZU90aGVySXRlbXMoaXRlbSk7XG4gIH1cblxuICBjbG9zZU90aGVySXRlbXMob3Blbkl0ZW06IEFjY29yZGlvbkl0ZW1Db21wb25lbnQpOiB2b2lkIHtcbiAgICBpZiAoIXRoaXMuYWx3YXlzT3Blbikge1xuICAgICAgdGhpcy5pdGVtcy5mb3JFYWNoKChpdGVtOiBBY2NvcmRpb25JdGVtQ29tcG9uZW50KSA9PiB7XG4gICAgICAgIGlmIChpdGVtICE9PSBvcGVuSXRlbSkge1xuICAgICAgICAgIGl0ZW0udmlzaWJsZSA9IGZhbHNlO1xuICAgICAgICB9XG4gICAgICB9KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './public_api';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvbGliL2FjY29yZGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { AccordionButtonDirective } from './accordion-button/accordion-button.directive';
|
|
2
|
+
export { AccordionComponent } from './accordion/accordion.component';
|
|
3
|
+
export { AccordionItemComponent } from './accordion-item/accordion-item.component';
|
|
4
|
+
export { AccordionModule } from './accordion.module';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmV1aS1hbmd1bGFyL3NyYy9saWIvYWNjb3JkaW9uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sK0NBQStDLENBQUM7QUFDekYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDckUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDbkYsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQWNjb3JkaW9uQnV0dG9uRGlyZWN0aXZlIH0gZnJvbSAnLi9hY2NvcmRpb24tYnV0dG9uL2FjY29yZGlvbi1idXR0b24uZGlyZWN0aXZlJztcbmV4cG9ydCB7IEFjY29yZGlvbkNvbXBvbmVudCB9IGZyb20gJy4vYWNjb3JkaW9uL2FjY29yZGlvbi5jb21wb25lbnQnO1xuZXhwb3J0IHsgQWNjb3JkaW9uSXRlbUNvbXBvbmVudCB9IGZyb20gJy4vYWNjb3JkaW9uLWl0ZW0vYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50JztcbmV4cG9ydCB7IEFjY29yZGlvbk1vZHVsZSB9IGZyb20gJy4vYWNjb3JkaW9uLm1vZHVsZSc7XG4iXX0=
|