fui-material 2.1.1 → 2.1.3
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/f-ui-kit.es.js +188 -75
- package/dist/f-ui-kit.es.js.map +1 -1
- package/dist/types/icons/FArrowIcon/FArrowIcon.d.ts +3 -1
- package/dist/types/icons/FCheckIcon/FCheckIcon.d.ts +3 -1
- package/dist/types/icons/FCloseIcon/FCloseIcon.d.ts +3 -1
- package/dist/types/icons/FCopyAddIcon/FCopyAddIcon.d.ts +3 -1
- package/dist/types/icons/FDocumentIcon/FDocumentIcon.d.ts +3 -1
- package/dist/types/icons/FDownloadIcon/FDownloadIcon.d.ts +3 -1
- package/dist/types/icons/FFilterIcon/FFilterIcon.d.ts +3 -1
- package/dist/types/icons/FInfoCircleIcon/FInfoCircleIcon.d.ts +3 -1
- package/dist/types/icons/FListIcon/FListIcon.d.ts +3 -1
- package/dist/types/icons/FLoadIcon/FLoadIcon.d.ts +9 -7
- package/dist/types/icons/FMinusIcon/FMinusIcon.d.ts +3 -1
- package/dist/types/icons/FPenIcon/FPenIcon.d.ts +3 -1
- package/dist/types/icons/FPlusIcon/FPlusIcon.d.ts +3 -1
- package/dist/types/icons/FReloadIcon/FReloadIcon.d.ts +3 -1
- package/dist/types/icons/FSafeIcon/FSafeIcon.d.ts +3 -1
- package/dist/types/icons/FTrashIcon/FTrashIcon.d.ts +3 -1
- package/dist/types/icons/FUnlinkIcon/FUnlinkIcon.d.ts +3 -1
- package/dist/types/material/FTooltip/FTooltip.d.ts +2 -8
- package/dist/types/material/Tabs/FTab/FTab.d.ts +5 -2
- package/package.json +1 -1
package/dist/f-ui-kit.es.js
CHANGED
|
@@ -1009,18 +1009,20 @@ const defaultStyles = {
|
|
|
1009
1009
|
"f-button-file": "_f-button-file_i2hex_1",
|
|
1010
1010
|
"file-preview-list": "_file-preview-list_i2hex_1"
|
|
1011
1011
|
};
|
|
1012
|
-
const FTrashIcon = ({
|
|
1012
|
+
const FTrashIcon = React.forwardRef(({
|
|
1013
1013
|
color = "primary",
|
|
1014
1014
|
size = 32,
|
|
1015
1015
|
st: st2,
|
|
1016
1016
|
id,
|
|
1017
1017
|
className,
|
|
1018
1018
|
handleClick,
|
|
1019
|
-
["data-testid"]: dataTestId
|
|
1020
|
-
|
|
1019
|
+
["data-testid"]: dataTestId,
|
|
1020
|
+
...props
|
|
1021
|
+
}, ref) => {
|
|
1021
1022
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
1022
1023
|
"svg",
|
|
1023
1024
|
{
|
|
1025
|
+
ref,
|
|
1024
1026
|
onClick: handleClick,
|
|
1025
1027
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1026
1028
|
width: size,
|
|
@@ -1029,6 +1031,7 @@ const FTrashIcon = ({
|
|
|
1029
1031
|
viewBox: "0 0 16 16",
|
|
1030
1032
|
id,
|
|
1031
1033
|
"data-testid": dataTestId,
|
|
1034
|
+
...props,
|
|
1032
1035
|
children: [
|
|
1033
1036
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1034
1037
|
"path",
|
|
@@ -1046,7 +1049,8 @@ const FTrashIcon = ({
|
|
|
1046
1049
|
]
|
|
1047
1050
|
}
|
|
1048
1051
|
);
|
|
1049
|
-
};
|
|
1052
|
+
});
|
|
1053
|
+
FTrashIcon.displayName = "FTrashIcon";
|
|
1050
1054
|
const progressBar = "_progressBar_1xp9s_48";
|
|
1051
1055
|
const completed = "_completed_1xp9s_60";
|
|
1052
1056
|
const progress = "_progress_1xp9s_48";
|
|
@@ -1200,9 +1204,16 @@ const FButtonFile = ({
|
|
|
1200
1204
|
const styles$v = {
|
|
1201
1205
|
"f-text-field": "_f-text-field_200bb_1"
|
|
1202
1206
|
};
|
|
1203
|
-
const FLoadIcon = ({
|
|
1207
|
+
const FLoadIcon = React.forwardRef(({
|
|
1208
|
+
size = 30,
|
|
1209
|
+
st: st2,
|
|
1210
|
+
id,
|
|
1211
|
+
className,
|
|
1212
|
+
color = "primary",
|
|
1213
|
+
...props
|
|
1214
|
+
}, ref) => {
|
|
1204
1215
|
const randomId = useRef((Math.random() + 1).toString(36).substring(2));
|
|
1205
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { margin: 0, padding: 0 }, children: [
|
|
1216
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref, style: { margin: 0, padding: 0 }, ...props, children: [
|
|
1206
1217
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("style", { children: [
|
|
1207
1218
|
`
|
|
1208
1219
|
.f-load-icon-${randomId.current} {
|
|
@@ -1240,7 +1251,8 @@ const FLoadIcon = ({ size = 30, st: st2, id, className, color = "primary" }) =>
|
|
|
1240
1251
|
}
|
|
1241
1252
|
)
|
|
1242
1253
|
] });
|
|
1243
|
-
};
|
|
1254
|
+
});
|
|
1255
|
+
FLoadIcon.displayName = "FLoadIcon";
|
|
1244
1256
|
const FTextField = forwardRef(
|
|
1245
1257
|
({
|
|
1246
1258
|
label,
|
|
@@ -1977,10 +1989,20 @@ const FDialog = ({
|
|
|
1977
1989
|
document.body
|
|
1978
1990
|
);
|
|
1979
1991
|
};
|
|
1980
|
-
const FCloseIcon = ({
|
|
1992
|
+
const FCloseIcon = React.forwardRef(({
|
|
1993
|
+
color = "primary",
|
|
1994
|
+
size = 30,
|
|
1995
|
+
st: st2,
|
|
1996
|
+
id,
|
|
1997
|
+
className,
|
|
1998
|
+
handleClose,
|
|
1999
|
+
["data-testid"]: dataTestId,
|
|
2000
|
+
...props
|
|
2001
|
+
}, ref) => {
|
|
1981
2002
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1982
2003
|
"svg",
|
|
1983
2004
|
{
|
|
2005
|
+
ref,
|
|
1984
2006
|
width: size,
|
|
1985
2007
|
style: st2,
|
|
1986
2008
|
className: `f-icon ${handleClose ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -1988,10 +2010,12 @@ const FCloseIcon = ({ color = "primary", size = 30, st: st2, id, className, hand
|
|
|
1988
2010
|
onClick: handleClose,
|
|
1989
2011
|
id,
|
|
1990
2012
|
"data-testid": dataTestId,
|
|
2013
|
+
...props,
|
|
1991
2014
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z" })
|
|
1992
2015
|
}
|
|
1993
2016
|
);
|
|
1994
|
-
};
|
|
2017
|
+
});
|
|
2018
|
+
FCloseIcon.displayName = "FCloseIcon";
|
|
1995
2019
|
const FDialogHeader = ({ title, handleClose }) => {
|
|
1996
2020
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$p["f-dialog__header"], children: [
|
|
1997
2021
|
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: styles$p["f-dialog__header_title"], children: title }),
|
|
@@ -2322,7 +2346,7 @@ const styles$i = {
|
|
|
2322
2346
|
"progress-dot": "_progress-dot_f7bma_172",
|
|
2323
2347
|
active: active$3
|
|
2324
2348
|
};
|
|
2325
|
-
const FArrowIcon = ({
|
|
2349
|
+
const FArrowIcon = React.forwardRef(({
|
|
2326
2350
|
color = "primary",
|
|
2327
2351
|
size = 30,
|
|
2328
2352
|
st: st2,
|
|
@@ -2330,8 +2354,9 @@ const FArrowIcon = ({
|
|
|
2330
2354
|
handleClick,
|
|
2331
2355
|
id,
|
|
2332
2356
|
className,
|
|
2333
|
-
["data-testid"]: dataTestId
|
|
2334
|
-
|
|
2357
|
+
["data-testid"]: dataTestId,
|
|
2358
|
+
...props
|
|
2359
|
+
}, ref) => {
|
|
2335
2360
|
const style = {
|
|
2336
2361
|
transform: `rotate(
|
|
2337
2362
|
${direction === "down" ? 90 : direction === "up" ? -90 : direction === "right" ? 0 : 180}deg)`
|
|
@@ -2340,6 +2365,7 @@ const FArrowIcon = ({
|
|
|
2340
2365
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2341
2366
|
"svg",
|
|
2342
2367
|
{
|
|
2368
|
+
ref,
|
|
2343
2369
|
width: size,
|
|
2344
2370
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2345
2371
|
viewBox: "0 0 320 512",
|
|
@@ -2348,6 +2374,7 @@ const FArrowIcon = ({
|
|
|
2348
2374
|
onClick: handleClick,
|
|
2349
2375
|
id,
|
|
2350
2376
|
"data-testid": dataTestId,
|
|
2377
|
+
...props,
|
|
2351
2378
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2352
2379
|
"path",
|
|
2353
2380
|
{
|
|
@@ -2356,7 +2383,8 @@ const FArrowIcon = ({
|
|
|
2356
2383
|
)
|
|
2357
2384
|
}
|
|
2358
2385
|
);
|
|
2359
|
-
};
|
|
2386
|
+
});
|
|
2387
|
+
FArrowIcon.displayName = "FArrowIcon";
|
|
2360
2388
|
const FOpenImgFull = ({
|
|
2361
2389
|
id,
|
|
2362
2390
|
className,
|
|
@@ -3514,23 +3542,18 @@ const FTabs = ({
|
|
|
3514
3542
|
};
|
|
3515
3543
|
const FTab = forwardRef(({
|
|
3516
3544
|
children,
|
|
3517
|
-
id,
|
|
3518
|
-
className,
|
|
3519
3545
|
st: st2,
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
active: active2
|
|
3546
|
+
active: active2,
|
|
3547
|
+
...props
|
|
3523
3548
|
}, ref) => {
|
|
3524
3549
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3525
3550
|
"button",
|
|
3526
3551
|
{
|
|
3527
3552
|
ref,
|
|
3528
3553
|
type: "button",
|
|
3529
|
-
id,
|
|
3530
3554
|
style: st2,
|
|
3531
|
-
className: `${styles$c["f-tabs__tab"]} ${active2 ? styles$c["active"] : ""} ${className || ""}`,
|
|
3532
|
-
|
|
3533
|
-
onClick,
|
|
3555
|
+
className: `${styles$c["f-tabs__tab"]} ${active2 ? styles$c["active"] : ""} ${props.className || ""}`,
|
|
3556
|
+
...props,
|
|
3534
3557
|
children
|
|
3535
3558
|
}
|
|
3536
3559
|
);
|
|
@@ -4004,7 +4027,6 @@ const FTooltip = ({
|
|
|
4004
4027
|
disableFocusListener = false,
|
|
4005
4028
|
disableTouchListener = false,
|
|
4006
4029
|
enterDelay = 0,
|
|
4007
|
-
leaveDelay = 0,
|
|
4008
4030
|
className = "",
|
|
4009
4031
|
style
|
|
4010
4032
|
}) => {
|
|
@@ -4043,23 +4065,30 @@ const FTooltip = ({
|
|
|
4043
4065
|
}, enterDelay);
|
|
4044
4066
|
};
|
|
4045
4067
|
const handleClose = () => {
|
|
4046
|
-
if (enterTimer.current)
|
|
4047
|
-
|
|
4048
|
-
}
|
|
4049
|
-
if (leaveTimer.current) {
|
|
4050
|
-
clearTimeout(leaveTimer.current);
|
|
4051
|
-
}
|
|
4068
|
+
if (enterTimer.current) clearTimeout(enterTimer.current);
|
|
4069
|
+
if (leaveTimer.current) clearTimeout(leaveTimer.current);
|
|
4052
4070
|
if (isOpen || isVisible) {
|
|
4053
4071
|
if (openProp === void 0) {
|
|
4054
4072
|
setOpen(false);
|
|
4055
4073
|
}
|
|
4056
4074
|
setIsVisible(false);
|
|
4057
4075
|
setIsExiting(true);
|
|
4058
|
-
|
|
4076
|
+
const tooltipNode = tooltipRef.current;
|
|
4077
|
+
if (tooltipNode) {
|
|
4078
|
+
const handleTransitionEnd = (event) => {
|
|
4079
|
+
if (event.propertyName === "opacity") {
|
|
4080
|
+
setIsExiting(false);
|
|
4081
|
+
setMountTooltip(false);
|
|
4082
|
+
onClose == null ? void 0 : onClose();
|
|
4083
|
+
tooltipNode.removeEventListener("transitionend", handleTransitionEnd);
|
|
4084
|
+
}
|
|
4085
|
+
};
|
|
4086
|
+
tooltipNode.addEventListener("transitionend", handleTransitionEnd);
|
|
4087
|
+
} else {
|
|
4059
4088
|
setIsExiting(false);
|
|
4060
4089
|
setMountTooltip(false);
|
|
4061
4090
|
onClose == null ? void 0 : onClose();
|
|
4062
|
-
}
|
|
4091
|
+
}
|
|
4063
4092
|
}
|
|
4064
4093
|
};
|
|
4065
4094
|
const updatePosition = () => {
|
|
@@ -4184,18 +4213,20 @@ const FTooltip = ({
|
|
|
4184
4213
|
tooltipElement && createPortal(tooltipElement, document.body)
|
|
4185
4214
|
] });
|
|
4186
4215
|
};
|
|
4187
|
-
const FPlusIcon = ({
|
|
4216
|
+
const FPlusIcon = React.forwardRef(({
|
|
4188
4217
|
color = "primary",
|
|
4189
4218
|
size = 30,
|
|
4190
4219
|
st: st2,
|
|
4191
4220
|
className,
|
|
4192
4221
|
id,
|
|
4193
4222
|
handleClick,
|
|
4194
|
-
["data-testid"]: dataTestId
|
|
4195
|
-
|
|
4223
|
+
["data-testid"]: dataTestId,
|
|
4224
|
+
...props
|
|
4225
|
+
}, ref) => {
|
|
4196
4226
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4197
4227
|
"svg",
|
|
4198
4228
|
{
|
|
4229
|
+
ref,
|
|
4199
4230
|
onClick: handleClick,
|
|
4200
4231
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
4201
4232
|
id,
|
|
@@ -4205,6 +4236,7 @@ const FPlusIcon = ({
|
|
|
4205
4236
|
"aria-hidden": "true",
|
|
4206
4237
|
viewBox: "0 0 24 24",
|
|
4207
4238
|
"data-testid": dataTestId,
|
|
4239
|
+
...props,
|
|
4208
4240
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4209
4241
|
"path",
|
|
4210
4242
|
{
|
|
@@ -4213,19 +4245,22 @@ const FPlusIcon = ({
|
|
|
4213
4245
|
)
|
|
4214
4246
|
}
|
|
4215
4247
|
);
|
|
4216
|
-
};
|
|
4217
|
-
|
|
4248
|
+
});
|
|
4249
|
+
FPlusIcon.displayName = "FPlusIcon";
|
|
4250
|
+
const FCheckIcon = React.forwardRef(({
|
|
4218
4251
|
color = "primary",
|
|
4219
4252
|
size = 30,
|
|
4220
4253
|
st: st2,
|
|
4221
4254
|
id,
|
|
4222
4255
|
className,
|
|
4223
4256
|
handleClick,
|
|
4224
|
-
["data-testid"]: dataTestId
|
|
4225
|
-
|
|
4257
|
+
["data-testid"]: dataTestId,
|
|
4258
|
+
...props
|
|
4259
|
+
}, ref) => {
|
|
4226
4260
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4227
4261
|
"svg",
|
|
4228
4262
|
{
|
|
4263
|
+
ref,
|
|
4229
4264
|
width: size,
|
|
4230
4265
|
viewBox: "0 0 16 16",
|
|
4231
4266
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4233,6 +4268,7 @@ const FCheckIcon = ({
|
|
|
4233
4268
|
onClick: handleClick,
|
|
4234
4269
|
style: st2,
|
|
4235
4270
|
"data-testid": dataTestId,
|
|
4271
|
+
...props,
|
|
4236
4272
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4237
4273
|
"path",
|
|
4238
4274
|
{
|
|
@@ -4243,19 +4279,22 @@ const FCheckIcon = ({
|
|
|
4243
4279
|
)
|
|
4244
4280
|
}
|
|
4245
4281
|
);
|
|
4246
|
-
};
|
|
4247
|
-
|
|
4282
|
+
});
|
|
4283
|
+
FCheckIcon.displayName = "FCheckIcon";
|
|
4284
|
+
const FListIcon = React.forwardRef(({
|
|
4248
4285
|
color = "primary",
|
|
4249
4286
|
size = 30,
|
|
4250
4287
|
st: st2,
|
|
4251
4288
|
id,
|
|
4252
4289
|
className,
|
|
4253
4290
|
handleClick,
|
|
4254
|
-
["data-testid"]: dataTestId
|
|
4255
|
-
|
|
4291
|
+
["data-testid"]: dataTestId,
|
|
4292
|
+
...props
|
|
4293
|
+
}, ref) => {
|
|
4256
4294
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4257
4295
|
"svg",
|
|
4258
4296
|
{
|
|
4297
|
+
ref,
|
|
4259
4298
|
width: size,
|
|
4260
4299
|
style: st2,
|
|
4261
4300
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4263,6 +4302,7 @@ const FListIcon = ({
|
|
|
4263
4302
|
id,
|
|
4264
4303
|
onClick: handleClick,
|
|
4265
4304
|
"data-testid": dataTestId,
|
|
4305
|
+
...props,
|
|
4266
4306
|
children: [
|
|
4267
4307
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4268
4308
|
"path",
|
|
@@ -4279,11 +4319,22 @@ const FListIcon = ({
|
|
|
4279
4319
|
]
|
|
4280
4320
|
}
|
|
4281
4321
|
);
|
|
4282
|
-
};
|
|
4283
|
-
|
|
4322
|
+
});
|
|
4323
|
+
FListIcon.displayName = "FListIcon";
|
|
4324
|
+
const FPenIcon = React.forwardRef(({
|
|
4325
|
+
color = "primary",
|
|
4326
|
+
size = 30,
|
|
4327
|
+
st: st2,
|
|
4328
|
+
id,
|
|
4329
|
+
className,
|
|
4330
|
+
handleClick,
|
|
4331
|
+
["data-testid"]: dataTestId,
|
|
4332
|
+
...props
|
|
4333
|
+
}, ref) => {
|
|
4284
4334
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4285
4335
|
"svg",
|
|
4286
4336
|
{
|
|
4337
|
+
ref,
|
|
4287
4338
|
width: size,
|
|
4288
4339
|
style: st2,
|
|
4289
4340
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4291,6 +4342,7 @@ const FPenIcon = ({ color = "primary", size = 30, st: st2, id, className, handle
|
|
|
4291
4342
|
onClick: handleClick,
|
|
4292
4343
|
id,
|
|
4293
4344
|
"data-testid": dataTestId,
|
|
4345
|
+
...props,
|
|
4294
4346
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4295
4347
|
"path",
|
|
4296
4348
|
{
|
|
@@ -4299,19 +4351,22 @@ const FPenIcon = ({ color = "primary", size = 30, st: st2, id, className, handle
|
|
|
4299
4351
|
)
|
|
4300
4352
|
}
|
|
4301
4353
|
);
|
|
4302
|
-
};
|
|
4303
|
-
|
|
4354
|
+
});
|
|
4355
|
+
FPenIcon.displayName = "FPenIcon";
|
|
4356
|
+
const FDownloadIcon = React.forwardRef(({
|
|
4304
4357
|
color = "primary",
|
|
4305
4358
|
size = 30,
|
|
4306
4359
|
st: st2,
|
|
4307
4360
|
id,
|
|
4308
4361
|
className,
|
|
4309
4362
|
handleClick,
|
|
4310
|
-
["data-testid"]: dataTestId
|
|
4311
|
-
|
|
4363
|
+
["data-testid"]: dataTestId,
|
|
4364
|
+
...props
|
|
4365
|
+
}, ref) => {
|
|
4312
4366
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4313
4367
|
"svg",
|
|
4314
4368
|
{
|
|
4369
|
+
ref,
|
|
4315
4370
|
style: st2,
|
|
4316
4371
|
id,
|
|
4317
4372
|
width: size,
|
|
@@ -4319,17 +4374,29 @@ const FDownloadIcon = ({
|
|
|
4319
4374
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
4320
4375
|
viewBox: "0 0 16 16",
|
|
4321
4376
|
"data-testid": dataTestId,
|
|
4377
|
+
...props,
|
|
4322
4378
|
children: [
|
|
4323
4379
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z" }),
|
|
4324
4380
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z" })
|
|
4325
4381
|
]
|
|
4326
4382
|
}
|
|
4327
4383
|
);
|
|
4328
|
-
};
|
|
4329
|
-
|
|
4384
|
+
});
|
|
4385
|
+
FDownloadIcon.displayName = "FDownloadIcon";
|
|
4386
|
+
const FCopyAddIcon = React.forwardRef(({
|
|
4387
|
+
color = "primary",
|
|
4388
|
+
size = 30,
|
|
4389
|
+
st: st2,
|
|
4390
|
+
id,
|
|
4391
|
+
className,
|
|
4392
|
+
handleClick,
|
|
4393
|
+
["data-testid"]: dataTestId,
|
|
4394
|
+
...props
|
|
4395
|
+
}, ref) => {
|
|
4330
4396
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4331
4397
|
"svg",
|
|
4332
4398
|
{
|
|
4399
|
+
ref,
|
|
4333
4400
|
width: size,
|
|
4334
4401
|
style: st2,
|
|
4335
4402
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4337,25 +4404,29 @@ const FCopyAddIcon = ({ color = "primary", size = 30, st: st2, id, className, ha
|
|
|
4337
4404
|
onClick: handleClick,
|
|
4338
4405
|
id,
|
|
4339
4406
|
"data-testid": dataTestId,
|
|
4407
|
+
...props,
|
|
4340
4408
|
children: [
|
|
4341
4409
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M27.2,8.22H23.78V5.42A3.42,3.42,0,0,0,20.36,2H5.42A3.42,3.42,0,0,0,2,5.42V20.36a3.42,3.42,0,0,0,3.42,3.42h2.8V27.2A2.81,2.81,0,0,0,11,30H27.2A2.81,2.81,0,0,0,30,27.2V11A2.81,2.81,0,0,0,27.2,8.22ZM5.42,21.91a1.55,1.55,0,0,1-1.55-1.55V5.42A1.54,1.54,0,0,1,5.42,3.87H20.36a1.55,1.55,0,0,1,1.55,1.55v2.8H11A2.81,2.81,0,0,0,8.22,11V21.91ZM28.13,27.2a.93.93,0,0,1-.93.93H11a.93.93,0,0,1-.93-.93V11a.93.93,0,0,1,.93-.93H27.2a.93.93,0,0,1,.93.93Z" }),
|
|
4342
4410
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M24.09,18.18H20v-4a.93.93,0,1,0-1.86,0v4h-4a.93.93,0,0,0,0,1.86h4v4.05a.93.93,0,1,0,1.86,0V20h4.05a.93.93,0,1,0,0-1.86Z" })
|
|
4343
4411
|
]
|
|
4344
4412
|
}
|
|
4345
4413
|
);
|
|
4346
|
-
};
|
|
4347
|
-
|
|
4414
|
+
});
|
|
4415
|
+
FCopyAddIcon.displayName = "FCopyAddIcon";
|
|
4416
|
+
const FUnlinkIcon = React.forwardRef(({
|
|
4348
4417
|
color = "primary",
|
|
4349
4418
|
size = 30,
|
|
4350
4419
|
st: st2,
|
|
4351
4420
|
id,
|
|
4352
4421
|
className,
|
|
4353
4422
|
handleClick,
|
|
4354
|
-
["data-testid"]: dataTestId
|
|
4355
|
-
|
|
4423
|
+
["data-testid"]: dataTestId,
|
|
4424
|
+
...props
|
|
4425
|
+
}, ref) => {
|
|
4356
4426
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4357
4427
|
"svg",
|
|
4358
4428
|
{
|
|
4429
|
+
ref,
|
|
4359
4430
|
width: size,
|
|
4360
4431
|
style: st2,
|
|
4361
4432
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4364,6 +4435,7 @@ const FUnlinkIcon = ({
|
|
|
4364
4435
|
id,
|
|
4365
4436
|
fill: "none",
|
|
4366
4437
|
"data-testid": dataTestId,
|
|
4438
|
+
...props,
|
|
4367
4439
|
children: [
|
|
4368
4440
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M9.23993 17.55L7.95993 18.84C7.33993 19.47 6.51992 19.79 5.69992 19.79C4.87992 19.79 4.05994 19.47 3.43994 18.84C2.18994 17.58 2.18994 15.54 3.43994 14.29L4.70993 13.02L6.11993 11.6L8.82993 8.86", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
4369
4441
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8.82996 3.86V6.86", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
@@ -4377,11 +4449,22 @@ const FUnlinkIcon = ({
|
|
|
4377
4449
|
]
|
|
4378
4450
|
}
|
|
4379
4451
|
);
|
|
4380
|
-
};
|
|
4381
|
-
|
|
4452
|
+
});
|
|
4453
|
+
FUnlinkIcon.displayName = "FUnlinkIcon";
|
|
4454
|
+
const FFilterIcon = React.forwardRef(({
|
|
4455
|
+
color = "primary",
|
|
4456
|
+
size = 30,
|
|
4457
|
+
st: st2,
|
|
4458
|
+
id,
|
|
4459
|
+
className,
|
|
4460
|
+
handleClick,
|
|
4461
|
+
["data-testid"]: dataTestId,
|
|
4462
|
+
...props
|
|
4463
|
+
}, ref) => {
|
|
4382
4464
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4383
4465
|
"svg",
|
|
4384
4466
|
{
|
|
4467
|
+
ref,
|
|
4385
4468
|
width: size,
|
|
4386
4469
|
viewBox: "0 0 24 24",
|
|
4387
4470
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4389,14 +4472,16 @@ const FFilterIcon = ({ color = "primary", size = 30, st: st2, id, className, han
|
|
|
4389
4472
|
onClick: handleClick,
|
|
4390
4473
|
style: st2,
|
|
4391
4474
|
"data-testid": dataTestId,
|
|
4475
|
+
...props,
|
|
4392
4476
|
children: [
|
|
4393
4477
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { fill: "none", d: "M0 0h24v24H0z" }),
|
|
4394
4478
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { fillRule: "nonzero", d: "M14 14v6l-4 2v-8L4 5V3h16v2l-6 9zM6.404 5L12 13.394 17.596 5H6.404z" })
|
|
4395
4479
|
]
|
|
4396
4480
|
}
|
|
4397
4481
|
);
|
|
4398
|
-
};
|
|
4399
|
-
|
|
4482
|
+
});
|
|
4483
|
+
FFilterIcon.displayName = "FFilterIcon";
|
|
4484
|
+
const FDocumentIcon = React.forwardRef(({
|
|
4400
4485
|
color = "primary",
|
|
4401
4486
|
size = 30,
|
|
4402
4487
|
st: st2,
|
|
@@ -4404,11 +4489,13 @@ const FDocumentIcon = ({
|
|
|
4404
4489
|
file,
|
|
4405
4490
|
className,
|
|
4406
4491
|
handleClick,
|
|
4407
|
-
["data-testid"]: dataTestId
|
|
4408
|
-
|
|
4492
|
+
["data-testid"]: dataTestId,
|
|
4493
|
+
...props
|
|
4494
|
+
}, ref) => {
|
|
4409
4495
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4410
4496
|
"svg",
|
|
4411
4497
|
{
|
|
4498
|
+
ref,
|
|
4412
4499
|
onClick: handleClick,
|
|
4413
4500
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4414
4501
|
width: size,
|
|
@@ -4417,6 +4504,7 @@ const FDocumentIcon = ({
|
|
|
4417
4504
|
viewBox: "0 0 16 16",
|
|
4418
4505
|
id,
|
|
4419
4506
|
"data-testid": dataTestId,
|
|
4507
|
+
...props,
|
|
4420
4508
|
children: [
|
|
4421
4509
|
!file && /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z" }),
|
|
4422
4510
|
file === "check" && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
@@ -4445,19 +4533,22 @@ const FDocumentIcon = ({
|
|
|
4445
4533
|
]
|
|
4446
4534
|
}
|
|
4447
4535
|
);
|
|
4448
|
-
};
|
|
4449
|
-
|
|
4536
|
+
});
|
|
4537
|
+
FDocumentIcon.displayName = "FDocumentIcon";
|
|
4538
|
+
const FReloadIcon = React.forwardRef(({
|
|
4450
4539
|
color = "primary",
|
|
4451
4540
|
size = 30,
|
|
4452
4541
|
st: st2,
|
|
4453
4542
|
className,
|
|
4454
4543
|
id,
|
|
4455
4544
|
handleClick,
|
|
4456
|
-
["data-testid"]: dataTestId
|
|
4457
|
-
|
|
4545
|
+
["data-testid"]: dataTestId,
|
|
4546
|
+
...props
|
|
4547
|
+
}, ref) => {
|
|
4458
4548
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4459
4549
|
"svg",
|
|
4460
4550
|
{
|
|
4551
|
+
ref,
|
|
4461
4552
|
width: size,
|
|
4462
4553
|
style: st2,
|
|
4463
4554
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4465,25 +4556,29 @@ const FReloadIcon = ({
|
|
|
4465
4556
|
onClick: handleClick,
|
|
4466
4557
|
id,
|
|
4467
4558
|
"data-testid": dataTestId,
|
|
4559
|
+
...props,
|
|
4468
4560
|
children: [
|
|
4469
4561
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { "fill-rule": "evenodd", d: "M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z" }),
|
|
4470
4562
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466" })
|
|
4471
4563
|
]
|
|
4472
4564
|
}
|
|
4473
4565
|
);
|
|
4474
|
-
};
|
|
4475
|
-
|
|
4566
|
+
});
|
|
4567
|
+
FReloadIcon.displayName = "FReloadIcon";
|
|
4568
|
+
const FMinusIcon = React.forwardRef(({
|
|
4476
4569
|
color = "primary",
|
|
4477
4570
|
size = 30,
|
|
4478
4571
|
st: st2,
|
|
4479
4572
|
className,
|
|
4480
4573
|
id,
|
|
4481
4574
|
handleClick,
|
|
4482
|
-
["data-testid"]: dataTestId
|
|
4483
|
-
|
|
4575
|
+
["data-testid"]: dataTestId,
|
|
4576
|
+
...props
|
|
4577
|
+
}, ref) => {
|
|
4484
4578
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4485
4579
|
"svg",
|
|
4486
4580
|
{
|
|
4581
|
+
ref,
|
|
4487
4582
|
width: size,
|
|
4488
4583
|
style: st2,
|
|
4489
4584
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4491,17 +4586,29 @@ const FMinusIcon = ({
|
|
|
4491
4586
|
onClick: handleClick,
|
|
4492
4587
|
id,
|
|
4493
4588
|
"data-testid": dataTestId,
|
|
4589
|
+
...props,
|
|
4494
4590
|
children: [
|
|
4495
4591
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
4496
4592
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8" })
|
|
4497
4593
|
]
|
|
4498
4594
|
}
|
|
4499
4595
|
);
|
|
4500
|
-
};
|
|
4501
|
-
|
|
4596
|
+
});
|
|
4597
|
+
FMinusIcon.displayName = "FMinusIcon";
|
|
4598
|
+
const FInfoCircleIcon = React.forwardRef(({
|
|
4599
|
+
color = "primary",
|
|
4600
|
+
size = 30,
|
|
4601
|
+
st: st2,
|
|
4602
|
+
id,
|
|
4603
|
+
className,
|
|
4604
|
+
handleClick,
|
|
4605
|
+
["data-testid"]: dataTestId,
|
|
4606
|
+
...props
|
|
4607
|
+
}, ref) => {
|
|
4502
4608
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4503
4609
|
"svg",
|
|
4504
4610
|
{
|
|
4611
|
+
ref,
|
|
4505
4612
|
width: size,
|
|
4506
4613
|
style: st2,
|
|
4507
4614
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4509,25 +4616,29 @@ const FInfoCircleIcon = ({ color = "primary", size = 30, st: st2, id, className,
|
|
|
4509
4616
|
onClick: handleClick,
|
|
4510
4617
|
id,
|
|
4511
4618
|
"data-testid": dataTestId,
|
|
4619
|
+
...props,
|
|
4512
4620
|
children: [
|
|
4513
4621
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
4514
4622
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0" })
|
|
4515
4623
|
]
|
|
4516
4624
|
}
|
|
4517
4625
|
);
|
|
4518
|
-
};
|
|
4519
|
-
|
|
4626
|
+
});
|
|
4627
|
+
FInfoCircleIcon.displayName = "FInfoCircleIcon";
|
|
4628
|
+
const FSafeIcon = React.forwardRef(({
|
|
4520
4629
|
color = "primary",
|
|
4521
4630
|
size = 30,
|
|
4522
4631
|
st: st2,
|
|
4523
4632
|
id,
|
|
4524
4633
|
className,
|
|
4525
4634
|
handleClick,
|
|
4526
|
-
["data-testid"]: dataTestId
|
|
4527
|
-
|
|
4635
|
+
["data-testid"]: dataTestId,
|
|
4636
|
+
...props
|
|
4637
|
+
}, ref) => {
|
|
4528
4638
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4529
4639
|
"svg",
|
|
4530
4640
|
{
|
|
4641
|
+
ref,
|
|
4531
4642
|
width: size,
|
|
4532
4643
|
style: st2,
|
|
4533
4644
|
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
@@ -4535,13 +4646,15 @@ const FSafeIcon = ({
|
|
|
4535
4646
|
onClick: handleClick,
|
|
4536
4647
|
id,
|
|
4537
4648
|
"data-testid": dataTestId,
|
|
4649
|
+
...props,
|
|
4538
4650
|
children: [
|
|
4539
4651
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M1 1.5A1.5 1.5 0 0 1 2.5 0h12A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 1 14.5V13H.5a.5.5 0 0 1 0-1H1V8.5H.5a.5.5 0 0 1 0-1H1V4H.5a.5.5 0 0 1 0-1H1zM2.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5v-13a.5.5 0 0 0-.5-.5z" }),
|
|
4540
4652
|
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M13.5 6a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5M4.828 4.464a.5.5 0 0 1 .708 0l1.09 1.09a3 3 0 0 1 3.476 0l1.09-1.09a.5.5 0 1 1 .707.708l-1.09 1.09c.74 1.037.74 2.44 0 3.476l1.09 1.09a.5.5 0 1 1-.707.708l-1.09-1.09a3 3 0 0 1-3.476 0l-1.09 1.09a.5.5 0 1 1-.708-.708l1.09-1.09a3 3 0 0 1 0-3.476l-1.09-1.09a.5.5 0 0 1 0-.708M6.95 6.586a2 2 0 1 0 2.828 2.828A2 2 0 0 0 6.95 6.586" })
|
|
4541
4653
|
]
|
|
4542
4654
|
}
|
|
4543
4655
|
);
|
|
4544
|
-
};
|
|
4656
|
+
});
|
|
4657
|
+
FSafeIcon.displayName = "FSafeIcon";
|
|
4545
4658
|
const styles$4 = {
|
|
4546
4659
|
"f-function-block-alert": "_f-function-block-alert_1jotv_1",
|
|
4547
4660
|
"f-function-alert": "_f-function-alert_1jotv_16",
|