@a2simcode/ui 0.0.112 → 0.0.115

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.
@@ -19,6 +19,7 @@ declare const JDate: {
19
19
  "visible-change": (visibility: boolean) => any;
20
20
  }, import('vue').PublicProps, {
21
21
  size: "large" | "default" | "small";
22
+ id: string | string[];
22
23
  disabled: boolean;
23
24
  placeholder: string;
24
25
  clearable: boolean;
@@ -49,6 +50,7 @@ declare const JDate: {
49
50
  ref: import('vue').Ref<any, any>;
50
51
  }, {}, {}, {}, {
51
52
  size: "large" | "default" | "small";
53
+ id: string | string[];
52
54
  disabled: boolean;
53
55
  placeholder: string;
54
56
  clearable: boolean;
@@ -82,6 +84,7 @@ declare const JDate: {
82
84
  "visible-change": (visibility: boolean) => any;
83
85
  }, string, {
84
86
  size: "large" | "default" | "small";
87
+ id: string | string[];
85
88
  disabled: boolean;
86
89
  placeholder: string;
87
90
  clearable: boolean;
@@ -41,6 +41,7 @@ export interface DateProps {
41
41
  prefixIcon?: string | Component;
42
42
  /** 自定义清空图标 */
43
43
  clearIcon?: string | Component;
44
+ id?: string | string[];
44
45
  }
45
46
  declare const _default: import('vue').DefineComponent<DateProps, {
46
47
  /** 获取 el-date-picker 实例 */
@@ -63,6 +64,7 @@ declare const _default: import('vue').DefineComponent<DateProps, {
63
64
  "onVisible-change"?: ((visibility: boolean) => any) | undefined;
64
65
  }>, {
65
66
  size: "large" | "default" | "small";
67
+ id: string | string[];
66
68
  disabled: boolean;
67
69
  placeholder: string;
68
70
  clearable: boolean;
@@ -3,6 +3,7 @@ import { default as JButton } from './button';
3
3
  import { default as JButtons } from './buttons';
4
4
  import { default as JInput } from './input';
5
5
  import { default as JDate } from './date';
6
+ import { default as JTime } from './time';
6
7
  import { default as JIcon } from './icon';
7
8
  import { default as JRadio } from './radio';
8
9
  import { default as JSelect } from './select';
@@ -55,7 +56,7 @@ import { default as JCollapse } from './collapse';
55
56
  import { default as JEditor } from './editor';
56
57
  import { default as JWorkflowViewer, JWorkflow } from './workflow-viewer';
57
58
  import { default as JInputCards } from './input-cards';
58
- export { JButton, JButtons, JInput, JDate, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JInputCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JInputColor, JTitle, JButtonSelect, JTree, JTreeSelect, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JInputLayer, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, JWorkflowViewer, JWorkflow, JPanel, JInputCards, };
59
+ export { JButton, JButtons, JInput, JDate, JTime, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JInputCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JInputColor, JTitle, JButtonSelect, JTree, JTreeSelect, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JInputLayer, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, JWorkflowViewer, JWorkflow, JPanel, JInputCards, };
59
60
  export * from '../core';
60
61
  export type { ButtonProps } from './button/src/button.vue';
61
62
  export type { DateProps } from './date/src/date.vue';
@@ -53,6 +53,7 @@ export interface FormProvideType {
53
53
  span: ComputedRef<number>;
54
54
  labelWidth: ComputedRef<number>;
55
55
  labelPosition: ComputedRef<'left' | 'right' | 'top'>;
56
+ components: Record<string, any>;
56
57
  formChange: (data: any) => void;
57
58
  getValue: ({ id, i }: {
58
59
  id: string;
@@ -24,10 +24,10 @@ export declare const JInputLayer: {
24
24
  placeholder: string;
25
25
  clearable: boolean;
26
26
  readonly: boolean;
27
+ isPage: boolean;
27
28
  columns: any[];
28
29
  isTree: boolean;
29
30
  defaultExpandAll: boolean;
30
- isPage: boolean;
31
31
  onlyButton: boolean;
32
32
  pidKey: string;
33
33
  isMultiSelect: boolean;
@@ -368,7 +368,6 @@ export declare const JInputLayer: {
368
368
  col: number;
369
369
  row: number;
370
370
  table: any;
371
- selected: boolean;
372
371
  }) => boolean | {
373
372
  display?: boolean;
374
373
  disabled?: boolean;
@@ -421,6 +420,7 @@ export declare const JInputLayer: {
421
420
  }, import('vue').PublicProps, {
422
421
  immediate: boolean;
423
422
  buttons: import('..').ButtonCompType[];
423
+ isPage: boolean;
424
424
  columns: import('..').SchemaConfig[];
425
425
  isTree: boolean;
426
426
  defaultExpandAll: boolean;
@@ -428,7 +428,6 @@ export declare const JInputLayer: {
428
428
  isShowNumber: boolean;
429
429
  isMultiple: boolean;
430
430
  selectStateKey: string;
431
- isPage: boolean;
432
431
  pageSize: number;
433
432
  rowKey: string;
434
433
  actions: import('..').ButtonCompType[];
@@ -439,7 +438,6 @@ export declare const JInputLayer: {
439
438
  col: number;
440
439
  row: number;
441
440
  table: any;
442
- selected: boolean;
443
441
  }) => boolean | {
444
442
  display?: boolean;
445
443
  disabled?: boolean;
@@ -741,7 +739,6 @@ export declare const JInputLayer: {
741
739
  col: number;
742
740
  row: number;
743
741
  table: any;
744
- selected: boolean;
745
742
  }) => boolean | {
746
743
  display?: boolean;
747
744
  disabled?: boolean;
@@ -791,6 +788,7 @@ export declare const JInputLayer: {
791
788
  }, {}, {}, {}, {
792
789
  immediate: boolean;
793
790
  buttons: import('..').ButtonCompType[];
791
+ isPage: boolean;
794
792
  columns: import('..').SchemaConfig[];
795
793
  isTree: boolean;
796
794
  defaultExpandAll: boolean;
@@ -798,7 +796,6 @@ export declare const JInputLayer: {
798
796
  isShowNumber: boolean;
799
797
  isMultiple: boolean;
800
798
  selectStateKey: string;
801
- isPage: boolean;
802
799
  pageSize: number;
803
800
  rowKey: string;
804
801
  actions: import('..').ButtonCompType[];
@@ -809,7 +806,6 @@ export declare const JInputLayer: {
809
806
  col: number;
810
807
  row: number;
811
808
  table: any;
812
- selected: boolean;
813
809
  }) => boolean | {
814
810
  display?: boolean;
815
811
  disabled?: boolean;
@@ -855,10 +851,10 @@ export declare const JInputLayer: {
855
851
  placeholder: string;
856
852
  clearable: boolean;
857
853
  readonly: boolean;
854
+ isPage: boolean;
858
855
  columns: any[];
859
856
  isTree: boolean;
860
857
  defaultExpandAll: boolean;
861
- isPage: boolean;
862
858
  onlyButton: boolean;
863
859
  pidKey: string;
864
860
  isMultiSelect: boolean;
@@ -893,10 +889,10 @@ export declare const JInputLayer: {
893
889
  placeholder: string;
894
890
  clearable: boolean;
895
891
  readonly: boolean;
892
+ isPage: boolean;
896
893
  columns: any[];
897
894
  isTree: boolean;
898
895
  defaultExpandAll: boolean;
899
- isPage: boolean;
900
896
  onlyButton: boolean;
901
897
  pidKey: string;
902
898
  isMultiSelect: boolean;
@@ -83,10 +83,10 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
83
83
  placeholder: string;
84
84
  clearable: boolean;
85
85
  readonly: boolean;
86
+ isPage: boolean;
86
87
  columns: any[];
87
88
  isTree: boolean;
88
89
  defaultExpandAll: boolean;
89
- isPage: boolean;
90
90
  onlyButton: boolean;
91
91
  pidKey: string;
92
92
  isMultiSelect: boolean;
@@ -427,7 +427,6 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
427
427
  col: number;
428
428
  row: number;
429
429
  table: any;
430
- selected: boolean;
431
430
  }) => boolean | {
432
431
  display?: boolean;
433
432
  disabled?: boolean;
@@ -480,6 +479,7 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
480
479
  }, import('vue').PublicProps, {
481
480
  immediate: boolean;
482
481
  buttons: import('../..').ButtonCompType[];
482
+ isPage: boolean;
483
483
  columns: import('../..').SchemaConfig[];
484
484
  isTree: boolean;
485
485
  defaultExpandAll: boolean;
@@ -487,7 +487,6 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
487
487
  isShowNumber: boolean;
488
488
  isMultiple: boolean;
489
489
  selectStateKey: string;
490
- isPage: boolean;
491
490
  pageSize: number;
492
491
  rowKey: string;
493
492
  actions: import('../..').ButtonCompType[];
@@ -498,7 +497,6 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
498
497
  col: number;
499
498
  row: number;
500
499
  table: any;
501
- selected: boolean;
502
500
  }) => boolean | {
503
501
  display?: boolean;
504
502
  disabled?: boolean;
@@ -800,7 +798,6 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
800
798
  col: number;
801
799
  row: number;
802
800
  table: any;
803
- selected: boolean;
804
801
  }) => boolean | {
805
802
  display?: boolean;
806
803
  disabled?: boolean;
@@ -850,6 +847,7 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
850
847
  }, {}, {}, {}, {
851
848
  immediate: boolean;
852
849
  buttons: import('../..').ButtonCompType[];
850
+ isPage: boolean;
853
851
  columns: import('../..').SchemaConfig[];
854
852
  isTree: boolean;
855
853
  defaultExpandAll: boolean;
@@ -857,7 +855,6 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
857
855
  isShowNumber: boolean;
858
856
  isMultiple: boolean;
859
857
  selectStateKey: string;
860
- isPage: boolean;
861
858
  pageSize: number;
862
859
  rowKey: string;
863
860
  actions: import('../..').ButtonCompType[];
@@ -868,7 +865,6 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
868
865
  col: number;
869
866
  row: number;
870
867
  table: any;
871
- selected: boolean;
872
868
  }) => boolean | {
873
869
  display?: boolean;
874
870
  disabled?: boolean;
@@ -78,7 +78,6 @@ declare const JTable: {
78
78
  col: number;
79
79
  row: number;
80
80
  table: any;
81
- selected: boolean;
82
81
  }) => boolean | {
83
82
  display?: boolean;
84
83
  disabled?: boolean;
@@ -191,6 +190,7 @@ declare const JTable: {
191
190
  }, import('vue').PublicProps, {
192
191
  id: string;
193
192
  modelValue: Record<string, any>[];
193
+ isPage: boolean;
194
194
  columns: import('.').ColumnSchemaConfig[];
195
195
  records: Record<string, any>[];
196
196
  isTree: boolean;
@@ -199,7 +199,6 @@ declare const JTable: {
199
199
  isShowNumber: boolean;
200
200
  isMultiple: boolean;
201
201
  selectStateKey: string;
202
- isPage: boolean;
203
202
  pageLayoutSimple: boolean;
204
203
  pageTotal: number;
205
204
  tablePage: number;
@@ -213,7 +212,6 @@ declare const JTable: {
213
212
  col: number;
214
213
  row: number;
215
214
  table: any;
216
- selected: boolean;
217
215
  }) => boolean | {
218
216
  display?: boolean;
219
217
  disabled?: boolean;
@@ -318,7 +316,6 @@ declare const JTable: {
318
316
  col: number;
319
317
  row: number;
320
318
  table: any;
321
- selected: boolean;
322
319
  }) => boolean | {
323
320
  display?: boolean;
324
321
  disabled?: boolean;
@@ -407,6 +404,7 @@ declare const JTable: {
407
404
  }, {}, {}, {}, {
408
405
  id: string;
409
406
  modelValue: Record<string, any>[];
407
+ isPage: boolean;
410
408
  columns: import('.').ColumnSchemaConfig[];
411
409
  records: Record<string, any>[];
412
410
  isTree: boolean;
@@ -415,7 +413,6 @@ declare const JTable: {
415
413
  isShowNumber: boolean;
416
414
  isMultiple: boolean;
417
415
  selectStateKey: string;
418
- isPage: boolean;
419
416
  pageLayoutSimple: boolean;
420
417
  pageTotal: number;
421
418
  tablePage: number;
@@ -429,7 +426,6 @@ declare const JTable: {
429
426
  col: number;
430
427
  row: number;
431
428
  table: any;
432
- selected: boolean;
433
429
  }) => boolean | {
434
430
  display?: boolean;
435
431
  disabled?: boolean;
@@ -529,7 +525,6 @@ declare const JTable: {
529
525
  col: number;
530
526
  row: number;
531
527
  table: any;
532
- selected: boolean;
533
528
  }) => boolean | {
534
529
  display?: boolean;
535
530
  disabled?: boolean;
@@ -642,6 +637,7 @@ declare const JTable: {
642
637
  }, string, {
643
638
  id: string;
644
639
  modelValue: Record<string, any>[];
640
+ isPage: boolean;
645
641
  columns: import('.').ColumnSchemaConfig[];
646
642
  records: Record<string, any>[];
647
643
  isTree: boolean;
@@ -650,7 +646,6 @@ declare const JTable: {
650
646
  isShowNumber: boolean;
651
647
  isMultiple: boolean;
652
648
  selectStateKey: string;
653
- isPage: boolean;
654
649
  pageLayoutSimple: boolean;
655
650
  pageTotal: number;
656
651
  tablePage: number;
@@ -664,7 +659,6 @@ declare const JTable: {
664
659
  col: number;
665
660
  row: number;
666
661
  table: any;
667
- selected: boolean;
668
662
  }) => boolean | {
669
663
  display?: boolean;
670
664
  disabled?: boolean;
@@ -136,7 +136,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
136
136
  col: number;
137
137
  row: number;
138
138
  table: any;
139
- selected: boolean;
140
139
  }) => boolean | {
141
140
  display?: boolean;
142
141
  disabled?: boolean;
@@ -392,7 +391,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
392
391
  col: number;
393
392
  row: number;
394
393
  table: any;
395
- selected: boolean;
396
394
  }) => boolean | {
397
395
  display?: boolean;
398
396
  disabled?: boolean;
@@ -510,6 +508,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
510
508
  }>, {
511
509
  id: string;
512
510
  modelValue: Record<string, any>[];
511
+ isPage: boolean;
513
512
  columns: ColumnSchemaConfig[];
514
513
  records: Record<string, any>[];
515
514
  isTree: boolean;
@@ -518,7 +517,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
518
517
  isShowNumber: boolean;
519
518
  isMultiple: boolean;
520
519
  selectStateKey: string;
521
- isPage: boolean;
522
520
  pageLayoutSimple: boolean;
523
521
  pageTotal: number;
524
522
  tablePage: number;
@@ -532,7 +530,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
532
530
  col: number;
533
531
  row: number;
534
532
  table: any;
535
- selected: boolean;
536
533
  }) => boolean | {
537
534
  display?: boolean;
538
535
  disabled?: boolean;
@@ -87,7 +87,6 @@ declare const JTablePanel: {
87
87
  col: number;
88
88
  row: number;
89
89
  table: any;
90
- selected: boolean;
91
90
  }) => boolean | {
92
91
  display?: boolean;
93
92
  disabled?: boolean;
@@ -140,6 +139,7 @@ declare const JTablePanel: {
140
139
  }, import('vue').PublicProps, {
141
140
  immediate: boolean;
142
141
  buttons: import('..').ButtonCompType[];
142
+ isPage: boolean;
143
143
  columns: import('..').SchemaConfig[];
144
144
  isTree: boolean;
145
145
  defaultExpandAll: boolean;
@@ -147,7 +147,6 @@ declare const JTablePanel: {
147
147
  isShowNumber: boolean;
148
148
  isMultiple: boolean;
149
149
  selectStateKey: string;
150
- isPage: boolean;
151
150
  pageSize: number;
152
151
  rowKey: string;
153
152
  actions: import('..').ButtonCompType[];
@@ -158,7 +157,6 @@ declare const JTablePanel: {
158
157
  col: number;
159
158
  row: number;
160
159
  table: any;
161
- selected: boolean;
162
160
  }) => boolean | {
163
161
  display?: boolean;
164
162
  disabled?: boolean;
@@ -460,7 +458,6 @@ declare const JTablePanel: {
460
458
  col: number;
461
459
  row: number;
462
460
  table: any;
463
- selected: boolean;
464
461
  }) => boolean | {
465
462
  display?: boolean;
466
463
  disabled?: boolean;
@@ -510,6 +507,7 @@ declare const JTablePanel: {
510
507
  }, {}, {}, {}, {
511
508
  immediate: boolean;
512
509
  buttons: import('..').ButtonCompType[];
510
+ isPage: boolean;
513
511
  columns: import('..').SchemaConfig[];
514
512
  isTree: boolean;
515
513
  defaultExpandAll: boolean;
@@ -517,7 +515,6 @@ declare const JTablePanel: {
517
515
  isShowNumber: boolean;
518
516
  isMultiple: boolean;
519
517
  selectStateKey: string;
520
- isPage: boolean;
521
518
  pageSize: number;
522
519
  rowKey: string;
523
520
  actions: import('..').ButtonCompType[];
@@ -528,7 +525,6 @@ declare const JTablePanel: {
528
525
  col: number;
529
526
  row: number;
530
527
  table: any;
531
- selected: boolean;
532
528
  }) => boolean | {
533
529
  display?: boolean;
534
530
  disabled?: boolean;
@@ -639,7 +635,6 @@ declare const JTablePanel: {
639
635
  col: number;
640
636
  row: number;
641
637
  table: any;
642
- selected: boolean;
643
638
  }) => boolean | {
644
639
  display?: boolean;
645
640
  disabled?: boolean;
@@ -692,6 +687,7 @@ declare const JTablePanel: {
692
687
  }, string, {
693
688
  immediate: boolean;
694
689
  buttons: import('..').ButtonCompType[];
690
+ isPage: boolean;
695
691
  columns: import('..').SchemaConfig[];
696
692
  isTree: boolean;
697
693
  defaultExpandAll: boolean;
@@ -699,7 +695,6 @@ declare const JTablePanel: {
699
695
  isShowNumber: boolean;
700
696
  isMultiple: boolean;
701
697
  selectStateKey: string;
702
- isPage: boolean;
703
698
  pageSize: number;
704
699
  rowKey: string;
705
700
  actions: import('..').ButtonCompType[];
@@ -710,7 +705,6 @@ declare const JTablePanel: {
710
705
  col: number;
711
706
  row: number;
712
707
  table: any;
713
- selected: boolean;
714
708
  }) => boolean | {
715
709
  display?: boolean;
716
710
  disabled?: boolean;
@@ -156,7 +156,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
156
156
  col: number;
157
157
  row: number;
158
158
  table: any;
159
- selected: boolean;
160
159
  }) => boolean | {
161
160
  display?: boolean;
162
161
  disabled?: boolean;
@@ -384,7 +383,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
384
383
  col: number;
385
384
  row: number;
386
385
  table: any;
387
- selected: boolean;
388
386
  }) => boolean | {
389
387
  display?: boolean;
390
388
  disabled?: boolean;
@@ -454,6 +452,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
454
452
  }>, {
455
453
  immediate: boolean;
456
454
  buttons: ButtonCompType[];
455
+ isPage: boolean;
457
456
  columns: SchemaConfig[];
458
457
  isTree: boolean;
459
458
  defaultExpandAll: boolean;
@@ -461,7 +460,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
461
460
  isShowNumber: boolean;
462
461
  isMultiple: boolean;
463
462
  selectStateKey: string;
464
- isPage: boolean;
465
463
  pageSize: number;
466
464
  rowKey: string;
467
465
  actions: ButtonCompType[];
@@ -472,7 +470,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
472
470
  col: number;
473
471
  row: number;
474
472
  table: any;
475
- selected: boolean;
476
473
  }) => boolean | {
477
474
  display?: boolean;
478
475
  disabled?: boolean;
@@ -0,0 +1,108 @@
1
+ declare const JTime: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('.').TimeProps> & Readonly<{
3
+ onClear?: ((e: Function) => any) | undefined;
4
+ onFocus?: ((e: FocusEvent) => any) | undefined;
5
+ onBlur?: ((e: FocusEvent) => any) | undefined;
6
+ "onUpdate:modelValue"?: ((val: string | number | Date | (string | number | Date)[]) => any) | undefined;
7
+ onChange?: ((val: string | number | Date | (string | number | Date)[]) => any) | undefined;
8
+ "onVisible-change"?: ((visibility: boolean) => any) | undefined;
9
+ }>, {
10
+ ref: import('vue').Ref<any, any>;
11
+ handleOpen: () => void;
12
+ handleClose: () => void;
13
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ clear: (e: Function) => any;
15
+ focus: (e: FocusEvent) => any;
16
+ blur: (e: FocusEvent) => any;
17
+ "update:modelValue": (val: string | number | Date | (string | number | Date)[]) => any;
18
+ change: (val: string | number | Date | (string | number | Date)[]) => any;
19
+ "visible-change": (visibility: boolean) => any;
20
+ }, import('vue').PublicProps, {
21
+ size: "large" | "default" | "small";
22
+ id: string | string[];
23
+ disabled: boolean;
24
+ modelValue: string | number | Date | Array<string | number | Date>;
25
+ placeholder: string;
26
+ clearable: boolean;
27
+ readonly: boolean;
28
+ startPlaceholder: string;
29
+ endPlaceholder: string;
30
+ format: string;
31
+ rangeSeparator: string;
32
+ isRange: boolean;
33
+ arrowControl: boolean;
34
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
35
+ timeRef: unknown;
36
+ }, any, import('vue').ComponentProvideOptions, {
37
+ P: {};
38
+ B: {};
39
+ D: {};
40
+ C: {};
41
+ M: {};
42
+ Defaults: {};
43
+ }, Readonly<import('.').TimeProps> & Readonly<{
44
+ onClear?: ((e: Function) => any) | undefined;
45
+ onFocus?: ((e: FocusEvent) => any) | undefined;
46
+ onBlur?: ((e: FocusEvent) => any) | undefined;
47
+ "onUpdate:modelValue"?: ((val: string | number | Date | (string | number | Date)[]) => any) | undefined;
48
+ onChange?: ((val: string | number | Date | (string | number | Date)[]) => any) | undefined;
49
+ "onVisible-change"?: ((visibility: boolean) => any) | undefined;
50
+ }>, {
51
+ ref: import('vue').Ref<any, any>;
52
+ handleOpen: () => void;
53
+ handleClose: () => void;
54
+ }, {}, {}, {}, {
55
+ size: "large" | "default" | "small";
56
+ id: string | string[];
57
+ disabled: boolean;
58
+ modelValue: string | number | Date | Array<string | number | Date>;
59
+ placeholder: string;
60
+ clearable: boolean;
61
+ readonly: boolean;
62
+ startPlaceholder: string;
63
+ endPlaceholder: string;
64
+ format: string;
65
+ rangeSeparator: string;
66
+ isRange: boolean;
67
+ arrowControl: boolean;
68
+ }>;
69
+ __isFragment?: never;
70
+ __isTeleport?: never;
71
+ __isSuspense?: never;
72
+ } & import('vue').ComponentOptionsBase<Readonly<import('.').TimeProps> & Readonly<{
73
+ onClear?: ((e: Function) => any) | undefined;
74
+ onFocus?: ((e: FocusEvent) => any) | undefined;
75
+ onBlur?: ((e: FocusEvent) => any) | undefined;
76
+ "onUpdate:modelValue"?: ((val: string | number | Date | (string | number | Date)[]) => any) | undefined;
77
+ onChange?: ((val: string | number | Date | (string | number | Date)[]) => any) | undefined;
78
+ "onVisible-change"?: ((visibility: boolean) => any) | undefined;
79
+ }>, {
80
+ ref: import('vue').Ref<any, any>;
81
+ handleOpen: () => void;
82
+ handleClose: () => void;
83
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
84
+ clear: (e: Function) => any;
85
+ focus: (e: FocusEvent) => any;
86
+ blur: (e: FocusEvent) => any;
87
+ "update:modelValue": (val: string | number | Date | (string | number | Date)[]) => any;
88
+ change: (val: string | number | Date | (string | number | Date)[]) => any;
89
+ "visible-change": (visibility: boolean) => any;
90
+ }, string, {
91
+ size: "large" | "default" | "small";
92
+ id: string | string[];
93
+ disabled: boolean;
94
+ modelValue: string | number | Date | Array<string | number | Date>;
95
+ placeholder: string;
96
+ clearable: boolean;
97
+ readonly: boolean;
98
+ startPlaceholder: string;
99
+ endPlaceholder: string;
100
+ format: string;
101
+ rangeSeparator: string;
102
+ isRange: boolean;
103
+ arrowControl: boolean;
104
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
105
+ install: (app: import('vue').App) => void;
106
+ };
107
+ export default JTime;
108
+ export * from './src/time.vue';
@@ -0,0 +1,66 @@
1
+ export interface TimeProps {
2
+ /** 绑定值 */
3
+ modelValue?: string | number | Date | Array<string | number | Date>;
4
+ /** 是否为时间范围选择 */
5
+ isRange?: boolean;
6
+ /** 是否使用箭头进行时间选择 */
7
+ arrowControl?: boolean;
8
+ /** 显示在输入框中的格式 */
9
+ format?: string;
10
+ /** 选择范围时的分隔符 */
11
+ rangeSeparator?: string;
12
+ /** 可选时间范围 */
13
+ selectableRange?: string | string[];
14
+ /** 是否显示清除按钮 */
15
+ clearable?: boolean;
16
+ /** 是否只读 */
17
+ readonly?: boolean;
18
+ /** 是否禁用 */
19
+ disabled?: boolean;
20
+ /** 输入框尺寸 */
21
+ size?: 'large' | 'default' | 'small';
22
+ /** 非范围选择时的占位内容 */
23
+ placeholder?: string;
24
+ /** 范围选择时开始日期的占位内容 */
25
+ startPlaceholder?: string;
26
+ /** 范围选择时结束日期的占位内容 */
27
+ endPlaceholder?: string;
28
+ id?: string | string[];
29
+ }
30
+ declare const _default: import('vue').DefineComponent<TimeProps, {
31
+ /** 获取 el-date-picker 实例 */
32
+ ref: import('vue').Ref<any, any>;
33
+ handleOpen: () => void;
34
+ handleClose: () => void;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ clear: (e: Function) => any;
37
+ focus: (e: FocusEvent) => any;
38
+ blur: (e: FocusEvent) => any;
39
+ "update:modelValue": (val: string | number | Date | (string | number | Date)[]) => any;
40
+ change: (val: string | number | Date | (string | number | Date)[]) => any;
41
+ "visible-change": (visibility: boolean) => any;
42
+ }, string, import('vue').PublicProps, Readonly<TimeProps> & Readonly<{
43
+ onClear?: ((e: Function) => any) | undefined;
44
+ onFocus?: ((e: FocusEvent) => any) | undefined;
45
+ onBlur?: ((e: FocusEvent) => any) | undefined;
46
+ "onUpdate:modelValue"?: ((val: string | number | Date | (string | number | Date)[]) => any) | undefined;
47
+ onChange?: ((val: string | number | Date | (string | number | Date)[]) => any) | undefined;
48
+ "onVisible-change"?: ((visibility: boolean) => any) | undefined;
49
+ }>, {
50
+ size: "large" | "default" | "small";
51
+ id: string | string[];
52
+ disabled: boolean;
53
+ modelValue: string | number | Date | Array<string | number | Date>;
54
+ placeholder: string;
55
+ clearable: boolean;
56
+ readonly: boolean;
57
+ startPlaceholder: string;
58
+ endPlaceholder: string;
59
+ format: string;
60
+ rangeSeparator: string;
61
+ isRange: boolean;
62
+ arrowControl: boolean;
63
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
64
+ timeRef: unknown;
65
+ }, any>;
66
+ export default _default;