@sme.up/ketchup 6.6.0 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-a531feb2.js → f-button-229c63fd.js} +2 -2
  3. package/dist/cjs/{f-cell-75cb7933.js → f-cell-dd006395.js} +22 -22
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-9508a2e4.js → f-chip-f2c369fd.js} +3 -3
  6. package/dist/cjs/{f-image-c21cc616.js → f-image-847a6ddf.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-cedc4b3e.js} +3 -3
  8. package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-fe85187d.js} +2 -2
  9. package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +7 -30
  12. package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3925 -4288
  13. package/dist/cjs/kup-box.cjs.entry.js +33 -113
  14. package/dist/cjs/kup-calendar.cjs.entry.js +10 -34
  15. package/dist/cjs/kup-cell.cjs.entry.js +10 -29
  16. package/dist/cjs/kup-dash-list.cjs.entry.js +10 -9
  17. package/dist/cjs/kup-dash_2.cjs.entry.js +7 -35
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +10 -32
  19. package/dist/cjs/kup-drawer.cjs.entry.js +4 -19
  20. package/dist/cjs/kup-echart.cjs.entry.js +16 -77
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +12 -48
  22. package/dist/cjs/kup-iframe.cjs.entry.js +5 -17
  23. package/dist/cjs/kup-image-list.cjs.entry.js +16 -34
  24. package/dist/cjs/kup-lazy.cjs.entry.js +10 -37
  25. package/dist/cjs/kup-magic-box.cjs.entry.js +6 -25
  26. package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-c53468cd.js} +82 -7
  27. package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -16
  28. package/dist/cjs/kup-numeric-picker.cjs.entry.js +14 -57
  29. package/dist/cjs/kup-photo-frame.cjs.entry.js +9 -31
  30. package/dist/cjs/kup-probe.cjs.entry.js +13 -33
  31. package/dist/cjs/kup-qlik.cjs.entry.js +6 -60
  32. package/dist/cjs/kup-snackbar.cjs.entry.js +7 -38
  33. package/dist/cjs/loader.cjs.js +3 -3
  34. package/dist/collection/assets/box.js +9 -6
  35. package/dist/collection/collection-manifest.json +3 -3
  36. package/dist/collection/components/kup-accordion/kup-accordion.js +243 -261
  37. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +560 -594
  38. package/dist/collection/components/kup-badge/kup-badge.js +179 -189
  39. package/dist/collection/components/kup-box/kup-box.js +911 -1010
  40. package/dist/collection/components/kup-button/kup-button.js +382 -428
  41. package/dist/collection/components/kup-button-list/kup-button-list.js +254 -278
  42. package/dist/collection/components/kup-calendar/kup-calendar.js +306 -329
  43. package/dist/collection/components/kup-card/box/kup-card-box.js +10 -24
  44. package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -2
  45. package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
  46. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
  47. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  48. package/dist/collection/components/kup-card/built-in/kup-card-form.js +11 -0
  49. package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
  50. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  51. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  52. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  53. package/dist/collection/components/kup-card/kup-card.css +118 -12
  54. package/dist/collection/components/kup-card/kup-card.js +394 -385
  55. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  56. package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
  57. package/dist/collection/components/kup-cell/kup-cell.js +224 -238
  58. package/dist/collection/components/kup-chart/kup-chart.js +562 -586
  59. package/dist/collection/components/kup-checkbox/kup-checkbox.js +278 -304
  60. package/dist/collection/components/kup-chip/kup-chip.js +243 -250
  61. package/dist/collection/components/kup-color-picker/kup-color-picker.js +278 -299
  62. package/dist/collection/components/kup-combobox/kup-combobox.js +467 -482
  63. package/dist/collection/components/kup-dash/kup-dash.js +112 -172
  64. package/dist/collection/components/kup-dash-list/kup-dash-list.js +218 -220
  65. package/dist/collection/components/kup-dashboard/kup-dashboard.js +200 -229
  66. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
  67. package/dist/collection/components/kup-data-table/kup-data-table.css +9 -0
  68. package/dist/collection/components/kup-data-table/kup-data-table.js +4700 -4452
  69. package/dist/collection/components/kup-date-picker/kup-date-picker.js +415 -429
  70. package/dist/collection/components/kup-drawer/kup-drawer.js +246 -253
  71. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +486 -527
  72. package/dist/collection/components/kup-echart/kup-echart.js +450 -498
  73. package/dist/collection/components/kup-family-tree/kup-family-tree.js +416 -465
  74. package/dist/collection/components/kup-form/kup-form.js +226 -248
  75. package/dist/collection/components/kup-gauge/kup-gauge.js +460 -521
  76. package/dist/collection/components/kup-grid/kup-grid.js +159 -172
  77. package/dist/collection/components/kup-iframe/kup-iframe.js +184 -188
  78. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  79. package/dist/collection/components/kup-image/kup-image.js +305 -340
  80. package/dist/collection/components/kup-image-list/kup-image-list.js +300 -311
  81. package/dist/collection/components/kup-lazy/kup-lazy.js +261 -288
  82. package/dist/collection/components/kup-list/kup-list.js +546 -572
  83. package/dist/collection/components/kup-magic-box/kup-magic-box.js +148 -167
  84. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +192 -198
  85. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +501 -532
  86. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +261 -271
  87. package/dist/collection/components/kup-probe/kup-probe.js +98 -114
  88. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +240 -276
  89. package/dist/collection/components/kup-qlik/kup-qlik.js +182 -228
  90. package/dist/collection/components/kup-radio/kup-radio.js +261 -289
  91. package/dist/collection/components/kup-rating/kup-rating.js +212 -224
  92. package/dist/collection/components/kup-snackbar/kup-snackbar.js +252 -280
  93. package/dist/collection/components/kup-spinner/kup-spinner.js +277 -308
  94. package/dist/collection/components/kup-switch/kup-switch.js +258 -280
  95. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +268 -247
  96. package/dist/collection/components/kup-text-field/kup-text-field.js +816 -920
  97. package/dist/collection/components/kup-time-picker/kup-time-picker.js +472 -493
  98. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  99. package/dist/collection/components/kup-tree/kup-tree.js +1107 -1205
  100. package/dist/collection/f-components/f-button/f-button.js +11 -20
  101. package/dist/collection/f-components/f-cell/f-cell.js +20 -22
  102. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  103. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  104. package/dist/collection/f-components/f-image/f-image.js +1 -3
  105. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  106. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  107. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  108. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  109. package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
  110. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  111. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  112. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  113. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  114. package/dist/esm/{f-button-15719ec1.js → f-button-d1aba968.js} +2 -2
  115. package/dist/esm/{f-cell-692c37bf.js → f-cell-646406bb.js} +22 -22
  116. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  117. package/dist/esm/{f-chip-abab04bf.js → f-chip-d94e9e81.js} +3 -3
  118. package/dist/esm/{f-image-98783644.js → f-image-57c88302.js} +2 -2
  119. package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-2c865e9a.js} +3 -3
  120. package/dist/esm/{f-text-field-282025dd.js → f-text-field-b0a1fea6.js} +2 -2
  121. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  122. package/dist/esm/ketchup.js +3 -3
  123. package/dist/esm/kup-accordion.entry.js +7 -30
  124. package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3925 -4289
  125. package/dist/esm/kup-box.entry.js +33 -113
  126. package/dist/esm/kup-calendar.entry.js +10 -34
  127. package/dist/esm/kup-cell.entry.js +10 -29
  128. package/dist/esm/kup-dash-list.entry.js +10 -9
  129. package/dist/esm/kup-dash_2.entry.js +7 -35
  130. package/dist/esm/kup-dashboard.entry.js +10 -32
  131. package/dist/esm/kup-drawer.entry.js +4 -19
  132. package/dist/esm/kup-echart.entry.js +16 -77
  133. package/dist/esm/kup-family-tree.entry.js +12 -48
  134. package/dist/esm/kup-iframe.entry.js +5 -17
  135. package/dist/esm/kup-image-list.entry.js +16 -34
  136. package/dist/esm/kup-lazy.entry.js +10 -37
  137. package/dist/esm/kup-magic-box.entry.js +6 -25
  138. package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c0fbb180.js} +83 -8
  139. package/dist/esm/kup-nav-bar.entry.js +4 -16
  140. package/dist/esm/kup-numeric-picker.entry.js +14 -57
  141. package/dist/esm/kup-photo-frame.entry.js +9 -31
  142. package/dist/esm/kup-probe.entry.js +13 -33
  143. package/dist/esm/kup-qlik.entry.js +6 -60
  144. package/dist/esm/kup-snackbar.entry.js +7 -38
  145. package/dist/esm/loader.js +3 -3
  146. package/dist/esm/polyfills/css-shim.js +1 -1
  147. package/dist/ketchup/ketchup.esm.js +1 -1
  148. package/dist/ketchup/{p-eeadd688.entry.js → p-1914969e.entry.js} +1 -1
  149. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  150. package/dist/ketchup/{p-a4a30e0e.entry.js → p-250118e3.entry.js} +1 -1
  151. package/dist/ketchup/{p-ccef2553.entry.js → p-30766296.entry.js} +1 -1
  152. package/dist/ketchup/{p-5933aa02.entry.js → p-351cecba.entry.js} +1 -1
  153. package/dist/ketchup/p-35e16ea2.entry.js +1 -0
  154. package/dist/ketchup/{p-e6ebdb80.js → p-395675b8.js} +1 -1
  155. package/dist/ketchup/p-3cf97e3a.js +1 -0
  156. package/dist/ketchup/p-4fdb684f.js +2 -0
  157. package/dist/ketchup/{p-9419919c.entry.js → p-596bdc10.entry.js} +1 -1
  158. package/dist/ketchup/{p-6f3040fb.js → p-61ff1761.js} +1 -1
  159. package/dist/ketchup/p-72d4fa26.entry.js +1 -0
  160. package/dist/ketchup/{p-fd930a34.entry.js → p-738685f9.entry.js} +1 -1
  161. package/dist/ketchup/{p-f6409c42.entry.js → p-7c8c5444.entry.js} +1 -1
  162. package/dist/ketchup/p-86154e2b.js +1 -0
  163. package/dist/ketchup/{p-7e16265d.entry.js → p-9214ef33.entry.js} +1 -1
  164. package/dist/ketchup/{p-62f3ec78.entry.js → p-980ed953.entry.js} +1 -1
  165. package/dist/ketchup/p-991bd70d.entry.js +1 -0
  166. package/dist/ketchup/{p-7d37ea62.entry.js → p-a1fe329f.entry.js} +1 -1
  167. package/dist/ketchup/p-a740352c.js +30 -0
  168. package/dist/ketchup/{p-62421bcf.js → p-a992cf87.js} +1 -1
  169. package/dist/ketchup/{p-3760a159.entry.js → p-b1da1ba7.entry.js} +2 -2
  170. package/dist/ketchup/{p-5ea2a1ff.entry.js → p-cee3635a.entry.js} +1 -1
  171. package/dist/ketchup/p-d05ed931.entry.js +9 -0
  172. package/dist/ketchup/{p-a450d60a.entry.js → p-d422151a.entry.js} +2 -2
  173. package/dist/ketchup/p-e6f19333.entry.js +1 -0
  174. package/dist/ketchup/{p-1ef5d16d.entry.js → p-eb10958a.entry.js} +1 -1
  175. package/dist/ketchup/{p-20221a50.js → p-ecac6269.js} +1 -1
  176. package/dist/ketchup/p-f43b445e.entry.js +1 -0
  177. package/dist/ketchup/{p-725c6268.entry.js → p-fa37e92e.entry.js} +1 -1
  178. package/dist/loader/package.json +1 -0
  179. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  180. package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -2
  181. package/dist/types/components/kup-card/built-in/kup-card-form.d.ts +3 -0
  182. package/dist/types/components/kup-card/kup-card-declarations.d.ts +11 -1
  183. package/dist/types/components/kup-card/kup-card.d.ts +5 -0
  184. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  185. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +9 -0
  186. package/dist/types/components/kup-data-table/kup-data-table.d.ts +54 -201
  187. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  188. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  189. package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
  190. package/dist/types/components.d.ts +78 -2
  191. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
  192. package/dist/types/managers/kup-language/kup-language-declarations.d.ts +7 -1
  193. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  194. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  195. package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +1 -0
  196. package/dist/types/stencil-public-runtime.d.ts +20 -4
  197. package/package.json +2 -2
  198. package/CHANGELOG.md +0 -5
  199. package/dist/cjs/kup-form.cjs.entry.js +0 -486
  200. package/dist/esm/kup-form.entry.js +0 -482
  201. package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
  202. package/dist/ketchup/p-27538d6f.entry.js +0 -1
  203. package/dist/ketchup/p-29d72040.entry.js +0 -1
  204. package/dist/ketchup/p-3e74e1ed.js +0 -1
  205. package/dist/ketchup/p-680a8cb4.entry.js +0 -9
  206. package/dist/ketchup/p-6946b614.entry.js +0 -1
  207. package/dist/ketchup/p-b0b3989b.js +0 -2
  208. package/dist/ketchup/p-c05f2638.js +0 -30
  209. package/dist/ketchup/p-d7a92197.entry.js +0 -1
  210. package/dist/ketchup/p-d8af7ba6.entry.js +0 -1
  211. package/dist/ketchup/p-e07a10fb.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Element, Event, forceUpdate, h, Host, Listen, Method, Prop, State, Watch, } from '@stencil/core';
