ngx-bootstrap 10.2.1 → 11.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/README.md +3 -5
- package/accordion/accordion-group.component.d.ts +1 -1
- package/accordion/accordion.component.d.ts +1 -1
- package/accordion/esm2022/accordion-group.component.mjs +84 -0
- package/accordion/{esm2020 → esm2022}/accordion.component.mjs +4 -4
- package/accordion/{esm2020 → esm2022}/accordion.config.mjs +4 -4
- package/accordion/{esm2020 → esm2022}/accordion.module.mjs +5 -5
- package/accordion/{fesm2020 → fesm2022}/ngx-bootstrap-accordion.mjs +29 -29
- package/accordion/fesm2022/ngx-bootstrap-accordion.mjs.map +1 -0
- package/accordion/package.json +8 -14
- package/alert/alert.component.d.ts +1 -1
- package/alert/esm2022/alert.component.mjs +77 -0
- package/alert/{esm2020 → esm2022}/alert.config.mjs +4 -4
- package/alert/{esm2020 → esm2022}/alert.module.mjs +5 -5
- package/alert/{fesm2015 → fesm2022}/ngx-bootstrap-alert.mjs +10 -10
- package/alert/fesm2022/ngx-bootstrap-alert.mjs.map +1 -0
- package/alert/package.json +8 -14
- package/buttons/button-checkbox.directive.d.ts +2 -2
- package/buttons/button-radio.directive.d.ts +1 -1
- package/buttons/{esm2020 → esm2022}/button-checkbox.directive.mjs +4 -4
- package/buttons/{esm2020 → esm2022}/button-radio-group.directive.mjs +4 -4
- package/buttons/esm2022/button-radio.directive.mjs +188 -0
- package/buttons/{esm2020 → esm2022}/buttons.module.mjs +5 -5
- package/buttons/{fesm2020 → fesm2022}/ngx-bootstrap-buttons.mjs +26 -26
- package/buttons/fesm2022/ngx-bootstrap-buttons.mjs.map +1 -0
- package/buttons/package.json +7 -13
- package/carousel/carousel.component.d.ts +1 -1
- package/carousel/esm2022/carousel.component.mjs +713 -0
- package/carousel/{esm2020 → esm2022}/carousel.config.mjs +4 -4
- package/carousel/{esm2020 → esm2022}/carousel.module.mjs +5 -5
- package/carousel/{esm2020 → esm2022}/slide.component.mjs +6 -6
- package/carousel/{fesm2020 → fesm2022}/ngx-bootstrap-carousel.mjs +65 -56
- package/carousel/fesm2022/ngx-bootstrap-carousel.mjs.map +1 -0
- package/carousel/package.json +8 -14
- package/carousel/slide.component.d.ts +1 -1
- package/chronos/duration/create.d.ts +1 -1
- package/chronos/{fesm2020 → fesm2022}/ngx-bootstrap-chronos.mjs +4 -0
- package/chronos/fesm2022/ngx-bootstrap-chronos.mjs.map +1 -0
- package/chronos/locale/locale.class.d.ts +3 -3
- package/chronos/moment/calendar.d.ts +1 -1
- package/chronos/package.json +5 -11
- package/chronos/parse/regex.d.ts +1 -1
- package/chronos/testing/chain.d.ts +3 -3
- package/chronos/types.d.ts +4 -4
- package/chronos/units/aliases.d.ts +1 -1
- package/collapse/collapse.directive.d.ts +1 -1
- package/collapse/esm2022/collapse.directive.mjs +168 -0
- package/collapse/{esm2020 → esm2022}/collapse.module.mjs +5 -5
- package/collapse/{fesm2020 → fesm2022}/ngx-bootstrap-collapse.mjs +26 -26
- package/collapse/fesm2022/ngx-bootstrap-collapse.mjs.map +1 -0
- package/collapse/package.json +8 -14
- package/component-loader/{esm2020 → esm2022}/component-loader.factory.mjs +4 -4
- package/component-loader/{fesm2020 → fesm2022}/ngx-bootstrap-component-loader.mjs +5 -3
- package/component-loader/fesm2022/ngx-bootstrap-component-loader.mjs.map +1 -0
- package/component-loader/listen-options.model.d.ts +1 -1
- package/component-loader/package.json +7 -13
- package/datepicker/bs-datepicker-inline.component.d.ts +1 -1
- package/datepicker/bs-datepicker.component.d.ts +1 -1
- package/datepicker/bs-datepicker.config.d.ts +4 -0
- package/datepicker/bs-datepicker.css +6 -3
- package/datepicker/bs-datepicker.css.map +1 -1
- package/datepicker/bs-datepicker.scss +7 -2
- package/datepicker/bs-daterangepicker-inline.component.d.ts +1 -1
- package/datepicker/bs-daterangepicker.component.d.ts +1 -1
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-inline.component.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-inline.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-datepicker-input.directive.mjs +4 -4
- package/datepicker/esm2022/bs-datepicker.component.mjs +303 -0
- package/datepicker/esm2022/bs-datepicker.config.mjs +101 -0
- package/datepicker/{esm2020 → esm2022}/bs-datepicker.module.mjs +32 -32
- package/datepicker/esm2022/bs-daterangepicker-inline.component.mjs +163 -0
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker-inline.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker-input.directive.mjs +4 -4
- package/datepicker/esm2022/bs-daterangepicker.component.mjs +296 -0
- package/datepicker/{esm2020 → esm2022}/bs-daterangepicker.config.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/bs-locale.service.mjs +4 -4
- package/datepicker/esm2022/reducer/bs-datepicker.actions.mjs +143 -0
- package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.effects.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.store.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-calendar-layout.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-current-date-view.component.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-custom-dates-view.component.mjs +6 -6
- package/datepicker/esm2022/themes/bs/bs-datepicker-container.component.mjs +192 -0
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-day-decorator.directive.mjs +4 -4
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-inline-container.component.mjs +9 -9
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-datepicker-navigation-view.component.mjs +6 -6
- package/datepicker/esm2022/themes/bs/bs-daterangepicker-container.component.mjs +261 -0
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-daterangepicker-inline-container.component.mjs +9 -9
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-days-calendar-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-months-calendar-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-timepicker-view.component.mjs +6 -6
- package/datepicker/{esm2020 → esm2022}/themes/bs/bs-years-calendar-view.component.mjs +6 -6
- package/datepicker/{fesm2020 → fesm2022}/ngx-bootstrap-datepicker.mjs +236 -230
- package/datepicker/fesm2022/ngx-bootstrap-datepicker.mjs.map +1 -0
- package/datepicker/models/index.d.ts +1 -1
- package/datepicker/package.json +13 -19
- package/datepicker/themes/bs/bs-current-date-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-custom-dates-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-datepicker-day-decorator.directive.d.ts +1 -1
- package/datepicker/themes/bs/bs-datepicker-navigation-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-days-calendar-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-months-calendar-view.component.d.ts +1 -1
- package/datepicker/themes/bs/bs-years-calendar-view.component.d.ts +1 -1
- package/datepicker/utils/matrix-utils.d.ts +1 -1
- package/dropdown/bs-dropdown.directive.d.ts +1 -1
- package/dropdown/esm2022/bs-dropdown-container.component.mjs +79 -0
- package/dropdown/{esm2020 → esm2022}/bs-dropdown-menu.directive.mjs +4 -4
- package/dropdown/{esm2020 → esm2022}/bs-dropdown-toggle.directive.mjs +4 -4
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.config.mjs +4 -4
- package/dropdown/esm2022/bs-dropdown.directive.mjs +340 -0
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.module.mjs +10 -10
- package/dropdown/{esm2020 → esm2022}/bs-dropdown.state.mjs +4 -4
- package/dropdown/{fesm2020 → fesm2022}/ngx-bootstrap-dropdown.mjs +62 -62
- package/dropdown/fesm2022/ngx-bootstrap-dropdown.mjs.map +1 -0
- package/dropdown/package.json +10 -16
- package/fesm2022/ngx-bootstrap.mjs.map +1 -0
- package/focus-trap/boolean-property.d.ts +1 -1
- package/focus-trap/{esm2020 → esm2022}/focus-trap-manager.mjs +4 -4
- package/focus-trap/esm2022/focus-trap.mjs +399 -0
- package/focus-trap/{esm2020 → esm2022}/focus-trap.module.mjs +5 -5
- package/focus-trap/{esm2020 → esm2022}/interactivity-checker.mjs +4 -4
- package/focus-trap/{esm2020 → esm2022}/platform.mjs +4 -4
- package/focus-trap/{fesm2020 → fesm2022}/ngx-bootstrap-focus-trap.mjs +43 -39
- package/focus-trap/fesm2022/ngx-bootstrap-focus-trap.mjs.map +1 -0
- package/focus-trap/focus-trap.d.ts +1 -1
- package/focus-trap/package.json +8 -14
- package/locale/fesm2022/ngx-bootstrap-locale.mjs.map +1 -0
- package/locale/package.json +6 -12
- package/mini-ngrx/fesm2022/ngx-bootstrap-mini-ngrx.mjs.map +1 -0
- package/mini-ngrx/package.json +6 -12
- package/mini-ngrx/public_api.d.ts +1 -1
- package/modal/bs-modal.service.d.ts +1 -0
- package/modal/{esm2020 → esm2022}/bs-modal-ref.service.mjs +4 -4
- package/modal/esm2022/bs-modal.service.mjs +225 -0
- package/modal/esm2022/modal-backdrop.component.mjs +50 -0
- package/modal/esm2022/modal-container.component.mjs +151 -0
- package/modal/{esm2020 → esm2022}/modal-options.class.mjs +4 -4
- package/modal/esm2022/modal.directive.mjs +364 -0
- package/modal/{esm2020 → esm2022}/modal.module.mjs +7 -7
- package/modal/{fesm2020 → fesm2022}/ngx-bootstrap-modal.mjs +75 -59
- package/modal/fesm2022/ngx-bootstrap-modal.mjs.map +1 -0
- package/modal/modal-container.component.d.ts +1 -0
- package/modal/modal.directive.d.ts +2 -1
- package/modal/models/index.d.ts +1 -1
- package/modal/package.json +8 -14
- package/package.json +9 -15
- package/pagination/{esm2020 → esm2022}/pager.component.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.component.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.config.mjs +4 -4
- package/pagination/{esm2020 → esm2022}/pagination.module.mjs +5 -5
- package/pagination/{fesm2020 → fesm2022}/ngx-bootstrap-pagination.mjs +13 -13
- package/pagination/fesm2022/ngx-bootstrap-pagination.mjs.map +1 -0
- package/pagination/package.json +8 -14
- package/pagination/pager.component.d.ts +1 -1
- package/pagination/pagination.component.d.ts +1 -1
- package/popover/esm2022/popover-container.component.mjs +46 -0
- package/popover/{esm2020 → esm2022}/popover.config.mjs +4 -4
- package/popover/esm2022/popover.directive.mjs +241 -0
- package/popover/{esm2020 → esm2022}/popover.module.mjs +5 -5
- package/popover/{fesm2020 → fesm2022}/ngx-bootstrap-popover.mjs +31 -31
- package/popover/fesm2022/ngx-bootstrap-popover.mjs.map +1 -0
- package/popover/package.json +9 -15
- package/popover/popover-container.component.d.ts +1 -1
- package/popover/popover.directive.d.ts +1 -1
- package/positioning/{esm2020 → esm2022}/positioning.service.mjs +4 -4
- package/positioning/{fesm2020 → fesm2022}/ngx-bootstrap-positioning.mjs +3 -3
- package/positioning/fesm2022/ngx-bootstrap-positioning.mjs.map +1 -0
- package/positioning/models/index.d.ts +1 -1
- package/positioning/package.json +10 -16
- package/progressbar/bar.component.d.ts +1 -1
- package/progressbar/{esm2020 → esm2022}/bar.component.mjs +4 -4
- package/progressbar/esm2022/progressbar.component.mjs +53 -0
- package/progressbar/{esm2020 → esm2022}/progressbar.config.mjs +4 -4
- package/progressbar/{esm2020 → esm2022}/progressbar.module.mjs +5 -5
- package/progressbar/{fesm2020 → fesm2022}/ngx-bootstrap-progressbar.mjs +24 -24
- package/progressbar/fesm2022/ngx-bootstrap-progressbar.mjs.map +1 -0
- package/progressbar/package.json +7 -13
- package/progressbar/progressbar-type.interface.d.ts +1 -1
- package/progressbar/progressbar.component.d.ts +1 -1
- package/rating/{esm2020 → esm2022}/rating.component.mjs +4 -4
- package/rating/{esm2020 → esm2022}/rating.config.mjs +4 -4
- package/rating/{esm2020 → esm2022}/rating.module.mjs +5 -5
- package/rating/{fesm2015 → fesm2022}/ngx-bootstrap-rating.mjs +10 -10
- package/rating/fesm2022/ngx-bootstrap-rating.mjs.map +1 -0
- package/rating/package.json +8 -14
- package/rating/rating.component.d.ts +1 -1
- package/schematics/collection.json +1 -1
- package/schematics/package.json +7 -7
- package/schematics/utils/current_dependency_versions.json +1 -1
- package/schematics/utils/index.d.ts +0 -2
- package/schematics/utils/index.js +1 -13
- package/schematics/utils/index.js.map +1 -1
- package/sortable/{esm2020 → esm2022}/draggable-item.service.mjs +4 -4
- package/sortable/esm2022/sortable.component.mjs +266 -0
- package/sortable/{esm2020 → esm2022}/sortable.module.mjs +5 -5
- package/sortable/{fesm2020 → fesm2022}/ngx-bootstrap-sortable.mjs +28 -28
- package/sortable/fesm2022/ngx-bootstrap-sortable.mjs.map +1 -0
- package/sortable/package.json +10 -16
- package/sortable/sortable.component.d.ts +1 -1
- package/tabs/esm2022/ng-transclude.directive.mjs +28 -0
- package/tabs/{esm2020 → esm2022}/tab-heading.directive.mjs +4 -4
- package/tabs/esm2022/tab.directive.mjs +115 -0
- package/tabs/{esm2020 → esm2022}/tabs.module.mjs +11 -11
- package/tabs/esm2022/tabset.component.mjs +216 -0
- package/tabs/{esm2020 → esm2022}/tabset.config.mjs +4 -4
- package/tabs/{fesm2015 → fesm2022}/ngx-bootstrap-tabs.mjs +63 -63
- package/tabs/fesm2022/ngx-bootstrap-tabs.mjs.map +1 -0
- package/tabs/ng-transclude.directive.d.ts +1 -1
- package/tabs/package.json +7 -13
- package/tabs/tab.directive.d.ts +1 -1
- package/tabs/tabset.component.d.ts +1 -1
- package/timepicker/esm2022/reducer/timepicker.actions.mjs +53 -0
- package/timepicker/{esm2020 → esm2022}/reducer/timepicker.store.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.component.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.config.mjs +4 -4
- package/timepicker/{esm2020 → esm2022}/timepicker.module.mjs +5 -5
- package/timepicker/{fesm2020 → fesm2022}/ngx-bootstrap-timepicker.mjs +22 -22
- package/timepicker/fesm2022/ngx-bootstrap-timepicker.mjs.map +1 -0
- package/timepicker/package.json +10 -16
- package/timepicker/reducer/timepicker.reducer.d.ts +1 -3
- package/timepicker/timepicker.component.d.ts +1 -1
- package/timepicker/timepicker.models.d.ts +1 -1
- package/tooltip/{esm2020 → esm2022}/tooltip-container.component.mjs +9 -9
- package/tooltip/{esm2020 → esm2022}/tooltip.config.mjs +4 -4
- package/tooltip/esm2022/tooltip.directive.mjs +342 -0
- package/tooltip/{esm2020 → esm2022}/tooltip.module.mjs +5 -5
- package/tooltip/{fesm2020 → fesm2022}/ngx-bootstrap-tooltip.mjs +61 -61
- package/tooltip/fesm2022/ngx-bootstrap-tooltip.mjs.map +1 -0
- package/tooltip/package.json +10 -16
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/typeahead/esm2022/typeahead-container.component.mjs +311 -0
- package/typeahead/{esm2020 → esm2022}/typeahead.config.mjs +4 -4
- package/typeahead/{esm2020 → esm2022}/typeahead.directive.mjs +4 -4
- package/typeahead/{esm2020 → esm2022}/typeahead.module.mjs +5 -5
- package/typeahead/{fesm2020 → fesm2022}/ngx-bootstrap-typeahead.mjs +20 -20
- package/typeahead/fesm2022/ngx-bootstrap-typeahead.mjs.map +1 -0
- package/typeahead/package.json +12 -18
- package/typeahead/typeahead.directive.d.ts +3 -3
- package/utils/{esm2020 → esm2022}/triggers.mjs +5 -3
- package/utils/{fesm2020 → fesm2022}/ngx-bootstrap-utils.mjs +4 -2
- package/utils/fesm2022/ngx-bootstrap-utils.mjs.map +1 -0
- package/utils/package.json +6 -12
- package/utils/theme-provider.d.ts +1 -1
- package/utils/triggers.d.ts +1 -1
- package/accordion/esm2020/accordion-group.component.mjs +0 -84
- package/accordion/fesm2015/ngx-bootstrap-accordion.mjs +0 -182
- package/accordion/fesm2015/ngx-bootstrap-accordion.mjs.map +0 -1
- package/accordion/fesm2020/ngx-bootstrap-accordion.mjs.map +0 -1
- package/alert/esm2020/alert.component.mjs +0 -77
- package/alert/fesm2015/ngx-bootstrap-alert.mjs.map +0 -1
- package/alert/fesm2020/ngx-bootstrap-alert.mjs +0 -119
- package/alert/fesm2020/ngx-bootstrap-alert.mjs.map +0 -1
- package/buttons/esm2020/button-radio.directive.mjs +0 -188
- package/buttons/fesm2015/ngx-bootstrap-buttons.mjs +0 -448
- package/buttons/fesm2015/ngx-bootstrap-buttons.mjs.map +0 -1
- package/buttons/fesm2020/ngx-bootstrap-buttons.mjs.map +0 -1
- package/carousel/esm2020/carousel.component.mjs +0 -713
- package/carousel/fesm2015/ngx-bootstrap-carousel.mjs +0 -851
- package/carousel/fesm2015/ngx-bootstrap-carousel.mjs.map +0 -1
- package/carousel/fesm2020/ngx-bootstrap-carousel.mjs.map +0 -1
- package/chronos/fesm2015/ngx-bootstrap-chronos.mjs +0 -7384
- package/chronos/fesm2015/ngx-bootstrap-chronos.mjs.map +0 -1
- package/chronos/fesm2020/ngx-bootstrap-chronos.mjs.map +0 -1
- package/collapse/esm2020/collapse.directive.mjs +0 -168
- package/collapse/fesm2015/ngx-bootstrap-collapse.mjs +0 -200
- package/collapse/fesm2015/ngx-bootstrap-collapse.mjs.map +0 -1
- package/collapse/fesm2020/ngx-bootstrap-collapse.mjs.map +0 -1
- package/component-loader/fesm2015/ngx-bootstrap-component-loader.mjs +0 -345
- package/component-loader/fesm2015/ngx-bootstrap-component-loader.mjs.map +0 -1
- package/component-loader/fesm2020/ngx-bootstrap-component-loader.mjs.map +0 -1
- package/datepicker/esm2020/bs-datepicker.component.mjs +0 -302
- package/datepicker/esm2020/bs-datepicker.config.mjs +0 -97
- package/datepicker/esm2020/bs-daterangepicker-inline.component.mjs +0 -163
- package/datepicker/esm2020/bs-daterangepicker.component.mjs +0 -295
- package/datepicker/esm2020/reducer/bs-datepicker.actions.mjs +0 -143
- package/datepicker/esm2020/themes/bs/bs-datepicker-container.component.mjs +0 -192
- package/datepicker/esm2020/themes/bs/bs-daterangepicker-container.component.mjs +0 -261
- package/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs +0 -3965
- package/datepicker/fesm2015/ngx-bootstrap-datepicker.mjs.map +0 -1
- package/datepicker/fesm2020/ngx-bootstrap-datepicker.mjs.map +0 -1
- package/dropdown/esm2020/bs-dropdown-container.component.mjs +0 -79
- package/dropdown/esm2020/bs-dropdown.directive.mjs +0 -340
- package/dropdown/fesm2015/ngx-bootstrap-dropdown.mjs +0 -603
- package/dropdown/fesm2015/ngx-bootstrap-dropdown.mjs.map +0 -1
- package/dropdown/fesm2020/ngx-bootstrap-dropdown.mjs.map +0 -1
- package/fesm2015/ngx-bootstrap.mjs.map +0 -1
- package/fesm2020/ngx-bootstrap.mjs +0 -6
- package/fesm2020/ngx-bootstrap.mjs.map +0 -1
- package/focus-trap/esm2020/focus-trap.mjs +0 -399
- package/focus-trap/fesm2015/ngx-bootstrap-focus-trap.mjs +0 -800
- package/focus-trap/fesm2015/ngx-bootstrap-focus-trap.mjs.map +0 -1
- package/focus-trap/fesm2020/ngx-bootstrap-focus-trap.mjs.map +0 -1
- package/locale/fesm2015/ngx-bootstrap-locale.mjs.map +0 -1
- package/locale/fesm2020/ngx-bootstrap-locale.mjs +0 -6
- package/locale/fesm2020/ngx-bootstrap-locale.mjs.map +0 -1
- package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.mjs +0 -64
- package/mini-ngrx/fesm2015/ngx-bootstrap-mini-ngrx.mjs.map +0 -1
- package/mini-ngrx/fesm2020/ngx-bootstrap-mini-ngrx.mjs.map +0 -1
- package/modal/esm2020/bs-modal.service.mjs +0 -219
- package/modal/esm2020/modal-backdrop.component.mjs +0 -50
- package/modal/esm2020/modal-container.component.mjs +0 -145
- package/modal/esm2020/modal.directive.mjs +0 -360
- package/modal/fesm2015/ngx-bootstrap-modal.mjs +0 -874
- package/modal/fesm2015/ngx-bootstrap-modal.mjs.map +0 -1
- package/modal/fesm2020/ngx-bootstrap-modal.mjs.map +0 -1
- package/pagination/fesm2015/ngx-bootstrap-pagination.mjs +0 -565
- package/pagination/fesm2015/ngx-bootstrap-pagination.mjs.map +0 -1
- package/pagination/fesm2020/ngx-bootstrap-pagination.mjs.map +0 -1
- package/popover/esm2020/popover-container.component.mjs +0 -46
- package/popover/esm2020/popover.directive.mjs +0 -241
- package/popover/fesm2015/ngx-bootstrap-popover.mjs +0 -339
- package/popover/fesm2015/ngx-bootstrap-popover.mjs.map +0 -1
- package/popover/fesm2020/ngx-bootstrap-popover.mjs.map +0 -1
- package/positioning/fesm2015/ngx-bootstrap-positioning.mjs +0 -1018
- package/positioning/fesm2015/ngx-bootstrap-positioning.mjs.map +0 -1
- package/positioning/fesm2020/ngx-bootstrap-positioning.mjs.map +0 -1
- package/progressbar/esm2020/progressbar.component.mjs +0 -53
- package/progressbar/fesm2015/ngx-bootstrap-progressbar.mjs +0 -163
- package/progressbar/fesm2015/ngx-bootstrap-progressbar.mjs.map +0 -1
- package/progressbar/fesm2020/ngx-bootstrap-progressbar.mjs.map +0 -1
- package/rating/fesm2015/ngx-bootstrap-rating.mjs.map +0 -1
- package/rating/fesm2020/ngx-bootstrap-rating.mjs +0 -163
- package/rating/fesm2020/ngx-bootstrap-rating.mjs.map +0 -1
- package/sortable/esm2020/sortable.component.mjs +0 -266
- package/sortable/fesm2015/ngx-bootstrap-sortable.mjs +0 -324
- package/sortable/fesm2015/ngx-bootstrap-sortable.mjs.map +0 -1
- package/sortable/fesm2020/ngx-bootstrap-sortable.mjs.map +0 -1
- package/tabs/esm2020/ng-transclude.directive.mjs +0 -28
- package/tabs/esm2020/tab.directive.mjs +0 -115
- package/tabs/esm2020/tabset.component.mjs +0 -216
- package/tabs/fesm2015/ngx-bootstrap-tabs.mjs.map +0 -1
- package/tabs/fesm2020/ngx-bootstrap-tabs.mjs +0 -427
- package/tabs/fesm2020/ngx-bootstrap-tabs.mjs.map +0 -1
- package/timepicker/esm2020/reducer/timepicker.actions.mjs +0 -53
- package/timepicker/fesm2015/ngx-bootstrap-timepicker.mjs +0 -830
- package/timepicker/fesm2015/ngx-bootstrap-timepicker.mjs.map +0 -1
- package/timepicker/fesm2020/ngx-bootstrap-timepicker.mjs.map +0 -1
- package/tooltip/esm2020/tooltip.directive.mjs +0 -342
- package/tooltip/fesm2015/ngx-bootstrap-tooltip.mjs +0 -431
- package/tooltip/fesm2015/ngx-bootstrap-tooltip.mjs.map +0 -1
- package/tooltip/fesm2020/ngx-bootstrap-tooltip.mjs.map +0 -1
- package/typeahead/esm2020/typeahead-container.component.mjs +0 -311
- package/typeahead/fesm2015/ngx-bootstrap-typeahead.mjs +0 -1890
- package/typeahead/fesm2015/ngx-bootstrap-typeahead.mjs.map +0 -1
- package/typeahead/fesm2020/ngx-bootstrap-typeahead.mjs.map +0 -1
- package/utils/fesm2015/ngx-bootstrap-utils.mjs +0 -521
- package/utils/fesm2015/ngx-bootstrap-utils.mjs.map +0 -1
- package/utils/fesm2020/ngx-bootstrap-utils.mjs.map +0 -1
- /package/accordion/{esm2020 → esm2022}/index.mjs +0 -0
- /package/accordion/{esm2020 → esm2022}/ngx-bootstrap-accordion.mjs +0 -0
- /package/accordion/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/index.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/ngx-bootstrap-alert.mjs +0 -0
- /package/alert/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/index.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/ngx-bootstrap-buttons.mjs +0 -0
- /package/buttons/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/index.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/ngx-bootstrap-carousel.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/carousel/{esm2020 → esm2022}/utils.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/check-overflow.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/clone.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/date-from-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-anything.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-object.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string-and-array.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string-and-format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/from-string.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/local.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/parsing-flags.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/parsing.types.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/create/valid.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/bubble.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/constructor.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/create.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/humanize.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/duration/valid.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/format/format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/format.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/bg.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ca.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/cs.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/da.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/de.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/en-gb.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-do.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-pr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es-us.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/es.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/et.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/fi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/fr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/gl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/he.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/hu.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/id.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/it.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ja.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ka.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/kk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ko.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/lt.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/lv.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/mn.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nb.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nl-be.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/nl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/pl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/pt-br.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ro.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/ru.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sl.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sq.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/sv.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/th-be.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/th.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/tr.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/uk.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/vi.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/i18n/zh-cn.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/index.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/calendar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locale.class.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locale.defaults.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/locale/locales.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/add-subtract.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/calendar.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/diff.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/moment/min-max.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/ngx-bootstrap-chronos.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/parse/regex.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/parse/token.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/testing/chain.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/types.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/aliases.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/constants.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-month.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-week.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/day-of-year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/hour.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/index.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/millisecond.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/minute.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/month.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/offset.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/priorities.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/quarter.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/second.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/timestamp.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/timezone.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week-calendar-utils.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week-year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/week.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/units/year.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/abs-ceil.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/abs-round.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/compare-arrays.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-compare.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-getters.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/date-setters.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/defaults.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/start-end-of.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/type-checks.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils/zero-fill.mjs +0 -0
- /package/chronos/{esm2020 → esm2022}/utils.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/collapse-animations.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/index.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/ngx-bootstrap-collapse.mjs +0 -0
- /package/collapse/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/bs-component-ref.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/component-loader.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/content-ref.class.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/index.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/listen-options.model.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/ngx-bootstrap-component-loader.mjs +0 -0
- /package/component-loader/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/base/bs-datepicker-container.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/datepicker-animations.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/calc-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-months-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/flag-years-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-days-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-months-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/format-years-calendar.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/engine/view-mode.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/index.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/ngx-bootstrap-datepicker.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/_defaults.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.reducer.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/reducer/bs-datepicker.state.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/bs-calendar-utils.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/copy-time-utils.mjs +0 -0
- /package/datepicker/{esm2020 → esm2022}/utils/matrix-utils.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/dropdown-animations.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/index.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/ngx-bootstrap-dropdown.mjs +0 -0
- /package/dropdown/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/ngx-bootstrap.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ngx-bootstrap.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/boolean-property.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/index.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/ngx-bootstrap-focus-trap.mjs +0 -0
- /package/focus-trap/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/index.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/ngx-bootstrap-locale.mjs +0 -0
- /package/locale/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/locale/{fesm2015 → fesm2022}/ngx-bootstrap-locale.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/index.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/ngx-bootstrap-mini-ngrx.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/state.class.mjs +0 -0
- /package/mini-ngrx/{esm2020 → esm2022}/store.class.mjs +0 -0
- /package/mini-ngrx/{fesm2020 → fesm2022}/ngx-bootstrap-mini-ngrx.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/index.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/modal-backdrop.options.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/ngx-bootstrap-modal.mjs +0 -0
- /package/modal/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/index.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/ngx-bootstrap-pagination.mjs +0 -0
- /package/pagination/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/index.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/ngx-bootstrap-popover.mjs +0 -0
- /package/popover/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/arrow.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/flip.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/initData.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/preventOverflow.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/modifiers/shift.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/ng-positioning.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/ngx-bootstrap-positioning.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/checkMargin.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/computeAutoPlacement.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/findCommonOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBordersSize.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBoundaries.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getBoundingClientRect.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getClientRect.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getFixedPositionOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsetParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsetRectRelativeToArbitraryNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOppositePlacement.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOppositeVariation.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getOuterSizes.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getParentNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getReferenceOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getRoot.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getScroll.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getScrollParent.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getStyleComputedProperty.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getTargetOffsets.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getViewportOffsetRectRelativeToArtbitraryNode.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/getWindowSizes.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/includeScroll.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/index.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isFixed.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isModifierEnabled.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isNumeric.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/isOffsetContainer.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/setStyles.mjs +0 -0
- /package/positioning/{esm2020 → esm2022}/utils/updateContainerClass.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/index.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/ngx-bootstrap-progressbar.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/progressbar-type.interface.mjs +0 -0
- /package/progressbar/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/index.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/ngx-bootstrap-rating.mjs +0 -0
- /package/rating/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/draggable-item.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/index.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/ngx-bootstrap-sortable.mjs +0 -0
- /package/sortable/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/index.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/ngx-bootstrap-tabs.mjs +0 -0
- /package/tabs/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/index.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/ngx-bootstrap-timepicker.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/reducer/timepicker.reducer.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker-controls.util.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker.models.mjs +0 -0
- /package/timepicker/{esm2020 → esm2022}/timepicker.utils.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/index.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/ngx-bootstrap-tooltip.mjs +0 -0
- /package/tooltip/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/index.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/latin-map.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/models/index.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/ngx-bootstrap-typeahead.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-animations.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-match.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-options.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-order.class.mjs +0 -0
- /package/typeahead/{esm2020 → esm2022}/typeahead-utils.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/decorators.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/facade/browser.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/index.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/linked-list.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/ngx-bootstrap-utils.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/theme-provider.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/trigger.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/utils.class.mjs +0 -0
- /package/utils/{esm2020 → esm2022}/warn-once.mjs +0 -0
@@ -1,830 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { Injectable, forwardRef, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, NgModule } from '@angular/core';
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
import { BehaviorSubject } from 'rxjs';
|
5
|
-
import { MiniStore, MiniState } from 'ngx-bootstrap/mini-ngrx';
|
6
|
-
import * as i4 from '@angular/common';
|
7
|
-
import { CommonModule } from '@angular/common';
|
8
|
-
|
9
|
-
const dex = 10;
|
10
|
-
const hoursPerDay = 24;
|
11
|
-
const hoursPerDayHalf = 12;
|
12
|
-
const minutesPerHour = 60;
|
13
|
-
const secondsPerMinute = 60;
|
14
|
-
function isValidDate(value) {
|
15
|
-
if (!value) {
|
16
|
-
return false;
|
17
|
-
}
|
18
|
-
if (value instanceof Date && isNaN(value.getHours())) {
|
19
|
-
return false;
|
20
|
-
}
|
21
|
-
if (typeof value === 'string') {
|
22
|
-
return isValidDate(new Date(value));
|
23
|
-
}
|
24
|
-
return true;
|
25
|
-
}
|
26
|
-
function isValidLimit(controls, newDate) {
|
27
|
-
if (controls.min && newDate < controls.min) {
|
28
|
-
return false;
|
29
|
-
}
|
30
|
-
if (controls.max && newDate > controls.max) {
|
31
|
-
return false;
|
32
|
-
}
|
33
|
-
return true;
|
34
|
-
}
|
35
|
-
function toNumber(value) {
|
36
|
-
if (typeof value === 'undefined') {
|
37
|
-
return NaN;
|
38
|
-
}
|
39
|
-
if (typeof value === 'number') {
|
40
|
-
return value;
|
41
|
-
}
|
42
|
-
return parseInt(value, dex);
|
43
|
-
}
|
44
|
-
function isNumber(value) {
|
45
|
-
return !isNaN(toNumber(value));
|
46
|
-
}
|
47
|
-
function parseHours(value, isPM = false) {
|
48
|
-
const hour = toNumber(value);
|
49
|
-
if (isNaN(hour) ||
|
50
|
-
hour < 0 ||
|
51
|
-
hour > (isPM ? hoursPerDayHalf : hoursPerDay)) {
|
52
|
-
return NaN;
|
53
|
-
}
|
54
|
-
return hour;
|
55
|
-
}
|
56
|
-
function parseMinutes(value) {
|
57
|
-
const minute = toNumber(value);
|
58
|
-
if (isNaN(minute) || minute < 0 || minute > minutesPerHour) {
|
59
|
-
return NaN;
|
60
|
-
}
|
61
|
-
return minute;
|
62
|
-
}
|
63
|
-
function parseSeconds(value) {
|
64
|
-
const seconds = toNumber(value);
|
65
|
-
if (isNaN(seconds) || seconds < 0 || seconds > secondsPerMinute) {
|
66
|
-
return NaN;
|
67
|
-
}
|
68
|
-
return seconds;
|
69
|
-
}
|
70
|
-
function parseTime(value) {
|
71
|
-
if (typeof value === 'string') {
|
72
|
-
return new Date(value);
|
73
|
-
}
|
74
|
-
return value;
|
75
|
-
}
|
76
|
-
function changeTime(value, diff) {
|
77
|
-
if (!value) {
|
78
|
-
return changeTime(createDate(new Date(), 0, 0, 0), diff);
|
79
|
-
}
|
80
|
-
if (!diff) {
|
81
|
-
return value;
|
82
|
-
}
|
83
|
-
let hour = value.getHours();
|
84
|
-
let minutes = value.getMinutes();
|
85
|
-
let seconds = value.getSeconds();
|
86
|
-
if (diff.hour) {
|
87
|
-
hour = hour + toNumber(diff.hour);
|
88
|
-
}
|
89
|
-
if (diff.minute) {
|
90
|
-
minutes = minutes + toNumber(diff.minute);
|
91
|
-
}
|
92
|
-
if (diff.seconds) {
|
93
|
-
seconds = seconds + toNumber(diff.seconds);
|
94
|
-
}
|
95
|
-
return createDate(value, hour, minutes, seconds);
|
96
|
-
}
|
97
|
-
function setTime(value, opts) {
|
98
|
-
let hour = parseHours(opts.hour);
|
99
|
-
const minute = parseMinutes(opts.minute);
|
100
|
-
const seconds = parseSeconds(opts.seconds) || 0;
|
101
|
-
if (opts.isPM && hour !== 12) {
|
102
|
-
hour += hoursPerDayHalf;
|
103
|
-
}
|
104
|
-
if (!value) {
|
105
|
-
if (!isNaN(hour) && !isNaN(minute)) {
|
106
|
-
return createDate(new Date(), hour, minute, seconds);
|
107
|
-
}
|
108
|
-
return value;
|
109
|
-
}
|
110
|
-
if (isNaN(hour) || isNaN(minute)) {
|
111
|
-
return value;
|
112
|
-
}
|
113
|
-
return createDate(value, hour, minute, seconds);
|
114
|
-
}
|
115
|
-
function createDate(value, hours, minutes, seconds) {
|
116
|
-
const newValue = new Date(value.getFullYear(), value.getMonth(), value.getDate(), hours, minutes, seconds, value.getMilliseconds());
|
117
|
-
// #3139 ensure date part remains unchanged
|
118
|
-
newValue.setFullYear(value.getFullYear());
|
119
|
-
newValue.setMonth(value.getMonth());
|
120
|
-
newValue.setDate(value.getDate());
|
121
|
-
return newValue;
|
122
|
-
}
|
123
|
-
function padNumber(value) {
|
124
|
-
const _value = value.toString();
|
125
|
-
if (_value.length > 1) {
|
126
|
-
return _value;
|
127
|
-
}
|
128
|
-
return `0${_value}`;
|
129
|
-
}
|
130
|
-
function isHourInputValid(hours, isPM) {
|
131
|
-
return !isNaN(parseHours(hours, isPM));
|
132
|
-
}
|
133
|
-
function isMinuteInputValid(minutes) {
|
134
|
-
return !isNaN(parseMinutes(minutes));
|
135
|
-
}
|
136
|
-
function isSecondInputValid(seconds) {
|
137
|
-
return !isNaN(parseSeconds(seconds));
|
138
|
-
}
|
139
|
-
function isInputLimitValid(diff, max, min) {
|
140
|
-
const newDate = setTime(new Date(), diff);
|
141
|
-
if (!newDate) {
|
142
|
-
return false;
|
143
|
-
}
|
144
|
-
if (max && newDate > max) {
|
145
|
-
return false;
|
146
|
-
}
|
147
|
-
if (min && newDate < min) {
|
148
|
-
return false;
|
149
|
-
}
|
150
|
-
return true;
|
151
|
-
}
|
152
|
-
function isOneOfDatesEmpty(hours, minutes, seconds) {
|
153
|
-
return hours.length === 0 || minutes.length === 0 || seconds.length === 0;
|
154
|
-
}
|
155
|
-
function isInputValid(hours, minutes = '0', seconds = '0', isPM) {
|
156
|
-
return isHourInputValid(hours, isPM)
|
157
|
-
&& isMinuteInputValid(minutes)
|
158
|
-
&& isSecondInputValid(seconds);
|
159
|
-
}
|
160
|
-
|
161
|
-
function canChangeValue(state, event) {
|
162
|
-
if (state.readonlyInput || state.disabled) {
|
163
|
-
return false;
|
164
|
-
}
|
165
|
-
if (event) {
|
166
|
-
if (event.source === 'wheel' && !state.mousewheel) {
|
167
|
-
return false;
|
168
|
-
}
|
169
|
-
if (event.source === 'key' && !state.arrowkeys) {
|
170
|
-
return false;
|
171
|
-
}
|
172
|
-
}
|
173
|
-
return true;
|
174
|
-
}
|
175
|
-
function canChangeHours(event, controls) {
|
176
|
-
if (!event.step) {
|
177
|
-
return false;
|
178
|
-
}
|
179
|
-
if (event.step > 0 && !controls.canIncrementHours) {
|
180
|
-
return false;
|
181
|
-
}
|
182
|
-
if (event.step < 0 && !controls.canDecrementHours) {
|
183
|
-
return false;
|
184
|
-
}
|
185
|
-
return true;
|
186
|
-
}
|
187
|
-
function canChangeMinutes(event, controls) {
|
188
|
-
if (!event.step) {
|
189
|
-
return false;
|
190
|
-
}
|
191
|
-
if (event.step > 0 && !controls.canIncrementMinutes) {
|
192
|
-
return false;
|
193
|
-
}
|
194
|
-
if (event.step < 0 && !controls.canDecrementMinutes) {
|
195
|
-
return false;
|
196
|
-
}
|
197
|
-
return true;
|
198
|
-
}
|
199
|
-
function canChangeSeconds(event, controls) {
|
200
|
-
if (!event.step) {
|
201
|
-
return false;
|
202
|
-
}
|
203
|
-
if (event.step > 0 && !controls.canIncrementSeconds) {
|
204
|
-
return false;
|
205
|
-
}
|
206
|
-
if (event.step < 0 && !controls.canDecrementSeconds) {
|
207
|
-
return false;
|
208
|
-
}
|
209
|
-
return true;
|
210
|
-
}
|
211
|
-
function getControlsValue(state) {
|
212
|
-
const { hourStep, minuteStep, secondsStep, readonlyInput, disabled, mousewheel, arrowkeys, showSpinners, showMeridian, showSeconds, meridians, min, max } = state;
|
213
|
-
return {
|
214
|
-
hourStep,
|
215
|
-
minuteStep,
|
216
|
-
secondsStep,
|
217
|
-
readonlyInput,
|
218
|
-
disabled,
|
219
|
-
mousewheel,
|
220
|
-
arrowkeys,
|
221
|
-
showSpinners,
|
222
|
-
showMeridian,
|
223
|
-
showSeconds,
|
224
|
-
meridians,
|
225
|
-
min,
|
226
|
-
max
|
227
|
-
};
|
228
|
-
}
|
229
|
-
function timepickerControls(value, state) {
|
230
|
-
const hoursPerDay = 24;
|
231
|
-
const hoursPerDayHalf = 12;
|
232
|
-
const { min, max, hourStep, minuteStep, secondsStep, showSeconds } = state;
|
233
|
-
const res = {
|
234
|
-
canIncrementHours: true,
|
235
|
-
canIncrementMinutes: true,
|
236
|
-
canIncrementSeconds: true,
|
237
|
-
canDecrementHours: true,
|
238
|
-
canDecrementMinutes: true,
|
239
|
-
canDecrementSeconds: true,
|
240
|
-
canToggleMeridian: true
|
241
|
-
};
|
242
|
-
if (!value) {
|
243
|
-
return res;
|
244
|
-
}
|
245
|
-
// compare dates
|
246
|
-
if (max) {
|
247
|
-
const _newHour = changeTime(value, { hour: hourStep });
|
248
|
-
res.canIncrementHours = max > _newHour && (value.getHours() + hourStep) < hoursPerDay;
|
249
|
-
if (!res.canIncrementHours) {
|
250
|
-
const _newMinutes = changeTime(value, { minute: minuteStep });
|
251
|
-
res.canIncrementMinutes = showSeconds
|
252
|
-
? max > _newMinutes
|
253
|
-
: max >= _newMinutes;
|
254
|
-
}
|
255
|
-
if (!res.canIncrementMinutes) {
|
256
|
-
const _newSeconds = changeTime(value, { seconds: secondsStep });
|
257
|
-
res.canIncrementSeconds = max >= _newSeconds;
|
258
|
-
}
|
259
|
-
if (value.getHours() < hoursPerDayHalf) {
|
260
|
-
res.canToggleMeridian = changeTime(value, { hour: hoursPerDayHalf }) < max;
|
261
|
-
}
|
262
|
-
}
|
263
|
-
if (min) {
|
264
|
-
const _newHour = changeTime(value, { hour: -hourStep });
|
265
|
-
res.canDecrementHours = min < _newHour;
|
266
|
-
if (!res.canDecrementHours) {
|
267
|
-
const _newMinutes = changeTime(value, { minute: -minuteStep });
|
268
|
-
res.canDecrementMinutes = showSeconds
|
269
|
-
? min < _newMinutes
|
270
|
-
: min <= _newMinutes;
|
271
|
-
}
|
272
|
-
if (!res.canDecrementMinutes) {
|
273
|
-
const _newSeconds = changeTime(value, { seconds: -secondsStep });
|
274
|
-
res.canDecrementSeconds = min <= _newSeconds;
|
275
|
-
}
|
276
|
-
if (value.getHours() >= hoursPerDayHalf) {
|
277
|
-
res.canToggleMeridian = changeTime(value, { hour: -hoursPerDayHalf }) > min;
|
278
|
-
}
|
279
|
-
}
|
280
|
-
return res;
|
281
|
-
}
|
282
|
-
|
283
|
-
/** Provides default configuration values for timepicker */
|
284
|
-
class TimepickerConfig {
|
285
|
-
constructor() {
|
286
|
-
/** hours change step */
|
287
|
-
this.hourStep = 1;
|
288
|
-
/** minutes change step */
|
289
|
-
this.minuteStep = 5;
|
290
|
-
/** seconds changes step */
|
291
|
-
this.secondsStep = 10;
|
292
|
-
/** if true works in 12H mode and displays AM/PM. If false works in 24H mode and hides AM/PM */
|
293
|
-
this.showMeridian = true;
|
294
|
-
/** meridian labels based on locale */
|
295
|
-
this.meridians = ['AM', 'PM'];
|
296
|
-
/** if true hours and minutes fields will be readonly */
|
297
|
-
this.readonlyInput = false;
|
298
|
-
/** if true hours and minutes fields will be disabled */
|
299
|
-
this.disabled = false;
|
300
|
-
/** if true emptyTime is not marked as invalid */
|
301
|
-
this.allowEmptyTime = false;
|
302
|
-
/** if true scroll inside hours and minutes inputs will change time */
|
303
|
-
this.mousewheel = true;
|
304
|
-
/** if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard */
|
305
|
-
this.arrowkeys = true;
|
306
|
-
/** if true spinner arrows above and below the inputs will be shown */
|
307
|
-
this.showSpinners = true;
|
308
|
-
/** show seconds in timepicker */
|
309
|
-
this.showSeconds = false;
|
310
|
-
/** show minutes in timepicker */
|
311
|
-
this.showMinutes = true;
|
312
|
-
/** placeholder for hours field in timepicker */
|
313
|
-
this.hoursPlaceholder = 'HH';
|
314
|
-
/** placeholder for minutes field in timepicker */
|
315
|
-
this.minutesPlaceholder = 'MM';
|
316
|
-
/** placeholder for seconds field in timepicker */
|
317
|
-
this.secondsPlaceholder = 'SS';
|
318
|
-
/** hours aria label */
|
319
|
-
this.ariaLabelHours = 'hours';
|
320
|
-
/** minutes aria label */
|
321
|
-
this.ariaLabelMinutes = 'minutes';
|
322
|
-
/** seconds aria label */
|
323
|
-
this.ariaLabelSeconds = 'seconds';
|
324
|
-
}
|
325
|
-
}
|
326
|
-
TimepickerConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
327
|
-
TimepickerConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerConfig, providedIn: 'root' });
|
328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerConfig, decorators: [{
|
329
|
-
type: Injectable,
|
330
|
-
args: [{
|
331
|
-
providedIn: 'root'
|
332
|
-
}]
|
333
|
-
}] });
|
334
|
-
|
335
|
-
class TimepickerActions {
|
336
|
-
writeValue(value) {
|
337
|
-
return {
|
338
|
-
type: TimepickerActions.WRITE_VALUE,
|
339
|
-
payload: value
|
340
|
-
};
|
341
|
-
}
|
342
|
-
changeHours(event) {
|
343
|
-
return {
|
344
|
-
type: TimepickerActions.CHANGE_HOURS,
|
345
|
-
payload: event
|
346
|
-
};
|
347
|
-
}
|
348
|
-
changeMinutes(event) {
|
349
|
-
return {
|
350
|
-
type: TimepickerActions.CHANGE_MINUTES,
|
351
|
-
payload: event
|
352
|
-
};
|
353
|
-
}
|
354
|
-
changeSeconds(event) {
|
355
|
-
return {
|
356
|
-
type: TimepickerActions.CHANGE_SECONDS,
|
357
|
-
payload: event
|
358
|
-
};
|
359
|
-
}
|
360
|
-
setTime(value) {
|
361
|
-
return {
|
362
|
-
type: TimepickerActions.SET_TIME_UNIT,
|
363
|
-
payload: value
|
364
|
-
};
|
365
|
-
}
|
366
|
-
updateControls(value) {
|
367
|
-
return {
|
368
|
-
type: TimepickerActions.UPDATE_CONTROLS,
|
369
|
-
payload: value
|
370
|
-
};
|
371
|
-
}
|
372
|
-
}
|
373
|
-
TimepickerActions.WRITE_VALUE = '[timepicker] write value from ng model';
|
374
|
-
TimepickerActions.CHANGE_HOURS = '[timepicker] change hours';
|
375
|
-
TimepickerActions.CHANGE_MINUTES = '[timepicker] change minutes';
|
376
|
-
TimepickerActions.CHANGE_SECONDS = '[timepicker] change seconds';
|
377
|
-
TimepickerActions.SET_TIME_UNIT = '[timepicker] set time unit';
|
378
|
-
TimepickerActions.UPDATE_CONTROLS = '[timepicker] update controls';
|
379
|
-
TimepickerActions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerActions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
380
|
-
TimepickerActions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerActions, providedIn: 'platform' });
|
381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerActions, decorators: [{
|
382
|
-
type: Injectable,
|
383
|
-
args: [{ providedIn: 'platform' }]
|
384
|
-
}] });
|
385
|
-
|
386
|
-
const initialState = {
|
387
|
-
value: void 0,
|
388
|
-
config: new TimepickerConfig(),
|
389
|
-
controls: {
|
390
|
-
canIncrementHours: true,
|
391
|
-
canIncrementMinutes: true,
|
392
|
-
canIncrementSeconds: true,
|
393
|
-
canDecrementHours: true,
|
394
|
-
canDecrementMinutes: true,
|
395
|
-
canDecrementSeconds: true,
|
396
|
-
canToggleMeridian: true
|
397
|
-
}
|
398
|
-
};
|
399
|
-
function timepickerReducer(state = initialState, action) {
|
400
|
-
switch (action.type) {
|
401
|
-
case TimepickerActions.WRITE_VALUE: {
|
402
|
-
return Object.assign({}, state, { value: action.payload });
|
403
|
-
}
|
404
|
-
case TimepickerActions.CHANGE_HOURS: {
|
405
|
-
if (!canChangeValue(state.config, action.payload) ||
|
406
|
-
!canChangeHours(action.payload, state.controls)) {
|
407
|
-
return state;
|
408
|
-
}
|
409
|
-
const _newTime = changeTime(state.value, { hour: action.payload.step });
|
410
|
-
if ((state.config.max || state.config.min) && !isValidLimit(state.config, _newTime)) {
|
411
|
-
return state;
|
412
|
-
}
|
413
|
-
return Object.assign({}, state, { value: _newTime });
|
414
|
-
}
|
415
|
-
case TimepickerActions.CHANGE_MINUTES: {
|
416
|
-
if (!canChangeValue(state.config, action.payload) ||
|
417
|
-
!canChangeMinutes(action.payload, state.controls)) {
|
418
|
-
return state;
|
419
|
-
}
|
420
|
-
const _newTime = changeTime(state.value, { minute: action.payload.step });
|
421
|
-
if ((state.config.max || state.config.min) && !isValidLimit(state.config, _newTime)) {
|
422
|
-
return state;
|
423
|
-
}
|
424
|
-
return Object.assign({}, state, { value: _newTime });
|
425
|
-
}
|
426
|
-
case TimepickerActions.CHANGE_SECONDS: {
|
427
|
-
if (!canChangeValue(state.config, action.payload) ||
|
428
|
-
!canChangeSeconds(action.payload, state.controls)) {
|
429
|
-
return state;
|
430
|
-
}
|
431
|
-
const _newTime = changeTime(state.value, {
|
432
|
-
seconds: action.payload.step
|
433
|
-
});
|
434
|
-
if ((state.config.max || state.config.min) && !isValidLimit(state.config, _newTime)) {
|
435
|
-
return state;
|
436
|
-
}
|
437
|
-
return Object.assign({}, state, { value: _newTime });
|
438
|
-
}
|
439
|
-
case TimepickerActions.SET_TIME_UNIT: {
|
440
|
-
if (!canChangeValue(state.config)) {
|
441
|
-
return state;
|
442
|
-
}
|
443
|
-
const _newTime = setTime(state.value, action.payload);
|
444
|
-
return Object.assign({}, state, { value: _newTime });
|
445
|
-
}
|
446
|
-
case TimepickerActions.UPDATE_CONTROLS: {
|
447
|
-
const _newControlsState = timepickerControls(state.value, action.payload);
|
448
|
-
const _newState = {
|
449
|
-
value: state.value,
|
450
|
-
config: action.payload,
|
451
|
-
controls: _newControlsState
|
452
|
-
};
|
453
|
-
if (state.config.showMeridian !== _newState.config.showMeridian) {
|
454
|
-
if (state.value) {
|
455
|
-
_newState.value = new Date(state.value);
|
456
|
-
}
|
457
|
-
}
|
458
|
-
return Object.assign({}, state, _newState);
|
459
|
-
}
|
460
|
-
default:
|
461
|
-
return state;
|
462
|
-
}
|
463
|
-
}
|
464
|
-
|
465
|
-
class TimepickerStore extends MiniStore {
|
466
|
-
constructor() {
|
467
|
-
const _dispatcher = new BehaviorSubject({
|
468
|
-
type: '[mini-ngrx] dispatcher init'
|
469
|
-
});
|
470
|
-
const state = new MiniState(initialState, _dispatcher, timepickerReducer);
|
471
|
-
super(_dispatcher, timepickerReducer, state);
|
472
|
-
}
|
473
|
-
}
|
474
|
-
TimepickerStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
475
|
-
TimepickerStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerStore, providedIn: 'platform' });
|
476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerStore, decorators: [{
|
477
|
-
type: Injectable,
|
478
|
-
args: [{ providedIn: 'platform' }]
|
479
|
-
}], ctorParameters: function () { return []; } });
|
480
|
-
|
481
|
-
const TIMEPICKER_CONTROL_VALUE_ACCESSOR = {
|
482
|
-
provide: NG_VALUE_ACCESSOR,
|
483
|
-
useExisting: forwardRef(() => TimepickerComponent),
|
484
|
-
multi: true
|
485
|
-
};
|
486
|
-
class TimepickerComponent {
|
487
|
-
constructor(_config, _cd, _store, _timepickerActions) {
|
488
|
-
this._cd = _cd;
|
489
|
-
this._store = _store;
|
490
|
-
this._timepickerActions = _timepickerActions;
|
491
|
-
/** hours change step */
|
492
|
-
this.hourStep = 1;
|
493
|
-
/** minutes change step */
|
494
|
-
this.minuteStep = 5;
|
495
|
-
/** seconds change step */
|
496
|
-
this.secondsStep = 10;
|
497
|
-
/** if true hours and minutes fields will be readonly */
|
498
|
-
this.readonlyInput = false;
|
499
|
-
/** if true hours and minutes fields will be disabled */
|
500
|
-
this.disabled = false;
|
501
|
-
/** if true scroll inside hours and minutes inputs will change time */
|
502
|
-
this.mousewheel = true;
|
503
|
-
/** if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard */
|
504
|
-
this.arrowkeys = true;
|
505
|
-
/** if true spinner arrows above and below the inputs will be shown */
|
506
|
-
this.showSpinners = true;
|
507
|
-
/** if true meridian button will be shown */
|
508
|
-
this.showMeridian = true;
|
509
|
-
/** show minutes in timepicker */
|
510
|
-
this.showMinutes = true;
|
511
|
-
/** show seconds in timepicker */
|
512
|
-
this.showSeconds = false;
|
513
|
-
/** meridian labels based on locale */
|
514
|
-
this.meridians = ['AM', 'PM'];
|
515
|
-
/** placeholder for hours field in timepicker */
|
516
|
-
this.hoursPlaceholder = 'HH';
|
517
|
-
/** placeholder for minutes field in timepicker */
|
518
|
-
this.minutesPlaceholder = 'MM';
|
519
|
-
/** placeholder for seconds field in timepicker */
|
520
|
-
this.secondsPlaceholder = 'SS';
|
521
|
-
/** emits true if value is a valid date */
|
522
|
-
this.isValid = new EventEmitter();
|
523
|
-
/** emits value of meridian*/
|
524
|
-
this.meridianChange = new EventEmitter();
|
525
|
-
// ui variables
|
526
|
-
this.hours = '';
|
527
|
-
this.minutes = '';
|
528
|
-
this.seconds = '';
|
529
|
-
this.meridian = '';
|
530
|
-
// min\max validation for input fields
|
531
|
-
this.invalidHours = false;
|
532
|
-
this.invalidMinutes = false;
|
533
|
-
this.invalidSeconds = false;
|
534
|
-
// aria-label variables
|
535
|
-
this.labelHours = 'hours';
|
536
|
-
this.labelMinutes = 'minutes';
|
537
|
-
this.labelSeconds = 'seconds';
|
538
|
-
// time picker controls state
|
539
|
-
this.canIncrementHours = true;
|
540
|
-
this.canIncrementMinutes = true;
|
541
|
-
this.canIncrementSeconds = true;
|
542
|
-
this.canDecrementHours = true;
|
543
|
-
this.canDecrementMinutes = true;
|
544
|
-
this.canDecrementSeconds = true;
|
545
|
-
this.canToggleMeridian = true;
|
546
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
547
|
-
this.onChange = Function.prototype;
|
548
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
549
|
-
this.onTouched = Function.prototype;
|
550
|
-
this.config = _config;
|
551
|
-
Object.assign(this, this.config);
|
552
|
-
this.timepickerSub = _store.select(state => state.value)
|
553
|
-
.subscribe((value) => {
|
554
|
-
// update UI values if date changed
|
555
|
-
this._renderTime(value);
|
556
|
-
this.onChange(value);
|
557
|
-
this._store.dispatch(this._timepickerActions.updateControls(getControlsValue(this)));
|
558
|
-
});
|
559
|
-
_store.select(state => state.controls)
|
560
|
-
.subscribe((controlsState) => {
|
561
|
-
const isTimepickerInputValid = isInputValid(this.hours, this.minutes, this.seconds, this.isPM());
|
562
|
-
const isValid = this.config.allowEmptyTime ?
|
563
|
-
this.isOneOfDatesIsEmpty() || isTimepickerInputValid
|
564
|
-
: isTimepickerInputValid;
|
565
|
-
this.isValid.emit(isValid);
|
566
|
-
Object.assign(this, controlsState);
|
567
|
-
_cd.markForCheck();
|
568
|
-
});
|
569
|
-
}
|
570
|
-
/** @deprecated - please use `isEditable` instead */
|
571
|
-
get isSpinnersVisible() {
|
572
|
-
return this.showSpinners && !this.readonlyInput;
|
573
|
-
}
|
574
|
-
get isEditable() {
|
575
|
-
return !(this.readonlyInput || this.disabled);
|
576
|
-
}
|
577
|
-
resetValidation() {
|
578
|
-
this.invalidHours = false;
|
579
|
-
this.invalidMinutes = false;
|
580
|
-
this.invalidSeconds = false;
|
581
|
-
}
|
582
|
-
isPM() {
|
583
|
-
return this.showMeridian && this.meridian === this.meridians[1];
|
584
|
-
}
|
585
|
-
prevDef($event) {
|
586
|
-
$event.preventDefault();
|
587
|
-
}
|
588
|
-
wheelSign($event) {
|
589
|
-
return Math.sign($event.deltaY || 0) * -1;
|
590
|
-
}
|
591
|
-
ngOnChanges() {
|
592
|
-
this._store.dispatch(this._timepickerActions.updateControls(getControlsValue(this)));
|
593
|
-
}
|
594
|
-
changeHours(step, source = '') {
|
595
|
-
this.resetValidation();
|
596
|
-
this._store.dispatch(this._timepickerActions.changeHours({ step, source }));
|
597
|
-
}
|
598
|
-
changeMinutes(step, source = '') {
|
599
|
-
this.resetValidation();
|
600
|
-
this._store.dispatch(this._timepickerActions.changeMinutes({ step, source }));
|
601
|
-
}
|
602
|
-
changeSeconds(step, source = '') {
|
603
|
-
this.resetValidation();
|
604
|
-
this._store.dispatch(this._timepickerActions.changeSeconds({ step, source }));
|
605
|
-
}
|
606
|
-
updateHours(target) {
|
607
|
-
this.resetValidation();
|
608
|
-
this.hours = target.value;
|
609
|
-
const isTimepickerInputValid = isHourInputValid(this.hours, this.isPM()) && this.isValidLimit();
|
610
|
-
const isValid = this.config.allowEmptyTime ?
|
611
|
-
this.isOneOfDatesIsEmpty() || isTimepickerInputValid
|
612
|
-
: isTimepickerInputValid;
|
613
|
-
if (!isValid) {
|
614
|
-
this.invalidHours = true;
|
615
|
-
this.isValid.emit(false);
|
616
|
-
this.onChange(null);
|
617
|
-
return;
|
618
|
-
}
|
619
|
-
this._updateTime();
|
620
|
-
}
|
621
|
-
updateMinutes(target) {
|
622
|
-
this.resetValidation();
|
623
|
-
this.minutes = target.value;
|
624
|
-
const isTimepickerInputValid = isMinuteInputValid(this.minutes) && this.isValidLimit();
|
625
|
-
const isValid = this.config.allowEmptyTime ?
|
626
|
-
this.isOneOfDatesIsEmpty() || isTimepickerInputValid
|
627
|
-
: isTimepickerInputValid;
|
628
|
-
if (!isValid) {
|
629
|
-
this.invalidMinutes = true;
|
630
|
-
this.isValid.emit(false);
|
631
|
-
this.onChange(null);
|
632
|
-
return;
|
633
|
-
}
|
634
|
-
this._updateTime();
|
635
|
-
}
|
636
|
-
updateSeconds(target) {
|
637
|
-
this.resetValidation();
|
638
|
-
this.seconds = target.value;
|
639
|
-
const isTimepickerInputValid = isSecondInputValid(this.seconds) && this.isValidLimit();
|
640
|
-
const isValid = this.config.allowEmptyTime ?
|
641
|
-
this.isOneOfDatesIsEmpty() || isTimepickerInputValid
|
642
|
-
: isTimepickerInputValid;
|
643
|
-
if (!isValid) {
|
644
|
-
this.invalidSeconds = true;
|
645
|
-
this.isValid.emit(false);
|
646
|
-
this.onChange(null);
|
647
|
-
return;
|
648
|
-
}
|
649
|
-
this._updateTime();
|
650
|
-
}
|
651
|
-
isValidLimit() {
|
652
|
-
return isInputLimitValid({
|
653
|
-
hour: this.hours,
|
654
|
-
minute: this.minutes,
|
655
|
-
seconds: this.seconds,
|
656
|
-
isPM: this.isPM()
|
657
|
-
}, this.max, this.min);
|
658
|
-
}
|
659
|
-
isOneOfDatesIsEmpty() {
|
660
|
-
return isOneOfDatesEmpty(this.hours, this.minutes, this.seconds);
|
661
|
-
}
|
662
|
-
_updateTime() {
|
663
|
-
const _seconds = this.showSeconds ? this.seconds : void 0;
|
664
|
-
const _minutes = this.showMinutes ? this.minutes : void 0;
|
665
|
-
const isTimepickerInputValid = isInputValid(this.hours, _minutes, _seconds, this.isPM());
|
666
|
-
const isValid = this.config.allowEmptyTime ?
|
667
|
-
this.isOneOfDatesIsEmpty() || isTimepickerInputValid
|
668
|
-
: isTimepickerInputValid;
|
669
|
-
if (!isValid) {
|
670
|
-
this.isValid.emit(false);
|
671
|
-
this.onChange(null);
|
672
|
-
return;
|
673
|
-
}
|
674
|
-
this._store.dispatch(this._timepickerActions.setTime({
|
675
|
-
hour: this.hours,
|
676
|
-
minute: this.minutes,
|
677
|
-
seconds: this.seconds,
|
678
|
-
isPM: this.isPM()
|
679
|
-
}));
|
680
|
-
}
|
681
|
-
toggleMeridian() {
|
682
|
-
if (!this.showMeridian || !this.isEditable) {
|
683
|
-
return;
|
684
|
-
}
|
685
|
-
const _hoursPerDayHalf = 12;
|
686
|
-
this._store.dispatch(this._timepickerActions.changeHours({
|
687
|
-
step: _hoursPerDayHalf,
|
688
|
-
source: ''
|
689
|
-
}));
|
690
|
-
}
|
691
|
-
/**
|
692
|
-
* Write a new value to the element.
|
693
|
-
*/
|
694
|
-
writeValue(obj) {
|
695
|
-
if (isValidDate(obj)) {
|
696
|
-
this.resetValidation();
|
697
|
-
this._store.dispatch(this._timepickerActions.writeValue(parseTime(obj)));
|
698
|
-
}
|
699
|
-
else if (obj == null) {
|
700
|
-
this._store.dispatch(this._timepickerActions.writeValue());
|
701
|
-
}
|
702
|
-
}
|
703
|
-
/**
|
704
|
-
* Set the function to be called when the control receives a change event.
|
705
|
-
*/
|
706
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
707
|
-
registerOnChange(fn) {
|
708
|
-
this.onChange = fn;
|
709
|
-
}
|
710
|
-
/**
|
711
|
-
* Set the function to be called when the control receives a touch event.
|
712
|
-
*/
|
713
|
-
registerOnTouched(fn) {
|
714
|
-
this.onTouched = fn;
|
715
|
-
}
|
716
|
-
/**
|
717
|
-
* This function is called when the control status changes to or from "disabled".
|
718
|
-
* Depending on the value, it will enable or disable the appropriate DOM element.
|
719
|
-
*
|
720
|
-
* @param isDisabled
|
721
|
-
*/
|
722
|
-
setDisabledState(isDisabled) {
|
723
|
-
this.disabled = isDisabled;
|
724
|
-
this._cd.markForCheck();
|
725
|
-
}
|
726
|
-
ngOnDestroy() {
|
727
|
-
var _a;
|
728
|
-
(_a = this.timepickerSub) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
729
|
-
}
|
730
|
-
_renderTime(value) {
|
731
|
-
if (!value || !isValidDate(value)) {
|
732
|
-
this.hours = '';
|
733
|
-
this.minutes = '';
|
734
|
-
this.seconds = '';
|
735
|
-
this.meridian = this.meridians[0];
|
736
|
-
this.meridianChange.emit(this.meridian);
|
737
|
-
return;
|
738
|
-
}
|
739
|
-
const _value = parseTime(value);
|
740
|
-
if (!_value) {
|
741
|
-
return;
|
742
|
-
}
|
743
|
-
const _hoursPerDayHalf = 12;
|
744
|
-
let _hours = _value.getHours();
|
745
|
-
if (this.showMeridian) {
|
746
|
-
this.meridian = this.meridians[_hours >= _hoursPerDayHalf ? 1 : 0];
|
747
|
-
this.meridianChange.emit(this.meridian);
|
748
|
-
_hours = _hours % _hoursPerDayHalf;
|
749
|
-
// should be 12 PM, not 00 PM
|
750
|
-
if (_hours === 0) {
|
751
|
-
_hours = _hoursPerDayHalf;
|
752
|
-
}
|
753
|
-
}
|
754
|
-
this.hours = padNumber(_hours);
|
755
|
-
this.minutes = padNumber(_value.getMinutes());
|
756
|
-
this.seconds = padNumber(_value.getUTCSeconds());
|
757
|
-
}
|
758
|
-
}
|
759
|
-
TimepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerComponent, deps: [{ token: TimepickerConfig }, { token: i0.ChangeDetectorRef }, { token: TimepickerStore }, { token: TimepickerActions }], target: i0.ɵɵFactoryTarget.Component });
|
760
|
-
TimepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: TimepickerComponent, selector: "timepicker", inputs: { hourStep: "hourStep", minuteStep: "minuteStep", secondsStep: "secondsStep", readonlyInput: "readonlyInput", disabled: "disabled", mousewheel: "mousewheel", arrowkeys: "arrowkeys", showSpinners: "showSpinners", showMeridian: "showMeridian", showMinutes: "showMinutes", showSeconds: "showSeconds", meridians: "meridians", min: "min", max: "max", hoursPlaceholder: "hoursPlaceholder", minutesPlaceholder: "minutesPlaceholder", secondsPlaceholder: "secondsPlaceholder" }, outputs: { isValid: "isValid", meridianChange: "meridianChange" }, providers: [TIMEPICKER_CONTROL_VALUE_ACCESSOR, TimepickerStore], usesOnChanges: true, ngImport: i0, template: "<table>\n <tbody>\n <tr class=\"text-center\" [hidden]=\"!showSpinners\">\n <!-- increment hours button-->\n <td>\n <a class=\"btn btn-link\" [class.disabled]=\"!canIncrementHours || !isEditable\"\n (click)=\"changeHours(hourStep)\"\n href=\"javascript:void(0);\"\n ><span class=\"bs-chevron bs-chevron-up\"></span></a>\n </td>\n <!-- divider -->\n <td *ngIf=\"showMinutes\"> </td>\n <!-- increment minutes button -->\n <td *ngIf=\"showMinutes\">\n <a class=\"btn btn-link\" [class.disabled]=\"!canIncrementMinutes || !isEditable\"\n (click)=\"changeMinutes(minuteStep)\"\n href=\"javascript:void(0);\"\n ><span class=\"bs-chevron bs-chevron-up\"></span></a>\n </td>\n <!-- divider -->\n <td *ngIf=\"showSeconds\"> </td>\n <!-- increment seconds button -->\n <td *ngIf=\"showSeconds\">\n <a class=\"btn btn-link\" [class.disabled]=\"!canIncrementSeconds || !isEditable\"\n (click)=\"changeSeconds(secondsStep)\"\n href=\"javascript:void(0);\"\n >\n <span class=\"bs-chevron bs-chevron-up\"></span>\n </a>\n </td>\n <!-- space between -->\n <td *ngIf=\"showMeridian\"> </td>\n <!-- meridian placeholder-->\n <td *ngIf=\"showMeridian\"></td>\n </tr>\n <tr>\n <!-- hours -->\n <td class=\"form-group mb-3\" [class.has-error]=\"invalidHours\">\n <input type=\"text\" [class.is-invalid]=\"invalidHours\"\n class=\"form-control text-center bs-timepicker-field\"\n [placeholder]=\"hoursPlaceholder\"\n maxlength=\"2\"\n [readonly]=\"readonlyInput\"\n [disabled]=\"disabled\"\n [value]=\"hours\"\n (wheel)=\"prevDef($event);changeHours(hourStep * wheelSign($event), 'wheel')\"\n (keydown.ArrowUp)=\"changeHours(hourStep, 'key')\"\n (keydown.ArrowDown)=\"changeHours(-hourStep, 'key')\"\n (change)=\"updateHours($event.target)\" [attr.aria-label]=\"labelHours\"></td>\n <!-- divider -->\n <td *ngIf=\"showMinutes\"> : </td>\n <!-- minutes -->\n <td class=\"form-group mb-3\" *ngIf=\"showMinutes\" [class.has-error]=\"invalidMinutes\">\n <input type=\"text\" [class.is-invalid]=\"invalidMinutes\"\n class=\"form-control text-center bs-timepicker-field\"\n [placeholder]=\"minutesPlaceholder\"\n maxlength=\"2\"\n [readonly]=\"readonlyInput\"\n [disabled]=\"disabled\"\n [value]=\"minutes\"\n (wheel)=\"prevDef($event);changeMinutes(minuteStep * wheelSign($event), 'wheel')\"\n (keydown.ArrowUp)=\"changeMinutes(minuteStep, 'key')\"\n (keydown.ArrowDown)=\"changeMinutes(-minuteStep, 'key')\"\n (change)=\"updateMinutes($event.target)\" [attr.aria-label]=\"labelMinutes\">\n </td>\n <!-- divider -->\n <td *ngIf=\"showSeconds\"> : </td>\n <!-- seconds -->\n <td class=\"form-group mb-3\" *ngIf=\"showSeconds\" [class.has-error]=\"invalidSeconds\">\n <input type=\"text\" [class.is-invalid]=\"invalidSeconds\"\n class=\"form-control text-center bs-timepicker-field\"\n [placeholder]=\"secondsPlaceholder\"\n maxlength=\"2\"\n [readonly]=\"readonlyInput\"\n [disabled]=\"disabled\"\n [value]=\"seconds\"\n (wheel)=\"prevDef($event);changeSeconds(secondsStep * wheelSign($event), 'wheel')\"\n (keydown.ArrowUp)=\"changeSeconds(secondsStep, 'key')\"\n (keydown.ArrowDown)=\"changeSeconds(-secondsStep, 'key')\"\n (change)=\"updateSeconds($event.target)\" [attr.aria-label]=\"labelSeconds\">\n </td>\n <!-- space between -->\n <td *ngIf=\"showMeridian\"> </td>\n <!-- meridian -->\n <td *ngIf=\"showMeridian\">\n <button type=\"button\" class=\"btn btn-default text-center\"\n [disabled]=\"!isEditable || !canToggleMeridian\"\n [class.disabled]=\"!isEditable || !canToggleMeridian\"\n (click)=\"toggleMeridian()\"\n >{{ meridian }}\n </button>\n </td>\n </tr>\n <tr class=\"text-center\" [hidden]=\"!showSpinners\">\n <!-- decrement hours button-->\n <td>\n <a class=\"btn btn-link\" [class.disabled]=\"!canDecrementHours || !isEditable\"\n (click)=\"changeHours(-hourStep)\"\n href=\"javascript:void(0);\"\n >\n <span class=\"bs-chevron bs-chevron-down\"></span>\n </a>\n </td>\n <!-- divider -->\n <td *ngIf=\"showMinutes\"> </td>\n <!-- decrement minutes button-->\n <td *ngIf=\"showMinutes\">\n <a class=\"btn btn-link\" [class.disabled]=\"!canDecrementMinutes || !isEditable\"\n (click)=\"changeMinutes(-minuteStep)\"\n href=\"javascript:void(0);\"\n >\n <span class=\"bs-chevron bs-chevron-down\"></span>\n </a>\n </td>\n <!-- divider -->\n <td *ngIf=\"showSeconds\"> </td>\n <!-- decrement seconds button-->\n <td *ngIf=\"showSeconds\">\n <a class=\"btn btn-link\" [class.disabled]=\"!canDecrementSeconds || !isEditable\"\n (click)=\"changeSeconds(-secondsStep)\"\n href=\"javascript:void(0);\"\n >\n <span class=\"bs-chevron bs-chevron-down\"></span>\n </a>\n </td>\n <!-- space between -->\n <td *ngIf=\"showMeridian\"> </td>\n <!-- meridian placeholder-->\n <td *ngIf=\"showMeridian\"></td>\n </tr>\n </tbody>\n</table>\n", styles: [".bs-chevron{border-style:solid;display:block;width:9px;height:9px;position:relative;border-width:3px 0px 0 3px}.bs-chevron-up{transform:rotate(45deg);top:2px}.bs-chevron-down{transform:rotate(-135deg);top:-2px}.bs-timepicker-field{width:65px;padding:.375rem .55rem}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerComponent, decorators: [{
|
762
|
-
type: Component,
|
763
|
-
args: [{ selector: 'timepicker', changeDetection: ChangeDetectionStrategy.OnPush, providers: [TIMEPICKER_CONTROL_VALUE_ACCESSOR, TimepickerStore], encapsulation: ViewEncapsulation.None, template: "<table>\n <tbody>\n <tr class=\"text-center\" [hidden]=\"!showSpinners\">\n <!-- increment hours button-->\n <td>\n <a class=\"btn btn-link\" [class.disabled]=\"!canIncrementHours || !isEditable\"\n (click)=\"changeHours(hourStep)\"\n href=\"javascript:void(0);\"\n ><span class=\"bs-chevron bs-chevron-up\"></span></a>\n </td>\n <!-- divider -->\n <td *ngIf=\"showMinutes\"> </td>\n <!-- increment minutes button -->\n <td *ngIf=\"showMinutes\">\n <a class=\"btn btn-link\" [class.disabled]=\"!canIncrementMinutes || !isEditable\"\n (click)=\"changeMinutes(minuteStep)\"\n href=\"javascript:void(0);\"\n ><span class=\"bs-chevron bs-chevron-up\"></span></a>\n </td>\n <!-- divider -->\n <td *ngIf=\"showSeconds\"> </td>\n <!-- increment seconds button -->\n <td *ngIf=\"showSeconds\">\n <a class=\"btn btn-link\" [class.disabled]=\"!canIncrementSeconds || !isEditable\"\n (click)=\"changeSeconds(secondsStep)\"\n href=\"javascript:void(0);\"\n >\n <span class=\"bs-chevron bs-chevron-up\"></span>\n </a>\n </td>\n <!-- space between -->\n <td *ngIf=\"showMeridian\"> </td>\n <!-- meridian placeholder-->\n <td *ngIf=\"showMeridian\"></td>\n </tr>\n <tr>\n <!-- hours -->\n <td class=\"form-group mb-3\" [class.has-error]=\"invalidHours\">\n <input type=\"text\" [class.is-invalid]=\"invalidHours\"\n class=\"form-control text-center bs-timepicker-field\"\n [placeholder]=\"hoursPlaceholder\"\n maxlength=\"2\"\n [readonly]=\"readonlyInput\"\n [disabled]=\"disabled\"\n [value]=\"hours\"\n (wheel)=\"prevDef($event);changeHours(hourStep * wheelSign($event), 'wheel')\"\n (keydown.ArrowUp)=\"changeHours(hourStep, 'key')\"\n (keydown.ArrowDown)=\"changeHours(-hourStep, 'key')\"\n (change)=\"updateHours($event.target)\" [attr.aria-label]=\"labelHours\"></td>\n <!-- divider -->\n <td *ngIf=\"showMinutes\"> : </td>\n <!-- minutes -->\n <td class=\"form-group mb-3\" *ngIf=\"showMinutes\" [class.has-error]=\"invalidMinutes\">\n <input type=\"text\" [class.is-invalid]=\"invalidMinutes\"\n class=\"form-control text-center bs-timepicker-field\"\n [placeholder]=\"minutesPlaceholder\"\n maxlength=\"2\"\n [readonly]=\"readonlyInput\"\n [disabled]=\"disabled\"\n [value]=\"minutes\"\n (wheel)=\"prevDef($event);changeMinutes(minuteStep * wheelSign($event), 'wheel')\"\n (keydown.ArrowUp)=\"changeMinutes(minuteStep, 'key')\"\n (keydown.ArrowDown)=\"changeMinutes(-minuteStep, 'key')\"\n (change)=\"updateMinutes($event.target)\" [attr.aria-label]=\"labelMinutes\">\n </td>\n <!-- divider -->\n <td *ngIf=\"showSeconds\"> : </td>\n <!-- seconds -->\n <td class=\"form-group mb-3\" *ngIf=\"showSeconds\" [class.has-error]=\"invalidSeconds\">\n <input type=\"text\" [class.is-invalid]=\"invalidSeconds\"\n class=\"form-control text-center bs-timepicker-field\"\n [placeholder]=\"secondsPlaceholder\"\n maxlength=\"2\"\n [readonly]=\"readonlyInput\"\n [disabled]=\"disabled\"\n [value]=\"seconds\"\n (wheel)=\"prevDef($event);changeSeconds(secondsStep * wheelSign($event), 'wheel')\"\n (keydown.ArrowUp)=\"changeSeconds(secondsStep, 'key')\"\n (keydown.ArrowDown)=\"changeSeconds(-secondsStep, 'key')\"\n (change)=\"updateSeconds($event.target)\" [attr.aria-label]=\"labelSeconds\">\n </td>\n <!-- space between -->\n <td *ngIf=\"showMeridian\"> </td>\n <!-- meridian -->\n <td *ngIf=\"showMeridian\">\n <button type=\"button\" class=\"btn btn-default text-center\"\n [disabled]=\"!isEditable || !canToggleMeridian\"\n [class.disabled]=\"!isEditable || !canToggleMeridian\"\n (click)=\"toggleMeridian()\"\n >{{ meridian }}\n </button>\n </td>\n </tr>\n <tr class=\"text-center\" [hidden]=\"!showSpinners\">\n <!-- decrement hours button-->\n <td>\n <a class=\"btn btn-link\" [class.disabled]=\"!canDecrementHours || !isEditable\"\n (click)=\"changeHours(-hourStep)\"\n href=\"javascript:void(0);\"\n >\n <span class=\"bs-chevron bs-chevron-down\"></span>\n </a>\n </td>\n <!-- divider -->\n <td *ngIf=\"showMinutes\"> </td>\n <!-- decrement minutes button-->\n <td *ngIf=\"showMinutes\">\n <a class=\"btn btn-link\" [class.disabled]=\"!canDecrementMinutes || !isEditable\"\n (click)=\"changeMinutes(-minuteStep)\"\n href=\"javascript:void(0);\"\n >\n <span class=\"bs-chevron bs-chevron-down\"></span>\n </a>\n </td>\n <!-- divider -->\n <td *ngIf=\"showSeconds\"> </td>\n <!-- decrement seconds button-->\n <td *ngIf=\"showSeconds\">\n <a class=\"btn btn-link\" [class.disabled]=\"!canDecrementSeconds || !isEditable\"\n (click)=\"changeSeconds(-secondsStep)\"\n href=\"javascript:void(0);\"\n >\n <span class=\"bs-chevron bs-chevron-down\"></span>\n </a>\n </td>\n <!-- space between -->\n <td *ngIf=\"showMeridian\"> </td>\n <!-- meridian placeholder-->\n <td *ngIf=\"showMeridian\"></td>\n </tr>\n </tbody>\n</table>\n", styles: [".bs-chevron{border-style:solid;display:block;width:9px;height:9px;position:relative;border-width:3px 0px 0 3px}.bs-chevron-up{transform:rotate(45deg);top:2px}.bs-chevron-down{transform:rotate(-135deg);top:-2px}.bs-timepicker-field{width:65px;padding:.375rem .55rem}\n"] }]
|
764
|
-
}], ctorParameters: function () { return [{ type: TimepickerConfig }, { type: i0.ChangeDetectorRef }, { type: TimepickerStore }, { type: TimepickerActions }]; }, propDecorators: { hourStep: [{
|
765
|
-
type: Input
|
766
|
-
}], minuteStep: [{
|
767
|
-
type: Input
|
768
|
-
}], secondsStep: [{
|
769
|
-
type: Input
|
770
|
-
}], readonlyInput: [{
|
771
|
-
type: Input
|
772
|
-
}], disabled: [{
|
773
|
-
type: Input
|
774
|
-
}], mousewheel: [{
|
775
|
-
type: Input
|
776
|
-
}], arrowkeys: [{
|
777
|
-
type: Input
|
778
|
-
}], showSpinners: [{
|
779
|
-
type: Input
|
780
|
-
}], showMeridian: [{
|
781
|
-
type: Input
|
782
|
-
}], showMinutes: [{
|
783
|
-
type: Input
|
784
|
-
}], showSeconds: [{
|
785
|
-
type: Input
|
786
|
-
}], meridians: [{
|
787
|
-
type: Input
|
788
|
-
}], min: [{
|
789
|
-
type: Input
|
790
|
-
}], max: [{
|
791
|
-
type: Input
|
792
|
-
}], hoursPlaceholder: [{
|
793
|
-
type: Input
|
794
|
-
}], minutesPlaceholder: [{
|
795
|
-
type: Input
|
796
|
-
}], secondsPlaceholder: [{
|
797
|
-
type: Input
|
798
|
-
}], isValid: [{
|
799
|
-
type: Output
|
800
|
-
}], meridianChange: [{
|
801
|
-
type: Output
|
802
|
-
}] } });
|
803
|
-
|
804
|
-
class TimepickerModule {
|
805
|
-
static forRoot() {
|
806
|
-
return {
|
807
|
-
ngModule: TimepickerModule,
|
808
|
-
providers: [TimepickerActions, TimepickerStore]
|
809
|
-
};
|
810
|
-
}
|
811
|
-
}
|
812
|
-
TimepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
813
|
-
TimepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: TimepickerModule, declarations: [TimepickerComponent], imports: [CommonModule], exports: [TimepickerComponent] });
|
814
|
-
TimepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerModule, providers: [TimepickerStore], imports: [CommonModule] });
|
815
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimepickerModule, decorators: [{
|
816
|
-
type: NgModule,
|
817
|
-
args: [{
|
818
|
-
imports: [CommonModule],
|
819
|
-
declarations: [TimepickerComponent],
|
820
|
-
exports: [TimepickerComponent],
|
821
|
-
providers: [TimepickerStore]
|
822
|
-
}]
|
823
|
-
}] });
|
824
|
-
|
825
|
-
/**
|
826
|
-
* Generated bundle index. Do not edit.
|
827
|
-
*/
|
828
|
-
|
829
|
-
export { TimepickerActions, TimepickerComponent, TimepickerConfig, TimepickerModule, TimepickerStore };
|
830
|
-
//# sourceMappingURL=ngx-bootstrap-timepicker.mjs.map
|