@progress/kendo-angular-gauges 4.1.2 → 5.0.0-dev.202204131907

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 (348) hide show
  1. package/{dist/es2015/arc-gauge → arc-gauge}/arc-center-template.directive.d.ts +3 -0
  2. package/{dist/es2015/arc-gauge → arc-gauge}/arc-gauge.component.d.ts +3 -0
  3. package/{dist/es2015/arc-gauge → arc-gauge}/arc-gauge.directives.d.ts +0 -0
  4. package/{dist/es2015/arc-gauge → arc-gauge}/arc-gauge.module.d.ts +13 -0
  5. package/{dist/es2015/arc-gauge → arc-gauge}/color.component.d.ts +3 -0
  6. package/{dist/es2015/arc-gauge → arc-gauge}/colors.component.d.ts +3 -0
  7. package/{dist/es2015/arc-gauge → arc-gauge}/gauge-area.component.d.ts +3 -0
  8. package/{dist/es2015/arc-gauge → arc-gauge}/labels.component.d.ts +3 -0
  9. package/{dist/es2015/arc-gauge → arc-gauge}/scale.component.d.ts +3 -0
  10. package/{dist/es2015/base-components → base-components}/collection-item.component.d.ts +3 -0
  11. package/{dist/es2015/base-components → base-components}/collection.component.d.ts +3 -0
  12. package/{dist/es2015/base-components → base-components}/gauge-area.component.d.ts +3 -0
  13. package/{dist/es2015/base-components → base-components}/gauge.component.d.ts +5 -2
  14. package/{dist/es2015/base-components → base-components}/labels.component.d.ts +3 -0
  15. package/{dist/es2015/base-components → base-components}/range.component.d.ts +3 -0
  16. package/{dist/es2015/base-components → base-components}/scale.component.d.ts +3 -0
  17. package/{dist/es2015/base-components → base-components}/settings.component.d.ts +3 -0
  18. package/{dist/es2015/base-components.d.ts → base-components.d.ts} +0 -0
  19. package/bundles/kendo-angular-gauges.umd.js +5 -0
  20. package/{dist/es2015/circular-gauge → circular-gauge}/center-template.directive.d.ts +3 -0
  21. package/{dist/es2015/circular-gauge → circular-gauge}/circular-gauge.component.d.ts +3 -0
  22. package/circular-gauge/circular-gauge.directives.d.ts +9 -0
  23. package/{dist/es2015/circular-gauge → circular-gauge}/circular-gauge.module.d.ts +11 -0
  24. package/{dist/es2015/circular-gauge → circular-gauge}/gauge-area.component.d.ts +3 -0
  25. package/{dist/es2015/circular-gauge → circular-gauge}/labels.component.d.ts +3 -0
  26. package/{dist/es2015/circular-gauge → circular-gauge}/scale.component.d.ts +3 -0
  27. package/{dist/es2015 → esm2015}/arc-gauge/arc-center-template.directive.js +14 -12
  28. package/{dist/es2015 → esm2015}/arc-gauge/arc-gauge.component.js +62 -65
  29. package/{dist/es → esm2015}/arc-gauge/arc-gauge.directives.js +0 -0
  30. package/{dist/es2015 → esm2015}/arc-gauge/arc-gauge.module.js +16 -11
  31. package/esm2015/arc-gauge/color.component.js +35 -0
  32. package/{dist/es2015 → esm2015}/arc-gauge/colors.component.js +19 -19
  33. package/esm2015/arc-gauge/gauge-area.component.js +27 -0
  34. package/esm2015/arc-gauge/labels.component.js +27 -0
  35. package/esm2015/arc-gauge/scale.component.js +37 -0
  36. package/esm2015/base-components/collection-item.component.js +25 -0
  37. package/{dist/es2015 → esm2015}/base-components/collection.component.js +8 -0
  38. package/esm2015/base-components/gauge-area.component.js +27 -0
  39. package/{dist/es2015 → esm2015}/base-components/gauge.component.js +29 -36
  40. package/esm2015/base-components/labels.component.js +35 -0
  41. package/esm2015/base-components/range.component.js +25 -0
  42. package/esm2015/base-components/scale.component.js +37 -0
  43. package/esm2015/base-components/settings.component.js +27 -0
  44. package/{dist/es → esm2015}/base-components.js +0 -0
  45. package/{dist/es2015 → esm2015}/circular-gauge/center-template.directive.js +14 -12
  46. package/esm2015/circular-gauge/circular-gauge.component.js +85 -0
  47. package/esm2015/circular-gauge/circular-gauge.directives.js +9 -0
  48. package/{dist/es2015 → esm2015}/circular-gauge/circular-gauge.module.js +22 -11
  49. package/esm2015/circular-gauge/gauge-area.component.js +22 -0
  50. package/esm2015/circular-gauge/labels.component.js +21 -0
  51. package/esm2015/circular-gauge/scale.component.js +22 -0
  52. package/{dist/es2015 → esm2015}/gauges.module.js +12 -9
  53. package/{dist/es2015/shared.module.d.ts → esm2015/kendo-angular-gauges.js} +2 -3
  54. package/esm2015/linear-gauge/gauge-area.component.js +27 -0
  55. package/esm2015/linear-gauge/labels.component.js +26 -0
  56. package/esm2015/linear-gauge/linear-gauge.component.js +78 -0
  57. package/{dist/es → esm2015}/linear-gauge/linear-gauge.directives.js +0 -0
  58. package/{dist/es2015 → esm2015}/linear-gauge/linear-gauge.module.js +16 -11
  59. package/esm2015/linear-gauge/pointer.component.js +41 -0
  60. package/{dist/es2015 → esm2015}/linear-gauge/pointers.component.js +19 -19
  61. package/esm2015/linear-gauge/range.component.js +27 -0
  62. package/{dist/es2015 → esm2015}/linear-gauge/ranges.component.js +19 -19
  63. package/esm2015/linear-gauge/scale.component.js +35 -0
  64. package/{dist/es → esm2015}/main.js +3 -0
  65. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  66. package/esm2015/radial-gauge/gauge-area.component.js +27 -0
  67. package/esm2015/radial-gauge/labels.component.js +28 -0
  68. package/esm2015/radial-gauge/pointer.component.js +35 -0
  69. package/{dist/es2015 → esm2015}/radial-gauge/pointers.component.js +19 -19
  70. package/esm2015/radial-gauge/radial-gauge.component.js +78 -0
  71. package/{dist/es → esm2015}/radial-gauge/radial-gauge.directives.js +0 -0
  72. package/{dist/es2015 → esm2015}/radial-gauge/radial-gauge.module.js +16 -11
  73. package/esm2015/radial-gauge/range.component.js +27 -0
  74. package/{dist/es2015 → esm2015}/radial-gauge/ranges.component.js +19 -19
  75. package/esm2015/radial-gauge/scale.component.js +37 -0
  76. package/esm2015/services/collection-changes.service.js +16 -0
  77. package/{dist/es2015 → esm2015}/services/configuration.service.js +8 -10
  78. package/{dist/es2015 → esm2015}/services/theme.service.js +8 -7
  79. package/{dist/es → esm2015}/services.js +0 -0
  80. package/esm2015/shared.module.js +27 -0
  81. package/{dist/es2015 → esm2015}/types/arc-scale.interface.js +1 -0
  82. package/{dist/es2015 → esm2015}/types/border.interface.js +1 -0
  83. package/{dist/es → esm2015}/types/cap.interface.js +1 -0
  84. package/{dist/es → esm2015}/types/circular-gauge-scale.interface.js +1 -0
  85. package/{dist/es → esm2015}/types/color-range.interface.js +1 -0
  86. package/{dist/es → esm2015}/types/dash-type.interface.js +1 -0
  87. package/{dist/es → esm2015}/types/gauge-area.interface.js +1 -0
  88. package/{dist/es → esm2015}/types/labels.interface.js +1 -0
  89. package/{dist/es → esm2015}/types/line-cap.js +1 -0
  90. package/{dist/es → esm2015}/types/line.interface.js +1 -0
  91. package/{dist/es → esm2015}/types/linear-pointer-shape.js +1 -0
  92. package/{dist/es → esm2015}/types/linear-pointer.interface.js +1 -0
  93. package/{dist/es → esm2015}/types/linear-scale.interface.js +1 -0
  94. package/{dist/es → esm2015}/types/margin.interface.js +1 -0
  95. package/{dist/es → esm2015}/types/padding.interface.js +1 -0
  96. package/{dist/es → esm2015}/types/radial-label-position.js +1 -0
  97. package/{dist/es → esm2015}/types/radial-labels.interface.js +1 -0
  98. package/{dist/es → esm2015}/types/radial-pointer.interface.js +1 -0
  99. package/{dist/es → esm2015}/types/radial-scale.interface.js +1 -0
  100. package/{dist/es → esm2015}/types/range.interface.js +1 -0
  101. package/{dist/es → esm2015}/types/scale.interface.js +1 -0
  102. package/{dist/es → esm2015}/types/ticks.interface.js +1 -0
  103. package/{dist/es2015 → esm2015}/types.js +1 -0
  104. package/fesm2015/kendo-angular-gauges.js +1924 -0
  105. package/{dist/es2015/gauges.module.d.ts → gauges.module.d.ts} +8 -0
  106. package/{dist/es2015/services/collection-changes.service.d.ts → kendo-angular-gauges.d.ts} +3 -4
  107. package/{dist/es2015/linear-gauge → linear-gauge}/gauge-area.component.d.ts +3 -0
  108. package/{dist/es2015/linear-gauge → linear-gauge}/labels.component.d.ts +3 -0
  109. package/{dist/es2015/linear-gauge → linear-gauge}/linear-gauge.component.d.ts +3 -0
  110. package/{dist/es2015/linear-gauge → linear-gauge}/linear-gauge.directives.d.ts +0 -0
  111. package/linear-gauge/linear-gauge.module.d.ts +41 -0
  112. package/{dist/es2015/linear-gauge → linear-gauge}/pointer.component.d.ts +3 -0
  113. package/{dist/es2015/linear-gauge → linear-gauge}/pointers.component.d.ts +3 -0
  114. package/{dist/es2015/linear-gauge → linear-gauge}/range.component.d.ts +3 -0
  115. package/{dist/es2015/linear-gauge → linear-gauge}/ranges.component.d.ts +3 -0
  116. package/{dist/es2015/linear-gauge → linear-gauge}/scale.component.d.ts +3 -0
  117. package/{dist/es2015/main.d.ts → main.d.ts} +2 -0
  118. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  119. package/package.json +37 -107
  120. package/{dist/es2015/radial-gauge → radial-gauge}/gauge-area.component.d.ts +3 -0
  121. package/{dist/es2015/radial-gauge → radial-gauge}/labels.component.d.ts +3 -0
  122. package/{dist/es2015/radial-gauge → radial-gauge}/pointer.component.d.ts +3 -0
  123. package/{dist/es2015/radial-gauge → radial-gauge}/pointers.component.d.ts +3 -0
  124. package/{dist/es2015/radial-gauge → radial-gauge}/radial-gauge.component.d.ts +3 -0
  125. package/{dist/es2015/radial-gauge → radial-gauge}/radial-gauge.directives.d.ts +0 -0
  126. package/radial-gauge/radial-gauge.module.d.ts +41 -0
  127. package/{dist/es2015/radial-gauge → radial-gauge}/range.component.d.ts +3 -0
  128. package/{dist/es2015/radial-gauge → radial-gauge}/ranges.component.d.ts +3 -0
  129. package/{dist/es2015/radial-gauge → radial-gauge}/scale.component.d.ts +3 -0
  130. package/schematics/ngAdd/index.js +5 -2
  131. package/schematics/ngAdd/index.js.map +1 -1
  132. package/services/collection-changes.service.d.ts +13 -0
  133. package/{dist/es2015/services → services}/configuration.service.d.ts +3 -0
  134. package/{dist/es2015/services → services}/theme.service.d.ts +3 -0
  135. package/{dist/es2015/services.d.ts → services.d.ts} +0 -0
  136. package/{dist/es2015/base-components/settings.component.js → shared.module.d.ts} +6 -11
  137. package/{dist/es2015/types → types}/arc-scale.interface.d.ts +0 -0
  138. package/{dist/es2015/types → types}/border.interface.d.ts +0 -0
  139. package/{dist/es2015/types → types}/cap.interface.d.ts +0 -0
  140. package/{dist/es2015/types → types}/circular-gauge-scale.interface.d.ts +0 -0
  141. package/{dist/es2015/types → types}/color-range.interface.d.ts +0 -0
  142. package/{dist/es2015/types → types}/dash-type.interface.d.ts +0 -0
  143. package/{dist/es2015/types → types}/gauge-area.interface.d.ts +0 -0
  144. package/{dist/es2015/types → types}/labels.interface.d.ts +0 -0
  145. package/{dist/es2015/types → types}/line-cap.d.ts +0 -0
  146. package/{dist/es2015/types → types}/line.interface.d.ts +0 -0
  147. package/{dist/es2015/types → types}/linear-pointer-shape.d.ts +0 -0
  148. package/{dist/es2015/types → types}/linear-pointer.interface.d.ts +0 -0
  149. package/{dist/es2015/types → types}/linear-scale.interface.d.ts +0 -0
  150. package/{dist/es2015/types → types}/margin.interface.d.ts +0 -0
  151. package/{dist/es2015/types → types}/padding.interface.d.ts +0 -0
  152. package/{dist/es2015/types → types}/radial-label-position.d.ts +0 -0
  153. package/{dist/es2015/types → types}/radial-labels.interface.d.ts +0 -0
  154. package/{dist/es2015/types → types}/radial-pointer.interface.d.ts +0 -0
  155. package/{dist/es2015/types → types}/radial-scale.interface.d.ts +0 -0
  156. package/{dist/es2015/types → types}/range.interface.d.ts +0 -0
  157. package/{dist/es2015/types → types}/scale.interface.d.ts +0 -0
  158. package/{dist/es2015/types → types}/ticks.interface.d.ts +0 -0
  159. package/{dist/es2015/types.d.ts → types.d.ts} +0 -0
  160. package/dist/cdn/js/kendo-angular-gauges.js +0 -20
  161. package/dist/cdn/main.js +0 -5
  162. package/dist/es/arc-gauge/arc-center-template.directive.js +0 -46
  163. package/dist/es/arc-gauge/arc-gauge.component.js +0 -176
  164. package/dist/es/arc-gauge/arc-gauge.module.js +0 -52
  165. package/dist/es/arc-gauge/color.component.js +0 -44
  166. package/dist/es/arc-gauge/colors.component.js +0 -72
  167. package/dist/es/arc-gauge/gauge-area.component.js +0 -29
  168. package/dist/es/arc-gauge/labels.component.js +0 -29
  169. package/dist/es/arc-gauge/scale.component.js +0 -49
  170. package/dist/es/base-components/collection-item.component.js +0 -19
  171. package/dist/es/base-components/collection.component.js +0 -33
  172. package/dist/es/base-components/gauge-area.component.js +0 -38
  173. package/dist/es/base-components/gauge.component.js +0 -243
  174. package/dist/es/base-components/labels.component.js +0 -54
  175. package/dist/es/base-components/range.component.js +0 -34
  176. package/dist/es/base-components/scale.component.js +0 -58
  177. package/dist/es/base-components/settings.component.js +0 -21
  178. package/dist/es/circular-gauge/center-template.directive.js +0 -46
  179. package/dist/es/circular-gauge/circular-gauge.component.js +0 -70
  180. package/dist/es/circular-gauge/circular-gauge.module.js +0 -55
  181. package/dist/es/circular-gauge/gauge-area.component.js +0 -25
  182. package/dist/es/circular-gauge/labels.component.js +0 -24
  183. package/dist/es/circular-gauge/scale.component.js +0 -25
  184. package/dist/es/gauges.module.js +0 -44
  185. package/dist/es/index.js +0 -15
  186. package/dist/es/linear-gauge/gauge-area.component.js +0 -29
  187. package/dist/es/linear-gauge/labels.component.js +0 -28
  188. package/dist/es/linear-gauge/linear-gauge.component.js +0 -73
  189. package/dist/es/linear-gauge/linear-gauge.module.js +0 -52
  190. package/dist/es/linear-gauge/pointer.component.js +0 -56
  191. package/dist/es/linear-gauge/pointers.component.js +0 -65
  192. package/dist/es/linear-gauge/range.component.js +0 -28
  193. package/dist/es/linear-gauge/ranges.component.js +0 -70
  194. package/dist/es/linear-gauge/scale.component.js +0 -45
  195. package/dist/es/package-metadata.js +0 -15
  196. package/dist/es/radial-gauge/gauge-area.component.js +0 -29
  197. package/dist/es/radial-gauge/labels.component.js +0 -32
  198. package/dist/es/radial-gauge/pointer.component.js +0 -44
  199. package/dist/es/radial-gauge/pointers.component.js +0 -65
  200. package/dist/es/radial-gauge/radial-gauge.component.js +0 -73
  201. package/dist/es/radial-gauge/radial-gauge.module.js +0 -52
  202. package/dist/es/radial-gauge/range.component.js +0 -28
  203. package/dist/es/radial-gauge/ranges.component.js +0 -70
  204. package/dist/es/radial-gauge/scale.component.js +0 -49
  205. package/dist/es/services/collection-changes.service.js +0 -18
  206. package/dist/es/services/configuration.service.js +0 -98
  207. package/dist/es/services/theme.service.js +0 -66
  208. package/dist/es/shared.module.js +0 -25
  209. package/dist/es/types/arc-scale.interface.js +0 -4
  210. package/dist/es/types/border.interface.js +0 -4
  211. package/dist/es/types.js +0 -4
  212. package/dist/es2015/arc-gauge/arc-gauge.directives.js +0 -11
  213. package/dist/es2015/arc-gauge/color.component.js +0 -42
  214. package/dist/es2015/arc-gauge/gauge-area.component.js +0 -26
  215. package/dist/es2015/arc-gauge/labels.component.js +0 -26
  216. package/dist/es2015/arc-gauge/scale.component.js +0 -46
  217. package/dist/es2015/base-components/collection-item.component.js +0 -17
  218. package/dist/es2015/base-components/gauge-area.component.js +0 -32
  219. package/dist/es2015/base-components/labels.component.js +0 -48
  220. package/dist/es2015/base-components/range.component.js +0 -28
  221. package/dist/es2015/base-components/scale.component.js +0 -52
  222. package/dist/es2015/base-components.js +0 -12
  223. package/dist/es2015/circular-gauge/circular-gauge.component.js +0 -71
  224. package/dist/es2015/circular-gauge/gauge-area.component.js +0 -20
  225. package/dist/es2015/circular-gauge/labels.component.js +0 -19
  226. package/dist/es2015/circular-gauge/scale.component.js +0 -20
  227. package/dist/es2015/index.d.ts +0 -15
  228. package/dist/es2015/index.js +0 -15
  229. package/dist/es2015/index.metadata.json +0 -1
  230. package/dist/es2015/linear-gauge/gauge-area.component.js +0 -26
  231. package/dist/es2015/linear-gauge/labels.component.js +0 -25
  232. package/dist/es2015/linear-gauge/linear-gauge.component.js +0 -74
  233. package/dist/es2015/linear-gauge/linear-gauge.directives.js +0 -12
  234. package/dist/es2015/linear-gauge/linear-gauge.module.d.ts +0 -28
  235. package/dist/es2015/linear-gauge/pointer.component.js +0 -54
  236. package/dist/es2015/linear-gauge/range.component.js +0 -26
  237. package/dist/es2015/linear-gauge/scale.component.js +0 -42
  238. package/dist/es2015/main.js +0 -14
  239. package/dist/es2015/radial-gauge/gauge-area.component.js +0 -26
  240. package/dist/es2015/radial-gauge/labels.component.js +0 -29
  241. package/dist/es2015/radial-gauge/pointer.component.js +0 -42
  242. package/dist/es2015/radial-gauge/radial-gauge.component.js +0 -74
  243. package/dist/es2015/radial-gauge/radial-gauge.directives.js +0 -12
  244. package/dist/es2015/radial-gauge/radial-gauge.module.d.ts +0 -28
  245. package/dist/es2015/radial-gauge/range.component.js +0 -26
  246. package/dist/es2015/radial-gauge/scale.component.js +0 -46
  247. package/dist/es2015/services/collection-changes.service.js +0 -15
  248. package/dist/es2015/services.js +0 -7
  249. package/dist/es2015/shared.module.js +0 -22
  250. package/dist/es2015/types/cap.interface.js +0 -4
  251. package/dist/es2015/types/circular-gauge-scale.interface.js +0 -4
  252. package/dist/es2015/types/color-range.interface.js +0 -4
  253. package/dist/es2015/types/dash-type.interface.js +0 -4
  254. package/dist/es2015/types/gauge-area.interface.js +0 -4
  255. package/dist/es2015/types/labels.interface.js +0 -4
  256. package/dist/es2015/types/line-cap.js +0 -4
  257. package/dist/es2015/types/line.interface.js +0 -4
  258. package/dist/es2015/types/linear-pointer-shape.js +0 -4
  259. package/dist/es2015/types/linear-pointer.interface.js +0 -4
  260. package/dist/es2015/types/linear-scale.interface.js +0 -4
  261. package/dist/es2015/types/margin.interface.js +0 -4
  262. package/dist/es2015/types/padding.interface.js +0 -4
  263. package/dist/es2015/types/radial-label-position.js +0 -4
  264. package/dist/es2015/types/radial-labels.interface.js +0 -4
  265. package/dist/es2015/types/radial-pointer.interface.js +0 -4
  266. package/dist/es2015/types/radial-scale.interface.js +0 -4
  267. package/dist/es2015/types/range.interface.js +0 -4
  268. package/dist/es2015/types/scale.interface.js +0 -4
  269. package/dist/es2015/types/ticks.interface.js +0 -4
  270. package/dist/fesm2015/index.js +0 -1917
  271. package/dist/fesm5/index.js +0 -2031
  272. package/dist/npm/arc-gauge/arc-center-template.directive.js +0 -48
  273. package/dist/npm/arc-gauge/arc-gauge.component.js +0 -178
  274. package/dist/npm/arc-gauge/arc-gauge.directives.js +0 -20
  275. package/dist/npm/arc-gauge/arc-gauge.module.js +0 -54
  276. package/dist/npm/arc-gauge/color.component.js +0 -46
  277. package/dist/npm/arc-gauge/colors.component.js +0 -74
  278. package/dist/npm/arc-gauge/gauge-area.component.js +0 -31
  279. package/dist/npm/arc-gauge/labels.component.js +0 -31
  280. package/dist/npm/arc-gauge/scale.component.js +0 -51
  281. package/dist/npm/base-components/collection-item.component.js +0 -21
  282. package/dist/npm/base-components/collection.component.js +0 -35
  283. package/dist/npm/base-components/gauge-area.component.js +0 -40
  284. package/dist/npm/base-components/gauge.component.js +0 -245
  285. package/dist/npm/base-components/labels.component.js +0 -56
  286. package/dist/npm/base-components/range.component.js +0 -36
  287. package/dist/npm/base-components/scale.component.js +0 -60
  288. package/dist/npm/base-components/settings.component.js +0 -23
  289. package/dist/npm/base-components.js +0 -22
  290. package/dist/npm/circular-gauge/center-template.directive.js +0 -48
  291. package/dist/npm/circular-gauge/circular-gauge.component.js +0 -72
  292. package/dist/npm/circular-gauge/circular-gauge.module.js +0 -57
  293. package/dist/npm/circular-gauge/gauge-area.component.js +0 -27
  294. package/dist/npm/circular-gauge/labels.component.js +0 -26
  295. package/dist/npm/circular-gauge/scale.component.js +0 -27
  296. package/dist/npm/gauges.module.js +0 -46
  297. package/dist/npm/index.js +0 -25
  298. package/dist/npm/linear-gauge/gauge-area.component.js +0 -31
  299. package/dist/npm/linear-gauge/labels.component.js +0 -30
  300. package/dist/npm/linear-gauge/linear-gauge.component.js +0 -75
  301. package/dist/npm/linear-gauge/linear-gauge.directives.js +0 -22
  302. package/dist/npm/linear-gauge/linear-gauge.module.js +0 -54
  303. package/dist/npm/linear-gauge/pointer.component.js +0 -58
  304. package/dist/npm/linear-gauge/pointers.component.js +0 -67
  305. package/dist/npm/linear-gauge/range.component.js +0 -30
  306. package/dist/npm/linear-gauge/ranges.component.js +0 -72
  307. package/dist/npm/linear-gauge/scale.component.js +0 -47
  308. package/dist/npm/main.js +0 -22
  309. package/dist/npm/package-metadata.js +0 -17
  310. package/dist/npm/radial-gauge/gauge-area.component.js +0 -31
  311. package/dist/npm/radial-gauge/labels.component.js +0 -34
  312. package/dist/npm/radial-gauge/pointer.component.js +0 -46
  313. package/dist/npm/radial-gauge/pointers.component.js +0 -67
  314. package/dist/npm/radial-gauge/radial-gauge.component.js +0 -75
  315. package/dist/npm/radial-gauge/radial-gauge.directives.js +0 -22
  316. package/dist/npm/radial-gauge/radial-gauge.module.js +0 -54
  317. package/dist/npm/radial-gauge/range.component.js +0 -30
  318. package/dist/npm/radial-gauge/ranges.component.js +0 -72
  319. package/dist/npm/radial-gauge/scale.component.js +0 -51
  320. package/dist/npm/services/collection-changes.service.js +0 -20
  321. package/dist/npm/services/configuration.service.js +0 -100
  322. package/dist/npm/services/theme.service.js +0 -68
  323. package/dist/npm/services.js +0 -12
  324. package/dist/npm/shared.module.js +0 -27
  325. package/dist/npm/types/arc-scale.interface.js +0 -6
  326. package/dist/npm/types/border.interface.js +0 -6
  327. package/dist/npm/types/cap.interface.js +0 -6
  328. package/dist/npm/types/circular-gauge-scale.interface.js +0 -6
  329. package/dist/npm/types/color-range.interface.js +0 -6
  330. package/dist/npm/types/dash-type.interface.js +0 -6
  331. package/dist/npm/types/gauge-area.interface.js +0 -6
  332. package/dist/npm/types/labels.interface.js +0 -6
  333. package/dist/npm/types/line-cap.js +0 -6
  334. package/dist/npm/types/line.interface.js +0 -6
  335. package/dist/npm/types/linear-pointer-shape.js +0 -6
  336. package/dist/npm/types/linear-pointer.interface.js +0 -6
  337. package/dist/npm/types/linear-scale.interface.js +0 -6
  338. package/dist/npm/types/margin.interface.js +0 -6
  339. package/dist/npm/types/padding.interface.js +0 -6
  340. package/dist/npm/types/radial-label-position.js +0 -6
  341. package/dist/npm/types/radial-labels.interface.js +0 -6
  342. package/dist/npm/types/radial-pointer.interface.js +0 -6
  343. package/dist/npm/types/radial-scale.interface.js +0 -6
  344. package/dist/npm/types/range.interface.js +0 -6
  345. package/dist/npm/types/scale.interface.js +0 -6
  346. package/dist/npm/types/ticks.interface.js +0 -6
  347. package/dist/npm/types.js +0 -6
  348. package/dist/systemjs/kendo-angular-gauges.js +0 -5
@@ -0,0 +1,1924 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from '@angular/core';
6
+ import { Injectable, NgModule, Directive, Input, ViewChild, HostBinding, Optional, Component, ChangeDetectionStrategy, ContentChild, ContentChildren } from '@angular/core';
7
+ import * as i5 from '@angular/common';
8
+ import { CommonModule } from '@angular/common';
9
+ import * as i4 from '@progress/kendo-angular-common';
10
+ import { ResizeSensorModule, ResizeSensorComponent } from '@progress/kendo-angular-common';
11
+ export { ResizeSensorComponent } from '@progress/kendo-angular-common';
12
+ import * as i3 from '@progress/kendo-angular-l10n';
13
+ import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
14
+ import { exportImage, exportSVG, drawDOM } from '@progress/kendo-drawing';
15
+ import { validatePackage } from '@progress/kendo-licensing';
16
+ import * as i2 from '@progress/kendo-angular-intl';
17
+ import { ArcGauge, LinearGauge, RadialGauge, CircularGauge } from '@progress/kendo-charts';
18
+
19
+ function isObject(value) {
20
+ return typeof value === "object";
21
+ }
22
+ function diffOptions(original, current) {
23
+ if (Object.keys(original).length !== Object.keys(current).length) {
24
+ return true;
25
+ }
26
+ for (let field in original) {
27
+ if (field !== 'value' && original.hasOwnProperty(field)) {
28
+ const originalValue = original[field];
29
+ const currentValue = current[field];
30
+ const diff = isObject(originalValue) && isObject(currentValue) ?
31
+ diffOptions(originalValue, currentValue) : originalValue !== currentValue;
32
+ if (diff) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ }
38
+ function diffPointerOptions(original, current) {
39
+ if (!original || !current) {
40
+ return true;
41
+ }
42
+ original = [].concat(original);
43
+ current = [].concat(current);
44
+ if (original.length !== current.length) {
45
+ return true;
46
+ }
47
+ for (let idx = 0; idx < original.length; idx++) {
48
+ if (diffOptions(original[idx], current[idx])) {
49
+ return true;
50
+ }
51
+ }
52
+ }
53
+ /**
54
+ * @hidden
55
+ */
56
+ class ConfigurationService {
57
+ constructor() {
58
+ this.options = {};
59
+ }
60
+ copyChanges(prefix, changes) {
61
+ for (let propertyName in changes) {
62
+ if (!changes.hasOwnProperty(propertyName)) {
63
+ continue;
64
+ }
65
+ const value = changes[propertyName].currentValue;
66
+ const optionName = (prefix ? prefix + '.' : '') + propertyName;
67
+ this.set(optionName, value);
68
+ }
69
+ }
70
+ read() {
71
+ this.hasChanges = false;
72
+ this.valueChange = false;
73
+ return this.options;
74
+ }
75
+ readValues() {
76
+ this.valueChange = false;
77
+ const pointers = [].concat(this.options.pointer);
78
+ return pointers.map((pointer) => pointer.value);
79
+ }
80
+ readValue() {
81
+ this.valueChange = false;
82
+ return this.options.value;
83
+ }
84
+ set(field, value) {
85
+ const { key, options } = this.optionContext(field);
86
+ if (!this.hasChanges && (key === 'value' || (key === 'pointer' && !diffPointerOptions(this.options.pointer, value)))) {
87
+ this.valueChange = true;
88
+ }
89
+ else {
90
+ this.hasChanges = true;
91
+ this.valueChange = false;
92
+ }
93
+ options[key] = value;
94
+ }
95
+ optionContext(field) {
96
+ const parts = field.split('.');
97
+ let options = this.options;
98
+ let key = parts.shift();
99
+ while (parts.length > 0) {
100
+ options = options[key] = options[key] || {};
101
+ key = parts.shift();
102
+ }
103
+ return { key: key, options: options };
104
+ }
105
+ }
106
+ ConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfigurationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
107
+ ConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfigurationService });
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfigurationService, decorators: [{
109
+ type: Injectable
110
+ }] });
111
+
112
+ /**
113
+ * @hidden
114
+ */
115
+ class CollectionChangesService {
116
+ }
117
+ CollectionChangesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollectionChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
118
+ CollectionChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollectionChangesService });
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollectionChangesService, decorators: [{
120
+ type: Injectable
121
+ }] });
122
+
123
+ const template = `
124
+ <div class="k-var--gauge-pointer"></div>
125
+ <div class="k-var--gauge-track"></div>
126
+ <div class="k-var--normal-text-color"></div>
127
+ `;
128
+ /**
129
+ * @hidden
130
+ */
131
+ class ThemeService {
132
+ read() {
133
+ if (!this.options) {
134
+ this.load();
135
+ }
136
+ return this.options;
137
+ }
138
+ load() {
139
+ if (typeof document === 'undefined') {
140
+ this.options = {};
141
+ return;
142
+ }
143
+ const container = document.createElement('div');
144
+ container.style.display = 'none';
145
+ container.innerHTML = template;
146
+ document.body.appendChild(container);
147
+ try {
148
+ const pointerColor = this.getColor(container, 'gauge-pointer');
149
+ const rangePlaceholder = this.getColor(container, 'gauge-track');
150
+ const textColor = this.getColor(container, 'normal-text-color');
151
+ this.options = {
152
+ pointer: {
153
+ color: pointerColor
154
+ },
155
+ scale: {
156
+ labels: {
157
+ color: textColor
158
+ },
159
+ rangePlaceholderColor: rangePlaceholder,
160
+ minorTicks: {
161
+ color: textColor
162
+ },
163
+ majorTicks: {
164
+ color: textColor
165
+ },
166
+ line: {
167
+ color: textColor
168
+ }
169
+ }
170
+ };
171
+ }
172
+ finally {
173
+ document.body.removeChild(container);
174
+ }
175
+ }
176
+ getColor(container, varName) {
177
+ return window.getComputedStyle(container.querySelector(`.k-var--${varName}`)).backgroundColor;
178
+ }
179
+ }
180
+ ThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
181
+ ThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ThemeService });
182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ThemeService, decorators: [{
183
+ type: Injectable
184
+ }] });
185
+
186
+ /**
187
+ * @hidden
188
+ */
189
+ class SharedModule {
190
+ }
191
+ SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
192
+ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, exports: [ResizeSensorModule] });
193
+ SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, providers: [
194
+ ThemeService
195
+ ], imports: [ResizeSensorModule] });
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, decorators: [{
197
+ type: NgModule,
198
+ args: [{
199
+ exports: [ResizeSensorModule],
200
+ providers: [
201
+ ThemeService
202
+ ]
203
+ }]
204
+ }] });
205
+
206
+ /**
207
+ * @hidden
208
+ */
209
+ class CollectionComponent {
210
+ constructor(key, configurationService, collectionChangesService) {
211
+ this.key = key;
212
+ this.configurationService = configurationService;
213
+ this.collectionChangesService = collectionChangesService;
214
+ }
215
+ ngOnDestroy() {
216
+ this.subscription.unsubscribe();
217
+ this.configurationService.set(this.key, []);
218
+ }
219
+ ngAfterContentInit() {
220
+ this.subscription = this.children.changes.subscribe(() => this.collectionChangesService.hasChanges = true);
221
+ }
222
+ ngAfterContentChecked() {
223
+ if (this.collectionChangesService.hasChanges) {
224
+ this.configurationService.set(this.key, this.readItems());
225
+ this.collectionChangesService.hasChanges = false;
226
+ }
227
+ }
228
+ readItems() {
229
+ return this.children.map(child => Object.assign({}, child.configurationService.read()));
230
+ }
231
+ }
232
+ CollectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollectionComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
233
+ CollectionComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CollectionComponent, ngImport: i0 });
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollectionComponent, decorators: [{
235
+ type: Directive
236
+ }], ctorParameters: function () { return [{ type: undefined }, { type: ConfigurationService }, { type: CollectionChangesService }]; } });
237
+
238
+ /**
239
+ * @hidden
240
+ */
241
+ class CollectionItemComponent {
242
+ constructor(configurationService, collectionChangesService) {
243
+ this.configurationService = configurationService;
244
+ this.collectionChangesService = collectionChangesService;
245
+ }
246
+ ngOnChanges(changes) {
247
+ this.configurationService.copyChanges('', changes);
248
+ this.collectionChangesService.hasChanges = true;
249
+ }
250
+ }
251
+ CollectionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollectionItemComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
252
+ CollectionItemComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CollectionItemComponent, usesOnChanges: true, ngImport: i0 });
253
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollectionItemComponent, decorators: [{
254
+ type: Directive
255
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; } });
256
+
257
+ /**
258
+ * @hidden
259
+ */
260
+ const packageMetadata = {
261
+ name: '@progress/kendo-angular-gauges',
262
+ productName: 'Kendo UI for Angular',
263
+ productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
264
+ publishDate: 1649876825,
265
+ version: '',
266
+ licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
267
+ };
268
+
269
+ const inDocument = (element) => {
270
+ let node = element;
271
+ while (node && node !== document.body) {
272
+ node = node.parentNode;
273
+ }
274
+ return Boolean(node);
275
+ };
276
+ /**
277
+ * @hidden
278
+ */
279
+ class GaugeComponent {
280
+ constructor(configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
281
+ this.configurationService = configurationService;
282
+ this.themeService = themeService;
283
+ this.intlService = intlService;
284
+ this.localizationService = localizationService;
285
+ this.element = element;
286
+ this.renderer = renderer;
287
+ this.ngZone = ngZone;
288
+ /**
289
+ * The maximum number of times the Gauge resizes per second.
290
+ * Defaults to `10`. To disable the automatic resizing, set `resizeRateLimit` to `0`.
291
+ */
292
+ this.resizeRateLimit = 10;
293
+ this.className = true;
294
+ this.theme = null;
295
+ this.rtl = false;
296
+ validatePackage(packageMetadata);
297
+ }
298
+ ngOnInit() {
299
+ this.setDirection();
300
+ this.subscriptions = this.intlService.changes.subscribe(this.intlChange.bind(this));
301
+ this.subscriptions.add(this.localizationService.changes.subscribe(this.rtlChange.bind(this)));
302
+ }
303
+ ngAfterViewChecked() {
304
+ if (typeof document === 'undefined') {
305
+ return;
306
+ }
307
+ let updateMethod;
308
+ if (!this.instance) {
309
+ updateMethod = this.init;
310
+ }
311
+ else if (this.configurationService.hasChanges) {
312
+ updateMethod = this.updateOptions;
313
+ }
314
+ else if (this.configurationService.valueChange) {
315
+ updateMethod = this.setValues;
316
+ }
317
+ if (updateMethod) {
318
+ clearTimeout(this.redrawTimeout);
319
+ if (!this.instance && !inDocument(this.element.nativeElement)) { // required in case the gauge is initialized by ng-content outside of the DOM
320
+ this.defer(() => {
321
+ this.updateCall(updateMethod);
322
+ });
323
+ }
324
+ else {
325
+ this.updateCall(updateMethod);
326
+ }
327
+ }
328
+ }
329
+ updateCall(updateMethod) {
330
+ this.updateDirection();
331
+ updateMethod.call(this);
332
+ this.updateSize();
333
+ }
334
+ updateOptions() {
335
+ this.instance.setOptions(this.configurationService.read());
336
+ }
337
+ setValues() {
338
+ this.instance.allValues(this.configurationService.readValues());
339
+ }
340
+ ngOnChanges(changes) {
341
+ this.configurationService.copyChanges('', changes);
342
+ }
343
+ ngOnDestroy() {
344
+ if (this.instance) {
345
+ this.instance.destroy();
346
+ }
347
+ this.subscriptions.unsubscribe();
348
+ clearTimeout(this.redrawTimeout);
349
+ }
350
+ /**
351
+ * Exports the Gauge as an image. The export operation is asynchronous and returns a promise.
352
+ *
353
+ * @param {ImageExportOptions} options - The parameters for the exported image.
354
+ * @returns {Promise<string>} - A promise that will be resolved with a PNG image that is encoded as a Data URI.
355
+ */
356
+ exportImage(options = {}) {
357
+ return this.exportVisual().then((visual) => {
358
+ return exportImage(visual, options);
359
+ });
360
+ }
361
+ /**
362
+ * Exports the Gauge as an SVG document. The export operation is asynchronous and returns a promise.
363
+ *
364
+ * @param {SVGExportOptions} options - The parameters for the exported file.
365
+ * @returns {Promise<string>} - A promise that will be resolved with an SVG document that is encoded as a Data URI.
366
+ */
367
+ exportSVG(options = {}) {
368
+ return this.exportVisual().then((visual) => {
369
+ return exportSVG(visual, options);
370
+ });
371
+ }
372
+ /**
373
+ * Exports the Gauge as a Drawing `Scene`.
374
+ *
375
+ * @returns {Promise<Group>} - A promise that will be resolved with the export visual.
376
+ */
377
+ exportVisual() {
378
+ return Promise.resolve(this.instance.exportVisual());
379
+ }
380
+ /**
381
+ * @hidden
382
+ */
383
+ onResize(_event) {
384
+ if (this.autoResize) {
385
+ this.resize();
386
+ }
387
+ }
388
+ /**
389
+ * Detects the size of the container and redraws the Gauge.
390
+ * Resizing is automatic unless you set the `resizeRateLimit` option to `0`.
391
+ */
392
+ resize() {
393
+ if (this.instance) {
394
+ this.instance.resize();
395
+ }
396
+ }
397
+ init() {
398
+ if (!this.surfaceElement) {
399
+ return;
400
+ }
401
+ this.createInstance(this.surfaceElement.nativeElement, this.configurationService.read(), this.themeService.read(), {
402
+ intlService: this.intlService,
403
+ rtl: this.rtl
404
+ });
405
+ }
406
+ get autoResize() {
407
+ return this.resizeRateLimit > 0;
408
+ }
409
+ updateSize() {
410
+ this.resizeSensor.acceptSize();
411
+ }
412
+ intlChange() {
413
+ if (this.instance) {
414
+ this.deferredRedraw();
415
+ }
416
+ }
417
+ rtlChange() {
418
+ if (this.instance && this.rtl !== this.isRTL) {
419
+ this.deferredRedraw();
420
+ }
421
+ }
422
+ deferredRedraw() {
423
+ this.defer(() => {
424
+ this.updateDirection();
425
+ this.instance.noTransitionsRedraw();
426
+ });
427
+ }
428
+ defer(callback) {
429
+ this.ngZone.runOutsideAngular(() => {
430
+ clearTimeout(this.redrawTimeout);
431
+ this.redrawTimeout = setTimeout(callback, 0);
432
+ });
433
+ }
434
+ updateDirection() {
435
+ const current = this.isRTL;
436
+ if (this.rtl !== current) {
437
+ this.setDirection();
438
+ if (this.instance) {
439
+ this.instance.setDirection(current);
440
+ }
441
+ }
442
+ }
443
+ setDirection() {
444
+ this.rtl = this.isRTL;
445
+ if (this.element) {
446
+ this.renderer.setAttribute(this.element.nativeElement, 'dir', this.rtl ? 'rtl' : 'ltr');
447
+ }
448
+ }
449
+ get isRTL() {
450
+ return Boolean(this.localizationService.rtl);
451
+ }
452
+ }
453
+ GaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GaugeComponent, deps: [{ token: ConfigurationService }, { token: ThemeService }, { token: i2.IntlService }, { token: i3.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
454
+ GaugeComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: GaugeComponent, inputs: { gaugeArea: "gaugeArea", renderAs: "renderAs", resizeRateLimit: "resizeRateLimit", scale: "scale", transitions: "transitions" }, host: { properties: { "class.k-gauge": "this.className" } }, viewQueries: [{ propertyName: "surfaceElement", first: true, predicate: ["surface"], descendants: true, static: true }, { propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0 });
455
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GaugeComponent, decorators: [{
456
+ type: Directive
457
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { gaugeArea: [{
458
+ type: Input
459
+ }], renderAs: [{
460
+ type: Input
461
+ }], resizeRateLimit: [{
462
+ type: Input
463
+ }], scale: [{
464
+ type: Input
465
+ }], transitions: [{
466
+ type: Input
467
+ }], surfaceElement: [{
468
+ type: ViewChild,
469
+ args: ['surface', { static: true }]
470
+ }], resizeSensor: [{
471
+ type: ViewChild,
472
+ args: [ResizeSensorComponent, { static: true }]
473
+ }], className: [{
474
+ type: HostBinding,
475
+ args: ['class.k-gauge']
476
+ }] } });
477
+
478
+ /**
479
+ * @hidden
480
+ */
481
+ class SettingsComponent {
482
+ constructor(key, configurationService) {
483
+ this.key = key;
484
+ this.configurationService = configurationService;
485
+ }
486
+ ngOnChanges(changes) {
487
+ this.configurationService.copyChanges(this.key, changes);
488
+ }
489
+ ngOnDestroy() {
490
+ this.configurationService.set(this.key, null);
491
+ }
492
+ }
493
+ SettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SettingsComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
494
+ SettingsComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SettingsComponent, usesOnChanges: true, ngImport: i0 });
495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SettingsComponent, decorators: [{
496
+ type: Directive
497
+ }], ctorParameters: function () { return [{ type: undefined }, { type: ConfigurationService }]; } });
498
+
499
+ /**
500
+ * @hidden
501
+ */
502
+ class GaugeAreaComponent extends SettingsComponent {
503
+ }
504
+ GaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GaugeAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
505
+ GaugeAreaComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: GaugeAreaComponent, inputs: { background: "background", border: "border", height: "height", margin: "margin", width: "width" }, usesInheritance: true, ngImport: i0 });
506
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GaugeAreaComponent, decorators: [{
507
+ type: Directive
508
+ }], propDecorators: { background: [{
509
+ type: Input
510
+ }], border: [{
511
+ type: Input
512
+ }], height: [{
513
+ type: Input
514
+ }], margin: [{
515
+ type: Input
516
+ }], width: [{
517
+ type: Input
518
+ }] } });
519
+
520
+ /**
521
+ * @hidden
522
+ */
523
+ class LabelsComponent extends SettingsComponent {
524
+ }
525
+ LabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelsComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
526
+ LabelsComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LabelsComponent, inputs: { background: "background", border: "border", color: "color", font: "font", format: "format", margin: "margin", padding: "padding", content: "content", visible: "visible" }, usesInheritance: true, ngImport: i0 });
527
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelsComponent, decorators: [{
528
+ type: Directive
529
+ }], propDecorators: { background: [{
530
+ type: Input
531
+ }], border: [{
532
+ type: Input
533
+ }], color: [{
534
+ type: Input
535
+ }], font: [{
536
+ type: Input
537
+ }], format: [{
538
+ type: Input
539
+ }], margin: [{
540
+ type: Input
541
+ }], padding: [{
542
+ type: Input
543
+ }], content: [{
544
+ type: Input
545
+ }], visible: [{
546
+ type: Input
547
+ }] } });
548
+
549
+ /**
550
+ * @hidden
551
+ */
552
+ class RangeComponent extends CollectionItemComponent {
553
+ }
554
+ RangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
555
+ RangeComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: RangeComponent, inputs: { from: "from", to: "to", opacity: "opacity", color: "color" }, usesInheritance: true, ngImport: i0 });
556
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RangeComponent, decorators: [{
557
+ type: Directive
558
+ }], propDecorators: { from: [{
559
+ type: Input
560
+ }], to: [{
561
+ type: Input
562
+ }], opacity: [{
563
+ type: Input
564
+ }], color: [{
565
+ type: Input
566
+ }] } });
567
+
568
+ /**
569
+ * @hidden
570
+ */
571
+ class ScaleComponent extends SettingsComponent {
572
+ }
573
+ ScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScaleComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
574
+ ScaleComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ScaleComponent, inputs: { labels: "labels", majorTicks: "majorTicks", minorTicks: "minorTicks", min: "min", max: "max", minorUnit: "minorUnit", majorUnit: "majorUnit", reverse: "reverse", rangeSize: "rangeSize", rangePlaceholderColor: "rangePlaceholderColor" }, usesInheritance: true, ngImport: i0 });
575
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ScaleComponent, decorators: [{
576
+ type: Directive
577
+ }], propDecorators: { labels: [{
578
+ type: Input
579
+ }], majorTicks: [{
580
+ type: Input
581
+ }], minorTicks: [{
582
+ type: Input
583
+ }], min: [{
584
+ type: Input
585
+ }], max: [{
586
+ type: Input
587
+ }], minorUnit: [{
588
+ type: Input
589
+ }], majorUnit: [{
590
+ type: Input
591
+ }], reverse: [{
592
+ type: Input
593
+ }], rangeSize: [{
594
+ type: Input
595
+ }], rangePlaceholderColor: [{
596
+ type: Input
597
+ }] } });
598
+
599
+ /**
600
+ * A directive that selects a [template]({{ site.data.urls.angular['templatesyntax'] }})
601
+ * within the `<kendo-arcgauge>` component which will be used for the center template
602
+ * ([more information and example]({% slug centertemplate_arcgauge %})).
603
+ *
604
+ * @example
605
+ * ```ts
606
+ * import { Component } from '@angular/core';
607
+ *
608
+ * _@Component({
609
+ * selector: 'my-app',
610
+ * template: `
611
+ * <kendo-arcgauge [value]="value">
612
+ * <ng-template kendoArcGaugeCenterTemplate let-value="value">
613
+ * {{ value }}%
614
+ * </ng-template>
615
+ * </kendo-arcgauge>
616
+ *
617
+ * `
618
+ * })
619
+ * export class AppComponent {
620
+ * public value: number = 10;
621
+ * }
622
+ *
623
+ * ```
624
+ */
625
+ class ArcCenterTemplateDirective {
626
+ constructor(templateRef) {
627
+ this.templateRef = templateRef;
628
+ }
629
+ }
630
+ ArcCenterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcCenterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
631
+ ArcCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ArcCenterTemplateDirective, selector: "[kendoArcGaugeCenterTemplate]", ngImport: i0 });
632
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcCenterTemplateDirective, decorators: [{
633
+ type: Directive,
634
+ args: [{
635
+ selector: '[kendoArcGaugeCenterTemplate]'
636
+ }]
637
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
638
+ type: Optional
639
+ }] }]; } });
640
+
641
+ /**
642
+ * Represents the [Kendo UI ArcGauge component for Angular]({% slug overview_arcgauge_gauges %}).
643
+ *
644
+ * @example
645
+ * ```ts
646
+ * import { Component } from '@angular/core';
647
+ *
648
+ * _@Component({
649
+ * selector: 'my-app',
650
+ * template: `
651
+ * <kendo-arcgauge [value]="value" [scale]="{ max: 100 }">
652
+ * <ng-template kendoArcGaugeCenterTemplate let-value="value">
653
+ * {{ value }}%
654
+ * </ng-template>
655
+ * </kendo-arcgauge>
656
+ * `
657
+ * })
658
+ * class AppComponent {
659
+ * public value: number = 10;
660
+ * }
661
+ *
662
+ * ```
663
+ */
664
+ class ArcGaugeComponent extends GaugeComponent {
665
+ constructor(changeDetector, configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
666
+ super(configurationService, themeService, intlService, localizationService, element, renderer, ngZone);
667
+ this.changeDetector = changeDetector;
668
+ this.className = true;
669
+ this.centerTemplateContext = {};
670
+ }
671
+ ngOnInit() {
672
+ super.ngOnInit();
673
+ if (this.element) {
674
+ this.renderer.setStyle(this.element.nativeElement, 'position', 'relative');
675
+ }
676
+ }
677
+ ngAfterViewChecked() {
678
+ super.ngAfterViewChecked();
679
+ if (this.labelElement && !this.centerTemplate) {
680
+ this.changeDetector.detectChanges();
681
+ }
682
+ else if (!this.labelElement && this.centerTemplate) {
683
+ this.updateCenterTemplate();
684
+ }
685
+ }
686
+ /**
687
+ * Exports the gauge as a Drawing `Scene`.
688
+ *
689
+ * @returns {Promise<Group>} - A promise that will be resolved with the export visual.
690
+ */
691
+ exportVisual() {
692
+ return drawDOM(this.element.nativeElement);
693
+ }
694
+ /**
695
+ * Detects the size of the container and redraws the Gauge.
696
+ * Resizing is automatic unless you set the `resizeRateLimit` option to `0`.
697
+ */
698
+ resize() {
699
+ super.resize();
700
+ this.updateCenterTemplate();
701
+ }
702
+ createInstance(element, options, theme, context) {
703
+ this.instance = new ArcGauge(element, options, theme, context);
704
+ this.updateElements();
705
+ }
706
+ updateOptions() {
707
+ super.updateOptions();
708
+ this.updateElements();
709
+ }
710
+ setValues() {
711
+ const value = this.configurationService.readValue();
712
+ this.instance.value(value);
713
+ this.updateCenterTemplate();
714
+ }
715
+ updateElements() {
716
+ this.resizeSensor.acceptSize();
717
+ this.updateCenterTemplate();
718
+ }
719
+ updateCenterTemplate() {
720
+ if (!this.instance || !this.centerTemplate) {
721
+ return;
722
+ }
723
+ this.centerTemplateContext.value = this.instance.value();
724
+ this.centerTemplateContext.color = this.instance.currentColor();
725
+ this.changeDetector.detectChanges();
726
+ this.positionLabel();
727
+ }
728
+ positionLabel() {
729
+ if (!this.labelElement) {
730
+ return;
731
+ }
732
+ const element = this.labelElement.nativeElement;
733
+ const width = element.offsetWidth;
734
+ const height = element.offsetHeight;
735
+ const position = this.instance.centerLabelPosition(width, height);
736
+ element.style.top = `${position.top}px`;
737
+ element.style.left = `${position.left}px`;
738
+ }
739
+ //eslint-disable-next-line no-empty
740
+ updateSize() {
741
+ }
742
+ }
743
+ ArcGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcGaugeComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfigurationService }, { token: ThemeService }, { token: i2.IntlService }, { token: i3.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
744
+ ArcGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ArcGaugeComponent, selector: "kendo-arcgauge", inputs: { value: "value", color: "color", colors: "colors", opacity: "opacity", scale: "scale" }, host: { properties: { "class.k-arcgauge": "this.className" } }, providers: [
745
+ ConfigurationService,
746
+ LocalizationService,
747
+ {
748
+ provide: L10N_PREFIX,
749
+ useValue: 'kendo.arcgauge'
750
+ }
751
+ ], queries: [{ propertyName: "centerTemplate", first: true, predicate: ArcCenterTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "labelElement", first: true, predicate: ["label"], descendants: true }], exportAs: ["kendoArcGauge"], usesInheritance: true, ngImport: i0, template: `
752
+ <div #surface class='k-chart-surface'></div>
753
+ <div class="k-arcgauge-label" *ngIf="centerTemplate" #label>
754
+ <ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
755
+ </div>
756
+ <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
757
+ `, isInline: true, components: [{ type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
758
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcGaugeComponent, decorators: [{
759
+ type: Component,
760
+ args: [{
761
+ changeDetection: ChangeDetectionStrategy.OnPush,
762
+ exportAs: 'kendoArcGauge',
763
+ providers: [
764
+ ConfigurationService,
765
+ LocalizationService,
766
+ {
767
+ provide: L10N_PREFIX,
768
+ useValue: 'kendo.arcgauge'
769
+ }
770
+ ],
771
+ selector: 'kendo-arcgauge',
772
+ template: `
773
+ <div #surface class='k-chart-surface'></div>
774
+ <div class="k-arcgauge-label" *ngIf="centerTemplate" #label>
775
+ <ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
776
+ </div>
777
+ <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
778
+ `
779
+ }]
780
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfigurationService }, { type: ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { value: [{
781
+ type: Input
782
+ }], color: [{
783
+ type: Input
784
+ }], colors: [{
785
+ type: Input
786
+ }], opacity: [{
787
+ type: Input
788
+ }], scale: [{
789
+ type: Input
790
+ }], centerTemplate: [{
791
+ type: ContentChild,
792
+ args: [ArcCenterTemplateDirective, { static: false }]
793
+ }], labelElement: [{
794
+ type: ViewChild,
795
+ args: ["label", { static: false }]
796
+ }], className: [{
797
+ type: HostBinding,
798
+ args: ['class.k-arcgauge']
799
+ }] } });
800
+
801
+ /**
802
+ * The configuration options of the ArcGauge area.
803
+ * Represents the entire visible area of the ArcGauge.
804
+ */
805
+ class ArcGaugeAreaComponent extends GaugeAreaComponent {
806
+ constructor(configurationService) {
807
+ super('gaugeArea', configurationService);
808
+ this.configurationService = configurationService;
809
+ }
810
+ }
811
+ ArcGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
812
+ ArcGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ArcGaugeAreaComponent, selector: "kendo-arcgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
813
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcGaugeAreaComponent, decorators: [{
814
+ type: Component,
815
+ args: [{
816
+ selector: 'kendo-arcgauge-area',
817
+ template: ''
818
+ }]
819
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
820
+
821
+ /**
822
+ * The configuration options for the scale of the ArcGauge
823
+ * ([see example]({% slug scaleoptions_arcgauge %})).
824
+ */
825
+ class ArcScaleComponent extends ScaleComponent {
826
+ constructor(configurationService) {
827
+ super('scale', configurationService);
828
+ this.configurationService = configurationService;
829
+ }
830
+ }
831
+ ArcScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
832
+ ArcScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ArcScaleComponent, selector: "kendo-arcgauge-scale", inputs: { labels: "labels", rangeDistance: "rangeDistance", rangeLineCap: "rangeLineCap", startAngle: "startAngle", endAngle: "endAngle" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcScaleComponent, decorators: [{
834
+ type: Component,
835
+ args: [{
836
+ selector: 'kendo-arcgauge-scale',
837
+ template: ''
838
+ }]
839
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { labels: [{
840
+ type: Input
841
+ }], rangeDistance: [{
842
+ type: Input
843
+ }], rangeLineCap: [{
844
+ type: Input
845
+ }], startAngle: [{
846
+ type: Input
847
+ }], endAngle: [{
848
+ type: Input
849
+ }] } });
850
+
851
+ /**
852
+ * The configuration options for the scale labels of the RadialGauge.
853
+ */
854
+ class RadialLabelsComponent extends LabelsComponent {
855
+ constructor(configurationService) {
856
+ super('scale.labels', configurationService);
857
+ this.configurationService = configurationService;
858
+ }
859
+ }
860
+ RadialLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
861
+ RadialLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadialLabelsComponent, selector: "kendo-radialgauge-scale-labels", inputs: { position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialLabelsComponent, decorators: [{
863
+ type: Component,
864
+ args: [{
865
+ selector: 'kendo-radialgauge-scale-labels',
866
+ template: ''
867
+ }]
868
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { position: [{
869
+ type: Input
870
+ }] } });
871
+
872
+ /**
873
+ * The configuration options for the scale labels of the ArcGauge.
874
+ */
875
+ class ArcLabelsComponent extends RadialLabelsComponent {
876
+ constructor(configurationService) {
877
+ super(configurationService);
878
+ this.configurationService = configurationService;
879
+ configurationService.set(`${this.key}.visible`, true);
880
+ }
881
+ }
882
+ ArcLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
883
+ ArcLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ArcLabelsComponent, selector: "kendo-arcgauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcLabelsComponent, decorators: [{
885
+ type: Component,
886
+ args: [{
887
+ selector: 'kendo-arcgauge-scale-labels',
888
+ template: ''
889
+ }]
890
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
891
+
892
+ /**
893
+ * The configuration options for an ArcGauge color item.
894
+ */
895
+ class ColorComponent extends CollectionItemComponent {
896
+ constructor(configurationService, collectionChangesService) {
897
+ super(configurationService, collectionChangesService);
898
+ }
899
+ }
900
+ ColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
901
+ ColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColorComponent, selector: "kendo-arcgauge-color", inputs: { color: "color", opacity: "opacity", from: "from", to: "to" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
902
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorComponent, decorators: [{
903
+ type: Component,
904
+ args: [{
905
+ providers: [ConfigurationService],
906
+ selector: 'kendo-arcgauge-color',
907
+ template: ''
908
+ }]
909
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { color: [{
910
+ type: Input
911
+ }], opacity: [{
912
+ type: Input
913
+ }], from: [{
914
+ type: Input
915
+ }], to: [{
916
+ type: Input
917
+ }] } });
918
+
919
+ /**
920
+ * A collection of one or more ArcGauge colors
921
+ * ([more information and example]({% slug colorranges_arcgauge %})).
922
+ *
923
+ * @example
924
+ * ```ts
925
+ * import { Component } from '@angular/core';
926
+ *
927
+ * _@Component({
928
+ * selector: 'my-app',
929
+ * template: `
930
+ * <kendo-arcgauge [value]="value">
931
+ * <kendo-arcgauge-colors>
932
+ * <kendo-arcgauge-color *ngFor="let item of colors"
933
+ * [from]="item.from" [to]="item.to" [color]="item.color">
934
+ * </kendo-arcgauge-color>
935
+ * </kendo-arcgauge-colors>
936
+ * </kendo-arcgauge>
937
+ * `
938
+ * })
939
+ * export class AppComponent {
940
+ * public value: number = 10;
941
+ *
942
+ * public colors: any[] = [{
943
+ * to: 25,
944
+ * color: '#0058e9'
945
+ * }, {
946
+ * from: 25,
947
+ * to: 50,
948
+ * color: '#37b400'
949
+ * }, {
950
+ * from: 50,
951
+ * to: 75,
952
+ * color: '#ffc000'
953
+ * }, {
954
+ * from: 75,
955
+ * color: '#f31700'
956
+ * }];
957
+ * }
958
+ *
959
+ * ```
960
+ */
961
+ class ColorsComponent extends CollectionComponent {
962
+ constructor(configurationService, collectionChangesService) {
963
+ super('colors', configurationService, collectionChangesService);
964
+ }
965
+ }
966
+ ColorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorsComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
967
+ ColorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColorsComponent, selector: "kendo-arcgauge-colors", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: ColorComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
968
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorsComponent, decorators: [{
969
+ type: Component,
970
+ args: [{
971
+ providers: [CollectionChangesService],
972
+ selector: 'kendo-arcgauge-colors',
973
+ template: ''
974
+ }]
975
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
976
+ type: ContentChildren,
977
+ args: [ColorComponent]
978
+ }] } });
979
+
980
+ const DIRECTIVES$3 = [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent,
981
+ ColorsComponent, ColorComponent];
982
+ /**
983
+ * A [module]({{ site.data.urls.angular['ngmodules'] }}) that includes the ArcGauge component and its directives.
984
+ * Imports the `ArcGaugeModule` into your application
985
+ * [root module]({{ site.data.urls.angular['ngmodules'] }}#angular-modularity) or any other sub-module
986
+ * that will use the ArcGauge component.
987
+ *
988
+ * @example
989
+ * ```ts-no-run
990
+ * import { NgModule } from '@angular/core';
991
+ * import { BrowserModule } from '@angular/platform-browser';
992
+ * import { ArcGaugeModule } from '@progress/kendo-angular-gauges';
993
+ * import { AppComponent } from './app.component';
994
+ *
995
+ * _@NgModule({
996
+ * bootstrap: [AppComponent],
997
+ * declarations: [AppComponent],
998
+ * imports: [BrowserModule, ArcGaugeModule]
999
+ * })
1000
+ * export class AppModule {
1001
+ * }
1002
+ * ```
1003
+ */
1004
+ class ArcGaugeModule {
1005
+ }
1006
+ ArcGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1007
+ ArcGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcGaugeModule, declarations: [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent,
1008
+ ColorsComponent, ColorComponent], imports: [SharedModule, CommonModule], exports: [ArcGaugeComponent, ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcScaleComponent, ArcLabelsComponent,
1009
+ ColorsComponent, ColorComponent] });
1010
+ ArcGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcGaugeModule, imports: [[SharedModule, CommonModule]] });
1011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ArcGaugeModule, decorators: [{
1012
+ type: NgModule,
1013
+ args: [{
1014
+ declarations: [DIRECTIVES$3],
1015
+ exports: [DIRECTIVES$3],
1016
+ imports: [SharedModule, CommonModule]
1017
+ }]
1018
+ }] });
1019
+
1020
+ /**
1021
+ * Represents the [Kendo UI LinearGauge component for Angular]({% slug overview_lineargauge_gauges %}).
1022
+ *
1023
+ * @example
1024
+ * ```ts
1025
+ * import { Component } from '@angular/core';
1026
+ *
1027
+ * _@Component({
1028
+ * selector: 'my-app',
1029
+ * template: `
1030
+ * <kendo-lineargauge [pointer]="{ value: value }">
1031
+ * </kendo-lineargauge>
1032
+ * `
1033
+ * })
1034
+ * class AppComponent {
1035
+ * public value: number = 10;
1036
+ * }
1037
+ *
1038
+ * ```
1039
+ */
1040
+ class LinearGaugeComponent extends GaugeComponent {
1041
+ constructor(configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
1042
+ super(configurationService, themeService, intlService, localizationService, element, renderer, ngZone);
1043
+ }
1044
+ createInstance(element, options, theme, context) {
1045
+ this.instance = new LinearGauge(element, options, theme, context);
1046
+ }
1047
+ }
1048
+ LinearGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearGaugeComponent, deps: [{ token: ConfigurationService }, { token: ThemeService }, { token: i2.IntlService }, { token: i3.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1049
+ LinearGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LinearGaugeComponent, selector: "kendo-lineargauge", inputs: { pointer: "pointer", scale: "scale" }, providers: [
1050
+ ConfigurationService,
1051
+ LocalizationService,
1052
+ {
1053
+ provide: L10N_PREFIX,
1054
+ useValue: 'kendo.lineargauge'
1055
+ }
1056
+ ], exportAs: ["kendoLinearGauge"], usesInheritance: true, ngImport: i0, template: `
1057
+ <div #surface class='k-chart-surface'></div>
1058
+ <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
1059
+ `, isInline: true, components: [{ type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearGaugeComponent, decorators: [{
1061
+ type: Component,
1062
+ args: [{
1063
+ changeDetection: ChangeDetectionStrategy.OnPush,
1064
+ exportAs: 'kendoLinearGauge',
1065
+ providers: [
1066
+ ConfigurationService,
1067
+ LocalizationService,
1068
+ {
1069
+ provide: L10N_PREFIX,
1070
+ useValue: 'kendo.lineargauge'
1071
+ }
1072
+ ],
1073
+ selector: 'kendo-lineargauge',
1074
+ template: `
1075
+ <div #surface class='k-chart-surface'></div>
1076
+ <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
1077
+ `
1078
+ }]
1079
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { pointer: [{
1080
+ type: Input
1081
+ }], scale: [{
1082
+ type: Input
1083
+ }] } });
1084
+
1085
+ /**
1086
+ * The configuration options for the LinearGauge area.
1087
+ * Represents the entire visible area of the LinearGauge.
1088
+ */
1089
+ class LinearGaugeAreaComponent extends GaugeAreaComponent {
1090
+ constructor(configurationService) {
1091
+ super('gaugeArea', configurationService);
1092
+ this.configurationService = configurationService;
1093
+ }
1094
+ }
1095
+ LinearGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
1096
+ LinearGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LinearGaugeAreaComponent, selector: "kendo-lineargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
1097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearGaugeAreaComponent, decorators: [{
1098
+ type: Component,
1099
+ args: [{
1100
+ selector: 'kendo-lineargauge-area',
1101
+ template: ''
1102
+ }]
1103
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
1104
+
1105
+ /**
1106
+ * The configuration options for the scale of the LinearGauge
1107
+ * ([see example]({% slug scaleoptions_lineargauge %})).
1108
+ */
1109
+ class LinearScaleComponent extends ScaleComponent {
1110
+ constructor(configurationService) {
1111
+ super('scale', configurationService);
1112
+ this.configurationService = configurationService;
1113
+ }
1114
+ }
1115
+ LinearScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
1116
+ LinearScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LinearScaleComponent, selector: "kendo-lineargauge-scale", inputs: { line: "line", ranges: "ranges", mirror: "mirror", vertical: "vertical" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
1117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearScaleComponent, decorators: [{
1118
+ type: Component,
1119
+ args: [{
1120
+ selector: 'kendo-lineargauge-scale',
1121
+ template: ''
1122
+ }]
1123
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { line: [{
1124
+ type: Input
1125
+ }], ranges: [{
1126
+ type: Input
1127
+ }], mirror: [{
1128
+ type: Input
1129
+ }], vertical: [{
1130
+ type: Input
1131
+ }] } });
1132
+
1133
+ /**
1134
+ * The configuration options for the scale labels of the LinearGauge.
1135
+ */
1136
+ class LinearLabelsComponent extends LabelsComponent {
1137
+ constructor(configurationService) {
1138
+ super('scale.labels', configurationService);
1139
+ this.configurationService = configurationService;
1140
+ }
1141
+ }
1142
+ LinearLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearLabelsComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
1143
+ LinearLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LinearLabelsComponent, selector: "kendo-lineargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
1144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearLabelsComponent, decorators: [{
1145
+ type: Component,
1146
+ args: [{
1147
+ selector: 'kendo-lineargauge-scale-labels',
1148
+ template: ''
1149
+ }]
1150
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
1151
+
1152
+ /**
1153
+ * The configuration options for a pointer item of a LinearGauge.
1154
+ */
1155
+ class LinearPointerComponent extends CollectionItemComponent {
1156
+ constructor(configurationService, collectionChangesService) {
1157
+ super(configurationService, collectionChangesService);
1158
+ }
1159
+ }
1160
+ LinearPointerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearPointerComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
1161
+ LinearPointerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LinearPointerComponent, selector: "kendo-lineargauge-pointer", inputs: { border: "border", color: "color", margin: "margin", opacity: "opacity", shape: "shape", size: "size", value: "value" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
1162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearPointerComponent, decorators: [{
1163
+ type: Component,
1164
+ args: [{
1165
+ providers: [ConfigurationService],
1166
+ selector: 'kendo-lineargauge-pointer',
1167
+ template: ''
1168
+ }]
1169
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { border: [{
1170
+ type: Input
1171
+ }], color: [{
1172
+ type: Input
1173
+ }], margin: [{
1174
+ type: Input
1175
+ }], opacity: [{
1176
+ type: Input
1177
+ }], shape: [{
1178
+ type: Input
1179
+ }], size: [{
1180
+ type: Input
1181
+ }], value: [{
1182
+ type: Input
1183
+ }] } });
1184
+
1185
+ /**
1186
+ * A collection of one or more LinearGauge pointers
1187
+ * ([more information]({% slug multiplepointers_lineargauge %})).
1188
+ *
1189
+ * @example
1190
+ * ```ts
1191
+ * import { Component } from '@angular/core';
1192
+ *
1193
+ * _@Component({
1194
+ * selector: 'my-app',
1195
+ * template: `
1196
+ * <kendo-lineargauge>
1197
+ * <kendo-lineargauge-pointers>
1198
+ * <kendo-lineargauge-pointer *ngFor="let pointer of pointers"
1199
+ * [value]="pointer.value" [color]="pointer.color" shape="barIndicator">
1200
+ * </kendo-lineargauge-pointer>
1201
+ * </kendo-lineargauge-pointers>
1202
+ * </kendo-lineargauge>
1203
+ * `
1204
+ * })
1205
+ * export class AppComponent {
1206
+ * public pointers: any[] = [{
1207
+ * value: 10,
1208
+ * color: '#ff4500'
1209
+ * }, {
1210
+ * value: 12,
1211
+ * color: '#28b4c8'
1212
+ * }, {
1213
+ * value: 20,
1214
+ * color: '#8b0000'
1215
+ * }];
1216
+ * }
1217
+ *
1218
+ * ```
1219
+ */
1220
+ class LinearPointersComponent extends CollectionComponent {
1221
+ constructor(configurationService, collectionChangesService) {
1222
+ super('pointer', configurationService, collectionChangesService);
1223
+ }
1224
+ }
1225
+ LinearPointersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearPointersComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
1226
+ LinearPointersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LinearPointersComponent, selector: "kendo-lineargauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
1227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearPointersComponent, decorators: [{
1228
+ type: Component,
1229
+ args: [{
1230
+ providers: [CollectionChangesService],
1231
+ selector: 'kendo-lineargauge-pointers',
1232
+ template: ''
1233
+ }]
1234
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
1235
+ type: ContentChildren,
1236
+ args: [LinearPointerComponent]
1237
+ }] } });
1238
+
1239
+ /**
1240
+ * The configuration options for a scale range item of a LinearGauge.
1241
+ */
1242
+ class LinearRangeComponent extends RangeComponent {
1243
+ constructor(configurationService, collectionChangesService) {
1244
+ super(configurationService, collectionChangesService);
1245
+ }
1246
+ }
1247
+ LinearRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearRangeComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
1248
+ LinearRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LinearRangeComponent, selector: "kendo-lineargauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
1249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearRangeComponent, decorators: [{
1250
+ type: Component,
1251
+ args: [{
1252
+ providers: [ConfigurationService],
1253
+ selector: 'kendo-lineargauge-scale-range',
1254
+ template: ''
1255
+ }]
1256
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; } });
1257
+
1258
+ /**
1259
+ * A collection of one or more LinearGauge scale ranges
1260
+ * ([more information and example]({% slug scaleranghes_lineargauge %})).
1261
+ *
1262
+ * @example
1263
+ * ```ts
1264
+ * import { Component } from '@angular/core';
1265
+ *
1266
+ * _@Component({
1267
+ * selector: 'my-app',
1268
+ * template: `
1269
+ * <kendo-lineargauge>
1270
+ * <kendo-lineargauge-scale>
1271
+ * <kendo-lineargauge-scale-ranges>
1272
+ * <kendo-lineargauge-scale-range *ngFor="let range of ranges"
1273
+ * [from]="range.from" [to]="range.to" [color]="range.color">
1274
+ * </kendo-lineargauge-scale-range>
1275
+ * </kendo-lineargauge-scale-ranges>
1276
+ * </kendo-lineargauge-scale>
1277
+ * </kendo-lineargauge>
1278
+ * `
1279
+ * })
1280
+ * export class AppComponent {
1281
+ * public ranges: any[] = [{
1282
+ * from: 0,
1283
+ * to: 15,
1284
+ * color: '#ffd246'
1285
+ * }, {
1286
+ * from: 15,
1287
+ * to: 30,
1288
+ * color: '#28b4c8'
1289
+ * }, {
1290
+ * from: 30,
1291
+ * to: 50,
1292
+ * color: '#78d237'
1293
+ * }];
1294
+ * }
1295
+ *
1296
+ * ```
1297
+ */
1298
+ class LinearRangesComponent extends CollectionComponent {
1299
+ constructor(configurationService, collectionChangesService) {
1300
+ super('scale.ranges', configurationService, collectionChangesService);
1301
+ }
1302
+ }
1303
+ LinearRangesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearRangesComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
1304
+ LinearRangesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LinearRangesComponent, selector: "kendo-lineargauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: LinearRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
1305
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearRangesComponent, decorators: [{
1306
+ type: Component,
1307
+ args: [{
1308
+ providers: [CollectionChangesService],
1309
+ selector: 'kendo-lineargauge-scale-ranges',
1310
+ template: ''
1311
+ }]
1312
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
1313
+ type: ContentChildren,
1314
+ args: [LinearRangeComponent]
1315
+ }] } });
1316
+
1317
+ const DIRECTIVES$2 = [LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent,
1318
+ LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent];
1319
+ /**
1320
+ * A [module]({{ site.data.urls.angular['ngmodules'] }}) that includes the LinearGauge component and its directives.
1321
+ * Imports the `LinearGaugeModule` into your application
1322
+ * [root module]({{ site.data.urls.angular['ngmodules'] }}#angular-modularity) or any other sub-module
1323
+ * that will use the LinearGauge component.
1324
+ *
1325
+ * @example
1326
+ * ```ts-no-run
1327
+ * import { NgModule } from '@angular/core';
1328
+ * import { BrowserModule } from '@angular/platform-browser';
1329
+ * import { LinearGaugeModule } from '@progress/kendo-angular-gauges';
1330
+ * import { AppComponent } from './app.component';
1331
+ *
1332
+ * _@NgModule({
1333
+ * bootstrap: [AppComponent],
1334
+ * declarations: [AppComponent],
1335
+ * imports: [BrowserModule, LinearGaugeModule]
1336
+ * })
1337
+ * export class AppModule {
1338
+ * }
1339
+ * ```
1340
+ */
1341
+ class LinearGaugeModule {
1342
+ }
1343
+ LinearGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1344
+ LinearGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearGaugeModule, declarations: [LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent,
1345
+ LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent], imports: [SharedModule], exports: [LinearGaugeComponent, LinearGaugeAreaComponent, LinearScaleComponent, LinearLabelsComponent,
1346
+ LinearPointersComponent, LinearPointerComponent, LinearRangeComponent, LinearRangesComponent] });
1347
+ LinearGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearGaugeModule, imports: [[SharedModule]] });
1348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LinearGaugeModule, decorators: [{
1349
+ type: NgModule,
1350
+ args: [{
1351
+ declarations: [DIRECTIVES$2],
1352
+ exports: [DIRECTIVES$2],
1353
+ imports: [SharedModule]
1354
+ }]
1355
+ }] });
1356
+
1357
+ /**
1358
+ * Represents the [Kendo UI RadialGauge component for Angular]({% slug overview_radialgauge_gauges %}).
1359
+ *
1360
+ * @example
1361
+ * ```ts
1362
+ * import { Component } from '@angular/core';
1363
+ *
1364
+ * _@Component({
1365
+ * selector: 'my-app',
1366
+ * template: `
1367
+ * <kendo-radialgauge [pointer]="{ value: value }">
1368
+ * </kendo-radialgauge>
1369
+ * `
1370
+ * })
1371
+ * class AppComponent {
1372
+ * public value: number = 10;
1373
+ * }
1374
+ *
1375
+ * ```
1376
+ */
1377
+ class RadialGaugeComponent extends GaugeComponent {
1378
+ constructor(configurationService, themeService, intlService, localizationService, element, renderer, ngZone) {
1379
+ super(configurationService, themeService, intlService, localizationService, element, renderer, ngZone);
1380
+ }
1381
+ createInstance(element, options, theme, context) {
1382
+ this.instance = new RadialGauge(element, options, theme, context);
1383
+ }
1384
+ }
1385
+ RadialGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialGaugeComponent, deps: [{ token: ConfigurationService }, { token: ThemeService }, { token: i2.IntlService }, { token: i3.LocalizationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1386
+ RadialGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadialGaugeComponent, selector: "kendo-radialgauge", inputs: { pointer: "pointer", scale: "scale" }, providers: [
1387
+ ConfigurationService,
1388
+ LocalizationService,
1389
+ {
1390
+ provide: L10N_PREFIX,
1391
+ useValue: 'kendo.radialgauge'
1392
+ }
1393
+ ], exportAs: ["kendoRadialGauge"], usesInheritance: true, ngImport: i0, template: `
1394
+ <div #surface class='k-chart-surface'></div>
1395
+ <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
1396
+ `, isInline: true, components: [{ type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialGaugeComponent, decorators: [{
1398
+ type: Component,
1399
+ args: [{
1400
+ changeDetection: ChangeDetectionStrategy.OnPush,
1401
+ exportAs: 'kendoRadialGauge',
1402
+ providers: [
1403
+ ConfigurationService,
1404
+ LocalizationService,
1405
+ {
1406
+ provide: L10N_PREFIX,
1407
+ useValue: 'kendo.radialgauge'
1408
+ }
1409
+ ],
1410
+ selector: 'kendo-radialgauge',
1411
+ template: `
1412
+ <div #surface class='k-chart-surface'></div>
1413
+ <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
1414
+ `
1415
+ }]
1416
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: ThemeService }, { type: i2.IntlService }, { type: i3.LocalizationService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { pointer: [{
1417
+ type: Input
1418
+ }], scale: [{
1419
+ type: Input
1420
+ }] } });
1421
+
1422
+ /**
1423
+ * The configuration options for the RadialGauge area.
1424
+ * Represents the entire visible area of the RadialGauge.
1425
+ */
1426
+ class RadialGaugeAreaComponent extends GaugeAreaComponent {
1427
+ constructor(configurationService) {
1428
+ super('gaugeArea', configurationService);
1429
+ this.configurationService = configurationService;
1430
+ }
1431
+ }
1432
+ RadialGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialGaugeAreaComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
1433
+ RadialGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadialGaugeAreaComponent, selector: "kendo-radialgauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
1434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialGaugeAreaComponent, decorators: [{
1435
+ type: Component,
1436
+ args: [{
1437
+ selector: 'kendo-radialgauge-area',
1438
+ template: ''
1439
+ }]
1440
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; } });
1441
+
1442
+ /**
1443
+ * The configuration options for the scale of the RadialGauge
1444
+ * ([more information and example]({% slug scaleoptions_radialgauge %})).
1445
+ */
1446
+ class RadialScaleComponent extends ScaleComponent {
1447
+ constructor(configurationService) {
1448
+ super('scale', configurationService);
1449
+ this.configurationService = configurationService;
1450
+ }
1451
+ }
1452
+ RadialScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialScaleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
1453
+ RadialScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadialScaleComponent, selector: "kendo-radialgauge-scale", inputs: { labels: "labels", rangeDistance: "rangeDistance", ranges: "ranges", startAngle: "startAngle", endAngle: "endAngle" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
1454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialScaleComponent, decorators: [{
1455
+ type: Component,
1456
+ args: [{
1457
+ selector: 'kendo-radialgauge-scale',
1458
+ template: ''
1459
+ }]
1460
+ }], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { labels: [{
1461
+ type: Input
1462
+ }], rangeDistance: [{
1463
+ type: Input
1464
+ }], ranges: [{
1465
+ type: Input
1466
+ }], startAngle: [{
1467
+ type: Input
1468
+ }], endAngle: [{
1469
+ type: Input
1470
+ }] } });
1471
+
1472
+ /**
1473
+ * The configuration options for a pointer item of a RadialGauge.
1474
+ */
1475
+ class RadialPointerComponent extends CollectionItemComponent {
1476
+ constructor(configurationService, collectionChangesService) {
1477
+ super(configurationService, collectionChangesService);
1478
+ }
1479
+ }
1480
+ RadialPointerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialPointerComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
1481
+ RadialPointerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadialPointerComponent, selector: "kendo-radialgauge-pointer", inputs: { cap: "cap", color: "color", length: "length", value: "value" }, providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
1482
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialPointerComponent, decorators: [{
1483
+ type: Component,
1484
+ args: [{
1485
+ providers: [ConfigurationService],
1486
+ selector: 'kendo-radialgauge-pointer',
1487
+ template: ''
1488
+ }]
1489
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { cap: [{
1490
+ type: Input
1491
+ }], color: [{
1492
+ type: Input
1493
+ }], length: [{
1494
+ type: Input
1495
+ }], value: [{
1496
+ type: Input
1497
+ }] } });
1498
+
1499
+ /**
1500
+ * A collection of one or more RadialGauge pointers
1501
+ * ([more information and example]({% slug multiplepointers_radialgauge %})).
1502
+ *
1503
+ * @example
1504
+ * ```ts
1505
+ * import { Component } from '@angular/core';
1506
+ *
1507
+ * _@Component({
1508
+ * selector: 'my-app',
1509
+ * template: `
1510
+ * <kendo-radialgauge>
1511
+ * <kendo-radialgauge-pointers>
1512
+ * <kendo-radialgauge-pointer *ngFor="let pointer of pointers"
1513
+ * [value]="pointer.value" [color]="pointer.color">
1514
+ * </kendo-radialgauge-pointer>
1515
+ * </kendo-radialgauge-pointers>
1516
+ * </kendo-radialgauge>
1517
+ * `
1518
+ * })
1519
+ * export class AppComponent {
1520
+ * public pointers: any[] = [{
1521
+ * value: 10,
1522
+ * color: '#ffd246'
1523
+ * }, {
1524
+ * value: 20,
1525
+ * color: '#28b4c8'
1526
+ * }, {
1527
+ * value: 30,
1528
+ * color: '#78d237'
1529
+ * }];
1530
+ * }
1531
+ *
1532
+ * ```
1533
+ */
1534
+ class RadialPointersComponent extends CollectionComponent {
1535
+ constructor(configurationService, collectionChangesService) {
1536
+ super('pointer', configurationService, collectionChangesService);
1537
+ }
1538
+ }
1539
+ RadialPointersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialPointersComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
1540
+ RadialPointersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadialPointersComponent, selector: "kendo-radialgauge-pointers", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialPointerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
1541
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialPointersComponent, decorators: [{
1542
+ type: Component,
1543
+ args: [{
1544
+ providers: [CollectionChangesService],
1545
+ selector: 'kendo-radialgauge-pointers',
1546
+ template: ''
1547
+ }]
1548
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
1549
+ type: ContentChildren,
1550
+ args: [RadialPointerComponent]
1551
+ }] } });
1552
+
1553
+ /**
1554
+ * The configuration options for a scale range item of a RadialGauge.
1555
+ */
1556
+ class RadialRangeComponent extends RangeComponent {
1557
+ constructor(configurationService, collectionChangesService) {
1558
+ super(configurationService, collectionChangesService);
1559
+ }
1560
+ }
1561
+ RadialRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialRangeComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
1562
+ RadialRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadialRangeComponent, selector: "kendo-radialgauge-scale-range", providers: [ConfigurationService], usesInheritance: true, ngImport: i0, template: '', isInline: true });
1563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialRangeComponent, decorators: [{
1564
+ type: Component,
1565
+ args: [{
1566
+ providers: [ConfigurationService],
1567
+ selector: 'kendo-radialgauge-scale-range',
1568
+ template: ''
1569
+ }]
1570
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; } });
1571
+
1572
+ /**
1573
+ * A collection of one or more RadialGauge scale ranges
1574
+ * ([more information and example]({% slug scaleranghes_radialgauge %})).
1575
+ *
1576
+ * @example
1577
+ * ```ts
1578
+ * import { Component } from '@angular/core';
1579
+ *
1580
+ * _@Component({
1581
+ * selector: 'my-app',
1582
+ * template: `
1583
+ * <kendo-radialgauge>
1584
+ * <kendo-radialgauge-scale>
1585
+ * <kendo-radialgauge-scale-ranges>
1586
+ * <kendo-radialgauge-scale-range *ngFor="let range of ranges"
1587
+ * [from]="range.from" [to]="range.to" [color]="range.color">
1588
+ * </kendo-radialgauge-scale-range>
1589
+ * </kendo-radialgauge-scale-ranges>
1590
+ * </kendo-radialgauge-scale>
1591
+ * </kendo-radialgauge>
1592
+ * `
1593
+ * })
1594
+ * export class AppComponent {
1595
+ * public ranges: any[] = [{
1596
+ * from: 0,
1597
+ * to: 15,
1598
+ * color: '#ffd246'
1599
+ * }, {
1600
+ * from: 15,
1601
+ * to: 30,
1602
+ * color: '#28b4c8'
1603
+ * }, {
1604
+ * from: 30,
1605
+ * to: 50,
1606
+ * color: '#78d237'
1607
+ * }];
1608
+ * }
1609
+ *
1610
+ * ```
1611
+ */
1612
+ class RadialRangesComponent extends CollectionComponent {
1613
+ constructor(configurationService, collectionChangesService) {
1614
+ super('scale.ranges', configurationService, collectionChangesService);
1615
+ }
1616
+ }
1617
+ RadialRangesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialRangesComponent, deps: [{ token: ConfigurationService }, { token: CollectionChangesService }], target: i0.ɵɵFactoryTarget.Component });
1618
+ RadialRangesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadialRangesComponent, selector: "kendo-radialgauge-scale-ranges", providers: [CollectionChangesService], queries: [{ propertyName: "children", predicate: RadialRangeComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
1619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialRangesComponent, decorators: [{
1620
+ type: Component,
1621
+ args: [{
1622
+ providers: [CollectionChangesService],
1623
+ selector: 'kendo-radialgauge-scale-ranges',
1624
+ template: ''
1625
+ }]
1626
+ }], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionChangesService }]; }, propDecorators: { children: [{
1627
+ type: ContentChildren,
1628
+ args: [RadialRangeComponent]
1629
+ }] } });
1630
+
1631
+ const DIRECTIVES$1 = [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent,
1632
+ RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent];
1633
+ /**
1634
+ * A [module]({{ site.data.urls.angular['ngmodules'] }}) that includes the RadialGauge component and its directives.
1635
+ * Imports the `RadialGaugeModule` into your application
1636
+ * [root module]({{ site.data.urls.angular['ngmodules'] }}#angular-modularity) or any other sub-module
1637
+ * that will use the RadialGauge component.
1638
+ *
1639
+ * @example
1640
+ * ```ts-no-run
1641
+ * import { NgModule } from '@angular/core';
1642
+ * import { BrowserModule } from '@angular/platform-browser';
1643
+ * import { RadialGaugeModule } from '@progress/kendo-angular-gauges';
1644
+ * import { AppComponent } from './app.component';
1645
+ *
1646
+ * _@NgModule({
1647
+ * bootstrap: [AppComponent],
1648
+ * declarations: [AppComponent],
1649
+ * imports: [BrowserModule, RadialGaugeModule]
1650
+ * })
1651
+ * export class AppModule {
1652
+ * }
1653
+ * ```
1654
+ */
1655
+ class RadialGaugeModule {
1656
+ }
1657
+ RadialGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1658
+ RadialGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialGaugeModule, declarations: [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent,
1659
+ RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent], imports: [SharedModule], exports: [RadialGaugeComponent, RadialGaugeAreaComponent, RadialScaleComponent, RadialLabelsComponent,
1660
+ RadialPointersComponent, RadialPointerComponent, RadialRangeComponent, RadialRangesComponent] });
1661
+ RadialGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialGaugeModule, imports: [[SharedModule]] });
1662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadialGaugeModule, decorators: [{
1663
+ type: NgModule,
1664
+ args: [{
1665
+ declarations: [DIRECTIVES$1],
1666
+ exports: [DIRECTIVES$1],
1667
+ imports: [SharedModule]
1668
+ }]
1669
+ }] });
1670
+
1671
+ /**
1672
+ * A directive that selects a [template]({{ site.data.urls.angular['templatesyntax'] }})
1673
+ * within the `<kendo-circulargauge>` component which will be used for the center template
1674
+ * ([more information and example]({% slug centertemplate_circulargauge %})).
1675
+ *
1676
+ * @example
1677
+ * ```ts
1678
+ * import { Component } from '@angular/core';
1679
+ *
1680
+ * _@Component({
1681
+ * selector: 'my-app',
1682
+ * template: `
1683
+ * <kendo-circulargauge [value]="value">
1684
+ * <ng-template kendoCircularGaugeCenterTemplate let-value="value">
1685
+ * {{ value }}%
1686
+ * </ng-template>
1687
+ * </kendo-circulargauge>
1688
+ *
1689
+ * `
1690
+ * })
1691
+ * export class AppComponent {
1692
+ * public value: number = 10;
1693
+ * }
1694
+ *
1695
+ * ```
1696
+ */
1697
+ class CircularGaugeCenterTemplateDirective {
1698
+ constructor(templateRef) {
1699
+ this.templateRef = templateRef;
1700
+ }
1701
+ }
1702
+ CircularGaugeCenterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeCenterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1703
+ CircularGaugeCenterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CircularGaugeCenterTemplateDirective, selector: "[kendoCircularGaugeCenterTemplate]", ngImport: i0 });
1704
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeCenterTemplateDirective, decorators: [{
1705
+ type: Directive,
1706
+ args: [{
1707
+ selector: '[kendoCircularGaugeCenterTemplate]'
1708
+ }]
1709
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
1710
+ type: Optional
1711
+ }] }]; } });
1712
+
1713
+ /**
1714
+ * Represents the [Kendo UI CircularGauge component for Angular]({% slug overview_circulargauge_gauges %}).
1715
+ *
1716
+ * @example
1717
+ * ```ts
1718
+ * import { Component } from '@angular/core';
1719
+ *
1720
+ * _@Component({
1721
+ * selector: 'my-app',
1722
+ * template: `
1723
+ * <kendo-circulargauge [value]="value" [scale]="{ max: 100 }">
1724
+ * <ng-template kendoCircularGaugeCenterTemplate let-value="value">
1725
+ * {{ value }}%
1726
+ * </ng-template>
1727
+ * </kendo-circulargauge>
1728
+ * `
1729
+ * })
1730
+ * class AppComponent {
1731
+ * public value: number = 10;
1732
+ * }
1733
+ *
1734
+ * ```
1735
+ */
1736
+ class CircularGaugeComponent extends ArcGaugeComponent {
1737
+ createInstance(element, options, theme, context) {
1738
+ this.instance = new CircularGauge(element, options, theme, context);
1739
+ this.updateElements();
1740
+ }
1741
+ }
1742
+ CircularGaugeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1743
+ CircularGaugeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CircularGaugeComponent, selector: "kendo-circulargauge", inputs: { scale: "scale" }, providers: [
1744
+ ConfigurationService,
1745
+ LocalizationService,
1746
+ {
1747
+ provide: L10N_PREFIX,
1748
+ useValue: 'kendo.circulargauge'
1749
+ }
1750
+ ], queries: [{ propertyName: "centerTemplate", first: true, predicate: CircularGaugeCenterTemplateDirective, descendants: true }], exportAs: ["kendoCircularGauge"], usesInheritance: true, ngImport: i0, template: `
1751
+ <div #surface class='k-chart-surface'></div>
1752
+ <div class="k-arcgauge-label" *ngIf="centerTemplate" #label>
1753
+ <ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
1754
+ </div>
1755
+ <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
1756
+ `, isInline: true, components: [{ type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1757
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeComponent, decorators: [{
1758
+ type: Component,
1759
+ args: [{
1760
+ changeDetection: ChangeDetectionStrategy.OnPush,
1761
+ exportAs: 'kendoCircularGauge',
1762
+ providers: [
1763
+ ConfigurationService,
1764
+ LocalizationService,
1765
+ {
1766
+ provide: L10N_PREFIX,
1767
+ useValue: 'kendo.circulargauge'
1768
+ }
1769
+ ],
1770
+ selector: 'kendo-circulargauge',
1771
+ template: `
1772
+ <div #surface class='k-chart-surface'></div>
1773
+ <div class="k-arcgauge-label" *ngIf="centerTemplate" #label>
1774
+ <ng-template [ngTemplateOutlet]="centerTemplate.templateRef" [ngTemplateOutletContext]="centerTemplateContext"></ng-template>
1775
+ </div>
1776
+ <kendo-resize-sensor (resize)="onResize($event)" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
1777
+ `
1778
+ }]
1779
+ }], propDecorators: { scale: [{
1780
+ type: Input
1781
+ }], centerTemplate: [{
1782
+ type: ContentChild,
1783
+ args: [CircularGaugeCenterTemplateDirective, { static: false }]
1784
+ }] } });
1785
+
1786
+ /**
1787
+ * The configuration options of the Circular Gauge area.
1788
+ * Represents the entire visible area of the Circular Gauge.
1789
+ */
1790
+ class CircularGaugeAreaComponent extends ArcGaugeAreaComponent {
1791
+ }
1792
+ CircularGaugeAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1793
+ CircularGaugeAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CircularGaugeAreaComponent, selector: "kendo-circulargauge-area", usesInheritance: true, ngImport: i0, template: '', isInline: true });
1794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeAreaComponent, decorators: [{
1795
+ type: Component,
1796
+ args: [{
1797
+ selector: 'kendo-circulargauge-area',
1798
+ template: ''
1799
+ }]
1800
+ }] });
1801
+
1802
+ /**
1803
+ * The configuration options for the scale of the Circular Gauge
1804
+ * ([see example]({% slug scaleoptions_circulargauge %})).
1805
+ */
1806
+ class CircularGaugeScaleComponent extends ArcScaleComponent {
1807
+ }
1808
+ CircularGaugeScaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeScaleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1809
+ CircularGaugeScaleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CircularGaugeScaleComponent, selector: "kendo-circulargauge-scale", usesInheritance: true, ngImport: i0, template: '', isInline: true });
1810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeScaleComponent, decorators: [{
1811
+ type: Component,
1812
+ args: [{
1813
+ selector: 'kendo-circulargauge-scale',
1814
+ template: ''
1815
+ }]
1816
+ }] });
1817
+
1818
+ /**
1819
+ * The configuration options for the scale labels of the Circular Gauge.
1820
+ */
1821
+ class CircularGaugeLabelsComponent extends ArcLabelsComponent {
1822
+ }
1823
+ CircularGaugeLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeLabelsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1824
+ CircularGaugeLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CircularGaugeLabelsComponent, selector: "kendo-circulargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
1825
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeLabelsComponent, decorators: [{
1826
+ type: Component,
1827
+ args: [{
1828
+ selector: 'kendo-circulargauge-scale-labels',
1829
+ template: ''
1830
+ }]
1831
+ }] });
1832
+
1833
+ const DIRECTIVES = [
1834
+ CircularGaugeComponent,
1835
+ CircularGaugeCenterTemplateDirective,
1836
+ CircularGaugeAreaComponent,
1837
+ CircularGaugeScaleComponent,
1838
+ CircularGaugeLabelsComponent
1839
+ ];
1840
+ /**
1841
+ * A [module]({{ site.data.urls.angular['ngmodules'] }}) that includes the CircularGauge component and its directives.
1842
+ * Imports the `CircularGaugeModule` into your application
1843
+ * [root module]({{ site.data.urls.angular['ngmodules'] }}#angular-modularity) or any other sub-module
1844
+ * that will use the CircularGauge component.
1845
+ *
1846
+ * @example
1847
+ * ```ts-no-run
1848
+ * import { NgModule } from '@angular/core';
1849
+ * import { BrowserModule } from '@angular/platform-browser';
1850
+ * import { CircularGaugeModule } from '@progress/kendo-angular-gauges';
1851
+ * import { AppComponent } from './app.component';
1852
+ *
1853
+ * _@NgModule({
1854
+ * bootstrap: [AppComponent],
1855
+ * declarations: [AppComponent],
1856
+ * imports: [BrowserModule, CircularGaugeModule]
1857
+ * })
1858
+ * export class AppModule {
1859
+ * }
1860
+ * ```
1861
+ */
1862
+ class CircularGaugeModule {
1863
+ }
1864
+ CircularGaugeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1865
+ CircularGaugeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeModule, declarations: [CircularGaugeComponent,
1866
+ CircularGaugeCenterTemplateDirective,
1867
+ CircularGaugeAreaComponent,
1868
+ CircularGaugeScaleComponent,
1869
+ CircularGaugeLabelsComponent], imports: [SharedModule, CommonModule], exports: [CircularGaugeComponent,
1870
+ CircularGaugeCenterTemplateDirective,
1871
+ CircularGaugeAreaComponent,
1872
+ CircularGaugeScaleComponent,
1873
+ CircularGaugeLabelsComponent] });
1874
+ CircularGaugeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeModule, imports: [[SharedModule, CommonModule]] });
1875
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CircularGaugeModule, decorators: [{
1876
+ type: NgModule,
1877
+ args: [{
1878
+ declarations: [DIRECTIVES],
1879
+ exports: [DIRECTIVES],
1880
+ imports: [SharedModule, CommonModule]
1881
+ }]
1882
+ }] });
1883
+
1884
+ /**
1885
+ * A [module]({{ site.data.urls.angular['ngmodules'] }}) that includes all Gauge components and directives.
1886
+ *
1887
+ * Imports the `GaugesModule` into your application
1888
+ * [root module]({{ site.data.urls.angular['ngmodules'] }}#angular-modularity) or any other sub-module
1889
+ * that will use the Gauge components.
1890
+ *
1891
+ * @example
1892
+ * ```ts-no-run
1893
+ * import { NgModule } from '@angular/core';
1894
+ * import { BrowserModule } from '@angular/platform-browser';
1895
+ * import { GaugesModule } from '@progress/kendo-angular-charts';
1896
+ * import { AppComponent } from './app.component';
1897
+ *
1898
+ * _@NgModule({
1899
+ * bootstrap: [AppComponent],
1900
+ * declarations: [AppComponent],
1901
+ * imports: [BrowserModule, GaugesModule]
1902
+ * })
1903
+ * export class AppModule {
1904
+ * }
1905
+ * ```
1906
+ */
1907
+ class GaugesModule {
1908
+ }
1909
+ GaugesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GaugesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1910
+ GaugesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GaugesModule, exports: [ArcGaugeModule, CircularGaugeModule, LinearGaugeModule, RadialGaugeModule] });
1911
+ GaugesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GaugesModule, imports: [ArcGaugeModule, CircularGaugeModule, LinearGaugeModule, RadialGaugeModule] });
1912
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GaugesModule, decorators: [{
1913
+ type: NgModule,
1914
+ args: [{
1915
+ exports: [ArcGaugeModule, CircularGaugeModule, LinearGaugeModule, RadialGaugeModule]
1916
+ }]
1917
+ }] });
1918
+
1919
+ /**
1920
+ * Generated bundle index. Do not edit.
1921
+ */
1922
+
1923
+ export { ArcCenterTemplateDirective, ArcGaugeAreaComponent, ArcGaugeComponent, ArcGaugeModule, ArcLabelsComponent, ArcScaleComponent, CircularGaugeAreaComponent, CircularGaugeCenterTemplateDirective, CircularGaugeComponent, CircularGaugeLabelsComponent, CircularGaugeModule, CircularGaugeScaleComponent, CollectionChangesService, CollectionComponent, CollectionItemComponent, ColorComponent, ColorsComponent, ConfigurationService, GaugeAreaComponent, GaugeComponent, GaugesModule, LabelsComponent, LinearGaugeAreaComponent, LinearGaugeComponent, LinearGaugeModule, LinearLabelsComponent, LinearPointerComponent, LinearPointersComponent, LinearRangeComponent, LinearRangesComponent, LinearScaleComponent, RadialGaugeAreaComponent, RadialGaugeComponent, RadialGaugeModule, RadialLabelsComponent, RadialPointerComponent, RadialPointersComponent, RadialRangeComponent, RadialRangesComponent, RadialScaleComponent, RangeComponent, ScaleComponent, SettingsComponent, ThemeService };
1924
+