@pibit.ai/cure-design-system 0.3.45 → 0.3.50

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.
Files changed (67) hide show
  1. package/dist/applications/loading-indicator/index.d.ts +2 -0
  2. package/dist/applications/loading-indicator/index.d.ts.map +1 -0
  3. package/dist/applications/loading-indicator/loading-indicator.d.ts +1 -2
  4. package/dist/applications/loading-indicator/loading-indicator.d.ts.map +1 -1
  5. package/dist/assets/icons/filtered-view.svg.js +4 -0
  6. package/dist/index.d.ts +4 -3
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +188 -168
  9. package/dist/patterns/table/TableWrapper.d.ts.map +1 -1
  10. package/dist/patterns/table/TableWrapper.js +447 -447
  11. package/dist/patterns/table/TableZoomControl.d.ts +2 -2
  12. package/dist/patterns/table/TableZoomControl.d.ts.map +1 -1
  13. package/dist/patterns/table/TableZoomControl.js +124 -46
  14. package/dist/patterns/table/index.d.ts +2 -2
  15. package/dist/patterns/table/index.d.ts.map +1 -1
  16. package/dist/patterns/table/storyHelpers/mockTableViewsApi.d.ts +25 -0
  17. package/dist/patterns/table/storyHelpers/mockTableViewsApi.d.ts.map +1 -0
  18. package/dist/patterns/table/tableZoomLayout.d.ts +6 -0
  19. package/dist/patterns/table/tableZoomLayout.d.ts.map +1 -1
  20. package/dist/patterns/table/tableZoomLayout.js +39 -33
  21. package/dist/patterns/table/toolbar/SummaryFooter.d.ts +10 -3
  22. package/dist/patterns/table/toolbar/SummaryFooter.d.ts.map +1 -1
  23. package/dist/patterns/table/toolbar/SummaryFooter.js +61 -71
  24. package/dist/patterns/table/toolbar/TableToolbar.d.ts +8 -0
  25. package/dist/patterns/table/toolbar/TableToolbar.d.ts.map +1 -1
  26. package/dist/patterns/table/toolbar/TableToolbar.js +200 -159
  27. package/dist/patterns/table/toolbar/TableViewDirtyActions.d.ts +7 -0
  28. package/dist/patterns/table/toolbar/TableViewDirtyActions.d.ts.map +1 -0
  29. package/dist/patterns/table/toolbar/TableViewDirtyActions.js +39 -0
  30. package/dist/patterns/table/toolbar/TableViewsDropdown.d.ts +8 -0
  31. package/dist/patterns/table/toolbar/TableViewsDropdown.d.ts.map +1 -0
  32. package/dist/patterns/table/toolbar/TableViewsDropdown.js +171 -0
  33. package/dist/patterns/table/toolbar/index.d.ts +4 -0
  34. package/dist/patterns/table/toolbar/index.d.ts.map +1 -1
  35. package/dist/patterns/table/toolbar/tableViewSnapshot.d.ts +18 -0
  36. package/dist/patterns/table/toolbar/tableViewSnapshot.d.ts.map +1 -0
  37. package/dist/patterns/table/toolbar/tableViewSnapshot.js +168 -0
  38. package/dist/patterns/table/toolbar/tableViewSnapshot.test.d.ts +2 -0
  39. package/dist/patterns/table/toolbar/tableViewSnapshot.test.d.ts.map +1 -0
  40. package/dist/patterns/table/toolbar/tableViewTypes.d.ts +73 -0
  41. package/dist/patterns/table/toolbar/tableViewTypes.d.ts.map +1 -0
  42. package/dist/patterns/table/toolbar/tableViewTypes.js +4 -0
  43. package/dist/patterns/table/types.d.ts +24 -1
  44. package/dist/patterns/table/types.d.ts.map +1 -1
  45. package/dist/patterns/table/useFitTableToViewport.d.ts +15 -0
  46. package/dist/patterns/table/useFitTableToViewport.d.ts.map +1 -0
  47. package/dist/patterns/table/useFitTableToViewport.js +47 -0
  48. package/dist/patterns/table/useTableZoomState.d.ts +20 -0
  49. package/dist/patterns/table/useTableZoomState.d.ts.map +1 -0
  50. package/dist/patterns/table/useTableZoomState.js +30 -0
  51. package/dist/patterns/table-component/TableComponent.d.ts.map +1 -1
  52. package/dist/patterns/table-component/TableComponent.js +385 -384
  53. package/dist/patterns/table-component/types.d.ts +2 -0
  54. package/dist/patterns/table-component/types.d.ts.map +1 -1
  55. package/dist/primitives/input/hint-text.d.ts +1 -2
  56. package/dist/primitives/input/hint-text.d.ts.map +1 -1
  57. package/dist/primitives/input/index.d.ts +3 -1
  58. package/dist/primitives/input/index.d.ts.map +1 -1
  59. package/dist/primitives/input/input.js +7 -7
  60. package/dist/primitives/input/label.d.ts +1 -2
  61. package/dist/primitives/input/label.d.ts.map +1 -1
  62. package/dist/primitives/select/index.d.ts +1 -0
  63. package/dist/primitives/select/index.d.ts.map +1 -1
  64. package/dist/primitives/select/select-item.d.ts +1 -2
  65. package/dist/primitives/select/select-item.d.ts.map +1 -1
  66. package/dist/styles/components.css +1 -1
  67. package/package.json +5 -1
