This commit is contained in:
what 2024-08-21 15:47:09 +08:00
parent 29d32aa2d3
commit 5c0a398209
15 changed files with 16 additions and 16 deletions

2
dist/button.js vendored
View File

@ -1,4 +1,4 @@
import { P as s, O as u, Q as e } from "./common/main-2s1hdQO8.js"; import { P as s, O as u, Q as e } from "./common/main-BWGhrIEF.js";
import "prop-types"; import "prop-types";
export { export {
s as auth, s as auth,

View File

@ -687,10 +687,10 @@ const Qe = (e) => function({ className: t, children: a, name: n, icon: i, type:
}, I = () => { }, I = () => {
d(!0), y("click"); d(!0), y("click");
}; };
return c(Sa, { zIndex: 1e3, ...o, onPopupClick: I, onClick: I, open: u, trigger: m, content: c(wn, { children: C && b.cloneElement(C, { ...h, $close: () => x(!1) }) }), children: n, onOpenChange: x, overlayClassName: "ff-popup ff-popover" }); return c(Sa, { zIndex: 1e3, ...o, onPopupClick: I, onClick: I, open: u, trigger: m, content: c(wn, { children: C && b.cloneElement(C, { ...h, $close: () => x(!1) }) }), children: n, onOpenChange: x });
}, wn = ({ children: e }) => { }, wn = ({ children: e }) => {
const [t, a] = P({}), n = ge((r, s) => a((o) => ({ ...o, [r]: s })), []), i = ge((r) => a((s) => ({ ...s, [r]: void 0 })), []); const [t, a] = P({}), n = ge((r, s) => a((o) => ({ ...o, [r]: s })), []), i = ge((r) => a((s) => ({ ...s, [r]: void 0 })), []);
return $(_e.Provider, { value: { ele: t, mount: n, unmount: i }, children: [t != null && t.title || t != null && t["sub-title"] ? $("div", { className: "ff-popup-header", children: [(t == null ? void 0 : t.title) || c("div", { className: "ff-popup-title" }), (t == null ? void 0 : t["sub-title"]) || c("div", { className: "ff-popup-sub-title" })] }) : null, e, t != null && t.extras || t != null && t.actions ? $("div", { className: "ff-popup-footer", children: [(t == null ? void 0 : t.extras) || c("div", { className: "ff-popup-extras" }), (t == null ? void 0 : t.actions) || c("div", { className: "ff-popup-actions" })] }) : null] }); return c(_e.Provider, { value: { ele: t, mount: n, unmount: i }, children: $("div", { className: "ff-popup ff-popover", children: [t != null && t.title || t != null && t["sub-title"] ? $("div", { className: "ff-popup-header", children: [(t == null ? void 0 : t.title) || c("div", { className: "ff-popup-title" }), (t == null ? void 0 : t["sub-title"]) || c("div", { className: "ff-popup-sub-title" })] }) : null, e, t != null && t.extras || t != null && t.actions ? $("div", { className: "ff-popup-footer", children: [(t == null ? void 0 : t.extras) || c("div", { className: "ff-popup-extras" }), (t == null ? void 0 : t.actions) || c("div", { className: "ff-popup-actions" })] }) : null] }) });
}; };
Bt.propTypes = { widgetType: O.oneOf(["fsdpf-component", "grid-layout-form", "data-list"]) }, S.propTypes = { type: O.oneOf(["primary", "default", "danger", ""]), name: O.string, icon: O.string, iconPosition: O.oneOf(["start", "end"]), data: O.any, widget: O.any, widgetType: O.oneOf(["destroy", "redirect", "func", "fsdpf-component", "grid-layout-form", "grid-layout", "data-list"]), widgetData: O.object, widgetProps: O.object, widgetSetting: O.object, widgetContainerProps: O.object }, S.Link = mn, S.Link.defaultProps = S.defaultProps, S.Link.propTypes = S.propTypes, S.Circle = hn, S.Circle.defaultProps = S.defaultProps, S.Circle.propTypes = S.propTypes, S.Round = fn, S.Round.defaultProps = S.defaultProps, S.Round.propTypes = S.propTypes, S.Dashed = yn, S.Dashed.defaultProps = S.defaultProps, S.Dashed.propTypes = S.propTypes, S.Popover = Bt; Bt.propTypes = { widgetType: O.oneOf(["fsdpf-component", "grid-layout-form", "data-list"]) }, S.propTypes = { type: O.oneOf(["primary", "default", "danger", ""]), name: O.string, icon: O.string, iconPosition: O.oneOf(["start", "end"]), data: O.any, widget: O.any, widgetType: O.oneOf(["destroy", "redirect", "func", "fsdpf-component", "grid-layout-form", "grid-layout", "data-list"]), widgetData: O.object, widgetProps: O.object, widgetSetting: O.object, widgetContainerProps: O.object }, S.Link = mn, S.Link.defaultProps = S.defaultProps, S.Link.propTypes = S.propTypes, S.Circle = hn, S.Circle.defaultProps = S.defaultProps, S.Circle.propTypes = S.propTypes, S.Round = fn, S.Round.defaultProps = S.defaultProps, S.Round.propTypes = S.propTypes, S.Dashed = yn, S.Dashed.defaultProps = S.defaultProps, S.Dashed.propTypes = S.propTypes, S.Popover = Bt;
const bn = ({ fields: e, formProps: t, $close: a }) => { const bn = ({ fields: e, formProps: t, $close: a }) => {

2
dist/components.js vendored
View File

@ -1,4 +1,4 @@
import { X as s, N as p, Y as n, Z as t, W as d } from "./common/main-2s1hdQO8.js"; import { X as s, N as p, Y as n, Z as t, W as d } from "./common/main-BWGhrIEF.js";
export { export {
s as Empty, s as Empty,
p as Icon, p as Icon,

2
dist/container.js vendored
View File

@ -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-2s1hdQO8.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-BWGhrIEF.js";
export { export {
o as Context, o as Context,
s as Empty, s as Empty,

2
dist/data-list.js vendored
View File

@ -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-2s1hdQO8.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-BWGhrIEF.js";
export { export {
s as DataListContent, s as DataListContent,
e as DataListContext, e as DataListContext,

View File

@ -1,5 +1,5 @@
import "lodash"; import "lodash";
import { a as t } from "../common/main-2s1hdQO8.js"; import { a as t } from "../common/main-BWGhrIEF.js";
export { export {
t as getDefaultExpandRowKeys t as getDefaultExpandRowKeys
}; };

View File

@ -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-2s1hdQO8.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-BWGhrIEF.js";
export { export {
r as GridLayoutForm, r as GridLayoutForm,
u as GridLayoutFormHelper, u as GridLayoutFormHelper,

View File

@ -1,5 +1,5 @@
import "lodash"; import "lodash";
import { a7 as a } from "../common/main-2s1hdQO8.js"; import { a7 as a } from "../common/main-BWGhrIEF.js";
export { export {
a as getOptionItemByValue a as getOptionItemByValue
}; };

2
dist/grid-layout.js vendored
View File

@ -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-2s1hdQO8.js"; import { b as d, c as e, H as u, G as i, u as t, d as o } from "./common/main-BWGhrIEF.js";
export { export {
d as GridLayout, d as GridLayout,
e as GridLayoutWidget, e as GridLayoutWidget,

View File

@ -1,4 +1,4 @@
import { g as t } from "../common/main-2s1hdQO8.js"; import { g as t } from "../common/main-BWGhrIEF.js";
export { export {
t as getBoxStyle t as getBoxStyle
}; };

2
dist/hooks.js vendored
View File

@ -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-2s1hdQO8.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-BWGhrIEF.js";
export { export {
p as useDeepEffect, p as useDeepEffect,
i as useDeepEqualEffect, i as useDeepEqualEffect,

2
dist/iconfont.js vendored
View File

@ -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-2s1hdQO8.js"; import { N as a } from "./common/main-BWGhrIEF.js";
export { export {
a as default a as default
}; };

2
dist/index.js vendored
View File

@ -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-2s1hdQO8.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-BWGhrIEF.js";
export { export {
t as AppContext, t as AppContext,
e as AppGlobalParamsContext, e as AppGlobalParamsContext,

2
dist/res-ws.js vendored
View File

@ -1,5 +1,5 @@
import "lodash"; import "lodash";
import { R as a } from "./common/main-2s1hdQO8.js"; import { R as a } from "./common/main-BWGhrIEF.js";
export { export {
a as default a as default
}; };

View File

@ -1,7 +1,7 @@
{ {
"name": "ff", "name": "ff",
"private": true, "private": true,
"version": "0.4.2", "version": "0.4.3",
"author": "www.fsdpf.com", "author": "www.fsdpf.com",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",