@juit/vue-z 0.0.9 → 0.0.11

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/index.d.ts CHANGED
@@ -258,8 +258,9 @@ readonly type: PropType<boolean | "ondemand">;
258
258
  readonly required: false;
259
259
  readonly default: undefined;
260
260
  };
261
- value: {
262
- type: StringConstructor;
261
+ /** The virtual keyboard to use on mobile devices*/
262
+ mode: {
263
+ type: PropType<"decimal" | "numeric">;
263
264
  required: false;
264
265
  default: string;
265
266
  };
@@ -282,56 +283,56 @@ default: undefined;
282
283
  };
283
284
  /** The icon to display within the control */
284
285
  icon: {
285
- type: PropType<string>;
286
- required: true;
287
- };
288
- /** An optional link that will make the icon navigable */
289
- link: {
290
- type: PropType<RouteLocationRaw | undefined>;
286
+ type: PropType<string | undefined>;
291
287
  required: false;
292
288
  default: undefined;
293
289
  };
294
- loading: {
295
- type: BooleanConstructor;
290
+ /** The suffix to add to the input */
291
+ suffix: {
292
+ type: PropType<string>;
296
293
  required: false;
297
- default: boolean;
294
+ default: string;
298
295
  };
299
- /** Indicates that the field is required (and errors when empty). */
296
+ /** Required (that is, we need a non-null number, non-empty string) */
300
297
  required: {
301
298
  type: BooleanConstructor;
302
299
  required: false;
303
300
  default: boolean;
304
301
  };
305
- /** Used as `@clear="..."` in a template, to clear the text (and related) */
306
- onClear: {
307
- type: PropType<(() => any) | undefined>;
302
+ /** Minimum value (inclusive) */
303
+ minimum: {
304
+ type: PropType<number | undefined>;
305
+ required: false;
306
+ default: undefined;
307
+ };
308
+ /** Maximum value (inclusive) */
309
+ maximum: {
310
+ type: PropType<number | undefined>;
308
311
  required: false;
309
312
  default: undefined;
310
313
  };
314
+ /** The validation rules to apply to this field */
315
+ rules: {
316
+ type: PropType<ZValidator<number>[]>;
317
+ required: false;
318
+ default: () => never[];
319
+ };
311
320
  modelValue: {
312
- type: PropType<boolean>;
321
+ type: PropType<number | null>;
313
322
  };
314
323
  }>, {
324
+ /** Focus on this control */
325
+ focus: () => void | undefined;
315
326
  /** Reset validation for this field */
316
327
  resetValidation: () => void | undefined;
317
328
  /** Force validation of this field */
318
329
  validate: () => boolean | Promise<boolean>;
319
330
  /** If the field has validation errors or not */
320
331
  hasError: ComputedRef<boolean>;
321
- /** Show the picker dialog */
322
- show: () => void | undefined;
323
- /** Hide the picker dialog, confirming it with a value */
324
- confirm: (value?: any) => void | undefined;
325
- /** Hide the picker dialog, cancelling it without a value */
326
- cancel: () => void | undefined;
327
- /** Hide the picker dialog */
328
- shake: () => void | undefined;
332
+ /** If the field has validation errors or not */
333
+ isEditable: ComputedRef<boolean>;
329
334
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
330
- "update:modelValue": (value: boolean) => any;
331
- } & {
332
- show: () => any;
333
- hide: () => any;
334
- ok: (value?: any) => any;
335
+ "update:modelValue": (value: number | null) => any;
335
336
  }, string, PublicProps, Readonly<ExtractPropTypes< {
336
337
  readonly: {
337
338
  readonly type: PropType<boolean | undefined>;
@@ -358,8 +359,9 @@ readonly type: PropType<boolean | "ondemand">;
358
359
  readonly required: false;
359
360
  readonly default: undefined;
360
361
  };
361
- value: {
362
- type: StringConstructor;
362
+ /** The virtual keyboard to use on mobile devices*/
363
+ mode: {
364
+ type: PropType<"decimal" | "numeric">;
363
365
  required: false;
364
366
  default: string;
365
367
  };
@@ -382,53 +384,60 @@ default: undefined;
382
384
  };
383
385
  /** The icon to display within the control */
384
386
  icon: {
385
- type: PropType<string>;
386
- required: true;
387
- };
388
- /** An optional link that will make the icon navigable */
389
- link: {
390
- type: PropType<RouteLocationRaw | undefined>;
387
+ type: PropType<string | undefined>;
391
388
  required: false;
392
389
  default: undefined;
393
390
  };
394
- loading: {
395
- type: BooleanConstructor;
391
+ /** The suffix to add to the input */
392
+ suffix: {
393
+ type: PropType<string>;
396
394
  required: false;
397
- default: boolean;
395
+ default: string;
398
396
  };
399
- /** Indicates that the field is required (and errors when empty). */
397
+ /** Required (that is, we need a non-null number, non-empty string) */
400
398
  required: {
401
399
  type: BooleanConstructor;
402
400
  required: false;
403
401
  default: boolean;
404
402
  };
405
- /** Used as `@clear="..."` in a template, to clear the text (and related) */
406
- onClear: {
407
- type: PropType<(() => any) | undefined>;
403
+ /** Minimum value (inclusive) */
404
+ minimum: {
405
+ type: PropType<number | undefined>;
406
+ required: false;
407
+ default: undefined;
408
+ };
409
+ /** Maximum value (inclusive) */
410
+ maximum: {
411
+ type: PropType<number | undefined>;
408
412
  required: false;
409
413
  default: undefined;
410
414
  };
415
+ /** The validation rules to apply to this field */
416
+ rules: {
417
+ type: PropType<ZValidator<number>[]>;
418
+ required: false;
419
+ default: () => never[];
420
+ };
411
421
  modelValue: {
412
- type: PropType<boolean>;
422
+ type: PropType<number | null>;
413
423
  };
414
424
  }>> & Readonly<{
415
- onShow?: (() => any) | undefined;
416
- onHide?: (() => any) | undefined;
417
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
418
- onOk?: ((value?: any) => any) | undefined;
425
+ "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
419
426
  }>, {
420
- loading: boolean;
427
+ icon: string | undefined;
421
428
  required: boolean;
422
429
  editable: boolean | undefined;
423
430
  disabled: boolean | undefined;
424
431
  lazyRules: boolean | "ondemand";
425
432
  bottomSlots: boolean | undefined;
426
433
  readonly: boolean | undefined;
427
- value: string;
428
- link: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
434
+ mode: "decimal" | "numeric";
429
435
  placeholder: string;
430
436
  hint: string | undefined;
431
- onClear: (() => any) | undefined;
437
+ suffix: string;
438
+ rules: ZValidator<number>[];
439
+ minimum: number | undefined;
440
+ maximum: number | undefined;
432
441
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
433
442
 
434
443
  declare const __VLS_component_12: DefineComponent<ExtractPropTypes< {
@@ -457,57 +466,55 @@ readonly type: PropType<boolean | "ondemand">;
457
466
  readonly required: false;
458
467
  readonly default: undefined;
459
468
  };
460
- /** All our options, keyed by the option, with values being the labels */
461
- options: {
462
- type: PropType<Record<string, string> | {
463
- value: string;
464
- label: string;
465
- }[]>;
466
- required: true;
469
+ /** The virtual keyboard to use on mobile devices*/
470
+ mode: {
471
+ type: PropType<"decimal" | "numeric">;
472
+ required: false;
473
+ default: string;
467
474
  };
468
475
  /** The label for this input text */
469
476
  label: {
470
477
  type: StringConstructor;
471
478
  required: true;
472
479
  };
473
- /** The placeholder text when no input was entered */
474
- placeholder: {
475
- type: StringConstructor;
476
- required: false;
477
- default: string;
478
- };
479
480
  /** The hint to display below the input field */
480
481
  hint: {
481
482
  type: PropType<string | undefined>;
482
483
  required: false;
483
484
  default: undefined;
484
485
  };
485
- /** The prefix to display before the input value */
486
- prefix: {
486
+ /** The icon to display within the control */
487
+ icon: {
487
488
  type: PropType<string | undefined>;
488
489
  required: false;
489
490
  default: undefined;
490
491
  };
491
- /** The icon to display within the control */
492
- icon: {
493
- type: PropType<string | undefined>;
492
+ /** The suffix to add to the input */
493
+ suffix: {
494
+ type: PropType<string>;
495
+ required: false;
496
+ default: string;
497
+ };
498
+ /** Minimum value (inclusive) */
499
+ minimum: {
500
+ type: PropType<number | undefined>;
494
501
  required: false;
495
502
  default: undefined;
496
503
  };
497
- /** Clearable, when clicked value will become the empty string */
498
- clearable: {
499
- type: BooleanConstructor;
504
+ /** Maximum value (inclusive) */
505
+ maximum: {
506
+ type: PropType<number | undefined>;
500
507
  required: false;
501
- default: boolean;
508
+ default: undefined;
502
509
  };
503
- /** Required */
504
- required: {
505
- type: BooleanConstructor;
510
+ /** The validation rules to apply to this field */
511
+ rules: {
512
+ type: PropType<ZValidator<number>[]>;
506
513
  required: false;
507
- default: boolean;
514
+ default: () => never[];
508
515
  };
509
516
  modelValue: {
510
- type: PropType<string>;
517
+ type: PropType<number>;
511
518
  };
512
519
  }>, {
513
520
  /** Focus on this control */
@@ -519,7 +526,7 @@ validate: () => boolean | Promise<boolean>;
519
526
  /** If the field has validation errors or not */
520
527
  hasError: ComputedRef<boolean>;
521
528
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
522
- "update:modelValue": (value: string) => any;
529
+ "update:modelValue": (value: number) => any;
523
530
  }, string, PublicProps, Readonly<ExtractPropTypes< {
524
531
  readonly: {
525
532
  readonly type: PropType<boolean | undefined>;
@@ -546,72 +553,71 @@ readonly type: PropType<boolean | "ondemand">;
546
553
  readonly required: false;
547
554
  readonly default: undefined;
548
555
  };
549
- /** All our options, keyed by the option, with values being the labels */
550
- options: {
551
- type: PropType<Record<string, string> | {
552
- value: string;
553
- label: string;
554
- }[]>;
555
- required: true;
556
+ /** The virtual keyboard to use on mobile devices*/
557
+ mode: {
558
+ type: PropType<"decimal" | "numeric">;
559
+ required: false;
560
+ default: string;
556
561
  };
557
562
  /** The label for this input text */
558
563
  label: {
559
564
  type: StringConstructor;
560
565
  required: true;
561
566
  };
562
- /** The placeholder text when no input was entered */
563
- placeholder: {
564
- type: StringConstructor;
565
- required: false;
566
- default: string;
567
- };
568
567
  /** The hint to display below the input field */
569
568
  hint: {
570
569
  type: PropType<string | undefined>;
571
570
  required: false;
572
571
  default: undefined;
573
572
  };
574
- /** The prefix to display before the input value */
575
- prefix: {
573
+ /** The icon to display within the control */
574
+ icon: {
576
575
  type: PropType<string | undefined>;
577
576
  required: false;
578
577
  default: undefined;
579
578
  };
580
- /** The icon to display within the control */
581
- icon: {
582
- type: PropType<string | undefined>;
579
+ /** The suffix to add to the input */
580
+ suffix: {
581
+ type: PropType<string>;
582
+ required: false;
583
+ default: string;
584
+ };
585
+ /** Minimum value (inclusive) */
586
+ minimum: {
587
+ type: PropType<number | undefined>;
583
588
  required: false;
584
589
  default: undefined;
585
590
  };
586
- /** Clearable, when clicked value will become the empty string */
587
- clearable: {
588
- type: BooleanConstructor;
591
+ /** Maximum value (inclusive) */
592
+ maximum: {
593
+ type: PropType<number | undefined>;
589
594
  required: false;
590
- default: boolean;
595
+ default: undefined;
591
596
  };
592
- /** Required */
593
- required: {
594
- type: BooleanConstructor;
597
+ /** The validation rules to apply to this field */
598
+ rules: {
599
+ type: PropType<ZValidator<number>[]>;
595
600
  required: false;
596
- default: boolean;
601
+ default: () => never[];
597
602
  };
598
603
  modelValue: {
599
- type: PropType<string>;
604
+ type: PropType<number>;
600
605
  };
601
606
  }>> & Readonly<{
602
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
607
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
603
608
  }>, {
604
609
  icon: string | undefined;
605
- required: boolean;
606
610
  editable: boolean | undefined;
607
611
  disabled: boolean | undefined;
608
612
  lazyRules: boolean | "ondemand";
609
613
  bottomSlots: boolean | undefined;
610
614
  readonly: boolean | undefined;
611
- placeholder: string;
615
+ mode: "decimal" | "numeric";
612
616
  hint: string | undefined;
613
- prefix: string | undefined;
614
- clearable: boolean;
617
+ suffix: string;
618
+ rules: ZValidator<number>[];
619
+ minimum: number | undefined;
620
+ maximum: number | undefined;
615
621
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
616
622
 
617
623
  declare const __VLS_component_13: DefineComponent<ExtractPropTypes< {
@@ -640,9 +646,8 @@ readonly type: PropType<boolean | "ondemand">;
640
646
  readonly required: false;
641
647
  readonly default: undefined;
642
648
  };
643
- /** The virtual keyboard to use on mobile devices*/
644
- mode: {
645
- type: PropType<"text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
649
+ value: {
650
+ type: StringConstructor;
646
651
  required: false;
647
652
  default: string;
648
653
  };
@@ -665,9 +670,8 @@ default: undefined;
665
670
  };
666
671
  /** The icon to display within the control */
667
672
  icon: {
668
- type: PropType<string | undefined>;
669
- required: false;
670
- default: undefined;
673
+ type: PropType<string>;
674
+ required: true;
671
675
  };
672
676
  /** An optional link that will make the icon navigable */
673
677
  link: {
@@ -675,62 +679,47 @@ type: PropType<RouteLocationRaw | undefined>;
675
679
  required: false;
676
680
  default: undefined;
677
681
  };
678
- /** The debounce time in milliseconds for the input field */
679
- debounce: {
680
- type: PropType<number | undefined>;
682
+ loading: {
683
+ type: BooleanConstructor;
681
684
  required: false;
682
- default: undefined;
685
+ default: boolean;
683
686
  };
684
- /** The suffix to add to the input */
685
- suffix: {
686
- type: PropType<string>;
687
- required: false;
688
- default: string;
689
- };
690
- /** The prefix to add to the input */
691
- prefix: {
692
- type: PropType<string>;
693
- required: false;
694
- default: undefined;
695
- };
696
- /** Indicates that the field is required (and errors when empty). */
697
- required: {
698
- type: BooleanConstructor;
687
+ /** Indicates that the field is required (and errors when empty). */
688
+ required: {
689
+ type: BooleanConstructor;
699
690
  required: false;
700
691
  default: boolean;
701
692
  };
702
- /** The minimum length of this field (starting at 1, for 0 use "required") */
703
- minLength: {
704
- type: NumberConstructor;
705
- required: false;
706
- default: number;
707
- };
708
- /** The maximum length, displayed with a counter (and error when too long). */
709
- maxLength: {
710
- type: NumberConstructor;
711
- required: false;
712
- default: number;
713
- };
714
- /** The validation rules to apply to this field */
715
- rules: {
716
- type: PropType<ZValidator<string>[]>;
693
+ /** Used as `@clear="..."` in a template, to clear the text (and related) */
694
+ onClear: {
695
+ type: PropType<(() => any) | undefined>;
717
696
  required: false;
718
- default: () => never[];
697
+ default: undefined;
719
698
  };
720
699
  modelValue: {
721
- type: PropType<string>;
700
+ type: PropType<boolean>;
722
701
  };
723
702
  }>, {
724
- /** Focus on this control */
725
- focus: () => void | undefined;
726
703
  /** Reset validation for this field */
727
704
  resetValidation: () => void | undefined;
728
705
  /** Force validation of this field */
729
706
  validate: () => boolean | Promise<boolean>;
730
707
  /** If the field has validation errors or not */
731
708
  hasError: ComputedRef<boolean>;
709
+ /** Show the picker dialog */
710
+ show: () => void | undefined;
711
+ /** Hide the picker dialog, confirming it with a value */
712
+ confirm: (value?: any) => void | undefined;
713
+ /** Hide the picker dialog, cancelling it without a value */
714
+ cancel: () => void | undefined;
715
+ /** Hide the picker dialog */
716
+ shake: () => void | undefined;
732
717
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
733
- "update:modelValue": (value: string) => any;
718
+ "update:modelValue": (value: boolean) => any;
719
+ } & {
720
+ show: () => any;
721
+ hide: () => any;
722
+ ok: (value?: any) => any;
734
723
  }, string, PublicProps, Readonly<ExtractPropTypes< {
735
724
  readonly: {
736
725
  readonly type: PropType<boolean | undefined>;
@@ -757,9 +746,8 @@ readonly type: PropType<boolean | "ondemand">;
757
746
  readonly required: false;
758
747
  readonly default: undefined;
759
748
  };
760
- /** The virtual keyboard to use on mobile devices*/
761
- mode: {
762
- type: PropType<"text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
749
+ value: {
750
+ type: StringConstructor;
763
751
  required: false;
764
752
  default: string;
765
753
  };
@@ -782,9 +770,8 @@ default: undefined;
782
770
  };
783
771
  /** The icon to display within the control */
784
772
  icon: {
785
- type: PropType<string | undefined>;
786
- required: false;
787
- default: undefined;
773
+ type: PropType<string>;
774
+ required: true;
788
775
  };
789
776
  /** An optional link that will make the icon navigable */
790
777
  link: {
@@ -792,23 +779,10 @@ type: PropType<RouteLocationRaw | undefined>;
792
779
  required: false;
793
780
  default: undefined;
794
781
  };
795
- /** The debounce time in milliseconds for the input field */
796
- debounce: {
797
- type: PropType<number | undefined>;
798
- required: false;
799
- default: undefined;
800
- };
801
- /** The suffix to add to the input */
802
- suffix: {
803
- type: PropType<string>;
804
- required: false;
805
- default: string;
806
- };
807
- /** The prefix to add to the input */
808
- prefix: {
809
- type: PropType<string>;
782
+ loading: {
783
+ type: BooleanConstructor;
810
784
  required: false;
811
- default: undefined;
785
+ default: boolean;
812
786
  };
813
787
  /** Indicates that the field is required (and errors when empty). */
814
788
  required: {
@@ -816,47 +790,33 @@ type: BooleanConstructor;
816
790
  required: false;
817
791
  default: boolean;
818
792
  };
819
- /** The minimum length of this field (starting at 1, for 0 use "required") */
820
- minLength: {
821
- type: NumberConstructor;
822
- required: false;
823
- default: number;
824
- };
825
- /** The maximum length, displayed with a counter (and error when too long). */
826
- maxLength: {
827
- type: NumberConstructor;
828
- required: false;
829
- default: number;
830
- };
831
- /** The validation rules to apply to this field */
832
- rules: {
833
- type: PropType<ZValidator<string>[]>;
793
+ /** Used as `@clear="..."` in a template, to clear the text (and related) */
794
+ onClear: {
795
+ type: PropType<(() => any) | undefined>;
834
796
  required: false;
835
- default: () => never[];
797
+ default: undefined;
836
798
  };
837
799
  modelValue: {
838
- type: PropType<string>;
800
+ type: PropType<boolean>;
839
801
  };
840
802
  }>> & Readonly<{
841
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
803
+ onShow?: (() => any) | undefined;
804
+ onHide?: (() => any) | undefined;
805
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
806
+ onOk?: ((value?: any) => any) | undefined;
842
807
  }>, {
843
- icon: string | undefined;
808
+ loading: boolean;
844
809
  required: boolean;
845
810
  editable: boolean | undefined;
846
811
  disabled: boolean | undefined;
847
812
  lazyRules: boolean | "ondemand";
848
813
  bottomSlots: boolean | undefined;
849
814
  readonly: boolean | undefined;
815
+ value: string;
850
816
  link: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
851
- mode: "search" | "email" | "text" | "decimal" | "numeric" | "tel" | "url";
852
817
  placeholder: string;
853
818
  hint: string | undefined;
854
- debounce: number | undefined;
855
- suffix: string;
856
- prefix: string;
857
- maxLength: number;
858
- rules: ZValidator<string>[];
859
- minLength: number;
819
+ onClear: (() => any) | undefined;
860
820
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
861
821
 
862
822
  declare const __VLS_component_14: DefineComponent<ExtractPropTypes< {
@@ -885,17 +845,13 @@ readonly type: PropType<boolean | "ondemand">;
885
845
  readonly required: false;
886
846
  readonly default: undefined;
887
847
  };
888
- /** The type of input to present: normal `text` or `password` */
889
- type: {
890
- type: PropType<"text" | "password">;
891
- required: false;
892
- default: string;
893
- };
894
- /** The virtual keyboard to use on mobile devices*/
895
- mode: {
896
- type: PropType<"text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
897
- required: false;
898
- default: string;
848
+ /** All our options, keyed by the option, with values being the labels */
849
+ options: {
850
+ type: PropType<Record<string, string> | {
851
+ value: string;
852
+ label: string;
853
+ }[]>;
854
+ required: true;
899
855
  };
900
856
  /** The label for this input text */
901
857
  label: {
@@ -914,84 +870,30 @@ type: PropType<string | undefined>;
914
870
  required: false;
915
871
  default: undefined;
916
872
  };
917
- /** The icon to display within the control */
918
- icon: {
873
+ /** The prefix to display before the input value */
874
+ prefix: {
919
875
  type: PropType<string | undefined>;
920
876
  required: false;
921
877
  default: undefined;
922
878
  };
923
- /** An optional link that will make the icon navigable */
924
- link: {
925
- type: PropType<RouteLocationRaw | undefined>;
926
- required: false;
927
- default: undefined;
928
- };
929
- /** The input looks editable, but text editing is disabled (for sub-components) */
930
- nonInteractive: {
931
- type: BooleanConstructor;
932
- required: false;
933
- default: boolean;
934
- };
935
- /** The debounce time in milliseconds for the input field */
936
- debounce: {
937
- type: PropType<number | undefined>;
938
- required: false;
939
- default: undefined;
940
- };
941
- /** The suffix to add to the input */
942
- suffix: {
943
- type: PropType<string>;
944
- required: false;
945
- default: string;
946
- };
947
- /** The prefix to add to the input */
948
- prefix: {
949
- type: PropType<string>;
879
+ /** The icon to display within the control */
880
+ icon: {
881
+ type: PropType<string | undefined>;
950
882
  required: false;
951
883
  default: undefined;
952
884
  };
953
- /** Keep the value "raw" (as in, do not normalize white spaces) */
954
- raw: {
885
+ /** Clearable, when clicked value will become the empty string */
886
+ clearable: {
955
887
  type: BooleanConstructor;
956
888
  required: false;
957
889
  default: boolean;
958
890
  };
959
- /** Indicates that the field is required (and errors when empty). */
891
+ /** Required */
960
892
  required: {
961
893
  type: BooleanConstructor;
962
894
  required: false;
963
895
  default: boolean;
964
896
  };
965
- /** The maximum length, displayed with a counter (and error when too long). */
966
- maxLength: {
967
- type: NumberConstructor;
968
- required: false;
969
- default: number;
970
- };
971
- /** The validation rules to apply to this field */
972
- rules: {
973
- type: PropType<ValidationRule<string>[]>;
974
- required: false;
975
- default: () => never[];
976
- };
977
- /** Used as `@click="..."` in a template, when clicking on text field */
978
- onClick: {
979
- type: PropType<((event: PointerEvent) => any) | undefined>;
980
- required: false;
981
- default: undefined;
982
- };
983
- /** Used as `@click-icon="..."` in a template, when clicking on icon */
984
- onClickIcon: {
985
- type: PropType<((event: PointerEvent) => any) | undefined>;
986
- required: false;
987
- default: undefined;
988
- };
989
- /** Used as `@clear="..."` in a template, to clear the text (and related) */
990
- onClear: {
991
- type: PropType<(() => any) | undefined>;
992
- required: false;
993
- default: undefined;
994
- };
995
897
  modelValue: {
996
898
  type: PropType<string>;
997
899
  };
@@ -1004,25 +906,8 @@ resetValidation: () => void | undefined;
1004
906
  validate: () => boolean | Promise<boolean>;
1005
907
  /** If the field has validation errors or not */
1006
908
  hasError: ComputedRef<boolean>;
1007
- /** The native element of the input */
1008
- nativeEl: ComputedRef<HTMLInputElement>;
1009
- /** A flag indicating whether this field is _editable_ or not */
1010
- isEditable: ComputedRef<boolean>;
1011
- /** A flag indicating whether this field is _disabled_ or not */
1012
- isDisabled: ComputedRef<boolean>;
1013
- /** A flag indicating whether this field is _inactive_ or not */
1014
- isInactive: ComputedRef<boolean>;
1015
- /** A flag indicating whether this field is _editable_ and _has focus_ or not */
1016
- hasFocus: ComputedRef<boolean>;
1017
909
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1018
910
  "update:modelValue": (value: string) => any;
1019
- } & {
1020
- beforeinput: (event: InputEvent) => any;
1021
- blur: (event: FocusEvent) => any;
1022
- focus: (event: FocusEvent) => any;
1023
- input: (event: InputEvent) => any;
1024
- keydown: (event: KeyboardEvent) => any;
1025
- keyup: (event: KeyboardEvent) => any;
1026
911
  }, string, PublicProps, Readonly<ExtractPropTypes< {
1027
912
  readonly: {
1028
913
  readonly type: PropType<boolean | undefined>;
@@ -1049,17 +934,13 @@ readonly type: PropType<boolean | "ondemand">;
1049
934
  readonly required: false;
1050
935
  readonly default: undefined;
1051
936
  };
1052
- /** The type of input to present: normal `text` or `password` */
1053
- type: {
1054
- type: PropType<"text" | "password">;
1055
- required: false;
1056
- default: string;
1057
- };
1058
- /** The virtual keyboard to use on mobile devices*/
1059
- mode: {
1060
- type: PropType<"text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
1061
- required: false;
1062
- default: string;
937
+ /** All our options, keyed by the option, with values being the labels */
938
+ options: {
939
+ type: PropType<Record<string, string> | {
940
+ value: string;
941
+ label: string;
942
+ }[]>;
943
+ required: true;
1063
944
  };
1064
945
  /** The label for this input text */
1065
946
  label: {
@@ -1078,27 +959,534 @@ type: PropType<string | undefined>;
1078
959
  required: false;
1079
960
  default: undefined;
1080
961
  };
1081
- /** The icon to display within the control */
1082
- icon: {
962
+ /** The prefix to display before the input value */
963
+ prefix: {
1083
964
  type: PropType<string | undefined>;
1084
965
  required: false;
1085
966
  default: undefined;
1086
967
  };
1087
- /** An optional link that will make the icon navigable */
1088
- link: {
1089
- type: PropType<RouteLocationRaw | undefined>;
968
+ /** The icon to display within the control */
969
+ icon: {
970
+ type: PropType<string | undefined>;
1090
971
  required: false;
1091
972
  default: undefined;
1092
973
  };
1093
- /** The input looks editable, but text editing is disabled (for sub-components) */
1094
- nonInteractive: {
974
+ /** Clearable, when clicked value will become the empty string */
975
+ clearable: {
1095
976
  type: BooleanConstructor;
1096
977
  required: false;
1097
978
  default: boolean;
1098
979
  };
1099
- /** The debounce time in milliseconds for the input field */
1100
- debounce: {
1101
- type: PropType<number | undefined>;
980
+ /** Required */
981
+ required: {
982
+ type: BooleanConstructor;
983
+ required: false;
984
+ default: boolean;
985
+ };
986
+ modelValue: {
987
+ type: PropType<string>;
988
+ };
989
+ }>> & Readonly<{
990
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
991
+ }>, {
992
+ icon: string | undefined;
993
+ required: boolean;
994
+ editable: boolean | undefined;
995
+ disabled: boolean | undefined;
996
+ lazyRules: boolean | "ondemand";
997
+ bottomSlots: boolean | undefined;
998
+ readonly: boolean | undefined;
999
+ placeholder: string;
1000
+ hint: string | undefined;
1001
+ prefix: string | undefined;
1002
+ clearable: boolean;
1003
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1004
+
1005
+ declare const __VLS_component_15: DefineComponent<ExtractPropTypes< {
1006
+ readonly: {
1007
+ readonly type: PropType<boolean | undefined>;
1008
+ readonly required: false;
1009
+ readonly default: undefined;
1010
+ };
1011
+ bottomSlots: {
1012
+ readonly type: PropType<boolean | undefined>;
1013
+ readonly required: false;
1014
+ readonly default: undefined;
1015
+ };
1016
+ editable: {
1017
+ readonly type: PropType<boolean | undefined>;
1018
+ readonly required: false;
1019
+ readonly default: undefined;
1020
+ };
1021
+ disabled: {
1022
+ readonly type: PropType<boolean | undefined>;
1023
+ readonly required: false;
1024
+ readonly default: undefined;
1025
+ };
1026
+ lazyRules: {
1027
+ readonly type: PropType<boolean | "ondemand">;
1028
+ readonly required: false;
1029
+ readonly default: undefined;
1030
+ };
1031
+ /** The virtual keyboard to use on mobile devices*/
1032
+ mode: {
1033
+ type: PropType<"text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
1034
+ required: false;
1035
+ default: string;
1036
+ };
1037
+ /** The label for this input text */
1038
+ label: {
1039
+ type: StringConstructor;
1040
+ required: true;
1041
+ };
1042
+ /** The placeholder text when no input was entered */
1043
+ placeholder: {
1044
+ type: StringConstructor;
1045
+ required: false;
1046
+ default: string;
1047
+ };
1048
+ /** The hint to display below the input field */
1049
+ hint: {
1050
+ type: PropType<string | undefined>;
1051
+ required: false;
1052
+ default: undefined;
1053
+ };
1054
+ /** The icon to display within the control */
1055
+ icon: {
1056
+ type: PropType<string | undefined>;
1057
+ required: false;
1058
+ default: undefined;
1059
+ };
1060
+ /** An optional link that will make the icon navigable */
1061
+ link: {
1062
+ type: PropType<RouteLocationRaw | undefined>;
1063
+ required: false;
1064
+ default: undefined;
1065
+ };
1066
+ /** The debounce time in milliseconds for the input field */
1067
+ debounce: {
1068
+ type: PropType<number | undefined>;
1069
+ required: false;
1070
+ default: undefined;
1071
+ };
1072
+ /** The suffix to add to the input */
1073
+ suffix: {
1074
+ type: PropType<string>;
1075
+ required: false;
1076
+ default: string;
1077
+ };
1078
+ /** The prefix to add to the input */
1079
+ prefix: {
1080
+ type: PropType<string>;
1081
+ required: false;
1082
+ default: undefined;
1083
+ };
1084
+ /** Indicates that the field is required (and errors when empty). */
1085
+ required: {
1086
+ type: BooleanConstructor;
1087
+ required: false;
1088
+ default: boolean;
1089
+ };
1090
+ /** The minimum length of this field (starting at 1, for 0 use "required") */
1091
+ minLength: {
1092
+ type: NumberConstructor;
1093
+ required: false;
1094
+ default: number;
1095
+ };
1096
+ /** The maximum length, displayed with a counter (and error when too long). */
1097
+ maxLength: {
1098
+ type: NumberConstructor;
1099
+ required: false;
1100
+ default: number;
1101
+ };
1102
+ /** The validation rules to apply to this field */
1103
+ rules: {
1104
+ type: PropType<ZValidator<string>[]>;
1105
+ required: false;
1106
+ default: () => never[];
1107
+ };
1108
+ modelValue: {
1109
+ type: PropType<string>;
1110
+ };
1111
+ }>, {
1112
+ /** Focus on this control */
1113
+ focus: () => void | undefined;
1114
+ /** Reset validation for this field */
1115
+ resetValidation: () => void | undefined;
1116
+ /** Force validation of this field */
1117
+ validate: () => boolean | Promise<boolean>;
1118
+ /** If the field has validation errors or not */
1119
+ hasError: ComputedRef<boolean>;
1120
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1121
+ "update:modelValue": (value: string) => any;
1122
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1123
+ readonly: {
1124
+ readonly type: PropType<boolean | undefined>;
1125
+ readonly required: false;
1126
+ readonly default: undefined;
1127
+ };
1128
+ bottomSlots: {
1129
+ readonly type: PropType<boolean | undefined>;
1130
+ readonly required: false;
1131
+ readonly default: undefined;
1132
+ };
1133
+ editable: {
1134
+ readonly type: PropType<boolean | undefined>;
1135
+ readonly required: false;
1136
+ readonly default: undefined;
1137
+ };
1138
+ disabled: {
1139
+ readonly type: PropType<boolean | undefined>;
1140
+ readonly required: false;
1141
+ readonly default: undefined;
1142
+ };
1143
+ lazyRules: {
1144
+ readonly type: PropType<boolean | "ondemand">;
1145
+ readonly required: false;
1146
+ readonly default: undefined;
1147
+ };
1148
+ /** The virtual keyboard to use on mobile devices*/
1149
+ mode: {
1150
+ type: PropType<"text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
1151
+ required: false;
1152
+ default: string;
1153
+ };
1154
+ /** The label for this input text */
1155
+ label: {
1156
+ type: StringConstructor;
1157
+ required: true;
1158
+ };
1159
+ /** The placeholder text when no input was entered */
1160
+ placeholder: {
1161
+ type: StringConstructor;
1162
+ required: false;
1163
+ default: string;
1164
+ };
1165
+ /** The hint to display below the input field */
1166
+ hint: {
1167
+ type: PropType<string | undefined>;
1168
+ required: false;
1169
+ default: undefined;
1170
+ };
1171
+ /** The icon to display within the control */
1172
+ icon: {
1173
+ type: PropType<string | undefined>;
1174
+ required: false;
1175
+ default: undefined;
1176
+ };
1177
+ /** An optional link that will make the icon navigable */
1178
+ link: {
1179
+ type: PropType<RouteLocationRaw | undefined>;
1180
+ required: false;
1181
+ default: undefined;
1182
+ };
1183
+ /** The debounce time in milliseconds for the input field */
1184
+ debounce: {
1185
+ type: PropType<number | undefined>;
1186
+ required: false;
1187
+ default: undefined;
1188
+ };
1189
+ /** The suffix to add to the input */
1190
+ suffix: {
1191
+ type: PropType<string>;
1192
+ required: false;
1193
+ default: string;
1194
+ };
1195
+ /** The prefix to add to the input */
1196
+ prefix: {
1197
+ type: PropType<string>;
1198
+ required: false;
1199
+ default: undefined;
1200
+ };
1201
+ /** Indicates that the field is required (and errors when empty). */
1202
+ required: {
1203
+ type: BooleanConstructor;
1204
+ required: false;
1205
+ default: boolean;
1206
+ };
1207
+ /** The minimum length of this field (starting at 1, for 0 use "required") */
1208
+ minLength: {
1209
+ type: NumberConstructor;
1210
+ required: false;
1211
+ default: number;
1212
+ };
1213
+ /** The maximum length, displayed with a counter (and error when too long). */
1214
+ maxLength: {
1215
+ type: NumberConstructor;
1216
+ required: false;
1217
+ default: number;
1218
+ };
1219
+ /** The validation rules to apply to this field */
1220
+ rules: {
1221
+ type: PropType<ZValidator<string>[]>;
1222
+ required: false;
1223
+ default: () => never[];
1224
+ };
1225
+ modelValue: {
1226
+ type: PropType<string>;
1227
+ };
1228
+ }>> & Readonly<{
1229
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1230
+ }>, {
1231
+ icon: string | undefined;
1232
+ required: boolean;
1233
+ editable: boolean | undefined;
1234
+ disabled: boolean | undefined;
1235
+ lazyRules: boolean | "ondemand";
1236
+ bottomSlots: boolean | undefined;
1237
+ readonly: boolean | undefined;
1238
+ link: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
1239
+ mode: "search" | "email" | "text" | "decimal" | "numeric" | "tel" | "url";
1240
+ placeholder: string;
1241
+ hint: string | undefined;
1242
+ debounce: number | undefined;
1243
+ suffix: string;
1244
+ prefix: string;
1245
+ maxLength: number;
1246
+ rules: ZValidator<string>[];
1247
+ minLength: number;
1248
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1249
+
1250
+ declare const __VLS_component_16: DefineComponent<ExtractPropTypes< {
1251
+ readonly: {
1252
+ readonly type: PropType<boolean | undefined>;
1253
+ readonly required: false;
1254
+ readonly default: undefined;
1255
+ };
1256
+ bottomSlots: {
1257
+ readonly type: PropType<boolean | undefined>;
1258
+ readonly required: false;
1259
+ readonly default: undefined;
1260
+ };
1261
+ editable: {
1262
+ readonly type: PropType<boolean | undefined>;
1263
+ readonly required: false;
1264
+ readonly default: undefined;
1265
+ };
1266
+ disabled: {
1267
+ readonly type: PropType<boolean | undefined>;
1268
+ readonly required: false;
1269
+ readonly default: undefined;
1270
+ };
1271
+ lazyRules: {
1272
+ readonly type: PropType<boolean | "ondemand">;
1273
+ readonly required: false;
1274
+ readonly default: undefined;
1275
+ };
1276
+ /** The type of input to present: normal `text` or `password` */
1277
+ type: {
1278
+ type: PropType<"text" | "password">;
1279
+ required: false;
1280
+ default: string;
1281
+ };
1282
+ /** The virtual keyboard to use on mobile devices*/
1283
+ mode: {
1284
+ type: PropType<"text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
1285
+ required: false;
1286
+ default: string;
1287
+ };
1288
+ /** The label for this input text */
1289
+ label: {
1290
+ type: StringConstructor;
1291
+ required: true;
1292
+ };
1293
+ /** The placeholder text when no input was entered */
1294
+ placeholder: {
1295
+ type: StringConstructor;
1296
+ required: false;
1297
+ default: string;
1298
+ };
1299
+ /** The hint to display below the input field */
1300
+ hint: {
1301
+ type: PropType<string | undefined>;
1302
+ required: false;
1303
+ default: undefined;
1304
+ };
1305
+ /** The icon to display within the control */
1306
+ icon: {
1307
+ type: PropType<string | undefined>;
1308
+ required: false;
1309
+ default: undefined;
1310
+ };
1311
+ /** An optional link that will make the icon navigable */
1312
+ link: {
1313
+ type: PropType<RouteLocationRaw | undefined>;
1314
+ required: false;
1315
+ default: undefined;
1316
+ };
1317
+ /** The input looks editable, but text editing is disabled (for sub-components) */
1318
+ nonInteractive: {
1319
+ type: BooleanConstructor;
1320
+ required: false;
1321
+ default: boolean;
1322
+ };
1323
+ /** The debounce time in milliseconds for the input field */
1324
+ debounce: {
1325
+ type: PropType<number | undefined>;
1326
+ required: false;
1327
+ default: undefined;
1328
+ };
1329
+ /** The suffix to add to the input */
1330
+ suffix: {
1331
+ type: PropType<string>;
1332
+ required: false;
1333
+ default: string;
1334
+ };
1335
+ /** The prefix to add to the input */
1336
+ prefix: {
1337
+ type: PropType<string>;
1338
+ required: false;
1339
+ default: undefined;
1340
+ };
1341
+ /** Keep the value "raw" (as in, do not normalize white spaces) */
1342
+ raw: {
1343
+ type: BooleanConstructor;
1344
+ required: false;
1345
+ default: boolean;
1346
+ };
1347
+ /** Indicates that the field is required (and errors when empty). */
1348
+ required: {
1349
+ type: BooleanConstructor;
1350
+ required: false;
1351
+ default: boolean;
1352
+ };
1353
+ /** The maximum length, displayed with a counter (and error when too long). */
1354
+ maxLength: {
1355
+ type: NumberConstructor;
1356
+ required: false;
1357
+ default: number;
1358
+ };
1359
+ /** The validation rules to apply to this field */
1360
+ rules: {
1361
+ type: PropType<ValidationRule<string>[]>;
1362
+ required: false;
1363
+ default: () => never[];
1364
+ };
1365
+ /** Used as `@click="..."` in a template, when clicking on text field */
1366
+ onClick: {
1367
+ type: PropType<((event: PointerEvent) => any) | undefined>;
1368
+ required: false;
1369
+ default: undefined;
1370
+ };
1371
+ /** Used as `@click-icon="..."` in a template, when clicking on icon */
1372
+ onClickIcon: {
1373
+ type: PropType<((event: PointerEvent) => any) | undefined>;
1374
+ required: false;
1375
+ default: undefined;
1376
+ };
1377
+ /** Used as `@clear="..."` in a template, to clear the text (and related) */
1378
+ onClear: {
1379
+ type: PropType<(() => any) | undefined>;
1380
+ required: false;
1381
+ default: undefined;
1382
+ };
1383
+ modelValue: {
1384
+ type: PropType<string>;
1385
+ };
1386
+ }>, {
1387
+ /** Focus on this control */
1388
+ focus: () => void | undefined;
1389
+ /** Reset validation for this field */
1390
+ resetValidation: () => void | undefined;
1391
+ /** Force validation of this field */
1392
+ validate: () => boolean | Promise<boolean>;
1393
+ /** If the field has validation errors or not */
1394
+ hasError: ComputedRef<boolean>;
1395
+ /** The native element of the input */
1396
+ nativeEl: ComputedRef<HTMLInputElement>;
1397
+ /** A flag indicating whether this field is _editable_ or not */
1398
+ isEditable: ComputedRef<boolean>;
1399
+ /** A flag indicating whether this field is _disabled_ or not */
1400
+ isDisabled: ComputedRef<boolean>;
1401
+ /** A flag indicating whether this field is _inactive_ or not */
1402
+ isInactive: ComputedRef<boolean>;
1403
+ /** A flag indicating whether this field is _editable_ and _has focus_ or not */
1404
+ hasFocus: ComputedRef<boolean>;
1405
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1406
+ "update:modelValue": (value: string) => any;
1407
+ } & {
1408
+ beforeinput: (event: InputEvent) => any;
1409
+ blur: (event: FocusEvent) => any;
1410
+ focus: (event: FocusEvent) => any;
1411
+ input: (event: InputEvent) => any;
1412
+ keydown: (event: KeyboardEvent) => any;
1413
+ keyup: (event: KeyboardEvent) => any;
1414
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1415
+ readonly: {
1416
+ readonly type: PropType<boolean | undefined>;
1417
+ readonly required: false;
1418
+ readonly default: undefined;
1419
+ };
1420
+ bottomSlots: {
1421
+ readonly type: PropType<boolean | undefined>;
1422
+ readonly required: false;
1423
+ readonly default: undefined;
1424
+ };
1425
+ editable: {
1426
+ readonly type: PropType<boolean | undefined>;
1427
+ readonly required: false;
1428
+ readonly default: undefined;
1429
+ };
1430
+ disabled: {
1431
+ readonly type: PropType<boolean | undefined>;
1432
+ readonly required: false;
1433
+ readonly default: undefined;
1434
+ };
1435
+ lazyRules: {
1436
+ readonly type: PropType<boolean | "ondemand">;
1437
+ readonly required: false;
1438
+ readonly default: undefined;
1439
+ };
1440
+ /** The type of input to present: normal `text` or `password` */
1441
+ type: {
1442
+ type: PropType<"text" | "password">;
1443
+ required: false;
1444
+ default: string;
1445
+ };
1446
+ /** The virtual keyboard to use on mobile devices*/
1447
+ mode: {
1448
+ type: PropType<"text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
1449
+ required: false;
1450
+ default: string;
1451
+ };
1452
+ /** The label for this input text */
1453
+ label: {
1454
+ type: StringConstructor;
1455
+ required: true;
1456
+ };
1457
+ /** The placeholder text when no input was entered */
1458
+ placeholder: {
1459
+ type: StringConstructor;
1460
+ required: false;
1461
+ default: string;
1462
+ };
1463
+ /** The hint to display below the input field */
1464
+ hint: {
1465
+ type: PropType<string | undefined>;
1466
+ required: false;
1467
+ default: undefined;
1468
+ };
1469
+ /** The icon to display within the control */
1470
+ icon: {
1471
+ type: PropType<string | undefined>;
1472
+ required: false;
1473
+ default: undefined;
1474
+ };
1475
+ /** An optional link that will make the icon navigable */
1476
+ link: {
1477
+ type: PropType<RouteLocationRaw | undefined>;
1478
+ required: false;
1479
+ default: undefined;
1480
+ };
1481
+ /** The input looks editable, but text editing is disabled (for sub-components) */
1482
+ nonInteractive: {
1483
+ type: BooleanConstructor;
1484
+ required: false;
1485
+ default: boolean;
1486
+ };
1487
+ /** The debounce time in milliseconds for the input field */
1488
+ debounce: {
1489
+ type: PropType<number | undefined>;
1102
1490
  required: false;
1103
1491
  default: undefined;
1104
1492
  };
@@ -1192,7 +1580,7 @@ onClickIcon: ((event: PointerEvent) => any) | undefined;
1192
1580
  onClear: (() => any) | undefined;
1193
1581
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1194
1582
 
1195
- declare const __VLS_component_15: DefineComponent<ExtractPropTypes< {
1583
+ declare const __VLS_component_17: DefineComponent<ExtractPropTypes< {
1196
1584
  label: {
1197
1585
  type: StringConstructor;
1198
1586
  required: false;
@@ -1219,7 +1607,7 @@ label: string;
1219
1607
  caption: string;
1220
1608
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1221
1609
 
1222
- declare const __VLS_component_16: DefineComponent<ExtractPropTypes< {
1610
+ declare const __VLS_component_18: DefineComponent<ExtractPropTypes< {
1223
1611
  /** Label for the page title (optional, see also the `label` slot) */
1224
1612
  label: {
1225
1613
  type: StringConstructor;
@@ -1352,7 +1740,7 @@ onDelete: (() => any) | undefined;
1352
1740
  onRestore: (() => any) | undefined;
1353
1741
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1354
1742
 
1355
- declare const __VLS_component_17: DefineComponent<ExtractPropTypes< {
1743
+ declare const __VLS_component_19: DefineComponent<ExtractPropTypes< {
1356
1744
  /** The object being created */
1357
1745
  value: {
1358
1746
  type: PropType<Record<string, any> | undefined>;
@@ -1412,7 +1800,13 @@ disabled: boolean | undefined;
1412
1800
  caption: string;
1413
1801
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1414
1802
 
1415
- declare const __VLS_component_18: DefineComponent<ExtractPropTypes< {
1803
+ declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {
1804
+ show: () => void | undefined;
1805
+ hide: () => void | undefined;
1806
+ toggle: () => void | undefined;
1807
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1808
+
1809
+ declare const __VLS_component_20: DefineComponent<ExtractPropTypes< {
1416
1810
  /** Optional title for this table */
1417
1811
  title: {
1418
1812
  type: StringConstructor;
@@ -1711,12 +2105,6 @@ onRowDblclick: ((event: PointerEvent, row: any, index: number) => void) | undefi
1711
2105
  onRowContextmenu: ((event: PointerEvent, row: any, index: number) => void) | undefined;
1712
2106
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1713
2107
 
1714
- declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {
1715
- show: () => void | undefined;
1716
- hide: () => void | undefined;
1717
- toggle: () => void | undefined;
1718
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1719
-
1720
2108
  declare const __VLS_component_3: DefineComponent<QBtnGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<QBtnGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1721
2109
 
1722
2110
  declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
@@ -2208,32 +2596,40 @@ declare type __VLS_Slots_10 = {
2208
2596
  };
2209
2597
 
2210
2598
  declare type __VLS_Slots_11 = {
2211
- default?: (formProps: Readonly<ZFormProps>) => VNode[];
2212
2599
  append?: (formProps: Readonly<ZFormProps>) => VNode[];
2213
2600
  };
2214
2601
 
2215
2602
  declare type __VLS_Slots_12 = {
2216
- prepend?: (formProps: Readonly<ZFormProps>) => VNode[];
2217
2603
  append?: (formProps: Readonly<ZFormProps>) => VNode[];
2218
- option?: QSelectSlots['option'];
2219
2604
  };
2220
2605
 
2221
2606
  declare type __VLS_Slots_13 = {
2607
+ default?: (formProps: Readonly<ZFormProps>) => VNode[];
2222
2608
  append?: (formProps: Readonly<ZFormProps>) => VNode[];
2223
2609
  };
2224
2610
 
2225
2611
  declare type __VLS_Slots_14 = {
2612
+ prepend?: (formProps: Readonly<ZFormProps>) => VNode[];
2226
2613
  append?: (formProps: Readonly<ZFormProps>) => VNode[];
2614
+ option?: QSelectSlots['option'];
2227
2615
  };
2228
2616
 
2229
2617
  declare type __VLS_Slots_15 = {
2618
+ append?: (formProps: Readonly<ZFormProps>) => VNode[];
2619
+ };
2620
+
2621
+ declare type __VLS_Slots_16 = {
2622
+ append?: (formProps: Readonly<ZFormProps>) => VNode[];
2623
+ };
2624
+
2625
+ declare type __VLS_Slots_17 = {
2230
2626
  default(): VNode[];
2231
2627
  caption?: () => VNode[];
2232
2628
  label?: () => VNode[];
2233
2629
  info?: () => VNode[];
2234
2630
  };
2235
2631
 
2236
- declare type __VLS_Slots_16 = {
2632
+ declare type __VLS_Slots_18 = {
2237
2633
  /** The components of the form for the object being viewed/edited */
2238
2634
  'default': () => VNode[];
2239
2635
  /** Label for the page title (optional, see also the `label` prop) */
@@ -2250,7 +2646,7 @@ declare type __VLS_Slots_16 = {
2250
2646
  'controls-under'?: () => VNode[];
2251
2647
  };
2252
2648
 
2253
- declare type __VLS_Slots_17 = {
2649
+ declare type __VLS_Slots_19 = {
2254
2650
  /** The components of the form for the object being viewed/edited */
2255
2651
  default: () => VNode[];
2256
2652
  /** Label for the page title (optional, see also the `label` prop) */
@@ -2259,7 +2655,9 @@ declare type __VLS_Slots_17 = {
2259
2655
  caption?: () => VNode[];
2260
2656
  };
2261
2657
 
2262
- declare type __VLS_Slots_18 = {
2658
+ declare type __VLS_Slots_2 = Partial<QBtnDropdownSlots>;
2659
+
2660
+ declare type __VLS_Slots_20 = {
2263
2661
  [key: `data-${string}`]: (props: {
2264
2662
  index: number;
2265
2663
  row: any;
@@ -2269,8 +2667,6 @@ declare type __VLS_Slots_18 = {
2269
2667
  'default'?: () => VNode[];
2270
2668
  };
2271
2669
 
2272
- declare type __VLS_Slots_2 = Partial<QBtnDropdownSlots>;
2273
-
2274
2670
  declare type __VLS_Slots_3 = Partial<QBtnGroupSlots>;
2275
2671
 
2276
2672
  declare type __VLS_Slots_4 = {
@@ -2355,12 +2751,24 @@ declare type __VLS_WithSlots_18<T, S> = T & {
2355
2751
  };
2356
2752
  };
2357
2753
 
2754
+ declare type __VLS_WithSlots_19<T, S> = T & {
2755
+ new (): {
2756
+ $slots: S;
2757
+ };
2758
+ };
2759
+
2358
2760
  declare type __VLS_WithSlots_2<T, S> = T & {
2359
2761
  new (): {
2360
2762
  $slots: S;
2361
2763
  };
2362
2764
  };
2363
2765
 
2766
+ declare type __VLS_WithSlots_20<T, S> = T & {
2767
+ new (): {
2768
+ $slots: S;
2769
+ };
2770
+ };
2771
+
2364
2772
  declare type __VLS_WithSlots_3<T, S> = T & {
2365
2773
  new (): {
2366
2774
  $slots: S;
@@ -2812,201 +3220,35 @@ type: PropType<string | undefined>;
2812
3220
  required: false;
2813
3221
  default: undefined;
2814
3222
  };
2815
- /** The suffix to display after the input value */
2816
- suffix: {
2817
- type: PropType<string | undefined>;
2818
- required: false;
2819
- default: undefined;
2820
- };
2821
- /** The icon to display within the control */
2822
- icon: {
2823
- type: PropType<string | undefined>;
2824
- required: false;
2825
- default: undefined;
2826
- };
2827
- /** Clearable, when clicked value will become the empty string */
2828
- clearable: {
2829
- type: BooleanConstructor;
2830
- required: false;
2831
- default: boolean;
2832
- };
2833
- /** Required */
2834
- required: {
2835
- type: BooleanConstructor;
2836
- required: false;
2837
- default: boolean;
2838
- };
2839
- modelValue: {
2840
- type: PropType<string>;
2841
- };
2842
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2843
- "update:modelValue": (value: string | undefined) => any;
2844
- }, string, PublicProps, Readonly<ExtractPropTypes< {
2845
- readonly: {
2846
- readonly type: PropType<boolean | undefined>;
2847
- readonly required: false;
2848
- readonly default: undefined;
2849
- };
2850
- bottomSlots: {
2851
- readonly type: PropType<boolean | undefined>;
2852
- readonly required: false;
2853
- readonly default: undefined;
2854
- };
2855
- editable: {
2856
- readonly type: PropType<boolean | undefined>;
2857
- readonly required: false;
2858
- readonly default: undefined;
2859
- };
2860
- disabled: {
2861
- readonly type: PropType<boolean | undefined>;
2862
- readonly required: false;
2863
- readonly default: undefined;
2864
- };
2865
- lazyRules: {
2866
- readonly type: PropType<boolean | "ondemand">;
2867
- readonly required: false;
2868
- readonly default: undefined;
2869
- };
2870
- /** The label for this input text */
2871
- label: {
2872
- type: StringConstructor;
2873
- required: true;
2874
- };
2875
- /** The placeholder text when no input was entered */
2876
- placeholder: {
2877
- type: StringConstructor;
2878
- required: false;
2879
- default: string;
2880
- };
2881
- /** The hint to display below the input field */
2882
- hint: {
2883
- type: PropType<string | undefined>;
2884
- required: false;
2885
- default: undefined;
2886
- };
2887
- /** The suffix to display after the input value */
2888
- suffix: {
2889
- type: PropType<string | undefined>;
2890
- required: false;
2891
- default: undefined;
2892
- };
2893
- /** The icon to display within the control */
2894
- icon: {
2895
- type: PropType<string | undefined>;
2896
- required: false;
2897
- default: undefined;
2898
- };
2899
- /** Clearable, when clicked value will become the empty string */
2900
- clearable: {
2901
- type: BooleanConstructor;
2902
- required: false;
2903
- default: boolean;
2904
- };
2905
- /** Required */
2906
- required: {
2907
- type: BooleanConstructor;
2908
- required: false;
2909
- default: boolean;
2910
- };
2911
- modelValue: {
2912
- type: PropType<string>;
2913
- };
2914
- }>> & Readonly<{
2915
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
2916
- }>, {
2917
- icon: string | undefined;
2918
- required: boolean;
2919
- editable: boolean | undefined;
2920
- disabled: boolean | undefined;
2921
- lazyRules: boolean | "ondemand";
2922
- bottomSlots: boolean | undefined;
2923
- readonly: boolean | undefined;
2924
- placeholder: string;
2925
- hint: string | undefined;
2926
- suffix: string | undefined;
2927
- clearable: boolean;
2928
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2929
-
2930
- declare const _default_19: DefineComponent<ExtractPropTypes< {
2931
- readonly: {
2932
- readonly type: PropType<boolean | undefined>;
2933
- readonly required: false;
2934
- readonly default: undefined;
2935
- };
2936
- bottomSlots: {
2937
- readonly type: PropType<boolean | undefined>;
2938
- readonly required: false;
2939
- readonly default: undefined;
2940
- };
2941
- editable: {
2942
- readonly type: PropType<boolean | undefined>;
2943
- readonly required: false;
2944
- readonly default: undefined;
2945
- };
2946
- disabled: {
2947
- readonly type: PropType<boolean | undefined>;
2948
- readonly required: false;
2949
- readonly default: undefined;
2950
- };
2951
- lazyRules: {
2952
- readonly type: PropType<boolean | "ondemand">;
2953
- readonly required: false;
2954
- readonly default: undefined;
2955
- };
2956
- /** The label for this input text */
2957
- label: {
2958
- type: StringConstructor;
2959
- required: true;
2960
- };
2961
- /** The placeholder text when no input was entered */
2962
- placeholder: {
2963
- type: StringConstructor;
2964
- required: false;
2965
- default: string;
2966
- };
2967
- /** The hint to display below the input field */
2968
- hint: {
2969
- type: PropType<string | undefined>;
2970
- required: false;
2971
- default: undefined;
2972
- };
2973
- /** The icon to display within the control */
2974
- icon: {
2975
- type: PropType<string>;
3223
+ /** The suffix to display after the input value */
3224
+ suffix: {
3225
+ type: PropType<string | undefined>;
2976
3226
  required: false;
2977
- default: "sym_r_calendar_today";
3227
+ default: undefined;
2978
3228
  };
2979
- format: {
2980
- type: PropType<DateTimeFormatAlias | Intl.DateTimeFormatOptions>;
3229
+ /** The icon to display within the control */
3230
+ icon: {
3231
+ type: PropType<string | undefined>;
2981
3232
  required: false;
2982
- default: string;
3233
+ default: undefined;
2983
3234
  };
2984
- /** Indicates that the field is required (and errors when empty). */
2985
- required: {
3235
+ /** Clearable, when clicked value will become the empty string */
3236
+ clearable: {
2986
3237
  type: BooleanConstructor;
2987
3238
  required: false;
2988
3239
  default: boolean;
2989
3240
  };
2990
- /** Indicates that the field can be cleared (sets the date to ''). */
2991
- clearable: {
2992
- type: PropType<boolean | "today">;
3241
+ /** Required */
3242
+ required: {
3243
+ type: BooleanConstructor;
2993
3244
  required: false;
2994
3245
  default: boolean;
2995
3246
  };
2996
3247
  modelValue: {
2997
3248
  type: PropType<string>;
2998
3249
  };
2999
- }>, {
3000
- /** Reset validation for this field */
3001
- resetValidation: () => void | undefined;
3002
- /** Force validation of this field */
3003
- validate: () => boolean | Promise<boolean>;
3004
- /** If the field has validation errors or not */
3005
- hasError: ComputedRef<boolean>;
3006
- /** Return _today_ in date format (`yyyy-mm-dd`) in the current timezone */
3007
- today: () => string;
3008
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3009
- "update:modelValue": (value: string) => any;
3250
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3251
+ "update:modelValue": (value: string | undefined) => any;
3010
3252
  }, string, PublicProps, Readonly<ExtractPropTypes< {
3011
3253
  readonly: {
3012
3254
  readonly type: PropType<boolean | undefined>;
@@ -3050,26 +3292,27 @@ type: PropType<string | undefined>;
3050
3292
  required: false;
3051
3293
  default: undefined;
3052
3294
  };
3053
- /** The icon to display within the control */
3054
- icon: {
3055
- type: PropType<string>;
3295
+ /** The suffix to display after the input value */
3296
+ suffix: {
3297
+ type: PropType<string | undefined>;
3056
3298
  required: false;
3057
- default: "sym_r_calendar_today";
3299
+ default: undefined;
3058
3300
  };
3059
- format: {
3060
- type: PropType<DateTimeFormatAlias | Intl.DateTimeFormatOptions>;
3301
+ /** The icon to display within the control */
3302
+ icon: {
3303
+ type: PropType<string | undefined>;
3061
3304
  required: false;
3062
- default: string;
3305
+ default: undefined;
3063
3306
  };
3064
- /** Indicates that the field is required (and errors when empty). */
3065
- required: {
3307
+ /** Clearable, when clicked value will become the empty string */
3308
+ clearable: {
3066
3309
  type: BooleanConstructor;
3067
3310
  required: false;
3068
3311
  default: boolean;
3069
3312
  };
3070
- /** Indicates that the field can be cleared (sets the date to ''). */
3071
- clearable: {
3072
- type: PropType<boolean | "today">;
3313
+ /** Required */
3314
+ required: {
3315
+ type: BooleanConstructor;
3073
3316
  required: false;
3074
3317
  default: boolean;
3075
3318
  };
@@ -3077,9 +3320,9 @@ modelValue: {
3077
3320
  type: PropType<string>;
3078
3321
  };
3079
3322
  }>> & Readonly<{
3080
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
3323
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
3081
3324
  }>, {
3082
- icon: string;
3325
+ icon: string | undefined;
3083
3326
  required: boolean;
3084
3327
  editable: boolean | undefined;
3085
3328
  disabled: boolean | undefined;
@@ -3088,13 +3331,11 @@ bottomSlots: boolean | undefined;
3088
3331
  readonly: boolean | undefined;
3089
3332
  placeholder: string;
3090
3333
  hint: string | undefined;
3091
- clearable: boolean | "today";
3092
- format: string | Intl.DateTimeFormatOptions;
3334
+ suffix: string | undefined;
3335
+ clearable: boolean;
3093
3336
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3094
3337
 
3095
- declare const _default_2: __VLS_WithSlots_2<typeof __VLS_component_2, __VLS_Slots_2>;
3096
-
3097
- declare const _default_20: DefineComponent<ExtractPropTypes< {
3338
+ declare const _default_19: DefineComponent<ExtractPropTypes< {
3098
3339
  readonly: {
3099
3340
  readonly type: PropType<boolean | undefined>;
3100
3341
  readonly required: false;
@@ -3161,7 +3402,7 @@ required: false;
3161
3402
  default: boolean;
3162
3403
  };
3163
3404
  modelValue: {
3164
- type: PropType<ZDateRangeData>;
3405
+ type: PropType<string>;
3165
3406
  };
3166
3407
  }>, {
3167
3408
  /** Reset validation for this field */
@@ -3173,7 +3414,7 @@ hasError: ComputedRef<boolean>;
3173
3414
  /** Return _today_ in date format (`yyyy-mm-dd`) in the current timezone */
3174
3415
  today: () => string;
3175
3416
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3176
- "update:modelValue": (value: ZDateRangeData | undefined) => any;
3417
+ "update:modelValue": (value: string) => any;
3177
3418
  }, string, PublicProps, Readonly<ExtractPropTypes< {
3178
3419
  readonly: {
3179
3420
  readonly type: PropType<boolean | undefined>;
@@ -3241,10 +3482,10 @@ required: false;
3241
3482
  default: boolean;
3242
3483
  };
3243
3484
  modelValue: {
3244
- type: PropType<ZDateRangeData>;
3485
+ type: PropType<string>;
3245
3486
  };
3246
3487
  }>> & Readonly<{
3247
- "onUpdate:modelValue"?: ((value: ZDateRangeData | undefined) => any) | undefined;
3488
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
3248
3489
  }>, {
3249
3490
  icon: string;
3250
3491
  required: boolean;
@@ -3259,7 +3500,9 @@ clearable: boolean | "today";
3259
3500
  format: string | Intl.DateTimeFormatOptions;
3260
3501
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3261
3502
 
3262
- declare const _default_21: DefineComponent<ExtractPropTypes< {
3503
+ declare const _default_2: __VLS_WithSlots_2<typeof __VLS_component_2, __VLS_Slots_2>;
3504
+
3505
+ declare const _default_20: DefineComponent<ExtractPropTypes< {
3263
3506
  readonly: {
3264
3507
  readonly type: PropType<boolean | undefined>;
3265
3508
  readonly required: false;
@@ -3304,9 +3547,14 @@ default: undefined;
3304
3547
  };
3305
3548
  /** The icon to display within the control */
3306
3549
  icon: {
3307
- type: PropType<string | undefined>;
3550
+ type: PropType<string>;
3308
3551
  required: false;
3309
- default: "sym_r_barcode";
3552
+ default: "sym_r_calendar_today";
3553
+ };
3554
+ format: {
3555
+ type: PropType<DateTimeFormatAlias | Intl.DateTimeFormatOptions>;
3556
+ required: false;
3557
+ default: string;
3310
3558
  };
3311
3559
  /** Indicates that the field is required (and errors when empty). */
3312
3560
  required: {
@@ -3314,26 +3562,26 @@ type: BooleanConstructor;
3314
3562
  required: false;
3315
3563
  default: boolean;
3316
3564
  };
3317
- /** The validation rules to apply to this field */
3318
- rules: {
3319
- type: PropType<ZValidator<string>[]>;
3565
+ /** Indicates that the field can be cleared (sets the date to ''). */
3566
+ clearable: {
3567
+ type: PropType<boolean | "today">;
3320
3568
  required: false;
3321
- default: () => never[];
3569
+ default: boolean;
3322
3570
  };
3323
3571
  modelValue: {
3324
- type: PropType<string>;
3572
+ type: PropType<ZDateRangeData>;
3325
3573
  };
3326
3574
  }>, {
3327
- /** Focus on this control */
3328
- focus: () => void | undefined;
3329
3575
  /** Reset validation for this field */
3330
3576
  resetValidation: () => void | undefined;
3331
3577
  /** Force validation of this field */
3332
3578
  validate: () => boolean | Promise<boolean>;
3333
3579
  /** If the field has validation errors or not */
3334
3580
  hasError: ComputedRef<boolean>;
3581
+ /** Return _today_ in date format (`yyyy-mm-dd`) in the current timezone */
3582
+ today: () => string;
3335
3583
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3336
- "update:modelValue": (value: string) => any;
3584
+ "update:modelValue": (value: ZDateRangeData | undefined) => any;
3337
3585
  }, string, PublicProps, Readonly<ExtractPropTypes< {
3338
3586
  readonly: {
3339
3587
  readonly type: PropType<boolean | undefined>;
@@ -3379,9 +3627,14 @@ default: undefined;
3379
3627
  };
3380
3628
  /** The icon to display within the control */
3381
3629
  icon: {
3382
- type: PropType<string | undefined>;
3630
+ type: PropType<string>;
3383
3631
  required: false;
3384
- default: "sym_r_barcode";
3632
+ default: "sym_r_calendar_today";
3633
+ };
3634
+ format: {
3635
+ type: PropType<DateTimeFormatAlias | Intl.DateTimeFormatOptions>;
3636
+ required: false;
3637
+ default: string;
3385
3638
  };
3386
3639
  /** Indicates that the field is required (and errors when empty). */
3387
3640
  required: {
@@ -3389,150 +3642,32 @@ type: BooleanConstructor;
3389
3642
  required: false;
3390
3643
  default: boolean;
3391
3644
  };
3392
- /** The validation rules to apply to this field */
3393
- rules: {
3394
- type: PropType<ZValidator<string>[]>;
3645
+ /** Indicates that the field can be cleared (sets the date to ''). */
3646
+ clearable: {
3647
+ type: PropType<boolean | "today">;
3395
3648
  required: false;
3396
- default: () => never[];
3649
+ default: boolean;
3397
3650
  };
3398
3651
  modelValue: {
3399
- type: PropType<string>;
3652
+ type: PropType<ZDateRangeData>;
3400
3653
  };
3401
3654
  }>> & Readonly<{
3402
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
3655
+ "onUpdate:modelValue"?: ((value: ZDateRangeData | undefined) => any) | undefined;
3403
3656
  }>, {
3404
- icon: string | undefined;
3657
+ icon: string;
3405
3658
  required: boolean;
3406
3659
  editable: boolean | undefined;
3407
3660
  disabled: boolean | undefined;
3408
3661
  lazyRules: boolean | "ondemand";
3409
- bottomSlots: boolean | undefined;
3410
- readonly: boolean | undefined;
3411
- placeholder: string;
3412
- hint: string | undefined;
3413
- rules: ZValidator<string>[];
3414
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3415
-
3416
- declare const _default_22: DefineComponent<ExtractPropTypes< {
3417
- /** The value to display in this label */
3418
- value: {
3419
- type: PropType<string | number | boolean | null | undefined>;
3420
- required: false;
3421
- default: undefined;
3422
- };
3423
- /** Whether the label is minimalistic or not */
3424
- minimal: {
3425
- type: BooleanConstructor;
3426
- required: false;
3427
- default: boolean;
3428
- };
3429
- /** The label for this input text */
3430
- label: {
3431
- type: StringConstructor;
3432
- required: true;
3433
- };
3434
- /** The placeholder text when no input was entered */
3435
- placeholder: {
3436
- type: StringConstructor;
3437
- required: false;
3438
- default: string;
3439
- };
3440
- /** The hint to display below the input field */
3441
- hint: {
3442
- type: PropType<string | undefined>;
3443
- required: false;
3444
- default: undefined;
3445
- };
3446
- /** The icon to display within the control */
3447
- icon: {
3448
- type: PropType<string | undefined>;
3449
- required: false;
3450
- default: undefined;
3451
- };
3452
- /** An optional link that will make the icon navigable */
3453
- link: {
3454
- type: PropType<RouteLocationRaw | undefined>;
3455
- required: false;
3456
- default: undefined;
3457
- };
3458
- /** Disabled state, overriding the editable and active states */
3459
- disabled: {
3460
- type: PropType<boolean | undefined>;
3461
- required: false;
3462
- default: undefined;
3463
- };
3464
- /** Whether to reserve space for the bottom slots or not */
3465
- bottomSlots: {
3466
- type: PropType<boolean | undefined>;
3467
- required: false;
3468
- default: undefined;
3469
- };
3470
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
3471
- /** The value to display in this label */
3472
- value: {
3473
- type: PropType<string | number | boolean | null | undefined>;
3474
- required: false;
3475
- default: undefined;
3476
- };
3477
- /** Whether the label is minimalistic or not */
3478
- minimal: {
3479
- type: BooleanConstructor;
3480
- required: false;
3481
- default: boolean;
3482
- };
3483
- /** The label for this input text */
3484
- label: {
3485
- type: StringConstructor;
3486
- required: true;
3487
- };
3488
- /** The placeholder text when no input was entered */
3489
- placeholder: {
3490
- type: StringConstructor;
3491
- required: false;
3492
- default: string;
3493
- };
3494
- /** The hint to display below the input field */
3495
- hint: {
3496
- type: PropType<string | undefined>;
3497
- required: false;
3498
- default: undefined;
3499
- };
3500
- /** The icon to display within the control */
3501
- icon: {
3502
- type: PropType<string | undefined>;
3503
- required: false;
3504
- default: undefined;
3505
- };
3506
- /** An optional link that will make the icon navigable */
3507
- link: {
3508
- type: PropType<RouteLocationRaw | undefined>;
3509
- required: false;
3510
- default: undefined;
3511
- };
3512
- /** Disabled state, overriding the editable and active states */
3513
- disabled: {
3514
- type: PropType<boolean | undefined>;
3515
- required: false;
3516
- default: undefined;
3517
- };
3518
- /** Whether to reserve space for the bottom slots or not */
3519
- bottomSlots: {
3520
- type: PropType<boolean | undefined>;
3521
- required: false;
3522
- default: undefined;
3523
- };
3524
- }>> & Readonly<{}>, {
3525
- icon: string | undefined;
3526
- disabled: boolean | undefined;
3527
- bottomSlots: boolean | undefined;
3528
- value: string | number | boolean | null | undefined;
3529
- link: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
3662
+ bottomSlots: boolean | undefined;
3663
+ readonly: boolean | undefined;
3530
3664
  placeholder: string;
3531
3665
  hint: string | undefined;
3532
- minimal: boolean;
3666
+ clearable: boolean | "today";
3667
+ format: string | Intl.DateTimeFormatOptions;
3533
3668
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3534
3669
 
3535
- declare const _default_23: DefineComponent<ExtractPropTypes< {
3670
+ declare const _default_21: DefineComponent<ExtractPropTypes< {
3536
3671
  readonly: {
3537
3672
  readonly type: PropType<boolean | undefined>;
3538
3673
  readonly required: false;
@@ -3558,12 +3693,6 @@ readonly type: PropType<boolean | "ondemand">;
3558
3693
  readonly required: false;
3559
3694
  readonly default: undefined;
3560
3695
  };
3561
- /** The virtual keyboard to use on mobile devices*/
3562
- mode: {
3563
- type: PropType<"decimal" | "numeric">;
3564
- required: false;
3565
- default: string;
3566
- };
3567
3696
  /** The label for this input text */
3568
3697
  label: {
3569
3698
  type: StringConstructor;
@@ -3585,40 +3714,22 @@ default: undefined;
3585
3714
  icon: {
3586
3715
  type: PropType<string | undefined>;
3587
3716
  required: false;
3588
- default: undefined;
3589
- };
3590
- /** The suffix to add to the input */
3591
- suffix: {
3592
- type: PropType<string>;
3593
- required: false;
3594
- default: string;
3717
+ default: "sym_r_barcode";
3595
3718
  };
3596
- /** Required (that is, we need a non-null number, non-empty string) */
3719
+ /** Indicates that the field is required (and errors when empty). */
3597
3720
  required: {
3598
3721
  type: BooleanConstructor;
3599
3722
  required: false;
3600
3723
  default: boolean;
3601
3724
  };
3602
- /** Minimum value (inclusive) */
3603
- minimum: {
3604
- type: PropType<number | undefined>;
3605
- required: false;
3606
- default: undefined;
3607
- };
3608
- /** Maximum value (inclusive) */
3609
- maximum: {
3610
- type: PropType<number | undefined>;
3611
- required: false;
3612
- default: undefined;
3613
- };
3614
3725
  /** The validation rules to apply to this field */
3615
3726
  rules: {
3616
- type: PropType<ZValidator<number>[]>;
3727
+ type: PropType<ZValidator<string>[]>;
3617
3728
  required: false;
3618
3729
  default: () => never[];
3619
3730
  };
3620
3731
  modelValue: {
3621
- type: PropType<number | null>;
3732
+ type: PropType<string>;
3622
3733
  };
3623
3734
  }>, {
3624
3735
  /** Focus on this control */
@@ -3629,10 +3740,8 @@ resetValidation: () => void | undefined;
3629
3740
  validate: () => boolean | Promise<boolean>;
3630
3741
  /** If the field has validation errors or not */
3631
3742
  hasError: ComputedRef<boolean>;
3632
- /** If the field has validation errors or not */
3633
- isEditable: ComputedRef<boolean>;
3634
3743
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3635
- "update:modelValue": (value: number | null) => any;
3744
+ "update:modelValue": (value: string) => any;
3636
3745
  }, string, PublicProps, Readonly<ExtractPropTypes< {
3637
3746
  readonly: {
3638
3747
  readonly type: PropType<boolean | undefined>;
@@ -3659,12 +3768,6 @@ readonly type: PropType<boolean | "ondemand">;
3659
3768
  readonly required: false;
3660
3769
  readonly default: undefined;
3661
3770
  };
3662
- /** The virtual keyboard to use on mobile devices*/
3663
- mode: {
3664
- type: PropType<"decimal" | "numeric">;
3665
- required: false;
3666
- default: string;
3667
- };
3668
3771
  /** The label for this input text */
3669
3772
  label: {
3670
3773
  type: StringConstructor;
@@ -3686,43 +3789,25 @@ default: undefined;
3686
3789
  icon: {
3687
3790
  type: PropType<string | undefined>;
3688
3791
  required: false;
3689
- default: undefined;
3690
- };
3691
- /** The suffix to add to the input */
3692
- suffix: {
3693
- type: PropType<string>;
3694
- required: false;
3695
- default: string;
3792
+ default: "sym_r_barcode";
3696
3793
  };
3697
- /** Required (that is, we need a non-null number, non-empty string) */
3794
+ /** Indicates that the field is required (and errors when empty). */
3698
3795
  required: {
3699
3796
  type: BooleanConstructor;
3700
3797
  required: false;
3701
3798
  default: boolean;
3702
3799
  };
3703
- /** Minimum value (inclusive) */
3704
- minimum: {
3705
- type: PropType<number | undefined>;
3706
- required: false;
3707
- default: undefined;
3708
- };
3709
- /** Maximum value (inclusive) */
3710
- maximum: {
3711
- type: PropType<number | undefined>;
3712
- required: false;
3713
- default: undefined;
3714
- };
3715
3800
  /** The validation rules to apply to this field */
3716
3801
  rules: {
3717
- type: PropType<ZValidator<number>[]>;
3802
+ type: PropType<ZValidator<string>[]>;
3718
3803
  required: false;
3719
3804
  default: () => never[];
3720
3805
  };
3721
3806
  modelValue: {
3722
- type: PropType<number | null>;
3807
+ type: PropType<string>;
3723
3808
  };
3724
3809
  }>> & Readonly<{
3725
- "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
3810
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
3726
3811
  }>, {
3727
3812
  icon: string | undefined;
3728
3813
  required: boolean;
@@ -3731,52 +3816,35 @@ disabled: boolean | undefined;
3731
3816
  lazyRules: boolean | "ondemand";
3732
3817
  bottomSlots: boolean | undefined;
3733
3818
  readonly: boolean | undefined;
3734
- mode: "decimal" | "numeric";
3735
3819
  placeholder: string;
3736
3820
  hint: string | undefined;
3737
- suffix: string;
3738
- rules: ZValidator<number>[];
3739
- minimum: number | undefined;
3740
- maximum: number | undefined;
3821
+ rules: ZValidator<string>[];
3741
3822
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3742
3823
 
3743
- declare const _default_24: DefineComponent<ExtractPropTypes< {
3744
- readonly: {
3745
- readonly type: PropType<boolean | undefined>;
3746
- readonly required: false;
3747
- readonly default: undefined;
3748
- };
3749
- bottomSlots: {
3750
- readonly type: PropType<boolean | undefined>;
3751
- readonly required: false;
3752
- readonly default: undefined;
3753
- };
3754
- editable: {
3755
- readonly type: PropType<boolean | undefined>;
3756
- readonly required: false;
3757
- readonly default: undefined;
3758
- };
3759
- disabled: {
3760
- readonly type: PropType<boolean | undefined>;
3761
- readonly required: false;
3762
- readonly default: undefined;
3763
- };
3764
- lazyRules: {
3765
- readonly type: PropType<boolean | "ondemand">;
3766
- readonly required: false;
3767
- readonly default: undefined;
3824
+ declare const _default_22: DefineComponent<ExtractPropTypes< {
3825
+ /** The value to display in this label */
3826
+ value: {
3827
+ type: PropType<string | number | boolean | null | undefined>;
3828
+ required: false;
3829
+ default: undefined;
3768
3830
  };
3769
- /** The virtual keyboard to use on mobile devices*/
3770
- mode: {
3771
- type: PropType<"decimal" | "numeric">;
3831
+ /** Whether the label is minimalistic or not */
3832
+ minimal: {
3833
+ type: BooleanConstructor;
3772
3834
  required: false;
3773
- default: string;
3835
+ default: boolean;
3774
3836
  };
3775
3837
  /** The label for this input text */
3776
3838
  label: {
3777
3839
  type: StringConstructor;
3778
3840
  required: true;
3779
3841
  };
3842
+ /** The placeholder text when no input was entered */
3843
+ placeholder: {
3844
+ type: StringConstructor;
3845
+ required: false;
3846
+ default: string;
3847
+ };
3780
3848
  /** The hint to display below the input field */
3781
3849
  hint: {
3782
3850
  type: PropType<string | undefined>;
@@ -3789,81 +3857,48 @@ type: PropType<string | undefined>;
3789
3857
  required: false;
3790
3858
  default: undefined;
3791
3859
  };
3792
- /** The suffix to add to the input */
3793
- suffix: {
3794
- type: PropType<string>;
3860
+ /** An optional link that will make the icon navigable */
3861
+ link: {
3862
+ type: PropType<RouteLocationRaw | undefined>;
3795
3863
  required: false;
3796
- default: string;
3864
+ default: undefined;
3797
3865
  };
3798
- /** Minimum value (inclusive) */
3799
- minimum: {
3800
- type: PropType<number | undefined>;
3866
+ /** Disabled state, overriding the editable and active states */
3867
+ disabled: {
3868
+ type: PropType<boolean | undefined>;
3801
3869
  required: false;
3802
3870
  default: undefined;
3803
3871
  };
3804
- /** Maximum value (inclusive) */
3805
- maximum: {
3806
- type: PropType<number | undefined>;
3872
+ /** Whether to reserve space for the bottom slots or not */
3873
+ bottomSlots: {
3874
+ type: PropType<boolean | undefined>;
3807
3875
  required: false;
3808
3876
  default: undefined;
3809
3877
  };
3810
- /** The validation rules to apply to this field */
3811
- rules: {
3812
- type: PropType<ZValidator<number>[]>;
3878
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
3879
+ /** The value to display in this label */
3880
+ value: {
3881
+ type: PropType<string | number | boolean | null | undefined>;
3813
3882
  required: false;
3814
- default: () => never[];
3815
- };
3816
- modelValue: {
3817
- type: PropType<number>;
3818
- };
3819
- }>, {
3820
- /** Focus on this control */
3821
- focus: () => void | undefined;
3822
- /** Reset validation for this field */
3823
- resetValidation: () => void | undefined;
3824
- /** Force validation of this field */
3825
- validate: () => boolean | Promise<boolean>;
3826
- /** If the field has validation errors or not */
3827
- hasError: ComputedRef<boolean>;
3828
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3829
- "update:modelValue": (value: number) => any;
3830
- }, string, PublicProps, Readonly<ExtractPropTypes< {
3831
- readonly: {
3832
- readonly type: PropType<boolean | undefined>;
3833
- readonly required: false;
3834
- readonly default: undefined;
3835
- };
3836
- bottomSlots: {
3837
- readonly type: PropType<boolean | undefined>;
3838
- readonly required: false;
3839
- readonly default: undefined;
3840
- };
3841
- editable: {
3842
- readonly type: PropType<boolean | undefined>;
3843
- readonly required: false;
3844
- readonly default: undefined;
3845
- };
3846
- disabled: {
3847
- readonly type: PropType<boolean | undefined>;
3848
- readonly required: false;
3849
- readonly default: undefined;
3850
- };
3851
- lazyRules: {
3852
- readonly type: PropType<boolean | "ondemand">;
3853
- readonly required: false;
3854
- readonly default: undefined;
3883
+ default: undefined;
3855
3884
  };
3856
- /** The virtual keyboard to use on mobile devices*/
3857
- mode: {
3858
- type: PropType<"decimal" | "numeric">;
3885
+ /** Whether the label is minimalistic or not */
3886
+ minimal: {
3887
+ type: BooleanConstructor;
3859
3888
  required: false;
3860
- default: string;
3889
+ default: boolean;
3861
3890
  };
3862
3891
  /** The label for this input text */
3863
3892
  label: {
3864
3893
  type: StringConstructor;
3865
3894
  required: true;
3866
3895
  };
3896
+ /** The placeholder text when no input was entered */
3897
+ placeholder: {
3898
+ type: StringConstructor;
3899
+ required: false;
3900
+ default: string;
3901
+ };
3867
3902
  /** The hint to display below the input field */
3868
3903
  hint: {
3869
3904
  type: PropType<string | undefined>;
@@ -3876,50 +3911,39 @@ type: PropType<string | undefined>;
3876
3911
  required: false;
3877
3912
  default: undefined;
3878
3913
  };
3879
- /** The suffix to add to the input */
3880
- suffix: {
3881
- type: PropType<string>;
3882
- required: false;
3883
- default: string;
3884
- };
3885
- /** Minimum value (inclusive) */
3886
- minimum: {
3887
- type: PropType<number | undefined>;
3914
+ /** An optional link that will make the icon navigable */
3915
+ link: {
3916
+ type: PropType<RouteLocationRaw | undefined>;
3888
3917
  required: false;
3889
3918
  default: undefined;
3890
3919
  };
3891
- /** Maximum value (inclusive) */
3892
- maximum: {
3893
- type: PropType<number | undefined>;
3920
+ /** Disabled state, overriding the editable and active states */
3921
+ disabled: {
3922
+ type: PropType<boolean | undefined>;
3894
3923
  required: false;
3895
3924
  default: undefined;
3896
3925
  };
3897
- /** The validation rules to apply to this field */
3898
- rules: {
3899
- type: PropType<ZValidator<number>[]>;
3926
+ /** Whether to reserve space for the bottom slots or not */
3927
+ bottomSlots: {
3928
+ type: PropType<boolean | undefined>;
3900
3929
  required: false;
3901
- default: () => never[];
3902
- };
3903
- modelValue: {
3904
- type: PropType<number>;
3930
+ default: undefined;
3905
3931
  };
3906
- }>> & Readonly<{
3907
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
3908
- }>, {
3932
+ }>> & Readonly<{}>, {
3909
3933
  icon: string | undefined;
3910
- editable: boolean | undefined;
3911
3934
  disabled: boolean | undefined;
3912
- lazyRules: boolean | "ondemand";
3913
3935
  bottomSlots: boolean | undefined;
3914
- readonly: boolean | undefined;
3915
- mode: "decimal" | "numeric";
3936
+ value: string | number | boolean | null | undefined;
3937
+ link: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
3938
+ placeholder: string;
3916
3939
  hint: string | undefined;
3917
- suffix: string;
3918
- rules: ZValidator<number>[];
3919
- minimum: number | undefined;
3920
- maximum: number | undefined;
3940
+ minimal: boolean;
3921
3941
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3922
3942
 
3943
+ declare const _default_23: __VLS_WithSlots_11<typeof __VLS_component_11, __VLS_Slots_11>;
3944
+
3945
+ declare const _default_24: __VLS_WithSlots_12<typeof __VLS_component_12, __VLS_Slots_12>;
3946
+
3923
3947
  declare const _default_25: DefineComponent<ExtractPropTypes< {
3924
3948
  readonly: {
3925
3949
  readonly type: PropType<boolean | undefined>;
@@ -4077,11 +4101,11 @@ rules: ZValidator<string>[];
4077
4101
  minLength: number;
4078
4102
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4079
4103
 
4080
- declare const _default_26: __VLS_WithSlots_11<typeof __VLS_component_11, __VLS_Slots_11>;
4104
+ declare const _default_26: __VLS_WithSlots_13<typeof __VLS_component_13, __VLS_Slots_13>;
4081
4105
 
4082
- declare const _default_27: __VLS_WithSlots_12<typeof __VLS_component_12, __VLS_Slots_12>;
4106
+ declare const _default_27: __VLS_WithSlots_14<typeof __VLS_component_14, __VLS_Slots_14>;
4083
4107
 
4084
- declare const _default_28: __VLS_WithSlots_13<typeof __VLS_component_13, __VLS_Slots_13>;
4108
+ declare const _default_28: __VLS_WithSlots_15<typeof __VLS_component_15, __VLS_Slots_15>;
4085
4109
 
4086
4110
  declare const _default_29: DefineComponent<ExtractPropTypes< {
4087
4111
  readonly: {
@@ -4236,7 +4260,7 @@ noNewValues: boolean;
4236
4260
 
4237
4261
  declare const _default_3: __VLS_WithSlots_3<typeof __VLS_component_3, __VLS_Slots_3>;
4238
4262
 
4239
- declare const _default_30: __VLS_WithSlots_14<typeof __VLS_component_14, __VLS_Slots_14>;
4263
+ declare const _default_30: __VLS_WithSlots_16<typeof __VLS_component_16, __VLS_Slots_16>;
4240
4264
 
4241
4265
  declare const _default_31: DefineComponent<ExtractPropTypes< {
4242
4266
  readonly: {
@@ -4405,13 +4429,13 @@ rules: ZValidator<string>[];
4405
4429
  country: string;
4406
4430
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4407
4431
 
4408
- declare const _default_32: __VLS_WithSlots_15<typeof __VLS_component_15, __VLS_Slots_15>;
4432
+ declare const _default_32: __VLS_WithSlots_17<typeof __VLS_component_17, __VLS_Slots_17>;
4409
4433
 
4410
- declare const _default_33: __VLS_WithSlots_16<typeof __VLS_component_16, __VLS_Slots_16>;
4434
+ declare const _default_33: __VLS_WithSlots_18<typeof __VLS_component_18, __VLS_Slots_18>;
4411
4435
 
4412
- declare const _default_34: __VLS_WithSlots_17<typeof __VLS_component_17, __VLS_Slots_17>;
4436
+ declare const _default_34: __VLS_WithSlots_19<typeof __VLS_component_19, __VLS_Slots_19>;
4413
4437
 
4414
- declare const _default_35: __VLS_WithSlots_18<typeof __VLS_component_18, __VLS_Slots_18>;
4438
+ declare const _default_35: __VLS_WithSlots_20<typeof __VLS_component_20, __VLS_Slots_20>;
4415
4439
 
4416
4440
  declare const _default_36: DefineComponent<ExtractPropTypes< {
4417
4441
  tag: {