@sme.up/ketchup 6.6.0 → 6.7.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 (192) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-a531feb2.js → f-button-bf76ab95.js} +2 -2
  3. package/dist/cjs/{f-cell-75cb7933.js → f-cell-b7a1524a.js} +21 -21
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-9508a2e4.js → f-chip-a5e100b1.js} +3 -3
  6. package/dist/cjs/{f-image-c21cc616.js → f-image-d80a2749.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-c70812fe.js} +3 -3
  8. package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-48b8bb16.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 +3 -3
  12. package/dist/cjs/kup-autocomplete_25.cjs.entry.js +206 -57
  13. package/dist/cjs/kup-box.cjs.entry.js +11 -10
  14. package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
  15. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  16. package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
  17. package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
  19. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
  22. package/dist/cjs/kup-form.cjs.entry.js +8 -8
  23. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
  25. package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
  27. package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-0e38bf48.js} +16 -6
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  30. package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  33. package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
  34. package/dist/cjs/loader.cjs.js +3 -3
  35. package/dist/collection/assets/box.js +9 -6
  36. package/dist/collection/collection-manifest.json +3 -3
  37. package/dist/collection/components/kup-accordion/kup-accordion.js +239 -234
  38. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
  39. package/dist/collection/components/kup-badge/kup-badge.js +176 -170
  40. package/dist/collection/components/kup-box/kup-box.js +889 -907
  41. package/dist/collection/components/kup-button/kup-button.js +379 -370
  42. package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
  43. package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
  44. package/dist/collection/components/kup-card/box/kup-card-box.js +7 -24
  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-numeric.js +9 -44
  49. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  50. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  51. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  52. package/dist/collection/components/kup-card/kup-card.css +40 -0
  53. package/dist/collection/components/kup-card/kup-card.js +348 -340
  54. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  55. package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
  56. package/dist/collection/components/kup-cell/kup-cell.js +221 -216
  57. package/dist/collection/components/kup-chart/kup-chart.js +547 -537
  58. package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
  59. package/dist/collection/components/kup-chip/kup-chip.js +240 -231
  60. package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
  61. package/dist/collection/components/kup-combobox/kup-combobox.js +457 -440
  62. package/dist/collection/components/kup-dash/kup-dash.js +110 -158
  63. package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
  64. package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
  65. package/dist/collection/components/kup-data-table/kup-data-table.js +1917 -1830
  66. package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
  67. package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
  68. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
  69. package/dist/collection/components/kup-echart/kup-echart.js +436 -423
  70. package/dist/collection/components/kup-family-tree/kup-family-tree.js +408 -421
  71. package/dist/collection/components/kup-form/kup-form.js +223 -225
  72. package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
  73. package/dist/collection/components/kup-grid/kup-grid.js +156 -153
  74. package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
  75. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  76. package/dist/collection/components/kup-image/kup-image.js +300 -295
  77. package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
  78. package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
  79. package/dist/collection/components/kup-list/kup-list.js +541 -504
  80. package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
  81. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
  82. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
  83. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
  84. package/dist/collection/components/kup-probe/kup-probe.js +87 -83
  85. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
  86. package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
  87. package/dist/collection/components/kup-radio/kup-radio.js +258 -255
  88. package/dist/collection/components/kup-rating/kup-rating.js +208 -197
  89. package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
  90. package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
  91. package/dist/collection/components/kup-switch/kup-switch.js +255 -246
  92. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
  93. package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
  94. package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
  95. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  96. package/dist/collection/components/kup-tree/kup-tree.js +1068 -1076
  97. package/dist/collection/f-components/f-button/f-button.js +11 -20
  98. package/dist/collection/f-components/f-cell/f-cell.js +19 -21
  99. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  100. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  101. package/dist/collection/f-components/f-image/f-image.js +1 -3
  102. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  103. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  104. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  105. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  106. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  107. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  108. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  109. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  110. package/dist/esm/{f-button-15719ec1.js → f-button-e79f7594.js} +2 -2
  111. package/dist/esm/{f-cell-692c37bf.js → f-cell-9400374e.js} +21 -21
  112. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  113. package/dist/esm/{f-chip-abab04bf.js → f-chip-bf740287.js} +3 -3
  114. package/dist/esm/{f-image-98783644.js → f-image-ab3dc8cb.js} +2 -2
  115. package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-6909e43b.js} +3 -3
  116. package/dist/esm/{f-text-field-282025dd.js → f-text-field-4841dfea.js} +2 -2
  117. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  118. package/dist/esm/ketchup.js +3 -3
  119. package/dist/esm/kup-accordion.entry.js +3 -3
  120. package/dist/esm/kup-autocomplete_25.entry.js +206 -57
  121. package/dist/esm/kup-box.entry.js +11 -10
  122. package/dist/esm/kup-calendar.entry.js +5 -5
  123. package/dist/esm/kup-cell.entry.js +7 -7
  124. package/dist/esm/kup-dash-list.entry.js +2 -2
  125. package/dist/esm/kup-dash_2.entry.js +2 -2
  126. package/dist/esm/kup-dashboard.entry.js +6 -6
  127. package/dist/esm/kup-drawer.entry.js +2 -2
  128. package/dist/esm/kup-echart.entry.js +2 -2
  129. package/dist/esm/kup-family-tree.entry.js +4 -4
  130. package/dist/esm/kup-form.entry.js +8 -8
  131. package/dist/esm/kup-iframe.entry.js +2 -2
  132. package/dist/esm/kup-image-list.entry.js +8 -8
  133. package/dist/esm/kup-lazy.entry.js +2 -2
  134. package/dist/esm/kup-magic-box.entry.js +3 -3
  135. package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c54e6df5.js} +16 -6
  136. package/dist/esm/kup-nav-bar.entry.js +2 -2
  137. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  138. package/dist/esm/kup-photo-frame.entry.js +2 -2
  139. package/dist/esm/kup-probe.entry.js +2 -2
  140. package/dist/esm/kup-qlik.entry.js +2 -2
  141. package/dist/esm/kup-snackbar.entry.js +4 -4
  142. package/dist/esm/loader.js +3 -3
  143. package/dist/esm/polyfills/css-shim.js +1 -1
  144. package/dist/ketchup/ketchup.esm.js +1 -1
  145. package/dist/ketchup/{p-5933aa02.entry.js → p-182b869e.entry.js} +1 -1
  146. package/dist/ketchup/{p-c05f2638.js → p-1dfd2a51.js} +1 -1
  147. package/dist/ketchup/{p-62f3ec78.entry.js → p-1f5c7f21.entry.js} +1 -1
  148. package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
  149. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  150. package/dist/ketchup/{p-62421bcf.js → p-25bf0cb6.js} +1 -1
  151. package/dist/ketchup/{p-6946b614.entry.js → p-260ff835.entry.js} +1 -1
  152. package/dist/ketchup/{p-ccef2553.entry.js → p-2e184b57.entry.js} +1 -1
  153. package/dist/ketchup/{p-eeadd688.entry.js → p-30a63b85.entry.js} +1 -1
  154. package/dist/ketchup/{p-3760a159.entry.js → p-313e376b.entry.js} +1 -1
  155. package/dist/ketchup/{p-7e16265d.entry.js → p-41620707.entry.js} +1 -1
  156. package/dist/ketchup/{p-5ea2a1ff.entry.js → p-4a0ccf18.entry.js} +1 -1
  157. package/dist/ketchup/{p-6f3040fb.js → p-4f0d3062.js} +1 -1
  158. package/dist/ketchup/p-4fdb684f.js +2 -0
  159. package/dist/ketchup/{p-27538d6f.entry.js → p-53d3ae80.entry.js} +1 -1
  160. package/dist/ketchup/{p-20221a50.js → p-5bea2971.js} +1 -1
  161. package/dist/ketchup/{p-1ef5d16d.entry.js → p-60fa0ccf.entry.js} +1 -1
  162. package/dist/ketchup/p-6333388c.js +1 -0
  163. package/dist/ketchup/{p-725c6268.entry.js → p-6bd57787.entry.js} +1 -1
  164. package/dist/ketchup/p-758d03f4.entry.js +1 -0
  165. package/dist/ketchup/{p-9419919c.entry.js → p-7e7b6127.entry.js} +1 -1
  166. package/dist/ketchup/p-8386e3db.entry.js +1 -0
  167. package/dist/ketchup/{p-a4a30e0e.entry.js → p-859163c2.entry.js} +1 -1
  168. package/dist/ketchup/{p-a450d60a.entry.js → p-8e1fa7a8.entry.js} +1 -1
  169. package/dist/ketchup/{p-29d72040.entry.js → p-90860d9e.entry.js} +1 -1
  170. package/dist/ketchup/{p-d8af7ba6.entry.js → p-b7fdc7aa.entry.js} +1 -1
  171. package/dist/ketchup/{p-7d37ea62.entry.js → p-bffaef6e.entry.js} +1 -1
  172. package/dist/ketchup/{p-3e74e1ed.js → p-c35c5e05.js} +1 -1
  173. package/dist/ketchup/{p-e6ebdb80.js → p-e1d0ea71.js} +1 -1
  174. package/dist/ketchup/{p-fd930a34.entry.js → p-f9d5e553.entry.js} +1 -1
  175. package/dist/ketchup/{p-f6409c42.entry.js → p-fb4d772a.entry.js} +1 -1
  176. package/dist/loader/package.json +1 -0
  177. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  178. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  179. package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
  180. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  181. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  182. package/dist/types/components.d.ts +23 -0
  183. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  184. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  185. package/dist/types/stencil-public-runtime.d.ts +15 -4
  186. package/package.json +1 -1
  187. package/CHANGELOG.md +0 -5
  188. package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
  189. package/dist/ketchup/p-680a8cb4.entry.js +0 -9
  190. package/dist/ketchup/p-b0b3989b.js +0 -2
  191. package/dist/ketchup/p-d7a92197.entry.js +0 -1
  192. 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';
