szld-libs 0.4.56 → 0.4.58

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.
@@ -69,7 +69,8 @@ const DynamicForm = forwardRef((props, ref) => {
69
69
  commonRequestWidthParams,
70
70
  langId,
71
71
  params: {
72
- sysid: "3"
72
+ sysid: "3",
73
+ dicid: langId
73
74
  }
74
75
  });
75
76
  setLangData(langData2);
@@ -213,17 +213,21 @@ function useDetailRender({
213
213
  return /* @__PURE__ */ jsx(Row, { gutter: [10, 8], children: attrList == null ? void 0 : attrList.map((item) => {
214
214
  if ((item == null ? void 0 : item.attrtype) !== 0)
215
215
  return /* @__PURE__ */ jsx(Fragment, {}, item == null ? void 0 : item.attrid);
216
- const info = item.info_base64 === 1 ? getJson(base64ToString(item.info)) : getJson(item.info);
217
- if ((info == null ? void 0 : info.input) === "image") {
218
- return renderImageAttr(item, span);
219
- }
220
- if (["file", "audio", "video"].includes(info == null ? void 0 : info.input)) {
221
- return renderFileAttr(item, span);
222
- }
223
- if ((info == null ? void 0 : info.input) === "radio-card") {
224
- return renderRadioCardAttr(item, span);
216
+ try {
217
+ const info = item.info_base64 === 1 ? getJson(base64ToString(item.info)) : getJson(item.info);
218
+ if ((info == null ? void 0 : info.input) === "image") {
219
+ return renderImageAttr(item, span);
220
+ }
221
+ if (["file", "audio", "video"].includes(info == null ? void 0 : info.input)) {
222
+ return renderFileAttr(item, span);
223
+ }
224
+ if ((info == null ? void 0 : info.input) === "radio-card") {
225
+ return renderRadioCardAttr(item, span);
226
+ }
227
+ return renderTextAttr(item, span, beforeExtraValue, langConfig);
228
+ } catch (error) {
229
+ return renderTextAttr(item, span, beforeExtraValue, langConfig);
225
230
  }
226
- return renderTextAttr(item, span, beforeExtraValue, langConfig);
227
231
  }) });
228
232
  }
229
233
  );
@@ -1,7 +1,7 @@
1
1
  import { AxiosResponse } from 'axios';
2
2
  import { ReactNode } from 'react';
3
3
  declare function useUniversalTable(): {
4
- handleUniversalHeaderToColumns: ({ universalHeader, extraBtn, operationColumnConfig, attributeSetId, getTitle, downloadText, isDefaultWidth, otherLangPageId, objDefaultLangPageId, }: {
4
+ handleUniversalHeaderToColumns: ({ universalHeader, extraBtn, operationColumnConfig, attributeSetId, getTitle, downloadText, otherLangPageId, objDefaultLangPageId, }: {
5
5
  universalHeader: any[];
6
6
  extraBtn?: {
7
7
  [key: string]: (record: any, content: string, item: any) => ReactNode;
@@ -10,7 +10,6 @@ declare function useUniversalTable(): {
10
10
  attributeSetId?: string | undefined;
11
11
  getTitle?: ((pageID: string, dataID: string) => string) | undefined;
12
12
  downloadText?: string | undefined;
13
- isDefaultWidth?: boolean | undefined;
14
13
  otherLangPageId?: string | undefined;
15
14
  objDefaultLangPageId?: string | undefined;
16
15
  }) => any[] | import("antd/es/message/interface").MessageType;
@@ -219,7 +219,6 @@ function useUniversalTable() {
219
219
  attributeSetId,
220
220
  getTitle,
221
221
  downloadText = "下载",
222
- isDefaultWidth = true,
223
222
  otherLangPageId,
224
223
  objDefaultLangPageId = "5000000"
225
224
  // 处理这种数据时 如果没有拼接页面编号则使用默认编号{"list":["021"],"delimiter":""}
@@ -231,7 +230,7 @@ function useUniversalTable() {
231
230
  const column = {
232
231
  title: attributeSetId ? (getTitle == null ? void 0 : getTitle(attributeSetId, item == null ? void 0 : item["header-attribute-id"])) || "" : (item == null ? void 0 : item["header-name"]) || "",
233
232
  dataIndex: (item == null ? void 0 : item["header-attribute-id"]) || "",
234
- width: isDefaultWidth ? (item == null ? void 0 : item["header-width"]) || 180 : void 0,
233
+ width: (item == null ? void 0 : item["header-width"]) || void 0,
235
234
  render: (text, record) => {
236
235
  var _a, _b, _c, _d;
237
236
  if (text && text && typeof text === "string" && (text == null ? void 0 : text.includes("FileName")) && (text == null ? void 0 : text.includes("FilePath"))) {
package/es/index.js CHANGED
@@ -8,10 +8,12 @@ import ReactDOM from "react-dom/client";
8
8
  import zhCN from "antd/es/locale/zh_CN";
9
9
  import { attrList } from "./mock";
10
10
  import dayjs from "dayjs";
11
+ import useDetailRender from "./hooks/useDetailRender";
11
12
  const index = "";
12
13
  const tableDetail = "";
13
14
  dayjs.locale("zh-cn");
14
15
  const Demo = () => {
16
+ const { renderDetail } = useDetailRender({ layoutType: "flex" });
15
17
  const formRef = useRef(null);
16
18
  const [form] = Form.useForm();
17
19
  const [list, setList] = useState([]);
@@ -31,31 +33,37 @@ const Demo = () => {
31
33
  };
32
34
  return /* @__PURE__ */ jsxs("div", { style: { height: "100vh", display: "flex", flexDirection: "column", gap: 20 }, children: [
33
35
  /* @__PURE__ */ jsx(BackHeader, { title: "页头组件", isBack: true }),
34
- /* @__PURE__ */ jsx("div", { style: { padding: "20px" }, children: /* @__PURE__ */ jsxs(Form, { form, onValuesChange, layout: "vertical", onFinish, children: [
35
- /* @__PURE__ */ jsx(
36
- DynamicForm,
37
- {
38
- formConfig: list,
39
- readonly: false,
40
- form,
41
- relatedid: "guid",
42
- colNum: 1,
43
- commonRequestWidthParams: () => {
44
- return new Promise((resolve, reject) => {
45
- });
46
- },
47
- uploadAction: () => "",
48
- commonRequest: () => {
49
- return new Promise((resolve, reject) => {
50
- });
51
- },
52
- instructionShowMode: "icon",
53
- ref: formRef,
54
- langId
55
- }
56
- ),
57
- /* @__PURE__ */ jsx(Form.Item, { name: "submit", style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsx(Button, { type: "primary", htmlType: "submit", children: "Submit" }) })
58
- ] }) }),
36
+ /* @__PURE__ */ jsxs("div", { style: { padding: "20px" }, children: [
37
+ renderDetail({
38
+ attrList,
39
+ span: 8
40
+ }),
41
+ /* @__PURE__ */ jsxs(Form, { form, onValuesChange, layout: "vertical", onFinish, children: [
42
+ /* @__PURE__ */ jsx(
43
+ DynamicForm,
44
+ {
45
+ formConfig: list,
46
+ readonly: false,
47
+ form,
48
+ relatedid: "guid",
49
+ colNum: 1,
50
+ commonRequestWidthParams: () => {
51
+ return new Promise((resolve, reject) => {
52
+ });
53
+ },
54
+ uploadAction: () => "",
55
+ commonRequest: () => {
56
+ return new Promise((resolve, reject) => {
57
+ });
58
+ },
59
+ instructionShowMode: "icon",
60
+ ref: formRef,
61
+ langId
62
+ }
63
+ ),
64
+ /* @__PURE__ */ jsx(Form.Item, { name: "submit", style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsx(Button, { type: "primary", htmlType: "submit", children: "Submit" }) })
65
+ ] })
66
+ ] }),
59
67
  /* @__PURE__ */ jsxs("div", { children: [
60
68
  "2. 测试循环滚动组件",
61
69
  /* @__PURE__ */ jsx(
package/es/mock/index.js CHANGED
@@ -1,124 +1,19 @@
1
1
  const baseAttrList = [];
2
2
  const attrList = [
3
3
  {
4
- xh: 2,
5
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
4
+ xh: 1,
5
+ asid: "6DD67D8C648244378C7DBAEAC368ABCA",
6
6
  astype: 0,
7
- tname: "zysqwzh_table",
8
- attrid: "5C4E5041F12447B99A563E569F40DB40",
9
- attrname: "账号",
7
+ tname: "rt_table2",
8
+ attrid: "6C06059DE61C4344BFA2E05674A04AF4",
9
+ attrname: "Dates",
10
10
  attrtype: 0,
11
- info: '{\r\n "input": "text",\r\n "dataType": "string",\r\n "length": 100,\r\n "regexp": "/^[a-zA-Z!@#$%^&*,.\\_]+$/",\r\n "regexp-message": "仅可输入英文+特殊符号(!@#$%^&*,._)",\r\n "data-uniqueness": true,\r\n "must": true\r\n}',
11
+ info: '{"input":"multiple-date-picker","range-picker-save":"single","dataType":"date","must":true,"max-tag-count":2}',
12
12
  info_base64: 0,
13
- createtime: "2026-04-27 18:10:57",
13
+ createtime: "2026-02-11 14:31:06",
14
14
  attrvalue: "",
15
15
  serialnum: 1,
16
16
  children: []
17
- },
18
- {
19
- xh: 3,
20
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
21
- astype: 0,
22
- tname: "zysqwzh_table",
23
- attrid: "533C58403EF14EB99C05A97AD308E005",
24
- attrname: "密码",
25
- attrtype: 0,
26
- info: '{\r\n "input": "password",\r\n "dataType": "string",\r\n "length": 100,\r\n "regexp": "/^(?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*,.\\_])[\\da-zA-Z!@#$%^&*,.\\_]{8,16}$/",\r\n "regexp-message": "请输入8-16位密码,必须包含数字、大写字母、小写字母和特殊符号(!@#$%^&*,._)",\r\n "must": true,\r\n "data-save-type": "encode|SM3|local|szldgg"\r\n}',
27
- info_base64: 0,
28
- createtime: "2026-04-27 18:11:30",
29
- attrvalue: "",
30
- serialnum: 2,
31
- children: []
32
- },
33
- {
34
- xh: 4,
35
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
36
- astype: 0,
37
- tname: "zysqwzh_table",
38
- attrid: "7B008404ADCD4BEF864C363C273906B7",
39
- attrname: "单位名称",
40
- attrtype: 0,
41
- info: '{"input":"text","message":"请输入单位名称","dataType":"string","length":100,"must":true}',
42
- info_base64: 0,
43
- createtime: "2026-04-27 18:12:40",
44
- attrvalue: "",
45
- serialnum: 3,
46
- children: []
47
- },
48
- {
49
- xh: 5,
50
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
51
- astype: 0,
52
- tname: "zysqwzh_table",
53
- attrid: "C47E1F05EEBC45819F29A97ADCF67434",
54
- attrname: "联系人",
55
- attrtype: 0,
56
- info: '{"input":"text","message":"请输入联系人","dataType":"string","length":10,"must":true}',
57
- info_base64: 0,
58
- createtime: "2026-04-27 18:13:02",
59
- attrvalue: "",
60
- serialnum: 4,
61
- children: []
62
- },
63
- {
64
- xh: 6,
65
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
66
- astype: 0,
67
- tname: "zysqwzh_table",
68
- attrid: "FB3B3F384A7F48AE8DAEF48BB71E8A2A",
69
- attrname: "联系电话",
70
- attrtype: 0,
71
- info: '{"input":"text","message":"请输入联系电话","dataType":"string","length":20,"must":true}',
72
- info_base64: 0,
73
- createtime: "2026-04-27 18:13:36",
74
- attrvalue: "",
75
- serialnum: 5,
76
- children: []
77
- },
78
- {
79
- xh: 7,
80
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
81
- astype: 0,
82
- tname: "zysqwzh_table",
83
- attrid: "31476E09F6604BF88394462BDF2E4A79",
84
- attrname: "备注",
85
- attrtype: 0,
86
- info: '{"input":"text","dataType":"string","length":1000,"must":true}',
87
- info_base64: 0,
88
- createtime: "2026-04-27 18:14:16",
89
- attrvalue: "",
90
- serialnum: 6,
91
- children: []
92
- },
93
- {
94
- xh: 9,
95
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
96
- astype: 0,
97
- tname: "zysqwzh_table",
98
- attrid: "CDCD18D269D0414AA211635C694C674C",
99
- attrname: "账号类型",
100
- attrtype: 0,
101
- info: '{"input":"select","dataType":"string","length":100,"inputType":"local","data":["普通","销售A","销售B"],"must":true,"default": "普通"}',
102
- info_base64: 0,
103
- createtime: "2026-04-29 18:24:25",
104
- attrvalue: "",
105
- serialnum: 8,
106
- children: []
107
- },
108
- {
109
- xh: 10,
110
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
111
- astype: 0,
112
- tname: "zysqwzh_table",
113
- attrid: "8194CF02CAF54D34BEA0557AB1F2CFFA",
114
- attrname: "分润比例",
115
- attrtype: 0,
116
- info: '{"input":"select","dataType":"string","length":100,"inputType":"local","data":["0","0.2","0.3"],"must":true,"default": "0"}',
117
- info_base64: 0,
118
- createtime: "2026-04-29 18:40:00",
119
- attrvalue: "",
120
- serialnum: 9,
121
- children: []
122
17
  }
123
18
  ];
124
19
  const values = {
@@ -70,7 +70,8 @@ const DynamicForm = react.forwardRef((props, ref) => {
70
70
  commonRequestWidthParams,
71
71
  langId,
72
72
  params: {
73
- sysid: "3"
73
+ sysid: "3",
74
+ dicid: langId
74
75
  }
75
76
  });
76
77
  setLangData(langData2);
@@ -214,17 +214,21 @@ function useDetailRender({
214
214
  return /* @__PURE__ */ jsxRuntime.jsx(antd.Row, { gutter: [10, 8], children: attrList == null ? void 0 : attrList.map((item) => {
215
215
  if ((item == null ? void 0 : item.attrtype) !== 0)
216
216
  return /* @__PURE__ */ jsxRuntime.jsx(react.Fragment, {}, item == null ? void 0 : item.attrid);
217
- const info = item.info_base64 === 1 ? method.getJson(method.base64ToString(item.info)) : method.getJson(item.info);
218
- if ((info == null ? void 0 : info.input) === "image") {
219
- return renderImageAttr(item, span);
220
- }
221
- if (["file", "audio", "video"].includes(info == null ? void 0 : info.input)) {
222
- return renderFileAttr(item, span);
223
- }
224
- if ((info == null ? void 0 : info.input) === "radio-card") {
225
- return renderRadioCardAttr(item, span);
217
+ try {
218
+ const info = item.info_base64 === 1 ? method.getJson(method.base64ToString(item.info)) : method.getJson(item.info);
219
+ if ((info == null ? void 0 : info.input) === "image") {
220
+ return renderImageAttr(item, span);
221
+ }
222
+ if (["file", "audio", "video"].includes(info == null ? void 0 : info.input)) {
223
+ return renderFileAttr(item, span);
224
+ }
225
+ if ((info == null ? void 0 : info.input) === "radio-card") {
226
+ return renderRadioCardAttr(item, span);
227
+ }
228
+ return renderTextAttr(item, span, beforeExtraValue, langConfig);
229
+ } catch (error) {
230
+ return renderTextAttr(item, span, beforeExtraValue, langConfig);
226
231
  }
227
- return renderTextAttr(item, span, beforeExtraValue, langConfig);
228
232
  }) });
229
233
  }
230
234
  );
@@ -1,7 +1,7 @@
1
1
  import { AxiosResponse } from 'axios';
2
2
  import { ReactNode } from 'react';
3
3
  declare function useUniversalTable(): {
4
- handleUniversalHeaderToColumns: ({ universalHeader, extraBtn, operationColumnConfig, attributeSetId, getTitle, downloadText, isDefaultWidth, otherLangPageId, objDefaultLangPageId, }: {
4
+ handleUniversalHeaderToColumns: ({ universalHeader, extraBtn, operationColumnConfig, attributeSetId, getTitle, downloadText, otherLangPageId, objDefaultLangPageId, }: {
5
5
  universalHeader: any[];
6
6
  extraBtn?: {
7
7
  [key: string]: (record: any, content: string, item: any) => ReactNode;
@@ -10,7 +10,6 @@ declare function useUniversalTable(): {
10
10
  attributeSetId?: string | undefined;
11
11
  getTitle?: ((pageID: string, dataID: string) => string) | undefined;
12
12
  downloadText?: string | undefined;
13
- isDefaultWidth?: boolean | undefined;
14
13
  otherLangPageId?: string | undefined;
15
14
  objDefaultLangPageId?: string | undefined;
16
15
  }) => any[] | import("antd/es/message/interface").MessageType;
@@ -220,7 +220,6 @@ function useUniversalTable() {
220
220
  attributeSetId,
221
221
  getTitle,
222
222
  downloadText = "下载",
223
- isDefaultWidth = true,
224
223
  otherLangPageId,
225
224
  objDefaultLangPageId = "5000000"
226
225
  // 处理这种数据时 如果没有拼接页面编号则使用默认编号{"list":["021"],"delimiter":""}
@@ -232,7 +231,7 @@ function useUniversalTable() {
232
231
  const column = {
233
232
  title: attributeSetId ? (getTitle == null ? void 0 : getTitle(attributeSetId, item == null ? void 0 : item["header-attribute-id"])) || "" : (item == null ? void 0 : item["header-name"]) || "",
234
233
  dataIndex: (item == null ? void 0 : item["header-attribute-id"]) || "",
235
- width: isDefaultWidth ? (item == null ? void 0 : item["header-width"]) || 180 : void 0,
234
+ width: (item == null ? void 0 : item["header-width"]) || void 0,
236
235
  render: (text, record) => {
237
236
  var _a, _b, _c, _d;
238
237
  if (text && text && typeof text === "string" && (text == null ? void 0 : text.includes("FileName")) && (text == null ? void 0 : text.includes("FilePath"))) {
package/lib/index.js CHANGED
@@ -9,10 +9,12 @@ const ReactDOM = require("react-dom/client");
9
9
  const zhCN = require("antd/es/locale/zh_CN");
10
10
  const mock = require("./mock");
11
11
  const dayjs = require("dayjs");
12
+ const useDetailRender = require("./hooks/useDetailRender");
12
13
  const index = "";
13
14
  const tableDetail = "";
14
15
  dayjs.locale("zh-cn");
15
16
  const Demo = () => {
17
+ const { renderDetail } = useDetailRender({ layoutType: "flex" });
16
18
  const formRef = react.useRef(null);
17
19
  const [form] = antd.Form.useForm();
18
20
  const [list, setList] = react.useState([]);
@@ -32,31 +34,37 @@ const Demo = () => {
32
34
  };
33
35
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { height: "100vh", display: "flex", flexDirection: "column", gap: 20 }, children: [
34
36
  /* @__PURE__ */ jsxRuntime.jsx(main.BackHeader, { title: "页头组件", isBack: true }),
35
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "20px" }, children: /* @__PURE__ */ jsxRuntime.jsxs(antd.Form, { form, onValuesChange, layout: "vertical", onFinish, children: [
36
- /* @__PURE__ */ jsxRuntime.jsx(
37
- main.DynamicForm,
38
- {
39
- formConfig: list,
40
- readonly: false,
41
- form,
42
- relatedid: "guid",
43
- colNum: 1,
44
- commonRequestWidthParams: () => {
45
- return new Promise((resolve, reject) => {
46
- });
47
- },
48
- uploadAction: () => "",
49
- commonRequest: () => {
50
- return new Promise((resolve, reject) => {
51
- });
52
- },
53
- instructionShowMode: "icon",
54
- ref: formRef,
55
- langId
56
- }
57
- ),
58
- /* @__PURE__ */ jsxRuntime.jsx(antd.Form.Item, { name: "submit", style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Button, { type: "primary", htmlType: "submit", children: "Submit" }) })
59
- ] }) }),
37
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { padding: "20px" }, children: [
38
+ renderDetail({
39
+ attrList: mock.attrList,
40
+ span: 8
41
+ }),
42
+ /* @__PURE__ */ jsxRuntime.jsxs(antd.Form, { form, onValuesChange, layout: "vertical", onFinish, children: [
43
+ /* @__PURE__ */ jsxRuntime.jsx(
44
+ main.DynamicForm,
45
+ {
46
+ formConfig: list,
47
+ readonly: false,
48
+ form,
49
+ relatedid: "guid",
50
+ colNum: 1,
51
+ commonRequestWidthParams: () => {
52
+ return new Promise((resolve, reject) => {
53
+ });
54
+ },
55
+ uploadAction: () => "",
56
+ commonRequest: () => {
57
+ return new Promise((resolve, reject) => {
58
+ });
59
+ },
60
+ instructionShowMode: "icon",
61
+ ref: formRef,
62
+ langId
63
+ }
64
+ ),
65
+ /* @__PURE__ */ jsxRuntime.jsx(antd.Form.Item, { name: "submit", style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Button, { type: "primary", htmlType: "submit", children: "Submit" }) })
66
+ ] })
67
+ ] }),
60
68
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
61
69
  "2. 测试循环滚动组件",
62
70
  /* @__PURE__ */ jsxRuntime.jsx(
package/lib/mock/index.js CHANGED
@@ -3,124 +3,19 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const baseAttrList = [];
4
4
  const attrList = [
5
5
  {
6
- xh: 2,
7
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
6
+ xh: 1,
7
+ asid: "6DD67D8C648244378C7DBAEAC368ABCA",
8
8
  astype: 0,
9
- tname: "zysqwzh_table",
10
- attrid: "5C4E5041F12447B99A563E569F40DB40",
11
- attrname: "账号",
9
+ tname: "rt_table2",
10
+ attrid: "6C06059DE61C4344BFA2E05674A04AF4",
11
+ attrname: "Dates",
12
12
  attrtype: 0,
13
- info: '{\r\n "input": "text",\r\n "dataType": "string",\r\n "length": 100,\r\n "regexp": "/^[a-zA-Z!@#$%^&*,.\\_]+$/",\r\n "regexp-message": "仅可输入英文+特殊符号(!@#$%^&*,._)",\r\n "data-uniqueness": true,\r\n "must": true\r\n}',
13
+ info: '{"input":"multiple-date-picker","range-picker-save":"single","dataType":"date","must":true,"max-tag-count":2}',
14
14
  info_base64: 0,
15
- createtime: "2026-04-27 18:10:57",
15
+ createtime: "2026-02-11 14:31:06",
16
16
  attrvalue: "",
17
17
  serialnum: 1,
18
18
  children: []
19
- },
20
- {
21
- xh: 3,
22
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
23
- astype: 0,
24
- tname: "zysqwzh_table",
25
- attrid: "533C58403EF14EB99C05A97AD308E005",
26
- attrname: "密码",
27
- attrtype: 0,
28
- info: '{\r\n "input": "password",\r\n "dataType": "string",\r\n "length": 100,\r\n "regexp": "/^(?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*,.\\_])[\\da-zA-Z!@#$%^&*,.\\_]{8,16}$/",\r\n "regexp-message": "请输入8-16位密码,必须包含数字、大写字母、小写字母和特殊符号(!@#$%^&*,._)",\r\n "must": true,\r\n "data-save-type": "encode|SM3|local|szldgg"\r\n}',
29
- info_base64: 0,
30
- createtime: "2026-04-27 18:11:30",
31
- attrvalue: "",
32
- serialnum: 2,
33
- children: []
34
- },
35
- {
36
- xh: 4,
37
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
38
- astype: 0,
39
- tname: "zysqwzh_table",
40
- attrid: "7B008404ADCD4BEF864C363C273906B7",
41
- attrname: "单位名称",
42
- attrtype: 0,
43
- info: '{"input":"text","message":"请输入单位名称","dataType":"string","length":100,"must":true}',
44
- info_base64: 0,
45
- createtime: "2026-04-27 18:12:40",
46
- attrvalue: "",
47
- serialnum: 3,
48
- children: []
49
- },
50
- {
51
- xh: 5,
52
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
53
- astype: 0,
54
- tname: "zysqwzh_table",
55
- attrid: "C47E1F05EEBC45819F29A97ADCF67434",
56
- attrname: "联系人",
57
- attrtype: 0,
58
- info: '{"input":"text","message":"请输入联系人","dataType":"string","length":10,"must":true}',
59
- info_base64: 0,
60
- createtime: "2026-04-27 18:13:02",
61
- attrvalue: "",
62
- serialnum: 4,
63
- children: []
64
- },
65
- {
66
- xh: 6,
67
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
68
- astype: 0,
69
- tname: "zysqwzh_table",
70
- attrid: "FB3B3F384A7F48AE8DAEF48BB71E8A2A",
71
- attrname: "联系电话",
72
- attrtype: 0,
73
- info: '{"input":"text","message":"请输入联系电话","dataType":"string","length":20,"must":true}',
74
- info_base64: 0,
75
- createtime: "2026-04-27 18:13:36",
76
- attrvalue: "",
77
- serialnum: 5,
78
- children: []
79
- },
80
- {
81
- xh: 7,
82
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
83
- astype: 0,
84
- tname: "zysqwzh_table",
85
- attrid: "31476E09F6604BF88394462BDF2E4A79",
86
- attrname: "备注",
87
- attrtype: 0,
88
- info: '{"input":"text","dataType":"string","length":1000,"must":true}',
89
- info_base64: 0,
90
- createtime: "2026-04-27 18:14:16",
91
- attrvalue: "",
92
- serialnum: 6,
93
- children: []
94
- },
95
- {
96
- xh: 9,
97
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
98
- astype: 0,
99
- tname: "zysqwzh_table",
100
- attrid: "CDCD18D269D0414AA211635C694C674C",
101
- attrname: "账号类型",
102
- attrtype: 0,
103
- info: '{"input":"select","dataType":"string","length":100,"inputType":"local","data":["普通","销售A","销售B"],"must":true,"default": "普通"}',
104
- info_base64: 0,
105
- createtime: "2026-04-29 18:24:25",
106
- attrvalue: "",
107
- serialnum: 8,
108
- children: []
109
- },
110
- {
111
- xh: 10,
112
- asid: "3D047E82C28B4D918ED5E02A52206F2A",
113
- astype: 0,
114
- tname: "zysqwzh_table",
115
- attrid: "8194CF02CAF54D34BEA0557AB1F2CFFA",
116
- attrname: "分润比例",
117
- attrtype: 0,
118
- info: '{"input":"select","dataType":"string","length":100,"inputType":"local","data":["0","0.2","0.3"],"must":true,"default": "0"}',
119
- info_base64: 0,
120
- createtime: "2026-04-29 18:40:00",
121
- attrvalue: "",
122
- serialnum: 9,
123
- children: []
124
19
  }
125
20
  ];
126
21
  const values = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.4.56",
4
+ "version": "0.4.58",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",