ngx-color 7.3.3 → 8.0.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 +2 -1
- package/alpha.component.d.ts +1 -1
- package/checkboard.component.d.ts +1 -1
- package/color-wrap.component.d.ts +1 -1
- package/coordinates.directive.d.ts +1 -1
- package/editable-input.component.d.ts +1 -1
- package/esm2020/alpha.component.mjs +13 -61
- package/esm2020/checkboard.component.mjs +9 -25
- package/esm2020/color-wrap.component.mjs +8 -8
- package/esm2020/coordinates.directive.mjs +7 -7
- package/esm2020/editable-input.component.mjs +11 -25
- package/esm2020/hue.component.mjs +13 -54
- package/esm2020/raised.component.mjs +10 -49
- package/esm2020/saturation.component.mjs +13 -57
- package/esm2020/shade.component.mjs +11 -51
- package/esm2020/swatch.component.mjs +13 -28
- package/fesm2015/ngx-color.mjs +92 -349
- package/fesm2015/ngx-color.mjs.map +1 -1
- package/fesm2020/ngx-color.mjs +92 -349
- package/fesm2020/ngx-color.mjs.map +1 -1
- package/hue.component.d.ts +1 -1
- package/{ngx-color.d.ts → index.d.ts} +0 -0
- package/package.json +6 -119
- package/raised.component.d.ts +1 -1
- package/saturation.component.d.ts +1 -1
- package/shade.component.d.ts +1 -1
- package/swatch.component.d.ts +1 -1
- package/alpha/alpha-picker.component.d.ts +0 -28
- package/alpha/ngx-color-alpha.d.ts +0 -5
- package/alpha/package.json +0 -17
- package/alpha/public_api.d.ts +0 -1
- package/block/block-swatches.component.d.ts +0 -24
- package/block/block.component.d.ts +0 -36
- package/block/ngx-color-block.d.ts +0 -5
- package/block/package.json +0 -16
- package/block/public_api.d.ts +0 -2
- package/chrome/chrome-fields.component.d.ts +0 -22
- package/chrome/chrome.component.d.ts +0 -25
- package/chrome/ngx-color-chrome.d.ts +0 -5
- package/chrome/package.json +0 -16
- package/chrome/public_api.d.ts +0 -2
- package/circle/circle-swatch.component.d.ts +0 -19
- package/circle/circle.component.d.ts +0 -32
- package/circle/ngx-color-circle.d.ts +0 -5
- package/circle/package.json +0 -19
- package/circle/public_api.d.ts +0 -2
- package/compact/compact-color.component.d.ts +0 -19
- package/compact/compact-fields.component.d.ts +0 -32
- package/compact/compact.component.d.ts +0 -30
- package/compact/ngx-color-compact.d.ts +0 -5
- package/compact/package.json +0 -16
- package/compact/public_api.d.ts +0 -3
- package/esm2020/alpha/alpha-picker.component.mjs +0 -116
- package/esm2020/alpha/ngx-color-alpha.mjs +0 -5
- package/esm2020/alpha/public_api.mjs +0 -2
- package/esm2020/block/block-swatches.component.mjs +0 -74
- package/esm2020/block/block.component.mjs +0 -199
- package/esm2020/block/ngx-color-block.mjs +0 -5
- package/esm2020/block/public_api.mjs +0 -3
- package/esm2020/chrome/chrome-fields.component.mjs +0 -356
- package/esm2020/chrome/chrome.component.mjs +0 -249
- package/esm2020/chrome/ngx-color-chrome.mjs +0 -5
- package/esm2020/chrome/public_api.mjs +0 -3
- package/esm2020/circle/circle-swatch.component.mjs +0 -85
- package/esm2020/circle/circle.component.mjs +0 -148
- package/esm2020/circle/ngx-color-circle.mjs +0 -5
- package/esm2020/circle/public_api.mjs +0 -3
- package/esm2020/compact/compact-color.component.mjs +0 -91
- package/esm2020/compact/compact-fields.component.mjs +0 -186
- package/esm2020/compact/compact.component.mjs +0 -177
- package/esm2020/compact/ngx-color-compact.mjs +0 -5
- package/esm2020/compact/public_api.mjs +0 -4
- package/esm2020/github/github-swatch.component.mjs +0 -67
- package/esm2020/github/github.component.mjs +0 -179
- package/esm2020/github/ngx-color-github.mjs +0 -5
- package/esm2020/github/public_api.mjs +0 -3
- package/esm2020/hue/hue-picker.component.mjs +0 -113
- package/esm2020/hue/ngx-color-hue.mjs +0 -5
- package/esm2020/hue/public_api.mjs +0 -2
- package/esm2020/material/material.component.mjs +0 -211
- package/esm2020/material/ngx-color-material.mjs +0 -5
- package/esm2020/material/public_api.mjs +0 -2
- package/esm2020/photoshop/ngx-color-photoshop.mjs +0 -5
- package/esm2020/photoshop/photoshop-button.component.mjs +0 -63
- package/esm2020/photoshop/photoshop-fields.component.mjs +0 -241
- package/esm2020/photoshop/photoshop-previews.component.mjs +0 -68
- package/esm2020/photoshop/photoshop.component.mjs +0 -258
- package/esm2020/photoshop/public_api.mjs +0 -5
- package/esm2020/shade/ngx-color-shade.mjs +0 -5
- package/esm2020/shade/public_api.mjs +0 -2
- package/esm2020/shade/shade-picker.component.mjs +0 -105
- package/esm2020/sketch/ngx-color-sketch.mjs +0 -5
- package/esm2020/sketch/public_api.mjs +0 -4
- package/esm2020/sketch/sketch-fields.component.mjs +0 -243
- package/esm2020/sketch/sketch-preset-colors.component.mjs +0 -98
- package/esm2020/sketch/sketch.component.mjs +0 -283
- package/esm2020/slider/ngx-color-slider.mjs +0 -5
- package/esm2020/slider/public_api.mjs +0 -4
- package/esm2020/slider/slider-swatch.component.mjs +0 -80
- package/esm2020/slider/slider-swatches.component.mjs +0 -135
- package/esm2020/slider/slider.component.mjs +0 -116
- package/esm2020/swatches/ngx-color-swatches.mjs +0 -5
- package/esm2020/swatches/public_api.mjs +0 -4
- package/esm2020/swatches/swatches-color.component.mjs +0 -123
- package/esm2020/swatches/swatches-group.component.mjs +0 -64
- package/esm2020/swatches/swatches.component.mjs +0 -258
- package/esm2020/twitter/ngx-color-twitter.mjs +0 -5
- package/esm2020/twitter/public_api.mjs +0 -2
- package/esm2020/twitter/twitter.component.mjs +0 -255
- package/fesm2015/ngx-color-alpha.mjs +0 -123
- package/fesm2015/ngx-color-alpha.mjs.map +0 -1
- package/fesm2015/ngx-color-block.mjs +0 -275
- package/fesm2015/ngx-color-block.mjs.map +0 -1
- package/fesm2015/ngx-color-chrome.mjs +0 -606
- package/fesm2015/ngx-color-chrome.mjs.map +0 -1
- package/fesm2015/ngx-color-circle.mjs +0 -237
- package/fesm2015/ngx-color-circle.mjs.map +0 -1
- package/fesm2015/ngx-color-compact.mjs +0 -451
- package/fesm2015/ngx-color-compact.mjs.map +0 -1
- package/fesm2015/ngx-color-github.mjs +0 -250
- package/fesm2015/ngx-color-github.mjs.map +0 -1
- package/fesm2015/ngx-color-hue.mjs +0 -120
- package/fesm2015/ngx-color-hue.mjs.map +0 -1
- package/fesm2015/ngx-color-material.mjs +0 -218
- package/fesm2015/ngx-color-material.mjs.map +0 -1
- package/fesm2015/ngx-color-photoshop.mjs +0 -626
- package/fesm2015/ngx-color-photoshop.mjs.map +0 -1
- package/fesm2015/ngx-color-shade.mjs +0 -112
- package/fesm2015/ngx-color-shade.mjs.map +0 -1
- package/fesm2015/ngx-color-sketch.mjs +0 -620
- package/fesm2015/ngx-color-sketch.mjs.map +0 -1
- package/fesm2015/ngx-color-slider.mjs +0 -331
- package/fesm2015/ngx-color-slider.mjs.map +0 -1
- package/fesm2015/ngx-color-swatches.mjs +0 -441
- package/fesm2015/ngx-color-swatches.mjs.map +0 -1
- package/fesm2015/ngx-color-twitter.mjs +0 -262
- package/fesm2015/ngx-color-twitter.mjs.map +0 -1
- package/fesm2020/ngx-color-alpha.mjs +0 -123
- package/fesm2020/ngx-color-alpha.mjs.map +0 -1
- package/fesm2020/ngx-color-block.mjs +0 -275
- package/fesm2020/ngx-color-block.mjs.map +0 -1
- package/fesm2020/ngx-color-chrome.mjs +0 -606
- package/fesm2020/ngx-color-chrome.mjs.map +0 -1
- package/fesm2020/ngx-color-circle.mjs +0 -237
- package/fesm2020/ngx-color-circle.mjs.map +0 -1
- package/fesm2020/ngx-color-compact.mjs +0 -451
- package/fesm2020/ngx-color-compact.mjs.map +0 -1
- package/fesm2020/ngx-color-github.mjs +0 -250
- package/fesm2020/ngx-color-github.mjs.map +0 -1
- package/fesm2020/ngx-color-hue.mjs +0 -120
- package/fesm2020/ngx-color-hue.mjs.map +0 -1
- package/fesm2020/ngx-color-material.mjs +0 -218
- package/fesm2020/ngx-color-material.mjs.map +0 -1
- package/fesm2020/ngx-color-photoshop.mjs +0 -626
- package/fesm2020/ngx-color-photoshop.mjs.map +0 -1
- package/fesm2020/ngx-color-shade.mjs +0 -112
- package/fesm2020/ngx-color-shade.mjs.map +0 -1
- package/fesm2020/ngx-color-sketch.mjs +0 -620
- package/fesm2020/ngx-color-sketch.mjs.map +0 -1
- package/fesm2020/ngx-color-slider.mjs +0 -331
- package/fesm2020/ngx-color-slider.mjs.map +0 -1
- package/fesm2020/ngx-color-swatches.mjs +0 -441
- package/fesm2020/ngx-color-swatches.mjs.map +0 -1
- package/fesm2020/ngx-color-twitter.mjs +0 -262
- package/fesm2020/ngx-color-twitter.mjs.map +0 -1
- package/github/github-swatch.component.d.ts +0 -19
- package/github/github.component.d.ts +0 -28
- package/github/ngx-color-github.d.ts +0 -5
- package/github/package.json +0 -16
- package/github/public_api.d.ts +0 -2
- package/hue/hue-picker.component.d.ts +0 -29
- package/hue/ngx-color-hue.d.ts +0 -5
- package/hue/package.json +0 -15
- package/hue/public_api.d.ts +0 -1
- package/material/material.component.d.ts +0 -39
- package/material/ngx-color-material.d.ts +0 -5
- package/material/package.json +0 -15
- package/material/public_api.d.ts +0 -1
- package/photoshop/ngx-color-photoshop.d.ts +0 -5
- package/photoshop/package.json +0 -15
- package/photoshop/photoshop-button.component.d.ts +0 -9
- package/photoshop/photoshop-fields.component.d.ts +0 -22
- package/photoshop/photoshop-previews.component.d.ts +0 -11
- package/photoshop/photoshop.component.d.ts +0 -33
- package/photoshop/public_api.d.ts +0 -4
- package/shade/ngx-color-shade.d.ts +0 -5
- package/shade/package.json +0 -17
- package/shade/public_api.d.ts +0 -1
- package/shade/shade-picker.component.d.ts +0 -27
- package/sketch/ngx-color-sketch.d.ts +0 -5
- package/sketch/package.json +0 -15
- package/sketch/public_api.d.ts +0 -3
- package/sketch/sketch-fields.component.d.ts +0 -23
- package/sketch/sketch-preset-colors.component.d.ts +0 -24
- package/sketch/sketch.component.d.ts +0 -32
- package/slider/ngx-color-slider.d.ts +0 -5
- package/slider/package.json +0 -15
- package/slider/public_api.d.ts +0 -3
- package/slider/slider-swatch.component.d.ts +0 -16
- package/slider/slider-swatches.component.d.ts +0 -15
- package/slider/slider.component.d.ts +0 -22
- package/swatches/ngx-color-swatches.d.ts +0 -5
- package/swatches/package.json +0 -18
- package/swatches/public_api.d.ts +0 -3
- package/swatches/swatches-color.component.d.ts +0 -18
- package/swatches/swatches-group.component.d.ts +0 -10
- package/swatches/swatches.component.d.ts +0 -29
- package/twitter/ngx-color-twitter.d.ts +0 -5
- package/twitter/package.json +0 -15
- package/twitter/public_api.d.ts +0 -1
- package/twitter/twitter.component.d.ts +0 -31
package/fesm2015/ngx-color.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import * as
|
1
|
+
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
4
|
import { Component, ChangeDetectionStrategy, Input, NgModule, Directive, Output, HostListener, EventEmitter, isDevMode, forwardRef } from '@angular/core';
|
@@ -55,27 +55,11 @@ class CheckboardComponent {
|
|
55
55
|
};
|
56
56
|
}
|
57
57
|
}
|
58
|
-
CheckboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
59
|
-
CheckboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
58
|
+
CheckboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CheckboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
59
|
+
CheckboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: CheckboardComponent, 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{top:0px;right:0px;bottom:0px;left:0px;position:absolute}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CheckboardComponent, decorators: [{
|
61
61
|
type: Component,
|
62
|
-
args: [{
|
63
|
-
selector: 'color-checkboard',
|
64
|
-
template: `<div class="grid" [ngStyle]="gridStyles"></div>`,
|
65
|
-
styles: [
|
66
|
-
`
|
67
|
-
.grid {
|
68
|
-
top: 0px;
|
69
|
-
right: 0px;
|
70
|
-
bottom: 0px;
|
71
|
-
left: 0px;
|
72
|
-
position: absolute;
|
73
|
-
}
|
74
|
-
`,
|
75
|
-
],
|
76
|
-
preserveWhitespaces: false,
|
77
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
78
|
-
}]
|
62
|
+
args: [{ selector: 'color-checkboard', template: `<div class="grid" [ngStyle]="gridStyles"></div>`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".grid{top:0px;right:0px;bottom:0px;left:0px;position:absolute}\n"] }]
|
79
63
|
}], propDecorators: { white: [{
|
80
64
|
type: Input
|
81
65
|
}], size: [{
|
@@ -89,10 +73,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
89
73
|
}] } });
|
90
74
|
class CheckboardModule {
|
91
75
|
}
|
92
|
-
CheckboardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
93
|
-
CheckboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
94
|
-
CheckboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
76
|
+
CheckboardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CheckboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
77
|
+
CheckboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: CheckboardModule, declarations: [CheckboardComponent], imports: [CommonModule], exports: [CheckboardComponent] });
|
78
|
+
CheckboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CheckboardModule, imports: [CommonModule] });
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CheckboardModule, decorators: [{
|
96
80
|
type: NgModule,
|
97
81
|
args: [{
|
98
82
|
declarations: [CheckboardComponent],
|
@@ -152,9 +136,9 @@ class CoordinatesDirective {
|
|
152
136
|
});
|
153
137
|
}
|
154
138
|
}
|
155
|
-
CoordinatesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
156
|
-
CoordinatesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
139
|
+
CoordinatesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CoordinatesDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
140
|
+
CoordinatesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: CoordinatesDirective, 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 });
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CoordinatesDirective, decorators: [{
|
158
142
|
type: Directive,
|
159
143
|
args: [{ selector: '[ngx-color-coordinates]' }]
|
160
144
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { coordinatesChange: [{
|
@@ -190,10 +174,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
190
174
|
}] } });
|
191
175
|
class CoordinatesModule {
|
192
176
|
}
|
193
|
-
CoordinatesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
194
|
-
CoordinatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
195
|
-
CoordinatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
177
|
+
CoordinatesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CoordinatesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
178
|
+
CoordinatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: CoordinatesModule, declarations: [CoordinatesDirective], exports: [CoordinatesDirective] });
|
179
|
+
CoordinatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CoordinatesModule });
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: CoordinatesModule, decorators: [{
|
197
181
|
type: NgModule,
|
198
182
|
args: [{
|
199
183
|
declarations: [CoordinatesDirective],
|
@@ -273,8 +257,8 @@ class AlphaComponent {
|
|
273
257
|
this.onChange.emit({ data, $event });
|
274
258
|
}
|
275
259
|
}
|
276
|
-
AlphaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
277
|
-
AlphaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
260
|
+
AlphaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AlphaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
261
|
+
AlphaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AlphaComponent, selector: "color-alpha", inputs: { hsl: "hsl", rgb: "rgb", pointer: "pointer", shadow: "shadow", radius: "radius", direction: "direction" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
278
262
|
<div class="alpha" [style.border-radius]="radius">
|
279
263
|
<div class="alpha-checkboard">
|
280
264
|
<color-checkboard></color-checkboard>
|
@@ -286,12 +270,10 @@ AlphaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
286
270
|
</div>
|
287
271
|
</div>
|
288
272
|
</div>
|
289
|
-
`, isInline: true, styles: [".alpha{position:absolute;top:0;bottom:0;left:0;right:0}.alpha-checkboard{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.alpha-gradient{position:absolute;top:0;bottom:0;left:0;right: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"],
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
273
|
+
`, isInline: true, styles: [".alpha{position:absolute;top:0;bottom:0;left:0;right:0}.alpha-checkboard{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.alpha-gradient{position:absolute;top:0;bottom:0;left:0;right: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 });
|
274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AlphaComponent, decorators: [{
|
291
275
|
type: Component,
|
292
|
-
args: [{
|
293
|
-
selector: 'color-alpha',
|
294
|
-
template: `
|
276
|
+
args: [{ selector: 'color-alpha', template: `
|
295
277
|
<div class="alpha" [style.border-radius]="radius">
|
296
278
|
<div class="alpha-checkboard">
|
297
279
|
<color-checkboard></color-checkboard>
|
@@ -303,53 +285,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
303
285
|
</div>
|
304
286
|
</div>
|
305
287
|
</div>
|
306
|
-
`,
|
307
|
-
styles: [
|
308
|
-
`
|
309
|
-
.alpha {
|
310
|
-
position: absolute;
|
311
|
-
top: 0;
|
312
|
-
bottom: 0;
|
313
|
-
left: 0;
|
314
|
-
right: 0;
|
315
|
-
}
|
316
|
-
.alpha-checkboard {
|
317
|
-
position: absolute;
|
318
|
-
top: 0;
|
319
|
-
bottom: 0;
|
320
|
-
left: 0;
|
321
|
-
right: 0;
|
322
|
-
overflow: hidden;
|
323
|
-
}
|
324
|
-
.alpha-gradient {
|
325
|
-
position: absolute;
|
326
|
-
top: 0;
|
327
|
-
bottom: 0;
|
328
|
-
left: 0;
|
329
|
-
right: 0;
|
330
|
-
}
|
331
|
-
.alpha-container {
|
332
|
-
position: relative;
|
333
|
-
height: 100%;
|
334
|
-
margin: 0 3px;
|
335
|
-
}
|
336
|
-
.alpha-pointer {
|
337
|
-
position: absolute;
|
338
|
-
}
|
339
|
-
.alpha-slider {
|
340
|
-
width: 4px;
|
341
|
-
border-radius: 1px;
|
342
|
-
height: 8px;
|
343
|
-
box-shadow: 0 0 2px rgba(0, 0, 0, .6);
|
344
|
-
background: #fff;
|
345
|
-
margin-top: 1px;
|
346
|
-
transform: translateX(-2px);
|
347
|
-
}
|
348
|
-
`,
|
349
|
-
],
|
350
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
351
|
-
preserveWhitespaces: false,
|
352
|
-
}]
|
288
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, styles: [".alpha{position:absolute;top:0;bottom:0;left:0;right:0}.alpha-checkboard{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.alpha-gradient{position:absolute;top:0;bottom:0;left:0;right: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"] }]
|
353
289
|
}], propDecorators: { hsl: [{
|
354
290
|
type: Input
|
355
291
|
}], rgb: [{
|
@@ -367,10 +303,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
367
303
|
}] } });
|
368
304
|
class AlphaModule {
|
369
305
|
}
|
370
|
-
AlphaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
371
|
-
AlphaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
372
|
-
AlphaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
306
|
+
AlphaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AlphaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
307
|
+
AlphaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AlphaModule, declarations: [AlphaComponent], imports: [CommonModule, CheckboardModule, CoordinatesModule], exports: [AlphaComponent] });
|
308
|
+
AlphaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AlphaModule, imports: [CommonModule, CheckboardModule, CoordinatesModule] });
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AlphaModule, decorators: [{
|
374
310
|
type: NgModule,
|
375
311
|
args: [{
|
376
312
|
declarations: [AlphaComponent],
|
@@ -544,15 +480,15 @@ class ColorWrap {
|
|
544
480
|
this.color = hex;
|
545
481
|
}
|
546
482
|
}
|
547
|
-
ColorWrap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
548
|
-
ColorWrap.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
483
|
+
ColorWrap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ColorWrap, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
484
|
+
ColorWrap.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: ColorWrap, selector: "color-wrap", inputs: { className: "className", mode: "mode", color: "color" }, outputs: { colorChange: "colorChange", onChange: "onChange", onChangeComplete: "onChangeComplete", onSwatchHover: "onSwatchHover" }, providers: [
|
549
485
|
{
|
550
486
|
provide: NG_VALUE_ACCESSOR,
|
551
487
|
useExisting: forwardRef(() => ColorWrap),
|
552
488
|
multi: true,
|
553
489
|
}
|
554
490
|
], usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ColorWrap, decorators: [{
|
556
492
|
type: Component,
|
557
493
|
args: [{
|
558
494
|
// create seletor base for test override property
|
@@ -583,10 +519,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
583
519
|
}] } });
|
584
520
|
class ColorWrapModule {
|
585
521
|
}
|
586
|
-
ColorWrapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
587
|
-
ColorWrapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
588
|
-
ColorWrapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
522
|
+
ColorWrapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ColorWrapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
523
|
+
ColorWrapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: ColorWrapModule, declarations: [ColorWrap], imports: [CommonModule], exports: [ColorWrap] });
|
524
|
+
ColorWrapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ColorWrapModule, imports: [CommonModule] });
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ColorWrapModule, decorators: [{
|
590
526
|
type: NgModule,
|
591
527
|
args: [{
|
592
528
|
declarations: [ColorWrap],
|
@@ -723,8 +659,8 @@ class EditableInputComponent {
|
|
723
659
|
}
|
724
660
|
}
|
725
661
|
}
|
726
|
-
EditableInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
727
|
-
EditableInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
662
|
+
EditableInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: EditableInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
663
|
+
EditableInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: EditableInputComponent, 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: `
|
728
664
|
<div class="wrap" [ngStyle]="wrapStyle">
|
729
665
|
<input
|
730
666
|
[ngStyle]="inputStyle"
|
@@ -741,12 +677,10 @@ EditableInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
741
677
|
{{ label }}
|
742
678
|
</span>
|
743
679
|
</div>
|
744
|
-
`, isInline: true, styles: [":host{display:flex}.wrap{position:relative}\n"],
|
745
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
680
|
+
`, isInline: true, styles: [":host{display:flex}.wrap{position:relative}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: EditableInputComponent, decorators: [{
|
746
682
|
type: Component,
|
747
|
-
args: [{
|
748
|
-
selector: 'color-editable-input',
|
749
|
-
template: `
|
683
|
+
args: [{ selector: 'color-editable-input', template: `
|
750
684
|
<div class="wrap" [ngStyle]="wrapStyle">
|
751
685
|
<input
|
752
686
|
[ngStyle]="inputStyle"
|
@@ -763,19 +697,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
763
697
|
{{ label }}
|
764
698
|
</span>
|
765
699
|
</div>
|
766
|
-
`,
|
767
|
-
styles: [
|
768
|
-
`
|
769
|
-
:host {
|
770
|
-
display: flex;
|
771
|
-
}
|
772
|
-
.wrap {
|
773
|
-
position: relative;
|
774
|
-
}
|
775
|
-
`,
|
776
|
-
],
|
777
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
778
|
-
}]
|
700
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex}.wrap{position:relative}\n"] }]
|
779
701
|
}], propDecorators: { style: [{
|
780
702
|
type: Input
|
781
703
|
}], label: [{
|
@@ -795,10 +717,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
795
717
|
}] } });
|
796
718
|
class EditableInputModule {
|
797
719
|
}
|
798
|
-
EditableInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
799
|
-
EditableInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
800
|
-
EditableInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
720
|
+
EditableInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: EditableInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
721
|
+
EditableInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: EditableInputModule, declarations: [EditableInputComponent], imports: [CommonModule], exports: [EditableInputComponent] });
|
722
|
+
EditableInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: EditableInputModule, imports: [CommonModule] });
|
723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: EditableInputModule, decorators: [{
|
802
724
|
type: NgModule,
|
803
725
|
args: [{
|
804
726
|
declarations: [EditableInputComponent],
|
@@ -875,8 +797,8 @@ class HueComponent {
|
|
875
797
|
this.onChange.emit({ data, $event });
|
876
798
|
}
|
877
799
|
}
|
878
|
-
HueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
879
|
-
HueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
800
|
+
HueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: HueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
801
|
+
HueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: HueComponent, selector: "color-hue", inputs: { hsl: "hsl", pointer: "pointer", radius: "radius", shadow: "shadow", hidePointer: "hidePointer", direction: "direction" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
880
802
|
<div class="color-hue color-hue-{{direction}}" [style.border-radius.px]="radius" [style.box-shadow]="shadow">
|
881
803
|
<div ngx-color-coordinates (coordinatesChange)="handleChange($event)" class="color-hue-container">
|
882
804
|
<div class="color-hue-pointer" [style.left]="left" [style.top]="top" *ngIf="!hidePointer">
|
@@ -884,12 +806,10 @@ HueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
884
806
|
</div>
|
885
807
|
</div>
|
886
808
|
</div>
|
887
|
-
`, isInline: true, styles: [".color-hue{position:absolute;top:0;bottom:0;left:0;right: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"],
|
888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
809
|
+
`, isInline: true, styles: [".color-hue{position:absolute;top:0;bottom:0;left:0;right: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 });
|
810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: HueComponent, decorators: [{
|
889
811
|
type: Component,
|
890
|
-
args: [{
|
891
|
-
selector: 'color-hue',
|
892
|
-
template: `
|
812
|
+
args: [{ selector: 'color-hue', template: `
|
893
813
|
<div class="color-hue color-hue-{{direction}}" [style.border-radius.px]="radius" [style.box-shadow]="shadow">
|
894
814
|
<div ngx-color-coordinates (coordinatesChange)="handleChange($event)" class="color-hue-container">
|
895
815
|
<div class="color-hue-pointer" [style.left]="left" [style.top]="top" *ngIf="!hidePointer">
|
@@ -897,46 +817,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
897
817
|
</div>
|
898
818
|
</div>
|
899
819
|
</div>
|
900
|
-
`,
|
901
|
-
styles: [
|
902
|
-
`
|
903
|
-
.color-hue {
|
904
|
-
position: absolute;
|
905
|
-
top: 0;
|
906
|
-
bottom: 0;
|
907
|
-
left: 0;
|
908
|
-
right: 0;
|
909
|
-
}
|
910
|
-
.color-hue-container {
|
911
|
-
margin: 0 2px;
|
912
|
-
position: relative;
|
913
|
-
height: 100%;
|
914
|
-
}
|
915
|
-
.color-hue-pointer {
|
916
|
-
position: absolute;
|
917
|
-
}
|
918
|
-
.color-hue-slider {
|
919
|
-
margin-top: 1px;
|
920
|
-
width: 4px;
|
921
|
-
border-radius: 1px;
|
922
|
-
height: 8px;
|
923
|
-
box-shadow: 0 0 2px rgba(0, 0, 0, .6);
|
924
|
-
background: #fff;
|
925
|
-
transform: translateX(-2px);
|
926
|
-
}
|
927
|
-
.color-hue-horizontal {
|
928
|
-
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
|
929
|
-
33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
930
|
-
}
|
931
|
-
.color-hue-vertical {
|
932
|
-
background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,
|
933
|
-
#0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
934
|
-
}
|
935
|
-
`,
|
936
|
-
],
|
937
|
-
preserveWhitespaces: false,
|
938
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
939
|
-
}]
|
820
|
+
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".color-hue{position:absolute;top:0;bottom:0;left:0;right: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"] }]
|
940
821
|
}], propDecorators: { hsl: [{
|
941
822
|
type: Input
|
942
823
|
}], pointer: [{
|
@@ -954,10 +835,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
954
835
|
}] } });
|
955
836
|
class HueModule {
|
956
837
|
}
|
957
|
-
HueModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
958
|
-
HueModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
959
|
-
HueModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
838
|
+
HueModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: HueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
839
|
+
HueModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: HueModule, declarations: [HueComponent], imports: [CommonModule, CoordinatesModule], exports: [HueComponent] });
|
840
|
+
HueModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: HueModule, imports: [CommonModule, CoordinatesModule] });
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: HueModule, decorators: [{
|
961
842
|
type: NgModule,
|
962
843
|
args: [{
|
963
844
|
declarations: [HueComponent],
|
@@ -973,8 +854,8 @@ class RaisedComponent {
|
|
973
854
|
this.background = '#fff';
|
974
855
|
}
|
975
856
|
}
|
976
|
-
RaisedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
977
|
-
RaisedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
857
|
+
RaisedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: RaisedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
858
|
+
RaisedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: RaisedComponent, selector: "color-raised", inputs: { zDepth: "zDepth", radius: "radius", background: "background" }, ngImport: i0, template: `
|
978
859
|
<div class="raised-wrap">
|
979
860
|
<div class="raised-bg zDepth-{{zDepth}}" [style.background]="background"></div>
|
980
861
|
<div class="raised-content">
|
@@ -982,55 +863,16 @@ RaisedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
982
863
|
</div>
|
983
864
|
</div>
|
984
865
|
`, isInline: true, styles: [".raised-wrap{position:relative;display:inline-block}.raised-bg{position:absolute;top:0px;right:0px;bottom:0px;left:0px}.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 });
|
985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: RaisedComponent, decorators: [{
|
986
867
|
type: Component,
|
987
|
-
args: [{
|
988
|
-
selector: 'color-raised',
|
989
|
-
template: `
|
868
|
+
args: [{ selector: 'color-raised', template: `
|
990
869
|
<div class="raised-wrap">
|
991
870
|
<div class="raised-bg zDepth-{{zDepth}}" [style.background]="background"></div>
|
992
871
|
<div class="raised-content">
|
993
872
|
<ng-content></ng-content>
|
994
873
|
</div>
|
995
874
|
</div>
|
996
|
-
`,
|
997
|
-
styles: [`
|
998
|
-
.raised-wrap {
|
999
|
-
position: relative;
|
1000
|
-
display: inline-block;
|
1001
|
-
}
|
1002
|
-
.raised-bg {
|
1003
|
-
position: absolute;
|
1004
|
-
top: 0px;
|
1005
|
-
right: 0px;
|
1006
|
-
bottom: 0px;
|
1007
|
-
left: 0px;
|
1008
|
-
}
|
1009
|
-
.raised-content {
|
1010
|
-
position: relative;
|
1011
|
-
}
|
1012
|
-
.zDepth-0 {
|
1013
|
-
box-shadow: none;
|
1014
|
-
}
|
1015
|
-
.zDepth-1 {
|
1016
|
-
box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);
|
1017
|
-
}
|
1018
|
-
.zDepth-2 {
|
1019
|
-
box-shadow: 0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2);
|
1020
|
-
}
|
1021
|
-
.zDepth-3 {
|
1022
|
-
box-shadow: 0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24);
|
1023
|
-
}
|
1024
|
-
.zDepth-4 {
|
1025
|
-
box-shadow: 0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22);
|
1026
|
-
}
|
1027
|
-
.zDepth-5 {
|
1028
|
-
box-shadow: 0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2);
|
1029
|
-
}
|
1030
|
-
`],
|
1031
|
-
preserveWhitespaces: false,
|
1032
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1033
|
-
}]
|
875
|
+
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".raised-wrap{position:relative;display:inline-block}.raised-bg{position:absolute;top:0px;right:0px;bottom:0px;left:0px}.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"] }]
|
1034
876
|
}], propDecorators: { zDepth: [{
|
1035
877
|
type: Input
|
1036
878
|
}], radius: [{
|
@@ -1040,10 +882,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1040
882
|
}] } });
|
1041
883
|
class RaisedModule {
|
1042
884
|
}
|
1043
|
-
RaisedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1044
|
-
RaisedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1045
|
-
RaisedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
885
|
+
RaisedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: RaisedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
886
|
+
RaisedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: RaisedModule, declarations: [RaisedComponent], imports: [CommonModule], exports: [RaisedComponent] });
|
887
|
+
RaisedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: RaisedModule, imports: [CommonModule] });
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: RaisedModule, decorators: [{
|
1047
889
|
type: NgModule,
|
1048
890
|
args: [{
|
1049
891
|
declarations: [RaisedComponent],
|
@@ -1088,8 +930,8 @@ class SaturationComponent {
|
|
1088
930
|
this.onChange.emit({ data, $event });
|
1089
931
|
}
|
1090
932
|
}
|
1091
|
-
SaturationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1092
|
-
SaturationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
933
|
+
SaturationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SaturationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
934
|
+
SaturationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: SaturationComponent, selector: "color-saturation", inputs: { hsl: "hsl", hsv: "hsv", radius: "radius", pointer: "pointer", circle: "circle" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
1093
935
|
<div class="color-saturation" ngx-color-coordinates (coordinatesChange)="handleChange($event)" [style.background]="background">
|
1094
936
|
<div class="saturation-white">
|
1095
937
|
<div class="saturation-black"></div>
|
@@ -1098,12 +940,10 @@ SaturationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
1098
940
|
</div>
|
1099
941
|
</div>
|
1100
942
|
</div>
|
1101
|
-
`, isInline: true, styles: [".saturation-white{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;top:0;bottom:0;left:0;right:0}.saturation-black{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;top:0;bottom:0;left:0;right:0}.color-saturation{position:absolute;top:0;bottom:0;left:0;right: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"],
|
1102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
943
|
+
`, isInline: true, styles: [".saturation-white{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;top:0;bottom:0;left:0;right:0}.saturation-black{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;top:0;bottom:0;left:0;right:0}.color-saturation{position:absolute;top:0;bottom:0;left:0;right: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 });
|
944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SaturationComponent, decorators: [{
|
1103
945
|
type: Component,
|
1104
|
-
args: [{
|
1105
|
-
selector: 'color-saturation',
|
1106
|
-
template: `
|
946
|
+
args: [{ selector: 'color-saturation', template: `
|
1107
947
|
<div class="color-saturation" ngx-color-coordinates (coordinatesChange)="handleChange($event)" [style.background]="background">
|
1108
948
|
<div class="saturation-white">
|
1109
949
|
<div class="saturation-black"></div>
|
@@ -1112,49 +952,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1112
952
|
</div>
|
1113
953
|
</div>
|
1114
954
|
</div>
|
1115
|
-
`,
|
1116
|
-
styles: [
|
1117
|
-
`
|
1118
|
-
.saturation-white {
|
1119
|
-
background: linear-gradient(to right, #fff, rgba(255,255,255,0));
|
1120
|
-
position: absolute;
|
1121
|
-
top: 0;
|
1122
|
-
bottom: 0;
|
1123
|
-
left: 0;
|
1124
|
-
right: 0;
|
1125
|
-
}
|
1126
|
-
.saturation-black {
|
1127
|
-
background: linear-gradient(to top, #000, rgba(0,0,0,0));
|
1128
|
-
position: absolute;
|
1129
|
-
top: 0;
|
1130
|
-
bottom: 0;
|
1131
|
-
left: 0;
|
1132
|
-
right: 0;
|
1133
|
-
}
|
1134
|
-
.color-saturation {
|
1135
|
-
position: absolute;
|
1136
|
-
top: 0;
|
1137
|
-
bottom: 0;
|
1138
|
-
left: 0;
|
1139
|
-
right: 0;
|
1140
|
-
}
|
1141
|
-
.saturation-pointer {
|
1142
|
-
position: absolute;
|
1143
|
-
cursor: default;
|
1144
|
-
}
|
1145
|
-
.saturation-circle {
|
1146
|
-
width: 4px;
|
1147
|
-
height: 4px;
|
1148
|
-
box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), 0 0 1px 2px rgba(0,0,0,.4);
|
1149
|
-
border-radius: 50%;
|
1150
|
-
cursor: hand;
|
1151
|
-
transform: translate(-2px, -4px);
|
1152
|
-
}
|
1153
|
-
`,
|
1154
|
-
],
|
1155
|
-
preserveWhitespaces: false,
|
1156
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1157
|
-
}]
|
955
|
+
`, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".saturation-white{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;top:0;bottom:0;left:0;right:0}.saturation-black{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;top:0;bottom:0;left:0;right:0}.color-saturation{position:absolute;top:0;bottom:0;left:0;right: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"] }]
|
1158
956
|
}], propDecorators: { hsl: [{
|
1159
957
|
type: Input
|
1160
958
|
}], hsv: [{
|
@@ -1170,10 +968,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1170
968
|
}] } });
|
1171
969
|
class SaturationModule {
|
1172
970
|
}
|
1173
|
-
SaturationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1174
|
-
SaturationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1175
|
-
SaturationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
971
|
+
SaturationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SaturationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
972
|
+
SaturationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: SaturationModule, declarations: [SaturationComponent], imports: [CommonModule, CoordinatesModule], exports: [SaturationComponent] });
|
973
|
+
SaturationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SaturationModule, imports: [CommonModule, CoordinatesModule] });
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SaturationModule, decorators: [{
|
1177
975
|
type: NgModule,
|
1178
976
|
args: [{
|
1179
977
|
declarations: [SaturationComponent],
|
@@ -1212,8 +1010,8 @@ class SwatchComponent {
|
|
1212
1010
|
this.onClick.emit({ hex, $event });
|
1213
1011
|
}
|
1214
1012
|
}
|
1215
|
-
SwatchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1216
|
-
SwatchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1013
|
+
SwatchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SwatchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1014
|
+
SwatchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: SwatchComponent, selector: "color-swatch", inputs: { color: "color", style: "style", focusStyle: "focusStyle", focus: "focus" }, outputs: { onClick: "onClick", onHover: "onHover" }, ngImport: i0, template: `
|
1217
1015
|
<div
|
1218
1016
|
class="swatch"
|
1219
1017
|
[ngStyle]="currentStyles()"
|
@@ -1231,12 +1029,10 @@ SwatchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
1231
1029
|
boxShadow="inset 0 0 0 1px rgba(0,0,0,0.1)"
|
1232
1030
|
></color-checkboard>
|
1233
1031
|
</div>
|
1234
|
-
`, isInline: true, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"],
|
1235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1032
|
+
`, isInline: true, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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 });
|
1033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SwatchComponent, decorators: [{
|
1236
1034
|
type: Component,
|
1237
|
-
args: [{
|
1238
|
-
selector: 'color-swatch',
|
1239
|
-
template: `
|
1035
|
+
args: [{ selector: 'color-swatch', template: `
|
1240
1036
|
<div
|
1241
1037
|
class="swatch"
|
1242
1038
|
[ngStyle]="currentStyles()"
|
@@ -1254,20 +1050,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1254
1050
|
boxShadow="inset 0 0 0 1px rgba(0,0,0,0.1)"
|
1255
1051
|
></color-checkboard>
|
1256
1052
|
</div>
|
1257
|
-
`,
|
1258
|
-
styles: [
|
1259
|
-
`
|
1260
|
-
.swatch {
|
1261
|
-
outline: none;
|
1262
|
-
height: 100%;
|
1263
|
-
width: 100%;
|
1264
|
-
cursor: pointer;
|
1265
|
-
position: relative;
|
1266
|
-
}
|
1267
|
-
`,
|
1268
|
-
],
|
1269
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1270
|
-
}]
|
1053
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"] }]
|
1271
1054
|
}], propDecorators: { color: [{
|
1272
1055
|
type: Input
|
1273
1056
|
}], style: [{
|
@@ -1283,10 +1066,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1283
1066
|
}] } });
|
1284
1067
|
class SwatchModule {
|
1285
1068
|
}
|
1286
|
-
SwatchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1287
|
-
SwatchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1288
|
-
SwatchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1069
|
+
SwatchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SwatchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1070
|
+
SwatchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: SwatchModule, declarations: [SwatchComponent], imports: [CommonModule, CheckboardModule], exports: [SwatchComponent] });
|
1071
|
+
SwatchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SwatchModule, imports: [CommonModule, CheckboardModule] });
|
1072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: SwatchModule, decorators: [{
|
1290
1073
|
type: NgModule,
|
1291
1074
|
args: [{
|
1292
1075
|
declarations: [SwatchComponent],
|
@@ -1337,8 +1120,8 @@ class ShadeComponent {
|
|
1337
1120
|
this.onChange.emit({ data, $event });
|
1338
1121
|
}
|
1339
1122
|
}
|
1340
|
-
ShadeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1341
|
-
ShadeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1123
|
+
ShadeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ShadeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1124
|
+
ShadeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: ShadeComponent, selector: "color-shade", inputs: { hsl: "hsl", rgb: "rgb", pointer: "pointer", shadow: "shadow", radius: "radius" }, outputs: { onChange: "onChange" }, usesOnChanges: true, ngImport: i0, template: `
|
1342
1125
|
<div class="shade" [style.border-radius]="radius">
|
1343
1126
|
<div
|
1344
1127
|
class="shade-gradient"
|
@@ -1360,12 +1143,10 @@ ShadeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
1360
1143
|
</div>
|
1361
1144
|
</div>
|
1362
1145
|
</div>
|
1363
|
-
`, isInline: true, styles: [".shade
|
1364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1146
|
+
`, isInline: true, styles: [".shade,.shade-gradient{position:absolute;top:0;bottom:0;left:0;right: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 });
|
1147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ShadeComponent, decorators: [{
|
1365
1148
|
type: Component,
|
1366
|
-
args: [{
|
1367
|
-
selector: 'color-shade',
|
1368
|
-
template: `
|
1149
|
+
args: [{ selector: 'color-shade', template: `
|
1369
1150
|
<div class="shade" [style.border-radius]="radius">
|
1370
1151
|
<div
|
1371
1152
|
class="shade-gradient"
|
@@ -1387,45 +1168,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1387
1168
|
</div>
|
1388
1169
|
</div>
|
1389
1170
|
</div>
|
1390
|
-
`,
|
1391
|
-
styles: [
|
1392
|
-
`
|
1393
|
-
.shade {
|
1394
|
-
position: absolute;
|
1395
|
-
top: 0;
|
1396
|
-
bottom: 0;
|
1397
|
-
left: 0;
|
1398
|
-
right: 0;
|
1399
|
-
}
|
1400
|
-
.shade-gradient {
|
1401
|
-
position: absolute;
|
1402
|
-
top: 0;
|
1403
|
-
bottom: 0;
|
1404
|
-
left: 0;
|
1405
|
-
right: 0;
|
1406
|
-
}
|
1407
|
-
.shade-container {
|
1408
|
-
position: relative;
|
1409
|
-
height: 100%;
|
1410
|
-
margin: 0 3px;
|
1411
|
-
}
|
1412
|
-
.shade-pointer {
|
1413
|
-
position: absolute;
|
1414
|
-
}
|
1415
|
-
.shade-slider {
|
1416
|
-
width: 4px;
|
1417
|
-
border-radius: 1px;
|
1418
|
-
height: 8px;
|
1419
|
-
box-shadow: 0 0 2px rgba(0, 0, 0, .6);
|
1420
|
-
background: #fff;
|
1421
|
-
margin-top: 1px;
|
1422
|
-
transform: translateX(-2px);
|
1423
|
-
}
|
1424
|
-
`,
|
1425
|
-
],
|
1426
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1427
|
-
preserveWhitespaces: false,
|
1428
|
-
}]
|
1171
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, styles: [".shade,.shade-gradient{position:absolute;top:0;bottom:0;left:0;right: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"] }]
|
1429
1172
|
}], propDecorators: { hsl: [{
|
1430
1173
|
type: Input
|
1431
1174
|
}], rgb: [{
|
@@ -1441,10 +1184,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1441
1184
|
}] } });
|
1442
1185
|
class ShadeModule {
|
1443
1186
|
}
|
1444
|
-
ShadeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1445
|
-
ShadeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1446
|
-
ShadeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1187
|
+
ShadeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ShadeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1188
|
+
ShadeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: ShadeModule, declarations: [ShadeComponent], imports: [CommonModule, CoordinatesModule], exports: [ShadeComponent] });
|
1189
|
+
ShadeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ShadeModule, imports: [CommonModule, CoordinatesModule] });
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: ShadeModule, decorators: [{
|
1448
1191
|
type: NgModule,
|
1449
1192
|
args: [{
|
1450
1193
|
declarations: [ShadeComponent],
|