bromcom-ui 3.0.0-alpha.4 → 3.0.0-alpha.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-01eaca9a.entry.js +5 -0
- package/dist/bromcom-ui/p-3ddd3c83.entry.js +5 -0
- package/dist/bromcom-ui/p-aa67918a.entry.js +5 -0
- package/dist/bromcom-ui/p-d5464577.entry.js +16 -0
- package/dist/cjs/bcm-accordion_69.cjs.entry.js +704 -31
- package/dist/cjs/bcm-file-upload.cjs.entry.js +578 -0
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -0
- package/dist/cjs/bcm-number-input.cjs.entry.js +8 -2
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/button/button.js +1 -1
- package/dist/collection/components/atoms/button/types.js +7 -0
- package/dist/collection/components/molecules/dropdown/dropdown.js +36 -1
- package/dist/collection/components/molecules/linked/linked-focus-manager.js +86 -0
- package/dist/collection/components/molecules/linked/linked.js +43 -1
- package/dist/collection/components/molecules/number-input/number-input.js +8 -2
- package/dist/collection/components/molecules/number-input/react-input.js +1 -1
- package/dist/collection/components/molecules/upload/file-upload.component.js +1060 -0
- package/dist/collection/components/molecules/upload/file-upload.style.js +201 -0
- package/dist/collection/components/organism/form/form.js +1 -0
- package/dist/collection/components/organism/form-2/bcm-form-components.js +1 -0
- package/dist/collection/components/organism/list/list-focus-manager.js +344 -0
- package/dist/collection/components/organism/list/list-key-control.js +9 -4
- package/dist/collection/components/organism/list/list.css +8 -3
- package/dist/collection/components/organism/list/list.js +226 -26
- package/dist/collection/components/other_deprecated/old-tag/old-tag.js +1 -1
- package/dist/collection/components/other_deprecated/tag/tag.js +1 -1
- package/dist/collection/templates/list-item-template.js +2 -1
- package/dist/components/bcm-dropdown.js +35 -0
- package/dist/components/bcm-file-upload.d.ts +11 -0
- package/dist/components/bcm-file-upload.js +625 -0
- package/dist/components/bcm-form-2.js +1 -0
- package/dist/components/bcm-number-input.js +8 -2
- package/dist/components/button.js +7 -0
- package/dist/components/form.js +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/linked.js +105 -2
- package/dist/components/list.js +559 -31
- package/dist/esm/bcm-accordion_69.entry.js +704 -31
- package/dist/esm/bcm-file-upload.entry.js +574 -0
- package/dist/esm/bcm-form-2.entry.js +1 -0
- package/dist/esm/bcm-number-input.entry.js +8 -2
- package/dist/esm/bromcom-ui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/atoms/button/types.d.ts +8 -1
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +7 -0
- package/dist/types/components/molecules/linked/linked-focus-manager.d.ts +13 -0
- package/dist/types/components/molecules/linked/linked.d.ts +3 -0
- package/dist/types/components/molecules/number-input/number-input.d.ts +1 -0
- package/dist/types/components/molecules/upload/file-upload.component.d.ts +233 -0
- package/dist/types/components/molecules/upload/file-upload.style.d.ts +548 -0
- package/dist/types/components/organism/list/list-focus-manager.d.ts +53 -0
- package/dist/types/components/organism/list/list-key-control.d.ts +1 -0
- package/dist/types/components/organism/list/list.d.ts +18 -1
- package/dist/types/components.d.ts +417 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-8e7274e4.entry.js +0 -5
- package/dist/bromcom-ui/p-9e0dd503.entry.js +0 -16
- package/dist/bromcom-ui/p-a320cde8.entry.js +0 -5
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
export declare const uploadClasses: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
medium: {
|
|
4
|
+
container: string;
|
|
5
|
+
zone: string;
|
|
6
|
+
zoneTextWrapper: string;
|
|
7
|
+
fileRow: string;
|
|
8
|
+
fileRowHeader: string;
|
|
9
|
+
fileIcon: string;
|
|
10
|
+
fileTitle: string;
|
|
11
|
+
iconBtn: string;
|
|
12
|
+
progressWrapper: string;
|
|
13
|
+
progressTrack: string;
|
|
14
|
+
};
|
|
15
|
+
small: {
|
|
16
|
+
container: string;
|
|
17
|
+
zone: string;
|
|
18
|
+
zoneTextWrapper: string;
|
|
19
|
+
fileRow: string;
|
|
20
|
+
fileRowHeader: string;
|
|
21
|
+
fileTitle: string;
|
|
22
|
+
fileIcon: string;
|
|
23
|
+
percent: string;
|
|
24
|
+
iconBtn: string;
|
|
25
|
+
progressWrapper: string;
|
|
26
|
+
progressTrack: string;
|
|
27
|
+
list: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
position: {
|
|
31
|
+
vertical: {
|
|
32
|
+
zone: string;
|
|
33
|
+
zoneTextWrapper: string;
|
|
34
|
+
zoneTextSub: string;
|
|
35
|
+
};
|
|
36
|
+
horizontal: {
|
|
37
|
+
zone: string;
|
|
38
|
+
zoneTextWrapper: string;
|
|
39
|
+
};
|
|
40
|
+
button: {
|
|
41
|
+
container: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
true: "";
|
|
46
|
+
false: "";
|
|
47
|
+
};
|
|
48
|
+
zoneHovered: {
|
|
49
|
+
true: "";
|
|
50
|
+
false: "";
|
|
51
|
+
};
|
|
52
|
+
dragActive: {
|
|
53
|
+
true: "";
|
|
54
|
+
false: "";
|
|
55
|
+
};
|
|
56
|
+
zoneError: {
|
|
57
|
+
true: "";
|
|
58
|
+
false: "";
|
|
59
|
+
};
|
|
60
|
+
fullWidth: {
|
|
61
|
+
true: {
|
|
62
|
+
container: string;
|
|
63
|
+
};
|
|
64
|
+
false: {
|
|
65
|
+
container: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
container: string;
|
|
70
|
+
label: string;
|
|
71
|
+
triggerWrap: string;
|
|
72
|
+
zone: string[];
|
|
73
|
+
iconContainer: string;
|
|
74
|
+
iconSizeClass: string;
|
|
75
|
+
zoneTextWrapper: string;
|
|
76
|
+
zoneTextMain: string;
|
|
77
|
+
zoneLink: string;
|
|
78
|
+
zoneTextSub: string;
|
|
79
|
+
list: string;
|
|
80
|
+
fileRow: string[];
|
|
81
|
+
fileRowHeader: string;
|
|
82
|
+
fileIcon: string;
|
|
83
|
+
fileTitle: string;
|
|
84
|
+
progressWrapper: string;
|
|
85
|
+
progressTrack: string;
|
|
86
|
+
progressBar: string;
|
|
87
|
+
percent: string;
|
|
88
|
+
actions: string;
|
|
89
|
+
iconBtn: string[];
|
|
90
|
+
errorArea: string[];
|
|
91
|
+
errorIcon: string;
|
|
92
|
+
errorClose: string;
|
|
93
|
+
captionWrap: string;
|
|
94
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
95
|
+
size: {
|
|
96
|
+
medium: {
|
|
97
|
+
container: string;
|
|
98
|
+
zone: string;
|
|
99
|
+
zoneTextWrapper: string;
|
|
100
|
+
fileRow: string;
|
|
101
|
+
fileRowHeader: string;
|
|
102
|
+
fileIcon: string;
|
|
103
|
+
fileTitle: string;
|
|
104
|
+
iconBtn: string;
|
|
105
|
+
progressWrapper: string;
|
|
106
|
+
progressTrack: string;
|
|
107
|
+
};
|
|
108
|
+
small: {
|
|
109
|
+
container: string;
|
|
110
|
+
zone: string;
|
|
111
|
+
zoneTextWrapper: string;
|
|
112
|
+
fileRow: string;
|
|
113
|
+
fileRowHeader: string;
|
|
114
|
+
fileTitle: string;
|
|
115
|
+
fileIcon: string;
|
|
116
|
+
percent: string;
|
|
117
|
+
iconBtn: string;
|
|
118
|
+
progressWrapper: string;
|
|
119
|
+
progressTrack: string;
|
|
120
|
+
list: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
position: {
|
|
124
|
+
vertical: {
|
|
125
|
+
zone: string;
|
|
126
|
+
zoneTextWrapper: string;
|
|
127
|
+
zoneTextSub: string;
|
|
128
|
+
};
|
|
129
|
+
horizontal: {
|
|
130
|
+
zone: string;
|
|
131
|
+
zoneTextWrapper: string;
|
|
132
|
+
};
|
|
133
|
+
button: {
|
|
134
|
+
container: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
disabled: {
|
|
138
|
+
true: "";
|
|
139
|
+
false: "";
|
|
140
|
+
};
|
|
141
|
+
zoneHovered: {
|
|
142
|
+
true: "";
|
|
143
|
+
false: "";
|
|
144
|
+
};
|
|
145
|
+
dragActive: {
|
|
146
|
+
true: "";
|
|
147
|
+
false: "";
|
|
148
|
+
};
|
|
149
|
+
zoneError: {
|
|
150
|
+
true: "";
|
|
151
|
+
false: "";
|
|
152
|
+
};
|
|
153
|
+
fullWidth: {
|
|
154
|
+
true: {
|
|
155
|
+
container: string;
|
|
156
|
+
};
|
|
157
|
+
false: {
|
|
158
|
+
container: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
}, {
|
|
162
|
+
size: {
|
|
163
|
+
medium: {
|
|
164
|
+
container: string;
|
|
165
|
+
zone: string;
|
|
166
|
+
zoneTextWrapper: string;
|
|
167
|
+
fileRow: string;
|
|
168
|
+
fileRowHeader: string;
|
|
169
|
+
fileIcon: string;
|
|
170
|
+
fileTitle: string;
|
|
171
|
+
iconBtn: string;
|
|
172
|
+
progressWrapper: string;
|
|
173
|
+
progressTrack: string;
|
|
174
|
+
};
|
|
175
|
+
small: {
|
|
176
|
+
container: string;
|
|
177
|
+
zone: string;
|
|
178
|
+
zoneTextWrapper: string;
|
|
179
|
+
fileRow: string;
|
|
180
|
+
fileRowHeader: string;
|
|
181
|
+
fileTitle: string;
|
|
182
|
+
fileIcon: string;
|
|
183
|
+
percent: string;
|
|
184
|
+
iconBtn: string;
|
|
185
|
+
progressWrapper: string;
|
|
186
|
+
progressTrack: string;
|
|
187
|
+
list: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
position: {
|
|
191
|
+
vertical: {
|
|
192
|
+
zone: string;
|
|
193
|
+
zoneTextWrapper: string;
|
|
194
|
+
zoneTextSub: string;
|
|
195
|
+
};
|
|
196
|
+
horizontal: {
|
|
197
|
+
zone: string;
|
|
198
|
+
zoneTextWrapper: string;
|
|
199
|
+
};
|
|
200
|
+
button: {
|
|
201
|
+
container: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
disabled: {
|
|
205
|
+
true: "";
|
|
206
|
+
false: "";
|
|
207
|
+
};
|
|
208
|
+
zoneHovered: {
|
|
209
|
+
true: "";
|
|
210
|
+
false: "";
|
|
211
|
+
};
|
|
212
|
+
dragActive: {
|
|
213
|
+
true: "";
|
|
214
|
+
false: "";
|
|
215
|
+
};
|
|
216
|
+
zoneError: {
|
|
217
|
+
true: "";
|
|
218
|
+
false: "";
|
|
219
|
+
};
|
|
220
|
+
fullWidth: {
|
|
221
|
+
true: {
|
|
222
|
+
container: string;
|
|
223
|
+
};
|
|
224
|
+
false: {
|
|
225
|
+
container: string;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
}>, {
|
|
229
|
+
size: {
|
|
230
|
+
medium: {
|
|
231
|
+
container: string;
|
|
232
|
+
zone: string;
|
|
233
|
+
zoneTextWrapper: string;
|
|
234
|
+
fileRow: string;
|
|
235
|
+
fileRowHeader: string;
|
|
236
|
+
fileIcon: string;
|
|
237
|
+
fileTitle: string;
|
|
238
|
+
iconBtn: string;
|
|
239
|
+
progressWrapper: string;
|
|
240
|
+
progressTrack: string;
|
|
241
|
+
};
|
|
242
|
+
small: {
|
|
243
|
+
container: string;
|
|
244
|
+
zone: string;
|
|
245
|
+
zoneTextWrapper: string;
|
|
246
|
+
fileRow: string;
|
|
247
|
+
fileRowHeader: string;
|
|
248
|
+
fileTitle: string;
|
|
249
|
+
fileIcon: string;
|
|
250
|
+
percent: string;
|
|
251
|
+
iconBtn: string;
|
|
252
|
+
progressWrapper: string;
|
|
253
|
+
progressTrack: string;
|
|
254
|
+
list: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
position: {
|
|
258
|
+
vertical: {
|
|
259
|
+
zone: string;
|
|
260
|
+
zoneTextWrapper: string;
|
|
261
|
+
zoneTextSub: string;
|
|
262
|
+
};
|
|
263
|
+
horizontal: {
|
|
264
|
+
zone: string;
|
|
265
|
+
zoneTextWrapper: string;
|
|
266
|
+
};
|
|
267
|
+
button: {
|
|
268
|
+
container: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
disabled: {
|
|
272
|
+
true: "";
|
|
273
|
+
false: "";
|
|
274
|
+
};
|
|
275
|
+
zoneHovered: {
|
|
276
|
+
true: "";
|
|
277
|
+
false: "";
|
|
278
|
+
};
|
|
279
|
+
dragActive: {
|
|
280
|
+
true: "";
|
|
281
|
+
false: "";
|
|
282
|
+
};
|
|
283
|
+
zoneError: {
|
|
284
|
+
true: "";
|
|
285
|
+
false: "";
|
|
286
|
+
};
|
|
287
|
+
fullWidth: {
|
|
288
|
+
true: {
|
|
289
|
+
container: string;
|
|
290
|
+
};
|
|
291
|
+
false: {
|
|
292
|
+
container: string;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
}, {
|
|
296
|
+
container: string;
|
|
297
|
+
label: string;
|
|
298
|
+
triggerWrap: string;
|
|
299
|
+
zone: string[];
|
|
300
|
+
iconContainer: string;
|
|
301
|
+
iconSizeClass: string;
|
|
302
|
+
zoneTextWrapper: string;
|
|
303
|
+
zoneTextMain: string;
|
|
304
|
+
zoneLink: string;
|
|
305
|
+
zoneTextSub: string;
|
|
306
|
+
list: string;
|
|
307
|
+
fileRow: string[];
|
|
308
|
+
fileRowHeader: string;
|
|
309
|
+
fileIcon: string;
|
|
310
|
+
fileTitle: string;
|
|
311
|
+
progressWrapper: string;
|
|
312
|
+
progressTrack: string;
|
|
313
|
+
progressBar: string;
|
|
314
|
+
percent: string;
|
|
315
|
+
actions: string;
|
|
316
|
+
iconBtn: string[];
|
|
317
|
+
errorArea: string[];
|
|
318
|
+
errorIcon: string;
|
|
319
|
+
errorClose: string;
|
|
320
|
+
captionWrap: string;
|
|
321
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
322
|
+
size: {
|
|
323
|
+
medium: {
|
|
324
|
+
container: string;
|
|
325
|
+
zone: string;
|
|
326
|
+
zoneTextWrapper: string;
|
|
327
|
+
fileRow: string;
|
|
328
|
+
fileRowHeader: string;
|
|
329
|
+
fileIcon: string;
|
|
330
|
+
fileTitle: string;
|
|
331
|
+
iconBtn: string;
|
|
332
|
+
progressWrapper: string;
|
|
333
|
+
progressTrack: string;
|
|
334
|
+
};
|
|
335
|
+
small: {
|
|
336
|
+
container: string;
|
|
337
|
+
zone: string;
|
|
338
|
+
zoneTextWrapper: string;
|
|
339
|
+
fileRow: string;
|
|
340
|
+
fileRowHeader: string;
|
|
341
|
+
fileTitle: string;
|
|
342
|
+
fileIcon: string;
|
|
343
|
+
percent: string;
|
|
344
|
+
iconBtn: string;
|
|
345
|
+
progressWrapper: string;
|
|
346
|
+
progressTrack: string;
|
|
347
|
+
list: string;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
position: {
|
|
351
|
+
vertical: {
|
|
352
|
+
zone: string;
|
|
353
|
+
zoneTextWrapper: string;
|
|
354
|
+
zoneTextSub: string;
|
|
355
|
+
};
|
|
356
|
+
horizontal: {
|
|
357
|
+
zone: string;
|
|
358
|
+
zoneTextWrapper: string;
|
|
359
|
+
};
|
|
360
|
+
button: {
|
|
361
|
+
container: string;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
disabled: {
|
|
365
|
+
true: "";
|
|
366
|
+
false: "";
|
|
367
|
+
};
|
|
368
|
+
zoneHovered: {
|
|
369
|
+
true: "";
|
|
370
|
+
false: "";
|
|
371
|
+
};
|
|
372
|
+
dragActive: {
|
|
373
|
+
true: "";
|
|
374
|
+
false: "";
|
|
375
|
+
};
|
|
376
|
+
zoneError: {
|
|
377
|
+
true: "";
|
|
378
|
+
false: "";
|
|
379
|
+
};
|
|
380
|
+
fullWidth: {
|
|
381
|
+
true: {
|
|
382
|
+
container: string;
|
|
383
|
+
};
|
|
384
|
+
false: {
|
|
385
|
+
container: string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
}, {
|
|
389
|
+
container: string;
|
|
390
|
+
label: string;
|
|
391
|
+
triggerWrap: string;
|
|
392
|
+
zone: string[];
|
|
393
|
+
iconContainer: string;
|
|
394
|
+
iconSizeClass: string;
|
|
395
|
+
zoneTextWrapper: string;
|
|
396
|
+
zoneTextMain: string;
|
|
397
|
+
zoneLink: string;
|
|
398
|
+
zoneTextSub: string;
|
|
399
|
+
list: string;
|
|
400
|
+
fileRow: string[];
|
|
401
|
+
fileRowHeader: string;
|
|
402
|
+
fileIcon: string;
|
|
403
|
+
fileTitle: string;
|
|
404
|
+
progressWrapper: string;
|
|
405
|
+
progressTrack: string;
|
|
406
|
+
progressBar: string;
|
|
407
|
+
percent: string;
|
|
408
|
+
actions: string;
|
|
409
|
+
iconBtn: string[];
|
|
410
|
+
errorArea: string[];
|
|
411
|
+
errorIcon: string;
|
|
412
|
+
errorClose: string;
|
|
413
|
+
captionWrap: string;
|
|
414
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
415
|
+
size: {
|
|
416
|
+
medium: {
|
|
417
|
+
container: string;
|
|
418
|
+
zone: string;
|
|
419
|
+
zoneTextWrapper: string;
|
|
420
|
+
fileRow: string;
|
|
421
|
+
fileRowHeader: string;
|
|
422
|
+
fileIcon: string;
|
|
423
|
+
fileTitle: string;
|
|
424
|
+
iconBtn: string;
|
|
425
|
+
progressWrapper: string;
|
|
426
|
+
progressTrack: string;
|
|
427
|
+
};
|
|
428
|
+
small: {
|
|
429
|
+
container: string;
|
|
430
|
+
zone: string;
|
|
431
|
+
zoneTextWrapper: string;
|
|
432
|
+
fileRow: string;
|
|
433
|
+
fileRowHeader: string;
|
|
434
|
+
fileTitle: string;
|
|
435
|
+
fileIcon: string;
|
|
436
|
+
percent: string;
|
|
437
|
+
iconBtn: string;
|
|
438
|
+
progressWrapper: string;
|
|
439
|
+
progressTrack: string;
|
|
440
|
+
list: string;
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
position: {
|
|
444
|
+
vertical: {
|
|
445
|
+
zone: string;
|
|
446
|
+
zoneTextWrapper: string;
|
|
447
|
+
zoneTextSub: string;
|
|
448
|
+
};
|
|
449
|
+
horizontal: {
|
|
450
|
+
zone: string;
|
|
451
|
+
zoneTextWrapper: string;
|
|
452
|
+
};
|
|
453
|
+
button: {
|
|
454
|
+
container: string;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
disabled: {
|
|
458
|
+
true: "";
|
|
459
|
+
false: "";
|
|
460
|
+
};
|
|
461
|
+
zoneHovered: {
|
|
462
|
+
true: "";
|
|
463
|
+
false: "";
|
|
464
|
+
};
|
|
465
|
+
dragActive: {
|
|
466
|
+
true: "";
|
|
467
|
+
false: "";
|
|
468
|
+
};
|
|
469
|
+
zoneError: {
|
|
470
|
+
true: "";
|
|
471
|
+
false: "";
|
|
472
|
+
};
|
|
473
|
+
fullWidth: {
|
|
474
|
+
true: {
|
|
475
|
+
container: string;
|
|
476
|
+
};
|
|
477
|
+
false: {
|
|
478
|
+
container: string;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
}, {
|
|
482
|
+
size: {
|
|
483
|
+
medium: {
|
|
484
|
+
container: string;
|
|
485
|
+
zone: string;
|
|
486
|
+
zoneTextWrapper: string;
|
|
487
|
+
fileRow: string;
|
|
488
|
+
fileRowHeader: string;
|
|
489
|
+
fileIcon: string;
|
|
490
|
+
fileTitle: string;
|
|
491
|
+
iconBtn: string;
|
|
492
|
+
progressWrapper: string;
|
|
493
|
+
progressTrack: string;
|
|
494
|
+
};
|
|
495
|
+
small: {
|
|
496
|
+
container: string;
|
|
497
|
+
zone: string;
|
|
498
|
+
zoneTextWrapper: string;
|
|
499
|
+
fileRow: string;
|
|
500
|
+
fileRowHeader: string;
|
|
501
|
+
fileTitle: string;
|
|
502
|
+
fileIcon: string;
|
|
503
|
+
percent: string;
|
|
504
|
+
iconBtn: string;
|
|
505
|
+
progressWrapper: string;
|
|
506
|
+
progressTrack: string;
|
|
507
|
+
list: string;
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
position: {
|
|
511
|
+
vertical: {
|
|
512
|
+
zone: string;
|
|
513
|
+
zoneTextWrapper: string;
|
|
514
|
+
zoneTextSub: string;
|
|
515
|
+
};
|
|
516
|
+
horizontal: {
|
|
517
|
+
zone: string;
|
|
518
|
+
zoneTextWrapper: string;
|
|
519
|
+
};
|
|
520
|
+
button: {
|
|
521
|
+
container: string;
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
disabled: {
|
|
525
|
+
true: "";
|
|
526
|
+
false: "";
|
|
527
|
+
};
|
|
528
|
+
zoneHovered: {
|
|
529
|
+
true: "";
|
|
530
|
+
false: "";
|
|
531
|
+
};
|
|
532
|
+
dragActive: {
|
|
533
|
+
true: "";
|
|
534
|
+
false: "";
|
|
535
|
+
};
|
|
536
|
+
zoneError: {
|
|
537
|
+
true: "";
|
|
538
|
+
false: "";
|
|
539
|
+
};
|
|
540
|
+
fullWidth: {
|
|
541
|
+
true: {
|
|
542
|
+
container: string;
|
|
543
|
+
};
|
|
544
|
+
false: {
|
|
545
|
+
container: string;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare class ListFocusManager {
|
|
2
|
+
private focusableSelector;
|
|
3
|
+
private getFocusableElements;
|
|
4
|
+
private getFirstFocusableElement;
|
|
5
|
+
private getListItems;
|
|
6
|
+
private getItemById;
|
|
7
|
+
private getCurrentListItem;
|
|
8
|
+
private getPreferredListFocusElement;
|
|
9
|
+
private isElementNaturallyFocusable;
|
|
10
|
+
private isEditableElement;
|
|
11
|
+
private isVisible;
|
|
12
|
+
private isInsideElement;
|
|
13
|
+
private canReceiveProgrammaticFocus;
|
|
14
|
+
private getInteractionContext;
|
|
15
|
+
private isInsideSearch;
|
|
16
|
+
private focusElement;
|
|
17
|
+
private focusListElement;
|
|
18
|
+
private focusListItemByOffset;
|
|
19
|
+
private focusListItemWhenReady;
|
|
20
|
+
private focusListElementWhenReady;
|
|
21
|
+
private getParentListItem;
|
|
22
|
+
private getFirstChildListItem;
|
|
23
|
+
private hasTreeChildren;
|
|
24
|
+
private isTreeItemOpen;
|
|
25
|
+
private isInsideAnyElement;
|
|
26
|
+
private focusAdjacentOutside;
|
|
27
|
+
restoreTriggerFocus(params: {
|
|
28
|
+
hostElement: HTMLElement;
|
|
29
|
+
targetElement: HTMLElement | null;
|
|
30
|
+
autocompleteInput?: HTMLElement | null;
|
|
31
|
+
openTriggerElement?: HTMLElement | null;
|
|
32
|
+
preferOpenTrigger?: boolean;
|
|
33
|
+
}): void;
|
|
34
|
+
handleKeyDown(params: {
|
|
35
|
+
event: KeyboardEvent;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
isOpen: boolean;
|
|
38
|
+
isOverlayType: boolean;
|
|
39
|
+
hostElement: HTMLElement;
|
|
40
|
+
targetElement: HTMLElement | null;
|
|
41
|
+
listElement: HTMLElement | null;
|
|
42
|
+
openList: () => void;
|
|
43
|
+
closeList: () => void;
|
|
44
|
+
selectFocusedItem: (itemId: string) => void;
|
|
45
|
+
openGroup: (itemId: string) => void;
|
|
46
|
+
treeview: boolean;
|
|
47
|
+
checkboxes: boolean;
|
|
48
|
+
autocompleteInput?: HTMLElement | null;
|
|
49
|
+
openTriggerElement?: HTMLElement | null;
|
|
50
|
+
}): boolean;
|
|
51
|
+
private handleClosedOverlayKeyDown;
|
|
52
|
+
private handleOpenOverlayKeyDown;
|
|
53
|
+
}
|
|
@@ -2,6 +2,7 @@ import { KeyControl } from "../../../models/abstract-classes/abstract-key-contro
|
|
|
2
2
|
export declare class ListKeyControl extends KeyControl {
|
|
3
3
|
openGroup: (id: number) => void;
|
|
4
4
|
checkedItem: (id: number) => void;
|
|
5
|
+
selectedItem: (id: number) => void;
|
|
5
6
|
private isTreeview;
|
|
6
7
|
private isCheckBoxes;
|
|
7
8
|
constructor(keyCode: number, element: HTMLElement, treeview: boolean, checkBoxes: boolean);
|
|
@@ -2,6 +2,9 @@ import { Bcm, ListTypes, PlacementTypes, SizeTypes, StatusTypes } from "../../..
|
|
|
2
2
|
import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtime";
|
|
3
3
|
export declare class BcmList implements ComponentInterface {
|
|
4
4
|
private debounce;
|
|
5
|
+
private focusManager;
|
|
6
|
+
private openTriggerElement;
|
|
7
|
+
private suppressScrollCloseUntil;
|
|
5
8
|
el: HTMLElement;
|
|
6
9
|
_id: string;
|
|
7
10
|
tempId: string;
|
|
@@ -108,7 +111,10 @@ export declare class BcmList implements ComponentInterface {
|
|
|
108
111
|
handleSlotItems(e: CustomEvent): void;
|
|
109
112
|
handleChange(e: any): void;
|
|
110
113
|
handleResize(): void;
|
|
114
|
+
handleVisualViewportChange: () => void;
|
|
111
115
|
handleWheel(event: WheelEvent): void;
|
|
116
|
+
handleTouchStart(event: any): void;
|
|
117
|
+
handleFocusIn(event: any): void;
|
|
112
118
|
private clearAutocomplete;
|
|
113
119
|
handleSelectOtherTag(e: CustomEvent): Promise<void>;
|
|
114
120
|
handleDeleteTag(e: CustomEvent): Promise<void>;
|
|
@@ -132,7 +138,7 @@ export declare class BcmList implements ComponentInterface {
|
|
|
132
138
|
setClear(e?: any): Promise<void>;
|
|
133
139
|
resetCaption(): Promise<void>;
|
|
134
140
|
private detectClone;
|
|
135
|
-
show(): Promise<void>;
|
|
141
|
+
show(openTriggerElement?: HTMLElement): Promise<void>;
|
|
136
142
|
hide(): Promise<void>;
|
|
137
143
|
private updateOptions;
|
|
138
144
|
private handleIndeterminate;
|
|
@@ -140,11 +146,18 @@ export declare class BcmList implements ComponentInterface {
|
|
|
140
146
|
private unSelectOther;
|
|
141
147
|
private onClearSearch;
|
|
142
148
|
private onSelectSearch;
|
|
149
|
+
private preventScrollClose;
|
|
150
|
+
private isMobileViewport;
|
|
151
|
+
private prepareMobileViewportForOpen;
|
|
152
|
+
private shouldKeepOpenWhileInteracting;
|
|
143
153
|
private filterOtherList;
|
|
144
154
|
private initState;
|
|
145
155
|
private markForCheck;
|
|
146
156
|
private getOptions;
|
|
147
157
|
private getItems;
|
|
158
|
+
private hasNestedItems;
|
|
159
|
+
private getVisibleSearchItems;
|
|
160
|
+
private getInitialSearchResultLimit;
|
|
148
161
|
private getLimitedItems;
|
|
149
162
|
private openGroup;
|
|
150
163
|
private focusItem;
|
|
@@ -152,6 +165,10 @@ export declare class BcmList implements ComponentInterface {
|
|
|
152
165
|
private checkedItem;
|
|
153
166
|
private changeVisibleCheckeds;
|
|
154
167
|
private getAutoCompleteInput;
|
|
168
|
+
private rememberOpenTrigger;
|
|
169
|
+
private isValidOpenTrigger;
|
|
170
|
+
private isOverlayType;
|
|
171
|
+
private getTargetElement;
|
|
155
172
|
/** @description Fixes the issue where the list appears empty during fast scrolling. */
|
|
156
173
|
private dataScrollEvent;
|
|
157
174
|
private calculateLocation;
|