@nocobase/client 1.7.9 → 1.7.12
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.
|
@@ -73,6 +73,12 @@ export declare class CheckboxFieldInterface extends CollectionFieldInterface {
|
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
selected?: undefined;
|
|
76
|
+
} | {
|
|
77
|
+
label: string;
|
|
78
|
+
value: string;
|
|
79
|
+
noValue: boolean;
|
|
80
|
+
selected?: undefined;
|
|
81
|
+
schema?: undefined;
|
|
76
82
|
})[];
|
|
77
83
|
};
|
|
78
84
|
schemaInitialize(schema: ISchema, { block }: {
|
|
@@ -211,6 +211,12 @@ export declare const boolean: ({
|
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
213
|
selected?: undefined;
|
|
214
|
+
} | {
|
|
215
|
+
label: string;
|
|
216
|
+
value: string;
|
|
217
|
+
noValue: boolean;
|
|
218
|
+
selected?: undefined;
|
|
219
|
+
schema?: undefined;
|
|
214
220
|
})[];
|
|
215
221
|
export declare const tableoid: {
|
|
216
222
|
label: string;
|
package/es/index.mjs
CHANGED
|
@@ -4251,13 +4251,14 @@ class APIClient extends APIClient$1 {
|
|
|
4251
4251
|
A(this, "notification", notification);
|
|
4252
4252
|
}
|
|
4253
4253
|
cloneInstance() {
|
|
4254
|
+
var r;
|
|
4254
4255
|
const n = new APIClient(this.options);
|
|
4255
4256
|
n.options = this.options, n.services = this.services, n.storage = this.storage, n.app = this.app, n.auth = this.auth, n.storagePrefix = this.storagePrefix, n.notification = this.notification;
|
|
4256
4257
|
const o = [];
|
|
4257
|
-
for (const
|
|
4258
|
-
r.rejected._name === "handleNotificationError" ? o.push(P(x({},
|
|
4258
|
+
for (const a of this.axios.interceptors.response.handlers)
|
|
4259
|
+
((r = a == null ? void 0 : a.rejected) == null ? void 0 : r._name) === "handleNotificationError" ? o.push(P(x({}, a), {
|
|
4259
4260
|
rejected: n.handleNotificationError.bind(n)
|
|
4260
|
-
})) : o.push(
|
|
4261
|
+
})) : o.push(a);
|
|
4261
4262
|
return n.axios.interceptors.response.handlers = o, n;
|
|
4262
4263
|
}
|
|
4263
4264
|
getHeaders() {
|
|
@@ -5240,7 +5241,9 @@ const date = dayjs(), spaceCSS = css`
|
|
|
5240
5241
|
]
|
|
5241
5242
|
}
|
|
5242
5243
|
}
|
|
5243
|
-
}
|
|
5244
|
+
},
|
|
5245
|
+
{ label: "{{ t('is empty') }}", value: "$empty", noValue: !0 },
|
|
5246
|
+
{ label: "{{ t('is not empty') }}", value: "$notEmpty", noValue: !0 }
|
|
5244
5247
|
], tableoid = [
|
|
5245
5248
|
{
|
|
5246
5249
|
label: '{{t("is any of")}}',
|
|
@@ -6882,7 +6885,10 @@ function bindLinkageRulesToFiled({
|
|
|
6882
6885
|
// 1. 条件中的字段值;
|
|
6883
6886
|
// 2. 条件中的变量值;
|
|
6884
6887
|
// 3. value 表达式中的变量值;
|
|
6885
|
-
() =>
|
|
6888
|
+
() => {
|
|
6889
|
+
const f = getFieldValuesInCondition({ linkageRules: t, formValues: n }), C = getVariableValuesInCondition({ linkageRules: t, localVariables: o }), b = getVariableValuesInExpression({ action: r, localVariables: o });
|
|
6890
|
+
return [f, C, b].map((y) => JSON.stringify(y)).join(",");
|
|
6891
|
+
},
|
|
6886
6892
|
getSubscriber({ action: r, field: e, rule: a, variables: i, localVariables: o, variableNameOfLeftCondition: l }, c),
|
|
6887
6893
|
{ fireImmediately: !0, equals: _.isEqual }
|
|
6888
6894
|
);
|
|
@@ -8705,7 +8711,7 @@ function addAppVersion(e, t) {
|
|
|
8705
8711
|
addAppVersion((o = e.properties) == null ? void 0 : o[n], t);
|
|
8706
8712
|
}), e;
|
|
8707
8713
|
}
|
|
8708
|
-
const name = "@nocobase/client", version = "1.7.
|
|
8714
|
+
const name = "@nocobase/client", version = "1.7.12", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
8709
8715
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
8710
8716
|
"@ant-design/cssinjs": "^1.11.1",
|
|
8711
8717
|
"@ant-design/icons": "^5.6.1",
|
|
@@ -8726,9 +8732,9 @@ const name = "@nocobase/client", version = "1.7.9", license = "AGPL-3.0", main =
|
|
|
8726
8732
|
"@formily/reactive-react": "^2.2.27",
|
|
8727
8733
|
"@formily/shared": "^2.2.27",
|
|
8728
8734
|
"@formily/validator": "^2.2.27",
|
|
8729
|
-
"@nocobase/evaluators": "1.7.
|
|
8730
|
-
"@nocobase/sdk": "1.7.
|
|
8731
|
-
"@nocobase/utils": "1.7.
|
|
8735
|
+
"@nocobase/evaluators": "1.7.12",
|
|
8736
|
+
"@nocobase/sdk": "1.7.12",
|
|
8737
|
+
"@nocobase/utils": "1.7.12",
|
|
8732
8738
|
ahooks: "^3.7.2",
|
|
8733
8739
|
antd: "5.24.2",
|
|
8734
8740
|
"antd-style": "3.7.1",
|
|
@@ -10284,7 +10290,7 @@ const Table$2 = withDynamicSchemaProps(
|
|
|
10284
10290
|
"loading",
|
|
10285
10291
|
"onClickRow",
|
|
10286
10292
|
"value"
|
|
10287
|
-
]), y = useArrayField$1(S), v = useFieldSchema(), { size: F = "small" } = (v == null ? void 0 : v["x-component-props"]) || {}, I = useCollection(), R = ((be = v == null ? void 0 : v.parent) == null ? void 0 : be["x-decorator"]) === "TableSelectorProvider" ? useTableSelectorContext() : useTableBlockContext(), { expandFlag: D, allIncludesChildren: B,
|
|
10293
|
+
]), y = useArrayField$1(S), v = useFieldSchema(), { size: F = "small" } = (v == null ? void 0 : v["x-component-props"]) || {}, I = useCollection(), R = ((be = v == null ? void 0 : v.parent) == null ? void 0 : be["x-decorator"]) === "TableSelectorProvider" ? useTableSelectorContext() : useTableBlockContext(), { expandFlag: D, allIncludesChildren: B, enableIndexColumn: N } = R, $ = useMemoizedFn(S.onRowDragEnd || (() => {
|
|
10288
10294
|
})), L = usePaginationProps$3(n, a, e), w = useTableColumns$2(S, L), [O, j] = useState(() => D ? B : []), [k, M] = useState(((Se = y == null ? void 0 : y.data) == null ? void 0 : Se.selectedRowKeys) || []), [q, E] = useState([]), V = (p == null ? void 0 : p.type) !== "none", G = useRef(/* @__PURE__ */ new Map()), U = useMemo(() => css`
|
|
10289
10295
|
& > td {
|
|
10290
10296
|
background-color: ${t.controlItemBgActive} !important;
|
|
@@ -10505,7 +10511,7 @@ const InternalTableBlockProvider = (e) => {
|
|
|
10505
10511
|
fieldNames: l,
|
|
10506
10512
|
collection: c,
|
|
10507
10513
|
association: u,
|
|
10508
|
-
|
|
10514
|
+
enableIndexColumn: d
|
|
10509
10515
|
} = e, p = useField(), { resource: m, service: h } = useBlockRequestContext(), g = useFieldSchema(), [f, C] = useState(!!(l || i)), { heightProps: b } = useBlockHeightProps(), S = useRef(null);
|
|
10510
10516
|
useEffect(() => {
|
|
10511
10517
|
C(l || i);
|
|
@@ -10546,7 +10552,7 @@ const InternalTableBlockProvider = (e) => {
|
|
|
10546
10552
|
setExpandFlag: v,
|
|
10547
10553
|
heightProps: b,
|
|
10548
10554
|
association: u,
|
|
10549
|
-
|
|
10555
|
+
enableIndexColumn: d
|
|
10550
10556
|
}),
|
|
10551
10557
|
[
|
|
10552
10558
|
y,
|
|
@@ -22628,13 +22634,18 @@ ReadPretty$c.Input = (e) => {
|
|
|
22628
22634
|
"div",
|
|
22629
22635
|
{
|
|
22630
22636
|
className: cls(t, e.className),
|
|
22631
|
-
style: x({
|
|
22637
|
+
style: x({
|
|
22638
|
+
display: "flex",
|
|
22639
|
+
alignItems: "center",
|
|
22640
|
+
overflowWrap: "break-word",
|
|
22641
|
+
whiteSpace: "normal"
|
|
22642
|
+
}, e.style),
|
|
22632
22643
|
children: [
|
|
22633
|
-
e.addonBefore,
|
|
22634
|
-
e.prefix,
|
|
22644
|
+
n(e.addonBefore),
|
|
22645
|
+
n(e.prefix),
|
|
22635
22646
|
e.ellipsis ? /* @__PURE__ */ jsx(EllipsisWithTooltip, { ellipsis: e.ellipsis, children: o }) : o,
|
|
22636
|
-
e.suffix,
|
|
22637
|
-
e.addonAfter
|
|
22647
|
+
n(e.suffix),
|
|
22648
|
+
n(e.addonAfter)
|
|
22638
22649
|
]
|
|
22639
22650
|
}
|
|
22640
22651
|
);
|
|
@@ -30247,7 +30258,7 @@ const DragHandler = (e) => {
|
|
|
30247
30258
|
Select$1,
|
|
30248
30259
|
{
|
|
30249
30260
|
value: t == null ? void 0 : t.unit,
|
|
30250
|
-
style: { maxWidth: 140
|
|
30261
|
+
style: { maxWidth: 140 },
|
|
30251
30262
|
onChange: (d) => {
|
|
30252
30263
|
const p = P(x({}, t), {
|
|
30253
30264
|
unit: d
|
|
@@ -30259,7 +30270,8 @@ const DragHandler = (e) => {
|
|
|
30259
30270
|
{ value: "week", label: r("Calendar week") },
|
|
30260
30271
|
{ value: "month", label: r("Calendar Month") },
|
|
30261
30272
|
{ value: "year", label: r("Calendar Year") }
|
|
30262
|
-
]
|
|
30273
|
+
],
|
|
30274
|
+
popupMatchSelectWidth: !0
|
|
30263
30275
|
},
|
|
30264
30276
|
"unit"
|
|
30265
30277
|
)
|
|
@@ -35342,9 +35354,9 @@ const enabledIndexColumn$1 = {
|
|
|
35342
35354
|
const e = useField(), t = useFieldSchema(), { t: n } = useTranslation(), { dn: o } = useDesignable();
|
|
35343
35355
|
return {
|
|
35344
35356
|
title: n("Enable index column"),
|
|
35345
|
-
checked: e.decoratorProps.
|
|
35357
|
+
checked: e.decoratorProps.enableIndexColumn !== !1,
|
|
35346
35358
|
onChange: (r) => z(void 0, null, function* () {
|
|
35347
|
-
e.decoratorProps = e.decoratorProps || {}, e.decoratorProps.
|
|
35359
|
+
e.decoratorProps = e.decoratorProps || {}, e.decoratorProps.enableIndexColumn = r, t["x-decorator-props"].enableIndexColumn = r, o.emit("patch", {
|
|
35348
35360
|
schema: {
|
|
35349
35361
|
"x-uid": t["x-uid"],
|
|
35350
35362
|
"x-decorator-props": t["x-decorator-props"]
|
|
@@ -37689,9 +37701,9 @@ const dividerSettings = new SchemaSettings({
|
|
|
37689
37701
|
const e = useField(), t = useFieldSchema(), { t: n } = useTranslation(), { dn: o } = useDesignable();
|
|
37690
37702
|
return {
|
|
37691
37703
|
title: n("Enable index column"),
|
|
37692
|
-
checked: e.componentProps.
|
|
37704
|
+
checked: e.componentProps.enableIndexColumn !== !1,
|
|
37693
37705
|
onChange: (r) => z(void 0, null, function* () {
|
|
37694
|
-
e.componentProps = e.componentProps || {}, e.componentProps.
|
|
37706
|
+
e.componentProps = e.componentProps || {}, e.componentProps.enableIndexColumn = r, t["x-component-props"].enableIndexColumn = r, o.emit("patch", {
|
|
37695
37707
|
schema: {
|
|
37696
37708
|
"x-uid": t["x-uid"],
|
|
37697
37709
|
"x-component-props": t["x-component-props"]
|
|
@@ -39351,8 +39363,8 @@ const RenderButton = ({
|
|
|
39351
39363
|
RenderButton.displayName = "RenderButton";
|
|
39352
39364
|
const RenderButtonInner = observer$1(
|
|
39353
39365
|
(e) => {
|
|
39354
|
-
var
|
|
39355
|
-
const
|
|
39366
|
+
var j, M;
|
|
39367
|
+
const O = e, {
|
|
39356
39368
|
designable: t,
|
|
39357
39369
|
field: n,
|
|
39358
39370
|
aclCtx: o,
|
|
@@ -39373,7 +39385,7 @@ const RenderButtonInner = observer$1(
|
|
|
39373
39385
|
title: S,
|
|
39374
39386
|
isLink: y,
|
|
39375
39387
|
onlyIcon: v
|
|
39376
|
-
} =
|
|
39388
|
+
} = O, F = W(O, [
|
|
39377
39389
|
"designable",
|
|
39378
39390
|
"field",
|
|
39379
39391
|
"aclCtx",
|
|
@@ -39396,27 +39408,32 @@ const RenderButtonInner = observer$1(
|
|
|
39396
39408
|
"onlyIcon"
|
|
39397
39409
|
]), { t: I } = useTranslation(), T = useCallback(
|
|
39398
39410
|
debounce$1(
|
|
39399
|
-
(
|
|
39400
|
-
d(
|
|
39411
|
+
(q, E = !0) => {
|
|
39412
|
+
d(q, E);
|
|
39401
39413
|
},
|
|
39402
39414
|
300,
|
|
39403
39415
|
{ leading: !0, trailing: !1 }
|
|
39404
39416
|
),
|
|
39405
39417
|
[d]
|
|
39406
39418
|
);
|
|
39407
|
-
|
|
39419
|
+
useEffect(() => () => {
|
|
39408
39420
|
T.cancel();
|
|
39409
|
-
}, [])
|
|
39410
|
-
|
|
39411
|
-
|
|
39412
|
-
|
|
39413
|
-
|
|
39414
|
-
|
|
39415
|
-
|
|
39416
|
-
|
|
39417
|
-
|
|
39418
|
-
|
|
39421
|
+
}, []);
|
|
39422
|
+
const R = useMemo(
|
|
39423
|
+
() => React.forwardRef(
|
|
39424
|
+
(Y, H) => {
|
|
39425
|
+
var J = Y, { component: q = p || Button, icon: E, onlyIcon: V, children: G } = J, U = W(J, ["component", "icon", "onlyIcon", "children"]);
|
|
39426
|
+
return /* @__PURE__ */ jsxs(q, P(x({ ref: H }, U), { children: [
|
|
39427
|
+
V ? /* @__PURE__ */ jsx(Tooltip, { title: U.title, children: /* @__PURE__ */ jsx("span", { style: { padding: 3 }, children: E && typeof E == "string" ? /* @__PURE__ */ jsx(Icon, { type: E }) : E }) }) : /* @__PURE__ */ jsx("span", { style: { paddingRight: 3 }, children: E && typeof E == "string" ? /* @__PURE__ */ jsx(Icon, { type: E }) : E }),
|
|
39428
|
+
V ? G[1] : G
|
|
39429
|
+
] }));
|
|
39430
|
+
}
|
|
39431
|
+
),
|
|
39432
|
+
[v]
|
|
39419
39433
|
);
|
|
39434
|
+
if (!t && ((j = n == null ? void 0 : n.data) != null && j.hidden || !o))
|
|
39435
|
+
return null;
|
|
39436
|
+
const D = S != null ? S : n == null ? void 0 : n.title, B = typeof D == "string" ? I(D, { ns: NAMESPACE_UI_SCHEMA }) : D, k = l, { opacity: N } = k, $ = W(k, ["opacity"]), L = y && N ? { opacity: N } : void 0, w = v || p ? R : p || Button;
|
|
39420
39437
|
return /* @__PURE__ */ jsxs(
|
|
39421
39438
|
SortableItem,
|
|
39422
39439
|
P(x({
|
|
@@ -39424,18 +39441,18 @@ const RenderButtonInner = observer$1(
|
|
|
39424
39441
|
"aria-label": u()
|
|
39425
39442
|
}, F), {
|
|
39426
39443
|
onMouseEnter: c,
|
|
39427
|
-
loading: ((
|
|
39428
|
-
icon: typeof r == "string" ? /* @__PURE__ */ jsx(Icon, { type: r, style:
|
|
39444
|
+
loading: ((M = n == null ? void 0 : n.data) == null ? void 0 : M.loading) || a,
|
|
39445
|
+
icon: typeof r == "string" ? /* @__PURE__ */ jsx(Icon, { type: r, style: L }) : r,
|
|
39429
39446
|
disabled: i,
|
|
39430
|
-
style: y ?
|
|
39447
|
+
style: y ? $ : l,
|
|
39431
39448
|
onClick: T,
|
|
39432
|
-
component:
|
|
39449
|
+
component: w,
|
|
39433
39450
|
className: cls(m, h, g, "nb-action"),
|
|
39434
39451
|
type: f === "danger" ? void 0 : f,
|
|
39435
|
-
title:
|
|
39452
|
+
title: B,
|
|
39436
39453
|
onlyIcon: v,
|
|
39437
39454
|
children: [
|
|
39438
|
-
!v &&
|
|
39455
|
+
!v && B && /* @__PURE__ */ jsx("span", { className: r ? "nb-action-title" : null, style: L, children: B }),
|
|
39439
39456
|
/* @__PURE__ */ jsx(C, x({}, b))
|
|
39440
39457
|
]
|
|
39441
39458
|
})
|
|
@@ -43119,8 +43136,8 @@ const Upload = connect(
|
|
|
43119
43136
|
);
|
|
43120
43137
|
Upload.ReadPretty = ReadPretty$9;
|
|
43121
43138
|
function useSizeHint(e) {
|
|
43122
|
-
const t = e != null ? e : FILE_SIZE_LIMIT_DEFAULT, { t: n, i18n: o } = useTranslation();
|
|
43123
|
-
return
|
|
43139
|
+
const t = e != null ? e : FILE_SIZE_LIMIT_DEFAULT, { t: n, i18n: o } = useTranslation(), r = filesize(t, { base: 2, standard: "jedec", locale: o.language });
|
|
43140
|
+
return t !== 0 ? n("File size should not exceed {{size}}.", { size: r }) : "";
|
|
43124
43141
|
}
|
|
43125
43142
|
function DefaultThumbnailPreviewer({ file: e }) {
|
|
43126
43143
|
var r;
|
|
@@ -44025,7 +44042,11 @@ const InternalNesterCardCss = css`
|
|
|
44025
44042
|
}, N = () => {
|
|
44026
44043
|
const k = (f == null ? void 0 : f.targetKey) || "id", M = T.map((E) => E[k]).filter(Boolean);
|
|
44027
44044
|
return M.length ? { $and: [{ [`${k}.$ne`]: M }] } : {};
|
|
44028
|
-
}
|
|
44045
|
+
};
|
|
44046
|
+
useEffect(() => {
|
|
44047
|
+
t || F([]);
|
|
44048
|
+
}, [t]);
|
|
44049
|
+
const $ = () => {
|
|
44029
44050
|
const { setVisible: k } = useActionContext(), { multiple: M, selectedRows: q, onChange: E, options: V, collectionField: G } = useContext(RecordPickerContext);
|
|
44030
44051
|
return {
|
|
44031
44052
|
onClick() {
|
|
@@ -45465,7 +45486,7 @@ const Table$1 = withDynamicSchemaProps(
|
|
|
45465
45486
|
onExpand: g,
|
|
45466
45487
|
loading: f,
|
|
45467
45488
|
onClickRow: C,
|
|
45468
|
-
|
|
45489
|
+
enableIndexColumn: b
|
|
45469
45490
|
} = ce, S = W(ce, [
|
|
45470
45491
|
"dragSort",
|
|
45471
45492
|
"showIndex",
|
|
@@ -45477,7 +45498,7 @@ const Table$1 = withDynamicSchemaProps(
|
|
|
45477
45498
|
"onExpand",
|
|
45478
45499
|
"loading",
|
|
45479
45500
|
"onClickRow",
|
|
45480
|
-
"
|
|
45501
|
+
"enableIndexColumn"
|
|
45481
45502
|
]), y = useArrayField(S), v = useFieldSchema(), { size: F = "small" } = (v == null ? void 0 : v["x-component-props"]) || {}, I = useCollection(), R = ((Ce = v == null ? void 0 : v.parent) == null ? void 0 : Ce["x-decorator"]) === "TableSelectorProvider" ? useTableSelectorContext() : useTableBlockContext(), { expandFlag: D, allIncludesChildren: B } = R, N = useMemoizedFn(S.onRowDragEnd || (() => {
|
|
45482
45503
|
})), $ = usePaginationProps$2(n, a), L = useTableColumns$1(S, $), [w, O] = useState(() => D ? B : []), [j, k] = useState(((be = y == null ? void 0 : y.data) == null ? void 0 : be.selectedRowKeys) || []), [M, q] = useState([]), E = (p == null ? void 0 : p.type) !== "none", V = useRef(/* @__PURE__ */ new Map()), G = useMemo(() => css`
|
|
45483
45504
|
& > td {
|
|
@@ -45705,7 +45726,7 @@ const Table$1 = withDynamicSchemaProps(
|
|
|
45705
45726
|
`, SubTable = observer$1(
|
|
45706
45727
|
(e) => {
|
|
45707
45728
|
var k, M, q;
|
|
45708
|
-
const { openSize: t } = e, { field: n, options: o, fieldSchema: r } = useAssociationFieldContext(), { t: a } = useTranslation(), [i, l] = useState(!1), [c, u] = useState([]), d = useFieldNames$1(e), p = useFieldSchema(), m = useCompile(), h = useLabelUiSchema$1(o, (d == null ? void 0 : d.label) || "label"), g = useCollectionRecord(), f = useCollection(), { allowSelectExistingRecord: C, allowAddnew: b, allowDisassociation: S,
|
|
45729
|
+
const { openSize: t } = e, { field: n, options: o, fieldSchema: r } = useAssociationFieldContext(), { t: a } = useTranslation(), [i, l] = useState(!1), [c, u] = useState([]), d = useFieldNames$1(e), p = useFieldSchema(), m = useCompile(), h = useLabelUiSchema$1(o, (d == null ? void 0 : d.label) || "label"), g = useCollectionRecord(), f = useCollection(), { allowSelectExistingRecord: C, allowAddnew: b, allowDisassociation: S, enableIndexColumn: y } = n.componentProps;
|
|
45709
45730
|
useSubTableSpecialCase({ rootField: n, rootSchema: r });
|
|
45710
45731
|
const v = (E, V) => {
|
|
45711
45732
|
if (V !== void 0 && isArr(n.value) && E !== V)
|
|
@@ -45801,7 +45822,7 @@ const Table$1 = withDynamicSchemaProps(
|
|
|
45801
45822
|
n.editable ? a("Please add or select record") : a("No data")
|
|
45802
45823
|
] })
|
|
45803
45824
|
},
|
|
45804
|
-
|
|
45825
|
+
enableIndexColumn: y !== !1,
|
|
45805
45826
|
footer: () => /* @__PURE__ */ jsx("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: n.editable && /* @__PURE__ */ jsxs(
|
|
45806
45827
|
Space$1,
|
|
45807
45828
|
{
|
|
@@ -50234,7 +50255,7 @@ const TableActionColumnDesigner = (e) => {
|
|
|
50234
50255
|
title: u("Enable index column"),
|
|
50235
50256
|
checked: ((N = r.decoratorProps) == null ? void 0 : N.enableSelectColumn) !== !1,
|
|
50236
50257
|
onChange: (k) => z(void 0, null, function* () {
|
|
50237
|
-
r.decoratorProps = r.decoratorProps || {}, r.decoratorProps.
|
|
50258
|
+
r.decoratorProps = r.decoratorProps || {}, r.decoratorProps.enableIndexColumn = k, a["x-decorator-props"].enableIndexColumn = k, d.emit("patch", {
|
|
50238
50259
|
schema: {
|
|
50239
50260
|
"x-uid": a["x-uid"],
|
|
50240
50261
|
"x-decorator-props": a["x-decorator-props"]
|
|
@@ -52787,7 +52808,7 @@ const useCurrentAppInfo = () => useContext(CurrentAppInfoContext), CurrentAppInf
|
|
|
52787
52808
|
});
|
|
52788
52809
|
S(T == null ? void 0 : T.data);
|
|
52789
52810
|
const R = l(o.interface), D = cloneDeep(T == null ? void 0 : T.data) || {};
|
|
52790
|
-
D != null && D.reverseField
|
|
52811
|
+
D != null && D.reverseField ? D.autoCreateReverseField = !0 : (D.autoCreateReverseField = !1, D.reverseField = (N = R == null ? void 0 : R.default) == null ? void 0 : N.reverseField, set$1(D.reverseField, "name", `f_${uid()}`), set$1(D.reverseField, "uiSchema.title", ($ = o.__parent) == null ? void 0 : $.title));
|
|
52791
52812
|
const B = getSchema$7(R, D, o, C);
|
|
52792
52813
|
h(B), p(!0);
|
|
52793
52814
|
}),
|