fui-material 2.3.3 → 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 +337 -249
- 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/material/SelectComponents/FSelectItem/FSelectItem.d.ts +3 -34
- 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
|
),
|
|
@@ -2858,30 +2858,21 @@ const FSelect = forwardRef(
|
|
|
2858
2858
|
);
|
|
2859
2859
|
}
|
|
2860
2860
|
);
|
|
2861
|
-
const FSelectItem = ({
|
|
2861
|
+
const FSelectItem = React.forwardRef(({
|
|
2862
2862
|
st,
|
|
2863
|
-
value,
|
|
2864
2863
|
children,
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
selected: selected2,
|
|
2868
|
-
className,
|
|
2869
|
-
id
|
|
2870
|
-
}) => {
|
|
2864
|
+
...props
|
|
2865
|
+
}, ref) => {
|
|
2871
2866
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2872
2867
|
"option",
|
|
2873
2868
|
{
|
|
2874
|
-
|
|
2875
|
-
disabled: disabled2,
|
|
2876
|
-
onClick,
|
|
2869
|
+
ref,
|
|
2877
2870
|
style: st,
|
|
2878
|
-
|
|
2879
|
-
className,
|
|
2880
|
-
id,
|
|
2871
|
+
...props,
|
|
2881
2872
|
children
|
|
2882
2873
|
}
|
|
2883
2874
|
);
|
|
2884
|
-
};
|
|
2875
|
+
});
|
|
2885
2876
|
const FFullDateField = forwardRef(
|
|
2886
2877
|
({
|
|
2887
2878
|
label,
|
|
@@ -2915,7 +2906,7 @@ const FFullDateField = forwardRef(
|
|
|
2915
2906
|
}
|
|
2916
2907
|
);
|
|
2917
2908
|
const active$2 = "_active_yhck3_41";
|
|
2918
|
-
const styles$
|
|
2909
|
+
const styles$f = {
|
|
2919
2910
|
"f-select-search-db": "_f-select-search-db_yhck3_1",
|
|
2920
2911
|
"f-select-search-db__input": "_f-select-search-db__input_yhck3_7",
|
|
2921
2912
|
"f-select-search-db__input_field": "_f-select-search-db__input_field_yhck3_11",
|
|
@@ -3099,12 +3090,12 @@ const FSelectSearchDb = ({
|
|
|
3099
3090
|
"div",
|
|
3100
3091
|
{
|
|
3101
3092
|
ref: containerRef,
|
|
3102
|
-
className: `${styles$
|
|
3093
|
+
className: `${styles$f["f-select-search-db"]} ${className || ""}`,
|
|
3103
3094
|
style: st,
|
|
3104
3095
|
id,
|
|
3105
3096
|
"data-position": dropdownPosition,
|
|
3106
3097
|
children: [
|
|
3107
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
3098
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f["f-select-search-db__input"], children: [
|
|
3108
3099
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3109
3100
|
FTextField,
|
|
3110
3101
|
{
|
|
@@ -3115,7 +3106,7 @@ const FSelectSearchDb = ({
|
|
|
3115
3106
|
label,
|
|
3116
3107
|
type,
|
|
3117
3108
|
placeholder,
|
|
3118
|
-
className: styles$
|
|
3109
|
+
className: styles$f["f-select-search-db__input_field"],
|
|
3119
3110
|
value: valueInput,
|
|
3120
3111
|
onChange: handlerOnChange,
|
|
3121
3112
|
onFocus,
|
|
@@ -3132,7 +3123,7 @@ const FSelectSearchDb = ({
|
|
|
3132
3123
|
!load && !disabled2 && arrObject.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3133
3124
|
"div",
|
|
3134
3125
|
{
|
|
3135
|
-
className: styles$
|
|
3126
|
+
className: styles$f["f-select-search-db__input_arrow"],
|
|
3136
3127
|
style: { marginTop: label ? "28px" : "7px" },
|
|
3137
3128
|
onClick: handleArrowClick,
|
|
3138
3129
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(FArrowIcon, { direction: isDropdownOpen ? "up" : "down", size: 15 })
|
|
@@ -3144,8 +3135,8 @@ const FSelectSearchDb = ({
|
|
|
3144
3135
|
"div",
|
|
3145
3136
|
{
|
|
3146
3137
|
ref: dropdownRef,
|
|
3147
|
-
className: `${styles$
|
|
3148
|
-
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)) })
|
|
3149
3140
|
}
|
|
3150
3141
|
),
|
|
3151
3142
|
dropdownPortalRef.current
|
|
@@ -3154,7 +3145,7 @@ const FSelectSearchDb = ({
|
|
|
3154
3145
|
}
|
|
3155
3146
|
);
|
|
3156
3147
|
};
|
|
3157
|
-
const styles$
|
|
3148
|
+
const styles$e = {
|
|
3158
3149
|
"f-text-area": "_f-text-area_1ywhr_1"
|
|
3159
3150
|
};
|
|
3160
3151
|
const FTextArea = forwardRef(
|
|
@@ -3183,7 +3174,7 @@ const FTextArea = forwardRef(
|
|
|
3183
3174
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
3184
3175
|
"div",
|
|
3185
3176
|
{
|
|
3186
|
-
className: `f-form-element ${styles$
|
|
3177
|
+
className: `f-form-element ${styles$e["f-text-area"]} ${className || ""}`,
|
|
3187
3178
|
style: mergedStyle,
|
|
3188
3179
|
role: "group",
|
|
3189
3180
|
id: areaId + "-text-area-block",
|
|
@@ -3248,7 +3239,7 @@ function fGenerateUniqueId() {
|
|
|
3248
3239
|
return `${timestamp}${randomPart}`;
|
|
3249
3240
|
}
|
|
3250
3241
|
const FAlert = ({
|
|
3251
|
-
title,
|
|
3242
|
+
title: title2,
|
|
3252
3243
|
body,
|
|
3253
3244
|
variant = "info",
|
|
3254
3245
|
displayTime,
|
|
@@ -3433,7 +3424,7 @@ const FAlert = ({
|
|
|
3433
3424
|
style: { width: size !== void 0 ? `${size}` : "fit-content" },
|
|
3434
3425
|
children: [
|
|
3435
3426
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "f-alert-header", children: [
|
|
3436
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { children:
|
|
3427
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { children: title2 !== void 0 ? title2 : "" }),
|
|
3437
3428
|
buttonClose && onClose && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3438
3429
|
FCloseIcon,
|
|
3439
3430
|
{
|
|
@@ -3542,7 +3533,7 @@ const FNative = ({
|
|
|
3542
3533
|
const horizontal = "_horizontal_zlvc7_1";
|
|
3543
3534
|
const vertical = "_vertical_zlvc7_7";
|
|
3544
3535
|
const active$1 = "_active_zlvc7_50";
|
|
3545
|
-
const styles$
|
|
3536
|
+
const styles$d = {
|
|
3546
3537
|
"f-tabs": "_f-tabs_zlvc7_1",
|
|
3547
3538
|
horizontal,
|
|
3548
3539
|
vertical,
|
|
@@ -3561,7 +3552,7 @@ const FTabs = ({
|
|
|
3561
3552
|
{
|
|
3562
3553
|
id,
|
|
3563
3554
|
style: st,
|
|
3564
|
-
className: `${styles$
|
|
3555
|
+
className: `${styles$d["f-tabs"]} ${styles$d[orientation]} ${className || ""}`,
|
|
3565
3556
|
children
|
|
3566
3557
|
}
|
|
3567
3558
|
);
|
|
@@ -3578,7 +3569,7 @@ const FTab = forwardRef(({
|
|
|
3578
3569
|
ref,
|
|
3579
3570
|
type: "button",
|
|
3580
3571
|
style: st,
|
|
3581
|
-
className: `${styles$
|
|
3572
|
+
className: `${styles$d["f-tabs__tab"]} ${active2 ? styles$d["active"] : ""} ${props.className || ""}`,
|
|
3582
3573
|
...props,
|
|
3583
3574
|
children
|
|
3584
3575
|
}
|
|
@@ -3586,7 +3577,7 @@ const FTab = forwardRef(({
|
|
|
3586
3577
|
});
|
|
3587
3578
|
FTab.displayName = "FTab";
|
|
3588
3579
|
const disabled$1 = "_disabled_2ty2i_40";
|
|
3589
|
-
const styles$
|
|
3580
|
+
const styles$c = {
|
|
3590
3581
|
"f-dropdown": "_f-dropdown_2ty2i_1",
|
|
3591
3582
|
"f-dropdown__arrow": "_f-dropdown__arrow_2ty2i_6",
|
|
3592
3583
|
"f-dropdown__content": "_f-dropdown__content_2ty2i_10",
|
|
@@ -3636,7 +3627,7 @@ const FDropdown = forwardRef(({
|
|
|
3636
3627
|
return child;
|
|
3637
3628
|
});
|
|
3638
3629
|
};
|
|
3639
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
3630
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$c["f-dropdown"], ref, ...props, children: [
|
|
3640
3631
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3641
3632
|
FButton,
|
|
3642
3633
|
{
|
|
@@ -3645,21 +3636,21 @@ const FDropdown = forwardRef(({
|
|
|
3645
3636
|
size,
|
|
3646
3637
|
disabled: disabled2,
|
|
3647
3638
|
st,
|
|
3648
|
-
className: `${styles$
|
|
3639
|
+
className: `${styles$c["f-dropdown__button"]} ${className || ""}`,
|
|
3649
3640
|
id,
|
|
3650
3641
|
onClick: () => setIsOpen((v) => !v),
|
|
3651
3642
|
"aria-haspopup": "menu",
|
|
3652
3643
|
"aria-expanded": isOpen,
|
|
3653
3644
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(FStack, { direction: "row", spacing: 2, justifyContent: "center", alignItems: "center", children: [
|
|
3654
3645
|
label,
|
|
3655
|
-
/* @__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" })
|
|
3656
3647
|
] })
|
|
3657
3648
|
}
|
|
3658
3649
|
),
|
|
3659
3650
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3660
3651
|
"div",
|
|
3661
3652
|
{
|
|
3662
|
-
className: styles$
|
|
3653
|
+
className: styles$c["f-dropdown__content"] + (isOpen ? " " + styles$c["f-dropdown__content--open"] : ""),
|
|
3663
3654
|
role: "menu",
|
|
3664
3655
|
children: renderChildren()
|
|
3665
3656
|
}
|
|
@@ -3680,7 +3671,7 @@ const FDropdownItem = ({
|
|
|
3680
3671
|
{
|
|
3681
3672
|
id,
|
|
3682
3673
|
style: st,
|
|
3683
|
-
className: `${styles$
|
|
3674
|
+
className: `${styles$c["f-dropdown__content-link"]} ${className || ""} ${disabled2 ? styles$c["disabled"] : ""}`,
|
|
3684
3675
|
onClick: disabled2 ? void 0 : onClick,
|
|
3685
3676
|
"aria-disabled": disabled2,
|
|
3686
3677
|
role: "menuitem",
|
|
@@ -3688,7 +3679,7 @@ const FDropdownItem = ({
|
|
|
3688
3679
|
}
|
|
3689
3680
|
);
|
|
3690
3681
|
};
|
|
3691
|
-
const styles$
|
|
3682
|
+
const styles$b = {
|
|
3692
3683
|
"f-search-box": "_f-search-box_1ce2j_1",
|
|
3693
3684
|
"f-search-box__input": "_f-search-box__input_1ce2j_7",
|
|
3694
3685
|
"f-search-box__button": "_f-search-box__button_1ce2j_13",
|
|
@@ -3714,7 +3705,7 @@ const FSearchBox = forwardRef(
|
|
|
3714
3705
|
type,
|
|
3715
3706
|
...props
|
|
3716
3707
|
}, ref) => {
|
|
3717
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `${styles$
|
|
3708
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `${styles$b["f-search-box"]} form-group`, style: st, children: [
|
|
3718
3709
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3719
3710
|
FTextField,
|
|
3720
3711
|
{
|
|
@@ -3728,14 +3719,14 @@ const FSearchBox = forwardRef(
|
|
|
3728
3719
|
errText,
|
|
3729
3720
|
load,
|
|
3730
3721
|
...props,
|
|
3731
|
-
className: `${styles$
|
|
3722
|
+
className: `${styles$b["f-search-box__input"]} ${props.className || ""}`
|
|
3732
3723
|
}
|
|
3733
3724
|
),
|
|
3734
|
-
/* @__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: [
|
|
3735
3726
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3736
3727
|
FButton,
|
|
3737
3728
|
{
|
|
3738
|
-
className: `${styles$
|
|
3729
|
+
className: `${styles$b["f-search-box__button_search"]} ${clearDataFromInput ? styles$b["clear-on"] : ""}`,
|
|
3739
3730
|
type: "button",
|
|
3740
3731
|
disabled: disabled2,
|
|
3741
3732
|
onClick: onClickButton,
|
|
@@ -3747,7 +3738,7 @@ const FSearchBox = forwardRef(
|
|
|
3747
3738
|
clearDataFromInput && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3748
3739
|
FButton,
|
|
3749
3740
|
{
|
|
3750
|
-
className: `${styles$
|
|
3741
|
+
className: `${styles$b["f-search-box__button_clear"]}`,
|
|
3751
3742
|
type: "button",
|
|
3752
3743
|
disabled: disabled2,
|
|
3753
3744
|
onClick: clearDataFromInput,
|
|
@@ -3760,7 +3751,7 @@ const FSearchBox = forwardRef(
|
|
|
3760
3751
|
] });
|
|
3761
3752
|
}
|
|
3762
3753
|
);
|
|
3763
|
-
const styles$
|
|
3754
|
+
const styles$a = {
|
|
3764
3755
|
"f-carousel": "_f-carousel_d5w12_1",
|
|
3765
3756
|
"f-carousel__viewport": "_f-carousel__viewport_d5w12_8",
|
|
3766
3757
|
"f-carousel__track": "_f-carousel__track_d5w12_12",
|
|
@@ -3843,10 +3834,10 @@ const FCarousel = ({
|
|
|
3843
3834
|
const handleTouchEnd = () => {
|
|
3844
3835
|
startX.current = null;
|
|
3845
3836
|
};
|
|
3846
|
-
const rootClass = [styles$
|
|
3837
|
+
const rootClass = [styles$a["f-carousel"], className].filter(Boolean).join(" ");
|
|
3847
3838
|
const trackClass = [
|
|
3848
|
-
styles$
|
|
3849
|
-
isAnimating ? styles$
|
|
3839
|
+
styles$a["f-carousel__track"],
|
|
3840
|
+
isAnimating ? styles$a["f-carousel__track--animating"] : ""
|
|
3850
3841
|
].filter(Boolean).join(" ");
|
|
3851
3842
|
const trackStyle = {
|
|
3852
3843
|
transform: `translateX(-${100 / itemsCount * current}%)`,
|
|
@@ -3857,7 +3848,7 @@ const FCarousel = ({
|
|
|
3857
3848
|
showArrows && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3858
3849
|
"button",
|
|
3859
3850
|
{
|
|
3860
|
-
className: `${styles$
|
|
3851
|
+
className: `${styles$a["f-carousel__arrow"]} ${styles$a["f-carousel__arrow--left"]}`,
|
|
3861
3852
|
onClick: handlePrev,
|
|
3862
3853
|
disabled: !loop && current === 0,
|
|
3863
3854
|
"aria-label": "Назад",
|
|
@@ -3867,14 +3858,14 @@ const FCarousel = ({
|
|
|
3867
3858
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3868
3859
|
"div",
|
|
3869
3860
|
{
|
|
3870
|
-
className: styles$
|
|
3861
|
+
className: styles$a["f-carousel__viewport"],
|
|
3871
3862
|
onTouchStart: handleTouchStart,
|
|
3872
3863
|
onTouchMove: handleTouchMove,
|
|
3873
3864
|
onTouchEnd: handleTouchEnd,
|
|
3874
3865
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: trackRef, className: trackClass, style: trackStyle, children: children.map((child, idx) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3875
3866
|
"div",
|
|
3876
3867
|
{
|
|
3877
|
-
className: styles$
|
|
3868
|
+
className: styles$a["f-carousel__item"],
|
|
3878
3869
|
style: { width: `${100 / itemsCount}%` },
|
|
3879
3870
|
children: child
|
|
3880
3871
|
},
|
|
@@ -3885,19 +3876,19 @@ const FCarousel = ({
|
|
|
3885
3876
|
showArrows && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3886
3877
|
"button",
|
|
3887
3878
|
{
|
|
3888
|
-
className: `${styles$
|
|
3879
|
+
className: `${styles$a["f-carousel__arrow"]} ${styles$a["f-carousel__arrow--right"]}`,
|
|
3889
3880
|
onClick: handleNext,
|
|
3890
3881
|
disabled: !loop && current >= itemsCount - visibleCount,
|
|
3891
3882
|
"aria-label": "Вперёд",
|
|
3892
3883
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: arrowRight, alt: "Следующий слайд" })
|
|
3893
3884
|
}
|
|
3894
3885
|
),
|
|
3895
|
-
/* @__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(
|
|
3896
3887
|
"button",
|
|
3897
3888
|
{
|
|
3898
3889
|
className: [
|
|
3899
|
-
styles$
|
|
3900
|
-
idx === current ? styles$
|
|
3890
|
+
styles$a["f-carousel__indicator"],
|
|
3891
|
+
idx === current ? styles$a["f-carousel__indicator--active"] : ""
|
|
3901
3892
|
].join(" "),
|
|
3902
3893
|
onClick: () => setCurrent(idx),
|
|
3903
3894
|
"aria-label": `Перейти к слайду ${idx + 1}`
|
|
@@ -3911,10 +3902,10 @@ const FCarouselItem = ({
|
|
|
3911
3902
|
className,
|
|
3912
3903
|
id
|
|
3913
3904
|
}) => {
|
|
3914
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$
|
|
3905
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `${styles$a["f-carousel-item"]} ${className || ""}`, id, children });
|
|
3915
3906
|
};
|
|
3916
3907
|
const skeleton = "_skeleton_1ojrt_1";
|
|
3917
|
-
const styles$
|
|
3908
|
+
const styles$9 = {
|
|
3918
3909
|
"skeleton-block": "_skeleton-block_1ojrt_1",
|
|
3919
3910
|
skeleton
|
|
3920
3911
|
};
|
|
@@ -3924,7 +3915,7 @@ const FSkeleton = ({ children, enable, width, height }) => {
|
|
|
3924
3915
|
const skeletons = useRef([]);
|
|
3925
3916
|
const createSkeleton = (element) => {
|
|
3926
3917
|
const skeleton2 = document.createElement("div");
|
|
3927
|
-
skeleton2.className = styles$
|
|
3918
|
+
skeleton2.className = styles$9.skeleton;
|
|
3928
3919
|
const computedStyle = window.getComputedStyle(element);
|
|
3929
3920
|
skeleton2.style.width = width ?? computedStyle.width;
|
|
3930
3921
|
skeleton2.style.height = height ?? computedStyle.height;
|
|
@@ -3971,10 +3962,10 @@ const FSkeleton = ({ children, enable, width, height }) => {
|
|
|
3971
3962
|
restoreOriginalElements();
|
|
3972
3963
|
};
|
|
3973
3964
|
}, [enable]);
|
|
3974
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: elementRef, className: styles$
|
|
3965
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: elementRef, className: styles$9["skeleton-block"], children });
|
|
3975
3966
|
};
|
|
3976
3967
|
const active = "_active_1tib7_71";
|
|
3977
|
-
const styles$
|
|
3968
|
+
const styles$8 = {
|
|
3978
3969
|
"f-nav-bar": "_f-nav-bar_1tib7_1",
|
|
3979
3970
|
"f-nav-bar__menu": "_f-nav-bar__menu_1tib7_8",
|
|
3980
3971
|
"f-nav-bar__menu-route": "_f-nav-bar__menu-route_1tib7_31",
|
|
@@ -3986,7 +3977,7 @@ const FNavigateBar = ({
|
|
|
3986
3977
|
id,
|
|
3987
3978
|
className
|
|
3988
3979
|
}) => {
|
|
3989
|
-
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 }) }) }) }) });
|
|
3990
3981
|
};
|
|
3991
3982
|
const FNavigateBarItem = ({
|
|
3992
3983
|
st,
|
|
@@ -4000,13 +3991,13 @@ const FNavigateBarItem = ({
|
|
|
4000
3991
|
{
|
|
4001
3992
|
id,
|
|
4002
3993
|
style: st,
|
|
4003
|
-
className: `${styles$
|
|
3994
|
+
className: `${styles$8["f-nav-bar__menu-route"]} ${activeClass ? styles$8.active : ""} ${className || ""}`,
|
|
4004
3995
|
children
|
|
4005
3996
|
}
|
|
4006
3997
|
);
|
|
4007
3998
|
};
|
|
4008
3999
|
const disabled = "_disabled_w47ps_49";
|
|
4009
|
-
const styles$
|
|
4000
|
+
const styles$7 = {
|
|
4010
4001
|
"sections-routes": "_sections-routes_w47ps_2",
|
|
4011
4002
|
"sections-routes_card": "_sections-routes_card_w47ps_9",
|
|
4012
4003
|
"sections-routes_card__title": "_sections-routes_card__title_w47ps_25",
|
|
@@ -4024,7 +4015,7 @@ const FMenuBlockLinks = ({
|
|
|
4024
4015
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4025
4016
|
"div",
|
|
4026
4017
|
{
|
|
4027
|
-
className: `${styles$
|
|
4018
|
+
className: `${styles$7["sections-routes"]} ${className ?? ""}`.trim(),
|
|
4028
4019
|
style,
|
|
4029
4020
|
id,
|
|
4030
4021
|
children
|
|
@@ -4037,15 +4028,15 @@ const FMenuLinks = ({
|
|
|
4037
4028
|
st,
|
|
4038
4029
|
id,
|
|
4039
4030
|
disabled: disabled2 = [],
|
|
4040
|
-
title
|
|
4031
|
+
title: title2
|
|
4041
4032
|
}) => {
|
|
4042
4033
|
const enhancedChildren = React.Children.map(children, (child, index) => {
|
|
4043
4034
|
if (!React.isValidElement(child)) return child;
|
|
4044
4035
|
const isDisabled = disabled2.includes(index);
|
|
4045
4036
|
const childClass = [
|
|
4046
4037
|
child.props.className,
|
|
4047
|
-
styles$
|
|
4048
|
-
isDisabled && styles$
|
|
4038
|
+
styles$7.link,
|
|
4039
|
+
isDisabled && styles$7.disabled
|
|
4049
4040
|
].filter(Boolean).join(" ");
|
|
4050
4041
|
return React.cloneElement(child, {
|
|
4051
4042
|
className: childClass,
|
|
@@ -4055,31 +4046,31 @@ const FMenuLinks = ({
|
|
|
4055
4046
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4056
4047
|
"div",
|
|
4057
4048
|
{
|
|
4058
|
-
className: `${styles$
|
|
4049
|
+
className: `${styles$7["sections-routes_card"]} ${className ?? ""}`.trim(),
|
|
4059
4050
|
style: st,
|
|
4060
4051
|
id,
|
|
4061
4052
|
children: [
|
|
4062
|
-
|
|
4063
|
-
/* @__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 })
|
|
4064
4055
|
]
|
|
4065
4056
|
}
|
|
4066
4057
|
);
|
|
4067
4058
|
};
|
|
4068
|
-
const styles$
|
|
4069
|
-
"f-tooltip": "_f-
|
|
4070
|
-
"f-tooltip--open": "_f-tooltip--
|
|
4071
|
-
"f-tooltip--exiting": "_f-tooltip--
|
|
4072
|
-
"f-tooltip__wrapper": "_f-
|
|
4073
|
-
"f-tooltip__content": "_f-
|
|
4074
|
-
"f-tooltip__arrow": "_f-
|
|
4075
|
-
"f-tooltip--top": "_f-tooltip--
|
|
4076
|
-
"f-tooltip--bottom": "_f-tooltip--
|
|
4077
|
-
"f-tooltip--left": "_f-tooltip--
|
|
4078
|
-
"f-tooltip--right": "_f-tooltip--
|
|
4079
|
-
"f-tooltip--with-arrow": "_f-tooltip--with-
|
|
4059
|
+
const styles$6 = {
|
|
4060
|
+
"f-tooltip": "_f-tooltip_xpnbo_1",
|
|
4061
|
+
"f-tooltip--open": "_f-tooltip--open_xpnbo_17",
|
|
4062
|
+
"f-tooltip--exiting": "_f-tooltip--exiting_xpnbo_22",
|
|
4063
|
+
"f-tooltip__wrapper": "_f-tooltip__wrapper_xpnbo_27",
|
|
4064
|
+
"f-tooltip__content": "_f-tooltip__content_xpnbo_30",
|
|
4065
|
+
"f-tooltip__arrow": "_f-tooltip__arrow_xpnbo_35",
|
|
4066
|
+
"f-tooltip--top": "_f-tooltip--top_xpnbo_44",
|
|
4067
|
+
"f-tooltip--bottom": "_f-tooltip--bottom_xpnbo_50",
|
|
4068
|
+
"f-tooltip--left": "_f-tooltip--left_xpnbo_56",
|
|
4069
|
+
"f-tooltip--right": "_f-tooltip--right_xpnbo_62",
|
|
4070
|
+
"f-tooltip--with-arrow": "_f-tooltip--with-arrow_xpnbo_104"
|
|
4080
4071
|
};
|
|
4081
4072
|
const FTooltip = ({
|
|
4082
|
-
title,
|
|
4073
|
+
title: title2,
|
|
4083
4074
|
children,
|
|
4084
4075
|
placement = "bottom",
|
|
4085
4076
|
arrow: arrow2 = false,
|
|
@@ -4254,14 +4245,14 @@ const FTooltip = ({
|
|
|
4254
4245
|
wrappedChild = cloneElement(children, childProps);
|
|
4255
4246
|
}
|
|
4256
4247
|
const tooltipClasses = [
|
|
4257
|
-
styles$
|
|
4258
|
-
styles$
|
|
4259
|
-
arrow2 ? styles$
|
|
4260
|
-
isVisible ? styles$
|
|
4261
|
-
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"] : "",
|
|
4262
4253
|
className
|
|
4263
4254
|
].filter(Boolean).join(" ");
|
|
4264
|
-
const tooltipElement = mountTooltip &&
|
|
4255
|
+
const tooltipElement = mountTooltip && title2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4265
4256
|
"div",
|
|
4266
4257
|
{
|
|
4267
4258
|
ref: tooltipRef,
|
|
@@ -4269,8 +4260,8 @@ const FTooltip = ({
|
|
|
4269
4260
|
style: { ...style, ...tooltipStyles },
|
|
4270
4261
|
role: "tooltip",
|
|
4271
4262
|
children: [
|
|
4272
|
-
arrow2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
4273
|
-
/* @__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 })
|
|
4274
4265
|
]
|
|
4275
4266
|
}
|
|
4276
4267
|
) : null;
|
|
@@ -4721,7 +4712,7 @@ const FSafeIcon = React.forwardRef(({
|
|
|
4721
4712
|
);
|
|
4722
4713
|
});
|
|
4723
4714
|
FSafeIcon.displayName = "FSafeIcon";
|
|
4724
|
-
const styles$
|
|
4715
|
+
const styles$5 = {
|
|
4725
4716
|
"f-function-block-alert": "_f-function-block-alert_1jotv_1",
|
|
4726
4717
|
"f-function-alert": "_f-function-alert_1jotv_16",
|
|
4727
4718
|
"f-function-alert-ico": "_f-function-alert-ico_1jotv_24",
|
|
@@ -4734,7 +4725,7 @@ const styles$4 = {
|
|
|
4734
4725
|
"f-function-alert-body": "_f-function-alert-body_1jotv_68",
|
|
4735
4726
|
"f-function-alert-footer": "_f-function-alert-footer_1jotv_83"
|
|
4736
4727
|
};
|
|
4737
|
-
const fAlert = ({ title, body, variant = "info" }) => {
|
|
4728
|
+
const fAlert = ({ title: title2, body, variant = "info" }) => {
|
|
4738
4729
|
let ico = "";
|
|
4739
4730
|
switch (variant) {
|
|
4740
4731
|
case "info":
|
|
@@ -4757,21 +4748,21 @@ const fAlert = ({ title, body, variant = "info" }) => {
|
|
|
4757
4748
|
window.document.body.insertAdjacentHTML(
|
|
4758
4749
|
"afterbegin",
|
|
4759
4750
|
`
|
|
4760
|
-
<div class='${styles$
|
|
4761
|
-
<div class='${styles$
|
|
4762
|
-
<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'>
|
|
4763
4754
|
<svg width="28" height="28" viewBox="0 0 16 16">
|
|
4764
4755
|
${ico}
|
|
4765
4756
|
</svg>
|
|
4766
4757
|
</div>
|
|
4767
|
-
<div class='${styles$
|
|
4768
|
-
<div class='${styles$
|
|
4769
|
-
<h4>${
|
|
4758
|
+
<div class='${styles$5["f-function-alert-inside"]}'>
|
|
4759
|
+
<div class='${styles$5["f-function-alert-header"]}'>
|
|
4760
|
+
<h4>${title2 || ""}</h4>
|
|
4770
4761
|
</div>
|
|
4771
|
-
<div class='${styles$
|
|
4762
|
+
<div class='${styles$5["f-function-alert-body"]}'>
|
|
4772
4763
|
${arrBody.join("")}
|
|
4773
4764
|
</div>
|
|
4774
|
-
<div class='${styles$
|
|
4765
|
+
<div class='${styles$5["f-function-alert-footer"]}'>
|
|
4775
4766
|
<FButton
|
|
4776
4767
|
class='${stylesBtn["btn"]} ${stylesBtn["btn-sm"]} ${stylesBtn["btn-primary"]}'
|
|
4777
4768
|
onclick='document.querySelector("#f-function-block-alert").remove()'
|
|
@@ -4786,7 +4777,7 @@ const fAlert = ({ title, body, variant = "info" }) => {
|
|
|
4786
4777
|
);
|
|
4787
4778
|
};
|
|
4788
4779
|
const warning$2 = "_warning_de5a5_31";
|
|
4789
|
-
const styles$
|
|
4780
|
+
const styles$4 = {
|
|
4790
4781
|
"f-function-block-confirm": "_f-function-block-confirm_de5a5_1",
|
|
4791
4782
|
"f-function-confirm": "_f-function-confirm_de5a5_16",
|
|
4792
4783
|
"f-function-confirm-ico": "_f-function-confirm-ico_de5a5_24",
|
|
@@ -4796,27 +4787,27 @@ const styles$3 = {
|
|
|
4796
4787
|
"f-function-confirm-body": "_f-function-confirm-body_de5a5_51",
|
|
4797
4788
|
"f-function-confirm-footer": "_f-function-confirm-footer_de5a5_65"
|
|
4798
4789
|
};
|
|
4799
|
-
const fConfirm = ({ title, body }) => {
|
|
4790
|
+
const fConfirm = ({ title: title2, body }) => {
|
|
4800
4791
|
return new Promise((resolve) => {
|
|
4801
4792
|
window.document.body.insertAdjacentHTML(
|
|
4802
4793
|
"afterbegin",
|
|
4803
4794
|
`
|
|
4804
|
-
<div class='${styles$
|
|
4805
|
-
<div class='${styles$
|
|
4806
|
-
<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}'>
|
|
4807
4798
|
<svg width="28" height="28" viewBox="0 0 16 16">
|
|
4808
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"/>
|
|
4809
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"/>
|
|
4810
4801
|
</svg>
|
|
4811
4802
|
</div>
|
|
4812
|
-
<div class='${styles$
|
|
4813
|
-
<div class='${styles$
|
|
4814
|
-
<h4>${
|
|
4803
|
+
<div class='${styles$4["f-function-confirm-inside"]}'>
|
|
4804
|
+
<div class='${styles$4["f-function-confirm-header"]}'>
|
|
4805
|
+
<h4>${title2 || ""}</h4>
|
|
4815
4806
|
</div>
|
|
4816
|
-
<div class='${styles$
|
|
4807
|
+
<div class='${styles$4["f-function-confirm-body"]}'>
|
|
4817
4808
|
<span>${body}</span>
|
|
4818
4809
|
</div>
|
|
4819
|
-
<div class='${styles$
|
|
4810
|
+
<div class='${styles$4["f-function-confirm-footer"]}'>
|
|
4820
4811
|
<FButton
|
|
4821
4812
|
id="f-function-confirm-ok"
|
|
4822
4813
|
class='${stylesBtn["btn"]} ${stylesBtn["btn-sm"]} ${stylesBtn["btn-success"]}'
|
|
@@ -4856,7 +4847,7 @@ const fConfirm = ({ title, body }) => {
|
|
|
4856
4847
|
});
|
|
4857
4848
|
};
|
|
4858
4849
|
const warning$1 = "_warning_1o5ku_31";
|
|
4859
|
-
const styles$
|
|
4850
|
+
const styles$3 = {
|
|
4860
4851
|
"f-function-block-prompt": "_f-function-block-prompt_1o5ku_1",
|
|
4861
4852
|
"f-function-prompt": "_f-function-prompt_1o5ku_16",
|
|
4862
4853
|
"f-function-prompt-ico": "_f-function-prompt-ico_1o5ku_24",
|
|
@@ -4873,32 +4864,32 @@ function getValue(element) {
|
|
|
4873
4864
|
return null;
|
|
4874
4865
|
}
|
|
4875
4866
|
}
|
|
4876
|
-
const fPrompt = ({ title, body }) => {
|
|
4867
|
+
const fPrompt = ({ title: title2, body }) => {
|
|
4877
4868
|
return new Promise((resolve) => {
|
|
4878
4869
|
window.document.body.insertAdjacentHTML(
|
|
4879
4870
|
"afterbegin",
|
|
4880
4871
|
`
|
|
4881
|
-
<div class='${styles$
|
|
4882
|
-
<div class='${styles$
|
|
4883
|
-
<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}'>
|
|
4884
4875
|
<svg width="28" height="28" viewBox="0 0 16 16">
|
|
4885
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"/>
|
|
4886
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"/>
|
|
4887
4878
|
</svg>
|
|
4888
4879
|
</div>
|
|
4889
|
-
<div class='${styles$
|
|
4890
|
-
<div class='${styles$
|
|
4891
|
-
<h4>${
|
|
4880
|
+
<div class='${styles$3["f-function-prompt-inside"]}'>
|
|
4881
|
+
<div class='${styles$3["f-function-prompt-header"]}'>
|
|
4882
|
+
<h4>${title2 || ""}</h4>
|
|
4892
4883
|
</div>
|
|
4893
|
-
<div class='${styles$
|
|
4884
|
+
<div class='${styles$3["f-function-prompt-body"]}'>
|
|
4894
4885
|
<span>${body || ""}</span>
|
|
4895
4886
|
<input
|
|
4896
4887
|
type="text"
|
|
4897
4888
|
id="f-function-prompt-input"
|
|
4898
|
-
class="form-control ${styles$
|
|
4889
|
+
class="form-control ${styles$3["f-function-prompt-input"]}"
|
|
4899
4890
|
/>
|
|
4900
4891
|
</div>
|
|
4901
|
-
<div class='${styles$
|
|
4892
|
+
<div class='${styles$3["f-function-prompt-footer"]}'>
|
|
4902
4893
|
<button
|
|
4903
4894
|
id="f-function-prompt-ok"
|
|
4904
4895
|
class='${stylesBtn["btn"]} ${stylesBtn["btn-sm"]} ${stylesBtn["btn-success"]}'
|
|
@@ -7133,7 +7124,7 @@ const document$1 = (data, format = "A4", orientation = "vertical") => {
|
|
|
7133
7124
|
}
|
|
7134
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>`;
|
|
7135
7126
|
};
|
|
7136
|
-
const styles$
|
|
7127
|
+
const styles$2 = () => {
|
|
7137
7128
|
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
7138
7129
|
<w:styles xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
7139
7130
|
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
@@ -10056,7 +10047,7 @@ async function generateDocx({ data, format, orientation, fileName }) {
|
|
|
10056
10047
|
zip.file("word/document.xml", document$1(data, format, orientation));
|
|
10057
10048
|
zip.file("word/fontTable.xml", fontTable());
|
|
10058
10049
|
zip.file("word/settings.xml", settings());
|
|
10059
|
-
zip.file("word/styles.xml", styles$
|
|
10050
|
+
zip.file("word/styles.xml", styles$2());
|
|
10060
10051
|
zip.file("word/theme/theme1.xml", theme1());
|
|
10061
10052
|
zip.file("word/webSettings.xml", webSettings());
|
|
10062
10053
|
const content = await zip.generateAsync({ type: "blob" });
|
|
@@ -49856,7 +49847,7 @@ const info = "_info_1da8u_75";
|
|
|
49856
49847
|
const error = "_error_1da8u_80";
|
|
49857
49848
|
const success = "_success_1da8u_85";
|
|
49858
49849
|
const warning = "_warning_1da8u_90";
|
|
49859
|
-
const styles = {
|
|
49850
|
+
const styles$1 = {
|
|
49860
49851
|
"f-function-block-notification": "_f-function-block-notification_1da8u_51",
|
|
49861
49852
|
"f-function-notification": "_f-function-notification_1da8u_55",
|
|
49862
49853
|
"f-function-notification-ico": "_f-function-notification-ico_1da8u_67",
|
|
@@ -49882,7 +49873,7 @@ const styles = {
|
|
|
49882
49873
|
"notification-progress-animated": "_notification-progress-animated_1da8u_1"
|
|
49883
49874
|
};
|
|
49884
49875
|
const fNotification = ({
|
|
49885
|
-
title,
|
|
49876
|
+
title: title2,
|
|
49886
49877
|
body,
|
|
49887
49878
|
variant = "info",
|
|
49888
49879
|
timeSecClose,
|
|
@@ -49914,31 +49905,31 @@ const fNotification = ({
|
|
|
49914
49905
|
const randId = fGenerateUniqueId();
|
|
49915
49906
|
const idFuncBlockNot = "f-function-block-notification-" + randId;
|
|
49916
49907
|
const not = `
|
|
49917
|
-
<div class='${styles["f-function-block-notification"]}' id="${id === void 0 ? idFuncBlockNot : id}">
|
|
49918
|
-
<div class='${styles["f-function-notification"]}'>
|
|
49919
|
-
<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"]}'>
|
|
49920
49911
|
<svg width="28" height="28" viewBox="0 0 16 16">
|
|
49921
49912
|
${ico}
|
|
49922
49913
|
</svg>
|
|
49923
49914
|
</div>
|
|
49924
|
-
<div class='${styles["f-function-notification-inside"]}'>
|
|
49925
|
-
<div class='${styles["f-function-notification-header"]}'>
|
|
49926
|
-
<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>
|
|
49927
49918
|
${buttonClose ? `<svg
|
|
49928
49919
|
width="25"
|
|
49929
|
-
class="bi bi-x-lg primary ${styles["close-not"]}"
|
|
49920
|
+
class="bi bi-x-lg primary ${styles$1["close-not"]}"
|
|
49930
49921
|
viewBox="0 0 16 16"
|
|
49931
49922
|
>
|
|
49932
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"/>
|
|
49933
49924
|
</svg>` : ""}
|
|
49934
49925
|
</div>
|
|
49935
|
-
<div class='${styles["f-function-notification-body"]}'>
|
|
49926
|
+
<div class='${styles$1["f-function-notification-body"]}'>
|
|
49936
49927
|
${arrBody.join("")}
|
|
49937
49928
|
</div>
|
|
49938
49929
|
</div>
|
|
49939
|
-
${timeSecClose ? `<div class="${styles["f-notification-progress"]}">
|
|
49940
|
-
<div class="${styles["f-notification-progress-bar"]}">
|
|
49941
|
-
<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;"/>
|
|
49942
49933
|
</div>
|
|
49943
49934
|
</div>` : ""}
|
|
49944
49935
|
</div>
|
|
@@ -49966,11 +49957,11 @@ const fNotification = ({
|
|
|
49966
49957
|
if (buttonClose) {
|
|
49967
49958
|
const el = window.document.querySelector(`#${idFuncBlockNot}`);
|
|
49968
49959
|
if (el !== null) {
|
|
49969
|
-
const svgElement = el.querySelector(`.${styles["close-not"]}`);
|
|
49960
|
+
const svgElement = el.querySelector(`.${styles$1["close-not"]}`);
|
|
49970
49961
|
if (svgElement !== null) {
|
|
49971
49962
|
svgElement.addEventListener("click", () => {
|
|
49972
|
-
el.classList.remove(styles["f-function-notification-visible"]);
|
|
49973
|
-
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"]);
|
|
49974
49965
|
setTimeout(() => {
|
|
49975
49966
|
if (el.parentNode) {
|
|
49976
49967
|
el.parentNode.removeChild(el);
|
|
@@ -49984,14 +49975,14 @@ const fNotification = ({
|
|
|
49984
49975
|
setTimeout(() => {
|
|
49985
49976
|
const el = window.document.querySelector(`#${idFuncBlockNot}`);
|
|
49986
49977
|
if (el !== null && el !== void 0) {
|
|
49987
|
-
el.className += " " + styles["f-function-notification-visible"];
|
|
49978
|
+
el.className += " " + styles$1["f-function-notification-visible"];
|
|
49988
49979
|
}
|
|
49989
49980
|
});
|
|
49990
49981
|
if (timeSecClose !== void 0) {
|
|
49991
49982
|
const el = window.document.querySelector(`#${idFuncBlockNot}`);
|
|
49992
49983
|
if (el !== null) {
|
|
49993
49984
|
setTimeout(() => {
|
|
49994
|
-
el.className = styles["f-function-notification-hidden"];
|
|
49985
|
+
el.className = styles$1["f-function-notification-hidden"];
|
|
49995
49986
|
}, (timeSecClose - 1) * 1e3);
|
|
49996
49987
|
setTimeout(() => {
|
|
49997
49988
|
if (el.parentNode) {
|
|
@@ -50009,9 +50000,9 @@ const fNotificationDelete = (id) => {
|
|
|
50009
50000
|
if (!el) return;
|
|
50010
50001
|
const container2 = document.getElementById("block-notification");
|
|
50011
50002
|
if (!container2) return;
|
|
50012
|
-
el.className = styles["f-function-notification-hidden"];
|
|
50003
|
+
el.className = styles$1["f-function-notification-hidden"];
|
|
50013
50004
|
setTimeout(() => {
|
|
50014
|
-
el.classList.remove(styles["f-function-notification-visible"]);
|
|
50005
|
+
el.classList.remove(styles$1["f-function-notification-visible"]);
|
|
50015
50006
|
}, 1e3);
|
|
50016
50007
|
setTimeout(() => {
|
|
50017
50008
|
if (el.parentNode) el.parentNode.removeChild(el);
|
|
@@ -52650,6 +52641,102 @@ const useFApi = ({ doNotUseState = false, defaultState = null, getValueByPath =
|
|
|
52650
52641
|
};
|
|
52651
52642
|
return { data, loading, error: error2, execute, reset };
|
|
52652
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
|
+
};
|
|
52653
52740
|
export {
|
|
52654
52741
|
FAccordion,
|
|
52655
52742
|
FAlert,
|
|
@@ -52718,6 +52805,7 @@ export {
|
|
|
52718
52805
|
FTooltip,
|
|
52719
52806
|
FTrashIcon,
|
|
52720
52807
|
FUnlinkIcon,
|
|
52808
|
+
FWaterErrorBoundaryPage,
|
|
52721
52809
|
fAlert,
|
|
52722
52810
|
fBankRound,
|
|
52723
52811
|
fConfirm,
|