@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,4 +1,4 @@
1
- import { Component, Element, Event, forceUpdate, getAssetPath, h, Host, Method, Prop, State, Watch, } from '@stencil/core';
1
+ import { forceUpdate, getAssetPath, h, Host, } from '@stencil/core';
2
2
  import { TotalLabel, TotalMode, } from './../kup-data-table/kup-data-table-declarations';
3
3
  import { KupTreeProps, treeMainColumnName, KupTreeExpansionMode, } from './kup-tree-declarations';
4
4
  import { MDCRipple } from '@material/ripple';
@@ -26,160 +26,59 @@ export class KupTree {
26
26
  /* S t a t e s */
27
27
  /*-------------------------------------------------*/
28
28
  this.state = new KupTreeState();
29
- this.treeColumnVisible = true;
29
+ /*-------------------------------------------------*/
30
+ /* I n t e r n a l V a r i a b l e s */
31
+ /*-------------------------------------------------*/
32
+ /**
33
+ * Instance of the KupManager class.
34
+ */
35
+ this.kupManager = kupManagerInstance();
30
36
  /**
31
- * name of the column with the opened total menu
37
+ * Reference to the column menu card.
32
38
  */
39
+ this.columnMenuCard = null;
40
+ this.clickTimeout = [];
41
+ this.sizedColumns = undefined;
42
+ this.filtersColumnMenuInstance = new FiltersColumnMenu();
43
+ this.filtersTreeItemsInstance = new FiltersTreeItems();
44
+ this.totalMenuCoords = null;
45
+ this.contentRefs = [];
46
+ this.oldWidth = null;
47
+ this.hold = false;
48
+ this.interactableTouch = [];
49
+ this.clickCb = null;
50
+ this.treeColumnVisible = true;
33
51
  this.openedTotalMenu = null;
34
52
  this.columnMenuAnchor = null;
35
53
  this.stateSwitcher = false;
36
- /**
37
- * An array of integers containing the path to a selected child.\
38
- * Groups up the properties SelFirst, SelItem, SelName.
39
- */
40
54
  this.selectedNode = [];
41
- /*-------------------------------------------------*/
42
- /* P r o p s */
43
- /*-------------------------------------------------*/
44
- /**
45
- * When enabled, the first level of depth will give an accordion look to nodes.
46
- * @default false
47
- */
48
55
  this.asAccordion = false;
49
- /**
50
- * Custom style of the component.
51
- * @default ""
52
- * @see https://ketchup.smeup.com/ketchup-showcase/#/customization
53
- */
56
+ this.columns = undefined;
54
57
  this.customStyle = '';
55
- /**
56
- * The json data used to populate the tree view: the basic, always visible tree nodes.
57
- */
58
58
  this.data = [];
59
- /**
60
- * The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'.
61
- */
62
59
  this.density = FCellPadding.MEDIUM;
63
- /**
64
- * Function that gets invoked when a new set of nodes must be loaded as children of a node.
65
- *
66
- * When useDynamicExpansion is set, the tree component will have two different behaviors depending on the value of this prop.
67
- * 1 - If this prop is set to null, no callback to download data is available:
68
- * the component will emit an event requiring the parent to load the children of the given node.
69
- * 2 - If this prop is set to have a callback, then the component will automatically make requests to load children of
70
- * a given node. After the load has been completed, a different event will be fired to alert the parent of the change.
71
- *
72
- * @see useDynamicExpansion
73
- */
74
60
  this.dynamicExpansionCallback = undefined;
75
- /**
76
- * When set to true, editable cells will be rendered using input components.
77
- * @default false
78
- */
79
61
  this.editableData = false;
80
- /**
81
- * Enables the extracolumns add buttons.
82
- */
83
62
  this.enableExtraColumns = true;
84
- /**
85
- * Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded.
86
- */
87
63
  this.expanded = false;
88
- /**
89
- * Behavior of nodes' expansion: it can be chosen between expanding a node by clicking on the dropdown icon, or by clicking on the whole node.
90
- * @default KupTreeExpansionMode.DROPDOWN
91
- */
92
64
  this.expansionMode = KupTreeExpansionMode.DROPDOWN;
93
- /**
94
- * List of filters set by the user.
95
- */
96
65
  this.filters = {};
97
- /**
98
- * When set to true it activates the global filter.
99
- */
100
66
  this.globalFilter = false;
101
- /**
102
- * The value of the global filter.
103
- */
104
67
  this.globalFilterValue = '';
105
- /**
106
- * The mode of the global filter (default SIMPLE)
107
- */
108
68
  this.globalFilterMode = KupGlobalFilterMode.SIMPLE;
109
- /**
110
- * Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells.
111
- * It works only on cells of the main column.
112
- * @default false;
113
- */
114
69
  this.preventXScroll = false;
115
- /**
116
- * Sets the possibility to remove the selected column.
117
- */
118
70
  this.removableColumns = true;
119
- /**
120
- * When enabled displays Material's ripple effect on nodes (only when no columns are displayed).
121
- * @default true
122
- */
123
71
  this.ripple = true;
124
- /**
125
- * Activates the scroll on hover function.
126
- */
127
72
  this.scrollOnHover = false;
128
- /**
129
- * Shows the tree data as a table.
130
- */
131
73
  this.showColumns = false;
132
- /**
133
- * When set to true enables the column filters.
134
- */
135
74
  this.showFilters = true;
136
- /**
137
- * When set to true shows the footer.
138
- */
139
75
  this.showFooter = false;
140
- /**
141
- * Flag: shows the header of the tree when the tree is displayed as a table.
142
- * @see showColumns
143
- */
144
76
  this.showHeader = false;
145
- /**
146
- * Shows the icons of the nodes.
147
- */
148
77
  this.showIcons = true;
149
78
  this.stateId = '';
150
- /**
151
- * When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the
152
- * tree have been passed inside the data property.
153
- *
154
- * Therefore, when expanding a node, the tree must emit an event (or run a given callback)
155
- * and wait for the child nodes to be downloaded from the server.
156
- *
157
- * For more information:
158
- * @see dynamicExpansionCallback
159
- */
79
+ this.store = undefined;
160
80
  this.useDynamicExpansion = false;
161
- /*-------------------------------------------------*/
162
- /* I n t e r n a l V a r i a b l e s */
163
- /*-------------------------------------------------*/
164
- /**
165
- * Instance of the KupManager class.
166
- */
167
- this.kupManager = kupManagerInstance();
168
- /**
169
- * Reference to the column menu card.
170
- */
171
- this.columnMenuCard = null;
172
- this.selectedColumn = '';
173
- this.clickTimeout = [];
174
- this.sizedColumns = undefined;
175
- this.filtersColumnMenuInstance = new FiltersColumnMenu();
176
- this.filtersTreeItemsInstance = new FiltersTreeItems();
177
- this.totalMenuCoords = null;
178
- this.contentRefs = [];
179
- this.oldWidth = null;
180
- this.hold = false;
181
- this.interactableTouch = [];
182
- this.clickCb = null;
81
+ this.totals = undefined;
183
82
  }
184
83
  initWithPersistedState() {
185
84
  if (this.store && this.stateId) {
@@ -256,7 +155,7 @@ export class KupTree {
256
155
  id: this.rootElement.id,
257
156
  treeNodePath: this.selectedNode,
258
157
  treeNode: this.getTreeNode(this.selectedNode),
259
- columnName: this.selectedColumn,
158
+ columnName: null,
260
159
  });
261
160
  }
262
161
  }
@@ -674,6 +573,12 @@ export class KupTree {
674
573
  KupTreeExpansionMode.DROPDOWN ||
675
574
  (this.expansionMode.toLowerCase() === KupTreeExpansionMode.NODE &&
676
575
  !treeNodeData.expandable)) {
576
+ const td = e
577
+ ? this.getEventPath(e.target).find((el) => {
578
+ if (el.tagName === 'TD')
579
+ return el;
580
+ })
581
+ : null;
677
582
  // If this TreeNode is not disabled, then it can be selected and an event is emitted
678
583
  if (treeNodeData && !treeNodeData.disabled) {
679
584
  this.selectedNode = treeNodePath
@@ -684,10 +589,9 @@ export class KupTree {
684
589
  id: this.rootElement.id,
685
590
  treeNodePath: this.selectedNode,
686
591
  treeNode: treeNodeData,
687
- columnName: this.selectedColumn,
592
+ columnName: td ? td.dataset.column : null,
688
593
  });
689
594
  }
690
- this.selectedColumn = '';
691
595
  }
692
596
  // If KupTreeExpansionMode.NODE then click is a collapse/expand click
693
597
  if (this.expansionMode.toLowerCase() === KupTreeExpansionMode.NODE) {
@@ -882,8 +786,7 @@ export class KupTree {
882
786
  icon.indexOf('/') > -1 ||
883
787
  icon.indexOf('\\') > -1) {
884
788
  CSSClass += ' is-image';
885
- return (h("span", { class: CSSClass },
886
- h("img", { src: icon })));
789
+ return (h("span", { class: CSSClass }, h("img", { src: icon })));
887
790
  }
888
791
  else {
889
792
  let svg = `url('${getAssetPath(`./assets/svg/${icon}.svg`)}') no-repeat center`;
@@ -939,9 +842,7 @@ export class KupTree {
939
842
  this.onRemoveFilter(column);
940
843
  } }));
941
844
  }
942
- return (h("th", { "data-column": column.name, style: this.getCellStyle(column.name, null) },
943
- h("span", { class: "column-title" }, column.title),
944
- filter));
845
+ return (h("th", { "data-column": column.name, style: this.getCellStyle(column.name, null) }, h("span", { class: "column-title" }, column.title), filter));
945
846
  });
946
847
  }
