@pibit.ai/cure-design-system 0.3.35 → 0.3.40
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/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +90 -85
- package/dist/patterns/table/TableWrapper.d.ts +1 -1
- package/dist/patterns/table/TableWrapper.d.ts.map +1 -1
- package/dist/patterns/table/TableWrapper.js +815 -728
- package/dist/patterns/table/index.d.ts +5 -4
- package/dist/patterns/table/index.d.ts.map +1 -1
- package/dist/patterns/table/scrollCellIntoView.d.ts +48 -0
- package/dist/patterns/table/scrollCellIntoView.d.ts.map +1 -0
- package/dist/patterns/table/scrollCellIntoView.js +122 -0
- package/dist/patterns/table/tableZoomLayout.d.ts +59 -0
- package/dist/patterns/table/tableZoomLayout.d.ts.map +1 -0
- package/dist/patterns/table/tableZoomLayout.js +37 -0
- package/dist/patterns/table/tableZoomLayout.test.d.ts +2 -0
- package/dist/patterns/table/tableZoomLayout.test.d.ts.map +1 -0
- package/dist/patterns/table/toolbar/TableToolbar.d.ts +2 -0
- package/dist/patterns/table/toolbar/TableToolbar.d.ts.map +1 -1
- package/dist/patterns/table/toolbar/TableToolbar.js +104 -102
- package/dist/patterns/table/types.d.ts +38 -1
- package/dist/patterns/table/types.d.ts.map +1 -1
- package/dist/patterns/table/useGridKeyboardNavigation.d.ts +14 -3
- package/dist/patterns/table/useGridKeyboardNavigation.d.ts.map +1 -1
- package/dist/patterns/table/useGridKeyboardNavigation.js +47 -46
- package/dist/styles/components.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,13 +9,13 @@ export { Text, type TextProps } from './primitives/text';
|
|
|
9
9
|
export { Heading, type HeadingProps } from './primitives/heading';
|
|
10
10
|
export { Select, type SelectProps, SearchableSelect, type SearchableSelectProps, MultiSelect, type MultiSelectProps, Popover, type PopoverProps, ExpandableSearchInput, type ExpandableSearchInputProps, } from './primitives/select';
|
|
11
11
|
export { Tooltip, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, EllipsisContentWithTooltip, createEllipsisContent, type EllipsisContentWithTooltipProps, } from './primitives/tooltip';
|
|
12
|
-
export { CustomIcon, ICONS, type CustomIconProps, type CustomIconType } from './primitives/custom-icon';
|
|
12
|
+
export { CustomIcon, ICONS, type CustomIconProps, type CustomIconType, } from './primitives/custom-icon';
|
|
13
13
|
export { Dropdown, type DropdownItemProps, type DropdownMenuProps, type DropdownPopoverProps, } from './primitives/dropdown';
|
|
14
|
-
export { Shimmer, ShimmerLine, ShimmerCircle, ShimmerBox } from './primitives/shimmer';
|
|
14
|
+
export { Shimmer, ShimmerLine, ShimmerCircle, ShimmerBox, } from './primitives/shimmer';
|
|
15
15
|
export { Snackbar, type SnackbarProps } from './primitives/snackbar';
|
|
16
16
|
export { MultiChipsSelect, type MultiChipsSelectProps, type SelectOption, tagKeyFromLabel, } from './primitives/multi-chips-select';
|
|
17
17
|
export { ScheduleCalendar, WEEKDAYS, formatHour, formatHourLabel, schedulesToCellSet, cellSetToSchedules, mergeHoursToWindows, type WeekdayKey, type ScheduleWindow, type DaySchedule, type ScheduleCalendarProps, } from './applications/schedule-calendar';
|
|
18
|
-
export { Table, TableCard, TableCell, TableRowActionsDropdown, TableWrapper, type TableWrapperProps, type TableWrapperPaginationConfig, type TableWrapperToolbarConfig, type BulkActionContext, type TableWrapperEditChrome, type TableWrapperSelectedKeys, type TableWrapperSelectionChange, type ColumnConfig, type TableCellCoord, type TableCellRangeRect, type TableCellSelection, TablePagination, type TablePaginationConfig, type TablePaginationProps, PaginationCardDefault, Pagination, ROW_HEIGHT_ICONS, type RowHeightIconKey, TOOLBAR_ICONS, type TableColumnSchema, type TableColumnMenuSchema, type TableColumnValueType, TableToolbar, pickCoreToolbarProps, registerToolbarExtensions, getToolbarExtensions, type ToolbarExtensionComponents, type SortToolConfig, type FilterToolConfig, type LegacySortToolConfig, type LegacyFilterToolConfig, RowHeightDropdown, HideFieldsDropdown, AlignDropdown, GroupByDropdown, ShowSummaryDropdown, SummaryFooterRow, ColumnHeaderMenu, RowActionsMenu, BulkActionBar, applyHideAndReorder, getDefaultAlignmentForType, getEffectiveAlignment, alignmentClass, getAggregationsForType, computeAggregation, groupRows, resolveColumnLabel, ROW_HEIGHT_CLASS, AGGREGATION_LABELS, type SearchToolConfig, type RowHeightToolConfig, type HideFieldsToolConfig, type AlignToolConfig, type GroupByToolConfig, type SummaryToolConfig, type UndoRedoToolConfig, type RowHeightOption, type SummaryFooterRowProps, type ColumnMenuAction, type ColumnMenuCapabilities, type RowActionsConfig, type CellAlignment, type AggregationType, type AggregationOption, type RowGroup, GridNavProvider, useGridKeyboardNavigation, isWithinCellEditor, findGridCell, focusGridCell, getGridNeighbor, getGridTabNeighbor, type GridNavDirection, type GridNeighbor, type GridNavValue, TableUndoRedoProvider, useTableUndoRedo, useTableUndoRedoScope, useIntegrateTableUndoRedo, MAX_HISTORY, type IntegrateTableUndoRedoOptions, type IntegrateTableUndoRedoResult, type TableUndoRedoRegistration, type TableUndoRedoScopeApi, type TableUndoRedoState, type TableUndoSnapshot, captureTableUndoSnapshot, applyTableUndoSnapshot, wrapColumnHeaderActionWithUndoRedo, wrapEditChromeWithUndoRedo, wrapRowActionsWithUndoRedo, wrapSummaryFooterWithUndoRedo, wrapToolbarWithUndoRedo, isSingleCellSelection, selectionFromSingleCell, buildCellRangeRect, } from './patterns/table';
|
|
18
|
+
export { Table, TableCard, TableCell, TableRowActionsDropdown, TableWrapper, type TableWrapperProps, type TableWrapperPaginationConfig, type TableWrapperToolbarConfig, type BulkActionContext, type TableWrapperEditChrome, type TableWrapperSelectedKeys, type TableWrapperSelectionChange, type TableZoomConfig, type ColumnConfig, type TableCellCoord, type TableCellRangeRect, type TableCellSelection, TablePagination, type TablePaginationConfig, type TablePaginationProps, PaginationCardDefault, Pagination, ROW_HEIGHT_ICONS, type RowHeightIconKey, TOOLBAR_ICONS, type TableColumnSchema, type TableColumnMenuSchema, type TableColumnValueType, TableToolbar, pickCoreToolbarProps, registerToolbarExtensions, getToolbarExtensions, type ToolbarExtensionComponents, type SortToolConfig, type FilterToolConfig, type LegacySortToolConfig, type LegacyFilterToolConfig, RowHeightDropdown, HideFieldsDropdown, AlignDropdown, GroupByDropdown, ShowSummaryDropdown, SummaryFooterRow, ColumnHeaderMenu, RowActionsMenu, BulkActionBar, applyHideAndReorder, getDefaultAlignmentForType, getEffectiveAlignment, alignmentClass, getAggregationsForType, computeAggregation, groupRows, resolveColumnLabel, ROW_HEIGHT_CLASS, AGGREGATION_LABELS, type SearchToolConfig, type RowHeightToolConfig, type HideFieldsToolConfig, type AlignToolConfig, type GroupByToolConfig, type SummaryToolConfig, type UndoRedoToolConfig, type RowHeightOption, type SummaryFooterRowProps, type ColumnMenuAction, type ColumnMenuCapabilities, type RowActionsConfig, type CellAlignment, type AggregationType, type AggregationOption, type RowGroup, GridNavProvider, useGridKeyboardNavigation, isWithinCellEditor, findGridCell, focusGridCell, getGridNeighbor, getGridTabNeighbor, type FocusGridCellOptions, type GridNavDirection, type GridNeighbor, type GridNavValue, CELL_SCROLL_PADDING_PX, computeCellScrollDelta, measureStickyInsets, scrollGridCellIntoView, type CellScrollDelta, type GridScrollDirection, type StickyInsets, TableUndoRedoProvider, useTableUndoRedo, useTableUndoRedoScope, useIntegrateTableUndoRedo, MAX_HISTORY, type IntegrateTableUndoRedoOptions, type IntegrateTableUndoRedoResult, type TableUndoRedoRegistration, type TableUndoRedoScopeApi, type TableUndoRedoState, type TableUndoSnapshot, captureTableUndoSnapshot, applyTableUndoSnapshot, wrapColumnHeaderActionWithUndoRedo, wrapEditChromeWithUndoRedo, wrapRowActionsWithUndoRedo, wrapSummaryFooterWithUndoRedo, wrapToolbarWithUndoRedo, isSingleCellSelection, selectionFromSingleCell, buildCellRangeRect, } from './patterns/table';
|
|
19
19
|
export { TreeView, buildTreeViewNodes, type TreeViewNode, type TreeViewProps, type TreeViewBuildConfig, } from './patterns/tree-view';
|
|
20
20
|
export { cn, cx, sortCx } from './utils/cn';
|
|
21
21
|
export { getShortcutLabel, getPlatformShortcutLabel, type ShortcutModifier, } from './utils/keyboard-shortcut';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,KAAK,IAAI,cAAc,EAC5B,KAAK,WAAW,IAAI,iBAAiB,EACrC,MAAM,IAAI,YAAY,EACtB,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EACL,KAAK,EACL,YAAY,EACZ,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,SAAS,EACT,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EA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GACtB,MAAM,4BAA4B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,169 +1,174 @@
|
|
|
1
1
|
import "./styles/theme.css";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import { cn as
|
|
3
|
+
import { cn as l, cx as p, sortCx as i } from "./utils/cn.js";
|
|
4
4
|
import { getPlatformShortcutLabel as m, getShortcutLabel as n } from "./utils/keyboard-shortcut.js";
|
|
5
5
|
import { isClassComponent as f, isForwardRefComponent as x, isFunctionComponent as s, isReactComponent as g } from "./utils/is-react-component.js";
|
|
6
|
-
import { default as c, ShimmerBox as
|
|
6
|
+
import { default as c, ShimmerBox as S, ShimmerCircle as C, ShimmerLine as T } from "./primitives/shimmer/shimmer.js";
|
|
7
7
|
import { Button as h, styles as R } from "./primitives/button/button.js";
|
|
8
8
|
import { ButtonUtility as A } from "./primitives/button/button-utility.js";
|
|
9
|
-
import { Input as
|
|
9
|
+
import { Input as W } from "./primitives/input/input.js";
|
|
10
10
|
import { Checkbox as E } from "./primitives/checkbox/checkbox.js";
|
|
11
|
-
import { Toggle as
|
|
12
|
-
import { Badge as
|
|
13
|
-
import { Avatar as
|
|
11
|
+
import { Toggle as D } from "./primitives/toggle/toggle.js";
|
|
12
|
+
import { Badge as H, BadgeIcon as L, BadgeWithButton as U, BadgeWithDot as F, BadgeWithFlag as N, BadgeWithIcon as O, BadgeWithImage as P, filledColors as _ } from "./primitives/badge/badge.js";
|
|
13
|
+
import { Avatar as k } from "./primitives/avatar/avatar.js";
|
|
14
14
|
import { Icon as K } from "./primitives/icon/icon.js";
|
|
15
|
-
import { Text as
|
|
15
|
+
import { Text as X } from "./primitives/text/text.js";
|
|
16
16
|
import { Heading as j } from "./primitives/heading/heading.js";
|
|
17
17
|
import { Select as z } from "./primitives/select/select.js";
|
|
18
18
|
import { SearchableSelect as Q } from "./primitives/select/searchable-select.js";
|
|
19
19
|
import { MultiSelect as $ } from "./primitives/select/multi-select.js";
|
|
20
20
|
import { Popover as eo } from "./primitives/select/popover.js";
|
|
21
21
|
import { ExpandableSearchInput as to } from "./primitives/select/ExpandableSearchInput.js";
|
|
22
|
-
import { Tooltip as
|
|
22
|
+
import { Tooltip as po, TooltipTrigger as io } from "./primitives/tooltip/tooltip.js";
|
|
23
23
|
import { EllipsisContentWithTooltip as mo, createEllipsisContent as no } from "./primitives/tooltip/ellipsis-content.js";
|
|
24
24
|
import { CustomIcon as xo } from "./primitives/custom-icon/custom-icon.js";
|
|
25
25
|
import { ICONS as go } from "./primitives/custom-icon/registry.js";
|
|
26
26
|
import { Dropdown as co } from "./primitives/dropdown/dropdown.js";
|
|
27
|
-
import { Snackbar as
|
|
28
|
-
import { MultiChipsSelect as
|
|
27
|
+
import { Snackbar as Co } from "./primitives/snackbar/snackbar.js";
|
|
28
|
+
import { MultiChipsSelect as bo } from "./primitives/multi-chips-select/MultiChipsSelect.js";
|
|
29
29
|
import { tagKeyFromLabel as Ro } from "./primitives/multi-chips-select/tagKeyFromLabel.js";
|
|
30
30
|
import { ScheduleCalendar as Ao } from "./applications/schedule-calendar/schedule-calendar.js";
|
|
31
|
-
import { WEEKDAYS as
|
|
32
|
-
import { cellSetToSchedules as Eo, formatHour as
|
|
33
|
-
import { Table as
|
|
34
|
-
import { TableWrapper as
|
|
35
|
-
import { TablePagination as
|
|
31
|
+
import { WEEKDAYS as Wo } from "./applications/schedule-calendar/types.js";
|
|
32
|
+
import { cellSetToSchedules as Eo, formatHour as yo, formatHourLabel as Do, mergeHoursToWindows as Go, schedulesToCellSet as Ho } from "./applications/schedule-calendar/utils.js";
|
|
33
|
+
import { Table as Uo, TableCard as Fo, TableCell as No, TableRowActionsDropdown as Oo } from "./patterns/table/table.js";
|
|
34
|
+
import { TableWrapper as _o } from "./patterns/table/TableWrapper.js";
|
|
35
|
+
import { TablePagination as ko } from "./patterns/table/TablePagination.js";
|
|
36
36
|
import { PaginationCardDefault as Ko } from "./patterns/table/pagination-card.js";
|
|
37
|
-
import { Pagination as
|
|
37
|
+
import { Pagination as Xo } from "./patterns/table/pagination-base.js";
|
|
38
38
|
import { ROW_HEIGHT_ICONS as jo } from "./patterns/table/row-height-icons.js";
|
|
39
39
|
import { TOOLBAR_ICONS as zo } from "./patterns/table/toolbar-icons.js";
|
|
40
40
|
import { TableToolbar as Qo, pickCoreToolbarProps as Zo } from "./patterns/table/toolbar/TableToolbar.js";
|
|
41
41
|
import { getToolbarExtensions as oe, registerToolbarExtensions as ee } from "./patterns/table/toolbar/toolbarExtensions.js";
|
|
42
42
|
import { RowHeightDropdown as te } from "./patterns/table/toolbar/RowHeightDropdown.js";
|
|
43
|
-
import { HideFieldsDropdown as
|
|
44
|
-
import { AlignDropdown as
|
|
43
|
+
import { HideFieldsDropdown as pe } from "./patterns/table/toolbar/HideFieldsDropdown.js";
|
|
44
|
+
import { AlignDropdown as ae } from "./patterns/table/toolbar/AlignDropdown.js";
|
|
45
45
|
import { GroupByDropdown as ne } from "./patterns/table/toolbar/GroupByDropdown.js";
|
|
46
46
|
import { ShowSummaryDropdown as fe } from "./patterns/table/toolbar/ShowSummaryDropdown.js";
|
|
47
47
|
import { SummaryFooterRow as se } from "./patterns/table/toolbar/SummaryFooter.js";
|
|
48
48
|
import { ColumnHeaderMenu as ue } from "./patterns/table/toolbar/ColumnHeaderMenu.js";
|
|
49
|
-
import { RowActionsMenu as
|
|
50
|
-
import { BulkActionBar as
|
|
51
|
-
import { AGGREGATION_LABELS as he, ROW_HEIGHT_CLASS as Re, alignmentClass as we, applyHideAndReorder as Ae, computeAggregation as
|
|
52
|
-
import { GridNavProvider as
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
49
|
+
import { RowActionsMenu as Se } from "./patterns/table/toolbar/RowActionsMenu.js";
|
|
50
|
+
import { BulkActionBar as Te } from "./patterns/table/toolbar/BulkActionBar.js";
|
|
51
|
+
import { AGGREGATION_LABELS as he, ROW_HEIGHT_CLASS as Re, alignmentClass as we, applyHideAndReorder as Ae, computeAggregation as Ie, getAggregationsForType as We, getDefaultAlignmentForType as Be, getEffectiveAlignment as Ee, groupRows as ye, resolveColumnLabel as De } from "./patterns/table/toolbar/tableToolbarHelpers.js";
|
|
52
|
+
import { GridNavProvider as He, findGridCell as Le, focusGridCell as Ue, getGridNeighbor as Fe, getGridTabNeighbor as Ne, isWithinCellEditor as Oe, useGridKeyboardNavigation as Pe } from "./patterns/table/useGridKeyboardNavigation.js";
|
|
53
|
+
import { CELL_SCROLL_PADDING_PX as ve, computeCellScrollDelta as ke, measureStickyInsets as Me, scrollGridCellIntoView as Ke } from "./patterns/table/scrollCellIntoView.js";
|
|
54
|
+
import { MAX_HISTORY as Xe, TableUndoRedoProvider as Ye, useTableUndoRedo as je, useTableUndoRedoScope as qe } from "./patterns/table/useTableUndoRedo.js";
|
|
55
|
+
import { useIntegrateTableUndoRedo as Je } from "./patterns/table/integrateTableUndoRedo.js";
|
|
56
|
+
import { applyTableUndoSnapshot as Ze, captureTableUndoSnapshot as $e, wrapColumnHeaderActionWithUndoRedo as or, wrapEditChromeWithUndoRedo as er, wrapRowActionsWithUndoRedo as rr, wrapSummaryFooterWithUndoRedo as tr, wrapToolbarWithUndoRedo as lr } from "./patterns/table/tableUndoRedo.js";
|
|
57
|
+
import { buildCellRangeRect as ir, isSingleCellSelection as ar, selectionFromSingleCell as mr } from "./patterns/table/cellRangeSelection.js";
|
|
58
|
+
import { TreeView as dr, buildTreeViewNodes as fr } from "./patterns/tree-view/tree-view.js";
|
|
58
59
|
export {
|
|
59
60
|
he as AGGREGATION_LABELS,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
ae as AlignDropdown,
|
|
62
|
+
k as Avatar,
|
|
63
|
+
H as Badge,
|
|
64
|
+
L as BadgeIcon,
|
|
65
|
+
U as BadgeWithButton,
|
|
66
|
+
F as BadgeWithDot,
|
|
66
67
|
N as BadgeWithFlag,
|
|
67
68
|
O as BadgeWithIcon,
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
P as BadgeWithImage,
|
|
70
|
+
Te as BulkActionBar,
|
|
70
71
|
h as Button,
|
|
71
72
|
A as ButtonUtility,
|
|
73
|
+
ve as CELL_SCROLL_PADDING_PX,
|
|
72
74
|
E as Checkbox,
|
|
73
75
|
ue as ColumnHeaderMenu,
|
|
74
76
|
xo as CustomIcon,
|
|
75
77
|
co as Dropdown,
|
|
76
78
|
mo as EllipsisContentWithTooltip,
|
|
77
79
|
to as ExpandableSearchInput,
|
|
78
|
-
|
|
80
|
+
He as GridNavProvider,
|
|
79
81
|
ne as GroupByDropdown,
|
|
80
82
|
j as Heading,
|
|
81
|
-
|
|
83
|
+
pe as HideFieldsDropdown,
|
|
82
84
|
go as ICONS,
|
|
83
85
|
K as Icon,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
W as Input,
|
|
87
|
+
Xe as MAX_HISTORY,
|
|
88
|
+
bo as MultiChipsSelect,
|
|
87
89
|
$ as MultiSelect,
|
|
88
|
-
|
|
90
|
+
Xo as Pagination,
|
|
89
91
|
Ko as PaginationCardDefault,
|
|
90
92
|
eo as Popover,
|
|
91
93
|
Re as ROW_HEIGHT_CLASS,
|
|
92
94
|
jo as ROW_HEIGHT_ICONS,
|
|
93
|
-
|
|
95
|
+
Se as RowActionsMenu,
|
|
94
96
|
te as RowHeightDropdown,
|
|
95
97
|
Ao as ScheduleCalendar,
|
|
96
98
|
Q as SearchableSelect,
|
|
97
99
|
z as Select,
|
|
98
100
|
c as Shimmer,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
S as ShimmerBox,
|
|
102
|
+
C as ShimmerCircle,
|
|
103
|
+
T as ShimmerLine,
|
|
102
104
|
fe as ShowSummaryDropdown,
|
|
103
|
-
|
|
105
|
+
Co as Snackbar,
|
|
104
106
|
se as SummaryFooterRow,
|
|
105
107
|
zo as TOOLBAR_ICONS,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
+
Uo as Table,
|
|
109
|
+
Fo as TableCard,
|
|
108
110
|
No as TableCell,
|
|
109
|
-
|
|
111
|
+
ko as TablePagination,
|
|
110
112
|
Oo as TableRowActionsDropdown,
|
|
111
113
|
Qo as TableToolbar,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
Ye as TableUndoRedoProvider,
|
|
115
|
+
_o as TableWrapper,
|
|
116
|
+
X as Text,
|
|
117
|
+
D as Toggle,
|
|
118
|
+
po as Tooltip,
|
|
117
119
|
io as TooltipTrigger,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
dr as TreeView,
|
|
121
|
+
Wo as WEEKDAYS,
|
|
120
122
|
we as alignmentClass,
|
|
121
123
|
Ae as applyHideAndReorder,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
Ze as applyTableUndoSnapshot,
|
|
125
|
+
ir as buildCellRangeRect,
|
|
126
|
+
fr as buildTreeViewNodes,
|
|
125
127
|
R as buttonStyles,
|
|
126
|
-
|
|
128
|
+
$e as captureTableUndoSnapshot,
|
|
127
129
|
Eo as cellSetToSchedules,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
l as cn,
|
|
131
|
+
Ie as computeAggregation,
|
|
132
|
+
ke as computeCellScrollDelta,
|
|
130
133
|
no as createEllipsisContent,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
134
|
+
p as cx,
|
|
135
|
+
_ as filledColors,
|
|
136
|
+
Le as findGridCell,
|
|
137
|
+
Ue as focusGridCell,
|
|
138
|
+
yo as formatHour,
|
|
139
|
+
Do as formatHourLabel,
|
|
140
|
+
We as getAggregationsForType,
|
|
141
|
+
Be as getDefaultAlignmentForType,
|
|
139
142
|
Ee as getEffectiveAlignment,
|
|
140
|
-
|
|
143
|
+
Fe as getGridNeighbor,
|
|
141
144
|
Ne as getGridTabNeighbor,
|
|
142
145
|
m as getPlatformShortcutLabel,
|
|
143
146
|
n as getShortcutLabel,
|
|
144
147
|
oe as getToolbarExtensions,
|
|
145
|
-
|
|
148
|
+
ye as groupRows,
|
|
146
149
|
f as isClassComponent,
|
|
147
150
|
x as isForwardRefComponent,
|
|
148
151
|
s as isFunctionComponent,
|
|
149
152
|
g as isReactComponent,
|
|
150
|
-
|
|
153
|
+
ar as isSingleCellSelection,
|
|
151
154
|
Oe as isWithinCellEditor,
|
|
155
|
+
Me as measureStickyInsets,
|
|
152
156
|
Go as mergeHoursToWindows,
|
|
153
157
|
Zo as pickCoreToolbarProps,
|
|
154
158
|
ee as registerToolbarExtensions,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
159
|
+
De as resolveColumnLabel,
|
|
160
|
+
Ho as schedulesToCellSet,
|
|
161
|
+
Ke as scrollGridCellIntoView,
|
|
162
|
+
mr as selectionFromSingleCell,
|
|
158
163
|
i as sortCx,
|
|
159
164
|
Ro as tagKeyFromLabel,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
Pe as useGridKeyboardNavigation,
|
|
166
|
+
Je as useIntegrateTableUndoRedo,
|
|
167
|
+
je as useTableUndoRedo,
|
|
168
|
+
qe as useTableUndoRedoScope,
|
|
169
|
+
or as wrapColumnHeaderActionWithUndoRedo,
|
|
170
|
+
er as wrapEditChromeWithUndoRedo,
|
|
171
|
+
rr as wrapRowActionsWithUndoRedo,
|
|
172
|
+
tr as wrapSummaryFooterWithUndoRedo,
|
|
173
|
+
lr as wrapToolbarWithUndoRedo
|
|
169
174
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TableWrapperProps } from './types';
|
|
2
|
-
export type { BulkActionContext, ColumnConfig, TableWrapperEditChrome, TableWrapperPaginationConfig, TableWrapperProps, TableWrapperSelectedKeys, TableWrapperSelectionChange, TableWrapperToolbarConfig, TableCellCoord, TableCellRangeRect, TableCellSelection, } from './types';
|
|
2
|
+
export type { BulkActionContext, ColumnConfig, TableWrapperEditChrome, TableWrapperPaginationConfig, TableWrapperProps, TableWrapperSelectedKeys, TableWrapperSelectionChange, TableWrapperToolbarConfig, TableZoomConfig, TableCellCoord, TableCellRangeRect, TableCellSelection, } from './types';
|
|
3
3
|
export declare const TableWrapper: import('react').ForwardRefExoticComponent<TableWrapperProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
4
|
//# sourceMappingURL=TableWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableWrapper.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/TableWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableWrapper.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/TableWrapper.tsx"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAKV,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAyCjB,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAsHjB,eAAO,MAAM,YAAY,8GA65DxB,CAAC"}
|