mimir-ui-kit 1.38.44 → 1.39.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/assets/stories.css +1 -0
- package/dist/assets/styles2.css +1 -0
- package/dist/combobox-Dv6-ANkb.js +508 -0
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +1 -1
- package/dist/components/SelectSearch/SelectSearch.js +1 -1
- package/dist/components/Table/ColumnOrderSettings.d.ts +18 -0
- package/dist/components/Table/ColumnOrderSettings.js +177 -0
- package/dist/components/Table/Table.d.ts +3 -0
- package/dist/components/Table/Table.js +204 -0
- package/dist/components/Table/TableBody.d.ts +5 -0
- package/dist/components/Table/TableBody.js +109 -0
- package/dist/components/Table/TableCard.d.ts +5 -0
- package/dist/components/Table/TableCard.js +45 -0
- package/dist/components/Table/TableCardsView.d.ts +5 -0
- package/dist/components/Table/TableCardsView.js +84 -0
- package/dist/components/Table/TableFilters.d.ts +12 -0
- package/dist/components/Table/TableFilters.js +165 -0
- package/dist/components/Table/TableHeader.d.ts +3 -0
- package/dist/components/Table/TableHeader.js +70 -0
- package/dist/components/Table/TableRow.d.ts +5 -0
- package/dist/components/Table/TableRow.js +76 -0
- package/dist/components/Table/TableScrollButtons.d.ts +11 -0
- package/dist/components/Table/TableScrollButtons.js +35 -0
- package/dist/components/Table/constants.d.ts +128 -0
- package/dist/components/Table/constants.js +434 -0
- package/dist/components/Table/hooks/index.d.ts +4 -0
- package/dist/components/Table/hooks/index.js +10 -0
- package/dist/components/Table/hooks/useTableInstance.d.ts +3 -0
- package/dist/components/Table/hooks/useTableInstance.js +68 -0
- package/dist/components/Table/hooks/useTableScroll.d.ts +8 -0
- package/dist/components/Table/hooks/useTableScroll.js +54 -0
- package/dist/components/Table/hooks/useTableState.d.ts +13 -0
- package/dist/components/Table/hooks/useTableState.js +56 -0
- package/dist/components/Table/hooks/useTableVirtualization.d.ts +13 -0
- package/dist/components/Table/hooks/useTableVirtualization.js +97 -0
- package/dist/components/Table/index.d.ts +3 -0
- package/dist/components/Table/index.js +10 -0
- package/dist/components/Table/types.d.ts +150 -0
- package/dist/components/Table/utils.d.ts +4 -0
- package/dist/components/Table/utils.js +25 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +72 -64
- package/dist/index-CVk4sixt.js +1862 -0
- package/dist/index-D5H8gPPn.js +546 -0
- package/dist/index.js +106 -98
- package/dist/{portal-D3A00sie.js → portal-C_u5auU1.js} +179 -183
- package/dist/stories.module-fud786VB.js +29 -0
- package/dist/styles.module--QBQYoA9.js +36 -0
- package/package.json +3 -1
- package/dist/combobox-BD-GHvMy.js +0 -980
@@ -0,0 +1,97 @@
|
|
1
|
+
import { u as F } from "../../../index-D5H8gPPn.js";
|
2
|
+
import { useRef as T, useState as I, useCallback as _, useEffect as h } from "react";
|
3
|
+
import { TABLE_OPTIONS as g } from "../constants.js";
|
4
|
+
function y({
|
5
|
+
rows: i,
|
6
|
+
virtualized: r,
|
7
|
+
scrollRef: n,
|
8
|
+
rowSelection: H,
|
9
|
+
columns: d
|
10
|
+
}) {
|
11
|
+
const p = T({}), a = T({}), O = T(""), A = T(""), [, E] = I({}), b = _(() => {
|
12
|
+
const e = Object.values(a.current);
|
13
|
+
if (e.length === 0) return g.DEFAULT_ROW_HEIGHT;
|
14
|
+
const s = e.reduce((u, m) => u + m, 0) / e.length;
|
15
|
+
return Math.max(s, g.DEFAULT_ROW_HEIGHT);
|
16
|
+
}, []), c = F({
|
17
|
+
count: r ? i.length : 0,
|
18
|
+
getScrollElement: () => (n == null ? void 0 : n.current) || document.body,
|
19
|
+
estimateSize: (e) => {
|
20
|
+
const t = i[e];
|
21
|
+
return t ? a.current[t.id] || b() : g.DEFAULT_ROW_HEIGHT;
|
22
|
+
},
|
23
|
+
overscan: g.OVERSCAN,
|
24
|
+
getItemKey: (e) => {
|
25
|
+
var t;
|
26
|
+
return ((t = i[e]) == null ? void 0 : t.id) || e;
|
27
|
+
},
|
28
|
+
measureElement: (e) => {
|
29
|
+
const t = e.getBoundingClientRect().height;
|
30
|
+
return Math.max(t, g.DEFAULT_ROW_HEIGHT);
|
31
|
+
}
|
32
|
+
});
|
33
|
+
return h(() => {
|
34
|
+
if (!r || !d) return;
|
35
|
+
const e = d.map((t) => `${t.id}-${t.size}`).join(",");
|
36
|
+
if (A.current !== e) {
|
37
|
+
A.current = e;
|
38
|
+
const t = setTimeout(() => {
|
39
|
+
c.measure(), E({});
|
40
|
+
}, 100);
|
41
|
+
return () => clearTimeout(t);
|
42
|
+
}
|
43
|
+
}, [d, r]), h(() => {
|
44
|
+
const e = i.map((t) => t.id).join(",");
|
45
|
+
O.current !== e && (O.current = e, E({}));
|
46
|
+
}, [i]), h(() => {
|
47
|
+
if (!r || !H) return;
|
48
|
+
const e = requestAnimationFrame(() => {
|
49
|
+
c.measure(), E({});
|
50
|
+
});
|
51
|
+
return () => {
|
52
|
+
cancelAnimationFrame(e);
|
53
|
+
};
|
54
|
+
}, [H, r]), h(() => {
|
55
|
+
if (!r || !(n != null && n.current)) return;
|
56
|
+
const e = () => {
|
57
|
+
requestAnimationFrame(() => {
|
58
|
+
c.getVirtualItems().forEach((s) => {
|
59
|
+
const u = i[s.index];
|
60
|
+
if (!u) return;
|
61
|
+
const m = p.current[u.id];
|
62
|
+
if (!m) return;
|
63
|
+
const o = m.getBoundingClientRect().height;
|
64
|
+
o > 0 && (a.current[u.id] = o);
|
65
|
+
}), c.measure();
|
66
|
+
});
|
67
|
+
}, t = n.current;
|
68
|
+
return t.addEventListener("scroll", e, { passive: !0 }), e(), () => {
|
69
|
+
t.removeEventListener("scroll", e);
|
70
|
+
};
|
71
|
+
}, [r, n, i]), h(() => {
|
72
|
+
var s;
|
73
|
+
if (!r) return;
|
74
|
+
const e = () => {
|
75
|
+
requestAnimationFrame(() => {
|
76
|
+
Object.keys(a.current).forEach((u) => {
|
77
|
+
const m = p.current[u];
|
78
|
+
if (m) {
|
79
|
+
const o = m.getBoundingClientRect().height;
|
80
|
+
o > 0 && (a.current[u] = o);
|
81
|
+
}
|
82
|
+
}), c.measure(), E({});
|
83
|
+
});
|
84
|
+
}, t = new ResizeObserver(() => {
|
85
|
+
setTimeout(e, 100);
|
86
|
+
});
|
87
|
+
return n != null && n.current && t.observe(n.current), (s = n == null ? void 0 : n.current) != null && s.parentElement && t.observe(n.current.parentElement), e(), () => {
|
88
|
+
t.disconnect();
|
89
|
+
};
|
90
|
+
}, [r, n]), {
|
91
|
+
virtualizer: c,
|
92
|
+
rowRefs: p
|
93
|
+
};
|
94
|
+
}
|
95
|
+
export {
|
96
|
+
y as useTableVirtualization
|
97
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Table as e } from "./Table.js";
|
2
|
+
import { ESortDirection as r, ETableDisplayMode as t, ETableScrollButtonVariant as b, ETableScrollIconName as i, ETableVariant as n } from "./constants.js";
|
3
|
+
export {
|
4
|
+
r as ESortDirection,
|
5
|
+
t as ETableDisplayMode,
|
6
|
+
b as ETableScrollButtonVariant,
|
7
|
+
i as ETableScrollIconName,
|
8
|
+
n as ETableVariant,
|
9
|
+
e as Table
|
10
|
+
};
|
@@ -0,0 +1,150 @@
|
|
1
|
+
import { RowSelectionState, SortingState, Table as ReactTable, Row, ColumnDef, Updater } from '@tanstack/react-table';
|
2
|
+
import { MouseEvent, RefObject } from 'react';
|
3
|
+
import { EFilterType, ESortDirection, ETableDisplayMode, ETableScrollButtonVariant, ETableVariant } from './constants';
|
4
|
+
import { TSelectOption } from '../SelectSearch';
|
5
|
+
|
6
|
+
export type TTableFilter = {
|
7
|
+
id: string;
|
8
|
+
label: string;
|
9
|
+
type: EFilterType;
|
10
|
+
columnId: string;
|
11
|
+
options?: TSelectOption[];
|
12
|
+
};
|
13
|
+
export type TDateRangeFilterValue = {
|
14
|
+
from?: string | Date;
|
15
|
+
to?: string | Date;
|
16
|
+
};
|
17
|
+
export type TSelectFilterValue = {
|
18
|
+
id: string;
|
19
|
+
name: string;
|
20
|
+
};
|
21
|
+
export type TTableFilterValues = {
|
22
|
+
[key: string]: {
|
23
|
+
value: TDateRangeFilterValue | TSelectFilterValue | null;
|
24
|
+
active: boolean;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export type TTableProps<T = unknown> = {
|
28
|
+
data: T[];
|
29
|
+
columns: ColumnDef<T>[];
|
30
|
+
selectedRowIds?: RowSelectionState;
|
31
|
+
onSelectedRowsChange?: (updaterOrValue: Updater<RowSelectionState>) => void;
|
32
|
+
isSelectable?: boolean;
|
33
|
+
isLoading?: boolean;
|
34
|
+
onSort?: (columnId: string, direction: ESortDirection.ASC | ESortDirection.DESC | false) => void;
|
35
|
+
virtualized?: boolean;
|
36
|
+
height?: number | string;
|
37
|
+
width?: number | string;
|
38
|
+
variant?: ETableVariant | `${ETableVariant}`;
|
39
|
+
/** Режим отображения данных: таблица или карточки */
|
40
|
+
displayMode?: ETableDisplayMode | `${ETableDisplayMode}`;
|
41
|
+
tableClassNameContainer?: string;
|
42
|
+
scrollContainerClassName?: string;
|
43
|
+
tableClassName?: string;
|
44
|
+
headerClassName?: string;
|
45
|
+
headerTextClassName?: string;
|
46
|
+
headerRowClassName?: string;
|
47
|
+
headerCellClassName?: string;
|
48
|
+
bodyClassName?: string;
|
49
|
+
virtualBodyClassName?: string;
|
50
|
+
rowClassName?: string;
|
51
|
+
cellClassName?: string;
|
52
|
+
selectHeaderCellClassName?: string;
|
53
|
+
selectCellClassName?: string;
|
54
|
+
selectedRowClassName?: string;
|
55
|
+
/** Дополнительный класс для контейнера кнопок скролла */
|
56
|
+
scrollButtonsClassName?: string;
|
57
|
+
/** Дополнительный класс для карточек */
|
58
|
+
cardClassName?: string;
|
59
|
+
/** Дополнительный класс для заголовка в карточке */
|
60
|
+
cardHeaderClassName?: string;
|
61
|
+
/** Дополнительный класс для значения в карточке */
|
62
|
+
cardValueClassName?: string;
|
63
|
+
/** Показывать кнопки скролла для навигации по колонкам */
|
64
|
+
showScrollButtons?: boolean;
|
65
|
+
/** Автоматически показывать кнопки скролла при переполнении */
|
66
|
+
autoShowScrollButtons?: boolean;
|
67
|
+
/** Вариант кнопок навигации */
|
68
|
+
buttonsScrollVariant?: ETableScrollButtonVariant | `${ETableScrollButtonVariant}`;
|
69
|
+
initialSorting?: SortingState;
|
70
|
+
initialRowSelection?: RowSelectionState;
|
71
|
+
serverSideSorting?: boolean;
|
72
|
+
columnOrder?: string[];
|
73
|
+
onColumnOrderChange?: (newOrder: string[]) => void;
|
74
|
+
visibleColumns?: Record<string, boolean>;
|
75
|
+
globalFilter?: string;
|
76
|
+
onGlobalFilterChange?: (value: string) => void;
|
77
|
+
enableGlobalFilter?: boolean;
|
78
|
+
columnsToSearch?: string[];
|
79
|
+
onCardActionsClick?: (event: MouseEvent, rowData: T) => void;
|
80
|
+
showCardActions?: boolean;
|
81
|
+
};
|
82
|
+
export type TTableBodyProps<T = unknown> = {
|
83
|
+
table: ReactTable<T>;
|
84
|
+
isSelectable?: boolean;
|
85
|
+
virtualized?: boolean;
|
86
|
+
variant?: ETableVariant | `${ETableVariant}`;
|
87
|
+
bodyClassName?: string;
|
88
|
+
virtualBodyClassName?: string;
|
89
|
+
rowClassName?: string;
|
90
|
+
cellClassName?: string;
|
91
|
+
selectCellClassName?: string;
|
92
|
+
scrollRef: RefObject<HTMLDivElement>;
|
93
|
+
};
|
94
|
+
export type TTableHeaderProps<T = unknown> = {
|
95
|
+
table: ReactTable<T>;
|
96
|
+
isSelectable?: boolean;
|
97
|
+
variant?: ETableVariant | `${ETableVariant}`;
|
98
|
+
className?: string;
|
99
|
+
headerClassName?: string;
|
100
|
+
headerTextClassName?: string;
|
101
|
+
headerRowClassName?: string;
|
102
|
+
headerCellClassName?: string;
|
103
|
+
selectHeaderCellClassName?: string;
|
104
|
+
};
|
105
|
+
export type TTableRowProps<T = unknown> = {
|
106
|
+
row: Row<T>;
|
107
|
+
isSelectable?: boolean;
|
108
|
+
rowClassName?: string;
|
109
|
+
cellClassName?: string;
|
110
|
+
selectCellClassName?: string;
|
111
|
+
variant?: ETableVariant | `${ETableVariant}`;
|
112
|
+
isVirtualized?: boolean;
|
113
|
+
rowIndex?: number;
|
114
|
+
columnsKey?: number;
|
115
|
+
};
|
116
|
+
export type TTableCardsViewProps<T extends object> = {
|
117
|
+
table: ReactTable<T>;
|
118
|
+
virtualized?: boolean;
|
119
|
+
scrollRef: RefObject<HTMLDivElement>;
|
120
|
+
isSelectable?: boolean;
|
121
|
+
cardClassName?: string;
|
122
|
+
cardHeaderClassName?: string;
|
123
|
+
cardValueClassName?: string;
|
124
|
+
onCardActionsClick?: (event: MouseEvent, rowData: T) => void;
|
125
|
+
showCardActions?: boolean;
|
126
|
+
};
|
127
|
+
export type TTableCardProps<T extends object> = {
|
128
|
+
row: Row<T>;
|
129
|
+
isSelectable?: boolean;
|
130
|
+
cardClassName?: string;
|
131
|
+
cardHeaderClassName?: string;
|
132
|
+
cardValueClassName?: string;
|
133
|
+
onSelect?: (checked: boolean) => void;
|
134
|
+
onActionsClick?: (event: MouseEvent, rowData: T) => void;
|
135
|
+
showActions?: boolean;
|
136
|
+
};
|
137
|
+
export type TUseTableStateProps<T> = Pick<TTableProps<T>, 'initialSorting' | 'initialRowSelection' | 'onSort' | 'onGlobalFilterChange' | 'onColumnOrderChange' | 'serverSideSorting' | 'data' | 'columnOrder'>;
|
138
|
+
export type TUseTableInstanceProps<T> = Pick<TTableProps<T>, 'data' | 'columns' | 'isSelectable' | 'enableGlobalFilter' | 'serverSideSorting' | 'variant' | 'rowClassName' | 'cellClassName' | 'selectCellClassName' | 'visibleColumns' | 'columnsToSearch' | 'selectedRowIds' | 'onSelectedRowsChange'> & {
|
139
|
+
sorting?: SortingState;
|
140
|
+
rowSelection?: RowSelectionState;
|
141
|
+
columnOrderToUse?: string[];
|
142
|
+
effectiveGlobalFilter?: string;
|
143
|
+
handleSortingChange?: (updaterOrValue: Updater<SortingState>) => void;
|
144
|
+
handleRowSelectionChange?: (updaterOrValue: Updater<RowSelectionState>) => void;
|
145
|
+
handleColumnOrderChange?: (updaterOrValue: Updater<string[]>) => void;
|
146
|
+
handleGlobalFilterChange?: (globalFilter: string) => void;
|
147
|
+
filters?: TTableFilter[];
|
148
|
+
filterValues?: TTableFilterValues;
|
149
|
+
serverSideFiltering?: boolean;
|
150
|
+
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { FilterFn, Row } from '@tanstack/react-table';
|
2
|
+
|
3
|
+
export declare const globalFilterFn: <T extends Record<string, unknown>>() => FilterFn<T>;
|
4
|
+
export declare const createColumnFilter: <T extends Record<string, unknown>>(columnsToSearch: string[]) => (row: Row<T>, value: string) => boolean;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
const u = () => (n, o, t) => {
|
2
|
+
if (!t || typeof t != "string" || t === "") return !0;
|
3
|
+
const l = t.toLowerCase();
|
4
|
+
try {
|
5
|
+
const r = n.getValue(o);
|
6
|
+
return r == null ? !1 : String(r).toLowerCase().includes(l);
|
7
|
+
} catch {
|
8
|
+
return !1;
|
9
|
+
}
|
10
|
+
}, c = (n) => (o, t) => {
|
11
|
+
if (!t || t === "") return !0;
|
12
|
+
const l = t.toLowerCase();
|
13
|
+
return n.some((r) => {
|
14
|
+
try {
|
15
|
+
const e = o.getValue(r);
|
16
|
+
return e == null ? !1 : String(e).toLowerCase().includes(l);
|
17
|
+
} catch {
|
18
|
+
return !1;
|
19
|
+
}
|
20
|
+
});
|
21
|
+
};
|
22
|
+
export {
|
23
|
+
c as createColumnFilter,
|
24
|
+
u as globalFilterFn
|
25
|
+
};
|
@@ -68,3 +68,5 @@ export { ListPhotos } from './ListPhotos';
|
|
68
68
|
export type { TListPhotos, TPhotosDetail, TPhotoValue, TPhotoItem } from './ListPhotos';
|
69
69
|
export { MessageShortReply } from './MessageShortReply';
|
70
70
|
export { EMessageShortReplyVariant, type TMessageShortReplyProps } from './MessageShortReply';
|
71
|
+
export { Table } from './Table';
|
72
|
+
export { ESortDirection, ETableVariant, ETableDisplayMode, ETableScrollButtonVariant, ETableScrollIconName } from './Table';
|
package/dist/components/index.js
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
import { Button as e } from "./Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as i, EButtonVariantDefault as m, EButtonVariantOutline as f, EButtonVariantRound as x } from "./Button/constants.js";
|
3
|
-
import { I as
|
4
|
-
import { EInputSize as
|
3
|
+
import { I as l } from "../Input-DAmc_HxO.js";
|
4
|
+
import { EInputSize as S, EInputStatus as s, EInputVariant as u } from "./Input/constants.js";
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
6
|
-
import { ETextAreaInputSize as
|
7
|
-
import { InputPassword as
|
6
|
+
import { ETextAreaInputSize as I } from "./TextArea/constants.js";
|
7
|
+
import { InputPassword as g } from "./InputPassword/InputPassword.js";
|
8
8
|
import { InputPhoneNumber as h } from "./InputPhoneNumber/InputPhoneNumber.js";
|
9
|
-
import { getMaskedInputPhoneValue as
|
10
|
-
import { OtpInput as
|
11
|
-
import { RadioGroup as
|
12
|
-
import { DatePicker as
|
13
|
-
import { MergedButton as
|
14
|
-
import { EMergedButtonVariantRound as
|
9
|
+
import { getMaskedInputPhoneValue as k, getUnmaskedInputValue as P } from "./InputPhoneNumber/utils.js";
|
10
|
+
import { OtpInput as L } from "./OtpInput/OtpInput.js";
|
11
|
+
import { RadioGroup as A } from "./RadioGroup/RadioGroup.js";
|
12
|
+
import { DatePicker as U } from "./DatePicker/DatePicker.js";
|
13
|
+
import { MergedButton as y } from "./MergedButton/MergedButton.js";
|
14
|
+
import { EMergedButtonVariantRound as C } from "./MergedButton/constants.js";
|
15
15
|
import { AppImage as v } from "./Image/Image.js";
|
16
16
|
import { Loader as N } from "./Loader/Loader.js";
|
17
17
|
import { ELoaderSize as O } from "./Loader/constants.js";
|
@@ -25,18 +25,18 @@ import { Vote as to } from "./Vote/Vote.js";
|
|
25
25
|
import { EVoteSize as ao } from "./Vote/constants.js";
|
26
26
|
import { SelectSearch as mo } from "./SelectSearch/SelectSearch.js";
|
27
27
|
import { ESelectSearchSize as xo } from "./SelectSearch/constants.js";
|
28
|
-
import { CheckboxMimir as
|
29
|
-
import { Tag as
|
28
|
+
import { CheckboxMimir as lo } from "./CheckboxMimir/CheckboxMimir.js";
|
29
|
+
import { Tag as So } from "./Tag/Tag.js";
|
30
30
|
import { ETagSize as uo, ETagType as co } from "./Tag/constants.js";
|
31
|
-
import { Timer as
|
32
|
-
import { Accordion as
|
31
|
+
import { Timer as Io } from "./Timer/Timer.js";
|
32
|
+
import { Accordion as go } from "./Accordion/Accordion.js";
|
33
33
|
import { EAccordionSize as ho } from "./Accordion/constants.js";
|
34
|
-
import { AccordionItem as
|
35
|
-
import { TabTrail as
|
34
|
+
import { AccordionItem as ko } from "./Accordion/AccordionItem/AccordionItem.js";
|
35
|
+
import { TabTrail as bo } from "./TabTrail/TabTrail.js";
|
36
36
|
import { ETabTrailSize as Mo } from "./TabTrail/constants.js";
|
37
|
-
import { Pagination as
|
38
|
-
import { ToastProvider as
|
39
|
-
import { useToast as
|
37
|
+
import { Pagination as Ro } from "./Pagination/Pagination.js";
|
38
|
+
import { ToastProvider as wo } from "./Toasts/ToastsProvider.js";
|
39
|
+
import { useToast as Do } from "./Toasts/hooks.js";
|
40
40
|
import { EToastPosition as Fo, EToastVariant as vo } from "./Toasts/constants.js";
|
41
41
|
import { UploaderPhotos as No } from "./UploaderPhotos/UploaderPhotos.js";
|
42
42
|
import { UploaderFiles as Oo } from "./UploaderFiles/UploaderFiles.js";
|
@@ -50,18 +50,18 @@ import { Chip as tr } from "./Chip/Chip.js";
|
|
50
50
|
import { EChipSize as ar, EChipVariant as ir } from "./Chip/constants.js";
|
51
51
|
import { UniversalUploader as fr } from "./UniversalUploader/UniversalUploader.js";
|
52
52
|
import { EUploaderType as nr } from "./UniversalUploader/constants.js";
|
53
|
-
import { InputRangeSlider as
|
54
|
-
import { EInputRangeSliderBorderState as
|
53
|
+
import { InputRangeSlider as Er } from "./InputRangeSlider/InputRangeSlider.js";
|
54
|
+
import { EInputRangeSliderBorderState as sr, EInputRangeSliderPositions as ur } from "./InputRangeSlider/constants.js";
|
55
55
|
import { GosZnak as cr } from "./GosZnak/GosZnak.js";
|
56
|
-
import { EGosZnakSize as
|
57
|
-
import { Switcher as
|
58
|
-
import { ELabelPositions as
|
56
|
+
import { EGosZnakSize as Ir, EGosZnakType as Vr } from "./GosZnak/constants.js";
|
57
|
+
import { Switcher as zr } from "./Switcher/Switcher.js";
|
58
|
+
import { ELabelPositions as Br } from "./Switcher/constants.js";
|
59
59
|
import { TwinSwitcher as Pr } from "./TwinSwitcher/TwinSwitcher.js";
|
60
|
-
import { SkeletonBrick as
|
61
|
-
import { SkeletonText as
|
62
|
-
import { SkeletonCircle as
|
63
|
-
import { ESkeletonVariant as
|
64
|
-
import { Avatar as
|
60
|
+
import { SkeletonBrick as Lr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
|
61
|
+
import { SkeletonText as Ar } from "./Skeleton/SkeletonText/SkeletonText.js";
|
62
|
+
import { SkeletonCircle as Ur } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
|
63
|
+
import { ESkeletonVariant as yr } from "./Skeleton/constants.js";
|
64
|
+
import { Avatar as Cr } from "./Avatar/Avatar.js";
|
65
65
|
import { EAvatarSize as vr } from "./Avatar/constants.js";
|
66
66
|
import { MultiSelectSearch as Nr } from "./MultiSelectSearch/MultiSelectSearch.js";
|
67
67
|
import { EMultiSelectSearchSize as Or } from "./MultiSelectSearch/constants.js";
|
@@ -70,16 +70,18 @@ import { EFileItemVariant as Jr } from "./ListFiles/constants.js";
|
|
70
70
|
import { ListPhotos as Qr } from "./ListPhotos/ListPhotos.js";
|
71
71
|
import { MessageShortReply as Xr } from "./MessageShortReply/MessageShortReply.js";
|
72
72
|
import { EMessageShortReplyVariant as _r } from "./MessageShortReply/constants.js";
|
73
|
-
import {
|
74
|
-
import {
|
73
|
+
import { Table as oe } from "./Table/Table.js";
|
74
|
+
import { ESortDirection as ee, ETableDisplayMode as te, ETableScrollButtonVariant as pe, ETableScrollIconName as ae, ETableVariant as ie } from "./Table/constants.js";
|
75
|
+
import { default as fe } from "./Slider/Slider.js";
|
76
|
+
import { EProgressBarPosition as ne } from "./Slider/constants.js";
|
75
77
|
export {
|
76
|
-
|
77
|
-
|
78
|
-
|
78
|
+
go as Accordion,
|
79
|
+
ko as AccordionItem,
|
80
|
+
Cr as Avatar,
|
79
81
|
e as Button,
|
80
|
-
|
82
|
+
lo as CheckboxMimir,
|
81
83
|
tr as Chip,
|
82
|
-
|
84
|
+
U as DatePicker,
|
83
85
|
J as Drawer,
|
84
86
|
X as Dropdown,
|
85
87
|
ho as EAccordionSize,
|
@@ -94,30 +96,35 @@ export {
|
|
94
96
|
ir as EChipVariant,
|
95
97
|
Q as EDrawerPosition,
|
96
98
|
Jr as EFileItemVariant,
|
97
|
-
|
98
|
-
|
99
|
-
|
99
|
+
Ir as EGosZnakSize,
|
100
|
+
Vr as EGosZnakType,
|
101
|
+
sr as EInputRangeSliderBorderState,
|
100
102
|
ur as EInputRangeSliderPositions,
|
101
|
-
|
102
|
-
|
103
|
+
S as EInputSize,
|
104
|
+
s as EInputStatus,
|
103
105
|
u as EInputVariant,
|
104
|
-
|
106
|
+
Br as ELabelPositions,
|
105
107
|
Xo as ELinkSize,
|
106
108
|
Yo as ELinkVariant,
|
107
109
|
O as ELoaderSize,
|
108
|
-
|
110
|
+
C as EMergedButtonVariantRound,
|
109
111
|
_r as EMessageShortReplyVariant,
|
110
112
|
Or as EMultiSelectSearchSize,
|
111
113
|
rr as ENotificationBadgeSize,
|
112
|
-
|
114
|
+
ne as EProgressBarPosition,
|
113
115
|
xo as ESelectSearchSize,
|
114
|
-
|
116
|
+
yr as ESkeletonVariant,
|
117
|
+
ee as ESortDirection,
|
115
118
|
oo as EStepColor,
|
116
119
|
ro as EStepsSize,
|
117
120
|
Mo as ETabTrailSize,
|
121
|
+
te as ETableDisplayMode,
|
122
|
+
pe as ETableScrollButtonVariant,
|
123
|
+
ae as ETableScrollIconName,
|
124
|
+
ie as ETableVariant,
|
118
125
|
uo as ETagSize,
|
119
126
|
co as ETagType,
|
120
|
-
|
127
|
+
I as ETextAreaInputSize,
|
121
128
|
Fo as EToastPosition,
|
122
129
|
vo as EToastVariant,
|
123
130
|
qo as EUploaderFilesVariant,
|
@@ -125,41 +132,42 @@ export {
|
|
125
132
|
ao as EVoteSize,
|
126
133
|
cr as GosZnak,
|
127
134
|
v as Image,
|
128
|
-
|
129
|
-
|
135
|
+
l as Input,
|
136
|
+
g as InputPassword,
|
130
137
|
h as InputPhoneNumber,
|
131
|
-
|
138
|
+
Er as InputRangeSlider,
|
132
139
|
Qo as Link,
|
133
140
|
qr as ListFiles,
|
134
141
|
Qr as ListPhotos,
|
135
142
|
N as Loader,
|
136
|
-
|
143
|
+
y as MergedButton,
|
137
144
|
Xr as MessageShortReply,
|
138
145
|
Nr as MultiSelectSearch,
|
139
146
|
$o as NotificationBadge,
|
140
|
-
|
141
|
-
|
142
|
-
|
147
|
+
L as OtpInput,
|
148
|
+
Ro as Pagination,
|
149
|
+
A as RadioGroup,
|
143
150
|
mo as SelectSearch,
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
151
|
+
Lr as SkeletonBrick,
|
152
|
+
Ur as SkeletonCircle,
|
153
|
+
Ar as SkeletonText,
|
154
|
+
fe as Slider,
|
148
155
|
q as SliderLazy,
|
149
156
|
_ as Steps,
|
150
|
-
|
151
|
-
|
152
|
-
|
157
|
+
zr as Switcher,
|
158
|
+
bo as TabTrail,
|
159
|
+
oe as Table,
|
160
|
+
So as Tag,
|
153
161
|
c as TextArea,
|
154
|
-
|
155
|
-
|
162
|
+
Io as Timer,
|
163
|
+
wo as ToastProvider,
|
156
164
|
Pr as TwinSwitcher,
|
157
165
|
fr as UniversalUploader,
|
158
166
|
Jo as Uploader,
|
159
167
|
Oo as UploaderFiles,
|
160
168
|
No as UploaderPhotos,
|
161
169
|
to as Vote,
|
162
|
-
|
170
|
+
k as getMaskedInputPhoneValue,
|
163
171
|
P as getUnmaskedInputValue,
|
164
|
-
|
172
|
+
Do as useToast
|
165
173
|
};
|