szld-libs 0.3.94 → 0.3.96

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.
@@ -59,9 +59,9 @@ const DynamicForm = react.forwardRef((props, ref) => {
59
59
  return delFileListRef.current;
60
60
  }
61
61
  }));
62
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: formShowType === "table" ? /* @__PURE__ */ jsxRuntime.jsx(antd.Form.List, { name: formListItemName || "customFormList", initialValue: [{}], children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { className: "custom-form-body", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "custom-form-list", children: [
63
- /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { align: "center", style: { position: "relative", backgroundColor: "#004d32" }, children: [
64
- /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { className: "custom-form-list-header", align: "center", children: formConfig == null ? void 0 : formConfig.map((child, index) => {
62
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: formShowType === "table" ? /* @__PURE__ */ jsxRuntime.jsx(antd.Form.List, { name: formListItemName || "customFormList", initialValue: [{}], children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { className: "custom-form-body", children: [
63
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "custom-form-list", children: [
64
+ /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { align: "center", style: { position: "relative", backgroundColor: "#004d32" }, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { className: "custom-form-list-header", align: "center", children: formConfig == null ? void 0 : formConfig.map((child, index) => {
65
65
  var _a, _b;
66
66
  const width = ((_a = child == null ? void 0 : child.json) == null ? void 0 : _a["input-width"]) && Number((_b = child == null ? void 0 : child.json) == null ? void 0 : _b["input-width"]) || defaultWidth;
67
67
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -79,11 +79,8 @@ const DynamicForm = react.forwardRef((props, ref) => {
79
79
  },
80
80
  index
81
81
  );
82
- }) }),
83
- /* @__PURE__ */ jsxRuntime.jsx("a", { className: "custom-form-list-add-btn", onClick: () => add(), children: langId === "10001" ? "新增" : "Add" })
84
- ] }),
85
- fields.map((field) => /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { align: "center", className: "custom-form-list-item-container", children: [
86
- /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { className: "custom-form-list-item", align: "center", children: formConfig == null ? void 0 : formConfig.map((child, index) => {
82
+ }) }) }),
83
+ fields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { align: "center", className: "custom-form-list-item-container", children: /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { className: "custom-form-list-item", align: "center", children: formConfig == null ? void 0 : formConfig.map((child, index) => {
87
84
  var _a, _b;
88
85
  const width = ((_a = child == null ? void 0 : child.json) == null ? void 0 : _a["input-width"]) && Number((_b = child == null ? void 0 : child.json) == null ? void 0 : _b["input-width"]) || defaultWidth;
89
86
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -112,10 +109,15 @@ const DynamicForm = react.forwardRef((props, ref) => {
112
109
  },
113
110
  child.attrid || `child-${index}`
114
111
  );
115
- }) }),
116
- /* @__PURE__ */ jsxRuntime.jsx("a", { className: "custom-form-list-del-btn", onClick: () => remove(field.key), children: langId === "10001" ? "删除" : "Delete" })
117
- ] }, field.key))
118
- ] }) }) }) : /* @__PURE__ */ jsxRuntime.jsx(antd.Row, { gutter: colSpace, children: formConfig.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(react.Fragment, { children: handleRenderItem({
112
+ }) }) }, field.key))
113
+ ] }),
114
+ /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { className: "operation", vertical: true, children: [
115
+ /* @__PURE__ */ jsxRuntime.jsx("a", { className: "custom-form-list-add-btn", onClick: () => add(), children: langId === "10001" ? "新增" : "Add" }),
116
+ (fields == null ? void 0 : fields.length) > 0 && (fields == null ? void 0 : fields.map((v, i) => {
117
+ return /* @__PURE__ */ jsxRuntime.jsx("a", { className: "custom-form-list-del-btn", onClick: () => remove(v.key), children: langId === "10001" ? "删除" : "Delete" }, v.key);
118
+ }))
119
+ ] })
120
+ ] }) }) : /* @__PURE__ */ jsxRuntime.jsx(antd.Row, { gutter: colSpace, children: formConfig.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(react.Fragment, { children: handleRenderItem({
119
121
  item,
120
122
  readonly,
121
123
  colNum,
@@ -231,7 +231,7 @@ function useUniversalTable() {
231
231
  dataIndex: (item == null ? void 0 : item["header-attribute-id"]) || "",
232
232
  width: isDefaultWidth ? (item == null ? void 0 : item["header-width"]) || 180 : void 0,
233
233
  render: (text, record) => {
234
- var _a, _b;
234
+ var _a, _b, _c, _d;
235
235
  if (text && text && typeof text === "string" && (text == null ? void 0 : text.includes("FileName")) && (text == null ? void 0 : text.includes("FilePath"))) {
236
236
  try {
237
237
  const items = JSON.parse(text);
@@ -262,6 +262,10 @@ function useUniversalTable() {
262
262
  }
263
263
  return /* @__PURE__ */ jsxRuntime.jsx(antd.Tooltip, { title: text, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { cursor: "pointer" }, children: getTitle == null ? void 0 : getTitle(otherLangPageId, text ?? "-") }) });
264
264
  }
265
+ if (text && text && typeof text === "object" && ((_c = Object.keys(text)) == null ? void 0 : _c.includes("delimiter"))) {
266
+ const { list: list2, delimiter = "," } = text || {};
267
+ return /* @__PURE__ */ jsxRuntime.jsx("span", { dangerouslySetInnerHTML: { __html: ((_d = list2 == null ? void 0 : list2.join(delimiter)) == null ? void 0 : _d.replace(/br/g, "<br>")) || "-" } });
268
+ }
265
269
  return text ?? "-";
266
270
  }
267
271
  };
package/lib/index.css CHANGED
@@ -1,12 +1,29 @@
1
1
 
2
2
  .custom-form-body {
3
- width: 1300;
3
+ width: 100%;
4
4
  }
5
5
  .custom-form-body .custom-form-list {
6
+ width: calc(100% - 48px);
6
7
  position: relative;
7
- width: 1300px;
8
8
  overflow-x: auto;
9
- background-color: #004d32;
9
+ background-color: #4fb890 !important;
10
+ }
11
+ .custom-form-body .custom-form-list::-webkit-scrollbar {
12
+ width: 8px;
13
+ height: 8px;
14
+ }
15
+ .custom-form-body .custom-form-list::-webkit-scrollbar-track {
16
+ background: #dff2f0;
17
+ }
18
+ .custom-form-body .custom-form-list::-webkit-scrollbar-thumb {
19
+ background: #4fb890;
20
+ border-radius: 4px;
21
+ }
22
+ .custom-form-body .custom-form-list::-webkit-scrollbar-thumb:hover {
23
+ background: #4fb890;
24
+ }
25
+ .custom-form-body .custom-form-list .ant-flex-align-center {
26
+ background-color: #4fb890 !important;
10
27
  }
11
28
  .custom-form-body .custom-form-list .custom-form-list-header {
12
29
  width: fit-content;
@@ -27,9 +44,10 @@
27
44
  }
28
45
  .custom-form-body .custom-form-list .custom-form-list-item-container {
29
46
  position: relative;
47
+ background-color: #fff !important;
30
48
  }
31
49
  .custom-form-body .custom-form-list .custom-form-list-item-container .custom-form-list-item {
32
- width: fit-content;
50
+ width: 100%;
33
51
  min-width: fit-content;
34
52
  /* 确保至少占满可视区域 */
35
53
  min-height: 48px;
@@ -48,49 +66,39 @@
48
66
  margin-left: 14px;
49
67
  }
50
68
  .custom-form-body .custom-form-list .custom-form-list-item-container:nth-child(even) .custom-form-list-item {
51
- width: 100%;
52
- background: #d6e2de !important;
69
+ border-bottom: 1px solid #dff2f0;
70
+ background: #fff !important;
53
71
  }
54
72
  .custom-form-body .custom-form-list .custom-form-list-item-container:nth-child(even) .custom-form-list-item .custom-form-list-item-content {
55
- background: #d6e2de !important;
73
+ background: #fff !important;
56
74
  }
57
75
  .custom-form-body .custom-form-list .custom-form-list-item-container:nth-child(odd) .custom-form-list-item {
58
- background-color: #c2d4ce !important;
76
+ border-bottom: 1px solid #dff2f0;
77
+ background-color: #fff !important;
59
78
  }
60
79
  .custom-form-body .custom-form-list .custom-form-list-item-container:nth-child(odd) .custom-form-list-item .custom-form-list-item-content {
61
- background-color: #c2d4ce !important;
80
+ background-color: #fff !important;
62
81
  }
63
82
  .custom-form-body .custom-form-list-add-btn {
64
- color: #004d32;
65
- background: #fff;
83
+ color: #4588d4;
84
+ background: #dff2f0;
66
85
  width: 48px;
67
86
  height: 48px;
68
87
  line-height: 48px;
69
88
  display: flex;
70
89
  flex-direction: row-reverse;
71
90
  flex-shrink: 0;
72
- position: sticky;
73
- text-decoration: underline;
74
- text-align: right;
75
- right: 0;
76
- top: 0;
77
91
  }
78
92
  .custom-form-body .custom-form-list-del-btn {
79
- background: #fff;
93
+ background: #dff2f0;
80
94
  width: 48px;
81
95
  line-height: 48px;
82
96
  text-align: center;
83
- color: #dc0000;
97
+ color: #ff4d4f;
84
98
  display: flex;
85
99
  flex-direction: row-reverse;
86
100
  align-items: center;
87
101
  align-self: stretch;
88
102
  /* 关键:让按钮高度填满父容器 */
89
103
  flex-shrink: 0;
90
- position: sticky;
91
- text-decoration: underline;
92
- text-align: right;
93
- right: 0;
94
- top: 0;
95
- bottom: 0;
96
104
  }
package/lib/index.js CHANGED
@@ -5,7 +5,6 @@ const method = require("./utils/method");
5
5
  const main = require("./main");
6
6
  const reactRouterDom = require("react-router-dom");
7
7
  const antd = require("antd");
8
- const reactVant = require("react-vant");
9
8
  const react = require("react");
10
9
  const ReactDOM = require("react-dom/client");
11
10
  const zhCN = require("antd/es/locale/zh_CN");
@@ -17,7 +16,7 @@ const tableDetail = "";
17
16
  dayjs.locale("zh-cn");
18
17
  const Demo = () => {
19
18
  const formRef = react.useRef(null);
20
- const [form] = reactVant.Form.useForm();
19
+ const [form] = antd.Form.useForm();
21
20
  const [list, setList] = react.useState([]);
22
21
  const [langId, setLangId] = react.useState("");
23
22
  const onValuesChange = async (values, allValues) => {
@@ -34,26 +33,24 @@ const Demo = () => {
34
33
  };
35
34
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { height: "100vh", display: "flex", flexDirection: "column", gap: 20 }, children: [
36
35
  /* @__PURE__ */ jsxRuntime.jsx(main.BackHeader, { title: "页头组件", isBack: true }),
37
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: {}, children: /* @__PURE__ */ jsxRuntime.jsxs(reactVant.Form, { form, onValuesChange, onFinish, children: [
38
- /* @__PURE__ */ jsxRuntime.jsx(
39
- main.DynamicFormMobile,
40
- {
41
- formConfig: list,
42
- readonly: false,
43
- form,
44
- relatedid: "guid",
45
- colNum: 1,
46
- defaultWidth: 358,
47
- commonRequestWidthParams: services.commonRequestWidthParams,
48
- uploadAction: services.uploadFormAction,
49
- commonRequest: services.commonRequest,
50
- instructionShowMode: "icon",
51
- ref: formRef,
52
- langId
53
- }
54
- ),
55
- /* @__PURE__ */ jsxRuntime.jsx(reactVant.Form.Item, { name: "submit", style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsxRuntime.jsx(reactVant.Button, { round: true, nativeType: "submit", type: "primary", block: true, children: "提交" }) })
56
- ] }) }),
36
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "20px" }, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Form, { form, onValuesChange, onFinish, children: /* @__PURE__ */ jsxRuntime.jsx(
37
+ main.DynamicForm,
38
+ {
39
+ formConfig: list,
40
+ readonly: false,
41
+ form,
42
+ relatedid: "guid",
43
+ colNum: 1,
44
+ defaultWidth: 358,
45
+ commonRequestWidthParams: services.commonRequestWidthParams,
46
+ uploadAction: services.uploadFormAction,
47
+ commonRequest: services.commonRequest,
48
+ instructionShowMode: "icon",
49
+ ref: formRef,
50
+ formShowType: "table",
51
+ langId
52
+ }
53
+ ) }) }),
57
54
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
58
55
  "2. 测试循环滚动组件",
59
56
  /* @__PURE__ */ jsxRuntime.jsx(
package/lib/mock/index.js CHANGED
@@ -4,366 +4,63 @@ const baseAttrList = [];
4
4
  const attrList = [
5
5
  {
6
6
  xh: 1,
7
- asid: "2EA2AABF953F4A3483ED854A0034BF92",
7
+ asid: "61B08EFD73FF4F8282AAC8B7ED66313D",
8
8
  astype: 0,
9
- tname: "gg_table",
10
- attrid: "BB5FFD9EC1034781BC3E89FEFD78879C",
11
- attrname: "姓名",
9
+ tname: "qsfjfw1_table",
10
+ attrid: "117880C8989140F58118A83C0016D0C5",
11
+ attrname: "日期",
12
12
  attrtype: 0,
13
- info: '{"input":"text","dataType":"string","length":20,"must":true,"regexp":"/^[A-Za-z]+$/","regexp-message":"请输入英文字母"}',
13
+ info: '{"input":"multiple-date-picker","dataType":"date","must":true}',
14
14
  info_base64: 0,
15
- createtime: "2026-01-05 21:25:49",
15
+ createtime: "2026-05-06 17:43:42",
16
16
  attrvalue: "",
17
17
  serialnum: 1,
18
- children: [],
19
- json: {
20
- input: "text",
21
- dataType: "string",
22
- length: 20,
23
- must: true,
24
- regexp: "/^[A-Za-z]+$/",
25
- "regexp-message": "请输入英文字母"
26
- }
18
+ children: []
27
19
  },
28
20
  {
29
21
  xh: 2,
30
- asid: "2EA2AABF953F4A3483ED854A0034BF92",
22
+ asid: "61B08EFD73FF4F8282AAC8B7ED66313D",
31
23
  astype: 0,
32
- tname: "gg_table",
33
- attrid: "799FBD4386A04D8198FC7F33B120F68E",
34
- attrname: "品种",
24
+ tname: "qsfjfw1_table",
25
+ attrid: "0EEA99B962494A438DF6CA8DBA77F1A5",
26
+ attrname: "次数",
35
27
  attrtype: 0,
36
- info: '{"input":"text","dataType":"string","length":100}',
28
+ info: '{"input":"number","dataType":"int","must":true}',
37
29
  info_base64: 0,
38
- createtime: "2026-01-05 21:26:01",
30
+ createtime: "2026-05-06 17:44:57",
39
31
  attrvalue: "",
40
32
  serialnum: 2,
41
- children: [],
42
- json: {
43
- input: "text",
44
- dataType: "string",
45
- length: 100
46
- }
33
+ children: []
47
34
  },
48
35
  {
49
36
  xh: 3,
50
- asid: "2EA2AABF953F4A3483ED854A0034BF92",
37
+ asid: "61B08EFD73FF4F8282AAC8B7ED66313D",
51
38
  astype: 0,
52
- tname: "gg_table",
53
- attrid: "B1B10494F9A949CCBD26567A597E8DAE",
54
- attrname: "重量",
39
+ tname: "qsfjfw1_table",
40
+ attrid: "DBC8E3036BC14E10B231FD86AFA8EC5F",
41
+ attrname: "时间",
55
42
  attrtype: 0,
56
- info: '{"input":"text","dataType":"string","length":3,"combination":true,"combination-id":1,"combination-name":"重量","combination-width-ratio":0.7,"must":true}',
43
+ info: '{"input":"mult-select","dataType":"string","length":100,"inputType":"local","data":["5:00pm – 5:30pm", "5:30pm – 6:00pm", "6:00pm – 6:30pm", "6:30pm – 7:00pm", "7:00pm – 7:30pm", "7:30pm – 8:00pm"],"must":true}',
57
44
  info_base64: 0,
58
- createtime: "2026-01-05 21:26:13",
45
+ createtime: "2026-05-06 17:43:42",
59
46
  attrvalue: "",
60
47
  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",
216
- dataType: "string",
217
- length: 100,
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",
345
- must: true
346
- }
347
- },
348
- {
349
- xh: 12,
350
- asid: "2EA2AABF953F4A3483ED854A0034BF92",
48
+ children: []
49
+ },
50
+ {
51
+ xh: 4,
52
+ asid: "61B08EFD73FF4F8282AAC8B7ED66313D",
351
53
  astype: 0,
352
- tname: "gg_table",
353
- attrid: "7A870062F2C94795ABA9923F300BE99A",
354
- attrname: "备注",
54
+ tname: "qsfjfw1_table",
55
+ attrid: "6E8835F705D84C519F616DB81F4CCA0A",
56
+ attrname: "说明",
355
57
  attrtype: 0,
356
- info: '{"input":"textarea","dataType":"string","length":500}',
58
+ info: '{"input":"text","dataType":"string","length":100,"must":true}',
357
59
  info_base64: 0,
358
- createtime: "2026-01-05 21:30:40",
60
+ createtime: "2026-05-06 17:43:42",
359
61
  attrvalue: "",
360
- serialnum: 12,
361
- children: [],
362
- json: {
363
- input: "textarea",
364
- dataType: "string",
365
- length: 500
366
- }
62
+ serialnum: 4,
63
+ children: []
367
64
  }
368
65
  ];
369
66
  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.94",
4
+ "version": "0.3.96",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",