@coreui/angular-pro 4.7.2 → 5.0.0-alpha.1
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/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 +10 -7
- package/esm2022/lib/avatar/avatar.module.mjs +4 -4
- package/esm2022/lib/backdrop/backdrop.service.mjs +55 -31
- package/esm2022/lib/backdrop/index.mjs +2 -0
- package/esm2022/lib/backdrop/public_api.mjs +2 -0
- 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 +37 -36
- 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 +3 -3
- package/esm2022/lib/header/header/header.component.mjs +3 -3
- package/esm2022/lib/header/header-brand/header-brand.component.mjs +3 -3
- package/esm2022/lib/header/header-divider/header-divider.component.mjs +3 -3
- package/esm2022/lib/header/header-nav/header-nav.component.mjs +3 -3
- package/esm2022/lib/header/header-text/header-text.component.mjs +3 -3
- package/esm2022/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
- package/esm2022/lib/header/header.module.mjs +4 -4
- package/esm2022/lib/image/img.directive.mjs +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 +88 -59
- 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 +16 -13
- 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 +3 -3
- package/esm2022/lib/multi-select/multi-select-option/multi-select-option.component.mjs +37 -36
- 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 +56 -61
- 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 +3 -3
- package/esm2022/lib/progress/progress.component.mjs +3 -3
- package/esm2022/lib/progress/progress.module.mjs +4 -4
- package/esm2022/lib/services/class-toggle.service.mjs +3 -3
- package/esm2022/lib/services/intersection.service.mjs +3 -3
- package/esm2022/lib/services/listeners.service.mjs +3 -3
- package/esm2022/lib/shared/html-attr.directive.mjs +3 -3
- package/esm2022/lib/shared/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/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.component.mjs +13 -4
- package/esm2022/lib/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/lib/sidebar/sidebar.service.mjs +3 -3
- package/esm2022/lib/smart-pagination/smart-pagination.component.mjs +3 -3
- package/esm2022/lib/smart-pagination/smart-pagination.module.mjs +4 -4
- package/esm2022/lib/smart-table/smart-table/smart-table.component.mjs +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/rounded.directive.mjs +3 -3
- package/esm2022/lib/utilities/text-color.directive.mjs +3 -3
- package/esm2022/lib/utilities/utilities.module.mjs +4 -4
- package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +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/esm2022/public-api.mjs +2 -1
- package/fesm2022/coreui-angular-pro.mjs +12446 -11687
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/avatar/avatar.component.d.ts +4 -3
- package/lib/backdrop/backdrop.service.d.ts +7 -10
- package/lib/backdrop/index.d.ts +1 -0
- package/lib/backdrop/public_api.d.ts +1 -0
- 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 +10 -14
- 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/modal/modal/modal.component.d.ts +13 -13
- package/lib/multi-select/multi-select/multi-select.component.d.ts +1 -2
- package/lib/multi-select/multi-select-option/multi-select-option.component.d.ts +8 -10
- 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 +14 -11
- 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/sidebar-nav/sidebar-nav.component.d.ts +5 -2
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +1 -0
- 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 +49 -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/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 +3 -2
- package/public-api.d.ts +1 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Colors, Shapes, Sizes, TextColors } from '../coreui.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../utilities/text-color.directive";
|
|
3
4
|
export declare class AvatarComponent {
|
|
4
5
|
/**
|
|
5
6
|
* Sets the background color context of the component to one of CoreUI’s themed colors.
|
|
@@ -28,13 +29,13 @@ export declare class AvatarComponent {
|
|
|
28
29
|
status?: Colors;
|
|
29
30
|
/**
|
|
30
31
|
* Sets the text color of the component to one of CoreUI’s themed colors.
|
|
31
|
-
*
|
|
32
|
-
* @
|
|
32
|
+
* via TextColorDirective
|
|
33
|
+
* @type TextColors
|
|
33
34
|
*/
|
|
34
35
|
textColor?: TextColors;
|
|
35
36
|
constructor();
|
|
36
37
|
get statusClass(): any;
|
|
37
38
|
get hostClasses(): any;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "c-avatar", never, { "color": { "alias": "color"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "status": { "alias": "status"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true,
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "c-avatar", never, { "color": { "alias": "color"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "status": { "alias": "status"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
40
41
|
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { RendererFactory2 } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class BackdropService {
|
|
4
|
-
private
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private renderer;
|
|
9
|
-
private unListen;
|
|
10
|
-
constructor(document: Document, rendererFactory: RendererFactory2);
|
|
11
|
-
get scrollbarWidth(): string;
|
|
3
|
+
#private;
|
|
4
|
+
readonly backdropClick$: import("rxjs").Observable<boolean>;
|
|
5
|
+
activeBackdrop: any;
|
|
6
|
+
scrollbarWidth: string;
|
|
12
7
|
setBackdrop(type?: string): any;
|
|
13
|
-
clearBackdrop(
|
|
8
|
+
clearBackdrop(backdropElement: any): any;
|
|
9
|
+
hideScrollbar(): void;
|
|
10
|
+
resetScrollbar(): void;
|
|
14
11
|
onClickHandler(): void;
|
|
15
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackdropService, never>;
|
|
16
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<BackdropService>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BackdropService } from './backdrop.service';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BadgePositions, Colors, Shapes } from '../coreui.types';
|
|
1
|
+
import { BadgePositions, Colors, Shapes, TextColors } from '../coreui.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../utilities/text-color.directive";
|
|
3
4
|
export declare class BadgeComponent {
|
|
4
5
|
/**
|
|
5
6
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
@@ -22,11 +23,12 @@ export declare class BadgeComponent {
|
|
|
22
23
|
size?: 'sm';
|
|
23
24
|
/**
|
|
24
25
|
* Sets the text color of the component to one of CoreUI’s themed colors.
|
|
26
|
+
* via TextColorDirective
|
|
25
27
|
* @type TextColors
|
|
26
28
|
*/
|
|
27
|
-
textColor?:
|
|
29
|
+
textColor?: TextColors;
|
|
28
30
|
constructor();
|
|
29
31
|
get hostClasses(): any;
|
|
30
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "c-badge", never, { "color": { "alias": "color"; "required": false; }; "position": { "alias": "position"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true,
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "c-badge", never, { "color": { "alias": "color"; "required": false; }; "position": { "alias": "position"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
32
34
|
}
|
|
@@ -3,11 +3,11 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { IBreadcrumbItem } from '../breadcrumb-item/breadcrumb-item';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BreadcrumbRouterService {
|
|
6
|
+
#private;
|
|
6
7
|
private router;
|
|
7
8
|
private route;
|
|
8
9
|
outlet: string;
|
|
9
10
|
breadcrumbs$: Observable<IBreadcrumbItem[]>;
|
|
10
|
-
private breadcrumbsBehaviorSubject;
|
|
11
11
|
constructor(router: Router, route: ActivatedRoute);
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbRouterService, never>;
|
|
13
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbRouterService>;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { ButtonDirective } from './button.directive';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../shared/theme.directive";
|
|
3
4
|
export declare class ButtonCloseDirective extends ButtonDirective {
|
|
4
5
|
/**
|
|
5
6
|
* Change the default color to white.
|
|
6
7
|
* @type boolean
|
|
8
|
+
* @deprecated 5.0.0. Use `cButtonClose.dark` instead.
|
|
7
9
|
*/
|
|
8
10
|
white: string | boolean;
|
|
9
11
|
get hostClasses(): any;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonCloseDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonCloseDirective, "[cButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true,
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonCloseDirective, "[cButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.ThemeDirective; inputs: { "dark": "dark"; }; outputs: {}; }]>;
|
|
12
14
|
static ngAcceptInputType_white: unknown;
|
|
13
15
|
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
2
|
-
import {
|
|
3
|
-
import { CalendarService, DateFilterType, DayFormatType, WeekdayFormatType } from '../calendar.service';
|
|
1
|
+
import { EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
3
|
+
import { CalendarService, DateFilterType, DayFormatType, SelectionType, WeekdayFormatType } from '../calendar.service';
|
|
4
4
|
import { CalendarMonthComponent } from '../calendar-month/calendar-month.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CalendarComponent implements OnInit
|
|
6
|
+
export declare class CalendarComponent implements OnInit {
|
|
7
|
+
#private;
|
|
7
8
|
private calendarService;
|
|
8
|
-
static ngAcceptInputType_navigation: BooleanInput;
|
|
9
|
-
static ngAcceptInputType_navYearFirst: BooleanInput;
|
|
10
|
-
static ngAcceptInputType_range: BooleanInput;
|
|
11
|
-
static ngAcceptInputType_selectAdjacentDays: BooleanInput;
|
|
12
9
|
constructor(calendarService: CalendarService);
|
|
13
10
|
/**
|
|
14
11
|
* Default date of the component
|
|
15
|
-
* @type
|
|
12
|
+
* @type Date | string
|
|
16
13
|
*/
|
|
17
14
|
set calendarDate(value: Date | string | number);
|
|
18
15
|
get calendarDate(): Date;
|
|
@@ -36,7 +33,7 @@ export declare class CalendarComponent implements OnInit, OnDestroy {
|
|
|
36
33
|
private _dayFormat;
|
|
37
34
|
/**
|
|
38
35
|
* Specify the list of dates that cannot be selected.
|
|
39
|
-
* @type
|
|
36
|
+
* @type Date[] | Date[][]
|
|
40
37
|
*/
|
|
41
38
|
set disabledDates(value: Date[] | Date[][]);
|
|
42
39
|
get disabledDates(): Date[] | Date[][];
|
|
@@ -50,7 +47,7 @@ export declare class CalendarComponent implements OnInit, OnDestroy {
|
|
|
50
47
|
_startDate: Date | null;
|
|
51
48
|
/**
|
|
52
49
|
* Initial selected to date (range).
|
|
53
|
-
* @type
|
|
50
|
+
* @type Date | null
|
|
54
51
|
*/
|
|
55
52
|
set endDate(value: Date | number | string | null | undefined);
|
|
56
53
|
get endDate(): Date | number | string | null | undefined;
|
|
@@ -82,13 +79,13 @@ export declare class CalendarComponent implements OnInit, OnDestroy {
|
|
|
82
79
|
* Max selectable date.
|
|
83
80
|
*/
|
|
84
81
|
set maxDate(value: Date | string | null | undefined);
|
|
85
|
-
get maxDate(): Date |
|
|
82
|
+
get maxDate(): Date | null;
|
|
86
83
|
private _maxDate;
|
|
87
84
|
/**
|
|
88
85
|
* Min selectable date.
|
|
89
86
|
*/
|
|
90
87
|
set minDate(value: Date | string | null | undefined);
|
|
91
|
-
get minDate(): Date |
|
|
88
|
+
get minDate(): Date | null;
|
|
92
89
|
private _minDate;
|
|
93
90
|
/**
|
|
94
91
|
* Show navigation.
|
|
@@ -136,14 +133,36 @@ export declare class CalendarComponent implements OnInit, OnDestroy {
|
|
|
136
133
|
* @default false
|
|
137
134
|
* @since 4.4.10
|
|
138
135
|
*/
|
|
139
|
-
selectAdjacentDays: boolean;
|
|
136
|
+
set selectAdjacentDays(value: boolean);
|
|
140
137
|
/**
|
|
141
138
|
* Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.
|
|
142
139
|
* @type boolean
|
|
143
140
|
* @default true
|
|
144
141
|
* @since 4.4.10
|
|
145
142
|
*/
|
|
146
|
-
showAdjacentDays: boolean;
|
|
143
|
+
set showAdjacentDays(value: boolean);
|
|
144
|
+
/**
|
|
145
|
+
* Specify the type of date selection as day, week, month, or year.
|
|
146
|
+
* @type 'day' | 'week' | 'month' | 'year'
|
|
147
|
+
* @default 'day'
|
|
148
|
+
* @since 5.0.0
|
|
149
|
+
*/
|
|
150
|
+
set selectionType(value: SelectionType);
|
|
151
|
+
get selectionType(): SelectionType;
|
|
152
|
+
/**
|
|
153
|
+
* Set whether to display week numbers in the calendar.
|
|
154
|
+
* @type boolean
|
|
155
|
+
* @default false
|
|
156
|
+
* @since 5.0.0
|
|
157
|
+
*/
|
|
158
|
+
set showWeekNumber(value: boolean);
|
|
159
|
+
/**
|
|
160
|
+
* Label displayed over week numbers in the calendar.
|
|
161
|
+
* @type string
|
|
162
|
+
* @default undefined
|
|
163
|
+
* @since 5.0.0
|
|
164
|
+
*/
|
|
165
|
+
set weekNumbersLabel(value: string | undefined);
|
|
147
166
|
calendarCellHover: EventEmitter<Date | null>;
|
|
148
167
|
calendarDateChange: EventEmitter<Date>;
|
|
149
168
|
endDateChange: EventEmitter<Date | null>;
|
|
@@ -152,12 +171,10 @@ export declare class CalendarComponent implements OnInit, OnDestroy {
|
|
|
152
171
|
set hoverDate(value: Date | null);
|
|
153
172
|
get hoverDate(): Date | null;
|
|
154
173
|
private _hoverDate;
|
|
155
|
-
private calendarStateSubscription;
|
|
156
174
|
get hostClasses(): any;
|
|
157
175
|
calendarMonths: QueryList<CalendarMonthComponent>;
|
|
158
|
-
ngOnDestroy(): void;
|
|
159
176
|
ngOnInit(): void;
|
|
160
|
-
calendarStateSubscribe(
|
|
177
|
+
calendarStateSubscribe(): void;
|
|
161
178
|
setCalendarPage(years: number, months?: number, setMonth?: number): void;
|
|
162
179
|
handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
|
|
163
180
|
/**
|
|
@@ -165,6 +182,16 @@ export declare class CalendarComponent implements OnInit, OnDestroy {
|
|
|
165
182
|
* @type void
|
|
166
183
|
*/
|
|
167
184
|
clearDates(): void;
|
|
185
|
+
handleFocusChange($event: FocusOrigin): void;
|
|
186
|
+
protected readonly getCalendarDate: (calendarDate: Date, order: number, view: "days" | "months" | "years") => Date;
|
|
168
187
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
|
169
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "c-calendar", ["cCalendar"], { "calendarDate": { "alias": "calendarDate"; "required": false; }; "calendars": { "alias": "calendars"; "required": false; }; "dayFormat": { "alias": "dayFormat"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; "range": { "alias": "range"; "required": false; }; "view": { "alias": "view"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "selectAdjacentDays": { "alias": "selectAdjacentDays"; "required": false; }; "showAdjacentDays": { "alias": "showAdjacentDays"; "required": false; }; }, { "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; "viewChange": "viewChange"; }, never, never, true, never>;
|
|
188
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "c-calendar", ["cCalendar"], { "calendarDate": { "alias": "calendarDate"; "required": false; }; "calendars": { "alias": "calendars"; "required": false; }; "dayFormat": { "alias": "dayFormat"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; "range": { "alias": "range"; "required": false; }; "view": { "alias": "view"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "selectAdjacentDays": { "alias": "selectAdjacentDays"; "required": false; }; "showAdjacentDays": { "alias": "showAdjacentDays"; "required": false; }; "selectionType": { "alias": "selectionType"; "required": false; }; "showWeekNumber": { "alias": "showWeekNumber"; "required": false; }; "weekNumbersLabel": { "alias": "weekNumbersLabel"; "required": false; }; }, { "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; "viewChange": "viewChange"; }, never, never, true, never>;
|
|
189
|
+
static ngAcceptInputType_calendars: unknown;
|
|
190
|
+
static ngAcceptInputType_firstDayOfWeek: unknown;
|
|
191
|
+
static ngAcceptInputType_navigation: unknown;
|
|
192
|
+
static ngAcceptInputType_navYearFirst: unknown;
|
|
193
|
+
static ngAcceptInputType_range: unknown;
|
|
194
|
+
static ngAcceptInputType_selectAdjacentDays: unknown;
|
|
195
|
+
static ngAcceptInputType_showAdjacentDays: unknown;
|
|
196
|
+
static ngAcceptInputType_showWeekNumber: unknown;
|
|
170
197
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CalendarClassRowPipe implements PipeTransform {
|
|
4
|
+
transform(week: {
|
|
5
|
+
weekNumber: number;
|
|
6
|
+
days: {
|
|
7
|
+
date: Date;
|
|
8
|
+
month: string;
|
|
9
|
+
}[];
|
|
10
|
+
}, datesConfig?: {
|
|
11
|
+
minDate: any;
|
|
12
|
+
maxDate: any;
|
|
13
|
+
disabledDates: any;
|
|
14
|
+
dateFilter: any;
|
|
15
|
+
calendarDate: any;
|
|
16
|
+
selectionType: any;
|
|
17
|
+
}): {
|
|
18
|
+
'calendar-row': boolean;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
};
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassRowPipe, never>;
|
|
22
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassRowPipe, "calendarClassRow", true>;
|
|
23
|
+
}
|
|
@@ -1,30 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CalendarDayDirective implements
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
private range;
|
|
15
|
-
private disabledDates;
|
|
16
|
-
private calendarStateSubscription;
|
|
17
|
-
private dateFilter;
|
|
18
|
-
private selectAdjacentDays;
|
|
19
|
-
private _dateObj?;
|
|
20
|
-
set dateObj(value: {
|
|
21
|
-
date: Date;
|
|
22
|
-
month: string;
|
|
23
|
-
});
|
|
24
|
-
get selectEndDate(): boolean;
|
|
4
|
+
export declare class CalendarDayDirective implements FocusableOption {
|
|
5
|
+
#private;
|
|
6
|
+
elementRef: ElementRef<any>;
|
|
7
|
+
focusMonitor: FocusMonitor;
|
|
8
|
+
constructor();
|
|
9
|
+
date: Date;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
month: string;
|
|
12
|
+
calendarDate: Date;
|
|
13
|
+
disabled$: import("@angular/core").Signal<boolean>;
|
|
25
14
|
get hostClasses(): any;
|
|
26
|
-
|
|
27
|
-
|
|
15
|
+
focus(origin?: FocusOrigin): void;
|
|
16
|
+
getLabel(): string;
|
|
28
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarDayDirective, "[cCalendarDay]",
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarDayDirective, "[cCalendarDay]", ["cCalendarDay"], { "date": { "alias": "date"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "month": { "alias": "month"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
static ngAcceptInputType_disabled: unknown;
|
|
30
20
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CalendarService, DateFilterType, DayFormatType, WeekdayFormatType } from '../calendar.service';
|
|
1
|
+
import { OnInit, QueryList, WritableSignal } from '@angular/core';
|
|
2
|
+
import { CalendarService, DateFilterType, DayFormatType, SelectionType, WeekdayFormatType } from '../calendar.service';
|
|
3
|
+
import { CalendarDayDirective } from './calendar-day.directive';
|
|
4
|
+
import { CalendarRowDirective } from './calendar-row.directive';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CalendarMonthComponent implements OnInit
|
|
6
|
+
export declare class CalendarMonthComponent implements OnInit {
|
|
7
|
+
#private;
|
|
5
8
|
private calendarService;
|
|
6
9
|
constructor(calendarService: CalendarService);
|
|
7
10
|
addMonths: number;
|
|
@@ -10,18 +13,18 @@ export declare class CalendarMonthComponent implements OnInit, OnDestroy {
|
|
|
10
13
|
* @type (Date | null)
|
|
11
14
|
*/
|
|
12
15
|
set startDate(value: Date | number | string | null | undefined);
|
|
13
|
-
get startDate(): Date |
|
|
16
|
+
get startDate(): Date | null;
|
|
14
17
|
_startDate: Date | null;
|
|
15
18
|
/**
|
|
16
19
|
* Initial selected to date (range).
|
|
17
|
-
* @type
|
|
20
|
+
* @type Date | null
|
|
18
21
|
*/
|
|
19
22
|
set endDate(value: Date | number | string | null | undefined);
|
|
20
23
|
get endDate(): Date | number | string | null | undefined;
|
|
21
24
|
_endDate: (Date | null);
|
|
22
25
|
/**
|
|
23
26
|
* Specify the list of dates that cannot be selected.
|
|
24
|
-
* @type
|
|
27
|
+
* @type Date[] | Date[][]
|
|
25
28
|
*/
|
|
26
29
|
set disabledDates(value: Date[] | Date[][]);
|
|
27
30
|
get disabledDates(): Date[] | Date[][];
|
|
@@ -36,22 +39,19 @@ export declare class CalendarMonthComponent implements OnInit, OnDestroy {
|
|
|
36
39
|
* - 5 - Friday,
|
|
37
40
|
* - 6 - Saturday,
|
|
38
41
|
*/
|
|
39
|
-
|
|
40
|
-
get firstDayOfWeek(): number;
|
|
41
|
-
private _firstDayOfWeek;
|
|
42
|
+
firstDayOfWeek: number;
|
|
42
43
|
/**
|
|
43
44
|
* Sets the default locale for components. If not set, it is inherited from the browser.
|
|
44
45
|
* @default 'default'
|
|
45
46
|
*/
|
|
46
47
|
set locale(value: string);
|
|
47
48
|
get locale(): string;
|
|
48
|
-
private _locale;
|
|
49
49
|
/**
|
|
50
50
|
* Allow range selection.
|
|
51
|
+
* @type boolean
|
|
52
|
+
* @default false
|
|
51
53
|
*/
|
|
52
|
-
|
|
53
|
-
get range(): boolean;
|
|
54
|
-
private _range;
|
|
54
|
+
range: boolean;
|
|
55
55
|
/**
|
|
56
56
|
* Set length or format of day name.
|
|
57
57
|
* @type number | 'long' | 'narrow' | 'short'
|
|
@@ -65,7 +65,6 @@ export declare class CalendarMonthComponent implements OnInit, OnDestroy {
|
|
|
65
65
|
*/
|
|
66
66
|
set view(value: "days" | "months" | "years");
|
|
67
67
|
get view(): "days" | "months" | "years";
|
|
68
|
-
private _view;
|
|
69
68
|
/**
|
|
70
69
|
* Max selectable date.
|
|
71
70
|
*/
|
|
@@ -78,26 +77,37 @@ export declare class CalendarMonthComponent implements OnInit, OnDestroy {
|
|
|
78
77
|
set minDate(value: Date | null);
|
|
79
78
|
get minDate(): Date | null;
|
|
80
79
|
private _minDate;
|
|
81
|
-
listOfMonths:
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
listOfMonths: import("@angular/core").Signal<{
|
|
81
|
+
year: number;
|
|
82
|
+
month: string;
|
|
83
|
+
}[][]>;
|
|
84
|
+
listOfYears: import("@angular/core").Signal<number[][]>;
|
|
84
85
|
/**
|
|
85
86
|
* Default date of the component
|
|
86
87
|
* @type Date
|
|
87
88
|
*/
|
|
88
89
|
set calendarDate(value: (Date | string | number));
|
|
89
90
|
get calendarDate(): Date;
|
|
90
|
-
|
|
91
|
+
calendarDate$$: WritableSignal<Date>;
|
|
92
|
+
calendarDays: QueryList<CalendarDayDirective>;
|
|
93
|
+
calendarRows: QueryList<CalendarRowDirective>;
|
|
91
94
|
dateFilter: DateFilterType;
|
|
92
95
|
get date(): Date;
|
|
93
96
|
dayFormat: DayFormatType;
|
|
94
97
|
selectAdjacentDays: boolean;
|
|
95
98
|
showAdjacentDays: boolean;
|
|
99
|
+
set selectionType(value: SelectionType);
|
|
100
|
+
get selectionType(): SelectionType;
|
|
101
|
+
showWeekNumber: boolean;
|
|
102
|
+
weekNumbersLabel: string;
|
|
96
103
|
private _monthDetails;
|
|
97
104
|
get monthDetails(): {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
105
|
+
weekNumber: number;
|
|
106
|
+
days: {
|
|
107
|
+
date: Date;
|
|
108
|
+
month: string;
|
|
109
|
+
}[];
|
|
110
|
+
}[];
|
|
101
111
|
get weekDays(): {
|
|
102
112
|
date: Date;
|
|
103
113
|
month: string;
|
|
@@ -108,16 +118,24 @@ export declare class CalendarMonthComponent implements OnInit, OnDestroy {
|
|
|
108
118
|
isDateDisabled(date: Date): boolean;
|
|
109
119
|
calendarCellTitle(date: Date): string;
|
|
110
120
|
handleCellMouseEnter(hoverDate: Date): void;
|
|
111
|
-
handleYearCellClick(year:
|
|
112
|
-
handleYearCellKeyUp($event: KeyboardEvent,
|
|
113
|
-
handleMonthCellKeyUp($event: KeyboardEvent,
|
|
114
|
-
handleMonthCellClick(
|
|
121
|
+
handleYearCellClick(year: number): void;
|
|
122
|
+
handleYearCellKeyUp($event: KeyboardEvent, date: Date): void;
|
|
123
|
+
handleMonthCellKeyUp($event: KeyboardEvent, date: Date): void;
|
|
124
|
+
handleMonthCellClick(value: Date): void;
|
|
115
125
|
setCalendarPage(years: number, months?: number, setMonth?: number): void;
|
|
126
|
+
handleDayCellKeyDown($event: KeyboardEvent, date: Date): void;
|
|
116
127
|
handleCellMouseLeave(): void;
|
|
117
128
|
handleDayCellKeyUp($event: KeyboardEvent, date: Date): void;
|
|
118
129
|
handleDayCellClick(date: Date): void;
|
|
119
|
-
calendarStateSubscribe(
|
|
120
|
-
|
|
130
|
+
calendarStateSubscribe(): void;
|
|
131
|
+
getMonthStart(index: number): Date;
|
|
132
|
+
getMonthEnd(index: number): Date;
|
|
133
|
+
protected readonly isDateInRangeDisabled: (startDate?: Date | null | undefined, endDate?: Date | null | undefined, dates?: (Date | Date[])[] | undefined) => boolean;
|
|
134
|
+
protected readonly isDateBetweenMinMax: (date: Date | null, min: Date | null, max: Date | null) => boolean;
|
|
135
|
+
getYearStart(year: number): Date;
|
|
136
|
+
getYearEnd(year: number): Date;
|
|
121
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthComponent, never>;
|
|
122
138
|
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthComponent, "c-calendar-month", ["cCalendarMonth"], { "addMonths": { "alias": "addMonths"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "range": { "alias": "range"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "view": { "alias": "view"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; }, {}, never, never, true, never>;
|
|
139
|
+
static ngAcceptInputType_firstDayOfWeek: unknown;
|
|
140
|
+
static ngAcceptInputType_range: unknown;
|
|
123
141
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CalendarRowDirective implements FocusableOption {
|
|
5
|
+
#private;
|
|
6
|
+
elementRef: ElementRef<any>;
|
|
7
|
+
focusMonitor: FocusMonitor;
|
|
8
|
+
constructor();
|
|
9
|
+
set week(value: {
|
|
10
|
+
weekNumber: number;
|
|
11
|
+
days: {
|
|
12
|
+
date: Date;
|
|
13
|
+
month: string;
|
|
14
|
+
}[];
|
|
15
|
+
});
|
|
16
|
+
get week(): {
|
|
17
|
+
weekNumber: number;
|
|
18
|
+
days: {
|
|
19
|
+
date: Date;
|
|
20
|
+
month: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
date: Date | null;
|
|
24
|
+
private startDate;
|
|
25
|
+
private endDate;
|
|
26
|
+
private hoverDate;
|
|
27
|
+
private maxDate;
|
|
28
|
+
private minDate;
|
|
29
|
+
private range;
|
|
30
|
+
private selectionType;
|
|
31
|
+
private disabledDates;
|
|
32
|
+
private dateFilter;
|
|
33
|
+
private calendarDate;
|
|
34
|
+
private locale;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
current: boolean;
|
|
37
|
+
get tabindex(): number;
|
|
38
|
+
get selectEndDate(): boolean;
|
|
39
|
+
get hostClasses(): any;
|
|
40
|
+
focus(origin?: FocusOrigin): void;
|
|
41
|
+
getLabel(): string;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarRowDirective, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarRowDirective, "[cCalendarRow]", ["cCalendarRow"], { "week": { "alias": "cCalendarRow"; "required": true; }; }, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import { CalendarService } from '../calendar.service';
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { CalendarService, SelectionType } from '../calendar.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
interface INavigationClick {
|
|
5
5
|
direction: ('prev' | 'next');
|
|
6
6
|
years: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare class CalendarNavigationComponent
|
|
8
|
+
export declare class CalendarNavigationComponent {
|
|
9
|
+
#private;
|
|
9
10
|
private calendarService;
|
|
10
11
|
constructor(calendarService: CalendarService);
|
|
11
12
|
addMonths: number;
|
|
@@ -16,14 +17,14 @@ export declare class CalendarNavigationComponent implements OnDestroy {
|
|
|
16
17
|
navYearFirst: boolean;
|
|
17
18
|
locale: string;
|
|
18
19
|
view: 'days' | 'months' | 'years';
|
|
20
|
+
selectionType: SelectionType;
|
|
19
21
|
navigationClick: EventEmitter<INavigationClick>;
|
|
20
|
-
private calendarStateSubscription;
|
|
21
22
|
get date(): Date;
|
|
22
23
|
get hostClasses(): any;
|
|
23
|
-
|
|
24
|
-
calendarStateSubscribe(subscribe?: boolean): void;
|
|
24
|
+
calendarStateSubscribe(): void;
|
|
25
25
|
setView(view: 'days' | 'months' | 'years'): void;
|
|
26
26
|
handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
|
|
27
|
+
handleNavigationKeyUp($event: KeyboardEvent, direction: 'prev' | 'next', years?: boolean): void;
|
|
27
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarNavigationComponent, never>;
|
|
28
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarNavigationComponent, "c-calendar-navigation", never, { "addMonths": { "alias": "addMonths"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; }, { "navigationClick": "navigationClick"; }, never, never, true, never>;
|
|
29
30
|
}
|
|
@@ -10,8 +10,9 @@ import * as i8 from "./calendar-month/calendar-month.component";
|
|
|
10
10
|
import * as i9 from "./calendar-month/calendar-day.pipe";
|
|
11
11
|
import * as i10 from "./calendar-month/calendar-weekday.pipe";
|
|
12
12
|
import * as i11 from "./calendar-month/calendar-day-title.pipe";
|
|
13
|
+
import * as i12 from "./calendar-month/calendar-class-row.pipe";
|
|
13
14
|
export declare class CalendarModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, never, [typeof i1.CalendarComponent, typeof i2.CalendarClassYearPipe, typeof i3.CalendarClassDayPipe, typeof i4.CalendarClassMonthPipe, typeof i5.CalendarDayDirective, typeof i6.CalendarClassViewPipe, typeof i7.CalendarNavigationComponent, typeof i8.CalendarMonthComponent, typeof i9.CalendarDayPipe, typeof i10.CalendarWeekdayPipe, typeof i11.CalendarDayTitlePipe], [typeof i1.CalendarComponent, typeof i8.CalendarMonthComponent, typeof i7.CalendarNavigationComponent]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, never, [typeof i1.CalendarComponent, typeof i2.CalendarClassYearPipe, typeof i3.CalendarClassDayPipe, typeof i4.CalendarClassMonthPipe, typeof i5.CalendarDayDirective, typeof i6.CalendarClassViewPipe, typeof i7.CalendarNavigationComponent, typeof i8.CalendarMonthComponent, typeof i9.CalendarDayPipe, typeof i10.CalendarWeekdayPipe, typeof i11.CalendarDayTitlePipe, typeof i12.CalendarClassRowPipe], [typeof i1.CalendarComponent, typeof i8.CalendarMonthComponent, typeof i7.CalendarNavigationComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<CalendarModule>;
|
|
17
18
|
}
|
|
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export type DateFilterType = (date: Date) => boolean;
|
|
4
4
|
export type DayFormatType = 'numeric' | '2-digit' | ((date: Date) => string | number);
|
|
5
5
|
export type WeekdayFormatType = number | 'long' | 'narrow' | 'short' | ((date: Date) => string | number);
|
|
6
|
+
export type SelectionType = 'day' | 'week' | 'month' | 'year';
|
|
6
7
|
export interface ICalendarState {
|
|
7
8
|
[key: string]: any;
|
|
8
9
|
calendarDate?: Date | null;
|
|
@@ -21,13 +22,16 @@ export interface ICalendarState {
|
|
|
21
22
|
navYearFirst?: boolean;
|
|
22
23
|
showAdjacentDays?: boolean;
|
|
23
24
|
selectAdjacentDays?: boolean;
|
|
25
|
+
selectionType?: SelectionType;
|
|
26
|
+
showWeekNumber?: boolean;
|
|
27
|
+
weekNumbersLabel?: string;
|
|
24
28
|
}
|
|
25
29
|
export declare class CalendarService {
|
|
26
30
|
private keyValueDiffers;
|
|
27
31
|
constructor(keyValueDiffers: KeyValueDiffers);
|
|
28
32
|
private readonly differ;
|
|
29
33
|
calendarStateObject: ICalendarState;
|
|
30
|
-
private calendarState;
|
|
34
|
+
private readonly calendarState;
|
|
31
35
|
calendarState$: import("rxjs").Observable<ICalendarState>;
|
|
32
36
|
update(state: ICalendarState): void;
|
|
33
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
|
|
@@ -1,22 +1,41 @@
|
|
|
1
|
+
import { SelectionType } from './calendar.service';
|
|
2
|
+
export declare const convertIsoWeekToDate: (isoWeek: string) => Date;
|
|
3
|
+
export declare const convertToDateObject: (date: Date | string, selectionType?: SelectionType) => Date;
|
|
1
4
|
export declare const convertToLocalDate: (d: Date, locale: string, options?: {}) => string;
|
|
2
5
|
export declare const convertToLocalTime: (d: Date, locale: string, options?: {}) => string;
|
|
3
|
-
export declare const createGroupsInArray: (arr:
|
|
6
|
+
export declare const createGroupsInArray: <T>(arr: T[], numberOfGroups: number) => T[][];
|
|
7
|
+
export declare const getCalendarDate: (calendarDate: Date, order: number, view: 'days' | 'months' | 'years') => Date;
|
|
4
8
|
export declare const getCurrentYear: () => number;
|
|
5
9
|
export declare const getCurrentMonth: () => number;
|
|
10
|
+
export declare const getDateBySelectionType: (date: Date | null, selectionType: SelectionType) => string | Date | null;
|
|
6
11
|
export declare const getLocalDateFromString: (string: string, locale: string, time?: boolean) => Date | undefined;
|
|
7
12
|
export declare const getMonthName: (month: number, locale: string) => string;
|
|
8
|
-
export declare const getMonthsNames: (locale: string) =>
|
|
13
|
+
export declare const getMonthsNames: (locale: string, year: number) => {
|
|
14
|
+
year: number;
|
|
15
|
+
month: string;
|
|
16
|
+
}[];
|
|
9
17
|
export declare const getYears: (year: number) => number[];
|
|
18
|
+
export declare const getDayNumber: (date: Date) => number;
|
|
19
|
+
export declare const getWeekNumber: (date: Date) => number;
|
|
10
20
|
export declare const getMonthDetails: (year: number, month: number, firstDayOfWeek: number) => {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
weekNumber: number;
|
|
22
|
+
days: {
|
|
23
|
+
date: Date;
|
|
24
|
+
month: string;
|
|
25
|
+
}[];
|
|
26
|
+
}[];
|
|
27
|
+
export declare const isDateDisabled: (date: Date | null, min?: Date | null, max?: Date | null, dates?: (Date | Date[])[]) => boolean;
|
|
15
28
|
export declare const isDateInRange: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
29
|
+
export declare const isYearInRange: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
30
|
+
export declare const isDateBetweenMinMax: (date: Date | null, min: Date | null, max: Date | null) => boolean;
|
|
16
31
|
export declare const isDateSelected: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
32
|
+
export declare const isMonthSelected: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
33
|
+
export declare const isYearSelected: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
17
34
|
export declare const isEndDate: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
18
35
|
export declare const isLastDayOfMonth: (date: Date) => boolean;
|
|
19
36
|
export declare const isSameDateAs: (date: Date, date2: Date) => boolean;
|
|
37
|
+
export declare const isSameMonthAs: (date: Date, date2: Date) => boolean;
|
|
38
|
+
export declare const isSameYearAs: (date: Date, date2: Date) => boolean;
|
|
20
39
|
export declare const isStartDate: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
21
40
|
export declare const isToday: (date: Date) => boolean;
|
|
22
41
|
export declare const isThisMonth: (date: Date, index: number) => boolean;
|