ngx-color 7.0.1 → 7.3.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/alpha/alpha-picker.component.d.ts +8 -0
- package/alpha/esm2020/alpha-picker.component.mjs +116 -0
- package/alpha/{esm2015/ngx-color-alpha.js → esm2020/ngx-color-alpha.mjs} +2 -2
- package/alpha/esm2020/public_api.mjs +2 -0
- package/alpha/fesm2015/ngx-color-alpha.mjs +123 -0
- package/alpha/fesm2015/ngx-color-alpha.mjs.map +1 -0
- package/alpha/fesm2020/ngx-color-alpha.mjs +123 -0
- package/alpha/fesm2020/ngx-color-alpha.mjs.map +1 -0
- package/alpha/ngx-color-alpha.d.ts +2 -1
- package/alpha/package.json +19 -7
- package/alpha/public_api.d.ts +1 -0
- package/alpha.component.d.ts +9 -0
- package/block/block-swatches.component.d.ts +3 -0
- package/block/block.component.d.ts +9 -0
- package/block/esm2020/block-swatches.component.mjs +76 -0
- package/block/esm2020/block.component.mjs +199 -0
- package/block/esm2020/ngx-color-block.mjs +5 -0
- package/block/esm2020/public_api.mjs +3 -0
- package/block/fesm2015/ngx-color-block.mjs +277 -0
- package/block/fesm2015/ngx-color-block.mjs.map +1 -0
- package/block/fesm2020/ngx-color-block.mjs +277 -0
- package/block/fesm2020/ngx-color-block.mjs.map +1 -0
- package/block/ngx-color-block.d.ts +2 -2
- package/block/package.json +19 -7
- package/block/public_api.d.ts +2 -0
- package/checkboard.component.d.ts +7 -0
- package/chrome/chrome-fields.component.d.ts +3 -0
- package/chrome/chrome.component.d.ts +9 -0
- package/chrome/esm2020/chrome-fields.component.mjs +356 -0
- package/chrome/esm2020/chrome.component.mjs +249 -0
- package/chrome/esm2020/ngx-color-chrome.mjs +5 -0
- package/chrome/esm2020/public_api.mjs +3 -0
- package/chrome/fesm2015/ngx-color-chrome.mjs +606 -0
- package/chrome/fesm2015/ngx-color-chrome.mjs.map +1 -0
- package/chrome/fesm2020/ngx-color-chrome.mjs +606 -0
- package/chrome/fesm2020/ngx-color-chrome.mjs.map +1 -0
- package/chrome/ngx-color-chrome.d.ts +2 -2
- package/chrome/package.json +19 -7
- package/chrome/public_api.d.ts +2 -0
- package/circle/circle-swatch.component.d.ts +3 -0
- package/circle/circle.component.d.ts +9 -0
- package/circle/esm2020/circle-swatch.component.mjs +85 -0
- package/circle/esm2020/circle.component.mjs +148 -0
- package/circle/esm2020/ngx-color-circle.mjs +5 -0
- package/circle/esm2020/public_api.mjs +3 -0
- package/circle/fesm2015/ngx-color-circle.mjs +237 -0
- package/circle/fesm2015/ngx-color-circle.mjs.map +1 -0
- package/circle/fesm2020/ngx-color-circle.mjs +237 -0
- package/circle/fesm2020/ngx-color-circle.mjs.map +1 -0
- package/circle/ngx-color-circle.d.ts +2 -2
- package/circle/package.json +19 -7
- package/circle/public_api.d.ts +2 -0
- package/color-wrap.component.d.ts +27 -2
- package/compact/compact-color.component.d.ts +3 -0
- package/compact/compact-fields.component.d.ts +3 -0
- package/compact/compact.component.d.ts +10 -0
- package/compact/esm2020/compact-color.component.mjs +91 -0
- package/compact/esm2020/compact-fields.component.mjs +186 -0
- package/compact/esm2020/compact.component.mjs +177 -0
- package/compact/esm2020/ngx-color-compact.mjs +5 -0
- package/compact/esm2020/public_api.mjs +4 -0
- package/compact/fesm2015/ngx-color-compact.mjs +451 -0
- package/compact/fesm2015/ngx-color-compact.mjs.map +1 -0
- package/compact/fesm2020/ngx-color-compact.mjs +451 -0
- package/compact/fesm2020/ngx-color-compact.mjs.map +1 -0
- package/compact/ngx-color-compact.d.ts +2 -3
- package/compact/package.json +19 -7
- package/compact/public_api.d.ts +3 -0
- package/coordinates.directive.d.ts +6 -0
- package/editable-input.component.d.ts +8 -0
- package/esm2020/alpha.component.mjs +186 -0
- package/esm2020/checkboard.component.mjs +66 -0
- package/esm2020/color-wrap.component.mjs +163 -0
- package/esm2020/coordinates.directive.mjs +104 -0
- package/esm2020/editable-input.component.mjs +217 -0
- package/{esm2015/helpers/checkboard.js → esm2020/helpers/checkboard.mjs} +0 -0
- package/{esm2015/helpers/color.interfaces.js → esm2020/helpers/color.interfaces.mjs} +0 -0
- package/{esm2015/helpers/color.js → esm2020/helpers/color.mjs} +0 -0
- package/esm2020/hue.component.mjs +165 -0
- package/{esm2015/ngx-color.js → esm2020/ngx-color.mjs} +0 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/esm2020/raised.component.mjs +89 -0
- package/esm2020/saturation.component.mjs +136 -0
- package/esm2020/shade.component.mjs +165 -0
- package/esm2020/swatch.component.mjs +125 -0
- package/fesm2015/ngx-color.mjs +1461 -0
- package/fesm2015/ngx-color.mjs.map +1 -0
- package/fesm2020/ngx-color.mjs +1466 -0
- package/fesm2020/ngx-color.mjs.map +1 -0
- package/github/esm2020/github-swatch.component.mjs +67 -0
- package/github/esm2020/github.component.mjs +179 -0
- package/github/esm2020/ngx-color-github.mjs +5 -0
- package/github/esm2020/public_api.mjs +3 -0
- package/github/fesm2015/ngx-color-github.mjs +250 -0
- package/github/fesm2015/ngx-color-github.mjs.map +1 -0
- package/github/fesm2020/ngx-color-github.mjs +250 -0
- package/github/fesm2020/ngx-color-github.mjs.map +1 -0
- package/github/github-swatch.component.d.ts +3 -0
- package/github/github.component.d.ts +9 -0
- package/github/ngx-color-github.d.ts +2 -2
- package/github/package.json +19 -7
- package/github/public_api.d.ts +2 -0
- package/helpers/checkboard.d.ts +2 -2
- package/hue/esm2020/hue-picker.component.mjs +113 -0
- package/hue/{esm2015/ngx-color-hue.js → esm2020/ngx-color-hue.mjs} +2 -2
- package/hue/esm2020/public_api.mjs +2 -0
- package/hue/fesm2015/ngx-color-hue.mjs +120 -0
- package/hue/fesm2015/ngx-color-hue.mjs.map +1 -0
- package/hue/fesm2020/ngx-color-hue.mjs +120 -0
- package/hue/fesm2020/ngx-color-hue.mjs.map +1 -0
- package/hue/hue-picker.component.d.ts +8 -0
- package/hue/ngx-color-hue.d.ts +2 -1
- package/hue/package.json +19 -7
- package/hue/public_api.d.ts +1 -0
- package/hue.component.d.ts +8 -0
- package/material/esm2020/material.component.mjs +211 -0
- package/material/{esm2015/ngx-color-material.js → esm2020/ngx-color-material.mjs} +2 -2
- package/material/esm2020/public_api.mjs +2 -0
- package/material/fesm2015/ngx-color-material.mjs +218 -0
- package/material/fesm2015/ngx-color-material.mjs.map +1 -0
- package/material/fesm2020/ngx-color-material.mjs +218 -0
- package/material/fesm2020/ngx-color-material.mjs.map +1 -0
- package/material/material.component.d.ts +8 -0
- package/material/ngx-color-material.d.ts +2 -1
- package/material/package.json +19 -7
- package/material/public_api.d.ts +1 -0
- package/ngx-color.d.ts +1 -0
- package/package.json +20 -8
- package/photoshop/esm2020/ngx-color-photoshop.mjs +5 -0
- package/photoshop/esm2020/photoshop-button.component.mjs +63 -0
- package/photoshop/esm2020/photoshop-fields.component.mjs +241 -0
- package/photoshop/esm2020/photoshop-previews.component.mjs +68 -0
- package/photoshop/esm2020/photoshop.component.mjs +258 -0
- package/photoshop/esm2020/public_api.mjs +5 -0
- package/photoshop/fesm2015/ngx-color-photoshop.mjs +626 -0
- package/photoshop/fesm2015/ngx-color-photoshop.mjs.map +1 -0
- package/photoshop/fesm2020/ngx-color-photoshop.mjs +626 -0
- package/photoshop/fesm2020/ngx-color-photoshop.mjs.map +1 -0
- package/photoshop/ngx-color-photoshop.d.ts +2 -4
- package/photoshop/package.json +19 -7
- package/photoshop/photoshop-button.component.d.ts +3 -0
- package/photoshop/photoshop-fields.component.d.ts +3 -0
- package/photoshop/photoshop-previews.component.d.ts +3 -0
- package/photoshop/photoshop.component.d.ts +11 -0
- package/photoshop/public_api.d.ts +4 -0
- package/raised.component.d.ts +7 -0
- package/saturation.component.d.ts +8 -0
- package/shade/{esm2015/ngx-color-shade.js → esm2020/ngx-color-shade.mjs} +2 -2
- package/shade/esm2020/public_api.mjs +2 -0
- package/shade/esm2020/shade-picker.component.mjs +105 -0
- package/shade/fesm2015/ngx-color-shade.mjs +112 -0
- package/shade/fesm2015/ngx-color-shade.mjs.map +1 -0
- package/shade/fesm2020/ngx-color-shade.mjs +112 -0
- package/shade/fesm2020/ngx-color-shade.mjs.map +1 -0
- package/shade/ngx-color-shade.d.ts +2 -1
- package/shade/package.json +19 -7
- package/shade/public_api.d.ts +1 -0
- package/shade/shade-picker.component.d.ts +8 -0
- package/shade.component.d.ts +8 -0
- package/sketch/esm2020/ngx-color-sketch.mjs +5 -0
- package/sketch/esm2020/public_api.mjs +4 -0
- package/sketch/esm2020/sketch-fields.component.mjs +243 -0
- package/sketch/esm2020/sketch-preset-colors.component.mjs +98 -0
- package/sketch/esm2020/sketch.component.mjs +283 -0
- package/sketch/fesm2015/ngx-color-sketch.mjs +620 -0
- package/sketch/fesm2015/ngx-color-sketch.mjs.map +1 -0
- package/sketch/fesm2020/ngx-color-sketch.mjs +620 -0
- package/sketch/fesm2020/ngx-color-sketch.mjs.map +1 -0
- package/sketch/ngx-color-sketch.d.ts +2 -3
- package/sketch/package.json +19 -7
- package/sketch/public_api.d.ts +3 -0
- package/sketch/sketch-fields.component.d.ts +3 -0
- package/sketch/sketch-preset-colors.component.d.ts +3 -0
- package/sketch/sketch.component.d.ts +10 -0
- package/slider/esm2020/ngx-color-slider.mjs +5 -0
- package/slider/esm2020/public_api.mjs +4 -0
- package/slider/esm2020/slider-swatch.component.mjs +80 -0
- package/slider/esm2020/slider-swatches.component.mjs +135 -0
- package/slider/esm2020/slider.component.mjs +116 -0
- package/slider/fesm2015/ngx-color-slider.mjs +331 -0
- package/slider/fesm2015/ngx-color-slider.mjs.map +1 -0
- package/slider/fesm2020/ngx-color-slider.mjs +331 -0
- package/slider/fesm2020/ngx-color-slider.mjs.map +1 -0
- package/slider/ngx-color-slider.d.ts +2 -3
- package/slider/package.json +19 -7
- package/slider/public_api.d.ts +3 -0
- package/slider/slider-swatch.component.d.ts +3 -0
- package/slider/slider-swatches.component.d.ts +3 -0
- package/slider/slider.component.d.ts +10 -0
- package/swatch.component.d.ts +8 -0
- package/swatches/esm2020/ngx-color-swatches.mjs +5 -0
- package/swatches/esm2020/public_api.mjs +4 -0
- package/swatches/esm2020/swatches-color.component.mjs +123 -0
- package/swatches/esm2020/swatches-group.component.mjs +64 -0
- package/swatches/esm2020/swatches.component.mjs +258 -0
- package/swatches/fesm2015/ngx-color-swatches.mjs +441 -0
- package/swatches/fesm2015/ngx-color-swatches.mjs.map +1 -0
- package/swatches/fesm2020/ngx-color-swatches.mjs +441 -0
- package/swatches/fesm2020/ngx-color-swatches.mjs.map +1 -0
- package/swatches/ngx-color-swatches.d.ts +2 -3
- package/swatches/package.json +19 -7
- package/swatches/public_api.d.ts +3 -0
- package/swatches/swatches-color.component.d.ts +3 -0
- package/swatches/swatches-group.component.d.ts +3 -0
- package/swatches/swatches.component.d.ts +10 -0
- package/twitter/{esm2015/ngx-color-twitter.js → esm2020/ngx-color-twitter.mjs} +2 -2
- package/twitter/esm2020/public_api.mjs +2 -0
- package/twitter/esm2020/twitter.component.mjs +255 -0
- package/twitter/fesm2015/ngx-color-twitter.mjs +262 -0
- package/twitter/fesm2015/ngx-color-twitter.mjs.map +1 -0
- package/twitter/fesm2020/ngx-color-twitter.mjs +262 -0
- package/twitter/fesm2020/ngx-color-twitter.mjs.map +1 -0
- package/twitter/ngx-color-twitter.d.ts +2 -1
- package/twitter/package.json +19 -7
- package/twitter/public_api.d.ts +1 -0
- package/twitter/twitter.component.d.ts +8 -0
- package/alpha/bundles/ngx-color-alpha.umd.js +0 -387
- package/alpha/bundles/ngx-color-alpha.umd.js.map +0 -1
- package/alpha/esm2015/alpha-picker.component.js +0 -72
- package/alpha/fesm2015/ngx-color-alpha.js +0 -79
- package/alpha/fesm2015/ngx-color-alpha.js.map +0 -1
- package/alpha/ngx-color-alpha.metadata.json +0 -1
- package/block/bundles/ngx-color-block.umd.js +0 -455
- package/block/bundles/ngx-color-block.umd.js.map +0 -1
- package/block/esm2015/block-swatches.component.js +0 -58
- package/block/esm2015/block.component.js +0 -139
- package/block/esm2015/ngx-color-block.js +0 -6
- package/block/fesm2015/ngx-color-block.js +0 -202
- package/block/fesm2015/ngx-color-block.js.map +0 -1
- package/block/ngx-color-block.metadata.json +0 -1
- package/bundles/ngx-color.umd.js +0 -951
- package/bundles/ngx-color.umd.js.map +0 -1
- package/chrome/bundles/ngx-color-chrome.umd.js +0 -526
- package/chrome/bundles/ngx-color-chrome.umd.js.map +0 -1
- package/chrome/esm2015/chrome-fields.component.js +0 -255
- package/chrome/esm2015/chrome.component.js +0 -161
- package/chrome/esm2015/ngx-color-chrome.js +0 -6
- package/chrome/fesm2015/ngx-color-chrome.js +0 -420
- package/chrome/fesm2015/ngx-color-chrome.js.map +0 -1
- package/chrome/ngx-color-chrome.metadata.json +0 -1
- package/circle/bundles/ngx-color-circle.umd.js +0 -452
- package/circle/bundles/ngx-color-circle.umd.js.map +0 -1
- package/circle/esm2015/circle-swatch.component.js +0 -63
- package/circle/esm2015/circle.component.js +0 -97
- package/circle/esm2015/ngx-color-circle.js +0 -6
- package/circle/fesm2015/ngx-color-circle.js +0 -165
- package/circle/fesm2015/ngx-color-circle.js.map +0 -1
- package/circle/ngx-color-circle.metadata.json +0 -1
- package/compact/bundles/ngx-color-compact.umd.js +0 -562
- package/compact/bundles/ngx-color-compact.umd.js.map +0 -1
- package/compact/esm2015/compact-color.component.js +0 -70
- package/compact/esm2015/compact-fields.component.js +0 -142
- package/compact/esm2015/compact.component.js +0 -123
- package/compact/esm2015/ngx-color-compact.js +0 -7
- package/compact/fesm2015/ngx-color-compact.js +0 -336
- package/compact/fesm2015/ngx-color-compact.js.map +0 -1
- package/compact/ngx-color-compact.metadata.json +0 -1
- package/esm2015/alpha.component.js +0 -156
- package/esm2015/checkboard.component.js +0 -52
- package/esm2015/color-wrap.component.js +0 -82
- package/esm2015/coordinates.directive.js +0 -85
- package/esm2015/editable-input.component.js +0 -181
- package/esm2015/hue.component.js +0 -140
- package/esm2015/raised.component.js +0 -73
- package/esm2015/saturation.component.js +0 -111
- package/esm2015/shade.component.js +0 -127
- package/esm2015/swatch.component.js +0 -85
- package/fesm2015/ngx-color.js +0 -1164
- package/fesm2015/ngx-color.js.map +0 -1
- package/github/bundles/ngx-color-github.umd.js +0 -430
- package/github/bundles/ngx-color-github.umd.js.map +0 -1
- package/github/esm2015/github-swatch.component.js +0 -48
- package/github/esm2015/github.component.js +0 -134
- package/github/esm2015/ngx-color-github.js +0 -6
- package/github/fesm2015/ngx-color-github.js +0 -187
- package/github/fesm2015/ngx-color-github.js.map +0 -1
- package/github/ngx-color-github.metadata.json +0 -1
- package/hue/bundles/ngx-color-hue.umd.js +0 -390
- package/hue/bundles/ngx-color-hue.umd.js.map +0 -1
- package/hue/esm2015/hue-picker.component.js +0 -70
- package/hue/fesm2015/ngx-color-hue.js +0 -77
- package/hue/fesm2015/ngx-color-hue.js.map +0 -1
- package/hue/ngx-color-hue.metadata.json +0 -1
- package/material/bundles/ngx-color-material.umd.js +0 -438
- package/material/bundles/ngx-color-material.umd.js.map +0 -1
- package/material/esm2015/material.component.js +0 -149
- package/material/fesm2015/ngx-color-material.js +0 -156
- package/material/fesm2015/ngx-color-material.js.map +0 -1
- package/material/ngx-color-material.metadata.json +0 -1
- package/ngx-color.metadata.json +0 -1
- package/photoshop/bundles/ngx-color-photoshop.umd.js +0 -554
- package/photoshop/bundles/ngx-color-photoshop.umd.js.map +0 -1
- package/photoshop/esm2015/ngx-color-photoshop.js +0 -8
- package/photoshop/esm2015/photoshop-button.component.js +0 -50
- package/photoshop/esm2015/photoshop-fields.component.js +0 -180
- package/photoshop/esm2015/photoshop-previews.component.js +0 -53
- package/photoshop/esm2015/photoshop.component.js +0 -169
- package/photoshop/fesm2015/ngx-color-photoshop.js +0 -452
- package/photoshop/fesm2015/ngx-color-photoshop.js.map +0 -1
- package/photoshop/ngx-color-photoshop.metadata.json +0 -1
- package/shade/bundles/ngx-color-shade.umd.js +0 -382
- package/shade/bundles/ngx-color-shade.umd.js.map +0 -1
- package/shade/esm2015/shade-picker.component.js +0 -63
- package/shade/fesm2015/ngx-color-shade.js +0 -70
- package/shade/fesm2015/ngx-color-shade.js.map +0 -1
- package/shade/ngx-color-shade.metadata.json +0 -1
- package/sketch/bundles/ngx-color-sketch.umd.js +0 -568
- package/sketch/bundles/ngx-color-sketch.umd.js.map +0 -1
- package/sketch/esm2015/ngx-color-sketch.js +0 -7
- package/sketch/esm2015/sketch-fields.component.js +0 -181
- package/sketch/esm2015/sketch-preset-colors.component.js +0 -76
- package/sketch/esm2015/sketch.component.js +0 -191
- package/sketch/fesm2015/ngx-color-sketch.js +0 -450
- package/sketch/fesm2015/ngx-color-sketch.js.map +0 -1
- package/sketch/ngx-color-sketch.metadata.json +0 -1
- package/slider/bundles/ngx-color-slider.umd.js +0 -453
- package/slider/bundles/ngx-color-slider.umd.js.map +0 -1
- package/slider/esm2015/ngx-color-slider.js +0 -7
- package/slider/esm2015/slider-swatch.component.js +0 -65
- package/slider/esm2015/slider-swatches.component.js +0 -84
- package/slider/esm2015/slider.component.js +0 -69
- package/slider/fesm2015/ngx-color-slider.js +0 -221
- package/slider/fesm2015/ngx-color-slider.js.map +0 -1
- package/slider/ngx-color-slider.metadata.json +0 -1
- package/swatches/bundles/ngx-color-swatches.umd.js +0 -595
- package/swatches/bundles/ngx-color-swatches.umd.js.map +0 -1
- package/swatches/esm2015/ngx-color-swatches.js +0 -7
- package/swatches/esm2015/swatches-color.component.js +0 -90
- package/swatches/esm2015/swatches-group.component.js +0 -42
- package/swatches/esm2015/swatches.component.js +0 -205
- package/swatches/fesm2015/ngx-color-swatches.js +0 -339
- package/swatches/fesm2015/ngx-color-swatches.js.map +0 -1
- package/swatches/ngx-color-swatches.metadata.json +0 -1
- package/twitter/bundles/ngx-color-twitter.umd.js +0 -416
- package/twitter/bundles/ngx-color-twitter.umd.js.map +0 -1
- package/twitter/esm2015/twitter.component.js +0 -195
- package/twitter/fesm2015/ngx-color-twitter.js +0 -202
- package/twitter/fesm2015/ngx-color-twitter.js.map +0 -1
- package/twitter/ngx-color-twitter.metadata.json +0 -1
@@ -1,149 +0,0 @@
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, NgModule, Input } from '@angular/core';
|
3
|
-
import { ColorWrap, EditableInputModule, RaisedModule, isValidHex } from 'ngx-color';
|
4
|
-
export class MaterialComponent extends ColorWrap {
|
5
|
-
constructor() {
|
6
|
-
super();
|
7
|
-
this.HEXinput = {
|
8
|
-
width: '100%',
|
9
|
-
marginTop: '12px',
|
10
|
-
fontSize: '15px',
|
11
|
-
color: 'rgb(51, 51, 51)',
|
12
|
-
padding: '0px',
|
13
|
-
'border-width': '0px 0px 2px',
|
14
|
-
outline: 'none',
|
15
|
-
height: '30px',
|
16
|
-
};
|
17
|
-
this.HEXlabel = {
|
18
|
-
position: 'absolute',
|
19
|
-
top: '0px',
|
20
|
-
left: '0px',
|
21
|
-
fontSize: '11px',
|
22
|
-
color: 'rgb(153, 153, 153)',
|
23
|
-
'text-transform': 'capitalize',
|
24
|
-
};
|
25
|
-
this.RGBinput = {
|
26
|
-
width: '100%',
|
27
|
-
marginTop: '12px',
|
28
|
-
fontSize: '15px',
|
29
|
-
color: '#333',
|
30
|
-
padding: '0px',
|
31
|
-
border: '0px',
|
32
|
-
'border-bottom': '1px solid #eee',
|
33
|
-
outline: 'none',
|
34
|
-
height: '30px',
|
35
|
-
};
|
36
|
-
this.RGBlabel = {
|
37
|
-
position: 'absolute',
|
38
|
-
top: '0px',
|
39
|
-
left: '0px',
|
40
|
-
fontSize: '11px',
|
41
|
-
color: '#999999',
|
42
|
-
'text-transform': 'capitalize',
|
43
|
-
};
|
44
|
-
this.zDepth = 1;
|
45
|
-
this.radius = 1;
|
46
|
-
this.background = '#fff';
|
47
|
-
this.disableAlpha = true;
|
48
|
-
}
|
49
|
-
handleValueChange({ data, $event }) {
|
50
|
-
this.handleChange(data, $event);
|
51
|
-
}
|
52
|
-
handleInputChange({ data, $event }) {
|
53
|
-
if (data.hex) {
|
54
|
-
if (isValidHex(data.hex)) {
|
55
|
-
this.handleValueChange({
|
56
|
-
data: {
|
57
|
-
hex: data.hex,
|
58
|
-
source: 'hex',
|
59
|
-
},
|
60
|
-
$event,
|
61
|
-
});
|
62
|
-
}
|
63
|
-
}
|
64
|
-
else if (data.r || data.g || data.b) {
|
65
|
-
this.handleValueChange({
|
66
|
-
data: {
|
67
|
-
r: data.r || this.rgb.r,
|
68
|
-
g: data.g || this.rgb.g,
|
69
|
-
b: data.b || this.rgb.b,
|
70
|
-
source: 'rgb',
|
71
|
-
},
|
72
|
-
$event,
|
73
|
-
});
|
74
|
-
}
|
75
|
-
}
|
76
|
-
afterValidChange() {
|
77
|
-
this.HEXinput['border-bottom-color'] = this.hex;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
MaterialComponent.decorators = [
|
81
|
-
{ type: Component, args: [{
|
82
|
-
selector: 'color-material',
|
83
|
-
template: `
|
84
|
-
<color-raised [zDepth]="zDepth" [background]="background" [radius]="radius">
|
85
|
-
<div class="material-picker {{ className }}">
|
86
|
-
<color-editable-input label="hex" [value]="hex"
|
87
|
-
(onChange)="handleValueChange($event)"
|
88
|
-
[style]="{input: HEXinput, label: HEXlabel}"
|
89
|
-
></color-editable-input>
|
90
|
-
<div class="material-split">
|
91
|
-
<div class="material-third">
|
92
|
-
<color-editable-input label="r" [value]="rgb.r"
|
93
|
-
[style]="{ input: RGBinput, label: RGBlabel }"
|
94
|
-
(onChange)="handleInputChange($event)"
|
95
|
-
></color-editable-input>
|
96
|
-
</div>
|
97
|
-
<div class="material-third">
|
98
|
-
<color-editable-input label="g" [value]="rgb.g"
|
99
|
-
[style]="{ input: RGBinput, label: RGBlabel }"
|
100
|
-
(onChange)="handleInputChange($event)"
|
101
|
-
></color-editable-input>
|
102
|
-
</div>
|
103
|
-
<div class="material-third">
|
104
|
-
<color-editable-input label="b" [value]="rgb.b"
|
105
|
-
[style]="{ input: RGBinput, label: RGBlabel }"
|
106
|
-
(onChange)="handleInputChange($event)"
|
107
|
-
></color-editable-input>
|
108
|
-
</div>
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
</color-raised>
|
112
|
-
`,
|
113
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
114
|
-
preserveWhitespaces: false,
|
115
|
-
styles: [`
|
116
|
-
.material-picker {
|
117
|
-
width: 130px;
|
118
|
-
height: 130px;
|
119
|
-
padding: 16px;
|
120
|
-
font-family: Roboto;
|
121
|
-
}
|
122
|
-
.material-split {
|
123
|
-
display: flex;
|
124
|
-
margin-right: -10px;
|
125
|
-
padding-top: 11px;
|
126
|
-
}
|
127
|
-
.material-third {
|
128
|
-
flex: 1 1 0%;
|
129
|
-
padding-right: 10px;
|
130
|
-
}
|
131
|
-
`]
|
132
|
-
},] }
|
133
|
-
];
|
134
|
-
MaterialComponent.ctorParameters = () => [];
|
135
|
-
MaterialComponent.propDecorators = {
|
136
|
-
zDepth: [{ type: Input }],
|
137
|
-
radius: [{ type: Input }],
|
138
|
-
background: [{ type: Input }]
|
139
|
-
};
|
140
|
-
export class ColorMaterialModule {
|
141
|
-
}
|
142
|
-
ColorMaterialModule.decorators = [
|
143
|
-
{ type: NgModule, args: [{
|
144
|
-
exports: [MaterialComponent],
|
145
|
-
declarations: [MaterialComponent],
|
146
|
-
imports: [CommonModule, EditableInputModule, RaisedModule],
|
147
|
-
},] }
|
148
|
-
];
|
149
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0ZXJpYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL21hdGVyaWFsL21hdGVyaWFsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUF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iAgICAgIH1cbiAgICB9IGVsc2UgaWYgKGRhdGEuciB8fCBkYXRhLmcgfHwgZGF0YS5iKSB7XG4gICAgICB0aGlzLmhhbmRsZVZhbHVlQ2hhbmdlKHtcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIHI6IGRhdGEuciB8fCB0aGlzLnJnYi5yLFxuICAgICAgICAgIGc6IGRhdGEuZyB8fCB0aGlzLnJnYi5nLFxuICAgICAgICAgIGI6IGRhdGEuYiB8fCB0aGlzLnJnYi5iLFxuICAgICAgICAgIHNvdXJjZTogJ3JnYicsXG4gICAgICAgIH0sXG4gICAgICAgICRldmVudCxcbiAgICAgIH0pO1xuICAgIH1cbiAgfVxuXG4gIGFmdGVyVmFsaWRDaGFuZ2UoKSB7XG4gICAgdGhpcy5IRVhpbnB1dFsnYm9yZGVyLWJvdHRvbS1jb2xvciddID0gdGhpcy5oZXg7XG4gIH1cbn1cblxuQE5nTW9kdWxlKHtcbiAgZXhwb3J0czogW01hdGVyaWFsQ29tcG9uZW50XSxcbiAgZGVjbGFyYXRpb25zOiBbTWF0ZXJpYWxDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBFZGl0YWJsZUlucHV0TW9kdWxlLCBSYWlzZWRNb2R1bGVdLFxufSlcbmV4cG9ydCBjbGFzcyBDb2xvck1hdGVyaWFsTW9kdWxlIHsgfVxuIl19
|
@@ -1,156 +0,0 @@
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
3
|
-
import { ColorWrap, isValidHex, EditableInputModule, RaisedModule } from 'ngx-color';
|
4
|
-
|
5
|
-
class MaterialComponent extends ColorWrap {
|
6
|
-
constructor() {
|
7
|
-
super();
|
8
|
-
this.HEXinput = {
|
9
|
-
width: '100%',
|
10
|
-
marginTop: '12px',
|
11
|
-
fontSize: '15px',
|
12
|
-
color: 'rgb(51, 51, 51)',
|
13
|
-
padding: '0px',
|
14
|
-
'border-width': '0px 0px 2px',
|
15
|
-
outline: 'none',
|
16
|
-
height: '30px',
|
17
|
-
};
|
18
|
-
this.HEXlabel = {
|
19
|
-
position: 'absolute',
|
20
|
-
top: '0px',
|
21
|
-
left: '0px',
|
22
|
-
fontSize: '11px',
|
23
|
-
color: 'rgb(153, 153, 153)',
|
24
|
-
'text-transform': 'capitalize',
|
25
|
-
};
|
26
|
-
this.RGBinput = {
|
27
|
-
width: '100%',
|
28
|
-
marginTop: '12px',
|
29
|
-
fontSize: '15px',
|
30
|
-
color: '#333',
|
31
|
-
padding: '0px',
|
32
|
-
border: '0px',
|
33
|
-
'border-bottom': '1px solid #eee',
|
34
|
-
outline: 'none',
|
35
|
-
height: '30px',
|
36
|
-
};
|
37
|
-
this.RGBlabel = {
|
38
|
-
position: 'absolute',
|
39
|
-
top: '0px',
|
40
|
-
left: '0px',
|
41
|
-
fontSize: '11px',
|
42
|
-
color: '#999999',
|
43
|
-
'text-transform': 'capitalize',
|
44
|
-
};
|
45
|
-
this.zDepth = 1;
|
46
|
-
this.radius = 1;
|
47
|
-
this.background = '#fff';
|
48
|
-
this.disableAlpha = true;
|
49
|
-
}
|
50
|
-
handleValueChange({ data, $event }) {
|
51
|
-
this.handleChange(data, $event);
|
52
|
-
}
|
53
|
-
handleInputChange({ data, $event }) {
|
54
|
-
if (data.hex) {
|
55
|
-
if (isValidHex(data.hex)) {
|
56
|
-
this.handleValueChange({
|
57
|
-
data: {
|
58
|
-
hex: data.hex,
|
59
|
-
source: 'hex',
|
60
|
-
},
|
61
|
-
$event,
|
62
|
-
});
|
63
|
-
}
|
64
|
-
}
|
65
|
-
else if (data.r || data.g || data.b) {
|
66
|
-
this.handleValueChange({
|
67
|
-
data: {
|
68
|
-
r: data.r || this.rgb.r,
|
69
|
-
g: data.g || this.rgb.g,
|
70
|
-
b: data.b || this.rgb.b,
|
71
|
-
source: 'rgb',
|
72
|
-
},
|
73
|
-
$event,
|
74
|
-
});
|
75
|
-
}
|
76
|
-
}
|
77
|
-
afterValidChange() {
|
78
|
-
this.HEXinput['border-bottom-color'] = this.hex;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
MaterialComponent.decorators = [
|
82
|
-
{ type: Component, args: [{
|
83
|
-
selector: 'color-material',
|
84
|
-
template: `
|
85
|
-
<color-raised [zDepth]="zDepth" [background]="background" [radius]="radius">
|
86
|
-
<div class="material-picker {{ className }}">
|
87
|
-
<color-editable-input label="hex" [value]="hex"
|
88
|
-
(onChange)="handleValueChange($event)"
|
89
|
-
[style]="{input: HEXinput, label: HEXlabel}"
|
90
|
-
></color-editable-input>
|
91
|
-
<div class="material-split">
|
92
|
-
<div class="material-third">
|
93
|
-
<color-editable-input label="r" [value]="rgb.r"
|
94
|
-
[style]="{ input: RGBinput, label: RGBlabel }"
|
95
|
-
(onChange)="handleInputChange($event)"
|
96
|
-
></color-editable-input>
|
97
|
-
</div>
|
98
|
-
<div class="material-third">
|
99
|
-
<color-editable-input label="g" [value]="rgb.g"
|
100
|
-
[style]="{ input: RGBinput, label: RGBlabel }"
|
101
|
-
(onChange)="handleInputChange($event)"
|
102
|
-
></color-editable-input>
|
103
|
-
</div>
|
104
|
-
<div class="material-third">
|
105
|
-
<color-editable-input label="b" [value]="rgb.b"
|
106
|
-
[style]="{ input: RGBinput, label: RGBlabel }"
|
107
|
-
(onChange)="handleInputChange($event)"
|
108
|
-
></color-editable-input>
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
</div>
|
112
|
-
</color-raised>
|
113
|
-
`,
|
114
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
115
|
-
preserveWhitespaces: false,
|
116
|
-
styles: [`
|
117
|
-
.material-picker {
|
118
|
-
width: 130px;
|
119
|
-
height: 130px;
|
120
|
-
padding: 16px;
|
121
|
-
font-family: Roboto;
|
122
|
-
}
|
123
|
-
.material-split {
|
124
|
-
display: flex;
|
125
|
-
margin-right: -10px;
|
126
|
-
padding-top: 11px;
|
127
|
-
}
|
128
|
-
.material-third {
|
129
|
-
flex: 1 1 0%;
|
130
|
-
padding-right: 10px;
|
131
|
-
}
|
132
|
-
`]
|
133
|
-
},] }
|
134
|
-
];
|
135
|
-
MaterialComponent.ctorParameters = () => [];
|
136
|
-
MaterialComponent.propDecorators = {
|
137
|
-
zDepth: [{ type: Input }],
|
138
|
-
radius: [{ type: Input }],
|
139
|
-
background: [{ type: Input }]
|
140
|
-
};
|
141
|
-
class ColorMaterialModule {
|
142
|
-
}
|
143
|
-
ColorMaterialModule.decorators = [
|
144
|
-
{ type: NgModule, args: [{
|
145
|
-
exports: [MaterialComponent],
|
146
|
-
declarations: [MaterialComponent],
|
147
|
-
imports: [CommonModule, EditableInputModule, RaisedModule],
|
148
|
-
},] }
|
149
|
-
];
|
150
|
-
|
151
|
-
/**
|
152
|
-
* Generated bundle index. Do not edit.
|
153
|
-
*/
|
154
|
-
|
155
|
-
export { ColorMaterialModule, MaterialComponent };
|
156
|
-
//# sourceMappingURL=ngx-color-material.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ngx-color-material.js","sources":["../../../../src/lib/components/material/material.component.ts","../../../../src/lib/components/material/ngx-color-material.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, NgModule, Input } from '@angular/core';\n\nimport { ColorWrap, EditableInputModule, RaisedModule, isValidHex, zDepth } from 'ngx-color';\n\n@Component({\n selector: 'color-material',\n template: `\n <color-raised [zDepth]=\"zDepth\" [background]=\"background\" [radius]=\"radius\">\n <div class=\"material-picker {{ className }}\">\n <color-editable-input label=\"hex\" [value]=\"hex\"\n (onChange)=\"handleValueChange($event)\"\n [style]=\"{input: HEXinput, label: HEXlabel}\"\n ></color-editable-input>\n <div class=\"material-split\">\n <div class=\"material-third\">\n <color-editable-input label=\"r\" [value]=\"rgb.r\"\n [style]=\"{ input: RGBinput, label: RGBlabel }\"\n (onChange)=\"handleInputChange($event)\"\n ></color-editable-input>\n </div>\n <div class=\"material-third\">\n <color-editable-input label=\"g\" [value]=\"rgb.g\"\n [style]=\"{ input: RGBinput, label: RGBlabel }\"\n (onChange)=\"handleInputChange($event)\"\n ></color-editable-input>\n </div>\n <div class=\"material-third\">\n <color-editable-input label=\"b\" [value]=\"rgb.b\"\n [style]=\"{ input: RGBinput, label: RGBlabel }\"\n (onChange)=\"handleInputChange($event)\"\n ></color-editable-input>\n </div>\n </div>\n </div>\n </color-raised>\n `,\n styles: [\n `\n .material-picker {\n width: 130px;\n height: 130px;\n padding: 16px;\n font-family: Roboto;\n }\n .material-split {\n display: flex;\n margin-right: -10px;\n padding-top: 11px;\n }\n .material-third {\n flex: 1 1 0%;\n padding-right: 10px;\n }\n `,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n preserveWhitespaces: false,\n})\nexport class MaterialComponent extends ColorWrap {\n HEXinput: {[key: string]: string} = {\n width: '100%',\n marginTop: '12px',\n fontSize: '15px',\n color: 'rgb(51, 51, 51)',\n padding: '0px',\n 'border-width': '0px 0px 2px',\n outline: 'none',\n height: '30px',\n };\n HEXlabel: {[key: string]: string} = {\n position: 'absolute',\n top: '0px',\n left: '0px',\n fontSize: '11px',\n color: 'rgb(153, 153, 153)',\n 'text-transform': 'capitalize',\n };\n RGBinput: {[key: string]: string} = {\n width: '100%',\n marginTop: '12px',\n fontSize: '15px',\n color: '#333',\n padding: '0px',\n border: '0px',\n 'border-bottom': '1px solid #eee',\n outline: 'none',\n height: '30px',\n };\n RGBlabel: {[key: string]: string} = {\n position: 'absolute',\n top: '0px',\n left: '0px',\n fontSize: '11px',\n color: '#999999',\n 'text-transform': 'capitalize',\n };\n @Input() zDepth: zDepth = 1;\n @Input() radius = 1;\n @Input() background = '#fff';\n disableAlpha = true;\n\n constructor() {\n super();\n }\n\n handleValueChange({ data, $event }) {\n this.handleChange(data, $event);\n }\n\n handleInputChange({ data, $event }) {\n if (data.hex) {\n if (isValidHex(data.hex)) {\n this.handleValueChange({\n data: {\n hex: data.hex,\n source: 'hex',\n },\n $event,\n });\n }\n } else if (data.r || data.g || data.b) {\n this.handleValueChange({\n data: {\n r: data.r || this.rgb.r,\n g: data.g || this.rgb.g,\n b: data.b || this.rgb.b,\n source: 'rgb',\n },\n $event,\n });\n }\n }\n\n afterValidChange() {\n this.HEXinput['border-bottom-color'] = this.hex;\n }\n}\n\n@NgModule({\n exports: [MaterialComponent],\n declarations: [MaterialComponent],\n imports: [CommonModule, EditableInputModule, RaisedModule],\n})\nexport class ColorMaterialModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './material.component';\n"],"names":[],"mappings":";;;;MA2Da,iBAAkB,SAAQ,SAAS;IA2C9C;QACE,KAAK,EAAE,CAAC;QA3CV,aAAQ,GAA4B;YAClC,KAAK,EAAE,MAAM;YACb,SAAS,EAAE,MAAM;YACjB,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,iBAAiB;YACxB,OAAO,EAAE,KAAK;YACd,cAAc,EAAE,aAAa;YAC7B,OAAO,EAAE,MAAM;YACf,MAAM,EAAE,MAAM;SACf,CAAC;QACF,aAAQ,GAA4B;YAClC,QAAQ,EAAE,UAAU;YACpB,GAAG,EAAE,KAAK;YACV,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,oBAAoB;YAC3B,gBAAgB,EAAE,YAAY;SAC/B,CAAC;QACF,aAAQ,GAA4B;YAClC,KAAK,EAAE,MAAM;YACb,SAAS,EAAE,MAAM;YACjB,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,KAAK;YACb,eAAe,EAAE,gBAAgB;YACjC,OAAO,EAAE,MAAM;YACf,MAAM,EAAE,MAAM;SACf,CAAC;QACF,aAAQ,GAA4B;YAClC,QAAQ,EAAE,UAAU;YACpB,GAAG,EAAE,KAAK;YACV,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,SAAS;YAChB,gBAAgB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AAC,MAAM;gBAC/C,mBAAmB,EAAE,KAAK;yBAnBxB;;;;;;;;;;;;;;;;GAgBD;aAIF;;;;qBAuCE,KAAK;qBACL,KAAK;yBACL,KAAK;;MA6CK,mBAAmB;;;YAL/B,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,iBAAiB,CAAC;gBAC5B,YAAY,EAAE,CAAC,iBAAiB,CAAC;gBACjC,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,YAAY,CAAC;aAC3D;;;AC/ID;;;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"MaterialComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-color","name":"ColorWrap","line":59,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"color-material","template":"\n <color-raised [zDepth]=\"zDepth\" [background]=\"background\" [radius]=\"radius\">\n <div class=\"material-picker {{ className }}\">\n <color-editable-input label=\"hex\" [value]=\"hex\"\n (onChange)=\"handleValueChange($event)\"\n [style]=\"{input: HEXinput, label: HEXlabel}\"\n ></color-editable-input>\n <div class=\"material-split\">\n <div class=\"material-third\">\n <color-editable-input label=\"r\" [value]=\"rgb.r\"\n [style]=\"{ input: RGBinput, label: RGBlabel }\"\n (onChange)=\"handleInputChange($event)\"\n ></color-editable-input>\n </div>\n <div class=\"material-third\">\n <color-editable-input label=\"g\" [value]=\"rgb.g\"\n [style]=\"{ input: RGBinput, label: RGBlabel }\"\n (onChange)=\"handleInputChange($event)\"\n ></color-editable-input>\n </div>\n <div class=\"material-third\">\n <color-editable-input label=\"b\" [value]=\"rgb.b\"\n [style]=\"{ input: RGBinput, label: RGBlabel }\"\n (onChange)=\"handleInputChange($event)\"\n ></color-editable-input>\n </div>\n </div>\n </div>\n </color-raised>\n ","styles":["\n .material-picker {\n width: 130px;\n height: 130px;\n padding: 16px;\n font-family: Roboto;\n }\n .material-split {\n display: flex;\n margin-right: -10px;\n padding-top: 11px;\n }\n .material-third {\n flex: 1 1 0%;\n padding-right: 10px;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":56,"character":19},"member":"OnPush"},"preserveWhitespaces":false}]}],"members":{"zDepth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":3}}]}],"radius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":98,"character":3}}]}],"background":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":99,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"handleValueChange":[{"__symbolic":"method"}],"handleInputChange":[{"__symbolic":"method"}],"afterValidChange":[{"__symbolic":"method"}]}},"ColorMaterialModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":139,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","name":"MaterialComponent"}],"declarations":[{"__symbolic":"reference","name":"MaterialComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":142,"character":12},{"__symbolic":"reference","module":"ngx-color","name":"EditableInputModule","line":142,"character":26},{"__symbolic":"reference","module":"ngx-color","name":"RaisedModule","line":142,"character":47}]}]}],"members":{}}},"origins":{"MaterialComponent":"./material.component","ColorMaterialModule":"./material.component"},"importAs":"ngx-color/material"}
|
package/ngx-color.metadata.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"AlphaComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"color-alpha","template":"\n <div class=\"alpha\" [style.border-radius]=\"radius\">\n <div class=\"alpha-checkboard\">\n <color-checkboard></color-checkboard>\n </div>\n <div class=\"alpha-gradient\" [ngStyle]=\"gradient\" [style.box-shadow]=\"shadow\" [style.border-radius]=\"radius\"></div>\n <div ngx-color-coordinates (coordinatesChange)=\"handleChange($event)\" class=\"alpha-container color-alpha-{{direction}}\">\n <div class=\"alpha-pointer\" [style.left.%]=\"pointerLeft\" [style.top.%]=\"pointerTop\">\n <div class=\"alpha-slider\" [ngStyle]=\"pointer\"></div>\n </div>\n </div>\n </div>\n ","styles":["\n .alpha {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n .alpha-checkboard {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n overflow: hidden;\n }\n .alpha-gradient {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n .alpha-container {\n position: relative;\n height: 100%;\n margin: 0 3px;\n }\n .alpha-pointer {\n position: absolute;\n }\n .alpha-slider {\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n margin-top: 1px;\n transform: translateX(-2px);\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":74,"character":19},"member":"OnPush"},"preserveWhitespaces":false}]}],"members":{"hsl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"rgb":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"pointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}}]}],"shadow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":81,"character":3}}]}],"radius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":3}}]}],"direction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":3}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":84,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"handleChange":[{"__symbolic":"method"}]}},"AlphaModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":159,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"AlphaComponent"}],"exports":[{"__symbolic":"reference","name":"AlphaComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":162,"character":12},{"__symbolic":"reference","name":"CheckboardModule"},{"__symbolic":"reference","name":"CoordinatesModule"}]}]}],"members":{}},"CheckboardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"color-checkboard","template":"<div class=\"grid\" [ngStyle]=\"gridStyles\"></div>","styles":["\n .grid {\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n position: absolute;\n }\n "],"preserveWhitespaces":false,"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":26,"character":19},"member":"OnPush"}}]}],"members":{"white":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"grey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"boxShadow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"borderRadius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}},"CheckboardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":46,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"CheckboardComponent"}],"exports":[{"__symbolic":"reference","name":"CheckboardComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":49,"character":12}]}]}],"members":{}},"ColorEvent":{"__symbolic":"interface"},"ColorWrap":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"color-wrap","template":""}]}],"members":{"className":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":36,"character":3}}]}],"onChangeComplete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"onSwatchHover":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"setState":[{"__symbolic":"method"}],"handleChange":[{"__symbolic":"method"}],"afterValidChange":[{"__symbolic":"method"}],"handleSwatchHover":[{"__symbolic":"method"}]}},"ColorWrapModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":93,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ColorWrap"}],"exports":[{"__symbolic":"reference","name":"ColorWrap"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":96,"character":12}]}]}],"members":{}},"EditableInputComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"color-editable-input","template":"\n <div class=\"wrap\" [ngStyle]=\"wrapStyle\">\n <input\n [ngStyle]=\"inputStyle\"\n spellCheck=\"false\"\n [value]=\"currentValue\"\n [placeholder]=\"placeholder\"\n (keydown)=\"handleKeydown($event)\"\n (keyup)=\"handleKeyup($event)\"\n (focus)=\"handleFocus($event)\"\n (focusout)=\"handleFocusOut($event)\"\n aria-labelledby=\"colorEditableInputLabel\"\n />\n <span id=\"colorEditableInputLabel\" *ngIf=\"label\" [ngStyle]=\"labelStyle\" (mousedown)=\"handleMousedown($event)\">\n {{ label }}\n </span>\n </div>\n ","styles":["\n :host {\n display: flex;\n }\n .wrap {\n position: relative;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":45,"character":19},"member":"OnPush"}}]}],"members":{"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"arrowOffset":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"dragLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"dragMax":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":3}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":59,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"handleFocus":[{"__symbolic":"method"}],"handleFocusOut":[{"__symbolic":"method"}],"handleKeydown":[{"__symbolic":"method"}],"handleKeyup":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}],"unsubscribe":[{"__symbolic":"method"}],"handleMousedown":[{"__symbolic":"method"}],"handleDrag":[{"__symbolic":"method"}]}},"EditableInputModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":189,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"EditableInputComponent"}],"exports":[{"__symbolic":"reference","name":"EditableInputComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":192,"character":12}]}]}],"members":{}},"HueComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"color-hue","template":"\n <div class=\"color-hue color-hue-{{direction}}\" [style.border-radius.px]=\"radius\" [style.box-shadow]=\"shadow\">\n <div ngx-color-coordinates (coordinatesChange)=\"handleChange($event)\" class=\"color-hue-container\">\n <div class=\"color-hue-pointer\" [style.left]=\"left\" [style.top]=\"top\" *ngIf=\"!hidePointer\">\n <div class=\"color-hue-slider\" [ngStyle]=\"pointer\"></div>\n </div>\n </div>\n </div>\n ","styles":["\n .color-hue {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n .color-hue-container {\n margin: 0 2px;\n position: relative;\n height: 100%;\n }\n .color-hue-pointer {\n position: absolute;\n }\n .color-hue-slider {\n margin-top: 1px;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n transform: translateX(-2px);\n }\n .color-hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n .color-hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "],"preserveWhitespaces":false,"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":62,"character":19},"member":"OnPush"}}]}],"members":{"hsl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":65,"character":3}}]}],"pointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":3}}]}],"radius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}}]}],"shadow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":3}}]}],"hidePointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":3}}]}],"direction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":71,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"handleChange":[{"__symbolic":"method"}]}},"HueModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":134,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"HueComponent"}],"exports":[{"__symbolic":"reference","name":"HueComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":137,"character":12},{"__symbolic":"reference","name":"CoordinatesModule"}]}]}],"members":{}},"zDepth":{"__symbolic":"interface"},"RaisedComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"color-raised","template":"\n <div class=\"raised-wrap\">\n <div class=\"raised-bg zDepth-{{zDepth}}\" [style.background]=\"background\"></div>\n <div class=\"raised-content\">\n <ng-content></ng-content>\n </div>\n </div>\n ","styles":["\n .raised-wrap {\n position: relative;\n display: inline-block;\n }\n .raised-bg {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n }\n .raised-content {\n position: relative;\n }\n .zDepth-0 {\n box-shadow: none;\n }\n .zDepth-1 {\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n }\n .zDepth-2 {\n box-shadow: 0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2);\n }\n .zDepth-3 {\n box-shadow: 0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24);\n }\n .zDepth-4 {\n box-shadow: 0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22);\n }\n .zDepth-5 {\n box-shadow: 0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2);\n }\n "],"preserveWhitespaces":false,"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":50,"character":19},"member":"OnPush"}}]}],"members":{"zDepth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"radius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"background":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}]}},"RaisedModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":58,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RaisedComponent"}],"exports":[{"__symbolic":"reference","name":"RaisedComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":61,"character":12}]}]}],"members":{}},"SaturationComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"color-saturation","template":"\n <div class=\"color-saturation\" ngx-color-coordinates (coordinatesChange)=\"handleChange($event)\" [style.background]=\"background\">\n <div class=\"saturation-white\">\n <div class=\"saturation-black\"></div>\n <div class=\"saturation-pointer\" [ngStyle]=\"pointer\" [style.top]=\"pointerTop\" [style.left]=\"pointerLeft\">\n <div class=\"saturation-circle\" [ngStyle]=\"circle\"></div>\n </div>\n </div>\n </div>\n ","styles":["\n .saturation-white {\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n .saturation-black {\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n .color-saturation {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n .saturation-pointer {\n position: absolute;\n cursor: default;\n }\n .saturation-circle {\n width: 4px;\n height: 4px;\n 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);\n border-radius: 50%;\n cursor: hand;\n transform: translate(-2px, -4px);\n }\n "],"preserveWhitespaces":false,"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":67,"character":19},"member":"OnPush"}}]}],"members":{"hsl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"hsv":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":71,"character":3}}]}],"radius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":72,"character":3}}]}],"pointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":3}}]}],"circle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":74,"character":3}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":75,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"handleChange":[{"__symbolic":"method"}]}},"SaturationModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":112,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SaturationComponent"}],"exports":[{"__symbolic":"reference","name":"SaturationComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":115,"character":12},{"__symbolic":"reference","name":"CoordinatesModule"}]}]}],"members":{}},"SwatchComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"selector":"color-swatch","template":"\n <div\n class=\"swatch\"\n [ngStyle]=\"currentStyles()\"\n [attr.title]=\"color\"\n (click)=\"handleClick(color, $event)\"\n (keydown.enter)=\"handleClick(color, $event)\"\n (focus)=\"handleFocus()\"\n (blur)=\"handleFocusOut()\"\n (mouseover)=\"handleHover(color, $event)\"\n tabindex=\"0\"\n >\n <ng-content></ng-content>\n <color-checkboard\n *ngIf=\"color === 'transparent'\"\n boxShadow=\"inset 0 0 0 1px rgba(0,0,0,0.1)\"\n ></color-checkboard>\n </div>\n ","styles":["\n .swatch {\n outline: none;\n height: 100%;\n width: 100%;\n cursor: pointer;\n position: relative;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":45,"character":19},"member":"OnPush"}}]}],"members":{"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"focusStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"onClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":52,"character":3}}]}],"onHover":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":53,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"currentStyles":[{"__symbolic":"method"}],"handleFocusOut":[{"__symbolic":"method"}],"handleFocus":[{"__symbolic":"method"}],"handleHover":[{"__symbolic":"method"}],"handleClick":[{"__symbolic":"method"}]}},"SwatchModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":85,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SwatchComponent"}],"exports":[{"__symbolic":"reference","name":"SwatchComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":88,"character":12},{"__symbolic":"reference","name":"CheckboardModule"}]}]}],"members":{}},"CoordinatesDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":13,"character":1},"arguments":[{"selector":"[ngx-color-coordinates]"}]}],"members":{"coordinatesChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":3}}]}],"mousemove":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":34,"character":3},"arguments":["window:mousemove",["$event","$event.pageX","$event.pageY"]]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":35,"character":3},"arguments":["window:touchmove",["$event","$event.touches[0].clientX","$event.touches[0].clientY","true"]]}]}],"mouseup":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":47,"character":3},"arguments":["window:mouseup"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":48,"character":3},"arguments":["window:touchend"]}]}],"mousedown":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":52,"character":3},"arguments":["mousedown",["$event","$event.pageX","$event.pageY"]]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":53,"character":3},"arguments":["touchstart",["$event","$event.touches[0].clientX","$event.touches[0].clientY","true"]]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":65,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"handleChange":[{"__symbolic":"method"}]}},"CoordinatesModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":103,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"CoordinatesDirective"}],"exports":[{"__symbolic":"reference","name":"CoordinatesDirective"}]}]}],"members":{}},"ShadeComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"color-shade","template":"\n <div class=\"shade\" [style.border-radius]=\"radius\">\n <div\n class=\"shade-gradient\"\n [ngStyle]=\"gradient\"\n [style.box-shadow]=\"shadow\"\n [style.border-radius]=\"radius\"\n ></div>\n <div\n ngx-color-coordinates\n (coordinatesChange)=\"handleChange($event)\"\n class=\"shade-container\"\n >\n <div\n class=\"shade-pointer\"\n [style.left.%]=\"pointerLeft\"\n [style.top.%]=\"pointerTop\"\n >\n <div class=\"shade-slider\" [ngStyle]=\"pointer\"></div>\n </div>\n </div>\n </div>\n ","styles":["\n .shade {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n .shade-gradient {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n .shade-container {\n position: relative;\n height: 100%;\n margin: 0 3px;\n }\n .shade-pointer {\n position: absolute;\n }\n .shade-slider {\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n margin-top: 1px;\n transform: translateX(-2px);\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":75,"character":19},"member":"OnPush"},"preserveWhitespaces":false}]}],"members":{"hsl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"rgb":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}}]}],"pointer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":81,"character":3}}]}],"shadow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":3}}]}],"radius":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":3}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":84,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"handleChange":[{"__symbolic":"method"}]}},"ShadeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":130,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ShadeComponent"}],"exports":[{"__symbolic":"reference","name":"ShadeComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":133,"character":12},{"__symbolic":"reference","name":"CoordinatesModule"}]}]}],"members":{}},"render":{"__symbolic":"function"},"getCheckerboard":{"__symbolic":"function"},"simpleCheckForValidColor":{"__symbolic":"function"},"toState":{"__symbolic":"function"},"isValidHex":{"__symbolic":"function","parameters":["hex"],"value":{"__symbolic":"select","expression":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@ctrl/tinycolor","name":"TinyColor","line":53,"character":13},"arguments":[{"__symbolic":"reference","name":"hex"}]},"member":"isValid"}},"getContrastingColor":{"__symbolic":"function"},"RGB":{"__symbolic":"interface"},"RGBA":{"__symbolic":"interface"},"HSL":{"__symbolic":"interface"},"HSLA":{"__symbolic":"interface"},"HSV":{"__symbolic":"interface"},"HSVA":{"__symbolic":"interface"},"HSVAsource":{"__symbolic":"interface"},"HSLAsource":{"__symbolic":"interface"},"Color":{"__symbolic":"interface"},"Shape":{"__symbolic":"interface"}},"origins":{"AlphaComponent":"./alpha.component","AlphaModule":"./alpha.component","CheckboardComponent":"./checkboard.component","CheckboardModule":"./checkboard.component","ColorEvent":"./color-wrap.component","ColorWrap":"./color-wrap.component","ColorWrapModule":"./color-wrap.component","EditableInputComponent":"./editable-input.component","EditableInputModule":"./editable-input.component","HueComponent":"./hue.component","HueModule":"./hue.component","zDepth":"./raised.component","RaisedComponent":"./raised.component","RaisedModule":"./raised.component","SaturationComponent":"./saturation.component","SaturationModule":"./saturation.component","SwatchComponent":"./swatch.component","SwatchModule":"./swatch.component","CoordinatesDirective":"./coordinates.directive","CoordinatesModule":"./coordinates.directive","ShadeComponent":"./shade.component","ShadeModule":"./shade.component","render":"./helpers/checkboard","getCheckerboard":"./helpers/checkboard","simpleCheckForValidColor":"./helpers/color","toState":"./helpers/color","isValidHex":"./helpers/color","getContrastingColor":"./helpers/color","RGB":"./helpers/color.interfaces","RGBA":"./helpers/color.interfaces","HSL":"./helpers/color.interfaces","HSLA":"./helpers/color.interfaces","HSV":"./helpers/color.interfaces","HSVA":"./helpers/color.interfaces","HSVAsource":"./helpers/color.interfaces","HSLAsource":"./helpers/color.interfaces","Color":"./helpers/color.interfaces","Shape":"./helpers/color.interfaces"},"importAs":"ngx-color"}
|