@nocobase/client 1.7.0-beta.29 → 1.7.0-beta.30

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
@@ -7903,6 +7903,7 @@ function withInitializer(e) {
7903
7903
  children: f === !1 ? React.createElement(e, N) : /* @__PURE__ */ jsx(
7904
7904
  Popover,
7905
7905
  P(x({
7906
+ zIndex: 9999,
7906
7907
  placement: "bottomLeft"
7907
7908
  }, h), {
7908
7909
  arrow: !1,
@@ -8297,7 +8298,7 @@ function addAppVersion(e, t) {
8297
8298
  addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
8298
8299
  }), e;
8299
8300
  }
8300
- const name = "@nocobase/client", version = "1.7.0-beta.29", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
8301
+ const name = "@nocobase/client", version = "1.7.0-beta.30", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
8301
8302
  "@ahooksjs/use-url-state": "3.5.1",
8302
8303
  "@ant-design/cssinjs": "^1.11.1",
8303
8304
  "@ant-design/icons": "^5.6.1",
@@ -8319,9 +8320,9 @@ const name = "@nocobase/client", version = "1.7.0-beta.29", license = "AGPL-3.0"
8319
8320
  "@formily/reactive-react": "^2.2.27",
8320
8321
  "@formily/shared": "^2.2.27",
8321
8322
  "@formily/validator": "^2.2.27",
8322
- "@nocobase/evaluators": "1.7.0-beta.29",
8323
- "@nocobase/sdk": "1.7.0-beta.29",
8324
- "@nocobase/utils": "1.7.0-beta.29",
8323
+ "@nocobase/evaluators": "1.7.0-beta.30",
8324
+ "@nocobase/sdk": "1.7.0-beta.30",
8325
+ "@nocobase/utils": "1.7.0-beta.30",
8325
8326
  ahooks: "^3.7.2",
8326
8327
  antd: "5.24.2",
8327
8328
  "antd-style": "3.7.1",
@@ -18587,19 +18588,7 @@ const useCollectOperator = () => {
18587
18588
  FilterCollectionField.displayName = "FilterCollectionField";
18588
18589
  const FilterFormBlockProvider = withDynamicSchemaProps((e) => {
18589
18590
  const o = useFieldSchema()["x-filter-operators"] || {};
18590
- return /* @__PURE__ */ jsx(SchemaComponentOptions, { components: { CollectionField: FilterCollectionField }, children: /* @__PURE__ */ jsx(CollectOperators, { defaultOperators: o, children: /* @__PURE__ */ jsx(DatePickerProvider, { value: { utc: !1 }, children: /* @__PURE__ */ jsx(
18591
- ActionBarProvider,
18592
- {
18593
- forceProps: {
18594
- style: {
18595
- overflowX: "auto",
18596
- maxWidth: "100%",
18597
- float: "right"
18598
- }
18599
- },
18600
- children: /* @__PURE__ */ jsx(DefaultValueProvider, { isAllowToSetDefaultValue: () => !1, children: /* @__PURE__ */ jsx(FormBlockProvider, P(x({ name: "filter-form" }, e), { confirmBeforeClose: !1 })) })
18601
- }
18602
- ) }) }) });
18591
+ return /* @__PURE__ */ jsx(SchemaComponentOptions, { components: { CollectionField: FilterCollectionField }, children: /* @__PURE__ */ jsx(CollectOperators, { defaultOperators: o, children: /* @__PURE__ */ jsx(DatePickerProvider, { value: { utc: !1 }, children: /* @__PURE__ */ jsx(DefaultValueProvider, { isAllowToSetDefaultValue: () => !1, children: /* @__PURE__ */ jsx(FormBlockProvider, P(x({ name: "filter-form" }, e), { confirmBeforeClose: !1 })) }) }) }) });
18603
18592
  }), FormFieldContext = createContext({});
18604
18593
  FormFieldContext.displayName = "FormFieldContext";
18605
18594
  const InternalFormFieldProvider = (e) => {
@@ -28440,7 +28429,7 @@ function getFilteredFormValues(e) {
28440
28429
  return a.length <= 1 ? a.join(".") : a.slice(0, -1).join(".");
28441
28430
  })
28442
28431
  ).forEach((r, a) => {
28443
- (a !== 0 || r.includes(".")) && _.unset(t, r);
28432
+ (a !== 0 || r.includes(".")) && !t[r] && _.unset(t, r);
28444
28433
  }), t;
28445
28434
  }
28446
28435
  function getFormValues({
@@ -29839,16 +29828,17 @@ const SortableProvider = (e) => {
29839
29828
  }), i = useMemo(() => ({ draggable: r, droppable: a }), [r, a]);
29840
29829
  return /* @__PURE__ */ jsx(SortableContext.Provider, { value: i, children: n });
29841
29830
  }, getComputedColor = (e) => new TinyColor(e).setAlpha(0.15).toHex8String(), Sortable = (e) => {
29842
- var f, C;
29843
- const g = e, { component: t, overStyle: o, style: n, children: r, openMode: a } = g, i = K(g, ["component", "overStyle", "style", "children", "openMode"]), { token: l } = useToken$1(), { draggable: c, droppable: u } = useContext(SortableContext), { isOver: d, setNodeRef: p } = u, m = x({}, n), h = t === "a" || (t == null ? void 0 : t.displayName) === "WrapperComponentLink";
29844
- return d && ((f = c == null ? void 0 : c.active) == null ? void 0 : f.id) !== ((C = u == null ? void 0 : u.over) == null ? void 0 : C.id) && (m[h ? "color" : "background"] = getComputedColor(l.colorSettings), Object.assign(m, o)), React.createElement(
29831
+ var C, b;
29832
+ const f = e, { component: t, overStyle: o, style: n, children: r, openMode: a } = f, i = K(f, ["component", "overStyle", "style", "children", "openMode"]), { token: l } = useToken$1(), { draggable: c, droppable: u } = useContext(SortableContext), { isOver: d, setNodeRef: p } = u, m = x({}, n), h = useFieldSchema(), g = (h == null ? void 0 : h["x-component"]) === "Action.Link" || t === "a";
29833
+ return d && ((C = c == null ? void 0 : c.active) == null ? void 0 : C.id) !== ((b = u == null ? void 0 : u.over) == null ? void 0 : b.id) && (m[g ? "color" : "background"] = getComputedColor(l.colorSettings), Object.assign(m, o)), React.createElement(
29845
29834
  t || "div",
29846
29835
  P(x({
29847
29836
  role: "none"
29848
29837
  }, i), {
29849
29838
  className: cx("nb-sortable-designer", e.className),
29850
29839
  ref: p,
29851
- style: m
29840
+ style: m,
29841
+ setNodeRef: p
29852
29842
  }),
29853
29843
  r
29854
29844
  );
@@ -32517,6 +32507,45 @@ const addChildActionSettings = new SchemaSettings({
32517
32507
  }
32518
32508
  }
32519
32509
  ]
32510
+ }), associateActionSettings = new SchemaSettings({
32511
+ name: "actionSettings:associate",
32512
+ items: [
32513
+ {
32514
+ name: "editButton",
32515
+ Component: ButtonEditor$1,
32516
+ useComponentProps() {
32517
+ const { buttonEditorProps: e } = useSchemaToolbar();
32518
+ return e;
32519
+ }
32520
+ },
32521
+ {
32522
+ name: "linkageRules",
32523
+ Component: SchemaSettingsLinkageRules,
32524
+ useComponentProps() {
32525
+ const { name: e } = useCollection_deprecated(), { linkageRulesProps: t } = useSchemaToolbar();
32526
+ return P(x({}, t), {
32527
+ collectionName: e
32528
+ });
32529
+ }
32530
+ },
32531
+ {
32532
+ name: "refreshDataBlockRequest",
32533
+ Component: RefreshDataBlockRequest,
32534
+ useComponentProps() {
32535
+ return {
32536
+ isPopupAction: !1
32537
+ };
32538
+ }
32539
+ },
32540
+ {
32541
+ name: "secondConFirm",
32542
+ Component: SecondConFirm
32543
+ },
32544
+ {
32545
+ name: "delete",
32546
+ type: "remove"
32547
+ }
32548
+ ]
32520
32549
  }), bulkDeleteActionSettings = new SchemaSettings({
32521
32550
  name: "actionSettings:bulkDelete",
32522
32551
  items: [
@@ -32643,45 +32672,6 @@ const addChildActionSettings = new SchemaSettings({
32643
32672
  type: "remove"
32644
32673
  }
32645
32674
  ]
32646
- }), associateActionSettings = new SchemaSettings({
32647
- name: "actionSettings:associate",
32648
- items: [
32649
- {
32650
- name: "editButton",
32651
- Component: ButtonEditor$1,
32652
- useComponentProps() {
32653
- const { buttonEditorProps: e } = useSchemaToolbar();
32654
- return e;
32655
- }
32656
- },
32657
- {
32658
- name: "linkageRules",
32659
- Component: SchemaSettingsLinkageRules,
32660
- useComponentProps() {
32661
- const { name: e } = useCollection_deprecated(), { linkageRulesProps: t } = useSchemaToolbar();
32662
- return P(x({}, t), {
32663
- collectionName: e
32664
- });
32665
- }
32666
- },
32667
- {
32668
- name: "refreshDataBlockRequest",
32669
- Component: RefreshDataBlockRequest,
32670
- useComponentProps() {
32671
- return {
32672
- isPopupAction: !1
32673
- };
32674
- }
32675
- },
32676
- {
32677
- name: "secondConFirm",
32678
- Component: SecondConFirm
32679
- },
32680
- {
32681
- name: "delete",
32682
- type: "remove"
32683
- }
32684
- ]
32685
32675
  });
32686
32676
  function ButtonEditor() {
32687
32677
  var c, u;
@@ -35894,7 +35884,7 @@ const enabledIndexColumn$1 = {
35894
35884
  }
35895
35885
  }
35896
35886
  ]
