ngx-color 7.2.0 → 7.3.3

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.
Files changed (346) hide show
  1. package/alpha/alpha-picker.component.d.ts +8 -0
  2. package/alpha/ngx-color-alpha.d.ts +2 -1
  3. package/alpha/package.json +6 -10
  4. package/alpha/public_api.d.ts +1 -0
  5. package/alpha.component.d.ts +9 -0
  6. package/block/block-swatches.component.d.ts +13 -8
  7. package/block/block.component.d.ts +9 -0
  8. package/block/ngx-color-block.d.ts +2 -2
  9. package/block/package.json +6 -10
  10. package/block/public_api.d.ts +2 -0
  11. package/checkboard.component.d.ts +7 -0
  12. package/chrome/chrome-fields.component.d.ts +3 -0
  13. package/chrome/chrome.component.d.ts +9 -0
  14. package/chrome/ngx-color-chrome.d.ts +2 -2
  15. package/chrome/package.json +6 -10
  16. package/chrome/public_api.d.ts +2 -0
  17. package/circle/circle-swatch.component.d.ts +3 -0
  18. package/circle/circle.component.d.ts +9 -0
  19. package/circle/ngx-color-circle.d.ts +2 -2
  20. package/circle/package.json +9 -10
  21. package/circle/public_api.d.ts +2 -0
  22. package/color-wrap.component.d.ts +7 -0
  23. package/compact/compact-color.component.d.ts +3 -0
  24. package/compact/compact-fields.component.d.ts +3 -0
  25. package/compact/compact.component.d.ts +10 -0
  26. package/compact/ngx-color-compact.d.ts +2 -3
  27. package/compact/package.json +6 -10
  28. package/compact/public_api.d.ts +3 -0
  29. package/coordinates.directive.d.ts +6 -0
  30. package/editable-input.component.d.ts +7 -0
  31. package/esm2020/alpha/alpha-picker.component.mjs +116 -0
  32. package/esm2020/alpha/ngx-color-alpha.mjs +5 -0
  33. package/esm2020/alpha/public_api.mjs +2 -0
  34. package/esm2020/alpha.component.mjs +186 -0
  35. package/esm2020/block/block-swatches.component.mjs +74 -0
  36. package/esm2020/block/block.component.mjs +199 -0
  37. package/esm2020/block/ngx-color-block.mjs +5 -0
  38. package/esm2020/block/public_api.mjs +3 -0
  39. package/esm2020/checkboard.component.mjs +66 -0
  40. package/esm2020/chrome/chrome-fields.component.mjs +356 -0
  41. package/{chrome/esm2015/chrome.component.js → esm2020/chrome/chrome.component.mjs} +116 -40
  42. package/esm2020/chrome/ngx-color-chrome.mjs +5 -0
  43. package/esm2020/chrome/public_api.mjs +3 -0
  44. package/esm2020/circle/circle-swatch.component.mjs +85 -0
  45. package/esm2020/circle/circle.component.mjs +148 -0
  46. package/esm2020/circle/ngx-color-circle.mjs +5 -0
  47. package/esm2020/circle/public_api.mjs +3 -0
  48. package/esm2020/color-wrap.component.mjs +163 -0
  49. package/esm2020/compact/compact-color.component.mjs +91 -0
  50. package/esm2020/compact/compact-fields.component.mjs +186 -0
  51. package/esm2020/compact/compact.component.mjs +177 -0
  52. package/esm2020/compact/ngx-color-compact.mjs +5 -0
  53. package/esm2020/compact/public_api.mjs +4 -0
  54. package/esm2020/coordinates.directive.mjs +104 -0
  55. package/esm2020/editable-input.component.mjs +217 -0
  56. package/esm2020/github/github-swatch.component.mjs +67 -0
  57. package/esm2020/github/github.component.mjs +179 -0
  58. package/esm2020/github/ngx-color-github.mjs +5 -0
  59. package/esm2020/github/public_api.mjs +3 -0
  60. package/esm2020/helpers/checkboard.mjs +33 -0
  61. package/esm2020/helpers/color.interfaces.mjs +2 -0
  62. package/esm2020/helpers/color.mjs +60 -0
  63. package/esm2020/hue/hue-picker.component.mjs +113 -0
  64. package/esm2020/hue/ngx-color-hue.mjs +5 -0
  65. package/esm2020/hue/public_api.mjs +2 -0
  66. package/esm2020/hue.component.mjs +165 -0
  67. package/esm2020/material/material.component.mjs +211 -0
  68. package/esm2020/material/ngx-color-material.mjs +5 -0
  69. package/esm2020/material/public_api.mjs +2 -0
  70. package/esm2020/ngx-color.mjs +5 -0
  71. package/esm2020/photoshop/ngx-color-photoshop.mjs +5 -0
  72. package/esm2020/photoshop/photoshop-button.component.mjs +63 -0
  73. package/esm2020/photoshop/photoshop-fields.component.mjs +241 -0
  74. package/esm2020/photoshop/photoshop-previews.component.mjs +68 -0
  75. package/esm2020/photoshop/photoshop.component.mjs +258 -0
  76. package/esm2020/photoshop/public_api.mjs +5 -0
  77. package/esm2020/public_api.mjs +14 -0
  78. package/esm2020/raised.component.mjs +89 -0
  79. package/esm2020/saturation.component.mjs +136 -0
  80. package/esm2020/shade/ngx-color-shade.mjs +5 -0
  81. package/esm2020/shade/public_api.mjs +2 -0
  82. package/esm2020/shade/shade-picker.component.mjs +105 -0
  83. package/esm2020/shade.component.mjs +165 -0
  84. package/esm2020/sketch/ngx-color-sketch.mjs +5 -0
  85. package/esm2020/sketch/public_api.mjs +4 -0
  86. package/esm2020/sketch/sketch-fields.component.mjs +243 -0
  87. package/esm2020/sketch/sketch-preset-colors.component.mjs +98 -0
  88. package/esm2020/sketch/sketch.component.mjs +283 -0
  89. package/esm2020/slider/ngx-color-slider.mjs +5 -0
  90. package/esm2020/slider/public_api.mjs +4 -0
  91. package/esm2020/slider/slider-swatch.component.mjs +80 -0
  92. package/esm2020/slider/slider-swatches.component.mjs +135 -0
  93. package/esm2020/slider/slider.component.mjs +116 -0
  94. package/esm2020/swatch.component.mjs +125 -0
  95. package/esm2020/swatches/ngx-color-swatches.mjs +5 -0
  96. package/esm2020/swatches/public_api.mjs +4 -0
  97. package/esm2020/swatches/swatches-color.component.mjs +123 -0
  98. package/esm2020/swatches/swatches-group.component.mjs +64 -0
  99. package/esm2020/swatches/swatches.component.mjs +258 -0
  100. package/esm2020/twitter/ngx-color-twitter.mjs +5 -0
  101. package/esm2020/twitter/public_api.mjs +2 -0
  102. package/{twitter/esm2015/twitter.component.js → esm2020/twitter/twitter.component.mjs} +83 -35
  103. package/fesm2015/ngx-color-alpha.mjs +123 -0
  104. package/fesm2015/ngx-color-alpha.mjs.map +1 -0
  105. package/fesm2015/ngx-color-block.mjs +275 -0
  106. package/fesm2015/ngx-color-block.mjs.map +1 -0
  107. package/fesm2015/ngx-color-chrome.mjs +606 -0
  108. package/fesm2015/ngx-color-chrome.mjs.map +1 -0
  109. package/fesm2015/ngx-color-circle.mjs +237 -0
  110. package/fesm2015/ngx-color-circle.mjs.map +1 -0
  111. package/fesm2015/ngx-color-compact.mjs +451 -0
  112. package/fesm2015/ngx-color-compact.mjs.map +1 -0
  113. package/fesm2015/ngx-color-github.mjs +250 -0
  114. package/fesm2015/ngx-color-github.mjs.map +1 -0
  115. package/fesm2015/ngx-color-hue.mjs +120 -0
  116. package/fesm2015/ngx-color-hue.mjs.map +1 -0
  117. package/fesm2015/ngx-color-material.mjs +218 -0
  118. package/fesm2015/ngx-color-material.mjs.map +1 -0
  119. package/fesm2015/ngx-color-photoshop.mjs +626 -0
  120. package/fesm2015/ngx-color-photoshop.mjs.map +1 -0
  121. package/fesm2015/ngx-color-shade.mjs +112 -0
  122. package/fesm2015/ngx-color-shade.mjs.map +1 -0
  123. package/fesm2015/ngx-color-sketch.mjs +620 -0
  124. package/fesm2015/ngx-color-sketch.mjs.map +1 -0
  125. package/fesm2015/ngx-color-slider.mjs +331 -0
  126. package/fesm2015/ngx-color-slider.mjs.map +1 -0
  127. package/fesm2015/ngx-color-swatches.mjs +441 -0
  128. package/fesm2015/ngx-color-swatches.mjs.map +1 -0
  129. package/fesm2015/ngx-color-twitter.mjs +262 -0
  130. package/fesm2015/ngx-color-twitter.mjs.map +1 -0
  131. package/fesm2015/ngx-color.mjs +1461 -0
  132. package/fesm2015/ngx-color.mjs.map +1 -0
  133. package/fesm2020/ngx-color-alpha.mjs +123 -0
  134. package/fesm2020/ngx-color-alpha.mjs.map +1 -0
  135. package/fesm2020/ngx-color-block.mjs +275 -0
  136. package/fesm2020/ngx-color-block.mjs.map +1 -0
  137. package/fesm2020/ngx-color-chrome.mjs +606 -0
  138. package/fesm2020/ngx-color-chrome.mjs.map +1 -0
  139. package/fesm2020/ngx-color-circle.mjs +237 -0
  140. package/fesm2020/ngx-color-circle.mjs.map +1 -0
  141. package/fesm2020/ngx-color-compact.mjs +451 -0
  142. package/fesm2020/ngx-color-compact.mjs.map +1 -0
  143. package/fesm2020/ngx-color-github.mjs +250 -0
  144. package/fesm2020/ngx-color-github.mjs.map +1 -0
  145. package/fesm2020/ngx-color-hue.mjs +120 -0
  146. package/fesm2020/ngx-color-hue.mjs.map +1 -0
  147. package/fesm2020/ngx-color-material.mjs +218 -0
  148. package/fesm2020/ngx-color-material.mjs.map +1 -0
  149. package/fesm2020/ngx-color-photoshop.mjs +626 -0
  150. package/fesm2020/ngx-color-photoshop.mjs.map +1 -0
  151. package/fesm2020/ngx-color-shade.mjs +112 -0
  152. package/fesm2020/ngx-color-shade.mjs.map +1 -0
  153. package/fesm2020/ngx-color-sketch.mjs +620 -0
  154. package/fesm2020/ngx-color-sketch.mjs.map +1 -0
  155. package/fesm2020/ngx-color-slider.mjs +331 -0
  156. package/fesm2020/ngx-color-slider.mjs.map +1 -0
  157. package/fesm2020/ngx-color-swatches.mjs +441 -0
  158. package/fesm2020/ngx-color-swatches.mjs.map +1 -0
  159. package/fesm2020/ngx-color-twitter.mjs +262 -0
  160. package/fesm2020/ngx-color-twitter.mjs.map +1 -0
  161. package/fesm2020/ngx-color.mjs +1466 -0
  162. package/fesm2020/ngx-color.mjs.map +1 -0
  163. package/github/github-swatch.component.d.ts +3 -0
  164. package/github/github.component.d.ts +9 -0
  165. package/github/ngx-color-github.d.ts +2 -2
  166. package/github/package.json +6 -10
  167. package/github/public_api.d.ts +2 -0
  168. package/hue/hue-picker.component.d.ts +8 -0
  169. package/hue/ngx-color-hue.d.ts +2 -1
  170. package/hue/package.json +6 -10
  171. package/hue/public_api.d.ts +1 -0
  172. package/hue.component.d.ts +8 -0
  173. package/material/material.component.d.ts +8 -0
  174. package/material/ngx-color-material.d.ts +2 -1
  175. package/material/package.json +6 -10
  176. package/material/public_api.d.ts +1 -0
  177. package/ngx-color.d.ts +1 -0
  178. package/package.json +133 -9
  179. package/photoshop/ngx-color-photoshop.d.ts +2 -4
  180. package/photoshop/package.json +6 -10
  181. package/photoshop/photoshop-button.component.d.ts +3 -0
  182. package/photoshop/photoshop-fields.component.d.ts +3 -0
  183. package/photoshop/photoshop-previews.component.d.ts +3 -0
  184. package/photoshop/photoshop.component.d.ts +11 -0
  185. package/photoshop/public_api.d.ts +4 -0
  186. package/raised.component.d.ts +7 -0
  187. package/saturation.component.d.ts +8 -0
  188. package/shade/ngx-color-shade.d.ts +2 -1
  189. package/shade/package.json +6 -10
  190. package/shade/public_api.d.ts +1 -0
  191. package/shade/shade-picker.component.d.ts +8 -0
  192. package/shade.component.d.ts +8 -0
  193. package/sketch/ngx-color-sketch.d.ts +2 -3
  194. package/sketch/package.json +6 -10
  195. package/sketch/public_api.d.ts +3 -0
  196. package/sketch/sketch-fields.component.d.ts +3 -0
  197. package/sketch/sketch-preset-colors.component.d.ts +3 -0
  198. package/sketch/sketch.component.d.ts +10 -0
  199. package/slider/ngx-color-slider.d.ts +2 -3
  200. package/slider/package.json +6 -10
  201. package/slider/public_api.d.ts +3 -0
  202. package/slider/slider-swatch.component.d.ts +3 -0
  203. package/slider/slider-swatches.component.d.ts +3 -0
  204. package/slider/slider.component.d.ts +10 -0
  205. package/swatch.component.d.ts +8 -0
  206. package/swatches/ngx-color-swatches.d.ts +2 -3
  207. package/swatches/package.json +9 -10
  208. package/swatches/public_api.d.ts +3 -0
  209. package/swatches/swatches-color.component.d.ts +3 -0
  210. package/swatches/swatches-group.component.d.ts +3 -0
  211. package/swatches/swatches.component.d.ts +10 -0
  212. package/twitter/ngx-color-twitter.d.ts +2 -1
  213. package/twitter/package.json +6 -10
  214. package/twitter/public_api.d.ts +1 -0
  215. package/twitter/twitter.component.d.ts +8 -0
  216. package/alpha/bundles/ngx-color-alpha.umd.js +0 -404
  217. package/alpha/bundles/ngx-color-alpha.umd.js.map +0 -1
  218. package/alpha/esm2015/alpha-picker.component.js +0 -84
  219. package/alpha/esm2015/ngx-color-alpha.js +0 -5
  220. package/alpha/fesm2015/ngx-color-alpha.js +0 -91
  221. package/alpha/fesm2015/ngx-color-alpha.js.map +0 -1
  222. package/alpha/ngx-color-alpha.metadata.json +0 -1
  223. package/block/bundles/ngx-color-block.umd.js +0 -472
  224. package/block/bundles/ngx-color-block.umd.js.map +0 -1
  225. package/block/esm2015/block-swatches.component.js +0 -58
  226. package/block/esm2015/block.component.js +0 -151
  227. package/block/esm2015/ngx-color-block.js +0 -6
  228. package/block/fesm2015/ngx-color-block.js +0 -214
  229. package/block/fesm2015/ngx-color-block.js.map +0 -1
  230. package/block/ngx-color-block.metadata.json +0 -1
  231. package/bundles/ngx-color.umd.js +0 -1014
  232. package/bundles/ngx-color.umd.js.map +0 -1
  233. package/chrome/bundles/ngx-color-chrome.umd.js +0 -543
  234. package/chrome/bundles/ngx-color-chrome.umd.js.map +0 -1
  235. package/chrome/esm2015/chrome-fields.component.js +0 -255
  236. package/chrome/esm2015/ngx-color-chrome.js +0 -6
  237. package/chrome/fesm2015/ngx-color-chrome.js +0 -432
  238. package/chrome/fesm2015/ngx-color-chrome.js.map +0 -1
  239. package/chrome/ngx-color-chrome.metadata.json +0 -1
  240. package/circle/bundles/ngx-color-circle.umd.js +0 -469
  241. package/circle/bundles/ngx-color-circle.umd.js.map +0 -1
  242. package/circle/esm2015/circle-swatch.component.js +0 -63
  243. package/circle/esm2015/circle.component.js +0 -109
  244. package/circle/esm2015/ngx-color-circle.js +0 -6
  245. package/circle/fesm2015/ngx-color-circle.js +0 -177
  246. package/circle/fesm2015/ngx-color-circle.js.map +0 -1
  247. package/circle/ngx-color-circle.metadata.json +0 -1
  248. package/compact/bundles/ngx-color-compact.umd.js +0 -579
  249. package/compact/bundles/ngx-color-compact.umd.js.map +0 -1
  250. package/compact/esm2015/compact-color.component.js +0 -70
  251. package/compact/esm2015/compact-fields.component.js +0 -142
  252. package/compact/esm2015/compact.component.js +0 -135
  253. package/compact/esm2015/ngx-color-compact.js +0 -7
  254. package/compact/fesm2015/ngx-color-compact.js +0 -348
  255. package/compact/fesm2015/ngx-color-compact.js.map +0 -1
  256. package/compact/ngx-color-compact.metadata.json +0 -1
  257. package/esm2015/alpha.component.js +0 -156
  258. package/esm2015/checkboard.component.js +0 -52
  259. package/esm2015/color-wrap.component.js +0 -145
  260. package/esm2015/coordinates.directive.js +0 -85
  261. package/esm2015/editable-input.component.js +0 -183
  262. package/esm2015/helpers/checkboard.js +0 -33
  263. package/esm2015/helpers/color.interfaces.js +0 -2
  264. package/esm2015/helpers/color.js +0 -60
  265. package/esm2015/hue.component.js +0 -140
  266. package/esm2015/ngx-color.js +0 -5
  267. package/esm2015/public_api.js +0 -14
  268. package/esm2015/raised.component.js +0 -73
  269. package/esm2015/saturation.component.js +0 -111
  270. package/esm2015/shade.component.js +0 -127
  271. package/esm2015/swatch.component.js +0 -85
  272. package/fesm2015/ngx-color.js +0 -1228
  273. package/fesm2015/ngx-color.js.map +0 -1
  274. package/github/bundles/ngx-color-github.umd.js +0 -447
  275. package/github/bundles/ngx-color-github.umd.js.map +0 -1
  276. package/github/esm2015/github-swatch.component.js +0 -48
  277. package/github/esm2015/github.component.js +0 -146
  278. package/github/esm2015/ngx-color-github.js +0 -6
  279. package/github/fesm2015/ngx-color-github.js +0 -199
  280. package/github/fesm2015/ngx-color-github.js.map +0 -1
  281. package/github/ngx-color-github.metadata.json +0 -1
  282. package/hue/bundles/ngx-color-hue.umd.js +0 -407
  283. package/hue/bundles/ngx-color-hue.umd.js.map +0 -1
  284. package/hue/esm2015/hue-picker.component.js +0 -82
  285. package/hue/esm2015/ngx-color-hue.js +0 -5
  286. package/hue/fesm2015/ngx-color-hue.js +0 -89
  287. package/hue/fesm2015/ngx-color-hue.js.map +0 -1
  288. package/hue/ngx-color-hue.metadata.json +0 -1
  289. package/material/bundles/ngx-color-material.umd.js +0 -455
  290. package/material/bundles/ngx-color-material.umd.js.map +0 -1
  291. package/material/esm2015/material.component.js +0 -161
  292. package/material/esm2015/ngx-color-material.js +0 -5
  293. package/material/fesm2015/ngx-color-material.js +0 -168
  294. package/material/fesm2015/ngx-color-material.js.map +0 -1
  295. package/material/ngx-color-material.metadata.json +0 -1
  296. package/ngx-color.metadata.json +0 -1
  297. package/photoshop/bundles/ngx-color-photoshop.umd.js +0 -571
  298. package/photoshop/bundles/ngx-color-photoshop.umd.js.map +0 -1
  299. package/photoshop/esm2015/ngx-color-photoshop.js +0 -8
  300. package/photoshop/esm2015/photoshop-button.component.js +0 -50
  301. package/photoshop/esm2015/photoshop-fields.component.js +0 -180
  302. package/photoshop/esm2015/photoshop-previews.component.js +0 -53
  303. package/photoshop/esm2015/photoshop.component.js +0 -181
  304. package/photoshop/fesm2015/ngx-color-photoshop.js +0 -464
  305. package/photoshop/fesm2015/ngx-color-photoshop.js.map +0 -1
  306. package/photoshop/ngx-color-photoshop.metadata.json +0 -1
  307. package/shade/bundles/ngx-color-shade.umd.js +0 -399
  308. package/shade/bundles/ngx-color-shade.umd.js.map +0 -1
  309. package/shade/esm2015/ngx-color-shade.js +0 -5
  310. package/shade/esm2015/shade-picker.component.js +0 -75
  311. package/shade/fesm2015/ngx-color-shade.js +0 -82
  312. package/shade/fesm2015/ngx-color-shade.js.map +0 -1
  313. package/shade/ngx-color-shade.metadata.json +0 -1
  314. package/sketch/bundles/ngx-color-sketch.umd.js +0 -585
  315. package/sketch/bundles/ngx-color-sketch.umd.js.map +0 -1
  316. package/sketch/esm2015/ngx-color-sketch.js +0 -7
  317. package/sketch/esm2015/sketch-fields.component.js +0 -181
  318. package/sketch/esm2015/sketch-preset-colors.component.js +0 -76
  319. package/sketch/esm2015/sketch.component.js +0 -203
  320. package/sketch/fesm2015/ngx-color-sketch.js +0 -462
  321. package/sketch/fesm2015/ngx-color-sketch.js.map +0 -1
  322. package/sketch/ngx-color-sketch.metadata.json +0 -1
  323. package/slider/bundles/ngx-color-slider.umd.js +0 -470
  324. package/slider/bundles/ngx-color-slider.umd.js.map +0 -1
  325. package/slider/esm2015/ngx-color-slider.js +0 -7
  326. package/slider/esm2015/slider-swatch.component.js +0 -65
  327. package/slider/esm2015/slider-swatches.component.js +0 -84
  328. package/slider/esm2015/slider.component.js +0 -81
  329. package/slider/fesm2015/ngx-color-slider.js +0 -233
  330. package/slider/fesm2015/ngx-color-slider.js.map +0 -1
  331. package/slider/ngx-color-slider.metadata.json +0 -1
  332. package/swatches/bundles/ngx-color-swatches.umd.js +0 -612
  333. package/swatches/bundles/ngx-color-swatches.umd.js.map +0 -1
  334. package/swatches/esm2015/ngx-color-swatches.js +0 -7
  335. package/swatches/esm2015/swatches-color.component.js +0 -90
  336. package/swatches/esm2015/swatches-group.component.js +0 -42
  337. package/swatches/esm2015/swatches.component.js +0 -217
  338. package/swatches/fesm2015/ngx-color-swatches.js +0 -351
  339. package/swatches/fesm2015/ngx-color-swatches.js.map +0 -1
  340. package/swatches/ngx-color-swatches.metadata.json +0 -1
  341. package/twitter/bundles/ngx-color-twitter.umd.js +0 -433
  342. package/twitter/bundles/ngx-color-twitter.umd.js.map +0 -1
  343. package/twitter/esm2015/ngx-color-twitter.js +0 -5
  344. package/twitter/fesm2015/ngx-color-twitter.js +0 -214
  345. package/twitter/fesm2015/ngx-color-twitter.js.map +0 -1
  346. package/twitter/ngx-color-twitter.metadata.json +0 -1
