ngx-color 9.0.0 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/coordinates.directive.d.ts +1 -2
- package/fesm2022/ngx-color-alpha.mjs +15 -17
- package/fesm2022/ngx-color-alpha.mjs.map +1 -1
- package/fesm2022/ngx-color-block.mjs +87 -76
- package/fesm2022/ngx-color-block.mjs.map +1 -1
- package/fesm2022/ngx-color-chrome.mjs +186 -145
- package/fesm2022/ngx-color-chrome.mjs.map +1 -1
- package/fesm2022/ngx-color-circle.mjs +68 -51
- package/fesm2022/ngx-color-circle.mjs.map +1 -1
- package/fesm2022/ngx-color-compact.mjs +163 -145
- package/fesm2022/ngx-color-compact.mjs.map +1 -1
- package/fesm2022/ngx-color-github.mjs +36 -37
- package/fesm2022/ngx-color-github.mjs.map +1 -1
- package/fesm2022/ngx-color-hue.mjs +27 -25
- package/fesm2022/ngx-color-hue.mjs.map +1 -1
- package/fesm2022/ngx-color-material.mjs +77 -61
- package/fesm2022/ngx-color-material.mjs.map +1 -1
- package/fesm2022/ngx-color-photoshop.mjs +224 -214
- package/fesm2022/ngx-color-photoshop.mjs.map +1 -1
- package/fesm2022/ngx-color-shade.mjs +19 -13
- package/fesm2022/ngx-color-shade.mjs.map +1 -1
- package/fesm2022/ngx-color-sketch.mjs +232 -227
- package/fesm2022/ngx-color-sketch.mjs.map +1 -1
- package/fesm2022/ngx-color-slider.mjs +153 -145
- package/fesm2022/ngx-color-slider.mjs.map +1 -1
- package/fesm2022/ngx-color-swatches.mjs +118 -216
- package/fesm2022/ngx-color-swatches.mjs.map +1 -1
- package/fesm2022/ngx-color-twitter.mjs +61 -58
- package/fesm2022/ngx-color-twitter.mjs.map +1 -1
- package/fesm2022/ngx-color.mjs +231 -187
- package/fesm2022/ngx-color.mjs.map +1 -1
- package/package.json +4 -34
- package/esm2022/alpha/alpha-picker.component.mjs +0 -102
- package/esm2022/alpha/ngx-color-alpha.mjs +0 -5
- package/esm2022/alpha/public_api.mjs +0 -2
- package/esm2022/alpha.component.mjs +0 -146
- package/esm2022/block/block-swatches.component.mjs +0 -63
- package/esm2022/block/block.component.mjs +0 -160
- package/esm2022/block/ngx-color-block.mjs +0 -5
- package/esm2022/block/public_api.mjs +0 -3
- package/esm2022/checkboard.component.mjs +0 -53
- package/esm2022/chrome/chrome-fields.component.mjs +0 -317
- package/esm2022/chrome/chrome.component.mjs +0 -187
- package/esm2022/chrome/ngx-color-chrome.mjs +0 -5
- package/esm2022/chrome/public_api.mjs +0 -3
- package/esm2022/circle/circle-swatch.component.mjs +0 -69
- package/esm2022/circle/circle.component.mjs +0 -136
- package/esm2022/circle/ngx-color-circle.mjs +0 -5
- package/esm2022/circle/public_api.mjs +0 -3
- package/esm2022/color-wrap.component.mjs +0 -173
- package/esm2022/compact/compact-color.component.mjs +0 -71
- package/esm2022/compact/compact-fields.component.mjs +0 -165
- package/esm2022/compact/compact.component.mjs +0 -156
- package/esm2022/compact/ngx-color-compact.mjs +0 -5
- package/esm2022/compact/public_api.mjs +0 -4
- package/esm2022/coordinates.directive.mjs +0 -108
- package/esm2022/editable-input.component.mjs +0 -212
- package/esm2022/github/github-swatch.component.mjs +0 -53
- package/esm2022/github/github.component.mjs +0 -114
- package/esm2022/github/ngx-color-github.mjs +0 -5
- package/esm2022/github/public_api.mjs +0 -3
- package/esm2022/helpers/checkboard.mjs +0 -33
- package/esm2022/helpers/color.interfaces.mjs +0 -2
- package/esm2022/helpers/color.mjs +0 -60
- package/esm2022/hue/hue-picker.component.mjs +0 -102
- package/esm2022/hue/ngx-color-hue.mjs +0 -5
- package/esm2022/hue/public_api.mjs +0 -2
- package/esm2022/hue.component.mjs +0 -128
- package/esm2022/material/material.component.mjs +0 -188
- package/esm2022/material/ngx-color-material.mjs +0 -5
- package/esm2022/material/public_api.mjs +0 -2
- package/esm2022/ngx-color.mjs +0 -5
- package/esm2022/photoshop/ngx-color-photoshop.mjs +0 -5
- package/esm2022/photoshop/photoshop-button.component.mjs +0 -33
- package/esm2022/photoshop/photoshop-fields.component.mjs +0 -214
- package/esm2022/photoshop/photoshop-previews.component.mjs +0 -40
- package/esm2022/photoshop/photoshop.component.mjs +0 -187
- package/esm2022/photoshop/public_api.mjs +0 -5
- package/esm2022/public_api.mjs +0 -14
- package/esm2022/raised.component.mjs +0 -50
- package/esm2022/saturation.component.mjs +0 -100
- package/esm2022/shade/ngx-color-shade.mjs +0 -5
- package/esm2022/shade/public_api.mjs +0 -2
- package/esm2022/shade/shade-picker.component.mjs +0 -94
- package/esm2022/shade.component.mjs +0 -133
- package/esm2022/sketch/ngx-color-sketch.mjs +0 -5
- package/esm2022/sketch/public_api.mjs +0 -4
- package/esm2022/sketch/sketch-fields.component.mjs +0 -211
- package/esm2022/sketch/sketch-preset-colors.component.mjs +0 -68
- package/esm2022/sketch/sketch.component.mjs +0 -215
- package/esm2022/slider/ngx-color-slider.mjs +0 -5
- package/esm2022/slider/public_api.mjs +0 -4
- package/esm2022/slider/slider-swatch.component.mjs +0 -55
- package/esm2022/slider/slider-swatches.component.mjs +0 -119
- package/esm2022/slider/slider.component.mjs +0 -104
- package/esm2022/swatch.component.mjs +0 -112
- package/esm2022/swatches/ngx-color-swatches.mjs +0 -5
- package/esm2022/swatches/public_api.mjs +0 -4
- package/esm2022/swatches/swatches-color.component.mjs +0 -105
- package/esm2022/swatches/swatches-group.component.mjs +0 -50
- package/esm2022/swatches/swatches.component.mjs +0 -244
- package/esm2022/twitter/ngx-color-twitter.mjs +0 -5
- package/esm2022/twitter/public_api.mjs +0 -2
- package/esm2022/twitter/twitter.component.mjs +0 -161
package/fesm2022/ngx-color.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Component, ChangeDetectionStrategy, Input, NgModule, Directive, Output, HostListener, EventEmitter, isDevMode, forwardRef } from '@angular/core';
|
4
|
+
import { Component, ChangeDetectionStrategy, Input, NgModule, inject, ElementRef, Directive, Output, HostListener, EventEmitter, isDevMode, forwardRef } from '@angular/core';
|
5
5
|
import { Subject, Subscription, fromEvent } from 'rxjs';
|
6
6
|
import { distinctUntilChanged, debounceTime, tap } from 'rxjs/operators';
|
7
7
|
import { TinyColor } from '@ctrl/tinycolor';
|
@@ -55,12 +55,12 @@ class CheckboardComponent {
|
|
55
55
|
background: `url(${background}) center left`,
|
56
56
|
};
|
57
57
|
}
|
58
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
59
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
58
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CheckboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
59
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.3", type: CheckboardComponent, isStandalone: false, selector: "color-checkboard", inputs: { white: "white", size: "size", grey: "grey", boxShadow: "boxShadow", borderRadius: "borderRadius" }, ngImport: i0, template: `<div class="grid" [ngStyle]="gridStyles"></div>`, isInline: true, styles: [".grid{inset:0;position:absolute}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
60
60
|
}
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CheckboardComponent, decorators: [{
|
62
62
|
type: Component,
|
63
|
-
args: [{ selector: 'color-checkboard', template: `<div class="grid" [ngStyle]="gridStyles"></div>`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".grid{inset:0;position:absolute}\n"] }]
|
63
|
+
args: [{ selector: 'color-checkboard', template: `<div class="grid" [ngStyle]="gridStyles"></div>`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, styles: [".grid{inset:0;position:absolute}\n"] }]
|
64
64
|
}], propDecorators: { white: [{
|
65
65
|
type: Input
|
66
66
|
}], size: [{
|
@@ -73,11 +73,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
73
73
|
type: Input
|
74
74
|
}] } });
|
75
75
|
class CheckboardModule {
|
76
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
77
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
78
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
76
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CheckboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
77
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: CheckboardModule, declarations: [CheckboardComponent], imports: [CommonModule], exports: [CheckboardComponent] });
|
78
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CheckboardModule, imports: [CommonModule] });
|
79
79
|
}
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CheckboardModule, decorators: [{
|
81
81
|
type: NgModule,
|
82
82
|
args: [{
|
83
83
|
declarations: [CheckboardComponent],
|
@@ -87,7 +87,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
87
87
|
}] });
|
88
88
|
|
89
89
|
class CoordinatesDirective {
|
90
|
-
el;
|
90
|
+
el = inject(ElementRef);
|
91
91
|
coordinatesChange = new Subject();
|
92
92
|
mousechange = new Subject();
|
93
93
|
mouseListening = false;
|
@@ -106,9 +106,6 @@ class CoordinatesDirective {
|
|
106
106
|
this.mouseListening = true;
|
107
107
|
this.mousechange.next({ $event, x, y, isTouch });
|
108
108
|
}
|
109
|
-
constructor(el) {
|
110
|
-
this.el = el;
|
111
|
-
}
|
112
109
|
ngOnInit() {
|
113
110
|
this.sub = this.mousechange
|
114
111
|
.pipe(
|
@@ -122,8 +119,7 @@ class CoordinatesDirective {
|
|
122
119
|
handleChange(x, y, $event, isTouch) {
|
123
120
|
const containerWidth = this.el.nativeElement.clientWidth;
|
124
121
|
const containerHeight = this.el.nativeElement.clientHeight;
|
125
|
-
const left = x -
|
126
|
-
(this.el.nativeElement.getBoundingClientRect().left + window.pageXOffset);
|
122
|
+
const left = x - (this.el.nativeElement.getBoundingClientRect().left + window.pageXOffset);
|
127
123
|
let top = y - this.el.nativeElement.getBoundingClientRect().top;
|
128
124
|
if (!isTouch) {
|
129
125
|
top = top - window.pageYOffset;
|
@@ -138,13 +134,16 @@ class CoordinatesDirective {
|
|
138
134
|
$event,
|
139
135
|
});
|
140
136
|
}
|
141
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
142
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
137
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CoordinatesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
138
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.3", type: CoordinatesDirective, isStandalone: false, selector: "[ngx-color-coordinates]", outputs: { coordinatesChange: "coordinatesChange" }, host: { listeners: { "window:mousemove": "mousemove($event,$event.pageX,$event.pageY)", "window:touchmove": "mousemove($event,$event.touches[0].clientX,$event.touches[0].clientY,true)", "window:mouseup": "mouseup()", "window:touchend": "mouseup()", "mousedown": "mousedown($event,$event.pageX,$event.pageY)", "touchstart": "mousedown($event,$event.touches[0].clientX,$event.touches[0].clientY,true)" } }, ngImport: i0 });
|
143
139
|
}
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CoordinatesDirective, decorators: [{
|
145
141
|
type: Directive,
|
146
|
-
args: [{
|
147
|
-
|
142
|
+
args: [{
|
143
|
+
selector: '[ngx-color-coordinates]',
|
144
|
+
standalone: false,
|
145
|
+
}]
|
146
|
+
}], propDecorators: { coordinatesChange: [{
|
148
147
|
type: Output
|
149
148
|
}], mousemove: [{
|
150
149
|
type: HostListener,
|
@@ -176,11 +175,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
176
175
|
]]
|
177
176
|
}] } });
|
178
177
|
class CoordinatesModule {
|
179
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
180
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
181
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CoordinatesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
179
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: CoordinatesModule, declarations: [CoordinatesDirective], exports: [CoordinatesDirective] });
|
180
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CoordinatesModule });
|
182
181
|
}
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: CoordinatesModule, decorators: [{
|
184
183
|
type: NgModule,
|
185
184
|
args: [{
|
186
185
|
declarations: [CoordinatesDirective],
|
@@ -227,7 +226,7 @@ class AlphaComponent {
|
|
227
226
|
a = 1;
|
228
227
|
}
|
229
228
|
else {
|
230
|
-
a = Math.round(top * 100 / containerHeight) / 100;
|
229
|
+
a = Math.round((top * 100) / containerHeight) / 100;
|
231
230
|
}
|
232
231
|
if (this.hsl.a !== a) {
|
233
232
|
data = {
|
@@ -248,7 +247,7 @@ class AlphaComponent {
|
|
248
247
|
a = 1;
|
249
248
|
}
|
250
249
|
else {
|
251
|
-
a = Math.round(left * 100 / containerWidth) / 100;
|
250
|
+
a = Math.round((left * 100) / containerWidth) / 100;
|
252
251
|
}
|
253
252
|
if (this.hsl.a !== a) {
|
254
253
|
data = {
|
@@ -265,36 +264,54 @@ class AlphaComponent {
|
|
265
264
|
}
|
266
265
|
this.onChange.emit({ data, $event });
|
267
266
|
}
|
268
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
269
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: AlphaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
268
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.3", type: AlphaComponent, isStandalone: false, selector: "color-alpha", inputs: { hsl: "hsl", rgb: "rgb", pointer: "pointer", shadow: "shadow", radius: "radius", direction: "direction" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
269
|
+
<div class="alpha" [style.border-radius]="radius">
|
270
|
+
<div class="alpha-checkboard">
|
271
|
+
<color-checkboard></color-checkboard>
|
272
|
+
</div>
|
273
|
+
<div
|
274
|
+
class="alpha-gradient"
|
275
|
+
[ngStyle]="gradient"
|
276
|
+
[style.box-shadow]="shadow"
|
277
|
+
[style.border-radius]="radius"
|
278
|
+
></div>
|
279
|
+
<div
|
280
|
+
ngx-color-coordinates
|
281
|
+
(coordinatesChange)="handleChange($event)"
|
282
|
+
class="alpha-container color-alpha-{{ direction }}"
|
283
|
+
>
|
284
|
+
<div class="alpha-pointer" [style.left.%]="pointerLeft" [style.top.%]="pointerTop">
|
285
|
+
<div class="alpha-slider" [ngStyle]="pointer"></div>
|
286
|
+
</div>
|
278
287
|
</div>
|
279
288
|
</div>
|
280
|
-
</div>
|
281
289
|
`, isInline: true, styles: [".alpha{position:absolute;inset:0}.alpha-checkboard{position:absolute;inset:0;overflow:hidden}.alpha-gradient{position:absolute;inset:0}.alpha-container{position:relative;height:100%;margin:0 3px}.alpha-pointer{position:absolute}.alpha-slider{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: CheckboardComponent, selector: "color-checkboard", inputs: ["white", "size", "grey", "boxShadow", "borderRadius"] }, { kind: "directive", type: CoordinatesDirective, selector: "[ngx-color-coordinates]", outputs: ["coordinatesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
282
290
|
}
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: AlphaComponent, decorators: [{
|
284
292
|
type: Component,
|
285
293
|
args: [{ selector: 'color-alpha', template: `
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
+
<div class="alpha" [style.border-radius]="radius">
|
295
|
+
<div class="alpha-checkboard">
|
296
|
+
<color-checkboard></color-checkboard>
|
297
|
+
</div>
|
298
|
+
<div
|
299
|
+
class="alpha-gradient"
|
300
|
+
[ngStyle]="gradient"
|
301
|
+
[style.box-shadow]="shadow"
|
302
|
+
[style.border-radius]="radius"
|
303
|
+
></div>
|
304
|
+
<div
|
305
|
+
ngx-color-coordinates
|
306
|
+
(coordinatesChange)="handleChange($event)"
|
307
|
+
class="alpha-container color-alpha-{{ direction }}"
|
308
|
+
>
|
309
|
+
<div class="alpha-pointer" [style.left.%]="pointerLeft" [style.top.%]="pointerTop">
|
310
|
+
<div class="alpha-slider" [ngStyle]="pointer"></div>
|
311
|
+
</div>
|
294
312
|
</div>
|
295
313
|
</div>
|
296
|
-
|
297
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, styles: [".alpha{position:absolute;inset:0}.alpha-checkboard{position:absolute;inset:0;overflow:hidden}.alpha-gradient{position:absolute;inset:0}.alpha-container{position:relative;height:100%;margin:0 3px}.alpha-pointer{position:absolute}.alpha-slider{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}\n"] }]
|
314
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, standalone: false, styles: [".alpha{position:absolute;inset:0}.alpha-checkboard{position:absolute;inset:0;overflow:hidden}.alpha-gradient{position:absolute;inset:0}.alpha-container{position:relative;height:100%;margin:0 3px}.alpha-pointer{position:absolute}.alpha-slider{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}\n"] }]
|
298
315
|
}], propDecorators: { hsl: [{
|
299
316
|
type: Input
|
300
317
|
}], rgb: [{
|
@@ -311,11 +328,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
311
328
|
type: Output
|
312
329
|
}] } });
|
313
330
|
class AlphaModule {
|
314
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
315
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
316
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
331
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: AlphaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
332
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: AlphaModule, declarations: [AlphaComponent], imports: [CommonModule, CheckboardModule, CoordinatesModule], exports: [AlphaComponent] });
|
333
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: AlphaModule, imports: [CommonModule, CheckboardModule, CoordinatesModule] });
|
317
334
|
}
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: AlphaModule, decorators: [{
|
319
336
|
type: NgModule,
|
320
337
|
args: [{
|
321
338
|
declarations: [AlphaComponent],
|
@@ -495,16 +512,16 @@ class ColorWrap {
|
|
495
512
|
writeValue(hex) {
|
496
513
|
this.color = hex;
|
497
514
|
}
|
498
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
499
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
515
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ColorWrap, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
516
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.3", type: ColorWrap, isStandalone: false, selector: "color-wrap", inputs: { className: "className", mode: "mode", color: "color" }, outputs: { colorChange: "colorChange", onChange: "onChange", onChangeComplete: "onChangeComplete", onSwatchHover: "onSwatchHover" }, providers: [
|
500
517
|
{
|
501
518
|
provide: NG_VALUE_ACCESSOR,
|
502
519
|
useExisting: forwardRef(() => ColorWrap),
|
503
520
|
multi: true,
|
504
|
-
}
|
521
|
+
},
|
505
522
|
], usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
506
523
|
}
|
507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ColorWrap, decorators: [{
|
508
525
|
type: Component,
|
509
526
|
args: [{
|
510
527
|
// create seletor base for test override property
|
@@ -515,8 +532,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
515
532
|
provide: NG_VALUE_ACCESSOR,
|
516
533
|
useExisting: forwardRef(() => ColorWrap),
|
517
534
|
multi: true,
|
518
|
-
}
|
519
|
-
]
|
535
|
+
},
|
536
|
+
],
|
537
|
+
standalone: false,
|
520
538
|
}]
|
521
539
|
}], propDecorators: { className: [{
|
522
540
|
type: Input
|
@@ -534,11 +552,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
534
552
|
type: Output
|
535
553
|
}] } });
|
536
554
|
class ColorWrapModule {
|
537
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
538
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
539
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
555
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ColorWrapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
556
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: ColorWrapModule, declarations: [ColorWrap], imports: [CommonModule], exports: [ColorWrap] });
|
557
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ColorWrapModule, imports: [CommonModule] });
|
540
558
|
}
|
541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ColorWrapModule, decorators: [{
|
542
560
|
type: NgModule,
|
543
561
|
args: [{
|
544
562
|
declarations: [ColorWrap],
|
@@ -681,8 +699,8 @@ class EditableInputComponent {
|
|
681
699
|
}
|
682
700
|
}
|
683
701
|
}
|
684
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
685
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
702
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: EditableInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
703
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.3", type: EditableInputComponent, isStandalone: false, selector: "color-editable-input", inputs: { style: "style", label: "label", value: "value", arrowOffset: "arrowOffset", dragLabel: "dragLabel", dragMax: "dragMax", placeholder: "placeholder" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
686
704
|
<div class="wrap" [ngStyle]="wrapStyle">
|
687
705
|
<input
|
688
706
|
[ngStyle]="inputStyle"
|
@@ -695,13 +713,15 @@ class EditableInputComponent {
|
|
695
713
|
(focusout)="handleFocusOut($event)"
|
696
714
|
[attr.aria-labelledby]="uniqueId"
|
697
715
|
/>
|
698
|
-
|
699
|
-
|
700
|
-
|
716
|
+
@if (label) {
|
717
|
+
<span [id]="uniqueId" [ngStyle]="labelStyle" (mousedown)="handleMousedown($event)">
|
718
|
+
{{ label }}
|
719
|
+
</span>
|
720
|
+
}
|
701
721
|
</div>
|
702
|
-
`, isInline: true, styles: [":host{display:flex}.wrap{position:relative}\n"], dependencies: [{ kind: "directive", type: i1.
|
722
|
+
`, isInline: true, styles: [":host{display:flex}.wrap{position:relative}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
703
723
|
}
|
704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: EditableInputComponent, decorators: [{
|
705
725
|
type: Component,
|
706
726
|
args: [{ selector: 'color-editable-input', template: `
|
707
727
|
<div class="wrap" [ngStyle]="wrapStyle">
|
@@ -716,11 +736,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
716
736
|
(focusout)="handleFocusOut($event)"
|
717
737
|
[attr.aria-labelledby]="uniqueId"
|
718
738
|
/>
|
719
|
-
|
720
|
-
|
721
|
-
|
739
|
+
@if (label) {
|
740
|
+
<span [id]="uniqueId" [ngStyle]="labelStyle" (mousedown)="handleMousedown($event)">
|
741
|
+
{{ label }}
|
742
|
+
</span>
|
743
|
+
}
|
722
744
|
</div>
|
723
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex}.wrap{position:relative}\n"] }]
|
745
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, styles: [":host{display:flex}.wrap{position:relative}\n"] }]
|
724
746
|
}], propDecorators: { style: [{
|
725
747
|
type: Input
|
726
748
|
}], label: [{
|
@@ -739,11 +761,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
739
761
|
type: Output
|
740
762
|
}] } });
|
741
763
|
class EditableInputModule {
|
742
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
743
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
744
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
764
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: EditableInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
765
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: EditableInputModule, declarations: [EditableInputComponent], imports: [CommonModule], exports: [EditableInputComponent] });
|
766
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: EditableInputModule, imports: [CommonModule] });
|
745
767
|
}
|
746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: EditableInputModule, decorators: [{
|
747
769
|
type: NgModule,
|
748
770
|
args: [{
|
749
771
|
declarations: [EditableInputComponent],
|
@@ -764,10 +786,10 @@ class HueComponent {
|
|
764
786
|
top = '';
|
765
787
|
ngOnChanges() {
|
766
788
|
if (this.direction === 'horizontal') {
|
767
|
-
this.left = `${this.hsl.h * 100 / 360}%`;
|
789
|
+
this.left = `${(this.hsl.h * 100) / 360}%`;
|
768
790
|
}
|
769
791
|
else {
|
770
|
-
this.top = `${-(this.hsl.h * 100 / 360) + 100}%`;
|
792
|
+
this.top = `${-((this.hsl.h * 100) / 360) + 100}%`;
|
771
793
|
}
|
772
794
|
}
|
773
795
|
handleChange({ top, left, containerHeight, containerWidth, $event }) {
|
@@ -781,8 +803,8 @@ class HueComponent {
|
|
781
803
|
h = 0;
|
782
804
|
}
|
783
805
|
else {
|
784
|
-
const percent = -(top * 100 / containerHeight) + 100;
|
785
|
-
h = 360 * percent / 100;
|
806
|
+
const percent = -((top * 100) / containerHeight) + 100;
|
807
|
+
h = (360 * percent) / 100;
|
786
808
|
}
|
787
809
|
if (this.hsl.h !== h) {
|
788
810
|
data = {
|
@@ -803,8 +825,8 @@ class HueComponent {
|
|
803
825
|
h = 359;
|
804
826
|
}
|
805
827
|
else {
|
806
|
-
const percent = left * 100 / containerWidth;
|
807
|
-
h = 360 * percent / 100;
|
828
|
+
const percent = (left * 100) / containerWidth;
|
829
|
+
h = (360 * percent) / 100;
|
808
830
|
}
|
809
831
|
if (this.hsl.h !== h) {
|
810
832
|
data = {
|
@@ -821,28 +843,48 @@ class HueComponent {
|
|
821
843
|
}
|
822
844
|
this.onChange.emit({ data, $event });
|
823
845
|
}
|
824
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
825
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: HueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
847
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.3", type: HueComponent, isStandalone: false, selector: "color-hue", inputs: { hsl: "hsl", pointer: "pointer", radius: "radius", shadow: "shadow", hidePointer: "hidePointer", direction: "direction" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
848
|
+
<div
|
849
|
+
class="color-hue color-hue-{{ direction }}"
|
850
|
+
[style.border-radius.px]="radius"
|
851
|
+
[style.box-shadow]="shadow"
|
852
|
+
>
|
853
|
+
<div
|
854
|
+
ngx-color-coordinates
|
855
|
+
(coordinatesChange)="handleChange($event)"
|
856
|
+
class="color-hue-container"
|
857
|
+
>
|
858
|
+
@if (!hidePointer) {
|
859
|
+
<div class="color-hue-pointer" [style.left]="left" [style.top]="top">
|
860
|
+
<div class="color-hue-slider" [ngStyle]="pointer"></div>
|
861
|
+
</div>
|
862
|
+
}
|
830
863
|
</div>
|
831
864
|
</div>
|
832
|
-
|
833
|
-
`, isInline: true, styles: [".color-hue{position:absolute;inset:0}.color-hue-container{margin:0 2px;position:relative;height:100%}.color-hue-pointer{position:absolute}.color-hue-slider{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.color-hue-vertical{background:linear-gradient(to top,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: CoordinatesDirective, selector: "[ngx-color-coordinates]", outputs: ["coordinatesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
865
|
+
`, isInline: true, styles: [".color-hue{position:absolute;inset:0}.color-hue-container{margin:0 2px;position:relative;height:100%}.color-hue-pointer{position:absolute}.color-hue-slider{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.color-hue-vertical{background:linear-gradient(to top,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: CoordinatesDirective, selector: "[ngx-color-coordinates]", outputs: ["coordinatesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
834
866
|
}
|
835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: HueComponent, decorators: [{
|
836
868
|
type: Component,
|
837
869
|
args: [{ selector: 'color-hue', template: `
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
870
|
+
<div
|
871
|
+
class="color-hue color-hue-{{ direction }}"
|
872
|
+
[style.border-radius.px]="radius"
|
873
|
+
[style.box-shadow]="shadow"
|
874
|
+
>
|
875
|
+
<div
|
876
|
+
ngx-color-coordinates
|
877
|
+
(coordinatesChange)="handleChange($event)"
|
878
|
+
class="color-hue-container"
|
879
|
+
>
|
880
|
+
@if (!hidePointer) {
|
881
|
+
<div class="color-hue-pointer" [style.left]="left" [style.top]="top">
|
882
|
+
<div class="color-hue-slider" [ngStyle]="pointer"></div>
|
883
|
+
</div>
|
884
|
+
}
|
842
885
|
</div>
|
843
886
|
</div>
|
844
|
-
|
845
|
-
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".color-hue{position:absolute;inset:0}.color-hue-container{margin:0 2px;position:relative;height:100%}.color-hue-pointer{position:absolute}.color-hue-slider{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.color-hue-vertical{background:linear-gradient(to top,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}\n"] }]
|
887
|
+
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, styles: [".color-hue{position:absolute;inset:0}.color-hue-container{margin:0 2px;position:relative;height:100%}.color-hue-pointer{position:absolute}.color-hue-slider{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.color-hue-vertical{background:linear-gradient(to top,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}\n"] }]
|
846
888
|
}], propDecorators: { hsl: [{
|
847
889
|
type: Input
|
848
890
|
}], pointer: [{
|
@@ -859,11 +901,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
859
901
|
type: Output
|
860
902
|
}] } });
|
861
903
|
class HueModule {
|
862
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
863
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
864
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
904
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: HueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
905
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: HueModule, declarations: [HueComponent], imports: [CommonModule, CoordinatesModule], exports: [HueComponent] });
|
906
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: HueModule, imports: [CommonModule, CoordinatesModule] });
|
865
907
|
}
|
866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: HueModule, decorators: [{
|
867
909
|
type: NgModule,
|
868
910
|
args: [{
|
869
911
|
declarations: [HueComponent],
|
@@ -876,26 +918,26 @@ class RaisedComponent {
|
|
876
918
|
zDepth = 1;
|
877
919
|
radius = 1;
|
878
920
|
background = '#fff';
|
879
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
880
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
921
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RaisedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
922
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.3", type: RaisedComponent, isStandalone: false, selector: "color-raised", inputs: { zDepth: "zDepth", radius: "radius", background: "background" }, ngImport: i0, template: `
|
923
|
+
<div class="raised-wrap">
|
924
|
+
<div class="raised-bg zDepth-{{ zDepth }}" [style.background]="background"></div>
|
925
|
+
<div class="raised-content">
|
926
|
+
<ng-content></ng-content>
|
927
|
+
</div>
|
885
928
|
</div>
|
886
|
-
</div>
|
887
929
|
`, isInline: true, styles: [".raised-wrap{position:relative;display:inline-block}.raised-bg{position:absolute;inset:0}.raised-content{position:relative}.zDepth-0{box-shadow:none}.zDepth-1{box-shadow:0 2px 10px #0000001f,0 2px 5px #00000029}.zDepth-2{box-shadow:0 6px 20px #00000030,0 8px 17px #0003}.zDepth-3{box-shadow:0 17px 50px #00000030,0 12px 15px #0000003d}.zDepth-4{box-shadow:0 25px 55px #00000036,0 16px 28px #00000038}.zDepth-5{box-shadow:0 40px 77px #00000038,0 27px 24px #0003}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
888
930
|
}
|
889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RaisedComponent, decorators: [{
|
890
932
|
type: Component,
|
891
933
|
args: [{ selector: 'color-raised', template: `
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
934
|
+
<div class="raised-wrap">
|
935
|
+
<div class="raised-bg zDepth-{{ zDepth }}" [style.background]="background"></div>
|
936
|
+
<div class="raised-content">
|
937
|
+
<ng-content></ng-content>
|
938
|
+
</div>
|
896
939
|
</div>
|
897
|
-
|
898
|
-
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".raised-wrap{position:relative;display:inline-block}.raised-bg{position:absolute;inset:0}.raised-content{position:relative}.zDepth-0{box-shadow:none}.zDepth-1{box-shadow:0 2px 10px #0000001f,0 2px 5px #00000029}.zDepth-2{box-shadow:0 6px 20px #00000030,0 8px 17px #0003}.zDepth-3{box-shadow:0 17px 50px #00000030,0 12px 15px #0000003d}.zDepth-4{box-shadow:0 25px 55px #00000036,0 16px 28px #00000038}.zDepth-5{box-shadow:0 40px 77px #00000038,0 27px 24px #0003}\n"] }]
|
940
|
+
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, styles: [".raised-wrap{position:relative;display:inline-block}.raised-bg{position:absolute;inset:0}.raised-content{position:relative}.zDepth-0{box-shadow:none}.zDepth-1{box-shadow:0 2px 10px #0000001f,0 2px 5px #00000029}.zDepth-2{box-shadow:0 6px 20px #00000030,0 8px 17px #0003}.zDepth-3{box-shadow:0 17px 50px #00000030,0 12px 15px #0000003d}.zDepth-4{box-shadow:0 25px 55px #00000036,0 16px 28px #00000038}.zDepth-5{box-shadow:0 40px 77px #00000038,0 27px 24px #0003}\n"] }]
|
899
941
|
}], propDecorators: { zDepth: [{
|
900
942
|
type: Input
|
901
943
|
}], radius: [{
|
@@ -904,11 +946,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
904
946
|
type: Input
|
905
947
|
}] } });
|
906
948
|
class RaisedModule {
|
907
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
908
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
909
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
949
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RaisedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
950
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: RaisedModule, declarations: [RaisedComponent], imports: [CommonModule], exports: [RaisedComponent] });
|
951
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RaisedModule, imports: [CommonModule] });
|
910
952
|
}
|
911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: RaisedModule, decorators: [{
|
912
954
|
type: NgModule,
|
913
955
|
args: [{
|
914
956
|
declarations: [RaisedComponent],
|
@@ -958,30 +1000,50 @@ class SaturationComponent {
|
|
958
1000
|
};
|
959
1001
|
this.onChange.emit({ data, $event });
|
960
1002
|
}
|
961
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
962
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
1003
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SaturationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1004
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.3", type: SaturationComponent, isStandalone: false, selector: "color-saturation", inputs: { hsl: "hsl", hsv: "hsv", radius: "radius", pointer: "pointer", circle: "circle" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
1005
|
+
<div
|
1006
|
+
class="color-saturation"
|
1007
|
+
ngx-color-coordinates
|
1008
|
+
(coordinatesChange)="handleChange($event)"
|
1009
|
+
[style.background]="background"
|
1010
|
+
>
|
1011
|
+
<div class="saturation-white">
|
1012
|
+
<div class="saturation-black"></div>
|
1013
|
+
<div
|
1014
|
+
class="saturation-pointer"
|
1015
|
+
[ngStyle]="pointer"
|
1016
|
+
[style.top]="pointerTop"
|
1017
|
+
[style.left]="pointerLeft"
|
1018
|
+
>
|
1019
|
+
<div class="saturation-circle" [ngStyle]="circle"></div>
|
1020
|
+
</div>
|
968
1021
|
</div>
|
969
1022
|
</div>
|
970
|
-
|
971
|
-
`, isInline: true, styles: [".saturation-white{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;inset:0}.saturation-black{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;inset:0}.color-saturation{position:absolute;inset:0}.saturation-pointer{position:absolute;cursor:default}.saturation-circle{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: CoordinatesDirective, selector: "[ngx-color-coordinates]", outputs: ["coordinatesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1023
|
+
`, isInline: true, styles: [".saturation-white{background:linear-gradient(to right,#fff,#fff0);position:absolute;inset:0}.saturation-black{background:linear-gradient(to top,#000,#0000);position:absolute;inset:0}.color-saturation{position:absolute;inset:0}.saturation-pointer{position:absolute;cursor:default}.saturation-circle{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: CoordinatesDirective, selector: "[ngx-color-coordinates]", outputs: ["coordinatesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
972
1024
|
}
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SaturationComponent, decorators: [{
|
974
1026
|
type: Component,
|
975
1027
|
args: [{ selector: 'color-saturation', template: `
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
1028
|
+
<div
|
1029
|
+
class="color-saturation"
|
1030
|
+
ngx-color-coordinates
|
1031
|
+
(coordinatesChange)="handleChange($event)"
|
1032
|
+
[style.background]="background"
|
1033
|
+
>
|
1034
|
+
<div class="saturation-white">
|
1035
|
+
<div class="saturation-black"></div>
|
1036
|
+
<div
|
1037
|
+
class="saturation-pointer"
|
1038
|
+
[ngStyle]="pointer"
|
1039
|
+
[style.top]="pointerTop"
|
1040
|
+
[style.left]="pointerLeft"
|
1041
|
+
>
|
1042
|
+
<div class="saturation-circle" [ngStyle]="circle"></div>
|
1043
|
+
</div>
|
981
1044
|
</div>
|
982
1045
|
</div>
|
983
|
-
|
984
|
-
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".saturation-white{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;inset:0}.saturation-black{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;inset:0}.color-saturation{position:absolute;inset:0}.saturation-pointer{position:absolute;cursor:default}.saturation-circle{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}\n"] }]
|
1046
|
+
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, styles: [".saturation-white{background:linear-gradient(to right,#fff,#fff0);position:absolute;inset:0}.saturation-black{background:linear-gradient(to top,#000,#0000);position:absolute;inset:0}.color-saturation{position:absolute;inset:0}.saturation-pointer{position:absolute;cursor:default}.saturation-circle{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}\n"] }]
|
985
1047
|
}], propDecorators: { hsl: [{
|
986
1048
|
type: Input
|
987
1049
|
}], hsv: [{
|
@@ -996,11 +1058,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
996
1058
|
type: Output
|
997
1059
|
}] } });
|
998
1060
|
class SaturationModule {
|
999
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1000
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
1001
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1061
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SaturationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1062
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: SaturationModule, declarations: [SaturationComponent], imports: [CommonModule, CoordinatesModule], exports: [SaturationComponent] });
|
1063
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SaturationModule, imports: [CommonModule, CoordinatesModule] });
|
1002
1064
|
}
|
1003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SaturationModule, decorators: [{
|
1004
1066
|
type: NgModule,
|
1005
1067
|
args: [{
|
1006
1068
|
declarations: [SaturationComponent],
|
@@ -1044,8 +1106,8 @@ class SwatchComponent {
|
|
1044
1106
|
handleClick(hex, $event) {
|
1045
1107
|
this.onClick.emit({ hex, $event });
|
1046
1108
|
}
|
1047
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1048
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SwatchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1110
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.3", type: SwatchComponent, isStandalone: false, selector: "color-swatch", inputs: { color: "color", style: "style", focusStyle: "focusStyle", focus: "focus" }, outputs: { onClick: "onClick", onHover: "onHover" }, ngImport: i0, template: `
|
1049
1111
|
<div
|
1050
1112
|
class="swatch"
|
1051
1113
|
[ngStyle]="currentStyles()"
|
@@ -1058,14 +1120,13 @@ class SwatchComponent {
|
|
1058
1120
|
tabindex="0"
|
1059
1121
|
>
|
1060
1122
|
<ng-content></ng-content>
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
></color-checkboard>
|
1123
|
+
@if (color === 'transparent') {
|
1124
|
+
<color-checkboard boxShadow="inset 0 0 0 1px rgba(0,0,0,0.1)"></color-checkboard>
|
1125
|
+
}
|
1065
1126
|
</div>
|
1066
|
-
`, isInline: true, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"], dependencies: [{ kind: "directive", type: i1.
|
1127
|
+
`, isInline: true, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: CheckboardComponent, selector: "color-checkboard", inputs: ["white", "size", "grey", "boxShadow", "borderRadius"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1067
1128
|
}
|
1068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SwatchComponent, decorators: [{
|
1069
1130
|
type: Component,
|
1070
1131
|
args: [{ selector: 'color-swatch', template: `
|
1071
1132
|
<div
|
@@ -1080,12 +1141,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
1080
1141
|
tabindex="0"
|
1081
1142
|
>
|
1082
1143
|
<ng-content></ng-content>
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
></color-checkboard>
|
1144
|
+
@if (color === 'transparent') {
|
1145
|
+
<color-checkboard boxShadow="inset 0 0 0 1px rgba(0,0,0,0.1)"></color-checkboard>
|
1146
|
+
}
|
1087
1147
|
</div>
|
1088
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"] }]
|
1148
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"] }]
|
1089
1149
|
}], propDecorators: { color: [{
|
1090
1150
|
type: Input
|
1091
1151
|
}], style: [{
|
@@ -1100,11 +1160,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
1100
1160
|
type: Output
|
1101
1161
|
}] } });
|
1102
1162
|
class SwatchModule {
|
1103
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1104
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
1105
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1163
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SwatchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1164
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: SwatchModule, declarations: [SwatchComponent], imports: [CommonModule, CheckboardModule], exports: [SwatchComponent] });
|
1165
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SwatchModule, imports: [CommonModule, CheckboardModule] });
|
1106
1166
|
}
|
1107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: SwatchModule, decorators: [{
|
1108
1168
|
type: NgModule,
|
1109
1169
|
args: [{
|
1110
1170
|
declarations: [SwatchComponent],
|
@@ -1130,7 +1190,7 @@ class ShadeComponent {
|
|
1130
1190
|
#000)`,
|
1131
1191
|
};
|
1132
1192
|
const hsv = new TinyColor(this.hsl).toHsv();
|
1133
|
-
this.pointerLeft = 100 -
|
1193
|
+
this.pointerLeft = 100 - hsv.v * 100;
|
1134
1194
|
}
|
1135
1195
|
handleChange({ left, containerWidth, $event }) {
|
1136
1196
|
let data;
|
@@ -1160,8 +1220,8 @@ class ShadeComponent {
|
|
1160
1220
|
}
|
1161
1221
|
this.onChange.emit({ data, $event });
|
1162
1222
|
}
|
1163
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1164
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
1223
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ShadeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1224
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.3", type: ShadeComponent, isStandalone: false, selector: "color-shade", inputs: { hsl: "hsl", rgb: "rgb", pointer: "pointer", shadow: "shadow", radius: "radius" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
1165
1225
|
<div class="shade" [style.border-radius]="radius">
|
1166
1226
|
<div
|
1167
1227
|
class="shade-gradient"
|
@@ -1169,23 +1229,15 @@ class ShadeComponent {
|
|
1169
1229
|
[style.box-shadow]="shadow"
|
1170
1230
|
[style.border-radius]="radius"
|
1171
1231
|
></div>
|
1172
|
-
<div
|
1173
|
-
|
1174
|
-
(coordinatesChange)="handleChange($event)"
|
1175
|
-
class="shade-container"
|
1176
|
-
>
|
1177
|
-
<div
|
1178
|
-
class="shade-pointer"
|
1179
|
-
[style.left.%]="pointerLeft"
|
1180
|
-
[style.top.%]="pointerTop"
|
1181
|
-
>
|
1232
|
+
<div ngx-color-coordinates (coordinatesChange)="handleChange($event)" class="shade-container">
|
1233
|
+
<div class="shade-pointer" [style.left.%]="pointerLeft" [style.top.%]="pointerTop">
|
1182
1234
|
<div class="shade-slider" [ngStyle]="pointer"></div>
|
1183
1235
|
</div>
|
1184
1236
|
</div>
|
1185
1237
|
</div>
|
1186
1238
|
`, isInline: true, styles: [".shade,.shade-gradient{position:absolute;inset:0}.shade-container{position:relative;height:100%;margin:0 3px}.shade-pointer{position:absolute}.shade-slider{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: CoordinatesDirective, selector: "[ngx-color-coordinates]", outputs: ["coordinatesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1187
1239
|
}
|
1188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ShadeComponent, decorators: [{
|
1189
1241
|
type: Component,
|
1190
1242
|
args: [{ selector: 'color-shade', template: `
|
1191
1243
|
<div class="shade" [style.border-radius]="radius">
|
@@ -1195,21 +1247,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
1195
1247
|
[style.box-shadow]="shadow"
|
1196
1248
|
[style.border-radius]="radius"
|
1197
1249
|
></div>
|
1198
|
-
<div
|
1199
|
-
|
1200
|
-
(coordinatesChange)="handleChange($event)"
|
1201
|
-
class="shade-container"
|
1202
|
-
>
|
1203
|
-
<div
|
1204
|
-
class="shade-pointer"
|
1205
|
-
[style.left.%]="pointerLeft"
|
1206
|
-
[style.top.%]="pointerTop"
|
1207
|
-
>
|
1250
|
+
<div ngx-color-coordinates (coordinatesChange)="handleChange($event)" class="shade-container">
|
1251
|
+
<div class="shade-pointer" [style.left.%]="pointerLeft" [style.top.%]="pointerTop">
|
1208
1252
|
<div class="shade-slider" [ngStyle]="pointer"></div>
|
1209
1253
|
</div>
|
1210
1254
|
</div>
|
1211
1255
|
</div>
|
1212
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, styles: [".shade,.shade-gradient{position:absolute;inset:0}.shade-container{position:relative;height:100%;margin:0 3px}.shade-pointer{position:absolute}.shade-slider{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}\n"] }]
|
1256
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, standalone: false, styles: [".shade,.shade-gradient{position:absolute;inset:0}.shade-container{position:relative;height:100%;margin:0 3px}.shade-pointer{position:absolute}.shade-slider{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}\n"] }]
|
1213
1257
|
}], propDecorators: { hsl: [{
|
1214
1258
|
type: Input
|
1215
1259
|
}], rgb: [{
|
@@ -1224,11 +1268,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
1224
1268
|
type: Output
|
1225
1269
|
}] } });
|
1226
1270
|
class ShadeModule {
|
1227
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1228
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
1229
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1271
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ShadeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1272
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: ShadeModule, declarations: [ShadeComponent], imports: [CommonModule, CoordinatesModule], exports: [ShadeComponent] });
|
1273
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ShadeModule, imports: [CommonModule, CoordinatesModule] });
|
1230
1274
|
}
|
1231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: ShadeModule, decorators: [{
|
1232
1276
|
type: NgModule,
|
1233
1277
|
args: [{
|
1234
1278
|
declarations: [ShadeComponent],
|