szld-libs 0.3.89 → 0.3.90

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.
@@ -95,18 +95,41 @@ function useDetailRender({
95
95
  item == null ? void 0 : item.attrname,
96
96
  ":"
97
97
  ] }),
98
- /* @__PURE__ */ jsxs("span", { style: { wordWrap: "break-word" }, children: [
99
- beforeExtraValue || "",
100
- " ",
101
- getTitle(langConfig || [], (item == null ? void 0 : item.attrvalue) || "-")
102
- ] })
98
+ /* @__PURE__ */ jsxs(
99
+ "span",
100
+ {
101
+ style: {
102
+ wordWrap: "break-word",
103
+ wordBreak: "break-all",
104
+ overflowWrap: "break-word",
105
+ minWidth: 0,
106
+ flex: 1
107
+ },
108
+ children: [
109
+ beforeExtraValue || "",
110
+ " ",
111
+ getTitle(langConfig || [], (item == null ? void 0 : item.attrvalue) || "-")
112
+ ]
113
+ }
114
+ )
103
115
  ] }) }),
104
116
  layoutType === "row" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
105
117
  /* @__PURE__ */ jsx(Col, { span: labelSpan, children: item == null ? void 0 : item.attrname }),
106
- /* @__PURE__ */ jsxs(Col, { span: valueSpan, style: { wordWrap: "break-word" }, children: [
107
- beforeExtraValue || "",
108
- getTitle(langConfig || [], (item == null ? void 0 : item.attrvalue) || "-")
109
- ] })
118
+ /* @__PURE__ */ jsxs(
119
+ Col,
120
+ {
121
+ span: valueSpan,
122
+ style: {
123
+ wordWrap: "break-word",
124
+ wordBreak: "break-all",
125
+ overflowWrap: "break-word"
126
+ },
127
+ children: [
128
+ beforeExtraValue || "",
129
+ getTitle(langConfig || [], (item == null ? void 0 : item.attrvalue) || "-")
130
+ ]
131
+ }
132
+ )
110
133
  ] })
111
134
  ] }, item == null ? void 0 : item.attrid);
112
135
  };
@@ -96,18 +96,41 @@ function useDetailRender({
96
96
  item == null ? void 0 : item.attrname,
97
97
  ":"
98
98
  ] }),
99
- /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { wordWrap: "break-word" }, children: [
100
- beforeExtraValue || "",
101
- " ",
102
- method.getTitle(langConfig || [], (item == null ? void 0 : item.attrvalue) || "-")
103
- ] })
99
+ /* @__PURE__ */ jsxRuntime.jsxs(
100
+ "span",
101
+ {
102
+ style: {
103
+ wordWrap: "break-word",
104
+ wordBreak: "break-all",
105
+ overflowWrap: "break-word",
106
+ minWidth: 0,
107
+ flex: 1
108
+ },
109
+ children: [
110
+ beforeExtraValue || "",
111
+ " ",
112
+ method.getTitle(langConfig || [], (item == null ? void 0 : item.attrvalue) || "-")
113
+ ]
114
+ }
115
+ )
104
116
  ] }) }),
105
117
  layoutType === "row" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
106
118
  /* @__PURE__ */ jsxRuntime.jsx(antd.Col, { span: labelSpan, children: item == null ? void 0 : item.attrname }),
107
- /* @__PURE__ */ jsxRuntime.jsxs(antd.Col, { span: valueSpan, style: { wordWrap: "break-word" }, children: [
108
- beforeExtraValue || "",
109
- method.getTitle(langConfig || [], (item == null ? void 0 : item.attrvalue) || "-")
110
- ] })
119
+ /* @__PURE__ */ jsxRuntime.jsxs(
120
+ antd.Col,
121
+ {
122
+ span: valueSpan,
123
+ style: {
124
+ wordWrap: "break-word",
125
+ wordBreak: "break-all",
126
+ overflowWrap: "break-word"
127
+ },
128
+ children: [
129
+ beforeExtraValue || "",
130
+ method.getTitle(langConfig || [], (item == null ? void 0 : item.attrvalue) || "-")
131
+ ]
132
+ }
133
+ )
111
134
  ] })
112
135
  ] }, item == null ? void 0 : item.attrid);
113
136
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.3.89",
4
+ "version": "0.3.90",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",