@nocobase/client 1.5.15 → 1.5.16
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/es/index.mjs +15 -15
- package/lib/index.js +2 -2
- package/lib/locale/it-IT.js +861 -0
- package/package.json +5 -5
package/es/index.mjs
CHANGED
|
@@ -35212,7 +35212,7 @@ function addAppVersion(e, t) {
|
|
|
35212
35212
|
addAppVersion((o = e.properties) == null ? void 0 : o[n], t);
|
|
35213
35213
|
}), e;
|
|
35214
35214
|
}
|
|
35215
|
-
const name = "@nocobase/client", version = "1.5.
|
|
35215
|
+
const name = "@nocobase/client", version = "1.5.16", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
35216
35216
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
35217
35217
|
"@ant-design/cssinjs": "^1.11.1",
|
|
35218
35218
|
"@ant-design/icons": "^5.1.4",
|
|
@@ -35234,9 +35234,9 @@ const name = "@nocobase/client", version = "1.5.15", license = "AGPL-3.0", main
|
|
|
35234
35234
|
"@formily/reactive-react": "^2.2.27",
|
|
35235
35235
|
"@formily/shared": "^2.2.27",
|
|
35236
35236
|
"@formily/validator": "^2.2.27",
|
|
35237
|
-
"@nocobase/evaluators": "1.5.
|
|
35238
|
-
"@nocobase/sdk": "1.5.
|
|
35239
|
-
"@nocobase/utils": "1.5.
|
|
35237
|
+
"@nocobase/evaluators": "1.5.16",
|
|
35238
|
+
"@nocobase/sdk": "1.5.16",
|
|
35239
|
+
"@nocobase/utils": "1.5.16",
|
|
35240
35240
|
ahooks: "^3.7.2",
|
|
35241
35241
|
antd: "5.12.8",
|
|
35242
35242
|
"antd-style": "3.7.1",
|
|
@@ -45916,9 +45916,9 @@ const useStyles$2 = genStyleHook("nb-rich-text", (e) => {
|
|
|
45916
45916
|
};
|
|
45917
45917
|
}), ReactQuill = lazy(() => import("react-quill")), RichText = connect(
|
|
45918
45918
|
(e) => {
|
|
45919
|
-
const {
|
|
45919
|
+
const { wrapSSR: t, hashId: n, componentCls: o } = useStyles$2(), r = {
|
|
45920
45920
|
toolbar: [["bold", "italic", "underline", "link"], [{ list: "ordered" }, { list: "bullet" }], ["clean"]]
|
|
45921
|
-
},
|
|
45921
|
+
}, i = [
|
|
45922
45922
|
"header",
|
|
45923
45923
|
"bold",
|
|
45924
45924
|
"italic",
|
|
@@ -45930,19 +45930,19 @@ const useStyles$2 = genStyleHook("nb-rich-text", (e) => {
|
|
|
45930
45930
|
"indent",
|
|
45931
45931
|
"link",
|
|
45932
45932
|
"image"
|
|
45933
|
-
], { value:
|
|
45934
|
-
return t
|
|
45933
|
+
], { value: a, defaultValue: l, onChange: c, disabled: u } = e, d = isVariable(a || l) ? void 0 : a || "";
|
|
45934
|
+
return t(
|
|
45935
45935
|
/* @__PURE__ */ jsx(
|
|
45936
45936
|
ReactQuill,
|
|
45937
45937
|
{
|
|
45938
|
-
className: `${
|
|
45939
|
-
modules:
|
|
45940
|
-
formats:
|
|
45941
|
-
value:
|
|
45942
|
-
onChange: (
|
|
45943
|
-
|
|
45938
|
+
className: `${o} ${n}`,
|
|
45939
|
+
modules: r,
|
|
45940
|
+
formats: i,
|
|
45941
|
+
value: d,
|
|
45942
|
+
onChange: (p) => {
|
|
45943
|
+
c(p === "<p><br></p>" ? void 0 : p);
|
|
45944
45944
|
},
|
|
45945
|
-
readOnly:
|
|
45945
|
+
readOnly: u
|
|
45946
45946
|
}
|
|
45947
45947
|
)
|
|
45948
45948
|
);
|