35897
- }), fieldComponentNameMap = (e) => e === "Select" ? "FilterSelect" : e, filterFormItemFieldSettings = new SchemaSettings({
35887
+ }), fieldComponentNameMap = (e) => e === "Select" ? "FilterSelect" : e === "Picker" ? "FilterPicker" : e, filterFormItemFieldSettings = new SchemaSettings({
35898
35888
  name: "fieldSettings:FilterFormItem",
35899
35889
  items: [
35900
35890
  {
@@ -37097,6 +37087,146 @@ const enabledIndexColumn$1 = {
37097
37087
  }), richTextSettings = new SchemaSettings({
37098
37088
  name: "fieldSettings:component:RichText",
37099
37089
  items: [ellipsisSettingsItem]
37090
+ });
37091
+ function GroupTitleEditor(e) {
37092
+ const t = useField(), o = useFieldSchema(), { dn: n } = useDesignable(), { t: r } = useTranslation();
37093
+ return /* @__PURE__ */ jsx(
37094
+ SchemaSettingsModalItem,
37095
+ {
37096
+ title: r("Edit group title"),
37097
+ schema: {
37098
+ type: "object",
37099
+ title: r("Edit group title"),
37100
+ properties: {
37101
+ children: {
37102
+ "x-decorator": "FormItem",
37103
+ "x-component": "Input",
37104
+ title: r("Group title"),
37105
+ default: t.componentProps.children,
37106
+ "x-component-props": {}
37107
+ }
37108
+ }
37109
+ },
37110
+ onSubmit: ({ children: a }) => {
37111
+ t.componentProps.children = a, o["x-component-props"] = o["x-component-props"] || {}, o["x-component-props"].children = a, n.emit("patch", {
37112
+ schema: {
37113
+ "x-uid": o["x-uid"],
37114
+ "x-component-props": x({}, o["x-component-props"])
37115
+ }
37116
+ }), n.refresh();
37117
+ }
37118
+ }
37119
+ );
37120
+ }
37121
+ const dividerSettings = new SchemaSettings({
37122
+ name: "blockSettings:divider",
37123
+ items: [
37124
+ {
37125
+ name: "editTitle",
37126
+ type: "item",
37127
+ Component: GroupTitleEditor
37128
+ },
37129
+ {
37130
+ name: "orientation",
37131
+ type: "select",
37132
+ useComponentProps() {
37133
+ var r;
37134
+ const e = useField(), t = useFieldSchema(), { t: o } = useTranslation(), { dn: n } = useDesignable();
37135
+ return {
37136
+ title: o("Title position"),
37137
+ value: ((r = e.componentProps) == null ? void 0 : r.orientation) || "left",
37138
+ options: [
37139
+ { label: o("Left"), value: "left" },
37140
+ { label: o("Center"), value: "center" },
37141
+ { label: o("Right"), value: "right" }
37142
+ ],
37143
+ onChange: (a) => {
37144
+ e.componentProps = e.componentProps || {}, e.componentProps.orientation = a, t["x-component-props"] = t["x-component-props"] || {}, t["x-component-props"].orientation = a, n.emit("patch", {
37145
+ schema: {
37146
+ "x-uid": t["x-uid"],
37147
+ "x-component-props": t["x-component-props"]
37148
+ }
37149
+ });
37150
+ }
37151
+ };
37152
+ }
37153
+ },
37154
+ {
37155
+ name: "dashed",
37156
+ type: "switch",
37157
+ useComponentProps: () => {
37158
+ const e = useField(), t = useFieldSchema(), { t: o } = useTranslation(), { dn: n } = useDesignable();
37159
+ return {
37160
+ title: o("Dashed"),
37161
+ defaultChecked: !0,
37162
+ checked: e.componentProps.dashed,
37163
+ onChange: (r) => {
37164
+ e.componentProps.dashed = r, t["x-component-props"].dashed = r, r === !1 && (t["x-component-props"].dashed = !1), n.emit("patch", {
37165
+ schema: t
37166
+ }), n.refresh();
37167
+ }
37168
+ };
37169
+ }
37170
+ },
37171
+ {
37172
+ name: "color",
37173
+ type: "item",
37174
+ useComponentProps: () => {
37175
+ const { t: e } = useTranslation(), { dn: t } = useDesignable(), o = useField(), n = useFieldSchema();
37176
+ return {
37177
+ title: /* @__PURE__ */ jsxs("div", { style: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
37178
+ e("Color"),
37179
+ /* @__PURE__ */ jsx("div", { style: { float: "right" }, children: /* @__PURE__ */ jsx(
37180
+ ColorPicker,
37181
+ {
37182
+ defaultValue: o.componentProps.color || "rgba(0, 0, 0, 0.88)",
37183
+ onChange: (r) => {
37184
+ o.componentProps = o.componentProps || {}, o.componentProps.color = r, n["x-component-props"] = n["x-component-props"] || {}, n["x-component-props"].color = r, t.emit("patch", {
37185
+ schema: n
37186
+ }), t.refresh();
37187
+ }
37188
+ }
37189
+ ) })
37190
+ ] })
37191
+ };
37192
+ }
37193
+ },
37194
+ {
37195
+ name: "borderColor",
37196
+ type: "item",
37197
+ useComponentProps: () => {
37198
+ const { t: e } = useTranslation(), { dn: t } = useDesignable(), o = useField(), n = useFieldSchema();
37199
+ return {
37200
+ title: /* @__PURE__ */ jsxs("div", { style: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
37201
+ e("Divider line color"),
37202
+ /* @__PURE__ */ jsx("div", { style: { float: "right" }, children: /* @__PURE__ */ jsx(
37203
+ ColorPicker,
37204
+ {
37205
+ defaultValue: o.componentProps.borderColor || "rgba(5, 5, 5, 0.06)",
37206
+ onChange: (r) => {
37207
+ o.componentProps = o.componentProps || {}, o.componentProps.borderColor = r, n["x-component-props"] = n["x-component-props"] || {}, n["x-component-props"].borderColor = r, t.emit("patch", {
37208
+ schema: n
37209
+ }), t.refresh();
37210
+ }
37211
+ }
37212
+ ) })
37213
+ ] })
37214
+ };
37215
+ }
37216
+ },
37217
+ {
37218
+ name: "delete",
37219
+ type: "remove",
37220
+ useComponentProps() {
37221
+ return {
37222
+ removeParentsIfNoChildren: !0,
37223
+ breakRemoveOn: {
37224
+ "x-component": "Grid"
37225
+ }
37226
+ };
37227
+ }
37228
+ }
37229
+ ]
37100
37230
  }), inputNumberComponentFieldSettings = new SchemaSettings({
37101
37231
  name: "fieldSettings:component:InputNumber",
37102
37232
  items: [
@@ -37623,6 +37753,42 @@ const enabledIndexColumn$1 = {
37623
37753
  allowMultiple$1,
37624
37754
  titleField$2
37625
37755
  ]
37756
+ }), filterRecordPickerComponentFieldSettings = new SchemaSettings({
37757
+ name: "fieldSettings:component:FilterPicker",
37758
+ items: [
37759
+ fieldComponent$2,
37760
+ {
37761
+ name: "popupSize",
37762
+ type: "select",
37763
+ useVisible() {
37764
+ return !useIsFieldReadPretty();
37765
+ },
37766
+ useComponentProps() {
37767
+ var i, l, c;
37768
+ const { t: e } = useTranslation(), t = useField(), { fieldSchema: o } = useColumnSchema$1(), n = useFieldSchema(), r = o || n, { dn: a } = useDesignable();
37769
+ return {
37770
+ title: e("Popup size"),
37771
+ options: [
37772
+ { label: e("Small"), value: "small" },
37773
+ { label: e("Middle"), value: "middle" },
37774
+ { label: e("Large"), value: "large" }
37775
+ ],
37776
+ value: (c = (i = r == null ? void 0 : r["x-component-props"]) == null ? void 0 : i.openSize) != null ? c : ((l = r == null ? void 0 : r["x-component-props"]) == null ? void 0 : l.openMode) == "modal" ? "large" : "middle",
37777
+ onChange: (u) => {
37778
+ t.componentProps.openSize = u, r["x-component-props"] = P(x({}, r["x-component-props"]), { openSize: u }), a.emit("patch", {
37779
+ schema: {
37780
+ "x-uid": r["x-uid"],
37781
+ "x-component-props": r["x-component-props"]
37782
+ }
37783
+ }), a.refresh();
37784
+ }
37785
+ };
37786
+ }
37787
+ },
37788
+ allowAddNew,
37789
+ getAllowMultiple({ title: "Allow multiple selection" }),
37790
+ titleField$2
37791
+ ]
37626
37792
  }), allowMultiple = {
37627
37793
  name: "allowMultiple",
37628
37794
  type: "switch",
@@ -37769,162 +37935,6 @@ const enabledIndexColumn$1 = {
37769
37935
  enableLink,
37770
37936
  ellipsisSettingsItem
37771
37937
  ]
37772
- }), unixTimestampComponentFieldSettings = new SchemaSettings({
37773
- name: "fieldSettings:component:UnixTimestamp",
37774
- items: [
37775
- {
37776
- name: "dateDisplayFormat",
37777
- Component: SchemaSettingsDateFormat,
37778
- useComponentProps() {
37779
- const e = useFieldSchema(), { fieldSchema: t } = useColumnSchema$1();
37780
- return {
37781
- fieldSchema: t || e
37782
- };
37783
- }
37784
- },
37785
- enableLinkSettingsItem,
37786
- openModeSettingsItem
37787
- ]
37788
- });
37789
- function GroupTitleEditor(e) {
37790
- const t = useField(), o = useFieldSchema(), { dn: n } = useDesignable(), { t: r } = useTranslation();
37791
- return /* @__PURE__ */ jsx(
37792
- SchemaSettingsModalItem,
37793
- {
37794
- title: r("Edit group title"),
37795
- schema: {
37796
- type: "object",
37797
- title: r("Edit group title"),
37798
- properties: {
37799
- children: {
37800
- "x-decorator": "FormItem",
37801
- "x-component": "Input",
37802
- title: r("Group title"),
37803
- default: t.componentProps.children,
37804
- "x-component-props": {}
37805
- }
37806
- }
37807
- },
37808
- onSubmit: ({ children: a }) => {
37809
- t.componentProps.children = a, o["x-component-props"] = o["x-component-props"] || {}, o["x-component-props"].children = a, n.emit("patch", {
37810
- schema: {
37811
- "x-uid": o["x-uid"],
37812
- "x-component-props": x({}, o["x-component-props"])
37813
- }
37814
- }), n.refresh();
37815
- }
37816
- }
37817
- );
37818
- }
37819
- const dividerSettings = new SchemaSettings({
37820
- name: "blockSettings:divider",
37821
- items: [
37822
- {
37823
- name: "editTitle",
37824
- type: "item",
37825
- Component: GroupTitleEditor
37826
- },
37827
- {
37828
- name: "orientation",
37829
- type: "select",
37830
- useComponentProps() {
37831
- var r;
37832
- const e = useField(), t = useFieldSchema(), { t: o } = useTranslation(), { dn: n } = useDesignable();
37833
- return {
37834
- title: o("Title position"),
37835
- value: ((r = e.componentProps) == null ? void 0 : r.orientation) || "left",
37836
- options: [
37837
- { label: o("Left"), value: "left" },
37838
- { label: o("Center"), value: "center" },
37839
- { label: o("Right"), value: "right" }
37840
- ],
37841
- onChange: (a) => {
37842
- e.componentProps = e.componentProps || {}, e.componentProps.orientation = a, t["x-component-props"] = t["x-component-props"] || {}, t["x-component-props"].orientation = a, n.emit("patch", {
37843
- schema: {
37844
- "x-uid": t["x-uid"],
37845
- "x-component-props": t["x-component-props"]
37846
- }
37847
- });
37848
- }
37849
- };
37850
- }
37851
- },
37852
- {
37853
- name: "dashed",
37854
- type: "switch",
37855
- useComponentProps: () => {
37856
- const e = useField(), t = useFieldSchema(), { t: o } = useTranslation(), { dn: n } = useDesignable();
37857
- return {
37858
- title: o("Dashed"),
37859
- defaultChecked: !0,
37860
- checked: e.componentProps.dashed,
37861
- onChange: (r) => {
37862
- e.componentProps.dashed = r, t["x-component-props"].dashed = r, r === !1 && (t["x-component-props"].dashed = !1), n.emit("patch", {
37863
- schema: t
37864
- }), n.refresh();
37865
- }
37866
- };
37867
- }
37868
- },
37869
- {
37870
- name: "color",
37871
- type: "item",
37872
- useComponentProps: () => {
37873
- const { t: e } = useTranslation(), { dn: t } = useDesignable(), o = useField(), n = useFieldSchema();
37874
- return {
37875
- title: /* @__PURE__ */ jsxs("div", { style: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
37876
- e("Color"),
37877
- /* @__PURE__ */ jsx("div", { style: { float: "right" }, children: /* @__PURE__ */ jsx(
37878
- ColorPicker,
37879
- {
37880
- defaultValue: o.componentProps.color || "rgba(0, 0, 0, 0.88)",
37881
- onChange: (r) => {
37882
- o.componentProps = o.componentProps || {}, o.componentProps.color = r, n["x-component-props"] = n["x-component-props"] || {}, n["x-component-props"].color = r, t.emit("patch", {
37883
- schema: n
37884
- }), t.refresh();
37885
- }
37886
- }
37887
- ) })
37888
- ] })
37889
- };
37890
- }
37891
- },
37892
- {
37893
- name: "borderColor",
37894
- type: "item",
37895
- useComponentProps: () => {
37896
- const { t: e } = useTranslation(), { dn: t } = useDesignable(), o = useField(), n = useFieldSchema();
37897
- return {
37898
- title: /* @__PURE__ */ jsxs("div", { style: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
37899
- e("Divider line color"),
37900
- /* @__PURE__ */ jsx("div", { style: { float: "right" }, children: /* @__PURE__ */ jsx(
37901
- ColorPicker,
37902
- {
37903
- defaultValue: o.componentProps.borderColor || "rgba(5, 5, 5, 0.06)",
37904
- onChange: (r) => {
37905
- o.componentProps = o.componentProps || {}, o.componentProps.borderColor = r, n["x-component-props"] = n["x-component-props"] || {}, n["x-component-props"].borderColor = r, t.emit("patch", {
37906
- schema: n
37907
- }), t.refresh();
37908
- }
37909
- }
37910
- ) })
37911
- ] })
37912
- };
37913
- }
37914
- },
37915
- {
37916
- name: "delete",
37917
- type: "remove",
37918
- useComponentProps() {
37919
- return {
37920
- removeParentsIfNoChildren: !0,
37921
- breakRemoveOn: {
37922
- "x-component": "Grid"
37923
- }
37924
- };
37925
- }
37926
- }
37927
- ]
37928
37938
  }), SchemaSettingsTimeFormat = function e(t) {
37929
37939
  var u, d, p;
37930
37940
  const { fieldSchema: o } = t, n = useField(), { dn: r } = useDesignable(), { t: a } = useTranslation(), { getCollectionJoinField: i } = useCollectionManager_deprecated(), l = i(o == null ? void 0 : o["x-collection-field"]) || {}, c = ((u = o == null ? void 0 : o["x-component-props"]) == null ? void 0 : u.format) || ((p = (d = l == null ? void 0 : l.uiSchema) == null ? void 0 : d["x-component-props"]) == null ? void 0 : p.format) || "HH:mm:ss";
@@ -38006,11 +38016,27 @@ const dividerSettings = new SchemaSettings({
38006
38016
  }
38007
38017
  }
38008
38018
  ]
