@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, 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';
@@ -8,149 +8,36 @@ import { getProps, setProps } from '../../utils/utils';
8
8
  import { componentWrapperId } from '../../variables/GenericVariables';
9
9
  export class KupTextField {
10
10
  constructor() {
11
- /*-------------------------------------------------*/
12
- /* S t a t e s */
13
- /*-------------------------------------------------*/
14
11
  /**
15
- * The value of the component.
16
- * @default ""
12
+ * Instance of the KupManager class.
17
13
  */
14
+ this.kupManager = kupManagerInstance();
18
15
  this.value = '';
19
- /*-------------------------------------------------*/
20
- /* P r o p s */
21
- /*-------------------------------------------------*/
22
- /**
23
- * Custom style of the component.
24
- * @default ""
25
- * @see https://ketchup.smeup.com/ketchup-showcase/#/customization
26
- */
27
16
  this.customStyle = '';
28
- /**
29
- * Number of decimals (should be used when inputType is number).
30
- * @default null
31
- */
32
17
  this.decimals = null;
33
- /**
34
- * When set to true, the component is disabled.
35
- * @default false
36
- */
37
18
  this.disabled = false;
38
- /**
39
- * When the text field is part of the autocomplete component and the list is opened, enter key selects the item and doesn't submit.
40
- * @default true
41
- */
42
19
  this.emitSubmitEventOnEnter = true;
43
- /**
44
- * When set to true, the component will be rendered at full width.
45
- * @default false
46
- */
47
20
  this.fullWidth = false;
48
- /**
49
- * When set, its content will be shown as a help text below the field.
50
- * @default null
51
- */
52
21
  this.helper = null;
53
- /**
54
- * When true, the helper will be displayed.
55
- * @default true
56
- */
57
22
  this.helperEnabled = true;
58
- /**
59
- * When set, the helper will be shown only when the field is focused.
60
- * @default false
61
- */
62
23
  this.helperWhenFocused = false;
63
- /**
64
- * When set, the text-field will show this icon.
65
- * @default null
66
- */
67
24
  this.icon = null;
68
- /**
69
- * Sets the initial value of the component
70
- * @default ""
71
- */
72
25
  this.initialValue = '';
73
- /**
74
- * The HTML inputmode of the input element.
75
- * @default null
76
- */
77
26
  this.inputMode = null;
78
- /**
79
- * The HTML type of the input element. It has no effect on text areas.
80
- * @default "text"
81
- */
82
27
  this.inputType = 'text';
83
- /**
84
- * Enables a clear trailing icon.
85
- * @default false
86
- */
87
28
  this.isClearable = false;
88
- /**
89
- * When set, its content will be shown as a label.
90
- * @default null
91
- */
92
29
  this.label = null;
93
- /**
94
- * When set to true, the label will be on the left of the component.
95
- * @default false
96
- */
97
30
  this.leadingLabel = false;
98
- /**
99
- * The HTML max attribute specifies the maximum value for the input element.
100
- * Works with the following input types: number, range, date, datetime-local, month, time and week.
101
- * @default null
102
- */
103
31
  this.max = null;
104
- /**
105
- * When set, the helper will display a character counter.
106
- * @default null
107
- */
108
32
  this.maxLength = null;
109
- /**
110
- * The HTML min attribute specifies the minimum value for the input element.
111
- * Works with the following input types: number, range, date, datetime-local, month, time and week.
112
- * @default null
113
- */
114
33
  this.min = null;
115
- /**
116
- * The HTML name attribute used for form autocomplete.
117
- * @default null
118
- */
119
34
  this.name = null;
120
- /**
121
- * When set to true, the component will be rendered as an outlined field.
122
- * @default false
123
- */
124
35
  this.outlined = false;
125
- /**
126
- * Sets the component to read only state, making it not editable, but interactable. Used in combobox component when it behaves as a select.
127
- * @default false
128
- */
129
36
  this.readOnly = false;
130
- /**
131
- * The HTML step of the input element. It has effect only with number input type.
132
- * @default null
133
- */
134
37
  this.step = null;
135
- /**
136
- * When set to true, the component will be rendered as a textarea.
137
- * @default false
138
- */
139
38
  this.textArea = false;
140
- /**
141
- * When set, the icon will be shown after the text.
142
- * @default false
143
- */
144
39
  this.trailingIcon = false;
145
- /**
146
- * When set to true, the label will be on the right of the component.
147
- * @default false
148
- */
149
40
  this.trailingLabel = false;
150
- /**
151
- * Instance of the KupManager class.
152
- */
153
- this.kupManager = kupManagerInstance();
154
41
  }
155
42
  onKupBlur(event) {
156
43
  const { target } = event;
@@ -351,845 +238,854 @@ export class KupTextField {
351
238
  onIconClick: (e) => this.onKupIconClick(e),
352
239
  onClearIconClick: () => this.onKupClearIconClick(),
353
240
  };
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)))));
241
+ return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h(FTextField, Object.assign({}, props)))));
358
242
  }