1
+ import { forceUpdate, h, Host, } from '@stencil/core';
2
2
  import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { KupDatePickerProps, } from './kup-date-picker-declarations';
4
4
  import { KupDebugCategory } from '../../managers/kup-debug/kup-debug-declarations';
@@ -10,41 +10,6 @@ import { KupDynamicPositionPlacement } from '../../managers/kup-dynamic-position
10
10
  import { KupCardFamily, } from '../kup-card/kup-card-declarations';
11
11
  export class KupDatePicker {
12
12
  constructor() {
13
- /*-------------------------------------------------*/
14
- /* S t a t e s */
15
- /*-------------------------------------------------*/
16
- this.stateSwitcher = false;
17
- this.value = '';
18
- /*-------------------------------------------------*/
19
- /* P r o p s */
20
- /*-------------------------------------------------*/
21
- /**
22
- * Custom style of the component.
23
- * @default ""
24
- * @see https://ketchup.smeup.com/ketchup-showcase/#/customization
25
- */
26
- this.customStyle = '';
27
- /**
28
- * Props of the sub-components.
29
- * @default null
30
- */
31
- this.data = null;
32
- /**
33
- * Defaults at false. When set to true, the component is disabled.
34
- * @default false
35
- */
36
- this.disabled = false;
37
- /**
38
- * First day number (0 - sunday, 1 - monday, ...)
39
- * TODO: manage with kupDates.locale, remove prop
40
- * @default 1
41
- */
42
- this.firstDayIndex = 1;
43
- /**
44
- * Sets the initial value of the component
45
- * @default ""
46
- */
47
- this.initialValue = '';
48
13
  /*-------------------------------------------------*/
49
14
  /* I n t e r n a l V a r i a b l e s */
50
15
  /*-------------------------------------------------*/
@@ -59,6 +24,13 @@ export class KupDatePicker {
59
24
  date: new Date(),
60
25
  };
61
26
  this.clickCb = null;
27
+ this.stateSwitcher = false;
28
+ this.value = '';
29
+ this.customStyle = '';
30
+ this.data = null;
31
+ this.disabled = false;
32
+ this.firstDayIndex = 1;
33
+ this.initialValue = '';
62
34
  }
63
35
  onKupDatePickerItemClick(value) {
64
36
  this.setPickerValueSelected(value);
@@ -389,9 +361,7 @@ export class KupDatePicker {
389
361
  this.kupManager.debug.logRender(this, true);
390
362
  }
391
363
  render() {
392
- return (h(Host, null,
393
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
394
- h("div", { id: componentWrapperId }, this.prepTextfield(this.getDateForOutput()))));
364
+ return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, this.prepTextfield(this.getDateForOutput()))));
395
365
  }
