@a2simcode/ui 0.0.7 → 0.0.9

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.
Files changed (50) hide show
  1. package/dist/components/autocomplete/index.d.ts +6 -6
  2. package/dist/components/barcode/index.d.ts +6 -6
  3. package/dist/components/buttons/index.d.ts +12 -12
  4. package/dist/components/cascader-select/index.d.ts +6 -6
  5. package/dist/components/checkbox/index.d.ts +6 -6
  6. package/dist/components/code-mirror/index.d.ts +3 -3
  7. package/dist/components/comp/index.d.ts +6 -6
  8. package/dist/components/count/index.d.ts +73 -0
  9. package/dist/components/count/src/count.vue.d.ts +41 -0
  10. package/dist/components/count-up/index.d.ts +87 -0
  11. package/dist/components/count-up/src/count-up.vue.d.ts +43 -0
  12. package/dist/components/data-panel/index.d.ts +27 -0
  13. package/dist/components/data-panel/src/data-panel.vue.d.ts +24 -0
  14. package/dist/components/dialog/index.d.ts +6 -6
  15. package/dist/components/dialog-full/index.d.ts +6 -6
  16. package/dist/components/divider/index.d.ts +25 -0
  17. package/dist/components/divider/src/divider.vue.d.ts +29 -0
  18. package/dist/components/drawer/index.d.ts +6 -6
  19. package/dist/components/dynamic-layer/index.d.ts +3 -3
  20. package/dist/components/form/index.d.ts +3 -3
  21. package/dist/components/form-item/index.d.ts +6 -6
  22. package/dist/components/guid/index.d.ts +35 -0
  23. package/dist/components/guid/src/guid.vue.d.ts +28 -0
  24. package/dist/components/hpanel/index.d.ts +22 -0
  25. package/dist/components/hpanel/src/hpanel.vue.d.ts +19 -0
  26. package/dist/components/icon/index.d.ts +3 -3
  27. package/dist/components/index.d.ts +37 -1
  28. package/dist/components/input/index.d.ts +6 -6
  29. package/dist/components/input/src/input.vue.d.ts +1 -1
  30. package/dist/components/input-button/index.d.ts +65 -0
  31. package/dist/components/input-button/src/input-button.vue.d.ts +65 -0
  32. package/dist/components/input-code/index.d.ts +52 -0
  33. package/dist/components/input-code/src/input-code.vue.d.ts +41 -0
  34. package/dist/components/input-tag/index.d.ts +3 -3
  35. package/dist/components/layer/index.d.ts +6 -6
  36. package/dist/components/number/index.d.ts +3 -3
  37. package/dist/components/page/index.d.ts +6 -6
  38. package/dist/components/rate/index.d.ts +3 -3
  39. package/dist/components/select/index.d.ts +11 -11
  40. package/dist/components/slider/index.d.ts +3 -3
  41. package/dist/components/table/index.d.ts +18 -18
  42. package/dist/components/title/index.d.ts +37 -0
  43. package/dist/components/title/src/title.vue.d.ts +35 -0
  44. package/dist/core/utils/common.d.ts +26 -0
  45. package/dist/core/utils/is.d.ts +2 -0
  46. package/dist/simcode-ui.es.js +2325 -1703
  47. package/dist/simcode-ui.umd.js +16 -1
  48. package/dist/stats.html +1 -1
  49. package/dist/ui.css +1 -1
  50. package/package.json +3 -1
@@ -1,5 +1,5 @@
1
1
  declare const JAutocomplete: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/autocomplete.vue').AutocompleteProps> & Readonly<{
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').AutocompleteProps> & Readonly<{
3
3
  onSelect?: ((value: any) => any) | undefined;
4
4
  onFocus?: (() => any) | undefined;
5
5
  onBlur?: (() => any) | undefined;
