szld-libs 0.2.98 → 0.2.99

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.
@@ -18,6 +18,7 @@ export interface IformConfigItem {
18
18
  }
19
19
 
20
20
  export interface Ijson {
21
+ 'action-url-extra-params'?: { [key: string]: any }; // 弹窗选择对应多个表单字段时,额外的参数
21
22
  'disable-date-goover'?: boolean; // 禁用日期选择器超出当前日期
22
23
  'default-prompt'?: string; // 提示信息
23
24
  'regexp-message'?: string; // 正则表达式提示信息
@@ -91,6 +92,7 @@ export type InputType =
91
92
  | 'radio'
92
93
  | 'checkbox'
93
94
  | 'cascader'
95
+ | 'mult-field-modal-select' // 弹窗选择对应多个表单字段
94
96
  | string;
95
97
 
96
98
  // 定义文件上传值类型
@@ -137,7 +137,7 @@ function SelectModel(props) {
137
137
  /* @__PURE__ */ jsx(
138
138
  Select,
139
139
  {
140
- placeholder: (item == null ? void 0 : item["message"]) || "请选择",
140
+ placeholder: (item == null ? void 0 : item["default-prompt"]) || "请选择",
141
141
  onClick: openModal,
142
142
  value,
143
143
  open: false,
@@ -0,0 +1,27 @@
1
+ import { FormInstance } from 'antd';
2
+ import React from 'react';
3
+ import { AxiosResponse } from 'axios';
4
+ import { Ijson } from '../index.d';
5
+ interface SelectModelProps {
6
+ item: Ijson;
7
+ onSure: (value: {
8
+ [key: string]: any;
9
+ }) => void;
10
+ value: string;
11
+ disabled: boolean;
12
+ style?: React.CSSProperties;
13
+ commonRequestWidthParams: (params: object, data?: any) => Promise<AxiosResponse<any, any>>;
14
+ commonRequest: (InterfaceType: string, data?: any) => Promise<AxiosResponse<any, any>>;
15
+ CustomModalComponent?: React.FC<ICustomModal>;
16
+ attrid: string;
17
+ form: FormInstance;
18
+ }
19
+ declare function SelectModel(props: SelectModelProps): import("react/jsx-runtime").JSX.Element;
20
+ /**
21
+ *
22
+ * @param selectedRows 选中的行数据
23
+ * @param attributeEnrollFormat 配置信息
24
+ * @returns 构建后的字符串
25
+ */
26
+ export declare function buildValueFromSelectedRows(selectedRows: any[], attributeEnrollFormat: Ijson): Promise<any>;
27
+ export default SelectModel;
@@ -0,0 +1,241 @@
1
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
+ import { Form, App, Select, Table, Modal } from "antd";
3
+ import { useState, useEffect } from "react";
4
+ function SelectModel(props) {
5
+ const { item, disabled, style, commonRequestWidthParams, CustomModalComponent, attrid, form } = props;
6
+ const attrValue = Form.useWatch(attrid, form);
7
+ const { message } = App.useApp();
8
+ const mode = item.input;
9
+ const [value, setValue] = useState(props.value);
10
+ const [modalVisible, setModalVisible] = useState(false);
11
+ const [selectedRowKeys, setSelectedRowKeys] = useState([]);
12
+ const [selectedRecords, setSelectedRecords] = useState([]);
13
+ const [loading, setLoading] = useState(false);
14
+ const [params, setParams] = useState({
15
+ PageNum: 1,
16
+ PageSize: 6
17
+ });
18
+ const [dataSource, setDataSource] = useState([]);
19
+ const [total, setTotal] = useState(0);
20
+ const columns = buildColumns();
21
+ useEffect(() => {
22
+ if (!modalVisible) {
23
+ return;
24
+ }
25
+ getData();
26
+ }, [modalVisible, params]);
27
+ const onSelectChange = (keys, selectedRows) => {
28
+ setSelectedRowKeys(keys);
29
+ setSelectedRecords(selectedRows);
30
+ };
31
+ const getData = async () => {
32
+ var _a;
33
+ if (item.inputType === "url" && (item == null ? void 0 : item["action-url"])) {
34
+ setLoading(true);
35
+ try {
36
+ const response = await commonRequestWidthParams(
37
+ {
38
+ PageName: "dns_relay",
39
+ Controlname: "CallActionUrl",
40
+ InterfaceType: ""
41
+ },
42
+ {
43
+ "action-url": item == null ? void 0 : item["action-url"],
44
+ ...params,
45
+ ...(item == null ? void 0 : item["action-url-extra-params"]) || {}
46
+ }
47
+ );
48
+ if ((response == null ? void 0 : response.ReturnValue) === 0) {
49
+ message.error(response.msg);
50
+ setLoading(false);
51
+ return;
52
+ }
53
+ const data = response == null ? void 0 : response.data;
54
+ const tempData = (_a = data == null ? void 0 : data.list) == null ? void 0 : _a.map((item2, index) => {
55
+ const _rowKey = (params.PageNum - 1) * params.PageSize + index;
56
+ return {
57
+ ...item2,
58
+ _rowKey
59
+ };
60
+ });
61
+ const tempSelectedRecords = (tempData == null ? void 0 : tempData.filter((item2) => selectedRowKeys.includes(item2._rowKey))) || [];
62
+ setSelectedRecords(tempSelectedRecords);
63
+ setDataSource([...tempData || []]);
64
+ setTotal((data == null ? void 0 : data.number) || 0);
65
+ setLoading(false);
66
+ } catch (error) {
67
+ setLoading(false);
68
+ message.error(error.msg || "参数错误");
69
+ }
70
+ return;
71
+ }
72
+ message.error("请配置action-url");
73
+ };
74
+ const openModal = () => {
75
+ var _a, _b;
76
+ if (disabled) {
77
+ return;
78
+ }
79
+ if (value) {
80
+ const keyFieldList = ((_a = item == null ? void 0 : item["key-field"]) == null ? void 0 : _a.list) ?? [];
81
+ const delimiter = ((_b = item == null ? void 0 : item["key-field"]) == null ? void 0 : _b.delimiter) ?? "-";
82
+ if (!keyFieldList.length) {
83
+ message.error("请配置key-field");
84
+ return;
85
+ }
86
+ switch (mode) {
87
+ case "modal-select":
88
+ const id = value == null ? void 0 : value.split("-");
89
+ const index = dataSource == null ? void 0 : dataSource.findIndex((item2) => id.includes((item2 == null ? void 0 : item2.typeid) || (item2 == null ? void 0 : item2.instanceid)));
90
+ setSelectedRowKeys([index]);
91
+ break;
92
+ case "modal-mult-select":
93
+ const values = value == null ? void 0 : value.split(",");
94
+ const tempKeys = values == null ? void 0 : values.map((item2) => {
95
+ var _a2;
96
+ const id2 = (_a2 = item2.split(delimiter)) == null ? void 0 : _a2[0];
97
+ return dataSource == null ? void 0 : dataSource.findIndex((item3) => id2.includes((item3 == null ? void 0 : item3.typeid) || (item3 == null ? void 0 : item3.instanceid)));
98
+ });
99
+ setSelectedRowKeys(tempKeys);
100
+ break;
101
+ }
102
+ }
103
+ setModalVisible(true);
104
+ };
105
+ const handleOk = async () => {
106
+ try {
107
+ const value2 = await buildValueFromSelectedRows(selectedRecords, item);
108
+ setValue((value2 == null ? void 0 : value2[attrid]) || "");
109
+ props.onSure(value2);
110
+ setModalVisible(false);
111
+ } catch (error) {
112
+ message.error(error.msg || "参数错误");
113
+ }
114
+ };
115
+ const handleCancel = () => {
116
+ setParams({
117
+ ...params,
118
+ PageNum: 1
119
+ });
120
+ setModalVisible(false);
121
+ };
122
+ function buildColumns() {
123
+ const modalFieldList = item["modal-field-list"];
124
+ let columns2 = [];
125
+ for (let fieldName in modalFieldList) {
126
+ let title = modalFieldList[fieldName];
127
+ const column = { dataIndex: fieldName, title };
128
+ columns2 = [...columns2, column];
129
+ }
130
+ return columns2;
131
+ }
132
+ const onPageChange = (pageNum) => {
133
+ setParams({
134
+ ...params,
135
+ PageNum: pageNum
136
+ });
137
+ };
138
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
139
+ /* @__PURE__ */ jsx(
140
+ Select,
141
+ {
142
+ placeholder: (item == null ? void 0 : item["default-prompt"]) || "请选择",
143
+ onClick: openModal,
144
+ open: false,
145
+ value: attrValue,
146
+ disabled,
147
+ style
148
+ }
149
+ ),
150
+ CustomModalComponent && /* @__PURE__ */ jsx(
151
+ CustomModalComponent,
152
+ {
153
+ title: item["modal-caption"] || "",
154
+ open: modalVisible,
155
+ onOk: handleOk,
156
+ onCancel: handleCancel,
157
+ modalStyle: { width: item["modal-width"] ?? 600, minHeight: item["modal-height"] ?? 400 },
158
+ children: /* @__PURE__ */ jsx(
159
+ Table,
160
+ {
161
+ columns,
162
+ loading,
163
+ dataSource,
164
+ rowKey: (record) => record._rowKey,
165
+ scroll: { y: "calc(80vh - 300px)" },
166
+ rowSelection: {
167
+ type: mode === "mul-field-modal-select" ? "radio" : "checkbox",
168
+ selectedRowKeys,
169
+ onChange: onSelectChange
170
+ },
171
+ pagination: {
172
+ total,
173
+ current: params.PageNum,
174
+ pageSize: params.PageSize,
175
+ onChange: onPageChange
176
+ }
177
+ }
178
+ )
179
+ }
180
+ ) || /* @__PURE__ */ jsx(
181
+ Modal,
182
+ {
183
+ title: item["modal-caption"],
184
+ open: modalVisible,
185
+ onOk: handleOk,
186
+ onCancel: handleCancel,
187
+ width: item["modal-width"] ?? 600,
188
+ okButtonProps: { disabled: selectedRowKeys.length === 0 },
189
+ children: /* @__PURE__ */ jsx(
190
+ Table,
191
+ {
192
+ columns,
193
+ loading,
194
+ dataSource,
195
+ rowKey: (record) => record._rowKey,
196
+ rowSelection: {
197
+ type: mode === "mul-field-modal-select" ? "radio" : "checkbox",
198
+ selectedRowKeys,
199
+ onChange: onSelectChange
200
+ },
201
+ pagination: {
202
+ total,
203
+ current: params.PageNum,
204
+ pageSize: params.PageSize,
205
+ onChange: onPageChange
206
+ }
207
+ }
208
+ )
209
+ }
210
+ )
211
+ ] });
212
+ }
213
+ function buildValueFromSelectedRows(selectedRows, attributeEnrollFormat) {
214
+ return new Promise((resolve, reject) => {
215
+ try {
216
+ var keyfields = attributeEnrollFormat["key-field"];
217
+ if (!keyfields) {
218
+ reject({ msg: "请配置key-field" });
219
+ return;
220
+ }
221
+ let res = {};
222
+ selectedRows.forEach((item) => {
223
+ for (let [key, value] of Object.entries(keyfields)) {
224
+ const list = (value == null ? void 0 : value.list) ?? [];
225
+ const delimiter = (value == null ? void 0 : value.delimiter) ?? "-";
226
+ const arr = list.map((v) => {
227
+ return item == null ? void 0 : item[v];
228
+ });
229
+ res[key] = arr.join(delimiter);
230
+ }
231
+ });
232
+ resolve(res);
233
+ } catch (error) {
234
+ reject({ msg: "key-field参数配置错误" });
235
+ }
236
+ });
237
+ }
238
+ export {
239
+ buildValueFromSelectedRows,
240
+ SelectModel as default
241
+ };
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
@@ -1,6 +1,8 @@
1
1
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
2
+ import { MinusSquareOutlined, PlusSquareOutlined, CloseOutlined, InfoCircleOutlined } from "@ant-design/icons";
2
3
  import { handleSetFormItemInitialValue, handleGetPlaceholder, disabledDate } from "./func";
3
4
  import { handleUrlOptions, getJson, base64ToString } from "../../utils/method";
5
+ import SelectModelBackfillFormItem from "./selectModelBackfillFormItem";
4
6
  import { useRef, useEffect, useCallback, Fragment } from "react";
5
7
  import isoWeek from "dayjs/plugin/isoWeek";
6
8
  import SelectModel from "./selectModel";
@@ -11,7 +13,6 @@ import RadioCard from "./radioCard";
11
13
  import MySelect from "./mySelect";
12
14
  import MyUpload from "./myUpload";
13
15
  import MyRadio from "./myRadio";
14
- import { MinusSquareOutlined, PlusSquareOutlined, CloseOutlined, InfoCircleOutlined } from "@ant-design/icons";
15
16
  import { App, Col, Collapse, Form, Card, Flex, Button, Space, Input, DatePicker, InputNumber, Tooltip } from "antd";
16
17
  dayjs.extend(isoWeek);
17
18
  function useDynamicForm(props) {
@@ -432,6 +433,7 @@ function useDynamicForm(props) {
432
433
  }) => {
433
434
  var _a, _b, _c, _d;
434
435
  const mode = item.json.input || "text";
436
+ const attrid = item.attrid;
435
437
  const formatValue = handleSetFormItemInitialValue(item);
436
438
  const message2 = ((_a = item.json) == null ? void 0 : _a["default-prompt"]) || "";
437
439
  const disableDateGoover = ((_b = item.json) == null ? void 0 : _b["disable-date-goover"]) || false;
@@ -533,6 +535,25 @@ function useDynamicForm(props) {
533
535
  }
534
536
  );
535
537
  }
