cmat 0.0.117 → 0.0.119
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/fesm2022/cmat-components-adapter.mjs +9 -9
- package/fesm2022/cmat-components-breadcrumb.mjs +10 -9
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +6 -6
- package/fesm2022/cmat-components-card.mjs.map +1 -1
- package/fesm2022/cmat-components-carousel.mjs +16 -16
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +1 -863
- package/fesm2022/cmat-components-chip-input.mjs +11 -11
- package/fesm2022/cmat-components-code-editor.mjs +3 -3
- package/fesm2022/cmat-components-color-picker.mjs +45 -45
- package/fesm2022/cmat-components-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-custom-formly.mjs +214 -214
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-data-picker.mjs +43 -40
- package/fesm2022/cmat-components-data-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-date-range.mjs +15 -16
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-date-time-display.mjs +4 -4
- package/fesm2022/cmat-components-drawer.mjs +9 -9
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-empty-state.mjs +4 -4
- package/fesm2022/cmat-components-file-preview.mjs +4 -4
- package/fesm2022/cmat-components-filter-toolbar.mjs +12 -13
- package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-form-actions.mjs +6 -6
- package/fesm2022/cmat-components-fullscreen.mjs +4 -4
- package/fesm2022/cmat-components-highlight.mjs +7 -7
- package/fesm2022/cmat-components-image-viewer.mjs +7 -7
- package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
- package/fesm2022/cmat-components-inline-loading.mjs +3 -3
- package/fesm2022/cmat-components-json-editor.mjs +7 -7
- package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-knob-input.mjs +6 -6
- package/fesm2022/cmat-components-loading-overlay.mjs +5 -5
- package/fesm2022/cmat-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/cmat-components-masonry.mjs +4 -4
- package/fesm2022/cmat-components-material-color-picker.mjs +1 -337
- package/fesm2022/cmat-components-material-datetimepicker.mjs +1 -4312
- package/fesm2022/cmat-components-navigation.mjs +1 -3081
- package/fesm2022/cmat-components-opt-input.mjs +1 -542
- package/fesm2022/cmat-components-org-chart.mjs +1 -529
- package/fesm2022/cmat-components-page-header.mjs +4 -4
- package/fesm2022/cmat-components-pagination.mjs +21 -21
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +1 -880
- package/fesm2022/cmat-components-popover.mjs +1 -1022
- package/fesm2022/cmat-components-progress-bar.mjs +4 -4
- package/fesm2022/cmat-components-qrcode.mjs +3 -3
- package/fesm2022/cmat-components-rating.mjs +8 -8
- package/fesm2022/cmat-components-rich-text-editor.mjs +3 -3
- package/fesm2022/cmat-components-select-search.mjs +1 -930
- package/fesm2022/cmat-components-select-table.mjs +39 -39
- package/fesm2022/cmat-components-select-table.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +28 -27
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-skeleton.mjs +5 -5
- package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +12 -12
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-status-tag.mjs +6 -6
- package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
- package/fesm2022/cmat-components-table-toolbar.mjs +4 -4
- package/fesm2022/cmat-components-timeline.mjs +19 -19
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +14 -14
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +48 -49
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs +8 -8
- package/fesm2022/cmat-components-upload.mjs +17 -17
- package/fesm2022/cmat-components-x6-angular-shape.mjs +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +1 -221
- package/fesm2022/cmat-directives-arrow-cursor.mjs +3 -3
- package/fesm2022/cmat-directives-autofocus.mjs +3 -3
- package/fesm2022/cmat-directives-data-exporter.mjs +1 -544
- package/fesm2022/cmat-directives-debounce.mjs +1 -163
- package/fesm2022/cmat-directives-digit-only.mjs +6 -6
- package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +3 -3
- package/fesm2022/cmat-lib-mock-api.mjs +8 -8
- package/fesm2022/cmat-pipes-bytes.mjs +3 -3
- package/fesm2022/cmat-pipes-date-format.mjs +3 -3
- package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
- package/fesm2022/cmat-pipes-group-by.mjs +3 -3
- package/fesm2022/cmat-pipes-keys.mjs +3 -3
- package/fesm2022/cmat-pipes-secure.mjs +6 -6
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-reports.mjs +86 -80
- package/fesm2022/cmat-reports.mjs.map +1 -1
- package/fesm2022/cmat-services-alert.mjs +4 -4
- package/fesm2022/cmat-services-config.mjs +6 -6
- package/fesm2022/cmat-services-confirmation.mjs +1 -185
- package/fesm2022/cmat-services-data.mjs +5 -5
- package/fesm2022/cmat-services-export-as.mjs +4 -4
- package/fesm2022/cmat-services-loading.mjs +6 -6
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-media-watcher.mjs +4 -4
- package/fesm2022/cmat-services-platform.mjs +4 -4
- package/fesm2022/cmat-services-print.mjs +3 -3
- package/fesm2022/cmat-services-splash-screen.mjs +4 -4
- package/fesm2022/cmat-services-title.mjs +6 -6
- package/fesm2022/cmat-services-translation.mjs +4 -4
- package/fesm2022/cmat-services-utils.mjs +7 -7
- package/fesm2022/cmat.mjs +77 -39579
- package/fesm2022/public-api-BE83BHd7.mjs +930 -0
- package/fesm2022/public-api-BE83BHd7.mjs.map +1 -0
- package/fesm2022/public-api-BcmOSkgf.mjs +542 -0
- package/fesm2022/public-api-BcmOSkgf.mjs.map +1 -0
- package/fesm2022/public-api-BmMqKDzm.mjs +4312 -0
- package/fesm2022/public-api-BmMqKDzm.mjs.map +1 -0
- package/fesm2022/public-api-BnRFazGR.mjs +221 -0
- package/fesm2022/public-api-BnRFazGR.mjs.map +1 -0
- package/fesm2022/public-api-C9N9rKkB.mjs +185 -0
- package/fesm2022/public-api-C9N9rKkB.mjs.map +1 -0
- package/fesm2022/public-api-CXmCX9ZQ.mjs +863 -0
- package/fesm2022/public-api-CXmCX9ZQ.mjs.map +1 -0
- package/fesm2022/public-api-CfILyvuV.mjs +880 -0
- package/fesm2022/public-api-CfILyvuV.mjs.map +1 -0
- package/fesm2022/public-api-CgtBw-7O.mjs +163 -0
- package/fesm2022/public-api-CgtBw-7O.mjs.map +1 -0
- package/fesm2022/public-api-DEtzrfqy.mjs +544 -0
- package/fesm2022/public-api-DEtzrfqy.mjs.map +1 -0
- package/fesm2022/public-api-EK51WC1y.mjs +1022 -0
- package/fesm2022/public-api-EK51WC1y.mjs.map +1 -0
- package/fesm2022/public-api-IpTsAgZ4.mjs +3081 -0
- package/fesm2022/public-api-IpTsAgZ4.mjs.map +1 -0
- package/fesm2022/public-api-iRaKIVmd.mjs +338 -0
- package/fesm2022/public-api-iRaKIVmd.mjs.map +1 -0
- package/fesm2022/public-api-nzzDLiDj.mjs +529 -0
- package/fesm2022/public-api-nzzDLiDj.mjs.map +1 -0
- package/fesm2022/{cmat-quill-docx-exporter-D9Eo73Wq.mjs → quill-docx-exporter-D9Eo73Wq.mjs} +1 -1
- package/fesm2022/quill-docx-exporter-D9Eo73Wq.mjs.map +1 -0
- package/package.json +23 -22
- package/types/cmat-components-breadcrumb.d.ts +1 -1
- package/types/cmat-components-chip-input.d.ts +3 -3
- package/types/cmat-components-custom-formly.d.ts +2 -857
- package/types/cmat-components-data-picker.d.ts +12 -6
- package/types/cmat-components-date-range.d.ts +1 -1
- package/types/cmat-components-drawer.d.ts +1 -1
- package/types/cmat-components-form-actions.d.ts +1 -1
- package/types/cmat-components-knob-input.d.ts +1 -1
- package/types/cmat-components-masonry.d.ts +2 -1
- package/types/cmat-components-material-color-picker.d.ts +1 -1
- package/types/cmat-components-material-datetimepicker.d.ts +2 -836
- package/types/cmat-components-navigation.d.ts +1 -1
- package/types/cmat-components-opt-input.d.ts +2 -113
- package/types/cmat-components-org-chart.d.ts +1 -1
- package/types/cmat-components-page-header.d.ts +1 -1
- package/types/cmat-components-password-strength.d.ts +2 -201
- package/types/cmat-components-popover.d.ts +2 -270
- package/types/cmat-components-qrcode.d.ts +2 -113
- package/types/cmat-components-rating.d.ts +1 -1
- package/types/cmat-components-rich-text-editor.d.ts +1 -1
- package/types/cmat-components-select-search.d.ts +2 -200
- package/types/cmat-components-select-table.d.ts +3 -3
- package/types/cmat-components-select-tree.d.ts +6 -5
- package/types/cmat-components-status-tag.d.ts +2 -2
- package/types/cmat-components-toast.d.ts +2 -1
- package/types/cmat-components-transfer-picker.d.ts +2 -2
- package/types/cmat-components-upload.d.ts +1 -1
- package/types/cmat-components-x6-angular-shape.d.ts +1 -1
- package/types/cmat-directives-data-exporter.d.ts +1 -1
- package/types/cmat-directives-debounce.d.ts +2 -34
- package/types/cmat-directives-equal-validator.d.ts +1 -1
- package/types/cmat-directives-seamless-auto-scroll.d.ts +1 -1
- package/types/cmat-lib-mock-api.d.ts +3 -2
- package/types/cmat-pipes-secure.d.ts +1 -1
- package/types/cmat-reports.d.ts +6 -6
- package/types/cmat-services-alert.d.ts +1 -1
- package/types/cmat-services-confirmation.d.ts +2 -36
- package/types/cmat-services-data.d.ts +1 -1
- package/types/cmat-services-export-as.d.ts +1 -1
- package/types/cmat-services-loading.d.ts +1 -1
- package/types/cmat-services-translation.d.ts +1 -1
- package/types/cmat-services-utils.d.ts +2 -2
- package/types/cmat.d.ts +78 -7676
- package/types/public-api-BFGGDRK3.d.ts +201 -0
- package/types/public-api-BXS379ev.d.ts +202 -0
- package/types/public-api-C4CvABGO.d.ts +114 -0
- package/types/public-api-CSYz4G5Z.d.ts +271 -0
- package/types/public-api-NSrmlKKH.d.ts +114 -0
- package/types/public-api-PfNpHSSm.d.ts +837 -0
- package/types/public-api-f3WtygQS.d.ts +35 -0
- package/types/public-api-nBuSXSMJ.d.ts +858 -0
- package/types/public-api-yYeZrUAV.d.ts +37 -0
- package/fesm2022/cmat-components-cascade.mjs.map +0 -1
- package/fesm2022/cmat-components-custom-formly-quill-docx-exporter-BwwGX2Ie.mjs +0 -294
- package/fesm2022/cmat-components-custom-formly-quill-docx-exporter-BwwGX2Ie.mjs.map +0 -1
- package/fesm2022/cmat-components-material-color-picker.mjs.map +0 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +0 -1
- package/fesm2022/cmat-components-navigation.mjs.map +0 -1
- package/fesm2022/cmat-components-opt-input.mjs.map +0 -1
- package/fesm2022/cmat-components-org-chart.mjs.map +0 -1
- package/fesm2022/cmat-components-password-strength.mjs.map +0 -1
- package/fesm2022/cmat-components-popover.mjs.map +0 -1
- package/fesm2022/cmat-components-select-search.mjs.map +0 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +0 -1
- package/fesm2022/cmat-directives-data-exporter.mjs.map +0 -1
- package/fesm2022/cmat-directives-debounce.mjs.map +0 -1
- package/fesm2022/cmat-quill-docx-exporter-D9Eo73Wq.mjs.map +0 -1
- package/fesm2022/cmat-services-confirmation.mjs.map +0 -1
- package/fesm2022/cmat.mjs.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { coerceBooleanProperty } from "@angular/cdk/coercion";
|
|
2
|
-
import { COMMA, ENTER } from "@angular/cdk/keycodes";
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
import { ChangeDetectionStrategy, Component, DestroyRef, Input, ViewEncapsulation, computed, inject, input, signal, viewChild } from "@angular/core";
|
|
5
3
|
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
4
|
+
import { coerceBooleanProperty } from "@angular/cdk/coercion";
|
|
5
|
+
import * as i4 from "@angular/material/icon";
|
|
6
|
+
import { MatIconModule } from "@angular/material/icon";
|
|
6
7
|
import * as i5 from "@angular/forms";
|
|
7
8
|
import { FormControl, NgControl, ReactiveFormsModule } from "@angular/forms";
|
|
9
|
+
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
10
|
+
import * as i2 from "@angular/material/input";
|
|
11
|
+
import { MatInputModule } from "@angular/material/input";
|
|
12
|
+
import { Subject, filter } from "rxjs";
|
|
13
|
+
import { COMMA, ENTER } from "@angular/cdk/keycodes";
|
|
8
14
|
import * as i3 from "@angular/material/autocomplete";
|
|
9
15
|
import { MatAutocompleteModule } from "@angular/material/autocomplete";
|
|
10
16
|
import * as i1 from "@angular/material/chips";
|
|
11
17
|
import { MatChipsModule } from "@angular/material/chips";
|
|
12
|
-
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
13
|
-
import * as i4 from "@angular/material/icon";
|
|
14
|
-
import { MatIconModule } from "@angular/material/icon";
|
|
15
|
-
import * as i2 from "@angular/material/input";
|
|
16
|
-
import { MatInputModule } from "@angular/material/input";
|
|
17
18
|
import { isArray, isEmpty, isNil } from "lodash-es";
|
|
18
|
-
import { Subject, filter } from "rxjs";
|
|
19
19
|
let NEXT_ID = 0;
|
|
20
20
|
var CmatChipInputComponent = class CmatChipInputComponent {
|
|
21
21
|
constructor() {
|
|
@@ -231,7 +231,7 @@ var CmatChipInputComponent = class CmatChipInputComponent {
|
|
|
231
231
|
static {
|
|
232
232
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
233
233
|
minVersion: "12.0.0",
|
|
234
|
-
version: "22.
|
|
234
|
+
version: "22.3.0",
|
|
235
235
|
ngImport: i0,
|
|
236
236
|
type: CmatChipInputComponent,
|
|
237
237
|
deps: [],
|
|
@@ -241,7 +241,7 @@ var CmatChipInputComponent = class CmatChipInputComponent {
|
|
|
241
241
|
static {
|
|
242
242
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
243
243
|
minVersion: "17.0.0",
|
|
244
|
-
version: "22.
|
|
244
|
+
version: "22.3.0",
|
|
245
245
|
type: CmatChipInputComponent,
|
|
246
246
|
isStandalone: true,
|
|
247
247
|
selector: "cmat-chip-input",
|
|
@@ -504,7 +504,7 @@ var CmatChipInputComponent = class CmatChipInputComponent {
|
|
|
504
504
|
};
|
|
505
505
|
i0.ɵɵngDeclareClassMetadata({
|
|
506
506
|
minVersion: "12.0.0",
|
|
507
|
-
version: "22.
|
|
507
|
+
version: "22.3.0",
|
|
508
508
|
ngImport: i0,
|
|
509
509
|
type: CmatChipInputComponent,
|
|
510
510
|
decorators: [{
|
|
@@ -68,7 +68,7 @@ var CmatCodeEditorComponent = class CmatCodeEditorComponent {
|
|
|
68
68
|
static {
|
|
69
69
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
70
70
|
minVersion: "12.0.0",
|
|
71
|
-
version: "22.
|
|
71
|
+
version: "22.3.0",
|
|
72
72
|
ngImport: i0,
|
|
73
73
|
type: CmatCodeEditorComponent,
|
|
74
74
|
deps: [],
|
|
@@ -78,7 +78,7 @@ var CmatCodeEditorComponent = class CmatCodeEditorComponent {
|
|
|
78
78
|
static {
|
|
79
79
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
80
80
|
minVersion: "17.0.0",
|
|
81
|
-
version: "22.
|
|
81
|
+
version: "22.3.0",
|
|
82
82
|
type: CmatCodeEditorComponent,
|
|
83
83
|
isStandalone: true,
|
|
84
84
|
selector: "cmat-code-editor",
|
|
@@ -130,7 +130,7 @@ var CmatCodeEditorComponent = class CmatCodeEditorComponent {
|
|
|
130
130
|
};
|
|
131
131
|
i0.ɵɵngDeclareClassMetadataAsync({
|
|
132
132
|
minVersion: "18.0.0",
|
|
133
|
-
version: "22.
|
|
133
|
+
version: "22.3.0",
|
|
134
134
|
ngImport: i0,
|
|
135
135
|
type: CmatCodeEditorComponent,
|
|
136
136
|
resolveDeferredDeps: () => [import("ngx-monaco-editor-v2").then((m) => m.EditorComponent)],
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { DOCUMENT, NgClass, NgStyle } from "@angular/common";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { ChangeDetectionStrategy, Component, Directive, ElementRef, ViewEncapsulation, effect, forwardRef, inject, input, model, output, signal, untracked } from "@angular/core";
|
|
3
|
+
import { DOCUMENT as DOCUMENT$1, NgClass, NgStyle } from "@angular/common";
|
|
4
|
+
import { CdkConnectedOverlay, CdkOverlayOrigin } from "@angular/cdk/overlay";
|
|
4
5
|
import * as i1 from "@angular/forms";
|
|
5
6
|
import { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule } from "@angular/forms";
|
|
6
|
-
import { TinyColor } from "@ctrl/tinycolor";
|
|
7
|
-
import { CdkConnectedOverlay, CdkOverlayOrigin } from "@angular/cdk/overlay";
|
|
8
7
|
import * as i2 from "@angular/material/input";
|
|
9
8
|
import { MatInputModule } from "@angular/material/input";
|
|
9
|
+
import { TinyColor } from "@ctrl/tinycolor";
|
|
10
10
|
var CmatColorCoordinates = class CmatColorCoordinates {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.percentX = input(0, ...ngDevMode ? [{ debugName: "percentX" }] : /* istanbul ignore next */ []);
|
|
13
13
|
this.percentY = input(0, ...ngDevMode ? [{ debugName: "percentY" }] : /* istanbul ignore next */ []);
|
|
14
14
|
this.coordinatesChange = output();
|
|
15
|
-
this._document = inject(DOCUMENT);
|
|
15
|
+
this._document = inject(DOCUMENT$1);
|
|
16
16
|
this._el = inject(ElementRef);
|
|
17
17
|
this.onDrag = (e) => {
|
|
18
18
|
e.preventDefault();
|
|
@@ -101,7 +101,7 @@ var CmatColorCoordinates = class CmatColorCoordinates {
|
|
|
101
101
|
static {
|
|
102
102
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
103
103
|
minVersion: "12.0.0",
|
|
104
|
-
version: "22.
|
|
104
|
+
version: "22.3.0",
|
|
105
105
|
ngImport: i0,
|
|
106
106
|
type: CmatColorCoordinates,
|
|
107
107
|
deps: [],
|
|
@@ -111,7 +111,7 @@ var CmatColorCoordinates = class CmatColorCoordinates {
|
|
|
111
111
|
static {
|
|
112
112
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
113
113
|
minVersion: "17.1.0",
|
|
114
|
-
version: "22.
|
|
114
|
+
version: "22.3.0",
|
|
115
115
|
type: CmatColorCoordinates,
|
|
116
116
|
isStandalone: true,
|
|
117
117
|
selector: "[cmat-color-coordinates], [cmatColorCoordinates]",
|
|
@@ -142,7 +142,7 @@ var CmatColorCoordinates = class CmatColorCoordinates {
|
|
|
142
142
|
};
|
|
143
143
|
i0.ɵɵngDeclareClassMetadata({
|
|
144
144
|
minVersion: "12.0.0",
|
|
145
|
-
version: "22.
|
|
145
|
+
version: "22.3.0",
|
|
146
146
|
ngImport: i0,
|
|
147
147
|
type: CmatColorCoordinates,
|
|
148
148
|
decorators: [{
|
|
@@ -225,7 +225,7 @@ var CmatColorAlphaSlider = class CmatColorAlphaSlider {
|
|
|
225
225
|
static {
|
|
226
226
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
227
227
|
minVersion: "12.0.0",
|
|
228
|
-
version: "22.
|
|
228
|
+
version: "22.3.0",
|
|
229
229
|
ngImport: i0,
|
|
230
230
|
type: CmatColorAlphaSlider,
|
|
231
231
|
deps: [],
|
|
@@ -235,7 +235,7 @@ var CmatColorAlphaSlider = class CmatColorAlphaSlider {
|
|
|
235
235
|
static {
|
|
236
236
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
237
237
|
minVersion: "17.1.0",
|
|
238
|
-
version: "22.
|
|
238
|
+
version: "22.3.0",
|
|
239
239
|
type: CmatColorAlphaSlider,
|
|
240
240
|
isStandalone: true,
|
|
241
241
|
selector: "cmat-color-alpha-slider",
|
|
@@ -265,7 +265,7 @@ var CmatColorAlphaSlider = class CmatColorAlphaSlider {
|
|
|
265
265
|
},
|
|
266
266
|
ngImport: i0,
|
|
267
267
|
template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div class=\"cmat-color-alpha-slider-track\" cmatColorCoordinates [style.background-image]=\"gradient()\" [percentX]=\"posX()\"\r\n [percentY]=\"posY()\" (coordinatesChange)=\"handleChange($event)\">\r\n <div class=\"cmat-color-alpha-slider-pointer\" [style.left.%]=\"posX()\" [style.top.%]=\"posY()\">\r\n <button class=\"cmat-color-alpha-slider-thumb\" type=\"button\">\r\n <!-- -->\r\n </button>\r\n </div>\r\n</div>",
|
|
268
|
-
styles: [".cmat-color-alpha-slider{position:relative;display:block;width:var(--cp-slider-width,
|
|
268
|
+
styles: [".cmat-color-alpha-slider{position:relative;display:block;width:var(--cp-slider-width,auto);height:var(--cp-slider-height,10px);border-radius:var(--cp-slider-shape,2px);background-color:#fff;background-image:conic-gradient(#0000 25%,#ccc 0 50%,#0000 0 75%,#ccc 0);background-size:10px 10px}.cmat-color-alpha-slider.cmat-color-alpha-vertical{width:var(--cp-slider-width,10px);height:var(--cp-slider-height,auto)}.cmat-color-alpha-slider-track{position:relative;width:100%;height:100%;border-radius:var(--cp-slider-shape,2px);touch-action:none}.cmat-color-alpha-slider-pointer{position:absolute}.cmat-color-alpha-slider-thumb{display:block;width:var(--cp-slider-thumb-width,12px);height:var(--cp-slider-thumb-height,12px);padding:0;border:none;border-radius:var(--cp-slider-thumb-shape,6px);transform:translate(-50%,calc((var(--cp-slider-thumb-height,12px) - var(--cp-slider-height,10px)) / -2));background-color:var(--cp-slider-thumb-background-color,#f2f2f2);outline:1px solid var(--cp-slider-thumb-outline-color,#0000000a);box-shadow:var(--cp-slider-thumb-shadow,0 1px 4px 0 #00000052,0 2px 8px 0 #00000029)}.cmat-color-alpha-slider-thumb:focus-visible{outline-color:var(--cp-slider-thumb-focus-outline-color,var(--cp-input-focus-outline-color,#0d99ff))}.cmat-color-alpha-vertical .cmat-color-alpha-slider-thumb{transform:translate(calc((var(--cp-slider-thumb-width,12px) - var(--cp-slider-width,10px)) / -2),-50%)}\n"],
|
|
269
269
|
dependencies: [{
|
|
270
270
|
kind: "directive",
|
|
271
271
|
type: CmatColorCoordinates,
|
|
@@ -280,7 +280,7 @@ var CmatColorAlphaSlider = class CmatColorAlphaSlider {
|
|
|
280
280
|
};
|
|
281
281
|
i0.ɵɵngDeclareClassMetadata({
|
|
282
282
|
minVersion: "12.0.0",
|
|
283
|
-
version: "22.
|
|
283
|
+
version: "22.3.0",
|
|
284
284
|
ngImport: i0,
|
|
285
285
|
type: CmatColorAlphaSlider,
|
|
286
286
|
decorators: [{
|
|
@@ -296,7 +296,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
296
296
|
encapsulation: ViewEncapsulation.None,
|
|
297
297
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
298
298
|
template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div class=\"cmat-color-alpha-slider-track\" cmatColorCoordinates [style.background-image]=\"gradient()\" [percentX]=\"posX()\"\r\n [percentY]=\"posY()\" (coordinatesChange)=\"handleChange($event)\">\r\n <div class=\"cmat-color-alpha-slider-pointer\" [style.left.%]=\"posX()\" [style.top.%]=\"posY()\">\r\n <button class=\"cmat-color-alpha-slider-thumb\" type=\"button\">\r\n <!-- -->\r\n </button>\r\n </div>\r\n</div>",
|
|
299
|
-
styles: [".cmat-color-alpha-slider{position:relative;display:block;width:var(--cp-slider-width,
|
|
299
|
+
styles: [".cmat-color-alpha-slider{position:relative;display:block;width:var(--cp-slider-width,auto);height:var(--cp-slider-height,10px);border-radius:var(--cp-slider-shape,2px);background-color:#fff;background-image:conic-gradient(#0000 25%,#ccc 0 50%,#0000 0 75%,#ccc 0);background-size:10px 10px}.cmat-color-alpha-slider.cmat-color-alpha-vertical{width:var(--cp-slider-width,10px);height:var(--cp-slider-height,auto)}.cmat-color-alpha-slider-track{position:relative;width:100%;height:100%;border-radius:var(--cp-slider-shape,2px);touch-action:none}.cmat-color-alpha-slider-pointer{position:absolute}.cmat-color-alpha-slider-thumb{display:block;width:var(--cp-slider-thumb-width,12px);height:var(--cp-slider-thumb-height,12px);padding:0;border:none;border-radius:var(--cp-slider-thumb-shape,6px);transform:translate(-50%,calc((var(--cp-slider-thumb-height,12px) - var(--cp-slider-height,10px)) / -2));background-color:var(--cp-slider-thumb-background-color,#f2f2f2);outline:1px solid var(--cp-slider-thumb-outline-color,#0000000a);box-shadow:var(--cp-slider-thumb-shadow,0 1px 4px 0 #00000052,0 2px 8px 0 #00000029)}.cmat-color-alpha-slider-thumb:focus-visible{outline-color:var(--cp-slider-thumb-focus-outline-color,var(--cp-input-focus-outline-color,#0d99ff))}.cmat-color-alpha-vertical .cmat-color-alpha-slider-thumb{transform:translate(calc((var(--cp-slider-thumb-width,12px) - var(--cp-slider-width,10px)) / -2),-50%)}\n"]
|
|
300
300
|
}]
|
|
301
301
|
}],
|
|
302
302
|
ctorParameters: () => [],
|
|
@@ -363,7 +363,7 @@ var CmatColorHueSlider = class CmatColorHueSlider {
|
|
|
363
363
|
static {
|
|
364
364
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
365
365
|
minVersion: "12.0.0",
|
|
366
|
-
version: "22.
|
|
366
|
+
version: "22.3.0",
|
|
367
367
|
ngImport: i0,
|
|
368
368
|
type: CmatColorHueSlider,
|
|
369
369
|
deps: [],
|
|
@@ -373,7 +373,7 @@ var CmatColorHueSlider = class CmatColorHueSlider {
|
|
|
373
373
|
static {
|
|
374
374
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
375
375
|
minVersion: "17.1.0",
|
|
376
|
-
version: "22.
|
|
376
|
+
version: "22.3.0",
|
|
377
377
|
type: CmatColorHueSlider,
|
|
378
378
|
isStandalone: true,
|
|
379
379
|
selector: "cmat-color-hue-slider",
|
|
@@ -403,7 +403,7 @@ var CmatColorHueSlider = class CmatColorHueSlider {
|
|
|
403
403
|
},
|
|
404
404
|
ngImport: i0,
|
|
405
405
|
template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div class=\"cmat-color-hue-slider-track\" cmatColorCoordinates [percentX]=\"posX()\" [percentY]=\"posY()\"\r\n (coordinatesChange)=\"handleChange($event)\">\r\n <div class=\"cmat-color-hue-slider-pointer\" [style.left.%]=\"posX()\" [style.top.%]=\"posY()\">\r\n <button class=\"cmat-color-hue-slider-thumb\" type=\"button\">\r\n <!-- -->\r\n </button>\r\n </div>\r\n</div>",
|
|
406
|
-
styles: [".cmat-color-hue-slider{position:relative;display:block;width:var(--cp-slider-width,
|
|
406
|
+
styles: [".cmat-color-hue-slider{position:relative;display:block;width:var(--cp-slider-width,auto);height:var(--cp-slider-height,10px);border-radius:var(--cp-slider-shape,2px);background-image:linear-gradient(90deg,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.cmat-color-hue-slider.cmat-color-hue-vertical{width:var(--cp-slider-width,10px);height:var(--cp-slider-height,auto);background-image:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.cmat-color-hue-slider-track{position:relative;width:100%;height:100%;border-radius:var(--cp-slider-shape,2px);touch-action:none}.cmat-color-hue-slider-pointer{position:absolute}.cmat-color-hue-slider-thumb{display:block;width:var(--cp-slider-thumb-width,12px);height:var(--cp-slider-thumb-height,12px);padding:0;border:none;border-radius:var(--cp-slider-thumb-shape,6px);transform:translate(-50%,calc((var(--cp-slider-thumb-height,12px) - var(--cp-slider-height,10px)) / -2));background-color:var(--cp-slider-thumb-background-color,#f2f2f2);outline:1px solid var(--cp-slider-thumb-outline-color,#0000000a);box-shadow:var(--cp-slider-thumb-shadow,0 1px 4px 0 #00000052,0 2px 8px 0 #00000029)}.cmat-color-hue-slider-thumb:focus-visible{outline-color:var(--cp-slider-thumb-focus-outline-color,var(--cp-input-focus-outline-color,#0d99ff))}.cmat-color-hue-vertical .cmat-color-hue-slider-thumb{transform:translate(calc((var(--cp-slider-thumb-width,12px) - var(--cp-slider-width,10px)) / -2),-50%)}\n"],
|
|
407
407
|
dependencies: [{
|
|
408
408
|
kind: "directive",
|
|
409
409
|
type: CmatColorCoordinates,
|
|
@@ -418,7 +418,7 @@ var CmatColorHueSlider = class CmatColorHueSlider {
|
|
|
418
418
|
};
|
|
419
419
|
i0.ɵɵngDeclareClassMetadata({
|
|
420
420
|
minVersion: "12.0.0",
|
|
421
|
-
version: "22.
|
|
421
|
+
version: "22.3.0",
|
|
422
422
|
ngImport: i0,
|
|
423
423
|
type: CmatColorHueSlider,
|
|
424
424
|
decorators: [{
|
|
@@ -434,7 +434,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
434
434
|
encapsulation: ViewEncapsulation.None,
|
|
435
435
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
436
436
|
template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div class=\"cmat-color-hue-slider-track\" cmatColorCoordinates [percentX]=\"posX()\" [percentY]=\"posY()\"\r\n (coordinatesChange)=\"handleChange($event)\">\r\n <div class=\"cmat-color-hue-slider-pointer\" [style.left.%]=\"posX()\" [style.top.%]=\"posY()\">\r\n <button class=\"cmat-color-hue-slider-thumb\" type=\"button\">\r\n <!-- -->\r\n </button>\r\n </div>\r\n</div>",
|
|
437
|
-
styles: [".cmat-color-hue-slider{position:relative;display:block;width:var(--cp-slider-width,
|
|
437
|
+
styles: [".cmat-color-hue-slider{position:relative;display:block;width:var(--cp-slider-width,auto);height:var(--cp-slider-height,10px);border-radius:var(--cp-slider-shape,2px);background-image:linear-gradient(90deg,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.cmat-color-hue-slider.cmat-color-hue-vertical{width:var(--cp-slider-width,10px);height:var(--cp-slider-height,auto);background-image:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.cmat-color-hue-slider-track{position:relative;width:100%;height:100%;border-radius:var(--cp-slider-shape,2px);touch-action:none}.cmat-color-hue-slider-pointer{position:absolute}.cmat-color-hue-slider-thumb{display:block;width:var(--cp-slider-thumb-width,12px);height:var(--cp-slider-thumb-height,12px);padding:0;border:none;border-radius:var(--cp-slider-thumb-shape,6px);transform:translate(-50%,calc((var(--cp-slider-thumb-height,12px) - var(--cp-slider-height,10px)) / -2));background-color:var(--cp-slider-thumb-background-color,#f2f2f2);outline:1px solid var(--cp-slider-thumb-outline-color,#0000000a);box-shadow:var(--cp-slider-thumb-shadow,0 1px 4px 0 #00000052,0 2px 8px 0 #00000029)}.cmat-color-hue-slider-thumb:focus-visible{outline-color:var(--cp-slider-thumb-focus-outline-color,var(--cp-input-focus-outline-color,#0d99ff))}.cmat-color-hue-vertical .cmat-color-hue-slider-thumb{transform:translate(calc((var(--cp-slider-thumb-width,12px) - var(--cp-slider-width,10px)) / -2),-50%)}\n"]
|
|
438
438
|
}]
|
|
439
439
|
}],
|
|
440
440
|
ctorParameters: () => [],
|
|
@@ -465,7 +465,7 @@ var CmatColorIconButton = class CmatColorIconButton {
|
|
|
465
465
|
static {
|
|
466
466
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
467
467
|
minVersion: "12.0.0",
|
|
468
|
-
version: "22.
|
|
468
|
+
version: "22.3.0",
|
|
469
469
|
ngImport: i0,
|
|
470
470
|
type: CmatColorIconButton,
|
|
471
471
|
deps: [],
|
|
@@ -475,7 +475,7 @@ var CmatColorIconButton = class CmatColorIconButton {
|
|
|
475
475
|
static {
|
|
476
476
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
477
477
|
minVersion: "14.0.0",
|
|
478
|
-
version: "22.
|
|
478
|
+
version: "22.3.0",
|
|
479
479
|
type: CmatColorIconButton,
|
|
480
480
|
isStandalone: true,
|
|
481
481
|
selector: "cmat-color-icon-button",
|
|
@@ -485,7 +485,7 @@ var CmatColorIconButton = class CmatColorIconButton {
|
|
|
485
485
|
<ng-content />
|
|
486
486
|
`,
|
|
487
487
|
isInline: true,
|
|
488
|
-
styles: [".cmat-color-icon-button{display:inline-block;width:24px;height:24px}.cmat-color-icon-button button{width:100%;height:100%;padding:2px;color:var(--cp-icon-button-text-color,
|
|
488
|
+
styles: [".cmat-color-icon-button{display:inline-block;width:24px;height:24px}.cmat-color-icon-button button{width:100%;height:100%;padding:2px;color:var(--cp-icon-button-text-color,inherit);background-color:var(--cp-icon-button-background-color,#0000);border:none;border-radius:var(--cp-icon-button-shape,4px)}.cmat-color-icon-button button:hover{background-color:var(--cp-icon-button-hover-background-color,#0000000f)}.cmat-color-icon-button button:active{background-color:var(--cp-icon-button-active-background-color,#0000001f)}.cmat-color-icon-button button:focus-visible{background-color:var(--cp-icon-button-focus-background-color,#0000);outline:1px solid var(--cp-icon-button-focus-outline-color,#0d99ff);outline-offset:-1px}\n"],
|
|
489
489
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
490
490
|
encapsulation: i0.ViewEncapsulation.None
|
|
491
491
|
});
|
|
@@ -493,7 +493,7 @@ var CmatColorIconButton = class CmatColorIconButton {
|
|
|
493
493
|
};
|
|
494
494
|
i0.ɵɵngDeclareClassMetadata({
|
|
495
495
|
minVersion: "12.0.0",
|
|
496
|
-
version: "22.
|
|
496
|
+
version: "22.3.0",
|
|
497
497
|
ngImport: i0,
|
|
498
498
|
type: CmatColorIconButton,
|
|
499
499
|
decorators: [{
|
|
@@ -507,7 +507,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
507
507
|
host: { class: "cmat-color-icon-button" },
|
|
508
508
|
encapsulation: ViewEncapsulation.None,
|
|
509
509
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
510
|
-
styles: [".cmat-color-icon-button{display:inline-block;width:24px;height:24px}.cmat-color-icon-button button{width:100%;height:100%;padding:2px;color:var(--cp-icon-button-text-color,
|
|
510
|
+
styles: [".cmat-color-icon-button{display:inline-block;width:24px;height:24px}.cmat-color-icon-button button{width:100%;height:100%;padding:2px;color:var(--cp-icon-button-text-color,inherit);background-color:var(--cp-icon-button-background-color,#0000);border:none;border-radius:var(--cp-icon-button-shape,4px)}.cmat-color-icon-button button:hover{background-color:var(--cp-icon-button-hover-background-color,#0000000f)}.cmat-color-icon-button button:active{background-color:var(--cp-icon-button-active-background-color,#0000001f)}.cmat-color-icon-button button:focus-visible{background-color:var(--cp-icon-button-focus-background-color,#0000);outline:1px solid var(--cp-icon-button-focus-outline-color,#0d99ff);outline-offset:-1px}\n"]
|
|
511
511
|
}]
|
|
512
512
|
}]
|
|
513
513
|
});
|
|
@@ -569,7 +569,7 @@ var CmatColorInputField = class CmatColorInputField {
|
|
|
569
569
|
static {
|
|
570
570
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
571
571
|
minVersion: "12.0.0",
|
|
572
|
-
version: "22.
|
|
572
|
+
version: "22.3.0",
|
|
573
573
|
ngImport: i0,
|
|
574
574
|
type: CmatColorInputField,
|
|
575
575
|
deps: [],
|
|
@@ -579,7 +579,7 @@ var CmatColorInputField = class CmatColorInputField {
|
|
|
579
579
|
static {
|
|
580
580
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
581
581
|
minVersion: "17.0.0",
|
|
582
|
-
version: "22.
|
|
582
|
+
version: "22.3.0",
|
|
583
583
|
type: CmatColorInputField,
|
|
584
584
|
isStandalone: true,
|
|
585
585
|
selector: "cmat-color-input-field",
|
|
@@ -617,7 +617,7 @@ var CmatColorInputField = class CmatColorInputField {
|
|
|
617
617
|
host: { classAttribute: "cmat-color-input-field" },
|
|
618
618
|
ngImport: i0,
|
|
619
619
|
template: "<input spellCheck=\"false\" [value]=\"currentValue()\" [placeholder]=\"placeholder()\" [attr.aria-labelledby]=\"uniqueId\"\r\n (keydown)=\"handleKeydown($event)\" (keyup)=\"handleKeyup($event)\" (focus)=\"handleFocus($event)\"\r\n (focusout)=\"handleFocusOut($event)\" />\r\n@if (label()) {\r\n<span [id]=\"uniqueId\">{{ label() }}</span>\r\n}",
|
|
620
|
-
styles: [".cmat-color-input-field{font-size:11px;text-align:center}.cmat-color-input-field input{box-sizing:border-box;width:100%;height:24px;border:none;border-radius:var(--cp-input-shape,
|
|
620
|
+
styles: [".cmat-color-input-field{font-size:11px;text-align:center}.cmat-color-input-field input{box-sizing:border-box;width:100%;height:24px;border:none;border-radius:var(--cp-input-shape,4px);background-color:var(--cp-input-background-color,#0000);outline:1px solid var(--cp-input-outline-color,#e6e6e6);font-family:var(--cp-input-text-font,monospace);font-size:inherit;text-align:inherit}.cmat-color-input-field input:hover{outline-color:var(--cp-input-hover-outline-color,#d6d6d6)}.cmat-color-input-field input:focus{outline-color:var(--cp-input-focus-outline-color,#0d99ff)}.cmat-color-input-field span{display:block;margin-top:8px;color:#969696;text-transform:uppercase}\n"],
|
|
621
621
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
622
622
|
encapsulation: i0.ViewEncapsulation.None
|
|
623
623
|
});
|
|
@@ -625,7 +625,7 @@ var CmatColorInputField = class CmatColorInputField {
|
|
|
625
625
|
};
|
|
626
626
|
i0.ɵɵngDeclareClassMetadata({
|
|
627
627
|
minVersion: "12.0.0",
|
|
628
|
-
version: "22.
|
|
628
|
+
version: "22.3.0",
|
|
629
629
|
ngImport: i0,
|
|
630
630
|
type: CmatColorInputField,
|
|
631
631
|
decorators: [{
|
|
@@ -636,7 +636,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
636
636
|
encapsulation: ViewEncapsulation.None,
|
|
637
637
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
638
638
|
template: "<input spellCheck=\"false\" [value]=\"currentValue()\" [placeholder]=\"placeholder()\" [attr.aria-labelledby]=\"uniqueId\"\r\n (keydown)=\"handleKeydown($event)\" (keyup)=\"handleKeyup($event)\" (focus)=\"handleFocus($event)\"\r\n (focusout)=\"handleFocusOut($event)\" />\r\n@if (label()) {\r\n<span [id]=\"uniqueId\">{{ label() }}</span>\r\n}",
|
|
639
|
-
styles: [".cmat-color-input-field{font-size:11px;text-align:center}.cmat-color-input-field input{box-sizing:border-box;width:100%;height:24px;border:none;border-radius:var(--cp-input-shape,
|
|
639
|
+
styles: [".cmat-color-input-field{font-size:11px;text-align:center}.cmat-color-input-field input{box-sizing:border-box;width:100%;height:24px;border:none;border-radius:var(--cp-input-shape,4px);background-color:var(--cp-input-background-color,#0000);outline:1px solid var(--cp-input-outline-color,#e6e6e6);font-family:var(--cp-input-text-font,monospace);font-size:inherit;text-align:inherit}.cmat-color-input-field input:hover{outline-color:var(--cp-input-hover-outline-color,#d6d6d6)}.cmat-color-input-field input:focus{outline-color:var(--cp-input-focus-outline-color,#0d99ff)}.cmat-color-input-field span{display:block;margin-top:8px;color:#969696;text-transform:uppercase}\n"]
|
|
640
640
|
}]
|
|
641
641
|
}],
|
|
642
642
|
ctorParameters: () => [],
|
|
@@ -865,7 +865,7 @@ var CmatColorInputFields = class CmatColorInputFields {
|
|
|
865
865
|
static {
|
|
866
866
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
867
867
|
minVersion: "12.0.0",
|
|
868
|
-
version: "22.
|
|
868
|
+
version: "22.3.0",
|
|
869
869
|
ngImport: i0,
|
|
870
870
|
type: CmatColorInputFields,
|
|
871
871
|
deps: [],
|
|
@@ -875,7 +875,7 @@ var CmatColorInputFields = class CmatColorInputFields {
|
|
|
875
875
|
static {
|
|
876
876
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
877
877
|
minVersion: "17.0.0",
|
|
878
|
-
version: "22.
|
|
878
|
+
version: "22.3.0",
|
|
879
879
|
type: CmatColorInputFields,
|
|
880
880
|
isStandalone: true,
|
|
881
881
|
selector: "cmat-color-input-fields",
|
|
@@ -934,7 +934,7 @@ var CmatColorInputFields = class CmatColorInputFields {
|
|
|
934
934
|
};
|
|
935
935
|
i0.ɵɵngDeclareClassMetadata({
|
|
936
936
|
minVersion: "12.0.0",
|
|
937
|
-
version: "22.
|
|
937
|
+
version: "22.3.0",
|
|
938
938
|
ngImport: i0,
|
|
939
939
|
type: CmatColorInputFields,
|
|
940
940
|
decorators: [{
|
|
@@ -1033,7 +1033,7 @@ var CmatColorSaturationPicker = class CmatColorSaturationPicker {
|
|
|
1033
1033
|
static {
|
|
1034
1034
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1035
1035
|
minVersion: "12.0.0",
|
|
1036
|
-
version: "22.
|
|
1036
|
+
version: "22.3.0",
|
|
1037
1037
|
ngImport: i0,
|
|
1038
1038
|
type: CmatColorSaturationPicker,
|
|
1039
1039
|
deps: [],
|
|
@@ -1043,7 +1043,7 @@ var CmatColorSaturationPicker = class CmatColorSaturationPicker {
|
|
|
1043
1043
|
static {
|
|
1044
1044
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1045
1045
|
minVersion: "17.1.0",
|
|
1046
|
-
version: "22.
|
|
1046
|
+
version: "22.3.0",
|
|
1047
1047
|
type: CmatColorSaturationPicker,
|
|
1048
1048
|
isStandalone: true,
|
|
1049
1049
|
selector: "cmat-color-saturation-picker",
|
|
@@ -1061,7 +1061,7 @@ var CmatColorSaturationPicker = class CmatColorSaturationPicker {
|
|
|
1061
1061
|
},
|
|
1062
1062
|
ngImport: i0,
|
|
1063
1063
|
template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div class=\"cmat-color-saturation-picker-content\" cmatColorCoordinates [percentX]=\"posX()\" [percentY]=\"posY()\"\r\n [style.background-color]=\"bgColor()\" (coordinatesChange)=\"handleChange($event)\">\r\n <div class=\"cmat-color-saturation-picker-pointer\"\r\n [style.left.%]=\"posX()\" [style.top.%]=\"posY()\">\r\n <button class=\"cmat-color-saturation-picker-thumb\" type=\"button\">\r\n <!-- -->\r\n </button>\r\n </div>\r\n</div>",
|
|
1064
|
-
styles: [".cmat-color-saturation-picker{position:relative;display:block;width:100%;padding-bottom:55%;border-radius:var(--cp-saturation-picker-shape,
|
|
1064
|
+
styles: [".cmat-color-saturation-picker{position:relative;display:block;width:100%;padding-bottom:55%;border-radius:var(--cp-saturation-picker-shape,4px);overflow:hidden;box-shadow:0 0 0 1px #ffffff1f,0 0 0 1px #0000001f}.cmat-color-saturation-picker-content{position:absolute;inset:0;touch-action:none;background-image:linear-gradient(0deg,#000,#0000),linear-gradient(90deg,#fff,#fff0)}.cmat-color-saturation-picker-pointer{position:absolute}.cmat-color-saturation-picker-thumb{display:block;width:var(--cp-saturation-picker-thumb-size,12px);height:var(--cp-saturation-picker-thumb-size,12px);padding:0;border-radius:var(--cp-saturation-picker-thumb-shape,6px);border:none;background:none;outline:1px solid var(--cp-saturation-picker-thumb-outline-color,#fff);outline-offset:-1px;transform:translate(-50%,-50%);box-shadow:var(--cp-saturation-picker-thumb-shadow,0 2px 6px 0 #00000052)}.cmat-color-saturation-picker-thumb:focus-visible{outline-color:var(--cp-saturation-picker-thumb-focus-outline-color,var(--cp-input-focus-outline-color,#0d99ff))}\n"],
|
|
1065
1065
|
dependencies: [{
|
|
1066
1066
|
kind: "directive",
|
|
1067
1067
|
type: CmatColorCoordinates,
|
|
@@ -1076,7 +1076,7 @@ var CmatColorSaturationPicker = class CmatColorSaturationPicker {
|
|
|
1076
1076
|
};
|
|
1077
1077
|
i0.ɵɵngDeclareClassMetadata({
|
|
1078
1078
|
minVersion: "12.0.0",
|
|
1079
|
-
version: "22.
|
|
1079
|
+
version: "22.3.0",
|
|
1080
1080
|
ngImport: i0,
|
|
1081
1081
|
type: CmatColorSaturationPicker,
|
|
1082
1082
|
decorators: [{
|
|
@@ -1091,7 +1091,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1091
1091
|
encapsulation: ViewEncapsulation.None,
|
|
1092
1092
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1093
1093
|
template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<div class=\"cmat-color-saturation-picker-content\" cmatColorCoordinates [percentX]=\"posX()\" [percentY]=\"posY()\"\r\n [style.background-color]=\"bgColor()\" (coordinatesChange)=\"handleChange($event)\">\r\n <div class=\"cmat-color-saturation-picker-pointer\"\r\n [style.left.%]=\"posX()\" [style.top.%]=\"posY()\">\r\n <button class=\"cmat-color-saturation-picker-thumb\" type=\"button\">\r\n <!-- -->\r\n </button>\r\n </div>\r\n</div>",
|
|
1094
|
-
styles: [".cmat-color-saturation-picker{position:relative;display:block;width:100%;padding-bottom:55%;border-radius:var(--cp-saturation-picker-shape,
|
|
1094
|
+
styles: [".cmat-color-saturation-picker{position:relative;display:block;width:100%;padding-bottom:55%;border-radius:var(--cp-saturation-picker-shape,4px);overflow:hidden;box-shadow:0 0 0 1px #ffffff1f,0 0 0 1px #0000001f}.cmat-color-saturation-picker-content{position:absolute;inset:0;touch-action:none;background-image:linear-gradient(0deg,#000,#0000),linear-gradient(90deg,#fff,#fff0)}.cmat-color-saturation-picker-pointer{position:absolute}.cmat-color-saturation-picker-thumb{display:block;width:var(--cp-saturation-picker-thumb-size,12px);height:var(--cp-saturation-picker-thumb-size,12px);padding:0;border-radius:var(--cp-saturation-picker-thumb-shape,6px);border:none;background:none;outline:1px solid var(--cp-saturation-picker-thumb-outline-color,#fff);outline-offset:-1px;transform:translate(-50%,-50%);box-shadow:var(--cp-saturation-picker-thumb-shadow,0 2px 6px 0 #00000052)}.cmat-color-saturation-picker-thumb:focus-visible{outline-color:var(--cp-saturation-picker-thumb-focus-outline-color,var(--cp-input-focus-outline-color,#0d99ff))}\n"]
|
|
1095
1095
|
}]
|
|
1096
1096
|
}],
|
|
1097
1097
|
ctorParameters: () => [],
|
|
@@ -1228,7 +1228,7 @@ var CmatColorPickerComponent = class CmatColorPickerComponent {
|
|
|
1228
1228
|
static {
|
|
1229
1229
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1230
1230
|
minVersion: "12.0.0",
|
|
1231
|
-
version: "22.
|
|
1231
|
+
version: "22.3.0",
|
|
1232
1232
|
ngImport: i0,
|
|
1233
1233
|
type: CmatColorPickerComponent,
|
|
1234
1234
|
deps: [],
|
|
@@ -1238,7 +1238,7 @@ var CmatColorPickerComponent = class CmatColorPickerComponent {
|
|
|
1238
1238
|
static {
|
|
1239
1239
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1240
1240
|
minVersion: "17.0.0",
|
|
1241
|
-
version: "22.
|
|
1241
|
+
version: "22.3.0",
|
|
1242
1242
|
type: CmatColorPickerComponent,
|
|
1243
1243
|
isStandalone: true,
|
|
1244
1244
|
selector: "cmat-color-picker",
|
|
@@ -1288,7 +1288,7 @@ var CmatColorPickerComponent = class CmatColorPickerComponent {
|
|
|
1288
1288
|
}],
|
|
1289
1289
|
ngImport: i0,
|
|
1290
1290
|
template: "<cmat-color-saturation-picker [color]=\"parsedColor()!\" (change)=\"handleChange($event)\" />\r\n\r\n<div class=\"cmat-color-picker-controls\">\r\n @if (supportEyeDropper) {\r\n <cmat-color-icon-button>\r\n <button type=\"button\" (click)=\"openEyeDropper($event)\">\r\n <svg viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\"\r\n d=\"M19.35,11.72L17.22,13.85L15.81,12.43L8.1,20.14L3.5,22L2,20.5L3.86,15.9L11.57,8.19L10.15,6.78L12.28,4.65L19.35,11.72M16.76,3C17.93,1.83 19.83,1.83 21,3C22.17,4.17 22.17,6.07 21,7.24L19.08,9.16L14.84,4.92L16.76,3M5.56,17.03L4.5,19.5L6.97,18.44L14.4,11L13,9.6L5.56,17.03Z\" />\r\n </svg>\r\n </button>\r\n </cmat-color-icon-button>\r\n }\r\n\r\n <button class=\"cmat-color-preview\" type=\"button\" (click)=\"copyColor()\">\r\n <div class=\"cmat-color-preview-bg\" [ngStyle]=\"{'background-color':value()}\"></div>\r\n <div class=\"cmat-color-preview-backdrop\">\r\n @if (this.isCopied()) {\r\n <svg viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\" d=\"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\" />\r\n </svg>\r\n } @else {\r\n <svg viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\"\r\n d=\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\" />\r\n </svg>\r\n }\r\n </div>\r\n </button>\r\n\r\n <div class=\"cmat-color-hue-alpha\">\r\n <cmat-color-hue-slider [color]=\"parsedColor()!\" (change)=\"handleChange($event)\" />\r\n\r\n @if (!hideAlpha()) {\r\n <cmat-color-alpha-slider [color]=\"parsedColor()!\" (change)=\"handleChange($event)\" />\r\n }\r\n </div>\r\n</div>\r\n\r\n<div class=\"cmat-color-picker-controls\">\r\n <cmat-color-input-fields [color]=\"parsedColor()!\" [hideAlpha]=\"hideAlpha()\" [(format)]=\"format\"\r\n (valueChange)=\"handleChange($event)\" (formatChange)=\"handleFormatChange()\" />\r\n</div>",
|
|
1291
|
-
styles: [".cmat-color-picker{--cp-container-text-color
|
|
1291
|
+
styles: [".cmat-color-picker{--cp-container-text-color:#000000e6;--cp-container-background-color:#fff;--cp-input-outline-color:#e6e6e6;--cp-input-hover-outline-color:#d6d6d6;--cp-input-focus-outline-color:#0d99ff;--cp-icon-button-hover-background-color:#0000000f;--cp-icon-button-active-background-color:#0000001f;--cp-slider-thumb-background-color:#f2f2f2;--cp-slider-thumb-outline-color:#0000000a;box-sizing:border-box;display:block;width:var(--cp-container-width,240px);padding:var(--cp-container-padding,12px);margin:var(--cp-container-margin,0);color:var(--cp-container-text-color);background-color:var(--cp-container-background-color);border-radius:var(--cp-container-shape,8px);box-shadow:var(--cp-container-elevation-shadow,inset 0 0 1px 0 #ffffffa3,0 2px 4px 0 #00000029,0 8px 16px 0 #0000001f,0 0 1px 0 #0000001f)}.cmat-color-picker:is(.dark *){--cp-container-text-color:#fff;--cp-container-background-color:#2c2c2c;--cp-input-outline-color:#444;--cp-input-hover-outline-color:#545454;--cp-input-focus-outline-color:#0c8ce9;--cp-icon-button-hover-background-color:#ffffff0f;--cp-icon-button-active-background-color:#ffffff1f;--cp-slider-thumb-background-color:#3c3c3c;--cp-slider-thumb-outline-color:#ffffff3d}.cmat-color-picker-controls{display:flex;align-items:center;gap:10px;margin-top:16px}.cmat-color-preview{width:32px;height:32px;border-radius:16px;position:relative;overflow:hidden;border:none;outline:none;background-color:#fff;background-image:conic-gradient(#0000 25%,#ccc 0 50%,#0000 0 75%,#ccc 0);background-size:10px 10px;box-shadow:0 0 0 1px #ffffff1f,0 0 0 1px #0000001f;cursor:pointer}.cmat-color-preview:focus-visible .cmat-color-preview-backdrop,.cmat-color-preview:hover .cmat-color-preview-backdrop{opacity:1}.cmat-color-preview-bg{position:absolute;inset:0}.cmat-color-preview-backdrop{position:absolute;inset:0;padding:6px;background-color:#00000052;color:#fff;opacity:0;pointer-events:none}.cmat-color-hue-alpha{flex:1;display:flex;flex-direction:column;gap:8px}\n"],
|
|
1292
1292
|
dependencies: [
|
|
1293
1293
|
{
|
|
1294
1294
|
kind: "component",
|
|
@@ -1345,7 +1345,7 @@ var CmatColorPickerComponent = class CmatColorPickerComponent {
|
|
|
1345
1345
|
};
|
|
1346
1346
|
i0.ɵɵngDeclareClassMetadata({
|
|
1347
1347
|
minVersion: "12.0.0",
|
|
1348
|
-
version: "22.
|
|
1348
|
+
version: "22.3.0",
|
|
1349
1349
|
ngImport: i0,
|
|
1350
1350
|
type: CmatColorPickerComponent,
|
|
1351
1351
|
decorators: [{
|
|
@@ -1369,7 +1369,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1369
1369
|
multi: true
|
|
1370
1370
|
}],
|
|
1371
1371
|
template: "<cmat-color-saturation-picker [color]=\"parsedColor()!\" (change)=\"handleChange($event)\" />\r\n\r\n<div class=\"cmat-color-picker-controls\">\r\n @if (supportEyeDropper) {\r\n <cmat-color-icon-button>\r\n <button type=\"button\" (click)=\"openEyeDropper($event)\">\r\n <svg viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\"\r\n d=\"M19.35,11.72L17.22,13.85L15.81,12.43L8.1,20.14L3.5,22L2,20.5L3.86,15.9L11.57,8.19L10.15,6.78L12.28,4.65L19.35,11.72M16.76,3C17.93,1.83 19.83,1.83 21,3C22.17,4.17 22.17,6.07 21,7.24L19.08,9.16L14.84,4.92L16.76,3M5.56,17.03L4.5,19.5L6.97,18.44L14.4,11L13,9.6L5.56,17.03Z\" />\r\n </svg>\r\n </button>\r\n </cmat-color-icon-button>\r\n }\r\n\r\n <button class=\"cmat-color-preview\" type=\"button\" (click)=\"copyColor()\">\r\n <div class=\"cmat-color-preview-bg\" [ngStyle]=\"{'background-color':value()}\"></div>\r\n <div class=\"cmat-color-preview-backdrop\">\r\n @if (this.isCopied()) {\r\n <svg viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\" d=\"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\" />\r\n </svg>\r\n } @else {\r\n <svg viewBox=\"0 0 24 24\">\r\n <path fill=\"currentColor\"\r\n d=\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\" />\r\n </svg>\r\n }\r\n </div>\r\n </button>\r\n\r\n <div class=\"cmat-color-hue-alpha\">\r\n <cmat-color-hue-slider [color]=\"parsedColor()!\" (change)=\"handleChange($event)\" />\r\n\r\n @if (!hideAlpha()) {\r\n <cmat-color-alpha-slider [color]=\"parsedColor()!\" (change)=\"handleChange($event)\" />\r\n }\r\n </div>\r\n</div>\r\n\r\n<div class=\"cmat-color-picker-controls\">\r\n <cmat-color-input-fields [color]=\"parsedColor()!\" [hideAlpha]=\"hideAlpha()\" [(format)]=\"format\"\r\n (valueChange)=\"handleChange($event)\" (formatChange)=\"handleFormatChange()\" />\r\n</div>",
|
|
1372
|
-
styles: [".cmat-color-picker{--cp-container-text-color
|
|
1372
|
+
styles: [".cmat-color-picker{--cp-container-text-color:#000000e6;--cp-container-background-color:#fff;--cp-input-outline-color:#e6e6e6;--cp-input-hover-outline-color:#d6d6d6;--cp-input-focus-outline-color:#0d99ff;--cp-icon-button-hover-background-color:#0000000f;--cp-icon-button-active-background-color:#0000001f;--cp-slider-thumb-background-color:#f2f2f2;--cp-slider-thumb-outline-color:#0000000a;box-sizing:border-box;display:block;width:var(--cp-container-width,240px);padding:var(--cp-container-padding,12px);margin:var(--cp-container-margin,0);color:var(--cp-container-text-color);background-color:var(--cp-container-background-color);border-radius:var(--cp-container-shape,8px);box-shadow:var(--cp-container-elevation-shadow,inset 0 0 1px 0 #ffffffa3,0 2px 4px 0 #00000029,0 8px 16px 0 #0000001f,0 0 1px 0 #0000001f)}.cmat-color-picker:is(.dark *){--cp-container-text-color:#fff;--cp-container-background-color:#2c2c2c;--cp-input-outline-color:#444;--cp-input-hover-outline-color:#545454;--cp-input-focus-outline-color:#0c8ce9;--cp-icon-button-hover-background-color:#ffffff0f;--cp-icon-button-active-background-color:#ffffff1f;--cp-slider-thumb-background-color:#3c3c3c;--cp-slider-thumb-outline-color:#ffffff3d}.cmat-color-picker-controls{display:flex;align-items:center;gap:10px;margin-top:16px}.cmat-color-preview{width:32px;height:32px;border-radius:16px;position:relative;overflow:hidden;border:none;outline:none;background-color:#fff;background-image:conic-gradient(#0000 25%,#ccc 0 50%,#0000 0 75%,#ccc 0);background-size:10px 10px;box-shadow:0 0 0 1px #ffffff1f,0 0 0 1px #0000001f;cursor:pointer}.cmat-color-preview:focus-visible .cmat-color-preview-backdrop,.cmat-color-preview:hover .cmat-color-preview-backdrop{opacity:1}.cmat-color-preview-bg{position:absolute;inset:0}.cmat-color-preview-backdrop{position:absolute;inset:0;padding:6px;background-color:#00000052;color:#fff;opacity:0;pointer-events:none}.cmat-color-hue-alpha{flex:1;display:flex;flex-direction:column;gap:8px}\n"]
|
|
1373
1373
|
}]
|
|
1374
1374
|
}],
|
|
1375
1375
|
ctorParameters: () => [],
|
|
@@ -1451,7 +1451,7 @@ var CmatColorPickerButtonComponent = class CmatColorPickerButtonComponent {
|
|
|
1451
1451
|
static {
|
|
1452
1452
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1453
1453
|
minVersion: "12.0.0",
|
|
1454
|
-
version: "22.
|
|
1454
|
+
version: "22.3.0",
|
|
1455
1455
|
ngImport: i0,
|
|
1456
1456
|
type: CmatColorPickerButtonComponent,
|
|
1457
1457
|
deps: [],
|
|
@@ -1461,7 +1461,7 @@ var CmatColorPickerButtonComponent = class CmatColorPickerButtonComponent {
|
|
|
1461
1461
|
static {
|
|
1462
1462
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1463
1463
|
minVersion: "17.1.0",
|
|
1464
|
-
version: "22.
|
|
1464
|
+
version: "22.3.0",
|
|
1465
1465
|
type: CmatColorPickerButtonComponent,
|
|
1466
1466
|
isStandalone: true,
|
|
1467
1467
|
selector: "cmat-color-picker-button",
|
|
@@ -1519,7 +1519,7 @@ var CmatColorPickerButtonComponent = class CmatColorPickerButtonComponent {
|
|
|
1519
1519
|
},
|
|
1520
1520
|
ngImport: i0,
|
|
1521
1521
|
template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<section>\r\n <mat-form-field class=\"w-full\">\r\n <mat-label>{{ label() }}</mat-label>\r\n <input matInput type=\"text\" [placeholder]=\"placeholder()\" [disabled]=\"disabled()\" [(ngModel)]=\"value\"\r\n (ngModelChange)=\"valueChanged.emit($event);colorChanged.emit($event);\" />\r\n <button #trigger=\"cdkOverlayOrigin\" matPrefix cdkOverlayOrigin class=\"ml-2\"\r\n [ngClass]=\"{'pointer-events-none':disabled()}\"\r\n [style.color]=\"value()\" (click)=\"toggleMenu()\">\r\n <span></span>\r\n </button>\r\n </mat-form-field>\r\n</section>\r\n\r\n<ng-template cdkConnectedOverlay [cdkConnectedOverlayOrigin]=\"trigger\" [cdkConnectedOverlayOpen]=\"isOpen()\"\r\n (overlayOutsideClick)=\"closeMenu()\" (detach)=\"closeMenu()\">\r\n <cmat-color-picker [format]=\"format()\" [hideAlpha]=\"hideAlpha()\" [disabled]=\"disabled()\" [(value)]=\"value\"\r\n (formatChanged)=\"formatChanged.emit($event)\" (valueChanged)=\"valueChanged.emit($event)\"\r\n (colorChanged)=\"colorChanged.emit($event)\" />\r\n</ng-template>",
|
|
1522
|
-
styles: ["cmat-color-picker-button{--cmat-prefix-label-offset:
|
|
1522
|
+
styles: ["cmat-color-picker-button{--cmat-prefix-label-offset:20px}cmat-color-picker-button section{--outline-color:#b4b4b4;--hover-outline-color:var(--cmat-primary)}cmat-color-picker-button section:is(.dark *){--outline-color:#4d4d4d}cmat-color-picker-button .input-group,cmat-color-picker-button section{display:flex;gap:8px}cmat-color-picker-button .input-group input{flex:1}cmat-color-picker-button button{display:inline-flex;width:32px;height:32px;padding:4px;background:none;border-radius:8px;border:1px solid var(--outline-color);cursor:pointer}cmat-color-picker-button button:after{content:\"\";display:inline-block;width:100%;height:100%;background-color:currentColor;border-radius:3px}cmat-color-picker-button :is(button:focus,button:hover){border-color:var(--hover-outline-color)}cmat-color-picker-button input{padding:4px 8px;border-radius:8px;border:1px solid var(--outline-color);display:flex;flex:1 auto}cmat-color-picker-button :is(input:focus,input:hover){border-color:var(--hover-outline-color)}\n"],
|
|
1523
1523
|
dependencies: [
|
|
1524
1524
|
{
|
|
1525
1525
|
kind: "ngmodule",
|
|
@@ -1680,7 +1680,7 @@ var CmatColorPickerButtonComponent = class CmatColorPickerButtonComponent {
|
|
|
1680
1680
|
};
|
|
1681
1681
|
i0.ɵɵngDeclareClassMetadata({
|
|
1682
1682
|
minVersion: "12.0.0",
|
|
1683
|
-
version: "22.
|
|
1683
|
+
version: "22.3.0",
|
|
1684
1684
|
ngImport: i0,
|
|
1685
1685
|
type: CmatColorPickerButtonComponent,
|
|
1686
1686
|
decorators: [{
|
|
@@ -1699,7 +1699,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1699
1699
|
encapsulation: ViewEncapsulation.None,
|
|
1700
1700
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1701
1701
|
template: "<!-- eslint-disable @angular-eslint/template/no-inline-styles -->\r\n<section>\r\n <mat-form-field class=\"w-full\">\r\n <mat-label>{{ label() }}</mat-label>\r\n <input matInput type=\"text\" [placeholder]=\"placeholder()\" [disabled]=\"disabled()\" [(ngModel)]=\"value\"\r\n (ngModelChange)=\"valueChanged.emit($event);colorChanged.emit($event);\" />\r\n <button #trigger=\"cdkOverlayOrigin\" matPrefix cdkOverlayOrigin class=\"ml-2\"\r\n [ngClass]=\"{'pointer-events-none':disabled()}\"\r\n [style.color]=\"value()\" (click)=\"toggleMenu()\">\r\n <span></span>\r\n </button>\r\n </mat-form-field>\r\n</section>\r\n\r\n<ng-template cdkConnectedOverlay [cdkConnectedOverlayOrigin]=\"trigger\" [cdkConnectedOverlayOpen]=\"isOpen()\"\r\n (overlayOutsideClick)=\"closeMenu()\" (detach)=\"closeMenu()\">\r\n <cmat-color-picker [format]=\"format()\" [hideAlpha]=\"hideAlpha()\" [disabled]=\"disabled()\" [(value)]=\"value\"\r\n (formatChanged)=\"formatChanged.emit($event)\" (valueChanged)=\"valueChanged.emit($event)\"\r\n (colorChanged)=\"colorChanged.emit($event)\" />\r\n</ng-template>",
|
|
1702
|
-
styles: ["cmat-color-picker-button{--cmat-prefix-label-offset:
|
|
1702
|
+
styles: ["cmat-color-picker-button{--cmat-prefix-label-offset:20px}cmat-color-picker-button section{--outline-color:#b4b4b4;--hover-outline-color:var(--cmat-primary)}cmat-color-picker-button section:is(.dark *){--outline-color:#4d4d4d}cmat-color-picker-button .input-group,cmat-color-picker-button section{display:flex;gap:8px}cmat-color-picker-button .input-group input{flex:1}cmat-color-picker-button button{display:inline-flex;width:32px;height:32px;padding:4px;background:none;border-radius:8px;border:1px solid var(--outline-color);cursor:pointer}cmat-color-picker-button button:after{content:\"\";display:inline-block;width:100%;height:100%;background-color:currentColor;border-radius:3px}cmat-color-picker-button :is(button:focus,button:hover){border-color:var(--hover-outline-color)}cmat-color-picker-button input{padding:4px 8px;border-radius:8px;border:1px solid var(--outline-color);display:flex;flex:1 auto}cmat-color-picker-button :is(input:focus,input:hover){border-color:var(--hover-outline-color)}\n"]
|
|
1703
1703
|
}]
|
|
1704
1704
|
}],
|
|
1705
1705
|
propDecorators: {
|