@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, 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 { FTextField } from '../../f-components/f-text-field/f-text-field';
4
4
  import { FTextFieldMDC } from '../../f-components/f-text-field/f-text-field-mdc';
@@ -351,845 +351,854 @@ export class KupTextField {
351
351
  onIconClick: (e) => this.onKupIconClick(e),
352
352
  onClearIconClick: () => this.onKupClearIconClick(),
353
353
  };
354
- return (h(Host, null,
355
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
356
- h("div", { id: componentWrapperId },
357
- h(FTextField, Object.assign({}, props)))));
354
+ return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h(FTextField, Object.assign({}, props)))));
358
355
  }
359
356
  disconnectedCallback() {
360
357
  this.kupManager.theme.unregister(this);
361
358
  }
362
359
  static get is() { return "kup-text-field"; }
363
360
  static get encapsulation() { return "shadow"; }
364
- static get originalStyleUrls() { return {
365
- "$": ["kup-text-field.scss"]
366
- }; }
367
- static get styleUrls() { return {
368
- "$": ["kup-text-field.css"]
369
- }; }
370
- static get properties() { return {
371
- "customStyle": {
372
- "type": "string",
373
- "mutable": false,
374
- "complexType": {
375
- "original": "string",
376
- "resolved": "string",
377
- "references": {}
378
- },
379
- "required": false,
380
- "optional": false,
381
- "docs": {
382
- "tags": [{
383
- "name": "default",
384
- "text": "\"\""
385
- }, {
386
- "name": "see",
387
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
388
- }],
389
- "text": "Custom style of the component."
390
- },
391
- "attribute": "custom-style",
392
- "reflect": false,
393
- "defaultValue": "''"
394
- },
395
- "decimals": {
396
- "type": "number",
397
- "mutable": false,
398
- "complexType": {
399
- "original": "number",
400
- "resolved": "number",
401
- "references": {}
402
- },
403
- "required": false,
404
- "optional": false,
405
- "docs": {
406
- "tags": [{
407
- "name": "default",
408
- "text": "null"
409
- }],
410
- "text": "Number of decimals (should be used when inputType is number)."
411
- },
412
- "attribute": "decimals",
413
- "reflect": false,
414
- "defaultValue": "null"
415
- },
416
- "disabled": {
417
- "type": "boolean",
418
- "mutable": false,
419
- "complexType": {
420
- "original": "boolean",
421
- "resolved": "boolean",
422
- "references": {}
423
- },
424
- "required": false,
425
- "optional": false,
426
- "docs": {
427
- "tags": [{
428
- "name": "default",
429
- "text": "false"
430
- }],
431
- "text": "When set to true, the component is disabled."
432
- },
433
- "attribute": "disabled",
434
- "reflect": false,
435
- "defaultValue": "false"
436
- },
437
- "emitSubmitEventOnEnter": {
438
- "type": "boolean",
439
- "mutable": false,
440
- "complexType": {
441
- "original": "boolean",
442
- "resolved": "boolean",
443
- "references": {}
444
- },
445
- "required": false,
446
- "optional": false,
447
- "docs": {
448
- "tags": [{
449
- "name": "default",
450
- "text": "true"
451
- }],
452
- "text": "When the text field is part of the autocomplete component and the list is opened, enter key selects the item and doesn't submit."
453
- },
454
- "attribute": "emit-submit-event-on-enter",
455
- "reflect": false,
456
- "defaultValue": "true"
457
- },
458
- "fullWidth": {
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": "When set to true, the component will be rendered at full width."
474
- },
475
- "attribute": "full-width",
476
- "reflect": true,
477
- "defaultValue": "false"
478
- },
479
- "helper": {
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": "null"
493
- }],
494
- "text": "When set, its content will be shown as a help text below the field."
495
- },
496
- "attribute": "helper",
497
- "reflect": false,
498
- "defaultValue": "null"
499
- },
500
- "helperEnabled": {
501
- "type": "boolean",
502
- "mutable": false,
503
- "complexType": {
504
- "original": "boolean",
505
- "resolved": "boolean",
506
- "references": {}
507
- },
508
- "required": false,
509
- "optional": false,
510
- "docs": {
511
- "tags": [{
512
- "name": "default",
513
- "text": "true"
514
- }],
515
- "text": "When true, the helper will be displayed."
516
- },
517
- "attribute": "helper-enabled",
518
- "reflect": false,
519
- "defaultValue": "true"
520
- },
521
- "helperWhenFocused": {
522
- "type": "boolean",
523
- "mutable": false,
524
- "complexType": {
525
- "original": "boolean",
526
- "resolved": "boolean",
527
- "references": {}
528
- },
529
- "required": false,
530
- "optional": false,
531
- "docs": {
532
- "tags": [{
533
- "name": "default",
534
- "text": "false"
535
- }],
536
- "text": "When set, the helper will be shown only when the field is focused."
537
- },
538
- "attribute": "helper-when-focused",
539
- "reflect": false,
540
- "defaultValue": "false"
541
- },
542
- "icon": {
543
- "type": "string",
544
- "mutable": false,
545
- "complexType": {
546
- "original": "string",
547
- "resolved": "string",
548
- "references": {}
549
- },
550
- "required": false,
551
- "optional": false,
552
- "docs": {
553
- "tags": [{
554
- "name": "default",
555
- "text": "null"
556
- }],
557
- "text": "When set, the text-field will show this icon."
558
- },
559
- "attribute": "icon",
560
- "reflect": false,
561
- "defaultValue": "null"
562
- },
563
- "initialValue": {
564
- "type": "string",
565
- "mutable": false,
566
- "complexType": {
567
- "original": "string",
568
- "resolved": "string",
569
- "references": {}
570
- },
571
- "required": false,
572
- "optional": false,
573
- "docs": {
574
- "tags": [{
575
- "name": "default",
576
- "text": "\"\""
577
- }],
578
- "text": "Sets the initial value of the component"
579
- },
580
- "attribute": "initial-value",
581
- "reflect": false,
582
- "defaultValue": "''"
583
- },
584
- "inputMode": {
585
- "type": "string",
586
- "mutable": false,
587
- "complexType": {
588
- "original": "string",
589
- "resolved": "string",
590
- "references": {}
591
- },
592
- "required": false,
593
- "optional": false,
594
- "docs": {
595
- "tags": [{
596
- "name": "default",
597
- "text": "null"
598
- }],
599
- "text": "The HTML inputmode of the input element."
600
- },
601
- "attribute": "input-mode",
602
- "reflect": false,
603
- "defaultValue": "null"
604
- },
605
- "inputType": {
606
- "type": "string",
607
- "mutable": false,
608
- "complexType": {
609
- "original": "string",
610
- "resolved": "string",
611
- "references": {}
612
- },
613
- "required": false,
614
- "optional": false,
615
- "docs": {
616
- "tags": [{
617
- "name": "default",
618
- "text": "\"text\""
619
- }],
620
- "text": "The HTML type of the input element. It has no effect on text areas."
621
- },
622
- "attribute": "input-type",
623
- "reflect": false,
624
- "defaultValue": "'text'"
625
- },
626
- "isClearable": {
627
- "type": "boolean",
628
- "mutable": false,
629
- "complexType": {
630
- "original": "boolean",
631
- "resolved": "boolean",
632
- "references": {}
633
- },
634
- "required": false,
635
- "optional": false,
636
- "docs": {
637
- "tags": [{
638
- "name": "default",
639
- "text": "false"
640
- }],
641
- "text": "Enables a clear trailing icon."
642
- },
643
- "attribute": "is-clearable",
644
- "reflect": false,
645
- "defaultValue": "false"
646
- },
647
- "label": {
648
- "type": "string",
649
- "mutable": false,
650
- "complexType": {
651
- "original": "string",
652
- "resolved": "string",
653
- "references": {}
654
- },
655
- "required": false,
656
- "optional": false,
657
- "docs": {
658
- "tags": [{
659
- "name": "default",
660
- "text": "null"
661
- }],
662
- "text": "When set, its content will be shown as a label."
663
- },
664
- "attribute": "label",
665
- "reflect": false,
666
- "defaultValue": "null"
667
- },
668
- "leadingLabel": {
669
- "type": "boolean",
670
- "mutable": false,
671
- "complexType": {
672
- "original": "boolean",
673
- "resolved": "boolean",
674
- "references": {}
675
- },
676
- "required": false,
677
- "optional": false,
678
- "docs": {
679
- "tags": [{
680
- "name": "default",
681
- "text": "false"
682
- }],
683
- "text": "When set to true, the label will be on the left of the component."
684
- },
685
- "attribute": "leading-label",
686
- "reflect": false,
687
- "defaultValue": "false"
688
- },
689
- "max": {
690
- "type": "number",
691
- "mutable": false,
692
- "complexType": {
693
- "original": "number",
694
- "resolved": "number",
695
- "references": {}
696
- },
697
- "required": false,
698
- "optional": false,
699
- "docs": {
700
- "tags": [{
701
- "name": "default",
702
- "text": "null"
703
- }],
704
- "text": "The HTML max attribute specifies the maximum value for the input element.\r\nWorks with the following input types: number, range, date, datetime-local, month, time and week."
705
- },
706
- "attribute": "max",
707
- "reflect": false,
708
- "defaultValue": "null"
709
- },
710
- "maxLength": {
711
- "type": "number",
712
- "mutable": false,
713
- "complexType": {
714
- "original": "number",
715
- "resolved": "number",
716
- "references": {}
717
- },
718
- "required": false,
719
- "optional": false,
720
- "docs": {
721
- "tags": [{
722
- "name": "default",
723
- "text": "null"
724
- }],
725
- "text": "When set, the helper will display a character counter."
726
- },
727
- "attribute": "max-length",
728
- "reflect": false,
729
- "defaultValue": "null"
730
- },
731
- "min": {
732
- "type": "number",
733
- "mutable": false,
734
- "complexType": {
735
- "original": "number",
736
- "resolved": "number",
737
- "references": {}
738
- },
739
- "required": false,
740
- "optional": false,
741
- "docs": {
742
- "tags": [{
743
- "name": "default",
744
- "text": "null"
745
- }],
746
- "text": "The HTML min attribute specifies the minimum value for the input element.\r\nWorks with the following input types: number, range, date, datetime-local, month, time and week."
747
- },
748
- "attribute": "min",
749
- "reflect": false,
750
- "defaultValue": "null"
751
- },
752
- "name": {
753
- "type": "string",
754
- "mutable": false,
755
- "complexType": {
756
- "original": "string",
757
- "resolved": "string",
758
- "references": {}
759
- },
760
- "required": false,
761
- "optional": false,
762
- "docs": {
763
- "tags": [{
764
- "name": "default",
765
- "text": "null"
766
- }],
767
- "text": "The HTML name attribute used for form autocomplete."
768
- },
769
- "attribute": "name",
770
- "reflect": false,
771
- "defaultValue": "null"
772
- },
773
- "outlined": {
774
- "type": "boolean",
775
- "mutable": false,
776
- "complexType": {
777
- "original": "boolean",
778
- "resolved": "boolean",
779
- "references": {}
780
- },
781
- "required": false,
782
- "optional": false,
783
- "docs": {
784
- "tags": [{
785
- "name": "default",
786
- "text": "false"
787
- }],
788
- "text": "When set to true, the component will be rendered as an outlined field."
789
- },
790
- "attribute": "outlined",
791
- "reflect": false,
792
- "defaultValue": "false"
793
- },
794
- "readOnly": {
795
- "type": "boolean",
796
- "mutable": false,
797
- "complexType": {
798
- "original": "boolean",
799
- "resolved": "boolean",
800
- "references": {}
801
- },
802
- "required": false,
803
- "optional": false,
804
- "docs": {
805
- "tags": [{
806
- "name": "default",
807
- "text": "false"
808
- }],
809
- "text": "Sets the component to read only state, making it not editable, but interactable. Used in combobox component when it behaves as a select."
810
- },
811
- "attribute": "read-only",
812
- "reflect": false,
813
- "defaultValue": "false"
814
- },
815
- "step": {
816
- "type": "number",
817
- "mutable": false,
818
- "complexType": {
819
- "original": "number",
820
- "resolved": "number",
821
- "references": {}
822
- },
823
- "required": false,
824
- "optional": false,
825
- "docs": {
826
- "tags": [{
827
- "name": "default",
828
- "text": "null"
829
- }],
830
- "text": "The HTML step of the input element. It has effect only with number input type."
831
- },
832
- "attribute": "step",
833
- "reflect": false,
834
- "defaultValue": "null"
835
- },
836
- "textArea": {
837
- "type": "boolean",
838
- "mutable": false,
839
- "complexType": {
840
- "original": "boolean",
841
- "resolved": "boolean",
842
- "references": {}
843
- },
844
- "required": false,
845
- "optional": false,
846
- "docs": {
847
- "tags": [{
848
- "name": "default",
849
- "text": "false"
850
- }],
851
- "text": "When set to true, the component will be rendered as a textarea."
852
- },
853
- "attribute": "text-area",
854
- "reflect": false,
855
- "defaultValue": "false"
856
- },
857
- "trailingIcon": {
858
- "type": "boolean",
859
- "mutable": false,
860
- "complexType": {
861
- "original": "boolean",
862
- "resolved": "boolean",
863
- "references": {}
864
- },
865
- "required": false,
866
- "optional": false,
867
- "docs": {
868
- "tags": [{
869
- "name": "default",
870
- "text": "false"
871
- }],
872
- "text": "When set, the icon will be shown after the text."
873
- },
874
- "attribute": "trailing-icon",
875
- "reflect": false,
876
- "defaultValue": "false"
877
- },
878
- "trailingLabel": {
879
- "type": "boolean",
880
- "mutable": false,
881
- "complexType": {
882
- "original": "boolean",
883
- "resolved": "boolean",
884
- "references": {}
885
- },
886
- "required": false,
887
- "optional": false,
888
- "docs": {
889
- "tags": [{
890
- "name": "default",
891
- "text": "false"
892
- }],
893
- "text": "When set to true, the label will be on the right of the component."
894
- },
895
- "attribute": "trailing-label",
896
- "reflect": false,
897
- "defaultValue": "false"
898
- }
899
- }; }
900
- static get states() { return {
901
- "value": {}
902
- }; }
903
- static get events() { return [{
904
- "method": "kupBlur",
905
- "name": "kup-textfield-blur",
906
- "bubbles": true,
907
- "cancelable": false,
908
- "composed": true,
909
- "docs": {
910
- "tags": [],
911
- "text": "Triggered when the input element loses focus."
912
- },
913
- "complexType": {
914
- "original": "KupTextFieldEventPayload",
915
- "resolved": "KupTextFieldEventPayload",
916
- "references": {
917
- "KupTextFieldEventPayload": {
918
- "location": "import",
919
- "path": "./kup-text-field-declarations"
361
+ static get originalStyleUrls() {
362
+ return {
363
+ "$": ["kup-text-field.scss"]
364
+ };
365
+ }
366
+ static get styleUrls() {
367
+ return {
368
+ "$": ["kup-text-field.css"]
369
+ };
370
+ }
371
+ static get properties() {
372
+ return {
373
+ "customStyle": {
374
+ "type": "string",
375
+ "mutable": false,
376
+ "complexType": {
377
+ "original": "string",
378
+ "resolved": "string",
379
+ "references": {}
380
+ },
381
+ "required": false,
382
+ "optional": false,
383
+ "docs": {
384
+ "tags": [{
385
+ "name": "default",
386
+ "text": "\"\""
387
+ }, {
388
+ "name": "see",
389
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
390
+ }],
391
+ "text": "Custom style of the component."
392
+ },
393
+ "attribute": "custom-style",
394
+ "reflect": false,
395
+ "defaultValue": "''"
396
+ },
397
+ "decimals": {
398
+ "type": "number",
399
+ "mutable": false,
400
+ "complexType": {
401
+ "original": "number",
402
+ "resolved": "number",
403
+ "references": {}
404
+ },
405
+ "required": false,
406
+ "optional": false,
407
+ "docs": {
408
+ "tags": [{
409
+ "name": "default",
410
+ "text": "null"
411
+ }],
412
+ "text": "Number of decimals (should be used when inputType is number)."
413
+ },
414
+ "attribute": "decimals",
415
+ "reflect": false,
416
+ "defaultValue": "null"
417
+ },
418
+ "disabled": {
419
+ "type": "boolean",
420
+ "mutable": false,
421
+ "complexType": {
422
+ "original": "boolean",
423
+ "resolved": "boolean",
424
+ "references": {}
425
+ },
426
+ "required": false,
427
+ "optional": false,
428
+ "docs": {
429
+ "tags": [{
430
+ "name": "default",
431
+ "text": "false"
432
+ }],
433
+ "text": "When set to true, the component is disabled."
434
+ },
435
+ "attribute": "disabled",
436
+ "reflect": false,
437
+ "defaultValue": "false"
438
+ },
439
+ "emitSubmitEventOnEnter": {
440
+ "type": "boolean",
441
+ "mutable": false,
442
+ "complexType": {
443
+ "original": "boolean",
444
+ "resolved": "boolean",
445
+ "references": {}
446
+ },
447
+ "required": false,
448
+ "optional": false,
449
+ "docs": {
450
+ "tags": [{
451
+ "name": "default",
452
+ "text": "true"
453
+ }],
454
+ "text": "When the text field is part of the autocomplete component and the list is opened, enter key selects the item and doesn't submit."
455
+ },
456
+ "attribute": "emit-submit-event-on-enter",
457
+ "reflect": false,
458
+ "defaultValue": "true"
459
+ },
460
+ "fullWidth": {
461
+ "type": "boolean",
462
+ "mutable": false,
463
+ "complexType": {
464
+ "original": "boolean",
465
+ "resolved": "boolean",
466
+ "references": {}
467
+ },
468
+ "required": false,
469
+ "optional": false,
470
+ "docs": {
471
+ "tags": [{
472
+ "name": "default",
473
+ "text": "false"
474
+ }],
475
+ "text": "When set to true, the component will be rendered at full width."
476
+ },
477
+ "attribute": "full-width",
478
+ "reflect": true,
479
+ "defaultValue": "false"
480
+ },
481
+ "helper": {
482
+ "type": "string",
483
+ "mutable": false,
484
+ "complexType": {
485
+ "original": "string",
486
+ "resolved": "string",
487
+ "references": {}
488
+ },
489
+ "required": false,
490
+ "optional": false,
491
+ "docs": {
492
+ "tags": [{
493
+ "name": "default",
494
+ "text": "null"
495
+ }],
496
+ "text": "When set, its content will be shown as a help text below the field."
497
+ },
498
+ "attribute": "helper",
499
+ "reflect": false,
500
+ "defaultValue": "null"
501
+ },
502
+ "helperEnabled": {
503
+ "type": "boolean",
504
+ "mutable": false,
505
+ "complexType": {
506
+ "original": "boolean",
507
+ "resolved": "boolean",
508
+ "references": {}
509
+ },
510
+ "required": false,
511
+ "optional": false,
512
+ "docs": {
513
+ "tags": [{
514
+ "name": "default",
515
+ "text": "true"
516
+ }],
517
+ "text": "When true, the helper will be displayed."
518
+ },
519
+ "attribute": "helper-enabled",
520
+ "reflect": false,
521
+ "defaultValue": "true"
522
+ },
523
+ "helperWhenFocused": {
524
+ "type": "boolean",
525
+ "mutable": false,
526
+ "complexType": {
527
+ "original": "boolean",
528
+ "resolved": "boolean",
529
+ "references": {}
530
+ },
531
+ "required": false,
532
+ "optional": false,
533
+ "docs": {
534
+ "tags": [{
535
+ "name": "default",
536
+ "text": "false"
537
+ }],
538
+ "text": "When set, the helper will be shown only when the field is focused."
539
+ },
540
+ "attribute": "helper-when-focused",
541
+ "reflect": false,
542
+ "defaultValue": "false"
543
+ },
544
+ "icon": {
545
+ "type": "string",
546
+ "mutable": false,
547
+ "complexType": {
548
+ "original": "string",
549
+ "resolved": "string",
550
+ "references": {}
551
+ },
552
+ "required": false,
553
+ "optional": false,
554
+ "docs": {
555
+ "tags": [{
556
+ "name": "default",
557
+ "text": "null"
558
+ }],
559
+ "text": "When set, the text-field will show this icon."
560
+ },
561
+ "attribute": "icon",
562
+ "reflect": false,
563
+ "defaultValue": "null"
564
+ },
565
+ "initialValue": {
566
+ "type": "string",
567
+ "mutable": false,
568
+ "complexType": {
569
+ "original": "string",
570
+ "resolved": "string",
571
+ "references": {}
572
+ },
573
+ "required": false,
574
+ "optional": false,
575
+ "docs": {
576
+ "tags": [{
577
+ "name": "default",
578
+ "text": "\"\""
579
+ }],
580
+ "text": "Sets the initial value of the component"
581
+ },
582
+ "attribute": "initial-value",
583
+ "reflect": false,
584
+ "defaultValue": "''"
585
+ },
586
+ "inputMode": {
587
+ "type": "string",
588
+ "mutable": false,
589
+ "complexType": {
590
+ "original": "string",
591
+ "resolved": "string",
592
+ "references": {}
593
+ },
594
+ "required": false,
595
+ "optional": false,
596
+ "docs": {
597
+ "tags": [{
598
+ "name": "default",
599
+ "text": "null"
600
+ }],
601
+ "text": "The HTML inputmode of the input element."
602
+ },
603
+ "attribute": "input-mode",
604
+ "reflect": false,
605
+ "defaultValue": "null"
606
+ },
607
+ "inputType": {
608
+ "type": "string",
609
+ "mutable": false,
610
+ "complexType": {
611
+ "original": "string",
612
+ "resolved": "string",
613
+ "references": {}
614
+ },
615
+ "required": false,
616
+ "optional": false,
617
+ "docs": {
618
+ "tags": [{
619
+ "name": "default",
620
+ "text": "\"text\""
621
+ }],
622
+ "text": "The HTML type of the input element. It has no effect on text areas."
623
+ },
624
+ "attribute": "input-type",
625
+ "reflect": false,
626
+ "defaultValue": "'text'"
627
+ },
628
+ "isClearable": {
629
+ "type": "boolean",
630
+ "mutable": false,
631
+ "complexType": {
632
+ "original": "boolean",
633
+ "resolved": "boolean",
634
+ "references": {}
635
+ },
636
+ "required": false,
637
+ "optional": false,
638
+ "docs": {
639
+ "tags": [{
640
+ "name": "default",
641
+ "text": "false"
642
+ }],
643
+ "text": "Enables a clear trailing icon."
644
+ },
645
+ "attribute": "is-clearable",
646
+ "reflect": false,
647
+ "defaultValue": "false"
648
+ },
649
+ "label": {
650
+ "type": "string",
651
+ "mutable": false,
652
+ "complexType": {
653
+ "original": "string",
654
+ "resolved": "string",
655
+ "references": {}
656
+ },
657
+ "required": false,
658
+ "optional": false,
659
+ "docs": {
660
+ "tags": [{
661
+ "name": "default",
662
+ "text": "null"
663
+ }],
664
+ "text": "When set, its content will be shown as a label."
665
+ },
666
+ "attribute": "label",
667
+ "reflect": false,
668
+ "defaultValue": "null"
669
+ },
670
+ "leadingLabel": {
671
+ "type": "boolean",
672
+ "mutable": false,
673
+ "complexType": {
674
+ "original": "boolean",
675
+ "resolved": "boolean",
676
+ "references": {}
677
+ },
678
+ "required": false,
679
+ "optional": false,
680
+ "docs": {
681
+ "tags": [{
682
+ "name": "default",
683
+ "text": "false"
684
+ }],
685
+ "text": "When set to true, the label will be on the left of the component."
686
+ },
687
+ "attribute": "leading-label",
688
+ "reflect": false,
689
+ "defaultValue": "false"
690
+ },
691
+ "max": {
692
+ "type": "number",
693
+ "mutable": false,
694
+ "complexType": {
695
+ "original": "number",
696
+ "resolved": "number",
697
+ "references": {}
698
+ },
699
+ "required": false,
700
+ "optional": false,
701
+ "docs": {
702
+ "tags": [{
703
+ "name": "default",
704
+ "text": "null"
705
+ }],
706
+ "text": "The HTML max attribute specifies the maximum value for the input element.\r\nWorks with the following input types: number, range, date, datetime-local, month, time and week."
707
+ },
708
+ "attribute": "max",
709
+ "reflect": false,
710
+ "defaultValue": "null"
711
+ },
712
+ "maxLength": {
713
+ "type": "number",
714
+ "mutable": false,
715
+ "complexType": {
716
+ "original": "number",
717
+ "resolved": "number",
718
+ "references": {}
719
+ },
720
+ "required": false,
721
+ "optional": false,
722
+ "docs": {
723
+ "tags": [{
724
+ "name": "default",
725
+ "text": "null"
726
+ }],
727
+ "text": "When set, the helper will display a character counter."
728
+ },
729
+ "attribute": "max-length",
730
+ "reflect": false,
731
+ "defaultValue": "null"
732
+ },
733
+ "min": {
734
+ "type": "number",
735
+ "mutable": false,
736
+ "complexType": {
737
+ "original": "number",
738
+ "resolved": "number",
739
+ "references": {}
740
+ },
741
+ "required": false,
742
+ "optional": false,
743
+ "docs": {
744
+ "tags": [{
745
+ "name": "default",
746
+ "text": "null"
747
+ }],
748
+ "text": "The HTML min attribute specifies the minimum value for the input element.\r\nWorks with the following input types: number, range, date, datetime-local, month, time and week."
749
+ },
750
+ "attribute": "min",
751
+ "reflect": false,
752
+ "defaultValue": "null"
753
+ },
754
+ "name": {
755
+ "type": "string",
756
+ "mutable": false,
757
+ "complexType": {
758
+ "original": "string",
759
+ "resolved": "string",
760
+ "references": {}
761
+ },
762
+ "required": false,
763
+ "optional": false,
764
+ "docs": {
765
+ "tags": [{
766
+ "name": "default",
767
+ "text": "null"
768
+ }],
769
+ "text": "The HTML name attribute used for form autocomplete."
770
+ },
771
+ "attribute": "name",
772
+ "reflect": false,
773
+ "defaultValue": "null"
774
+ },
775
+ "outlined": {
776
+ "type": "boolean",
777
+ "mutable": false,
778
+ "complexType": {
779
+ "original": "boolean",
780
+ "resolved": "boolean",
781
+ "references": {}
782
+ },
783
+ "required": false,
784
+ "optional": false,
785
+ "docs": {
786
+ "tags": [{
787
+ "name": "default",
788
+ "text": "false"
789
+ }],
790
+ "text": "When set to true, the component will be rendered as an outlined field."
791
+ },
792
+ "attribute": "outlined",
793
+ "reflect": false,
794
+ "defaultValue": "false"
795
+ },
796
+ "readOnly": {
797
+ "type": "boolean",
798
+ "mutable": false,
799
+ "complexType": {
800
+ "original": "boolean",
801
+ "resolved": "boolean",
802
+ "references": {}
803
+ },
804
+ "required": false,
805
+ "optional": false,
806
+ "docs": {
807
+ "tags": [{
808
+ "name": "default",
809
+ "text": "false"
810
+ }],
811
+ "text": "Sets the component to read only state, making it not editable, but interactable. Used in combobox component when it behaves as a select."
812
+ },
813
+ "attribute": "read-only",
814
+ "reflect": false,
815
+ "defaultValue": "false"
816
+ },
817
+ "step": {
818
+ "type": "number",
819
+ "mutable": false,
820
+ "complexType": {
821
+ "original": "number",
822
+ "resolved": "number",
823
+ "references": {}
824
+ },
825
+ "required": false,
826
+ "optional": false,
827
+ "docs": {
828
+ "tags": [{
829
+ "name": "default",
830
+ "text": "null"
831
+ }],
832
+ "text": "The HTML step of the input element. It has effect only with number input type."
833
+ },
834
+ "attribute": "step",
835
+ "reflect": false,
836
+ "defaultValue": "null"
837
+ },
838
+ "textArea": {
839
+ "type": "boolean",
840
+ "mutable": false,
841
+ "complexType": {
842
+ "original": "boolean",
843
+ "resolved": "boolean",
844
+ "references": {}
845
+ },
846
+ "required": false,
847
+ "optional": false,
848
+ "docs": {
849
+ "tags": [{
850
+ "name": "default",
851
+ "text": "false"
852
+ }],
853
+ "text": "When set to true, the component will be rendered as a textarea."
854
+ },
855
+ "attribute": "text-area",
856
+ "reflect": false,
857
+ "defaultValue": "false"
858
+ },
859
+ "trailingIcon": {
860
+ "type": "boolean",
861
+ "mutable": false,
862
+ "complexType": {
863
+ "original": "boolean",
864
+ "resolved": "boolean",
865
+ "references": {}
866
+ },
867
+ "required": false,
868
+ "optional": false,
869
+ "docs": {
870
+ "tags": [{
871
+ "name": "default",
872
+ "text": "false"
873
+ }],
874
+ "text": "When set, the icon will be shown after the text."
875
+ },
876
+ "attribute": "trailing-icon",
877
+ "reflect": false,
878
+ "defaultValue": "false"
879
+ },
880
+ "trailingLabel": {
881
+ "type": "boolean",
882
+ "mutable": false,
883
+ "complexType": {
884
+ "original": "boolean",
885
+ "resolved": "boolean",
886
+ "references": {}
887
+ },
888
+ "required": false,
889
+ "optional": false,
890
+ "docs": {
891
+ "tags": [{
892
+ "name": "default",
893
+ "text": "false"
894
+ }],
895
+ "text": "When set to true, the label will be on the right of the component."
896
+ },
897
+ "attribute": "trailing-label",
898
+ "reflect": false,
899
+ "defaultValue": "false"
900
+ }
901
+ };
902
+ }
903
+ static get states() {
904
+ return {
905
+ "value": {}
906
+ };
907
+ }
908
+ static get events() {
909
+ return [{
910
+ "method": "kupBlur",
911
+ "name": "kup-textfield-blur",
912
+ "bubbles": true,
913
+ "cancelable": false,
914
+ "composed": true,
915
+ "docs": {
916
+ "tags": [],
917
+ "text": "Triggered when the input element loses focus."
918
+ },
919
+ "complexType": {
920
+ "original": "KupTextFieldEventPayload",
921
+ "resolved": "KupTextFieldEventPayload",
922
+ "references": {
923
+ "KupTextFieldEventPayload": {
924
+ "location": "import",
925
+ "path": "./kup-text-field-declarations"
926
+ }
920
927
  }
921
928
  }
922
- }
923
- }, {
924
- "method": "kupChange",
925
- "name": "kup-textfield-change",
926
- "bubbles": true,
927
- "cancelable": false,
928
- "composed": true,
929
- "docs": {
930
- "tags": [],
931
- "text": "Triggered when the input element changes."
932
- },
933
- "complexType": {
934
- "original": "KupTextFieldEventPayload",
935
- "resolved": "KupTextFieldEventPayload",
936
- "references": {
937
- "KupTextFieldEventPayload": {
938
- "location": "import",
939
- "path": "./kup-text-field-declarations"
929
+ }, {
930
+ "method": "kupChange",
931
+ "name": "kup-textfield-change",
932
+ "bubbles": true,
933
+ "cancelable": false,
934
+ "composed": true,
935
+ "docs": {
936
+ "tags": [],
937
+ "text": "Triggered when the input element changes."
938
+ },
939
+ "complexType": {
940
+ "original": "KupTextFieldEventPayload",
941
+ "resolved": "KupTextFieldEventPayload",
942
+ "references": {
943
+ "KupTextFieldEventPayload": {
944
+ "location": "import",
945
+ "path": "./kup-text-field-declarations"
946
+ }
940
947
  }
941
948
  }
942
- }
943
- }, {
944
- "method": "kupClick",
945
- "name": "kup-textfield-click",
946
- "bubbles": true,
947
- "cancelable": false,
948
- "composed": true,
949
- "docs": {
950
- "tags": [],
951
- "text": "Triggered when the input element is clicked."
952
- },
953
- "complexType": {
954
- "original": "KupTextFieldEventPayload",
955
- "resolved": "KupTextFieldEventPayload",
956
- "references": {
957
- "KupTextFieldEventPayload": {
958
- "location": "import",
959
- "path": "./kup-text-field-declarations"
949
+ }, {
950
+ "method": "kupClick",
951
+ "name": "kup-textfield-click",
952
+ "bubbles": true,
953
+ "cancelable": false,
954
+ "composed": true,
955
+ "docs": {
956
+ "tags": [],
957
+ "text": "Triggered when the input element is clicked."
958
+ },
959
+ "complexType": {
960
+ "original": "KupTextFieldEventPayload",
961
+ "resolved": "KupTextFieldEventPayload",
962
+ "references": {
963
+ "KupTextFieldEventPayload": {
964
+ "location": "import",
965
+ "path": "./kup-text-field-declarations"
966
+ }
960
967
  }
961
968
  }
962
- }
963
- }, {
964
- "method": "kupFocus",
965
- "name": "kup-textfield-focus",
966
- "bubbles": true,
967
- "cancelable": false,
968
- "composed": true,
969
- "docs": {
970
- "tags": [],
971
- "text": "Triggered when the input element gets focused."
972
- },
973
- "complexType": {
974
- "original": "KupTextFieldEventPayload",
975
- "resolved": "KupTextFieldEventPayload",
976
- "references": {
977
- "KupTextFieldEventPayload": {
978
- "location": "import",
979
- "path": "./kup-text-field-declarations"
969
+ }, {
970
+ "method": "kupFocus",
971
+ "name": "kup-textfield-focus",
972
+ "bubbles": true,
973
+ "cancelable": false,
974
+ "composed": true,
975
+ "docs": {
976
+ "tags": [],
977
+ "text": "Triggered when the input element gets focused."
978
+ },
979
+ "complexType": {
980
+ "original": "KupTextFieldEventPayload",
981
+ "resolved": "KupTextFieldEventPayload",
982
+ "references": {
983
+ "KupTextFieldEventPayload": {
984
+ "location": "import",
985
+ "path": "./kup-text-field-declarations"
986
+ }
980
987
  }
981
988
  }
982
- }
983
- }, {
984
- "method": "kupInput",
985
- "name": "kup-textfield-input",
986
- "bubbles": true,
987
- "cancelable": false,
988
- "composed": true,
989
- "docs": {
990
- "tags": [],
991
- "text": "Triggered when the input element receives an input."
992
- },
993
- "complexType": {
994
- "original": "KupTextFieldEventPayload",
995
- "resolved": "KupTextFieldEventPayload",
996
- "references": {
997
- "KupTextFieldEventPayload": {
998
- "location": "import",
999
- "path": "./kup-text-field-declarations"
989
+ }, {
990
+ "method": "kupInput",
991
+ "name": "kup-textfield-input",
992
+ "bubbles": true,
993
+ "cancelable": false,
994
+ "composed": true,
995
+ "docs": {
996
+ "tags": [],
997
+ "text": "Triggered when the input element receives an input."
998
+ },
999
+ "complexType": {
1000
+ "original": "KupTextFieldEventPayload",
1001
+ "resolved": "KupTextFieldEventPayload",
1002
+ "references": {
1003
+ "KupTextFieldEventPayload": {
1004
+ "location": "import",
1005
+ "path": "./kup-text-field-declarations"
1006
+ }
1000
1007
  }
1001
1008
  }
1002
- }
1003
- }, {
1004
- "method": "kupIconClick",
1005
- "name": "kup-textfield-iconclick",
1006
- "bubbles": true,
1007
- "cancelable": false,
1008
- "composed": true,
1009
- "docs": {
1010
- "tags": [],
1011
- "text": "Triggered when the text field's icon is clicked."
1012
- },
1013
- "complexType": {
1014
- "original": "KupTextFieldEventPayload",
1015
- "resolved": "KupTextFieldEventPayload",
1016
- "references": {
1017
- "KupTextFieldEventPayload": {
1018
- "location": "import",
1019
- "path": "./kup-text-field-declarations"
1009
+ }, {
1010
+ "method": "kupIconClick",
1011
+ "name": "kup-textfield-iconclick",
1012
+ "bubbles": true,
1013
+ "cancelable": false,
1014
+ "composed": true,
1015
+ "docs": {
1016
+ "tags": [],
1017
+ "text": "Triggered when the text field's icon is clicked."
1018
+ },
1019
+ "complexType": {
1020
+ "original": "KupTextFieldEventPayload",
1021
+ "resolved": "KupTextFieldEventPayload",
1022
+ "references": {
1023
+ "KupTextFieldEventPayload": {
1024
+ "location": "import",
1025
+ "path": "./kup-text-field-declarations"
1026
+ }
1020
1027
  }
1021
1028
  }
1022
- }
1023
- }, {
1024
- "method": "kupClearIconClick",
1025
- "name": "kup-textfield-cleariconclick",
1026
- "bubbles": true,
1027
- "cancelable": false,
1028
- "composed": true,
1029
- "docs": {
1030
- "tags": [],
1031
- "text": "Triggered when the text field's clear icon is clicked."
1032
- },
1033
- "complexType": {
1034
- "original": "KupEventPayload",
1035
- "resolved": "KupEventPayload",
1036
- "references": {
1037
- "KupEventPayload": {
1038
- "location": "import",
1039
- "path": "../../types/GenericTypes"
1029
+ }, {
1030
+ "method": "kupClearIconClick",
1031
+ "name": "kup-textfield-cleariconclick",
1032
+ "bubbles": true,
1033
+ "cancelable": false,
1034
+ "composed": true,
1035
+ "docs": {
1036
+ "tags": [],
1037
+ "text": "Triggered when the text field's clear icon is clicked."
1038
+ },
1039
+ "complexType": {
1040
+ "original": "KupEventPayload",
1041
+ "resolved": "KupEventPayload",
1042
+ "references": {
1043
+ "KupEventPayload": {
1044
+ "location": "import",
1045
+ "path": "../../types/GenericTypes"
1046
+ }
1040
1047
  }
1041
1048
  }
1042
- }
1043
- }, {
1044
- "method": "kupTextFieldSubmit",
1045
- "name": "kup-textfield-submit",
1046
- "bubbles": true,
1047
- "cancelable": false,
1048
- "composed": true,
1049
- "docs": {
1050
- "tags": [],
1051
- "text": "Triggered when the Enter key is pressed."
1052
- },
1053
- "complexType": {
1054
- "original": "KupTextFieldEventPayload",
1055
- "resolved": "KupTextFieldEventPayload",
1056
- "references": {
1057
- "KupTextFieldEventPayload": {
1058
- "location": "import",
1059
- "path": "./kup-text-field-declarations"
1049
+ }, {
1050
+ "method": "kupTextFieldSubmit",
1051
+ "name": "kup-textfield-submit",
1052
+ "bubbles": true,
1053
+ "cancelable": false,
1054
+ "composed": true,
1055
+ "docs": {
1056
+ "tags": [],
1057
+ "text": "Triggered when the Enter key is pressed."
1058
+ },
1059
+ "complexType": {
1060
+ "original": "KupTextFieldEventPayload",
1061
+ "resolved": "KupTextFieldEventPayload",
1062
+ "references": {
1063
+ "KupTextFieldEventPayload": {
1064
+ "location": "import",
1065
+ "path": "./kup-text-field-declarations"
1066
+ }
1060
1067
  }
1061
1068
  }
1062
- }
1063
- }]; }
1064
- static get methods() { return {
1065
- "getProps": {
1066
- "complexType": {
1067
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
1068
- "parameters": [{
1069
- "tags": [{
1070
- "name": "param",
1071
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
1072
- }],
1073
- "text": "- When provided and true, the result will be the list of props with their description."
1074
- }],
1075
- "references": {
1076
- "Promise": {
1077
- "location": "global"
1069
+ }];
1070
+ }
1071
+ static get methods() {
1072
+ return {
1073
+ "getProps": {
1074
+ "complexType": {
1075
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
1076
+ "parameters": [{
1077
+ "tags": [{
1078
+ "name": "param",
1079
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
1080
+ }],
1081
+ "text": "- When provided and true, the result will be the list of props with their description."
1082
+ }],
1083
+ "references": {
1084
+ "Promise": {
1085
+ "location": "global"
1086
+ },
1087
+ "GenericObject": {
1088
+ "location": "import",
1089
+ "path": "../../types/GenericTypes"
1090
+ }
1078
1091
  },
1079
- "GenericObject": {
1080
- "location": "import",
1081
- "path": "../../types/GenericTypes"
1082
- }
1092
+ "return": "Promise<GenericObject>"
1083
1093
  },
1084
- "return": "Promise<GenericObject>"
1094
+ "docs": {
1095
+ "text": "Used to retrieve component's props values.",
1096
+ "tags": [{
1097
+ "name": "param",
1098
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
1099
+ }, {
1100
+ "name": "returns",
1101
+ "text": "List of props as object, each key will be a prop."
1102
+ }]
1103
+ }
1085
1104
  },
1086
- "docs": {
1087
- "text": "Used to retrieve component's props values.",
1088
- "tags": [{
1089
- "name": "param",
1090
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
1091
- }, {
1092
- "name": "returns",
1093
- "text": "List of props as object, each key will be a prop."
1094
- }]
1095
- }
1096
- },
1097
- "getValue": {
1098
- "complexType": {
1099
- "signature": "() => Promise<string>",
1100
- "parameters": [],
1101
- "references": {
1102
- "Promise": {
1103
- "location": "global"
1104
- }
1105
+ "getValue": {
1106
+ "complexType": {
1107
+ "signature": "() => Promise<string>",
1108
+ "parameters": [],
1109
+ "references": {
1110
+ "Promise": {
1111
+ "location": "global"
1112
+ }
1113
+ },
1114
+ "return": "Promise<string>"
1105
1115
  },
1106
- "return": "Promise<string>"
1116
+ "docs": {
1117
+ "text": "Returns the component's internal value.",
1118
+ "tags": []
1119
+ }
1107
1120
  },
1108
- "docs": {
1109
- "text": "Returns the component's internal value.",
1110
- "tags": []
1111
- }
1112
- },
1113
- "refresh": {
1114
- "complexType": {
1115
- "signature": "() => Promise<void>",
1116
- "parameters": [],
1117
- "references": {
1118
- "Promise": {
1119
- "location": "global"
1120
- }
1121
+ "refresh": {
1122
+ "complexType": {
1123
+ "signature": "() => Promise<void>",
1124
+ "parameters": [],
1125
+ "references": {
1126
+ "Promise": {
1127
+ "location": "global"
1128
+ }
1129
+ },
1130
+ "return": "Promise<void>"
1121
1131
  },
1122
- "return": "Promise<void>"
1132
+ "docs": {
1133
+ "text": "This method is used to trigger a new render of the component.",
1134
+ "tags": []
1135
+ }
1123
1136
  },
1124
- "docs": {
1125
- "text": "This method is used to trigger a new render of the component.",
1126
- "tags": []
1127
- }
1128
- },
1129
- "setFocus": {
1130
- "complexType": {
1131
- "signature": "() => Promise<void>",
1132
- "parameters": [],
1133
- "references": {
1134
- "Promise": {
1135
- "location": "global"
1136
- }
1137
+ "setFocus": {
1138
+ "complexType": {
1139
+ "signature": "() => Promise<void>",
1140
+ "parameters": [],
1141
+ "references": {
1142
+ "Promise": {
1143
+ "location": "global"
1144
+ }
1145
+ },
1146
+ "return": "Promise<void>"
1137
1147
  },
1138
- "return": "Promise<void>"
1148
+ "docs": {
1149
+ "text": "Focuses the input element.",
1150
+ "tags": []
1151
+ }
1139
1152
  },
1140
- "docs": {
1141
- "text": "Focuses the input element.",
1142
- "tags": []
1143
- }
1144
- },
1145
- "setProps": {
1146
- "complexType": {
1147
- "signature": "(props: GenericObject) => Promise<void>",
1148
- "parameters": [{
1149
- "tags": [{
1150
- "name": "param",
1151
- "text": "props - Object containing props that will be set to the component."
1152
- }],
1153
- "text": "- Object containing props that will be set to the component."
1154
- }],
1155
- "references": {
1156
- "Promise": {
1157
- "location": "global"
1153
+ "setProps": {
1154
+ "complexType": {
1155
+ "signature": "(props: GenericObject) => Promise<void>",
1156
+ "parameters": [{
1157
+ "tags": [{
1158
+ "name": "param",
1159
+ "text": "props - Object containing props that will be set to the component."
1160
+ }],
1161
+ "text": "- Object containing props that will be set to the component."
1162
+ }],
1163
+ "references": {
1164
+ "Promise": {
1165
+ "location": "global"
1166
+ },
1167
+ "GenericObject": {
1168
+ "location": "import",
1169
+ "path": "../../types/GenericTypes"
1170
+ }
1158
1171
  },
1159
- "GenericObject": {
1160
- "location": "import",
1161
- "path": "../../types/GenericTypes"
1162
- }
1172
+ "return": "Promise<void>"
1163
1173
  },
1164
- "return": "Promise<void>"
1174
+ "docs": {
1175
+ "text": "Sets the props to the component.",
1176
+ "tags": [{
1177
+ "name": "param",
1178
+ "text": "props - Object containing props that will be set to the component."
1179
+ }]
1180
+ }
1165
1181
  },
1166
- "docs": {
1167
- "text": "Sets the props to the component.",
1168
- "tags": [{
1169
- "name": "param",
1170
- "text": "props - Object containing props that will be set to the component."
1171
- }]
1172
- }
1173
- },
1174
- "setValue": {
1175
- "complexType": {
1176
- "signature": "(value: string) => Promise<void>",
1177
- "parameters": [{
1178
- "tags": [],
1179
- "text": ""
1180
- }],
1181
- "references": {
1182
- "Promise": {
1183
- "location": "global"
1184
- }
1182
+ "setValue": {
1183
+ "complexType": {
1184
+ "signature": "(value: string) => Promise<void>",
1185
+ "parameters": [{
1186
+ "tags": [],
1187
+ "text": ""
1188
+ }],
1189
+ "references": {
1190
+ "Promise": {
1191
+ "location": "global"
1192
+ }
1193
+ },
1194
+ "return": "Promise<void>"
1185
1195
  },
1186
- "return": "Promise<void>"
1187
- },
1188
- "docs": {
1189
- "text": "Sets the internal value of the component.",
1190
- "tags": []
1196
+ "docs": {
1197
+ "text": "Sets the internal value of the component.",
1198
+ "tags": []
1199
+ }
1191
1200
  }
1192
- }
1193
- }; }
1201
+ };
1202
+ }
1194
1203
  static get elementRef() { return "rootElement"; }
1195
1204
  }