359
243
  disconnectedCallback() {
360
244
  this.kupManager.theme.unregister(this);
361
245
  }
362
246
  static get is() { return "kup-text-field"; }
363
247
  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"
248
+ static get originalStyleUrls() {
249
+ return {
250
+ "$": ["kup-text-field.scss"]
251
+ };
252
+ }
253
+ static get styleUrls() {
254
+ return {
255
+ "$": ["kup-text-field.css"]
256
+ };
257
+ }
258
+ static get properties() {
259
+ return {
260
+ "customStyle": {
261
+ "type": "string",
262
+ "mutable": false,
263
+ "complexType": {
264
+ "original": "string",
265
+ "resolved": "string",
266
+ "references": {}
267
+ },
268
+ "required": false,
269
+ "optional": false,
270
+ "docs": {
271
+ "tags": [{
272
+ "name": "default",
273
+ "text": "\"\""
274
+ }, {
275
+ "name": "see",
276
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
277
+ }],
278
+ "text": "Custom style of the component."
279
+ },
280
+ "attribute": "custom-style",
281
+ "reflect": false,
282
+ "defaultValue": "''"
283
+ },
284
+ "decimals": {
285
+ "type": "number",
286
+ "mutable": false,
287
+ "complexType": {
288
+ "original": "number",
289
+ "resolved": "number",
290
+ "references": {}
291
+ },
292
+ "required": false,
293
+ "optional": false,
294
+ "docs": {
295
+ "tags": [{
296
+ "name": "default",
297
+ "text": "null"
298
+ }],
299
+ "text": "Number of decimals (should be used when inputType is number)."
300
+ },
301
+ "attribute": "decimals",
302
+ "reflect": false,
303
+ "defaultValue": "null"
304
+ },
305
+ "disabled": {
306
+ "type": "boolean",
307
+ "mutable": false,
308
+ "complexType": {
309
+ "original": "boolean",
310
+ "resolved": "boolean",
311
+ "references": {}
312
+ },
313
+ "required": false,
314
+ "optional": false,
315
+ "docs": {
316
+ "tags": [{
317
+ "name": "default",
318
+ "text": "false"
319
+ }],
320
+ "text": "When set to true, the component is disabled."
321
+ },
322
+ "attribute": "disabled",
323
+ "reflect": false,
324
+ "defaultValue": "false"
325
+ },
326
+ "emitSubmitEventOnEnter": {
327
+ "type": "boolean",
328
+ "mutable": false,
329
+ "complexType": {
330
+ "original": "boolean",
331
+ "resolved": "boolean",
332
+ "references": {}
333
+ },
334
+ "required": false,
335
+ "optional": false,
336
+ "docs": {
337
+ "tags": [{
338
+ "name": "default",
339
+ "text": "true"
340
+ }],
341
+ "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."
342
+ },
343
+ "attribute": "emit-submit-event-on-enter",
344
+ "reflect": false,
345
+ "defaultValue": "true"
346
+ },
347
+ "fullWidth": {
348
+ "type": "boolean",
349
+ "mutable": false,
350
+ "complexType": {
351
+ "original": "boolean",
352
+ "resolved": "boolean",
353
+ "references": {}
354
+ },
355
+ "required": false,
356
+ "optional": false,
357
+ "docs": {
358
+ "tags": [{
359
+ "name": "default",
360
+ "text": "false"
361
+ }],
362
+ "text": "When set to true, the component will be rendered at full width."
363
+ },
364
+ "attribute": "full-width",
365
+ "reflect": true,
366
+ "defaultValue": "false"
367
+ },
368
+ "helper": {
369
+ "type": "string",
370
+ "mutable": false,
371
+ "complexType": {
372
+ "original": "string",
373
+ "resolved": "string",
374
+ "references": {}
375
+ },
376
+ "required": false,
377
+ "optional": false,
378
+ "docs": {
379
+ "tags": [{
380
+ "name": "default",
381
+ "text": "null"
382
+ }],
383
+ "text": "When set, its content will be shown as a help text below the field."
384
+ },
385
+ "attribute": "helper",
386
+ "reflect": false,
387
+ "defaultValue": "null"
388
+ },
389
+ "helperEnabled": {
390
+ "type": "boolean",
391
+ "mutable": false,
392
+ "complexType": {
393
+ "original": "boolean",
394
+ "resolved": "boolean",
395
+ "references": {}
396
+ },
397
+ "required": false,
398
+ "optional": false,
399
+ "docs": {
400
+ "tags": [{
401
+ "name": "default",
402
+ "text": "true"
403
+ }],
404
+ "text": "When true, the helper will be displayed."
405
+ },
406
+ "attribute": "helper-enabled",
407
+ "reflect": false,
408
+ "defaultValue": "true"
409
+ },
410
+ "helperWhenFocused": {
411
+ "type": "boolean",
412
+ "mutable": false,
413
+ "complexType": {
414
+ "original": "boolean",
415
+ "resolved": "boolean",
416
+ "references": {}
417
+ },
418
+ "required": false,
419
+ "optional": false,
420
+ "docs": {
421
+ "tags": [{
422
+ "name": "default",
423
+ "text": "false"
424
+ }],
425
+ "text": "When set, the helper will be shown only when the field is focused."
426
+ },
427
+ "attribute": "helper-when-focused",
428
+ "reflect": false,
429
+ "defaultValue": "false"
430
+ },
431
+ "icon": {
432
+ "type": "string",
433
+ "mutable": false,
434
+ "complexType": {
435
+ "original": "string",
436
+ "resolved": "string",
437
+ "references": {}
438
+ },
439
+ "required": false,
440
+ "optional": false,
441
+ "docs": {
442
+ "tags": [{
443
+ "name": "default",
444
+ "text": "null"
445
+ }],
446
+ "text": "When set, the text-field will show this icon."
447
+ },
448
+ "attribute": "icon",
449
+ "reflect": false,
450
+ "defaultValue": "null"
451
+ },
452
+ "initialValue": {
453
+ "type": "string",
454
+ "mutable": false,
455
+ "complexType": {
456
+ "original": "string",
457
+ "resolved": "string",
458
+ "references": {}
459
+ },
460
+ "required": false,
461
+ "optional": false,
462
+ "docs": {
463
+ "tags": [{
464
+ "name": "default",
465
+ "text": "\"\""
466
+ }],
467
+ "text": "Sets the initial value of the component"
468
+ },
469
+ "attribute": "initial-value",
470
+ "reflect": false,
471
+ "defaultValue": "''"
472
+ },
473
+ "inputMode": {
474
+ "type": "string",
475
+ "mutable": false,
476
+ "complexType": {
477
+ "original": "string",
478
+ "resolved": "string",
479
+ "references": {}
480
+ },
481
+ "required": false,
482
+ "optional": false,
483
+ "docs": {
484
+ "tags": [{
485
+ "name": "default",
486
+ "text": "null"
487
+ }],
488
+ "text": "The HTML inputmode of the input element."
489
+ },
490
+ "attribute": "input-mode",
491
+ "reflect": false,
492
+ "defaultValue": "null"
493
+ },
494
+ "inputType": {
495
+ "type": "string",
496
+ "mutable": false,
497
+ "complexType": {
498
+ "original": "string",
499
+ "resolved": "string",
500
+ "references": {}
501
+ },
502
+ "required": false,
503
+ "optional": false,
504
+ "docs": {
505
+ "tags": [{
506
+ "name": "default",
507
+ "text": "\"text\""
508
+ }],
509
+ "text": "The HTML type of the input element. It has no effect on text areas."
510
+ },
511
+ "attribute": "input-type",
512
+ "reflect": false,
513
+ "defaultValue": "'text'"
514
+ },
515
+ "isClearable": {
516
+ "type": "boolean",
517
+ "mutable": false,
518
+ "complexType": {
519
+ "original": "boolean",
520
+ "resolved": "boolean",
521
+ "references": {}
522
+ },
523
+ "required": false,
524
+ "optional": false,
525
+ "docs": {
526
+ "tags": [{
527
+ "name": "default",
528
+ "text": "false"
529
+ }],
530
+ "text": "Enables a clear trailing icon."
531
+ },
532
+ "attribute": "is-clearable",
533
+ "reflect": false,
534
+ "defaultValue": "false"
535
+ },
536
+ "label": {
537
+ "type": "string",
538
+ "mutable": false,
539
+ "complexType": {
540
+ "original": "string",
541
+ "resolved": "string",
542
+ "references": {}
543
+ },
544
+ "required": false,
545
+ "optional": false,
546
+ "docs": {
547
+ "tags": [{
548
+ "name": "default",
549
+ "text": "null"
550
+ }],
551
+ "text": "When set, its content will be shown as a label."
552
+ },
553
+ "attribute": "label",
554
+ "reflect": false,
555
+ "defaultValue": "null"
556
+ },
557
+ "leadingLabel": {
558
+ "type": "boolean",
559
+ "mutable": false,
560
+ "complexType": {
561
+ "original": "boolean",
562
+ "resolved": "boolean",
563
+ "references": {}
564
+ },
565
+ "required": false,
566
+ "optional": false,
567
+ "docs": {
568
+ "tags": [{
569
+ "name": "default",
570
+ "text": "false"
571
+ }],
572
+ "text": "When set to true, the label will be on the left of the component."
573
+ },
574
+ "attribute": "leading-label",
575
+ "reflect": false,
576
+ "defaultValue": "false"
577
+ },
578
+ "max": {
579
+ "type": "number",
580
+ "mutable": false,
581
+ "complexType": {
582
+ "original": "number",
583
+ "resolved": "number",
584
+ "references": {}
585
+ },
586
+ "required": false,
587
+ "optional": false,
588
+ "docs": {
589
+ "tags": [{
590
+ "name": "default",
591
+ "text": "null"
592
+ }],
593
+ "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."
594
+ },
595
+ "attribute": "max",
596
+ "reflect": false,
597
+ "defaultValue": "null"
598
+ },
599
+ "maxLength": {
600
+ "type": "number",
601
+ "mutable": false,
602
+ "complexType": {
603
+ "original": "number",
604
+ "resolved": "number",
605
+ "references": {}
606
+ },
607
+ "required": false,
608
+ "optional": false,
609
+ "docs": {
610
+ "tags": [{
611
+ "name": "default",
612
+ "text": "null"
613
+ }],
614
+ "text": "When set, the helper will display a character counter."
615
+ },
616
+ "attribute": "max-length",
617
+ "reflect": false,
618
+ "defaultValue": "null"
619
+ },
620
+ "min": {
621
+ "type": "number",
622
+ "mutable": false,
623
+ "complexType": {
624
+ "original": "number",
625
+ "resolved": "number",
626
+ "references": {}
627
+ },
628
+ "required": false,
629
+ "optional": false,
630
+ "docs": {
631
+ "tags": [{
632
+ "name": "default",
633
+ "text": "null"
634
+ }],
635
+ "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."
636
+ },
637
+ "attribute": "min",
638
+ "reflect": false,
639
+ "defaultValue": "null"
640
+ },
641
+ "name": {
642
+ "type": "string",
643
+ "mutable": false,
644
+ "complexType": {
645
+ "original": "string",
646
+ "resolved": "string",
647
+ "references": {}
648
+ },
649
+ "required": false,
650
+ "optional": false,
651
+ "docs": {
652
+ "tags": [{
653
+ "name": "default",
654
+ "text": "null"
655
+ }],
656
+ "text": "The HTML name attribute used for form autocomplete."
657
+ },
658
+ "attribute": "name",
659
+ "reflect": false,
660
+ "defaultValue": "null"
661
+ },
662
+ "outlined": {
663
+ "type": "boolean",
664
+ "mutable": false,
665
+ "complexType": {
666
+ "original": "boolean",
667
+ "resolved": "boolean",
668
+ "references": {}
669
+ },
670
+ "required": false,
671
+ "optional": false,
672
+ "docs": {
673
+ "tags": [{
674
+ "name": "default",
675
+ "text": "false"
676
+ }],
677
+ "text": "When set to true, the component will be rendered as an outlined field."
678
+ },
679
+ "attribute": "outlined",
680
+ "reflect": false,
681
+ "defaultValue": "false"
682
+ },
683
+ "readOnly": {
684
+ "type": "boolean",
685
+ "mutable": false,
686
+ "complexType": {
687
+ "original": "boolean",
688
+ "resolved": "boolean",
689
+ "references": {}
690
+ },
691
+ "required": false,
692
+ "optional": false,
693
+ "docs": {
694
+ "tags": [{
695
+ "name": "default",
696
+ "text": "false"
697
+ }],
698
+ "text": "Sets the component to read only state, making it not editable, but interactable. Used in combobox component when it behaves as a select."
699
+ },
700
+ "attribute": "read-only",
701
+ "reflect": false,
702
+ "defaultValue": "false"
703
+ },
704
+ "step": {
705
+ "type": "number",
706
+ "mutable": false,
707
+ "complexType": {
708
+ "original": "number",
709
+ "resolved": "number",
710
+ "references": {}
711
+ },
712
+ "required": false,
713
+ "optional": false,
714
+ "docs": {
715
+ "tags": [{
716
+ "name": "default",
717
+ "text": "null"
718
+ }],
719
+ "text": "The HTML step of the input element. It has effect only with number input type."
720
+ },
721
+ "attribute": "step",
722
+ "reflect": false,
723
+ "defaultValue": "null"
724
+ },
725
+ "textArea": {
726
+ "type": "boolean",
727
+ "mutable": false,
728
+ "complexType": {
729
+ "original": "boolean",
730
+ "resolved": "boolean",
731
+ "references": {}
732
+ },
733
+ "required": false,
734
+ "optional": false,
735
+ "docs": {
736
+ "tags": [{
737
+ "name": "default",
738
+ "text": "false"
739
+ }],
740
+ "text": "When set to true, the component will be rendered as a textarea."
741
+ },
742
+ "attribute": "text-area",
743
+ "reflect": false,
744
+ "defaultValue": "false"
745
+ },
746
+ "trailingIcon": {
747
+ "type": "boolean",
748
+ "mutable": false,
749
+ "complexType": {
750
+ "original": "boolean",
751
+ "resolved": "boolean",
752
+ "references": {}
753
+ },
754
+ "required": false,
755
+ "optional": false,
756
+ "docs": {
757
+ "tags": [{
758
+ "name": "default",
759
+ "text": "false"
760
+ }],
761
+ "text": "When set, the icon will be shown after the text."
762
+ },
763
+ "attribute": "trailing-icon",
764
+ "reflect": false,
765
+ "defaultValue": "false"
766
+ },
767
+ "trailingLabel": {
768
+ "type": "boolean",
769
+ "mutable": false,
770
+ "complexType": {
771
+ "original": "boolean",
772
+ "resolved": "boolean",
773
+ "references": {}
774
+ },
775
+ "required": false,
776
+ "optional": false,
777
+ "docs": {
778
+ "tags": [{
779
+ "name": "default",
780
+ "text": "false"
781
+ }],
782
+ "text": "When set to true, the label will be on the right of the component."
783
+ },
784
+ "attribute": "trailing-label",
785
+ "reflect": false,
786
+ "defaultValue": "false"
787
+ }
788
+ };
789
+ }
790
+ static get states() {
791
+ return {
792
+ "value": {}
793
+ };
794
+ }
795
+ static get events() {
796
+ return [{
797
+ "method": "kupBlur",
798
+ "name": "kup-textfield-blur",
799
+ "bubbles": true,
800
+ "cancelable": false,
801
+ "composed": true,
802
+ "docs": {
803
+ "tags": [],
804
+ "text": "Triggered when the input element loses focus."
805
+ },
806
+ "complexType": {
807
+ "original": "KupTextFieldEventPayload",
808
+ "resolved": "KupTextFieldEventPayload",
809
+ "references": {
810
+ "KupTextFieldEventPayload": {
811
+ "location": "import",
812
+ "path": "./kup-text-field-declarations"
813
+ }
920
814
  }
921
815
  }
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"
816
+ }, {
817
+ "method": "kupChange",
818
+ "name": "kup-textfield-change",
819
+ "bubbles": true,
820
+ "cancelable": false,
821
+ "composed": true,
822
+ "docs": {
823
+ "tags": [],
824
+ "text": "Triggered when the input element changes."
825
+ },
826
+ "complexType": {
827
+ "original": "KupTextFieldEventPayload",
828
+ "resolved": "KupTextFieldEventPayload",
829
+ "references": {
830
+ "KupTextFieldEventPayload": {
831
+ "location": "import",
832
+ "path": "./kup-text-field-declarations"
833
+ }
940
834
  }
941
835
  }
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"
836
+ }, {
837
+ "method": "kupClick",
838
+ "name": "kup-textfield-click",
839
+ "bubbles": true,
840
+ "cancelable": false,
841
+ "composed": true,
842
+ "docs": {
843
+ "tags": [],
844
+ "text": "Triggered when the input element is clicked."
845
+ },
846
+ "complexType": {
847
+ "original": "KupTextFieldEventPayload",
848
+ "resolved": "KupTextFieldEventPayload",
849
+ "references": {
850
+ "KupTextFieldEventPayload": {
851
+ "location": "import",
852
+ "path": "./kup-text-field-declarations"
853
+ }
960
854
  }
961
855
  }
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"
856
+ }, {
857
+ "method": "kupFocus",
858
+ "name": "kup-textfield-focus",
859
+ "bubbles": true,
860
+ "cancelable": false,
861
+ "composed": true,
862
+ "docs": {
863
+ "tags": [],
864
+ "text": "Triggered when the input element gets focused."
865
+ },
866
+ "complexType": {
867
+ "original": "KupTextFieldEventPayload",
868
+ "resolved": "KupTextFieldEventPayload",
869
+ "references": {
870
+ "KupTextFieldEventPayload": {
871
+ "location": "import",
872
+ "path": "./kup-text-field-declarations"
873
+ }
980
874
  }
981
875
  }
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"
876
+ }, {
877
+ "method": "kupInput",
878
+ "name": "kup-textfield-input",
879
+ "bubbles": true,
880
+ "cancelable": false,
881
+ "composed": true,
882
+ "docs": {
883
+ "tags": [],
884
+ "text": "Triggered when the input element receives an input."
885
+ },
886
+ "complexType": {
887
+ "original": "KupTextFieldEventPayload",
888
+ "resolved": "KupTextFieldEventPayload",
889
+ "references": {
890
+ "KupTextFieldEventPayload": {
891
+ "location": "import",
892
+ "path": "./kup-text-field-declarations"
893
+ }
1000
894
  }
1001
895
  }
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"
896
+ }, {
897
+ "method": "kupIconClick",
898
+ "name": "kup-textfield-iconclick",
899
+ "bubbles": true,
900
+ "cancelable": false,
901
+ "composed": true,
902
+ "docs": {
903
+ "tags": [],
904
+ "text": "Triggered when the text field's icon is clicked."
905
+ },
906
+ "complexType": {
907
+ "original": "KupTextFieldEventPayload",
908
+ "resolved": "KupTextFieldEventPayload",
909
+ "references": {
910
+ "KupTextFieldEventPayload": {
911
+ "location": "import",
912
+ "path": "./kup-text-field-declarations"
913
+ }
1020
914
  }
1021
915
  }
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"
916
+ }, {
917
+ "method": "kupClearIconClick",
918
+ "name": "kup-textfield-cleariconclick",
919
+ "bubbles": true,
920
+ "cancelable": false,
921
+ "composed": true,
922
+ "docs": {
923
+ "tags": [],
924
+ "text": "Triggered when the text field's clear icon is clicked."
925
+ },
926
+ "complexType": {
927
+ "original": "KupEventPayload",
928
+ "resolved": "KupEventPayload",
929
+ "references": {
930
+ "KupEventPayload": {
931
+ "location": "import",
932
+ "path": "../../types/GenericTypes"
933
+ }
1040
934
  }
1041
935
  }
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"
936
+ }, {
937
+ "method": "kupTextFieldSubmit",
938
+ "name": "kup-textfield-submit",
939
+ "bubbles": true,
940
+ "cancelable": false,
941
+ "composed": true,
942
+ "docs": {
943
+ "tags": [],
944
+ "text": "Triggered when the Enter key is pressed."
945
+ },
946
+ "complexType": {
947
+ "original": "KupTextFieldEventPayload",
948
+ "resolved": "KupTextFieldEventPayload",
949
+ "references": {
950
+ "KupTextFieldEventPayload": {
951
+ "location": "import",
952
+ "path": "./kup-text-field-declarations"
953
+ }
1060
954
  }
1061
955
  }
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"
956
+ }];
957
+ }
958
+ static get methods() {
959
+ return {
960
+ "getProps": {
961
+ "complexType": {
962
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
963
+ "parameters": [{
964
+ "tags": [{
965
+ "name": "param",
966
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
967
+ }],
968
+ "text": "- When provided and true, the result will be the list of props with their description."
969
+ }],
970
+ "references": {
971
+ "Promise": {
972
+ "location": "global"
973
+ },
974
+ "GenericObject": {
975
+ "location": "import",
976
+ "path": "../../types/GenericTypes"
977
+ }
1078
978
  },
1079
- "GenericObject": {
1080
- "location": "import",
1081
- "path": "../../types/GenericTypes"
1082
- }
979
+ "return": "Promise<GenericObject>"
1083
980
  },
1084
- "return": "Promise<GenericObject>"
981
+ "docs": {
982
+ "text": "Used to retrieve component's props values.",
983
+ "tags": [{
984
+ "name": "param",
985
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
986
+ }, {
987
+ "name": "returns",
988
+ "text": "List of props as object, each key will be a prop."
989
+ }]
990
+ }
1085
991
  },
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
- }
992
+ "getValue": {
993
+ "complexType": {
994
+ "signature": "() => Promise<string>",
995
+ "parameters": [],
996
+ "references": {
997
+ "Promise": {
998
+ "location": "global"
999
+ }
1000
+ },
1001
+ "return": "Promise<string>"
1105
1002
  },
1106
- "return": "Promise<string>"
1003
+ "docs": {
1004
+ "text": "Returns the component's internal value.",
1005
+ "tags": []
1006
+ }
1107
1007
  },
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
- }
1008
+ "refresh": {
1009
+ "complexType": {
1010
+ "signature": "() => Promise<void>",
1011
+ "parameters": [],
1012
+ "references": {
1013
+ "Promise": {
1014
+ "location": "global"
1015
+ }
1016
+ },
1017
+ "return": "Promise<void>"
1121
1018
  },
1122
- "return": "Promise<void>"
1019
+ "docs": {
1020
+ "text": "This method is used to trigger a new render of the component.",
1021
+ "tags": []
1022
+ }
1123
1023
  },
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
- }
1024
+ "setFocus": {
1025
+ "complexType": {
1026
+ "signature": "() => Promise<void>",
1027
+ "parameters": [],
1028
+ "references": {
1029
+ "Promise": {
1030
+ "location": "global"
1031
+ }
1032
+ },
1033
+ "return": "Promise<void>"
1137
1034
  },
1138
- "return": "Promise<void>"
1035
+ "docs": {
1036
+ "text": "Focuses the input element.",
1037
+ "tags": []
1038
+ }
1139
1039
  },
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"
1040
+ "setProps": {
1041
+ "complexType": {
1042
+ "signature": "(props: GenericObject) => Promise<void>",
1043
+ "parameters": [{
1044
+ "tags": [{
1045
+ "name": "param",
1046
+ "text": "props - Object containing props that will be set to the component."
1047
+ }],
1048
+ "text": "- Object containing props that will be set to the component."
1049
+ }],
1050
+ "references": {
1051
+ "Promise": {
1052
+ "location": "global"
1053
+ },
1054
+ "GenericObject": {
1055
+ "location": "import",
1056
+ "path": "../../types/GenericTypes"
1057
+ }
1158
1058
  },
1159
- "GenericObject": {
1160
- "location": "import",
1161
- "path": "../../types/GenericTypes"
1162
- }
1059
+ "return": "Promise<void>"
1163
1060
  },
1164
- "return": "Promise<void>"
1061
+ "docs": {
1062
+ "text": "Sets the props to the component.",
1063
+ "tags": [{
1064
+ "name": "param",
1065
+ "text": "props - Object containing props that will be set to the component."
1066
+ }]
1067
+ }
1165
1068
  },
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
- }
1069
+ "setValue": {
1070
+ "complexType": {
1071
+ "signature": "(value: string) => Promise<void>",
1072
+ "parameters": [{
1073
+ "tags": [],
1074
+ "text": ""
1075
+ }],
1076
+ "references": {
1077
+ "Promise": {
1078
+ "location": "global"
1079
+ }
1080
+ },
1081
+ "return": "Promise<void>"
1185
1082
  },
1186
- "return": "Promise<void>"
1187
- },
1188
- "docs": {
1189
- "text": "Sets the internal value of the component.",
1190
- "tags": []
1083
+ "docs": {
1084
+ "text": "Sets the internal value of the component.",
1085
+ "tags": []
1086
+ }
1191
1087
  }
1192
- }
1193
- }; }
1088
+ };
1089
+ }
1194
1090
  static get elementRef() { return "rootElement"; }
1195
1091
  }