947
848
  /**
@@ -1041,8 +942,14 @@ export class KupTree {
1041
942
  }
1042
943
  // When can be expanded OR selected
1043
944
  if (!treeNodeData.disabled) {
1044
- treeNodeOptions['onClick'] = () => {
1045
- this.clickTimeout.push(setTimeout((e) => this.hdlTreeNodeClick(e, treeNodeData, treeNodePath), 300));
945
+ treeNodeOptions['onClick'] = (e) => {
946
+ // Note: event must be cloned
947
+ // otherwise inside setTimeout will be exiting the Shadow DOM scope(causing loss of information, including target).
948
+ const clone = {};
949
+ for (const key in e) {
950
+ clone[key] = e[key];
951
+ }
952
+ this.clickTimeout.push(setTimeout(() => this.hdlTreeNodeClick(clone, treeNodeData, treeNodePath), 300));
1046
953
  };
1047
954
  }
1048
955
  // When a tree node is displayed as a table
@@ -1067,8 +974,7 @@ export class KupTree {
1067
974
  row: treeNodeData,
1068
975
  setSizes: true,
1069
976
  };
1070
- treeNodeCells.push(h("td", { class: `grid-cell`, "data-cell": cell, "data-column": column.name },
1071
- h(FCell, Object.assign({}, cellProps))));
977
+ treeNodeCells.push(h("td", { class: `grid-cell`, "data-cell": cell, "data-column": column.name }, h(FCell, Object.assign({}, cellProps))));
1072
978
  }
1073
979
  else {
1074
980
  treeNodeCells.push(h("td", { class: `grid-cell` }));
@@ -1119,9 +1025,7 @@ export class KupTree {
1119
1025
  'kup-tree__node--selected': !treeNodeData.disabled &&
1120
1026
  treeNodePath ===
1121
1027
  this.selectedNodeToString(this.selectedNode),
1122
- }, "data-row": treeNodeData, "data-tree-path": treeNodePath }, treeNodeOptions),
1123
- treeNodeCell,
1124
- treeNodeCells));
1028
+ }, "data-row": treeNodeData, "data-tree-path": treeNodePath }, treeNodeOptions), treeNodeCell, treeNodeCells));
1125
1029
  }
1126
1030
  closeTotalMenu() {
1127
1031
  this.openedTotalMenu = null;
@@ -1242,14 +1146,9 @@ export class KupTree {
1242
1146
  else {
1243
1147
  value = numberToFormattedStringNumber(this.footer[column.name], column.decimals, column.obj ? column.obj.p : '');
1244
1148
  }
1245
- return (h("td", { "data-column": column.name },
1246
- totalMenu,
1247
- h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
1149
+ return (h("td", { "data-column": column.name }, totalMenu, h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
1248
1150
  });
1249
- return (h("tfoot", null,
1250
- h("tr", null,
1251
- nodesCell,
1252
- footerCells)));
1151
+ return (h("tfoot", null, h("tr", null, nodesCell, footerCells)));
1253
1152
  }
1254
1153
  didLoadInteractables() {
1255
1154
  this.interactableTouch.push(this.treeWrapperRef);
@@ -1423,8 +1322,7 @@ export class KupTree {
1423
1322
  }
1424
1323
  else {
1425
1324
  // There are no TreeNodes, so we print a single cell with a caption
1426
- treeNodes.push(h("tr", null,
1427
- h("td", null, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
1325
+ treeNodes.push(h("tr", null, h("td", null, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
1428
1326
  }
1429
1327
  // Calculates if header must be shown or not
1430
1328
  const visibleHeader = this.showHeader && this.showColumns;
@@ -1433,30 +1331,20 @@ export class KupTree {
1433
1331
  this.data &&
1434
1332
  this.data.length &&
1435
1333
  this.data.length > 0) {
1436
- filterField = (h("div", { id: "global-filter" },
1437
- h("kup-text-field", { fullWidth: true, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
1438
- window.clearTimeout(this.globalFilterTimeout);
1439
- this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
1440
- } })));
1441
- }
1442
- return (h(Host, null,
1443
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
1444
- h("div", { id: componentWrapperId, class: wrapperClass },
1445
- filterField,
1446
- h("div", { class: "wrapper", ref: (el) => (this.treeWrapperRef =
1447
- el) },
1448
- h("table", { class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
1449
- e.preventDefault();
1450
- } },
1451
- h("thead", { class: {
1452
- 'header--is-visible': visibleHeader,
1453
- } },
1454
- h("tr", null, visibleHeader ? this.renderHeader() : null)),
1455
- h("tbody", null, treeNodes),
1456
- (this.showFooter || this.hasTotals()) &&
1457
- this.columns
1458
- ? this.renderFooter()
1459
- : null)))));
1334
+ filterField = (h("div", { id: "global-filter" }, h("kup-text-field", { fullWidth: true, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
1335
+ window.clearTimeout(this.globalFilterTimeout);
1336
+ this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
1337
+ } })));
1338
+ }
1339
+ return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId, class: wrapperClass }, filterField, h("div", { class: "wrapper", ref: (el) => (this.treeWrapperRef =
1340
+ el) }, h("table", { class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
1341
+ e.preventDefault();
1342
+ } }, h("thead", { class: {
1343
+ 'header--is-visible': visibleHeader,
1344
+ } }, h("tr", null, visibleHeader ? this.renderHeader() : null)), h("tbody", null, treeNodes), (this.showFooter || this.hasTotals()) &&
1345
+ this.columns
1346
+ ? this.renderFooter()
1347
+ : null)))));
1460
1348
  }
1461
1349
  disconnectedCallback() {
1462
1350
  this.kupManager.language.register(this);
@@ -1476,1103 +1364,1117 @@ export class KupTree {
1476
1364
  }
1477
1365
  static get is() { return "kup-tree"; }
1478
1366
  static get encapsulation() { return "shadow"; }
1479
- static get originalStyleUrls() { return {
1480
- "$": ["kup-tree.scss"]
1481
- }; }
1482
- static get styleUrls() { return {
1483
- "$": ["kup-tree.css"]
1484
- }; }
1485
- static get properties() { return {
1486
- "asAccordion": {
1487
- "type": "boolean",
1488
- "mutable": false,
1489
- "complexType": {
1490
- "original": "boolean",
1491
- "resolved": "boolean",
1492
- "references": {}
1493
- },
1494
- "required": false,
1495
- "optional": false,
1496
- "docs": {
1497
- "tags": [{
1498
- "name": "default",
1499
- "text": "false"
1500
- }],
1501
- "text": "When enabled, the first level of depth will give an accordion look to nodes."
1502
- },
1503
- "attribute": "as-accordion",
1504
- "reflect": true,
1505
- "defaultValue": "false"
1506
- },
1507
- "columns": {
1508
- "type": "unknown",
1509
- "mutable": true,
1510
- "complexType": {
1511
- "original": "KupDataColumn[]",
1512
- "resolved": "KupDataColumn[]",
1513
- "references": {
1514
- "KupDataColumn": {
1515
- "location": "import",
1516
- "path": "../../managers/kup-data/kup-data-declarations"
1367
+ static get originalStyleUrls() {
1368
+ return {
1369
+ "$": ["kup-tree.scss"]
1370
+ };
1371
+ }
1372
+ static get styleUrls() {
1373
+ return {
1374
+ "$": ["kup-tree.css"]
1375
+ };
1376
+ }
1377
+ static get properties() {
1378
+ return {
1379
+ "asAccordion": {
1380
+ "type": "boolean",
1381
+ "mutable": false,
1382
+ "complexType": {
1383
+ "original": "boolean",
1384
+ "resolved": "boolean",
1385
+ "references": {}
1386
+ },
1387
+ "required": false,
1388
+ "optional": false,
1389
+ "docs": {
1390
+ "tags": [{
1391
+ "name": "default",
1392
+ "text": "false"
1393
+ }],
1394
+ "text": "When enabled, the first level of depth will give an accordion look to nodes."
1395
+ },
1396
+ "attribute": "as-accordion",
1397
+ "reflect": true,
1398
+ "defaultValue": "false"
1399
+ },
1400
+ "columns": {
1401
+ "type": "unknown",
1402
+ "mutable": true,
1403
+ "complexType": {
1404
+ "original": "KupDataColumn[]",
1405
+ "resolved": "KupDataColumn[]",
1406
+ "references": {
1407
+ "KupDataColumn": {
1408
+ "location": "import",
1409
+ "path": "../../managers/kup-data/kup-data-declarations"
1410
+ }
1517
1411
  }
1412
+ },
1413
+ "required": false,
1414
+ "optional": true,
1415
+ "docs": {
1416
+ "tags": [],
1417
+ "text": "The columns of the tree when tree visualization is active."
1518
1418
  }
1519
1419
  },
1520
- "required": false,
1521
- "optional": true,
1522
- "docs": {
1523
- "tags": [],
1524
- "text": "The columns of the tree when tree visualization is active."
1525
- }
1526
- },
1527
- "customStyle": {
1528
- "type": "string",
1529
- "mutable": false,
1530
- "complexType": {
1531
- "original": "string",
1532
- "resolved": "string",
1533
- "references": {}
1534
- },
1535
- "required": false,
1536
- "optional": false,
1537
- "docs": {
1538
- "tags": [{
1539
- "name": "default",
1540
- "text": "\"\""
1541
- }, {
1542
- "name": "see",
1543
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
1544
- }],
1545
- "text": "Custom style of the component."
1546
- },
1547
- "attribute": "custom-style",
1548
- "reflect": false,
1549
- "defaultValue": "''"
1550
- },
1551
- "data": {
1552
- "type": "unknown",
1553
- "mutable": true,
1554
- "complexType": {
1555
- "original": "KupTreeNode[]",
1556
- "resolved": "KupTreeNode[]",
1557
- "references": {
1558
- "KupTreeNode": {
1559
- "location": "import",
1560
- "path": "./kup-tree-declarations"
1420
+ "customStyle": {
1421
+ "type": "string",
1422
+ "mutable": false,
1423
+ "complexType": {
1424
+ "original": "string",
1425
+ "resolved": "string",
1426
+ "references": {}
1427
+ },
1428
+ "required": false,
1429
+ "optional": false,
1430
+ "docs": {
1431
+ "tags": [{
1432
+ "name": "default",
1433
+ "text": "\"\""
1434
+ }, {
1435
+ "name": "see",
1436
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
1437
+ }],
1438
+ "text": "Custom style of the component."
1439
+ },
1440
+ "attribute": "custom-style",
1441
+ "reflect": false,
1442
+ "defaultValue": "''"
1443
+ },
1444
+ "data": {
1445
+ "type": "unknown",
1446
+ "mutable": true,
1447
+ "complexType": {
1448
+ "original": "KupTreeNode[]",
1449
+ "resolved": "KupTreeNode[]",
1450
+ "references": {
1451
+ "KupTreeNode": {
1452
+ "location": "import",
1453
+ "path": "./kup-tree-declarations"
1454
+ }
1561
1455
  }
1562
- }
1563
- },
1564
- "required": false,
1565
- "optional": false,
1566
- "docs": {
1567
- "tags": [],
1568
- "text": "The json data used to populate the tree view: the basic, always visible tree nodes."
1569
- },
1570
- "defaultValue": "[]"
1571
- },
1572
- "density": {
1573
- "type": "string",
1574
- "mutable": false,
1575
- "complexType": {
1576
- "original": "FCellPadding",
1577
- "resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
1578
- "references": {
1579
- "FCellPadding": {
1580
- "location": "import",
1581
- "path": "../../f-components/f-cell/f-cell-declarations"
1456
+ },
1457
+ "required": false,
1458
+ "optional": false,
1459
+ "docs": {
1460
+ "tags": [],
1461
+ "text": "The json data used to populate the tree view: the basic, always visible tree nodes."
1462
+ },
1463
+ "defaultValue": "[]"
1464
+ },
1465
+ "density": {
1466
+ "type": "string",
1467
+ "mutable": false,
1468
+ "complexType": {
1469
+ "original": "FCellPadding",
1470
+ "resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
1471
+ "references": {
1472
+ "FCellPadding": {
1473
+ "location": "import",
1474
+ "path": "../../f-components/f-cell/f-cell-declarations"
1475
+ }
1582
1476
  }
1583
- }
1584
- },
1585
- "required": false,
1586
- "optional": false,
1587
- "docs": {
1588
- "tags": [],
1589
- "text": "The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'."
1590
- },
1591
- "attribute": "density",
1592
- "reflect": false,
1593
- "defaultValue": "FCellPadding.MEDIUM"
1594
- },
1595
- "dynamicExpansionCallback": {
1596
- "type": "unknown",
1597
- "mutable": false,
1598
- "complexType": {
1599
- "original": "(\r\n treeNodeToExpand: KupTreeNode,\r\n treeNodePath: TreeNodePath\r\n ) => Promise<KupTreeNode[]> | undefined",
1600
- "resolved": "(treeNodeToExpand: KupTreeNode, treeNodePath: TreeNodePath) => Promise<KupTreeNode[]>",
1601
- "references": {
1602
- "KupTreeNode": {
1603
- "location": "import",
1604
- "path": "./kup-tree-declarations"
1605
- },
1606
- "TreeNodePath": {
1607
- "location": "import",
1608
- "path": "./kup-tree-declarations"
1609
- },
1610
- "Promise": {
1611
- "location": "global"
1477
+ },
1478
+ "required": false,
1479
+ "optional": false,
1480
+ "docs": {
1481
+ "tags": [],
1482
+ "text": "The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'."
1483
+ },
1484
+ "attribute": "density",
1485
+ "reflect": false,
1486
+ "defaultValue": "FCellPadding.MEDIUM"
1487
+ },
1488
+ "dynamicExpansionCallback": {
1489
+ "type": "unknown",
1490
+ "mutable": false,
1491
+ "complexType": {
1492
+ "original": "(\r\n treeNodeToExpand: KupTreeNode,\r\n treeNodePath: TreeNodePath\r\n ) => Promise<KupTreeNode[]> | undefined",
1493
+ "resolved": "(treeNodeToExpand: KupTreeNode, treeNodePath: TreeNodePath) => Promise<KupTreeNode[]>",
1494
+ "references": {
1495
+ "KupTreeNode": {
1496
+ "location": "import",
1497
+ "path": "./kup-tree-declarations"
1498
+ },
1499
+ "TreeNodePath": {
1500
+ "location": "import",
1501
+ "path": "./kup-tree-declarations"
1502
+ },
1503
+ "Promise": {
1504
+ "location": "global"
1505
+ }
1612
1506
  }
1613
- }
1614
- },
1615
- "required": false,
1616
- "optional": false,
1617
- "docs": {
1618
- "tags": [{
1619
- "name": "see",
1620
- "text": "useDynamicExpansion"
1621
- }],
1622
- "text": "Function that gets invoked when a new set of nodes must be loaded as children of a node.\r\n\r\nWhen useDynamicExpansion is set, the tree component will have two different behaviors depending on the value of this prop.\r\n1 - If this prop is set to null, no callback to download data is available:\r\n the component will emit an event requiring the parent to load the children of the given node.\r\n2 - If this prop is set to have a callback, then the component will automatically make requests to load children of\r\n a given node. After the load has been completed, a different event will be fired to alert the parent of the change."
1623
- },
1624
- "defaultValue": "undefined"
1625
- },
1626
- "editableData": {
1627
- "type": "boolean",
1628
- "mutable": false,
1629
- "complexType": {
1630
- "original": "boolean",
1631
- "resolved": "boolean",
1632
- "references": {}
1633
- },
1634
- "required": false,
1635
- "optional": false,
1636
- "docs": {
1637
- "tags": [{
1638
- "name": "default",
1639
- "text": "false"
1640
- }],
1641
- "text": "When set to true, editable cells will be rendered using input components."
1642
- },
1643
- "attribute": "editable-data",
1644
- "reflect": false,
1645
- "defaultValue": "false"
1646
- },
1647
- "enableExtraColumns": {
1648
- "type": "boolean",
1649
- "mutable": false,
1650
- "complexType": {
1651
- "original": "boolean",
1652
- "resolved": "boolean",
1653
- "references": {}
1654
- },
1655
- "required": false,
1656
- "optional": false,
1657
- "docs": {
1658
- "tags": [],
1659
- "text": "Enables the extracolumns add buttons."
1660
- },
1661
- "attribute": "enable-extra-columns",
1662
- "reflect": false,
1663
- "defaultValue": "true"
1664
- },
1665
- "expanded": {
1666
- "type": "boolean",
1667
- "mutable": false,
1668
- "complexType": {
1669
- "original": "boolean",
1670
- "resolved": "boolean",
1671
- "references": {}
1672
- },
1673
- "required": false,
1674
- "optional": false,
1675
- "docs": {
1676
- "tags": [],
1677
- "text": "Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded."
1678
- },
1679
- "attribute": "expanded",
1680
- "reflect": false,
1681
- "defaultValue": "false"
1682
- },
1683
- "expansionMode": {
1684
- "type": "string",
1685
- "mutable": false,
1686
- "complexType": {
1687
- "original": "KupTreeExpansionMode",
1688
- "resolved": "KupTreeExpansionMode.DROPDOWN | KupTreeExpansionMode.NODE",
1689
- "references": {
1690
- "KupTreeExpansionMode": {
1691
- "location": "import",
1692
- "path": "./kup-tree-declarations"
1507
+ },
1508
+ "required": false,
1509
+ "optional": false,
1510
+ "docs": {
1511
+ "tags": [{
1512
+ "name": "see",
1513
+ "text": "useDynamicExpansion"
1514
+ }],
1515
+ "text": "Function that gets invoked when a new set of nodes must be loaded as children of a node.\r\n\r\nWhen useDynamicExpansion is set, the tree component will have two different behaviors depending on the value of this prop.\r\n1 - If this prop is set to null, no callback to download data is available:\r\n the component will emit an event requiring the parent to load the children of the given node.\r\n2 - If this prop is set to have a callback, then the component will automatically make requests to load children of\r\n a given node. After the load has been completed, a different event will be fired to alert the parent of the change."
1516
+ },
1517
+ "defaultValue": "undefined"
1518
+ },
1519
+ "editableData": {
1520
+ "type": "boolean",
1521
+ "mutable": false,
1522
+ "complexType": {
1523
+ "original": "boolean",
1524
+ "resolved": "boolean",
1525
+ "references": {}
1526
+ },
1527
+ "required": false,
1528
+ "optional": false,
1529
+ "docs": {
1530
+ "tags": [{
1531
+ "name": "default",
1532
+ "text": "false"
1533
+ }],
1534
+ "text": "When set to true, editable cells will be rendered using input components."
1535
+ },
1536
+ "attribute": "editable-data",
1537
+ "reflect": false,
1538
+ "defaultValue": "false"
1539
+ },
1540
+ "enableExtraColumns": {
1541
+ "type": "boolean",
1542
+ "mutable": false,
1543
+ "complexType": {
1544
+ "original": "boolean",
1545
+ "resolved": "boolean",
1546
+ "references": {}
1547
+ },
1548
+ "required": false,
1549
+ "optional": false,
1550
+ "docs": {
1551
+ "tags": [],
1552
+ "text": "Enables the extracolumns add buttons."
1553
+ },
1554
+ "attribute": "enable-extra-columns",
1555
+ "reflect": false,
1556
+ "defaultValue": "true"
1557
+ },
1558
+ "expanded": {
1559
+ "type": "boolean",
1560
+ "mutable": false,
1561
+ "complexType": {
1562
+ "original": "boolean",
1563
+ "resolved": "boolean",
1564
+ "references": {}
1565
+ },
1566
+ "required": false,
1567
+ "optional": false,
1568
+ "docs": {
1569
+ "tags": [],
1570
+ "text": "Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded."
1571
+ },
1572
+ "attribute": "expanded",
1573
+ "reflect": false,
1574
+ "defaultValue": "false"
1575
+ },
1576
+ "expansionMode": {
1577
+ "type": "string",
1578
+ "mutable": false,
1579
+ "complexType": {
1580
+ "original": "KupTreeExpansionMode",
1581
+ "resolved": "KupTreeExpansionMode.DROPDOWN | KupTreeExpansionMode.NODE",
1582
+ "references": {
1583
+ "KupTreeExpansionMode": {
1584
+ "location": "import",
1585
+ "path": "./kup-tree-declarations"
1586
+ }
1693
1587
  }
1694
- }
1695
- },
1696
- "required": false,
1697
- "optional": false,
1698
- "docs": {
1699
- "tags": [{
1700
- "name": "default",
1701
- "text": "KupTreeExpansionMode.DROPDOWN"
1702
- }],
1703
- "text": "Behavior of nodes' expansion: it can be chosen between expanding a node by clicking on the dropdown icon, or by clicking on the whole node."
1704
- },
1705
- "attribute": "expansion-mode",
1706
- "reflect": false,
1707
- "defaultValue": "KupTreeExpansionMode.DROPDOWN"
1708
- },
1709
- "filters": {
1710
- "type": "unknown",
1711
- "mutable": true,
1712
- "complexType": {
1713
- "original": "GenericFilter",
1714
- "resolved": "GenericFilter",
1715
- "references": {
1716
- "GenericFilter": {
1717
- "location": "import",
1718
- "path": "../../utils/filters/filters-declarations"
1588
+ },
1589
+ "required": false,
1590
+ "optional": false,
1591
+ "docs": {
1592
+ "tags": [{
1593
+ "name": "default",
1594
+ "text": "KupTreeExpansionMode.DROPDOWN"
1595
+ }],
1596
+ "text": "Behavior of nodes' expansion: it can be chosen between expanding a node by clicking on the dropdown icon, or by clicking on the whole node."
1597
+ },
1598
+ "attribute": "expansion-mode",
1599
+ "reflect": false,
1600
+ "defaultValue": "KupTreeExpansionMode.DROPDOWN"
1601
+ },
1602
+ "filters": {
1603
+ "type": "unknown",
1604
+ "mutable": true,
1605
+ "complexType": {
1606
+ "original": "GenericFilter",
1607
+ "resolved": "GenericFilter",
1608
+ "references": {
1609
+ "GenericFilter": {
1610
+ "location": "import",
1611
+ "path": "../../utils/filters/filters-declarations"
1612
+ }
1719
1613
  }
1720
- }
1721
- },
1722
- "required": false,
1723
- "optional": false,
1724
- "docs": {
1725
- "tags": [],
1726
- "text": "List of filters set by the user."
1727
- },
1728
- "defaultValue": "{}"
1729
- },
1730
- "globalFilter": {
1731
- "type": "boolean",
1732
- "mutable": false,
1733
- "complexType": {
1734
- "original": "boolean",
1735
- "resolved": "boolean",
1736
- "references": {}
1737
- },
1738
- "required": false,
1739
- "optional": false,
1740
- "docs": {
1741
- "tags": [],
1742
- "text": "When set to true it activates the global filter."
1743
- },
1744
- "attribute": "global-filter",
1745
- "reflect": false,
1746
- "defaultValue": "false"
1747
- },
1748
- "globalFilterValue": {
1749
- "type": "string",
1750
- "mutable": true,
1751
- "complexType": {
1752
- "original": "string",
1753
- "resolved": "string",
1754
- "references": {}
1755
- },
1756
- "required": false,
1757
- "optional": false,
1758
- "docs": {
1759
- "tags": [],
1760
- "text": "The value of the global filter."
1761
- },
1762
- "attribute": "global-filter-value",
1763
- "reflect": true,
1764
- "defaultValue": "''"
1765
- },
1766
- "globalFilterMode": {
1767
- "type": "string",
1768
- "mutable": false,
1769
- "complexType": {
1770
- "original": "KupGlobalFilterMode",
1771
- "resolved": "KupGlobalFilterMode.HIGHLIGHT | KupGlobalFilterMode.SIMPLE",
1772
- "references": {
1773
- "KupGlobalFilterMode": {
1774
- "location": "import",
1775
- "path": "../../utils/filters/filters-declarations"
1614
+ },
1615
+ "required": false,
1616
+ "optional": false,
1617
+ "docs": {
1618
+ "tags": [],
1619
+ "text": "List of filters set by the user."
1620
+ },
1621
+ "defaultValue": "{}"
1622
+ },
1623
+ "globalFilter": {
1624
+ "type": "boolean",
1625
+ "mutable": false,
1626
+ "complexType": {
1627
+ "original": "boolean",
1628
+ "resolved": "boolean",
1629
+ "references": {}
1630
+ },
1631
+ "required": false,
1632
+ "optional": false,
1633
+ "docs": {
1634
+ "tags": [],
1635
+ "text": "When set to true it activates the global filter."
1636
+ },
1637
+ "attribute": "global-filter",
1638
+ "reflect": false,
1639
+ "defaultValue": "false"
1640
+ },
1641
+ "globalFilterValue": {
1642
+ "type": "string",
1643
+ "mutable": true,
1644
+ "complexType": {
1645
+ "original": "string",
1646
+ "resolved": "string",
1647
+ "references": {}
1648
+ },
1649
+ "required": false,
1650
+ "optional": false,
1651
+ "docs": {
1652
+ "tags": [],
1653
+ "text": "The value of the global filter."
1654
+ },
1655
+ "attribute": "global-filter-value",
1656
+ "reflect": true,
1657
+ "defaultValue": "''"
1658
+ },
1659
+ "globalFilterMode": {
1660
+ "type": "string",
1661
+ "mutable": false,
1662
+ "complexType": {
1663
+ "original": "KupGlobalFilterMode",
1664
+ "resolved": "KupGlobalFilterMode.HIGHLIGHT | KupGlobalFilterMode.SIMPLE",
1665
+ "references": {
1666
+ "KupGlobalFilterMode": {
1667
+ "location": "import",
1668
+ "path": "../../utils/filters/filters-declarations"
1669
+ }
1776
1670
  }
1777
- }
1778
- },
1779
- "required": false,
1780
- "optional": false,
1781
- "docs": {
1782
- "tags": [],
1783
- "text": "The mode of the global filter (default SIMPLE)"
1784
- },
1785
- "attribute": "global-filter-mode",
1786
- "reflect": false,
1787
- "defaultValue": "KupGlobalFilterMode.SIMPLE"
1788
- },
1789
- "preventXScroll": {
1790
- "type": "boolean",
1791
- "mutable": false,
1792
- "complexType": {
1793
- "original": "boolean",
1794
- "resolved": "boolean",
1795
- "references": {}
1796
- },
1797
- "required": false,
1798
- "optional": false,
1799
- "docs": {
1800
- "tags": [{
1801
- "name": "default",
1802
- "text": "false;"
1803
- }],
1804
- "text": "Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells.\r\nIt works only on cells of the main column."
1805
- },
1806
- "attribute": "prevent-x-scroll",
1807
- "reflect": true,
1808
- "defaultValue": "false"
1809
- },
1810
- "removableColumns": {
1811
- "type": "boolean",
1812
- "mutable": false,
1813
- "complexType": {
1814
- "original": "boolean",
1815
- "resolved": "boolean",
1816
- "references": {}
1817
- },
1818
- "required": false,
1819
- "optional": false,
1820
- "docs": {
1821
- "tags": [],
1822
- "text": "Sets the possibility to remove the selected column."
1823
- },
1824
- "attribute": "removable-columns",
1825
- "reflect": false,
1826
- "defaultValue": "true"
1827
- },
1828
- "ripple": {
1829
- "type": "boolean",
1830
- "mutable": false,
1831
- "complexType": {
1832
- "original": "boolean",
1833
- "resolved": "boolean",
1834
- "references": {}
1835
- },
1836
- "required": false,
1837
- "optional": false,
1838
- "docs": {
1839
- "tags": [{
1840
- "name": "default",
1841
- "text": "true"
1842
- }],
1843
- "text": "When enabled displays Material's ripple effect on nodes (only when no columns are displayed)."
1844
- },
1845
- "attribute": "ripple",
1846
- "reflect": false,
1847
- "defaultValue": "true"
1848
- },
1849
- "scrollOnHover": {
1850
- "type": "boolean",
1851
- "mutable": false,
1852
- "complexType": {
1853
- "original": "boolean",
1854
- "resolved": "boolean",
1855
- "references": {}
1856
- },
1857
- "required": false,
1858
- "optional": false,
1859
- "docs": {
1860
- "tags": [],
1861
- "text": "Activates the scroll on hover function."
1862
- },
1863
- "attribute": "scroll-on-hover",
1864
- "reflect": false,
1865
- "defaultValue": "false"
1866
- },
1867
- "showColumns": {
1868
- "type": "boolean",
1869
- "mutable": true,
1870
- "complexType": {
1871
- "original": "boolean",
1872
- "resolved": "boolean",
1873
- "references": {}
1874
- },
1875
- "required": false,
1876
- "optional": false,
1877
- "docs": {
1878
- "tags": [],
1879
- "text": "Shows the tree data as a table."
1880
- },
1881
- "attribute": "show-columns",
1882
- "reflect": false,
1883
- "defaultValue": "false"
1884
- },
1885
- "showFilters": {
1886
- "type": "boolean",
1887
- "mutable": false,
1888
- "complexType": {
1889
- "original": "boolean",
1890
- "resolved": "boolean",
1891
- "references": {}
1892
- },
1893
- "required": false,
1894
- "optional": false,
1895
- "docs": {
1896
- "tags": [],
1897
- "text": "When set to true enables the column filters."
1898
- },
1899
- "attribute": "show-filters",
1900
- "reflect": false,
1901
- "defaultValue": "true"
1902
- },
1903
- "showFooter": {
1904
- "type": "boolean",
1905
- "mutable": false,
1906
- "complexType": {
1907
- "original": "boolean",
1908
- "resolved": "boolean",
1909
- "references": {}
1910
- },
1911
- "required": false,
1912
- "optional": false,
1913
- "docs": {
1914
- "tags": [],
1915
- "text": "When set to true shows the footer."
1916
- },
1917
- "attribute": "show-footer",
1918
- "reflect": false,
1919
- "defaultValue": "false"
1920
- },
1921
- "showHeader": {
1922
- "type": "boolean",
1923
- "mutable": true,
1924
- "complexType": {
1925
- "original": "boolean",
1926
- "resolved": "boolean",
1927
- "references": {}
1928
- },
1929
- "required": false,
1930
- "optional": false,
1931
- "docs": {
1932
- "tags": [{
1933
- "name": "see",
1934
- "text": "showColumns"
1935
- }],
1936
- "text": "Flag: shows the header of the tree when the tree is displayed as a table."
1937
- },
1938
- "attribute": "show-header",
1939
- "reflect": false,
1940
- "defaultValue": "false"
1941
- },
1942
- "showIcons": {
1943
- "type": "boolean",
1944
- "mutable": false,
1945
- "complexType": {
1946
- "original": "boolean",
1947
- "resolved": "boolean",
1948
- "references": {}
1949
- },
1950
- "required": false,
1951
- "optional": false,
1952
- "docs": {
1953
- "tags": [],
1954
- "text": "Shows the icons of the nodes."
1955
- },
1956
- "attribute": "show-icons",
1957
- "reflect": false,
1958
- "defaultValue": "true"
1959
- },
1960
- "stateId": {
1961
- "type": "string",
1962
- "mutable": false,
1963
- "complexType": {
1964
- "original": "string",
1965
- "resolved": "string",
1966
- "references": {}
1967
- },
1968
- "required": false,
1969
- "optional": false,
1970
- "docs": {
1971
- "tags": [],
1972
- "text": ""
1973
- },
1974
- "attribute": "state-id",
1975
- "reflect": false,
1976
- "defaultValue": "''"
1977
- },
1978
- "store": {
1979
- "type": "unknown",
1980
- "mutable": false,
1981
- "complexType": {
1982
- "original": "KupStore",
1983
- "resolved": "KupStore",
1984
- "references": {
1985
- "KupStore": {
1986
- "location": "import",
1987
- "path": "../kup-state/kup-store"
1671
+ },
1672
+ "required": false,
1673
+ "optional": false,
1674
+ "docs": {
1675
+ "tags": [],
1676
+ "text": "The mode of the global filter (default SIMPLE)"
1677
+ },
1678
+ "attribute": "global-filter-mode",
1679
+ "reflect": false,
1680
+ "defaultValue": "KupGlobalFilterMode.SIMPLE"
1681
+ },
1682
+ "preventXScroll": {
1683
+ "type": "boolean",
1684
+ "mutable": false,
1685
+ "complexType": {
1686
+ "original": "boolean",
1687
+ "resolved": "boolean",
1688
+ "references": {}
1689
+ },
1690
+ "required": false,
1691
+ "optional": false,
1692
+ "docs": {
1693
+ "tags": [{
1694
+ "name": "default",
1695
+ "text": "false;"
1696
+ }],
1697
+ "text": "Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells.\r\nIt works only on cells of the main column."
1698
+ },
1699
+ "attribute": "prevent-x-scroll",
1700
+ "reflect": true,
1701
+ "defaultValue": "false"
1702
+ },
1703
+ "removableColumns": {
1704
+ "type": "boolean",
1705
+ "mutable": false,
1706
+ "complexType": {
1707
+ "original": "boolean",
1708
+ "resolved": "boolean",
1709
+ "references": {}
1710
+ },
1711
+ "required": false,
1712
+ "optional": false,
1713
+ "docs": {
1714
+ "tags": [],
1715
+ "text": "Sets the possibility to remove the selected column."
1716
+ },
1717
+ "attribute": "removable-columns",
1718
+ "reflect": false,
1719
+ "defaultValue": "true"
1720
+ },
1721
+ "ripple": {
1722
+ "type": "boolean",
1723
+ "mutable": false,
1724
+ "complexType": {
1725
+ "original": "boolean",
1726
+ "resolved": "boolean",
1727
+ "references": {}
1728
+ },
1729
+ "required": false,
1730
+ "optional": false,
1731
+ "docs": {
1732
+ "tags": [{
1733
+ "name": "default",
1734
+ "text": "true"
1735
+ }],
1736
+ "text": "When enabled displays Material's ripple effect on nodes (only when no columns are displayed)."
1737
+ },
1738
+ "attribute": "ripple",
1739
+ "reflect": false,
1740
+ "defaultValue": "true"
1741
+ },
1742
+ "scrollOnHover": {
1743
+ "type": "boolean",
1744
+ "mutable": false,
1745
+ "complexType": {
1746
+ "original": "boolean",
1747
+ "resolved": "boolean",
1748
+ "references": {}
1749
+ },
1750
+ "required": false,
1751
+ "optional": false,
1752
+ "docs": {
1753
+ "tags": [],
1754
+ "text": "Activates the scroll on hover function."
1755
+ },
1756
+ "attribute": "scroll-on-hover",
1757
+ "reflect": false,
1758
+ "defaultValue": "false"
1759
+ },
1760
+ "showColumns": {
1761
+ "type": "boolean",
1762
+ "mutable": true,
1763
+ "complexType": {
1764
+ "original": "boolean",
1765
+ "resolved": "boolean",
1766
+ "references": {}
1767
+ },
1768
+ "required": false,
1769
+ "optional": false,
1770
+ "docs": {
1771
+ "tags": [],
1772
+ "text": "Shows the tree data as a table."
1773
+ },
1774
+ "attribute": "show-columns",
1775
+ "reflect": false,
1776
+ "defaultValue": "false"
1777
+ },
1778
+ "showFilters": {
1779
+ "type": "boolean",
1780
+ "mutable": false,
1781
+ "complexType": {
1782
+ "original": "boolean",
1783
+ "resolved": "boolean",
1784
+ "references": {}
1785
+ },
1786
+ "required": false,
1787
+ "optional": false,
1788
+ "docs": {
1789
+ "tags": [],
1790
+ "text": "When set to true enables the column filters."
1791
+ },
1792
+ "attribute": "show-filters",
1793
+ "reflect": false,
1794
+ "defaultValue": "true"
1795
+ },
1796
+ "showFooter": {
1797
+ "type": "boolean",
1798
+ "mutable": false,
1799
+ "complexType": {
1800
+ "original": "boolean",
1801
+ "resolved": "boolean",
1802
+ "references": {}
1803
+ },
1804
+ "required": false,
1805
+ "optional": false,
1806
+ "docs": {
1807
+ "tags": [],
1808
+ "text": "When set to true shows the footer."
1809
+ },
1810
+ "attribute": "show-footer",
1811
+ "reflect": false,
1812
+ "defaultValue": "false"
1813
+ },
1814
+ "showHeader": {
1815
+ "type": "boolean",
1816
+ "mutable": true,
1817
+ "complexType": {
1818
+ "original": "boolean",
1819
+ "resolved": "boolean",
1820
+ "references": {}
1821
+ },
1822
+ "required": false,
1823
+ "optional": false,
1824
+ "docs": {
1825
+ "tags": [{
1826
+ "name": "see",
1827
+ "text": "showColumns"
1828
+ }],
1829
+ "text": "Flag: shows the header of the tree when the tree is displayed as a table."
1830
+ },
1831
+ "attribute": "show-header",
1832
+ "reflect": false,
1833
+ "defaultValue": "false"
1834
+ },
1835
+ "showIcons": {
1836
+ "type": "boolean",
1837
+ "mutable": false,
1838
+ "complexType": {
1839
+ "original": "boolean",
1840
+ "resolved": "boolean",
1841
+ "references": {}
1842
+ },
1843
+ "required": false,
1844
+ "optional": false,
1845
+ "docs": {
1846
+ "tags": [],
1847
+ "text": "Shows the icons of the nodes."
1848
+ },
1849
+ "attribute": "show-icons",
1850
+ "reflect": false,
1851
+ "defaultValue": "true"
1852
+ },
1853
+ "stateId": {
1854
+ "type": "string",
1855
+ "mutable": false,
1856
+ "complexType": {
1857
+ "original": "string",
1858
+ "resolved": "string",
1859
+ "references": {}
1860
+ },
1861
+ "required": false,
1862
+ "optional": false,
1863
+ "docs": {
1864
+ "tags": [],
1865
+ "text": ""
1866
+ },
1867
+ "attribute": "state-id",
1868
+ "reflect": false,
1869
+ "defaultValue": "''"
1870
+ },
1871
+ "store": {
1872
+ "type": "unknown",
1873
+ "mutable": false,
1874
+ "complexType": {
1875
+ "original": "KupStore",
1876
+ "resolved": "KupStore",
1877
+ "references": {
1878
+ "KupStore": {
1879
+ "location": "import",
1880
+ "path": "../kup-state/kup-store"
1881
+ }
1988
1882
  }
1883
+ },
1884
+ "required": false,
1885
+ "optional": false,
1886
+ "docs": {
1887
+ "tags": [],
1888
+ "text": ""
1989
1889
  }
1990
1890
  },
1991
- "required": false,
1992
- "optional": false,
1993
- "docs": {
1994
- "tags": [],
1995
- "text": ""
1996
- }
1997
- },
1998
- "useDynamicExpansion": {
1999
- "type": "boolean",
2000
- "mutable": false,
2001
- "complexType": {
2002
- "original": "boolean",
2003
- "resolved": "boolean",
2004
- "references": {}
2005
- },
2006
- "required": false,
2007
- "optional": false,
2008
- "docs": {
2009
- "tags": [{
2010
- "name": "see",
2011
- "text": "dynamicExpansionCallback"
2012
- }],
2013
- "text": "When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the\r\ntree have been passed inside the data property.\r\n\r\nTherefore, when expanding a node, the tree must emit an event (or run a given callback)\r\nand wait for the child nodes to be downloaded from the server.\r\n\r\nFor more information:"
2014
- },
2015
- "attribute": "use-dynamic-expansion",
2016
- "reflect": false,
2017
- "defaultValue": "false"
2018
- },
2019
- "totals": {
2020
- "type": "unknown",
2021
- "mutable": true,
2022
- "complexType": {
2023
- "original": "TotalsMap",
2024
- "resolved": "TotalsMap",
2025
- "references": {
2026
- "TotalsMap": {
2027
- "location": "import",
2028
- "path": "./../kup-data-table/kup-data-table-declarations"
1891
+ "useDynamicExpansion": {
1892
+ "type": "boolean",
1893
+ "mutable": false,
1894
+ "complexType": {
1895
+ "original": "boolean",
1896
+ "resolved": "boolean",
1897
+ "references": {}
1898
+ },
1899
+ "required": false,
1900
+ "optional": false,
1901
+ "docs": {
1902
+ "tags": [{
1903
+ "name": "see",
1904
+ "text": "dynamicExpansionCallback"
1905
+ }],
1906
+ "text": "When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the\r\ntree have been passed inside the data property.\r\n\r\nTherefore, when expanding a node, the tree must emit an event (or run a given callback)\r\nand wait for the child nodes to be downloaded from the server.\r\n\r\nFor more information:"
1907
+ },
1908
+ "attribute": "use-dynamic-expansion",
1909
+ "reflect": false,
1910
+ "defaultValue": "false"
1911
+ },
1912
+ "totals": {
1913
+ "type": "unknown",
1914
+ "mutable": true,
1915
+ "complexType": {
1916
+ "original": "TotalsMap",
1917
+ "resolved": "TotalsMap",
1918
+ "references": {
1919
+ "TotalsMap": {
1920
+ "location": "import",
1921
+ "path": "./../kup-data-table/kup-data-table-declarations"
1922
+ }
2029
1923
  }
1924
+ },
1925
+ "required": false,
1926
+ "optional": false,
1927
+ "docs": {
1928
+ "tags": [],
1929
+ "text": "Defines the current totals options."
2030
1930
  }
2031
- },
2032
- "required": false,
2033
- "optional": false,
2034
- "docs": {
2035
- "tags": [],
2036
- "text": "Defines the current totals options."
2037
1931
  }
2038
- }
2039
- }; }
2040
- static get states() { return {
2041
- "treeColumnVisible": {},
2042
- "openedTotalMenu": {},
2043
- "columnMenuAnchor": {},
2044
- "stateSwitcher": {},
2045
- "selectedNode": {}
2046
- }; }
2047
- static get events() { return [{
2048
- "method": "kupTreeNodeCollapse",
2049
- "name": "kup-tree-nodecollapse",
2050
- "bubbles": true,
2051
- "cancelable": false,
2052
- "composed": true,
2053
- "docs": {
2054
- "tags": [],
2055
- "text": "Fired when a KupTreeNode gets collapsed (closed)."
2056
- },
2057
- "complexType": {
2058
- "original": "KupTreeNodeCollapseEventPayload",
2059
- "resolved": "KupTreeNodeCollapseEventPayload",
2060
- "references": {
2061
- "KupTreeNodeCollapseEventPayload": {
2062
- "location": "import",
2063
- "path": "./kup-tree-declarations"
1932
+ };
1933
+ }
1934
+ static get states() {
1935
+ return {
1936
+ "treeColumnVisible": {},
1937
+ "openedTotalMenu": {},
1938
+ "columnMenuAnchor": {},
1939
+ "stateSwitcher": {},
1940
+ "selectedNode": {}
1941
+ };
1942
+ }
1943
+ static get events() {
1944
+ return [{
1945
+ "method": "kupTreeNodeCollapse",
1946
+ "name": "kup-tree-nodecollapse",
1947
+ "bubbles": true,
1948
+ "cancelable": false,
1949
+ "composed": true,
1950
+ "docs": {
1951
+ "tags": [],
1952
+ "text": "Fired when a KupTreeNode gets collapsed (closed)."
1953
+ },
1954
+ "complexType": {
1955
+ "original": "KupTreeNodeCollapseEventPayload",
1956
+ "resolved": "KupTreeNodeCollapseEventPayload",
1957
+ "references": {
1958
+ "KupTreeNodeCollapseEventPayload": {
1959
+ "location": "import",
1960
+ "path": "./kup-tree-declarations"
1961
+ }
2064
1962
  }
2065
1963
  }
2066
- }
2067
- }, {
2068
- "method": "kupTreeNodeExpand",
2069
- "name": "kup-tree-nodeexpand",
2070
- "bubbles": true,
2071
- "cancelable": false,
2072
- "composed": true,
2073
- "docs": {
2074
- "tags": [{
2075
- "name": "event",
2076
- "text": "kup-tree-nodeexpand"
2077
- }, {
2078
- "name": "type",
2079
- "text": "{object}"
2080
- }, {
2081
- "name": "property",
2082
- "text": "{TreeNodePath} treeNodePath - The array of indexes to retrieve the current treeNode inside the data prop."
2083
- }, {
2084
- "name": "property",
2085
- "text": "{KupTreeNode} treeNode - Reference to the KupTreeNode data object which is being expanded (passed through the data prop)."
2086
- }, {
2087
- "name": "property",
2088
- "text": "{boolean} usesDynamicExpansion - Flag to notify that the component is running in dynamicExpansion mode."
2089
- }, {
2090
- "name": "property",
2091
- "text": "{boolean} dynamicExpansionRequireChildren - Flag to notify that the current dynamicExpansion event\r\nrequires the parent component to add KupTreeNode children to the given KupTreeNode."
2092
- }, {
2093
- "name": "see",
2094
- "text": "useDynamicExpansion *"
2095
- }, {
2096
- "name": "see",
2097
- "text": "dynamicExpansionCallback *"
2098
- }, {
2099
- "name": "since",
2100
- "text": "1.0.0"
2101
- }],
2102
- "text": "Fired when a node expansion ion has been triggered.\r\nContains additional data when the tree is using the dynamicExpansion feature."
2103
- },
2104
- "complexType": {
2105
- "original": "KupTreeNodeExpandEventPayload",
2106
- "resolved": "KupTreeNodeExpandEventPayload",
2107
- "references": {
2108
- "KupTreeNodeExpandEventPayload": {
2109
- "location": "import",
2110
- "path": "./kup-tree-declarations"
1964
+ }, {
1965
+ "method": "kupTreeNodeExpand",
1966
+ "name": "kup-tree-nodeexpand",
1967
+ "bubbles": true,
1968
+ "cancelable": false,
1969
+ "composed": true,
1970
+ "docs": {
1971
+ "tags": [{
1972
+ "name": "event",
1973
+ "text": "kup-tree-nodeexpand"
1974
+ }, {
1975
+ "name": "type",
1976
+ "text": "{object}"
1977
+ }, {
1978
+ "name": "property",
1979
+ "text": "{TreeNodePath} treeNodePath - The array of indexes to retrieve the current treeNode inside the data prop."
1980
+ }, {
1981
+ "name": "property",
1982
+ "text": "{KupTreeNode} treeNode - Reference to the KupTreeNode data object which is being expanded (passed through the data prop)."
1983
+ }, {
1984
+ "name": "property",
1985
+ "text": "{boolean} usesDynamicExpansion - Flag to notify that the component is running in dynamicExpansion mode."
1986
+ }, {
1987
+ "name": "property",
1988
+ "text": "{boolean} dynamicExpansionRequireChildren - Flag to notify that the current dynamicExpansion event\r\nrequires the parent component to add KupTreeNode children to the given KupTreeNode."
1989
+ }, {
1990
+ "name": "see",
1991
+ "text": "useDynamicExpansion *"
1992
+ }, {
1993
+ "name": "see",
1994
+ "text": "dynamicExpansionCallback *"
1995
+ }, {
1996
+ "name": "since",
1997
+ "text": "1.0.0"
1998
+ }],
1999
+ "text": "Fired when a node expansion ion has been triggered.\r\nContains additional data when the tree is using the dynamicExpansion feature."
2000
+ },
2001
+ "complexType": {
2002
+ "original": "KupTreeNodeExpandEventPayload",
2003
+ "resolved": "KupTreeNodeExpandEventPayload",
2004
+ "references": {
2005
+ "KupTreeNodeExpandEventPayload": {
2006
+ "location": "import",
2007
+ "path": "./kup-tree-declarations"
2008
+ }
2111
2009
  }
2112
2010
  }
2113
- }
2114
- }, {
2115
- "method": "kupTreeNodeSelected",
2116
- "name": "kup-tree-nodeselected",
2117
- "bubbles": true,
2118
- "cancelable": false,
2119
- "composed": true,
2120
- "docs": {
2121
- "tags": [],
2122
- "text": "Fired when a node of the tree has been selected"
2123
- },
2124
- "complexType": {
2125
- "original": "KupTreeNodeSelectedEventPayload",
2126
- "resolved": "KupTreeNodeSelectedEventPayload",
2127
- "references": {
2128
- "KupTreeNodeSelectedEventPayload": {
2129
- "location": "import",
2130
- "path": "./kup-tree-declarations"
2011
+ }, {
2012
+ "method": "kupTreeNodeSelected",
2013
+ "name": "kup-tree-nodeselected",
2014
+ "bubbles": true,
2015
+ "cancelable": false,
2016
+ "composed": true,
2017
+ "docs": {
2018
+ "tags": [],
2019
+ "text": "Fired when a node of the tree has been selected"
2020
+ },
2021
+ "complexType": {
2022
+ "original": "KupTreeNodeSelectedEventPayload",
2023
+ "resolved": "KupTreeNodeSelectedEventPayload",
2024
+ "references": {
2025
+ "KupTreeNodeSelectedEventPayload": {
2026
+ "location": "import",
2027
+ "path": "./kup-tree-declarations"
2028
+ }
2131
2029
  }
2132
2030
  }
2133
- }
2134
- }, {
2135
- "method": "kupTreeNodeButtonClick",
2136
- "name": "kup-tree-buttonclick",
2137
- "bubbles": true,
2138
- "cancelable": false,
2139
- "composed": true,
2140
- "docs": {
2141
- "tags": [],
2142
- "text": ""
2143
- },
2144
- "complexType": {
2145
- "original": "KupTreeNodeButtonClickEventPayload",
2146
- "resolved": "KupTreeNodeButtonClickEventPayload",
2147
- "references": {
2148
- "KupTreeNodeButtonClickEventPayload": {
2149
- "location": "import",
2150
- "path": "./kup-tree-declarations"
2031
+ }, {
2032
+ "method": "kupTreeNodeButtonClick",
2033
+ "name": "kup-tree-buttonclick",
2034
+ "bubbles": true,
2035
+ "cancelable": false,
2036
+ "composed": true,
2037
+ "docs": {
2038
+ "tags": [],
2039
+ "text": ""
2040
+ },
2041
+ "complexType": {
2042
+ "original": "KupTreeNodeButtonClickEventPayload",
2043
+ "resolved": "KupTreeNodeButtonClickEventPayload",
2044
+ "references": {
2045
+ "KupTreeNodeButtonClickEventPayload": {
2046
+ "location": "import",
2047
+ "path": "./kup-tree-declarations"
2048
+ }
2151
2049
  }
2152
2050
  }
2153
- }
2154
- }, {
2155
- "method": "kupTreeContextMenu",
2156
- "name": "kup-tree-contextmenu",
2157
- "bubbles": true,
2158
- "cancelable": false,
2159
- "composed": true,
2160
- "docs": {
2161
- "tags": [],
2162
- "text": "Generic right click event on tree."
2163
- },
2164
- "complexType": {
2165
- "original": "KupTreeContextMenuEventPayload",
2166
- "resolved": "KupTreeContextMenuEventPayload",
2167
- "references": {
2168
- "KupTreeContextMenuEventPayload": {
2169
- "location": "import",
2170
- "path": "./kup-tree-declarations"
2051
+ }, {
2052
+ "method": "kupTreeContextMenu",
2053
+ "name": "kup-tree-contextmenu",
2054
+ "bubbles": true,
2055
+ "cancelable": false,
2056
+ "composed": true,
2057
+ "docs": {
2058
+ "tags": [],
2059
+ "text": "Generic right click event on tree."
2060
+ },
2061
+ "complexType": {
2062
+ "original": "KupTreeContextMenuEventPayload",
2063
+ "resolved": "KupTreeContextMenuEventPayload",
2064
+ "references": {
2065
+ "KupTreeContextMenuEventPayload": {
2066
+ "location": "import",
2067
+ "path": "./kup-tree-declarations"
2068
+ }
2171
2069
  }
2172
2070
  }
2173
- }
2174
- }, {
2175
- "method": "kupTreeColumnMenu",
2176
- "name": "kup-tree-columnmenu",
2177
- "bubbles": true,
2178
- "cancelable": false,
2179
- "composed": true,
2180
- "docs": {
2181
- "tags": [],
2182
- "text": "When the column menu is being opened/closed."
2183
- },
2184
- "complexType": {
2185
- "original": "KupTreeColumnMenuEventPayload",
2186
- "resolved": "KupTreeColumnMenuEventPayload",
2187
- "references": {
2188
- "KupTreeColumnMenuEventPayload": {
2189
- "location": "import",
2190
- "path": "./kup-tree-declarations"
2071
+ }, {
2072
+ "method": "kupTreeColumnMenu",
2073
+ "name": "kup-tree-columnmenu",
2074
+ "bubbles": true,
2075
+ "cancelable": false,
2076
+ "composed": true,
2077
+ "docs": {
2078
+ "tags": [],
2079
+ "text": "When the column menu is being opened/closed."
2080
+ },
2081
+ "complexType": {
2082
+ "original": "KupTreeColumnMenuEventPayload",
2083
+ "resolved": "KupTreeColumnMenuEventPayload",
2084
+ "references": {
2085
+ "KupTreeColumnMenuEventPayload": {
2086
+ "location": "import",
2087
+ "path": "./kup-tree-declarations"
2088
+ }
2191
2089
  }
2192
2090
  }
2193
- }
2194
- }, {
2195
- "method": "kupDidLoad",
2196
- "name": "kup-tree-didload",
2197
- "bubbles": true,
2198
- "cancelable": false,
2199
- "composed": true,
2200
- "docs": {
2201
- "tags": [],
2202
- "text": ""
2203
- },
2204
- "complexType": {
2205
- "original": "KupEventPayload",
2206
- "resolved": "KupEventPayload",
2207
- "references": {
2208
- "KupEventPayload": {
2209
- "location": "import",
2210
- "path": "../../types/GenericTypes"
2091
+ }, {
2092
+ "method": "kupDidLoad",
2093
+ "name": "kup-tree-didload",
2094
+ "bubbles": true,
2095
+ "cancelable": false,
2096
+ "composed": true,
2097
+ "docs": {
2098
+ "tags": [],
2099
+ "text": ""
2100
+ },
2101
+ "complexType": {
2102
+ "original": "KupEventPayload",
2103
+ "resolved": "KupEventPayload",
2104
+ "references": {
2105
+ "KupEventPayload": {
2106
+ "location": "import",
2107
+ "path": "../../types/GenericTypes"
2108
+ }
2211
2109
  }
2212
2110
  }
2213
- }
2214
- }, {
2215
- "method": "kupDidUnload",
2216
- "name": "kup-tree-didunload",
2217
- "bubbles": true,
2218
- "cancelable": false,
2219
- "composed": true,
2220
- "docs": {
2221
- "tags": [],
2222
- "text": "Triggered when stop propagation event"
2223
- },
2224
- "complexType": {
2225
- "original": "KupEventPayload",
2226
- "resolved": "KupEventPayload",
2227
- "references": {
2228
- "KupEventPayload": {
2229
- "location": "import",
2230
- "path": "../../types/GenericTypes"
2111
+ }, {
2112
+ "method": "kupDidUnload",
2113
+ "name": "kup-tree-didunload",
2114
+ "bubbles": true,
2115
+ "cancelable": false,
2116
+ "composed": true,
2117
+ "docs": {
2118
+ "tags": [],
2119
+ "text": "Triggered when stop propagation event"
2120
+ },
2121
+ "complexType": {
2122
+ "original": "KupEventPayload",
2123
+ "resolved": "KupEventPayload",
2124
+ "references": {
2125
+ "KupEventPayload": {
2126
+ "location": "import",
2127
+ "path": "../../types/GenericTypes"
2128
+ }
2231
2129
  }
2232
2130
  }
2233
- }
2234
- }, {
2235
- "method": "kupTreeNodeDblClick",
2236
- "name": "kup-tree-nodedblclick",
2237
- "bubbles": true,
2238
- "cancelable": false,
2239
- "composed": true,
2240
- "docs": {
2241
- "tags": [],
2242
- "text": ""
2243
- },
2244
- "complexType": {
2245
- "original": "KupTreeNodeCollapseEventPayload",
2246
- "resolved": "KupTreeNodeCollapseEventPayload",
2247
- "references": {
2248
- "KupTreeNodeCollapseEventPayload": {
2249
- "location": "import",
2250
- "path": "./kup-tree-declarations"
2131
+ }, {
2132
+ "method": "kupTreeNodeDblClick",
2133
+ "name": "kup-tree-nodedblclick",
2134
+ "bubbles": true,
2135
+ "cancelable": false,
2136
+ "composed": true,
2137
+ "docs": {
2138
+ "tags": [],
2139
+ "text": ""
2140
+ },
2141
+ "complexType": {
2142
+ "original": "KupTreeNodeCollapseEventPayload",
2143
+ "resolved": "KupTreeNodeCollapseEventPayload",
2144
+ "references": {
2145
+ "KupTreeNodeCollapseEventPayload": {
2146
+ "location": "import",
2147
+ "path": "./kup-tree-declarations"
2148
+ }
2251
2149
  }
2252
2150
  }
2253
- }
2254
- }, {
2255
- "method": "kupTreeDynamicMassExpansion",
2256
- "name": "kup-tree-dynamicmassexpansion",
2257
- "bubbles": true,
2258
- "cancelable": false,
2259
- "composed": true,
2260
- "docs": {
2261
- "tags": [],
2262
- "text": ""
2263
- },
2264
- "complexType": {
2265
- "original": "KupTreeDynamicMassExpansionEventPayload",
2266
- "resolved": "KupTreeDynamicMassExpansionEventPayload",
2267
- "references": {
2268
- "KupTreeDynamicMassExpansionEventPayload": {
2269
- "location": "import",
2270
- "path": "./kup-tree-declarations"
2151
+ }, {
2152
+ "method": "kupTreeDynamicMassExpansion",
2153
+ "name": "kup-tree-dynamicmassexpansion",
2154
+ "bubbles": true,
2155
+ "cancelable": false,
2156
+ "composed": true,
2157
+ "docs": {
2158
+ "tags": [],
2159
+ "text": ""
2160
+ },
2161
+ "complexType": {
2162
+ "original": "KupTreeDynamicMassExpansionEventPayload",
2163
+ "resolved": "KupTreeDynamicMassExpansionEventPayload",
2164
+ "references": {
2165
+ "KupTreeDynamicMassExpansionEventPayload": {
2166
+ "location": "import",
2167
+ "path": "./kup-tree-declarations"
2168
+ }
2271
2169
  }
2272
2170
  }
2273
- }
2274
- }, {
2275
- "method": "kupColumnRemove",
2276
- "name": "kup-tree-columnremove",
2277
- "bubbles": true,
2278
- "cancelable": false,
2279
- "composed": true,
2280
- "docs": {
2281
- "tags": [],
2282
- "text": "Event fired when columns are removed (set to hidden)."
2283
- },
2284
- "complexType": {
2285
- "original": "KupTreeColumnRemoveEventPayload",
2286
- "resolved": "KupTreeColumnRemoveEventPayload",
2287
- "references": {
2288
- "KupTreeColumnRemoveEventPayload": {
2289
- "location": "import",
2290
- "path": "./kup-tree-declarations"
2171
+ }, {
2172
+ "method": "kupColumnRemove",
2173
+ "name": "kup-tree-columnremove",
2174
+ "bubbles": true,
2175
+ "cancelable": false,
2176
+ "composed": true,
2177
+ "docs": {
2178
+ "tags": [],
2179
+ "text": "Event fired when columns are removed (set to hidden)."
2180
+ },
2181
+ "complexType": {
2182
+ "original": "KupTreeColumnRemoveEventPayload",
2183
+ "resolved": "KupTreeColumnRemoveEventPayload",
2184
+ "references": {
2185
+ "KupTreeColumnRemoveEventPayload": {
2186
+ "location": "import",
2187
+ "path": "./kup-tree-declarations"
2188
+ }
2291
2189
  }
2292
2190
  }
2293
- }
2294
- }]; }
2295
- static get methods() { return {
2296
- "getSelectedNode": {
2297
- "complexType": {
2298
- "signature": "() => Promise<TreeNodePath>",
2299
- "parameters": [],
2300
- "references": {
2301
- "Promise": {
2302
- "location": "global"
2191
+ }];
2192
+ }
2193
+ static get methods() {
2194
+ return {
2195
+ "getSelectedNode": {
2196
+ "complexType": {
2197
+ "signature": "() => Promise<TreeNodePath>",
2198
+ "parameters": [],
2199
+ "references": {
2200
+ "Promise": {
2201
+ "location": "global"
2202
+ },
2203
+ "TreeNodePath": {
2204
+ "location": "import",
2205
+ "path": "./kup-tree-declarations"
2206
+ }
2303
2207
  },
2304
- "TreeNodePath": {
2305
- "location": "import",
2306
- "path": "./kup-tree-declarations"
2307
- }
2208
+ "return": "Promise<TreeNodePath>"
2308
2209
  },
2309
- "return": "Promise<TreeNodePath>"
2210
+ "docs": {
2211
+ "text": "This method will get the selected nodes of the component.",
2212
+ "tags": []
2213
+ }
2310
2214
  },
2311
- "docs": {
2312
- "text": "This method will get the selected nodes of the component.",
2313
- "tags": []
2314
- }
2315
- },
2316
- "setSelectedNode": {
2317
- "complexType": {
2318
- "signature": "(treeNodePath: string, emitEvent?: boolean) => Promise<void>",
2319
- "parameters": [{
2320
- "tags": [],
2321
- "text": ""
2322
- }, {
2323
- "tags": [{
2324
- "name": "param",
2325
- "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
2326
- }],
2327
- "text": "- The event will always be emitted unless emitEvent is set to false."
2328
- }],
2329
- "references": {
2330
- "Promise": {
2331
- "location": "global"
2332
- }
2215
+ "setSelectedNode": {
2216
+ "complexType": {
2217
+ "signature": "(treeNodePath: string, emitEvent?: boolean) => Promise<void>",
2218
+ "parameters": [{
2219
+ "tags": [],
2220
+ "text": ""
2221
+ }, {
2222
+ "tags": [{
2223
+ "name": "param",
2224
+ "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
2225
+ }],
2226
+ "text": "- The event will always be emitted unless emitEvent is set to false."
2227
+ }],
2228
+ "references": {
2229
+ "Promise": {
2230
+ "location": "global"
2231
+ }
2232
+ },
2233
+ "return": "Promise<void>"
2333
2234
  },
2334
- "return": "Promise<void>"
2235
+ "docs": {
2236
+ "text": "This method will set the selected rows of the component.",
2237
+ "tags": [{
2238
+ "name": "param",
2239
+ "text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
2240
+ }, {
2241
+ "name": "param",
2242
+ "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
2243
+ }]
2244
+ }
2335
2245
  },
2336
- "docs": {
2337
- "text": "This method will set the selected rows of the component.",
2338
- "tags": [{
2339
- "name": "param",
2340
- "text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
2341
- }, {
2342
- "name": "param",
2343
- "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
2344
- }]
2345
- }
2346
- },
2347
- "isEmpty": {
2348
- "complexType": {
2349
- "signature": "() => Promise<boolean>",
2350
- "parameters": [],
2351
- "references": {
2352
- "Promise": {
2353
- "location": "global"
2354
- }
2246
+ "isEmpty": {
2247
+ "complexType": {
2248
+ "signature": "() => Promise<boolean>",
2249
+ "parameters": [],
2250
+ "references": {
2251
+ "Promise": {
2252
+ "location": "global"
2253
+ }
2254
+ },
2255
+ "return": "Promise<boolean>"
2355
2256
  },
2356
- "return": "Promise<boolean>"
2257
+ "docs": {
2258
+ "text": "True if there aren't visible nodes",
2259
+ "tags": []
2260
+ }
2357
2261
  },
2358
- "docs": {
2359
- "text": "True if there aren't visible nodes",
2360
- "tags": []
2361
- }
2362
- },
2363
- "closeColumnMenu": {
2364
- "complexType": {
2365
- "signature": "() => Promise<void>",
2366
- "parameters": [],
2367
- "references": {
2368
- "Promise": {
2369
- "location": "global"
2370
- }
2262
+ "closeColumnMenu": {
2263
+ "complexType": {
2264
+ "signature": "() => Promise<void>",
2265
+ "parameters": [],
2266
+ "references": {
2267
+ "Promise": {
2268
+ "location": "global"
2269
+ }
2270
+ },
2271
+ "return": "Promise<void>"
2371
2272
  },
2372
- "return": "Promise<void>"
2273
+ "docs": {
2274
+ "text": "Closes any opened column menu.",
2275
+ "tags": []
2276
+ }
2373
2277
  },
2374
- "docs": {
2375
- "text": "Closes any opened column menu.",
2376
- "tags": []
2377
- }
2378
- },
2379
- "collapseAll": {
2380
- "complexType": {
2381
- "signature": "() => Promise<void>",
2382
- "parameters": [],
2383
- "references": {
2384
- "Promise": {
2385
- "location": "global"
2386
- }
2278
+ "collapseAll": {
2279
+ "complexType": {
2280
+ "signature": "() => Promise<void>",
2281
+ "parameters": [],
2282
+ "references": {
2283
+ "Promise": {
2284
+ "location": "global"
2285
+ }
2286
+ },
2287
+ "return": "Promise<void>"
2387
2288
  },
2388
- "return": "Promise<void>"
2289
+ "docs": {
2290
+ "text": "Collapses all nodes.",
2291
+ "tags": []
2292
+ }
2389
2293
  },
2390
- "docs": {
2391
- "text": "Collapses all nodes.",
2392
- "tags": []
2393
- }
2394
- },
2395
- "expandAll": {
2396
- "complexType": {
2397
- "signature": "() => Promise<void>",
2398
- "parameters": [],
2399
- "references": {
2400
- "Promise": {
2401
- "location": "global"
2402
- }
2294
+ "expandAll": {
2295
+ "complexType": {
2296
+ "signature": "() => Promise<void>",
2297
+ "parameters": [],
2298
+ "references": {
2299
+ "Promise": {
2300
+ "location": "global"
2301
+ }
2302
+ },
2303
+ "return": "Promise<void>"
2403
2304
  },
2404
- "return": "Promise<void>"
2305
+ "docs": {
2306
+ "text": "Expands all nodes.",
2307
+ "tags": []
2308
+ }
2405
2309
  },
2406
- "docs": {
2407
- "text": "Expands all nodes.",
2408
- "tags": []
2409
- }
2410
- },
2411
- "getProps": {
2412
- "complexType": {
2413
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
2414
- "parameters": [{
2415
- "tags": [{
2416
- "name": "param",
2417
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
2418
- }],
2419
- "text": "- When provided and true, the result will be the list of props with their description."
2420
- }],
2421
- "references": {
2422
- "Promise": {
2423
- "location": "global"
2310
+ "getProps": {
2311
+ "complexType": {
2312
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
2313
+ "parameters": [{
2314
+ "tags": [{
2315
+ "name": "param",
2316
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
2317
+ }],
2318
+ "text": "- When provided and true, the result will be the list of props with their description."
2319
+ }],
2320
+ "references": {
2321
+ "Promise": {
2322
+ "location": "global"
2323
+ },
2324
+ "GenericObject": {
2325
+ "location": "import",
2326
+ "path": "../../types/GenericTypes"
2327
+ }
2424
2328
  },
2425
- "GenericObject": {
2426
- "location": "import",
2427
- "path": "../../types/GenericTypes"
2428
- }
2329
+ "return": "Promise<GenericObject>"
2429
2330
  },
2430
- "return": "Promise<GenericObject>"
2331
+ "docs": {
2332
+ "text": "Used to retrieve component's props values.",
2333
+ "tags": [{
2334
+ "name": "param",
2335
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
2336
+ }, {
2337
+ "name": "returns",
2338
+ "text": "List of props as object, each key will be a prop."
2339
+ }]
2340
+ }
2431
2341
  },
2432
- "docs": {
2433
- "text": "Used to retrieve component's props values.",
2434
- "tags": [{
2435
- "name": "param",
2436
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
2437
- }, {
2438
- "name": "returns",
2439
- "text": "List of props as object, each key will be a prop."
2440
- }]
2441
- }
2442
- },
2443
- "hideColumn": {
2444
- "complexType": {
2445
- "signature": "(column: KupDataColumn) => Promise<void>",
2446
- "parameters": [{
2447
- "tags": [{
2448
- "name": "param",
2449
- "text": "column - Column to hide."
2450
- }],
2451
- "text": "- Column to hide."
2452
- }],
2453
- "references": {
2454
- "Promise": {
2455
- "location": "global"
2342
+ "hideColumn": {
2343
+ "complexType": {
2344
+ "signature": "(column: KupDataColumn) => Promise<void>",
2345
+ "parameters": [{
2346
+ "tags": [{
2347
+ "name": "param",
2348
+ "text": "column - Column to hide."
2349
+ }],
2350
+ "text": "- Column to hide."
2351
+ }],
2352
+ "references": {
2353
+ "Promise": {
2354
+ "location": "global"
2355
+ },
2356
+ "KupDataColumn": {
2357
+ "location": "import",
2358
+ "path": "../../managers/kup-data/kup-data-declarations"
2359
+ }
2456
2360
  },
2457
- "KupDataColumn": {
2458
- "location": "import",
2459
- "path": "../../managers/kup-data/kup-data-declarations"
2460
- }
2361
+ "return": "Promise<void>"
2461
2362
  },
2462
- "return": "Promise<void>"
2363
+ "docs": {
2364
+ "text": "Hides the given column.",
2365
+ "tags": [{
2366
+ "name": "param",
2367
+ "text": "column - Column to hide."
2368
+ }]
2369
+ }
2463
2370
  },
2464
- "docs": {
2465
- "text": "Hides the given column.",
2466
- "tags": [{
2467
- "name": "param",
2468
- "text": "column - Column to hide."
2469
- }]
2470
- }
2471
- },
2472
- "openColumnMenu": {
2473
- "complexType": {
2474
- "signature": "(column: string) => Promise<void>",
2475
- "parameters": [{
2476
- "tags": [{
2477
- "name": "param",
2478
- "text": "column - Name of the column."
2479
- }],
2480
- "text": "- Name of the column."
2481
- }],
2482
- "references": {
2483
- "Promise": {
2484
- "location": "global"
2485
- },
2486
- "CustomEvent": {
2487
- "location": "global"
2488
- },
2489
- "KupEventPayload": {
2490
- "location": "import",
2491
- "path": "../../types/GenericTypes"
2371
+ "openColumnMenu": {
2372
+ "complexType": {
2373
+ "signature": "(column: string) => Promise<void>",
2374
+ "parameters": [{
2375
+ "tags": [{
2376
+ "name": "param",
2377
+ "text": "column - Name of the column."
2378
+ }],
2379
+ "text": "- Name of the column."
2380
+ }],
2381
+ "references": {
2382
+ "Promise": {
2383
+ "location": "global"
2384
+ },
2385
+ "CustomEvent": {
2386
+ "location": "global"
2387
+ },
2388
+ "KupEventPayload": {
2389
+ "location": "import",
2390
+ "path": "../../types/GenericTypes"
2391
+ },
2392
+ "KupCardEventPayload": {
2393
+ "location": "import",
2394
+ "path": "../kup-card/kup-card-declarations"
2395
+ }
2492
2396
  },
2493
- "KupCardEventPayload": {
2494
- "location": "import",
2495
- "path": "../kup-card/kup-card-declarations"
2496
- }
2397
+ "return": "Promise<void>"
2497
2398
  },
2498
- "return": "Promise<void>"
2399
+ "docs": {
2400
+ "text": "Opens the column menu of the given column.",
2401
+ "tags": [{
2402
+ "name": "param",
2403
+ "text": "column - Name of the column."
2404
+ }]
2405
+ }
2499
2406
  },
2500
- "docs": {
2501
- "text": "Opens the column menu of the given column.",
2502
- "tags": [{
2503
- "name": "param",
2504
- "text": "column - Name of the column."
2505
- }]
2506
- }
2507
- },
2508
- "refresh": {
2509
- "complexType": {
2510
- "signature": "() => Promise<void>",
2511
- "parameters": [],
2512
- "references": {
2513
- "Promise": {
2514
- "location": "global"
2515
- }
2407
+ "refresh": {
2408
+ "complexType": {
2409
+ "signature": "() => Promise<void>",
2410
+ "parameters": [],
2411
+ "references": {
2412
+ "Promise": {
2413
+ "location": "global"
2414
+ }
2415
+ },
2416
+ "return": "Promise<void>"
2516
2417
  },
2517
- "return": "Promise<void>"
2418
+ "docs": {
2419
+ "text": "This method is used to trigger a new render of the component.",
2420
+ "tags": []
2421
+ }
2518
2422
  },
2519
- "docs": {
2520
- "text": "This method is used to trigger a new render of the component.",
2521
- "tags": []
2522
- }
2523
- },
2524
- "resizeCallback": {
2525
- "complexType": {
2526
- "signature": "() => Promise<void>",
2527
- "parameters": [],
2528
- "references": {
2529
- "Promise": {
2530
- "location": "global"
2531
- }
2423
+ "resizeCallback": {
2424
+ "complexType": {
2425
+ "signature": "() => Promise<void>",
2426
+ "parameters": [],
2427
+ "references": {
2428
+ "Promise": {
2429
+ "location": "global"
2430
+ }
2431
+ },
2432
+ "return": "Promise<void>"
2532
2433
  },
2533
- "return": "Promise<void>"
2434
+ "docs": {
2435
+ "text": "This method is invoked by KupManager whenever the component changes size.",
2436
+ "tags": []
2437
+ }
2534
2438
  },
2535
- "docs": {
2536
- "text": "This method is invoked by KupManager whenever the component changes size.",
2537
- "tags": []
2538
- }
2539
- },
2540
- "setProps": {
2541
- "complexType": {
2542
- "signature": "(props: GenericObject) => Promise<void>",
2543
- "parameters": [{
2544
- "tags": [{
2545
- "name": "param",
2546
- "text": "props - Object containing props that will be set to the component."
2547
- }],
2548
- "text": "- Object containing props that will be set to the component."
2549
- }],
2550
- "references": {
2551
- "Promise": {
2552
- "location": "global"
2439
+ "setProps": {
2440
+ "complexType": {
2441
+ "signature": "(props: GenericObject) => Promise<void>",
2442
+ "parameters": [{
2443
+ "tags": [{
2444
+ "name": "param",
2445
+ "text": "props - Object containing props that will be set to the component."
2446
+ }],
2447
+ "text": "- Object containing props that will be set to the component."
2448
+ }],
2449
+ "references": {
2450
+ "Promise": {
2451
+ "location": "global"
2452
+ },
2453
+ "GenericObject": {
2454
+ "location": "import",
2455
+ "path": "../../types/GenericTypes"
2456
+ }
2553
2457
  },
2554
- "GenericObject": {
2555
- "location": "import",
2556
- "path": "../../types/GenericTypes"
2557
- }
2458
+ "return": "Promise<void>"
2558
2459
  },
2559
- "return": "Promise<void>"
2560
- },
2561
- "docs": {
2562
- "text": "Sets the props to the component.",
2563
- "tags": [{
2564
- "name": "param",
2565
- "text": "props - Object containing props that will be set to the component."
2566
- }]
2460
+ "docs": {
2461
+ "text": "Sets the props to the component.",
2462
+ "tags": [{
2463
+ "name": "param",
2464
+ "text": "props - Object containing props that will be set to the component."
2465
+ }]
2466
+ }
2567
2467
  }
2568
- }
2569
- }; }
2468
+ };
2469
+ }
2570
2470
  static get elementRef() { return "rootElement"; }
2571
- static get watchers() { return [{
2572
- "propName": "data",
2573
- "methodName": "enrichDataWhenChanged"
2574
- }, {
2575
- "propName": "expanded",
2576
- "methodName": "enrichStructureStateWhenChanged"
2577
- }]; }
2471
+ static get watchers() {
2472
+ return [{
2473
+ "propName": "data",
2474
+ "methodName": "enrichDataWhenChanged"
2475
+ }, {
2476
+ "propName": "expanded",
2477
+ "methodName": "enrichStructureStateWhenChanged"
2478
+ }];
2479
+ }
2578
2480
  }