396
366
  disconnectedCallback() {
397
367
  this.kupManager.dates.unregister(this);
@@ -402,429 +372,445 @@ export class KupDatePicker {
402
372
  }
403
373
  static get is() { return "kup-date-picker"; }
404
374
  static get encapsulation() { return "shadow"; }
405
- static get originalStyleUrls() { return {
406
- "$": ["kup-date-picker.scss"]
407
- }; }
408
- static get styleUrls() { return {
409
- "$": ["kup-date-picker.css"]
410
- }; }
411
- static get properties() { return {
412
- "customStyle": {
413
- "type": "string",
414
- "mutable": false,
415
- "complexType": {
416
- "original": "string",
417
- "resolved": "string",
418
- "references": {}
419
- },
420
- "required": false,
421
- "optional": false,
422
- "docs": {
423
- "tags": [{
424
- "name": "default",
425
- "text": "\"\""
426
- }, {
427
- "name": "see",
428
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
429
- }],
430
- "text": "Custom style of the component."
375
+ static get originalStyleUrls() {
376
+ return {
377
+ "$": ["kup-date-picker.scss"]
378
+ };
379
+ }
380
+ static get styleUrls() {
381
+ return {
382
+ "$": ["kup-date-picker.css"]
383
+ };
384
+ }
385
+ static get properties() {
386
+ return {
387
+ "customStyle": {
388
+ "type": "string",
389
+ "mutable": false,
390
+ "complexType": {
391
+ "original": "string",
392
+ "resolved": "string",
393
+ "references": {}
394
+ },
395
+ "required": false,
396
+ "optional": false,
397
+ "docs": {
398
+ "tags": [{
399
+ "name": "default",
400
+ "text": "\"\""
401
+ }, {
402
+ "name": "see",
403
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
404
+ }],
405
+ "text": "Custom style of the component."
406
+ },
407
+ "attribute": "custom-style",
408
+ "reflect": false,
409
+ "defaultValue": "''"
431
410
  },
432
- "attribute": "custom-style",
433
- "reflect": false,
434
- "defaultValue": "''"
435
- },
436
- "data": {
437
- "type": "unknown",
438
- "mutable": true,
439
- "complexType": {
440
- "original": "Object",
441
- "resolved": "Object",
442
- "references": {
443
- "Object": {
444
- "location": "global"
411
+ "data": {
412
+ "type": "unknown",
413
+ "mutable": true,
414
+ "complexType": {
415
+ "original": "Object",
416
+ "resolved": "Object",
417
+ "references": {
418
+ "Object": {
419
+ "location": "global"
420
+ }
445
421
  }
446
- }
447
- },
448
- "required": false,
449
- "optional": false,
450
- "docs": {
451
- "tags": [{
452
- "name": "default",
453
- "text": "null"
454
- }],
455
- "text": "Props of the sub-components."
456
- },
457
- "defaultValue": "null"
458
- },
459
- "disabled": {
460
- "type": "boolean",
461
- "mutable": false,
462
- "complexType": {
463
- "original": "boolean",
464
- "resolved": "boolean",
465
- "references": {}
466
- },
467
- "required": false,
468
- "optional": false,
469
- "docs": {
470
- "tags": [{
471
- "name": "default",
472
- "text": "false"
473
- }],
474
- "text": "Defaults at false. When set to true, the component is disabled."
475
- },
476
- "attribute": "disabled",
477
- "reflect": false,
478
- "defaultValue": "false"
479
- },
480
- "firstDayIndex": {
481
- "type": "number",
482
- "mutable": false,
483
- "complexType": {
484
- "original": "number",
485
- "resolved": "number",
486
- "references": {}
487
- },
488
- "required": false,
489
- "optional": false,
490
- "docs": {
491
- "tags": [{
492
- "name": "default",
493
- "text": "1"
494
- }],
495
- "text": "First day number (0 - sunday, 1 - monday, ...)\r\nTODO: manage with kupDates.locale, remove prop"
496
- },
497
- "attribute": "first-day-index",
498
- "reflect": false,
499
- "defaultValue": "1"
500
- },
501
- "initialValue": {
502
- "type": "string",
503
- "mutable": false,
504
- "complexType": {
505
- "original": "string",
506
- "resolved": "string",
507
- "references": {}
422
+ },
423
+ "required": false,
424
+ "optional": false,
425
+ "docs": {
426
+ "tags": [{
427
+ "name": "default",
428
+ "text": "null"
429
+ }],
430
+ "text": "Props of the sub-components."
431
+ },
432
+ "defaultValue": "null"
508
433
  },
509
- "required": false,
510
- "optional": false,
511
- "docs": {
512
- "tags": [{
513
- "name": "default",
514
- "text": "\"\""
515
- }],
516
- "text": "Sets the initial value of the component"
434
+ "disabled": {
435
+ "type": "boolean",
436
+ "mutable": false,
437
+ "complexType": {
438
+ "original": "boolean",
439
+ "resolved": "boolean",
440
+ "references": {}
441
+ },
442
+ "required": false,
443
+ "optional": false,
444
+ "docs": {
445
+ "tags": [{
446
+ "name": "default",
447
+ "text": "false"
448
+ }],
449
+ "text": "Defaults at false. When set to true, the component is disabled."
450
+ },
451
+ "attribute": "disabled",
452
+ "reflect": false,
453
+ "defaultValue": "false"
517
454
  },
518
- "attribute": "initial-value",
519
- "reflect": false,
520
- "defaultValue": "''"
521
- }
522
- }; }
523
- static get states() { return {
524
- "stateSwitcher": {},
525
- "value": {}
526
- }; }
527
- static get events() { return [{
528
- "method": "kupBlur",
529
- "name": "kup-datepicker-blur",
530
- "bubbles": true,
531
- "cancelable": false,
532
- "composed": true,
533
- "docs": {
534
- "tags": [],
535
- "text": ""
455
+ "firstDayIndex": {
456
+ "type": "number",
457
+ "mutable": false,
458
+ "complexType": {
459
+ "original": "number",
460
+ "resolved": "number",
461
+ "references": {}
462
+ },
463
+ "required": false,
464
+ "optional": false,
465
+ "docs": {
466
+ "tags": [{
467
+ "name": "default",
468
+ "text": "1"
469
+ }],
470
+ "text": "First day number (0 - sunday, 1 - monday, ...)\r\nTODO: manage with kupDates.locale, remove prop"
471
+ },
472
+ "attribute": "first-day-index",
473
+ "reflect": false,
474
+ "defaultValue": "1"
536
475
  },
537
- "complexType": {
538
- "original": "KupDatePickerEventPayload",
539
- "resolved": "KupDatePickerEventPayload",
540
- "references": {
541
- "KupDatePickerEventPayload": {
542
- "location": "import",
543
- "path": "./kup-date-picker-declarations"
544
- }
545
- }
476
+ "initialValue": {
477
+ "type": "string",
478
+ "mutable": false,
479
+ "complexType": {
480
+ "original": "string",
481
+ "resolved": "string",
482
+ "references": {}
483
+ },
484
+ "required": false,
485
+ "optional": false,
486
+ "docs": {
487
+ "tags": [{
488
+ "name": "default",
489
+ "text": "\"\""
490
+ }],
491
+ "text": "Sets the initial value of the component"
492
+ },
493
+ "attribute": "initial-value",
494
+ "reflect": false,
495
+ "defaultValue": "''"
546
496
  }
547
- }, {
548
- "method": "kupChange",
549
- "name": "kup-datepicker-change",
550
- "bubbles": true,
551
- "cancelable": false,
552
- "composed": true,
553
- "docs": {
554
- "tags": [],
555
- "text": ""
556
- },
557
- "complexType": {
558
- "original": "KupDatePickerEventPayload",
559
- "resolved": "KupDatePickerEventPayload",
560
- "references": {
561
- "KupDatePickerEventPayload": {
562
- "location": "import",
563
- "path": "./kup-date-picker-declarations"
497
+ };
498
+ }
499
+ static get states() {
500
+ return {
501
+ "stateSwitcher": {},
502
+ "value": {}
503
+ };
504
+ }
505
+ static get events() {
506
+ return [{
507
+ "method": "kupBlur",
508
+ "name": "kup-datepicker-blur",
509
+ "bubbles": true,
510
+ "cancelable": false,
511
+ "composed": true,
512
+ "docs": {
513
+ "tags": [],
514
+ "text": ""
515
+ },
516
+ "complexType": {
517
+ "original": "KupDatePickerEventPayload",
518
+ "resolved": "KupDatePickerEventPayload",
519
+ "references": {
520
+ "KupDatePickerEventPayload": {
521
+ "location": "import",
522
+ "path": "./kup-date-picker-declarations"
523
+ }
564
524
  }
565
525
  }
566
- }
567
- }, {
568
- "method": "kupClick",
569
- "name": "kup-datepicker-click",
570
- "bubbles": true,
571
- "cancelable": false,
572
- "composed": true,
573
- "docs": {
574
- "tags": [],
575
- "text": ""
576
- },
577
- "complexType": {
578
- "original": "KupDatePickerEventPayload",
579
- "resolved": "KupDatePickerEventPayload",
580
- "references": {
581
- "KupDatePickerEventPayload": {
582
- "location": "import",
583
- "path": "./kup-date-picker-declarations"
526
+ }, {
527
+ "method": "kupChange",
528
+ "name": "kup-datepicker-change",
529
+ "bubbles": true,
530
+ "cancelable": false,
531
+ "composed": true,
532
+ "docs": {
533
+ "tags": [],
534
+ "text": ""
535
+ },
536
+ "complexType": {
537
+ "original": "KupDatePickerEventPayload",
538
+ "resolved": "KupDatePickerEventPayload",
539
+ "references": {
540
+ "KupDatePickerEventPayload": {
541
+ "location": "import",
542
+ "path": "./kup-date-picker-declarations"
543
+ }
584
544
  }
585
545
  }
586
- }
587
- }, {
588
- "method": "kupFocus",
589
- "name": "kup-datepicker-focus",
590
- "bubbles": true,
591
- "cancelable": false,
592
- "composed": true,
593
- "docs": {
594
- "tags": [],
595
- "text": ""
596
- },
597
- "complexType": {
598
- "original": "KupDatePickerEventPayload",
599
- "resolved": "KupDatePickerEventPayload",
600
- "references": {
601
- "KupDatePickerEventPayload": {
602
- "location": "import",
603
- "path": "./kup-date-picker-declarations"
546
+ }, {
547
+ "method": "kupClick",
548
+ "name": "kup-datepicker-click",
549
+ "bubbles": true,
550
+ "cancelable": false,
551
+ "composed": true,
552
+ "docs": {
553
+ "tags": [],
554
+ "text": ""
555
+ },
556
+ "complexType": {
557
+ "original": "KupDatePickerEventPayload",
558
+ "resolved": "KupDatePickerEventPayload",
559
+ "references": {
560
+ "KupDatePickerEventPayload": {
561
+ "location": "import",
562
+ "path": "./kup-date-picker-declarations"
563
+ }
604
564
  }
605
565
  }
606
- }
607
- }, {
608
- "method": "kupInput",
609
- "name": "kup-datepicker-input",
610
- "bubbles": true,
611
- "cancelable": false,
612
- "composed": true,
613
- "docs": {
614
- "tags": [],
615
- "text": ""
616
- },
617
- "complexType": {
618
- "original": "KupDatePickerEventPayload",
619
- "resolved": "KupDatePickerEventPayload",
620
- "references": {
621
- "KupDatePickerEventPayload": {
622
- "location": "import",
623
- "path": "./kup-date-picker-declarations"
566
+ }, {
567
+ "method": "kupFocus",
568
+ "name": "kup-datepicker-focus",
569
+ "bubbles": true,
570
+ "cancelable": false,
571
+ "composed": true,
572
+ "docs": {
573
+ "tags": [],
574
+ "text": ""
575
+ },
576
+ "complexType": {
577
+ "original": "KupDatePickerEventPayload",
578
+ "resolved": "KupDatePickerEventPayload",
579
+ "references": {
580
+ "KupDatePickerEventPayload": {
581
+ "location": "import",
582
+ "path": "./kup-date-picker-declarations"
583
+ }
624
584
  }
625
585
  }
626
- }
627
- }, {
628
- "method": "kupIconClick",
629
- "name": "kup-datepicker-iconclick",
630
- "bubbles": true,
631
- "cancelable": false,
632
- "composed": true,
633
- "docs": {
634
- "tags": [],
635
- "text": ""
636
- },
637
- "complexType": {
638
- "original": "KupDatePickerEventPayload",
639
- "resolved": "KupDatePickerEventPayload",
640
- "references": {
641
- "KupDatePickerEventPayload": {
642
- "location": "import",
643
- "path": "./kup-date-picker-declarations"
586
+ }, {
587
+ "method": "kupInput",
588
+ "name": "kup-datepicker-input",
589
+ "bubbles": true,
590
+ "cancelable": false,
591
+ "composed": true,
592
+ "docs": {
593
+ "tags": [],
594
+ "text": ""
595
+ },
596
+ "complexType": {
597
+ "original": "KupDatePickerEventPayload",
598
+ "resolved": "KupDatePickerEventPayload",
599
+ "references": {
600
+ "KupDatePickerEventPayload": {
601
+ "location": "import",
602
+ "path": "./kup-date-picker-declarations"
603
+ }
644
604
  }
645
605
  }
646
- }
647
- }, {
648
- "method": "kupItemClick",
649
- "name": "kup-datepicker-itemclick",
650
- "bubbles": true,
651
- "cancelable": false,
652
- "composed": true,
653
- "docs": {
654
- "tags": [],
655
- "text": ""
656
- },
657
- "complexType": {
658
- "original": "KupDatePickerEventPayload",
659
- "resolved": "KupDatePickerEventPayload",
660
- "references": {
661
- "KupDatePickerEventPayload": {
662
- "location": "import",
663
- "path": "./kup-date-picker-declarations"
606
+ }, {
607
+ "method": "kupIconClick",
608
+ "name": "kup-datepicker-iconclick",
609
+ "bubbles": true,
610
+ "cancelable": false,
611
+ "composed": true,
612
+ "docs": {
613
+ "tags": [],
614
+ "text": ""
615
+ },
616
+ "complexType": {
617
+ "original": "KupDatePickerEventPayload",
618
+ "resolved": "KupDatePickerEventPayload",
619
+ "references": {
620
+ "KupDatePickerEventPayload": {
621
+ "location": "import",
622
+ "path": "./kup-date-picker-declarations"
623
+ }
664
624
  }
665
625
  }
666
- }
667
- }, {
668
- "method": "kupTextFieldSubmit",
669
- "name": "kup-datepicker-textfieldsubmit",
670
- "bubbles": true,
671
- "cancelable": false,
672
- "composed": true,
673
- "docs": {
674
- "tags": [],
675
- "text": ""
676
- },
677
- "complexType": {
678
- "original": "KupDatePickerEventPayload",
679
- "resolved": "KupDatePickerEventPayload",
680
- "references": {
681
- "KupDatePickerEventPayload": {
682
- "location": "import",
683
- "path": "./kup-date-picker-declarations"
626
+ }, {
627
+ "method": "kupItemClick",
628
+ "name": "kup-datepicker-itemclick",
629
+ "bubbles": true,
630
+ "cancelable": false,
631
+ "composed": true,
632
+ "docs": {
633
+ "tags": [],
634
+ "text": ""
635
+ },
636
+ "complexType": {
637
+ "original": "KupDatePickerEventPayload",
638
+ "resolved": "KupDatePickerEventPayload",
639
+ "references": {
640
+ "KupDatePickerEventPayload": {
641
+ "location": "import",
642
+ "path": "./kup-date-picker-declarations"
643
+ }
684
644
  }
685
645
  }
686
- }
687
- }, {
688
- "method": "kupClearIconClick",
689
- "name": "kup-datepicker-cleariconclick",
690
- "bubbles": true,
691
- "cancelable": false,
692
- "composed": true,
693
- "docs": {
694
- "tags": [],
695
- "text": ""
696
- },
697
- "complexType": {
698
- "original": "KupEventPayload",
699
- "resolved": "KupEventPayload",
700
- "references": {
701
- "KupEventPayload": {
702
- "location": "import",
703
- "path": "../../types/GenericTypes"
646
+ }, {
647
+ "method": "kupTextFieldSubmit",
648
+ "name": "kup-datepicker-textfieldsubmit",
649
+ "bubbles": true,
650
+ "cancelable": false,
651
+ "composed": true,
652
+ "docs": {
653
+ "tags": [],
654
+ "text": ""
655
+ },
656
+ "complexType": {
657
+ "original": "KupDatePickerEventPayload",
658
+ "resolved": "KupDatePickerEventPayload",
659
+ "references": {
660
+ "KupDatePickerEventPayload": {
661
+ "location": "import",
662
+ "path": "./kup-date-picker-declarations"
663
+ }
704
664
  }
705
665
  }
706
- }
707
- }]; }
708
- static get methods() { return {
709
- "getValue": {
710
- "complexType": {
711
- "signature": "() => Promise<string>",
712
- "parameters": [],
713
- "references": {
714
- "Promise": {
715
- "location": "global"
666
+ }, {
667
+ "method": "kupClearIconClick",
668
+ "name": "kup-datepicker-cleariconclick",
669
+ "bubbles": true,
670
+ "cancelable": false,
671
+ "composed": true,
672
+ "docs": {
673
+ "tags": [],
674
+ "text": ""
675
+ },
676
+ "complexType": {
677
+ "original": "KupEventPayload",
678
+ "resolved": "KupEventPayload",
679
+ "references": {
680
+ "KupEventPayload": {
681
+ "location": "import",
682
+ "path": "../../types/GenericTypes"
683
+ }
716
684
  }
685
+ }
686
+ }];
687
+ }
688
+ static get methods() {
689
+ return {
690
+ "getValue": {
691
+ "complexType": {
692
+ "signature": "() => Promise<string>",
693
+ "parameters": [],
694
+ "references": {
695
+ "Promise": {
696
+ "location": "global"
697
+ }
698
+ },
699
+ "return": "Promise<string>"
717
700
  },
718
- "return": "Promise<string>"
701
+ "docs": {
702
+ "text": "Retrieves the component's value.",
703
+ "tags": [{
704
+ "name": "returns",
705
+ "text": "Value of the component."
706
+ }]
707
+ }
719
708
  },
720
- "docs": {
721
- "text": "Retrieves the component's value.",
722
- "tags": [{
723
- "name": "returns",
724
- "text": "Value of the component."
725
- }]
726
- }
727
- },
728
- "getProps": {
729
- "complexType": {
730
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
731
- "parameters": [{
732
- "tags": [{
733
- "name": "param",
734
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
735
- }],
736
- "text": "- When provided and true, the result will be the list of props with their description."
737
- }],
738
- "references": {
739
- "Promise": {
740
- "location": "global"
709
+ "getProps": {
710
+ "complexType": {
711
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
712
+ "parameters": [{
713
+ "tags": [{
714
+ "name": "param",
715
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
716
+ }],
717
+ "text": "- When provided and true, the result will be the list of props with their description."
718
+ }],
719
+ "references": {
720
+ "Promise": {
721
+ "location": "global"
722
+ },
723
+ "GenericObject": {
724
+ "location": "import",
725
+ "path": "../../types/GenericTypes"
726
+ }
741
727
  },
742
- "GenericObject": {
743
- "location": "import",
744
- "path": "../../types/GenericTypes"
745
- }
728
+ "return": "Promise<GenericObject>"
746
729
  },
747
- "return": "Promise<GenericObject>"
730
+ "docs": {
731
+ "text": "Used to retrieve component's props values.",
732
+ "tags": [{
733
+ "name": "param",
734
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
735
+ }, {
736
+ "name": "returns",
737
+ "text": "List of props as object, each key will be a prop."
738
+ }]
739
+ }
748
740
  },
749
- "docs": {
750
- "text": "Used to retrieve component's props values.",
751
- "tags": [{
752
- "name": "param",
753
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
754
- }, {
755
- "name": "returns",
756
- "text": "List of props as object, each key will be a prop."
757
- }]
758
- }
759
- },
760
- "refresh": {
761
- "complexType": {
762
- "signature": "() => Promise<void>",
763
- "parameters": [],
764
- "references": {
765
- "Promise": {
766
- "location": "global"
767
- }
741
+ "refresh": {
742
+ "complexType": {
743
+ "signature": "() => Promise<void>",
744
+ "parameters": [],
745
+ "references": {
746
+ "Promise": {
747
+ "location": "global"
748
+ }
749
+ },
750
+ "return": "Promise<void>"
768
751
  },
769
- "return": "Promise<void>"
752
+ "docs": {
753
+ "text": "This method is used to trigger a new render of the component.",
754
+ "tags": []
755
+ }
770
756
  },
771
- "docs": {
772
- "text": "This method is used to trigger a new render of the component.",
773
- "tags": []
774
- }
775
- },
776
- "setFocus": {
777
- "complexType": {
778
- "signature": "() => Promise<void>",
779
- "parameters": [],
780
- "references": {
781
- "Promise": {
782
- "location": "global"
783
- }
757
+ "setFocus": {
758
+ "complexType": {
759
+ "signature": "() => Promise<void>",
760
+ "parameters": [],
761
+ "references": {
762
+ "Promise": {
763
+ "location": "global"
764
+ }
765
+ },
766
+ "return": "Promise<void>"
784
767
  },
785
- "return": "Promise<void>"
768
+ "docs": {
769
+ "text": "Sets the focus to the component.",
770
+ "tags": []
771
+ }
786
772
  },
787
- "docs": {
788
- "text": "Sets the focus to the component.",
789
- "tags": []
790
- }
791
- },
792
- "setValue": {
793
- "complexType": {
794
- "signature": "(value: string) => Promise<void>",
795
- "parameters": [{
796
- "tags": [{
797
- "name": "param",
798
- "text": "value - Value to be set."
799
- }],
800
- "text": "- Value to be set."
801
- }],
802
- "references": {
803
- "Promise": {
804
- "location": "global"
805
- }
773
+ "setValue": {
774
+ "complexType": {
775
+ "signature": "(value: string) => Promise<void>",
776
+ "parameters": [{
777
+ "tags": [{
778
+ "name": "param",
779
+ "text": "value - Value to be set."
780
+ }],
781
+ "text": "- Value to be set."
782
+ }],
783
+ "references": {
784
+ "Promise": {
785
+ "location": "global"
786
+ }
787
+ },
788
+ "return": "Promise<void>"
806
789
  },
807
- "return": "Promise<void>"
808
- },
809
- "docs": {
810
- "text": "Sets the component's value.",
811
- "tags": [{
812
- "name": "param",
813
- "text": "value - Value to be set."
814
- }]
790
+ "docs": {
791
+ "text": "Sets the component's value.",
792
+ "tags": [{
793
+ "name": "param",
794
+ "text": "value - Value to be set."
795
+ }]
796
+ }
815
797
  }
816
- }
817
- }; }
798
+ };
799
+ }
818
800
  static get elementRef() { return "rootElement"; }
819
- static get watchers() { return [{
820
- "propName": "firstDayIndex",
821
- "methodName": "watchFirstDayIndex"
822
- }]; }
823
- static get listeners() { return [{
824
- "name": "keyup",
825
- "method": "listenKeyup",
826
- "target": undefined,
827
- "capture": false,
828
- "passive": false
829
- }]; }
801
+ static get watchers() {
802
+ return [{
803
+ "propName": "firstDayIndex",
804
+ "methodName": "watchFirstDayIndex"
805
+ }];
806
+ }
807
+ static get listeners() {
808
+ return [{
809
+ "name": "keyup",
810
+ "method": "listenKeyup",
811
+ "target": undefined,
812
+ "capture": false,
813
+ "passive": false
814
+ }];
815
+ }
830
816
  }