@angular/material 11.2.11 → 11.2.12

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.
Files changed (34) hide show
  1. package/bundles/material-core.umd.js +17 -2
  2. package/bundles/material-core.umd.js.map +1 -1
  3. package/bundles/material-core.umd.min.js +4 -4
  4. package/bundles/material-core.umd.min.js.map +1 -1
  5. package/bundles/material-datepicker.umd.js +26 -3
  6. package/bundles/material-datepicker.umd.js.map +1 -1
  7. package/bundles/material-datepicker.umd.min.js +7 -7
  8. package/bundles/material-datepicker.umd.min.js.map +1 -1
  9. package/bundles/material-paginator.umd.js +1 -0
  10. package/bundles/material-paginator.umd.js.map +1 -1
  11. package/bundles/material-paginator.umd.min.js +1 -1
  12. package/bundles/material-paginator.umd.min.js.map +1 -1
  13. package/core/index.metadata.json +1 -1
  14. package/core/ripple/ripple-renderer.d.ts +2 -0
  15. package/core/ripple/ripple.d.ts +2 -0
  16. package/datepicker/date-range-input-parts.d.ts +2 -0
  17. package/datepicker/date-selection-model.d.ts +2 -0
  18. package/datepicker/index.metadata.json +1 -1
  19. package/esm2015/core/common-behaviors/common-module.js +1 -1
  20. package/esm2015/core/ripple/ripple-renderer.js +9 -1
  21. package/esm2015/core/ripple/ripple.js +8 -1
  22. package/esm2015/core/version.js +1 -1
  23. package/esm2015/datepicker/date-range-input-parts.js +23 -1
  24. package/esm2015/datepicker/date-selection-model.js +3 -2
  25. package/esm2015/paginator/paginator.js +2 -1
  26. package/fesm2015/core.js +17 -2
  27. package/fesm2015/core.js.map +1 -1
  28. package/fesm2015/datepicker.js +24 -1
  29. package/fesm2015/datepicker.js.map +1 -1
  30. package/fesm2015/paginator.js +1 -0
  31. package/fesm2015/paginator.js.map +1 -1
  32. package/package.json +2 -2
  33. package/paginator/index.metadata.json +1 -1
  34. package/schematics/ng-add/index.js +1 -1