@@ -1,5 +1,8 @@
1
1
  import { OnChanges } from '@angular/core';
2
2
  import { ColorWrap } from 'ngx-color';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "ngx-color";
3
6
  export declare class AlphaPickerComponent extends ColorWrap implements OnChanges {
4
7
  /** Pixel value for picker width */
5
8
  width: string | number;
@@ -15,6 +18,11 @@ export declare class AlphaPickerComponent extends ColorWrap implements OnChanges
15
18
  data: any;
16
19
  $event: any;
17
20
  }): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlphaPickerComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlphaPickerComponent, "color-alpha-picker", never, { "width": "width"; "height": "height"; "direction": "direction"; }, {}, never, never>;
18
23
  }
19
24
  export declare class ColorAlphaModule {
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorAlphaModule, never>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorAlphaModule, [typeof AlphaPickerComponent], [typeof i1.CommonModule, typeof i2.AlphaModule, typeof i2.CheckboardModule], [typeof AlphaPickerComponent]>;
27
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColorAlphaModule>;
20
28
  }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- export * from './alpha-picker.component';
4
+ /// <amd-module name="ngx-color/alpha" />
5
+ export * from './public_api';
@@ -7,15 +7,11 @@
7
7
  "url": "git+https://github.com/scttcper/ngx-color.git"
