@ng-matero/extensions 12.4.0 → 12.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_all-color.scss +47 -0
- package/_all-theme.scss +3 -1
- package/_index.scss +2 -0
- package/_theming.scss +2 -0
- package/alert/_alert-theme.import.scss +2 -2
- package/alert/_alert-theme.scss +33 -8
- package/alert/alert.component.d.ts +0 -2
- package/alert/mtxAlert.metadata.json +1 -1
- package/bundles/extensions.umd.js +30 -53
- package/bundles/extensions.umd.js.map +1 -1
- package/bundles/mtxAlert.umd.js +13 -5
- package/bundles/mtxAlert.umd.js.map +1 -1
- package/bundles/mtxButton.umd.js +13 -4
- package/bundles/mtxButton.umd.js.map +1 -1
- package/bundles/mtxCheckboxGroup.umd.js +14 -6
- package/bundles/mtxCheckboxGroup.umd.js.map +1 -1
- package/bundles/mtxColorPicker.umd.js +13 -4
- package/bundles/mtxColorPicker.umd.js.map +1 -1
- package/bundles/mtxColumnResize.umd.js +58 -9
- package/bundles/mtxColumnResize.umd.js.map +1 -1
- package/bundles/mtxCore.umd.js +13 -4
- package/bundles/mtxCore.umd.js.map +1 -1
- package/bundles/mtxDatetimepicker.umd.js +91 -22
- package/bundles/mtxDatetimepicker.umd.js.map +1 -1
- package/bundles/mtxDialog.umd.js +23 -8
- package/bundles/mtxDialog.umd.js.map +1 -1
- package/bundles/mtxFormGroup.umd.js +13 -4
- package/bundles/mtxFormGroup.umd.js.map +1 -1
- package/bundles/mtxGrid.umd.js +95 -17
- package/bundles/mtxGrid.umd.js.map +1 -1
- package/bundles/mtxLoader.umd.js +13 -4
- package/bundles/mtxLoader.umd.js.map +1 -1
- package/bundles/mtxPipes.umd.js +5 -3
- package/bundles/mtxPipes.umd.js.map +1 -1
- package/bundles/mtxPopover.umd.js +30 -6
- package/bundles/mtxPopover.umd.js.map +1 -1
- package/bundles/mtxProgress.umd.js +7 -4
- package/bundles/mtxProgress.umd.js.map +1 -1
- package/bundles/mtxSelect.umd.js +111 -17
- package/bundles/mtxSelect.umd.js.map +1 -1
- package/bundles/mtxSlider.umd.js +1551 -0
- package/bundles/mtxSlider.umd.js.map +1 -0
- package/bundles/mtxSplit.umd.js +39 -20
- package/bundles/mtxSplit.umd.js.map +1 -1
- package/bundles/mtxText3d.umd.js +14 -5
- package/bundles/mtxText3d.umd.js.map +1 -1
- package/bundles/mtxTooltip.umd.js +26 -7
- package/bundles/mtxTooltip.umd.js.map +1 -1
- package/checkbox-group/checkbox-group.component.d.ts +2 -4
- package/checkbox-group/mtxCheckboxGroup.metadata.json +1 -1
- package/datetimepicker/_datetimepicker-theme.import.scss +4 -2
- package/datetimepicker/_datetimepicker-theme.scss +99 -27
- package/datetimepicker/calendar-body.scss +0 -3
- package/datetimepicker/calendar.scss +3 -17
- package/datetimepicker/clock.scss +0 -2
- package/datetimepicker/mtxDatetimepicker.metadata.json +1 -1
- package/dialog/mtxDialog.metadata.json +1 -1
- package/esm2015/alert/alert.component.js +10 -3
- package/esm2015/alert/alert.module.js +2 -1
- package/esm2015/button/button-loading.directive.js +10 -2
- package/esm2015/button/button.module.js +2 -1
- package/esm2015/checkbox-group/checkbox-group.component.js +11 -4
- package/esm2015/checkbox-group/checkbox-group.module.js +2 -1
- package/esm2015/color-picker/color-picker.component.js +10 -2
- package/esm2015/color-picker/color-picker.module.js +2 -1
- package/esm2015/column-resize/column-resize-directives/column-resize-flex.js +9 -2
- package/esm2015/column-resize/column-resize-directives/column-resize.js +9 -2
- package/esm2015/column-resize/column-resize-module.js +2 -1
- package/esm2015/column-resize/column-resize-notifier.js +10 -2
- package/esm2015/column-resize/column-resize.js +2 -1
- package/esm2015/column-resize/column-size-store.js +2 -1
- package/esm2015/column-resize/event-dispatcher.js +9 -2
- package/esm2015/column-resize/overlay-handle.js +2 -1
- package/esm2015/column-resize/resizable.js +2 -1
- package/esm2015/column-resize/resize-strategy.js +18 -3
- package/esm2015/core/datetime/datetime.module.js +3 -1
- package/esm2015/core/datetime/native-datetime-adapter.js +9 -2
- package/esm2015/datetimepicker/calendar-body.js +4 -2
- package/esm2015/datetimepicker/calendar.js +14 -6
- package/esm2015/datetimepicker/clock.js +13 -5
- package/esm2015/datetimepicker/datetimepicker-input.js +11 -3
- package/esm2015/datetimepicker/datetimepicker-toggle.js +10 -2
- package/esm2015/datetimepicker/datetimepicker.js +12 -2
- package/esm2015/datetimepicker/datetimepicker.module.js +2 -1
- package/esm2015/datetimepicker/month-view.js +10 -2
- package/esm2015/datetimepicker/multi-year-view.js +10 -2
- package/esm2015/datetimepicker/year-view.js +10 -2
- package/esm2015/dialog/dialog.component.js +10 -3
- package/esm2015/dialog/dialog.js +9 -2
- package/esm2015/dialog/dialog.module.js +2 -1
- package/esm2015/extensions-experimental.module.js +2 -1
- package/esm2015/extensions.module.js +4 -1
- package/esm2015/form-group/form-group.component.js +10 -2
- package/esm2015/form-group/form-group.module.js +2 -1
- package/esm2015/grid/cell-selection.directive.js +10 -2
- package/esm2015/grid/cell.component.js +10 -2
- package/esm2015/grid/column-menu.component.js +3 -1
- package/esm2015/grid/column-resize/column-resize-directives/column-resize-flex.js +9 -2
- package/esm2015/grid/column-resize/column-resize-directives/column-resize.js +9 -2
- package/esm2015/grid/column-resize/column-resize-module.js +3 -1
- package/esm2015/grid/column-resize/overlay-handle.js +9 -2
- package/esm2015/grid/column-resize/resizable-directives/resizable.js +10 -2
- package/esm2015/grid/column-resize/resize-strategy.js +9 -2
- package/esm2015/grid/expansion-toggle.directive.js +10 -2
- package/esm2015/grid/grid.component.js +10 -2
- package/esm2015/grid/grid.module.js +2 -1
- package/esm2015/grid/grid.service.js +9 -2
- package/esm2015/loader/loader.component.js +10 -2
- package/esm2015/loader/loader.module.js +2 -1
- package/esm2015/pipes/pipes.module.js +2 -1
- package/esm2015/pipes/to-observable.pipe.js +2 -1
- package/esm2015/popover/popover-module.js +2 -1
- package/esm2015/popover/popover-target.js +9 -2
- package/esm2015/popover/popover-trigger.js +10 -2
- package/esm2015/popover/popover.js +10 -2
- package/esm2015/progress/progress.component.js +4 -2
- package/esm2015/progress/progress.module.js +2 -1
- package/esm2015/public-api.js +2 -1
- package/esm2015/select/option.component.js +10 -2
- package/esm2015/select/select.component.js +11 -3
- package/esm2015/select/select.module.js +2 -1
- package/esm2015/select/templates.directive.js +89 -12
- package/esm2015/slider/mtxSlider.js +5 -0
- package/esm2015/slider/public-api.js +3 -0
- package/esm2015/slider/slider-module.js +15 -0
- package/esm2015/slider/slider.js +1115 -0
- package/esm2015/split/interface.js +1 -1
- package/esm2015/split/split-pane.directive.js +10 -2
- package/esm2015/split/split.component.js +22 -12
- package/esm2015/split/split.module.js +2 -1
- package/esm2015/split/utils.js +6 -6
- package/esm2015/text3d/text3d.component.js +11 -3
- package/esm2015/text3d/text3d.module.js +2 -1
- package/esm2015/tooltip/tooltip-module.js +2 -1
- package/esm2015/tooltip/tooltip.js +23 -5
- package/extensions.metadata.json +1 -1
- package/fesm2015/extensions.js +5 -0
- package/fesm2015/extensions.js.map +1 -1
- package/fesm2015/mtxAlert.js +10 -2
- package/fesm2015/mtxAlert.js.map +1 -1
- package/fesm2015/mtxButton.js +10 -1
- package/fesm2015/mtxButton.js.map +1 -1
- package/fesm2015/mtxCheckboxGroup.js +11 -3
- package/fesm2015/mtxCheckboxGroup.js.map +1 -1
- package/fesm2015/mtxColorPicker.js +10 -1
- package/fesm2015/mtxColorPicker.js.map +1 -1
- package/fesm2015/mtxColumnResize.js +55 -6
- package/fesm2015/mtxColumnResize.js.map +1 -1
- package/fesm2015/mtxCore.js +10 -1
- package/fesm2015/mtxCore.js.map +1 -1
- package/fesm2015/mtxDatetimepicker.js +86 -17
- package/fesm2015/mtxDatetimepicker.js.map +1 -1
- package/fesm2015/mtxDialog.js +18 -3
- package/fesm2015/mtxDialog.js.map +1 -1
- package/fesm2015/mtxFormGroup.js +10 -1
- package/fesm2015/mtxFormGroup.js.map +1 -1
- package/fesm2015/mtxGrid.js +90 -10
- package/fesm2015/mtxGrid.js.map +1 -1
- package/fesm2015/mtxLoader.js +10 -1
- package/fesm2015/mtxLoader.js.map +1 -1
- package/fesm2015/mtxPipes.js +2 -0
- package/fesm2015/mtxPipes.js.map +1 -1
- package/fesm2015/mtxPopover.js +27 -3
- package/fesm2015/mtxPopover.js.map +1 -1
- package/fesm2015/mtxProgress.js +4 -1
- package/fesm2015/mtxProgress.js.map +1 -1
- package/fesm2015/mtxSelect.js +108 -14
- package/fesm2015/mtxSelect.js.map +1 -1
- package/fesm2015/mtxSlider.js +1134 -0
- package/fesm2015/mtxSlider.js.map +1 -0
- package/fesm2015/mtxSplit.js +36 -17
- package/fesm2015/mtxSplit.js.map +1 -1
- package/fesm2015/mtxText3d.js +11 -2
- package/fesm2015/mtxText3d.js.map +1 -1
- package/fesm2015/mtxTooltip.js +23 -4
- package/fesm2015/mtxTooltip.js.map +1 -1
- package/form-group/_form-group-theme.import.scss +2 -2
- package/form-group/_form-group-theme.scss +46 -22
- package/grid/_grid-theme.import.scss +2 -2
- package/grid/_grid-theme.scss +45 -21
- package/grid/column-resize/_column-resize.scss +19 -13
- package/loader/_loader-theme.import.scss +2 -2
- package/loader/_loader-theme.scss +30 -6
- package/package.json +2 -2
- package/popover/_popover-theme.import.scss +2 -2
- package/popover/_popover-theme.scss +32 -8
- package/popover/popover.d.ts +3 -3
- package/progress/_progress-theme.import.scss +2 -2
- package/progress/_progress-theme.scss +33 -8
- package/progress/mtxProgress.metadata.json +1 -1
- package/public-api.d.ts +1 -0
- package/select/_select-theme.import.scss +2 -2
- package/select/_select-theme.scss +55 -31
- package/select/mtxSelect.metadata.json +1 -1
- package/select/select.component.d.ts +1 -1
- package/slider/_slider-theme.import.scss +2 -0
- package/slider/_slider-theme.scss +233 -0
- package/slider/mtxSlider.d.ts +4 -0
- package/slider/mtxSlider.metadata.json +1 -0
- package/slider/package.json +11 -0
- package/slider/public-api.d.ts +2 -0
- package/slider/slider-module.d.ts +2 -0
- package/slider/slider.d.ts +274 -0
- package/slider/slider.scss +514 -0
- package/split/_split-theme.import.scss +2 -2
- package/split/_split-theme.scss +30 -6
- package/split/interface.d.ts +1 -2
- package/split/mtxSplit.metadata.json +1 -1
- package/split/split.component.scss +3 -2
- package/text3d/_text3d-theme.import.scss +2 -2
- package/text3d/_text3d-theme.scss +32 -7
- package/text3d/mtxText3d.metadata.json +1 -1
- package/tooltip/_tooltip-theme.import.scss +2 -2
- package/tooltip/_tooltip-theme.scss +32 -15
- package/tooltip/mtxTooltip.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/a11y'), require('@angular/cdk/overlay'), require('@angular/common'), require('@angular/core'), require('@angular/material/button'), require('@angular/material/icon'), require('@angular/cdk/keycodes'), require('@angular/cdk/coercion'), require('@angular/material/datepicker'), require('rxjs/operators'), require('@ng-matero/extensions/core'), require('@angular/animations'), require('@angular/cdk/bidi'), require('@angular/cdk/portal'), require('rxjs'), require('@angular/cdk/platform'), require('@angular/forms'), require('@angular/material/input'), require('@angular/material/form-field')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@ng-matero/extensions/datetimepicker', ['exports', '@angular/cdk/a11y', '@angular/cdk/overlay', '@angular/common', '@angular/core', '@angular/material/button', '@angular/material/icon', '@angular/cdk/keycodes', '@angular/cdk/coercion', '@angular/material/datepicker', 'rxjs/operators', '@ng-matero/extensions/core', '@angular/animations', '@angular/cdk/bidi', '@angular/cdk/portal', 'rxjs', '@angular/cdk/platform', '@angular/forms', '@angular/material/input', '@angular/material/form-field'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global[
|
|
5
|
-
}(this, (function (exports, a11y, overlay, common, core, button, icon, keycodes, coercion, datepicker, operators, core$1, animations, bidi, portal, rxjs, platform, forms, input, formField) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["ng-matero"] = global["ng-matero"] || {}, global["ng-matero"].extensions = global["ng-matero"].extensions || {}, global["ng-matero"].extensions.datetimepicker = {}), global.ng.cdk.a11y, global.ng.cdk.overlay, global.ng.common, global.ng.core, global.ng.material.button, global.ng.material.icon, global.ng.cdk.keycodes, global.ng.cdk.coercion, global.ng.material.datepicker, global.rxjs.operators, global["ng-matero"].extensions.core, global.ng.animations, global.ng.cdk.bidi, global.ng.cdk.portal, global.rxjs, global.ng.cdk.platform, global.ng.forms, global.ng.material.input, global.ng.material.formField));
|
|
5
|
+
})(this, (function (exports, a11y, overlay, common, core, button, icon, keycodes, coercion, datepicker, operators, core$1, animations, bidi, portal, rxjs, platform, forms, input, formField) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* This animation fades in the background color and text content of the
|
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
};
|
|
102
102
|
return MtxCalendarBody;
|
|
103
103
|
}());
|
|
104
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
104
105
|
MtxCalendarBody.decorators = [
|
|
105
106
|
{ type: core.Component, args: [{
|
|
106
107
|
selector: '[mtx-calendar-body]',
|
|
@@ -110,9 +111,10 @@
|
|
|
110
111
|
},
|
|
111
112
|
encapsulation: core.ViewEncapsulation.None,
|
|
112
113
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
113
|
-
styles: [".mtx-calendar-body{
|
|
114
|
+
styles: [".mtx-calendar-body{min-width:224px}.mtx-calendar-body-label{height:0;line-height:0;text-align:left;padding:7.1428571429% 4.7142857143%}[dir=rtl] .mtx-calendar-body-label{text-align:right}.mtx-calendar-body-cell{position:relative;width:14.2857142857%;height:0;line-height:0;padding:7.1428571429% 0;text-align:center;outline:none;cursor:pointer}.mtx-calendar-body-disabled{cursor:default;pointer-events:none}.mtx-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;border:1px solid transparent;border-radius:999px}\n"]
|
|
114
115
|
},] }
|
|
115
116
|
];
|
|
117
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
116
118
|
MtxCalendarBody.propDecorators = {
|
|
117
119
|
label: [{ type: core.Input }],
|
|
118
120
|
rows: [{ type: core.Input }],
|
|
@@ -283,6 +285,7 @@
|
|
|
283
285
|
};
|
|
284
286
|
return MtxMultiYearView;
|
|
285
287
|
}());
|
|
288
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
286
289
|
MtxMultiYearView.decorators = [
|
|
287
290
|
{ type: core.Component, args: [{
|
|
288
291
|
selector: 'mtx-multi-year-view',
|
|
@@ -292,11 +295,18 @@
|
|
|
292
295
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
293
296
|
},] }
|
|
294
297
|
];
|
|
295
|
-
/**
|
|
298
|
+
/**
|
|
299
|
+
* @type {function(): !Array<(null|{
|
|
300
|
+
* type: ?,
|
|
301
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
302
|
+
* })>}
|
|
303
|
+
* @nocollapse
|
|
304
|
+
*/
|
|
296
305
|
MtxMultiYearView.ctorParameters = function () { return [
|
|
297
306
|
{ type: core$1.DatetimeAdapter, decorators: [{ type: core.Optional }] },
|
|
298
307
|
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core$1.MTX_DATETIME_FORMATS,] }] }
|
|
299
308
|
]; };
|
|
309
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
300
310
|
MtxMultiYearView.propDecorators = {
|
|
301
311
|
_userSelection: [{ type: core.Output }],
|
|
302
312
|
type: [{ type: core.Input }],
|
|
@@ -550,7 +560,7 @@
|
|
|
550
560
|
Object.defineProperty(MtxCalendar.prototype, "_hoursLabel", {
|
|
551
561
|
get: function () {
|
|
552
562
|
var hour = this._adapter.getHour(this._activeDate);
|
|
553
|
-
if (
|
|
563
|
+
if (this.twelvehour) {
|
|
554
564
|
if (hour === 0) {
|
|
555
565
|
hour = 24;
|
|
556
566
|
}
|
|
@@ -676,7 +686,7 @@
|
|
|
676
686
|
this._activeDate = date;
|
|
677
687
|
};
|
|
678
688
|
MtxCalendar.prototype._updateDate = function (date) {
|
|
679
|
-
if (
|
|
689
|
+
if (this.twelvehour) {
|
|
680
690
|
var HOUR = this._adapter.getHour(date);
|
|
681
691
|
if (HOUR === 12) {
|
|
682
692
|
if (this._AMPM === 'AM') {
|
|
@@ -971,10 +981,11 @@
|
|
|
971
981
|
};
|
|
972
982
|
return MtxCalendar;
|
|
973
983
|
}());
|
|
984
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
974
985
|
MtxCalendar.decorators = [
|
|
975
986
|
{ type: core.Component, args: [{
|
|
976
987
|
selector: 'mtx-calendar',
|
|
977
|
-
template: "<div class=\"mtx-calendar-header\">\n <div (click)=\"_yearClicked()\"\n *ngIf=\"type !== 'time'\"\n [class.active]=\"currentView === 'year' || currentView === 'multi-year'\"\n class=\"mtx-calendar-header-year\"\n role=\"button\">\n <span>{{ _yearLabel }}</span>\n <mat-icon *ngIf=\"multiYearSelector || type === 'year'\">arrow_drop_down</mat-icon>\n </div>\n <div class=\"mtx-calendar-header-date-time\">\n <span (click)=\"_dateClicked()\" *ngIf=\"type !== 'time' && type !== 'year'\"\n [class.active]=\"currentView === 'month'\"\n [class.not-clickable]=\"type === 'month'\"\n class=\"mtx-calendar-header-date\"\n role=\"button\">{{ _dateLabel }}</span>\n <span *ngIf=\"type.endsWith('time')\"\n [class.active]=\"currentView === 'clock'\"\n class=\"mtx-calendar-header-time\">\n <span (click)=\"_hoursClicked()\"\n [class.active]=\"_clockView
|
|
988
|
+
template: "<div class=\"mtx-calendar-header\">\n <div (click)=\"_yearClicked()\"\n *ngIf=\"type !== 'time'\"\n [class.active]=\"currentView === 'year' || currentView === 'multi-year'\"\n class=\"mtx-calendar-header-year\"\n role=\"button\">\n <span>{{ _yearLabel }}</span>\n <mat-icon *ngIf=\"multiYearSelector || type === 'year'\">arrow_drop_down</mat-icon>\n </div>\n <div class=\"mtx-calendar-header-date-time\">\n <span (click)=\"_dateClicked()\" *ngIf=\"type !== 'time' && type !== 'year'\"\n [class.active]=\"currentView === 'month'\"\n [class.not-clickable]=\"type === 'month'\"\n class=\"mtx-calendar-header-date\"\n role=\"button\">{{ _dateLabel }}</span>\n <span *ngIf=\"type.endsWith('time')\"\n [class.active]=\"currentView === 'clock'\"\n class=\"mtx-calendar-header-time\">\n <span (click)=\"_hoursClicked()\"\n [class.active]=\"_clockView === 'hour'\"\n class=\"mtx-calendar-header-hours\"\n role=\"button\">{{ _hoursLabel }}</span>:<span (click)=\"_minutesClicked()\"\n [class.active]=\"_clockView === 'minute'\"\n class=\"mtx-calendar-header-minutes\"\n role=\"button\">{{ _minutesLabel }}</span>\n <br />\n <span *ngIf=\"twelvehour\" class=\"mtx-calendar-header-ampm-container\">\n <span (click)=\"_ampmClicked('AM')\"\n [class.active]=\"_AMPM === 'AM'\"\n class=\"mtx-calendar-header-ampm\">AM</span>/<span\n (click)=\"_ampmClicked('PM')\"\n [class.active]=\"_AMPM === 'PM'\"\n class=\"mtx-calendar-header-ampm\">PM</span>\n </span>\n </span>\n </div>\n</div>\n<div class=\"mtx-calendar-content\" [ngSwitch]=\"currentView\">\n <div *ngIf=\"currentView === 'month' || currentView === 'year' || currentView === 'multi-year'\"\n class=\"mtx-month-content\">\n <div class=\"mtx-calendar-controls\">\n <button mat-icon-button type=\"button\" (click)=\"_previousClicked()\"\n [attr.aria-disabled]=\"!_previousEnabled()\"\n [attr.aria-label]=\"_ariaLabelPrev\"\n [class.disabled]=\"!_previousEnabled()\"\n class=\"mtx-calendar-previous-button\">\n <svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"></path>\n </svg>\n </button>\n <div (@slideCalendar.done)=\"_calendarStateDone()\" [@slideCalendar]=\"_calendarState\"\n class=\"mtx-calendar-period-button\">\n <strong>{{ _monthYearLabel }}</strong>\n </div>\n <button mat-icon-button type=\"button\" (click)=\"_nextClicked()\"\n [attr.aria-disabled]=\"!_nextEnabled()\"\n [attr.aria-label]=\"_ariaLabelNext\"\n [class.disabled]=\"!_nextEnabled()\"\n class=\"mtx-calendar-next-button\">\n <svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"></path>\n </svg>\n </button>\n </div>\n </div>\n <mtx-month-view (_userSelection)=\"_userSelected()\"\n (selectedChange)=\"_dateSelected($event)\"\n *ngSwitchCase=\"'month'\"\n [activeDate]=\"_activeDate\"\n [dateFilter]=\"_dateFilterForViews\"\n [selected]=\"selected!\"\n [type]=\"type\">\n </mtx-month-view>\n <mtx-year-view (_userSelection)=\"_userSelected()\"\n (selectedChange)=\"_monthSelected($event)\"\n *ngSwitchCase=\"'year'\"\n [activeDate]=\"_activeDate\"\n [dateFilter]=\"_dateFilterForViews\"\n [selected]=\"selected!\"\n [type]=\"type\">\n </mtx-year-view>\n <mtx-multi-year-view (_userSelection)=\"_userSelected()\"\n (selectedChange)=\"_yearSelected($event)\"\n *ngSwitchCase=\"'multi-year'\"\n [activeDate]=\"_activeDate\"\n [dateFilter]=\"_dateFilterForViews\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [selected]=\"selected!\"\n [type]=\"type\">\n </mtx-multi-year-view>\n <mtx-clock (_userSelection)=\"_userSelected()\"\n (activeDateChange)=\"_onActiveDateChange($event)\"\n (selectedChange)=\"_timeSelected($event)\"\n *ngSwitchDefault\n [dateFilter]=\"dateFilter\"\n [interval]=\"timeInterval\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [selected]=\"_activeDate\"\n [startView]=\"_clockView\"\n [twelvehour]=\"twelvehour\">\n </mtx-clock>\n</div>\n",
|
|
978
989
|
host: {
|
|
979
990
|
'class': 'mtx-calendar',
|
|
980
991
|
'[attr.aria-label]': 'ariaLabel',
|
|
@@ -984,10 +995,16 @@
|
|
|
984
995
|
animations: [slideCalendar],
|
|
985
996
|
encapsulation: core.ViewEncapsulation.None,
|
|
986
997
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
987
|
-
styles: [".mtx-calendar{display:block;outline:none}.mtx-calendar[mode=landscape]{display:flex}.mtx-calendar-header{padding:16px;
|
|
998
|
+
styles: [".mtx-calendar{display:block;outline:none}.mtx-calendar[mode=landscape]{display:flex}.mtx-calendar-header{padding:16px;box-sizing:border-box;border-radius:4px 4px 0 0}[mode=landscape] .mtx-calendar-header{width:150px;min-width:150px;border-radius:4px 0 0 4px}[dir=rtl] [mode=landscape] .mtx-calendar-header{border-radius:0 4px 4px 0}.mtx-calendar-header-year,.mtx-calendar-header-date-time{width:100%;white-space:nowrap}.mtx-calendar-header-year{height:32px;line-height:32px}.mtx-calendar-header-year>*{vertical-align:middle}.mtx-calendar-header-date-time{line-height:34px}[mode=landscape] .mtx-calendar-header-date-time{white-space:normal;word-wrap:break-word}.mtx-calendar-header-year:not(.active),.mtx-calendar-header-date:not(.active),.mtx-calendar-header-hours:not(.active),.mtx-calendar-header-minutes:not(.active),.mtx-calendar-header-ampm:not(.active){cursor:pointer;opacity:.6}.mtx-calendar-header-year.not-clickable,.mtx-calendar-header-date.not-clickable,.mtx-calendar-header-hours.not-clickable,.mtx-calendar-header-minutes.not-clickable,.mtx-calendar-header-ampm.not-clickable{cursor:initial}.mtx-calendar-header-time{display:inline-block;padding-left:8px}.mtx-calendar-header-time:not(.active){opacity:.6}.mtx-calendar-header-time:not(.active) .mtx-calendar-header-hours,.mtx-calendar-header-time:not(.active) .mtx-calendar-header-minutes,.mtx-calendar-header-time:not(.active) .mtx-calendar-header-ampm{cursor:pointer;opacity:1}[dir=rtl] .mtx-calendar-header-time{padding-right:8px}[mode=landscape] .mtx-calendar-header-time{display:block;padding:0}.mtx-calendar-content{width:100%;padding:8px;outline:none;box-sizing:border-box;overflow:hidden}.mtx-calendar-controls{display:flex;justify-content:space-between;margin:0 calc(4.7142857143% - 16px)}.mtx-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mtx-calendar-period-button{display:inline-block;height:40px;line-height:40px;outline:none;border:0;background:transparent;box-sizing:border-box}.mtx-calendar-previous-button.disabled,.mtx-calendar-next-button.disabled{pointer-events:none}.mtx-calendar-previous-button svg,.mtx-calendar-next-button svg{fill:currentColor;vertical-align:top}[dir=rtl] .mtx-calendar-previous-button svg,[dir=rtl] .mtx-calendar-next-button svg{transform:rotate(180deg)}.mtx-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mtx-calendar-table-header th{text-align:center;padding:8px 0}@media all and (orientation: landscape){.mtx-calendar[mode=auto]{display:flex}.mtx-calendar[mode=auto] .mtx-calendar-header{width:150px;min-width:150px;border-radius:4px 0 0 4px}[dir=rtl] .mtx-calendar[mode=auto] .mtx-calendar-header{border-radius:0 4px 4px 0}.mtx-calendar[mode=auto] .mtx-calendar-header-date-time{white-space:normal;word-wrap:break-word}.mtx-calendar[mode=auto] .mtx-calendar-header-time{display:block;padding:0}}\n"]
|
|
988
999
|
},] }
|
|
989
1000
|
];
|
|
990
|
-
/**
|
|
1001
|
+
/**
|
|
1002
|
+
* @type {function(): !Array<(null|{
|
|
1003
|
+
* type: ?,
|
|
1004
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1005
|
+
* })>}
|
|
1006
|
+
* @nocollapse
|
|
1007
|
+
*/
|
|
991
1008
|
MtxCalendar.ctorParameters = function () { return [
|
|
992
1009
|
{ type: core.ElementRef },
|
|
993
1010
|
{ type: datepicker.MatDatepickerIntl },
|
|
@@ -996,6 +1013,7 @@
|
|
|
996
1013
|
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core$1.MTX_DATETIME_FORMATS,] }] },
|
|
997
1014
|
{ type: core.ChangeDetectorRef }
|
|
998
1015
|
]; };
|
|
1016
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
999
1017
|
MtxCalendar.propDecorators = {
|
|
1000
1018
|
_userSelection: [{ type: core.Output }],
|
|
1001
1019
|
multiYearSelector: [{ type: core.Input }],
|
|
@@ -1116,7 +1134,7 @@
|
|
|
1116
1134
|
Object.defineProperty(MtxClock.prototype, "_hand", {
|
|
1117
1135
|
get: function () {
|
|
1118
1136
|
var hour = this._adapter.getHour(this.activeDate);
|
|
1119
|
-
if (
|
|
1137
|
+
if (this.twelvehour) {
|
|
1120
1138
|
if (hour === 0) {
|
|
1121
1139
|
hour = 24;
|
|
1122
1140
|
}
|
|
@@ -1286,24 +1304,32 @@
|
|
|
1286
1304
|
};
|
|
1287
1305
|
return MtxClock;
|
|
1288
1306
|
}());
|
|
1307
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1289
1308
|
MtxClock.decorators = [
|
|
1290
1309
|
{ type: core.Component, args: [{
|
|
1291
1310
|
selector: 'mtx-clock',
|
|
1292
|
-
template: "<div class=\"mtx-clock-wrapper\">\n <div class=\"mtx-clock-center\"></div>\n <div [ngStyle]=\"_hand\" class=\"mtx-clock-hand\"></div>\n <div [class.active]=\"_hourView\" class=\"mtx-clock-hours\">\n <div *ngFor=\"let item of _hours\"\n [class.mtx-clock-cell-disabled]=\"!item.enabled\"\n [class.mtx-clock-cell-selected]=\"_selectedHour
|
|
1311
|
+
template: "<div class=\"mtx-clock-wrapper\">\n <div class=\"mtx-clock-center\"></div>\n <div [ngStyle]=\"_hand\" class=\"mtx-clock-hand\"></div>\n <div [class.active]=\"_hourView\" class=\"mtx-clock-hours\">\n <div *ngFor=\"let item of _hours\"\n [class.mtx-clock-cell-disabled]=\"!item.enabled\"\n [class.mtx-clock-cell-selected]=\"_selectedHour === item.value\"\n [style.fontSize]=\"item.fontSize\"\n [style.left]=\"item.left+'%'\"\n [style.top]=\"item.top+'%'\"\n class=\"mtx-clock-cell\">{{ item.displayValue }}</div>\n </div>\n <div [class.active]=\"!_hourView\" class=\"mtx-clock-minutes\">\n <div *ngFor=\"let item of _minutes\"\n [class.mtx-clock-cell-disabled]=\"!item.enabled\"\n [class.mtx-clock-cell-selected]=\"_selectedMinute === item.value\"\n [style.left]=\"item.left+'%'\"\n [style.top]=\"item.top+'%'\"\n class=\"mtx-clock-cell\">{{ item.displayValue }}</div>\n </div>\n</div>\n",
|
|
1293
1312
|
host: {
|
|
1294
1313
|
'[class.mtx-clock]': 'true',
|
|
1295
1314
|
'role': 'clock',
|
|
1296
1315
|
'(mousedown)': '_handleMousedown($event)',
|
|
1297
1316
|
},
|
|
1298
1317
|
encapsulation: core.ViewEncapsulation.None,
|
|
1299
|
-
styles: [".mtx-clock{position:relative;display:block;min-width:224px;margin:8px;
|
|
1318
|
+
styles: [".mtx-clock{position:relative;display:block;min-width:224px;margin:8px;box-sizing:border-box;-webkit-user-select:none;user-select:none}.mtx-clock-wrapper{position:relative;width:100%;height:0;padding-top:100%;border-radius:50%}.mtx-clock-center{position:absolute;top:50%;left:50%;width:2%;height:2%;margin:-1%;border-radius:50%}.mtx-clock-hand{position:absolute;top:0;right:0;bottom:0;left:0;width:1px;margin:0 auto;transform-origin:bottom}.mtx-clock-hand:before{content:\"\";position:absolute;top:-4px;left:-4px;width:8px;height:8px;border-radius:50%}.mtx-clock-hours,.mtx-clock-minutes{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:.35s;transform:scale(1.2)}.mtx-clock-hours.active,.mtx-clock-minutes.active{opacity:1;visibility:visible;transform:scale(1)}.mtx-clock-minutes{transform:scale(.8)}.mtx-clock-cell{position:absolute;display:flex;width:14.1666%;height:14.1666%;justify-content:center;box-sizing:border-box;border-radius:50%;align-items:center;cursor:pointer}.mtx-clock-cell.mtx-clock-cell-disabled{pointer-events:none}\n"]
|
|
1300
1319
|
},] }
|
|
1301
1320
|
];
|
|
1302
|
-
/**
|
|
1321
|
+
/**
|
|
1322
|
+
* @type {function(): !Array<(null|{
|
|
1323
|
+
* type: ?,
|
|
1324
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1325
|
+
* })>}
|
|
1326
|
+
* @nocollapse
|
|
1327
|
+
*/
|
|
1303
1328
|
MtxClock.ctorParameters = function () { return [
|
|
1304
1329
|
{ type: core.ElementRef },
|
|
1305
1330
|
{ type: core$1.DatetimeAdapter }
|
|
1306
1331
|
]; };
|
|
1332
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
1307
1333
|
MtxClock.propDecorators = {
|
|
1308
1334
|
_userSelection: [{ type: core.Output }],
|
|
1309
1335
|
dateFilter: [{ type: core.Input }],
|
|
@@ -1339,6 +1365,7 @@
|
|
|
1339
1365
|
};
|
|
1340
1366
|
return MtxDatetimepickerContent;
|
|
1341
1367
|
}());
|
|
1368
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1342
1369
|
MtxDatetimepickerContent.decorators = [
|
|
1343
1370
|
{ type: core.Component, args: [{
|
|
1344
1371
|
selector: 'mtx-datetimepicker-content',
|
|
@@ -1353,6 +1380,7 @@
|
|
|
1353
1380
|
styles: [".mtx-datetimepicker-content{display:block;border-radius:4px}.mtx-datetimepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mtx-datetimepicker-content .mtx-calendar{width:296px;height:404px}.mtx-datetimepicker-content .mtx-calendar[mode=landscape]{width:446px;height:328px}@media all and (orientation: landscape){.mtx-datetimepicker-content .mtx-calendar[mode=auto]{width:446px;height:328px}}.mtx-datetimepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container{min-height:300px;max-height:850px;min-width:250px;max-width:750px}.mtx-datetimepicker-content-touch .mtx-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=auto],.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=landscape]{width:120vh;height:80vh}.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=auto] .mtx-calendar,.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=landscape] .mtx-calendar{width:auto;height:100%}.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=portrait]{width:64vh;height:90vh}.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=portrait] .mtx-calendar{width:100%;height:auto}}@media all and (orientation: portrait){.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=auto],.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=portrait]{width:80vw;height:120vw}.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=auto] .mtx-calendar,.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=portrait] .mtx-calendar{width:100%;height:auto}.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=landscape]{width:90vw;height:64vw}.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container[mode=landscape] .mtx-calendar{width:auto;height:100%}.mtx-datetimepicker-content-touch .mtx-datetimepicker-content-container-with-actions{height:135vw}}\n"]
|
|
1354
1381
|
},] }
|
|
1355
1382
|
];
|
|
1383
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
1356
1384
|
MtxDatetimepickerContent.propDecorators = {
|
|
1357
1385
|
_calendar: [{ type: core.ViewChild, args: [MtxCalendar, { static: true },] }]
|
|
1358
1386
|
};
|
|
@@ -1716,6 +1744,7 @@
|
|
|
1716
1744
|
};
|
|
1717
1745
|
return MtxDatetimepicker;
|
|
1718
1746
|
}());
|
|
1747
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1719
1748
|
MtxDatetimepicker.decorators = [
|
|
1720
1749
|
{ type: core.Component, args: [{
|
|
1721
1750
|
selector: 'mtx-datetimepicker',
|
|
@@ -1726,7 +1755,13 @@
|
|
|
1726
1755
|
preserveWhitespaces: false
|
|
1727
1756
|
},] }
|
|
1728
1757
|
];
|
|
1729
|
-
/**
|
|
1758
|
+
/**
|
|
1759
|
+
* @type {function(): !Array<(null|{
|
|
1760
|
+
* type: ?,
|
|
1761
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1762
|
+
* })>}
|
|
1763
|
+
* @nocollapse
|
|
1764
|
+
*/
|
|
1730
1765
|
MtxDatetimepicker.ctorParameters = function () { return [
|
|
1731
1766
|
{ type: overlay.Overlay },
|
|
1732
1767
|
{ type: core.NgZone },
|
|
@@ -1735,6 +1770,7 @@
|
|
|
1735
1770
|
{ type: core$1.DatetimeAdapter, decorators: [{ type: core.Optional }] },
|
|
1736
1771
|
{ type: bidi.Directionality, decorators: [{ type: core.Optional }] }
|
|
1737
1772
|
]; };
|
|
1773
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
1738
1774
|
MtxDatetimepicker.propDecorators = {
|
|
1739
1775
|
multiYearSelector: [{ type: core.Input }],
|
|
1740
1776
|
twelvehour: [{ type: core.Input }],
|
|
@@ -1852,7 +1888,7 @@
|
|
|
1852
1888
|
}
|
|
1853
1889
|
// Update the displayed date when the locale changes.
|
|
1854
1890
|
this._localeSubscription = _dateAdapter.localeChanges.subscribe(function () {
|
|
1855
|
-
_this.value = _this.value;
|
|
1891
|
+
_this.value = _this._dateAdapter.deserialize(_this.value);
|
|
1856
1892
|
});
|
|
1857
1893
|
}
|
|
1858
1894
|
Object.defineProperty(MtxDatetimepickerInput.prototype, "mtxDatetimepicker", {
|
|
@@ -2060,6 +2096,7 @@
|
|
|
2060
2096
|
};
|
|
2061
2097
|
return MtxDatetimepickerInput;
|
|
2062
2098
|
}());
|
|
2099
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2063
2100
|
MtxDatetimepickerInput.decorators = [
|
|
2064
2101
|
{ type: core.Directive, args: [{
|
|
2065
2102
|
selector: 'input[mtxDatetimepicker]',
|
|
@@ -2082,13 +2119,20 @@
|
|
|
2082
2119
|
exportAs: 'mtxDatetimepickerInput',
|
|
2083
2120
|
},] }
|
|
2084
2121
|
];
|
|
2085
|
-
/**
|
|
2122
|
+
/**
|
|
2123
|
+
* @type {function(): !Array<(null|{
|
|
2124
|
+
* type: ?,
|
|
2125
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2126
|
+
* })>}
|
|
2127
|
+
* @nocollapse
|
|
2128
|
+
*/
|
|
2086
2129
|
MtxDatetimepickerInput.ctorParameters = function () { return [
|
|
2087
2130
|
{ type: core.ElementRef },
|
|
2088
2131
|
{ type: core$1.DatetimeAdapter, decorators: [{ type: core.Optional }] },
|
|
2089
2132
|
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core$1.MTX_DATETIME_FORMATS,] }] },
|
|
2090
2133
|
{ type: formField.MatFormField, decorators: [{ type: core.Optional }] }
|
|
2091
2134
|
]; };
|
|
2135
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2092
2136
|
MtxDatetimepickerInput.propDecorators = {
|
|
2093
2137
|
dateChange: [{ type: core.Output }],
|
|
2094
2138
|
dateInput: [{ type: core.Output }],
|
|
@@ -2151,6 +2195,7 @@
|
|
|
2151
2195
|
};
|
|
2152
2196
|
return MtxDatetimepickerToggle;
|
|
2153
2197
|
}());
|
|
2198
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2154
2199
|
MtxDatetimepickerToggle.decorators = [
|
|
2155
2200
|
{ type: core.Component, args: [{
|
|
2156
2201
|
selector: 'mtx-datetimepicker-toggle',
|
|
@@ -2164,11 +2209,18 @@
|
|
|
2164
2209
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
2165
2210
|
},] }
|
|
2166
2211
|
];
|
|
2167
|
-
/**
|
|
2212
|
+
/**
|
|
2213
|
+
* @type {function(): !Array<(null|{
|
|
2214
|
+
* type: ?,
|
|
2215
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2216
|
+
* })>}
|
|
2217
|
+
* @nocollapse
|
|
2218
|
+
*/
|
|
2168
2219
|
MtxDatetimepickerToggle.ctorParameters = function () { return [
|
|
2169
2220
|
{ type: datepicker.MatDatepickerIntl },
|
|
2170
2221
|
{ type: core.ChangeDetectorRef }
|
|
2171
2222
|
]; };
|
|
2223
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2172
2224
|
MtxDatetimepickerToggle.propDecorators = {
|
|
2173
2225
|
datetimepicker: [{ type: core.Input, args: ['for',] }],
|
|
2174
2226
|
disabled: [{ type: core.Input }]
|
|
@@ -2295,6 +2347,7 @@
|
|
|
2295
2347
|
};
|
|
2296
2348
|
return MtxMonthView;
|
|
2297
2349
|
}());
|
|
2350
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2298
2351
|
MtxMonthView.decorators = [
|
|
2299
2352
|
{ type: core.Component, args: [{
|
|
2300
2353
|
selector: 'mtx-month-view',
|
|
@@ -2304,11 +2357,18 @@
|
|
|
2304
2357
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
2305
2358
|
},] }
|
|
2306
2359
|
];
|
|
2307
|
-
/**
|
|
2360
|
+
/**
|
|
2361
|
+
* @type {function(): !Array<(null|{
|
|
2362
|
+
* type: ?,
|
|
2363
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2364
|
+
* })>}
|
|
2365
|
+
* @nocollapse
|
|
2366
|
+
*/
|
|
2308
2367
|
MtxMonthView.ctorParameters = function () { return [
|
|
2309
2368
|
{ type: core$1.DatetimeAdapter, decorators: [{ type: core.Optional }] },
|
|
2310
2369
|
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core$1.MTX_DATETIME_FORMATS,] }] }
|
|
2311
2370
|
]; };
|
|
2371
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2312
2372
|
MtxMonthView.propDecorators = {
|
|
2313
2373
|
type: [{ type: core.Input }],
|
|
2314
2374
|
_userSelection: [{ type: core.Output }],
|
|
@@ -2431,6 +2491,7 @@
|
|
|
2431
2491
|
};
|
|
2432
2492
|
return MtxYearView;
|
|
2433
2493
|
}());
|
|
2494
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2434
2495
|
MtxYearView.decorators = [
|
|
2435
2496
|
{ type: core.Component, args: [{
|
|
2436
2497
|
selector: 'mtx-year-view',
|
|
@@ -2440,11 +2501,18 @@
|
|
|
2440
2501
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
2441
2502
|
},] }
|
|
2442
2503
|
];
|
|
2443
|
-
/**
|
|
2504
|
+
/**
|
|
2505
|
+
* @type {function(): !Array<(null|{
|
|
2506
|
+
* type: ?,
|
|
2507
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2508
|
+
* })>}
|
|
2509
|
+
* @nocollapse
|
|
2510
|
+
*/
|
|
2444
2511
|
MtxYearView.ctorParameters = function () { return [
|
|
2445
2512
|
{ type: core$1.DatetimeAdapter, decorators: [{ type: core.Optional }] },
|
|
2446
2513
|
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core$1.MTX_DATETIME_FORMATS,] }] }
|
|
2447
2514
|
]; };
|
|
2515
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2448
2516
|
MtxYearView.propDecorators = {
|
|
2449
2517
|
_userSelection: [{ type: core.Output }],
|
|
2450
2518
|
type: [{ type: core.Input }],
|
|
@@ -2459,6 +2527,7 @@
|
|
|
2459
2527
|
}
|
|
2460
2528
|
return MtxDatetimepickerModule;
|
|
2461
2529
|
}());
|
|
2530
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2462
2531
|
MtxDatetimepickerModule.decorators = [
|
|
2463
2532
|
{ type: core.NgModule, args: [{
|
|
2464
2533
|
imports: [common.CommonModule, button.MatButtonModule, icon.MatIconModule, overlay.OverlayModule, a11y.A11yModule],
|
|
@@ -2512,10 +2581,10 @@
|
|
|
2512
2581
|
exports.MtxDatetimepickerToggle = MtxDatetimepickerToggle;
|
|
2513
2582
|
exports.MtxMonthView = MtxMonthView;
|
|
2514
2583
|
exports.MtxYearView = MtxYearView;
|
|
2515
|
-
exports
|
|
2516
|
-
exports
|
|
2584
|
+
exports["ɵa"] = slideCalendar;
|
|
2585
|
+
exports["ɵb"] = MtxMultiYearView;
|
|
2517
2586
|
|
|
2518
2587
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2519
2588
|
|
|
2520
|
-
}))
|
|
2589
|
+
}));
|
|
2521
2590
|
//# sourceMappingURL=mtxDatetimepicker.umd.js.map
|