guava-ui 0.2.7 → 0.2.8

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.
@@ -9,6 +9,7 @@ import { ComponentSize } from 'element-plus';
9
9
  import { Composer } from '../vue-i18n/dist/vue-i18n.cjs.js';
10
10
  import { ComputedOptions } from 'vue';
11
11
  import { CSSProperties } from 'vue';
12
+ import { DatePickerType } from 'element-plus';
12
13
  import { DefineComponent } from 'vue';
13
14
  import { ExtractPropTypes } from 'vue';
14
15
  import { FilterNodeMethodFunction } from 'element-plus/es/components/tree/src/tree.type';
@@ -365,11 +366,11 @@ nativeType: string;
365
366
  loading: boolean;
366
367
  visible: boolean;
367
368
  perms: string;
368
- otext: string;
369
+ cb: (args?: any) => void;
369
370
  refForm: string;
371
+ otext: string;
370
372
  bizType: BizType;
371
373
  args: string;
372
- cb: (args?: any) => void;
373
374
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
374
375
 
375
376
  export declare const GvCard: DefineComponent< {}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -385,6 +386,11 @@ type: StringConstructor;
385
386
  required: false;
386
387
  default: undefined;
387
388
  };
389
+ id: {
390
+ type: StringConstructor;
391
+ required: false;
392
+ default: undefined;
393
+ };
388
394
  value: {
389
395
  type: ArrayConstructor;
390
396
  required: false;
@@ -465,6 +471,11 @@ type: StringConstructor;
465
471
  required: false;
466
472
  default: undefined;
467
473
  };
474
+ id: {
475
+ type: StringConstructor;
476
+ required: false;
477
+ default: undefined;
478
+ };
468
479
  value: {
469
480
  type: ArrayConstructor;
470
481
  required: false;
@@ -547,6 +558,7 @@ lazy: boolean;
547
558
  size: "" | "small" | "default" | "large";
548
559
  placeholder: string;
549
560
  vref: string;
561
+ id: string;
550
562
  trigger: string;
551
563
  disabled: boolean;
552
564
  visible: boolean;
@@ -555,8 +567,8 @@ multiple: boolean;
555
567
  clearable: boolean;
556
568
  filterable: boolean;
557
569
  separator: string;
558
- showAllLevels: boolean;
559
570
  lazyLoad: (node: any, resolve: (data: any[]) => void, reject: () => void) => void;
571
+ showAllLevels: boolean;
560
572
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
561
573
 
562
574
  export declare const GvCheckbox: DefineComponent<ExtractPropTypes< {
@@ -896,12 +908,20 @@ vref: {
896
908
  type: StringConstructor;
897
909
  default: string;
898
910
  };
911
+ name: {
912
+ type: StringConstructor;
913
+ default: undefined;
914
+ };
915
+ id: {
916
+ type: StringConstructor;
917
+ default: undefined;
918
+ };
899
919
  modelValue: {
900
920
  type: PropType<TDatePickerType>;
901
921
  default: undefined;
902
922
  };
903
923
  type: {
904
- type: StringConstructor;
924
+ type: PropType<DatePickerType>;
905
925
  default: string;
906
926
  };
907
927
  format: {
@@ -913,7 +933,7 @@ type: StringConstructor;
913
933
  default: string;
914
934
  };
915
935
  defaultTime: {
916
- type: PropType<Date[]>;
936
+ type: ArrayConstructor;
917
937
  default: undefined;
918
938
  };
919
939
  size: {
@@ -945,12 +965,12 @@ type: BooleanConstructor;
945
965
  default: boolean;
946
966
  };
947
967
  disabledDateFunc: {
948
- type: PropType<string[]>;
968
+ type: ArrayConstructor;
949
969
  default: () => never[];
950
970
  };
951
971
  disabledDate: {
952
- type: PropType<(date: Date) => boolean>;
953
- default: undefined;
972
+ type: FunctionConstructor;
973
+ default: () => void;
954
974
  };
955
975
  editable: {
956
976
  type: BooleanConstructor;
@@ -960,17 +980,25 @@ unlink: {
960
980
  type: BooleanConstructor;
961
981
  default: boolean;
962
982
  };
963
- }>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("blur" | "change" | "focus" | "pick" | "update:modelValue")[], "blur" | "change" | "focus" | "pick" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
983
+ }>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "pick" | "update:modelValue")[], "blur" | "change" | "focus" | "input" | "pick" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
964
984
  vref: {
965
985
  type: StringConstructor;
966
986
  default: string;
967
987
  };
