@coreui/angular-pro 4.5.8 → 4.5.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/README.md +2 -2
- package/esm2022/lib/accordion/accordion/accordion.component.mjs +3 -3
- package/esm2022/lib/accordion/accordion-button/accordion-button.directive.mjs +3 -3
- package/esm2022/lib/accordion/accordion-item/accordion-item.component.mjs +20 -26
- package/esm2022/lib/accordion/accordion.module.mjs +4 -4
- package/esm2022/lib/accordion/accordion.service.mjs +3 -3
- package/esm2022/lib/alert/alert-heading.directive.mjs +3 -3
- package/esm2022/lib/alert/alert-link.directive.mjs +3 -3
- package/esm2022/lib/alert/alert.component.mjs +3 -3
- package/esm2022/lib/alert/alert.module.mjs +4 -4
- package/esm2022/lib/avatar/avatar.component.mjs +3 -3
- package/esm2022/lib/avatar/avatar.module.mjs +4 -4
- package/esm2022/lib/backdrop/backdrop.service.mjs +3 -3
- package/esm2022/lib/badge/badge.component.mjs +3 -3
- package/esm2022/lib/badge/badge.module.mjs +4 -4
- package/esm2022/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2022/lib/button/button-close.directive.mjs +13 -19
- package/esm2022/lib/button/button.directive.mjs +20 -31
- package/esm2022/lib/button/button.module.mjs +4 -4
- package/esm2022/lib/button-group/button-group/button-group.component.mjs +3 -3
- package/esm2022/lib/button-group/button-group.module.mjs +4 -4
- package/esm2022/lib/button-group/button-toolbar/button-toolbar.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar/calendar-class-view.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar/calendar.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day-title.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day.directive.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-month.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar.module.mjs +4 -4
- package/esm2022/lib/calendar/calendar.service.mjs +3 -3
- package/esm2022/lib/callout/callout.component.mjs +3 -3
- package/esm2022/lib/callout/callout.module.mjs +4 -4
- package/esm2022/lib/card/card-body.component.mjs +3 -3
- package/esm2022/lib/card/card-footer.component.mjs +3 -3
- package/esm2022/lib/card/card-group.component.mjs +3 -3
- package/esm2022/lib/card/card-header-actions.component.mjs +3 -3
- package/esm2022/lib/card/card-header.component.mjs +3 -3
- package/esm2022/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
- package/esm2022/lib/card/card-img.directive.mjs +3 -3
- package/esm2022/lib/card/card-link.directive.mjs +3 -3
- package/esm2022/lib/card/card-subtitle.directive.mjs +3 -3
- package/esm2022/lib/card/card-text.directive.mjs +3 -3
- package/esm2022/lib/card/card-title.directive.mjs +3 -3
- package/esm2022/lib/card/card.component.mjs +3 -3
- package/esm2022/lib/card/card.module.mjs +4 -4
- package/esm2022/lib/carousel/carousel/carousel.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-state.mjs +3 -3
- package/esm2022/lib/carousel/carousel.config.mjs +3 -3
- package/esm2022/lib/carousel/carousel.module.mjs +4 -4
- package/esm2022/lib/carousel/carousel.service.mjs +3 -3
- package/esm2022/lib/collapse/collapse.directive.mjs +3 -3
- package/esm2022/lib/collapse/collapse.module.mjs +4 -4
- package/esm2022/lib/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/date-picker/date-picker.module.mjs +4 -4
- package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2022/lib/date-range-picker/date-range-picker.module.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +14 -19
- package/esm2022/lib/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown.service.mjs +3 -3
- package/esm2022/lib/element-cover/element-cover.component.mjs +3 -3
- package/esm2022/lib/element-cover/element-cover.module.mjs +4 -4
- package/esm2022/lib/footer/footer.component.mjs +3 -3
- package/esm2022/lib/footer/footer.module.mjs +4 -4
- package/esm2022/lib/form/form/form.directive.mjs +16 -22
- package/esm2022/lib/form/form-check/form-check-input.directive.mjs +3 -3
- package/esm2022/lib/form/form-check/form-check-label.directive.mjs +3 -3
- package/esm2022/lib/form/form-check/form-check.component.mjs +34 -49
- package/esm2022/lib/form/form-control/form-control.directive.mjs +11 -17
- package/esm2022/lib/form/form-feedback/form-feedback.component.mjs +9 -14
- package/esm2022/lib/form/form-floating/form-floating.directive.mjs +14 -21
- package/esm2022/lib/form/form-label/form-label.directive.mjs +3 -3
- package/esm2022/lib/form/form-select/form-select.directive.mjs +3 -3
- package/esm2022/lib/form/form-text/form-text.directive.mjs +3 -3
- package/esm2022/lib/form/form.module.mjs +4 -4
- package/esm2022/lib/form/input-group/input-group.component.mjs +3 -3
- package/esm2022/lib/form/input-group-text/input-group-text.directive.mjs +3 -3
- package/esm2022/lib/grid/col.component.mjs +3 -3
- package/esm2022/lib/grid/col.directive.mjs +3 -3
- package/esm2022/lib/grid/container.component.mjs +14 -20
- package/esm2022/lib/grid/container.type.mjs +1 -1
- package/esm2022/lib/grid/grid.module.mjs +4 -4
- package/esm2022/lib/grid/gutter.directive.mjs +3 -3
- package/esm2022/lib/grid/row.component.mjs +3 -3
- package/esm2022/lib/grid/row.directive.mjs +3 -3
- package/esm2022/lib/header/header/header.component.mjs +3 -3
- package/esm2022/lib/header/header-brand/header-brand.component.mjs +3 -3
- package/esm2022/lib/header/header-divider/header-divider.component.mjs +3 -3
- package/esm2022/lib/header/header-nav/header-nav.component.mjs +3 -3
- package/esm2022/lib/header/header-text/header-text.component.mjs +3 -3
- package/esm2022/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
- package/esm2022/lib/header/header.module.mjs +4 -4
- package/esm2022/lib/image/img.directive.mjs +38 -57
- package/esm2022/lib/image/img.module.mjs +4 -4
- package/esm2022/lib/list-group/list-group-item.directive.mjs +14 -20
- package/esm2022/lib/list-group/list-group.directive.mjs +16 -24
- package/esm2022/lib/list-group/list-group.module.mjs +4 -4
- package/esm2022/lib/loading-button/loading-button.animations.mjs +26 -0
- package/esm2022/lib/loading-button/loading-button.component.mjs +7 -5
- package/esm2022/lib/loading-button/loading-button.module.mjs +4 -4
- package/esm2022/lib/modal/modal/modal.component.mjs +3 -3
- package/esm2022/lib/modal/modal-body/modal-body.component.mjs +3 -3
- package/esm2022/lib/modal/modal-content/modal-content.component.mjs +3 -3
- package/esm2022/lib/modal/modal-dialog/modal-dialog.component.mjs +3 -3
- package/esm2022/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
- package/esm2022/lib/modal/modal-footer/modal-footer.component.mjs +3 -3
- package/esm2022/lib/modal/modal-header/modal-header.component.mjs +3 -3
- package/esm2022/lib/modal/modal-title/modal-title.directive.mjs +3 -3
- package/esm2022/lib/modal/modal.module.mjs +4 -4
- package/esm2022/lib/modal/modal.service.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select/multi-select-search.directive.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select/multi-select.component.mjs +165 -85
- package/esm2022/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +23 -9
- package/esm2022/lib/multi-select/multi-select-option/multi-select-option.component.mjs +30 -23
- package/esm2022/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select.module.mjs +4 -4
- package/esm2022/lib/multi-select/multi-select.service.mjs +27 -5
- package/esm2022/lib/multi-select/multi-select.type.mjs +1 -1
- package/esm2022/lib/nav/nav-item.component.mjs +3 -3
- package/esm2022/lib/nav/nav-link.directive.mjs +20 -32
- package/esm2022/lib/nav/nav.component.mjs +3 -3
- package/esm2022/lib/nav/nav.module.mjs +4 -4
- package/esm2022/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
- package/esm2022/lib/navbar/navbar-nav/navbar-nav.component.mjs +12 -19
- package/esm2022/lib/navbar/navbar-text/navbar-text.component.mjs +3 -3
- package/esm2022/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +3 -3
- package/esm2022/lib/navbar/navbar.component.mjs +3 -3
- package/esm2022/lib/navbar/navbar.module.mjs +4 -4
- package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas.module.mjs +4 -4
- package/esm2022/lib/offcanvas/offcanvas.service.mjs +3 -3
- package/esm2022/lib/pagination/page-item/page-item.component.mjs +3 -3
- package/esm2022/lib/pagination/page-item/page-item.directive.mjs +3 -3
- package/esm2022/lib/pagination/page-link/page-link.directive.mjs +3 -3
- package/esm2022/lib/pagination/pagination/pagination.component.mjs +3 -3
- package/esm2022/lib/pagination/pagination.module.mjs +4 -4
- package/esm2022/lib/placeholder/placeholder-animation.directive.mjs +9 -8
- package/esm2022/lib/placeholder/placeholder.directive.mjs +5 -5
- package/esm2022/lib/placeholder/placeholder.module.mjs +4 -4
- package/esm2022/lib/popover/popover/popover.component.mjs +3 -3
- package/esm2022/lib/popover/popover.directive.mjs +3 -3
- package/esm2022/lib/popover/popover.module.mjs +4 -4
- package/esm2022/lib/progress/progress-bar.component.mjs +21 -31
- package/esm2022/lib/progress/progress.component.mjs +26 -42
- package/esm2022/lib/progress/progress.module.mjs +4 -4
- package/esm2022/lib/services/class-toggle.service.mjs +3 -3
- package/esm2022/lib/services/intersection.service.mjs +3 -3
- package/esm2022/lib/services/listeners.service.mjs +3 -3
- package/esm2022/lib/shared/html-attr.directive.mjs +3 -3
- package/esm2022/lib/shared/shared.module.mjs +4 -4
- package/esm2022/lib/shared/template-id.directive.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-group.service.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +6 -6
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +6 -6
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
- package/esm2022/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/lib/sidebar/sidebar.service.mjs +3 -3
- package/esm2022/lib/smart-pagination/smart-pagination.component.mjs +3 -3
- package/esm2022/lib/smart-pagination/smart-pagination.module.mjs +4 -4
- package/esm2022/lib/smart-table/smart-table/smart-table.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-filter/filter-input.directive.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-head/smart-table-head.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table.module.mjs +4 -4
- package/esm2022/lib/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/spinner/spinner.module.mjs +4 -4
- package/esm2022/lib/table/table-active.directive.mjs +14 -23
- package/esm2022/lib/table/table-color.directive.mjs +3 -3
- package/esm2022/lib/table/table.directive.mjs +48 -85
- package/esm2022/lib/table/table.module.mjs +4 -4
- package/esm2022/lib/table/table.type.mjs +1 -1
- package/esm2022/lib/tabs/tab-content/tab-content.component.mjs +3 -3
- package/esm2022/lib/tabs/tab-content-ref.directive.mjs +3 -3
- package/esm2022/lib/tabs/tab-pane/tab-pane.component.mjs +3 -3
- package/esm2022/lib/tabs/tab.service.mjs +3 -3
- package/esm2022/lib/tabs/tabs.module.mjs +4 -4
- package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +6 -6
- package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +6 -6
- package/esm2022/lib/time-picker/time-picker.component.mjs +3 -3
- package/esm2022/lib/time-picker/time-picker.module.mjs +4 -4
- package/esm2022/lib/toast/toast/toast.component.mjs +3 -3
- package/esm2022/lib/toast/toast-body/toast-body.component.mjs +3 -3
- package/esm2022/lib/toast/toast-close.directive.mjs +3 -3
- package/esm2022/lib/toast/toast-header/toast-header.component.mjs +3 -3
- package/esm2022/lib/toast/toast.module.mjs +4 -4
- package/esm2022/lib/toast/toaster/toaster-host.directive.mjs +3 -3
- package/esm2022/lib/toast/toaster/toaster.component.mjs +3 -3
- package/esm2022/lib/toast/toaster/toaster.service.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip.directive.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/lib/utilities/align.directive.mjs +3 -3
- package/esm2022/lib/utilities/bg-color.directive.mjs +3 -3
- package/esm2022/lib/utilities/border.directive.mjs +3 -3
- package/esm2022/lib/utilities/rounded.directive.mjs +3 -3
- package/esm2022/lib/utilities/text-color.directive.mjs +3 -3
- package/esm2022/lib/utilities/utilities.module.mjs +4 -4
- package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +12 -18
- package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +12 -18
- package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +13 -19
- package/esm2022/lib/widget/widget.module.mjs +4 -4
- package/fesm2022/coreui-angular-pro.mjs +1338 -1385
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/accordion/accordion-item/accordion-item.component.d.ts +9 -12
- package/lib/button/button-close.directive.d.ts +2 -5
- package/lib/button/button.directive.d.ts +5 -11
- package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +3 -5
- package/lib/form/form/form.directive.d.ts +2 -6
- package/lib/form/form-check/form-check.component.d.ts +7 -14
- package/lib/form/form-control/form-control.directive.d.ts +3 -6
- package/lib/form/form-feedback/form-feedback.component.d.ts +4 -5
- package/lib/form/form-floating/form-floating.directive.d.ts +2 -6
- package/lib/grid/container.component.d.ts +3 -5
- package/lib/grid/container.type.d.ts +1 -1
- package/lib/image/img.directive.d.ts +6 -14
- package/lib/list-group/list-group-item.directive.d.ts +3 -6
- package/lib/list-group/list-group.directive.d.ts +2 -6
- package/lib/loading-button/loading-button.animations.d.ts +2 -0
- package/lib/loading-button/loading-button.component.d.ts +2 -2
- package/lib/multi-select/multi-select/multi-select.component.d.ts +20 -6
- package/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.d.ts +7 -0
- package/lib/multi-select/multi-select-option/multi-select-option.component.d.ts +4 -1
- package/lib/multi-select/multi-select.service.d.ts +10 -0
- package/lib/multi-select/multi-select.type.d.ts +3 -1
- package/lib/nav/nav-link.directive.d.ts +4 -9
- package/lib/navbar/navbar-nav/navbar-nav.component.d.ts +2 -5
- package/lib/placeholder/placeholder-animation.directive.d.ts +1 -2
- package/lib/placeholder/placeholder.directive.d.ts +1 -1
- package/lib/progress/progress-bar.component.d.ts +7 -10
- package/lib/progress/progress.component.d.ts +6 -13
- package/lib/table/table-active.directive.d.ts +2 -6
- package/lib/table/table.directive.d.ts +13 -26
- package/lib/table/table.type.d.ts +5 -5
- package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +2 -5
- package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +9 -12
- package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +5 -8
- package/package.json +5 -5
|
@@ -1,33 +1,30 @@
|
|
|
1
1
|
import { AfterContentInit, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { TemplateIdDirective } from '../../shared';
|
|
4
3
|
import { AccordionService } from '../accordion.service';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class AccordionItemComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
7
6
|
private accordionService;
|
|
8
7
|
constructor(accordionService: AccordionService);
|
|
9
|
-
static ngAcceptInputType_visible: BooleanInput;
|
|
10
|
-
contentId: string;
|
|
11
|
-
itemContext: {
|
|
12
|
-
$implicit: boolean;
|
|
13
|
-
};
|
|
14
|
-
templates: any;
|
|
15
|
-
contentTemplates: QueryList<TemplateIdDirective>;
|
|
16
|
-
private _visible;
|
|
17
|
-
get visible(): boolean;
|
|
18
8
|
/**
|
|
19
9
|
* Toggle an accordion item programmatically
|
|
20
10
|
* @type boolean
|
|
21
11
|
* @default false
|
|
22
12
|
*/
|
|
23
|
-
|
|
24
|
-
get open(): boolean;
|
|
13
|
+
visible: string | boolean;
|
|
25
14
|
set open(value: boolean);
|
|
15
|
+
get open(): boolean;
|
|
26
16
|
get hostClasses(): any;
|
|
17
|
+
contentId: string;
|
|
18
|
+
itemContext: {
|
|
19
|
+
$implicit: boolean;
|
|
20
|
+
};
|
|
21
|
+
templates: any;
|
|
22
|
+
contentTemplates: QueryList<TemplateIdDirective>;
|
|
27
23
|
ngOnInit(): void;
|
|
28
24
|
ngOnDestroy(): void;
|
|
29
25
|
toggleItem(): void;
|
|
30
26
|
ngAfterContentInit(): void;
|
|
31
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
32
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "c-accordion-item", ["cAccordionItem"], { "visible": { "alias": "visible"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, {}, ["contentTemplates"], ["*", "*"], true, never>;
|
|
29
|
+
static ngAcceptInputType_visible: unknown;
|
|
33
30
|
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import { ButtonDirective } from './button.directive';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ButtonCloseDirective extends ButtonDirective {
|
|
5
|
-
static ngAcceptInputType_white: BooleanInput;
|
|
6
|
-
private _white;
|
|
7
4
|
/**
|
|
8
5
|
* Change the default color to white.
|
|
9
6
|
* @type boolean
|
|
10
7
|
*/
|
|
11
|
-
|
|
12
|
-
set white(value: boolean);
|
|
8
|
+
white: string | boolean;
|
|
13
9
|
get hostClasses(): any;
|
|
14
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonCloseDirective, never>;
|
|
15
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonCloseDirective, "[cButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ngAcceptInputType_white: unknown;
|
|
16
13
|
}
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import { ButtonType, Colors, Shapes } from '../coreui.types';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ButtonDirective {
|
|
5
|
-
constructor();
|
|
6
|
-
static ngAcceptInputType_active: BooleanInput;
|
|
7
|
-
private _active;
|
|
8
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
9
|
-
private _disabled;
|
|
10
4
|
/**
|
|
11
5
|
* Toggle the active state for the component. [docs]
|
|
12
6
|
* @type boolean
|
|
13
7
|
*/
|
|
14
|
-
|
|
15
|
-
set active(value: boolean);
|
|
8
|
+
active: string | boolean;
|
|
16
9
|
/**
|
|
17
10
|
* Sets the color context of the component to one of CoreUI’s themed colors. [docs]
|
|
18
11
|
* @type Colors
|
|
@@ -22,8 +15,7 @@ export declare class ButtonDirective {
|
|
|
22
15
|
* Toggle the disabled state for the component.
|
|
23
16
|
* @type boolean
|
|
24
17
|
*/
|
|
25
|
-
|
|
26
|
-
set disabled(value: boolean);
|
|
18
|
+
disabled: string | boolean;
|
|
27
19
|
/**
|
|
28
20
|
* Select the shape of the component.
|
|
29
21
|
* @type { 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string }
|
|
@@ -45,10 +37,12 @@ export declare class ButtonDirective {
|
|
|
45
37
|
*/
|
|
46
38
|
variant?: 'ghost' | 'outline';
|
|
47
39
|
get hostClasses(): any;
|
|
48
|
-
get ariaDisabled(): true | null;
|
|
40
|
+
get ariaDisabled(): string | true | null;
|
|
49
41
|
get isActive(): boolean | null;
|
|
50
42
|
get attrDisabled(): "" | null;
|
|
51
43
|
get tabIndex(): string | null;
|
|
52
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>;
|
|
53
45
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "[cButton]", ["cButton"], { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
+
static ngAcceptInputType_active: unknown;
|
|
47
|
+
static ngAcceptInputType_disabled: unknown;
|
|
54
48
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { DropdownService } from '../dropdown.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class DropdownMenuDirective implements OnInit, OnDestroy {
|
|
6
5
|
elementRef: ElementRef;
|
|
7
6
|
private dropdownService;
|
|
8
|
-
static ngAcceptInputType_dark: BooleanInput;
|
|
9
7
|
constructor(elementRef: ElementRef, dropdownService: DropdownService);
|
|
10
8
|
/**
|
|
11
9
|
* Set alignment of dropdown menu.
|
|
@@ -18,10 +16,9 @@ export declare class DropdownMenuDirective implements OnInit, OnDestroy {
|
|
|
18
16
|
visible: boolean;
|
|
19
17
|
/**
|
|
20
18
|
* Sets a darker color scheme to match a dark navbar.
|
|
19
|
+
* @type boolean
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
set dark(value: boolean);
|
|
24
|
-
private _dark;
|
|
21
|
+
dark: string | boolean;
|
|
25
22
|
private dropdownStateSubscription;
|
|
26
23
|
get hostClasses(): any;
|
|
27
24
|
get hostStyles(): {
|
|
@@ -33,4 +30,5 @@ export declare class DropdownMenuDirective implements OnInit, OnDestroy {
|
|
|
33
30
|
private dropdownStateSubscribe;
|
|
34
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuDirective, never>;
|
|
35
32
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownMenuDirective, "[cDropdownMenu]", ["cDropdownMenu"], { "alignment": { "alias": "alignment"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
+
static ngAcceptInputType_dark: unknown;
|
|
36
34
|
}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class FormDirective {
|
|
4
|
-
static ngAcceptInputType_validated: BooleanInput;
|
|
5
|
-
private _validated;
|
|
6
3
|
/**
|
|
7
4
|
* Mark a form as validated. If you set it `true`, all validation styles will be applied to the form. [docs]
|
|
8
5
|
* @type boolean
|
|
9
6
|
* @default false
|
|
10
7
|
*/
|
|
11
|
-
|
|
12
|
-
get validated(): boolean;
|
|
8
|
+
validated: string | boolean;
|
|
13
9
|
get hostClasses(): any;
|
|
14
|
-
constructor();
|
|
15
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormDirective, never>;
|
|
16
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormDirective, "form[cForm]", never, { "validated": { "alias": "validated"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ngAcceptInputType_validated: unknown;
|
|
17
13
|
}
|
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
import { AfterContentInit } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { FormCheckLabelDirective } from './form-check-label.directive';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class FormCheckComponent implements AfterContentInit {
|
|
6
|
-
|
|
7
|
-
static ngAcceptInputType_reverse: BooleanInput;
|
|
8
|
-
static ngAcceptInputType_switch: BooleanInput;
|
|
5
|
+
#private;
|
|
9
6
|
/**
|
|
10
7
|
* Group checkboxes or radios on the same horizontal row.
|
|
11
8
|
* @type boolean
|
|
12
9
|
* @default false
|
|
13
10
|
*/
|
|
14
|
-
|
|
15
|
-
get inline(): boolean;
|
|
16
|
-
private _inline;
|
|
11
|
+
inline: string | boolean;
|
|
17
12
|
/**
|
|
18
13
|
* Put checkboxes or radios on the opposite side.
|
|
19
14
|
* @type boolean
|
|
20
15
|
* @default false
|
|
21
16
|
* @since 4.4.7
|
|
22
17
|
*/
|
|
23
|
-
|
|
24
|
-
get reverse(): boolean;
|
|
25
|
-
private _reverse;
|
|
18
|
+
reverse: string | boolean;
|
|
26
19
|
/**
|
|
27
20
|
* Size the component large or extra large. Works only with `[switch]="true"` [docs]
|
|
28
21
|
* @type {'lg' | 'xl' | ''}
|
|
@@ -33,14 +26,14 @@ export declare class FormCheckComponent implements AfterContentInit {
|
|
|
33
26
|
* @type boolean
|
|
34
27
|
* @default false
|
|
35
28
|
*/
|
|
36
|
-
|
|
37
|
-
get switch(): boolean;
|
|
38
|
-
private _switch;
|
|
29
|
+
switch: string | boolean;
|
|
39
30
|
get hostClasses(): any;
|
|
40
31
|
formCheckLabel: FormCheckLabelDirective;
|
|
41
|
-
private _formCheckClass;
|
|
42
32
|
get formCheckClass(): boolean;
|
|
43
33
|
ngAfterContentInit(): void;
|
|
44
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckComponent, never>;
|
|
45
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckComponent, "c-form-check", ["cFormCheck"], { "inline": { "alias": "inline"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "sizing": { "alias": "sizing"; "required": false; }; "switch": { "alias": "switch"; "required": false; }; }, {}, ["formCheckLabel"], ["*"], true, never>;
|
|
36
|
+
static ngAcceptInputType_inline: unknown;
|
|
37
|
+
static ngAcceptInputType_reverse: unknown;
|
|
38
|
+
static ngAcceptInputType_switch: unknown;
|
|
46
39
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { InputType } from '../../coreui.types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class FormControlDirective implements OnInit {
|
|
6
5
|
private hostElement;
|
|
7
|
-
|
|
6
|
+
constructor(hostElement: ElementRef);
|
|
8
7
|
/**
|
|
9
8
|
* Size the component small or large.
|
|
10
9
|
* @type {'sm' | 'lg'}
|
|
@@ -22,13 +21,11 @@ export declare class FormControlDirective implements OnInit {
|
|
|
22
21
|
/**
|
|
23
22
|
* Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use alongside `readonly` [docs]
|
|
24
23
|
*/
|
|
25
|
-
|
|
26
|
-
get plaintext(): boolean;
|
|
27
|
-
private _plaintext;
|
|
28
|
-
constructor(hostElement: ElementRef);
|
|
24
|
+
plaintext: string | boolean;
|
|
29
25
|
get hostClasses(): any;
|
|
30
26
|
get hostTag(): string;
|
|
31
27
|
ngOnInit(): void;
|
|
32
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlDirective, never>;
|
|
33
29
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlDirective, "input[cFormControl], textarea[cFormControl]", never, { "sizing": { "alias": "sizing"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "type": { "alias": "type"; "required": false; }; "plaintext": { "alias": "plaintext"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
+
static ngAcceptInputType_plaintext: unknown;
|
|
34
31
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class FormFeedbackComponent {
|
|
4
|
-
static ngAcceptInputType_tooltip: BooleanInput;
|
|
5
3
|
/**
|
|
6
4
|
* If your form layout allows it, you can display validation feedback in a styled tooltip.
|
|
5
|
+
* @type boolean
|
|
7
6
|
*/
|
|
8
|
-
|
|
9
|
-
set tooltip(value: boolean);
|
|
10
|
-
get tooltip(): boolean;
|
|
7
|
+
tooltip: string | boolean;
|
|
11
8
|
/**
|
|
12
9
|
* Set component validation state to valid.
|
|
10
|
+
* @type boolean
|
|
13
11
|
*/
|
|
14
12
|
valid?: boolean;
|
|
15
13
|
get hostClasses(): any;
|
|
16
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFeedbackComponent, never>;
|
|
17
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFeedbackComponent, "c-form-feedback", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
static ngAcceptInputType_tooltip: unknown;
|
|
18
17
|
}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class FormFloatingDirective {
|
|
4
|
-
static ngAcceptInputType_floating: BooleanInput;
|
|
5
3
|
/**
|
|
6
4
|
* Enable floating labels
|
|
7
5
|
* @type boolean
|
|
8
6
|
*/
|
|
9
|
-
|
|
10
|
-
set floating(value: boolean);
|
|
11
|
-
private _floating;
|
|
7
|
+
floating: string | boolean;
|
|
12
8
|
get hostClasses(): any;
|
|
13
|
-
constructor();
|
|
14
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFloatingDirective, never>;
|
|
15
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormFloatingDirective, "[cFormFloating]", never, { "floating": { "alias": "cFormFloating"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ngAcceptInputType_floating: unknown;
|
|
16
12
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import { IContainer } from './container.type';
|
|
3
2
|
import { Breakpoints } from '../coreui.types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ContainerComponent implements IContainer {
|
|
6
|
-
static ngAcceptInputType_fluid: BooleanInput;
|
|
7
5
|
/**
|
|
8
6
|
* Set container 100% wide until a breakpoint.
|
|
9
7
|
*/
|
|
10
8
|
breakpoint: Exclude<Breakpoints, 'xs'>;
|
|
11
9
|
/**
|
|
12
10
|
* Set container 100% wide, spanning the entire width of the viewport.
|
|
11
|
+
* @type boolean | string
|
|
13
12
|
*/
|
|
14
|
-
|
|
15
|
-
get fluid(): boolean;
|
|
16
|
-
private _fluid;
|
|
13
|
+
fluid: string | boolean;
|
|
17
14
|
get hostClasses(): any;
|
|
18
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerComponent, never>;
|
|
19
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerComponent, "c-container, [cContainer]", never, { "breakpoint": { "alias": "breakpoint"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
17
|
+
static ngAcceptInputType_fluid: unknown;
|
|
20
18
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class ImgDirective {
|
|
4
|
-
static ngAcceptInputType_fluid: BooleanInput;
|
|
5
|
-
static ngAcceptInputType_rounded: BooleanInput;
|
|
6
|
-
static ngAcceptInputType_thumbnail: BooleanInput;
|
|
7
3
|
/**
|
|
8
4
|
* Set the horizontal aligment.
|
|
9
5
|
* @type {'' | 'start' | 'end' | 'center'}
|
|
@@ -13,30 +9,26 @@ export declare class ImgDirective {
|
|
|
13
9
|
* Make image responsive.
|
|
14
10
|
* @type boolean
|
|
15
11
|
*/
|
|
16
|
-
|
|
17
|
-
get fluid(): boolean;
|
|
18
|
-
private _fluid;
|
|
12
|
+
fluid: string | boolean;
|
|
19
13
|
/**
|
|
20
14
|
* Make image rounded.
|
|
21
15
|
* @type boolean
|
|
22
16
|
*/
|
|
23
|
-
|
|
24
|
-
get rounded(): boolean;
|
|
25
|
-
private _rounded;
|
|
17
|
+
rounded: string | boolean;
|
|
26
18
|
/**
|
|
27
19
|
* Give an image a rounded 1px border appearance.
|
|
28
20
|
* @type boolean
|
|
29
21
|
*/
|
|
30
|
-
|
|
31
|
-
get thumbnail(): boolean;
|
|
32
|
-
private _thumbnail;
|
|
22
|
+
thumbnail: string | boolean;
|
|
33
23
|
/**
|
|
34
24
|
* Color for image placeholder.
|
|
35
25
|
*/
|
|
36
26
|
placeholderColor: string;
|
|
37
27
|
get getStyles(): any;
|
|
38
28
|
get hostClasses(): any;
|
|
39
|
-
constructor();
|
|
40
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgDirective, never>;
|
|
41
30
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ImgDirective, "[cImg]", never, { "align": { "alias": "align"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "thumbnail": { "alias": "thumbnail"; "required": false; }; "placeholderColor": { "alias": "placeholderColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
+
static ngAcceptInputType_fluid: unknown;
|
|
32
|
+
static ngAcceptInputType_rounded: unknown;
|
|
33
|
+
static ngAcceptInputType_thumbnail: unknown;
|
|
42
34
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { Colors } from '../coreui.types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ListGroupItemDirective {
|
|
6
5
|
private hostElement;
|
|
7
|
-
|
|
6
|
+
constructor(hostElement: ElementRef);
|
|
8
7
|
/**
|
|
9
8
|
* Toggle the active state for the component.
|
|
10
9
|
* @type boolean
|
|
@@ -19,15 +18,13 @@ export declare class ListGroupItemDirective {
|
|
|
19
18
|
* Set disabled attr for the host element. [docs]
|
|
20
19
|
* @type boolean
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
set disabled(value: boolean);
|
|
24
|
-
private _disabled;
|
|
21
|
+
disabled: string | boolean;
|
|
25
22
|
get isDisabled(): boolean | null;
|
|
26
23
|
get attrDisabled(): "" | null;
|
|
27
24
|
get getTabindex(): string | null;
|
|
28
25
|
get ariaCurrent(): boolean;
|
|
29
26
|
get hostClasses(): any;
|
|
30
|
-
constructor(hostElement: ElementRef);
|
|
31
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListGroupItemDirective, never>;
|
|
32
28
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ListGroupItemDirective, "[cListGroupItem], c-list-group-item", ["cListGroupItem"], { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
+
static ngAcceptInputType_disabled: unknown;
|
|
33
30
|
}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { Sizes } from '../coreui.types';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ListGroupDirective {
|
|
5
|
-
static ngAcceptInputType_flush: BooleanInput;
|
|
6
4
|
/**
|
|
7
5
|
* Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., `<CCard>`).
|
|
8
6
|
* @type boolean
|
|
9
7
|
*/
|
|
10
|
-
|
|
11
|
-
get flush(): boolean;
|
|
12
|
-
private _flush;
|
|
8
|
+
flush: string | boolean;
|
|
13
9
|
/**
|
|
14
10
|
* Specify horizontal layout type.
|
|
15
11
|
*/
|
|
16
12
|
horizontal?: boolean | Sizes;
|
|
17
13
|
get hostClasses(): any;
|
|
18
|
-
constructor();
|
|
19
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListGroupDirective, never>;
|
|
20
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ListGroupDirective, "[cListGroup]", never, { "flush": { "alias": "flush"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
static ngAcceptInputType_flush: unknown;
|
|
21
17
|
}
|
|
@@ -30,12 +30,12 @@ export declare class LoadingButtonComponent extends ButtonDirective implements O
|
|
|
30
30
|
loadingChange: EventEmitter<boolean>;
|
|
31
31
|
constructor();
|
|
32
32
|
get hostClasses(): {
|
|
33
|
-
[x: string]: boolean;
|
|
33
|
+
[x: string]: string | boolean;
|
|
34
34
|
'btn-loading': boolean;
|
|
35
35
|
'is-loading': boolean;
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
btn: boolean;
|
|
38
|
-
active: boolean;
|
|
38
|
+
active: string | boolean;
|
|
39
39
|
};
|
|
40
40
|
ngOnChanges(changes: SimpleChanges): void;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingButtonComponent, never>;
|
|
@@ -3,7 +3,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
4
4
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
5
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
6
|
-
import { BehaviorSubject } from 'rxjs';
|
|
6
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
7
|
import { Modifier, Options } from '@popperjs/core';
|
|
8
8
|
import { TemplateIdDirective } from '../../shared';
|
|
9
9
|
import { IMultiSelect, IOption, SearchFn } from '../multi-select.type';
|
|
@@ -28,11 +28,13 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
28
28
|
private destroyRef;
|
|
29
29
|
private readonly differ;
|
|
30
30
|
static ngAcceptInputType_allowCreateOptions: BooleanInput;
|
|
31
|
+
static ngAcceptInputType_clearSearchOnSelect: BooleanInput;
|
|
31
32
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
32
33
|
static ngAcceptInputType_loading: BooleanInput;
|
|
33
34
|
static ngAcceptInputType_multiple: BooleanInput;
|
|
34
35
|
static ngAcceptInputType_virtualScroller: BooleanInput;
|
|
35
|
-
readonly optionsArray$:
|
|
36
|
+
readonly optionsArray$: Observable<IOption[]>;
|
|
37
|
+
readonly userOptionsArray$: BehaviorSubject<IOption[]>;
|
|
36
38
|
readonly optionsSelected$: BehaviorSubject<IOption[]>;
|
|
37
39
|
readonly optionsSelected: Map<any, IOption>;
|
|
38
40
|
readonly value$: BehaviorSubject<string[]>;
|
|
@@ -46,7 +48,7 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
46
48
|
* Allow users to create options if they are not in the list of options.
|
|
47
49
|
* @type boolean
|
|
48
50
|
* @default false
|
|
49
|
-
* @since 4.5.
|
|
51
|
+
* @since 4.5.11
|
|
50
52
|
*/
|
|
51
53
|
set allowCreateOptions(value: boolean);
|
|
52
54
|
get allowCreateOptions(): boolean;
|
|
@@ -56,6 +58,14 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
56
58
|
* @default true
|
|
57
59
|
*/
|
|
58
60
|
cleaner: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Clear current search on selecting an item
|
|
63
|
+
* @type boolean
|
|
64
|
+
* @default false
|
|
65
|
+
* @since 4.5.11
|
|
66
|
+
*/
|
|
67
|
+
set clearSearchOnSelect(value: boolean);
|
|
68
|
+
get clearSearchOnSelect(): boolean;
|
|
59
69
|
/**
|
|
60
70
|
* Disables multi-select component
|
|
61
71
|
* @type boolean
|
|
@@ -71,7 +81,7 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
71
81
|
* @since 4.5.2
|
|
72
82
|
*/
|
|
73
83
|
set loading(value: boolean);
|
|
74
|
-
|
|
84
|
+
isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
75
85
|
/**
|
|
76
86
|
* Specifies that multiple options can be selected at once
|
|
77
87
|
* @type boolean
|
|
@@ -261,7 +271,7 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
261
271
|
[id: string]: TemplateRef<any>;
|
|
262
272
|
};
|
|
263
273
|
contentTemplates: QueryList<TemplateIdDirective>;
|
|
264
|
-
private
|
|
274
|
+
private focusKeyManager;
|
|
265
275
|
inputElement: ElementRef;
|
|
266
276
|
dropdownMenu: ElementRef;
|
|
267
277
|
dropdown: ElementRef;
|
|
@@ -297,6 +307,9 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
297
307
|
ngOnDestroy(): void;
|
|
298
308
|
ngOnChanges(changes: SimpleChanges): void;
|
|
299
309
|
makeOptions(options: IOption[]): void;
|
|
310
|
+
userOptions: import("@angular/core").Signal<IOption[]>;
|
|
311
|
+
addUserOption(): void;
|
|
312
|
+
removeAllUserOptions(): void;
|
|
300
313
|
ngAfterViewInit(): void;
|
|
301
314
|
private tabTarget;
|
|
302
315
|
private multiselectSubscribe;
|
|
@@ -316,11 +329,12 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
316
329
|
handleSearchValueChange(searchValue: string): void;
|
|
317
330
|
private setVirtualScroller;
|
|
318
331
|
private setListKeyManager;
|
|
332
|
+
setFocusKeyManager(focusableOptions: (QueryList<MultiSelectOptionComponent> | MultiSelectOptionComponent[])): void;
|
|
319
333
|
get firstFocusableItem(): MultiSelectOptionComponent | undefined;
|
|
320
334
|
private setFirstItemActive;
|
|
321
335
|
updateActiveItem(index: number): void;
|
|
322
336
|
updateActiveItem<T extends (MultiSelectOptionComponent & FocusableOption)>(item: T): void;
|
|
323
337
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
324
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "c-multi-select", ["cMultiSelect"], { "allowCreateOptions": { "alias": "allowCreateOptions"; "required": false; }; "cleaner": { "alias": "cleaner"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "nativeFormId": { "alias": "nativeFormId"; "required": false; }; "nativeId": { "alias": "nativeId"; "required": false; }; "nativeName": { "alias": "nativeName"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionsMaxHeight": { "alias": "optionsMaxHeight"; "required": false; }; "optionsStyle": { "alias": "optionsStyle"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "search": { "alias": "search"; "required": false; }; "searchNoResultsLabel": { "alias": "searchNoResultsLabel"; "required": false; }; "searchValue": { "alias": "searchValue"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "selectionType": { "alias": "selectionType"; "required": false; }; "selectionTypeCounterText": { "alias": "selectionTypeCounterText"; "required": false; }; "selectionTypeCounterTextPluralMap": { "alias": "selectionTypeCounterTextPluralMap"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "virtualScroller": { "alias": "virtualScroller"; "required": false; }; "visibleItems": { "alias": "visibleItems"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "itemMinWidth": { "alias": "itemMinWidth"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "popperjsOptions": { "alias": "popperOptions"; "required": false; }; }, { "searchValueChange": "searchValueChange"; "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, ["multiSelectOptionsContent", "contentTemplates"], ["*"], true, never>;
|
|
338
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "c-multi-select", ["cMultiSelect"], { "allowCreateOptions": { "alias": "allowCreateOptions"; "required": false; }; "cleaner": { "alias": "cleaner"; "required": false; }; "clearSearchOnSelect": { "alias": "clearSearchOnSelect"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "nativeFormId": { "alias": "nativeFormId"; "required": false; }; "nativeId": { "alias": "nativeId"; "required": false; }; "nativeName": { "alias": "nativeName"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionsMaxHeight": { "alias": "optionsMaxHeight"; "required": false; }; "optionsStyle": { "alias": "optionsStyle"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "search": { "alias": "search"; "required": false; }; "searchNoResultsLabel": { "alias": "searchNoResultsLabel"; "required": false; }; "searchValue": { "alias": "searchValue"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "selectionType": { "alias": "selectionType"; "required": false; }; "selectionTypeCounterText": { "alias": "selectionTypeCounterText"; "required": false; }; "selectionTypeCounterTextPluralMap": { "alias": "selectionTypeCounterTextPluralMap"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "virtualScroller": { "alias": "virtualScroller"; "required": false; }; "visibleItems": { "alias": "visibleItems"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "itemMinWidth": { "alias": "itemMinWidth"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "popperjsOptions": { "alias": "popperOptions"; "required": false; }; }, { "searchValueChange": "searchValueChange"; "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, ["multiSelectOptionsContent", "contentTemplates"], ["*"], true, never>;
|
|
325
339
|
}
|
|
326
340
|
export {};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { AfterContentInit, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import { MultiSelectService } from '../multi-select.service';
|
|
3
4
|
import { MultiSelectOptionComponent } from '../multi-select-option/multi-select-option.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MultiSelectOptgroupComponent implements AfterContentInit, OnChanges {
|
|
7
|
+
#private;
|
|
8
|
+
private multiSelectService;
|
|
9
|
+
constructor(multiSelectService: MultiSelectService);
|
|
10
|
+
readonly visible: import("@angular/core").WritableSignal<boolean>;
|
|
6
11
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
7
12
|
label?: string;
|
|
8
13
|
set disabled(value: boolean);
|
|
@@ -11,10 +16,12 @@ export declare class MultiSelectOptgroupComponent implements AfterContentInit, O
|
|
|
11
16
|
multiSelectOptions: QueryList<MultiSelectOptionComponent>;
|
|
12
17
|
get hostClasses(): {
|
|
13
18
|
'form-multi-select-options': boolean;
|
|
19
|
+
'd-none': boolean;
|
|
14
20
|
};
|
|
15
21
|
ngAfterContentInit(): void;
|
|
16
22
|
ngOnChanges(changes: SimpleChanges): void;
|
|
17
23
|
private updateMultiSelectOptions;
|
|
24
|
+
private watchOptGroupContent;
|
|
18
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectOptgroupComponent, never>;
|
|
19
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectOptgroupComponent, "c-multi-select-optgroup", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["multiSelectOptions"], ["*"], true, never>;
|
|
20
27
|
}
|
|
@@ -12,6 +12,7 @@ export declare class MultiSelectOptionComponent implements AfterViewInit, Focusa
|
|
|
12
12
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor, multiSelectService: MultiSelectService);
|
|
13
13
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
14
14
|
static ngAcceptInputType_selected: BooleanInput;
|
|
15
|
+
static ngAcceptInputType_visible: BooleanInput;
|
|
15
16
|
/**
|
|
16
17
|
* Option style
|
|
17
18
|
* @type ('checkbox' | 'text')
|
|
@@ -35,7 +36,8 @@ export declare class MultiSelectOptionComponent implements AfterViewInit, Focusa
|
|
|
35
36
|
* @type boolean
|
|
36
37
|
* @default true
|
|
37
38
|
*/
|
|
38
|
-
visible: boolean;
|
|
39
|
+
set visible(value: boolean);
|
|
40
|
+
get visible(): boolean;
|
|
39
41
|
/**
|
|
40
42
|
* Option disabled.
|
|
41
43
|
* @type boolean
|
|
@@ -65,6 +67,7 @@ export declare class MultiSelectOptionComponent implements AfterViewInit, Focusa
|
|
|
65
67
|
private contentDiv?;
|
|
66
68
|
hasContent: boolean;
|
|
67
69
|
set active(value: (boolean | undefined));
|
|
70
|
+
get active(): (boolean | undefined);
|
|
68
71
|
readonly focusChange: EventEmitter<MultiSelectOptionComponent>;
|
|
69
72
|
private get role();
|
|
70
73
|
get hostClasses(): {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
2
|
import { MultiSelectOptionComponent } from './multi-select-option/multi-select-option.component';
|
|
3
|
+
import { IOption } from './multi-select.type';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MultiSelectService {
|
|
5
6
|
optionsStyle: 'checkbox' | 'text';
|
|
@@ -11,6 +12,15 @@ export declare class MultiSelectService {
|
|
|
11
12
|
private readonly multiSelectFocus;
|
|
12
13
|
readonly multiSelectFocus$: import("rxjs").Observable<MultiSelectOptionComponent>;
|
|
13
14
|
focusChange(option: MultiSelectOptionComponent): void;
|
|
15
|
+
readonly userOptionsSignal: import("@angular/core").WritableSignal<IOption[]>;
|
|
16
|
+
getUserOptions(): import("@angular/core").Signal<IOption[]>;
|
|
17
|
+
addUserOption(option: IOption): void;
|
|
18
|
+
removeUserOption(value: string): void;
|
|
19
|
+
removeAllUserOptions(): void;
|
|
20
|
+
private readonly optionsArray;
|
|
21
|
+
readonly optionsArray$: import("rxjs").Observable<IOption[]>;
|
|
22
|
+
getOptionsArray(): import("rxjs").Observable<IOption[]>;
|
|
23
|
+
updateOptionsArray(options: IOption[]): void;
|
|
14
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectService, never>;
|
|
15
25
|
static ɵprov: i0.ɵɵInjectableDeclaration<MultiSelectService>;
|
|
16
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import type { EventEmitter } from '@angular/core';
|
|
2
2
|
export type SearchFn = ((option: IOption, searchValue: string) => boolean);
|
|
3
3
|
export interface IMultiSelect {
|
|
4
4
|
cleaner?: boolean;
|
|
@@ -33,6 +33,7 @@ export interface IOption {
|
|
|
33
33
|
text?: string;
|
|
34
34
|
value: string;
|
|
35
35
|
visible?: boolean;
|
|
36
|
+
custom?: boolean;
|
|
36
37
|
}
|
|
37
38
|
export interface IMultiSelectOptions {
|
|
38
39
|
handleOptionClick?: (option: IOption) => void;
|
|
@@ -41,3 +42,4 @@ export interface IMultiSelectOptions {
|
|
|
41
42
|
optionsStyle?: 'checkbox' | 'text';
|
|
42
43
|
searchNoResultsLabel?: string;
|
|
43
44
|
}
|
|
45
|
+
export type OptionsMap<T> = Map<T, IOption>;
|