@coreui/angular-pro 5.1.0-next.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +3 -3
- package/esm2022/lib/avatar/avatar.module.mjs +4 -4
- package/esm2022/lib/backdrop/backdrop.service.mjs +3 -3
- package/esm2022/lib/badge/badge.component.mjs +3 -3
- package/esm2022/lib/badge/badge.module.mjs +4 -4
- package/esm2022/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2022/lib/button/button-close.directive.mjs +3 -3
- 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 +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-row.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day-title.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day.directive.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-month.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-row.directive.mjs +3 -3
- package/esm2022/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
- package/esm2022/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +3 -3
- package/esm2022/lib/calendar/calendar.module.mjs +4 -4
- package/esm2022/lib/calendar/calendar.service.mjs +3 -3
- package/esm2022/lib/callout/callout.component.mjs +3 -3
- package/esm2022/lib/callout/callout.module.mjs +4 -4
- package/esm2022/lib/card/card-body.component.mjs +3 -3
- package/esm2022/lib/card/card-footer.component.mjs +3 -3
- package/esm2022/lib/card/card-group.component.mjs +3 -3
- package/esm2022/lib/card/card-header-actions.component.mjs +3 -3
- package/esm2022/lib/card/card-header.component.mjs +3 -3
- package/esm2022/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
- package/esm2022/lib/card/card-img.directive.mjs +3 -3
- package/esm2022/lib/card/card-link.directive.mjs +3 -3
- package/esm2022/lib/card/card-subtitle.directive.mjs +3 -3
- package/esm2022/lib/card/card-text.directive.mjs +3 -3
- package/esm2022/lib/card/card-title.directive.mjs +3 -3
- package/esm2022/lib/card/card.component.mjs +3 -3
- package/esm2022/lib/card/card.module.mjs +4 -4
- package/esm2022/lib/carousel/carousel/carousel.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-state.mjs +3 -3
- package/esm2022/lib/carousel/carousel.config.mjs +3 -3
- package/esm2022/lib/carousel/carousel.module.mjs +4 -4
- package/esm2022/lib/carousel/carousel.service.mjs +3 -3
- package/esm2022/lib/collapse/collapse.directive.mjs +3 -3
- package/esm2022/lib/collapse/collapse.module.mjs +4 -4
- package/esm2022/lib/coreui.types.mjs +1 -1
- package/esm2022/lib/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/date-picker/date-picker.module.mjs +4 -4
- package/esm2022/lib/date-range-picker/date-range-picker/custom-range-key.pipe.mjs +3 -3
- package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2022/lib/date-range-picker/date-range-picker.module.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -3
- package/esm2022/lib/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown.service.mjs +3 -3
- package/esm2022/lib/element-cover/element-cover.component.mjs +3 -3
- package/esm2022/lib/element-cover/element-cover.module.mjs +4 -4
- package/esm2022/lib/footer/footer.component.mjs +3 -3
- package/esm2022/lib/footer/footer.module.mjs +4 -4
- package/esm2022/lib/form/form/form.directive.mjs +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 +3 -3
- package/esm2022/lib/modal/modal-body/modal-body.component.mjs +3 -3
- package/esm2022/lib/modal/modal-content/modal-content.component.mjs +3 -3
- package/esm2022/lib/modal/modal-dialog/modal-dialog.component.mjs +3 -3
- package/esm2022/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
- package/esm2022/lib/modal/modal-footer/modal-footer.component.mjs +3 -3
- package/esm2022/lib/modal/modal-header/modal-header.component.mjs +3 -3
- package/esm2022/lib/modal/modal-title/modal-title.directive.mjs +3 -3
- package/esm2022/lib/modal/modal.module.mjs +4 -4
- package/esm2022/lib/modal/modal.service.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select/multi-select-search.directive.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select/multi-select.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
- package/esm2022/lib/multi-select/multi-select.module.mjs +4 -4
- package/esm2022/lib/multi-select/multi-select.service.mjs +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 +3 -3
- package/esm2022/lib/nav/nav.module.mjs +4 -4
- package/esm2022/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
- package/esm2022/lib/navbar/navbar-nav/navbar-nav.component.mjs +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 +3 -3
- package/esm2022/lib/navbar/navbar.module.mjs +4 -4
- package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
- package/esm2022/lib/offcanvas/offcanvas.module.mjs +4 -4
- package/esm2022/lib/offcanvas/offcanvas.service.mjs +3 -3
- package/esm2022/lib/pagination/page-item/page-item.component.mjs +3 -3
- package/esm2022/lib/pagination/page-item/page-item.directive.mjs +3 -3
- package/esm2022/lib/pagination/page-link/page-link.directive.mjs +3 -3
- package/esm2022/lib/pagination/pagination/pagination.component.mjs +3 -3
- package/esm2022/lib/pagination/pagination.module.mjs +4 -4
- package/esm2022/lib/placeholder/placeholder-animation.directive.mjs +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 +3 -3
- package/esm2022/lib/popover/popover.module.mjs +4 -4
- package/esm2022/lib/progress/progress-bar.component.mjs +3 -3
- package/esm2022/lib/progress/progress-bar.directive.mjs +3 -3
- package/esm2022/lib/progress/progress-stacked.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/rating/rating-item-label/rating-item-label.component.mjs +40 -0
- package/esm2022/lib/rating/rating.component.mjs +224 -59
- package/esm2022/lib/rating/rating.module.mjs +4 -4
- package/esm2022/lib/services/class-toggle.service.mjs +3 -3
- package/esm2022/lib/services/color-mode.service.mjs +3 -3
- package/esm2022/lib/services/in-memory-storage.service.mjs +3 -3
- package/esm2022/lib/services/intersection.service.mjs +3 -3
- package/esm2022/lib/services/listeners.service.mjs +25 -14
- package/esm2022/lib/services/local-storage.service.mjs +3 -3
- package/esm2022/lib/shared/element-ref.directive.mjs +18 -0
- package/esm2022/lib/shared/html-attr.directive.mjs +3 -3
- package/esm2022/lib/shared/public_api.mjs +3 -2
- package/esm2022/lib/shared/shared.module.mjs +9 -8
- package/esm2022/lib/shared/template-id.directive.mjs +9 -9
- package/esm2022/lib/shared/theme.directive.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-group.service.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +6 -6
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +6 -6
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
- package/esm2022/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/lib/sidebar/sidebar.service.mjs +3 -3
- package/esm2022/lib/smart-pagination/smart-pagination.component.mjs +3 -3
- package/esm2022/lib/smart-pagination/smart-pagination.module.mjs +4 -4
- package/esm2022/lib/smart-table/smart-table/smart-table.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-filter/filter-input.directive.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-head/smart-table-column-label.pipe.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-head/smart-table-head.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +3 -3
- package/esm2022/lib/smart-table/smart-table.module.mjs +4 -4
- package/esm2022/lib/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/spinner/spinner.module.mjs +4 -4
- package/esm2022/lib/table/table-active.directive.mjs +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/tabs/tab-content/tab-content.component.mjs +3 -3
- package/esm2022/lib/tabs/tab-content-ref.directive.mjs +3 -3
- package/esm2022/lib/tabs/tab-pane/tab-pane.component.mjs +3 -3
- package/esm2022/lib/tabs/tab.service.mjs +3 -3
- package/esm2022/lib/tabs/tabs.module.mjs +4 -4
- package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +6 -6
- package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +6 -6
- package/esm2022/lib/time-picker/time-picker.component.mjs +3 -3
- package/esm2022/lib/time-picker/time-picker.module.mjs +4 -4
- package/esm2022/lib/toast/toast/toast.component.mjs +3 -3
- package/esm2022/lib/toast/toast-body/toast-body.component.mjs +3 -3
- package/esm2022/lib/toast/toast-close.directive.mjs +3 -3
- package/esm2022/lib/toast/toast-header/toast-header.component.mjs +3 -3
- package/esm2022/lib/toast/toast.module.mjs +4 -4
- package/esm2022/lib/toast/toaster/toaster-host.directive.mjs +3 -3
- package/esm2022/lib/toast/toaster/toaster.component.mjs +3 -3
- package/esm2022/lib/toast/toaster/toaster.service.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/tooltip/tooltip.directive.mjs +77 -81
- 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/shadow-on-scroll.directive.mjs +3 -3
- package/esm2022/lib/utilities/text-bg-color.directive.mjs +3 -3
- package/esm2022/lib/utilities/text-color.directive.mjs +3 -3
- package/esm2022/lib/utilities/utilities.module.mjs +4 -4
- package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +3 -3
- package/esm2022/lib/widget/widget.module.mjs +4 -4
- package/fesm2022/coreui-angular-pro.mjs +1192 -966
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/coreui.types.d.ts +1 -1
- package/lib/rating/rating-item-label/rating-item-label.component.d.ts +13 -0
- package/lib/rating/rating.component.d.ts +80 -7
- package/lib/services/listeners.service.d.ts +2 -3
- package/lib/shared/element-ref.directive.d.ts +7 -0
- package/lib/shared/public_api.d.ts +2 -1
- package/lib/shared/shared.module.d.ts +5 -4
- package/lib/shared/template-id.directive.d.ts +1 -2
- package/lib/tooltip/tooltip.directive.d.ts +30 -16
- package/package.json +3 -3
package/lib/coreui.types.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export type Alignment = 'baseline' | 'top' | 'middle' | 'bottom' | 'text-top' |
|
|
|
21
21
|
export type BadgePositions = 'top-start' | 'top-end' | 'bottom-end' | 'bottom-start' | string | undefined;
|
|
22
22
|
export type Placements = 'auto' | 'auto-start' | 'auto-end' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end' | undefined;
|
|
23
23
|
export type Shapes = 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string;
|
|
24
|
-
export type Triggers = 'hover' | 'focus' | 'click';
|
|
24
|
+
export type Triggers = 'hover' | 'focus' | 'click' | 'focusin';
|
|
25
25
|
export type Positions = 'fixed' | 'sticky';
|
|
26
26
|
export type InputType = 'button' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'checkbox' | 'radio';
|
|
27
27
|
export interface INavLinkProps {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RatingItemLabelComponent implements FocusableOption {
|
|
4
|
+
#private;
|
|
5
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly value: import("@angular/core").InputSignal<number>;
|
|
7
|
+
readonly focusable: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
+
focusableEffect: import("@angular/core").EffectRef;
|
|
9
|
+
focus(origin?: FocusOrigin): void;
|
|
10
|
+
getLabel(): string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingItemLabelComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RatingItemLabelComponent, "c-rating-item-label", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
}
|
|
@@ -1,31 +1,101 @@
|
|
|
1
1
|
import { InputSignalWithTransform } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { TemplateIdDirective } from '../shared';
|
|
4
|
+
import { RatingItemLabelComponent } from './rating-item-label/rating-item-label.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare const coerceStringArray: (value: string | string[]) => string[];
|
|
6
7
|
export declare const coerceRatingPrecision: (value: number | string) => number;
|
|
8
|
+
export declare const coerceNumber: (value: number | string | null) => number;
|
|
7
9
|
export declare class RatingComponent implements ControlValueAccessor {
|
|
8
10
|
#private;
|
|
9
|
-
|
|
11
|
+
/**
|
|
12
|
+
* The default icon to display when the item is selected.
|
|
13
|
+
* @type: string | string[]
|
|
14
|
+
*/
|
|
10
15
|
readonly activeIcon: InputSignalWithTransform<string[], string | string[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Enables the clearing upon clicking the selected item again.
|
|
18
|
+
* @type: boolean
|
|
19
|
+
* @default: false
|
|
20
|
+
*/
|
|
11
21
|
readonly allowClear: InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
/**
|
|
23
|
+
* Toggle the disabled state for the component.
|
|
24
|
+
* @type: boolean
|
|
25
|
+
* @default: false
|
|
26
|
+
*/
|
|
12
27
|
readonly disabled: InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
/**
|
|
29
|
+
* If enabled, only the currently selected icon will be visibly highlighted.
|
|
30
|
+
* @type: boolean
|
|
31
|
+
* @default: false
|
|
32
|
+
*/
|
|
13
33
|
readonly highlightOnlySelected: InputSignalWithTransform<boolean, unknown>;
|
|
34
|
+
/**
|
|
35
|
+
* The default icon to display when the item is not selected.
|
|
36
|
+
* @type: string | string[]
|
|
37
|
+
*/
|
|
14
38
|
readonly icon: InputSignalWithTransform<string[], string | string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the total number of stars to be displayed in the star rating component. This property determines the scale of the rating,
|
|
41
|
+
* such as out of 5 stars, 10 stars, etc.
|
|
42
|
+
* @type: number
|
|
43
|
+
* @default: 5
|
|
44
|
+
*/
|
|
15
45
|
readonly itemCount: InputSignalWithTransform<number, unknown>;
|
|
46
|
+
/**
|
|
47
|
+
* Minimum increment value change allowed.
|
|
48
|
+
* @type: number
|
|
49
|
+
* @default: 1
|
|
50
|
+
*/
|
|
16
51
|
readonly precision: InputSignalWithTransform<number, unknown>;
|
|
52
|
+
/**
|
|
53
|
+
* Allows to click fractions
|
|
54
|
+
* @type: boolean
|
|
55
|
+
* @default: false
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* Toggle the readonly state for the component.
|
|
59
|
+
* @type: boolean
|
|
60
|
+
* @default: false
|
|
61
|
+
*/
|
|
17
62
|
readonly readOnly: InputSignalWithTransform<boolean, unknown>;
|
|
63
|
+
/**
|
|
64
|
+
* Size the component small, large, or custom if you define custom icons with custom height.
|
|
65
|
+
* @type: 'sm' | 'lg' | 'custom' | undefined
|
|
66
|
+
* @default: undefined
|
|
67
|
+
*/
|
|
18
68
|
readonly size: import("@angular/core").InputSignal<"sm" | "lg" | "custom" | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Enable tooltips with default values or set specific labels for each icon.
|
|
71
|
+
* @type: boolean | string[] | undefined
|
|
72
|
+
* @default: undefined
|
|
73
|
+
*/
|
|
19
74
|
readonly tooltips: import("@angular/core").InputSignal<boolean | string[] | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* The `value` attribute of component.
|
|
77
|
+
* @type: number | null
|
|
78
|
+
* @default: null
|
|
79
|
+
* Emits `valueChange` on value change
|
|
80
|
+
*/
|
|
20
81
|
readonly value: import("@angular/core").ModelSignal<number | null>;
|
|
21
|
-
|
|
82
|
+
/**
|
|
83
|
+
* Event emitted on hoverValue change.
|
|
84
|
+
* @type: number | null
|
|
85
|
+
*/
|
|
22
86
|
readonly hoverValue: import("@angular/core").WritableSignal<number | null>;
|
|
87
|
+
readonly hoverValueChange: import("@angular/core").OutputEmitterRef<number | null>;
|
|
88
|
+
readonly hoverValueEffect: import("@angular/core").EffectRef;
|
|
89
|
+
readonly hoveredItem: import("@angular/core").WritableSignal<number | undefined>;
|
|
23
90
|
readonly tooltipValue: import("@angular/core").WritableSignal<string | number | null>;
|
|
24
91
|
readonly ratingDisabled: import("@angular/core").Signal<boolean>;
|
|
92
|
+
readonly ratingDisabledEffect: import("@angular/core").EffectRef;
|
|
25
93
|
readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
|
|
26
94
|
readonly iconTemplates: import("@angular/core").Signal<any>;
|
|
27
95
|
readonly numberOfSubItems: import("@angular/core").Signal<number>;
|
|
28
96
|
readonly ratingItems: import("@angular/core").Signal<number[][]>;
|
|
97
|
+
readonly ratingItemLabels: import("@angular/core").Signal<readonly RatingItemLabelComponent[]>;
|
|
98
|
+
readonly ratingItemLabelsEffect: import("@angular/core").EffectRef;
|
|
29
99
|
get hostClasses(): {
|
|
30
100
|
[x: string]: boolean | "sm" | "lg" | "custom" | undefined;
|
|
31
101
|
rating: boolean;
|
|
@@ -34,12 +104,13 @@ export declare class RatingComponent implements ControlValueAccessor {
|
|
|
34
104
|
};
|
|
35
105
|
get ariaValueNow(): number | null;
|
|
36
106
|
get ariaValueMax(): number;
|
|
37
|
-
|
|
107
|
+
get role(): string;
|
|
108
|
+
onKeydown($event: any): false | undefined;
|
|
38
109
|
onChange: (value: number | null) => void;
|
|
39
|
-
readonly valueEffect: import("@angular/core").EffectRef;
|
|
40
110
|
onTouched: () => void;
|
|
41
111
|
registerOnChange(fn: any): void;
|
|
42
112
|
registerOnTouched(fn: any): void;
|
|
113
|
+
setDisabledState(isDisabled: boolean): void;
|
|
43
114
|
writeValue(value: number | null): void;
|
|
44
115
|
isItemActive(value: number): boolean;
|
|
45
116
|
notLastItemStyle(value: number): {
|
|
@@ -49,10 +120,12 @@ export declare class RatingComponent implements ControlValueAccessor {
|
|
|
49
120
|
overflow: string;
|
|
50
121
|
opacity: number;
|
|
51
122
|
};
|
|
123
|
+
handleFocusIn($event: FocusEvent, itemValue: number): void;
|
|
52
124
|
handleClick(value: number): void;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
125
|
+
handleMouseEnter($event: MouseEvent, value: number): void;
|
|
126
|
+
getTooltipValue(index: number): string | undefined;
|
|
127
|
+
updateFocusableItems(): void;
|
|
128
|
+
readonly valueEffect: import("@angular/core").EffectRef;
|
|
56
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, never>;
|
|
57
130
|
static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "c-rating", ["cRating"], { "activeIcon": { "alias": "activeIcon"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "highlightOnlySelected": { "alias": "highlightOnlySelected"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "itemCount": { "alias": "itemCount"; "required": false; "isSignal": true; }; "precision": { "alias": "precision"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tooltips": { "alias": "tooltips"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "hoverValueChange": "hoverValueChange"; }, ["contentTemplates"], never, true, never>;
|
|
58
131
|
}
|
|
@@ -9,10 +9,9 @@ export interface IListenersConfig {
|
|
|
9
9
|
callbackToggle?: () => void;
|
|
10
10
|
}
|
|
11
11
|
export declare class ListenersService {
|
|
12
|
-
|
|
12
|
+
readonly renderer: Renderer2;
|
|
13
13
|
private listeners;
|
|
14
|
-
|
|
15
|
-
setListeners({ hostElement, trigger, callbackOn, callbackOff, callbackToggle }: IListenersConfig): void;
|
|
14
|
+
setListeners({ hostElement, trigger, callbackOn, callbackOff, callbackToggle, }: IListenersConfig): void;
|
|
16
15
|
clearListeners(): void;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListenersService, never>;
|
|
18
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<ListenersService>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ElementRefDirective {
|
|
4
|
+
readonly elementRef: ElementRef<any>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementRefDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ElementRefDirective, "[cElementRef]", ["cElementRef"], {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ElementRefDirective } from './element-ref.directive';
|
|
2
2
|
export { HtmlAttributesDirective } from './html-attr.directive';
|
|
3
3
|
export { TemplateIdDirective } from './template-id.directive';
|
|
4
4
|
export { ThemeDirective } from './theme.directive';
|
|
5
|
+
export { SharedModule } from './shared.module';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./
|
|
4
|
-
import * as i2 from "./
|
|
5
|
-
import * as i3 from "./
|
|
3
|
+
import * as i1 from "./element-ref.directive";
|
|
4
|
+
import * as i2 from "./html-attr.directive";
|
|
5
|
+
import * as i3 from "./template-id.directive";
|
|
6
|
+
import * as i4 from "./theme.directive";
|
|
6
7
|
export declare class SharedModule {
|
|
7
8
|
static forRoot(): ModuleWithProviders<SharedModule>;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.ElementRefDirective, typeof i2.HtmlAttributesDirective, typeof i3.TemplateIdDirective, typeof i4.ThemeDirective], [typeof i1.ElementRefDirective, typeof i2.HtmlAttributesDirective, typeof i3.TemplateIdDirective, typeof i4.ThemeDirective]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
11
12
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TemplateIdDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
4
|
+
readonly templateRef: TemplateRef<any>;
|
|
5
5
|
id: string;
|
|
6
|
-
constructor(templateRef: TemplateRef<any>);
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateIdDirective, never>;
|
|
8
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateIdDirective, "[cTemplateId]", never, { "id": { "alias": "cTemplateId"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
8
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Options } from '@popperjs/core';
|
|
3
3
|
import { Triggers } from '../coreui.types';
|
|
4
|
-
import { ListenersService } from '../services
|
|
5
|
-
import {
|
|
4
|
+
import { IntersectionService, ListenersService } from '../services';
|
|
5
|
+
import { ElementRefDirective } from '../shared';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TooltipDirective implements
|
|
7
|
+
export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewInit {
|
|
8
8
|
#private;
|
|
9
9
|
private document;
|
|
10
10
|
private renderer;
|
|
@@ -17,28 +17,44 @@ export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, A
|
|
|
17
17
|
* Content of tooltip
|
|
18
18
|
* @type {string | TemplateRef}
|
|
19
19
|
*/
|
|
20
|
-
readonly content: import("@angular/core").InputSignal<string | TemplateRef<any
|
|
20
|
+
readonly content: import("@angular/core").InputSignal<string | TemplateRef<any> | undefined>;
|
|
21
|
+
contentEffect: import("@angular/core").EffectRef;
|
|
21
22
|
/**
|
|
22
23
|
* Optional popper Options object, takes precedence over cPopoverPlacement prop
|
|
23
24
|
* @type Partial<Options>
|
|
24
25
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
readonly popperOptions: import("@angular/core").InputSignal<Partial<Options>>;
|
|
27
|
+
popperOptionsEffect: import("@angular/core").EffectRef;
|
|
28
|
+
popperOptionsComputed: import("@angular/core").Signal<{
|
|
29
|
+
placement: import("@popperjs/core").Placement;
|
|
30
|
+
modifiers?: Partial<import("@popperjs/core").Modifier<any, any>>[] | undefined;
|
|
31
|
+
strategy?: import("@popperjs/core").PositioningStrategy | undefined;
|
|
32
|
+
onFirstUpdate?: ((arg0: Partial<import("@popperjs/core").State>) => void) | undefined;
|
|
33
|
+
}>;
|
|
27
34
|
/**
|
|
28
35
|
* Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
|
|
36
|
+
* @type: 'top' | 'bottom' | 'left' | 'right'
|
|
37
|
+
* @default: 'top'
|
|
38
|
+
*/
|
|
39
|
+
readonly placement: import("@angular/core").InputSignal<"top" | "bottom" | "right" | "left">;
|
|
40
|
+
/**
|
|
41
|
+
* ElementRefDirective for positioning the tooltip on reference element
|
|
42
|
+
* @type: ElementRefDirective
|
|
43
|
+
* @default: undefined
|
|
29
44
|
*/
|
|
30
|
-
|
|
45
|
+
readonly reference: import("@angular/core").InputSignal<ElementRefDirective | undefined>;
|
|
46
|
+
readonly referenceRef: import("@angular/core").Signal<ElementRef<any>>;
|
|
31
47
|
/**
|
|
32
48
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
33
|
-
* @type
|
|
49
|
+
* @type: 'Triggers | Triggers[]
|
|
34
50
|
*/
|
|
35
|
-
trigger: Triggers | Triggers[]
|
|
51
|
+
readonly trigger: import("@angular/core").InputSignal<Triggers | Triggers[]>;
|
|
36
52
|
/**
|
|
37
53
|
* Toggle the visibility of tooltip component.
|
|
54
|
+
* @type boolean
|
|
38
55
|
*/
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
private _visible;
|
|
56
|
+
readonly visible: import("@angular/core").ModelSignal<boolean>;
|
|
57
|
+
visibleEffect: import("@angular/core").EffectRef;
|
|
42
58
|
get ariaDescribedBy(): string | null;
|
|
43
59
|
private tooltip;
|
|
44
60
|
private tooltipId;
|
|
@@ -46,9 +62,7 @@ export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, A
|
|
|
46
62
|
private popperInstance;
|
|
47
63
|
private _popperOptions;
|
|
48
64
|
constructor(document: Document, renderer: Renderer2, hostElement: ElementRef, viewContainerRef: ViewContainerRef, listenersService: ListenersService, changeDetectorRef: ChangeDetectorRef, intersectionService: IntersectionService);
|
|
49
|
-
contentEffect: import("@angular/core").EffectRef;
|
|
50
65
|
ngAfterViewInit(): void;
|
|
51
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
52
66
|
ngOnDestroy(): void;
|
|
53
67
|
ngOnInit(): void;
|
|
54
68
|
private setListeners;
|
|
@@ -60,5 +74,5 @@ export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, A
|
|
|
60
74
|
private addTooltipElement;
|
|
61
75
|
private removeTooltipElement;
|
|
62
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
63
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[cTooltip]", ["cTooltip"], { "content": { "alias": "cTooltip"; "required": false; "isSignal": true; }; "popperOptions": { "alias": "cTooltipOptions"; "required": false; }; "placement": { "alias": "cTooltipPlacement"; "required": false; }; "trigger": { "alias": "cTooltipTrigger"; "required": false; }; "visible": { "alias": "cTooltipVisible"; "required": false; }; }, {}, never, never, true, never>;
|
|
77
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[cTooltip]", ["cTooltip"], { "content": { "alias": "cTooltip"; "required": false; "isSignal": true; }; "popperOptions": { "alias": "cTooltipOptions"; "required": false; "isSignal": true; }; "placement": { "alias": "cTooltipPlacement"; "required": false; "isSignal": true; }; "reference": { "alias": "cTooltipRef"; "required": false; "isSignal": true; }; "trigger": { "alias": "cTooltipTrigger"; "required": false; "isSignal": true; }; "visible": { "alias": "cTooltipVisible"; "required": false; "isSignal": true; }; }, { "visible": "cTooltipVisibleChange"; }, never, never, true, never>;
|
|
64
78
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular-pro",
|
|
3
|
-
"version": "5.1.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "CoreUI Pro Components Library for Angular",
|
|
5
5
|
"copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"homepage": "https://coreui.io/angular",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"@angular/core": "^17.3.0",
|
|
29
29
|
"@angular/forms": "^17.3.0",
|
|
30
30
|
"@angular/router": "^17.3.0",
|
|
31
|
-
"@coreui/coreui-pro": "~5.1.0
|
|
32
|
-
"@coreui/icons-angular": "~5.
|
|
31
|
+
"@coreui/coreui-pro": "~5.1.0",
|
|
32
|
+
"@coreui/icons-angular": "~5.1.0",
|
|
33
33
|
"rxjs": "^7.8.1"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|