@@ -35,7 +35,7 @@ var b=function b(t,e,a,n,r,i,o){void 0===r&&(r={}),void 0===i&&(i=t),this.value=
35
35
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
36
36
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
37
37
  PERFORMANCE OF THIS SOFTWARE.
38
- ***************************************************************************** */D.decorators=[{type:i.Component,args:[{selector:"[mat-calendar-body]",template:'\x3c!--\n If there\'s not enough space in the first row, create a separate label row. We mark this row as\n aria-hidden because we don\'t want it to be read out as one of the weeks in the month.\n--\x3e\n<tr *ngIf="_firstRowOffset < labelMinRequiredCells" aria-hidden="true">\n <td class="mat-calendar-body-label"\n [attr.colspan]="numCols"\n [style.paddingTop]="_cellPadding"\n [style.paddingBottom]="_cellPadding">\n {{label}}\n </td>\n</tr>\n\n\x3c!-- Create the first row separately so we can include a special spacer cell. --\x3e\n<tr *ngFor="let row of rows; let rowIndex = index" role="row">\n \x3c!--\n We mark this cell as aria-hidden so it doesn\'t get read out as one of the days in the week.\n The aspect ratio of the table cells is maintained by setting the top and bottom padding as a\n percentage of the width (a variant of the trick described here:\n https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\n --\x3e\n <td *ngIf="rowIndex === 0 && _firstRowOffset"\n aria-hidden="true"\n class="mat-calendar-body-label"\n [attr.colspan]="_firstRowOffset"\n [style.paddingTop]="_cellPadding"\n [style.paddingBottom]="_cellPadding">\n {{_firstRowOffset >= labelMinRequiredCells ? label : \'\'}}\n </td>\n <td *ngFor="let item of row; let colIndex = index"\n role="gridcell"\n class="mat-calendar-body-cell"\n [ngClass]="item.cssClasses"\n [tabindex]="_isActiveCell(rowIndex, colIndex) ? 0 : -1"\n [attr.data-mat-row]="rowIndex"\n [attr.data-mat-col]="colIndex"\n [class.mat-calendar-body-disabled]="!item.enabled"\n [class.mat-calendar-body-active]="_isActiveCell(rowIndex, colIndex)"\n [class.mat-calendar-body-range-start]="_isRangeStart(item.compareValue)"\n [class.mat-calendar-body-range-end]="_isRangeEnd(item.compareValue)"\n [class.mat-calendar-body-in-range]="_isInRange(item.compareValue)"\n [class.mat-calendar-body-comparison-bridge-start]="_isComparisonBridgeStart(item.compareValue, rowIndex, colIndex)"\n [class.mat-calendar-body-comparison-bridge-end]="_isComparisonBridgeEnd(item.compareValue, rowIndex, colIndex)"\n [class.mat-calendar-body-comparison-start]="_isComparisonStart(item.compareValue)"\n [class.mat-calendar-body-comparison-end]="_isComparisonEnd(item.compareValue)"\n [class.mat-calendar-body-in-comparison-range]="_isInComparisonRange(item.compareValue)"\n [class.mat-calendar-body-preview-start]="_isPreviewStart(item.compareValue)"\n [class.mat-calendar-body-preview-end]="_isPreviewEnd(item.compareValue)"\n [class.mat-calendar-body-in-preview]="_isInPreview(item.compareValue)"\n [attr.aria-label]="item.ariaLabel"\n [attr.aria-disabled]="!item.enabled || null"\n [attr.aria-selected]="_isSelected(item.compareValue)"\n (click)="_cellClicked(item, $event)"\n [style.width]="_cellWidth"\n [style.paddingTop]="_cellPadding"\n [style.paddingBottom]="_cellPadding">\n <div class="mat-calendar-body-cell-content mat-focus-indicator"\n [class.mat-calendar-body-selected]="_isSelected(item.compareValue)"\n [class.mat-calendar-body-comparison-identical]="_isComparisonIdentical(item.compareValue)"\n [class.mat-calendar-body-today]="todayValue === item.compareValue">\n {{item.displayValue}}\n </div>\n <div class="mat-calendar-body-cell-preview"></div>\n </td>\n</tr>\n',host:{class:"mat-calendar-body",role:"grid","aria-readonly":"true"},exportAs:"matCalendarBody",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.mat-datepicker-dialog .mat-dialog-container{position:relative;overflow:visible}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n']}]}],D.ctorParameters=function(){return[{type:i.ElementRef},{type:i.NgZone}]},D.propDecorators={label:[{type:i.Input}],rows:[{type:i.Input}],todayValue:[{type:i.Input}],startValue:[{type:i.Input}],endValue:[{type:i.Input}],labelMinRequiredCells:[{type:i.Input}],numCols:[{type:i.Input}],activeCell:[{type:i.Input}],isRange:[{type:i.Input}],cellAspectRatio:[{type:i.Input}],comparisonStart:[{type:i.Input}],comparisonEnd:[{type:i.Input}],previewStart:[{type:i.Input}],previewEnd:[{type:i.Input}],selectedValueChange:[{type:i.Output}],previewChange:[{type:i.Output}]};var I=function(t,e){return(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])})(t,e)};function O(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function a(){this.constructor=t}I(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}function x(t,e){var a="function"==typeof Symbol&&t[Symbol.iterator];if(!a)return t;var n,r,i=a.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}return o}function S(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(x(arguments[e]));return t}var E=function E(t,e){this.start=t,this.end=e},V=function(){function t(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new c.Subject,this.selectionChanged=this._selectionChanged,this.selection=t}return t.prototype.updateSelection=function(t,e){this.selection=t,this._selectionChanged.next({selection:t,source:e})},t.prototype.ngOnDestroy=function(){this._selectionChanged.complete()},t.prototype._isValidDateInstance=function(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)},t.prototype.clone=function(){return null},t}();V.decorators=[{type:i.Injectable}],V.ctorParameters=function(){return[{type:void 0},{type:d.DateAdapter}]};var M=function(t){function e(e){return t.call(this,null,e)||this}return O(e,t),e.prototype.add=function(e){t.prototype.updateSelection.call(this,e,this)},e.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)},e.prototype.isComplete=function(){return null!=this.selection},e.prototype.clone=function(){var t=new e(this._adapter);return t.updateSelection(this.selection,this),t},e}(V);M.decorators=[{type:i.Injectable}],M.ctorParameters=function(){return[{type:d.DateAdapter}]};var R=function(t){function e(e){return t.call(this,new E(null,null),e)||this}return O(e,t),e.prototype.add=function(e){var a=this.selection,n=a.start,r=a.end;null==n?n=e:null==r?r=e:(n=e,r=null),t.prototype.updateSelection.call(this,new E(n,r),this)},e.prototype.isValid=function(){var t=this.selection,e=t.start,a=t.end;return null==e&&null==a||(null!=e&&null!=a?this._isValidDateInstance(e)&&this._isValidDateInstance(a)&&this._adapter.compareDate(e,a)<=0:(null==e||this._isValidDateInstance(e))&&(null==a||this._isValidDateInstance(a)))},e.prototype.isComplete=function(){return null!=this.selection.start&&null!=this.selection.end},e.prototype.clone=function(){var t=new e(this._adapter);return t.updateSelection(this.selection,this),t},e}(V);function P(t,e){return t||new M(e)}R.decorators=[{type:i.Injectable}],R.ctorParameters=function(){return[{type:d.DateAdapter}]};var F={provide:V,deps:[[new i.Optional,new i.SkipSelf,V],d.DateAdapter],useFactory:P};function T(t,e){return t||new R(e)}var Y={provide:V,deps:[[new i.Optional,new i.SkipSelf,V],d.DateAdapter],useFactory:T},N=new i.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY"),j=function(){function t(t){this._dateAdapter=t}return t.prototype.selectionFinished=function(t,e){var a=e.start,n=e.end;return null==a?a=t:null==n&&t&&this._dateAdapter.compareDate(t,a)>=0?n=t:(a=t,n=null),new E(a,n)},t.prototype.createPreview=function(t,e){var a=null,n=null;return e.start&&!e.end&&t&&(a=e.start,n=t),new E(a,n)},t}();
38
+ ***************************************************************************** */D.decorators=[{type:i.Component,args:[{selector:"[mat-calendar-body]",template:'\x3c!--\n If there\'s not enough space in the first row, create a separate label row. We mark this row as\n aria-hidden because we don\'t want it to be read out as one of the weeks in the month.\n--\x3e\n<tr *ngIf="_firstRowOffset < labelMinRequiredCells" aria-hidden="true">\n <td class="mat-calendar-body-label"\n [attr.colspan]="numCols"\n [style.paddingTop]="_cellPadding"\n [style.paddingBottom]="_cellPadding">\n {{label}}\n </td>\n</tr>\n\n\x3c!-- Create the first row separately so we can include a special spacer cell. --\x3e\n<tr *ngFor="let row of rows; let rowIndex = index" role="row">\n \x3c!--\n We mark this cell as aria-hidden so it doesn\'t get read out as one of the days in the week.\n The aspect ratio of the table cells is maintained by setting the top and bottom padding as a\n percentage of the width (a variant of the trick described here:\n https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\n --\x3e\n <td *ngIf="rowIndex === 0 && _firstRowOffset"\n aria-hidden="true"\n class="mat-calendar-body-label"\n [attr.colspan]="_firstRowOffset"\n [style.paddingTop]="_cellPadding"\n [style.paddingBottom]="_cellPadding">\n {{_firstRowOffset >= labelMinRequiredCells ? label : \'\'}}\n </td>\n <td *ngFor="let item of row; let colIndex = index"\n role="gridcell"\n class="mat-calendar-body-cell"\n [ngClass]="item.cssClasses"\n [tabindex]="_isActiveCell(rowIndex, colIndex) ? 0 : -1"\n [attr.data-mat-row]="rowIndex"\n [attr.data-mat-col]="colIndex"\n [class.mat-calendar-body-disabled]="!item.enabled"\n [class.mat-calendar-body-active]="_isActiveCell(rowIndex, colIndex)"\n [class.mat-calendar-body-range-start]="_isRangeStart(item.compareValue)"\n [class.mat-calendar-body-range-end]="_isRangeEnd(item.compareValue)"\n [class.mat-calendar-body-in-range]="_isInRange(item.compareValue)"\n [class.mat-calendar-body-comparison-bridge-start]="_isComparisonBridgeStart(item.compareValue, rowIndex, colIndex)"\n [class.mat-calendar-body-comparison-bridge-end]="_isComparisonBridgeEnd(item.compareValue, rowIndex, colIndex)"\n [class.mat-calendar-body-comparison-start]="_isComparisonStart(item.compareValue)"\n [class.mat-calendar-body-comparison-end]="_isComparisonEnd(item.compareValue)"\n [class.mat-calendar-body-in-comparison-range]="_isInComparisonRange(item.compareValue)"\n [class.mat-calendar-body-preview-start]="_isPreviewStart(item.compareValue)"\n [class.mat-calendar-body-preview-end]="_isPreviewEnd(item.compareValue)"\n [class.mat-calendar-body-in-preview]="_isInPreview(item.compareValue)"\n [attr.aria-label]="item.ariaLabel"\n [attr.aria-disabled]="!item.enabled || null"\n [attr.aria-selected]="_isSelected(item.compareValue)"\n (click)="_cellClicked(item, $event)"\n [style.width]="_cellWidth"\n [style.paddingTop]="_cellPadding"\n [style.paddingBottom]="_cellPadding">\n <div class="mat-calendar-body-cell-content mat-focus-indicator"\n [class.mat-calendar-body-selected]="_isSelected(item.compareValue)"\n [class.mat-calendar-body-comparison-identical]="_isComparisonIdentical(item.compareValue)"\n [class.mat-calendar-body-today]="todayValue === item.compareValue">\n {{item.displayValue}}\n </div>\n <div class="mat-calendar-body-cell-preview"></div>\n </td>\n</tr>\n',host:{class:"mat-calendar-body",role:"grid","aria-readonly":"true"},exportAs:"matCalendarBody",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.mat-datepicker-dialog .mat-dialog-container{position:relative;overflow:visible}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n']}]}],D.ctorParameters=function(){return[{type:i.ElementRef},{type:i.NgZone}]},D.propDecorators={label:[{type:i.Input}],rows:[{type:i.Input}],todayValue:[{type:i.Input}],startValue:[{type:i.Input}],endValue:[{type:i.Input}],labelMinRequiredCells:[{type:i.Input}],numCols:[{type:i.Input}],activeCell:[{type:i.Input}],isRange:[{type:i.Input}],cellAspectRatio:[{type:i.Input}],comparisonStart:[{type:i.Input}],comparisonEnd:[{type:i.Input}],previewStart:[{type:i.Input}],previewEnd:[{type:i.Input}],selectedValueChange:[{type:i.Output}],previewChange:[{type:i.Output}]};var I=function(t,e){return(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])})(t,e)};function O(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function a(){this.constructor=t}I(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}function x(t,e){var a="function"==typeof Symbol&&t[Symbol.iterator];if(!a)return t;var n,r,i=a.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}return o}function S(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(x(arguments[e]));return t}var E=function E(t,e){this.start=t,this.end=e},V=function(){function t(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new c.Subject,this.selectionChanged=this._selectionChanged,this.selection=t}return t.prototype.updateSelection=function(t,e){var a=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:a})},t.prototype.ngOnDestroy=function(){this._selectionChanged.complete()},t.prototype._isValidDateInstance=function(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)},t.prototype.clone=function(){return null},t}();V.decorators=[{type:i.Injectable}],V.ctorParameters=function(){return[{type:void 0},{type:d.DateAdapter}]};var M=function(t){function e(e){return t.call(this,null,e)||this}return O(e,t),e.prototype.add=function(e){t.prototype.updateSelection.call(this,e,this)},e.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)},e.prototype.isComplete=function(){return null!=this.selection},e.prototype.clone=function(){var t=new e(this._adapter);return t.updateSelection(this.selection,this),t},e}(V);M.decorators=[{type:i.Injectable}],M.ctorParameters=function(){return[{type:d.DateAdapter}]};var R=function(t){function e(e){return t.call(this,new E(null,null),e)||this}return O(e,t),e.prototype.add=function(e){var a=this.selection,n=a.start,r=a.end;null==n?n=e:null==r?r=e:(n=e,r=null),t.prototype.updateSelection.call(this,new E(n,r),this)},e.prototype.isValid=function(){var t=this.selection,e=t.start,a=t.end;return null==e&&null==a||(null!=e&&null!=a?this._isValidDateInstance(e)&&this._isValidDateInstance(a)&&this._adapter.compareDate(e,a)<=0:(null==e||this._isValidDateInstance(e))&&(null==a||this._isValidDateInstance(a)))},e.prototype.isComplete=function(){return null!=this.selection.start&&null!=this.selection.end},e.prototype.clone=function(){var t=new e(this._adapter);return t.updateSelection(this.selection,this),t},e}(V);function P(t,e){return t||new M(e)}R.decorators=[{type:i.Injectable}],R.ctorParameters=function(){return[{type:d.DateAdapter}]};var F={provide:V,deps:[[new i.Optional,new i.SkipSelf,V],d.DateAdapter],useFactory:P};function T(t,e){return t||new R(e)}var Y={provide:V,deps:[[new i.Optional,new i.SkipSelf,V],d.DateAdapter],useFactory:T},N=new i.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY"),j=function(){function t(t){this._dateAdapter=t}return t.prototype.selectionFinished=function(t,e){var a=e.start,n=e.end;return null==a?a=t:null==n&&t&&this._dateAdapter.compareDate(t,a)>=0?n=t:(a=t,n=null),new E(a,n)},t.prototype.createPreview=function(t,e){var a=null,n=null;return e.start&&!e.end&&t&&(a=e.start,n=t),new E(a,n)},t}();
39
39
  /**
40
40
  * @license
41
41
  * Copyright Google LLC All Rights Reserved.
@@ -57,14 +57,14 @@ var b=function b(t,e,a,n,r,i,o){void 0===r&&(r={}),void 0===i&&(i=t),this.value=
57
57
  * Use of this source code is governed by an MIT-style license that can be
58
58
  * found in the LICENSE file at https://angular.io/license
59
59
  */
60
- var W=function(){function t(t,e,a){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=a,this._rerenderSubscription=c.Subscription.EMPTY,this.selectedChange=new i.EventEmitter,this.yearSelected=new i.EventEmitter,this.activeDateChange=new i.EventEmitter,this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),H(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t instanceof E?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(h.startWith(null)).subscribe((function(){return t._init()}))},t.prototype.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()},t.prototype._init=function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate)-G(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var a=0,n=[];a<24;a++)n.push(e+a),4==n.length&&(this._years.push(n.map((function(e){return t._createCellForYear(e)}))),n=[]);this._changeDetectorRef.markForCheck()},t.prototype._yearSelected=function(t){var e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var a=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,a,1));this.selectedChange.emit(this._dateAdapter.createDate(e,a,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},t.prototype._handleCalendarBodyKeydown=function(t){var e=this._activeDate,a=this._isRtl();switch(t.keyCode){case p.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?1:-1);break;case p.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?-1:1);break;case p.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case p.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case p.HOME:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-G(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case p.END:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-G(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case p.PAGE_UP:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case p.PAGE_DOWN:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case p.ENTER:case p.SPACE:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()},t.prototype._getActiveCell=function(){return G(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)},t.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},t.prototype._createCellForYear=function(t){var e=this._dateAdapter.createDate(t,0,1),a=this._dateAdapter.getYearName(e),n=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new b(t,a,a,this._shouldEnableYear(t),n)},t.prototype._shouldEnableYear=function(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1},t.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},t.prototype._setSelectedYear=function(t){if(this._selectedYear=null,t instanceof E){var e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))},t}();function H(t,e,a,n,r){var i=t.getYear(e),o=t.getYear(a),s=q(t,n,r);return Math.floor((i-s)/24)===Math.floor((o-s)/24)}function G(t,e,a,n){return function r(t,e){return(t%e+e)%e}
60
+ var H=function(){function t(t,e,a){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=a,this._rerenderSubscription=c.Subscription.EMPTY,this.selectedChange=new i.EventEmitter,this.yearSelected=new i.EventEmitter,this.activeDateChange=new i.EventEmitter,this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),W(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t instanceof E?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(h.startWith(null)).subscribe((function(){return t._init()}))},t.prototype.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()},t.prototype._init=function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate)-G(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var a=0,n=[];a<24;a++)n.push(e+a),4==n.length&&(this._years.push(n.map((function(e){return t._createCellForYear(e)}))),n=[]);this._changeDetectorRef.markForCheck()},t.prototype._yearSelected=function(t){var e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var a=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,a,1));this.selectedChange.emit(this._dateAdapter.createDate(e,a,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},t.prototype._handleCalendarBodyKeydown=function(t){var e=this._activeDate,a=this._isRtl();switch(t.keyCode){case p.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?1:-1);break;case p.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?-1:1);break;case p.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case p.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case p.HOME:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-G(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case p.END:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-G(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case p.PAGE_UP:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case p.PAGE_DOWN:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case p.ENTER:case p.SPACE:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()},t.prototype._getActiveCell=function(){return G(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)},t.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},t.prototype._createCellForYear=function(t){var e=this._dateAdapter.createDate(t,0,1),a=this._dateAdapter.getYearName(e),n=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new b(t,a,a,this._shouldEnableYear(t),n)},t.prototype._shouldEnableYear=function(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1},t.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},t.prototype._setSelectedYear=function(t){if(this._selectedYear=null,t instanceof E){var e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))},t}();function W(t,e,a,n,r){var i=t.getYear(e),o=t.getYear(a),s=q(t,n,r);return Math.floor((i-s)/24)===Math.floor((o-s)/24)}function G(t,e,a,n){return function r(t,e){return(t%e+e)%e}
61
61
  /**
62
62
  * @license
63
63
  * Copyright Google LLC All Rights Reserved.
64
64
  *
65
65
  * Use of this source code is governed by an MIT-style license that can be
66
66
  * found in the LICENSE file at https://angular.io/license
67
- */(t.getYear(e)-q(t,a,n),24)}function q(t,e,a){var n=0;return a?n=t.getYear(a)-24+1:e&&(n=t.getYear(e)),n}W.decorators=[{type:i.Component,args:[{selector:"mat-multi-year-view",template:'<table class="mat-calendar-table" role="presentation">\n <thead class="mat-calendar-table-header">\n <tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [rows]="_years"\n [todayValue]="_todayYear"\n [startValue]="_selectedYear!"\n [endValue]="_selectedYear!"\n [numCols]="4"\n [cellAspectRatio]="4 / 7"\n [activeCell]="_getActiveCell()"\n (selectedValueChange)="_yearSelected($event)"\n (keydown)="_handleCalendarBodyKeydown($event)">\n </tbody>\n</table>\n',exportAs:"matMultiYearView",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush}]}],W.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:u.Directionality,decorators:[{type:i.Optional}]}]},W.propDecorators={activeDate:[{type:i.Input}],selected:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],dateFilter:[{type:i.Input}],dateClass:[{type:i.Input}],selectedChange:[{type:i.Output}],yearSelected:[{type:i.Output}],activeDateChange:[{type:i.Output}],_matCalendarBody:[{type:i.ViewChild,args:[D]}]};var K=function(){function t(t,e,a,n){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=a,this._dir=n,this._rerenderSubscription=c.Subscription.EMPTY,this.selectedChange=new i.EventEmitter,this.monthSelected=new i.EventEmitter,this.activeDateChange=new i.EventEmitter,this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t instanceof E?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(h.startWith(null)).subscribe((function(){return t._init()}))},t.prototype.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()},t.prototype._monthSelected=function(t){var e=t.value,a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(a);var n=this._dateAdapter.getNumDaysInMonth(a);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},t.prototype._handleCalendarBodyKeydown=function(t){var e=this._activeDate,a=this._isRtl();switch(t.keyCode){case p.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?1:-1);break;case p.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?-1:1);break;case p.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case p.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case p.HOME:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case p.END:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case p.PAGE_UP:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case p.PAGE_DOWN:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case p.ENTER:case p.SPACE:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()},t.prototype._init=function(){var t=this;this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map((function(a){return a.map((function(a){return t._createCellForMonth(a,e[a])}))})),this._changeDetectorRef.markForCheck()},t.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},t.prototype._getMonthInCurrentYear=function(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null},t.prototype._createCellForMonth=function(t,e){var a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.format(a,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(a,"year"):void 0;return new b(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t),r)},t.prototype._shouldEnableMonth=function(t){var e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(var a=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(a)==t;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1},t.prototype._isYearAndMonthAfterMaxDate=function(t,e){if(this.maxDate){var a=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return t>a||t===a&&e>n}return!1},t.prototype._isYearAndMonthBeforeMinDate=function(t,e){if(this.minDate){var a=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return t<a||t===a&&e<n}return!1},t.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},t.prototype._setSelectedMonth=function(t){this._selectedMonth=t instanceof E?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)},t}();K.decorators=[{type:i.Component,args:[{selector:"mat-year-view",template:'<table class="mat-calendar-table" role="presentation">\n <thead class="mat-calendar-table-header">\n <tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [label]="_yearLabel"\n [rows]="_months"\n [todayValue]="_todayMonth!"\n [startValue]="_selectedMonth!"\n [endValue]="_selectedMonth!"\n [labelMinRequiredCells]="2"\n [numCols]="4"\n [cellAspectRatio]="4 / 7"\n [activeCell]="_dateAdapter.getMonth(activeDate)"\n (selectedValueChange)="_monthSelected($event)"\n (keydown)="_handleCalendarBodyKeydown($event)">\n </tbody>\n</table>\n',exportAs:"matYearView",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush}]}],K.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:u.Directionality,decorators:[{type:i.Optional}]}]},K.propDecorators={activeDate:[{type:i.Input}],selected:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],dateFilter:[{type:i.Input}],dateClass:[{type:i.Input}],selectedChange:[{type:i.Output}],monthSelected:[{type:i.Output}],activeDateChange:[{type:i.Output}],_matCalendarBody:[{type:i.ViewChild,args:[D]}]};
67
+ */(t.getYear(e)-q(t,a,n),24)}function q(t,e,a){var n=0;return a?n=t.getYear(a)-24+1:e&&(n=t.getYear(e)),n}H.decorators=[{type:i.Component,args:[{selector:"mat-multi-year-view",template:'<table class="mat-calendar-table" role="presentation">\n <thead class="mat-calendar-table-header">\n <tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [rows]="_years"\n [todayValue]="_todayYear"\n [startValue]="_selectedYear!"\n [endValue]="_selectedYear!"\n [numCols]="4"\n [cellAspectRatio]="4 / 7"\n [activeCell]="_getActiveCell()"\n (selectedValueChange)="_yearSelected($event)"\n (keydown)="_handleCalendarBodyKeydown($event)">\n </tbody>\n</table>\n',exportAs:"matMultiYearView",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush}]}],H.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:u.Directionality,decorators:[{type:i.Optional}]}]},H.propDecorators={activeDate:[{type:i.Input}],selected:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],dateFilter:[{type:i.Input}],dateClass:[{type:i.Input}],selectedChange:[{type:i.Output}],yearSelected:[{type:i.Output}],activeDateChange:[{type:i.Output}],_matCalendarBody:[{type:i.ViewChild,args:[D]}]};var K=function(){function t(t,e,a,n){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=a,this._dir=n,this._rerenderSubscription=c.Subscription.EMPTY,this.selectedChange=new i.EventEmitter,this.monthSelected=new i.EventEmitter,this.activeDateChange=new i.EventEmitter,this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t instanceof E?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(h.startWith(null)).subscribe((function(){return t._init()}))},t.prototype.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()},t.prototype._monthSelected=function(t){var e=t.value,a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(a);var n=this._dateAdapter.getNumDaysInMonth(a);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},t.prototype._handleCalendarBodyKeydown=function(t){var e=this._activeDate,a=this._isRtl();switch(t.keyCode){case p.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?1:-1);break;case p.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?-1:1);break;case p.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case p.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case p.HOME:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case p.END:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case p.PAGE_UP:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case p.PAGE_DOWN:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case p.ENTER:case p.SPACE:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()},t.prototype._init=function(){var t=this;this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map((function(a){return a.map((function(a){return t._createCellForMonth(a,e[a])}))})),this._changeDetectorRef.markForCheck()},t.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},t.prototype._getMonthInCurrentYear=function(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null},t.prototype._createCellForMonth=function(t,e){var a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.format(a,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(a,"year"):void 0;return new b(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t),r)},t.prototype._shouldEnableMonth=function(t){var e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(var a=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(a)==t;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1},t.prototype._isYearAndMonthAfterMaxDate=function(t,e){if(this.maxDate){var a=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return t>a||t===a&&e>n}return!1},t.prototype._isYearAndMonthBeforeMinDate=function(t,e){if(this.minDate){var a=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return t<a||t===a&&e<n}return!1},t.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},t.prototype._setSelectedMonth=function(t){this._selectedMonth=t instanceof E?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)},t}();K.decorators=[{type:i.Component,args:[{selector:"mat-year-view",template:'<table class="mat-calendar-table" role="presentation">\n <thead class="mat-calendar-table-header">\n <tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>\n </thead>\n <tbody mat-calendar-body\n [label]="_yearLabel"\n [rows]="_months"\n [todayValue]="_todayMonth!"\n [startValue]="_selectedMonth!"\n [endValue]="_selectedMonth!"\n [labelMinRequiredCells]="2"\n [numCols]="4"\n [cellAspectRatio]="4 / 7"\n [activeCell]="_dateAdapter.getMonth(activeDate)"\n (selectedValueChange)="_monthSelected($event)"\n (keydown)="_handleCalendarBodyKeydown($event)">\n </tbody>\n</table>\n',exportAs:"matYearView",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush}]}],K.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:u.Directionality,decorators:[{type:i.Optional}]}]},K.propDecorators={activeDate:[{type:i.Input}],selected:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],dateFilter:[{type:i.Input}],dateClass:[{type:i.Input}],selectedChange:[{type:i.Output}],monthSelected:[{type:i.Output}],activeDateChange:[{type:i.Output}],_matCalendarBody:[{type:i.ViewChild,args:[D]}]};
68
68
  /**
69
69
  * @license
70
70
  * Copyright Google LLC All Rights Reserved.
@@ -72,7 +72,7 @@ var W=function(){function t(t,e,a){this._changeDetectorRef=t,this._dateAdapter=e
72
72
  * Use of this source code is governed by an MIT-style license that can be
73
73
  * found in the LICENSE file at https://angular.io/license
74
74
  */