8
8
  },
9
9
  "license": "MIT",
10
- "main": "bundles/ngx-color-alpha.umd.js",
11
- "module": "fesm2015/ngx-color-alpha.js",
12
- "es2015": "fesm2015/ngx-color-alpha.js",
13
- "esm2015": "esm2015/ngx-color-alpha.js",
14
- "fesm2015": "fesm2015/ngx-color-alpha.js",
10
+ "module": "../fesm2015/ngx-color-alpha.mjs",
11
+ "es2020": "../fesm2020/ngx-color-alpha.mjs",
12
+ "esm2020": "../esm2020/alpha/ngx-color-alpha.mjs",
13
+ "fesm2020": "../fesm2020/ngx-color-alpha.mjs",
14
+ "fesm2015": "../fesm2015/ngx-color-alpha.mjs",
15
15
  "typings": "ngx-color-alpha.d.ts",
16
- "metadata": "ngx-color-alpha.metadata.json",
17
- "sideEffects": false,
18
- "dependencies": {
19
- "tslib": "^2.1.0"
20
- }
16
+ "sideEffects": false
21
17
  }
@@ -0,0 +1 @@
1
+ export { AlphaPickerComponent, ColorAlphaModule } from './alpha-picker.component';
@@ -1,5 +1,9 @@
1
1
  import { EventEmitter, OnChanges } from '@angular/core';