@@ -19,7 +19,7 @@ declare const JAutocomplete: {
19
19
  readonly: boolean;
20
20
  placeholder: string;
21
21
  clearable: boolean;
22
- options: import('./src/autocomplete.vue').Option[];
22
+ options: import('..').AutocompleteOption[];
23
23
  teleported: boolean;
24
24
  placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
25
25
  valueKey: string;
@@ -39,7 +39,7 @@ declare const JAutocomplete: {
39
39
  C: {};
40
40
  M: {};
41
41
  Defaults: {};
42
- }, Readonly<import('./src/autocomplete.vue').AutocompleteProps> & Readonly<{
42
+ }, Readonly<import('..').AutocompleteProps> & Readonly<{
43
43
  onSelect?: ((value: any) => any) | undefined;
44
44
  onFocus?: (() => any) | undefined;
45
45
  onBlur?: (() => any) | undefined;
@@ -53,7 +53,7 @@ declare const JAutocomplete: {
53
53
  readonly: boolean;
54
54
  placeholder: string;
55
55
  clearable: boolean;
56
- options: import('./src/autocomplete.vue').Option[];
56
+ options: import('..').AutocompleteOption[];
57
57
  teleported: boolean;
58
58
  placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
59
59
  valueKey: string;
@@ -68,7 +68,7 @@ declare const JAutocomplete: {
68
68
  __isFragment?: never;
69
69
  __isTeleport?: never;
70
70
  __isSuspense?: never;
71
- } & import('vue').ComponentOptionsBase<Readonly<import('./src/autocomplete.vue').AutocompleteProps> & Readonly<{
71
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').AutocompleteProps> & Readonly<{
72
72
  onSelect?: ((value: any) => any) | undefined;
73
73
  onFocus?: (() => any) | undefined;
74
74
  onBlur?: (() => any) | undefined;
@@ -88,7 +88,7 @@ declare const JAutocomplete: {
88
88
  readonly: boolean;
89
89
  placeholder: string;
90
90
  clearable: boolean;
91
- options: import('./src/autocomplete.vue').Option[];
91
+ options: import('..').AutocompleteOption[];
92
92
  teleported: boolean;
93
93
  placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
94
94
  valueKey: string;
@@ -1,5 +1,5 @@
1
1
  declare const JBarcode: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/barcode.vue').BarcodeProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').BarcodeProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
3
3
  size: number;
4
4
  flat: boolean;
5
5
  color: string;
@@ -8,7 +8,7 @@ declare const JBarcode: {
8
8
  width: number;
9
9
  font: string;
10
10
  modelValue: string | number;
11
- format: import('./src/barcode.vue').BarcodeFormat;
11
+ format: import('..').BarcodeFormat;
12
12
  displayValue: boolean;
13
13
  fontOptions: string;
14
14
  textAlign: string;
@@ -40,7 +40,7 @@ declare const JBarcode: {
40
40
  C: {};
41
41
  M: {};
42
42
  Defaults: {};
43
- }, Readonly<import('./src/barcode.vue').BarcodeProps> & Readonly<{}>, {}, {}, {}, {}, {
43
+ }, Readonly<import('..').BarcodeProps> & Readonly<{}>, {}, {}, {}, {}, {
44
44
  size: number;
45
45
  flat: boolean;
46
46
  color: string;
@@ -49,7 +49,7 @@ declare const JBarcode: {
49
49
  width: number;
50
50
  font: string;
51
51
  modelValue: string | number;
52
- format: import('./src/barcode.vue').BarcodeFormat;
52
+ format: import('..').BarcodeFormat;
53
53
  displayValue: boolean;
54
54
  fontOptions: string;
55
55
  textAlign: string;
@@ -76,7 +76,7 @@ declare const JBarcode: {
76
76
  __isFragment?: never;
77
77
  __isTeleport?: never;
78
78
  __isSuspense?: never;
79
- } & import('vue').ComponentOptionsBase<Readonly<import('./src/barcode.vue').BarcodeProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
79
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').BarcodeProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
80
80
  size: number;
81
81
  flat: boolean;
82
82
  color: string;
@@ -85,7 +85,7 @@ declare const JBarcode: {
85
85
  width: number;
86
86
  font: string;
87
87
  modelValue: string | number;
88
- format: import('./src/barcode.vue').BarcodeFormat;
88
+ format: import('..').BarcodeFormat;
89
89
  displayValue: boolean;
90
90
  fontOptions: string;
91
91
  textAlign: string;
@@ -1,11 +1,11 @@
1
1
  declare const JButtons: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
3
  list: {
4
- type: import('vue').PropType<import('./src/interface').buttonItem[]>;
4
+ type: import('vue').PropType<import('..').buttonItem[]>;
5
5
  default: () => never[];
6
6
  };
7
7
  group: {
8
- type: import('vue').PropType<Record<string, import('./src/interface').buttonItem[]>>;
8
+ type: import('vue').PropType<Record<string, import('..').buttonItem[]>>;
9
9
  default: () => {};
10
10
  };
11
11
  isLink: BooleanConstructor;
@@ -16,8 +16,8 @@ declare const JButtons: {
16
16
  readonly: BooleanConstructor;
17
17
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
18
18
  size: "small" | "default" | "large";
19
- list: import('./src/interface').buttonItem[];
20
- group: Record<string, import('./src/interface').buttonItem[]>;
19
+ list: import('..').buttonItem[];
20
+ group: Record<string, import('..').buttonItem[]>;
21
21
  isLink: boolean;
22
22
  readonly: boolean;
23
23
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -31,11 +31,11 @@ declare const JButtons: {
31
31
  Defaults: {};
32
32
  }, Readonly<import('vue').ExtractPropTypes<{
33
33
  list: {
34
- type: import('vue').PropType<import('./src/interface').buttonItem[]>;
34
+ type: import('vue').PropType<import('..').buttonItem[]>;
35
35
  default: () => never[];
36
36
  };
37
37
  group: {
38
- type: import('vue').PropType<Record<string, import('./src/interface').buttonItem[]>>;
38
+ type: import('vue').PropType<Record<string, import('..').buttonItem[]>>;
39
39
  default: () => {};
40
40
  };
41
41
  isLink: BooleanConstructor;
@@ -46,8 +46,8 @@ declare const JButtons: {
46
46
  readonly: BooleanConstructor;
47
47
  }>> & Readonly<{}>, {}, {}, {}, {}, {
48
48
  size: "small" | "default" | "large";
49
- list: import('./src/interface').buttonItem[];
50
- group: Record<string, import('./src/interface').buttonItem[]>;
49
+ list: import('..').buttonItem[];
50
+ group: Record<string, import('..').buttonItem[]>;
51
51
  isLink: boolean;
52
52
  readonly: boolean;
53
53
  }>;
@@ -56,11 +56,11 @@ declare const JButtons: {
56
56
  __isSuspense?: never;
57
57
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
58
58
  list: {
59
- type: import('vue').PropType<import('./src/interface').buttonItem[]>;
59
+ type: import('vue').PropType<import('..').buttonItem[]>;
60
60
  default: () => never[];
61
61
  };
62
62
  group: {
63
- type: import('vue').PropType<Record<string, import('./src/interface').buttonItem[]>>;
63
+ type: import('vue').PropType<Record<string, import('..').buttonItem[]>>;
64
64
  default: () => {};
65
65
  };
66
66
  isLink: BooleanConstructor;
@@ -71,8 +71,8 @@ declare const JButtons: {
71
71
  readonly: BooleanConstructor;
72
72
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
73
73
  size: "small" | "default" | "large";
74
- list: import('./src/interface').buttonItem[];
75
- group: Record<string, import('./src/interface').buttonItem[]>;
74
+ list: import('..').buttonItem[];
75
+ group: Record<string, import('..').buttonItem[]>;
76
76
  isLink: boolean;
77
77
  readonly: boolean;
78
78
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
@@ -1,5 +1,5 @@
1
1
  declare const JCascaderSelect: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/cascader-select.vue').CascaderSelectProps> & Readonly<{
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CascaderSelectProps> & Readonly<{
3
3
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
4
4
  onChange?: ((value: {
5
5
  value: string;
@@ -20,7 +20,7 @@ declare const JCascaderSelect: {
20
20
  readonly: boolean;
21
21
  placeholder: string;
22
22
  clearable: boolean;
23
- options: import('./src/cascader-select.vue').CascaderSelectOption[];
23
+ options: import('..').CascaderSelectOption[];
24
24
  multiple: boolean;
25
25
  collapseTags: boolean;
26
26
  filterable: boolean | object;
@@ -45,7 +45,7 @@ declare const JCascaderSelect: {
45
45
  C: {};
46
46
  M: {};
47
47
  Defaults: {};
48
- }, Readonly<import('./src/cascader-select.vue').CascaderSelectProps> & Readonly<{
48
+ }, Readonly<import('..').CascaderSelectProps> & Readonly<{
49
49
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
50
50
  onChange?: ((value: {
51
51
  value: string;
@@ -60,7 +60,7 @@ declare const JCascaderSelect: {
60
60
  readonly: boolean;
61
61
  placeholder: string;
62
62
  clearable: boolean;
63
- options: import('./src/cascader-select.vue').CascaderSelectOption[];
63
+ options: import('..').CascaderSelectOption[];
64
64
  multiple: boolean;
65
65
  collapseTags: boolean;
66
66
  filterable: boolean | object;
@@ -80,7 +80,7 @@ declare const JCascaderSelect: {
80
80
  __isFragment?: never;
81
81
  __isTeleport?: never;
82
82
  __isSuspense?: never;
83
- } & import('vue').ComponentOptionsBase<Readonly<import('./src/cascader-select.vue').CascaderSelectProps> & Readonly<{
83
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').CascaderSelectProps> & Readonly<{
84
84
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
85
85
  onChange?: ((value: {
86
86
  value: string;
@@ -101,7 +101,7 @@ declare const JCascaderSelect: {
101
101
  readonly: boolean;
102
102
  placeholder: string;
103
103
  clearable: boolean;
104
- options: import('./src/cascader-select.vue').CascaderSelectOption[];
104
+ options: import('..').CascaderSelectOption[];
105
105
  multiple: boolean;
106
106
  collapseTags: boolean;
107
107
  filterable: boolean | object;
@@ -1,5 +1,5 @@
1
1
  declare const JCheckbox: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/checkbox.vue').CheckboxProps> & Readonly<{
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CheckboxProps> & Readonly<{
3
3
  "onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
4
4
  onChange?: ((value: string[]) => any) | undefined;
5
5
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -16,7 +16,7 @@ declare const JCheckbox: {
16
16
  max: number;
17
17
  min: number;
18
18
  validateEvent: boolean;
19
- options: import('./src/checkbox.vue').CheckboxOption[];
19
+ options: import('..').CheckboxOption[];
20
20
  tag: string;
21
21
  textColor: string;
22
22
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -26,7 +26,7 @@ declare const JCheckbox: {
26
26
  C: {};
27
27
  M: {};
28
28
  Defaults: {};
29
- }, Readonly<import('./src/checkbox.vue').CheckboxProps> & Readonly<{
29
+ }, Readonly<import('..').CheckboxProps> & Readonly<{
30
30
  "onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
31
31
  onChange?: ((value: string[]) => any) | undefined;
32
32
  }>, {}, {}, {}, {}, {
@@ -40,14 +40,14 @@ declare const JCheckbox: {
40
40
  max: number;
41
41
  min: number;
42
42
  validateEvent: boolean;
43
- options: import('./src/checkbox.vue').CheckboxOption[];
43
+ options: import('..').CheckboxOption[];
44
44
  tag: string;
45
45
  textColor: string;
46
46
  }>;
47
47
  __isFragment?: never;
48
48
  __isTeleport?: never;
49
49
  __isSuspense?: never;
50
- } & import('vue').ComponentOptionsBase<Readonly<import('./src/checkbox.vue').CheckboxProps> & Readonly<{
50
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').CheckboxProps> & Readonly<{
51
51
  "onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
52
52
  onChange?: ((value: string[]) => any) | undefined;
53
53
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -64,7 +64,7 @@ declare const JCheckbox: {
64
64
  max: number;
65
65
  min: number;
66
66
  validateEvent: boolean;
67
- options: import('./src/checkbox.vue').CheckboxOption[];
67
+ options: import('..').CheckboxOption[];
68
68
  tag: string;
69
69
  textColor: string;
70
70
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
@@ -1,5 +1,5 @@
1
1
  declare const JCodeMirror: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/code-mirror.vue').CodeMirrorProps> & Readonly<{
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CodeMirrorProps> & Readonly<{
3
3
  onChange?: ((data: {
4
4
  value: string;
5
5
  }) => any) | undefined;
@@ -29,7 +29,7 @@ declare const JCodeMirror: {
29
29
  C: {};
30
30
  M: {};
31
31
  Defaults: {};
32
- }, Readonly<import('./src/code-mirror.vue').CodeMirrorProps> & Readonly<{
32
+ }, Readonly<import('..').CodeMirrorProps> & Readonly<{
33
33
  onChange?: ((data: {
34
34
  value: string;
35
35
  }) => any) | undefined;
@@ -48,7 +48,7 @@ declare const JCodeMirror: {
48
48
  __isFragment?: never;
49
49
  __isTeleport?: never;
50
50
  __isSuspense?: never;
51
- } & import('vue').ComponentOptionsBase<Readonly<import('./src/code-mirror.vue').CodeMirrorProps> & Readonly<{
51
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').CodeMirrorProps> & Readonly<{
52
52
  onChange?: ((data: {
53
53
  value: string;
54
54
  }) => any) | undefined;
@@ -29,7 +29,7 @@ declare const JComp: {
29
29
  default: undefined;
30
30
  };
31
31
  children: {
32
- type: import('vue').PropType<import('./src/comp.vue').SchemaRuntimeConfig[]>;
32
+ type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
33
33
  default: () => never[];
34
34
  };
35
35
  }>> & Readonly<{
@@ -42,7 +42,7 @@ declare const JComp: {
42
42
  type: string;
43
43
  id: string;
44
44
  modelValue: string | number | boolean | any[] | Record<string, any>;
45
- children: import('./src/comp.vue').SchemaRuntimeConfig[];
45
+ children: import('..').SchemaRuntimeConfig[];
46
46
  row: Record<string, any>;
47
47
  getCompType: Function;
48
48
  config: Record<string, any>;
@@ -84,7 +84,7 @@ declare const JComp: {
84
84
  default: undefined;
85
85
  };
86
86
  children: {
87
- type: import('vue').PropType<import('./src/comp.vue').SchemaRuntimeConfig[]>;
87
+ type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
88
88
  default: () => never[];
89
89
  };
90
90
  }>> & Readonly<{
@@ -94,7 +94,7 @@ declare const JComp: {
94
94
  type: string;
95
95
  id: string;
96
96
  modelValue: string | number | boolean | any[] | Record<string, any>;
97
- children: import('./src/comp.vue').SchemaRuntimeConfig[];
97
+ children: import('..').SchemaRuntimeConfig[];
98
98
  row: Record<string, any>;
99
99
  getCompType: Function;
100
100
  config: Record<string, any>;
@@ -133,7 +133,7 @@ declare const JComp: {
133
133
  default: undefined;
134
134
  };
135
135
  children: {
136
- type: import('vue').PropType<import('./src/comp.vue').SchemaRuntimeConfig[]>;
136
+ type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
137
137
  default: () => never[];
138
138
  };
139
139
  }>> & Readonly<{
@@ -146,7 +146,7 @@ declare const JComp: {
146
146
  type: string;
147
147
  id: string;
148
148
  modelValue: string | number | boolean | any[] | Record<string, any>;
149
- children: import('./src/comp.vue').SchemaRuntimeConfig[];
149
+ children: import('..').SchemaRuntimeConfig[];
150
150
  row: Record<string, any>;
151
151
  getCompType: Function;
152
152
  config: Record<string, any>;
@@ -0,0 +1,73 @@
1
+ declare const JCount: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CountProps> & Readonly<{
3
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
4
+ onChange?: ((data: {
5
+ value: number | string;
6
+ data: string | number;
7
+ }) => any) | undefined;
8
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (value: string | number) => any;
10
+ change: (data: {
11
+ value: number | string;
12
+ data: string | number;
13
+ }) => any;
14
+ }, import('vue').PublicProps, {
15
+ size: "large" | "default" | "small";
16
+ modelValue: number | string;
17
+ formatJson: string;
18
+ decimal: number;
19
+ thousandSeparator: boolean;
20
+ isChinese: boolean;
21
+ tableIndex: number;
22
+ getData: () => any;
23
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
24
+ P: {};
25
+ B: {};
26
+ D: {};
27
+ C: {};
28
+ M: {};
29
+ Defaults: {};
30
+ }, Readonly<import('..').CountProps> & Readonly<{
31
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
32
+ onChange?: ((data: {
33
+ value: number | string;
34
+ data: string | number;
35
+ }) => any) | undefined;
36
+ }>, {}, {}, {}, {}, {
37
+ size: "large" | "default" | "small";
38
+ modelValue: number | string;
39
+ formatJson: string;
40
+ decimal: number;
41
+ thousandSeparator: boolean;
42
+ isChinese: boolean;
43
+ tableIndex: number;
44
+ getData: () => any;
45
+ }>;
46
+ __isFragment?: never;
47
+ __isTeleport?: never;
48
+ __isSuspense?: never;
49
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').CountProps> & Readonly<{
50
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
51
+ onChange?: ((data: {
52
+ value: number | string;
53
+ data: string | number;
54
+ }) => any) | undefined;
55
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
+ "update:modelValue": (value: string | number) => any;
57
+ change: (data: {
58
+ value: number | string;
59
+ data: string | number;
60
+ }) => any;
61
+ }, string, {
62
+ size: "large" | "default" | "small";
63
+ modelValue: number | string;
64
+ formatJson: string;
65
+ decimal: number;
66
+ thousandSeparator: boolean;
67
+ isChinese: boolean;
68
+ tableIndex: number;
69
+ getData: () => any;
70
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
71
+ install: (app: import('vue').App) => void;
72
+ };
73
+ export default JCount;
@@ -0,0 +1,41 @@
1
+ export interface CountProps {
2
+ /** 计算的值 */
3
+ modelValue?: number | string;
4
+ /** 计算公式设置 */
5
+ formatJson?: string;
6
+ /** 保留小数位数 */
7
+ decimal?: number;
8
+ /** 是否千位分隔 */
9
+ thousandSeparator?: boolean;
10
+ /** 是否大写 */
11
+ isChinese?: boolean;
12
+ /** 子表的行下标 */
13
+ tableIndex?: number;
14
+ /** 组件数据 */
15
+ getData?: () => any;
16
+ /** 尺寸 */
17
+ size?: 'large' | 'default' | 'small';
18
+ }
19
+ declare const _default: import('vue').DefineComponent<CountProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:modelValue": (value: string | number) => any;
21
+ change: (data: {
22
+ value: number | string;
23
+ data: string | number;
24
+ }) => any;
25
+ }, string, import('vue').PublicProps, Readonly<CountProps> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
27
+ onChange?: ((data: {
28
+ value: number | string;
29
+ data: string | number;
30
+ }) => any) | undefined;
31
+ }>, {
32
+ size: "large" | "default" | "small";
33
+ modelValue: number | string;
34
+ formatJson: string;
35
+ decimal: number;
36
+ thousandSeparator: boolean;
37
+ isChinese: boolean;
38
+ tableIndex: number;
39
+ getData: () => any;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ export default _default;
@@ -0,0 +1,87 @@
1
+ declare const JCountUp: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CountUpProps> & Readonly<{}>, {
3
+ myProps: import('vue').ComputedRef<{
4
+ endValue: string | number;
5
+ animation: boolean;
6
+ startValue: number;
7
+ decimals: number;
8
+ duration: number;
9
+ options: Record<string, any>;
10
+ callback: ((countUp: any) => void) | undefined;
11
+ }>;
12
+ el: import('vue').Ref<any, any>;
13
+ init: () => void;
14
+ start: (callback?: (arg0: any) => any) => void;
15
+ pauseResume: () => void;
16
+ reset: () => void;
17
+ update: (newEndVal: any) => void;
18
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
19
+ options: Record<string, any>;
20
+ animation: boolean;
21
+ startValue: number;
22
+ decimals: number;
23
+ duration: number;
24
+ callback: (countUp: any) => void;
25
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
26
+ el: HTMLSpanElement;
27
+ }, HTMLSpanElement, import('vue').ComponentProvideOptions, {
28
+ P: {};
29
+ B: {};
30
+ D: {};
31
+ C: {};
32
+ M: {};
33
+ Defaults: {};
34
+ }, Readonly<import('..').CountUpProps> & Readonly<{}>, {
35
+ myProps: import('vue').ComputedRef<{
36
+ endValue: string | number;
37
+ animation: boolean;
38
+ startValue: number;
39
+ decimals: number;
40
+ duration: number;
41
+ options: Record<string, any>;
42
+ callback: ((countUp: any) => void) | undefined;
43
+ }>;
44
+ el: import('vue').Ref<any, any>;
45
+ init: () => void;
46
+ start: (callback?: (arg0: any) => any) => void;
47
+ pauseResume: () => void;
48
+ reset: () => void;
49
+ update: (newEndVal: any) => void;
50
+ }, {}, {}, {}, {
51
+ options: Record<string, any>;
52
+ animation: boolean;
53
+ startValue: number;
54
+ decimals: number;
55
+ duration: number;
56
+ callback: (countUp: any) => void;
57
+ }>;
58
+ __isFragment?: never;
59
+ __isTeleport?: never;
60
+ __isSuspense?: never;
61
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').CountUpProps> & Readonly<{}>, {
62
+ myProps: import('vue').ComputedRef<{
63
+ endValue: string | number;
64
+ animation: boolean;
65
+ startValue: number;
66
+ decimals: number;
67
+ duration: number;
68
+ options: Record<string, any>;
69
+ callback: ((countUp: any) => void) | undefined;
70
+ }>;
71
+ el: import('vue').Ref<any, any>;
72
+ init: () => void;
73
+ start: (callback?: (arg0: any) => any) => void;
74
+ pauseResume: () => void;
75
+ reset: () => void;
76
+ update: (newEndVal: any) => void;
77
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
78
+ options: Record<string, any>;
79
+ animation: boolean;
80
+ startValue: number;
81
+ decimals: number;
82
+ duration: number;
83
+ callback: (countUp: any) => void;
84
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
85
+ install: (app: import('vue').App) => void;
86
+ };
87
+ export default JCountUp;
@@ -0,0 +1,43 @@
1
+ export interface CountUpProps {
2
+ /** 是否有动画渲染 */
3
+ animation?: boolean;
4
+ /** 开始显示值 */
5
+ startValue?: number;
6
+ /** 最终显示值,必填 */
7
+ endValue: string | number;
8
+ /** 小数点 */
9
+ decimals?: number;
10
+ /** 动画时间,秒 */
11
+ duration?: number;
12
+ /** 配置参数,参考countup.js */
13
+ options?: Record<string, any>;
14
+ /** 动画结束回调方法 */
15
+ callback?: (countUp: any) => void;
16
+ }
17
+ declare const _default: import('vue').DefineComponent<CountUpProps, {
18
+ myProps: import('vue').ComputedRef<{
19
+ endValue: string | number;
20
+ animation: boolean;
21
+ startValue: number;
22
+ decimals: number;
23
+ duration: number;
24
+ options: Record<string, any>;
25
+ callback: ((countUp: any) => void) | undefined;
26
+ }>;
27
+ el: import('vue').Ref<any, any>;
28
+ init: () => void;
29
+ start: (callback?: (arg0: any) => any) => void;
30
+ pauseResume: () => void;
31
+ reset: () => void;
32
+ update: (newEndVal: any) => void;
33
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CountUpProps> & Readonly<{}>, {
34
+ options: Record<string, any>;
35
+ animation: boolean;
36
+ startValue: number;
37
+ decimals: number;
38
+ duration: number;
39
+ callback: (countUp: any) => void;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
41
+ el: HTMLSpanElement;
42
+ }, HTMLSpanElement>;
43
+ export default _default;
@@ -0,0 +1,27 @@
1
+ declare const JDataPanel: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').DataPanelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
3
+ title: string;
4
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
5
+ P: {};
6
+ B: {};
7
+ D: {};
8
+ C: {};
9
+ M: {};
10
+ Defaults: {};
11
+ }, Readonly<import('..').DataPanelProps> & Readonly<{}>, {}, {}, {}, {}, {
12
+ title: string;
13
+ }>;
14
+ __isFragment?: never;
15
+ __isTeleport?: never;
16
+ __isSuspense?: never;
17
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').DataPanelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
18
+ title: string;
19
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
20
+ $slots: {
21
+ titleRight?(_: {}): any;
22
+ default?(_: {}): any;
23
+ };
24
+ }) & {
25
+ install: (app: import('vue').App) => void;
26
+ };
27
+ export default JDataPanel;
@@ -0,0 +1,24 @@
1
+ export interface DataPanelProps {
2
+ /** 标题 */
3
+ title?: string;
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ titleRight?(_: {}): any;
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<DataPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DataPanelProps> & Readonly<{}>, {
16
+ title: string;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };