@sme.up/ketchup 6.6.0 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-a531feb2.js → f-button-229c63fd.js} +2 -2
  3. package/dist/cjs/{f-cell-75cb7933.js → f-cell-dd006395.js} +22 -22
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-9508a2e4.js → f-chip-f2c369fd.js} +3 -3
  6. package/dist/cjs/{f-image-c21cc616.js → f-image-847a6ddf.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-cedc4b3e.js} +3 -3
  8. package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-fe85187d.js} +2 -2
  9. package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +7 -30
  12. package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3925 -4288
  13. package/dist/cjs/kup-box.cjs.entry.js +33 -113
  14. package/dist/cjs/kup-calendar.cjs.entry.js +10 -34
  15. package/dist/cjs/kup-cell.cjs.entry.js +10 -29
  16. package/dist/cjs/kup-dash-list.cjs.entry.js +10 -9
  17. package/dist/cjs/kup-dash_2.cjs.entry.js +7 -35
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +10 -32
  19. package/dist/cjs/kup-drawer.cjs.entry.js +4 -19
  20. package/dist/cjs/kup-echart.cjs.entry.js +16 -77
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +12 -48
  22. package/dist/cjs/kup-iframe.cjs.entry.js +5 -17
  23. package/dist/cjs/kup-image-list.cjs.entry.js +16 -34
  24. package/dist/cjs/kup-lazy.cjs.entry.js +10 -37
  25. package/dist/cjs/kup-magic-box.cjs.entry.js +6 -25
  26. package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-c53468cd.js} +82 -7
  27. package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -16
  28. package/dist/cjs/kup-numeric-picker.cjs.entry.js +14 -57
  29. package/dist/cjs/kup-photo-frame.cjs.entry.js +9 -31
  30. package/dist/cjs/kup-probe.cjs.entry.js +13 -33
  31. package/dist/cjs/kup-qlik.cjs.entry.js +6 -60
  32. package/dist/cjs/kup-snackbar.cjs.entry.js +7 -38
  33. package/dist/cjs/loader.cjs.js +3 -3
  34. package/dist/collection/assets/box.js +9 -6
  35. package/dist/collection/collection-manifest.json +3 -3
  36. package/dist/collection/components/kup-accordion/kup-accordion.js +243 -261
  37. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +560 -594
  38. package/dist/collection/components/kup-badge/kup-badge.js +179 -189
  39. package/dist/collection/components/kup-box/kup-box.js +911 -1010
  40. package/dist/collection/components/kup-button/kup-button.js +382 -428
  41. package/dist/collection/components/kup-button-list/kup-button-list.js +254 -278
  42. package/dist/collection/components/kup-calendar/kup-calendar.js +306 -329
  43. package/dist/collection/components/kup-card/box/kup-card-box.js +10 -24
  44. package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -2
  45. package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
  46. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
  47. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  48. package/dist/collection/components/kup-card/built-in/kup-card-form.js +11 -0
  49. package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
  50. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  51. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  52. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  53. package/dist/collection/components/kup-card/kup-card.css +118 -12
  54. package/dist/collection/components/kup-card/kup-card.js +394 -385
  55. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  56. package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
  57. package/dist/collection/components/kup-cell/kup-cell.js +224 -238
  58. package/dist/collection/components/kup-chart/kup-chart.js +562 -586
  59. package/dist/collection/components/kup-checkbox/kup-checkbox.js +278 -304
  60. package/dist/collection/components/kup-chip/kup-chip.js +243 -250
  61. package/dist/collection/components/kup-color-picker/kup-color-picker.js +278 -299
  62. package/dist/collection/components/kup-combobox/kup-combobox.js +467 -482
  63. package/dist/collection/components/kup-dash/kup-dash.js +112 -172
  64. package/dist/collection/components/kup-dash-list/kup-dash-list.js +218 -220
  65. package/dist/collection/components/kup-dashboard/kup-dashboard.js +200 -229
  66. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
  67. package/dist/collection/components/kup-data-table/kup-data-table.css +9 -0
  68. package/dist/collection/components/kup-data-table/kup-data-table.js +4700 -4452
  69. package/dist/collection/components/kup-date-picker/kup-date-picker.js +415 -429
  70. package/dist/collection/components/kup-drawer/kup-drawer.js +246 -253
  71. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +486 -527
  72. package/dist/collection/components/kup-echart/kup-echart.js +450 -498
  73. package/dist/collection/components/kup-family-tree/kup-family-tree.js +416 -465
  74. package/dist/collection/components/kup-form/kup-form.js +226 -248
  75. package/dist/collection/components/kup-gauge/kup-gauge.js +460 -521
  76. package/dist/collection/components/kup-grid/kup-grid.js +159 -172
  77. package/dist/collection/components/kup-iframe/kup-iframe.js +184 -188
  78. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  79. package/dist/collection/components/kup-image/kup-image.js +305 -340
  80. package/dist/collection/components/kup-image-list/kup-image-list.js +300 -311
  81. package/dist/collection/components/kup-lazy/kup-lazy.js +261 -288
  82. package/dist/collection/components/kup-list/kup-list.js +546 -572
  83. package/dist/collection/components/kup-magic-box/kup-magic-box.js +148 -167
  84. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +192 -198
  85. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +501 -532
  86. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +261 -271
  87. package/dist/collection/components/kup-probe/kup-probe.js +98 -114
  88. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +240 -276
  89. package/dist/collection/components/kup-qlik/kup-qlik.js +182 -228
  90. package/dist/collection/components/kup-radio/kup-radio.js +261 -289
  91. package/dist/collection/components/kup-rating/kup-rating.js +212 -224
  92. package/dist/collection/components/kup-snackbar/kup-snackbar.js +252 -280
  93. package/dist/collection/components/kup-spinner/kup-spinner.js +277 -308
  94. package/dist/collection/components/kup-switch/kup-switch.js +258 -280
  95. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +268 -247
  96. package/dist/collection/components/kup-text-field/kup-text-field.js +816 -920
  97. package/dist/collection/components/kup-time-picker/kup-time-picker.js +472 -493
  98. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  99. package/dist/collection/components/kup-tree/kup-tree.js +1107 -1205
  100. package/dist/collection/f-components/f-button/f-button.js +11 -20
  101. package/dist/collection/f-components/f-cell/f-cell.js +20 -22
  102. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  103. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  104. package/dist/collection/f-components/f-image/f-image.js +1 -3
  105. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  106. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  107. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  108. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  109. package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
  110. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  111. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  112. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  113. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  114. package/dist/esm/{f-button-15719ec1.js → f-button-d1aba968.js} +2 -2
  115. package/dist/esm/{f-cell-692c37bf.js → f-cell-646406bb.js} +22 -22
  116. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  117. package/dist/esm/{f-chip-abab04bf.js → f-chip-d94e9e81.js} +3 -3
  118. package/dist/esm/{f-image-98783644.js → f-image-57c88302.js} +2 -2
  119. package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-2c865e9a.js} +3 -3
  120. package/dist/esm/{f-text-field-282025dd.js → f-text-field-b0a1fea6.js} +2 -2
  121. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  122. package/dist/esm/ketchup.js +3 -3
  123. package/dist/esm/kup-accordion.entry.js +7 -30
  124. package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3925 -4289
  125. package/dist/esm/kup-box.entry.js +33 -113
  126. package/dist/esm/kup-calendar.entry.js +10 -34
  127. package/dist/esm/kup-cell.entry.js +10 -29
  128. package/dist/esm/kup-dash-list.entry.js +10 -9
  129. package/dist/esm/kup-dash_2.entry.js +7 -35
  130. package/dist/esm/kup-dashboard.entry.js +10 -32
  131. package/dist/esm/kup-drawer.entry.js +4 -19
  132. package/dist/esm/kup-echart.entry.js +16 -77
  133. package/dist/esm/kup-family-tree.entry.js +12 -48
  134. package/dist/esm/kup-iframe.entry.js +5 -17
  135. package/dist/esm/kup-image-list.entry.js +16 -34
  136. package/dist/esm/kup-lazy.entry.js +10 -37
  137. package/dist/esm/kup-magic-box.entry.js +6 -25
  138. package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c0fbb180.js} +83 -8
  139. package/dist/esm/kup-nav-bar.entry.js +4 -16
  140. package/dist/esm/kup-numeric-picker.entry.js +14 -57
  141. package/dist/esm/kup-photo-frame.entry.js +9 -31
  142. package/dist/esm/kup-probe.entry.js +13 -33
  143. package/dist/esm/kup-qlik.entry.js +6 -60
  144. package/dist/esm/kup-snackbar.entry.js +7 -38
  145. package/dist/esm/loader.js +3 -3
  146. package/dist/esm/polyfills/css-shim.js +1 -1
  147. package/dist/ketchup/ketchup.esm.js +1 -1
  148. package/dist/ketchup/{p-eeadd688.entry.js → p-1914969e.entry.js} +1 -1
  149. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  150. package/dist/ketchup/{p-a4a30e0e.entry.js → p-250118e3.entry.js} +1 -1
  151. package/dist/ketchup/{p-ccef2553.entry.js → p-30766296.entry.js} +1 -1
  152. package/dist/ketchup/{p-5933aa02.entry.js → p-351cecba.entry.js} +1 -1
  153. package/dist/ketchup/p-35e16ea2.entry.js +1 -0
  154. package/dist/ketchup/{p-e6ebdb80.js → p-395675b8.js} +1 -1
  155. package/dist/ketchup/p-3cf97e3a.js +1 -0
  156. package/dist/ketchup/p-4fdb684f.js +2 -0
  157. package/dist/ketchup/{p-9419919c.entry.js → p-596bdc10.entry.js} +1 -1
  158. package/dist/ketchup/{p-6f3040fb.js → p-61ff1761.js} +1 -1
  159. package/dist/ketchup/p-72d4fa26.entry.js +1 -0
  160. package/dist/ketchup/{p-fd930a34.entry.js → p-738685f9.entry.js} +1 -1
  161. package/dist/ketchup/{p-f6409c42.entry.js → p-7c8c5444.entry.js} +1 -1
  162. package/dist/ketchup/p-86154e2b.js +1 -0
  163. package/dist/ketchup/{p-7e16265d.entry.js → p-9214ef33.entry.js} +1 -1
  164. package/dist/ketchup/{p-62f3ec78.entry.js → p-980ed953.entry.js} +1 -1
  165. package/dist/ketchup/p-991bd70d.entry.js +1 -0
  166. package/dist/ketchup/{p-7d37ea62.entry.js → p-a1fe329f.entry.js} +1 -1
  167. package/dist/ketchup/p-a740352c.js +30 -0
  168. package/dist/ketchup/{p-62421bcf.js → p-a992cf87.js} +1 -1
  169. package/dist/ketchup/{p-3760a159.entry.js → p-b1da1ba7.entry.js} +2 -2
  170. package/dist/ketchup/{p-5ea2a1ff.entry.js → p-cee3635a.entry.js} +1 -1
  171. package/dist/ketchup/p-d05ed931.entry.js +9 -0
  172. package/dist/ketchup/{p-a450d60a.entry.js → p-d422151a.entry.js} +2 -2
  173. package/dist/ketchup/p-e6f19333.entry.js +1 -0
  174. package/dist/ketchup/{p-1ef5d16d.entry.js → p-eb10958a.entry.js} +1 -1
  175. package/dist/ketchup/{p-20221a50.js → p-ecac6269.js} +1 -1
  176. package/dist/ketchup/p-f43b445e.entry.js +1 -0
  177. package/dist/ketchup/{p-725c6268.entry.js → p-fa37e92e.entry.js} +1 -1
  178. package/dist/loader/package.json +1 -0
  179. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  180. package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -2
  181. package/dist/types/components/kup-card/built-in/kup-card-form.d.ts +3 -0
  182. package/dist/types/components/kup-card/kup-card-declarations.d.ts +11 -1
  183. package/dist/types/components/kup-card/kup-card.d.ts +5 -0
  184. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  185. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +9 -0
  186. package/dist/types/components/kup-data-table/kup-data-table.d.ts +54 -201
  187. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  188. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  189. package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
  190. package/dist/types/components.d.ts +78 -2
  191. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
  192. package/dist/types/managers/kup-language/kup-language-declarations.d.ts +7 -1
  193. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  194. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  195. package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +1 -0
  196. package/dist/types/stencil-public-runtime.d.ts +20 -4
  197. package/package.json +2 -2
  198. package/CHANGELOG.md +0 -5
  199. package/dist/cjs/kup-form.cjs.entry.js +0 -486
  200. package/dist/esm/kup-form.entry.js +0 -482
  201. package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
  202. package/dist/ketchup/p-27538d6f.entry.js +0 -1
  203. package/dist/ketchup/p-29d72040.entry.js +0 -1
  204. package/dist/ketchup/p-3e74e1ed.js +0 -1
  205. package/dist/ketchup/p-680a8cb4.entry.js +0 -9
  206. package/dist/ketchup/p-6946b614.entry.js +0 -1
  207. package/dist/ketchup/p-b0b3989b.js +0 -2
  208. package/dist/ketchup/p-c05f2638.js +0 -30
  209. package/dist/ketchup/p-d7a92197.entry.js +0 -1
  210. package/dist/ketchup/p-d8af7ba6.entry.js +0 -1
  211. package/dist/ketchup/p-e07a10fb.js +0 -1
