ngx-color 7.3.3 → 8.0.2
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 -2
- package/alpha/alpha-picker.component.d.ts +1 -1
- package/alpha/{ngx-color-alpha.d.ts → index.d.ts} +0 -0
- package/alpha.component.d.ts +1 -1
- package/block/block-swatches.component.d.ts +1 -1
- package/block/block.component.d.ts +1 -1
- package/block/{ngx-color-block.d.ts → index.d.ts} +0 -0
- package/checkboard.component.d.ts +1 -1
- package/chrome/chrome-fields.component.d.ts +1 -1
- package/chrome/chrome.component.d.ts +1 -1
- package/chrome/{ngx-color-chrome.d.ts → index.d.ts} +0 -0
- package/circle/circle-swatch.component.d.ts +1 -1
- package/circle/circle.component.d.ts +1 -1
- package/circle/{ngx-color-circle.d.ts → index.d.ts} +0 -0
- package/color-wrap.component.d.ts +1 -1
- package/compact/compact-color.component.d.ts +1 -1
- package/compact/compact-fields.component.d.ts +1 -1
- package/compact/compact.component.d.ts +1 -1
- package/compact/{ngx-color-compact.d.ts → index.d.ts} +0 -0
- package/coordinates.directive.d.ts +2 -2
- package/editable-input.component.d.ts +1 -1
- package/esm2020/alpha/alpha-picker.component.mjs +12 -28
- package/esm2020/alpha.component.mjs +13 -61
- package/esm2020/block/block-swatches.component.mjs +9 -20
- package/esm2020/block/block.component.mjs +14 -55
- package/esm2020/checkboard.component.mjs +9 -25
- package/esm2020/chrome/chrome-fields.component.mjs +9 -51
- package/esm2020/chrome/chrome.component.mjs +19 -84
- package/esm2020/circle/circle-swatch.component.mjs +7 -23
- package/esm2020/circle/circle.component.mjs +12 -26
- package/esm2020/color-wrap.component.mjs +10 -10
- package/esm2020/compact/compact-color.component.mjs +7 -28
- package/esm2020/compact/compact-fields.component.mjs +7 -29
- package/esm2020/compact/compact.component.mjs +14 -37
- package/esm2020/coordinates.directive.mjs +9 -9
- package/esm2020/editable-input.component.mjs +13 -31
- package/esm2020/github/github-swatch.component.mjs +7 -21
- package/esm2020/github/github.component.mjs +12 -79
- package/esm2020/hue/hue-picker.component.mjs +12 -25
- package/esm2020/hue.component.mjs +13 -54
- package/esm2020/material/material.component.mjs +12 -37
- package/esm2020/photoshop/photoshop-button.component.mjs +6 -35
- package/esm2020/photoshop/photoshop-fields.component.mjs +7 -36
- package/esm2020/photoshop/photoshop-previews.component.mjs +6 -34
- package/esm2020/photoshop/photoshop.component.mjs +17 -90
- package/esm2020/raised.component.mjs +10 -49
- package/esm2020/saturation.component.mjs +13 -57
- package/esm2020/shade/shade-picker.component.mjs +12 -25
- package/esm2020/shade.component.mjs +11 -51
- package/esm2020/sketch/sketch-fields.component.mjs +9 -43
- package/esm2020/sketch/sketch-preset-colors.component.mjs +9 -39
- package/esm2020/sketch/sketch.component.mjs +20 -91
- package/esm2020/slider/slider-swatch.component.mjs +6 -34
- package/esm2020/slider/slider-swatches.component.mjs +7 -23
- package/esm2020/slider/slider.component.mjs +12 -26
- package/esm2020/swatch.component.mjs +13 -28
- package/esm2020/swatches/swatches-color.component.mjs +9 -28
- package/esm2020/swatches/swatches-group.component.mjs +9 -24
- package/esm2020/swatches/swatches.component.mjs +14 -30
- package/esm2020/twitter/twitter.component.mjs +14 -110
- package/fesm2015/ngx-color-alpha.mjs +11 -27
- package/fesm2015/ngx-color-alpha.mjs.map +1 -1
- package/fesm2015/ngx-color-block.mjs +20 -72
- package/fesm2015/ngx-color-block.mjs.map +1 -1
- package/fesm2015/ngx-color-chrome.mjs +24 -131
- package/fesm2015/ngx-color-chrome.mjs.map +1 -1
- package/fesm2015/ngx-color-circle.mjs +17 -47
- package/fesm2015/ngx-color-circle.mjs.map +1 -1
- package/fesm2015/ngx-color-compact.mjs +24 -90
- package/fesm2015/ngx-color-compact.mjs.map +1 -1
- package/fesm2015/ngx-color-github.mjs +17 -98
- package/fesm2015/ngx-color-github.mjs.map +1 -1
- package/fesm2015/ngx-color-hue.mjs +11 -24
- package/fesm2015/ngx-color-hue.mjs.map +1 -1
- package/fesm2015/ngx-color-material.mjs +11 -36
- package/fesm2015/ngx-color-material.mjs.map +1 -1
- package/fesm2015/ngx-color-photoshop.mjs +32 -191
- package/fesm2015/ngx-color-photoshop.mjs.map +1 -1
- package/fesm2015/ngx-color-shade.mjs +11 -24
- package/fesm2015/ngx-color-shade.mjs.map +1 -1
- package/fesm2015/ngx-color-sketch.mjs +31 -166
- package/fesm2015/ngx-color-sketch.mjs.map +1 -1
- package/fesm2015/ngx-color-slider.mjs +22 -80
- package/fesm2015/ngx-color-slider.mjs.map +1 -1
- package/fesm2015/ngx-color-swatches.mjs +25 -75
- package/fesm2015/ngx-color-swatches.mjs.map +1 -1
- package/fesm2015/ngx-color-twitter.mjs +13 -109
- package/fesm2015/ngx-color-twitter.mjs.map +1 -1
- package/fesm2015/ngx-color.mjs +100 -359
- package/fesm2015/ngx-color.mjs.map +1 -1
- package/fesm2020/ngx-color-alpha.mjs +11 -27
- package/fesm2020/ngx-color-alpha.mjs.map +1 -1
- package/fesm2020/ngx-color-block.mjs +20 -72
- package/fesm2020/ngx-color-block.mjs.map +1 -1
- package/fesm2020/ngx-color-chrome.mjs +24 -131
- package/fesm2020/ngx-color-chrome.mjs.map +1 -1
- package/fesm2020/ngx-color-circle.mjs +17 -47
- package/fesm2020/ngx-color-circle.mjs.map +1 -1
- package/fesm2020/ngx-color-compact.mjs +24 -90
- package/fesm2020/ngx-color-compact.mjs.map +1 -1
- package/fesm2020/ngx-color-github.mjs +17 -98
- package/fesm2020/ngx-color-github.mjs.map +1 -1
- package/fesm2020/ngx-color-hue.mjs +11 -24
- package/fesm2020/ngx-color-hue.mjs.map +1 -1
- package/fesm2020/ngx-color-material.mjs +11 -36
- package/fesm2020/ngx-color-material.mjs.map +1 -1
- package/fesm2020/ngx-color-photoshop.mjs +32 -191
- package/fesm2020/ngx-color-photoshop.mjs.map +1 -1
- package/fesm2020/ngx-color-shade.mjs +11 -24
- package/fesm2020/ngx-color-shade.mjs.map +1 -1
- package/fesm2020/ngx-color-sketch.mjs +31 -166
- package/fesm2020/ngx-color-sketch.mjs.map +1 -1
- package/fesm2020/ngx-color-slider.mjs +22 -80
- package/fesm2020/ngx-color-slider.mjs.map +1 -1
- package/fesm2020/ngx-color-swatches.mjs +25 -75
- package/fesm2020/ngx-color-swatches.mjs.map +1 -1
- package/fesm2020/ngx-color-twitter.mjs +13 -109
- package/fesm2020/ngx-color-twitter.mjs.map +1 -1
- package/fesm2020/ngx-color.mjs +97 -358
- package/fesm2020/ngx-color.mjs.map +1 -1
- package/github/github-swatch.component.d.ts +1 -1
- package/github/github.component.d.ts +1 -1
- package/github/{ngx-color-github.d.ts → index.d.ts} +0 -0
- package/hue/hue-picker.component.d.ts +1 -1
- package/hue/{ngx-color-hue.d.ts → index.d.ts} +0 -0
- package/hue.component.d.ts +1 -1
- package/{ngx-color.d.ts → index.d.ts} +0 -0
- package/material/{ngx-color-material.d.ts → index.d.ts} +0 -0
- package/material/material.component.d.ts +1 -1
- package/package.json +20 -21
- package/photoshop/{ngx-color-photoshop.d.ts → index.d.ts} +0 -0
- package/photoshop/photoshop-button.component.d.ts +1 -1
- package/photoshop/photoshop-fields.component.d.ts +1 -1
- package/photoshop/photoshop-previews.component.d.ts +1 -1
- package/photoshop/photoshop.component.d.ts +1 -1
- package/raised.component.d.ts +1 -1
- package/saturation.component.d.ts +1 -1
- package/shade/{ngx-color-shade.d.ts → index.d.ts} +0 -0
- package/shade/shade-picker.component.d.ts +1 -1
- package/shade.component.d.ts +1 -1
- package/sketch/{ngx-color-sketch.d.ts → index.d.ts} +0 -0
- package/sketch/sketch-fields.component.d.ts +1 -1
- package/sketch/sketch-preset-colors.component.d.ts +1 -1
- package/sketch/sketch.component.d.ts +1 -1
- package/slider/{ngx-color-slider.d.ts → index.d.ts} +0 -0
- package/slider/slider-swatch.component.d.ts +1 -1
- package/slider/slider-swatches.component.d.ts +1 -1
- package/slider/slider.component.d.ts +1 -1
- package/swatch.component.d.ts +1 -1
- package/swatches/{ngx-color-swatches.d.ts → index.d.ts} +0 -0
- package/swatches/swatches-color.component.d.ts +1 -1
- package/swatches/swatches-group.component.d.ts +1 -1
- package/swatches/swatches.component.d.ts +1 -1
- package/twitter/{ngx-color-twitter.d.ts → index.d.ts} +0 -0
- package/twitter/twitter.component.d.ts +1 -1
- package/alpha/package.json +0 -17
- package/block/package.json +0 -16
- package/chrome/package.json +0 -16
- package/circle/package.json +0 -19
- package/compact/package.json +0 -16
- package/github/package.json +0 -16
- package/hue/package.json +0 -15
- package/material/package.json +0 -15
- package/photoshop/package.json +0 -15
- package/shade/package.json +0 -17
- package/sketch/package.json +0 -15
- package/slider/package.json +0 -15
- package/swatches/package.json +0 -18
- package/twitter/package.json +0 -15
package/fesm2020/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.1.2", ngImport: i0, type: CheckboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
59
|
+
CheckboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.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.1.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.1.2", ngImport: i0, type: CheckboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
77
|
+
CheckboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: CheckboardModule, declarations: [CheckboardComponent], imports: [CommonModule], exports: [CheckboardComponent] });
|
78
|
+
CheckboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: CheckboardModule, imports: [CommonModule] });
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: CheckboardModule, decorators: [{
|
96
80
|
type: NgModule,
|
97
81
|
args: [{
|
98
82
|
declarations: [CheckboardComponent],
|
@@ -130,7 +114,7 @@ class CoordinatesDirective {
|
|
130
114
|
.subscribe(n => this.handleChange(n.x, n.y, n.$event, n.isTouch));
|
131
115
|
}
|
132
116
|
ngOnDestroy() {
|
133
|
-
this.sub
|
117
|
+
this.sub?.unsubscribe();
|
134
118
|
}
|
135
119
|
handleChange(x, y, $event, isTouch) {
|
136
120
|
const containerWidth = this.el.nativeElement.clientWidth;
|
@@ -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.1.2", ngImport: i0, type: CoordinatesDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
140
|
+
CoordinatesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.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.1.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.1.2", ngImport: i0, type: CoordinatesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
178
|
+
CoordinatesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: CoordinatesModule, declarations: [CoordinatesDirective], exports: [CoordinatesDirective] });
|
179
|
+
CoordinatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: CoordinatesModule });
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.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.1.2", ngImport: i0, type: AlphaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
261
|
+
AlphaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.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.1.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.1.2", ngImport: i0, type: AlphaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
307
|
+
AlphaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: AlphaModule, declarations: [AlphaComponent], imports: [CommonModule, CheckboardModule, CoordinatesModule], exports: [AlphaComponent] });
|
308
|
+
AlphaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AlphaModule, imports: [CommonModule, CheckboardModule, CoordinatesModule] });
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AlphaModule, decorators: [{
|
374
310
|
type: NgModule,
|
375
311
|
args: [{
|
376
312
|
declarations: [AlphaComponent],
|
@@ -501,8 +437,8 @@ class ColorWrap {
|
|
501
437
|
}
|
502
438
|
ngOnDestroy() {
|
503
439
|
this.changes?.unsubscribe();
|
504
|
-
this._onChangeCompleteSubscription
|
505
|
-
this._onSwatchHoverSubscription
|
440
|
+
this._onChangeCompleteSubscription?.unsubscribe();
|
441
|
+
this._onSwatchHoverSubscription?.unsubscribe();
|
506
442
|
}
|
507
443
|
setState(data) {
|
508
444
|
this.oldHue = data.oldHue;
|
@@ -543,15 +479,15 @@ class ColorWrap {
|
|
543
479
|
this.color = hex;
|
544
480
|
}
|
545
481
|
}
|
546
|
-
ColorWrap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
547
|
-
ColorWrap.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
482
|
+
ColorWrap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ColorWrap, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
483
|
+
ColorWrap.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: ColorWrap, selector: "color-wrap", inputs: { className: "className", mode: "mode", color: "color" }, outputs: { colorChange: "colorChange", onChange: "onChange", onChangeComplete: "onChangeComplete", onSwatchHover: "onSwatchHover" }, providers: [
|
548
484
|
{
|
549
485
|
provide: NG_VALUE_ACCESSOR,
|
550
486
|
useExisting: forwardRef(() => ColorWrap),
|
551
487
|
multi: true,
|
552
488
|
}
|
553
489
|
], usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ColorWrap, decorators: [{
|
555
491
|
type: Component,
|
556
492
|
args: [{
|
557
493
|
// create seletor base for test override property
|
@@ -582,10 +518,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
582
518
|
}] } });
|
583
519
|
class ColorWrapModule {
|
584
520
|
}
|
585
|
-
ColorWrapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
586
|
-
ColorWrapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
587
|
-
ColorWrapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
521
|
+
ColorWrapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ColorWrapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
522
|
+
ColorWrapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: ColorWrapModule, declarations: [ColorWrap], imports: [CommonModule], exports: [ColorWrap] });
|
523
|
+
ColorWrapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ColorWrapModule, imports: [CommonModule] });
|
524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ColorWrapModule, decorators: [{
|
589
525
|
type: NgModule,
|
590
526
|
args: [{
|
591
527
|
declarations: [ColorWrap],
|
@@ -699,12 +635,8 @@ class EditableInputComponent {
|
|
699
635
|
this.mouseup = fromEvent(document, 'mouseup').subscribe(() => this.unsubscribe());
|
700
636
|
}
|
701
637
|
unsubscribe() {
|
702
|
-
|
703
|
-
|
704
|
-
}
|
705
|
-
if (this.mouseup) {
|
706
|
-
this.mouseup.unsubscribe();
|
707
|
-
}
|
638
|
+
this.mousemove?.unsubscribe();
|
639
|
+
this.mouseup?.unsubscribe();
|
708
640
|
}
|
709
641
|
handleMousedown($event) {
|
710
642
|
if (this.dragLabel) {
|
@@ -722,8 +654,8 @@ class EditableInputComponent {
|
|
722
654
|
}
|
723
655
|
}
|
724
656
|
}
|
725
|
-
EditableInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
726
|
-
EditableInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
657
|
+
EditableInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EditableInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
658
|
+
EditableInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.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: `
|
727
659
|
<div class="wrap" [ngStyle]="wrapStyle">
|
728
660
|
<input
|
729
661
|
[ngStyle]="inputStyle"
|
@@ -740,12 +672,10 @@ EditableInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
740
672
|
{{ label }}
|
741
673
|
</span>
|
742
674
|
</div>
|
743
|
-
`, isInline: true, styles: [":host{display:flex}.wrap{position:relative}\n"],
|
744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
675
|
+
`, 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 });
|
676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EditableInputComponent, decorators: [{
|
745
677
|
type: Component,
|
746
|
-
args: [{
|
747
|
-
selector: 'color-editable-input',
|
748
|
-
template: `
|
678
|
+
args: [{ selector: 'color-editable-input', template: `
|
749
679
|
<div class="wrap" [ngStyle]="wrapStyle">
|
750
680
|
<input
|
751
681
|
[ngStyle]="inputStyle"
|
@@ -762,19 +692,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
762
692
|
{{ label }}
|
763
693
|
</span>
|
764
694
|
</div>
|
765
|
-
`,
|
766
|
-
styles: [
|
767
|
-
`
|
768
|
-
:host {
|
769
|
-
display: flex;
|
770
|
-
}
|
771
|
-
.wrap {
|
772
|
-
position: relative;
|
773
|
-
}
|
774
|
-
`,
|
775
|
-
],
|
776
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
777
|
-
}]
|
695
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex}.wrap{position:relative}\n"] }]
|
778
696
|
}], propDecorators: { style: [{
|
779
697
|
type: Input
|
780
698
|
}], label: [{
|
@@ -794,10 +712,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
794
712
|
}] } });
|
795
713
|
class EditableInputModule {
|
796
714
|
}
|
797
|
-
EditableInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
798
|
-
EditableInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
799
|
-
EditableInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
715
|
+
EditableInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EditableInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
716
|
+
EditableInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: EditableInputModule, declarations: [EditableInputComponent], imports: [CommonModule], exports: [EditableInputComponent] });
|
717
|
+
EditableInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EditableInputModule, imports: [CommonModule] });
|
718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EditableInputModule, decorators: [{
|
801
719
|
type: NgModule,
|
802
720
|
args: [{
|
803
721
|
declarations: [EditableInputComponent],
|
@@ -874,8 +792,8 @@ class HueComponent {
|
|
874
792
|
this.onChange.emit({ data, $event });
|
875
793
|
}
|
876
794
|
}
|
877
|
-
HueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
878
|
-
HueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
795
|
+
HueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: HueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
796
|
+
HueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.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: `
|
879
797
|
<div class="color-hue color-hue-{{direction}}" [style.border-radius.px]="radius" [style.box-shadow]="shadow">
|
880
798
|
<div ngx-color-coordinates (coordinatesChange)="handleChange($event)" class="color-hue-container">
|
881
799
|
<div class="color-hue-pointer" [style.left]="left" [style.top]="top" *ngIf="!hidePointer">
|
@@ -883,12 +801,10 @@ HueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
883
801
|
</div>
|
884
802
|
</div>
|
885
803
|
</div>
|
886
|
-
`, 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"],
|
887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
804
|
+
`, 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 });
|
805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: HueComponent, decorators: [{
|
888
806
|
type: Component,
|
889
|
-
args: [{
|
890
|
-
selector: 'color-hue',
|
891
|
-
template: `
|
807
|
+
args: [{ selector: 'color-hue', template: `
|
892
808
|
<div class="color-hue color-hue-{{direction}}" [style.border-radius.px]="radius" [style.box-shadow]="shadow">
|
893
809
|
<div ngx-color-coordinates (coordinatesChange)="handleChange($event)" class="color-hue-container">
|
894
810
|
<div class="color-hue-pointer" [style.left]="left" [style.top]="top" *ngIf="!hidePointer">
|
@@ -896,46 +812,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
896
812
|
</div>
|
897
813
|
</div>
|
898
814
|
</div>
|
899
|
-
`,
|
900
|
-
styles: [
|
901
|
-
`
|
902
|
-
.color-hue {
|
903
|
-
position: absolute;
|
904
|
-
top: 0;
|
905
|
-
bottom: 0;
|
906
|
-
left: 0;
|
907
|
-
right: 0;
|
908
|
-
}
|
909
|
-
.color-hue-container {
|
910
|
-
margin: 0 2px;
|
911
|
-
position: relative;
|
912
|
-
height: 100%;
|
913
|
-
}
|
914
|
-
.color-hue-pointer {
|
915
|
-
position: absolute;
|
916
|
-
}
|
917
|
-
.color-hue-slider {
|
918
|
-
margin-top: 1px;
|
919
|
-
width: 4px;
|
920
|
-
border-radius: 1px;
|
921
|
-
height: 8px;
|
922
|
-
box-shadow: 0 0 2px rgba(0, 0, 0, .6);
|
923
|
-
background: #fff;
|
924
|
-
transform: translateX(-2px);
|
925
|
-
}
|
926
|
-
.color-hue-horizontal {
|
927
|
-
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
|
928
|
-
33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
929
|
-
}
|
930
|
-
.color-hue-vertical {
|
931
|
-
background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,
|
932
|
-
#0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
933
|
-
}
|
934
|
-
`,
|
935
|
-
],
|
936
|
-
preserveWhitespaces: false,
|
937
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
938
|
-
}]
|
815
|
+
`, 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"] }]
|
939
816
|
}], propDecorators: { hsl: [{
|
940
817
|
type: Input
|
941
818
|
}], pointer: [{
|
@@ -953,10 +830,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
953
830
|
}] } });
|
954
831
|
class HueModule {
|
955
832
|
}
|
956
|
-
HueModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
957
|
-
HueModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
958
|
-
HueModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
833
|
+
HueModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: HueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
834
|
+
HueModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: HueModule, declarations: [HueComponent], imports: [CommonModule, CoordinatesModule], exports: [HueComponent] });
|
835
|
+
HueModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: HueModule, imports: [CommonModule, CoordinatesModule] });
|
836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: HueModule, decorators: [{
|
960
837
|
type: NgModule,
|
961
838
|
args: [{
|
962
839
|
declarations: [HueComponent],
|
@@ -972,8 +849,8 @@ class RaisedComponent {
|
|
972
849
|
this.background = '#fff';
|
973
850
|
}
|
974
851
|
}
|
975
|
-
RaisedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
976
|
-
RaisedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
852
|
+
RaisedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RaisedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
853
|
+
RaisedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: RaisedComponent, selector: "color-raised", inputs: { zDepth: "zDepth", radius: "radius", background: "background" }, ngImport: i0, template: `
|
977
854
|
<div class="raised-wrap">
|
978
855
|
<div class="raised-bg zDepth-{{zDepth}}" [style.background]="background"></div>
|
979
856
|
<div class="raised-content">
|
@@ -981,55 +858,16 @@ RaisedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
981
858
|
</div>
|
982
859
|
</div>
|
983
860
|
`, 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 });
|
984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RaisedComponent, decorators: [{
|
985
862
|
type: Component,
|
986
|
-
args: [{
|
987
|
-
selector: 'color-raised',
|
988
|
-
template: `
|
863
|
+
args: [{ selector: 'color-raised', template: `
|
989
864
|
<div class="raised-wrap">
|
990
865
|
<div class="raised-bg zDepth-{{zDepth}}" [style.background]="background"></div>
|
991
866
|
<div class="raised-content">
|
992
867
|
<ng-content></ng-content>
|
993
868
|
</div>
|
994
869
|
</div>
|
995
|
-
`,
|
996
|
-
styles: [`
|
997
|
-
.raised-wrap {
|
998
|
-
position: relative;
|
999
|
-
display: inline-block;
|
1000
|
-
}
|
1001
|
-
.raised-bg {
|
1002
|
-
position: absolute;
|
1003
|
-
top: 0px;
|
1004
|
-
right: 0px;
|
1005
|
-
bottom: 0px;
|
1006
|
-
left: 0px;
|
1007
|
-
}
|
1008
|
-
.raised-content {
|
1009
|
-
position: relative;
|
1010
|
-
}
|
1011
|
-
.zDepth-0 {
|
1012
|
-
box-shadow: none;
|
1013
|
-
}
|
1014
|
-
.zDepth-1 {
|
1015
|
-
box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);
|
1016
|
-
}
|
1017
|
-
.zDepth-2 {
|
1018
|
-
box-shadow: 0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2);
|
1019
|
-
}
|
1020
|
-
.zDepth-3 {
|
1021
|
-
box-shadow: 0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24);
|
1022
|
-
}
|
1023
|
-
.zDepth-4 {
|
1024
|
-
box-shadow: 0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22);
|
1025
|
-
}
|
1026
|
-
.zDepth-5 {
|
1027
|
-
box-shadow: 0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2);
|
1028
|
-
}
|
1029
|
-
`],
|
1030
|
-
preserveWhitespaces: false,
|
1031
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1032
|
-
}]
|
870
|
+
`, 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"] }]
|
1033
871
|
}], propDecorators: { zDepth: [{
|
1034
872
|
type: Input
|
1035
873
|
}], radius: [{
|
@@ -1039,10 +877,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1039
877
|
}] } });
|
1040
878
|
class RaisedModule {
|
1041
879
|
}
|
1042
|
-
RaisedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1043
|
-
RaisedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1044
|
-
RaisedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
880
|
+
RaisedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RaisedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
881
|
+
RaisedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: RaisedModule, declarations: [RaisedComponent], imports: [CommonModule], exports: [RaisedComponent] });
|
882
|
+
RaisedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RaisedModule, imports: [CommonModule] });
|
883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RaisedModule, decorators: [{
|
1046
884
|
type: NgModule,
|
1047
885
|
args: [{
|
1048
886
|
declarations: [RaisedComponent],
|
@@ -1087,8 +925,8 @@ class SaturationComponent {
|
|
1087
925
|
this.onChange.emit({ data, $event });
|
1088
926
|
}
|
1089
927
|
}
|
1090
|
-
SaturationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1091
|
-
SaturationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
928
|
+
SaturationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SaturationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
929
|
+
SaturationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.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: `
|
1092
930
|
<div class="color-saturation" ngx-color-coordinates (coordinatesChange)="handleChange($event)" [style.background]="background">
|
1093
931
|
<div class="saturation-white">
|
1094
932
|
<div class="saturation-black"></div>
|
@@ -1097,12 +935,10 @@ SaturationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
1097
935
|
</div>
|
1098
936
|
</div>
|
1099
937
|
</div>
|
1100
|
-
`, 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"],
|
1101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
938
|
+
`, 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 });
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SaturationComponent, decorators: [{
|
1102
940
|
type: Component,
|
1103
|
-
args: [{
|
1104
|
-
selector: 'color-saturation',
|
1105
|
-
template: `
|
941
|
+
args: [{ selector: 'color-saturation', template: `
|
1106
942
|
<div class="color-saturation" ngx-color-coordinates (coordinatesChange)="handleChange($event)" [style.background]="background">
|
1107
943
|
<div class="saturation-white">
|
1108
944
|
<div class="saturation-black"></div>
|
@@ -1111,49 +947,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1111
947
|
</div>
|
1112
948
|
</div>
|
1113
949
|
</div>
|
1114
|
-
`,
|
1115
|
-
styles: [
|
1116
|
-
`
|
1117
|
-
.saturation-white {
|
1118
|
-
background: linear-gradient(to right, #fff, rgba(255,255,255,0));
|
1119
|
-
position: absolute;
|
1120
|
-
top: 0;
|
1121
|
-
bottom: 0;
|
1122
|
-
left: 0;
|
1123
|
-
right: 0;
|
1124
|
-
}
|
1125
|
-
.saturation-black {
|
1126
|
-
background: linear-gradient(to top, #000, rgba(0,0,0,0));
|
1127
|
-
position: absolute;
|
1128
|
-
top: 0;
|
1129
|
-
bottom: 0;
|
1130
|
-
left: 0;
|
1131
|
-
right: 0;
|
1132
|
-
}
|
1133
|
-
.color-saturation {
|
1134
|
-
position: absolute;
|
1135
|
-
top: 0;
|
1136
|
-
bottom: 0;
|
1137
|
-
left: 0;
|
1138
|
-
right: 0;
|
1139
|
-
}
|
1140
|
-
.saturation-pointer {
|
1141
|
-
position: absolute;
|
1142
|
-
cursor: default;
|
1143
|
-
}
|
1144
|
-
.saturation-circle {
|
1145
|
-
width: 4px;
|
1146
|
-
height: 4px;
|
1147
|
-
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);
|
1148
|
-
border-radius: 50%;
|
1149
|
-
cursor: hand;
|
1150
|
-
transform: translate(-2px, -4px);
|
1151
|
-
}
|
1152
|
-
`,
|
1153
|
-
],
|
1154
|
-
preserveWhitespaces: false,
|
1155
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1156
|
-
}]
|
950
|
+
`, 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"] }]
|
1157
951
|
}], propDecorators: { hsl: [{
|
1158
952
|
type: Input
|
1159
953
|
}], hsv: [{
|
@@ -1169,10 +963,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1169
963
|
}] } });
|
1170
964
|
class SaturationModule {
|
1171
965
|
}
|
1172
|
-
SaturationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1173
|
-
SaturationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1174
|
-
SaturationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
966
|
+
SaturationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SaturationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
967
|
+
SaturationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: SaturationModule, declarations: [SaturationComponent], imports: [CommonModule, CoordinatesModule], exports: [SaturationComponent] });
|
968
|
+
SaturationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SaturationModule, imports: [CommonModule, CoordinatesModule] });
|
969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SaturationModule, decorators: [{
|
1176
970
|
type: NgModule,
|
1177
971
|
args: [{
|
1178
972
|
declarations: [SaturationComponent],
|
@@ -1217,8 +1011,8 @@ class SwatchComponent {
|
|
1217
1011
|
this.onClick.emit({ hex, $event });
|
1218
1012
|
}
|
1219
1013
|
}
|
1220
|
-
SwatchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1221
|
-
SwatchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1014
|
+
SwatchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SwatchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1015
|
+
SwatchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SwatchComponent, selector: "color-swatch", inputs: { color: "color", style: "style", focusStyle: "focusStyle", focus: "focus" }, outputs: { onClick: "onClick", onHover: "onHover" }, ngImport: i0, template: `
|
1222
1016
|
<div
|
1223
1017
|
class="swatch"
|
1224
1018
|
[ngStyle]="currentStyles()"
|
@@ -1236,12 +1030,10 @@ SwatchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
1236
1030
|
boxShadow="inset 0 0 0 1px rgba(0,0,0,0.1)"
|
1237
1031
|
></color-checkboard>
|
1238
1032
|
</div>
|
1239
|
-
`, isInline: true, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"],
|
1240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1033
|
+
`, 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 });
|
1034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SwatchComponent, decorators: [{
|
1241
1035
|
type: Component,
|
1242
|
-
args: [{
|
1243
|
-
selector: 'color-swatch',
|
1244
|
-
template: `
|
1036
|
+
args: [{ selector: 'color-swatch', template: `
|
1245
1037
|
<div
|
1246
1038
|
class="swatch"
|
1247
1039
|
[ngStyle]="currentStyles()"
|
@@ -1259,20 +1051,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1259
1051
|
boxShadow="inset 0 0 0 1px rgba(0,0,0,0.1)"
|
1260
1052
|
></color-checkboard>
|
1261
1053
|
</div>
|
1262
|
-
`,
|
1263
|
-
styles: [
|
1264
|
-
`
|
1265
|
-
.swatch {
|
1266
|
-
outline: none;
|
1267
|
-
height: 100%;
|
1268
|
-
width: 100%;
|
1269
|
-
cursor: pointer;
|
1270
|
-
position: relative;
|
1271
|
-
}
|
1272
|
-
`,
|
1273
|
-
],
|
1274
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1275
|
-
}]
|
1054
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".swatch{outline:none;height:100%;width:100%;cursor:pointer;position:relative}\n"] }]
|
1276
1055
|
}], propDecorators: { color: [{
|
1277
1056
|
type: Input
|
1278
1057
|
}], style: [{
|
@@ -1288,10 +1067,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1288
1067
|
}] } });
|
1289
1068
|
class SwatchModule {
|
1290
1069
|
}
|
1291
|
-
SwatchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1292
|
-
SwatchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1293
|
-
SwatchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1070
|
+
SwatchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SwatchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1071
|
+
SwatchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: SwatchModule, declarations: [SwatchComponent], imports: [CommonModule, CheckboardModule], exports: [SwatchComponent] });
|
1072
|
+
SwatchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SwatchModule, imports: [CommonModule, CheckboardModule] });
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SwatchModule, decorators: [{
|
1295
1074
|
type: NgModule,
|
1296
1075
|
args: [{
|
1297
1076
|
declarations: [SwatchComponent],
|
@@ -1342,8 +1121,8 @@ class ShadeComponent {
|
|
1342
1121
|
this.onChange.emit({ data, $event });
|
1343
1122
|
}
|
1344
1123
|
}
|
1345
|
-
ShadeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1346
|
-
ShadeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1124
|
+
ShadeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ShadeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1125
|
+
ShadeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.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: `
|
1347
1126
|
<div class="shade" [style.border-radius]="radius">
|
1348
1127
|
<div
|
1349
1128
|
class="shade-gradient"
|
@@ -1365,12 +1144,10 @@ ShadeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
1365
1144
|
</div>
|
1366
1145
|
</div>
|
1367
1146
|
</div>
|
1368
|
-
`, isInline: true, styles: [".shade
|
1369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1147
|
+
`, 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 });
|
1148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ShadeComponent, decorators: [{
|
1370
1149
|
type: Component,
|
1371
|
-
args: [{
|
1372
|
-
selector: 'color-shade',
|
1373
|
-
template: `
|
1150
|
+
args: [{ selector: 'color-shade', template: `
|
1374
1151
|
<div class="shade" [style.border-radius]="radius">
|
1375
1152
|
<div
|
1376
1153
|
class="shade-gradient"
|
@@ -1392,45 +1169,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1392
1169
|
</div>
|
1393
1170
|
</div>
|
1394
1171
|
</div>
|
1395
|
-
`,
|
1396
|
-
styles: [
|
1397
|
-
`
|
1398
|
-
.shade {
|
1399
|
-
position: absolute;
|
1400
|
-
top: 0;
|
1401
|
-
bottom: 0;
|
1402
|
-
left: 0;
|
1403
|
-
right: 0;
|
1404
|
-
}
|
1405
|
-
.shade-gradient {
|
1406
|
-
position: absolute;
|
1407
|
-
top: 0;
|
1408
|
-
bottom: 0;
|
1409
|
-
left: 0;
|
1410
|
-
right: 0;
|
1411
|
-
}
|
1412
|
-
.shade-container {
|
1413
|
-
position: relative;
|
1414
|
-
height: 100%;
|
1415
|
-
margin: 0 3px;
|
1416
|
-
}
|
1417
|
-
.shade-pointer {
|
1418
|
-
position: absolute;
|
1419
|
-
}
|
1420
|
-
.shade-slider {
|
1421
|
-
width: 4px;
|
1422
|
-
border-radius: 1px;
|
1423
|
-
height: 8px;
|
1424
|
-
box-shadow: 0 0 2px rgba(0, 0, 0, .6);
|
1425
|
-
background: #fff;
|
1426
|
-
margin-top: 1px;
|
1427
|
-
transform: translateX(-2px);
|
1428
|
-
}
|
1429
|
-
`,
|
1430
|
-
],
|
1431
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
1432
|
-
preserveWhitespaces: false,
|
1433
|
-
}]
|
1172
|
+
`, 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"] }]
|
1434
1173
|
}], propDecorators: { hsl: [{
|
1435
1174
|
type: Input
|
1436
1175
|
}], rgb: [{
|
@@ -1446,10 +1185,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
|
|
1446
1185
|
}] } });
|
1447
1186
|
class ShadeModule {
|
1448
1187
|
}
|
1449
|
-
ShadeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
1450
|
-
ShadeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1451
|
-
ShadeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
1452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1188
|
+
ShadeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ShadeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1189
|
+
ShadeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: ShadeModule, declarations: [ShadeComponent], imports: [CommonModule, CoordinatesModule], exports: [ShadeComponent] });
|
1190
|
+
ShadeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ShadeModule, imports: [CommonModule, CoordinatesModule] });
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ShadeModule, decorators: [{
|
1453
1192
|
type: NgModule,
|
1454
1193
|
args: [{
|
1455
1194
|
declarations: [ShadeComponent],
|