38019
+ }), unixTimestampComponentFieldSettings = new SchemaSettings({
38020
+ name: "fieldSettings:component:UnixTimestamp",
38021
+ items: [
38022
+ {
38023
+ name: "dateDisplayFormat",
38024
+ Component: SchemaSettingsDateFormat,
38025
+ useComponentProps() {
38026
+ const e = useFieldSchema(), { fieldSchema: t } = useColumnSchema$1();
38027
+ return {
38028
+ fieldSchema: t || e
38029
+ };
38030
+ }
38031
+ },
38032
+ enableLinkSettingsItem,
38033
+ openModeSettingsItem
38034
+ ]
38009
38035
  });
38010
38036
  class SchemaSettingsPlugin extends Plugin {
38011
38037
  load() {
38012
38038
  return q(this, null, function* () {
38013
- this.schemaSettingsManager.add(tableBlockSettings), this.schemaSettingsManager.add(createFormBlockSettings), this.schemaSettingsManager.add(editFormBlockSettings), this.schemaSettingsManager.add(filterFormBlockSettings), this.schemaSettingsManager.add(filterFormItemFieldSettings), this.schemaSettingsManager.add(multiDataDetailsBlockSettings), this.schemaSettingsManager.add(detailsWithPaginationSettings), this.schemaSettingsManager.add(singleDataDetailsBlockSettings), this.schemaSettingsManager.add(detailsBlockSettings), this.schemaSettingsManager.add(tableSelectorBlockSettings), this.schemaSettingsManager.add(listBlockSettings), this.schemaSettingsManager.add(gridCardBlockSettings), this.schemaSettingsManager.add(filterCollapseBlockSettings), this.schemaSettingsManager.add(markdownBlockSettings), this.schemaSettingsManager.add(addNewActionSettings), this.schemaSettingsManager.add(filterActionSettings), this.schemaSettingsManager.add(refreshActionSettings), this.schemaSettingsManager.add(viewActionSettings), this.schemaSettingsManager.add(editActionSettings), this.schemaSettingsManager.add(deleteActionSettings), this.schemaSettingsManager.add(disassociateActionSettings), this.schemaSettingsManager.add(associateActionSettings), this.schemaSettingsManager.add(bulkDeleteActionSettings), this.schemaSettingsManager.add(customizeAddRecordActionSettings), this.schemaSettingsManager.add(customizePopupActionSettings), this.schemaSettingsManager.add(customizeLinkActionSettings), this.schemaSettingsManager.add(customizeUpdateRecordActionSettings), this.schemaSettingsManager.add(createSubmitActionSettings), this.schemaSettingsManager.add(updateSubmitActionSettings), this.schemaSettingsManager.add(submitActionSettings), this.schemaSettingsManager.add(customizeSaveRecordActionSettings), this.schemaSettingsManager.add(addChildActionSettings), this.schemaSettingsManager.add(expendableActionSettings), this.schemaSettingsManager.add(fieldSettingsFormItem), this.schemaSettingsManager.add(tableColumnSettings), this.schemaSettingsManager.add(filterCollapseItemFieldSettings), this.schemaSettingsManager.add(selectComponentFieldSettings), this.schemaSettingsManager.add(filterSelectComponentFieldSettings), this.schemaSettingsManager.add(recordPickerComponentFieldSettings), this.schemaSettingsManager.add(subformComponentFieldSettings), this.schemaSettingsManager.add(subformPopoverComponentFieldSettings), this.schemaSettingsManager.add(subTablePopoverComponentFieldSettings), this.schemaSettingsManager.add(datePickerComponentFieldSettings), this.schemaSettingsManager.add(rangePickerPickerComponentFieldSettings), this.schemaSettingsManager.add(unixTimestampComponentFieldSettings), this.schemaSettingsManager.add(inputNumberComponentFieldSettings), this.schemaSettingsManager.add(inputComponentSettings), this.schemaSettingsManager.add(inputURLSettings), this.schemaSettingsManager.add(inputTextAreaSettings), this.schemaSettingsManager.add(inputJSONSettings), this.schemaSettingsManager.add(markdownSettings), this.schemaSettingsManager.add(markdownVditorSettings), this.schemaSettingsManager.add(richTextSettings), this.schemaSettingsManager.add(fileManagerComponentFieldSettings), this.schemaSettingsManager.add(tagComponentFieldSettings), this.schemaSettingsManager.add(cascadeSelectComponentFieldSettings), this.schemaSettingsManager.add(inputPreviewComponentFieldSettings), this.schemaSettingsManager.add(uploadAttachmentComponentFieldSettings), this.schemaSettingsManager.add(previewComponentFieldSettings), this.schemaSettingsManager.add(dividerSettings), this.schemaSettingsManager.add(timePickerComponentFieldSettings);
38039
+ this.schemaSettingsManager.add(tableBlockSettings), this.schemaSettingsManager.add(createFormBlockSettings), this.schemaSettingsManager.add(editFormBlockSettings), this.schemaSettingsManager.add(filterFormBlockSettings), this.schemaSettingsManager.add(filterFormItemFieldSettings), this.schemaSettingsManager.add(multiDataDetailsBlockSettings), this.schemaSettingsManager.add(detailsWithPaginationSettings), this.schemaSettingsManager.add(singleDataDetailsBlockSettings), this.schemaSettingsManager.add(detailsBlockSettings), this.schemaSettingsManager.add(tableSelectorBlockSettings), this.schemaSettingsManager.add(listBlockSettings), this.schemaSettingsManager.add(gridCardBlockSettings), this.schemaSettingsManager.add(filterCollapseBlockSettings), this.schemaSettingsManager.add(markdownBlockSettings), this.schemaSettingsManager.add(addNewActionSettings), this.schemaSettingsManager.add(filterActionSettings), this.schemaSettingsManager.add(refreshActionSettings), this.schemaSettingsManager.add(viewActionSettings), this.schemaSettingsManager.add(editActionSettings), this.schemaSettingsManager.add(deleteActionSettings), this.schemaSettingsManager.add(disassociateActionSettings), this.schemaSettingsManager.add(associateActionSettings), this.schemaSettingsManager.add(bulkDeleteActionSettings), this.schemaSettingsManager.add(customizeAddRecordActionSettings), this.schemaSettingsManager.add(customizePopupActionSettings), this.schemaSettingsManager.add(customizeLinkActionSettings), this.schemaSettingsManager.add(customizeUpdateRecordActionSettings), this.schemaSettingsManager.add(createSubmitActionSettings), this.schemaSettingsManager.add(updateSubmitActionSettings), this.schemaSettingsManager.add(submitActionSettings), this.schemaSettingsManager.add(customizeSaveRecordActionSettings), this.schemaSettingsManager.add(addChildActionSettings), this.schemaSettingsManager.add(expendableActionSettings), this.schemaSettingsManager.add(fieldSettingsFormItem), this.schemaSettingsManager.add(tableColumnSettings), this.schemaSettingsManager.add(filterCollapseItemFieldSettings), this.schemaSettingsManager.add(selectComponentFieldSettings), this.schemaSettingsManager.add(filterSelectComponentFieldSettings), this.schemaSettingsManager.add(recordPickerComponentFieldSettings), this.schemaSettingsManager.add(filterRecordPickerComponentFieldSettings), this.schemaSettingsManager.add(subformComponentFieldSettings), this.schemaSettingsManager.add(subformPopoverComponentFieldSettings), this.schemaSettingsManager.add(subTablePopoverComponentFieldSettings), this.schemaSettingsManager.add(datePickerComponentFieldSettings), this.schemaSettingsManager.add(rangePickerPickerComponentFieldSettings), this.schemaSettingsManager.add(unixTimestampComponentFieldSettings), this.schemaSettingsManager.add(inputNumberComponentFieldSettings), this.schemaSettingsManager.add(inputComponentSettings), this.schemaSettingsManager.add(inputURLSettings), this.schemaSettingsManager.add(inputTextAreaSettings), this.schemaSettingsManager.add(inputJSONSettings), this.schemaSettingsManager.add(markdownSettings), this.schemaSettingsManager.add(markdownVditorSettings), this.schemaSettingsManager.add(richTextSettings), this.schemaSettingsManager.add(fileManagerComponentFieldSettings), this.schemaSettingsManager.add(tagComponentFieldSettings), this.schemaSettingsManager.add(cascadeSelectComponentFieldSettings), this.schemaSettingsManager.add(inputPreviewComponentFieldSettings), this.schemaSettingsManager.add(uploadAttachmentComponentFieldSettings), this.schemaSettingsManager.add(previewComponentFieldSettings), this.schemaSettingsManager.add(dividerSettings), this.schemaSettingsManager.add(timePickerComponentFieldSettings);
38014
38040
  });
38015
38041
  }
38016
38042
  }