2
2
  import { HSLA, RGBA } from './helpers/color.interfaces';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "./checkboard.component";
6
+ import * as i3 from "./coordinates.directive";
3
7
  export declare class AlphaComponent implements OnChanges {
4
8
  hsl: HSLA;
5
9
  rgb: RGBA;
@@ -19,6 +23,11 @@ export declare class AlphaComponent implements OnChanges {
19
23
  containerWidth: any;
20
24
  $event: any;
21
25
  }): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlphaComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlphaComponent, "color-alpha", never, { "hsl": "hsl"; "rgb": "rgb"; "pointer": "pointer"; "shadow": "shadow"; "radius": "radius"; "direction": "direction"; }, { "onChange": "onChange"; }, never, never>;
22
28
  }
23
29
  export declare class AlphaModule {
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlphaModule, never>;
31
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AlphaModule, [typeof AlphaComponent], [typeof i1.CommonModule, typeof i2.CheckboardModule, typeof i3.CoordinatesModule], [typeof AlphaComponent]>;
32
+ static ɵinj: i0.ɵɵInjectorDeclaration<AlphaModule>;
24
33
  }
@@ -1,14 +1,17 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { Shape } from 'ngx-color';
3
- export declare class BlockSwatchesComponent implements OnInit {
4
- colors: string[] | Shape[];
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BlockSwatchesComponent {
4
+ colors: string[];
5
5
  onClick: EventEmitter<any>;
6
6
  onSwatchHover: EventEmitter<any>;
7
- swatchStyle?: {
8
- [key: string]: string;
7
+ swatchStyle: {
8
+ width: string;
9
+ height: string;
10
+ float: string;
11
+ marginRight: string;
12
+ marginBottom: string;
13
+ borderRadius: string;
9
14
  };
10
- constructor();
11
- ngOnInit(): void;
12
15
  handleClick({ hex, $event }: {
13
16
  hex: any;
14
17
  $event: any;
@@ -16,4 +19,6 @@ export declare class BlockSwatchesComponent implements OnInit {
16
19
  focusStyle(c: any): {
17
20
  boxShadow: string;
18
21
  };
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlockSwatchesComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockSwatchesComponent, "color-block-swatches", never, { "colors": "colors"; }, { "onClick": "onClick"; "onSwatchHover": "onSwatchHover"; }, never, never>;
19
24
  }
@@ -1,4 +1,8 @@
1
1
  import { ColorWrap } from 'ngx-color';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./block-swatches.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "ngx-color";
2
6
  export declare class BlockComponent extends ColorWrap {
3
7
  /** Pixel value for picker width */
4
8
  width: string | number;
@@ -22,6 +26,11 @@ export declare class BlockComponent extends ColorWrap {
22
26
  hex: any;
23
27
  $event: any;
24
28
  }): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlockComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockComponent, "color-block", never, { "width": "width"; "colors": "colors"; "triangle": "triangle"; }, {}, never, never>;
25
31
  }
26
32
  export declare class ColorBlockModule {
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorBlockModule, never>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorBlockModule, [typeof BlockComponent, typeof i1.BlockSwatchesComponent], [typeof i2.CommonModule, typeof i3.CheckboardModule, typeof i3.SwatchModule, typeof i3.EditableInputModule], [typeof BlockComponent, typeof i1.BlockSwatchesComponent]>;
35
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColorBlockModule>;
27
36
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- export * from './block.component';
5
- export { BlockSwatchesComponent as ɵa } from './block-swatches.component';
4
+ /// <amd-module name="ngx-color/block" />
5
+ export * from './public_api';
@@ -6,15 +6,11 @@
6
6
  "url": "git+https://github.com/scttcper/ngx-color.git"
7
7
  },
8
8
  "license": "MIT",
9
- "main": "bundles/ngx-color-block.umd.js",
10
- "module": "fesm2015/ngx-color-block.js",
11
- "es2015": "fesm2015/ngx-color-block.js",
12
- "esm2015": "esm2015/ngx-color-block.js",
13
- "fesm2015": "fesm2015/ngx-color-block.js",
9
+ "module": "../fesm2015/ngx-color-block.mjs",
10
+ "es2020": "../fesm2020/ngx-color-block.mjs",
11
+ "esm2020": "../esm2020/block/ngx-color-block.mjs",
12
+ "fesm2020": "../fesm2020/ngx-color-block.mjs",
13
+ "fesm2015": "../fesm2015/ngx-color-block.mjs",
14
14
  "typings": "ngx-color-block.d.ts",
15
- "metadata": "ngx-color-block.metadata.json",
16
- "sideEffects": false,
17
- "dependencies": {
18
- "tslib": "^2.1.0"
19
- }
15
+ "sideEffects": false
20
16
  }
@@ -0,0 +1,2 @@
1
+ export { BlockSwatchesComponent } from './block-swatches.component';
2
+ export { BlockComponent, ColorBlockModule } from './block.component';
@@ -1,4 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
2
4
  export declare class CheckboardComponent implements OnInit {
3
5
  white: string;
4
6
  size: number;
@@ -7,6 +9,11 @@ export declare class CheckboardComponent implements OnInit {
7
9
  borderRadius: string;
8
10
  gridStyles: Record<string, string>;
9
11
  ngOnInit(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboardComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboardComponent, "color-checkboard", never, { "white": "white"; "size": "size"; "grey": "grey"; "boxShadow": "boxShadow"; "borderRadius": "borderRadius"; }, {}, never, never>;
10
14
  }
11
15
  export declare class CheckboardModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboardModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboardModule, [typeof CheckboardComponent], [typeof i1.CommonModule], [typeof CheckboardComponent]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<CheckboardModule>;
12
19
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { HSLA, RGBA } from 'ngx-color';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class ChromeFieldsComponent implements OnInit {
4
5
  disableAlpha: boolean;
5
6
  hsl: HSLA;
@@ -16,4 +17,6 @@ export declare class ChromeFieldsComponent implements OnInit {
16
17
  data: any;
17
18
  $event: any;
18
19
  }): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChromeFieldsComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChromeFieldsComponent, "color-chrome-fields", never, { "disableAlpha": "disableAlpha"; "hsl": "hsl"; "rgb": "rgb"; "hex": "hex"; }, { "onChange": "onChange"; }, never, never>;
19
22
  }
@@ -1,4 +1,8 @@
1
1
  import { ColorWrap } from 'ngx-color';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./chrome-fields.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "ngx-color";
2
6
  export declare class ChromeComponent extends ColorWrap {
3
7
  /** Remove alpha slider and options from picker */
4
8
  disableAlpha: boolean;
@@ -11,6 +15,11 @@ export declare class ChromeComponent extends ColorWrap {
11
15
  data: any;
12
16
  $event: any;
13
17
  }): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChromeComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChromeComponent, "color-chrome", never, { "disableAlpha": "disableAlpha"; }, {}, never, never>;
14
20
  }
15
21
  export declare class ColorChromeModule {
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorChromeModule, never>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorChromeModule, [typeof ChromeComponent, typeof i1.ChromeFieldsComponent], [typeof i2.CommonModule, typeof i3.AlphaModule, typeof i3.CheckboardModule, typeof i3.EditableInputModule, typeof i3.HueModule, typeof i3.SaturationModule], [typeof ChromeComponent, typeof i1.ChromeFieldsComponent]>;
24
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColorChromeModule>;
16
25
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- export * from './chrome.component';
5
- export { ChromeFieldsComponent as ɵa } from './chrome-fields.component';
4
+ /// <amd-module name="ngx-color/chrome" />
5
+ export * from './public_api';
@@ -6,15 +6,11 @@
6
6
  "url": "git+https://github.com/scttcper/ngx-color.git"
7
7
  },
8
8
  "license": "MIT",
9
- "main": "bundles/ngx-color-chrome.umd.js",
10
- "module": "fesm2015/ngx-color-chrome.js",
11
- "es2015": "fesm2015/ngx-color-chrome.js",
12
- "esm2015": "esm2015/ngx-color-chrome.js",
13
- "fesm2015": "fesm2015/ngx-color-chrome.js",
9
+ "module": "../fesm2015/ngx-color-chrome.mjs",
10
+ "es2020": "../fesm2020/ngx-color-chrome.mjs",
11
+ "esm2020": "../esm2020/chrome/ngx-color-chrome.mjs",
12
+ "fesm2020": "../fesm2020/ngx-color-chrome.mjs",
13
+ "fesm2015": "../fesm2015/ngx-color-chrome.mjs",
14
14
  "typings": "ngx-color-chrome.d.ts",
15
- "metadata": "ngx-color-chrome.metadata.json",
16
- "sideEffects": false,
17
- "dependencies": {
18
- "tslib": "^2.1.0"
19
- }
15
+ "sideEffects": false
20
16
  }
@@ -0,0 +1,2 @@
1
+ export { ChromeFieldsComponent } from './chrome-fields.component';
2
+ export { ChromeComponent, ColorChromeModule } from './chrome.component';
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter, OnChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class CircleSwatchComponent implements OnChanges {
3
4
  color: string;
4
5
  circleSize: number;
@@ -13,4 +14,6 @@ export declare class CircleSwatchComponent implements OnChanges {
13
14
  hex: any;
14
15
  $event: any;
15
16
  }): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<CircleSwatchComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<CircleSwatchComponent, "color-circle-swatch", never, { "color": "color"; "circleSize": "circleSize"; "circleSpacing": "circleSpacing"; "focus": "focus"; }, { "onClick": "onClick"; "onSwatchHover": "onSwatchHover"; }, never, never>;
16
19
  }
@@ -1,4 +1,8 @@
1
1
  import { ColorWrap } from 'ngx-color';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./circle-swatch.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "ngx-color";
2
6
  export declare class CircleComponent extends ColorWrap {
3
7
  /** Pixel value for picker width */
4
8
  width: string | number;
@@ -18,6 +22,11 @@ export declare class CircleComponent extends ColorWrap {
18
22
  data: any;
19
23
  $event: any;
20
24
  }): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<CircleComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<CircleComponent, "color-circle", never, { "width": "width"; "colors": "colors"; "circleSize": "circleSize"; "circleSpacing": "circleSpacing"; }, {}, never, never>;
21
27
  }
