bromcom-ui 2.11.1-rc.9-3 → 2.11.1-rc.9-5
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.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-ede82918.js → p-0745c696.js} +1 -1
- package/dist/bromcom-ui/{p-dc607ae4.entry.js → p-0e3e8cc2.entry.js} +1 -1
- package/dist/bromcom-ui/p-0fa6d3a8.entry.js +5 -0
- package/dist/bromcom-ui/{p-14ed8029.entry.js → p-160fba10.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3361f6c9.entry.js → p-201b04e8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-627c7769.entry.js → p-29263575.entry.js} +1 -1
- package/dist/bromcom-ui/p-2b42d77e.entry.js +5 -0
- package/dist/bromcom-ui/{p-e497cf5d.entry.js → p-2d9b633e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5bf1657b.entry.js → p-2e9c0070.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ebeb9689.entry.js → p-33f3c5c5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-abd2f9ff.entry.js → p-4342cdf8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bca0ff0a.entry.js → p-4b44c0ea.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a018f340.entry.js → p-51ba5764.entry.js} +1 -1
- package/dist/bromcom-ui/{p-35c215f2.entry.js → p-57678987.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fba1682e.entry.js → p-59327403.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c10b07cc.entry.js → p-5bd4ba44.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9589f69c.entry.js → p-5d670fd7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-adcb30bc.entry.js → p-5dcc28c3.entry.js} +1 -1
- package/dist/bromcom-ui/p-5f345ad2.entry.js +5 -0
- package/dist/bromcom-ui/{p-70253803.entry.js → p-62d2c650.entry.js} +1 -1
- package/dist/bromcom-ui/{p-61753299.js → p-6bea284a.js} +1 -1
- package/dist/bromcom-ui/{p-178fa936.entry.js → p-6ddd9d7e.entry.js} +1 -1
- package/dist/bromcom-ui/p-788d1fb1.entry.js +5 -0
- package/dist/bromcom-ui/{p-0eacfbb2.entry.js → p-856dac72.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8b31581f.js → p-8bb0fe5d.js} +1 -1
- package/dist/bromcom-ui/{p-3cdfd8eb.entry.js → p-8e972c24.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a4b675ef.entry.js → p-93c016f1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-930f3618.js → p-9586997f.js} +1 -1
- package/dist/bromcom-ui/{p-6f37a4d7.entry.js → p-9b2e26f6.entry.js} +1 -1
- package/dist/bromcom-ui/p-9b8fcf49.entry.js +16 -0
- package/dist/bromcom-ui/{p-db15dca3.entry.js → p-a1d44a10.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e93d6619.js → p-a2864264.js} +1 -1
- package/dist/bromcom-ui/p-aeb4be41.js +5 -0
- package/dist/bromcom-ui/{p-7fd22a35.entry.js → p-b0dc804a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5a391fcd.js → p-b51e5b06.js} +1 -1
- package/dist/bromcom-ui/p-c75b2352.entry.js +5 -0
- package/dist/bromcom-ui/p-c77541f4.js +10 -0
- package/dist/bromcom-ui/{p-5a22b74b.entry.js → p-cb56a1d9.entry.js} +1 -1
- package/dist/bromcom-ui/p-d1298c40.js +5 -0
- package/dist/bromcom-ui/{p-90223f9f.entry.js → p-d3b38aff.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f9b59bcc.entry.js → p-d6cee6ba.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e10780ed.entry.js → p-dce99e4d.entry.js} +1 -1
- package/dist/cjs/{bcm-accordion_46.cjs.entry.js → bcm-accordion_47.cjs.entry.js} +8764 -8633
- package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +6 -6
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/bcm-caption.cjs.entry.js +6 -6
- package/dist/cjs/bcm-card.cjs.entry.js +4 -4
- package/dist/cjs/bcm-checkbox-lite_8.cjs.entry.js +3 -3
- package/dist/cjs/bcm-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
- package/dist/cjs/bcm-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-default.cjs.entry.js +3 -3
- package/dist/cjs/bcm-form-2.cjs.entry.js +5 -4
- package/dist/cjs/bcm-input-2.cjs.entry.js +153 -0
- package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -3
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -6
- package/dist/cjs/bcm-number-input.cjs.entry.js +260 -72
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +6 -6
- package/dist/cjs/bcm-range.cjs.entry.js +3 -3
- package/dist/cjs/bcm-react-number.cjs.entry.js +1230 -0
- package/dist/cjs/bcm-select.cjs.entry.js +1 -1
- package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
- package/dist/cjs/bcm-table.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
- package/dist/cjs/bcm-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-toast.cjs.entry.js +3 -3
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{color-helper-c3a819ea.js → color-helper-dc98a2ca.js} +1 -1
- package/dist/cjs/{colors-078851ec.js → colors-250d0982.js} +13 -7
- package/dist/cjs/{generate-f73a098d.js → generate-e4106db0.js} +2 -2
- package/dist/cjs/{global-baf04c81.js → global-c0174398.js} +1 -1
- package/dist/cjs/index-e05a7c6f.js +545 -0
- package/dist/cjs/input.style-b5676e6a.js +122 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-0543a62e.js → number-helper-0846aefe.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +4 -4
- package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
- package/dist/cjs/{package-e717a31f.js → package-822a0e3f.js} +1 -1
- package/dist/cjs/{validators-77768582.js → validators-0fadce56.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/atoms/link/link.css +9 -3
- package/dist/collection/components/molecules/input/input.style.js +117 -0
- package/dist/collection/components/molecules/input/input2.js +918 -0
- package/dist/collection/components/molecules/number-input/number-input.js +777 -96
- package/dist/collection/components/molecules/number-input/react-input.js +96 -0
- package/dist/collection/components/molecules/radio/radio.js +1 -1
- package/dist/collection/components/organism/form/form.js +2 -2
- package/dist/collection/components/organism/form-2/bcm-form-components.js +2 -1
- package/dist/collection/components/organism/list/list.css +0 -1
- package/dist/collection/components/other_deprecated/select/select.css +1 -1
- package/dist/collection/components/third-parts/rc-picker/date.js +1 -1
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +40 -5
- package/dist/collection/components/third-parts/rc-picker/rc-picker.js +11 -2
- package/dist/components/{raf.js → Overflow.js} +692 -69
- package/dist/components/bcm-date.js +1 -1
- package/dist/components/bcm-form-2.js +2 -1
- package/dist/components/bcm-input-2.d.ts +11 -0
- package/dist/components/bcm-input-2.js +225 -0
- package/dist/components/bcm-number-input.js +295 -79
- package/dist/components/bcm-react-number.d.ts +11 -0
- package/dist/components/bcm-react-number.js +10 -0
- package/dist/components/bcm-select.js +1 -1
- package/dist/components/colors2.js +13 -7
- package/dist/components/form.js +2 -2
- package/dist/components/generate.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/input.style.js +120 -0
- package/dist/components/link.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/rc-overflow.js +1 -593
- package/dist/components/rc-picker.js +8620 -8025
- package/dist/components/react-input.js +1242 -0
- package/dist/esm/{bcm-accordion_46.entry.js → bcm-accordion_47.entry.js} +8656 -8526
- package/dist/esm/bcm-alert.entry.js +3 -3
- package/dist/esm/bcm-attendance-actions-comment.entry.js +6 -6
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +6 -6
- package/dist/esm/bcm-breadcrumb.entry.js +3 -3
- package/dist/esm/bcm-caption.entry.js +6 -6
- package/dist/esm/bcm-card.entry.js +4 -4
- package/dist/esm/bcm-checkbox-lite_8.entry.js +3 -3
- package/dist/esm/bcm-chip-group.entry.js +6 -6
- package/dist/esm/bcm-collapse.entry.js +3 -3
- package/dist/esm/bcm-date-picker.entry.js +3 -3
- package/dist/esm/bcm-datetime-picker.entry.js +3 -3
- package/dist/esm/bcm-default.entry.js +3 -3
- package/dist/esm/bcm-form-2.entry.js +5 -4
- package/dist/esm/bcm-input-2.entry.js +149 -0
- package/dist/esm/bcm-input-custom.entry.js +3 -3
- package/dist/esm/bcm-input-dropdown.entry.js +6 -6
- package/dist/esm/bcm-modal-2-footer.entry.js +6 -6
- package/dist/esm/bcm-modal-2-header.entry.js +6 -6
- package/dist/esm/bcm-modal-2.entry.js +6 -6
- package/dist/esm/bcm-number-input.entry.js +259 -71
- package/dist/esm/bcm-overlay_2.entry.js +1 -1
- package/dist/esm/bcm-popover.entry.js +6 -6
- package/dist/esm/bcm-range.entry.js +3 -3
- package/dist/esm/bcm-react-number.entry.js +1226 -0
- package/dist/esm/bcm-select.entry.js +1 -1
- package/dist/esm/bcm-skeleton.entry.js +6 -6
- package/dist/esm/bcm-table.entry.js +6 -6
- package/dist/esm/bcm-tag.entry.js +4 -4
- package/dist/esm/bcm-time-picker.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +3 -3
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{color-helper-3b528349.js → color-helper-74614f24.js} +1 -1
- package/dist/esm/{colors-c530a5b8.js → colors-dd598eea.js} +13 -7
- package/dist/esm/{generate-c2c0b02e.js → generate-dbe68f53.js} +2 -2
- package/dist/esm/{global-2473677b.js → global-0bea93f1.js} +1 -1
- package/dist/esm/index-036974d7.js +541 -0
- package/dist/esm/input.style-e855c0f3.js +120 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-75447fa6.js → number-helper-4a35e676.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +4 -4
- package/dist/esm/old-bcm-popover.entry.js +3 -3
- package/dist/esm/{package-28dc6847.js → package-c9093920.js} +1 -1
- package/dist/esm/{validators-5a383988.js → validators-0d9bab98.js} +1 -1
- package/dist/types/components/molecules/input/input.style.d.ts +576 -0
- package/dist/types/components/molecules/input/input2.d.ts +64 -0
- package/dist/types/components/molecules/number-input/number-input.d.ts +66 -17
- package/dist/types/components/molecules/number-input/react-input.d.ts +16 -0
- package/dist/types/components.d.ts +203 -19
- package/package.json +4 -3
- package/dist/bromcom-ui/p-350dbff0.entry.js +0 -5
- package/dist/bromcom-ui/p-3a43bf45.js +0 -5
- package/dist/bromcom-ui/p-64f21481.entry.js +0 -20
- package/dist/bromcom-ui/p-bb46d881.entry.js +0 -5
- package/dist/bromcom-ui/p-c7030364.entry.js +0 -5
- package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
- package/dist/cjs/bcm-link.cjs.entry.js +0 -51
- package/dist/collection/components/molecules/number-input/number-input.css +0 -137
- package/dist/collection/components/molecules/number-input/number-input.style.js +0 -45
- package/dist/esm/bcm-link.entry.js +0 -47
- 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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
23
|
-
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
}
|