v0.4.3
This commit is contained in:
parent
29d32aa2d3
commit
5c0a398209
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-2s1hdQO8.js";
|
||||
import { P as s, O as u, Q as e } from "./common/main-BWGhrIEF.js";
|
||||
import "prop-types";
|
||||
export {
|
||||
s as auth,
|
||||
|
@ -687,10 +687,10 @@ const Qe = (e) => function({ className: t, children: a, name: n, icon: i, type:
|
||||
}, I = () => {
|
||||
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 }) => {
|
||||
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;
|
||||
const bn = ({ fields: e, formProps: t, $close: a }) => {
|
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-2s1hdQO8.js";
|
||||
import { X as s, N as p, Y as n, Z as t, W as d } from "./common/main-BWGhrIEF.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-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 {
|
||||
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-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 {
|
||||
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-2s1hdQO8.js";
|
||||
import { a as t } from "../common/main-BWGhrIEF.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-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 {
|
||||
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-2s1hdQO8.js";
|
||||
import { a7 as a } from "../common/main-BWGhrIEF.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-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 {
|
||||
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-2s1hdQO8.js";
|
||||
import { g as t } from "../common/main-BWGhrIEF.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-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 {
|
||||
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-2s1hdQO8.js";
|
||||
import { N as a } from "./common/main-BWGhrIEF.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-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 {
|
||||
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-2s1hdQO8.js";
|
||||
import { R as a } from "./common/main-BWGhrIEF.js";
|
||||
export {
|
||||
a as default
|
||||
};
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ff",
|
||||
"private": true,
|
||||
"version": "0.4.2",
|
||||
"version": "0.4.3",
|
||||
"author": "www.fsdpf.com",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user