@pibit.ai/cure-design-system 0.3.33 → 0.3.37

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 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, 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 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';
@@ -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,EAC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"./styles/theme.css";
2
2
  /* empty css */
3
- import { cn as p, cx as a, sortCx as i } from "./utils/cn.js";
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 T, ShimmerCircle as S, ShimmerLine as b } from "./primitives/shimmer/shimmer.js";
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 B } from "./primitives/input/input.js";
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 y } from "./primitives/toggle/toggle.js";
12
- import { Badge as U, BadgeIcon as D, BadgeWithButton as F, BadgeWithDot as L, 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";
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 Y } from "./primitives/text/text.js";
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 ao, TooltipTrigger as io } from "./primitives/tooltip/tooltip.js";
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 So } from "./primitives/snackbar/snackbar.js";
28
- import { MultiChipsSelect as Co } from "./primitives/multi-chips-select/MultiChipsSelect.js";
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 Bo } from "./applications/schedule-calendar/types.js";
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 Fo, TableCard as Lo, TableCell as No, TableRowActionsDropdown as Oo } from "./patterns/table/table.js";
34
- import { TableWrapper as Po } from "./patterns/table/TableWrapper.js";
35
- import { TablePagination as Mo } from "./patterns/table/TablePagination.js";
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 Yo } from "./patterns/table/pagination-base.js";
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 ae } from "./patterns/table/toolbar/HideFieldsDropdown.js";
44
- import { AlignDropdown as le } from "./patterns/table/toolbar/AlignDropdown.js";
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 Te } from "./patterns/table/toolbar/RowActionsMenu.js";
50
- import { BulkActionBar as be } 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 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 Fe, getGridNeighbor as Le, 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 { buildCellRangeRect as er, isSingleCellSelection as rr, selectionFromSingleCell as tr } from "./patterns/table/cellRangeSelection.js";
57
- import { TreeView as ar, buildTreeViewNodes as ir } from "./patterns/tree-view/tree-view.js";
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
- le as AlignDropdown,
61
- M as Avatar,
62
- U as Badge,
63
- D as BadgeIcon,
64
- F as BadgeWithButton,
65
- L as BadgeWithDot,
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
- v as BadgeWithImage,
69
- be as BulkActionBar,
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
- Ue as GridNavProvider,
80
+ He as GridNavProvider,
79
81
  ne as GroupByDropdown,
80
82
  j as Heading,
81
- ae as HideFieldsDropdown,
83
+ pe as HideFieldsDropdown,
82
84
  go as ICONS,
83
85
  K as Icon,
84
- B as Input,
85
- _e as MAX_HISTORY,
86
- Co as MultiChipsSelect,
86
+ W as Input,
87
+ Xe as MAX_HISTORY,
88
+ bo as MultiChipsSelect,
87
89
  $ as MultiSelect,
88
- Yo as Pagination,
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
- Te as RowActionsMenu,
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
- T as ShimmerBox,
100
- S as ShimmerCircle,
101
- b as ShimmerLine,
101
+ S as ShimmerBox,
102
+ C as ShimmerCircle,
103
+ T as ShimmerLine,
102
104
  fe as ShowSummaryDropdown,
103
- So as Snackbar,
105
+ Co as Snackbar,
104
106
  se as SummaryFooterRow,
105
107
  zo as TOOLBAR_ICONS,
106
- Fo as Table,
107
- Lo as TableCard,
108
+ Uo as Table,
109
+ Fo as TableCard,
108
110
  No as TableCell,
109
- Mo as TablePagination,
111
+ ko as TablePagination,
110
112
  Oo as TableRowActionsDropdown,
111
113
  Qo as TableToolbar,
112
- Me as TableUndoRedoProvider,
113
- Po as TableWrapper,
114
- Y as Text,
115
- y as Toggle,
116
- ao as Tooltip,
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
- ar as TreeView,
119
- Bo as WEEKDAYS,
120
+ dr as TreeView,
121
+ Wo as WEEKDAYS,
120
122
  we as alignmentClass,
121
123
  Ae as applyHideAndReorder,
122
- je as applyTableUndoSnapshot,
123
- er as buildCellRangeRect,
124
- ir as buildTreeViewNodes,
124
+ Ze as applyTableUndoSnapshot,
125
+ ir as buildCellRangeRect,
126
+ fr as buildTreeViewNodes,
125
127
  R as buttonStyles,
126
- qe as captureTableUndoSnapshot,
128
+ $e as captureTableUndoSnapshot,
127
129
  Eo as cellSetToSchedules,
128
- p as cn,
129
- We as computeAggregation,
130
+ l as cn,
131
+ Ie as computeAggregation,
132
+ ke as computeCellScrollDelta,
130
133
  no as createEllipsisContent,
131
- a as cx,
132
- P as filledColors,
133
- De as findGridCell,
134
- Fe as focusGridCell,
135
- Ho as formatHour,
136
- yo as formatHourLabel,
137
- Be as getAggregationsForType,
138
- Ie as getDefaultAlignmentForType,
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
- Le as getGridNeighbor,
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
- He as groupRows,
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
- rr as isSingleCellSelection,
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
- ye as resolveColumnLabel,
156
- Uo as schedulesToCellSet,
157
- tr as selectionFromSingleCell,
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
- ve as useGridKeyboardNavigation,
161
- Ye as useIntegrateTableUndoRedo,
162
- ke as useTableUndoRedo,
163
- Ke as useTableUndoRedoScope,
164
- ze as wrapColumnHeaderActionWithUndoRedo,
165
- Je as wrapEditChromeWithUndoRedo,
166
- Qe as wrapRowActionsWithUndoRedo,
167
- Ze as wrapSummaryFooterWithUndoRedo,
168
- $e as wrapToolbarWithUndoRedo
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 +1 @@
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;AAuCjB,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AA8IjB,eAAO,MAAM,YAAY,8GAgvDxB,CAAC"}
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;AAyCjB,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AA8IjB,eAAO,MAAM,YAAY,8GAmxDxB,CAAC"}