22
28
  export declare class ColorCircleModule {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorCircleModule, never>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorCircleModule, [typeof CircleComponent, typeof i1.CircleSwatchComponent], [typeof i2.CommonModule, typeof i3.SwatchModule], [typeof CircleComponent, typeof i1.CircleSwatchComponent]>;
31
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColorCircleModule>;
23
32
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- export * from './circle.component';
5
- export { CircleSwatchComponent as ɵa } from './circle-swatch.component';
4
+ /// <amd-module name="ngx-color/circle" />
5
+ export * from './public_api';
@@ -6,15 +6,14 @@
6
6
  "url": "git+https://github.com/scttcper/ngx-color.git"
7
7
  },
8
8
  "license": "MIT",
9
- "main": "bundles/ngx-color-circle.umd.js",
10
- "module": "fesm2015/ngx-color-circle.js",
11
- "es2015": "fesm2015/ngx-color-circle.js",
12
- "esm2015": "esm2015/ngx-color-circle.js",
13
- "fesm2015": "fesm2015/ngx-color-circle.js",
14
- "typings": "ngx-color-circle.d.ts",
15
- "metadata": "ngx-color-circle.metadata.json",
16
- "sideEffects": false,
17
9
  "dependencies": {
18
- "tslib": "^2.1.0"
19
- }
10
+ "material-colors": "^1.2.6"
11
+ },
12
+ "module": "../fesm2015/ngx-color-circle.mjs",
13
+ "es2020": "../fesm2020/ngx-color-circle.mjs",
14
+ "esm2020": "../esm2020/circle/ngx-color-circle.mjs",
15
+ "fesm2020": "../fesm2020/ngx-color-circle.mjs",
16
+ "fesm2015": "../fesm2015/ngx-color-circle.mjs",
17
+ "typings": "ngx-color-circle.d.ts",
18
+ "sideEffects": false
20
19
  }
