@mintplayer/ng-bootstrap 14.10.0 → 15.0.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/_bootstrap.scss +19 -20
- package/accordion/index.d.ts +1 -0
- package/accordion/src/accordion/accordion.component.d.ts +10 -0
- package/accordion/src/accordion-tab/accordion-tab.component.d.ts +17 -0
- package/accordion/src/accordion-tab-header/accordion-tab-header.component.d.ts +9 -0
- package/{lib/components/accordion → accordion/src}/accordion.module.d.ts +0 -0
- package/{lib/components/accordion → accordion/src}/index.d.ts +0 -0
- package/alert/index.d.ts +1 -0
- package/alert/src/alert/alert.component.d.ts +15 -0
- package/alert/src/alert-close/alert-close.component.d.ts +9 -0
- package/{lib/components/alert → alert/src}/alert.module.d.ts +0 -0
- package/{lib/components/alert → alert/src}/index.d.ts +0 -0
- package/badge/index.d.ts +1 -0
- package/badge/src/badge.component.d.ts +15 -0
- package/{lib/components/badge → badge/src}/badge.module.d.ts +0 -0
- package/{lib/components/badge → badge/src}/index.d.ts +0 -0
- package/breadcrumb/index.d.ts +1 -0
- package/breadcrumb/src/breadcrumb/breadcrumb.component.d.ts +8 -0
- package/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.d.ts +9 -0
- package/{lib/components/breadcrumb → breadcrumb/src}/breadcrumb.module.d.ts +0 -0
- package/{lib/components/breadcrumb → breadcrumb/src}/index.d.ts +0 -0
- package/button-group/index.d.ts +1 -0
- package/button-group/src/button-group/button-group.component.d.ts +8 -0
- package/{lib/components/button-group → button-group/src}/button-group.module.d.ts +0 -0
- package/{lib/components/button-group → button-group/src}/index.d.ts +0 -0
- package/calendar/index.d.ts +1 -0
- package/calendar/src/calendar.component.d.ts +26 -0
- package/calendar/src/calendar.module.d.ts +9 -0
- package/{lib/components/calendar → calendar/src}/index.d.ts +0 -0
- package/card/index.d.ts +1 -0
- package/card/src/card/card.component.d.ts +5 -0
- package/card/src/card-header/card-header.component.d.ts +5 -0
- package/{lib/components/card → card/src}/card.module.d.ts +0 -0
- package/{lib/components/card → card/src}/index.d.ts +0 -0
- package/carousel/index.d.ts +1 -0
- package/carousel/src/carousel/carousel.component.d.ts +25 -0
- package/carousel/src/carousel-image/carousel-image.directive.d.ts +9 -0
- package/{lib/components/carousel → carousel/src}/carousel.module.d.ts +0 -0
- package/{lib/components/carousel → carousel/src}/index.d.ts +0 -0
- package/close/index.d.ts +1 -0
- package/close/src/close.component.d.ts +10 -0
- package/{lib/components/close → close/src}/close.module.d.ts +0 -0
- package/{lib/components/close → close/src}/index.d.ts +0 -0
- package/code-snippet/index.d.ts +1 -0
- package/code-snippet/src/code-snippet.component.d.ts +12 -0
- package/code-snippet/src/code-snippet.module.d.ts +10 -0
- package/{lib/components/code-snippet → code-snippet/src}/index.d.ts +0 -0
- package/context-menu/index.d.ts +1 -0
- package/context-menu/src/context-menu.directive.d.ts +18 -0
- package/{lib/components/context-menu → context-menu/src}/context-menu.module.d.ts +0 -0
- package/{lib/components/context-menu → context-menu/src}/index.d.ts +0 -0
- package/copy/index.d.ts +1 -0
- package/copy/src/copy.directive.d.ts +11 -0
- package/{lib/components/copy → copy/src}/copy.module.d.ts +0 -0
- package/{lib/components/copy → copy/src}/index.d.ts +0 -0
- package/datatable/index.d.ts +1 -0
- package/datatable/src/datatable/datatable.component.d.ts +16 -0
- package/{lib/components/datatable → datatable/src}/datatable-column/datatable-column-metadata.d.ts +0 -0
- package/datatable/src/datatable-column/datatable-column.directive.d.ts +10 -0
- package/datatable/src/datatable-column/index.d.ts +2 -0
- package/datatable/src/datatable-settings.d.ts +15 -0
- package/datatable/src/datatable.module.d.ts +10 -0
- package/datatable/src/index.d.ts +4 -0
- package/datepicker/index.d.ts +1 -0
- package/datepicker/src/datepicker.component.d.ts +14 -0
- package/datepicker/src/datepicker.module.d.ts +10 -0
- package/{lib/components/datepicker → datepicker/src}/index.d.ts +0 -0
- package/dropdown/index.d.ts +1 -0
- package/dropdown/src/dropdown/dropdown.directive.d.ts +22 -0
- package/dropdown/src/dropdown-menu/dropdown-menu.directive.d.ts +23 -0
- package/dropdown/src/dropdown-toggle/dropdown-toggle.directive.d.ts +11 -0
- package/{lib/components/dropdown → dropdown/src}/dropdown.module.d.ts +0 -0
- package/{lib/components/dropdown → dropdown/src}/index.d.ts +0 -0
- package/dropdown-menu/index.d.ts +1 -0
- package/dropdown-menu/src/dropdown-item/dropdown-item.component.d.ts +7 -0
- package/dropdown-menu/src/dropdown-menu/dropdown-menu.component.d.ts +14 -0
- package/dropdown-menu/src/dropdown-menu.module.d.ts +9 -0
- package/dropdown-menu/src/index.d.ts +3 -0
- package/enhanced-paste/index.d.ts +1 -0
- package/enhanced-paste/src/enhanced-paste.directive.d.ts +14 -0
- package/{lib/directives/enhanced-paste → enhanced-paste/src}/enhanced-paste.module.d.ts +0 -0
- package/enhanced-paste/src/index.d.ts +2 -0
- package/esm2020/accordion/index.mjs +2 -0
- package/esm2020/accordion/mintplayer-ng-bootstrap-accordion.mjs +5 -0
- package/esm2020/accordion/src/accordion/accordion.component.mjs +21 -0
- package/esm2020/accordion/src/accordion-tab/accordion-tab.component.mjs +63 -0
- package/esm2020/accordion/src/accordion-tab-header/accordion-tab-header.component.mjs +20 -0
- package/esm2020/accordion/src/accordion.module.mjs +34 -0
- package/esm2020/accordion/src/index.mjs +5 -0
- package/esm2020/alert/index.mjs +2 -0
- package/esm2020/alert/mintplayer-ng-bootstrap-alert.mjs +5 -0
- package/esm2020/alert/src/alert/alert.component.mjs +41 -0
- package/esm2020/alert/src/alert-close/alert-close.component.mjs +20 -0
- package/esm2020/alert/src/alert.module.mjs +27 -0
- package/esm2020/alert/src/index.mjs +4 -0
- package/esm2020/badge/index.mjs +2 -0
- package/esm2020/badge/mintplayer-ng-bootstrap-badge.mjs +5 -0
- package/esm2020/badge/src/badge.component.mjs +30 -0
- package/esm2020/badge/src/badge.module.mjs +18 -0
- package/esm2020/badge/src/index.mjs +3 -0
- package/esm2020/breadcrumb/index.mjs +2 -0
- package/esm2020/breadcrumb/mintplayer-ng-bootstrap-breadcrumb.mjs +5 -0
- package/esm2020/breadcrumb/src/breadcrumb/breadcrumb.component.mjs +13 -0
- package/esm2020/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.mjs +18 -0
- package/esm2020/breadcrumb/src/breadcrumb.module.mjs +19 -0
- package/esm2020/breadcrumb/src/index.mjs +4 -0
- package/esm2020/button-group/index.mjs +2 -0
- package/esm2020/button-group/mintplayer-ng-bootstrap-button-group.mjs +5 -0
- package/esm2020/button-group/src/button-group/button-group.component.mjs +13 -0
- package/esm2020/button-group/src/button-group.module.mjs +18 -0
- package/esm2020/button-group/src/index.mjs +3 -0
- package/esm2020/calendar/index.mjs +2 -0
- package/esm2020/calendar/mintplayer-ng-bootstrap-calendar.mjs +5 -0
- package/esm2020/calendar/src/calendar.component.mjs +103 -0
- package/esm2020/calendar/src/calendar.module.mjs +37 -0
- package/esm2020/calendar/src/index.mjs +3 -0
- package/esm2020/card/index.mjs +2 -0
- package/esm2020/card/mintplayer-ng-bootstrap-card.mjs +5 -0
- package/esm2020/card/src/card/card.component.mjs +11 -0
- package/esm2020/card/src/card-header/card-header.component.mjs +11 -0
- package/esm2020/card/src/card.module.mjs +27 -0
- package/esm2020/card/src/index.mjs +4 -0
- package/esm2020/carousel/index.mjs +2 -0
- package/esm2020/carousel/mintplayer-ng-bootstrap-carousel.mjs +5 -0
- package/esm2020/carousel/src/carousel/carousel.component.mjs +103 -0
- package/esm2020/carousel/src/carousel-image/carousel-image.directive.mjs +17 -0
- package/esm2020/carousel/src/carousel.module.mjs +29 -0
- package/esm2020/carousel/src/index.mjs +4 -0
- package/esm2020/close/index.mjs +2 -0
- package/esm2020/close/mintplayer-ng-bootstrap-close.mjs +5 -0
- package/esm2020/close/src/close.component.mjs +21 -0
- package/esm2020/close/src/close.module.mjs +18 -0
- package/esm2020/close/src/index.mjs +3 -0
- package/esm2020/code-snippet/index.mjs +2 -0
- package/esm2020/code-snippet/mintplayer-ng-bootstrap-code-snippet.mjs +5 -0
- package/esm2020/code-snippet/src/code-snippet.component.mjs +28 -0
- package/esm2020/code-snippet/src/code-snippet.module.mjs +32 -0
- package/esm2020/code-snippet/src/index.mjs +3 -0
- package/esm2020/context-menu/index.mjs +2 -0
- package/esm2020/context-menu/mintplayer-ng-bootstrap-context-menu.mjs +5 -0
- package/esm2020/context-menu/src/context-menu.directive.mjs +84 -0
- package/esm2020/context-menu/src/context-menu.module.mjs +28 -0
- package/esm2020/context-menu/src/index.mjs +3 -0
- package/esm2020/copy/index.mjs +2 -0
- package/esm2020/copy/mintplayer-ng-bootstrap-copy.mjs +5 -0
- package/esm2020/copy/src/copy.directive.mjs +45 -0
- package/esm2020/copy/src/copy.module.mjs +24 -0
- package/esm2020/copy/src/index.mjs +3 -0
- package/esm2020/datatable/index.mjs +2 -0
- package/esm2020/datatable/mintplayer-ng-bootstrap-datatable.mjs +5 -0
- package/esm2020/datatable/src/datatable/datatable.component.mjs +54 -0
- package/esm2020/datatable/src/datatable-column/datatable-column-metadata.mjs +2 -0
- package/esm2020/datatable/src/datatable-column/datatable-column.directive.mjs +19 -0
- package/esm2020/datatable/src/datatable-column/index.mjs +3 -0
- package/esm2020/datatable/src/datatable-settings.mjs +37 -0
- package/esm2020/datatable/src/datatable.module.mjs +39 -0
- package/esm2020/datatable/src/index.mjs +5 -0
- package/esm2020/datepicker/index.mjs +2 -0
- package/esm2020/datepicker/mintplayer-ng-bootstrap-datepicker.mjs +5 -0
- package/esm2020/datepicker/src/datepicker.component.mjs +45 -0
- package/esm2020/datepicker/src/datepicker.module.mjs +32 -0
- package/esm2020/datepicker/src/index.mjs +3 -0
- package/esm2020/dropdown/index.mjs +2 -0
- package/esm2020/dropdown/mintplayer-ng-bootstrap-dropdown.mjs +5 -0
- package/esm2020/dropdown/src/dropdown/dropdown.directive.mjs +63 -0
- package/esm2020/dropdown/src/dropdown-menu/dropdown-menu.directive.mjs +111 -0
- package/esm2020/dropdown/src/dropdown-toggle/dropdown-toggle.directive.mjs +28 -0
- package/esm2020/dropdown/src/dropdown.module.mjs +42 -0
- package/esm2020/dropdown/src/index.mjs +5 -0
- package/esm2020/dropdown-menu/index.mjs +2 -0
- package/esm2020/dropdown-menu/mintplayer-ng-bootstrap-dropdown-menu.mjs +5 -0
- package/esm2020/dropdown-menu/src/dropdown-item/dropdown-item.component.mjs +19 -0
- package/esm2020/dropdown-menu/src/dropdown-menu/dropdown-menu.component.mjs +41 -0
- package/esm2020/dropdown-menu/src/dropdown-menu.module.mjs +19 -0
- package/esm2020/dropdown-menu/src/index.mjs +4 -0
- package/esm2020/enhanced-paste/index.mjs +2 -0
- package/esm2020/enhanced-paste/mintplayer-ng-bootstrap-enhanced-paste.mjs +5 -0
- package/esm2020/enhanced-paste/src/enhanced-paste.directive.mjs +58 -0
- package/esm2020/enhanced-paste/src/enhanced-paste.module.mjs +24 -0
- package/esm2020/enhanced-paste/src/index.mjs +3 -0
- package/esm2020/file-upload/index.mjs +2 -0
- package/esm2020/file-upload/mintplayer-ng-bootstrap-file-upload.mjs +5 -0
- package/esm2020/file-upload/src/component/file-upload.component.mjs +84 -0
- package/esm2020/file-upload/src/directive/file-upload-template.directive.mjs +18 -0
- package/esm2020/file-upload/src/file-upload.mjs +2 -0
- package/esm2020/file-upload/src/file-upload.module.mjs +45 -0
- package/esm2020/file-upload/src/index.mjs +5 -0
- package/esm2020/for/index.mjs +2 -0
- package/esm2020/for/mintplayer-ng-bootstrap-for.mjs +5 -0
- package/esm2020/for/src/for.directive.mjs +38 -0
- package/esm2020/for/src/for.module.mjs +24 -0
- package/esm2020/for/src/index.mjs +3 -0
- package/esm2020/grid/index.mjs +2 -0
- package/esm2020/grid/mintplayer-ng-bootstrap-grid.mjs +5 -0
- package/esm2020/grid/src/component/grid.component.mjs +32 -0
- package/esm2020/grid/src/directives/column/column.directive.mjs +56 -0
- package/esm2020/grid/src/directives/index.mjs +3 -0
- package/esm2020/grid/src/directives/row/row.directive.mjs +19 -0
- package/esm2020/grid/src/grid.module.mjs +20 -0
- package/esm2020/grid/src/index.mjs +4 -0
- package/esm2020/index.mjs +2 -3
- package/esm2020/lib/interfaces/enum-item.mjs +2 -0
- package/esm2020/lib/interfaces/index.mjs +4 -1
- package/esm2020/lib/pipes/add-properties/add-properties.module.mjs +4 -4
- package/esm2020/lib/pipes/add-properties/add-properties.pipe.mjs +3 -3
- package/esm2020/lib/pipes/font-color/font-color.module.mjs +4 -4
- package/esm2020/lib/pipes/font-color/font-color.pipe.mjs +3 -3
- package/esm2020/lib/pipes/format-bytes/format-bytes.module.mjs +4 -4
- package/esm2020/lib/pipes/format-bytes/format-bytes.pipe.mjs +3 -3
- package/esm2020/lib/pipes/in-list/in-list.module.mjs +4 -4
- package/esm2020/lib/pipes/in-list/in-list.pipe.mjs +3 -3
- package/esm2020/lib/pipes/in-list/index.mjs +3 -0
- package/esm2020/lib/pipes/index.mjs +5 -1
- package/esm2020/lib/pipes/month-name/index.mjs +3 -0
- package/esm2020/lib/pipes/month-name/month-name.module.mjs +4 -4
- package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +3 -3
- package/esm2020/lib/pipes/uc-first/index.mjs +3 -0
- package/esm2020/lib/pipes/uc-first/uc-first.module.mjs +4 -4
- package/esm2020/lib/pipes/uc-first/uc-first.pipe.mjs +3 -3
- package/esm2020/lib/pipes/weekday-name/index.mjs +3 -0
- package/esm2020/lib/pipes/weekday-name/weekday-name.module.mjs +4 -4
- package/esm2020/lib/pipes/weekday-name/weekday-name.pipe.mjs +3 -3
- package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +3 -3
- package/esm2020/lib/services/enum/enum.service.mjs +31 -0
- package/esm2020/lib/services/index.mjs +4 -0
- package/esm2020/lib/services/scroll-offset/scroll-offset.service.mjs +3 -3
- package/esm2020/lib/types/index.mjs +2 -1
- package/esm2020/list-group/index.mjs +2 -0
- package/esm2020/list-group/mintplayer-ng-bootstrap-list-group.mjs +5 -0
- package/esm2020/list-group/src/index.mjs +4 -0
- package/esm2020/list-group/src/list-group/list-group.component.mjs +19 -0
- package/esm2020/list-group/src/list-group-item/list-group-item.component.mjs +15 -0
- package/esm2020/list-group/src/list-group.module.mjs +27 -0
- package/esm2020/modal/index.mjs +2 -0
- package/esm2020/modal/mintplayer-ng-bootstrap-modal.mjs +5 -0
- package/esm2020/modal/src/components/index.mjs +3 -0
- package/esm2020/modal/src/components/modal/modal.component.mjs +21 -0
- package/esm2020/modal/src/components/modal-host/modal-host.component.mjs +82 -0
- package/esm2020/modal/src/directives/index.mjs +6 -0
- package/esm2020/modal/src/directives/modal/modal.directive.mjs +18 -0
- package/esm2020/modal/src/directives/modal-body/modal-body.directive.mjs +19 -0
- package/esm2020/modal/src/directives/modal-close/modal-close.directive.mjs +24 -0
- package/esm2020/modal/src/directives/modal-footer/modal-footer.directive.mjs +19 -0
- package/esm2020/modal/src/directives/modal-header/modal-header.directive.mjs +19 -0
- package/esm2020/modal/src/index.mjs +4 -0
- package/esm2020/modal/src/modal.module.mjs +71 -0
- package/esm2020/modal/src/providers/modal-content.provider.mjs +3 -0
- package/esm2020/modal/src/providers/portal-factory.provider.mjs +3 -0
- package/esm2020/multiselect/index.mjs +2 -0
- package/esm2020/multiselect/mintplayer-ng-bootstrap-multiselect.mjs +5 -0
- package/esm2020/multiselect/src/component/multiselect.component.mjs +34 -0
- package/esm2020/multiselect/src/directives/button-template/button-template.directive.mjs +18 -0
- package/esm2020/multiselect/src/directives/footer-template/footer-template.directive.mjs +18 -0
- package/esm2020/multiselect/src/directives/header-template/header-template.directive.mjs +18 -0
- package/esm2020/multiselect/src/directives/index.mjs +4 -0
- package/esm2020/multiselect/src/index.mjs +4 -0
- package/esm2020/multiselect/src/multiselect.module.mjs +55 -0
- package/esm2020/navbar/index.mjs +2 -0
- package/esm2020/navbar/mintplayer-ng-bootstrap-navbar.mjs +5 -0
- package/esm2020/navbar/src/dropdown-toggle/dropdown-toggle.directive.mjs +38 -0
- package/esm2020/navbar/src/expand-button/expand-button.directive.mjs +18 -0
- package/esm2020/navbar/src/index.mjs +13 -0
- package/esm2020/navbar/src/nav-link/nav-link.directive.mjs +29 -0
- package/esm2020/navbar/src/navbar/navbar.component.mjs +98 -0
- package/esm2020/navbar/src/navbar-brand/navbar-brand.component.mjs +20 -0
- package/esm2020/navbar/src/navbar-content/navbar-content.directive.mjs +69 -0
- package/esm2020/navbar/src/navbar-dropdown/navbar-dropdown.component.mjs +95 -0
- package/esm2020/navbar/src/navbar-item/navbar-item.component.mjs +64 -0
- package/esm2020/navbar/src/navbar-nav/navbar-nav.component.mjs +69 -0
- package/esm2020/navbar/src/navbar-toggler/navbar-toggler.component.mjs +47 -0
- package/esm2020/navbar/src/navbar.module.mjs +73 -0
- package/esm2020/offcanvas/index.mjs +2 -0
- package/esm2020/offcanvas/mintplayer-ng-bootstrap-offcanvas.mjs +5 -0
- package/esm2020/offcanvas/src/components/index.mjs +5 -0
- package/esm2020/offcanvas/src/components/offcanvas/offcanvas.component.mjs +111 -0
- package/esm2020/offcanvas/src/components/offcanvas-body/offcanvas-body.component.mjs +18 -0
- package/esm2020/offcanvas/src/components/offcanvas-header/offcanvas-header.component.mjs +14 -0
- package/esm2020/offcanvas/src/components/offcanvas-host/offcanvas-host.component.mjs +142 -0
- package/esm2020/offcanvas/src/directives/index.mjs +3 -0
- package/esm2020/offcanvas/src/directives/offcanvas-close/offcanvas-close.directive.mjs +24 -0
- package/esm2020/offcanvas/src/directives/offcanvas-content/offcanvas-content.directive.mjs +18 -0
- package/esm2020/offcanvas/src/index.mjs +5 -0
- package/esm2020/offcanvas/src/offcanvas.module.mjs +66 -0
- package/esm2020/offcanvas/src/providers/offcanvas-content.provider.mjs +3 -0
- package/esm2020/offcanvas/src/providers/portal-factory.provider.mjs +3 -0
- package/esm2020/offcanvas/src/types/index.mjs +2 -0
- package/esm2020/offcanvas/src/types/position.mjs +2 -0
- package/esm2020/pagination/index.mjs +2 -0
- package/esm2020/pagination/mintplayer-ng-bootstrap-pagination.mjs +5 -0
- package/esm2020/pagination/src/index.mjs +3 -0
- package/esm2020/pagination/src/pagination/pagination.component.mjs +198 -0
- package/esm2020/pagination/src/pagination.module.mjs +24 -0
- package/esm2020/placeholder/index.mjs +2 -0
- package/esm2020/placeholder/mintplayer-ng-bootstrap-placeholder.mjs +5 -0
- package/esm2020/placeholder/src/index.mjs +4 -0
- package/esm2020/placeholder/src/placeholder/placeholder.component.mjs +26 -0
- package/esm2020/placeholder/src/placeholder-field/placeholder-field.directive.mjs +46 -0
- package/esm2020/placeholder/src/placeholder.module.mjs +19 -0
- package/esm2020/popover/index.mjs +2 -0
- package/esm2020/popover/mintplayer-ng-bootstrap-popover.mjs +5 -0
- package/esm2020/popover/src/component/popover.component.mjs +56 -0
- package/esm2020/popover/src/directives/index.mjs +4 -0
- package/esm2020/popover/src/directives/popover/popover.directive.mjs +129 -0
- package/esm2020/popover/src/directives/popover-body/popover-body.directive.mjs +19 -0
- package/esm2020/popover/src/directives/popover-header/popover-header.directive.mjs +19 -0
- package/esm2020/popover/src/index.mjs +4 -0
- package/esm2020/popover/src/popover.module.mjs +35 -0
- package/esm2020/popover/src/providers/popover-content.provider.mjs +3 -0
- package/esm2020/popover/src/providers/portal-factory.provider.mjs +3 -0
- package/esm2020/progress-bar/index.mjs +2 -0
- package/esm2020/progress-bar/mintplayer-ng-bootstrap-progress-bar.mjs +5 -0
- package/esm2020/progress-bar/src/index.mjs +4 -0
- package/esm2020/progress-bar/src/progress/progress.component.mjs +31 -0
- package/esm2020/progress-bar/src/progress-bar/progress-bar.component.mjs +121 -0
- package/esm2020/progress-bar/src/progress-bar.module.mjs +29 -0
- package/esm2020/range/index.mjs +2 -0
- package/esm2020/range/mintplayer-ng-bootstrap-range.mjs +5 -0
- package/esm2020/range/src/component/range.component.mjs +15 -0
- package/esm2020/range/src/index.mjs +4 -0
- package/esm2020/range/src/range.module.mjs +19 -0
- package/esm2020/range/src/value-accessor/range-value-accessor.mjs +62 -0
- package/esm2020/rating/index.mjs +2 -0
- package/esm2020/rating/mintplayer-ng-bootstrap-rating.mjs +5 -0
- package/esm2020/rating/src/index.mjs +3 -0
- package/esm2020/rating/src/rating.component.mjs +72 -0
- package/esm2020/rating/src/rating.module.mjs +24 -0
- package/esm2020/scheduler/index.mjs +2 -0
- package/esm2020/scheduler/mintplayer-ng-bootstrap-scheduler.mjs +5 -0
- package/esm2020/scheduler/src/components/index.mjs +3 -0
- package/esm2020/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.mjs +84 -0
- package/esm2020/scheduler/src/components/scheduler/scheduler.component.mjs +537 -0
- package/esm2020/scheduler/src/constants/available-scales.mjs +12 -0
- package/esm2020/scheduler/src/constants/index.mjs +2 -0
- package/esm2020/scheduler/src/enums/drag-operation.mjs +8 -0
- package/esm2020/scheduler/src/enums/index.mjs +2 -0
- package/esm2020/scheduler/src/enums/scheduler-mode.mjs +6 -0
- package/esm2020/scheduler/src/index.mjs +6 -0
- package/esm2020/scheduler/src/interfaces/drag-operation.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/index.mjs +6 -0
- package/esm2020/scheduler/src/interfaces/preview-event.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/resource-group.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/resource-or-group.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/resource.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/scheduler-event-part.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/scheduler-event-with-parts.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/scheduler-event.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/scheduler-schale.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/scheduler-stamp-with-slots.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/time-slot.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/timeline-options.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/timeline-track.mjs +2 -0
- package/esm2020/scheduler/src/interfaces/week-options.mjs +2 -0
- package/esm2020/scheduler/src/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.mjs +16 -0
- package/esm2020/scheduler/src/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.mjs +20 -0
- package/esm2020/scheduler/src/pipes/date-offset/date-offset.pipe.mjs +20 -0
- package/esm2020/scheduler/src/pipes/day-of-week/day-of-week.pipe.mjs +22 -0
- package/esm2020/scheduler/src/scheduler.module.mjs +41 -0
- package/esm2020/scheduler/src/services/timeline/timeline.service.mjs +65 -0
- package/esm2020/scrollspy/index.mjs +2 -0
- package/esm2020/scrollspy/mintplayer-ng-bootstrap-scrollspy.mjs +5 -0
- package/esm2020/scrollspy/src/component/scrollspy.component.mjs +90 -0
- package/esm2020/scrollspy/src/directives/scrollspy.directive.mjs +16 -0
- package/esm2020/scrollspy/src/index.mjs +4 -0
- package/esm2020/scrollspy/src/scrollspy.module.mjs +29 -0
- package/esm2020/select/index.mjs +2 -0
- package/esm2020/select/mintplayer-ng-bootstrap-select.mjs +5 -0
- package/esm2020/select/src/component/select.component.mjs +85 -0
- package/esm2020/select/src/index.mjs +5 -0
- package/esm2020/select/src/select.module.mjs +31 -0
- package/esm2020/select/src/types/index.mjs +2 -0
- package/esm2020/select/src/types/select-size.mjs +2 -0
- package/esm2020/select/src/value-accessors/index.mjs +2 -0
- package/esm2020/select/src/value-accessors/select-value-accessor.mjs +167 -0
- package/esm2020/select2/index.mjs +2 -0
- package/esm2020/select2/mintplayer-ng-bootstrap-select2.mjs +5 -0
- package/esm2020/select2/src/component/select2.component.mjs +84 -0
- package/esm2020/select2/src/directive/item-template.directive.mjs +19 -0
- package/esm2020/select2/src/index.mjs +4 -0
- package/esm2020/select2/src/select2.module.mjs +45 -0
- package/esm2020/snackbar/index.mjs +2 -0
- package/esm2020/snackbar/mintplayer-ng-bootstrap-snackbar.mjs +5 -0
- package/esm2020/snackbar/src/component/snackbar.component.mjs +35 -0
- package/esm2020/snackbar/src/directives/index.mjs +2 -0
- package/esm2020/snackbar/src/directives/snackbar-close/snackbar-close.directive.mjs +27 -0
- package/esm2020/snackbar/src/index.mjs +6 -0
- package/esm2020/snackbar/src/interfaces/index.mjs +2 -0
- package/esm2020/snackbar/src/interfaces/snackbar-animation-meta.mjs +2 -0
- package/esm2020/snackbar/src/providers/snackbar-content.provider.mjs +3 -0
- package/esm2020/snackbar/src/service/snackbar.service.mjs +45 -0
- package/esm2020/snackbar/src/snackbar.module.mjs +39 -0
- package/esm2020/spinner/index.mjs +2 -0
- package/esm2020/spinner/mintplayer-ng-bootstrap-spinner.mjs +5 -0
- package/esm2020/spinner/src/index.mjs +3 -0
- package/esm2020/spinner/src/spinner.component.mjs +43 -0
- package/esm2020/spinner/src/spinner.module.mjs +18 -0
- package/esm2020/tab-control/index.mjs +2 -0
- package/esm2020/tab-control/mintplayer-ng-bootstrap-tab-control.mjs +5 -0
- package/esm2020/tab-control/src/index.mjs +4 -0
- package/esm2020/tab-control/src/tab-control/tab-control.component.mjs +28 -0
- package/esm2020/tab-control/src/tab-control.module.mjs +29 -0
- package/esm2020/tab-control/src/tab-page/tab-page.component.mjs +23 -0
- package/esm2020/table/index.mjs +2 -0
- package/esm2020/table/mintplayer-ng-bootstrap-table.mjs +5 -0
- package/esm2020/table/src/component/table.component.mjs +47 -0
- package/esm2020/table/src/index.mjs +3 -0
- package/esm2020/table/src/table.module.mjs +18 -0
- package/esm2020/timepicker/index.mjs +2 -0
- package/esm2020/timepicker/mintplayer-ng-bootstrap-timepicker.mjs +5 -0
- package/esm2020/timepicker/src/index.mjs +3 -0
- package/esm2020/timepicker/src/timepicker.component.mjs +110 -0
- package/esm2020/timepicker/src/timepicker.module.mjs +40 -0
- package/esm2020/toast/index.mjs +2 -0
- package/esm2020/toast/mintplayer-ng-bootstrap-toast.mjs +5 -0
- package/esm2020/toast/src/components/index.mjs +5 -0
- package/esm2020/toast/src/components/toast/toast.component.mjs +16 -0
- package/esm2020/toast/src/components/toast-body/toast-body.component.mjs +20 -0
- package/esm2020/toast/src/components/toast-container/toast-container.component.mjs +22 -0
- package/esm2020/toast/src/components/toast-header/toast-header.component.mjs +17 -0
- package/esm2020/toast/src/directives/index.mjs +2 -0
- package/esm2020/toast/src/directives/toast-close/toast-close.directive.mjs +32 -0
- package/esm2020/toast/src/index.mjs +5 -0
- package/esm2020/toast/src/providers/portal-factory.provider.mjs +3 -0
- package/esm2020/toast/src/services/index.mjs +2 -0
- package/esm2020/toast/src/services/toast/toast.service.mjs +56 -0
- package/esm2020/toast/src/toast.module.mjs +72 -0
- package/esm2020/toggle-button/index.mjs +2 -0
- package/esm2020/toggle-button/mintplayer-ng-bootstrap-toggle-button.mjs +5 -0
- package/esm2020/toggle-button/src/component/toggle-button.component.mjs +154 -0
- package/esm2020/toggle-button/src/directives/index.mjs +2 -0
- package/esm2020/toggle-button/src/directives/toggle-button-group/toggle-button-group.directive.mjs +19 -0
- package/esm2020/toggle-button/src/index.mjs +6 -0
- package/esm2020/toggle-button/src/toggle-button.module.mjs +34 -0
- package/esm2020/toggle-button/src/types/check-style.mjs +2 -0
- package/esm2020/toggle-button/src/types/index.mjs +2 -0
- package/esm2020/toggle-button/src/value-accessor/toggle-button-value-accessor.mjs +108 -0
- package/esm2020/tooltip/index.mjs +2 -0
- package/esm2020/tooltip/mintplayer-ng-bootstrap-tooltip.mjs +5 -0
- package/esm2020/tooltip/src/component/tooltip.component.mjs +29 -0
- package/esm2020/tooltip/src/directive/tooltip.directive.mjs +110 -0
- package/esm2020/tooltip/src/index.mjs +4 -0
- package/esm2020/tooltip/src/providers/tooltip-content.provider.mjs +3 -0
- package/esm2020/tooltip/src/tooltip.module.mjs +31 -0
- package/esm2020/typeahead/index.mjs +2 -0
- package/esm2020/typeahead/mintplayer-ng-bootstrap-typeahead.mjs +5 -0
- package/esm2020/typeahead/src/index.mjs +3 -0
- package/esm2020/typeahead/src/typeahead.component.mjs +80 -0
- package/esm2020/typeahead/src/typeahead.module.mjs +40 -0
- package/fesm2015/mintplayer-ng-bootstrap-accordion.mjs +131 -0
- package/fesm2015/mintplayer-ng-bootstrap-accordion.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-alert.mjs +87 -0
- package/fesm2015/mintplayer-ng-bootstrap-alert.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-badge.mjs +52 -0
- package/fesm2015/mintplayer-ng-bootstrap-badge.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-breadcrumb.mjs +51 -0
- package/fesm2015/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-button-group.mjs +35 -0
- package/fesm2015/mintplayer-ng-bootstrap-button-group.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-calendar.mjs +143 -0
- package/fesm2015/mintplayer-ng-bootstrap-calendar.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-card.mjs +50 -0
- package/fesm2015/mintplayer-ng-bootstrap-card.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-carousel.mjs +149 -0
- package/fesm2015/mintplayer-ng-bootstrap-carousel.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-close.mjs +43 -0
- package/fesm2015/mintplayer-ng-bootstrap-close.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs +63 -0
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-context-menu.mjs +117 -0
- package/fesm2015/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-copy.mjs +75 -0
- package/fesm2015/mintplayer-ng-bootstrap-copy.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-datatable.mjs +144 -0
- package/fesm2015/mintplayer-ng-bootstrap-datatable.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-datepicker.mjs +81 -0
- package/fesm2015/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-menu.mjs +81 -0
- package/fesm2015/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-dropdown.mjs +235 -0
- package/fesm2015/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-enhanced-paste.mjs +85 -0
- package/fesm2015/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-file-upload.mjs +146 -0
- package/fesm2015/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-for.mjs +66 -0
- package/fesm2015/mintplayer-ng-bootstrap-for.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-grid.mjs +124 -0
- package/fesm2015/mintplayer-ng-bootstrap-grid.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-list-group.mjs +61 -0
- package/fesm2015/mintplayer-ng-bootstrap-list-group.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-modal.mjs +258 -0
- package/fesm2015/mintplayer-ng-bootstrap-modal.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-multiselect.mjs +132 -0
- package/fesm2015/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs +581 -0
- package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs +380 -0
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-pagination.mjs +226 -0
- package/fesm2015/mintplayer-ng-bootstrap-pagination.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-placeholder.mjs +89 -0
- package/fesm2015/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-popover.mjs +254 -0
- package/fesm2015/mintplayer-ng-bootstrap-popover.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-progress-bar.mjs +182 -0
- package/fesm2015/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-range.mjs +95 -0
- package/fesm2015/mintplayer-ng-bootstrap-range.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-rating.mjs +100 -0
- package/fesm2015/mintplayer-ng-bootstrap-rating.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs +807 -0
- package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-scrollspy.mjs +136 -0
- package/fesm2015/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-select.mjs +284 -0
- package/fesm2015/mintplayer-ng-bootstrap-select.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-select2.mjs +147 -0
- package/fesm2015/mintplayer-ng-bootstrap-select2.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-snackbar.mjs +142 -0
- package/fesm2015/mintplayer-ng-bootstrap-snackbar.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-spinner.mjs +65 -0
- package/fesm2015/mintplayer-ng-bootstrap-spinner.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-tab-control.mjs +77 -0
- package/fesm2015/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-table.mjs +69 -0
- package/fesm2015/mintplayer-ng-bootstrap-table.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-timepicker.mjs +154 -0
- package/fesm2015/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-toast.mjs +219 -0
- package/fesm2015/mintplayer-ng-bootstrap-toast.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-toggle-button.mjs +309 -0
- package/fesm2015/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-tooltip.mjs +172 -0
- package/fesm2015/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap-typeahead.mjs +124 -0
- package/fesm2015/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -0
- package/fesm2015/mintplayer-ng-bootstrap.mjs +271 -6566
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-accordion.mjs +131 -0
- package/fesm2020/mintplayer-ng-bootstrap-accordion.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-alert.mjs +87 -0
- package/fesm2020/mintplayer-ng-bootstrap-alert.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-badge.mjs +52 -0
- package/fesm2020/mintplayer-ng-bootstrap-badge.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-breadcrumb.mjs +51 -0
- package/fesm2020/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-button-group.mjs +35 -0
- package/fesm2020/mintplayer-ng-bootstrap-button-group.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-calendar.mjs +143 -0
- package/fesm2020/mintplayer-ng-bootstrap-calendar.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-card.mjs +50 -0
- package/fesm2020/mintplayer-ng-bootstrap-card.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-carousel.mjs +149 -0
- package/fesm2020/mintplayer-ng-bootstrap-carousel.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-close.mjs +43 -0
- package/fesm2020/mintplayer-ng-bootstrap-close.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs +63 -0
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-context-menu.mjs +115 -0
- package/fesm2020/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-copy.mjs +72 -0
- package/fesm2020/mintplayer-ng-bootstrap-copy.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-datatable.mjs +145 -0
- package/fesm2020/mintplayer-ng-bootstrap-datatable.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-datepicker.mjs +81 -0
- package/fesm2020/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-menu.mjs +79 -0
- package/fesm2020/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-dropdown.mjs +232 -0
- package/fesm2020/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-enhanced-paste.mjs +85 -0
- package/fesm2020/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-file-upload.mjs +146 -0
- package/fesm2020/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-for.mjs +66 -0
- package/fesm2020/mintplayer-ng-bootstrap-for.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-grid.mjs +124 -0
- package/fesm2020/mintplayer-ng-bootstrap-grid.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-list-group.mjs +61 -0
- package/fesm2020/mintplayer-ng-bootstrap-list-group.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-modal.mjs +254 -0
- package/fesm2020/mintplayer-ng-bootstrap-modal.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-multiselect.mjs +132 -0
- package/fesm2020/mintplayer-ng-bootstrap-multiselect.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs +570 -0
- package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs +376 -0
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-pagination.mjs +226 -0
- package/fesm2020/mintplayer-ng-bootstrap-pagination.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-placeholder.mjs +89 -0
- package/fesm2020/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-popover.mjs +250 -0
- package/fesm2020/mintplayer-ng-bootstrap-popover.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-progress-bar.mjs +182 -0
- package/fesm2020/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-range.mjs +95 -0
- package/fesm2020/mintplayer-ng-bootstrap-range.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-rating.mjs +100 -0
- package/fesm2020/mintplayer-ng-bootstrap-rating.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs +807 -0
- package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-scrollspy.mjs +133 -0
- package/fesm2020/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-select.mjs +282 -0
- package/fesm2020/mintplayer-ng-bootstrap-select.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-select2.mjs +147 -0
- package/fesm2020/mintplayer-ng-bootstrap-select2.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-snackbar.mjs +139 -0
- package/fesm2020/mintplayer-ng-bootstrap-snackbar.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-spinner.mjs +65 -0
- package/fesm2020/mintplayer-ng-bootstrap-spinner.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-tab-control.mjs +77 -0
- package/fesm2020/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-table.mjs +69 -0
- package/fesm2020/mintplayer-ng-bootstrap-table.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-timepicker.mjs +154 -0
- package/fesm2020/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-toast.mjs +217 -0
- package/fesm2020/mintplayer-ng-bootstrap-toast.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-toggle-button.mjs +309 -0
- package/fesm2020/mintplayer-ng-bootstrap-toggle-button.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-tooltip.mjs +168 -0
- package/fesm2020/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-typeahead.mjs +124 -0
- package/fesm2020/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap.mjs +271 -6522
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/file-upload/index.d.ts +1 -0
- package/file-upload/src/component/file-upload.component.d.ts +19 -0
- package/file-upload/src/directive/file-upload-template.directive.d.ts +8 -0
- package/{lib/components/file-upload → file-upload/src}/file-upload.d.ts +0 -0
- package/file-upload/src/file-upload.module.d.ts +13 -0
- package/{lib/components/file-upload → file-upload/src}/index.d.ts +0 -0
- package/for/index.d.ts +1 -0
- package/for/src/for.directive.d.ts +8 -0
- package/{lib/components/for → for/src}/for.module.d.ts +0 -0
- package/{lib/components/for → for/src}/index.d.ts +0 -0
- package/grid/index.d.ts +1 -0
- package/grid/src/component/grid.component.d.ts +12 -0
- package/grid/src/directives/column/column.directive.d.ts +12 -0
- package/{lib/components/grid → grid/src}/directives/index.d.ts +0 -0
- package/grid/src/directives/row/row.directive.d.ts +6 -0
- package/{lib/components/grid → grid/src}/grid.module.d.ts +0 -0
- package/{lib/components/grid → grid/src}/index.d.ts +0 -0
- package/index.d.ts +1 -2
- package/lib/interfaces/enum-item.d.ts +4 -0
- package/lib/interfaces/index.d.ts +3 -0
- package/lib/pipes/in-list/index.d.ts +2 -0
- package/lib/pipes/index.d.ts +4 -0
- package/lib/pipes/month-name/index.d.ts +2 -0
- package/lib/pipes/uc-first/index.d.ts +2 -0
- package/lib/pipes/weekday-name/index.d.ts +2 -0
- package/lib/services/enum/enum.service.d.ts +9 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/types/index.d.ts +1 -0
- package/list-group/index.d.ts +1 -0
- package/{lib/components/list-group → list-group/src}/index.d.ts +0 -0
- package/list-group/src/list-group/list-group.component.d.ts +10 -0
- package/list-group/src/list-group-item/list-group-item.component.d.ts +8 -0
- package/{lib/components/list-group → list-group/src}/list-group.module.d.ts +0 -0
- package/modal/index.d.ts +1 -0
- package/{lib/components/modal → modal/src}/components/index.d.ts +0 -0
- package/modal/src/components/modal/modal.component.d.ts +9 -0
- package/modal/src/components/modal-host/modal-host.component.d.ts +27 -0
- package/{lib/components/modal → modal/src}/directives/index.d.ts +0 -0
- package/modal/src/directives/modal/modal.directive.d.ts +8 -0
- package/modal/src/directives/modal-body/modal-body.directive.d.ts +6 -0
- package/modal/src/directives/modal-close/modal-close.directive.d.ts +9 -0
- package/modal/src/directives/modal-footer/modal-footer.directive.d.ts +6 -0
- package/modal/src/directives/modal-header/modal-header.directive.d.ts +6 -0
- package/{lib/components/modal → modal/src}/index.d.ts +0 -0
- package/{lib/components/modal → modal/src}/modal.module.d.ts +0 -0
- package/{lib/components/modal → modal/src}/providers/modal-content.provider.d.ts +0 -0
- package/{lib/components/modal → modal/src}/providers/portal-factory.provider.d.ts +0 -0
- package/multiselect/index.d.ts +1 -0
- package/multiselect/src/component/multiselect.component.d.ts +13 -0
- package/multiselect/src/directives/button-template/button-template.directive.d.ts +8 -0
- package/multiselect/src/directives/footer-template/footer-template.directive.d.ts +8 -0
- package/multiselect/src/directives/header-template/header-template.directive.d.ts +8 -0
- package/{lib/components/multiselect → multiselect/src}/directives/index.d.ts +0 -0
- package/{lib/components/multiselect → multiselect/src}/index.d.ts +0 -0
- package/multiselect/src/multiselect.module.d.ts +15 -0
- package/navbar/index.d.ts +1 -0
- package/navbar/src/dropdown-toggle/dropdown-toggle.directive.d.ts +13 -0
- package/navbar/src/expand-button/expand-button.directive.d.ts +8 -0
- package/{lib/components/navbar → navbar/src}/index.d.ts +0 -0
- package/navbar/src/nav-link/nav-link.directive.d.ts +9 -0
- package/navbar/src/navbar/navbar.component.d.ts +27 -0
- package/navbar/src/navbar-brand/navbar-brand.component.d.ts +7 -0
- package/navbar/src/navbar-content/navbar-content.directive.d.ts +18 -0
- package/navbar/src/navbar-dropdown/navbar-dropdown.component.d.ts +27 -0
- package/navbar/src/navbar-item/navbar-item.component.d.ts +16 -0
- package/navbar/src/navbar-nav/navbar-nav.component.d.ts +19 -0
- package/navbar/src/navbar-toggler/navbar-toggler.component.d.ts +13 -0
- package/navbar/src/navbar.module.d.ts +18 -0
- package/offcanvas/index.d.ts +1 -0
- package/{lib/components/offcanvas → offcanvas/src}/components/index.d.ts +0 -0
- package/offcanvas/src/components/offcanvas/offcanvas.component.d.ts +34 -0
- package/offcanvas/src/components/offcanvas-body/offcanvas-body.component.d.ts +9 -0
- package/offcanvas/src/components/offcanvas-header/offcanvas-header.component.d.ts +8 -0
- package/offcanvas/src/components/offcanvas-host/offcanvas-host.component.d.ts +37 -0
- package/{lib/components/offcanvas → offcanvas/src}/directives/index.d.ts +0 -0
- package/offcanvas/src/directives/offcanvas-close/offcanvas-close.directive.d.ts +9 -0
- package/offcanvas/src/directives/offcanvas-content/offcanvas-content.directive.d.ts +8 -0
- package/{lib/components/offcanvas → offcanvas/src}/index.d.ts +0 -0
- package/{lib/components/offcanvas → offcanvas/src}/offcanvas.module.d.ts +0 -0
- package/{lib/components/offcanvas → offcanvas/src}/providers/offcanvas-content.provider.d.ts +0 -0
- package/{lib/components/offcanvas → offcanvas/src}/providers/portal-factory.provider.d.ts +0 -0
- package/{lib/components/offcanvas → offcanvas/src}/types/index.d.ts +0 -0
- package/{lib/components/offcanvas → offcanvas/src}/types/position.d.ts +0 -0
- package/package.json +363 -10
- package/pagination/index.d.ts +1 -0
- package/{lib/components/pagination → pagination/src}/index.d.ts +0 -0
- package/pagination/src/pagination/pagination.component.d.ts +48 -0
- package/{lib/components/pagination → pagination/src}/pagination.module.d.ts +0 -0
- package/placeholder/index.d.ts +1 -0
- package/{lib/components/placeholder → placeholder/src}/index.d.ts +0 -0
- package/placeholder/src/placeholder/placeholder.component.d.ts +11 -0
- package/placeholder/src/placeholder-field/placeholder-field.directive.d.ts +16 -0
- package/{lib/components/placeholder → placeholder/src}/placeholder.module.d.ts +0 -0
- package/popover/index.d.ts +1 -0
- package/popover/src/component/popover.component.d.ts +19 -0
- package/{lib/components/popover → popover/src}/directives/index.d.ts +0 -0
- package/popover/src/directives/popover/popover.directive.d.ts +27 -0
- package/popover/src/directives/popover-body/popover-body.directive.d.ts +6 -0
- package/popover/src/directives/popover-header/popover-header.directive.d.ts +6 -0
- package/{lib/components/popover → popover/src}/index.d.ts +0 -0
- package/{lib/components/popover → popover/src}/popover.module.d.ts +0 -0
- package/{lib/components/popover → popover/src}/providers/popover-content.provider.d.ts +0 -0
- package/{lib/components/popover → popover/src}/providers/portal-factory.provider.d.ts +0 -0
- package/progress-bar/index.d.ts +1 -0
- package/{lib/components/progress-bar → progress-bar/src}/index.d.ts +0 -0
- package/progress-bar/src/progress/progress.component.d.ts +8 -0
- package/progress-bar/src/progress-bar/progress-bar.component.d.ts +31 -0
- package/{lib/components/progress-bar → progress-bar/src}/progress-bar.module.d.ts +0 -0
- package/range/index.d.ts +1 -0
- package/range/src/component/range.component.d.ts +8 -0
- package/{lib/components/range → range/src}/index.d.ts +0 -0
- package/{lib/components/range → range/src}/range.module.d.ts +0 -0
- package/range/src/value-accessor/range-value-accessor.d.ts +20 -0
- package/rating/index.d.ts +1 -0
- package/{lib/components/rating → rating/src}/index.d.ts +0 -0
- package/rating/src/rating.component.d.ts +22 -0
- package/{lib/components/rating → rating/src}/rating.module.d.ts +0 -0
- package/scheduler/index.d.ts +1 -0
- package/{lib/components/scheduler → scheduler/src}/components/index.d.ts +0 -0
- package/scheduler/src/components/resource-group-presenter/resource-group-presenter.component.d.ts +26 -0
- package/scheduler/src/components/scheduler/scheduler.component.d.ts +86 -0
- package/{lib/components/scheduler → scheduler/src}/constants/available-scales.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/constants/index.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/enums/drag-operation.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/enums/index.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/enums/scheduler-mode.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/index.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/drag-operation.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/index.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/preview-event.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/resource-group.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/resource-or-group.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/resource.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/scheduler-event-part.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/scheduler-event-with-parts.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/scheduler-event.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/scheduler-schale.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/scheduler-stamp-with-slots.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/time-slot.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/timeline-options.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/timeline-track.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/interfaces/week-options.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/pipes/date-offset/date-offset.pipe.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/pipes/day-of-week/day-of-week.pipe.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/scheduler.module.d.ts +0 -0
- package/{lib/components/scheduler → scheduler/src}/services/timeline/timeline.service.d.ts +0 -0
- package/scrollspy/index.d.ts +1 -0
- package/scrollspy/src/component/scrollspy.component.d.ts +25 -0
- package/scrollspy/src/directives/scrollspy.directive.d.ts +8 -0
- package/{lib/components/scrollspy → scrollspy/src}/index.d.ts +0 -0
- package/{lib/components/scrollspy → scrollspy/src}/scrollspy.module.d.ts +0 -0
- package/select/index.d.ts +1 -0
- package/select/src/component/select.component.d.ts +26 -0
- package/{lib/components/select → select/src}/index.d.ts +0 -0
- package/{lib/components/select → select/src}/select.module.d.ts +0 -0
- package/{lib/components/select → select/src}/types/index.d.ts +0 -0
- package/{lib/components/select → select/src}/types/select-size.d.ts +0 -0
- package/{lib/components/select → select/src}/value-accessors/index.d.ts +0 -0
- package/select/src/value-accessors/select-value-accessor.d.ts +44 -0
- package/select2/index.d.ts +1 -0
- package/select2/src/component/select2.component.d.ts +25 -0
- package/select2/src/directive/item-template.directive.d.ts +9 -0
- package/{lib/components/select2 → select2/src}/index.d.ts +0 -0
- package/select2/src/select2.module.d.ts +13 -0
- package/snackbar/index.d.ts +1 -0
- package/snackbar/src/component/snackbar.component.d.ts +15 -0
- package/{lib/components/snackbar → snackbar/src}/directives/index.d.ts +0 -0
- package/snackbar/src/directives/snackbar-close/snackbar-close.directive.d.ts +11 -0
- package/{lib/components/snackbar → snackbar/src}/index.d.ts +0 -0
- package/{lib/components/snackbar → snackbar/src}/interfaces/index.d.ts +0 -0
- package/{lib/components/snackbar → snackbar/src}/interfaces/snackbar-animation-meta.d.ts +0 -0
- package/{lib/components/snackbar → snackbar/src}/providers/snackbar-content.provider.d.ts +0 -0
- package/{lib/components/snackbar → snackbar/src}/service/snackbar.service.d.ts +0 -0
- package/{lib/components/snackbar → snackbar/src}/snackbar.module.d.ts +0 -0
- package/spinner/index.d.ts +1 -0
- package/{lib/components/spinner → spinner/src}/index.d.ts +0 -0
- package/spinner/src/spinner.component.d.ts +19 -0
- package/{lib/components/spinner → spinner/src}/spinner.module.d.ts +0 -0
- package/tab-control/index.d.ts +1 -0
- package/{lib/components/tab-control → tab-control/src}/index.d.ts +0 -0
- package/tab-control/src/tab-control/tab-control.component.d.ts +10 -0
- package/{lib/components/tab-control → tab-control/src}/tab-control.module.d.ts +0 -0
- package/tab-control/src/tab-page/tab-page.component.d.ts +11 -0
- package/table/index.d.ts +1 -0
- package/table/src/component/table.component.d.ts +15 -0
- package/{lib/components/table → table/src}/index.d.ts +0 -0
- package/{lib/components/table → table/src}/table.module.d.ts +0 -0
- package/timepicker/index.d.ts +1 -0
- package/{lib/components/timepicker → timepicker/src}/index.d.ts +0 -0
- package/timepicker/src/timepicker.component.d.ts +25 -0
- package/timepicker/src/timepicker.module.d.ts +12 -0
- package/toast/index.d.ts +1 -0
- package/{lib/components/toast → toast/src}/components/index.d.ts +0 -0
- package/toast/src/components/toast/toast.component.d.ts +6 -0
- package/toast/src/components/toast-body/toast-body.component.d.ts +7 -0
- package/toast/src/components/toast-container/toast-container.component.d.ts +9 -0
- package/toast/src/components/toast-header/toast-header.component.d.ts +7 -0
- package/{lib/components/toast → toast/src}/directives/index.d.ts +0 -0
- package/toast/src/directives/toast-close/toast-close.directive.d.ts +12 -0
- package/{lib/components/toast → toast/src}/index.d.ts +0 -0
- package/{lib/components/toast → toast/src}/providers/portal-factory.provider.d.ts +0 -0
- package/{lib/components/toast → toast/src}/services/index.d.ts +0 -0
- package/{lib/components/toast → toast/src}/services/toast/toast.service.d.ts +0 -0
- package/toast/src/toast.module.d.ts +14 -0
- package/toggle-button/index.d.ts +1 -0
- package/toggle-button/src/component/toggle-button.component.d.ts +36 -0
- package/{lib/components/toggle-button → toggle-button/src}/directives/index.d.ts +0 -0
- package/toggle-button/src/directives/toggle-button-group/toggle-button-group.directive.d.ts +9 -0
- package/{lib/components/toggle-button → toggle-button/src}/index.d.ts +0 -0
- package/{lib/components/toggle-button → toggle-button/src}/toggle-button.module.d.ts +0 -0
- package/{lib/components/toggle-button → toggle-button/src}/types/check-style.d.ts +0 -0
- package/{lib/components/toggle-button → toggle-button/src}/types/index.d.ts +0 -0
- package/toggle-button/src/value-accessor/toggle-button-value-accessor.d.ts +20 -0
- package/tooltip/index.d.ts +1 -0
- package/tooltip/src/component/tooltip.component.d.ts +12 -0
- package/tooltip/src/directive/tooltip.directive.d.ts +20 -0
- package/{lib/components/tooltip → tooltip/src}/index.d.ts +0 -0
- package/{lib/components/tooltip → tooltip/src}/providers/tooltip-content.provider.d.ts +0 -0
- package/{lib/components/tooltip → tooltip/src}/tooltip.module.d.ts +0 -0
- package/typeahead/index.d.ts +1 -0
- package/{lib/components/typeahead → typeahead/src}/index.d.ts +0 -0
- package/typeahead/src/typeahead.component.d.ts +26 -0
- package/typeahead/src/typeahead.module.d.ts +12 -0
- package/esm2020/lib/components/accordion/accordion/accordion.component.mjs +0 -21
- package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +0 -63
- package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +0 -20
- package/esm2020/lib/components/accordion/accordion.module.mjs +0 -34
- package/esm2020/lib/components/accordion/index.mjs +0 -5
- package/esm2020/lib/components/alert/alert/alert.component.mjs +0 -41
- package/esm2020/lib/components/alert/alert-close/alert-close.component.mjs +0 -20
- package/esm2020/lib/components/alert/alert.module.mjs +0 -27
- package/esm2020/lib/components/alert/index.mjs +0 -4
- package/esm2020/lib/components/badge/badge.component.mjs +0 -30
- package/esm2020/lib/components/badge/badge.module.mjs +0 -18
- package/esm2020/lib/components/badge/index.mjs +0 -3
- package/esm2020/lib/components/breadcrumb/breadcrumb/breadcrumb.component.mjs +0 -13
- package/esm2020/lib/components/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +0 -18
- package/esm2020/lib/components/breadcrumb/breadcrumb.module.mjs +0 -19
- package/esm2020/lib/components/breadcrumb/index.mjs +0 -4
- package/esm2020/lib/components/button-group/button-group/button-group.component.mjs +0 -13
- package/esm2020/lib/components/button-group/button-group.module.mjs +0 -18
- package/esm2020/lib/components/button-group/index.mjs +0 -3
- package/esm2020/lib/components/calendar/calendar.component.mjs +0 -105
- package/esm2020/lib/components/calendar/calendar.module.mjs +0 -36
- package/esm2020/lib/components/calendar/index.mjs +0 -3
- package/esm2020/lib/components/card/card/card.component.mjs +0 -11
- package/esm2020/lib/components/card/card-header/card-header.component.mjs +0 -11
- package/esm2020/lib/components/card/card.module.mjs +0 -27
- package/esm2020/lib/components/card/index.mjs +0 -4
- package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +0 -103
- package/esm2020/lib/components/carousel/carousel-image/carousel-image.directive.mjs +0 -17
- package/esm2020/lib/components/carousel/carousel.module.mjs +0 -29
- package/esm2020/lib/components/carousel/index.mjs +0 -4
- package/esm2020/lib/components/close/close.component.mjs +0 -21
- package/esm2020/lib/components/close/close.module.mjs +0 -18
- package/esm2020/lib/components/close/index.mjs +0 -3
- package/esm2020/lib/components/code-snippet/code-snippet.component.mjs +0 -28
- package/esm2020/lib/components/code-snippet/code-snippet.module.mjs +0 -32
- package/esm2020/lib/components/code-snippet/index.mjs +0 -3
- package/esm2020/lib/components/context-menu/context-menu.directive.mjs +0 -84
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -28
- package/esm2020/lib/components/context-menu/index.mjs +0 -3
- package/esm2020/lib/components/copy/copy.directive.mjs +0 -45
- package/esm2020/lib/components/copy/copy.module.mjs +0 -24
- package/esm2020/lib/components/copy/index.mjs +0 -3
- package/esm2020/lib/components/datatable/datatable/datatable.component.mjs +0 -59
- package/esm2020/lib/components/datatable/datatable-column/datatable-column-metadata.mjs +0 -2
- package/esm2020/lib/components/datatable/datatable-column/datatable-column.directive.mjs +0 -19
- package/esm2020/lib/components/datatable/datatable-settings.mjs +0 -37
- package/esm2020/lib/components/datatable/datatable.module.mjs +0 -46
- package/esm2020/lib/components/datatable/index.mjs +0 -6
- package/esm2020/lib/components/datatable/row-template/row-template.directive.mjs +0 -19
- package/esm2020/lib/components/datepicker/datepicker.component.mjs +0 -47
- package/esm2020/lib/components/datepicker/datepicker.module.mjs +0 -32
- package/esm2020/lib/components/datepicker/index.mjs +0 -3
- package/esm2020/lib/components/dropdown/dropdown/dropdown.directive.mjs +0 -63
- package/esm2020/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.mjs +0 -111
- package/esm2020/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.mjs +0 -28
- package/esm2020/lib/components/dropdown/dropdown.module.mjs +0 -42
- package/esm2020/lib/components/dropdown/index.mjs +0 -5
- package/esm2020/lib/components/file-upload/component/file-upload.component.mjs +0 -86
- package/esm2020/lib/components/file-upload/directive/file-upload-template.directive.mjs +0 -18
- package/esm2020/lib/components/file-upload/file-upload.mjs +0 -2
- package/esm2020/lib/components/file-upload/file-upload.module.mjs +0 -45
- package/esm2020/lib/components/file-upload/index.mjs +0 -5
- package/esm2020/lib/components/for/for.directive.mjs +0 -38
- package/esm2020/lib/components/for/for.module.mjs +0 -24
- package/esm2020/lib/components/for/index.mjs +0 -3
- package/esm2020/lib/components/grid/component/grid.component.mjs +0 -32
- package/esm2020/lib/components/grid/directives/column/column.directive.mjs +0 -56
- package/esm2020/lib/components/grid/directives/index.mjs +0 -3
- package/esm2020/lib/components/grid/directives/row/row.directive.mjs +0 -19
- package/esm2020/lib/components/grid/grid.module.mjs +0 -20
- package/esm2020/lib/components/grid/index.mjs +0 -4
- package/esm2020/lib/components/index.mjs +0 -43
- package/esm2020/lib/components/list-group/index.mjs +0 -4
- package/esm2020/lib/components/list-group/list-group/list-group.component.mjs +0 -19
- package/esm2020/lib/components/list-group/list-group-item/list-group-item.component.mjs +0 -15
- package/esm2020/lib/components/list-group/list-group.module.mjs +0 -27
- package/esm2020/lib/components/modal/components/index.mjs +0 -3
- package/esm2020/lib/components/modal/components/modal/modal.component.mjs +0 -21
- package/esm2020/lib/components/modal/components/modal-host/modal-host.component.mjs +0 -82
- package/esm2020/lib/components/modal/directives/index.mjs +0 -6
- package/esm2020/lib/components/modal/directives/modal/modal.directive.mjs +0 -18
- package/esm2020/lib/components/modal/directives/modal-body/modal-body.directive.mjs +0 -19
- package/esm2020/lib/components/modal/directives/modal-close/modal-close.directive.mjs +0 -24
- package/esm2020/lib/components/modal/directives/modal-footer/modal-footer.directive.mjs +0 -19
- package/esm2020/lib/components/modal/directives/modal-header/modal-header.directive.mjs +0 -19
- package/esm2020/lib/components/modal/index.mjs +0 -4
- package/esm2020/lib/components/modal/modal.module.mjs +0 -71
- package/esm2020/lib/components/modal/providers/modal-content.provider.mjs +0 -3
- package/esm2020/lib/components/modal/providers/portal-factory.provider.mjs +0 -3
- package/esm2020/lib/components/multiselect/component/multiselect.component.mjs +0 -34
- package/esm2020/lib/components/multiselect/directives/button-template/button-template.directive.mjs +0 -18
- package/esm2020/lib/components/multiselect/directives/footer-template/footer-template.directive.mjs +0 -18
- package/esm2020/lib/components/multiselect/directives/header-template/header-template.directive.mjs +0 -18
- package/esm2020/lib/components/multiselect/directives/index.mjs +0 -4
- package/esm2020/lib/components/multiselect/index.mjs +0 -4
- package/esm2020/lib/components/multiselect/multiselect.module.mjs +0 -47
- package/esm2020/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.mjs +0 -38
- package/esm2020/lib/components/navbar/expand-button/expand-button.directive.mjs +0 -18
- package/esm2020/lib/components/navbar/index.mjs +0 -13
- package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +0 -29
- package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +0 -28
- package/esm2020/lib/components/navbar/navbar-brand/navbar-brand.component.mjs +0 -22
- package/esm2020/lib/components/navbar/navbar-content/navbar-content.directive.mjs +0 -69
- package/esm2020/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.mjs +0 -84
- package/esm2020/lib/components/navbar/navbar-item/navbar-item.component.mjs +0 -64
- package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +0 -69
- package/esm2020/lib/components/navbar/navbar-toggler/navbar-toggler.component.mjs +0 -47
- package/esm2020/lib/components/navbar/navbar.module.mjs +0 -77
- package/esm2020/lib/components/offcanvas/components/index.mjs +0 -5
- package/esm2020/lib/components/offcanvas/components/offcanvas/offcanvas.component.mjs +0 -111
- package/esm2020/lib/components/offcanvas/components/offcanvas-body/offcanvas-body.component.mjs +0 -18
- package/esm2020/lib/components/offcanvas/components/offcanvas-header/offcanvas-header.component.mjs +0 -14
- package/esm2020/lib/components/offcanvas/components/offcanvas-host/offcanvas-host.component.mjs +0 -142
- package/esm2020/lib/components/offcanvas/directives/index.mjs +0 -3
- package/esm2020/lib/components/offcanvas/directives/offcanvas-close/offcanvas-close.directive.mjs +0 -24
- package/esm2020/lib/components/offcanvas/directives/offcanvas-content/offcanvas-content.directive.mjs +0 -18
- package/esm2020/lib/components/offcanvas/index.mjs +0 -5
- package/esm2020/lib/components/offcanvas/offcanvas.module.mjs +0 -66
- package/esm2020/lib/components/offcanvas/providers/offcanvas-content.provider.mjs +0 -3
- package/esm2020/lib/components/offcanvas/providers/portal-factory.provider.mjs +0 -3
- package/esm2020/lib/components/offcanvas/types/index.mjs +0 -2
- package/esm2020/lib/components/offcanvas/types/position.mjs +0 -2
- package/esm2020/lib/components/pagination/index.mjs +0 -3
- package/esm2020/lib/components/pagination/pagination/pagination.component.mjs +0 -198
- package/esm2020/lib/components/pagination/pagination.module.mjs +0 -24
- package/esm2020/lib/components/placeholder/index.mjs +0 -4
- package/esm2020/lib/components/placeholder/placeholder/placeholder.component.mjs +0 -26
- package/esm2020/lib/components/placeholder/placeholder-field/placeholder-field.directive.mjs +0 -46
- package/esm2020/lib/components/placeholder/placeholder.module.mjs +0 -19
- package/esm2020/lib/components/popover/component/popover.component.mjs +0 -56
- package/esm2020/lib/components/popover/directives/index.mjs +0 -4
- package/esm2020/lib/components/popover/directives/popover/popover.directive.mjs +0 -129
- package/esm2020/lib/components/popover/directives/popover-body/popover-body.directive.mjs +0 -19
- package/esm2020/lib/components/popover/directives/popover-header/popover-header.directive.mjs +0 -19
- package/esm2020/lib/components/popover/index.mjs +0 -4
- package/esm2020/lib/components/popover/popover.module.mjs +0 -35
- package/esm2020/lib/components/popover/providers/popover-content.provider.mjs +0 -3
- package/esm2020/lib/components/popover/providers/portal-factory.provider.mjs +0 -3
- package/esm2020/lib/components/progress-bar/index.mjs +0 -4
- package/esm2020/lib/components/progress-bar/progress/progress.component.mjs +0 -31
- package/esm2020/lib/components/progress-bar/progress-bar/progress-bar.component.mjs +0 -121
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +0 -29
- package/esm2020/lib/components/range/component/range.component.mjs +0 -15
- package/esm2020/lib/components/range/index.mjs +0 -4
- package/esm2020/lib/components/range/range.module.mjs +0 -19
- package/esm2020/lib/components/range/value-accessor/range-value-accessor.mjs +0 -62
- package/esm2020/lib/components/rating/index.mjs +0 -3
- package/esm2020/lib/components/rating/rating.component.mjs +0 -72
- package/esm2020/lib/components/rating/rating.module.mjs +0 -24
- package/esm2020/lib/components/scheduler/components/index.mjs +0 -3
- package/esm2020/lib/components/scheduler/components/resource-group-presenter/resource-group-presenter.component.mjs +0 -84
- package/esm2020/lib/components/scheduler/components/scheduler/scheduler.component.mjs +0 -537
- package/esm2020/lib/components/scheduler/constants/available-scales.mjs +0 -12
- package/esm2020/lib/components/scheduler/constants/index.mjs +0 -2
- package/esm2020/lib/components/scheduler/enums/drag-operation.mjs +0 -8
- package/esm2020/lib/components/scheduler/enums/index.mjs +0 -2
- package/esm2020/lib/components/scheduler/enums/scheduler-mode.mjs +0 -6
- package/esm2020/lib/components/scheduler/index.mjs +0 -6
- package/esm2020/lib/components/scheduler/interfaces/drag-operation.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/index.mjs +0 -6
- package/esm2020/lib/components/scheduler/interfaces/preview-event.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/resource-group.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/resource-or-group.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/resource.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/scheduler-event-part.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/scheduler-event-with-parts.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/scheduler-event.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/scheduler-schale.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/scheduler-stamp-with-slots.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/time-slot.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/timeline-options.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/timeline-track.mjs +0 -2
- package/esm2020/lib/components/scheduler/interfaces/week-options.mjs +0 -2
- package/esm2020/lib/components/scheduler/pipes/bs-seconds-timespan.pipe/bs-seconds-timespan.pipe.mjs +0 -16
- package/esm2020/lib/components/scheduler/pipes/bs-seconds-today-offset/bs-seconds-today-offset.pipe.mjs +0 -20
- package/esm2020/lib/components/scheduler/pipes/date-offset/date-offset.pipe.mjs +0 -20
- package/esm2020/lib/components/scheduler/pipes/day-of-week/day-of-week.pipe.mjs +0 -22
- package/esm2020/lib/components/scheduler/scheduler.module.mjs +0 -41
- package/esm2020/lib/components/scheduler/services/timeline/timeline.service.mjs +0 -65
- package/esm2020/lib/components/scrollspy/component/scrollspy.component.mjs +0 -90
- package/esm2020/lib/components/scrollspy/directives/scrollspy.directive.mjs +0 -16
- package/esm2020/lib/components/scrollspy/index.mjs +0 -4
- package/esm2020/lib/components/scrollspy/scrollspy.module.mjs +0 -29
- package/esm2020/lib/components/select/component/select.component.mjs +0 -85
- package/esm2020/lib/components/select/index.mjs +0 -5
- package/esm2020/lib/components/select/select.module.mjs +0 -31
- package/esm2020/lib/components/select/types/index.mjs +0 -2
- package/esm2020/lib/components/select/types/select-size.mjs +0 -2
- package/esm2020/lib/components/select/value-accessors/index.mjs +0 -2
- package/esm2020/lib/components/select/value-accessors/select-value-accessor.mjs +0 -171
- package/esm2020/lib/components/select2/component/select2.component.mjs +0 -96
- package/esm2020/lib/components/select2/directive/item-template.directive.mjs +0 -19
- package/esm2020/lib/components/select2/index.mjs +0 -4
- package/esm2020/lib/components/select2/select2.module.mjs +0 -41
- package/esm2020/lib/components/snackbar/component/snackbar.component.mjs +0 -35
- package/esm2020/lib/components/snackbar/directives/index.mjs +0 -2
- package/esm2020/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.mjs +0 -27
- package/esm2020/lib/components/snackbar/index.mjs +0 -6
- package/esm2020/lib/components/snackbar/interfaces/index.mjs +0 -2
- package/esm2020/lib/components/snackbar/interfaces/snackbar-animation-meta.mjs +0 -2
- package/esm2020/lib/components/snackbar/providers/snackbar-content.provider.mjs +0 -3
- package/esm2020/lib/components/snackbar/service/snackbar.service.mjs +0 -49
- package/esm2020/lib/components/snackbar/snackbar.module.mjs +0 -33
- package/esm2020/lib/components/spinner/index.mjs +0 -3
- package/esm2020/lib/components/spinner/spinner.component.mjs +0 -41
- package/esm2020/lib/components/spinner/spinner.module.mjs +0 -18
- package/esm2020/lib/components/tab-control/index.mjs +0 -4
- package/esm2020/lib/components/tab-control/tab-control/tab-control.component.mjs +0 -28
- package/esm2020/lib/components/tab-control/tab-control.module.mjs +0 -29
- package/esm2020/lib/components/tab-control/tab-page/tab-page.component.mjs +0 -23
- package/esm2020/lib/components/table/component/table.component.mjs +0 -47
- package/esm2020/lib/components/table/index.mjs +0 -3
- package/esm2020/lib/components/table/table.module.mjs +0 -18
- package/esm2020/lib/components/timepicker/index.mjs +0 -3
- package/esm2020/lib/components/timepicker/timepicker.component.mjs +0 -110
- package/esm2020/lib/components/timepicker/timepicker.module.mjs +0 -36
- package/esm2020/lib/components/toast/components/index.mjs +0 -5
- package/esm2020/lib/components/toast/components/toast/toast.component.mjs +0 -16
- package/esm2020/lib/components/toast/components/toast-body/toast-body.component.mjs +0 -20
- package/esm2020/lib/components/toast/components/toast-container/toast-container.component.mjs +0 -22
- package/esm2020/lib/components/toast/components/toast-header/toast-header.component.mjs +0 -17
- package/esm2020/lib/components/toast/directives/index.mjs +0 -2
- package/esm2020/lib/components/toast/directives/toast-close/toast-close.directive.mjs +0 -32
- package/esm2020/lib/components/toast/index.mjs +0 -5
- package/esm2020/lib/components/toast/providers/portal-factory.provider.mjs +0 -3
- package/esm2020/lib/components/toast/services/index.mjs +0 -2
- package/esm2020/lib/components/toast/services/toast/toast.service.mjs +0 -56
- package/esm2020/lib/components/toast/toast.module.mjs +0 -72
- package/esm2020/lib/components/toggle-button/component/toggle-button.component.mjs +0 -162
- package/esm2020/lib/components/toggle-button/directives/index.mjs +0 -2
- package/esm2020/lib/components/toggle-button/directives/toggle-button-group/toggle-button-group.directive.mjs +0 -19
- package/esm2020/lib/components/toggle-button/index.mjs +0 -6
- package/esm2020/lib/components/toggle-button/toggle-button.module.mjs +0 -34
- package/esm2020/lib/components/toggle-button/types/check-style.mjs +0 -2
- package/esm2020/lib/components/toggle-button/types/index.mjs +0 -2
- package/esm2020/lib/components/toggle-button/value-accessor/toggle-button-value-accessor.mjs +0 -108
- package/esm2020/lib/components/tooltip/component/tooltip.component.mjs +0 -29
- package/esm2020/lib/components/tooltip/directive/tooltip.directive.mjs +0 -110
- package/esm2020/lib/components/tooltip/index.mjs +0 -4
- package/esm2020/lib/components/tooltip/providers/tooltip-content.provider.mjs +0 -3
- package/esm2020/lib/components/tooltip/tooltip.module.mjs +0 -31
- package/esm2020/lib/components/typeahead/index.mjs +0 -3
- package/esm2020/lib/components/typeahead/typeahead.component.mjs +0 -92
- package/esm2020/lib/components/typeahead/typeahead.module.mjs +0 -36
- package/esm2020/lib/directives/enhanced-paste/enhanced-paste.directive.mjs +0 -58
- package/esm2020/lib/directives/enhanced-paste/enhanced-paste.module.mjs +0 -24
- package/esm2020/lib/directives/index.mjs +0 -2
- package/lib/components/accordion/accordion/accordion.component.d.ts +0 -10
- package/lib/components/accordion/accordion-tab/accordion-tab.component.d.ts +0 -17
- package/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.d.ts +0 -9
- package/lib/components/alert/alert/alert.component.d.ts +0 -15
- package/lib/components/alert/alert-close/alert-close.component.d.ts +0 -9
- package/lib/components/badge/badge.component.d.ts +0 -15
- package/lib/components/breadcrumb/breadcrumb/breadcrumb.component.d.ts +0 -8
- package/lib/components/breadcrumb/breadcrumb-item/breadcrumb-item.component.d.ts +0 -9
- package/lib/components/button-group/button-group/button-group.component.d.ts +0 -8
- package/lib/components/calendar/calendar.component.d.ts +0 -29
- package/lib/components/calendar/calendar.module.d.ts +0 -11
- package/lib/components/card/card/card.component.d.ts +0 -5
- package/lib/components/card/card-header/card-header.component.d.ts +0 -5
- package/lib/components/carousel/carousel/carousel.component.d.ts +0 -25
- package/lib/components/carousel/carousel-image/carousel-image.directive.d.ts +0 -9
- package/lib/components/close/close.component.d.ts +0 -10
- package/lib/components/code-snippet/code-snippet.component.d.ts +0 -12
- package/lib/components/code-snippet/code-snippet.module.d.ts +0 -10
- package/lib/components/context-menu/context-menu.directive.d.ts +0 -18
- package/lib/components/copy/copy.directive.d.ts +0 -11
- package/lib/components/datatable/datatable/datatable.component.d.ts +0 -19
- package/lib/components/datatable/datatable-column/datatable-column.directive.d.ts +0 -10
- package/lib/components/datatable/datatable-settings.d.ts +0 -15
- package/lib/components/datatable/datatable.module.d.ts +0 -13
- package/lib/components/datatable/index.d.ts +0 -5
- package/lib/components/datatable/row-template/row-template.directive.d.ts +0 -9
- package/lib/components/datepicker/datepicker.component.d.ts +0 -14
- package/lib/components/datepicker/datepicker.module.d.ts +0 -10
- package/lib/components/dropdown/dropdown/dropdown.directive.d.ts +0 -22
- package/lib/components/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +0 -23
- package/lib/components/dropdown/dropdown-toggle/dropdown-toggle.directive.d.ts +0 -11
- package/lib/components/file-upload/component/file-upload.component.d.ts +0 -19
- package/lib/components/file-upload/directive/file-upload-template.directive.d.ts +0 -8
- package/lib/components/file-upload/file-upload.module.d.ts +0 -13
- package/lib/components/for/for.directive.d.ts +0 -8
- package/lib/components/grid/component/grid.component.d.ts +0 -12
- package/lib/components/grid/directives/column/column.directive.d.ts +0 -12
- package/lib/components/grid/directives/row/row.directive.d.ts +0 -6
- package/lib/components/index.d.ts +0 -42
- package/lib/components/list-group/list-group/list-group.component.d.ts +0 -10
- package/lib/components/list-group/list-group-item/list-group-item.component.d.ts +0 -8
- package/lib/components/modal/components/modal/modal.component.d.ts +0 -9
- package/lib/components/modal/components/modal-host/modal-host.component.d.ts +0 -27
- package/lib/components/modal/directives/modal/modal.directive.d.ts +0 -8
- package/lib/components/modal/directives/modal-body/modal-body.directive.d.ts +0 -6
- package/lib/components/modal/directives/modal-close/modal-close.directive.d.ts +0 -9
- package/lib/components/modal/directives/modal-footer/modal-footer.directive.d.ts +0 -6
- package/lib/components/modal/directives/modal-header/modal-header.directive.d.ts +0 -6
- package/lib/components/multiselect/component/multiselect.component.d.ts +0 -13
- package/lib/components/multiselect/directives/button-template/button-template.directive.d.ts +0 -8
- package/lib/components/multiselect/directives/footer-template/footer-template.directive.d.ts +0 -8
- package/lib/components/multiselect/directives/header-template/header-template.directive.d.ts +0 -8
- package/lib/components/multiselect/multiselect.module.d.ts +0 -13
- package/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.d.ts +0 -13
- package/lib/components/navbar/expand-button/expand-button.directive.d.ts +0 -8
- package/lib/components/navbar/nav-link/nav-link.directive.d.ts +0 -9
- package/lib/components/navbar/navbar/navbar.component.d.ts +0 -12
- package/lib/components/navbar/navbar-brand/navbar-brand.component.d.ts +0 -7
- package/lib/components/navbar/navbar-content/navbar-content.directive.d.ts +0 -18
- package/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.d.ts +0 -24
- package/lib/components/navbar/navbar-item/navbar-item.component.d.ts +0 -16
- package/lib/components/navbar/navbar-nav/navbar-nav.component.d.ts +0 -19
- package/lib/components/navbar/navbar-toggler/navbar-toggler.component.d.ts +0 -13
- package/lib/components/navbar/navbar.module.d.ts +0 -19
- package/lib/components/offcanvas/components/offcanvas/offcanvas.component.d.ts +0 -34
- package/lib/components/offcanvas/components/offcanvas-body/offcanvas-body.component.d.ts +0 -9
- package/lib/components/offcanvas/components/offcanvas-header/offcanvas-header.component.d.ts +0 -8
- package/lib/components/offcanvas/components/offcanvas-host/offcanvas-host.component.d.ts +0 -37
- package/lib/components/offcanvas/directives/offcanvas-close/offcanvas-close.directive.d.ts +0 -9
- package/lib/components/offcanvas/directives/offcanvas-content/offcanvas-content.directive.d.ts +0 -8
- package/lib/components/pagination/pagination/pagination.component.d.ts +0 -49
- package/lib/components/placeholder/placeholder/placeholder.component.d.ts +0 -11
- package/lib/components/placeholder/placeholder-field/placeholder-field.directive.d.ts +0 -16
- package/lib/components/popover/component/popover.component.d.ts +0 -19
- package/lib/components/popover/directives/popover/popover.directive.d.ts +0 -27
- package/lib/components/popover/directives/popover-body/popover-body.directive.d.ts +0 -7
- package/lib/components/popover/directives/popover-header/popover-header.directive.d.ts +0 -7
- package/lib/components/progress-bar/progress/progress.component.d.ts +0 -8
- package/lib/components/progress-bar/progress-bar/progress-bar.component.d.ts +0 -31
- package/lib/components/range/component/range.component.d.ts +0 -8
- package/lib/components/range/value-accessor/range-value-accessor.d.ts +0 -20
- package/lib/components/rating/rating.component.d.ts +0 -22
- package/lib/components/scheduler/components/resource-group-presenter/resource-group-presenter.component.d.ts +0 -26
- package/lib/components/scheduler/components/scheduler/scheduler.component.d.ts +0 -86
- package/lib/components/scrollspy/component/scrollspy.component.d.ts +0 -25
- package/lib/components/scrollspy/directives/scrollspy.directive.d.ts +0 -8
- package/lib/components/select/component/select.component.d.ts +0 -26
- package/lib/components/select/value-accessors/select-value-accessor.d.ts +0 -44
- package/lib/components/select2/component/select2.component.d.ts +0 -28
- package/lib/components/select2/directive/item-template.directive.d.ts +0 -9
- package/lib/components/select2/select2.module.d.ts +0 -12
- package/lib/components/snackbar/component/snackbar.component.d.ts +0 -15
- package/lib/components/snackbar/directives/snackbar-close/snackbar-close.directive.d.ts +0 -11
- package/lib/components/spinner/spinner.component.d.ts +0 -19
- package/lib/components/tab-control/tab-control/tab-control.component.d.ts +0 -10
- package/lib/components/tab-control/tab-page/tab-page.component.d.ts +0 -11
- package/lib/components/table/component/table.component.d.ts +0 -16
- package/lib/components/timepicker/timepicker.component.d.ts +0 -25
- package/lib/components/timepicker/timepicker.module.d.ts +0 -11
- package/lib/components/toast/components/toast/toast.component.d.ts +0 -6
- package/lib/components/toast/components/toast-body/toast-body.component.d.ts +0 -7
- package/lib/components/toast/components/toast-container/toast-container.component.d.ts +0 -9
- package/lib/components/toast/components/toast-header/toast-header.component.d.ts +0 -7
- package/lib/components/toast/directives/toast-close/toast-close.directive.d.ts +0 -12
- package/lib/components/toast/toast.module.d.ts +0 -14
- package/lib/components/toggle-button/component/toggle-button.component.d.ts +0 -38
- package/lib/components/toggle-button/directives/toggle-button-group/toggle-button-group.directive.d.ts +0 -9
- package/lib/components/toggle-button/value-accessor/toggle-button-value-accessor.d.ts +0 -20
- package/lib/components/tooltip/component/tooltip.component.d.ts +0 -12
- package/lib/components/tooltip/directive/tooltip.directive.d.ts +0 -20
- package/lib/components/typeahead/typeahead.component.d.ts +0 -29
- package/lib/components/typeahead/typeahead.module.d.ts +0 -11
- package/lib/directives/enhanced-paste/enhanced-paste.directive.d.ts +0 -14
- package/lib/directives/index.d.ts +0 -1
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Component, HostBinding, Input } from '@angular/core';
|
|
2
|
+
import { Color } from '@mintplayer/ng-bootstrap';
|
|
3
|
+
import { BehaviorSubject, combineLatest, map, Subject, takeUntil } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class BsProgressBarComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.destroyed$ = new Subject();
|
|
8
|
+
this.minimum$ = new BehaviorSubject(0);
|
|
9
|
+
this.maximum$ = new BehaviorSubject(100);
|
|
10
|
+
this.value$ = new BehaviorSubject(50);
|
|
11
|
+
this.color$ = new BehaviorSubject(Color.primary);
|
|
12
|
+
this.striped = false;
|
|
13
|
+
this.animated = false;
|
|
14
|
+
this.progressBar = true;
|
|
15
|
+
this.colorClass = 'bg-primary';
|
|
16
|
+
this.widthStyle = '0';
|
|
17
|
+
this.role = 'progressbar';
|
|
18
|
+
this.valueNow = 50;
|
|
19
|
+
this.valueMin = 0;
|
|
20
|
+
this.valueMax = 100;
|
|
21
|
+
this.percentage$ = combineLatest([this.minimum$, this.maximum$, this.value$])
|
|
22
|
+
.pipe(map(([minimum, maximum, value]) => {
|
|
23
|
+
return (value - minimum) / (maximum - minimum) * 100;
|
|
24
|
+
}));
|
|
25
|
+
this.width$ = this.percentage$
|
|
26
|
+
.pipe(map((width) => {
|
|
27
|
+
return String(width) + '%';
|
|
28
|
+
}));
|
|
29
|
+
this.colorClass$ = this.color$
|
|
30
|
+
.pipe(map((color) => {
|
|
31
|
+
const name = Color[color];
|
|
32
|
+
return `bg-${name}`;
|
|
33
|
+
}));
|
|
34
|
+
this.colorClass$
|
|
35
|
+
.pipe(takeUntil(this.destroyed$))
|
|
36
|
+
.subscribe((color) => {
|
|
37
|
+
this.colorClass = color;
|
|
38
|
+
});
|
|
39
|
+
this.width$
|
|
40
|
+
.pipe(takeUntil(this.destroyed$))
|
|
41
|
+
.subscribe((width) => {
|
|
42
|
+
this.widthStyle = width;
|
|
43
|
+
});
|
|
44
|
+
this.value$
|
|
45
|
+
.pipe(takeUntil(this.destroyed$))
|
|
46
|
+
.subscribe((value) => {
|
|
47
|
+
this.valueNow = value;
|
|
48
|
+
});
|
|
49
|
+
this.minimum$
|
|
50
|
+
.pipe(takeUntil(this.destroyed$))
|
|
51
|
+
.subscribe((value) => {
|
|
52
|
+
this.valueMin = value;
|
|
53
|
+
});
|
|
54
|
+
this.maximum$
|
|
55
|
+
.pipe(takeUntil(this.destroyed$))
|
|
56
|
+
.subscribe((value) => {
|
|
57
|
+
this.valueMax = value;
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
set minimum(value) {
|
|
61
|
+
this.minimum$.next(value);
|
|
62
|
+
}
|
|
63
|
+
set maximum(value) {
|
|
64
|
+
this.maximum$.next(value);
|
|
65
|
+
}
|
|
66
|
+
set value(value) {
|
|
67
|
+
this.value$.next(value);
|
|
68
|
+
}
|
|
69
|
+
set color(value) {
|
|
70
|
+
this.color$.next(value);
|
|
71
|
+
}
|
|
72
|
+
ngOnDestroy() {
|
|
73
|
+
this.destroyed$.next(true);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
BsProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
+
BsProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: BsProgressBarComponent, selector: "bs-progress-bar", inputs: { minimum: "minimum", maximum: "maximum", value: "value", color: "color", striped: "striped", animated: "animated" }, host: { properties: { "class.progress-bar-striped": "this.striped", "class.progress-bar-animated": "this.animated", "class.progress-bar": "this.progressBar", "class": "this.colorClass", "style.width": "this.widthStyle", "attr.role": "this.role", "attr.aria-valuenow": "this.valueNow", "attr.aria-valuemin": "this.valueMin", "attr.aria-valuemax": "this.valueMax" } }, ngImport: i0, template: "", styles: ["@keyframes progress-bar-stripes{0%{background-position-x:1rem}}:host ::ng-deep .progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}:host ::ng-deep .progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){:host ::ng-deep .progress-bar{transition:none}}:host ::ng-deep .progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}:host ::ng-deep .progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){:host ::ng-deep .progress-bar-animated{animation:none}}\n"] });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsProgressBarComponent, decorators: [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{ selector: 'bs-progress-bar', template: "", styles: ["@keyframes progress-bar-stripes{0%{background-position-x:1rem}}:host ::ng-deep .progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}:host ::ng-deep .progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){:host ::ng-deep .progress-bar{transition:none}}:host ::ng-deep .progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}:host ::ng-deep .progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){:host ::ng-deep .progress-bar-animated{animation:none}}\n"] }]
|
|
81
|
+
}], ctorParameters: function () { return []; }, propDecorators: { minimum: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], maximum: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], value: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], color: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], striped: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}, {
|
|
92
|
+
type: HostBinding,
|
|
93
|
+
args: ['class.progress-bar-striped']
|
|
94
|
+
}], animated: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}, {
|
|
97
|
+
type: HostBinding,
|
|
98
|
+
args: ['class.progress-bar-animated']
|
|
99
|
+
}], progressBar: [{
|
|
100
|
+
type: HostBinding,
|
|
101
|
+
args: ['class.progress-bar']
|
|
102
|
+
}], colorClass: [{
|
|
103
|
+
type: HostBinding,
|
|
104
|
+
args: ['class']
|
|
105
|
+
}], widthStyle: [{
|
|
106
|
+
type: HostBinding,
|
|
107
|
+
args: ['style.width']
|
|
108
|
+
}], role: [{
|
|
109
|
+
type: HostBinding,
|
|
110
|
+
args: ['attr.role']
|
|
111
|
+
}], valueNow: [{
|
|
112
|
+
type: HostBinding,
|
|
113
|
+
args: ['attr.aria-valuenow']
|
|
114
|
+
}], valueMin: [{
|
|
115
|
+
type: HostBinding,
|
|
116
|
+
args: ['attr.aria-valuemin']
|
|
117
|
+
}], valueMax: [{
|
|
118
|
+
type: HostBinding,
|
|
119
|
+
args: ['attr.aria-valuemax']
|
|
120
|
+
}] } });
|
|
121
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcHJvZ3Jlc3MtYmFyL3NyYy9wcm9ncmVzcy1iYXIvcHJvZ3Jlc3MtYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcHJvZ3Jlc3MtYmFyL3NyYy9wcm9ncmVzcy1iYXIvcHJvZ3Jlc3MtYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDakQsT0FBTyxFQUFFLGVBQWUsRUFBRSxhQUFhLEVBQUUsR0FBRyxFQUFjLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxNQUFNLENBQUM7O0FBTzNGLE1BQU0sT0FBTyxzQkFBc0I7SUFFakM7UUEwQ0EsZUFBVSxHQUFHLElBQUksT0FBTyx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5kaW5nKCdhdHRyLmFyaWEtdmFsdWVtYXgnKSB2YWx1ZU1heCA9IDEwMDtcblxuICBuZ09uRGVzdHJveSgpIHtcbiAgICB0aGlzLmRlc3Ryb3llZCQubmV4dCh0cnVlKTtcbiAgfVxuXG59XG4iLCIiXX0=
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BsProgressComponent } from './progress/progress.component';
|
|
4
|
+
import { BsProgressBarComponent } from './progress-bar/progress-bar.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class BsProgressBarModule {
|
|
7
|
+
}
|
|
8
|
+
BsProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
BsProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: BsProgressBarModule, declarations: [BsProgressBarComponent,
|
|
10
|
+
BsProgressComponent], imports: [CommonModule], exports: [BsProgressBarComponent,
|
|
11
|
+
BsProgressComponent] });
|
|
12
|
+
BsProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsProgressBarModule, imports: [CommonModule] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsProgressBarModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
declarations: [
|
|
17
|
+
BsProgressBarComponent,
|
|
18
|
+
BsProgressComponent
|
|
19
|
+
],
|
|
20
|
+
imports: [
|
|
21
|
+
CommonModule
|
|
22
|
+
],
|
|
23
|
+
exports: [
|
|
24
|
+
BsProgressBarComponent,
|
|
25
|
+
BsProgressComponent
|
|
26
|
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HsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEJzUHJvZ3Jlc3NDb21wb25lbnQgfSBmcm9tICcuL3Byb2dyZXNzL3Byb2dyZXNzLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBCc1Byb2dyZXNzQmFyQ29tcG9uZW50IH0gZnJvbSAnLi9wcm9ncmVzcy1iYXIvcHJvZ3Jlc3MtYmFyLmNvbXBvbmVudCc7XG5cblxuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBCc1Byb2dyZXNzQmFyQ29tcG9uZW50LFxuICAgIEJzUHJvZ3Jlc3NDb21wb25lbnRcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgQnNQcm9ncmVzc0JhckNvbXBvbmVudCxcbiAgICBCc1Byb2dyZXNzQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgQnNQcm9ncmVzc0Jhck1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './src';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3JhbmdlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsT0FBTyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zcmMnO1xuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtcmFuZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3JhbmdlL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwLXJhbmdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, ElementRef, ViewChild } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class BsRangeComponent {
|
|
4
|
+
constructor() { }
|
|
5
|
+
}
|
|
6
|
+
BsRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
BsRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: BsRangeComponent, selector: "bs-range", viewQueries: [{ propertyName: "slider", first: true, predicate: ["slider"], descendants: true }], ngImport: i0, template: "<input #slider type=\"range\" min=\"0\" max=\"5\" step=\"0.5\" class=\"form-range\">\n", styles: [":host ::ng-deep .form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;appearance:none}:host ::ng-deep .form-range:focus{outline:0}:host ::ng-deep .form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-range::-moz-focus-outer{border:0}:host ::ng-deep .form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){:host ::ng-deep .form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}:host ::ng-deep .form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}:host ::ng-deep .form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}:host ::ng-deep .form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){:host ::ng-deep .form-range::-moz-range-thumb{-moz-transition:none;transition:none}}:host ::ng-deep .form-range::-moz-range-thumb:active{background-color:#b6d4fe}:host ::ng-deep .form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}:host ::ng-deep .form-range:disabled{pointer-events:none}:host ::ng-deep .form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}:host ::ng-deep .form-range:disabled::-moz-range-thumb{background-color:#adb5bd}\n"] });
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRangeComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: 'bs-range', template: "<input #slider type=\"range\" min=\"0\" max=\"5\" step=\"0.5\" class=\"form-range\">\n", styles: [":host ::ng-deep .form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;appearance:none}:host ::ng-deep .form-range:focus{outline:0}:host ::ng-deep .form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}:host ::ng-deep .form-range::-moz-focus-outer{border:0}:host ::ng-deep .form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){:host ::ng-deep .form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}:host ::ng-deep .form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}:host ::ng-deep .form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}:host ::ng-deep .form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){:host ::ng-deep .form-range::-moz-range-thumb{-moz-transition:none;transition:none}}:host ::ng-deep .form-range::-moz-range-thumb:active{background-color:#b6d4fe}:host ::ng-deep .form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}:host ::ng-deep .form-range:disabled{pointer-events:none}:host ::ng-deep .form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}:host ::ng-deep .form-range:disabled::-moz-range-thumb{background-color:#adb5bd}\n"] }]
|
|
11
|
+
}], ctorParameters: function () { return []; }, propDecorators: { slider: [{
|
|
12
|
+
type: ViewChild,
|
|
13
|
+
args: ['slider']
|
|
14
|
+
}] } });
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFuZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9yYW5nZS9zcmMvY29tcG9uZW50L3JhbmdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcmFuZ2Uvc3JjL2NvbXBvbmVudC9yYW5nZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBT2pFLE1BQU0sT0FBTyxnQkFBZ0I7SUFDM0IsZ0JBQWUsQ0FBQzs7NkdBREwsZ0JBQWdCO2lHQUFoQixnQkFBZ0Isa0pDUDdCLHdGQUNBOzJGRE1hLGdCQUFnQjtrQkFMNUIsU0FBUzsrQkFDRSxVQUFVOzBFQU9DLE1BQU07c0JBQTFCLFNBQVM7dUJBQUMsUUFBUSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgRWxlbWVudFJlZiwgVmlld0NoaWxkIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2JzLXJhbmdlJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3JhbmdlLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vcmFuZ2UuY29tcG9uZW50LnNjc3MnXSxcbn0pXG5leHBvcnQgY2xhc3MgQnNSYW5nZUNvbXBvbmVudCB7XG4gIGNvbnN0cnVjdG9yKCkge31cblxuICBAVmlld0NoaWxkKCdzbGlkZXInKSBzbGlkZXIhOiBFbGVtZW50UmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufVxuIiwiPGlucHV0ICNzbGlkZXIgdHlwZT1cInJhbmdlXCIgbWluPVwiMFwiIG1heD1cIjVcIiBzdGVwPVwiMC41XCIgY2xhc3M9XCJmb3JtLXJhbmdlXCI+XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './range.module';
|
|
2
|
+
export * from './component/range.component';
|
|
3
|
+
export * from './value-accessor/range-value-accessor';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3JhbmdlL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmFuZ2UubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50L3JhbmdlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3ZhbHVlLWFjY2Vzc29yL3JhbmdlLXZhbHVlLWFjY2Vzc29yJzsiXX0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BsRangeComponent } from './component/range.component';
|
|
4
|
+
import { BsRangeValueAccessor } from './value-accessor/range-value-accessor';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class BsRangeModule {
|
|
7
|
+
}
|
|
8
|
+
BsRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
BsRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: BsRangeModule, declarations: [BsRangeComponent, BsRangeValueAccessor], imports: [CommonModule], exports: [BsRangeComponent, BsRangeValueAccessor] });
|
|
10
|
+
BsRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRangeModule, imports: [CommonModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRangeModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [BsRangeComponent, BsRangeValueAccessor],
|
|
15
|
+
imports: [CommonModule],
|
|
16
|
+
exports: [BsRangeComponent, BsRangeValueAccessor],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFuZ2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9yYW5nZS9zcmMvcmFuZ2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFB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hbmdlTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { fromEvent, Subject, takeUntil } from 'rxjs';
|
|
4
|
+
import { BsRangeComponent } from '../component/range.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../component/range.component";
|
|
7
|
+
export class BsRangeValueAccessor {
|
|
8
|
+
constructor(host) {
|
|
9
|
+
this.host = host;
|
|
10
|
+
this.destroyed$ = new Subject();
|
|
11
|
+
}
|
|
12
|
+
//#region Lifecycle hooks
|
|
13
|
+
ngAfterViewInit() {
|
|
14
|
+
fromEvent(this.host.slider.nativeElement, 'input')
|
|
15
|
+
.pipe(takeUntil(this.destroyed$))
|
|
16
|
+
.subscribe((ev) => {
|
|
17
|
+
if (this.onValueChange) {
|
|
18
|
+
const val = parseFloat(ev.target.value);
|
|
19
|
+
this.onValueChange(val);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
ngOnDestroy() {
|
|
24
|
+
this.destroyed$.next(true);
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region ControlValueAccessor implementation
|
|
28
|
+
registerOnChange(fn) {
|
|
29
|
+
this.onValueChange = fn;
|
|
30
|
+
}
|
|
31
|
+
registerOnTouched(fn) {
|
|
32
|
+
this.onTouched = fn;
|
|
33
|
+
}
|
|
34
|
+
writeValue(value) {
|
|
35
|
+
if (this.host.slider) {
|
|
36
|
+
this.host.slider.nativeElement.value = value.toString();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
setDisabledState(isDisabled) {
|
|
40
|
+
if (this.host.slider) {
|
|
41
|
+
this.host.slider.nativeElement.disabled = isDisabled;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
BsRangeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRangeValueAccessor, deps: [{ token: i1.BsRangeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
46
|
+
BsRangeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: BsRangeValueAccessor, selector: "bs-range", providers: [{
|
|
47
|
+
provide: NG_VALUE_ACCESSOR,
|
|
48
|
+
useExisting: forwardRef(() => BsRangeValueAccessor),
|
|
49
|
+
multi: true,
|
|
50
|
+
}], ngImport: i0 });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRangeValueAccessor, decorators: [{
|
|
52
|
+
type: Directive,
|
|
53
|
+
args: [{
|
|
54
|
+
selector: 'bs-range',
|
|
55
|
+
providers: [{
|
|
56
|
+
provide: NG_VALUE_ACCESSOR,
|
|
57
|
+
useExisting: forwardRef(() => BsRangeValueAccessor),
|
|
58
|
+
multi: true,
|
|
59
|
+
}],
|
|
60
|
+
}]
|
|
61
|
+
}], ctorParameters: function () { return [{ type: i1.BsRangeComponent }]; } });
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFuZ2UtdmFsdWUtYWNjZXNzb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3JhbmdlL3NyYy92YWx1ZS1hY2Nlc3Nvci9yYW5nZS12YWx1ZS1hY2Nlc3Nvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWlCLFNBQVMsRUFBRSxVQUFVLEVBQTJCLE1BQU0sZUFBZSxDQUFDO0FBQzlGLE9BQU8sRUFBd0IsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQU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+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3JhdGluZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjJztcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtcmF0aW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9yYXRpbmcvbWludHBsYXllci1uZy1ib290c3RyYXAtcmF0aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './rating.component';
|
|
2
|
+
export * from './rating.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3JhdGluZy9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yYXRpbmcuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcmF0aW5nLm1vZHVsZSc7Il19
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Component, EventEmitter, HostListener, Input, Output } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, combineLatest, map, Subject, takeUntil } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class BsRatingComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.destroyed$ = new Subject();
|
|
8
|
+
this.maximum$ = new BehaviorSubject(5);
|
|
9
|
+
this.value$ = new BehaviorSubject(3);
|
|
10
|
+
this.previewValue$ = new BehaviorSubject(null);
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region Value
|
|
13
|
+
this.valueChange = new EventEmitter();
|
|
14
|
+
this.starsChange = new EventEmitter();
|
|
15
|
+
this.stars$ = combineLatest([this.maximum$, this.previewValue$, this.value$])
|
|
16
|
+
.pipe(map(([maximum, previewValue, value]) => {
|
|
17
|
+
const v = previewValue ?? value;
|
|
18
|
+
return [
|
|
19
|
+
...[...Array(v).keys()].map(i => true),
|
|
20
|
+
...[...Array(maximum - v).keys()].map(i => false)
|
|
21
|
+
];
|
|
22
|
+
}));
|
|
23
|
+
combineLatest([this.previewValue$, this.value$])
|
|
24
|
+
.pipe(takeUntil(this.destroyed$))
|
|
25
|
+
.subscribe(([previewValue, value]) => {
|
|
26
|
+
const v = previewValue ?? value;
|
|
27
|
+
this.starsChange.emit(v);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#region Maximum
|
|
31
|
+
set maximum(value) {
|
|
32
|
+
this.maximum$.next(value);
|
|
33
|
+
}
|
|
34
|
+
get value() {
|
|
35
|
+
return this.value$.value;
|
|
36
|
+
}
|
|
37
|
+
set value(value) {
|
|
38
|
+
this.value$.next(value);
|
|
39
|
+
this.valueChange.emit(value);
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
ngOnDestroy() {
|
|
43
|
+
this.destroyed$.next(true);
|
|
44
|
+
}
|
|
45
|
+
hoverValue(index) {
|
|
46
|
+
this.previewValue$.next(index + 1);
|
|
47
|
+
}
|
|
48
|
+
selectValue(index) {
|
|
49
|
+
this.value = index + 1;
|
|
50
|
+
}
|
|
51
|
+
onMouseLeave() {
|
|
52
|
+
this.previewValue$.next(null);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
BsRatingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRatingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
BsRatingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: BsRatingComponent, selector: "bs-rating", inputs: { maximum: "maximum", value: "value" }, outputs: { valueChange: "valueChange", starsChange: "starsChange" }, host: { listeners: { "mouseleave": "onMouseLeave()" } }, ngImport: i0, template: "<span class=\"cursor-pointer\" *ngFor=\"let star of (stars$ | async), let i = index\" (mouseenter)=\"hoverValue(i)\" (click)=\"selectValue(i)\">\n {{ star ? '★' : '☆' }}\n</span>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRatingComponent, decorators: [{
|
|
58
|
+
type: Component,
|
|
59
|
+
args: [{ selector: 'bs-rating', template: "<span class=\"cursor-pointer\" *ngFor=\"let star of (stars$ | async), let i = index\" (mouseenter)=\"hoverValue(i)\" (click)=\"selectValue(i)\">\n {{ star ? '★' : '☆' }}\n</span>" }]
|
|
60
|
+
}], ctorParameters: function () { return []; }, propDecorators: { maximum: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], valueChange: [{
|
|
63
|
+
type: Output
|
|
64
|
+
}], starsChange: [{
|
|
65
|
+
type: Output
|
|
66
|
+
}], value: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], onMouseLeave: [{
|
|
69
|
+
type: HostListener,
|
|
70
|
+
args: ['mouseleave']
|
|
71
|
+
}] } });
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcmF0aW5nL3NyYy9yYXRpbmcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9yYXRpbmcvc3JjL3JhdGluZy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFxQixNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDeEcsT0FBTyxFQUFFLGVBQWUsRUFBRSxhQUFhLEVBQUUsR0FBRyxFQUFjLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxNQUFNLENBQUM7OztBQU8zRixNQUFNLE9BQU8saUJBQWlCO0lBRTVCO1FBa0JBLGVBQVUsR0FBRyxJQUFJLE9BQU8sRUFBRSxDQUFDO1FBQzNCLGFBQVEsR0FBRyxJQ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9fVxuPC9zcGFuPiJdfQ==
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BsRatingComponent } from './rating.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class BsRatingModule {
|
|
6
|
+
}
|
|
7
|
+
BsRatingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
BsRatingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: BsRatingModule, declarations: [BsRatingComponent], imports: [CommonModule], exports: [BsRatingComponent] });
|
|
9
|
+
BsRatingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRatingModule, imports: [CommonModule] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BsRatingModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
declarations: [
|
|
14
|
+
BsRatingComponent
|
|
15
|
+
],
|
|
16
|
+
imports: [
|
|
17
|
+
CommonModule
|
|
18
|
+
],
|
|
19
|
+
exports: [
|
|
20
|
+
BsRatingComponent
|
|
21
|
+
]
|
|
22
|
+
}]
|
|
23
|
+
}] });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvcmF0aW5nL3NyYy9yYXRpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOi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lIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3NjaGVkdWxlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjJztcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtc2NoZWR1bGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9zY2hlZHVsZXIvbWludHBsYXllci1uZy1ib290c3RyYXAtc2NoZWR1bGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './scheduler/scheduler.component';
|
|
2
|
+
export * from './resource-group-presenter/resource-group-presenter.component';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3NjaGVkdWxlci9zcmMvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsK0RBQStELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NjaGVkdWxlci9zY2hlZHVsZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcmVzb3VyY2UtZ3JvdXAtcHJlc2VudGVyL3Jlc291cmNlLWdyb3VwLXByZXNlbnRlci5jb21wb25lbnQnOyJdfQ==
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, filter, map, Subject, take } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class ResourceGroupPresenterComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.level = 0;
|
|
8
|
+
this.resourceOrGroup$ = new BehaviorSubject(null);
|
|
9
|
+
this.timeSlots$ = new BehaviorSubject([]);
|
|
10
|
+
this.isExpanded$ = new BehaviorSubject(false);
|
|
11
|
+
this.destroyed$ = new Subject();
|
|
12
|
+
this.data$ = this.resourceOrGroup$
|
|
13
|
+
.pipe(map((resourceOrGroup) => {
|
|
14
|
+
if (!resourceOrGroup) {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
else if ('children' in resourceOrGroup) {
|
|
18
|
+
return {
|
|
19
|
+
resource: null,
|
|
20
|
+
resourceGroup: resourceOrGroup
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
return {
|
|
25
|
+
resource: resourceOrGroup,
|
|
26
|
+
resourceGroup: null
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}))
|
|
30
|
+
.pipe(filter((resourceOrGroup) => !!resourceOrGroup))
|
|
31
|
+
.pipe(map((resourceOrGroup) => resourceOrGroup));
|
|
32
|
+
this.colSpan$ = this.timeSlots$
|
|
33
|
+
.pipe(map(timeSlots => timeSlots
|
|
34
|
+
.map(timeslot => timeslot.slots.length)
|
|
35
|
+
.reduce((sum, current) => sum + current, 0)));
|
|
36
|
+
}
|
|
37
|
+
//#region resourceOrGroup
|
|
38
|
+
get resourceOrGroup() {
|
|
39
|
+
return this.resourceOrGroup$.value;
|
|
40
|
+
}
|
|
41
|
+
set resourceGroup(value) {
|
|
42
|
+
this.resourceOrGroup$.next(value);
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region timeSlots
|
|
46
|
+
get timeSlots() {
|
|
47
|
+
return this.timeSlots$.value;
|
|
48
|
+
}
|
|
49
|
+
set timeSlots(value) {
|
|
50
|
+
this.timeSlots$.next(value);
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region isExpanded
|
|
54
|
+
get isExpanded() {
|
|
55
|
+
return this.isExpanded$.value;
|
|
56
|
+
}
|
|
57
|
+
set isExpanded(value) {
|
|
58
|
+
this.isExpanded$.next(value);
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
61
|
+
toggleExpanded() {
|
|
62
|
+
this.isExpanded$.pipe(take(1)).subscribe((isExpanded) => {
|
|
63
|
+
this.isExpanded$.next(!isExpanded);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
ngOnDestroy() {
|
|
67
|
+
this.destroyed$.next(true);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
ResourceGroupPresenterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ResourceGroupPresenterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
+
ResourceGroupPresenterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: { level: "level", resourceGroup: "resourceGroup", timeSlots: "timeSlots", isExpanded: "isExpanded" }, ngImport: i0, template: "<ng-container *ngIf=\"(data$ | async) as data\">\n\n <!-- Data is a resource group -->\n <ng-container *ngIf=\"data.resourceGroup\">\n <!-- Header -->\n <tr class=\"p-0 cursor-pointer\" *ngIf=\"(timeSlots$ | async) as timeSlots\" [title]=\"data.resourceGroup.description\">\n <ng-container *ngIf=\"(colSpan$ | async) as colspan\">\n <td class=\"p-2 cursor-pointer\" [colSpan]=\"colspan + 1\" (click)=\"toggleExpanded()\">\n <span class=\"p-2 align-middle position-sticky\">\n <i class=\"bi bi-chevron-down\" [style.padding-left.px]=\"level * 20\" *ngIf=\"isExpanded$ | async\"></i>\n <i class=\"bi bi-chevron-right\" [style.padding-left.px]=\"level * 20\" *ngIf=\"(isExpanded$ | async) === false\"></i>\n {{ data.resourceGroup.description }}\n </span>\n </td>\n </ng-container>\n </tr>\n\n <!-- Subgroups or resources -->\n <ng-container *ngIf=\"isExpanded$ | async\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <ng-container *ngFor=\"let child of data.resourceGroup.children\">\n <bs-resource-group-presenter [resourceGroup]=\"child\" [timeSlots]=\"timeSlots\" [level]=\"level + 1\"></bs-resource-group-presenter>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- Data is a resource -->\n <tr *ngIf=\"data.resource\" class=\"p-0 bordered\" [title]=\"data.resource.description\">\n <td class=\"p-0 bg-white\">\n <div class=\"p-2\">{{ data.resource.description }}</div>\n </td>\n <ng-container *ngFor=\"let slots of (timeSlots$ | async)\">\n <td class=\"bg-white border-1\" *ngFor=\"let slot of slots.slots\">\n <!-- {{ slot.start | date: 'dd/MM/yyyy HH:mm:ss' }} -->\n </td>\n </ng-container>\n </tr>\n</ng-container>", styles: [":host{display:contents}tr{border-bottom-width:1px}tr:not(.bordered) td span.position-sticky{left:0;right:0}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResourceGroupPresenterComponent, selector: "bs-resource-group-presenter", inputs: ["level", "resourceGroup", "timeSlots", "isExpanded"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ResourceGroupPresenterComponent, decorators: [{
|
|
73
|
+
type: Component,
|
|
74
|
+
args: [{ selector: 'bs-resource-group-presenter', template: "<ng-container *ngIf=\"(data$ | async) as data\">\n\n <!-- Data is a resource group -->\n <ng-container *ngIf=\"data.resourceGroup\">\n <!-- Header -->\n <tr class=\"p-0 cursor-pointer\" *ngIf=\"(timeSlots$ | async) as timeSlots\" [title]=\"data.resourceGroup.description\">\n <ng-container *ngIf=\"(colSpan$ | async) as colspan\">\n <td class=\"p-2 cursor-pointer\" [colSpan]=\"colspan + 1\" (click)=\"toggleExpanded()\">\n <span class=\"p-2 align-middle position-sticky\">\n <i class=\"bi bi-chevron-down\" [style.padding-left.px]=\"level * 20\" *ngIf=\"isExpanded$ | async\"></i>\n <i class=\"bi bi-chevron-right\" [style.padding-left.px]=\"level * 20\" *ngIf=\"(isExpanded$ | async) === false\"></i>\n {{ data.resourceGroup.description }}\n </span>\n </td>\n </ng-container>\n </tr>\n\n <!-- Subgroups or resources -->\n <ng-container *ngIf=\"isExpanded$ | async\">\n <ng-container *ngIf=\"(timeSlots$ | async) as timeSlots\">\n <ng-container *ngFor=\"let child of data.resourceGroup.children\">\n <bs-resource-group-presenter [resourceGroup]=\"child\" [timeSlots]=\"timeSlots\" [level]=\"level + 1\"></bs-resource-group-presenter>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- Data is a resource -->\n <tr *ngIf=\"data.resource\" class=\"p-0 bordered\" [title]=\"data.resource.description\">\n <td class=\"p-0 bg-white\">\n <div class=\"p-2\">{{ data.resource.description }}</div>\n </td>\n <ng-container *ngFor=\"let slots of (timeSlots$ | async)\">\n <td class=\"bg-white border-1\" *ngFor=\"let slot of slots.slots\">\n <!-- {{ slot.start | date: 'dd/MM/yyyy HH:mm:ss' }} -->\n </td>\n </ng-container>\n </tr>\n</ng-container>", styles: [":host{display:contents}tr{border-bottom-width:1px}tr:not(.bordered) td span.position-sticky{left:0;right:0}\n"] }]
|
|
75
|
+
}], ctorParameters: function () { return []; }, propDecorators: { level: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], resourceGroup: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], timeSlots: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], isExpanded: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}] } });
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2UtZ3JvdXAtcHJlc2VudGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvc2NoZWR1bGVyL3NyYy9jb21wb25lbnRzL3Jlc291cmNlLWdyb3VwLXByZXNlbnRlci9yZXNvdXJjZS1ncm91cC1wcmVzZW50ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9zY2hlZHVsZXIvc3JjL2NvbXBvbmVudHMvcmVzb3VyY2UtZ3JvdXAtcHJlc2VudGVyL3Jlc291cmNlLWdyb3VwLXByZXNlbnRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBYSxNQUFNL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