@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, h, Host, Method, Prop, State, Watch, } from '@stencil/core';
1
+ import { forceUpdate, h, Host, } from '@stencil/core';
2
2
  import { SortMode, } from '../kup-data-table/kup-data-table-declarations';
3
3
  import { KupBoxProps, } from './kup-box-declarations';
4
4
  import { getColumnByName } from '../../utils/cell-utils';
@@ -20,136 +20,55 @@ import { pageChange, rowsPerPageChange, } from '../../f-components/f-paginator/f
20
20
  import { FTextFieldMDC } from '../../f-components/f-text-field/f-text-field-mdc';
21
21
  export class KupBox {
22
22
  constructor() {
23
+ this.state = new KupBoxState();
23
24
  /*-------------------------------------------------*/
24
- /* S t a t e s */
25
+ /* I n t e r n a l V a r i a b l e s */
25
26
  /*-------------------------------------------------*/
27
+ /**
28
+ * Instance of the KupManager class.
29
+ */
30
+ this.kupManager = kupManagerInstance();
31
+ this.visibleColumns = [];
32
+ this.rows = [];
33
+ this.filteredRows = [];
34
+ this.sectionRef = null;
35
+ this.rowsRefs = [];
36
+ this.hold = false;
37
+ this.interactableDrag = [];
38
+ this.interactableDrop = [];
39
+ this.interactableTouch = [];
26
40
  this.collapsedSection = {};
27
41
  this.selectedRows = [];
42
+ this.rowActionMenuOpened = undefined;
28
43
  this.currentPage = 1;
29
44
  this.currentRowsPerPage = 10;
30
- this.state = new KupBoxState();
31
- /*-------------------------------------------------*/
32
- /* P r o p s */
33
- /*-------------------------------------------------*/
34
- /**
35
- * Data of the card linked to the box when the latter's layout must be a premade template.
36
- * @default null
37
- */
38
45
  this.cardData = null;
39
- /**
40
- * Number of columns
41
- * @default 1
42
- */
43
46
  this.columns = 1;
44
- /**
45
- * Custom style of the component.
46
- * @default ""
47
- * @see https://ketchup.smeup.com/ketchup-showcase/#/customization
48
- */
49
47
  this.customStyle = '';
50
- /**
51
- * Actual data of the box.
52
- * @default null
53
- */
54
48
  this.data = null;
55
- /**
56
- * Enable dragging
57
- * @default false
58
- */
59
49
  this.dragEnabled = false;
60
- /**
61
- * Enable dropping
62
- * @default false
63
- */
64
50
  this.dropEnabled = false;
65
- /**
66
- * Drop can be done in section
67
- * @default false
68
- */
69
51
  this.dropOnSection = false;
70
- /**
71
- * When set to true, editable cells will be rendered using input components.
72
- * @default false
73
- */
74
52
  this.editableData = false;
75
- /**
76
- * If enabled, a button to load / display the row actions
77
- * will be displayed on the right of every box
78
- * @default false
79
- */
80
53
  this.enableRowActions = false;
81
- /**
82
- * When set to true it activates the global filter.
83
- * @default false
84
- */
85
54
  this.globalFilter = false;
86
- /**
87
- * The value of the global filter.
88
- * @default ""
89
- */
90
55
  this.globalFilterValue = '';
91
- /**
92
- * Displays the boxlist as a Kanban.
93
- * @default null
94
- */
95
56
  this.kanban = null;
96
- /**
97
- * Enable multi selection
98
- * @default false
99
- */
57
+ this.layout = undefined;
100
58
  this.multiSelection = false;
101
- /**
102
- * Current page number
103
- * @default 1
104
- */
105
59
  this.pageSelected = 1;
106
- /**
107
- * Number of boxes per page
108
- * @default 10
109
- */
110
60
  this.pageSize = 10;
111
- /**
112
- * Enables pagination
113
- * @default false
114
- */
115
61
  this.pagination = false;
116
- /**
117
- * Activates the scroll on hover function.
118
- * @default false
119
- */
62
+ this.rowsPerPage = undefined;
120
63
  this.scrollOnHover = false;
121
- /**
122
- * If enabled, highlights the selected box/boxes
123
- * @default true
124
- */
64
+ this.selectBox = undefined;
65
+ this.selectedRowsState = undefined;
125
66
  this.showSelection = true;
126
- /**
127
- * Enable sorting
128
- * @default false
129
- */
67
+ this.sortBy = undefined;
130
68
  this.sortEnabled = false;
131
69
  this.stateId = '';
132
- /**
133
- * Disable swipe
134
- * @default false
135
- */
70
+ this.store = undefined;
136
71
  this.swipeDisabled = false;
137
- /*-------------------------------------------------*/
138
- /* I n t e r n a l V a r i a b l e s */
139
- /*-------------------------------------------------*/
140
- /**
141
- * Instance of the KupManager class.
142
- */
143
- this.kupManager = kupManagerInstance();
144
- this.visibleColumns = [];
145
- this.rows = [];
146
- this.filteredRows = [];
147
- this.sectionRef = null;
148
- this.rowsRefs = [];
149
- this.hold = false;
150
- this.interactableDrag = [];
151
- this.interactableDrop = [];
152
- this.interactableTouch = [];
153
72
  }
154
73
  initWithPersistedState() {
155
74
  if (this.store && this.stateId) {
@@ -771,8 +690,7 @@ export class KupBox {
771
690
  }
772
691
  let multiSel = null;
773
692
  if (this.multiSelection) {
774
- multiSel = (h("div", { class: "box-selection" },
775
- h("kup-checkbox", { checked: isSelected })));
693
+ multiSel = (h("div", { class: "box-selection" }, h("kup-checkbox", { checked: isSelected })));
776
694
  }
777
695
  let rowObject = null;
778
696
  if (this.enableRowActions && !this.swipeDisabled) {
@@ -784,17 +702,11 @@ export class KupBox {
784
702
  if (row.actions) {
785
703
  const actionItems = row.actions.map((item, index) => {
786
704
  const iconClass = `icon ${item.icon}`;
787
- return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) },
788
- h("div", { class: iconClass }),
789
- h("div", { class: "text" }, item.text)));
705
+ return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) }, h("div", { class: iconClass }), h("div", { class: "text" }, item.text)));
790
706
  });
791
707
  rowActionMenuContent = h("ul", null, actionItems);
792
708
  }
793
- rowObject = (h("div", { class: "row-actions-wrapper" },
794
- h("div", { class: "row-actions-toggler" },
795
- h("svg", { version: "1.1", width: "24", height: "24", viewBox: "0 0 24 24", onClick: () => this.onRowAction(row) },
796
- h("path", { d: "M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" })),
797
- h("div", { class: menuClass }, rowActionMenuContent))));
709
+ rowObject = (h("div", { class: "row-actions-wrapper" }, h("div", { class: "row-actions-toggler" }, h("svg", { version: "1.1", width: "24", height: "24", viewBox: "0 0 24 24", onClick: () => this.onRowAction(row) }, h("path", { d: "M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" })), h("div", { class: menuClass }, rowActionMenuContent))));
798
710
  }
799
711
  let badges = null;
800
712
  if (row.badgeData && row.badgeData.length > 0) {
@@ -808,12 +720,8 @@ export class KupBox {
808
720
  selected: this.showSelection && isSelected,
809
721
  column: !horizontal,
810
722
  };
811
- return (h("div", { class: "box-wrapper" },
812
- h("div", { class: boxClass, onClick: (e) => this.onBoxClick(e, row), ref: (el) => this.rowsRefs.push(el) },
813
- multiSel,
814
- boxContent,
815
- badges),
816
- rowObject));
723
+ const rowStyle = row.style || {};
724
+ return (h("div", { class: "box-wrapper", style: rowStyle }, h("div", { class: boxClass, onClick: (e) => this.onBoxClick(e, row), ref: (el) => this.rowsRefs.push(el) }, multiSel, boxContent, badges), rowObject));
817
725
  }
