@a2simcode/ui 0.0.171 → 0.0.172

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,7 +9,7 @@ declare const JButton: {
9
9
  }, import('vue').PublicProps, {
10
10
  size: "large" | "default" | "small";
11
11
  icon: string;
12
- type: "primary" | "dashed" | "link" | "text" | "default";
12
+ type: "primary" | "success" | "dashed" | "link" | "text" | "default";
13
13
  label: string;
14
14
  shape: "default" | "circle" | "round";
15
15
  ghost: boolean;
@@ -42,7 +42,7 @@ declare const JButton: {
42
42
  }, {}, {}, {}, {
43
43
  size: "large" | "default" | "small";
44
44
  icon: string;
45
- type: "primary" | "dashed" | "link" | "text" | "default";
45
+ type: "primary" | "success" | "dashed" | "link" | "text" | "default";
46
46
  label: string;
47
47
  shape: "default" | "circle" | "round";
48
48
  ghost: boolean;
@@ -72,7 +72,7 @@ declare const JButton: {
72
72
  }, string, {
73
73
  size: "large" | "default" | "small";
74
74
  icon: string;
75
- type: "primary" | "dashed" | "link" | "text" | "default";
75
+ type: "primary" | "success" | "dashed" | "link" | "text" | "default";
76
76
  label: string;
77
77
  shape: "default" | "circle" | "round";
78
78
  ghost: boolean;
@@ -1,6 +1,6 @@
1
1
  export interface ButtonProps {
2
- /** 按钮的类型,分为五种:主要按钮、幽灵按钮、虚框按钮、链接按钮、文字按钮、次要按钮 */
3
- type?: 'primary' | 'dashed' | 'link' | 'text' | 'default';
2
+ /** 按钮的类型 */
3
+ type?: 'primary' | 'success' | 'dashed' | 'link' | 'text' | 'default';
4
4
  /** 设置按钮大小 */
5
5
  size?: 'large' | 'default' | 'small';
6
6
  /** 设置按钮形状 */
@@ -53,7 +53,7 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {
53
53
  }>, {
54
54
  size: "large" | "default" | "small";
55
55
  icon: string;
56
- type: "primary" | "dashed" | "link" | "text" | "default";
56
+ type: "primary" | "success" | "dashed" | "link" | "text" | "default";
57
57
  label: string;
58
58
  shape: "default" | "circle" | "round";
59
59
  ghost: boolean;
@@ -2,7 +2,7 @@ export interface InputButtonProps {
2
2
  /** 输入值 */
3
3
  modelValue?: string | Record<string, any>;
4
4
  /** 按钮的类型,分为五种:主要按钮、幽灵按钮、虚框按钮、链接按钮、文字按钮、次要按钮 */
5
- type?: 'primary' | 'ghost' | 'dashed' | 'link' | 'text' | 'default';
5
+ type?: 'primary' | 'success' | 'ghost' | 'dashed' | 'link' | 'text' | 'default';
6
6
  /** 弹窗类型,弹窗、全屏弹窗、抽屉 */
7
7
  layerType?: 'model' | 'full' | 'drawer';
8
8
  /** 设置按钮文字 */
@@ -2,7 +2,7 @@ export interface InputCodeProps {
2
2
  /** 输入值 */
3
3
  modelValue?: string;
4
4
  /** 按钮的类型,分为五种:主要按钮、幽灵按钮、虚框按钮、链接按钮、文字按钮、次要按钮 */
5
- type?: 'primary' | 'ghost' | 'dashed' | 'link' | 'text' | 'default';
5
+ type?: 'primary' | 'success' | 'ghost' | 'dashed' | 'link' | 'text' | 'default';
6
6
  /** 脚本类型 */
7
7
  mode?: string;
8
8
  /** 按钮文字 */
@@ -2,15 +2,15 @@ export declare const JSliderCaptcha: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
3
  modelValue?: boolean;
4
4
  } & import('./src/types').SliderCaptchaProps> & Readonly<{
5
+ onSuccess?: ((args_0: import('./src/types').CaptchaVerifyPassingData) => any) | undefined;
5
6
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
6
7
  onMove?: ((args_0: import('./src/types').SliderRotateVerifyPassingData) => any) | undefined;
7
- onSuccess?: ((args_0: import('./src/types').CaptchaVerifyPassingData) => any) | undefined;
8
8
  onStart?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
9
9
  onEnd?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ success: (args_0: import('./src/types').CaptchaVerifyPassingData) => any;
11
12
  "update:modelValue": (value: boolean) => any;
12
13
  move: (args_0: import('./src/types').SliderRotateVerifyPassingData) => any;
13
- success: (args_0: import('./src/types').CaptchaVerifyPassingData) => any;
14
14
  start: (args_0: MouseEvent | TouchEvent) => any;
15
15
  end: (args_0: MouseEvent | TouchEvent) => any;
16
16
  }, import('vue').PublicProps, {
@@ -138,9 +138,9 @@ export declare const JSliderCaptcha: {
138
138
  }, Readonly<{
139
139
  modelValue?: boolean;
140
140
  } & import('./src/types').SliderCaptchaProps> & Readonly<{
141
+ onSuccess?: ((args_0: import('./src/types').CaptchaVerifyPassingData) => any) | undefined;
141
142
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
142
143
  onMove?: ((args_0: import('./src/types').SliderRotateVerifyPassingData) => any) | undefined;
143
- onSuccess?: ((args_0: import('./src/types').CaptchaVerifyPassingData) => any) | undefined;
144
144
  onStart?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
145
145
  onEnd?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
146
146
  }>, {}, {}, {}, {}, {
@@ -157,15 +157,15 @@ export declare const JSliderCaptcha: {
157
157
  } & import('vue').ComponentOptionsBase<Readonly<{
158
158
  modelValue?: boolean;
159
159
  } & import('./src/types').SliderCaptchaProps> & Readonly<{
160
+ onSuccess?: ((args_0: import('./src/types').CaptchaVerifyPassingData) => any) | undefined;
160
161
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
161
162
  onMove?: ((args_0: import('./src/types').SliderRotateVerifyPassingData) => any) | undefined;
162
- onSuccess?: ((args_0: import('./src/types').CaptchaVerifyPassingData) => any) | undefined;
163
163
  onStart?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
164
164
  onEnd?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
165
165
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
166
+ success: (args_0: import('./src/types').CaptchaVerifyPassingData) => any;
166
167
  "update:modelValue": (value: boolean) => any;
167
168
  move: (args_0: import('./src/types').SliderRotateVerifyPassingData) => any;
168
- success: (args_0: import('./src/types').CaptchaVerifyPassingData) => any;
169
169
  start: (args_0: MouseEvent | TouchEvent) => any;
170
170
  end: (args_0: MouseEvent | TouchEvent) => any;
171
171
  }, string, {
@@ -4,15 +4,15 @@ type __VLS_PublicProps = {
4
4
  modelValue?: boolean;
5
5
  } & __VLS_Props;
6
6
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ success: (args_0: CaptchaVerifyPassingData) => any;
7
8
  "update:modelValue": (value: boolean) => any;
8
9
  move: (args_0: SliderRotateVerifyPassingData) => any;
9
- success: (args_0: CaptchaVerifyPassingData) => any;
10
10
  start: (args_0: MouseEvent | TouchEvent) => any;
11
11
  end: (args_0: MouseEvent | TouchEvent) => any;
12
12
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ onSuccess?: ((args_0: CaptchaVerifyPassingData) => any) | undefined;
13
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
15
  onMove?: ((args_0: SliderRotateVerifyPassingData) => any) | undefined;
15
- onSuccess?: ((args_0: CaptchaVerifyPassingData) => any) | undefined;
16
16
  onStart?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
17
17
  onEnd?: ((args_0: MouseEvent | TouchEvent) => any) | undefined;
18
18
  }>, {
@@ -91,20 +91,20 @@ declare const JUpload: {
91
91
  };
92
92
  }>> & Readonly<{
93
93
  onDelete?: ((...args: any[]) => any) | undefined;
94
+ onSuccess?: ((...args: any[]) => any) | undefined;
94
95
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
95
96
  onChange?: ((...args: any[]) => any) | undefined;
96
97
  onError?: ((...args: any[]) => any) | undefined;
97
98
  onLoad?: ((...args: any[]) => any) | undefined;
98
- onSuccess?: ((...args: any[]) => any) | undefined;
99
99
  onStart?: ((...args: any[]) => any) | undefined;
100
100
  onNotUploadChange?: ((...args: any[]) => any) | undefined;
101
101
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
102
102
  delete: (...args: any[]) => void;
103
+ success: (...args: any[]) => void;
103
104
  "update:modelValue": (...args: any[]) => void;
104
105
  change: (...args: any[]) => void;
105
106
  error: (...args: any[]) => void;
106
107
  load: (...args: any[]) => void;
107
- success: (...args: any[]) => void;
108
108
  start: (...args: any[]) => void;
109
109
  notUploadChange: (...args: any[]) => void;
110
110
  }, import('vue').PublicProps, {
@@ -232,11 +232,11 @@ declare const JUpload: {
232
232
  };
233
233
  }>> & Readonly<{
234
234
  onDelete?: ((...args: any[]) => any) | undefined;
235
+ onSuccess?: ((...args: any[]) => any) | undefined;
235
236
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
236
237
  onChange?: ((...args: any[]) => any) | undefined;
237
238
  onError?: ((...args: any[]) => any) | undefined;
238
239
  onLoad?: ((...args: any[]) => any) | undefined;
239
- onSuccess?: ((...args: any[]) => any) | undefined;
240
240
  onStart?: ((...args: any[]) => any) | undefined;
241
241
  onNotUploadChange?: ((...args: any[]) => any) | undefined;
242
242
  }>, {}, {}, {}, {}, {
@@ -359,20 +359,20 @@ declare const JUpload: {
359
359
  };
360
360
  }>> & Readonly<{
361
361
  onDelete?: ((...args: any[]) => any) | undefined;
362
+ onSuccess?: ((...args: any[]) => any) | undefined;
362
363
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
363
364
  onChange?: ((...args: any[]) => any) | undefined;
364
365
  onError?: ((...args: any[]) => any) | undefined;
365
366
  onLoad?: ((...args: any[]) => any) | undefined;
366
- onSuccess?: ((...args: any[]) => any) | undefined;
367
367
  onStart?: ((...args: any[]) => any) | undefined;
368
368
  onNotUploadChange?: ((...args: any[]) => any) | undefined;
369
369
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
370
370
  delete: (...args: any[]) => void;
371
+ success: (...args: any[]) => void;
371
372
  "update:modelValue": (...args: any[]) => void;
372
373
  change: (...args: any[]) => void;
373
374
  error: (...args: any[]) => void;
374
375
  load: (...args: any[]) => void;
375
- success: (...args: any[]) => void;
376
376
  start: (...args: any[]) => void;
377
377
  notUploadChange: (...args: any[]) => void;
378
378
  }, string, {
@@ -161,11 +161,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
161
161
  };
162
162
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
163
163
  delete: (...args: any[]) => void;
164
+ success: (...args: any[]) => void;
164
165
  "update:modelValue": (...args: any[]) => void;
165
166
  change: (...args: any[]) => void;
166
167
  error: (...args: any[]) => void;
167
168
  load: (...args: any[]) => void;
168
- success: (...args: any[]) => void;
169
169
  start: (...args: any[]) => void;
170
170
  notUploadChange: (...args: any[]) => void;
171
171
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -330,11 +330,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
330
330
  };
331
331
  }>> & Readonly<{
332
332
  onDelete?: ((...args: any[]) => any) | undefined;
333
+ onSuccess?: ((...args: any[]) => any) | undefined;
333
334
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
334
335
  onChange?: ((...args: any[]) => any) | undefined;
335
336
  onError?: ((...args: any[]) => any) | undefined;
336
337
  onLoad?: ((...args: any[]) => any) | undefined;
337
- onSuccess?: ((...args: any[]) => any) | undefined;
338
338
  onStart?: ((...args: any[]) => any) | undefined;
339
339
  onNotUploadChange?: ((...args: any[]) => any) | undefined;
340
340
  }>, {
@@ -186,6 +186,7 @@ var Xt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
186
186
  type: "button",
187
187
  class: Ue(["j-button", {
188
188
  "j-button-primary": e.type == "primary",
189
+ "j-button-success": e.type == "success",
189
190
  "j-button-default": e.type == "default",
190
191
  "j-button-dashed": e.type == "dashed",
191
192
  "j-button-link": e.type == "link",