@@ -0,0 +1,2 @@
1
+ export { CircleSwatchComponent } from './circle-swatch.component';
2
+ export { CircleComponent, ColorCircleModule } from './circle.component';
@@ -2,6 +2,8 @@ import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
3
  import { Color, HSLA, HSVA, RGBA } from './helpers/color.interfaces';
4
4
  import { ControlValueAccessor } from '@angular/forms';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
5
7
  export interface ColorEvent {
6
8
  $event: Event;
7
9
  color: Color;
@@ -46,6 +48,11 @@ export declare class ColorWrap implements OnInit, OnChanges, OnDestroy, ControlV
46
48
  registerOnTouched(fn: () => void): void;
47
49
  setDisabledState(isDisabled: boolean): void;
48
50
  writeValue(hex: string): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorWrap, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorWrap, "color-wrap", never, { "className": "className"; "mode": "mode"; "color": "color"; }, { "colorChange": "colorChange"; "onChange": "onChange"; "onChangeComplete": "onChangeComplete"; "onSwatchHover": "onSwatchHover"; }, never, never>;
49
53
  }
50
54
  export declare class ColorWrapModule {
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorWrapModule, never>;
56
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorWrapModule, [typeof ColorWrap], [typeof i1.CommonModule], [typeof ColorWrap]>;
57
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColorWrapModule>;
51
58
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, OnChanges } from '@angular/core';
2
2
  import { getContrastingColor } from 'ngx-color';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class CompactColorComponent implements OnChanges {
4
5
  color: string;
5
6
  active: boolean;
@@ -13,4 +14,6 @@ export declare class CompactColorComponent implements OnChanges {
13
14
  hex: any;
14
15
  $event: any;
15
16
  }): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompactColorComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompactColorComponent, "color-compact-color", never, { "color": "color"; "active": "active"; }, { "onClick": "onClick"; "onSwatchHover": "onSwatchHover"; }, never, never>;
