fui-material 2.7.11 → 2.7.13

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.
@@ -114,7 +114,7 @@ FTrashIcon.displayName = "FTrashIcon";
114
114
  const progressBar = "_progressBar_1xp9s_48";
115
115
  const completed = "_completed_1xp9s_60";
116
116
  const progress = "_progress_1xp9s_48";
117
- const styles$y = {
117
+ const styles$z = {
118
118
  "file-preview-card": "_file-preview-card_1xp9s_1",
119
119
  "file-preview-info": "_file-preview-info_1xp9s_22",
120
120
  "file-preview-name": "_file-preview-name_1xp9s_28",
@@ -136,18 +136,18 @@ const FFile = ({
136
136
  return /* @__PURE__ */ jsxs(
137
137
  "div",
138
138
  {
139
- className: `${styles$y["file-preview-card"]} ${className || ""}`,
139
+ className: `${styles$z["file-preview-card"]} ${className || ""}`,
140
140
  id,
141
141
  style: st,
142
142
  children: [
143
- /* @__PURE__ */ jsxs("div", { className: styles$y["file-preview-info"], children: [
144
- /* @__PURE__ */ jsx("span", { className: styles$y["file-preview-name"], title: name, children: name }),
145
- typeof size === "number" && /* @__PURE__ */ jsxs("span", { className: styles$y["file-preview-size"], children: [
143
+ /* @__PURE__ */ jsxs("div", { className: styles$z["file-preview-info"], children: [
144
+ /* @__PURE__ */ jsx("span", { className: styles$z["file-preview-name"], title: name, children: name }),
145
+ typeof size === "number" && /* @__PURE__ */ jsxs("span", { className: styles$z["file-preview-size"], children: [
146
146
  Math.round(size / 1024),
147
147
  " КБ"
148
148
  ] })
149
149
  ] }),
150
- handleDelete && /* @__PURE__ */ jsx("div", { className: styles$y["trash-icon"], children: /* @__PURE__ */ jsx(
150
+ handleDelete && /* @__PURE__ */ jsx("div", { className: styles$z["trash-icon"], children: /* @__PURE__ */ jsx(
151
151
  FTrashIcon,
152
152
  {
153
153
  size: 20,
@@ -155,10 +155,10 @@ const FFile = ({
155
155
  handleClick: handleDelete
156
156
  }
157
157
  ) }),
158
- typeof progress2 === "number" && /* @__PURE__ */ jsx("div", { className: `${styles$y.progressBar} ${progress2 === 100 ? styles$y.completed : ""}`, children: /* @__PURE__ */ jsx(
158
+ typeof progress2 === "number" && /* @__PURE__ */ jsx("div", { className: `${styles$z.progressBar} ${progress2 === 100 ? styles$z.completed : ""}`, children: /* @__PURE__ */ jsx(
159
159
  "div",
160
160
  {
161
- className: styles$y.progress,
161
+ className: styles$z.progress,
162
162
  style: { width: `${progress2}%` }
163
163
  }
164
164
  ) })
@@ -261,7 +261,7 @@ const FButtonFile = ({
261
261
  )) }) })
262
262
  ] });
263
263
  };
264
- const styles$x = {
264
+ const styles$y = {
265
265
  "f-text-field": "_f-text-field_200bb_1"
266
266
  };
267
267
  const FLoadIcon = React.forwardRef(({
@@ -340,7 +340,7 @@ const FTextField = forwardRef(
340
340
  return /* @__PURE__ */ jsxs(
341
341
  "div",
342
342
  {
343
- className: `f-form-element ${styles$x["f-text-field"]} ${className || ""}`,
343
+ className: `f-form-element ${styles$y["f-text-field"]} ${className || ""}`,
344
344
  style: mergedStyle,
345
345
  role: "group",
346
346
  id: inputId + "-text-field-block",
@@ -446,7 +446,7 @@ const FStack = ({
446
446
  }
447
447
  );
448
448
  };
449
- const styles$w = {
449
+ const styles$x = {
450
450
  "f-grid": "_f-grid_3g4xh_1",
451
451
  "f-grid__col": "_f-grid__col_3g4xh_10",
452
452
  "f-grid__col--auto": "_f-grid__col--auto_3g4xh_16",
@@ -549,21 +549,21 @@ const FGrid = ({
549
549
  xxl: xxl ?? xl ?? lg ?? md ?? sm ?? xs
550
550
  };
551
551
  const getColumnClasses = () => {
552
- if (colAuto) return styles$w["f-grid__col--auto"];
553
- const classes = [styles$w["f-grid__col"]];
554
- if (resolvedSizes.xs !== void 0) classes.push(styles$w[`f-grid__col--xs-${resolvedSizes.xs}`]);
555
- if (resolvedSizes.sm !== void 0) classes.push(styles$w[`f-grid__col--sm-${resolvedSizes.sm}`]);
556
- if (resolvedSizes.md !== void 0) classes.push(styles$w[`f-grid__col--md-${resolvedSizes.md}`]);
557
- if (resolvedSizes.lg !== void 0) classes.push(styles$w[`f-grid__col--lg-${resolvedSizes.lg}`]);
558
- if (resolvedSizes.xl !== void 0) classes.push(styles$w[`f-grid__col--xl-${resolvedSizes.xl}`]);
559
- if (resolvedSizes.xxl !== void 0) classes.push(styles$w[`f-grid__col--xxl-${resolvedSizes.xxl}`]);
552
+ if (colAuto) return styles$x["f-grid__col--auto"];
553
+ const classes = [styles$x["f-grid__col"]];
554
+ if (resolvedSizes.xs !== void 0) classes.push(styles$x[`f-grid__col--xs-${resolvedSizes.xs}`]);
555
+ if (resolvedSizes.sm !== void 0) classes.push(styles$x[`f-grid__col--sm-${resolvedSizes.sm}`]);
556
+ if (resolvedSizes.md !== void 0) classes.push(styles$x[`f-grid__col--md-${resolvedSizes.md}`]);
557
+ if (resolvedSizes.lg !== void 0) classes.push(styles$x[`f-grid__col--lg-${resolvedSizes.lg}`]);
558
+ if (resolvedSizes.xl !== void 0) classes.push(styles$x[`f-grid__col--xl-${resolvedSizes.xl}`]);
559
+ if (resolvedSizes.xxl !== void 0) classes.push(styles$x[`f-grid__col--xxl-${resolvedSizes.xxl}`]);
560
560
  return classes.join(" ");
561
561
  };
562
562
  return /* @__PURE__ */ jsxs(Fragment, { children: [
563
563
  obj === "container" && /* @__PURE__ */ jsx(
564
564
  "div",
565
565
  {
566
- className: `${styles$w["f-grid"]} ${className || ""}`,
566
+ className: `${styles$x["f-grid"]} ${className || ""}`,
567
567
  style,
568
568
  id,
569
569
  children
@@ -581,7 +581,7 @@ const FGrid = ({
581
581
  obj === void 0 && /* @__PURE__ */ jsx("div", { className, style, id, children })
582
582
  ] });
583
583
  };
584
- const styles$v = {
584
+ const styles$w = {
585
585
  "f-grid-row": "_f-grid-row_1crbx_1",
586
586
  "f-grid-row--justify-start": "_f-grid-row--justify-start_1crbx_7",
587
587
  "f-grid-row--justify-center": "_f-grid-row--justify-center_1crbx_10",
@@ -603,21 +603,21 @@ const FGridRow = ({
603
603
  }) => {
604
604
  const getJustifyContentClass = () => {
605
605
  if (!justifyContent) return "";
606
- return styles$v[`f-grid-row--justify-${justifyContent}`];
606
+ return styles$w[`f-grid-row--justify-${justifyContent}`];
607
607
  };
608
608
  const getAlignItemsClass = () => {
609
609
  if (!alignItems) return "";
610
- return styles$v[`f-grid-row--align-${alignItems}`];
610
+ return styles$w[`f-grid-row--align-${alignItems}`];
611
611
  };
612
612
  const rowClasses = [
613
- styles$v["f-grid-row"],
613
+ styles$w["f-grid-row"],
614
614
  getJustifyContentClass(),
615
615
  getAlignItemsClass(),
616
616
  className
617
617
  ].filter(Boolean).join(" ");
618
618
  return /* @__PURE__ */ jsx("div", { className: rowClasses, style: st, id, children });
619
619
  };
620
- const styles$u = {
620
+ const styles$v = {
621
621
  "f-container": "_f-container_g9ck3_1",
622
622
  "container-fluid": "_container-fluid_g9ck3_1",
623
623
  "container-xxl": "_container-xxl_g9ck3_1",
@@ -637,7 +637,7 @@ const FContainer = ({
637
637
  return /* @__PURE__ */ jsx(
638
638
  "div",
639
639
  {
640
- className: `${styles$u["f-container"]} ${styles$u[maxWidth]} ${className || ""}`,
640
+ className: `${styles$v["f-container"]} ${styles$v[maxWidth]} ${className || ""}`,
641
641
  style: st,
642
642
  id,
643
643
  children
@@ -645,7 +645,7 @@ const FContainer = ({
645
645
  );
646
646
  };
647
647
  const panel = "_panel_yplsg_1";
648
- const styles$t = {
648
+ const styles$u = {
649
649
  panel,
650
650
  "panel-default": "_panel-default_yplsg_6",
651
651
  "panel-heading": "_panel-heading_yplsg_12",
@@ -678,15 +678,15 @@ const FPaper = ({
678
678
  return /* @__PURE__ */ jsxs(
679
679
  "div",
680
680
  {
681
- className: `${styles$t["panel"]} ${styles$t["panel-default"]} ${className || ""} ${animated ? `${styles$t[`animated-${animated.name}`]} ${animated.name}` : ""}`,
681
+ className: `${styles$u["panel"]} ${styles$u["panel-default"]} ${className || ""} ${animated ? `${styles$u[`animated-${animated.name}`]} ${animated.name}` : ""}`,
682
682
  style: st,
683
683
  id,
684
684
  onAnimationEnd,
685
685
  children: [
686
- label && /* @__PURE__ */ jsx("div", { className: styles$t["panel-heading"], children: /* @__PURE__ */ jsx(
686
+ label && /* @__PURE__ */ jsx("div", { className: styles$u["panel-heading"], children: /* @__PURE__ */ jsx(
687
687
  "h3",
688
688
  {
689
- className: styles$t["panel-title"],
689
+ className: styles$u["panel-title"],
690
690
  style: { fontSize: fontSizeLabel },
691
691
  children: label
692
692
  }
@@ -694,7 +694,7 @@ const FPaper = ({
694
694
  /* @__PURE__ */ jsx(
695
695
  "div",
696
696
  {
697
- className: styles$t["panel-body"],
697
+ className: styles$u["panel-body"],
698
698
  style: { fontSize: fontSizeBody },
699
699
  children
700
700
  }
@@ -707,7 +707,7 @@ const bordered = "_bordered_ld5gh_18";
707
707
  const left$1 = "_left_ld5gh_40";
708
708
  const center = "_center_ld5gh_43";
709
709
  const right = "_right_ld5gh_46";
710
- const styles$s = {
710
+ const styles$t = {
711
711
  "f-table-component": "_f-table-component_ld5gh_1",
712
712
  "f-table-component__table": "_f-table-component__table_ld5gh_7",
713
713
  bordered,
@@ -738,7 +738,7 @@ const FTableHead = ({
738
738
  {
739
739
  style: st,
740
740
  ...props,
741
- className: `${styles$s["f-table-component__table_header"]} ${isSticky ? styles$s["is-sticky"] : ""} ${props.className || ""} ${styles$s[textAlignment]}`,
741
+ className: `${styles$t["f-table-component__table_header"]} ${isSticky ? styles$t["is-sticky"] : ""} ${props.className || ""} ${styles$t[textAlignment]}`,
742
742
  children
743
743
  }
744
744
  );
@@ -831,7 +831,7 @@ const FTableBody = ({
831
831
  } else {
832
832
  visibleItems = flatChildren;
833
833
  }
834
- return /* @__PURE__ */ jsxs("tbody", { ref: tableBodyRef, style: st, ...props, className: `${styles$s["f-table-component__table_body"]} ${props.className || ""} ${styles$s[textAlignment]}`, children: [
834
+ return /* @__PURE__ */ jsxs("tbody", { ref: tableBodyRef, style: st, ...props, className: `${styles$t["f-table-component__table_body"]} ${props.className || ""} ${styles$t[textAlignment]}`, children: [
835
835
  virtualizationEnabled && rowHeights.some((h) => h > 0) && /* @__PURE__ */ jsx("tr", { style: { height: topOffset } }),
836
836
  visibleItems.map((child, idx) => React.isValidElement(child) ? React.cloneElement(child, { "data-row-index": virtualizationEnabled ? startIdx + idx : idx, key: virtualizationEnabled ? startIdx + idx : idx }) : child),
837
837
  virtualizationEnabled && rowHeights.some((h) => h > 0) && /* @__PURE__ */ jsx("tr", { style: { height: bottomOffset } })
@@ -874,14 +874,14 @@ const FTable = ({
874
874
  "div",
875
875
  {
876
876
  ref: tableWrapperRef,
877
- className: styles$s["f-table-component"],
877
+ className: styles$t["f-table-component"],
878
878
  style: { overflowX, overflowY },
879
879
  children: /* @__PURE__ */ jsx(
880
880
  "table",
881
881
  {
882
882
  style: { ...st, tableLayout: layout },
883
883
  ...props,
884
- className: `table ${styles$s["f-table-component__table"]} ${styles$s["bordered"]} ${styles$s["bordered-half"]} ${props.className || ""}`,
884
+ className: `table ${styles$t["f-table-component__table"]} ${styles$t["bordered"]} ${styles$t["bordered-half"]} ${props.className || ""}`,
885
885
  children: React.Children.map(children, (child) => {
886
886
  if (React.isValidElement(child) && child.type === FTableHead) {
887
887
  const headProps = child.props;
@@ -919,14 +919,14 @@ const FTableRow = ({
919
919
  ...props
920
920
  }) => {
921
921
  const rowClasses = [
922
- styles$s["f-table-component__table_row"],
922
+ styles$t["f-table-component__table_row"],
923
923
  props.className || ""
924
924
  ];
925
925
  if (disableHover) {
926
- rowClasses.push(styles$s["f-table-component__table_row_no-hover"]);
926
+ rowClasses.push(styles$t["f-table-component__table_row_no-hover"]);
927
927
  }
928
928
  if (textAlignment !== void 0) {
929
- rowClasses.push(styles$s[textAlignment]);
929
+ rowClasses.push(styles$t[textAlignment]);
930
930
  }
931
931
  return /* @__PURE__ */ jsx(
932
932
  "tr",
@@ -960,7 +960,7 @@ const FTableHeaderCell = ({
960
960
  rowSpan: row && row > 1 ? row : void 0,
961
961
  colSpan: col && col > 1 ? col : void 0,
962
962
  ...props,
963
- className: `${styles$s["f-table-component__table_header-cell"]} ${props.className || ""}`,
963
+ className: `${styles$t["f-table-component__table_header-cell"]} ${props.className || ""}`,
964
964
  style,
965
965
  children
966
966
  }
@@ -988,7 +988,7 @@ const FTableDataCell = ({
988
988
  rowSpan: row && row > 1 ? row : void 0,
989
989
  colSpan: col && col > 1 ? col : void 0,
990
990
  ...props,
991
- className: `${styles$s["f-table-component__table_body-cell"]} ${props.className || ""}`,
991
+ className: `${styles$t["f-table-component__table_body-cell"]} ${props.className || ""}`,
992
992
  style,
993
993
  children
994
994
  }
@@ -1004,25 +1004,27 @@ const FTableFooter = ({
1004
1004
  {
1005
1005
  style: st,
1006
1006
  ...props,
1007
- className: `${styles$s["f-table-component__table_footer"]} ${props.className || ""}`,
1007
+ className: `${styles$t["f-table-component__table_footer"]} ${props.className || ""}`,
1008
1008
  children
1009
1009
  }
1010
1010
  );
1011
1011
  };
1012
- const active$4 = "_active_16jkc_16";
1013
- const hide = "_hide_16jkc_37";
1014
- const styles$r = {
1015
- "f-dialog": "_f-dialog_16jkc_1",
1016
- "active-dialog": "_active-dialog_16jkc_16",
1017
- "f-dialog__content": "_f-dialog__content_16jkc_20",
1018
- active: active$4,
1012
+ const entering = "_entering_dwagt_17";
1013
+ const exiting = "_exiting_dwagt_23";
1014
+ const hide = "_hide_dwagt_45";
1015
+ const styles$s = {
1016
+ "f-dialog": "_f-dialog_dwagt_1",
1017
+ entering,
1018
+ "f-dialog__content": "_f-dialog__content_dwagt_20",
1019
+ exiting,
1019
1020
  hide,
1020
- "f-dialog__header": "_f-dialog__header_16jkc_41",
1021
- "f-dialog__header_title": "_f-dialog__header_title_16jkc_53",
1022
- "f-dialog__header_close": "_f-dialog__header_close_16jkc_64",
1023
- "f-dialog__body": "_f-dialog__body_16jkc_79",
1024
- "f-dialog__footer": "_f-dialog__footer_16jkc_84"
1021
+ "f-dialog__header": "_f-dialog__header_dwagt_49",
1022
+ "f-dialog__header_title": "_f-dialog__header_title_dwagt_61",
1023
+ "f-dialog__header_close": "_f-dialog__header_close_dwagt_72",
1024
+ "f-dialog__body": "_f-dialog__body_dwagt_87",
1025
+ "f-dialog__footer": "_f-dialog__footer_dwagt_92"
1025
1026
  };
1027
+ let openDialogsCount = 0;
1026
1028
  const FDialog = ({
1027
1029
  openAndClose,
1028
1030
  closeButtonBackPage,
@@ -1033,22 +1035,55 @@ const FDialog = ({
1033
1035
  st,
1034
1036
  width = "lg"
1035
1037
  }) => {
1038
+ const [isMounted, setIsMounted] = useState(openAndClose);
1039
+ const [isClosing, setIsClosing] = useState(false);
1036
1040
  useEffect(() => {
1037
- if (!openAndClose) return;
1038
- const dialogCount = document.querySelectorAll(".active-dialog").length;
1039
- if (dialogCount > 0) {
1040
- document.body.classList.add("open-dialog");
1041
- } else {
1042
- document.body.classList.remove("open-dialog");
1041
+ if (openAndClose) {
1042
+ setIsMounted(true);
1043
+ setIsClosing(false);
1044
+ } else if (isMounted) {
1045
+ setIsClosing(true);
1043
1046
  }
1044
- return () => {
1045
- const updatedCount = document.querySelectorAll(".active-dialog").length;
1046
- if (updatedCount === 0) {
1047
- document.body.classList.remove("open-dialog");
1048
- }
1049
- };
1050
1047
  }, [openAndClose]);
1051
- if (!openAndClose) return null;
1048
+ const handleAnimationEnd = (e) => {
1049
+ if (isClosing && e.target === e.currentTarget) {
1050
+ setIsMounted(false);
1051
+ setIsClosing(false);
1052
+ }
1053
+ };
1054
+ useEffect(() => {
1055
+ if (isClosing) {
1056
+ const timer = setTimeout(() => {
1057
+ setIsMounted(false);
1058
+ setIsClosing(false);
1059
+ }, 300);
1060
+ return () => clearTimeout(timer);
1061
+ }
1062
+ }, [isClosing]);
1063
+ useEffect(() => {
1064
+ if (isMounted && !isClosing) {
1065
+ openDialogsCount += 1;
1066
+ document.body.classList.add("open-dialog");
1067
+ return () => {
1068
+ openDialogsCount = Math.max(0, openDialogsCount - 1);
1069
+ if (openDialogsCount === 0) {
1070
+ document.body.classList.remove("open-dialog");
1071
+ }
1072
+ };
1073
+ }
1074
+ }, [isMounted, isClosing]);
1075
+ const handleKeyDown = useCallback((e) => {
1076
+ if (e.key === "Escape" && openAndClose && !isClosing) {
1077
+ closeButtonBackPage == null ? void 0 : closeButtonBackPage(false);
1078
+ }
1079
+ }, [openAndClose, isClosing, closeButtonBackPage]);
1080
+ useEffect(() => {
1081
+ if (isMounted && !isClosing) {
1082
+ window.addEventListener("keydown", handleKeyDown);
1083
+ return () => window.removeEventListener("keydown", handleKeyDown);
1084
+ }
1085
+ }, [isMounted, isClosing, handleKeyDown]);
1086
+ if (!isMounted) return null;
1052
1087
  const widthStyles = {
1053
1088
  xs: "50vw",
1054
1089
  md: "65vw",
@@ -1057,22 +1092,28 @@ const FDialog = ({
1057
1092
  adaptive: "fit-content"
1058
1093
  };
1059
1094
  const contentWidth = widthStyles[width];
1095
+ const animationClass = isClosing ? styles$s["exiting"] : styles$s["entering"];
1060
1096
  return ReactDOM.createPortal(
1061
1097
  /* @__PURE__ */ jsx(
1062
1098
  "div",
1063
1099
  {
1064
1100
  id,
1065
1101
  style: st,
1066
- className: `${styles$r["f-dialog"]} ${openAndClose ? styles$r["active-dialog"] : ""} ${className || ""}`,
1067
- onClick: () => closeButtonBackPage == null ? void 0 : closeButtonBackPage(false),
1102
+ className: `${styles$s["f-dialog"]} ${animationClass} ${className || ""}`,
1103
+ onMouseDown: (e) => {
1104
+ if (e.target === e.currentTarget) {
1105
+ closeButtonBackPage == null ? void 0 : closeButtonBackPage(false);
1106
+ }
1107
+ },
1108
+ onAnimationEnd: handleAnimationEnd,
1068
1109
  children: /* @__PURE__ */ jsx(
1069
1110
  "div",
1070
1111
  {
1071
- className: `${styles$r["f-dialog__content"]} ${openAndClose ? styles$r["active"] : ""} ${hide2 ? styles$r["hide"] : ""}`,
1112
+ className: `${styles$s["f-dialog__content"]} ${hide2 ? styles$s["hide"] : ""}`,
1072
1113
  style: {
1073
1114
  width: contentWidth
1074
1115
  },
1075
- onClick: (e) => e.stopPropagation(),
1116
+ onMouseDown: (e) => e.stopPropagation(),
1076
1117
  children
1077
1118
  }
1078
1119
  )
@@ -1109,9 +1150,9 @@ const FCloseIcon = React.forwardRef(({
1109
1150
  });
1110
1151
  FCloseIcon.displayName = "FCloseIcon";
1111
1152
  const FDialogHeader = ({ title: title2, handleClose }) => {
1112
- return /* @__PURE__ */ jsxs("div", { className: styles$r["f-dialog__header"], children: [
1113
- /* @__PURE__ */ jsx("h3", { className: styles$r["f-dialog__header_title"], children: title2 }),
1114
- handleClose && /* @__PURE__ */ jsx("div", { className: styles$r["f-dialog__header_close"], children: /* @__PURE__ */ jsx(
1153
+ return /* @__PURE__ */ jsxs("div", { className: styles$s["f-dialog__header"], children: [
1154
+ /* @__PURE__ */ jsx("h3", { className: styles$s["f-dialog__header_title"], children: title2 }),
1155
+ handleClose && /* @__PURE__ */ jsx("div", { className: styles$s["f-dialog__header_close"], children: /* @__PURE__ */ jsx(
1115
1156
  FCloseIcon,
1116
1157
  {
1117
1158
  handleClose,
@@ -1126,7 +1167,7 @@ const FDialogBody = ({ st, children, scroll = true }) => {
1126
1167
  ...scroll ? { overflowY: "auto" } : {},
1127
1168
  ...st
1128
1169
  };
1129
- return /* @__PURE__ */ jsx("div", { className: styles$r["f-dialog__body"], style, children });
1170
+ return /* @__PURE__ */ jsx("div", { className: styles$s["f-dialog__body"], style, children });
1130
1171
  };
1131
1172
  const FDialogFooter = ({ children, className, st, id }) => {
1132
1173
  return /* @__PURE__ */ jsx(
@@ -1134,7 +1175,7 @@ const FDialogFooter = ({ children, className, st, id }) => {
1134
1175
  {
1135
1176
  id,
1136
1177
  style: st,
1137
- className: `${styles$r["f-dialog__footer"]} ${className || ""}`,
1178
+ className: `${styles$s["f-dialog__footer"]} ${className || ""}`,
1138
1179
  children
1139
1180
  }
1140
1181
  );
@@ -1149,7 +1190,7 @@ const info$2 = "_info_1lhk7_62";
1149
1190
  const light = "_light_1lhk7_66";
1150
1191
  const dark = "_dark_1lhk7_70";
1151
1192
  const link = "_link_1lhk7_74";
1152
- const styles$q = {
1193
+ const styles$r = {
1153
1194
  "authorization-spinner": "_authorization-spinner_1lhk7_1",
1154
1195
  "spinner-item": "_spinner-item_1lhk7_7",
1155
1196
  loader,
@@ -1167,14 +1208,14 @@ const FProgress = ({ st, color = "primary", id, className }) => {
1167
1208
  return /* @__PURE__ */ jsx(
1168
1209
  "div",
1169
1210
  {
1170
- className: `${styles$q["authorization-spinner"]} ${styles$q.visible} ${className || ""}`,
1211
+ className: `${styles$r["authorization-spinner"]} ${styles$r.visible} ${className || ""}`,
1171
1212
  id,
1172
1213
  style: st,
1173
- children: /* @__PURE__ */ jsx("div", { className: `${styles$q["spinner-item"]} ${styles$q[color]}` })
1214
+ children: /* @__PURE__ */ jsx("div", { className: `${styles$r["spinner-item"]} ${styles$r[color]}` })
1174
1215
  }
1175
1216
  );
1176
1217
  };
1177
- const styles$p = {
1218
+ const styles$q = {
1178
1219
  "f-preloader": "_f-preloader_17f9x_1",
1179
1220
  "active-preloader": "_active-preloader_17f9x_10"
1180
1221
  };
@@ -1201,13 +1242,13 @@ const FPreloader = ({
1201
1242
  return /* @__PURE__ */ jsx(
1202
1243
  "div",
1203
1244
  {
1204
- className: `${styles$p["f-preloader"]} ${open ? styles$p["active-preloader"] : ""}`,
1245
+ className: `${styles$q["f-preloader"]} ${open ? styles$q["active-preloader"] : ""}`,
1205
1246
  style: mergedStyle,
1206
1247
  children
1207
1248
  }
1208
1249
  );
1209
1250
  };
1210
- const styles$o = {
1251
+ const styles$p = {
1211
1252
  "f-checkbox": "_f-checkbox_9rvqg_1"
1212
1253
  };
1213
1254
  const FCheckbox = forwardRef(
@@ -1220,7 +1261,7 @@ const FCheckbox = forwardRef(
1220
1261
  return /* @__PURE__ */ jsx(
1221
1262
  "div",
1222
1263
  {
1223
- className: `${styles$o["f-checkbox"]} ${className || ""}`,
1264
+ className: `${styles$p["f-checkbox"]} ${className || ""}`,
1224
1265
  style: st,
1225
1266
  children: /* @__PURE__ */ jsxs("label", { children: [
1226
1267
  /* @__PURE__ */ jsx("input", { ref, type: "checkbox", ...props }),
@@ -1230,7 +1271,7 @@ const FCheckbox = forwardRef(
1230
1271
  );
1231
1272
  }
1232
1273
  );
1233
- const styles$n = {
1274
+ const styles$o = {
1234
1275
  "f-radio": "_f-radio_cwhmx_1"
1235
1276
  };
1236
1277
  const FRadioButton = forwardRef(
@@ -1243,7 +1284,7 @@ const FRadioButton = forwardRef(
1243
1284
  return /* @__PURE__ */ jsx(
1244
1285
  "div",
1245
1286
  {
1246
- className: `${styles$n["f-radio"]} ${className || ""}`,
1287
+ className: `${styles$o["f-radio"]} ${className || ""}`,
1247
1288
  style: st,
1248
1289
  children: /* @__PURE__ */ jsxs("label", { children: [
1249
1290
  /* @__PURE__ */ jsx("input", { ref, type: "radio", ...props }),
@@ -1302,15 +1343,15 @@ const usePagination = ({
1302
1343
  };
1303
1344
  const dots = "_dots_aham2_29";
1304
1345
  const selected$1 = "_selected_aham2_33";
1305
- const disabled$2 = "_disabled_aham2_37";
1346
+ const disabled$3 = "_disabled_aham2_37";
1306
1347
  const arrow = "_arrow_aham2_43";
1307
1348
  const left = "_left_aham2_56";
1308
- const styles$m = {
1349
+ const styles$n = {
1309
1350
  "pagination-container": "_pagination-container_aham2_1",
1310
1351
  "pagination-item": "_pagination-item_aham2_9",
1311
1352
  dots,
1312
1353
  selected: selected$1,
1313
- disabled: disabled$2,
1354
+ disabled: disabled$3,
1314
1355
  arrow,
1315
1356
  left
1316
1357
  };
@@ -1339,26 +1380,26 @@ const FPagination = ({
1339
1380
  return /* @__PURE__ */ jsxs(
1340
1381
  "ul",
1341
1382
  {
1342
- className: `${styles$m["pagination-container"]} ${className || ""}`,
1383
+ className: `${styles$n["pagination-container"]} ${className || ""}`,
1343
1384
  style: st,
1344
1385
  id,
1345
1386
  children: [
1346
1387
  /* @__PURE__ */ jsx(
1347
1388
  "li",
1348
1389
  {
1349
- className: `${styles$m["pagination-item"]} ${currentPage === 1 ? styles$m.disabled : ""}`,
1390
+ className: `${styles$n["pagination-item"]} ${currentPage === 1 ? styles$n.disabled : ""}`,
1350
1391
  onClick: onPrevious,
1351
- children: /* @__PURE__ */ jsx("div", { className: `${styles$m.arrow} ${styles$m.left}` })
1392
+ children: /* @__PURE__ */ jsx("div", { className: `${styles$n.arrow} ${styles$n.left}` })
1352
1393
  }
1353
1394
  ),
1354
1395
  paginationRange.map((pageNumber, index) => {
1355
1396
  if (pageNumber === DOTS) {
1356
- return /* @__PURE__ */ jsx("li", { className: `${styles$m["pagination-item"]} ${styles$m.dots}`, children: "…" }, index);
1397
+ return /* @__PURE__ */ jsx("li", { className: `${styles$n["pagination-item"]} ${styles$n.dots}`, children: "…" }, index);
1357
1398
  }
1358
1399
  return /* @__PURE__ */ jsx(
1359
1400
  "li",
1360
1401
  {
1361
- className: `${styles$m["pagination-item"]} ${pageNumber === currentPage ? styles$m.selected : ""}`,
1402
+ className: `${styles$n["pagination-item"]} ${pageNumber === currentPage ? styles$n.selected : ""}`,
1362
1403
  onClick: () => onPageChange(pageNumber),
1363
1404
  children: pageNumber
1364
1405
  },
@@ -1368,16 +1409,16 @@ const FPagination = ({
1368
1409
  /* @__PURE__ */ jsx(
1369
1410
  "li",
1370
1411
  {
1371
- className: `${styles$m["pagination-item"]} ${currentPage === lastPage ? styles$m.disabled : ""}`,
1412
+ className: `${styles$n["pagination-item"]} ${currentPage === lastPage ? styles$n.disabled : ""}`,
1372
1413
  onClick: onNext,
1373
- children: /* @__PURE__ */ jsx("div", { className: `${styles$m.arrow} ${styles$m.right}` })
1414
+ children: /* @__PURE__ */ jsx("div", { className: `${styles$n.arrow} ${styles$n.right}` })
1374
1415
  }
1375
1416
  )
1376
1417
  ]
1377
1418
  }
1378
1419
  );
1379
1420
  };
1380
- const styles$l = {
1421
+ const styles$m = {
1381
1422
  "f-time-line": "_f-time-line_1ybe7_1",
1382
1423
  "f-time-line__block": "_f-time-line__block_1ybe7_10",
1383
1424
  "f-time-line__block-circle": "_f-time-line__block-circle_1ybe7_29",
@@ -1391,7 +1432,7 @@ const FTimeline = ({
1391
1432
  id,
1392
1433
  className
1393
1434
  }) => {
1394
- return /* @__PURE__ */ jsx("div", { className: `${styles$l["f-time-line"]} ${className || ""}`, style: st, id, children });
1435
+ return /* @__PURE__ */ jsx("div", { className: `${styles$m["f-time-line"]} ${className || ""}`, style: st, id, children });
1395
1436
  };
1396
1437
  const FTimelineCard = ({
1397
1438
  children,
@@ -1400,17 +1441,17 @@ const FTimelineCard = ({
1400
1441
  id,
1401
1442
  className
1402
1443
  }) => {
1403
- return /* @__PURE__ */ jsxs("div", { className: `${styles$l["f-time-line__block"]} ${className || ""}`, id, children: [
1404
- /* @__PURE__ */ jsx("div", { className: styles$l["f-time-line__block-circle"] }),
1405
- /* @__PURE__ */ jsxs("div", { className: styles$l["f-time-line__block-inner"], style: st, children: [
1406
- title2 && /* @__PURE__ */ jsx("div", { className: styles$l["f-time-line__block-title"], children: title2 }),
1407
- /* @__PURE__ */ jsx("div", { className: styles$l["f-time-line__block-content"], children })
1444
+ return /* @__PURE__ */ jsxs("div", { className: `${styles$m["f-time-line__block"]} ${className || ""}`, id, children: [
1445
+ /* @__PURE__ */ jsx("div", { className: styles$m["f-time-line__block-circle"] }),
1446
+ /* @__PURE__ */ jsxs("div", { className: styles$m["f-time-line__block-inner"], style: st, children: [
1447
+ title2 && /* @__PURE__ */ jsx("div", { className: styles$m["f-time-line__block-title"], children: title2 }),
1448
+ /* @__PURE__ */ jsx("div", { className: styles$m["f-time-line__block-content"], children })
1408
1449
  ] })
1409
1450
  ] });
1410
1451
  };
1411
1452
  const spinner = "_spinner_f7bma_133";
1412
- const active$3 = "_active_f7bma_183";
1413
- const styles$k = {
1453
+ const active$4 = "_active_f7bma_183";
1454
+ const styles$l = {
1414
1455
  "fv-opn-img-full": "_fv-opn-img-full_f7bma_1",
1415
1456
  "fv-opn-img-full-body": "_fv-opn-img-full-body_f7bma_19",
1416
1457
  "close-button": "_close-button_f7bma_33",
@@ -1424,7 +1465,7 @@ const styles$k = {
1424
1465
  "error-message": "_error-message_f7bma_147",
1425
1466
  "progress-indicator": "_progress-indicator_f7bma_158",
1426
1467
  "progress-dot": "_progress-dot_f7bma_172",
1427
- active: active$3
1468
+ active: active$4
1428
1469
  };
1429
1470
  const FArrowIcon = React.forwardRef(({
1430
1471
  color = "primary",
@@ -1549,10 +1590,10 @@ const FOpenImgFull = ({
1549
1590
  {
1550
1591
  openAndClose,
1551
1592
  st,
1552
- className: `${styles$k["fv-opn-img-full"]} ${className || ""}`,
1593
+ className: `${styles$l["fv-opn-img-full"]} ${className || ""}`,
1553
1594
  id,
1554
- children: /* @__PURE__ */ jsxs("div", { className: styles$k["fv-opn-img-full-body"], children: [
1555
- /* @__PURE__ */ jsx("div", { className: styles$k["close-button"], children: handleClose && /* @__PURE__ */ jsx(
1595
+ children: /* @__PURE__ */ jsxs("div", { className: styles$l["fv-opn-img-full-body"], children: [
1596
+ /* @__PURE__ */ jsx("div", { className: styles$l["close-button"], children: handleClose && /* @__PURE__ */ jsx(
1556
1597
  FCloseIcon,
1557
1598
  {
1558
1599
  handleClose: () => {
@@ -1564,21 +1605,21 @@ const FOpenImgFull = ({
1564
1605
  /* @__PURE__ */ jsxs(
1565
1606
  "div",
1566
1607
  {
1567
- className: styles$k["image-container"],
1608
+ className: styles$l["image-container"],
1568
1609
  onTouchStart: handleTouchStart,
1569
1610
  onTouchMove: handleTouchMove,
1570
1611
  onTouchEnd: handleTouchEnd,
1571
1612
  children: [
1572
- selectedImg > 0 && /* @__PURE__ */ jsx("div", { className: styles$k["arrow-left"], children: /* @__PURE__ */ jsx(
1613
+ selectedImg > 0 && /* @__PURE__ */ jsx("div", { className: styles$l["arrow-left"], children: /* @__PURE__ */ jsx(
1573
1614
  FArrowIcon,
1574
1615
  {
1575
1616
  direction: "left",
1576
1617
  handleClick: () => setSelectedImg(selectedImg - 1)
1577
1618
  }
1578
1619
  ) }),
1579
- /* @__PURE__ */ jsxs("div", { className: styles$k["image-wrapper"], children: [
1580
- isLoading && /* @__PURE__ */ jsx("div", { className: styles$k["loading-spinner"], children: /* @__PURE__ */ jsx("div", { className: styles$k["spinner"] }) }),
1581
- error2 ? /* @__PURE__ */ jsx("div", { className: styles$k["error-message"], children: "Ошибка загрузки изображения" }) : /* @__PURE__ */ jsx(
1620
+ /* @__PURE__ */ jsxs("div", { className: styles$l["image-wrapper"], children: [
1621
+ isLoading && /* @__PURE__ */ jsx("div", { className: styles$l["loading-spinner"], children: /* @__PURE__ */ jsx("div", { className: styles$l["spinner"] }) }),
1622
+ error2 ? /* @__PURE__ */ jsx("div", { className: styles$l["error-message"], children: "Ошибка загрузки изображения" }) : /* @__PURE__ */ jsx(
1582
1623
  "img",
1583
1624
  {
1584
1625
  src: imagesUrl[selectedImg],
@@ -1588,7 +1629,7 @@ const FOpenImgFull = ({
1588
1629
  setError(true);
1589
1630
  setIsLoading(false);
1590
1631
  },
1591
- className: styles$k["full-image"],
1632
+ className: styles$l["full-image"],
1592
1633
  onClick: handleImageClick,
1593
1634
  style: {
1594
1635
  cursor: "zoom-in",
@@ -1598,7 +1639,7 @@ const FOpenImgFull = ({
1598
1639
  }
1599
1640
  )
1600
1641
  ] }),
1601
- selectedImg < imagesUrl.length - 1 && /* @__PURE__ */ jsx("div", { className: styles$k["arrow-right"], children: /* @__PURE__ */ jsx(
1642
+ selectedImg < imagesUrl.length - 1 && /* @__PURE__ */ jsx("div", { className: styles$l["arrow-right"], children: /* @__PURE__ */ jsx(
1602
1643
  FArrowIcon,
1603
1644
  {
1604
1645
  direction: "right",
@@ -1608,10 +1649,10 @@ const FOpenImgFull = ({
1608
1649
  ]
1609
1650
  }
1610
1651
  ),
1611
- imagesUrl.length > 1 && /* @__PURE__ */ jsx("div", { className: styles$k["progress-indicator"], children: imagesUrl.map((_, index) => /* @__PURE__ */ jsx(
1652
+ imagesUrl.length > 1 && /* @__PURE__ */ jsx("div", { className: styles$l["progress-indicator"], children: imagesUrl.map((_, index) => /* @__PURE__ */ jsx(
1612
1653
  "div",
1613
1654
  {
1614
- className: `${styles$k["progress-dot"]} ${index === selectedImg ? styles$k["active"] : ""}`,
1655
+ className: `${styles$l["progress-dot"]} ${index === selectedImg ? styles$l["active"] : ""}`,
1615
1656
  onClick: () => setSelectedImg(index)
1616
1657
  },
1617
1658
  index
@@ -1624,7 +1665,7 @@ const card$2 = "_card_1pttw_1";
1624
1665
  const warning$3 = "_warning_1pttw_16";
1625
1666
  const info$1 = "_info_1pttw_24";
1626
1667
  const alert = "_alert_1pttw_32";
1627
- const styles$j = {
1668
+ const styles$k = {
1628
1669
  card: card$2,
1629
1670
  warning: warning$3,
1630
1671
  info: info$1,
@@ -1652,16 +1693,16 @@ const FAccordion = ({
1652
1693
  "div",
1653
1694
  {
1654
1695
  onClick,
1655
- className: `${styles$j.card} ${className || ""}`,
1696
+ className: `${styles$k.card} ${className || ""}`,
1656
1697
  id,
1657
1698
  children: /* @__PURE__ */ jsxs(
1658
1699
  "details",
1659
1700
  {
1660
- className: styles$j[variant],
1701
+ className: styles$k[variant],
1661
1702
  open: isOpen,
1662
1703
  style: st,
1663
1704
  children: [
1664
- /* @__PURE__ */ jsx("summary", { className: styles$j["fv-accord-title"], children: title2 }),
1705
+ /* @__PURE__ */ jsx("summary", { className: styles$k["fv-accord-title"], children: title2 }),
1665
1706
  children
1666
1707
  ]
1667
1708
  }
@@ -1670,7 +1711,7 @@ const FAccordion = ({
1670
1711
  );
1671
1712
  };
1672
1713
  const container$1 = "_container_6r9j2_1";
1673
- const styles$i = {
1714
+ const styles$j = {
1674
1715
  container: container$1,
1675
1716
  "custom-file": "_custom-file_6r9j2_6",
1676
1717
  "custom-file-input": "_custom-file-input_6r9j2_9",
@@ -1800,11 +1841,11 @@ const FInputFileForm = ({
1800
1841
  setUploadProgress({});
1801
1842
  }
1802
1843
  }, [deleteFile]);
1803
- return /* @__PURE__ */ jsxs("div", { className: styles$i.container, children: [
1844
+ return /* @__PURE__ */ jsxs("div", { className: styles$j.container, children: [
1804
1845
  /* @__PURE__ */ jsxs(
1805
1846
  "div",
1806
1847
  {
1807
- className: `${styles$i["custom-file"]} ${styles$i["custom-file-dropzone"]} ${isDragging ? styles$i.dragging : ""}`,
1848
+ className: `${styles$j["custom-file"]} ${styles$j["custom-file-dropzone"]} ${isDragging ? styles$j.dragging : ""}`,
1808
1849
  style: st,
1809
1850
  onDragOver: handleDragOver,
1810
1851
  onDragLeave: handleDragLeave,
@@ -1816,7 +1857,7 @@ const FInputFileForm = ({
1816
1857
  required,
1817
1858
  accept,
1818
1859
  type: "file",
1819
- className: `${styles$i["custom-file-input"]} ${className || ""}`,
1860
+ className: `${styles$j["custom-file-input"]} ${className || ""}`,
1820
1861
  name,
1821
1862
  id,
1822
1863
  title: title2,
@@ -1827,7 +1868,7 @@ const FInputFileForm = ({
1827
1868
  ref: inputRef
1828
1869
  }
1829
1870
  ),
1830
- /* @__PURE__ */ jsxs("label", { htmlFor: id, className: styles$i["custom-file-label"], style: disabled2 ? { backgroundColor: "#F3F3F3", border: "1px dashed #C4C4C4" } : void 0, children: [
1871
+ /* @__PURE__ */ jsxs("label", { htmlFor: id, className: styles$j["custom-file-label"], style: disabled2 ? { backgroundColor: "#F3F3F3", border: "1px dashed #C4C4C4" } : void 0, children: [
1831
1872
  /* @__PURE__ */ jsxs("svg", { width: "30", height: "30", fill: "currentColor", viewBox: "0 0 16 16", children: [
1832
1873
  /* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M7.646 5.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 6.707V10.5a.5.5 0 0 1-1 0V6.707L6.354 7.854a.5.5 0 1 1-.708-.708z" }),
1833
1874
  /* @__PURE__ */ jsx("path", { d: "M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383m.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z" })
@@ -1853,8 +1894,8 @@ const FInputFileForm = ({
1853
1894
  ]
1854
1895
  }
1855
1896
  ),
1856
- errors.length > 0 && /* @__PURE__ */ jsx("div", { className: styles$i.errors, children: errors.map((error2, index) => /* @__PURE__ */ jsx("div", { className: styles$i.error, children: error2 }, index)) }),
1857
- showPreview && selectedFiles.length > 0 && /* @__PURE__ */ jsx("div", { className: styles$i["custom-files-preview"], children: selectedFiles.map((file, index) => /* @__PURE__ */ jsx("div", { className: styles$i.fileItem, children: /* @__PURE__ */ jsx(
1897
+ errors.length > 0 && /* @__PURE__ */ jsx("div", { className: styles$j.errors, children: errors.map((error2, index) => /* @__PURE__ */ jsx("div", { className: styles$j.error, children: error2 }, index)) }),
1898
+ showPreview && selectedFiles.length > 0 && /* @__PURE__ */ jsx("div", { className: styles$j["custom-files-preview"], children: selectedFiles.map((file, index) => /* @__PURE__ */ jsx("div", { className: styles$j.fileItem, children: /* @__PURE__ */ jsx(
1858
1899
  FFile,
1859
1900
  {
1860
1901
  name: file.name,
@@ -1865,7 +1906,7 @@ const FInputFileForm = ({
1865
1906
  ) }, index)) })
1866
1907
  ] });
1867
1908
  };
1868
- const styles$h = {
1909
+ const styles$i = {
1869
1910
  "f-select": "_f-select_1n6ag_1",
1870
1911
  "f-select__control-element": "_f-select__control-element_1n6ag_5"
1871
1912
  };
@@ -1895,7 +1936,7 @@ const FSelect = forwardRef(
1895
1936
  return /* @__PURE__ */ jsxs(
1896
1937
  "div",
1897
1938
  {
1898
- className: `f-form-element ${styles$h["f-select"]}`,
1939
+ className: `f-form-element ${styles$i["f-select"]}`,
1899
1940
  style: mergedStyle,
1900
1941
  id: inputId + "-select-block",
1901
1942
  role: "group",
@@ -1920,7 +1961,7 @@ const FSelect = forwardRef(
1920
1961
  ...props,
1921
1962
  id: inputId,
1922
1963
  disabled: props.disabled || load,
1923
- className: `f-form-element__control-element ${styles$h["f-select__control-element"]} ${errText ? "error" : ""} ${props.className || ""}`,
1964
+ className: `f-form-element__control-element ${styles$i["f-select__control-element"]} ${errText ? "error" : ""} ${props.className || ""}`,
1924
1965
  children: !load && children
1925
1966
  }
1926
1967
  ),
@@ -2015,14 +2056,14 @@ const FFullDateField = forwardRef(
2015
2056
  );
2016
2057
  }
2017
2058
  );
2018
- const active$2 = "_active_yhck3_41";
2019
- const styles$g = {
2059
+ const active$3 = "_active_yhck3_41";
2060
+ const styles$h = {
2020
2061
  "f-select-search-db": "_f-select-search-db_yhck3_1",
2021
2062
  "f-select-search-db__input": "_f-select-search-db__input_yhck3_7",
2022
2063
  "f-select-search-db__input_field": "_f-select-search-db__input_field_yhck3_11",
2023
2064
  "f-select-search-db__input_arrow": "_f-select-search-db__input_arrow_yhck3_14",
2024
2065
  "f-select-search-db__dropdown": "_f-select-search-db__dropdown_yhck3_21",
2025
- active: active$2,
2066
+ active: active$3,
2026
2067
  "f-select-search-db__dropdown_content": "_f-select-search-db__dropdown_content_yhck3_45"
2027
2068
  };
2028
2069
  const FSelectSearchDb = ({
@@ -2200,12 +2241,12 @@ const FSelectSearchDb = ({
2200
2241
  "div",
2201
2242
  {
2202
2243
  ref: containerRef,
2203
- className: `${styles$g["f-select-search-db"]} ${className || ""}`,
2244
+ className: `${styles$h["f-select-search-db"]} ${className || ""}`,
2204
2245
  style: st,
2205
2246
  id,
2206
2247
  "data-position": dropdownPosition,
2207
2248
  children: [
2208
- /* @__PURE__ */ jsxs("div", { className: styles$g["f-select-search-db__input"], children: [
2249
+ /* @__PURE__ */ jsxs("div", { className: styles$h["f-select-search-db__input"], children: [
2209
2250
  /* @__PURE__ */ jsx(
2210
2251
  FTextField,
2211
2252
  {
@@ -2216,7 +2257,7 @@ const FSelectSearchDb = ({
2216
2257
  label,
2217
2258
  type,
2218
2259
  placeholder,
2219
- className: styles$g["f-select-search-db__input_field"],
2260
+ className: styles$h["f-select-search-db__input_field"],
2220
2261
  value: valueInput,
2221
2262
  onChange: handlerOnChange,
2222
2263
  onFocus,
@@ -2233,7 +2274,7 @@ const FSelectSearchDb = ({
2233
2274
  !load && !disabled2 && arrObject.length > 0 && /* @__PURE__ */ jsx(
2234
2275
  "div",
2235
2276
  {
2236
- className: styles$g["f-select-search-db__input_arrow"],
2277
+ className: styles$h["f-select-search-db__input_arrow"],
2237
2278
  style: { marginTop: label ? "28px" : "7px" },
2238
2279
  onClick: handleArrowClick,
2239
2280
  children: /* @__PURE__ */ jsx(FArrowIcon, { direction: isDropdownOpen ? "up" : "down", size: 15 })
@@ -2245,8 +2286,8 @@ const FSelectSearchDb = ({
2245
2286
  "div",
2246
2287
  {
2247
2288
  ref: dropdownRef,
2248
- className: `${styles$g["f-select-search-db__dropdown"]} ${isDropdownOpen ? styles$g.active : ""}`,
2249
- children: arrObject.length === 0 && valueInput.trim() === "" ? /* @__PURE__ */ jsx("li", { children: "Введите текст" }) : arrObject.length === 0 && valueInput.trim() !== "" && !load ? /* @__PURE__ */ jsx("li", { children: "Ничего не найдено" }) : /* @__PURE__ */ jsx("ul", { className: styles$g["f-select-search-db__dropdown_content"], children: arrObject.slice(0, 10).map((opt, index) => /* @__PURE__ */ jsx("li", { onMouseDown: () => handleItemClick(opt), children: selectItem(opt) }, index)) })
2289
+ className: `${styles$h["f-select-search-db__dropdown"]} ${isDropdownOpen ? styles$h.active : ""}`,
2290
+ children: arrObject.length === 0 && valueInput.trim() === "" ? /* @__PURE__ */ jsx("li", { children: "Введите текст" }) : arrObject.length === 0 && valueInput.trim() !== "" && !load ? /* @__PURE__ */ jsx("li", { children: "Ничего не найдено" }) : /* @__PURE__ */ jsx("ul", { className: styles$h["f-select-search-db__dropdown_content"], children: arrObject.slice(0, 10).map((opt, index) => /* @__PURE__ */ jsx("li", { onMouseDown: () => handleItemClick(opt), children: selectItem(opt) }, index)) })
2250
2291
  }
2251
2292
  ),
2252
2293
  dropdownPortalRef.current
@@ -2255,7 +2296,7 @@ const FSelectSearchDb = ({
2255
2296
  }
2256
2297
  );
2257
2298
  };
2258
- const styles$f = {
2299
+ const styles$g = {
2259
2300
  "f-text-area": "_f-text-area_1ywhr_1"
2260
2301
  };
2261
2302
  const FTextArea = forwardRef(
@@ -2284,7 +2325,7 @@ const FTextArea = forwardRef(
2284
2325
  return /* @__PURE__ */ jsxs(
2285
2326
  "div",
2286
2327
  {
2287
- className: `f-form-element ${styles$f["f-text-area"]} ${className || ""}`,
2328
+ className: `f-form-element ${styles$g["f-text-area"]} ${className || ""}`,
2288
2329
  style: mergedStyle,
2289
2330
  role: "group",
2290
2331
  id: areaId + "-text-area-block",
@@ -2656,13 +2697,13 @@ const FNative = ({
2656
2697
  };
2657
2698
  const horizontal = "_horizontal_zlvc7_1";
2658
2699
  const vertical = "_vertical_zlvc7_7";
2659
- const active$1 = "_active_zlvc7_50";
2660
- const styles$e = {
2700
+ const active$2 = "_active_zlvc7_50";
2701
+ const styles$f = {
2661
2702
  "f-tabs": "_f-tabs_zlvc7_1",
2662
2703
  horizontal,
2663
2704
  vertical,
2664
2705
  "f-tabs__tab": "_f-tabs__tab_zlvc7_16",
2665
- active: active$1
2706
+ active: active$2
2666
2707
  };
2667
2708
  const FTabs = ({
2668
2709
  children,
@@ -2676,7 +2717,7 @@ const FTabs = ({
2676
2717
  {
2677
2718
  id,
2678
2719
  style: st,
2679
- className: `${styles$e["f-tabs"]} ${styles$e[orientation]} ${className || ""}`,
2720
+ className: `${styles$f["f-tabs"]} ${styles$f[orientation]} ${className || ""}`,
2680
2721
  children
2681
2722
  }
2682
2723
  );
@@ -2693,20 +2734,20 @@ const FTab = forwardRef(({
2693
2734
  ref,
2694
2735
  type: "button",
2695
2736
  style: st,
2696
- className: `${styles$e["f-tabs__tab"]} ${active2 ? styles$e["active"] : ""} ${props.className || ""}`,
2737
+ className: `${styles$f["f-tabs__tab"]} ${active2 ? styles$f["active"] : ""} ${props.className || ""}`,
2697
2738
  ...props,
2698
2739
  children
2699
2740
  }
2700
2741
  );
2701
2742
  });
2702
2743
  FTab.displayName = "FTab";
2703
- const disabled$1 = "_disabled_2ty2i_40";
2704
- const styles$d = {
2744
+ const disabled$2 = "_disabled_2ty2i_40";
2745
+ const styles$e = {
2705
2746
  "f-dropdown": "_f-dropdown_2ty2i_1",
2706
2747
  "f-dropdown__arrow": "_f-dropdown__arrow_2ty2i_6",
2707
2748
  "f-dropdown__content": "_f-dropdown__content_2ty2i_10",
2708
2749
  "f-dropdown__content-link": "_f-dropdown__content-link_2ty2i_28",
2709
- disabled: disabled$1,
2750
+ disabled: disabled$2,
2710
2751
  "f-dropdown__content--open": "_f-dropdown__content--open_2ty2i_48"
2711
2752
  };
2712
2753
  const FDropdown = forwardRef(({
@@ -2751,7 +2792,7 @@ const FDropdown = forwardRef(({
2751
2792
  return child;
2752
2793
  });
2753
2794
  };
2754
- return /* @__PURE__ */ jsxs("div", { className: styles$d["f-dropdown"], ref, ...props, children: [
2795
+ return /* @__PURE__ */ jsxs("div", { className: styles$e["f-dropdown"], ref, ...props, children: [
2755
2796
  /* @__PURE__ */ jsx(
2756
2797
  FButton,
2757
2798
  {
@@ -2760,21 +2801,21 @@ const FDropdown = forwardRef(({
2760
2801
  size,
2761
2802
  disabled: disabled2,
2762
2803
  st,
2763
- className: `${styles$d["f-dropdown__button"]} ${className || ""}`,
2804
+ className: `${styles$e["f-dropdown__button"]} ${className || ""}`,
2764
2805
  id,
2765
2806
  onClick: () => setIsOpen((v) => !v),
2766
2807
  "aria-haspopup": "menu",
2767
2808
  "aria-expanded": isOpen,
2768
2809
  children: /* @__PURE__ */ jsxs(FStack, { direction: "row", spacing: 2, justifyContent: "center", alignItems: "center", children: [
2769
2810
  label,
2770
- /* @__PURE__ */ jsx(FArrowIcon, { className: styles$d["f-dropdown__arrow"], size: 16, color: "light", direction: isOpen ? "up" : "down" })
2811
+ /* @__PURE__ */ jsx(FArrowIcon, { className: styles$e["f-dropdown__arrow"], size: 16, color: "light", direction: isOpen ? "up" : "down" })
2771
2812
  ] })
2772
2813
  }
2773
2814
  ),
2774
2815
  /* @__PURE__ */ jsx(
2775
2816
  "div",
2776
2817
  {
2777
- className: styles$d["f-dropdown__content"] + (isOpen ? " " + styles$d["f-dropdown__content--open"] : ""),
2818
+ className: styles$e["f-dropdown__content"] + (isOpen ? " " + styles$e["f-dropdown__content--open"] : ""),
2778
2819
  role: "menu",
2779
2820
  children: renderChildren()
2780
2821
  }
@@ -2795,7 +2836,7 @@ const FDropdownItem = ({
2795
2836
  {
2796
2837
  id,
2797
2838
  style: st,
2798
- className: `${styles$d["f-dropdown__content-link"]} ${className || ""} ${disabled2 ? styles$d["disabled"] : ""}`,
2839
+ className: `${styles$e["f-dropdown__content-link"]} ${className || ""} ${disabled2 ? styles$e["disabled"] : ""}`,
2799
2840
  onClick: disabled2 ? void 0 : onClick,
2800
2841
  "aria-disabled": disabled2,
2801
2842
  role: "menuitem",
@@ -2803,7 +2844,7 @@ const FDropdownItem = ({
2803
2844
  }
2804
2845
  );
2805
2846
  };
2806
- const styles$c = {
2847
+ const styles$d = {
2807
2848
  "f-search-box": "_f-search-box_1ce2j_1",
2808
2849
  "f-search-box__input": "_f-search-box__input_1ce2j_7",
2809
2850
  "f-search-box__button": "_f-search-box__button_1ce2j_13",
@@ -2829,7 +2870,7 @@ const FSearchBox = forwardRef(
2829
2870
  type,
2830
2871
  ...props
2831
2872
  }, ref) => {
2832
- return /* @__PURE__ */ jsxs("div", { className: `${styles$c["f-search-box"]} form-group`, style: st, children: [
2873
+ return /* @__PURE__ */ jsxs("div", { className: `${styles$d["f-search-box"]} form-group`, style: st, children: [
2833
2874
  /* @__PURE__ */ jsx(
2834
2875
  FTextField,
2835
2876
  {
@@ -2843,14 +2884,14 @@ const FSearchBox = forwardRef(
2843
2884
  errText: typeof errText === "string" ? [errText] : errText,
2844
2885
  load,
2845
2886
  ...props,
2846
- className: `${styles$c["f-search-box__input"]} ${props.className || ""}`
2887
+ className: `${styles$d["f-search-box__input"]} ${props.className || ""}`
2847
2888
  }
2848
2889
  ),
2849
- /* @__PURE__ */ jsxs("div", { className: styles$c["f-search-box__button"], style: { marginTop: label ? "21.8px" : "0" }, children: [
2890
+ /* @__PURE__ */ jsxs("div", { className: styles$d["f-search-box__button"], style: { marginTop: label ? "21.8px" : "0" }, children: [
2850
2891
  /* @__PURE__ */ jsx(
2851
2892
  FButton,
2852
2893
  {
2853
- className: `${styles$c["f-search-box__button_search"]} ${clearDataFromInput ? styles$c["clear-on"] : ""}`,
2894
+ className: `${styles$d["f-search-box__button_search"]} ${clearDataFromInput ? styles$d["clear-on"] : ""}`,
2854
2895
  type: "button",
2855
2896
  disabled: disabled2,
2856
2897
  onClick: onClickButton,
@@ -2862,7 +2903,7 @@ const FSearchBox = forwardRef(
2862
2903
  clearDataFromInput && /* @__PURE__ */ jsx(
2863
2904
  FButton,
2864
2905
  {
2865
- className: `${styles$c["f-search-box__button_clear"]}`,
2906
+ className: `${styles$d["f-search-box__button_clear"]}`,
2866
2907
  type: "button",
2867
2908
  disabled: disabled2,
2868
2909
  onClick: clearDataFromInput,
@@ -2875,7 +2916,7 @@ const FSearchBox = forwardRef(
2875
2916
  ] });
2876
2917
  }
2877
2918
  );
2878
- const styles$b = {
2919
+ const styles$c = {
2879
2920
  "f-carousel": "_f-carousel_d5w12_1",
2880
2921
  "f-carousel__viewport": "_f-carousel__viewport_d5w12_8",
2881
2922
  "f-carousel__track": "_f-carousel__track_d5w12_12",
@@ -2958,10 +2999,10 @@ const FCarousel = ({
2958
2999
  const handleTouchEnd = () => {
2959
3000
  startX.current = null;
2960
3001
  };
2961
- const rootClass = [styles$b["f-carousel"], className].filter(Boolean).join(" ");
3002
+ const rootClass = [styles$c["f-carousel"], className].filter(Boolean).join(" ");
2962
3003
  const trackClass = [
2963
- styles$b["f-carousel__track"],
2964
- isAnimating ? styles$b["f-carousel__track--animating"] : ""
3004
+ styles$c["f-carousel__track"],
3005
+ isAnimating ? styles$c["f-carousel__track--animating"] : ""
2965
3006
  ].filter(Boolean).join(" ");
2966
3007
  const trackStyle = {
2967
3008
  transform: `translateX(-${100 / itemsCount * current}%)`,
@@ -2972,7 +3013,7 @@ const FCarousel = ({
2972
3013
  showArrows && /* @__PURE__ */ jsx(
2973
3014
  "button",
2974
3015
  {
2975
- className: `${styles$b["f-carousel__arrow"]} ${styles$b["f-carousel__arrow--left"]}`,
3016
+ className: `${styles$c["f-carousel__arrow"]} ${styles$c["f-carousel__arrow--left"]}`,
2976
3017
  onClick: handlePrev,
2977
3018
  disabled: !loop && current === 0,
2978
3019
  "aria-label": "Назад",
@@ -2982,14 +3023,14 @@ const FCarousel = ({
2982
3023
  /* @__PURE__ */ jsx(
2983
3024
  "div",
2984
3025
  {
2985
- className: styles$b["f-carousel__viewport"],
3026
+ className: styles$c["f-carousel__viewport"],
2986
3027
  onTouchStart: handleTouchStart,
2987
3028
  onTouchMove: handleTouchMove,
2988
3029
  onTouchEnd: handleTouchEnd,
2989
3030
  children: /* @__PURE__ */ jsx("div", { ref: trackRef, className: trackClass, style: trackStyle, children: children.map((child, idx) => /* @__PURE__ */ jsx(
2990
3031
  "div",
2991
3032
  {
2992
- className: styles$b["f-carousel__item"],
3033
+ className: styles$c["f-carousel__item"],
2993
3034
  style: { width: `${100 / itemsCount}%` },
2994
3035
  children: child
2995
3036
  },
@@ -3000,19 +3041,19 @@ const FCarousel = ({
3000
3041
  showArrows && /* @__PURE__ */ jsx(
3001
3042
  "button",
3002
3043
  {
3003
- className: `${styles$b["f-carousel__arrow"]} ${styles$b["f-carousel__arrow--right"]}`,
3044
+ className: `${styles$c["f-carousel__arrow"]} ${styles$c["f-carousel__arrow--right"]}`,
3004
3045
  onClick: handleNext,
3005
3046
  disabled: !loop && current >= itemsCount - visibleCount,
3006
3047
  "aria-label": "Вперёд",
3007
3048
  children: /* @__PURE__ */ jsx("img", { src: arrowRight, alt: "Следующий слайд" })
3008
3049
  }
3009
3050
  ),
3010
- /* @__PURE__ */ jsx("div", { className: styles$b["f-carousel__indicators"], children: Array.from({ length: itemsCount - visibleCount + 1 }).map((_, idx) => /* @__PURE__ */ jsx(
3051
+ /* @__PURE__ */ jsx("div", { className: styles$c["f-carousel__indicators"], children: Array.from({ length: itemsCount - visibleCount + 1 }).map((_, idx) => /* @__PURE__ */ jsx(
3011
3052
  "button",
3012
3053
  {
3013
3054
  className: [
3014
- styles$b["f-carousel__indicator"],
3015
- idx === current ? styles$b["f-carousel__indicator--active"] : ""
3055
+ styles$c["f-carousel__indicator"],
3056
+ idx === current ? styles$c["f-carousel__indicator--active"] : ""
3016
3057
  ].join(" "),
3017
3058
  onClick: () => setCurrent(idx),
3018
3059
  "aria-label": `Перейти к слайду ${idx + 1}`
@@ -3026,10 +3067,10 @@ const FCarouselItem = ({
3026
3067
  className,
3027
3068
  id
3028
3069
  }) => {
3029
- return /* @__PURE__ */ jsx("div", { className: `${styles$b["f-carousel-item"]} ${className || ""}`, id, children });
3070
+ return /* @__PURE__ */ jsx("div", { className: `${styles$c["f-carousel-item"]} ${className || ""}`, id, children });
3030
3071
  };
3031
3072
  const skeleton = "_skeleton_1ojrt_1";
3032
- const styles$a = {
3073
+ const styles$b = {
3033
3074
  "skeleton-block": "_skeleton-block_1ojrt_1",
3034
3075
  skeleton
3035
3076
  };
@@ -3039,7 +3080,7 @@ const FSkeleton = ({ children, enable, width, height }) => {
3039
3080
  const skeletons = useRef([]);
3040
3081
  const createSkeleton = (element) => {
3041
3082
  const skeleton2 = document.createElement("div");
3042
- skeleton2.className = styles$a.skeleton;
3083
+ skeleton2.className = styles$b.skeleton;
3043
3084
  const computedStyle = window.getComputedStyle(element);
3044
3085
  skeleton2.style.width = width ?? computedStyle.width;
3045
3086
  skeleton2.style.height = height ?? computedStyle.height;
@@ -3086,16 +3127,16 @@ const FSkeleton = ({ children, enable, width, height }) => {
3086
3127
  restoreOriginalElements();
3087
3128
  };
3088
3129
  }, [enable]);
3089
- return /* @__PURE__ */ jsx("div", { ref: elementRef, className: styles$a["skeleton-block"], children });
3130
+ return /* @__PURE__ */ jsx("div", { ref: elementRef, className: styles$b["skeleton-block"], children });
3090
3131
  };
3091
- const active = "_active_lv3xi_122";
3092
- const styles$9 = {
3132
+ const active$1 = "_active_lv3xi_122";
3133
+ const styles$a = {
3093
3134
  "wave-nav-wrapper": "_wave-nav-wrapper_lv3xi_5",
3094
3135
  "wave-nav-grid-item": "_wave-nav-grid-item_lv3xi_17",
3095
3136
  "wave-nav-bar": "_wave-nav-bar_lv3xi_27",
3096
3137
  "wave-nav-list": "_wave-nav-list_lv3xi_48",
3097
3138
  "wave-nav-item": "_wave-nav-item_lv3xi_75",
3098
- active
3139
+ active: active$1
3099
3140
  };
3100
3141
  const FNavigateBar = ({
3101
3142
  st,
@@ -3103,7 +3144,7 @@ const FNavigateBar = ({
3103
3144
  id,
3104
3145
  className
3105
3146
  }) => {
3106
- return /* @__PURE__ */ jsx(FGrid, { obj: "container", id, className: `${styles$9["wave-nav-wrapper"]} ${className || ""}`, children: /* @__PURE__ */ jsx(FGridRow, { children: /* @__PURE__ */ jsx(FGrid, { obj: "item", sm: 12, className: styles$9["wave-nav-grid-item"], children: /* @__PURE__ */ jsx("nav", { style: st, className: styles$9["wave-nav-bar"], children: /* @__PURE__ */ jsx("ul", { className: styles$9["wave-nav-list"], children }) }) }) }) });
3147
+ return /* @__PURE__ */ jsx(FGrid, { obj: "container", id, className: `${styles$a["wave-nav-wrapper"]} ${className || ""}`, children: /* @__PURE__ */ jsx(FGridRow, { children: /* @__PURE__ */ jsx(FGrid, { obj: "item", sm: 12, className: styles$a["wave-nav-grid-item"], children: /* @__PURE__ */ jsx("nav", { style: st, className: styles$a["wave-nav-bar"], children: /* @__PURE__ */ jsx("ul", { className: styles$a["wave-nav-list"], children }) }) }) }) });
3107
3148
  };
3108
3149
  const FNavigateBarItem = ({
3109
3150
  st,
@@ -3119,7 +3160,7 @@ const FNavigateBarItem = ({
3119
3160
  {
3120
3161
  id,
3121
3162
  style: st || style,
3122
- className: `${styles$9["wave-nav-item"]} ${activeClass ? styles$9.active : ""} ${className || ""}`,
3163
+ className: `${styles$a["wave-nav-item"]} ${activeClass ? styles$a.active : ""} ${className || ""}`,
3123
3164
  ...rest,
3124
3165
  children
3125
3166
  }
@@ -3134,8 +3175,8 @@ const countBadge = "_countBadge_14i30_114";
3134
3175
  const linksList = "_linksList_14i30_124";
3135
3176
  const linkItem = "_linkItem_14i30_131";
3136
3177
  const badge = "_badge_14i30_172";
3137
- const disabled = "_disabled_14i30_197";
3138
- const styles$8 = {
3178
+ const disabled$1 = "_disabled_14i30_197";
3179
+ const styles$9 = {
3139
3180
  reportsPageContainer,
3140
3181
  searchBar,
3141
3182
  reportsGrid,
@@ -3145,7 +3186,7 @@ const styles$8 = {
3145
3186
  linksList,
3146
3187
  linkItem,
3147
3188
  badge,
3148
- disabled
3189
+ disabled: disabled$1
3149
3190
  };
3150
3191
  const MenuSearchContext = createContext("");
3151
3192
  const FMenuBlockLinks = ({
@@ -3161,8 +3202,8 @@ const FMenuBlockLinks = ({
3161
3202
  ...columns ? { "--cols": columns } : {},
3162
3203
  ...st
3163
3204
  };
3164
- return /* @__PURE__ */ jsxs("div", { className: `${styles$8.reportsPageContainer} ${className ?? ""}`.trim(), id, children: [
3165
- withSearch && /* @__PURE__ */ jsx("div", { className: styles$8.searchBar, children: /* @__PURE__ */ jsx(
3205
+ return /* @__PURE__ */ jsxs("div", { className: `${styles$9.reportsPageContainer} ${className ?? ""}`.trim(), id, children: [
3206
+ withSearch && /* @__PURE__ */ jsx("div", { className: styles$9.searchBar, children: /* @__PURE__ */ jsx(
3166
3207
  "input",
3167
3208
  {
3168
3209
  type: "text",
@@ -3171,7 +3212,7 @@ const FMenuBlockLinks = ({
3171
3212
  onChange: (e) => setSearchValue(e.target.value)
3172
3213
  }
3173
3214
  ) }),
3174
- /* @__PURE__ */ jsx(MenuSearchContext.Provider, { value: searchValue, children: /* @__PURE__ */ jsx("div", { className: styles$8.reportsGrid, style: layoutStyle, children }) })
3215
+ /* @__PURE__ */ jsx(MenuSearchContext.Provider, { value: searchValue, children: /* @__PURE__ */ jsx("div", { className: styles$9.reportsGrid, style: layoutStyle, children }) })
3175
3216
  ] });
3176
3217
  };
3177
3218
  const getElementText = (node) => {
@@ -3207,11 +3248,11 @@ const FMenuLinks = ({
3207
3248
  const badgeText = badges[originalIndex] || child.props["data-badge"];
3208
3249
  const childClass = [
3209
3250
  child.props.className,
3210
- styles$8.linkItem,
3211
- isDisabled ? styles$8.disabled : ""
3251
+ styles$9.linkItem,
3252
+ isDisabled ? styles$9.disabled : ""
3212
3253
  ].filter(Boolean).join(" ");
3213
3254
  const innerContent = badgeText ? /* @__PURE__ */ jsxs(Fragment, { children: [
3214
- /* @__PURE__ */ jsx("span", { className: styles$8.badge, children: badgeText }),
3255
+ /* @__PURE__ */ jsx("span", { className: styles$9.badge, children: badgeText }),
3215
3256
  child.props.children
3216
3257
  ] }) : child.props.children;
3217
3258
  return React.cloneElement(child, {
@@ -3224,15 +3265,15 @@ const FMenuLinks = ({
3224
3265
  }
3225
3266
  });
3226
3267
  });
3227
- return /* @__PURE__ */ jsxs("div", { className: `${styles$8.card} ${className ?? ""}`.trim(), style: st, id, children: [
3228
- title2 && /* @__PURE__ */ jsxs("div", { className: styles$8.cardHeader, children: [
3268
+ return /* @__PURE__ */ jsxs("div", { className: `${styles$9.card} ${className ?? ""}`.trim(), style: st, id, children: [
3269
+ title2 && /* @__PURE__ */ jsxs("div", { className: styles$9.cardHeader, children: [
3229
3270
  /* @__PURE__ */ jsx("h3", { children: title2 }),
3230
- /* @__PURE__ */ jsx("span", { className: styles$8.countBadge, children: filteredChildren.length })
3271
+ /* @__PURE__ */ jsx("span", { className: styles$9.countBadge, children: filteredChildren.length })
3231
3272
  ] }),
3232
- /* @__PURE__ */ jsx("div", { className: styles$8.linksList, children: enhancedChildren })
3273
+ /* @__PURE__ */ jsx("div", { className: styles$9.linksList, children: enhancedChildren })
3233
3274
  ] });
3234
3275
  };
3235
- const styles$7 = {
3276
+ const styles$8 = {
3236
3277
  "f-tooltip": "_f-tooltip_xpnbo_1",
3237
3278
  "f-tooltip--open": "_f-tooltip--open_xpnbo_17",
3238
3279
  "f-tooltip--exiting": "_f-tooltip--exiting_xpnbo_22",
@@ -3421,11 +3462,11 @@ const FTooltip = ({
3421
3462
  wrappedChild = cloneElement(children, childProps);
3422
3463
  }
3423
3464
  const tooltipClasses = [
3424
- styles$7["f-tooltip"],
3425
- styles$7[`f-tooltip--${placement}`],
3426
- arrow2 ? styles$7["f-tooltip--with-arrow"] : "",
3427
- isVisible ? styles$7["f-tooltip--open"] : "",
3428
- isExiting ? styles$7["f-tooltip--exiting"] : "",
3465
+ styles$8["f-tooltip"],
3466
+ styles$8[`f-tooltip--${placement}`],
3467
+ arrow2 ? styles$8["f-tooltip--with-arrow"] : "",
3468
+ isVisible ? styles$8["f-tooltip--open"] : "",
3469
+ isExiting ? styles$8["f-tooltip--exiting"] : "",
3429
3470
  className
3430
3471
  ].filter(Boolean).join(" ");
3431
3472
  const tooltipElement = mountTooltip && title2 ? /* @__PURE__ */ jsxs(
@@ -3436,8 +3477,8 @@ const FTooltip = ({
3436
3477
  style: { ...style, ...tooltipStyles },
3437
3478
  role: "tooltip",
3438
3479
  children: [
3439
- arrow2 && /* @__PURE__ */ jsx("div", { className: styles$7["f-tooltip__arrow"] }),
3440
- /* @__PURE__ */ jsx("div", { className: styles$7["f-tooltip__content"], children: title2 })
3480
+ arrow2 && /* @__PURE__ */ jsx("div", { className: styles$8["f-tooltip__arrow"] }),
3481
+ /* @__PURE__ */ jsx("div", { className: styles$8["f-tooltip__content"], children: title2 })
3441
3482
  ]
3442
3483
  }
3443
3484
  ) : null;
@@ -3449,7 +3490,7 @@ const FTooltip = ({
3449
3490
  const rotate = "_rotate_1kvw2_38";
3450
3491
  const focused = "_focused_1kvw2_87";
3451
3492
  const selected = "_selected_1kvw2_90";
3452
- const styles$6 = {
3493
+ const styles$7 = {
3453
3494
  "f-search-select": "_f-search-select_1kvw2_3",
3454
3495
  "f-select-native-hidden": "_f-select-native-hidden_1kvw2_9",
3455
3496
  "f-select-actions": "_f-select-actions_1kvw2_20",
@@ -3480,7 +3521,7 @@ const HighlightedText = ({ text, highlight }) => {
3480
3521
  const regex = new RegExp(`(${escapeRegExp(highlight)})`, "gi");
3481
3522
  const parts = text.split(regex);
3482
3523
  return /* @__PURE__ */ jsx("span", { children: parts.map(
3483
- (part, i) => regex.test(part) ? /* @__PURE__ */ jsx("span", { className: styles$6["f-select-highlight"], children: part }, i) : /* @__PURE__ */ jsx("span", { children: part }, i)
3524
+ (part, i) => regex.test(part) ? /* @__PURE__ */ jsx("span", { className: styles$7["f-select-highlight"], children: part }, i) : /* @__PURE__ */ jsx("span", { children: part }, i)
3484
3525
  ) });
3485
3526
  };
3486
3527
  const FSearchableSelect = forwardRef(
@@ -3693,7 +3734,7 @@ const FSearchableSelect = forwardRef(
3693
3734
  return /* @__PURE__ */ jsxs(
3694
3735
  "div",
3695
3736
  {
3696
- className: `f-form-element ${styles$6["f-search-select"]} ${restProps.className || ""}`,
3737
+ className: `f-form-element ${styles$7["f-search-select"]} ${restProps.className || ""}`,
3697
3738
  style: mergedStyle,
3698
3739
  ref: containerRef,
3699
3740
  id: inputId + "-block",
@@ -3715,7 +3756,7 @@ const FSearchableSelect = forwardRef(
3715
3756
  value: restProps.value !== void 0 ? String(restProps.value) : "",
3716
3757
  onChange: () => {
3717
3758
  },
3718
- className: styles$6["f-select-native-hidden"],
3759
+ className: styles$7["f-select-native-hidden"],
3719
3760
  tabIndex: -1,
3720
3761
  disabled: disabled2,
3721
3762
  "aria-hidden": "true"
@@ -3729,7 +3770,7 @@ const FSearchableSelect = forwardRef(
3729
3770
  id: inputId,
3730
3771
  type: "text",
3731
3772
  autoComplete: "off",
3732
- className: `f-form-element__control-element ${styles$6["has-icons"]} ${errText ? "error" : ""}`,
3773
+ className: `f-form-element__control-element ${styles$7["has-icons"]} ${errText ? "error" : ""}`,
3733
3774
  ...restProps,
3734
3775
  disabled: disabled2 || load,
3735
3776
  value: searchQuery,
@@ -3751,41 +3792,41 @@ const FSearchableSelect = forwardRef(
3751
3792
  }
3752
3793
  }
3753
3794
  ),
3754
- load ? /* @__PURE__ */ jsx("span", { className: "f-form-element__loader", children: /* @__PURE__ */ jsx(FLoadIcon, { size: 10 }) }) : /* @__PURE__ */ jsxs("div", { className: styles$6["f-select-actions"], children: [
3795
+ load ? /* @__PURE__ */ jsx("span", { className: "f-form-element__loader", children: /* @__PURE__ */ jsx(FLoadIcon, { size: 10 }) }) : /* @__PURE__ */ jsxs("div", { className: styles$7["f-select-actions"], children: [
3755
3796
  hasValue && !disabled2 && /* @__PURE__ */ jsx(
3756
3797
  "div",
3757
3798
  {
3758
3799
  onClick: handleClear,
3759
- className: `${styles$6["f-select-icon"]} close`,
3800
+ className: `${styles$7["f-select-icon"]} close`,
3760
3801
  title: "Очистить",
3761
3802
  onMouseDown: (e) => e.preventDefault(),
3762
3803
  children: /* @__PURE__ */ jsx(CloseIcon, {})
3763
3804
  }
3764
3805
  ),
3765
- /* @__PURE__ */ jsx("div", { className: `${styles$6["f-select-icon"]} ${isOpen ? styles$6["rotate"] : ""}`, children: /* @__PURE__ */ jsx(ChevronIcon, {}) })
3806
+ /* @__PURE__ */ jsx("div", { className: `${styles$7["f-select-icon"]} ${isOpen ? styles$7["rotate"] : ""}`, children: /* @__PURE__ */ jsx(ChevronIcon, {}) })
3766
3807
  ] })
3767
3808
  ] }),
3768
3809
  isOpen && !disabled2 && !load && typeof document !== "undefined" && createPortal(
3769
3810
  /* @__PURE__ */ jsx(
3770
3811
  "div",
3771
3812
  {
3772
- className: styles$6["f-select-dropdown"],
3813
+ className: styles$7["f-select-dropdown"],
3773
3814
  style: dropdownStyle,
3774
3815
  ref: dropdownRef,
3775
3816
  children: /* @__PURE__ */ jsx(
3776
3817
  "ul",
3777
3818
  {
3778
3819
  ref: listRef,
3779
- className: styles$6["f-select-list"],
3820
+ className: styles$7["f-select-list"],
3780
3821
  style: { maxHeight: `${listMaxHeight}px` },
3781
- children: isTyping ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: "Ожидается окончание ввода..." }) : renderList.length === 0 ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: allowCreate ? "Нет данных" : "Совпадений не найдено" }) : renderList.map((option, index) => /* @__PURE__ */ jsx(
3822
+ children: isTyping ? /* @__PURE__ */ jsx("li", { className: styles$7["f-select-no-results"], children: "Ожидается окончание ввода..." }) : renderList.length === 0 ? /* @__PURE__ */ jsx("li", { className: styles$7["f-select-no-results"], children: allowCreate ? "Нет данных" : "Совпадений не найдено" }) : renderList.map((option, index) => /* @__PURE__ */ jsx(
3782
3823
  "li",
3783
3824
  {
3784
3825
  className: `
3785
- ${styles$6["f-select-option"]}
3786
- ${option.isNew ? styles$6["f-select-create"] : ""}
3787
- ${index === highlightedIndex ? styles$6["focused"] : ""}
3788
- ${currentValStr === option.value ? styles$6["selected"] : ""}
3826
+ ${styles$7["f-select-option"]}
3827
+ ${option.isNew ? styles$7["f-select-create"] : ""}
3828
+ ${index === highlightedIndex ? styles$7["focused"] : ""}
3829
+ ${currentValStr === option.value ? styles$7["selected"] : ""}
3789
3830
  `,
3790
3831
  onMouseDown: (e) => e.preventDefault(),
3791
3832
  onClick: (e) => {
@@ -3850,6 +3891,94 @@ const FSearchableSelect = forwardRef(
3850
3891
  }
3851
3892
  );
3852
3893
  FSearchableSelect.displayName = "FSearchableSelect";
3894
+ const active = "_active_1btub_75";
3895
+ const disabled = "_disabled_1btub_75";
3896
+ const styles$6 = {
3897
+ "f-segmented-wrapper": "_f-segmented-wrapper_1btub_2",
3898
+ "f-segmented-control": "_f-segmented-control_1btub_12",
3899
+ "f-segmented-sm": "_f-segmented-sm_1btub_28",
3900
+ "f-segmented-item": "_f-segmented-item_1btub_28",
3901
+ "f-segmented-md": "_f-segmented-md_1btub_32",
3902
+ "f-segmented-lg": "_f-segmented-lg_1btub_36",
3903
+ "f-segmented-glider": "_f-segmented-glider_1btub_42",
3904
+ active,
3905
+ disabled,
3906
+ "f-segmented-badge": "_f-segmented-badge_1btub_82",
3907
+ "f-segmented-icon": "_f-segmented-icon_1btub_92",
3908
+ "f-segmented-label": "_f-segmented-label_1btub_105"
3909
+ };
3910
+ const FSegmentedControl = ({
3911
+ items,
3912
+ activeId,
3913
+ onChange,
3914
+ size = "md",
3915
+ className = "",
3916
+ style
3917
+ }) => {
3918
+ const itemRefs = useRef([]);
3919
+ const [gliderStyle, setGliderStyle] = useState({
3920
+ width: 0,
3921
+ left: 0
3922
+ });
3923
+ useEffect(() => {
3924
+ const activeIndex = items.findIndex((item) => item.id === activeId);
3925
+ const activeElement = itemRefs.current[activeIndex !== -1 ? activeIndex : 0];
3926
+ if (activeElement) {
3927
+ setGliderStyle({
3928
+ width: activeElement.offsetWidth,
3929
+ left: activeElement.offsetLeft
3930
+ });
3931
+ }
3932
+ }, [activeId, items]);
3933
+ const handleItemClick = (e, item) => {
3934
+ if (item.disabled) return;
3935
+ if (item.onClick) {
3936
+ item.onClick(e, item);
3937
+ }
3938
+ if (!e.defaultPrevented) {
3939
+ onChange(item.id);
3940
+ }
3941
+ };
3942
+ return /* @__PURE__ */ jsx("div", { className: `${styles$6["f-segmented-wrapper"]} ${className}`, style, children: /* @__PURE__ */ jsxs("div", { className: `${styles$6["f-segmented-control"]} ${styles$6[`f-segmented-${size}`]}`, children: [
3943
+ /* @__PURE__ */ jsx(
3944
+ "div",
3945
+ {
3946
+ className: styles$6["f-segmented-glider"],
3947
+ style: {
3948
+ width: `${gliderStyle.width}px`,
3949
+ transform: `translateX(${gliderStyle.left}px)`,
3950
+ left: 0
3951
+ }
3952
+ }
3953
+ ),
3954
+ items.map((item, index) => {
3955
+ const isActive = item.id === activeId;
3956
+ return /* @__PURE__ */ jsxs(
3957
+ "button",
3958
+ {
3959
+ ref: (el) => {
3960
+ itemRefs.current[index] = el;
3961
+ },
3962
+ type: "button",
3963
+ disabled: item.disabled,
3964
+ className: `
3965
+ ${styles$6["f-segmented-item"]}
3966
+ ${isActive ? styles$6["active"] : ""}
3967
+ ${item.disabled ? styles$6["disabled"] : ""}
3968
+ `,
3969
+ onClick: (e) => handleItemClick(e, item),
3970
+ children: [
3971
+ item.icon && /* @__PURE__ */ jsx("span", { className: styles$6["f-segmented-icon"], children: item.icon }),
3972
+ /* @__PURE__ */ jsx("span", { className: styles$6["f-segmented-label"], children: item.label }),
3973
+ item.badge !== void 0 && /* @__PURE__ */ jsx("span", { className: styles$6["f-segmented-badge"], children: item.badge })
3974
+ ]
3975
+ },
3976
+ String(item.id)
3977
+ );
3978
+ })
3979
+ ] }) });
3980
+ };
3981
+ FSegmentedControl.displayName = "FSegmentedControl";
3853
3982
  const FPlusIcon = React.forwardRef(({
3854
3983
  color = "primary",
3855
3984
  size = 30,
@@ -8512,6 +8641,7 @@ export {
8512
8641
  FSafeIcon,
8513
8642
  FSearchBox,
8514
8643
  FSearchableSelect,
8644
+ FSegmentedControl,
8515
8645
  FSelect,
8516
8646
  FSelectItem,
8517
8647
  FSelectSearchDb,