diff --git a/dist/button.js b/dist/button.js index 02493b7..f271aba 100644 --- a/dist/button.js +++ b/dist/button.js @@ -1,4 +1,4 @@ -import { ah as s, ag as u, ai as e } from "./common/main-cm2gLPtO.js"; +import { ah as s, ag as u, ai as e } from "./common/main-DIjtGOtT.js"; export { s as auth, u as default, diff --git a/dist/common/main-cm2gLPtO.js b/dist/common/main-DIjtGOtT.js similarity index 99% rename from dist/common/main-cm2gLPtO.js rename to dist/common/main-DIjtGOtT.js index 2da9474..190241e 100644 --- a/dist/common/main-cm2gLPtO.js +++ b/dist/common/main-DIjtGOtT.js @@ -889,7 +889,7 @@ const Wa = (e, t, n, a) => Se.redirect(n, t, a), Ka = (e, t = {}, n, a = {}) => const $ = (D, pe = !1) => (f(D), !D && w("hover"), D ? l == null ? void 0 : l(C) : s == null ? void 0 : s(pe)), _ = (D) => { f(!0), w("click"); }; - return g(Jn, { zIndex: B, placement: E, onPopupClick: _, onClick: _, open: h, align: F, arrow: M, trigger: u, getPopupContainer: I || T ? void 0 : (D) => D, styles: { body: { padding: 0 } }, content: g(Ga, { ...z, extras: c, children: v && S.cloneElement(v, { ...C, $close: (D) => $(!1, D) }) }), children: p, onOpenChange: $ }); + return g(Jn, { zIndex: B, placement: E, onPopupClick: _, onClick: _, open: h, align: F, arrow: M, trigger: u, getPopupContainer: I || T ? void 0 : (D) => D, content: g(Ga, { ...z, extras: c, children: v && S.cloneElement(v, { ...C, $close: (D) => $(!1, D) }) }), children: p, onOpenChange: $ }); }, Ga = ({ title: e, className: t, classNames: n, children: a, extras: i, width: r, height: o, ...s }) => { const [l, p] = A({}), c = G((u, w) => p((C) => ({ ...C, [u]: w })), []), d = G((u) => p((w) => ({ ...w, [u]: void 0 })), []), h = e ? S.createElement("div", { className: "ff-popup-title" }, e) : l == null ? void 0 : l.title, f = i ?? S.createElement("div", { className: "ff-popup-reserved-extras" }, i); return g(Ke.Provider, { value: { ele: l, mount: c, unmount: d }, children: O("div", { className: R("ff-popup ff-popover", t, l.rootClassName), style: { width: r ?? 260, height: o }, ...s, children: [O("div", { className: R("ff-popup-header", "ff-popover-header", n == null ? void 0 : n.header), children: [h, l == null ? void 0 : l["sub-title"]] }), g("div", { className: R("ff-popup-body", "ff-popover-body", n == null ? void 0 : n.body), children: a }), O("div", { className: R("ff-popup-footer", "ff-popover-footer", n == null ? void 0 : n.footer), children: [f, l == null ? void 0 : l.extras, l == null ? void 0 : l.actions] })] }) }); diff --git a/dist/components.js b/dist/components.js index c2f7e2e..e890155 100644 --- a/dist/components.js +++ b/dist/components.js @@ -1,4 +1,4 @@ -import { ao as p, af as s, ap as n, aq as t, an as d } from "./common/main-cm2gLPtO.js"; +import { ao as p, af as s, ap as n, aq as t, an as d } from "./common/main-DIjtGOtT.js"; export { p as Empty, s as Icon, diff --git a/dist/container.js b/dist/container.js index 86147be..504f9e0 100644 --- a/dist/container.js +++ b/dist/container.js @@ -1,4 +1,4 @@ -import { ak as e, ao as s, ap as p, aq as n, al as t, an as d, am as r, aj as u } from "./common/main-cm2gLPtO.js"; +import { ak as e, ao as s, ap as p, aq as n, al as t, an as d, am as r, aj as u } from "./common/main-DIjtGOtT.js"; export { e as Context, s as Empty, diff --git a/dist/data-converter.js b/dist/data-converter.js index b5080df..49a1181 100644 --- a/dist/data-converter.js +++ b/dist/data-converter.js @@ -1,6 +1,6 @@ import "lodash"; import "react"; -import { D as p } from "./common/main-cm2gLPtO.js"; +import { D as p } from "./common/main-DIjtGOtT.js"; export { p as default }; diff --git a/dist/data-list.js b/dist/data-list.js index a4c0fe2..1ade831 100644 --- a/dist/data-list.js +++ b/dist/data-list.js @@ -1,4 +1,4 @@ -import { J as t, F as e, z as r, C as o, K as i, E as l, B as u, I as D, A as n, L, y as C, N as m, M as p, U as b, P as c, S as F, Q as d, T as O, O as S } from "./common/main-cm2gLPtO.js"; +import { J as t, F as e, z as r, C as o, K as i, E as l, B as u, I as D, A as n, L, y as C, N as m, M as p, U as b, P as c, S as F, Q as d, T as O, O as S } from "./common/main-DIjtGOtT.js"; export { t as DataListContent, e as DataListContext, diff --git a/dist/data-list/utils.js b/dist/data-list/utils.js index aade86b..1ca394a 100644 --- a/dist/data-list/utils.js +++ b/dist/data-list/utils.js @@ -1,5 +1,5 @@ import "lodash"; -import { n as a } from "../common/main-cm2gLPtO.js"; +import { n as a } from "../common/main-DIjtGOtT.js"; export { a as getDefaultExpandRowKeys }; diff --git a/dist/grid-layout-form.js b/dist/grid-layout-form.js index f371142..5c7b37b 100644 --- a/dist/grid-layout-form.js +++ b/dist/grid-layout-form.js @@ -1,4 +1,4 @@ -import { a5 as s, a7 as r, a6 as u, a4 as o, x as t, ac as m, aa as d, ab as F, ae as i, a9 as c, a8 as g, ad as l } from "./common/main-cm2gLPtO.js"; +import { a5 as s, a7 as r, a6 as u, a4 as o, x as t, ac as m, aa as d, ab as F, ae as i, a9 as c, a8 as g, ad as l } from "./common/main-DIjtGOtT.js"; export { s as GridLayoutForm, r as GridLayoutFormHelper, diff --git a/dist/grid-layout-form/utils.js b/dist/grid-layout-form/utils.js index 52fc1ec..06a661c 100644 --- a/dist/grid-layout-form/utils.js +++ b/dist/grid-layout-form/utils.js @@ -1,5 +1,5 @@ import "lodash"; -import { a as o, g } from "../common/main-cm2gLPtO.js"; +import { a as o, g } from "../common/main-DIjtGOtT.js"; export { o as getNormalizeWidget, g as getOptionItemByValue diff --git a/dist/grid-layout.js b/dist/grid-layout.js index 3c50742..b4a05a9 100644 --- a/dist/grid-layout.js +++ b/dist/grid-layout.js @@ -1,4 +1,4 @@ -import { o as u, q as e, p as r, H as t, G as d, v as o, x as i, w as G, s as y } from "./common/main-cm2gLPtO.js"; +import { o as u, q as e, p as r, H as t, G as d, v as o, x as i, w as G, s as y } from "./common/main-DIjtGOtT.js"; export { u as GridLayout, e as GridLayoutFramework, diff --git a/dist/grid-layout/utils.js b/dist/grid-layout/utils.js index 9ca03dd..6f8c887 100644 --- a/dist/grid-layout/utils.js +++ b/dist/grid-layout/utils.js @@ -1,4 +1,4 @@ -import { j as a, l, k as o } from "../common/main-cm2gLPtO.js"; +import { j as a, l, k as o } from "../common/main-DIjtGOtT.js"; export { a as getBoxStyle, l as getNormalizeFields, diff --git a/dist/hooks.js b/dist/hooks.js index b2a9cda..ac0c4c5 100644 --- a/dist/hooks.js +++ b/dist/hooks.js @@ -1,7 +1,7 @@ import "lodash"; import "rc-field-form"; import "react"; -import { a1 as r, a0 as o, a2 as p, _ as f, $ as i, a3 as m, Z as c } from "./common/main-cm2gLPtO.js"; +import { a1 as r, a0 as o, a2 as p, _ as f, $ as i, a3 as m, Z as c } from "./common/main-DIjtGOtT.js"; import { default as b } from "rc-util/lib/hooks/useMergedState"; export { r as useDeepEffect, diff --git a/dist/iconfont.js b/dist/iconfont.js index 7608a9e..961ff67 100644 --- a/dist/iconfont.js +++ b/dist/iconfont.js @@ -2,7 +2,7 @@ import "react/jsx-runtime"; import "react"; import "prop-types"; import "classnames"; -import { af as a } from "./common/main-cm2gLPtO.js"; +import { af as a } from "./common/main-DIjtGOtT.js"; export { a as default }; diff --git a/dist/index.js b/dist/index.js index f807cbf..790fa83 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4 +1,4 @@ -import { az as t, aA as e, av as o, aw as n, ar as p, ax as r, au as c, at as u, as as f, ay as l } from "./common/main-cm2gLPtO.js"; +import { az as t, aA as e, av as o, aw as n, ar as p, ax as r, au as c, at as u, as as f, ay as l } from "./common/main-DIjtGOtT.js"; export { t as AppContext, e as AppGlobalParamsContext, diff --git a/dist/pages.js b/dist/pages.js index a4c1187..dd5ef3e 100644 --- a/dist/pages.js +++ b/dist/pages.js @@ -1,4 +1,4 @@ -import { W as t, V as e, X as o, Y as g } from "./common/main-cm2gLPtO.js"; +import { W as t, V as e, X as o, Y as g } from "./common/main-DIjtGOtT.js"; export { t as CustomPage, e as DataListPage, diff --git a/dist/res-ws.js b/dist/res-ws.js index de28f84..b6d5555 100644 --- a/dist/res-ws.js +++ b/dist/res-ws.js @@ -1,5 +1,5 @@ import "lodash"; -import { R as a } from "./common/main-cm2gLPtO.js"; +import { R as a } from "./common/main-DIjtGOtT.js"; export { a as default }; diff --git a/dist/utils.js b/dist/utils.js index 0106d2d..8ce81b1 100644 --- a/dist/utils.js +++ b/dist/utils.js @@ -1,5 +1,5 @@ import "lodash"; -import { d as r, f as i, e as g, h as m, b as o, c as p, i as P, m as d, r as k, t as u, u as h } from "./common/main-cm2gLPtO.js"; +import { d as r, f as i, e as g, h as m, b as o, c as p, i as P, m as d, r as k, t as u, u as h } from "./common/main-DIjtGOtT.js"; import "./common/vender-FNiQWFaA.js"; export { r as deepSome, diff --git a/package.json b/package.json index 2836868..d6566a5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ff", "private": true, - "version": "0.6.9", + "version": "0.6.10", "author": "www.fsdpf.com", "type": "module", "main": "./dist/index.js",