538
+ case "mul-field-modal-select": {
539
+ return /* @__PURE__ */ jsx(
540
+ SelectModelBackfillFormItem,
541
+ {
542
+ style: { width: defaultWidth, ...itemStyle == null ? void 0 : itemStyle.style, ...customWidth },
543
+ item: item.json,
544
+ form,
545
+ attrid,
546
+ value: item.attrvalue || item.json.default || "",
547
+ commonRequestWidthParams,
548
+ commonRequest,
549
+ onSure: async (value) => {
550
+ form.setFieldsValue(value);
551
+ },
552
+ disabled: readonly,
553
+ CustomModalComponent
554
+ }
555
+ );
556
+ }
536
557
  case "date-picker":
537
558
  case "time-picker":
538
559
  case "week-picker":
package/es/index.js CHANGED
@@ -29,13 +29,12 @@ const Demo = () => {
29
29
  readonly: false,
30
30
  relatedid: "",
31
31
  colNum: 1,
32
- defaultWidth: "100%",
32
+ defaultWidth: 358,
33
33
  commonRequestWidthParams,
34
34
  uploadAction: uploadFormAction,
35
35
  commonRequest,
36
36
  instructionShowMode: "icon",
37
- ref: formRef,
38
- isMobile: true
37
+ ref: formRef
39
38
  }
