@sme.up/ketchup 6.5.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 (209) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-4e2a0bb6.js → f-button-bf76ab95.js} +2 -2
  3. package/dist/cjs/{f-cell-1fc8a8b6.js → f-cell-b7a1524a.js} +25 -23
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-7867f17b.js → f-chip-a5e100b1.js} +3 -3
  6. package/dist/cjs/{f-image-6b7a6168.js → f-image-d80a2749.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-b7712403.js → f-paginator-utils-c70812fe.js} +3 -5
  8. package/dist/cjs/{f-text-field-153e827c.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 +433 -163
  13. package/dist/cjs/kup-box.cjs.entry.js +27 -16
  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 +19 -7
  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 +9 -9
  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-cfe2f36e.js → kup-manager-0e38bf48.js} +39 -26
  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/assets/card.js +12 -2
  37. package/dist/collection/collection-manifest.json +3 -3
  38. package/dist/collection/components/kup-accordion/kup-accordion.js +239 -234
  39. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
  40. package/dist/collection/components/kup-badge/kup-badge.js +176 -170
  41. package/dist/collection/components/kup-box/kup-box.js +907 -913
  42. package/dist/collection/components/kup-button/kup-button.css +1 -0
  43. package/dist/collection/components/kup-button/kup-button.js +379 -370
  44. package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
  45. package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
  46. package/dist/collection/components/kup-card/box/kup-card-box.js +115 -0
  47. package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
  48. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
  49. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  50. package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
  51. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  52. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  53. package/dist/collection/components/kup-card/kup-card-declarations.js +2 -0
  54. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  55. package/dist/collection/components/kup-card/kup-card.css +140 -20
  56. package/dist/collection/components/kup-card/kup-card.js +352 -340
  57. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  58. package/dist/collection/components/kup-card/standard/kup-card-standard.js +96 -304
  59. package/dist/collection/components/kup-cell/kup-cell.js +221 -216
  60. package/dist/collection/components/kup-chart/kup-chart.js +547 -537
  61. package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
  62. package/dist/collection/components/kup-chip/kup-chip.js +240 -231
  63. package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
  64. package/dist/collection/components/kup-combobox/kup-combobox.js +458 -440
  65. package/dist/collection/components/kup-dash/kup-dash.js +110 -158
  66. package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
  67. package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
  68. package/dist/collection/components/kup-data-table/kup-data-table.js +1932 -1838
  69. package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
  70. package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
  71. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
  72. package/dist/collection/components/kup-echart/kup-echart.js +436 -423
  73. package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +1 -0
  74. package/dist/collection/components/kup-family-tree/kup-family-tree.js +420 -398
  75. package/dist/collection/components/kup-form/kup-form.js +223 -225
  76. package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
  77. package/dist/collection/components/kup-grid/kup-grid.js +156 -153
  78. package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
  79. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  80. package/dist/collection/components/kup-image/kup-image.js +300 -295
  81. package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
  82. package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
  83. package/dist/collection/components/kup-list/kup-list.js +541 -504
  84. package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
  85. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
  86. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
  87. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
  88. package/dist/collection/components/kup-probe/kup-probe.js +87 -83
  89. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
  90. package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
  91. package/dist/collection/components/kup-radio/kup-radio.js +258 -255
  92. package/dist/collection/components/kup-rating/kup-rating.js +208 -197
  93. package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
  94. package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
  95. package/dist/collection/components/kup-switch/kup-switch.js +255 -246
  96. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
  97. package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
  98. package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
  99. package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -2
  100. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  101. package/dist/collection/components/kup-tree/kup-tree.js +1134 -1133
  102. package/dist/collection/f-components/f-button/f-button.js +11 -20
  103. package/dist/collection/f-components/f-cell/f-cell.js +23 -23
  104. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  105. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  106. package/dist/collection/f-components/f-image/f-image.js +1 -3
  107. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  108. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  109. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  110. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  111. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  112. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
  113. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  114. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  115. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  116. package/dist/esm/{f-button-a24e43dd.js → f-button-e79f7594.js} +2 -2
  117. package/dist/esm/{f-cell-ebbb0c06.js → f-cell-9400374e.js} +25 -23
  118. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  119. package/dist/esm/{f-chip-e2c38ba8.js → f-chip-bf740287.js} +3 -3
  120. package/dist/esm/{f-image-7e02e88f.js → f-image-ab3dc8cb.js} +2 -2
  121. package/dist/esm/{f-paginator-utils-e6d2638f.js → f-paginator-utils-6909e43b.js} +3 -5
  122. package/dist/esm/{f-text-field-8438a278.js → f-text-field-4841dfea.js} +2 -2
  123. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  124. package/dist/esm/ketchup.js +3 -3
  125. package/dist/esm/kup-accordion.entry.js +3 -3
  126. package/dist/esm/kup-autocomplete_25.entry.js +433 -163
  127. package/dist/esm/kup-box.entry.js +27 -16
  128. package/dist/esm/kup-calendar.entry.js +5 -5
  129. package/dist/esm/kup-cell.entry.js +7 -7
  130. package/dist/esm/kup-dash-list.entry.js +2 -2
  131. package/dist/esm/kup-dash_2.entry.js +2 -2
  132. package/dist/esm/kup-dashboard.entry.js +6 -6
  133. package/dist/esm/kup-drawer.entry.js +2 -2
  134. package/dist/esm/kup-echart.entry.js +2 -2
  135. package/dist/esm/kup-family-tree.entry.js +19 -7
  136. package/dist/esm/kup-form.entry.js +8 -8
  137. package/dist/esm/kup-iframe.entry.js +2 -2
  138. package/dist/esm/kup-image-list.entry.js +9 -9
  139. package/dist/esm/kup-lazy.entry.js +2 -2
  140. package/dist/esm/kup-magic-box.entry.js +3 -3
  141. package/dist/esm/{kup-manager-7c27e90e.js → kup-manager-c54e6df5.js} +22 -9
  142. package/dist/esm/kup-nav-bar.entry.js +2 -2
  143. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  144. package/dist/esm/kup-photo-frame.entry.js +2 -2
  145. package/dist/esm/kup-probe.entry.js +2 -2
  146. package/dist/esm/kup-qlik.entry.js +2 -2
  147. package/dist/esm/kup-snackbar.entry.js +4 -4
  148. package/dist/esm/loader.js +3 -3
  149. package/dist/esm/polyfills/css-shim.js +1 -1
  150. package/dist/ketchup/ketchup.esm.js +1 -1
  151. package/dist/ketchup/{p-191096ff.entry.js → p-182b869e.entry.js} +1 -1
  152. package/dist/ketchup/p-1dfd2a51.js +30 -0
  153. package/dist/ketchup/{p-b502b91b.entry.js → p-1f5c7f21.entry.js} +1 -1
  154. package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
  155. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  156. package/dist/ketchup/{p-26acb448.js → p-25bf0cb6.js} +1 -1
  157. package/dist/ketchup/{p-601a50db.entry.js → p-260ff835.entry.js} +1 -1
  158. package/dist/ketchup/{p-5a703573.entry.js → p-2e184b57.entry.js} +1 -1
  159. package/dist/ketchup/{p-45415b72.entry.js → p-30a63b85.entry.js} +1 -1
  160. package/dist/ketchup/{p-cc663bad.entry.js → p-313e376b.entry.js} +1 -1
  161. package/dist/ketchup/{p-e0ed3fd7.entry.js → p-41620707.entry.js} +1 -1
  162. package/dist/ketchup/{p-25875aa1.entry.js → p-4a0ccf18.entry.js} +1 -1
  163. package/dist/ketchup/{p-3decc8e4.js → p-4f0d3062.js} +1 -1
  164. package/dist/ketchup/p-4fdb684f.js +2 -0
  165. package/dist/ketchup/{p-52590a90.entry.js → p-53d3ae80.entry.js} +1 -1
  166. package/dist/ketchup/{p-92595296.js → p-5bea2971.js} +1 -1
  167. package/dist/ketchup/{p-a782ebd1.entry.js → p-60fa0ccf.entry.js} +1 -1
  168. package/dist/ketchup/p-6333388c.js +1 -0
  169. package/dist/ketchup/{p-2003a841.entry.js → p-6bd57787.entry.js} +1 -1
  170. package/dist/ketchup/p-758d03f4.entry.js +1 -0
  171. package/dist/ketchup/{p-2f009c42.entry.js → p-7e7b6127.entry.js} +1 -1
  172. package/dist/ketchup/p-8386e3db.entry.js +1 -0
  173. package/dist/ketchup/{p-23111c8d.entry.js → p-859163c2.entry.js} +1 -1
  174. package/dist/ketchup/{p-97f28bbd.entry.js → p-8e1fa7a8.entry.js} +6 -6
  175. package/dist/ketchup/{p-ca98059c.entry.js → p-90860d9e.entry.js} +1 -1
  176. package/dist/ketchup/{p-b131b257.entry.js → p-b7fdc7aa.entry.js} +1 -1
  177. package/dist/ketchup/{p-3138cabb.entry.js → p-bffaef6e.entry.js} +1 -1
  178. package/dist/ketchup/p-c35c5e05.js +1 -0
  179. package/dist/ketchup/{p-1468bf09.js → p-e1d0ea71.js} +1 -1
  180. package/dist/ketchup/p-f9d5e553.entry.js +1 -0
  181. package/dist/ketchup/{p-69dd11da.entry.js → p-fb4d772a.entry.js} +1 -1
  182. package/dist/loader/package.json +1 -0
  183. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  184. package/dist/types/components/kup-card/box/kup-card-box.d.ts +26 -0
  185. package/dist/types/components/kup-card/kup-card-declarations.d.ts +2 -0
  186. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  187. package/dist/types/components/kup-card/standard/kup-card-standard.d.ts +0 -6
  188. package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +3 -1
  189. package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
  190. package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +1 -0
  191. package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +5 -0
  192. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  193. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  194. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +0 -4
  195. package/dist/types/components/kup-tree/kup-tree.d.ts +18 -12
  196. package/dist/types/components.d.ts +43 -16
  197. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  198. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  199. package/dist/types/stencil-public-runtime.d.ts +15 -4
  200. package/package.json +3 -2
  201. package/CHANGELOG.md +0 -5
  202. package/dist/ketchup/p-753c82d8.js +0 -1
  203. package/dist/ketchup/p-77600efd.entry.js +0 -9
  204. package/dist/ketchup/p-88722265.js +0 -1
  205. package/dist/ketchup/p-9027e5ac.js +0 -30
  206. package/dist/ketchup/p-aa564df8.entry.js +0 -1
  207. package/dist/ketchup/p-b0b3989b.js +0 -2
  208. package/dist/ketchup/p-b238f9ea.entry.js +0 -1
  209. package/dist/ketchup/p-b4f85d34.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Element, Event, forceUpdate, h, Host, Listen, Method, Prop, State, } from '@stencil/core';
