@coreui/angular-pro 4.4.0-next.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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 +7 -9
- package/esm2020/lib/accordion/accordion.module.mjs +9 -22
- 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 +7 -7
- package/esm2020/lib/alert/alert.module.mjs +8 -17
- package/esm2020/lib/avatar/avatar.component.mjs +10 -7
- package/esm2020/lib/avatar/avatar.module.mjs +5 -10
- package/esm2020/lib/backdrop/backdrop.service.mjs +3 -3
- package/esm2020/lib/badge/badge.component.mjs +11 -7
- package/esm2020/lib/badge/badge.module.mjs +5 -10
- package/esm2020/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +9 -5
- package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +8 -10
- package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +6 -7
- package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +3 -3
- package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +8 -21
- 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 +7 -11
- package/esm2020/lib/button-group/button-group/button-group.component.mjs +3 -3
- package/esm2020/lib/button-group/button-group.module.mjs +6 -8
- 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 +19 -14
- 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 +34 -24
- package/esm2020/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
- package/esm2020/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +6 -7
- package/esm2020/lib/calendar/calendar.module.mjs +5 -14
- 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 +6 -13
- 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 +5 -10
- 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 +9 -10
- package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +6 -7
- package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +6 -7
- 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 +5 -10
- 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 +6 -12
- package/esm2020/lib/date-picker/date-picker.component.mjs +26 -18
- package/esm2020/lib/date-picker/date-picker.module.mjs +7 -51
- package/esm2020/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +51 -49
- package/esm2020/lib/date-range-picker/date-range-picker.module.mjs +7 -47
- 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 +5 -10
- package/esm2020/lib/dropdown/dropdown.service.mjs +3 -3
- package/esm2020/lib/element-cover/element-cover.component.mjs +6 -7
- package/esm2020/lib/element-cover/element-cover.module.mjs +7 -20
- package/esm2020/lib/footer/footer.component.mjs +3 -3
- package/esm2020/lib/footer/footer.module.mjs +6 -8
- 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 +5 -10
- 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 +6 -12
- package/esm2020/lib/grid/gutter.directive.mjs +3 -3
- package/esm2020/lib/grid/row.component.mjs +9 -5
- package/esm2020/lib/grid/row.directive.mjs +3 -3
- package/esm2020/lib/header/header/header.component.mjs +8 -9
- 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 +5 -10
- package/esm2020/lib/image/img.directive.mjs +3 -3
- package/esm2020/lib/image/img.module.mjs +7 -9
- 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 +6 -8
- package/esm2020/lib/loading-button/loading-button.component.mjs +3 -3
- package/esm2020/lib/loading-button/loading-button.module.mjs +7 -20
- package/esm2020/lib/modal/modal/modal.component.mjs +5 -5
- 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 +5 -14
- package/esm2020/lib/modal/modal.service.mjs +3 -3
- package/esm2020/lib/multi-select/multi-select/multi-select-search.directive.mjs +69 -0
- package/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +710 -188
- package/esm2020/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +6 -7
- package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +8 -7
- package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +8 -9
- package/esm2020/lib/multi-select/multi-select-option/multi-select-option.component.mjs +224 -45
- package/esm2020/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +16 -10
- package/esm2020/lib/multi-select/multi-select.module.mjs +10 -41
- package/esm2020/lib/multi-select/multi-select.service.mjs +27 -10
- package/esm2020/lib/multi-select/multi-select.type.mjs +1 -1
- package/esm2020/lib/multi-select/public_api.mjs +1 -2
- 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 +5 -10
- 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 +6 -7
- package/esm2020/lib/navbar/navbar.module.mjs +8 -17
- 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 +6 -15
- 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 +6 -7
- package/esm2020/lib/pagination/pagination.module.mjs +5 -10
- 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 +5 -9
- package/esm2020/lib/popover/popover/popover.component.mjs +6 -7
- package/esm2020/lib/popover/popover.directive.mjs +29 -7
- package/esm2020/lib/popover/popover.module.mjs +5 -10
- 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 +5 -10
- package/esm2020/lib/services/class-toggle.service.mjs +5 -5
- package/esm2020/lib/services/intersection.service.mjs +3 -3
- package/esm2020/lib/services/listeners.service.mjs +5 -7
- package/esm2020/lib/shared/html-attr.directive.mjs +4 -4
- package/esm2020/lib/shared/shared.module.mjs +5 -10
- 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 +5 -5
- package/esm2020/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +6 -7
- 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 +6 -7
- 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 +51 -25
- 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 +17 -33
- package/esm2020/lib/sidebar/sidebar.service.mjs +3 -3
- package/esm2020/lib/smart-pagination/smart-pagination.component.mjs +6 -7
- package/esm2020/lib/smart-pagination/smart-pagination.module.mjs +7 -20
- package/esm2020/lib/smart-table/smart-table/smart-table.component.mjs +64 -74
- package/esm2020/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.mjs +6 -7
- 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 +6 -7
- package/esm2020/lib/smart-table/smart-table-head/smart-table-head.component.mjs +27 -36
- package/esm2020/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +8 -9
- package/esm2020/lib/smart-table/smart-table.module.mjs +6 -70
- package/esm2020/lib/smart-table/smart-table.type.mjs +1 -1
- package/esm2020/lib/spinner/spinner.component.mjs +3 -3
- package/esm2020/lib/spinner/spinner.module.mjs +5 -14
- 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 +5 -9
- 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 +6 -11
- 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 +18 -16
- 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 +6 -7
- package/esm2020/lib/toast/toast.module.mjs +6 -15
- 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 +5 -10
- 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 +5 -9
- package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +6 -10
- package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +6 -7
- package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +9 -10
- package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +6 -7
- package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +6 -7
- package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +10 -11
- package/esm2020/lib/widget/widget.module.mjs +5 -18
- package/fesm2015/coreui-angular-pro.mjs +2489 -1952
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +2473 -1955
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/lib/accordion/accordion.module.d.ts +4 -7
- package/lib/alert/alert.module.d.ts +4 -6
- package/lib/avatar/avatar.module.d.ts +2 -3
- package/lib/badge/badge.module.d.ts +2 -3
- package/lib/breadcrumb/breadcrumb.module.d.ts +4 -7
- package/lib/button/button.module.d.ts +3 -4
- package/lib/button-group/button-group.module.d.ts +3 -4
- package/lib/calendar/calendar-month/calendar-month.component.d.ts +1 -1
- package/lib/calendar/calendar.module.d.ts +12 -14
- package/lib/callout/callout.module.d.ts +2 -3
- package/lib/card/card.module.d.ts +13 -14
- package/lib/carousel/carousel-control/carousel-control.component.d.ts +2 -2
- package/lib/carousel/carousel.module.d.ts +7 -8
- package/lib/collapse/collapse.module.d.ts +2 -3
- package/lib/date-picker/date-picker.module.d.ts +2 -11
- package/lib/date-range-picker/date-range-picker.module.d.ts +2 -10
- package/lib/dropdown/dropdown.module.d.ts +8 -9
- package/lib/element-cover/element-cover.module.d.ts +2 -4
- package/lib/footer/footer.module.d.ts +2 -3
- package/lib/form/form.module.d.ts +13 -14
- package/lib/grid/grid.module.d.ts +7 -8
- package/lib/header/header.module.d.ts +7 -8
- package/lib/image/img.module.d.ts +2 -3
- package/lib/list-group/list-group.module.d.ts +3 -4
- package/lib/loading-button/loading-button.module.d.ts +2 -4
- package/lib/modal/modal.module.d.ts +9 -11
- package/lib/multi-select/multi-select/multi-select-search.directive.d.ts +15 -0
- package/lib/multi-select/multi-select/multi-select.component.d.ts +184 -28
- package/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.d.ts +1 -0
- package/lib/multi-select/multi-select-option/multi-select-option.component.d.ts +69 -20
- package/lib/multi-select/multi-select-tag/multi-select-tag.component.d.ts +5 -2
- package/lib/multi-select/multi-select.module.d.ts +5 -12
- package/lib/multi-select/multi-select.service.d.ts +14 -7
- package/lib/multi-select/multi-select.type.d.ts +12 -3
- package/lib/multi-select/public_api.d.ts +1 -1
- package/lib/nav/nav.module.d.ts +4 -5
- package/lib/navbar/navbar.module.d.ts +6 -8
- package/lib/offcanvas/offcanvas.module.d.ts +6 -8
- package/lib/pagination/pagination.module.d.ts +5 -6
- package/lib/placeholder/placeholder.module.d.ts +3 -4
- package/lib/popover/popover.directive.d.ts +8 -3
- package/lib/popover/popover.module.d.ts +3 -4
- package/lib/progress/progress.module.d.ts +3 -4
- package/lib/services/class-toggle.service.d.ts +1 -1
- package/lib/shared/html-attr.directive.d.ts +1 -1
- package/lib/shared/shared.module.d.ts +3 -4
- package/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.d.ts +1 -1
- package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +3 -3
- package/lib/sidebar/sidebar.module.d.ts +16 -20
- package/lib/smart-pagination/smart-pagination.module.d.ts +2 -4
- package/lib/smart-table/smart-table/smart-table.component.d.ts +10 -8
- package/lib/smart-table/smart-table-head/smart-table-head.component.d.ts +3 -3
- package/lib/smart-table/smart-table.module.d.ts +3 -17
- package/lib/smart-table/smart-table.type.d.ts +7 -7
- package/lib/spinner/spinner.module.d.ts +2 -3
- package/lib/table/table.module.d.ts +4 -5
- package/lib/tabs/tabs.module.d.ts +4 -5
- package/lib/toast/toast.module.d.ts +7 -9
- package/lib/tooltip/tooltip.module.d.ts +3 -4
- package/lib/utilities/utilities.module.d.ts +6 -7
- package/lib/widget/widget.module.d.ts +7 -10
- package/package.json +2 -2
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
3
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, IterableDiffers, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
4
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
4
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
+
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
7
|
import { Modifier, Options } from '@popperjs/core';
|
|
6
|
-
import {
|
|
8
|
+
import { TemplateIdDirective } from '../../shared';
|
|
9
|
+
import { IMultiSelect, IOption, SearchFn } from '../multi-select.type';
|
|
7
10
|
import { MultiSelectService } from '../multi-select.service';
|
|
8
11
|
import { MultiSelectOptionComponent } from '../multi-select-option/multi-select-option.component';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
@@ -11,7 +14,8 @@ interface IPluralMap {
|
|
|
11
14
|
[k: string]: string;
|
|
12
15
|
}
|
|
13
16
|
export declare const observeReferenceModifier: Modifier<string, any>;
|
|
14
|
-
export declare class MultiSelectComponent implements IMultiSelect, ControlValueAccessor,
|
|
17
|
+
export declare class MultiSelectComponent implements IMultiSelect, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy, OnInit {
|
|
18
|
+
#private;
|
|
15
19
|
private elementRef;
|
|
16
20
|
private renderer;
|
|
17
21
|
private ngZone;
|
|
@@ -24,29 +28,136 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
24
28
|
private readonly differ;
|
|
25
29
|
static ngAcceptInputType_multiple: BooleanInput;
|
|
26
30
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
27
|
-
|
|
31
|
+
static ngAcceptInputType_virtualScroller: BooleanInput;
|
|
32
|
+
readonly optionsArray$: BehaviorSubject<IOption[]>;
|
|
33
|
+
readonly optionsSelected$: BehaviorSubject<IOption[]>;
|
|
34
|
+
readonly optionsSelected: Map<any, IOption>;
|
|
35
|
+
readonly value$: BehaviorSubject<string[]>;
|
|
36
|
+
onChange: (value: any) => void;
|
|
37
|
+
onTouched: () => void;
|
|
28
38
|
writeValue(value: (string | string[])): void;
|
|
29
39
|
registerOnChange(fn: any): void;
|
|
30
40
|
registerOnTouched(fn: any): void;
|
|
31
41
|
setDisabledState(isDisabled: boolean): void;
|
|
42
|
+
/**
|
|
43
|
+
* Enables selection cleaner element
|
|
44
|
+
* @type boolean
|
|
45
|
+
* @default true
|
|
46
|
+
*/
|
|
32
47
|
cleaner: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Disables multi-select component
|
|
50
|
+
* @type boolean
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
33
53
|
set disabled(value: boolean);
|
|
34
54
|
get disabled(): boolean;
|
|
35
55
|
private _disabled;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies that multiple options can be selected at once
|
|
58
|
+
* @type boolean
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
36
61
|
set multiple(value: boolean);
|
|
37
62
|
get multiple(): boolean;
|
|
38
63
|
private _multiple;
|
|
39
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Hidden native select form
|
|
66
|
+
* @type string
|
|
67
|
+
* @default ''
|
|
68
|
+
*/
|
|
69
|
+
nativeFormId: string;
|
|
70
|
+
/**
|
|
71
|
+
* Hidden native select id
|
|
72
|
+
* @type string
|
|
73
|
+
* @default ''
|
|
74
|
+
*/
|
|
40
75
|
nativeId: string;
|
|
76
|
+
/**
|
|
77
|
+
* Hidden native select name
|
|
78
|
+
* @type string
|
|
79
|
+
* @default ''
|
|
80
|
+
*/
|
|
81
|
+
nativeName: string;
|
|
82
|
+
/**
|
|
83
|
+
* List of option elements
|
|
84
|
+
* @type IOption[]
|
|
85
|
+
* @default []
|
|
86
|
+
*/
|
|
87
|
+
set options(options: IOption[]);
|
|
88
|
+
get options(): IOption[];
|
|
89
|
+
/**
|
|
90
|
+
* Sets maxHeight of options list in px
|
|
91
|
+
* @type (string | number)
|
|
92
|
+
* @default 'auto'
|
|
93
|
+
*/
|
|
41
94
|
optionsMaxHeight: string;
|
|
42
|
-
|
|
95
|
+
/**
|
|
96
|
+
* Sets option style
|
|
97
|
+
* @type 'checkbox' | 'text'
|
|
98
|
+
* @default 'checkbox'
|
|
99
|
+
*/
|
|
100
|
+
set optionsStyle(value: 'checkbox' | 'text');
|
|
101
|
+
/**
|
|
102
|
+
* Specifies a short hint that is visible in the search input
|
|
103
|
+
* @type string
|
|
104
|
+
* @default 'Select...'
|
|
105
|
+
*/
|
|
43
106
|
placeholder: string;
|
|
44
|
-
|
|
107
|
+
/**
|
|
108
|
+
* Enables search input element
|
|
109
|
+
* @type boolean | SearchFn | 'external'
|
|
110
|
+
* @default true
|
|
111
|
+
*/
|
|
112
|
+
search: (boolean | 'external' | SearchFn);
|
|
113
|
+
/**
|
|
114
|
+
* Sets the label for no results when filtering
|
|
115
|
+
* @type string
|
|
116
|
+
* @default 'no items'
|
|
117
|
+
*/
|
|
45
118
|
searchNoResultsLabel: string;
|
|
119
|
+
/**
|
|
120
|
+
* Sets initial search string
|
|
121
|
+
* @type string
|
|
122
|
+
* @default ''
|
|
123
|
+
*/
|
|
124
|
+
set searchValue(value: string);
|
|
125
|
+
get searchValue(): string;
|
|
126
|
+
private _searchValue;
|
|
127
|
+
/**
|
|
128
|
+
* Emits searchValue string for external filtering
|
|
129
|
+
* @type string
|
|
130
|
+
*/
|
|
131
|
+
readonly searchValueChange: EventEmitter<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Enables select all button
|
|
134
|
+
* @type boolean
|
|
135
|
+
* @default true
|
|
136
|
+
*/
|
|
46
137
|
selectAll: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Sets the select all button label
|
|
140
|
+
* @type string
|
|
141
|
+
* @default 'Select all options'
|
|
142
|
+
*/
|
|
47
143
|
selectAllLabel: string;
|
|
144
|
+
/**
|
|
145
|
+
* Selection type
|
|
146
|
+
* @type 'counter' | 'tags' | 'text'
|
|
147
|
+
* @default 'tags'
|
|
148
|
+
*/
|
|
48
149
|
selectionType: 'counter' | 'tags' | 'text';
|
|
150
|
+
/**
|
|
151
|
+
* Counter selection label value
|
|
152
|
+
* @type string
|
|
153
|
+
* @default 'item(s) selected'
|
|
154
|
+
*/
|
|
49
155
|
selectionTypeCounterText: string;
|
|
156
|
+
/**
|
|
157
|
+
* Counter selection label plural map for I18nPluralPipe
|
|
158
|
+
* @type IPluralMap
|
|
159
|
+
* @default { '=1': 'item selected', 'other': 'items selected' }
|
|
160
|
+
*/
|
|
50
161
|
selectionTypeCounterTextPluralMap?: IPluralMap;
|
|
51
162
|
/**
|
|
52
163
|
* Size the component small or large.
|
|
@@ -55,10 +166,14 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
55
166
|
size?: 'sm' | 'lg';
|
|
56
167
|
/**
|
|
57
168
|
* Initial value of multi-select
|
|
169
|
+
* @type string | string[]
|
|
58
170
|
*/
|
|
59
171
|
set value(value: string | string[]);
|
|
60
172
|
get value(): string | string[];
|
|
61
|
-
|
|
173
|
+
/**
|
|
174
|
+
* Emits valueChange
|
|
175
|
+
* @type string | string[]
|
|
176
|
+
*/
|
|
62
177
|
readonly valueChange: EventEmitter<string | string[]>;
|
|
63
178
|
/**
|
|
64
179
|
* Toggle visual validation feedback.
|
|
@@ -66,6 +181,34 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
66
181
|
* @default undefined
|
|
67
182
|
*/
|
|
68
183
|
valid?: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Enable virtual scroller for options list.
|
|
186
|
+
* @type boolean
|
|
187
|
+
* @default false
|
|
188
|
+
*/
|
|
189
|
+
set virtualScroller(value: boolean);
|
|
190
|
+
get virtualScroller(): boolean;
|
|
191
|
+
private _virtualScroller;
|
|
192
|
+
/**
|
|
193
|
+
* Amount of visible options, if set - overwrites optionsMaxHeight
|
|
194
|
+
* @type number
|
|
195
|
+
* @default 8
|
|
196
|
+
*/
|
|
197
|
+
set visibleItems(value: number);
|
|
198
|
+
get visibleItems(): number;
|
|
199
|
+
private _visibleItems;
|
|
200
|
+
/**
|
|
201
|
+
* The size of the option item in the list (in pixels).
|
|
202
|
+
* @type number
|
|
203
|
+
* @default 40
|
|
204
|
+
*/
|
|
205
|
+
itemSize: number;
|
|
206
|
+
/**
|
|
207
|
+
* Min width of the options list (in pixels).
|
|
208
|
+
* @type number
|
|
209
|
+
* @default 196
|
|
210
|
+
*/
|
|
211
|
+
itemMinWidth: number;
|
|
69
212
|
/**
|
|
70
213
|
* Toggle the visibility of the dropdown select component.
|
|
71
214
|
* @type boolean
|
|
@@ -74,6 +217,10 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
74
217
|
set visible(value: boolean);
|
|
75
218
|
get visible(): boolean;
|
|
76
219
|
private _visible;
|
|
220
|
+
/**
|
|
221
|
+
* Emits visibleChange
|
|
222
|
+
* @type boolean
|
|
223
|
+
*/
|
|
77
224
|
readonly visibleChange: EventEmitter<boolean>;
|
|
78
225
|
/**
|
|
79
226
|
* Optional popper Options object
|
|
@@ -81,22 +228,25 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
81
228
|
*/
|
|
82
229
|
popperjsOptions: Partial<Options>;
|
|
83
230
|
isDropdownVisible: boolean;
|
|
84
|
-
|
|
85
|
-
get selectedOptions(): any[];
|
|
86
|
-
private _selectedOptions;
|
|
231
|
+
get selectedOptions(): IOption[];
|
|
87
232
|
get selectedOptionsText(): string;
|
|
88
233
|
get counterText(): string;
|
|
89
234
|
get counterTextType(): string;
|
|
90
|
-
private multiselectStateSubscription;
|
|
91
|
-
private multiselectVisibleSubscription;
|
|
92
|
-
private multiSelectOptionsSubscription;
|
|
93
235
|
private focusMonitorSubscription;
|
|
94
|
-
|
|
236
|
+
multiSelectOptionsContent: QueryList<MultiSelectOptionComponent>;
|
|
237
|
+
multiSelectOptionsView: QueryList<MultiSelectOptionComponent>;
|
|
238
|
+
scrollViewportView: QueryList<CdkVirtualScrollViewport>;
|
|
239
|
+
optionsElementRef: ElementRef;
|
|
240
|
+
protected scrollViewport: CdkVirtualScrollViewport;
|
|
241
|
+
protected templates: {
|
|
242
|
+
[id: string]: TemplateRef<any>;
|
|
243
|
+
};
|
|
244
|
+
contentTemplates: QueryList<TemplateIdDirective>;
|
|
95
245
|
private listKeyManager;
|
|
96
246
|
inputElement: ElementRef;
|
|
97
247
|
dropdownMenu: ElementRef;
|
|
98
|
-
dropdownToggle: ElementRef;
|
|
99
248
|
dropdown: ElementRef;
|
|
249
|
+
dropdownToggle: ElementRef;
|
|
100
250
|
get hostClasses(): {
|
|
101
251
|
disabled: boolean;
|
|
102
252
|
};
|
|
@@ -110,6 +260,7 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
110
260
|
'is-valid': boolean;
|
|
111
261
|
'is-invalid': boolean;
|
|
112
262
|
};
|
|
263
|
+
private get ariaMultiSelectable();
|
|
113
264
|
private get tabIndex();
|
|
114
265
|
private set tabIndex(value);
|
|
115
266
|
private _tabIndex;
|
|
@@ -117,34 +268,39 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
117
268
|
onKeyDown($event: KeyboardEvent): void;
|
|
118
269
|
onClick($event: MouseEvent): void;
|
|
119
270
|
visibleOptions: number;
|
|
120
|
-
set searchValue(value: string);
|
|
121
|
-
get searchValue(): string;
|
|
122
|
-
private _searchValue;
|
|
123
271
|
get subtreeFocused(): boolean;
|
|
124
|
-
set subtreeFocused(
|
|
272
|
+
set subtreeFocused(focused: boolean);
|
|
125
273
|
private _subtreeFocused;
|
|
126
274
|
private nativeSelectRef;
|
|
127
275
|
focusOrigin(origin: FocusOrigin): boolean;
|
|
128
276
|
ngOnInit(): void;
|
|
129
277
|
ngOnDestroy(): void;
|
|
130
278
|
ngOnChanges(changes: SimpleChanges): void;
|
|
131
|
-
|
|
279
|
+
makeOptions(options: IOption[]): void;
|
|
132
280
|
ngAfterViewInit(): void;
|
|
281
|
+
private tabTarget;
|
|
133
282
|
private multiselectSubscribe;
|
|
134
|
-
selectOptions(): void;
|
|
135
283
|
clearAllOptions($event?: MouseEvent): void;
|
|
136
284
|
selectAllOptions(): void;
|
|
137
|
-
handleTagRemove(
|
|
285
|
+
handleTagRemove(value: any): void;
|
|
138
286
|
setFocus(origin?: FocusOrigin, methodName?: string): void;
|
|
139
287
|
filterOptions(value: string): void;
|
|
140
288
|
createNativeSelect(): void;
|
|
141
289
|
updateNativeSelect(): void;
|
|
142
290
|
inputElementSize(): void;
|
|
143
291
|
handleSearchKeyDown($event: KeyboardEvent): void;
|
|
144
|
-
private selectOption;
|
|
145
|
-
private selectedOptionsUpdate;
|
|
146
292
|
private setFocusMonitor;
|
|
293
|
+
activeOption: (FocusableOption & MultiSelectOptionComponent) | null;
|
|
294
|
+
handleScrolledIndexChange(scrolledIndex: number, scrollViewport: CdkVirtualScrollViewport): void;
|
|
295
|
+
trackByFn(index: number, option: IOption): string;
|
|
296
|
+
handleSearchValueChange(searchValue: string): void;
|
|
297
|
+
private setVirtualScroller;
|
|
298
|
+
private setListKeyManager;
|
|
299
|
+
get firstFocusableItem(): MultiSelectOptionComponent | undefined;
|
|
300
|
+
private setFirstItemActive;
|
|
301
|
+
updateActiveItem(index: number): void;
|
|
302
|
+
updateActiveItem<T extends (MultiSelectOptionComponent & FocusableOption)>(item: T): void;
|
|
147
303
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "c-multi-select", ["cMultiSelect"], { "cleaner": "cleaner"; "disabled": "disabled"; "multiple": "multiple"; "
|
|
304
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "c-multi-select", ["cMultiSelect"], { "cleaner": "cleaner"; "disabled": "disabled"; "multiple": "multiple"; "nativeFormId": "nativeFormId"; "nativeId": "nativeId"; "nativeName": "nativeName"; "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"; "itemSize": "itemSize"; "itemMinWidth": "itemMinWidth"; "visible": "visible"; "popperjsOptions": "popperOptions"; }, { "searchValueChange": "searchValueChange"; "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, ["multiSelectOptionsContent", "contentTemplates"], ["*"], true, never>;
|
|
149
305
|
}
|
|
150
306
|
export {};
|
|
@@ -1,49 +1,98 @@
|
|
|
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
|
-
|
|
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
|
+
readonly elementRef: 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
|
+
/**
|
|
16
|
+
* Option style
|
|
17
|
+
* @type ('checkbox' | 'text')
|
|
18
|
+
* @default 'checkbox'
|
|
19
|
+
*/
|
|
15
20
|
optionsStyle: ('checkbox' | 'text');
|
|
21
|
+
/**
|
|
22
|
+
* Option label
|
|
23
|
+
* @type string
|
|
24
|
+
* @default undefined
|
|
25
|
+
*/
|
|
16
26
|
label?: string;
|
|
17
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Option inner text
|
|
29
|
+
* @type string
|
|
30
|
+
* @default undefined
|
|
31
|
+
*/
|
|
32
|
+
text?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Option visible.
|
|
35
|
+
* @type boolean
|
|
36
|
+
* @default true
|
|
37
|
+
*/
|
|
18
38
|
visible: boolean;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Option disabled.
|
|
41
|
+
* @type boolean
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
24
44
|
set disabled(value: boolean);
|
|
25
45
|
get disabled(): boolean;
|
|
26
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Option selected.
|
|
48
|
+
* @type boolean
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
27
51
|
set selected(value: (boolean | undefined));
|
|
28
52
|
get selected(): (boolean | undefined);
|
|
29
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Emits option selected change
|
|
55
|
+
* @type boolean
|
|
56
|
+
*/
|
|
57
|
+
readonly selectedChange: EventEmitter<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* Option value.
|
|
60
|
+
* @type string
|
|
61
|
+
* @default undefined
|
|
62
|
+
*/
|
|
63
|
+
set value(value: string);
|
|
64
|
+
get value(): string;
|
|
65
|
+
private contentDiv?;
|
|
66
|
+
hasContent: boolean;
|
|
67
|
+
set active(value: (boolean | undefined));
|
|
68
|
+
get active(): (boolean | undefined);
|
|
69
|
+
readonly focusChange: EventEmitter<MultiSelectOptionComponent>;
|
|
70
|
+
private get role();
|
|
30
71
|
get hostClasses(): {
|
|
31
72
|
[x: string]: boolean | undefined;
|
|
32
73
|
'form-multi-select-option': boolean;
|
|
33
74
|
'form-multi-selected': boolean | undefined;
|
|
34
75
|
disabled: boolean;
|
|
35
76
|
'd-none': boolean;
|
|
77
|
+
active: boolean | undefined;
|
|
78
|
+
focused: boolean;
|
|
36
79
|
};
|
|
37
80
|
private get tabIndex();
|
|
81
|
+
private set tabIndex(value);
|
|
38
82
|
private get ariaDisabled();
|
|
39
83
|
private get ariaSelected();
|
|
40
|
-
|
|
84
|
+
private set ariaSelected(value);
|
|
85
|
+
onKeyDown($event: KeyboardEvent): void;
|
|
86
|
+
private onBlur;
|
|
87
|
+
private onFocus;
|
|
88
|
+
private onKeyUp;
|
|
41
89
|
private onClick;
|
|
42
|
-
|
|
90
|
+
ngAfterViewInit(): void;
|
|
91
|
+
/** Get the label for this element which is required by the FocusableOption interface. */
|
|
43
92
|
getLabel(): string;
|
|
44
93
|
focus(origin?: FocusOrigin): void;
|
|
45
94
|
ngOnDestroy(): void;
|
|
46
|
-
|
|
95
|
+
private setSubscriptions;
|
|
47
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectOptionComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectOptionComponent, "c-multi-select-option",
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectOptionComponent, "c-multi-select-option", ["cMultiSelectOption"], { "optionsStyle": "optionsStyle"; "label": "label"; "text": "text"; "visible": "visible"; "disabled": "disabled"; "selected": "selected"; "value": "value"; "active": "active"; "role": "role"; }, { "selectedChange": "selectedChange"; "focusChange": "focusChange"; }, never, ["*"], true, never>;
|
|
49
98
|
}
|
|
@@ -7,11 +7,14 @@ export declare class MultiSelectTagComponent {
|
|
|
7
7
|
constructor(multiSelectService: MultiSelectService);
|
|
8
8
|
multiselectVisible$: import("rxjs").Observable<boolean>;
|
|
9
9
|
option?: IOption;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
value?: any;
|
|
10
13
|
remove: EventEmitter<IOption>;
|
|
11
14
|
get hostClasses(): {
|
|
12
15
|
'form-multi-select-tag': boolean;
|
|
13
16
|
};
|
|
14
|
-
handleRemove($event:
|
|
17
|
+
handleRemove($event: MouseEvent): void;
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectTagComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectTagComponent, "c-multi-select-tag", never, { "option": "option"; }, { "remove": "remove"; }, never,
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectTagComponent, "c-multi-select-tag", never, { "option": "option"; "disabled": "disabled"; "label": "label"; "value": "value"; }, { "remove": "remove"; }, never, never, true, never>;
|
|
17
20
|
}
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "../dropdown/dropdown.module";
|
|
7
|
-
import * as i6 from "./multi-select/multi-select.component";
|
|
8
|
-
import * as i7 from "./multi-select-option/multi-select-option.component";
|
|
9
|
-
import * as i8 from "./multi-select-optgroup/multi-select-optgroup.component";
|
|
10
|
-
import * as i9 from "./multi-select-optgroup/multi-select-optgroup-label.component";
|
|
11
|
-
import * as i10 from "./multi-select-tag/multi-select-tag.component";
|
|
12
|
-
import * as i11 from "./multi-select-native-select/multi-select-native-select.component";
|
|
2
|
+
import * as i1 from "./multi-select/multi-select.component";
|
|
3
|
+
import * as i2 from "./multi-select-option/multi-select-option.component";
|
|
4
|
+
import * as i3 from "./multi-select-optgroup/multi-select-optgroup.component";
|
|
5
|
+
import * as i4 from "./multi-select-optgroup/multi-select-optgroup-label.component";
|
|
13
6
|
export declare class MultiSelectModule {
|
|
14
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MultiSelectModule, never, [typeof i1.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MultiSelectModule, never, [typeof i1.MultiSelectComponent, typeof i2.MultiSelectOptionComponent, typeof i3.MultiSelectOptgroupComponent, typeof i4.MultiSelectOptgroupLabelComponent], [typeof i1.MultiSelectComponent, typeof i2.MultiSelectOptionComponent, typeof i3.MultiSelectOptgroupComponent, typeof i4.MultiSelectOptgroupLabelComponent]>;
|
|
16
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<MultiSelectModule>;
|
|
17
10
|
}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
+
import { MultiSelectOptionComponent } from './multi-select-option/multi-select-option.component';
|
|
1
4
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MultiSelectService {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
export declare class MultiSelectService implements OnDestroy {
|
|
6
|
+
#private;
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
optionsStyle: 'checkbox' | 'text';
|
|
9
|
+
selectionModel: SelectionModel<any>;
|
|
10
|
+
setSelectionModel(multiple?: boolean, initiallySelectedValues?: string[]): void;
|
|
11
|
+
private readonly multiSelectVisible;
|
|
12
|
+
readonly multiSelectVisible$: import("rxjs").Observable<boolean>;
|
|
9
13
|
toggleVisible(visible: boolean): void;
|
|
14
|
+
private readonly multiSelectFocus;
|
|
15
|
+
readonly multiSelectFocus$: import("rxjs").Observable<MultiSelectOptionComponent>;
|
|
16
|
+
focusChange(option: MultiSelectOptionComponent): void;
|
|
10
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectService, never>;
|
|
11
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<MultiSelectService>;
|
|
12
19
|
}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
export type SearchFn = ((option: IOption, searchValue: string) => boolean);
|
|
2
3
|
export interface IMultiSelect {
|
|
3
4
|
cleaner?: boolean;
|
|
4
5
|
multiple?: boolean;
|
|
5
|
-
options?:
|
|
6
|
+
options?: IOption[];
|
|
6
7
|
optionsMaxHeight?: (number | string | 'auto');
|
|
7
8
|
optionsStyle?: (string | 'checkbox' | 'text');
|
|
8
9
|
placeholder?: string;
|
|
9
|
-
search?: boolean;
|
|
10
|
+
search?: boolean | 'external' | SearchFn;
|
|
11
|
+
searchValue?: string;
|
|
12
|
+
searchValueChange?: EventEmitter<string>;
|
|
10
13
|
searchNoResultsLabel?: string;
|
|
11
14
|
selectAll?: boolean;
|
|
12
15
|
selectAllLabel?: string;
|
|
13
16
|
selectionType?: ('counter' | 'tags' | 'text');
|
|
14
17
|
selectionTypeCounterText?: string;
|
|
18
|
+
value?: string | string[];
|
|
19
|
+
valueChange?: EventEmitter<string | string[]>;
|
|
20
|
+
virtualScroller?: boolean;
|
|
21
|
+
visibleItems?: number;
|
|
15
22
|
visible?: boolean;
|
|
16
23
|
visibleChange?: EventEmitter<boolean>;
|
|
17
24
|
}
|
|
18
25
|
export type TOptions = IOption[];
|
|
19
26
|
export interface IOption {
|
|
20
27
|
disabled?: boolean;
|
|
28
|
+
id?: string;
|
|
21
29
|
label?: string;
|
|
22
30
|
options?: TOptions;
|
|
23
31
|
order?: number;
|
|
24
32
|
selected?: boolean;
|
|
25
33
|
text?: string;
|
|
26
|
-
value
|
|
34
|
+
value: string;
|
|
35
|
+
visible?: boolean;
|
|
27
36
|
}
|
|
28
37
|
export interface IMultiSelectOptions {
|
|
29
38
|
handleOptionClick?: (option: IOption) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { MultiSelectOptgroupLabelComponent } from './multi-select-optgroup/multi-select-optgroup-label.component';
|
|
2
2
|
export { MultiSelectOptgroupComponent } from './multi-select-optgroup/multi-select-optgroup.component';
|
|
3
3
|
export { MultiSelectOptionComponent } from './multi-select-option/multi-select-option.component';
|
|
4
|
-
export { MultiSelectTagComponent } from './multi-select-tag/multi-select-tag.component';
|
|
5
4
|
export { MultiSelectComponent } from './multi-select/multi-select.component';
|
|
6
5
|
export { MultiSelectModule } from './multi-select.module';
|
|
6
|
+
export { IOption, SearchFn } from './multi-select.type';
|
package/lib/nav/nav.module.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./nav.component";
|
|
4
|
-
import * as i3 from "./nav-
|
|
5
|
-
import * as i4 from "./nav-link.directive";
|
|
2
|
+
import * as i1 from "./nav.component";
|
|
3
|
+
import * as i2 from "./nav-item.component";
|
|
4
|
+
import * as i3 from "./nav-link.directive";
|
|
6
5
|
export declare class NavModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NavModule, never, [typeof i1.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NavModule, never, [typeof i1.NavComponent, typeof i2.NavItemComponent, typeof i3.NavLinkDirective], [typeof i1.NavComponent, typeof i2.NavItemComponent, typeof i3.NavLinkDirective]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<NavModule>;
|
|
10
9
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./navbar
|
|
4
|
-
import * as i3 from "./navbar.component";
|
|
5
|
-
import * as i4 from "./navbar-
|
|
6
|
-
import * as i5 from "./navbar-
|
|
7
|
-
import * as i6 from "./navbar-toggler/navbar-toggler.directive";
|
|
8
|
-
import * as i7 from "@angular/router";
|
|
2
|
+
import * as i1 from "./navbar-brand/navbar-brand.directive";
|
|
3
|
+
import * as i2 from "./navbar.component";
|
|
4
|
+
import * as i3 from "./navbar-nav/navbar-nav.component";
|
|
5
|
+
import * as i4 from "./navbar-text/navbar-text.component";
|
|
6
|
+
import * as i5 from "./navbar-toggler/navbar-toggler.directive";
|
|
9
7
|
export declare class NavbarModule {
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NavbarModule, never, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NavbarModule, never, [typeof i1.NavbarBrandDirective, typeof i2.NavbarComponent, typeof i3.NavbarNavComponent, typeof i4.NavbarTextComponent, typeof i5.NavbarTogglerDirective], [typeof i1.NavbarBrandDirective, typeof i2.NavbarComponent, typeof i3.NavbarNavComponent, typeof i4.NavbarTextComponent, typeof i5.NavbarTogglerDirective]>;
|
|
12
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<NavbarModule>;
|
|
13
11
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "./offcanvas-
|
|
5
|
-
import * as i4 from "./offcanvas/offcanvas.
|
|
6
|
-
import * as i5 from "./offcanvas-
|
|
7
|
-
import * as i6 from "./offcanvas-title/offcanvas-title.directive";
|
|
8
|
-
import * as i7 from "./offcanvas-toggle/offcanvas-toggle.directive";
|
|
2
|
+
import * as i1 from "./offcanvas-body/offcanvas-body.component";
|
|
3
|
+
import * as i2 from "./offcanvas/offcanvas.component";
|
|
4
|
+
import * as i3 from "./offcanvas-header/offcanvas-header.component";
|
|
5
|
+
import * as i4 from "./offcanvas-title/offcanvas-title.directive";
|
|
6
|
+
import * as i5 from "./offcanvas-toggle/offcanvas-toggle.directive";
|
|
9
7
|
export declare class OffcanvasModule {
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<OffcanvasModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OffcanvasModule, never, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OffcanvasModule, never, [typeof i1.OffcanvasBodyComponent, typeof i2.OffcanvasComponent, typeof i3.OffcanvasHeaderComponent, typeof i4.OffcanvasTitleDirective, typeof i5.OffcanvasToggleDirective], [typeof i1.OffcanvasBodyComponent, typeof i2.OffcanvasComponent, typeof i3.OffcanvasHeaderComponent, typeof i4.OffcanvasTitleDirective, typeof i5.OffcanvasToggleDirective]>;
|
|
12
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<OffcanvasModule>;
|
|
13
11
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./page-item/page-item.
|
|
4
|
-
import * as i3 from "./page-
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./pagination/pagination.component";
|
|
2
|
+
import * as i1 from "./page-item/page-item.component";
|
|
3
|
+
import * as i2 from "./page-item/page-item.directive";
|
|
4
|
+
import * as i3 from "./page-link/page-link.directive";
|
|
5
|
+
import * as i4 from "./pagination/pagination.component";
|
|
7
6
|
export declare class PaginationModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, never, [typeof i1.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, never, [typeof i1.PageItemComponent, typeof i2.PageItemDirective, typeof i3.PageLinkDirective, typeof i4.PaginationComponent], [typeof i1.PageItemComponent, typeof i2.PageItemDirective, typeof i3.PageLinkDirective, typeof i4.PaginationComponent]>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
|
|
11
10
|
}
|