@pibit.ai/cure-design-system 0.3.24 → 0.3.28
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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -54
- package/dist/patterns/table/TableWrapper.d.ts.map +1 -1
- package/dist/patterns/table/TableWrapper.js +688 -546
- package/dist/patterns/table/index.d.ts +1 -1
- package/dist/patterns/table/index.d.ts.map +1 -1
- package/dist/patterns/table/rowReorderDrag.d.ts +57 -0
- package/dist/patterns/table/rowReorderDrag.d.ts.map +1 -0
- package/dist/patterns/table/rowReorderDrag.js +120 -0
- package/dist/patterns/table/table.d.ts.map +1 -1
- package/dist/patterns/table/table.js +36 -36
- package/dist/patterns/table/tableUndoRedo.d.ts.map +1 -1
- package/dist/patterns/table/tableUndoRedo.js +21 -18
- package/dist/patterns/table/toolbar/RowActionsMenu.d.ts +17 -1
- package/dist/patterns/table/toolbar/RowActionsMenu.d.ts.map +1 -1
- package/dist/patterns/table/toolbar/RowActionsMenu.js +69 -51
- package/dist/patterns/table/types.d.ts +1 -0
- package/dist/patterns/table/types.d.ts.map +1 -1
- package/dist/patterns/table/useTableUndoRedo.d.ts +9 -0
- package/dist/patterns/table/useTableUndoRedo.d.ts.map +1 -1
- package/dist/patterns/table/useTableUndoRedo.js +217 -127
- package/dist/primitives/checkbox/checkbox.d.ts.map +1 -1
- package/dist/primitives/checkbox/checkbox.js +16 -16
- package/dist/primitives/select/ExpandableSearchInput.d.ts.map +1 -1
- package/dist/primitives/select/ExpandableSearchInput.js +2 -1
- package/dist/primitives/select/SearchInput.d.ts +7 -7
- package/dist/primitives/select/SearchInput.d.ts.map +1 -1
- package/dist/primitives/select/SearchInput.js +66 -62
- package/dist/styles/components.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { Shimmer, ShimmerLine, ShimmerCircle, ShimmerBox } from './primitives/sh
|
|
|
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, 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, type IntegrateTableUndoRedoOptions, type IntegrateTableUndoRedoResult, type TableUndoRedoRegistration, type TableUndoRedoScopeApi, type TableUndoRedoState, type TableUndoSnapshot, captureTableUndoSnapshot, applyTableUndoSnapshot, wrapColumnHeaderActionWithUndoRedo, wrapEditChromeWithUndoRedo, wrapRowActionsWithUndoRedo, wrapSummaryFooterWithUndoRedo, wrapToolbarWithUndoRedo, } 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 ColumnConfig, 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, } 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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EAClC,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,QAAQ,EACR,kBAAkB,EAClB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,mBAAmB,GACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,gBAAgB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,19 +3,19 @@ import "./styles/theme.css";
|
|
|
3
3
|
import { cn as p, cx as a, sortCx as m } from "./utils/cn.js";
|
|
4
4
|
import { getPlatformShortcutLabel as n, getShortcutLabel as l } 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 T, ShimmerBox as c, ShimmerCircle as b, ShimmerLine as
|
|
6
|
+
import { default as T, ShimmerBox as c, ShimmerCircle as b, ShimmerLine as S } from "./primitives/shimmer/shimmer.js";
|
|
7
7
|
import { Button as C, styles as w } from "./primitives/button/button.js";
|
|
8
8
|
import { ButtonUtility as A } from "./primitives/button/button-utility.js";
|
|
9
9
|
import { Input as B } from "./primitives/input/input.js";
|
|
10
|
-
import { Checkbox as
|
|
11
|
-
import { Toggle as
|
|
12
|
-
import { Badge as U, BadgeIcon as D, BadgeWithButton as L, BadgeWithDot as F, BadgeWithFlag as N, BadgeWithIcon as
|
|
13
|
-
import { Avatar as
|
|
10
|
+
import { Checkbox as E } from "./primitives/checkbox/checkbox.js";
|
|
11
|
+
import { Toggle as y } from "./primitives/toggle/toggle.js";
|
|
12
|
+
import { Badge as U, BadgeIcon as D, BadgeWithButton as L, BadgeWithDot as F, BadgeWithFlag as N, BadgeWithIcon as O, BadgeWithImage as v, filledColors as P } from "./primitives/badge/badge.js";
|
|
13
|
+
import { Avatar as M } from "./primitives/avatar/avatar.js";
|
|
14
14
|
import { Icon as K } from "./primitives/icon/icon.js";
|
|
15
15
|
import { Text as Y } from "./primitives/text/text.js";
|
|
16
|
-
import { Heading as
|
|
17
|
-
import { Select as
|
|
18
|
-
import { SearchableSelect as
|
|
16
|
+
import { Heading as j } from "./primitives/heading/heading.js";
|
|
17
|
+
import { Select as z } from "./primitives/select/select.js";
|
|
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";
|
|
@@ -25,19 +25,19 @@ 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 To } from "./primitives/dropdown/dropdown.js";
|
|
27
27
|
import { Snackbar as bo } from "./primitives/snackbar/snackbar.js";
|
|
28
|
-
import { MultiChipsSelect as
|
|
28
|
+
import { MultiChipsSelect as ho } from "./primitives/multi-chips-select/MultiChipsSelect.js";
|
|
29
29
|
import { tagKeyFromLabel as wo } from "./primitives/multi-chips-select/tagKeyFromLabel.js";
|
|
30
30
|
import { ScheduleCalendar as Ao } from "./applications/schedule-calendar/schedule-calendar.js";
|
|
31
31
|
import { WEEKDAYS as Bo } from "./applications/schedule-calendar/types.js";
|
|
32
|
-
import { cellSetToSchedules as
|
|
33
|
-
import { Table as Lo, TableCard as Fo, TableCell as No, TableRowActionsDropdown as
|
|
32
|
+
import { cellSetToSchedules as Eo, formatHour as Ho, formatHourLabel as yo, mergeHoursToWindows as Go, schedulesToCellSet as Uo } from "./applications/schedule-calendar/utils.js";
|
|
33
|
+
import { Table as Lo, TableCard as Fo, TableCell as No, TableRowActionsDropdown as Oo } from "./patterns/table/table.js";
|
|
34
34
|
import { TableWrapper as Po } from "./patterns/table/TableWrapper.js";
|
|
35
|
-
import { TablePagination as
|
|
35
|
+
import { TablePagination as Mo } from "./patterns/table/TablePagination.js";
|
|
36
36
|
import { PaginationCardDefault as Ko } from "./patterns/table/pagination-card.js";
|
|
37
37
|
import { Pagination as Yo } from "./patterns/table/pagination-base.js";
|
|
38
|
-
import { ROW_HEIGHT_ICONS as
|
|
39
|
-
import { TOOLBAR_ICONS as
|
|
40
|
-
import { TableToolbar as
|
|
38
|
+
import { ROW_HEIGHT_ICONS as jo } from "./patterns/table/row-height-icons.js";
|
|
39
|
+
import { TOOLBAR_ICONS as zo } from "./patterns/table/toolbar-icons.js";
|
|
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
43
|
import { HideFieldsDropdown as ae } from "./patterns/table/toolbar/HideFieldsDropdown.js";
|
|
@@ -47,28 +47,28 @@ import { ShowSummaryDropdown as fe } from "./patterns/table/toolbar/ShowSummaryD
|
|
|
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
49
|
import { RowActionsMenu as ce } from "./patterns/table/toolbar/RowActionsMenu.js";
|
|
50
|
-
import { BulkActionBar as
|
|
51
|
-
import { AGGREGATION_LABELS as Ce, ROW_HEIGHT_CLASS as we, alignmentClass as Re, applyHideAndReorder as Ae, computeAggregation as We, getAggregationsForType as Be, getDefaultAlignmentForType as
|
|
52
|
-
import { GridNavProvider as Ue, findGridCell as De, focusGridCell as Le, getGridNeighbor as Fe, getGridTabNeighbor as Ne, isWithinCellEditor as
|
|
53
|
-
import {
|
|
54
|
-
import { useIntegrateTableUndoRedo as
|
|
55
|
-
import { applyTableUndoSnapshot as je, captureTableUndoSnapshot as qe, wrapColumnHeaderActionWithUndoRedo as ze, wrapEditChromeWithUndoRedo as Je, wrapRowActionsWithUndoRedo as Qe, wrapSummaryFooterWithUndoRedo as
|
|
56
|
-
import { TreeView as
|
|
50
|
+
import { BulkActionBar as Se } from "./patterns/table/toolbar/BulkActionBar.js";
|
|
51
|
+
import { AGGREGATION_LABELS as Ce, ROW_HEIGHT_CLASS as we, alignmentClass as Re, applyHideAndReorder as Ae, computeAggregation as We, getAggregationsForType as Be, getDefaultAlignmentForType as Ie, getEffectiveAlignment as Ee, groupRows as He, resolveColumnLabel as ye } from "./patterns/table/toolbar/tableToolbarHelpers.js";
|
|
52
|
+
import { GridNavProvider as Ue, findGridCell as De, focusGridCell as Le, getGridNeighbor as Fe, getGridTabNeighbor as Ne, isWithinCellEditor as Oe, useGridKeyboardNavigation as ve } from "./patterns/table/useGridKeyboardNavigation.js";
|
|
53
|
+
import { MAX_HISTORY as _e, TableUndoRedoProvider as Me, useTableUndoRedo as ke, useTableUndoRedoScope as Ke } from "./patterns/table/useTableUndoRedo.js";
|
|
54
|
+
import { useIntegrateTableUndoRedo as Ye } from "./patterns/table/integrateTableUndoRedo.js";
|
|
55
|
+
import { applyTableUndoSnapshot as je, captureTableUndoSnapshot as qe, wrapColumnHeaderActionWithUndoRedo as ze, wrapEditChromeWithUndoRedo as Je, wrapRowActionsWithUndoRedo as Qe, wrapSummaryFooterWithUndoRedo as Ze, wrapToolbarWithUndoRedo as $e } from "./patterns/table/tableUndoRedo.js";
|
|
56
|
+
import { TreeView as er, buildTreeViewNodes as rr } from "./patterns/tree-view/tree-view.js";
|
|
57
57
|
export {
|
|
58
58
|
Ce as AGGREGATION_LABELS,
|
|
59
59
|
ie as AlignDropdown,
|
|
60
|
-
|
|
60
|
+
M as Avatar,
|
|
61
61
|
U as Badge,
|
|
62
62
|
D as BadgeIcon,
|
|
63
63
|
L as BadgeWithButton,
|
|
64
64
|
F as BadgeWithDot,
|
|
65
65
|
N as BadgeWithFlag,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
O as BadgeWithIcon,
|
|
67
|
+
v as BadgeWithImage,
|
|
68
|
+
Se as BulkActionBar,
|
|
69
69
|
C as Button,
|
|
70
70
|
A as ButtonUtility,
|
|
71
|
-
|
|
71
|
+
E as Checkbox,
|
|
72
72
|
ue as ColumnHeaderMenu,
|
|
73
73
|
xo as CustomIcon,
|
|
74
74
|
To as Dropdown,
|
|
@@ -76,52 +76,53 @@ export {
|
|
|
76
76
|
to as ExpandableSearchInput,
|
|
77
77
|
Ue as GridNavProvider,
|
|
78
78
|
le as GroupByDropdown,
|
|
79
|
-
|
|
79
|
+
j as Heading,
|
|
80
80
|
ae as HideFieldsDropdown,
|
|
81
81
|
go as ICONS,
|
|
82
82
|
K as Icon,
|
|
83
83
|
B as Input,
|
|
84
|
-
|
|
84
|
+
_e as MAX_HISTORY,
|
|
85
|
+
ho as MultiChipsSelect,
|
|
85
86
|
$ as MultiSelect,
|
|
86
87
|
Yo as Pagination,
|
|
87
88
|
Ko as PaginationCardDefault,
|
|
88
89
|
eo as Popover,
|
|
89
90
|
we as ROW_HEIGHT_CLASS,
|
|
90
|
-
|
|
91
|
+
jo as ROW_HEIGHT_ICONS,
|
|
91
92
|
ce as RowActionsMenu,
|
|
92
93
|
te as RowHeightDropdown,
|
|
93
94
|
Ao as ScheduleCalendar,
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
Q as SearchableSelect,
|
|
96
|
+
z as Select,
|
|
96
97
|
T as Shimmer,
|
|
97
98
|
c as ShimmerBox,
|
|
98
99
|
b as ShimmerCircle,
|
|
99
|
-
|
|
100
|
+
S as ShimmerLine,
|
|
100
101
|
fe as ShowSummaryDropdown,
|
|
101
102
|
bo as Snackbar,
|
|
102
103
|
se as SummaryFooterRow,
|
|
103
|
-
|
|
104
|
+
zo as TOOLBAR_ICONS,
|
|
104
105
|
Lo as Table,
|
|
105
106
|
Fo as TableCard,
|
|
106
107
|
No as TableCell,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
Mo as TablePagination,
|
|
109
|
+
Oo as TableRowActionsDropdown,
|
|
110
|
+
Qo as TableToolbar,
|
|
111
|
+
Me as TableUndoRedoProvider,
|
|
111
112
|
Po as TableWrapper,
|
|
112
113
|
Y as Text,
|
|
113
|
-
|
|
114
|
+
y as Toggle,
|
|
114
115
|
ao as Tooltip,
|
|
115
116
|
mo as TooltipTrigger,
|
|
116
|
-
|
|
117
|
+
er as TreeView,
|
|
117
118
|
Bo as WEEKDAYS,
|
|
118
119
|
Re as alignmentClass,
|
|
119
120
|
Ae as applyHideAndReorder,
|
|
120
121
|
je as applyTableUndoSnapshot,
|
|
121
|
-
|
|
122
|
+
rr as buildTreeViewNodes,
|
|
122
123
|
w as buttonStyles,
|
|
123
124
|
qe as captureTableUndoSnapshot,
|
|
124
|
-
|
|
125
|
+
Eo as cellSetToSchedules,
|
|
125
126
|
p as cn,
|
|
126
127
|
We as computeAggregation,
|
|
127
128
|
lo as createEllipsisContent,
|
|
@@ -129,36 +130,36 @@ export {
|
|
|
129
130
|
P as filledColors,
|
|
130
131
|
De as findGridCell,
|
|
131
132
|
Le as focusGridCell,
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
Ho as formatHour,
|
|
134
|
+
yo as formatHourLabel,
|
|
134
135
|
Be as getAggregationsForType,
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
Ie as getDefaultAlignmentForType,
|
|
137
|
+
Ee as getEffectiveAlignment,
|
|
137
138
|
Fe as getGridNeighbor,
|
|
138
139
|
Ne as getGridTabNeighbor,
|
|
139
140
|
n as getPlatformShortcutLabel,
|
|
140
141
|
l as getShortcutLabel,
|
|
141
142
|
oe as getToolbarExtensions,
|
|
142
|
-
|
|
143
|
+
He as groupRows,
|
|
143
144
|
f as isClassComponent,
|
|
144
145
|
x as isForwardRefComponent,
|
|
145
146
|
s as isFunctionComponent,
|
|
146
147
|
g as isReactComponent,
|
|
147
|
-
|
|
148
|
+
Oe as isWithinCellEditor,
|
|
148
149
|
Go as mergeHoursToWindows,
|
|
149
150
|
Zo as pickCoreToolbarProps,
|
|
150
151
|
ee as registerToolbarExtensions,
|
|
151
|
-
|
|
152
|
+
ye as resolveColumnLabel,
|
|
152
153
|
Uo as schedulesToCellSet,
|
|
153
154
|
m as sortCx,
|
|
154
155
|
wo as tagKeyFromLabel,
|
|
155
|
-
|
|
156
|
-
|
|
156
|
+
ve as useGridKeyboardNavigation,
|
|
157
|
+
Ye as useIntegrateTableUndoRedo,
|
|
157
158
|
ke as useTableUndoRedo,
|
|
158
|
-
|
|
159
|
+
Ke as useTableUndoRedoScope,
|
|
159
160
|
ze as wrapColumnHeaderActionWithUndoRedo,
|
|
160
161
|
Je as wrapEditChromeWithUndoRedo,
|
|
161
162
|
Qe as wrapRowActionsWithUndoRedo,
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
Ze as wrapSummaryFooterWithUndoRedo,
|
|
164
|
+
$e as wrapToolbarWithUndoRedo
|
|
164
165
|
};
|
|
@@ -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":"AAkCA,OAAO,KAAK,EAKV,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAqBjB,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,SAAS,CAAC;AAgIjB,eAAO,MAAM,YAAY,8GAo1CxB,CAAC"}
|