@tachybase/test 0.23.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.
- package/.turbo/turbo-build.log +24 -0
- package/LICENSE +201 -0
- package/client.d.ts +1 -0
- package/client.js +1 -0
- package/e2e.d.ts +1 -0
- package/e2e.js +1 -0
- package/es/client/index.d.ts +7 -0
- package/es/client/index.mjs +20 -0
- package/es/e2e/defineConfig.d.ts +2 -0
- package/es/e2e/e2eUtils.d.ts +298 -0
- package/es/e2e/index.d.ts +3 -0
- package/es/e2e/index.mjs +20547 -0
- package/es/e2e/templatesOfCollection.d.ts +41 -0
- package/es/e2e/templatesOfPage.d.ts +573 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +223 -0
- package/es/scripts/test-db-creator.d.ts +1 -0
- package/es/scripts/test-db-distributor.d.ts +1 -0
- package/es/server/index.d.ts +17 -0
- package/es/server/mockServer.d.ts +75 -0
- package/lib/client/index.d.ts +7 -0
- package/lib/client/index.js +59 -0
- package/lib/e2e/defineConfig.d.ts +2 -0
- package/lib/e2e/defineConfig.js +78 -0
- package/lib/e2e/e2eUtils.d.ts +298 -0
- package/lib/e2e/e2eUtils.js +633 -0
- package/lib/e2e/index.d.ts +3 -0
- package/lib/e2e/index.js +25 -0
- package/lib/e2e/templatesOfCollection.d.ts +41 -0
- package/lib/e2e/templatesOfCollection.js +720 -0
- package/lib/e2e/templatesOfPage.d.ts +573 -0
- package/lib/e2e/templatesOfPage.js +19345 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +21 -0
- package/lib/scripts/test-db-creator.d.ts +1 -0
- package/lib/scripts/test-db-creator.js +163 -0
- package/lib/scripts/test-db-distributor.d.ts +1 -0
- package/lib/scripts/test-db-distributor.js +234 -0
- package/lib/server/index.d.ts +17 -0
- package/lib/server/index.js +105 -0
- package/lib/server/mockServer.d.ts +75 -0
- package/lib/server/mockServer.js +209 -0
- package/package.json +74 -0
- package/playwright/tests/auth.setup.ts +21 -0
- package/server.d.ts +1 -0
- package/server.js +1 -0
- package/setup/client.ts +69 -0
- package/setup/server.ts +5 -0
- package/vitest.d.ts +24 -0
- package/vitest.mjs +119 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CollectionSetting } from './e2eUtils';
|
|
2
|
+
/**
|
|
3
|
+
* 创建一个名为 general 的 collection,其包含所有类型的字段
|
|
4
|
+
*/
|
|
5
|
+
export declare const general: CollectionSetting[];
|
|
6
|
+
/**
|
|
7
|
+
* 创建一个名为 general 的 collection,其包含所有 basic 类型的字段
|
|
8
|
+
*/
|
|
9
|
+
export declare const generalWithBasic: CollectionSetting[];
|
|
10
|
+
/**
|
|
11
|
+
* 创建一个名为 general 的 collection,其包含所有 choices 类型的字段
|
|
12
|
+
*/
|
|
13
|
+
export declare const generalWithChoices: CollectionSetting[];
|
|
14
|
+
/**
|
|
15
|
+
* 创建一个名为 general 的 collection,其包含所有 media 类型的字段
|
|
16
|
+
*/
|
|
17
|
+
export declare const generalWithMedia: CollectionSetting[];
|
|
18
|
+
/**
|
|
19
|
+
* 创建一个名为 general 的 collection,其包含所有 datetime 类型的字段
|
|
20
|
+
*/
|
|
21
|
+
export declare const generalWithDatetime: CollectionSetting[];
|
|
22
|
+
/**
|
|
23
|
+
* 创建一个名为 general 的 collection,其包含所有 relation 类型的字段
|
|
24
|
+
*/
|
|
25
|
+
export declare const generalWithAssociation: CollectionSetting[];
|
|
26
|
+
/**
|
|
27
|
+
* 创建一个名为 general 的 collection,其包含所有 advanced 类型的字段
|
|
28
|
+
*/
|
|
29
|
+
export declare const generalWithAdvanced: CollectionSetting[];
|
|
30
|
+
/**
|
|
31
|
+
* 创建一个名为 general 的 collection,其包含所有 systemInfo 类型的字段
|
|
32
|
+
*/
|
|
33
|
+
export declare const generalWithSystemInfo: CollectionSetting[];
|
|
34
|
+
export declare const generalWithSingleLineText: CollectionSetting[];
|
|
35
|
+
/**
|
|
36
|
+
* 1. 创建一个名为 general 的 collection,其包含 m2o / o2m / single select 类型的字段
|
|
37
|
+
*/
|
|
38
|
+
export declare const generalWithM2oSingleSelect: CollectionSetting[];
|
|
39
|
+
export declare const tree: CollectionSetting[];
|
|
40
|
+
export declare const generalWithMultiLevelM2oFields: CollectionSetting[];
|
|
41
|
+
export declare const generalWithMultiLevelM2mFields: CollectionSetting[];
|
|
@@ -0,0 +1,573 @@
|
|
|
1
|
+
import { PageConfig } from './e2eUtils';
|
|
2
|
+
/**
|
|
3
|
+
* 一个空的 group 页面
|
|
4
|
+
*/
|
|
5
|
+
export declare const groupPageEmpty: PageConfig;
|
|
6
|
+
/**
|
|
7
|
+
* 一个空的 link 页面
|
|
8
|
+
*/
|
|
9
|
+
export declare const linkPage: PageConfig;
|
|
10
|
+
/**
|
|
11
|
+
* 一个空的且启用 tabs 的 page 页面
|
|
12
|
+
*/
|
|
13
|
+
export declare const tabPageEmpty: PageConfig;
|
|
14
|
+
/**
|
|
15
|
+
* 1. 一个数据表,且拥有一个对一的关系字段
|
|
16
|
+
* 2. 一个 Table 卡片,且基于上面的 collection
|
|
17
|
+
*/
|
|
18
|
+
export declare const oneEmptyTable: PageConfig;
|
|
19
|
+
/**
|
|
20
|
+
* 1. 页面中有一个空的 Form 卡片
|
|
21
|
+
*/
|
|
22
|
+
export declare const oneEmptyForm: PageConfig;
|
|
23
|
+
export declare const oneEmptyFormWithActions: PageConfig;
|
|
24
|
+
/**
|
|
25
|
+
* 1. 页面中有一个空的 Details 卡片
|
|
26
|
+
*/
|
|
27
|
+
export declare const oneEmptyDetailsBlock: PageConfig;
|
|
28
|
+
/**
|
|
29
|
+
* 1. 页面中有一个空的 List 卡片
|
|
30
|
+
*/
|
|
31
|
+
export declare const oneEmptyListBlock: PageConfig;
|
|
32
|
+
/**
|
|
33
|
+
* 1. 页面中有一个空的 Grid Card 卡片
|
|
34
|
+
*/
|
|
35
|
+
export declare const oneEmptyGridCardBlock: PageConfig;
|
|
36
|
+
/**
|
|
37
|
+
* 1. 页面中有一个空的 Filter Form 卡片
|
|
38
|
+
*/
|
|
39
|
+
export declare const oneEmptyFilterFormBlock: PageConfig;
|
|
40
|
+
/**
|
|
41
|
+
* 1. 页面中有一个空的 Filter Collapse 卡片
|
|
42
|
+
*/
|
|
43
|
+
export declare const oneEmptyFilterCollapseBlock: PageConfig;
|
|
44
|
+
/**
|
|
45
|
+
* 页面中有一个空的 Table 卡片,并且有这些按钮:Add new / Delete / Refresh / Add record / Filter / view / edit / delete / duplicate
|
|
46
|
+
*/
|
|
47
|
+
export declare const oneEmptyTableBlockWithActions: PageConfig;
|
|
48
|
+
/**
|
|
49
|
+
* 页面中有一个 Table 卡片,并且有这些按钮:Add new / Delete / Refresh / Add record / Filter / view / edit / delete / duplicate;
|
|
50
|
+
* 1. 其中 Add new 弹窗中有一个新增表单卡片;
|
|
51
|
+
* 2. 其中 view 弹窗中有一个详情表单卡片;
|
|
52
|
+
* 3. 其中 edit 弹窗中有一个编辑表单卡片;
|
|
53
|
+
*/
|
|
54
|
+
export declare const oneTableBlockWithActionsAndFormBlocks: PageConfig;
|
|
55
|
+
/**
|
|
56
|
+
* 一个空的 Table 卡片,并且有这些按钮:Bulk edit
|
|
57
|
+
*/
|
|
58
|
+
export declare const oneEmptyTableBlockWithCustomizeActions: PageConfig;
|
|
59
|
+
/**
|
|
60
|
+
* 一个基于 Users 表的 Form 卡片,且有一个 Roles 字段,并且是数据选择器模式
|
|
61
|
+
*/
|
|
62
|
+
export declare const oneFormBlockWithRolesFieldBasedUsers: PageConfig;
|
|
63
|
+
/**
|
|
64
|
+
* 一个 Form 卡片,包含所有的关系字段,且都是数据选择器模式
|
|
65
|
+
*/
|
|
66
|
+
export declare const oneFormBlockWithAllAssociationFieldsAndSelectorMode: PageConfig;
|
|
67
|
+
/**
|
|
68
|
+
* 页面中有一个详情卡片,且有一个名为 toGeneral 的关系字段(m2o),指向 General 表
|
|
69
|
+
*/
|
|
70
|
+
export declare const oneDetailBlockWithM2oFieldToGeneral: PageConfig;
|
|
71
|
+
/**
|
|
72
|
+
* 1. 一个 Table 卡片
|
|
73
|
+
* 2. 点击 Add new 有一个 Form 卡片
|
|
74
|
+
* 3. 点击 View 有一个 Details 卡片
|
|
75
|
+
* 4. 点击 Edit 有一个 Form 卡片
|
|
76
|
+
* 5. 所有字段都是 basic 字段
|
|
77
|
+
*/
|
|
78
|
+
export declare const oneTableBlockWithAddNewAndViewAndEditAndBasicFields: PageConfig;
|
|
79
|
+
/**
|
|
80
|
+
* 1. 一个 Table 卡片
|
|
81
|
+
* 2. 点击 Add new 有一个 Form 卡片,里面有一个 sub-table 字段
|
|
82
|
+
* 3. 点击 View 有一个 Details 卡片,里面有一个 sub-table 字段
|
|
83
|
+
* 4. 点击 Edit 有一个 Form 卡片,里面有一个 sub-table 字段
|
|
84
|
+
* 5. sub-table 中的所有字段都是 basic 字段
|
|
85
|
+
*/
|
|
86
|
+
export declare const oneTableBlockWithAddNewAndViewAndEditAndBasicFieldsAndSubTable: PageConfig;
|
|
87
|
+
/**
|
|
88
|
+
* 1. 一个 Table 卡片
|
|
89
|
+
* 2. 点击 Add new 有一个 Form 卡片
|
|
90
|
+
* 3. 点击 View 有一个 Details 卡片
|
|
91
|
+
* 4. 点击 Edit 有一个 Form 卡片
|
|
92
|
+
* 5. 所有字段都是 choices 字段
|
|
93
|
+
*/
|
|
94
|
+
export declare const oneTableBlockWithAddNewAndViewAndEditAndChoicesFields: PageConfig;
|
|
95
|
+
/**
|
|
96
|
+
* 1. 一个 Table 卡片
|
|
97
|
+
* 2. 点击 Add new 有一个 Form 卡片
|
|
98
|
+
* 3. 点击 View 有一个 Details 卡片
|
|
99
|
+
* 4. 点击 Edit 有一个 Form 卡片
|
|
100
|
+
* 5. 所有字段都是 media 字段
|
|
101
|
+
*/
|
|
102
|
+
export declare const oneTableBlockWithAddNewAndViewAndEditAndMediaFields: PageConfig;
|
|
103
|
+
/**
|
|
104
|
+
* 1. 一个 Table 卡片
|
|
105
|
+
* 2. 点击 Add new 有一个 Form 卡片
|
|
106
|
+
* 3. 点击 View 有一个 Details 卡片
|
|
107
|
+
* 4. 点击 Edit 有一个 Form 卡片
|
|
108
|
+
* 5. 所有字段都是 datetime 字段
|
|
109
|
+
*/
|
|
110
|
+
export declare const oneTableBlockWithAddNewAndViewAndEditAndDatetimeFields: PageConfig;
|
|
111
|
+
/**
|
|
112
|
+
* 1. 一个 Table 卡片
|
|
113
|
+
* 2. 点击 Add new 有一个 Form 卡片
|
|
114
|
+
* 3. 点击 View 有一个 Details 卡片
|
|
115
|
+
* 4. 点击 Edit 有一个 Form 卡片
|
|
116
|
+
* 5. 所有字段都是 relation 字段
|
|
117
|
+
*/
|
|
118
|
+
export declare const oneTableBlockWithAddNewAndViewAndEditAndAssociationFields: PageConfig;
|
|
119
|
+
/**
|
|
120
|
+
* 页面中有一个 filter form 卡片,包含所有关系字段类型的字段
|
|
121
|
+
*/
|
|
122
|
+
export declare const oneFilterFormBlockWithAllAssociationFields: PageConfig;
|
|
123
|
+
/**
|
|
124
|
+
* 1. 一个 Table 卡片
|
|
125
|
+
* 2. 点击 Add new 有一个 Form 卡片
|
|
126
|
+
* 3. 点击 View 有一个 Details 卡片
|
|
127
|
+
* 4. 点击 Edit 有一个 Form 卡片
|
|
128
|
+
* 5. 所有字段都是 advanced 字段
|
|
129
|
+
*/
|
|
130
|
+
export declare const oneTableBlockWithAddNewAndViewAndEditAndAdvancedFields: PageConfig;
|
|
131
|
+
/**
|
|
132
|
+
* 1. 一个 Table 卡片
|
|
133
|
+
* 2. 点击 Add new 有一个 Form 卡片
|
|
134
|
+
* 3. 点击 View 有一个 Details 卡片
|
|
135
|
+
* 4. 点击 Edit 有一个 Form 卡片
|
|
136
|
+
* 5. 所有字段都是 systemInfo 字段
|
|
137
|
+
*/
|
|
138
|
+
export declare const oneTableBlockWithAddNewAndViewAndEditAndSystemInfoFields: PageConfig;
|
|
139
|
+
export declare const oneEmptyTableWithTreeCollection: PageConfig;
|
|
140
|
+
export declare const oneEmptyMarkdown: PageConfig;
|
|
141
|
+
/**
|
|
142
|
+
* 一个 collapse block 和一个 table block 且它们的数据表相同
|
|
143
|
+
*/
|
|
144
|
+
export declare const oneCollapseAndOneTableWithSameCollection: PageConfig;
|
|
145
|
+
/**
|
|
146
|
+
* 一个包含多层级关系字段的表单卡片
|
|
147
|
+
*/
|
|
148
|
+
export declare const oneFormWithMultiLevelAssociationFields: PageConfig;
|
|
149
|
+
/**
|
|
150
|
+
* 一个包含多层级关系字段的子表单卡片,并包含在一个表单卡片中
|
|
151
|
+
*/
|
|
152
|
+
export declare const oneSubformWithMultiLevelAssociationFields: PageConfig;
|
|
153
|
+
/**
|
|
154
|
+
* 一个包含多层级关系字段的子表单卡片,并包含在一个表单卡片中,该卡片存在于一个编辑弹窗中
|
|
155
|
+
*/
|
|
156
|
+
export declare const oneTableSubformWithMultiLevelAssociationFields: PageConfig;
|
|
157
|
+
/**
|
|
158
|
+
* 一个包含多层级关系字段的子表格卡片,并包含在一个表单卡片中,该卡片存在于一个编辑弹窗中
|
|
159
|
+
*/
|
|
160
|
+
export declare const oneTableSubtableWithMultiLevelAssociationFields: PageConfig;
|
|
161
|
+
/**
|
|
162
|
+
* 一个 table block,在点击 add new 打开的弹窗中,有一个 form block,其文本字段设置了一个使用了 `当前表单` 变量的默认值
|
|
163
|
+
*/
|
|
164
|
+
export declare const formBlockDefaultValueTemplate: PageConfig;
|
|
165
|
+
/**
|
|
166
|
+
* 一个基于 users 表创建的表单卡片
|
|
167
|
+
*/
|
|
168
|
+
export declare const oneFormBlockBasedOnUsers: PageConfig;
|
|
169
|
+
/**
|
|
170
|
+
* 一个表单和一个表格,且使用同一个数据表创建
|
|
171
|
+
*/
|
|
172
|
+
export declare const oneFormAndOneTableWithSameCollection: PageConfig;
|
|
173
|
+
/**
|
|
174
|
+
* 一个空页面,且有两个 tab 子页面,用于测试拖拽 tab 标签
|
|
175
|
+
*/
|
|
176
|
+
export declare const twoTabsPage: {
|
|
177
|
+
pageSchema: {
|
|
178
|
+
'x-uid': string;
|
|
179
|
+
_isJSONSchemaObject: boolean;
|
|
180
|
+
version: string;
|
|
181
|
+
type: string;
|
|
182
|
+
'x-component': string;
|
|
183
|
+
'x-component-props': {
|
|
184
|
+
enablePageTabs: boolean;
|
|
185
|
+
};
|
|
186
|
+
properties: {
|
|
187
|
+
bi8ep3svjee: {
|
|
188
|
+
'x-uid': string;
|
|
189
|
+
_isJSONSchemaObject: boolean;
|
|
190
|
+
version: string;
|
|
191
|
+
type: string;
|
|
192
|
+
'x-component': string;
|
|
193
|
+
'x-initializer': string;
|
|
194
|
+
title: string;
|
|
195
|
+
'x-async': boolean;
|
|
196
|
+
'x-index': number;
|
|
197
|
+
};
|
|
198
|
+
rw91udnzpr3: {
|
|
199
|
+
_isJSONSchemaObject: boolean;
|
|
200
|
+
version: string;
|
|
201
|
+
type: string;
|
|
202
|
+
title: string;
|
|
203
|
+
'x-component': string;
|
|
204
|
+
'x-initializer': string;
|
|
205
|
+
'x-uid': string;
|
|
206
|
+
'x-async': boolean;
|
|
207
|
+
'x-index': number;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
'x-async': boolean;
|
|
211
|
+
'x-index': number;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* 页面中有两个 table block,且它们的数据表相同
|
|
216
|
+
*/
|
|
217
|
+
export declare const twoTableWithSameCollection: PageConfig;
|
|
218
|
+
/**
|
|
219
|
+
* 页面中有两个 table block,且它们的数据表之间相互关联
|
|
220
|
+
*/
|
|
221
|
+
export declare const twoTableWithAssociationFields: PageConfig;
|
|
222
|
+
/**
|
|
223
|
+
* 页面中有两个 table block,且它们的数据表之间通过外键关联
|
|
224
|
+
*/
|
|
225
|
+
export declare const twoTableWithForeignKey: PageConfig;
|
|
226
|
+
/**
|
|
227
|
+
* 一个空的 table block,且基于 users 表创建
|
|
228
|
+
*/
|
|
229
|
+
export declare const oneEmptyTableBlockBasedOnUsers: {
|
|
230
|
+
pageSchema: {
|
|
231
|
+
_isJSONSchemaObject: boolean;
|
|
232
|
+
version: string;
|
|
233
|
+
type: string;
|
|
234
|
+
'x-component': string;
|
|
235
|
+
properties: {
|
|
236
|
+
'3r0yxum84w2': {
|
|
237
|
+
_isJSONSchemaObject: boolean;
|
|
238
|
+
version: string;
|
|
239
|
+
type: string;
|
|
240
|
+
'x-component': string;
|
|
241
|
+
'x-initializer': string;
|
|
242
|
+
properties: {
|
|
243
|
+
vduni5v1u2v: {
|
|
244
|
+
_isJSONSchemaObject: boolean;
|
|
245
|
+
version: string;
|
|
246
|
+
type: string;
|
|
247
|
+
'x-component': string;
|
|
248
|
+
properties: {
|
|
249
|
+
qwrauugqc1k: {
|
|
250
|
+
_isJSONSchemaObject: boolean;
|
|
251
|
+
version: string;
|
|
252
|
+
type: string;
|
|
253
|
+
'x-component': string;
|
|
254
|
+
properties: {
|
|
255
|
+
'92vs3ej14vo': {
|
|
256
|
+
_isJSONSchemaObject: boolean;
|
|
257
|
+
version: string;
|
|
258
|
+
type: string;
|
|
259
|
+
'x-decorator': string;
|
|
260
|
+
'x-acl-action': string;
|
|
261
|
+
'x-decorator-props': {
|
|
262
|
+
collection: string;
|
|
263
|
+
resource: string;
|
|
264
|
+
action: string;
|
|
265
|
+
params: {
|
|
266
|
+
pageSize: number;
|
|
267
|
+
};
|
|
268
|
+
rowKey: string;
|
|
269
|
+
showIndex: boolean;
|
|
270
|
+
dragSort: boolean;
|
|
271
|
+
disableTemplate: boolean;
|
|
272
|
+
};
|
|
273
|
+
'x-designer': string;
|
|
274
|
+
'x-component': string;
|
|
275
|
+
'x-filter-targets': any[];
|
|
276
|
+
properties: {
|
|
277
|
+
actions: {
|
|
278
|
+
_isJSONSchemaObject: boolean;
|
|
279
|
+
version: string;
|
|
280
|
+
type: string;
|
|
281
|
+
'x-initializer': string;
|
|
282
|
+
'x-component': string;
|
|
283
|
+
'x-component-props': {
|
|
284
|
+
style: {
|
|
285
|
+
marginBottom: string;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
'x-uid': string;
|
|
289
|
+
'x-async': boolean;
|
|
290
|
+
'x-index': number;
|
|
291
|
+
};
|
|
292
|
+
vlkh4fiq98e: {
|
|
293
|
+
_isJSONSchemaObject: boolean;
|
|
294
|
+
version: string;
|
|
295
|
+
type: string;
|
|
296
|
+
'x-initializer': string;
|
|
297
|
+
'x-component': string;
|
|
298
|
+
'x-component-props': {
|
|
299
|
+
rowKey: string;
|
|
300
|
+
rowSelection: {
|
|
301
|
+
type: string;
|
|
302
|
+
};
|
|
303
|
+
useProps: string;
|
|
304
|
+
};
|
|
305
|
+
properties: {
|
|
306
|
+
actions: {
|
|
307
|
+
_isJSONSchemaObject: boolean;
|
|
308
|
+
version: string;
|
|
309
|
+
type: string;
|
|
310
|
+
title: string;
|
|
311
|
+
'x-action-column': string;
|
|
312
|
+
'x-decorator': string;
|
|
313
|
+
'x-component': string;
|
|
314
|
+
'x-designer': string;
|
|
315
|
+
'x-initializer': string;
|
|
316
|
+
properties: {
|
|
317
|
+
actions: {
|
|
318
|
+
_isJSONSchemaObject: boolean;
|
|
319
|
+
version: string;
|
|
320
|
+
type: string;
|
|
321
|
+
'x-decorator': string;
|
|
322
|
+
'x-component': string;
|
|
323
|
+
'x-component-props': {
|
|
324
|
+
split: string;
|
|
325
|
+
};
|
|
326
|
+
'x-uid': string;
|
|
327
|
+
'x-async': boolean;
|
|
328
|
+
'x-index': number;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
'x-uid': string;
|
|
332
|
+
'x-async': boolean;
|
|
333
|
+
'x-index': number;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
'x-uid': string;
|
|
337
|
+
'x-async': boolean;
|
|
338
|
+
'x-index': number;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
'x-uid': string;
|
|
342
|
+
'x-async': boolean;
|
|
343
|
+
'x-index': number;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
'x-uid': string;
|
|
347
|
+
'x-async': boolean;
|
|
348
|
+
'x-index': number;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
'x-uid': string;
|
|
352
|
+
'x-async': boolean;
|
|
353
|
+
'x-index': number;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
'x-uid': string;
|
|
357
|
+
'x-async': boolean;
|
|
358
|
+
'x-index': number;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
'x-uid': string;
|
|
362
|
+
'x-async': boolean;
|
|
363
|
+
'x-index': number;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* 用于测试 table 行的 checkbox
|
|
368
|
+
*/
|
|
369
|
+
export declare const checkboxForTableRow: {
|
|
370
|
+
collections: {
|
|
371
|
+
name: string;
|
|
372
|
+
title: string;
|
|
373
|
+
fields: {
|
|
374
|
+
name: string;
|
|
375
|
+
interface: string;
|
|
376
|
+
}[];
|
|
377
|
+
}[];
|
|
378
|
+
pageSchema: {
|
|
379
|
+
_isJSONSchemaObject: boolean;
|
|
380
|
+
version: string;
|
|
381
|
+
type: string;
|
|
382
|
+
'x-component': string;
|
|
383
|
+
properties: {
|
|
384
|
+
nrwnyusnbrd: {
|
|
385
|
+
_isJSONSchemaObject: boolean;
|
|
386
|
+
version: string;
|
|
387
|
+
type: string;
|
|
388
|
+
'x-component': string;
|
|
389
|
+
'x-initializer': string;
|
|
390
|
+
properties: {
|
|
391
|
+
w85tu6tnlfp: {
|
|
392
|
+
_isJSONSchemaObject: boolean;
|
|
393
|
+
version: string;
|
|
394
|
+
type: string;
|
|
395
|
+
'x-component': string;
|
|
396
|
+
properties: {
|
|
397
|
+
q9vljapijwj: {
|
|
398
|
+
_isJSONSchemaObject: boolean;
|
|
399
|
+
version: string;
|
|
400
|
+
type: string;
|
|
401
|
+
'x-component': string;
|
|
402
|
+
properties: {
|
|
403
|
+
zia3dyel3jr: {
|
|
404
|
+
_isJSONSchemaObject: boolean;
|
|
405
|
+
version: string;
|
|
406
|
+
type: string;
|
|
407
|
+
'x-decorator': string;
|
|
408
|
+
'x-acl-action': string;
|
|
409
|
+
'x-decorator-props': {
|
|
410
|
+
collection: string;
|
|
411
|
+
resource: string;
|
|
412
|
+
action: string;
|
|
413
|
+
params: {
|
|
414
|
+
pageSize: number;
|
|
415
|
+
};
|
|
416
|
+
rowKey: string;
|
|
417
|
+
showIndex: boolean;
|
|
418
|
+
dragSort: boolean;
|
|
419
|
+
disableTemplate: boolean;
|
|
420
|
+
};
|
|
421
|
+
'x-designer': string;
|
|
422
|
+
'x-component': string;
|
|
423
|
+
'x-filter-targets': any[];
|
|
424
|
+
properties: {
|
|
425
|
+
actions: {
|
|
426
|
+
_isJSONSchemaObject: boolean;
|
|
427
|
+
version: string;
|
|
428
|
+
type: string;
|
|
429
|
+
'x-initializer': string;
|
|
430
|
+
'x-component': string;
|
|
431
|
+
'x-component-props': {
|
|
432
|
+
style: {
|
|
433
|
+
marginBottom: string;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
properties: {
|
|
437
|
+
'5210td4a1ms': {
|
|
438
|
+
_isJSONSchemaObject: boolean;
|
|
439
|
+
version: string;
|
|
440
|
+
title: string;
|
|
441
|
+
'x-action': string;
|
|
442
|
+
'x-component': string;
|
|
443
|
+
'x-designer': string;
|
|
444
|
+
'x-decorator': string;
|
|
445
|
+
'x-acl-action-props': {
|
|
446
|
+
skipScopeCheck: boolean;
|
|
447
|
+
};
|
|
448
|
+
'x-component-props': {
|
|
449
|
+
icon: string;
|
|
450
|
+
confirm: {
|
|
451
|
+
title: string;
|
|
452
|
+
content: string;
|
|
453
|
+
};
|
|
454
|
+
useProps: string;
|
|
455
|
+
};
|
|
456
|
+
'x-acl-action': string;
|
|
457
|
+
'x-align': string;
|
|
458
|
+
type: string;
|
|
459
|
+
'x-uid': string;
|
|
460
|
+
'x-async': boolean;
|
|
461
|
+
'x-index': number;
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
'x-uid': string;
|
|
465
|
+
'x-async': boolean;
|
|
466
|
+
'x-index': number;
|
|
467
|
+
};
|
|
468
|
+
k88f9zdl4k1: {
|
|
469
|
+
_isJSONSchemaObject: boolean;
|
|
470
|
+
version: string;
|
|
471
|
+
type: string;
|
|
472
|
+
'x-initializer': string;
|
|
473
|
+
'x-component': string;
|
|
474
|
+
'x-component-props': {
|
|
475
|
+
rowKey: string;
|
|
476
|
+
rowSelection: {
|
|
477
|
+
type: string;
|
|
478
|
+
};
|
|
479
|
+
useProps: string;
|
|
480
|
+
};
|
|
481
|
+
properties: {
|
|
482
|
+
actions: {
|
|
483
|
+
_isJSONSchemaObject: boolean;
|
|
484
|
+
version: string;
|
|
485
|
+
type: string;
|
|
486
|
+
title: string;
|
|
487
|
+
'x-action-column': string;
|
|
488
|
+
'x-decorator': string;
|
|
489
|
+
'x-component': string;
|
|
490
|
+
'x-designer': string;
|
|
491
|
+
'x-initializer': string;
|
|
492
|
+
properties: {
|
|
493
|
+
actions: {
|
|
494
|
+
_isJSONSchemaObject: boolean;
|
|
495
|
+
version: string;
|
|
496
|
+
type: string;
|
|
497
|
+
'x-decorator': string;
|
|
498
|
+
'x-component': string;
|
|
499
|
+
'x-component-props': {
|
|
500
|
+
split: string;
|
|
501
|
+
};
|
|
502
|
+
'x-uid': string;
|
|
503
|
+
'x-async': boolean;
|
|
504
|
+
'x-index': number;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
'x-uid': string;
|
|
508
|
+
'x-async': boolean;
|
|
509
|
+
'x-index': number;
|
|
510
|
+
};
|
|
511
|
+
wwn0ajwixxl: {
|
|
512
|
+
_isJSONSchemaObject: boolean;
|
|
513
|
+
version: string;
|
|
514
|
+
type: string;
|
|
515
|
+
'x-decorator': string;
|
|
516
|
+
'x-designer': string;
|
|
517
|
+
'x-component': string;
|
|
518
|
+
properties: {
|
|
519
|
+
f_vbrlno0zej9: {
|
|
520
|
+
_isJSONSchemaObject: boolean;
|
|
521
|
+
version: string;
|
|
522
|
+
'x-collection-field': string;
|
|
523
|
+
'x-component': string;
|
|
524
|
+
'x-component-props': {
|
|
525
|
+
ellipsis: boolean;
|
|
526
|
+
};
|
|
527
|
+
'x-read-pretty': boolean;
|
|
528
|
+
'x-decorator': any;
|
|
529
|
+
'x-decorator-props': {
|
|
530
|
+
labelStyle: {
|
|
531
|
+
display: string;
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
'x-uid': string;
|
|
535
|
+
'x-async': boolean;
|
|
536
|
+
'x-index': number;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
'x-uid': string;
|
|
540
|
+
'x-async': boolean;
|
|
541
|
+
'x-index': number;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
'x-uid': string;
|
|
545
|
+
'x-async': boolean;
|
|
546
|
+
'x-index': number;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
'x-uid': string;
|
|
550
|
+
'x-async': boolean;
|
|
551
|
+
'x-index': number;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
'x-uid': string;
|
|
555
|
+
'x-async': boolean;
|
|
556
|
+
'x-index': number;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
'x-uid': string;
|
|
560
|
+
'x-async': boolean;
|
|
561
|
+
'x-index': number;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
'x-uid': string;
|
|
565
|
+
'x-async': boolean;
|
|
566
|
+
'x-index': number;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
'x-uid': string;
|
|
570
|
+
'x-async': boolean;
|
|
571
|
+
'x-index': number;
|
|
572
|
+
};
|
|
573
|
+
};
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './server';
|