@@ -0,0 +1,2 @@
1
+ export { LoadingIndicator, type LoadingIndicatorProps } from './loading-indicator';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/applications/loading-indicator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,4 +1,4 @@
1
- interface LoadingIndicatorProps {
1
+ export interface LoadingIndicatorProps {
2
2
  /**
3
3
  * The visual style of the loading indicator.
4
4
  * @default 'line-simple'
@@ -15,5 +15,4 @@ interface LoadingIndicatorProps {
15
15
  label?: string;
16
16
  }
17
17
  export declare const LoadingIndicator: ({ type, size, label, }: LoadingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
18
- export {};
19
18
  //# sourceMappingURL=loading-indicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../src/applications/loading-indicator/loading-indicator.tsx"],"names":[],"mappings":"AA8BA,UAAU,qBAAqB;IAC7B;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,GAAG,cAAc,GAAG,YAAY,CAAC;IACrD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,GAAI,wBAI9B,qBAAqB,4CA2HvB,CAAC"}
1
+ {"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../src/applications/loading-indicator/loading-indicator.tsx"],"names":[],"mappings":"AA8BA,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,GAAG,cAAc,GAAG,YAAY,CAAC;IACrD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,GAAI,wBAI9B,qBAAqB,4CA2HvB,CAAC"}
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3%209H21M3%2015H21M12%2021L12%209M7.8%203H16.2C17.8802%203%2018.7202%203%2019.362%203.32698C19.9265%203.6146%2020.3854%204.07354%2020.673%204.63803C21%205.27976%2021%206.11984%2021%207.8V16.2C21%2017.8802%2021%2018.7202%2020.673%2019.362C20.3854%2019.9265%2019.9265%2020.3854%2019.362%2020.673C18.7202%2021%2017.8802%2021%2016.2%2021H7.8C6.11984%2021%205.27976%2021%204.63803%2020.673C4.07354%2020.3854%203.6146%2019.9265%203.32698%2019.362C3%2018.7202%203%2017.8802%203%2016.2V7.8C3%206.11984%203%205.27976%203.32698%204.63803C3.6146%204.07354%204.07354%203.6146%204.63803%203.32698C5.27976%203%206.11984%203%207.8%203Z'%20stroke='black'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Button, type ButtonProps, type Props as ButtonPropsAll, type CommonProps as ButtonCommonProps, styles as buttonStyles, ButtonUtility, type ButtonUtilityButtonProps, type ButtonUtilityProps, } from './primitives/button';
2
- export { Input, type InputProps } from './primitives/input';
2
+ export { Input, InputBase, Label, HintText, type InputProps, type InputBaseProps, type LabelProps, type HintTextProps, } from './primitives/input';
3
3
  export { Checkbox, type CheckboxProps } from './primitives/checkbox';
4
4
  export { Toggle, type ToggleProps } from './primitives/toggle';
5
5
  export { Badge, BadgeWithDot, BadgeWithIcon, BadgeWithFlag, BadgeWithImage, BadgeWithButton, BadgeIcon, filledColors, type BadgeColor, type BadgeProps, type BadgeWithDotProps, type BadgeWithIconProps, type BadgeWithFlagProps, type BadgeWithImageProps, type BadgeWithButtonProps, type BadgeIconProps, type BadgeColors, type BadgeTypes, type Sizes, type FlagTypes, type IconComponentType, type BadgeTypeToColorMap, } from './primitives/badge';
@@ -7,7 +7,7 @@ export { Avatar, type AvatarProps } from './primitives/avatar';
7
7
  export { Icon, type IconProps, type IconName } from './primitives/icon';
8
8
  export { Text, type TextProps } from './primitives/text';
9
9
  export { Heading, type HeadingProps } from './primitives/heading';
10
- export { Select, type SelectProps, SearchableSelect, type SearchableSelectProps, MultiSelect, type MultiSelectProps, Popover, type PopoverProps, ExpandableSearchInput, type ExpandableSearchInputProps, } from './primitives/select';
10
+ export { Select, type SelectProps, SearchableSelect, type SearchableSelectProps, MultiSelect, type MultiSelectProps, Popover, type PopoverProps, ExpandableSearchInput, type ExpandableSearchInputProps, SelectItem, type SelectItemProps, } from './primitives/select';
11
11
  export { Tooltip, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, EllipsisContentWithTooltip, createEllipsisContent, type EllipsisContentWithTooltipProps, } from './primitives/tooltip';
12
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';
@@ -15,7 +15,8 @@ export { Shimmer, ShimmerLine, ShimmerCircle, ShimmerBox, } from './primitives/s
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 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';
18
+ export { LoadingIndicator, type LoadingIndicatorProps, } from './applications/loading-indicator';
19
+ 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, type TableViewKind, type TableViewDirtyAction, type TableViewSnapshot, type TableViewSharee, type TableSavedViewRecord, type TableViewsByTableName, type TableViewListItem, type TableViewsConfig, type SaveTableViewRequest, 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, applyTableViewSnapshot, toTableViewSnapshot, isTableViewDirty, getInitialTableViewSnapshot, snapshotFromViewRecord, parseTableSavedViewRecord, TableViewsDropdown, DEFAULT_TABLE_VIEW_ID, isSingleCellSelection, selectionFromSingleCell, buildCellRangeRect, } from './patterns/table';
19
20
  export { TableComponent, buildTableComponentColumns, type TableComponentAlignment, type TableComponentCellAddress, type TableComponentCellContext, type TableComponentColumn, type TableComponentExpandedRowContext, type TableComponentGroupHeaderContext, type TableComponentHeaderGroup, type TableComponentProps, type TableComponentRowGroup, type TableComponentSelectionMode, type TableComponentSize, type TableComponentStickyPosition, type TableComponentToolbarContext, } from './patterns/table-component';
20
21
  export { TreeView, buildTreeViewNodes, type TreeViewNode, type TreeViewProps, type TreeViewBuildConfig, } from './patterns/tree-view';
21
22
  export { cn, cx, sortCx } from './utils/cn';
@@ -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,EAAE,IAAI,EAAE,KAAK,SAAS,E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,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
@@ -1,178 +1,198 @@
1
1
  import "./styles/theme.css";
2
2
  /* empty css */
3
- import { cn as l, cx as p, sortCx as m } from "./utils/cn.js";
4
- import { getPlatformShortcutLabel as i, getShortcutLabel as n } from "./utils/keyboard-shortcut.js";
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 C, ShimmerCircle as S, ShimmerLine as T } from "./primitives/shimmer/shimmer.js";
7
- import { Button as h, styles as R } from "./primitives/button/button.js";
8
- import { ButtonUtility as A } from "./primitives/button/button-utility.js";
9
- import { Input as W } from "./primitives/input/input.js";
10
- import { Checkbox as E } from "./primitives/checkbox/checkbox.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
- import { Icon as K } from "./primitives/icon/icon.js";
15
- import { Text as X } from "./primitives/text/text.js";
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
- import { MultiSelect as $ } from "./primitives/select/multi-select.js";
20
- import { Popover as eo } from "./primitives/select/popover.js";
21
- import { ExpandableSearchInput as to } from "./primitives/select/ExpandableSearchInput.js";
22
- import { Tooltip as po, TooltipTrigger as mo } from "./primitives/tooltip/tooltip.js";
23
- import { EllipsisContentWithTooltip as io, createEllipsisContent as no } from "./primitives/tooltip/ellipsis-content.js";
24
- import { CustomIcon as xo } from "./primitives/custom-icon/custom-icon.js";
25
- import { ICONS as go } from "./primitives/custom-icon/registry.js";
26
- import { Dropdown as co } from "./primitives/dropdown/dropdown.js";
27
- import { Snackbar as So } from "./primitives/snackbar/snackbar.js";
28
- import { MultiChipsSelect as bo } from "./primitives/multi-chips-select/MultiChipsSelect.js";
29
- import { tagKeyFromLabel as Ro } from "./primitives/multi-chips-select/tagKeyFromLabel.js";
30
- import { ScheduleCalendar as Ao } from "./applications/schedule-calendar/schedule-calendar.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
- import { PaginationCardDefault as Ko } from "./patterns/table/pagination-card.js";
37
- import { Pagination as Xo } from "./patterns/table/pagination-base.js";
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
- import { getToolbarExtensions as oe, registerToolbarExtensions as ee } from "./patterns/table/toolbar/toolbarExtensions.js";
42
- import { RowHeightDropdown as te } from "./patterns/table/toolbar/RowHeightDropdown.js";
43
- import { HideFieldsDropdown as pe } from "./patterns/table/toolbar/HideFieldsDropdown.js";
44
- import { AlignDropdown as ae } from "./patterns/table/toolbar/AlignDropdown.js";
45
- import { GroupByDropdown as ne } from "./patterns/table/toolbar/GroupByDropdown.js";
46
- import { ShowSummaryDropdown as fe } from "./patterns/table/toolbar/ShowSummaryDropdown.js";
47
- import { SummaryFooterRow as se } from "./patterns/table/toolbar/SummaryFooter.js";
48
- import { ColumnHeaderMenu as ue } from "./patterns/table/toolbar/ColumnHeaderMenu.js";
49
- import { RowActionsMenu as Ce } 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 mr, isSingleCellSelection as ar, selectionFromSingleCell as ir } from "./patterns/table/cellRangeSelection.js";
58
- import { TableComponent as dr } from "./patterns/table-component/TableComponent.js";
59
- import { buildTableComponentColumns as xr } from "./patterns/table-component/buildTableColumns.js";
60
- import { TreeView as gr, buildTreeViewNodes as ur } from "./patterns/tree-view/tree-view.js";
3
+ import { cn as p, cx as l, sortCx as a } from "./utils/cn.js";
4
+ import { getPlatformShortcutLabel as m, getShortcutLabel as n } from "./utils/keyboard-shortcut.js";
5
+ import { isClassComponent as d, isForwardRefComponent as x, isFunctionComponent as s, isReactComponent as g } from "./utils/is-react-component.js";
6
+ import { default as c, ShimmerBox as u, ShimmerCircle as b, ShimmerLine as S } from "./primitives/shimmer/shimmer.js";
7
+ import { Button as h, styles as w } from "./primitives/button/button.js";
8
+ import { ButtonUtility as I } from "./primitives/button/button-utility.js";
9
+ import { Input as B, InputBase as D } from "./primitives/input/input.js";
10
+ import { Label as L } from "./primitives/input/label.js";
11
+ import { HintText as y } from "./primitives/input/hint-text.js";
12
+ import { Checkbox as G } from "./primitives/checkbox/checkbox.js";
13
+ import { Toggle as _ } from "./primitives/toggle/toggle.js";
14
+ import { Badge as V, BadgeIcon as N, BadgeWithButton as O, BadgeWithDot as P, BadgeWithFlag as v, BadgeWithIcon as k, BadgeWithImage as M, filledColors as K } from "./primitives/badge/badge.js";
15
+ import { Avatar as Y } from "./primitives/avatar/avatar.js";
16
+ import { Icon as q } from "./primitives/icon/icon.js";
17
+ import { Text as J } from "./primitives/text/text.js";
18
+ import { Heading as Z } from "./primitives/heading/heading.js";
19
+ import { Select as oo } from "./primitives/select/select.js";
20
+ import { SearchableSelect as ro } from "./primitives/select/searchable-select.js";
21
+ import { MultiSelect as po } from "./primitives/select/multi-select.js";
22
+ import { Popover as ao } from "./primitives/select/popover.js";
23
+ import { ExpandableSearchInput as mo } from "./primitives/select/ExpandableSearchInput.js";
24
+ import { SelectItem as fo } from "./primitives/select/select-item.js";
25
+ import { Tooltip as so, TooltipTrigger as go } from "./primitives/tooltip/tooltip.js";
26
+ import { EllipsisContentWithTooltip as co, createEllipsisContent as uo } from "./primitives/tooltip/ellipsis-content.js";
27
+ import { CustomIcon as So } from "./primitives/custom-icon/custom-icon.js";
28
+ import { ICONS as ho } from "./primitives/custom-icon/registry.js";
29
+ import { Dropdown as Ro } from "./primitives/dropdown/dropdown.js";
30
+ import { Snackbar as Ao } from "./primitives/snackbar/snackbar.js";
31
+ import { MultiChipsSelect as Do } from "./primitives/multi-chips-select/MultiChipsSelect.js";
32
+ import { tagKeyFromLabel as Lo } from "./primitives/multi-chips-select/tagKeyFromLabel.js";
33
+ import { ScheduleCalendar as yo } from "./applications/schedule-calendar/schedule-calendar.js";
34
+ import { WEEKDAYS as Go } from "./applications/schedule-calendar/types.js";
35
+ import { cellSetToSchedules as _o, formatHour as Fo, formatHourLabel as Vo, mergeHoursToWindows as No, schedulesToCellSet as Oo } from "./applications/schedule-calendar/utils.js";
36
+ import { LoadingIndicator as vo } from "./applications/loading-indicator/loading-indicator.js";
37
+ import { Table as Mo, TableCard as Ko, TableCell as Xo, TableRowActionsDropdown as Yo } from "./patterns/table/table.js";
38
+ import { TableWrapper as qo } from "./patterns/table/TableWrapper.js";
39
+ import { TablePagination as Jo } from "./patterns/table/TablePagination.js";
40
+ import { PaginationCardDefault as Zo } from "./patterns/table/pagination-card.js";
41
+ import { Pagination as oe } from "./patterns/table/pagination-base.js";
42
+ import { ROW_HEIGHT_ICONS as re } from "./patterns/table/row-height-icons.js";
43
+ import { TOOLBAR_ICONS as pe } from "./patterns/table/toolbar-icons.js";
44
+ import { TableToolbar as ae, pickCoreToolbarProps as ie } from "./patterns/table/toolbar/TableToolbar.js";
45
+ import { getToolbarExtensions as ne, registerToolbarExtensions as fe } from "./patterns/table/toolbar/toolbarExtensions.js";
46
+ import { RowHeightDropdown as xe } from "./patterns/table/toolbar/RowHeightDropdown.js";
47
+ import { HideFieldsDropdown as ge } from "./patterns/table/toolbar/HideFieldsDropdown.js";
48
+ import { AlignDropdown as ce } from "./patterns/table/toolbar/AlignDropdown.js";
49
+ import { GroupByDropdown as be } from "./patterns/table/toolbar/GroupByDropdown.js";
50
+ import { ShowSummaryDropdown as Ce } from "./patterns/table/toolbar/ShowSummaryDropdown.js";
51
+ import { SummaryFooterRow as we } from "./patterns/table/toolbar/SummaryFooter.js";
52
+ import { ColumnHeaderMenu as Ie } from "./patterns/table/toolbar/ColumnHeaderMenu.js";
53
+ import { RowActionsMenu as Be } from "./patterns/table/toolbar/RowActionsMenu.js";
54
+ import { BulkActionBar as Ee } from "./patterns/table/toolbar/BulkActionBar.js";
55
+ import { AGGREGATION_LABELS as We, ROW_HEIGHT_CLASS as ye, alignmentClass as He, applyHideAndReorder as Ge, computeAggregation as Ue, getAggregationsForType as _e, getDefaultAlignmentForType as Fe, getEffectiveAlignment as Ve, groupRows as Ne, resolveColumnLabel as Oe } from "./patterns/table/toolbar/tableToolbarHelpers.js";
56
+ import { GridNavProvider as ve, findGridCell as ke, focusGridCell as Me, getGridNeighbor as Ke, getGridTabNeighbor as Xe, isWithinCellEditor as Ye, useGridKeyboardNavigation as je } from "./patterns/table/useGridKeyboardNavigation.js";
57
+ import { CELL_SCROLL_PADDING_PX as ze, computeCellScrollDelta as Je, measureStickyInsets as Qe, scrollGridCellIntoView as Ze } from "./patterns/table/scrollCellIntoView.js";
58
+ import { MAX_HISTORY as or, TableUndoRedoProvider as er, useTableUndoRedo as rr, useTableUndoRedoScope as tr } from "./patterns/table/useTableUndoRedo.js";
59
+ import { useIntegrateTableUndoRedo as lr } from "./patterns/table/integrateTableUndoRedo.js";
60
+ import { applyTableUndoSnapshot as ir, captureTableUndoSnapshot as mr, wrapColumnHeaderActionWithUndoRedo as nr, wrapEditChromeWithUndoRedo as fr, wrapRowActionsWithUndoRedo as dr, wrapSummaryFooterWithUndoRedo as xr, wrapToolbarWithUndoRedo as sr } from "./patterns/table/tableUndoRedo.js";
61
+ import { applyTableViewSnapshot as Tr, getInitialTableViewSnapshot as cr, isTableViewDirty as ur, parseTableSavedViewRecord as br, snapshotFromViewRecord as Sr, toTableViewSnapshot as Cr } from "./patterns/table/toolbar/tableViewSnapshot.js";
62
+ import { TableViewsDropdown as wr } from "./patterns/table/toolbar/TableViewsDropdown.js";
63
+ import { DEFAULT_TABLE_VIEW_ID as Ir } from "./patterns/table/toolbar/tableViewTypes.js";
64
+ import { buildCellRangeRect as Br, isSingleCellSelection as Dr, selectionFromSingleCell as Er } from "./patterns/table/cellRangeSelection.js";
65
+ import { TableComponent as Wr } from "./patterns/table-component/TableComponent.js";
66
+ import { buildTableComponentColumns as Hr } from "./patterns/table-component/buildTableColumns.js";
67
+ import { TreeView as Ur, buildTreeViewNodes as _r } from "./patterns/tree-view/tree-view.js";
61
68
  export {
62
- he as AGGREGATION_LABELS,
63
- ae as AlignDropdown,
64
- k as Avatar,
65
- H as Badge,
66
- L as BadgeIcon,
67
- U as BadgeWithButton,
68
- F as BadgeWithDot,
69
- N as BadgeWithFlag,
70
- O as BadgeWithIcon,
71
- P as BadgeWithImage,
72
- Te as BulkActionBar,
69
+ We as AGGREGATION_LABELS,
70
+ ce as AlignDropdown,
71
+ Y as Avatar,
72
+ V as Badge,
73
+ N as BadgeIcon,
74
+ O as BadgeWithButton,
75
+ P as BadgeWithDot,
76
+ v as BadgeWithFlag,
77
+ k as BadgeWithIcon,
78
+ M as BadgeWithImage,
79
+ Ee as BulkActionBar,
73
80
  h as Button,
74
- A as ButtonUtility,
75
- ve as CELL_SCROLL_PADDING_PX,
76
- E as Checkbox,
77
- ue as ColumnHeaderMenu,
78
- xo as CustomIcon,
79
- co as Dropdown,
80
- io as EllipsisContentWithTooltip,
81
- to as ExpandableSearchInput,
82
- He as GridNavProvider,
83
- ne as GroupByDropdown,
84
- j as Heading,
85
- pe as HideFieldsDropdown,
86
- go as ICONS,
87
- K as Icon,
88
- W as Input,
89
- Xe as MAX_HISTORY,
90
- bo as MultiChipsSelect,
91
- $ as MultiSelect,
92
- Xo as Pagination,
93
- Ko as PaginationCardDefault,
94
- eo as Popover,
95
- Re as ROW_HEIGHT_CLASS,
96
- jo as ROW_HEIGHT_ICONS,
97
- Ce as RowActionsMenu,
98
- te as RowHeightDropdown,
99
- Ao as ScheduleCalendar,
100
- Q as SearchableSelect,
101
- z as Select,
81
+ I as ButtonUtility,
82
+ ze as CELL_SCROLL_PADDING_PX,
83
+ G as Checkbox,
84
+ Ie as ColumnHeaderMenu,
85
+ So as CustomIcon,
86
+ Ir as DEFAULT_TABLE_VIEW_ID,
87
+ Ro as Dropdown,
88
+ co as EllipsisContentWithTooltip,
89
+ mo as ExpandableSearchInput,
90
+ ve as GridNavProvider,
91
+ be as GroupByDropdown,
92
+ Z as Heading,
93
+ ge as HideFieldsDropdown,
94
+ y as HintText,
95
+ ho as ICONS,
96
+ q as Icon,
97
+ B as Input,
98
+ D as InputBase,
99
+ L as Label,
100
+ vo as LoadingIndicator,
101
+ or as MAX_HISTORY,
102
+ Do as MultiChipsSelect,
103
+ po as MultiSelect,
104
+ oe as Pagination,
105
+ Zo as PaginationCardDefault,
106
+ ao as Popover,
107
+ ye as ROW_HEIGHT_CLASS,
108
+ re as ROW_HEIGHT_ICONS,
109
+ Be as RowActionsMenu,
110
+ xe as RowHeightDropdown,
111
+ yo as ScheduleCalendar,
112
+ ro as SearchableSelect,
113
+ oo as Select,
114
+ fo as SelectItem,
102
115
  c as Shimmer,
103
- C as ShimmerBox,
104
- S as ShimmerCircle,
105
- T as ShimmerLine,
106
- fe as ShowSummaryDropdown,
107
- So as Snackbar,
108
- se as SummaryFooterRow,
109
- zo as TOOLBAR_ICONS,
110
- Uo as Table,
111
- Fo as TableCard,
112
- No as TableCell,
113
- dr as TableComponent,
114
- ko as TablePagination,
115
- Oo as TableRowActionsDropdown,
116
- Qo as TableToolbar,
117
- Ye as TableUndoRedoProvider,
118
- _o as TableWrapper,
119
- X as Text,
120
- D as Toggle,
121
- po as Tooltip,
122
- mo as TooltipTrigger,
123
- gr as TreeView,
124
- Wo as WEEKDAYS,
125
- we as alignmentClass,
126
- Ae as applyHideAndReorder,
127
- Ze as applyTableUndoSnapshot,
128
- mr as buildCellRangeRect,
129
- xr as buildTableComponentColumns,
130
- ur as buildTreeViewNodes,
131
- R as buttonStyles,
132
- $e as captureTableUndoSnapshot,
133
- Eo as cellSetToSchedules,
134
- l as cn,
135
- Ie as computeAggregation,
136
- ke as computeCellScrollDelta,
137
- no as createEllipsisContent,
138
- p as cx,
139
- _ as filledColors,
140
- Le as findGridCell,
141
- Ue as focusGridCell,
142
- yo as formatHour,
143
- Do as formatHourLabel,
144
- We as getAggregationsForType,
145
- Be as getDefaultAlignmentForType,
146
- Ee as getEffectiveAlignment,
147
- Fe as getGridNeighbor,
148
- Ne as getGridTabNeighbor,
149
- i as getPlatformShortcutLabel,
116
+ u as ShimmerBox,
117
+ b as ShimmerCircle,
118
+ S as ShimmerLine,
119
+ Ce as ShowSummaryDropdown,
120
+ Ao as Snackbar,
121
+ we as SummaryFooterRow,
122
+ pe as TOOLBAR_ICONS,
123
+ Mo as Table,
124
+ Ko as TableCard,
125
+ Xo as TableCell,
126
+ Wr as TableComponent,
127
+ Jo as TablePagination,
128
+ Yo as TableRowActionsDropdown,
129
+ ae as TableToolbar,
130
+ er as TableUndoRedoProvider,
131
+ wr as TableViewsDropdown,
132
+ qo as TableWrapper,
133
+ J as Text,
134
+ _ as Toggle,
135
+ so as Tooltip,
136
+ go as TooltipTrigger,
137
+ Ur as TreeView,
138
+ Go as WEEKDAYS,
139
+ He as alignmentClass,
140
+ Ge as applyHideAndReorder,
141
+ ir as applyTableUndoSnapshot,
142
+ Tr as applyTableViewSnapshot,
143
+ Br as buildCellRangeRect,
144
+ Hr as buildTableComponentColumns,
145
+ _r as buildTreeViewNodes,
146
+ w as buttonStyles,
147
+ mr as captureTableUndoSnapshot,
148
+ _o as cellSetToSchedules,
149
+ p as cn,
150
+ Ue as computeAggregation,
151
+ Je as computeCellScrollDelta,
152
+ uo as createEllipsisContent,
153
+ l as cx,
154
+ K as filledColors,
155
+ ke as findGridCell,
156
+ Me as focusGridCell,
157
+ Fo as formatHour,
158
+ Vo as formatHourLabel,
159
+ _e as getAggregationsForType,
160
+ Fe as getDefaultAlignmentForType,
161
+ Ve as getEffectiveAlignment,
162
+ Ke as getGridNeighbor,
163
+ Xe as getGridTabNeighbor,
164
+ cr as getInitialTableViewSnapshot,
165
+ m as getPlatformShortcutLabel,
150
166
  n as getShortcutLabel,
151
- oe as getToolbarExtensions,
152
- ye as groupRows,
153
- f as isClassComponent,
167
+ ne as getToolbarExtensions,
168
+ Ne as groupRows,
169
+ d as isClassComponent,
154
170
  x as isForwardRefComponent,
155
171
  s as isFunctionComponent,
156
172
  g as isReactComponent,
157
- ar as isSingleCellSelection,
158
- Oe as isWithinCellEditor,
159
- Me as measureStickyInsets,
160
- Go as mergeHoursToWindows,
161
- Zo as pickCoreToolbarProps,
162
- ee as registerToolbarExtensions,
163
- De as resolveColumnLabel,
164
- Ho as schedulesToCellSet,
165
- Ke as scrollGridCellIntoView,
166
- ir as selectionFromSingleCell,
167
- m as sortCx,
168
- Ro as tagKeyFromLabel,
169
- Pe as useGridKeyboardNavigation,
170
- Je as useIntegrateTableUndoRedo,
171
- je as useTableUndoRedo,
172
- qe as useTableUndoRedoScope,
173
- or as wrapColumnHeaderActionWithUndoRedo,
174
- er as wrapEditChromeWithUndoRedo,
175
- rr as wrapRowActionsWithUndoRedo,
176
- tr as wrapSummaryFooterWithUndoRedo,
177
- lr as wrapToolbarWithUndoRedo
173
+ Dr as isSingleCellSelection,
174
+ ur as isTableViewDirty,
175
+ Ye as isWithinCellEditor,
176
+ Qe as measureStickyInsets,
177
+ No as mergeHoursToWindows,
178
+ br as parseTableSavedViewRecord,
179
+ ie as pickCoreToolbarProps,
180
+ fe as registerToolbarExtensions,
181
+ Oe as resolveColumnLabel,
182
+ Oo as schedulesToCellSet,
183
+ Ze as scrollGridCellIntoView,
184
+ Er as selectionFromSingleCell,
185
+ Sr as snapshotFromViewRecord,
186
+ a as sortCx,
187
+ Lo as tagKeyFromLabel,
188
+ Cr as toTableViewSnapshot,
189
+ je as useGridKeyboardNavigation,
190
+ lr as useIntegrateTableUndoRedo,
191
+ rr as useTableUndoRedo,
192
+ tr as useTableUndoRedoScope,
193
+ nr as wrapColumnHeaderActionWithUndoRedo,
194
+ fr as wrapEditChromeWithUndoRedo,
195
+ dr as wrapRowActionsWithUndoRedo,
196
+ xr as wrapSummaryFooterWithUndoRedo,
197
+ sr as wrapToolbarWithUndoRedo
178
198
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TableWrapper.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/TableWrapper.tsx"],"names":[],"mappings":"AAqDA,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,8GAw5DxB,CAAC"}
1
+ {"version":3,"file":"TableWrapper.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/TableWrapper.tsx"],"names":[],"mappings":"AAoDA,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,8GAu5DxB,CAAC"}