@sme.up/ketchup 6.6.0 → 6.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-a531feb2.js → f-button-bf76ab95.js} +2 -2
  3. package/dist/cjs/{f-cell-75cb7933.js → f-cell-b7a1524a.js} +21 -21
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-9508a2e4.js → f-chip-a5e100b1.js} +3 -3
  6. package/dist/cjs/{f-image-c21cc616.js → f-image-d80a2749.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-c70812fe.js} +3 -3
  8. package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-48b8bb16.js} +2 -2
  9. package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
  12. package/dist/cjs/kup-autocomplete_25.cjs.entry.js +206 -57
  13. package/dist/cjs/kup-box.cjs.entry.js +11 -10
  14. package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
  15. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  16. package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
  17. package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
  19. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
  22. package/dist/cjs/kup-form.cjs.entry.js +8 -8
  23. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
  25. package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
  27. package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-0e38bf48.js} +16 -6
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  30. package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  33. package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
  34. package/dist/cjs/loader.cjs.js +3 -3
  35. package/dist/collection/assets/box.js +9 -6
  36. package/dist/collection/collection-manifest.json +3 -3
  37. package/dist/collection/components/kup-accordion/kup-accordion.js +239 -234
  38. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
  39. package/dist/collection/components/kup-badge/kup-badge.js +176 -170
  40. package/dist/collection/components/kup-box/kup-box.js +889 -907
  41. package/dist/collection/components/kup-button/kup-button.js +379 -370
  42. package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
  43. package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
  44. package/dist/collection/components/kup-card/box/kup-card-box.js +7 -24
  45. package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
  46. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
  47. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  48. package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
  49. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  50. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  51. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  52. package/dist/collection/components/kup-card/kup-card.css +40 -0
  53. package/dist/collection/components/kup-card/kup-card.js +348 -340
  54. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  55. package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
  56. package/dist/collection/components/kup-cell/kup-cell.js +221 -216
  57. package/dist/collection/components/kup-chart/kup-chart.js +547 -537
  58. package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
  59. package/dist/collection/components/kup-chip/kup-chip.js +240 -231
  60. package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
  61. package/dist/collection/components/kup-combobox/kup-combobox.js +457 -440
  62. package/dist/collection/components/kup-dash/kup-dash.js +110 -158
  63. package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
  64. package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
  65. package/dist/collection/components/kup-data-table/kup-data-table.js +1917 -1830
  66. package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
  67. package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
  68. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
  69. package/dist/collection/components/kup-echart/kup-echart.js +436 -423
  70. package/dist/collection/components/kup-family-tree/kup-family-tree.js +408 -421
  71. package/dist/collection/components/kup-form/kup-form.js +223 -225
  72. package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
  73. package/dist/collection/components/kup-grid/kup-grid.js +156 -153
  74. package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
  75. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  76. package/dist/collection/components/kup-image/kup-image.js +300 -295
  77. package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
  78. package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
  79. package/dist/collection/components/kup-list/kup-list.js +541 -504
  80. package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
  81. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
  82. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
  83. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
  84. package/dist/collection/components/kup-probe/kup-probe.js +87 -83
  85. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
  86. package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
  87. package/dist/collection/components/kup-radio/kup-radio.js +258 -255
  88. package/dist/collection/components/kup-rating/kup-rating.js +208 -197
  89. package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
  90. package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
  91. package/dist/collection/components/kup-switch/kup-switch.js +255 -246
  92. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
  93. package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
  94. package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
  95. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  96. package/dist/collection/components/kup-tree/kup-tree.js +1068 -1076
  97. package/dist/collection/f-components/f-button/f-button.js +11 -20
  98. package/dist/collection/f-components/f-cell/f-cell.js +19 -21
  99. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  100. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  101. package/dist/collection/f-components/f-image/f-image.js +1 -3
  102. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  103. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  104. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  105. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  106. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  107. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  108. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  109. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  110. package/dist/esm/{f-button-15719ec1.js → f-button-e79f7594.js} +2 -2
  111. package/dist/esm/{f-cell-692c37bf.js → f-cell-9400374e.js} +21 -21
  112. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  113. package/dist/esm/{f-chip-abab04bf.js → f-chip-bf740287.js} +3 -3
  114. package/dist/esm/{f-image-98783644.js → f-image-ab3dc8cb.js} +2 -2
  115. package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-6909e43b.js} +3 -3
  116. package/dist/esm/{f-text-field-282025dd.js → f-text-field-4841dfea.js} +2 -2
  117. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  118. package/dist/esm/ketchup.js +3 -3
  119. package/dist/esm/kup-accordion.entry.js +3 -3
  120. package/dist/esm/kup-autocomplete_25.entry.js +206 -57
  121. package/dist/esm/kup-box.entry.js +11 -10
  122. package/dist/esm/kup-calendar.entry.js +5 -5
  123. package/dist/esm/kup-cell.entry.js +7 -7
  124. package/dist/esm/kup-dash-list.entry.js +2 -2
  125. package/dist/esm/kup-dash_2.entry.js +2 -2
  126. package/dist/esm/kup-dashboard.entry.js +6 -6
  127. package/dist/esm/kup-drawer.entry.js +2 -2
  128. package/dist/esm/kup-echart.entry.js +2 -2
  129. package/dist/esm/kup-family-tree.entry.js +4 -4
  130. package/dist/esm/kup-form.entry.js +8 -8
  131. package/dist/esm/kup-iframe.entry.js +2 -2
  132. package/dist/esm/kup-image-list.entry.js +8 -8
  133. package/dist/esm/kup-lazy.entry.js +2 -2
  134. package/dist/esm/kup-magic-box.entry.js +3 -3
  135. package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c54e6df5.js} +16 -6
  136. package/dist/esm/kup-nav-bar.entry.js +2 -2
  137. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  138. package/dist/esm/kup-photo-frame.entry.js +2 -2
  139. package/dist/esm/kup-probe.entry.js +2 -2
  140. package/dist/esm/kup-qlik.entry.js +2 -2
  141. package/dist/esm/kup-snackbar.entry.js +4 -4
  142. package/dist/esm/loader.js +3 -3
  143. package/dist/esm/polyfills/css-shim.js +1 -1
  144. package/dist/ketchup/ketchup.esm.js +1 -1
  145. package/dist/ketchup/{p-5933aa02.entry.js → p-182b869e.entry.js} +1 -1
  146. package/dist/ketchup/{p-c05f2638.js → p-1dfd2a51.js} +1 -1
  147. package/dist/ketchup/{p-62f3ec78.entry.js → p-1f5c7f21.entry.js} +1 -1
  148. package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
  149. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  150. package/dist/ketchup/{p-62421bcf.js → p-25bf0cb6.js} +1 -1
  151. package/dist/ketchup/{p-6946b614.entry.js → p-260ff835.entry.js} +1 -1
  152. package/dist/ketchup/{p-ccef2553.entry.js → p-2e184b57.entry.js} +1 -1
  153. package/dist/ketchup/{p-eeadd688.entry.js → p-30a63b85.entry.js} +1 -1
  154. package/dist/ketchup/{p-3760a159.entry.js → p-313e376b.entry.js} +1 -1
  155. package/dist/ketchup/{p-7e16265d.entry.js → p-41620707.entry.js} +1 -1
  156. package/dist/ketchup/{p-5ea2a1ff.entry.js → p-4a0ccf18.entry.js} +1 -1
  157. package/dist/ketchup/{p-6f3040fb.js → p-4f0d3062.js} +1 -1
  158. package/dist/ketchup/p-4fdb684f.js +2 -0
  159. package/dist/ketchup/{p-27538d6f.entry.js → p-53d3ae80.entry.js} +1 -1
  160. package/dist/ketchup/{p-20221a50.js → p-5bea2971.js} +1 -1
  161. package/dist/ketchup/{p-1ef5d16d.entry.js → p-60fa0ccf.entry.js} +1 -1
  162. package/dist/ketchup/p-6333388c.js +1 -0
  163. package/dist/ketchup/{p-725c6268.entry.js → p-6bd57787.entry.js} +1 -1
  164. package/dist/ketchup/p-758d03f4.entry.js +1 -0
  165. package/dist/ketchup/{p-9419919c.entry.js → p-7e7b6127.entry.js} +1 -1
  166. package/dist/ketchup/p-8386e3db.entry.js +1 -0
  167. package/dist/ketchup/{p-a4a30e0e.entry.js → p-859163c2.entry.js} +1 -1
  168. package/dist/ketchup/{p-a450d60a.entry.js → p-8e1fa7a8.entry.js} +1 -1
  169. package/dist/ketchup/{p-29d72040.entry.js → p-90860d9e.entry.js} +1 -1
  170. package/dist/ketchup/{p-d8af7ba6.entry.js → p-b7fdc7aa.entry.js} +1 -1
  171. package/dist/ketchup/{p-7d37ea62.entry.js → p-bffaef6e.entry.js} +1 -1
  172. package/dist/ketchup/{p-3e74e1ed.js → p-c35c5e05.js} +1 -1
  173. package/dist/ketchup/{p-e6ebdb80.js → p-e1d0ea71.js} +1 -1
  174. package/dist/ketchup/{p-fd930a34.entry.js → p-f9d5e553.entry.js} +1 -1
  175. package/dist/ketchup/{p-f6409c42.entry.js → p-fb4d772a.entry.js} +1 -1
  176. package/dist/loader/package.json +1 -0
  177. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  178. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  179. package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
  180. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  181. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  182. package/dist/types/components.d.ts +23 -0
  183. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  184. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  185. package/dist/types/stencil-public-runtime.d.ts +15 -4
  186. package/package.json +1 -1
  187. package/CHANGELOG.md +0 -5
  188. package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
  189. package/dist/ketchup/p-680a8cb4.entry.js +0 -9
  190. package/dist/ketchup/p-b0b3989b.js +0 -2
  191. package/dist/ketchup/p-d7a92197.entry.js +0 -1
  192. package/dist/ketchup/p-e07a10fb.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Element, Event, forceUpdate, 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
  }