@@ -43608,7 +43634,7 @@ const InternalNesterCardCss = css`
43608
43634
  }) : [], [t, d == null ? void 0 : d.label]), T = {
43609
43635
  size: "small",
43610
43636
  fieldNames: d,
43611
- multiple: o !== !1 && ["o2m", "m2m", "mbm"].includes(f == null ? void 0 : f.interface),
43637
+ multiple: o === !0 ? !0 : o !== !1 && ["o2m", "m2m", "mbm"].includes(f == null ? void 0 : f.interface),
43612
43638
  association: {
43613
43639
  target: f == null ? void 0 : f.target
43614
43640
  },
@@ -43631,7 +43657,7 @@ const InternalNesterCardCss = css`
43631
43657
  V(j ? unionBy(E, z, (G == null ? void 0 : G.targetKey) || "id") : (E == null ? void 0 : E[0]) || null), k(!1);
43632
43658
  },
43633
43659
  style: {
43634
- display: j !== !1 && ["o2m", "m2m", "mbm"].includes(G == null ? void 0 : G.interface) ? "block" : "none"
43660
+ display: j === !1 ? "none" : "block"
43635
43661
  }
43636
43662
  };
43637
43663
  }, L = useMemo(
@@ -45258,6 +45284,7 @@ const Table$1 = withDynamicSchemaProps(
45258
45284
  .ant-table-footer {
45259
45285
  margin-top: 10px;
45260
45286
  background: inherit;
45287
+ min-height: 22px;
45261
45288
  }
45262
45289
  `, tableClassName = css`
45263
45290
  .ant-formily-item-feedback-layout-popover {
@@ -8,3 +8,4 @@
8
8
  */
9
9
  import { SchemaSettings } from '../../../../application/schema-settings/SchemaSettings';
10
10
  export declare const recordPickerComponentFieldSettings: SchemaSettings<{}>;
11
+ export declare const filterRecordPickerComponentFieldSettings: SchemaSettings<{}>;