@nocobase/client 1.5.0-beta.24 → 1.5.0-beta.26

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 CHANGED
@@ -16167,7 +16167,10 @@ const ActionLink = withDynamicSchemaProps(
16167
16167
  "&:hover": { "> .general-schema-designer": { display: "block" } },
16168
16168
  "&.nb-action-link": {
16169
16169
  margin: "-12px",
16170
- padding: "12px"
16170
+ padding: "12px",
16171
+ ".nb-action-title": {
16172
+ marginInlineStart: "0px"
16173
+ }
16171
16174
  },
16172
16175
  "> .general-schema-designer": {
16173
16176
  position: "absolute",
@@ -16614,7 +16617,7 @@ const RenderButtonInner = observer$1(
16614
16617
  "title"
16615
16618
  ]);
16616
16619
  if (!t && ((I = n == null ? void 0 : n.data) != null && I.hidden || !o))
16617
- return /* @__PURE__ */ jsx("div", { style: { visibility: "hidden" }, children: " " });
16620
+ return null;
16618
16621
  const v = S || (n == null ? void 0 : n.title);
16619
16622
  return /* @__PURE__ */ jsxs(
16620
16623
  SortableItem,
@@ -19311,7 +19314,7 @@ DatePicker.RangePicker = function e(t) {
19311
19314
  }, t), {
19312
19315
  format: getDateTimeFormat(f, C, i, a),
19313
19316
  picker: f,
19314
- showTime: i ? { defaultValue: [dayjs("00:00:00", "HH:mm:ss"), dayjs("00:00:00", "HH:mm:ss")] } : !1
19317
+ showTime: i ? { defaultValue: [dayjs("00:00:00", "HH:mm:ss"), dayjs("23:59:59", "HH:mm:ss")] } : !1
19315
19318
  }), [S, y] = useState(b);
19316
19319
  return h ? /* @__PURE__ */ jsxs(Space$1.Compact, { children: [
19317
19320
  /* @__PURE__ */ jsx(
@@ -29804,6 +29807,9 @@ const getVariableComponentWithScope = (e) => (t) => {
29804
29807
  return P(x({}, t), {
29805
29808
  collectionName: e
29806
29809
  });
29810
+ },
29811
+ useVisible() {
29812
+ return !useFieldSchema().parent["x-initializer"].includes("bulkEditForm");
29807
29813
  }
29808
29814
  },
29809
29815
  {
@@ -29821,11 +29827,17 @@ const getVariableComponentWithScope = (e) => (t) => {
29821
29827
  },
29822
29828
  {
29823
29829
  name: "assignFieldValues",
29824
- Component: AssignedFieldValues
29830
+ Component: AssignedFieldValues,
29831
+ useVisible() {
29832
+ return !useFieldSchema().parent["x-initializer"].includes("bulkEditForm");
29833
+ }
29825
29834
  },
29826
29835
  {
29827
29836
  name: "skipRequiredValidation",
29828
- Component: SkipValidation
29837
+ Component: SkipValidation,
29838
+ useVisible() {
29839
+ return !useFieldSchema().parent["x-initializer"].includes("bulkEditForm");
29840
+ }
29829
29841
  },
29830
29842
  {
29831
29843
  name: "afterSuccessfulSubmission",
@@ -35013,7 +35025,7 @@ function addAppVersion(e, t) {
35013
35025
  addAppVersion((o = e.properties) == null ? void 0 : o[n], t);
35014
35026
  }), e;
35015
35027
  }
35016
- const name = "@nocobase/client", version = "1.5.0-beta.24", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
35028
+ const name = "@nocobase/client", version = "1.5.0-beta.26", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
35017
35029
  "@ahooksjs/use-url-state": "3.5.1",
35018
35030
  "@ant-design/cssinjs": "^1.11.1",
35019
35031
  "@ant-design/icons": "^5.1.4",
@@ -35035,9 +35047,9 @@ const name = "@nocobase/client", version = "1.5.0-beta.24", license = "AGPL-3.0"
35035
35047
  "@formily/reactive-react": "^2.2.27",
35036
35048
  "@formily/shared": "^2.2.27",
35037
35049
  "@formily/validator": "^2.2.27",
35038
- "@nocobase/evaluators": "1.5.0-beta.24",
35039
- "@nocobase/sdk": "1.5.0-beta.24",
35040
- "@nocobase/utils": "1.5.0-beta.24",
35050
+ "@nocobase/evaluators": "1.5.0-beta.26",
35051
+ "@nocobase/sdk": "1.5.0-beta.26",
35052
+ "@nocobase/utils": "1.5.0-beta.26",
35041
35053
  ahooks: "^3.7.2",
35042
35054
  antd: "5.12.8",
35043
35055
  "antd-style": "3.7.1",
@@ -35873,10 +35885,7 @@ const useFieldComponentOptions = () => {
35873
35885
  ] }));
35874
35886
  });
35875
35887
  InternalDndContext.displayName = "InternalDndContext";
35876
- const DndContext = (e) => {
35877
- const { designable: t } = useDesignable();
35878
- return t ? /* @__PURE__ */ jsx(InternalDndContext, x({}, e)) : /* @__PURE__ */ jsx(Fragment, { children: e.children });
35879
- }, DraggableContext = createContext(null);
35888
+ const DndContext = (e) => /* @__PURE__ */ jsx(InternalDndContext, x({}, e)), DraggableContext = createContext(null);
35880
35889
  DraggableContext.displayName = "DraggableContext";
35881
35890
  const SortableContext = createContext(null);
35882
35891
  SortableContext.displayName = "SortableContext";
@@ -45690,7 +45699,9 @@ const useStyles$2 = genStyleHook("nb-rich-text", (e) => {
45690
45699
  modules: i,
45691
45700
  formats: a,
45692
45701
  value: p,
45693
- onChange: u,
45702
+ onChange: (m) => {
45703
+ u(m === "<p><br></p>" ? void 0 : m);
45704
+ },
45694
45705
  readOnly: d
45695
45706
  }
45696
45707
  )