16
19
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { RGBA } from 'ngx-color';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class CompactFieldsComponent {
4
5
  hex: string;
5
6
  rgb: RGBA;
@@ -26,4 +27,6 @@ export declare class CompactFieldsComponent {
26
27
  data: any;
27
28
  $event: any;
28
29
  }): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompactFieldsComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompactFieldsComponent, "color-compact-fields", never, { "hex": "hex"; "rgb": "rgb"; }, { "onChange": "onChange"; }, never, never>;
29
32
  }
@@ -1,4 +1,9 @@
1
1
  import { ColorWrap, zDepth } from 'ngx-color';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./compact-color.component";
4
+ import * as i2 from "./compact-fields.component";
5
+ import * as i3 from "@angular/common";
6
+ import * as i4 from "ngx-color";
2
7
  export declare class CompactComponent extends ColorWrap {
3
8
  /** Color squares to display */
4
9
  colors: string[];
@@ -15,6 +20,11 @@ export declare class CompactComponent extends ColorWrap {
15
20
  data: any;
16
21
  $event: any;
17
22
  }): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompactComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompactComponent, "color-compact", never, { "colors": "colors"; "zDepth": "zDepth"; "radius": "radius"; "background": "background"; }, {}, never, never>;
18
25
  }
19
26
  export declare class ColorCompactModule {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorCompactModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorCompactModule, [typeof CompactComponent, typeof i1.CompactColorComponent, typeof i2.CompactFieldsComponent], [typeof i3.CommonModule, typeof i4.EditableInputModule, typeof i4.SwatchModule, typeof i4.RaisedModule], [typeof CompactComponent, typeof i1.CompactColorComponent, typeof i2.CompactFieldsComponent]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColorCompactModule>;
20
30
  }
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- export * from './compact.component';
5
- export { CompactColorComponent as ɵa } from './compact-color.component';
6
- export { CompactFieldsComponent as ɵb } from './compact-fields.component';
4
+ /// <amd-module name="ngx-color/compact" />
5
+ export * from './public_api';
@@ -6,15 +6,11 @@
6
6
  "url": "git+https://github.com/scttcper/ngx-color.git"
7
7
  },
8
8
  "license": "MIT",
9
- "main": "bundles/ngx-color-compact.umd.js",
10
- "module": "fesm2015/ngx-color-compact.js",
11
- "es2015": "fesm2015/ngx-color-compact.js",
12
- "esm2015": "esm2015/ngx-color-compact.js",
13
- "fesm2015": "fesm2015/ngx-color-compact.js",
9
+ "module": "../fesm2015/ngx-color-compact.mjs",
10
+ "es2020": "../fesm2020/ngx-color-compact.mjs",
11
+ "esm2020": "../esm2020/compact/ngx-color-compact.mjs",
12
+ "fesm2020": "../fesm2020/ngx-color-compact.mjs",
13
+ "fesm2015": "../fesm2015/ngx-color-compact.mjs",
14
14
  "typings": "ngx-color-compact.d.ts",
15
- "metadata": "ngx-color-compact.metadata.json",
16
- "sideEffects": false,
17
- "dependencies": {
18
- "tslib": "^2.1.0"
19
- }
15
+ "sideEffects": false
20
16
  }