1
+ import { forceUpdate, h, Host, } from '@stencil/core';
2
2
  import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { ItemsDisplayMode } from '../kup-list/kup-list-declarations';
4
4
  import { consistencyCheck } from '../kup-list/kup-list-helper';
@@ -338,11 +338,7 @@ export class KupDropdownButton {
338
338
  return buttons;
339
339
  }
340
340
  render() {
341
- return (h(Host, null,
342
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
343
- h("div", { id: componentWrapperId },
344
- h("div", { class: "dropdown-button--wrapper" }, this.renderButtons()),
345
- h("kup-list", Object.assign({}, this.data['kup-list'], { displayMode: this.displayMode, isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), id: this.rootElement.id + '_list', ref: (el) => (this.listEl = el) })))));
341
+ return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: "dropdown-button--wrapper" }, this.renderButtons()), h("kup-list", Object.assign({}, this.data['kup-list'], { displayMode: this.displayMode, isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), id: this.rootElement.id + '_list', ref: (el) => (this.listEl = el) })))));
346
342
  }
347
343
  disconnectedCallback() {
348
344
  if (this.listEl) {
@@ -353,489 +349,503 @@ export class KupDropdownButton {
353
349
  }
354
350
  static get is() { return "kup-dropdown-button"; }
355
351
  static get encapsulation() { return "shadow"; }
356
- static get originalStyleUrls() { return {
357
- "$": ["kup-dropdown-button.scss"]
358
- }; }
359
- static get styleUrls() { return {
360
- "$": ["kup-dropdown-button.css"]
361
- }; }
362
- static get properties() { return {
363
- "customStyle": {
364
- "type": "string",
365
- "mutable": false,
366
- "complexType": {
367
- "original": "string",
368
- "resolved": "string",
369
- "references": {}
370
- },
371
- "required": false,
372
- "optional": false,
373
- "docs": {
374
- "tags": [{
375
- "name": "default",
376
- "text": "\"\""
377
- }, {
378
- "name": "see",
379
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
380
- }],
381
- "text": "Custom style of the component."
382
- },
383
- "attribute": "custom-style",
384
- "reflect": false,
385
- "defaultValue": "''"
386
- },
387
- "data": {
388
- "type": "unknown",
389
- "mutable": false,
390
- "complexType": {
391
- "original": "Object",
392
- "resolved": "Object",
393
- "references": {
394
- "Object": {
395
- "location": "global"
352
+ static get originalStyleUrls() {
353
+ return {
354
+ "$": ["kup-dropdown-button.scss"]
355
+ };
356
+ }
357
+ static get styleUrls() {
358
+ return {
359
+ "$": ["kup-dropdown-button.css"]
360
+ };
361
+ }
362
+ static get properties() {
363
+ return {
364
+ "customStyle": {
365
+ "type": "string",
366
+ "mutable": false,
367
+ "complexType": {
368
+ "original": "string",
369
+ "resolved": "string",
370
+ "references": {}
371
+ },
372
+ "required": false,
373
+ "optional": false,
374
+ "docs": {
375
+ "tags": [{
376
+ "name": "default",
377
+ "text": "\"\""
378
+ }, {
379
+ "name": "see",
380
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
381
+ }],
382
+ "text": "Custom style of the component."
383
+ },
384
+ "attribute": "custom-style",
385
+ "reflect": false,
386
+ "defaultValue": "''"
387
+ },
388
+ "data": {
389
+ "type": "unknown",
390
+ "mutable": false,
391
+ "complexType": {
392
+ "original": "Object",
393
+ "resolved": "Object",
394
+ "references": {
395
+ "Object": {
396
+ "location": "global"
397
+ }
396
398
  }
397
- }
398
- },
399
- "required": false,
400
- "optional": false,
401
- "docs": {
402
- "tags": [{
403
- "name": "default",
404
- "text": "null"
405
- }],
406
- "text": "Props of the sub-components."
407
- },
408
- "defaultValue": "null"
409
- },
410
- "disabled": {
411
- "type": "boolean",
412
- "mutable": false,
413
- "complexType": {
414
- "original": "boolean",
415
- "resolved": "boolean",
416
- "references": {}
417
- },
418
- "required": false,
419
- "optional": false,
420
- "docs": {
421
- "tags": [{
422
- "name": "default",
423
- "text": "false"
424
- }],
425
- "text": "Defaults at false. When set to true, the component is disabled."
426
- },
427
- "attribute": "disabled",
428
- "reflect": false,
429
- "defaultValue": "false"
430
- },
431
- "displayMode": {
432
- "type": "string",
433
- "mutable": false,
434
- "complexType": {
435
- "original": "ItemsDisplayMode",
436
- "resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
437
- "references": {
438
- "ItemsDisplayMode": {
439
- "location": "import",
440
- "path": "../kup-list/kup-list-declarations"
399
+ },
400
+ "required": false,
401
+ "optional": false,
402
+ "docs": {
403
+ "tags": [{
404
+ "name": "default",
405
+ "text": "null"
406
+ }],
407
+ "text": "Props of the sub-components."
408
+ },
409
+ "defaultValue": "null"
410
+ },
411
+ "disabled": {
412
+ "type": "boolean",
413
+ "mutable": false,
414
+ "complexType": {
415
+ "original": "boolean",
416
+ "resolved": "boolean",
417
+ "references": {}
418
+ },
419
+ "required": false,
420
+ "optional": false,
421
+ "docs": {
422
+ "tags": [{
423
+ "name": "default",
424
+ "text": "false"
425
+ }],
426
+ "text": "Defaults at false. When set to true, the component is disabled."
427
+ },
428
+ "attribute": "disabled",
429
+ "reflect": false,
430
+ "defaultValue": "false"
431
+ },
432
+ "displayMode": {
433
+ "type": "string",
434
+ "mutable": false,
435
+ "complexType": {
436
+ "original": "ItemsDisplayMode",
437
+ "resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
438
+ "references": {
439
+ "ItemsDisplayMode": {
440
+ "location": "import",
441
+ "path": "../kup-list/kup-list-declarations"
442
+ }
441
443
  }
442
- }
443
- },
444
- "required": false,
445
- "optional": false,
446
- "docs": {
447
- "tags": [{
448
- "name": "default",
449
- "text": "ItemsDisplayMode.DESCRIPTION"
450
- }],
451
- "text": "Sets how to show the selected item value. Suported values: \"code\", \"description\", \"both\"."
452
- },
453
- "attribute": "display-mode",
454
- "reflect": false,
455
- "defaultValue": "ItemsDisplayMode.DESCRIPTION"
456
- },
457
- "dropdownOnly": {
458
- "type": "boolean",
459
- "mutable": false,
460
- "complexType": {
461
- "original": "boolean",
462
- "resolved": "boolean",
463
- "references": {}
464
- },
465
- "required": false,
466
- "optional": false,
467
- "docs": {
468
- "tags": [{
469
- "name": "default",
470
- "text": "false"
471
- }],
472
- "text": "Default value is false. When set to true, the arrow dropdown button is the only button displayed."
473
- },
474
- "attribute": "dropdown-only",
475
- "reflect": false,
476
- "defaultValue": "false"
477
- },
478
- "icon": {
479
- "type": "string",
480
- "mutable": false,
481
- "complexType": {
482
- "original": "string",
483
- "resolved": "string",
484
- "references": {}
485
- },
486
- "required": false,
487
- "optional": false,
488
- "docs": {
489
- "tags": [{
490
- "name": "default",
491
- "text": "icon"
492
- }],
493
- "text": "Defaults at null. When set, the button will show this icon."
494
- },
495
- "attribute": "icon",
496
- "reflect": false,
497
- "defaultValue": "null"
498
- },
499
- "initialValue": {
500
- "type": "string",
501
- "mutable": false,
502
- "complexType": {
503
- "original": "string",
504
- "resolved": "string",
505
- "references": {}
506
- },
507
- "required": false,
508
- "optional": false,
509
- "docs": {
510
- "tags": [{
511
- "name": "default",
512
- "text": "\"\""
513
- }],
514
- "text": "Sets the initial value of the component."
515
- },
516
- "attribute": "initial-value",
517
- "reflect": false,
518
- "defaultValue": "''"
519
- },
520
- "label": {
521
- "type": "string",
522
- "mutable": false,
523
- "complexType": {
524
- "original": "string",
525
- "resolved": "string",
526
- "references": {}
527
- },
528
- "required": false,
529
- "optional": false,
530
- "docs": {
531
- "tags": [{
532
- "name": "default",
533
- "text": "\"\""
534
- }],
535
- "text": "Defaults at null. When set, the button will show this text."
536
- },
537
- "attribute": "label",
538
- "reflect": false,
539
- "defaultValue": "null"
540
- },
541
- "selectMode": {
542
- "type": "string",
543
- "mutable": false,
544
- "complexType": {
545
- "original": "ItemsDisplayMode",
546
- "resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
547
- "references": {
548
- "ItemsDisplayMode": {
549
- "location": "import",
550
- "path": "../kup-list/kup-list-declarations"
444
+ },
445
+ "required": false,
446
+ "optional": false,
447
+ "docs": {
448
+ "tags": [{
449
+ "name": "default",
450
+ "text": "ItemsDisplayMode.DESCRIPTION"
451
+ }],
452
+ "text": "Sets how to show the selected item value. Suported values: \"code\", \"description\", \"both\"."
453
+ },
454
+ "attribute": "display-mode",
455
+ "reflect": false,
456
+ "defaultValue": "ItemsDisplayMode.DESCRIPTION"
457
+ },
458
+ "dropdownOnly": {
459
+ "type": "boolean",
460
+ "mutable": false,
461
+ "complexType": {
462
+ "original": "boolean",
463
+ "resolved": "boolean",
464
+ "references": {}
465
+ },
466
+ "required": false,
467
+ "optional": false,
468
+ "docs": {
469
+ "tags": [{
470
+ "name": "default",
471
+ "text": "false"
472
+ }],
473
+ "text": "Default value is false. When set to true, the arrow dropdown button is the only button displayed."
474
+ },
475
+ "attribute": "dropdown-only",
476
+ "reflect": false,
477
+ "defaultValue": "false"
478
+ },
479
+ "icon": {
480
+ "type": "string",
481
+ "mutable": false,
482
+ "complexType": {
483
+ "original": "string",
484
+ "resolved": "string",
485
+ "references": {}
486
+ },
487
+ "required": false,
488
+ "optional": false,
489
+ "docs": {
490
+ "tags": [{
491
+ "name": "default",
492
+ "text": "icon"
493
+ }],
494
+ "text": "Defaults at null. When set, the button will show this icon."
495
+ },
496
+ "attribute": "icon",
497
+ "reflect": false,
498
+ "defaultValue": "null"
499
+ },
500
+ "initialValue": {
501
+ "type": "string",
502
+ "mutable": false,
503
+ "complexType": {
504
+ "original": "string",
505
+ "resolved": "string",
506
+ "references": {}
507
+ },
508
+ "required": false,
509
+ "optional": false,
510
+ "docs": {
511
+ "tags": [{
512
+ "name": "default",
513
+ "text": "\"\""
514
+ }],
515
+ "text": "Sets the initial value of the component."
516
+ },
517
+ "attribute": "initial-value",
518
+ "reflect": false,
519
+ "defaultValue": "''"
520
+ },
521
+ "label": {
522
+ "type": "string",
523
+ "mutable": false,
524
+ "complexType": {
525
+ "original": "string",
526
+ "resolved": "string",
527
+ "references": {}
528
+ },
529
+ "required": false,
530
+ "optional": false,
531
+ "docs": {
532
+ "tags": [{
533
+ "name": "default",
534
+ "text": "\"\""
535
+ }],
536
+ "text": "Defaults at null. When set, the button will show this text."
537
+ },
538
+ "attribute": "label",
539
+ "reflect": false,
540
+ "defaultValue": "null"
541
+ },
542
+ "selectMode": {
543
+ "type": "string",
544
+ "mutable": false,
545
+ "complexType": {
546
+ "original": "ItemsDisplayMode",
547
+ "resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
548
+ "references": {
549
+ "ItemsDisplayMode": {
550
+ "location": "import",
551
+ "path": "../kup-list/kup-list-declarations"
552
+ }
551
553
  }
552
- }
553
- },
554
- "required": false,
555
- "optional": false,
556
- "docs": {
557
- "tags": [{
558
- "name": "default",
559
- "text": "ItemsDisplayMode.CODE"
560
- }],
561
- "text": "Sets how to return the selected item value. Suported values: \"code\", \"description\", \"both\"."
562
- },
563
- "attribute": "select-mode",
564
- "reflect": false,
565
- "defaultValue": "ItemsDisplayMode.CODE"
566
- },
567
- "styling": {
568
- "type": "string",
569
- "mutable": false,
570
- "complexType": {
571
- "original": "FButtonStyling",
572
- "resolved": "FButtonStyling.FLAT | FButtonStyling.FLOATING | FButtonStyling.ICON | FButtonStyling.OUTLINED | FButtonStyling.RAISED",
573
- "references": {
574
- "FButtonStyling": {
575
- "location": "import",
576
- "path": "../../f-components/f-button/f-button-declarations"
554
+ },
555
+ "required": false,
556
+ "optional": false,
557
+ "docs": {
558
+ "tags": [{
559
+ "name": "default",
560
+ "text": "ItemsDisplayMode.CODE"
561
+ }],
562
+ "text": "Sets how to return the selected item value. Suported values: \"code\", \"description\", \"both\"."
563
+ },
564
+ "attribute": "select-mode",
565
+ "reflect": false,
566
+ "defaultValue": "ItemsDisplayMode.CODE"
567
+ },
568
+ "styling": {
569
+ "type": "string",
570
+ "mutable": false,
571
+ "complexType": {
572
+ "original": "FButtonStyling",
573
+ "resolved": "FButtonStyling.FLAT | FButtonStyling.FLOATING | FButtonStyling.ICON | FButtonStyling.OUTLINED | FButtonStyling.RAISED",
574
+ "references": {
575
+ "FButtonStyling": {
576
+ "location": "import",
577
+ "path": "../../f-components/f-button/f-button-declarations"
578
+ }
577
579
  }
578
- }
579
- },
580
- "required": false,
581
- "optional": false,
582
- "docs": {
583
- "tags": [{
584
- "name": "default",
585
- "text": "FButtonStyling.RAISED"
586
- }],
587
- "text": "Defines the style of the button. Styles available: \"flat\", \"outlined\" and \"raised\" which is also the default."
588
- },
589
- "attribute": "styling",
590
- "reflect": false,
591
- "defaultValue": "FButtonStyling.RAISED"
592
- },
593
- "trailingIcon": {
594
- "type": "boolean",
595
- "mutable": false,
596
- "complexType": {
597
- "original": "boolean",
598
- "resolved": "boolean",
599
- "references": {}
600
- },
601
- "required": false,
602
- "optional": false,
603
- "docs": {
604
- "tags": [{
605
- "name": "default",
606
- "text": "false"
607
- }],
608
- "text": "Defaults at null. When set, the icon will be shown after the text."
609
- },
610
- "attribute": "trailing-icon",
611
- "reflect": false,
612
- "defaultValue": "false"
613
- }
614
- }; }
615
- static get states() { return {
616
- "id": {}
617
- }; }
618
- static get events() { return [{
619
- "method": "kupBlur",
620
- "name": "kup-dropdownbutton-blur",
621
- "bubbles": true,
622
- "cancelable": false,
623
- "composed": true,
624
- "docs": {
625
- "tags": [],
626
- "text": "Triggered when the primary button loses focus."
627
- },
628
- "complexType": {
629
- "original": "KupDropdownButtonEventPayload",
630
- "resolved": "KupDropdownButtonEventPayload",
631
- "references": {
632
- "KupDropdownButtonEventPayload": {
633
- "location": "import",
634
- "path": "./kup-dropdown-button-declarations"
580
+ },
581
+ "required": false,
582
+ "optional": false,
583
+ "docs": {
584
+ "tags": [{
585
+ "name": "default",
586
+ "text": "FButtonStyling.RAISED"
587
+ }],
588
+ "text": "Defines the style of the button. Styles available: \"flat\", \"outlined\" and \"raised\" which is also the default."
589
+ },
590
+ "attribute": "styling",
591
+ "reflect": false,
592
+ "defaultValue": "FButtonStyling.RAISED"
593
+ },
594
+ "trailingIcon": {
595
+ "type": "boolean",
596
+ "mutable": false,
597
+ "complexType": {
598
+ "original": "boolean",
599
+ "resolved": "boolean",
600
+ "references": {}
601
+ },
602
+ "required": false,
603
+ "optional": false,
604
+ "docs": {
605
+ "tags": [{
606
+ "name": "default",
607
+ "text": "false"
608
+ }],
609
+ "text": "Defaults at null. When set, the icon will be shown after the text."
610
+ },
611
+ "attribute": "trailing-icon",
612
+ "reflect": false,
613
+ "defaultValue": "false"
614
+ }
615
+ };
616
+ }
617
+ static get states() {
618
+ return {
619
+ "id": {}
620
+ };
621
+ }
622
+ static get events() {
623
+ return [{
624
+ "method": "kupBlur",
625
+ "name": "kup-dropdownbutton-blur",
626
+ "bubbles": true,
627
+ "cancelable": false,
628
+ "composed": true,
629
+ "docs": {
630
+ "tags": [],
631
+ "text": "Triggered when the primary button loses focus."
632
+ },
633
+ "complexType": {
634
+ "original": "KupDropdownButtonEventPayload",
635
+ "resolved": "KupDropdownButtonEventPayload",
636
+ "references": {
637
+ "KupDropdownButtonEventPayload": {
638
+ "location": "import",
639
+ "path": "./kup-dropdown-button-declarations"
640
+ }
635
641
  }
636
642
  }
637
- }
638
- }, {
639
- "method": "kupClick",
640
- "name": "kup-dropdownbutton-click",
641
- "bubbles": true,
642
- "cancelable": false,
643
- "composed": true,
644
- "docs": {
645
- "tags": [],
646
- "text": "Triggered when the primary button is clicked."
647
- },
648
- "complexType": {
649
- "original": "KupDropdownButtonEventPayload",
650
- "resolved": "KupDropdownButtonEventPayload",
651
- "references": {
652
- "KupDropdownButtonEventPayload": {
653
- "location": "import",
654
- "path": "./kup-dropdown-button-declarations"
643
+ }, {
644
+ "method": "kupClick",
645
+ "name": "kup-dropdownbutton-click",
646
+ "bubbles": true,
647
+ "cancelable": false,
648
+ "composed": true,
649
+ "docs": {
650
+ "tags": [],
651
+ "text": "Triggered when the primary button is clicked."
652
+ },
653
+ "complexType": {
654
+ "original": "KupDropdownButtonEventPayload",
655
+ "resolved": "KupDropdownButtonEventPayload",
656
+ "references": {
657
+ "KupDropdownButtonEventPayload": {
658
+ "location": "import",
659
+ "path": "./kup-dropdown-button-declarations"
660
+ }
655
661
  }
656
662
  }
657
- }
658
- }, {
659
- "method": "kupFocus",
660
- "name": "kup-dropdownbutton-focus",
661
- "bubbles": true,
662
- "cancelable": false,
663
- "composed": true,
664
- "docs": {
665
- "tags": [],
666
- "text": "Triggered when the primary button is focused."
667
- },
668
- "complexType": {
669
- "original": "KupDropdownButtonEventPayload",
670
- "resolved": "KupDropdownButtonEventPayload",
671
- "references": {
672
- "KupDropdownButtonEventPayload": {
673
- "location": "import",
674
- "path": "./kup-dropdown-button-declarations"
663
+ }, {
664
+ "method": "kupFocus",
665
+ "name": "kup-dropdownbutton-focus",
666
+ "bubbles": true,
667
+ "cancelable": false,
668
+ "composed": true,
669
+ "docs": {
670
+ "tags": [],
671
+ "text": "Triggered when the primary button is focused."
672
+ },
673
+ "complexType": {
674
+ "original": "KupDropdownButtonEventPayload",
675
+ "resolved": "KupDropdownButtonEventPayload",
676
+ "references": {
677
+ "KupDropdownButtonEventPayload": {
678
+ "location": "import",
679
+ "path": "./kup-dropdown-button-declarations"
680
+ }
675
681
  }
676
682
  }
677
- }
678
- }, {
679
- "method": "kupChange",
680
- "name": "kup-dropdownbutton-change",
681
- "bubbles": true,
682
- "cancelable": false,
683
- "composed": true,
684
- "docs": {
685
- "tags": [],
686
- "text": "Triggered when a list item changes."
687
- },
688
- "complexType": {
689
- "original": "KupDropdownButtonEventPayload",
690
- "resolved": "KupDropdownButtonEventPayload",
691
- "references": {
692
- "KupDropdownButtonEventPayload": {
693
- "location": "import",
694
- "path": "./kup-dropdown-button-declarations"
683
+ }, {
684
+ "method": "kupChange",
685
+ "name": "kup-dropdownbutton-change",
686
+ "bubbles": true,
687
+ "cancelable": false,
688
+ "composed": true,
689
+ "docs": {
690
+ "tags": [],
691
+ "text": "Triggered when a list item changes."
692
+ },
693
+ "complexType": {
694
+ "original": "KupDropdownButtonEventPayload",
695
+ "resolved": "KupDropdownButtonEventPayload",
696
+ "references": {
697
+ "KupDropdownButtonEventPayload": {
698
+ "location": "import",
699
+ "path": "./kup-dropdown-button-declarations"
700
+ }
695
701
  }
696
702
  }
697
- }
698
- }, {
699
- "method": "kupItemClick",
700
- "name": "kup-dropdownbutton-itemclick",
701
- "bubbles": true,
702
- "cancelable": false,
703
- "composed": true,
704
- "docs": {
705
- "tags": [],
706
- "text": "Triggered when a list item is clicked."
707
- },
708
- "complexType": {
709
- "original": "KupDropdownButtonEventPayload",
710
- "resolved": "KupDropdownButtonEventPayload",
711
- "references": {
712
- "KupDropdownButtonEventPayload": {
713
- "location": "import",
714
- "path": "./kup-dropdown-button-declarations"
703
+ }, {
704
+ "method": "kupItemClick",
705
+ "name": "kup-dropdownbutton-itemclick",
706
+ "bubbles": true,
707
+ "cancelable": false,
708
+ "composed": true,
709
+ "docs": {
710
+ "tags": [],
711
+ "text": "Triggered when a list item is clicked."
712
+ },
713
+ "complexType": {
714
+ "original": "KupDropdownButtonEventPayload",
715
+ "resolved": "KupDropdownButtonEventPayload",
716
+ "references": {
717
+ "KupDropdownButtonEventPayload": {
718
+ "location": "import",
719
+ "path": "./kup-dropdown-button-declarations"
720
+ }
715
721
  }
716
722
  }
717
- }
718
- }]; }
719
- static get methods() { return {
720
- "getProps": {
721
- "complexType": {
722
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
723
- "parameters": [{
724
- "tags": [{
725
- "name": "param",
726
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
727
- }],
728
- "text": "- When provided and true, the result will be the list of props with their description."
729
- }],
730
- "references": {
731
- "Promise": {
732
- "location": "global"
723
+ }];
724
+ }
725
+ static get methods() {
726
+ return {
727
+ "getProps": {
728
+ "complexType": {
729
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
730
+ "parameters": [{
731
+ "tags": [{
732
+ "name": "param",
733
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
734
+ }],
735
+ "text": "- When provided and true, the result will be the list of props with their description."
736
+ }],
737
+ "references": {
738
+ "Promise": {
739
+ "location": "global"
740
+ },
741
+ "GenericObject": {
742
+ "location": "import",
743
+ "path": "../../types/GenericTypes"
744
+ }
733
745
  },
734
- "GenericObject": {
735
- "location": "import",
736
- "path": "../../types/GenericTypes"
737
- }
746
+ "return": "Promise<GenericObject>"
738
747
  },
739
- "return": "Promise<GenericObject>"
748
+ "docs": {
749
+ "text": "Used to retrieve component's props values.",
750
+ "tags": [{
751
+ "name": "param",
752
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
753
+ }, {
754
+ "name": "returns",
755
+ "text": "List of props as object, each key will be a prop."
756
+ }]
757
+ }
740
758
  },
741
- "docs": {
742
- "text": "Used to retrieve component's props values.",
743
- "tags": [{
744
- "name": "param",
745
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
746
- }, {
747
- "name": "returns",
748
- "text": "List of props as object, each key will be a prop."
749
- }]
750
- }
751
- },
752
- "getValue": {
753
- "complexType": {
754
- "signature": "() => Promise<string>",
755
- "parameters": [],
756
- "references": {
757
- "Promise": {
758
- "location": "global"
759
- }
759
+ "getValue": {
760
+ "complexType": {
761
+ "signature": "() => Promise<string>",
762
+ "parameters": [],
763
+ "references": {
764
+ "Promise": {
765
+ "location": "global"
766
+ }
767
+ },
768
+ "return": "Promise<string>"
760
769
  },
761
- "return": "Promise<string>"
770
+ "docs": {
771
+ "text": "Returns the component's internal value.",
772
+ "tags": []
773
+ }
762
774
  },
763
- "docs": {
764
- "text": "Returns the component's internal value.",
765
- "tags": []
766
- }
767
- },
768
- "refresh": {
769
- "complexType": {
770
- "signature": "() => Promise<void>",
771
- "parameters": [],
772
- "references": {
773
- "Promise": {
774
- "location": "global"
775
- }
775
+ "refresh": {
776
+ "complexType": {
777
+ "signature": "() => Promise<void>",
778
+ "parameters": [],
779
+ "references": {
780
+ "Promise": {
781
+ "location": "global"
782
+ }
783
+ },
784
+ "return": "Promise<void>"
776
785
  },
777
- "return": "Promise<void>"
786
+ "docs": {
787
+ "text": "This method is used to trigger a new render of the component.",
788
+ "tags": []
789
+ }
778
790
  },
779
- "docs": {
780
- "text": "This method is used to trigger a new render of the component.",
781
- "tags": []
782
- }
783
- },
784
- "setProps": {
785
- "complexType": {
786
- "signature": "(props: GenericObject) => Promise<void>",
787
- "parameters": [{
788
- "tags": [{
789
- "name": "param",
790
- "text": "props - Object containing props that will be set to the component."
791
- }],
792
- "text": "- Object containing props that will be set to the component."
793
- }],
794
- "references": {
795
- "Promise": {
796
- "location": "global"
791
+ "setProps": {
792
+ "complexType": {
793
+ "signature": "(props: GenericObject) => Promise<void>",
794
+ "parameters": [{
795
+ "tags": [{
796
+ "name": "param",
797
+ "text": "props - Object containing props that will be set to the component."
798
+ }],
799
+ "text": "- Object containing props that will be set to the component."
800
+ }],
801
+ "references": {
802
+ "Promise": {
803
+ "location": "global"
804
+ },
805
+ "GenericObject": {
806
+ "location": "import",
807
+ "path": "../../types/GenericTypes"
808
+ }
797
809
  },
798
- "GenericObject": {
799
- "location": "import",
800
- "path": "../../types/GenericTypes"
801
- }
810
+ "return": "Promise<void>"
802
811
  },
803
- "return": "Promise<void>"
812
+ "docs": {
813
+ "text": "Sets the props to the component.",
814
+ "tags": [{
815
+ "name": "param",
816
+ "text": "props - Object containing props that will be set to the component."
817
+ }]
818
+ }
804
819
  },
805
- "docs": {
806
- "text": "Sets the props to the component.",
807
- "tags": [{
808
- "name": "param",
809
- "text": "props - Object containing props that will be set to the component."
810
- }]
811
- }
812
- },
813
- "setValue": {
814
- "complexType": {
815
- "signature": "(value: string) => Promise<void>",
816
- "parameters": [{
817
- "tags": [],
818
- "text": ""
819
- }],
820
- "references": {
821
- "Promise": {
822
- "location": "global"
823
- }
820
+ "setValue": {
821
+ "complexType": {
822
+ "signature": "(value: string) => Promise<void>",
823
+ "parameters": [{
824
+ "tags": [],
825
+ "text": ""
826
+ }],
827
+ "references": {
828
+ "Promise": {
829
+ "location": "global"
830
+ }
831
+ },
832
+ "return": "Promise<void>"
824
833
  },
825
- "return": "Promise<void>"
826
- },
827
- "docs": {
828
- "text": "Sets the internal value of the component.",
829
- "tags": []
834
+ "docs": {
835
+ "text": "Sets the internal value of the component.",
836
+ "tags": []
837
+ }
830
838
  }
831
- }
832
- }; }
839
+ };
840
+ }
833
841
  static get elementRef() { return "rootElement"; }
834
- static get listeners() { return [{
835
- "name": "keydown",
836
- "method": "listenKeydown",
837
- "target": undefined,
838
- "capture": false,
839
- "passive": false
840
- }]; }
842
+ static get listeners() {
843
+ return [{
844
+ "name": "keydown",
845
+ "method": "listenKeydown",
846
+ "target": undefined,
847
+ "capture": false,
848
+ "passive": false
849
+ }];
850
+ }
841
851
  }