gasp-components 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/UploadOutlined-9WKjHsqa.js +878 -0
- package/dist/components/ag-grid-table/index.js +57877 -38314
- package/dist/components/button/index.js +18 -18
- package/dist/components/checklist/checklist-item.js +3 -3
- package/dist/components/checklist/index.js +5 -5
- package/dist/components/date-picker/index.js +9 -5022
- package/dist/components/dragger/index.js +28 -28
- package/dist/components/dropdown/index.js +10 -11
- package/dist/components/form/index.js +8 -9
- package/dist/components/form-item/index.js +10 -10
- package/dist/components/input/index.js +8 -8
- package/dist/components/modal/index.js +18 -20
- package/dist/components/password-input/index.js +2 -2
- package/dist/components/progress/index.js +16 -18
- package/dist/components/progress-circle/index.js +3 -3
- package/dist/components/radio-button/index.js +8 -8
- package/dist/components/result-popup/index.js +13 -14
- package/dist/components/select/index.js +1 -1
- package/dist/components/side-menu/index.js +2 -2
- package/dist/components/side-menu/menu-item.js +4 -6
- package/dist/components/steps/index.js +9 -9
- package/dist/components/table/index.js +16 -9298
- package/dist/components/tabs/index.js +10 -10
- package/dist/components/tabs/tab.js +7 -8
- package/dist/components/tag/index.js +9 -258
- package/dist/components/timeline-horizontal/index.js +7 -7
- package/dist/components/upload/index.js +62 -77
- package/dist/index-WlPrqxgY.js +87 -0
- package/dist/main.js +69 -457
- package/package.json +1 -1
- package/dist/CheckCircleFilled-xt-0R96Z.js +0 -16
- package/dist/CheckOutlined-EgxCAgj_.js +0 -16
- package/dist/CloseCircleFilled-bIgIULWb.js +0 -16
- package/dist/CloseOutlined-Q3kC3EZS.js +0 -16
- package/dist/Compact-fdEKV_mF.js +0 -180
- package/dist/ExclamationCircleFilled-XzDBEGmA.js +0 -16
- package/dist/KeyCode-qFRXB1-n.js +0 -517
- package/dist/LoadingOutlined-6Ipqn0og.js +0 -16
- package/dist/Overflow-JFdXKgCr.js +0 -231
- package/dist/PurePanel-hLGnXbul.js +0 -60
- package/dist/SearchOutlined-rJTFGXUi.js +0 -16
- package/dist/TextArea-n3dknzTq.js +0 -716
- package/dist/UploadOutlined-D8jfLEgv.js +0 -27
- package/dist/asyncToGenerator-t4sKr8R4.js +0 -340
- package/dist/button-LN5ZDad8.js +0 -819
- package/dist/collapse-ilv4Tji1.js +0 -20
- package/dist/colors-opGg9oSz.js +0 -25
- package/dist/compact-item-jjuVmDBH.js +0 -61
- package/dist/context-h3WSVDPz.js +0 -2087
- package/dist/createFormattedComponent-FcpICAm8.js +0 -3260
- package/dist/index--6VfGMUo.js +0 -402
- package/dist/index-0mpuHoS5.js +0 -996
- package/dist/index-1KQbTQJ2.js +0 -4405
- package/dist/index-5Uo03BMk.js +0 -681
- package/dist/index-BFgxz47K.js +0 -89
- package/dist/index-D3LMPWyJ.js +0 -1437
- package/dist/index-DVS_nWxv.js +0 -3026
- package/dist/index-ELHBhuK9.js +0 -100
- package/dist/index-Fn8q8B3V.js +0 -107
- package/dist/index-GgkQrebz.js +0 -950
- package/dist/index-L-MzVDcK.js +0 -616
- package/dist/index-M3WnMjiA.js +0 -230
- package/dist/index-NQd_zMf0.js +0 -69
- package/dist/index-ZT64Ec6u.js +0 -267
- package/dist/index-aawDqn9q.js +0 -3337
- package/dist/index-k04G4nlS.js +0 -1416
- package/dist/index-s3u4YBl4.js +0 -8
- package/dist/index-vtDVJV8q.js +0 -19571
- package/dist/isVisible-Qi9l15Ty.js +0 -232
- package/dist/motion-0ToOu81j.js +0 -226
- package/dist/motion-NQme0FJ_.js +0 -32
- package/dist/omit-ylWA0ZLZ.js +0 -10
- package/dist/pickAttrs-zaQzRTqh.js +0 -42
- package/dist/progress-a1_pwKVT.js +0 -722
- package/dist/reactNode-R20zZQk1.js +0 -18
- package/dist/responsiveObserver-V1_1G14X.js +0 -71
- package/dist/roundedArrow-p1Pmd9av.js +0 -64
- package/dist/row-sPFiFm0C.js +0 -230
- package/dist/slide-mFXPRHku.js +0 -265
- package/dist/styleChecker-pZ3k2IiY.js +0 -37
- package/dist/useCSSVarCls-GwZT_WiF.js +0 -9
- package/dist/useClosable-4G12n4Bp.js +0 -15
- package/dist/useLocale-eThlLZJw.js +0 -16
- package/dist/useMergedState-qUafLuUa.js +0 -23
- package/dist/useVariants-s0IcneBD.js +0 -25
- package/dist/zoom-Ps8y0jNW.js +0 -174
package/dist/index-BFgxz47K.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as m } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "./index-NQd_zMf0.js";
|
|
3
|
-
import i, { useContext as g, createContext as f, useState as x } from "react";
|
|
4
|
-
import y from "./icons/dashboard-icon/index.js";
|
|
5
|
-
import { S as p } from "./index-ELHBhuK9.js";
|
|
6
|
-
import { libTheme as v } from "./theme.js";
|
|
7
|
-
import { t as N } from "./index-Fn8q8B3V.js";
|
|
8
|
-
import { T as S } from "./index-0mpuHoS5.js";
|
|
9
|
-
const d = ({
|
|
10
|
-
icon: t = /* @__PURE__ */ o(y, {}),
|
|
11
|
-
content: r,
|
|
12
|
-
onClick: s,
|
|
13
|
-
className: a
|
|
14
|
-
}) => {
|
|
15
|
-
const l = g(n), e = c(
|
|
16
|
-
"text-sm leading-none",
|
|
17
|
-
{
|
|
18
|
-
"text-dodgerBlue": l,
|
|
19
|
-
"font-bold": l
|
|
20
|
-
},
|
|
21
|
-
typeof r == "string" ? null : r.props.className
|
|
22
|
-
), h = i.cloneElement(t, {
|
|
23
|
-
color: l ? N.getDesignToken(v).colorPrimary : "#64748B"
|
|
24
|
-
}), u = typeof r == "string" ? i.cloneElement(
|
|
25
|
-
/* @__PURE__ */ o(S.Text, { className: e, children: r })
|
|
26
|
-
) : i.cloneElement(r, {
|
|
27
|
-
...r.props,
|
|
28
|
-
className: e
|
|
29
|
-
});
|
|
30
|
-
return /* @__PURE__ */ m(
|
|
31
|
-
p,
|
|
32
|
-
{
|
|
33
|
-
size: 16,
|
|
34
|
-
onClick: s,
|
|
35
|
-
className: c(
|
|
36
|
-
"w-full leading-[0px] py-3 px-4 rounded-xl hover:cursor-pointer transition-colors duration-300 hover:bg-ghostWhite",
|
|
37
|
-
{
|
|
38
|
-
"bg-ghostWhite": l
|
|
39
|
-
},
|
|
40
|
-
a
|
|
41
|
-
),
|
|
42
|
-
children: [
|
|
43
|
-
h,
|
|
44
|
-
u
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
}, n = f(!1), j = ({ items: t, footerItems: r }) => {
|
|
49
|
-
const [s, a] = x();
|
|
50
|
-
return /* @__PURE__ */ m("div", { className: "w-full h-full flex flex-col gap-y-2", children: [
|
|
51
|
-
t.map(({ onClick: l, ...e }) => /* @__PURE__ */ o(
|
|
52
|
-
n.Provider,
|
|
53
|
-
{
|
|
54
|
-
value: s === e.key,
|
|
55
|
-
children: /* @__PURE__ */ o(
|
|
56
|
-
d,
|
|
57
|
-
{
|
|
58
|
-
...e,
|
|
59
|
-
onClick: () => {
|
|
60
|
-
a(e.key), l && l();
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
)
|
|
64
|
-
},
|
|
65
|
-
e.key
|
|
66
|
-
)),
|
|
67
|
-
/* @__PURE__ */ o(p, { direction: "vertical", className: "mt-auto", children: r == null ? void 0 : r.map(({ onClick: l, ...e }) => /* @__PURE__ */ o(
|
|
68
|
-
n.Provider,
|
|
69
|
-
{
|
|
70
|
-
value: s === e.key,
|
|
71
|
-
children: /* @__PURE__ */ o(
|
|
72
|
-
d,
|
|
73
|
-
{
|
|
74
|
-
...e,
|
|
75
|
-
onClick: () => {
|
|
76
|
-
a(e.key), l && l();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
},
|
|
81
|
-
e.key
|
|
82
|
-
)) })
|
|
83
|
-
] });
|
|
84
|
-
};
|
|
85
|
-
export {
|
|
86
|
-
n as H,
|
|
87
|
-
j as S,
|
|
88
|
-
d as a
|
|
89
|
-
};
|