988
+ name: {
989
+ type: StringConstructor;
990
+ default: undefined;
991
+ };
992
+ id: {
993
+ type: StringConstructor;
994
+ default: undefined;
995
+ };
968
996
  modelValue: {
969
997
  type: PropType<TDatePickerType>;
970
998
  default: undefined;
971
999
  };
972
1000
  type: {
973
- type: StringConstructor;
1001
+ type: PropType<DatePickerType>;
974
1002
  default: string;
975
1003
  };
976
1004
  format: {
@@ -982,7 +1010,7 @@ type: StringConstructor;
982
1010
  default: string;
983
1011
  };
984
1012
  defaultTime: {
985
- type: PropType<Date[]>;
1013
+ type: ArrayConstructor;
986
1014
  default: undefined;
987
1015
  };
988
1016
  size: {
@@ -1014,12 +1042,12 @@ type: BooleanConstructor;
1014
1042
  default: boolean;
1015
1043
  };
1016
1044
  disabledDateFunc: {
1017
- type: PropType<string[]>;
1045
+ type: ArrayConstructor;
1018
1046
  default: () => never[];
1019
1047
  };
1020
1048
  disabledDate: {
1021
- type: PropType<(date: Date) => boolean>;
1022
- default: undefined;
1049
+ type: FunctionConstructor;
1050
+ default: () => void;
1023
1051
  };
1024
1052
  editable: {
1025
1053
  type: BooleanConstructor;
@@ -1030,29 +1058,32 @@ type: BooleanConstructor;
1030
1058
  default: boolean;
1031
1059
  };
