gasp-components 1.0.10 → 1.0.12
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
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const i = (o) => ({
|
|
2
|
-
[o.componentCls]: {
|
|
3
|
-
// For common/openAnimation
|
|
4
|
-
[`${o.antCls}-motion-collapse-legacy`]: {
|
|
5
|
-
overflow: "hidden",
|
|
6
|
-
"&-active": {
|
|
7
|
-
transition: `height ${o.motionDurationMid} ${o.motionEaseInOut},
|
|
8
|
-
opacity ${o.motionDurationMid} ${o.motionEaseInOut} !important`
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
[`${o.antCls}-motion-collapse`]: {
|
|
12
|
-
overflow: "hidden",
|
|
13
|
-
transition: `height ${o.motionDurationMid} ${o.motionEaseInOut},
|
|
14
|
-
opacity ${o.motionDurationMid} ${o.motionEaseInOut} !important`
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}), t = i;
|
|
18
|
-
export {
|
|
19
|
-
t as g
|
|
20
|
-
};
|
package/dist/colors-opGg9oSz.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { i as t } from "./index-1KQbTQJ2.js";
|
|
2
|
-
const n = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
|
|
3
|
-
function C(e, s) {
|
|
4
|
-
return n.reduce((o, r) => {
|
|
5
|
-
const u = e[`${r}1`], i = e[`${r}3`], a = e[`${r}6`], l = e[`${r}7`];
|
|
6
|
-
return Object.assign(Object.assign({}, o), s(r, {
|
|
7
|
-
lightColor: u,
|
|
8
|
-
lightBorderColor: i,
|
|
9
|
-
darkColor: a,
|
|
10
|
-
textColor: l
|
|
11
|
-
}));
|
|
12
|
-
}, {});
|
|
13
|
-
}
|
|
14
|
-
const c = n.map((e) => `${e}-inverse`), g = ["success", "processing", "error", "default", "warning"];
|
|
15
|
-
function m(e) {
|
|
16
|
-
return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0) ? [].concat(t(c), t(n)).includes(e) : n.includes(e);
|
|
17
|
-
}
|
|
18
|
-
function p(e) {
|
|
19
|
-
return g.includes(e);
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
p as a,
|
|
23
|
-
C as g,
|
|
24
|
-
m as i
|
|
25
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
function m(e, t, i) {
|
|
2
|
-
const {
|
|
3
|
-
focusElCls: n,
|
|
4
|
-
focus: o,
|
|
5
|
-
borderElCls: c
|
|
6
|
-
} = i, s = c ? "> *" : "", r = ["hover", o ? "focus" : null, "active"].filter(Boolean).map((a) => `&:${a} ${s}`).join(",");
|
|
7
|
-
return {
|
|
8
|
-
[`&-item:not(${t}-last-item)`]: {
|
|
9
|
-
marginInlineEnd: e.calc(e.lineWidth).mul(-1).equal()
|
|
10
|
-
},
|
|
11
|
-
"&-item": Object.assign(Object.assign({
|
|
12
|
-
[r]: {
|
|
13
|
-
zIndex: 2
|
|
14
|
-
}
|
|
15
|
-
}, n ? {
|
|
16
|
-
[`&${n}`]: {
|
|
17
|
-
zIndex: 2
|
|
18
|
-
}
|
|
19
|
-
} : {}), {
|
|
20
|
-
[`&[disabled] ${s}`]: {
|
|
21
|
-
zIndex: 0
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
function d(e, t, i) {
|
|
27
|
-
const {
|
|
28
|
-
borderElCls: n
|
|
29
|
-
} = i, o = n ? `> ${n}` : "";
|
|
30
|
-
return {
|
|
31
|
-
[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]: {
|
|
32
|
-
borderRadius: 0
|
|
33
|
-
},
|
|
34
|
-
[`&-item:not(${t}-last-item)${t}-first-item`]: {
|
|
35
|
-
[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]: {
|
|
36
|
-
borderStartEndRadius: 0,
|
|
37
|
-
borderEndEndRadius: 0
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
[`&-item:not(${t}-first-item)${t}-last-item`]: {
|
|
41
|
-
[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]: {
|
|
42
|
-
borderStartStartRadius: 0,
|
|
43
|
-
borderEndStartRadius: 0
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
function u(e) {
|
|
49
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
50
|
-
focus: !0
|
|
51
|
-
};
|
|
52
|
-
const {
|
|
53
|
-
componentCls: i
|
|
54
|
-
} = e, n = `${i}-compact`;
|
|
55
|
-
return {
|
|
56
|
-
[n]: Object.assign(Object.assign({}, m(e, n, t)), d(i, n, t))
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
export {
|
|
60
|
-
u as g
|
|
61
|
-
};
|