@@ -882,8 +882,7 @@ export class KupTree {
882
882
  icon.indexOf('/') > -1 ||
883
883
  icon.indexOf('\\') > -1) {
884
884
  CSSClass += ' is-image';
885
- return (h("span", { class: CSSClass },
886
- h("img", { src: icon })));
885
+ return (h("span", { class: CSSClass }, h("img", { src: icon })));
887
886
  }
888
887
  else {
889
888
  let svg = `url('${getAssetPath(`./assets/svg/${icon}.svg`)}') no-repeat center`;
@@ -939,9 +938,7 @@ export class KupTree {
939
938
  this.onRemoveFilter(column);
940
939
  } }));
941
940
  }
942
- return (h("th", { "data-column": column.name, style: this.getCellStyle(column.name, null) },
943
- h("span", { class: "column-title" }, column.title),
944
- filter));
941
+ return (h("th", { "data-column": column.name, style: this.getCellStyle(column.name, null) }, h("span", { class: "column-title" }, column.title), filter));
945
942
  });
946
943
  }
947
944
  /**
@@ -1067,8 +1064,7 @@ export class KupTree {
1067
1064
  row: treeNodeData,
1068
1065
  setSizes: true,
1069
1066
  };
1070
- treeNodeCells.push(h("td", { class: `grid-cell`, "data-cell": cell, "data-column": column.name },
1071
- h(FCell, Object.assign({}, cellProps))));
1067
+ treeNodeCells.push(h("td", { class: `grid-cell`, "data-cell": cell, "data-column": column.name }, h(FCell, Object.assign({}, cellProps))));
1072
1068
  }
1073
1069
  else {
1074
1070
  treeNodeCells.push(h("td", { class: `grid-cell` }));
@@ -1119,9 +1115,7 @@ export class KupTree {
1119
1115
  'kup-tree__node--selected': !treeNodeData.disabled &&
1120
1116
  treeNodePath ===
1121
1117
  this.selectedNodeToString(this.selectedNode),
1122
- }, "data-row": treeNodeData, "data-tree-path": treeNodePath }, treeNodeOptions),
1123
- treeNodeCell,
1124
- treeNodeCells));
1118
+ }, "data-row": treeNodeData, "data-tree-path": treeNodePath }, treeNodeOptions), treeNodeCell, treeNodeCells));
1125
1119
  }
1126
1120
  closeTotalMenu() {
1127
1121
  this.openedTotalMenu = null;
@@ -1242,14 +1236,9 @@ export class KupTree {
1242
1236
  else {
1243
1237
  value = numberToFormattedStringNumber(this.footer[column.name], column.decimals, column.obj ? column.obj.p : '');
1244
1238
  }
1245
- return (h("td", { "data-column": column.name },
1246
- totalMenu,
1247
- h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
1239
+ return (h("td", { "data-column": column.name }, totalMenu, h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
1248
1240
  });
1249
- return (h("tfoot", null,
1250
- h("tr", null,
1251
- nodesCell,
1252
- footerCells)));
1241
+ return (h("tfoot", null, h("tr", null, nodesCell, footerCells)));
1253
1242
  }
1254
1243
  didLoadInteractables() {
1255
1244
  this.interactableTouch.push(this.treeWrapperRef);
@@ -1423,8 +1412,7 @@ export class KupTree {
1423
1412
  }
1424
1413
  else {
1425
1414
  // 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))));
1415
+ treeNodes.push(h("tr", null, h("td", null, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
1428
1416
  }
1429
1417
  // Calculates if header must be shown or not
1430
1418
  const visibleHeader = this.showHeader && this.showColumns;
@@ -1433,30 +1421,20 @@ export class KupTree {
1433
1421
  this.data &&
1434
1422
  this.data.length &&
1435
1423
  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)))));
1424
+ 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) => {
1425
+ window.clearTimeout(this.globalFilterTimeout);
1426
+ this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
1427
+ } })));
1428
+ }
1429
+ 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 =
1430
+ el) }, h("table", { class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
1431
+ e.preventDefault();
1432
+ } }, h("thead", { class: {
1433
+ 'header--is-visible': visibleHeader,
1434
+ } }, h("tr", null, visibleHeader ? this.renderHeader() : null)), h("tbody", null, treeNodes), (this.showFooter || this.hasTotals()) &&
1435
+ this.columns
1436
+ ? this.renderFooter()
1437
+ : null)))));
1460
1438
  }
1461
1439
  disconnectedCallback() {
1462
1440
  this.kupManager.language.register(this);
@@ -1476,1103 +1454,1117 @@ export class KupTree {
1476
1454
  }
1477
1455
  static get is() { return "kup-tree"; }
1478
1456
  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"
1457
+ static get originalStyleUrls() {
1458
+ return {
1459
+ "$": ["kup-tree.scss"]
1460
+ };
1461
+ }
1462
+ static get styleUrls() {
1463
+ return {
1464
+ "$": ["kup-tree.css"]
1465
+ };
1466
+ }
1467
+ static get properties() {
1468
+ return {
1469
+ "asAccordion": {
1470
+ "type": "boolean",
1471
+ "mutable": false,
1472
+ "complexType": {
1473
+ "original": "boolean",
1474
+ "resolved": "boolean",
1475
+ "references": {}
1476
+ },
1477
+ "required": false,
1478
+ "optional": false,
1479
+ "docs": {
1480
+ "tags": [{
1481
+ "name": "default",
1482
+ "text": "false"
1483
+ }],
1484
+ "text": "When enabled, the first level of depth will give an accordion look to nodes."
1485
+ },
1486
+ "attribute": "as-accordion",
1487
+ "reflect": true,
1488
+ "defaultValue": "false"
1489
+ },
1490
+ "columns": {
1491
+ "type": "unknown",
1492
+ "mutable": true,
1493
+ "complexType": {
1494
+ "original": "KupDataColumn[]",
1495
+ "resolved": "KupDataColumn[]",
1496
+ "references": {
1497
+ "KupDataColumn": {
1498
+ "location": "import",
1499
+ "path": "../../managers/kup-data/kup-data-declarations"
1500
+ }
1517
1501
  }
1502
+ },
1503
+ "required": false,
1504
+ "optional": true,
1505
+ "docs": {
1506
+ "tags": [],
1507
+ "text": "The columns of the tree when tree visualization is active."
1518
1508
  }
1519
1509
  },
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"
1510
+ "customStyle": {
1511
+ "type": "string",
1512
+ "mutable": false,
1513
+ "complexType": {
1514
+ "original": "string",
1515
+ "resolved": "string",
1516
+ "references": {}
1517
+ },
1518
+ "required": false,
1519
+ "optional": false,
1520
+ "docs": {
1521
+ "tags": [{
1522
+ "name": "default",
1523
+ "text": "\"\""
1524
+ }, {
1525
+ "name": "see",
1526
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
1527
+ }],
1528
+ "text": "Custom style of the component."
1529
+ },
1530
+ "attribute": "custom-style",
1531
+ "reflect": false,
1532
+ "defaultValue": "''"
1533
+ },
1534
+ "data": {
1535
+ "type": "unknown",
1536
+ "mutable": true,
1537
+ "complexType": {
1538
+ "original": "KupTreeNode[]",
1539
+ "resolved": "KupTreeNode[]",
1540
+ "references": {
1541
+ "KupTreeNode": {
1542
+ "location": "import",
1543
+ "path": "./kup-tree-declarations"
1544
+ }
1561
1545
  }
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"
1546
+ },
1547
+ "required": false,
1548
+ "optional": false,
1549
+ "docs": {
1550
+ "tags": [],
1551
+ "text": "The json data used to populate the tree view: the basic, always visible tree nodes."
1552
+ },
1553
+ "defaultValue": "[]"
1554
+ },
1555
+ "density": {
1556
+ "type": "string",
1557
+ "mutable": false,
1558
+ "complexType": {
1559
+ "original": "FCellPadding",
1560
+ "resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
1561
+ "references": {
1562
+ "FCellPadding": {
1563
+ "location": "import",
1564
+ "path": "../../f-components/f-cell/f-cell-declarations"
1565
+ }
1582
1566
  }
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"
1567
+ },
1568
+ "required": false,
1569
+ "optional": false,
1570
+ "docs": {
1571
+ "tags": [],
1572
+ "text": "The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'."
1573
+ },
1574
+ "attribute": "density",
1575
+ "reflect": false,
1576
+ "defaultValue": "FCellPadding.MEDIUM"
1577
+ },
1578
+ "dynamicExpansionCallback": {
1579
+ "type": "unknown",
1580
+ "mutable": false,
1581
+ "complexType": {
1582
+ "original": "(\r\n treeNodeToExpand: KupTreeNode,\r\n treeNodePath: TreeNodePath\r\n ) => Promise<KupTreeNode[]> | undefined",
1583
+ "resolved": "(treeNodeToExpand: KupTreeNode, treeNodePath: TreeNodePath) => Promise<KupTreeNode[]>",
1584
+ "references": {
1585
+ "KupTreeNode": {
1586
+ "location": "import",
1587
+ "path": "./kup-tree-declarations"
1588
+ },
1589
+ "TreeNodePath": {
1590
+ "location": "import",
1591
+ "path": "./kup-tree-declarations"
1592
+ },
1593
+ "Promise": {
1594
+ "location": "global"
1595
+ }
1612
1596
  }
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"
1597
+ },
1598
+ "required": false,
1599
+ "optional": false,
1600
+ "docs": {
1601
+ "tags": [{
1602
+ "name": "see",
1603
+ "text": "useDynamicExpansion"
1604
+ }],
1605
+ "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."
1606
+ },
1607
+ "defaultValue": "undefined"
1608
+ },
1609
+ "editableData": {
1610
+ "type": "boolean",
1611
+ "mutable": false,
1612
+ "complexType": {
1613
+ "original": "boolean",
1614
+ "resolved": "boolean",
1615
+ "references": {}
1616
+ },
1617
+ "required": false,
1618
+ "optional": false,
1619
+ "docs": {
1620
+ "tags": [{
1621
+ "name": "default",
1622
+ "text": "false"
1623
+ }],
1624
+ "text": "When set to true, editable cells will be rendered using input components."
1625
+ },
1626
+ "attribute": "editable-data",
1627
+ "reflect": false,
1628
+ "defaultValue": "false"
1629
+ },
1630
+ "enableExtraColumns": {
1631
+ "type": "boolean",
1632
+ "mutable": false,
1633
+ "complexType": {
1634
+ "original": "boolean",
1635
+ "resolved": "boolean",
1636
+ "references": {}
1637
+ },
1638
+ "required": false,
1639
+ "optional": false,
1640
+ "docs": {
1641
+ "tags": [],
1642
+ "text": "Enables the extracolumns add buttons."
1643
+ },
1644
+ "attribute": "enable-extra-columns",
1645
+ "reflect": false,
1646
+ "defaultValue": "true"
1647
+ },
1648
+ "expanded": {
1649
+ "type": "boolean",
1650
+ "mutable": false,
1651
+ "complexType": {
1652
+ "original": "boolean",
1653
+ "resolved": "boolean",
1654
+ "references": {}
1655
+ },
1656
+ "required": false,
1657
+ "optional": false,
1658
+ "docs": {
1659
+ "tags": [],
1660
+ "text": "Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded."
1661
+ },
1662
+ "attribute": "expanded",
1663
+ "reflect": false,
1664
+ "defaultValue": "false"
1665
+ },
1666
+ "expansionMode": {
1667
+ "type": "string",
1668
+ "mutable": false,
1669
+ "complexType": {
1670
+ "original": "KupTreeExpansionMode",
1671
+ "resolved": "KupTreeExpansionMode.DROPDOWN | KupTreeExpansionMode.NODE",
1672
+ "references": {
1673
+ "KupTreeExpansionMode": {
1674
+ "location": "import",
1675
+ "path": "./kup-tree-declarations"
1676
+ }
1693
1677
  }
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"
1678
+ },
1679
+ "required": false,
1680
+ "optional": false,
1681
+ "docs": {
1682
+ "tags": [{
1683
+ "name": "default",
1684
+ "text": "KupTreeExpansionMode.DROPDOWN"
1685
+ }],
1686
+ "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."
1687
+ },
1688
+ "attribute": "expansion-mode",
1689
+ "reflect": false,
1690
+ "defaultValue": "KupTreeExpansionMode.DROPDOWN"
1691
+ },
1692
+ "filters": {
1693
+ "type": "unknown",
1694
+ "mutable": true,
1695
+ "complexType": {
1696
+ "original": "GenericFilter",
1697
+ "resolved": "GenericFilter",
1698
+ "references": {
1699
+ "GenericFilter": {
1700
+ "location": "import",
1701
+ "path": "../../utils/filters/filters-declarations"
1702
+ }
1719
1703
  }
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"
1704
+ },
1705
+ "required": false,
1706
+ "optional": false,
1707
+ "docs": {
1708
+ "tags": [],
1709
+ "text": "List of filters set by the user."
1710
+ },
1711
+ "defaultValue": "{}"
1712
+ },
1713
+ "globalFilter": {
1714
+ "type": "boolean",
1715
+ "mutable": false,
1716
+ "complexType": {
1717
+ "original": "boolean",
1718
+ "resolved": "boolean",
1719
+ "references": {}
1720
+ },
1721
+ "required": false,
1722
+ "optional": false,
1723
+ "docs": {
1724
+ "tags": [],
1725
+ "text": "When set to true it activates the global filter."
1726
+ },
1727
+ "attribute": "global-filter",
1728
+ "reflect": false,
1729
+ "defaultValue": "false"
1730
+ },
1731
+ "globalFilterValue": {
1732
+ "type": "string",
1733
+ "mutable": true,
1734
+ "complexType": {
1735
+ "original": "string",
1736
+ "resolved": "string",
1737
+ "references": {}
1738
+ },
1739
+ "required": false,
1740
+ "optional": false,
1741
+ "docs": {
1742
+ "tags": [],
1743
+ "text": "The value of the global filter."
1744
+ },
1745
+ "attribute": "global-filter-value",
1746
+ "reflect": true,
1747
+ "defaultValue": "''"
1748
+ },
1749
+ "globalFilterMode": {
1750
+ "type": "string",
1751
+ "mutable": false,
1752
+ "complexType": {
1753
+ "original": "KupGlobalFilterMode",
1754
+ "resolved": "KupGlobalFilterMode.HIGHLIGHT | KupGlobalFilterMode.SIMPLE",
1755
+ "references": {
1756
+ "KupGlobalFilterMode": {
1757
+ "location": "import",
1758
+ "path": "../../utils/filters/filters-declarations"
1759
+ }
1776
1760
  }
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"
1761
+ },
1762
+ "required": false,
1763
+ "optional": false,
1764
+ "docs": {
1765
+ "tags": [],
1766
+ "text": "The mode of the global filter (default SIMPLE)"
1767
+ },
1768
+ "attribute": "global-filter-mode",
1769
+ "reflect": false,
1770
+ "defaultValue": "KupGlobalFilterMode.SIMPLE"
1771
+ },
1772
+ "preventXScroll": {
1773
+ "type": "boolean",
1774
+ "mutable": false,
1775
+ "complexType": {
1776
+ "original": "boolean",
1777
+ "resolved": "boolean",
1778
+ "references": {}
1779
+ },
1780
+ "required": false,
1781
+ "optional": false,
1782
+ "docs": {
1783
+ "tags": [{
1784
+ "name": "default",
1785
+ "text": "false;"
1786
+ }],
1787
+ "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."
1788
+ },
1789
+ "attribute": "prevent-x-scroll",
1790
+ "reflect": true,
1791
+ "defaultValue": "false"
1792
+ },
1793
+ "removableColumns": {
1794
+ "type": "boolean",
1795
+ "mutable": false,
1796
+ "complexType": {
1797
+ "original": "boolean",
1798
+ "resolved": "boolean",
1799
+ "references": {}
1800
+ },
1801
+ "required": false,
1802
+ "optional": false,
1803
+ "docs": {
1804
+ "tags": [],
1805
+ "text": "Sets the possibility to remove the selected column."
1806
+ },
1807
+ "attribute": "removable-columns",
1808
+ "reflect": false,
1809
+ "defaultValue": "true"
1810
+ },
1811
+ "ripple": {
1812
+ "type": "boolean",
1813
+ "mutable": false,
1814
+ "complexType": {
1815
+ "original": "boolean",
1816
+ "resolved": "boolean",
1817
+ "references": {}
1818
+ },
1819
+ "required": false,
1820
+ "optional": false,
1821
+ "docs": {
1822
+ "tags": [{
1823
+ "name": "default",
1824
+ "text": "true"
1825
+ }],
1826
+ "text": "When enabled displays Material's ripple effect on nodes (only when no columns are displayed)."
1827
+ },
1828
+ "attribute": "ripple",
1829
+ "reflect": false,
1830
+ "defaultValue": "true"
1831
+ },
1832
+ "scrollOnHover": {
1833
+ "type": "boolean",
1834
+ "mutable": false,
1835
+ "complexType": {
1836
+ "original": "boolean",
1837
+ "resolved": "boolean",
1838
+ "references": {}
1839
+ },
1840
+ "required": false,
1841
+ "optional": false,
1842
+ "docs": {
1843
+ "tags": [],
1844
+ "text": "Activates the scroll on hover function."
1845
+ },
1846
+ "attribute": "scroll-on-hover",
1847
+ "reflect": false,
1848
+ "defaultValue": "false"
1849
+ },
1850
+ "showColumns": {
1851
+ "type": "boolean",
1852
+ "mutable": true,
1853
+ "complexType": {
1854
+ "original": "boolean",
1855
+ "resolved": "boolean",
1856
+ "references": {}
1857
+ },
1858
+ "required": false,
1859
+ "optional": false,
1860
+ "docs": {
1861
+ "tags": [],
1862
+ "text": "Shows the tree data as a table."
1863
+ },
1864
+ "attribute": "show-columns",
1865
+ "reflect": false,
1866
+ "defaultValue": "false"
1867
+ },
1868
+ "showFilters": {
1869
+ "type": "boolean",
1870
+ "mutable": false,
1871
+ "complexType": {
1872
+ "original": "boolean",
1873
+ "resolved": "boolean",
1874
+ "references": {}
1875
+ },
1876
+ "required": false,
1877
+ "optional": false,
1878
+ "docs": {
1879
+ "tags": [],
1880
+ "text": "When set to true enables the column filters."
1881
+ },
1882
+ "attribute": "show-filters",
1883
+ "reflect": false,
1884
+ "defaultValue": "true"
1885
+ },
1886
+ "showFooter": {
1887
+ "type": "boolean",
1888
+ "mutable": false,
1889
+ "complexType": {
1890
+ "original": "boolean",
1891
+ "resolved": "boolean",
1892
+ "references": {}
1893
+ },
1894
+ "required": false,
1895
+ "optional": false,
1896
+ "docs": {
1897
+ "tags": [],
1898
+ "text": "When set to true shows the footer."
1899
+ },
1900
+ "attribute": "show-footer",
1901
+ "reflect": false,
1902
+ "defaultValue": "false"
1903
+ },
1904
+ "showHeader": {
1905
+ "type": "boolean",
1906
+ "mutable": true,
1907
+ "complexType": {
1908
+ "original": "boolean",
1909
+ "resolved": "boolean",
1910
+ "references": {}
1911
+ },
1912
+ "required": false,
1913
+ "optional": false,
1914
+ "docs": {
1915
+ "tags": [{
1916
+ "name": "see",
1917
+ "text": "showColumns"
1918
+ }],
1919
+ "text": "Flag: shows the header of the tree when the tree is displayed as a table."
1920
+ },
1921
+ "attribute": "show-header",
1922
+ "reflect": false,
1923
+ "defaultValue": "false"
1924
+ },
1925
+ "showIcons": {
1926
+ "type": "boolean",
1927
+ "mutable": false,
1928
+ "complexType": {
1929
+ "original": "boolean",
1930
+ "resolved": "boolean",
1931
+ "references": {}
1932
+ },
1933
+ "required": false,
1934
+ "optional": false,
1935
+ "docs": {
1936
+ "tags": [],
1937
+ "text": "Shows the icons of the nodes."
1938
+ },
1939
+ "attribute": "show-icons",
1940
+ "reflect": false,
1941
+ "defaultValue": "true"
1942
+ },
1943
+ "stateId": {
1944
+ "type": "string",
1945
+ "mutable": false,
1946
+ "complexType": {
1947
+ "original": "string",
1948
+ "resolved": "string",
1949
+ "references": {}
1950
+ },
1951
+ "required": false,
1952
+ "optional": false,
1953
+ "docs": {
1954
+ "tags": [],
1955
+ "text": ""
1956
+ },
1957
+ "attribute": "state-id",
1958
+ "reflect": false,
1959
+ "defaultValue": "''"
1960
+ },
1961
+ "store": {
1962
+ "type": "unknown",
1963
+ "mutable": false,
1964
+ "complexType": {
1965
+ "original": "KupStore",
1966
+ "resolved": "KupStore",
1967
+ "references": {
1968
+ "KupStore": {
1969
+ "location": "import",
1970
+ "path": "../kup-state/kup-store"
1971
+ }
1988
1972
  }
1973
+ },
1974
+ "required": false,
1975
+ "optional": false,
1976
+ "docs": {
1977
+ "tags": [],
1978
+ "text": ""
1989
1979
  }
1990
1980
  },
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"
1981
+ "useDynamicExpansion": {
1982
+ "type": "boolean",
1983
+ "mutable": false,
1984
+ "complexType": {
1985
+ "original": "boolean",
1986
+ "resolved": "boolean",
1987
+ "references": {}
1988
+ },
1989
+ "required": false,
1990
+ "optional": false,
1991
+ "docs": {
1992
+ "tags": [{
1993
+ "name": "see",
1994
+ "text": "dynamicExpansionCallback"
1995
+ }],
1996
+ "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:"
1997
+ },
1998
+ "attribute": "use-dynamic-expansion",
1999
+ "reflect": false,
2000
+ "defaultValue": "false"
2001
+ },
2002
+ "totals": {
2003
+ "type": "unknown",
2004
+ "mutable": true,
2005
+ "complexType": {
2006
+ "original": "TotalsMap",
2007
+ "resolved": "TotalsMap",
2008
+ "references": {
2009
+ "TotalsMap": {
2010
+ "location": "import",
2011
+ "path": "./../kup-data-table/kup-data-table-declarations"
2012
+ }
2029
2013
  }
2014
+ },
2015
+ "required": false,
2016
+ "optional": false,
2017
+ "docs": {
2018
+ "tags": [],
2019
+ "text": "Defines the current totals options."
2030
2020
  }
2031
- },
2032
- "required": false,
2033
- "optional": false,
2034
- "docs": {
2035
- "tags": [],
2036
- "text": "Defines the current totals options."
2037
2021
  }
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"
2022
+ };
2023
+ }
2024
+ static get states() {
2025
+ return {
2026
+ "treeColumnVisible": {},
2027
+ "openedTotalMenu": {},
2028
+ "columnMenuAnchor": {},
2029
+ "stateSwitcher": {},
2030
+ "selectedNode": {}
2031
+ };
2032
+ }
2033
+ static get events() {
2034
+ return [{
2035
+ "method": "kupTreeNodeCollapse",
2036
+ "name": "kup-tree-nodecollapse",
2037
+ "bubbles": true,
2038
+ "cancelable": false,
2039
+ "composed": true,
2040
+ "docs": {
2041
+ "tags": [],
2042
+ "text": "Fired when a KupTreeNode gets collapsed (closed)."
2043
+ },
2044
+ "complexType": {
2045
+ "original": "KupTreeNodeCollapseEventPayload",
2046
+ "resolved": "KupTreeNodeCollapseEventPayload",
2047
+ "references": {
2048
+ "KupTreeNodeCollapseEventPayload": {
2049
+ "location": "import",
2050
+ "path": "./kup-tree-declarations"
2051
+ }
2064
2052
  }
2065
2053
  }
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"
2054
+ }, {
2055
+ "method": "kupTreeNodeExpand",
2056
+ "name": "kup-tree-nodeexpand",
2057
+ "bubbles": true,
2058
+ "cancelable": false,
2059
+ "composed": true,
2060
+ "docs": {
2061
+ "tags": [{
2062
+ "name": "event",
2063
+ "text": "kup-tree-nodeexpand"
2064
+ }, {
2065
+ "name": "type",
2066
+ "text": "{object}"
2067
+ }, {
2068
+ "name": "property",
2069
+ "text": "{TreeNodePath} treeNodePath - The array of indexes to retrieve the current treeNode inside the data prop."
2070
+ }, {
2071
+ "name": "property",
2072
+ "text": "{KupTreeNode} treeNode - Reference to the KupTreeNode data object which is being expanded (passed through the data prop)."
2073
+ }, {
2074
+ "name": "property",
2075
+ "text": "{boolean} usesDynamicExpansion - Flag to notify that the component is running in dynamicExpansion mode."
2076
+ }, {
2077
+ "name": "property",
2078
+ "text": "{boolean} dynamicExpansionRequireChildren - Flag to notify that the current dynamicExpansion event\r\nrequires the parent component to add KupTreeNode children to the given KupTreeNode."
2079
+ }, {
2080
+ "name": "see",
2081
+ "text": "useDynamicExpansion *"
2082
+ }, {
2083
+ "name": "see",
2084
+ "text": "dynamicExpansionCallback *"
2085
+ }, {
2086
+ "name": "since",
2087
+ "text": "1.0.0"
2088
+ }],
2089
+ "text": "Fired when a node expansion ion has been triggered.\r\nContains additional data when the tree is using the dynamicExpansion feature."
2090
+ },
2091
+ "complexType": {
2092
+ "original": "KupTreeNodeExpandEventPayload",
2093
+ "resolved": "KupTreeNodeExpandEventPayload",
2094
+ "references": {
2095
+ "KupTreeNodeExpandEventPayload": {
2096
+ "location": "import",
2097
+ "path": "./kup-tree-declarations"
2098
+ }
2111
2099
  }
2112
2100
  }
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"
2101
+ }, {
2102
+ "method": "kupTreeNodeSelected",
2103
+ "name": "kup-tree-nodeselected",
2104
+ "bubbles": true,
2105
+ "cancelable": false,
2106
+ "composed": true,
2107
+ "docs": {
2108
+ "tags": [],
2109
+ "text": "Fired when a node of the tree has been selected"
2110
+ },
2111
+ "complexType": {
2112
+ "original": "KupTreeNodeSelectedEventPayload",
2113
+ "resolved": "KupTreeNodeSelectedEventPayload",
2114
+ "references": {
2115
+ "KupTreeNodeSelectedEventPayload": {
2116
+ "location": "import",
2117
+ "path": "./kup-tree-declarations"
2118
+ }
2131
2119
  }
2132
2120
  }
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"
2121
+ }, {
2122
+ "method": "kupTreeNodeButtonClick",
2123
+ "name": "kup-tree-buttonclick",
2124
+ "bubbles": true,
2125
+ "cancelable": false,
2126
+ "composed": true,
2127
+ "docs": {
2128
+ "tags": [],
2129
+ "text": ""
2130
+ },
2131
+ "complexType": {
2132
+ "original": "KupTreeNodeButtonClickEventPayload",
2133
+ "resolved": "KupTreeNodeButtonClickEventPayload",
2134
+ "references": {
2135
+ "KupTreeNodeButtonClickEventPayload": {
2136
+ "location": "import",
2137
+ "path": "./kup-tree-declarations"
2138
+ }
2151
2139
  }
2152
2140
  }
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"
2141
+ }, {
2142
+ "method": "kupTreeContextMenu",
2143
+ "name": "kup-tree-contextmenu",
2144
+ "bubbles": true,
2145
+ "cancelable": false,
2146
+ "composed": true,
2147
+ "docs": {
2148
+ "tags": [],
2149
+ "text": "Generic right click event on tree."
2150
+ },
2151
+ "complexType": {
2152
+ "original": "KupTreeContextMenuEventPayload",
2153
+ "resolved": "KupTreeContextMenuEventPayload",
2154
+ "references": {
2155
+ "KupTreeContextMenuEventPayload": {
2156
+ "location": "import",
2157
+ "path": "./kup-tree-declarations"
2158
+ }
2171
2159
  }
2172
2160
  }
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"
2161
+ }, {
2162
+ "method": "kupTreeColumnMenu",
2163
+ "name": "kup-tree-columnmenu",
2164
+ "bubbles": true,
2165
+ "cancelable": false,
2166
+ "composed": true,
2167
+ "docs": {
2168
+ "tags": [],
2169
+ "text": "When the column menu is being opened/closed."
2170
+ },
2171
+ "complexType": {
2172
+ "original": "KupTreeColumnMenuEventPayload",
2173
+ "resolved": "KupTreeColumnMenuEventPayload",
2174
+ "references": {
2175
+ "KupTreeColumnMenuEventPayload": {
2176
+ "location": "import",
2177
+ "path": "./kup-tree-declarations"
2178
+ }
2191
2179
  }
2192
2180
  }
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"
2181
+ }, {
2182
+ "method": "kupDidLoad",
2183
+ "name": "kup-tree-didload",
2184
+ "bubbles": true,
2185
+ "cancelable": false,
2186
+ "composed": true,
2187
+ "docs": {
2188
+ "tags": [],
2189
+ "text": ""
2190
+ },
2191
+ "complexType": {
2192
+ "original": "KupEventPayload",
2193
+ "resolved": "KupEventPayload",
2194
+ "references": {
2195
+ "KupEventPayload": {
2196
+ "location": "import",
2197
+ "path": "../../types/GenericTypes"
2198
+ }
2211
2199
  }
2212
2200
  }
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"
2201
+ }, {
2202
+ "method": "kupDidUnload",
2203
+ "name": "kup-tree-didunload",
2204
+ "bubbles": true,
2205
+ "cancelable": false,
2206
+ "composed": true,
2207
+ "docs": {
2208
+ "tags": [],
2209
+ "text": "Triggered when stop propagation event"
2210
+ },
2211
+ "complexType": {
2212
+ "original": "KupEventPayload",
2213
+ "resolved": "KupEventPayload",
2214
+ "references": {
2215
+ "KupEventPayload": {
2216
+ "location": "import",
2217
+ "path": "../../types/GenericTypes"
2218
+ }
2231
2219
  }
2232
2220
  }
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"
2221
+ }, {
2222
+ "method": "kupTreeNodeDblClick",
2223
+ "name": "kup-tree-nodedblclick",
2224
+ "bubbles": true,
2225
+ "cancelable": false,
2226
+ "composed": true,
2227
+ "docs": {
2228
+ "tags": [],
2229
+ "text": ""
2230
+ },
2231
+ "complexType": {
2232
+ "original": "KupTreeNodeCollapseEventPayload",
2233
+ "resolved": "KupTreeNodeCollapseEventPayload",
2234
+ "references": {
2235
+ "KupTreeNodeCollapseEventPayload": {
2236
+ "location": "import",
2237
+ "path": "./kup-tree-declarations"
2238
+ }
2251
2239
  }
2252
2240
  }
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"
2241
+ }, {
2242
+ "method": "kupTreeDynamicMassExpansion",
2243
+ "name": "kup-tree-dynamicmassexpansion",
2244
+ "bubbles": true,
2245
+ "cancelable": false,
2246
+ "composed": true,
2247
+ "docs": {
2248
+ "tags": [],
2249
+ "text": ""
2250
+ },
2251
+ "complexType": {
2252
+ "original": "KupTreeDynamicMassExpansionEventPayload",
2253
+ "resolved": "KupTreeDynamicMassExpansionEventPayload",
2254
+ "references": {
2255
+ "KupTreeDynamicMassExpansionEventPayload": {
2256
+ "location": "import",
2257
+ "path": "./kup-tree-declarations"
2258
+ }
2271
2259
  }
2272
2260
  }
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"
2261
+ }, {
2262
+ "method": "kupColumnRemove",
2263
+ "name": "kup-tree-columnremove",
2264
+ "bubbles": true,
2265
+ "cancelable": false,
2266
+ "composed": true,
2267
+ "docs": {
2268
+ "tags": [],
2269
+ "text": "Event fired when columns are removed (set to hidden)."
2270
+ },
2271
+ "complexType": {
2272
+ "original": "KupTreeColumnRemoveEventPayload",
2273
+ "resolved": "KupTreeColumnRemoveEventPayload",
2274
+ "references": {
2275
+ "KupTreeColumnRemoveEventPayload": {
2276
+ "location": "import",
2277
+ "path": "./kup-tree-declarations"
2278
+ }
2291
2279
  }
2292
2280
  }
2293
- }
2294
- }]; }
2295
- static get methods() { return {
2296
- "getSelectedNode": {
2297
- "complexType": {
2298
- "signature": "() => Promise<TreeNodePath>",
2299
- "parameters": [],
2300
- "references": {
2301
- "Promise": {
2302
- "location": "global"
2281
+ }];
2282
+ }
2283
+ static get methods() {
2284
+ return {
2285
+ "getSelectedNode": {
2286
+ "complexType": {
2287
+ "signature": "() => Promise<TreeNodePath>",
2288
+ "parameters": [],
2289
+ "references": {
2290
+ "Promise": {
2291
+ "location": "global"
2292
+ },
2293
+ "TreeNodePath": {
2294
+ "location": "import",
2295
+ "path": "./kup-tree-declarations"
2296
+ }
2303
2297
  },
2304
- "TreeNodePath": {
2305
- "location": "import",
2306
- "path": "./kup-tree-declarations"
2307
- }
2298
+ "return": "Promise<TreeNodePath>"
2308
2299
  },
2309
- "return": "Promise<TreeNodePath>"
2300
+ "docs": {
2301
+ "text": "This method will get the selected nodes of the component.",
2302
+ "tags": []
2303
+ }
2310
2304
  },
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
- }
2305
+ "setSelectedNode": {
2306
+ "complexType": {
2307
+ "signature": "(treeNodePath: string, emitEvent?: boolean) => Promise<void>",
2308
+ "parameters": [{
2309
+ "tags": [],
2310
+ "text": ""
2311
+ }, {
2312
+ "tags": [{
2313
+ "name": "param",
2314
+ "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
2315
+ }],
2316
+ "text": "- The event will always be emitted unless emitEvent is set to false."
2317
+ }],
2318
+ "references": {
2319
+ "Promise": {
2320
+ "location": "global"
2321
+ }
2322
+ },
2323
+ "return": "Promise<void>"
2333
2324
  },
2334
- "return": "Promise<void>"
2325
+ "docs": {
2326
+ "text": "This method will set the selected rows of the component.",
2327
+ "tags": [{
2328
+ "name": "param",
2329
+ "text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
2330
+ }, {
2331
+ "name": "param",
2332
+ "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
2333
+ }]
2334
+ }
2335
2335
  },
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
- }
2336
+ "isEmpty": {
2337
+ "complexType": {
2338
+ "signature": "() => Promise<boolean>",
2339
+ "parameters": [],
2340
+ "references": {
2341
+ "Promise": {
2342
+ "location": "global"
2343
+ }
2344
+ },
2345
+ "return": "Promise<boolean>"
2355
2346
  },
2356
- "return": "Promise<boolean>"
2347
+ "docs": {
2348
+ "text": "True if there aren't visible nodes",
2349
+ "tags": []
2350
+ }
2357
2351
  },
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
- }
2352
+ "closeColumnMenu": {
2353
+ "complexType": {
2354
+ "signature": "() => Promise<void>",
2355
+ "parameters": [],
2356
+ "references": {
2357
+ "Promise": {
2358
+ "location": "global"
2359
+ }
2360
+ },
2361
+ "return": "Promise<void>"
2371
2362
  },
2372
- "return": "Promise<void>"
2363
+ "docs": {
2364
+ "text": "Closes any opened column menu.",
2365
+ "tags": []
2366
+ }
2373
2367
  },
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
- }
2368
+ "collapseAll": {
2369
+ "complexType": {
2370
+ "signature": "() => Promise<void>",
2371
+ "parameters": [],
2372
+ "references": {
2373
+ "Promise": {
2374
+ "location": "global"
2375
+ }
2376
+ },
2377
+ "return": "Promise<void>"
2387
2378
  },
2388
- "return": "Promise<void>"
2379
+ "docs": {
2380
+ "text": "Collapses all nodes.",
2381
+ "tags": []
2382
+ }
2389
2383
  },
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
- }
2384
+ "expandAll": {
2385
+ "complexType": {
2386
+ "signature": "() => Promise<void>",
2387
+ "parameters": [],
2388
+ "references": {
2389
+ "Promise": {
2390
+ "location": "global"
2391
+ }
2392
+ },
2393
+ "return": "Promise<void>"
2403
2394
  },
2404
- "return": "Promise<void>"
2395
+ "docs": {
2396
+ "text": "Expands all nodes.",
2397
+ "tags": []
2398
+ }
2405
2399
  },
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"
2400
+ "getProps": {
2401
+ "complexType": {
2402
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
2403
+ "parameters": [{
2404
+ "tags": [{
2405
+ "name": "param",
2406
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
2407
+ }],
2408
+ "text": "- When provided and true, the result will be the list of props with their description."
2409
+ }],
2410
+ "references": {
2411
+ "Promise": {
2412
+ "location": "global"
2413
+ },
2414
+ "GenericObject": {
2415
+ "location": "import",
2416
+ "path": "../../types/GenericTypes"
2417
+ }
2424
2418
  },
2425
- "GenericObject": {
2426
- "location": "import",
2427
- "path": "../../types/GenericTypes"
2428
- }
2419
+ "return": "Promise<GenericObject>"
2429
2420
  },
2430
- "return": "Promise<GenericObject>"
2421
+ "docs": {
2422
+ "text": "Used to retrieve component's props values.",
2423
+ "tags": [{
2424
+ "name": "param",
2425
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
2426
+ }, {
2427
+ "name": "returns",
2428
+ "text": "List of props as object, each key will be a prop."
2429
+ }]
2430
+ }
2431
2431
  },
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"
2432
+ "hideColumn": {
2433
+ "complexType": {
2434
+ "signature": "(column: KupDataColumn) => Promise<void>",
2435
+ "parameters": [{
2436
+ "tags": [{
2437
+ "name": "param",
2438
+ "text": "column - Column to hide."
2439
+ }],
2440
+ "text": "- Column to hide."
2441
+ }],
2442
+ "references": {
2443
+ "Promise": {
2444
+ "location": "global"
2445
+ },
2446
+ "KupDataColumn": {
2447
+ "location": "import",
2448
+ "path": "../../managers/kup-data/kup-data-declarations"
2449
+ }
2456
2450
  },
2457
- "KupDataColumn": {
2458
- "location": "import",
2459
- "path": "../../managers/kup-data/kup-data-declarations"
2460
- }
2451
+ "return": "Promise<void>"
2461
2452
  },
2462
- "return": "Promise<void>"
2453
+ "docs": {
2454
+ "text": "Hides the given column.",
2455
+ "tags": [{
2456
+ "name": "param",
2457
+ "text": "column - Column to hide."
2458
+ }]
2459
+ }
2463
2460
  },
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"
2461
+ "openColumnMenu": {
2462
+ "complexType": {
2463
+ "signature": "(column: string) => Promise<void>",
2464
+ "parameters": [{
2465
+ "tags": [{
2466
+ "name": "param",
2467
+ "text": "column - Name of the column."
2468
+ }],
2469
+ "text": "- Name of the column."
2470
+ }],
2471
+ "references": {
2472
+ "Promise": {
2473
+ "location": "global"
2474
+ },
2475
+ "CustomEvent": {
2476
+ "location": "global"
2477
+ },
2478
+ "KupEventPayload": {
2479
+ "location": "import",
2480
+ "path": "../../types/GenericTypes"
2481
+ },
2482
+ "KupCardEventPayload": {
2483
+ "location": "import",
2484
+ "path": "../kup-card/kup-card-declarations"
2485
+ }
2492
2486
  },
2493
- "KupCardEventPayload": {
2494
- "location": "import",
2495
- "path": "../kup-card/kup-card-declarations"
2496
- }
2487
+ "return": "Promise<void>"
2497
2488
  },
2498
- "return": "Promise<void>"
2489
+ "docs": {
2490
+ "text": "Opens the column menu of the given column.",
2491
+ "tags": [{
2492
+ "name": "param",
2493
+ "text": "column - Name of the column."
2494
+ }]
2495
+ }
2499
2496
  },
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
- }
2497
+ "refresh": {
2498
+ "complexType": {
2499
+ "signature": "() => Promise<void>",
2500
+ "parameters": [],
2501
+ "references": {
2502
+ "Promise": {
2503
+ "location": "global"
2504
+ }
2505
+ },
2506
+ "return": "Promise<void>"
2516
2507
  },
2517
- "return": "Promise<void>"
2508
+ "docs": {
2509
+ "text": "This method is used to trigger a new render of the component.",
2510
+ "tags": []
2511
+ }
2518
2512
  },
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
- }
2513
+ "resizeCallback": {
2514
+ "complexType": {
2515
+ "signature": "() => Promise<void>",
2516
+ "parameters": [],
2517
+ "references": {
2518
+ "Promise": {
2519
+ "location": "global"
2520
+ }
2521
+ },
2522
+ "return": "Promise<void>"
2532
2523
  },
2533
- "return": "Promise<void>"
2524
+ "docs": {
2525
+ "text": "This method is invoked by KupManager whenever the component changes size.",
2526
+ "tags": []
2527
+ }
2534
2528
  },
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"
2529
+ "setProps": {
2530
+ "complexType": {
2531
+ "signature": "(props: GenericObject) => Promise<void>",
2532
+ "parameters": [{
2533
+ "tags": [{
2534
+ "name": "param",
2535
+ "text": "props - Object containing props that will be set to the component."
2536
+ }],
2537
+ "text": "- Object containing props that will be set to the component."
2538
+ }],
2539
+ "references": {
2540
+ "Promise": {
2541
+ "location": "global"
2542
+ },
2543
+ "GenericObject": {
2544
+ "location": "import",
2545
+ "path": "../../types/GenericTypes"
2546
+ }
2553
2547
  },
2554
- "GenericObject": {
2555
- "location": "import",
2556
- "path": "../../types/GenericTypes"
2557
- }
2548
+ "return": "Promise<void>"
2558
2549
  },
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
- }]
2550
+ "docs": {
2551
+ "text": "Sets the props to the component.",
2552
+ "tags": [{
2553
+ "name": "param",
2554
+ "text": "props - Object containing props that will be set to the component."
2555
+ }]
2556
+ }
2567
2557
  }
2568
- }
2569
- }; }
2558
+ };
2559
+ }
2570
2560
  static get elementRef() { return "rootElement"; }
2571
- static get watchers() { return [{
2572
- "propName": "data",
2573
- "methodName": "enrichDataWhenChanged"
2574
- }, {
2575
- "propName": "expanded",
2576
- "methodName": "enrichStructureStateWhenChanged"
2577
- }]; }
2561
+ static get watchers() {
2562
+ return [{
2563
+ "propName": "data",
2564
+ "methodName": "enrichDataWhenChanged"
2565
+ }, {
2566
+ "propName": "expanded",
2567
+ "methodName": "enrichStructureStateWhenChanged"
2568
+ }];
2569
+ }
2578
2570
  }