@manik02/vue3-timepicker 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,10 @@ declare const meta: {
15
15
  readonly type: BooleanConstructor;
16
16
  readonly default: false;
17
17
  };
18
+ readonly hideDropdown: {
19
+ readonly type: BooleanConstructor;
20
+ readonly default: false;
21
+ };
18
22
  readonly hourStep: {
19
23
  readonly type: NumberConstructor;
20
24
  readonly default: 1;
@@ -55,6 +59,31 @@ declare const meta: {
55
59
  readonly type: StringConstructor;
56
60
  readonly default: "Select time";
57
61
  };
62
+ readonly id: {
63
+ readonly type: import('vue').PropType<string | undefined>;
64
+ readonly default: undefined;
65
+ readonly validator: (v?: string) => boolean;
66
+ };
67
+ readonly name: {
68
+ readonly type: import('vue').PropType<string | undefined>;
69
+ readonly default: undefined;
70
+ readonly validator: (v?: string) => boolean;
71
+ };
72
+ readonly tabindex: {
73
+ readonly type: NumberConstructor;
74
+ readonly default: 0;
75
+ readonly validator: (v: number) => boolean;
76
+ };
77
+ readonly autocomplete: {
78
+ readonly type: StringConstructor;
79
+ readonly default: "off";
80
+ readonly validator: (v: string) => boolean;
81
+ };
82
+ readonly inputClass: {
83
+ readonly type: import('vue').PropType<string | string[] | Record<string, boolean> | undefined>;
84
+ readonly default: undefined;
85
+ readonly validator: (v?: string | string[] | Record<string, boolean>) => boolean;
86
+ };
58
87
  readonly inputWidth: {
59
88
  readonly type: import('vue').PropType<string | number | undefined>;
60
89
  readonly default: undefined;
@@ -109,6 +138,10 @@ declare const meta: {
109
138
  readonly type: BooleanConstructor;
110
139
  readonly default: false;
111
140
  };
141
+ readonly hideDropdown: {
142
+ readonly type: BooleanConstructor;
143
+ readonly default: false;
144
+ };
112
145
  readonly hourStep: {
113
146
  readonly type: NumberConstructor;
114
147
  readonly default: 1;
@@ -149,6 +182,31 @@ declare const meta: {
149
182
  readonly type: StringConstructor;
150
183
  readonly default: "Select time";
151
184
  };
185
+ readonly id: {
186
+ readonly type: import('vue').PropType<string | undefined>;
187
+ readonly default: undefined;
188
+ readonly validator: (v?: string) => boolean;
189
+ };
190
+ readonly name: {
191
+ readonly type: import('vue').PropType<string | undefined>;
192
+ readonly default: undefined;
193
+ readonly validator: (v?: string) => boolean;
194
+ };
195
+ readonly tabindex: {
196
+ readonly type: NumberConstructor;
197
+ readonly default: 0;
198
+ readonly validator: (v: number) => boolean;
199
+ };
200
+ readonly autocomplete: {
201
+ readonly type: StringConstructor;
202
+ readonly default: "off";
203
+ readonly validator: (v: string) => boolean;
204
+ };
205
+ readonly inputClass: {
206
+ readonly type: import('vue').PropType<string | string[] | Record<string, boolean> | undefined>;
207
+ readonly default: undefined;
208
+ readonly validator: (v?: string | string[] | Record<string, boolean>) => boolean;
209
+ };
152
210
  readonly inputWidth: {
153
211
  readonly type: import('vue').PropType<string | number | undefined>;
154
212
  readonly default: undefined;
@@ -190,9 +248,11 @@ declare const meta: {
190
248
  message: string;
191
249
  }) => any) | undefined;
192
250
  }>, {
251
+ readonly tabindex: number;
193
252
  readonly modelValue: string | [string, string] | null;
194
253
  readonly range: boolean;
195
254
  readonly disabled: boolean;
255
+ readonly hideDropdown: boolean;
196
256
  readonly hourStep: number;
197
257
  readonly minuteStep: number;
198
258
  readonly secondStep: number;
@@ -202,6 +262,10 @@ declare const meta: {
202
262
  readonly isTimeDisabled: (time: import('../index').InternalFormat) => boolean;
203
263
  readonly format: import('../index').TimeFormat;
204
264
  readonly placeholder: string;
265
+ readonly id: string | undefined;
266
+ readonly name: string | undefined;
267
+ readonly autocomplete: string;
268
+ readonly inputClass: string | string[] | Record<string, boolean> | undefined;
205
269
  readonly inputWidth: string | number | undefined;
206
270
  readonly componentWidth: string | number | undefined;
207
271
  readonly minInputWidth: string | number | undefined;
@@ -215,6 +279,12 @@ declare const meta: {
215
279
  args: {
216
280
  format: "HH:mm:ss";
217
281
  range: false;
282
+ hideDropdown: false;
283
+ id: undefined;
284
+ name: undefined;
285
+ tabindex: number;
286
+ autocomplete: string;
287
+ inputClass: undefined;
218
288
  inputWidth: undefined;
219
289
  minInputWidth: undefined;
220
290
  maxInputWidth: undefined;
@@ -229,6 +299,82 @@ declare const meta: {
229
299
  disabledTimes: undefined;
230
300
  };
231
301
  argTypes: {
302
+ id: {
303
+ control: {
304
+ type: "text";
305
+ };
306
+ description: string;
307
+ };
308
+ name: {
309
+ control: {
310
+ type: "text";
311
+ };
312
+ description: string;
313
+ };
314
+ tabindex: {
315
+ control: {
316
+ type: "number";
317
+ };
318
+ };
319
+ autocomplete: {
320
+ control: {
321
+ type: "text";
322
+ };
323
+ };
324
+ hideDropdown: {
325
+ control: {
326
+ type: "boolean";
327
+ };
328
+ description: string;
329
+ };
330
+ inputClass: {
331
+ control: {
332
+ type: "text";
333
+ };
334
+ description: string;
335
+ };
336
+ inputWidth: {
337
+ control: {
338
+ type: "text";
339
+ };
340
+ description: string;
341
+ };
342
+ minInputWidth: {
343
+ control: {
344
+ type: "text";
345
+ };
346
+ description: string;
347
+ };
348
+ maxInputWidth: {
349
+ control: {
350
+ type: "text";
351
+ };
352
+ description: string;
353
+ };
354
+ componentWidth: {
355
+ control: {
356
+ type: "text";
357
+ };
358
+ description: string;
359
+ };
360
+ minTime: {
361
+ control: {
362
+ type: "text";
363
+ };
364
+ description: string;
365
+ };
366
+ maxTime: {
367
+ control: {
368
+ type: "text";
369
+ };
370
+ description: string;
371
+ };
372
+ disabledTimes: {
373
+ control: {
374
+ type: "text";
375
+ };
376
+ description: string;
377
+ };
232
378
  modelValue: {
233
379
  table: {
234
380
  disable: true;
@@ -263,6 +409,10 @@ declare const meta: {
263
409
  readonly type: BooleanConstructor;
264
410
  readonly default: false;
265
411
  };
412
+ readonly hideDropdown: {
413
+ readonly type: BooleanConstructor;
414
+ readonly default: false;
415
+ };
266
416
  readonly hourStep: {
267
417
  readonly type: NumberConstructor;
268
418
  readonly default: 1;
@@ -303,6 +453,31 @@ declare const meta: {
303
453
  readonly type: StringConstructor;
304
454
  readonly default: "Select time";
305
455
  };
456
+ readonly id: {
457
+ readonly type: import('vue').PropType<string | undefined>;
458
+ readonly default: undefined;
459
+ readonly validator: (v?: string) => boolean;
460
+ };
461
+ readonly name: {
462
+ readonly type: import('vue').PropType<string | undefined>;
463
+ readonly default: undefined;
464
+ readonly validator: (v?: string) => boolean;
465
+ };
466
+ readonly tabindex: {
467
+ readonly type: NumberConstructor;
468
+ readonly default: 0;
469
+ readonly validator: (v: number) => boolean;
470
+ };
471
+ readonly autocomplete: {
472
+ readonly type: StringConstructor;
473
+ readonly default: "off";
474
+ readonly validator: (v: string) => boolean;
475
+ };
476
+ readonly inputClass: {
477
+ readonly type: import('vue').PropType<string | string[] | Record<string, boolean> | undefined>;
478
+ readonly default: undefined;
479
+ readonly validator: (v?: string | string[] | Record<string, boolean>) => boolean;
480
+ };
306
481
  readonly inputWidth: {
307
482
  readonly type: import('vue').PropType<string | number | undefined>;
308
483
  readonly default: undefined;
@@ -357,6 +532,10 @@ declare const meta: {
357
532
  readonly type: BooleanConstructor;
358
533
  readonly default: false;
359
534
  };
535
+ readonly hideDropdown: {
536
+ readonly type: BooleanConstructor;
537
+ readonly default: false;
538
+ };
360
539
  readonly hourStep: {
361
540
  readonly type: NumberConstructor;
362
541
  readonly default: 1;
@@ -397,6 +576,31 @@ declare const meta: {
397
576
  readonly type: StringConstructor;
398
577
  readonly default: "Select time";
399
578
  };
579
+ readonly id: {
580
+ readonly type: import('vue').PropType<string | undefined>;
581
+ readonly default: undefined;
582
+ readonly validator: (v?: string) => boolean;
583
+ };
584
+ readonly name: {
585
+ readonly type: import('vue').PropType<string | undefined>;
586
+ readonly default: undefined;
587
+ readonly validator: (v?: string) => boolean;
588
+ };
589
+ readonly tabindex: {
590
+ readonly type: NumberConstructor;
591
+ readonly default: 0;
592
+ readonly validator: (v: number) => boolean;
593
+ };
594
+ readonly autocomplete: {
595
+ readonly type: StringConstructor;
596
+ readonly default: "off";
597
+ readonly validator: (v: string) => boolean;
598
+ };
599
+ readonly inputClass: {
600
+ readonly type: import('vue').PropType<string | string[] | Record<string, boolean> | undefined>;
601
+ readonly default: undefined;
602
+ readonly validator: (v?: string | string[] | Record<string, boolean>) => boolean;
603
+ };
400
604
  readonly inputWidth: {
401
605
  readonly type: import('vue').PropType<string | number | undefined>;
402
606
  readonly default: undefined;
@@ -438,9 +642,11 @@ declare const meta: {
438
642
  message: string;
439
643
  }) => any) | undefined;
440
644
  }>, {
645
+ readonly tabindex: number;
441
646
  readonly modelValue: string | [string, string] | null;
442
647
  readonly range: boolean;
443
648
  readonly disabled: boolean;
649
+ readonly hideDropdown: boolean;
444
650
  readonly hourStep: number;
445
651
  readonly minuteStep: number;
446
652
  readonly secondStep: number;
@@ -450,6 +656,10 @@ declare const meta: {
450
656
  readonly isTimeDisabled: (time: import('../index').InternalFormat) => boolean;
451
657
  readonly format: import('../index').TimeFormat;
452
658
  readonly placeholder: string;
659
+ readonly id: string | undefined;
660
+ readonly name: string | undefined;
661
+ readonly autocomplete: string;
662
+ readonly inputClass: string | string[] | Record<string, boolean> | undefined;
453
663
  readonly inputWidth: string | number | undefined;
454
664
  readonly componentWidth: string | number | undefined;
455
665
  readonly minInputWidth: string | number | undefined;
@@ -474,6 +684,10 @@ declare const meta: {
474
684
  readonly type: BooleanConstructor;
475
685
  readonly default: false;
476
686
  };
687
+ readonly hideDropdown: {
688
+ readonly type: BooleanConstructor;
689
+ readonly default: false;
690
+ };
477
691
  readonly hourStep: {
478
692
  readonly type: NumberConstructor;
479
693
  readonly default: 1;
@@ -514,6 +728,31 @@ declare const meta: {
514
728
  readonly type: StringConstructor;
515
729
  readonly default: "Select time";
516
730
  };
731
+ readonly id: {
732
+ readonly type: import('vue').PropType<string | undefined>;
733
+ readonly default: undefined;
734
+ readonly validator: (v?: string) => boolean;
735
+ };
736
+ readonly name: {
737
+ readonly type: import('vue').PropType<string | undefined>;
738
+ readonly default: undefined;
739
+ readonly validator: (v?: string) => boolean;
740
+ };
741
+ readonly tabindex: {
742
+ readonly type: NumberConstructor;
743
+ readonly default: 0;
744
+ readonly validator: (v: number) => boolean;
745
+ };
746
+ readonly autocomplete: {
747
+ readonly type: StringConstructor;
748
+ readonly default: "off";
749
+ readonly validator: (v: string) => boolean;
750
+ };
751
+ readonly inputClass: {
752
+ readonly type: import('vue').PropType<string | string[] | Record<string, boolean> | undefined>;
753
+ readonly default: undefined;
754
+ readonly validator: (v?: string | string[] | Record<string, boolean>) => boolean;
755
+ };
517
756
  readonly inputWidth: {
518
757
  readonly type: import('vue').PropType<string | number | undefined>;
519
758
  readonly default: undefined;
@@ -568,6 +807,10 @@ declare const meta: {
568
807
  readonly type: BooleanConstructor;
569
808
  readonly default: false;
570
809
  };
810
+ readonly hideDropdown: {
811
+ readonly type: BooleanConstructor;
812
+ readonly default: false;
813
+ };
571
814
  readonly hourStep: {
572
815
  readonly type: NumberConstructor;
573
816
  readonly default: 1;
@@ -608,6 +851,31 @@ declare const meta: {
608
851
  readonly type: StringConstructor;
609
852
  readonly default: "Select time";
610
853
  };
854
+ readonly id: {
855
+ readonly type: import('vue').PropType<string | undefined>;
856
+ readonly default: undefined;
857
+ readonly validator: (v?: string) => boolean;
858
+ };
859
+ readonly name: {
860
+ readonly type: import('vue').PropType<string | undefined>;
861
+ readonly default: undefined;
862
+ readonly validator: (v?: string) => boolean;
863
+ };
864
+ readonly tabindex: {
865
+ readonly type: NumberConstructor;
866
+ readonly default: 0;
867
+ readonly validator: (v: number) => boolean;
868
+ };
869
+ readonly autocomplete: {
870
+ readonly type: StringConstructor;
871
+ readonly default: "off";
872
+ readonly validator: (v: string) => boolean;
873
+ };
874
+ readonly inputClass: {
875
+ readonly type: import('vue').PropType<string | string[] | Record<string, boolean> | undefined>;
876
+ readonly default: undefined;
877
+ readonly validator: (v?: string | string[] | Record<string, boolean>) => boolean;
878
+ };
611
879
  readonly inputWidth: {
612
880
  readonly type: import('vue').PropType<string | number | undefined>;
613
881
  readonly default: undefined;
@@ -649,9 +917,11 @@ declare const meta: {
649
917
  message: string;
650
918
  }) => any) | undefined;
651
919
  }>, {
920
+ readonly tabindex: number;
652
921
  readonly modelValue: string | [string, string] | null;
653
922
  readonly range: boolean;
654
923
  readonly disabled: boolean;
924
+ readonly hideDropdown: boolean;
655
925
  readonly hourStep: number;
656
926
  readonly minuteStep: number;
657
927
  readonly secondStep: number;
@@ -661,6 +931,10 @@ declare const meta: {
661
931
  readonly isTimeDisabled: (time: import('../index').InternalFormat) => boolean;
662
932
  readonly format: import('../index').TimeFormat;
663
933
  readonly placeholder: string;
934
+ readonly id: string | undefined;
935
+ readonly name: string | undefined;
936
+ readonly autocomplete: string;
937
+ readonly inputClass: string | string[] | Record<string, boolean> | undefined;
664
938
  readonly inputWidth: string | number | undefined;
665
939
  readonly componentWidth: string | number | undefined;
666
940
  readonly minInputWidth: string | number | undefined;
@@ -686,6 +960,10 @@ declare const meta: {
686
960
  readonly type: BooleanConstructor;
687
961
  readonly default: false;
688
962
  };
963
+ readonly hideDropdown: {
964
+ readonly type: BooleanConstructor;
965
+ readonly default: false;
966
+ };
689
967
  readonly hourStep: {
690
968
  readonly type: NumberConstructor;
691
969
  readonly default: 1;
@@ -726,6 +1004,31 @@ declare const meta: {
726
1004
  readonly type: StringConstructor;
727
1005
  readonly default: "Select time";
728
1006
  };
1007
+ readonly id: {
1008
+ readonly type: import('vue').PropType<string | undefined>;
1009
+ readonly default: undefined;
1010
+ readonly validator: (v?: string) => boolean;
1011
+ };
1012
+ readonly name: {
1013
+ readonly type: import('vue').PropType<string | undefined>;
1014
+ readonly default: undefined;
1015
+ readonly validator: (v?: string) => boolean;
1016
+ };
1017
+ readonly tabindex: {
1018
+ readonly type: NumberConstructor;
1019
+ readonly default: 0;
1020
+ readonly validator: (v: number) => boolean;
1021
+ };
1022
+ readonly autocomplete: {
1023
+ readonly type: StringConstructor;
1024
+ readonly default: "off";
1025
+ readonly validator: (v: string) => boolean;
1026
+ };
1027
+ readonly inputClass: {
1028
+ readonly type: import('vue').PropType<string | string[] | Record<string, boolean> | undefined>;
1029
+ readonly default: undefined;
1030
+ readonly validator: (v?: string | string[] | Record<string, boolean>) => boolean;
1031
+ };
729
1032
  readonly inputWidth: {
730
1033
  readonly type: import('vue').PropType<string | number | undefined>;
731
1034
  readonly default: undefined;
@@ -780,6 +1083,10 @@ declare const meta: {
780
1083
  readonly type: BooleanConstructor;
781
1084
  readonly default: false;
782
1085
  };
1086
+ readonly hideDropdown: {
1087
+ readonly type: BooleanConstructor;
1088
+ readonly default: false;
1089
+ };
783
1090
  readonly hourStep: {
784
1091
  readonly type: NumberConstructor;
785
1092
  readonly default: 1;
@@ -820,6 +1127,31 @@ declare const meta: {
820
1127
  readonly type: StringConstructor;
821
1128
  readonly default: "Select time";
822
1129
  };
1130
+ readonly id: {
1131
+ readonly type: import('vue').PropType<string | undefined>;
1132
+ readonly default: undefined;
1133
+ readonly validator: (v?: string) => boolean;
1134
+ };
1135
+ readonly name: {
1136
+ readonly type: import('vue').PropType<string | undefined>;
1137
+ readonly default: undefined;
1138
+ readonly validator: (v?: string) => boolean;
1139
+ };
1140
+ readonly tabindex: {
1141
+ readonly type: NumberConstructor;
1142
+ readonly default: 0;
1143
+ readonly validator: (v: number) => boolean;
1144
+ };
1145
+ readonly autocomplete: {
1146
+ readonly type: StringConstructor;
1147
+ readonly default: "off";
1148
+ readonly validator: (v: string) => boolean;
1149
+ };
1150
+ readonly inputClass: {
1151
+ readonly type: import('vue').PropType<string | string[] | Record<string, boolean> | undefined>;
1152
+ readonly default: undefined;
1153
+ readonly validator: (v?: string | string[] | Record<string, boolean>) => boolean;
1154
+ };
823
1155
  readonly inputWidth: {
824
1156
  readonly type: import('vue').PropType<string | number | undefined>;
825
1157
  readonly default: undefined;
@@ -861,9 +1193,11 @@ declare const meta: {
861
1193
  message: string;
862
1194
  }) => any) | undefined;
863
1195
  }>, {
1196
+ readonly tabindex: number;
864
1197
  readonly modelValue: string | [string, string] | null;
865
1198
  readonly range: boolean;
866
1199
  readonly disabled: boolean;
1200
+ readonly hideDropdown: boolean;
867
1201
  readonly hourStep: number;
868
1202
  readonly minuteStep: number;
869
1203
  readonly secondStep: number;
@@ -873,6 +1207,10 @@ declare const meta: {
873
1207
  readonly isTimeDisabled: (time: import('../index').InternalFormat) => boolean;
874
1208
  readonly format: import('../index').TimeFormat;
875
1209
  readonly placeholder: string;
1210
+ readonly id: string | undefined;
1211
+ readonly name: string | undefined;
1212
+ readonly autocomplete: string;
1213
+ readonly inputClass: string | string[] | Record<string, boolean> | undefined;
876
1214
  readonly inputWidth: string | number | undefined;
877
1215
  readonly componentWidth: string | number | undefined;
878
1216
  readonly minInputWidth: string | number | undefined;
@@ -882,6 +1220,18 @@ declare const meta: {
882
1220
  firstInputRef: HTMLInputElement;
883
1221
  secondInputRef: HTMLInputElement;
884
1222
  }, HTMLDivElement>>;
1223
+ boundArgs: import('vue').ComputedRef<{
1224
+ id: string | undefined;
1225
+ name: string | undefined;
1226
+ inputClass: string | undefined;
1227
+ inputWidth: string | undefined;
1228
+ minInputWidth: string | undefined;
1229
+ maxInputWidth: string | undefined;
1230
+ componentWidth: string | undefined;
1231
+ minTime: string | undefined;
1232
+ maxTime: string | undefined;
1233
+ disabledTimes: (string | [string, string])[] | undefined;
1234
+ }>;
885
1235
  single: import('vue').Ref<string, string>;
886
1236
  range: import('vue').Ref<[string, string], [string, string]>;
887
1237
  valueLabel: import('vue').ComputedRef<string>;