@a2simcode/ui 0.0.166 → 0.0.167
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.
- package/dist/components/input-rows/index.d.ts +15 -0
- package/dist/components/input-rows/src/input-rows.vue.d.ts +16 -0
- package/dist/simcode-ui.es.js +363 -356
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/meta/input-rows.ts +119 -113
- package/docs/examples/form/basic.vue +41 -4
- package/package.json +1 -1
|
@@ -32,6 +32,10 @@ export declare const JInputRows: {
|
|
|
32
32
|
type: StringConstructor;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
|
+
actions: {
|
|
36
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
37
|
+
default: () => never[];
|
|
38
|
+
};
|
|
35
39
|
}>> & Readonly<{
|
|
36
40
|
"onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
37
41
|
onChange?: ((data: {
|
|
@@ -58,6 +62,7 @@ export declare const JInputRows: {
|
|
|
58
62
|
id: string;
|
|
59
63
|
modelValue: Record<string, any>[];
|
|
60
64
|
columns: import('..').SchemaConfig[];
|
|
65
|
+
actions: import('..').ButtonCompType[];
|
|
61
66
|
editConfig: import('.').EditConfigType;
|
|
62
67
|
isWrap: boolean;
|
|
63
68
|
isCompact: boolean;
|
|
@@ -105,6 +110,10 @@ export declare const JInputRows: {
|
|
|
105
110
|
type: StringConstructor;
|
|
106
111
|
default: string;
|
|
107
112
|
};
|
|
113
|
+
actions: {
|
|
114
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
115
|
+
default: () => never[];
|
|
116
|
+
};
|
|
108
117
|
}>> & Readonly<{
|
|
109
118
|
"onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
110
119
|
onChange?: ((data: {
|
|
@@ -120,6 +129,7 @@ export declare const JInputRows: {
|
|
|
120
129
|
id: string;
|
|
121
130
|
modelValue: Record<string, any>[];
|
|
122
131
|
columns: import('..').SchemaConfig[];
|
|
132
|
+
actions: import('..').ButtonCompType[];
|
|
123
133
|
editConfig: import('.').EditConfigType;
|
|
124
134
|
isWrap: boolean;
|
|
125
135
|
isCompact: boolean;
|
|
@@ -162,6 +172,10 @@ export declare const JInputRows: {
|
|
|
162
172
|
type: StringConstructor;
|
|
163
173
|
default: string;
|
|
164
174
|
};
|
|
175
|
+
actions: {
|
|
176
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
177
|
+
default: () => never[];
|
|
178
|
+
};
|
|
165
179
|
}>> & Readonly<{
|
|
166
180
|
"onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
167
181
|
onChange?: ((data: {
|
|
@@ -188,6 +202,7 @@ export declare const JInputRows: {
|
|
|
188
202
|
id: string;
|
|
189
203
|
modelValue: Record<string, any>[];
|
|
190
204
|
columns: import('..').SchemaConfig[];
|
|
205
|
+
actions: import('..').ButtonCompType[];
|
|
191
206
|
editConfig: import('.').EditConfigType;
|
|
192
207
|
isWrap: boolean;
|
|
193
208
|
isCompact: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ButtonCompType } from '../../buttons/src/interface';
|
|
1
2
|
import { EditConfigType } from './interface';
|
|
2
3
|
import { SchemaConfig } from '../../comp/src/interface';
|
|
3
4
|
import { PropType } from 'vue';
|
|
@@ -59,6 +60,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
59
60
|
type: StringConstructor;
|
|
60
61
|
default: string;
|
|
61
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* @zh 自定义按钮
|
|
65
|
+
*/
|
|
66
|
+
actions: {
|
|
67
|
+
type: PropType<ButtonCompType[]>;
|
|
68
|
+
default: () => never[];
|
|
69
|
+
};
|
|
62
70
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
71
|
"update:modelValue": (value: Record<string, any>[]) => any;
|
|
64
72
|
change: (data: {
|
|
@@ -128,6 +136,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
128
136
|
type: StringConstructor;
|
|
129
137
|
default: string;
|
|
130
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* @zh 自定义按钮
|
|
141
|
+
*/
|
|
142
|
+
actions: {
|
|
143
|
+
type: PropType<ButtonCompType[]>;
|
|
144
|
+
default: () => never[];
|
|
145
|
+
};
|
|
131
146
|
}>> & Readonly<{
|
|
132
147
|
"onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
133
148
|
onChange?: ((data: {
|
|
@@ -143,6 +158,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
143
158
|
id: string;
|
|
144
159
|
modelValue: Record<string, any>[];
|
|
145
160
|
columns: SchemaConfig[];
|
|
161
|
+
actions: ButtonCompType[];
|
|
146
162
|
editConfig: EditConfigType;
|
|
147
163
|
isWrap: boolean;
|
|
148
164
|
isCompact: boolean;
|