{"version":3,"file":"dl-model-provider-month.d.ts","sources":["dl-model-provider-month.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;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 `month` view.\r\n */\r\nexport declare class DlMonthModelProvider 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 `month` model for the specified moment in `local` time with the\r\n     * `active` month set to the first day of the specified month.\r\n     *\r\n     * The `month` model represents a year (12 months) as three rows with four columns.\r\n     *\r\n     * The year always starts in January.\r\n     *\r\n     * Each cell represents midnight on the 1st day of the month.\r\n     *\r\n     * The `active` month will be the January of year of the specified milliseconds.\r\n     *\r\n     * @param milliseconds\r\n     *  the moment in time from which the month 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 `month` one row `down` from the specified moment in time.\r\n     *\r\n     * Moving `down` can result in the `active` month being part of a different year than\r\n     * the specified `fromMilliseconds`, in this case the year 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 `month` 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` `month` 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 `month` one row `up` from the specified moment in time.\r\n     *\r\n     * Moving `up` can result in the `active` month being part of a different year than\r\n     * the specified `fromMilliseconds`, in this case the year 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 previous `month` 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` `month` 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` `month` one (1) month to the `left` of the specified moment in time.\r\n     *\r\n     * Moving `left` can result in the `active` month being part of a different year than\r\n     * the specified `fromMilliseconds`, in this case the year 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 `month` 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` `month` one month 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` `month` one (1) month to the `right` of the specified moment in time.\r\n     *\r\n     * The `active` month will be `one (1) month after` the specified milliseconds.\r\n     * This moves the `active` date one month `right` in the current `month` view.\r\n     *\r\n     * Moving `right` can result in the `active` month being part of a different year than\r\n     * the specified `fromMilliseconds`, in this case the year 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 `month` 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` `month` one year 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 `month` one year `down` from the specified moment in time.\r\n     *\r\n     * Paging `down` will result in the `active` month being part of a different year than\r\n     * the specified `fromMilliseconds`. As a result, the year 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 `month` 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` `month` one year `down` from the specified moment in time.\r\n     */\r\n    pageDown(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the active `month` one year `down` from the specified moment in time.\r\n     *\r\n     * Paging `up` will result in the `active` month being part of a different year than\r\n     * the specified `fromMilliseconds`. As a result, the year 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 `month` 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` `month` one year `up` from the specified moment in time.\r\n     */\r\n    pageUp(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` `month` to `December` of the current year.\r\n     *\r\n     * The view or time range will not change unless the `fromMilliseconds` value\r\n     * is in a different year than the displayed decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which `December 1` 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 `December` cell in the view as the active `month`.\r\n     */\r\n    goEnd(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n    /**\r\n     * Move the `active` `month` to `January` of the current year.\r\n     *\r\n     * The view or time range will not change unless the `fromMilliseconds` value\r\n     * is in a different year than the displayed decade.\r\n     *\r\n     * @param fromMilliseconds\r\n     *  the moment in time from which `January 1` 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 `January` cell in the view as the active `month`.\r\n     */\r\n    goHome(fromMilliseconds: number, selectedMilliseconds: number): DlDateTimePickerModel;\r\n}\r\n"]}