75
- var U=0,$=function(){function t(t,e,a,n,r){this._intl=t,this.calendar=e,this._dateAdapter=a,this._dateFormats=n,this._buttonDescriptionId="mat-calendar-button-"+U++,this.calendar.stateChanges.subscribe((function(){return r.markForCheck()}))}return Object.defineProperty(t.prototype,"periodButtonText",{get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var t=this._dateAdapter.getYear(this.calendar.activeDate)-G(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(a,n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"periodButtonLabel",{get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"prevButtonLabel",{get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextButtonLabel",{get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]},enumerable:!1,configurable:!0}),t.prototype.currentPeriodClicked=function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"},t.prototype.previousClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)},t.prototype.nextClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)},t.prototype.previousEnabled=function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)},t.prototype.nextEnabled=function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)},t.prototype._isSameView=function(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):H(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)},t}();$.decorators=[{type:i.Component,args:[{selector:"mat-calendar-header",template:'<div class="mat-calendar-header">\n <div class="mat-calendar-controls">\n <button mat-button type="button" class="mat-calendar-period-button"\n (click)="currentPeriodClicked()" [attr.aria-label]="periodButtonLabel"\n [attr.aria-describedby]="_buttonDescriptionId"\n cdkAriaLive="polite">\n <span [attr.id]="_buttonDescriptionId">{{periodButtonText}}</span>\n <div class="mat-calendar-arrow"\n [class.mat-calendar-invert]="calendar.currentView !== \'month\'"></div>\n </button>\n\n <div class="mat-calendar-spacer"></div>\n\n <ng-content></ng-content>\n\n <button mat-icon-button type="button" class="mat-calendar-previous-button"\n [disabled]="!previousEnabled()" (click)="previousClicked()"\n [attr.aria-label]="prevButtonLabel">\n </button>\n\n <button mat-icon-button type="button" class="mat-calendar-next-button"\n [disabled]="!nextEnabled()" (click)="nextClicked()"\n [attr.aria-label]="nextButtonLabel">\n </button>\n </div>\n</div>\n',exportAs:"matCalendarHeader",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush}]}],$.ctorParameters=function(){return[{type:v},{type:X,decorators:[{type:i.Inject,args:[i.forwardRef((function(){return X}))]}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]},{type:i.ChangeDetectorRef}]};var X=function(){function t(t,e,a,n){var r=this;this._dateAdapter=e,this._dateFormats=a,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new i.EventEmitter,this.yearSelected=new i.EventEmitter,this.monthSelected=new i.EventEmitter,this.viewChanged=new i.EventEmitter(!0),this._userSelection=new i.EventEmitter,this.stateChanges=new c.Subject,this._intlChanges=t.changes.subscribe((function(){n.markForCheck(),r.stateChanges.next()}))}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t instanceof E?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._clampedActiveDate},set:function(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentView",{get:function(){return this._currentView},set:function(t){var e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)},enumerable:!1,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._calendarHeaderPortal=new n.ComponentPortal(this.headerComponent||$),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView},t.prototype.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())},t.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()},t.prototype.ngOnChanges=function(t){var e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){var a=this._getCurrentViewComponent();a&&(this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()},t.prototype.focusActiveCell=function(){this._getCurrentViewComponent()._focusActiveCell(!1)},t.prototype.updateTodaysDate=function(){var t=this.currentView;("month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView)._init()},t.prototype._dateSelected=function(t){var e=t.value;(this.selected instanceof E||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)},t.prototype._yearSelectedInMultiYearView=function(t){this.yearSelected.emit(t)},t.prototype._monthSelectedInYearView=function(t){this.monthSelected.emit(t)},t.prototype._goToDateInView=function(t,e){this.activeDate=t,this.currentView=e},t.prototype._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView},t}();X.decorators=[{type:i.Component,args:[{selector:"mat-calendar",template:'<ng-template [cdkPortalOutlet]="_calendarHeaderPortal"></ng-template>\n\n<div class="mat-calendar-content" [ngSwitch]="currentView" cdkMonitorSubtreeFocus tabindex="-1">\n <mat-month-view\n *ngSwitchCase="\'month\'"\n [(activeDate)]="activeDate"\n [selected]="selected"\n [dateFilter]="dateFilter"\n [maxDate]="maxDate"\n [minDate]="minDate"\n [dateClass]="dateClass"\n [comparisonStart]="comparisonStart"\n [comparisonEnd]="comparisonEnd"\n (_userSelection)="_dateSelected($event)">\n </mat-month-view>\n\n <mat-year-view\n *ngSwitchCase="\'year\'"\n [(activeDate)]="activeDate"\n [selected]="selected"\n [dateFilter]="dateFilter"\n [maxDate]="maxDate"\n [minDate]="minDate"\n [dateClass]="dateClass"\n (monthSelected)="_monthSelectedInYearView($event)"\n (selectedChange)="_goToDateInView($event, \'month\')">\n </mat-year-view>\n\n <mat-multi-year-view\n *ngSwitchCase="\'multi-year\'"\n [(activeDate)]="activeDate"\n [selected]="selected"\n [dateFilter]="dateFilter"\n [maxDate]="maxDate"\n [minDate]="minDate"\n [dateClass]="dateClass"\n (yearSelected)="_yearSelectedInMultiYearView($event)"\n (selectedChange)="_goToDateInView($event, \'year\')">\n </mat-multi-year-view>\n</div>\n',host:{class:"mat-calendar"},exportAs:"matCalendar",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,providers:[F],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n']}]}],X.ctorParameters=function(){return[{type:v},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]},{type:i.ChangeDetectorRef}]},X.propDecorators={headerComponent:[{type:i.Input}],startAt:[{type:i.Input}],startView:[{type:i.Input}],selected:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],dateFilter:[{type:i.Input}],dateClass:[{type:i.Input}],comparisonStart:[{type:i.Input}],comparisonEnd:[{type:i.Input}],selectedChange:[{type:i.Output}],yearSelected:[{type:i.Output}],monthSelected:[{type:i.Output}],viewChanged:[{type:i.Output}],_userSelection:[{type:i.Output}],monthView:[{type:i.ViewChild,args:[z]}],yearView:[{type:i.ViewChild,args:[K]}],multiYearView:[{type:i.ViewChild,args:[W]}]};
75
+ var U=0,$=function(){function t(t,e,a,n,r){this._intl=t,this.calendar=e,this._dateAdapter=a,this._dateFormats=n,this._buttonDescriptionId="mat-calendar-button-"+U++,this.calendar.stateChanges.subscribe((function(){return r.markForCheck()}))}return Object.defineProperty(t.prototype,"periodButtonText",{get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var t=this._dateAdapter.getYear(this.calendar.activeDate)-G(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(a,n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"periodButtonLabel",{get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"prevButtonLabel",{get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextButtonLabel",{get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]},enumerable:!1,configurable:!0}),t.prototype.currentPeriodClicked=function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"},t.prototype.previousClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)},t.prototype.nextClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)},t.prototype.previousEnabled=function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)},t.prototype.nextEnabled=function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)},t.prototype._isSameView=function(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):W(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)},t}();$.decorators=[{type:i.Component,args:[{selector:"mat-calendar-header",template:'<div class="mat-calendar-header">\n <div class="mat-calendar-controls">\n <button mat-button type="button" class="mat-calendar-period-button"\n (click)="currentPeriodClicked()" [attr.aria-label]="periodButtonLabel"\n [attr.aria-describedby]="_buttonDescriptionId"\n cdkAriaLive="polite">\n <span [attr.id]="_buttonDescriptionId">{{periodButtonText}}</span>\n <div class="mat-calendar-arrow"\n [class.mat-calendar-invert]="calendar.currentView !== \'month\'"></div>\n </button>\n\n <div class="mat-calendar-spacer"></div>\n\n <ng-content></ng-content>\n\n <button mat-icon-button type="button" class="mat-calendar-previous-button"\n [disabled]="!previousEnabled()" (click)="previousClicked()"\n [attr.aria-label]="prevButtonLabel">\n </button>\n\n <button mat-icon-button type="button" class="mat-calendar-next-button"\n [disabled]="!nextEnabled()" (click)="nextClicked()"\n [attr.aria-label]="nextButtonLabel">\n </button>\n </div>\n</div>\n',exportAs:"matCalendarHeader",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush}]}],$.ctorParameters=function(){return[{type:v},{type:X,decorators:[{type:i.Inject,args:[i.forwardRef((function(){return X}))]}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]},{type:i.ChangeDetectorRef}]};var X=function(){function t(t,e,a,n){var r=this;this._dateAdapter=e,this._dateFormats=a,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new i.EventEmitter,this.yearSelected=new i.EventEmitter,this.monthSelected=new i.EventEmitter,this.viewChanged=new i.EventEmitter(!0),this._userSelection=new i.EventEmitter,this.stateChanges=new c.Subject,this._intlChanges=t.changes.subscribe((function(){n.markForCheck(),r.stateChanges.next()}))}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t instanceof E?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._clampedActiveDate},set:function(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentView",{get:function(){return this._currentView},set:function(t){var e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)},enumerable:!1,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._calendarHeaderPortal=new n.ComponentPortal(this.headerComponent||$),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView},t.prototype.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())},t.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()},t.prototype.ngOnChanges=function(t){var e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){var a=this._getCurrentViewComponent();a&&(this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()},t.prototype.focusActiveCell=function(){this._getCurrentViewComponent()._focusActiveCell(!1)},t.prototype.updateTodaysDate=function(){var t=this.currentView;("month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView)._init()},t.prototype._dateSelected=function(t){var e=t.value;(this.selected instanceof E||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)},t.prototype._yearSelectedInMultiYearView=function(t){this.yearSelected.emit(t)},t.prototype._monthSelectedInYearView=function(t){this.monthSelected.emit(t)},t.prototype._goToDateInView=function(t,e){this.activeDate=t,this.currentView=e},t.prototype._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView},t}();X.decorators=[{type:i.Component,args:[{selector:"mat-calendar",template:'<ng-template [cdkPortalOutlet]="_calendarHeaderPortal"></ng-template>\n\n<div class="mat-calendar-content" [ngSwitch]="currentView" cdkMonitorSubtreeFocus tabindex="-1">\n <mat-month-view\n *ngSwitchCase="\'month\'"\n [(activeDate)]="activeDate"\n [selected]="selected"\n [dateFilter]="dateFilter"\n [maxDate]="maxDate"\n [minDate]="minDate"\n [dateClass]="dateClass"\n [comparisonStart]="comparisonStart"\n [comparisonEnd]="comparisonEnd"\n (_userSelection)="_dateSelected($event)">\n </mat-month-view>\n\n <mat-year-view\n *ngSwitchCase="\'year\'"\n [(activeDate)]="activeDate"\n [selected]="selected"\n [dateFilter]="dateFilter"\n [maxDate]="maxDate"\n [minDate]="minDate"\n [dateClass]="dateClass"\n (monthSelected)="_monthSelectedInYearView($event)"\n (selectedChange)="_goToDateInView($event, \'month\')">\n </mat-year-view>\n\n <mat-multi-year-view\n *ngSwitchCase="\'multi-year\'"\n [(activeDate)]="activeDate"\n [selected]="selected"\n [dateFilter]="dateFilter"\n [maxDate]="maxDate"\n [minDate]="minDate"\n [dateClass]="dateClass"\n (yearSelected)="_yearSelectedInMultiYearView($event)"\n (selectedChange)="_goToDateInView($event, \'year\')">\n </mat-multi-year-view>\n</div>\n',host:{class:"mat-calendar"},exportAs:"matCalendar",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,providers:[F],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n']}]}],X.ctorParameters=function(){return[{type:v},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]},{type:i.ChangeDetectorRef}]},X.propDecorators={headerComponent:[{type:i.Input}],startAt:[{type:i.Input}],startView:[{type:i.Input}],selected:[{type:i.Input}],minDate:[{type:i.Input}],maxDate:[{type:i.Input}],dateFilter:[{type:i.Input}],dateClass:[{type:i.Input}],comparisonStart:[{type:i.Input}],comparisonEnd:[{type:i.Input}],selectedChange:[{type:i.Output}],yearSelected:[{type:i.Output}],monthSelected:[{type:i.Output}],viewChanged:[{type:i.Output}],_userSelection:[{type:i.Output}],monthView:[{type:i.ViewChild,args:[z]}],yearView:[{type:i.ViewChild,args:[K]}],multiYearView:[{type:i.ViewChild,args:[H]}]};
76
76
  /**
77
77
  * @license
78
78
  * Copyright Google LLC All Rights Reserved.
@@ -80,7 +80,7 @@ var U=0,$=function(){function t(t,e,a,n,r){this._intl=t,this.calendar=e,this._da
80
80
  * Use of this source code is governed by an MIT-style license that can be
81
81
  * found in the LICENSE file at https://angular.io/license
82
82
  */
83
- var Z={transformPanel:m.trigger("transformPanel",[m.state("void",m.style({opacity:0,transform:"scale(1, 0.8)"})),m.transition("void => enter",m.animate("120ms cubic-bezier(0, 0, 0.2, 1)",m.style({opacity:1,transform:"scale(1, 1)"}))),m.transition("* => void",m.animate("100ms linear",m.style({opacity:0})))]),fadeInCalendar:m.trigger("fadeInCalendar",[m.state("void",m.style({opacity:0})),m.state("enter",m.style({opacity:1})),m.transition("void => *",m.animate("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},J=0,Q=new i.InjectionToken("mat-datepicker-scroll-strategy");function tt(t){return function(){return t.scrollStrategies.reposition()}}var et={provide:Q,deps:[a.Overlay],useFactory:tt},at=function(t){function e(e,a,n,r,i,o){var s=t.call(this,e)||this;return s._changeDetectorRef=a,s._globalModel=n,s._dateAdapter=r,s._rangeSelectionStrategy=i,s._subscriptions=new c.Subscription,s._animationState="enter",s._animationDone=new c.Subject,s._actionsPortal=null,s._closeButtonText=(null==o?void 0:o.closeCalendarLabel)||"Close calendar",s}return O(e,t),e.prototype.ngOnInit=function(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel},e.prototype.ngAfterViewInit=function(){var t=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe((function(){t._changeDetectorRef.markForCheck()}))),this._calendar.focusActiveCell()},e.prototype.ngOnDestroy=function(){this._subscriptions.unsubscribe(),this._animationDone.complete()},e.prototype._handleUserSelection=function(t){var e=this._model.selection,a=t.value,n=e instanceof E;if(n&&this._rangeSelectionStrategy){var r=this._rangeSelectionStrategy.selectionFinished(a,e,t.event);this._model.updateSelection(r,this)}else!a||!n&&this._dateAdapter.sameDate(a,e)||this._model.add(a);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()},e.prototype._startExitAnimation=function(){this._animationState="void",this._changeDetectorRef.markForCheck()},e.prototype._getSelected=function(){return this._model.selection},e.prototype._applyPendingSelection=function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)},e}(d.mixinColor((function nt(t){this._elementRef=t})));at.decorators=[{type:i.Component,args:[{selector:"mat-datepicker-content",template:'<div\n cdkTrapFocus\n class="mat-datepicker-content-container"\n [class.mat-datepicker-content-container-with-actions]="_actionsPortal">\n <mat-calendar\n [id]="datepicker.id"\n [ngClass]="datepicker.panelClass"\n [startAt]="datepicker.startAt"\n [startView]="datepicker.startView"\n [minDate]="datepicker._getMinDate()"\n [maxDate]="datepicker._getMaxDate()"\n [dateFilter]="datepicker._getDateFilter()"\n [headerComponent]="datepicker.calendarHeaderComponent"\n [selected]="_getSelected()"\n [dateClass]="datepicker.dateClass"\n [comparisonStart]="comparisonStart"\n [comparisonEnd]="comparisonEnd"\n [@fadeInCalendar]="\'enter\'"\n (yearSelected)="datepicker._selectYear($event)"\n (monthSelected)="datepicker._selectMonth($event)"\n (viewChanged)="datepicker._viewChanged($event)"\n (_userSelection)="_handleUserSelection($event)"></mat-calendar>\n\n <ng-template [cdkPortalOutlet]="_actionsPortal"></ng-template>\n\n \x3c!-- Invisible close button for screen reader users. --\x3e\n <button\n type="button"\n mat-raised-button\n [color]="color || \'primary\'"\n class="mat-datepicker-close-button"\n [class.cdk-visually-hidden]="!_closeButtonFocused"\n (focus)="_closeButtonFocused = true"\n (blur)="_closeButtonFocused = false"\n (click)="datepicker.close()">{{ _closeButtonText }}</button>\n</div>\n',host:{class:"mat-datepicker-content","[@transformPanel]":"_animationState","(@transformPanel.done)":"_animationDone.next()","[class.mat-datepicker-content-touch]":"datepicker.touchUi"},animations:[Z.transformPanel,Z.fadeInCalendar],exportAs:"matDatepickerContent",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,inputs:["color"],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"]}]}],at.ctorParameters=function(){return[{type:i.ElementRef},{type:i.ChangeDetectorRef},{type:V},{type:d.DateAdapter},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[N]}]},{type:v}]},at.propDecorators={_calendar:[{type:i.ViewChild,args:[X]}]};var rt=function(){function t(t,e,a,n,r,o,s,l,d){this._dialog=t,this._overlay=e,this._ngZone=a,this._viewContainerRef=n,this._dateAdapter=o,this._dir=s,this._document=l,this._model=d,this._inputStateChanges=c.Subscription.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new i.EventEmitter,this.monthSelected=new i.EventEmitter,this.viewChanged=new i.EventEmitter(!0),this.openedStream=new i.EventEmitter,this.closedStream=new i.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+J++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this.stateChanges=new c.Subject,this._scrollStrategy=r}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)},set:function(t){this._color=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"touchUi",{get:function(){return this._touchUi},set:function(t){this._touchUi=_.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(t){var e=_.coerceBooleanProperty(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"restoreFocus",{get:function(){return this._restoreFocus},set:function(t){this._restoreFocus=_.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{get:function(){return this._panelClass},set:function(t){this._panelClass=_.coerceStringArray(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opened",{get:function(){return this._opened},set:function(t){_.coerceBooleanProperty(t)?this.open():this.close()},enumerable:!1,configurable:!0}),t.prototype._getMinDate=function(){return this.datepickerInput&&this.datepickerInput.min},t.prototype._getMaxDate=function(){return this.datepickerInput&&this.datepickerInput.max},t.prototype._getDateFilter=function(){return this.datepickerInput&&this.datepickerInput.dateFilter},t.prototype.ngOnChanges=function(t){var e=t.xPosition||t.yPosition;e&&!e.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this.stateChanges.next(void 0)},t.prototype.ngOnDestroy=function(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()},t.prototype.select=function(t){this._model.add(t)},t.prototype._selectYear=function(t){this.yearSelected.emit(t)},t.prototype._selectMonth=function(t){this.monthSelected.emit(t)},t.prototype._viewChanged=function(t){this.viewChanged.emit(t)},t.prototype.registerInput=function(t){var e=this;return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe((function(){return e.stateChanges.next(void 0)})),this._model},t.prototype.registerActions=function(t){this._actionsPortal=t},t.prototype.removeActions=function(t){t===this._actionsPortal&&(this._actionsPortal=null)},t.prototype.open=function(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())},t.prototype.close=function(){var t=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(h.take(1)).subscribe((function(){return t._destroyPopup()}))}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var a=function(){t._opened&&(t._opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(a)):a()}},t.prototype._applyPendingSelection=function(){var t,e,a=(null===(t=this._popupComponentRef)||void 0===t?void 0:t.instance)||(null===(e=this._dialogRef)||void 0===e?void 0:e.componentInstance);null==a||a._applyPendingSelection()},t.prototype._openAsDialog=function(){var t=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(at,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!1,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe((function(){return t.close()})),this._forwardContentValues(this._dialogRef.componentInstance)},t.prototype._openAsPopup=function(){var t=this,e=new n.ComponentPortal(at,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(e),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(h.take(1)).subscribe((function(){t._popupRef.updatePosition()}))},t.prototype._forwardContentValues=function(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal},t.prototype._createPopup=function(){var t=this,e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),n=new a.OverlayConfig({positionStrategy:this._setConnectedPositions(e),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(n),this._popupRef.overlayElement.setAttribute("role","dialog"),c.merge(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(h.filter((function(e){return e.keyCode===p.ESCAPE&&!p.hasModifierKey(e)||t.datepickerInput&&p.hasModifierKey(e,"altKey")&&e.keyCode===p.UP_ARROW})))).subscribe((function(e){e&&e.preventDefault(),t.close()}))},t.prototype._destroyPopup=function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)},t.prototype._setConnectedPositions=function(t){var e="end"===this.xPosition?"end":"start",a="start"===e?"end":"start",n="above"===this.yPosition?"bottom":"top",r="top"===n?"bottom":"top";return t.withPositions([{originX:e,originY:r,overlayX:e,overlayY:n},{originX:e,originY:n,overlayX:e,overlayY:r},{originX:a,originY:r,overlayX:a,overlayY:n},{originX:a,originY:n,overlayX:a,overlayY:r}])},t}();rt.decorators=[{type:i.Directive}],rt.ctorParameters=function(){return[{type:s.MatDialog},{type:a.Overlay},{type:i.NgZone},{type:i.ViewContainerRef},{type:void 0,decorators:[{type:i.Inject,args:[Q]}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:u.Directionality,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[r.DOCUMENT]}]},{type:V}]},rt.propDecorators={calendarHeaderComponent:[{type:i.Input}],startAt:[{type:i.Input}],startView:[{type:i.Input}],color:[{type:i.Input}],touchUi:[{type:i.Input}],disabled:[{type:i.Input}],xPosition:[{type:i.Input}],yPosition:[{type:i.Input}],restoreFocus:[{type:i.Input}],yearSelected:[{type:i.Output}],monthSelected:[{type:i.Output}],viewChanged:[{type:i.Output}],dateClass:[{type:i.Input}],openedStream:[{type:i.Output,args:["opened"]}],closedStream:[{type:i.Output,args:["closed"]}],panelClass:[{type:i.Input}],opened:[{type:i.Input}]};var it=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e}(rt);it.decorators=[{type:i.Component,args:[{selector:"mat-datepicker",template:"",exportAs:"matDatepicker",changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None,providers:[F,{provide:rt,useExisting:it}]}]}];var ot=function ot(t,e){this.target=t,this.targetElement=e,this.value=this.target.value},st=function(){function t(t,e,a){var n=this;this._elementRef=t,this._dateAdapter=e,this._dateFormats=a,this.dateChange=new i.EventEmitter,this.dateInput=new i.EventEmitter,this.stateChanges=new c.Subject,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=c.Subscription.EMPTY,this._localeSubscription=c.Subscription.EMPTY,this._parseValidator=function(){return n._lastValueValid?null:{matDatepickerParse:{text:n._elementRef.nativeElement.value}}},this._filterValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value));return!e||n._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value)),a=n._getMinDate();return!a||!e||n._dateAdapter.compareDate(a,e)<=0?null:{matDatepickerMin:{min:a,actual:e}}},this._maxValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value)),a=n._getMaxDate();return!a||!e||n._dateAdapter.compareDate(a,e)>=0?null:{matDatepickerMax:{max:a,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe((function(){n._assignValueProgrammatically(n.value)}))}return Object.defineProperty(t.prototype,"value",{get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(t){this._assignValueProgrammatically(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return!!this._disabled||this._parentDisabled()},set:function(t){var e=_.coerceBooleanProperty(t),a=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&a.blur&&a.blur()},enumerable:!1,configurable:!0}),t.prototype._getValidators=function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]},t.prototype._registerModel=function(t){var e=this;this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe((function(t){if(e._shouldHandleChangeEvent(t)){var a=e._getValueFromModel(t.selection);e._lastValueValid=e._isValidValue(a),e._cvaOnChange(a),e._onTouched(),e._formatValue(a),e.dateInput.emit(new ot(e,e._elementRef.nativeElement)),e.dateChange.emit(new ot(e,e._elementRef.nativeElement))}}))},t.prototype.ngAfterViewInit=function(){this._isInitialized=!0},t.prototype.ngOnChanges=function(t){lt(t,this._dateAdapter)&&this.stateChanges.next(void 0)},t.prototype.ngOnDestroy=function(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()},t.prototype.registerOnValidatorChange=function(t){this._validatorOnChange=t},t.prototype.validate=function(t){return this._validator?this._validator(t):null},t.prototype.writeValue=function(t){this._assignValueProgrammatically(t)},t.prototype.registerOnChange=function(t){this._cvaOnChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._onKeydown=function(t){t.altKey&&t.keyCode===p.DOWN_ARROW&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())},t.prototype._onInput=function(t){var e=this._lastValueValid,a=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a),this._dateAdapter.sameDate(a,this.value)?(t&&!this.value&&this._cvaOnChange(a),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(a),this._cvaOnChange(a),this.dateInput.emit(new ot(this,this._elementRef.nativeElement)))},t.prototype._onChange=function(){this.dateChange.emit(new ot(this,this._elementRef.nativeElement))},t.prototype._onBlur=function(){this.value&&this._formatValue(this.value),this._onTouched()},t.prototype._formatValue=function(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""},t.prototype._assignValue=function(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t},t.prototype._isValidValue=function(t){return!t||this._dateAdapter.isValid(t)},t.prototype._parentDisabled=function(){return!1},t.prototype._assignValueProgrammatically=function(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)},t.prototype._matchesFilter=function(t){var e=this._getDateFilter();return!e||e(t)},t}();function lt(t,e){var a,n,r=Object.keys(t);try{for(var i=function o(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],n=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),s=i.next();!s.done;s=i.next()){var l=t[s.value],d=l.previousValue,c=l.currentValue;if(!e.isDateInstance(d)||!e.isDateInstance(c))return!0;if(!e.sameDate(d,c))return!0}}catch(t){a={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return!1}st.decorators=[{type:i.Directive}],st.ctorParameters=function(){return[{type:i.ElementRef},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]}]},st.propDecorators={value:[{type:i.Input}],disabled:[{type:i.Input}],dateChange:[{type:i.Output}],dateInput:[{type:i.Output}]};var dt,ct={provide:g.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return ut})),multi:!0},pt={provide:g.NG_VALIDATORS,useExisting:i.forwardRef((function(){return ut})),multi:!0},ut=function(t){function e(e,a,n,r){var i=t.call(this,e,a,n)||this;return i._formField=r,i._closedSubscription=c.Subscription.EMPTY,i._validator=g.Validators.compose(t.prototype._getValidators.call(i)),i}return O(e,t),Object.defineProperty(e.prototype,"matDatepicker",{set:function(t){var e=this;t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe((function(){return e._onTouched()})),this._registerModel(t.registerInput(this)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this._min},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this._max},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dateFilter",{get:function(){return this._dateFilter},set:function(t){var e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()},enumerable:!1,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef},e.prototype.getThemePalette=function(){return this._formField?this._formField.color:void 0},e.prototype.getStartValue=function(){return this.value},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._closedSubscription.unsubscribe()},e.prototype._openPopup=function(){this._datepicker&&this._datepicker.open()},e.prototype._getValueFromModel=function(t){return t},e.prototype._assignValueToModel=function(t){this._model&&this._model.updateSelection(t,this)},e.prototype._getMinDate=function(){return this._min},e.prototype._getMaxDate=function(){return this._max},e.prototype._getDateFilter=function(){return this._dateFilter},e.prototype._shouldHandleChangeEvent=function(t){return t.source!==this},e}(st);ut.decorators=[{type:i.Directive,args:[{selector:"input[matDatepicker]",providers:[ct,pt,{provide:f.MAT_INPUT_VALUE_ACCESSOR,useExisting:ut}],host:{class:"mat-datepicker-input","[attr.aria-haspopup]":'_datepicker ? "dialog" : null',"[attr.aria-owns]":"(_datepicker?.opened && _datepicker.id) || null","[attr.min]":"min ? _dateAdapter.toIso8601(min) : null","[attr.max]":"max ? _dateAdapter.toIso8601(max) : null","[attr.data-mat-calendar]":"_datepicker ? _datepicker.id : null","[disabled]":"disabled","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(blur)":"_onBlur()","(keydown)":"_onKeydown($event)"},exportAs:"matDatepickerInput"}]}],ut.ctorParameters=function(){return[{type:i.ElementRef},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]},{type:y.MatFormField,decorators:[{type:i.Optional},{type:i.Inject,args:[y.MAT_FORM_FIELD]}]}]},ut.propDecorators={matDatepicker:[{type:i.Input}],min:[{type:i.Input}],max:[{type:i.Input}],dateFilter:[{type:i.Input,args:["matDatepickerFilter"]}]},(dt=function dt(){}).decorators=[{type:i.Directive,args:[{selector:"[matDatepickerToggleIcon]"}]}];var ht=function(){function t(t,e,a){this._intl=t,this._changeDetectorRef=e,this._stateChanges=c.Subscription.EMPTY;var n=Number(a);this.tabIndex=n||0===n?n:null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(t){this._disabled=_.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnChanges=function(t){t.datepicker&&this._watchStateChanges()},t.prototype.ngOnDestroy=function(){this._stateChanges.unsubscribe()},t.prototype.ngAfterContentInit=function(){this._watchStateChanges()},t.prototype._open=function(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())},t.prototype._watchStateChanges=function(){var t=this,e=this.datepicker?this.datepicker.stateChanges:c.of(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:c.of(),n=this.datepicker?c.merge(this.datepicker.openedStream,this.datepicker.closedStream):c.of();this._stateChanges.unsubscribe(),this._stateChanges=c.merge(this._intl.changes,e,a,n).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},t}();ht.decorators=[{type:i.Component,args:[{selector:"mat-datepicker-toggle",template:'<button\n #button\n mat-icon-button\n type="button"\n [attr.aria-haspopup]="datepicker ? \'dialog\' : null"\n [attr.aria-label]="ariaLabel || _intl.openCalendarLabel"\n [attr.tabindex]="disabled ? -1 : tabIndex"\n [disabled]="disabled"\n [disableRipple]="disableRipple">\n\n <svg\n *ngIf="!_customIcon"\n class="mat-datepicker-toggle-default-icon"\n viewBox="0 0 24 24"\n width="24px"\n height="24px"\n fill="currentColor"\n focusable="false">\n <path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/>\n </svg>\n\n <ng-content select="[matDatepickerToggleIcon]"></ng-content>\n</button>\n',host:{class:"mat-datepicker-toggle","[attr.tabindex]":"null","[class.mat-datepicker-toggle-active]":"datepicker && datepicker.opened","[class.mat-accent]":'datepicker && datepicker.color === "accent"',"[class.mat-warn]":'datepicker && datepicker.color === "warn"',"[attr.data-mat-calendar]":"datepicker ? datepicker.id : null","(click)":"_open($event)"},exportAs:"matDatepickerToggle",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"]}]}],ht.ctorParameters=function(){return[{type:v},{type:i.ChangeDetectorRef},{type:String,decorators:[{type:i.Attribute,args:["tabindex"]}]}]},ht.propDecorators={datepicker:[{type:i.Input,args:["for"]}],tabIndex:[{type:i.Input}],ariaLabel:[{type:i.Input,args:["aria-label"]}],disabled:[{type:i.Input}],disableRipple:[{type:i.Input}],_customIcon:[{type:i.ContentChild,args:[dt]}],_button:[{type:i.ViewChild,args:["button"]}]};var _t=new i.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),mt=function(t){function e(e,a,n,r,i,o,s,l){var d=t.call(this,a,s,l)||this;return d._rangeInput=e,d._defaultErrorStateMatcher=n,d._injector=r,d._parentForm=i,d._parentFormGroup=o,d}return O(e,t),e.prototype.ngOnInit=function(){var t=this._injector.get(g.NgControl,null,i.InjectFlags.Self);t&&(this.ngControl=t)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.isEmpty=function(){return 0===this._elementRef.nativeElement.value.length},e.prototype._getPlaceholder=function(){return this._elementRef.nativeElement.placeholder},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._onInput=function(e){t.prototype._onInput.call(this,e),this._rangeInput._handleChildValueChange()},e.prototype._openPopup=function(){this._rangeInput._openDatepicker()},e.prototype._getMinDate=function(){return this._rangeInput.min},e.prototype._getMaxDate=function(){return this._rangeInput.max},e.prototype._getDateFilter=function(){return this._rangeInput.dateFilter},e.prototype._parentDisabled=function(){return this._rangeInput._groupDisabled},e.prototype._shouldHandleChangeEvent=function(t){var e=t.source;return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput},e.prototype._assignValueProgrammatically=function(e){t.prototype._assignValueProgrammatically.call(this,e);var a=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==a||a._validatorOnChange()},e}(st);mt.decorators=[{type:i.Directive}],mt.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[_t]}]},{type:i.ElementRef},{type:d.ErrorStateMatcher},{type:i.Injector},{type:g.NgForm,decorators:[{type:i.Optional}]},{type:g.FormGroupDirective,decorators:[{type:i.Optional}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]}]};var gt=d.mixinErrorState(mt),yt=function(t){function e(e,a,n,r,i,o,s,l){var d=t.call(this,e,a,n,r,i,o,s,l)||this;return d._startValidator=function(t){var e=d._dateAdapter.getValidDateOrNull(d._dateAdapter.deserialize(t.value)),a=d._model?d._model.selection.end:null;return!e||!a||d._dateAdapter.compareDate(e,a)<=0?null:{matStartDateInvalid:{end:a,actual:e}}},d._validator=g.Validators.compose(S(t.prototype._getValidators.call(d),[d._startValidator])),d}return O(e,t),e.prototype.ngOnInit=function(){t.prototype.ngOnInit.call(this)},e.prototype.ngDoCheck=function(){t.prototype.ngDoCheck.call(this)},e.prototype._getValueFromModel=function(t){return t.start},e.prototype._assignValueToModel=function(t){if(this._model){var e=new E(t,this._model.selection.end);this._model.updateSelection(e,this)}},e.prototype._formatValue=function(e){t.prototype._formatValue.call(this,e),this._rangeInput._handleChildValueChange()},e.prototype.getMirrorValue=function(){var t=this._elementRef.nativeElement,e=t.value;return e.length>0?e:t.placeholder},e}(gt);yt.decorators=[{type:i.Directive,args:[{selector:"input[matStartDate]",host:{class:"mat-start-date mat-date-range-input-inner","[disabled]":"disabled","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(keydown)":"_onKeydown($event)","[attr.id]":"_rangeInput.id","[attr.aria-haspopup]":'_rangeInput.rangePicker ? "dialog" : null',"[attr.aria-owns]":"(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null","[attr.min]":"_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null","[attr.max]":"_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null","(blur)":"_onBlur()",type:"text"},providers:[{provide:g.NG_VALUE_ACCESSOR,useExisting:yt,multi:!0},{provide:g.NG_VALIDATORS,useExisting:yt,multi:!0}],outputs:["dateChange","dateInput"],inputs:["errorStateMatcher"]}]}],yt.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[_t]}]},{type:i.ElementRef},{type:d.ErrorStateMatcher},{type:i.Injector},{type:g.NgForm,decorators:[{type:i.Optional}]},{type:g.FormGroupDirective,decorators:[{type:i.Optional}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]}]};var ft=function(t){function e(e,a,n,r,i,o,s,l){var d=t.call(this,e,a,n,r,i,o,s,l)||this;return d._endValidator=function(t){var e=d._dateAdapter.getValidDateOrNull(d._dateAdapter.deserialize(t.value)),a=d._model?d._model.selection.start:null;return!e||!a||d._dateAdapter.compareDate(e,a)>=0?null:{matEndDateInvalid:{start:a,actual:e}}},d._validator=g.Validators.compose(S(t.prototype._getValidators.call(d),[d._endValidator])),d}return O(e,t),e.prototype.ngOnInit=function(){t.prototype.ngOnInit.call(this)},e.prototype.ngDoCheck=function(){t.prototype.ngDoCheck.call(this)},e.prototype._getValueFromModel=function(t){return t.end},e.prototype._assignValueToModel=function(t){if(this._model){var e=new E(this._model.selection.start,t);this._model.updateSelection(e,this)}},e.prototype._onKeydown=function(e){e.keyCode!==p.BACKSPACE||this._elementRef.nativeElement.value||this._rangeInput._startInput.focus(),t.prototype._onKeydown.call(this,e)},e}(gt);ft.decorators=[{type:i.Directive,args:[{selector:"input[matEndDate]",host:{class:"mat-end-date mat-date-range-input-inner","[disabled]":"disabled","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(keydown)":"_onKeydown($event)","[attr.aria-haspopup]":'_rangeInput.rangePicker ? "dialog" : null',"[attr.aria-owns]":"(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null","[attr.min]":"_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null","[attr.max]":"_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null","(blur)":"_onBlur()",type:"text"},providers:[{provide:g.NG_VALUE_ACCESSOR,useExisting:ft,multi:!0},{provide:g.NG_VALIDATORS,useExisting:ft,multi:!0}],outputs:["dateChange","dateInput"],inputs:["errorStateMatcher"]}]}],ft.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[_t]}]},{type:i.ElementRef},{type:d.ErrorStateMatcher},{type:i.Injector},{type:g.NgForm,decorators:[{type:i.Optional}]},{type:g.FormGroupDirective,decorators:[{type:i.Optional}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]}]};
83
+ var Z={transformPanel:m.trigger("transformPanel",[m.state("void",m.style({opacity:0,transform:"scale(1, 0.8)"})),m.transition("void => enter",m.animate("120ms cubic-bezier(0, 0, 0.2, 1)",m.style({opacity:1,transform:"scale(1, 1)"}))),m.transition("* => void",m.animate("100ms linear",m.style({opacity:0})))]),fadeInCalendar:m.trigger("fadeInCalendar",[m.state("void",m.style({opacity:0})),m.state("enter",m.style({opacity:1})),m.transition("void => *",m.animate("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},J=0,Q=new i.InjectionToken("mat-datepicker-scroll-strategy");function tt(t){return function(){return t.scrollStrategies.reposition()}}var et={provide:Q,deps:[a.Overlay],useFactory:tt},at=function(t){function e(e,a,n,r,i,o){var s=t.call(this,e)||this;return s._changeDetectorRef=a,s._globalModel=n,s._dateAdapter=r,s._rangeSelectionStrategy=i,s._subscriptions=new c.Subscription,s._animationState="enter",s._animationDone=new c.Subject,s._actionsPortal=null,s._closeButtonText=(null==o?void 0:o.closeCalendarLabel)||"Close calendar",s}return O(e,t),e.prototype.ngOnInit=function(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel},e.prototype.ngAfterViewInit=function(){var t=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe((function(){t._changeDetectorRef.markForCheck()}))),this._calendar.focusActiveCell()},e.prototype.ngOnDestroy=function(){this._subscriptions.unsubscribe(),this._animationDone.complete()},e.prototype._handleUserSelection=function(t){var e=this._model.selection,a=t.value,n=e instanceof E;if(n&&this._rangeSelectionStrategy){var r=this._rangeSelectionStrategy.selectionFinished(a,e,t.event);this._model.updateSelection(r,this)}else!a||!n&&this._dateAdapter.sameDate(a,e)||this._model.add(a);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()},e.prototype._startExitAnimation=function(){this._animationState="void",this._changeDetectorRef.markForCheck()},e.prototype._getSelected=function(){return this._model.selection},e.prototype._applyPendingSelection=function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)},e}(d.mixinColor((function nt(t){this._elementRef=t})));at.decorators=[{type:i.Component,args:[{selector:"mat-datepicker-content",template:'<div\n cdkTrapFocus\n class="mat-datepicker-content-container"\n [class.mat-datepicker-content-container-with-actions]="_actionsPortal">\n <mat-calendar\n [id]="datepicker.id"\n [ngClass]="datepicker.panelClass"\n [startAt]="datepicker.startAt"\n [startView]="datepicker.startView"\n [minDate]="datepicker._getMinDate()"\n [maxDate]="datepicker._getMaxDate()"\n [dateFilter]="datepicker._getDateFilter()"\n [headerComponent]="datepicker.calendarHeaderComponent"\n [selected]="_getSelected()"\n [dateClass]="datepicker.dateClass"\n [comparisonStart]="comparisonStart"\n [comparisonEnd]="comparisonEnd"\n [@fadeInCalendar]="\'enter\'"\n (yearSelected)="datepicker._selectYear($event)"\n (monthSelected)="datepicker._selectMonth($event)"\n (viewChanged)="datepicker._viewChanged($event)"\n (_userSelection)="_handleUserSelection($event)"></mat-calendar>\n\n <ng-template [cdkPortalOutlet]="_actionsPortal"></ng-template>\n\n \x3c!-- Invisible close button for screen reader users. --\x3e\n <button\n type="button"\n mat-raised-button\n [color]="color || \'primary\'"\n class="mat-datepicker-close-button"\n [class.cdk-visually-hidden]="!_closeButtonFocused"\n (focus)="_closeButtonFocused = true"\n (blur)="_closeButtonFocused = false"\n (click)="datepicker.close()">{{ _closeButtonText }}</button>\n</div>\n',host:{class:"mat-datepicker-content","[@transformPanel]":"_animationState","(@transformPanel.done)":"_animationDone.next()","[class.mat-datepicker-content-touch]":"datepicker.touchUi"},animations:[Z.transformPanel,Z.fadeInCalendar],exportAs:"matDatepickerContent",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,inputs:["color"],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"]}]}],at.ctorParameters=function(){return[{type:i.ElementRef},{type:i.ChangeDetectorRef},{type:V},{type:d.DateAdapter},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[N]}]},{type:v}]},at.propDecorators={_calendar:[{type:i.ViewChild,args:[X]}]};var rt=function(){function t(t,e,a,n,r,o,s,l,d){this._dialog=t,this._overlay=e,this._ngZone=a,this._viewContainerRef=n,this._dateAdapter=o,this._dir=s,this._document=l,this._model=d,this._inputStateChanges=c.Subscription.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new i.EventEmitter,this.monthSelected=new i.EventEmitter,this.viewChanged=new i.EventEmitter(!0),this.openedStream=new i.EventEmitter,this.closedStream=new i.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+J++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this.stateChanges=new c.Subject,this._scrollStrategy=r}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)},set:function(t){this._color=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"touchUi",{get:function(){return this._touchUi},set:function(t){this._touchUi=_.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(t){var e=_.coerceBooleanProperty(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"restoreFocus",{get:function(){return this._restoreFocus},set:function(t){this._restoreFocus=_.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{get:function(){return this._panelClass},set:function(t){this._panelClass=_.coerceStringArray(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opened",{get:function(){return this._opened},set:function(t){_.coerceBooleanProperty(t)?this.open():this.close()},enumerable:!1,configurable:!0}),t.prototype._getMinDate=function(){return this.datepickerInput&&this.datepickerInput.min},t.prototype._getMaxDate=function(){return this.datepickerInput&&this.datepickerInput.max},t.prototype._getDateFilter=function(){return this.datepickerInput&&this.datepickerInput.dateFilter},t.prototype.ngOnChanges=function(t){var e=t.xPosition||t.yPosition;e&&!e.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this.stateChanges.next(void 0)},t.prototype.ngOnDestroy=function(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()},t.prototype.select=function(t){this._model.add(t)},t.prototype._selectYear=function(t){this.yearSelected.emit(t)},t.prototype._selectMonth=function(t){this.monthSelected.emit(t)},t.prototype._viewChanged=function(t){this.viewChanged.emit(t)},t.prototype.registerInput=function(t){var e=this;return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe((function(){return e.stateChanges.next(void 0)})),this._model},t.prototype.registerActions=function(t){this._actionsPortal=t},t.prototype.removeActions=function(t){t===this._actionsPortal&&(this._actionsPortal=null)},t.prototype.open=function(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())},t.prototype.close=function(){var t=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(h.take(1)).subscribe((function(){return t._destroyPopup()}))}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var a=function(){t._opened&&(t._opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(a)):a()}},t.prototype._applyPendingSelection=function(){var t,e,a=(null===(t=this._popupComponentRef)||void 0===t?void 0:t.instance)||(null===(e=this._dialogRef)||void 0===e?void 0:e.componentInstance);null==a||a._applyPendingSelection()},t.prototype._openAsDialog=function(){var t=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(at,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!1,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe((function(){return t.close()})),this._forwardContentValues(this._dialogRef.componentInstance)},t.prototype._openAsPopup=function(){var t=this,e=new n.ComponentPortal(at,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(e),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(h.take(1)).subscribe((function(){t._popupRef.updatePosition()}))},t.prototype._forwardContentValues=function(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal},t.prototype._createPopup=function(){var t=this,e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),n=new a.OverlayConfig({positionStrategy:this._setConnectedPositions(e),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(n),this._popupRef.overlayElement.setAttribute("role","dialog"),c.merge(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(h.filter((function(e){return e.keyCode===p.ESCAPE&&!p.hasModifierKey(e)||t.datepickerInput&&p.hasModifierKey(e,"altKey")&&e.keyCode===p.UP_ARROW})))).subscribe((function(e){e&&e.preventDefault(),t.close()}))},t.prototype._destroyPopup=function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)},t.prototype._setConnectedPositions=function(t){var e="end"===this.xPosition?"end":"start",a="start"===e?"end":"start",n="above"===this.yPosition?"bottom":"top",r="top"===n?"bottom":"top";return t.withPositions([{originX:e,originY:r,overlayX:e,overlayY:n},{originX:e,originY:n,overlayX:e,overlayY:r},{originX:a,originY:r,overlayX:a,overlayY:n},{originX:a,originY:n,overlayX:a,overlayY:r}])},t}();rt.decorators=[{type:i.Directive}],rt.ctorParameters=function(){return[{type:s.MatDialog},{type:a.Overlay},{type:i.NgZone},{type:i.ViewContainerRef},{type:void 0,decorators:[{type:i.Inject,args:[Q]}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:u.Directionality,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[r.DOCUMENT]}]},{type:V}]},rt.propDecorators={calendarHeaderComponent:[{type:i.Input}],startAt:[{type:i.Input}],startView:[{type:i.Input}],color:[{type:i.Input}],touchUi:[{type:i.Input}],disabled:[{type:i.Input}],xPosition:[{type:i.Input}],yPosition:[{type:i.Input}],restoreFocus:[{type:i.Input}],yearSelected:[{type:i.Output}],monthSelected:[{type:i.Output}],viewChanged:[{type:i.Output}],dateClass:[{type:i.Input}],openedStream:[{type:i.Output,args:["opened"]}],closedStream:[{type:i.Output,args:["closed"]}],panelClass:[{type:i.Input}],opened:[{type:i.Input}]};var it=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e}(rt);it.decorators=[{type:i.Component,args:[{selector:"mat-datepicker",template:"",exportAs:"matDatepicker",changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None,providers:[F,{provide:rt,useExisting:it}]}]}];var ot=function ot(t,e){this.target=t,this.targetElement=e,this.value=this.target.value},st=function(){function t(t,e,a){var n=this;this._elementRef=t,this._dateAdapter=e,this._dateFormats=a,this.dateChange=new i.EventEmitter,this.dateInput=new i.EventEmitter,this.stateChanges=new c.Subject,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=c.Subscription.EMPTY,this._localeSubscription=c.Subscription.EMPTY,this._parseValidator=function(){return n._lastValueValid?null:{matDatepickerParse:{text:n._elementRef.nativeElement.value}}},this._filterValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value));return!e||n._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value)),a=n._getMinDate();return!a||!e||n._dateAdapter.compareDate(a,e)<=0?null:{matDatepickerMin:{min:a,actual:e}}},this._maxValidator=function(t){var e=n._dateAdapter.getValidDateOrNull(n._dateAdapter.deserialize(t.value)),a=n._getMaxDate();return!a||!e||n._dateAdapter.compareDate(a,e)>=0?null:{matDatepickerMax:{max:a,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe((function(){n._assignValueProgrammatically(n.value)}))}return Object.defineProperty(t.prototype,"value",{get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(t){this._assignValueProgrammatically(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return!!this._disabled||this._parentDisabled()},set:function(t){var e=_.coerceBooleanProperty(t),a=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&a.blur&&a.blur()},enumerable:!1,configurable:!0}),t.prototype._getValidators=function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]},t.prototype._registerModel=function(t){var e=this;this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe((function(t){if(e._shouldHandleChangeEvent(t)){var a=e._getValueFromModel(t.selection);e._lastValueValid=e._isValidValue(a),e._cvaOnChange(a),e._onTouched(),e._formatValue(a),e.dateInput.emit(new ot(e,e._elementRef.nativeElement)),e.dateChange.emit(new ot(e,e._elementRef.nativeElement))}}))},t.prototype.ngAfterViewInit=function(){this._isInitialized=!0},t.prototype.ngOnChanges=function(t){lt(t,this._dateAdapter)&&this.stateChanges.next(void 0)},t.prototype.ngOnDestroy=function(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()},t.prototype.registerOnValidatorChange=function(t){this._validatorOnChange=t},t.prototype.validate=function(t){return this._validator?this._validator(t):null},t.prototype.writeValue=function(t){this._assignValueProgrammatically(t)},t.prototype.registerOnChange=function(t){this._cvaOnChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._onKeydown=function(t){t.altKey&&t.keyCode===p.DOWN_ARROW&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())},t.prototype._onInput=function(t){var e=this._lastValueValid,a=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a),this._dateAdapter.sameDate(a,this.value)?(t&&!this.value&&this._cvaOnChange(a),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(a),this._cvaOnChange(a),this.dateInput.emit(new ot(this,this._elementRef.nativeElement)))},t.prototype._onChange=function(){this.dateChange.emit(new ot(this,this._elementRef.nativeElement))},t.prototype._onBlur=function(){this.value&&this._formatValue(this.value),this._onTouched()},t.prototype._formatValue=function(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""},t.prototype._assignValue=function(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t},t.prototype._isValidValue=function(t){return!t||this._dateAdapter.isValid(t)},t.prototype._parentDisabled=function(){return!1},t.prototype._assignValueProgrammatically=function(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)},t.prototype._matchesFilter=function(t){var e=this._getDateFilter();return!e||e(t)},t}();function lt(t,e){var a,n,r=Object.keys(t);try{for(var i=function o(t){var e="function"==typeof Symbol&&Symbol.iterator,a=e&&t[e],n=0;if(a)return a.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),s=i.next();!s.done;s=i.next()){var l=t[s.value],d=l.previousValue,c=l.currentValue;if(!e.isDateInstance(d)||!e.isDateInstance(c))return!0;if(!e.sameDate(d,c))return!0}}catch(t){a={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return!1}st.decorators=[{type:i.Directive}],st.ctorParameters=function(){return[{type:i.ElementRef},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]}]},st.propDecorators={value:[{type:i.Input}],disabled:[{type:i.Input}],dateChange:[{type:i.Output}],dateInput:[{type:i.Output}]};var dt,ct={provide:g.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return ut})),multi:!0},pt={provide:g.NG_VALIDATORS,useExisting:i.forwardRef((function(){return ut})),multi:!0},ut=function(t){function e(e,a,n,r){var i=t.call(this,e,a,n)||this;return i._formField=r,i._closedSubscription=c.Subscription.EMPTY,i._validator=g.Validators.compose(t.prototype._getValidators.call(i)),i}return O(e,t),Object.defineProperty(e.prototype,"matDatepicker",{set:function(t){var e=this;t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe((function(){return e._onTouched()})),this._registerModel(t.registerInput(this)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this._min},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this._max},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dateFilter",{get:function(){return this._dateFilter},set:function(t){var e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()},enumerable:!1,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef},e.prototype.getThemePalette=function(){return this._formField?this._formField.color:void 0},e.prototype.getStartValue=function(){return this.value},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._closedSubscription.unsubscribe()},e.prototype._openPopup=function(){this._datepicker&&this._datepicker.open()},e.prototype._getValueFromModel=function(t){return t},e.prototype._assignValueToModel=function(t){this._model&&this._model.updateSelection(t,this)},e.prototype._getMinDate=function(){return this._min},e.prototype._getMaxDate=function(){return this._max},e.prototype._getDateFilter=function(){return this._dateFilter},e.prototype._shouldHandleChangeEvent=function(t){return t.source!==this},e}(st);ut.decorators=[{type:i.Directive,args:[{selector:"input[matDatepicker]",providers:[ct,pt,{provide:f.MAT_INPUT_VALUE_ACCESSOR,useExisting:ut}],host:{class:"mat-datepicker-input","[attr.aria-haspopup]":'_datepicker ? "dialog" : null',"[attr.aria-owns]":"(_datepicker?.opened && _datepicker.id) || null","[attr.min]":"min ? _dateAdapter.toIso8601(min) : null","[attr.max]":"max ? _dateAdapter.toIso8601(max) : null","[attr.data-mat-calendar]":"_datepicker ? _datepicker.id : null","[disabled]":"disabled","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(blur)":"_onBlur()","(keydown)":"_onKeydown($event)"},exportAs:"matDatepickerInput"}]}],ut.ctorParameters=function(){return[{type:i.ElementRef},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]},{type:y.MatFormField,decorators:[{type:i.Optional},{type:i.Inject,args:[y.MAT_FORM_FIELD]}]}]},ut.propDecorators={matDatepicker:[{type:i.Input}],min:[{type:i.Input}],max:[{type:i.Input}],dateFilter:[{type:i.Input,args:["matDatepickerFilter"]}]},(dt=function dt(){}).decorators=[{type:i.Directive,args:[{selector:"[matDatepickerToggleIcon]"}]}];var ht=function(){function t(t,e,a){this._intl=t,this._changeDetectorRef=e,this._stateChanges=c.Subscription.EMPTY;var n=Number(a);this.tabIndex=n||0===n?n:null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(t){this._disabled=_.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnChanges=function(t){t.datepicker&&this._watchStateChanges()},t.prototype.ngOnDestroy=function(){this._stateChanges.unsubscribe()},t.prototype.ngAfterContentInit=function(){this._watchStateChanges()},t.prototype._open=function(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())},t.prototype._watchStateChanges=function(){var t=this,e=this.datepicker?this.datepicker.stateChanges:c.of(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:c.of(),n=this.datepicker?c.merge(this.datepicker.openedStream,this.datepicker.closedStream):c.of();this._stateChanges.unsubscribe(),this._stateChanges=c.merge(this._intl.changes,e,a,n).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},t}();ht.decorators=[{type:i.Component,args:[{selector:"mat-datepicker-toggle",template:'<button\n #button\n mat-icon-button\n type="button"\n [attr.aria-haspopup]="datepicker ? \'dialog\' : null"\n [attr.aria-label]="ariaLabel || _intl.openCalendarLabel"\n [attr.tabindex]="disabled ? -1 : tabIndex"\n [disabled]="disabled"\n [disableRipple]="disableRipple">\n\n <svg\n *ngIf="!_customIcon"\n class="mat-datepicker-toggle-default-icon"\n viewBox="0 0 24 24"\n width="24px"\n height="24px"\n fill="currentColor"\n focusable="false">\n <path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/>\n </svg>\n\n <ng-content select="[matDatepickerToggleIcon]"></ng-content>\n</button>\n',host:{class:"mat-datepicker-toggle","[attr.tabindex]":"null","[class.mat-datepicker-toggle-active]":"datepicker && datepicker.opened","[class.mat-accent]":'datepicker && datepicker.color === "accent"',"[class.mat-warn]":'datepicker && datepicker.color === "warn"',"[attr.data-mat-calendar]":"datepicker ? datepicker.id : null","(click)":"_open($event)"},exportAs:"matDatepickerToggle",encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"]}]}],ht.ctorParameters=function(){return[{type:v},{type:i.ChangeDetectorRef},{type:String,decorators:[{type:i.Attribute,args:["tabindex"]}]}]},ht.propDecorators={datepicker:[{type:i.Input,args:["for"]}],tabIndex:[{type:i.Input}],ariaLabel:[{type:i.Input,args:["aria-label"]}],disabled:[{type:i.Input}],disableRipple:[{type:i.Input}],_customIcon:[{type:i.ContentChild,args:[dt]}],_button:[{type:i.ViewChild,args:["button"]}]};var _t=new i.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),mt=function(t){function e(e,a,n,r,i,o,s,l){var d=t.call(this,a,s,l)||this;return d._rangeInput=e,d._defaultErrorStateMatcher=n,d._injector=r,d._parentForm=i,d._parentFormGroup=o,d}return O(e,t),e.prototype.ngOnInit=function(){var t=this._injector.get(g.NgControl,null,i.InjectFlags.Self);t&&(this.ngControl=t)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.isEmpty=function(){return 0===this._elementRef.nativeElement.value.length},e.prototype._getPlaceholder=function(){return this._elementRef.nativeElement.placeholder},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._onInput=function(e){t.prototype._onInput.call(this,e),this._rangeInput._handleChildValueChange()},e.prototype._openPopup=function(){this._rangeInput._openDatepicker()},e.prototype._getMinDate=function(){return this._rangeInput.min},e.prototype._getMaxDate=function(){return this._rangeInput.max},e.prototype._getDateFilter=function(){return this._rangeInput.dateFilter},e.prototype._parentDisabled=function(){return this._rangeInput._groupDisabled},e.prototype._shouldHandleChangeEvent=function(t){var e=t.source;return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput},e.prototype._assignValueProgrammatically=function(e){t.prototype._assignValueProgrammatically.call(this,e);var a=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==a||a._validatorOnChange()},e}(st);mt.decorators=[{type:i.Directive}],mt.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[_t]}]},{type:i.ElementRef},{type:d.ErrorStateMatcher},{type:i.Injector},{type:g.NgForm,decorators:[{type:i.Optional}]},{type:g.FormGroupDirective,decorators:[{type:i.Optional}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]}]};var gt=d.mixinErrorState(mt),yt=function(t){function e(e,a,n,r,i,o,s,l){var d=t.call(this,e,a,n,r,i,o,s,l)||this;return d._startValidator=function(t){var e=d._dateAdapter.getValidDateOrNull(d._dateAdapter.deserialize(t.value)),a=d._model?d._model.selection.end:null;return!e||!a||d._dateAdapter.compareDate(e,a)<=0?null:{matStartDateInvalid:{end:a,actual:e}}},d._validator=g.Validators.compose(S(t.prototype._getValidators.call(d),[d._startValidator])),d}return O(e,t),e.prototype.ngOnInit=function(){t.prototype.ngOnInit.call(this)},e.prototype.ngDoCheck=function(){t.prototype.ngDoCheck.call(this)},e.prototype._getValueFromModel=function(t){return t.start},e.prototype._shouldHandleChangeEvent=function(e){var a;return!(!t.prototype._shouldHandleChangeEvent.call(this,e)||((null===(a=e.oldValue)||void 0===a?void 0:a.start)?e.selection.start&&!this._dateAdapter.compareDate(e.oldValue.start,e.selection.start):!e.selection.start))},e.prototype._assignValueToModel=function(t){if(this._model){var e=new E(t,this._model.selection.end);this._model.updateSelection(e,this)}},e.prototype._formatValue=function(e){t.prototype._formatValue.call(this,e),this._rangeInput._handleChildValueChange()},e.prototype.getMirrorValue=function(){var t=this._elementRef.nativeElement,e=t.value;return e.length>0?e:t.placeholder},e}(gt);yt.decorators=[{type:i.Directive,args:[{selector:"input[matStartDate]",host:{class:"mat-start-date mat-date-range-input-inner","[disabled]":"disabled","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(keydown)":"_onKeydown($event)","[attr.id]":"_rangeInput.id","[attr.aria-haspopup]":'_rangeInput.rangePicker ? "dialog" : null',"[attr.aria-owns]":"(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null","[attr.min]":"_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null","[attr.max]":"_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null","(blur)":"_onBlur()",type:"text"},providers:[{provide:g.NG_VALUE_ACCESSOR,useExisting:yt,multi:!0},{provide:g.NG_VALIDATORS,useExisting:yt,multi:!0}],outputs:["dateChange","dateInput"],inputs:["errorStateMatcher"]}]}],yt.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[_t]}]},{type:i.ElementRef},{type:d.ErrorStateMatcher},{type:i.Injector},{type:g.NgForm,decorators:[{type:i.Optional}]},{type:g.FormGroupDirective,decorators:[{type:i.Optional}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]}]};var ft=function(t){function e(e,a,n,r,i,o,s,l){var d=t.call(this,e,a,n,r,i,o,s,l)||this;return d._endValidator=function(t){var e=d._dateAdapter.getValidDateOrNull(d._dateAdapter.deserialize(t.value)),a=d._model?d._model.selection.start:null;return!e||!a||d._dateAdapter.compareDate(e,a)>=0?null:{matEndDateInvalid:{start:a,actual:e}}},d._validator=g.Validators.compose(S(t.prototype._getValidators.call(d),[d._endValidator])),d}return O(e,t),e.prototype.ngOnInit=function(){t.prototype.ngOnInit.call(this)},e.prototype.ngDoCheck=function(){t.prototype.ngDoCheck.call(this)},e.prototype._getValueFromModel=function(t){return t.end},e.prototype._shouldHandleChangeEvent=function(e){var a;return!(!t.prototype._shouldHandleChangeEvent.call(this,e)||((null===(a=e.oldValue)||void 0===a?void 0:a.end)?e.selection.end&&!this._dateAdapter.compareDate(e.oldValue.end,e.selection.end):!e.selection.end))},e.prototype._assignValueToModel=function(t){if(this._model){var e=new E(this._model.selection.start,t);this._model.updateSelection(e,this)}},e.prototype._onKeydown=function(e){e.keyCode!==p.BACKSPACE||this._elementRef.nativeElement.value||this._rangeInput._startInput.focus(),t.prototype._onKeydown.call(this,e)},e}(gt);ft.decorators=[{type:i.Directive,args:[{selector:"input[matEndDate]",host:{class:"mat-end-date mat-date-range-input-inner","[disabled]":"disabled","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(keydown)":"_onKeydown($event)","[attr.aria-haspopup]":'_rangeInput.rangePicker ? "dialog" : null',"[attr.aria-owns]":"(_rangeInput.rangePicker?.opened && _rangeInput.rangePicker.id) || null","[attr.min]":"_getMinDate() ? _dateAdapter.toIso8601(_getMinDate()) : null","[attr.max]":"_getMaxDate() ? _dateAdapter.toIso8601(_getMaxDate()) : null","(blur)":"_onBlur()",type:"text"},providers:[{provide:g.NG_VALUE_ACCESSOR,useExisting:ft,multi:!0},{provide:g.NG_VALIDATORS,useExisting:ft,multi:!0}],outputs:["dateChange","dateInput"],inputs:["errorStateMatcher"]}]}],ft.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[_t]}]},{type:i.ElementRef},{type:d.ErrorStateMatcher},{type:i.Injector},{type:g.NgForm,decorators:[{type:i.Optional}]},{type:g.FormGroupDirective,decorators:[{type:i.Optional}]},{type:d.DateAdapter,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[d.MAT_DATE_FORMATS]}]}]};
84
84
  /**
85
85
  * @license
86
86
  * Copyright Google LLC All Rights Reserved.
@@ -96,7 +96,7 @@ var vt=0,bt=function(){function t(t,e,a,n,r){this._changeDetectorRef=t,this._ele
96
96
  * Use of this source code is governed by an MIT-style license that can be
97
97
  * found in the LICENSE file at https://angular.io/license
98
98
  */
99
- var Ct,At=function(){function t(t){this._datepicker=t}return t.prototype._applySelection=function(){this._datepicker._applyPendingSelection(),this._datepicker.close()},t}();At.decorators=[{type:i.Directive,args:[{selector:"[matDatepickerApply], [matDateRangePickerApply]",host:{"(click)":"_applySelection()"}}]}],At.ctorParameters=function(){return[{type:rt}]},(Ct=function Ct(t){this._datepicker=t}).decorators=[{type:i.Directive,args:[{selector:"[matDatepickerCancel], [matDateRangePickerCancel]",host:{"(click)":"_datepicker.close()"}}]}],Ct.ctorParameters=function(){return[{type:rt}]};var wt,kt=function(){function t(t,e){this._datepicker=t,this._viewContainerRef=e}return t.prototype.ngAfterViewInit=function(){this._portal=new n.TemplatePortal(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)},t.prototype.ngOnDestroy=function(){var t;this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&(null===(t=this._portal)||void 0===t||t.detach())},t}();kt.decorators=[{type:i.Component,args:[{selector:"mat-datepicker-actions, mat-date-range-picker-actions",template:'\n <ng-template>\n <div class="mat-datepicker-actions">\n <ng-content></ng-content>\n </div>\n </ng-template>\n ',changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None,styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"]}]}],kt.ctorParameters=function(){return[{type:rt},{type:i.ViewContainerRef}]},kt.propDecorators={_template:[{type:i.ViewChild,args:[i.TemplateRef]}]},(wt=function wt(){}).decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,o.MatButtonModule,s.MatDialogModule,a.OverlayModule,e.A11yModule,n.PortalModule,d.MatCommonModule],exports:[l.CdkScrollableModule,X,D,it,at,ut,ht,dt,z,K,W,$,bt,yt,ft,Dt,kt,Ct,At],declarations:[X,D,it,at,ut,ht,dt,z,K,W,$,bt,yt,ft,Dt,kt,Ct,At],providers:[v,et],entryComponents:[at,$]}]}],
99
+ var Ct,At=function(){function t(t){this._datepicker=t}return t.prototype._applySelection=function(){this._datepicker._applyPendingSelection(),this._datepicker.close()},t}();At.decorators=[{type:i.Directive,args:[{selector:"[matDatepickerApply], [matDateRangePickerApply]",host:{"(click)":"_applySelection()"}}]}],At.ctorParameters=function(){return[{type:rt}]},(Ct=function Ct(t){this._datepicker=t}).decorators=[{type:i.Directive,args:[{selector:"[matDatepickerCancel], [matDateRangePickerCancel]",host:{"(click)":"_datepicker.close()"}}]}],Ct.ctorParameters=function(){return[{type:rt}]};var wt,kt=function(){function t(t,e){this._datepicker=t,this._viewContainerRef=e}return t.prototype.ngAfterViewInit=function(){this._portal=new n.TemplatePortal(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)},t.prototype.ngOnDestroy=function(){var t;this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&(null===(t=this._portal)||void 0===t||t.detach())},t}();kt.decorators=[{type:i.Component,args:[{selector:"mat-datepicker-actions, mat-date-range-picker-actions",template:'\n <ng-template>\n <div class="mat-datepicker-actions">\n <ng-content></ng-content>\n </div>\n </ng-template>\n ',changeDetection:i.ChangeDetectionStrategy.OnPush,encapsulation:i.ViewEncapsulation.None,styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"]}]}],kt.ctorParameters=function(){return[{type:rt},{type:i.ViewContainerRef}]},kt.propDecorators={_template:[{type:i.ViewChild,args:[i.TemplateRef]}]},(wt=function wt(){}).decorators=[{type:i.NgModule,args:[{imports:[r.CommonModule,o.MatButtonModule,s.MatDialogModule,a.OverlayModule,e.A11yModule,n.PortalModule,d.MatCommonModule],exports:[l.CdkScrollableModule,X,D,it,at,ut,ht,dt,z,K,H,$,bt,yt,ft,Dt,kt,Ct,At],declarations:[X,D,it,at,ut,ht,dt,z,K,H,$,bt,yt,ft,Dt,kt,Ct,At],providers:[v,et],entryComponents:[at,$]}]}],
100
100
  /**
101
101
  * @license
102
102
  * Copyright Google LLC All Rights Reserved.
@@ -104,4 +104,4 @@ var Ct,At=function(){function t(t){this._datepicker=t}return t.prototype._applyS
104
104
  * Use of this source code is governed by an MIT-style license that can be
105
105
  * found in the LICENSE file at https://angular.io/license
106
106
  */
107
- t.DateRange=E,t.DefaultMatCalendarRangeStrategy=j,t.MAT_DATEPICKER_SCROLL_STRATEGY=Q,t.MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY=tt,t.MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER=et,t.MAT_DATEPICKER_VALIDATORS=pt,t.MAT_DATEPICKER_VALUE_ACCESSOR=ct,t.MAT_DATE_RANGE_SELECTION_STRATEGY=N,t.MAT_RANGE_DATE_SELECTION_MODEL_FACTORY=T,t.MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER=Y,t.MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY=P,t.MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER=F,t.MatCalendar=X,t.MatCalendarBody=D,t.MatCalendarCell=b,t.MatCalendarHeader=$,t.MatDateRangeInput=bt,t.MatDateRangePicker=Dt,t.MatDateSelectionModel=V,t.MatDatepicker=it,t.MatDatepickerActions=kt,t.MatDatepickerApply=At,t.MatDatepickerCancel=Ct,t.MatDatepickerContent=at,t.MatDatepickerInput=ut,t.MatDatepickerInputEvent=ot,t.MatDatepickerIntl=v,t.MatDatepickerModule=wt,t.MatDatepickerToggle=ht,t.MatDatepickerToggleIcon=dt,t.MatEndDate=ft,t.MatMonthView=z,t.MatMultiYearView=W,t.MatRangeDateSelectionModel=R,t.MatSingleDateSelectionModel=M,t.MatStartDate=yt,t.MatYearView=K,t.matDatepickerAnimations=Z,t.yearsPerPage=24,t.yearsPerRow=4,t.ɵangular_material_src_material_datepicker_datepicker_a=L,t.ɵangular_material_src_material_datepicker_datepicker_b=B,t.ɵangular_material_src_material_datepicker_datepicker_c=rt,t.ɵangular_material_src_material_datepicker_datepicker_d=st,t.ɵangular_material_src_material_datepicker_datepicker_e=_t,Object.defineProperty(t,"__esModule",{value:!0})}));
107
+ t.DateRange=E,t.DefaultMatCalendarRangeStrategy=j,t.MAT_DATEPICKER_SCROLL_STRATEGY=Q,t.MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY=tt,t.MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER=et,t.MAT_DATEPICKER_VALIDATORS=pt,t.MAT_DATEPICKER_VALUE_ACCESSOR=ct,t.MAT_DATE_RANGE_SELECTION_STRATEGY=N,t.MAT_RANGE_DATE_SELECTION_MODEL_FACTORY=T,t.MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER=Y,t.MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY=P,t.MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER=F,t.MatCalendar=X,t.MatCalendarBody=D,t.MatCalendarCell=b,t.MatCalendarHeader=$,t.MatDateRangeInput=bt,t.MatDateRangePicker=Dt,t.MatDateSelectionModel=V,t.MatDatepicker=it,t.MatDatepickerActions=kt,t.MatDatepickerApply=At,t.MatDatepickerCancel=Ct,t.MatDatepickerContent=at,t.MatDatepickerInput=ut,t.MatDatepickerInputEvent=ot,t.MatDatepickerIntl=v,t.MatDatepickerModule=wt,t.MatDatepickerToggle=ht,t.MatDatepickerToggleIcon=dt,t.MatEndDate=ft,t.MatMonthView=z,t.MatMultiYearView=H,t.MatRangeDateSelectionModel=R,t.MatSingleDateSelectionModel=M,t.MatStartDate=yt,t.MatYearView=K,t.matDatepickerAnimations=Z,t.yearsPerPage=24,t.yearsPerRow=4,t.ɵangular_material_src_material_datepicker_datepicker_a=L,t.ɵangular_material_src_material_datepicker_datepicker_b=B,t.ɵangular_material_src_material_datepicker_datepicker_c=rt,t.ɵangular_material_src_material_datepicker_datepicker_d=st,t.ɵangular_material_src_material_datepicker_datepicker_e=_t,Object.defineProperty(t,"__esModule",{value:!0})}));