818
726
  renderSection(section, parent, row, visibleColumns) {
819
727
  let sectionContent = null;
@@ -893,21 +801,14 @@ export class KupBox {
893
801
  else {
894
802
  headerTitle = this.kupManager.language.translate(KupLanguageGeneric.EXPAND);
895
803
  }
896
- sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
897
- h("div", { class: contentClass }, sectionContent),
898
- h("div", { class: "header", role: "button", onClick: (e) => {
899
- e.stopPropagation();
900
- this.toggleSectionExpand(row, section);
901
- } },
902
- h("div", { class: "header-content" },
903
- h("span", null, headerTitle),
904
- h(FImage, { resource: `${KupThemeIconValues.DROPDOWN}`, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: sectionExpanded ? 'toggled' : '' })))));
804
+ sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, h("div", { class: contentClass }, sectionContent), h("div", { class: "header", role: "button", onClick: (e) => {
805
+ e.stopPropagation();
806
+ this.toggleSectionExpand(row, section);
807
+ } }, h("div", { class: "header-content" }, h("span", null, headerTitle), h(FImage, { resource: `${KupThemeIconValues.DROPDOWN}`, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: sectionExpanded ? 'toggled' : '' })))));
905
808
  }
906
809
  else {
907
810
  const title = section.title ? h("h3", null, section.title) : null;
908
- sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
909
- title,
910
- sectionContent));
811
+ sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, title, sectionContent));
911
812
  }
912
813
  return sectionContainer;
913
814
  }
@@ -962,9 +863,7 @@ export class KupBox {
962
863
  if (!this.kanban.columns || this.kanban.columns.length === 0) {
963
864
  this.kupManager.debug.logMessage(this, 'No columns to group by detected.', KupDebugCategory.ERROR);
964
865
  return {
965
- jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" },
966
- h("div", { ref: (el) => this.rowsRefs.push(el) }),
967
- this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))),
866
+ jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { ref: (el) => this.rowsRefs.push(el) }), this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))),
968
867
  style: { 'grid-template-columns': `repeat(1, 1fr)` },
969
868
  };
970
869
  }
@@ -1033,9 +932,7 @@ export class KupBox {
1033
932
  id: sortingKey[index],
1034
933
  });
1035
934
  }
1036
- kanbanJSX.push(h("div", { class: "kanban-section" },
1037
- h(FChip, Object.assign({}, props)),
1038
- kanbanSections[index].nodes));
935
+ kanbanJSX.push(h("div", { class: "kanban-section" }, h(FChip, Object.assign({}, props)), kanbanSections[index].nodes));
1039
936
  }
1040
937
  return {
1041
938
  jsx: kanbanJSX,
@@ -1219,16 +1116,14 @@ export class KupBox {
1219
1116
  'kup-text-field': textfieldData,
1220
1117
  'kup-list': listData,
1221
1118
  };
1222
- sortPanel = (h("div", { id: "sort-panel" },
1223
- h("kup-combobox", { data: data, initialValue: this.sortBy, "onkup-combobox-itemclick": (e) => this.onSortChange(e) })));
1119
+ sortPanel = (h("div", { id: "sort-panel" }, h("kup-combobox", { data: data, initialValue: this.sortBy, "onkup-combobox-itemclick": (e) => this.onSortChange(e) })));
1224
1120
  }
1225
1121
  let filterPanel = null;
1226
1122
  if (this.globalFilter) {
1227
- filterPanel = (h("div", { id: "global-filter" },
1228
- h("kup-text-field", { fullWidth: true, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
1229
- window.clearTimeout(this.globalFilterTimeout);
1230
- this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
1231
- } })));
1123
+ filterPanel = (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) => {
1124
+ window.clearTimeout(this.globalFilterTimeout);
1125
+ this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
1126
+ } })));
1232
1127
  }
1233
1128
  let paginator = null;
1234
1129
  if (this.pagination) {
@@ -1239,8 +1134,7 @@ export class KupBox {
1239
1134
  let boxContent = null;
1240
1135
  let containerStyle = {};
1241
1136
  if (this.rows.length === 0) {
1242
- boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" },
1243
- h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
1137
+ boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
1244
1138
  containerStyle = { 'grid-template-columns': `repeat(1, 1fr)` };
1245
1139
  }
1246
1140
  else if (isKanban) {
@@ -1260,17 +1154,10 @@ export class KupBox {
1260
1154
  boxContent.push(this.renderRow(rows[cnt++]));
1261
1155
  }
1262
1156
  }
1263
- return (h(Host, null,
1264
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
1265
- h("div", { id: componentWrapperId },
1266
- h("div", { class: 'box-component', ref: (el) => (this.sectionRef = el) },
1267
- sortPanel,
1268
- filterPanel,
1269
- paginator,
1270
- h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
1271
- e.preventDefault();
1272
- }, ref: (el) => (this.boxContainer =
1273
- el) }, boxContent)))));
1157
+ return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: 'box-component', ref: (el) => (this.sectionRef = el) }, sortPanel, filterPanel, paginator, h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
1158
+ e.preventDefault();
1159
+ }, ref: (el) => (this.boxContainer =
1160
+ el) }, boxContent)))));
1274
1161
  }
