This commit is contained in:
what 2024-08-22 10:29:19 +08:00
parent 4028d8cd04
commit 133341c8a3
15 changed files with 15 additions and 15 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-BHLR5OFm.js"; import { P as s, O as u, Q as e } from "./common/main-CxqrXb2v.js";
import "prop-types"; import "prop-types";
export { export {
s as auth, s as auth,

View File

@ -690,7 +690,7 @@ const Qe = (e) => function({ className: t, children: a, name: n, icon: i, type:
return c(Sa, { zIndex: 1e3, placement: E, onPopupClick: W, onClick: W, open: u, trigger: m, content: c(wn, { ...A, children: C && b.cloneElement(C, { ...h, $close: () => J(!1) }) }), children: n, onOpenChange: J }); return c(Sa, { zIndex: 1e3, placement: E, onPopupClick: W, onClick: W, open: u, trigger: m, content: c(wn, { ...A, children: C && b.cloneElement(C, { ...h, $close: () => J(!1) }) }), children: n, onOpenChange: J });
}, wn = ({ title: e, className: t, children: a, ...n }) => { }, wn = ({ title: e, className: t, children: a, ...n }) => {
const [i, r] = P({}), s = ge((u, d) => r((m) => ({ ...m, [u]: d })), []), o = ge((u) => r((d) => ({ ...d, [u]: void 0 })), []), l = e ? b.createElement("div", { className: "ff-popup-title" }, e) : i == null ? void 0 : i.title; const [i, r] = P({}), s = ge((u, d) => r((m) => ({ ...m, [u]: d })), []), o = ge((u) => r((d) => ({ ...d, [u]: void 0 })), []), l = e ? b.createElement("div", { className: "ff-popup-title" }, e) : i == null ? void 0 : i.title;
return c(_e.Provider, { value: { ele: i, mount: s, unmount: o }, children: $("div", { className: cx("ff-popup ff-popover", t), ...n, children: [l || i != null && i["sub-title"] ? $("div", { className: "ff-popup-header", children: [l || c("div", { className: "ff-popup-title" }), (i == null ? void 0 : i["sub-title"]) || c("div", { className: "ff-popup-sub-title" })] }) : null, a, i != null && i.extras || i != null && i.actions ? $("div", { className: "ff-popup-footer", children: [(i == null ? void 0 : i.extras) || c("div", { className: "ff-popup-extras" }), (i == null ? void 0 : i.actions) || c("div", { className: "ff-popup-actions" })] }) : null] }) }); return c(_e.Provider, { value: { ele: i, mount: s, unmount: o }, children: $("div", { className: R("ff-popup ff-popover", t), ...n, children: [l || i != null && i["sub-title"] ? $("div", { className: "ff-popup-header", children: [l || c("div", { className: "ff-popup-title" }), (i == null ? void 0 : i["sub-title"]) || c("div", { className: "ff-popup-sub-title" })] }) : null, a, i != null && i.extras || i != null && i.actions ? $("div", { className: "ff-popup-footer", children: [(i == null ? void 0 : i.extras) || c("div", { className: "ff-popup-extras" }), (i == null ? void 0 : i.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-BHLR5OFm.js"; import { X as s, N as p, Y as n, Z as t, W as d } from "./common/main-CxqrXb2v.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-BHLR5OFm.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-CxqrXb2v.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-BHLR5OFm.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-CxqrXb2v.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-BHLR5OFm.js"; import { a as t } from "../common/main-CxqrXb2v.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-BHLR5OFm.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-CxqrXb2v.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-BHLR5OFm.js"; import { a7 as a } from "../common/main-CxqrXb2v.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-BHLR5OFm.js"; import { b as d, c as e, H as u, G as i, u as t, d as o } from "./common/main-CxqrXb2v.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-BHLR5OFm.js"; import { g as t } from "../common/main-CxqrXb2v.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-BHLR5OFm.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-CxqrXb2v.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-BHLR5OFm.js"; import { N as a } from "./common/main-CxqrXb2v.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-BHLR5OFm.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-CxqrXb2v.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-BHLR5OFm.js"; import { R as a } from "./common/main-CxqrXb2v.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.4", "version": "0.4.5",
"author": "www.fsdpf.com", "author": "www.fsdpf.com",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",