@ng-matero/extensions 17.0.0 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_index.scss +24 -12
- package/alert/alert-module.d.ts +3 -3
- package/alert/alert.d.ts +1 -1
- package/checkbox-group/checkbox-group-module.d.ts +6 -6
- package/checkbox-group/checkbox-group.d.ts +1 -1
- package/colorpicker/colorpicker-input.d.ts +1 -1
- package/colorpicker/colorpicker-module.d.ts +10 -10
- package/colorpicker/colorpicker-toggle.d.ts +2 -2
- package/colorpicker/colorpicker.d.ts +3 -3
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +1 -1
- package/column-resize/column-resize-directives/column-resize.d.ts +1 -1
- package/column-resize/column-resize-module.d.ts +1 -1
- package/core/color/_all-color.scss +3 -3
- package/core/datetime/datetime.module.d.ts +4 -1
- package/core/density/_all-density.scss +2 -2
- package/core/pipes/is-template-ref.pipe.d.ts +1 -1
- package/core/pipes/pipes.module.d.ts +4 -4
- package/core/pipes/to-observable.pipe.d.ts +1 -1
- package/core/tokens/m2/mdc/_plain-tooltip.scss +6 -6
- package/core/tokens/m2/mtx/_select.scss +1 -42
- package/core/typography/_all-typography.scss +2 -2
- package/datetimepicker/calendar-body.d.ts +1 -1
- package/datetimepicker/calendar.d.ts +1 -1
- package/datetimepicker/clock.d.ts +1 -1
- package/datetimepicker/datetimepicker-input.d.ts +1 -1
- package/datetimepicker/datetimepicker-module.d.ts +16 -16
- package/datetimepicker/datetimepicker-toggle.d.ts +2 -2
- package/datetimepicker/datetimepicker.d.ts +3 -3
- package/datetimepicker/month-view.d.ts +1 -1
- package/datetimepicker/multi-year-view.d.ts +1 -1
- package/datetimepicker/time.d.ts +3 -3
- package/datetimepicker/year-view.d.ts +1 -1
- package/dialog/dialog-container.d.ts +1 -1
- package/dialog/dialog-module.d.ts +7 -7
- package/drawer/drawer-container.d.ts +1 -1
- package/drawer/drawer-module.d.ts +5 -5
- package/esm2022/alert/alert-module.mjs +6 -7
- package/esm2022/alert/alert.mjs +5 -5
- package/esm2022/button/button-loading.mjs +4 -4
- package/esm2022/button/button-module.mjs +4 -4
- package/esm2022/checkbox-group/checkbox-group-module.mjs +6 -7
- package/esm2022/checkbox-group/checkbox-group.mjs +9 -10
- package/esm2022/colorpicker/colorpicker-input.mjs +5 -4
- package/esm2022/colorpicker/colorpicker-module.mjs +20 -19
- package/esm2022/colorpicker/colorpicker-toggle.mjs +10 -9
- package/esm2022/colorpicker/colorpicker.mjs +25 -18
- package/esm2022/column-resize/column-resize-directives/column-resize-flex.mjs +5 -4
- package/esm2022/column-resize/column-resize-directives/column-resize.mjs +5 -4
- package/esm2022/column-resize/column-resize-module.mjs +6 -6
- package/esm2022/column-resize/column-resize-notifier.mjs +6 -6
- package/esm2022/column-resize/column-resize.mjs +4 -4
- package/esm2022/column-resize/column-size-store.mjs +3 -3
- package/esm2022/column-resize/event-dispatcher.mjs +4 -4
- package/esm2022/column-resize/overlay-handle.mjs +4 -4
- package/esm2022/column-resize/polyfill.mjs +1 -1
- package/esm2022/column-resize/resizable.mjs +4 -4
- package/esm2022/column-resize/resize-strategy.mjs +10 -10
- package/esm2022/core/datetime/datetime-adapter.mjs +1 -1
- package/esm2022/core/datetime/datetime.module.mjs +19 -23
- package/esm2022/core/datetime/native-datetime-adapter.mjs +4 -4
- package/esm2022/core/pipes/is-template-ref.pipe.mjs +5 -5
- package/esm2022/core/pipes/pipes.module.mjs +6 -7
- package/esm2022/core/pipes/to-observable.pipe.mjs +5 -5
- package/esm2022/datetimepicker/calendar-body.mjs +5 -5
- package/esm2022/datetimepicker/calendar.mjs +19 -12
- package/esm2022/datetimepicker/clock.mjs +6 -7
- package/esm2022/datetimepicker/datetimepicker-errors.mjs +4 -3
- package/esm2022/datetimepicker/datetimepicker-input.mjs +6 -5
- package/esm2022/datetimepicker/datetimepicker-intl.mjs +3 -3
- package/esm2022/datetimepicker/datetimepicker-module.mjs +28 -11
- package/esm2022/datetimepicker/datetimepicker-toggle.mjs +10 -9
- package/esm2022/datetimepicker/datetimepicker.mjs +23 -19
- package/esm2022/datetimepicker/month-view.mjs +6 -7
- package/esm2022/datetimepicker/multi-year-view.mjs +6 -7
- package/esm2022/datetimepicker/time.mjs +11 -10
- package/esm2022/datetimepicker/year-view.mjs +6 -7
- package/esm2022/dialog/dialog-container.mjs +19 -10
- package/esm2022/dialog/dialog-module.mjs +23 -7
- package/esm2022/dialog/dialog.mjs +6 -5
- package/esm2022/drawer/drawer-container.mjs +5 -6
- package/esm2022/drawer/drawer-module.mjs +6 -7
- package/esm2022/drawer/drawer-ref.mjs +1 -1
- package/esm2022/drawer/drawer.mjs +6 -5
- package/esm2022/grid/cell.mjs +35 -13
- package/esm2022/grid/column-menu.mjs +31 -15
- package/esm2022/grid/column-resize/column-resize-directives/column-resize-flex.mjs +5 -4
- package/esm2022/grid/column-resize/column-resize-directives/column-resize.mjs +5 -4
- package/esm2022/grid/column-resize/column-resize-module.mjs +14 -14
- package/esm2022/grid/column-resize/index.mjs +8 -0
- package/esm2022/grid/column-resize/overlay-handle.mjs +5 -4
- package/esm2022/grid/column-resize/resizable-directives/resizable.mjs +5 -4
- package/esm2022/grid/column-resize/resize-strategy.mjs +3 -3
- package/esm2022/grid/expansion-toggle.mjs +5 -4
- package/esm2022/grid/grid-module.mjs +39 -37
- package/esm2022/grid/grid-pipes.mjs +29 -29
- package/esm2022/grid/grid-utils.mjs +6 -5
- package/esm2022/grid/grid.mjs +108 -76
- package/esm2022/loader/loader-module.mjs +6 -7
- package/esm2022/loader/loader.mjs +7 -7
- package/esm2022/photoviewer/photoviewer-module.mjs +6 -7
- package/esm2022/photoviewer/photoviewer.mjs +5 -4
- package/esm2022/popover/popover-content.mjs +8 -7
- package/esm2022/popover/popover-module.mjs +22 -7
- package/esm2022/popover/popover-target.mjs +5 -4
- package/esm2022/popover/popover-trigger.mjs +13 -6
- package/esm2022/popover/popover.mjs +7 -7
- package/esm2022/progress/progress-module.mjs +6 -7
- package/esm2022/progress/progress.mjs +6 -6
- package/esm2022/select/option.mjs +5 -4
- package/esm2022/select/select-module.mjs +20 -9
- package/esm2022/select/select.mjs +11 -11
- package/esm2022/select/templates.mjs +45 -45
- package/esm2022/split/split-module.mjs +6 -7
- package/esm2022/split/split-pane.mjs +5 -4
- package/esm2022/split/split.mjs +6 -6
- package/esm2022/split/utils.mjs +1 -1
- package/esm2022/tooltip/tooltip-module.mjs +24 -7
- package/esm2022/tooltip/tooltip.mjs +101 -114
- package/fesm2022/mtxAlert.mjs +9 -10
- package/fesm2022/mtxAlert.mjs.map +1 -1
- package/fesm2022/mtxButton.mjs +7 -7
- package/fesm2022/mtxButton.mjs.map +1 -1
- package/fesm2022/mtxCheckboxGroup.mjs +12 -16
- package/fesm2022/mtxCheckboxGroup.mjs.map +1 -1
- package/fesm2022/mtxColorpicker.mjs +462 -454
- package/fesm2022/mtxColorpicker.mjs.map +1 -1
- package/fesm2022/mtxColumnResize.mjs +43 -41
- package/fesm2022/mtxColumnResize.mjs.map +1 -1
- package/fesm2022/mtxCore.mjs +34 -39
- package/fesm2022/mtxCore.mjs.map +1 -1
- package/fesm2022/mtxDatetimepicker.mjs +814 -781
- package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2022/mtxDialog.mjs +44 -22
- package/fesm2022/mtxDialog.mjs.map +1 -1
- package/fesm2022/mtxDrawer.mjs +14 -15
- package/fesm2022/mtxDrawer.mjs.map +1 -1
- package/fesm2022/mtxGrid.mjs +249 -180
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/fesm2022/mtxLoader.mjs +11 -14
- package/fesm2022/mtxLoader.mjs.map +1 -1
- package/fesm2022/mtxPhotoviewer.mjs +9 -9
- package/fesm2022/mtxPhotoviewer.mjs.map +1 -1
- package/fesm2022/mtxPopover.mjs +52 -29
- package/fesm2022/mtxPopover.mjs.map +1 -1
- package/fesm2022/mtxProgress.mjs +10 -12
- package/fesm2022/mtxProgress.mjs.map +1 -1
- package/fesm2022/mtxSelect.mjs +75 -64
- package/fesm2022/mtxSelect.mjs.map +1 -1
- package/fesm2022/mtxSplit.mjs +14 -15
- package/fesm2022/mtxSplit.mjs.map +1 -1
- package/fesm2022/mtxTooltip.mjs +124 -121
- package/fesm2022/mtxTooltip.mjs.map +1 -1
- package/grid/cell.d.ts +1 -1
- package/grid/column-menu.d.ts +1 -1
- package/grid/column-resize/column-resize-directives/column-resize-flex.d.ts +1 -1
- package/grid/column-resize/column-resize-directives/column-resize.d.ts +1 -1
- package/grid/column-resize/column-resize-module.d.ts +7 -6
- package/grid/column-resize/index.d.ts +7 -0
- package/grid/column-resize/overlay-handle.d.ts +1 -1
- package/grid/column-resize/resizable-directives/resizable.d.ts +1 -1
- package/grid/expansion-toggle.d.ts +1 -1
- package/grid/grid-module.d.ts +25 -25
- package/grid/grid-pipes.d.ts +7 -7
- package/grid/grid.d.ts +24 -24
- package/loader/loader-module.d.ts +5 -5
- package/loader/loader.d.ts +1 -1
- package/package.json +6 -6
- package/photoviewer/photoviewer-module.d.ts +1 -1
- package/photoviewer/photoviewer.d.ts +1 -1
- package/popover/popover-content.d.ts +1 -1
- package/popover/popover-module.d.ts +8 -8
- package/popover/popover-target.d.ts +1 -1
- package/popover/popover-trigger.d.ts +1 -1
- package/popover/popover.d.ts +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress/progress-module.d.ts +3 -3
- package/progress/progress.d.ts +1 -1
- package/select/option.d.ts +1 -1
- package/select/select-module.d.ts +7 -7
- package/select/select.d.ts +1 -1
- package/select/select.scss +9 -10
- package/select/templates.d.ts +11 -11
- package/split/split-module.d.ts +4 -4
- package/split/split-pane.d.ts +1 -1
- package/split/split.d.ts +1 -1
- package/tooltip/tooltip-module.d.ts +7 -7
- package/tooltip/tooltip.d.ts +30 -44
- package/tooltip/tooltip.scss +2 -4
- package/core/mdc-helpers/_mdc-helpers.scss +0 -31
- package/core/style/_validation.scss +0 -43
- package/core/theming/_inspection.scss +0 -303
- package/core/theming/_m2-inspection.scss +0 -266
package/_index.scss
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
@forward './alert/alert-theme' as alert-* show alert-theme
|
|
2
|
-
|
|
3
|
-
@forward './
|
|
4
|
-
|
|
5
|
-
@forward './
|
|
6
|
-
|
|
7
|
-
@forward './
|
|
8
|
-
|
|
9
|
-
@forward './
|
|
10
|
-
|
|
11
|
-
@forward './
|
|
12
|
-
|
|
1
|
+
@forward './alert/alert-theme' as alert-* show alert-theme,
|
|
2
|
+
alert-color, alert-typography, alert-density, alert-base;
|
|
3
|
+
@forward './button/button-theme' as button-* show button-theme,
|
|
4
|
+
button-color, button-typography, button-density, button-base;
|
|
5
|
+
@forward './colorpicker/colorpicker-theme' as colorpicker-* show colorpicker-theme,
|
|
6
|
+
colorpicker-color, colorpicker-typography, colorpicker-density, colorpicker-base;
|
|
7
|
+
@forward './datetimepicker/datetimepicker-theme' as datetimepicker-* show datetimepicker-theme,
|
|
8
|
+
datetimepicker-color, datetimepicker-typography, datetimepicker-density, datetimepicker-base;
|
|
9
|
+
@forward './drawer/drawer-theme' as drawer-* show drawer-theme,
|
|
10
|
+
drawer-color, drawer-typography, drawer-density, drawer-base;
|
|
11
|
+
@forward './grid/grid-theme' as grid-* show grid-theme,
|
|
12
|
+
grid-color, grid-typography, grid-density, grid-base;
|
|
13
|
+
@forward './loader/loader-theme' as loader-* show loader-theme,
|
|
14
|
+
loader-color, loader-typography, loader-density, loader-base;
|
|
15
|
+
@forward './popover/popover-theme' as popover-* show popover-theme,
|
|
16
|
+
popover-color, popover-typography, popover-density, popover-base;
|
|
17
|
+
@forward './progress/progress-theme' as progress-* show progress-theme,
|
|
18
|
+
progress-color, progress-typography, progress-density, progress-base;
|
|
19
|
+
@forward './select/select-theme' as select-* show select-theme,
|
|
20
|
+
select-color, select-typography, select-density, select-base;
|
|
21
|
+
@forward './split/split-theme' as split-* show split-theme,
|
|
22
|
+
split-color, split-typography, split-density, split-base;
|
|
23
|
+
@forward './tooltip/tooltip-theme' as tooltip-* show tooltip-theme,
|
|
24
|
+
tooltip-color, tooltip-typography, tooltip-density, tooltip-base;
|
|
13
25
|
|
|
14
26
|
@forward './core/theming/all-theme' show all-component-themes, all-component-bases;
|
|
15
27
|
@forward './core/color/all-color' show all-component-colors;
|
package/alert/alert-module.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./alert";
|
|
4
4
|
export declare class MtxAlertModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxAlertModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxAlertModule, [typeof i1.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxAlertModule, never, [typeof i1.CommonModule, typeof i2.MtxAlert], [typeof i2.MtxAlert]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtxAlertModule>;
|
|
8
8
|
}
|
package/alert/alert.d.ts
CHANGED
|
@@ -15,6 +15,6 @@ export declare class MtxAlert {
|
|
|
15
15
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
16
16
|
_onClosed(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxAlert, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxAlert, "mtx-alert", ["mtxAlert"], { "type": { "alias": "type"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "elevation": { "alias": "elevation"; "required": false; }; }, { "closed": "closed"; }, never, ["*"],
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxAlert, "mtx-alert", ["mtxAlert"], { "type": { "alias": "type"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "elevation": { "alias": "elevation"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
19
19
|
static ngAcceptInputType_dismissible: unknown;
|
|
20
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "@angular/
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "@
|
|
6
|
-
import * as i5 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/forms";
|
|
4
|
+
import * as i3 from "@angular/material/checkbox";
|
|
5
|
+
import * as i4 from "@ng-matero/extensions/core";
|
|
6
|
+
import * as i5 from "./checkbox-group";
|
|
7
7
|
export declare class MtxCheckboxGroupModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCheckboxGroupModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxCheckboxGroupModule, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxCheckboxGroupModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.MatCheckboxModule, typeof i4.MtxPipesModule, typeof i5.MtxCheckboxGroup], [typeof i5.MtxCheckboxGroup, typeof i4.MtxPipesModule]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtxCheckboxGroupModule>;
|
|
11
11
|
}
|
|
@@ -72,7 +72,7 @@ export declare class MtxCheckboxGroup implements AfterViewInit, OnDestroy, Contr
|
|
|
72
72
|
/** Handle master checkbox toggle */
|
|
73
73
|
_updateMasterCheckboxState(e: MatCheckboxChange, index: number): void;
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCheckboxGroup, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCheckboxGroup, "mtx-checkbox-group", ["mtxCheckboxGroup"], { "items": { "alias": "items"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, ["_checkboxes"], never,
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCheckboxGroup, "mtx-checkbox-group", ["mtxCheckboxGroup"], { "items": { "alias": "items"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, ["_checkboxes"], never, true, never>;
|
|
76
76
|
static ngAcceptInputType_showSelectAll: unknown;
|
|
77
77
|
static ngAcceptInputType_disabled: unknown;
|
|
78
78
|
}
|
|
@@ -85,6 +85,6 @@ export declare class MtxColorpickerInput implements ControlValueAccessor, AfterV
|
|
|
85
85
|
/** TODO: Formats a value and sets it on the input element. */
|
|
86
86
|
private _formatValue;
|
|
87
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerInput, [null, { optional: true; }]>;
|
|
88
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerInput, "input[mtxColorpicker]", ["mtxColorpickerInput"], { "mtxColorpicker": { "alias": "mtxColorpicker"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "colorChange": "colorChange"; "colorInput": "colorInput"; }, never, never,
|
|
88
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerInput, "input[mtxColorpicker]", ["mtxColorpickerInput"], { "mtxColorpicker": { "alias": "mtxColorpicker"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "colorChange": "colorChange"; "colorInput": "colorInput"; }, never, never, true, never>;
|
|
89
89
|
static ngAcceptInputType_disabled: unknown;
|
|
90
90
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/
|
|
6
|
-
import * as i5 from "@angular/
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/cdk/overlay";
|
|
4
|
+
import * as i3 from "@angular/cdk/a11y";
|
|
5
|
+
import * as i4 from "@angular/cdk/portal";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "ngx-color/chrome";
|
|
8
|
+
import * as i7 from "./colorpicker";
|
|
9
|
+
import * as i8 from "./colorpicker-input";
|
|
10
|
+
import * as i9 from "./colorpicker-toggle";
|
|
11
11
|
export declare class MtxColorpickerModule {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxColorpickerModule,
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxColorpickerModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.A11yModule, typeof i4.PortalModule, typeof i5.MatButtonModule, typeof i6.ColorChromeModule, typeof i7.MtxColorpicker, typeof i7.MtxColorpickerContent, typeof i8.MtxColorpickerInput, typeof i9.MtxColorpickerToggle, typeof i9.MtxColorpickerToggleIcon], [typeof i7.MtxColorpicker, typeof i7.MtxColorpickerContent, typeof i8.MtxColorpickerInput, typeof i9.MtxColorpickerToggle, typeof i9.MtxColorpickerToggleIcon]>;
|
|
14
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtxColorpickerModule>;
|
|
15
15
|
}
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
/** Can be used to override the icon of a `mtxColorpickerToggle`. */
|
|
6
6
|
export declare class MtxColorpickerToggleIcon {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerToggleIcon, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerToggleIcon, "[mtxColorpickerToggleIcon]", never, {}, {}, never, never,
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerToggleIcon, "[mtxColorpickerToggleIcon]", never, {}, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
10
10
|
export declare class MtxColorpickerToggle implements AfterContentInit, OnChanges, OnDestroy {
|
|
11
11
|
private _changeDetectorRef;
|
|
@@ -33,7 +33,7 @@ export declare class MtxColorpickerToggle implements AfterContentInit, OnChanges
|
|
|
33
33
|
_open(event: Event): void;
|
|
34
34
|
private _watchStateChanges;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerToggle, [null, { attribute: "tabindex"; }]>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerToggle, "mtx-colorpicker-toggle", ["mtxColorpickerToggle"], { "picker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, ["_customIcon"], ["[mtxColorpickerToggleIcon]"],
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerToggle, "mtx-colorpicker-toggle", ["mtxColorpickerToggle"], { "picker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, ["_customIcon"], ["[mtxColorpickerToggleIcon]"], true, never>;
|
|
37
37
|
static ngAcceptInputType_disabled: unknown;
|
|
38
38
|
static ngAcceptInputType_disableRipple: unknown;
|
|
39
39
|
}
|
|
@@ -3,8 +3,8 @@ import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
|
|
|
3
3
|
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
4
4
|
import { CanColor, ThemePalette } from '@angular/material/core';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
|
-
import { ColorFormat, MtxColorpickerInput } from './colorpicker-input';
|
|
7
6
|
import { ColorEvent } from 'ngx-color';
|
|
7
|
+
import { ColorFormat, MtxColorpickerInput } from './colorpicker-input';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/** Injection token that determines the scroll handling while the panel is open. */
|
|
10
10
|
export declare const MTX_COLORPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
@@ -36,7 +36,7 @@ export declare class MtxColorpickerContent extends _MtxColorpickerContentBase im
|
|
|
36
36
|
ngOnDestroy(): void;
|
|
37
37
|
getColorString(e: ColorEvent): string;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerContent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerContent, "mtx-colorpicker-content", ["mtxColorpickerContent"], { "color": { "alias": "color"; "required": false; }; }, {}, never, never,
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerContent, "mtx-colorpicker-content", ["mtxColorpickerContent"], { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
40
|
}
|
|
41
41
|
export declare class MtxColorpicker implements OnChanges, OnDestroy {
|
|
42
42
|
private _overlay;
|
|
@@ -124,7 +124,7 @@ export declare class MtxColorpicker implements OnChanges, OnDestroy {
|
|
|
124
124
|
/** Gets an observable that will emit when the overlay is supposed to be closed. */
|
|
125
125
|
private _getCloseStream;
|
|
126
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpicker, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
127
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpicker, "mtx-colorpicker", ["mtxColorpicker"], { "content": { "alias": "content"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "openedStream": "opened"; "closedStream": "closed"; }, never, never,
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpicker, "mtx-colorpicker", ["mtxColorpicker"], { "content": { "alias": "content"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "openedStream": "opened"; "closedStream": "closed"; }, never, never, true, never>;
|
|
128
128
|
static ngAcceptInputType_disabled: unknown;
|
|
129
129
|
static ngAcceptInputType_restoreFocus: unknown;
|
|
130
130
|
static ngAcceptInputType_opened: unknown;
|
|
@@ -24,5 +24,5 @@ export declare class CdkColumnResizeFlex extends ColumnResize {
|
|
|
24
24
|
protected readonly table: CdkTable<unknown>;
|
|
25
25
|
constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>);
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResizeFlex, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResizeFlex, "cdk-table[columnResize]", never, {}, {}, never, never,
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResizeFlex, "cdk-table[columnResize]", never, {}, {}, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -24,5 +24,5 @@ export declare class CdkColumnResize extends ColumnResize {
|
|
|
24
24
|
protected readonly table: CdkTable<unknown>;
|
|
25
25
|
constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>);
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResize, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResize, "table[cdk-table][columnResize]", never, {}, {}, never, never,
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResize, "table[cdk-table][columnResize]", never, {}, {}, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -7,6 +7,6 @@ import * as i2 from "./column-resize-directives/column-resize-flex";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class CdkColumnResizeModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResizeModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkColumnResizeModule, [typeof i1.CdkColumnResize, typeof i2.CdkColumnResizeFlex],
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkColumnResizeModule, never, [typeof i1.CdkColumnResize, typeof i2.CdkColumnResizeFlex], [typeof i1.CdkColumnResize, typeof i2.CdkColumnResizeFlex]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<CdkColumnResizeModule>;
|
|
12
12
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '../theming/all-theme';
|
|
2
|
-
@use '../theming/inspection';
|
|
3
3
|
|
|
4
4
|
// Includes all of the color styles.
|
|
5
5
|
@mixin all-component-colors($theme) {
|
|
6
|
-
@if not
|
|
6
|
+
@if not mat.theme-has($theme, color) {
|
|
7
7
|
@error 'No color configuration specified.';
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@include all-theme.all-component-themes(
|
|
11
|
-
|
|
11
|
+
mat.theme-remove($theme, base, typography, density));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
// @deprecated Use `all-component-colors`.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
import { MtxDatetimeFormats } from './datetime-formats';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
import * as i1 from "@angular/material/core";
|
|
3
5
|
export declare class NativeDatetimeModule {
|
|
@@ -5,8 +7,9 @@ export declare class NativeDatetimeModule {
|
|
|
5
7
|
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDatetimeModule, never, [typeof i1.NativeDateModule], never>;
|
|
6
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<NativeDatetimeModule>;
|
|
7
9
|
}
|
|
10
|
+
export declare function provideNativeDatetimeAdapter(formats?: MtxDatetimeFormats): Provider[];
|
|
8
11
|
export declare class MtxNativeDatetimeModule {
|
|
9
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxNativeDatetimeModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxNativeDatetimeModule, never,
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxNativeDatetimeModule, never, never, never>;
|
|
11
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtxNativeDatetimeModule>;
|
|
12
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
2
|
@use '../../alert/alert-theme';
|
|
3
3
|
@use '../../button/button-theme';
|
|
4
4
|
@use '../../colorpicker/colorpicker-theme';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
// Includes all of the density styles.
|
|
16
16
|
@mixin all-component-densities($theme) {
|
|
17
|
-
@if not
|
|
17
|
+
@if not mat.theme-has($theme, density) {
|
|
18
18
|
@error 'No density configuration specified.';
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class MtxIsTemplateRefPipe implements PipeTransform {
|
|
4
4
|
transform(obj: any): boolean;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxIsTemplateRefPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MtxIsTemplateRefPipe, "isTemplateRef",
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MtxIsTemplateRefPipe, "isTemplateRef", true>;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./to-observable.pipe";
|
|
4
|
+
import * as i3 from "./is-template-ref.pipe";
|
|
5
5
|
export declare class MtxPipesModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxPipesModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxPipesModule, [typeof i1.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxPipesModule, never, [typeof i1.CommonModule, typeof i2.MtxToObservablePipe, typeof i3.MtxIsTemplateRefPipe], [typeof i2.MtxToObservablePipe, typeof i3.MtxIsTemplateRefPipe]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtxPipesModule>;
|
|
9
9
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class MtxToObservablePipe implements PipeTransform {
|
|
5
5
|
transform(value: Observable<any> | unknown): Observable<any>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxToObservablePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MtxToObservablePipe, "toObservable",
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MtxToObservablePipe, "toObservable", true>;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
2
|
@use '../../../style/sass-utils';
|
|
3
3
|
@use '../../token-utils';
|
|
4
4
|
|
|
@@ -27,7 +27,7 @@ $prefix: (mdc, plain-tooltip);
|
|
|
27
27
|
|
|
28
28
|
@return (
|
|
29
29
|
// Color of the tooltip container.
|
|
30
|
-
container-color:
|
|
30
|
+
container-color: mat.get-theme-color($theme, background, tooltip),
|
|
31
31
|
// Color of the tooltip text.
|
|
32
32
|
supporting-text-color: #fff,
|
|
33
33
|
);
|
|
@@ -37,13 +37,13 @@ $prefix: (mdc, plain-tooltip);
|
|
|
37
37
|
@function get-typography-tokens($theme) {
|
|
38
38
|
@return (
|
|
39
39
|
// Font for the tooltip text.
|
|
40
|
-
supporting-text-font:
|
|
40
|
+
supporting-text-font: mat.get-theme-typography($theme, caption, font-family),
|
|
41
41
|
// Font size for the tooltip text.
|
|
42
|
-
supporting-text-size:
|
|
42
|
+
supporting-text-size: mat.get-theme-typography($theme, caption, font-size),
|
|
43
43
|
// Font weight of the tooltip text.
|
|
44
|
-
supporting-text-weight:
|
|
44
|
+
supporting-text-weight: mat.get-theme-typography($theme, caption, font-weight),
|
|
45
45
|
// Tracking (space between letters) of the tooltip text.
|
|
46
|
-
supporting-text-tracking:
|
|
46
|
+
supporting-text-tracking: mat.get-theme-typography($theme, caption, letter-spacing),
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -67,48 +67,7 @@ $prefix: (mtx, select);
|
|
|
67
67
|
|
|
68
68
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
69
69
|
@function get-density-tokens($theme) {
|
|
70
|
-
|
|
71
|
-
$height: mdc-density.prop-value(
|
|
72
|
-
$density-config: mdc-textfield.$density-config,
|
|
73
|
-
$density-scale: mat.get-theme-density($theme),
|
|
74
|
-
$property-name: height,
|
|
75
|
-
);
|
|
76
|
-
$hide-label: $height < mdc-textfield.$minimum-height-for-filled-label;
|
|
77
|
-
|
|
78
|
-
// We computed the desired height of the form-field using the density configuration. The
|
|
79
|
-
// spec only describes vertical spacing/alignment in non-dense mode. This means that we
|
|
80
|
-
// cannot update the spacing to explicit numbers based on the density scale. Instead, we
|
|
81
|
-
// determine the height reduction and equally subtract it from the default `top` and `bottom`
|
|
82
|
-
// padding that is provided by the Material Design specification.
|
|
83
|
-
$vertical-deduction: math.div(mdc-textfield.$height - $height, 2);
|
|
84
|
-
|
|
85
|
-
// Note: these calculations are trivial enough that we could do them at runtime with `calc`
|
|
86
|
-
// and the value of the `height` token. The problem is that because we need to hide the label
|
|
87
|
-
// if the container becomes too short, we have to change the padding calculation. This is
|
|
88
|
-
// complicated further by the fact that filled form fields without labels have the same
|
|
89
|
-
// vertical padding as outlined ones. Alternatives:
|
|
90
|
-
// 1. Using container queries to hide the label and change the padding - this doesn't work
|
|
91
|
-
// because size container queries require setting the `container-type` property which breaks
|
|
92
|
-
// the form field layout. We could use style queries, but they're only supported in Chrome.
|
|
93
|
-
// 2. Monitoring the size of the label - we already have a `ResizeObserver` on the label so we
|
|
94
|
-
// could reuse it to also check when it becomes `display: none`. This would allows us to remove
|
|
95
|
-
// the three padding tokens. We don't do it, because it would require us to always set up
|
|
96
|
-
// the resize observer, as opposed to currently where it's only set up for outlined form fields.
|
|
97
|
-
// This may lead to performance regressions.
|
|
98
|
-
// 3. Conditionally adding `::before` and `::after` to the infix with positive and negative
|
|
99
|
-
// margin respectively - this works, but is likely to break a lot of overrides that are targeting
|
|
100
|
-
// a specific padding. It also runs the risk of overflowing the container.
|
|
101
|
-
// TODO: switch the padding tokens to style-based container queries
|
|
102
|
-
// when they become available in all the browsers we support.
|
|
103
|
-
$filled-with-label-padding: 24px - $vertical-deduction;
|
|
104
|
-
$filled-with-label-padding-bottom: 8px - $vertical-deduction;
|
|
105
|
-
$vertical-padding: 16px - $vertical-deduction;
|
|
106
|
-
|
|
107
|
-
@return (
|
|
108
|
-
vertical-padding: $vertical-padding,
|
|
109
|
-
filled-padding-top: if($hide-label, $vertical-padding, $filled-with-label-padding),
|
|
110
|
-
filled-padding-bottom: if($hide-label, $vertical-padding, $filled-with-label-padding-bottom),
|
|
111
|
-
);
|
|
70
|
+
@return ();
|
|
112
71
|
}
|
|
113
72
|
|
|
114
73
|
// Combines the tokens generated by the above functions into a single map with placeholder values.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use './typography';
|
|
2
|
-
@use '../theming/inspection';
|
|
3
3
|
@use '../../alert/alert-theme';
|
|
4
4
|
@use '../../button/button-theme';
|
|
5
5
|
@use '../../colorpicker/colorpicker-theme';
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// Includes all of the typographic styles.
|
|
17
17
|
@mixin all-component-typographies($theme: null) {
|
|
18
18
|
// If no actual color configuration has been specified, create a default one.
|
|
19
|
-
@if not
|
|
19
|
+
@if not mat.theme-has($theme, typography) {
|
|
20
20
|
$theme: typography.define-typography-config();
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -39,5 +39,5 @@ export declare class MtxCalendarBody {
|
|
|
39
39
|
_cellClicked(cell: MtxCalendarCell): void;
|
|
40
40
|
_isActiveCell(rowIndex: number, colIndex: number): boolean;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCalendarBody, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCalendarBody, "[mtx-calendar-body]", ["mtxCalendarBody"], { "label": { "alias": "label"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "todayValue": { "alias": "todayValue"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "labelMinRequiredCells": { "alias": "labelMinRequiredCells"; "required": false; }; "numCols": { "alias": "numCols"; "required": false; }; "allowDisabledSelection": { "alias": "allowDisabledSelection"; "required": false; }; "activeCell": { "alias": "activeCell"; "required": false; }; }, { "selectedValueChange": "selectedValueChange"; }, never, never,
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCalendarBody, "[mtx-calendar-body]", ["mtxCalendarBody"], { "label": { "alias": "label"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "todayValue": { "alias": "todayValue"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "labelMinRequiredCells": { "alias": "labelMinRequiredCells"; "required": false; }; "numCols": { "alias": "numCols"; "required": false; }; "allowDisabledSelection": { "alias": "allowDisabledSelection"; "required": false; }; "activeCell": { "alias": "activeCell"; "required": false; }; }, { "selectedValueChange": "selectedValueChange"; }, never, never, true, never>;
|
|
43
43
|
}
|
|
@@ -140,7 +140,7 @@ export declare class MtxCalendar<D> implements AfterContentInit, OnDestroy {
|
|
|
140
140
|
private calendarState;
|
|
141
141
|
private _2digit;
|
|
142
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCalendar<any>, [null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
143
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCalendar<any>, "mtx-calendar", ["mtxCalendar"], { "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "type": { "alias": "type"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "selectedChange": "selectedChange"; "viewChanged": "viewChanged"; "_userSelection": "_userSelection"; }, never, never,
|
|
143
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCalendar<any>, "mtx-calendar", ["mtxCalendar"], { "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "type": { "alias": "type"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "selectedChange": "selectedChange"; "viewChanged": "viewChanged"; "_userSelection": "_userSelection"; }, never, never, true, never>;
|
|
144
144
|
static ngAcceptInputType_multiYearSelector: unknown;
|
|
145
145
|
static ngAcceptInputType_twelvehour: unknown;
|
|
146
146
|
static ngAcceptInputType_timeInput: unknown;
|
|
@@ -89,6 +89,6 @@ export declare class MtxClock<D> implements AfterContentInit, OnDestroy, OnChang
|
|
|
89
89
|
*/
|
|
90
90
|
private setTime;
|
|
91
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxClock<any>, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxClock<any>, "mtx-clock", ["mtxClock"], { "dateFilter": { "alias": "dateFilter"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "AMPM": { "alias": "AMPM"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; }, { "selectedChange": "selectedChange"; "activeDateChange": "activeDateChange"; "_userSelection": "_userSelection"; }, never, never,
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxClock<any>, "mtx-clock", ["mtxClock"], { "dateFilter": { "alias": "dateFilter"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "AMPM": { "alias": "AMPM"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; }, { "selectedChange": "selectedChange"; "activeDateChange": "activeDateChange"; "_userSelection": "_userSelection"; }, never, never, true, never>;
|
|
93
93
|
static ngAcceptInputType_twelvehour: unknown;
|
|
94
94
|
}
|
|
@@ -101,6 +101,6 @@ export declare class MtxDatetimepickerInput<D> implements AfterContentInit, Cont
|
|
|
101
101
|
/** Returns the palette used by the input's form field, if any. */
|
|
102
102
|
getThemePalette(): ThemePalette;
|
|
103
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerInput<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerInput<any>, "input[mtxDatetimepicker]", ["mtxDatetimepickerInput"], { "mtxDatetimepicker": { "alias": "mtxDatetimepicker"; "required": false; }; "mtxDatetimepickerFilter": { "alias": "mtxDatetimepickerFilter"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never,
|
|
104
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerInput<any>, "input[mtxDatetimepicker]", ["mtxDatetimepickerInput"], { "mtxDatetimepicker": { "alias": "mtxDatetimepicker"; "required": false; }; "mtxDatetimepickerFilter": { "alias": "mtxDatetimepickerFilter"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, true, never>;
|
|
105
105
|
static ngAcceptInputType_disabled: unknown;
|
|
106
106
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "./
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/cdk/overlay";
|
|
4
|
+
import * as i3 from "@angular/cdk/a11y";
|
|
5
|
+
import * as i4 from "@angular/cdk/portal";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "./calendar";
|
|
8
|
+
import * as i7 from "./calendar-body";
|
|
9
|
+
import * as i8 from "./clock";
|
|
10
|
+
import * as i9 from "./time";
|
|
11
|
+
import * as i10 from "./datetimepicker";
|
|
12
|
+
import * as i11 from "./datetimepicker-toggle";
|
|
13
|
+
import * as i12 from "./datetimepicker-input";
|
|
14
|
+
import * as i13 from "./month-view";
|
|
15
|
+
import * as i14 from "./year-view";
|
|
16
|
+
import * as i15 from "./multi-year-view";
|
|
17
17
|
export declare class MtxDatetimepickerModule {
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxDatetimepickerModule, [typeof i1.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxDatetimepickerModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.A11yModule, typeof i4.PortalModule, typeof i5.MatButtonModule, typeof i6.MtxCalendar, typeof i7.MtxCalendarBody, typeof i8.MtxClock, typeof i9.MtxTime, typeof i9.MtxTimeInput, typeof i10.MtxDatetimepicker, typeof i11.MtxDatetimepickerToggle, typeof i11.MtxDatetimepickerToggleIcon, typeof i12.MtxDatetimepickerInput, typeof i10.MtxDatetimepickerContent, typeof i13.MtxMonthView, typeof i14.MtxYearView, typeof i15.MtxMultiYearView], [typeof i6.MtxCalendar, typeof i7.MtxCalendarBody, typeof i8.MtxClock, typeof i9.MtxTime, typeof i10.MtxDatetimepicker, typeof i11.MtxDatetimepickerToggle, typeof i11.MtxDatetimepickerToggleIcon, typeof i12.MtxDatetimepickerInput, typeof i10.MtxDatetimepickerContent, typeof i13.MtxMonthView, typeof i14.MtxYearView, typeof i15.MtxMultiYearView]>;
|
|
20
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtxDatetimepickerModule>;
|
|
21
21
|
}
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
/** Can be used to override the icon of a `mtxDatetimepickerToggle`. */
|
|
7
7
|
export declare class MtxDatetimepickerToggleIcon {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerToggleIcon, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerToggleIcon, "[mtxDatetimepickerToggleIcon]", never, {}, {}, never, never,
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerToggleIcon, "[mtxDatetimepickerToggleIcon]", never, {}, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
11
11
|
export declare class MtxDatetimepickerToggle<D> implements AfterContentInit, OnChanges, OnDestroy {
|
|
12
12
|
_intl: MtxDatetimepickerIntl;
|
|
@@ -35,7 +35,7 @@ export declare class MtxDatetimepickerToggle<D> implements AfterContentInit, OnC
|
|
|
35
35
|
_open(event: Event): void;
|
|
36
36
|
private _watchStateChanges;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerToggle<any>, [null, null, { attribute: "tabindex"; }]>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepickerToggle<any>, "mtx-datetimepicker-toggle", ["mtxDatetimepickerToggle"], { "datetimepicker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, ["_customIcon"], ["[mtxDatetimepickerToggleIcon]"],
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepickerToggle<any>, "mtx-datetimepicker-toggle", ["mtxDatetimepickerToggle"], { "datetimepicker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, ["_customIcon"], ["[mtxDatetimepickerToggleIcon]"], true, never>;
|
|
39
39
|
static ngAcceptInputType_disabled: unknown;
|
|
40
40
|
static ngAcceptInputType_disableRipple: unknown;
|
|
41
41
|
}
|
|
@@ -2,8 +2,8 @@ import { Directionality } from '@angular/cdk/bidi';
|
|
|
2
2
|
import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
|
|
3
3
|
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
4
4
|
import { CanColor, ThemePalette } from '@angular/material/core';
|
|
5
|
-
import { DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
6
5
|
import { Subject } from 'rxjs';
|
|
6
|
+
import { DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
7
7
|
import { MtxCalendar } from './calendar';
|
|
8
8
|
import { MtxDatetimepickerFilterType } from './datetimepicker-filtertype';
|
|
9
9
|
import { MtxDatetimepickerInput } from './datetimepicker-input';
|
|
@@ -54,7 +54,7 @@ export declare class MtxDatetimepickerContent<D> extends _MtxDatetimepickerConte
|
|
|
54
54
|
_startExitAnimation(): void;
|
|
55
55
|
ngOnDestroy(): void;
|
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerContent<any>, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepickerContent<any>, "mtx-datetimepicker-content", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never,
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepickerContent<any>, "mtx-datetimepicker-content", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
58
58
|
}
|
|
59
59
|
export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
60
60
|
private _overlay;
|
|
@@ -192,7 +192,7 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
192
192
|
/** Gets an observable that will emit when the overlay is supposed to be closed. */
|
|
193
193
|
private _getCloseStream;
|
|
194
194
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepicker<any>, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
195
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepicker<any>, "mtx-datetimepicker", ["mtxDatetimepicker"], { "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "type": { "alias": "type"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; }, { "selectedChanged": "selectedChanged"; "openedStream": "opened"; "closedStream": "closed"; "viewChanged": "viewChanged"; }, never, never,
|
|
195
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepicker<any>, "mtx-datetimepicker", ["mtxDatetimepicker"], { "multiYearSelector": { "alias": "multiYearSelector"; "required": false; }; "twelvehour": { "alias": "twelvehour"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; "preventSameDateTimeSelection": { "alias": "preventSameDateTimeSelection"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "type": { "alias": "type"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "timeInput": { "alias": "timeInput"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; }, { "selectedChanged": "selectedChanged"; "openedStream": "opened"; "closedStream": "closed"; "viewChanged": "viewChanged"; }, never, never, true, never>;
|
|
196
196
|
static ngAcceptInputType_multiYearSelector: unknown;
|
|
197
197
|
static ngAcceptInputType_twelvehour: unknown;
|
|
198
198
|
static ngAcceptInputType_preventSameDateTimeSelection: unknown;
|
|
@@ -60,5 +60,5 @@ export declare class MtxMonthView<D> implements AfterContentInit {
|
|
|
60
60
|
private _getDateInCurrentMonth;
|
|
61
61
|
private calendarState;
|
|
62
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxMonthView<any>, [{ optional: true; }, { optional: true; }]>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxMonthView<any>, "mtx-month-view", ["mtxMonthView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; }, never, never,
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxMonthView<any>, "mtx-month-view", ["mtxMonthView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; }, never, never, true, never>;
|
|
64
64
|
}
|
|
@@ -75,7 +75,7 @@ export declare class MtxMultiYearView<D> implements AfterContentInit {
|
|
|
75
75
|
*/
|
|
76
76
|
private _getValidDateOrNull;
|
|
77
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxMultiYearView<any>, [{ optional: true; }, { optional: true; }]>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxMultiYearView<any>, "mtx-multi-year-view", ["mtxMultiYearView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; }, never, never,
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxMultiYearView<any>, "mtx-multi-year-view", ["mtxMultiYearView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; }, never, never, true, never>;
|
|
79
79
|
}
|
|
80
80
|
export declare function isSameMultiYearView<D>(dateAdapter: DatetimeAdapter<D>, date1: D, date2: D, minDate: D | null, maxDate: D | null): boolean;
|
|
81
81
|
/**
|