1032
1060
  }>> & Readonly<{
1033
- onFocus?: ((...args: any[]) => any) | undefined;
1034
- onBlur?: ((...args: any[]) => any) | undefined;
1035
- onChange?: ((...args: any[]) => any) | undefined;
1036
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1037
- onPick?: ((...args: any[]) => any) | undefined;
1061
+ onFocus?: ((...args: any[]) => any) | undefined;
1062
+ onBlur?: ((...args: any[]) => any) | undefined;
1063
+ onChange?: ((...args: any[]) => any) | undefined;
1064
+ onInput?: ((...args: any[]) => any) | undefined;
1065
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1066
+ onPick?: ((...args: any[]) => any) | undefined;
1038
1067
  }>, {
1039
- size: TDatePickerSize;
1040
- type: string;
1041
- placeholder: string;
1042
- vref: string;
1043
- disabled: boolean;
1044
- unlink: boolean;
1045
- modelValue: TDatePickerType;
1046
- clearable: boolean;
1047
- editable: boolean;
1048
- format: string;
1049
- valueFormat: string;
1050
- defaultTime: Date[];
1051
- rangeSeparator: string;
1052
- startPlaceholder: string;
1053
- endPlaceholder: string;
1054
- disabledDateFunc: string[];
1055
- disabledDate: (date: Date) => boolean;
1068
+ name: string;
1069
+ size: TDatePickerSize;
1070
+ type: DatePickerType;
1071
+ placeholder: string;
1072
+ vref: string;
1073
+ id: string;
1074
+ disabled: boolean;
1075
+ unlink: boolean;
1076
+ modelValue: TDatePickerType;
1077
+ clearable: boolean;
1078
+ editable: boolean;
1079
+ format: string;
1080
+ disabledDateFunc: unknown[];
1081
+ disabledDate: Function;
1082
+ defaultTime: unknown[];
1083
+ valueFormat: string;
1084
+ rangeSeparator: string;
1085
+ startPlaceholder: string;
1086
+ endPlaceholder: string;
1056
1087
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1057
1088
 
1058
1089
  export declare const GvDialog: DefineComponent<ExtractPropTypes< {
@@ -1417,9 +1448,9 @@ default: boolean;
1417
1448
  }>> & Readonly<{}>, {
1418
1449
  size: "" | "small" | "default" | "large";
1419
1450
  labelWidth: string | number;
1451
+ formList: FormItem[];
1420
1452
  divider: string;
1421
1453
  isDivider: boolean;
1422
- formList: FormItem[];
1423
1454
  formStyle: Record<string, any>;
1424
1455
  scroller: boolean;
1425
1456
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1454,6 +1485,10 @@ name: {
1454
1485
  type: StringConstructor;
1455
1486
  default: undefined;
1456
1487
  };
1488
+ id: {
1489
+ type: StringConstructor;
1490
+ default: undefined;
1491
+ };
1457
1492
  value: {
1458
1493
  type: PropType<string | number | undefined>;
1459
1494
  default: string;
@@ -1523,6 +1558,10 @@ name: {
1523
1558
  type: StringConstructor;
1524
1559
  default: undefined;
1525
1560
  };
1561
+ id: {
1562
+ type: StringConstructor;
1563
+ default: undefined;
1564
+ };
1526
1565
  value: {
1527
1566
  type: PropType<string | number | undefined>;
1528
1567
  default: string;
@@ -1597,6 +1636,7 @@ size: "" | "small" | "default" | "large";
1597
1636
  type: InputType;
1598
1637
  placeholder: string;
1599
1638
  vref: string;
1639
+ id: string;
1600
1640
  disabled: boolean;
1601
1641
  visible: boolean;
1602
1642
  clearable: boolean;
@@ -1619,6 +1659,10 @@ name: {
1619
1659
  type: StringConstructor;
1620
1660
  default: undefined;
1621
1661
  };
1662
+ id: {
1663
+ type: StringConstructor;
1664
+ default: undefined;
1665
+ };
1622
1666
  value: {
1623
1667
  type: NumberConstructor;
1624
1668
  default: undefined;
@@ -1681,6 +1725,10 @@ name: {
1681
1725
  type: StringConstructor;
1682
1726
  default: undefined;
1683
1727
  };
1728
+ id: {
1729
+ type: StringConstructor;
1730
+ default: undefined;
1731
+ };
1684
1732
  value: {
1685
1733
  type: NumberConstructor;
1686
1734
  default: undefined;
@@ -1748,15 +1796,16 @@ size: "" | "small" | "default" | "large";
1748
1796
  placeholder: string;
1749
1797
  vref: string;
1750
1798
  max: number;
1799
+ id: string;
1751
1800
  position: string;
1752
1801
  disabled: boolean;
1753
1802
  visible: boolean;
1754
1803
  step: number;
1755
- bizType: string;
1756
1804
  min: number;
1805
+ precision: number;
1806
+ bizType: string;
1757
1807
  columnProp: string;
1758
1808
  stepStrictly: boolean;
1759
- precision: number;
1760
1809
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1761
1810
 
1762
1811
  export declare const GvLangSelect: DefineComponent<ExtractPropTypes< {
@@ -2113,6 +2162,14 @@ name: {
2113
2162
  type: StringConstructor;
2114
2163
  default: undefined;
2115
2164
  };
2165
+ id: {
2166
+ type: StringConstructor;
2167
+ default: undefined;
2168
+ };
2169
+ modelValue: {
2170
+ type: PropType<string | unknown[] | Record<string, unknown>>;
2171
+ default: undefined;
2172
+ };
2116
2173
  value: {
2117
2174
  type: PropType<string | unknown[] | Record<string, unknown>>;
2118
2175
  default: undefined;
@@ -2202,6 +2259,14 @@ name: {
2202
2259
  type: StringConstructor;
2203
2260
  default: undefined;
2204
2261
  };
2262
+ id: {
2263
+ type: StringConstructor;
2264
+ default: undefined;
2265
+ };
2266
+ modelValue: {
2267
+ type: PropType<string | unknown[] | Record<string, unknown>>;
2268
+ default: undefined;
2269
+ };
2205
2270
  value: {
2206
2271
  type: PropType<string | unknown[] | Record<string, unknown>>;
2207
2272
  default: undefined;
@@ -2294,20 +2359,22 @@ clear: Function;
2294
2359
  size: "" | "small" | "default" | "large";
2295
2360
  placeholder: string;
2296
2361
  vref: string;
2362
+ id: string;
2297
2363
  label: string;
2298
2364
  disabled: boolean;
2299
2365
  visible: boolean;
2300
2366
  multiple: boolean;
2367
+ modelValue: string | unknown[] | Record<string, unknown>;
2301
2368
  clearable: boolean;
2302
2369
  filterable: boolean;
2303
2370
  collapseTags: boolean;
2304
- bizType: string;
2305
- cb: Function;
2306
- filtercode: string;
2307
2371
  showLabel: string | unknown[];
2308
- columnProp: string;
2372
+ filtercode: string;
2309
2373
  dicRemote: Function;
2374
+ cb: Function;
2310
2375
  isreload: boolean;
2376
+ bizType: string;
2377
+ columnProp: string;
2311
2378
  editRow: Record<string, any>;
2312
2379
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2313
2380
 
@@ -2489,6 +2556,11 @@ type: BooleanConstructor;
2489
2556
  required: false;
2490
2557
  default: boolean;
2491
2558
  };
2559
+ size: {
2560
+ type: PropType<ComponentSize>;
2561
+ required: false;
2562
+ default: string;
2563
+ };
2492
2564
  tableInit: {
2493
2565
  type: BooleanConstructor;
2494
2566
  required: false;
@@ -2529,7 +2601,7 @@ type: BooleanConstructor;
2529
2601
  required: false;
2530
2602
  default: boolean;
2531
2603
  };
2532
- }>, () => JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2604
+ }>, () => JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "row-dblclick"[], "row-dblclick", PublicProps, Readonly<ExtractPropTypes< {
2533
2605
  refTable: {
2534
2606
  type: StringConstructor;
2535
2607
  required: false;
@@ -2640,6 +2712,11 @@ type: BooleanConstructor;
2640
2712
  required: false;
2641
2713
  default: boolean;
2642
2714
  };
2715
+ size: {
2716
+ type: PropType<ComponentSize>;
2717
+ required: false;
2718
+ default: string;
2719
+ };
2643
2720
  tableInit: {
2644
2721
  type: BooleanConstructor;
2645
2722
  required: false;
@@ -2680,7 +2757,10 @@ type: BooleanConstructor;
2680
2757
  required: false;
2681
2758
  default: boolean;
2682
2759
  };
2683
- }>> & Readonly<{}>, {
2760
+ }>> & Readonly<{
2761
+ "onRow-dblclick"?: ((...args: any[]) => any) | undefined;
2762
+ }>, {
2763
+ size: "" | "small" | "default" | "large";
2684
2764
  maxHeight: string | number | undefined;
2685
2765
  height: string | number;
2686
2766
  visible: boolean;
@@ -2918,6 +2998,10 @@ name: {
2918
2998
  type: StringConstructor;
2919
2999
  default: undefined;
2920
3000
  };
3001
+ id: {
3002
+ type: StringConstructor;
3003
+ default: undefined;
3004
+ };
2921
3005
  modelValue: {
2922
3006
  type: PropType<TTimePickerType>;
2923
3007
  default: undefined;
@@ -2991,6 +3075,10 @@ name: {
2991
3075
  type: StringConstructor;
2992
3076
  default: undefined;
2993
3077
  };
3078
+ id: {
3079
+ type: StringConstructor;
3080
+ default: undefined;
3081
+ };
2994
3082
  modelValue: {
2995
3083
  type: PropType<TTimePickerType>;
2996
3084
  default: undefined;
@@ -3065,6 +3153,7 @@ default: boolean;
3065
3153
  size: TTimePickerSize;
3066
3154
  placeholder: string;
3067
3155
  vref: string;
3156
+ id: string;
3068
3157
  disabled: boolean;
3069
3158
  modelValue: TTimePickerType;
3070
3159
  clearable: boolean;
@@ -3214,9 +3303,10 @@ onCheck?: ((...args: any[]) => any) | undefined;
3214
3303
  lazy: boolean;
3215
3304
  load: LoadFunction;
3216
3305
  draggable: boolean;
3217
- checkOnClickNode: boolean;
3218
3306
  defaultExpandAll: boolean;
3219
3307
  treeProps: TreeOptionProps;
3308
+ iconClass: string;
3309
+ checkOnClickNode: boolean;
3220
3310
  nodeKey: string;
3221
3311
  expandOnClickNode: boolean;
3222
3312
  defaultCheckedKeys: (string | number)[];
@@ -3225,7 +3315,6 @@ renderContent: RenderContentFunction;
3225
3315
  showCheckbox: boolean;
3226
3316
  filterNodeMethod: FilterNodeMethodFunction;
3227
3317
  treeData: TreeData[];
3228
- iconClass: string;
3229
3318
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3230
3319
 
3231
3320
  export declare const hasClass: (ele: HTMLElement, cls: string) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guava-ui",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "vue3 & element-plus & typesScript & vite UI platform",
5
5
  "author": "Andy <xukaixing@hotmail.com>",
6
6
  "license": "Apache-2.0",