@ng-matero/extensions 16.3.2 → 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 +26 -13
- package/alert/_alert-theme.scss +54 -24
- package/alert/alert-module.d.ts +3 -3
- package/alert/alert.d.ts +4 -7
- package/alert/alert.scss +3 -3
- package/button/_button-theme.scss +6 -4
- package/button/button-loading.d.ts +5 -10
- package/button/button-module.d.ts +5 -5
- package/checkbox-group/checkbox-group-module.d.ts +6 -6
- package/checkbox-group/checkbox-group.d.ts +5 -10
- package/colorpicker/_colorpicker-theme.scss +62 -34
- package/colorpicker/colorpicker-input.d.ts +2 -4
- package/colorpicker/colorpicker-module.d.ts +10 -10
- package/colorpicker/colorpicker-toggle.d.ts +4 -5
- package/colorpicker/colorpicker.d.ts +8 -9
- 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 +7 -18
- package/core/datetime/datetime.module.d.ts +4 -1
- package/core/density/_all-density.scss +17 -25
- 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/style/_sass-utils.scss +13 -1
- package/core/theming/_all-theme.scss +32 -17
- package/core/tokens/_token-utils.scss +4 -5
- package/core/tokens/m2/mdc/_plain-tooltip.scss +21 -29
- package/core/tokens/m2/mtx/_alert.scss +14 -15
- package/core/tokens/m2/mtx/_colorpicker.scss +8 -11
- package/core/tokens/m2/mtx/_datetimepicker.scss +38 -47
- package/core/tokens/m2/mtx/_drawer.scss +9 -10
- package/core/tokens/m2/mtx/_grid.scss +23 -22
- package/core/tokens/m2/mtx/_loader.scss +6 -6
- package/core/tokens/m2/mtx/_popover.scss +10 -11
- package/core/tokens/m2/mtx/_progress.scss +18 -17
- package/core/tokens/m2/mtx/_select.scss +23 -24
- package/core/tokens/m2/mtx/_split.scss +8 -11
- package/core/typography/_all-typography.scss +40 -0
- package/core/typography/_typography.scss +1 -579
- package/datetimepicker/_datetimepicker-theme.scss +75 -48
- package/datetimepicker/calendar-body.d.ts +1 -1
- package/datetimepicker/calendar.d.ts +8 -15
- package/datetimepicker/calendar.scss +16 -4
- package/datetimepicker/clock.d.ts +2 -3
- package/datetimepicker/datetimepicker-content.scss +3 -3
- package/datetimepicker/datetimepicker-input.d.ts +2 -3
- package/datetimepicker/datetimepicker-module.d.ts +16 -16
- package/datetimepicker/datetimepicker-toggle.d.ts +4 -5
- package/datetimepicker/datetimepicker.d.ts +16 -27
- package/datetimepicker/month-view.d.ts +2 -2
- package/datetimepicker/multi-year-view.d.ts +2 -2
- package/datetimepicker/time.d.ts +6 -8
- package/datetimepicker/time.scss +2 -2
- package/datetimepicker/year-view.d.ts +2 -2
- package/dialog/dialog-container.d.ts +1 -1
- package/dialog/dialog-module.d.ts +7 -7
- package/drawer/_drawer-theme.scss +55 -22
- package/drawer/drawer-container.d.ts +1 -1
- package/drawer/drawer-container.scss +25 -4
- package/drawer/drawer-module.d.ts +5 -5
- package/esm2022/alert/alert-module.mjs +6 -7
- package/esm2022/alert/alert.mjs +11 -18
- package/esm2022/button/button-loading.mjs +13 -23
- package/esm2022/button/button-module.mjs +6 -7
- package/esm2022/checkbox-group/checkbox-group-module.mjs +6 -7
- package/esm2022/checkbox-group/checkbox-group.mjs +19 -31
- package/esm2022/colorpicker/colorpicker-input.mjs +14 -14
- package/esm2022/colorpicker/colorpicker-module.mjs +20 -19
- package/esm2022/colorpicker/colorpicker-toggle.mjs +19 -18
- package/esm2022/colorpicker/colorpicker.mjs +46 -44
- package/esm2022/column-resize/column-resize-directives/column-resize-flex.mjs +6 -5
- package/esm2022/column-resize/column-resize-directives/column-resize.mjs +6 -5
- package/esm2022/column-resize/column-resize-module.mjs +6 -6
- package/esm2022/column-resize/column-resize-notifier.mjs +7 -7
- 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 +5 -5
- 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 +14 -14
- 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 +6 -6
- 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 -6
- package/esm2022/datetimepicker/calendar.mjs +38 -48
- package/esm2022/datetimepicker/clock.mjs +11 -11
- package/esm2022/datetimepicker/datetimepicker-errors.mjs +4 -3
- package/esm2022/datetimepicker/datetimepicker-input.mjs +14 -14
- package/esm2022/datetimepicker/datetimepicker-intl.mjs +3 -3
- package/esm2022/datetimepicker/datetimepicker-module.mjs +28 -11
- package/esm2022/datetimepicker/datetimepicker-toggle.mjs +19 -18
- package/esm2022/datetimepicker/datetimepicker.mjs +70 -89
- package/esm2022/datetimepicker/month-view.mjs +8 -10
- package/esm2022/datetimepicker/multi-year-view.mjs +10 -11
- package/esm2022/datetimepicker/time.mjs +19 -24
- package/esm2022/datetimepicker/year-view.mjs +10 -11
- package/esm2022/dialog/dialog-container.mjs +21 -12
- package/esm2022/dialog/dialog-module.mjs +23 -7
- package/esm2022/dialog/dialog.mjs +7 -6
- package/esm2022/drawer/drawer-container.mjs +7 -8
- package/esm2022/drawer/drawer-module.mjs +6 -7
- package/esm2022/drawer/drawer-ref.mjs +1 -1
- package/esm2022/drawer/drawer.mjs +8 -7
- package/esm2022/grid/cell.mjs +36 -14
- package/esm2022/grid/column-menu.mjs +31 -15
- package/esm2022/grid/column-resize/column-resize-directives/column-resize-flex.mjs +6 -5
- package/esm2022/grid/column-resize/column-resize-directives/column-resize.mjs +6 -5
- 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 +7 -6
- package/esm2022/grid/column-resize/resizable-directives/resizable.mjs +7 -6
- package/esm2022/grid/column-resize/resize-strategy.mjs +5 -5
- package/esm2022/grid/expansion-toggle.mjs +6 -5
- package/esm2022/grid/grid-module.mjs +39 -37
- package/esm2022/grid/grid-pipes.mjs +30 -30
- package/esm2022/grid/grid-utils.mjs +7 -6
- package/esm2022/grid/grid.mjs +175 -111
- package/esm2022/loader/loader-module.mjs +6 -7
- package/esm2022/loader/loader.mjs +17 -29
- package/esm2022/photoviewer/photoviewer-module.mjs +6 -7
- package/esm2022/photoviewer/photoviewer.mjs +8 -7
- package/esm2022/popover/popover-content.mjs +10 -9
- package/esm2022/popover/popover-module.mjs +22 -7
- package/esm2022/popover/popover-target.mjs +6 -5
- package/esm2022/popover/popover-trigger.mjs +15 -8
- package/esm2022/popover/popover.mjs +54 -139
- package/esm2022/progress/progress-module.mjs +6 -7
- package/esm2022/progress/progress.mjs +15 -26
- package/esm2022/select/option.mjs +12 -17
- package/esm2022/select/select-module.mjs +20 -9
- package/esm2022/select/select.mjs +19 -19
- package/esm2022/select/templates.mjs +56 -56
- package/esm2022/split/split-module.mjs +6 -7
- package/esm2022/split/split-pane.mjs +6 -5
- package/esm2022/split/split.mjs +8 -8
- package/esm2022/split/utils.mjs +1 -1
- package/esm2022/tooltip/tooltip-module.mjs +24 -7
- package/esm2022/tooltip/tooltip.mjs +104 -117
- package/fesm2022/mtxAlert.mjs +15 -23
- package/fesm2022/mtxAlert.mjs.map +1 -1
- package/fesm2022/mtxButton.mjs +17 -28
- package/fesm2022/mtxButton.mjs.map +1 -1
- package/fesm2022/mtxCheckboxGroup.mjs +22 -37
- package/fesm2022/mtxCheckboxGroup.mjs.map +1 -1
- package/fesm2022/mtxColorpicker.mjs +479 -474
- package/fesm2022/mtxColorpicker.mjs.map +1 -1
- package/fesm2022/mtxColumnResize.mjs +51 -49
- package/fesm2022/mtxColumnResize.mjs.map +1 -1
- package/fesm2022/mtxCore.mjs +36 -41
- package/fesm2022/mtxCore.mjs.map +1 -1
- package/fesm2022/mtxDatetimepicker.mjs +898 -905
- package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2022/mtxDialog.mjs +47 -25
- package/fesm2022/mtxDialog.mjs.map +1 -1
- package/fesm2022/mtxDrawer.mjs +20 -21
- package/fesm2022/mtxDrawer.mjs.map +1 -1
- package/fesm2022/mtxGrid.mjs +330 -229
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/fesm2022/mtxLoader.mjs +21 -36
- package/fesm2022/mtxLoader.mjs.map +1 -1
- package/fesm2022/mtxPhotoviewer.mjs +12 -12
- package/fesm2022/mtxPhotoviewer.mjs.map +1 -1
- package/fesm2022/mtxPopover.mjs +103 -165
- package/fesm2022/mtxPopover.mjs.map +1 -1
- package/fesm2022/mtxProgress.mjs +19 -32
- package/fesm2022/mtxProgress.mjs.map +1 -1
- package/fesm2022/mtxSelect.mjs +99 -93
- package/fesm2022/mtxSelect.mjs.map +1 -1
- package/fesm2022/mtxSplit.mjs +17 -18
- package/fesm2022/mtxSplit.mjs.map +1 -1
- package/fesm2022/mtxTooltip.mjs +128 -125
- package/fesm2022/mtxTooltip.mjs.map +1 -1
- package/grid/_grid-theme.scss +58 -29
- 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 +57 -25
- package/grid/grid.scss +8 -1
- package/loader/_loader-theme.scss +55 -22
- package/loader/loader-module.d.ts +5 -5
- package/loader/loader.d.ts +5 -10
- package/loader/loader.scss +1 -1
- package/package.json +13 -19
- package/photoviewer/photoviewer-module.d.ts +1 -1
- package/photoviewer/photoviewer.d.ts +2 -1
- package/popover/_popover-theme.scss +55 -22
- 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 +24 -55
- package/popover/popover.scss +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-theme.scss +60 -22
- package/progress/progress-module.d.ts +3 -3
- package/progress/progress.d.ts +5 -10
- package/progress/progress.scss +3 -3
- package/select/_select-theme.scss +66 -34
- package/select/option.d.ts +3 -6
- package/select/select-module.d.ts +7 -7
- package/select/select.d.ts +2 -4
- package/select/select.scss +109 -109
- package/select/templates.d.ts +11 -11
- package/split/_split-theme.scss +62 -32
- package/split/split-module.d.ts +4 -4
- package/split/split-pane.d.ts +1 -1
- package/split/split.d.ts +1 -1
- package/split/split.scss +2 -4
- package/tooltip/_tooltip-theme.scss +66 -34
- package/tooltip/tooltip-module.d.ts +7 -7
- package/tooltip/tooltip.d.ts +30 -44
- package/tooltip/tooltip.scss +2 -4
- package/_theming.scss +0 -16
- package/alert/_alert-theme.import.scss +0 -2
- package/button/_button-theme.import.scss +0 -2
- package/colorpicker/_colorpicker-theme.import.scss +0 -2
- package/core/density/_compatibility.scss +0 -74
- package/core/mdc-helpers/_mdc-helpers.scss +0 -242
- package/core/style/_elevation.scss +0 -91
- package/core/style/_private.scss +0 -32
- package/core/style/_variables.scss +0 -44
- package/core/style/_vendor-prefixes.scss +0 -46
- package/core/theming/_palette.scss +0 -746
- package/core/theming/_theming.scss +0 -497
- package/core/typography/_typography-utils.scss +0 -101
- package/datetimepicker/_datetimepicker-theme.import.scss +0 -4
- package/drawer/_drawer-theme.import.scss +0 -2
- package/grid/_grid-theme.import.scss +0 -2
- package/loader/_loader-theme.import.scss +0 -2
- package/popover/_popover-theme.import.scss +0 -2
- package/progress/_progress-theme.import.scss +0 -2
- package/select/_select-density.scss +0 -68
- package/select/_select-theme.import.scss +0 -3
- package/split/_split-theme.import.scss +0 -2
- package/tooltip/_tooltip-theme.import.scss +0 -1
package/_index.scss
CHANGED
|
@@ -1,16 +1,29 @@
|
|
|
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
|
-
@forward './core/theming/all-theme' show all-component-themes;
|
|
26
|
+
@forward './core/theming/all-theme' show all-component-themes, all-component-bases;
|
|
15
27
|
@forward './core/color/all-color' show all-component-colors;
|
|
28
|
+
@forward './core/typography/all-typography' show all-component-typographies;
|
|
16
29
|
@forward './core/density/all-density' show all-component-densities;
|
package/alert/_alert-theme.scss
CHANGED
|
@@ -1,39 +1,69 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '../core/style/sass-utils';
|
|
2
|
-
@use '../core/theming/theming';
|
|
3
3
|
@use '../core/tokens/token-utils';
|
|
4
4
|
@use '../core/tokens/m2/mtx/alert' as tokens-mtx-alert;
|
|
5
5
|
|
|
6
|
-
@mixin
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
@mixin base($theme) {
|
|
7
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
8
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme, base));
|
|
9
|
+
}
|
|
10
|
+
@else {
|
|
11
|
+
@include sass-utils.current-selector-or-root() {
|
|
12
|
+
@include token-utils.create-token-values(tokens-mtx-alert.$prefix,
|
|
13
|
+
tokens-mtx-alert.get-unthemable-tokens());
|
|
14
|
+
}
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
|
|
15
|
-
@mixin
|
|
16
|
-
|
|
17
|
-
@
|
|
18
|
+
@mixin color($theme) {
|
|
19
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
20
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme, color));
|
|
21
|
+
}
|
|
22
|
+
@else {
|
|
23
|
+
@include sass-utils.current-selector-or-root() {
|
|
24
|
+
@include token-utils.create-token-values(tokens-mtx-alert.$prefix,
|
|
25
|
+
tokens-mtx-alert.get-color-tokens($theme));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
18
29
|
|
|
19
|
-
@mixin
|
|
20
|
-
|
|
30
|
+
@mixin typography($theme) {
|
|
31
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
32
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme, typography));
|
|
33
|
+
}
|
|
34
|
+
@else {}
|
|
35
|
+
}
|
|
21
36
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
37
|
+
@mixin density($theme) {
|
|
38
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
39
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme, density));
|
|
40
|
+
}
|
|
41
|
+
@else {}
|
|
42
|
+
}
|
|
26
43
|
|
|
27
|
-
|
|
28
|
-
|
|
44
|
+
@mixin theme($theme) {
|
|
45
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-alert') {
|
|
46
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
47
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme));
|
|
29
48
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@
|
|
49
|
+
@else {
|
|
50
|
+
@include base($theme);
|
|
51
|
+
@if mat.theme-has($theme, color) {
|
|
52
|
+
@include color($theme);
|
|
53
|
+
}
|
|
54
|
+
@if mat.theme-has($theme, density) {
|
|
55
|
+
@include density($theme);
|
|
56
|
+
}
|
|
57
|
+
@if mat.theme-has($theme, typography) {
|
|
58
|
+
@include typography($theme);
|
|
59
|
+
}
|
|
33
60
|
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
34
63
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
64
|
+
@mixin _theme-from-tokens($tokens) {
|
|
65
|
+
@if ($tokens != ()) {
|
|
66
|
+
@include token-utils.create-token-values(tokens-mtx-alert.$prefix,
|
|
67
|
+
map.get($tokens, tokens-mtx-alert.$prefix));
|
|
38
68
|
}
|
|
39
69
|
}
|
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
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type MtxAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
5
4
|
export declare class MtxAlert {
|
|
@@ -8,16 +7,14 @@ export declare class MtxAlert {
|
|
|
8
7
|
/** The alert's type. Can be `default`, `info`, `success`, `warning` or `danger`. */
|
|
9
8
|
type: MtxAlertType;
|
|
10
9
|
/** Whether to display an inline close button. */
|
|
11
|
-
|
|
12
|
-
set dismissible(value: boolean);
|
|
13
|
-
private _dismissible;
|
|
10
|
+
dismissible: boolean;
|
|
14
11
|
/** The alert's elevation (0~24). */
|
|
15
12
|
elevation: number;
|
|
16
13
|
/** Event emitted when the alert closed. */
|
|
17
14
|
closed: EventEmitter<MtxAlert>;
|
|
18
15
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
19
16
|
_onClosed(): void;
|
|
20
|
-
static ngAcceptInputType_dismissible: BooleanInput;
|
|
21
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxAlert, never>;
|
|
22
|
-
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
|
+
static ngAcceptInputType_dismissible: unknown;
|
|
23
20
|
}
|
package/alert/alert.scss
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
.mtx-alert {
|
|
5
5
|
position: relative;
|
|
6
6
|
display: block;
|
|
7
|
-
padding:
|
|
8
|
-
margin-bottom:
|
|
7
|
+
padding: 12px 20px;
|
|
8
|
+
margin-bottom: 16px;
|
|
9
9
|
border: 1px solid transparent;
|
|
10
|
-
border-radius: .25rem;
|
|
11
10
|
|
|
12
11
|
@include token-utils.use-tokens(tokens-mtx-alert.$prefix, tokens-mtx-alert.get-token-slots()) {
|
|
12
|
+
@include token-utils.create-token-slot(border-radius, container-shape);
|
|
13
13
|
@include token-utils.create-token-slot(background-color, background-color);
|
|
14
14
|
@include token-utils.create-token-slot(color, text-color);
|
|
15
15
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
@use './button-loading.scss';
|
|
2
2
|
|
|
3
|
-
@mixin
|
|
3
|
+
@mixin base($theme) {}
|
|
4
4
|
|
|
5
|
-
@mixin
|
|
5
|
+
@mixin color($theme) {}
|
|
6
6
|
|
|
7
|
-
@mixin
|
|
7
|
+
@mixin typography($theme) {}
|
|
8
8
|
|
|
9
|
-
@mixin
|
|
9
|
+
@mixin density($theme) {}
|
|
10
|
+
|
|
11
|
+
@mixin theme($theme) {}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementRef, OnChanges, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { ThemePalette } from '@angular/material/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class MatButtonLoading implements OnChanges {
|
|
@@ -7,19 +6,15 @@ export declare class MatButtonLoading implements OnChanges {
|
|
|
7
6
|
private _viewContainerRef;
|
|
8
7
|
private _renderer;
|
|
9
8
|
private spinner;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
private _loading;
|
|
13
|
-
get disabled(): boolean;
|
|
14
|
-
set disabled(value: boolean);
|
|
15
|
-
private _disabled;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
disabled: boolean;
|
|
16
11
|
color: ThemePalette;
|
|
17
12
|
constructor(_elementRef: ElementRef<HTMLButtonElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2);
|
|
18
13
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
14
|
private createSpinner;
|
|
20
15
|
private destroySpinner;
|
|
21
|
-
static ngAcceptInputType_loading: BooleanInput;
|
|
22
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
23
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonLoading, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonLoading, "[mat-button][loading], [mat-raised-button][loading], [mat-stroked-button][loading], [mat-flat-button][loading], [mat-icon-button][loading], [mat-fab][loading], [mat-mini-fab][loading]", never, { "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never,
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonLoading, "[mat-button][loading], [mat-raised-button][loading], [mat-stroked-button][loading], [mat-flat-button][loading], [mat-icon-button][loading], [mat-fab][loading], [mat-mini-fab][loading]", never, { "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
static ngAcceptInputType_loading: unknown;
|
|
19
|
+
static ngAcceptInputType_disabled: unknown;
|
|
25
20
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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/material/
|
|
5
|
-
import * as i4 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/material/button";
|
|
4
|
+
import * as i3 from "@angular/material/progress-spinner";
|
|
5
|
+
import * as i4 from "./button-loading";
|
|
6
6
|
export declare class MtxButtonModule {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxButtonModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxButtonModule, [typeof i1.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxButtonModule, never, [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.MatProgressSpinnerModule, typeof i4.MatButtonLoading], [typeof i4.MatButtonLoading]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtxButtonModule>;
|
|
10
10
|
}
|
|
@@ -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
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
4
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
4
|
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
@@ -21,16 +20,12 @@ export declare class MtxCheckboxGroup implements AfterViewInit, OnDestroy, Contr
|
|
|
21
20
|
private _originalItems;
|
|
22
21
|
bindLabel: string;
|
|
23
22
|
bindValue: string;
|
|
24
|
-
|
|
25
|
-
set showSelectAll(value: boolean);
|
|
26
|
-
private _showSelectAll;
|
|
23
|
+
showSelectAll: boolean;
|
|
27
24
|
selectAllLabel: string;
|
|
28
25
|
get compareWith(): ((o1: any, o2: any) => boolean) | undefined;
|
|
29
26
|
set compareWith(fn: ((o1: any, o2: any) => boolean) | undefined);
|
|
30
27
|
private _compareWith?;
|
|
31
|
-
|
|
32
|
-
set disabled(value: boolean);
|
|
33
|
-
private _disabled;
|
|
28
|
+
disabled: boolean;
|
|
34
29
|
change: EventEmitter<{
|
|
35
30
|
model: MtxCheckboxGroupOption[];
|
|
36
31
|
index: number;
|
|
@@ -76,8 +71,8 @@ export declare class MtxCheckboxGroup implements AfterViewInit, OnDestroy, Contr
|
|
|
76
71
|
_updateNormalCheckboxState(e: MatCheckboxChange, index: number): void;
|
|
77
72
|
/** Handle master checkbox toggle */
|
|
78
73
|
_updateMasterCheckboxState(e: MatCheckboxChange, index: number): void;
|
|
79
|
-
static ngAcceptInputType_showSelectAll: BooleanInput;
|
|
80
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
81
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCheckboxGroup, never>;
|
|
82
|
-
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
|
+
static ngAcceptInputType_showSelectAll: unknown;
|
|
77
|
+
static ngAcceptInputType_disabled: unknown;
|
|
83
78
|
}
|
|
@@ -1,55 +1,83 @@
|
|
|
1
1
|
@use 'sass:color';
|
|
2
2
|
@use 'sass:map';
|
|
3
|
-
@use '
|
|
4
|
-
@use '../core/typography/typography';
|
|
3
|
+
@use '@angular/material' as mat;
|
|
5
4
|
@use '../core/style/sass-utils';
|
|
6
5
|
@use '../core/tokens/token-utils';
|
|
7
6
|
@use '../core/tokens/m2/mtx/colorpicker' as tokens-mtx-colorpicker;
|
|
8
7
|
|
|
9
|
-
@mixin
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
@include sass-utils.current-selector-or-root() {
|
|
14
|
-
@include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix,
|
|
15
|
-
tokens-mtx-colorpicker.get-color-tokens($config));
|
|
8
|
+
@mixin base($theme) {
|
|
9
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
10
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme, base));
|
|
16
11
|
}
|
|
12
|
+
@else {
|
|
13
|
+
@include sass-utils.current-selector-or-root() {
|
|
14
|
+
@include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix,
|
|
15
|
+
tokens-mtx-colorpicker.get-unthemable-tokens());
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
@mixin color($theme) {
|
|
21
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
22
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme, color));
|
|
23
|
+
}
|
|
24
|
+
@else {
|
|
25
|
+
@include sass-utils.current-selector-or-root() {
|
|
26
|
+
@include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix,
|
|
27
|
+
tokens-mtx-colorpicker.get-color-tokens($theme));
|
|
22
28
|
}
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
.mtx-colorpicker-toggle-active {
|
|
31
|
+
&.mat-accent {
|
|
32
|
+
$accent-tokens: tokens-mtx-colorpicker.private-get-toggle-color-palette-color-tokens($theme, accent);
|
|
33
|
+
@include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix, $accent-tokens);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.mat-warn {
|
|
37
|
+
$warn-tokens: tokens-mtx-colorpicker.private-get-toggle-color-palette-color-tokens($theme, warn);
|
|
38
|
+
@include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix, $warn-tokens);
|
|
39
|
+
}
|
|
27
40
|
}
|
|
28
41
|
}
|
|
29
42
|
}
|
|
30
43
|
|
|
31
|
-
@mixin typography($
|
|
32
|
-
|
|
33
|
-
@
|
|
34
|
-
|
|
35
|
-
@
|
|
36
|
-
|
|
44
|
+
@mixin typography($theme) {
|
|
45
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
46
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme, typography));
|
|
47
|
+
}
|
|
48
|
+
@else {}
|
|
49
|
+
}
|
|
37
50
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
@mixin density($theme) {
|
|
52
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
53
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme, density));
|
|
54
|
+
}
|
|
55
|
+
@else {}
|
|
56
|
+
}
|
|
42
57
|
|
|
43
|
-
|
|
44
|
-
|
|
58
|
+
@mixin theme($theme) {
|
|
59
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-colorpicker') {
|
|
60
|
+
@if mat.get-theme-version($theme) == 1 {
|
|
61
|
+
@include _theme-from-tokens(mat.get-theme-tokens($theme));
|
|
45
62
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
@
|
|
63
|
+
@else {
|
|
64
|
+
@include base($theme);
|
|
65
|
+
@if mat.theme-has($theme, color) {
|
|
66
|
+
@include color($theme);
|
|
67
|
+
}
|
|
68
|
+
@if mat.theme-has($theme, density) {
|
|
69
|
+
@include density($theme);
|
|
70
|
+
}
|
|
71
|
+
@if mat.theme-has($theme, typography) {
|
|
72
|
+
@include typography($theme);
|
|
73
|
+
}
|
|
49
74
|
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
50
77
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
78
|
+
@mixin _theme-from-tokens($tokens) {
|
|
79
|
+
@if ($tokens != ()) {
|
|
80
|
+
@include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix,
|
|
81
|
+
map.get($tokens, tokens-mtx-colorpicker.$prefix));
|
|
54
82
|
}
|
|
55
83
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
2
|
import { AbstractControl, ControlValueAccessor, ValidationErrors } from '@angular/forms';
|
|
4
3
|
import { ThemePalette } from '@angular/material/core';
|
|
@@ -85,8 +84,7 @@ export declare class MtxColorpickerInput implements ControlValueAccessor, AfterV
|
|
|
85
84
|
getThemePalette(): ThemePalette;
|
|
86
85
|
/** TODO: Formats a value and sets it on the input element. */
|
|
87
86
|
private _formatValue;
|
|
88
|
-
static ngAcceptInputType_value: any;
|
|
89
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
90
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerInput, [null, { optional: true; }]>;
|
|
91
|
-
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
|
+
static ngAcceptInputType_disabled: unknown;
|
|
92
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
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
3
2
|
import { MatButton } from '@angular/material/button';
|
|
4
3
|
import { MtxColorpicker } from './colorpicker';
|
|
@@ -6,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
6
5
|
/** Can be used to override the icon of a `mtxColorpickerToggle`. */
|
|
7
6
|
export declare class MtxColorpickerToggleIcon {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerToggleIcon, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerToggleIcon, "[mtxColorpickerToggleIcon]", never, {}, {}, never, never,
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerToggleIcon, "[mtxColorpickerToggleIcon]", never, {}, {}, never, never, true, never>;
|
|
10
9
|
}
|
|
11
10
|
export declare class MtxColorpickerToggle implements AfterContentInit, OnChanges, OnDestroy {
|
|
12
11
|
private _changeDetectorRef;
|
|
@@ -33,8 +32,8 @@ export declare class MtxColorpickerToggle implements AfterContentInit, OnChanges
|
|
|
33
32
|
ngAfterContentInit(): void;
|
|
34
33
|
_open(event: Event): void;
|
|
35
34
|
private _watchStateChanges;
|
|
36
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
37
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
38
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerToggle, [null, { attribute: "tabindex"; }]>;
|
|
39
|
-
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
|
+
static ngAcceptInputType_disabled: unknown;
|
|
38
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
40
39
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
-
import {
|
|
3
|
-
import { ScrollStrategy, Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
|
|
4
3
|
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
4
|
import { CanColor, ThemePalette } from '@angular/material/core';
|
|
6
5
|
import { Subject } from 'rxjs';
|
|
7
|
-
import { ColorFormat, MtxColorpickerInput } from './colorpicker-input';
|
|
8
6
|
import { ColorEvent } from 'ngx-color';
|
|
7
|
+
import { ColorFormat, MtxColorpickerInput } from './colorpicker-input';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
/** Injection token that determines the scroll handling while the panel is open. */
|
|
11
10
|
export declare const MTX_COLORPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
@@ -37,7 +36,7 @@ export declare class MtxColorpickerContent extends _MtxColorpickerContentBase im
|
|
|
37
36
|
ngOnDestroy(): void;
|
|
38
37
|
getColorString(e: ColorEvent): string;
|
|
39
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerContent, never>;
|
|
40
|
-
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>;
|
|
41
40
|
}
|
|
42
41
|
export declare class MtxColorpicker implements OnChanges, OnDestroy {
|
|
43
42
|
private _overlay;
|
|
@@ -65,9 +64,7 @@ export declare class MtxColorpicker implements OnChanges, OnDestroy {
|
|
|
65
64
|
* Note that automatic focus restoration is an accessibility feature and it is recommended that
|
|
66
65
|
* you provide your own equivalent, if you decide to turn it off.
|
|
67
66
|
*/
|
|
68
|
-
|
|
69
|
-
set restoreFocus(value: boolean);
|
|
70
|
-
private _restoreFocus;
|
|
67
|
+
restoreFocus: boolean;
|
|
71
68
|
/** Whether the panel is open. */
|
|
72
69
|
get opened(): boolean;
|
|
73
70
|
set opened(value: boolean);
|
|
@@ -126,8 +123,10 @@ export declare class MtxColorpicker implements OnChanges, OnDestroy {
|
|
|
126
123
|
private _setConnectedPositions;
|
|
127
124
|
/** Gets an observable that will emit when the overlay is supposed to be closed. */
|
|
128
125
|
private _getCloseStream;
|
|
129
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
130
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpicker, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
131
|
-
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
|
+
static ngAcceptInputType_disabled: unknown;
|
|
129
|
+
static ngAcceptInputType_restoreFocus: unknown;
|
|
130
|
+
static ngAcceptInputType_opened: unknown;
|
|
132
131
|
}
|
|
133
132
|
export {};
|
|
@@ -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
|
}
|