@@ -0,0 +1,3 @@
1
+ export { CompactColorComponent } from './compact-color.component';
2
+ export { CompactFieldsComponent } from './compact-fields.component';
3
+ export { ColorCompactModule, CompactComponent } from './compact.component';
@@ -1,5 +1,6 @@
1
1
  import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class CoordinatesDirective implements OnInit, OnDestroy {
4
5
  private el;
5
6
  coordinatesChange: Subject<{
@@ -21,6 +22,11 @@ export declare class CoordinatesDirective implements OnInit, OnDestroy {
21
22
  ngOnInit(): void;
22
23
  ngOnDestroy(): void;
23
24
  handleChange(x: number, y: number, $event: Event, isTouch: boolean): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoordinatesDirective, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CoordinatesDirective, "[ngx-color-coordinates]", never, {}, { "coordinatesChange": "coordinatesChange"; }, never>;
24
27
  }
25
28
  export declare class CoordinatesModule {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoordinatesModule, never>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CoordinatesModule, [typeof CoordinatesDirective], never, [typeof CoordinatesDirective]>;
31
+ static ɵinj: i0.ɵɵInjectorDeclaration<CoordinatesModule>;
26
32
  }
@@ -1,5 +1,7 @@
1
1
  import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
3
5
  export declare class EditableInputComponent implements OnInit, OnChanges, OnDestroy {
4
6
  style: {
5
7
  wrap?: Record<string, any>;
@@ -33,6 +35,11 @@ export declare class EditableInputComponent implements OnInit, OnChanges, OnDest
33
35
  unsubscribe(): void;
34
36
  handleMousedown($event: Event): void;
35
37
  handleDrag($event: any): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableInputComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditableInputComponent, "color-editable-input", never, { "style": "style"; "label": "label"; "value": "value"; "arrowOffset": "arrowOffset"; "dragLabel": "dragLabel"; "dragMax": "dragMax"; "placeholder": "placeholder"; }, { "onChange": "onChange"; }, never, never>;
36
40
  }
37
41
  export declare class EditableInputModule {
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableInputModule, never>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EditableInputModule, [typeof EditableInputComponent], [typeof i1.CommonModule], [typeof EditableInputComponent]>;
44
+ static ɵinj: i0.ɵɵInjectorDeclaration<EditableInputModule>;
38
45
  }
@@ -0,0 +1,116 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, forwardRef, Input, NgModule } from '@angular/core';
3
+ import { AlphaModule, CheckboardModule, ColorWrap, toState } from 'ngx-color';
4
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "ngx-color";
7
+ export class AlphaPickerComponent extends ColorWrap {
8
+ constructor() {
9
+ super();
10
+ /** Pixel value for picker width */
11
+ this.width = 316;
12
+ /** Pixel value for picker height */
13
+ this.height = 16;
14
+ this.direction = 'horizontal';
15
+ this.pointer = {
16
+ width: '18px',
17
+ height: '18px',
18
+ borderRadius: '50%',
19
+ transform: 'translate(-9px, -2px)',
20
+ boxShadow: '0 1px 4px 0 rgba(0, 0, 0, 0.37)',
21
+ };
22
+ }
23
+ ngOnChanges() {
24
+ if (this.direction === 'vertical') {
25
+ this.pointer.transform = 'translate(-3px, -9px)';
26
+ }
27
+ this.setState(toState(this.color, this.oldHue));
28
+ }
29
+ handlePickerChange({ data, $event }) {
30
+ this.handleChange(data, $event);
31
+ }
32
+ }
33
+ AlphaPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AlphaPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ AlphaPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: AlphaPickerComponent, selector: "color-alpha-picker", inputs: { width: "width", height: "height", direction: "direction" }, providers: [
35
+ {
36
+ provide: NG_VALUE_ACCESSOR,
37
+ useExisting: forwardRef(() => AlphaPickerComponent),
38
+ multi: true,
39
+ },
40
+ {
41
+ provide: ColorWrap,
42
+ useExisting: forwardRef(() => AlphaPickerComponent)
43
+ }
44
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
45
+ <div class="alpha-picker {{ className }}"
46
+ [style.width.px]="width" [style.height.px]="height">
47
+ <color-alpha
48
+ [hsl]="hsl"
49
+ [rgb]="rgb"
50
+ [pointer]="pointer"
51
+ [direction]="direction"
52
+ (onChange)="handlePickerChange($event)"
53
+ ></color-alpha>
54
+ </div>
55
+ `, isInline: true, styles: [".alpha-picker{position:relative}.color-alpha{radius:2px}\n"], components: [{ type: i1.AlphaComponent, selector: "color-alpha", inputs: ["hsl", "rgb", "pointer", "shadow", "radius", "direction"], outputs: ["onChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AlphaPickerComponent, decorators: [{
57
+ type: Component,
58
+ args: [{
59
+ selector: 'color-alpha-picker',
60
+ template: `
61
+ <div class="alpha-picker {{ className }}"
62
+ [style.width.px]="width" [style.height.px]="height">
63
+ <color-alpha
64
+ [hsl]="hsl"
65
+ [rgb]="rgb"
66
+ [pointer]="pointer"
67
+ [direction]="direction"
68
+ (onChange)="handlePickerChange($event)"
69
+ ></color-alpha>
70
+ </div>
71
+ `,
72
+ styles: [
73
+ `
74
+ .alpha-picker {
75
+ position: relative;
76
+ }
77
+ .color-alpha {
78
+ radius: 2px;
79
+ }
80
+ `,
81
+ ],
82
+ changeDetection: ChangeDetectionStrategy.OnPush,
83
+ preserveWhitespaces: false,
84
+ providers: [
85
+ {
86
+ provide: NG_VALUE_ACCESSOR,
87
+ useExisting: forwardRef(() => AlphaPickerComponent),
88
+ multi: true,
89
+ },
90
+ {
91
+ provide: ColorWrap,
92
+ useExisting: forwardRef(() => AlphaPickerComponent)
93
+ }
94
+ ]
95
+ }]
96
+ }], ctorParameters: function () { return []; }, propDecorators: { width: [{
97
+ type: Input
98
+ }], height: [{
99
+ type: Input
100
+ }], direction: [{
101
+ type: Input
102
+ }] } });
103
+ export class ColorAlphaModule {
104
+ }
105
+ ColorAlphaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ColorAlphaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
106
+ ColorAlphaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ColorAlphaModule, declarations: [AlphaPickerComponent], imports: [CommonModule, AlphaModule, CheckboardModule], exports: [AlphaPickerComponent] });
107
+ ColorAlphaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ColorAlphaModule, imports: [[CommonModule, AlphaModule, CheckboardModule]] });
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: ColorAlphaModule, decorators: [{
109
+ type: NgModule,
110
+ args: [{
111
+ declarations: [AlphaPickerComponent],
112
+ exports: [AlphaPickerComponent],
113
+ imports: [CommonModule, AlphaModule, CheckboardModule],
114
+ }]
115
+ }] });
116
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxwaGEtcGlja2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvYWxwaGEvYWxwaGEtcGlja2VyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM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nRzOiBbQ29tbW9uTW9kdWxlLCBBbHBoYU1vZHVsZSwgQ2hlY2tib2FyZE1vZHVsZV0sXG59KVxuZXhwb3J0IGNsYXNzIENvbG9yQWxwaGFNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public_api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWNvbG9yLWFscGhhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9hbHBoYS9uZ3gtY29sb3ItYWxwaGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export { AlphaPickerComponent, ColorAlphaModule } from './alpha-picker.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvYWxwaGEvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEFscGhhUGlja2VyQ29tcG9uZW50LCBDb2xvckFscGhhTW9kdWxlIH0gZnJvbSAnLi9hbHBoYS1waWNrZXIuY29tcG9uZW50JztcbiJdfQ==