@nocobase/client 1.3.28-beta → 1.3.29-beta

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
@@ -4110,7 +4110,7 @@ function addAppVersion(e, t) {
4110
4110
  addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
4111
4111
  }), e;
4112
4112
  }
4113
- const name = "@nocobase/client", version$1 = "1.3.28-beta", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
4113
+ const name = "@nocobase/client", version$1 = "1.3.29-beta", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
4114
4114
  "@ahooksjs/use-url-state": "3.5.1",
4115
4115
  "@ant-design/cssinjs": "^1.11.1",
4116
4116
  "@ant-design/icons": "^5.1.4",
@@ -4131,9 +4131,9 @@ const name = "@nocobase/client", version$1 = "1.3.28-beta", license = "AGPL-3.0"
4131
4131
  "@formily/reactive-react": "^2.2.27",
4132
4132
  "@formily/shared": "^2.2.27",
4133
4133
  "@formily/validator": "^2.2.27",
4134
- "@nocobase/evaluators": "1.3.28-beta",
4135
- "@nocobase/sdk": "1.3.28-beta",
4136
- "@nocobase/utils": "1.3.28-beta",
4134
+ "@nocobase/evaluators": "1.3.29-beta",
4135
+ "@nocobase/sdk": "1.3.29-beta",
4136
+ "@nocobase/utils": "1.3.29-beta",
4137
4137
  ahooks: "^3.7.2",
4138
4138
  antd: "5.12.8",
4139
4139
  "antd-style": "3.4.5",
@@ -12315,7 +12315,9 @@ const variablesStore = {}, getFieldPath = (e, t) => {
12315
12315
  I = removeThroughCollectionFields(getValuesByPath(I, j), B);
12316
12316
  B != null && B.target && (D = B.target);
12317
12317
  }
12318
- const O = i(_.isFunction(I) ? I({ fieldOperator: S == null ? void 0 : S.fieldOperator }) : I);
12318
+ const O = i(
12319
+ _.isFunction(I) ? I({ fieldOperator: S == null ? void 0 : S.fieldOperator, isParsingVariable: !0 }) : I
12320
+ );
12319
12321
  return {
12320
12322
  value: O === void 0 ? T.defaultValue : O,
12321
12323
  dataSource: k,
@@ -12610,7 +12612,7 @@ const getStart = (e, t) => dayjs().add(e, t === "isoWeek" ? "week" : t).startOf(
12610
12612
  };
12611
12613
  };
12612
12614
  function withParams(e, t) {
12613
- return t != null && t.fieldOperator && t.fieldOperator !== "$dateBetween" ? e[0] : e;
12615
+ return (t == null ? void 0 : t.fieldOperator) === "$dateBetween" || !(t != null && t.isParsingVariable) ? e : e[0];
12614
12616
  }
12615
12617
  const DatePickerContext = React.createContext({ utc: !0 }), useDatePickerContext = () => React.useContext(DatePickerContext), DatePickerProvider = DatePickerContext.Provider, InternalDatePicker = connect(
12616
12618
  DatePicker$1,
@@ -16809,7 +16811,7 @@ const findOption$1 = (e = [], t) => {
16809
16811
  collectionField: e,
16810
16812
  noDisabled: r,
16811
16813
  targetFieldSchema: i
16812
- }), { apiTokenSettings: d } = useAPITokenVariable({ noDisabled: r }), { datetimeSettings: p } = useDatetimeVariable({ operator: n, schema: o, noDisabled: r, targetFieldSchema: i }), { currentFormSettings: m, shouldDisplayCurrentForm: h } = useCurrentFormVariable({
16814
+ }), { apiTokenSettings: d } = useAPITokenVariable({ noDisabled: r }), { datetimeSettings: p } = useDatetimeVariable({ operator: n, schema: o, noDisabled: !0, targetFieldSchema: i }), { currentFormSettings: m, shouldDisplayCurrentForm: h } = useCurrentFormVariable({
16813
16815
  schema: o,
16814
16816
  collectionField: e,
16815
16817
  noDisabled: r,