@sberbusiness/triplex-next 0.1.4 → 0.1.5
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/README.md +145 -0
- package/chunks/AlertProcessSpoiler-Dz7CKApv.js +39 -0
- package/chunks/Card.module-BVAy3tJd.js +17 -0
- package/chunks/DropdownListItem-CwqothNf.js +56 -0
- package/chunks/DropdownMobile.module-zLTfuu5W.js +19 -0
- package/chunks/Footer.module-C8ediOIN.js +11 -0
- package/chunks/FormFieldInput-Cmc0beZ5.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-DUesMumi.js +9 -0
- package/chunks/HeaderTabs.module-B8b_Vmmv.js +9 -0
- package/chunks/HeaderTitle.module-CS0vKAYw.js +9 -0
- package/chunks/ListItemControlsButton-Bn_onrHQ.js +43 -0
- package/chunks/ListItemTail.module-8r8-WRy-.js +12 -0
- package/chunks/ListMasterFooter.module-Bylyf04G.js +10 -0
- package/chunks/Overlay.module-BfeGcilV.js +18 -0
- package/chunks/Page.module-DI3KI2pW.js +16 -0
- package/chunks/TabsExtended.module-De1gs7fV.js +13 -0
- package/chunks/TabsExtendedUtils-CZCrojKY.js +23 -0
- package/chunks/TooltipDesktop.module-0Me4J_t3.js +19 -0
- package/chunks/index-1QUfI5kD.js +931 -0
- package/chunks/utils-DUlFnyF3.js +36 -0
- package/chunks/vendor-CF2m175I.js +5891 -0
- package/components/Alert/AlertContext/AlertContext.js +52 -0
- package/components/Alert/AlertProcess/AlertProcess.js +60 -0
- package/components/Alert/AlertProcess/AlertProcessContext.js +10 -0
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +11 -0
- package/components/Alert/AlertTypeUtils.js +12 -0
- package/components/Alert/EAlertType.js +5 -0
- package/components/Alert/index.js +11 -0
- package/components/Body/Body.js +12 -0
- package/components/Body/index.js +5 -0
- package/components/Button/Button.js +14 -0
- package/components/Button/ButtonBase.js +8 -0
- package/components/Button/ButtonDropdown.js +26 -0
- package/components/Button/ButtonDropdownExtended.js +9 -0
- package/components/Button/ButtonIcon.js +29 -0
- package/components/Button/enums.js +7 -0
- package/components/Button/index.js +16 -0
- package/components/Card/CardAction.js +109 -0
- package/components/Card/CardStatic.js +34 -0
- package/components/Card/components/CardContent/CardContent.js +31 -0
- package/components/Card/components/CardContent/components/CardContentBody.js +9 -0
- package/components/Card/components/CardContent/components/CardContentFooter.js +9 -0
- package/components/Card/components/CardContent/components/CardContentHeader.js +9 -0
- package/components/Card/components/CardMedia.js +12 -0
- package/components/Card/enums.js +7 -0
- package/components/Card/index.js +11 -0
- package/components/Card/types.js +2 -0
- package/components/Card/utils.js +14 -0
- package/components/Checkbox/Checkbox.js +36 -0
- package/components/Checkbox/CheckboxXGroup.js +20 -0
- package/components/Checkbox/CheckboxYGroup.js +13 -0
- package/components/Checkbox/enum.js +5 -0
- package/components/Checkbox/index.js +11 -0
- package/components/Col/Col.js +183 -0
- package/components/Col/index.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +82 -0
- package/components/DesignTokens/DesignTokensComponents.js +111 -0
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +111 -0
- package/components/DesignTokens/DesignTokensCore.js +466 -0
- package/components/DesignTokens/DesignTokensCoreThemeDark.js +6 -0
- package/components/DesignTokens/GetTokensValueByTheme.js +11 -0
- package/components/DesignTokens/components/AlertContext.js +20 -0
- package/components/DesignTokens/components/AlertProcess.js +23 -0
- package/components/DesignTokens/components/Button.js +107 -0
- package/components/DesignTokens/components/Card.js +53 -0
- package/components/DesignTokens/components/Checkbox.js +35 -0
- package/components/DesignTokens/components/Dropdown.js +11 -0
- package/components/DesignTokens/components/DropdownList.js +20 -0
- package/components/DesignTokens/components/DropdownMobile.js +23 -0
- package/components/DesignTokens/components/DropdownMobileList.js +11 -0
- package/components/DesignTokens/components/FooterPage.js +9 -0
- package/components/DesignTokens/components/FormField.js +50 -0
- package/components/DesignTokens/components/HeaderPage.js +9 -0
- package/components/DesignTokens/components/Link.js +20 -0
- package/components/DesignTokens/components/ListItem.js +20 -0
- package/components/DesignTokens/components/ListItemControlsButton.js +11 -0
- package/components/DesignTokens/components/ListMaster.js +23 -0
- package/components/DesignTokens/components/Loader.js +11 -0
- package/components/DesignTokens/components/LoaderWidget.js +17 -0
- package/components/DesignTokens/components/Overlay.js +11 -0
- package/components/DesignTokens/components/Page.js +9 -0
- package/components/DesignTokens/components/Pagination.js +23 -0
- package/components/DesignTokens/components/Radio.js +41 -0
- package/components/DesignTokens/components/SegmentedControl.js +20 -0
- package/components/DesignTokens/components/SegmentedControlSegment.js +158 -0
- package/components/DesignTokens/components/Skeleton.js +20 -0
- package/components/DesignTokens/components/Tabs.js +26 -0
- package/components/DesignTokens/components/Tooltip.js +40 -0
- package/components/DesignTokens/components/Typography.js +41 -0
- package/components/DesignTokens/components/UploadZone.js +23 -0
- package/components/DesignTokens/components/index.js +90 -0
- package/components/DesignTokens/index.js +11 -0
- package/components/DesignTokens/types/DesignTokenTypes.js +2 -0
- package/components/DesignTokens/types/DesignTokensTypes.js +134 -0
- package/components/Dropdown/Dropdown.js +10 -0
- package/components/Dropdown/DropdownListContext.js +10 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +21 -0
- package/components/Dropdown/desktop/DropdownList.js +97 -0
- package/components/Dropdown/desktop/DropdownListItem.js +9 -0
- package/components/Dropdown/enums.js +8 -0
- package/components/Dropdown/index.js +32 -0
- package/components/Dropdown/mobile/DropdownMobile.js +22 -0
- package/components/Dropdown/mobile/DropdownMobileBody.js +12 -0
- package/components/Dropdown/mobile/DropdownMobileClose.js +14 -0
- package/components/Dropdown/mobile/DropdownMobileFooter.js +12 -0
- package/components/Dropdown/mobile/DropdownMobileHeader.js +15 -0
- package/components/Dropdown/mobile/DropdownMobileInner.js +56 -0
- package/components/Dropdown/mobile/DropdownMobileInput.js +12 -0
- package/components/Dropdown/mobile/DropdownMobileList.js +21 -0
- package/components/Dropdown/mobile/DropdownMobileListItem.js +37 -0
- package/components/Dropdown/mobile/index.js +21 -0
- package/components/Footer/Footer.js +29 -0
- package/components/Footer/components/FooterDescription.js +20 -0
- package/components/Footer/components/FooterDescriptionContent.js +12 -0
- package/components/Footer/components/FooterDescriptionControls.js +12 -0
- package/components/Footer/index.js +11 -0
- package/components/FormField/FormField.js +76 -0
- package/components/FormField/FormFieldContext.js +27 -0
- package/components/FormField/FormFieldDescriptionContext.js +13 -0
- package/components/FormField/components/FormFieldClear.js +29 -0
- package/components/FormField/components/FormFieldCounter.js +16 -0
- package/components/FormField/components/FormFieldDescription.js +16 -0
- package/components/FormField/components/FormFieldInput.js +9 -0
- package/components/FormField/components/FormFieldLabel.js +42 -0
- package/components/FormField/components/FormFieldMaskedInput.js +95 -0
- package/components/FormField/components/FormFieldMaskedInputPresets.js +168 -0
- package/components/FormField/components/FormFieldPostfix.js +24 -0
- package/components/FormField/components/FormFieldPrefix.js +24 -0
- package/components/FormField/components/FormFieldTextarea.js +42 -0
- package/components/FormField/consts.js +5 -0
- package/components/FormField/enums.js +5 -0
- package/components/FormField/index.js +25 -0
- package/components/FormGroup/FormGroup.js +8 -0
- package/components/FormGroup/index.js +5 -0
- package/components/Gap/Gap.js +8 -0
- package/components/Gap/index.js +5 -0
- package/components/Header/Header.js +40 -0
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +20 -0
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +12 -0
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +12 -0
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +22 -0
- package/components/Header/components/HeaderTabs/HeaderTabs.js +20 -0
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +12 -0
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +12 -0
- package/components/Header/components/HeaderTitle/HeaderTitle.js +20 -0
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +12 -0
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +12 -0
- package/components/Header/index.js +25 -0
- package/components/Link/Link.js +72 -0
- package/components/Link/index.js +5 -0
- package/components/List/List.js +23 -0
- package/components/List/ListSortable.js +75 -0
- package/components/List/components/ListEmptyState.js +13 -0
- package/components/List/components/ListItem.js +21 -0
- package/components/List/components/ListItemContent.js +27 -0
- package/components/List/components/ListItemContext.js +10 -0
- package/components/List/components/ListItemControls.js +13 -0
- package/components/List/components/ListItemControlsButton.js +10 -0
- package/components/List/components/ListItemControlsButtonDropdown.js +22 -0
- package/components/List/components/ListItemLoading.js +13 -0
- package/components/List/components/ListItemSelectable.js +46 -0
- package/components/List/components/ListItemTable.js +22 -0
- package/components/List/components/ListItemTailLeft.js +24 -0
- package/components/List/components/ListItemTailRight.js +24 -0
- package/components/List/components/ListSortableItem.js +21 -0
- package/components/List/components/ListSortableItemControls.js +21 -0
- package/components/List/components/ListSortableItemTarget.js +28 -0
- package/components/List/index.js +35 -0
- package/components/ListMaster/ListMaster.js +21 -0
- package/components/ListMaster/components/ListMasterBody.js +19 -0
- package/components/ListMaster/components/ListMasterChipGroup.js +18 -0
- package/components/ListMaster/components/ListMasterFooter.js +26 -0
- package/components/ListMaster/components/ListMasterFooterControls.js +12 -0
- package/components/ListMaster/components/ListMasterFooterDescription.js +12 -0
- package/components/ListMaster/components/ListMasterHeader.js +40 -0
- package/components/ListMaster/components/SelectionControls.js +22 -0
- package/components/ListMaster/index.js +19 -0
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +22 -0
- package/components/Loader/LoaderSmall/LoaderSmall.js +48 -0
- package/components/Loader/LoaderSmall/enum.js +6 -0
- package/components/Loader/index.js +10 -0
- package/components/LoaderWidget/LoaderWidget.js +28 -0
- package/components/LoaderWidget/index.js +5 -0
- package/components/MediaWidth/MediaBetweenWidth.js +9 -0
- package/components/MediaWidth/MediaMaxWidth.js +6 -0
- package/components/MediaWidth/MediaMinWidth.js +6 -0
- package/components/MediaWidth/MediaWidth.js +10 -0
- package/components/MediaWidth/index.js +13 -0
- package/components/MediaWidth/useMatchMedia.js +14 -0
- package/components/MobileView/MobileView.js +8 -0
- package/components/MobileView/index.js +5 -0
- package/components/Overlay/Overlay.js +57 -0
- package/components/Overlay/OverlayBase.js +28 -0
- package/components/Overlay/OverlayMask.js +19 -0
- package/components/Overlay/OverlayPanel.js +46 -0
- package/components/Page/Page.js +23 -0
- package/components/Page/components/BodyPage.js +11 -0
- package/components/Page/components/FooterPage.js +39 -0
- package/components/Page/components/HeaderPage.js +42 -0
- package/components/Page/components/enums.js +6 -0
- package/components/Page/index.js +8 -0
- package/components/Pagination/Pagination.js +22 -0
- package/components/Pagination/components/PaginationExtended.js +22 -0
- package/components/Pagination/components/PaginationNavigation.js +67 -0
- package/components/Pagination/components/PaginationNavigationButton.js +29 -0
- package/components/Pagination/components/PaginationNavigationExtended.js +13 -0
- package/components/Pagination/components/PaginationNavigationExtendedItem.js +10 -0
- package/components/Pagination/components/PaginationPageButton.js +29 -0
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -0
- package/components/Pagination/components/PaginationSelect.js +35 -0
- package/components/Pagination/enums.js +5 -0
- package/components/Pagination/index.js +23 -0
- package/components/Pagination/utils/paginationUtils.js +34 -0
- package/components/Portal/Portal.js +6 -0
- package/components/Radio/Radio.js +30 -0
- package/components/Radio/RadioXGroup.js +20 -0
- package/components/Radio/RadioYGroup.js +13 -0
- package/components/Radio/enum.js +5 -0
- package/components/Radio/index.js +11 -0
- package/components/Row/Row.js +14 -0
- package/components/Row/index.js +5 -0
- package/components/SegmentedControl/SegmentedControl.js +10 -0
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -0
- package/components/SegmentedControl/enums.js +7 -0
- package/components/SegmentedControl/index.js +11 -0
- package/components/SegmentedControl/types.js +2 -0
- package/components/Skeleton/Skeleton.js +22 -0
- package/components/Skeleton/enums.js +5 -0
- package/components/Skeleton/index.js +7 -0
- package/components/SwipeableArea/SwipeableArea.js +140 -0
- package/components/SwipeableArea/index.js +5 -0
- package/components/TabsExtended/TabsExtended.js +38 -0
- package/components/TabsExtended/TabsExtendedContext.js +17 -0
- package/components/TabsExtended/TabsExtendedUtils.js +8 -0
- package/components/TabsExtended/components/TabsExtendedContent.js +20 -0
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +26 -0
- package/components/TabsExtended/components/TabsExtendedTab.js +38 -0
- package/components/TabsExtended/components/TabsExtendedTabButton.js +22 -0
- package/components/TabsExtended/components/TabsExtendedTabContext.js +8 -0
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +70 -0
- package/components/TabsExtended/enums.js +5 -0
- package/components/TabsExtended/index.js +7 -0
- package/components/TextField/MaskedField.js +92 -0
- package/components/TextField/TextField.js +92 -0
- package/components/TextField/TextFieldBase.js +92 -0
- package/components/TextField/index.js +6 -0
- package/components/ThemeProvider/ETriplexNextTheme.js +5 -0
- package/components/ThemeProvider/ThemeProvider.js +28 -0
- package/components/ThemeProvider/ThemeProviderContext.js +14 -0
- package/components/ThemeProvider/components/ThemeProviderView.js +36 -0
- package/components/ThemeProvider/index.js +11 -0
- package/components/ThemeProvider/useToken.js +10 -0
- package/components/Tooltip/Tooltip.js +68 -0
- package/components/Tooltip/TootlipContext.js +18 -0
- package/components/Tooltip/components/common/TooltipBody.js +16 -0
- package/components/Tooltip/components/common/TooltipLink.js +34 -0
- package/components/Tooltip/components/common/TooltipTarget.js +19 -0
- package/components/Tooltip/components/common/TooltipXButton.js +16 -0
- package/components/Tooltip/components/desktop/TooltipDesktop.js +69 -0
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +241 -0
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +29 -0
- package/components/Tooltip/components/mobile/TooltipMobile.js +57 -0
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +14 -0
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +18 -0
- package/components/Tooltip/enums.js +14 -0
- package/components/Tooltip/index.js +8 -0
- package/components/Tooltip/types.js +2 -0
- package/components/Tooltip/utils/Positioning.js +124 -0
- package/components/Tooltip/utils/useTooltipTheme.js +31 -0
- package/components/Typography/Caption.js +54 -0
- package/components/Typography/Text.js +62 -0
- package/components/Typography/Title.js +58 -0
- package/components/Typography/enums.js +11 -0
- package/components/Typography/index.js +17 -0
- package/components/Typography/types.js +2 -0
- package/components/Typography/utils.js +6 -0
- package/components/UploadZone/UploadZone.js +10 -0
- package/components/UploadZone/components/UploadZoneInput.js +143 -0
- package/components/UploadZone/index.js +6 -0
- package/components/index.js +256 -0
- package/consts/IndentConst.js +2 -0
- package/enums/EFocusSource.js +5 -0
- package/generated/refTokenTypes.js +5 -0
- package/helpers/breakpoints.js +5 -0
- package/helpers/less/breakpoints.less +9 -0
- package/helpers/less/z-indexes.less +39 -0
- package/index.d.ts +4406 -0
- package/index.js +257 -0
- package/package.json +32 -94
- package/styles/triplex-next.css +333 -0
- package/utils/keyboard.js +50 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { c as r } from "../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const c = "list__d12c7998", m = {
|
|
5
|
+
list: c
|
|
6
|
+
}, n = i.forwardRef(({ children: s, className: t, loading: l, ...o }, a) => /* @__PURE__ */ e(
|
|
7
|
+
"ul",
|
|
8
|
+
{
|
|
9
|
+
className: r(m.list, t),
|
|
10
|
+
...o,
|
|
11
|
+
"data-tx": process.env.npm_package_version,
|
|
12
|
+
ref: a,
|
|
13
|
+
children: [
|
|
14
|
+
s,
|
|
15
|
+
l ? "Загрузка..." : null
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
));
|
|
19
|
+
n.displayName = "List";
|
|
20
|
+
export {
|
|
21
|
+
n as List
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=List.js.map
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var x = Object.defineProperty;
|
|
2
|
+
var p = (t, e, r) => e in t ? x(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var o = (t, e, r) => p(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
5
|
+
import E from "react";
|
|
6
|
+
import { u as b, a as f, D as M, M as T, r as D, b as L, S as w, v as y, d as I, T as C, e as H } from "../../chunks/vendor-CF2m175I.js";
|
|
7
|
+
import { List as N } from "./List.js";
|
|
8
|
+
class u extends H {
|
|
9
|
+
}
|
|
10
|
+
o(u, "activators", [
|
|
11
|
+
{
|
|
12
|
+
eventName: "onMouseDown",
|
|
13
|
+
handler: ({ nativeEvent: e }, { onActivation: r }) => {
|
|
14
|
+
var s;
|
|
15
|
+
if (e.button === 2)
|
|
16
|
+
return !1;
|
|
17
|
+
if (e.target instanceof HTMLElement) {
|
|
18
|
+
let a = e.target;
|
|
19
|
+
for (; a !== null; ) {
|
|
20
|
+
if (((s = a.dataset) == null ? void 0 : s.draggable) === "false")
|
|
21
|
+
return !1;
|
|
22
|
+
a = a.parentElement;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return r == null || r({ event: e }), !0;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
]);
|
|
29
|
+
class g extends C {
|
|
30
|
+
}
|
|
31
|
+
o(g, "activators", [
|
|
32
|
+
{
|
|
33
|
+
eventName: "onTouchStart",
|
|
34
|
+
handler: ({ nativeEvent: e }, { onActivation: r }) => {
|
|
35
|
+
var s;
|
|
36
|
+
if (e.touches.length > 1)
|
|
37
|
+
return !1;
|
|
38
|
+
if (e.target instanceof HTMLElement) {
|
|
39
|
+
let a = e.target;
|
|
40
|
+
for (; a !== null; ) {
|
|
41
|
+
if (((s = a.dataset) == null ? void 0 : s.draggable) === "false")
|
|
42
|
+
return !1;
|
|
43
|
+
a = a.parentElement;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return r == null || r({ event: e }), !0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]);
|
|
50
|
+
function R({ items: t, onItemsChange: e, ...r }, s) {
|
|
51
|
+
const a = b(f(u), f(g)), c = (m) => {
|
|
52
|
+
const { active: i, over: n } = m;
|
|
53
|
+
if (n && i.id !== n.id) {
|
|
54
|
+
const h = t.findIndex((l) => l.id === i.id), S = t.findIndex((l) => l.id === n.id);
|
|
55
|
+
e(I(t, h, S));
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
return /* @__PURE__ */ d(
|
|
59
|
+
M,
|
|
60
|
+
{
|
|
61
|
+
sensors: a,
|
|
62
|
+
modifiers: [D, L],
|
|
63
|
+
measuring: { droppable: { frequency: T.WhileDragging } },
|
|
64
|
+
onDragEnd: c,
|
|
65
|
+
children: /* @__PURE__ */ d(w, { items: t, strategy: y, children: /* @__PURE__ */ d(N, { ...r, ref: s }) })
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
const W = E.forwardRef(R);
|
|
70
|
+
export {
|
|
71
|
+
u as AdvancedMouseSensor,
|
|
72
|
+
g as AdvancedTouchSensor,
|
|
73
|
+
W as ListSortable
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=ListSortable.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const p = "listEmptyState__f27b72f3", l = {
|
|
5
|
+
listEmptyState: p
|
|
6
|
+
}, r = i.forwardRef(
|
|
7
|
+
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(l.listEmptyState, s), ...m, ref: a, children: t })
|
|
8
|
+
);
|
|
9
|
+
r.displayName = "ListItemEmpty";
|
|
10
|
+
export {
|
|
11
|
+
r as ListEmptyState
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=ListEmptyState.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import m, { useState as c } from "react";
|
|
3
|
+
import { ListItemContext as d } from "./ListItemContext.js";
|
|
4
|
+
const l = m.forwardRef(({ children: t, className: r, ...o }, s) => {
|
|
5
|
+
const [a, i] = c(!1);
|
|
6
|
+
return /* @__PURE__ */ e(d.Provider, { value: { selected: a, setSelected: i }, children: /* @__PURE__ */ e(
|
|
7
|
+
"li",
|
|
8
|
+
{
|
|
9
|
+
className: r,
|
|
10
|
+
...o,
|
|
11
|
+
"data-tx": process.env.npm_package_version,
|
|
12
|
+
ref: s,
|
|
13
|
+
children: t
|
|
14
|
+
}
|
|
15
|
+
) });
|
|
16
|
+
});
|
|
17
|
+
l.displayName = "ListItem";
|
|
18
|
+
export {
|
|
19
|
+
l as ListItem
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ListItem.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import r, { useContext as i } from "react";
|
|
3
|
+
import { c as l } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import { ListItemContext as a } from "./ListItemContext.js";
|
|
5
|
+
const d = "listItemContent__4ebb058b", p = "selected__66a85052", t = {
|
|
6
|
+
listItemContent: d,
|
|
7
|
+
selected: p
|
|
8
|
+
}, C = r.forwardRef(
|
|
9
|
+
({ children: e, className: s, ...o }, n) => {
|
|
10
|
+
const { selected: m } = i(a);
|
|
11
|
+
return /* @__PURE__ */ c(
|
|
12
|
+
"div",
|
|
13
|
+
{
|
|
14
|
+
className: l(t.listItemContent, { [t.selected]: m }, s),
|
|
15
|
+
...o,
|
|
16
|
+
"data-tx": process.env.npm_package_version,
|
|
17
|
+
ref: n,
|
|
18
|
+
children: e
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
C.displayName = "ListItemContent";
|
|
24
|
+
export {
|
|
25
|
+
C as ListItemContent
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=ListItemContent.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const i = "listItemControls__3cf11720", n = {
|
|
5
|
+
listItemControls: i
|
|
6
|
+
}, a = m.forwardRef(
|
|
7
|
+
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className: e(n.listItemControls, o), ...s, ref: l, children: t })
|
|
8
|
+
);
|
|
9
|
+
a.displayName = "ListItemControls";
|
|
10
|
+
export {
|
|
11
|
+
a as ListItemControls
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=ListItemControls.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import { L as e } from "../../../chunks/ListItemControlsButton-Bn_onrHQ.js";
|
|
5
|
+
import "../../Typography/enums.js";
|
|
6
|
+
import "../../Typography/Text.js";
|
|
7
|
+
export {
|
|
8
|
+
e as ListItemControlsButton
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=ListItemControlsButton.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import "../../Typography/enums.js";
|
|
5
|
+
import "../../Typography/Text.js";
|
|
6
|
+
import { L as D } from "../../../chunks/index-1QUfI5kD.js";
|
|
7
|
+
import "../../../utils/keyboard.js";
|
|
8
|
+
import "../../Dropdown/DropdownListContext.js";
|
|
9
|
+
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
10
|
+
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
11
|
+
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
12
|
+
import "../../Dropdown/mobile/DropdownMobileFooter.js";
|
|
13
|
+
import "../../Dropdown/mobile/DropdownMobileHeader.js";
|
|
14
|
+
import "../../Dropdown/mobile/DropdownMobileInner.js";
|
|
15
|
+
import "../../Dropdown/mobile/DropdownMobileInput.js";
|
|
16
|
+
import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
17
|
+
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
18
|
+
import "../../../chunks/ListItemControlsButton-Bn_onrHQ.js";
|
|
19
|
+
export {
|
|
20
|
+
D as ListItemControlsButtonDropdown
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=ListItemControlsButtonDropdown.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as a } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const m = "listItemLoading__572e8981", d = {
|
|
5
|
+
listItemLoading: m
|
|
6
|
+
}, l = e.forwardRef(
|
|
7
|
+
({ className: t, ...i }, o) => /* @__PURE__ */ s("div", { className: a(d.listItemLoading, t), ...i, ref: o, children: "Лоадер" })
|
|
8
|
+
);
|
|
9
|
+
l.displayName = "ListItemLoading";
|
|
10
|
+
export {
|
|
11
|
+
l as ListItemLoading
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=ListItemLoading.js.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import p, { useContext as m, useEffect as d } from "react";
|
|
3
|
+
import { c as k } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import { Checkbox as x } from "../../Checkbox/Checkbox.js";
|
|
5
|
+
import { ListItemContext as _ } from "./ListItemContext.js";
|
|
6
|
+
const f = "listItemSelectable__08a20734", L = "selected__66a85052", C = "checkboxWrapper__fab5de4a", W = "childrenWrapper__3746b1e6", I = "checkboxLabel__a18469b2", S = "checkboxLabelClickArea__77e60308", e = {
|
|
7
|
+
listItemSelectable: f,
|
|
8
|
+
selected: L,
|
|
9
|
+
checkboxWrapper: C,
|
|
10
|
+
childrenWrapper: W,
|
|
11
|
+
checkboxLabel: I,
|
|
12
|
+
checkboxLabelClickArea: S
|
|
13
|
+
}, N = p.forwardRef(
|
|
14
|
+
({ selected: c, children: l, className: r, onSelect: s, ...o }, b) => {
|
|
15
|
+
const { setSelected: t } = m(_), i = (h) => {
|
|
16
|
+
s(h.target.checked);
|
|
17
|
+
};
|
|
18
|
+
return d(() => {
|
|
19
|
+
t(c);
|
|
20
|
+
}, [c, t]), /* @__PURE__ */ n(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: k(e.listItemSelectable, { [e.selected]: c }, r),
|
|
24
|
+
...o,
|
|
25
|
+
ref: b,
|
|
26
|
+
children: [
|
|
27
|
+
/* @__PURE__ */ a("div", { className: e.childrenWrapper, children: l }),
|
|
28
|
+
/* @__PURE__ */ a("div", { className: e.checkboxWrapper, children: /* @__PURE__ */ a(
|
|
29
|
+
x,
|
|
30
|
+
{
|
|
31
|
+
checked: c,
|
|
32
|
+
onChange: i,
|
|
33
|
+
labelAttributes: { className: e.checkboxLabel },
|
|
34
|
+
children: /* @__PURE__ */ a("span", { className: e.checkboxLabelClickArea })
|
|
35
|
+
}
|
|
36
|
+
) })
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
N.displayName = "ListItemSelectable";
|
|
43
|
+
export {
|
|
44
|
+
N as ListItemSelectable
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=ListItemSelectable.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../SwipeableArea/SwipeableArea.js";
|
|
4
|
+
import "../List.js";
|
|
5
|
+
import "../ListSortable.js";
|
|
6
|
+
import "./ListItem.js";
|
|
7
|
+
import "./ListItemControls.js";
|
|
8
|
+
import "./ListItemContent.js";
|
|
9
|
+
import "../../../chunks/ListItemControlsButton-Bn_onrHQ.js";
|
|
10
|
+
import { f as h } from "../../../chunks/index-1QUfI5kD.js";
|
|
11
|
+
import "./ListEmptyState.js";
|
|
12
|
+
import "./ListItemLoading.js";
|
|
13
|
+
import "./ListItemSelectable.js";
|
|
14
|
+
import "./ListItemTailLeft.js";
|
|
15
|
+
import "./ListItemTailRight.js";
|
|
16
|
+
import "./ListSortableItemTarget.js";
|
|
17
|
+
import "./ListSortableItemControls.js";
|
|
18
|
+
import "../../../chunks/vendor-CF2m175I.js";
|
|
19
|
+
export {
|
|
20
|
+
h as ListItemTable
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=ListItemTable.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-8r8-WRy-.js";
|
|
5
|
+
const r = m.forwardRef(
|
|
6
|
+
({ className: a, ...e }, i) => /* @__PURE__ */ l(
|
|
7
|
+
"span",
|
|
8
|
+
{
|
|
9
|
+
className: o(s.listItemTail, s.listItemTailLeft, a),
|
|
10
|
+
ref: i,
|
|
11
|
+
...e,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ t("span", { className: s.listItemTailLine }),
|
|
14
|
+
/* @__PURE__ */ t("span", { className: s.listItemTailTop }),
|
|
15
|
+
/* @__PURE__ */ t("span", { className: s.listItemTailBottom })
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
r.displayName = "ListItemTailLeft";
|
|
21
|
+
export {
|
|
22
|
+
r as ListItemTailLeft
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ListItemTailLeft.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-8r8-WRy-.js";
|
|
5
|
+
const r = e.forwardRef(
|
|
6
|
+
({ className: a, ...i }, l) => /* @__PURE__ */ m(
|
|
7
|
+
"span",
|
|
8
|
+
{
|
|
9
|
+
className: o(s.listItemTail, s.listItemTailRight, a),
|
|
10
|
+
ref: l,
|
|
11
|
+
...i,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ t("span", { className: s.listItemTailLine }),
|
|
14
|
+
/* @__PURE__ */ t("span", { className: s.listItemTailTop }),
|
|
15
|
+
/* @__PURE__ */ t("span", { className: s.listItemTailBottom })
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
r.displayName = "ListItemTailRight";
|
|
21
|
+
export {
|
|
22
|
+
r as ListItemTailRight
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ListItemTailRight.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import "../List.js";
|
|
5
|
+
import "../ListSortable.js";
|
|
6
|
+
import "./ListItem.js";
|
|
7
|
+
import "./ListItemControls.js";
|
|
8
|
+
import "./ListItemContent.js";
|
|
9
|
+
import "../../../chunks/ListItemControlsButton-Bn_onrHQ.js";
|
|
10
|
+
import { g as d } from "../../../chunks/index-1QUfI5kD.js";
|
|
11
|
+
import "./ListEmptyState.js";
|
|
12
|
+
import "./ListItemLoading.js";
|
|
13
|
+
import "./ListItemSelectable.js";
|
|
14
|
+
import "./ListItemTailLeft.js";
|
|
15
|
+
import "./ListItemTailRight.js";
|
|
16
|
+
import "./ListSortableItemTarget.js";
|
|
17
|
+
import "./ListSortableItemControls.js";
|
|
18
|
+
export {
|
|
19
|
+
d as ListSortableItem
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ListSortableItem.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as l } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const a = "listSortableItemControls__ce838927", m = {
|
|
5
|
+
listSortableItemControls: a
|
|
6
|
+
}, i = e.forwardRef(
|
|
7
|
+
({ className: t, ...o }, r) => /* @__PURE__ */ s(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
className: l(m.listSortableItemControls, t),
|
|
11
|
+
"data-draggable": "false",
|
|
12
|
+
...o,
|
|
13
|
+
ref: r
|
|
14
|
+
}
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
i.displayName = "ListSortableItemControls";
|
|
18
|
+
export {
|
|
19
|
+
i as ListSortableItemControls
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ListSortableItemControls.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { DragdotsStrokeSrvIcon24 as n } from "@sberbusiness/icons-next";
|
|
4
|
+
import { c as I } from "../../../chunks/vendor-CF2m175I.js";
|
|
5
|
+
const c = "listSortableItemTarget__a75bbd9d", b = "dragging__0dd5f38b", d = "listSortableItemTargetContent__6da0a948", S = "listSortableItemTargetIcon__06fa9c88", t = {
|
|
6
|
+
listSortableItemTarget: c,
|
|
7
|
+
dragging: b,
|
|
8
|
+
listSortableItemTargetContent: d,
|
|
9
|
+
listSortableItemTargetIcon: S
|
|
10
|
+
}, T = m.forwardRef(
|
|
11
|
+
({ children: a, className: r, disabled: o, dragging: l, ...s }, g) => /* @__PURE__ */ i(
|
|
12
|
+
"div",
|
|
13
|
+
{
|
|
14
|
+
className: I(t.listSortableItemTarget, { [t.dragging]: l }, "hoverable", r),
|
|
15
|
+
...s,
|
|
16
|
+
ref: g,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ e("div", { className: t.listSortableItemTargetContent, children: a }),
|
|
19
|
+
!o && /* @__PURE__ */ e(n, { paletteIndex: 5, className: t.listSortableItemTargetIcon })
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
);
|
|
24
|
+
T.displayName = "ListSortableItemTarget";
|
|
25
|
+
export {
|
|
26
|
+
T as ListSortableItemTarget
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=ListSortableItemTarget.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { List as e } from "./List.js";
|
|
2
|
+
import { AdvancedMouseSensor as m, AdvancedTouchSensor as s, ListSortable as i } from "./ListSortable.js";
|
|
3
|
+
import { ListItem as a } from "./components/ListItem.js";
|
|
4
|
+
import { ListItemControls as p } from "./components/ListItemControls.js";
|
|
5
|
+
import { ListItemContent as x } from "./components/ListItemContent.js";
|
|
6
|
+
import { L as I } from "../../chunks/ListItemControlsButton-Bn_onrHQ.js";
|
|
7
|
+
import { L as b, f as d, g as C } from "../../chunks/index-1QUfI5kD.js";
|
|
8
|
+
import { ListEmptyState as c } from "./components/ListEmptyState.js";
|
|
9
|
+
import { ListItemLoading as u } from "./components/ListItemLoading.js";
|
|
10
|
+
import { ListItemSelectable as v } from "./components/ListItemSelectable.js";
|
|
11
|
+
import { ListItemTailLeft as B } from "./components/ListItemTailLeft.js";
|
|
12
|
+
import { ListItemTailRight as y } from "./components/ListItemTailRight.js";
|
|
13
|
+
import { ListSortableItemTarget as E } from "./components/ListSortableItemTarget.js";
|
|
14
|
+
import { ListSortableItemControls as R } from "./components/ListSortableItemControls.js";
|
|
15
|
+
export {
|
|
16
|
+
m as AdvancedMouseSensor,
|
|
17
|
+
s as AdvancedTouchSensor,
|
|
18
|
+
e as List,
|
|
19
|
+
c as ListEmptyState,
|
|
20
|
+
a as ListItem,
|
|
21
|
+
x as ListItemContent,
|
|
22
|
+
p as ListItemControls,
|
|
23
|
+
I as ListItemControlsButton,
|
|
24
|
+
b as ListItemControlsButtonDropdown,
|
|
25
|
+
u as ListItemLoading,
|
|
26
|
+
v as ListItemSelectable,
|
|
27
|
+
d as ListItemTable,
|
|
28
|
+
B as ListItemTailLeft,
|
|
29
|
+
y as ListItemTailRight,
|
|
30
|
+
i as ListSortable,
|
|
31
|
+
C as ListSortableItem,
|
|
32
|
+
R as ListSortableItemControls,
|
|
33
|
+
E as ListSortableItemTarget
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { ListMasterChipGroup as i } from "./components/ListMasterChipGroup.js";
|
|
3
|
+
import { ListMasterBody as p } from "./components/ListMasterBody.js";
|
|
4
|
+
import { ListMasterFooter as m } from "./components/ListMasterFooter.js";
|
|
5
|
+
import { ListMasterHeader as a } from "./components/ListMasterHeader.js";
|
|
6
|
+
import { SelectionControls as n } from "./components/SelectionControls.js";
|
|
7
|
+
import { ListMasterFooterControls as f } from "./components/ListMasterFooterControls.js";
|
|
8
|
+
import { ListMasterFooterDescription as L } from "./components/ListMasterFooterDescription.js";
|
|
9
|
+
const o = ({ children: r, className: t, ...e }) => /* @__PURE__ */ s("div", { className: t, ...e, "data-tx": process.env.npm_package_version, children: r });
|
|
10
|
+
o.Body = p;
|
|
11
|
+
o.ChipGroup = i;
|
|
12
|
+
o.Footer = m;
|
|
13
|
+
o.FooterControls = f;
|
|
14
|
+
o.FooterDescription = L;
|
|
15
|
+
o.Header = a;
|
|
16
|
+
o.SelectionControls = n;
|
|
17
|
+
o.displayName = "ListMaster";
|
|
18
|
+
export {
|
|
19
|
+
o as ListMaster
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=ListMaster.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
|
+
const d = s.forwardRef(
|
|
4
|
+
({ children: t, className: a, ...e }, o) => /* @__PURE__ */ r(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
className: a,
|
|
8
|
+
...e,
|
|
9
|
+
"data-tx": process.env.npm_package_version,
|
|
10
|
+
ref: o,
|
|
11
|
+
children: t
|
|
12
|
+
}
|
|
13
|
+
)
|
|
14
|
+
);
|
|
15
|
+
d.displayName = "ListMasterBody";
|
|
16
|
+
export {
|
|
17
|
+
d as ListMasterBody
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=ListMasterBody.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { c as a } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const e = "listMasterChipGroup__82ed5216", l = {
|
|
5
|
+
listMasterChipGroup: e
|
|
6
|
+
}, m = p.forwardRef(
|
|
7
|
+
({ children: s, className: t, ...r }, i) => (
|
|
8
|
+
// <ChipGroup className={clsx("cssClass[listMasterChipGroup]", className)} oneLine {...rest} ref={ref}>
|
|
9
|
+
// {children}
|
|
10
|
+
// </ChipGroup>
|
|
11
|
+
/* @__PURE__ */ o("div", { className: a(l.listMasterChipGroup, t), ref: i, ...r, children: s })
|
|
12
|
+
)
|
|
13
|
+
);
|
|
14
|
+
m.displayName = "ListMasterChips";
|
|
15
|
+
export {
|
|
16
|
+
m as ListMasterChipGroup
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=ListMasterChipGroup.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as f } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import { s as t } from "../../../chunks/ListMasterFooter.module-Bylyf04G.js";
|
|
5
|
+
const c = m.forwardRef(
|
|
6
|
+
({ children: r, className: s, sticky: o = !0, ...e }, a) => /* @__PURE__ */ i(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: f(
|
|
10
|
+
t.listMasterFooter,
|
|
11
|
+
{
|
|
12
|
+
[t.sticky]: o
|
|
13
|
+
},
|
|
14
|
+
s
|
|
15
|
+
),
|
|
16
|
+
...e,
|
|
17
|
+
ref: a,
|
|
18
|
+
children: r
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
c.displayName = "ListMasterFooter";
|
|
23
|
+
export {
|
|
24
|
+
c as ListMasterFooter
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=ListMasterFooter.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import { s as i } from "../../../chunks/ListMasterFooter.module-Bylyf04G.js";
|
|
5
|
+
const l = a.forwardRef(
|
|
6
|
+
({ children: o, className: t, ...r }, s) => /* @__PURE__ */ e("div", { className: m(i.listMasterFooterControls, t), ...r, ref: s, children: o })
|
|
7
|
+
);
|
|
8
|
+
l.displayName = "ListMasterFooterControls";
|
|
9
|
+
export {
|
|
10
|
+
l as ListMasterFooterControls
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ListMasterFooterControls.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { c as a } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
import { s as m } from "../../../chunks/ListMasterFooter.module-Bylyf04G.js";
|
|
5
|
+
const p = i.forwardRef(
|
|
6
|
+
({ children: t, className: o, ...r }, s) => /* @__PURE__ */ e("div", { className: a(m.listMasterFooterDescription, o), ...r, ref: s, children: t })
|
|
7
|
+
);
|
|
8
|
+
p.displayName = "ListMasterFooterDescription";
|
|
9
|
+
export {
|
|
10
|
+
p as ListMasterFooterDescription
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ListMasterFooterDescription.js.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import f, { useRef as o, useEffect as m } from "react";
|
|
3
|
+
import { c as w } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const p = "listMasterHeader__1b6ca195", y = "sticky__dd82151f", c = {
|
|
5
|
+
listMasterHeader: p,
|
|
6
|
+
sticky: y
|
|
7
|
+
}, H = f.forwardRef(
|
|
8
|
+
({ children: i, className: n, sticky: a = !0, ...l }, t) => {
|
|
9
|
+
const e = o(null), r = o(0);
|
|
10
|
+
m(() => {
|
|
11
|
+
if (e.current)
|
|
12
|
+
return r.current = e.current.getBoundingClientRect().height, window.scrollTo({ top: window.scrollY + r.current }), () => {
|
|
13
|
+
window.scrollTo({ top: Math.max(window.scrollY - r.current, 0) });
|
|
14
|
+
};
|
|
15
|
+
}, []);
|
|
16
|
+
const d = (s) => {
|
|
17
|
+
e.current = s, typeof t == "function" ? t(s) : t && (t.current = s);
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ u(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
className: w(
|
|
23
|
+
c.listMasterHeader,
|
|
24
|
+
{
|
|
25
|
+
[c.sticky]: a
|
|
26
|
+
},
|
|
27
|
+
n
|
|
28
|
+
),
|
|
29
|
+
...l,
|
|
30
|
+
ref: d,
|
|
31
|
+
children: i
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
H.displayName = "ListMasterHeader";
|
|
37
|
+
export {
|
|
38
|
+
H as ListMasterHeader
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=ListMasterHeader.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import l from "react";
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-CF2m175I.js";
|
|
4
|
+
const c = "selectionControls__1157d023", a = {
|
|
5
|
+
selectionControls: c
|
|
6
|
+
}, i = l.forwardRef(
|
|
7
|
+
({ children: o, className: s, ...t }, e) => /* @__PURE__ */ n(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
className: r(a.selectionControls, s),
|
|
11
|
+
...t,
|
|
12
|
+
"data-tx": process.env.npm_package_version,
|
|
13
|
+
ref: e,
|
|
14
|
+
children: o
|
|
15
|
+
}
|
|
16
|
+
)
|
|
17
|
+
);
|
|
18
|
+
i.displayName = "SelectionControls";
|
|
19
|
+
export {
|
|
20
|
+
i as SelectionControls
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=SelectionControls.js.map
|