1275
1162
  disconnectedCallback() {
1276
1163
  this.kupManager.interact.unregister(this.interactableDrag.concat(this.interactableDrop));
@@ -1285,894 +1172,908 @@ export class KupBox {
1285
1172
  }
1286
1173
  static get is() { return "kup-box"; }
1287
1174
  static get encapsulation() { return "shadow"; }
1288
- static get originalStyleUrls() { return {
1289
- "$": ["kup-box.scss"]
1290
- }; }
1291
- static get styleUrls() { return {
1292
- "$": ["kup-box.css"]
1293
- }; }
1294
- static get properties() { return {
1295
- "cardData": {
1296
- "type": "unknown",
1297
- "mutable": false,
1298
- "complexType": {
1299
- "original": "GenericObject",
1300
- "resolved": "GenericObject",
1301
- "references": {
1302
- "GenericObject": {
1303
- "location": "import",
1304
- "path": "../../types/GenericTypes"
1175
+ static get originalStyleUrls() {
1176
+ return {
1177
+ "$": ["kup-box.scss"]
1178
+ };
1179
+ }
1180
+ static get styleUrls() {
1181
+ return {
1182
+ "$": ["kup-box.css"]
1183
+ };
1184
+ }
1185
+ static get properties() {
1186
+ return {
1187
+ "cardData": {
1188
+ "type": "unknown",
1189
+ "mutable": false,
1190
+ "complexType": {
1191
+ "original": "GenericObject",
1192
+ "resolved": "GenericObject",
1193
+ "references": {
1194
+ "GenericObject": {
1195
+ "location": "import",
1196
+ "path": "../../types/GenericTypes"
1197
+ }
1305
1198
  }
1306
- }
1307
- },
1308
- "required": false,
1309
- "optional": false,
1310
- "docs": {
1311
- "tags": [{
1312
- "name": "default",
1313
- "text": "null"
1314
- }],
1315
- "text": "Data of the card linked to the box when the latter's layout must be a premade template."
1316
- },
1317
- "defaultValue": "null"
1318
- },
1319
- "columns": {
1320
- "type": "number",
1321
- "mutable": false,
1322
- "complexType": {
1323
- "original": "number",
1324
- "resolved": "number",
1325
- "references": {}
1326
- },
1327
- "required": false,
1328
- "optional": false,
1329
- "docs": {
1330
- "tags": [{
1331
- "name": "default",
1332
- "text": "1"
1333
- }],
1334
- "text": "Number of columns"
1335
- },
1336
- "attribute": "columns",
1337
- "reflect": false,
1338
- "defaultValue": "1"
1339
- },
1340
- "customStyle": {
1341
- "type": "string",
1342
- "mutable": false,
1343
- "complexType": {
1344
- "original": "string",
1345
- "resolved": "string",
1346
- "references": {}
1347
- },
1348
- "required": false,
1349
- "optional": false,
1350
- "docs": {
1351
- "tags": [{
1352
- "name": "default",
1353
- "text": "\"\""
1354
- }, {
1355
- "name": "see",
1356
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
1357
- }],
1358
- "text": "Custom style of the component."
1359
- },
1360
- "attribute": "custom-style",
1361
- "reflect": false,
1362
- "defaultValue": "''"
1363
- },
1364
- "data": {
1365
- "type": "unknown",
1366
- "mutable": false,
1367
- "complexType": {
1368
- "original": "KupBoxData",
1369
- "resolved": "KupBoxData",
1370
- "references": {
1371
- "KupBoxData": {
1372
- "location": "import",
1373
- "path": "./kup-box-declarations"
1199
+ },
1200
+ "required": false,
1201
+ "optional": false,
1202
+ "docs": {
1203
+ "tags": [{
1204
+ "name": "default",
1205
+ "text": "null"
1206
+ }],
1207
+ "text": "Data of the card linked to the box when the latter's layout must be a premade template."
1208
+ },
1209
+ "defaultValue": "null"
1210
+ },
1211
+ "columns": {
1212
+ "type": "number",
1213
+ "mutable": false,
1214
+ "complexType": {
1215
+ "original": "number",
1216
+ "resolved": "number",
1217
+ "references": {}
1218
+ },
1219
+ "required": false,
1220
+ "optional": false,
1221
+ "docs": {
1222
+ "tags": [{
1223
+ "name": "default",
1224
+ "text": "1"
1225
+ }],
1226
+ "text": "Number of columns"
1227
+ },
1228
+ "attribute": "columns",
1229
+ "reflect": false,
1230
+ "defaultValue": "1"
1231
+ },
1232
+ "customStyle": {
1233
+ "type": "string",
1234
+ "mutable": false,
1235
+ "complexType": {
1236
+ "original": "string",
1237
+ "resolved": "string",
1238
+ "references": {}
1239
+ },
1240
+ "required": false,
1241
+ "optional": false,
1242
+ "docs": {
1243
+ "tags": [{
1244
+ "name": "default",
1245
+ "text": "\"\""
1246
+ }, {
1247
+ "name": "see",
1248
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
1249
+ }],
1250
+ "text": "Custom style of the component."
1251
+ },
1252
+ "attribute": "custom-style",
1253
+ "reflect": false,
1254
+ "defaultValue": "''"
1255
+ },
1256
+ "data": {
1257
+ "type": "unknown",
1258
+ "mutable": false,
1259
+ "complexType": {
1260
+ "original": "KupBoxData",
1261
+ "resolved": "KupBoxData",
1262
+ "references": {
1263
+ "KupBoxData": {
1264
+ "location": "import",
1265
+ "path": "./kup-box-declarations"
1266
+ }
1374
1267
  }
1375
- }
1376
- },
1377
- "required": false,
1378
- "optional": false,
1379
- "docs": {
1380
- "tags": [{
1381
- "name": "default",
1382
- "text": "null"
1383
- }],
1384
- "text": "Actual data of the box."
1385
- },
1386
- "defaultValue": "null"
1387
- },
1388
- "dragEnabled": {
1389
- "type": "boolean",
1390
- "mutable": false,
1391
- "complexType": {
1392
- "original": "boolean",
1393
- "resolved": "boolean",
1394
- "references": {}
1395
- },
1396
- "required": false,
1397
- "optional": false,
1398
- "docs": {
1399
- "tags": [{
1400
- "name": "default",
1401
- "text": "false"
1402
- }],
1403
- "text": "Enable dragging"
1404
- },
1405
- "attribute": "drag-enabled",
1406
- "reflect": false,
1407
- "defaultValue": "false"
1408
- },
1409
- "dropEnabled": {
1410
- "type": "boolean",
1411
- "mutable": false,
1412
- "complexType": {
1413
- "original": "boolean",
1414
- "resolved": "boolean",
1415
- "references": {}
1416
- },
1417
- "required": false,
1418
- "optional": false,
1419
- "docs": {
1420
- "tags": [{
1421
- "name": "default",
1422
- "text": "false"
1423
- }],
1424
- "text": "Enable dropping"
1425
- },
1426
- "attribute": "drop-enabled",
1427
- "reflect": false,
1428
- "defaultValue": "false"
1429
- },
1430
- "dropOnSection": {
1431
- "type": "boolean",
1432
- "mutable": false,
1433
- "complexType": {
1434
- "original": "boolean",
1435
- "resolved": "boolean",
1436
- "references": {}
1437
- },
1438
- "required": false,
1439
- "optional": false,
1440
- "docs": {
1441
- "tags": [{
1442
- "name": "default",
1443
- "text": "false"
1444
- }],
1445
- "text": "Drop can be done in section"
1446
- },
1447
- "attribute": "drop-on-section",
1448
- "reflect": false,
1449
- "defaultValue": "false"
1450
- },
1451
- "editableData": {
1452
- "type": "boolean",
1453
- "mutable": false,
1454
- "complexType": {
1455
- "original": "boolean",
1456
- "resolved": "boolean",
1457
- "references": {}
1458
- },
1459
- "required": false,
1460
- "optional": false,
1461
- "docs": {
1462
- "tags": [{
1463
- "name": "default",
1464
- "text": "false"
1465
- }],
1466
- "text": "When set to true, editable cells will be rendered using input components."
1467
- },
1468
- "attribute": "editable-data",
1469
- "reflect": false,
1470
- "defaultValue": "false"
1471
- },
1472
- "enableRowActions": {
1473
- "type": "boolean",
1474
- "mutable": false,
1475
- "complexType": {
1476
- "original": "boolean",
1477
- "resolved": "boolean",
1478
- "references": {}
1479
- },
1480
- "required": false,
1481
- "optional": false,
1482
- "docs": {
1483
- "tags": [{
1484
- "name": "default",
1485
- "text": "false"
1486
- }],
1487
- "text": "If enabled, a button to load / display the row actions\r\nwill be displayed on the right of every box"
1488
- },
1489
- "attribute": "enable-row-actions",
1490
- "reflect": false,
1491
- "defaultValue": "false"
1492
- },
1493
- "globalFilter": {
1494
- "type": "boolean",
1495
- "mutable": false,
1496
- "complexType": {
1497
- "original": "boolean",
1498
- "resolved": "boolean",
1499
- "references": {}
1500
- },
1501
- "required": false,
1502
- "optional": false,
1503
- "docs": {
1504
- "tags": [{
1505
- "name": "default",
1506
- "text": "false"
1507
- }],
1508
- "text": "When set to true it activates the global filter."
1509
- },
1510
- "attribute": "global-filter",
1511
- "reflect": false,
1512
- "defaultValue": "false"
1513
- },
1514
- "globalFilterValue": {
1515
- "type": "string",
1516
- "mutable": true,
1517
- "complexType": {
1518
- "original": "string",
1519
- "resolved": "string",
1520
- "references": {}
1521
- },
1522
- "required": false,
1523
- "optional": false,
1524
- "docs": {
1525
- "tags": [{
1526
- "name": "default",
1527
- "text": "\"\""
1528
- }],
1529
- "text": "The value of the global filter."
1530
- },
1531
- "attribute": "global-filter-value",
1532
- "reflect": true,
1533
- "defaultValue": "''"
1534
- },
1535
- "kanban": {
1536
- "type": "unknown",
1537
- "mutable": false,
1538
- "complexType": {
1539
- "original": "KupBoxKanban",
1540
- "resolved": "KupBoxKanban",
1541
- "references": {
1542
- "KupBoxKanban": {
1543
- "location": "import",
1544
- "path": "./kup-box-declarations"
1268
+ },
1269
+ "required": false,
1270
+ "optional": false,
1271
+ "docs": {
1272
+ "tags": [{
1273
+ "name": "default",
1274
+ "text": "null"
1275
+ }],
1276
+ "text": "Actual data of the box."
1277
+ },
1278
+ "defaultValue": "null"
1279
+ },
1280
+ "dragEnabled": {
1281
+ "type": "boolean",
1282
+ "mutable": false,
1283
+ "complexType": {
1284
+ "original": "boolean",
1285
+ "resolved": "boolean",
1286
+ "references": {}
1287
+ },
1288
+ "required": false,
1289
+ "optional": false,
1290
+ "docs": {
1291
+ "tags": [{
1292
+ "name": "default",
1293
+ "text": "false"
1294
+ }],
1295
+ "text": "Enable dragging"
1296
+ },
1297
+ "attribute": "drag-enabled",
1298
+ "reflect": false,
1299
+ "defaultValue": "false"
1300
+ },
1301
+ "dropEnabled": {
1302
+ "type": "boolean",
1303
+ "mutable": false,
1304
+ "complexType": {
1305
+ "original": "boolean",
1306
+ "resolved": "boolean",
1307
+ "references": {}
1308
+ },
1309
+ "required": false,
1310
+ "optional": false,
1311
+ "docs": {
1312
+ "tags": [{
1313
+ "name": "default",
1314
+ "text": "false"
1315
+ }],
1316
+ "text": "Enable dropping"
1317
+ },
1318
+ "attribute": "drop-enabled",
1319
+ "reflect": false,
1320
+ "defaultValue": "false"
1321
+ },
1322
+ "dropOnSection": {
1323
+ "type": "boolean",
1324
+ "mutable": false,
1325
+ "complexType": {
1326
+ "original": "boolean",
1327
+ "resolved": "boolean",
1328
+ "references": {}
1329
+ },
1330
+ "required": false,
1331
+ "optional": false,
1332
+ "docs": {
1333
+ "tags": [{
1334
+ "name": "default",
1335
+ "text": "false"
1336
+ }],
1337
+ "text": "Drop can be done in section"
1338
+ },
1339
+ "attribute": "drop-on-section",
1340
+ "reflect": false,
1341
+ "defaultValue": "false"
1342
+ },
1343
+ "editableData": {
1344
+ "type": "boolean",
1345
+ "mutable": false,
1346
+ "complexType": {
1347
+ "original": "boolean",
1348
+ "resolved": "boolean",
1349
+ "references": {}
1350
+ },
1351
+ "required": false,
1352
+ "optional": false,
1353
+ "docs": {
1354
+ "tags": [{
1355
+ "name": "default",
1356
+ "text": "false"
1357
+ }],
1358
+ "text": "When set to true, editable cells will be rendered using input components."
1359
+ },
1360
+ "attribute": "editable-data",
1361
+ "reflect": false,
1362
+ "defaultValue": "false"
1363
+ },
1364
+ "enableRowActions": {
1365
+ "type": "boolean",
1366
+ "mutable": false,
1367
+ "complexType": {
1368
+ "original": "boolean",
1369
+ "resolved": "boolean",
1370
+ "references": {}
1371
+ },
1372
+ "required": false,
1373
+ "optional": false,
1374
+ "docs": {
1375
+ "tags": [{
1376
+ "name": "default",
1377
+ "text": "false"
1378
+ }],
1379
+ "text": "If enabled, a button to load / display the row actions\r\nwill be displayed on the right of every box"
1380
+ },
1381
+ "attribute": "enable-row-actions",
1382
+ "reflect": false,
1383
+ "defaultValue": "false"
1384
+ },
1385
+ "globalFilter": {
1386
+ "type": "boolean",
1387
+ "mutable": false,
1388
+ "complexType": {
1389
+ "original": "boolean",
1390
+ "resolved": "boolean",
1391
+ "references": {}
1392
+ },
1393
+ "required": false,
1394
+ "optional": false,
1395
+ "docs": {
1396
+ "tags": [{
1397
+ "name": "default",
1398
+ "text": "false"
1399
+ }],
1400
+ "text": "When set to true it activates the global filter."
1401
+ },
1402
+ "attribute": "global-filter",
1403
+ "reflect": false,
1404
+ "defaultValue": "false"
1405
+ },
1406
+ "globalFilterValue": {
1407
+ "type": "string",
1408
+ "mutable": true,
1409
+ "complexType": {
1410
+ "original": "string",
1411
+ "resolved": "string",
1412
+ "references": {}
1413
+ },
1414
+ "required": false,
1415
+ "optional": false,
1416
+ "docs": {
1417
+ "tags": [{
1418
+ "name": "default",
1419
+ "text": "\"\""
1420
+ }],
1421
+ "text": "The value of the global filter."
1422
+ },
1423
+ "attribute": "global-filter-value",
1424
+ "reflect": true,
1425
+ "defaultValue": "''"
1426
+ },
1427
+ "kanban": {
1428
+ "type": "unknown",
1429
+ "mutable": false,
1430
+ "complexType": {
1431
+ "original": "KupBoxKanban",
1432
+ "resolved": "KupBoxKanban",
1433
+ "references": {
1434
+ "KupBoxKanban": {
1435
+ "location": "import",
1436
+ "path": "./kup-box-declarations"
1437
+ }
1545
1438
  }
1546
- }
1547
- },
1548
- "required": false,
1549
- "optional": false,
1550
- "docs": {
1551
- "tags": [{
1552
- "name": "default",
1553
- "text": "null"
1554
- }],
1555
- "text": "Displays the boxlist as a Kanban."
1556
- },
1557
- "defaultValue": "null"
1558
- },
1559
- "layout": {
1560
- "type": "unknown",
1561
- "mutable": false,
1562
- "complexType": {
1563
- "original": "KupBoxLayout",
1564
- "resolved": "KupBoxLayout",
1565
- "references": {
1566
- "KupBoxLayout": {
1567
- "location": "import",
1568
- "path": "./kup-box-declarations"
1439
+ },
1440
+ "required": false,
1441
+ "optional": false,
1442
+ "docs": {
1443
+ "tags": [{
1444
+ "name": "default",
1445
+ "text": "null"
1446
+ }],
1447
+ "text": "Displays the boxlist as a Kanban."
1448
+ },
1449
+ "defaultValue": "null"
1450
+ },
1451
+ "layout": {
1452
+ "type": "unknown",
1453
+ "mutable": false,
1454
+ "complexType": {
1455
+ "original": "KupBoxLayout",
1456
+ "resolved": "KupBoxLayout",
1457
+ "references": {
1458
+ "KupBoxLayout": {
1459
+ "location": "import",
1460
+ "path": "./kup-box-declarations"
1461
+ }
1569
1462
  }
1463
+ },
1464
+ "required": false,
1465
+ "optional": false,
1466
+ "docs": {
1467
+ "tags": [{
1468
+ "name": "default",
1469
+ "text": "undefined"
1470
+ }],
1471
+ "text": "How the field will be displayed. If not present, a default one will be created."
1570
1472
  }
1571
1473
  },
1572
- "required": false,
1573
- "optional": false,
1574
- "docs": {
1575
- "tags": [{
1576
- "name": "default",
1577
- "text": "undefined"
1578
- }],
1579
- "text": "How the field will be displayed. If not present, a default one will be created."
1580
- }
1581
- },
1582
- "multiSelection": {
1583
- "type": "boolean",
1584
- "mutable": false,
1585
- "complexType": {
1586
- "original": "boolean",
1587
- "resolved": "boolean",
1588
- "references": {}
1589
- },
1590
- "required": false,
1591
- "optional": false,
1592
- "docs": {
1593
- "tags": [{
1594
- "name": "default",
1595
- "text": "false"
1596
- }],
1597
- "text": "Enable multi selection"
1598
- },
1599
- "attribute": "multi-selection",
1600
- "reflect": false,
1601
- "defaultValue": "false"
1602
- },
1603
- "pageSelected": {
1604
- "type": "number",
1605
- "mutable": false,
1606
- "complexType": {
1607
- "original": "number",
1608
- "resolved": "number",
1609
- "references": {}
1610
- },
1611
- "required": false,
1612
- "optional": false,
1613
- "docs": {
1614
- "tags": [{
1615
- "name": "default",
1616
- "text": "1"
1617
- }],
1618
- "text": "Current page number"
1619
- },
1620
- "attribute": "page-selected",
1621
- "reflect": false,
1622
- "defaultValue": "1"
1623
- },
1624
- "pageSize": {
1625
- "type": "number",
1626
- "mutable": false,
1627
- "complexType": {
1628
- "original": "number",
1629
- "resolved": "number",
1630
- "references": {}
1631
- },
1632
- "required": false,
1633
- "optional": false,
1634
- "docs": {
1635
- "tags": [{
1636
- "name": "default",
1637
- "text": "10"
1638
- }],
1639
- "text": "Number of boxes per page"
1640
- },
1641
- "attribute": "page-size",
1642
- "reflect": false,
1643
- "defaultValue": "10"
1644
- },
1645
- "pagination": {
1646
- "type": "boolean",
1647
- "mutable": false,
1648
- "complexType": {
1649
- "original": "boolean",
1650
- "resolved": "boolean",
1651
- "references": {}
1652
- },
1653
- "required": false,
1654
- "optional": false,
1655
- "docs": {
1656
- "tags": [{
1657
- "name": "default",
1658
- "text": "false"
1659
- }],
1660
- "text": "Enables pagination"
1661
- },
1662
- "attribute": "pagination",
1663
- "reflect": false,
1664
- "defaultValue": "false"
1665
- },
1666
- "rowsPerPage": {
1667
- "type": "number",
1668
- "mutable": false,
1669
- "complexType": {
1670
- "original": "number",
1671
- "resolved": "number",
1672
- "references": {}
1673
- },
1674
- "required": false,
1675
- "optional": false,
1676
- "docs": {
1677
- "tags": [{
1678
- "name": "default",
1679
- "text": "undefined"
1680
- }],
1681
- "text": "Number of current rows per page"
1682
- },
1683
- "attribute": "rows-per-page",
1684
- "reflect": false
1685
- },
1686
- "scrollOnHover": {
1687
- "type": "boolean",
1688
- "mutable": false,
1689
- "complexType": {
1690
- "original": "boolean",
1691
- "resolved": "boolean",
1692
- "references": {}
1693
- },
1694
- "required": false,
1695
- "optional": false,
1696
- "docs": {
1697
- "tags": [{
1698
- "name": "default",
1699
- "text": "false"
1700
- }],
1701
- "text": "Activates the scroll on hover function."
1702
- },
1703
- "attribute": "scroll-on-hover",
1704
- "reflect": false,
1705
- "defaultValue": "false"
1706
- },
1707
- "selectBox": {
1708
- "type": "number",
1709
- "mutable": false,
1710
- "complexType": {
1711
- "original": "number",
1712
- "resolved": "number",
1713
- "references": {}
1714
- },
1715
- "required": false,
1716
- "optional": false,
1717
- "docs": {
1718
- "tags": [{
1719
- "name": "default",
1720
- "text": "undefined"
1721
- }],
1722
- "text": "Automatically selects the box at the specified index"
1723
- },
1724
- "attribute": "select-box",
1725
- "reflect": false
1726
- },
1727
- "selectedRowsState": {
1728
- "type": "string",
1729
- "mutable": true,
1730
- "complexType": {
1731
- "original": "string",
1732
- "resolved": "string",
1733
- "references": {}
1734
- },
1735
- "required": false,
1736
- "optional": false,
1737
- "docs": {
1738
- "tags": [{
1739
- "name": "default",
1740
- "text": "undefined"
1741
- }],
1742
- "text": "Multiple selection"
1743
- },
1744
- "attribute": "selected-rows-state",
1745
- "reflect": false
1746
- },
1747
- "showSelection": {
1748
- "type": "boolean",
1749
- "mutable": false,
1750
- "complexType": {
1751
- "original": "boolean",
1752
- "resolved": "boolean",
1753
- "references": {}
1754
- },
1755
- "required": false,
1756
- "optional": false,
1757
- "docs": {
1758
- "tags": [{
1759
- "name": "default",
1760
- "text": "true"
1761
- }],
1762
- "text": "If enabled, highlights the selected box/boxes"
1763
- },
1764
- "attribute": "show-selection",
1765
- "reflect": false,
1766
- "defaultValue": "true"
1767
- },
1768
- "sortBy": {
1769
- "type": "string",
1770
- "mutable": true,
1771
- "complexType": {
1772
- "original": "string",
1773
- "resolved": "string",
1774
- "references": {}
1775
- },
1776
- "required": false,
1777
- "optional": false,
1778
- "docs": {
1779
- "tags": [{
1780
- "name": "default",
1781
- "text": "undefined"
1782
- }],
1783
- "text": "If sorting is enabled, specifies which column to sort"
1784
- },
1785
- "attribute": "sort-by",
1786
- "reflect": false
1787
- },
1788
- "sortEnabled": {
1789
- "type": "boolean",
1790
- "mutable": false,
1791
- "complexType": {
1792
- "original": "boolean",
1793
- "resolved": "boolean",
1794
- "references": {}
1795
- },
1796
- "required": false,
1797
- "optional": false,
1798
- "docs": {
1799
- "tags": [{
1800
- "name": "default",
1801
- "text": "false"
1802
- }],
1803
- "text": "Enable sorting"
1804
- },
1805
- "attribute": "sort-enabled",
1806
- "reflect": false,
1807
- "defaultValue": "false"
1808
- },
1809
- "stateId": {
1810
- "type": "string",
1811
- "mutable": false,
1812
- "complexType": {
1813
- "original": "string",
1814
- "resolved": "string",
1815
- "references": {}
1816
- },
1817
- "required": false,
1818
- "optional": false,
1819
- "docs": {
1820
- "tags": [],
1821
- "text": ""
1822
- },
1823
- "attribute": "state-id",
1824
- "reflect": false,
1825
- "defaultValue": "''"
1826
- },
1827
- "store": {
1828
- "type": "unknown",
1829
- "mutable": false,
1830
- "complexType": {
1831
- "original": "KupStore",
1832
- "resolved": "KupStore",
1833
- "references": {
1834
- "KupStore": {
1835
- "location": "import",
1836
- "path": "../kup-state/kup-store"
1474
+ "multiSelection": {
1475
+ "type": "boolean",
1476
+ "mutable": false,
1477
+ "complexType": {
1478
+ "original": "boolean",
1479
+ "resolved": "boolean",
1480
+ "references": {}
1481
+ },
1482
+ "required": false,
1483
+ "optional": false,
1484
+ "docs": {
1485
+ "tags": [{
1486
+ "name": "default",
1487
+ "text": "false"
1488
+ }],
1489
+ "text": "Enable multi selection"
1490
+ },
1491
+ "attribute": "multi-selection",
1492
+ "reflect": false,
1493
+ "defaultValue": "false"
1494
+ },
1495
+ "pageSelected": {
1496
+ "type": "number",
1497
+ "mutable": false,
1498
+ "complexType": {
1499
+ "original": "number",
1500
+ "resolved": "number",
1501
+ "references": {}
1502
+ },
1503
+ "required": false,
1504
+ "optional": false,
1505
+ "docs": {
1506
+ "tags": [{
1507
+ "name": "default",
1508
+ "text": "1"
1509
+ }],
1510
+ "text": "Current page number"
1511
+ },
1512
+ "attribute": "page-selected",
1513
+ "reflect": false,
1514
+ "defaultValue": "1"
1515
+ },
1516
+ "pageSize": {
1517
+ "type": "number",
1518
+ "mutable": false,
1519
+ "complexType": {
1520
+ "original": "number",
1521
+ "resolved": "number",
1522
+ "references": {}
1523
+ },
1524
+ "required": false,
1525
+ "optional": false,
1526
+ "docs": {
1527
+ "tags": [{
1528
+ "name": "default",
1529
+ "text": "10"
1530
+ }],
1531
+ "text": "Number of boxes per page"
1532
+ },
1533
+ "attribute": "page-size",
1534
+ "reflect": false,
1535
+ "defaultValue": "10"
1536
+ },
1537
+ "pagination": {
1538
+ "type": "boolean",
1539
+ "mutable": false,
1540
+ "complexType": {
1541
+ "original": "boolean",
1542
+ "resolved": "boolean",
1543
+ "references": {}
1544
+ },
1545
+ "required": false,
1546
+ "optional": false,
1547
+ "docs": {
1548
+ "tags": [{
1549
+ "name": "default",
1550
+ "text": "false"
1551
+ }],
1552
+ "text": "Enables pagination"
1553
+ },
1554
+ "attribute": "pagination",
1555
+ "reflect": false,
1556
+ "defaultValue": "false"
1557
+ },
1558
+ "rowsPerPage": {
1559
+ "type": "number",
1560
+ "mutable": false,
1561
+ "complexType": {
1562
+ "original": "number",
1563
+ "resolved": "number",
1564
+ "references": {}
1565
+ },
1566
+ "required": false,
1567
+ "optional": false,
1568
+ "docs": {
1569
+ "tags": [{
1570
+ "name": "default",
1571
+ "text": "undefined"
1572
+ }],
1573
+ "text": "Number of current rows per page"
1574
+ },
1575
+ "attribute": "rows-per-page",
1576
+ "reflect": false
1577
+ },
1578
+ "scrollOnHover": {
1579
+ "type": "boolean",
1580
+ "mutable": false,
1581
+ "complexType": {
1582
+ "original": "boolean",
1583
+ "resolved": "boolean",
1584
+ "references": {}
1585
+ },
1586
+ "required": false,
1587
+ "optional": false,
1588
+ "docs": {
1589
+ "tags": [{
1590
+ "name": "default",
1591
+ "text": "false"
1592
+ }],
1593
+ "text": "Activates the scroll on hover function."
1594
+ },
1595
+ "attribute": "scroll-on-hover",
1596
+ "reflect": false,
1597
+ "defaultValue": "false"
1598
+ },
1599
+ "selectBox": {
1600
+ "type": "number",
1601
+ "mutable": false,
1602
+ "complexType": {
1603
+ "original": "number",
1604
+ "resolved": "number",
1605
+ "references": {}
1606
+ },
1607
+ "required": false,
1608
+ "optional": false,
1609
+ "docs": {
1610
+ "tags": [{
1611
+ "name": "default",
1612
+ "text": "undefined"
1613
+ }],
1614
+ "text": "Automatically selects the box at the specified index"
1615
+ },
1616
+ "attribute": "select-box",
1617
+ "reflect": false
1618
+ },
1619
+ "selectedRowsState": {
1620
+ "type": "string",
1621
+ "mutable": true,
1622
+ "complexType": {
1623
+ "original": "string",
1624
+ "resolved": "string",
1625
+ "references": {}
1626
+ },
1627
+ "required": false,
1628
+ "optional": false,
1629
+ "docs": {
1630
+ "tags": [{
1631
+ "name": "default",
1632
+ "text": "undefined"
1633
+ }],
1634
+ "text": "Multiple selection"
1635
+ },
1636
+ "attribute": "selected-rows-state",
1637
+ "reflect": false
1638
+ },
1639
+ "showSelection": {
1640
+ "type": "boolean",
1641
+ "mutable": false,
1642
+ "complexType": {
1643
+ "original": "boolean",
1644
+ "resolved": "boolean",
1645
+ "references": {}
1646
+ },
1647
+ "required": false,
1648
+ "optional": false,
1649
+ "docs": {
1650
+ "tags": [{
1651
+ "name": "default",
1652
+ "text": "true"
1653
+ }],
1654
+ "text": "If enabled, highlights the selected box/boxes"
1655
+ },
1656
+ "attribute": "show-selection",
1657
+ "reflect": false,
1658
+ "defaultValue": "true"
1659
+ },
1660
+ "sortBy": {
1661
+ "type": "string",
1662
+ "mutable": true,
1663
+ "complexType": {
1664
+ "original": "string",
1665
+ "resolved": "string",
1666
+ "references": {}
1667
+ },
1668
+ "required": false,
1669
+ "optional": false,
1670
+ "docs": {
1671
+ "tags": [{
1672
+ "name": "default",
1673
+ "text": "undefined"
1674
+ }],
1675
+ "text": "If sorting is enabled, specifies which column to sort"
1676
+ },
1677
+ "attribute": "sort-by",
1678
+ "reflect": false
1679
+ },
1680
+ "sortEnabled": {
1681
+ "type": "boolean",
1682
+ "mutable": false,
1683
+ "complexType": {
1684
+ "original": "boolean",
1685
+ "resolved": "boolean",
1686
+ "references": {}
1687
+ },
1688
+ "required": false,
1689
+ "optional": false,
1690
+ "docs": {
1691
+ "tags": [{
1692
+ "name": "default",
1693
+ "text": "false"
1694
+ }],
1695
+ "text": "Enable sorting"
1696
+ },
1697
+ "attribute": "sort-enabled",
1698
+ "reflect": false,
1699
+ "defaultValue": "false"
1700
+ },
1701
+ "stateId": {
1702
+ "type": "string",
1703
+ "mutable": false,
1704
+ "complexType": {
1705
+ "original": "string",
1706
+ "resolved": "string",
1707
+ "references": {}
1708
+ },
1709
+ "required": false,
1710
+ "optional": false,
1711
+ "docs": {
1712
+ "tags": [],
1713
+ "text": ""
1714
+ },
1715
+ "attribute": "state-id",
1716
+ "reflect": false,
1717
+ "defaultValue": "''"
1718
+ },
1719
+ "store": {
1720
+ "type": "unknown",
1721
+ "mutable": false,
1722
+ "complexType": {
1723
+ "original": "KupStore",
1724
+ "resolved": "KupStore",
1725
+ "references": {
1726
+ "KupStore": {
1727
+ "location": "import",
1728
+ "path": "../kup-state/kup-store"
1729
+ }
1837
1730
  }
1731
+ },
1732
+ "required": false,
1733
+ "optional": false,
1734
+ "docs": {
1735
+ "tags": [],
1736
+ "text": ""
1838
1737
  }
1839
1738
  },
1840
- "required": false,
1841
- "optional": false,
1842
- "docs": {
1843
- "tags": [],
1844
- "text": ""
1739
+ "swipeDisabled": {
1740
+ "type": "boolean",
1741
+ "mutable": false,
1742
+ "complexType": {
1743
+ "original": "boolean",
1744
+ "resolved": "boolean",
1745
+ "references": {}
1746
+ },
1747
+ "required": false,
1748
+ "optional": false,
1749
+ "docs": {
1750
+ "tags": [{
1751
+ "name": "default",
1752
+ "text": "false"
1753
+ }],
1754
+ "text": "Disable swipe"
1755
+ },
1756
+ "attribute": "swipe-disabled",
1757
+ "reflect": false,
1758
+ "defaultValue": "false"
1845
1759
  }
1846
- },
1847
- "swipeDisabled": {
1848
- "type": "boolean",
1849
- "mutable": false,
1850
- "complexType": {
1851
- "original": "boolean",
1852
- "resolved": "boolean",
1853
- "references": {}
1854
- },
1855
- "required": false,
1856
- "optional": false,
1857
- "docs": {
1858
- "tags": [{
1859
- "name": "default",
1860
- "text": "false"
1861
- }],
1862
- "text": "Disable swipe"
1863
- },
1864
- "attribute": "swipe-disabled",
1865
- "reflect": false,
1866
- "defaultValue": "false"
1867
- }
1868
- }; }
1869
- static get states() { return {
1870
- "collapsedSection": {},
1871
- "selectedRows": {},
1872
- "rowActionMenuOpened": {},
1873
- "currentPage": {},
1874
- "currentRowsPerPage": {}
1875
- }; }
1876
- static get events() { return [{
1877
- "method": "kupBoxClick",
1878
- "name": "kup-box-click",
1879
- "bubbles": true,
1880
- "cancelable": false,
1881
- "composed": true,
1882
- "docs": {
1883
- "tags": [],
1884
- "text": "Triggered when a box is clicked"
1885
- },
1886
- "complexType": {
1887
- "original": "KupBoxClickEventPayload",
1888
- "resolved": "KupBoxClickEventPayload",
1889
- "references": {
1890
- "KupBoxClickEventPayload": {
1891
- "location": "import",
1892
- "path": "./kup-box-declarations"
1760
+ };
1761
+ }
1762
+ static get states() {
1763
+ return {
1764
+ "collapsedSection": {},
1765
+ "selectedRows": {},
1766
+ "rowActionMenuOpened": {},
1767
+ "currentPage": {},
1768
+ "currentRowsPerPage": {}
1769
+ };
1770
+ }
1771
+ static get events() {
1772
+ return [{
1773
+ "method": "kupBoxClick",
1774
+ "name": "kup-box-click",
1775
+ "bubbles": true,
1776
+ "cancelable": false,
1777
+ "composed": true,
1778
+ "docs": {
1779
+ "tags": [],
1780
+ "text": "Triggered when a box is clicked"
1781
+ },
1782
+ "complexType": {
1783
+ "original": "KupBoxClickEventPayload",
1784
+ "resolved": "KupBoxClickEventPayload",
1785
+ "references": {
1786
+ "KupBoxClickEventPayload": {
1787
+ "location": "import",
1788
+ "path": "./kup-box-declarations"
1789
+ }
1893
1790
  }
1894
1791
  }
1895
- }
1896
- }, {
1897
- "method": "kupBoxSelected",
1898
- "name": "kup-box-selected",
1899
- "bubbles": true,
1900
- "cancelable": false,
1901
- "composed": true,
1902
- "docs": {
1903
- "tags": [],
1904
- "text": "Triggered when the multi selection checkbox changes value"
1905
- },
1906
- "complexType": {
1907
- "original": "KupBoxSelectedEventPayload",
1908
- "resolved": "KupBoxSelectedEventPayload",
1909
- "references": {
1910
- "KupBoxSelectedEventPayload": {
1911
- "location": "import",
1912
- "path": "./kup-box-declarations"
1792
+ }, {
1793
+ "method": "kupBoxSelected",
1794
+ "name": "kup-box-selected",
1795
+ "bubbles": true,
1796
+ "cancelable": false,
1797
+ "composed": true,
1798
+ "docs": {
1799
+ "tags": [],
1800
+ "text": "Triggered when the multi selection checkbox changes value"
1801
+ },
1802
+ "complexType": {
1803
+ "original": "KupBoxSelectedEventPayload",
1804
+ "resolved": "KupBoxSelectedEventPayload",
1805
+ "references": {
1806
+ "KupBoxSelectedEventPayload": {
1807
+ "location": "import",
1808
+ "path": "./kup-box-declarations"
1809
+ }
1913
1810
  }
1914
1811
  }
1915
- }
1916
- }, {
1917
- "method": "kupAutoBoxSelect",
1918
- "name": "kup-box-autoselect",
1919
- "bubbles": true,
1920
- "cancelable": false,
1921
- "composed": true,
1922
- "docs": {
1923
- "tags": [],
1924
- "text": "Triggered when a box is auto selected via selectBox prop"
1925
- },
1926
- "complexType": {
1927
- "original": "KupBoxAutoSelectEventPayload",
1928
- "resolved": "KupBoxAutoSelectEventPayload",
1929
- "references": {
1930
- "KupBoxAutoSelectEventPayload": {
1931
- "location": "import",
1932
- "path": "./kup-box-declarations"
1812
+ }, {
1813
+ "method": "kupAutoBoxSelect",
1814
+ "name": "kup-box-autoselect",
1815
+ "bubbles": true,
1816
+ "cancelable": false,
1817
+ "composed": true,
1818
+ "docs": {
1819
+ "tags": [],
1820
+ "text": "Triggered when a box is auto selected via selectBox prop"
1821
+ },
1822
+ "complexType": {
1823
+ "original": "KupBoxAutoSelectEventPayload",
1824
+ "resolved": "KupBoxAutoSelectEventPayload",
1825
+ "references": {
1826
+ "KupBoxAutoSelectEventPayload": {
1827
+ "location": "import",
1828
+ "path": "./kup-box-declarations"
1829
+ }
1933
1830
  }
1934
1831
  }
1935
- }
1936
- }, {
1937
- "method": "kupRowActionMenuClick",
1938
- "name": "kup-box-rowactionmenuclick",
1939
- "bubbles": true,
1940
- "cancelable": false,
1941
- "composed": true,
1942
- "docs": {
1943
- "tags": [],
1944
- "text": "When the row menu action icon is click"
1945
- },
1946
- "complexType": {
1947
- "original": "KupBoxAutoSelectEventPayload",
1948
- "resolved": "KupBoxAutoSelectEventPayload",
1949
- "references": {
1950
- "KupBoxAutoSelectEventPayload": {
1951
- "location": "import",
1952
- "path": "./kup-box-declarations"
1832
+ }, {
1833
+ "method": "kupRowActionMenuClick",
1834
+ "name": "kup-box-rowactionmenuclick",
1835
+ "bubbles": true,
1836
+ "cancelable": false,
1837
+ "composed": true,
1838
+ "docs": {
1839
+ "tags": [],
1840
+ "text": "When the row menu action icon is click"
1841
+ },
1842
+ "complexType": {
1843
+ "original": "KupBoxAutoSelectEventPayload",
1844
+ "resolved": "KupBoxAutoSelectEventPayload",
1845
+ "references": {
1846
+ "KupBoxAutoSelectEventPayload": {
1847
+ "location": "import",
1848
+ "path": "./kup-box-declarations"
1849
+ }
1953
1850
  }
1954
1851
  }
1955
- }
1956
- }, {
1957
- "method": "kupRowActionClick",
1958
- "name": "kup-box-rowactionclick",
1959
- "bubbles": true,
1960
- "cancelable": false,
1961
- "composed": true,
1962
- "docs": {
1963
- "tags": [],
1964
- "text": "When the row menu action icon is click"
1965
- },
1966
- "complexType": {
1967
- "original": "KupBoxRowActionClickEventPayload",
1968
- "resolved": "KupBoxRowActionClickEventPayload",
1969
- "references": {
1970
- "KupBoxRowActionClickEventPayload": {
1971
- "location": "import",
1972
- "path": "./kup-box-declarations"
1852
+ }, {
1853
+ "method": "kupRowActionClick",
1854
+ "name": "kup-box-rowactionclick",
1855
+ "bubbles": true,
1856
+ "cancelable": false,
1857
+ "composed": true,
1858
+ "docs": {
1859
+ "tags": [],
1860
+ "text": "When the row menu action icon is click"
1861
+ },
1862
+ "complexType": {
1863
+ "original": "KupBoxRowActionClickEventPayload",
1864
+ "resolved": "KupBoxRowActionClickEventPayload",
1865
+ "references": {
1866
+ "KupBoxRowActionClickEventPayload": {
1867
+ "location": "import",
1868
+ "path": "./kup-box-declarations"
1869
+ }
1973
1870
  }
1974
1871
  }
1975
- }
1976
- }, {
1977
- "method": "kupDidLoad",
1978
- "name": "kup-box-didload",
1979
- "bubbles": true,
1980
- "cancelable": false,
1981
- "composed": true,
1982
- "docs": {
1983
- "tags": [],
1984
- "text": ""
1985
- },
1986
- "complexType": {
1987
- "original": "KupEventPayload",
1988
- "resolved": "KupEventPayload",
1989
- "references": {
1990
- "KupEventPayload": {
1991
- "location": "import",
1992
- "path": "../../types/GenericTypes"
1872
+ }, {
1873
+ "method": "kupDidLoad",
1874
+ "name": "kup-box-didload",
1875
+ "bubbles": true,
1876
+ "cancelable": false,
1877
+ "composed": true,
1878
+ "docs": {
1879
+ "tags": [],
1880
+ "text": ""
1881
+ },
1882
+ "complexType": {
1883
+ "original": "KupEventPayload",
1884
+ "resolved": "KupEventPayload",
1885
+ "references": {
1886
+ "KupEventPayload": {
1887
+ "location": "import",
1888
+ "path": "../../types/GenericTypes"
1889
+ }
1993
1890
  }
1994
1891
  }
1995
- }
1996
- }, {
1997
- "method": "kupDidUnload",
1998
- "name": "kup-box-didunload",
1999
- "bubbles": true,
2000
- "cancelable": false,
2001
- "composed": true,
2002
- "docs": {
2003
- "tags": [],
2004
- "text": "Triggered when stop propagation event"
2005
- },
2006
- "complexType": {
2007
- "original": "KupEventPayload",
2008
- "resolved": "KupEventPayload",
2009
- "references": {
2010
- "KupEventPayload": {
2011
- "location": "import",
2012
- "path": "../../types/GenericTypes"
1892
+ }, {
1893
+ "method": "kupDidUnload",
1894
+ "name": "kup-box-didunload",
1895
+ "bubbles": true,
1896
+ "cancelable": false,
1897
+ "composed": true,
1898
+ "docs": {
1899
+ "tags": [],
1900
+ "text": "Triggered when stop propagation event"
1901
+ },
1902
+ "complexType": {
1903
+ "original": "KupEventPayload",
1904
+ "resolved": "KupEventPayload",
1905
+ "references": {
1906
+ "KupEventPayload": {
1907
+ "location": "import",
1908
+ "path": "../../types/GenericTypes"
1909
+ }
2013
1910
  }
2014
1911
  }
2015
- }
2016
- }, {
2017
- "method": "kupBoxContextMenu",
2018
- "name": "kup-box-contextmenu",
2019
- "bubbles": true,
2020
- "cancelable": false,
2021
- "composed": true,
2022
- "docs": {
2023
- "tags": [],
2024
- "text": "Generic right click event on box."
2025
- },
2026
- "complexType": {
2027
- "original": "KupBoxContextMenuEventPayload",
2028
- "resolved": "KupBoxContextMenuEventPayload",
2029
- "references": {
2030
- "KupBoxContextMenuEventPayload": {
2031
- "location": "import",
2032
- "path": "./kup-box-declarations"
1912
+ }, {
1913
+ "method": "kupBoxContextMenu",
1914
+ "name": "kup-box-contextmenu",
1915
+ "bubbles": true,
1916
+ "cancelable": false,
1917
+ "composed": true,
1918
+ "docs": {
1919
+ "tags": [],
1920
+ "text": "Generic right click event on box."
1921
+ },
1922
+ "complexType": {
1923
+ "original": "KupBoxContextMenuEventPayload",
1924
+ "resolved": "KupBoxContextMenuEventPayload",
1925
+ "references": {
1926
+ "KupBoxContextMenuEventPayload": {
1927
+ "location": "import",
1928
+ "path": "./kup-box-declarations"
1929
+ }
2033
1930
  }
2034
1931
  }
2035
- }
2036
- }]; }
2037
- static get methods() { return {
2038
- "getProps": {
2039
- "complexType": {
2040
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
2041
- "parameters": [{
2042
- "tags": [{
2043
- "name": "param",
2044
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
2045
- }],
2046
- "text": "- When provided and true, the result will be the list of props with their description."
2047
- }],
2048
- "references": {
2049
- "Promise": {
2050
- "location": "global"
1932
+ }];
1933
+ }
1934
+ static get methods() {
1935
+ return {
1936
+ "getProps": {
1937
+ "complexType": {
1938
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
1939
+ "parameters": [{
1940
+ "tags": [{
1941
+ "name": "param",
1942
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
1943
+ }],
1944
+ "text": "- When provided and true, the result will be the list of props with their description."
1945
+ }],
1946
+ "references": {
1947
+ "Promise": {
1948
+ "location": "global"
1949
+ },
1950
+ "GenericObject": {
1951
+ "location": "import",
1952
+ "path": "../../types/GenericTypes"
1953
+ }
2051
1954
  },
2052
- "GenericObject": {
2053
- "location": "import",
2054
- "path": "../../types/GenericTypes"
2055
- }
1955
+ "return": "Promise<GenericObject>"
2056
1956
  },
2057
- "return": "Promise<GenericObject>"
1957
+ "docs": {
1958
+ "text": "Used to retrieve component's props values.",
1959
+ "tags": [{
1960
+ "name": "param",
1961
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
1962
+ }, {
1963
+ "name": "returns",
1964
+ "text": "List of props as object, each key will be a prop."
1965
+ }]
1966
+ }
2058
1967
  },
2059
- "docs": {
2060
- "text": "Used to retrieve component's props values.",
2061
- "tags": [{
2062
- "name": "param",
2063
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
2064
- }, {
2065
- "name": "returns",
2066
- "text": "List of props as object, each key will be a prop."
2067
- }]
2068
- }
2069
- },
2070
- "loadRowActions": {
2071
- "complexType": {
2072
- "signature": "(row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>",
2073
- "parameters": [{
2074
- "tags": [],
2075
- "text": ""
2076
- }, {
2077
- "tags": [],
2078
- "text": ""
2079
- }],
2080
- "references": {
2081
- "Promise": {
2082
- "location": "global"
2083
- },
2084
- "KupBoxRow": {
2085
- "location": "import",
2086
- "path": "./kup-box-declarations"
1968
+ "loadRowActions": {
1969
+ "complexType": {
1970
+ "signature": "(row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>",
1971
+ "parameters": [{
1972
+ "tags": [],
1973
+ "text": ""
1974
+ }, {
1975
+ "tags": [],
1976
+ "text": ""
1977
+ }],
1978
+ "references": {
1979
+ "Promise": {
1980
+ "location": "global"
1981
+ },
1982
+ "KupBoxRow": {
1983
+ "location": "import",
1984
+ "path": "./kup-box-declarations"
1985
+ },
1986
+ "KupDataRowAction": {
1987
+ "location": "import",
1988
+ "path": "../../managers/kup-data/kup-data-declarations"
1989
+ }
2087
1990
  },
2088
- "KupDataRowAction": {
2089
- "location": "import",
2090
- "path": "../../managers/kup-data/kup-data-declarations"
2091
- }
1991
+ "return": "Promise<void>"
2092
1992
  },
2093
- "return": "Promise<void>"
1993
+ "docs": {
1994
+ "text": "",
1995
+ "tags": []
1996
+ }
2094
1997
  },
2095
- "docs": {
2096
- "text": "",
2097
- "tags": []
2098
- }
2099
- },
2100
- "refresh": {
2101
- "complexType": {
2102
- "signature": "() => Promise<void>",
2103
- "parameters": [],
2104
- "references": {
2105
- "Promise": {
2106
- "location": "global"
2107
- }
1998
+ "refresh": {
1999
+ "complexType": {
2000
+ "signature": "() => Promise<void>",
2001
+ "parameters": [],
2002
+ "references": {
2003
+ "Promise": {
2004
+ "location": "global"
2005
+ }
2006
+ },
2007
+ "return": "Promise<void>"
2108
2008
  },
2109
- "return": "Promise<void>"
2009
+ "docs": {
2010
+ "text": "This method is used to trigger a new render of the component.",
2011
+ "tags": []
2012
+ }
2110
2013
  },
2111
- "docs": {
2112
- "text": "This method is used to trigger a new render of the component.",
2113
- "tags": []
2114
- }
2115
- },
2116
- "setProps": {
2117
- "complexType": {
2118
- "signature": "(props: GenericObject) => Promise<void>",
2119
- "parameters": [{
2120
- "tags": [{
2121
- "name": "param",
2122
- "text": "props - Object containing props that will be set to the component."
2123
- }],
2124
- "text": "- Object containing props that will be set to the component."
2125
- }],
2126
- "references": {
2127
- "Promise": {
2128
- "location": "global"
2014
+ "setProps": {
2015
+ "complexType": {
2016
+ "signature": "(props: GenericObject) => Promise<void>",
2017
+ "parameters": [{
2018
+ "tags": [{
2019
+ "name": "param",
2020
+ "text": "props - Object containing props that will be set to the component."
2021
+ }],
2022
+ "text": "- Object containing props that will be set to the component."
2023
+ }],
2024
+ "references": {
2025
+ "Promise": {
2026
+ "location": "global"
2027
+ },
2028
+ "GenericObject": {
2029
+ "location": "import",
2030
+ "path": "../../types/GenericTypes"
2031
+ }
2129
2032
  },
2130
- "GenericObject": {
2131
- "location": "import",
2132
- "path": "../../types/GenericTypes"
2133
- }
2033
+ "return": "Promise<void>"
2134
2034
  },
2135
- "return": "Promise<void>"
2136
- },
2137
- "docs": {
2138
- "text": "Sets the props to the component.",
2139
- "tags": [{
2140
- "name": "param",
2141
- "text": "props - Object containing props that will be set to the component."
2142
- }]
2035
+ "docs": {
2036
+ "text": "Sets the props to the component.",
2037
+ "tags": [{
2038
+ "name": "param",
2039
+ "text": "props - Object containing props that will be set to the component."
2040
+ }]
2041
+ }
2143
2042
  }
2144
- }
2145
- }; }
2043
+ };
2044
+ }
2146
2045
  static get elementRef() { return "rootElement"; }
2147
- static get watchers() { return [{
2148
- "propName": "pageSize",
2149
- "methodName": "rowsPerPageHandler"
2150
- }, {
2151
- "propName": "globalFilterValue",
2152
- "methodName": "recalculateRows"
2153
- }, {
2154
- "propName": "sortBy",
2155
- "methodName": "recalculateRows"
2156
- }, {
2157
- "propName": "pagination",
2158
- "methodName": "recalculateRows"
2159
- }, {
2160
- "propName": "pageSize",
2161
- "methodName": "recalculateRows"
2162
- }, {
2163
- "propName": "currentPage",
2164
- "methodName": "recalculateRows"
2165
- }, {
2166
- "propName": "currentRowsPerPage",
2167
- "methodName": "recalculateRows"
2168
- }, {
2169
- "propName": "data",
2170
- "methodName": "onDataChanged"
2171
- }, {
2172
- "propName": "layout",
2173
- "methodName": "onLayoutChanged"
2174
- }, {
2175
- "propName": "selectBox",
2176
- "methodName": "onSelectBoxChanged"
2177
- }]; }
2046
+ static get watchers() {
2047
+ return [{
2048
+ "propName": "pageSize",
2049
+ "methodName": "rowsPerPageHandler"
2050
+ }, {
2051
+ "propName": "globalFilterValue",
2052
+ "methodName": "recalculateRows"
2053
+ }, {
2054
+ "propName": "sortBy",
2055
+ "methodName": "recalculateRows"
2056
+ }, {
2057
+ "propName": "pagination",
2058
+ "methodName": "recalculateRows"
2059
+ }, {
2060
+ "propName": "pageSize",
2061
+ "methodName": "recalculateRows"
2062
+ }, {
2063
+ "propName": "currentPage",
2064
+ "methodName": "recalculateRows"
2065
+ }, {
2066
+ "propName": "currentRowsPerPage",
2067
+ "methodName": "recalculateRows"
2068
+ }, {
2069
+ "propName": "data",
2070
+ "methodName": "onDataChanged"
2071
+ }, {
2072
+ "propName": "layout",
2073
+ "methodName": "onLayoutChanged"
2074
+ }, {
2075
+ "propName": "selectBox",
2076
+ "methodName": "onSelectBoxChanged"
2077
+ }];
2078
+ }
2178
2079
  }