@ng-matero/extensions 21.1.3 → 21.1.4
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/alert/_m2-alert.scss +10 -5
- package/core/style/_elevation.scss +42 -2
- package/core/theming/_color-api-backwards-compatibility.scss +5 -1
- package/core/theming/_m2-inspection.scss +8 -2
- package/core/tokens/_m3-tokens.scss +7 -3
- package/core/tokens/_system.scss +20 -4
- package/core/tokens/_token-utils.scss +6 -1
- package/core/typography/_versioning.scss +2 -3
- package/fesm2022/mtxAlert.mjs +7 -7
- package/fesm2022/mtxButton.mjs +7 -7
- package/fesm2022/mtxCheckboxGroup.mjs +7 -7
- package/fesm2022/mtxColorpicker.mjs +19 -19
- package/fesm2022/mtxColorpicker.mjs.map +1 -1
- package/fesm2022/mtxColumnResize.mjs +43 -43
- package/fesm2022/mtxCore.mjs +21 -21
- package/fesm2022/mtxDatetimepicker.mjs +58 -58
- package/fesm2022/mtxDialog.mjs +10 -10
- package/fesm2022/mtxDrawer.mjs +10 -10
- package/fesm2022/mtxDrawer.mjs.map +1 -1
- package/fesm2022/mtxGrid.mjs +69 -69
- package/fesm2022/mtxLoader.mjs +7 -7
- package/fesm2022/mtxPhotoviewer.mjs +7 -7
- package/fesm2022/mtxPopover.mjs +19 -19
- package/fesm2022/mtxProgress.mjs +7 -7
- package/fesm2022/mtxSelect.mjs +52 -52
- package/fesm2022/mtxSplit.mjs +10 -10
- package/fesm2022/mtxTooltip.mjs +10 -10
- package/grid/_m2-grid.scss +24 -4
- package/package.json +2 -2
- package/progress/_m2-progress.scss +9 -4
package/alert/_m2-alert.scss
CHANGED
|
@@ -11,29 +11,34 @@
|
|
|
11
11
|
$is-dark: mat.get-theme-type($theme) == dark;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
$hue: 100;
|
|
15
|
+
@if $is-dark {
|
|
16
|
+
$hue: 900;
|
|
17
|
+
}
|
|
18
|
+
|
|
14
19
|
@return (
|
|
15
20
|
base: (
|
|
16
21
|
alert-container-shape: 4px,
|
|
17
22
|
),
|
|
18
23
|
color: (
|
|
19
24
|
alert-outline-color: transparent,
|
|
20
|
-
alert-background-color: mat.m2-get-color-from-palette(mat.$m2-gray-palette,
|
|
25
|
+
alert-background-color: mat.m2-get-color-from-palette(mat.$m2-gray-palette, $hue),
|
|
21
26
|
alert-text-color: map.get($system, on-surface),
|
|
22
27
|
|
|
23
28
|
alert-info-outline-color: transparent,
|
|
24
|
-
alert-info-background-color: mat.m2-get-color-from-palette(mat.$m2-blue-palette,
|
|
29
|
+
alert-info-background-color: mat.m2-get-color-from-palette(mat.$m2-blue-palette, $hue),
|
|
25
30
|
alert-info-text-color: map.get($system, on-surface),
|
|
26
31
|
|
|
27
32
|
alert-success-outline-color: transparent,
|
|
28
|
-
alert-success-background-color: mat.m2-get-color-from-palette(mat.$m2-green-palette,
|
|
33
|
+
alert-success-background-color: mat.m2-get-color-from-palette(mat.$m2-green-palette, $hue),
|
|
29
34
|
alert-success-text-color: map.get($system, on-surface),
|
|
30
35
|
|
|
31
36
|
alert-warning-outline-color: transparent,
|
|
32
|
-
alert-warning-background-color: mat.m2-get-color-from-palette(mat.$m2-amber-palette,
|
|
37
|
+
alert-warning-background-color: mat.m2-get-color-from-palette(mat.$m2-amber-palette, $hue),
|
|
33
38
|
alert-warning-text-color: map.get($system, on-surface),
|
|
34
39
|
|
|
35
40
|
alert-danger-outline-color: transparent,
|
|
36
|
-
alert-danger-background-color: mat.m2-get-color-from-palette(mat.$m2-red-palette,
|
|
41
|
+
alert-danger-background-color: mat.m2-get-color-from-palette(mat.$m2-red-palette, $hue),
|
|
37
42
|
alert-danger-text-color: map.get($system, on-surface),
|
|
38
43
|
),
|
|
39
44
|
typography: (),
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use 'sass:math';
|
|
3
3
|
@use 'sass:meta';
|
|
4
4
|
@use 'sass:string';
|
|
5
|
+
@use '@angular/material' as mat;
|
|
5
6
|
|
|
6
7
|
$_umbra-opacity: 0.2;
|
|
7
8
|
$_penumbra-opacity: 0.14;
|
|
@@ -108,7 +109,13 @@ $_ambient-map: (
|
|
|
108
109
|
// <div id="external-card" class="mat-elevation-z2"><p>Some content</p></div>
|
|
109
110
|
//
|
|
110
111
|
// For an explanation of the design behind how elevation is implemented, see the design doc at
|
|
111
|
-
// https://
|
|
112
|
+
// https://docs.google.com/document/d/1W3NGSLqDZzjbBBLW2C6y_6NUxtvdZAVaJvg58LY3Q0E/edit
|
|
113
|
+
|
|
114
|
+
// The default duration value for elevation transitions.
|
|
115
|
+
$transition-duration: 280ms !default;
|
|
116
|
+
|
|
117
|
+
// The default easing value for elevation transitions.
|
|
118
|
+
$transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !default;
|
|
112
119
|
|
|
113
120
|
// The default color for elevation shadows.
|
|
114
121
|
$color: black !default;
|
|
@@ -136,6 +143,10 @@ $prefix: 'mat-elevation-z';
|
|
|
136
143
|
@return null;
|
|
137
144
|
}
|
|
138
145
|
|
|
146
|
+
@if (mat.private-is-css-var-name($zValue)) {
|
|
147
|
+
@return $zValue;
|
|
148
|
+
}
|
|
149
|
+
|
|
139
150
|
@if meta.type-of($zValue) != number or not math.is-unitless($zValue) {
|
|
140
151
|
@error '$zValue must be a unitless number, but received `#{$zValue}`';
|
|
141
152
|
}
|
|
@@ -147,8 +158,12 @@ $prefix: 'mat-elevation-z';
|
|
|
147
158
|
$umbra-z-value: map.get($_umbra-map, $zValue);
|
|
148
159
|
$penumbra-z-value: map.get($_penumbra-map, $zValue);
|
|
149
160
|
$ambient-z-value: map.get($_ambient-map, $zValue);
|
|
161
|
+
$color-opacity: 1;
|
|
162
|
+
|
|
163
|
+
@if ($opacity != null) {
|
|
164
|
+
$color-opacity: $opacity;
|
|
165
|
+
}
|
|
150
166
|
|
|
151
|
-
$color-opacity: if($opacity != null, $opacity, 1);
|
|
152
167
|
$umbra-color: _compute-color-opacity($shadow-color, $_umbra-opacity * $color-opacity);
|
|
153
168
|
$penumbra-color: _compute-color-opacity($shadow-color, $_penumbra-opacity * $color-opacity);
|
|
154
169
|
$ambient-color: _compute-color-opacity($shadow-color, $_ambient-opacity * $color-opacity);
|
|
@@ -157,6 +172,31 @@ $prefix: 'mat-elevation-z';
|
|
|
157
172
|
'#{$penumbra-color}, #{$ambient-z-value} #{$ambient-color}');
|
|
158
173
|
}
|
|
159
174
|
|
|
175
|
+
// Returns a string that can be used as the value for a transition property for elevation.
|
|
176
|
+
// Calling this function directly is useful in situations where a component needs to transition
|
|
177
|
+
// more than one property.
|
|
178
|
+
//
|
|
179
|
+
// .foo {
|
|
180
|
+
// transition: mat-elevation-transition-property-value(), opacity 100ms ease;
|
|
181
|
+
// }
|
|
182
|
+
@function private-transition-property-value(
|
|
183
|
+
$duration: $transition-duration,
|
|
184
|
+
$easing: $transition-timing-function) {
|
|
185
|
+
@return box-shadow #{$duration} #{$easing};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Applies the correct css rules needed to have an element transition between elevations.
|
|
189
|
+
// This mixin should be applied to elements whose elevation values will change depending on their
|
|
190
|
+
// context (e.g. when active or disabled).
|
|
191
|
+
//
|
|
192
|
+
// NOTE(traviskaufman): Both this mixin and the above function use default parameters so they can
|
|
193
|
+
// be used in the same way by clients.
|
|
194
|
+
@mixin elevation-transition(
|
|
195
|
+
$duration: $transition-duration,
|
|
196
|
+
$easing: $transition-timing-function) {
|
|
197
|
+
transition: private-transition-property-value($duration, $easing);
|
|
198
|
+
}
|
|
199
|
+
|
|
160
200
|
@function _compute-color-opacity($color, $opacity) {
|
|
161
201
|
@if meta.type-of($color) == color and $opacity != null {
|
|
162
202
|
@return rgba($color, $opacity);
|
|
@@ -9,7 +9,11 @@
|
|
|
9
9
|
$_overrides-only: true;
|
|
10
10
|
|
|
11
11
|
@mixin _color-variant-styles($theme, $color-variant) {
|
|
12
|
-
$secondary-when-primary:
|
|
12
|
+
$secondary-when-primary: $color-variant;
|
|
13
|
+
|
|
14
|
+
@if ($color-variant == primary) {
|
|
15
|
+
$secondary-when-primary: secondary;
|
|
16
|
+
}
|
|
13
17
|
|
|
14
18
|
&.mtx-split-gutter {
|
|
15
19
|
@include split-theme.color($theme, $color-variant);
|
|
@@ -47,7 +47,10 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
|
|
|
47
47
|
}
|
|
48
48
|
$internal: map.get($theme, $_internals, m2-config);
|
|
49
49
|
$theme: map.remove($theme, $_internals);
|
|
50
|
-
@
|
|
50
|
+
@if (_is-error-theme($theme)) {
|
|
51
|
+
@return $internal;
|
|
52
|
+
}
|
|
53
|
+
@return $theme;
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
/// Checks whether the given theme contains error values.
|
|
@@ -97,7 +100,10 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
|
|
|
97
100
|
@if theme-has($colors, color) {
|
|
98
101
|
$colors: mat.m2-get-color-config($colors);
|
|
99
102
|
}
|
|
100
|
-
@
|
|
103
|
+
@if (map.get($colors, is-dark)) {
|
|
104
|
+
@return dark;
|
|
105
|
+
}
|
|
106
|
+
@return light;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
/// Gets a color from a theme object. This function can take between 2 and 4 arguments. The first
|
|
@@ -39,9 +39,13 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
@function get-sys-color($type, $palettes, $prefix) {
|
|
42
|
-
$sys-color:
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
$sys-color: null;
|
|
43
|
+
|
|
44
|
+
@if ($type == dark) {
|
|
45
|
+
$sys-color: m3.md-sys-color-values-dark($palettes);
|
|
46
|
+
} @else {
|
|
47
|
+
$sys-color: m3.md-sys-color-values-light($palettes);
|
|
48
|
+
}
|
|
45
49
|
|
|
46
50
|
@if (mat.$private-use-system-color-variables) {
|
|
47
51
|
$var-values: ();
|
package/core/tokens/_system.scss
CHANGED
|
@@ -336,10 +336,14 @@
|
|
|
336
336
|
|
|
337
337
|
$color: map.get($config, color);
|
|
338
338
|
@if (m2-inspection.theme-has($theme-config, color)) {
|
|
339
|
-
$system-colors:
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
339
|
+
$system-colors: null;
|
|
340
|
+
|
|
341
|
+
@if (map.get($color, is-dark)) {
|
|
342
|
+
$system-colors: m2.md-sys-color-values-dark($color);
|
|
343
|
+
} @else {
|
|
344
|
+
$system-colors: m2.md-sys-color-values-light($color);
|
|
345
|
+
}
|
|
346
|
+
|
|
343
347
|
@include _define-m2-system-vars($system-colors, $overrides);
|
|
344
348
|
|
|
345
349
|
$shadow: map.get($theme-config, _mat-system, shadow);
|
|
@@ -360,6 +364,18 @@
|
|
|
360
364
|
|
|
361
365
|
@include _define-m2-system-vars(m2.md-sys-shape-values(), $overrides);
|
|
362
366
|
@include _define-m2-system-vars(m2.md-sys-state-values(), $overrides);
|
|
367
|
+
|
|
368
|
+
// The icon button's color token is set to `inherit` for M2 and intended to display
|
|
369
|
+
// the color inherited from its parent element. This is crucial because it's unknown
|
|
370
|
+
// whether the icon button sits on a container with background like "surface" or "primary",
|
|
371
|
+
// where both may have different contrast colors like white or black.
|
|
372
|
+
// However, variables set to inherit AND define a fallback will always use the fallback,
|
|
373
|
+
// which is "on-surface-variant". This mixin now defines this value.
|
|
374
|
+
// To avoid this, and continue using `inherit` for the icon button color, set the color explicitly
|
|
375
|
+
// to the token without a fallback.
|
|
376
|
+
.mat-mdc-button-base.mat-mdc-icon-button:not(.mat-mdc-button-disabled) {
|
|
377
|
+
color: var(--mat-icon-button-icon-color);
|
|
378
|
+
}
|
|
363
379
|
}
|
|
364
380
|
|
|
365
381
|
@mixin _define-m2-system-vars($vars, $overrides) {
|
|
@@ -90,8 +90,13 @@
|
|
|
90
90
|
|
|
91
91
|
@each $config in $namespace-configs {
|
|
92
92
|
$namespace: map.get($config, namespace);
|
|
93
|
-
$prefix: if(map.has-key($config, prefix), map.get($config, prefix), '');
|
|
94
93
|
$tokens: map.get(map.get($config, tokens), all);
|
|
94
|
+
$prefix: '';
|
|
95
|
+
|
|
96
|
+
@if (map.has-key($config, prefix)) {
|
|
97
|
+
$prefix: map.get($config, prefix);
|
|
98
|
+
}
|
|
99
|
+
|
|
95
100
|
@each $name, $value in $tokens {
|
|
96
101
|
$prefixed-name: $prefix + $name;
|
|
97
102
|
$all-names: list.append($all-names, $prefixed-name, $separator: comma);
|
|
@@ -82,9 +82,8 @@
|
|
|
82
82
|
body-2: map.get($config, body-1),
|
|
83
83
|
button: map.get($config, button),
|
|
84
84
|
caption: map.get($config, caption),
|
|
85
|
-
overline:
|
|
86
|
-
m2-typography.define-typography-level(12px, 32px, 500)
|
|
87
|
-
)
|
|
85
|
+
overline:
|
|
86
|
+
map.get($config, overline) or m2-typography.define-typography-level(12px, 32px, 500),
|
|
88
87
|
);
|
|
89
88
|
}
|
|
90
89
|
@return $config;
|
package/fesm2022/mtxAlert.mjs
CHANGED
|
@@ -22,10 +22,10 @@ class MtxAlert {
|
|
|
22
22
|
this._changeDetectorRef.markForCheck();
|
|
23
23
|
this.closed.emit(this);
|
|
24
24
|
}
|
|
25
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
26
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
25
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxAlert, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: MtxAlert, isStandalone: true, selector: "mtx-alert", inputs: { type: "type", dismissible: ["dismissible", "dismissible", booleanAttribute], elevation: "elevation" }, outputs: { closed: "closed" }, host: { attributes: { "role": "alert" }, properties: { "class": "hostClassList", "class.mtx-alert-dismissible": "dismissible" } }, exportAs: ["mtxAlert"], ngImport: i0, template: "<ng-content></ng-content>\n@if (dismissible) {\n <div class=\"mtx-alert-close\">\n <button matIconButton type=\"button\" aria-label=\"Close\" (click)=\"_onClosed()\">\n <svg viewBox=\"0 0 24 24\" width=\"24px\" height=\"24px\" fill=\"currentColor\" focusable=\"false\">\n <path\n d=\"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z\"\n />\n </svg>\n </button>\n </div>\n}\n", styles: [".mtx-alert{position:relative;display:block;padding:.75rem 1rem;margin-bottom:1rem;line-height:1.5;border:1px solid var(--mtx-alert-outline-color, var(--mat-sys-outline-variant));border-radius:var(--mtx-alert-container-shape, var(--mat-sys-corner-small));background-color:var(--mtx-alert-background-color, var(--mat-sys-surface-container));color:var(--mtx-alert-text-color, var(--mat-sys-on-surface))}.mtx-alert.mtx-alert-info{border-color:var(--mtx-alert-info-outline-color, light-dark(#abc7ff, #005cbb));background-color:var(--mtx-alert-info-background-color, light-dark(#d7e3ff, #002f65));color:var(--mtx-alert-info-text-color, light-dark(#002f65, #d7e3ff))}.mtx-alert.mtx-alert-success{border-color:var(--mtx-alert-success-outline-color, light-dark(#02e600, #026e00));background-color:var(--mtx-alert-success-background-color, light-dark(#cbffb8, #013a00));color:var(--mtx-alert-success-text-color, light-dark(#013a00, #cbffb8))}.mtx-alert.mtx-alert-warning{border-color:var(--mtx-alert-warning-outline-color, light-dark(#cdcd00, #626200));background-color:var(--mtx-alert-warning-background-color, light-dark(#fffeac, #323200));color:var(--mtx-alert-warning-text-color, light-dark(#323200, #fffeac))}.mtx-alert.mtx-alert-danger{border-color:var(--mtx-alert-danger-outline-color, light-dark(#ffb4a8, #c00100));background-color:var(--mtx-alert-danger-background-color, light-dark(#ffdad4, #690100));color:var(--mtx-alert-danger-text-color, light-dark(#690100, #ffdad4))}.mtx-alert-close{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:3rem;height:3rem}[dir=rtl] .mtx-alert-close{right:auto;left:0}.mtx-alert-dismissible{padding-right:3rem}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxAlert, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
30
|
args: [{ selector: 'mtx-alert', exportAs: 'mtxAlert', host: {
|
|
31
31
|
'[class]': 'hostClassList',
|
|
@@ -44,11 +44,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
|
|
|
44
44
|
}] } });
|
|
45
45
|
|
|
46
46
|
class MtxAlertModule {
|
|
47
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
48
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
49
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
47
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
48
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.5", ngImport: i0, type: MtxAlertModule, imports: [CommonModule, MtxAlert], exports: [MtxAlert] }); }
|
|
49
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxAlertModule, imports: [CommonModule, MtxAlert] }); }
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxAlertModule, decorators: [{
|
|
52
52
|
type: NgModule,
|
|
53
53
|
args: [{
|
|
54
54
|
imports: [CommonModule, MtxAlert],
|
package/fesm2022/mtxButton.mjs
CHANGED
|
@@ -53,10 +53,10 @@ class MatButtonLoading {
|
|
|
53
53
|
this.spinner = null;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
57
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.
|
|
56
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MatButtonLoading, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
57
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.5", type: MatButtonLoading, isStandalone: true, selector: "[mat-button][loading], [matButton][loading],\n [mat-raised-button][loading],\n [mat-stroked-button][loading],\n [mat-flat-button][loading],\n [mat-icon-button][loading], [matIconButton][loading],\n [mat-fab][loading], [matFab][loading],\n [mat-mini-fab][loading], [matMiniFab][loading]", inputs: { loading: ["loading", "loading", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], color: "color" }, usesOnChanges: true, ngImport: i0 }); }
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MatButtonLoading, decorators: [{
|
|
60
60
|
type: Directive,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: `[mat-button][loading], [matButton][loading],
|
|
@@ -78,11 +78,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
|
|
|
78
78
|
}] } });
|
|
79
79
|
|
|
80
80
|
class MtxButtonModule {
|
|
81
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
82
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
83
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
81
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
82
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.5", ngImport: i0, type: MtxButtonModule, imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading], exports: [MatButtonLoading] }); }
|
|
83
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxButtonModule, imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule] }); }
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxButtonModule, decorators: [{
|
|
86
86
|
type: NgModule,
|
|
87
87
|
args: [{
|
|
88
88
|
imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading],
|
|
@@ -198,8 +198,8 @@ class MtxCheckboxGroup {
|
|
|
198
198
|
}
|
|
199
199
|
this._getSelectedItems(index);
|
|
200
200
|
}
|
|
201
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
202
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
201
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxCheckboxGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
202
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: MtxCheckboxGroup, isStandalone: true, selector: "mtx-checkbox-group", inputs: { trackBy: "trackBy", items: "items", bindLabel: "bindLabel", bindValue: "bindValue", showSelectAll: ["showSelectAll", "showSelectAll", booleanAttribute], selectAllLabel: "selectAllLabel", compareWith: "compareWith", disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { change: "change" }, host: { classAttribute: "mtx-checkbox-group" }, providers: [
|
|
203
203
|
{
|
|
204
204
|
provide: NG_VALUE_ACCESSOR,
|
|
205
205
|
useExisting: forwardRef((() => MtxCheckboxGroup)),
|
|
@@ -207,7 +207,7 @@ class MtxCheckboxGroup {
|
|
|
207
207
|
},
|
|
208
208
|
], queries: [{ propertyName: "_checkboxes", predicate: i0.forwardRef(() => MatCheckbox), descendants: true }], exportAs: ["mtxCheckboxGroup"], ngImport: i0, template: "@if (showSelectAll) {\n <mat-checkbox\n class=\"mtx-checkbox-master\"\n [checked]=\"selectAll\"\n [(indeterminate)]=\"selectAllIndeterminate\"\n [disabled]=\"disabled\"\n (change)=\"_updateMasterCheckboxState($event, -1)\"\n >\n {{ selectAllLabel }}\n </mat-checkbox>\n}\n\n@for (option of items; track _trackBy(i, option); let i = $index) {\n <mat-checkbox\n class=\"mtx-checkbox-normal\"\n [(ngModel)]=\"option.checked\"\n [ngModelOptions]=\"{ standalone: true }\"\n [aria-describedby]=\"option.ariaDescribedby\"\n [aria-label]=\"option.ariaLabel\"\n [aria-labelledby]=\"option.ariaLabelledby\"\n [color]=\"option.color\"\n [disabled]=\"option.disabled || disabled\"\n [disableRipple]=\"option.disableRipple\"\n [labelPosition]=\"option.labelPosition\"\n [required]=\"option.required\"\n (change)=\"_updateNormalCheckboxState($event, i)\"\n >\n {{ option[bindLabel] | toObservable | async }}\n </mat-checkbox>\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "pipe", type: MtxToObservablePipe, name: "toObservable" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
209
209
|
}
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxCheckboxGroup, decorators: [{
|
|
211
211
|
type: Component,
|
|
212
212
|
args: [{ selector: 'mtx-checkbox-group', exportAs: 'mtxCheckboxGroup', host: {
|
|
213
213
|
class: 'mtx-checkbox-group',
|
|
@@ -244,11 +244,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
|
|
|
244
244
|
}] } });
|
|
245
245
|
|
|
246
246
|
class MtxCheckboxGroupModule {
|
|
247
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
248
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
249
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
247
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxCheckboxGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
248
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.5", ngImport: i0, type: MtxCheckboxGroupModule, imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule, MtxCheckboxGroup], exports: [MtxCheckboxGroup, MtxPipesModule] }); }
|
|
249
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxCheckboxGroupModule, imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule, MtxCheckboxGroup, MtxPipesModule] }); }
|
|
250
250
|
}
|
|
251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxCheckboxGroupModule, decorators: [{
|
|
252
252
|
type: NgModule,
|
|
253
253
|
args: [{
|
|
254
254
|
imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule, MtxCheckboxGroup],
|
|
@@ -79,10 +79,10 @@ class MtxColorpickerContent {
|
|
|
79
79
|
}, 200);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
83
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
82
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
83
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: MtxColorpickerContent, isStandalone: true, selector: "mtx-colorpicker-content", inputs: { color: "color" }, host: { properties: { "class": "color ? \"mat-\" + color : \"\"", "class.mtx-colorpicker-content-animations-enabled": "!_animationsDisabled" }, classAttribute: "mtx-colorpicker-content" }, exportAs: ["mtxColorpickerContent"], ngImport: i0, template: "@if (picker.content) {\n <ng-template [ngTemplateOutlet]=\"picker.content\"></ng-template>\n} @else {\n <color-picker\n [format]=\"picker.format\"\n [value]=\"picker.selected\"\n (valueChange)=\"picker.select($event)\"\n />\n}\n", styles: ["@keyframes _mtx-colorpicker-content-dropdown-enter{0%{opacity:0;transform:scaleY(.8)}to{opacity:1;transform:none}}@keyframes _mtx-colorpicker-content-exit{0%{opacity:1}to{opacity:0}}.mtx-colorpicker-content{display:block;border-radius:4px}.mtx-colorpicker-content.mtx-colorpicker-content-animations-enabled{animation:_mtx-colorpicker-content-dropdown-enter .12s cubic-bezier(0,0,.2,1)}.mtx-colorpicker-content-exit.mtx-colorpicker-content-animations-enabled{animation:_mtx-colorpicker-content-exit .1s linear}\n"], dependencies: [{ kind: "component", type: ColorPicker, selector: "color-picker", inputs: ["format", "value", "hideAlpha", "disabled"], outputs: ["formatChange", "valueChange", "colorChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerContent, decorators: [{
|
|
86
86
|
type: Component,
|
|
87
87
|
args: [{ selector: 'mtx-colorpicker-content', host: {
|
|
88
88
|
'class': 'mtx-colorpicker-content',
|
|
@@ -336,10 +336,10 @@ class MtxColorpicker {
|
|
|
336
336
|
(this.pickerInput && hasModifierKey(event, 'altKey') && event.keyCode === UP_ARROW));
|
|
337
337
|
})));
|
|
338
338
|
}
|
|
339
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
340
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.
|
|
339
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpicker, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
340
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.2.5", type: MtxColorpicker, isStandalone: true, selector: "mtx-colorpicker", inputs: { content: "content", disabled: ["disabled", "disabled", booleanAttribute], xPosition: "xPosition", yPosition: "yPosition", restoreFocus: ["restoreFocus", "restoreFocus", booleanAttribute], opened: ["opened", "opened", booleanAttribute], color: "color", format: "format" }, outputs: { openedStream: "opened", closedStream: "closed" }, exportAs: ["mtxColorpicker"], usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
341
341
|
}
|
|
342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpicker, decorators: [{
|
|
343
343
|
type: Component,
|
|
344
344
|
args: [{
|
|
345
345
|
selector: 'mtx-colorpicker',
|
|
@@ -549,14 +549,14 @@ class MtxColorpickerInput {
|
|
|
549
549
|
_formatValue(value) {
|
|
550
550
|
this._elementRef.nativeElement.value = value ? value : '';
|
|
551
551
|
}
|
|
552
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
553
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.
|
|
552
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
553
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.5", type: MtxColorpickerInput, isStandalone: true, selector: "input[mtxColorpicker]", inputs: { mtxColorpicker: "mtxColorpicker", disabled: ["disabled", "disabled", booleanAttribute], value: "value", format: "format" }, outputs: { colorChange: "colorChange", colorInput: "colorInput" }, host: { listeners: { "input": "_onInput($event)", "change": "_onChange()", "blur": "_onBlur()", "keydown": "_onKeydown($event)" }, properties: { "attr.aria-haspopup": "_picker ? \"dialog\" : null", "attr.aria-owns": "(_picker?.opened && _picker.id) || null", "disabled": "disabled" }, classAttribute: "mtx-colorpicker-input" }, providers: [
|
|
554
554
|
MTX_COLORPICKER_VALUE_ACCESSOR,
|
|
555
555
|
MTX_COLORPICKER_VALIDATORS,
|
|
556
556
|
{ provide: MAT_INPUT_VALUE_ACCESSOR, useExisting: MtxColorpickerInput },
|
|
557
557
|
], exportAs: ["mtxColorpickerInput"], ngImport: i0 }); }
|
|
558
558
|
}
|
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerInput, decorators: [{
|
|
560
560
|
type: Directive,
|
|
561
561
|
args: [{
|
|
562
562
|
selector: 'input[mtxColorpicker]',
|
|
@@ -594,10 +594,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
|
|
|
594
594
|
|
|
595
595
|
/** Can be used to override the icon of a `mtxColorpickerToggle`. */
|
|
596
596
|
class MtxColorpickerToggleIcon {
|
|
597
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
598
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
597
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerToggleIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
598
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.5", type: MtxColorpickerToggleIcon, isStandalone: true, selector: "[mtxColorpickerToggleIcon]", ngImport: i0 }); }
|
|
599
599
|
}
|
|
600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerToggleIcon, decorators: [{
|
|
601
601
|
type: Directive,
|
|
602
602
|
args: [{
|
|
603
603
|
selector: '[mtxColorpickerToggleIcon]',
|
|
@@ -649,10 +649,10 @@ class MtxColorpickerToggle {
|
|
|
649
649
|
this._stateChanges.unsubscribe();
|
|
650
650
|
this._stateChanges = merge(pickerDisabled, inputDisabled, pickerToggled).subscribe(() => this._changeDetectorRef.markForCheck());
|
|
651
651
|
}
|
|
652
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
653
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
652
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerToggle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
653
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: MtxColorpickerToggle, isStandalone: true, selector: "mtx-colorpicker-toggle", inputs: { picker: ["for", "picker"], tabIndex: "tabIndex", ariaLabel: ["aria-label", "ariaLabel"], disabled: ["disabled", "disabled", booleanAttribute], disableRipple: ["disableRipple", "disableRipple", booleanAttribute] }, host: { listeners: { "click": "_open($event)" }, properties: { "attr.tabindex": "null", "class.mtx-colorpicker-toggle-active": "picker && picker.opened", "class.mat-accent": "picker && picker.color === \"accent\"", "class.mat-warn": "picker && picker.color === \"warn\"" }, classAttribute: "mtx-colorpicker-toggle" }, queries: [{ propertyName: "_customIcon", first: true, predicate: MtxColorpickerToggleIcon, descendants: true }], viewQueries: [{ propertyName: "_button", first: true, predicate: ["button"], descendants: true }], exportAs: ["mtxColorpickerToggle"], usesOnChanges: true, ngImport: i0, template: "<button\n #button\n matIconButton\n type=\"button\"\n [attr.aria-haspopup]=\"picker ? 'dialog' : null\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\"\n>\n @if (!_customIcon) {\n <svg\n class=\"mtx-colorpicker-toggle-default-icon\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n height=\"24px\"\n fill=\"currentColor\"\n focusable=\"false\"\n >\n <path\n d=\"M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z\"\n />\n </svg>\n }\n\n <ng-content select=\"[mtxColorpickerToggleIcon]\"></ng-content>\n</button>\n", styles: [".mtx-colorpicker-toggle{pointer-events:auto;color:var(--mtx-colorpicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mtx-colorpicker-toggle-active{color:var(--mtx-colorpicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors:active){.mtx-colorpicker-toggle-default-icon{color:CanvasText}}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
654
654
|
}
|
|
655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerToggle, decorators: [{
|
|
656
656
|
type: Component,
|
|
657
657
|
args: [{ selector: 'mtx-colorpicker-toggle', host: {
|
|
658
658
|
'class': 'mtx-colorpicker-toggle',
|
|
@@ -688,8 +688,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
|
|
|
688
688
|
}] } });
|
|
689
689
|
|
|
690
690
|
class MtxColorpickerModule {
|
|
691
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
692
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
691
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
692
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerModule, imports: [CommonModule,
|
|
693
693
|
OverlayModule,
|
|
694
694
|
A11yModule,
|
|
695
695
|
PortalModule,
|
|
@@ -704,7 +704,7 @@ class MtxColorpickerModule {
|
|
|
704
704
|
MtxColorpickerInput,
|
|
705
705
|
MtxColorpickerToggle,
|
|
706
706
|
MtxColorpickerToggleIcon] }); }
|
|
707
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
707
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerModule, imports: [CommonModule,
|
|
708
708
|
OverlayModule,
|
|
709
709
|
A11yModule,
|
|
710
710
|
PortalModule,
|
|
@@ -713,7 +713,7 @@ class MtxColorpickerModule {
|
|
|
713
713
|
MtxColorpickerToggle,
|
|
714
714
|
ColorPicker] }); }
|
|
715
715
|
}
|
|
716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: MtxColorpickerModule, decorators: [{
|
|
717
717
|
type: NgModule,
|
|
718
718
|
args: [{
|
|
719
719
|
imports: [
|