40
39
  ),
41
40
  /* @__PURE__ */ jsx(Form.Item, { children: /* @__PURE__ */ jsx(Button, { type: "primary", htmlType: "submit", children: "提交" }) })
@@ -1,306 +1,2 @@
1
- export declare const baseAttrList: ({
2
- xh: number;
3
- asid: string;
4
- astype: number;
5
- tname: string;
6
- attrid: string;
7
- attrname: string;
8
- attrtype: number;
9
- info: string;
10
- info_base64: number;
11
- createtime: string;
12
- attrvalue: string;
13
- serialnum: number;
14
- children: never[];
15
- json: {
16
- input: string;
17
- dataType: string;
18
- length: number;
19
- 'range-picker-save'?: undefined;
20
- 'disable-date-goover'?: undefined;
21
- };
22
- } | {
23
- xh: number;
24
- asid: string;
25
- astype: number;
26
- tname: string;
27
- attrid: string;
28
- attrname: string;
29
- attrtype: number;
30
- info: string;
31
- info_base64: number;
32
- createtime: string;
33
- attrvalue: string;
34
- serialnum: number;
35
- children: never[];
36
- json: {
37
- input: string;
38
- dataType: string;
39
- length?: undefined;
40
- 'range-picker-save'?: undefined;
41
- 'disable-date-goover'?: undefined;
42
- };
43
- } | {
44
- xh: number;
45
- asid: string;
46
- astype: number;
47
- tname: string;
48
- attrid: string;
49
- attrname: string;
50
- attrtype: number;
51
- info: string;
52
- info_base64: number;
53
- createtime: string;
54
- attrvalue: string;
55
- serialnum: number;
56
- children: never[];
57
- json: {
58
- input: string;
59
- 'range-picker-save': string;
60
- dataType: string;
61
- length: number;
62
- 'disable-date-goover': boolean;
63
- };
64
- })[];
1
+ export declare const baseAttrList: never[];
65
2
  export declare const attrList: any;
