@coreui/angular-pro 4.7.11 → 5.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +2 -3
- 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 +3 -3
- 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 +12 -10
- package/esm2022/lib/avatar/avatar.module.mjs +4 -4
- package/esm2022/lib/backdrop/backdrop.service.mjs +4 -5
- package/esm2022/lib/badge/badge.component.mjs +10 -6
- 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 +9 -9
- package/esm2022/lib/breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2022/lib/button/button-close.directive.mjs +11 -5
- package/esm2022/lib/button/button.directive.mjs +3 -3
- 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 +150 -71
- package/esm2022/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +5 -4
- package/esm2022/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +5 -5
- package/esm2022/lib/calendar/calendar-month/calendar-class-row.pipe.mjs +26 -0
- 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 +102 -59
- package/esm2022/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-month.component.mjs +255 -92
- package/esm2022/lib/calendar/calendar-month/calendar-row.directive.mjs +117 -0
- package/esm2022/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +28 -24
- package/esm2022/lib/calendar/calendar.module.mjs +10 -7
- package/esm2022/lib/calendar/calendar.service.mjs +8 -5
- package/esm2022/lib/calendar/calendar.utils.mjs +100 -17
- 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 +12 -8
- package/esm2022/lib/card/card.module.mjs +4 -4
- package/esm2022/lib/carousel/carousel/carousel.component.mjs +19 -18
- 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/coreui.types.mjs +1 -1
- package/esm2022/lib/date-picker/date-picker.component.mjs +8 -12
- package/esm2022/lib/date-picker/date-picker.module.mjs +4 -4
- package/esm2022/lib/date-range-picker/date-range-picker/custom-range-key.pipe.mjs +3 -3
- package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +168 -163
- package/esm2022/lib/date-range-picker/date-range-picker.module.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +10 -23
- 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 +13 -5
- package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +77 -41
- package/esm2022/lib/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown.service.mjs +5 -5
- 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 +3 -3
- 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 +3 -3
- package/esm2022/lib/form/form-control/form-control.directive.mjs +3 -3
- package/esm2022/lib/form/form-feedback/form-feedback.component.mjs +3 -3
- package/esm2022/lib/form/form-floating/form-floating.directive.mjs +3 -3
- 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 +3 -3
- 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 +7 -7
- package/esm2022/lib/header/header/header.component.mjs +6 -6
- 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 +3 -3
- package/esm2022/lib/image/img.module.mjs +4 -4
- package/esm2022/lib/list-group/list-group-item.directive.mjs +3 -3
- package/esm2022/lib/list-group/list-group.directive.mjs +3 -3
- package/esm2022/lib/list-group/list-group.module.mjs +4 -4
- package/esm2022/lib/loading-button/loading-button.component.mjs +3 -3
- package/esm2022/lib/loading-button/loading-button.module.mjs +4 -4
- package/esm2022/lib/modal/modal/modal.component.mjs +4 -4
- 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 +33 -17
- 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 +5 -5
- package/esm2022/lib/multi-select/multi-select-option/multi-select-option.component.mjs +6 -6
- package/esm2022/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +5 -5
- package/esm2022/lib/multi-select/multi-select.module.mjs +4 -4
- package/esm2022/lib/multi-select/multi-select.service.mjs +3 -3
- package/esm2022/lib/nav/nav-item.component.mjs +3 -3
- package/esm2022/lib/nav/nav-link.directive.mjs +3 -3
- package/esm2022/lib/nav/nav.component.mjs +5 -5
- 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 +3 -3
- 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 +9 -13
- package/esm2022/lib/navbar/navbar.module.mjs +4 -4
- package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +10 -6
- 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 +3 -3
- package/esm2022/lib/placeholder/placeholder.directive.mjs +3 -3
- 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 +5 -5
- package/esm2022/lib/popover/popover.module.mjs +4 -4
- package/esm2022/lib/progress/progress-bar.component.mjs +22 -88
- package/esm2022/lib/progress/progress-bar.directive.mjs +112 -0
- package/esm2022/lib/progress/progress-stacked.component.mjs +19 -0
- package/esm2022/lib/progress/progress.component.mjs +27 -12
- package/esm2022/lib/progress/progress.module.mjs +19 -9
- package/esm2022/lib/progress/progress.type.mjs +2 -0
- package/esm2022/lib/progress/public_api.mjs +3 -1
- package/esm2022/lib/services/class-toggle.service.mjs +3 -3
- package/esm2022/lib/services/color-mode.service.mjs +79 -0
- package/esm2022/lib/services/in-memory-storage.service.mjs +33 -0
- package/esm2022/lib/services/intersection.service.mjs +3 -3
- package/esm2022/lib/services/listeners.service.mjs +3 -3
- package/esm2022/lib/services/local-storage.service.mjs +47 -0
- package/esm2022/lib/services/public_api.mjs +4 -1
- package/esm2022/lib/shared/html-attr.directive.mjs +3 -3
- package/esm2022/lib/shared/public_api.mjs +2 -1
- package/esm2022/lib/shared/shared.module.mjs +8 -15
- package/esm2022/lib/shared/template-id.directive.mjs +3 -3
- package/esm2022/lib/shared/theme.directive.mjs +44 -0
- package/esm2022/lib/sidebar/public_api.mjs +2 -2
- package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +6 -5
- 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 +8 -8
- 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 +23 -19
- 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.directive.mjs +39 -0
- package/esm2022/lib/sidebar/sidebar.module.mjs +10 -10
- 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 +90 -125
- 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-column-label.pipe.mjs +6 -14
- package/esm2022/lib/smart-table/smart-table-head/smart-table-head.component.mjs +48 -37
- 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/smart-table/smart-table.type.mjs +1 -1
- package/esm2022/lib/smart-table/smart-table.utils.mjs +181 -0
- 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 +3 -3
- package/esm2022/lib/table/table-color.directive.mjs +3 -3
- package/esm2022/lib/table/table.directive.mjs +3 -3
- 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 +5 -7
- 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 +16 -10
- package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +22 -15
- package/esm2022/lib/time-picker/time-picker.component.mjs +89 -115
- 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 +5 -5
- 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/public_api.mjs +4 -3
- package/esm2022/lib/utilities/rounded.directive.mjs +3 -3
- package/esm2022/lib/utilities/shadow-on-scroll.directive.mjs +48 -0
- package/esm2022/lib/utilities/text-color.directive.mjs +3 -3
- package/esm2022/lib/utilities/utilities.module.mjs +8 -32
- package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +5 -5
- package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +6 -6
- package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +17 -19
- package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +5 -5
- package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +5 -5
- package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +5 -5
- package/esm2022/lib/widget/widget.module.mjs +4 -4
- package/fesm2022/coreui-angular-pro.mjs +3149 -2179
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/avatar/avatar.component.d.ts +4 -3
- package/lib/badge/badge.component.d.ts +5 -3
- package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.d.ts +1 -1
- package/lib/button/button-close.directive.d.ts +3 -1
- package/lib/calendar/calendar/calendar.component.d.ts +46 -19
- package/lib/calendar/calendar-month/calendar-class-row.pipe.d.ts +23 -0
- package/lib/calendar/calendar-month/calendar-day.directive.d.ts +16 -26
- package/lib/calendar/calendar-month/calendar-month.component.d.ts +45 -27
- package/lib/calendar/calendar-month/calendar-row.directive.d.ts +44 -0
- package/lib/calendar/calendar-navigation/calendar-navigation.component.d.ts +7 -6
- package/lib/calendar/calendar.module.d.ts +2 -1
- package/lib/calendar/calendar.service.d.ts +5 -1
- package/lib/calendar/calendar.utils.d.ts +25 -6
- package/lib/card/card.component.d.ts +3 -1
- package/lib/carousel/carousel/carousel.component.d.ts +4 -8
- package/lib/coreui.types.d.ts +4 -1
- package/lib/date-picker/date-picker.component.d.ts +2 -2
- package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +75 -41
- package/lib/dropdown/dropdown/dropdown.component.d.ts +2 -9
- package/lib/dropdown/dropdown-item/dropdown-item.directive.d.ts +5 -1
- package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +13 -16
- package/lib/dropdown/dropdown.service.d.ts +0 -1
- package/lib/multi-select/multi-select/multi-select.component.d.ts +2 -4
- package/lib/nav/nav.component.d.ts +2 -2
- package/lib/navbar/navbar.component.d.ts +2 -5
- package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +2 -1
- package/lib/progress/progress-bar.component.d.ts +5 -46
- package/lib/progress/progress-bar.directive.d.ts +58 -0
- package/lib/progress/progress-stacked.component.d.ts +7 -0
- package/lib/progress/progress.component.d.ts +15 -6
- package/lib/progress/progress.module.d.ts +3 -1
- package/lib/progress/progress.type.d.ts +18 -0
- package/lib/progress/public_api.d.ts +3 -1
- package/lib/services/color-mode.service.d.ts +17 -0
- package/lib/services/in-memory-storage.service.d.ts +13 -0
- package/lib/services/local-storage.service.d.ts +18 -0
- package/lib/services/public_api.d.ts +3 -0
- package/lib/shared/public_api.d.ts +1 -0
- package/lib/shared/shared.module.d.ts +2 -1
- package/lib/shared/theme.directive.d.ts +19 -0
- package/lib/sidebar/public_api.d.ts +1 -1
- package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +5 -2
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.d.ts +9 -0
- package/lib/sidebar/sidebar.module.d.ts +2 -2
- package/lib/smart-table/smart-table/smart-table.component.d.ts +36 -51
- package/lib/smart-table/smart-table-head/smart-table-column-label.pipe.d.ts +0 -1
- package/lib/smart-table/smart-table-head/smart-table-head.component.d.ts +21 -11
- package/lib/smart-table/smart-table.type.d.ts +51 -34
- package/lib/smart-table/smart-table.utils.d.ts +29 -0
- package/lib/table/table.type.d.ts +5 -6
- package/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +2 -1
- package/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +3 -2
- package/lib/time-picker/time-picker.component.d.ts +17 -28
- package/lib/utilities/public_api.d.ts +3 -2
- package/lib/utilities/shadow-on-scroll.directive.d.ts +8 -0
- package/lib/utilities/utilities.module.d.ts +7 -6
- package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +1 -1
- package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +3 -3
- package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +15 -13
- package/lib/widget/widget-stat-e/widget-stat-e.component.d.ts +1 -1
- package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +1 -1
- package/package.json +4 -3
- package/esm2022/lib/progress/progress-bar.mjs +0 -2
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +0 -27
- package/lib/progress/progress-bar.d.ts +0 -10
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +0 -7
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Colors } from '../coreui.types';
|
|
2
|
+
import { IProgressBar } from './progress.type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProgressBarDirective implements IProgressBar {
|
|
5
|
+
#private;
|
|
6
|
+
constructor();
|
|
7
|
+
readonly percent: import("@angular/core").Signal<number>;
|
|
8
|
+
/**
|
|
9
|
+
* Use to animate the stripes right to left via CSS3 animations.
|
|
10
|
+
* @type boolean
|
|
11
|
+
*/
|
|
12
|
+
animated?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
15
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16
|
+
*/
|
|
17
|
+
color?: Colors;
|
|
18
|
+
precision: number;
|
|
19
|
+
/**
|
|
20
|
+
* The percent value the ProgressBar.
|
|
21
|
+
* @type number
|
|
22
|
+
* @default 0
|
|
23
|
+
*/
|
|
24
|
+
set value(value: number | undefined);
|
|
25
|
+
get value(): number | undefined;
|
|
26
|
+
set width(value: number | undefined);
|
|
27
|
+
/**
|
|
28
|
+
* Set the progress bar variant to optional striped.
|
|
29
|
+
* @values 'striped'
|
|
30
|
+
* @default undefined
|
|
31
|
+
*/
|
|
32
|
+
variant?: 'striped';
|
|
33
|
+
/**
|
|
34
|
+
* The max value of the ProgressBar.
|
|
35
|
+
* @type number
|
|
36
|
+
* @default 100
|
|
37
|
+
*/
|
|
38
|
+
set max(max: number);
|
|
39
|
+
/**
|
|
40
|
+
* Stacked ProgressBars.
|
|
41
|
+
* @type boolean
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
stacked?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Set default html role attribute.
|
|
47
|
+
* @type string
|
|
48
|
+
*/
|
|
49
|
+
role: string;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarDirective, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ProgressBarDirective, "[cProgressBar]", never, { "animated": { "alias": "animated"; "required": false; }; "color": { "alias": "color"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "value": { "alias": "value"; "required": false; }; "width": { "alias": "width"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "max": { "alias": "max"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
|
+
static ngAcceptInputType_animated: unknown;
|
|
53
|
+
static ngAcceptInputType_precision: unknown;
|
|
54
|
+
static ngAcceptInputType_value: unknown;
|
|
55
|
+
static ngAcceptInputType_width: unknown;
|
|
56
|
+
static ngAcceptInputType_max: unknown;
|
|
57
|
+
static ngAcceptInputType_stacked: unknown;
|
|
58
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IProgressBarStacked } from './progress.type';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProgressStackedComponent implements IProgressBarStacked {
|
|
4
|
+
stacked: boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressStackedComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressStackedComponent, "c-progress-stacked", never, { "stacked": { "alias": "stacked"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -1,24 +1,33 @@
|
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
|
+
import { IProgress } from './progress.type';
|
|
3
|
+
import { ProgressBarComponent } from './progress-bar.component';
|
|
4
|
+
import { ProgressBarDirective } from './progress-bar.directive';
|
|
1
5
|
import * as i0 from "@angular/core";
|
|
2
|
-
|
|
6
|
+
import * as i1 from "./progress-bar.directive";
|
|
7
|
+
export declare class ProgressComponent implements IProgress {
|
|
8
|
+
#private;
|
|
9
|
+
protected readonly pbd: ProgressBarDirective | null;
|
|
10
|
+
constructor();
|
|
11
|
+
contentProgressBars: QueryList<ProgressBarComponent>;
|
|
3
12
|
/**
|
|
4
13
|
* Sets the height of the component. If you set that value the inner `<CProgressBar>` will automatically resize accordingly.
|
|
5
14
|
* @type number
|
|
6
15
|
*/
|
|
7
|
-
height:
|
|
16
|
+
height: number;
|
|
8
17
|
/**
|
|
9
18
|
* Displays thin progress.
|
|
10
19
|
* @type boolean
|
|
11
20
|
*/
|
|
12
|
-
thin:
|
|
21
|
+
thin: boolean;
|
|
13
22
|
/**
|
|
14
23
|
* Change the default color to white.
|
|
15
24
|
* @type boolean
|
|
16
25
|
*/
|
|
17
|
-
white:
|
|
18
|
-
get hostClasses():
|
|
26
|
+
white: boolean;
|
|
27
|
+
get hostClasses(): Record<string, boolean>;
|
|
19
28
|
get hostStyle(): any;
|
|
20
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "c-progress", never, { "height": { "alias": "height"; "required": false; }; "thin": { "alias": "thin"; "required": false; }; "white": { "alias": "white"; "required": false; }; }, {},
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "c-progress", never, { "height": { "alias": "height"; "required": false; }; "thin": { "alias": "thin"; "required": false; }; "white": { "alias": "white"; "required": false; }; }, {}, ["contentProgressBars"], ["*"], true, [{ directive: typeof i1.ProgressBarDirective; inputs: { "animated": "animated"; "color": "color"; "max": "max"; "role": "role"; "value": "value"; "variant": "variant"; }; outputs: {}; }]>;
|
|
22
31
|
static ngAcceptInputType_height: unknown;
|
|
23
32
|
static ngAcceptInputType_thin: unknown;
|
|
24
33
|
static ngAcceptInputType_white: unknown;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./progress.component";
|
|
3
3
|
import * as i2 from "./progress-bar.component";
|
|
4
|
+
import * as i3 from "./progress-bar.directive";
|
|
5
|
+
import * as i4 from "./progress-stacked.component";
|
|
4
6
|
export declare class ProgressModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressModule, never, [typeof i1.ProgressComponent, typeof i2.ProgressBarComponent], [typeof i1.ProgressComponent, typeof i2.ProgressBarComponent]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressModule, never, [typeof i1.ProgressComponent, typeof i2.ProgressBarComponent, typeof i3.ProgressBarDirective, typeof i4.ProgressStackedComponent], [typeof i1.ProgressComponent, typeof i2.ProgressBarComponent, typeof i3.ProgressBarDirective, typeof i4.ProgressStackedComponent]>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressModule>;
|
|
8
10
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Colors } from '../coreui.types';
|
|
2
|
+
export interface IProgress {
|
|
3
|
+
height: number;
|
|
4
|
+
thin: boolean;
|
|
5
|
+
white: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface IProgressBar extends IProgressBarStacked {
|
|
8
|
+
animated?: boolean;
|
|
9
|
+
color?: Colors;
|
|
10
|
+
max?: number;
|
|
11
|
+
precision: number;
|
|
12
|
+
value?: number;
|
|
13
|
+
variant?: 'striped';
|
|
14
|
+
width?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface IProgressBarStacked {
|
|
17
|
+
stacked?: boolean;
|
|
18
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { IProgress, IProgressBar, IProgressBarStacked } from './progress.type';
|
|
2
2
|
export { ProgressComponent } from './progress.component';
|
|
3
|
+
export { ProgressStackedComponent } from './progress-stacked.component';
|
|
3
4
|
export { ProgressBarComponent } from './progress-bar.component';
|
|
5
|
+
export { ProgressBarDirective } from './progress-bar.directive';
|
|
4
6
|
export { ProgressModule } from './progress.module';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ColorModeService {
|
|
4
|
+
#private;
|
|
5
|
+
readonly eventName: WritableSignal<string>;
|
|
6
|
+
readonly localStorageItemName: WritableSignal<string>;
|
|
7
|
+
readonly localStorageItemName$: import("rxjs").Observable<string>;
|
|
8
|
+
readonly colorMode: WritableSignal<'light' | 'dark' | 'auto'>;
|
|
9
|
+
readonly colorModeEffect: import("@angular/core").EffectRef;
|
|
10
|
+
constructor();
|
|
11
|
+
getStoredTheme(localStorageItemName: string): any;
|
|
12
|
+
setStoredTheme(localStorageItemName: string, colorMode: string): void;
|
|
13
|
+
getPreferredColorScheme(localStorageItemName: string): any;
|
|
14
|
+
setTheme(colorMode: string): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorModeService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ColorModeService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class InMemoryStorageService implements Storage {
|
|
3
|
+
#private;
|
|
4
|
+
constructor();
|
|
5
|
+
setItem(key: string, data: any): void;
|
|
6
|
+
getItem(key: string): any;
|
|
7
|
+
removeItem(key: string): void;
|
|
8
|
+
clear(): void;
|
|
9
|
+
get length(): number;
|
|
10
|
+
key(index: number): string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InMemoryStorageService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InMemoryStorageService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LocalStorageService {
|
|
3
|
+
#private;
|
|
4
|
+
private platformId;
|
|
5
|
+
private document;
|
|
6
|
+
localStorage: Storage;
|
|
7
|
+
constructor(platformId: Object, document: Document);
|
|
8
|
+
data$: import("rxjs").Observable<{
|
|
9
|
+
key: string;
|
|
10
|
+
data: any;
|
|
11
|
+
} | null>;
|
|
12
|
+
setItem(key: string, data: any): void;
|
|
13
|
+
getItem(key: string): any;
|
|
14
|
+
removeItem(key: string): void;
|
|
15
|
+
clear(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
18
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { IntersectionService, IIntersectionObserverInit } from './intersection.service';
|
|
2
2
|
export { ListenersService, IListenersConfig } from './listeners.service';
|
|
3
3
|
export { ClassToggleService } from './class-toggle.service';
|
|
4
|
+
export { LocalStorageService } from './local-storage.service';
|
|
5
|
+
export { InMemoryStorageService } from './in-memory-storage.service';
|
|
6
|
+
export { ColorModeService } from './color-mode.service';
|
|
@@ -2,9 +2,10 @@ import { ModuleWithProviders } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./html-attr.directive";
|
|
4
4
|
import * as i2 from "./template-id.directive";
|
|
5
|
+
import * as i3 from "./theme.directive";
|
|
5
6
|
export declare class SharedModule {
|
|
6
7
|
static forRoot(): ModuleWithProviders<SharedModule>;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.HtmlAttributesDirective, typeof i2.TemplateIdDirective], [typeof i1.HtmlAttributesDirective, typeof i2.TemplateIdDirective]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.HtmlAttributesDirective, typeof i2.TemplateIdDirective, typeof i3.ThemeDirective], [typeof i1.HtmlAttributesDirective, typeof i2.TemplateIdDirective, typeof i3.ThemeDirective]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
10
11
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ThemeDirective {
|
|
3
|
+
#private;
|
|
4
|
+
/**
|
|
5
|
+
* Add dark theme attribute.
|
|
6
|
+
* @type 'dark' | 'light' | undefined
|
|
7
|
+
*/
|
|
8
|
+
set colorScheme(scheme: 'dark' | 'light' | undefined);
|
|
9
|
+
/**
|
|
10
|
+
* Add dark theme attribute.
|
|
11
|
+
* @type boolean
|
|
12
|
+
*/
|
|
13
|
+
set dark(darkTheme: boolean);
|
|
14
|
+
setTheme(theme?: string): void;
|
|
15
|
+
unsetTheme(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeDirective, "[cTheme]", never, { "colorScheme": { "alias": "colorScheme"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
static ngAcceptInputType_dark: unknown;
|
|
19
|
+
}
|
|
@@ -2,7 +2,7 @@ export { SidebarComponent } from './sidebar/sidebar.component';
|
|
|
2
2
|
export { SidebarService } from './sidebar.service';
|
|
3
3
|
export { SidebarBrandComponent } from './sidebar-brand/sidebar-brand.component';
|
|
4
4
|
export { SidebarToggleDirective } from './sidebar-toggle/sidebar-toggle.directive';
|
|
5
|
-
export {
|
|
5
|
+
export { SidebarTogglerDirective } from './sidebar-toggler/sidebar-toggler.directive';
|
|
6
6
|
export { SidebarHeaderComponent } from './sidebar-header/sidebar-header.component';
|
|
7
7
|
export { SidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';
|
|
8
8
|
export { SidebarNavComponent, INavData, SidebarNavHelper } from './sidebar-nav';
|
|
@@ -18,6 +18,7 @@ export declare class SidebarNavGroupComponent implements OnInit, OnDestroy {
|
|
|
18
18
|
item: any;
|
|
19
19
|
dropdownMode: 'path' | 'none' | 'close';
|
|
20
20
|
show?: boolean;
|
|
21
|
+
compact?: boolean;
|
|
21
22
|
get hostClasses(): any;
|
|
22
23
|
sidebarNav: ElementRef;
|
|
23
24
|
navigationEndObservable: Observable<NavigationEnd>;
|
|
@@ -34,7 +35,8 @@ export declare class SidebarNavGroupComponent implements OnInit, OnDestroy {
|
|
|
34
35
|
onAnimationStart($event: AnimationEvent): void;
|
|
35
36
|
onAnimationDone($event: AnimationEvent): void;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavGroupComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavGroupComponent, "c-sidebar-nav-group", never, { "item": { "alias": "item"; "required": false; }; "dropdownMode": { "alias": "dropdownMode"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavGroupComponent, "c-sidebar-nav-group", never, { "item": { "alias": "item"; "required": false; }; "dropdownMode": { "alias": "dropdownMode"; "required": false; }; "show": { "alias": "show"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
|
+
static ngAcceptInputType_compact: unknown;
|
|
38
40
|
}
|
|
39
41
|
export declare class SidebarNavComponent implements OnChanges {
|
|
40
42
|
sidebar: SidebarComponent;
|
|
@@ -49,11 +51,12 @@ export declare class SidebarNavComponent implements OnChanges {
|
|
|
49
51
|
groupItems?: boolean;
|
|
50
52
|
compact?: boolean;
|
|
51
53
|
get hostClasses(): any;
|
|
52
|
-
get sidebarNavGroupItemsClass(): boolean;
|
|
53
54
|
role: string;
|
|
54
55
|
navItemsArray: INavData[];
|
|
55
56
|
ngOnChanges(changes: SimpleChanges): void;
|
|
56
57
|
hideMobile(): void;
|
|
57
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavComponent, [{ optional: true; }, null, null, null, null, null]>;
|
|
58
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavComponent, "c-sidebar-nav", never, { "navItems": { "alias": "navItems"; "required": false; }; "dropdownMode": { "alias": "dropdownMode"; "required": false; }; "groupItems": { "alias": "groupItems"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
60
|
+
static ngAcceptInputType_groupItems: unknown;
|
|
61
|
+
static ngAcceptInputType_compact: unknown;
|
|
59
62
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../sidebar-toggle/sidebar-toggle.directive";
|
|
3
|
+
export declare class SidebarTogglerDirective {
|
|
4
|
+
role: string;
|
|
5
|
+
sidebarTogglerClass: boolean;
|
|
6
|
+
get getStyles(): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarTogglerDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarTogglerDirective, "[cSidebarToggler]", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.SidebarToggleDirective; inputs: { "cSidebarToggle": "cSidebarToggler"; "toggle": "toggle"; }; outputs: {}; }]>;
|
|
9
|
+
}
|
|
@@ -13,9 +13,9 @@ import * as i11 from "./sidebar-nav/sidebar-nav-link.component";
|
|
|
13
13
|
import * as i12 from "./sidebar-nav/sidebar-nav-link.pipe";
|
|
14
14
|
import * as i13 from "./sidebar-nav/sidebar-nav-title.component";
|
|
15
15
|
import * as i14 from "./sidebar-toggle/sidebar-toggle.directive";
|
|
16
|
-
import * as i15 from "./sidebar-toggler/sidebar-toggler.
|
|
16
|
+
import * as i15 from "./sidebar-toggler/sidebar-toggler.directive";
|
|
17
17
|
export declare class SidebarModule {
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SidebarModule, never, [typeof i1.SidebarComponent, typeof i2.SidebarBrandComponent, typeof i3.SidebarFooterComponent, typeof i4.SidebarHeaderComponent, typeof i5.SidebarNavComponent, typeof i6.SidebarNavBadgePipe, typeof i7.SidebarNavDividerComponent, typeof i5.SidebarNavGroupComponent, typeof i8.SidebarNavIconPipe, typeof i9.SidebarNavItemClassPipe, typeof i10.SidebarNavLabelComponent, typeof i11.SidebarNavLinkComponent, typeof i11.SidebarNavLinkContentComponent, typeof i12.SidebarNavLinkPipe, typeof i13.SidebarNavTitleComponent, typeof i14.SidebarToggleDirective, typeof i15.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SidebarModule, never, [typeof i1.SidebarComponent, typeof i2.SidebarBrandComponent, typeof i3.SidebarFooterComponent, typeof i4.SidebarHeaderComponent, typeof i5.SidebarNavComponent, typeof i6.SidebarNavBadgePipe, typeof i7.SidebarNavDividerComponent, typeof i5.SidebarNavGroupComponent, typeof i8.SidebarNavIconPipe, typeof i9.SidebarNavItemClassPipe, typeof i10.SidebarNavLabelComponent, typeof i11.SidebarNavLinkComponent, typeof i11.SidebarNavLinkContentComponent, typeof i12.SidebarNavLinkPipe, typeof i13.SidebarNavTitleComponent, typeof i14.SidebarToggleDirective, typeof i15.SidebarTogglerDirective], [typeof i1.SidebarComponent, typeof i14.SidebarToggleDirective, typeof i15.SidebarTogglerDirective, typeof i2.SidebarBrandComponent, typeof i5.SidebarNavComponent, typeof i4.SidebarHeaderComponent, typeof i3.SidebarFooterComponent]>;
|
|
20
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<SidebarModule>;
|
|
21
21
|
}
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, IterableDiffers, KeyValueDiffers, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
1
|
+
import { AfterContentInit, EventEmitter, IterableDiffers, KeyValueDiffers, OnChanges, QueryList, SimpleChanges, TemplateRef, WritableSignal } from '@angular/core';
|
|
3
2
|
import { BehaviorSubject } from 'rxjs';
|
|
4
3
|
import { ITable } from '../../table/table.type';
|
|
5
|
-
import { IColumn, IColumnFilter, IColumnFilterValue, IItem, IItemInternal, ISmartTable, ISorter, ISorterValue, ITableFilter,
|
|
4
|
+
import { IColumn, IColumnFilter, IColumnFilterValue, IGroup, IItem, IItemInternal, ISmartTable, ISorter, ISorterValue, ITableFilter, ITableSectionProps, ItemsPerPageSelect, SortOrder } from '../smart-table.type';
|
|
6
5
|
import { TemplateIdDirective } from '../../shared';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SmartTableComponent implements ISmartTable, AfterContentInit, OnChanges {
|
|
9
8
|
private iterableDiffers;
|
|
10
9
|
private keyValueDiffers;
|
|
11
|
-
static ngAcceptInputType_activePage: NumberInput;
|
|
12
|
-
static ngAcceptInputType_cleaner: BooleanInput;
|
|
13
|
-
static ngAcceptInputType_clickableRows: BooleanInput;
|
|
14
|
-
static ngAcceptInputType_footer: BooleanInput;
|
|
15
|
-
static ngAcceptInputType_header: BooleanInput;
|
|
16
|
-
static ngAcceptInputType_itemsPerPage: NumberInput;
|
|
17
|
-
static ngAcceptInputType_pagination: BooleanInput;
|
|
18
|
-
static ngAcceptInputType_selectable: BooleanInput;
|
|
19
10
|
constructor(iterableDiffers: IterableDiffers, keyValueDiffers: KeyValueDiffers);
|
|
11
|
+
readonly getColumnKey: (column: string | IColumn) => string;
|
|
12
|
+
readonly getTableDataCellClass: (column: IColumn, item: IItem) => {
|
|
13
|
+
[x: string]: boolean;
|
|
14
|
+
};
|
|
15
|
+
readonly getTableDataCellProps: (column: IColumn, item: IItem) => {};
|
|
16
|
+
readonly getTableDataCellStyles: (column: IColumn, item: IItem) => Partial<CSSStyleDeclaration>;
|
|
20
17
|
readonly selectedAllSubject: BehaviorSubject<boolean | "indeterminate">;
|
|
21
18
|
private readonly itemsDiffer;
|
|
22
19
|
private readonly itemsFilteredDiffer;
|
|
@@ -25,28 +22,23 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
25
22
|
set activePage(value: number);
|
|
26
23
|
get activePage(): number;
|
|
27
24
|
private _activePage;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
get columns(): (string | IColumn)[];
|
|
36
|
-
private _columns?;
|
|
25
|
+
cleaner: boolean;
|
|
26
|
+
clickableRows: boolean;
|
|
27
|
+
set columns(value: (string | IColumn | IGroup)[]);
|
|
28
|
+
get columns(): IColumn[];
|
|
29
|
+
columns$: WritableSignal<IColumn[]>;
|
|
30
|
+
columnGroups$: WritableSignal<IGroup[][]>;
|
|
31
|
+
showGroups$: import("@angular/core").Signal<boolean>;
|
|
37
32
|
columnFilter?: boolean | IColumnFilter;
|
|
38
33
|
set columnFilterValue(value: IColumnFilterValue);
|
|
39
34
|
get columnFilterValue(): IColumnFilterValue;
|
|
40
35
|
private _columnFilterValue;
|
|
41
36
|
columnSorter?: boolean | ISorter;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
private _footer;
|
|
45
|
-
set header(value: boolean);
|
|
46
|
-
get header(): boolean;
|
|
47
|
-
private _header;
|
|
37
|
+
footer: boolean;
|
|
38
|
+
header: boolean;
|
|
48
39
|
set items(value: IItem[]);
|
|
49
40
|
get items(): IItem[];
|
|
41
|
+
items$: WritableSignal<IItemInternal[]>;
|
|
50
42
|
private _items;
|
|
51
43
|
set itemsPerPage(value: number);
|
|
52
44
|
get itemsPerPage(): number;
|
|
@@ -56,15 +48,11 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
56
48
|
itemsPerPageSelect?: boolean | ItemsPerPageSelect;
|
|
57
49
|
loading?: boolean;
|
|
58
50
|
noItemsLabel: string | TemplateRef<any>;
|
|
59
|
-
|
|
60
|
-
get pagination(): boolean;
|
|
61
|
-
private _pagination;
|
|
51
|
+
pagination: boolean;
|
|
62
52
|
set selectable(value: boolean);
|
|
63
53
|
get selectable(): boolean;
|
|
64
54
|
private _selectable;
|
|
65
|
-
|
|
66
|
-
get selectAll(): boolean;
|
|
67
|
-
private _selectAll;
|
|
55
|
+
selectAll: boolean;
|
|
68
56
|
set sorterValue(value: ISorterValue);
|
|
69
57
|
get sorterValue(): ISorterValue;
|
|
70
58
|
private _sorterValue;
|
|
@@ -76,9 +64,9 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
76
64
|
set tableFilterValue(value: string);
|
|
77
65
|
get tableFilterValue(): string;
|
|
78
66
|
private _tableFilterValue;
|
|
79
|
-
tableBodyProps?:
|
|
80
|
-
tableFootProps?:
|
|
81
|
-
tableHeadProps?:
|
|
67
|
+
tableBodyProps?: ITableSectionProps;
|
|
68
|
+
tableFootProps?: ITableSectionProps;
|
|
69
|
+
tableHeadProps?: ITableSectionProps;
|
|
82
70
|
tableProps?: ITable;
|
|
83
71
|
readonly selectedItemsChange: EventEmitter<IItem[]>;
|
|
84
72
|
readonly sorterValueChange: EventEmitter<ISorterValue>;
|
|
@@ -108,9 +96,8 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
108
96
|
get firstItemOnActivePageIndex(): number;
|
|
109
97
|
get itemsOnActivePage(): IItemInternal[];
|
|
110
98
|
get currentItems(): IItemInternal[];
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
get itemsDataColumns(): string[];
|
|
99
|
+
rawColumnNames$: import("@angular/core").Signal<string[]>;
|
|
100
|
+
itemsDataColumns$: import("@angular/core").Signal<string[]>;
|
|
114
101
|
get sortedItems(): IItemInternal[];
|
|
115
102
|
get tableFilterEvent(): 'change' | 'input';
|
|
116
103
|
private _columnFiltered;
|
|
@@ -121,9 +108,10 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
121
108
|
handleSortChange($event: {
|
|
122
109
|
columnKey: string;
|
|
123
110
|
index: number;
|
|
111
|
+
order?: SortOrder;
|
|
124
112
|
}): void;
|
|
125
113
|
isSortable(i: number): boolean | undefined;
|
|
126
|
-
handleSorterChange(column: string, index: number): void;
|
|
114
|
+
handleSorterChange(column: string, index: number, order?: SortOrder): void;
|
|
127
115
|
setActivePage($event: number): void;
|
|
128
116
|
handleColumnFilterChange($event: any): void;
|
|
129
117
|
handleTableFilterChange($event: {
|
|
@@ -134,18 +122,6 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
134
122
|
handleItemsPerPageChange(value: number): void;
|
|
135
123
|
handleRowChecked($event: Event, item: IItemInternal): void;
|
|
136
124
|
handleSelectAllChange($event: any): void;
|
|
137
|
-
tableDataCellProps(item: IItem, colName: string): {
|
|
138
|
-
active?: boolean | undefined;
|
|
139
|
-
align?: "top" | "middle" | "bottom" | undefined;
|
|
140
|
-
color?: string | undefined;
|
|
141
|
-
_attributes?: {
|
|
142
|
-
[key: string]: any;
|
|
143
|
-
} | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
tableDataCellClasses(item: IItem, colName: string): string | string[] | Set<string> | {
|
|
146
|
-
[klass: string]: any;
|
|
147
|
-
} | undefined;
|
|
148
|
-
getColumnName($event: MouseEvent): string;
|
|
149
125
|
handleRowClick(param: {
|
|
150
126
|
$event: MouseEvent;
|
|
151
127
|
item: IItemInternal;
|
|
@@ -154,4 +130,13 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
154
130
|
ngOnChanges(changes: SimpleChanges): void;
|
|
155
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableComponent, never>;
|
|
156
132
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableComponent, "c-smart-table", ["cSmartTable"], { "activePage": { "alias": "activePage"; "required": false; }; "cleaner": { "alias": "cleaner"; "required": false; }; "clickableRows": { "alias": "clickableRows"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "columnFilter": { "alias": "columnFilter"; "required": false; }; "columnFilterValue": { "alias": "columnFilterValue"; "required": false; }; "columnSorter": { "alias": "columnSorter"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "header": { "alias": "header"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "itemsPerPageLabel": { "alias": "itemsPerPageLabel"; "required": false; }; "itemsPerPageOptions": { "alias": "itemsPerPageOptions"; "required": false; }; "itemsPerPageSelect": { "alias": "itemsPerPageSelect"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "noItemsLabel": { "alias": "noItemsLabel"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "sorterValue": { "alias": "sorterValue"; "required": false; }; "tableFilter": { "alias": "tableFilter"; "required": false; }; "tableFilterLabel": { "alias": "tableFilterLabel"; "required": false; }; "tableFilterPlaceholder": { "alias": "tableFilterPlaceholder"; "required": false; }; "tableFilterValue": { "alias": "tableFilterValue"; "required": false; }; "tableBodyProps": { "alias": "tableBodyProps"; "required": false; }; "tableFootProps": { "alias": "tableFootProps"; "required": false; }; "tableHeadProps": { "alias": "tableHeadProps"; "required": false; }; "tableProps": { "alias": "tableProps"; "required": false; }; }, { "selectedItemsChange": "selectedItemsChange"; "sorterValueChange": "sorterValueChange"; "activePageChange": "activePageChange"; "itemsPerPageChange": "itemsPerPageChange"; "rowClick": "rowClick"; "columnFilterValueChange": "columnFilterValueChange"; "filteredItemsChange": "filteredItemsChange"; "tableFilterValueChange": "tableFilterValueChange"; }, ["columnTemplates"], ["[customHeader]"], true, never>;
|
|
133
|
+
static ngAcceptInputType_activePage: unknown;
|
|
134
|
+
static ngAcceptInputType_cleaner: unknown;
|
|
135
|
+
static ngAcceptInputType_clickableRows: unknown;
|
|
136
|
+
static ngAcceptInputType_footer: unknown;
|
|
137
|
+
static ngAcceptInputType_header: unknown;
|
|
138
|
+
static ngAcceptInputType_itemsPerPage: unknown;
|
|
139
|
+
static ngAcceptInputType_pagination: unknown;
|
|
140
|
+
static ngAcceptInputType_selectable: unknown;
|
|
141
|
+
static ngAcceptInputType_selectAll: unknown;
|
|
157
142
|
}
|
|
@@ -3,7 +3,6 @@ import { IColumn } from '../smart-table.type';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SmartTableColumnLabelPipe implements PipeTransform {
|
|
5
5
|
transform(column: IColumn | string, ...args: unknown[]): unknown;
|
|
6
|
-
prettifyName(name: string): string;
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableColumnLabelPipe, never>;
|
|
8
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<SmartTableColumnLabelPipe, "columnLabel", true>;
|
|
9
8
|
}
|
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef, WritableSignal } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { IColumn, IColumnFilter, IColumnFilterValue, ISorter, ISorterValue } from '../smart-table.type';
|
|
3
|
+
import { IColumn, IColumnFilter, IColumnFilterValue, IGroup, ISorter, ISorterValue, SortOrder } from '../smart-table.type';
|
|
4
4
|
import { Colors } from '../../coreui.types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SmartTableHeadComponent implements OnInit {
|
|
7
7
|
#private;
|
|
8
8
|
constructor();
|
|
9
|
+
protected readonly getTableHeaderCellStyles: (column: IColumn, columnSorter: boolean | ISorter | undefined) => Partial<CSSStyleDeclaration>;
|
|
10
|
+
protected readonly getTableHeaderCellProps: (column: string | IColumn) => {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
protected readonly getTableHeaderCellClass: (column: IColumn) => {
|
|
14
|
+
[x: string]: boolean;
|
|
15
|
+
};
|
|
9
16
|
columnFilter?: boolean | IColumnFilter;
|
|
10
17
|
columnFilterState: IColumnFilterValue;
|
|
11
18
|
columnSorter?: boolean | ISorter;
|
|
12
19
|
component?: string;
|
|
13
|
-
columns
|
|
20
|
+
set columns(value: (IColumn | IGroup)[] | undefined);
|
|
21
|
+
get columns(): (IColumn | IGroup)[] | undefined;
|
|
22
|
+
set columnGroups(value: IGroup[][]);
|
|
23
|
+
columnGroups$: WritableSignal<IGroup[][]>;
|
|
14
24
|
selectable?: boolean;
|
|
15
|
-
|
|
16
|
-
get selectAll(): boolean;
|
|
25
|
+
selectAll: boolean;
|
|
17
26
|
set selectedAll(value: boolean | 'indeterminate');
|
|
18
27
|
get selectedAll(): boolean | 'indeterminate';
|
|
28
|
+
showGroups: boolean;
|
|
19
29
|
sorterValue?: ISorterValue;
|
|
20
30
|
set columnFilterTemplates(value: any);
|
|
21
31
|
get columnFilterTemplates(): any;
|
|
@@ -32,14 +42,11 @@ export declare class SmartTableHeadComponent implements OnInit {
|
|
|
32
42
|
tfoot: boolean;
|
|
33
43
|
};
|
|
34
44
|
ngOnInit(): void;
|
|
35
|
-
tableHeaderCellProps(column: IColumn | string): {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
38
45
|
tableHeaderCellColor(column: IColumn | string): Colors;
|
|
39
|
-
tableHeaderCellStyles(column: IColumn | string): any;
|
|
40
46
|
columnKey(column: IColumn | string): string;
|
|
41
47
|
getColumnSorterState(column: IColumn | string): string | number;
|
|
42
|
-
handleSortClick(column: IColumn | string, i: number): void;
|
|
48
|
+
handleSortClick(column: IColumn | string, i: number, order?: SortOrder): void;
|
|
49
|
+
handleSortKeyDown($event: KeyboardEvent, column: IColumn | string, i: number): void;
|
|
43
50
|
columnFilterEnabled(column: IColumn | string): boolean | ((column: import("../smart-table.type").IItem, value: string) => boolean);
|
|
44
51
|
columnSorterEnabled(column: IColumn | string): boolean | ((a: import("../smart-table.type").IItem, b: import("../smart-table.type").IItem) => number);
|
|
45
52
|
handleColumnFilterValueChange($event: {
|
|
@@ -51,6 +58,9 @@ export declare class SmartTableHeadComponent implements OnInit {
|
|
|
51
58
|
getColumnFilter(column: IColumn | string): string;
|
|
52
59
|
getColumnLabel(column: IColumn | string): string;
|
|
53
60
|
get columnFilterEvent(): 'change' | 'input';
|
|
61
|
+
getAriaSort(column: IColumn | string): "ascending" | "descending" | null;
|
|
54
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableHeadComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableHeadComponent, "c-smart-table-head", never, { "columnFilter": { "alias": "columnFilter"; "required": false; }; "columnFilterState": { "alias": "columnFilterState"; "required": false; }; "columnSorter": { "alias": "columnSorter"; "required": false; }; "component": { "alias": "component"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "selectedAll": { "alias": "selectedAll"; "required": false; }; "sorterValue": { "alias": "sorterValue"; "required": false; }; "columnFilterTemplates": { "alias": "columnFilterTemplates"; "required": false; }; "columnLabelTemplates": { "alias": "columnLabelTemplates"; "required": false; }; "summaryRowTemplate": { "alias": "summaryRowTemplate"; "required": false; }; }, { "columnFilterStateChange": "columnFilterStateChange"; "sorterStateChange": "sorterStateChange"; "selectAllChange": "selectAllChange"; }, never, never, true, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableHeadComponent, "c-smart-table-head", never, { "columnFilter": { "alias": "columnFilter"; "required": false; }; "columnFilterState": { "alias": "columnFilterState"; "required": false; }; "columnSorter": { "alias": "columnSorter"; "required": false; }; "component": { "alias": "component"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "columnGroups": { "alias": "columnGroups"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "selectedAll": { "alias": "selectedAll"; "required": false; }; "showGroups": { "alias": "showGroups"; "required": false; }; "sorterValue": { "alias": "sorterValue"; "required": false; }; "columnFilterTemplates": { "alias": "columnFilterTemplates"; "required": false; }; "columnLabelTemplates": { "alias": "columnLabelTemplates"; "required": false; }; "summaryRowTemplate": { "alias": "summaryRowTemplate"; "required": false; }; }, { "columnFilterStateChange": "columnFilterStateChange"; "sorterStateChange": "sorterStateChange"; "selectAllChange": "selectAllChange"; }, never, never, true, never>;
|
|
64
|
+
static ngAcceptInputType_selectAll: unknown;
|
|
65
|
+
static ngAcceptInputType_showGroups: unknown;
|
|
56
66
|
}
|