bromcom-ui 2.11.1-rc.9-3 → 2.11.1-rc.9-4

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 (183) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-3cdfd8eb.entry.js → p-082b9695.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-14ed8029.entry.js → p-0da8ad9f.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-7fd22a35.entry.js → p-0ef4f5ec.entry.js} +1 -1
  6. package/dist/bromcom-ui/p-15199f10.entry.js +5 -0
  7. package/dist/bromcom-ui/{p-0eacfbb2.entry.js → p-198cccb5.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-222203a4.entry.js +16 -0
  9. package/dist/bromcom-ui/{p-adcb30bc.entry.js → p-2ab3e5cb.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-2addde9e.js +5 -0
  11. package/dist/bromcom-ui/p-2b42d77e.entry.js +5 -0
  12. package/dist/bromcom-ui/{p-db15dca3.entry.js → p-2c9f9889.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-a018f340.entry.js → p-42d09898.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-6f37a4d7.entry.js → p-471c7f34.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-35c215f2.entry.js → p-4d0680e1.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-8b31581f.js → p-5cb99e9e.js} +1 -1
  17. package/dist/bromcom-ui/{p-9589f69c.entry.js → p-5d670fd7.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-e497cf5d.entry.js → p-5df2d3f1.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-70253803.entry.js → p-5ee56cae.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-e10780ed.entry.js → p-603efb90.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-178fa936.entry.js → p-64a8db1d.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-61753299.js → p-6bea284a.js} +1 -1
  23. package/dist/bromcom-ui/{p-dc607ae4.entry.js → p-7230713c.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-fba1682e.entry.js → p-7d4f57be.entry.js} +1 -1
  25. package/dist/bromcom-ui/p-87e5fda5.entry.js +5 -0
  26. package/dist/bromcom-ui/{p-e93d6619.js → p-8f3ca5d9.js} +1 -1
  27. package/dist/bromcom-ui/p-9bbd341c.entry.js +5 -0
  28. package/dist/bromcom-ui/{p-bca0ff0a.entry.js → p-a292b41d.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-90223f9f.entry.js → p-a933ac12.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-5a22b74b.entry.js → p-adb21984.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-aeb4be41.js +5 -0
  32. package/dist/bromcom-ui/p-b847cbea.js +5 -0
  33. package/dist/bromcom-ui/p-bbe8c777.entry.js +5 -0
  34. package/dist/bromcom-ui/{p-c10b07cc.entry.js → p-c157a7d4.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-ebeb9689.entry.js → p-c23d73fb.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-c67a5e5f.entry.js +5 -0
  37. package/dist/bromcom-ui/p-c77541f4.js +10 -0
  38. package/dist/bromcom-ui/{p-abd2f9ff.entry.js → p-c89acfca.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-d1298c40.js +5 -0
  40. package/dist/bromcom-ui/{p-5bf1657b.entry.js → p-e8bb9019.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-627c7769.entry.js → p-e9928d0c.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-f478ad92.entry.js +5 -0
  43. package/dist/bromcom-ui/{p-5a391fcd.js → p-fcf70988.js} +1 -1
  44. package/dist/cjs/{bcm-accordion_46.cjs.entry.js → bcm-accordion_47.cjs.entry.js} +8764 -8633
  45. package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
  46. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +6 -6
  47. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +6 -6
  48. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
  49. package/dist/cjs/bcm-caption.cjs.entry.js +6 -6
  50. package/dist/cjs/bcm-card.cjs.entry.js +4 -4
  51. package/dist/cjs/bcm-checkbox-lite_8.cjs.entry.js +3 -3
  52. package/dist/cjs/bcm-chip-group.cjs.entry.js +6 -6
  53. package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
  54. package/dist/cjs/bcm-date-picker.cjs.entry.js +3 -3
  55. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -3
  56. package/dist/cjs/bcm-default.cjs.entry.js +3 -3
  57. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -4
  58. package/dist/cjs/bcm-input-2.cjs.entry.js +153 -0
  59. package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -3
  60. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +6 -6
  61. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  62. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  63. package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -6
  64. package/dist/cjs/bcm-number-input.cjs.entry.js +260 -72
  65. package/dist/cjs/bcm-overlay_2.cjs.entry.js +1 -1
  66. package/dist/cjs/bcm-popover.cjs.entry.js +6 -6
  67. package/dist/cjs/bcm-range.cjs.entry.js +3 -3
  68. package/dist/cjs/bcm-react-number.cjs.entry.js +1230 -0
  69. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  70. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  71. package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
  72. package/dist/cjs/bcm-time-picker.cjs.entry.js +3 -3
  73. package/dist/cjs/bcm-toast.cjs.entry.js +3 -3
  74. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  75. package/dist/cjs/{color-helper-c3a819ea.js → color-helper-dc98a2ca.js} +1 -1
  76. package/dist/cjs/{colors-078851ec.js → colors-250d0982.js} +13 -7
  77. package/dist/cjs/{generate-f73a098d.js → generate-2f15ee94.js} +2 -2
  78. package/dist/cjs/{global-baf04c81.js → global-da78178f.js} +1 -1
  79. package/dist/cjs/index-e05a7c6f.js +545 -0
  80. package/dist/cjs/input.style-b5676e6a.js +122 -0
  81. package/dist/cjs/loader.cjs.js +3 -3
  82. package/dist/cjs/{number-helper-0543a62e.js → number-helper-9b0b5976.js} +1 -1
  83. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +4 -4
  84. package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
  85. package/dist/cjs/{package-e717a31f.js → package-7b89373b.js} +1 -1
  86. package/dist/cjs/{validators-77768582.js → validators-082184cd.js} +1 -1
  87. package/dist/collection/collection-manifest.json +2 -0
  88. package/dist/collection/components/atoms/link/link.css +9 -3
  89. package/dist/collection/components/molecules/input/input.style.js +117 -0
  90. package/dist/collection/components/molecules/input/input2.js +918 -0
  91. package/dist/collection/components/molecules/number-input/number-input.js +776 -95
  92. package/dist/collection/components/molecules/number-input/react-input.js +96 -0
  93. package/dist/collection/components/molecules/radio/radio.js +1 -1
  94. package/dist/collection/components/organism/form/form.js +2 -2
  95. package/dist/collection/components/organism/form-2/bcm-form-components.js +2 -1
  96. package/dist/collection/components/organism/list/list.css +0 -1
  97. package/dist/collection/components/third-parts/rc-picker/date.js +1 -1
  98. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +40 -5
  99. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +11 -2
  100. package/dist/components/{raf.js → Overflow.js} +692 -69
  101. package/dist/components/bcm-date.js +1 -1
  102. package/dist/components/bcm-form-2.js +2 -1
  103. package/dist/components/bcm-input-2.d.ts +11 -0
  104. package/dist/components/bcm-input-2.js +225 -0
  105. package/dist/components/bcm-number-input.js +295 -79
  106. package/dist/components/bcm-react-number.d.ts +11 -0
  107. package/dist/components/bcm-react-number.js +10 -0
  108. package/dist/components/colors2.js +13 -7
  109. package/dist/components/form.js +2 -2
  110. package/dist/components/generate.js +1 -1
  111. package/dist/components/index.d.ts +2 -0
  112. package/dist/components/index.js +2 -0
  113. package/dist/components/input.style.js +120 -0
  114. package/dist/components/link.js +1 -1
  115. package/dist/components/list.js +1 -1
  116. package/dist/components/radio.js +1 -1
  117. package/dist/components/rc-overflow.js +1 -593
  118. package/dist/components/rc-picker.js +8620 -8025
  119. package/dist/components/react-input.js +1242 -0
  120. package/dist/esm/{bcm-accordion_46.entry.js → bcm-accordion_47.entry.js} +8656 -8526
  121. package/dist/esm/bcm-alert.entry.js +3 -3
  122. package/dist/esm/bcm-attendance-actions-comment.entry.js +6 -6
  123. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +6 -6
  124. package/dist/esm/bcm-breadcrumb.entry.js +3 -3
  125. package/dist/esm/bcm-caption.entry.js +6 -6
  126. package/dist/esm/bcm-card.entry.js +4 -4
  127. package/dist/esm/bcm-checkbox-lite_8.entry.js +3 -3
  128. package/dist/esm/bcm-chip-group.entry.js +6 -6
  129. package/dist/esm/bcm-collapse.entry.js +3 -3
  130. package/dist/esm/bcm-date-picker.entry.js +3 -3
  131. package/dist/esm/bcm-datetime-picker.entry.js +3 -3
  132. package/dist/esm/bcm-default.entry.js +3 -3
  133. package/dist/esm/bcm-form-2.entry.js +5 -4
  134. package/dist/esm/bcm-input-2.entry.js +149 -0
  135. package/dist/esm/bcm-input-custom.entry.js +3 -3
  136. package/dist/esm/bcm-input-dropdown.entry.js +6 -6
  137. package/dist/esm/bcm-modal-2-footer.entry.js +6 -6
  138. package/dist/esm/bcm-modal-2-header.entry.js +6 -6
  139. package/dist/esm/bcm-modal-2.entry.js +6 -6
  140. package/dist/esm/bcm-number-input.entry.js +259 -71
  141. package/dist/esm/bcm-overlay_2.entry.js +1 -1
  142. package/dist/esm/bcm-popover.entry.js +6 -6
  143. package/dist/esm/bcm-range.entry.js +3 -3
  144. package/dist/esm/bcm-react-number.entry.js +1226 -0
  145. package/dist/esm/bcm-skeleton.entry.js +6 -6
  146. package/dist/esm/bcm-table.entry.js +6 -6
  147. package/dist/esm/bcm-tag.entry.js +4 -4
  148. package/dist/esm/bcm-time-picker.entry.js +3 -3
  149. package/dist/esm/bcm-toast.entry.js +3 -3
  150. package/dist/esm/bromcom-ui.js +3 -3
  151. package/dist/esm/{color-helper-3b528349.js → color-helper-74614f24.js} +1 -1
  152. package/dist/esm/{colors-c530a5b8.js → colors-dd598eea.js} +13 -7
  153. package/dist/esm/{generate-c2c0b02e.js → generate-df0f43b2.js} +2 -2
  154. package/dist/esm/{global-2473677b.js → global-72a67caf.js} +1 -1
  155. package/dist/esm/index-036974d7.js +541 -0
  156. package/dist/esm/input.style-e855c0f3.js +120 -0
  157. package/dist/esm/loader.js +3 -3
  158. package/dist/esm/{number-helper-75447fa6.js → number-helper-b012c05f.js} +1 -1
  159. package/dist/esm/old-bcm-popover-box.entry.js +4 -4
  160. package/dist/esm/old-bcm-popover.entry.js +3 -3
  161. package/dist/esm/{package-28dc6847.js → package-40075eb9.js} +1 -1
  162. package/dist/esm/{validators-5a383988.js → validators-166e2a4e.js} +1 -1
  163. package/dist/types/components/molecules/input/input.style.d.ts +576 -0
  164. package/dist/types/components/molecules/input/input2.d.ts +64 -0
  165. package/dist/types/components/molecules/number-input/number-input.d.ts +66 -17
  166. package/dist/types/components/molecules/number-input/react-input.d.ts +16 -0
  167. package/dist/types/components.d.ts +203 -19
  168. package/package.json +4 -3
  169. package/dist/bromcom-ui/p-3361f6c9.entry.js +0 -5
  170. package/dist/bromcom-ui/p-350dbff0.entry.js +0 -5
  171. package/dist/bromcom-ui/p-3a43bf45.js +0 -5
  172. package/dist/bromcom-ui/p-64f21481.entry.js +0 -20
  173. package/dist/bromcom-ui/p-930f3618.js +0 -5
  174. package/dist/bromcom-ui/p-a4b675ef.entry.js +0 -5
  175. package/dist/bromcom-ui/p-bb46d881.entry.js +0 -5
  176. package/dist/bromcom-ui/p-c7030364.entry.js +0 -5
  177. package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
  178. package/dist/bromcom-ui/p-ede82918.js +0 -5
  179. package/dist/cjs/bcm-link.cjs.entry.js +0 -51
  180. package/dist/collection/components/molecules/number-input/number-input.css +0 -137
  181. package/dist/collection/components/molecules/number-input/number-input.style.js +0 -45
  182. package/dist/esm/bcm-link.entry.js +0 -47
  183. package/dist/types/components/molecules/number-input/number-input.style.d.ts +0 -200
@@ -0,0 +1,576 @@
1
+ export declare const inputStyle: import("tailwind-variants").TVReturnType<{
2
+ size: {
3
+ small: {
4
+ host: string;
5
+ inputContainer: string;
6
+ input: string;
7
+ };
8
+ medium: {
9
+ host: string;
10
+ inputContainer: string;
11
+ input: string;
12
+ };
13
+ large: {
14
+ host: string;
15
+ inputContainer: string;
16
+ input: string;
17
+ };
18
+ };
19
+ fullWidth: {
20
+ true: {
21
+ host: string;
22
+ };
23
+ };
24
+ noMargin: {
25
+ true: {
26
+ host: string;
27
+ };
28
+ };
29
+ hidden: {
30
+ true: {
31
+ host: string;
32
+ };
33
+ };
34
+ focused: {
35
+ true: {
36
+ host: string;
37
+ };
38
+ };
39
+ clearable: {
40
+ true: {
41
+ host: string;
42
+ };
43
+ };
44
+ disabled: {
45
+ true: {
46
+ host: string;
47
+ input: string;
48
+ inputContainer: string;
49
+ controlsBtn: string;
50
+ };
51
+ false: {
52
+ controlsBtn: string;
53
+ inputContainer: string[];
54
+ };
55
+ };
56
+ readonly: {
57
+ true: {
58
+ host: string;
59
+ };
60
+ };
61
+ invalid: {
62
+ true: {
63
+ host: string;
64
+ inputContainer: string;
65
+ };
66
+ };
67
+ unit: {
68
+ true: {
69
+ host: string;
70
+ };
71
+ };
72
+ error: {
73
+ true: {
74
+ host: string;
75
+ inputContainer: string;
76
+ };
77
+ };
78
+ }, {
79
+ host: string;
80
+ base: string;
81
+ inputContainer: string[];
82
+ input: string[];
83
+ slotClass: string;
84
+ clearButton: string[];
85
+ controls: string;
86
+ controlsBtn: string[];
87
+ controlsBtnUp: string;
88
+ controlsBtnDown: string;
89
+ controlsDivider: string;
90
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
91
+ size: {
92
+ small: {
93
+ host: string;
94
+ inputContainer: string;
95
+ input: string;
96
+ };
97
+ medium: {
98
+ host: string;
99
+ inputContainer: string;
100
+ input: string;
101
+ };
102
+ large: {
103
+ host: string;
104
+ inputContainer: string;
105
+ input: string;
106
+ };
107
+ };
108
+ fullWidth: {
109
+ true: {
110
+ host: string;
111
+ };
112
+ };
113
+ noMargin: {
114
+ true: {
115
+ host: string;
116
+ };
117
+ };
118
+ hidden: {
119
+ true: {
120
+ host: string;
121
+ };
122
+ };
123
+ focused: {
124
+ true: {
125
+ host: string;
126
+ };
127
+ };
128
+ clearable: {
129
+ true: {
130
+ host: string;
131
+ };
132
+ };
133
+ disabled: {
134
+ true: {
135
+ host: string;
136
+ input: string;
137
+ inputContainer: string;
138
+ controlsBtn: string;
139
+ };
140
+ false: {
141
+ controlsBtn: string;
142
+ inputContainer: string[];
143
+ };
144
+ };
145
+ readonly: {
146
+ true: {
147
+ host: string;
148
+ };
149
+ };
150
+ invalid: {
151
+ true: {
152
+ host: string;
153
+ inputContainer: string;
154
+ };
155
+ };
156
+ unit: {
157
+ true: {
158
+ host: string;
159
+ };
160
+ };
161
+ error: {
162
+ true: {
163
+ host: string;
164
+ inputContainer: string;
165
+ };
166
+ };
167
+ }, {
168
+ size: {
169
+ small: {
170
+ host: string;
171
+ inputContainer: string;
172
+ input: string;
173
+ };
174
+ medium: {
175
+ host: string;
176
+ inputContainer: string;
177
+ input: string;
178
+ };
179
+ large: {
180
+ host: string;
181
+ inputContainer: string;
182
+ input: string;
183
+ };
184
+ };
185
+ fullWidth: {
186
+ true: {
187
+ host: string;
188
+ };
189
+ };
190
+ noMargin: {
191
+ true: {
192
+ host: string;
193
+ };
194
+ };
195
+ hidden: {
196
+ true: {
197
+ host: string;
198
+ };
199
+ };
200
+ focused: {
201
+ true: {
202
+ host: string;
203
+ };
204
+ };
205
+ clearable: {
206
+ true: {
207
+ host: string;
208
+ };
209
+ };
210
+ disabled: {
211
+ true: {
212
+ host: string;
213
+ input: string;
214
+ inputContainer: string;
215
+ controlsBtn: string;
216
+ };
217
+ false: {
218
+ controlsBtn: string;
219
+ inputContainer: string[];
220
+ };
221
+ };
222
+ readonly: {
223
+ true: {
224
+ host: string;
225
+ };
226
+ };
227
+ invalid: {
228
+ true: {
229
+ host: string;
230
+ inputContainer: string;
231
+ };
232
+ };
233
+ unit: {
234
+ true: {
235
+ host: string;
236
+ };
237
+ };
238
+ error: {
239
+ true: {
240
+ host: string;
241
+ inputContainer: string;
242
+ };
243
+ };
244
+ }>, {
245
+ size: {
246
+ small: {
247
+ host: string;
248
+ inputContainer: string;
249
+ input: string;
250
+ };
251
+ medium: {
252
+ host: string;
253
+ inputContainer: string;
254
+ input: string;
255
+ };
256
+ large: {
257
+ host: string;
258
+ inputContainer: string;
259
+ input: string;
260
+ };
261
+ };
262
+ fullWidth: {
263
+ true: {
264
+ host: string;
265
+ };
266
+ };
267
+ noMargin: {
268
+ true: {
269
+ host: string;
270
+ };
271
+ };
272
+ hidden: {
273
+ true: {
274
+ host: string;
275
+ };
276
+ };
277
+ focused: {
278
+ true: {
279
+ host: string;
280
+ };
281
+ };
282
+ clearable: {
283
+ true: {
284
+ host: string;
285
+ };
286
+ };
287
+ disabled: {
288
+ true: {
289
+ host: string;
290
+ input: string;
291
+ inputContainer: string;
292
+ controlsBtn: string;
293
+ };
294
+ false: {
295
+ controlsBtn: string;
296
+ inputContainer: string[];
297
+ };
298
+ };
299
+ readonly: {
300
+ true: {
301
+ host: string;
302
+ };
303
+ };
304
+ invalid: {
305
+ true: {
306
+ host: string;
307
+ inputContainer: string;
308
+ };
309
+ };
310
+ unit: {
311
+ true: {
312
+ host: string;
313
+ };
314
+ };
315
+ error: {
316
+ true: {
317
+ host: string;
318
+ inputContainer: string;
319
+ };
320
+ };
321
+ }, {
322
+ host: string;
323
+ base: string;
324
+ inputContainer: string[];
325
+ input: string[];
326
+ slotClass: string;
327
+ clearButton: string[];
328
+ controls: string;
329
+ controlsBtn: string[];
330
+ controlsBtnUp: string;
331
+ controlsBtnDown: string;
332
+ controlsDivider: string;
333
+ }, import("tailwind-variants").TVReturnType<{
334
+ size: {
335
+ small: {
336
+ host: string;
337
+ inputContainer: string;
338
+ input: string;
339
+ };
340
+ medium: {
341
+ host: string;
342
+ inputContainer: string;
343
+ input: string;
344
+ };
345
+ large: {
346
+ host: string;
347
+ inputContainer: string;
348
+ input: string;
349
+ };
350
+ };
351
+ fullWidth: {
352
+ true: {
353
+ host: string;
354
+ };
355
+ };
356
+ noMargin: {
357
+ true: {
358
+ host: string;
359
+ };
360
+ };
361
+ hidden: {
362
+ true: {
363
+ host: string;
364
+ };
365
+ };
366
+ focused: {
367
+ true: {
368
+ host: string;
369
+ };
370
+ };
371
+ clearable: {
372
+ true: {
373
+ host: string;
374
+ };
375
+ };
376
+ disabled: {
377
+ true: {
378
+ host: string;
379
+ input: string;
380
+ inputContainer: string;
381
+ controlsBtn: string;
382
+ };
383
+ false: {
384
+ controlsBtn: string;
385
+ inputContainer: string[];
386
+ };
387
+ };
388
+ readonly: {
389
+ true: {
390
+ host: string;
391
+ };
392
+ };
393
+ invalid: {
394
+ true: {
395
+ host: string;
396
+ inputContainer: string;
397
+ };
398
+ };
399
+ unit: {
400
+ true: {
401
+ host: string;
402
+ };
403
+ };
404
+ error: {
405
+ true: {
406
+ host: string;
407
+ inputContainer: string;
408
+ };
409
+ };
410
+ }, {
411
+ host: string;
412
+ base: string;
413
+ inputContainer: string[];
414
+ input: string[];
415
+ slotClass: string;
416
+ clearButton: string[];
417
+ controls: string;
418
+ controlsBtn: string[];
419
+ controlsBtnUp: string;
420
+ controlsBtnDown: string;
421
+ controlsDivider: string;
422
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
423
+ size: {
424
+ small: {
425
+ host: string;
426
+ inputContainer: string;
427
+ input: string;
428
+ };
429
+ medium: {
430
+ host: string;
431
+ inputContainer: string;
432
+ input: string;
433
+ };
434
+ large: {
435
+ host: string;
436
+ inputContainer: string;
437
+ input: string;
438
+ };
439
+ };
440
+ fullWidth: {
441
+ true: {
442
+ host: string;
443
+ };
444
+ };
445
+ noMargin: {
446
+ true: {
447
+ host: string;
448
+ };
449
+ };
450
+ hidden: {
451
+ true: {
452
+ host: string;
453
+ };
454
+ };
455
+ focused: {
456
+ true: {
457
+ host: string;
458
+ };
459
+ };
460
+ clearable: {
461
+ true: {
462
+ host: string;
463
+ };
464
+ };
465
+ disabled: {
466
+ true: {
467
+ host: string;
468
+ input: string;
469
+ inputContainer: string;
470
+ controlsBtn: string;
471
+ };
472
+ false: {
473
+ controlsBtn: string;
474
+ inputContainer: string[];
475
+ };
476
+ };
477
+ readonly: {
478
+ true: {
479
+ host: string;
480
+ };
481
+ };
482
+ invalid: {
483
+ true: {
484
+ host: string;
485
+ inputContainer: string;
486
+ };
487
+ };
488
+ unit: {
489
+ true: {
490
+ host: string;
491
+ };
492
+ };
493
+ error: {
494
+ true: {
495
+ host: string;
496
+ inputContainer: string;
497
+ };
498
+ };
499
+ }, {
500
+ size: {
501
+ small: {
502
+ host: string;
503
+ inputContainer: string;
504
+ input: string;
505
+ };
506
+ medium: {
507
+ host: string;
508
+ inputContainer: string;
509
+ input: string;
510
+ };
511
+ large: {
512
+ host: string;
513
+ inputContainer: string;
514
+ input: string;
515
+ };
516
+ };
517
+ fullWidth: {
518
+ true: {
519
+ host: string;
520
+ };
521
+ };
522
+ noMargin: {
523
+ true: {
524
+ host: string;
525
+ };
526
+ };
527
+ hidden: {
528
+ true: {
529
+ host: string;
530
+ };
531
+ };
532
+ focused: {
533
+ true: {
534
+ host: string;
535
+ };
536
+ };
537
+ clearable: {
538
+ true: {
539
+ host: string;
540
+ };
541
+ };
542
+ disabled: {
543
+ true: {
544
+ host: string;
545
+ input: string;
546
+ inputContainer: string;
547
+ controlsBtn: string;
548
+ };
549
+ false: {
550
+ controlsBtn: string;
551
+ inputContainer: string[];
552
+ };
553
+ };
554
+ readonly: {
555
+ true: {
556
+ host: string;
557
+ };
558
+ };
559
+ invalid: {
560
+ true: {
561
+ host: string;
562
+ inputContainer: string;
563
+ };
564
+ };
565
+ unit: {
566
+ true: {
567
+ host: string;
568
+ };
569
+ };
570
+ error: {
571
+ true: {
572
+ host: string;
573
+ inputContainer: string;
574
+ };
575
+ };
576
+ }>, unknown, unknown, undefined>>;
@@ -0,0 +1,64 @@
1
+ import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtime";
2
+ import { InputTypes, SizeTypes, StatusTypes } from "../../../models/bcm-types";
3
+ export declare class BcmInput2 implements ComponentInterface {
4
+ inputElement: HTMLInputElement;
5
+ /** Props **/
6
+ _id: string;
7
+ _internal_id: string;
8
+ value: any;
9
+ size: SizeTypes;
10
+ label: string;
11
+ pattern: string;
12
+ tooltip: string;
13
+ placeholder: string;
14
+ disabled: boolean;
15
+ readonly: boolean;
16
+ clearable: boolean;
17
+ autocomplete: boolean;
18
+ name: string;
19
+ type: InputTypes;
20
+ hidden: boolean;
21
+ required: boolean;
22
+ fullWidth: boolean;
23
+ noDefaultIcon: boolean;
24
+ disableWatchValue: boolean;
25
+ passwordToggle: boolean;
26
+ maxLength: number;
27
+ minLength: number;
28
+ unitPrefix: string;
29
+ unit: string;
30
+ decimal: boolean;
31
+ min: number;
32
+ max: number;
33
+ step: any;
34
+ caption: string;
35
+ noCaption: boolean;
36
+ captionType: StatusTypes;
37
+ captionError: string;
38
+ customErrorMessage: string;
39
+ _prefix: string;
40
+ _suffix: string;
41
+ captionCache: string;
42
+ captionTypeCache: any;
43
+ /** initial States **/
44
+ inValid: boolean;
45
+ valueCache: any;
46
+ focused: boolean;
47
+ isPasswordVisible: boolean;
48
+ /** Events **/
49
+ focus: EventEmitter;
50
+ blur: EventEmitter;
51
+ clear: EventEmitter;
52
+ change: EventEmitter;
53
+ input: EventEmitter;
54
+ onBcmFocus(): Promise<void>;
55
+ onBcmBlur(): Promise<void>;
56
+ onBcmSelect(): Promise<void>;
57
+ handleClear(e: MouseEvent): void;
58
+ handleInput(_e: Event): void;
59
+ handleChange(_e: Event): void;
60
+ handleFocus(e: Event): void;
61
+ handleBlur(e: Event): void;
62
+ handleKeyUp(e: KeyboardEvent): void;
63
+ render(): any;
64
+ }
@@ -1,29 +1,78 @@
1
- import { ComponentInterface } from "../../../stencil-public-runtime";
2
1
  import { SizeTypes, StatusTypes } from "../../../models";
2
+ import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtime";
3
3
  export declare class NumberInput implements ComponentInterface {
4
+ el: HTMLElement;
4
5
  _id: string;
5
- size: SizeTypes;
6
- min: number;
7
- max: number;
8
- step: number;
9
- placeholder: string;
6
+ value?: number | string;
7
+ defaultValue?: number | string;
8
+ _prefix?: string;
9
+ _suffix?: string;
10
+ size?: SizeTypes;
11
+ min?: number | string;
12
+ max?: number | string;
13
+ step?: number;
10
14
  label: string;
11
- tooltip: string;
12
- value: number;
13
- disabled: boolean;
14
- readonly: boolean;
15
- required: boolean;
16
- pattern: string;
15
+ name: string;
16
+ fullWidth: boolean;
17
+ clearable: boolean;
18
+ /** Input states */
19
+ readonly?: boolean;
20
+ disabled?: boolean;
21
+ required?: boolean;
22
+ /** Number Input Props */
23
+ mode: "strict" | "none";
24
+ placeholder: string;
25
+ thousandSeparator?: string | boolean;
26
+ decimalSeparator?: string;
27
+ decimalScale?: number;
28
+ fixedDecimalScale?: boolean;
29
+ allowNegative?: boolean;
30
+ allowLeadingZeros?: boolean;
31
+ unitPrefix?: string;
32
+ unitSuffix?: string;
33
+ /** Caption Props */
17
34
  caption: string;
18
35
  noCaption: boolean;
19
36
  captionType: StatusTypes;
20
37
  captionError: string;
21
38
  customErrorMessage: string;
22
- prefixIcon: string;
23
- suffixIcon: string;
39
+ /** Events **/
40
+ focus: EventEmitter;
41
+ blur: EventEmitter;
42
+ clear: EventEmitter;
43
+ change: EventEmitter;
44
+ input: EventEmitter;
45
+ beforeClear: EventEmitter;
46
+ _onChange: EventEmitter;
47
+ /** initial States **/
24
48
  isFocus: boolean;
25
- isError: boolean;
26
- protected nativeInput: HTMLInputElement;
27
- private blockInvalidChar;
49
+ captionCache: string;
50
+ captionTypeCache: any;
51
+ valueCache: any;
52
+ private inputElement;
53
+ private inValid;
54
+ connectedCallback(): void;
55
+ componentDidLoad(): void;
56
+ private onInput;
57
+ private onChange;
58
+ private onFocus;
59
+ private onBlur;
60
+ private onKeydown;
61
+ private listener;
62
+ private up;
63
+ private down;
64
+ private handleClear;
65
+ private checkLength;
66
+ watchValue(): void;
67
+ onBcmFocus(): Promise<void>;
68
+ onBcmBlur(): Promise<void>;
69
+ onBcmSelect(): Promise<void>;
70
+ set(data: any): Promise<void>;
71
+ get(): Promise<string | number>;
72
+ setValue(value: any): Promise<void>;
73
+ setClear(): Promise<void>;
74
+ resetCaption(): Promise<void>;
75
+ setCaption(caption?: any, captionType?: any): Promise<void>;
76
+ disconnectedCallback(): void;
28
77
  render(): any;
29
78
  }