szld-libs 0.3.86 → 0.3.88

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/lib/mock/index.js CHANGED
@@ -4,112 +4,366 @@ const baseAttrList = [];
4
4
  const attrList = [
5
5
  {
6
6
  xh: 1,
7
- asid: "2FD08E801868439EA44CC593CA27F745",
7
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
8
8
  astype: 0,
9
- tname: "jy_table2_time",
10
- attrid: "6A5984BD547449088172BD33F2A965E8",
11
- attrname: "预定日期",
9
+ tname: "gg_table",
10
+ attrid: "BB5FFD9EC1034781BC3E89FEFD78879C",
11
+ attrname: "姓名",
12
12
  attrtype: 0,
13
- info: '{"input":"range-picker","range-picker-save":"range","dataType":"string","length":100,"disable-date-goover":true,"must":true}',
13
+ info: '{"input":"text","dataType":"string","length":20,"must":true,"regexp":"/^[A-Za-z]+$/","regexp-message":"请输入英文字母"}',
14
14
  info_base64: 0,
15
- createtime: "2026-02-11 14:27:16",
15
+ createtime: "2026-01-05 21:25:49",
16
16
  attrvalue: "",
17
17
  serialnum: 1,
18
18
  children: [],
19
19
  json: {
20
- input: "range-picker",
21
- "range-picker-save": "range",
20
+ input: "text",
21
+ dataType: "string",
22
+ length: 20,
23
+ must: true,
24
+ regexp: "/^[A-Za-z]+$/",
25
+ "regexp-message": "请输入英文字母"
26
+ }
27
+ },
28
+ {
29
+ xh: 2,
30
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
31
+ astype: 0,
32
+ tname: "gg_table",
33
+ attrid: "799FBD4386A04D8198FC7F33B120F68E",
34
+ attrname: "品种",
35
+ attrtype: 0,
36
+ info: '{"input":"text","dataType":"string","length":100}',
37
+ info_base64: 0,
38
+ createtime: "2026-01-05 21:26:01",
39
+ attrvalue: "",
40
+ serialnum: 2,
41
+ children: [],
42
+ json: {
43
+ input: "text",
44
+ dataType: "string",
45
+ length: 100
46
+ }
47
+ },
48
+ {
49
+ xh: 3,
50
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
51
+ astype: 0,
52
+ tname: "gg_table",
53
+ attrid: "B1B10494F9A949CCBD26567A597E8DAE",
54
+ attrname: "重量",
55
+ attrtype: 0,
56
+ info: '{"input":"text","dataType":"string","length":3,"combination":true,"combination-id":1,"combination-name":"重量","combination-width-ratio":0.7,"must":true}',
57
+ info_base64: 0,
58
+ createtime: "2026-01-05 21:26:13",
59
+ attrvalue: "",
60
+ serialnum: 3,
61
+ children: [],
62
+ json: {
63
+ input: "text",
64
+ dataType: "string",
65
+ length: 3,
66
+ combination: true,
67
+ "combination-id": 1,
68
+ "combination-name": "重量",
69
+ "combination-width-ratio": 0.7,
70
+ must: true,
71
+ combinations: [
72
+ {
73
+ xh: 3,
74
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
75
+ astype: 0,
76
+ tname: "gg_table",
77
+ attrid: "B1B10494F9A949CCBD26567A597E8DAE",
78
+ attrname: "重量",
79
+ attrtype: 0,
80
+ info: '{"input":"text","dataType":"string","length":3,"combination":true,"combination-id":1,"combination-name":"重量","combination-width-ratio":0.7,"must":true}',
81
+ info_base64: 0,
82
+ createtime: "2026-01-05 21:26:13",
83
+ attrvalue: "",
84
+ serialnum: 3,
85
+ children: [],
86
+ json: {
87
+ input: "text",
88
+ dataType: "string",
89
+ length: 3,
90
+ combination: true,
91
+ "combination-id": 1,
92
+ "combination-name": "重量",
93
+ "combination-width-ratio": 0.7,
94
+ must: true
95
+ }
96
+ },
97
+ {
98
+ xh: 4,
99
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
100
+ astype: 0,
101
+ tname: "gg_table",
102
+ attrid: "A3CB9307DED6493382C78E065F3C6A99",
103
+ attrname: "单位",
104
+ attrtype: 0,
105
+ info: '{"input":"select","dataType":"string","length":100,"inputType":"local","default":"5000008-1","combination":true,"combination-id":1,"combination-name":"重量","combination-width-ratio":0.3,"must":true,"options":[{"label":"磅","value":"5000008-1"},{"label":"斤","value":"5000008-2"}]}',
106
+ info_base64: 0,
107
+ createtime: "2026-01-05 21:27:16",
108
+ attrvalue: "",
109
+ serialnum: 4,
110
+ children: [],
111
+ json: {
112
+ input: "select",
113
+ dataType: "string",
114
+ length: 100,
115
+ inputType: "local",
116
+ default: "5000008-1",
117
+ combination: true,
118
+ "combination-id": 1,
119
+ "combination-name": "重量",
120
+ "combination-width-ratio": 0.3,
121
+ must: true,
122
+ options: [
123
+ {
124
+ label: "磅",
125
+ value: "5000008-1"
126
+ },
127
+ {
128
+ label: "斤",
129
+ value: "5000008-2"
130
+ }
131
+ ]
132
+ }
133
+ }
134
+ ]
135
+ }
136
+ },
137
+ {
138
+ xh: 5,
139
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
140
+ astype: 0,
141
+ tname: "gg_table",
142
+ attrid: "F0999F269D3C4425A59A883442055C5C",
143
+ attrname: "性别",
144
+ attrtype: 0,
145
+ info: '{"input":"radio","dataType":"string","length":100,"inputType":"local","options":[{"label":"公","value":"5000014-1"},{"label":"母","value":"5000014-2"}]}',
146
+ info_base64: 0,
147
+ createtime: "2026-01-05 21:28:11",
148
+ attrvalue: "",
149
+ serialnum: 5,
150
+ children: [],
151
+ json: {
152
+ input: "radio",
153
+ dataType: "string",
154
+ length: 100,
155
+ inputType: "local",
156
+ options: [
157
+ {
158
+ label: "公",
159
+ value: "5000014-1"
160
+ },
161
+ {
162
+ label: "母",
163
+ value: "5000014-2"
164
+ }
165
+ ]
166
+ }
167
+ },
168
+ {
169
+ xh: 6,
170
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
171
+ astype: 0,
172
+ tname: "gg_table",
173
+ attrid: "4986EE62B15E4C0197A1E073E098CCAF",
174
+ attrname: "是否绝育",
175
+ attrtype: 0,
176
+ info: '{"input":"radio","dataType":"string","length":100,"inputType":"local","must":true,"options":[{"label":"是","value":"5000011-1"},{"label":"否","value":"5000011-2"}]}',
177
+ info_base64: 0,
178
+ createtime: "2026-01-05 21:28:34",
179
+ attrvalue: "",
180
+ serialnum: 6,
181
+ children: [],
182
+ json: {
183
+ input: "radio",
184
+ dataType: "string",
185
+ length: 100,
186
+ inputType: "local",
187
+ must: true,
188
+ options: [
189
+ {
190
+ label: "是",
191
+ value: "5000011-1"
192
+ },
193
+ {
194
+ label: "否",
195
+ value: "5000011-2"
196
+ }
197
+ ]
198
+ }
199
+ },
200
+ {
201
+ xh: 7,
202
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
203
+ astype: 0,
204
+ tname: "gg_table",
205
+ attrid: "8561D992C88645EE9EA184800BBE0E1D",
206
+ attrname: "是否对其他狗有攻击性",
207
+ attrtype: 0,
208
+ info: '{"input":"radio","dataType":"string","length":100,"inputType":"local","must":true,"options":[{"label":"是","value":"5000013-1"},{"label":"否","value":"5000013-2"},{"label":"视情况而定","value":"5000013-3"},{"label":"不确定","value":"5000013-4"}]}',
209
+ info_base64: 0,
210
+ createtime: "2026-01-05 21:29:07",
211
+ attrvalue: "",
212
+ serialnum: 7,
213
+ children: [],
214
+ json: {
215
+ input: "radio",
22
216
  dataType: "string",
23
217
  length: 100,
24
- "disable-date-goover": true,
218
+ inputType: "local",
219
+ must: true,
220
+ options: [
221
+ {
222
+ label: "是",
223
+ value: "5000013-1"
224
+ },
225
+ {
226
+ label: "否",
227
+ value: "5000013-2"
228
+ },
229
+ {
230
+ label: "视情况而定",
231
+ value: "5000013-3"
232
+ },
233
+ {
234
+ label: "不确定",
235
+ value: "5000013-4"
236
+ }
237
+ ]
238
+ }
239
+ },
240
+ {
241
+ xh: 8,
242
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
243
+ astype: 0,
244
+ tname: "gg_table",
245
+ attrid: "93366648DF5146E98AE3D58DE5D6BD73",
246
+ attrname: "是否对人有攻击性",
247
+ attrtype: 0,
248
+ info: '{"input":"radio","dataType":"string","length":100,"inputType":"local","must":true,"options":[{"label":"是","value":"5000013-1"},{"label":"否","value":"5000013-2"},{"label":"视情况而定","value":"5000013-3"},{"label":"不确定","value":"5000013-4"}]}',
249
+ info_base64: 0,
250
+ createtime: "2026-01-05 21:29:24",
251
+ attrvalue: "",
252
+ serialnum: 8,
253
+ children: [],
254
+ json: {
255
+ input: "radio",
256
+ dataType: "string",
257
+ length: 100,
258
+ inputType: "local",
259
+ must: true,
260
+ options: [
261
+ {
262
+ label: "是",
263
+ value: "5000013-1"
264
+ },
265
+ {
266
+ label: "否",
267
+ value: "5000013-2"
268
+ },
269
+ {
270
+ label: "视情况而定",
271
+ value: "5000013-3"
272
+ },
273
+ {
274
+ label: "不确定",
275
+ value: "5000013-4"
276
+ }
277
+ ]
278
+ }
279
+ },
280
+ {
281
+ xh: 9,
282
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
283
+ astype: 0,
284
+ tname: "gg_table",
285
+ attrid: "6A63A6508C0E44D38AB68CB27EC332E8",
286
+ attrname: "狗狗照片",
287
+ attrtype: 0,
288
+ info: '{"input":"image","upload-accept":".png,.jpg,.jpeg","upload-max-count":"5","upload-size":"5","dataType":"string","length":4000}',
289
+ info_base64: 0,
290
+ createtime: "2026-01-05 21:29:46",
291
+ attrvalue: "",
292
+ serialnum: 9,
293
+ children: [],
294
+ json: {
295
+ input: "image",
296
+ "upload-accept": ".png,.jpg,.jpeg",
297
+ "upload-max-count": "5",
298
+ "upload-size": "5",
299
+ dataType: "string",
300
+ length: 4e3
301
+ }
302
+ },
303
+ {
304
+ xh: 10,
305
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
306
+ astype: 0,
307
+ tname: "gg_table",
308
+ attrid: "6730DFF94989425F9ED90A4A77EE3C5B",
309
+ attrname: "疫苗证明",
310
+ attrtype: 0,
311
+ info: '{"input":"file","upload-accept":".png,jpeg,jpg,.pdf,.doc,.docx,.xls,.xlsx,.txt,.zip,.rar,.7z","upload-max-count":"5","upload-size":"10","dataType":"string","length":4000}',
312
+ info_base64: 0,
313
+ createtime: "2026-01-05 21:30:05",
314
+ attrvalue: "",
315
+ serialnum: 10,
316
+ children: [],
317
+ json: {
318
+ input: "file",
319
+ "upload-accept": ".png,jpeg,jpg,.pdf,.doc,.docx,.xls,.xlsx,.txt,.zip,.rar,.7z",
320
+ "upload-max-count": "5",
321
+ "upload-size": "10",
322
+ dataType: "string",
323
+ length: 4e3
324
+ }
325
+ },
326
+ {
327
+ xh: 11,
328
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
329
+ astype: 0,
330
+ tname: "gg_table",
331
+ attrid: "23A6082D509340BCA10ED419A95F9B7D",
332
+ attrname: "生日",
333
+ attrtype: 0,
334
+ info: '{"input":"date-picker","dataType":"date","instruction":"如不确定出生日期可选择大概日期","instruction-color":"#999999","must":true}',
335
+ info_base64: 0,
336
+ createtime: "2026-01-05 21:30:21",
337
+ attrvalue: "",
338
+ serialnum: 11,
339
+ children: [],
340
+ json: {
341
+ input: "date-picker",
342
+ dataType: "date",
343
+ instruction: "如不确定出生日期可选择大概日期",
344
+ "instruction-color": "#999999",
25
345
  must: true
26
- },
27
- attrLangConfig: [
28
- {
29
- jxqyglbh: "2579",
30
- lanid: "2708E89E803144B799E775A763583601",
31
- sysid: "1",
32
- sysname: "属性集",
33
- systype: "",
34
- pageid: "2FD08E801868439EA44CC593CA27F745",
35
- pageinfo: "DPQ寄养填写信息",
36
- dataid: "27638FC5E2BA4FB88AFB0A9CF77558F7",
37
- datainfo: "接走时间",
38
- dicid: "10001",
39
- info: "中文",
40
- content: "接走时间"
41
- },
42
- {
43
- jxqyglbh: "2580",
44
- lanid: "FD9D30A5508447F7BFAE158A07F97DA1",
45
- sysid: "1",
46
- sysname: "属性集",
47
- systype: "",
48
- pageid: "2FD08E801868439EA44CC593CA27F745",
49
- pageinfo: "DPQ寄养填写信息",
50
- dataid: "4E507938BE7448E5883CFCD9C962707D",
51
- datainfo: "送到时间",
52
- dicid: "10001",
53
- info: "中文",
54
- content: "送到时间"
55
- },
56
- {
57
- jxqyglbh: "2582",
58
- lanid: "DBE02B29F07843678E8684D5A509F8EC",
59
- sysid: "1",
60
- sysname: "属性集",
61
- systype: "",
62
- pageid: "2FD08E801868439EA44CC593CA27F745",
63
- pageinfo: "DPQ寄养填写信息",
64
- dataid: "6A5984BD547449088172BD33F2A965E8",
65
- datainfo: "预定日期",
66
- dicid: "10001",
67
- info: "中文",
68
- content: "预定日期"
69
- },
70
- {
71
- jxqyglbh: "2804",
72
- lanid: "13455BEAD2054605AF4E7F2808E065F2",
73
- sysid: "1",
74
- sysname: "属性集",
75
- systype: "",
76
- pageid: "2FD08E801868439EA44CC593CA27F745",
77
- pageinfo: "DPQ寄养填写信息2",
78
- dataid: "6A5984BD547449088172BD33F2A965E8",
79
- datainfo: "表单Dates",
80
- dicid: "10001",
81
- info: "中文",
82
- content: "日期"
83
- },
84
- {
85
- jxqyglbh: "2805",
86
- lanid: "6D7CCAE35F3F463CBCDC8F6B3416526C",
87
- sysid: "1",
88
- sysname: "属性集",
89
- systype: "",
90
- pageid: "2FD08E801868439EA44CC593CA27F745",
91
- pageinfo: "DPQ寄养填写信息2",
92
- dataid: "4E507938BE7448E5883CFCD9C962707D",
93
- datainfo: "表单-到店时间",
94
- dicid: "10001",
95
- info: "中文",
96
- content: "到店时间"
97
- },
98
- {
99
- jxqyglbh: "2807",
100
- lanid: "FAFC582DC6104CF58A8ADEBDCCDA77A7",
101
- sysid: "1",
102
- sysname: "属性集",
103
- systype: "",
104
- pageid: "2FD08E801868439EA44CC593CA27F745",
105
- pageinfo: "DPQ寄养填写信息2",
106
- dataid: "27638FC5E2BA4FB88AFB0A9CF77558F7",
107
- datainfo: "表单-离店时间",
108
- dicid: "10001",
109
- info: "中文",
110
- content: "离店时间"
111
- }
112
- ]
346
+ }
347
+ },
348
+ {
349
+ xh: 12,
350
+ asid: "2EA2AABF953F4A3483ED854A0034BF92",
351
+ astype: 0,
352
+ tname: "gg_table",
353
+ attrid: "7A870062F2C94795ABA9923F300BE99A",
354
+ attrname: "备注",
355
+ attrtype: 0,
356
+ info: '{"input":"textarea","dataType":"string","length":500}',
357
+ info_base64: 0,
358
+ createtime: "2026-01-05 21:30:40",
359
+ attrvalue: "",
360
+ serialnum: 12,
361
+ children: [],
362
+ json: {
363
+ input: "textarea",
364
+ dataType: "string",
365
+ length: 500
366
+ }
113
367
  }
114
368
  ];
115
369
  const langConfig = [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.3.86",
4
+ "version": "0.3.88",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",