fomantic-ui 2.9.3-beta.45 → 2.9.3-beta.47
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/README.md +5 -2
- package/SECURITY.md +2 -1
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +1 -1
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +53 -53
- package/dist/semantic.js +26 -26
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +1 -1
- package/package.json +1 -1
- package/types/fomantic-ui-accordion.d.ts +166 -172
- package/types/fomantic-ui-api.d.ts +418 -470
- package/types/fomantic-ui-calendar.d.ts +425 -479
- package/types/fomantic-ui-checkbox.d.ts +148 -194
- package/types/fomantic-ui-dimmer.d.ts +188 -265
- package/types/fomantic-ui-dropdown.d.ts +447 -666
- package/types/fomantic-ui-embed.d.ts +243 -289
- package/types/fomantic-ui-flyout.d.ts +259 -292
- package/types/fomantic-ui-form.d.ts +478 -607
- package/types/fomantic-ui-modal.d.ts +389 -471
- package/types/fomantic-ui-nag.d.ts +228 -277
- package/types/fomantic-ui-popup.d.ts +438 -534
- package/types/fomantic-ui-progress.d.ts +278 -352
- package/types/fomantic-ui-rating.d.ts +137 -168
- package/types/fomantic-ui-search.d.ts +359 -453
- package/types/fomantic-ui-shape.d.ts +152 -194
- package/types/fomantic-ui-sidebar.d.ts +315 -391
- package/types/fomantic-ui-slider.d.ts +259 -322
- package/types/fomantic-ui-sticky.d.ts +198 -244
- package/types/fomantic-ui-tab.d.ts +284 -350
- package/types/fomantic-ui-tests.ts +4 -2
- package/types/fomantic-ui-toast.d.ts +318 -424
- package/types/fomantic-ui-transition.d.ts +223 -273
- package/types/fomantic-ui-visibility.d.ts +286 -353
- package/types/index.d.ts +0 -1
@@ -215,531 +215,449 @@ declare namespace FomanticUI {
|
|
215
215
|
(behavior: 'get placeholder text'): string;
|
216
216
|
|
217
217
|
(behavior: 'destroy'): JQuery;
|
218
|
-
<K extends keyof DropdownSettings>(behavior: 'setting', name: K, value?: undefined): DropdownSettings
|
219
|
-
<K extends keyof DropdownSettings>(behavior: 'setting', name: K, value: DropdownSettings
|
220
|
-
(behavior: 'setting', value: DropdownSettings): JQuery;
|
221
|
-
(settings?: DropdownSettings): JQuery;
|
218
|
+
<K extends keyof DropdownSettings>(behavior: 'setting', name: K, value?: undefined, ): Partial<Pick<DropdownSettings, keyof DropdownSettings>>;
|
219
|
+
<K extends keyof DropdownSettings>(behavior: 'setting', name: K, value: DropdownSettings[K]): JQuery;
|
220
|
+
(behavior: 'setting', value: Partial<Pick<DropdownSettings, keyof DropdownSettings>>): JQuery;
|
221
|
+
(settings?: Partial<Pick<DropdownSettings, keyof DropdownSettings>>): JQuery;
|
222
222
|
}
|
223
223
|
|
224
224
|
/**
|
225
225
|
* @see {@link http://fomantic-ui.com/modules/dropdown.html#/settings}
|
226
226
|
*/
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
/**
|
648
|
-
* Class names used to determine element state.
|
649
|
-
*/
|
650
|
-
className: Dropdown.ClassNameSettings;
|
651
|
-
|
652
|
-
/**
|
653
|
-
* Class names used to determine element messages.
|
654
|
-
*/
|
655
|
-
message: Dropdown.MessageSettings;
|
656
|
-
|
657
|
-
/**
|
658
|
-
*
|
659
|
-
*/
|
660
|
-
regExp: Dropdown.RegExpSettings;
|
661
|
-
|
662
|
-
/**
|
663
|
-
*
|
664
|
-
*/
|
665
|
-
metadata: Dropdown.MetadataSettings;
|
666
|
-
|
667
|
-
/**
|
668
|
-
*
|
669
|
-
*/
|
670
|
-
fields: Dropdown.FieldsSettings;
|
671
|
-
|
672
|
-
/**
|
673
|
-
*
|
674
|
-
*/
|
675
|
-
keys: Dropdown.KeysSettings;
|
676
|
-
|
677
|
-
// endregion
|
678
|
-
|
679
|
-
// region Debug Settings
|
680
|
-
|
681
|
-
/**
|
682
|
-
* Name used in log statements
|
683
|
-
*/
|
684
|
-
name: string;
|
685
|
-
|
686
|
-
/**
|
687
|
-
* Event namespace. Makes sure module teardown does not effect other events attached to an element.
|
688
|
-
*/
|
689
|
-
namespace: string;
|
690
|
-
|
691
|
-
/**
|
692
|
-
* Silences all console output including error messages, regardless of other debug settings.
|
693
|
-
*/
|
694
|
-
silent: boolean;
|
695
|
-
|
696
|
-
/**
|
697
|
-
* Debug output to console
|
698
|
-
*/
|
699
|
-
debug: boolean;
|
700
|
-
|
701
|
-
/**
|
702
|
-
* Show console.table output with performance metrics
|
703
|
-
*/
|
704
|
-
performance: boolean;
|
705
|
-
|
706
|
-
/**
|
707
|
-
* Debug output includes all internal behaviors
|
708
|
-
*/
|
709
|
-
verbose: boolean;
|
710
|
-
|
711
|
-
error: Dropdown.ErrorSettings;
|
712
|
-
|
713
|
-
// endregion
|
714
|
-
}
|
227
|
+
interface DropdownSettings {
|
228
|
+
// region Dropdown Settings
|
229
|
+
|
230
|
+
/**
|
231
|
+
* Event used to trigger dropdown (can be 'hover', 'click' or a custom event).
|
232
|
+
* @default 'click'
|
233
|
+
*/
|
234
|
+
on: string;
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Sets a default action to occur.
|
238
|
+
* @see {@link https://fomantic-ui.com/modules/dropdown.html#/usage}
|
239
|
+
* @default 'auto'
|
240
|
+
*/
|
241
|
+
action:
|
242
|
+
| 'auto'
|
243
|
+
| 'activate'
|
244
|
+
| 'select'
|
245
|
+
| 'combo'
|
246
|
+
| 'nothing'
|
247
|
+
| 'hide'
|
248
|
+
| ((this: JQuery, text: string, value: string | false, element: JQuery) => void);
|
249
|
+
|
250
|
+
/**
|
251
|
+
* When specified allows you to initialize dropdown with specific values.
|
252
|
+
* @see {@link https://fomantic-ui.com/modules/dropdown.html#/usage}
|
253
|
+
* @default false
|
254
|
+
*/
|
255
|
+
values: any;
|
256
|
+
|
257
|
+
/**
|
258
|
+
* Whether the dropdown value can be cleared by the user after being selected.
|
259
|
+
* @default false
|
260
|
+
*/
|
261
|
+
clearable: boolean;
|
262
|
+
|
263
|
+
/**
|
264
|
+
* Can be set to an object to specify API settings for retrieving remote selection menu content from an API endpoint.
|
265
|
+
* @see {@link https://fomantic-ui.com/behaviors/api.html#/settings}
|
266
|
+
* @default false
|
267
|
+
*/
|
268
|
+
apiSettings: false | APISettings;
|
269
|
+
|
270
|
+
/**
|
271
|
+
* Whether dropdown should select new option when using keyboard shortcuts.
|
272
|
+
* Setting to 'false' will require 'enter' or left click to confirm a choice.
|
273
|
+
* @default true
|
274
|
+
*/
|
275
|
+
selectOnKeydown: boolean;
|
276
|
+
|
277
|
+
/**
|
278
|
+
* The minimum characters for a search to begin showing results.
|
279
|
+
* @default 0
|
280
|
+
*/
|
281
|
+
minCharacters: number;
|
282
|
+
|
283
|
+
/**
|
284
|
+
* Whether results returned from API should be filtered by query before being displayed.
|
285
|
+
* @default false
|
286
|
+
*/
|
287
|
+
filterRemoteData: boolean;
|
288
|
+
|
289
|
+
/**
|
290
|
+
* When enabled, will automatically store selected name/value pairs in 'sessionStorage' to preserve user selection on page refresh.
|
291
|
+
* Disabling will clear remote dropdown values on refresh.
|
292
|
+
* @default true
|
293
|
+
*/
|
294
|
+
saveRemoteData: boolean;
|
295
|
+
|
296
|
+
/**
|
297
|
+
* How long to wait after last user input to search remotely.
|
298
|
+
* @default 200
|
299
|
+
*/
|
300
|
+
throttle: number;
|
301
|
+
|
302
|
+
/**
|
303
|
+
* Element context to use when checking whether can show when 'keepOnScreen: true'.
|
304
|
+
* @default 'window'
|
305
|
+
*/
|
306
|
+
context: string | JQuery;
|
307
|
+
|
308
|
+
/**
|
309
|
+
* When set to 'auto' determines direction based on whether dropdown can fit on screen.
|
310
|
+
* Set to 'upward' or 'downward' to always force a direction.
|
311
|
+
* @default 'auto'
|
312
|
+
*/
|
313
|
+
direction: 'auto' | 'upward' | 'downward';
|
314
|
+
|
315
|
+
/**
|
316
|
+
* Whether dropdown should try to keep itself on screen by checking whether menus display position in its 'context' (Default context is page).
|
317
|
+
* @default true
|
318
|
+
*/
|
319
|
+
keepOnScreen: boolean;
|
320
|
+
|
321
|
+
/**
|
322
|
+
* When using 'search selection' specifies how to match values.
|
323
|
+
* @default 'both'
|
324
|
+
*/
|
325
|
+
match: 'both' | 'value' | 'text';
|
326
|
+
|
327
|
+
/**
|
328
|
+
* Specifying to "true" will use a fuzzy full text search, setting to "exact" will force the exact search to be matched somewhere in the string, setting to "false" will only match start of string.
|
329
|
+
* @default 'exact'
|
330
|
+
*/
|
331
|
+
fullTextSearch: boolean | 'exact';
|
332
|
+
|
333
|
+
/**
|
334
|
+
* When activated, searches will also match results for base diacritic letters.
|
335
|
+
* For example when searching for 'a', it will also match 'á' or 'â' or 'å' and so on...
|
336
|
+
* It will also ignore diacritics for the searchterm, so if searching for 'ó', it will match 'ó', but also 'o', 'ô' or 'õ' and so on...
|
337
|
+
* @default false
|
338
|
+
*/
|
339
|
+
ignoreDiacritics: boolean;
|
340
|
+
|
341
|
+
/**
|
342
|
+
* How to handle dividers in the dropdown while searching.
|
343
|
+
* Dividers are defined as all siblings of items that match the 'divider selector'.
|
344
|
+
* @see {@link https://fomantic-ui.com/modules/dropdown.html#dom-settings}
|
345
|
+
* @default false
|
346
|
+
*/
|
347
|
+
hideDividers: boolean | 'empty';
|
348
|
+
|
349
|
+
/**
|
350
|
+
*
|
351
|
+
* @default 'auto'
|
352
|
+
*/
|
353
|
+
placeholder: 'auto' | String | false;
|
354
|
+
|
355
|
+
/**
|
356
|
+
* Whether HTML included in dropdown values should be preserved.
|
357
|
+
* Allows icons to show up in selected value.
|
358
|
+
* @default true
|
359
|
+
*/
|
360
|
+
preserveHTML: boolean;
|
361
|
+
|
362
|
+
/**
|
363
|
+
* Whether to sort values when creating a dropdown automatically from a select element.
|
364
|
+
* @default false
|
365
|
+
*/
|
366
|
+
sortSelect: boolean | 'natural' | Function;
|
367
|
+
|
368
|
+
/**
|
369
|
+
* Whether search selection will force currently selected choice when element is blurred.
|
370
|
+
* If a 'select' tag with a required attribute was used, the 'forceSelection' setting will be set to 'true' automatically.
|
371
|
+
* @default false
|
372
|
+
*/
|
373
|
+
forceSelection: boolean;
|
374
|
+
|
375
|
+
/**
|
376
|
+
* Whether search selection should allow users to add their own selections, works for single or multiselect.
|
377
|
+
* @default false
|
378
|
+
*/
|
379
|
+
allowAdditions: boolean;
|
380
|
+
|
381
|
+
/**
|
382
|
+
* Whether values with non matching cases should be treated as identical when adding them to a dropdown.
|
383
|
+
* @default false
|
384
|
+
*/
|
385
|
+
ignoreCase: boolean;
|
386
|
+
|
387
|
+
/**
|
388
|
+
* Whether values with non matching cases should be treated as identical when filtering the items.
|
389
|
+
* @default true
|
390
|
+
*/
|
391
|
+
ignoreSearchCase: boolean;
|
392
|
+
|
393
|
+
/**
|
394
|
+
* If disabled user additions will appear in the dropdown's menu using a specially formatted selection item formatted by 'templates.addition'.
|
395
|
+
* @default true
|
396
|
+
*/
|
397
|
+
hideAdditions: boolean;
|
398
|
+
|
399
|
+
/**
|
400
|
+
* When set to a number, sets the maximum number of selections.
|
401
|
+
* @default false
|
402
|
+
*/
|
403
|
+
maxSelections: false | number;
|
404
|
+
|
405
|
+
/**
|
406
|
+
* Whether multiselect should use labels. Must be set to 'true' when 'allowAdditions' is 'true'.
|
407
|
+
* @default true
|
408
|
+
*/
|
409
|
+
useLabels: boolean;
|
410
|
+
|
411
|
+
/**
|
412
|
+
* When multiselect uses normal input tag, the values will be delimited with this character.
|
413
|
+
* Also used as the keyboard shortcut while entering multiple values.
|
414
|
+
* @default ','
|
415
|
+
*/
|
416
|
+
delimiter: string;
|
417
|
+
|
418
|
+
/**
|
419
|
+
* Whether to show dropdown menu automatically on element focus.
|
420
|
+
* @default false
|
421
|
+
*/
|
422
|
+
showOnFocus: boolean;
|
423
|
+
|
424
|
+
/**
|
425
|
+
* When set to 'true' will fire 'onChange' even when the value a user select matches the currently selected value.
|
426
|
+
* @default false
|
427
|
+
*/
|
428
|
+
allowReselection: boolean;
|
429
|
+
|
430
|
+
/**
|
431
|
+
* Whether to allow the element to be navigable by keyboard, by automatically creating a 'tabindex'.
|
432
|
+
* @default true
|
433
|
+
*/
|
434
|
+
allowTab: boolean;
|
435
|
+
|
436
|
+
/**
|
437
|
+
* Whether menu items with sub-menus (categories) should be selectable.
|
438
|
+
* @default false
|
439
|
+
*/
|
440
|
+
allowCategorySelection: boolean;
|
441
|
+
|
442
|
+
/**
|
443
|
+
* Whether callbacks should fire when initializing dropdown values.
|
444
|
+
* @default false
|
445
|
+
*/
|
446
|
+
fireOnInit: boolean;
|
447
|
+
|
448
|
+
/**
|
449
|
+
* Named transition to use when animating menu in and out.
|
450
|
+
* Defaults to 'slide down' or 'slide up' depending on dropdown direction. Fade and slide down are available without including 'ui transitions'.
|
451
|
+
*
|
452
|
+
* Alternatively you can provide an 'object' to set individual values for hide/show transitions as well as hide/show duration.
|
453
|
+
* @default 'auto'
|
454
|
+
*/
|
455
|
+
transition: boolean | object;
|
456
|
+
|
457
|
+
/**
|
458
|
+
* Duration of animation events.
|
459
|
+
* The value will be ignored when individual hide/show duration values are provided via the 'transition' setting.
|
460
|
+
* @default 200
|
461
|
+
*/
|
462
|
+
duration: number;
|
463
|
+
|
464
|
+
/**
|
465
|
+
* Specify the final transition display type ('block', 'inline-block' etc) so that it doesn't have to be calculated.
|
466
|
+
* @default false
|
467
|
+
*/
|
468
|
+
displayType: false | string;
|
469
|
+
|
470
|
+
/**
|
471
|
+
* Maximum glyph width, used to calculate search size.
|
472
|
+
* This is usually size of a "W" in your font in 'em'.
|
473
|
+
* @default 1.037
|
474
|
+
*/
|
475
|
+
glyphWidth: number;
|
476
|
+
|
477
|
+
/**
|
478
|
+
* Whether option headers should have an additional divider line underneath when converted from '<select><optgroup>'.
|
479
|
+
* @default true
|
480
|
+
*/
|
481
|
+
headerDivider: boolean;
|
482
|
+
|
483
|
+
/**
|
484
|
+
* Whether the dropdown should collapse upon selection of an actionable item.
|
485
|
+
* @default true
|
486
|
+
*/
|
487
|
+
collapseOnActionable: boolean;
|
488
|
+
|
489
|
+
/**
|
490
|
+
* Allows customization of multi-select labels.
|
491
|
+
* @default true
|
492
|
+
*/
|
493
|
+
label: object;
|
494
|
+
|
495
|
+
/**
|
496
|
+
* Time in milliseconds to debounce show or hide behavior when 'on: hover' is used, or when 'touch' is used..
|
497
|
+
* @default true
|
498
|
+
*/
|
499
|
+
delay: object;
|
500
|
+
|
501
|
+
// endregion
|
502
|
+
|
503
|
+
// region Callbacks
|
504
|
+
|
505
|
+
/**
|
506
|
+
* Is called after a dropdown value changes.
|
507
|
+
* Receives the name and value of selection and the active menu element.
|
508
|
+
*/
|
509
|
+
onChange(value: string, text: string, $choice: JQuery): void;
|
510
|
+
|
511
|
+
/**
|
512
|
+
* Is called after a dropdown selection is added using a multiple select dropdown, only receives the added value.
|
513
|
+
*/
|
514
|
+
onAdd(addedValue: string, addedText: string, $addedChoice: JQuery): void;
|
515
|
+
|
516
|
+
/**
|
517
|
+
* Is called after a dropdown selection is removed using a multiple select dropdown, only receives the removed value.
|
518
|
+
*/
|
519
|
+
onRemove(removedValue: string, removedText: string, $removedChoice: JQuery): void;
|
520
|
+
|
521
|
+
/**
|
522
|
+
* Is called after an actionable item has been selected.
|
523
|
+
*/
|
524
|
+
onActionable(value: string, text: string, $choice: JQuery): void;
|
525
|
+
|
526
|
+
/**
|
527
|
+
* Is called before a search takes place to filter the items list.
|
528
|
+
* If 'false' is returned, the search and item filtering is cancelled.
|
529
|
+
*/
|
530
|
+
onSearch(): void;
|
531
|
+
|
532
|
+
/**
|
533
|
+
* Is called after a label is selected by a user.
|
534
|
+
*/
|
535
|
+
onLabelSelect($selectedLabels: JQuery): void;
|
536
|
+
|
537
|
+
/**
|
538
|
+
* Allows you to modify a label before it is added.
|
539
|
+
* Expects the jQ DOM element for a label to be returned.
|
540
|
+
*/
|
541
|
+
onLabelCreate(value: string, text: string): void;
|
542
|
+
|
543
|
+
/**
|
544
|
+
* Called when a label is remove, 'return false;' will prevent the label from being removed.
|
545
|
+
*/
|
546
|
+
onLabelRemove(value: string): void;
|
547
|
+
|
548
|
+
/**
|
549
|
+
* Is called after a dropdown is searched with no matching values.
|
550
|
+
*/
|
551
|
+
onNoResults(searchValue: string): void;
|
552
|
+
|
553
|
+
/**
|
554
|
+
* Is called before a dropdown is shown.
|
555
|
+
* If 'false' is returned, dropdown will not be shown.
|
556
|
+
*/
|
557
|
+
onShow(searchValue: string): void;
|
558
|
+
|
559
|
+
/**
|
560
|
+
* Is called before a dropdown is hidden.
|
561
|
+
* If 'false' is returned, dropdown will not be hidden.
|
562
|
+
*/
|
563
|
+
onHide(): void;
|
564
|
+
|
565
|
+
// endregion
|
566
|
+
|
567
|
+
// region DOM Settings
|
568
|
+
|
569
|
+
/**
|
570
|
+
* Selectors used to find parts of a module.
|
571
|
+
*/
|
572
|
+
selector: Dropdown.SelectorSettings;
|
573
|
+
|
574
|
+
/**
|
575
|
+
* Class names used to determine element state.
|
576
|
+
*/
|
577
|
+
className: Dropdown.ClassNameSettings;
|
578
|
+
|
579
|
+
/**
|
580
|
+
* Class names used to determine element messages.
|
581
|
+
*/
|
582
|
+
message: Dropdown.MessageSettings;
|
583
|
+
|
584
|
+
/**
|
585
|
+
*
|
586
|
+
*/
|
587
|
+
regExp: Dropdown.RegExpSettings;
|
588
|
+
|
589
|
+
/**
|
590
|
+
*
|
591
|
+
*/
|
592
|
+
metadata: Dropdown.MetadataSettings;
|
593
|
+
|
594
|
+
/**
|
595
|
+
*
|
596
|
+
*/
|
597
|
+
fields: Dropdown.FieldsSettings;
|
598
|
+
|
599
|
+
/**
|
600
|
+
*
|
601
|
+
*/
|
602
|
+
keys: Dropdown.KeysSettings;
|
603
|
+
|
604
|
+
// endregion
|
605
|
+
|
606
|
+
// region Debug Settings
|
607
|
+
|
608
|
+
/**
|
609
|
+
* Name used in log statements
|
610
|
+
* @default 'Dropdown'
|
611
|
+
*/
|
612
|
+
name: string;
|
613
|
+
|
614
|
+
/**
|
615
|
+
* Event namespace. Makes sure module teardown does not effect other events attached to an element.
|
616
|
+
* @default 'dropdown'
|
617
|
+
*/
|
618
|
+
namespace: string;
|
619
|
+
|
620
|
+
/**
|
621
|
+
* Silences all console output including error messages, regardless of other debug settings.
|
622
|
+
* @default false
|
623
|
+
*/
|
624
|
+
silent: boolean;
|
625
|
+
|
626
|
+
/**
|
627
|
+
* Debug output to console
|
628
|
+
* @default false
|
629
|
+
*/
|
630
|
+
debug: boolean;
|
631
|
+
|
632
|
+
/**
|
633
|
+
* Show console.table output with performance metrics
|
634
|
+
* @default true
|
635
|
+
*/
|
636
|
+
performance: boolean;
|
637
|
+
|
638
|
+
/**
|
639
|
+
* Debug output includes all internal behaviors
|
640
|
+
* @default false
|
641
|
+
*/
|
642
|
+
verbose: boolean;
|
643
|
+
|
644
|
+
error: Dropdown.ErrorSettings;
|
645
|
+
|
646
|
+
// endregion
|
715
647
|
}
|
716
648
|
|
717
649
|
namespace Dropdown {
|
718
|
-
type SelectorSettings =
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
| Pick<_Impl, 'remove'>
|
730
|
-
| Pick<_Impl, 'siblingLabel'>
|
731
|
-
| Pick<_Impl, 'menu'>
|
732
|
-
| Pick<_Impl, 'message'>
|
733
|
-
| Pick<_Impl, 'menuIcon'>
|
734
|
-
| Pick<_Impl, 'search'>
|
735
|
-
| Pick<_Impl, 'sizer'>
|
736
|
-
| Pick<_Impl, 'text'>
|
737
|
-
| Pick<_Impl, 'unselectable'>
|
738
|
-
| Pick<_Impl, 'clearIcon'>
|
739
|
-
) &
|
740
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
741
|
-
|
742
|
-
interface _Impl {
|
650
|
+
type SelectorSettings = Partial<Pick<Settings.Selectors, keyof Settings.Selectors>>;
|
651
|
+
type ClassNameSettings = Partial<Pick<Settings.ClassNames, keyof Settings.ClassNames>>;
|
652
|
+
type MessageSettings = Partial<Pick<Settings.Messages, keyof Settings.Messages>>;
|
653
|
+
type RegExpSettings = Partial<Pick<Settings.RegExps, keyof Settings.RegExps>>;
|
654
|
+
type MetadataSettings = Partial<Pick<Settings.Metadatas, keyof Settings.Metadatas>>;
|
655
|
+
type FieldsSettings = Partial<Pick<Settings.Fields, keyof Settings.Fields>>;
|
656
|
+
type KeysSettings = Partial<Pick<Settings.Keys, keyof Settings.Keys>>;
|
657
|
+
type ErrorSettings = Partial<Pick<Settings.Errors, keyof Settings.Errors>>;
|
658
|
+
|
659
|
+
namespace Settings {
|
660
|
+
interface Selectors {
|
743
661
|
/**
|
744
662
|
* @default '.addition'
|
745
663
|
*/
|
@@ -825,51 +743,8 @@ declare namespace FomanticUI {
|
|
825
743
|
*/
|
826
744
|
clearIcon: string;
|
827
745
|
}
|
828
|
-
|
829
|
-
|
830
|
-
type ClassNameSettings = ClassNameSettings.Param;
|
831
|
-
|
832
|
-
namespace ClassNameSettings {
|
833
|
-
type Param = (
|
834
|
-
| Pick<_Impl, 'active'>
|
835
|
-
| Pick<_Impl, 'addition'>
|
836
|
-
| Pick<_Impl, 'animating'>
|
837
|
-
| Pick<_Impl, 'description'>
|
838
|
-
| Pick<_Impl, 'descriptionVertical'>
|
839
|
-
| Pick<_Impl, 'disabled'>
|
840
|
-
| Pick<_Impl, 'empty'>
|
841
|
-
| Pick<_Impl, 'dropdown'>
|
842
|
-
| Pick<_Impl, 'filtered'>
|
843
|
-
| Pick<_Impl, 'hidden'>
|
844
|
-
| Pick<_Impl, 'icon'>
|
845
|
-
| Pick<_Impl, 'image'>
|
846
|
-
| Pick<_Impl, 'item'>
|
847
|
-
| Pick<_Impl, 'label'>
|
848
|
-
| Pick<_Impl, 'loading'>
|
849
|
-
| Pick<_Impl, 'menu'>
|
850
|
-
| Pick<_Impl, 'message'>
|
851
|
-
| Pick<_Impl, 'multiple'>
|
852
|
-
| Pick<_Impl, 'placeholder'>
|
853
|
-
| Pick<_Impl, 'sizer'>
|
854
|
-
| Pick<_Impl, 'search'>
|
855
|
-
| Pick<_Impl, 'selected'>
|
856
|
-
| Pick<_Impl, 'selection'>
|
857
|
-
| Pick<_Impl, 'text'>
|
858
|
-
| Pick<_Impl, 'upward'>
|
859
|
-
| Pick<_Impl, 'leftward'>
|
860
|
-
| Pick<_Impl, 'visible'>
|
861
|
-
| Pick<_Impl, 'clearable'>
|
862
|
-
| Pick<_Impl, 'noselection'>
|
863
|
-
| Pick<_Impl, 'delete'>
|
864
|
-
| Pick<_Impl, 'header'>
|
865
|
-
| Pick<_Impl, 'divider'>
|
866
|
-
| Pick<_Impl, 'groupIcon'>
|
867
|
-
| Pick<_Impl, 'unfilterable'>
|
868
|
-
| Pick<_Impl, 'actionable'>
|
869
|
-
) &
|
870
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
871
|
-
|
872
|
-
interface _Impl {
|
746
|
+
|
747
|
+
interface ClassNames {
|
873
748
|
/**
|
874
749
|
* @default 'active'
|
875
750
|
*/
|
@@ -1045,21 +920,8 @@ declare namespace FomanticUI {
|
|
1045
920
|
*/
|
1046
921
|
actionable: string;
|
1047
922
|
}
|
1048
|
-
|
1049
|
-
|
1050
|
-
type MessageSettings = MessageSettings.Param;
|
1051
|
-
|
1052
|
-
namespace MessageSettings {
|
1053
|
-
type Param = (
|
1054
|
-
| Pick<_Impl, 'addResult'>
|
1055
|
-
| Pick<_Impl, 'count'>
|
1056
|
-
| Pick<_Impl, 'maxSelections'>
|
1057
|
-
| Pick<_Impl, 'noResults'>
|
1058
|
-
| Pick<_Impl, 'serverError'>
|
1059
|
-
) &
|
1060
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
1061
|
-
|
1062
|
-
interface _Impl {
|
923
|
+
|
924
|
+
interface Messages {
|
1063
925
|
/**
|
1064
926
|
* @default 'Add <b>{term}</b>'
|
1065
927
|
*/
|
@@ -1085,37 +947,15 @@ declare namespace FomanticUI {
|
|
1085
947
|
*/
|
1086
948
|
serverError: string;
|
1087
949
|
}
|
1088
|
-
}
|
1089
|
-
|
1090
|
-
type RegExpSettings = RegExpSettings.Param;
|
1091
|
-
|
1092
|
-
namespace RegExpSettings {
|
1093
|
-
type Param = (
|
1094
|
-
| Pick<_Impl, 'escape'>
|
1095
|
-
) &
|
1096
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
1097
950
|
|
1098
|
-
interface
|
951
|
+
interface RegExps {
|
1099
952
|
/**
|
1100
953
|
* @default '/[-[\]{}()*+?.,\\^$|#\s]/g'
|
1101
954
|
*/
|
1102
955
|
escape: string;
|
1103
956
|
}
|
1104
|
-
|
1105
|
-
|
1106
|
-
type MetadataSettings = MetadataSettings.Param;
|
1107
|
-
|
1108
|
-
namespace MetadataSettings {
|
1109
|
-
type Param = (
|
1110
|
-
| Pick<_Impl, 'defaultText'>
|
1111
|
-
| Pick<_Impl, 'defaultValue'>
|
1112
|
-
| Pick<_Impl, 'placeholderText'>
|
1113
|
-
| Pick<_Impl, 'text'>
|
1114
|
-
| Pick<_Impl, 'value'>
|
1115
|
-
) &
|
1116
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
1117
|
-
|
1118
|
-
interface _Impl {
|
957
|
+
|
958
|
+
interface Metadatas {
|
1119
959
|
/**
|
1120
960
|
* @default 'defaultText'
|
1121
961
|
*/
|
@@ -1141,32 +981,8 @@ declare namespace FomanticUI {
|
|
1141
981
|
*/
|
1142
982
|
value: string;
|
1143
983
|
}
|
1144
|
-
|
1145
|
-
|
1146
|
-
type FieldsSettings = FieldsSettings.Param;
|
1147
|
-
|
1148
|
-
namespace FieldsSettings {
|
1149
|
-
type Param = (
|
1150
|
-
| Pick<_Impl, 'remoteValues'>
|
1151
|
-
| Pick<_Impl, 'values'>
|
1152
|
-
| Pick<_Impl, 'disabled'>
|
1153
|
-
| Pick<_Impl, 'name'>
|
1154
|
-
| Pick<_Impl, 'description'>
|
1155
|
-
| Pick<_Impl, 'descriptionVertical'>
|
1156
|
-
| Pick<_Impl, 'value'>
|
1157
|
-
| Pick<_Impl, 'text'>
|
1158
|
-
| Pick<_Impl, 'type'>
|
1159
|
-
| Pick<_Impl, 'image'>
|
1160
|
-
| Pick<_Impl, 'imageClass'>
|
1161
|
-
| Pick<_Impl, 'icon'>
|
1162
|
-
| Pick<_Impl, 'iconClass'>
|
1163
|
-
| Pick<_Impl, 'class'>
|
1164
|
-
| Pick<_Impl, 'divider'>
|
1165
|
-
| Pick<_Impl, 'actionable'>
|
1166
|
-
) &
|
1167
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
1168
|
-
|
1169
|
-
interface _Impl {
|
984
|
+
|
985
|
+
interface Fields {
|
1170
986
|
/**
|
1171
987
|
* Grouping for api results
|
1172
988
|
* @default 'results'
|
@@ -1263,26 +1079,8 @@ declare namespace FomanticUI {
|
|
1263
1079
|
*/
|
1264
1080
|
actionable: string;
|
1265
1081
|
}
|
1266
|
-
|
1267
|
-
|
1268
|
-
type KeysSettings = KeysSettings.Param;
|
1269
|
-
|
1270
|
-
namespace KeysSettings {
|
1271
|
-
type Param = (
|
1272
|
-
| Pick<_Impl, 'backspace'>
|
1273
|
-
| Pick<_Impl, 'deleteKey'>
|
1274
|
-
| Pick<_Impl, 'enter'>
|
1275
|
-
| Pick<_Impl, 'escape'>
|
1276
|
-
| Pick<_Impl, 'pageUp'>
|
1277
|
-
| Pick<_Impl, 'pageDown'>
|
1278
|
-
| Pick<_Impl, 'leftArrow'>
|
1279
|
-
| Pick<_Impl, 'upArrow'>
|
1280
|
-
| Pick<_Impl, 'rightArrow'>
|
1281
|
-
| Pick<_Impl, 'downArrow'>
|
1282
|
-
) &
|
1283
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
1284
|
-
|
1285
|
-
interface _Impl {
|
1082
|
+
|
1083
|
+
interface Keys {
|
1286
1084
|
/**
|
1287
1085
|
* @default 8
|
1288
1086
|
*/
|
@@ -1333,25 +1131,8 @@ declare namespace FomanticUI {
|
|
1333
1131
|
*/
|
1334
1132
|
downArrow: number;
|
1335
1133
|
}
|
1336
|
-
}
|
1337
1134
|
|
1338
|
-
|
1339
|
-
|
1340
|
-
namespace ErrorSettings {
|
1341
|
-
type Param = (
|
1342
|
-
| Pick<_Impl, 'action'>
|
1343
|
-
| Pick<_Impl, 'alreadySetup'>
|
1344
|
-
| Pick<_Impl, 'labels'>
|
1345
|
-
| Pick<_Impl, 'missingMultiple'>
|
1346
|
-
| Pick<_Impl, 'method'>
|
1347
|
-
| Pick<_Impl, 'noAPI'>
|
1348
|
-
| Pick<_Impl, 'noStorage'>
|
1349
|
-
| Pick<_Impl, 'noTransition'>
|
1350
|
-
| Pick<_Impl, 'noNormalize'>
|
1351
|
-
) &
|
1352
|
-
Partial<Pick<_Impl, keyof _Impl>>;
|
1353
|
-
|
1354
|
-
interface _Impl {
|
1135
|
+
interface Errors {
|
1355
1136
|
/**
|
1356
1137
|
* @default 'You called a dropdown action that was not defined'
|
1357
1138
|
*/
|