fui-material 2.3.4 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/f-ui-kit.es.js +320 -223
- package/dist/f-ui-kit.es.js.map +1 -1
- package/dist/main.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/pages/error-boundary/Page.d.ts +3 -0
- package/dist/types/pages/error-boundary/index.d.ts +1 -0
- package/dist/types/pages/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/f-ui-kit.es.js
CHANGED
|
@@ -1049,7 +1049,7 @@ FTrashIcon.displayName = "FTrashIcon";
|
|
|
1049
1049
|
const progressBar = "_progressBar_1xp9s_48";
|
|
1050
1050
|
const completed = "_completed_1xp9s_60";
|
|
1051
1051
|
const progress = "_progress_1xp9s_48";
|
|
1052
|
-
const styles$
|
|
1052
|
+
const styles$x = {
|
|
1053
1053
|
"file-preview-card": "_file-preview-card_1xp9s_1",
|
|
1054
1054
|
"file-preview-info": "_file-preview-info_1xp9s_22",
|
|
1055
1055
|
"file-preview-name": "_file-preview-name_1xp9s_28",
|
|
@@ -1071,18 +1071,18 @@ const FFile = ({
|
|
|
1071
1071
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
1072
1072
|
"div",
|
|
1073
1073
|
{
|
|
1074
|
-
className: `${styles$
|
|
1074
|
+
className: `${styles$x["file-preview-card"]} ${className || ""}`,
|
|
1075
1075
|
id,
|
|
1076
1076
|
style: st,
|
|
1077
1077
|
children: [
|
|
1078
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
1079
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
1080
|
-
typeof size === "number" && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$
|
|
1078
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$x["file-preview-info"], children: [
|
|
1079
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$x["file-preview-name"], title: name, children: name }),
|
|
1080
|
+
typeof size === "number" && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$x["file-preview-size"], children: [
|
|
1081
1081
|
Math.round(size / 1024),
|
|
1082
1082
|
" КБ"
|
|
1083
1083
|
] })
|
|
1084
1084
|
] }),
|
|
1085
|
-
handleDelete && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
1085
|
+
handleDelete && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$x["trash-icon"], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1086
1086
|
FTrashIcon,
|
|
1087
1087
|
{
|
|
1088
1088
|
size: 20,
|
|
@@ -1090,10 +1090,10 @@ const FFile = ({
|
|
|
1090
1090
|
handleClick: handleDelete
|
|
1091
1091
|
}
|
|
1092
1092
|
) }),
|
|
1093
|
-
typeof progress2 === "number" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$
|
|
1093
|
+
typeof progress2 === "number" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$x.progressBar} ${progress2 === 100 ? styles$x.completed : ""}`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1094
1094
|
"div",
|
|
1095
1095
|
{
|
|
1096
|
-
className: styles$
|
|
1096
|
+
className: styles$x.progress,
|
|
1097
1097
|
style: { width: `${progress2}%` }
|
|
1098
1098
|
}
|
|
1099
1099
|
) })
|
|
@@ -1196,7 +1196,7 @@ const FButtonFile = ({
|
|
|
1196
1196
|
)) }) })
|
|
1197
1197
|
] });
|
|
1198
1198
|
};
|
|
1199
|
-
const styles$
|
|
1199
|
+
const styles$w = {
|
|
1200
1200
|
"f-text-field": "_f-text-field_200bb_1"
|
|
1201
1201
|
};
|
|
1202
1202
|
const FLoadIcon = React.forwardRef(({
|
|
@@ -1275,7 +1275,7 @@ const FTextField = forwardRef(
|
|
|
1275
1275
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
1276
1276
|
"div",
|
|
1277
1277
|
{
|
|
1278
|
-
className: `f-form-element ${styles$
|
|
1278
|
+
className: `f-form-element ${styles$w["f-text-field"]} ${className || ""}`,
|
|
1279
1279
|
style: mergedStyle,
|
|
1280
1280
|
role: "group",
|
|
1281
1281
|
id: inputId + "-text-field-block",
|
|
@@ -1367,7 +1367,7 @@ const FStack = ({
|
|
|
1367
1367
|
}
|
|
1368
1368
|
);
|
|
1369
1369
|
};
|
|
1370
|
-
const styles$
|
|
1370
|
+
const styles$v = {
|
|
1371
1371
|
"f-grid": "_f-grid_3g4xh_1",
|
|
1372
1372
|
"f-grid__col": "_f-grid__col_3g4xh_10",
|
|
1373
1373
|
"f-grid__col--auto": "_f-grid__col--auto_3g4xh_16",
|
|
@@ -1470,21 +1470,21 @@ const FGrid = ({
|
|
|
1470
1470
|
xxl: xxl ?? xl ?? lg ?? md ?? sm ?? xs
|
|
1471
1471
|
};
|
|
1472
1472
|
const getColumnClasses = () => {
|
|
1473
|
-
if (colAuto) return styles$
|
|
1474
|
-
const classes = [styles$
|
|
1475
|
-
if (resolvedSizes.xs !== void 0) classes.push(styles$
|
|
1476
|
-
if (resolvedSizes.sm !== void 0) classes.push(styles$
|
|
1477
|
-
if (resolvedSizes.md !== void 0) classes.push(styles$
|
|
1478
|
-
if (resolvedSizes.lg !== void 0) classes.push(styles$
|
|
1479
|
-
if (resolvedSizes.xl !== void 0) classes.push(styles$
|
|
1480
|
-
if (resolvedSizes.xxl !== void 0) classes.push(styles$
|
|
1473
|
+
if (colAuto) return styles$v["f-grid__col--auto"];
|
|
1474
|
+
const classes = [styles$v["f-grid__col"]];
|
|
1475
|
+
if (resolvedSizes.xs !== void 0) classes.push(styles$v[`f-grid__col--xs-${resolvedSizes.xs}`]);
|
|
1476
|
+
if (resolvedSizes.sm !== void 0) classes.push(styles$v[`f-grid__col--sm-${resolvedSizes.sm}`]);
|
|
1477
|
+
if (resolvedSizes.md !== void 0) classes.push(styles$v[`f-grid__col--md-${resolvedSizes.md}`]);
|
|
1478
|
+
if (resolvedSizes.lg !== void 0) classes.push(styles$v[`f-grid__col--lg-${resolvedSizes.lg}`]);
|
|
1479
|
+
if (resolvedSizes.xl !== void 0) classes.push(styles$v[`f-grid__col--xl-${resolvedSizes.xl}`]);
|
|
1480
|
+
if (resolvedSizes.xxl !== void 0) classes.push(styles$v[`f-grid__col--xxl-${resolvedSizes.xxl}`]);
|
|
1481
1481
|
return classes.join(" ");
|
|
1482
1482
|
};
|
|
1483
1483
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
1484
1484
|
obj === "container" && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1485
1485
|
"div",
|
|
1486
1486
|
{
|
|
1487
|
-
className: `${styles$
|
|
1487
|
+
className: `${styles$v["f-grid"]} ${className || ""}`,
|
|
1488
1488
|
style,
|
|
1489
1489
|
id,
|
|
1490
1490
|
children
|
|
@@ -1502,7 +1502,7 @@ const FGrid = ({
|
|
|
1502
1502
|
obj === void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className, style, id, children })
|
|
1503
1503
|
] });
|
|
1504
1504
|
};
|
|
1505
|
-
const styles$
|
|
1505
|
+
const styles$u = {
|
|
1506
1506
|
"f-grid-row": "_f-grid-row_1crbx_1",
|
|
1507
1507
|
"f-grid-row--justify-start": "_f-grid-row--justify-start_1crbx_7",
|
|
1508
1508
|
"f-grid-row--justify-center": "_f-grid-row--justify-center_1crbx_10",
|
|
@@ -1524,21 +1524,21 @@ const FGridRow = ({
|
|
|
1524
1524
|
}) => {
|
|
1525
1525
|
const getJustifyContentClass = () => {
|
|
1526
1526
|
if (!justifyContent) return "";
|
|
1527
|
-
return styles$
|
|
1527
|
+
return styles$u[`f-grid-row--justify-${justifyContent}`];
|
|
1528
1528
|
};
|
|
1529
1529
|
const getAlignItemsClass = () => {
|
|
1530
1530
|
if (!alignItems) return "";
|
|
1531
|
-
return styles$
|
|
1531
|
+
return styles$u[`f-grid-row--align-${alignItems}`];
|
|
1532
1532
|
};
|
|
1533
1533
|
const rowClasses = [
|
|
1534
|
-
styles$
|
|
1534
|
+
styles$u["f-grid-row"],
|
|
1535
1535
|
getJustifyContentClass(),
|
|
1536
1536
|
getAlignItemsClass(),
|
|
1537
1537
|
className
|
|
1538
1538
|
].filter(Boolean).join(" ");
|
|
1539
1539
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: rowClasses, style: st, id, children });
|
|
1540
1540
|
};
|
|
1541
|
-
const styles$
|
|
1541
|
+
const styles$t = {
|
|
1542
1542
|
"f-container": "_f-container_g9ck3_1",
|
|
1543
1543
|
"container-fluid": "_container-fluid_g9ck3_1",
|
|
1544
1544
|
"container-xxl": "_container-xxl_g9ck3_1",
|
|
@@ -1558,7 +1558,7 @@ const FContainer = ({
|
|
|
1558
1558
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1559
1559
|
"div",
|
|
1560
1560
|
{
|
|
1561
|
-
className: `${styles$
|
|
1561
|
+
className: `${styles$t["f-container"]} ${styles$t[maxWidth]} ${className || ""}`,
|
|
1562
1562
|
style: st,
|
|
1563
1563
|
id,
|
|
1564
1564
|
children
|
|
@@ -1566,7 +1566,7 @@ const FContainer = ({
|
|
|
1566
1566
|
);
|
|
1567
1567
|
};
|
|
1568
1568
|
const panel = "_panel_yplsg_1";
|
|
1569
|
-
const styles$
|
|
1569
|
+
const styles$s = {
|
|
1570
1570
|
panel,
|
|
1571
1571
|
"panel-default": "_panel-default_yplsg_6",
|
|
1572
1572
|
"panel-heading": "_panel-heading_yplsg_12",
|
|
@@ -1599,15 +1599,15 @@ const FPaper = ({
|
|
|
1599
1599
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
1600
1600
|
"div",
|
|
1601
1601
|
{
|
|
1602
|
-
className: `${styles$
|
|
1602
|
+
className: `${styles$s["panel"]} ${styles$s["panel-default"]} ${className || ""} ${animated ? `${styles$s[`animated-${animated.name}`]} ${animated.name}` : ""}`,
|
|
1603
1603
|
style: st,
|
|
1604
1604
|
id,
|
|
1605
1605
|
onAnimationEnd,
|
|
1606
1606
|
children: [
|
|
1607
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
1607
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$s["panel-heading"], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1608
1608
|
"h3",
|
|
1609
1609
|
{
|
|
1610
|
-
className: styles$
|
|
1610
|
+
className: styles$s["panel-title"],
|
|
1611
1611
|
style: { fontSize: fontSizeLabel },
|
|
1612
1612
|
children: label
|
|
1613
1613
|
}
|
|
@@ -1615,7 +1615,7 @@ const FPaper = ({
|
|
|
1615
1615
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1616
1616
|
"div",
|
|
1617
1617
|
{
|
|
1618
|
-
className: styles$
|
|
1618
|
+
className: styles$s["panel-body"],
|
|
1619
1619
|
style: { fontSize: fontSizeBody },
|
|
1620
1620
|
children
|
|
1621
1621
|
}
|
|
@@ -1628,7 +1628,7 @@ const bordered = "_bordered_j1bhx_18";
|
|
|
1628
1628
|
const left$1 = "_left_j1bhx_40";
|
|
1629
1629
|
const center = "_center_j1bhx_43";
|
|
1630
1630
|
const right = "_right_j1bhx_46";
|
|
1631
|
-
const styles$
|
|
1631
|
+
const styles$r = {
|
|
1632
1632
|
"f-table-component": "_f-table-component_j1bhx_1",
|
|
1633
1633
|
"f-table-component__table": "_f-table-component__table_j1bhx_7",
|
|
1634
1634
|
bordered,
|
|
@@ -1658,7 +1658,7 @@ const FTableHead = ({
|
|
|
1658
1658
|
{
|
|
1659
1659
|
style: st,
|
|
1660
1660
|
...props,
|
|
1661
|
-
className: `${styles$
|
|
1661
|
+
className: `${styles$r["f-table-component__table_header"]} ${isSticky ? styles$r["is-sticky"] : ""} ${props.className || ""} ${styles$r[textAlignment]}`,
|
|
1662
1662
|
children
|
|
1663
1663
|
}
|
|
1664
1664
|
);
|
|
@@ -1751,7 +1751,7 @@ const FTableBody = ({
|
|
|
1751
1751
|
} else {
|
|
1752
1752
|
visibleItems = flatChildren;
|
|
1753
1753
|
}
|
|
1754
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("tbody", { ref: tableBodyRef, style: st, ...props, className: `${styles$
|
|
1754
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("tbody", { ref: tableBodyRef, style: st, ...props, className: `${styles$r["f-table-component__table_body"]} ${props.className || ""} ${styles$r[textAlignment]}`, children: [
|
|
1755
1755
|
virtualizationEnabled && rowHeights.some((h) => h > 0) && /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { style: { height: topOffset } }),
|
|
1756
1756
|
visibleItems.map((child, idx) => React.isValidElement(child) ? React.cloneElement(child, { "data-row-index": virtualizationEnabled ? startIdx + idx : idx, key: virtualizationEnabled ? startIdx + idx : idx }) : child),
|
|
1757
1757
|
virtualizationEnabled && rowHeights.some((h) => h > 0) && /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { style: { height: bottomOffset } })
|
|
@@ -1790,14 +1790,14 @@ const FTable = ({
|
|
|
1790
1790
|
"div",
|
|
1791
1791
|
{
|
|
1792
1792
|
ref: tableWrapperRef,
|
|
1793
|
-
className: styles$
|
|
1793
|
+
className: styles$r["f-table-component"],
|
|
1794
1794
|
style: { overflowX, overflowY },
|
|
1795
1795
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1796
1796
|
"table",
|
|
1797
1797
|
{
|
|
1798
1798
|
style: st,
|
|
1799
1799
|
...props,
|
|
1800
|
-
className: `table ${styles$
|
|
1800
|
+
className: `table ${styles$r["f-table-component__table"]} ${styles$r["bordered"]} ${styles$r["bordered-half"]} ${props.className || ""}`,
|
|
1801
1801
|
children: React.Children.map(children, (child) => {
|
|
1802
1802
|
if (React.isValidElement(child) && child.type === FTableHead) {
|
|
1803
1803
|
const headProps = child.props;
|
|
@@ -1837,7 +1837,7 @@ const FTableRow = ({
|
|
|
1837
1837
|
{
|
|
1838
1838
|
style: st,
|
|
1839
1839
|
...props,
|
|
1840
|
-
className: `${styles$
|
|
1840
|
+
className: `${styles$r["f-table-component__table_row"]} ${props.className || ""}${textAlignment !== void 0 ? ` ${styles$r[textAlignment]}` : ""}`,
|
|
1841
1841
|
children
|
|
1842
1842
|
}
|
|
1843
1843
|
);
|
|
@@ -1865,7 +1865,7 @@ const FTableHeaderCell = ({
|
|
|
1865
1865
|
rowSpan: row && row > 1 ? row : void 0,
|
|
1866
1866
|
colSpan: col && col > 1 ? col : void 0,
|
|
1867
1867
|
...props,
|
|
1868
|
-
className: `${styles$
|
|
1868
|
+
className: `${styles$r["f-table-component__table_header-cell"]} ${props.className || ""}`,
|
|
1869
1869
|
children
|
|
1870
1870
|
}
|
|
1871
1871
|
);
|
|
@@ -1893,7 +1893,7 @@ const FTableDataCell = ({
|
|
|
1893
1893
|
rowSpan: row && row > 1 ? row : void 0,
|
|
1894
1894
|
colSpan: col && col > 1 ? col : void 0,
|
|
1895
1895
|
...props,
|
|
1896
|
-
className: `${styles$
|
|
1896
|
+
className: `${styles$r["f-table-component__table_body-cell"]} ${props.className || ""}`,
|
|
1897
1897
|
children
|
|
1898
1898
|
}
|
|
1899
1899
|
);
|
|
@@ -1908,14 +1908,14 @@ const FTableFooter = ({
|
|
|
1908
1908
|
{
|
|
1909
1909
|
style: st,
|
|
1910
1910
|
...props,
|
|
1911
|
-
className: `${styles$
|
|
1911
|
+
className: `${styles$r["f-table-component__table_footer"]} ${props.className || ""}`,
|
|
1912
1912
|
children
|
|
1913
1913
|
}
|
|
1914
1914
|
);
|
|
1915
1915
|
};
|
|
1916
1916
|
const active$4 = "_active_16jkc_16";
|
|
1917
1917
|
const hide = "_hide_16jkc_37";
|
|
1918
|
-
const styles$
|
|
1918
|
+
const styles$q = {
|
|
1919
1919
|
"f-dialog": "_f-dialog_16jkc_1",
|
|
1920
1920
|
"active-dialog": "_active-dialog_16jkc_16",
|
|
1921
1921
|
"f-dialog__content": "_f-dialog__content_16jkc_20",
|
|
@@ -1967,12 +1967,12 @@ const FDialog = ({
|
|
|
1967
1967
|
{
|
|
1968
1968
|
id,
|
|
1969
1969
|
style: st,
|
|
1970
|
-
className: `${styles$
|
|
1970
|
+
className: `${styles$q["f-dialog"]} ${openAndClose ? styles$q["active-dialog"] : ""} ${className || ""}`,
|
|
1971
1971
|
onClick: () => closeButtonBackPage == null ? void 0 : closeButtonBackPage(false),
|
|
1972
1972
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1973
1973
|
"div",
|
|
1974
1974
|
{
|
|
1975
|
-
className: `${styles$
|
|
1975
|
+
className: `${styles$q["f-dialog__content"]} ${openAndClose ? styles$q["active"] : ""} ${hide2 ? styles$q["hide"] : ""}`,
|
|
1976
1976
|
style: {
|
|
1977
1977
|
width: contentWidth
|
|
1978
1978
|
},
|
|
@@ -2012,10 +2012,10 @@ const FCloseIcon = React.forwardRef(({
|
|
|
2012
2012
|
);
|
|
2013
2013
|
});
|
|
2014
2014
|
FCloseIcon.displayName = "FCloseIcon";
|
|
2015
|
-
const FDialogHeader = ({ title, handleClose }) => {
|
|
2016
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
2017
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: styles$
|
|
2018
|
-
handleClose && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2015
|
+
const FDialogHeader = ({ title: title2, handleClose }) => {
|
|
2016
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$q["f-dialog__header"], children: [
|
|
2017
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: styles$q["f-dialog__header_title"], children: title2 }),
|
|
2018
|
+
handleClose && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$q["f-dialog__header_close"], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2019
2019
|
FCloseIcon,
|
|
2020
2020
|
{
|
|
2021
2021
|
handleClose,
|
|
@@ -2030,7 +2030,7 @@ const FDialogBody = ({ st, children, scroll = true }) => {
|
|
|
2030
2030
|
...scroll ? { overflowY: "auto" } : {},
|
|
2031
2031
|
...st
|
|
2032
2032
|
};
|
|
2033
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2033
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$q["f-dialog__body"], style, children });
|
|
2034
2034
|
};
|
|
2035
2035
|
const FDialogFooter = ({ children, className, st, id }) => {
|
|
2036
2036
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -2038,7 +2038,7 @@ const FDialogFooter = ({ children, className, st, id }) => {
|
|
|
2038
2038
|
{
|
|
2039
2039
|
id,
|
|
2040
2040
|
style: st,
|
|
2041
|
-
className: `${styles$
|
|
2041
|
+
className: `${styles$q["f-dialog__footer"]} ${className || ""}`,
|
|
2042
2042
|
children
|
|
2043
2043
|
}
|
|
2044
2044
|
);
|
|
@@ -2053,7 +2053,7 @@ const info$2 = "_info_1lhk7_62";
|
|
|
2053
2053
|
const light = "_light_1lhk7_66";
|
|
2054
2054
|
const dark = "_dark_1lhk7_70";
|
|
2055
2055
|
const link = "_link_1lhk7_74";
|
|
2056
|
-
const styles$
|
|
2056
|
+
const styles$p = {
|
|
2057
2057
|
"authorization-spinner": "_authorization-spinner_1lhk7_1",
|
|
2058
2058
|
"spinner-item": "_spinner-item_1lhk7_7",
|
|
2059
2059
|
loader,
|
|
@@ -2071,14 +2071,14 @@ const FProgress = ({ st, color = "primary", id, className }) => {
|
|
|
2071
2071
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2072
2072
|
"div",
|
|
2073
2073
|
{
|
|
2074
|
-
className: `${styles$
|
|
2074
|
+
className: `${styles$p["authorization-spinner"]} ${styles$p.visible} ${className || ""}`,
|
|
2075
2075
|
id,
|
|
2076
2076
|
style: st,
|
|
2077
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$
|
|
2077
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$p["spinner-item"]} ${styles$p[color]}` })
|
|
2078
2078
|
}
|
|
2079
2079
|
);
|
|
2080
2080
|
};
|
|
2081
|
-
const styles$
|
|
2081
|
+
const styles$o = {
|
|
2082
2082
|
"f-preloader": "_f-preloader_17f9x_1",
|
|
2083
2083
|
"active-preloader": "_active-preloader_17f9x_10"
|
|
2084
2084
|
};
|
|
@@ -2105,13 +2105,13 @@ const FPreloader = ({
|
|
|
2105
2105
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2106
2106
|
"div",
|
|
2107
2107
|
{
|
|
2108
|
-
className: `${styles$
|
|
2108
|
+
className: `${styles$o["f-preloader"]} ${open ? styles$o["active-preloader"] : ""}`,
|
|
2109
2109
|
style: mergedStyle,
|
|
2110
2110
|
children
|
|
2111
2111
|
}
|
|
2112
2112
|
);
|
|
2113
2113
|
};
|
|
2114
|
-
const styles$
|
|
2114
|
+
const styles$n = {
|
|
2115
2115
|
"f-checkbox": "_f-checkbox_9rvqg_1"
|
|
2116
2116
|
};
|
|
2117
2117
|
const FCheckbox = forwardRef(
|
|
@@ -2124,7 +2124,7 @@ const FCheckbox = forwardRef(
|
|
|
2124
2124
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2125
2125
|
"div",
|
|
2126
2126
|
{
|
|
2127
|
-
className: `${styles$
|
|
2127
|
+
className: `${styles$n["f-checkbox"]} ${className || ""}`,
|
|
2128
2128
|
style: st,
|
|
2129
2129
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { children: [
|
|
2130
2130
|
/* @__PURE__ */ jsxRuntimeExports.jsx("input", { ref, type: "checkbox", ...props }),
|
|
@@ -2134,7 +2134,7 @@ const FCheckbox = forwardRef(
|
|
|
2134
2134
|
);
|
|
2135
2135
|
}
|
|
2136
2136
|
);
|
|
2137
|
-
const styles$
|
|
2137
|
+
const styles$m = {
|
|
2138
2138
|
"f-radio": "_f-radio_cwhmx_1"
|
|
2139
2139
|
};
|
|
2140
2140
|
const FRadioButton = forwardRef(
|
|
@@ -2147,7 +2147,7 @@ const FRadioButton = forwardRef(
|
|
|
2147
2147
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2148
2148
|
"div",
|
|
2149
2149
|
{
|
|
2150
|
-
className: `${styles$
|
|
2150
|
+
className: `${styles$m["f-radio"]} ${className || ""}`,
|
|
2151
2151
|
style: st,
|
|
2152
2152
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { children: [
|
|
2153
2153
|
/* @__PURE__ */ jsxRuntimeExports.jsx("input", { ref, type: "radio", ...props }),
|
|
@@ -2209,7 +2209,7 @@ const selected = "_selected_aham2_33";
|
|
|
2209
2209
|
const disabled$2 = "_disabled_aham2_37";
|
|
2210
2210
|
const arrow = "_arrow_aham2_43";
|
|
2211
2211
|
const left = "_left_aham2_56";
|
|
2212
|
-
const styles$
|
|
2212
|
+
const styles$l = {
|
|
2213
2213
|
"pagination-container": "_pagination-container_aham2_1",
|
|
2214
2214
|
"pagination-item": "_pagination-item_aham2_9",
|
|
2215
2215
|
dots,
|
|
@@ -2243,26 +2243,26 @@ const FPagination = ({
|
|
|
2243
2243
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2244
2244
|
"ul",
|
|
2245
2245
|
{
|
|
2246
|
-
className: `${styles$
|
|
2246
|
+
className: `${styles$l["pagination-container"]} ${className || ""}`,
|
|
2247
2247
|
style: st,
|
|
2248
2248
|
id,
|
|
2249
2249
|
children: [
|
|
2250
2250
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2251
2251
|
"li",
|
|
2252
2252
|
{
|
|
2253
|
-
className: `${styles$
|
|
2253
|
+
className: `${styles$l["pagination-item"]} ${currentPage === 1 ? styles$l.disabled : ""}`,
|
|
2254
2254
|
onClick: onPrevious,
|
|
2255
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$
|
|
2255
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$l.arrow} ${styles$l.left}` })
|
|
2256
2256
|
}
|
|
2257
2257
|
),
|
|
2258
2258
|
paginationRange.map((pageNumber, index) => {
|
|
2259
2259
|
if (pageNumber === DOTS) {
|
|
2260
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: `${styles$
|
|
2260
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: `${styles$l["pagination-item"]} ${styles$l.dots}`, children: "…" }, index);
|
|
2261
2261
|
}
|
|
2262
2262
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2263
2263
|
"li",
|
|
2264
2264
|
{
|
|
2265
|
-
className: `${styles$
|
|
2265
|
+
className: `${styles$l["pagination-item"]} ${pageNumber === currentPage ? styles$l.selected : ""}`,
|
|
2266
2266
|
onClick: () => onPageChange(pageNumber),
|
|
2267
2267
|
children: pageNumber
|
|
2268
2268
|
},
|
|
@@ -2272,16 +2272,16 @@ const FPagination = ({
|
|
|
2272
2272
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2273
2273
|
"li",
|
|
2274
2274
|
{
|
|
2275
|
-
className: `${styles$
|
|
2275
|
+
className: `${styles$l["pagination-item"]} ${currentPage === lastPage ? styles$l.disabled : ""}`,
|
|
2276
2276
|
onClick: onNext,
|
|
2277
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$
|
|
2277
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$l.arrow} ${styles$l.right}` })
|
|
2278
2278
|
}
|
|
2279
2279
|
)
|
|
2280
2280
|
]
|
|
2281
2281
|
}
|
|
2282
2282
|
);
|
|
2283
2283
|
};
|
|
2284
|
-
const styles$
|
|
2284
|
+
const styles$k = {
|
|
2285
2285
|
"f-time-line": "_f-time-line_1ybe7_1",
|
|
2286
2286
|
"f-time-line__block": "_f-time-line__block_1ybe7_10",
|
|
2287
2287
|
"f-time-line__block-circle": "_f-time-line__block-circle_1ybe7_29",
|
|
@@ -2295,26 +2295,26 @@ const FTimeline = ({
|
|
|
2295
2295
|
id,
|
|
2296
2296
|
className
|
|
2297
2297
|
}) => {
|
|
2298
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$
|
|
2298
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$k["f-time-line"]} ${className || ""}`, style: st, id, children });
|
|
2299
2299
|
};
|
|
2300
2300
|
const FTimelineCard = ({
|
|
2301
2301
|
children,
|
|
2302
2302
|
st,
|
|
2303
|
-
title,
|
|
2303
|
+
title: title2,
|
|
2304
2304
|
id,
|
|
2305
2305
|
className
|
|
2306
2306
|
}) => {
|
|
2307
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `${styles$
|
|
2308
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2309
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
2310
|
-
|
|
2311
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2307
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `${styles$k["f-time-line__block"]} ${className || ""}`, id, children: [
|
|
2308
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$k["f-time-line__block-circle"] }),
|
|
2309
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$k["f-time-line__block-inner"], style: st, children: [
|
|
2310
|
+
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$k["f-time-line__block-title"], children: title2 }),
|
|
2311
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$k["f-time-line__block-content"], children })
|
|
2312
2312
|
] })
|
|
2313
2313
|
] });
|
|
2314
2314
|
};
|
|
2315
2315
|
const spinner = "_spinner_f7bma_133";
|
|
2316
2316
|
const active$3 = "_active_f7bma_183";
|
|
2317
|
-
const styles$
|
|
2317
|
+
const styles$j = {
|
|
2318
2318
|
"fv-opn-img-full": "_fv-opn-img-full_f7bma_1",
|
|
2319
2319
|
"fv-opn-img-full-body": "_fv-opn-img-full-body_f7bma_19",
|
|
2320
2320
|
"close-button": "_close-button_f7bma_33",
|
|
@@ -2453,10 +2453,10 @@ const FOpenImgFull = ({
|
|
|
2453
2453
|
{
|
|
2454
2454
|
openAndClose,
|
|
2455
2455
|
st,
|
|
2456
|
-
className: `${styles$
|
|
2456
|
+
className: `${styles$j["fv-opn-img-full"]} ${className || ""}`,
|
|
2457
2457
|
id,
|
|
2458
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
2459
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2458
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$j["fv-opn-img-full-body"], children: [
|
|
2459
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$j["close-button"], children: handleClose && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2460
2460
|
FCloseIcon,
|
|
2461
2461
|
{
|
|
2462
2462
|
handleClose: () => {
|
|
@@ -2468,21 +2468,21 @@ const FOpenImgFull = ({
|
|
|
2468
2468
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2469
2469
|
"div",
|
|
2470
2470
|
{
|
|
2471
|
-
className: styles$
|
|
2471
|
+
className: styles$j["image-container"],
|
|
2472
2472
|
onTouchStart: handleTouchStart,
|
|
2473
2473
|
onTouchMove: handleTouchMove,
|
|
2474
2474
|
onTouchEnd: handleTouchEnd,
|
|
2475
2475
|
children: [
|
|
2476
|
-
selectedImg > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2476
|
+
selectedImg > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$j["arrow-left"], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2477
2477
|
FArrowIcon,
|
|
2478
2478
|
{
|
|
2479
2479
|
direction: "left",
|
|
2480
2480
|
handleClick: () => setSelectedImg(selectedImg - 1)
|
|
2481
2481
|
}
|
|
2482
2482
|
) }),
|
|
2483
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
2484
|
-
isLoading && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2485
|
-
error2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2483
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$j["image-wrapper"], children: [
|
|
2484
|
+
isLoading && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$j["loading-spinner"], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$j["spinner"] }) }),
|
|
2485
|
+
error2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$j["error-message"], children: "Ошибка загрузки изображения" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2486
2486
|
"img",
|
|
2487
2487
|
{
|
|
2488
2488
|
src: imagesUrl[selectedImg],
|
|
@@ -2492,7 +2492,7 @@ const FOpenImgFull = ({
|
|
|
2492
2492
|
setError(true);
|
|
2493
2493
|
setIsLoading(false);
|
|
2494
2494
|
},
|
|
2495
|
-
className: styles$
|
|
2495
|
+
className: styles$j["full-image"],
|
|
2496
2496
|
onClick: handleImageClick,
|
|
2497
2497
|
style: {
|
|
2498
2498
|
cursor: "zoom-in",
|
|
@@ -2502,7 +2502,7 @@ const FOpenImgFull = ({
|
|
|
2502
2502
|
}
|
|
2503
2503
|
)
|
|
2504
2504
|
] }),
|
|
2505
|
-
selectedImg < imagesUrl.length - 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2505
|
+
selectedImg < imagesUrl.length - 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$j["arrow-right"], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2506
2506
|
FArrowIcon,
|
|
2507
2507
|
{
|
|
2508
2508
|
direction: "right",
|
|
@@ -2512,10 +2512,10 @@ const FOpenImgFull = ({
|
|
|
2512
2512
|
]
|
|
2513
2513
|
}
|
|
2514
2514
|
),
|
|
2515
|
-
imagesUrl.length > 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2515
|
+
imagesUrl.length > 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$j["progress-indicator"], children: imagesUrl.map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2516
2516
|
"div",
|
|
2517
2517
|
{
|
|
2518
|
-
className: `${styles$
|
|
2518
|
+
className: `${styles$j["progress-dot"]} ${index === selectedImg ? styles$j["active"] : ""}`,
|
|
2519
2519
|
onClick: () => setSelectedImg(index)
|
|
2520
2520
|
},
|
|
2521
2521
|
index
|
|
@@ -2524,12 +2524,12 @@ const FOpenImgFull = ({
|
|
|
2524
2524
|
}
|
|
2525
2525
|
);
|
|
2526
2526
|
};
|
|
2527
|
-
const card = "_card_1pttw_1";
|
|
2527
|
+
const card$1 = "_card_1pttw_1";
|
|
2528
2528
|
const warning$3 = "_warning_1pttw_16";
|
|
2529
2529
|
const info$1 = "_info_1pttw_24";
|
|
2530
2530
|
const alert$1 = "_alert_1pttw_32";
|
|
2531
|
-
const styles$
|
|
2532
|
-
card,
|
|
2531
|
+
const styles$i = {
|
|
2532
|
+
card: card$1,
|
|
2533
2533
|
warning: warning$3,
|
|
2534
2534
|
info: info$1,
|
|
2535
2535
|
alert: alert$1,
|
|
@@ -2537,7 +2537,7 @@ const styles$h = {
|
|
|
2537
2537
|
};
|
|
2538
2538
|
const FAccordion = ({
|
|
2539
2539
|
variant = "info",
|
|
2540
|
-
title,
|
|
2540
|
+
title: title2,
|
|
2541
2541
|
children,
|
|
2542
2542
|
id,
|
|
2543
2543
|
className,
|
|
@@ -2556,16 +2556,16 @@ const FAccordion = ({
|
|
|
2556
2556
|
"div",
|
|
2557
2557
|
{
|
|
2558
2558
|
onClick,
|
|
2559
|
-
className: `${styles$
|
|
2559
|
+
className: `${styles$i.card} ${className || ""}`,
|
|
2560
2560
|
id,
|
|
2561
2561
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2562
2562
|
"details",
|
|
2563
2563
|
{
|
|
2564
|
-
className: styles$
|
|
2564
|
+
className: styles$i[variant],
|
|
2565
2565
|
open: isOpen,
|
|
2566
2566
|
style: st,
|
|
2567
2567
|
children: [
|
|
2568
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("summary", { className: styles$
|
|
2568
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("summary", { className: styles$i["fv-accord-title"], children: title2 }),
|
|
2569
2569
|
children
|
|
2570
2570
|
]
|
|
2571
2571
|
}
|
|
@@ -2573,9 +2573,9 @@ const FAccordion = ({
|
|
|
2573
2573
|
}
|
|
2574
2574
|
);
|
|
2575
2575
|
};
|
|
2576
|
-
const container = "_container_6r9j2_1";
|
|
2577
|
-
const styles$
|
|
2578
|
-
container,
|
|
2576
|
+
const container$1 = "_container_6r9j2_1";
|
|
2577
|
+
const styles$h = {
|
|
2578
|
+
container: container$1,
|
|
2579
2579
|
"custom-file": "_custom-file_6r9j2_6",
|
|
2580
2580
|
"custom-file-input": "_custom-file-input_6r9j2_9",
|
|
2581
2581
|
"custom-file-dropzone": "_custom-file-dropzone_6r9j2_24",
|
|
@@ -2593,7 +2593,7 @@ const FInputFileForm = ({
|
|
|
2593
2593
|
onChange,
|
|
2594
2594
|
disabled: disabled2 = false,
|
|
2595
2595
|
deleteFile,
|
|
2596
|
-
title,
|
|
2596
|
+
title: title2,
|
|
2597
2597
|
required,
|
|
2598
2598
|
onValidationError,
|
|
2599
2599
|
showPreview = true,
|
|
@@ -2704,11 +2704,11 @@ const FInputFileForm = ({
|
|
|
2704
2704
|
setUploadProgress({});
|
|
2705
2705
|
}
|
|
2706
2706
|
}, [deleteFile]);
|
|
2707
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
2707
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$h.container, children: [
|
|
2708
2708
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2709
2709
|
"div",
|
|
2710
2710
|
{
|
|
2711
|
-
className: `${styles$
|
|
2711
|
+
className: `${styles$h["custom-file"]} ${styles$h["custom-file-dropzone"]} ${isDragging ? styles$h.dragging : ""}`,
|
|
2712
2712
|
style: st,
|
|
2713
2713
|
onDragOver: handleDragOver,
|
|
2714
2714
|
onDragLeave: handleDragLeave,
|
|
@@ -2720,10 +2720,10 @@ const FInputFileForm = ({
|
|
|
2720
2720
|
required,
|
|
2721
2721
|
accept,
|
|
2722
2722
|
type: "file",
|
|
2723
|
-
className: `${styles$
|
|
2723
|
+
className: `${styles$h["custom-file-input"]} ${className || ""}`,
|
|
2724
2724
|
name,
|
|
2725
2725
|
id,
|
|
2726
|
-
title,
|
|
2726
|
+
title: title2,
|
|
2727
2727
|
"data-max-size": dataMaxSize == null ? void 0 : dataMaxSize.size,
|
|
2728
2728
|
multiple,
|
|
2729
2729
|
onChange: handleFileChange,
|
|
@@ -2731,7 +2731,7 @@ const FInputFileForm = ({
|
|
|
2731
2731
|
ref: inputRef
|
|
2732
2732
|
}
|
|
2733
2733
|
),
|
|
2734
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("label", { htmlFor: id, className: styles$
|
|
2734
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("label", { htmlFor: id, className: styles$h["custom-file-label"], style: disabled2 ? { backgroundColor: "#F3F3F3", border: "1px dashed #C4C4C4" } : void 0, children: [
|
|
2735
2735
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "30", height: "30", fill: "currentColor", viewBox: "0 0 16 16", children: [
|
|
2736
2736
|
/* @__PURE__ */ jsxRuntimeExports.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" }),
|
|
2737
2737
|
/* @__PURE__ */ jsxRuntimeExports.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" })
|
|
@@ -2757,8 +2757,8 @@ const FInputFileForm = ({
|
|
|
2757
2757
|
]
|
|
2758
2758
|
}
|
|
2759
2759
|
),
|
|
2760
|
-
errors.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2761
|
-
showPreview && selectedFiles.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2760
|
+
errors.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$h.errors, children: errors.map((error2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$h.error, children: error2 }, index)) }),
|
|
2761
|
+
showPreview && selectedFiles.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$h["custom-files-preview"], children: selectedFiles.map((file, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$h.fileItem, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2762
2762
|
FFile,
|
|
2763
2763
|
{
|
|
2764
2764
|
name: file.name,
|
|
@@ -2769,7 +2769,7 @@ const FInputFileForm = ({
|
|
|
2769
2769
|
) }, index)) })
|
|
2770
2770
|
] });
|
|
2771
2771
|
};
|
|
2772
|
-
const styles$
|
|
2772
|
+
const styles$g = {
|
|
2773
2773
|
"f-select": "_f-select_1n6ag_1",
|
|
2774
2774
|
"f-select__control-element": "_f-select__control-element_1n6ag_5"
|
|
2775
2775
|
};
|
|
@@ -2799,7 +2799,7 @@ const FSelect = forwardRef(
|
|
|
2799
2799
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2800
2800
|
"div",
|
|
2801
2801
|
{
|
|
2802
|
-
className: `f-form-element ${styles$
|
|
2802
|
+
className: `f-form-element ${styles$g["f-select"]}`,
|
|
2803
2803
|
style: mergedStyle,
|
|
2804
2804
|
id: inputId + "-select-block",
|
|
2805
2805
|
role: "group",
|
|
@@ -2824,7 +2824,7 @@ const FSelect = forwardRef(
|
|
|
2824
2824
|
...props,
|
|
2825
2825
|
id: inputId,
|
|
2826
2826
|
disabled: props.disabled || load,
|
|
2827
|
-
className: `f-form-element__control-element ${styles$
|
|
2827
|
+
className: `f-form-element__control-element ${styles$g["f-select__control-element"]} ${errText ? "error" : ""} ${props.className || ""}`,
|
|
2828
2828
|
children: !load && children
|
|
2829
2829
|
}
|
|
2830
2830
|
),
|
|
@@ -2906,7 +2906,7 @@ const FFullDateField = forwardRef(
|
|
|
2906
2906
|
}
|
|
2907
2907
|
);
|
|
2908
2908
|
const active$2 = "_active_yhck3_41";
|
|
2909
|
-
const styles$
|
|
2909
|
+
const styles$f = {
|
|
2910
2910
|
"f-select-search-db": "_f-select-search-db_yhck3_1",
|
|
2911
2911
|
"f-select-search-db__input": "_f-select-search-db__input_yhck3_7",
|
|
2912
2912
|
"f-select-search-db__input_field": "_f-select-search-db__input_field_yhck3_11",
|
|
@@ -3090,12 +3090,12 @@ const FSelectSearchDb = ({
|
|
|
3090
3090
|
"div",
|
|
3091
3091
|
{
|
|
3092
3092
|
ref: containerRef,
|
|
3093
|
-
className: `${styles$
|
|
3093
|
+
className: `${styles$f["f-select-search-db"]} ${className || ""}`,
|
|
3094
3094
|
style: st,
|
|
3095
3095
|
id,
|
|
3096
3096
|
"data-position": dropdownPosition,
|
|
3097
3097
|
children: [
|
|
3098
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
3098
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f["f-select-search-db__input"], children: [
|
|
3099
3099
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3100
3100
|
FTextField,
|
|
3101
3101
|
{
|
|
@@ -3106,7 +3106,7 @@ const FSelectSearchDb = ({
|
|
|
3106
3106
|
label,
|
|
3107
3107
|
type,
|
|
3108
3108
|
placeholder,
|
|
3109
|
-
className: styles$
|
|
3109
|
+
className: styles$f["f-select-search-db__input_field"],
|
|
3110
3110
|
value: valueInput,
|
|
3111
3111
|
onChange: handlerOnChange,
|
|
3112
3112
|
onFocus,
|
|
@@ -3123,7 +3123,7 @@ const FSelectSearchDb = ({
|
|
|
3123
3123
|
!load && !disabled2 && arrObject.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3124
3124
|
"div",
|
|
3125
3125
|
{
|
|
3126
|
-
className: styles$
|
|
3126
|
+
className: styles$f["f-select-search-db__input_arrow"],
|
|
3127
3127
|
style: { marginTop: label ? "28px" : "7px" },
|
|
3128
3128
|
onClick: handleArrowClick,
|
|
3129
3129
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(FArrowIcon, { direction: isDropdownOpen ? "up" : "down", size: 15 })
|
|
@@ -3135,8 +3135,8 @@ const FSelectSearchDb = ({
|
|
|
3135
3135
|
"div",
|
|
3136
3136
|
{
|
|
3137
3137
|
ref: dropdownRef,
|
|
3138
|
-
className: `${styles$
|
|
3139
|
-
children: arrObject.length === 0 && valueInput.trim() === "" ? /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Введите текст" }) : arrObject.length === 0 && valueInput.trim() !== "" && !load ? /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Ничего не найдено" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: styles$
|
|
3138
|
+
className: `${styles$f["f-select-search-db__dropdown"]} ${isDropdownOpen ? styles$f.active : ""}`,
|
|
3139
|
+
children: arrObject.length === 0 && valueInput.trim() === "" ? /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Введите текст" }) : arrObject.length === 0 && valueInput.trim() !== "" && !load ? /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Ничего не найдено" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: styles$f["f-select-search-db__dropdown_content"], children: arrObject.slice(0, 10).map((opt, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { onMouseDown: () => handleItemClick(opt), children: selectItem(opt) }, index)) })
|
|
3140
3140
|
}
|
|
3141
3141
|
),
|
|
3142
3142
|
dropdownPortalRef.current
|
|
@@ -3145,7 +3145,7 @@ const FSelectSearchDb = ({
|
|
|
3145
3145
|
}
|
|
3146
3146
|
);
|
|
3147
3147
|
};
|
|
3148
|
-
const styles$
|
|
3148
|
+
const styles$e = {
|
|
3149
3149
|
"f-text-area": "_f-text-area_1ywhr_1"
|
|
3150
3150
|
};
|
|
3151
3151
|
const FTextArea = forwardRef(
|
|
@@ -3174,7 +3174,7 @@ const FTextArea = forwardRef(
|
|
|
3174
3174
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
3175
3175
|
"div",
|
|
3176
3176
|
{
|
|
3177
|
-
className: `f-form-element ${styles$
|
|
3177
|
+
className: `f-form-element ${styles$e["f-text-area"]} ${className || ""}`,
|
|
3178
3178
|
style: mergedStyle,
|
|
3179
3179
|
role: "group",
|
|
3180
3180
|
id: areaId + "-text-area-block",
|
|
@@ -3239,7 +3239,7 @@ function fGenerateUniqueId() {
|
|
|
3239
3239
|
return `${timestamp}${randomPart}`;
|
|
3240
3240
|
}
|
|
3241
3241
|
const FAlert = ({
|
|
3242
|
-
title,
|
|
3242
|
+
title: title2,
|
|
3243
3243
|
body,
|
|
3244
3244
|
variant = "info",
|
|
3245
3245
|
displayTime,
|
|
@@ -3424,7 +3424,7 @@ const FAlert = ({
|
|
|
3424
3424
|
style: { width: size !== void 0 ? `${size}` : "fit-content" },
|
|
3425
3425
|
children: [
|
|
3426
3426
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "f-alert-header", children: [
|
|
3427
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { children:
|
|
3427
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { children: title2 !== void 0 ? title2 : "" }),
|
|
3428
3428
|
buttonClose && onClose && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3429
3429
|
FCloseIcon,
|
|
3430
3430
|
{
|
|
@@ -3533,7 +3533,7 @@ const FNative = ({
|
|
|
3533
3533
|
const horizontal = "_horizontal_zlvc7_1";
|
|
3534
3534
|
const vertical = "_vertical_zlvc7_7";
|
|
3535
3535
|
const active$1 = "_active_zlvc7_50";
|
|
3536
|
-
const styles$
|
|
3536
|
+
const styles$d = {
|
|
3537
3537
|
"f-tabs": "_f-tabs_zlvc7_1",
|
|
3538
3538
|
horizontal,
|
|
3539
3539
|
vertical,
|
|
@@ -3552,7 +3552,7 @@ const FTabs = ({
|
|
|
3552
3552
|
{
|
|
3553
3553
|
id,
|
|
3554
3554
|
style: st,
|
|
3555
|
-
className: `${styles$
|
|
3555
|
+
className: `${styles$d["f-tabs"]} ${styles$d[orientation]} ${className || ""}`,
|
|
3556
3556
|
children
|
|
3557
3557
|
}
|
|
3558
3558
|
);
|
|
@@ -3569,7 +3569,7 @@ const FTab = forwardRef(({
|
|
|
3569
3569
|
ref,
|
|
3570
3570
|
type: "button",
|
|
3571
3571
|
style: st,
|
|
3572
|
-
className: `${styles$
|
|
3572
|
+
className: `${styles$d["f-tabs__tab"]} ${active2 ? styles$d["active"] : ""} ${props.className || ""}`,
|
|
3573
3573
|
...props,
|
|
3574
3574
|
children
|
|
3575
3575
|
}
|
|
@@ -3577,7 +3577,7 @@ const FTab = forwardRef(({
|
|
|
3577
3577
|
});
|
|
3578
3578
|
FTab.displayName = "FTab";
|
|
3579
3579
|
const disabled$1 = "_disabled_2ty2i_40";
|
|
3580
|
-
const styles$
|
|
3580
|
+
const styles$c = {
|
|
3581
3581
|
"f-dropdown": "_f-dropdown_2ty2i_1",
|
|
3582
3582
|
"f-dropdown__arrow": "_f-dropdown__arrow_2ty2i_6",
|
|
3583
3583
|
"f-dropdown__content": "_f-dropdown__content_2ty2i_10",
|
|
@@ -3627,7 +3627,7 @@ const FDropdown = forwardRef(({
|
|
|
3627
3627
|
return child;
|
|
3628
3628
|
});
|
|
3629
3629
|
};
|
|
3630
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
3630
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$c["f-dropdown"], ref, ...props, children: [
|
|
3631
3631
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3632
3632
|
FButton,
|
|
3633
3633
|
{
|
|
@@ -3636,21 +3636,21 @@ const FDropdown = forwardRef(({
|
|
|
3636
3636
|
size,
|
|
3637
3637
|
disabled: disabled2,
|
|
3638
3638
|
st,
|
|
3639
|
-
className: `${styles$
|
|
3639
|
+
className: `${styles$c["f-dropdown__button"]} ${className || ""}`,
|
|
3640
3640
|
id,
|
|
3641
3641
|
onClick: () => setIsOpen((v) => !v),
|
|
3642
3642
|
"aria-haspopup": "menu",
|
|
3643
3643
|
"aria-expanded": isOpen,
|
|
3644
3644
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(FStack, { direction: "row", spacing: 2, justifyContent: "center", alignItems: "center", children: [
|
|
3645
3645
|
label,
|
|
3646
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(FArrowIcon, { className: styles$
|
|
3646
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(FArrowIcon, { className: styles$c["f-dropdown__arrow"], size: 16, color: "light", direction: isOpen ? "up" : "down" })
|
|
3647
3647
|
] })
|
|
3648
3648
|
}
|
|
3649
3649
|
),
|
|
3650
3650
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3651
3651
|
"div",
|
|
3652
3652
|
{
|
|
3653
|
-
className: styles$
|
|
3653
|
+
className: styles$c["f-dropdown__content"] + (isOpen ? " " + styles$c["f-dropdown__content--open"] : ""),
|
|
3654
3654
|
role: "menu",
|
|
3655
3655
|
children: renderChildren()
|
|
3656
3656
|
}
|
|
@@ -3671,7 +3671,7 @@ const FDropdownItem = ({
|
|
|
3671
3671
|
{
|
|
3672
3672
|
id,
|
|
3673
3673
|
style: st,
|
|
3674
|
-
className: `${styles$
|
|
3674
|
+
className: `${styles$c["f-dropdown__content-link"]} ${className || ""} ${disabled2 ? styles$c["disabled"] : ""}`,
|
|
3675
3675
|
onClick: disabled2 ? void 0 : onClick,
|
|
3676
3676
|
"aria-disabled": disabled2,
|
|
3677
3677
|
role: "menuitem",
|
|
@@ -3679,7 +3679,7 @@ const FDropdownItem = ({
|
|
|
3679
3679
|
}
|
|
3680
3680
|
);
|
|
3681
3681
|
};
|
|
3682
|
-
const styles$
|
|
3682
|
+
const styles$b = {
|
|
3683
3683
|
"f-search-box": "_f-search-box_1ce2j_1",
|
|
3684
3684
|
"f-search-box__input": "_f-search-box__input_1ce2j_7",
|
|
3685
3685
|
"f-search-box__button": "_f-search-box__button_1ce2j_13",
|
|
@@ -3705,7 +3705,7 @@ const FSearchBox = forwardRef(
|
|
|
3705
3705
|
type,
|
|
3706
3706
|
...props
|
|
3707
3707
|
}, ref) => {
|
|
3708
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `${styles$
|
|
3708
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `${styles$b["f-search-box"]} form-group`, style: st, children: [
|
|
3709
3709
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3710
3710
|
FTextField,
|
|
3711
3711
|
{
|
|
@@ -3719,14 +3719,14 @@ const FSearchBox = forwardRef(
|
|
|
3719
3719
|
errText,
|
|
3720
3720
|
load,
|
|
3721
3721
|
...props,
|
|
3722
|
-
className: `${styles$
|
|
3722
|
+
className: `${styles$b["f-search-box__input"]} ${props.className || ""}`
|
|
3723
3723
|
}
|
|
3724
3724
|
),
|
|
3725
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
3725
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b["f-search-box__button"], style: { marginTop: label ? "21.8px" : "0" }, children: [
|
|
3726
3726
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3727
3727
|
FButton,
|
|
3728
3728
|
{
|
|
3729
|
-
className: `${styles$
|
|
3729
|
+
className: `${styles$b["f-search-box__button_search"]} ${clearDataFromInput ? styles$b["clear-on"] : ""}`,
|
|
3730
3730
|
type: "button",
|
|
3731
3731
|
disabled: disabled2,
|
|
3732
3732
|
onClick: onClickButton,
|
|
@@ -3738,7 +3738,7 @@ const FSearchBox = forwardRef(
|
|
|
3738
3738
|
clearDataFromInput && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3739
3739
|
FButton,
|
|
3740
3740
|
{
|
|
3741
|
-
className: `${styles$
|
|
3741
|
+
className: `${styles$b["f-search-box__button_clear"]}`,
|
|
3742
3742
|
type: "button",
|
|
3743
3743
|
disabled: disabled2,
|
|
3744
3744
|
onClick: clearDataFromInput,
|
|
@@ -3751,7 +3751,7 @@ const FSearchBox = forwardRef(
|
|
|
3751
3751
|
] });
|
|
3752
3752
|
}
|
|
3753
3753
|
);
|
|
3754
|
-
const styles$
|
|
3754
|
+
const styles$a = {
|
|
3755
3755
|
"f-carousel": "_f-carousel_d5w12_1",
|
|
3756
3756
|
"f-carousel__viewport": "_f-carousel__viewport_d5w12_8",
|
|
3757
3757
|
"f-carousel__track": "_f-carousel__track_d5w12_12",
|
|
@@ -3834,10 +3834,10 @@ const FCarousel = ({
|
|
|
3834
3834
|
const handleTouchEnd = () => {
|
|
3835
3835
|
startX.current = null;
|
|
3836
3836
|
};
|
|
3837
|
-
const rootClass = [styles$
|
|
3837
|
+
const rootClass = [styles$a["f-carousel"], className].filter(Boolean).join(" ");
|
|
3838
3838
|
const trackClass = [
|
|
3839
|
-
styles$
|
|
3840
|
-
isAnimating ? styles$
|
|
3839
|
+
styles$a["f-carousel__track"],
|
|
3840
|
+
isAnimating ? styles$a["f-carousel__track--animating"] : ""
|
|
3841
3841
|
].filter(Boolean).join(" ");
|
|
3842
3842
|
const trackStyle = {
|
|
3843
3843
|
transform: `translateX(-${100 / itemsCount * current}%)`,
|
|
@@ -3848,7 +3848,7 @@ const FCarousel = ({
|
|
|
3848
3848
|
showArrows && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3849
3849
|
"button",
|
|
3850
3850
|
{
|
|
3851
|
-
className: `${styles$
|
|
3851
|
+
className: `${styles$a["f-carousel__arrow"]} ${styles$a["f-carousel__arrow--left"]}`,
|
|
3852
3852
|
onClick: handlePrev,
|
|
3853
3853
|
disabled: !loop && current === 0,
|
|
3854
3854
|
"aria-label": "Назад",
|
|
@@ -3858,14 +3858,14 @@ const FCarousel = ({
|
|
|
3858
3858
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3859
3859
|
"div",
|
|
3860
3860
|
{
|
|
3861
|
-
className: styles$
|
|
3861
|
+
className: styles$a["f-carousel__viewport"],
|
|
3862
3862
|
onTouchStart: handleTouchStart,
|
|
3863
3863
|
onTouchMove: handleTouchMove,
|
|
3864
3864
|
onTouchEnd: handleTouchEnd,
|
|
3865
3865
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: trackRef, className: trackClass, style: trackStyle, children: children.map((child, idx) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3866
3866
|
"div",
|
|
3867
3867
|
{
|
|
3868
|
-
className: styles$
|
|
3868
|
+
className: styles$a["f-carousel__item"],
|
|
3869
3869
|
style: { width: `${100 / itemsCount}%` },
|
|
3870
3870
|
children: child
|
|
3871
3871
|
},
|
|
@@ -3876,19 +3876,19 @@ const FCarousel = ({
|
|
|
3876
3876
|
showArrows && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3877
3877
|
"button",
|
|
3878
3878
|
{
|
|
3879
|
-
className: `${styles$
|
|
3879
|
+
className: `${styles$a["f-carousel__arrow"]} ${styles$a["f-carousel__arrow--right"]}`,
|
|
3880
3880
|
onClick: handleNext,
|
|
3881
3881
|
disabled: !loop && current >= itemsCount - visibleCount,
|
|
3882
3882
|
"aria-label": "Вперёд",
|
|
3883
3883
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: arrowRight, alt: "Следующий слайд" })
|
|
3884
3884
|
}
|
|
3885
3885
|
),
|
|
3886
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
3886
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$a["f-carousel__indicators"], children: Array.from({ length: itemsCount - visibleCount + 1 }).map((_, idx) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3887
3887
|
"button",
|
|
3888
3888
|
{
|
|
3889
3889
|
className: [
|
|
3890
|
-
styles$
|
|
3891
|
-
idx === current ? styles$
|
|
3890
|
+
styles$a["f-carousel__indicator"],
|
|
3891
|
+
idx === current ? styles$a["f-carousel__indicator--active"] : ""
|
|
3892
3892
|
].join(" "),
|
|
3893
3893
|
onClick: () => setCurrent(idx),
|
|
3894
3894
|
"aria-label": `Перейти к слайду ${idx + 1}`
|
|
@@ -3902,10 +3902,10 @@ const FCarouselItem = ({
|
|
|
3902
3902
|
className,
|
|
3903
3903
|
id
|
|
3904
3904
|
}) => {
|
|
3905
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$
|
|
3905
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$a["f-carousel-item"]} ${className || ""}`, id, children });
|
|
3906
3906
|
};
|
|
3907
3907
|
const skeleton = "_skeleton_1ojrt_1";
|
|
3908
|
-
const styles$
|
|
3908
|
+
const styles$9 = {
|
|
3909
3909
|
"skeleton-block": "_skeleton-block_1ojrt_1",
|
|
3910
3910
|
skeleton
|
|
3911
3911
|
};
|
|
@@ -3915,7 +3915,7 @@ const FSkeleton = ({ children, enable, width, height }) => {
|
|
|
3915
3915
|
const skeletons = useRef([]);
|
|
3916
3916
|
const createSkeleton = (element) => {
|
|
3917
3917
|
const skeleton2 = document.createElement("div");
|
|
3918
|
-
skeleton2.className = styles$
|
|
3918
|
+
skeleton2.className = styles$9.skeleton;
|
|
3919
3919
|
const computedStyle = window.getComputedStyle(element);
|
|
3920
3920
|
skeleton2.style.width = width ?? computedStyle.width;
|
|
3921
3921
|
skeleton2.style.height = height ?? computedStyle.height;
|
|
@@ -3962,10 +3962,10 @@ const FSkeleton = ({ children, enable, width, height }) => {
|
|
|
3962
3962
|
restoreOriginalElements();
|
|
3963
3963
|
};
|
|
3964
3964
|
}, [enable]);
|
|
3965
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: elementRef, className: styles$
|
|
3965
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: elementRef, className: styles$9["skeleton-block"], children });
|
|
3966
3966
|
};
|
|
3967
3967
|
const active = "_active_1tib7_71";
|
|
3968
|
-
const styles$
|
|
3968
|
+
const styles$8 = {
|
|
3969
3969
|
"f-nav-bar": "_f-nav-bar_1tib7_1",
|
|
3970
3970
|
"f-nav-bar__menu": "_f-nav-bar__menu_1tib7_8",
|
|
3971
3971
|
"f-nav-bar__menu-route": "_f-nav-bar__menu-route_1tib7_31",
|
|
@@ -3977,7 +3977,7 @@ const FNavigateBar = ({
|
|
|
3977
3977
|
id,
|
|
3978
3978
|
className
|
|
3979
3979
|
}) => {
|
|
3980
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(FGrid, { obj: "container", id, className, children: /* @__PURE__ */ jsxRuntimeExports.jsx(FGridRow, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(FGrid, { obj: "item", sm: 12, children: /* @__PURE__ */ jsxRuntimeExports.jsx("nav", { style: st, className: styles$
|
|
3980
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FGrid, { obj: "container", id, className, children: /* @__PURE__ */ jsxRuntimeExports.jsx(FGridRow, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(FGrid, { obj: "item", sm: 12, children: /* @__PURE__ */ jsxRuntimeExports.jsx("nav", { style: st, className: styles$8["f-nav-bar"], children: /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: styles$8["f-nav-bar__menu"], children }) }) }) }) });
|
|
3981
3981
|
};
|
|
3982
3982
|
const FNavigateBarItem = ({
|
|
3983
3983
|
st,
|
|
@@ -3991,13 +3991,13 @@ const FNavigateBarItem = ({
|
|
|
3991
3991
|
{
|
|
3992
3992
|
id,
|
|
3993
3993
|
style: st,
|
|
3994
|
-
className: `${styles$
|
|
3994
|
+
className: `${styles$8["f-nav-bar__menu-route"]} ${activeClass ? styles$8.active : ""} ${className || ""}`,
|
|
3995
3995
|
children
|
|
3996
3996
|
}
|
|
3997
3997
|
);
|
|
3998
3998
|
};
|
|
3999
3999
|
const disabled = "_disabled_w47ps_49";
|
|
4000
|
-
const styles$
|
|
4000
|
+
const styles$7 = {
|
|
4001
4001
|
"sections-routes": "_sections-routes_w47ps_2",
|
|
4002
4002
|
"sections-routes_card": "_sections-routes_card_w47ps_9",
|
|
4003
4003
|
"sections-routes_card__title": "_sections-routes_card__title_w47ps_25",
|
|
@@ -4015,7 +4015,7 @@ const FMenuBlockLinks = ({
|
|
|
4015
4015
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4016
4016
|
"div",
|
|
4017
4017
|
{
|
|
4018
|
-
className: `${styles$
|
|
4018
|
+
className: `${styles$7["sections-routes"]} ${className ?? ""}`.trim(),
|
|
4019
4019
|
style,
|
|
4020
4020
|
id,
|
|
4021
4021
|
children
|
|
@@ -4028,15 +4028,15 @@ const FMenuLinks = ({
|
|
|
4028
4028
|
st,
|
|
4029
4029
|
id,
|
|
4030
4030
|
disabled: disabled2 = [],
|
|
4031
|
-
title
|
|
4031
|
+
title: title2
|
|
4032
4032
|
}) => {
|
|
4033
4033
|
const enhancedChildren = React.Children.map(children, (child, index) => {
|
|
4034
4034
|
if (!React.isValidElement(child)) return child;
|
|
4035
4035
|
const isDisabled = disabled2.includes(index);
|
|
4036
4036
|
const childClass = [
|
|
4037
4037
|
child.props.className,
|
|
4038
|
-
styles$
|
|
4039
|
-
isDisabled && styles$
|
|
4038
|
+
styles$7.link,
|
|
4039
|
+
isDisabled && styles$7.disabled
|
|
4040
4040
|
].filter(Boolean).join(" ");
|
|
4041
4041
|
return React.cloneElement(child, {
|
|
4042
4042
|
className: childClass,
|
|
@@ -4046,17 +4046,17 @@ const FMenuLinks = ({
|
|
|
4046
4046
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4047
4047
|
"div",
|
|
4048
4048
|
{
|
|
4049
|
-
className: `${styles$
|
|
4049
|
+
className: `${styles$7["sections-routes_card"]} ${className ?? ""}`.trim(),
|
|
4050
4050
|
style: st,
|
|
4051
4051
|
id,
|
|
4052
4052
|
children: [
|
|
4053
|
-
|
|
4054
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
4053
|
+
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$7["sections-routes_card__title"], children: title2 }),
|
|
4054
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$7["sections-routes_card__links"], children: enhancedChildren })
|
|
4055
4055
|
]
|
|
4056
4056
|
}
|
|
4057
4057
|
);
|
|
4058
4058
|
};
|
|
4059
|
-
const styles$
|
|
4059
|
+
const styles$6 = {
|
|
4060
4060
|
"f-tooltip": "_f-tooltip_xpnbo_1",
|
|
4061
4061
|
"f-tooltip--open": "_f-tooltip--open_xpnbo_17",
|
|
4062
4062
|
"f-tooltip--exiting": "_f-tooltip--exiting_xpnbo_22",
|
|
@@ -4070,7 +4070,7 @@ const styles$5 = {
|
|
|
4070
4070
|
"f-tooltip--with-arrow": "_f-tooltip--with-arrow_xpnbo_104"
|
|
4071
4071
|
};
|
|
4072
4072
|
const FTooltip = ({
|
|
4073
|
-
title,
|
|
4073
|
+
title: title2,
|
|
4074
4074
|
children,
|
|
4075
4075
|
placement = "bottom",
|
|
4076
4076
|
arrow: arrow2 = false,
|
|
@@ -4245,14 +4245,14 @@ const FTooltip = ({
|
|
|
4245
4245
|
wrappedChild = cloneElement(children, childProps);
|
|
4246
4246
|
}
|
|
4247
4247
|
const tooltipClasses = [
|
|
4248
|
-
styles$
|
|
4249
|
-
styles$
|
|
4250
|
-
arrow2 ? styles$
|
|
4251
|
-
isVisible ? styles$
|
|
4252
|
-
isExiting ? styles$
|
|
4248
|
+
styles$6["f-tooltip"],
|
|
4249
|
+
styles$6[`f-tooltip--${placement}`],
|
|
4250
|
+
arrow2 ? styles$6["f-tooltip--with-arrow"] : "",
|
|
4251
|
+
isVisible ? styles$6["f-tooltip--open"] : "",
|
|
4252
|
+
isExiting ? styles$6["f-tooltip--exiting"] : "",
|
|
4253
4253
|
className
|
|
4254
4254
|
].filter(Boolean).join(" ");
|
|
4255
|
-
const tooltipElement = mountTooltip &&
|
|
4255
|
+
const tooltipElement = mountTooltip && title2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4256
4256
|
"div",
|
|
4257
4257
|
{
|
|
4258
4258
|
ref: tooltipRef,
|
|
@@ -4260,8 +4260,8 @@ const FTooltip = ({
|
|
|
4260
4260
|
style: { ...style, ...tooltipStyles },
|
|
4261
4261
|
role: "tooltip",
|
|
4262
4262
|
children: [
|
|
4263
|
-
arrow2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
4264
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
4263
|
+
arrow2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6["f-tooltip__arrow"] }),
|
|
4264
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6["f-tooltip__content"], children: title2 })
|
|
4265
4265
|
]
|
|
4266
4266
|
}
|
|
4267
4267
|
) : null;
|
|
@@ -4712,7 +4712,7 @@ const FSafeIcon = React.forwardRef(({
|
|
|
4712
4712
|
);
|
|
4713
4713
|
});
|
|
4714
4714
|
FSafeIcon.displayName = "FSafeIcon";
|
|
4715
|
-
const styles$
|
|
4715
|
+
const styles$5 = {
|
|
4716
4716
|
"f-function-block-alert": "_f-function-block-alert_1jotv_1",
|
|
4717
4717
|
"f-function-alert": "_f-function-alert_1jotv_16",
|
|
4718
4718
|
"f-function-alert-ico": "_f-function-alert-ico_1jotv_24",
|
|
@@ -4725,7 +4725,7 @@ const styles$4 = {
|
|
|
4725
4725
|
"f-function-alert-body": "_f-function-alert-body_1jotv_68",
|
|
4726
4726
|
"f-function-alert-footer": "_f-function-alert-footer_1jotv_83"
|
|
4727
4727
|
};
|
|
4728
|
-
const fAlert = ({ title, body, variant = "info" }) => {
|
|
4728
|
+
const fAlert = ({ title: title2, body, variant = "info" }) => {
|
|
4729
4729
|
let ico = "";
|
|
4730
4730
|
switch (variant) {
|
|
4731
4731
|
case "info":
|
|
@@ -4748,21 +4748,21 @@ const fAlert = ({ title, body, variant = "info" }) => {
|
|
|
4748
4748
|
window.document.body.insertAdjacentHTML(
|
|
4749
4749
|
"afterbegin",
|
|
4750
4750
|
`
|
|
4751
|
-
<div class='${styles$
|
|
4752
|
-
<div class='${styles$
|
|
4753
|
-
<div class='${styles$
|
|
4751
|
+
<div class='${styles$5["f-function-block-alert"]}' id='f-function-block-alert'>
|
|
4752
|
+
<div class='${styles$5["f-function-alert"]}'>
|
|
4753
|
+
<div class='${styles$5["f-function-alert-ico"]} ${styles$5[`${variant}-alert`]}' style='color: inherit; fill: inherit'>
|
|
4754
4754
|
<svg width="28" height="28" viewBox="0 0 16 16">
|
|
4755
4755
|
${ico}
|
|
4756
4756
|
</svg>
|
|
4757
4757
|
</div>
|
|
4758
|
-
<div class='${styles$
|
|
4759
|
-
<div class='${styles$
|
|
4760
|
-
<h4>${
|
|
4758
|
+
<div class='${styles$5["f-function-alert-inside"]}'>
|
|
4759
|
+
<div class='${styles$5["f-function-alert-header"]}'>
|
|
4760
|
+
<h4>${title2 || ""}</h4>
|
|
4761
4761
|
</div>
|
|
4762
|
-
<div class='${styles$
|
|
4762
|
+
<div class='${styles$5["f-function-alert-body"]}'>
|
|
4763
4763
|
${arrBody.join("")}
|
|
4764
4764
|
</div>
|
|
4765
|
-
<div class='${styles$
|
|
4765
|
+
<div class='${styles$5["f-function-alert-footer"]}'>
|
|
4766
4766
|
<FButton
|
|
4767
4767
|
class='${stylesBtn["btn"]} ${stylesBtn["btn-sm"]} ${stylesBtn["btn-primary"]}'
|
|
4768
4768
|
onclick='document.querySelector("#f-function-block-alert").remove()'
|
|
@@ -4777,7 +4777,7 @@ const fAlert = ({ title, body, variant = "info" }) => {
|
|
|
4777
4777
|
);
|
|
4778
4778
|
};
|
|
4779
4779
|
const warning$2 = "_warning_de5a5_31";
|
|
4780
|
-
const styles$
|
|
4780
|
+
const styles$4 = {
|
|
4781
4781
|
"f-function-block-confirm": "_f-function-block-confirm_de5a5_1",
|
|
4782
4782
|
"f-function-confirm": "_f-function-confirm_de5a5_16",
|
|
4783
4783
|
"f-function-confirm-ico": "_f-function-confirm-ico_de5a5_24",
|
|
@@ -4787,27 +4787,27 @@ const styles$3 = {
|
|
|
4787
4787
|
"f-function-confirm-body": "_f-function-confirm-body_de5a5_51",
|
|
4788
4788
|
"f-function-confirm-footer": "_f-function-confirm-footer_de5a5_65"
|
|
4789
4789
|
};
|
|
4790
|
-
const fConfirm = ({ title, body }) => {
|
|
4790
|
+
const fConfirm = ({ title: title2, body }) => {
|
|
4791
4791
|
return new Promise((resolve) => {
|
|
4792
4792
|
window.document.body.insertAdjacentHTML(
|
|
4793
4793
|
"afterbegin",
|
|
4794
4794
|
`
|
|
4795
|
-
<div class='${styles$
|
|
4796
|
-
<div class='${styles$
|
|
4797
|
-
<div class='${styles$
|
|
4795
|
+
<div class='${styles$4["f-function-block-confirm"]}' id='f-function-block-confirm'>
|
|
4796
|
+
<div class='${styles$4["f-function-confirm"]}'>
|
|
4797
|
+
<div class='${styles$4["f-function-confirm-ico"]} ${styles$4.warning}'>
|
|
4798
4798
|
<svg width="28" height="28" viewBox="0 0 16 16">
|
|
4799
4799
|
<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>
|
|
4800
4800
|
<path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/>
|
|
4801
4801
|
</svg>
|
|
4802
4802
|
</div>
|
|
4803
|
-
<div class='${styles$
|
|
4804
|
-
<div class='${styles$
|
|
4805
|
-
<h4>${
|
|
4803
|
+
<div class='${styles$4["f-function-confirm-inside"]}'>
|
|
4804
|
+
<div class='${styles$4["f-function-confirm-header"]}'>
|
|
4805
|
+
<h4>${title2 || ""}</h4>
|
|
4806
4806
|
</div>
|
|
4807
|
-
<div class='${styles$
|
|
4807
|
+
<div class='${styles$4["f-function-confirm-body"]}'>
|
|
4808
4808
|
<span>${body}</span>
|
|
4809
4809
|
</div>
|
|
4810
|
-
<div class='${styles$
|
|
4810
|
+
<div class='${styles$4["f-function-confirm-footer"]}'>
|
|
4811
4811
|
<FButton
|
|
4812
4812
|
id="f-function-confirm-ok"
|
|
4813
4813
|
class='${stylesBtn["btn"]} ${stylesBtn["btn-sm"]} ${stylesBtn["btn-success"]}'
|
|
@@ -4847,7 +4847,7 @@ const fConfirm = ({ title, body }) => {
|
|
|
4847
4847
|
});
|
|
4848
4848
|
};
|
|
4849
4849
|
const warning$1 = "_warning_1o5ku_31";
|
|
4850
|
-
const styles$
|
|
4850
|
+
const styles$3 = {
|
|
4851
4851
|
"f-function-block-prompt": "_f-function-block-prompt_1o5ku_1",
|
|
4852
4852
|
"f-function-prompt": "_f-function-prompt_1o5ku_16",
|
|
4853
4853
|
"f-function-prompt-ico": "_f-function-prompt-ico_1o5ku_24",
|
|
@@ -4864,32 +4864,32 @@ function getValue(element) {
|
|
|
4864
4864
|
return null;
|
|
4865
4865
|
}
|
|
4866
4866
|
}
|
|
4867
|
-
const fPrompt = ({ title, body }) => {
|
|
4867
|
+
const fPrompt = ({ title: title2, body }) => {
|
|
4868
4868
|
return new Promise((resolve) => {
|
|
4869
4869
|
window.document.body.insertAdjacentHTML(
|
|
4870
4870
|
"afterbegin",
|
|
4871
4871
|
`
|
|
4872
|
-
<div class='${styles$
|
|
4873
|
-
<div class='${styles$
|
|
4874
|
-
<div class='${styles$
|
|
4872
|
+
<div class='${styles$3["f-function-block-prompt"]}' id='f-function-block-prompt'>
|
|
4873
|
+
<div class='${styles$3["f-function-prompt"]}'>
|
|
4874
|
+
<div class='${styles$3["f-function-prompt-ico"]} ${styles$3.warning}'>
|
|
4875
4875
|
<svg width="28" height="28" viewBox="0 0 16 16">
|
|
4876
4876
|
<path d="M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-2.5a2 2 0 0 0-1.6.8L8 14.333 6.1 11.8a2 2 0 0 0-1.6-.8H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"/>
|
|
4877
4877
|
<path d="M5 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
|
|
4878
4878
|
</svg>
|
|
4879
4879
|
</div>
|
|
4880
|
-
<div class='${styles$
|
|
4881
|
-
<div class='${styles$
|
|
4882
|
-
<h4>${
|
|
4880
|
+
<div class='${styles$3["f-function-prompt-inside"]}'>
|
|
4881
|
+
<div class='${styles$3["f-function-prompt-header"]}'>
|
|
4882
|
+
<h4>${title2 || ""}</h4>
|
|
4883
4883
|
</div>
|
|
4884
|
-
<div class='${styles$
|
|
4884
|
+
<div class='${styles$3["f-function-prompt-body"]}'>
|
|
4885
4885
|
<span>${body || ""}</span>
|
|
4886
4886
|
<input
|
|
4887
4887
|
type="text"
|
|
4888
4888
|
id="f-function-prompt-input"
|
|
4889
|
-
class="form-control ${styles$
|
|
4889
|
+
class="form-control ${styles$3["f-function-prompt-input"]}"
|
|
4890
4890
|
/>
|
|
4891
4891
|
</div>
|
|
4892
|
-
<div class='${styles$
|
|
4892
|
+
<div class='${styles$3["f-function-prompt-footer"]}'>
|
|
4893
4893
|
<button
|
|
4894
4894
|
id="f-function-prompt-ok"
|
|
4895
4895
|
class='${stylesBtn["btn"]} ${stylesBtn["btn-sm"]} ${stylesBtn["btn-success"]}'
|
|
@@ -7124,7 +7124,7 @@ const document$1 = (data, format = "A4", orientation = "vertical") => {
|
|
|
7124
7124
|
}
|
|
7125
7125
|
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:oel="http://schemas.microsoft.com/office/2019/extlst" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh wp14"><w:body>${data}<w:sectPr><w:pgSz w:w="${width}" w:h="${height}" w:orient="${orientation}"/><w:pgMar w:top="${top}" w:right="${right2}" w:bottom="${bottom}" w:left="${left2}" w:header="${header}" w:footer="${footer}" w:gutter="0"/><w:cols w:space="708"/><w:docGrid w:linePitch="360"/></w:sectPr></w:body></w:document>`;
|
|
7126
7126
|
};
|
|
7127
|
-
const styles$
|
|
7127
|
+
const styles$2 = () => {
|
|
7128
7128
|
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
7129
7129
|
<w:styles xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
7130
7130
|
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
@@ -10047,7 +10047,7 @@ async function generateDocx({ data, format, orientation, fileName }) {
|
|
|
10047
10047
|
zip.file("word/document.xml", document$1(data, format, orientation));
|
|
10048
10048
|
zip.file("word/fontTable.xml", fontTable());
|
|
10049
10049
|
zip.file("word/settings.xml", settings());
|
|
10050
|
-
zip.file("word/styles.xml", styles$
|
|
10050
|
+
zip.file("word/styles.xml", styles$2());
|
|
10051
10051
|
zip.file("word/theme/theme1.xml", theme1());
|
|
10052
10052
|
zip.file("word/webSettings.xml", webSettings());
|
|
10053
10053
|
const content = await zip.generateAsync({ type: "blob" });
|
|
@@ -49847,7 +49847,7 @@ const info = "_info_1da8u_75";
|
|
|
49847
49847
|
const error = "_error_1da8u_80";
|
|
49848
49848
|
const success = "_success_1da8u_85";
|
|
49849
49849
|
const warning = "_warning_1da8u_90";
|
|
49850
|
-
const styles = {
|
|
49850
|
+
const styles$1 = {
|
|
49851
49851
|
"f-function-block-notification": "_f-function-block-notification_1da8u_51",
|
|
49852
49852
|
"f-function-notification": "_f-function-notification_1da8u_55",
|
|
49853
49853
|
"f-function-notification-ico": "_f-function-notification-ico_1da8u_67",
|
|
@@ -49873,7 +49873,7 @@ const styles = {
|
|
|
49873
49873
|
"notification-progress-animated": "_notification-progress-animated_1da8u_1"
|
|
49874
49874
|
};
|
|
49875
49875
|
const fNotification = ({
|
|
49876
|
-
title,
|
|
49876
|
+
title: title2,
|
|
49877
49877
|
body,
|
|
49878
49878
|
variant = "info",
|
|
49879
49879
|
timeSecClose,
|
|
@@ -49905,31 +49905,31 @@ const fNotification = ({
|
|
|
49905
49905
|
const randId = fGenerateUniqueId();
|
|
49906
49906
|
const idFuncBlockNot = "f-function-block-notification-" + randId;
|
|
49907
49907
|
const not = `
|
|
49908
|
-
<div class='${styles["f-function-block-notification"]}' id="${id === void 0 ? idFuncBlockNot : id}">
|
|
49909
|
-
<div class='${styles["f-function-notification"]}'>
|
|
49910
|
-
<div class='${styles["f-function-notification-ico"]} ${styles[variant + "-notification"]}'>
|
|
49908
|
+
<div class='${styles$1["f-function-block-notification"]}' id="${id === void 0 ? idFuncBlockNot : id}">
|
|
49909
|
+
<div class='${styles$1["f-function-notification"]}'>
|
|
49910
|
+
<div class='${styles$1["f-function-notification-ico"]} ${styles$1[variant + "-notification"]}'>
|
|
49911
49911
|
<svg width="28" height="28" viewBox="0 0 16 16">
|
|
49912
49912
|
${ico}
|
|
49913
49913
|
</svg>
|
|
49914
49914
|
</div>
|
|
49915
|
-
<div class='${styles["f-function-notification-inside"]}'>
|
|
49916
|
-
<div class='${styles["f-function-notification-header"]}'>
|
|
49917
|
-
<h4>${
|
|
49915
|
+
<div class='${styles$1["f-function-notification-inside"]}'>
|
|
49916
|
+
<div class='${styles$1["f-function-notification-header"]}'>
|
|
49917
|
+
<h4>${title2 !== void 0 ? title2 : ""}</h4>
|
|
49918
49918
|
${buttonClose ? `<svg
|
|
49919
49919
|
width="25"
|
|
49920
|
-
class="bi bi-x-lg primary ${styles["close-not"]}"
|
|
49920
|
+
class="bi bi-x-lg primary ${styles$1["close-not"]}"
|
|
49921
49921
|
viewBox="0 0 16 16"
|
|
49922
49922
|
>
|
|
49923
49923
|
<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"/>
|
|
49924
49924
|
</svg>` : ""}
|
|
49925
49925
|
</div>
|
|
49926
|
-
<div class='${styles["f-function-notification-body"]}'>
|
|
49926
|
+
<div class='${styles$1["f-function-notification-body"]}'>
|
|
49927
49927
|
${arrBody.join("")}
|
|
49928
49928
|
</div>
|
|
49929
49929
|
</div>
|
|
49930
|
-
${timeSecClose ? `<div class="${styles["f-notification-progress"]}">
|
|
49931
|
-
<div class="${styles["f-notification-progress-bar"]}">
|
|
49932
|
-
<div class="${styles["f-notification-progress-value"]} ${styles[variant]}" id="f-notification-progress-value-${randId}" style="animation: notification-progress-animated ${timeSecClose}s linear;"/>
|
|
49930
|
+
${timeSecClose ? `<div class="${styles$1["f-notification-progress"]}">
|
|
49931
|
+
<div class="${styles$1["f-notification-progress-bar"]}">
|
|
49932
|
+
<div class="${styles$1["f-notification-progress-value"]} ${styles$1[variant]}" id="f-notification-progress-value-${randId}" style="animation: notification-progress-animated ${timeSecClose}s linear;"/>
|
|
49933
49933
|
</div>
|
|
49934
49934
|
</div>` : ""}
|
|
49935
49935
|
</div>
|
|
@@ -49957,11 +49957,11 @@ const fNotification = ({
|
|
|
49957
49957
|
if (buttonClose) {
|
|
49958
49958
|
const el = window.document.querySelector(`#${idFuncBlockNot}`);
|
|
49959
49959
|
if (el !== null) {
|
|
49960
|
-
const svgElement = el.querySelector(`.${styles["close-not"]}`);
|
|
49960
|
+
const svgElement = el.querySelector(`.${styles$1["close-not"]}`);
|
|
49961
49961
|
if (svgElement !== null) {
|
|
49962
49962
|
svgElement.addEventListener("click", () => {
|
|
49963
|
-
el.classList.remove(styles["f-function-notification-visible"]);
|
|
49964
|
-
el.classList.add(styles["f-function-notification-hidden"]);
|
|
49963
|
+
el.classList.remove(styles$1["f-function-notification-visible"]);
|
|
49964
|
+
el.classList.add(styles$1["f-function-notification-hidden"]);
|
|
49965
49965
|
setTimeout(() => {
|
|
49966
49966
|
if (el.parentNode) {
|
|
49967
49967
|
el.parentNode.removeChild(el);
|
|
@@ -49975,14 +49975,14 @@ const fNotification = ({
|
|
|
49975
49975
|
setTimeout(() => {
|
|
49976
49976
|
const el = window.document.querySelector(`#${idFuncBlockNot}`);
|
|
49977
49977
|
if (el !== null && el !== void 0) {
|
|
49978
|
-
el.className += " " + styles["f-function-notification-visible"];
|
|
49978
|
+
el.className += " " + styles$1["f-function-notification-visible"];
|
|
49979
49979
|
}
|
|
49980
49980
|
});
|
|
49981
49981
|
if (timeSecClose !== void 0) {
|
|
49982
49982
|
const el = window.document.querySelector(`#${idFuncBlockNot}`);
|
|
49983
49983
|
if (el !== null) {
|
|
49984
49984
|
setTimeout(() => {
|
|
49985
|
-
el.className = styles["f-function-notification-hidden"];
|
|
49985
|
+
el.className = styles$1["f-function-notification-hidden"];
|
|
49986
49986
|
}, (timeSecClose - 1) * 1e3);
|
|
49987
49987
|
setTimeout(() => {
|
|
49988
49988
|
if (el.parentNode) {
|
|
@@ -50000,9 +50000,9 @@ const fNotificationDelete = (id) => {
|
|
|
50000
50000
|
if (!el) return;
|
|
50001
50001
|
const container2 = document.getElementById("block-notification");
|
|
50002
50002
|
if (!container2) return;
|
|
50003
|
-
el.className = styles["f-function-notification-hidden"];
|
|
50003
|
+
el.className = styles$1["f-function-notification-hidden"];
|
|
50004
50004
|
setTimeout(() => {
|
|
50005
|
-
el.classList.remove(styles["f-function-notification-visible"]);
|
|
50005
|
+
el.classList.remove(styles$1["f-function-notification-visible"]);
|
|
50006
50006
|
}, 1e3);
|
|
50007
50007
|
setTimeout(() => {
|
|
50008
50008
|
if (el.parentNode) el.parentNode.removeChild(el);
|
|
@@ -52641,6 +52641,102 @@ const useFApi = ({ doNotUseState = false, defaultState = null, getValueByPath =
|
|
|
52641
52641
|
};
|
|
52642
52642
|
return { data, loading, error: error2, execute, reset };
|
|
52643
52643
|
};
|
|
52644
|
+
const waterError = "_waterError_10t7p_1";
|
|
52645
|
+
const scene = "_scene_10t7p_12";
|
|
52646
|
+
const waves = "_waves_10t7p_18";
|
|
52647
|
+
const wave1 = "_wave1_10t7p_26";
|
|
52648
|
+
const wave2 = "_wave2_10t7p_27";
|
|
52649
|
+
const wave3 = "_wave3_10t7p_28";
|
|
52650
|
+
const bubbles = "_bubbles_10t7p_64";
|
|
52651
|
+
const bubble = "_bubble_10t7p_64";
|
|
52652
|
+
const container = "_container_10t7p_95";
|
|
52653
|
+
const card = "_card_10t7p_100";
|
|
52654
|
+
const drop = "_drop_10t7p_121";
|
|
52655
|
+
const dropSvg = "_dropSvg_10t7p_136";
|
|
52656
|
+
const title = "_title_10t7p_142";
|
|
52657
|
+
const subtitle = "_subtitle_10t7p_152";
|
|
52658
|
+
const actions = "_actions_10t7p_159";
|
|
52659
|
+
const btnPrimary = "_btnPrimary_10t7p_167";
|
|
52660
|
+
const btnSecondary = "_btnSecondary_10t7p_168";
|
|
52661
|
+
const ripple = "_ripple_10t7p_199";
|
|
52662
|
+
const styles = {
|
|
52663
|
+
waterError,
|
|
52664
|
+
scene,
|
|
52665
|
+
waves,
|
|
52666
|
+
wave1,
|
|
52667
|
+
wave2,
|
|
52668
|
+
wave3,
|
|
52669
|
+
bubbles,
|
|
52670
|
+
bubble,
|
|
52671
|
+
container,
|
|
52672
|
+
card,
|
|
52673
|
+
drop,
|
|
52674
|
+
dropSvg,
|
|
52675
|
+
title,
|
|
52676
|
+
subtitle,
|
|
52677
|
+
actions,
|
|
52678
|
+
btnPrimary,
|
|
52679
|
+
btnSecondary,
|
|
52680
|
+
ripple
|
|
52681
|
+
};
|
|
52682
|
+
const FWaterErrorBoundaryPage = () => {
|
|
52683
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles.waterError, children: [
|
|
52684
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles.scene, children: [
|
|
52685
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles.waves, children: [
|
|
52686
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.wave1 }),
|
|
52687
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.wave2 }),
|
|
52688
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.wave3 })
|
|
52689
|
+
] }),
|
|
52690
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.bubbles, children: [...Array(15)].map((_, i) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
52691
|
+
"div",
|
|
52692
|
+
{
|
|
52693
|
+
className: styles.bubble,
|
|
52694
|
+
style: {
|
|
52695
|
+
left: `${Math.random() * 100}%`,
|
|
52696
|
+
animationDelay: `${Math.random() * 8}s`,
|
|
52697
|
+
animationDuration: `${10 + Math.random() * 10}s`
|
|
52698
|
+
}
|
|
52699
|
+
},
|
|
52700
|
+
i
|
|
52701
|
+
)) })
|
|
52702
|
+
] }),
|
|
52703
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.container, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles.card, children: [
|
|
52704
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.drop, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 100 120", className: styles.dropSvg, children: [
|
|
52705
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("linearGradient", { id: "blueGradient", x1: "0%", y1: "0%", x2: "100%", y2: "100%", children: [
|
|
52706
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("stop", { offset: "0%", stopColor: "#00d4ff" }),
|
|
52707
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("stop", { offset: "100%", stopColor: "#0066ff" })
|
|
52708
|
+
] }) }),
|
|
52709
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M50 15 C25 55, 25 90, 50 115 C75 90, 75 55, 50 15", fill: "url(#blueGradient)" })
|
|
52710
|
+
] }) }),
|
|
52711
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: styles.title, children: "Поток прерван" }),
|
|
52712
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: styles.subtitle, children: [
|
|
52713
|
+
"Произошла ошибка в системе водоучёта.",
|
|
52714
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
|
|
52715
|
+
"Мы уже направляем бригаду гидротехников.",
|
|
52716
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
|
|
52717
|
+
"Идёт восстановление данных…"
|
|
52718
|
+
] }),
|
|
52719
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles.actions, children: [
|
|
52720
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
52721
|
+
"button",
|
|
52722
|
+
{
|
|
52723
|
+
className: styles.btnPrimary,
|
|
52724
|
+
onClick: () => {
|
|
52725
|
+
const btn2 = document.querySelector(`.${styles.btnPrimary}`);
|
|
52726
|
+
const ripple2 = document.createElement("div");
|
|
52727
|
+
ripple2.className = styles.ripple;
|
|
52728
|
+
btn2.appendChild(ripple2);
|
|
52729
|
+
setTimeout(() => ripple2.remove(), 700);
|
|
52730
|
+
window.location.reload();
|
|
52731
|
+
},
|
|
52732
|
+
children: "Обновить страницу"
|
|
52733
|
+
}
|
|
52734
|
+
),
|
|
52735
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: styles.btnSecondary, onClick: () => window.location.href = "/", children: "На главную" })
|
|
52736
|
+
] })
|
|
52737
|
+
] }) })
|
|
52738
|
+
] });
|
|
52739
|
+
};
|
|
52644
52740
|
export {
|
|
52645
52741
|
FAccordion,
|
|
52646
52742
|
FAlert,
|
|
@@ -52709,6 +52805,7 @@ export {
|
|
|
52709
52805
|
FTooltip,
|
|
52710
52806
|
FTrashIcon,
|
|
52711
52807
|
FUnlinkIcon,
|
|
52808
|
+
FWaterErrorBoundaryPage,
|
|
52712
52809
|
fAlert,
|
|
52713
52810
|
fBankRound,
|
|
52714
52811
|
fConfirm,
|