@@ -1,16 +1,21 @@
1
1
  var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
3
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
2
+ if (kind === "a" && !f)
3
+ throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
5
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
6
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
7
  };
6
8
  var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
7
- if (kind === "m") throw new TypeError("Private method is not writable");
8
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
9
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
9
+ if (kind === "m")
10
+ throw new TypeError("Private method is not writable");
11
+ if (kind === "a" && !f)
12
+ throw new TypeError("Private accessor was defined without a setter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
10
15
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
11
16
  };
12
17
  var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_computedColors, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_setOptions, _KupEchart_fetchcomputedColors, _KupEchart_checks;
13
- import { Component, Element, Event, forceUpdate, getAssetPath, Host, h, Method, Prop, } from '@stencil/core';
18
+ import { forceUpdate, getAssetPath, Host, h, } from '@stencil/core';
14
19
  import * as echarts from 'echarts';
15
20
  import { KupEchartLegendPlacement, KupEchartMaps, KupEchartProps, KupEchartTypes, } from './kup-echart-declarations';
16
21
  import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
@@ -24,81 +29,6 @@ export class KupEchart {
24
29
  constructor() {
25
30
  _KupEchart_instances.add(this);
26
31
  /*-------------------------------------------------*/
27
- /* P r o p s */
28
- /*-------------------------------------------------*/
29
- /**
30
- * Sets the axis of the chart.
31
- * @default ""
32
- */
33
- this.axis = '';
34
- /**
35
- * Overrides theme's colors.
36
- * @default []
37
- */
38
- this.colors = [];
39
- /**
40
- * When true, performs checks in order to properly initialize props which could be missing (i.e.: axis).
41
- * For performances purposes, this prop will run only once when the component is initially created.
42
- * @default false
43
- */
44
- this.consistencyCheck = false;
45
- /**
46
- * Title of the graph.
47
- * @default null
48
- */
49
- this.chartTitle = null;
50
- /**
51
- * Custom style of the component.
52
- * @default ""
53
- * @see https://ketchup.smeup.com/ketchup-showcase/#/customization
54
- */
55
- this.customStyle = '';
56
- /**
57
- * The actual data of the chart.
58
- * @default null
59
- */
60
- this.data = null;
61
- /**
62
- * Sets the position of the legend. Supported values: bottom, left, right, top, hidden. Keep in mind that legend types are tied to chart types, some combinations might not work.
63
- * @default KupEchartLegendPlacement.RIGHT
64
- */
65
- this.legend = KupEchartLegendPlacement.RIGHT;
66
- /**
67
- * Choose which map you want to view, supported values: "europe", "africa", "asia", "oceania", "america", "italy" and "world". It's possible to supply a custom JSON too.
68
- * @default null
69
- */
70
- this.map = null;
71
- /**
72
- * The data series to be displayed. They must be of the same type.
73
- * @default []
74
- */
75
- this.series = [];
76
- /**
77
- * The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).
78
- * @default "100%"
79
- */
80
- this.sizeX = '100%';
81
- /**
82
- * The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.).
83
- * @default "100%"
84
- */
85
- this.sizeY = '100%';
86
- /**
87
- * The type of the chart. Supported formats: Bar, Gaussian, Line, Pie, Map and Scatter.
88
- * @default [KupEchartTypes.LINE]
89
- */
90
- this.types = [KupEchartTypes.LINE];
91
- /**
92
- * Customization options for the x Axis.
93
- * @default null
94
- */
95
- this.xAxis = null;
96
- /**
97
- * Customization options for the y Axis.
98
- * @default null
99
- */
100
- this.yAxis = null;
101
- /*-------------------------------------------------*/
102
32
  /* I n t e r n a l V a r i a b l e s */
103
33
  /*-------------------------------------------------*/
104
34
  _KupEchart_chartContainer.set(this, void 0);
@@ -115,6 +45,20 @@ export class KupEchart {
115
45
  _KupEchart_maxColorHeatMap.set(this, null);
116
46
  _KupEchart_themeFont.set(this, null);
117
47
  _KupEchart_themeText.set(this, null);
48
+ this.axis = '';
49
+ this.colors = [];
50
+ this.consistencyCheck = false;
51
+ this.chartTitle = null;
52
+ this.customStyle = '';
53
+ this.data = null;
54
+ this.legend = KupEchartLegendPlacement.RIGHT;
55
+ this.map = null;
56
+ this.series = [];
57
+ this.sizeX = '100%';
58
+ this.sizeY = '100%';
59
+ this.types = [KupEchartTypes.LINE];
60
+ this.xAxis = null;
61
+ this.yAxis = null;
118
62
  }
119
63
  /*-------------------------------------------------*/
120
64
  /* P u b l i c M e t h o d s */
@@ -191,9 +135,7 @@ export class KupEchart {
191
135
  '--kup_echart_height': this.sizeY ? this.sizeY : '100%',
192
136
  '--kup_echart_width': this.sizeX ? this.sizeX : '100%',
193
137
  };
194
- return (h(Host, { style: style },
195
- h("style", null, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)),
196
- h("div", { id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
138
+ return (h(Host, { style: style }, h("style", null, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
197
139
  }
198
140
  disconnectedCallback() {
199
141
  __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.unregister(this);
@@ -201,453 +143,463 @@ export class KupEchart {
201
143
  }
202
144
  static get is() { return "kup-echart"; }
203
145
  static get encapsulation() { return "shadow"; }
204
- static get originalStyleUrls() { return {
205
- "$": ["kup-echart.scss"]
206
- }; }
207
- static get styleUrls() { return {
208
- "$": ["kup-echart.css"]
209
- }; }
146
+ static get originalStyleUrls() {
147
+ return {
148
+ "$": ["kup-echart.scss"]
149
+ };
150
+ }
151
+ static get styleUrls() {
152
+ return {
153
+ "$": ["kup-echart.css"]
154
+ };
155
+ }
210
156
  static get assetsDirs() { return ["assets/maps"]; }
211
- static get properties() { return {
212
- "axis": {
213
- "type": "string",
214
- "mutable": true,
215
- "complexType": {
216
- "original": "string",
217
- "resolved": "string",
218
- "references": {}
219
- },
220
- "required": false,
221
- "optional": false,
222
- "docs": {
223
- "tags": [{
224
- "name": "default",
225
- "text": "\"\""
226
- }],
227
- "text": "Sets the axis of the chart."
228
- },
229
- "attribute": "axis",
230
- "reflect": false,
231
- "defaultValue": "''"
232
- },
233
- "colors": {
234
- "type": "unknown",
235
- "mutable": false,
236
- "complexType": {
237
- "original": "string[]",
238
- "resolved": "string[]",
239
- "references": {}
240
- },
241
- "required": false,
242
- "optional": false,
243
- "docs": {
244
- "tags": [{
245
- "name": "default",
246
- "text": "[]"
247
- }],
248
- "text": "Overrides theme's colors."
157
+ static get properties() {
158
+ return {
159
+ "axis": {
160
+ "type": "string",
161
+ "mutable": true,
162
+ "complexType": {
163
+ "original": "string",
164
+ "resolved": "string",
165
+ "references": {}
166
+ },
167
+ "required": false,
168
+ "optional": false,
169
+ "docs": {
170
+ "tags": [{
171
+ "name": "default",
172
+ "text": "\"\""
173
+ }],
174
+ "text": "Sets the axis of the chart."
175
+ },
176
+ "attribute": "axis",
177
+ "reflect": false,
178
+ "defaultValue": "''"
249
179
  },
250
- "defaultValue": "[]"
251
- },
252
- "consistencyCheck": {
253
- "type": "boolean",
254
- "mutable": false,
255
- "complexType": {
256
- "original": "boolean",
257
- "resolved": "boolean",
258
- "references": {}
180
+ "colors": {
181
+ "type": "unknown",
182
+ "mutable": false,
183
+ "complexType": {
184
+ "original": "string[]",
185
+ "resolved": "string[]",
186
+ "references": {}
187
+ },
188
+ "required": false,
189
+ "optional": false,
190
+ "docs": {
191
+ "tags": [{
192
+ "name": "default",
193
+ "text": "[]"
194
+ }],
195
+ "text": "Overrides theme's colors."
196
+ },
197
+ "defaultValue": "[]"
259
198
  },
260
- "required": false,
261
- "optional": false,
262
- "docs": {
263
- "tags": [{
264
- "name": "default",
265
- "text": "false"
266
- }],
267
- "text": "When true, performs checks in order to properly initialize props which could be missing (i.e.: axis).\r\nFor performances purposes, this prop will run only once when the component is initially created."
199
+ "consistencyCheck": {
200
+ "type": "boolean",
201
+ "mutable": false,
202
+ "complexType": {
203
+ "original": "boolean",
204
+ "resolved": "boolean",
205
+ "references": {}
206
+ },
207
+ "required": false,
208
+ "optional": false,
209
+ "docs": {
210
+ "tags": [{
211
+ "name": "default",
212
+ "text": "false"
213
+ }],
214
+ "text": "When true, performs checks in order to properly initialize props which could be missing (i.e.: axis).\r\nFor performances purposes, this prop will run only once when the component is initially created."
215
+ },
216
+ "attribute": "consistency-check",
217
+ "reflect": false,
218
+ "defaultValue": "false"
268
219
  },
269
- "attribute": "consistency-check",
270
- "reflect": false,
271
- "defaultValue": "false"
272
- },
273
- "chartTitle": {
274
- "type": "unknown",
275
- "mutable": false,
276
- "complexType": {
277
- "original": "KupEchartTitle",
278
- "resolved": "KupEchartTitle",
279
- "references": {
280
- "KupEchartTitle": {
281
- "location": "import",
282
- "path": "./kup-echart-declarations"
220
+ "chartTitle": {
221
+ "type": "unknown",
222
+ "mutable": false,
223
+ "complexType": {
224
+ "original": "KupEchartTitle",
225
+ "resolved": "KupEchartTitle",
226
+ "references": {
227
+ "KupEchartTitle": {
228
+ "location": "import",
229
+ "path": "./kup-echart-declarations"
230
+ }
283
231
  }
284
- }
285
- },
286
- "required": false,
287
- "optional": false,
288
- "docs": {
289
- "tags": [{
290
- "name": "default",
291
- "text": "null"
292
- }],
293
- "text": "Title of the graph."
294
- },
295
- "defaultValue": "null"
296
- },
297
- "customStyle": {
298
- "type": "string",
299
- "mutable": false,
300
- "complexType": {
301
- "original": "string",
302
- "resolved": "string",
303
- "references": {}
232
+ },
233
+ "required": false,
234
+ "optional": false,
235
+ "docs": {
236
+ "tags": [{
237
+ "name": "default",
238
+ "text": "null"
239
+ }],
240
+ "text": "Title of the graph."
241
+ },
242
+ "defaultValue": "null"
304
243
  },
305
- "required": false,
306
- "optional": false,
307
- "docs": {
308
- "tags": [{
309
- "name": "default",
310
- "text": "\"\""
311
- }, {
312
- "name": "see",
313
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
314
- }],
315
- "text": "Custom style of the component."
244
+ "customStyle": {
245
+ "type": "string",
246
+ "mutable": false,
247
+ "complexType": {
248
+ "original": "string",
249
+ "resolved": "string",
250
+ "references": {}
251
+ },
252
+ "required": false,
253
+ "optional": false,
254
+ "docs": {
255
+ "tags": [{
256
+ "name": "default",
257
+ "text": "\"\""
258
+ }, {
259
+ "name": "see",
260
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
261
+ }],
262
+ "text": "Custom style of the component."
263
+ },
264
+ "attribute": "custom-style",
265
+ "reflect": false,
266
+ "defaultValue": "''"
316
267
  },
317
- "attribute": "custom-style",
318
- "reflect": false,
319
- "defaultValue": "''"
320
- },
321
- "data": {
322
- "type": "unknown",
323
- "mutable": false,
324
- "complexType": {
325
- "original": "KupDataDataset",
326
- "resolved": "KupDataDataset",
327
- "references": {
328
- "KupDataDataset": {
329
- "location": "import",
330
- "path": "../../managers/kup-data/kup-data-declarations"
268
+ "data": {
269
+ "type": "unknown",
270
+ "mutable": false,
271
+ "complexType": {
272
+ "original": "KupDataDataset",
273
+ "resolved": "KupDataDataset",
274
+ "references": {
275
+ "KupDataDataset": {
276
+ "location": "import",
277
+ "path": "../../managers/kup-data/kup-data-declarations"
278
+ }
331
279
  }
332
- }
333
- },
334
- "required": false,
335
- "optional": false,
336
- "docs": {
337
- "tags": [{
338
- "name": "default",
339
- "text": "null"
340
- }],
341
- "text": "The actual data of the chart."
280
+ },
281
+ "required": false,
282
+ "optional": false,
283
+ "docs": {
284
+ "tags": [{
285
+ "name": "default",
286
+ "text": "null"
287
+ }],
288
+ "text": "The actual data of the chart."
289
+ },
290
+ "defaultValue": "null"
342
291
  },
343
- "defaultValue": "null"
344
- },
345
- "legend": {
346
- "type": "string",
347
- "mutable": false,
348
- "complexType": {
349
- "original": "KupEchartLegendPlacement",
350
- "resolved": "KupEchartLegendPlacement.BOTTOM | KupEchartLegendPlacement.HIDDEN | KupEchartLegendPlacement.LEFT | KupEchartLegendPlacement.RIGHT | KupEchartLegendPlacement.TOP",
351
- "references": {
352
- "KupEchartLegendPlacement": {
353
- "location": "import",
354
- "path": "./kup-echart-declarations"
292
+ "legend": {
293
+ "type": "string",
294
+ "mutable": false,
295
+ "complexType": {
296
+ "original": "KupEchartLegendPlacement",
297
+ "resolved": "KupEchartLegendPlacement.BOTTOM | KupEchartLegendPlacement.HIDDEN | KupEchartLegendPlacement.LEFT | KupEchartLegendPlacement.RIGHT | KupEchartLegendPlacement.TOP",
298
+ "references": {
299
+ "KupEchartLegendPlacement": {
300
+ "location": "import",
301
+ "path": "./kup-echart-declarations"
302
+ }
355
303
  }
356
- }
357
- },
358
- "required": false,
359
- "optional": false,
360
- "docs": {
361
- "tags": [{
362
- "name": "default",
363
- "text": "KupEchartLegendPlacement.RIGHT"
364
- }],
365
- "text": "Sets the position of the legend. Supported values: bottom, left, right, top, hidden. Keep in mind that legend types are tied to chart types, some combinations might not work."
304
+ },
305
+ "required": false,
306
+ "optional": false,
307
+ "docs": {
308
+ "tags": [{
309
+ "name": "default",
310
+ "text": "KupEchartLegendPlacement.RIGHT"
311
+ }],
312
+ "text": "Sets the position of the legend. Supported values: bottom, left, right, top, hidden. Keep in mind that legend types are tied to chart types, some combinations might not work."
313
+ },
314
+ "attribute": "legend",
315
+ "reflect": false,
316
+ "defaultValue": "KupEchartLegendPlacement.RIGHT"
366
317
  },
367
- "attribute": "legend",
368
- "reflect": false,
369
- "defaultValue": "KupEchartLegendPlacement.RIGHT"
370
- },
371
- "map": {
372
- "type": "string",
373
- "mutable": false,
374
- "complexType": {
375
- "original": "KupEchartMaps | string | GeoJSON",
376
- "resolved": "Feature<Geometry, { [name: string]: any; }> | FeatureCollection<Geometry, { [name: string]: any; }> | GeometryCollection | LineString | MultiLineString | MultiPoint | MultiPolygon | Point | Polygon | string",
377
- "references": {
378
- "KupEchartMaps": {
379
- "location": "import",
380
- "path": "./kup-echart-declarations"
381
- },
382
- "GeoJSON": {
383
- "location": "import",
384
- "path": "geojson"
318
+ "map": {
319
+ "type": "string",
320
+ "mutable": false,
321
+ "complexType": {
322
+ "original": "KupEchartMaps | string | GeoJSON",
323
+ "resolved": "Feature<Geometry, { [name: string]: any; }> | FeatureCollection<Geometry, { [name: string]: any; }> | GeometryCollection | LineString | MultiLineString | MultiPoint | MultiPolygon | Point | Polygon | string",
324
+ "references": {
325
+ "KupEchartMaps": {
326
+ "location": "import",
327
+ "path": "./kup-echart-declarations"
328
+ },
329
+ "GeoJSON": {
330
+ "location": "import",
331
+ "path": "geojson"
332
+ }
385
333
  }
386
- }
387
- },
388
- "required": false,
389
- "optional": false,
390
- "docs": {
391
- "tags": [{
392
- "name": "default",
393
- "text": "null"
394
- }],
395
- "text": "Choose which map you want to view, supported values: \"europe\", \"africa\", \"asia\", \"oceania\", \"america\", \"italy\" and \"world\". It's possible to supply a custom JSON too."
396
- },
397
- "attribute": "map",
398
- "reflect": false,
399
- "defaultValue": "null"
400
- },
401
- "series": {
402
- "type": "unknown",
403
- "mutable": false,
404
- "complexType": {
405
- "original": "string[]",
406
- "resolved": "string[]",
407
- "references": {}
408
- },
409
- "required": false,
410
- "optional": false,
411
- "docs": {
412
- "tags": [{
413
- "name": "default",
414
- "text": "[]"
415
- }],
416
- "text": "The data series to be displayed. They must be of the same type."
417
- },
418
- "defaultValue": "[]"
419
- },
420
- "sizeX": {
421
- "type": "string",
422
- "mutable": false,
423
- "complexType": {
424
- "original": "string",
425
- "resolved": "string",
426
- "references": {}
334
+ },
335
+ "required": false,
336
+ "optional": false,
337
+ "docs": {
338
+ "tags": [{
339
+ "name": "default",
340
+ "text": "null"
341
+ }],
342
+ "text": "Choose which map you want to view, supported values: \"europe\", \"africa\", \"asia\", \"oceania\", \"america\", \"italy\" and \"world\". It's possible to supply a custom JSON too."
343
+ },
344
+ "attribute": "map",
345
+ "reflect": false,
346
+ "defaultValue": "null"
427
347
  },
428
- "required": false,
429
- "optional": false,
430
- "docs": {
431
- "tags": [{
432
- "name": "default",
433
- "text": "\"100%\""
434
- }],
435
- "text": "The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.)."
348
+ "series": {
349
+ "type": "unknown",
350
+ "mutable": false,
351
+ "complexType": {
352
+ "original": "string[]",
353
+ "resolved": "string[]",
354
+ "references": {}
355
+ },
356
+ "required": false,
357
+ "optional": false,
358
+ "docs": {
359
+ "tags": [{
360
+ "name": "default",
361
+ "text": "[]"
362
+ }],
363
+ "text": "The data series to be displayed. They must be of the same type."
364
+ },
365
+ "defaultValue": "[]"
436
366
  },
437
- "attribute": "size-x",
438
- "reflect": false,
439
- "defaultValue": "'100%'"
440
- },
441
- "sizeY": {
442
- "type": "string",
443
- "mutable": false,
444
- "complexType": {
445
- "original": "string",
446
- "resolved": "string",
447
- "references": {}
367
+ "sizeX": {
368
+ "type": "string",
369
+ "mutable": false,
370
+ "complexType": {
371
+ "original": "string",
372
+ "resolved": "string",
373
+ "references": {}
374
+ },
375
+ "required": false,
376
+ "optional": false,
377
+ "docs": {
378
+ "tags": [{
379
+ "name": "default",
380
+ "text": "\"100%\""
381
+ }],
382
+ "text": "The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.)."
383
+ },
384
+ "attribute": "size-x",
385
+ "reflect": false,
386
+ "defaultValue": "'100%'"
448
387
  },
449
- "required": false,
450
- "optional": false,
451
- "docs": {
452
- "tags": [{
453
- "name": "default",
454
- "text": "\"100%\""
455
- }],
456
- "text": "The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
388
+ "sizeY": {
389
+ "type": "string",
390
+ "mutable": false,
391
+ "complexType": {
392
+ "original": "string",
393
+ "resolved": "string",
394
+ "references": {}
395
+ },
396
+ "required": false,
397
+ "optional": false,
398
+ "docs": {
399
+ "tags": [{
400
+ "name": "default",
401
+ "text": "\"100%\""
402
+ }],
403
+ "text": "The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
404
+ },
405
+ "attribute": "size-y",
406
+ "reflect": false,
407
+ "defaultValue": "'100%'"
457
408
  },
458
- "attribute": "size-y",
459
- "reflect": false,
460
- "defaultValue": "'100%'"
461
- },
462
- "types": {
463
- "type": "unknown",
464
- "mutable": false,
465
- "complexType": {
466
- "original": "KupEchartTypes[]",
467
- "resolved": "KupEchartTypes[]",
468
- "references": {
469
- "KupEchartTypes": {
470
- "location": "import",
471
- "path": "./kup-echart-declarations"
409
+ "types": {
410
+ "type": "unknown",
411
+ "mutable": false,
412
+ "complexType": {
413
+ "original": "KupEchartTypes[]",
414
+ "resolved": "KupEchartTypes[]",
415
+ "references": {
416
+ "KupEchartTypes": {
417
+ "location": "import",
418
+ "path": "./kup-echart-declarations"
419
+ }
472
420
  }
473
- }
474
- },
475
- "required": false,
476
- "optional": false,
477
- "docs": {
478
- "tags": [{
479
- "name": "default",
480
- "text": "[KupEchartTypes.LINE]"
481
- }],
482
- "text": "The type of the chart. Supported formats: Bar, Gaussian, Line, Pie, Map and Scatter."
421
+ },
422
+ "required": false,
423
+ "optional": false,
424
+ "docs": {
425
+ "tags": [{
426
+ "name": "default",
427
+ "text": "[KupEchartTypes.LINE]"
428
+ }],
429
+ "text": "The type of the chart. Supported formats: Bar, Gaussian, Line, Pie, Map and Scatter."
430
+ },
431
+ "defaultValue": "[KupEchartTypes.LINE]"
483
432
  },
484
- "defaultValue": "[KupEchartTypes.LINE]"
485
- },
486
- "xAxis": {
487
- "type": "unknown",
488
- "mutable": false,
489
- "complexType": {
490
- "original": "XAXisComponentOption",
491
- "resolved": "AxisBaseOptionCommon & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; } | CategoryAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; } | LogAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; } | TimeAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; } | ValueAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; }",
492
- "references": {
493
- "XAXisComponentOption": {
494
- "location": "import",
495
- "path": "echarts"
433
+ "xAxis": {
434
+ "type": "unknown",
435
+ "mutable": false,
436
+ "complexType": {
437
+ "original": "XAXisComponentOption",
438
+ "resolved": "AxisBaseOptionCommon & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; } | CategoryAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; } | LogAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; } | TimeAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; } | ValueAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"xAxis\"; }",
439
+ "references": {
440
+ "XAXisComponentOption": {
441
+ "location": "import",
442
+ "path": "echarts"
443
+ }
496
444
  }
497
- }
498
- },
499
- "required": false,
500
- "optional": false,
501
- "docs": {
502
- "tags": [{
503
- "name": "default",
504
- "text": "null"
505
- }],
506
- "text": "Customization options for the x Axis."
445
+ },
446
+ "required": false,
447
+ "optional": false,
448
+ "docs": {
449
+ "tags": [{
450
+ "name": "default",
451
+ "text": "null"
452
+ }],
453
+ "text": "Customization options for the x Axis."
454
+ },
455
+ "defaultValue": "null"
507
456
  },
508
- "defaultValue": "null"
509
- },
510
- "yAxis": {
511
- "type": "unknown",
512
- "mutable": false,
513
- "complexType": {
514
- "original": "YAXisComponentOption",
515
- "resolved": "AxisBaseOptionCommon & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; } | CategoryAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; } | LogAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; } | TimeAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; } | ValueAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; }",
516
- "references": {
517
- "YAXisComponentOption": {
518
- "location": "import",
519
- "path": "echarts"
457
+ "yAxis": {
458
+ "type": "unknown",
459
+ "mutable": false,
460
+ "complexType": {
461
+ "original": "YAXisComponentOption",
462
+ "resolved": "AxisBaseOptionCommon & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; } | CategoryAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; } | LogAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; } | TimeAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; } | ValueAxisBaseOption & { gridIndex?: number; gridId?: string; position?: CartesianAxisPosition; offset?: number; categorySortInfo?: OrdinalSortInfo; } & { mainType?: \"yAxis\"; }",
463
+ "references": {
464
+ "YAXisComponentOption": {
465
+ "location": "import",
466
+ "path": "echarts"
467
+ }
520
468
  }
521
- }
522
- },
523
- "required": false,
524
- "optional": false,
525
- "docs": {
526
- "tags": [{
527
- "name": "default",
528
- "text": "null"
529
- }],
530
- "text": "Customization options for the y Axis."
531
- },
532
- "defaultValue": "null"
533
- }
534
- }; }
535
- static get events() { return [{
536
- "method": "kupEchartClick",
537
- "name": "kup-echart-click",
538
- "bubbles": true,
539
- "cancelable": false,
540
- "composed": true,
541
- "docs": {
542
- "tags": [],
543
- "text": ""
544
- },
545
- "complexType": {
546
- "original": "KupEchartClickEventPayload",
547
- "resolved": "KupEchartClickEventPayload",
548
- "references": {
549
- "KupEchartClickEventPayload": {
550
- "location": "import",
551
- "path": "./kup-echart-declarations"
469
+ },
470
+ "required": false,
471
+ "optional": false,
472
+ "docs": {
473
+ "tags": [{
474
+ "name": "default",
475
+ "text": "null"
476
+ }],
477
+ "text": "Customization options for the y Axis."
478
+ },
479
+ "defaultValue": "null"
480
+ }
481
+ };
482
+ }
483
+ static get events() {
484
+ return [{
485
+ "method": "kupEchartClick",
486
+ "name": "kup-echart-click",
487
+ "bubbles": true,
488
+ "cancelable": false,
489
+ "composed": true,
490
+ "docs": {
491
+ "tags": [],
492
+ "text": ""
493
+ },
494
+ "complexType": {
495
+ "original": "KupEchartClickEventPayload",
496
+ "resolved": "KupEchartClickEventPayload",
497
+ "references": {
498
+ "KupEchartClickEventPayload": {
499
+ "location": "import",
500
+ "path": "./kup-echart-declarations"
501
+ }
552
502
  }
553
503
  }
554
- }
555
- }]; }
556
- static get methods() { return {
557
- "getProps": {
558
- "complexType": {
559
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
560
- "parameters": [{
561
- "tags": [{
562
- "name": "param",
563
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
564
- }],
565
- "text": "- When provided and true, the result will be the list of props with their description."
566
- }],
567
- "references": {
568
- "Promise": {
569
- "location": "global"
504
+ }];
505
+ }
506
+ static get methods() {
507
+ return {
508
+ "getProps": {
509
+ "complexType": {
510
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
511
+ "parameters": [{
512
+ "tags": [{
513
+ "name": "param",
514
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
515
+ }],
516
+ "text": "- When provided and true, the result will be the list of props with their description."
517
+ }],
518
+ "references": {
519
+ "Promise": {
520
+ "location": "global"
521
+ },
522
+ "GenericObject": {
523
+ "location": "import",
524
+ "path": "../../types/GenericTypes"
525
+ }
570
526
  },
571
- "GenericObject": {
572
- "location": "import",
573
- "path": "../../types/GenericTypes"
574
- }
527
+ "return": "Promise<GenericObject>"
575
528
  },
576
- "return": "Promise<GenericObject>"
529
+ "docs": {
530
+ "text": "Used to retrieve component's props values.",
531
+ "tags": [{
532
+ "name": "param",
533
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
534
+ }, {
535
+ "name": "returns",
536
+ "text": "List of props as object, each key will be a prop."
537
+ }]
538
+ }
577
539
  },
578
- "docs": {
579
- "text": "Used to retrieve component's props values.",
580
- "tags": [{
581
- "name": "param",
582
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
583
- }, {
584
- "name": "returns",
585
- "text": "List of props as object, each key will be a prop."
586
- }]
587
- }
588
- },
589
- "refresh": {
590
- "complexType": {
591
- "signature": "() => Promise<void>",
592
- "parameters": [],
593
- "references": {
594
- "Promise": {
595
- "location": "global"
596
- }
540
+ "refresh": {
541
+ "complexType": {
542
+ "signature": "() => Promise<void>",
543
+ "parameters": [],
544
+ "references": {
545
+ "Promise": {
546
+ "location": "global"
547
+ }
548
+ },
549
+ "return": "Promise<void>"
597
550
  },
598
- "return": "Promise<void>"
551
+ "docs": {
552
+ "text": "This method is used to trigger a new render of the component.",
553
+ "tags": []
554
+ }
599
555
  },
600
- "docs": {
601
- "text": "This method is used to trigger a new render of the component.",
602
- "tags": []
603
- }
604
- },
605
- "resizeCallback": {
606
- "complexType": {
607
- "signature": "() => Promise<void>",
608
- "parameters": [],
609
- "references": {
610
- "Promise": {
611
- "location": "global"
612
- }
556
+ "resizeCallback": {
557
+ "complexType": {
558
+ "signature": "() => Promise<void>",
559
+ "parameters": [],
560
+ "references": {
561
+ "Promise": {
562
+ "location": "global"
563
+ }
564
+ },
565
+ "return": "Promise<void>"
613
566
  },
614
- "return": "Promise<void>"
567
+ "docs": {
568
+ "text": "This method is invoked by KupManager whenever the component changes size.",
569
+ "tags": []
570
+ }
615
571
  },
616
- "docs": {
617
- "text": "This method is invoked by KupManager whenever the component changes size.",
618
- "tags": []
619
- }
620
- },
621
- "setProps": {
622
- "complexType": {
623
- "signature": "(props: GenericObject) => Promise<void>",
624
- "parameters": [{
625
- "tags": [{
626
- "name": "param",
627
- "text": "props - Object containing props that will be set to the component."
628
- }],
629
- "text": "- Object containing props that will be set to the component."
630
- }],
631
- "references": {
632
- "Promise": {
633
- "location": "global"
572
+ "setProps": {
573
+ "complexType": {
574
+ "signature": "(props: GenericObject) => Promise<void>",
575
+ "parameters": [{
576
+ "tags": [{
577
+ "name": "param",
578
+ "text": "props - Object containing props that will be set to the component."
579
+ }],
580
+ "text": "- Object containing props that will be set to the component."
581
+ }],
582
+ "references": {
583
+ "Promise": {
584
+ "location": "global"
585
+ },
586
+ "GenericObject": {
587
+ "location": "import",
588
+ "path": "../../types/GenericTypes"
589
+ }
634
590
  },
635
- "GenericObject": {
636
- "location": "import",
637
- "path": "../../types/GenericTypes"
638
- }
591
+ "return": "Promise<void>"
639
592
  },
640
- "return": "Promise<void>"
641
- },
642
- "docs": {
643
- "text": "Sets the props to the component.",
644
- "tags": [{
645
- "name": "param",
646
- "text": "props - Object containing props that will be set to the component."
647
- }]
593
+ "docs": {
594
+ "text": "Sets the props to the component.",
595
+ "tags": [{
596
+ "name": "param",
597
+ "text": "props - Object containing props that will be set to the component."
598
+ }]
599
+ }
648
600
  }
649
- }
650
- }; }
601
+ };
602
+ }
651
603
  static get elementRef() { return "rootElement"; }
652
604
  }
653
605
  _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _KupEchart_gaussianDatasets = new WeakMap(), _KupEchart_kupManager = new WeakMap(), _KupEchart_mapObj = new WeakMap(), _KupEchart_resizeTimeout = new WeakMap(), _KupEchart_sortedDataset = new WeakMap(), _KupEchart_themeBorder = new WeakMap(), _KupEchart_themeBackground = new WeakMap(), _KupEchart_computedColors = new WeakMap(), _KupEchart_minColorHeatMap = new WeakMap(), _KupEchart_maxColorHeatMap = new WeakMap(), _KupEchart_themeFont = new WeakMap(), _KupEchart_themeText = new WeakMap(), _KupEchart_instances = new WeakSet(), _KupEchart_initChart = function _KupEchart_initChart() {