v0.4.8
This commit is contained in:
parent
64bc787e10
commit
215758037c
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-DgNCIBN3.js";
|
import { P as s, O as u, Q as e } from "./common/main-CQFNsPcH.js";
|
||||||
import "prop-types";
|
import "prop-types";
|
||||||
export {
|
export {
|
||||||
s as auth,
|
s as auth,
|
||||||
|
@ -696,9 +696,9 @@ Bt.propTypes = { widgetType: L.oneOf(["fsdpf-component", "grid-layout-form", "da
|
|||||||
const bn = ({ fields: e, formProps: t, $close: a }) => {
|
const bn = ({ fields: e, formProps: t, $close: a }) => {
|
||||||
const [n] = re.useForm(), i = pe(() => [{ name: "__PROPS__", value: t }], [t]);
|
const [n] = re.useForm(), i = pe(() => [{ name: "__PROPS__", value: t }], [t]);
|
||||||
return c(H, { actions: $(b.Fragment, { children: [c(S, { name: "取消", widget: () => a(!1) }), c(S, { name: "确定", type: "primary", widget: () => n.validateFields(!0).then(a) })] }), children: c(re, { fields: i, form: n, className: "ff-modal-form", children: e == null ? void 0 : e.map(({ code: r, ...s }) => c(ln, { code: r, ...s }, r)) }) });
|
return c(H, { actions: $(b.Fragment, { children: [c(S, { name: "取消", widget: () => a(!1) }), c(S, { name: "确定", type: "primary", widget: () => n.validateFields(!0).then(a) })] }), children: c(re, { fields: i, form: n, className: "ff-modal-form", children: e == null ? void 0 : e.map(({ code: r, ...s }) => c(ln, { code: r, ...s }, r)) }) });
|
||||||
}, Cn = ({ className: e, $close: t, children: a, title: n, subTitle: i, actions: r, extras: s, zIndex: o, ...l }) => $(La, { ...l, prefixCls: "ff-drawer", className: R("ff-popup", e), height: 378, maskMotion: { motionAppear: !0, motionName: "mask-motion" }, motion: (u) => ({ motionAppear: !0, motionName: `panel-motion-${u}` }), children: [$("div", { className: "ff-popup-header", children: [c("button", { "aria-label": "Close", className: "ff-popup-close", onClick: l.onClose, children: c(Ct, { type: "close" }) }), n, i] }), c("div", { className: "ff-popup-body", children: a }), $("div", { className: "ff-popup-footer", children: [s, " ", r] })] }), vn = ({ className: e, $close: t, $event: a, children: n, title: i, subTitle: r, actions: s, extras: o, zIndex: l, placement: u, ...d }) => {
|
}, Cn = ({ className: e, $close: t, children: a, title: n, subTitle: i, actions: r, extras: s, zIndex: o, ...l }) => $(La, { ...l, prefixCls: "ff-drawer", className: R("ff-popup", e), height: 378, maskMotion: { motionAppear: !0, motionName: "mask-motion" }, motion: (u) => ({ motionAppear: !0, motionName: `panel-motion-${u}` }), children: [$("div", { className: "ff-popup-header", children: [c("button", { "aria-label": "Close", className: "ff-popup-close", onClick: l.onClose, children: c(Ct, { type: "close" }) }), n, i] }), c("div", { className: "ff-popup-body", children: a }), $("div", { className: "ff-popup-footer", children: [s, r] })] }), vn = ({ className: e, $close: t, $event: a, children: n, title: i, subTitle: r, actions: s, extras: o, zIndex: l, placement: u, ...d }) => {
|
||||||
const m = (a == null ? void 0 : a.pageX) === void 0 ? { animation: null, maskAnimation: null, mousePosition: { x: null, y: null } } : { animation: "zoom", maskAnimation: "fade", mousePosition: { x: a == null ? void 0 : a.pageX, y: a == null ? void 0 : a.pageY } };
|
const m = (a == null ? void 0 : a.pageX) === void 0 ? { animation: null, maskAnimation: null, mousePosition: { x: null, y: null } } : { animation: "zoom", maskAnimation: "fade", mousePosition: { x: a == null ? void 0 : a.pageX, y: a == null ? void 0 : a.pageY } };
|
||||||
return c(Va, { ...d, ...m, prefixCls: "ff-modal", modalRender: () => $("div", { className: R("ff-modal-content ff-popup", e), children: [$("div", { className: "ff-popup-header", children: [c("button", { "aria-label": "Close", className: "ff-popup-close", onClick: d.onClose, children: c(Ct, { type: "close" }) }), i, " ", r] }), c("div", { className: "ff-popup-body", children: n }), $("div", { className: "ff-popup-footer", children: [o, " ", s] })] }) });
|
return c(Va, { ...d, ...m, prefixCls: "ff-modal", modalRender: () => $("div", { className: R("ff-modal-content ff-popup", e), children: [$("div", { className: "ff-popup-header", children: [c("button", { "aria-label": "Close", className: "ff-popup-close", onClick: d.onClose, children: c(Ct, { type: "close" }) }), i, r] }), c("div", { className: "ff-popup-body", children: n }), $("div", { className: "ff-popup-footer", children: [o, s] })] }) });
|
||||||
}, ua = ({ placement: e, $close: t, $event: a, children: n, title: i, ...r }) => {
|
}, ua = ({ placement: e, $close: t, $event: a, children: n, title: i, ...r }) => {
|
||||||
const [s, o] = P({}), [l, u] = P(!0), d = ge((y, C) => o((w) => ({ ...w, [y]: C })), []), m = ge((y) => o((C) => ({ ...C, [y]: void 0 })), []);
|
const [s, o] = P({}), [l, u] = P(!0), d = ge((y, C) => o((w) => ({ ...w, [y]: C })), []), m = ge((y) => o((C) => ({ ...C, [y]: void 0 })), []);
|
||||||
let f = { ...r, className: s.rootClassName, title: s.title || i && b.createElement("div", { className: R("ff-popup-title") }, i), subTitle: s["sub-title"], actions: s.actions, extras: s.extras, children: n, $close: t, $event: a, onClose: () => u(!1) };
|
let f = { ...r, className: s.rootClassName, title: s.title || i && b.createElement("div", { className: R("ff-popup-title") }, i), subTitle: s["sub-title"], actions: s.actions, extras: s.extras, children: n, $close: t, $event: a, onClose: () => u(!1) };
|
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-DgNCIBN3.js";
|
import { X as s, N as p, Y as n, Z as t, W as d } from "./common/main-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
s as Empty,
|
s as Empty,
|
||||||
p as Icon,
|
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-DgNCIBN3.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-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
o as Context,
|
o as Context,
|
||||||
s as Empty,
|
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-DgNCIBN3.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-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
s as DataListContent,
|
s as DataListContent,
|
||||||
e as DataListContext,
|
e as DataListContext,
|
||||||
|
2
dist/data-list/utils.js
vendored
2
dist/data-list/utils.js
vendored
@ -1,5 +1,5 @@
|
|||||||
import "lodash";
|
import "lodash";
|
||||||
import { a as t } from "../common/main-DgNCIBN3.js";
|
import { a as t } from "../common/main-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
t as getDefaultExpandRowKeys
|
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-DgNCIBN3.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-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
r as GridLayoutForm,
|
r as GridLayoutForm,
|
||||||
u as GridLayoutFormHelper,
|
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 "lodash";
|
||||||
import { a7 as a } from "../common/main-DgNCIBN3.js";
|
import { a7 as a } from "../common/main-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
a as getOptionItemByValue
|
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-DgNCIBN3.js";
|
import { b as d, c as e, H as u, G as i, u as t, d as o } from "./common/main-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
d as GridLayout,
|
d as GridLayout,
|
||||||
e as GridLayoutWidget,
|
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-DgNCIBN3.js";
|
import { g as t } from "../common/main-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
t as getBoxStyle
|
t as getBoxStyle
|
||||||
};
|
};
|
||||||
|
2
dist/hooks.js
vendored
2
dist/hooks.js
vendored
@ -1,7 +1,7 @@
|
|||||||
import "lodash";
|
import "lodash";
|
||||||
import "rc-field-form";
|
import "rc-field-form";
|
||||||
import "react";
|
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-DgNCIBN3.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-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
p as useDeepEffect,
|
p as useDeepEffect,
|
||||||
i as useDeepEqualEffect,
|
i as useDeepEqualEffect,
|
||||||
|
2
dist/iconfont.js
vendored
2
dist/iconfont.js
vendored
@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|||||||
import "react";
|
import "react";
|
||||||
import "prop-types";
|
import "prop-types";
|
||||||
import "classnames";
|
import "classnames";
|
||||||
import { N as a } from "./common/main-DgNCIBN3.js";
|
import { N as a } from "./common/main-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
a as default
|
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-DgNCIBN3.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-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
t as AppContext,
|
t as AppContext,
|
||||||
e as AppGlobalParamsContext,
|
e as AppGlobalParamsContext,
|
||||||
|
2
dist/res-ws.js
vendored
2
dist/res-ws.js
vendored
@ -1,5 +1,5 @@
|
|||||||
import "lodash";
|
import "lodash";
|
||||||
import { R as a } from "./common/main-DgNCIBN3.js";
|
import { R as a } from "./common/main-CQFNsPcH.js";
|
||||||
export {
|
export {
|
||||||
a as default
|
a as default
|
||||||
};
|
};
|
||||||
|
2
dist/style.css
vendored
2
dist/style.css
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ff",
|
"name": "ff",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.4.7",
|
"version": "0.4.8",
|
||||||
"author": "www.fsdpf.com",
|
"author": "www.fsdpf.com",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user