66
- export declare const testList: ({
67
- xh: number;
68
- asid: string;
69
- astype: number;
70
- tname: string;
71
- attrid: string;
72
- attrname: string;
73
- attrtype: number;
74
- info: string;
75
- info_base64: number;
76
- createtime: string;
77
- attrvalue: string;
78
- serialnum: number;
79
- children: never[];
80
- json: {
81
- input: string;
82
- dataType: string;
83
- length: number;
84
- 'auto-generate': boolean;
85
- 'auto-generate-type': string;
86
- must?: undefined;
87
- 'upload-accept'?: undefined;
88
- 'upload-max-count'?: undefined;
89
- 'upload-size'?: undefined;
90
- instruction?: undefined;
91
- 'instruction-color'?: undefined;
92
- default?: undefined;
93
- propertiesID?: undefined;
94
- };
95
- } | {
96
- xh: number;
97
- asid: string;
98
- astype: number;
99
- tname: string;
100
- attrid: string;
101
- attrname: string;
102
- attrtype: number;
103
- info: string;
104
- info_base64: number;
105
- createtime: string;
106
- attrvalue: string;
107
- serialnum: number;
108
- children: never[];
109
- json: {
110
- input: string;
111
- dataType: string;
112
- length: number;
113
- must: boolean;
114
- 'auto-generate'?: undefined;
115
- 'auto-generate-type'?: undefined;
116
- 'upload-accept'?: undefined;
117
- 'upload-max-count'?: undefined;
118
- 'upload-size'?: undefined;
119
- instruction?: undefined;
120
- 'instruction-color'?: undefined;
121
- default?: undefined;
122
- propertiesID?: undefined;
123
- };
124
- } | {
125
- xh: number;
126
- asid: string;
127
- astype: number;
128
- tname: string;
129
- attrid: string;
130
- attrname: string;
131
- attrtype: number;
132
- info: string;
133
- info_base64: number;
134
- createtime: string;
135
- attrvalue: string;
136
- serialnum: number;
137
- children: never[];
138
- json: {
139
- input: string;
140
- dataType: string;
141
- length: number;
142
- 'auto-generate'?: undefined;
143
- 'auto-generate-type'?: undefined;
144
- must?: undefined;
145
- 'upload-accept'?: undefined;
146
- 'upload-max-count'?: undefined;
147
- 'upload-size'?: undefined;
148
- instruction?: undefined;
149
- 'instruction-color'?: undefined;
150
- default?: undefined;
151
- propertiesID?: undefined;
152
- };
153
- } | {
154
- xh: number;
155
- asid: string;
156
- astype: number;
157
- tname: string;
158
- attrid: string;
159
- attrname: string;
160
- attrtype: number;
161
- info: string;
162
- info_base64: number;
163
- createtime: string;
164
- attrvalue: string;
165
- serialnum: number;
166
- children: never[];
167
- json: {
168
- input: string;
169
- 'upload-accept': string;
170
- 'upload-max-count': string;
171
- 'upload-size': string;
172
- dataType: string;
173
- length: number;
174
- instruction: string;
175
- 'instruction-color': string;
176
- 'auto-generate'?: undefined;
177
- 'auto-generate-type'?: undefined;
178
- must?: undefined;
179
- default?: undefined;
180
- propertiesID?: undefined;
181
- };
182
- } | {
183
- xh: number;
184
- asid: string;
185
- astype: number;
186
- tname: string;
187
- attrid: string;
188
- attrname: string;
189
- attrtype: number;
190
- info: string;
191
- info_base64: number;
192
- createtime: string;
193
- attrvalue: string;
194
- serialnum: number;
195
- children: never[];
196
- json: {
197
- input: string;
198
- dataType: string;
199
- default: string;
200
- length?: undefined;
201
- 'auto-generate'?: undefined;
202
- 'auto-generate-type'?: undefined;
203
- must?: undefined;
204
- 'upload-accept'?: undefined;
205
- 'upload-max-count'?: undefined;
206
- 'upload-size'?: undefined;
207
- instruction?: undefined;
208
- 'instruction-color'?: undefined;
209
- propertiesID?: undefined;
210
- };
211
- } | {
212
- xh: number;
213
- asid: string;
214
- astype: number;
215
- tname: string;
216
- attrid: string;
217
- attrname: string;
218
- attrtype: number;
219
- info: string;
220
- info_base64: number;
221
- createtime: string;
222
- attrvalue: string;
223
- serialnum: number;
224
- children: ({
225
- xh: number;
226
- asid: string;
227
- astype: number;
228
- tname: string;
229
- attrid: string;
230
- attrname: string;
231
- attrtype: number;
232
- info: string;
233
- info_base64: number;
234
- createtime: string;
235
- attrvalue: string;
236
- serialnum: number;
237
- children: never[];
238
- json: {
239
- input: string;
240
- dataType: string;
241
- length: number;
242
- 'auto-generate': boolean;
243
- 'auto-generate-type': string;
244
- must?: undefined;
245
- };
246
- } | {
247
- xh: number;
248
- asid: string;
249
- astype: number;
250
- tname: string;
251
- attrid: string;
252
- attrname: string;
253
- attrtype: number;
254
- info: string;
255
- info_base64: number;
256
- createtime: string;
257
- attrvalue: string;
258
- serialnum: number;
259
- children: never[];
260
- json: {
261
- input: string;
262
- dataType: string;
263
- length: number;
264
- must: boolean;
265
- 'auto-generate'?: undefined;
266
- 'auto-generate-type'?: undefined;
267
- };
268
- } | {
269
- xh: number;
270
- asid: string;
271
- astype: number;
272
- tname: string;
273
- attrid: string;
274
- attrname: string;
275
- attrtype: number;
276
- info: string;
277
- info_base64: number;
278
- createtime: string;
279
- attrvalue: string;
280
- serialnum: number;
281
- children: never[];
282
- json: {
283
- input: string;
284
- dataType: string;
285
- length: number;
286
- 'auto-generate'?: undefined;
287
- 'auto-generate-type'?: undefined;
288
- must?: undefined;
289
- };
290
- })[][];
291
- json: {
292
- propertiesID: string;
293
- input?: undefined;
294
- dataType?: undefined;
295
- length?: undefined;
296
- 'auto-generate'?: undefined;
297
- 'auto-generate-type'?: undefined;
298
- must?: undefined;
299
- 'upload-accept'?: undefined;
300
- 'upload-max-count'?: undefined;
301
- 'upload-size'?: undefined;
302
- instruction?: undefined;
303
- 'instruction-color'?: undefined;
304
- default?: undefined;
305
- };
306
- })[];