@ng-matero/extensions 19.4.1 → 20.0.1
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 +1 -1
- package/alert/_alert-theme.scss +26 -31
- package/alert/_m2-alert.scss +59 -0
- package/alert/_m3-alert.scss +41 -0
- package/alert/alert.scss +27 -31
- package/alert/index.d.ts +30 -5
- package/button/index.d.ts +31 -5
- package/checkbox-group/index.d.ts +117 -5
- package/colorpicker/_colorpicker-theme.scss +31 -36
- package/{core/tokens/m2/mtx/_colorpicker.scss → colorpicker/_m2-colorpicker.scss} +6 -10
- package/colorpicker/_m3-colorpicker.scss +23 -0
- package/colorpicker/colorpicker-toggle.scss +4 -9
- package/colorpicker/index.d.ts +285 -3
- package/column-resize/index.d.ts +456 -3
- package/core/index.d.ts +147 -5
- package/core/theming/_color-api-backwards-compatibility.scss +8 -15
- package/core/theming/_definition.scss +81 -75
- package/core/theming/_palettes.scss +1036 -0
- package/core/tokens/{m2/_index.scss → _m2-tokens.scss} +22 -22
- package/core/tokens/_m2-utils.scss +108 -0
- package/core/tokens/_m3-system.scss +128 -106
- package/core/tokens/_m3-tokens.scss +36 -282
- package/core/tokens/_m3-utils.scss +48 -0
- package/core/tokens/_token-utils.scss +67 -239
- package/core/tokens/m3/_index.scss +7 -0
- package/core/tokens/m3/_md-sys-color.scss +156 -0
- package/core/tokens/m3/_md-sys-elevation.scss +15 -0
- package/core/tokens/m3/_md-sys-motion.scss +35 -0
- package/core/tokens/m3/_md-sys-shape.scss +21 -0
- package/core/tokens/m3/_md-sys-state.scss +13 -0
- package/core/tokens/m3/_md-sys-typescale.scss +128 -0
- package/core/tokens/m3/_theme.scss +47 -0
- package/datetimepicker/_datetimepicker-theme.scss +29 -39
- package/datetimepicker/_m2-datetimepicker.scss +149 -0
- package/datetimepicker/_m3-datetimepicker.scss +81 -0
- package/datetimepicker/calendar-body.scss +31 -56
- package/datetimepicker/calendar.scss +43 -79
- package/datetimepicker/clock.scss +28 -47
- package/datetimepicker/datetimepicker-content.scss +9 -15
- package/datetimepicker/datetimepicker-toggle.scss +4 -9
- package/datetimepicker/index.d.ts +1208 -3
- package/datetimepicker/time-view.scss +26 -32
- package/dialog/index.d.ts +54 -5
- package/drawer/_drawer-theme.scss +25 -30
- package/{core/tokens/m2/mtx/_drawer.scss → drawer/_m2-drawer.scss} +9 -12
- package/drawer/_m3-drawer.scss +24 -0
- package/drawer/drawer-container.scss +13 -24
- package/drawer/index.d.ts +221 -3
- package/fesm2022/mtxAlert.mjs +7 -7
- package/fesm2022/mtxAlert.mjs.map +1 -1
- package/fesm2022/mtxButton.mjs +11 -11
- package/fesm2022/mtxButton.mjs.map +1 -1
- package/fesm2022/mtxCheckboxGroup.mjs +7 -7
- package/fesm2022/mtxColorpicker.mjs +21 -21
- package/fesm2022/mtxColorpicker.mjs.map +1 -1
- package/fesm2022/mtxColumnResize.mjs +232 -103
- package/fesm2022/mtxColumnResize.mjs.map +1 -1
- package/fesm2022/mtxCore.mjs +21 -21
- package/fesm2022/mtxDatetimepicker.mjs +63 -67
- package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2022/mtxDialog.mjs +10 -10
- package/fesm2022/mtxDialog.mjs.map +1 -1
- package/fesm2022/mtxDrawer.mjs +10 -10
- package/fesm2022/mtxGrid.mjs +78 -77
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/fesm2022/mtxLoader.mjs +7 -7
- package/fesm2022/mtxPhotoviewer.mjs +7 -7
- package/fesm2022/mtxPopover.mjs +24 -25
- package/fesm2022/mtxPopover.mjs.map +1 -1
- package/fesm2022/mtxProgress.mjs +7 -7
- package/fesm2022/mtxSelect.mjs +54 -54
- package/fesm2022/mtxSelect.mjs.map +1 -1
- package/fesm2022/mtxSplit.mjs +10 -10
- package/fesm2022/mtxTooltip.mjs +13 -13
- package/fesm2022/mtxTooltip.mjs.map +1 -1
- package/grid/_grid-theme.scss +24 -34
- package/grid/_m2-grid.scss +66 -0
- package/grid/_m3-grid.scss +35 -0
- package/grid/column-menu.scss +6 -23
- package/grid/column-resize/_column-resize.scss +35 -30
- package/grid/grid.scss +41 -74
- package/grid/index.d.ts +799 -3
- package/index.d.ts +2 -5
- package/loader/_loader-theme.scss +26 -31
- package/{core/tokens/m2/mtx/_loader.scss → loader/_m2-loader.scss} +5 -10
- package/loader/_m3-loader.scss +20 -0
- package/loader/index.d.ts +43 -5
- package/loader/loader.scss +4 -5
- package/package.json +28 -28
- package/photoviewer/index.d.ts +26 -5
- package/{core/tokens/m2/mtx/_popover.scss → popover/_m2-popover.scss} +9 -12
- package/popover/_m3-popover.scss +26 -0
- package/popover/_popover-theme.scss +26 -31
- package/popover/index.d.ts +399 -3
- package/popover/popover.scss +23 -29
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress/_m2-progress.scss +53 -0
- package/progress/_m3-progress.scss +33 -0
- package/progress/_progress-theme.scss +22 -34
- package/progress/index.d.ts +35 -5
- package/progress/progress.scss +28 -43
- package/select/_m2-select.scss +79 -0
- package/select/_m3-select.scss +46 -0
- package/select/_select-theme.scss +27 -37
- package/select/index.d.ts +381 -3
- package/select/select.scss +189 -205
- package/{core/tokens/m2/mtx/_split.scss → split/_m2-split.scss} +6 -9
- package/split/_m3-split.scss +23 -0
- package/split/_split-theme.scss +31 -34
- package/split/index.d.ts +255 -3
- package/split/split.scss +8 -11
- package/tooltip/_m2-tooltip.scss +50 -0
- package/tooltip/_m3-tooltip.scss +28 -0
- package/tooltip/_tooltip-theme.scss +23 -47
- package/tooltip/index.d.ts +345 -3
- package/tooltip/tooltip.scss +11 -15
- package/alert/alert-module.d.ts +0 -8
- package/alert/alert.d.ts +0 -19
- package/alert/public-api.d.ts +0 -2
- package/button/button-loading.d.ts +0 -19
- package/button/button-module.d.ts +0 -10
- package/button/public-api.d.ts +0 -2
- package/checkbox-group/checkbox-group-module.d.ts +0 -11
- package/checkbox-group/checkbox-group.d.ts +0 -86
- package/checkbox-group/interfaces.d.ts +0 -17
- package/checkbox-group/public-api.d.ts +0 -3
- package/colorpicker/colorpicker-animations.d.ts +0 -9
- package/colorpicker/colorpicker-input.d.ts +0 -88
- package/colorpicker/colorpicker-module.d.ts +0 -15
- package/colorpicker/colorpicker-toggle.d.ts +0 -39
- package/colorpicker/colorpicker.d.ts +0 -140
- package/colorpicker/public-api.d.ts +0 -5
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -29
- package/column-resize/column-resize-directives/column-resize.d.ts +0 -29
- package/column-resize/column-resize-directives/constants.d.ts +0 -10
- package/column-resize/column-resize-module.d.ts +0 -12
- package/column-resize/column-resize-notifier.d.ts +0 -48
- package/column-resize/column-resize.d.ts +0 -39
- package/column-resize/column-size-store.d.ts +0 -12
- package/column-resize/event-dispatcher.d.ts +0 -35
- package/column-resize/overlay-handle.d.ts +0 -43
- package/column-resize/polyfill.d.ts +0 -9
- package/column-resize/public-api.d.ts +0 -12
- package/column-resize/resizable.d.ts +0 -63
- package/column-resize/resize-ref.d.ts +0 -17
- package/column-resize/resize-strategy.d.ts +0 -84
- package/column-resize/selectors.d.ts +0 -10
- package/core/datetime/datetime-adapter.d.ts +0 -45
- package/core/datetime/datetime-formats.d.ts +0 -22
- package/core/datetime/datetime.module.d.ts +0 -15
- package/core/datetime/index.d.ts +0 -5
- package/core/datetime/native-datetime-adapter.d.ts +0 -40
- package/core/datetime/native-datetime-formats.d.ts +0 -2
- package/core/pipes/index.d.ts +0 -3
- package/core/pipes/is-template-ref.pipe.d.ts +0 -7
- package/core/pipes/pipes.module.d.ts +0 -9
- package/core/pipes/to-observable.pipe.d.ts +0 -8
- package/core/public-api.d.ts +0 -2
- package/core/theming/_inspection.scss +0 -38
- package/core/theming/_validation.scss +0 -5
- package/core/tokens/_density.scss +0 -49
- package/core/tokens/_format-tokens.scss +0 -5
- package/core/tokens/_token-definition.scss +0 -271
- package/core/tokens/m2/mdc/_plain-tooltip.scss +0 -63
- package/core/tokens/m2/mtx/_alert.scss +0 -62
- package/core/tokens/m2/mtx/_datetimepicker.scss +0 -152
- package/core/tokens/m2/mtx/_grid.scss +0 -69
- package/core/tokens/m2/mtx/_progress.scss +0 -56
- package/core/tokens/m2/mtx/_select.scss +0 -82
- package/core/tokens/m3/definitions/_index.scss +0 -9
- package/core/tokens/m3/definitions/_md-comp-plain-tooltip.scss +0 -51
- package/core/tokens/m3/definitions/_md-ref-palette.scss +0 -100
- package/core/tokens/m3/definitions/_md-ref-typeface.scss +0 -14
- package/core/tokens/m3/definitions/_md-sys-color.scss +0 -126
- package/core/tokens/m3/definitions/_md-sys-elevation.scss +0 -15
- package/core/tokens/m3/definitions/_md-sys-motion.scss +0 -46
- package/core/tokens/m3/definitions/_md-sys-shape.scss +0 -24
- package/core/tokens/m3/definitions/_md-sys-state.scss +0 -13
- package/core/tokens/m3/definitions/_md-sys-typescale.scss +0 -308
- package/core/tokens/m3/index.scss +0 -47
- package/core/tokens/m3/mdc/_plain-tooltip.scss +0 -15
- package/core/tokens/m3/mtx/_alert.scss +0 -41
- package/core/tokens/m3/mtx/_colorpicker.scss +0 -19
- package/core/tokens/m3/mtx/_datetimepicker.scss +0 -140
- package/core/tokens/m3/mtx/_drawer.scss +0 -22
- package/core/tokens/m3/mtx/_grid.scss +0 -32
- package/core/tokens/m3/mtx/_loader.scss +0 -22
- package/core/tokens/m3/mtx/_popover.scss +0 -25
- package/core/tokens/m3/mtx/_progress.scss +0 -32
- package/core/tokens/m3/mtx/_select.scss +0 -76
- package/core/tokens/m3/mtx/_split.scss +0 -30
- package/datetimepicker/calendar-body.d.ts +0 -66
- package/datetimepicker/calendar.d.ts +0 -157
- package/datetimepicker/clock.d.ts +0 -101
- package/datetimepicker/datetimepicker-actions.d.ts +0 -36
- package/datetimepicker/datetimepicker-animations.d.ts +0 -11
- package/datetimepicker/datetimepicker-errors.d.ts +0 -2
- package/datetimepicker/datetimepicker-filtertype.d.ts +0 -5
- package/datetimepicker/datetimepicker-input.d.ts +0 -105
- package/datetimepicker/datetimepicker-intl.d.ts +0 -53
- package/datetimepicker/datetimepicker-module.d.ts +0 -22
- package/datetimepicker/datetimepicker-toggle.d.ts +0 -42
- package/datetimepicker/datetimepicker-types.d.ts +0 -6
- package/datetimepicker/datetimepicker.d.ts +0 -274
- package/datetimepicker/month-view.d.ts +0 -80
- package/datetimepicker/multi-year-view.d.ts +0 -86
- package/datetimepicker/public-api.d.ts +0 -16
- package/datetimepicker/time-view.d.ts +0 -147
- package/datetimepicker/year-view.d.ts +0 -68
- package/dialog/dialog-config.d.ts +0 -17
- package/dialog/dialog-container.d.ts +0 -11
- package/dialog/dialog-module.d.ts +0 -12
- package/dialog/dialog.d.ts +0 -15
- package/dialog/public-api.d.ts +0 -4
- package/drawer/drawer-animations.d.ts +0 -8
- package/drawer/drawer-config.d.ts +0 -63
- package/drawer/drawer-container.d.ts +0 -35
- package/drawer/drawer-module.d.ts +0 -10
- package/drawer/drawer-ref.d.ts +0 -53
- package/drawer/drawer.d.ts +0 -59
- package/drawer/public-api.d.ts +0 -6
- package/grid/cell.d.ts +0 -32
- package/grid/column-menu.d.ts +0 -39
- package/grid/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -24
- package/grid/column-resize/column-resize-directives/column-resize.d.ts +0 -24
- package/grid/column-resize/column-resize-directives/common.d.ts +0 -13
- package/grid/column-resize/column-resize-module.d.ts +0 -17
- package/grid/column-resize/index.d.ts +0 -7
- package/grid/column-resize/overlay-handle.d.ts +0 -32
- package/grid/column-resize/resizable-directives/common.d.ts +0 -19
- package/grid/column-resize/resizable-directives/resizable.d.ts +0 -32
- package/grid/column-resize/resize-strategy.d.ts +0 -20
- package/grid/expansion-toggle.d.ts +0 -17
- package/grid/grid-module.d.ts +0 -31
- package/grid/grid-pipes.d.ts +0 -39
- package/grid/grid-utils.d.ts +0 -33
- package/grid/grid.d.ts +0 -268
- package/grid/interfaces.d.ts +0 -180
- package/grid/public-api.d.ts +0 -17
- package/grid/selectable-cell.d.ts +0 -16
- package/loader/loader-module.d.ts +0 -10
- package/loader/loader.d.ts +0 -30
- package/loader/public-api.d.ts +0 -2
- package/photoviewer/photoviewer-module.d.ts +0 -7
- package/photoviewer/photoviewer.d.ts +0 -17
- package/photoviewer/public-api.d.ts +0 -2
- package/popover/popover-animations.d.ts +0 -11
- package/popover/popover-content.d.ts +0 -43
- package/popover/popover-errors.d.ts +0 -14
- package/popover/popover-interfaces.d.ts +0 -50
- package/popover/popover-module.d.ts +0 -13
- package/popover/popover-target.d.ts +0 -7
- package/popover/popover-trigger.d.ts +0 -132
- package/popover/popover-types.d.ts +0 -10
- package/popover/popover.d.ts +0 -147
- package/popover/public-api.d.ts +0 -8
- package/progress/progress-module.d.ts +0 -8
- package/progress/progress.d.ts +0 -24
- package/progress/public-api.d.ts +0 -2
- package/public-api.d.ts +0 -2
- package/select/option.d.ts +0 -21
- package/select/public-api.d.ts +0 -5
- package/select/select-intl.d.ts +0 -18
- package/select/select-module.d.ts +0 -12
- package/select/select.d.ts +0 -270
- package/select/templates.d.ts +0 -67
- package/split/interfaces.d.ts +0 -52
- package/split/public-api.d.ts +0 -5
- package/split/split-module.d.ts +0 -9
- package/split/split-pane.d.ts +0 -53
- package/split/split.d.ts +0 -133
- package/split/utils.d.ts +0 -13
- package/tooltip/public-api.d.ts +0 -3
- package/tooltip/tooltip-animations.d.ts +0 -9
- package/tooltip/tooltip-module.d.ts +0 -13
- package/tooltip/tooltip.d.ts +0 -321
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
3
|
-
import { MtxCalendarBody, MtxCalendarCell } from './calendar-body';
|
|
4
|
-
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* An internal component used to display a single year in the datetimepicker.
|
|
8
|
-
* @docs-private
|
|
9
|
-
*/
|
|
10
|
-
export declare class MtxYearView<D> implements AfterContentInit {
|
|
11
|
-
_adapter: DatetimeAdapter<D>;
|
|
12
|
-
private _dir;
|
|
13
|
-
private _dateFormats;
|
|
14
|
-
type: MtxDatetimepickerType;
|
|
15
|
-
/** A function used to filter which dates are selectable. */
|
|
16
|
-
dateFilter: (date: D) => boolean;
|
|
17
|
-
/** Emits when a new month is selected. */
|
|
18
|
-
selectedChange: EventEmitter<D>;
|
|
19
|
-
/** Emits when any date is selected. */
|
|
20
|
-
readonly _userSelection: EventEmitter<void>;
|
|
21
|
-
/** Emits when any date is activated. */
|
|
22
|
-
readonly activeDateChange: EventEmitter<D>;
|
|
23
|
-
/** The body of calendar table */
|
|
24
|
-
_mtxCalendarBody: MtxCalendarBody;
|
|
25
|
-
/** Grid of calendar cells representing the months of the year. */
|
|
26
|
-
_months: MtxCalendarCell[][];
|
|
27
|
-
/** The label for this year (e.g. "2017"). */
|
|
28
|
-
_yearLabel: string;
|
|
29
|
-
/** The month in this year that today falls on. Null if today is in a different year. */
|
|
30
|
-
_todayMonth: number | null;
|
|
31
|
-
/**
|
|
32
|
-
* The month in this year that the selected Date falls on.
|
|
33
|
-
* Null if the selected Date is in a different year.
|
|
34
|
-
*/
|
|
35
|
-
_selectedMonth: number | null;
|
|
36
|
-
/** Inserted by Angular inject() migration for backwards compatibility */
|
|
37
|
-
constructor(...args: unknown[]);
|
|
38
|
-
/** The date to display in this year view (everything other than the year is ignored). */
|
|
39
|
-
get activeDate(): D;
|
|
40
|
-
set activeDate(value: D);
|
|
41
|
-
private _activeDate;
|
|
42
|
-
/** The currently selected date. */
|
|
43
|
-
get selected(): D | null;
|
|
44
|
-
set selected(value: D | null);
|
|
45
|
-
private _selected;
|
|
46
|
-
ngAfterContentInit(): void;
|
|
47
|
-
/** Handles when a new month is selected. */
|
|
48
|
-
_monthSelected(month: number): void;
|
|
49
|
-
/** Initializes this month view. */
|
|
50
|
-
private _init;
|
|
51
|
-
/**
|
|
52
|
-
* Gets the month in this year that the given Date falls on.
|
|
53
|
-
* Returns null if the given Date is in another year.
|
|
54
|
-
*/
|
|
55
|
-
private _getMonthInCurrentYear;
|
|
56
|
-
/** Creates an MdCalendarCell for the given month. */
|
|
57
|
-
private _createCellForMonth;
|
|
58
|
-
/** Whether the given month is enabled. */
|
|
59
|
-
private _isMonthEnabled;
|
|
60
|
-
/** Handles keydown events on the calendar body when calendar is in year view. */
|
|
61
|
-
_handleCalendarBodyKeydown(event: KeyboardEvent): void;
|
|
62
|
-
/** Focuses the active cell after the microtask queue is empty. */
|
|
63
|
-
_focusActiveCell(): void;
|
|
64
|
-
/** Determines whether the user has the RTL layout direction. */
|
|
65
|
-
private _isRtl;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxYearView<any>, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxYearView<any>, "mtx-year-view", ["mtxYearView"], { "type": { "alias": "type"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; "activeDateChange": "activeDateChange"; }, never, never, true, never>;
|
|
68
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ThemePalette } from '@angular/material/core';
|
|
2
|
-
import { MatDialogConfig } from '@angular/material/dialog';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
export interface MtxDialogData extends MatDialogConfig {
|
|
5
|
-
title?: string | Observable<string>;
|
|
6
|
-
description?: string | Observable<string>;
|
|
7
|
-
buttons?: MtxDialogBtns[];
|
|
8
|
-
showCloseIcon?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface MtxDialogBtns {
|
|
11
|
-
type?: 'raised' | 'stroked' | 'flat';
|
|
12
|
-
color?: ThemePalette;
|
|
13
|
-
class?: string;
|
|
14
|
-
focusInitial?: boolean;
|
|
15
|
-
text: string | Observable<string>;
|
|
16
|
-
onClick?: () => void;
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { MtxDialogData } from './dialog-config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MtxDialogContainer {
|
|
5
|
-
dialogRef: MatDialogRef<MtxDialogContainer, any>;
|
|
6
|
-
data: MtxDialogData;
|
|
7
|
-
_onClick(fn: () => void): void;
|
|
8
|
-
_onClose(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDialogContainer, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDialogContainer, "mtx-dialog-container", ["mtxDialogContainer"], {}, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/material/dialog";
|
|
4
|
-
import * as i3 from "@angular/material/button";
|
|
5
|
-
import * as i4 from "@angular/material/icon";
|
|
6
|
-
import * as i5 from "@ng-matero/extensions/core";
|
|
7
|
-
import * as i6 from "./dialog-container";
|
|
8
|
-
export declare class MtxDialogModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDialogModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxDialogModule, never, [typeof i1.CommonModule, typeof i2.MatDialogModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MtxPipesModule, typeof i6.MtxDialogContainer], [typeof i6.MtxDialogContainer]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MtxDialogModule>;
|
|
12
|
-
}
|
package/dialog/dialog.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { MtxDialogData } from './dialog-config';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MtxDialog {
|
|
8
|
-
dialog: MatDialog;
|
|
9
|
-
originalOpen(componentOrTemplateRef: (ComponentType<any> | TemplateRef<any>) | undefined, config: any): import("@angular/material/dialog").MatDialogRef<any, any>;
|
|
10
|
-
open(config: MtxDialogData, componentOrTemplateRef?: ComponentType<any> | TemplateRef<any>): import("@angular/material/dialog").MatDialogRef<any, any>;
|
|
11
|
-
alert(title: string | Observable<string>, description?: string | Observable<string>, onOk?: () => void): void;
|
|
12
|
-
confirm(title: string | Observable<string>, description?: string | Observable<string>, onOk?: () => void, onClose?: () => void): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDialog, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MtxDialog>;
|
|
15
|
-
}
|
package/dialog/public-api.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
-
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
3
|
-
import { ViewContainerRef } from '@angular/core';
|
|
4
|
-
/** Options for where to set focus to automatically on dialog open. */
|
|
5
|
-
export type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
|
|
6
|
-
/** Possible overrides for a drawer's position. */
|
|
7
|
-
export type DrawerPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
8
|
-
/**
|
|
9
|
-
* Configuration used when opening a drawer.
|
|
10
|
-
*/
|
|
11
|
-
export declare class MtxDrawerConfig<D = any> {
|
|
12
|
-
/** The view container to place the overlay for the drawer into. */
|
|
13
|
-
viewContainerRef?: ViewContainerRef;
|
|
14
|
-
/** ID for the drawer. If omitted, a unique one will be generated. */
|
|
15
|
-
id?: string;
|
|
16
|
-
/** Extra CSS classes to be added to the drawer container. */
|
|
17
|
-
panelClass?: string | string[];
|
|
18
|
-
/** Text layout direction for the drawer. */
|
|
19
|
-
direction?: Direction;
|
|
20
|
-
/** Data being injected into the child component. */
|
|
21
|
-
data?: D | null;
|
|
22
|
-
/** Whether the drawer has a backdrop. */
|
|
23
|
-
hasBackdrop?: boolean;
|
|
24
|
-
/** Custom class for the backdrop. */
|
|
25
|
-
backdropClass?: string;
|
|
26
|
-
/** Whether the user can use escape or clicking outside to close the drawer. */
|
|
27
|
-
disableClose?: boolean;
|
|
28
|
-
/** Aria label to assign to the drawer element. */
|
|
29
|
-
ariaLabel?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* Whether the drawer should close when the user goes backwards/forwards in history.
|
|
32
|
-
* Note that this usually doesn't include clicking on links (unless the user is using
|
|
33
|
-
* the `HashLocationStrategy`).
|
|
34
|
-
*/
|
|
35
|
-
closeOnNavigation?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Where the drawer should focus on open.
|
|
38
|
-
* @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or
|
|
39
|
-
* AutoFocusTarget instead.
|
|
40
|
-
*/
|
|
41
|
-
autoFocus?: AutoFocusTarget | string | boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the drawer should restore focus to the
|
|
44
|
-
* previously-focused element, after it's closed.
|
|
45
|
-
*/
|
|
46
|
-
restoreFocus?: boolean;
|
|
47
|
-
/** Scroll strategy to be used for the drawer. */
|
|
48
|
-
scrollStrategy?: ScrollStrategy;
|
|
49
|
-
/** Position of the drawer. */
|
|
50
|
-
position?: DrawerPosition;
|
|
51
|
-
/** Width of the drawer. */
|
|
52
|
-
width?: string;
|
|
53
|
-
/** Height of the drawer. */
|
|
54
|
-
height?: string;
|
|
55
|
-
/** Min-width of the drawer. If a number is provided, assumes pixel units. */
|
|
56
|
-
minWidth?: number | string;
|
|
57
|
-
/** Min-height of the drawer. If a number is provided, assumes pixel units. */
|
|
58
|
-
minHeight?: number | string;
|
|
59
|
-
/** Max-width of the drawer. If a number is provided, assumes pixel units. */
|
|
60
|
-
maxWidth?: number | string;
|
|
61
|
-
/** Max-height of the drawer. If a number is provided, assumes pixel units. */
|
|
62
|
-
maxHeight?: number | string;
|
|
63
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { CdkDialogContainer } from '@angular/cdk/dialog';
|
|
2
|
-
import { CdkPortalOutlet } from '@angular/cdk/portal';
|
|
3
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
4
|
-
import { MtxDrawerConfig } from './drawer-config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Internal component that wraps user-provided drawer content.
|
|
8
|
-
* @docs-private
|
|
9
|
-
*/
|
|
10
|
-
export declare class MtxDrawerContainer extends CdkDialogContainer<MtxDrawerConfig> implements OnDestroy {
|
|
11
|
-
/** The portal outlet inside of this container into which the content will be loaded. */
|
|
12
|
-
_portalOutlet: CdkPortalOutlet;
|
|
13
|
-
protected _animationsDisabled: boolean;
|
|
14
|
-
/** The state of the drawer animations. */
|
|
15
|
-
_animationState: 'void' | 'visible' | 'hidden';
|
|
16
|
-
/** Emits whenever the state of the animation changes. */
|
|
17
|
-
_animationStateChanged: EventEmitter<{
|
|
18
|
-
toState: "visible" | "hidden";
|
|
19
|
-
phase: "start" | "done";
|
|
20
|
-
}>;
|
|
21
|
-
/** Whether the component has been destroyed. */
|
|
22
|
-
private _destroyed;
|
|
23
|
-
get _drawerPosition(): string;
|
|
24
|
-
protected _contentAttached(): void;
|
|
25
|
-
/** Begin animation of bottom sheet entrance into view. */
|
|
26
|
-
enter(): void;
|
|
27
|
-
/** Begin animation of the bottom sheet exiting from view. */
|
|
28
|
-
exit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
private _simulateAnimation;
|
|
31
|
-
protected _handleAnimationEvent(isStart: boolean, animationName: string): void;
|
|
32
|
-
protected _captureInitialFocus(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDrawerContainer, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDrawerContainer, "mtx-drawer-container", never, {}, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/cdk/dialog";
|
|
3
|
-
import * as i2 from "@angular/cdk/portal";
|
|
4
|
-
import * as i3 from "@angular/material/core";
|
|
5
|
-
import * as i4 from "./drawer-container";
|
|
6
|
-
export declare class MtxDrawerModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDrawerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxDrawerModule, never, [typeof i1.DialogModule, typeof i2.PortalModule, typeof i3.MatCommonModule, typeof i4.MtxDrawerContainer], [typeof i4.MtxDrawerContainer, typeof i3.MatCommonModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MtxDrawerModule>;
|
|
10
|
-
}
|
package/drawer/drawer-ref.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { DialogRef } from '@angular/cdk/dialog';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { MtxDrawerConfig } from './drawer-config';
|
|
4
|
-
import { MtxDrawerContainer } from './drawer-container';
|
|
5
|
-
import { ComponentRef } from '@angular/core';
|
|
6
|
-
/**
|
|
7
|
-
* Reference to a drawer dispatched from the drawer service.
|
|
8
|
-
*/
|
|
9
|
-
export declare class MtxDrawerRef<T = any, R = any> {
|
|
10
|
-
private _ref;
|
|
11
|
-
/** Instance of the component making up the content of the drawer. */
|
|
12
|
-
get instance(): T;
|
|
13
|
-
/**
|
|
14
|
-
* `ComponentRef` of the component opened into the drawer. Will be
|
|
15
|
-
* null when the drawer is opened using a `TemplateRef`.
|
|
16
|
-
*/
|
|
17
|
-
get componentRef(): ComponentRef<T> | null;
|
|
18
|
-
/**
|
|
19
|
-
* Instance of the component into which the drawer content is projected.
|
|
20
|
-
* @docs-private
|
|
21
|
-
*/
|
|
22
|
-
containerInstance: MtxDrawerContainer;
|
|
23
|
-
/** Whether the user is allowed to close the drawer. */
|
|
24
|
-
disableClose: boolean | undefined;
|
|
25
|
-
/** Unique ID for the drawer. */
|
|
26
|
-
id: string;
|
|
27
|
-
/** Subject for notifying the user that the drawer has been dismissed. */
|
|
28
|
-
private readonly _afterDismissed;
|
|
29
|
-
/** Subject for notifying the user that the drawer has opened and appeared. */
|
|
30
|
-
private readonly _afterOpened;
|
|
31
|
-
/** Result to be passed down to the `afterDismissed` stream. */
|
|
32
|
-
private _result;
|
|
33
|
-
/** Handle to the timeout that's running as a fallback in case the exit animation doesn't fire. */
|
|
34
|
-
private _closeFallbackTimeout;
|
|
35
|
-
constructor(_ref: DialogRef<R, T>, config: MtxDrawerConfig, containerInstance: MtxDrawerContainer);
|
|
36
|
-
/**
|
|
37
|
-
* Dismisses the drawer.
|
|
38
|
-
* @param result Data to be passed back to the drawer opener.
|
|
39
|
-
*/
|
|
40
|
-
dismiss(result?: R): void;
|
|
41
|
-
/** Gets an observable that is notified when the drawer is finished closing. */
|
|
42
|
-
afterDismissed(): Observable<R | undefined>;
|
|
43
|
-
/** Gets an observable that is notified when the drawer has opened and appeared. */
|
|
44
|
-
afterOpened(): Observable<void>;
|
|
45
|
-
/**
|
|
46
|
-
* Gets an observable that emits when the overlay's backdrop has been clicked.
|
|
47
|
-
*/
|
|
48
|
-
backdropClick(): Observable<MouseEvent>;
|
|
49
|
-
/**
|
|
50
|
-
* Gets an observable that emits when keydown events are targeted on the overlay.
|
|
51
|
-
*/
|
|
52
|
-
keydownEvents(): Observable<KeyboardEvent>;
|
|
53
|
-
}
|
package/drawer/drawer.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
2
|
-
import { InjectionToken, OnDestroy, TemplateRef } from '@angular/core';
|
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { MtxDrawerConfig } from './drawer-config';
|
|
5
|
-
import { MtxDrawerRef } from './drawer-ref';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/** Injection token that can be used to access the data that was passed in to a drawer. */
|
|
8
|
-
export declare const MTX_DRAWER_DATA: InjectionToken<any>;
|
|
9
|
-
/** Injection token that can be used to specify default drawer options. */
|
|
10
|
-
export declare const MTX_DRAWER_DEFAULT_OPTIONS: InjectionToken<MtxDrawerConfig<any>>;
|
|
11
|
-
/**
|
|
12
|
-
* Service to trigger Material Design bottom sheets.
|
|
13
|
-
*/
|
|
14
|
-
export declare class MtxDrawer implements OnDestroy {
|
|
15
|
-
private _overlay;
|
|
16
|
-
private _parentDrawer;
|
|
17
|
-
private _defaultOptions;
|
|
18
|
-
private readonly _openDrawersAtThisLevel;
|
|
19
|
-
private readonly _afterAllDismissedAtThisLevel;
|
|
20
|
-
private readonly _afterOpenedAtThisLevel;
|
|
21
|
-
private _dialog;
|
|
22
|
-
/** Keeps track of the currently-open dialogs. */
|
|
23
|
-
get openDrawers(): MtxDrawerRef<any>[];
|
|
24
|
-
/** Stream that emits when a drawer has been opened. */
|
|
25
|
-
get afterOpened(): Subject<MtxDrawerRef<any>>;
|
|
26
|
-
private _getAfterAllDismissed;
|
|
27
|
-
/**
|
|
28
|
-
* Stream that emits when all open drawer have finished closing.
|
|
29
|
-
* Will emit on subscribe if there are no open drawers to begin with.
|
|
30
|
-
*/
|
|
31
|
-
readonly afterAllDismissed: Observable<void>;
|
|
32
|
-
/**
|
|
33
|
-
* Opens a drawer containing the given component.
|
|
34
|
-
* @param component Type of the component to load into the drawer.
|
|
35
|
-
* @param config Extra configuration options.
|
|
36
|
-
* @returns Reference to the newly-opened drawer.
|
|
37
|
-
*/
|
|
38
|
-
open<T, D = any, R = any>(component: ComponentType<T>, config?: MtxDrawerConfig<D>): MtxDrawerRef<T, R>;
|
|
39
|
-
/**
|
|
40
|
-
* Opens a drawer containing the given template.
|
|
41
|
-
* @param template TemplateRef to instantiate as the drawer content.
|
|
42
|
-
* @param config Extra configuration options.
|
|
43
|
-
* @returns Reference to the newly-opened drawer.
|
|
44
|
-
*/
|
|
45
|
-
open<T, D = any, R = any>(template: TemplateRef<T>, config?: MtxDrawerConfig<D>): MtxDrawerRef<T, R>;
|
|
46
|
-
/**
|
|
47
|
-
* Dismisses all of the currently-open drawers.
|
|
48
|
-
*/
|
|
49
|
-
dismissAll(): void;
|
|
50
|
-
/**
|
|
51
|
-
* Finds an open drawer by its id.
|
|
52
|
-
* @param id ID to use when looking up the drawer.
|
|
53
|
-
*/
|
|
54
|
-
getDrawerById(id: string): MtxDrawerRef<any> | undefined;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
private _dismissDrawers;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDrawer, never>;
|
|
58
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MtxDrawer>;
|
|
59
|
-
}
|
package/drawer/public-api.d.ts
DELETED
package/grid/cell.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { DoCheck, EventEmitter, KeyValueChangeRecord, OnInit } from '@angular/core';
|
|
2
|
-
import { MtxGridColumn, MtxGridColumnButton } from './interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MtxGridCell implements OnInit, DoCheck {
|
|
5
|
-
private _dialog;
|
|
6
|
-
private _utils;
|
|
7
|
-
private _differs;
|
|
8
|
-
private _changeDetectorRef;
|
|
9
|
-
/** Row data */
|
|
10
|
-
rowData: Record<string, any>;
|
|
11
|
-
/** Column definition */
|
|
12
|
-
colDef: MtxGridColumn;
|
|
13
|
-
/** Table data */
|
|
14
|
-
data: any[];
|
|
15
|
-
/** Whether show summary */
|
|
16
|
-
summary: boolean;
|
|
17
|
-
/** Placeholder for the empty value (`null`, `''`, `[]`) */
|
|
18
|
-
placeholder: string;
|
|
19
|
-
rowDataChange: EventEmitter<KeyValueChangeRecord<string, any>>;
|
|
20
|
-
private rowDataDiffer?;
|
|
21
|
-
rowChangeRecord?: KeyValueChangeRecord<string, any>;
|
|
22
|
-
get _value(): string;
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngDoCheck(): void;
|
|
25
|
-
private _applyChanges;
|
|
26
|
-
_getText(value: any): any;
|
|
27
|
-
_getTooltip(value: any): any;
|
|
28
|
-
_getFormatterTooltip(value: any): any;
|
|
29
|
-
_onActionClick(event: MouseEvent, btn: MtxGridColumnButton, rowData: Record<string, any>): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridCell, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxGridCell, "mtx-grid-cell", ["mtxGridCell"], { "rowData": { "alias": "rowData"; "required": false; }; "colDef": { "alias": "colDef"; "required": false; }; "data": { "alias": "data"; "required": false; }; "summary": { "alias": "summary"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "rowDataChange": "rowDataChange"; }, never, never, true, never>;
|
|
32
|
-
}
|
package/grid/column-menu.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
-
import { ThemePalette } from '@angular/material/core';
|
|
4
|
-
import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
|
|
5
|
-
import { MtxGridButtonType, MtxGridColumn, MtxGridColumnPinOption, MtxGridColumnPinValue } from './interfaces';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MtxGridColumnMenu {
|
|
8
|
-
menuPanel: MatMenu;
|
|
9
|
-
menuTrigger: MatMenuTrigger;
|
|
10
|
-
columns: MtxGridColumn[];
|
|
11
|
-
selectable: boolean;
|
|
12
|
-
selectableChecked: 'show' | 'hide';
|
|
13
|
-
sortable: boolean;
|
|
14
|
-
pinnable: boolean;
|
|
15
|
-
get buttonText(): string;
|
|
16
|
-
set buttonText(value: string);
|
|
17
|
-
private _buttonText;
|
|
18
|
-
buttonType: MtxGridButtonType;
|
|
19
|
-
buttonColor: ThemePalette;
|
|
20
|
-
buttonClass: string;
|
|
21
|
-
buttonIcon: string;
|
|
22
|
-
buttonFontIcon: string;
|
|
23
|
-
buttonSvgIcon: string;
|
|
24
|
-
showHeader: boolean;
|
|
25
|
-
headerText: string;
|
|
26
|
-
headerTemplate: TemplateRef<any>;
|
|
27
|
-
showFooter: boolean;
|
|
28
|
-
footerText: string;
|
|
29
|
-
footerTemplate: TemplateRef<any>;
|
|
30
|
-
columnChange: EventEmitter<MtxGridColumn<any>[]>;
|
|
31
|
-
get pinOptions(): MtxGridColumnPinOption[];
|
|
32
|
-
set pinOptions(value: MtxGridColumnPinOption[]);
|
|
33
|
-
private _pinOptions;
|
|
34
|
-
_handleDroped(e: CdkDragDrop<string[]>): void;
|
|
35
|
-
_handleChecked(col: MtxGridColumn): void;
|
|
36
|
-
_handlePinSelect(col: MtxGridColumn, val: MtxGridColumnPinValue): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridColumnMenu, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxGridColumnMenu, "mtx-grid-column-menu", ["mtxGridColumnMenu"], { "columns": { "alias": "columns"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectableChecked": { "alias": "selectableChecked"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "pinnable": { "alias": "pinnable"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "buttonColor": { "alias": "buttonColor"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "buttonFontIcon": { "alias": "buttonFontIcon"; "required": false; }; "buttonSvgIcon": { "alias": "buttonSvgIcon"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerText": { "alias": "footerText"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "pinOptions": { "alias": "pinOptions"; "required": false; }; }, { "columnChange": "columnChange"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
9
|
-
import { ColumnResizeNotifier, ColumnResizeNotifierSource, HeaderRowEventDispatcher } from '@ng-matero/extensions/column-resize';
|
|
10
|
-
import { AbstractMatColumnResize } from './common';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Explicitly enables column resizing for a flexbox-based mat-table.
|
|
14
|
-
* Individual columns must be annotated specifically.
|
|
15
|
-
*/
|
|
16
|
-
export declare class MatColumnResizeFlex extends AbstractMatColumnResize {
|
|
17
|
-
readonly columnResizeNotifier: ColumnResizeNotifier;
|
|
18
|
-
readonly elementRef: ElementRef<HTMLElement>;
|
|
19
|
-
protected readonly eventDispatcher: HeaderRowEventDispatcher;
|
|
20
|
-
protected readonly ngZone: NgZone;
|
|
21
|
-
protected readonly notifier: ColumnResizeNotifierSource;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatColumnResizeFlex, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatColumnResizeFlex, "mat-table[columnResize]", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
9
|
-
import { ColumnResizeNotifier, ColumnResizeNotifierSource, HeaderRowEventDispatcher } from '@ng-matero/extensions/column-resize';
|
|
10
|
-
import { AbstractMatColumnResize } from './common';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Explicitly enables column resizing for a table-based mat-table.
|
|
14
|
-
* Individual columns must be annotated specifically.
|
|
15
|
-
*/
|
|
16
|
-
export declare class MatColumnResize extends AbstractMatColumnResize {
|
|
17
|
-
readonly columnResizeNotifier: ColumnResizeNotifier;
|
|
18
|
-
readonly elementRef: ElementRef<HTMLElement>;
|
|
19
|
-
protected readonly eventDispatcher: HeaderRowEventDispatcher;
|
|
20
|
-
protected readonly ngZone: NgZone;
|
|
21
|
-
protected readonly notifier: ColumnResizeNotifierSource;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatColumnResize, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatColumnResize, "table[mat-table][columnResize]", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Provider } from '@angular/core';
|
|
2
|
-
import { ColumnResize } from '@ng-matero/extensions/column-resize';
|
|
3
|
-
export declare const TABLE_PROVIDERS: Provider[];
|
|
4
|
-
export declare const FLEX_PROVIDERS: Provider[];
|
|
5
|
-
export declare const TABLE_HOST_BINDINGS: {
|
|
6
|
-
class: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const FLEX_HOST_BINDINGS: {
|
|
9
|
-
class: string;
|
|
10
|
-
};
|
|
11
|
-
export declare abstract class AbstractMatColumnResize extends ColumnResize {
|
|
12
|
-
getTableHeight(): number;
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./overlay-handle";
|
|
3
|
-
import * as i2 from "@angular/material/core";
|
|
4
|
-
import * as i3 from "@angular/cdk/overlay";
|
|
5
|
-
import * as i4 from "./column-resize-directives/column-resize";
|
|
6
|
-
import * as i5 from "./column-resize-directives/column-resize-flex";
|
|
7
|
-
import * as i6 from "./resizable-directives/resizable";
|
|
8
|
-
export declare class MatColumnResizeCommonModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatColumnResizeCommonModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatColumnResizeCommonModule, never, [typeof i1.MatColumnResizeOverlayHandle], [typeof i1.MatColumnResizeOverlayHandle]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatColumnResizeCommonModule>;
|
|
12
|
-
}
|
|
13
|
-
export declare class MatColumnResizeModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatColumnResizeModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatColumnResizeModule, never, [typeof i2.MatCommonModule, typeof i3.OverlayModule, typeof MatColumnResizeCommonModule, typeof i4.MatColumnResize, typeof i5.MatColumnResizeFlex, typeof i6.MatResizable], [typeof i4.MatColumnResize, typeof i5.MatColumnResizeFlex, typeof i6.MatResizable]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatColumnResizeModule>;
|
|
17
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './column-resize-directives/common';
|
|
2
|
-
export * from './column-resize-directives/column-resize';
|
|
3
|
-
export * from './column-resize-directives/column-resize-flex';
|
|
4
|
-
export * from './resizable-directives/common';
|
|
5
|
-
export * from './resizable-directives/resizable';
|
|
6
|
-
export * from './overlay-handle';
|
|
7
|
-
export * from './resize-strategy';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
9
|
-
import { CdkColumnDef, _CoalescedStyleScheduler } from '@angular/cdk/table';
|
|
10
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
11
|
-
import { ColumnResize, ColumnResizeNotifierSource, HeaderRowEventDispatcher, ResizeOverlayHandle, ResizeRef } from '@ng-matero/extensions/column-resize';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Component shown over the edge of a resizable column that is responsible
|
|
15
|
-
* for handling column resize mouse events and displaying a vertical line along the column edge.
|
|
16
|
-
*/
|
|
17
|
-
export declare class MatColumnResizeOverlayHandle extends ResizeOverlayHandle {
|
|
18
|
-
protected readonly columnDef: CdkColumnDef;
|
|
19
|
-
protected readonly columnResize: ColumnResize;
|
|
20
|
-
protected readonly directionality: Directionality;
|
|
21
|
-
protected readonly elementRef: ElementRef<any>;
|
|
22
|
-
protected readonly eventDispatcher: HeaderRowEventDispatcher;
|
|
23
|
-
protected readonly ngZone: NgZone;
|
|
24
|
-
protected readonly resizeNotifier: ColumnResizeNotifierSource;
|
|
25
|
-
protected readonly resizeRef: ResizeRef;
|
|
26
|
-
protected readonly styleScheduler: _CoalescedStyleScheduler;
|
|
27
|
-
protected readonly document: Document;
|
|
28
|
-
topElement: ElementRef<HTMLElement>;
|
|
29
|
-
protected updateResizeActive(active: boolean): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatColumnResizeOverlayHandle, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatColumnResizeOverlayHandle, "ng-component", never, {}, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { Type } from '@angular/core';
|
|
9
|
-
import { Resizable } from '@ng-matero/extensions/column-resize';
|
|
10
|
-
import { MatColumnResizeOverlayHandle } from '../overlay-handle';
|
|
11
|
-
export declare abstract class AbstractMatResizable extends Resizable<MatColumnResizeOverlayHandle> {
|
|
12
|
-
minWidthPxInternal: number;
|
|
13
|
-
protected getInlineHandleCssClassName(): string;
|
|
14
|
-
protected getOverlayHandleComponentType(): Type<MatColumnResizeOverlayHandle>;
|
|
15
|
-
}
|
|
16
|
-
export declare const RESIZABLE_HOST_BINDINGS: {
|
|
17
|
-
class: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const RESIZABLE_INPUTS: string[];
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
-
import { CdkColumnDef, _CoalescedStyleScheduler } from '@angular/cdk/table';
|
|
4
|
-
import { ChangeDetectorRef, ElementRef, Injector, NgZone, ViewContainerRef } from '@angular/core';
|
|
5
|
-
import { ColumnResize, ColumnResizeNotifierSource, HeaderRowEventDispatcher, ResizeStrategy } from '@ng-matero/extensions/column-resize';
|
|
6
|
-
import { AbstractMatResizable } from './common';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Explicitly enables column resizing for a mat-header-cell.
|
|
10
|
-
*/
|
|
11
|
-
export declare class MatResizable extends AbstractMatResizable {
|
|
12
|
-
protected readonly columnDef: CdkColumnDef;
|
|
13
|
-
protected readonly columnResize: ColumnResize;
|
|
14
|
-
protected readonly directionality: Directionality;
|
|
15
|
-
protected readonly elementRef: ElementRef<any>;
|
|
16
|
-
protected readonly eventDispatcher: HeaderRowEventDispatcher;
|
|
17
|
-
protected readonly injector: Injector;
|
|
18
|
-
protected readonly ngZone: NgZone;
|
|
19
|
-
protected readonly overlay: Overlay;
|
|
20
|
-
protected readonly resizeNotifier: ColumnResizeNotifierSource;
|
|
21
|
-
protected readonly resizeStrategy: ResizeStrategy;
|
|
22
|
-
protected readonly styleScheduler: _CoalescedStyleScheduler;
|
|
23
|
-
protected readonly viewContainerRef: ViewContainerRef;
|
|
24
|
-
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
25
|
-
protected readonly document: Document;
|
|
26
|
-
isResizable: boolean;
|
|
27
|
-
get resizableClass(): string;
|
|
28
|
-
get resizable(): any;
|
|
29
|
-
set resizable(newValue: any);
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatResizable, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatResizable, "mat-header-cell[resizable], th[mat-header-cell][resizable]", never, { "minWidthPx": { "alias": "matResizableMinWidthPx"; "required": false; }; "maxWidthPx": { "alias": "matResizableMaxWidthPx"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
-
}
|