@coreui/angular-pro 4.3.13 → 4.3.15
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/esm2020/lib/accordion/accordion/accordion.component.mjs +3 -3
- package/esm2020/lib/accordion/accordion-button/accordion-button.directive.mjs +3 -3
- package/esm2020/lib/accordion/accordion-item/accordion-item.component.mjs +3 -3
- package/esm2020/lib/accordion/accordion.module.mjs +4 -4
- package/esm2020/lib/accordion/accordion.service.mjs +3 -3
- package/esm2020/lib/alert/alert-heading.directive.mjs +3 -3
- package/esm2020/lib/alert/alert-link.directive.mjs +3 -3
- package/esm2020/lib/alert/alert.component.mjs +3 -3
- package/esm2020/lib/alert/alert.module.mjs +4 -4
- package/esm2020/lib/avatar/avatar.component.mjs +3 -3
- package/esm2020/lib/avatar/avatar.module.mjs +4 -4
- package/esm2020/lib/backdrop/backdrop.service.mjs +3 -3
- package/esm2020/lib/badge/badge.component.mjs +3 -3
- package/esm2020/lib/badge/badge.module.mjs +4 -4
- package/esm2020/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
- package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
- package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +3 -3
- package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2020/lib/button/button-close.directive.mjs +3 -3
- package/esm2020/lib/button/button.directive.mjs +3 -3
- package/esm2020/lib/button/button.module.mjs +4 -4
- package/esm2020/lib/button-group/button-group/button-group.component.mjs +3 -3
- package/esm2020/lib/button-group/button-group.module.mjs +4 -4
- package/esm2020/lib/button-group/button-toolbar/button-toolbar.component.mjs +3 -3
- package/esm2020/lib/calendar/calendar/calendar-class-view.pipe.mjs +3 -3
- package/esm2020/lib/calendar/calendar/calendar.component.mjs +3 -3
- package/esm2020/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +3 -3
- package/esm2020/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +3 -3
- package/esm2020/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +3 -3
- package/esm2020/lib/calendar/calendar-month/calendar-day-title.pipe.mjs +3 -3
- package/esm2020/lib/calendar/calendar-month/calendar-day.directive.mjs +3 -3
- package/esm2020/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
- package/esm2020/lib/calendar/calendar-month/calendar-month.component.mjs +3 -3
- package/esm2020/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
- package/esm2020/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +3 -3
- package/esm2020/lib/calendar/calendar.module.mjs +4 -4
- package/esm2020/lib/calendar/calendar.service.mjs +3 -3
- package/esm2020/lib/callout/callout.component.mjs +3 -3
- package/esm2020/lib/callout/callout.module.mjs +4 -4
- package/esm2020/lib/card/card-body.component.mjs +3 -3
- package/esm2020/lib/card/card-footer.component.mjs +3 -3
- package/esm2020/lib/card/card-group.component.mjs +3 -3
- package/esm2020/lib/card/card-header-actions.component.mjs +3 -3
- package/esm2020/lib/card/card-header.component.mjs +3 -3
- package/esm2020/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
- package/esm2020/lib/card/card-img.directive.mjs +3 -3
- package/esm2020/lib/card/card-link.directive.mjs +3 -3
- package/esm2020/lib/card/card-subtitle.directive.mjs +3 -3
- package/esm2020/lib/card/card-text.directive.mjs +3 -3
- package/esm2020/lib/card/card-title.directive.mjs +3 -3
- package/esm2020/lib/card/card.component.mjs +3 -3
- package/esm2020/lib/card/card.module.mjs +4 -4
- package/esm2020/lib/carousel/carousel/carousel.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-state.mjs +3 -3
- package/esm2020/lib/carousel/carousel.config.mjs +3 -3
- package/esm2020/lib/carousel/carousel.module.mjs +4 -4
- package/esm2020/lib/carousel/carousel.service.mjs +3 -3
- package/esm2020/lib/collapse/collapse.directive.mjs +3 -3
- package/esm2020/lib/collapse/collapse.module.mjs +4 -4
- package/esm2020/lib/date-picker/date-picker.component.mjs +3 -3
- package/esm2020/lib/date-picker/date-picker.module.mjs +4 -4
- package/esm2020/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2020/lib/date-range-picker/date-range-picker.module.mjs +4 -4
- package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +6 -6
- package/esm2020/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +3 -3
- package/esm2020/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
- package/esm2020/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
- package/esm2020/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
- package/esm2020/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +3 -3
- package/esm2020/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -3
- package/esm2020/lib/dropdown/dropdown.module.mjs +4 -4
- package/esm2020/lib/dropdown/dropdown.service.mjs +3 -3
- package/esm2020/lib/element-cover/element-cover.component.mjs +3 -3
- package/esm2020/lib/element-cover/element-cover.module.mjs +4 -4
- package/esm2020/lib/footer/footer.component.mjs +3 -3
- package/esm2020/lib/footer/footer.module.mjs +4 -4
- package/esm2020/lib/form/form/form.directive.mjs +3 -3
- package/esm2020/lib/form/form-check/form-check-input.directive.mjs +3 -3
- package/esm2020/lib/form/form-check/form-check-label.directive.mjs +3 -3
- package/esm2020/lib/form/form-check/form-check.component.mjs +3 -3
- package/esm2020/lib/form/form-control/form-control.directive.mjs +3 -3
- package/esm2020/lib/form/form-feedback/form-feedback.component.mjs +3 -3
- package/esm2020/lib/form/form-floating/form-floating.directive.mjs +3 -3
- package/esm2020/lib/form/form-label/form-label.directive.mjs +3 -3
- package/esm2020/lib/form/form-select/form-select.directive.mjs +3 -3
- package/esm2020/lib/form/form-text/form-text.directive.mjs +3 -3
- package/esm2020/lib/form/form.module.mjs +4 -4
- package/esm2020/lib/form/input-group/input-group.component.mjs +3 -3
- package/esm2020/lib/form/input-group-text/input-group-text.directive.mjs +3 -3
- package/esm2020/lib/grid/col.component.mjs +3 -3
- package/esm2020/lib/grid/col.directive.mjs +3 -3
- package/esm2020/lib/grid/container.component.mjs +3 -3
- package/esm2020/lib/grid/grid.module.mjs +4 -4
- package/esm2020/lib/grid/gutter.directive.mjs +3 -3
- package/esm2020/lib/grid/row.component.mjs +3 -3
- package/esm2020/lib/grid/row.directive.mjs +3 -3
- package/esm2020/lib/header/header/header.component.mjs +3 -3
- package/esm2020/lib/header/header-brand/header-brand.component.mjs +3 -3
- package/esm2020/lib/header/header-divider/header-divider.component.mjs +3 -3
- package/esm2020/lib/header/header-nav/header-nav.component.mjs +3 -3
- package/esm2020/lib/header/header-text/header-text.component.mjs +3 -3
- package/esm2020/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
- package/esm2020/lib/header/header.module.mjs +4 -4
- package/esm2020/lib/image/img.directive.mjs +3 -3
- package/esm2020/lib/image/img.module.mjs +4 -4
- package/esm2020/lib/list-group/list-group-item.directive.mjs +3 -3
- package/esm2020/lib/list-group/list-group.directive.mjs +3 -3
- package/esm2020/lib/list-group/list-group.module.mjs +4 -4
- package/esm2020/lib/loading-button/loading-button.component.mjs +3 -3
- package/esm2020/lib/loading-button/loading-button.module.mjs +4 -4
- package/esm2020/lib/modal/modal/modal.component.mjs +3 -3
- package/esm2020/lib/modal/modal-body/modal-body.component.mjs +3 -3
- package/esm2020/lib/modal/modal-content/modal-content.component.mjs +3 -3
- package/esm2020/lib/modal/modal-dialog/modal-dialog.component.mjs +3 -3
- package/esm2020/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
- package/esm2020/lib/modal/modal-footer/modal-footer.component.mjs +3 -3
- package/esm2020/lib/modal/modal-header/modal-header.component.mjs +3 -3
- package/esm2020/lib/modal/modal-title/modal-title.directive.mjs +3 -3
- package/esm2020/lib/modal/modal.module.mjs +4 -4
- package/esm2020/lib/modal/modal.service.mjs +3 -3
- package/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +118 -47
- package/esm2020/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +3 -3
- package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +6 -6
- package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +5 -5
- package/esm2020/lib/multi-select/multi-select-option/multi-select-option.component.mjs +66 -21
- package/esm2020/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
- package/esm2020/lib/multi-select/multi-select.module.mjs +4 -4
- package/esm2020/lib/multi-select/multi-select.service.mjs +3 -3
- package/esm2020/lib/multi-select/multi-select.type.mjs +1 -1
- package/esm2020/lib/nav/nav-item.component.mjs +3 -3
- package/esm2020/lib/nav/nav-link.directive.mjs +3 -3
- package/esm2020/lib/nav/nav.component.mjs +3 -3
- package/esm2020/lib/nav/nav.module.mjs +4 -4
- package/esm2020/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
- package/esm2020/lib/navbar/navbar-nav/navbar-nav.component.mjs +3 -3
- package/esm2020/lib/navbar/navbar-text/navbar-text.component.mjs +3 -3
- package/esm2020/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +3 -3
- package/esm2020/lib/navbar/navbar.component.mjs +3 -3
- package/esm2020/lib/navbar/navbar.module.mjs +4 -4
- package/esm2020/lib/offcanvas/offcanvas/offcanvas.component.mjs +3 -3
- package/esm2020/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +3 -3
- package/esm2020/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +3 -3
- package/esm2020/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
- package/esm2020/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
- package/esm2020/lib/offcanvas/offcanvas.module.mjs +4 -4
- package/esm2020/lib/offcanvas/offcanvas.service.mjs +3 -3
- package/esm2020/lib/pagination/page-item/page-item.component.mjs +3 -3
- package/esm2020/lib/pagination/page-item/page-item.directive.mjs +3 -3
- package/esm2020/lib/pagination/page-link/page-link.directive.mjs +3 -3
- package/esm2020/lib/pagination/pagination/pagination.component.mjs +3 -3
- package/esm2020/lib/pagination/pagination.module.mjs +4 -4
- package/esm2020/lib/placeholder/placeholder-animation.directive.mjs +3 -3
- package/esm2020/lib/placeholder/placeholder.directive.mjs +3 -3
- package/esm2020/lib/placeholder/placeholder.module.mjs +4 -4
- package/esm2020/lib/popover/popover/popover.component.mjs +3 -3
- package/esm2020/lib/popover/popover.directive.mjs +3 -3
- package/esm2020/lib/popover/popover.module.mjs +4 -4
- package/esm2020/lib/progress/progress-bar.component.mjs +3 -3
- package/esm2020/lib/progress/progress.component.mjs +3 -3
- package/esm2020/lib/progress/progress.module.mjs +4 -4
- package/esm2020/lib/services/class-toggle.service.mjs +3 -3
- package/esm2020/lib/services/intersection.service.mjs +3 -3
- package/esm2020/lib/services/listeners.service.mjs +3 -3
- package/esm2020/lib/shared/html-attr.directive.mjs +3 -3
- package/esm2020/lib/shared/shared.module.mjs +4 -4
- package/esm2020/lib/shared/template-id.directive.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-group.service.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +6 -6
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +6 -6
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
- package/esm2020/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +3 -3
- package/esm2020/lib/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/lib/sidebar/sidebar.service.mjs +3 -3
- package/esm2020/lib/smart-pagination/smart-pagination.component.mjs +3 -3
- package/esm2020/lib/smart-pagination/smart-pagination.module.mjs +4 -4
- package/esm2020/lib/smart-table/smart-table/smart-table.component.mjs +3 -3
- package/esm2020/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.mjs +3 -3
- package/esm2020/lib/smart-table/smart-table-filter/filter-input.directive.mjs +5 -4
- package/esm2020/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +3 -3
- package/esm2020/lib/smart-table/smart-table-head/smart-table-head.component.mjs +3 -3
- package/esm2020/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +3 -3
- package/esm2020/lib/smart-table/smart-table.module.mjs +4 -4
- package/esm2020/lib/spinner/spinner.component.mjs +3 -3
- package/esm2020/lib/spinner/spinner.module.mjs +4 -4
- package/esm2020/lib/table/table-active.directive.mjs +3 -3
- package/esm2020/lib/table/table-color.directive.mjs +3 -3
- package/esm2020/lib/table/table.directive.mjs +3 -3
- package/esm2020/lib/table/table.module.mjs +4 -4
- package/esm2020/lib/tabs/tab-content/tab-content.component.mjs +3 -3
- package/esm2020/lib/tabs/tab-content-ref.directive.mjs +3 -3
- package/esm2020/lib/tabs/tab-pane/tab-pane.component.mjs +3 -3
- package/esm2020/lib/tabs/tab.service.mjs +3 -3
- package/esm2020/lib/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +6 -6
- package/esm2020/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +6 -6
- package/esm2020/lib/time-picker/time-picker.component.mjs +3 -3
- package/esm2020/lib/time-picker/time-picker.module.mjs +4 -4
- package/esm2020/lib/toast/toast/toast.component.mjs +3 -3
- package/esm2020/lib/toast/toast-body/toast-body.component.mjs +3 -3
- package/esm2020/lib/toast/toast-close.directive.mjs +3 -3
- package/esm2020/lib/toast/toast-header/toast-header.component.mjs +3 -3
- package/esm2020/lib/toast/toast.module.mjs +4 -4
- package/esm2020/lib/toast/toaster/toaster-host.directive.mjs +3 -3
- package/esm2020/lib/toast/toaster/toaster.component.mjs +3 -3
- package/esm2020/lib/toast/toaster/toaster.service.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/lib/utilities/align.directive.mjs +3 -3
- package/esm2020/lib/utilities/bg-color.directive.mjs +3 -3
- package/esm2020/lib/utilities/border.directive.mjs +3 -3
- package/esm2020/lib/utilities/rounded.directive.mjs +3 -3
- package/esm2020/lib/utilities/text-color.directive.mjs +3 -3
- package/esm2020/lib/utilities/utilities.module.mjs +4 -4
- package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
- package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +3 -3
- package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +3 -3
- package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
- package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
- package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +3 -3
- package/esm2020/lib/widget/widget.module.mjs +4 -4
- package/fesm2015/coreui-angular-pro.mjs +962 -847
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +956 -845
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/lib/multi-select/multi-select/multi-select.component.d.ts +30 -7
- package/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.d.ts +1 -1
- package/lib/multi-select/multi-select-option/multi-select-option.component.d.ts +20 -13
- package/lib/multi-select/multi-select.type.d.ts +9 -2
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ interface IPluralMap {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const observeReferenceModifier: Modifier<string, any>;
|
|
14
14
|
export declare class MultiSelectComponent implements IMultiSelect, ControlValueAccessor, AfterContentInit, AfterViewInit, OnChanges, OnDestroy, OnInit {
|
|
15
|
+
#private;
|
|
15
16
|
private elementRef;
|
|
16
17
|
private renderer;
|
|
17
18
|
private ngZone;
|
|
@@ -24,7 +25,9 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
24
25
|
private readonly differ;
|
|
25
26
|
static ngAcceptInputType_multiple: BooleanInput;
|
|
26
27
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
27
|
-
|
|
28
|
+
static ngAcceptInputType_virtualScroller: BooleanInput;
|
|
29
|
+
onChange: (value: any) => void;
|
|
30
|
+
onTouched: () => void;
|
|
28
31
|
writeValue(value: (string | string[])): void;
|
|
29
32
|
registerOnChange(fn: any): void;
|
|
30
33
|
registerOnTouched(fn: any): void;
|
|
@@ -38,11 +41,16 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
38
41
|
private _multiple;
|
|
39
42
|
nativeName: string;
|
|
40
43
|
nativeId: string;
|
|
44
|
+
options: IOption[];
|
|
41
45
|
optionsMaxHeight: string;
|
|
42
46
|
optionsStyle: 'checkbox' | 'text';
|
|
43
47
|
placeholder: string;
|
|
44
|
-
search: boolean;
|
|
48
|
+
search: boolean | 'external';
|
|
45
49
|
searchNoResultsLabel: string;
|
|
50
|
+
set searchValue(value: string);
|
|
51
|
+
get searchValue(): string;
|
|
52
|
+
private _searchValue;
|
|
53
|
+
readonly searchValueChange: EventEmitter<string>;
|
|
46
54
|
selectAll: boolean;
|
|
47
55
|
selectAllLabel: string;
|
|
48
56
|
selectionType: 'counter' | 'tags' | 'text';
|
|
@@ -55,6 +63,7 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
55
63
|
size?: 'sm' | 'lg';
|
|
56
64
|
/**
|
|
57
65
|
* Initial value of multi-select
|
|
66
|
+
* @type string | string[]
|
|
58
67
|
*/
|
|
59
68
|
set value(value: string | string[]);
|
|
60
69
|
get value(): string | string[];
|
|
@@ -66,6 +75,23 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
66
75
|
* @default undefined
|
|
67
76
|
*/
|
|
68
77
|
valid?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Enable virtual scroller for the options list.
|
|
80
|
+
* @type boolean
|
|
81
|
+
* @default false
|
|
82
|
+
* todo: virtual scroller implementation
|
|
83
|
+
*/
|
|
84
|
+
set virtualScroller(value: boolean);
|
|
85
|
+
get virtualScroller(): boolean;
|
|
86
|
+
private _virtualScroller;
|
|
87
|
+
/**
|
|
88
|
+
* Amount of visible options, if set - overwrites optionsMaxHeight
|
|
89
|
+
* @type number
|
|
90
|
+
* @default 10
|
|
91
|
+
*/
|
|
92
|
+
set visibleItems(value: number);
|
|
93
|
+
get visibleItems(): number;
|
|
94
|
+
private _visibleItems;
|
|
69
95
|
/**
|
|
70
96
|
* Toggle the visibility of the dropdown select component.
|
|
71
97
|
* @type boolean
|
|
@@ -89,7 +115,6 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
89
115
|
get counterTextType(): string;
|
|
90
116
|
private multiselectStateSubscription;
|
|
91
117
|
private multiselectVisibleSubscription;
|
|
92
|
-
private multiSelectOptionsSubscription;
|
|
93
118
|
private focusMonitorSubscription;
|
|
94
119
|
multiSelectOptions: QueryList<MultiSelectOptionComponent>;
|
|
95
120
|
private listKeyManager;
|
|
@@ -110,6 +135,7 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
110
135
|
'is-valid': boolean;
|
|
111
136
|
'is-invalid': boolean;
|
|
112
137
|
};
|
|
138
|
+
private get ariaMultiSelectable();
|
|
113
139
|
private get tabIndex();
|
|
114
140
|
private set tabIndex(value);
|
|
115
141
|
private _tabIndex;
|
|
@@ -117,9 +143,6 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
117
143
|
onKeyDown($event: KeyboardEvent): void;
|
|
118
144
|
onClick($event: MouseEvent): void;
|
|
119
145
|
visibleOptions: number;
|
|
120
|
-
set searchValue(value: string);
|
|
121
|
-
get searchValue(): string;
|
|
122
|
-
private _searchValue;
|
|
123
146
|
get subtreeFocused(): boolean;
|
|
124
147
|
set subtreeFocused(value: boolean);
|
|
125
148
|
private _subtreeFocused;
|
|
@@ -145,6 +168,6 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
145
168
|
private selectedOptionsUpdate;
|
|
146
169
|
private setFocusMonitor;
|
|
147
170
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "c-multi-select", ["cMultiSelect"], { "cleaner": "cleaner"; "disabled": "disabled"; "multiple": "multiple"; "nativeName": "nativeName"; "nativeId": "nativeId"; "optionsMaxHeight": "optionsMaxHeight"; "optionsStyle": "optionsStyle"; "placeholder": "placeholder"; "search": "search"; "searchNoResultsLabel": "searchNoResultsLabel"; "selectAll": "selectAll"; "selectAllLabel": "selectAllLabel"; "selectionType": "selectionType"; "selectionTypeCounterText": "selectionTypeCounterText"; "selectionTypeCounterTextPluralMap": "selectionTypeCounterTextPluralMap"; "size": "size"; "value": "value"; "valid": "valid"; "visible": "visible"; "popperjsOptions": "popperOptions"; }, { "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, ["multiSelectOptions"], ["*"], false, never>;
|
|
171
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "c-multi-select", ["cMultiSelect"], { "cleaner": "cleaner"; "disabled": "disabled"; "multiple": "multiple"; "nativeName": "nativeName"; "nativeId": "nativeId"; "options": "options"; "optionsMaxHeight": "optionsMaxHeight"; "optionsStyle": "optionsStyle"; "placeholder": "placeholder"; "search": "search"; "searchNoResultsLabel": "searchNoResultsLabel"; "searchValue": "searchValue"; "selectAll": "selectAll"; "selectAllLabel": "selectAllLabel"; "selectionType": "selectionType"; "selectionTypeCounterText": "selectionTypeCounterText"; "selectionTypeCounterTextPluralMap": "selectionTypeCounterTextPluralMap"; "size": "size"; "value": "value"; "valid": "valid"; "virtualScroller": "virtualScroller"; "visibleItems": "visibleItems"; "visible": "visible"; "popperjsOptions": "popperOptions"; }, { "searchValueChange": "searchValueChange"; "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, ["multiSelectOptions"], ["*"], false, never>;
|
|
149
172
|
}
|
|
150
173
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterContentInit, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MultiSelectOptionComponent } from '../multi-select-option/multi-select-option.component';
|
|
3
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import { MultiSelectOptionComponent } from '../multi-select-option/multi-select-option.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class MultiSelectOptgroupComponent implements AfterContentInit, OnChanges {
|
|
6
6
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
3
|
import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
4
4
|
import { MultiSelectService } from '../multi-select.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MultiSelectOptionComponent implements
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private changeDetectorRef;
|
|
10
|
-
private focusMonitor;
|
|
11
|
-
private multiSelectService;
|
|
12
|
-
constructor(elementRef: ElementRef,
|
|
6
|
+
export declare class MultiSelectOptionComponent implements AfterViewInit, FocusableOption, OnDestroy {
|
|
7
|
+
#private;
|
|
8
|
+
private readonly elementRef;
|
|
9
|
+
private readonly changeDetectorRef;
|
|
10
|
+
private readonly focusMonitor;
|
|
11
|
+
private readonly multiSelectService;
|
|
12
|
+
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor, multiSelectService: MultiSelectService);
|
|
13
13
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
14
14
|
static ngAcceptInputType_selected: BooleanInput;
|
|
15
15
|
optionsStyle: ('checkbox' | 'text');
|
|
@@ -17,10 +17,14 @@ export declare class MultiSelectOptionComponent implements AfterContentInit, Foc
|
|
|
17
17
|
value?: string;
|
|
18
18
|
visible: boolean;
|
|
19
19
|
selectedChange: EventEmitter<boolean>;
|
|
20
|
-
|
|
20
|
+
contentDiv?: ElementRef;
|
|
21
21
|
hasContent: boolean;
|
|
22
|
-
private multiselectVisibleSubscription;
|
|
23
22
|
private dropdownVisible;
|
|
23
|
+
private _generatedId;
|
|
24
|
+
/** The id of the option element. */
|
|
25
|
+
get id(): string;
|
|
26
|
+
set id(value: string);
|
|
27
|
+
private _id;
|
|
24
28
|
set disabled(value: boolean);
|
|
25
29
|
get disabled(): boolean;
|
|
26
30
|
private _disabled;
|
|
@@ -34,16 +38,19 @@ export declare class MultiSelectOptionComponent implements AfterContentInit, Foc
|
|
|
34
38
|
disabled: boolean;
|
|
35
39
|
'd-none': boolean;
|
|
36
40
|
};
|
|
41
|
+
private get role();
|
|
37
42
|
private get tabIndex();
|
|
38
43
|
private get ariaDisabled();
|
|
39
44
|
private get ariaSelected();
|
|
45
|
+
onKeyDown($event: KeyboardEvent): void;
|
|
40
46
|
onKeyUp($event: KeyboardEvent): void;
|
|
41
47
|
private onClick;
|
|
42
|
-
|
|
48
|
+
ngAfterViewInit(): void;
|
|
49
|
+
/** Get the label for this element which is required by the FocusableOption interface. */
|
|
43
50
|
getLabel(): string;
|
|
44
51
|
focus(origin?: FocusOrigin): void;
|
|
45
52
|
ngOnDestroy(): void;
|
|
46
|
-
|
|
53
|
+
private setSubscriptions;
|
|
47
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectOptionComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectOptionComponent, "c-multi-select-option",
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectOptionComponent, "c-multi-select-option", ["cMultiSelectOption"], { "optionsStyle": "optionsStyle"; "label": "label"; "value": "value"; "visible": "visible"; "id": "id"; "disabled": "disabled"; "selected": "selected"; "role": "role"; }, { "selectedChange": "selectedChange"; }, never, ["*"], false, never>;
|
|
49
56
|
}
|
|
@@ -2,22 +2,29 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
export interface IMultiSelect {
|
|
3
3
|
cleaner?: boolean;
|
|
4
4
|
multiple?: boolean;
|
|
5
|
-
options?:
|
|
5
|
+
options?: IOption[];
|
|
6
6
|
optionsMaxHeight?: (number | string | 'auto');
|
|
7
7
|
optionsStyle?: (string | 'checkbox' | 'text');
|
|
8
8
|
placeholder?: string;
|
|
9
|
-
search?: boolean;
|
|
9
|
+
search?: boolean | 'external';
|
|
10
|
+
searchValue?: string;
|
|
11
|
+
searchValueChange?: EventEmitter<string>;
|
|
10
12
|
searchNoResultsLabel?: string;
|
|
11
13
|
selectAll?: boolean;
|
|
12
14
|
selectAllLabel?: string;
|
|
13
15
|
selectionType?: ('counter' | 'tags' | 'text');
|
|
14
16
|
selectionTypeCounterText?: string;
|
|
17
|
+
value?: string | string[];
|
|
18
|
+
valueChange?: EventEmitter<string | string[]>;
|
|
19
|
+
virtualScroller?: boolean;
|
|
20
|
+
visibleItems?: number;
|
|
15
21
|
visible?: boolean;
|
|
16
22
|
visibleChange?: EventEmitter<boolean>;
|
|
17
23
|
}
|
|
18
24
|
export type TOptions = IOption[];
|
|
19
25
|
export interface IOption {
|
|
20
26
|
disabled?: boolean;
|
|
27
|
+
id?: string;
|
|
21
28
|
label?: string;
|
|
22
29
|
options?: TOptions;
|
|
23
30
|
order?: number;
|
package/package.json
CHANGED