v0.4.14
This commit is contained in:
parent
1a92dd1161
commit
790a9e4117
2
dist/button.js
vendored
2
dist/button.js
vendored
@ -1,4 +1,4 @@
|
||||
import { P as s, O as u, Q as e } from "./common/main-C-TqcCNl.js";
|
||||
import { P as s, O as u, Q as e } from "./common/main-19SFdrvj.js";
|
||||
import "prop-types";
|
||||
export {
|
||||
s as auth,
|
||||
|
@ -271,7 +271,7 @@ const Xt = pt.getInstance(), kt = C.forwardRef(({ listCode: e, base62params: t,
|
||||
return i != null && i.autoHeight ? s.height = "fit-content" : s["--grid-layout-row"] = `${n}`, s["--grid-layout-box-margin"] = Ot(i == null ? void 0 : i.marginTop, i == null ? void 0 : i.marginRight, i == null ? void 0 : i.marginBottom, i == null ? void 0 : i.marginLeft), s["--grid-layout-box-padding"] = Ot(i == null ? void 0 : i.paddingTop, i == null ? void 0 : i.paddingRight, i == null ? void 0 : i.paddingBottom, i == null ? void 0 : i.paddingLeft), r && (s.height = `${r}px`), s;
|
||||
}, Ot = (e, t, a, n) => `${e || 0}px ${t || 0}px ${a || 0}px ${n || 0}px`, vt = ({ className: e, isConditionFormLayout: t }) => {
|
||||
var m, f;
|
||||
const [a, n] = P({}), { listCode: i, onKeywordChange: r, onConditonChange: s, getBase62params: o } = C.useContext(Le), { keyword: l, condition: u } = o() || {}, [d] = Ze.useForm();
|
||||
const [a, n] = P({}), { listCode: i, onKeywordChange: r, onConditonChange: s, getBase62params: o } = C.useContext(Le), { keyword: l, condition: u } = (o == null ? void 0 : o()) || {}, [d] = Ze.useForm();
|
||||
return $(() => {
|
||||
i && t && x.get(`/api/_/${i}/list-condition-form-layout`).then(({ resource: h, marginX: y, marginY: b, rowHeight: w, cols: E, fields: z }) => {
|
||||
n({ resource: h, itemMargin: [y, b], rowHeight: w, cols: E, fields: z });
|
2
dist/components.js
vendored
2
dist/components.js
vendored
@ -1,4 +1,4 @@
|
||||
import { X as s, N as p, Y as n, Z as t, W as d } from "./common/main-C-TqcCNl.js";
|
||||
import { X as s, N as p, Y as n, Z as t, W as d } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
s as Empty,
|
||||
p as Icon,
|
||||
|
2
dist/container.js
vendored
2
dist/container.js
vendored
@ -1,4 +1,4 @@
|
||||
import { T as o, X as s, Y as p, Z as t, U as d, W as n, V as r, S as u } from "./common/main-C-TqcCNl.js";
|
||||
import { T as o, X as s, Y as p, Z as t, U as d, W as n, V as r, S as u } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
o as Context,
|
||||
s as Empty,
|
||||
|
2
dist/data-list.js
vendored
2
dist/data-list.js
vendored
@ -1,4 +1,4 @@
|
||||
import { m as s, k as e, e as r, i, n as o, j as D, h as l, l as u, f as L, o as n, D as d, p as m, q as F, s as p, t as C, r as b } from "./common/main-C-TqcCNl.js";
|
||||
import { m as s, k as e, e as r, i, n as o, j as D, h as l, l as u, f as L, o as n, D as d, p as m, q as F, s as p, t as C, r as b } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
s as DataListContent,
|
||||
e as DataListContext,
|
||||
|
2
dist/data-list/utils.js
vendored
2
dist/data-list/utils.js
vendored
@ -1,5 +1,5 @@
|
||||
import "lodash";
|
||||
import { a as t } from "../common/main-C-TqcCNl.js";
|
||||
import { a as t } from "../common/main-19SFdrvj.js";
|
||||
export {
|
||||
t as getDefaultExpandRowKeys
|
||||
};
|
||||
|
2
dist/grid-layout-form.js
vendored
2
dist/grid-layout-form.js
vendored
@ -1,4 +1,4 @@
|
||||
import { E as r, I as u, F as e, C as o, M as t, L as F, K as d, J as m } from "./common/main-C-TqcCNl.js";
|
||||
import { E as r, I as u, F as e, C as o, M as t, L as F, K as d, J as m } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
r as GridLayoutForm,
|
||||
u as GridLayoutFormHelper,
|
||||
|
2
dist/grid-layout-form/utils.js
vendored
2
dist/grid-layout-form/utils.js
vendored
@ -1,5 +1,5 @@
|
||||
import "lodash";
|
||||
import { a7 as a } from "../common/main-C-TqcCNl.js";
|
||||
import { a7 as a } from "../common/main-19SFdrvj.js";
|
||||
export {
|
||||
a as getOptionItemByValue
|
||||
};
|
||||
|
2
dist/grid-layout.js
vendored
2
dist/grid-layout.js
vendored
@ -1,4 +1,4 @@
|
||||
import { b as d, c as e, H as u, G as i, u as t, d as o } from "./common/main-C-TqcCNl.js";
|
||||
import { b as d, c as e, H as u, G as i, u as t, d as o } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
d as GridLayout,
|
||||
e as GridLayoutWidget,
|
||||
|
2
dist/grid-layout/utils.js
vendored
2
dist/grid-layout/utils.js
vendored
@ -1,4 +1,4 @@
|
||||
import { g as t } from "../common/main-C-TqcCNl.js";
|
||||
import { g as t } from "../common/main-19SFdrvj.js";
|
||||
export {
|
||||
t as getBoxStyle
|
||||
};
|
||||
|
2
dist/hooks.js
vendored
2
dist/hooks.js
vendored
@ -1,7 +1,7 @@
|
||||
import "lodash";
|
||||
import "rc-field-form";
|
||||
import "react";
|
||||
import { z as p, y as i, A as o, w as r, x as f, B as c, v as m } from "./common/main-C-TqcCNl.js";
|
||||
import { z as p, y as i, A as o, w as r, x as f, B as c, v as m } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
p as useDeepEffect,
|
||||
i as useDeepEqualEffect,
|
||||
|
2
dist/iconfont.js
vendored
2
dist/iconfont.js
vendored
@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
||||
import "react";
|
||||
import "prop-types";
|
||||
import "classnames";
|
||||
import { N as a } from "./common/main-C-TqcCNl.js";
|
||||
import { N as a } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
a as default
|
||||
};
|
||||
|
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -1,4 +1,4 @@
|
||||
import { a5 as t, a6 as e, a1 as o, a2 as p, _ as n, a3 as c, a0 as r, $ as f, a4 as u } from "./common/main-C-TqcCNl.js";
|
||||
import { a5 as t, a6 as e, a1 as o, a2 as p, _ as n, a3 as c, a0 as r, $ as f, a4 as u } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
t as AppContext,
|
||||
e as AppGlobalParamsContext,
|
||||
|
2
dist/res-ws.js
vendored
2
dist/res-ws.js
vendored
@ -1,5 +1,5 @@
|
||||
import "lodash";
|
||||
import { R as a } from "./common/main-C-TqcCNl.js";
|
||||
import { R as a } from "./common/main-19SFdrvj.js";
|
||||
export {
|
||||
a as default
|
||||
};
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ff",
|
||||
"private": true,
|
||||
"version": "0.4.13",
|
||||
"version": "0.4.14",
|
||||
"author": "www.fsdpf.com",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user