{"version":3,"file":"dl-model-provider-hour.d.ts","sources":["dl-model-provider-hour.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["/**\r\n * @license\r\n * Copyright 2013-present Dale Lotts All Rights Reserved.\r\n * http://www.dalelotts.com\r\n *\r\n * Use of this source code is governed by an MIT-style license that can be\r\n * found in the LICENSE file at https://github.com/dalelotts/angular-bootstrap-datetimepicker/blob/master/LICENSE\r\n */\r\nimport { SimpleChanges } from '@angular/core';\r\nimport { DlDateTimePickerModel } from './dl-date-time-picker-model';\r\nimport { DlModelProvider } from './dl-model-provider';\r\n/**\r\n * Default implementation for the `hour` view.\r\n */\r\nexport declare class DlHourModelProvider implements DlModelProvider {\r\n    /**\r\n     * Receives input changes detected by Angular.\r\n     *\r\n     * @param changes\r\n     *  the input changes detected by Angular.\r\n     */\r\n    onChanges(changes: SimpleChanges): void;\r\n    /**\r\n     * Returns the `hour` model for the specified moment in `local` time with the\r\n     * `active` hour set to the beginning of the day.\r\n     *\r\n     * The `hour` model represents a day (24 hours) as six rows with four columns\r\n     * and each cell representing one-hour increments.\r\n     *\r\n     * The hour always starts at the beginning of the hour.\r\n     *\r\n     * Each cell represents a one-hour increment starting at midnight.\r\n     *\r\n     * @param milliseconds\r\n     *  the moment in time from which the minute model will be created.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  the model representing the specified moment in time.\r\n     */\r\n    getModel(milliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `hour` one row `down` from the specified moment in time.\r\n     *\r\n     * Moving `down` can result in the `active` hour being part of a different day than\r\n     * the specified `fromMilliseconds`, in this case the day represented by the model\r\n     * will change to show the correct hour.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the next `hour` model `down` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `hour` one row `down` from the specified moment in time.\r\n     */\r\n    goDown(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `hour` one row `up` from the specified moment in time.\r\n     *\r\n     * Moving `up` can result in the `active` hour being part of a different day than\r\n     * the specified `fromMilliseconds`, in this case the day represented by the model\r\n     * will change to show the correct hour.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the next `hour` model `up` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `hour` one row `up` from the specified moment in time.\r\n     */\r\n    goUp(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` hour one cell `left` in the current `hour` view.\r\n     *\r\n     * Moving `left` can result in the `active` hour being part of a different day than\r\n     * the specified `fromMilliseconds`, in this case the day represented by the model\r\n     * will change to show the correct year.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the `hour` model to the `left` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `hour` one cell to the `left` of the specified moment in time.\r\n     */\r\n    goLeft(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` hour one cell `right` in the current `hour` view.\r\n     *\r\n     * Moving `right` can result in the `active` hour being part of a different day than\r\n     * the specified `fromMilliseconds`, in this case the day represented by the model\r\n     * will change to show the correct year.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the `hour` model to the `right` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `hour` one cell to the `right` of the specified moment in time.\r\n     */\r\n    goRight(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `hour` one day `down` from the specified moment in time.\r\n     *\r\n     * Paging `down` will result in the `active` hour being part of a different day than\r\n     * the specified `fromMilliseconds`. As a result, the day represented by the model\r\n     * will change to show the correct year.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the next `hour` model page `down` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `hour` one day `down` from the specified moment in time.\r\n     */\r\n    pageDown(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `hour` one day `up` from the specified moment in time.\r\n     *\r\n     * Paging `up` will result in the `active` hour being part of a different day than\r\n     * the specified `fromMilliseconds`. As a result, the day represented by the model\r\n     * will change to show the correct year.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which the next `hour` model page `up` will be constructed.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  model containing an `active` `hour` one day `up` from the specified moment in time.\r\n     */\r\n    pageUp(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` `hour` to `11:00 pm` of the current day.\r\n     *\r\n     * The view or time range will not change unless the `fromMilliseconds` value\r\n     * is in a different day than the displayed decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which `11:00 pm` will be calculated.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  a model with the `11:00 pm` cell in the view as the active `hour`.\r\n     */\r\n    goEnd(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` `hour` to `midnight` of the current day.\r\n     *\r\n     * The view or time range will not change unless the `fromMilliseconds` value\r\n     * is in a different day than the displayed decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which `midnight` will be calculated.\r\n     * @param selectedMilliseconds\r\n     *  the current value of the date/time picker.\r\n     * @returns\r\n     *  a model with the `midnight` cell in the view as the active `hour`.\r\n     */\r\n    goHome(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n}\r\n"]}