@sme.up/ketchup 6.5.0 → 6.7.0

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