fui-material 2.1.2 → 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.
@@ -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 = ({ size = 30, st: st2, id, className, color = "primary" }) => {
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 = ({ color = "primary", size = 30, st: st2, id, className, handleClose, ["data-testid"]: dataTestId }) => {
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,
@@ -3999,7 +4027,6 @@ const FTooltip = ({
3999
4027
  disableFocusListener = false,
4000
4028
  disableTouchListener = false,
4001
4029
  enterDelay = 0,
4002
- leaveDelay = 0,
4003
4030
  className = "",
4004
4031
  style
4005
4032
  }) => {
@@ -4038,23 +4065,30 @@ const FTooltip = ({
4038
4065
  }, enterDelay);
4039
4066
  };
4040
4067
  const handleClose = () => {
4041
- if (enterTimer.current) {
4042
- clearTimeout(enterTimer.current);
4043
- }
4044
- if (leaveTimer.current) {
4045
- clearTimeout(leaveTimer.current);
4046
- }
4068
+ if (enterTimer.current) clearTimeout(enterTimer.current);
4069
+ if (leaveTimer.current) clearTimeout(leaveTimer.current);
4047
4070
  if (isOpen || isVisible) {
4048
4071
  if (openProp === void 0) {
4049
4072
  setOpen(false);
4050
4073
  }
4051
4074
  setIsVisible(false);
4052
4075
  setIsExiting(true);
4053
- leaveTimer.current = setTimeout(() => {
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 {
4054
4088
  setIsExiting(false);
4055
4089
  setMountTooltip(false);
4056
4090
  onClose == null ? void 0 : onClose();
4057
- }, leaveDelay || 220);
4091
+ }
4058
4092
  }
4059
4093
  };
4060
4094
  const updatePosition = () => {
@@ -4179,18 +4213,20 @@ const FTooltip = ({
4179
4213
  tooltipElement && createPortal(tooltipElement, document.body)
4180
4214
  ] });
4181
4215
  };
4182
- const FPlusIcon = ({
4216
+ const FPlusIcon = React.forwardRef(({
4183
4217
  color = "primary",
4184
4218
  size = 30,
4185
4219
  st: st2,
4186
4220
  className,
4187
4221
  id,
4188
4222
  handleClick,
4189
- ["data-testid"]: dataTestId
4190
- }) => {
4223
+ ["data-testid"]: dataTestId,
4224
+ ...props
4225
+ }, ref) => {
4191
4226
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
4192
4227
  "svg",
4193
4228
  {
4229
+ ref,
4194
4230
  onClick: handleClick,
4195
4231
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
4196
4232
  id,
@@ -4200,6 +4236,7 @@ const FPlusIcon = ({
4200
4236
  "aria-hidden": "true",
4201
4237
  viewBox: "0 0 24 24",
4202
4238
  "data-testid": dataTestId,
4239
+ ...props,
4203
4240
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4204
4241
  "path",
4205
4242
  {
@@ -4208,19 +4245,22 @@ const FPlusIcon = ({
4208
4245
  )
4209
4246
  }
4210
4247
  );
4211
- };
4212
- const FCheckIcon = ({
4248
+ });
4249
+ FPlusIcon.displayName = "FPlusIcon";
4250
+ const FCheckIcon = React.forwardRef(({
4213
4251
  color = "primary",
4214
4252
  size = 30,
4215
4253
  st: st2,
4216
4254
  id,
4217
4255
  className,
4218
4256
  handleClick,
4219
- ["data-testid"]: dataTestId
4220
- }) => {
4257
+ ["data-testid"]: dataTestId,
4258
+ ...props
4259
+ }, ref) => {
4221
4260
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
4222
4261
  "svg",
4223
4262
  {
4263
+ ref,
4224
4264
  width: size,
4225
4265
  viewBox: "0 0 16 16",
4226
4266
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4228,6 +4268,7 @@ const FCheckIcon = ({
4228
4268
  onClick: handleClick,
4229
4269
  style: st2,
4230
4270
  "data-testid": dataTestId,
4271
+ ...props,
4231
4272
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4232
4273
  "path",
4233
4274
  {
@@ -4238,19 +4279,22 @@ const FCheckIcon = ({
4238
4279
  )
4239
4280
  }
4240
4281
  );
4241
- };
4242
- const FListIcon = ({
4282
+ });
4283
+ FCheckIcon.displayName = "FCheckIcon";
4284
+ const FListIcon = React.forwardRef(({
4243
4285
  color = "primary",
4244
4286
  size = 30,
4245
4287
  st: st2,
4246
4288
  id,
4247
4289
  className,
4248
4290
  handleClick,
4249
- ["data-testid"]: dataTestId
4250
- }) => {
4291
+ ["data-testid"]: dataTestId,
4292
+ ...props
4293
+ }, ref) => {
4251
4294
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4252
4295
  "svg",
4253
4296
  {
4297
+ ref,
4254
4298
  width: size,
4255
4299
  style: st2,
4256
4300
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4258,6 +4302,7 @@ const FListIcon = ({
4258
4302
  id,
4259
4303
  onClick: handleClick,
4260
4304
  "data-testid": dataTestId,
4305
+ ...props,
4261
4306
  children: [
4262
4307
  /* @__PURE__ */ jsxRuntimeExports.jsx(
4263
4308
  "path",
@@ -4274,11 +4319,22 @@ const FListIcon = ({
4274
4319
  ]
4275
4320
  }
4276
4321
  );
4277
- };
4278
- const FPenIcon = ({ color = "primary", size = 30, st: st2, id, className, handleClick, ["data-testid"]: dataTestId }) => {
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) => {
4279
4334
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
4280
4335
  "svg",
4281
4336
  {
4337
+ ref,
4282
4338
  width: size,
4283
4339
  style: st2,
4284
4340
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4286,6 +4342,7 @@ const FPenIcon = ({ color = "primary", size = 30, st: st2, id, className, handle
4286
4342
  onClick: handleClick,
4287
4343
  id,
4288
4344
  "data-testid": dataTestId,
4345
+ ...props,
4289
4346
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4290
4347
  "path",
4291
4348
  {
@@ -4294,19 +4351,22 @@ const FPenIcon = ({ color = "primary", size = 30, st: st2, id, className, handle
4294
4351
  )
4295
4352
  }
4296
4353
  );
4297
- };
4298
- const FDownloadIcon = ({
4354
+ });
4355
+ FPenIcon.displayName = "FPenIcon";
4356
+ const FDownloadIcon = React.forwardRef(({
4299
4357
  color = "primary",
4300
4358
  size = 30,
4301
4359
  st: st2,
4302
4360
  id,
4303
4361
  className,
4304
4362
  handleClick,
4305
- ["data-testid"]: dataTestId
4306
- }) => {
4363
+ ["data-testid"]: dataTestId,
4364
+ ...props
4365
+ }, ref) => {
4307
4366
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4308
4367
  "svg",
4309
4368
  {
4369
+ ref,
4310
4370
  style: st2,
4311
4371
  id,
4312
4372
  width: size,
@@ -4314,17 +4374,29 @@ const FDownloadIcon = ({
4314
4374
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
4315
4375
  viewBox: "0 0 16 16",
4316
4376
  "data-testid": dataTestId,
4377
+ ...props,
4317
4378
  children: [
4318
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" }),
4319
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" })
4320
4381
  ]
4321
4382
  }
4322
4383
  );
4323
- };
4324
- const FCopyAddIcon = ({ color = "primary", size = 30, st: st2, id, className, handleClick, ["data-testid"]: dataTestId }) => {
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) => {
4325
4396
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4326
4397
  "svg",
4327
4398
  {
4399
+ ref,
4328
4400
  width: size,
4329
4401
  style: st2,
4330
4402
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4332,25 +4404,29 @@ const FCopyAddIcon = ({ color = "primary", size = 30, st: st2, id, className, ha
4332
4404
  onClick: handleClick,
4333
4405
  id,
4334
4406
  "data-testid": dataTestId,
4407
+ ...props,
4335
4408
  children: [
4336
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" }),
4337
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" })
4338
4411
  ]
4339
4412
  }
4340
4413
  );
4341
- };
4342
- const FUnlinkIcon = ({
4414
+ });
4415
+ FCopyAddIcon.displayName = "FCopyAddIcon";
4416
+ const FUnlinkIcon = React.forwardRef(({
4343
4417
  color = "primary",
4344
4418
  size = 30,
4345
4419
  st: st2,
4346
4420
  id,
4347
4421
  className,
4348
4422
  handleClick,
4349
- ["data-testid"]: dataTestId
4350
- }) => {
4423
+ ["data-testid"]: dataTestId,
4424
+ ...props
4425
+ }, ref) => {
4351
4426
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4352
4427
  "svg",
4353
4428
  {
4429
+ ref,
4354
4430
  width: size,
4355
4431
  style: st2,
4356
4432
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4359,6 +4435,7 @@ const FUnlinkIcon = ({
4359
4435
  id,
4360
4436
  fill: "none",
4361
4437
  "data-testid": dataTestId,
4438
+ ...props,
4362
4439
  children: [
4363
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" }),
4364
4441
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8.82996 3.86V6.86", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
@@ -4372,11 +4449,22 @@ const FUnlinkIcon = ({
4372
4449
  ]
4373
4450
  }
4374
4451
  );
4375
- };
4376
- const FFilterIcon = ({ color = "primary", size = 30, st: st2, id, className, handleClick, ["data-testid"]: dataTestId }) => {
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) => {
4377
4464
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4378
4465
  "svg",
4379
4466
  {
4467
+ ref,
4380
4468
  width: size,
4381
4469
  viewBox: "0 0 24 24",
4382
4470
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4384,14 +4472,16 @@ const FFilterIcon = ({ color = "primary", size = 30, st: st2, id, className, han
4384
4472
  onClick: handleClick,
4385
4473
  style: st2,
4386
4474
  "data-testid": dataTestId,
4475
+ ...props,
4387
4476
  children: [
4388
4477
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fill: "none", d: "M0 0h24v24H0z" }),
4389
4478
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fillRule: "nonzero", d: "M14 14v6l-4 2v-8L4 5V3h16v2l-6 9zM6.404 5L12 13.394 17.596 5H6.404z" })
4390
4479
  ]
4391
4480
  }
4392
4481
  );
4393
- };
4394
- const FDocumentIcon = ({
4482
+ });
4483
+ FFilterIcon.displayName = "FFilterIcon";
4484
+ const FDocumentIcon = React.forwardRef(({
4395
4485
  color = "primary",
4396
4486
  size = 30,
4397
4487
  st: st2,
@@ -4399,11 +4489,13 @@ const FDocumentIcon = ({
4399
4489
  file,
4400
4490
  className,
4401
4491
  handleClick,
4402
- ["data-testid"]: dataTestId
4403
- }) => {
4492
+ ["data-testid"]: dataTestId,
4493
+ ...props
4494
+ }, ref) => {
4404
4495
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4405
4496
  "svg",
4406
4497
  {
4498
+ ref,
4407
4499
  onClick: handleClick,
4408
4500
  xmlns: "http://www.w3.org/2000/svg",
4409
4501
  width: size,
@@ -4412,6 +4504,7 @@ const FDocumentIcon = ({
4412
4504
  viewBox: "0 0 16 16",
4413
4505
  id,
4414
4506
  "data-testid": dataTestId,
4507
+ ...props,
4415
4508
  children: [
4416
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" }),
4417
4510
  file === "check" && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
@@ -4440,19 +4533,22 @@ const FDocumentIcon = ({
4440
4533
  ]
4441
4534
  }
4442
4535
  );
4443
- };
4444
- const FReloadIcon = ({
4536
+ });
4537
+ FDocumentIcon.displayName = "FDocumentIcon";
4538
+ const FReloadIcon = React.forwardRef(({
4445
4539
  color = "primary",
4446
4540
  size = 30,
4447
4541
  st: st2,
4448
4542
  className,
4449
4543
  id,
4450
4544
  handleClick,
4451
- ["data-testid"]: dataTestId
4452
- }) => {
4545
+ ["data-testid"]: dataTestId,
4546
+ ...props
4547
+ }, ref) => {
4453
4548
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4454
4549
  "svg",
4455
4550
  {
4551
+ ref,
4456
4552
  width: size,
4457
4553
  style: st2,
4458
4554
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4460,25 +4556,29 @@ const FReloadIcon = ({
4460
4556
  onClick: handleClick,
4461
4557
  id,
4462
4558
  "data-testid": dataTestId,
4559
+ ...props,
4463
4560
  children: [
4464
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" }),
4465
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" })
4466
4563
  ]
4467
4564
  }
4468
4565
  );
4469
- };
4470
- const FMinusIcon = ({
4566
+ });
4567
+ FReloadIcon.displayName = "FReloadIcon";
4568
+ const FMinusIcon = React.forwardRef(({
4471
4569
  color = "primary",
4472
4570
  size = 30,
4473
4571
  st: st2,
4474
4572
  className,
4475
4573
  id,
4476
4574
  handleClick,
4477
- ["data-testid"]: dataTestId
4478
- }) => {
4575
+ ["data-testid"]: dataTestId,
4576
+ ...props
4577
+ }, ref) => {
4479
4578
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4480
4579
  "svg",
4481
4580
  {
4581
+ ref,
4482
4582
  width: size,
4483
4583
  style: st2,
4484
4584
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4486,17 +4586,29 @@ const FMinusIcon = ({
4486
4586
  onClick: handleClick,
4487
4587
  id,
4488
4588
  "data-testid": dataTestId,
4589
+ ...props,
4489
4590
  children: [
4490
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" }),
4491
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" })
4492
4593
  ]
4493
4594
  }
4494
4595
  );
4495
- };
4496
- const FInfoCircleIcon = ({ color = "primary", size = 30, st: st2, id, className, handleClick, ["data-testid"]: dataTestId }) => {
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) => {
4497
4608
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4498
4609
  "svg",
4499
4610
  {
4611
+ ref,
4500
4612
  width: size,
4501
4613
  style: st2,
4502
4614
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4504,25 +4616,29 @@ const FInfoCircleIcon = ({ color = "primary", size = 30, st: st2, id, className,
4504
4616
  onClick: handleClick,
4505
4617
  id,
4506
4618
  "data-testid": dataTestId,
4619
+ ...props,
4507
4620
  children: [
4508
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" }),
4509
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" })
4510
4623
  ]
4511
4624
  }
4512
4625
  );
4513
- };
4514
- const FSafeIcon = ({
4626
+ });
4627
+ FInfoCircleIcon.displayName = "FInfoCircleIcon";
4628
+ const FSafeIcon = React.forwardRef(({
4515
4629
  color = "primary",
4516
4630
  size = 30,
4517
4631
  st: st2,
4518
4632
  id,
4519
4633
  className,
4520
4634
  handleClick,
4521
- ["data-testid"]: dataTestId
4522
- }) => {
4635
+ ["data-testid"]: dataTestId,
4636
+ ...props
4637
+ }, ref) => {
4523
4638
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4524
4639
  "svg",
4525
4640
  {
4641
+ ref,
4526
4642
  width: size,
4527
4643
  style: st2,
4528
4644
  className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
@@ -4530,13 +4646,15 @@ const FSafeIcon = ({
4530
4646
  onClick: handleClick,
4531
4647
  id,
4532
4648
  "data-testid": dataTestId,
4649
+ ...props,
4533
4650
  children: [
4534
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" }),
4535
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" })
4536
4653
  ]
4537
4654
  }
4538
4655
  );
4539
- };
4656
+ });
4657
+ FSafeIcon.displayName = "FSafeIcon";
4540
4658
  const styles$4 = {
4541
4659
  "f-function-block-alert": "_f-function-block-alert_1jotv_1",
4542
4660
  "f-function-alert": "_f-function-alert_1jotv_16",