@a2simcode/ui 0.0.219 → 0.0.221

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.
@@ -61,8 +61,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
61
61
  default: string;
62
62
  };
63
63
  /**
64
- * @zh 自定义按钮
65
- */
64
+ * @zh 自定义按钮
65
+ */
66
66
  actions: {
67
67
  type: PropType<ButtonCompType[]>;
68
68
  default: () => never[];
@@ -137,8 +137,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
137
137
  default: string;
138
138
  };
139
139
  /**
140
- * @zh 自定义按钮
141
- */
140
+ * @zh 自定义按钮
141
+ */
142
142
  actions: {
143
143
  type: PropType<ButtonCompType[]>;
144
144
  default: () => never[];
@@ -5,7 +5,15 @@ export declare const JLayerForm: {
5
5
  default: string;
6
6
  };
7
7
  type: {
8
- type: import('vue').PropType<"primary" | "ghost" | "dashed" | "link" | "text" | "default">;
8
+ type: import('vue').PropType<"primary" | "dashed" | "link" | "text" | "outline" | "default">;
9
+ default: string;
10
+ };
11
+ status: {
12
+ type: import('vue').PropType<"normal" | "success" | "warning" | "danger">;
13
+ default: string;
14
+ };
15
+ label: {
16
+ type: StringConstructor;
9
17
  default: string;
10
18
  };
11
19
  size: {
@@ -38,14 +46,20 @@ export declare const JLayerForm: {
38
46
  type: import('vue').PropType<import('..').SchemaConfig[]>;
39
47
  default: () => never[];
40
48
  };
49
+ row: {
50
+ type: ObjectConstructor;
51
+ default: () => {};
52
+ };
41
53
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
42
54
  size: "small" | "default" | "large";
43
55
  icon: string;
44
- type: "link" | "default" | "text" | "primary" | "dashed" | "ghost";
56
+ type: "link" | "default" | "text" | "primary" | "dashed" | "outline";
57
+ label: string;
58
+ status: "normal" | "success" | "warning" | "danger";
45
59
  layerWidth: number;
46
60
  layerHeight: number;
61
+ row: Record<string, any>;
47
62
  schema: import('..').SchemaConfig[];
48
- layerLabel: string;
49
63
  formConfig: {
50
64
  labelWidth: number;
51
65
  labelPosition: "left" | "right" | "top";
@@ -53,6 +67,7 @@ export declare const JLayerForm: {
53
67
  gutter: number;
54
68
  span: number;
55
69
  };
70
+ layerLabel: string;
56
71
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
57
72
  P: {};
58
73
  B: {};
@@ -66,7 +81,15 @@ export declare const JLayerForm: {
66
81
  default: string;
67
82
  };
68
83
  type: {
69
- type: import('vue').PropType<"primary" | "ghost" | "dashed" | "link" | "text" | "default">;
84
+ type: import('vue').PropType<"primary" | "dashed" | "link" | "text" | "outline" | "default">;
85
+ default: string;
86
+ };
87
+ status: {
88
+ type: import('vue').PropType<"normal" | "success" | "warning" | "danger">;
89
+ default: string;
90
+ };
91
+ label: {
92
+ type: StringConstructor;
70
93
  default: string;
71
94
  };
72
95
  size: {
@@ -99,14 +122,20 @@ export declare const JLayerForm: {
99
122
  type: import('vue').PropType<import('..').SchemaConfig[]>;
100
123
  default: () => never[];
101
124
  };
125
+ row: {
126
+ type: ObjectConstructor;
127
+ default: () => {};
128
+ };
102
129
  }>> & Readonly<{}>, {}, {}, {}, {}, {
103
130
  size: "small" | "default" | "large";
104
131
  icon: string;
105
- type: "link" | "default" | "text" | "primary" | "dashed" | "ghost";
132
+ type: "link" | "default" | "text" | "primary" | "dashed" | "outline";
133
+ label: string;
134
+ status: "normal" | "success" | "warning" | "danger";
106
135
  layerWidth: number;
107
136
  layerHeight: number;
137
+ row: Record<string, any>;
108
138
  schema: import('..').SchemaConfig[];
109
- layerLabel: string;
110
139
  formConfig: {
111
140
  labelWidth: number;
112
141
  labelPosition: "left" | "right" | "top";
@@ -114,6 +143,7 @@ export declare const JLayerForm: {
114
143
  gutter: number;
115
144
  span: number;
116
145
  };
146
+ layerLabel: string;
117
147
  }>;
118
148
  __isFragment?: never;
119
149
  __isTeleport?: never;
@@ -124,7 +154,15 @@ export declare const JLayerForm: {
124
154
  default: string;
125
155
  };
126
156
  type: {
127
- type: import('vue').PropType<"primary" | "ghost" | "dashed" | "link" | "text" | "default">;
157
+ type: import('vue').PropType<"primary" | "dashed" | "link" | "text" | "outline" | "default">;
158
+ default: string;
159
+ };
160
+ status: {
161
+ type: import('vue').PropType<"normal" | "success" | "warning" | "danger">;
162
+ default: string;
163
+ };
164
+ label: {
165
+ type: StringConstructor;
128
166
  default: string;
129
167
  };
130
168
  size: {
@@ -157,14 +195,20 @@ export declare const JLayerForm: {
157
195
  type: import('vue').PropType<import('..').SchemaConfig[]>;
158
196
  default: () => never[];
159
197
  };
198
+ row: {
199
+ type: ObjectConstructor;
200
+ default: () => {};
201
+ };
160
202
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
161
203
  size: "small" | "default" | "large";
162
204
  icon: string;
163
- type: "link" | "default" | "text" | "primary" | "dashed" | "ghost";
205
+ type: "link" | "default" | "text" | "primary" | "dashed" | "outline";
206
+ label: string;
207
+ status: "normal" | "success" | "warning" | "danger";
164
208
  layerWidth: number;
165
209
  layerHeight: number;
210
+ row: Record<string, any>;
166
211
  schema: import('..').SchemaConfig[];
167
- layerLabel: string;
168
212
  formConfig: {
169
213
  labelWidth: number;
170
214
  labelPosition: "left" | "right" | "top";
@@ -172,6 +216,7 @@ export declare const JLayerForm: {
172
216
  gutter: number;
173
217
  span: number;
174
218
  };
219
+ layerLabel: string;
175
220
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
176
221
  install: (app: import('vue').App) => void;
177
222
  };
@@ -0,0 +1,43 @@
1
+ import { SchemaConfig } from '../../comp/src/interface';
2
+ import { PropType } from 'vue';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ schema: {
5
+ type: PropType<SchemaConfig[]>;
6
+ default: () => never[];
7
+ };
8
+ formConfig: {
9
+ type: PropType<{
10
+ labelWidth: number;
11
+ labelPosition: "left" | "right" | "top";
12
+ size: "" | "large" | "default" | "small";
13
+ gutter: number;
14
+ span: number;
15
+ }>;
16
+ default: () => {};
17
+ };
18
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
+ schema: {
20
+ type: PropType<SchemaConfig[]>;
21
+ default: () => never[];
22
+ };
23
+ formConfig: {
24
+ type: PropType<{
25
+ labelWidth: number;
26
+ labelPosition: "left" | "right" | "top";
27
+ size: "" | "large" | "default" | "small";
28
+ gutter: number;
29
+ span: number;
30
+ }>;
31
+ default: () => {};
32
+ };
33
+ }>> & Readonly<{}>, {
34
+ schema: SchemaConfig[];
35
+ formConfig: {
36
+ labelWidth: number;
37
+ labelPosition: "left" | "right" | "top";
38
+ size: "" | "large" | "default" | "small";
39
+ gutter: number;
40
+ span: number;
41
+ };
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
43
+ export default _default;
@@ -13,7 +13,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
13
13
  * @defaultValue 'default'
14
14
  */
15
15
  type: {
16
- type: PropType<"primary" | "ghost" | "dashed" | "link" | "text" | "default">;
16
+ type: PropType<"primary" | "dashed" | "link" | "text" | "outline" | "default">;
17
+ default: string;
18
+ };
19
+ /**
20
+ * @zh 设置按钮状态
21
+ * @defaultValue 'normal'
22
+ */
23
+ status: {
24
+ type: PropType<"normal" | "success" | "warning" | "danger">;
25
+ default: string;
26
+ };
27
+ /**
28
+ * @zh 设置按钮标签
29
+ */
30
+ label: {
31
+ type: StringConstructor;
17
32
  default: string;
18
33
  };
19
34
  /**
@@ -65,6 +80,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
65
80
  type: PropType<SchemaConfig[]>;
66
81
  default: () => never[];
67
82
  };
83
+ /**
84
+ * @zh 表单行配置
85
+ */
86
+ row: {
87
+ type: ObjectConstructor;
88
+ default: () => {};
89
+ };
68
90
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
69
91
  /**
70
92
  * @zh 按钮图标
@@ -78,7 +100,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
78
100
  * @defaultValue 'default'
79
101
  */
80
102
  type: {
81
- type: PropType<"primary" | "ghost" | "dashed" | "link" | "text" | "default">;
103
+ type: PropType<"primary" | "dashed" | "link" | "text" | "outline" | "default">;
104
+ default: string;
105
+ };
106
+ /**
107
+ * @zh 设置按钮状态
108
+ * @defaultValue 'normal'
109
+ */
110
+ status: {
111
+ type: PropType<"normal" | "success" | "warning" | "danger">;
112
+ default: string;
113
+ };
114
+ /**
115
+ * @zh 设置按钮标签
116
+ */
117
+ label: {
118
+ type: StringConstructor;
82
119
  default: string;
83
120
  };
84
121
  /**
@@ -130,14 +167,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
130
167
  type: PropType<SchemaConfig[]>;
131
168
  default: () => never[];
132
169
  };
170
+ /**
171
+ * @zh 表单行配置
172
+ */
173
+ row: {
174
+ type: ObjectConstructor;
175
+ default: () => {};
176
+ };
133
177
  }>> & Readonly<{}>, {
134
178
  size: "small" | "default" | "large";
135
179
  icon: string;
136
- type: "link" | "default" | "text" | "primary" | "dashed" | "ghost";
180
+ type: "link" | "default" | "text" | "primary" | "dashed" | "outline";
181
+ label: string;
182
+ status: "normal" | "success" | "warning" | "danger";
137
183
  layerWidth: number;
138
184
  layerHeight: number;
185
+ row: Record<string, any>;
139
186
  schema: SchemaConfig[];
140
- layerLabel: string;
141
187
  formConfig: {
142
188
  labelWidth: number;
143
189
  labelPosition: "left" | "right" | "top";
@@ -145,5 +191,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
145
191
  gutter: number;
146
192
  span: number;
147
193
  };
194
+ layerLabel: string;
148
195
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
149
196
  export default _default;
@@ -70,6 +70,10 @@ declare const JTable: {
70
70
  type: StringConstructor;
71
71
  default: string;
72
72
  };
73
+ rowDrag: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
73
77
  actions: {
74
78
  type: import('vue').PropType<import('..').ButtonCompType[]>;
75
79
  default: () => never[];
@@ -211,6 +215,7 @@ declare const JTable: {
211
215
  tablePage: number;
212
216
  pageSize: number;
213
217
  rowKey: string;
218
+ rowDrag: boolean;
214
219
  actions: import('..').ButtonCompType[];
215
220
  actionFilter: (params: {
216
221
  action: import('..').ButtonCompType;
@@ -315,6 +320,10 @@ declare const JTable: {
315
320
  type: StringConstructor;
316
321
  default: string;
317
322
  };
323
+ rowDrag: {
324
+ type: BooleanConstructor;
325
+ default: boolean;
326
+ };
318
327
  actions: {
319
328
  type: import('vue').PropType<import('..').ButtonCompType[]>;
320
329
  default: () => never[];
@@ -431,6 +440,7 @@ declare const JTable: {
431
440
  tablePage: number;
432
441
  pageSize: number;
433
442
  rowKey: string;
443
+ rowDrag: boolean;
434
444
  actions: import('..').ButtonCompType[];
435
445
  actionFilter: (params: {
436
446
  action: import('..').ButtonCompType;
@@ -530,6 +540,10 @@ declare const JTable: {
530
540
  type: StringConstructor;
531
541
  default: string;
532
542
  };
543
+ rowDrag: {
544
+ type: BooleanConstructor;
545
+ default: boolean;
546
+ };
533
547
  actions: {
534
548
  type: import('vue').PropType<import('..').ButtonCompType[]>;
535
549
  default: () => never[];
@@ -671,6 +685,7 @@ declare const JTable: {
671
685
  tablePage: number;
672
686
  pageSize: number;
673
687
  rowKey: string;
688
+ rowDrag: boolean;
674
689
  actions: import('..').ButtonCompType[];
675
690
  actionFilter: (params: {
676
691
  action: import('..').ButtonCompType;
@@ -0,0 +1,52 @@
1
+ import { PropType } from 'vue';
2
+ import { SchemaConfig } from '../../comp/src/interface';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ schema: {
5
+ type: PropType<SchemaConfig[]>;
6
+ default: () => never[];
7
+ };
8
+ formConfig: {
9
+ type: PropType<{
10
+ labelWidth: number;
11
+ labelPosition: "left" | "right" | "top";
12
+ size: "" | "large" | "default" | "small";
13
+ gutter: number;
14
+ span: number;
15
+ }>;
16
+ default: () => {};
17
+ };
18
+ rowData: {
19
+ type: PropType<Record<string, any>>;
20
+ default: () => {};
21
+ };
22
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
23
+ schema: {
24
+ type: PropType<SchemaConfig[]>;
25
+ default: () => never[];
26
+ };
27
+ formConfig: {
28
+ type: PropType<{
29
+ labelWidth: number;
30
+ labelPosition: "left" | "right" | "top";
31
+ size: "" | "large" | "default" | "small";
32
+ gutter: number;
33
+ span: number;
34
+ }>;
35
+ default: () => {};
36
+ };
37
+ rowData: {
38
+ type: PropType<Record<string, any>>;
39
+ default: () => {};
40
+ };
41
+ }>> & Readonly<{}>, {
42
+ schema: SchemaConfig[];
43
+ formConfig: {
44
+ labelWidth: number;
45
+ labelPosition: "left" | "right" | "top";
46
+ size: "" | "large" | "default" | "small";
47
+ gutter: number;
48
+ span: number;
49
+ };
50
+ rowData: Record<string, any>;
51
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
52
+ export default _default;
@@ -125,6 +125,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
125
125
  type: StringConstructor;
126
126
  default: string;
127
127
  };
128
+ /**
129
+ * @zh 是否支持行拖动排序
130
+ */
131
+ rowDrag: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
128
135
  /**
129
136
  * @zh 行内操作按钮配置
130
137
  */
@@ -388,6 +395,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
388
395
  type: StringConstructor;
389
396
  default: string;
390
397
  };
398
+ /**
399
+ * @zh 是否支持行拖动排序
400
+ */
401
+ rowDrag: {
402
+ type: BooleanConstructor;
403
+ default: boolean;
404
+ };
391
405
  /**
392
406
  * @zh 行内操作按钮配置
393
407
  */
@@ -539,6 +553,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
539
553
  tablePage: number;
540
554
  pageSize: number;
541
555
  rowKey: string;
556
+ rowDrag: boolean;
542
557
  actions: ButtonCompType[];
543
558
  actionFilter: (params: {
544
559
  action: ButtonCompType;